vendor: 4,640 bytes, lines 1-17
1var eH=Object.defineProperty;var Ck=n=>{throw TypeError(n)};var tH=(n,e,t)=>e in n?eH(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var q=(n,e,t)=>tH(n,typeof e!="symbol"?e+"":e,t),Ow=(n,e,t)=>e.has(n)||Ck("Cannot "+t);var d=(n,e,t)=>(Ow(n,e,"read from private field"),t?t.call(n):e.get(n)),T=(n,e,t)=>e.has(n)?Ck("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(n):e.set(n,t),A=(n,e,t,i)=>(Ow(n,e,"write to private field"),i?i.call(n,t):e.set(n,t),t),P=(n,e,t)=>(Ow(n,e,"access private method"),t);var qt=(n,e,t,i)=>({set _(s){A(n,e,s,t)},get _(){return d(n,e,i)}});function nH(n,e){for(var t=0;t<e.length;t++){const i=e[t];if(typeof i!="string"&&!Array.isArray(i)){for(const s in i)if(s!=="default"&&!(s in n)){const r=Object.getOwnPropertyDescriptor(i,s);r&&Object.defineProperty(n,s,r.get?r:{enumerable:!0,get:()=>i[s]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const a of r.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function t(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerPolicy&&(r.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?r.credentials="include":s.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(s){if(s.ep)return;s.ep=!0;const r=t(s);fetch(s.href,r)}})();var Ob=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function C1(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function iH(n){if(n.__esModule)return n;var e=n.default;if(typeof e=="function"){var t=function i(){return this instanceof i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(i){var s=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(t,i,s.get?s:{enumerable:!0,get:function(){return n[i]}})}),t}var o5={exports:{}},T1={};/** 2 * @license React 3 * react-jsx-runtime.production.js 4 * 5 * Copyright (c) Meta Platforms, Inc. and affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var sH=Symbol.for("react.transitional.element"),rH=Symbol.for("react.fragment");function l5(n,e,t){var i=null;if(t!==void 0&&(i=""+t),e.key!==void 0&&(i=""+e.key),"key"in e){t={};for(var s in e)s!=="key"&&(t[s]=e[s])}else t=e;return e=t.ref,{$$typeof:sH,type:n,key:i,ref:e!==void 0?e:null,props:t}}T1.Fragment=rH;T1.jsx=l5;T1.jsxs=l5;o5.exports=T1;var m=o5.exports,c5={exports:{}},D1={},u5={exports:{}},d5={};/** 10 * @license React 11 * scheduler.production.js 12 * 13 * Copyright (c) Meta Platforms, Inc. and affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */(function(n){function e(M,B){var F=M.length;M.push(B);e:for(;0<F;){var z=F-1>>>1,G=M[z];if(0<s(G,B))M[z]=B,M[F]=G,F=z;else break e}}function t(M){return M.length===0?null:M[0]}function i(M){if(M.length===0)return null;var B=M[0],F=M.pop();if(F!==B){M[0]=F;e:for(var z=0,G=M.length,te=G>>>1;z<te;){var Y=2*(z+1)-1,X=M[Y],W=Y+1,ae=M[W];if(0>s(X,F))W<G&&0>s(ae,X)?(M[z]=ae,M[W]=F,z=W):(M[z]=X,M[Y]=F,z=Y);else if(W<G&&0>s(ae,F))M[z]=ae,M[W]=F,z=W;else break e}}return B}function s(M,B){var F=M.sortIndex-B.sortIndex;return F!==0?F:M.id-B.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var r=performance;n.unstable_now=function(){return r.now()}}else{var a=Date,o=a.now();n.unstable_now=function(){return a.now()-o}}var l=[],c=[],u=1,h=null,f=3,p=!1,b=!1,g=!1,S=!1,y=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;function x(M){for(var B=t(c);B!==null;){if(B.callback===null)i(c);else if(B.startTime<=M)i(c),B.sortIndex=B.expirationTime,e(l,B);else break;B=t(c)}}function E(M){if(g=!1,x(M),!b)if(t(l)!==null)b=!0,C||(C=!0,O());else{var B=t(c);B!==null&&U(E,B.startTime-M)}}var C=!1,I=-1,R=5,D=-1;function k(){return S?!0:!(n.unstable_now()-D<R)}function N(){if(S=!1,C){var M=n.unstable_now();D=M;var B=!0;try{e:{b=!1,g&&(g=!1,v(I),I=-1),p=!0;var F=f;
vendor: 4,942 bytes, lines 17-25
17try{t:{for(x(M),h=t(l);h!==null&&!(h.expirationTime>M&&k());){var z=h.callback;if(typeof z=="function"){h.callback=null,f=h.priorityLevel;var G=z(h.expirationTime<=M);if(M=n.unstable_now(),typeof G=="function"){h.callback=G,x(M),B=!0;break t}h===t(l)&&i(l),x(M)}else i(l);h=t(l)}if(h!==null)B=!0;else{var te=t(c);te!==null&&U(E,te.startTime-M),B=!1}}break e}finally{h=null,f=F,p=!1}B=void 0}}finally{B?O():C=!1}}}var O;if(typeof _=="function")O=function(){_(N)};else if(typeof MessageChannel<"u"){var j=new MessageChannel,L=j.port2;j.port1.onmessage=N,O=function(){L.postMessage(null)}}else O=function(){y(N,0)};function U(M,B){I=y(function(){M(n.unstable_now())},B)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(M){M.callback=null},n.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<M?Math.floor(1e3/M):5},n.unstable_getCurrentPriorityLevel=function(){return f},n.unstable_next=function(M){switch(f){case 1:case 2:case 3:var B=3;break;default:B=f}var F=f;f=B;try{return M()}finally{f=F}},n.unstable_requestPaint=function(){S=!0},n.unstable_runWithPriority=function(M,B){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var F=f;f=M;try{return B()}finally{f=F}},n.unstable_scheduleCallback=function(M,B,F){var z=n.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?z+F:z):F=z,M){case 1:var G=-1;break;case 2:G=250;break;case 5:G=1073741823;break;case 4:G=1e4;break;default:G=5e3}return G=F+G,M={id:u++,callback:B,priorityLevel:M,startTime:F,expirationTime:G,sortIndex:-1},F>z?(M.sortIndex=F,e(c,M),t(l)===null&&M===t(c)&&(g?(v(I),I=-1):g=!0,U(E,F-z))):(M.sortIndex=G,e(l,M),b||p||(b=!0,C||(C=!0,O()))),M},n.unstable_shouldYield=k,n.unstable_wrapCallback=function(M){var B=f;return function(){var F=f;f=B;try{return M.apply(this,arguments)}finally{f=F}}}})(d5);u5.exports=d5;var aH=u5.exports,h5={exports:{}},ye={};/** 18 * @license React 19 * react.production.js 20 * 21 * Copyright (c) Meta Platforms, Inc. and affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */var SD=Symbol.for("react.transitional.element"),oH=Symbol.for("react.portal"),lH=Symbol.for("react.fragment"),cH=Symbol.for("react.strict_mode"),uH=Symbol.for("react.profiler"),dH=Symbol.for("react.consumer"),hH=Symbol.for("react.context"),fH=Symbol.for("react.forward_ref"),pH=Symbol.for("react.suspense"),mH=Symbol.for("react.memo"),f5=Symbol.for("react.lazy"),gH=Symbol.for("react.activity"),Tk=Symbol.iterator;function yH(n){return n===null||typeof n!="object"?null:(n=Tk&&n[Tk]||n["@@iterator"],typeof n=="function"?n:null)}var p5={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m5=Object.assign,g5={};function Xg(n,e,t){this.props=n,this.context=e,this.refs=g5,this.updater=t||p5}Xg.prototype.isReactComponent={};Xg.prototype.setState=function(n,e){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,e,"setState")};Xg.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};function y5(){}y5.prototype=Xg.prototype;function xD(n,e,t){this.props=n,this.context=e,this.refs=g5,this.updater=t||p5}var wD=xD.prototype=new y5;wD.constructor=xD;m5(wD,Xg.prototype);wD.isPureReactComponent=!0;var Dk=Array.isArray;function kA(){}var Tt={H:null,A:null,T:null,S:null},v5=Object.prototype.hasOwnProperty;function ED(n,e,t){var i=t.ref;return{$$typeof:SD,type:n,key:e,ref:i!==void 0?i:null,props:t}}function vH(n,e){return ED(n.type,e,n.props)}function AD(n){return typeof n=="object"&&n!==null&&n.$$typeof===SD}function bH(n){var e={"=":"=0",":":"=2"};return"$"+n.replace(/[=:]/g,function(t){return e[t]})}var Pk=/\/+/g;function Lw(n,e){return typeof n=="object"&&n!==null&&n.key!=null?bH(""+n.key):e.toString(36)}function _H(n){switch(n.status){case"fulfilled":return n.value;case"rejected":throw n.reason;default:switch(typeof n.status=="string"?n.then(kA,kA):(n.status="pending",n.then(function(e){n.status==="pending"&&(n.status="fulfilled",n.value=e)},function(e){n.status==="pending"&&(n.status="rejected",n.reason=e)})),n.status){case"fulfilled":return n.value;case"rejected":throw n.reason}}throw n}function Rf(n,e,t,i,s){var r=typeof n;(r==="undefined"||r==="boolean")&&(n=null);var a=!1;if(n===null)a=!0;else switch(r){case"bigint":case"string":case"number":a=!0;break;case"object":switch(n.$$typeof){case SD:case oH:a=!0;break;case f5:return a=n._init,Rf(a(n._payload),e,t,i,s)}}
vendor: 16,896 bytes, lines 25-48
25if(a)return s=s(n),a=i===""?"."+Lw(n,0):i,Dk(s)?(t="",a!=null&&(t=a.replace(Pk,"$&/")+"/"),Rf(s,e,t,"",function(c){return c})):s!=null&&(AD(s)&&(s=vH(s,t+(s.key==null||n&&n.key===s.key?"":(""+s.key).replace(Pk,"$&/")+"/")+a)),e.push(s)),1;a=0;var o=i===""?".":i+":";if(Dk(n))for(var l=0;l<n.length;l++)i=n[l],r=o+Lw(i,l),a+=Rf(i,e,t,r,s);else if(l=yH(n),typeof l=="function")for(n=l.call(n),l=0;!(i=n.next()).done;)i=i.value,r=o+Lw(i,l++),a+=Rf(i,e,t,r,s);else if(r==="object"){if(typeof n.then=="function")return Rf(_H(n),e,t,i,s);throw e=String(n),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return a}function Lb(n,e,t){if(n==null)return n;var i=[],s=0;return Rf(n,i,"","",function(r){return e.call(t,r,s++)}),i}function SH(n){if(n._status===-1){var e=n._result;e=e(),e.then(function(t){(n._status===0||n._status===-1)&&(n._status=1,n._result=t)},function(t){(n._status===0||n._status===-1)&&(n._status=2,n._result=t)}),n._status===-1&&(n._status=0,n._result=e)}if(n._status===1)return n._result.default;throw n._result}var Rk=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=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(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},xH={map:Lb,forEach:function(n,e,t){Lb(n,function(){e.apply(this,arguments)},t)},count:function(n){var e=0;return Lb(n,function(){e++}),e},toArray:function(n){return Lb(n,function(e){return e})||[]},only:function(n){if(!AD(n))throw Error("React.Children.only expected to receive a single React element child.");return n}};ye.Activity=gH;ye.Children=xH;ye.Component=Xg;ye.Fragment=lH;ye.Profiler=uH;ye.PureComponent=xD;ye.StrictMode=cH;ye.Suspense=pH;ye.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Tt;ye.__COMPILER_RUNTIME={__proto__:null,c:function(n){return Tt.H.useMemoCache(n)}};ye.cache=function(n){return function(){return n.apply(null,arguments)}};ye.cacheSignal=function(){return null};ye.cloneElement=function(n,e,t){if(n==null)throw Error("The argument must be a React element, but you passed "+n+".");var i=m5({},n.props),s=n.key;if(e!=null)for(r in e.key!==void 0&&(s=""+e.key),e)!v5.call(e,r)||r==="key"||r==="__self"||r==="__source"||r==="ref"&&e.ref===void 0||(i[r]=e[r]);var r=arguments.length-2;if(r===1)i.children=t;else if(1<r){for(var a=Array(r),o=0;o<r;o++)a[o]=arguments[o+2];i.children=a}return ED(n.type,s,i)};ye.createContext=function(n){return n={$$typeof:hH,_currentValue:n,_currentValue2:n,_threadCount:0,Provider:null,Consumer:null},n.Provider=n,n.Consumer={$$typeof:dH,_context:n},n};ye.createElement=function(n,e,t){var i,s={},r=null;if(e!=null)for(i in e.key!==void 0&&(r=""+e.key),e)v5.call(e,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(s[i]=e[i]);var a=arguments.length-2;if(a===1)s.children=t;else if(1<a){for(var o=Array(a),l=0;l<a;l++)o[l]=arguments[l+2];s.children=o}if(n&&n.defaultProps)for(i in a=n.defaultProps,a)s[i]===void 0&&(s[i]=a[i]);return ED(n,r,s)};ye.createRef=function(){return{current:null}};ye.forwardRef=function(n){return{$$typeof:fH,render:n}};ye.isValidElement=AD;ye.lazy=function(n){return{$$typeof:f5,_payload:{_status:-1,_result:n},_init:SH}};ye.memo=function(n,e){return{$$typeof:mH,type:n,compare:e===void 0?null:e}};ye.startTransition=function(n){var e=Tt.T,t={};Tt.T=t;try{var i=n(),s=Tt.S;s!==null&&s(t,i),typeof i=="object"&&i!==null&&typeof i.then=="function"&&i.then(kA,Rk)}catch(r){Rk(r)}finally{e!==null&&t.types!==null&&(e.types=t.types),Tt.T=e}};ye.unstable_useCacheRefresh=function(){return Tt.H.useCacheRefresh()};ye.use=function(n){return Tt.H.use(n)};ye.useActionState=function(n,e,t){return Tt.H.useActionState(n,e,t)};ye.useCallback=function(n,e){return Tt.H.useCallback(n,e)};ye.useContext=function(n){return Tt.H.useContext(n)};ye.useDebugValue=function(){};ye.useDeferredValue=function(n,e){return Tt.H.useDeferredValue(n,e)};ye.useEffect=function(n,e){return Tt.H.useEffect(n,e)};ye.useEffectEvent=function(n){return Tt.H.useEffectEvent(n)};ye.useId=function(){return Tt.H.useId()};ye.useImperativeHandle=function(n,e,t){return Tt.H.useImperativeHandle(n,e,t)};ye.useInsertionEffect=function(n,e){return Tt.H.useInsertionEffect(n,e)};ye.useLayoutEffect=function(n,e){return Tt.H.useLayoutEffect(n,e)};ye.useMemo=function(n,e){return Tt.H.useMemo(n,e)};ye.useOptimistic=function(n,e){return Tt.H.useOptimistic(n,e)};ye.useReducer=function(n,e,t){return Tt.H.useReducer(n,e,t)};ye.useRef=function(n){return Tt.H.useRef(n)};ye.useState=function(n){return Tt.H.useState(n)};ye.useSyncExternalStore=function(n,e,t){return Tt.H.useSyncExternalStore(n,e,t)};ye.useTransition=function(){return Tt.H.useTransition()};ye.version="19.2.3";h5.exports=ye;var w=h5.exports;const V=C1(w),ID=nH({__proto__:null,default:V},[w]);var b5={exports:{}},Bi={};/** 26 * @license React 27 * react-dom.production.js 28 * 29 * Copyright (c) Meta Platforms, Inc. and affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var wH=w;function _5(n){var e="https://react.dev/errors/"+n;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)e+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+n+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function tc(){}var Ni={d:{f:tc,r:function(){throw Error(_5(522))},D:tc,C:tc,L:tc,m:tc,X:tc,S:tc,M:tc},p:0,findDOMNode:null},EH=Symbol.for("react.portal");function AH(n,e,t){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:EH,key:i==null?null:""+i,children:n,containerInfo:e,implementation:t}}var sy=wH.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function P1(n,e){if(n==="font")return"";if(typeof e=="string")return e==="use-credentials"?e:""}Bi.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ni;Bi.createPortal=function(n,e){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)throw Error(_5(299));return AH(n,e,null,t)};Bi.flushSync=function(n){var e=sy.T,t=Ni.p;try{if(sy.T=null,Ni.p=2,n)return n()}finally{sy.T=e,Ni.p=t,Ni.d.f()}};Bi.preconnect=function(n,e){typeof n=="string"&&(e?(e=e.crossOrigin,e=typeof e=="string"?e==="use-credentials"?e:"":void 0):e=null,Ni.d.C(n,e))};Bi.prefetchDNS=function(n){typeof n=="string"&&Ni.d.D(n)};Bi.preinit=function(n,e){if(typeof n=="string"&&e&&typeof e.as=="string"){var t=e.as,i=P1(t,e.crossOrigin),s=typeof e.integrity=="string"?e.integrity:void 0,r=typeof e.fetchPriority=="string"?e.fetchPriority:void 0;t==="style"?Ni.d.S(n,typeof e.precedence=="string"?e.precedence:void 0,{crossOrigin:i,integrity:s,fetchPriority:r}):t==="script"&&Ni.d.X(n,{crossOrigin:i,integrity:s,fetchPriority:r,nonce:typeof e.nonce=="string"?e.nonce:void 0})}};Bi.preinitModule=function(n,e){if(typeof n=="string")if(typeof e=="object"&&e!==null){if(e.as==null||e.as==="script"){var t=P1(e.as,e.crossOrigin);Ni.d.M(n,{crossOrigin:t,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0})}}else e==null&&Ni.d.M(n)};Bi.preload=function(n,e){if(typeof n=="string"&&typeof e=="object"&&e!==null&&typeof e.as=="string"){var t=e.as,i=P1(t,e.crossOrigin);Ni.d.L(n,t,{crossOrigin:i,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0,type:typeof e.type=="string"?e.type:void 0,fetchPriority:typeof e.fetchPriority=="string"?e.fetchPriority:void 0,referrerPolicy:typeof e.referrerPolicy=="string"?e.referrerPolicy:void 0,imageSrcSet:typeof e.imageSrcSet=="string"?e.imageSrcSet:void 0,imageSizes:typeof e.imageSizes=="string"?e.imageSizes:void 0,media:typeof e.media=="string"?e.media:void 0})}};Bi.preloadModule=function(n,e){if(typeof n=="string")if(e){var t=P1(e.as,e.crossOrigin);Ni.d.m(n,{as:typeof e.as=="string"&&e.as!=="script"?e.as:void 0,crossOrigin:t,integrity:typeof e.integrity=="string"?e.integrity:void 0})}else Ni.d.m(n)};Bi.requestFormReset=function(n){Ni.d.r(n)};Bi.unstable_batchedUpdates=function(n,e){return n(e)};Bi.useFormState=function(n,e,t){return sy.H.useFormState(n,e,t)};Bi.useFormStatus=function(){return sy.H.useHostTransitionStatus()};Bi.version="19.2.3";function S5(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(S5)}catch(n){console.error(n)}}S5(),b5.exports=Bi;var eb=b5.exports;const x5=C1(eb);/** 34 * @license React 35 * react-dom-client.production.js 36 * 37 * Copyright (c) Meta Platforms, Inc. and affiliates. 38 * 39 * This source code is licensed under the MIT license found in the 40 * LICENSE file in the root directory of this source tree. 41 */var Pn=aH,w5=w,IH=eb;function H(n){var e="https://react.dev/errors/"+n;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)e+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+n+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function E5(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function tb(n){var e=n,t=n;if(n.alternate)for(;e.return;)e=e.return;else{n=e;do e=n,e.flags&4098&&(t=e.return),n=e.return;while(n)}return e.tag===3?t:null}function A5(n){if(n.tag===13){var e=n.memoizedState;if(e===null&&(n=n.alternate,n!==null&&(e=n.memoizedState)),e!==null)return e.dehydrated}return null}function I5(n){if(n.tag===31){var e=n.memoizedState;if(e===null&&(n=n.alternate,n!==null&&(e=n.memoizedState)),e!==null)return e.dehydrated}return null}function kk(n){if(tb(n)!==n)throw Error(H(188))}function CH(n){var e=n.alternate;if(!e){if(e=tb(n),e===null)throw Error(H(188));return e!==n?null:n}for(var t=n,i=e;;){var s=t.return;if(s===null)break;var r=s.alternate;if(r===null){if(i=s.return,i!==null){t=i;continue}break}if(s.child===r.child){for(r=s.child;r;){if(r===t)return kk(s),n;if(r===i)return kk(s),e;r=r.sibling}throw Error(H(188))}if(t.return!==i.return)t=s,i=r;else{for(var a=!1,o=s.child;o;){if(o===t){a=!0,t=s,i=r;break}if(o===i){a=!0,i=s,t=r;break}o=o.sibling}if(!a){for(o=r.child;o;){if(o===t){a=!0,t=r,i=s;break}if(o===i){a=!0,i=r,t=s;break}o=o.sibling}if(!a)throw Error(H(189))}}if(t.alternate!==i)throw Error(H(190))}if(t.tag!==3)throw Error(H(188));return t.stateNode.current===t?n:e}function C5(n){var e=n.tag;if(e===5||e===26||e===27||e===6)return n;for(n=n.child;n!==null;){if(e=C5(n),e!==null)return e;n=n.sibling}return null}var Dt=Object.assign,TH=Symbol.for("react.element"),Bb=Symbol.for("react.transitional.element"),T0=Symbol.for("react.portal"),Vf=Symbol.for("react.fragment"),T5=Symbol.for("react.strict_mode"),NA=Symbol.for("react.profiler"),D5=Symbol.for("react.consumer"),El=Symbol.for("react.context"),CD=Symbol.for("react.forward_ref"),MA=Symbol.for("react.suspense"),OA=Symbol.for("react.suspense_list"),TD=Symbol.for("react.memo"),lc=Symbol.for("react.lazy"),LA=Symbol.for("react.activity"),DH=Symbol.for("react.memo_cache_sentinel"),Nk=Symbol.iterator;function h0(n){return n===null||typeof n!="object"?null:(n=Nk&&n[Nk]||n["@@iterator"],typeof n=="function"?n:null)}var PH=Symbol.for("react.client.reference");function BA(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===PH?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Vf:return"Fragment";case NA:return"Profiler";case T5:return"StrictMode";case MA:return"Suspense";case OA:return"SuspenseList";case LA:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case T0:return"Portal";case El:return n.displayName||"Context";case D5:return(n._context.displayName||"Context")+".Consumer";case CD:var e=n.render;return n=n.displayName,n||(n=e.displayName||e.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case TD:return e=n.displayName||null,e!==null?e:BA(n.type)||"Memo";case lc:e=n._payload,n=n._init;try{return BA(n(e))}catch{}}return null}var D0=Array.isArray,fe=w5.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,We=IH.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Uh={pending:!1,data:null,method:null,action:null},jA=[],Xf=-1;function vo(n){return{current:n}}function Un(n){0>Xf||(n.current=jA[Xf],jA[Xf]=null,Xf--)}function wt(n,e){Xf++,jA[Xf]=n.current,n.current=e}var lo=vo(null),Py=vo(null),Eu=vo(null),LS=vo(null);function BS(n,e){switch(wt(Eu,e),wt(Py,n),wt(lo,null),e.nodeType){case 9:case 11:n=(n=e.documentElement)&&(n=n.namespaceURI)?FN(n):0;break;default:if(n=e.tagName,e=e.namespaceURI)e=FN(e),n=W8(e,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}Un(lo),wt(lo,n)}function fg(){Un(lo),Un(Py),Un(Eu)}function FA(n){n.memoizedState!==null&&wt(LS,n);var e=lo.current,t=W8(e,n.type);e!==t&&(wt(Py,n),wt(lo,t))}function jS(n){Py.current===n&&(Un(lo),Un(Py)),LS.current===n&&(Un(LS),Uy._currentValue=Uh)}var Bw,Mk;function ld(n){if(Bw===void 0)try{throw Error()}catch(t){var e=t.stack.trim().match(/\n( *(at )?)/);Bw=e&&e[1]||"",Mk=-1<t.stack.indexOf(` 42 at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return` 43`+Bw+n+Mk}var jw=!1;function Fw(n,e){if(!n||jw)return"";jw=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(e){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(p){var f=p}Reflect.construct(n,[],h)}else{try{h.call()}catch(p){f=p}n.call(h.prototype)}}else{try{throw Error()}catch(p){f=p}(h=n())&&typeof h.catch=="function"&&h.catch(function(){})}}catch(p){if(p&&f&&typeof p.stack=="string")return[p.stack,f.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=i.DetermineComponentFrameRoot(),a=r[0],o=r[1];if(a&&o){var l=a.split(` 44`),c=o.split(` 45`);for(s=i=0;i<l.length&&!l[i].includes("DetermineComponentFrameRoot");)i++;for(;s<c.length&&!c[s].includes("DetermineComponentFrameRoot");)s++;if(i===l.length||s===c.length)for(i=l.length-1,s=c.length-1;1<=i&&0<=s&&l[i]!==c[s];)s--;for(;1<=i&&0<=s;i--,s--)if(l[i]!==c[s]){if(i!==1||s!==1)do if(i--,s--,0>s||l[i]!==c[s]){var u=` 46`+l[i].replace(" at new "," at ");return n.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",n.displayName)),u}while(1<=i&&0<=s);break}}}finally{jw=!1,Error.prepareStackTrace=t}return(t=n?n.displayName||n.name:"")?ld(t):""}function RH(n,e){switch(n.tag){case 26:case 27:case 5:return ld(n.type);case 16:return ld("Lazy");case 13:return n.child!==e&&e!==null?ld("Suspense Fallback"):ld("Suspense");case 19:return ld("SuspenseList");case 0:case 15:return Fw(n.type,!1);case 11:return Fw(n.type.render,!1);case 1:return Fw(n.type,!0);case 31:return ld("Activity");default:return""}}function Ok(n){try{var e="",t=null;do e+=RH(n,t),t=n,n=n.return;while(n);return e}catch(i){return` 47Error generating stack: `+i.message+` 48`+i.stack}}var zA=Object.prototype.hasOwnProperty,DD=Pn.unstable_scheduleCallback,zw=Pn.unstable_cancelCallback,kH=Pn.unstable_shouldYield,NH=Pn.unstable_requestPaint,Gs=Pn.unstable_now,MH=Pn.unstable_getCurrentPriorityLevel,P5=Pn.unstable_ImmediatePriority,R5=Pn.unstable_UserBlockingPriority,FS=Pn.unstable_NormalPriority,OH=Pn.unstable_LowPriority,k5=Pn.unstable_IdlePriority,LH=Pn.log,BH=Pn.unstable_setDisableYieldValue,nb=null,$s=null;function pu(n){if(typeof LH=="function"&&BH(n),$s&&typeof $s.setStrictMode=="function")try{$s.setStrictMode(nb,n)}catch{}}var qs=Math.clz32?Math.clz32:zH,jH=Math.log,FH=Math.LN2;function zH(n){return n>>>=0,n===0?32:31-(jH(n)/FH|0)|0}var jb=256,Fb=262144,zb=4194304;function cd(n){var e=n&42;if(e!==0)return e;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;
vendor: 10,520 bytes, line 48
48case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function R1(n,e,t){var i=n.pendingLanes;if(i===0)return 0;var s=0,r=n.suspendedLanes,a=n.pingedLanes;n=n.warmLanes;var o=i&134217727;return o!==0?(i=o&~r,i!==0?s=cd(i):(a&=o,a!==0?s=cd(a):t||(t=o&~n,t!==0&&(s=cd(t))))):(o=i&~r,o!==0?s=cd(o):a!==0?s=cd(a):t||(t=i&~n,t!==0&&(s=cd(t)))),s===0?0:e!==0&&e!==s&&!(e&r)&&(r=s&-s,t=e&-e,r>=t||r===32&&(t&4194048)!==0)?e:s}function ib(n,e){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&e)===0}function UH(n,e){switch(n){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 N5(){var n=zb;return zb<<=1,!(zb&62914560)&&(zb=4194304),n}function Uw(n){for(var e=[],t=0;31>t;t++)e.push(n);return e}function sb(n,e){n.pendingLanes|=e,e!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function VH(n,e,t,i,s,r){var a=n.pendingLanes;n.pendingLanes=t,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=t,n.entangledLanes&=t,n.errorRecoveryDisabledLanes&=t,n.shellSuspendCounter=0;var o=n.entanglements,l=n.expirationTimes,c=n.hiddenUpdates;for(t=a&~t;0<t;){var u=31-qs(t),h=1<<u;o[u]=0,l[u]=-1;var f=c[u];if(f!==null)for(c[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}t&=~h}i!==0&&M5(n,i,0),r!==0&&s===0&&n.tag!==0&&(n.suspendedLanes|=r&~(a&~e))}function M5(n,e,t){n.pendingLanes|=e,n.suspendedLanes&=~e;var i=31-qs(e);n.entangledLanes|=e,n.entanglements[i]=n.entanglements[i]|1073741824|t&261930}function O5(n,e){var t=n.entangledLanes|=e;for(n=n.entanglements;t;){var i=31-qs(t),s=1<<i;s&e|n[i]&e&&(n[i]|=e),t&=~s}}function L5(n,e){var t=e&-e;return t=t&42?1:PD(t),t&(n.suspendedLanes|e)?0:t}function PD(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 RD(n){return n&=-n,2<n?8<n?n&134217727?32:268435456:8:2}function B5(){var n=We.p;return n!==0?n:(n=window.event,n===void 0?32:aj(n.type))}function Lk(n,e){var t=We.p;try{return We.p=n,e()}finally{We.p=t}}var Qu=Math.random().toString(36).slice(2),ti="__reactFiber$"+Qu,cs="__reactProps$"+Qu,Hg="__reactContainer$"+Qu,UA="__reactEvents$"+Qu,XH="__reactListeners$"+Qu,HH="__reactHandles$"+Qu,Bk="__reactResources$"+Qu,rb="__reactMarker$"+Qu;function kD(n){delete n[ti],delete n[cs],delete n[UA],delete n[XH],delete n[HH]}function Hf(n){var e=n[ti];if(e)return e;for(var t=n.parentNode;t;){if(e=t[Hg]||t[ti]){if(t=e.alternate,e.child!==null||t!==null&&t.child!==null)for(n=HN(n);n!==null;){if(t=n[ti])return t;n=HN(n)}return e}n=t,t=n.parentNode}return null}function Gg(n){if(n=n[ti]||n[Hg]){var e=n.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return n}return null}function P0(n){var e=n.tag;if(e===5||e===26||e===27||e===6)return n.stateNode;throw Error(H(33))}function hp(n){var e=n[Bk];return e||(e=n[Bk]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function zn(n){n[rb]=!0}var j5=new Set,F5={};function hf(n,e){pg(n,e),pg(n+"Capture",e)}function pg(n,e){for(F5[n]=e,n=0;n<e.length;n++)j5.add(e[n])}var GH=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]*$"),jk={},Fk={};function $H(n){return zA.call(Fk,n)?!0:zA.call(jk,n)?!1:GH.test(n)?Fk[n]=!0:(jk[n]=!0,!1)}function C_(n,e,t){if($H(e))if(t===null)n.removeAttribute(e);else{switch(typeof t){case"undefined":case"function":case"symbol":n.removeAttribute(e);return;case"boolean":var i=e.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){n.removeAttribute(e);return}}n.setAttribute(e,""+t)}}function Ub(n,e,t){if(t===null)n.removeAttribute(e);else{switch(typeof t){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(e);return}n.setAttribute(e,""+t)}}function Ao(n,e,t,i){if(i===null)n.removeAttribute(t);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(t);return}n.setAttributeNS(e,t,""+i)}}function xr(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function z5(n){var e=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function qH(n,e,t){var i=Object.getOwnPropertyDescriptor(n.constructor.prototype,e);if(!n.hasOwnProperty(e)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var s=i.get,r=i.set;return Object.defineProperty(n,e,{configurable:!0,get:function(){return s.call(this)},set:function(a){t=""+a,r.call(this,a)}}),Object.defineProperty(n,e,{enumerable:i.enumerable}),{getValue:function(){return t},setValue:function(a){t=""+a},stopTracking:function(){n._valueTracker=null,delete n[e]}}}}function VA(n){if(!n._valueTracker){var e=z5(n)?"checked":"value";n._valueTracker=qH(n,e,""+n[e])}}function U5(n){if(!n)return!1;var e=n._valueTracker;if(!e)return!0;var t=e.getValue(),i="";return n&&(i=z5(n)?n.checked?"true":"false":n.value),n=i,n!==t?(e.setValue(n),!0):!1}function zS(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 YH=/[\n"\\]/g;function Ar(n){return n.replace(YH,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function XA(n,e,t,i,s,r,a,o){n.name="",a!=null&&typeof a!="function"&&typeof a!="symbol"&&typeof a!="boolean"?n.type=a:n.removeAttribute("type"),e!=null?a==="number"?(e===0&&n.value===""||n.value!=e)&&(n.value=""+xr(e)):n.value!==""+xr(e)&&(n.value=""+xr(e)):a!=="submit"&&a!=="reset"||n.removeAttribute("value"),e!=null?HA(n,a,xr(e)):t!=null?HA(n,a,xr(t)):i!=null&&n.removeAttribute("value"),s==null&&r!=null&&(n.defaultChecked=!!r),s!=null&&(n.checked=s&&typeof s!="function"&&typeof s!="symbol"),o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?n.name=""+xr(o):n.removeAttribute("name")}function V5(n,e,t,i,s,r,a,o){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(n.type=r),e!=null||t!=null){if(!(r!=="submit"&&r!=="reset"||e!=null)){VA(n);return}t=t!=null?""+xr(t):"",e=e!=null?""+xr(e):t,o||e===n.value||(n.value=e),n.defaultValue=e}i=i??s,i=typeof i!="function"&&typeof i!="symbol"&&!!i,n.checked=o?n.checked:!!i,n.defaultChecked=!!i,a!=null&&typeof a!="function"&&typeof a!="symbol"&&typeof a!="boolean"&&(n.name=a),VA(n)}function HA(n,e,t){e==="number"&&zS(n.ownerDocument)===n||n.defaultValue===""+t||(n.defaultValue=""+t)}function fp(n,e,t,i){if(n=n.options,e){e={};for(var s=0;s<t.length;s++)e["$"+t[s]]=!0;for(t=0;t<n.length;t++)s=e.hasOwnProperty("$"+n[t].value),n[t].selected!==s&&(n[t].selected=s),s&&i&&(n[t].defaultSelected=!0)}else{for(t=""+xr(t),e=null,s=0;s<n.length;s++){if(n[s].value===t){n[s].selected=!0,i&&(n[s].defaultSelected=!0);return}e!==null||n[s].disabled||(e=n[s])}e!==null&&(e.selected=!0)}}function X5(n,e,t){if(e!=null&&(e=""+xr(e),e!==n.value&&(n.value=e),t==null)){n.defaultValue!==e&&(n.defaultValue=e);return}n.defaultValue=t!=null?""+xr(t):""}function H5(n,e,t,i){if(e==null){if(i!=null){if(t!=null)throw Error(H(92));if(D0(i)){if(1<i.length)throw Error(H(93));i=i[0]}t=i}t==null&&(t=""),e=t}t=xr(e),n.defaultValue=t,i=n.textContent,i===t&&i!==""&&i!==null&&(n.value=i),VA(n)}function mg(n,e){if(e){var t=n.firstChild;if(t&&t===n.lastChild&&t.nodeType===3){t.nodeValue=e;return}}n.textContent=e}var WH=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 zk(n,e,t){var i=e.indexOf("--")===0;t==null||typeof t=="boolean"||t===""?i?n.setProperty(e,""):e==="float"?n.cssFloat="":n[e]="":i?n.setProperty(e,t):typeof t!="number"||t===0||WH.has(e)?e==="float"?n.cssFloat=t:n[e]=(""+t).trim():n[e]=t+"px"}function G5(n,e,t){if(e!=null&&typeof e!="object")throw Error(H(62));if(n=n.style,t!=null){for(var i in t)!t.hasOwnProperty(i)||e!=null&&e.hasOwnProperty(i)||(i.indexOf("--")===0?n.setProperty(i,""):i==="float"?n.cssFloat="":n[i]="");for(var s in e)i=e[s],e.hasOwnProperty(s)&&t[s]!==i&&zk(n,s,i)}else for(var r in e)e.hasOwnProperty(r)&&zk(n,r,e[r])}function ND(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 KH=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"],["colorRen
48dering","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"]]),QH=/^[\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 T_(n){return QH.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function Al(){}var GA=null;function MD(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Gf=null,pp=null;function Uk(n){var e=Gg(n);if(e&&(n=e.stateNode)){var t=n[cs]||null;e:switch(n=e.stateNode,e.type){case"input":if(XA(n,t.value,t.defaultValue,t.defaultValue,t.checked,t.defaultChecked,t.type,t.name),e=t.name,t.type==="radio"&&e!=null){for(t=n;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll('input[name="'+Ar(""+e)+'"][type="radio"]'),e=0;e<t.length;e++){var i=t[e];if(i!==n&&i.form===n.form){var s=i[cs]||null;if(!s)throw Error(H(90));XA(i,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(e=0;e<t.length;e++)i=t[e],i.form===n.form&&U5(i)}break e;case"textarea":X5(n,t.value,t.defaultValue);break e;case"select":e=t.value,e!=null&&fp(n,!!t.multiple,e,!1)}}}var Vw=!1;function $5(n,e,t){if(Vw)return n(e,t);Vw=!0;try{var i=n(e);return i}finally{if(Vw=!1,(Gf!==null||pp!==null)&&(X1(),Gf&&(e=Gf,n=pp,pp=Gf=null,Uk(e),n)))for(e=0;e<n.length;e++)Uk(n[e])}}function Ry(n,e){var t=n.stateNode;if(t===null)return null;var i=t[cs]||null;if(i===null)return null;t=i[e];e:switch(e){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 e;default:n=!1}if(n)return null;if(t&&typeof t!="function")throw Error(H(231,e,typeof t));return t}var kl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$A=!1;if(kl)try{var f0={};Object.defineProperty(f0,"passive",{get:function(){$A=!0}}),window.addEventListener("test",f0,f0),window.removeEventListener("test",f0,f0)}catch{$A=!1}var mu=null,OD=null,D_=null;function q5(){if(D_)return D_;var n,e=OD,t=e.length,i,s="value"in mu?mu.value:mu.textContent,r=s.length;for(n=0;n<t&&e[n]===s[n];n++);var a=t-n;for(i=1;i<=a&&e[t-i]===s[r-i];i++);return D_=s.slice(n,1<i?1-i:void 0)}function P_(n){var e=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&e===13&&(n=13)):n=e,n===10&&(n=13),32<=n||n===13?n:0}function Vb(){return!0}function Vk(){return!1}function ds(n){function e(t,i,s,r,a){this._reactName=t,this._targetInst=s,this.type=i,this.nativeEvent=r,this.target=a,this.currentTarget=null;for(var o in n)n.hasOwnProperty(o)&&(t=n[o],this[o]=t?t(r):r[o]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?Vb:Vk,this.isPropagationStopped=Vk,this}return Dt(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=Vb)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=Vb)},persist:function(){},isPersistent:Vb}),e}var ff={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},k1=ds(ff),ab=Dt({},ff,{view:0,detail:0}),JH=ds(ab),Xw,Hw,p0,N1=Dt({},ab,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:LD,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!==p0&&(p0&&n.type==="mousemove"?(Xw=n.screenX-p0.screenX,Hw=n.screenY-p0.screenY):Hw=Xw=0,p0=n),Xw)},movementY:function(n){return"movementY"in n?n.movementY:Hw}}),Xk=ds(N1),ZH=Dt({},N1,{dataTransfer:0}),eG=ds(ZH),tG=Dt({},ab,{relatedTarget:0}),Gw=ds(tG),nG=Dt({},ff,{animationName:0,elapsedTime:0,pseudoElement:0}),iG=ds(nG),sG=Dt({},ff,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),rG=ds(sG),aG=Dt({},ff,{data:0}),Hk=ds(aG),oG={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},lG={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"},cG={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function uG(n){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(n):(n=cG[n])?!!e[n]:!1}function LD(){return uG}var dG=Dt({}
vendor: 5,276 bytes, line 48
48,ab,{key:function(n){if(n.key){var e=oG[n.key]||n.key;if(e!=="Unidentified")return e}return n.type==="keypress"?(n=P_(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?lG[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:LD,charCode:function(n){return n.type==="keypress"?P_(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?P_(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),hG=ds(dG),fG=Dt({},N1,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Gk=ds(fG),pG=Dt({},ab,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:LD}),mG=ds(pG),gG=Dt({},ff,{propertyName:0,elapsedTime:0,pseudoElement:0}),yG=ds(gG),vG=Dt({},N1,{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}),bG=ds(vG),_G=Dt({},ff,{newState:0,oldState:0}),SG=ds(_G),xG=[9,13,27,32],BD=kl&&"CompositionEvent"in window,ry=null;kl&&"documentMode"in document&&(ry=document.documentMode);var wG=kl&&"TextEvent"in window&&!ry,Y5=kl&&(!BD||ry&&8<ry&&11>=ry),$k=" ",qk=!1;function W5(n,e){switch(n){case"keyup":return xG.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function K5(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var $f=!1;function EG(n,e){switch(n){case"compositionend":return K5(e);case"keypress":return e.which!==32?null:(qk=!0,$k);case"textInput":return n=e.data,n===$k&&qk?null:n;default:return null}}function AG(n,e){if($f)return n==="compositionend"||!BD&&W5(n,e)?(n=q5(),D_=OD=mu=null,$f=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Y5&&e.locale!=="ko"?null:e.data;default:return null}}var IG={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 Yk(n){var e=n&&n.nodeName&&n.nodeName.toLowerCase();return e==="input"?!!IG[n.type]:e==="textarea"}function Q5(n,e,t,i){Gf?pp?pp.push(i):pp=[i]:Gf=i,e=sx(e,"onChange"),0<e.length&&(t=new k1("onChange","change",null,t,i),n.push({event:t,listeners:e}))}var ay=null,ky=null;function CG(n){$8(n,0)}function M1(n){var e=P0(n);if(U5(e))return n}function Wk(n,e){if(n==="change")return e}var J5=!1;if(kl){var $w;if(kl){var qw="oninput"in document;if(!qw){var Kk=document.createElement("div");Kk.setAttribute("oninput","return;"),qw=typeof Kk.oninput=="function"}$w=qw}else $w=!1;J5=$w&&(!document.documentMode||9<document.documentMode)}function Qk(){ay&&(ay.detachEvent("onpropertychange",Z5),ky=ay=null)}function Z5(n){if(n.propertyName==="value"&&M1(ky)){var e=[];Q5(e,ky,n,MD(n)),$5(CG,e)}}function TG(n,e,t){n==="focusin"?(Qk(),ay=e,ky=t,ay.attachEvent("onpropertychange",Z5)):n==="focusout"&&Qk()}function DG(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return M1(ky)}function PG(n,e){if(n==="click")return M1(e)}function RG(n,e){if(n==="input"||n==="change")return M1(e)}function kG(n,e){return n===e&&(n!==0||1/n===1/e)||n!==n&&e!==e}var Js=typeof Object.is=="function"?Object.is:kG;function Ny(n,e){if(Js(n,e))return!0;if(typeof n!="object"||n===null||typeof e!="object"||e===null)return!1;var t=Object.keys(n),i=Object.keys(e);if(t.length!==i.length)return!1;for(i=0;i<t.length;i++){var s=t[i];if(!zA.call(e,s)||!Js(n[s],e[s]))return!1}return!0}function Jk(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Zk(n,e){var t=Jk(n);n=0;for(var i;t;){if(t.nodeType===3){if(i=n+t.textContent.length,n<=e&&i>=e)return{node:t,offset:e-n};n=i}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=Jk(t)}}function eB(n,e){return n&&e?n===e?!0:n&&n.nodeType===3?!1:e&&e.nodeType===3?eB(n,e.parentNode):"contains"in n?n.contains(e):n.compareDocumentPosition?!!(n.compareDocumentPosition(e)&16):!1:!1}function tB(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var e=zS(n.document);e instanceof n.HTMLIFrameElement;){try{var t=typeof e.contentWindow.location.href=="string"}catch{t=!1}if(t)n=e.contentWindow;else break;e=zS(n.document)}return e}function jD(n){var e=n&&n.nodeName&&n.nodeName.toLowerCase();return e&&(e==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||e==="textarea"||n.contentEditable==="true")}var NG=kl&&"documentMode"in document&&11>=document.documentMode,qf=null,qA=null,oy=null,YA=!1;function eN(n,e,t){var i=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;YA||qf==null||qf!==zS(i)||(i=qf,"selectionStart"in i&&jD(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focu
vendor: 20,236 bytes, line 48
48sNode:i.focusNode,focusOffset:i.focusOffset}),oy&&Ny(oy,i)||(oy=i,i=sx(qA,"onSelect"),0<i.length&&(e=new k1("onSelect","select",null,e,t),n.push({event:e,listeners:i}),e.target=qf)))}function id(n,e){var t={};return t[n.toLowerCase()]=e.toLowerCase(),t["Webkit"+n]="webkit"+e,t["Moz"+n]="moz"+e,t}var Yf={animationend:id("Animation","AnimationEnd"),animationiteration:id("Animation","AnimationIteration"),animationstart:id("Animation","AnimationStart"),transitionrun:id("Transition","TransitionRun"),transitionstart:id("Transition","TransitionStart"),transitioncancel:id("Transition","TransitionCancel"),transitionend:id("Transition","TransitionEnd")},Yw={},nB={};kl&&(nB=document.createElement("div").style,"AnimationEvent"in window||(delete Yf.animationend.animation,delete Yf.animationiteration.animation,delete Yf.animationstart.animation),"TransitionEvent"in window||delete Yf.transitionend.transition);function pf(n){if(Yw[n])return Yw[n];if(!Yf[n])return n;var e=Yf[n],t;for(t in e)if(e.hasOwnProperty(t)&&t in nB)return Yw[n]=e[t];return n}var iB=pf("animationend"),sB=pf("animationiteration"),rB=pf("animationstart"),MG=pf("transitionrun"),OG=pf("transitionstart"),LG=pf("transitioncancel"),aB=pf("transitionend"),oB=new Map,WA="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(" ");WA.push("scrollEnd");function ma(n,e){oB.set(n,e),hf(e,[n])}var US=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=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(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},Sr=[],Wf=0,FD=0;function O1(){for(var n=Wf,e=FD=Wf=0;e<n;){var t=Sr[e];Sr[e++]=null;var i=Sr[e];Sr[e++]=null;var s=Sr[e];Sr[e++]=null;var r=Sr[e];if(Sr[e++]=null,i!==null&&s!==null){var a=i.pending;a===null?s.next=s:(s.next=a.next,a.next=s),i.pending=s}r!==0&&lB(t,s,r)}}function L1(n,e,t,i){Sr[Wf++]=n,Sr[Wf++]=e,Sr[Wf++]=t,Sr[Wf++]=i,FD|=i,n.lanes|=i,n=n.alternate,n!==null&&(n.lanes|=i)}function zD(n,e,t,i){return L1(n,e,t,i),VS(n)}function mf(n,e){return L1(n,null,null,e),VS(n)}function lB(n,e,t){n.lanes|=t;var i=n.alternate;i!==null&&(i.lanes|=t);for(var s=!1,r=n.return;r!==null;)r.childLanes|=t,i=r.alternate,i!==null&&(i.childLanes|=t),r.tag===22&&(n=r.stateNode,n===null||n._visibility&1||(s=!0)),n=r,r=r.return;return n.tag===3?(r=n.stateNode,s&&e!==null&&(s=31-qs(t),n=r.hiddenUpdates,i=n[s],i===null?n[s]=[e]:i.push(e),e.lane=t|536870912),r):null}function VS(n){if(50<gy)throw gy=0,gI=null,Error(H(185));for(var e=n.return;e!==null;)n=e,e=n.return;return n.tag===3?n.stateNode:null}var Kf={};function BG(n,e,t,i){this.tag=n,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,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 Us(n,e,t,i){return new BG(n,e,t,i)}function UD(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Cl(n,e){var t=n.alternate;return t===null?(t=Us(n.tag,e,n.key,n.mode),t.elementType=n.elementType,t.type=n.type,t.stateNode=n.stateNode,t.alternate=n,n.alternate=t):(t.pendingProps=e,t.type=n.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=n.flags&65011712,t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},t.sibling=n.sibling,t.index=n.index,t.ref=n.ref,t.refCleanup=n.refCleanup,t}function cB(n,e){n.flags&=65011714;var t=n.alternate;return t===null?(n.childLanes=0,n.lanes=e,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,n.type=t.type,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n}function R_(n,e,t,i,s,r){var a=0;if(i=n,typeof n=="function")UD(n)&&(a=1);else if(typeof n=="string")a=V$(n,t,lo.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case LA:return n=Us(31,t,e,s),n.elementType=LA,n.lanes=r,n;case Vf:return Vh(t.children,s,r,e);case T5:a=8,s|=24;break;case NA:return n=Us(12,t,e,s|2),n.elementType=NA,n.lanes=r,n;case MA:return n=Us(13,t,e,s),n.elementType=MA,n.lanes=r,n;case OA:return n=Us(19,t,e,s),n.elementType=OA,n.lanes=r,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case El:a=10;break e;case D5:a=9;break e;case CD:a=11;break e;case TD:a=14;break e;case lc:a=16,i=null;break e}a=29,t=Error(H(130,n===null?"null":typeof n,"")),i=null}return e=Us(a,t,e,s),e.elementType=n,e.type=i,e.lanes=r,e}function Vh(n,e,t,i){return n=Us(7,n,i,e),n.lanes=t,n}function Ww(n,e,t){return n=Us(6,n,null,e),n.lanes=t,n}function uB(n){var e=Us(18,null,null,0);return e.stateNode=n,e}function Kw(n,e,t){return e=Us(4,n.children!==null?n.children:[],n.key,e),e.lanes=t,e.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},e}var tN=new WeakMap;function Ir(n,e){if(typeof n=="object"&&n!==null){var t=tN.get(n);return t!==void 0?t:(e={value:n,source:e,stack:Ok(e)},tN.set(n,e),e)}return{value:n,source:e,stack:Ok(e)}}var Qf=[],Jf=0,XS=null,My=0,wr=[],Er=0,Bu=null,no=1,io="";function zo(n,e){Qf[Jf++]=My,Qf[Jf++]=XS,XS=n,My=e}function dB(n,e,t){wr[Er++]=no,wr[Er++]=io,wr[Er++]=Bu,Bu=n;var i=no;n=io;var s=32-qs(i)-1;i&=~(1<<s),t+=1;var r=32-qs(e)+s;if(30<r){var a=s-s%5;r=(i&(1<<a)-1).toString(32),i>>=a,s-=a,no=1<<32-qs(e)+s|t<<s|i,io=r+n}else no=1<<r|t<<s|i,io=n}function VD(n){n.return!==null&&(zo(n,1),dB(n,1,0))}function XD(n){for(;n===XS;)XS=Qf[--Jf],Qf[Jf]=null,My=Qf[--Jf],Qf[Jf]=null;for(;n===Bu;)Bu=wr[--Er],wr[Er]=null,io=wr[--Er],wr[Er]=null,no=wr[--Er],wr[Er]=null}function hB(n,e){wr[Er++]=no,wr[Er++]=io,wr[Er++]=Bu,no=e.id,io=e.overflow,Bu=n}var ni=null,Ct=null,Fe=!1,Au=null,Cr=!1,KA=Error(H(519));function ju(n){var e=Error(H(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Oy(Ir(e,n)),KA}function nN(n){var e=n.stateNode,t=n.type,i=n.memoizedProps;switch(e[ti]=n,e[cs]=i,t){case"dialog":ke("cancel",e),ke("close",e);break;case"iframe":case"object":case"embed":ke("load",e);break;case"video":case"audio":for(t=0;t<Fy.length;t++)ke(Fy[t],e);break;case"source":ke("error",e);break;case"img":case"image":case"link":ke("error",e),ke("load",e);break;case"details":ke("toggle",e);break;case"input":ke("invalid",e),V5(e,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":ke("invalid",e);break;case"textarea":ke("invalid",e),H5(e,i.value,i.defaultValue,i.children)}t=i.children,typeof t!="string"&&typeof t!="number"&&typeof t!="bigint"||e.textContent===""+t||i.suppressHydrationWarning===!0||Y8(e.textContent,t)?(i.popover!=null&&(ke("beforetoggle",e),ke("toggle",e)),i.onScroll!=null&&ke("scroll",e),i.onScrollEnd!=null&&ke("scrollend",e),i.onClick!=null&&(e.onclick=Al),e=!0):e=!1,e||ju(n,!0)}function iN(n){for(ni=n.return;ni;)switch(ni.tag){case 5:case 31:case 13:Cr=!1;return;case 27:case 3:Cr=!0;return;default:ni=ni.return}}function wf(n){if(n!==ni)return!1;if(!Fe)return iN(n),Fe=!0,!1;var e=n.tag,t;if((t=e!==3&&e!==27)&&((t=e===5)&&(t=n.type,t=!(t!=="form"&&t!=="button")||SI(n.type,n.memoizedProps)),t=!t),t&&Ct&&ju(n),iN(n),e===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(H(317));Ct=XN(n)}else if(e===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(H(317));Ct=XN(n)}else e===27?(e=Ct,Ju(n.type)?(n=AI,AI=null,Ct=n):Ct=e):Ct=ni?Mr(n.stateNode.nextSibling):null;return!0}function Jh(){Ct=ni=null,Fe=!1}function Qw(){var n=Au;return n!==null&&(es===null?es=n:es.push.apply(es,n),Au=null),n}function Oy(n){Au===null?Au=[n]:Au.push(n)}var QA=vo(null),gf=null,Il=null;function dc(n,e,t){wt(QA,e._currentValue),e._currentValue=t}function Tl(n){n._currentValue=QA.current,Un(QA)}function JA(n,e,t){for(;n!==null;){var i=n.alternate;if((n.childLanes&e)!==e?(n.childLanes|=e,i!==null&&(i.childLanes|=e)):i!==null&&(i.childLanes&e)!==e&&(i.childLanes|=e),n===t)break;n=n.return}}function ZA(n,e,t,i){var s=n.child;for(s!==null&&(s.return=n);s!==null;){var r=s.dependencies;if(r!==null){var a=s.child;r=r.firstContext;e:for(;r!==null;){var o=r;r=s;for(var l=0;l<e.length;l++)if(o.context===e[l]){r.lanes|=t,o=r.alternate,o!==null&&(o.lanes|=t),JA(r.return,t,n),i||(a=null);break e}r=o.next}}else if(s.tag===18){if(a=s.return,a===null)throw Error(H(341));a.lanes|=t,r=a.alternate,r!==null&&(r.lanes|=t),JA(a,t,n),a=null}else a=s.child;if(a!==null)a.return=s;else for(a=s;a!==null;){if(a===n){a=null;break}if(s=a.sibling,s!==null){s.return=a.return,a=s;break}a=a.return}s=a}}function $g(n,e,t,i){n=null;for(var s=e,r=!1;s!==null;){if(!r){if(s.flags&524288)r=!0;else if(s.flags&262144)break}if(s.tag===10){var a=s.alternate;if(a===null)throw Error(H(387));if(a=a.memoizedProps,a!==null){var o=s.type;Js(s.pendingProps.value,a.value)||(n!==null?n.push(o):n=[o])}}else if(s===LS.current){if(a=s.alternate,a===null)throw Error(H(387));a.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(n!==null?n.push(Uy):n=[Uy])}s=s.return}n!==null&&ZA(e,n,t,i),e.flags|=262144}function HS(n){for(n=n.firstContext;n!==null;){if(!Js(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function Zh(n){gf=n,Il=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function si(n){return fB(gf,n)}function Xb(n,e){return gf===null&&Zh(n),fB(n,e)}function fB(n,e){var t=e._currentValue;if(e={context:e,memoizedValue:t,next:null},Il===null){if(n===null)throw Error(H(308));Il=e,n.dependencies={lanes:0,firstContext:e},n.flags|=524288}else Il=Il.next=e;return t}var jG=typeof AbortController<"u"?AbortController:function(){var n=[],e=this.signal={aborted:!1,addEventListener:function(t,i){n.push(i)}};this.abort=function(){e.aborted=!0,n.forEach(function(t){return t()})}},FG=Pn.unstable_scheduleCallback,zG=Pn.unstable_NormalPriority,bn={$$typeof:El,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function HD(){return{controller:new jG,data:new Map,refCount:0}}function ob(n){n.refCount--,n.refCount===0&&FG(zG,function(){n.controller.abort()})}var ly=null,eI=0,gg=0,mp=null;function UG(n,e){if(ly===null){var t=ly=[];eI=0,gg=mP(),mp={status:"pending",value:void 0,then:function(i){t.push(i)}}}return eI++,e.then(sN,sN),e}function sN(){if(--eI===0&&ly!==null){mp!==null&&(mp.status="fulfilled");var n=ly;ly=null,gg=0,mp=null;for(var e=0;e<n.length;e++)(0,n[e])()}}function VG(n,e){var t=[],i={status:"pending",value:null,reason:null,then:function(s){t.push(s)}};return n.then(function(){i.status="fulfilled",i.value=e;for(var s=0;s<t.length;s++)(0,t[s])(e)},function(s){for(i.status="rejected",i.reason=s,s=0;s<t.length;s++)(0,t[s])(void 0)}),i}var rN=fe.S;fe.S=function(n,e){C8=Gs(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&UG(n,e),rN!==null&&rN(n,e)};var Xh=vo(null);function GD(){var n=Xh.current;return n!==null?n:vt.pooledCache}function k_(n,e){e===null?wt(Xh,Xh.current):wt(Xh,e.pool)}function pB(){var n=GD();return n===null?null:{parent:bn._currentValue,pool:n}}var qg=Error(H(460)),$D=Error(H(474)),B1=Error(H(542)),GS={then:function(){}};function aN(n){return n=n.status,n==="fulfilled"||n==="rejected"}function mB(n,e,t){switch(t=n[t],t===void 0?n.push(e):t!==e&&(e.then(Al,Al),e=t),e.status){case"fulfilled":return e.value;case"rejected":throw n=e.reason,lN(n),n;default:if(typeof e.status=="string")e.then(Al,Al);else{if(n=vt,n!==null&&100<n.shellSuspendCounter)throw Error(H(482));n=e,n.status="pending",n.then(function(i){if(e.status==="pending"){var s=e;s.status="fulfilled",s.value=i}},function(i){if(e.status==="pending"){var s=e;s.status="rejected",s.reason=i}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw n=e.reason,lN(n),n}throw Hh=e,qg}}function ud(n){try{var e=n._init;return e(n._payload)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(Hh=t,qg):t}}var Hh=null;function oN(){if(Hh===null)throw Error(H(459));var n=Hh;return Hh=null,n}function lN(n){if(n===qg||n===B1)throw Error(H(483))}var gp=null,Ly=0;function Hb(n){var e=Ly;return Ly+=1,gp===null&&(gp=[]),mB(gp,n,e)}function m0(n,e){e=e.props.ref,n.ref=e!==void 0?e:null}function Gb(n,e){throw e.$$typeof===TH?Error(H(525)):(n=Object.prototype.toString.call(e),Error(H(31,n==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":n)))}function gB(n){function e(y,v){if(n){var _=y.deletions;_===null?(y.deletions=[v],y.flags|=16):_.push(v)}}function t(y,v){if(!n)return null;for(;v!==null;)e(y,v),v=v.sibling;return null}function i(y){for(var v=new Map;y!==null;)y.key!==null?v.set(y.key,y):v.set(y.index,y),y=y.sibling;return v}function s(y,v){return y=Cl(y,v),y.index=0,y.sibling=null,y}function r(y,v,_){return y.index=_,n?(_=y.alternate,_!==null?(_=_.index,_<v?(y.flags|=67108866,v):_):(y.flags|=67108866,v)):(y.flags|=1048576,v)}function a(y){return n&&y.alternate===null&&(y.flags|=67108866),y}function o(y,v,_,x){return v===null||v.tag!==6?(v=Ww(_,y.mode,x),v.return=y,v):(v=s(v,_),v.return=y,v)}function l(y,v,_,x){var E=_.type;return E===Vf?u(y,v,_.props.children,x,_.key):v!==null&&(v.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===lc&&ud(E)===v.type)?(v=s(v,_.props),m0(v,_),v.return=y,v):(v=R_(_.type,_.key,_.props,null,y.mode,x),m0(v,_),v.return=y,v)}function c(y,v,_,x){return v===null||v.tag!==4||v.stateNode.containerInfo!==_.containerInfo||v.stateNode.implementation!==_.implementation?(v=Kw(_,y.mode,x),v.return=y,v):(v=s(v,_.children||[]),v.return=y,v)}function u(y,v,_,x,E){return v===null||v.tag!==7?(v=Vh(_,y.mode,x,E),v.return=y,v):(v=s(v,_),v.return=y,v)}function h(y,v,_){if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return v=Ww(""+v,y.mode,_),v.return=y,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Bb:return _=R_(v.type,v.key,v.props,null,y.mode,_),m0(_,v),_.return=y,_;case T0:return v=Kw(v,y.mode,_),v.return=y,v;case lc:return v=ud(v),h(y,v,_)}if(D0(v)||h0(v))return v=Vh(v,y.mode,_,null),v.return=y,v;if(typeof v.then=="function")return h(y,Hb(v),_);if(v.$$typeof===El)return h(y,Xb(y,v),_);Gb(y,v)}return null}function f(y,v,_,x){var E=v!==null?v.key:null;if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return E!==null?null:o(y,v,""+_,x);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case Bb:return _.key===E?l(y,v,_,x):null;case T0:return _.key===E?c(y,v,_,x):null;case lc:return _=ud(_),f(y,v,_,x)}if(D0(_)||h0(_))return E!==null?null:u(y,v,_,x,null);if(typeof _.then=="function")return f(y,v,Hb(_),x);if(_.$$typeof===El)return f(y,v,Xb(y,_),x);Gb(y,_)}return null}function p(y,v,_,x,E){if(typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint")return y=y.get(_)||null,o(v,y,""+x,E);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Bb:return y=y.get(x.key===null?_:x.key)||null,l(v,y,x,E);case T0:return y=y.get(x.key===null?_:x.key)||null,c(v,y,x,E);case lc:return x=ud(x),p(y,v,_,x,E)}if(D0(x)||h0(x))return y=y.get(_)||null,u(v,y,x,E,null);if(typeof x.then=="function")return p(y,v,_,Hb(x),E);if(x.$$typeof===El)return p(y,v,_,Xb(v,x),E);Gb(v,x)}return null}function b(y,v,_,x){for(var E=null,C=null,I=v,R=v=0,D=null;I!==null&&R<_.length;R++){I.index>R?(D=I,I=null):D=I.sibling;var k=f(y,I,_[R],x);if(k===null){I===null&&(I=D);break}n&&I&&k.alternate===null&&e(y,I),v=r(k,v,R),C===null?E=k:C.sibling=k,C=k,I=D}if(R===_.length)return t(y,I),Fe&&zo(y,R),E;if(I===null){for(;R<_.length;R++)I=h(y,_[R],x),I!==null&&(v=r(I,v,R),C===null?E=I:C.sibling=I,C=I);return Fe&&zo(y,R),E}for(I=i(I);R<_.length;R++)D=p(I,y,R,_[R],x),D!==null&&(n&&D.alternate!==null&&I.delete(D.key===null?R:D.key),v=r(D,v,R),C===null?E=D:C.sibling=D,C=D);return n&&I.forEach(function(N){return e(y,N)}),Fe&&zo(y,R),E}function g(y,v,_,x){if(_==null)throw Error(H(151));for(var E=null,C=null,I=v,R=v=0,D=null,k=_.next();I!==null&&!k.done;R++,k=_.next()){I.index>R?(D=I,I=null):D=I.sibling;var N=f(y,I,k.value,x);if(N===null){I===null&&(I=D);break}n&&I&&N.alternate===null&&e(y,I),v=r(N,v,R),C===null?E=N:C.sibling=N,C=N,I=D}if(k.done)return t(y,I),Fe&&zo(y,R),E;if(I===null){for(;!k.done;R++,k=_.next())k=h(y,k.value,x),k!==null&&(v=r(k,v,R),C===null?E=k:C.sibling=k,C=k);return Fe&&zo(y,R),E}for(I=i(I);!k.done;R++,k=_.next())k=p(I,y,R,k.value,x),k!==null&&(n&&k.alternate!==null&&I.delete(k.key===null?R:k.key),v=r(k,v,R),C===null?E=k:C.sibling=k,C=k);return n&&I.forEach(function(O){return e(y,O)}),Fe&&zo(y,R),E}function S(y,v,_,x){if(typeof _=="object"&&_!==null&&_.type===Vf&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case Bb:e:{for(var E=_.key;v!==null;){if(v.key===E){if(E=_.type,E===Vf){if(v.tag===7){t(y,v.sibling),x=s(v,_.props.children),x.return=y,y=x;break e}}else if(v.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===lc&&ud(E)===v.type){t(y,v.sibling),x=s(v,_.props),m0(x,_),x.return=y,y=x;break e}t(y,v);break}else e(y,v);v=v.sibling}_.type===Vf?(x=Vh(_.props.children,y.mode,x,_.key),x.return=y,y=x):(x=R_(_.type,_.key,_.props,null,y.mode,x),m0(x,_),x.return=y,y=x)}return a(y);case T0:e:{for(E=_.key;v!==null;){if(v.key===E)if(v.tag===4&&v.stateNode.containerInfo===_.containerInfo&&v.stateNode.implementation===_.implementation){t(y,v.sibling),x=s(v,_.children||[]),x.return=y,y=x;break e}else{t(y,v);break}else e(y,v);v=v.sibling}x=Kw(_,y.mode,x),x.return=y,y=x}return a(y);case lc:return _=ud(_),S(y,v,_,x)}if(D0(_))return b(y,v,_,x);if(h0(_)){if(E=h0(_),typeof E!="function")throw Error(H(150));return _=E.call(_),g(y,v,_,x)}if(typeof _.then=="function")return S(y,v,Hb(_),x);if(_.$$typeof===El)return S(y,v,Xb(y,_),x);Gb(y,_)}return typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint"?(_=""+_,v!==null&&v.tag===6?(t(y,v.sibling),x=s(v,_),x.return=y,y=x):(t(y,v),x=Ww(_,y.mode,x),x.return=y,y=x),a(y)):t(y,v)}return function(y,v,_,x){try{Ly=0;var E=S(y,v,_,x);return gp=null,E}catch(I){if(I===qg||I===B1)throw I;var C=Us(29,I,null,y.mode);return C.lanes=x,C.return=y,C}finally{}}}var ef=gB(!0),yB=gB(!1),cc=!1;function qD(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function tI(n,e){n=n.updateQueue,e.updateQueue===n&&(e.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Iu(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function Cu(n,e,t){var i=n.updateQueue;if(i===null)return null;if(i=i.shared,Ye&2){var s=i.pending;return s===null?e.next=e:(e.next=s.next,s.next=e),i.pending=e,e=VS(n),lB(n,null,t),e}return L1(n,i,e,t),VS(n)}function cy(n,e,t){if(e=e.updateQueue,e!==null&&(e=e.shared,(t&4194048)!==0)){var i=e.lanes;i&=n.pendingLanes,t|=i,e.lanes=t,O5(n,t)}}function Jw(n,e){var t=n.updateQueue,i=n.alternate;if(i!==null&&(i=i.updateQueue,t===i)){var s=null,r=null;if(t=t.firstBaseUpdate,t!==null){do{var a={lane:t.lane,tag:t.tag,payload:t.payload,callback:null,next:null};r===null?s=r=a:r=r.next=a,t=t.next}
vendor: 7,420 bytes, line 48
48while(t!==null);r===null?s=r=e:r=r.next=e}else s=r=e;t={baseState:i.baseState,firstBaseUpdate:s,lastBaseUpdate:r,shared:i.shared,callbacks:i.callbacks},n.updateQueue=t;return}n=t.lastBaseUpdate,n===null?t.firstBaseUpdate=e:n.next=e,t.lastBaseUpdate=e}var nI=!1;function uy(){if(nI){var n=mp;if(n!==null)throw n}}function dy(n,e,t,i){nI=!1;var s=n.updateQueue;cc=!1;var r=s.firstBaseUpdate,a=s.lastBaseUpdate,o=s.shared.pending;if(o!==null){s.shared.pending=null;var l=o,c=l.next;l.next=null,a===null?r=c:a.next=c,a=l;var u=n.alternate;u!==null&&(u=u.updateQueue,o=u.lastBaseUpdate,o!==a&&(o===null?u.firstBaseUpdate=c:o.next=c,u.lastBaseUpdate=l))}if(r!==null){var h=s.baseState;a=0,u=c=l=null,o=r;do{var f=o.lane&-536870913,p=f!==o.lane;if(p?(Oe&f)===f:(i&f)===f){f!==0&&f===gg&&(nI=!0),u!==null&&(u=u.next={lane:0,tag:o.tag,payload:o.payload,callback:null,next:null});e:{var b=n,g=o;f=e;var S=t;switch(g.tag){case 1:if(b=g.payload,typeof b=="function"){h=b.call(S,h,f);break e}h=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=g.payload,f=typeof b=="function"?b.call(S,h,f):b,f==null)break e;h=Dt({},h,f);break e;case 2:cc=!0}}f=o.callback,f!==null&&(n.flags|=64,p&&(n.flags|=8192),p=s.callbacks,p===null?s.callbacks=[f]:p.push(f))}else p={lane:f,tag:o.tag,payload:o.payload,callback:o.callback,next:null},u===null?(c=u=p,l=h):u=u.next=p,a|=f;if(o=o.next,o===null){if(o=s.shared.pending,o===null)break;p=o,o=p.next,p.next=null,s.lastBaseUpdate=p,s.shared.pending=null}}while(!0);u===null&&(l=h),s.baseState=l,s.firstBaseUpdate=c,s.lastBaseUpdate=u,r===null&&(s.shared.lanes=0),zu|=a,n.lanes=a,n.memoizedState=h}}function vB(n,e){if(typeof n!="function")throw Error(H(191,n));n.call(e)}function bB(n,e){var t=n.callbacks;if(t!==null)for(n.callbacks=null,n=0;n<t.length;n++)vB(t[n],e)}var yg=vo(null),$S=vo(0);function cN(n,e){n=Ll,wt($S,n),wt(yg,e),Ll=n|e.baseLanes}function iI(){wt($S,Ll),wt(yg,yg.current)}function YD(){Ll=$S.current,Un(yg),Un($S)}var Zs=vo(null),Nr=null;function hc(n){var e=n.alternate;wt(dn,dn.current&1),wt(Zs,n),Nr===null&&(e===null||yg.current!==null||e.memoizedState!==null)&&(Nr=n)}function sI(n){wt(dn,dn.current),wt(Zs,n),Nr===null&&(Nr=n)}function _B(n){n.tag===22?(wt(dn,dn.current),wt(Zs,n),Nr===null&&(Nr=n)):fc()}function fc(){wt(dn,dn.current),wt(Zs,Zs.current)}function js(n){Un(Zs),Nr===n&&(Nr=null),Un(dn)}var dn=vo(0);function qS(n){for(var e=n;e!==null;){if(e.tag===13){var t=e.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||wI(t)||EI(t)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break;for(;e.sibling===null;){if(e.return===null||e.return===n)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Nl=0,Se=null,lt=null,gn=null,YS=!1,yp=!1,tf=!1,WS=0,By=0,vp=null,XG=0;function Yt(){throw Error(H(321))}function WD(n,e){if(e===null)return!1;for(var t=0;t<e.length&&t<n.length;t++)if(!Js(n[t],e[t]))return!1;return!0}function KD(n,e,t,i,s,r){return Nl=r,Se=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,fe.H=n===null||n.memoizedState===null?QB:oP,tf=!1,r=t(i,s),tf=!1,yp&&(r=xB(e,t,i,s)),SB(n),r}function SB(n){fe.H=jy;var e=lt!==null&<.next!==null;if(Nl=0,gn=lt=Se=null,YS=!1,By=0,vp=null,e)throw Error(H(300));n===null||Sn||(n=n.dependencies,n!==null&&HS(n)&&(Sn=!0))}function xB(n,e,t,i){Se=n;var s=0;do{if(yp&&(vp=null),By=0,yp=!1,25<=s)throw Error(H(301));if(s+=1,gn=lt=null,n.updateQueue!=null){var r=n.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}fe.H=JB,r=e(t,i)}while(yp);return r}function HG(){var n=fe.H,e=n.useState()[0];return e=typeof e.then=="function"?lb(e):e,n=n.useState()[0],(lt!==null?lt.memoizedState:null)!==n&&(Se.flags|=1024),e}function QD(){var n=WS!==0;return WS=0,n}function JD(n,e,t){e.updateQueue=n.updateQueue,e.flags&=-2053,n.lanes&=~t}function ZD(n){if(YS){for(n=n.memoizedState;n!==null;){var e=n.queue;e!==null&&(e.pending=null),n=n.next}YS=!1}Nl=0,gn=lt=Se=null,yp=!1,By=WS=0,vp=null}function Di(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return gn===null?Se.memoizedState=gn=n:gn=gn.next=n,gn}function hn(){if(lt===null){var n=Se.alternate;n=n!==null?n.memoizedState:null}else n=lt.next;var e=gn===null?Se.memoizedState:gn.next;if(e!==null)gn=e,lt=n;else{if(n===null)throw Se.alternate===null?Error(H(467)):Error(H(310));lt=n,n={memoizedState:lt.memoizedState,baseState:lt.baseState,baseQueue:lt.baseQueue,queue:lt.queue,next:null},gn===null?Se.memoizedState=gn=n:gn=gn.next=n}return gn}function j1(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function lb(n){var e=By;return By+=1,vp===null&&(vp=[]),n=mB(vp,n,e),e=Se,(gn===null?e.memoizedState:gn.next)===null&&(e=e.alternate,fe.H=e===null||e.memoizedState===null?QB:oP),n}function F1(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return lb(n);if(n.$$typeof===El)return si(n)}throw Error(H(438,String(n)))}function eP(n){var e=null,t=Se.updateQueue;if(t!==null&&(e=t.memoCache),e==null){var i=Se.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(e={data:i.data.map(function(s){return s.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),t===null&&(t=j1(),Se.updateQueue=t),t.memoCache=e,t=e.data[e.index],t===void 0)for(t=e.data[e.index]=Array(n),i=0;i<n;i++)t[i]=DH;return e.index++,t}function Ml(n,e){return typeof e=="function"?e(n):e}function N_(n){var e=hn();return tP(e,lt,n)}function tP(n,e,t){var i=n.queue;if(i===null)throw Error(H(311));i.lastRenderedReducer=t;var s=n.baseQueue,r=i.pending;if(r!==null){if(s!==null){var a=s.next;s.next=r.next,r.next=a}e.baseQueue=s=r,i.pending=null}if(r=n.baseState,s===null)n.memoizedState=r;else{e=s.next;var o=a=null,l=null,c=e,u=!1;do{var h=c.lane&-536870913;if(h!==c.lane?(Oe&h)===h:(Nl&h)===h){var f=c.revertLane;if(f===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),h===gg&&(u=!0);else if((Nl&f)===f){c=c.next,f===gg&&(u=!0);continue}else h={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},l===null?(o=l=h,a=r):l=l.next=h,Se.lanes|=f,zu|=f;h=c.action,tf&&t(r,h),r=c.hasEagerState?c.eagerState:t(r,h)}else f={lane:h,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},l===null?(o=l=f,a=r):l=l.next=f,Se.lanes|=h,zu|=h;c=c.next}while(c!==null&&c!==e);if(l===null?a=r:l.next=o,!Js(r,n.memoizedState)&&(Sn=!0,u&&(t=mp,t!==null)))throw t;n.memoizedState=r,n.baseState=a,n.baseQueue=l,i.lastRenderedState=r}return s===null&&(i.lanes=0),[n.memoizedState,i.dispatch]}function Zw(n){var e=hn(),t=e.queue;if(t===null)throw Error(H(311));t.lastRenderedReducer=n;var i=t.dispatch,s=t.pending,r=e.memoizedState;if(s!==null){t.pending=null;var a=s=s.next;do r=n(r,a.action),a=a.next;while(a!==s);Js(r,e.memoizedState)||(Sn=!0),e.memoizedState=r,e.baseQueue===null&&(e.baseState=r),t.lastRenderedState=r}return[r,i]}function wB(n,e,t){var i=Se,s=hn(),r=Fe;if(r){if(t===void 0)throw Error(H(407));t=t()}else t=e();var a=!Js((lt||s).memoizedState,t);
vendor: 13,960 bytes, line 48
48if(a&&(s.memoizedState=t,Sn=!0),s=s.queue,nP(IB.bind(null,i,s,n),[n]),s.getSnapshot!==e||a||gn!==null&&gn.memoizedState.tag&1){if(i.flags|=2048,vg(9,{destroy:void 0},AB.bind(null,i,s,t,e),null),vt===null)throw Error(H(349));r||Nl&127||EB(i,e,t)}return t}function EB(n,e,t){n.flags|=16384,n={getSnapshot:e,value:t},e=Se.updateQueue,e===null?(e=j1(),Se.updateQueue=e,e.stores=[n]):(t=e.stores,t===null?e.stores=[n]:t.push(n))}function AB(n,e,t,i){e.value=t,e.getSnapshot=i,CB(e)&&TB(n)}function IB(n,e,t){return t(function(){CB(e)&&TB(n)})}function CB(n){var e=n.getSnapshot;n=n.value;try{var t=e();return!Js(n,t)}catch{return!0}}function TB(n){var e=mf(n,2);e!==null&&ss(e,n,2)}function rI(n){var e=Di();if(typeof n=="function"){var t=n;if(n=t(),tf){pu(!0);try{t()}finally{pu(!1)}}}return e.memoizedState=e.baseState=n,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ml,lastRenderedState:n},e}function DB(n,e,t,i){return n.baseState=t,tP(n,lt,typeof i=="function"?i:Ml)}function GG(n,e,t,i,s){if(U1(n))throw Error(H(485));if(n=e.action,n!==null){var r={payload:s,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(a){r.listeners.push(a)}};fe.T!==null?t(!0):r.isTransition=!1,i(r),t=e.pending,t===null?(r.next=e.pending=r,PB(e,r)):(r.next=t.next,e.pending=t.next=r)}}function PB(n,e){var t=e.action,i=e.payload,s=n.state;if(e.isTransition){var r=fe.T,a={};fe.T=a;try{var o=t(s,i),l=fe.S;l!==null&&l(a,o),uN(n,e,o)}catch(c){aI(n,e,c)}finally{r!==null&&a.types!==null&&(r.types=a.types),fe.T=r}}else try{r=t(s,i),uN(n,e,r)}catch(c){aI(n,e,c)}}function uN(n,e,t){t!==null&&typeof t=="object"&&typeof t.then=="function"?t.then(function(i){dN(n,e,i)},function(i){return aI(n,e,i)}):dN(n,e,t)}function dN(n,e,t){e.status="fulfilled",e.value=t,RB(e),n.state=t,e=n.pending,e!==null&&(t=e.next,t===e?n.pending=null:(t=t.next,e.next=t,PB(n,t)))}function aI(n,e,t){var i=n.pending;if(n.pending=null,i!==null){i=i.next;do e.status="rejected",e.reason=t,RB(e),e=e.next;while(e!==i)}n.action=null}function RB(n){n=n.listeners;for(var e=0;e<n.length;e++)(0,n[e])()}function kB(n,e){return e}function hN(n,e){if(Fe){var t=vt.formState;if(t!==null){e:{var i=Se;if(Fe){if(Ct){t:{for(var s=Ct,r=Cr;s.nodeType!==8;){if(!r){s=null;break t}if(s=Mr(s.nextSibling),s===null){s=null;break t}}r=s.data,s=r==="F!"||r==="F"?s:null}if(s){Ct=Mr(s.nextSibling),i=s.data==="F!";break e}}ju(i)}i=!1}i&&(e=t[0])}}return t=Di(),t.memoizedState=t.baseState=e,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:kB,lastRenderedState:e},t.queue=i,t=YB.bind(null,Se,i),i.dispatch=t,i=rI(!1),r=aP.bind(null,Se,!1,i.queue),i=Di(),s={state:e,dispatch:null,action:n,pending:null},i.queue=s,t=GG.bind(null,Se,s,r,t),s.dispatch=t,i.memoizedState=n,[e,t,!1]}function fN(n){var e=hn();return NB(e,lt,n)}function NB(n,e,t){if(e=tP(n,e,kB)[0],n=N_(Ml)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var i=lb(e)}catch(a){throw a===qg?B1:a}else i=e;e=hn();var s=e.queue,r=s.dispatch;return t!==e.memoizedState&&(Se.flags|=2048,vg(9,{destroy:void 0},$G.bind(null,s,t),null)),[i,r,n]}function $G(n,e){n.action=e}function pN(n){var e=hn(),t=lt;if(t!==null)return NB(e,t,n);hn(),e=e.memoizedState,t=hn();var i=t.queue.dispatch;return t.memoizedState=n,[e,i,!1]}function vg(n,e,t,i){return n={tag:n,create:t,deps:i,inst:e,next:null},e=Se.updateQueue,e===null&&(e=j1(),Se.updateQueue=e),t=e.lastEffect,t===null?e.lastEffect=n.next=n:(i=t.next,t.next=n,n.next=i,e.lastEffect=n),n}function MB(){return hn().memoizedState}function M_(n,e,t,i){var s=Di();Se.flags|=n,s.memoizedState=vg(1|e,{destroy:void 0},t,i===void 0?null:i)}function z1(n,e,t,i){var s=hn();i=i===void 0?null:i;var r=s.memoizedState.inst;lt!==null&&i!==null&&WD(i,lt.memoizedState.deps)?s.memoizedState=vg(e,r,t,i):(Se.flags|=n,s.memoizedState=vg(1|e,r,t,i))}function mN(n,e){M_(8390656,8,n,e)}function nP(n,e){z1(2048,8,n,e)}function qG(n){Se.flags|=4;var e=Se.updateQueue;if(e===null)e=j1(),Se.updateQueue=e,e.events=[n];else{var t=e.events;t===null?e.events=[n]:t.push(n)}}function OB(n){var e=hn().memoizedState;return qG({ref:e,nextImpl:n}),function(){if(Ye&2)throw Error(H(440));return e.impl.apply(void 0,arguments)}}function LB(n,e){return z1(4,2,n,e)}function BB(n,e){return z1(4,4,n,e)}function jB(n,e){if(typeof e=="function"){n=n();var t=e(n);return function(){typeof t=="function"?t():e(null)}}if(e!=null)return n=n(),e.current=n,function(){e.current=null}}function FB(n,e,t){t=t!=null?t.concat([n]):null,z1(4,4,jB.bind(null,e,n),t)}function iP(){}function zB(n,e){var t=hn();e=e===void 0?null:e;var i=t.memoizedState;return e!==null&&WD(e,i[1])?i[0]:(t.memoizedState=[n,e],n)}function UB(n,e){var t=hn();e=e===void 0?null:e;var i=t.memoizedState;if(e!==null&&WD(e,i[1]))return i[0];if(i=n(),tf){pu(!0);try{n()}finally{pu(!1)}}return t.memoizedState=[i,e],i}function sP(n,e,t){return t===void 0||Nl&1073741824&&!(Oe&261930)?n.memoizedState=e:(n.memoizedState=t,n=D8(),Se.lanes|=n,zu|=n,t)}function VB(n,e,t,i){return Js(t,e)?t:yg.current!==null?(n=sP(n,t,i),Js(n,e)||(Sn=!0),n):!(Nl&42)||Nl&1073741824&&!(Oe&261930)?(Sn=!0,n.memoizedState=t):(n=D8(),Se.lanes|=n,zu|=n,e)}function XB(n,e,t,i,s){var r=We.p;We.p=r!==0&&8>r?r:8;var a=fe.T,o={};fe.T=o,aP(n,!1,e,t);try{var l=s(),c=fe.S;if(c!==null&&c(o,l),l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=VG(l,i);hy(n,e,u,Ys(n))}else hy(n,e,i,Ys(n))}catch(h){hy(n,e,{then:function(){},status:"rejected",reason:h},Ys())}finally{We.p=r,a!==null&&o.types!==null&&(a.types=o.types),fe.T=a}}function YG(){}function oI(n,e,t,i){if(n.tag!==5)throw Error(H(476));var s=HB(n).queue;XB(n,s,e,Uh,t===null?YG:function(){return GB(n),t(i)})}function HB(n){var e=n.memoizedState;if(e!==null)return e;e={memoizedState:Uh,baseState:Uh,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ml,lastRenderedState:Uh},next:null};var t={};return e.next={memoizedState:t,baseState:t,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ml,lastRenderedState:t},next:null},n.memoizedState=e,n=n.alternate,n!==null&&(n.memoizedState=e),e}function GB(n){var e=HB(n);e.next===null&&(e=n.alternate.memoizedState),hy(n,e.next.queue,{},Ys())}function rP(){return si(Uy)}function $B(){return hn().memoizedState}function qB(){return hn().memoizedState}function WG(n){for(var e=n.return;e!==null;){switch(e.tag){case 24:case 3:var t=Ys();n=Iu(t);var i=Cu(e,n,t);i!==null&&(ss(i,e,t),cy(i,e,t)),e={cache:HD()},n.payload=e;return}e=e.return}}function KG(n,e,t){var i=Ys();t={lane:i,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null},U1(n)?WB(e,t):(t=zD(n,e,t,i),t!==null&&(ss(t,n,i),KB(t,e,i)))}function YB(n,e,t){var i=Ys();hy(n,e,t,i)}function hy(n,e,t,i){var s={lane:i,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null};if(U1(n))WB(e,s);else{var r=n.alternate;if(n.lanes===0&&(r===null||r.lanes===0)&&(r=e.lastRenderedReducer,r!==null))try{var a=e.lastRenderedState,o=r(a,t);if(s.hasEagerState=!0,s.eagerState=o,Js(o,a))return L1(n,e,s,0),vt===null&&O1(),!1}catch{}finally{}if(t=zD(n,e,s,i),t!==null)return ss(t,n,i),KB(t,e,i),!0}return!1}function aP(n,e,t,i){if(i={lane:2,revertLane:mP(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},U1(n)){if(e)throw Error(H(479))}else e=zD(n,t,i,2),e!==null&&ss(e,n,2)}function U1(n){var e=n.alternate;return n===Se||e!==null&&e===Se}function WB(n,e){yp=YS=!0;var t=n.pending;t===null?e.next=e:(e.next=t.next,t.next=e),n.pending=e}function KB(n,e,t){if(t&4194048){var i=e.lanes;i&=n.pendingLanes,t|=i,e.lanes=t,O5(n,t)}}var jy={readContext:si,use:F1,useCallback:Yt,useContext:Yt,useEffect:Yt,useImperativeHandle:Yt,useLayoutEffect:Yt,useInsertionEffect:Yt,useMemo:Yt,useReducer:Yt,useRef:Yt,useState:Yt,useDebugValue:Yt,useDeferredValue:Yt,useTransition:Yt,useSyncExternalStore:Yt,useId:Yt,useHostTransitionStatus:Yt,useFormState:Yt,useActionState:Yt,useOptimistic:Yt,useMemoCache:Yt,useCacheRefresh:Yt};jy.useEffectEvent=Yt;var QB={readContext:si,use:F1,useCallback:function(n,e){return Di().memoizedState=[n,e===void 0?null:e],n},useContext:si,useEffect:mN,useImperativeHandle:function(n,e,t){t=t!=null?t.concat([n]):null,M_(4194308,4,jB.bind(null,e,n),t)},useLayoutEffect:function(n,e){return M_(4194308,4,n,e)},useInsertionEffect:function(n,e){M_(4,2,n,e)},useMemo:function(n,e){var t=Di();e=e===void 0?null:e;var i=n();if(tf){pu(!0);try{n()}finally{pu(!1)}}return t.memoizedState=[i,e],i},useReducer:function(n,e,t){var i=Di();if(t!==void 0){var s=t(e);if(tf){pu(!0);try{t(e)}finally{pu(!1)}}}else s=e;return i.memoizedState=i.baseState=s,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:s},i.queue=n,n=n.dispatch=KG.bind(null,Se,n),[i.memoizedState,n]},useRef:function(n){var e=Di();return n={current:n},e.memoizedState=n},useState:function(n){n=rI(n);var e=n.queue,t=YB.bind(null,Se,e);return e.dispatch=t,[n.memoizedState,t]},useDebugValue:iP,useDeferredValue:function(n,e){var t=Di();return sP(t,n,e)},useTransition:function(){var n=rI(!1);return n=XB.bind(null,Se,n.queue,!0,!1),Di().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,e,t){var i=Se,s=Di();if(Fe){if(t===void 0)throw Error(H(407));t=t()}else{if(t=e(),vt===null)throw Error(H(349));Oe&127||EB(i,e,t)}s.memoizedState=t;var r={value:t,getSnapshot:e};return s.queue=r,mN(IB.bind(null,i,r,n),[n]),i.flags|=2048,vg(9,{destroy:void 0},AB.bind(null,i,r,t,e),null),t},useId:function(){var n=Di(),e=vt.identifierPrefix;if(Fe){var t=io,i=no;t=(i&~(1<<32-qs(i)-1)).toString(32)+t,e="_"+e+"R_"+t,t=WS++,0<t&&(e+="H"+t.toString(32)),e+="_"}else t=XG++,e="_"+e+"r_"+t.toString(32)+"_";return n.memoizedState=e},useHostTransitionStatus:rP,useFormState:hN,useActionState:hN,useOptimistic:function(n){var e=Di();e.memoizedState=e.baseState=n;var t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=t,e=aP.bind(null,Se,!0,t),t.dispatch=e,[n,e]},useMemoCache:eP,useCacheRefresh:function(){return Di().memoizedState=WG.bind(null,Se)},useEffectEvent:function(n){var e=Di(),t={impl:n};return e.memoizedState=t,function(){if(Ye&2)throw Error(H(440));return t.impl.apply(void 0,arguments)}}},oP={readContext:si,use:F1,useCallback:zB,useContext:si,useEffect:nP,useImperativeHandle:FB,useInsertionEffect:LB,useLayoutEffect:BB,useMemo:UB,useReducer:N_,useRef:MB,useState:function(){return N_(Ml)},useDebugValue:iP,useDeferredValue:function(n,e){var t=hn();return VB(t,lt.memoizedState,n,e)},useTransition:function(){var n=N_(Ml)[0],e=hn().memoizedState;return[typeof n=="boolean"?n:lb(n),e]},useSyncExternalStore:wB,useId:$B,useHostTransitionStatus:rP,useFormState:fN,useActionState:fN,useOptimistic:function(n,e){var t=hn();return DB(t,lt,n,e)},useMemoCache:eP,useCacheRefresh:qB};oP.useEffectEvent=OB;var JB={readContext:si,use:F1,useCallback:zB,useContext:si,useEffect:nP,useImperativeHandle:FB,useInsertionEffect:LB,useLayoutEffect:BB,useMemo:UB,useReducer:Zw,useRef:MB,useState:function(){return Zw(Ml)},useDebugValue:iP,useDeferredValue:function(n,e){var t=hn();return lt===null?sP(t,n,e):VB(t,lt.memoizedState,n,e)},useTransition:function(){var n=Zw(Ml)[0],e=hn().memoizedState;return[typeof n=="boolean"?n:lb(n),e]},useSyncExternalStore:wB,useId:$B,useHostTransitionStatus:rP,useFormState:pN,useActionState:pN,useOptimistic:function(n,e){var t=hn();return lt!==null?DB(t,lt,n,e):(t.baseState=n,[n,t.queue.dispatch])},useMemoCache:eP,useCacheRefresh:qB};JB.useEffectEvent=OB;function eE(n,e,t,i){e=n.memoizedState,t=t(i,e),t=t==null?e:Dt({},e,t),n.memoizedState=t,n.lanes===0&&(n.updateQueue.baseState=t)}var lI={enqueueSetState:function(n,e,t){n=n._reactInternals;var i=Ys(),s=Iu(i);s.payload=e,t!=null&&(s.callback=t),e=Cu(n,s,i),e!==null&&(ss(e,n,i),cy(e,n,i))},enqueueReplaceState:function(n,e,t){n=n._reactInternals;var i=Ys(),s=Iu(i);s.tag=1,s.payload=e,t!=null&&(s.callback=t),e=Cu(n,s,i),e!==null&&(ss(e,n,i),cy(e,n,i))},enqueueForceUpdate:function(n,e){n=n._reactInternals;var t=Ys(),i=Iu(t);i.tag=2,e!=null&&(i.callback=e),e=Cu(n,i,t),e!==null&&(ss(e,n,t),cy(e,n,t))}};function gN(n,e,t,i,s,r,a){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(i,r,a):e.prototype&&e.prototype.isPureReactComponent?!Ny(t,i)||!Ny(s,r):!0}function yN(n,e,t,i){n=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(t,i),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(t,i),e.state!==n&&lI.enqueueReplaceState(e,e.state,null)}function nf(n,e){var t=e;if("ref"in e){t={};for(var i in e)i!=="ref"&&(t[i]=e[i])}if(n=n.defaultProps){t===e&&(t=Dt({},t));for(var s in n)t[s]===void 0&&(t[s]=n[s])}return t}function ZB(n){US(n)}function e8(n){console.error(n)}function t8(n){US(n)}function KS(n,e){try{var t=n.onUncaughtError;t(e.value,{componentStack:e.stack})}catch(i){setTimeout(function(){throw i})}}function vN(n,e,t){try{var i=n.onCaughtError;i(t.value,{componentStack:t.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function cI(n,e,t){return t=Iu(t),t.tag=3,t.payload={element:null},t.callback=function(){KS(n,e)},t}function n8(n){return n=Iu(n),n.tag=3,n}function i8(n,e,t,i){var s=t.type.getDerivedStateFromError;if(typeof s=="function"){var r=i.value;n.payload=function(){return s(r)},n.callback=function(){vN(e,t,i)}}var a=t.stateNode;a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){vN(e,t,i),typeof s!="function"&&(Tu===null?Tu=new Set([this]):Tu.add(this));var o=i.stack;this.componentDidCatch(i.value,{componentStack:o!==null?o:""})})}function QG(n,e,t,i,s){if(t.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(e=t.alternate,e!==null&&$g(e,t,s,!0),t=Zs.current,t!==null){switch(t.tag){case 31:case 13:return Nr===null?tx():t.alternate===null&&nn===0&&(nn=3),t.flags&=-257,t.flags|=65536,t.lanes=s,i===GS?t.flags|=16384:(e
vendor: 10,019 bytes, line 48
48=t.updateQueue,e===null?t.updateQueue=new Set([i]):e.add(i),dE(n,i,s)),!1;case 22:return t.flags|=65536,i===GS?t.flags|=16384:(e=t.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([i])},t.updateQueue=e):(t=e.retryQueue,t===null?e.retryQueue=new Set([i]):t.add(i)),dE(n,i,s)),!1}throw Error(H(435,t.tag))}return dE(n,i,s),tx(),!1}if(Fe)return e=Zs.current,e!==null?(!(e.flags&65536)&&(e.flags|=256),e.flags|=65536,e.lanes=s,i!==KA&&(n=Error(H(422),{cause:i}),Oy(Ir(n,t)))):(i!==KA&&(e=Error(H(423),{cause:i}),Oy(Ir(e,t))),n=n.current.alternate,n.flags|=65536,s&=-s,n.lanes|=s,i=Ir(i,t),s=cI(n.stateNode,i,s),Jw(n,s),nn!==4&&(nn=2)),!1;var r=Error(H(520),{cause:i});if(r=Ir(r,t),my===null?my=[r]:my.push(r),nn!==4&&(nn=2),e===null)return!0;i=Ir(i,t),t=e;do{switch(t.tag){case 3:return t.flags|=65536,n=s&-s,t.lanes|=n,n=cI(t.stateNode,i,n),Jw(t,n),!1;case 1:if(e=t.type,r=t.stateNode,(t.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(Tu===null||!Tu.has(r))))return t.flags|=65536,s&=-s,t.lanes|=s,s=n8(s),i8(s,n,t,i),Jw(t,s),!1}t=t.return}while(t!==null);return!1}var lP=Error(H(461)),Sn=!1;function Jn(n,e,t,i){e.child=n===null?yB(e,null,t,i):ef(e,n.child,t,i)}function bN(n,e,t,i,s){t=t.render;var r=e.ref;if("ref"in i){var a={};for(var o in i)o!=="ref"&&(a[o]=i[o])}else a=i;return Zh(e),i=KD(n,e,t,a,r,s),o=QD(),n!==null&&!Sn?(JD(n,e,s),Ol(n,e,s)):(Fe&&o&&VD(e),e.flags|=1,Jn(n,e,i,s),e.child)}function _N(n,e,t,i,s){if(n===null){var r=t.type;return typeof r=="function"&&!UD(r)&&r.defaultProps===void 0&&t.compare===null?(e.tag=15,e.type=r,s8(n,e,r,i,s)):(n=R_(t.type,null,i,e,e.mode,s),n.ref=e.ref,n.return=e,e.child=n)}if(r=n.child,!cP(n,s)){var a=r.memoizedProps;if(t=t.compare,t=t!==null?t:Ny,t(a,i)&&n.ref===e.ref)return Ol(n,e,s)}return e.flags|=1,n=Cl(r,i),n.ref=e.ref,n.return=e,e.child=n}function s8(n,e,t,i,s){if(n!==null){var r=n.memoizedProps;if(Ny(r,i)&&n.ref===e.ref)if(Sn=!1,e.pendingProps=i=r,cP(n,s))n.flags&131072&&(Sn=!0);else return e.lanes=n.lanes,Ol(n,e,s)}return uI(n,e,t,i,s)}function r8(n,e,t,i){var s=i.children,r=n!==null?n.memoizedState:null;if(n===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if(e.flags&128){if(r=r!==null?r.baseLanes|t:t,n!==null){for(i=e.child=n.child,s=0;i!==null;)s=s|i.lanes|i.childLanes,i=i.sibling;i=s&~r}else i=0,e.child=null;return SN(n,e,r,t,i)}if(t&536870912)e.memoizedState={baseLanes:0,cachePool:null},n!==null&&k_(e,r!==null?r.cachePool:null),r!==null?cN(e,r):iI(),_B(e);else return i=e.lanes=536870912,SN(n,e,r!==null?r.baseLanes|t:t,t,i)}else r!==null?(k_(e,r.cachePool),cN(e,r),fc(),e.memoizedState=null):(n!==null&&k_(e,null),iI(),fc());return Jn(n,e,s,t),e.child}function R0(n,e){return n!==null&&n.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function SN(n,e,t,i,s){var r=GD();return r=r===null?null:{parent:bn._currentValue,pool:r},e.memoizedState={baseLanes:t,cachePool:r},n!==null&&k_(e,null),iI(),_B(e),n!==null&&$g(n,e,i,!0),e.childLanes=s,null}function O_(n,e){return e=QS({mode:e.mode,children:e.children},n.mode),e.ref=n.ref,n.child=e,e.return=n,e}function xN(n,e,t){return ef(e,n.child,null,t),n=O_(e,e.pendingProps),n.flags|=2,js(e),e.memoizedState=null,n}function JG(n,e,t){var i=e.pendingProps,s=(e.flags&128)!==0;if(e.flags&=-129,n===null){if(Fe){if(i.mode==="hidden")return n=O_(e,i),e.lanes=536870912,R0(null,n);if(sI(e),(n=Ct)?(n=Q8(n,Cr),n=n!==null&&n.data==="&"?n:null,n!==null&&(e.memoizedState={dehydrated:n,treeContext:Bu!==null?{id:no,overflow:io}:null,retryLane:536870912,hydrationErrors:null},t=uB(n),t.return=e,e.child=t,ni=e,Ct=null)):n=null,n===null)throw ju(e);return e.lanes=536870912,null}return O_(e,i)}var r=n.memoizedState;if(r!==null){var a=r.dehydrated;if(sI(e),s)if(e.flags&256)e.flags&=-257,e=xN(n,e,t);else if(e.memoizedState!==null)e.child=n.child,e.flags|=128,e=null;else throw Error(H(558));else if(Sn||$g(n,e,t,!1),s=(t&n.childLanes)!==0,Sn||s){if(i=vt,i!==null&&(a=L5(i,t),a!==0&&a!==r.retryLane))throw r.retryLane=a,mf(n,a),ss(i,n,a),lP;tx(),e=xN(n,e,t)}else n=r.treeContext,Ct=Mr(a.nextSibling),ni=e,Fe=!0,Au=null,Cr=!1,n!==null&&hB(e,n),e=O_(e,i),e.flags|=4096;return e}return n=Cl(n.child,{mode:i.mode,children:i.children}),n.ref=e.ref,e.child=n,n.return=e,n}function L_(n,e){var t=e.ref;if(t===null)n!==null&&n.ref!==null&&(e.flags|=4194816);else{if(typeof t!="function"&&typeof t!="object")throw Error(H(284));(n===null||n.ref!==t)&&(e.flags|=4194816)}}function uI(n,e,t,i,s){return Zh(e),t=KD(n,e,t,i,void 0,s),i=QD(),n!==null&&!Sn?(JD(n,e,s),Ol(n,e,s)):(Fe&&i&&VD(e),e.flags|=1,Jn(n,e,t,s),e.child)}function wN(n,e,t,i,s,r){return Zh(e),e.updateQueue=null,t=xB(e,i,t,s),SB(n),i=QD(),n!==null&&!Sn?(JD(n,e,r),Ol(n,e,r)):(Fe&&i&&VD(e),e.flags|=1,Jn(n,e,t,r),e.child)}function EN(n,e,t,i,s){if(Zh(e),e.stateNode===null){var r=Kf,a=t.contextType;typeof a=="object"&&a!==null&&(r=si(a)),r=new t(i,r),e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=lI,e.stateNode=r,r._reactInternals=e,r=e.stateNode,r.props=i,r.state=e.memoizedState,r.refs={},qD(e),a=t.contextType,r.context=typeof a=="object"&&a!==null?si(a):Kf,r.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(eE(e,t,a,i),r.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(a=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),a!==r.state&&lI.enqueueReplaceState(r,r.state,null),dy(e,i,r,s),uy(),r.state=e.memoizedState),typeof r.componentDidMount=="function"&&(e.flags|=4194308),i=!0}else if(n===null){r=e.stateNode;var o=e.memoizedProps,l=nf(t,o);r.props=l;var c=r.context,u=t.contextType;a=Kf,typeof u=="object"&&u!==null&&(a=si(u));var h=t.getDerivedStateFromProps;u=typeof h=="function"||typeof r.getSnapshotBeforeUpdate=="function",o=e.pendingProps!==o,u||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(o||c!==a)&&yN(e,r,i,a),cc=!1;var f=e.memoizedState;r.state=f,dy(e,i,r,s),uy(),c=e.memoizedState,o||f!==c||cc?(typeof h=="function"&&(eE(e,t,h,i),c=e.memoizedState),(l=cc||gN(e,t,l,i,f,c,a))?(u||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(e.flags|=4194308)):(typeof r.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=i,e.memoizedState=c),r.props=i,r.state=c,r.context=a,i=l):(typeof r.componentDidMount=="function"&&(e.flags|=4194308),i=!1)}else{r=e.stateNode,tI(n,e),a=e.memoizedProps,u=nf(t,a),r.props=u,h=e.pendingProps,f=r.context,c=t.contextType,l=Kf,typeof c=="object"&&c!==null&&(l=si(c)),o=t.getDerivedStateFromProps,(c=typeof o=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(a!==h||f!==l)&&yN(e,r,i,l),cc=!1,f=e.memoizedState,r.state=f,dy(e,i,r,s),uy();var p=e.memoizedState;a!==h||f!==p||cc||n!==null&&n.dependencies!==null&&HS(n.dependencies)?(typeof o=="function"&&(eE(e,t,o,i),p=e.memoizedState),(u=cc||gN(e,t,u,i,f,p,l)||n!==null&&n.dependencies!==null&&HS(n.dependencies))?(c||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(i,p,l),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(i,p,l)),typeof r.componentDidUpdate=="function"&&(e.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof r.componentDidUpdate!="function"||a===n.memoizedProps&&f===n.memoizedState||(e.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||a===n.memoizedProps&&f===n.memoizedState||(e.flags|=1024),e.memoizedProps=i,e.memoizedState=p),r.props=i,r.state=p,r.context=l,i=u):(typeof r.componentDidUpdate!="function"||a===n.memoizedProps&&f===n.memoizedState||(e.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||a===n.memoizedProps&&f===n.memoizedState||(e.flags|=1024),i=!1)}return r=i,L_(n,e),i=(e.flags&128)!==0,r||i?(r=e.stateNode,t=i&&typeof t.getDerivedStateFromError!="function"?null:r.render(),e.flags|=1,n!==null&&i?(e.child=ef(e,n.child,null,s),e.child=ef(e,null,t,s)):Jn(n,e,t,s),e.memoizedState=r.state,n=e.child):n=Ol(n,e,s),n}function AN(n,e,t,i){return Jh(),e.flags|=256,Jn(n,e,t,i),e.child}var tE={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function nE(n){return{baseLanes:n,cachePool:pB()}}function iE(n,e,t){return n=n!==null?n.childLanes&~t:0,e&&(n|=Xs),n}function a8(n,e,t){var i=e.pendingProps,s=!1,r=(e.flags&128)!==0,a;if((a=r)||(a=n!==null&&n.memoizedState===null?!1:(dn.current&2)!==0),a&&(s=!0,e.flags&=-129),a=(e.flags&32)!==0,e.flags&=-33,n===null){if(Fe){if(s?hc(e):fc(),(n=Ct)?(n=Q8(n,Cr),n=n!==null&&n.data!=="&"?n:null,n!==null&&(e.memoizedState={dehydrated:n,treeContext:Bu!==null?{id:no,overflow:io}:null,retryLane:536870912,hydrationErrors:null},t=uB(n),t.return=e,e.child=t,ni=e,Ct=null)):n=null,n===null)throw ju(e);return EI(n)?e.lanes=32:e.lanes=536870912,null}var o=i.children;return i=i.fallback,s?(fc(),s=e.mode,o=QS({mode:"hidden",children:o},s),i=Vh(i,s,t,null),o.return=e,i.return=e,o.sibling=i,e.child=o,i=e.child,i.memoizedState=nE(t),i.childLanes=iE(n,a,t),e.memoizedState=tE,R0(null,i)):(hc(e),dI(e,o))}var l=n.memoizedState;if(l!==null&&(o=l.dehydrated,o!==null)){if(r)e.flags&256?(hc(e),e.flags&=-257,e=sE(n,e,t)):e.memoizedState!==null?(fc(),e.child=n.child,e.flags|=128,e=null):(fc(),o=i.fallback,s=e.mode,i=
vendor: 4,537 bytes, line 48
48QS({mode:"visible",children:i.children},s),o=Vh(o,s,t,null),o.flags|=2,i.return=e,o.return=e,i.sibling=o,e.child=i,ef(e,n.child,null,t),i=e.child,i.memoizedState=nE(t),i.childLanes=iE(n,a,t),e.memoizedState=tE,e=R0(null,i));else if(hc(e),EI(o)){if(a=o.nextSibling&&o.nextSibling.dataset,a)var c=a.dgst;a=c,i=Error(H(419)),i.stack="",i.digest=a,Oy({value:i,source:null,stack:null}),e=sE(n,e,t)}else if(Sn||$g(n,e,t,!1),a=(t&n.childLanes)!==0,Sn||a){if(a=vt,a!==null&&(i=L5(a,t),i!==0&&i!==l.retryLane))throw l.retryLane=i,mf(n,i),ss(a,n,i),lP;wI(o)||tx(),e=sE(n,e,t)}else wI(o)?(e.flags|=192,e.child=n.child,e=null):(n=l.treeContext,Ct=Mr(o.nextSibling),ni=e,Fe=!0,Au=null,Cr=!1,n!==null&&hB(e,n),e=dI(e,i.children),e.flags|=4096);return e}return s?(fc(),o=i.fallback,s=e.mode,l=n.child,c=l.sibling,i=Cl(l,{mode:"hidden",children:i.children}),i.subtreeFlags=l.subtreeFlags&65011712,c!==null?o=Cl(c,o):(o=Vh(o,s,t,null),o.flags|=2),o.return=e,i.return=e,i.sibling=o,e.child=i,R0(null,i),i=e.child,o=n.child.memoizedState,o===null?o=nE(t):(s=o.cachePool,s!==null?(l=bn._currentValue,s=s.parent!==l?{parent:l,pool:l}:s):s=pB(),o={baseLanes:o.baseLanes|t,cachePool:s}),i.memoizedState=o,i.childLanes=iE(n,a,t),e.memoizedState=tE,R0(n.child,i)):(hc(e),t=n.child,n=t.sibling,t=Cl(t,{mode:"visible",children:i.children}),t.return=e,t.sibling=null,n!==null&&(a=e.deletions,a===null?(e.deletions=[n],e.flags|=16):a.push(n)),e.child=t,e.memoizedState=null,t)}function dI(n,e){return e=QS({mode:"visible",children:e},n.mode),e.return=n,n.child=e}function QS(n,e){return n=Us(22,n,null,e),n.lanes=0,n}function sE(n,e,t){return ef(e,n.child,null,t),n=dI(e,e.pendingProps.children),n.flags|=2,e.memoizedState=null,n}function IN(n,e,t){n.lanes|=e;var i=n.alternate;i!==null&&(i.lanes|=e),JA(n.return,e,t)}function rE(n,e,t,i,s,r){var a=n.memoizedState;a===null?n.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:i,tail:t,tailMode:s,treeForkCount:r}:(a.isBackwards=e,a.rendering=null,a.renderingStartTime=0,a.last=i,a.tail=t,a.tailMode=s,a.treeForkCount=r)}function o8(n,e,t){var i=e.pendingProps,s=i.revealOrder,r=i.tail;i=i.children;var a=dn.current,o=(a&2)!==0;if(o?(a=a&1|2,e.flags|=128):a&=1,wt(dn,a),Jn(n,e,i,t),i=Fe?My:0,!o&&n!==null&&n.flags&128)e:for(n=e.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&IN(n,t,e);else if(n.tag===19)IN(n,t,e);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break e;for(;n.sibling===null;){if(n.return===null||n.return===e)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(s){case"forwards":for(t=e.child,s=null;t!==null;)n=t.alternate,n!==null&&qS(n)===null&&(s=t),t=t.sibling;t=s,t===null?(s=e.child,e.child=null):(s=t.sibling,t.sibling=null),rE(e,!1,s,t,r,i);break;case"backwards":case"unstable_legacy-backwards":for(t=null,s=e.child,e.child=null;s!==null;){if(n=s.alternate,n!==null&&qS(n)===null){e.child=s;break}n=s.sibling,s.sibling=t,t=s,s=n}rE(e,!0,t,null,r,i);break;case"together":rE(e,!1,null,null,void 0,i);break;default:e.memoizedState=null}return e.child}function Ol(n,e,t){if(n!==null&&(e.dependencies=n.dependencies),zu|=e.lanes,!(t&e.childLanes))if(n!==null){if($g(n,e,t,!1),(t&e.childLanes)===0)return null}else return null;if(n!==null&&e.child!==n.child)throw Error(H(153));if(e.child!==null){for(n=e.child,t=Cl(n,n.pendingProps),e.child=t,t.return=e;n.sibling!==null;)n=n.sibling,t=t.sibling=Cl(n,n.pendingProps),t.return=e;t.sibling=null}return e.child}function cP(n,e){return n.lanes&e?!0:(n=n.dependencies,!!(n!==null&&HS(n)))}function ZG(n,e,t){switch(e.tag){case 3:BS(e,e.stateNode.containerInfo),dc(e,bn,n.memoizedState.cache),Jh();break;case 27:case 5:FA(e);break;case 4:BS(e,e.stateNode.containerInfo);break;case 10:dc(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,sI(e),null;break;case 13:var i=e.memoizedState;if(i!==null)return i.dehydrated!==null?(hc(e),e.flags|=128,null):t&e.child.childLanes?a8(n,e,t):(hc(e),n=Ol(n,e,t),n!==null?n.sibling:null);hc(e);break;case 19:var s=(n.flags&128)!==0;if(i=(t&e.childLanes)!==0,i||($g(n,e,t,!1),i=(t&e.childLanes)!==0),s){if(i)return o8(n,e,t);e.flags|=128}if(s=e.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),wt(dn,dn.current),i)break;return null;case 22:return e.lanes=0,r8(n,e,t,e.pendingProps);case 24:dc(e,bn,n.memoizedState.cache)}return Ol(n,e,t)}function l8(n,e,t){if(n!==null)if(n.memoizedProps!==e.pendingProps)Sn=!0;else{if(!cP(n,t)&&!(e.flags&128))return Sn=!1,ZG(n,e,t);Sn=!!(n.flags&131072)}
vendor: 11,984 bytes, line 48
48else Sn=!1,Fe&&e.flags&1048576&&dB(e,My,e.index);switch(e.lanes=0,e.tag){case 16:e:{var i=e.pendingProps;if(n=ud(e.elementType),e.type=n,typeof n=="function")UD(n)?(i=nf(n,i),e.tag=1,e=EN(null,e,n,i,t)):(e.tag=0,e=uI(null,e,n,i,t));else{if(n!=null){var s=n.$$typeof;if(s===CD){e.tag=11,e=bN(null,e,n,i,t);break e}else if(s===TD){e.tag=14,e=_N(null,e,n,i,t);break e}}throw e=BA(n)||n,Error(H(306,e,""))}}return e;case 0:return uI(n,e,e.type,e.pendingProps,t);case 1:return i=e.type,s=nf(i,e.pendingProps),EN(n,e,i,s,t);case 3:e:{if(BS(e,e.stateNode.containerInfo),n===null)throw Error(H(387));i=e.pendingProps;var r=e.memoizedState;s=r.element,tI(n,e),dy(e,i,null,t);var a=e.memoizedState;if(i=a.cache,dc(e,bn,i),i!==r.cache&&ZA(e,[bn],t,!0),uy(),i=a.element,r.isDehydrated)if(r={element:i,isDehydrated:!1,cache:a.cache},e.updateQueue.baseState=r,e.memoizedState=r,e.flags&256){e=AN(n,e,i,t);break e}else if(i!==s){s=Ir(Error(H(424)),e),Oy(s),e=AN(n,e,i,t);break e}else{switch(n=e.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(Ct=Mr(n.firstChild),ni=e,Fe=!0,Au=null,Cr=!0,t=yB(e,null,i,t),e.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling}else{if(Jh(),i===s){e=Ol(n,e,t);break e}Jn(n,e,i,t)}e=e.child}return e;case 26:return L_(n,e),n===null?(t=$N(e.type,null,e.pendingProps,null))?e.memoizedState=t:Fe||(t=e.type,n=e.pendingProps,i=rx(Eu.current).createElement(t),i[ti]=e,i[cs]=n,ri(i,t,n),zn(i),e.stateNode=i):e.memoizedState=$N(e.type,n.memoizedProps,e.pendingProps,n.memoizedState),null;case 27:return FA(e),n===null&&Fe&&(i=e.stateNode=J8(e.type,e.pendingProps,Eu.current),ni=e,Cr=!0,s=Ct,Ju(e.type)?(AI=s,Ct=Mr(i.firstChild)):Ct=s),Jn(n,e,e.pendingProps.children,t),L_(n,e),n===null&&(e.flags|=4194304),e.child;case 5:return n===null&&Fe&&((s=i=Ct)&&(i=D$(i,e.type,e.pendingProps,Cr),i!==null?(e.stateNode=i,ni=e,Ct=Mr(i.firstChild),Cr=!1,s=!0):s=!1),s||ju(e)),FA(e),s=e.type,r=e.pendingProps,a=n!==null?n.memoizedProps:null,i=r.children,SI(s,r)?i=null:a!==null&&SI(s,a)&&(e.flags|=32),e.memoizedState!==null&&(s=KD(n,e,HG,null,null,t),Uy._currentValue=s),L_(n,e),Jn(n,e,i,t),e.child;case 6:return n===null&&Fe&&((n=t=Ct)&&(t=P$(t,e.pendingProps,Cr),t!==null?(e.stateNode=t,ni=e,Ct=null,n=!0):n=!1),n||ju(e)),null;case 13:return a8(n,e,t);case 4:return BS(e,e.stateNode.containerInfo),i=e.pendingProps,n===null?e.child=ef(e,null,i,t):Jn(n,e,i,t),e.child;case 11:return bN(n,e,e.type,e.pendingProps,t);case 7:return Jn(n,e,e.pendingProps,t),e.child;case 8:return Jn(n,e,e.pendingProps.children,t),e.child;case 12:return Jn(n,e,e.pendingProps.children,t),e.child;case 10:return i=e.pendingProps,dc(e,e.type,i.value),Jn(n,e,i.children,t),e.child;case 9:return s=e.type._context,i=e.pendingProps.children,Zh(e),s=si(s),i=i(s),e.flags|=1,Jn(n,e,i,t),e.child;case 14:return _N(n,e,e.type,e.pendingProps,t);case 15:return s8(n,e,e.type,e.pendingProps,t);case 19:return o8(n,e,t);case 31:return JG(n,e,t);case 22:return r8(n,e,t,e.pendingProps);case 24:return Zh(e),i=si(bn),n===null?(s=GD(),s===null&&(s=vt,r=HD(),s.pooledCache=r,r.refCount++,r!==null&&(s.pooledCacheLanes|=t),s=r),e.memoizedState={parent:i,cache:s},qD(e),dc(e,bn,s)):(n.lanes&t&&(tI(n,e),dy(e,null,null,t),uy()),s=n.memoizedState,r=e.memoizedState,s.parent!==i?(s={parent:i,cache:i},e.memoizedState=s,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=s),dc(e,bn,i)):(i=r.cache,dc(e,bn,i),i!==s.cache&&ZA(e,[bn],t,!0))),Jn(n,e,e.pendingProps.children,t),e.child;case 29:throw e.pendingProps}throw Error(H(156,e.tag))}function Io(n){n.flags|=4}function aE(n,e,t,i,s){if((e=(n.mode&32)!==0)&&(e=!1),e){if(n.flags|=16777216,(s&335544128)===s)if(n.stateNode.complete)n.flags|=8192;else if(k8())n.flags|=8192;else throw Hh=GS,$D}else n.flags&=-16777217}function CN(n,e){if(e.type!=="stylesheet"||e.state.loading&4)n.flags&=-16777217;else if(n.flags|=16777216,!tj(e))if(k8())n.flags|=8192;else throw Hh=GS,$D}function $b(n,e){e!==null&&(n.flags|=4),n.flags&16384&&(e=n.tag!==22?N5():536870912,n.lanes|=e,bg|=e)}function g0(n,e){if(!Fe)switch(n.tailMode){case"hidden":e=n.tail;for(var t=null;e!==null;)e.alternate!==null&&(t=e),e=e.sibling;t===null?n.tail=null:t.sibling=null;break;case"collapsed":t=n.tail;for(var i=null;t!==null;)t.alternate!==null&&(i=t),t=t.sibling;i===null?e||n.tail===null?n.tail=null:n.tail.sibling=null:i.sibling=null}}function Et(n){var e=n.alternate!==null&&n.alternate.child===n.child,t=0,i=0;if(e)for(var s=n.child;s!==null;)t|=s.lanes|s.childLanes,i|=s.subtreeFlags&65011712,i|=s.flags&65011712,s.return=n,s=s.sibling;else for(s=n.child;s!==null;)t|=s.lanes|s.childLanes,i|=s.subtreeFlags,i|=s.flags,s.return=n,s=s.sibling;return n.subtreeFlags|=i,n.childLanes=t,e}function e$(n,e,t){var i=e.pendingProps;switch(XD(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Et(e),null;case 1:return Et(e),null;case 3:return t=e.stateNode,i=null,n!==null&&(i=n.memoizedState.cache),e.memoizedState.cache!==i&&(e.flags|=2048),Tl(bn),fg(),t.pendingContext&&(t.context=t.pendingContext,t.pendingContext=null),(n===null||n.child===null)&&(wf(e)?Io(e):n===null||n.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,Qw())),Et(e),null;case 26:var s=e.type,r=e.memoizedState;return n===null?(Io(e),r!==null?(Et(e),CN(e,r)):(Et(e),aE(e,s,null,i,t))):r?r!==n.memoizedState?(Io(e),Et(e),CN(e,r)):(Et(e),e.flags&=-16777217):(n=n.memoizedProps,n!==i&&Io(e),Et(e),aE(e,s,n,i,t)),null;case 27:if(jS(e),t=Eu.current,s=e.type,n!==null&&e.stateNode!=null)n.memoizedProps!==i&&Io(e);else{if(!i){if(e.stateNode===null)throw Error(H(166));return Et(e),null}n=lo.current,wf(e)?nN(e):(n=J8(s,i,t),e.stateNode=n,Io(e))}return Et(e),null;case 5:if(jS(e),s=e.type,n!==null&&e.stateNode!=null)n.memoizedProps!==i&&Io(e);else{if(!i){if(e.stateNode===null)throw Error(H(166));return Et(e),null}if(r=lo.current,wf(e))nN(e);else{var a=rx(Eu.current);switch(r){case 1:r=a.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:r=a.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":r=a.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":r=a.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":r=a.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof i.is=="string"?a.createElement("select",{is:i.is}):a.createElement("select"),i.multiple?r.multiple=!0:i.size&&(r.size=i.size);break;default:r=typeof i.is=="string"?a.createElement(s,{is:i.is}):a.createElement(s)}}r[ti]=e,r[cs]=i;e:for(a=e.child;a!==null;){if(a.tag===5||a.tag===6)r.appendChild(a.stateNode);else if(a.tag!==4&&a.tag!==27&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break e;for(;a.sibling===null;){if(a.return===null||a.return===e)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}e.stateNode=r;e:switch(ri(r,s,i),s){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&Io(e)}}return Et(e),aE(e,e.type,n===null?null:n.memoizedProps,e.pendingProps,t),null;case 6:if(n&&e.stateNode!=null)n.memoizedProps!==i&&Io(e);else{if(typeof i!="string"&&e.stateNode===null)throw Error(H(166));if(n=Eu.current,wf(e)){if(n=e.stateNode,t=e.memoizedProps,i=null,s=ni,s!==null)switch(s.tag){case 27:case 5:i=s.memoizedProps}n[ti]=e,n=!!(n.nodeValue===t||i!==null&&i.suppressHydrationWarning===!0||Y8(n.nodeValue,t)),n||ju(e,!0)}else n=rx(n).createTextNode(i),n[ti]=e,e.stateNode=n}return Et(e),null;case 31:if(t=e.memoizedState,n===null||n.memoizedState!==null){if(i=wf(e),t!==null){if(n===null){if(!i)throw Error(H(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(H(557));n[ti]=e}else Jh(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;Et(e),n=!1}else t=Qw(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=t),n=!0;if(!n)return e.flags&256?(js(e),e):(js(e),null);if(e.flags&128)throw Error(H(558))}return Et(e),null;case 13:if(i=e.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(s=wf(e),i!==null&&i.dehydrated!==null){if(n===null){if(!s)throw Error(H(318));if(s=e.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(H(317));s[ti]=e}else Jh(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;Et(e),s=!1}else s=Qw(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=s),s=!0;if(!s)return e.flags&256?(js(e),e):(js(e),null)}return js(e),e.flags&128?(e.lanes=t,e):(t=i!==null,n=n!==null&&n.memoizedState!==null,t&&(i=e.child,s=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(s=i.alternate.memoizedState.cachePool.pool),r=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(r=i.memoizedState.cachePool.pool),r!==s&&(i.flags|=2048)),t!==n&&t&&(e.child.flags|=8192),$b(e,e.updateQueue),Et(e),null);case 4:return fg(),n===null&&gP(e.stateNode.containerInfo),Et(e),null;case 10:return Tl(e.type),Et(e),null;case 19:if(Un(dn),i=e.memoizedState,i===null)return Et(e),null;if(s=(e.flags&128)!==0,r=i.rendering,r===null)if(s)g0(i,!1);else{if(nn!==0||n!==null&&n.flags&128)for(n=e.child;n!==null;){if(r=qS(n),r!==null){for(e.flags|=128,g0(i,!1),n=r.updateQueue,e.updateQueue=n,$b(e,n),e.subtreeFlags=0,n=t,t=e.child;t!==null;)cB(t,n),t=t.sibling;return wt(dn,dn.current&1|2),Fe&&zo(e,i.treeForkCount),e.child}n=n.sibling}i.tail!==null&&Gs()>ZS&&(e.flags|=128,s=!0,g0(i,!1),e.lanes=4194304)}else{if(!s)if(n=qS(r),n!==null){if(e.flags|=128,s=!0,n=n.updateQueue,e.updateQueue=n,$b(e,n),g0(i,!0),i.tail===null&&i.tailMode==="hidden"&&!r.alternate&&!Fe)return Et(e),null}else 2*Gs()-i.renderingStartTime>ZS&&t!==536870912&&(e.flags|=128,s=!0,g0(i,!1),e.lanes=4194304);i.isBackwards?(r.sibling=e.child,e.child=r):(n=i.last,n!==null?n.sibling=r:e.child=r,i.last=r)}return i.tail!==null?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.renderingStartTime=Gs(),n.sibling=null,t=dn.current,wt(dn,s?t&1|2:t&1),Fe&&zo(e,i.treeForkCount),n):(Et(e),null);case 22:case 23:return js(e),YD(),i=e.memoizedState!==null,n!==null?n.memoizedState!==null!==i&&(e.flags|=8192):i&&(e.flags|=8192),i?t&536870912&&!(e.flags&128)&&(Et(e),e.subtreeFlags&6&&(e.flags|=8192)):Et(e),t=e.updateQueue,t!==null&&$b(e,t.retryQueue),t=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(t=n.memoizedState.cachePool.pool),i=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),i!==t&&(e.flags|=2048),n!==null&&Un(Xh),null;case 24:return t=null,n!==null&&(t=n.memoizedState.cache),e.memoizedState.cache!==t&&(e.flags|=2048),Tl(bn),Et(e),null;case 25:return null;case 30:return null}throw Error(H(156,e.tag))}function t$(n,e){switch(XD(e),e.tag){case 1:return n=e.flags,n&65536?(e.flags=n&-65537|128,e):null;case 3:return Tl(bn),fg(),n=e.flags,n&65536&&!(n&128)?(e.flags=n&-65537|128,e):null;case 26:case 27:case 5:return jS(e),null;case 31:if(e.memoizedState!==null){if(js(e),e.alternate===null)throw Error(H(340));Jh()}return n=e.flags,n&65536?(e.flags=n&-65537|128,e):null;case 13:if(js(e),n=e.memoizedState,n!==null&&n.dehydrated!==null){if(e.alternate===null)throw Error(H(340));Jh()}return n=e.flags,n&65536?(e.flags=n&-65537|128,e):null;case 19:return Un(dn),null;case 4:return fg(),null;case 10:return Tl(e.type),null;case 22:case 23:return js(e),YD(),n!==null&&Un(Xh),n=e.flags,n&65536?(e.flags=n&-65537|128,e):null;case 24:return Tl(bn),null;case 25:return null;default:return null}}function c8(n,e){switch(XD(e),e.tag){case 3:Tl(bn),fg();break;case 26:case 27:case 5:jS(e);break;case 4:fg();break;case 31:e.memoizedState!==null&&js(e);break;case 13:js(e);break;case 19:Un(dn);break;case 10:Tl(e.type);break;case 22:case 23:js(e),YD(),n!==null&&Un(Xh);break;case 24:Tl(bn)}}function cb(n,e){try{var t=e.updateQueue,i=t!==null?t.lastEffect:null;if(i!==null){var s=i.next;t=s;do{if((t.tag&n)===n){i=void 0;var r=t.create,a=t.inst;i=r(),a.destroy=i}t=t.next}
vendor: 21,369 bytes, line 48
48while(t!==s)}}catch(o){tt(e,e.return,o)}}function Fu(n,e,t){try{var i=e.updateQueue,s=i!==null?i.lastEffect:null;if(s!==null){var r=s.next;i=r;do{if((i.tag&n)===n){var a=i.inst,o=a.destroy;if(o!==void 0){a.destroy=void 0,s=e;var l=t,c=o;try{c()}catch(u){tt(s,l,u)}}}i=i.next}while(i!==r)}}catch(u){tt(e,e.return,u)}}function u8(n){var e=n.updateQueue;if(e!==null){var t=n.stateNode;try{bB(e,t)}catch(i){tt(n,n.return,i)}}}function d8(n,e,t){t.props=nf(n.type,n.memoizedProps),t.state=n.memoizedState;try{t.componentWillUnmount()}catch(i){tt(n,e,i)}}function fy(n,e){try{var t=n.ref;if(t!==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 t=="function"?n.refCleanup=t(i):t.current=i}}catch(s){tt(n,e,s)}}function so(n,e){var t=n.ref,i=n.refCleanup;if(t!==null)if(typeof i=="function")try{i()}catch(s){tt(n,e,s)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof t=="function")try{t(null)}catch(s){tt(n,e,s)}else t.current=null}function h8(n){var e=n.type,t=n.memoizedProps,i=n.stateNode;try{e:switch(e){case"button":case"input":case"select":case"textarea":t.autoFocus&&i.focus();break e;case"img":t.src?i.src=t.src:t.srcSet&&(i.srcset=t.srcSet)}}catch(s){tt(n,n.return,s)}}function oE(n,e,t){try{var i=n.stateNode;w$(i,n.type,t,e),i[cs]=e}catch(s){tt(n,n.return,s)}}function f8(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Ju(n.type)||n.tag===4}function lE(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||f8(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&&Ju(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function hI(n,e,t){var i=n.tag;if(i===5||i===6)n=n.stateNode,e?(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).insertBefore(n,e):(e=t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,e.appendChild(n),t=t._reactRootContainer,t!=null||e.onclick!==null||(e.onclick=Al));else if(i!==4&&(i===27&&Ju(n.type)&&(t=n.stateNode,e=null),n=n.child,n!==null))for(hI(n,e,t),n=n.sibling;n!==null;)hI(n,e,t),n=n.sibling}function JS(n,e,t){var i=n.tag;if(i===5||i===6)n=n.stateNode,e?t.insertBefore(n,e):t.appendChild(n);else if(i!==4&&(i===27&&Ju(n.type)&&(t=n.stateNode),n=n.child,n!==null))for(JS(n,e,t),n=n.sibling;n!==null;)JS(n,e,t),n=n.sibling}function p8(n){var e=n.stateNode,t=n.memoizedProps;try{for(var i=n.type,s=e.attributes;s.length;)e.removeAttributeNode(s[0]);ri(e,i,t),e[ti]=n,e[cs]=t}catch(r){tt(n,n.return,r)}}var wl=!1,yn=!1,cE=!1,TN=typeof WeakSet=="function"?WeakSet:Set,Fn=null;function n$(n,e){if(n=n.containerInfo,bI=cx,n=tB(n),jD(n)){if("selectionStart"in n)var t={start:n.selectionStart,end:n.selectionEnd};else e:{t=(t=n.ownerDocument)&&t.defaultView||window;var i=t.getSelection&&t.getSelection();if(i&&i.rangeCount!==0){t=i.anchorNode;var s=i.anchorOffset,r=i.focusNode;i=i.focusOffset;try{t.nodeType,r.nodeType}catch{t=null;break e}var a=0,o=-1,l=-1,c=0,u=0,h=n,f=null;t:for(;;){for(var p;h!==t||s!==0&&h.nodeType!==3||(o=a+s),h!==r||i!==0&&h.nodeType!==3||(l=a+i),h.nodeType===3&&(a+=h.nodeValue.length),(p=h.firstChild)!==null;)f=h,h=p;for(;;){if(h===n)break t;if(f===t&&++c===s&&(o=a),f===r&&++u===i&&(l=a),(p=h.nextSibling)!==null)break;h=f,f=h.parentNode}h=p}t=o===-1||l===-1?null:{start:o,end:l}}else t=null}t=t||{start:0,end:0}}else t=null;for(_I={focusedElem:n,selectionRange:t},cx=!1,Fn=e;Fn!==null;)if(e=Fn,n=e.child,(e.subtreeFlags&1028)!==0&&n!==null)n.return=e,Fn=n;else for(;Fn!==null;){switch(e=Fn,r=e.alternate,n=e.flags,e.tag){case 0:if(n&4&&(n=e.updateQueue,n=n!==null?n.events:null,n!==null))for(t=0;t<n.length;t++)s=n[t],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if(n&1024&&r!==null){n=void 0,t=e,s=r.memoizedProps,r=r.memoizedState,i=t.stateNode;try{var b=nf(t.type,s);n=i.getSnapshotBeforeUpdate(b,r),i.__reactInternalSnapshotBeforeUpdate=n}catch(g){tt(t,t.return,g)}}break;case 3:if(n&1024){if(n=e.stateNode.containerInfo,t=n.nodeType,t===9)xI(n);else if(t===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":xI(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(n&1024)throw Error(H(163))}if(n=e.sibling,n!==null){n.return=e.return,Fn=n;break}Fn=e.return}}function m8(n,e,t){var i=t.flags;switch(t.tag){case 0:case 11:case 15:To(n,t),i&4&&cb(5,t);break;case 1:if(To(n,t),i&4)if(n=t.stateNode,e===null)try{n.componentDidMount()}catch(a){tt(t,t.return,a)}else{var s=nf(t.type,e.memoizedProps);e=e.memoizedState;try{n.componentDidUpdate(s,e,n.__reactInternalSnapshotBeforeUpdate)}catch(a){tt(t,t.return,a)}}i&64&&u8(t),i&512&&fy(t,t.return);break;case 3:if(To(n,t),i&64&&(n=t.updateQueue,n!==null)){if(e=null,t.child!==null)switch(t.child.tag){case 27:case 5:e=t.child.stateNode;break;case 1:e=t.child.stateNode}try{bB(n,e)}catch(a){tt(t,t.return,a)}}break;case 27:e===null&&i&4&&p8(t);case 26:case 5:To(n,t),e===null&&i&4&&h8(t),i&512&&fy(t,t.return);break;case 12:To(n,t);break;case 31:To(n,t),i&4&&v8(n,t);break;case 13:To(n,t),i&4&&b8(n,t),i&64&&(n=t.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(t=d$.bind(null,t),R$(n,t))));break;case 22:if(i=t.memoizedState!==null||wl,!i){e=e!==null&&e.memoizedState!==null||yn,s=wl;var r=yn;wl=i,(yn=e)&&!r?Ro(n,t,(t.subtreeFlags&8772)!==0):To(n,t),wl=s,yn=r}break;case 30:break;default:To(n,t)}}function g8(n){var e=n.alternate;e!==null&&(n.alternate=null,g8(e)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(e=n.stateNode,e!==null&&kD(e)),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 Mt=null,Zi=!1;function Co(n,e,t){for(t=t.child;t!==null;)y8(n,e,t),t=t.sibling}function y8(n,e,t){if($s&&typeof $s.onCommitFiberUnmount=="function")try{$s.onCommitFiberUnmount(nb,t)}catch{}switch(t.tag){case 26:yn||so(t,e),Co(n,e,t),t.memoizedState?t.memoizedState.count--:t.stateNode&&(t=t.stateNode,t.parentNode.removeChild(t));break;case 27:yn||so(t,e);var i=Mt,s=Zi;Ju(t.type)&&(Mt=t.stateNode,Zi=!1),Co(n,e,t),yy(t.stateNode),Mt=i,Zi=s;break;case 5:yn||so(t,e);case 6:if(i=Mt,s=Zi,Mt=null,Co(n,e,t),Mt=i,Zi=s,Mt!==null)if(Zi)try{(Mt.nodeType===9?Mt.body:Mt.nodeName==="HTML"?Mt.ownerDocument.body:Mt).removeChild(t.stateNode)}catch(r){tt(t,e,r)}else try{Mt.removeChild(t.stateNode)}catch(r){tt(t,e,r)}break;case 18:Mt!==null&&(Zi?(n=Mt,UN(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.stateNode),wg(n)):UN(Mt,t.stateNode));break;case 4:i=Mt,s=Zi,Mt=t.stateNode.containerInfo,Zi=!0,Co(n,e,t),Mt=i,Zi=s;break;case 0:case 11:case 14:case 15:Fu(2,t,e),yn||Fu(4,t,e),Co(n,e,t);break;case 1:yn||(so(t,e),i=t.stateNode,typeof i.componentWillUnmount=="function"&&d8(t,e,i)),Co(n,e,t);break;case 21:Co(n,e,t);break;case 22:yn=(i=yn)||t.memoizedState!==null,Co(n,e,t),yn=i;break;default:Co(n,e,t)}}function v8(n,e){if(e.memoizedState===null&&(n=e.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{wg(n)}catch(t){tt(e,e.return,t)}}}function b8(n,e){if(e.memoizedState===null&&(n=e.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{wg(n)}catch(t){tt(e,e.return,t)}}function i$(n){switch(n.tag){case 31:case 13:case 19:var e=n.stateNode;return e===null&&(e=n.stateNode=new TN),e;case 22:return n=n.stateNode,e=n._retryCache,e===null&&(e=n._retryCache=new TN),e;default:throw Error(H(435,n.tag))}}function qb(n,e){var t=i$(n);e.forEach(function(i){if(!t.has(i)){t.add(i);var s=h$.bind(null,n,i);i.then(s,s)}})}function Fi(n,e){var t=e.deletions;if(t!==null)for(var i=0;i<t.length;i++){var s=t[i],r=n,a=e,o=a;e:for(;o!==null;){switch(o.tag){case 27:if(Ju(o.type)){Mt=o.stateNode,Zi=!1;break e}break;case 5:Mt=o.stateNode,Zi=!1;break e;case 3:case 4:Mt=o.stateNode.containerInfo,Zi=!0;break e}o=o.return}if(Mt===null)throw Error(H(160));y8(r,a,s),Mt=null,Zi=!1,r=s.alternate,r!==null&&(r.return=null),s.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)_8(e,n),e=e.sibling}var ca=null;function _8(n,e){var t=n.alternate,i=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Fi(e,n),zi(n),i&4&&(Fu(3,n,n.return),cb(3,n),Fu(5,n,n.return));break;case 1:Fi(e,n),zi(n),i&512&&(yn||t===null||so(t,t.return)),i&64&&wl&&(n=n.updateQueue,n!==null&&(i=n.callbacks,i!==null&&(t=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=t===null?i:t.concat(i))));break;case 26:var s=ca;if(Fi(e,n),zi(n),i&512&&(yn||t===null||so(t,t.return)),i&4){var r=t!==null?t.memoizedState:null;if(i=n.memoizedState,t===null)if(i===null)if(n.stateNode===null){e:{i=n.type,t=n.memoizedProps,s=s.ownerDocument||s;t:switch(i){case"title":r=s.getElementsByTagName("title")[0],(!r||r[rb]||r[ti]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=s.createElement(i),s.head.insertBefore(r,s.querySelector("head > title"))),ri(r,i,t),r[ti]=n,zn(r),i=r;break e;case"link":var a=YN("link","href",s).get(i+(t.href||""));if(a){for(var o=0;o<a.length;o++)if(r=a[o],r.getAttribute("href")===(t.href==null||t.href===""?null:t.href)&&r.getAttribute("rel")===(t.rel==null?null:t.rel)&&r.getAttribute("title")===(t.title==null?null:t.title)&&r.getAttribute("crossorigin")===(t.crossOrigin==null?null:t.crossOrigin)){a.splice(o,1);break t}}r=s.createElement(i),ri(r,i,t),s.head.appendChild(r);break;case"meta":if(a=YN("meta","content",s).get(i+(t.content||""))){for(o=0;o<a.length;o++)if(r=a[o],r.getAttribute("content")===(t.content==null?null:""+t.content)&&r.getAttribute("name")===(t.name==null?null:t.name)&&r.getAttribute("property")===(t.property==null?null:t.property)&&r.getAttribute("http-equiv")===(t.httpEquiv==null?null:t.httpEquiv)&&r.getAttribute("charset")===(t.charSet==null?null:t.charSet)){a.splice(o,1);break t}}r=s.createElement(i),ri(r,i,t),s.head.appendChild(r);break;default:throw Error(H(468,i))}r[ti]=n,zn(r),i=r}n.stateNode=i}else WN(s,n.type,n.stateNode);else n.stateNode=qN(s,i,n.memoizedProps);else r!==i?(r===null?t.stateNode!==null&&(t=t.stateNode,t.parentNode.removeChild(t)):r.count--,i===null?WN(s,n.type,n.stateNode):qN(s,i,n.memoizedProps)):i===null&&n.stateNode!==null&&oE(n,n.memoizedProps,t.memoizedProps)}break;case 27:Fi(e,n),zi(n),i&512&&(yn||t===null||so(t,t.return)),t!==null&&i&4&&oE(n,n.memoizedProps,t.memoizedProps);break;case 5:if(Fi(e,n),zi(n),i&512&&(yn||t===null||so(t,t.return)),n.flags&32){s=n.stateNode;try{mg(s,"")}catch(b){tt(n,n.return,b)}}i&4&&n.stateNode!=null&&(s=n.memoizedProps,oE(n,s,t!==null?t.memoizedProps:s)),i&1024&&(cE=!0);break;case 6:if(Fi(e,n),zi(n),i&4){if(n.stateNode===null)throw Error(H(162));i=n.memoizedProps,t=n.stateNode;try{t.nodeValue=i}catch(b){tt(n,n.return,b)}}break;case 3:if(F_=null,s=ca,ca=ax(e.containerInfo),Fi(e,n),ca=s,zi(n),i&4&&t!==null&&t.memoizedState.isDehydrated)try{wg(e.containerInfo)}catch(b){tt(n,n.return,b)}cE&&(cE=!1,S8(n));break;case 4:i=ca,ca=ax(n.stateNode.containerInfo),Fi(e,n),zi(n),ca=i;break;case 12:Fi(e,n),zi(n);break;case 31:Fi(e,n),zi(n),i&4&&(i=n.updateQueue,i!==null&&(n.updateQueue=null,qb(n,i)));break;case 13:Fi(e,n),zi(n),n.child.flags&8192&&n.memoizedState!==null!=(t!==null&&t.memoizedState!==null)&&(V1=Gs()),i&4&&(i=n.updateQueue,i!==null&&(n.updateQueue=null,qb(n,i)));break;case 22:s=n.memoizedState!==null;var l=t!==null&&t.memoizedState!==null,c=wl,u=yn;if(wl=c||s,yn=u||l,Fi(e,n),yn=u,wl=c,zi(n),i&8192)e:for(e=n.stateNode,e._visibility=s?e._visibility&-2:e._visibility|1,s&&(t===null||l||wl||yn||dd(n)),t=null,e=n;;){if(e.tag===5||e.tag===26){if(t===null){l=t=e;try{if(r=l.stateNode,s)a=r.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none";else{o=l.stateNode;var h=l.memoizedProps.style,f=h!=null&&h.hasOwnProperty("display")?h.display:null;o.style.display=f==null||typeof f=="boolean"?"":(""+f).trim()}}catch(b){tt(l,l.return,b)}}}else if(e.tag===6){if(t===null){l=e;try{l.stateNode.nodeValue=s?"":l.memoizedProps}catch(b){tt(l,l.return,b)}}}else if(e.tag===18){if(t===null){l=e;try{var p=l.stateNode;s?VN(p,!0):VN(l.stateNode,!1)}catch(b){tt(l,l.return,b)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===n)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;t===e&&(t=null),e=e.return}t===e&&(t=null),e.sibling.return=e.return,e=e.sibling}i&4&&(i=n.updateQueue,i!==null&&(t=i.retryQueue,t!==null&&(i.retryQueue=null,qb(n,t))));break;case 19:Fi(e,n),zi(n),i&4&&(i=n.updateQueue,i!==null&&(n.updateQueue=null,qb(n,i)));break;case 30:break;case 21:break;default:Fi(e,n),zi(n)}}function zi(n){var e=n.flags;if(e&2){try{for(var t,i=n.return;i!==null;){if(f8(i)){t=i;break}i=i.return}if(t==null)throw Error(H(160));switch(t.tag){case 27:var s=t.stateNode,r=lE(n);JS(n,r,s);break;case 5:var a=t.stateNode;t.flags&32&&(mg(a,""),t.flags&=-33);var o=lE(n);JS(n,o,a);break;case 3:case 4:var l=t.stateNode.containerInfo,c=lE(n);hI(n,c,l);break;default:throw Error(H(161))}}catch(u){tt(n,n.return,u)}n.flags&=-3}e&4096&&(n.flags&=-4097)}function S8(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var e=n;S8(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),n=n.sibling}}function To(n,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)m8(n,e.alternate,e),e=e.sibling}function dd(n){for(n=n.child;n!==null;){var e=n;switch(e.tag){case 0:case 11:case 14:case 15:Fu(4,e,e.return),dd(e);break;case 1:so(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&d8(e,e.return,t),dd(e);break;case 27:yy(e.stateNode);case 26:case 5:so(e,e.return),dd(e);break;case 22:e.memoizedState===null&&dd(e);break;case 30:dd(e);break;default:dd(e)}n=n.sibling}}function Ro(n,e,t){for(t=t&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var i=e.alternate,s=n,r=e,a=r.flags;switch(r.tag){case 0:case 11:case 15:Ro(s,r,t),cb(4,r);break;case 1:if(Ro(s,r,t),i=r,s=i.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(c){tt(i,i.return,c)}if(i=r,s=i.updateQueue,s!==null){var o=i.stateNode;try{var l=s.shared.hiddenCallbacks;if(l!==null)for(s.shared.hiddenCallbacks=null,s=0;s<l.length;s++)vB(l[s],o)}catch(c){tt(i,i.return,c)}}t&&a&64&&u8(r),fy(r,r.return);break;case 27:p8(r);case 26:case 5:Ro(s,r,t),t&&i===null&&a&4&&h8(r),fy(r,r.return);break;case 12:Ro(s,r,t);break;case 31:Ro(s,r,t),t&&a&4&&v8(s,r);break;case 13:Ro(s,r,t),t&&a&4&&b8(s,r);break;case 22:r.memoizedState===null&&Ro(s,r,t),fy(r,r.return);break;case 30:break;default:Ro(s,r,t)}e=e.sibling}}function uP(n,e){var t=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(t=n.memoizedState.cachePool.pool),n=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),n!==t&&(n!=null&&n.refCount++,t!=null&&ob(t))}function dP(n,e){n=null,e.alternate!==null&&(n=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==n&&(e.refCount++,n!=null&&ob(n))}function Xr(n,e,t,i){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)x8(n,e,t,i),e=e.sibling}function x8(n,e,t,i){var s=e.flags;switch(e.tag){case 0:case 11:case 15:Xr(n,e,t,i),s&2048&&cb(9,e);break;case 1:Xr(n,e,t,i);break;case 3:Xr(n,e,t,i),s&2048&&(n=null,e.alternate!==null&&(n=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==n&&(e.refCount++,n!=null&&ob(n)));break;case 12:if(s&2048){Xr(n,e,t,i),n=e.stateNode;try{var r=e.memoizedProps,a=r.id,o=r.onPostCommit;typeof o=="function"&&o(a,e.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(l){tt(e,e.return,l)}}else Xr(n,e,t,i);break;case 31:Xr(n,e,t,i);break;case 13:Xr(n,e,t,i);break;case 23:break;case 22:r=e.stateNode,a=e.alternate,e.memoizedState!==null?r._visibility&2?Xr(n,e,t,i):py(n,e):r._visibility&2?Xr(n,e,t,i):(r._visibility|=2,kf(n,e,t,i,(e.subtreeFlags&10256)!==0||!1)),s&2048&&uP(a,e);break;case 24:Xr(n,e,t,i),s&2048&&dP(e.alternate,e);break;default:Xr(n,e,t,i)}}function kf(n,e,t,i,s){for(s=s&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var r=n,a=e,o=t,l=i,c=a.flags;switch(a.tag){case 0:case 11:case 15:kf(r,a,o,l,s),cb(8,a);break;case 23:break;case 22:var u=a.stateNode;a.memoizedState!==null?u._visibility&2?kf(r,a,o,l,s):py(r,a):(u._visibility|=2,kf(r,a,o,l,s)),s&&c&2048&&uP(a.alternate,a);break;case 24:kf(r,a,o,l,s),s&&c&2048&&dP(a.alternate,a);break;default:kf(r,a,o,l,s)}e=e.sibling}}function py(n,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var t=n,i=e,s=i.flags;switch(i.tag){case 22:py(t,i),s&2048&&uP(i.alternate,i);break;case 24:py(t,i),s&2048&&dP(i.alternate,i);break;default:py(t,i)}e=e.sibling}}var k0=8192;function Ef(n,e,t){if(n.subtreeFlags&k0)for(n=n.child;n!==null;)w8(n,e,t),n=n.sibling}function w8(n,e,t){switch(n.tag){case 26:Ef(n,e,t),n.flags&k0&&n.memoizedState!==null&&X$(t,ca,n.memoizedState,n.memoizedProps);break;case 5:Ef(n,e,t);break;case 3:case 4:var i=ca;ca=ax(n.stateNode.containerInfo),Ef(n,e,t),ca=i;break;case 22:n.memoizedState===null&&(i=n.alternate,i!==null&&i.memoizedState!==null?(i=k0,k0=16777216,Ef(n,e,t),k0=i):Ef(n,e,t));break;default:Ef(n,e,t)}}function E8(n){var e=n.alternate;if(e!==null&&(n=e.child,n!==null)){e.child=null;do e=n.sibling,n.sibling=null,n=e;while(n!==null)}}function y0(n){var e=n.deletions;if(n.flags&16){if(e!==null)for(var t=0;t<e.length;t++){var i=e[t];Fn=i,I8(i,n)}E8(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)A8(n),n=n.sibling}function A8(n){switch(n.tag){case 0:case 11:case 15:y0(n),n.flags&2048&&Fu(9,n,n.return);break;case 3:y0(n);break;case 12:y0(n);break;case 22:var e=n.stateNode;n.memoizedState!==null&&e._visibility&2&&(n.return===null||n.return.tag!==13)?(e._visibility&=-3,B_(n)):y0(n);break;default:y0(n)}}function B_(n){var e=n.deletions;if(n.flags&16){if(e!==null)for(var t=0;t<e.length;t++){var i=e[t];Fn=i,I8(i,n)}E8(n)}for(n=n.child;n!==null;){switch(e=n,e.tag){case 0:case 11:case 15:Fu(8,e,e.return),B_(e);break;case 22:t=e.stateNode,t._visibility&2&&(t._visibility&=-3,B_(e));break;default:B_(e)}n=n.sibling}}function I8(n,e){for(;Fn!==null;){var t=Fn;switch(t.tag){case 0:case 11:case 15:Fu(8,t,e);break;case 23:case 22:if(t.memoizedState!==null&&t.memoizedState.cachePool!==null){var i=t.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:ob(t.memoizedState.cache)}if(i=t.child,i!==null)i.return=t,Fn=i;else e:for(t=n;Fn!==null;){i=Fn;var s=i.sibling,r=i.return;if(g8(i),i===t){Fn=null;break e}if(s!==null){s.return=r,Fn=s;break e}Fn=r}}}var s$={getCacheForType:function(n){var e=si(bn),t=e.data.get(n);return t===void 0&&(t=n(),e.data.set(n,t)),t},cacheSignal:function(){return si(bn).controller.signal}},r$=typeof WeakMap=="function"?WeakMap:Map,Ye=0,vt=null,Ne=null,Oe=0,et=0,Ms=null,gu=!1,Yg=!1,hP=!1,Ll=0,nn=0,zu=0,Gh=0,fP=0,Xs=0,bg=0,my=null,es=null,fI=!1,V1=0,C8=0,ZS=1/0,ex=null,Tu=null,Tn=0,Du=null,_g=null,Dl=0,pI=0,mI=null,T8=null,gy=0,gI=null;function Ys(){return Ye&2&&Oe!==0?Oe&-Oe:fe.T!==null?mP():B5()}function D8(){if(Xs===0)if(!(Oe&536870912)||Fe){var n=Fb;Fb<<=1,!(Fb&3932160)&&(Fb=262144),Xs=n}else Xs=536870912;return n=Zs.current,n!==null&&(n.flags|=32),Xs}function ss(n,e,t){(n===vt&&(et===2||et===9)||n.cancelPendingCommit!==null)&&(Sg(n,0),yu(n,Oe,Xs,!1)),sb(n,t),(!(Ye&2)||n!==vt)&&(n===vt&&(!(Ye&2)&&(Gh|=t),nn===4&&yu(n,Oe,Xs,!1)),bo(n))}function P8(n,e,t){if(Ye&6)throw Error(H(327));var i=!t&&(e&127)===0&&(e&n.expiredLanes)===0||ib(n,e),s=i?l$(n,e):uE(n,e,!0),r=i;do{if(s===0){Yg&&!i&&yu(n,e,0,!1);break}else{if(t=n.current.alternate,r&&!a$(t)){s=uE(n,e,!1),r=!1;continue}if(s===2){if(r=e,n.errorRecoveryDisabledLanes&r)var a=0;else a=n.pendingLanes&-536870913,a=a!==0?a:a&536870912?536870912:0;if(a!==0){e=a;e:{var o=n;s=my;var l=o.current.memoizedState.isDehydrated;if(l&&(Sg(o,a).flags|=256),a=uE(o,a,!1),a!==2){if(hP&&!l){o.errorRecoveryDisabledLanes|=r,Gh|=r,s=4;break e}r=es,es=s,r!==null&&(es===null?es=r:es.push.apply(es,r))}s=a}if(r=!1,s!==2)continue}}if(s===1){Sg(n,0),yu(n,e,0,!0);break}e:{switch(i=n,r=s,r){case 0:case 1:throw Error(H(345));case 4:if((e&4194048)!==e)break;case 6:yu(i,e,Xs,!gu);break e;case 2:es=null;break;case 3:case 5:break;default:throw Error(H(329))}if((e&62914560)===e&&(s=V1+300-Gs(),10<s)){if(yu(i,e,Xs,!gu),R1(i,0,!0)!==0)break e;Dl=e,i.timeoutHandle=K8(DN.bind(null,i,t,es,ex,fI,e,Xs,Gh,bg,gu,r,"Throttled",-0,0),s);break e}DN(i,t,es,ex,fI,e,Xs,Gh,bg,gu,r,null,-0,0)}}break}while(!0);bo(n)}function DN(n,e,t,i,s,r,a,o,l,c,u,h,f,p){if(n.timeoutHandle=-1,h=e.subtreeFlags,h&8192||(h&16785408)===16785408){h={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Al},w8(e,r,h);var b=(r&62914560)===r?V1-Gs():(r&4194048)===r?C8-Gs():0;if(b=H$(h,b),b!==null){Dl=r,n.cancelPendingCommit=b(RN.bind(null,n,e,r,t,i,s,a,o,l,u,h,null,f,p)),yu(n,r,a,!c);return}}RN(n,e,r,t,i,s,a,o,l)}function a$(n){for(var e=n;;){var t=e.tag;if((t===0||t===11||t===15)&&e.flags&16384&&(t=e.updateQueue,t!==null&&(t=t.stores,t!==null)))for(var i=0;i<t.length;i++){var s=t[i],r=s.getSnapshot;s=s.value;try{if(!Js(r(),s))return!1}catch{return!1}}if(t=e.child,e.subtreeFlags&16384&&t!==null)t.return=e,e=t;else{if(e===n)break;for(;e.sibling===null;){if(e.return===null||e.return===n)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function yu(n,e,t,i){e&=~fP,e&=~Gh,n.suspendedLanes|=e,n.pingedLanes&=~e,i&&
vendor: 10,262 bytes, line 48
48(n.warmLanes|=e),i=n.expirationTimes;for(var s=e;0<s;){var r=31-qs(s),a=1<<r;i[r]=-1,s&=~a}t!==0&&M5(n,t,e)}function X1(){return Ye&6?!0:(ub(0),!1)}function pP(){if(Ne!==null){if(et===0)var n=Ne.return;else n=Ne,Il=gf=null,ZD(n),gp=null,Ly=0,n=Ne;for(;n!==null;)c8(n.alternate,n),n=n.return;Ne=null}}function Sg(n,e){var t=n.timeoutHandle;t!==-1&&(n.timeoutHandle=-1,I$(t)),t=n.cancelPendingCommit,t!==null&&(n.cancelPendingCommit=null,t()),Dl=0,pP(),vt=n,Ne=t=Cl(n.current,null),Oe=e,et=0,Ms=null,gu=!1,Yg=ib(n,e),hP=!1,bg=Xs=fP=Gh=zu=nn=0,es=my=null,fI=!1,e&8&&(e|=e&32);var i=n.entangledLanes;if(i!==0)for(n=n.entanglements,i&=e;0<i;){var s=31-qs(i),r=1<<s;e|=n[s],i&=~r}return Ll=e,O1(),t}function R8(n,e){Se=null,fe.H=jy,e===qg||e===B1?(e=oN(),et=3):e===$D?(e=oN(),et=4):et=e===lP?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Ms=e,Ne===null&&(nn=1,KS(n,Ir(e,n.current)))}function k8(){var n=Zs.current;return n===null?!0:(Oe&4194048)===Oe?Nr===null:(Oe&62914560)===Oe||Oe&536870912?n===Nr:!1}function N8(){var n=fe.H;return fe.H=jy,n===null?jy:n}function M8(){var n=fe.A;return fe.A=s$,n}function tx(){nn=4,gu||(Oe&4194048)!==Oe&&Zs.current!==null||(Yg=!0),!(zu&134217727)&&!(Gh&134217727)||vt===null||yu(vt,Oe,Xs,!1)}function uE(n,e,t){var i=Ye;Ye|=2;var s=N8(),r=M8();(vt!==n||Oe!==e)&&(ex=null,Sg(n,e)),e=!1;var a=nn;e:do try{if(et!==0&&Ne!==null){var o=Ne,l=Ms;switch(et){case 8:pP(),a=6;break e;case 3:case 2:case 9:case 6:Zs.current===null&&(e=!0);var c=et;if(et=0,Ms=null,Zf(n,o,l,c),t&&Yg){a=0;break e}break;default:c=et,et=0,Ms=null,Zf(n,o,l,c)}}o$(),a=nn;break}catch(u){R8(n,u)}while(!0);return e&&n.shellSuspendCounter++,Il=gf=null,Ye=i,fe.H=s,fe.A=r,Ne===null&&(vt=null,Oe=0,O1()),a}function o$(){for(;Ne!==null;)O8(Ne)}function l$(n,e){var t=Ye;Ye|=2;var i=N8(),s=M8();vt!==n||Oe!==e?(ex=null,ZS=Gs()+500,Sg(n,e)):Yg=ib(n,e);e:do try{if(et!==0&&Ne!==null){e=Ne;var r=Ms;t:switch(et){case 1:et=0,Ms=null,Zf(n,e,r,1);break;case 2:case 9:if(aN(r)){et=0,Ms=null,PN(e);break}e=function(){et!==2&&et!==9||vt!==n||(et=7),bo(n)},r.then(e,e);break e;case 3:et=7;break e;case 4:et=5;break e;case 7:aN(r)?(et=0,Ms=null,PN(e)):(et=0,Ms=null,Zf(n,e,r,7));break;case 5:var a=null;switch(Ne.tag){case 26:a=Ne.memoizedState;case 5:case 27:var o=Ne;if(a?tj(a):o.stateNode.complete){et=0,Ms=null;var l=o.sibling;if(l!==null)Ne=l;else{var c=o.return;c!==null?(Ne=c,H1(c)):Ne=null}break t}}et=0,Ms=null,Zf(n,e,r,5);break;case 6:et=0,Ms=null,Zf(n,e,r,6);break;case 8:pP(),nn=6;break e;default:throw Error(H(462))}}c$();break}catch(u){R8(n,u)}while(!0);return Il=gf=null,fe.H=i,fe.A=s,Ye=t,Ne!==null?0:(vt=null,Oe=0,O1(),nn)}function c$(){for(;Ne!==null&&!kH();)O8(Ne)}function O8(n){var e=l8(n.alternate,n,Ll);n.memoizedProps=n.pendingProps,e===null?H1(n):Ne=e}function PN(n){var e=n,t=e.alternate;switch(e.tag){case 15:case 0:e=wN(t,e,e.pendingProps,e.type,void 0,Oe);break;case 11:e=wN(t,e,e.pendingProps,e.type.render,e.ref,Oe);break;case 5:ZD(e);default:c8(t,e),e=Ne=cB(e,Ll),e=l8(t,e,Ll)}n.memoizedProps=n.pendingProps,e===null?H1(n):Ne=e}function Zf(n,e,t,i){Il=gf=null,ZD(e),gp=null,Ly=0;var s=e.return;try{if(QG(n,s,e,t,Oe)){nn=1,KS(n,Ir(t,n.current)),Ne=null;return}}catch(r){if(s!==null)throw Ne=s,r;nn=1,KS(n,Ir(t,n.current)),Ne=null;return}e.flags&32768?(Fe||i===1?n=!0:Yg||Oe&536870912?n=!1:(gu=n=!0,(i===2||i===9||i===3||i===6)&&(i=Zs.current,i!==null&&i.tag===13&&(i.flags|=16384))),L8(e,n)):H1(e)}function H1(n){var e=n;do{if(e.flags&32768){L8(e,gu);return}n=e.return;var t=e$(e.alternate,e,Ll);if(t!==null){Ne=t;return}if(e=e.sibling,e!==null){Ne=e;return}Ne=e=n}while(e!==null);nn===0&&(nn=5)}function L8(n,e){do{var t=t$(n.alternate,n);if(t!==null){t.flags&=32767,Ne=t;return}if(t=n.return,t!==null&&(t.flags|=32768,t.subtreeFlags=0,t.deletions=null),!e&&(n=n.sibling,n!==null)){Ne=n;return}Ne=n=t}while(n!==null);nn=6,Ne=null}function RN(n,e,t,i,s,r,a,o,l){n.cancelPendingCommit=null;do G1();while(Tn!==0);if(Ye&6)throw Error(H(327));if(e!==null){if(e===n.current)throw Error(H(177));if(r=e.lanes|e.childLanes,r|=FD,VH(n,t,r,a,o,l),n===vt&&(Ne=vt=null,Oe=0),_g=e,Du=n,Dl=t,pI=r,mI=s,T8=i,e.subtreeFlags&10256||e.flags&10256?(n.callbackNode=null,n.callbackPriority=0,f$(FS,function(){return U8(),null})):(n.callbackNode=null,n.callbackPriority=0),i=(e.flags&13878)!==0,e.subtreeFlags&13878||i){i=fe.T,fe.T=null,s=We.p,We.p=2,a=Ye,Ye|=4;try{n$(n,e,t)}finally{Ye=a,We.p=s,fe.T=i}}Tn=1,B8(),j8(),F8()}}function B8(){if(Tn===1){Tn=0;var n=Du,e=_g,t=(e.flags&13878)!==0;if(e.subtreeFlags&13878||t){t=fe.T,fe.T=null;var i=We.p;We.p=2;var s=Ye;Ye|=4;try{_8(e,n);var r=_I,a=tB(n.containerInfo),o=r.focusedElem,l=r.selectionRange;if(a!==o&&o&&o.ownerDocument&&eB(o.ownerDocument.documentElement,o)){if(l!==null&&jD(o)){var c=l.start,u=l.end;if(u===void 0&&(u=c),"selectionStart"in o)o.selectionStart=c,o.selectionEnd=Math.min(u,o.value.length);else{var h=o.ownerDocument||document,f=h&&h.defaultView||window;if(f.getSelection){var p=f.getSelection(),b=o.textContent.length,g=Math.min(l.start,b),S=l.end===void 0?g:Math.min(l.end,b);!p.extend&&g>S&&(a=S,S=g,g=a);var y=Zk(o,g),v=Zk(o,S);if(y&&v&&(p.rangeCount!==1||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var _=h.createRange();_.setStart(y.node,y.offset),p.removeAllRanges(),g>S?(p.addRange(_),p.extend(v.node,v.offset)):(_.setEnd(v.node,v.offset),p.addRange(_))}}}}for(h=[],p=o;p=p.parentNode;)p.nodeType===1&&h.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<h.length;o++){var x=h[o];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}cx=!!bI,_I=bI=null}finally{Ye=s,We.p=i,fe.T=t}}n.current=e,Tn=2}}function j8(){if(Tn===2){Tn=0;var n=Du,e=_g,t=(e.flags&8772)!==0;if(e.subtreeFlags&8772||t){t=fe.T,fe.T=null;var i=We.p;We.p=2;var s=Ye;Ye|=4;try{m8(n,e.alternate,e)}finally{Ye=s,We.p=i,fe.T=t}}Tn=3}}function F8(){if(Tn===4||Tn===3){Tn=0,NH();var n=Du,e=_g,t=Dl,i=T8;e.subtreeFlags&10256||e.flags&10256?Tn=5:(Tn=0,_g=Du=null,z8(n,n.pendingLanes));var s=n.pendingLanes;if(s===0&&(Tu=null),RD(t),e=e.stateNode,$s&&typeof $s.onCommitFiberRoot=="function")try{$s.onCommitFiberRoot(nb,e,void 0,(e.current.flags&128)===128)}catch{}if(i!==null){e=fe.T,s=We.p,We.p=2,fe.T=null;try{for(var r=n.onRecoverableError,a=0;a<i.length;a++){var o=i[a];r(o.value,{componentStack:o.stack})}}finally{fe.T=e,We.p=s}}Dl&3&&G1(),bo(n),s=n.pendingLanes,t&261930&&s&42?n===gI?gy++:(gy=0,gI=n):gy=0,ub(0)}}function z8(n,e){(n.pooledCacheLanes&=e)===0&&(e=n.pooledCache,e!=null&&(n.pooledCache=null,ob(e)))}function G1(){return B8(),j8(),F8(),U8()}function U8(){if(Tn!==5)return!1;var n=Du,e=pI;pI=0;var t=RD(Dl),i=fe.T,s=We.p;try{We.p=32>t?32:t,fe.T=null,t=mI,mI=null;var r=Du,a=Dl;if(Tn=0,_g=Du=null,Dl=0,Ye&6)throw Error(H(331));var o=Ye;if(Ye|=4,A8(r.current),x8(r,r.current,a,t),Ye=o,ub(0,!1),$s&&typeof $s.onPostCommitFiberRoot=="function")try{$s.onPostCommitFiberRoot(nb,r)}catch{}return!0}finally{We.p=s,fe.T=i,z8(n,e)}}function kN(n,e,t){e=Ir(t,e),e=cI(n.stateNode,e,2),n=Cu(n,e,2),n!==null&&(sb(n,2),bo(n))}function tt(n,e,t){if(n.tag===3)kN(n,n,t);else for(;e!==null;){if(e.tag===3){kN(e,n,t);break}else if(e.tag===1){var i=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Tu===null||!Tu.has(i))){n=Ir(t,n),t=n8(2),i=Cu(e,t,2),i!==null&&(i8(t,i,e,n),sb(i,2),bo(i));break}}e=e.return}}function dE(n,e,t){var i=n.pingCache;if(i===null){i=n.pingCache=new r$;var s=new Set;i.set(e,s)}else s=i.get(e),s===void 0&&(s=new Set,i.set(e,s));s.has(t)||(hP=!0,s.add(t),n=u$.bind(null,n,e,t),e.then(n,n))}function u$(n,e,t){var i=n.pingCache;i!==null&&i.delete(e),n.pingedLanes|=n.suspendedLanes&t,n.warmLanes&=~t,vt===n&&(Oe&t)===t&&(nn===4||nn===3&&(Oe&62914560)===Oe&&300>Gs()-V1?!(Ye&2)&&Sg(n,0):fP|=t,bg===Oe&&(bg=0)),bo(n)}function V8(n,e){e===0&&(e=N5()),n=mf(n,e),n!==null&&(sb(n,e),bo(n))}function d$(n){var e=n.memoizedState,t=0;e!==null&&(t=e.retryLane),V8(n,t)}function h$(n,e){var t=0;switch(n.tag){case 31:case 13:var i=n.stateNode,s=n.memoizedState;s!==null&&(t=s.retryLane);break;case 19:i=n.stateNode;break;case 22:i=n.stateNode._retryCache;break;default:throw Error(H(314))}i!==null&&i.delete(e),V8(n,t)}function f$(n,e){return DD(n,e)}var nx=null,Nf=null,yI=!1,ix=!1,hE=!1,vu=0;function bo(n){n!==Nf&&n.next===null&&(Nf===null?nx=Nf=n:Nf=Nf.next=n),ix=!0,yI||(yI=!0,m$())}function ub(n,e){if(!hE&&ix){hE=!0;do for(var t=!1,i=nx;i!==null;){if(n!==0){var s=i.pendingLanes;if(s===0)var r=0;else{var a=i.suspendedLanes,o=i.pingedLanes;r=(1<<31-qs(42|n)+1)-1,r&=s&~(a&~o),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(t=!0,NN(i,r))}else r=Oe,r=R1(i,i===vt?r:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),!(r&3)||ib(i,r)||(t=!0,NN(i,r));i=i.next}while(t);hE=!1}}function p$(){X8()}function X8(){ix=yI=!1;var n=0;vu!==0&&A$()&&(n=vu);for(var e=Gs(),t=null,i=nx;i!==null;){var s=i.next,r=H8(i,e);r===0?(i.next=null,t===null?nx=s:t.next=s,s===null&&(Nf=t)):(t=i,(n!==0||r&3)&&(ix=!0)),i=s}Tn!==0&&Tn!==5||ub(n),vu!==0&&(vu=0)}function H8(n,e){for(var t=n.suspendedLanes,i=n.pingedLanes,s=n.expirationTimes,r=n.pendingLanes&-62914561;0<r;){var a=31-qs(r),o=1<<a,l=s[a];l===-1?(!(o&t)||o&i)&&(s[a]=UH(o,e)):l<=e&&(n.expiredLanes|=o),r&=~o}if(e=vt,t=Oe,t=R1(n,n===e?t:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),i=n.callbackNode,t===0||n===e&&(et===2||et===9)||n.cancelPendingCommit!==null)return i!==null&&i!==null&&zw(i),n.callbackNode=null,n.callbackPriority=0;if(!(t&3)||ib(n,t)){if(e=t&-t,e===n.callbackPriority)return e;switch(i!==null&&zw(i),RD(t)){case 2:case 8:t=R5;break;case 32:t=FS;break;case 268435456:t=k5;break;default:t=FS}return i=G8.bind(null,n),t=DD(t,i),n.callbackPriority=e,n.callbackNode=t,e}return i!==null&&i!==null&&zw(i),n.callbackPriority=2,n.callbackNode=null,2}function G8(n,e){if(Tn!==0&&Tn!==5)return n.callbackNode=null,n.callbackPriority=0,null;var t=n.callbackNode;if(G1()&&n.callbackNode!==t)return null;var i=Oe;return i=R1(n,n===vt?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),i===0?null:(P8(n,i,e),H8(n,Gs()),n.callbackNode!=null&&n.callbackNode===t?G8.bind(null,n):null)}function NN(n,e){if(G1())return null;P8(n,e,!0)}function m$(){C$(function(){Ye&6?DD(P5,p$):X8()})}
vendor: 6,473 bytes, line 48
48function mP(){if(vu===0){var n=gg;n===0&&(n=jb,jb<<=1,!(jb&261888)&&(jb=256)),vu=n}return vu}function MN(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:T_(""+n)}function ON(n,e){var t=e.ownerDocument.createElement("input");return t.name=e.name,t.value=e.value,n.id&&t.setAttribute("form",n.id),e.parentNode.insertBefore(t,e),n=new FormData(n),t.parentNode.removeChild(t),n}function g$(n,e,t,i,s){if(e==="submit"&&t&&t.stateNode===s){var r=MN((s[cs]||null).action),a=i.submitter;a&&(e=(e=a[cs]||null)?MN(e.formAction):a.getAttribute("formAction"),e!==null&&(r=e,a=null));var o=new k1("action","action",null,i,s);n.push({event:o,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(vu!==0){var l=a?ON(s,a):new FormData(s);oI(t,{pending:!0,data:l,method:s.method,action:r},null,l)}}else typeof r=="function"&&(o.preventDefault(),l=a?ON(s,a):new FormData(s),oI(t,{pending:!0,data:l,method:s.method,action:r},r,l))},currentTarget:s}]})}}for(var fE=0;fE<WA.length;fE++){var pE=WA[fE],y$=pE.toLowerCase(),v$=pE[0].toUpperCase()+pE.slice(1);ma(y$,"on"+v$)}ma(iB,"onAnimationEnd");ma(sB,"onAnimationIteration");ma(rB,"onAnimationStart");ma("dblclick","onDoubleClick");ma("focusin","onFocus");ma("focusout","onBlur");ma(MG,"onTransitionRun");ma(OG,"onTransitionStart");ma(LG,"onTransitionCancel");ma(aB,"onTransitionEnd");pg("onMouseEnter",["mouseout","mouseover"]);pg("onMouseLeave",["mouseout","mouseover"]);pg("onPointerEnter",["pointerout","pointerover"]);pg("onPointerLeave",["pointerout","pointerover"]);hf("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));hf("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));hf("onBeforeInput",["compositionend","keypress","textInput","paste"]);hf("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));hf("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));hf("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fy="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(" "),b$=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Fy));function $8(n,e){e=(e&4)!==0;for(var t=0;t<n.length;t++){var i=n[t],s=i.event;i=i.listeners;e:{var r=void 0;if(e)for(var a=i.length-1;0<=a;a--){var o=i[a],l=o.instance,c=o.currentTarget;if(o=o.listener,l!==r&&s.isPropagationStopped())break e;r=o,s.currentTarget=c;try{r(s)}catch(u){US(u)}s.currentTarget=null,r=l}else for(a=0;a<i.length;a++){if(o=i[a],l=o.instance,c=o.currentTarget,o=o.listener,l!==r&&s.isPropagationStopped())break e;r=o,s.currentTarget=c;try{r(s)}catch(u){US(u)}s.currentTarget=null,r=l}}}}function ke(n,e){var t=e[UA];t===void 0&&(t=e[UA]=new Set);var i=n+"__bubble";t.has(i)||(q8(e,n,2,!1),t.add(i))}function mE(n,e,t){var i=0;e&&(i|=4),q8(t,n,i,e)}var Yb="_reactListening"+Math.random().toString(36).slice(2);function gP(n){if(!n[Yb]){n[Yb]=!0,j5.forEach(function(t){t!=="selectionchange"&&(b$.has(t)||mE(t,!1,n),mE(t,!0,n))});var e=n.nodeType===9?n:n.ownerDocument;e===null||e[Yb]||(e[Yb]=!0,mE("selectionchange",!1,e))}}function q8(n,e,t,i){switch(aj(e)){case 2:var s=q$;break;case 8:s=Y$;break;default:s=_P}t=s.bind(null,e,t,n),s=void 0,!$A||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(s=!0),i?s!==void 0?n.addEventListener(e,t,{capture:!0,passive:s}):n.addEventListener(e,t,!0):s!==void 0?n.addEventListener(e,t,{passive:s}):n.addEventListener(e,t,!1)}function gE(n,e,t,i,s){var r=i;if(!(e&1)&&!(e&2)&&i!==null)e:for(;;){if(i===null)return;var a=i.tag;if(a===3||a===4){var o=i.stateNode.containerInfo;if(o===s)break;if(a===4)for(a=i.return;a!==null;){var l=a.tag;if((l===3||l===4)&&a.stateNode.containerInfo===s)return;a=a.return}for(;o!==null;){if(a=Hf(o),a===null)return;if(l=a.tag,l===5||l===6||l===26||l===27){i=r=a;continue e}o=o.parentNode}}i=i.return}$5(function(){var c=r,u=MD(t),h=[];e:{var f=oB.get(n);if(f!==void 0){var p=k1,b=n;switch(n){case"keypress":if(P_(t)===0)break e;case"keydown":case"keyup":p=hG;break;case"focusin":b="focus",p=Gw;break;case"focusout":b="blur",p=Gw;break;case"beforeblur":case"afterblur":p=Gw;break;case"click":if(t.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=Xk;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=eG;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=mG;break;case iB:case sB:case rB:p=iG;break;case aB:p=yG;break;case"scroll":case"scrollend":p=JH;break;case"wheel":p=bG;break;case"copy":case"cut":case"paste":p=rG;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Gk;break;case"toggle":case"beforetoggle":p=SG}var g=(e&4)!==0,S=!g&&(n==="scroll"||n==="scrollend"),y=g?f!==null?f+"Capture":null:f;g=[];for(var v=c,_;v!==null;){var x=v;if(_=x.stateNode,x=x.tag,x!==5&&x!==26&&x!==27||_===null||y===null||(x=Ry(v,y),x!=null&&g.push(zy(v,x,_))),S)break;v=v.return}0<g.length&&(f=new p(f,b,null,t,u),h.push({event:f,listeners:g}))}}if(!(e&7)){e:{if(f=n==="mouseover"||n==="pointerover",p=n==="mouseout"||n==="pointerout",f&&t!==GA&&(b=t.relatedTarget||t.fromElement)&&(Hf(b)||b[Hg]))break e;if((p||f)&&(f=u.window===u?u:(f=u.ownerDocument)?f.defaultView||f.parentWindow:window,p?(b=t.relatedTarget||t.toElement,p=c,b=b?Hf(b):null,b!==null&&(S=tb(b),g=b.tag,b!==S||g!==5&&g!==27&&g!==6)&&(b=null)):(p=null,b=c),p!==b)){if(g=Xk,x="onMouseLeave",y="onMouseEnter",v="mouse",(n==="pointerout"||n==="pointerover")&&(g=Gk,x="onPointerLeave",y="onPointerEnter",v="pointer"),S=p==null?f:P0(p),_=b==null?f:P0(b),f=new g(x,v+"leave",p,t,u),f.target=S,f.relatedTarget=_,x=null,Hf(u)===c&&(g=new g(y,v+"enter",b,t,u),g.target=_,g.relatedTarget=S,x=g),S=x,p&&b)t:{for(g=_$,y=p,v=b,_=0,x=y;x;x=g(x))_++;x=0;for(var E=v;E;E=g(E))x++;for(;0<_-x;)y=g(y),_--;for(;0<x-_;)v=g(v),x--;for(;_--;){if(y===v||v!==null&&y===v.alternate){g=y;break t}y=g(y),v=g(v)}g=null}else g=null;p!==null&&LN(h,f,p,g,!1),b!==null&&S!==null&&LN(h,S,b,g,!0)}}
vendor: 5,140 bytes, lines 48-49
48e:{if(f=c?P0(c):window,p=f.nodeName&&f.nodeName.toLowerCase(),p==="select"||p==="input"&&f.type==="file")var C=Wk;else if(Yk(f))if(J5)C=RG;else{C=DG;var I=TG}else p=f.nodeName,!p||p.toLowerCase()!=="input"||f.type!=="checkbox"&&f.type!=="radio"?c&&ND(c.elementType)&&(C=Wk):C=PG;if(C&&(C=C(n,c))){Q5(h,C,t,u);break e}I&&I(n,f,c),n==="focusout"&&c&&f.type==="number"&&c.memoizedProps.value!=null&&HA(f,"number",f.value)}switch(I=c?P0(c):window,n){case"focusin":(Yk(I)||I.contentEditable==="true")&&(qf=I,qA=c,oy=null);break;case"focusout":oy=qA=qf=null;break;case"mousedown":YA=!0;break;case"contextmenu":case"mouseup":case"dragend":YA=!1,eN(h,t,u);break;case"selectionchange":if(NG)break;case"keydown":case"keyup":eN(h,t,u)}var R;if(BD)e:{switch(n){case"compositionstart":var D="onCompositionStart";break e;case"compositionend":D="onCompositionEnd";break e;case"compositionupdate":D="onCompositionUpdate";break e}D=void 0}else $f?W5(n,t)&&(D="onCompositionEnd"):n==="keydown"&&t.keyCode===229&&(D="onCompositionStart");D&&(Y5&&t.locale!=="ko"&&($f||D!=="onCompositionStart"?D==="onCompositionEnd"&&$f&&(R=q5()):(mu=u,OD="value"in mu?mu.value:mu.textContent,$f=!0)),I=sx(c,D),0<I.length&&(D=new Hk(D,n,null,t,u),h.push({event:D,listeners:I}),R?D.data=R:(R=K5(t),R!==null&&(D.data=R)))),(R=wG?EG(n,t):AG(n,t))&&(D=sx(c,"onBeforeInput"),0<D.length&&(I=new Hk("onBeforeInput","beforeinput",null,t,u),h.push({event:I,listeners:D}),I.data=R)),g$(h,n,c,t,u)}$8(h,e)})}function zy(n,e,t){return{instance:n,listener:e,currentTarget:t}}function sx(n,e){for(var t=e+"Capture",i=[];n!==null;){var s=n,r=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||r===null||(s=Ry(n,t),s!=null&&i.unshift(zy(n,s,r)),s=Ry(n,e),s!=null&&i.push(zy(n,s,r))),n.tag===3)return i;n=n.return}return[]}function _$(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function LN(n,e,t,i,s){for(var r=e._reactName,a=[];t!==null&&t!==i;){var o=t,l=o.alternate,c=o.stateNode;if(o=o.tag,l!==null&&l===i)break;o!==5&&o!==26&&o!==27||c===null||(l=c,s?(c=Ry(t,r),c!=null&&a.unshift(zy(t,c,l))):s||(c=Ry(t,r),c!=null&&a.push(zy(t,c,l)))),t=t.return}a.length!==0&&n.push({event:e,listeners:a})}var S$=/\r\n?/g,x$=/\u0000|\uFFFD/g;function BN(n){return(typeof n=="string"?n:""+n).replace(S$,` 49`).replace(x$,"")}function Y8(n,e){return e=BN(e),BN(n)===e}function ot(n,e,t,i,s,r){switch(t){case"children":typeof i=="string"?e==="body"||e==="textarea"&&i===""||mg(n,i):(typeof i=="number"||typeof i=="bigint")&&e!=="body"&&mg(n,""+i);break;case"className":Ub(n,"class",i);break;case"tabIndex":Ub(n,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":Ub(n,t,i);break;case"style":G5(n,i,r);break;case"data":if(e!=="object"){Ub(n,"data",i);break}case"src":case"href":if(i===""&&(e!=="a"||t!=="href")){n.removeAttribute(t);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){n.removeAttribute(t);break}i=T_(""+i),n.setAttribute(t,i);break;case"action":case"formAction":if(typeof i=="function"){n.setAttribute(t,"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 r=="function"&&(t==="formAction"?(e!=="input"&&ot(n,e,"name",s.name,s,null),ot(n,e,"formEncType",s.formEncType,s,null),ot(n,e,"formMethod",s.formMethod,s,null),ot(n,e,"formTarget",s.formTarget,s,null)):(ot(n,e,"encType",s.encType,s,null),ot(n,e,"method",s.method,s,null),ot(n,e,"target",s.target,s,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){n.removeAttribute(t);break}i=T_(""+i),n.setAttribute(t,i);break;case"onClick":i!=null&&(n.onclick=Al);break;case"onScroll":i!=null&&ke("scroll",n);break;case"onScrollEnd":i!=null&&ke("scrollend",n);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(H(61));if(t=i.__html,t!=null){if(s.children!=null)throw Error(H(60));n.innerHTML=t}}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}t=T_(""+i),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t);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(t,""+i):n.removeAttribute(t);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"playsInl
49ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?n.setAttribute(t,""):n.removeAttribute(t);break;case"capture":case"download":i===!0?n.setAttribute(t,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?n.setAttribute(t,i):n.removeAttribute(t);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?n.setAttribute(t,i):n.removeAttribute(t);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?n.removeAttribute(t):n.setAttribute(t,i);break;case"popover":ke("beforetoggle",n),ke("toggle",n),C_(n,"popover",i);break;case"xlinkActuate":Ao(n,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":Ao(n,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":Ao(n,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":Ao(n,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":Ao(n,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":Ao(n,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":Ao(n,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":Ao(n,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":Ao(n,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":C_(n,"is",i);break;case"innerText":case"textContent":break;default:(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(t=KH.get(t)||t,C_(n,t,i))}}function vI(n,e,t,i,s,r){switch(t){case"style":G5(n,i,r);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(H(61));if(t=i.__html,t!=null){if(s.children!=null)throw Error(H(60));n.innerHTML=t}}break;case"children":typeof i=="string"?mg(n,i):(typeof i=="number"||typeof i=="bigint")&&mg(n,""+i);break;case"onScroll":i!=null&&ke("scroll",n);break;case"onScrollEnd":i!=null&&ke("scrollend",n);break;case"onClick":i!=null&&(n.onclick=Al);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!F5.hasOwnProperty(t))e:{if(t[0]==="o"&&t[1]==="n"&&(s=t.endsWith("Capture"),e=t.slice(2,s?t.length-7:void 0),r=n[cs]||null,r=r!=null?r[t]:null,typeof r=="function"&&n.removeEventListener(e,r,s),typeof i=="function")){typeof r!="function"&&r!==null&&(t in n?n[t]=null:n.hasAttribute(t)&&n.removeAttribute(t)),n.addEventListener(e,i,s);break e}t in n?n[t]=i:i===!0?n.setAttribute(t,""):C_(n,t,i)}}}function ri(n,e,t){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ke("error",n),ke("load",n);var i=!1,s=!1,r;for(r in t)if(t.hasOwnProperty(r)){var a=t[r];if(a!=null)switch(r){case"src":i=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(H(137,e));default:ot(n,e,r,a,t,null)}}s&&ot(n,e,"srcSet",t.srcSet,t,null),i&&ot(n,e,"src",t.src,t,null);return;case"input":ke("invalid",n);var o=r=a=s=null,l=null,c=null;for(i in t)if(t.hasOwnProperty(i)){var u=t[i];if(u!=null)switch(i){case"name":s=u;break;case"type":a=u;break;case"checked":l=u;break;case"defaultChecked":c=u;break;case"value":r=u;break;case"defaultValue":o=u;break;case"children":case"dangerouslySetInnerHTML":if(u!=null)throw Error(H(137,e));break;default:ot(n,e,i,u,t,null)}}V5(n,r,o,l,c,a,s,!1);return;case"select":ke("invalid",n),i=a=r=null;for(s in t)if(t.hasOwnProperty(s)&&(o=t[s],o!=null))switch(s){case"value":r=o;break;case"defaultValue":a=o;break;case"multiple":i=o;default:ot(n,e,s,o,t,null)}e=r,t=a,n.multiple=!!i,e!=null?fp(n,!!i,e,!1):t!=null&&fp(n,!!i,t,!0);return;case"textarea":ke("invalid",n),r=s=i=null;for(a in t)if(t.hasOwnProperty(a)&&(o=t[a],o!=null))switch(a){case"value":i=o;break;case"defaultValue":s=o;break;case"children":r=o;break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(H(91));break;default:ot(n,e,a,o,t,null)}H5(n,i,s,r);return;case"option":for(l in t)if(t.hasOwnProperty(l)&&(i=t[l],i!=null))switch(l){case"selected":n.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:ot(n,e,l,i,t,null)}return;case"dialog":ke("beforetoggle",n),ke("toggle",n),ke("cancel",n),ke("close",n);break;case"iframe":case"object":ke("load",n);break;case"video":case"audio":for(i=0;i<Fy.length;i++)ke(Fy[i],n);break;case"image":ke("error",n),ke("load",n);break;case"details":ke("toggle",n);break;case"embed":case"source":case"link":ke("error",n),ke("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(c in t)if(t.hasOwnProperty(c)&&(i=t[c],i!=null))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(H(137,e));default:ot(n,e,c,i,t,null)}return;default:if(ND(e)){for(u in t)t.hasOwnProperty(u)&&(i=t[u],i!==void 0&&vI(n,e,u,i,t,void 0));return}}for(o in t)t.hasOwnProperty(o)&&(i=t[o],i!=null&&ot(n,e,o,i,t,null))}function w$(n,e,t,i){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,r=null,a=null,o=null,l=null,c=null,u=null;for(p in t){var h=t[p];if(t.hasOwnProperty(p)&&h!=null)switch(p){case"checked":break;case"value":break;case"defaultValue":l=h;default:i.hasOwnProperty(p)||ot(n,e,p,null,i,h)}}for(var f in i){var p=i[f];if(h=t[f],i.hasOwnProperty(f)&&(p!=null||h!=null))switch(f){case"type":r=p;break;case"name":s=p;break;case"checked":c=p;break;case"defaultChecked":u=p;break;case"value":a=p;break;case"defaultValue":o=p;break;case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(H(137,e));break;default:p!==h&&ot(n,e,f,p,i,h)}}XA(n,a,o,l,c,u,r,s);return;case"select":p=a=o=f=null;for(r in t)if(l=t[r],t.hasOwnProperty(r)&&l!=null)switch(r){case"value":break;case"multiple":p=l;default:i.hasOwnProperty(r)||ot(n,e,r,null,i,l)}for(s in i)if(r=i[s],l=t[s],i.hasOwnProperty(s)&&(r!=null||l!=null))switch(s){case"value":f=r;break;case"defaultValue":o=r;break;case"multiple":a=r;default:r!==l&&ot(n,e,s,r,i,l)}e=o,t=a,i=p,f!=null?fp(n,!!t,f,!1):!!i!=!!t&&(e!=null?fp(n,!!t,e,!0):fp(n,!!t,t?[]:"",!1));return;case"textarea":p=f=null;for(o in t)if(s=t[o],t.hasOwnProperty(o)&&s!=null&&!i.hasOwnProperty(o))switch(o){case"value":break;case"children":break;default:ot(n,e,o,null,i,s)}for(a in i)if(s=i[a],r=t[a],i.hasOwnProperty(a)&&(s!=null||r!=null))switch(a){case"value":f=s;break;case"defaultValue":p=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(H(91));break;default:s!==r&&ot(n,e,a,s,i,r)}X5(n,f,p);return;case"option":for(var b in t)if(f=t[b],t.hasOwnProperty(b)&&f!=null&&!i.hasOwnProperty(b))switch(b){case"selected":n.selected=!1;break;default:ot(n,e,b,null,i,f)}
vendor: 6,107 bytes, line 49
49for(l in i)if(f=i[l],p=t[l],i.hasOwnProperty(l)&&f!==p&&(f!=null||p!=null))switch(l){case"selected":n.selected=f&&typeof f!="function"&&typeof f!="symbol";break;default:ot(n,e,l,f,i,p)}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 g in t)f=t[g],t.hasOwnProperty(g)&&f!=null&&!i.hasOwnProperty(g)&&ot(n,e,g,null,i,f);for(c in i)if(f=i[c],p=t[c],i.hasOwnProperty(c)&&f!==p&&(f!=null||p!=null))switch(c){case"children":case"dangerouslySetInnerHTML":if(f!=null)throw Error(H(137,e));break;default:ot(n,e,c,f,i,p)}return;default:if(ND(e)){for(var S in t)f=t[S],t.hasOwnProperty(S)&&f!==void 0&&!i.hasOwnProperty(S)&&vI(n,e,S,void 0,i,f);for(u in i)f=i[u],p=t[u],!i.hasOwnProperty(u)||f===p||f===void 0&&p===void 0||vI(n,e,u,f,i,p);return}}for(var y in t)f=t[y],t.hasOwnProperty(y)&&f!=null&&!i.hasOwnProperty(y)&&ot(n,e,y,null,i,f);for(h in i)f=i[h],p=t[h],!i.hasOwnProperty(h)||f===p||f==null&&p==null||ot(n,e,h,f,i,p)}function jN(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function E$(){if(typeof performance.getEntriesByType=="function"){for(var n=0,e=0,t=performance.getEntriesByType("resource"),i=0;i<t.length;i++){var s=t[i],r=s.transferSize,a=s.initiatorType,o=s.duration;if(r&&o&&jN(a)){for(a=0,o=s.responseEnd,i+=1;i<t.length;i++){var l=t[i],c=l.startTime;if(c>o)break;var u=l.transferSize,h=l.initiatorType;u&&jN(h)&&(l=l.responseEnd,a+=u*(l<o?1:(o-c)/(l-c)))}if(--i,e+=8*(r+a)/(s.duration/1e3),n++,10<n)break}}if(0<n)return e/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var bI=null,_I=null;function rx(n){return n.nodeType===9?n:n.ownerDocument}function FN(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 W8(n,e){if(n===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&e==="foreignObject"?0:n}function SI(n,e){return n==="textarea"||n==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var yE=null;function A$(){var n=window.event;return n&&n.type==="popstate"?n===yE?!1:(yE=n,!0):(yE=null,!1)}var K8=typeof setTimeout=="function"?setTimeout:void 0,I$=typeof clearTimeout=="function"?clearTimeout:void 0,zN=typeof Promise=="function"?Promise:void 0,C$=typeof queueMicrotask=="function"?queueMicrotask:typeof zN<"u"?function(n){return zN.resolve(null).then(n).catch(T$)}:K8;function T$(n){setTimeout(function(){throw n})}function Ju(n){return n==="head"}function UN(n,e){var t=e,i=0;do{var s=t.nextSibling;if(n.removeChild(t),s&&s.nodeType===8)if(t=s.data,t==="/$"||t==="/&"){if(i===0){n.removeChild(s),wg(e);return}i--}else if(t==="$"||t==="$?"||t==="$~"||t==="$!"||t==="&")i++;else if(t==="html")yy(n.ownerDocument.documentElement);else if(t==="head"){t=n.ownerDocument.head,yy(t);for(var r=t.firstChild;r;){var a=r.nextSibling,o=r.nodeName;r[rb]||o==="SCRIPT"||o==="STYLE"||o==="LINK"&&r.rel.toLowerCase()==="stylesheet"||t.removeChild(r),r=a}}else t==="body"&&yy(n.ownerDocument.body);t=s}while(t);wg(e)}function VN(n,e){var t=n;n=0;do{var i=t.nextSibling;if(t.nodeType===1?e?(t._stashedDisplay=t.style.display,t.style.display="none"):(t.style.display=t._stashedDisplay||"",t.getAttribute("style")===""&&t.removeAttribute("style")):t.nodeType===3&&(e?(t._stashedText=t.nodeValue,t.nodeValue=""):t.nodeValue=t._stashedText||""),i&&i.nodeType===8)if(t=i.data,t==="/$"){if(n===0)break;n--}else t!=="$"&&t!=="$?"&&t!=="$~"&&t!=="$!"||n++;t=i}while(t)}function xI(n){var e=n.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var t=e;switch(e=e.nextSibling,t.nodeName){case"HTML":case"HEAD":case"BODY":xI(t),kD(t);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(t.rel.toLowerCase()==="stylesheet")continue}n.removeChild(t)}}function D$(n,e,t,i){for(;n.nodeType===1;){var s=t;if(n.nodeName.toLowerCase()!==e.toLowerCase()){if(!i&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(i){if(!n[rb])switch(e){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(r=n.getAttribute("rel"),r==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(r!==s.rel||n.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||n.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||n.getAttribute("title")!==(s.title==null?null:s.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(r=n.getAttribute("src"),(r!==(s.src==null?null:s.src)||n.getAttribute("type")!==(s.type==null?null:s.type)||n.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&r&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(e==="input"&&n.type==="hidden"){var r=s.name==null?null:""+s.name;if(s.type==="hidden"&&n.getAttribute("name")===r)return n}else return n;if(n=Mr(n.nextSibling),n===null)break}return null}function P$(n,e,t){if(e==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!t||(n=Mr(n.nextSibling),n===null))return null;return n}function Q8(n,e){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!e||(n=Mr(n.nextSibling),n===null))return null;return n}function wI(n){return n.data==="$?"||n.data==="$~"}function EI(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function R$(n,e){var t=n.ownerDocument;if(n.data==="$~")n._reactRetry=e;else if(n.data!=="$?"||t.readyState!=="loading")e();else{var i=function(){e(),t.removeEventListener("DOMContentLoaded",i)};t.addEventListener("DOMContentLoaded",i),n._reactRetry=i}}function Mr(n){for(;n!=null;n=n.nextSibling){var e=n.nodeType;if(e===1||e===3)break;if(e===8){if(e=n.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;
vendor: 8,863 bytes, line 49
49if(e==="/$"||e==="/&")return null}}return n}var AI=null;function XN(n){n=n.nextSibling;for(var e=0;n;){if(n.nodeType===8){var t=n.data;if(t==="/$"||t==="/&"){if(e===0)return Mr(n.nextSibling);e--}else t!=="$"&&t!=="$!"&&t!=="$?"&&t!=="$~"&&t!=="&"||e++}n=n.nextSibling}return null}function HN(n){n=n.previousSibling;for(var e=0;n;){if(n.nodeType===8){var t=n.data;if(t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"){if(e===0)return n;e--}else t!=="/$"&&t!=="/&"||e++}n=n.previousSibling}return null}function J8(n,e,t){switch(e=rx(t),n){case"html":if(n=e.documentElement,!n)throw Error(H(452));return n;case"head":if(n=e.head,!n)throw Error(H(453));return n;case"body":if(n=e.body,!n)throw Error(H(454));return n;default:throw Error(H(451))}}function yy(n){for(var e=n.attributes;e.length;)n.removeAttributeNode(e[0]);kD(n)}var Br=new Map,GN=new Set;function ax(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var ql=We.d;We.d={f:k$,r:N$,D:M$,C:O$,L:L$,m:B$,X:F$,S:j$,M:z$};function k$(){var n=ql.f(),e=X1();return n||e}function N$(n){var e=Gg(n);e!==null&&e.tag===5&&e.type==="form"?GB(e):ql.r(n)}var Wg=typeof document>"u"?null:document;function Z8(n,e,t){var i=Wg;if(i&&typeof e=="string"&&e){var s=Ar(e);s='link[rel="'+n+'"][href="'+s+'"]',typeof t=="string"&&(s+='[crossorigin="'+t+'"]'),GN.has(s)||(GN.add(s),n={rel:n,crossOrigin:t,href:e},i.querySelector(s)===null&&(e=i.createElement("link"),ri(e,"link",n),zn(e),i.head.appendChild(e)))}}function M$(n){ql.D(n),Z8("dns-prefetch",n,null)}function O$(n,e){ql.C(n,e),Z8("preconnect",n,e)}function L$(n,e,t){ql.L(n,e,t);var i=Wg;if(i&&n&&e){var s='link[rel="preload"][as="'+Ar(e)+'"]';e==="image"&&t&&t.imageSrcSet?(s+='[imagesrcset="'+Ar(t.imageSrcSet)+'"]',typeof t.imageSizes=="string"&&(s+='[imagesizes="'+Ar(t.imageSizes)+'"]')):s+='[href="'+Ar(n)+'"]';var r=s;switch(e){case"style":r=xg(n);break;case"script":r=Kg(n)}Br.has(r)||(n=Dt({rel:"preload",href:e==="image"&&t&&t.imageSrcSet?void 0:n,as:e},t),Br.set(r,n),i.querySelector(s)!==null||e==="style"&&i.querySelector(db(r))||e==="script"&&i.querySelector(hb(r))||(e=i.createElement("link"),ri(e,"link",n),zn(e),i.head.appendChild(e)))}}function B$(n,e){ql.m(n,e);var t=Wg;if(t&&n){var i=e&&typeof e.as=="string"?e.as:"script",s='link[rel="modulepreload"][as="'+Ar(i)+'"][href="'+Ar(n)+'"]',r=s;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=Kg(n)}if(!Br.has(r)&&(n=Dt({rel:"modulepreload",href:n},e),Br.set(r,n),t.querySelector(s)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(t.querySelector(hb(r)))return}i=t.createElement("link"),ri(i,"link",n),zn(i),t.head.appendChild(i)}}}function j$(n,e,t){ql.S(n,e,t);var i=Wg;if(i&&n){var s=hp(i).hoistableStyles,r=xg(n);e=e||"default";var a=s.get(r);if(!a){var o={loading:0,preload:null};if(a=i.querySelector(db(r)))o.loading=5;else{n=Dt({rel:"stylesheet",href:n,"data-precedence":e},t),(t=Br.get(r))&&yP(n,t);var l=a=i.createElement("link");zn(l),ri(l,"link",n),l._p=new Promise(function(c,u){l.onload=c,l.onerror=u}),l.addEventListener("load",function(){o.loading|=1}),l.addEventListener("error",function(){o.loading|=2}),o.loading|=4,j_(a,e,i)}a={type:"stylesheet",instance:a,count:1,state:o},s.set(r,a)}}}function F$(n,e){ql.X(n,e);var t=Wg;if(t&&n){var i=hp(t).hoistableScripts,s=Kg(n),r=i.get(s);r||(r=t.querySelector(hb(s)),r||(n=Dt({src:n,async:!0},e),(e=Br.get(s))&&vP(n,e),r=t.createElement("script"),zn(r),ri(r,"link",n),t.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},i.set(s,r))}}function z$(n,e){ql.M(n,e);var t=Wg;if(t&&n){var i=hp(t).hoistableScripts,s=Kg(n),r=i.get(s);r||(r=t.querySelector(hb(s)),r||(n=Dt({src:n,async:!0,type:"module"},e),(e=Br.get(s))&&vP(n,e),r=t.createElement("script"),zn(r),ri(r,"link",n),t.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},i.set(s,r))}}function $N(n,e,t,i){var s=(s=Eu.current)?ax(s):null;if(!s)throw Error(H(446));switch(n){case"meta":case"title":return null;case"style":return typeof t.precedence=="string"&&typeof t.href=="string"?(e=xg(t.href),t=hp(s).hoistableStyles,i=t.get(e),i||(i={type:"style",instance:null,count:0,state:null},t.set(e,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(t.rel==="stylesheet"&&typeof t.href=="string"&&typeof t.precedence=="string"){n=xg(t.href);var r=hp(s).hoistableStyles,a=r.get(n);if(a||(s=s.ownerDocument||s,a={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(n,a),(r=s.querySelector(db(n)))&&!r._p&&(a.instance=r,a.state.loading=5),Br.has(n)||(t={rel:"preload",as:"style",href:t.href,crossOrigin:t.crossOrigin,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy},Br.set(n,t),r||U$(s,n,t,a.state))),e&&i===null)throw Error(H(528,""));return a}if(e&&i!==null)throw Error(H(529,""));return null;case"script":return e=t.async,t=t.src,typeof t=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Kg(t),t=hp(s).hoistableScripts,i=t.get(e),i||(i={type:"script",instance:null,count:0,state:null},t.set(e,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(H(444,n))}}function xg(n){return'href="'+Ar(n)+'"'}function db(n){return'link[rel="stylesheet"]['+n+"]"}function ej(n){return Dt({},n,{"data-precedence":n.precedence,precedence:null})}function U$(n,e,t,i){n.querySelector('link[rel="preload"][as="style"]['+e+"]")?i.loading=1:(e=n.createElement("link"),i.preload=e,e.addEventListener("load",function(){return i.loading|=1}),e.addEventListener("error",function(){return i.loading|=2}),ri(e,"link",t),zn(e),n.head.appendChild(e))}function Kg(n){return'[src="'+Ar(n)+'"]'}function hb(n){return"script[async]"+n}function qN(n,e,t){if(e.count++,e.instance===null)switch(e.type){case"style":var i=n.querySelector('style[data-href~="'+Ar(t.href)+'"]');if(i)return e.instance=i,zn(i),i;var s=Dt({},t,{"data-href":t.href,"data-precedence":t.precedence,href:null,precedence:null});return i=(n.ownerDocument||n).createElement("style"),zn(i),ri(i,"style",s),j_(i,t.precedence,n),e.instance=i;case"stylesheet":s=xg(t.href);var r=n.querySelector(db(s));if(r)return e.state.loading|=4,e.instance=r,zn(r),r;i=ej(t),(s=Br.get(s))&&yP(i,s),r=(n.ownerDocument||n).createElement("link"),zn(r);var a=r;return a._p=new Promise(function(o,l){a.onload=o,a.onerror=l}),ri(r,"link",i),e.state.loading|=4,j_(r,t.precedence,n),e.instance=r;case"script":return r=Kg(t.src),(s=n.querySelector(hb(r)))?(e.instance=s,zn(s),s):(i=t,(s=Br.get(r))&&(i=Dt({},t),vP(i,s)),n=n.ownerDocument||n,s=n.createElement("script"),zn(s),ri(s,"link",i),n.head.appendChild(s),e.instance=s);case"void":return null;default:throw Error(H(443,e.type))}else e.type==="stylesheet"&&!(e.state.loading&4)&&(i=e.instance,e.state.loading|=4,j_(i,t.precedence,n));return e.instance}function j_(n,e,t){for(var i=t.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=i.length?i[i.length-1]:null,r=s,a=0;a<i.length;a++){var o=i[a];if(o.dataset.precedence===e)r=o;else if(r!==s)break}r?r.parentNode.insertBefore(n,r.nextSibling):(e=t.nodeType===9?t.head:t,e.insertBefore(n,e.firstChild))}function yP(n,e){n.crossOrigin==null&&(n.crossOrigin=e.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=e.referrerPolicy),n.title==null&&(n.title=e.title)}function vP(n,e){n.crossOrigin==null&&(n.crossOrigin=e.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=e.referrerPolicy),n.integrity==null&&(n.integrity=e.integrity)}var F_=null;function YN(n,e,t){if(F_===null){var i=new Map,s=F_=new Map;s.set(t,i)}else s=F_,i=s.get(t),i||(i=new Map,s.set(t,i));if(i.has(n))return i;for(i.set(n,null),t=t.getElementsByTagName(n),s=0;s<t.length;s++){var r=t[s];if(!(r[rb]||r[ti]||n==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var a=r.getAttribute(e)||"";a=n+a;var o=i.get(a);o?o.push(r):i.set(a,[r])}}return i}function WN(n,e,t){n=n.ownerDocument||n,n.head.insertBefore(t,e==="title"?n.querySelector("head > title"):null)}function V$(n,e,t){if(t===1||e.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return n=e.disabled,typeof e.precedence=="string"&&n==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function tj(n){return!(n.type==="stylesheet"&&!(n.state.loading&3))}function X$(n,e,t,i){if(t.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&
vendor: 5,083 bytes, line 49
49!(t.state.loading&4)){if(t.instance===null){var s=xg(i.href),r=e.querySelector(db(s));if(r){e=r._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(n.count++,n=ox.bind(n),e.then(n,n)),t.state.loading|=4,t.instance=r,zn(r);return}r=e.ownerDocument||e,i=ej(i),(s=Br.get(s))&&yP(i,s),r=r.createElement("link"),zn(r);var a=r;a._p=new Promise(function(o,l){a.onload=o,a.onerror=l}),ri(r,"link",i),t.instance=r}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(t,e),(e=t.state.preload)&&!(t.state.loading&3)&&(n.count++,t=ox.bind(n),e.addEventListener("load",t),e.addEventListener("error",t))}}var vE=0;function H$(n,e){return n.stylesheets&&n.count===0&&z_(n,n.stylesheets),0<n.count||0<n.imgCount?function(t){var i=setTimeout(function(){if(n.stylesheets&&z_(n,n.stylesheets),n.unsuspend){var r=n.unsuspend;n.unsuspend=null,r()}},6e4+e);0<n.imgBytes&&vE===0&&(vE=62500*E$());var s=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&z_(n,n.stylesheets),n.unsuspend)){var r=n.unsuspend;n.unsuspend=null,r()}},(n.imgBytes>vE?50:800)+e);return n.unsuspend=t,function(){n.unsuspend=null,clearTimeout(i),clearTimeout(s)}}:null}function ox(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)z_(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var lx=null;function z_(n,e){n.stylesheets=null,n.unsuspend!==null&&(n.count++,lx=new Map,e.forEach(G$,n),lx=null,ox.call(n))}function G$(n,e){if(!(e.state.loading&4)){var t=lx.get(n);if(t)var i=t.get(null);else{t=new Map,lx.set(n,t);for(var s=n.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<s.length;r++){var a=s[r];(a.nodeName==="LINK"||a.getAttribute("media")!=="not all")&&(t.set(a.dataset.precedence,a),i=a)}i&&t.set(null,i)}s=e.instance,a=s.getAttribute("data-precedence"),r=t.get(a)||i,r===i&&t.set(null,s),t.set(a,s),this.count++,i=ox.bind(this),s.addEventListener("load",i),s.addEventListener("error",i),r?r.parentNode.insertBefore(s,r.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(s,n.firstChild)),e.state.loading|=4}}var Uy={$$typeof:El,Provider:null,Consumer:null,_currentValue:Uh,_currentValue2:Uh,_threadCount:0};function $$(n,e,t,i,s,r,a,o,l){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=Uw(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Uw(0),this.hiddenUpdates=Uw(null),this.identifierPrefix=i,this.onUncaughtError=s,this.onCaughtError=r,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function nj(n,e,t,i,s,r,a,o,l,c,u,h){return n=new $$(n,e,t,a,l,c,u,h,o),e=1,r===!0&&(e|=24),r=Us(3,null,null,e),n.current=r,r.stateNode=n,e=HD(),e.refCount++,n.pooledCache=e,e.refCount++,r.memoizedState={element:i,isDehydrated:t,cache:e},qD(r),n}function ij(n){return n?(n=Kf,n):Kf}function sj(n,e,t,i,s,r){s=ij(s),i.context===null?i.context=s:i.pendingContext=s,i=Iu(e),i.payload={element:t},r=r===void 0?null:r,r!==null&&(i.callback=r),t=Cu(n,i,e),t!==null&&(ss(t,n,e),cy(t,n,e))}function KN(n,e){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var t=n.retryLane;n.retryLane=t!==0&&t<e?t:e}}function bP(n,e){KN(n,e),(n=n.alternate)&&KN(n,e)}function rj(n){if(n.tag===13||n.tag===31){var e=mf(n,67108864);e!==null&&ss(e,n,67108864),bP(n,67108864)}}function QN(n){if(n.tag===13||n.tag===31){var e=Ys();e=PD(e);var t=mf(n,e);t!==null&&ss(t,n,e),bP(n,e)}}var cx=!0;function q$(n,e,t,i){var s=fe.T;fe.T=null;var r=We.p;try{We.p=2,_P(n,e,t,i)}finally{We.p=r,fe.T=s}}function Y$(n,e,t,i){var s=fe.T;fe.T=null;var r=We.p;try{We.p=8,_P(n,e,t,i)}finally{We.p=r,fe.T=s}}function _P(n,e,t,i){if(cx){var s=II(i);if(s===null)gE(n,e,i,ux,t),JN(n,i);else if(K$(s,n,e,t,i))i.stopPropagation();else if(JN(n,i),e&4&&-1<W$.indexOf(n)){for(;s!==null;){var r=Gg(s);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var a=cd(r.pendingLanes);if(a!==0){var o=r;for(o.pendingLanes|=2,o.entangledLanes|=2;a;){var l=1<<31-qs(a);o.entanglements[1]|=l,a&=~l}bo(r),!(Ye&6)&&(ZS=Gs()+500,ub(0))}}break;case 31:case 13:o=mf(r,2),o!==null&&ss(o,r,2),X1(),bP(r,2)}if(r=II(i),r===null&&gE(n,e,i,ux,t),r===s)break;s=r}s!==null&&i.stopPropagation()}else gE(n,e,i,null,t)}}function II(n){return n=MD(n),SP(n)}var ux=null;function SP(n){if(ux=null,n=Hf(n),n!==null){var e=tb(n);if(e===null)n=null;else{var t=e.tag;if(t===13){if(n=A5(e),n!==null)return n;n=null}else if(t===31){if(n=I5(e),n!==null)return n;n=null}else if(t===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;n=null}else e!==n&&(n=null)}}return ux=n,null}function aj(n){switch(n){case"beforetoggle":case"cancel":case"click":case"close"
vendor: 6,268 bytes, line 49
49: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(MH()){case P5:return 2;case R5:return 8;case FS:case OH:return 32;case k5:return 268435456;default:return 32}default:return 32}}var CI=!1,Pu=null,Ru=null,ku=null,Vy=new Map,Xy=new Map,pc=[],W$="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 JN(n,e){switch(n){case"focusin":case"focusout":Pu=null;break;case"dragenter":case"dragleave":Ru=null;break;case"mouseover":case"mouseout":ku=null;break;case"pointerover":case"pointerout":Vy.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Xy.delete(e.pointerId)}}function v0(n,e,t,i,s,r){return n===null||n.nativeEvent!==r?(n={blockedOn:e,domEventName:t,eventSystemFlags:i,nativeEvent:r,targetContainers:[s]},e!==null&&(e=Gg(e),e!==null&&rj(e)),n):(n.eventSystemFlags|=i,e=n.targetContainers,s!==null&&e.indexOf(s)===-1&&e.push(s),n)}function K$(n,e,t,i,s){switch(e){case"focusin":return Pu=v0(Pu,n,e,t,i,s),!0;case"dragenter":return Ru=v0(Ru,n,e,t,i,s),!0;case"mouseover":return ku=v0(ku,n,e,t,i,s),!0;case"pointerover":var r=s.pointerId;return Vy.set(r,v0(Vy.get(r)||null,n,e,t,i,s)),!0;case"gotpointercapture":return r=s.pointerId,Xy.set(r,v0(Xy.get(r)||null,n,e,t,i,s)),!0}return!1}function oj(n){var e=Hf(n.target);if(e!==null){var t=tb(e);if(t!==null){if(e=t.tag,e===13){if(e=A5(t),e!==null){n.blockedOn=e,Lk(n.priority,function(){QN(t)});return}}else if(e===31){if(e=I5(t),e!==null){n.blockedOn=e,Lk(n.priority,function(){QN(t)});return}}else if(e===3&&t.stateNode.current.memoizedState.isDehydrated){n.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}n.blockedOn=null}function U_(n){if(n.blockedOn!==null)return!1;for(var e=n.targetContainers;0<e.length;){var t=II(n.nativeEvent);if(t===null){t=n.nativeEvent;var i=new t.constructor(t.type,t);GA=i,t.target.dispatchEvent(i),GA=null}else return e=Gg(t),e!==null&&rj(e),n.blockedOn=t,!1;e.shift()}return!0}function ZN(n,e,t){U_(n)&&t.delete(e)}function Q$(){CI=!1,Pu!==null&&U_(Pu)&&(Pu=null),Ru!==null&&U_(Ru)&&(Ru=null),ku!==null&&U_(ku)&&(ku=null),Vy.forEach(ZN),Xy.forEach(ZN)}function Wb(n,e){n.blockedOn===e&&(n.blockedOn=null,CI||(CI=!0,Pn.unstable_scheduleCallback(Pn.unstable_NormalPriority,Q$)))}var Kb=null;function eM(n){Kb!==n&&(Kb=n,Pn.unstable_scheduleCallback(Pn.unstable_NormalPriority,function(){Kb===n&&(Kb=null);for(var e=0;e<n.length;e+=3){var t=n[e],i=n[e+1],s=n[e+2];if(typeof i!="function"){if(SP(i||t)===null)continue;break}var r=Gg(t);r!==null&&(n.splice(e,3),e-=3,oI(r,{pending:!0,data:s,method:t.method,action:i},i,s))}}))}function wg(n){function e(l){return Wb(l,n)}Pu!==null&&Wb(Pu,n),Ru!==null&&Wb(Ru,n),ku!==null&&Wb(ku,n),Vy.forEach(e),Xy.forEach(e);for(var t=0;t<pc.length;t++){var i=pc[t];i.blockedOn===n&&(i.blockedOn=null)}for(;0<pc.length&&(t=pc[0],t.blockedOn===null);)oj(t),t.blockedOn===null&&pc.shift();if(t=(n.ownerDocument||n).$$reactFormReplay,t!=null)for(i=0;i<t.length;i+=3){var s=t[i],r=t[i+1],a=s[cs]||null;if(typeof r=="function")a||eM(t);else if(a){var o=null;if(r&&r.hasAttribute("formAction")){if(s=r,a=r[cs]||null)o=a.formAction;else if(SP(s)!==null)continue}else o=a.action;typeof o=="function"?t[i+1]=o:(t.splice(i,3),i-=3),eM(t)}}}function lj(){function n(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(a){return s=a})},focusReset:"manual",scroll:"manual"})}function e(){s!==null&&(s(),s=null),i||setTimeout(t,20)}function t(){if(!i&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,s=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(t,100),function(){i=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),s!==null&&(s(),s=null)}}}function xP(n){this._internalRoot=n}$1.prototype.render=xP.prototype.render=function(n){var e=this._internalRoot;if(e===null)throw Error(H(409));var t=e.current,i=Ys();sj(t,i,n,e,null,null)};$1.prototype.unmount=xP.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var e=n.containerInfo;sj(n.current,2,null,n,null,null),X1(),e[Hg]=null}};function $1(n){this._internalRoot=n}$1.prototype.unstable_scheduleHydration=function(n){if(n){var e=B5();n={blockedOn:null,target:n,priority:e};for(var t=0;t<pc.length&&e!==0&&e<pc[t].priority;t++);pc.splice(t,0,n),t===0&&oj(n)}};var tM=w5.version;if(tM!=="19.2.3")throw Error(H(527,tM,"19.2.3"));We.findDOMNode=function(n){var e=n._reactInternals;if(e===void 0)throw typeof n.render=="function"?Error(H(188)):(n=Object.keys(n).join(","),Error(H(268,n)));return n=CH(e),n=n!==null?C5(n):null,n=n===null?null:n.stateNode,n};var J$={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:fe,reconcilerVersion:"19.2.3"};
49if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Qb=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Qb.isDisabled&&Qb.supportsFiber)try{nb=Qb.inject(J$),$s=Qb}catch{}}D1.createRoot=function(n,e){if(!E5(n))throw Error(H(299));var t=!1,i="",s=ZB,r=e8,a=t8;return e!=null&&(e.unstable_strictMode===!0&&(t=!0),e.identifierPrefix!==void 0&&(i=e.identifierPrefix),e.onUncaughtError!==void 0&&(s=e.onUncaughtError),e.onCaughtError!==void 0&&(r=e.onCaughtError),e.onRecoverableError!==void 0&&(a=e.onRecoverableError)),e=nj(n,1,!1,null,null,t,i,null,s,r,a,lj),n[Hg]=e.current,gP(n),new xP(e)};D1.hydrateRoot=function(n,e,t){if(!E5(n))throw Error(H(299));var i=!1,s="",r=ZB,a=e8,o=t8,l=null;return t!=null&&(t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(s=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(a=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError),t.formState!==void 0&&(l=t.formState)),e=nj(n,1,!0,e,t??null,i,s,l,r,a,o,lj),e.context=ij(null),t=e.current,i=Ys(),i=PD(i),s=Iu(i),s.callback=null,Cu(t,s,i),t=i,e.current.lanes=t,sb(e,t),bo(e),n[Hg]=e.current,gP(n),new $1(e)};D1.version="19.2.3";function cj(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(cj)}catch(n){console.error(n)}}cj(),c5.exports=D1;var Z$=c5.exports;const eq=1,tq=1e6;let bE=0;function nq(){return bE=(bE+1)%Number.MAX_SAFE_INTEGER,bE.toString()}const _E=new Map,nM=n=>{if(_E.has(n))return;const e=setTimeout(()=>{_E.delete(n),vy({type:"REMOVE_TOAST",toastId:n})},tq);_E.set(n,e)},iq=(n,e)=>{switch(e.type){case"ADD_TOAST":return{...n,toasts:[e.toast,...n.toasts].slice(0,eq)};case"UPDATE_TOAST":return{...n,toasts:n.toasts.map(t=>t.id===e.toast.id?{...t,...e.toast}:t)};case"DISMISS_TOAST":{const{toastId:t}=e;return t?nM(t):n.toasts.forEach(i=>{nM(i.id)}),{...n,toasts:n.toasts.map(i=>i.id===t||t===void 0?{...i,open:!1}:i)}}case"REMOVE_TOAST":return e.toastId===void 0?{...n,toasts:[]}:{...n,toasts:n.toasts.filter(t=>t.id!==e.toastId)}}},V_=[];let X_={toasts:[]};function vy(n){X_=iq(X_,n),V_.forEach(e=>{e(X_)})}function sq({...n}){const e=nq(),t=s=>vy({type:"UPDATE_TOAST",toast:{...s,id:e}}),i=()=>vy({type:"DISMISS_TOAST",toastId:e});return vy({type:"ADD_TOAST",toast:{...n,id:e,open:!0,onOpenChange:s=>{s||i()}}}),{id:e,dismiss:i,update:t}}function uj(){const[n,e]=w.useState(X_);return w.useEffect(()=>(V_.push(e),()=>{const t=V_.indexOf(e);t>-1&&V_.splice(t,1)}),[n]),{...n,toast:sq,dismiss:t=>vy({type:"DISMISS_TOAST",toastId:t})}}function He(n,e,{checkForDefaultPrevented:t=!0}={}){return function(s){if(n==null||n(s),t===!1||!s.defaultPrevented)return e==null?void 0:e(s)}}function iM(n,e){if(typeof n=="function")return n(e);n!=null&&(n.current=e)}function dj(...n){return e=>{let t=!1;const i=n.map(s=>{const r=iM(s,e);return!t&&typeof r=="function"&&(t=!0),r});if(t)return()=>{for(let s=0;s<i.length;s++){const r=i[s];typeof r=="function"?r():iM(n[s],null)}}}}function nt(...n){return w.useCallback(dj(...n),n)}function hj(n,e){const t=w.createContext(e),i=r=>{const{children:a,...o}=r,l=w.useMemo(()=>o,Object.values(o));return m.jsx(t.Provider,{value:l,children:a})};i.displayName=n+"Provider";function s(r){const a=w.useContext(t);if(a)return a;if(e!==void 0)return e;throw new Error(`\`${r}\` must be used within \`${n}\``)}return[i,s]}function Yl(n,e=[]){let t=[];function i(r,a){const o=w.createContext(a),l=t.length;t=[...t,a];const c=h=>{var y;const{scope:f,children:p,...b}=h,g=((y=f==null?void 0:f[n])==null?void 0:y[l])||o,S=w.useMemo(()=>b,Object.values(b));return m.jsx(g.Provider,{value:S,children:p})};c.displayName=r+"Provider";function u(h,f){var g;const p=((g=f==null?void 0:f[n])==null?void 0:g[l])||o,b=w.useContext(p);if(b)return b;if(a!==void 0)return a;throw new Error(`\`${h}\` must be used within \`${r}\``)}return[c,u]}const s=()=>{const r=t.map(a=>w.createContext(a));return function(o){const l=(o==null?void 0:o[n])||r;return w.useMemo(()=>({[`__scope${n}`]:{...o,[n]:l}}),[o,l])}};return s.scopeName=n,[i,rq(s,...e)]}function rq(...n){const e=n[0];if(n.length===1)return e;const t=()=>{const i=n.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(r){const a=i.reduce((o,{useScope:l,scopeName:c}
vendor: 6,058 bytes, line 49
49)=>{const h=l(r)[`__scope${c}`];return{...o,...h}},{});return w.useMemo(()=>({[`__scope${e.scopeName}`]:a}),[a])}};return t.scopeName=e.scopeName,t}function Eg(n){const e=oq(n),t=w.forwardRef((i,s)=>{const{children:r,...a}=i,o=w.Children.toArray(r),l=o.find(lq);if(l){const c=l.props.children,u=o.map(h=>h===l?w.Children.count(c)>1?w.Children.only(null):w.isValidElement(c)?c.props.children:null:h);return m.jsx(e,{...a,ref:s,children:w.isValidElement(c)?w.cloneElement(c,void 0,u):null})}return m.jsx(e,{...a,ref:s,children:r})});return t.displayName=`${n}.Slot`,t}var aq=Eg("Slot");function oq(n){const e=w.forwardRef((t,i)=>{const{children:s,...r}=t;if(w.isValidElement(s)){const a=uq(s),o=cq(r,s.props);return s.type!==w.Fragment&&(o.ref=i?dj(i,a):a),w.cloneElement(s,o)}return w.Children.count(s)>1?w.Children.only(null):null});return e.displayName=`${n}.SlotClone`,e}var fj=Symbol("radix.slottable");function pj(n){const e=({children:t})=>m.jsx(m.Fragment,{children:t});return e.displayName=`${n}.Slottable`,e.__radixId=fj,e}function lq(n){return w.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===fj}function cq(n,e){const t={...e};for(const i in e){const s=n[i],r=e[i];/^on[A-Z]/.test(i)?s&&r?t[i]=(...o)=>{const l=r(...o);return s(...o),l}:s&&(t[i]=s):i==="style"?t[i]={...s,...r}:i==="className"&&(t[i]=[s,r].filter(Boolean).join(" "))}return{...n,...t}}function uq(n){var i,s;let e=(i=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:i.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=(s=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:s.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}function mj(n){const e=n+"CollectionProvider",[t,i]=Yl(e),[s,r]=t(e,{collectionRef:{current:null},itemMap:new Map}),a=g=>{const{scope:S,children:y}=g,v=V.useRef(null),_=V.useRef(new Map).current;return m.jsx(s,{scope:S,itemMap:_,collectionRef:v,children:y})};a.displayName=e;const o=n+"CollectionSlot",l=Eg(o),c=V.forwardRef((g,S)=>{const{scope:y,children:v}=g,_=r(o,y),x=nt(S,_.collectionRef);return m.jsx(l,{ref:x,children:v})});c.displayName=o;const u=n+"CollectionItemSlot",h="data-radix-collection-item",f=Eg(u),p=V.forwardRef((g,S)=>{const{scope:y,children:v,..._}=g,x=V.useRef(null),E=nt(S,x),C=r(u,y);return V.useEffect(()=>(C.itemMap.set(x,{ref:x,..._}),()=>void C.itemMap.delete(x))),m.jsx(f,{[h]:"",ref:E,children:v})});p.displayName=u;function b(g){const S=r(n+"CollectionConsumer",g);return V.useCallback(()=>{const v=S.collectionRef.current;if(!v)return[];const _=Array.from(v.querySelectorAll(`[${h}]`));return Array.from(S.itemMap.values()).sort((C,I)=>_.indexOf(C.ref.current)-_.indexOf(I.ref.current))},[S.collectionRef,S.itemMap])}return[{Provider:a,Slot:c,ItemSlot:p},b,i]}var dq=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Le=dq.reduce((n,e)=>{const t=Eg(`Primitive.${e}`),i=w.forwardRef((s,r)=>{const{asChild:a,...o}=s,l=a?t:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),m.jsx(l,{...o,ref:r})});return i.displayName=`Primitive.${e}`,{...n,[e]:i}},{});function fb(n,e){n&&eb.flushSync(()=>n.dispatchEvent(e))}function _i(n){const e=w.useRef(n);return w.useEffect(()=>{e.current=n}),w.useMemo(()=>(...t)=>{var i;return(i=e.current)==null?void 0:i.call(e,...t)},[])}function q1(n,e=globalThis==null?void 0:globalThis.document){const t=_i(n);w.useEffect(()=>{const i=s=>{s.key==="Escape"&&t(s)};return e.addEventListener("keydown",i,{capture:!0}),()=>e.removeEventListener("keydown",i,{capture:!0})},[t,e])}var hq="DismissableLayer",TI="dismissableLayer.update",fq="dismissableLayer.pointerDownOutside",pq="dismissableLayer.focusOutside",sM,gj=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yj=w.forwardRef((n,e)=>{const{disableOutsidePointerEvents:t=!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:r,onInteractOutside:a,onDismiss:o,...l}=n,c=w.useContext(gj),[u,h]=w.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=w.useState({}),b=nt(e,I=>h(I)),g=Array.from(c.layers),[S]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(S),v=u?g.indexOf(u):-1,_=c.layersWithOutsidePointerEventsDisabled.size>0,x=v>=y,E=gq(I=>{const R=I.target,D=[...c.branches].some(k=>k.contains(R));!x||D||(s==null||s(I),a==null||a(I),I.defaultPrevented||o==null||o())},f),C=yq(I=>{const R=I.target;[...c.branches].some(k=>k.contains(R))||(r==null||r(I),a==null||a(I),I.defaultPrevented||o==null||o())},f);return q1(I=>{v===c.layers.size-1&&(i==null||i(I),!I.defaultPrevented&&o&&(I.preventDefault(),o()))},f),w.useEffect(()=>{if(u)return t&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(sM=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),rM(),()=>{t&&c.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=sM)}},[u,f,t,c]),w.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),rM())},[u,c]),w.useEffect(()=>{const I=()=>p({});return document.addEventListener(TI,I),()=>document.removeEventListener(TI,I)},[]),m.jsx(Le.div,{...l,ref:b,style:{pointerEvents:_?x?"auto":"none":void 0,...n.style},onFocusCapture:He(n.onFocusCapture,C.onFocusCapture),onBlurCapture:He(n.onBlurCapture,C.onBlurCapture),onPointerDownCapture:He(n.onPointerDownCapture,E.onPointerDownCapture)})});yj.displayName=hq;var mq="DismissableLayerBranch",vj=w.forwardRef((n,e)=>{const t=w.useContext(gj),i=w.useRef(null),s=nt(e,i);return w.useEffect(()=>{const r=i.current;if(r)return t.branches.add(r),()=>{t.branches.delete(r)}},[t.branches]),m.jsx(Le.div,{...n,ref:s})});vj.displayName=mq;function gq(n,e=globalThis==null?void 0:globalThis.document){const t=_i(n),i=w.useRef(!1),s=w.useRef(()=>{});return w.useEffect(()=>{const r=o=>{if(o.target&&!i.current){let l=function(){bj(fq,t,c,{discrete:!0})};const c={originalEvent:o};
49o.pointerType==="touch"?(e.removeEventListener("click",s.current),s.current=l,e.addEventListener("click",s.current,{once:!0})):l()}else e.removeEventListener("click",s.current);i.current=!1},a=window.setTimeout(()=>{e.addEventListener("pointerdown",r)},0);return()=>{window.clearTimeout(a),e.removeEventListener("pointerdown",r),e.removeEventListener("click",s.current)}},[e,t]),{onPointerDownCapture:()=>i.current=!0}}function yq(n,e=globalThis==null?void 0:globalThis.document){const t=_i(n),i=w.useRef(!1);return w.useEffect(()=>{const s=r=>{r.target&&!i.current&&bj(pq,t,{originalEvent:r},{discrete:!1})};return e.addEventListener("focusin",s),()=>e.removeEventListener("focusin",s)},[e,t]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function rM(){const n=new CustomEvent(TI);document.dispatchEvent(n)}function bj(n,e,t,{discrete:i}){const s=t.originalEvent.target,r=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:t});e&&s.addEventListener(n,e,{once:!0}),i?fb(s,r):s.dispatchEvent(r)}var vq=yj,bq=vj,jr=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},_q="Portal",Y1=w.forwardRef((n,e)=>{var o;const{container:t,...i}=n,[s,r]=w.useState(!1);jr(()=>r(!0),[]);const a=t||s&&((o=globalThis==null?void 0:globalThis.document)==null?void 0:o.body);return a?x5.createPortal(m.jsx(Le.div,{...i,ref:e}),a):null});Y1.displayName=_q;function Sq(n,e){return w.useReducer((t,i)=>e[t][i]??t,n)}var yf=n=>{const{present:e,children:t}=n,i=xq(e),s=typeof t=="function"?t({present:i.isPresent}):w.Children.only(t),r=nt(i.ref,wq(s));return typeof t=="function"||i.isPresent?w.cloneElement(s,{ref:r}):null};yf.displayName="Presence";function xq(n){const[e,t]=w.useState(),i=w.useRef(null),s=w.useRef(n),r=w.useRef("none"),a=n?"mounted":"unmounted",[o,l]=Sq(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const c=Jb(i.current);r.current=o==="mounted"?c:"none"},[o]),jr(()=>{const c=i.current,u=s.current;if(u!==n){const f=r.current,p=Jb(c);n?l("MOUNT"):p==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(u&&f!==p?"ANIMATION_OUT":"UNMOUNT"),s.current=n}},[n,l]),jr(()=>{if(e){let c;const u=e.ownerDocument.defaultView??window,h=p=>{const g=Jb(i.current).includes(p.animationName);if(p.target===e&&g&&(l("ANIMATION_END"),!s.current)){const S=e.style.animationFillMode;e.style.animationFillMode="forwards",c=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=S)})}},f=p=>{p.target===e&&(r.current=Jb(i.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",h),e.addEventListener("animationend",h),()=>{u.clearTimeout(c),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",h),e.removeEventListener("animationend",h)}}else l("ANIMATION_END")},[e,l]),{isPresent:["mounted","unmountSuspended"].includes(o),ref:w.useCallback(c=>{i.current=c?getComputedStyle(c):null,t(c)},[])}}function Jb(n){return(n==null?void 0:n.animationName)||"none"}function wq(n){var i,s;let e=(i=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:i.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=(s=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:s.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}var Eq=ID[" useInsertionEffect ".trim().toString()]||jr;function Qg({prop:n,defaultProp:e,onChange:t=()=>{},caller:i}){const[s,r,a]=Aq({defaultProp:e,onChange:t}),o=n!==void 0,l=o?n:s;{const u=w.useRef(n!==void 0);w.useEffect(()=>{const h=u.current;h!==o&&console.warn(`${i} is changing from ${h?"controlled":"uncontrolled"} to ${o?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=o},[o,i])}const c=w.useCallback(u=>{var h;if(o){const f=Iq(u)?u(n):u;f!==n&&((h=a.current)==null||h.call(a,f))}else r(u)},[o,n,r,a]);return[l,c]}function Aq({defaultProp:n,onChange:e}){const[t,i]=w.useState(n),s=w.useRef(t),r=w.useRef(e);return Eq(()=>{r.current=e},[e]),w.useEffect(()=>{var a;s.current!==t&&((a=r.current)==null||a.call(r,t),s.current=t)},[t,s]),[t,i,r]}function Iq(n){return typeof n=="function"}var Cq=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Tq="VisuallyHidden",W1=w.forwardRef((n,e)=>m.jsx(Le.span,{...n,ref:e,style:{...Cq,...n.style}}));W1.displayName=Tq;var Dq=W1,wP="ToastProvider",[EP,Pq,Rq]=mj("Toast"),[_j,Bme]=Yl("Toast",[Rq]),[kq,K1]=_j(wP),Sj=n=>{const{__scopeToast:e,label:t="Notification",duration:i=5e3,swipeDirection:s="right",swipeThreshold:r=50,children:a}=n,[o,l]=w.useState(null),[c,u]=w.useState(0),h=w.useRef(!1),f=w.useRef(!1);return t.trim()||console.error(`Invalid prop \`label\` supplied to \`${wP}\`. Expected non-empty \`string\`.`),m.jsx(EP.Provider,{scope:e,children:m.jsx(kq,{scope:e,label:t,duration:i,swipeDirection:s,swipeThreshold:r,toastCount:c,viewport:o,onViewportChange:l,onToastAdd:w.useCallback(()=>u(p=>p+1),[]),onToastRemove:w.useCallback(()=>u(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:f,children:a})})};Sj.displayName=wP;var xj="ToastViewport",Nq=["F8"],DI="toast.viewportPause",PI="toast.viewportResume",wj=w.forwardRef((n,e)=>{const{__scopeToast:t,hotkey:i=Nq,label:s="Notifications ({hotkey})",...r}=n,a=K1(xj,t),o=Pq(t),l=w.useRef(null),c=w.useRef(null),u=w.useRef(null),h=w.useRef(null),f=nt(e,h,a.onViewportChange),p=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=a.toastCount>0;w.useEffect(()=>{const S=y=>{var _;i.length!==0&&i.every(x=>y[x]||y.code===x)&&((_=h.current)==null||_.focus())};return document.addEventListener("keydown",S),()=>document.removeEventListener("keydown",S)},[i]),w.useEffect(()=>{const S=l.current,y=h.current;if(b&&S&&y){const v=()=>{if(!a.isClosePausedRef.current){const C=new CustomEvent(DI);y.dispatchEvent(C),a.isClosePausedRef.current=!0}},_=()=>{if(a.isClosePausedRef.current){const C=new CustomEvent(PI);y.dispatchEvent(C),a.isClosePausedRef.current=!1}},x=C=>{!S.contains(C.relatedTarget)&&_()},E=()=>{S.contains(document.activeElement)||_()};return S.addEventListener("focusin",v),S.addEventListener("focusout",x),S.addEventListener("pointermove",v),S.addEventListener("pointerleave",E),window.addEventListener("blur",v),window.addEventListener("focus",_),()=>{S.removeEventListener("focusin",v),S.removeEventListener("focusout",x),S.removeEventListener("pointermove",v),S.removeEventListener("pointerleave",E),window.removeEventListener("blur",v),window.removeEventListener("focus",_)}}},[b,a.isClosePausedRef]);const g=w.useCallback(({tabbingDirection:S})=>{const v=o().map(_=>{const x=_.ref.current,E=[x,...$q(x)];return S==="forwards"?E:E.reverse()});return(S==="forwards"?v.reverse():v).flat()},[o]);return w.useEffect(()=>{const S=h.current;if(S){const y=v=>{var E,C,I;const _=v.altKey||v.ctrlKey||v.metaKey;if(v.key==="Tab"&&!_){const R=document.activeElement,D=v.shiftKey;if(v.target===S&&D){(E=c.current)==null||E.focus();return}const O=g({tabbingDirection:D?"backwards":"forwards"}),j=O.findIndex(L=>L===R);SE(O.slice(j+1))?v.preventDefault():D?(C=c.current)==null||C.focus():(I=u.current)==null||I.focus()}};return S.addEventListener("keydown",y),()=>S.removeEventListener("keydown",y)}},[o,g]),m.jsxs(bq,{ref:l,role:"region","aria-label":s.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:b?void 0:"none"},children:[b&&m.jsx(RI,{ref:c,onFocusFromOutsideViewport:()=>{const S=g({tabbingDirection:"forwards"});
49SE(S)}}),m.jsx(EP.Slot,{scope:t,children:m.jsx(Le.ol,{tabIndex:-1,...r,ref:f})}),b&&m.jsx(RI,{ref:u,onFocusFromOutsideViewport:()=>{const S=g({tabbingDirection:"backwards"});SE(S)}})]})});wj.displayName=xj;var Ej="ToastFocusProxy",RI=w.forwardRef((n,e)=>{const{__scopeToast:t,onFocusFromOutsideViewport:i,...s}=n,r=K1(Ej,t);return m.jsx(W1,{"aria-hidden":!0,tabIndex:0,...s,ref:e,style:{position:"fixed"},onFocus:a=>{var c;const o=a.relatedTarget;!((c=r.viewport)!=null&&c.contains(o))&&i()}})});RI.displayName=Ej;var pb="Toast",Mq="toast.swipeStart",Oq="toast.swipeMove",Lq="toast.swipeCancel",Bq="toast.swipeEnd",Aj=w.forwardRef((n,e)=>{const{forceMount:t,open:i,defaultOpen:s,onOpenChange:r,...a}=n,[o,l]=Qg({prop:i,defaultProp:s??!0,onChange:r,caller:pb});return m.jsx(yf,{present:t||o,children:m.jsx(zq,{open:o,...a,ref:e,onClose:()=>l(!1),onPause:_i(n.onPause),onResume:_i(n.onResume),onSwipeStart:He(n.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:He(n.onSwipeMove,c=>{const{x:u,y:h}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${h}px`)}),onSwipeCancel:He(n.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:He(n.onSwipeEnd,c=>{const{x:u,y:h}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${h}px`),l(!1)})})})});Aj.displayName=pb;var[jq,Fq]=_j(pb,{onClose(){}}),zq=w.forwardRef((n,e)=>{const{__scopeToast:t,type:i="foreground",duration:s,open:r,onClose:a,onEscapeKeyDown:o,onPause:l,onResume:c,onSwipeStart:u,onSwipeMove:h,onSwipeCancel:f,onSwipeEnd:p,...b}=n,g=K1(pb,t),[S,y]=w.useState(null),v=nt(e,L=>y(L)),_=w.useRef(null),x=w.useRef(null),E=s||g.duration,C=w.useRef(0),I=w.useRef(E),R=w.useRef(0),{onToastAdd:D,onToastRemove:k}=g,N=_i(()=>{var U;(S==null?void 0:S.contains(document.activeElement))&&((U=g.viewport)==null||U.focus()),a()}),O=w.useCallback(L=>{!L||L===1/0||(window.clearTimeout(R.current),C.current=new Date().getTime(),R.current=window.setTimeout(N,L))},[N]);w.useEffect(()=>{const L=g.viewport;if(L){const U=()=>{O(I.current),c==null||c()},M=()=>{const B=new Date().getTime()-C.current;I.current=I.current-B,window.clearTimeout(R.current),l==null||l()};return L.addEventListener(DI,M),L.addEventListener(PI,U),()=>{L.removeEventListener(DI,M),L.removeEventListener(PI,U)}}},[g.viewport,E,l,c,O]),w.useEffect(()=>{r&&!g.isClosePausedRef.current&&O(E)},[r,E,g.isClosePausedRef,O]),w.useEffect(()=>(D(),()=>k()),[D,k]);const j=w.useMemo(()=>S?kj(S):null,[S]);return g.viewport?m.jsxs(m.Fragment,{children:[j&&m.jsx(Uq,{__scopeToast:t,role:"status","aria-live":i==="foreground"?"assertive":"polite","aria-atomic":!0,children:j}),m.jsx(jq,{scope:t,onClose:N,children:eb.createPortal(m.jsx(EP.ItemSlot,{scope:t,children:m.jsx(vq,{asChild:!0,onEscapeKeyDown:He(o,()=>{g.isFocusedToastEscapeKeyDownRef.current||N(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:m.jsx(Le.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":r?"open":"closed","data-swipe-direction":g.swipeDirection,...b,ref:v,style:{userSelect:"none",touchAction:"none",...n.style},onKeyDown:He(n.onKeyDown,L=>{L.key==="Escape"&&(o==null||o(L.nativeEvent),L.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,N()))}),onPointerDown:He(n.onPointerDown,L=>{L.button===0&&(_.current={x:L.clientX,y:L.clientY})}),onPointerMove:He(n.onPointerMove,L=>{if(!_.current)return;const U=L.clientX-_.current.x,M=L.clientY-_.current.y,B=!!x.current,F=["left","right"].includes(g.swipeDirection),z=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,G=F?z(0,U):0,te=F?0:z(0,M),Y=L.pointerType==="touch"?10:2,X={x:G,y:te},W={originalEvent:L,delta:X};B?(x.current=X,Zb(Oq,h,W,{discrete:!1})):aM(X,g.swipeDirection,Y)?(x.current=X,Zb(Mq,u,W,{discrete:!1}),L.target.setPointerCapture(L.pointerId)):(Math.abs(U)>Y||Math.abs(M)>Y)&&(_.current=null)}),onPointerUp:He(n.onPointerUp,L=>{const U=x.current,M=L.target;if(M.hasPointerCapture(L.pointerId)&&M.releasePointerCapture(L.pointerId),x.current=null,_.current=null,U){const B=L.currentTarget,F={originalEvent:L,delta:U};aM(U,g.swipeDirection,g.swipeThreshold)?Zb(Bq,p,F,{discrete:!0}):Zb(Lq,f,F,{discrete:!0}),B.addEventListener("click",z=>z.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),Uq=n=>{const{__scopeToast:e,children:t,...i}=n,s=K1(pb,e),[r,a]=w.useState(!1),[o,l]=w.useState(!1);return Hq(()=>a(!0)),w.useEffect(()=>{const c=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(c)},[]),o?null:m.jsx(Y1,{asChild:!0,children:m.jsx(W1,{...i,children:r&&m.jsxs(m.Fragment,{children:[s.label," ",t]})})})},Vq="ToastTitle",Ij=w.forwardRef((n,e)=>{const{__scopeToast:t,...i}=n;return m.jsx(Le.div,{...i,ref:e})});Ij.displayName=Vq;var Xq="ToastDescription",Cj=w.forwardRef((n,e)=>{const{__scopeToast:t,...i}=n;return m.jsx(Le.div,{...i,ref:e})});Cj.displayName=Xq;var Tj="ToastAction",Dj=w.forwardRef((n,e)=>{const{altText:t,...i}=n;return t.trim()?m.jsx(Rj,{altText:t,asChild:!0,children:m.jsx(AP,{...i,ref:e})}):(console.error(`Invalid prop \`altText\` supplied to \`${Tj}\`. Expected non-empty \`string\`.`),null)});Dj.displayName=Tj;var Pj="ToastClose",AP=w.forwardRef((n,e)=>{const{__scopeToast:t,...i}=n,s=Fq(Pj,t);return m.jsx(Rj,{asChild:!0,children:m.jsx(Le.button,{type:"button",...i,ref:e,onClick:He(n.onClick,s.onClose)})})});AP.displayName=Pj;var Rj=w.forwardRef((n,e)=>{const{__scopeToast:t,altText:i,...s}=n;return m.jsx(Le.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":i||void 0,...s,ref:e})});function kj(n){const e=[];
vendor: 6,284 bytes, lines 49-104
49return Array.from(n.childNodes).forEach(i=>{if(i.nodeType===i.TEXT_NODE&&i.textContent&&e.push(i.textContent),Gq(i)){const s=i.ariaHidden||i.hidden||i.style.display==="none",r=i.dataset.radixToastAnnounceExclude==="";if(!s)if(r){const a=i.dataset.radixToastAnnounceAlt;a&&e.push(a)}else e.push(...kj(i))}}),e}function Zb(n,e,t,{discrete:i}){const s=t.originalEvent.currentTarget,r=new CustomEvent(n,{bubbles:!0,cancelable:!0,detail:t});e&&s.addEventListener(n,e,{once:!0}),i?fb(s,r):s.dispatchEvent(r)}var aM=(n,e,t=0)=>{const i=Math.abs(n.x),s=Math.abs(n.y),r=i>s;return e==="left"||e==="right"?r&&i>t:!r&&s>t};function Hq(n=()=>{}){const e=_i(n);jr(()=>{let t=0,i=0;return t=window.requestAnimationFrame(()=>i=window.requestAnimationFrame(e)),()=>{window.cancelAnimationFrame(t),window.cancelAnimationFrame(i)}},[e])}function Gq(n){return n.nodeType===n.ELEMENT_NODE}function $q(n){const e=[],t=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const s=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||s?NodeFilter.FILTER_SKIP:i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)e.push(t.currentNode);return e}function SE(n){const e=document.activeElement;return n.some(t=>t===e?!0:(t.focus(),document.activeElement!==e))}var qq=Sj,Nj=wj,Mj=Aj,Oj=Ij,Lj=Cj,Bj=Dj,jj=AP;function Fj(n){var e,t,i="";if(typeof n=="string"||typeof n=="number")i+=n;else if(typeof n=="object")if(Array.isArray(n)){var s=n.length;for(e=0;e<s;e++)n[e]&&(t=Fj(n[e]))&&(i&&(i+=" "),i+=t)}else for(t in n)n[t]&&(i&&(i+=" "),i+=t);return i}function Jg(){for(var n,e,t=0,i="",s=arguments.length;t<s;t++)(n=arguments[t])&&(e=Fj(n))&&(i&&(i+=" "),i+=e);return i}const oM=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,lM=Jg,zj=(n,e)=>t=>{var i;if((e==null?void 0:e.variants)==null)return lM(n,t==null?void 0:t.class,t==null?void 0:t.className);const{variants:s,defaultVariants:r}=e,a=Object.keys(s).map(c=>{const u=t==null?void 0:t[c],h=r==null?void 0:r[c];if(u===null)return null;const f=oM(u)||oM(h);return s[c][f]}),o=t&&Object.entries(t).reduce((c,u)=>{let[h,f]=u;return f===void 0||(c[h]=f),c},{}),l=e==null||(i=e.compoundVariants)===null||i===void 0?void 0:i.reduce((c,u)=>{let{class:h,className:f,...p}=u;return Object.entries(p).every(b=>{let[g,S]=b;return Array.isArray(S)?S.includes({...r,...o}[g]):{...r,...o}[g]===S})?[...c,h,f]:c},[]);return lM(n,a,l,t==null?void 0:t.class,t==null?void 0:t.className)};/** 50 * @license lucide-react v0.462.0 - ISC 51 * 52 * This source code is licensed under the ISC license. 53 * See the LICENSE file in the root directory of this source tree. 54 */const Yq=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Uj=(...n)=>n.filter((e,t,i)=>!!e&&e.trim()!==""&&i.indexOf(e)===t).join(" ").trim();/** 55 * @license lucide-react v0.462.0 - ISC 56 * 57 * This source code is licensed under the ISC license. 58 * See the LICENSE file in the root directory of this source tree. 59 */var Wq={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 60 * @license lucide-react v0.462.0 - ISC 61 * 62 * This source code is licensed under the ISC license. 63 * See the LICENSE file in the root directory of this source tree. 64 */const Kq=w.forwardRef(({color:n="currentColor",size:e=24,strokeWidth:t=2,absoluteStrokeWidth:i,className:s="",children:r,iconNode:a,...o},l)=>w.createElement("svg",{ref:l,...Wq,width:e,height:e,stroke:n,strokeWidth:i?Number(t)*24/Number(e):t,className:Uj("lucide",s),...o},[...a.map(([c,u])=>w.createElement(c,u)),...Array.isArray(r)?r:[r]]));/** 65 * @license lucide-react v0.462.0 - ISC 66 * 67 * This source code is licensed under the ISC license. 68 * See the LICENSE file in the root directory of this source tree. 69 */const ga=(n,e)=>{const t=w.forwardRef(({className:i,...s},r)=>w.createElement(Kq,{ref:r,iconNode:e,className:Uj(`lucide-${Yq(n)}`,i),...s}));return t.displayName=`${n}`,t};/** 70 * @license lucide-react v0.462.0 - ISC 71 * 72 * This source code is licensed under the ISC license. 73 * See the LICENSE file in the root directory of this source tree. 74 */const Qq=ga("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** 75 * @license lucide-react v0.462.0 - ISC 76 * 77 * This source code is licensed under the ISC license. 78 * See the LICENSE file in the root directory of this source tree. 79 */const Vj=ga("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 80 * @license lucide-react v0.462.0 - ISC 81 * 82 * This source code is licensed under the ISC license. 83 * See the LICENSE file in the root directory of this source tree. 84 */const kI=ga("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 85 * @license lucide-react v0.462.0 - ISC 86 * 87 * This source code is licensed under the ISC license. 88 * See the LICENSE file in the root directory of this source tree. 89 */const Jq=ga("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** 90 * @license lucide-react v0.462.0 - ISC 91 * 92 * This source code is licensed under the ISC license. 93 * See the LICENSE file in the root directory of this source tree. 94 */const Zq=ga("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** 95 * @license lucide-react v0.462.0 - ISC 96 * 97 * This source code is licensed under the ISC license. 98 * See the LICENSE file in the root directory of this source tree. 99 */const eY=ga("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/** 100 * @license lucide-react v0.462.0 - ISC 101 * 102 * This source code is licensed under the ISC license. 103 * See the LICENSE file in the root directory of this source tree. 104 */const cM=ga("ShieldAlert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
vendor: 7,388 bytes, lines 104-124
104y:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);/** 105 * @license lucide-react v0.462.0 - ISC 106 * 107 * This source code is licensed under the ISC license. 108 * See the LICENSE file in the root directory of this source tree. 109 */const uM=ga("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/** 110 * @license lucide-react v0.462.0 - ISC 111 * 112 * This source code is licensed under the ISC license. 113 * See the LICENSE file in the root directory of this source tree. 114 */const Q1=ga("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** 115 * @license lucide-react v0.462.0 - ISC 116 * 117 * This source code is licensed under the ISC license. 118 * See the LICENSE file in the root directory of this source tree. 119 */const tY=ga("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);/** 120 * @license lucide-react v0.462.0 - ISC 121 * 122 * This source code is licensed under the ISC license. 123 * See the LICENSE file in the root directory of this source tree. 124 */const nY=ga("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),IP="-",iY=n=>{const e=rY(n),{conflictingClassGroups:t,conflictingClassGroupModifiers:i}=n;return{getClassGroupId:a=>{const o=a.split(IP);return o[0]===""&&o.length!==1&&o.shift(),Xj(o,e)||sY(a)},getConflictingClassGroupIds:(a,o)=>{const l=t[a]||[];return o&&i[a]?[...l,...i[a]]:l}}},Xj=(n,e)=>{var a;if(n.length===0)return e.classGroupId;const t=n[0],i=e.nextPart.get(t),s=i?Xj(n.slice(1),i):void 0;if(s)return s;if(e.validators.length===0)return;const r=n.join(IP);return(a=e.validators.find(({validator:o})=>o(r)))==null?void 0:a.classGroupId},dM=/^\[(.+)\]$/,sY=n=>{if(dM.test(n)){const e=dM.exec(n)[1],t=e==null?void 0:e.substring(0,e.indexOf(":"));if(t)return"arbitrary.."+t}},rY=n=>{const{theme:e,prefix:t}=n,i={nextPart:new Map,validators:[]};return oY(Object.entries(n.classGroups),t).forEach(([r,a])=>{NI(a,i,r,e)}),i},NI=(n,e,t,i)=>{n.forEach(s=>{if(typeof s=="string"){const r=s===""?e:hM(e,s);r.classGroupId=t;return}if(typeof s=="function"){if(aY(s)){NI(s(i),e,t,i);return}e.validators.push({validator:s,classGroupId:t});return}Object.entries(s).forEach(([r,a])=>{NI(a,hM(e,r),t,i)})})},hM=(n,e)=>{let t=n;return e.split(IP).forEach(i=>{t.nextPart.has(i)||t.nextPart.set(i,{nextPart:new Map,validators:[]}),t=t.nextPart.get(i)}),t},aY=n=>n.isThemeGetter,oY=(n,e)=>e?n.map(([t,i])=>{const s=i.map(r=>typeof r=="string"?e+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([a,o])=>[e+a,o])):r);return[t,s]}):n,lY=n=>{if(n<1)return{get:()=>{},set:()=>{}};let e=0,t=new Map,i=new Map;const s=(r,a)=>{t.set(r,a),e++,e>n&&(e=0,i=t,t=new Map)};return{get(r){let a=t.get(r);if(a!==void 0)return a;if((a=i.get(r))!==void 0)return s(r,a),a},set(r,a){t.has(r)?t.set(r,a):s(r,a)}}},Hj="!",cY=n=>{const{separator:e,experimentalParseClassName:t}=n,i=e.length===1,s=e[0],r=e.length,a=o=>{const l=[];let c=0,u=0,h;for(let S=0;S<o.length;S++){let y=o[S];if(c===0){if(y===s&&(i||o.slice(S,S+r)===e)){l.push(o.slice(u,S)),u=S+r;continue}if(y==="/"){h=S;continue}}y==="["?c++:y==="]"&&c--}const f=l.length===0?o:o.substring(u),p=f.startsWith(Hj),b=p?f.substring(1):f,g=h&&h>u?h-u:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:b,maybePostfixModifierPosition:g}};return t?o=>t({className:o,parseClassName:a}):a},uY=n=>{if(n.length<=1)return n;const e=[];let t=[];return n.forEach(i=>{i[0]==="["?(e.push(...t.sort(),i),t=[]):t.push(i)}),e.push(...t.sort()),e},dY=n=>({cache:lY(n.cacheSize),parseClassName:cY(n),...iY(n)}),hY=/\s+/,fY=(n,e)=>{const{parseClassName:t,getClassGroupId:i,getConflictingClassGroupIds:s}=e,r=[],a=n.trim().split(hY);let o="";for(let l=a.length-1;l>=0;l-=1){const c=a[l],{modifiers:u,hasImportantModifier:h,baseClassName:f,maybePostfixModifierPosition:p}=t(c);let b=!!p,g=i(b?f.substring(0,p):f);if(!g){if(!b){o=c+(o.length>0?" "+o:o);continue}if(g=i(f),!g){o=c+(o.length>0?" "+o:o);continue}b=!1}const S=uY(u).join(":"),y=h?S+Hj:S,v=y+g;if(r.includes(v))continue;r.push(v);const _=s(g,b);for(let x=0;x<_.length;++x){const E=_[x];r.push(y+E)}o=c+(o.length>0?" "+o:o)}return o};function pY(){let n=0,e,t,i="";for(;n<arguments.length;)(e=arguments[n++])&&(t=Gj(e))&&(i&&(i+=" "),i+=t);return i}const Gj=n=>{if(typeof n=="string")return n;let e,t="";for(let i=0;i<n.length;i++)n[i]&&(e=Gj(n[i]))&&(t&&(t+=" "),t+=e);return t};function mY(n,...e){let t,i,s,r=a;function a(l){const c=e.reduce((u,h)=>h(u),n());return t=dY(c),i=t.cache.get,s=t.cache.set,r=o,o(l)}function o(l){const c=i(l);if(c)return c;const u=fY(l,t);return s(l,u),u}return function(){return r(pY.apply(null,arguments))}}const At=n=>{const e=t=>t[n]||[];return e.isThemeGetter=!0,e},$j=/^\[(?:([a-z-]+):)?(.+)\]$/i,gY=/^\d+\/\d+$/,yY=new Set(["px","full","screen"]),vY=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,bY=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,_Y=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,SY=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,xY=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Do=n=>bp(n)||yY.has(n)||gY.test(n),nc=n=>Zg(n,"length",PY),bp=n=>!!n&&!Number.isNaN(Number(n)),xE=n=>Zg(n,"number",bp),b0=n=>!!n&&Number.isInteger(Number(n)),wY=n=>n.endsWith("%")&&bp(n.slice(0,-1)),we=n=>$j.test(n),ic=n=>vY.test(n),EY=new Set(["length","size","percentage"]),AY=n=>Zg(n,EY,qj),IY=n=>Zg(n,"position",qj),CY=new Set(["image","url"]),TY=n=>Zg(n,CY,kY),DY=n=>Zg(n,"",RY),_0=()=>!0,Zg=(n,e,t)=>{const i=$j.exec(n);return i?i[1]?typeof e=="string"?i[1]===e:e.has(i[1]):t(i[2]):!1},PY=n=>bY.test(n)&&!_Y.test(n),qj=()=>!1,RY=n=>SY.test(n),kY=n=>xY.test(n),NY=()=>{const n=At("colors"),e=At("spacing"),t=At("blur"),i=At("brightness"),s=At("borderColor"),r=At("borderRadius"),a=At("borderSpacing"),o=At("borderWidth"),l=At("contrast"),c=At("grayscale"),u=At("hueRotate"),h=At("invert"),f=At("gap"),p=At("gradientColorStops"),b=At("gradientColorStopPositions"),g=At("inset"),S=At("margin"),y=At("opacity"),v=At("padding"),_=At("saturate"),x=At("scale"),E=At("sepia"),C=At("skew"),I=At("space"),R=At("translate"),D=()=>["auto","contain","none"],k=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto",we,e],O=()=>[we,e],j=()=>["",Do,nc],L=()=>["auto",bp,we],U=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],M=()=>["solid","dashed","dotted","double","none"],B=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],F=()=>["start","end","center","between","around","evenly","stretch"],z=()=>["","0",we],G=()=>["auto","avoid","all","avoid-page","page","left","right","column"],te=()=>[bp,we];return{cacheSize:500,separator:":",theme:{colors:[_0],spacing:[Do,nc],blur:["none","",ic,we],brightness:te(),borderColor:[n],borderRadius:["n
124one","","full",ic,we],borderSpacing:O(),borderWidth:j(),contrast:te(),grayscale:z(),hueRotate:te(),invert:z(),gap:O(),gradientColorStops:[n],gradientColorStopPositions:[wY,nc],inset:N(),margin:N(),opacity:te(),padding:O(),saturate:te(),scale:te(),sepia:z(),skew:te(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",we]}],container:["container"],columns:[{columns:[ic]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...U(),we]}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",b0,we]}],basis:[{basis:N()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",we]}],grow:[{grow:z()}],shrink:[{shrink:z()}],order:[{order:["first","last","none",b0,we]}],"grid-cols":[{"grid-cols":[_0]}],"col-start-end":[{col:["auto",{span:["full",b0,we]},we]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[_0]}],"row-start-end":[{row:["auto",{span:[b0,we]},we]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",we]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",we]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...F()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...F(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...F(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],me:[{me:[S]}],mt:[{mt:[S]}],mr:[{mr:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-x":[{"space-x":[I]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[I]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",we,e]}],"min-w":[{"min-w":[we,e,"min","max","fit"]}],"max-w":[{"max-w":[we,e,"none","full","min","max","fit","prose",{screen:[ic]},ic]}],h:[{h:[we,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[we,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[we,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[we,e,"auto","min","max","fit"]}],"font-size":[{text:["base",ic,nc]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",xE]}],"font-family":[{font:[_0]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",we]}],"line-clamp":[{"line-clamp":["none",bp,xE]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Do,we]}],"list-image":[{"list-image":["none",we]}],"list-style-type":[{list:["none","disc","decimal",we]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...M(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Do,nc]}],"underline-offset":[{"underline-offset":["auto",Do,we]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",we]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",we]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...U(),IY]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",AY]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},TY]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[b]}
124],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-b":[{"rounded-b":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-se":[{"rounded-se":[r]}],"rounded-ee":[{"rounded-ee":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"border-w":[{border:[o]}],"border-w-x":[{"border-x":[o]}],"border-w-y":[{"border-y":[o]}],"border-w-s":[{"border-s":[o]}],"border-w-e":[{"border-e":[o]}],"border-w-t":[{"border-t":[o]}],"border-w-r":[{"border-r":[o]}],"border-w-b":[{"border-b":[o]}],"border-w-l":[{"border-l":[o]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...M(),"hidden"]}],"divide-x":[{"divide-x":[o]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[o]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}
vendor: 4,469 bytes, line 124
124],"divide-style":[{divide:M()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...M()]}],"outline-offset":[{"outline-offset":[Do,we]}],"outline-w":[{outline:[Do,nc]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:j()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[Do,nc]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",ic,DY]}],"shadow-color":[{shadow:[_0]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...B(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[i]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",ic,we]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[h]}],saturate:[{saturate:[_]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[i]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[_]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",we]}],duration:[{duration:te()}],ease:[{ease:["linear","in","out","in-out",we]}],delay:[{delay:te()}],animate:[{animate:["none","spin","ping","pulse","bounce",we]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[b0,we]}],"translate-x":[{"translate-x":[R]}],"translate-y":[{"translate-y":[R]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",we]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",we]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",we]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[Do,nc,xE]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","
124none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},MY=mY(NY);function Ce(...n){return MY(Jg(n))}const OY=qq,Yj=w.forwardRef(({className:n,...e},t)=>m.jsx(Nj,{ref:t,className:Ce("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",n),...e}));Yj.displayName=Nj.displayName;const LY=zj("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Wj=w.forwardRef(({className:n,variant:e,...t},i)=>m.jsx(Mj,{ref:i,className:Ce(LY({variant:e}),n),...t}));Wj.displayName=Mj.displayName;const BY=w.forwardRef(({className:n,...e},t)=>m.jsx(Bj,{ref:t,className:Ce("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",n),...e}));BY.displayName=Bj.displayName;const Kj=w.forwardRef(({className:n,...e},t)=>m.jsx(jj,{ref:t,className:Ce("absolute right-2 top-2 rounded-md p-1 text-foreground
124/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",n),"toast-close":"",...e,children:m.jsx(Q1,{className:"h-4 w-4"})}));Kj.displayName=jj.displayName;const Qj=w.forwardRef(({className:n,...e},t)=>m.jsx(Oj,{ref:t,className:Ce("text-sm font-semibold",n),...e}));Qj.displayName=Oj.displayName;const Jj=w.forwardRef(({className:n,...e},t)=>m.jsx(Lj,{ref:t,className:Ce("text-sm opacity-90",n),...e}));Jj.displayName=Lj.displayName;function jY(){const{toasts:n}=uj();return m.jsxs(OY,{children:[n.map(function({id:e,title:t,description:i,action:s,...r}){return m.jsxs(Wj,{...r,children:[m.jsxs("div",{className:"grid gap-1",children:[t&&m.jsx(Qj,{children:t}),i&&m.jsx(Jj,{children:i})]}),s,m.jsx(Kj,{})]},e)}),m.jsx(Yj,{})]})}var fM=["light","dark"],FY="(prefers-color-scheme: dark)",zY=w.createContext(void 0),UY={setTheme:n=>{},themes:[]},VY=()=>{var n;return(n=w.useContext(zY))!=null?n:UY};w.memo(({forcedTheme:n,storageKey:e,attribute:t,enableSystem:i,enableColorScheme:s,defaultTheme:r,value:a,attrs:o,nonce:l})=>{let c=r==="system",u=t==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${o.map(b=>`'${b}'`).join(",")})`};`:`var d=document.documentElement,n='${t}',s='setAttribute';`,h=s?fM.includes(r)&&r?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${r}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(b,g=!1,S=!0)=>{let y=a?a[b]:b,v=g?b+"|| ''":`'${y}'`,_="";return s&&S&&!g&&fM.includes(b)&&(_+=`d.style.colorScheme = '${b}';`),t==="class"?g||y?_+=`c.add(${v})`:_+="null":y&&(_+=`d[s](n,${v})`),_},p=n?`!function(){${u}${f(n)}}()`:i?`!function(){try{${u}var e=localStorage.getItem('${e}');if('system'===e||(!e&&${c})){var t='${FY}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${a?`var x=${JSON.stringify(a)};`:""}${f(a?"x[e]":"e",!0)}}${c?"":"else{"+f(r,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${u}var e=localStorage.getItem('${e}');if(e){${a?`var x=${JSON.stringify(a)};`:""}${f(a?"x[e]":"e",!0)}}else{${f(r,!1,!1)};}${h}}catch(t){}}();`;return w.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:p}})});var XY=n=>{switch(n){case"success":return $Y;case"info":return YY;case"warning":return qY;case"error":return WY;default:return null}},HY=Array(12).fill(0),GY=({visible:n,className:e})=>V.createElement("div",{className:["sonner-loading-wrapper",e].filter(Boolean).join(" "),"data-visible":n},V.createElement("div",{className:"sonner-spinner"},HY.map((t,i)=>V.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${i}`})))),$Y=V.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},V.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),qY=V.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},V.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),YY=V.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},V.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),WY=V.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},V.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}
124)),KY=V.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},V.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),V.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),QY=()=>{let[n,e]=V.useState(document.hidden);return V.useEffect(()=>{let t=()=>{e(document.hidden)};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)},[]),n},MI=1,JY=class{constructor(){this.subscribe=n=>(this.subscribers.push(n),()=>{let e=this.subscribers.indexOf(n);this.subscribers.splice(e,1)}),this.publish=n=>{this.subscribers.forEach(e=>e(n))},this.addToast=n=>{this.publish(n),this.toasts=[...this.toasts,n]},this.create=n=>{var e;let{message:t,...i}=n,s=typeof(n==null?void 0:n.id)=="number"||((e=n.id)==null?void 0:e.length)>0?n.id:MI++,r=this.toasts.find(o=>o.id===s),a=n.dismissible===void 0?!0:n.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),r?this.toasts=this.toasts.map(o=>o.id===s?(this.publish({...o,...n,id:s,title:t}),{...o,...n,id:s,dismissible:a,title:t}):o):this.addToast({title:t,...i,dismissible:a,id:s}),s},this.dismiss=n=>(this.dismissedToasts.add(n),n||this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),this.subscribers.forEach(e=>e({id:n,dismiss:!0})),n),this.message=(n,e)=>this.create({...e,message:n}),this.error=(n,e)=>this.create({...e,message:n,type:"error"}),this.success=(n,e)=>this.create({...e,type:"success",message:n}),this.info=(n,e)=>this.create({...e,type:"info",message:n}),this.warning=(n,e)=>this.create({...e,type:"warning",message:n}),this.loading=(n,e)=>this.create({...e,type:"loading",message:n}),this.promise=(n,e)=>{if(!e)return;let t;e.loading!==void 0&&(t=this.create({...e,promise:n,type:"loading",message:e.loading,description:typeof e.description!="function"?e.description:void 0}));let i=n instanceof Promise?n:n(),s=t!==void 0,r,a=i.then(async l=>{if(r=["resolve",l],V.isValidElement(l))s=!1,this.create({id:t,type:"default",message:l});else if(eW(l)&&!l.ok){s=!1;let c=typeof e.error=="function"?await e.error(`HTTP error! status: ${l.status}`):e.error,u=typeof e.description=="function"?await e.description(`HTTP error! status: ${l.status}`):e.description;this.create({id:t,type:"error",message:c,description:u})}else if(e.success!==void 0){s=!1;let c=typeof e.success=="function"?await e.success(l):e.success,u=typeof e.description=="function"?await e.description(l):e.description;this.create({id:t,type:"success",message:c,description:u})}}).catch(async l=>{if(r=["reject",l],e.error!==void 0){s=!1;let c=typeof e.error=="function"?await e.error(l):e.error,u=typeof e.description=="function"?await e.description(l):e.description;this.create({id:t,type:"error",message:c,description:u})}}).finally(()=>{var l;s&&(this.dismiss(t),t=void 0),(l=e.finally)==null||l.call(e)}),o=()=>new Promise((l,c)=>a.then(()=>r[0]==="reject"?c(r[1]):l(r[1])).catch(c));return typeof t!="string"&&typeof t!="number"?{unwrap:o}:Object.assign(t,{unwrap:o})},this.custom=(n,e)=>{let t=(e==null?void 0:e.id)||MI++;return this.create({jsx:n(t),id:t,...e}),t},this.getActiveToasts=()=>this.toasts.filter(n=>!this.dismissedToasts.has(n.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},ts=new JY,ZY=(n,e)=>{let t=(e==null?void 0:e.id)||MI++;return ts.addToast({title:n,...e,id:t}),t},eW=n=>n&&typeof n=="object"&&"ok"in n&&typeof n.ok=="boolean"&&"status"in n&&typeof n.status=="number",tW=ZY,nW=()=>ts.toasts,iW=()=>ts.getActiveToasts();Object.assign(tW,{success:ts.success,info:ts.info,warning:ts.warning,error:ts.error,custom:ts.custom,message:ts.message,promise:ts.promise,dismiss:ts.dismiss,loading:ts.loading},{getHistory:nW,getToasts:iW});function sW(n,{insertAt:e}={}){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",e==="top"&&t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i),i.styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n))}sW(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
124left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
124:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
124--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} 125`);function e_(n){return n.label!==void 0}var rW=3,aW="32px",oW="16px",pM=4e3,lW=356,cW=14,uW=20,dW=200;function Hr(...n){return n.filter(Boolean).join(" ")}function hW(n){let[e,t]=n.split("-"),i=[];return e&&i.push(e),t&&i.push(t),i}var fW=n=>{var e,t,i,s,r,a,o,l,c,u,h;let{invert:f,toast:p,unstyled:b,interacting:g,setHeights:S,visibleToasts:y,heights:v,index:_,toasts:x,expanded:E,removeToast:C,defaultRichColors:I,closeButton:R,style:D,cancelButtonStyle:k,actionButtonStyle:N,className:O="",descriptionClassName:j="",duration:L,position:U,gap:M,loadingIcon:B,expandByDefault:F,classNames:z,icons:G,closeButtonAriaLabel:te="Close toast",pauseWhenPageIsHidden:Y}=n,[X,W]=V.useState(null),[ae,Ue]=V.useState(null),[ne,bt]=V.useState(!1),[jt,_t]=V.useState(!1),[$,Rn]=V.useState(!1),[Be,Xe]=V.useState(!1),[ut,rn]=V.useState(!1),[Pt,So]=V.useState(0),[_a,Ql]=V.useState(0),hs=V.useRef(p.duration||L||pM),xo=V.useRef(null),Fr=V.useRef(null),l0=_===0,c0=_+1<=y,Hn=p.type,Sa=p.dismissible!==!1,fs=p.className||"",ps=p.descriptionClassName||"",Si=V.useMemo(()=>v.findIndex(K=>
125K.toastId===p.id)||0,[v,p.id]),Jl=V.useMemo(()=>{var K;return(K=p.closeButton)!=null?K:R},[p.closeButton,R]),Rb=V.useMemo(()=>p.duration||L||pM,[p.duration,L]),u0=V.useRef(0),wo=V.useRef(0),kb=V.useRef(0),Eo=V.useRef(null),[Nb,Mb]=U.split("-"),d0=V.useMemo(()=>v.reduce((K,ve,Ve)=>Ve>=Si?K:K+ve.height,0),[v,Si]),J=QY(),ce=p.invert||f,xe=Hn==="loading";wo.current=V.useMemo(()=>Si*M+d0,[Si,d0]),V.useEffect(()=>{hs.current=Rb},[Rb]),V.useEffect(()=>{bt(!0)},[]),V.useEffect(()=>{let K=Fr.current;if(K){let ve=K.getBoundingClientRect().height;return Ql(ve),S(Ve=>[{toastId:p.id,height:ve,position:p.position},...Ve]),()=>S(Ve=>Ve.filter(zr=>zr.toastId!==p.id))}},[S,p.id]),V.useLayoutEffect(()=>{if(!ne)return;let K=Fr.current,ve=K.style.height;K.style.height="auto";let Ve=K.getBoundingClientRect().height;K.style.height=ve,Ql(Ve),S(zr=>zr.find(Ur=>Ur.toastId===p.id)?zr.map(Ur=>Ur.toastId===p.id?{...Ur,height:Ve}:Ur):[{toastId:p.id,height:Ve,position:p.position},...zr])},[ne,p.title,p.description,S,p.id]);let Te=V.useCallback(()=>{_t(!0),So(wo.current),S(K=>K.filter(ve=>ve.toastId!==p.id)),setTimeout(()=>{C(p)},dW)},[p,C,S,wo]);V.useEffect(()=>{if(p.promise&&Hn==="loading"||p.duration===1/0||p.type==="loading")return;let K;return E||g||Y&&J?(()=>{if(kb.current<u0.current){let ve=new Date().getTime()-u0.current;hs.current=hs.current-ve}kb.current=new Date().getTime()})():hs.current!==1/0&&(u0.current=new Date().getTime(),K=setTimeout(()=>{var ve;(ve=p.onAutoClose)==null||ve.call(p,p),Te()},hs.current)),()=>clearTimeout(K)},[E,g,p,Hn,Y,J,Te]),V.useEffect(()=>{p.delete&&Te()},[Te,p.delete]);function En(){var K,ve,Ve;return G!=null&&G.loading?V.createElement("div",{className:Hr(z==null?void 0:z.loader,(K=p==null?void 0:p.classNames)==null?void 0:K.loader,"sonner-loader"),"data-visible":Hn==="loading"},G.loading):B?V.createElement("div",{className:Hr(z==null?void 0:z.loader,(ve=p==null?void 0:p.classNames)==null?void 0:ve.loader,"sonner-loader"),"data-visible":Hn==="loading"},B):V.createElement(GY,{className:Hr(z==null?void 0:z.loader,(Ve=p==null?void 0:p.classNames)==null?void 0:Ve.loader),visible:Hn==="loading"})}return V.createElement("li",{tabIndex:0,ref:Fr,className:Hr(O,fs,z==null?void 0:z.toast,(e=p==null?void 0:p.classNames)==null?void 0:e.toast,z==null?void 0:z.default,z==null?void 0:z[Hn],(t=p==null?void 0:p.classNames)==null?void 0:t[Hn]),"data-sonner-toast":"","data-rich-colors":(i=p.richColors)!=null?i:I,"data-styled":!(p.jsx||p.unstyled||b),"data-mounted":ne,"data-promise":!!p.promise,"data-swiped":ut,"data-removed":jt,"data-visible":c0,"data-y-position":Nb,"data-x-position":Mb,"data-index":_,"data-front":l0,"data-swiping":$,"data-dismissible":Sa,"data-type":Hn,"data-invert":ce,"data-swipe-out":Be,"data-swipe-direction":ae,"data-expanded":!!(E||F&&ne),style:{"--index":_,"--toasts-before":_,"--z-index":x.length-_,"--offset":`${jt?Pt:wo.current}px`,"--initial-height":F?"auto":`${_a}px`,...D,...p.style},onDragEnd:()=>{Rn(!1),W(null),Eo.current=null},onPointerDown:K=>{xe||!Sa||(xo.current=new Date,So(wo.current),K.target.setPointerCapture(K.pointerId),K.target.tagName!=="BUTTON"&&(Rn(!0),Eo.current={x:K.clientX,y:K.clientY}))},onPointerUp:()=>{var K,ve,Ve,zr;if(Be||!Sa)return;Eo.current=null;let Ur=Number(((K=Fr.current)==null?void 0:K.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Zl=Number(((ve=Fr.current)==null?void 0:ve.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),nd=new Date().getTime()-((Ve=xo.current)==null?void 0:Ve.getTime()),Vr=X==="x"?Ur:Zl,ec=Math.abs(Vr)/nd;if(Math.abs(Vr)>=uW||ec>.11){So(wo.current),(zr=p.onDismiss)==null||zr.call(p,p),Ue(X==="x"?Ur>0?"right":"left":Zl>0?"down":"up"),Te(),Xe(!0),rn(!1);return}Rn(!1),W(null)},onPointerMove:K=>{var ve,Ve,zr,Ur;if(!Eo.current||!Sa||((ve=window.getSelection())==null?void 0:ve.toString().length)>0)return;let Zl=K.clientY-Eo.current.y,nd=K.clientX-Eo.current.x,Vr=(Ve=n.swipeDirections)!=null?Ve:hW(U);!X&&(Math.abs(nd)>1||Math.abs(Zl)>1)&&W(Math.abs(nd)>Math.abs(Zl)?"x":"y");let ec={x:0,y:0};X==="y"?(Vr.includes("top")||Vr.includes("bottom"))&&(Vr.includes("top")&&Zl<0||Vr.includes("bottom")&&Zl>0)&&(ec.y=Zl):X==="x"&&(Vr.includes("left")||Vr.includes("right"))&&(Vr.includes("left")&&nd<0||Vr.includes("right")&&nd>0)&&(ec.x=nd),(Math.abs(ec.x)>0||Math.abs(ec.y)>0)&&rn(!0),(zr=Fr.current)==null||zr.style.setProperty("--swipe-amount-x",`${ec.x}px`),(Ur=Fr.current)==null||Ur.style.setProperty("--swipe-amount-y",`${ec.y}px`)}},Jl&&!p.jsx?V.createElement("button",{"aria-label":te,"data-disabled":xe,"data-close-button":!0,onClick:xe||!Sa?()=>{}:()=>{var K;Te(),(K=p.onDismiss)==null||K.call(p,p)},className:Hr(z==null?void 0:z.closeButton,(s=p==null?void 0:p.classNames)==null?void 0:s.closeButton)},(r=G==null?void 0:G.close)!=null?r:KY):null,p.jsx||w.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:V.createElement(V.Fragment,null,Hn||p.icon||p.promise?V.createElement("div",{"data-icon":"",className:Hr(z==null?void 0:z.icon,(a=p==null?void 0:p.classNames)==null?void 0:a.icon)}
vendor: 6,566 bytes, line 125
125,p.promise||p.type==="loading"&&!p.icon?p.icon||En():null,p.type!=="loading"?p.icon||(G==null?void 0:G[Hn])||XY(Hn):null):null,V.createElement("div",{"data-content":"",className:Hr(z==null?void 0:z.content,(o=p==null?void 0:p.classNames)==null?void 0:o.content)},V.createElement("div",{"data-title":"",className:Hr(z==null?void 0:z.title,(l=p==null?void 0:p.classNames)==null?void 0:l.title)},typeof p.title=="function"?p.title():p.title),p.description?V.createElement("div",{"data-description":"",className:Hr(j,ps,z==null?void 0:z.description,(c=p==null?void 0:p.classNames)==null?void 0:c.description)},typeof p.description=="function"?p.description():p.description):null),w.isValidElement(p.cancel)?p.cancel:p.cancel&&e_(p.cancel)?V.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||k,onClick:K=>{var ve,Ve;e_(p.cancel)&&Sa&&((Ve=(ve=p.cancel).onClick)==null||Ve.call(ve,K),Te())},className:Hr(z==null?void 0:z.cancelButton,(u=p==null?void 0:p.classNames)==null?void 0:u.cancelButton)},p.cancel.label):null,w.isValidElement(p.action)?p.action:p.action&&e_(p.action)?V.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||N,onClick:K=>{var ve,Ve;e_(p.action)&&((Ve=(ve=p.action).onClick)==null||Ve.call(ve,K),!K.defaultPrevented&&Te())},className:Hr(z==null?void 0:z.actionButton,(h=p==null?void 0:p.classNames)==null?void 0:h.actionButton)},p.action.label):null))};function mM(){if(typeof window>"u"||typeof document>"u")return"ltr";let n=document.documentElement.getAttribute("dir");return n==="auto"||!n?window.getComputedStyle(document.documentElement).direction:n}function pW(n,e){let t={};return[n,e].forEach((i,s)=>{let r=s===1,a=r?"--mobile-offset":"--offset",o=r?oW:aW;function l(c){["top","right","bottom","left"].forEach(u=>{t[`${a}-${u}`]=typeof c=="number"?`${c}px`:c})}typeof i=="number"||typeof i=="string"?l(i):typeof i=="object"?["top","right","bottom","left"].forEach(c=>{i[c]===void 0?t[`${a}-${c}`]=o:t[`${a}-${c}`]=typeof i[c]=="number"?`${i[c]}px`:i[c]}):l(o)}),t}var mW=w.forwardRef(function(n,e){let{invert:t,position:i="bottom-right",hotkey:s=["altKey","KeyT"],expand:r,closeButton:a,className:o,offset:l,mobileOffset:c,theme:u="light",richColors:h,duration:f,style:p,visibleToasts:b=rW,toastOptions:g,dir:S=mM(),gap:y=cW,loadingIcon:v,icons:_,containerAriaLabel:x="Notifications",pauseWhenPageIsHidden:E}=n,[C,I]=V.useState([]),R=V.useMemo(()=>Array.from(new Set([i].concat(C.filter(Y=>Y.position).map(Y=>Y.position)))),[C,i]),[D,k]=V.useState([]),[N,O]=V.useState(!1),[j,L]=V.useState(!1),[U,M]=V.useState(u!=="system"?u:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),B=V.useRef(null),F=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),z=V.useRef(null),G=V.useRef(!1),te=V.useCallback(Y=>{I(X=>{var W;return(W=X.find(ae=>ae.id===Y.id))!=null&&W.delete||ts.dismiss(Y.id),X.filter(({id:ae})=>ae!==Y.id)})},[]);return V.useEffect(()=>ts.subscribe(Y=>{if(Y.dismiss){I(X=>X.map(W=>W.id===Y.id?{...W,delete:!0}:W));return}setTimeout(()=>{x5.flushSync(()=>{I(X=>{let W=X.findIndex(ae=>ae.id===Y.id);return W!==-1?[...X.slice(0,W),{...X[W],...Y},...X.slice(W+1)]:[Y,...X]})})})}),[]),V.useEffect(()=>{if(u!=="system"){M(u);return}if(u==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?M("dark"):M("light")),typeof window>"u")return;let Y=window.matchMedia("(prefers-color-scheme: dark)");try{Y.addEventListener("change",({matches:X})=>{M(X?"dark":"light")})}catch{Y.addListener(({matches:W})=>{try{M(W?"dark":"light")}catch(ae){console.error(ae)}})}},[u]),V.useEffect(()=>{C.length<=1&&O(!1)},[C]),V.useEffect(()=>{let Y=X=>{var W,ae;s.every(Ue=>X[Ue]||X.code===Ue)&&(O(!0),(W=B.current)==null||W.focus()),X.code==="Escape"&&(document.activeElement===B.current||(ae=B.current)!=null&&ae.contains(document.activeElement))&&O(!1)};return document.addEventListener("keydown",Y),()=>document.removeEventListener("keydown",Y)},[s]),V.useEffect(()=>{if(B.current)return()=>{z.current&&(z.current.focus({preventScroll:!0}),z.current=null,G.current=!1)}},[B.current]),V.createElement("section",{ref:e,"aria-label":`${x} ${F}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},R.map((Y,X)=>{var W;let[ae,Ue]=Y.split("-");return C.length?V.createElement("ol",{key:Y,dir:S==="auto"?mM():S,tabIndex:-1,ref:B,className:o,"data-sonner-toaster":!0,"data-theme":U,"data-y-position":ae,"data-lifted":N&&C.length>1&&!r,"data-x-position":Ue,style:{"--front-toast-height":`${((W=D[0])==null?void 0:W.height)||0}px`,"--width":`${lW}px`,"--gap":`${y}px`,...p,...pW(l,c)},onBlur:ne=>{G.current&&!ne.currentTarget.contains(ne.relatedTarget)&&(G.current=!1,z.current&&(z.current.focus({preventScroll:!0}),z.current=null))},onFocus:ne=>{ne.target instanceof HTMLElement&&ne.target.dataset.dismissible==="false"||G.current||(G.current=!0,z.current=ne.relatedTarget)},onMouseEnter:()=>O(!0),onMouseMove:()=>O(!0),onMouseLeave:()=>{j||O(!1)},onDragEnd:()=>O(!1),onPointerDown:ne=>{ne.target instanceof HTMLElement&&ne.target.dataset.dismissible==="false"||L(!0)},onPointerUp:()=>L(!1)},C.filter(ne=>!ne.position&&X===0||ne.position===Y).map((ne,bt)=>{var jt,_t;return V.createElement(fW,{key:ne.id,icons:_,index:bt,toast:ne,defaultRichColors:h,duration:(jt=g==null?void 0:g.duration)!=null?jt:f,className:g==null?void 0:g.className,descriptionClassName:g==null?void 0:g.descriptionClassName,invert:t,visibleToasts:b,closeButton:(_t=g==null?void 0:g.closeButton)!=null?_t:a,interacting:j,position:Y,style:g==null?void 0:g.style,unstyled:g==null?void 0:g.unstyled,classNames:g==null?void 0:g.classNames,cancelButtonStyle:g==null?void 0:g.cancelButtonStyle,actionButtonStyle:g==null?void 0:g.actionButtonStyle,removeToast:te,toasts:C.filter($=>$.position==ne.position),heights:D.filter($=>$.position==ne.position),setHeights:k,expandByDefault:r,gap:y,loadingIcon:v,expanded:N,pauseWhenPageIsHidden:E,swipeDirections:n.swipeDirections})})):null}))});const gW=({...n})=>{const{theme:e="system"}=VY();return m.jsx(mW,{theme:e,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...n})};
vendor: 23,267 bytes, line 125
125var yW="DismissableLayer",OI="dismissableLayer.update",vW="dismissableLayer.pointerDownOutside",bW="dismissableLayer.focusOutside",gM,Zj=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),e4=w.forwardRef((n,e)=>{const{disableOutsidePointerEvents:t=!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:r,onInteractOutside:a,onDismiss:o,...l}=n,c=w.useContext(Zj),[u,h]=w.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=w.useState({}),b=nt(e,I=>h(I)),g=Array.from(c.layers),[S]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(S),v=u?g.indexOf(u):-1,_=c.layersWithOutsidePointerEventsDisabled.size>0,x=v>=y,E=xW(I=>{const R=I.target,D=[...c.branches].some(k=>k.contains(R));!x||D||(s==null||s(I),a==null||a(I),I.defaultPrevented||o==null||o())},f),C=wW(I=>{const R=I.target;[...c.branches].some(k=>k.contains(R))||(r==null||r(I),a==null||a(I),I.defaultPrevented||o==null||o())},f);return q1(I=>{v===c.layers.size-1&&(i==null||i(I),!I.defaultPrevented&&o&&(I.preventDefault(),o()))},f),w.useEffect(()=>{if(u)return t&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(gM=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),yM(),()=>{t&&c.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=gM)}},[u,f,t,c]),w.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),yM())},[u,c]),w.useEffect(()=>{const I=()=>p({});return document.addEventListener(OI,I),()=>document.removeEventListener(OI,I)},[]),m.jsx(Le.div,{...l,ref:b,style:{pointerEvents:_?x?"auto":"none":void 0,...n.style},onFocusCapture:He(n.onFocusCapture,C.onFocusCapture),onBlurCapture:He(n.onBlurCapture,C.onBlurCapture),onPointerDownCapture:He(n.onPointerDownCapture,E.onPointerDownCapture)})});e4.displayName=yW;var _W="DismissableLayerBranch",SW=w.forwardRef((n,e)=>{const t=w.useContext(Zj),i=w.useRef(null),s=nt(e,i);return w.useEffect(()=>{const r=i.current;if(r)return t.branches.add(r),()=>{t.branches.delete(r)}},[t.branches]),m.jsx(Le.div,{...n,ref:s})});SW.displayName=_W;function xW(n,e=globalThis==null?void 0:globalThis.document){const t=_i(n),i=w.useRef(!1),s=w.useRef(()=>{});return w.useEffect(()=>{const r=o=>{if(o.target&&!i.current){let l=function(){t4(vW,t,c,{discrete:!0})};const c={originalEvent:o};o.pointerType==="touch"?(e.removeEventListener("click",s.current),s.current=l,e.addEventListener("click",s.current,{once:!0})):l()}else e.removeEventListener("click",s.current);i.current=!1},a=window.setTimeout(()=>{e.addEventListener("pointerdown",r)},0);return()=>{window.clearTimeout(a),e.removeEventListener("pointerdown",r),e.removeEventListener("click",s.current)}},[e,t]),{onPointerDownCapture:()=>i.current=!0}}function wW(n,e=globalThis==null?void 0:globalThis.document){const t=_i(n),i=w.useRef(!1);return w.useEffect(()=>{const s=r=>{r.target&&!i.current&&t4(bW,t,{originalEvent:r},{discrete:!1})};return e.addEventListener("focusin",s),()=>e.removeEventListener("focusin",s)},[e,t]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function yM(){const n=new CustomEvent(OI);document.dispatchEvent(n)}function t4(n,e,t,{discrete:i}){const s=t.originalEvent.target,r=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:t});e&&s.addEventListener(n,e,{once:!0}),i?fb(s,r):s.dispatchEvent(r)}var EW=ID[" useId ".trim().toString()]||(()=>{}),AW=0;function Nu(n){const[e,t]=w.useState(EW());return jr(()=>{t(i=>i??String(AW++))},[n]),e?`radix-${e}`:""}const IW=["top","right","bottom","left"],Uu=Math.min,Fs=Math.max,dx=Math.round,t_=Math.floor,co=n=>({x:n,y:n}),CW={left:"right",right:"left",bottom:"top",top:"bottom"},TW={start:"end",end:"start"};function LI(n,e,t){return Fs(n,Uu(e,t))}function Bl(n,e){return typeof n=="function"?n(e):n}function jl(n){return n.split("-")[0]}function e0(n){return n.split("-")[1]}function CP(n){return n==="x"?"y":"x"}function TP(n){return n==="y"?"height":"width"}const DW=new Set(["top","bottom"]);function ro(n){return DW.has(jl(n))?"y":"x"}function DP(n){return CP(ro(n))}function PW(n,e,t){t===void 0&&(t=!1);const i=e0(n),s=DP(n),r=TP(s);let a=s==="x"?i===(t?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(a=hx(a)),[a,hx(a)]}function RW(n){const e=hx(n);return[BI(n),e,BI(e)]}function BI(n){return n.replace(/start|end/g,e=>TW[e])}const vM=["left","right"],bM=["right","left"],kW=["top","bottom"],NW=["bottom","top"];function MW(n,e,t){switch(n){case"top":case"bottom":return t?e?bM:vM:e?vM:bM;case"left":case"right":return e?kW:NW;default:return[]}}function OW(n,e,t,i){const s=e0(n);let r=MW(jl(n),t==="start",i);return s&&(r=r.map(a=>a+"-"+s),e&&(r=r.concat(r.map(BI)))),r}function hx(n){return n.replace(/left|right|bottom|top/g,e=>CW[e])}function LW(n){return{top:0,right:0,bottom:0,left:0,...n}}function n4(n){return typeof n!="number"?LW(n):{top:n,right:n,bottom:n,left:n}}function fx(n){const{x:e,y:t,width:i,height:s}=n;return{width:i,height:s,top:t,left:e,right:e+i,bottom:t+s,x:e,y:t}}function _M(n,e,t){let{reference:i,floating:s}=n;const r=ro(e),a=DP(e),o=TP(a),l=jl(e),c=r==="y",u=i.x+i.width/2-s.width/2,h=i.y+i.height/2-s.height/2,f=i[o]/2-s[o]/2;let p;switch(l){case"top":p={x:u,y:i.y-s.height};break;case"bottom":p={x:u,y:i.y+i.height};break;case"right":p={x:i.x+i.width,y:h};break;case"left":p={x:i.x-s.width,y:h};break;default:p={x:i.x,y:i.y}}switch(e0(e)){case"start":p[a]-=f*(t&&c?-1:1);break;case"end":p[a]+=f*(t&&c?-1:1);break}return p}const BW=async(n,e,t)=>{const{placement:i="bottom",strategy:s="absolute",middleware:r=[],platform:a}=t,o=r.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(e));let c=await a.getElementRects({reference:n,floating:e,strategy:s}),{x:u,y:h}=_M(c,i,l),f=i,p={},b=0;for(let g=0;g<o.length;g++){const{name:S,fn:y}=o[g],{x:v,y:_,data:x,reset:E}=await y({x:u,y:h,initialPlacement:i,placement:f,strategy:s,middlewareData:p,rects:c,platform:a,elements:{reference:n,floating:e}});u=v??u,h=_??h,p={...p,[S]:{...p[S],...x}},E&&b<=50&&(b++,typeof E=="object"&&(E.placement&&(f=E.placement),E.rects&&(c=E.rects===!0?await a.getElementRects({reference:n,floating:e,strategy:s}):E.rects),{x:u,y:h}=_M(c,f,l)),g=-1)}return{x:u,y:h,placement:f,strategy:s,middlewareData:p}};async function Hy(n,e){var t;e===void 0&&(e={});const{x:i,y:s,platform:r,rects:a,elements:o,strategy:l}=n,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:f=!1,padding:p=0}=Bl(e,n),b=n4(p),S=o[f?h==="floating"?"reference":"floating":h],y=fx(await r.getClippingRect({element:(t=await(r.isElement==null?void 0:r.isElement(S)))==null||t?S:S.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(o.floating)),boundary:c,rootBoundary:u,strategy:l})),v=h==="floating"?{x:i,y:s,width:a.floating.width,height:a.floating.height}:a.reference,_=await(r.getOffsetParent==null?void 0:r.getOffsetParent(o.floating)),x=await(r.isElement==null?void 0:r.isElement(_))?await(r.getScale==null?void 0:r.getScale(_))||{x:1,y:1}:{x:1,y:1},E=fx(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:v,offsetParent:_,strategy:l}):v);return{top:(y.top-E.top+b.top)/x.y,bottom:(E.bottom-y.bottom+b.bottom)/x.y,left:(y.left-E.left+b.left)/x.x,right:(E.right-y.right+b.right)/x.x}}const jW=n=>({name:"arrow",options:n,async fn(e){const{x:t,y:i,placement:s,rects:r,platform:a,elements:o,middlewareData:l}=e,{element:c,padding:u=0}=Bl(n,e)||{};if(c==null)return{};const h=n4(u),f={x:t,y:i},p=DP(s),b=TP(p),g=await a.getDimensions(c),S=p==="y",y=S?"top":"left",v=S?"bottom":"right",_=S?"clientHeight":"clientWidth",x=r.reference[b]+r.reference[p]-f[p]-r.floating[b],E=f[p]-r.reference[p],C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c));let I=C?C[_]:0;(!I||!await(a.isElement==null?void 0:a.isElement(C)))&&(I=o.floating[_]||r.floating[b]);const R=x/2-E/2,D=I/2-g[b]/2-1,k=Uu(h[y],D),N=Uu(h[v],D),O=k,j=I-g[b]-N,L=I/2-g[b]/2+R,U=LI(O,L,j),M=!l.arrow&&e0(s)!=null&&L!==U&&r.reference[b]/2-(L<O?k:N)-g[b]/2<0,B=M?L<O?L-O:L-j:0;return{[p]:f[p]+B,data:{[p]:U,centerOffset:L-U-B,...M&&{alignmentOffset:B}},reset:M}}}),FW=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(e){var t,i;const{placement:s,middlewareData:r,rects:a,initialPlacement:o,platform:l,elements:c}=e,{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:g=!0,...S}=Bl(n,e);if((t=r.arrow)!=null&&t.alignmentOffset)return{};const y=jl(s),v=ro(o),_=jl(o)===o,x=await(l.isRTL==null?void 0:l.isRTL(c.floating)),E=f||(_||!g?[hx(o)]:RW(o)),C=b!=="none";!f&&C&&E.push(...OW(o,g,b,x));const I=[o,...E],R=await Hy(e,S),D=[];let k=((i=r.flip)==null?void 0:i.overflows)||[];if(u&&D.push(R[y]),h){const L=PW(s,a,x);D.push(R[L[0]],R[L[1]])}if(k=[...k,{placement:s,overflows:D}],!D.every(L=>L<=0)){var N,O;const L=(((N=r.flip)==null?void 0:N.index)||0)+1,U=I[L];if(U&&(!(h==="alignment"?v!==ro(U):!1)||k.every(F=>ro(F.placement)===v?F.overflows[0]>0:!0)))return{data:{index:L,overflows:k},reset:{placement:U}};let M=(O=k.filter(B=>B.overflows[0]<=0).sort((B,F)=>B.overflows[1]-F.overflows[1])[0])==null?void 0:O.placement;if(!M)switch(p){case"bestFit":{var j;const B=(j=k.filter(F=>{if(C){const z=ro(F.placement);return z===v||z==="y"}return!0}).map(F=>[F.placement,F.overflows.filter(z=>z>0).reduce((z,G)=>z+G,0)]).sort((F,z)=>F[1]-z[1])[0])==null?void 0:j[0];B&&(M=B);break}case"initialPlacement":M=o;break}if(s!==M)return{reset:{placement:M}}}return{}}}};function SM(n,e){return{top:n.top-e.height,right:n.right-e.width,bottom:n.bottom-e.height,left:n.left-e.width}}function xM(n){return IW.some(e=>n[e]>=0)}const zW=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(e){const{rects:t}=e,{strategy:i="referenceHidden",...s}=Bl(n,e);switch(i){case"referenceHidden":{const r=await Hy(e,{...s,elementContext:"reference"}),a=SM(r,t.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:xM(a)}}}case"escaped":{const r=await Hy(e,{...s,altBoundary:!0}),a=SM(r,t.floating);return{data:{escapedOffsets:a,escaped:xM(a)}}}default:return{}}}}},i4=new Set(["left","top"]);async function UW(n,e){const{placement:t,platform:i,elements:s}=n,r=await(i.isRTL==null?void 0:i.isRTL(s.floating)),a=jl(t),o=e0(t),l=ro(t)==="y",c=i4.has(a)?-1:1,u=r&&l?-1:1,h=Bl(e,n);let{mainAxis:f,crossAxis:p,alignmentAxis:b}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return o&&typeof b=="number"&&(p=o==="end"?b*-1:b),l?{x:p*u,y:f*c}:{x:f*c,y:p*u}}const VW=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(e){var t,i;const{x:s,y:r,placement:a,middlewareData:o}=e,l=await UW(e,n);return a===((t=o.offset)==null?void 0:t.placement)&&(i=o.arrow)!=null&&i.alignmentOffset?{}:{x:s+l.x,y:r+l.y,data:{...l,placement:a}}}}},XW=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(e){const{x:t,y:i,placement:s}=e,{mainAxis:r=!0,crossAxis:a=!1,limiter:o={fn:S=>{let{x:y,y:v}=S;return{x:y,y:v}}},...l}=Bl(n,e),c={x:t,y:i},u=await Hy(e,l),h=ro(jl(s)),f=CP(h);let p=c[f],b=c[h];if(r){const S=f==="y"?"top":"left",y=f==="y"?"bottom":"right",v=p+u[S],_=p-u[y];p=LI(v,p,_)}if(a){const S=h==="y"?"top":"left",y=h==="y"?"bottom":"right",v=b+u[S],_=b-u[y];b=LI(v,b,_)}const g=o.fn({...e,[f]:p,[h]:b});return{...g,data:{x:g.x-t,y:g.y-i,enabled:{[f]:r,[h]:a}}}}}},HW=function(n){return n===void 0&&(n={}),{options:n,fn(e){const{x:t,y:i,placement:s,rects:r,middlewareData:a}=e,{offset:o=0,mainAxis:l=!0,crossAxis:c=!0}=Bl(n,e),u={x:t,y:i},h=ro(s),f=CP(h);let p=u[f],b=u[h];const g=Bl(o,e),S=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const _=f==="y"?"height":"width",x=r.reference[f]-r.floating[_]+S.mainAxis,E=r.reference[f]+r.reference[_]-S.mainAxis;p<x?p=x:p>E&&(p=E)}if(c){var y,v;const _=f==="y"?"width":"height",x=i4.has(jl(s)),E=r.reference[h]-r.floating[_]+(x&&((y=a.offset)==null?void 0:y[h])||0)+(x?0:S.crossAxis),C=r.reference[h]+r.reference[_]+(x?0:((v=a.offset)==null?void 0:v[h])||0)-(x?S.crossAxis:0);b<E?b=E:b>C&&(b=C)}return{[f]:p,[h]:b}}}},GW=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(e){var t,i;const{placement:s,rects:r,platform:a,elements:o}=e,{apply:l=()=>{},...c}=Bl(n,e),u=await Hy(e,c),h=jl(s),f=e0(s),p=ro(s)==="y",{width:b,height:g}=r.floating;let S,y;h==="top"||h==="bottom"?(S=h,y=f===(await(a.isRTL==null?void 0:a.isRTL(o.floating))?"start":"end")?"left":"right"):(y=h,S=f==="end"?"top":"bottom");const v=g-u.top-u.bottom,_=b-u.left-u.right,x=Uu(g-u[S],v),E=Uu(b-u[y],_),C=!e.middlewareData.shift;let I=x,R=E;if((t=e.middlewareData.shift)!=null&&t.enabled.x&&(R=_),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(I=v),C&&!f){const k=Fs(u.left,0),N=Fs(u.right,0),O=Fs(u.top,0),j=Fs(u.bottom,0);p?R=b-2*(k!==0||N!==0?k+N:Fs(u.left,u.right)):I=g-2*(O!==0||j!==0?O+j:Fs(u.top,u.bottom))}await l({...e,availableWidth:R,availableHeight:I});const D=await a.getDimensions(o.floating);return b!==D.width||g!==D.height?{reset:{rects:!0}}:{}}}};function J1(){return typeof window<"u"}function t0(n){return s4(n)?(n.nodeName||"").toLowerCase():"#document"}function Ws(n){var e;return(n==null||(e=n.ownerDocument)==null?void 0:e.defaultView)||window}function _o(n){var e;return(e=(s4(n)?n.ownerDocument:n.document)||window.document)==null?void 0:e.documentElement}function s4(n){return J1()?n instanceof Node||n instanceof Ws(n).Node:!1}function da(n){return J1()?n instanceof Element||n instanceof Ws(n).Element:!1}function mo(n){return J1()?n instanceof HTMLElement||n instanceof Ws(n).HTMLElement:!1}function wM(n){return!J1()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Ws(n).ShadowRoot}const $W=new Set(["inline","contents"]);function mb(n){const{overflow:e,overflowX:t,overflowY:i,display:s}=ha(n);return/auto|scroll|overlay|hidden|clip/.test(e+i+t)&&!$W.has(s)}const qW=new Set(["table","td","th"]);function YW(n){return qW.has(t0(n))}const WW=[":popover-open",":modal"];function Z1(n){return WW.some(e=>{try{return n.matches(e)}catch{return!1}})}const KW=["transform","translate","scale","rotate","perspective"],QW=["transform","translate","scale","rotate","perspective","filter"],JW=["paint","layout","strict","content"];function PP(n){const e=RP(),t=da(n)?ha(n):n;return KW.some(i=>t[i]?t[i]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||QW.some(i=>(t.willChange||"").includes(i))||JW.some(i=>(t.contain||"").includes(i))}function ZW(n){let e=Vu(n);for(;mo(e)&&!Ag(e);){if(PP(e))return e;if(Z1(e))return null;e=Vu(e)}return null}function RP(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const eK=new Set(["html","body","#document"]);function Ag(n){return eK.has(t0(n))}function ha(n){return Ws(n).getComputedStyle(n)}function ew(n){return da(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function Vu(n){if(t0(n)==="html")return n;const e=n.assignedSlot||n.parentNode||wM(n)&&n.host||_o(n);return wM(e)?e.host:e}function r4(n){const e=Vu(n);return Ag(e)?n.ownerDocument?n.ownerDocument.body:n.body:mo(e)&&mb(e)?e:r4(e)}function Gy(n,e,t){var i;e===void 0&&(e=[]),t===void 0&&(t=!0);const s=r4(n),r=s===((i=n.ownerDocument)==null?void 0:i.body),a=Ws(s);if(r){const o=jI(a);return e.concat(a,a.visualViewport||[],mb(s)?s:[],o&&t?Gy(o):[])}return e.concat(s,Gy(s,[],t))}function jI(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function a4(n){const e=ha(n);let t=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const s=mo(n),r=s?n.offsetWidth:t,a=s?n.offsetHeight:i,o=dx(t)!==r||dx(i)!==a;return o&&(t=r,i=a),{width:t,height:i,$:o}}function kP(n){return da(n)?n:n.contextElement}function _p(n){const e=kP(n);if(!mo(e))return co(1);const t=e.getBoundingClientRect(),{width:i,height:s,$:r}=a4(e);let a=(r?dx(t.width):t.width)/i,o=(r?dx(t.height):t.height)/s;return(!a||!Number.isFinite(a))&&(a=1),(!o||!Number.isFinite(o))&&(o=1),{x:a,y:o}}const tK=co(0);function o4(n){const e=Ws(n);return!RP()||!e.visualViewport?tK:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function nK(n,e,t){return e===void 0&&(e=!1),!t||e&&t!==Ws(n)?!1:e}function sf(n,e,t,i){e===void 0&&(e=!1),t===void 0&&(t=!1);const s=n.getBoundingClientRect(),r=kP(n);let a=co(1);e&&(i?da(i)&&(a=_p(i)):a=_p(n));const o=nK(r,t,i)?o4(r):co(0);let l=(s.left+o.x)/a.x,c=(s.top+o.y)/a.y,u=s.width/a.x,h=s.height/a.y;if(r){const f=Ws(r),p=i&&da(i)?Ws(i):i;let b=f,g=jI(b);for(;g&&i&&p!==b;){const S=_p(g),y=g.getBoundingClientRect(),v=ha(g),_=y.left+(g.clientLeft+parseFloat(v.paddingLeft))*S.x,x=y.top+(g.clientTop+parseFloat(v.paddingTop))*S.y;l*=S.x,c*=S.y,u*=S.x,h*=S.y,l+=_,c+=x,b=Ws(g),g=jI(b)}}return fx({width:u,height:h,x:l,y:c})}function tw(n,e){const t=ew(n).scrollLeft;return e?e.left+t:sf(_o(n)).left+t}function l4(n,e){const t=n.getBoundingClientRect(),i=t.left+e.scrollLeft-tw(n,t),s=t.top+e.scrollTop;return{x:i,y:s}}function iK(n){let{elements:e,rect:t,offsetParent:i,strategy:s}=n;const r=s==="fixed",a=_o(i),o=e?Z1(e.floating):!1;if(i===a||o&&r)return t;let l={scrollLeft:0,scrollTop:0},c=co(1);const u=co(0),h=mo(i);if((h||!h&&!r)&&((t0(i)!=="body"||mb(a))&&(l=ew(i)),mo(i))){const p=sf(i);c=_p(i),u.x=p.x+i.clientLeft,u.y=p.y+i.clientTop}const f=a&&!h&&!r?l4(a,l):co(0);return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-l.scrollLeft*c.x+u.x+f.x,y:t.y*c.y-l.scrollTop*c.y+u.y+f.y}}function sK(n){return Array.from(n.getClientRects())}function rK(n){const e=_o(n),t=ew(n),i=n.ownerDocument.body,s=Fs(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),r=Fs(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-t.scrollLeft+tw(n);const o=-t.scrollTop;return ha(i).direction==="rtl"&&(a+=Fs(e.clientWidth,i.clientWidth)-s),{width:s,height:r,x:a,y:o}}const EM=25;function aK(n,e){const t=Ws(n),i=_o(n),s=t.visualViewport;let r=i.clientWidth,a=i.clientHeight,o=0,l=0;if(s){r=s.width,a=s.height;const u=RP();(!u||u&&e==="fixed")&&(o=s.offsetLeft,l=s.offsetTop)}const c=tw(i);if(c<=0){const u=i.ownerDocument,h=u.body,f=getComputedStyle(h),p=u.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,b=Math.abs(i.clientWidth-h.clientWidth-p);b<=EM&&(r-=b)}else c<=EM&&(r+=c);return{width:r,height:a,x:o,y:l}}const oK=new Set(["absolute","fixed"]);function lK(n,e){const t=sf(n,!0,e==="fixed"),i=t.top+n.clientTop,s=t.left+n.clientLeft,r=mo(n)?_p(n):co(1),a=n.clientWidth*r.x,o=n.clientHeight*r.y,l=s*r.x,c=i*r.y;return{width:a,height:o,x:l,y:c}}function AM(n,e,t){let i;if(e==="viewport")i=aK(n,t);else if(e==="document")i=rK(_o(n));else if(da(e))i=lK(e,t);else{const s=o4(n);i={x:e.x-s.x,y:e.y-s.y,width:e.width,height:e.height}}return fx(i)}function c4(n,e){const t=Vu(n);return t===e||!da(t)||Ag(t)?!1:ha(t).position==="fixed"||c4(t,e)}function cK(n,e){const t=e.get(n);if(t)return t;let i=Gy(n,[],!1).filter(o=>da(o)&&t0(o)!=="body"),s=null;const r=ha(n).position==="fixed";let a=r?Vu(n):n;for(;da(a)&&!Ag(a);){const o=ha(a),l=PP(a);!l&&o.position==="fixed"&&(s=null),(r?!l&&!s:!l&&o.position==="static"&&!!s&&oK.has(s.position)||mb(a)&&!l&&c4(n,a))?i=i.filter(u=>u!==a):s=o,a=Vu(a)}return e.set(n,i),i}function uK(n){let{element:e,boundary:t,rootBoundary:i,strategy:s}=n;const a=[...t==="clippingAncestors"?Z1(e)?[]:cK(e,this._c):[].concat(t),i],o=a[0],l=a.reduce((c,u)=>{const h=AM(e,u,s);return c.top=Fs(h.top,c.top),c.right=Uu(h.right,c.right),c.bottom=Uu(h.bottom,c.bottom),c.left=Fs(h.left,c.left),c},AM(e,o,s));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function dK(n){const{width:e,height:t}=a4(n);return{width:e,height:t}}function hK(n,e,t){const i=mo(e),s=_o(e),r=t==="fixed",a=sf(n,!0,r,e);let o={scrollLeft:0,scrollTop:0};const l=co(0);function c(){l.x=tw(s)}if(i||!i&&!r)if((t0(e)!=="body"||mb(s))&&(o=ew(e)),i){const p=sf(e,!0,r,e);l.x=p.x+e.clientLeft,l.y=p.y+e.clientTop}else s&&c();r&&!i&&s&&c();const u=s&&!i&&!r?l4(s,o):co(0),h=a.left+o.scrollLeft-l.x-u.x,f=a.top+o.scrollTop-l.y-u.y;return{x:h,y:f,width:a.width,height:a.height}}function wE(n){return ha(n).position==="static"}function IM(n,e){if(!mo(n)||ha(n).position==="fixed")return null;if(e)return e(n);let t=n.offsetParent;return _o(n)===t&&(t=t.ownerDocument.body),t}function u4(n,e){const t=Ws(n);if(Z1(n))return t;if(!mo(n)){let s=Vu(n);for(;s&&!Ag(s);){if(da(s)&&!wE(s))return s;s=Vu(s)}return t}let i=IM(n,e);for(;i&&YW(i)&&wE(i);)i=IM(i,e);return i&&Ag(i)&&wE(i)&&!PP(i)?t:i||ZW(n)||t}const fK=async function(n){const e=this.getOffsetParent||u4,t=this.getDimensions,i=await t(n.floating);return{reference:hK(n.reference,await e(n.floating),n.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function pK(n){return ha(n).direction==="rtl"}const mK={convertOffsetParentRelativeRectToViewportRelativeRect:iK,getDocumentElement:_o,getClippingRect:uK,getOffsetParent:u4,getElementRects:fK,getClientRects:sK,getDimensions:dK,getScale:_p,isElement:da,isRTL:pK};function d4(n,e){return n.x===e.x&&n.y===e.y&&n.width===e.width&&n.height===e.height}function gK(n,e){let t=null,i;const s=_o(n);function r(){var o;clearTimeout(i),(o=t)==null||o.disconnect(),t=null}function a(o,l){o===void 0&&(o=!1),l===void 0&&(l=1),r();const c=n.getBoundingClientRect(),{left:u,top:h,width:f,height:p}=c;if(o||e(),!f||!p)return;const b=t_(h),g=t_(s.clientWidth-(u+f)),S=t_(s.clientHeight-(h+p)),y=t_(u),_={rootMargin:-b+"px "+-g+"px "+-S+"px "+-y+"px",threshold:Fs(0,Uu(1,l))||1};let x=!0;function E(C){const I=C[0].intersectionRatio;if(I!==l){if(!x)return a();I?a(!1,I):i=setTimeout(()=>{a(!1,1e-7)},1e3)}I===1&&!d4(c,n.getBoundingClientRect())&&a(),x=!1}try{t=new IntersectionObserver(E,{..._,root:s.ownerDocument})}catch{t=new IntersectionObserver(E,_)}t.observe(n)}return a(!0),r}function yK(n,e,t,i){i===void 0&&(i={});const{ancestorScroll:s=!0,ancestorResize:r=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:o=typeof IntersectionObserver=="function",animationFrame:l=!1}=i,c=kP(n),u=s||r?[...c?Gy(c):[],...Gy(e)]:[];u.forEach(y=>{s&&y.addEventListener("scroll",t,{passive:!0}),r&&y.addEventListener("resize",t)});const h=c&&o?gK(c,t):null;let f=-1,p=null;a&&(p=new ResizeObserver(y=>{let[v]=y;v&&v.target===c&&p&&(p.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var _;(_=p)==null||_.observe(e)})),t()}),c&&!l&&p.observe(c),p.observe(e));let b,g=l?sf(n):null;l&&S();function S(){const y=sf(n);g&&!d4(g,y)&&t(),g=y,b=requestAnimationFrame(S)}return t(),()=>{var y;u.forEach(v=>{s&&v.removeEventListener("scroll",t),r&&v.removeEventListener("resize",t)}),h==null||h(),(y=p)==null||y.disconnect(),p=null,l&&cancelAnimationFrame(b)}}const vK=VW,bK=XW,_K=FW,SK=GW,xK=zW,CM=jW,wK=HW,EK=(n,e,t)=>{const i=new Map,s={platform:mK,...t},r={...s.platform,_c:i};return BW(n,e,{...s,platform:r})};var AK=typeof document<"u",IK=function(){},H_=AK?w.useLayoutEffect:IK;function px(n,e){if(n===e)return!0;
vendor: 4,133 bytes, line 125
125if(typeof n!=typeof e)return!1;if(typeof n=="function"&&n.toString()===e.toString())return!0;let t,i,s;if(n&&e&&typeof n=="object"){if(Array.isArray(n)){if(t=n.length,t!==e.length)return!1;for(i=t;i--!==0;)if(!px(n[i],e[i]))return!1;return!0}if(s=Object.keys(n),t=s.length,t!==Object.keys(e).length)return!1;for(i=t;i--!==0;)if(!{}.hasOwnProperty.call(e,s[i]))return!1;for(i=t;i--!==0;){const r=s[i];if(!(r==="_owner"&&n.$$typeof)&&!px(n[r],e[r]))return!1}return!0}return n!==n&&e!==e}function h4(n){return typeof window>"u"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function TM(n,e){const t=h4(n);return Math.round(e*t)/t}function EE(n){const e=w.useRef(n);return H_(()=>{e.current=n}),e}function CK(n){n===void 0&&(n={});const{placement:e="bottom",strategy:t="absolute",middleware:i=[],platform:s,elements:{reference:r,floating:a}={},transform:o=!0,whileElementsMounted:l,open:c}=n,[u,h]=w.useState({x:0,y:0,strategy:t,placement:e,middlewareData:{},isPositioned:!1}),[f,p]=w.useState(i);px(f,i)||p(i);const[b,g]=w.useState(null),[S,y]=w.useState(null),v=w.useCallback(F=>{F!==C.current&&(C.current=F,g(F))},[]),_=w.useCallback(F=>{F!==I.current&&(I.current=F,y(F))},[]),x=r||b,E=a||S,C=w.useRef(null),I=w.useRef(null),R=w.useRef(u),D=l!=null,k=EE(l),N=EE(s),O=EE(c),j=w.useCallback(()=>{if(!C.current||!I.current)return;const F={placement:e,strategy:t,middleware:f};N.current&&(F.platform=N.current),EK(C.current,I.current,F).then(z=>{const G={...z,isPositioned:O.current!==!1};L.current&&!px(R.current,G)&&(R.current=G,eb.flushSync(()=>{h(G)}))})},[f,e,t,N,O]);H_(()=>{c===!1&&R.current.isPositioned&&(R.current.isPositioned=!1,h(F=>({...F,isPositioned:!1})))},[c]);const L=w.useRef(!1);H_(()=>(L.current=!0,()=>{L.current=!1}),[]),H_(()=>{if(x&&(C.current=x),E&&(I.current=E),x&&E){if(k.current)return k.current(x,E,j);j()}},[x,E,j,k,D]);const U=w.useMemo(()=>({reference:C,floating:I,setReference:v,setFloating:_}),[v,_]),M=w.useMemo(()=>({reference:x,floating:E}),[x,E]),B=w.useMemo(()=>{const F={position:t,left:0,top:0};if(!M.floating)return F;const z=TM(M.floating,u.x),G=TM(M.floating,u.y);return o?{...F,transform:"translate("+z+"px, "+G+"px)",...h4(M.floating)>=1.5&&{willChange:"transform"}}:{position:t,left:z,top:G}},[t,o,M.floating,u.x,u.y]);return w.useMemo(()=>({...u,update:j,refs:U,elements:M,floatingStyles:B}),[u,j,U,M,B])}const TK=n=>{function e(t){return{}.hasOwnProperty.call(t,"current")}return{name:"arrow",options:n,fn(t){const{element:i,padding:s}=typeof n=="function"?n(t):n;return i&&e(i)?i.current!=null?CM({element:i.current,padding:s}).fn(t):{}:i?CM({element:i,padding:s}).fn(t):{}}}},DK=(n,e)=>({...vK(n),options:[n,e]}),PK=(n,e)=>({...bK(n),options:[n,e]}),RK=(n,e)=>({...wK(n),options:[n,e]}),kK=(n,e)=>({..._K(n),options:[n,e]}),NK=(n,e)=>({...SK(n),options:[n,e]}),MK=(n,e)=>({...xK(n),options:[n,e]}),OK=(n,e)=>({...TK(n),options:[n,e]});var LK="Arrow",f4=w.forwardRef((n,e)=>{const{children:t,width:i=10,height:s=5,...r}=n;return m.jsx(Le.svg,{...r,ref:e,width:i,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:n.asChild?t:m.jsx("polygon",{points:"0,0 30,0 15,10"})})});f4.displayName=LK;var BK=f4;function jK(n){const[e,t]=w.useState(void 0);return jr(()=>{if(n){t({width:n.offsetWidth,height:n.offsetHeight});const i=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const r=s[0];let a,o;if("borderBoxSize"in r){const l=r.borderBoxSize,c=Array.isArray(l)?l[0]:l;a=c.inlineSize,o=c.blockSize}else a=n.offsetWidth,o=n.offsetHeight;t({width:a,height:o})});return i.observe(n,{box:"border-box"}),()=>i.unobserve(n)}else t(void 0)},[n]),e}var p4="Popper",[m4,g4]=Yl(p4),[jme,y4]=m4(p4),v4="PopperAnchor",b4=w.forwardRef((n,e)=>{const{__scopePopper:t,virtualRef:i,...s}=n,r=y4(v4,t),a=w.useRef(null),o=nt(e,a);return w.useEffect(()=>{r.onAnchorChange((i==null?void 0:i.current)||a.current)}),i?null:m.jsx(Le.div,{...s,ref:o})});b4.displayName=v4;var NP="PopperContent",[FK,zK]=m4(NP),_4=w.forwardRef((n,e)=>{var ne,bt,jt,_t,$,Rn;const{__scopePopper:t,side:i="bottom",sideOffset:s=0,align:r="center",alignOffset:a=0,arrowPadding:o=0,avoidCollisions:l
vendor: 9,908 bytes, line 125
125=!0,collisionBoundary:c=[],collisionPadding:u=0,sticky:h="partial",hideWhenDetached:f=!1,updatePositionStrategy:p="optimized",onPlaced:b,...g}=n,S=y4(NP,t),[y,v]=w.useState(null),_=nt(e,Be=>v(Be)),[x,E]=w.useState(null),C=jK(x),I=(C==null?void 0:C.width)??0,R=(C==null?void 0:C.height)??0,D=i+(r!=="center"?"-"+r:""),k=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},N=Array.isArray(c)?c:[c],O=N.length>0,j={padding:k,boundary:N.filter(VK),altBoundary:O},{refs:L,floatingStyles:U,placement:M,isPositioned:B,middlewareData:F}=CK({strategy:"fixed",placement:D,whileElementsMounted:(...Be)=>yK(...Be,{animationFrame:p==="always"}),elements:{reference:S.anchor},middleware:[DK({mainAxis:s+R,alignmentAxis:a}),l&&PK({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?RK():void 0,...j}),l&&kK({...j}),NK({...j,apply:({elements:Be,rects:Xe,availableWidth:ut,availableHeight:rn})=>{const{width:Pt,height:So}=Xe.reference,_a=Be.floating.style;_a.setProperty("--radix-popper-available-width",`${ut}px`),_a.setProperty("--radix-popper-available-height",`${rn}px`),_a.setProperty("--radix-popper-anchor-width",`${Pt}px`),_a.setProperty("--radix-popper-anchor-height",`${So}px`)}}),x&&OK({element:x,padding:o}),XK({arrowWidth:I,arrowHeight:R}),f&&MK({strategy:"referenceHidden",...j})]}),[z,G]=w4(M),te=_i(b);jr(()=>{B&&(te==null||te())},[B,te]);const Y=(ne=F.arrow)==null?void 0:ne.x,X=(bt=F.arrow)==null?void 0:bt.y,W=((jt=F.arrow)==null?void 0:jt.centerOffset)!==0,[ae,Ue]=w.useState();return jr(()=>{y&&Ue(window.getComputedStyle(y).zIndex)},[y]),m.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...U,transform:B?U.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ae,"--radix-popper-transform-origin":[(_t=F.transformOrigin)==null?void 0:_t.x,($=F.transformOrigin)==null?void 0:$.y].join(" "),...((Rn=F.hide)==null?void 0:Rn.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:n.dir,children:m.jsx(FK,{scope:t,placedSide:z,onArrowChange:E,arrowX:Y,arrowY:X,shouldHideArrow:W,children:m.jsx(Le.div,{"data-side":z,"data-align":G,...g,ref:_,style:{...g.style,animation:B?void 0:"none"}})})})});_4.displayName=NP;var S4="PopperArrow",UK={top:"bottom",right:"left",bottom:"top",left:"right"},x4=w.forwardRef(function(e,t){const{__scopePopper:i,...s}=e,r=zK(S4,i),a=UK[r.placedSide];return m.jsx("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0},children:m.jsx(BK,{...s,ref:t,style:{...s.style,display:"block"}})})});x4.displayName=S4;function VK(n){return n!==null}var XK=n=>({name:"transformOrigin",options:n,fn(e){var S,y,v;const{placement:t,rects:i,middlewareData:s}=e,a=((S=s.arrow)==null?void 0:S.centerOffset)!==0,o=a?0:n.arrowWidth,l=a?0:n.arrowHeight,[c,u]=w4(t),h={start:"0%",center:"50%",end:"100%"}[u],f=(((y=s.arrow)==null?void 0:y.x)??0)+o/2,p=(((v=s.arrow)==null?void 0:v.y)??0)+l/2;let b="",g="";return c==="bottom"?(b=a?h:`${f}px`,g=`${-l}px`):c==="top"?(b=a?h:`${f}px`,g=`${i.floating.height+l}px`):c==="right"?(b=`${-l}px`,g=a?h:`${p}px`):c==="left"&&(b=`${i.floating.width+l}px`,g=a?h:`${p}px`),{data:{x:b,y:g}}}});function w4(n){const[e,t="center"]=n.split("-");return[e,t]}var HK=b4,GK=_4,$K=x4,[nw,Fme]=Yl("Tooltip",[g4]),MP=g4(),E4="TooltipProvider",qK=700,DM="tooltip.open",[YK,A4]=nw(E4),I4=n=>{const{__scopeTooltip:e,delayDuration:t=qK,skipDelayDuration:i=300,disableHoverableContent:s=!1,children:r}=n,a=w.useRef(!0),o=w.useRef(!1),l=w.useRef(0);return w.useEffect(()=>{const c=l.current;return()=>window.clearTimeout(c)},[]),m.jsx(YK,{scope:e,isOpenDelayedRef:a,delayDuration:t,onOpen:w.useCallback(()=>{window.clearTimeout(l.current),a.current=!1},[]),onClose:w.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>a.current=!0,i)},[i]),isPointerInTransitRef:o,onPointerInTransitChange:w.useCallback(c=>{o.current=c},[]),disableHoverableContent:s,children:r})};I4.displayName=E4;var C4="Tooltip",[zme,iw]=nw(C4),FI="TooltipTrigger",WK=w.forwardRef((n,e)=>{const{__scopeTooltip:t,...i}=n,s=iw(FI,t),r=A4(FI,t),a=MP(t),o=w.useRef(null),l=nt(e,o,s.onTriggerChange),c=w.useRef(!1),u=w.useRef(!1),h=w.useCallback(()=>c.current=!1,[]);return w.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),m.jsx(HK,{asChild:!0,...a,children:m.jsx(Le.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...i,ref:l,onPointerMove:He(n.onPointerMove,f=>{f.pointerType!=="touch"&&!u.current&&!r.isPointerInTransitRef.current&&(s.onTriggerEnter(),u.current=!0)}),onPointerLeave:He(n.onPointerLeave,()=>{s.onTriggerLeave(),u.current=!1}),onPointerDown:He(n.onPointerDown,()=>{s.open&&s.onClose(),c.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:He(n.onFocus,()=>{c.current||s.onOpen()}),onBlur:He(n.onBlur,s.onClose),onClick:He(n.onClick,s.onClose)})})});WK.displayName=FI;var KK="TooltipPortal",[Ume,QK]=nw(KK,{forceMount:void 0}),Ig="TooltipContent",T4=w.forwardRef((n,e)=>{const t=QK(Ig,n.__scopeTooltip),{forceMount:i=t.forceMount,side:s="top",...r}=n,a=iw(Ig,n.__scopeTooltip);return m.jsx(yf,{present:i||a.open,children:a.disableHoverableContent?m.jsx(D4,{side:s,...r,ref:e}):m.jsx(JK,{side:s,...r,ref:e})})}),JK=w.forwardRef((n,e)=>{const t=iw(Ig,n.__scopeTooltip),i=A4(Ig,n.__scopeTooltip),s=w.useRef(null),r=nt(e,s),[a,o]=w.useState(null),{trigger:l,onClose:c}=t,u=s.current,{onPointerInTransitChange:h}=i,f=w.useCallback(()=>{o(null),h(!1)},[h]),p=w.useCallback((b,g)=>{const S=b.currentTarget,y={x:b.clientX,y:b.clientY},v=iQ(y,S.getBoundingClientRect()),_=sQ(y,v),x=rQ(g.getBoundingClientRect()),E=oQ([..._,...x]);o(E),h(!0)},[h]);return w.useEffect(()=>()=>f(),[f]),w.useEffect(()=>{if(l&&u){const b=S=>p(S,u),g=S=>p(S,l);return l.addEventListener("pointerleave",b),u.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",b),u.removeEventListener("pointerleave",g)}}},[l,u,p,f]),w.useEffect(()=>{if(a){const b=g=>{const S=g.target,y={x:g.clientX,y:g.clientY},v=(l==null?void 0:l.contains(S))||(u==null?void 0:u.contains(S)),_=!aQ(y,a);v?f():_&&(f(),c())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[l,u,a,c,f]),m.jsx(D4,{...n,ref:r})}),[ZK,eQ]=nw(C4,{isInside:!1}),tQ=pj("TooltipContent"),D4=w.forwardRef((n,e)=>{const{__scopeTooltip:t,children:i,"aria-label":s,onEscapeKeyDown:r,onPointerDownOutside:a,...o}=n,l=iw(Ig,t),c=MP(t),{onClose:u}=l;return w.useEffect(()=>(document.addEventListener(DM,u),()=>document.removeEventListener(DM,u)),[u]),w.useEffect(()=>{if(l.trigger){const h=f=>{const p=f.target;p!=null&&p.contains(l.trigger)&&u()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[l.trigger,u]),m.jsx(e4,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:r,onPointerDownOutside:a,onFocusOutside:h=>h.preventDefault(),onDismiss:u,children:m.jsxs(GK,{"data-state":l.stateAttribute,...c,...o,ref:e,style:{...o.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[m.jsx(tQ,{children:i}),m.jsx(ZK,{scope:t,isInside:!0,children:m.jsx(Dq,{id:l.contentId,role:"tooltip",children:s||i})})]})})});T4.displayName=Ig;var P4="TooltipArrow",nQ=w.forwardRef((n,e)=>{const{__scopeTooltip:t,...i}=n,s=MP(t);return eQ(P4,t).isInside?null:m.jsx($K,{...s,...i,ref:e})});nQ.displayName=P4;function iQ(n,e){const t=Math.abs(e.top-n.y),i=Math.abs(e.bottom-n.y),s=Math.abs(e.right-n.x),r=Math.abs(e.left-n.x);switch(Math.min(t,i,s,r)){case r:return"left";case s:return"right";case t:return"top";case i:return"bottom";default:throw new Error("unreachable")}}function sQ(n,e,t=5){const i=[];switch(e){case"top":i.push({x:n.x-t,y:n.y+t},{x:n.x+t,y:n.y+t});break;case"bottom":i.push({x:n.x-t,y:n.y-t},{x:n.x+t,y:n.y-t});break;case"left":i.push({x:n.x+t,y:n.y-t},{x:n.x+t,y:n.y+t});break;case"right":i.push({x:n.x-t,y:n.y-t},{x:n.x-t,y:n.y+t});break}return i}function rQ(n){const{top:e,right:t,bottom:i,left:s}=n;return[{x:s,y:e},{x:t,y:e},{x:t,y:i},{x:s,y:i}]}function aQ(n,e){const{x:t,y:i}=n;let s=!1;for(let r=0,a=e.length-1;r<e.length;a=r++){const o=e[r],l=e[a],c=o.x,u=o.y,h=l.x,f=l.y;u>i!=f>i&&t<(h-c)*(i-u)/(f-u)+c&&(s=!s)}return s}function oQ(n){const e=n.slice();return e.sort((t,i)=>t.x<i.x?-1:t.x>i.x?1:t.y<i.y?-1:t.y>i.y?1:0),lQ(e)}function lQ(n){if(n.length<=1)return n.slice();const e=[];for(let i=0;i<n.length;i++){const s=n[i];for(;e.length>=2;){const r=e[e.length-1],a=e[e.length-2];if((r.x-a.x)*(s.y-a.y)>=(r.y-a.y)*(s.x-a.x))e.pop();else break}e.push(s)}e.pop();const t=[];for(let i=n.length-1;i>=0;i--){const s=n[i];for(;t.length>=2;){const r=t[t.length-1],a=t[t.length-2];if((r.x-a.x)*(s.y-a.y)>=(r.y-a.y)*(s.x-a.x))t.pop();else break}t.push(s)}return t.pop(),e.length===1&&t.length===1&&e[0].x===t[0].x&&e[0].y===t[0].y?e:e.concat(t)}var cQ=I4,R4=T4;const uQ=cQ,dQ=w.forwardRef(({className:n,sideOffset:e=4,...t},i)=>m.jsx(R4,{ref:i,sideOffset:e,className:Ce("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
125de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n),...t}));dQ.displayName=R4.displayName;var sw=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(n){return this.listeners.add(n),this.onSubscribe(),()=>{this.listeners.delete(n),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},rw=typeof window>"u"||"Deno"in globalThis;function Yr(){}function hQ(n,e){return typeof n=="function"?n(e):n}function fQ(n){return typeof n=="number"&&n>=0&&n!==1/0}function pQ(n,e){return Math.max(n+(e||0)-Date.now(),0)}function zI(n,e){return typeof n=="function"?n(e):n}function mQ(n,e){return typeof n=="function"?n(e):n}function PM(n,e){const{type:t="all",exact:i,fetchStatus:s,predicate:r,queryKey:a,stale:o}=n;if(a){if(i){if(e.queryHash!==OP(a,e.options))return!1}else if(!qy(e.queryKey,a))return!1}if(t!=="all"){const l=e.isActive();if(t==="active"&&!l||t==="inactive"&&l)return!1}return!(typeof o=="boolean"&&e.isStale()!==o||s&&s!==e.state.fetchStatus||r&&!r(e))}function RM(n,e){const{exact:t,status:i,predicate:s,mutationKey:r}=n;if(r){if(!e.options.mutationKey)return!1;if(t){if($y(e.options.mutationKey)!==$y(r))return!1}else if(!qy(e.options.mutationKey,r))return!1}return!(i&&e.state.status!==i||s&&!s(e))}function OP(n,e){return((e==null?void 0:e.queryKeyHashFn)||$y)(n)}function $y(n){return JSON.stringify(n,(e,t)=>UI(t)?Object.keys(t).sort().reduce((i,s)=>(i[s]=t[s],i),{}):t)}function qy(n,e){return n===e?!0:typeof n!=typeof e?!1:n&&e&&typeof n=="object"&&typeof e=="object"?Object.keys(e).every(t=>qy(n[t],e[t])):!1}function k4(n,e){if(n===e)return n;const t=kM(n)&&kM(e);if(t||UI(n)&&UI(e)){const i=t?n:Object.keys(n),s=i.length,r=t?e:Object.keys(e),a=r.length,o=t?[]:{},l=new Set(i);let c=0;for(let u=0;u<a;u++){const h=t?u:r[u];(!t&&l.has(h)||t)&&n[h]===void 0&&e[h]===void 0?(o[h]=void 0,c++):(o[h]=k4(n[h],e[h]),o[h]===n[h]&&n[h]!==void 0&&c++)}return s===a&&c===s?n:o}return e}function kM(n){return Array.isArray(n)&&n.length===Object.keys(n).length}function UI(n){if(!NM(n))return!1;const e=n.constructor;if(e===void 0)return!0;const t=e.prototype;return!(!NM(t)||!t.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(n)!==Object.prototype)}function NM(n){return Object.prototype.toString.call(n)==="[object Object]"}function gQ(n){return new Promise(e=>{setTimeout(e,n)})}function yQ(n,e,t){return typeof t.structuralSharing=="function"?t.structuralSharing(n,e):t.structuralSharing!==!1?k4(n,e):e}function vQ(n,e,t=0){const i=[...n,e];return t&&i.length>t?i.slice(1):i}function bQ(n,e,t=0){const i=[e,...n];return t&&i.length>t?i.slice(0,-1):i}var LP=Symbol();function N4(n,e){return!n.queryFn&&(e!=null&&e.initialPromise)?()=>e.initialPromise:!n.queryFn||n.queryFn===LP?()=>Promise.reject(new Error(`Missing queryFn: '${n.queryHash}'`)):n.queryFn}var wd,mc,Np,QL,_Q=(QL=class extends sw{constructor(){super();T(this,wd);T(this,mc);T(this,Np);A(this,Np,e=>{if(!rw&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}})}onSubscribe(){d(this,mc)||this.setEventListener(d(this,Np))}onUnsubscribe(){var e;this.hasListeners()||((e=d(this,mc))==null||e.call(this),A(this,mc,void 0))}setEventListener(e){var t;A(this,Np,e),(t=d(this,mc))==null||t.call(this),A(this,mc,e(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(e){d(this,wd)!==e&&(A(this,wd,e),this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){var e;return typeof d(this,wd)=="boolean"?d(this,wd):((e=globalThis.document)==null?void 0:e.visibilityState)!=="hidden"}},wd=new WeakMap,mc=new WeakMap,Np=new WeakMap,QL),M4=new _Q,Mp,gc,Op,JL,SQ=(JL=class extends sw{constructor(){super();T(this,Mp,!0);T(this,gc);T(this,Op);A(this,Op,e=>{if(!rw&&window.addEventListener){const t=()=>e(!0),i=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",i)}}})}onSubscribe(){d(this,gc)||this.setEventListener(d(this,Op))}onUnsubscribe(){var e;this.hasListeners()||((e=d(this,gc))==null||e.call(this),A(this,gc,void 0))}setEventListener(e){var t;A(this,Op,e),(t=d(this,gc))==null||t.call(this),A(this,gc,e(this.setOnline.bind(this)))}setOnline(e){d(this,Mp)!==e&&(A(this,Mp,e),this.listeners.forEac
vendor: 18,949 bytes, line 125
125h(i=>{i(e)}))}isOnline(){return d(this,Mp)}},Mp=new WeakMap,gc=new WeakMap,Op=new WeakMap,JL),mx=new SQ;function xQ(){let n,e;const t=new Promise((s,r)=>{n=s,e=r});t.status="pending",t.catch(()=>{});function i(s){Object.assign(t,s),delete t.resolve,delete t.reject}return t.resolve=s=>{i({status:"fulfilled",value:s}),n(s)},t.reject=s=>{i({status:"rejected",reason:s}),e(s)},t}function wQ(n){return Math.min(1e3*2**n,3e4)}function O4(n){return(n??"online")==="online"?mx.isOnline():!0}var L4=class extends Error{constructor(n){super("CancelledError"),this.revert=n==null?void 0:n.revert,this.silent=n==null?void 0:n.silent}};function AE(n){return n instanceof L4}function B4(n){let e=!1,t=0,i=!1,s;const r=xQ(),a=g=>{var S;i||(f(new L4(g)),(S=n.abort)==null||S.call(n))},o=()=>{e=!0},l=()=>{e=!1},c=()=>M4.isFocused()&&(n.networkMode==="always"||mx.isOnline())&&n.canRun(),u=()=>O4(n.networkMode)&&n.canRun(),h=g=>{var S;i||(i=!0,(S=n.onSuccess)==null||S.call(n,g),s==null||s(),r.resolve(g))},f=g=>{var S;i||(i=!0,(S=n.onError)==null||S.call(n,g),s==null||s(),r.reject(g))},p=()=>new Promise(g=>{var S;s=y=>{(i||c())&&g(y)},(S=n.onPause)==null||S.call(n)}).then(()=>{var g;s=void 0,i||(g=n.onContinue)==null||g.call(n)}),b=()=>{if(i)return;let g;const S=t===0?n.initialPromise:void 0;try{g=S??n.fn()}catch(y){g=Promise.reject(y)}Promise.resolve(g).then(h).catch(y=>{var C;if(i)return;const v=n.retry??(rw?0:3),_=n.retryDelay??wQ,x=typeof _=="function"?_(t,y):_,E=v===!0||typeof v=="number"&&t<v||typeof v=="function"&&v(t,y);if(e||!E){f(y);return}t++,(C=n.onFail)==null||C.call(n,t,y),gQ(x).then(()=>c()?void 0:p()).then(()=>{e?f(y):b()})})};return{promise:r,cancel:a,continue:()=>(s==null||s(),r),cancelRetry:o,continueRetry:l,canStart:u,start:()=>(u()?b():p().then(b),r)}}var EQ=n=>setTimeout(n,0);function AQ(){let n=[],e=0,t=o=>{o()},i=o=>{o()},s=EQ;const r=o=>{e?n.push(o):s(()=>{t(o)})},a=()=>{const o=n;n=[],o.length&&s(()=>{i(()=>{o.forEach(l=>{t(l)})})})};return{batch:o=>{let l;e++;try{l=o()}finally{e--,e||a()}return l},batchCalls:o=>(...l)=>{r(()=>{o(...l)})},schedule:r,setNotifyFunction:o=>{t=o},setBatchNotifyFunction:o=>{i=o},setScheduler:o=>{s=o}}}var Ri=AQ(),Ed,ZL,j4=(ZL=class{constructor(){T(this,Ed)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),fQ(this.gcTime)&&A(this,Ed,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(n){this.gcTime=Math.max(this.gcTime||0,n??(rw?1/0:5*60*1e3))}clearGcTimeout(){d(this,Ed)&&(clearTimeout(d(this,Ed)),A(this,Ed,void 0))}},Ed=new WeakMap,ZL),Lp,Ad,cr,Id,li,vv,Cd,Wr,ko,e5,IQ=(e5=class extends j4{constructor(e){super();T(this,Wr);T(this,Lp);T(this,Ad);T(this,cr);T(this,Id);T(this,li);T(this,vv);T(this,Cd);A(this,Cd,!1),A(this,vv,e.defaultOptions),this.setOptions(e.options),this.observers=[],A(this,Id,e.client),A(this,cr,d(this,Id).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,A(this,Lp,TQ(this.options)),this.state=e.state??d(this,Lp),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return(e=d(this,li))==null?void 0:e.promise}setOptions(e){this.options={...d(this,vv),...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&d(this,cr).remove(this)}setData(e,t){const i=yQ(this.state.data,e,this.options);return P(this,Wr,ko).call(this,{data:i,type:"success",dataUpdatedAt:t==null?void 0:t.updatedAt,manual:t==null?void 0:t.manual}),i}setState(e,t){P(this,Wr,ko).call(this,{type:"setState",state:e,setStateOptions:t})}cancel(e){var i,s;const t=(i=d(this,li))==null?void 0:i.promise;return(s=d(this,li))==null||s.cancel(e),t?t.then(Yr).catch(Yr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(d(this,Lp))}isActive(){return this.observers.some(e=>mQ(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===LP||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>zI(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!pQ(this.state.dataUpdatedAt,e)}onFocus(){var t;const e=this.observers.find(i=>i.shouldFetchOnWindowFocus());e==null||e.refetch({cancelRefetch:!1}),(t=d(this,li))==null||t.continue()}onOnline(){var t;const e=this.observers.find(i=>i.shouldFetchOnReconnect());e==null||e.refetch({cancelRefetch:!1}),(t=d(this,li))==null||t.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),d(this,cr).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(d(this,li)&&(d(this,Cd)?d(this,li).cancel({revert:!0}):d(this,li).cancelRetry()),this.scheduleGc()),d(this,cr).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||P(this,Wr,ko).call(this,{type:"invalidate"})}fetch(e,t){var c,u,h;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(t!=null&&t.cancelRefetch))this.cancel({silent:!0});else if(d(this,li))return d(this,li).continueRetry(),d(this,li).promise}if(e&&this.setOptions(e),!this.options.queryFn){const f=this.observers.find(p=>p.options.queryFn);f&&this.setOptions(f.options)}const i=new AbortController,s=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(A(this,Cd,!0),i.signal)})},r=()=>{const f=N4(this.options,t),b=(()=>{const g={client:d(this,Id),queryKey:this.queryKey,meta:this.meta};return s(g),g})();return A(this,Cd,!1),this.options.persister?this.options.persister(f,b,this):f(b)},o=(()=>{const f={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:d(this,Id),state:this.state,fetchFn:r};return s(f),f})();(c=this.options.behavior)==null||c.onFetch(o,this),A(this,Ad,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=o.fetchOptions)==null?void 0:u.meta))&&P(this,Wr,ko).call(this,{type:"fetch",meta:(h=o.fetchOptions)==null?void 0:h.meta});const l=f=>{var p,b,g,S;AE(f)&&f.silent||P(this,Wr,ko).call(this,{type:"error",error:f}),AE(f)||((b=(p=d(this,cr).config).onError)==null||b.call(p,f,this),(S=(g=d(this,cr).config).onSettled)==null||S.call(g,this.state.data,f,this)),this.scheduleGc()};return A(this,li,B4({initialPromise:t==null?void 0:t.initialPromise,fn:o.fetchFn,abort:i.abort.bind(i),onSuccess:f=>{var p,b,g,S;if(f===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(y){l(y);return}(b=(p=d(this,cr).config).onSuccess)==null||b.call(p,f,this),(S=(g=d(this,cr).config).onSettled)==null||S.call(g,f,this.state.error,this),this.scheduleGc()},onError:l,onFail:(f,p)=>{P(this,Wr,ko).call(this,{type:"failed",failureCount:f,error:p})},onPause:()=>{P(this,Wr,ko).call(this,{type:"pause"})},onContinue:()=>{P(this,Wr,ko).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),d(this,li).start()}},Lp=new WeakMap,Ad=new WeakMap,cr=new WeakMap,Id=new WeakMap,li=new WeakMap,vv=new WeakMap,Cd=new WeakMap,Wr=new WeakSet,ko=function(e){const t=i=>{switch(e.type){case"failed":return{...i,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...CQ(i.data,this.options),fetchMeta:e.meta??null};case"success":return A(this,Ad,void 0),{...i,data:e.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const s=e.error;return AE(s)&&s.revert&&d(this,Ad)?{...d(this,Ad),fetchStatus:"idle"}:{...i,error:s,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...e.state}}};this.state=t(this.state),Ri.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),d(this,cr).notify({query:this,type:"updated",action:e})})},e5);function CQ(n,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:O4(e.networkMode)?"fetching":"paused",...n===void 0&&{error:null,status:"pending"}}}function TQ(n){const e=typeof n.initialData=="function"?n.initialData():n.initialData,t=e!==void 0,i=t?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:t?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:t?"success":"pending",fetchStatus:"idle"}}var Ia,t5,DQ=(t5=class extends sw{constructor(e={}){super();T(this,Ia);this.config=e,A(this,Ia,new Map)}build(e,t,i){const s=t.queryKey,r=t.queryHash??OP(s,t);let a=this.get(r);return a||(a=new IQ({client:e,queryKey:s,queryHash:r,options:e.defaultQueryOptions(t),state:i,defaultOptions:e.getQueryDefaults(s)}),this.add(a)),a}add(e){d(this,Ia).has(e.queryHash)||(d(this,Ia).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=d(this,Ia).get(e.queryHash);t&&(e.destroy(),t===e&&d(this,Ia).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Ri.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return d(this,Ia).get(e)}getAll(){return[...d(this,Ia).values()]}find(e){const t={exact:!0,...e};return this.getAll().find(i=>PM(t,i))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(i=>PM(e,i)):t}notify(e){Ri.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Ri.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Ri.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Ia=new WeakMap,t5),Ca,Ai,Td,Ta,sc,n5,PQ=(n5=class extends j4{constructor(e){super();T(this,Ta);T(this,Ca);T(this,Ai);T(this,Td);this.mutationId=e.mutationId,A(this,Ai,e.mutationCache),A(this,Ca,[]),this.state=e.state||RQ(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){d(this,Ca).includes(e)||(d(this,Ca).push(e),this.clearGcTimeout(),d(this,Ai).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){A(this,Ca,d(this,Ca).filter(t=>t!==e)),this.scheduleGc(),d(this,Ai).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){d(this,Ca).length||(this.state.status==="pending"?this.scheduleGc():d(this,Ai).remove(this))}continue(){var e;return((e=d(this,Td))==null?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var r,a,o,l,c,u,h,f,p,b,g,S,y,v,_,x,E,C,I,R;const t=()=>{P(this,Ta,sc).call(this,{type:"continue"})};A(this,Td,B4({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(D,k)=>{P(this,Ta,sc).call(this,{type:"failed",failureCount:D,error:k})},onPause:()=>{P(this,Ta,sc).call(this,{type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>d(this,Ai).canRun(this)}));const i=this.state.status==="pending",s=!d(this,Td).canStart();try{if(i)t();else{P(this,Ta,sc).call(this,{type:"pending",variables:e,isPaused:s}),await((a=(r=d(this,Ai).config).onMutate)==null?void 0:a.call(r,e,this));const k=await((l=(o=this.options).onMutate)==null?void 0:l.call(o,e));k!==this.state.context&&P(this,Ta,sc).call(this,{type:"pending",context:k,variables:e,isPaused:s})}const D=await d(this,Td).start();return await((u=(c=d(this,Ai).config).onSuccess)==null?void 0:u.call(c,D,e,this.state.context,this)),await((f=(h=this.options).onSuccess)==null?void 0:f.call(h,D,e,this.state.context)),await((b=(p=d(this,Ai).config).onSettled)==null?void 0:b.call(p,D,null,this.state.variables,this.state.context,this)),await((S=(g=this.options).onSettled)==null?void 0:S.call(g,D,null,e,this.state.context)),P(this,Ta,sc).call(this,{type:"success",data:D}),D}catch(D){try{throw await((v=(y=d(this,Ai).config).onError)==null?void 0:v.call(y,D,e,this.state.context,this)),await((x=(_=this.options).onError)==null?void 0:x.call(_,D,e,this.state.context)),await((C=(E=d(this,Ai).config).onSettled)==null?void 0:C.call(E,void 0,D,this.state.variables,this.state.context,this)),await((R=(I=this.options).onSettled)==null?void 0:R.call(I,void 0,D,e,this.state.context)),D}finally{P(this,Ta,sc).call(this,{type:"error",error:D})}}finally{d(this,Ai).runNext(this)}}},Ca=new WeakMap,Ai=new WeakMap,Td=new WeakMap,Ta=new WeakSet,sc=function(e){const t=i=>{switch(e.type){case"failed":return{...i,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...i,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:e.error,failureCount:i.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),Ri.batch(()=>{d(this,Ca).forEach(i=>{i.onMutationUpdate(e)}),d(this,Ai).notify({mutation:this,type:"updated",action:e})})},n5);function RQ(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Vo,Kr,bv,i5,kQ=(i5=class extends sw{constructor(e={}){super();T(this,Vo);T(this,Kr);T(this,bv);this.config=e,A(this,Vo,new Set),A(this,Kr,new Map),A(this,bv,0)}build(e,t,i){const s=new PQ({mutationCache:this,mutationId:++qt(this,bv)._,options:e.defaultMutationOptions(t),state:i});return this.add(s),s}add(e){d(this,Vo).add(e);const t=n_(e);if(typeof t=="string"){const i=d(this,Kr).get(t);i?i.push(e):d(this,Kr).set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(d(this,Vo).delete(e)){const t=n_(e);if(typeof t=="string"){const i=d(this,Kr).get(t);if(i)if(i.length>1){const s=i.indexOf(e);s!==-1&&i.splice(s,1)}else i[0]===e&&d(this,Kr).delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=n_(e);if(typeof t=="string"){const i=d(this,Kr).get(t),s=i==null?void 0:i.find(r=>r.state.status==="pending");return!s||s===e}else return!0}runNext(e){var i;const t=n_(e);if(typeof t=="string"){const s=(i=d(this,Kr).get(t))==null?void 0:i.find(r=>r!==e&&r.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ri.batch(()=>{d(this,Vo).forEach(e=>{this.notify({type:"removed",mutation:e})}),d(this,Vo).clear(),d(this,Kr).clear()})}getAll(){return Array.from(d(this,Vo))}find(e){const t={exact:!0,...e};return this.getAll().find(i=>RM(t,i))}findAll(e={}){return this.getAll().filter(t=>RM(e,t))}notify(e){Ri.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return Ri.batch(()=>Promise.all(e.map(t=>t.continue().catch(Yr))))}},Vo=new WeakMap,Kr=new WeakMap,bv=new WeakMap,i5);function n_(n){var e;return(e=n.options.scope)==null?void 0:e.id}function MM(n){return{onFetch:(e,t)=>{var u,h,f,p,b;const i=e.options,s=(f=(h=(u=e.fetchOptions)==null?void 0:u.meta)==null?void 0:h.fetchMore)==null?void 0:f.direction,r=((p=e.state.data)==null?void 0:p.pages)||[],a=((b=e.state.data)==null?void 0:b.pageParams)||[];let o={pages:[],pageParams:[]},l=0;const c=async()=>{let g=!1;const S=_=>{Object.defineProperty(_,"signal",{enumerable:!0,get:()=>(e.signal.aborted?g=!0:e.signal.addEventListener("abort",()=>{g=!0}),e.signal)})},y=N4(e.options,e.fetchOptions),v=async(_,x,E)=>{if(g)return Promise.reject();if(x==null&&_.pages.length)return Promise.resolve(_);const I=(()=>{const N={client:e.client,queryKey:e.queryKey,pageParam:x,direction:E?"backward":"forward",meta:e.options.meta};return S(N),N})(),R=await y(I),{maxPages:D}=e.options,k=E?bQ:vQ;return{pages:k(_.pages,R,D),pageParams:k(_.pageParams,x,D)}};if(s&&r.length){const _=s==="backward",x=_?NQ:OM,E={pages:r,pageParams:a},C=x(i,E);o=await v(E,C,_)}else{const _=n??r.length;do{const x=l===0?a[0]??i.initialPageParam:OM(i,o);if(l>0&&x==null)break;o=await v(o,x),l++}while(l<_)}return o};e.options.persister?e.fetchFn=()=>{var g,S;return(S=(g=e.options).persister)==null?void 0:S.call(g,c,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},t)}:e.fetchFn=c}}}function OM(n,{pages:e,pageParams:t}){const i=e.length-1;return e.length>0?n.getNextPageParam(e[i],e,t[i],t):void 0}function NQ(n,{pages:e,pageParams:t}){var i;return e.length>0?(i=n.getPreviousPageParam)==null?void 0:i.call(n,e[0],e,t[0],t):void 0}var Wt,yc,vc,Bp,jp,bc,Fp,zp,s5,MQ=(s5=class{constructor(n={}){T(this,Wt);T(this,yc);T(this,vc);T(this,Bp);T(this,jp);T(this,bc);T(this,Fp);T(this,zp);A(this,Wt,n.queryCache||new DQ),A(this,yc,n.mutationCache||new kQ),A(this,vc,n.defaultOptions||{}),A(this,Bp,new Map),A(this,jp,new Map),A(this,bc,0)}mount(){qt(this,bc)._++,d(this,bc)===1&&(A(this,Fp,M4.subscribe(async n=>{n&&(await this.resumePausedMutations(),d(this,Wt).onFocus())})),A(this,zp,mx.subscribe(async n=>{n&&(await this.resumePausedMutations(),d(this,Wt).onOnline())})))}unmount(){var n,e;qt(this,bc)._--,d(this,bc)===0&&((n=d(this,Fp))==null||n.call(this),A(this,Fp,void 0),(e=d(this,zp))==null||e.call(this),A(this,zp,void 0))}isFetching(n){return d(this,Wt).findAll({...n,fetchStatus:"fetching"}).length}isMutating(n){return d(this,yc).findAll({...n,status:"pending"}).length}getQueryData(n){var t;const e=this.defaultQueryOptions({queryKey:n});return(t=d(this,Wt).get(e.queryHash))==null?void 0:t.state.data}ensureQueryData(n){const e=this.defaultQueryOptions(n),t=d(this,Wt).build(this,e),i=t.state.data;return i===void 0?this.fetchQuery(n):(n.revalidateIfStale&&t.isStaleByTime(zI(e.staleTime,t))&&this.prefetchQuery(e),Promise.resolve(i))}getQueriesData(n){return d(this,Wt).findAll(n).map(({queryKey:e,state:t})=>{const i=t.data;return[e,i]})}setQueryData(n,e,t){const i=this.defaultQueryOptions({queryKey:n}),s=d(this,Wt).get(i.queryHash),r=s==null?void 0:s.state.data,a=hQ(e,r);if(a!==void 0)return d(this,Wt).build(this,i).setData(a,{...t,manual:!0})}setQueriesData(n,e,t){return Ri.batch(()=>d(this,Wt).findAll(n).map(({queryKey:i})=>[i,this.setQueryData(i,e,t)]))}getQueryState(n){var t;const e=this.defaultQueryOptions({queryKey:n});return(t=d(this,Wt).get(e.queryHash))==null?void 0:t.state}removeQueries(n){const e=d(this,Wt);Ri.batch(()=>
125{e.findAll(n).forEach(t=>{e.remove(t)})})}resetQueries(n,e){const t=d(this,Wt);return Ri.batch(()=>(t.findAll(n).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...n},e)))}cancelQueries(n,e={}){const t={revert:!0,...e},i=Ri.batch(()=>d(this,Wt).findAll(n).map(s=>s.cancel(t)));return Promise.all(i).then(Yr).catch(Yr)}invalidateQueries(n,e={}){return Ri.batch(()=>(d(this,Wt).findAll(n).forEach(t=>{t.invalidate()}),(n==null?void 0:n.refetchType)==="none"?Promise.resolve():this.refetchQueries({...n,type:(n==null?void 0:n.refetchType)??(n==null?void 0:n.type)??"active"},e)))}refetchQueries(n,e={}){const t={...e,cancelRefetch:e.cancelRefetch??!0},i=Ri.batch(()=>d(this,Wt).findAll(n).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let r=s.fetch(void 0,t);return t.throwOnError||(r=r.catch(Yr)),s.state.fetchStatus==="paused"?Promise.resolve():r}));return Promise.all(i).then(Yr)}fetchQuery(n){const e=this.defaultQueryOptions(n);e.retry===void 0&&(e.retry=!1);const t=d(this,Wt).build(this,e);return t.isStaleByTime(zI(e.staleTime,t))?t.fetch(e):Promise.resolve(t.state.data)}prefetchQuery(n){return this.fetchQuery(n).then(Yr).catch(Yr)}fetchInfiniteQuery(n){return n.behavior=MM(n.pages),this.fetchQuery(n)}prefetchInfiniteQuery(n){return this.fetchInfiniteQuery(n).then(Yr).catch(Yr)}ensureInfiniteQueryData(n){return n.behavior=MM(n.pages),this.ensureQueryData(n)}resumePausedMutations(){return mx.isOnline()?d(this,yc).resumePausedMutations():Promise.resolve()}getQueryCache(){return d(this,Wt)}getMutationCache(){return d(this,yc)}getDefaultOptions(){return d(this,vc)}setDefaultOptions(n){A(this,vc,n)}setQueryDefaults(n,e){d(this,Bp).set($y(n),{queryKey:n,defaultOptions:e})}getQueryDefaults(n){const e=[...d(this,Bp).values()],t={};return e.forEach(i=>{qy(n,i.queryKey)&&Object.assign(t,i.defaultOptions)}),t}setMutationDefaults(n,e){d(this,jp).set($y(n),{mutationKey:n,defaultOptions:e})}getMutationDefaults(n){const e=[...d(this,jp).values()],t={};return e.forEach(i=>{qy(n,i.mutationKey)&&Object.assign(t,i.defaultOptions)}),t}defaultQueryOptions(n){if(n._defaulted)return n;const e={...d(this,vc).queries,...this.getQueryDefaults(n.queryKey),...n,_defaulted:!0};return e.queryHash||(e.queryHash=OP(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===LP&&(e.enabled=!1),e}defaultMutationOptions(n){return n!=null&&n._defaulted?n:{...d(this,vc).mutations,...(n==null?void 0:n.mutationKey)&&this.getMutationDefaults(n.mutationKey),...n,_defaulted:!0}}clear(){d(this,Wt).clear(),d(this,yc).clear()}},Wt=new WeakMap,yc=new WeakMap,vc=new WeakMap,Bp=new WeakMap,jp=new WeakMap,bc=new WeakMap,Fp=new WeakMap,zp=new WeakMap,s5),OQ=w.createContext(void 0),LQ=({client:n,children:e})=>(w.useEffect(()=>(n.mount(),()=>{n.unmount()}),[n]),m.jsx(OQ.Provider,{value:n,children:e}));/** 126 * @remix-run/router v1.23.0 127 * 128 * Copyright (c) Remix Software Inc. 129 * 130 * This source code is licensed under the MIT license found in the 131 * LICENSE.md file in the root directory of this source tree. 132 * 133 * @license MIT 134 */function Yy(){return Yy=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},Yy.apply(this,arguments)}var bu;(function(n){n.Pop="POP",n.Push="PUSH",n.Replace="REPLACE"})(bu||(bu={}));const LM="popstate";function BQ(n){n===void 0&&(n={});function e(i,s){let{pathname:r,search:a,hash:o}=i.location;return VI("",{pathname:r,search:a,hash:o},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function t(i,s){return typeof s=="string"?s:gx(s)}return FQ(e,t,null,n)}function xn(n,e){if(n===!1||n===null||typeof n>"u")throw new Error(e)}function F4(n,e){if(!n){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function jQ(){return Math.random().toString(36).substr(2,8)}function BM(n,e){return{usr:n.state,key:n.key,idx:e}}function VI(n,e,t,i){return t===void 0&&(t=null),Yy({pathname:typeof n=="string"?n:n.pathname,search:"",hash:""},typeof e=="string"?n0(e):e,{state:t,key:e&&e.key||i||jQ()})}function gx(n){let{pathname:e="/",search:t="",hash:i=""}=n;return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),i&&i!=="#"&&(e+=i.charAt(0)==="#"?i:"#"+i),e}function n0(n){let e={};if(n){let t=n.indexOf("#");t>=0&&(e.hash=n.substr(t),n=n.substr(0,t));let i=n.indexOf("?");i>=0&&(e.search=n.substr(i),n=n.substr(0,i)),n&&(e.pathname=n)}return e}function FQ(n,e,t,i){i===void 0&&(i={});let{window:s=document.defaultView,v5Compat:r=!1}=i,a=s.history,o=bu.Pop,l=null,c=u();c==null&&(c=0,a.replaceState(Yy({},a.state,{idx:c}),""));function u(){return(a.state||{idx:null}).idx}function h(){o=bu.Pop;let S=u(),y=S==null?null:S-c;c=S,l&&l({action:o,location:g.location,delta:y})}function f(S,y){o=bu.Push;let v=VI(g.location,S,y);c=u()+1;let _=BM(v,c),x=g.createHref(v);try{a.pushState(_,"",x)}
vendor: 3,212 bytes, line 134
134catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;s.location.assign(x)}r&&l&&l({action:o,location:g.location,delta:1})}function p(S,y){o=bu.Replace;let v=VI(g.location,S,y);c=u();let _=BM(v,c),x=g.createHref(v);a.replaceState(_,"",x),r&&l&&l({action:o,location:g.location,delta:0})}function b(S){let y=s.location.origin!=="null"?s.location.origin:s.location.href,v=typeof S=="string"?S:gx(S);return v=v.replace(/ $/,"%20"),xn(y,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,y)}let g={get action(){return o},get location(){return n(s,a)},listen(S){if(l)throw new Error("A history only accepts one active listener");return s.addEventListener(LM,h),l=S,()=>{s.removeEventListener(LM,h),l=null}},createHref(S){return e(s,S)},createURL:b,encodeLocation(S){let y=b(S);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:f,replace:p,go(S){return a.go(S)}};return g}var jM;(function(n){n.data="data",n.deferred="deferred",n.redirect="redirect",n.error="error"})(jM||(jM={}));function zQ(n,e,t){return t===void 0&&(t="/"),UQ(n,e,t)}function UQ(n,e,t,i){let s=typeof e=="string"?n0(e):e,r=BP(s.pathname||"/",t);if(r==null)return null;let a=z4(n);VQ(a);let o=null;for(let l=0;o==null&&l<a.length;++l){let c=eJ(r);o=QQ(a[l],c)}return o}function z4(n,e,t,i){e===void 0&&(e=[]),t===void 0&&(t=[]),i===void 0&&(i="");let s=(r,a,o)=>{let l={relativePath:o===void 0?r.path||"":o,caseSensitive:r.caseSensitive===!0,childrenIndex:a,route:r};l.relativePath.startsWith("/")&&(xn(l.relativePath.startsWith(i),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+i+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(i.length));let c=Mu([i,l.relativePath]),u=t.concat(l);r.children&&r.children.length>0&&(xn(r.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),z4(r.children,e,u,c)),!(r.path==null&&!r.index)&&e.push({path:c,score:WQ(c,r.index),routesMeta:u})};return n.forEach((r,a)=>{var o;if(r.path===""||!((o=r.path)!=null&&o.includes("?")))s(r,a);else for(let l of U4(r.path))s(r,a,l)}),e}function U4(n){let e=n.split("/");if(e.length===0)return[];let[t,...i]=e,s=t.endsWith("?"),r=t.replace(/\?$/,"");if(i.length===0)return s?[r,""]:[r];let a=U4(i.join("/")),o=[];return o.push(...a.map(l=>l===""?r:[r,l].join("/"))),s&&o.push(...a),o.map(l=>n.startsWith("/")&&l===""?"/":l)}function VQ(n){n.sort((e,t)=>e.score!==t.score?t.score-e.score:KQ(e.routesMeta.map(i=>i.childrenIndex),t.routesMeta.map(i=>i.childrenIndex)))}const XQ=/^:[\w-]+$/,HQ=3,GQ=2,$Q=1,qQ=10,YQ=-2,FM=n=>n==="*";function WQ(n,e){let t=n.split("/"),i=t.length;return t.some(FM)&&(i+=YQ),e&&(i+=GQ),t.filter(s=>!FM(s)).reduce((s,r)=>s+(XQ.test(r)?HQ:r===""?$Q:qQ),i)}function KQ(n,e){return n.length===e.length&&n.slice(0,-1).every((i,s)=>i===e[s])?n[n.length-1]-e[e.length-1]:0}function QQ(n,e,t){let{routesMeta:i}=n,s={},r="/",a=[];for(let o=0;o<i.length;++o){let l=i[o],c=o===i.length-1,u=r==="/"?e:e.slice(r.length)||"/",h=JQ({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},u),f=l.route;if(!h)return null;
vendor: 9,284 bytes, lines 134-143
134Object.assign(s,h.params),a.push({params:s,pathname:Mu([r,h.pathname]),pathnameBase:sJ(Mu([r,h.pathnameBase])),route:f}),h.pathnameBase!=="/"&&(r=Mu([r,h.pathnameBase]))}return a}function JQ(n,e){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[t,i]=ZQ(n.path,n.caseSensitive,n.end),s=e.match(t);if(!s)return null;let r=s[0],a=r.replace(/(.)\/+$/,"$1"),o=s.slice(1);return{params:i.reduce((c,u,h)=>{let{paramName:f,isOptional:p}=u;if(f==="*"){let g=o[h]||"";a=r.slice(0,r.length-g.length).replace(/(.)\/+$/,"$1")}const b=o[h];return p&&!b?c[f]=void 0:c[f]=(b||"").replace(/%2F/g,"/"),c},{}),pathname:r,pathnameBase:a,pattern:n}}function ZQ(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!0),F4(n==="*"||!n.endsWith("*")||n.endsWith("/*"),'Route path "'+n+'" will be treated as if it were '+('"'+n.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+n.replace(/\*$/,"/*")+'".'));let i=[],s="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,o,l)=>(i.push({paramName:o,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return n.endsWith("*")?(i.push({paramName:"*"}),s+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):t?s+="\\/*$":n!==""&&n!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,e?void 0:"i"),i]}function eJ(n){try{return n.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return F4(!1,'The URL path "'+n+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),n}}function BP(n,e){if(e==="/")return n;if(!n.toLowerCase().startsWith(e.toLowerCase()))return null;let t=e.endsWith("/")?e.length-1:e.length,i=n.charAt(t);return i&&i!=="/"?null:n.slice(t)||"/"}function tJ(n,e){e===void 0&&(e="/");let{pathname:t,search:i="",hash:s=""}=typeof n=="string"?n0(n):n;return{pathname:t?t.startsWith("/")?t:nJ(t,e):e,search:rJ(i),hash:aJ(s)}}function nJ(n,e){let t=e.replace(/\/+$/,"").split("/");return n.split("/").forEach(s=>{s===".."?t.length>1&&t.pop():s!=="."&&t.push(s)}),t.length>1?t.join("/"):"/"}function IE(n,e,t,i){return"Cannot include a '"+n+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(i)+"]. Please separate it out to the ")+("`to."+t+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function iJ(n){return n.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function V4(n,e){let t=iJ(n);return e?t.map((i,s)=>s===t.length-1?i.pathname:i.pathnameBase):t.map(i=>i.pathnameBase)}function X4(n,e,t,i){i===void 0&&(i=!1);let s;typeof n=="string"?s=n0(n):(s=Yy({},n),xn(!s.pathname||!s.pathname.includes("?"),IE("?","pathname","search",s)),xn(!s.pathname||!s.pathname.includes("#"),IE("#","pathname","hash",s)),xn(!s.search||!s.search.includes("#"),IE("#","search","hash",s)));let r=n===""||s.pathname==="",a=r?"/":s.pathname,o;if(a==null)o=t;else{let h=e.length-1;if(!i&&a.startsWith("..")){let f=a.split("/");for(;f[0]==="..";)f.shift(),h-=1;s.pathname=f.join("/")}o=h>=0?e[h]:"/"}let l=tJ(s,o),c=a&&a!=="/"&&a.endsWith("/"),u=(r||a===".")&&t.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const Mu=n=>n.join("/").replace(/\/\/+/g,"/"),sJ=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),rJ=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,aJ=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n;function oJ(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}const H4=["post","put","patch","delete"];new Set(H4);const lJ=["get",...H4];new Set(lJ);/** 135 * React Router v6.30.1 136 * 137 * Copyright (c) Remix Software Inc. 138 * 139 * This source code is licensed under the MIT license found in the 140 * LICENSE.md file in the root directory of this source tree. 141 * 142 * @license MIT 143 */function Wy(){return Wy=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},Wy.apply(this,arguments)}const jP=w.createContext(null),cJ=w.createContext(null),vf=w.createContext(null),aw=w.createContext(null),Zu=w.createContext({outlet:null,matches:[],isDataRoute:!1}),G4=w.createContext(null);function uJ(n,e){let{relative:t}=e===void 0?{}:e;gb()||xn(!1);let{basename:i,navigator:s}=w.useContext(vf),{hash:r,pathname:a,search:o}=q4(n,{relative:t}),l=a;return i!=="/"&&(l=a==="/"?i:Mu([i,a])),s.createHref({pathname:l,search:o,hash:r})}function gb(){return w.useContext(aw)!=null}function bf(){return gb()||xn(!1),w.useContext(aw).location}function $4(n){w.useContext(vf).static||w.useLayoutEffect(n)}function dJ(){let{isDataRoute:n}=w.useContext(Zu);return n?AJ():hJ()}function hJ(){gb()||xn(!1);let n=w.useContext(jP),{basename:e,future:t,navigator:i}=w.useContext(vf),{matches:s}=w.useContext(Zu),{pathname:r}=bf(),a=JSON.stringify(V4(s,t.v7_relativeSplatPath)),o=w.useRef(!1);return $4(()=>{o.current=!0}),w.useCallback(function(c,u){if(u===void 0&&(u={}),!o.current)return;if(typeof c=="number"){i.go(c);return}let h=X4(c,JSON.parse(a),r,u.relative==="path");n==null&&e!=="/"&&(h.pathname=h.pathname==="/"?e:Mu([e,h.pathname])),(u.replace?i.replace:i.push)(h,u.state,u)},[e,i,a,r,n])}function fJ(){let{matches:n}=w.useContext(Zu),e=n[n.length-1];return e?e.params:{}}function q4(n,e){let{relative:t}=e===void 0?{}:e,{future:i}=w.useContext(vf),{matches:s}=w.useContext(Zu),{pathname:r}=bf(),a=JSON.stringify(V4(s,i.v7_relativeSplatPath));return w.useMemo(()=>X4(n,JSON.parse(a),r,t==="path"),[n,a,r,t])}function pJ(n,e){return mJ(n,e)}function mJ(n,e,t,i){gb()||xn(!1);let{navigator:s}=w.useContext(vf),{matches:r}=w.useContext(Zu),a=r[r.length-1],o=a?a.params:{};a&&a.pathname;let l=a?a.pathnameBase:"/";a&&a.route;let c=bf(),u;if(e){var h;let S=typeof e=="string"?n0(e):e;l==="/"||(h=S.pathname)!=null&&h.startsWith(l)||xn(!1),u=S}else u=c;let f=u.pathname||"/",p=f;if(l!=="/"){let S=l.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(S.length).join("/")}let b=zQ(n,{pathname:p}),g=_J(b&&b.map(S=>Object.assign({},S,{params:Object.assign({},o,S.params),pathname:Mu([l,s.encodeLocation?s.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?l:Mu([l,s.encodeLocation?s.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),r,t,i);return e&&g?w.createElement(aw.Provider,{value:{location:Wy({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:bu.Pop}},g):g}function gJ(){let n=EJ(),e=oJ(n)?n.status+" "+n.statusText:n instanceof Error?n.message:JSON.stringify(n),t=n instanceof Error?n.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},e),t?w.createElement("pre",{style:s},t):null,null)}const yJ=w.createElement(gJ,null);class vJ extends w.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?w.createElement(Zu.Provider,{value:this.props.routeContext},w.createElement(G4.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function bJ(n){let{routeContext:e,match:t,children:i}=n,s=w.useContext(jP);return s&&s.static&&s.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=t.route.id),w.createElement(Zu.Provider,{value:e},i)}function _J(n,e,t,i){var s;if(e===void 0&&(e=[]),t===void 0&&(t=null),i===void 0&&(i=null),n==null){var r;if(!t)return null;if(t.errors)n=t.matches;else if((r=i)!=null&&r.v7_partialHydration&&e.length===0&&!t.initialized&&t.matches.length>0)n=t.matches;else return null}let a=n,o=(s=t)==null?void 0:s.errors;if(o!=null){let u=a.findIndex(h=>h.route.id&&(o==null?void 0:o[h.route.id])!==void 0);u>=0||xn(!1),a=a.slice(0,Math.min(a.length,u+1))}let l=!1,c=-1;if(t&&i&&i.v7_partialHydration)for(let u=0;u<a.length;u++){let h=a[u];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(c=u),h.route.id){let{loaderData:f,errors:p}=t,b=h.route.loader&&f[h.route.id]===void 0&&(!p||p[h.route.id]===void 0);if(h.route.lazy||b){l=!0,c>=0?a=a.slice(0,c+1):a=[a[0]];break}}}return a.reduceRight((u,h,f)=>{let p,b=!1,g=null,S=null;t&&(p=o&&h.route.id?o[h.route.id]:void 0,g=h.route.errorElement||yJ,l&&(c<0&&f===0?(IJ("route-fallback"),b=!0,S=null):c===f&&(b=!0,S=h.route.hydrateFallbackElement||null)));let y=e.concat(a.slice(0,f+1)),v=()=>{let _;return p?_=g:b?_=S:h.route.Component?_=w.createElement(h.route.Component,null):h.route.element?_=h.route.element:_=u,w.createElement(bJ,{match:h,routeC
143ontext:{outlet:u,matches:y,isDataRoute:t!=null},children:_})};return t&&(h.route.ErrorBoundary||h.route.errorElement||f===0)?w.createElement(vJ,{location:t.location,revalidation:t.revalidation,component:g,error:p,children:v(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):v()},null)}var Y4=function(n){return n.UseBlocker="useBlocker",n.UseRevalidator="useRevalidator",n.UseNavigateStable="useNavigate",n}(Y4||{}),W4=function(n){return n.UseBlocker="useBlocker",n.UseLoaderData="useLoaderData",n.UseActionData="useActionData",n.UseRouteError="useRouteError",n.UseNavigation="useNavigation",n.UseRouteLoaderData="useRouteLoaderData",n.UseMatches="useMatches",n.UseRevalidator="useRevalidator",n.UseNavigateStable="useNavigate",n.UseRouteId="useRouteId",n}(W4||{});function SJ(n){let e=w.useContext(jP);return e||xn(!1),e}function xJ(n){let e=w.useContext(cJ);return e||xn(!1),e}function wJ(n){let e=w.useContext(Zu);return e||xn(!1),e}function K4(n){let e=wJ(),t=e.matches[e.matches.length-1];return t.route.id||xn(!1),t.route.id}function EJ(){var n;let e=w.useContext(G4),t=xJ(),i=K4();return e!==void 0?e:(n=t.errors)==null?void 0:n[i]}function AJ(){let{router:n}=SJ(Y4.UseNavigateStable),e=K4(W4.UseNavigateStable),t=w.useRef(!1);return $4(()=>{t.current=!0}),w.useCallback(function(s,r){r===void 0&&(r={}),t.current&&(typeof s=="number"?n.navigate(s):n.navigate(s,Wy({fromRouteId:e},r)))},[n,e])}const zM={};function IJ(n,e,t){zM[n]||(zM[n]=!0)}function CJ(n,e){n==null||n.v7_startTransition,n==null||n.v7_relativeSplatPath}function Vi(n){xn(!1)}function TJ(n){let{basename:e="/",children:t=null,location:i,navigationType:s=bu.Pop,navigator:r,static:a=!1,future:o}=n;gb()&&xn(!1);let l=e.replace(/^\/*/,"/"),c=w.useMemo(()=>({basename:l,navigator:r,static:a,future:Wy({v7_relativeSplatPath:!1},o)}),[l,o,r,a]);typeof i=="string"&&(i=n0(i));let{pathname:u="/",search:h="",hash:f="",state:p=null,key:b="default"}=i,g=w.useMemo(()=>{let S=BP(u,l);return S==null?null:{location:{pathname:S,search:h,hash:f,state:p,key:b},navigationType:s}},[l,u,h,f,p,b,s]);return g==null?null:w.createElement(vf.Provider,{value:c},w.createElement(aw.Provider,{children:t,value:g}))}function DJ(n){let{children:e,location:t}=n;return pJ(XI(e),t)}new Promise(()=>{});function XI(n,e){e===void 0&&(e=[]);let t=[];return w.Children.forEach(n,(i,s)=>{if(!w.isValidElement(i))return;let r=[...e,s];if(i.type===w.Fragment){t.push.apply(t,XI(i.props.children,r));return}i.type!==Vi&&xn(!1),!i.props.index||!i.props.children||xn(!1);let a={id:i.props.id||r.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,loader:i.props.loader,action:i.props.action,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(a.children=XI(i.props.children,r)),t.push(a)}),t}/** 144 * React Router DOM v6.30.1 145 * 146 * Copyright (c) Remix Software Inc. 147 * 148 * This source code is licensed under the MIT license found in the 149 * LICENSE.md file in the root directory of this source tree. 150 * 151 * @license MIT 152 */function HI(){return HI=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},HI.apply(this,arguments)}function PJ(n,e){if(n==null)return{};var t={},i=Object.keys(n),s,r;for(r=0;r<i.length;r++)s=i[r],!(e.indexOf(s)>=0)&&(t[s]=n[s]);return t}function RJ(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function kJ(n,e){return n.button===0&&(!e||e==="_self")&&!RJ(n)}const NJ=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],MJ="6";try{window.__reactRouterVersion=MJ}catch{}const OJ="startTransition",UM=ID[OJ];function LJ(n){let{basename:e,children:t,future:i,window:s}=n,r=w.useRef();r.current==null&&(r.current=BQ({window:s,v5Compat:!0}));let a=r.current,[o,l]=w.useState({action:a.action,location:a.location}),{v7_startTransition:c}=i||{},u=w.useCallback(h=>{c&&UM?UM(()=>l(h)):l(h)},[l,c]);return w.useLayoutEffect(()=>a.listen(u),[a,u]),w.useEffect(()=>CJ(i),[i]),w.createElement(TJ,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:a,future:i})}const BJ=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",jJ=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,_e=w.forwardRef(function(e,t){let{onClick:i,relative:s,reloadDocument:r,replace:a,state:o,target:l,to:c,preventScrollReset:u,viewTransition:h}=e,f=PJ(e,NJ),{basename:p}=w.useContext(vf),b,g=!1;if(typeof c=="string"&&jJ.test(c)&&(b=c,BJ))try{let _=new URL(window.location.href),x=c.startsWith("//")?new URL(_.protocol+c):new URL(c),E=BP(x.pathname,p);x.origin===_.origin&&E!=null?c=E+x.search+x.hash:g=!0}catch{}let S=uJ(c,{relative:s}),y=FJ(c,{replace:a,state:o,target:l,preventScrollReset:u,relative:s,viewTransition:h});function v(_){i&&i(_),_.defaultPrevented||y(_)}return w.createElement("a",HI({},f,{href:b||S,onClick:g||r?i:v,ref:t,target:l}))});var VM;(function(n){n.UseScrollRestoration="useScrollRestoration",n.UseSubmit="useSubmit",n.UseSubmitFetcher="useSubmitFetcher",n.UseFetcher="useFetcher",n.useViewTransitionState="useViewTransitionState"})(VM||(VM={}));var XM;(function(n){n.UseFetcher="useFetcher",n.UseFetchers="useFetchers",n.UseScrollRestoration="useScrollRestoration"})(XM||(XM={}));function FJ(n,e){let{target:t,replace:i,state:s,preventScrollReset:r,relative:a,viewTransition:o}=e===void 0?{}:e,l=dJ(),c=bf(),u=q4(n,{relative:a});return w.useCallback(h=>{if(kJ(h,t)){h.preventDefault();let f=i!==void 0?i:gx(c)===gx(u);l(n,{replace:f,state:s,preventScrollReset:r,relative:a,viewTransition:o})}},[c,l,u,i,s,t,n,r,a,o])}const FP=w.createContext({});function zP(n){const e=w.useRef(null);return e.current===null&&(e.current=n()),e.current}const UP=typeof window<"u",Q4=UP?w.useLayoutEffect:w.useEffect,ow=w.createContext(null);function VP(n,e){n.indexOf(e)===-1&&n.push(e)}function XP(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}const Fl=(n,e,t)=>t>e?e:t<n?n:t;let HP=()=>{};const zl={},J4=n=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n);function Z4(n){return typeof n=="object"&&n!==null}const e7=n=>
vendor: 22,669 bytes, line 152
152/^0[^.\s]+$/u.test(n);function GP(n){let e;return()=>(e===void 0&&(e=n()),e)}const Or=n=>n,zJ=(n,e)=>t=>e(n(t)),yb=(...n)=>n.reduce(zJ),Ky=(n,e,t)=>{const i=e-n;return i===0?1:(t-n)/i};class $P{constructor(){this.subscriptions=[]}add(e){return VP(this.subscriptions,e),()=>XP(this.subscriptions,e)}notify(e,t,i){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](e,t,i);else for(let r=0;r<s;r++){const a=this.subscriptions[r];a&&a(e,t,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const uo=n=>n*1e3,ho=n=>n/1e3;function t7(n,e){return e?n*(1e3/e):0}const n7=(n,e,t)=>(((1-3*t+3*e)*n+(3*t-6*e))*n+3*e)*n,UJ=1e-7,VJ=12;function XJ(n,e,t,i,s){let r,a,o=0;do a=e+(t-e)/2,r=n7(a,i,s)-n,r>0?t=a:e=a;while(Math.abs(r)>UJ&&++o<VJ);return a}function vb(n,e,t,i){if(n===e&&t===i)return Or;const s=r=>XJ(r,0,1,n,t);return r=>r===0||r===1?r:n7(s(r),e,i)}const i7=n=>e=>e<=.5?n(2*e)/2:(2-n(2*(1-e)))/2,s7=n=>e=>1-n(1-e),r7=vb(.33,1.53,.69,.99),qP=s7(r7),a7=i7(qP),o7=n=>(n*=2)<1?.5*qP(n):.5*(2-Math.pow(2,-10*(n-1))),YP=n=>1-Math.sin(Math.acos(n)),l7=s7(YP),c7=i7(YP),HJ=vb(.42,0,1,1),GJ=vb(0,0,.58,1),u7=vb(.42,0,.58,1),$J=n=>Array.isArray(n)&&typeof n[0]!="number",d7=n=>Array.isArray(n)&&typeof n[0]=="number",qJ={linear:Or,easeIn:HJ,easeInOut:u7,easeOut:GJ,circIn:YP,circInOut:c7,circOut:l7,backIn:qP,backInOut:a7,backOut:r7,anticipate:o7},YJ=n=>typeof n=="string",HM=n=>{if(d7(n)){HP(n.length===4);const[e,t,i,s]=n;return vb(e,t,i,s)}else if(YJ(n))return qJ[n];return n},i_=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function WJ(n,e){let t=new Set,i=new Set,s=!1,r=!1;const a=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function l(u){a.has(u)&&(c.schedule(u),n()),u(o)}const c={schedule:(u,h=!1,f=!1)=>{const b=f&&s?t:i;return h&&a.add(u),b.has(u)||b.add(u),u},cancel:u=>{i.delete(u),a.delete(u)},process:u=>{if(o=u,s){r=!0;return}s=!0,[t,i]=[i,t],t.forEach(l),t.clear(),s=!1,r&&(r=!1,c.process(u))}};return c}const KJ=40;function h7(n,e){let t=!1,i=!0;const s={delta:0,timestamp:0,isProcessing:!1},r=()=>t=!0,a=i_.reduce((_,x)=>(_[x]=WJ(r),_),{}),{setup:o,read:l,resolveKeyframes:c,preUpdate:u,update:h,preRender:f,render:p,postRender:b}=a,g=()=>{const _=zl.useManualTiming?s.timestamp:performance.now();t=!1,zl.useManualTiming||(s.delta=i?1e3/60:Math.max(Math.min(_-s.timestamp,KJ),1)),s.timestamp=_,s.isProcessing=!0,o.process(s),l.process(s),c.process(s),u.process(s),h.process(s),f.process(s),p.process(s),b.process(s),s.isProcessing=!1,t&&e&&(i=!1,n(g))},S=()=>{t=!0,i=!0,s.isProcessing||n(g)};return{schedule:i_.reduce((_,x)=>{const E=a[x];return _[x]=(C,I=!1,R=!1)=>(t||S(),E.schedule(C,I,R)),_},{}),cancel:_=>{for(let x=0;x<i_.length;x++)a[i_[x]].cancel(_)},state:s,steps:a}}const{schedule:Bt,cancel:Xu,state:Qn,steps:CE}=h7(typeof requestAnimationFrame<"u"?requestAnimationFrame:Or,!0);let G_;function QJ(){G_=void 0}const is={now:()=>(G_===void 0&&is.set(Qn.isProcessing||zl.useManualTiming?Qn.timestamp:performance.now()),G_),set:n=>{G_=n,queueMicrotask(QJ)}},f7=n=>e=>typeof e=="string"&&e.startsWith(n),WP=f7("--"),JJ=f7("var(--"),KP=n=>JJ(n)?ZJ.test(n.split("/*")[0].trim()):!1,ZJ=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,i0={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},Qy={...i0,transform:n=>Fl(0,1,n)},s_={...i0,default:1},by=n=>Math.round(n*1e5)/1e5,QP=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function eZ(n){return n==null}const tZ=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,JP=(n,e)=>t=>!!(typeof t=="string"&&tZ.test(t)&&t.startsWith(n)||e&&!eZ(t)&&Object.prototype.hasOwnProperty.call(t,e)),p7=(n,e,t)=>i=>{if(typeof i!="string")return i;const[s,r,a,o]=i.match(QP);return{[n]:parseFloat(s),[e]:parseFloat(r),[t]:parseFloat(a),alpha:o!==void 0?parseFloat(o):1}},nZ=n=>Fl(0,255,n),TE={...i0,transform:n=>Math.round(nZ(n))},_d={test:JP("rgb","red"),parse:p7("red","green","blue"),transform:({red:n,green:e,blue:t,alpha:i=1})=>"rgba("+TE.transform(n)+", "+TE.transform(e)+", "+TE.transform(t)+", "+by(Qy.transform(i))+")"};function iZ(n){let e="",t="",i="",s="";return n.length>5?(e=n.substring(1,3),t=n.substring(3,5),i=n.substring(5,7),s=n.substring(7,9)):(e=n.substring(1,2),t=n.substring(2,3),i=n.substring(3,4),s=n.substring(4,5),e+=e,t+=t,i+=i,s+=s),{red:parseInt(e,16),green:parseInt(t,16),blue:parseInt(i,16),alpha:s?parseInt(s,16)/255:1}}const GI={test:JP("#"),parse:iZ,transform:_d.transform},bb=n=>({test:e=>typeof e=="string"&&e.endsWith(n)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${n}`}),rc=bb("deg"),fo=bb("%"),he=bb("px"),sZ=bb("vh"),rZ=bb("vw"),GM={...fo,parse:n=>fo.parse(n)/100,transform:n=>fo.transform(n*100)},ep={test:JP("hsl","hue"),parse:p7("hue","saturation","lightness"),transform:({hue:n,saturation:e,lightness:t,alpha:i=1})=>"hsla("+Math.round(n)+", "+fo.transform(by(e))+", "+fo.transform(by(t))+", "+by(Qy.transform(i))+")"},mn={test:n=>_d.test(n)||GI.test(n)||ep.test(n),parse:n=>_d.test(n)?_d.parse(n):ep.test(n)?ep.parse(n):GI.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?_d.transform(n):ep.transform(n),getAnimatableNone:n=>{const e=mn.parse(n);return e.alpha=0,mn.transform(e)}},aZ=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function oZ(n){var e,t;return isNaN(n)&&typeof n=="string"&&(((e=n.match(QP))==null?void 0:e.length)||0)+(((t=n.match(aZ))==null?void 0:t.length)||0)>0}const m7="number",g7="color",lZ="var",cZ="var(",$M="${}",uZ=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Jy(n){const e=n.toString(),t=[],i={color:[],number:[],var:[]},s=[];let r=0;const o=e.replace(uZ,l=>(mn.test(l)?(i.color.push(r),s.push(g7),t.push(mn.parse(l))):l.startsWith(cZ)?(i.var.push(r),s.push(lZ),t.push(l)):(i.number.push(r),s.push(m7),t.push(parseFloat(l))),++r,$M)).split($M);return{values:t,split:o,indexes:i,types:s}}function y7(n){return Jy(n).values}function v7(n){const{split:e,types:t}=Jy(n),i=e.length;return s=>{let r="";for(let a=0;a<i;a++)if(r+=e[a],s[a]!==void 0){const o=t[a];o===m7?r+=by(s[a]):o===g7?r+=mn.transform(s[a]):r+=s[a]}return r}}const dZ=n=>typeof n=="number"?0:mn.test(n)?mn.getAnimatableNone(n):n;function hZ(n){const e=y7(n);return v7(n)(e.map(dZ))}const Hu={test:oZ,parse:y7,createTransformer:v7,getAnimatableNone:hZ};function DE(n,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?n+(e-n)*6*t:t<1/2?e:t<2/3?n+(e-n)*(2/3-t)*6:n}function fZ({hue:n,saturation:e,lightness:t,alpha:i}){n/=360,e/=100,t/=100;let s=0,r=0,a=0;if(!e)s=r=a=t;else{const o=t<.5?t*(1+e):t+e-t*e,l=2*t-o;s=DE(l,o,n+1/3),r=DE(l,o,n),a=DE(l,o,n-1/3)}return{red:Math.round(s*255),green:Math.round(r*255),blue:Math.round(a*255),alpha:i}}function yx(n,e){return t=>t>0?e:n}const Ht=(n,e,t)=>n+(e-n)*t,PE=(n,e,t)=>{const i=n*n,s=t*(e*e-i)+i;return s<0?0:Math.sqrt(s)},pZ=[GI,_d,ep],mZ=n=>pZ.find(e=>e.test(n));function qM(n){const e=mZ(n);if(!e)return!1;let t=e.parse(n);return e===ep&&(t=fZ(t)),t}const YM=(n,e)=>{const t=qM(n),i=qM(e);if(!t||!i)return yx(n,e);const s={...t};return r=>(s.red=PE(t.red,i.red,r),s.green=PE(t.green,i.green,r),s.blue=PE(t.blue,i.blue,r),s.alpha=Ht(t.alpha,i.alpha,r),_d.transform(s))},$I=new Set(["none","hidden"]);function gZ(n,e){return $I.has(n)?t=>t<=0?n:e:t=>t>=1?e:n}function yZ(n,e){return t=>Ht(n,e,t)}function ZP(n){return typeof n=="number"?yZ:typeof n=="string"?KP(n)?yx:mn.test(n)?YM:_Z:Array.isArray(n)?b7:typeof n=="object"?mn.test(n)?YM:vZ:yx}function b7(n,e){const t=[...n],i=t.length,s=n.map((r,a)=>ZP(r)(r,e[a]));return r=>{for(let a=0;a<i;a++)t[a]=s[a](r);return t}}function vZ(n,e){const t={...n,...e},i={};for(const s in t)n[s]!==void 0&&e[s]!==void 0&&(i[s]=ZP(n[s])(n[s],e[s]));return s=>{for(const r in i)t[r]=i[r](s);return t}}function bZ(n,e){const t=[],i={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){const r=e.types[s],a=n.indexes[r][i[r]],o=n.values[a]??0;t[s]=o,i[r]++}return t}const _Z=(n,e)=>{const t=Hu.createTransformer(e),i=Jy(n),s=Jy(e);return i.indexes.var.length===s.indexes.var.length&&i.indexes.color.length===s.indexes.color.length&&i.indexes.number.length>=s.indexes.number.length?$I.has(n)&&!s.values.length||$I.has(e)&&!i.values.length?gZ(n,e):yb(b7(bZ(i,s),s.values),t):yx(n,e)};function _7(n,e,t){return typeof n=="number"&&typeof e=="number"&&typeof t=="number"?Ht(n,e,t):ZP(n)(n,e)}const SZ=n=>{const e=({timestamp:t})=>n(t);return{start:(t=!0)=>Bt.update(e,t),stop:()=>Xu(e),now:()=>Qn.isProcessing?Qn.timestamp:is.now()}},S7=(n,e,t=10)=>{let i="";const s=Math.max(Math.round(e/t),2);for(let r=0;r<s;r++)i+=Math.round(n(r/(s-1))*1e4)/1e4+", ";return`linear(${i.substring(0,i.length-2)})`},vx=2e4;function eR(n){let e=0;const t=50;let i=n.next(e);for(;!i.done&&e<vx;)e+=t,i=n.next(e);return e>=vx?1/0:e}function xZ(n,e=100,t){const i=t({...n,keyframes:[0,e]}),s=Math.min(eR(i),vx);return{type:"keyframes",ease:r=>i.next(s*r).value/e,duration:ho(s)}}const wZ=5;function x7(n,e,t){const i=Math.max(e-wZ,0);return t7(t-n(i),e-i)}const en={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},RE=.001;function EZ({duration:n=en.duration,bounce:e=en.bounce,velocity:t=en.velocity,mass:i=en.mass}){let s,r,a=1-e;a=Fl(en.minDamping,en.maxDamping,a),n=Fl(en.minDuration,en.maxDuration,ho(n)),a<1?(s=c=>{const u=c*a,h=u*n,f=u-t,p=qI(c,a),b=Math.exp(-h);return RE-f/p*b},r=c=>{const h=c*a*n,f=h*t+t,p=Math.pow(a,2)*Math.pow(c,2)*n,b=Math.exp(-h),g=qI(Math.pow(c,2),a);return(-s(c)+RE>0?-1:1)*((f-p)*b)/g}):(s=c=>{const u=Math.exp(-c*n),h=(c-t)*n+1;return-RE+u*h},r=c=>{const u=Math.exp(-c*n),h=(t-c)*(n*n);return u*h});const o=5/n,l=IZ(s,r,o);if(n=uo(n),isNaN(l))return{stiffness:en.stiffness,damping:en.damping,duration:n};{const c=Math.pow(l,2)*i;return{stiffness:c,damping:a*2*Math.sqrt(i*c),duration:n}}}const AZ=12;function IZ(n,e,t){let i=t;for(let s=1;s<AZ;s++)i=i-n(i)/e(i);return i}function qI(n,e){return n*Math.sqrt(1-e*e)}const CZ=["duration","bounce"],TZ=["stiffness","damping","mass"];function WM(n,e){return e.some(t=>n[t]!==void 0)}function DZ(n){let e={velocity:en.velocity,stiffness:en.stiffness,damping:en.damping,mass:en.mass,isResolvedFromDuration:!1,...n};if(!WM(n,TZ)&&WM(n,CZ))if(n.visualDuration){const t=n.visualDuration,i=2*Math.PI/(t*1.2),s=i*i,r=2*Fl(.05,1,1-(n.bounce||0))*Math.sqrt(s);e={...e,mass:en.mass,stiffness:s,damping:r}}else{const t=EZ(n);e={...e,...t,mass:en.mass},e.isResolvedFromDuration=!0}return e}function bx(n=en.visualDuration,e=en.bounce){const t=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:e}:n;let{restSpeed:i,restDelta:s}=t;const r=t.keyframes[0],a=t.keyframes[t.keyframes.length-1],o={done:!1,value:r},{stiffness:l,damping:c,mass:u,duration:h,velocity:f,isResolvedFromDuration:p}=DZ({...t,velocity:-ho(t.velocity||0)}),b=f||0,g=c/(2*Math.sqrt(l*u)),S=a-r,y=ho(Math.sqrt(l/u)),v=Math.abs(S)<5;i||(i=v?en.restSpeed.granular:en.restSpeed.default),s||(s=v?en.restDelta.granular:en.restDelta.default);let _;if(g<1){const E=qI(y,g);_=C=>{const I=Math.exp(-g*y*C);return a-I*((b+g*y*S)/E*Math.sin(E*C)+S*Math.cos(E*C))}}else if(g===1)_=E=>a-Math.exp(-y*E)*(S+(b+y*S)*E);else{const E=y*Math.sqrt(g*g-1);_=C=>{const I=Math.exp(-g*y*C),R=Math.min(E*C,300);return a-I*((b+g*y*S)*Math.sinh(R)+E*S*Math.cosh(R))/E}}const x={calculatedDuration:p&&h||null,next:E=>{const C=_(E);if(p)o.done=E>=h;else{let I=E===0?b:0;g<1&&(I=E===0?uo(b):x7(_,E,C));const R=Math.abs(I)<=i,D=Math.abs(a-C)<=s;o.done=R&&D}return o.value=o.done?a:C,o},toString:()=>{const E=Math.min(eR(x),vx),C=S7(I=>x.next(E*I).value,E,30);return E+"ms "+C},toTransition:()=>{}};return x}bx.applyToOptions=n=>{const e=xZ(n,100,bx);return n.ease=e.ease,n.duration=uo(e.duration),n.type="keyframes",n};function YI({keyframes:n,velocity:e=0,power:t=.8,timeConstant:i=325,bounceDamping:s=10,bounceStiffness:r=500,modifyTarget:a,min:o,max:l,restDelta:c=.5,restSpeed:u}){const h=n[0],f={done:!1,value:h},p=R=>o!==void 0&&R<o||l!==void 0&&R>l,b=R=>o===void 0?l:l===void 0||Math.abs(o-R)<Math.abs(l-R)?o:l;let g=t*e;const S=h+g,y=a===void 0?S:a(S);y!==S&&(g=y-h);const v=R=>-g*Math.exp(-R/i),_=R=>y+v(R),x=R=>{const D=v(R),k=_(R);f.done=Math.abs(D)<=c,f.value=f.done?y:k};let E,C;const I=R=>{p(f.value)&&(E=R,C=bx({keyframes:[f.value,b(f.value)],velocity:x7(_,R,f.value),damping:s,stiffness:r,restDelta:c,restSpeed:u}))};return I(0),{calculatedDuration:null,next:R=>{let D=!1;return!C&&E===void 0&&(D=!0,x(R),I(R)),E!==void 0&&R>=E?C.next(R-E):(!D&&x(R),f)}}}function PZ(n,e,t){const i=[],s=t||zl.mix||_7,r=n.length-1;for(let a=0;a<r;a++){let o=s(n[a],n[a+1]);if(e){const l=Array.isArray(e)?e[a]||Or:e;o=yb(l,o)}i.push(o)}return i}function RZ(n,e,{clamp:t=!0,ease:i,mixer:s}={}){const r=n.length;if(HP(r===e.length),r===1)return()=>e[0];if(r===2&&e[0]===e[1])return()=>e[1];const a=n[0]===n[1];n[0]>n[r-1]&&(n=[...n].reverse(),e=[...e].reverse());const o=PZ(e,i,s),l=o.length,c=u=>{if(a&&u<n[0])return e[0];let h=0;if(l>1)for(;h<n.length-2&&!(u<n[h+1]);h++);const f=Ky(n[h],n[h+1],u);return o[h](f)};return t?u=>c(Fl(n[0],n[r-1],u)):c}function kZ(n,e){const t=n[n.length-1];for(let i=1;i<=e;i++){const s=Ky(0,e,i);n.push(Ht(t,1,s))}}function NZ(n){const e=[0];return kZ(e,n.length-1),e}function MZ(n,e){return n.map(t=>t*e)}function OZ(n,e){return n.map(()=>e||u7).splice(0,n.length-1)}function _y({duration:n=300,keyframes:e,times:t,ease:i="easeInOut"}){const s=$J(i)?i.map(HM):HM(i),r={done:!1,value:e[0]},a=MZ(t&&t.length===e.length?t:NZ(e),n),o=RZ(a,e,{ease:Array.isArray(s)?s:OZ(e,s)});return{calculatedDuration:n,next:l=>(r.value=o(l),r.done=l>=n,r)}}const LZ=n=>n!==null;function tR(n,{repeat:e,repeatType:t="loop"},i,s=1){const r=n.filter(LZ),o=s<0||e&&t!=="loop"&&e%2===1?0:r.length-1;return!o||i===void 0?r[o]:i}const BZ={decay:YI,inertia:YI,tween:_y,keyframes:_y,spring:bx};function w7(n){typeof n.type=="string"&&(n.type=BZ[n.type])}class nR{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}const jZ=n=>n/100;class iR extends nR{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var i,s;const{motionValue:t}=this.options;t&&t.updatedAt!==is.now()&&this.tick(is.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(s=(i=this.options).onStop)==null||s.call(i))},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;w7(e);const{type:t=_y,repeat:i=0,repeatDelay:s=0,repeatType:r,velocity:a=0}=e;let{keyframes:o}=e;const l=t||_y;l!==_y&&typeof o[0]!="number"&&(this.mixKeyframes=yb(jZ,_7(o[0],o[1])),o=[0,100]);const c=l({...e,keyframes:o});r==="mirror"&&(this.mirroredGenerator=l({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=eR(c));const{calculatedDuration:u}=c;this.calculatedDuration=u,this.resolvedDuration=u+s,this.totalDuration=this.resolvedDuration*(i+1)-s,this.generator=c}updateTime(e){const t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){const{generator:i,totalDuration:s,mixKeyframes:r,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:l}=this;if(this.startTime===null)return i.next(0);const{delay:c=0,keyframes:u,repeat:h,repeatType:f,repeatDelay:p,type:b,onUpdate:g,finalKeyframe:S}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-s/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);const y=this.currentTime-c*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?y<0:y>s;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let _=this.currentTime,x=i;if(h){const R=Math.min(this.currentTime,s)/o;let D=Math.floor(R),k=R%1;!k&&R>=1&&(k=1),k===1&&D--,D=Math.min(D,h+1),!!(D%2)&&(f==="reverse"?(k=1-k,p&&(k-=p/o)):f==="mirror"&&(x=a)),_=Fl(0,1,k)*o}const E=v?{done:!1,value:u[0]}:x.next(_);r&&(E.value=r(E.value));let{done:C}=E;!v&&l!==null&&(C=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const I=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return I&&b!==YI&&(E.value=tR(u,this.options,S,this.speed)),g&&g(E.value),I&&this.finish(),E}then(e,t){return this.finished.then(e,t)}get duration(){return ho(this.calculatedDuration)}get time(){return ho(this.currentTime)}set time(e){var t;e=uo(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),(t=this.driver)==null||t.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(is.now());const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=ho(this.currentTime))}play(){var s,r;if(this.isStopped)return;const{driver:e=SZ,startTime:t}=this.options;this.driver||(this.driver=e(a=>this.tick(a))),(r=(s=this.options).onPlay)==null||r.call(s);const i=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=i):this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime||(this.startTime=t??i),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(is.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var e,t;this.notifyFinished(),this.teardown(),this.state="finished",(t=(e=this.options).onComplete)==null||t.call(e)}cancel(){var e,t;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(t=(e=this.options).onCancel)==null||t.call(e)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){var t;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(t=this.driver)==null||t.stop(),e.observe(this)}}function FZ(n){for(let e=1;e<n.length;e++)n[e]??(n[e]=n[e-1])}const Sd=n=>n*180/Math.PI,WI=n=>{const e=Sd(Math.atan2(n[1],n[0]));return KI(e)},zZ={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:n=>(Math.abs(n[0])+Math.abs(n[3]))/2,rotate:WI,rotateZ:WI,skewX:n=>Sd(Math.atan(n[1])),skewY:n=>Sd(Math.atan(n[2])),skew:n=>(Math.abs(n[1])+Math.abs(n[2]))/2},KI=n=>(n=n%360,n<0&&(n+=360),n),KM=WI,QM=n=>Math.sqrt(n[0]*n[0]+n[1]*n[1]),JM=n=>Math.sqrt(n[4]*n[4]+n[5]*n[5]),UZ={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:QM,scaleY:JM,scale:n=>(QM(n)+JM(n))/2,rotateX:n=>KI(Sd(Math.atan2(n[6],n[5]))),rotateY:n=>KI(Sd(Math.atan2(-n[2],n[0]))),rotateZ:KM,rotate:KM,skewX:n=>Sd(Math.atan(n[4])),skewY:n=>Sd(Math.atan(n[1])),skew:n=>(Math.abs(n[1])+Math.abs(n[4]))/2};function QI(n){return n.includes("scale")?1:0}function JI(n,e){if(!n||n==="none")return QI(e);const t=n.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let i,s;if(t)i=UZ,s=t;else{const o=n.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=zZ,s=o}if(!s)return QI(e);const r=i[e],a=s[1].split(",").map(XZ);return typeof r=="function"?r(a):a[r]}const VZ=(n,e)=>{const{transform:t="none"}=getComputedStyle(n);return JI(t,e)};function XZ(n){return parseFloat(n.trim())}const s0=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r0=new Set(s0),ZM=n=>n===i0||n===he,HZ=new Set(["x","y","z"]),GZ=s0.filter(n=>!HZ.has(n));function $Z(n){const e=[];return GZ.forEach(t=>{const i=n.getValue(t);i!==void 0&&(e.push([t,i.get()]),i.set(t.startsWith("scale")?1:0))}),e}const $h={width:({x:n},{paddingLeft:e="0",paddingRight:t="0"})=>n.max-n.min-parseFloat(e)-parseFloat(t),height:({y:n},{paddingTop:e="0",paddingBottom:t="0"})=>n.max-n.min-parseFloat(e)-parseFloat(t),top:(n,{top:e})=>parseFloat(e),left:(n,{left:e})=>parseFloat(e),bottom:({y:n},{top:e})=>parseFloat(e)+(n.max-n.min),right:({x:n},{left:e})=>parseFloat(e)+(n.max-n.min),x:(n,{transform:e})=>JI(e,"x"),y:(n,{transform:e})=>JI(e,"y")};$h.translateX=$h.x;$h.translateY=$h.y;const qh=new Set;let ZI=!1,eC=!1,tC=!1;function E7(){if(eC){const n=Array.from(qh).filter(i=>i.needsMeasurement),e=new Set(n.map(i=>i.element)),t=new Map;e.forEach(i=>{const s=$Z(i);s.length&&(t.set(i,s),i.render())}),n.forEach(i=>i.measureInitialState()),e.forEach(i=>{i.render();const s=t.get(i);s&&s.forEach(([r,a])=>{var o;(o=i.getValue(r))==null||o.set(a)})}),n.forEach(i=>i.measureEndState()),n.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}eC=!1,ZI=!1,qh.forEach(n=>n.complete(tC)),qh.clear()}function A7(){qh.forEach(n=>{n.readKeyframes(),n.needsMeasurement&&(eC=!0)})}function qZ(){tC=!0,A7(),E7(),tC=!1}class sR{constructor(e,t,i,s,r,a=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=i,this.motionValue=s,this.element=r,this.isAsync=a}scheduleResolve(){this.state="scheduled",this.isAsync?(qh.add(this),ZI||(ZI=!0,Bt.read(A7),Bt.resolveKeyframes(E7))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:i,motionValue:s}=this;if(e[0]===null){const r=s==null?void 0:s.get(),a=e[e.length-1];if(r!==void 0)e[0]=r;else if(i&&t){const o=i.readValue(t,a);o!=null&&(e[0]=o)}e[0]===void 0&&(e[0]=a),s&&r===void 0&&s.set(e[0])}FZ(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),qh.delete(this)}cancel(){this.state==="scheduled"&&(qh.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const YZ=n=>n.startsWith("--");function WZ(n,e,t){YZ(e)?n.style.setProperty(e,t):n.style[e]=t}const KZ=GP(()=>window.ScrollTimeline!==void 0),QZ={};function JZ(n,e){const t=GP(n);return()=>QZ[e]??t()}const I7=JZ(()=>{try{document.createElement("div").animate({opacity:0}
152,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),N0=([n,e,t,i])=>`cubic-bezier(${n}, ${e}, ${t}, ${i})`,e3={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:N0([0,.65,.55,1]),circOut:N0([.55,0,1,.45]),backIn:N0([.31,.01,.66,-.59]),backOut:N0([.33,1.53,.69,.99])};function C7(n,e){if(n)return typeof n=="function"?I7()?S7(n,e):"ease-out":d7(n)?N0(n):Array.isArray(n)?n.map(t=>C7(t,e)||e3.easeOut):e3[n]}function ZZ(n,e,t,{delay:i=0,duration:s=300,repeat:r=0,repeatType:a="loop",ease:o="easeOut",times:l}={},c=void 0){const u={[e]:t};l&&(u.offset=l);const h=C7(o,s);Array.isArray(h)&&(u.easing=h);const f={delay:i,duration:s,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:r+1,direction:a==="reverse"?"alternate":"normal"};return c&&(f.pseudoElement=c),n.animate(u,f)}function T7(n){return typeof n=="function"&&"applyToOptions"in n}function eee({type:n,...e}){return T7(n)&&I7()?n.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class tee extends nR{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:t,name:i,keyframes:s,pseudoElement:r,allowFlatten:a=!1,finalKeyframe:o,onComplete:l}=e;this.isPseudoElement=!!r,this.allowFlatten=a,this.options=e,HP(typeof e.type!="string");const c=eee(e);this.animation=ZZ(t,i,s,c,r),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=tR(s,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(u):WZ(t,i,u),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var e,t;(t=(e=this.animation).finish)==null||t.call(e)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var e,t;this.isPseudoElement||(t=(e=this.animation).commitStyles)==null||t.call(e)}get duration(){var t,i;const e=((i=(t=this.animation.effect)==null?void 0:t.getComputedTiming)==null?void 0:i.call(t).duration)||0;return ho(Number(e))}get time(){return ho(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=uo(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:t}){var i;return this.allowFlatten&&((i=this.animation.effect)==null||i.updateTiming({easing:"linear"})),this.animation.onfinish=null,e&&KZ()?(this.animation.timeline=e,Or):t(this)}}const D7={anticipate:o7,backInOut:a7,circInOut:c7};function nee(n){return n in D7}function iee(n){typeof n.ease=="string"&&nee(n.ease)&&(n.ease=D7[n.ease])}const t3=10;class see extends tee{constructor(e){iee(e),w7(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:t,onUpdate:i,onComplete:s,element:r,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}const o=new iR({...a,autoplay:!1}),l=uo(this.finishedTime??this.time);t.setWithVelocity(o.sample(l-t3).value,o.sample(l).value,t3),o.stop()}}const n3=(n,e)=>e==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(Hu.test(n)||n==="0")&&!n.startsWith("url("));function ree(n){const e=n[0];if(n.length===1)return!0;for(let t=0;t<n.length;t++)if(n[t]!==e)return!0}function aee(n,e,t,i){const s=n[0];if(s===null)return!1;if(e==="display"||e==="visibility")return!0;const r=n[n.length-1],a=n3(s,e),o=n3(r,e);return!a||!o?!1:ree(n)||(t==="spring"||T7(t))&&i}function nC(n){n.duration=0,n.type}const oee=new Set(["opacity","clipPath","filter","transform"]),lee=GP(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function cee(n){var u;const{motionValue:e,name:t,repeatDelay:i,repeatType:s,damping:r,type:a}=n;
152if(!(((u=e==null?void 0:e.owner)==null?void 0:u.current)instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:c}=e.owner.getProps();return lee()&&t&&oee.has(t)&&(t!=="transform"||!c)&&!l&&!i&&s!=="mirror"&&r!==0&&a!=="inertia"}const uee=40;class dee extends nR{constructor({autoplay:e=!0,delay:t=0,type:i="keyframes",repeat:s=0,repeatDelay:r=0,repeatType:a="loop",keyframes:o,name:l,motionValue:c,element:u,...h}){var b;super(),this.stop=()=>{var g,S;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(S=this.keyframeResolver)==null||S.cancel()},this.createdAt=is.now();const f={autoplay:e,delay:t,type:i,repeat:s,repeatDelay:r,repeatType:a,name:l,motionValue:c,element:u,...h},p=(u==null?void 0:u.KeyframeResolver)||sR;this.keyframeResolver=new p(o,(g,S,y)=>this.onKeyframesResolved(g,S,f,!y),l,c,u),(b=this.keyframeResolver)==null||b.scheduleResolve()}onKeyframesResolved(e,t,i,s){this.keyframeResolver=void 0;const{name:r,type:a,velocity:o,delay:l,isHandoff:c,onUpdate:u}=i;this.resolvedAt=is.now(),aee(e,r,a,o)||((zl.instantAnimations||!l)&&(u==null||u(tR(e,i,t))),e[0]=e[e.length-1],nC(i),i.repeat=0);const f={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>uee?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:t,...i,keyframes:e},p=!c&&cee(f)?new see({...f,element:f.motionValue.owner.current}):new iR(f);p.finished.then(()=>this.notifyFinished()).catch(Or),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){var e;return this._animation||((e=this.keyframeResolver)==null||e.resume(),qZ()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var e;this._animation&&this.animation.cancel(),(e=this.keyframeResolver)==null||e.cancel()}}const hee=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function fee(n){const e=hee.exec(n);if(!e)return[,];const[,t,i,s]=e;return[`--${t??i}`,s]}function P7(n,e,t=1){const[i,s]=fee(n);if(!i)return;const r=window.getComputedStyle(e).getPropertyValue(i);if(r){const a=r.trim();return J4(a)?parseFloat(a):a}return KP(s)?P7(s,e,t+1):s}function rR(n,e){return(n==null?void 0:n[e])??(n==null?void 0:n.default)??n}const R7=new Set(["width","height","top","left","right","bottom",...s0]),pee={test:n=>n==="auto",parse:n=>n},k7=n=>e=>e.test(n),N7=[i0,he,fo,rc,rZ,sZ,pee],i3=n=>N7.find(k7(n));function mee(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||e7(n):!0}const gee=new Set(["brightness","contrast","saturate","opacity"]);function yee(n){const[e,t]=n.slice(0,-1).split("(");if(e==="drop-shadow")return n;const[i]=t.match(QP)||[];if(!i)return n;const s=t.replace(i,"");let r=gee.has(e)?1:0;return i!==t&&(r*=100),e+"("+r+s+")"}const vee=/\b([a-z-]*)\(.*?\)/gu,iC={...Hu,getAnimatableNone:n=>{const e=n.match(vee);return e?e.map(yee).join(" "):n}},s3={...i0,transform:Math.round},bee={rotate:rc,rotateX:rc,rotateY:rc,rotateZ:rc,scale:s_,scaleX:s_,scaleY:s_,scaleZ:s_,skew:rc,skewX:rc,skewY:rc,distance:he,translateX:he,translateY:he,translateZ:he,x:he,y:he,z:he,perspective:he,transformPerspective:he,opacity:Qy,originX:GM,originY:GM,originZ:he},aR={borderWidth:he,borderTopWidth:he,borderRightWidth:he,borderBottomWidth:he,borderLeftWidth:he,borderRadius:he,radius:he,borderTopLeftRadius:he,borderTopRightRadius:he,borderBottomRightRadius:he,borderBottomLeftRadius:he,width:he,maxWidth:he,height:he,maxHeight:he,top:he,right:he,bottom:he,left:he,padding:he,paddingTop:he,paddingRight:he,paddingBottom:he,paddingLeft:he,margin:he,marginTop:he,marginRight:he,marginBottom:he,marginLeft:he,backgroundPositionX:he,backgroundPositionY:he,...bee,zIndex:s3,fillOpacity:Qy,strokeOpacity:Qy,numOctaves:s3},_ee={...aR,color:mn,backgroundColor:mn,outlineColor:mn,fill:mn,stroke:mn,borderColor:mn,borderTopColor:mn,borderRightColor:mn,borderBottomColor:mn,borderLeftColor:mn,filter:iC,WebkitFilter:iC},M7=n=>_ee[n];function O7(n,e){let t=M7(n);return t!==iC&&(t=Hu),t.getAnimatableNone?t.getAnimatableNone(e):void 0}
vendor: 11,797 bytes, lines 152-160
152const See=new Set(["auto","none","0"]);function xee(n,e,t){let i=0,s;for(;i<n.length&&!s;){const r=n[i];typeof r=="string"&&!See.has(r)&&Jy(r).values.length&&(s=n[i]),i++}if(s&&t)for(const r of e)n[r]=O7(t,s)}class wee extends sR{constructor(e,t,i,s,r){super(e,t,i,s,r,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:i}=this;if(!t||!t.current)return;super.readKeyframes();for(let l=0;l<e.length;l++){let c=e[l];if(typeof c=="string"&&(c=c.trim(),KP(c))){const u=P7(c,t.current);u!==void 0&&(e[l]=u),l===e.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!R7.has(i)||e.length!==2)return;const[s,r]=e,a=i3(s),o=i3(r);if(a!==o)if(ZM(a)&&ZM(o))for(let l=0;l<e.length;l++){const c=e[l];typeof c=="string"&&(e[l]=parseFloat(c))}else $h[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,i=[];for(let s=0;s<e.length;s++)(e[s]===null||mee(e[s]))&&i.push(s);i.length&&xee(e,i,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:i}=this;if(!e||!e.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=$h[i](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const s=t[t.length-1];s!==void 0&&e.getValue(i,s).jump(s,!1)}measureEndState(){var o;const{element:e,name:t,unresolvedKeyframes:i}=this;if(!e||!e.current)return;const s=e.getValue(t);s&&s.jump(this.measuredOrigin,!1);const r=i.length-1,a=i[r];i[r]=$h[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),(o=this.removedTransforms)!=null&&o.length&&this.removedTransforms.forEach(([l,c])=>{e.getValue(l).set(c)}),this.resolveNoneKeyframes()}}function Eee(n,e,t){if(n instanceof EventTarget)return[n];if(typeof n=="string"){let i=document;const s=(t==null?void 0:t[n])??i.querySelectorAll(n);return s?Array.from(s):[]}return Array.from(n)}const L7=(n,e)=>e&&typeof n=="number"?e.transform(n):n;function B7(n){return Z4(n)&&"offsetHeight"in n}const r3=30,Aee=n=>!isNaN(parseFloat(n));class Iee{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=i=>{var r;const s=is.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&((r=this.events.change)==null||r.notify(this.current),this.dependents))for(const a of this.dependents)a.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=is.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Aee(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new $P);const i=this.events[e].add(t);return e==="change"?()=>{i(),Bt.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,i){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var e;(e=this.events.change)==null||e.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=is.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>r3)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,r3);return t7(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var e,t;(e=this.dependents)==null||e.clear(),(t=this.events.destroy)==null||t.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Cg(n,e){return new Iee(n,e)}const{schedule:oR}=h7(queueMicrotask,!1),$r={x:!1,y:!1};function j7(){return $r.x||$r.y}function Cee(n){return n==="x"||n==="y"?$r[n]?null:($r[n]=!0,()=>{$r[n]=!1}):$r.x||$r.y?null:($r.x=$r.y=!0,()=>{$r.x=$r.y=!1})}function F7(n,e){const t=Eee(n),i=new AbortController,s={passive:!0,...e,signal:i.signal};return[t,s,()=>i.abort()]}function a3(n){return!(n.pointerType==="touch"||j7())}function Tee(n,e,t={}){const[i,s,r]=F7(n,t),a=o=>{if(!a3(o))return;const{target:l}=o,c=e(l,o);if(typeof c!="function"||!l)return;const u=h=>{a3(h)&&(c(h),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,s)};return i.forEach(o=>{o.addEventListener("pointerenter",a,s)}),r}const z7=(n,e)=>e?n===e?!0:z7(n,e.parentElement):!1,lR=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,Dee=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Pee(n){return Dee.has(n.tagName)||n.tabIndex!==-1}const $_=new WeakSet;function o3(n){return e=>{e.key==="Enter"&&n(e)}}function kE(n,e){n.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const Ree=(n,e)=>{const t=n.currentTarget;if(!t)return;const i=o3(()=>{if($_.has(t))return;kE(t,"down");const s=o3(()=>{kE(t,"up")}),r=()=>kE(t,"cancel");t.addEventListener("keyup",s,e),t.addEventListener("blur",r,e)});t.addEventListener("keydown",i,e),t.addEventListener("blur",()=>t.removeEventListener("keydown",i),e)};function l3(n){return lR(n)&&!j7()}function kee(n,e,t={}){const[i,s,r]=F7(n,t),a=o=>{const l=o.currentTarget;if(!l3(o))return;$_.add(l);const c=e(l,o),u=(p,b)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",f),$_.has(l)&&$_.delete(l),l3(p)&&typeof c=="function"&&c(p,{success:b})},h=p=>{u(p,l===window||l===document||t.useGlobalTarget||z7(l,p.target))},f=p=>{u(p,!1)};window.addEventListener("pointerup",h,s),window.addEventListener("pointercancel",f,s)};return i.forEach(o=>{(t.useGlobalTarget?window:o).addEventListener("pointerdown",a,s),B7(o)&&(o.addEventListener("focus",c=>Ree(c,s)),!Pee(o)&&!o.hasAttribute("tabindex")&&(o.tabIndex=0))}),r}function U7(n){return Z4(n)&&"ownerSVGElement"in n}function Nee(n){return U7(n)&&n.tagName==="svg"}const vi=n=>!!(n&&n.getVelocity),Mee=[...N7,mn,Hu],Oee=n=>Mee.find(k7(n)),cR=w.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});class Lee extends w.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const i=t.offsetParent,s=B7(i)&&i.offsetWidth||0,r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft,r.right=s-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function Bee({children:n,isPresent:e,anchorX:t,root:i}){const s=w.useId(),r=w.useRef(null),a=w.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:o}=w.useContext(cR);return w.useInsertionEffect(()=>{const{width:l,height:c,top:u,left:h,right:f}=a.current;if(e||!r.current||!l||!c)return;const p=t==="left"?`left: ${h}`:`right: ${f}`;r.current.dataset.motionPopId=s;const b=document.createElement("style");o&&(b.nonce=o);const g=i??document.head;return g.appendChild(b),b.sheet&&b.sheet.insertRule(` 153 [data-motion-pop-id="${s}"] { 154 position: absolute !important; 155 width: ${l}px !important; 156 height: ${c}px !important; 157 ${p}px !important; 158 top: ${u}px !important; 159 } 160 `),()=>{g.contains(b)&&g.removeChild(b)}},[e]),m.jsx(Lee,{isPresent:e,childRef:r,sizeRef:a,children:w.cloneElement(n,{ref:r})})}const jee=({children:n,initial:e,isPresent:t,onExitComplete:i,custom:s,presenceAffectsLayout:r,mode:a,anchorX:o,root:l})=>{const c=zP(Fee),u=w.useId();let h=!0,f=w.useMemo(()=>(h=!1,{id:u,initial:e,isPresent:t,custom:s,onExitComplete:p=>{c.set(p,!0);for(const b of c.values())if(!b)return;i&&i()},register:p=>(c.set(p,!1),()=>c.delete(p))}),[t,c,i]);return r&&h&&(f={...f}),w.useMemo(()=>{c.forEach((p,b)=>c.set(b,!1))},[t]),w.useEffect(()=>{!t&&!c.size&&i&&i()},[t]),a==="popLayout"&&(n=m.jsx(Bee,{isPresent:t,anchorX:o,root:l,children:n})),m.jsx(ow.Provider,{value:f,children:n})};function Fee(){return new Map}function V7(n=!0){const e=w.useContext(ow);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:i,register:s}=e,r=w.useId();w.useEffect(()=>{if(n)return s(r)},[n]);const a=w.useCallback(()=>n&&i&&i(r),[r,i,n]);return!t&&i?[!1,a]:[!0]}const r_=n=>n.key||"";function c3(n){const e=[];return w.Children.forEach(n,t=>{w.isValidElement(t)&&e.push(t)}),e}const zee=({children:n,custom:e,initial:t=!0,onExitComplete:i,presenceAffectsLayout:s=!0,mode:r="sync",propagate:a=!1,anchorX:o="left",root:l})=>{const[c,u]=V7(a),h=w.useMemo(()=>c3(n),[n]),f=a&&!c?[]:h.map(r_),p=w.useRef(!0),b=w.useRef(h),g=zP(()=>new Map),[S,y]=w.useState(h),[v,_]=w.useState(h);Q4(()=>{p.current=!1,b.current=h;for(let C=0;C<v.length;C++){const I=r_(v[C]);f.includes(I)?g.delete(I):g.get(I)!==!0&&g.set(I,!1)}},[v,f.length,f.join("-")]);const x=[];if(h!==S){let C=[...h];for(let I=0;I<v.length;I++){const R=v[I],D=r_(R);f.includes(D)||(C.splice(I,0,R),x.push(R))}return r==="wait"&&x.length&&(C=x),_(c3(C)),y(h),null}const{forceRender:E}=w.useContext(FP);return m.jsx(m.Fragment,{children:v.map(C=>{const I=r_(C),R=a&&!c?!1:h===v||f.includes(I),D=()=>{if(g.has(I))g.set(I,!0);else return;let k=!0;g.forEach(N=>{N||(k=!1)}),k&&(E==null||E(),_(b.current),a&&(u==null||u()),i&&i())};return m.jsx(jee,{isPresent:R,initial:!p.current||t?void 0:!1,custom:e,presenceAffectsLayout:s,mode:r,root:l,onExitComplete:R?void 0:D,anchorX:o,children:C},I)})})},X7=w.createContext({strict:!1}),u3={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Tg={};for(const n in u3)Tg[n]={isEnabled:e=>u3[n].some(t=>!!e[t])};function Uee(n){for(const e in n)Tg[e]={...Tg[e],...n[e]}}const Vee=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function _x(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||Vee.has(n)}let H7=n=>!_x(n);function Xee(n){typeof n=="function"&&(H7=e=>e.startsWith("on")?!_x(e):n(e))}try{Xee(require("@emotion/is-prop-valid").default)}catch{}function Hee(n,e,t){const i={};for(const s in n)s==="values"&&typeof n.values=="object"||(H7(s)||t===!0&&_x(s)||!e&&!_x(s)||n.draggable&&s.startsWith("onDrag"))&&(i[s]=n[s]);return i}
vendor: 8,700 bytes, line 160
160const lw=w.createContext({});function cw(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}function Zy(n){return typeof n=="string"||Array.isArray(n)}const uR=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],dR=["initial",...uR];function uw(n){return cw(n.animate)||dR.some(e=>Zy(n[e]))}function G7(n){return!!(uw(n)||n.variants)}function Gee(n,e){if(uw(n)){const{initial:t,animate:i}=n;return{initial:t===!1||Zy(t)?t:void 0,animate:Zy(i)?i:void 0}}return n.inherit!==!1?e:{}}function $ee(n){const{initial:e,animate:t}=Gee(n,w.useContext(lw));return w.useMemo(()=>({initial:e,animate:t}),[d3(e),d3(t)])}function d3(n){return Array.isArray(n)?n.join(" "):n}const ev={};function qee(n){for(const e in n)ev[e]=n[e],WP(e)&&(ev[e].isCSSVariable=!0)}function $7(n,{layout:e,layoutId:t}){return r0.has(n)||n.startsWith("origin")||(e||t!==void 0)&&(!!ev[n]||n==="opacity")}const Yee={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Wee=s0.length;function Kee(n,e,t){let i="",s=!0;for(let r=0;r<Wee;r++){const a=s0[r],o=n[a];if(o===void 0)continue;let l=!0;if(typeof o=="number"?l=o===(a.startsWith("scale")?1:0):l=parseFloat(o)===0,!l||t){const c=L7(o,aR[a]);if(!l){s=!1;const u=Yee[a]||a;i+=`${u}(${c}) `}t&&(e[a]=c)}}return i=i.trim(),t?i=t(e,s?"":i):s&&(i="none"),i}function hR(n,e,t){const{style:i,vars:s,transformOrigin:r}=n;let a=!1,o=!1;for(const l in e){const c=e[l];if(r0.has(l)){a=!0;continue}else if(WP(l)){s[l]=c;continue}else{const u=L7(c,aR[l]);l.startsWith("origin")?(o=!0,r[l]=u):i[l]=u}}if(e.transform||(a||t?i.transform=Kee(e,n.transform,t):i.transform&&(i.transform="none")),o){const{originX:l="50%",originY:c="50%",originZ:u=0}=r;i.transformOrigin=`${l} ${c} ${u}`}}const fR=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function q7(n,e,t){for(const i in e)!vi(e[i])&&!$7(i,t)&&(n[i]=e[i])}function Qee({transformTemplate:n},e){return w.useMemo(()=>{const t=fR();return hR(t,e,n),Object.assign({},t.vars,t.style)},[e])}function Jee(n,e){const t=n.style||{},i={};return q7(i,t,n),Object.assign(i,Qee(n,e)),i}function Zee(n,e){const t={},i=Jee(n,e);return n.drag&&n.dragListener!==!1&&(t.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(t.tabIndex=0),t.style=i,t}const ete={offset:"stroke-dashoffset",array:"stroke-dasharray"},tte={offset:"strokeDashoffset",array:"strokeDasharray"};function nte(n,e,t=1,i=0,s=!0){n.pathLength=1;const r=s?ete:tte;n[r.offset]=he.transform(-i);const a=he.transform(e),o=he.transform(t);n[r.array]=`${a} ${o}`}function Y7(n,{attrX:e,attrY:t,attrScale:i,pathLength:s,pathSpacing:r=1,pathOffset:a=0,...o},l,c,u){if(hR(n,o,c),l){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:h,style:f}=n;h.transform&&(f.transform=h.transform,delete h.transform),(f.transform||h.transformOrigin)&&(f.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),f.transform&&(f.transformBox=(u==null?void 0:u.transformBox)??"fill-box",delete h.transformBox),e!==void 0&&(h.x=e),t!==void 0&&(h.y=t),i!==void 0&&(h.scale=i),s!==void 0&&nte(h,s,r,a,!1)}const W7=()=>({...fR(),attrs:{}}),K7=n=>typeof n=="string"&&n.toLowerCase()==="svg";function ite(n,e,t,i){const s=w.useMemo(()=>{const r=W7();return Y7(r,e,K7(i),n.transformTemplate,n.style),{...r.attrs,style:{...r.style}}},[e]);if(n.style){const r={};q7(r,n.style,n),s.style={...r,...s.style}}return s}const ste=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function pR(n){return typeof n!="string"||n.includes("-")?!1:!!(ste.indexOf(n)>-1||/[A-Z]/u.test(n))}function rte(n,e,t,{latestValues:i},s,r=!1){const o=(pR(n)?ite:Zee)(e,i,s,n),l=Hee(e,typeof n=="string",r),c=n!==w.Fragment?{...l,...o,ref:t}:{},{children:u}=e,h=w.useMemo(()=>vi(u)?u.get():u,[u]);return w.createElement(n,{...c,children:h})}function h3(n){const e=[{},{}];return n==null||n.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function mR(n,e,t,i){if(typeof e=="function"){const[s,r]=h3(i);e=e(t!==void 0?t:n.custom,s,r)}if(typeof e=="string"&&(e=n.variants&&n.variants[e]),typeof e=="function"){const[s,r]=h3(i);e=e(t!==void 0?t:n.custom,s,r)}return e}function q_(n){return vi(n)?n.get():n}function ate({scrapeMotionValuesFromProps:n,createRenderState:e},t,i,s){return{latestValues:ote(t,i,s,n),renderState:e()}}function ote(n,e,t,i){const s={},r=i(n,{});for(const f in r)s[f]=q_(r[f]);let{initial:a,animate:o}=n;const l=uw(n),c=G7(n);e&&c&&!l&&n.inherit!==!1&&(a===void 0&&(a=e.initial),o===void 0&&(o=e.animate));let u=t?t.initial===!1:!1;u=u||a===!1;const h=u?o:a;if(h&&typeof h!="boolean"&&!cw(h)){const f=Array.isArray(h)?h:[h];for(let p=0;p<f.length;p++){const b=mR(n,f[p]);if(b){const{transitionEnd:g,transition:S,...y}=b;for(const v in y){let _=y[v];if(Array.isArray(_)){const x=u?_.length-1:0;_=_[x]}_!==null&&(s[v]=_)}for(const v in g)s[v]=g[v]}}}return s}const Q7=n=>(e,t)=>{const i=w.useContext(lw),s=w.useContext(ow),r=()=>ate(n,e,i,s);return t?r():zP(r)};function gR(n,e,t){var r;const{style:i}=n,s={};for(const a in i)(vi(i[a])||e.style&&vi(e.style[a])||$7(a,n)||((r=t==null?void 0:t.getValue(a))==null?void 0:r.liveStyle)!==void 0)&&(s[a]=i[a]);return s}const lte=Q7({scrapeMotionValuesFromProps:gR,createRenderState:fR});function J7(n,e,t){const i=gR(n,e,t);for(const s in n)if(vi(n[s])||vi(e[s])){const r=s0.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;i[r]=n[s]}return i}const cte=Q7({scrapeMotionValuesFromProps:J7,createRenderState:W7}),ute=Symbol.for("motionComponentSymbol");function tp(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function dte(n,e,t){return w.useCallback(i=>{i&&n.onMount&&n.onMount(i),e&&(i?e.mount(i):e.unmount()),t&&(typeof t=="function"?t(i):tp(t)&&(t.current=i))},[e])}const yR=n=>n.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),hte="framerAppearId",Z7="data-"+yR(hte),eF=w.createContext({});function fte(n,e,t,i,s){var g,S;const{visualElement:r}=w.useContext(lw),a=w.useContext(X7),o=w.useContext(ow),l=w.useContext(cR).reducedMotion,c=w.useRef(null);i=i||a.renderer,!c.current&&i&&(c.current=i(n,{visualState:e,parent:r,props:t,presenceContext:o,blockInitialAnimation:o?o.initial===!1:!1,reducedMotionConfig:l}));const u=c.current,h=w.useContext(eF);u&&!u.projection&&s&&(u.type==="html"||u.type==="svg")&&pte(c.current,t,s,h);const f=w.useRef(!1);w.useInsertionEffect(()=>{u&&f.current&&u.update(t,o)});const p=t[Z7],b=w.useRef(!!p&&!((g=window.MotionHandoffIsComplete)!=null&&g.call(window,p))&&((S=window.MotionHasOptimisedAnimation)==null?void 0:S.call(window,p)));return Q4(()=>{u&&(f.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),b.current&&u.animationState&&u.animationState.animateChanges())}),w.useEffect(()=>{u&&(!b.current&&u.animationState&&u.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{var y;(y=window.MotionHandoffMarkAsComplete)==null||y.call(window,p)}),b.current=!1),u.enteringChildren=void 0)}),u}function pte(n,e,t,i){const{layoutId:s,layout:r,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:c,layoutCrossfade:u}=e;n.projection=new t(n.latestValues,e["data-framer-portal-id"]?void 0:tF(n.parent)),n.projection.setOptions({layoutId:s,layout:r,alwaysMeasureLayout:!!a||o&&tp(o),visualElement:n,animationType:typeof r=="string"?r:"both",initialPromotionConfig:i,crossfade:u,layoutScroll:l,layoutRoot:c})}function tF(n){if(n)return n.options.allowProjection!==!1?n.projection:tF(n.parent)}function NE(n,{forwardMotionProps:e=!1}={},t,i){t&&Uee(t);const s=pR(n)?cte:lte;function r(o,l){let c;const u={...w.useContext(cR),...o,layoutId:mte(o)},{isStatic:h}=u,f=$ee(o),p=s(o,h);if(!h&&UP){gte();const b=yte(u);c=b.MeasureLayout,f.visualElement=fte(n,p,u,i,b.ProjectionNode)}return m.jsxs(lw.Provider,{value:f,children:[c&&f.visualElement?m.jsx(c,{visualElement:f.visualElement,...u}):null,rte(n,o,dte(p,f.visualElement,l),p,h,e)]})}r.displayName=`motion.${typeof n=="string"?n:`create(${n.displayName??n.name??""})`}`;const a=w.forwardRef(r);return a[ute]=n,a}function mte({layoutId:n}){const e=w.useContext(FP).id;return e&&n!==void 0?e+"-"+n:n}function gte(n,e){w.useContext(X7).strict}function yte(n){const{drag:e,layout:t}=Tg;if(!e&&!t)return{};const i={...e,...t};return{MeasureLayout:e!=null&&e.isEnabled(n)||t!=null&&t.isEnabled(n)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}
vendor: 4,456 bytes, line 160
160function vte(n,e){if(typeof Proxy>"u")return NE;const t=new Map,i=(r,a)=>NE(r,a,n,e),s=(r,a)=>i(r,a);return new Proxy(s,{get:(r,a)=>a==="create"?i:(t.has(a)||t.set(a,NE(a,void 0,n,e)),t.get(a))})}function nF({top:n,left:e,right:t,bottom:i}){return{x:{min:e,max:t},y:{min:n,max:i}}}function bte({x:n,y:e}){return{top:e.min,right:n.max,bottom:e.max,left:n.min}}function _te(n,e){if(!e)return n;const t=e({x:n.left,y:n.top}),i=e({x:n.right,y:n.bottom});return{top:t.y,left:t.x,bottom:i.y,right:i.x}}function ME(n){return n===void 0||n===1}function sC({scale:n,scaleX:e,scaleY:t}){return!ME(n)||!ME(e)||!ME(t)}function hd(n){return sC(n)||iF(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function iF(n){return f3(n.x)||f3(n.y)}function f3(n){return n&&n!=="0%"}function Sx(n,e,t){const i=n-t,s=e*i;return t+s}function p3(n,e,t,i,s){return s!==void 0&&(n=Sx(n,s,i)),Sx(n,t,i)+e}function rC(n,e=0,t=1,i,s){n.min=p3(n.min,e,t,i,s),n.max=p3(n.max,e,t,i,s)}function sF(n,{x:e,y:t}){rC(n.x,e.translate,e.scale,e.originPoint),rC(n.y,t.translate,t.scale,t.originPoint)}const m3=.999999999999,g3=1.0000000000001;function Ste(n,e,t,i=!1){const s=t.length;if(!s)return;e.x=e.y=1;let r,a;for(let o=0;o<s;o++){r=t[o],a=r.projectionDelta;const{visualElement:l}=r.options;l&&l.props.style&&l.props.style.display==="contents"||(i&&r.options.layoutScroll&&r.scroll&&r!==r.root&&ip(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),a&&(e.x*=a.x.scale,e.y*=a.y.scale,sF(n,a)),i&&hd(r.latestValues)&&ip(n,r.latestValues))}e.x<g3&&e.x>m3&&(e.x=1),e.y<g3&&e.y>m3&&(e.y=1)}function np(n,e){n.min=n.min+e,n.max=n.max+e}function y3(n,e,t,i,s=.5){const r=Ht(n.min,n.max,s);rC(n,e,t,r,i)}function ip(n,e){y3(n.x,e.x,e.scaleX,e.scale,e.originX),y3(n.y,e.y,e.scaleY,e.scale,e.originY)}function rF(n,e){return nF(_te(n.getBoundingClientRect(),e))}function xte(n,e,t){const i=rF(n,t),{scroll:s}=e;return s&&(np(i.x,s.offset.x),np(i.y,s.offset.y)),i}const v3=()=>({translate:0,scale:1,origin:0,originPoint:0}),sp=()=>({x:v3(),y:v3()}),b3=()=>({min:0,max:0}),cn=()=>({x:b3(),y:b3()}),aC={current:null},aF={current:!1};function wte(){if(aF.current=!0,!!UP)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),e=()=>aC.current=n.matches;n.addEventListener("change",e),e()}else aC.current=!1}const Ete=new WeakMap;function Ate(n,e,t){for(const i in e){const s=e[i],r=t[i];if(vi(s))n.addValue(i,s);else if(vi(r))n.addValue(i,Cg(s,{owner:n}));else if(r!==s)if(n.hasValue(i)){const a=n.getValue(i);a.liveStyle===!0?a.jump(s):a.hasAnimated||a.set(s)}else{const a=n.getStaticValue(i);n.addValue(i,Cg(a!==void 0?a:s,{owner:n}))}}for(const i in t)e[i]===void 0&&n.removeValue(i);return e}const _3=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Ite{scrapeMotionValuesFromProps(e,t,i){return{}}constructor({parent:e,props:t,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:r,visualState:a},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=sR,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=is.now();this.renderScheduledAt<f&&(this.renderScheduledAt=f,Bt.render(this.render,!1,!0))};const{latestValues:l,renderState:c}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=c,this.parent=e,this.props=t,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=s,this.options=o,this.blockInitialAnimation=!!r,this.isControllingVariants=uw(t),this.isVariantNode=G7(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:u,...h}=this.scrapeMotionValuesFromProps(t,{},this);for(const f in h){const p=h[f];l[f]!==void 0&&vi(p)&&p.set(l[f])}}mount(e){var t;this.current=e,Ete.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
vendor: 7,389 bytes, line 160
160h((i,s)=>this.bindToMotionValue(s,i)),aF.current||wte(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:aC.current,(t=this.parent)==null||t.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var e;this.projection&&this.projection.unmount(),Xu(this.notifyUpdate),Xu(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(e=this.parent)==null||e.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const i=this.features[t];i&&(i.unmount(),i.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const i=r0.has(e);i&&this.onBindTransform&&this.onBindTransform();const s=t.on("change",a=>{this.latestValues[e]=a,this.props.onUpdate&&Bt.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{s(),r&&r(),t.owner&&t.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Tg){const t=Tg[e];if(!t)continue;const{isEnabled:i,Feature:s}=t;if(!this.features[e]&&s&&i(this.props)&&(this.features[e]=new s(this)),this.features[e]){const r=this.features[e];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):cn()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let i=0;i<_3.length;i++){const s=_3[i];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const r="on"+s,a=e[r];a&&(this.propEventSubscriptions[s]=this.on(s,a))}this.prevMotionValues=Ate(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const i=this.values.get(e);t!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return i===void 0&&t!==void 0&&(i=Cg(t===null?void 0:t,{owner:this}),this.addValue(e,i)),i}readValue(e,t){let i=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return i!=null&&(typeof i=="string"&&(J4(i)||e7(i))?i=parseFloat(i):!Oee(i)&&Hu.test(t)&&(i=O7(e,t)),this.setBaseTarget(e,vi(i)?i.get():i)),vi(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var r;const{initial:t}=this.props;let i;if(typeof t=="string"||typeof t=="object"){const a=mR(this.props,t,(r=this.presenceContext)==null?void 0:r.custom);a&&(i=a[e])}if(t&&i!==void 0)return i;const s=this.getBaseTargetFromProps(this.props,e);return s!==void 0&&!vi(s)?s:this.initialValues[e]!==void 0&&i===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new $P),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){oR.render(this.render)}}class oF extends Ite{constructor(){super(...arguments),this.KeyframeResolver=wee}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;vi(e)&&(this.childSubscription=e.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function lF(n,{style:e,vars:t},i,s){const r=n.style;let a;for(a in e)r[a]=e[a];s==null||s.applyProjectionStyles(r,i);for(a in t)r.setProperty(a,t[a])}function Cte(n){return window.getComputedStyle(n)}class Tte extends oF{constructor(){super(...arguments),this.type="html",this.renderInstance=lF}readValueFromInstance(e,t){var i;if(r0.has(t))return(i=this.projection)!=null&&i.isProjecting?QI(t):VZ(e,t);{const s=Cte(e),r=(WP(t)?s.getPropertyValue(t):s[t])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return rF(e,t)}build(e,t,i){hR(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return gR(e,t,i)}}const cF=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Dte(n,e,t,i){lF(n,e,void 0,i);for(const s in e.attrs)n.setAttribute(cF.has(s)?s:yR(s),e.attrs[s])}class Pte extends oF{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=cn}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(r0.has(t)){const i=M7(t);return i&&i.default||0}return t=cF.has(t)?t:yR(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,i){return J7(e,t,i)}build(e,t,i){Y7(e,t,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,t,i,s){Dte(e,t,i,s)}mount(e){this.isSVGTag=K7(e.tagName),super.mount(e)}}const Rte=(n,e)=>pR(n)?new Pte(e):new Tte(e,{allowProjection:n!==w.Fragment});function Sp(n,e,t){const i=n.getProps();return mR(i,e,t!==void 0?t:i.custom,n)}const oC=n=>Array.isArray(n);function kte(n,e,t){n.hasValue(e)?n.getValue(e).set(t):n.addValue(e,Cg(t))}function Nte(n){return oC(n)?n[n.length-1]||0:n}function Mte(n,e){const t=Sp(n,e);let{transitionEnd:i={},transition:s={},...r}=t||{};r={...r,...i};for(const a in r){const o=Nte(r[a]);kte(n,a,o)}}function Ote(n){return!!(vi(n)&&n.add)}function lC(n,e){const t=n.getValue("willChange");if(Ote(t))return t.add(e);if(!t&&zl.WillChange){const i=new zl.WillChange("auto");
vendor: 5,391 bytes, line 160
160n.addValue("willChange",i),i.add(e)}}function uF(n){return n.props[Z7]}const Lte=n=>n!==null;function Bte(n,{repeat:e,repeatType:t="loop"},i){const s=n.filter(Lte),r=e&&t!=="loop"&&e%2===1?0:s.length-1;return s[r]}const jte={type:"spring",stiffness:500,damping:25,restSpeed:10},Fte=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),zte={type:"keyframes",duration:.8},Ute={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Vte=(n,{keyframes:e})=>e.length>2?zte:r0.has(n)?n.startsWith("scale")?Fte(e[1]):jte:Ute;function Xte({when:n,delay:e,delayChildren:t,staggerChildren:i,staggerDirection:s,repeat:r,repeatType:a,repeatDelay:o,from:l,elapsed:c,...u}){return!!Object.keys(u).length}const vR=(n,e,t,i={},s,r)=>a=>{const o=rR(i,n)||{},l=o.delay||i.delay||0;let{elapsed:c=0}=i;c=c-uo(l);const u={keyframes:Array.isArray(t)?t:[null,t],ease:"easeOut",velocity:e.getVelocity(),...o,delay:-c,onUpdate:f=>{e.set(f),o.onUpdate&&o.onUpdate(f)},onComplete:()=>{a(),o.onComplete&&o.onComplete()},name:n,motionValue:e,element:r?void 0:s};Xte(o)||Object.assign(u,Vte(n,u)),u.duration&&(u.duration=uo(u.duration)),u.repeatDelay&&(u.repeatDelay=uo(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let h=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(nC(u),u.delay===0&&(h=!0)),(zl.instantAnimations||zl.skipAnimations)&&(h=!0,nC(u),u.delay=0),u.allowFlatten=!o.type&&!o.ease,h&&!r&&e.get()!==void 0){const f=Bte(u.keyframes,o);if(f!==void 0){Bt.update(()=>{u.onUpdate(f),u.onComplete()});return}}return o.isSync?new iR(u):new dee(u)};function Hte({protectedKeys:n,needsAnimating:e},t){const i=n.hasOwnProperty(t)&&e[t]!==!0;return e[t]=!1,i}function dF(n,e,{delay:t=0,transitionOverride:i,type:s}={}){let{transition:r=n.getDefaultTransition(),transitionEnd:a,...o}=e;i&&(r=i);const l=[],c=s&&n.animationState&&n.animationState.getState()[s];for(const u in o){const h=n.getValue(u,n.latestValues[u]??null),f=o[u];if(f===void 0||c&&Hte(c,u))continue;const p={delay:t,...rR(r||{},u)},b=h.get();if(b!==void 0&&!h.isAnimating&&!Array.isArray(f)&&f===b&&!p.velocity)continue;let g=!1;if(window.MotionHandoffAnimation){const y=uF(n);if(y){const v=window.MotionHandoffAnimation(y,u,Bt);v!==null&&(p.startTime=v,g=!0)}}lC(n,u),h.start(vR(u,h,f,n.shouldReduceMotion&&R7.has(u)?{type:!1}:p,n,g));const S=h.animation;S&&l.push(S)}return a&&Promise.all(l).then(()=>{Bt.update(()=>{a&&Mte(n,a)})}),l}function hF(n,e,t,i=0,s=1){const r=Array.from(n).sort((c,u)=>c.sortNodePosition(u)).indexOf(e),a=n.size,o=(a-1)*i;return typeof t=="function"?t(r,a):s===1?r*i:o-r*i}function cC(n,e,t={}){var l;const i=Sp(n,e,t.type==="exit"?(l=n.presenceContext)==null?void 0:l.custom:void 0);let{transition:s=n.getDefaultTransition()||{}}=i||{};t.transitionOverride&&(s=t.transitionOverride);const r=i?()=>Promise.all(dF(n,i,t)):()=>Promise.resolve(),a=n.variantChildren&&n.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:h,staggerDirection:f}=s;return Gte(n,e,c,u,h,f,t)}:()=>Promise.resolve(),{when:o}=s;if(o){const[c,u]=o==="beforeChildren"?[r,a]:[a,r];return c().then(()=>u())}else return Promise.all([r(),a(t.delay)])}function Gte(n,e,t=0,i=0,s=0,r=1,a){const o=[];for(const l of n.variantChildren)l.notify("AnimationStart",e),o.push(cC(l,e,{...a,delay:t+(typeof i=="function"?0:i)+hF(n.variantChildren,l,i,s,r)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(o)}function $te(n,e,t={}){n.notify("AnimationStart",e);let i;if(Array.isArray(e)){const s=e.map(r=>cC(n,r,t));i=Promise.all(s)}else if(typeof e=="string")i=cC(n,e,t);else{const s=typeof e=="function"?Sp(n,e,t.custom):e;i=Promise.all(dF(n,s,t))}return i.then(()=>{n.notify("AnimationComplete",e)})}function fF(n,e){if(!Array.isArray(e))return!1;const t=e.length;if(t!==n.length)return!1;for(let i=0;i<t;i++)if(e[i]!==n[i])return!1;return!0}const qte=dR.length;function pF(n){if(!n)return;if(!n.isControllingVariants){const t=n.parent?pF(n.parent)||{}:{};return n.props.initial!==void 0&&(t.initial=n.props.initial),t}const e={};for(let t=0;t<qte;t++){const i=dR[t],s=n.props[i];(Zy(s)||s===!1)&&(e[i]=s)}return e}const Yte=[...uR].reverse(),Wte=uR.length;function Kte(n){return e=>Promise.all(e.map(({animation:t,options:i})=>$te(n,t,i)))}function Qte(n){let e=Kte(n),t=S3(),i=!0;const s=l=>(c,u)=>{var f;const h=Sp(n,u,l==="exit"?(f=n.presenceContext)==null?void 0:f.custom:void 0);if(h){const{transition:p,transitionEnd:b,...g}=h;c={...c,...g,...b}}return c};function r(l){e=l(n)}function a(l){const{props:c}=n,u=pF(n.parent)||{},h=[],f=new Set;let p={},b=1/0;for(let S=0;S<Wte;S++){const y=Yte[S],v=t[y],_=c[y]!==void 0?c[y]:u[y],x=Zy(_),E=y===l?v.isActive:null;E===!1&&(b=S);let C=_===u[y]&&_!==c[y]&&x;if(C&&i&&n.manuallyAnimateOnMount&&(C=!1),v.protectedKeys={...p},!v.isActive&&E===null||!_&&!v.prevProp||cw(_)||typeof _=="boolean")continue;const I=Jte(v.prevProp,_);let R=I||y===l&&v.isActive&&!C&&x||S>b&&x,D=!1;const k=Array.isArray(_)?_:[_];let N=k.reduce(s(y),{});E===!1&&(N={});const{prevResolvedValues:O={}}=v,j={...O,...N},L=B=>{R=!0,f.has(B)&&(D=!0,f.delete(B)),v.needsAnimating[B]=!0;const F=n.getValue(B);F&&(F.liveStyle=!1)};for(const B in j){const F=N[B],z=O[B];if(p.hasOwnProperty(B))continue;let G=!1;oC(F)&&oC(z)?G=!fF(F,z):G=F!==z,G?F!=null?L(B):f.add(B):F!==void 0&&f.has(B)?L(B):v.protectedKeys[B]=!0}v.prevProp=_,v.prevResolvedValues=N,v.isActive&&(p={...p,...N}
vendor: 22,942 bytes, line 160
160),i&&n.blockInitialAnimation&&(R=!1);const U=C&&I;R&&(!U||D)&&h.push(...k.map(B=>{const F={type:y};if(typeof B=="string"&&i&&!U&&n.manuallyAnimateOnMount&&n.parent){const{parent:z}=n,G=Sp(z,B);if(z.enteringChildren&&G){const{delayChildren:te}=G.transition||{};F.delay=hF(z.enteringChildren,n,te)}}return{animation:B,options:F}}))}if(f.size){const S={};if(typeof c.initial!="boolean"){const y=Sp(n,Array.isArray(c.initial)?c.initial[0]:c.initial);y&&y.transition&&(S.transition=y.transition)}f.forEach(y=>{const v=n.getBaseTarget(y),_=n.getValue(y);_&&(_.liveStyle=!0),S[y]=v??null}),h.push({animation:S})}let g=!!h.length;return i&&(c.initial===!1||c.initial===c.animate)&&!n.manuallyAnimateOnMount&&(g=!1),i=!1,g?e(h):Promise.resolve()}function o(l,c){var h;if(t[l].isActive===c)return Promise.resolve();(h=n.variantChildren)==null||h.forEach(f=>{var p;return(p=f.animationState)==null?void 0:p.setActive(l,c)}),t[l].isActive=c;const u=a(l);for(const f in t)t[f].protectedKeys={};return u}return{animateChanges:a,setActive:o,setAnimateFunction:r,getState:()=>t,reset:()=>{t=S3(),i=!0}}}function Jte(n,e){return typeof e=="string"?e!==n:Array.isArray(e)?!fF(e,n):!1}function sd(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function S3(){return{animate:sd(!0),whileInView:sd(),whileHover:sd(),whileTap:sd(),whileDrag:sd(),whileFocus:sd(),exit:sd()}}class ed{constructor(e){this.isMounted=!1,this.node=e}update(){}}class Zte extends ed{constructor(e){super(e),e.animationState||(e.animationState=Qte(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();cw(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)==null||e.call(this)}}let ene=0;class tne extends ed{constructor(){super(...arguments),this.id=ene++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;const s=this.node.animationState.setActive("exit",!e);t&&!e&&s.then(()=>{t(this.id)})}mount(){const{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}const nne={animation:{Feature:Zte},exit:{Feature:tne}};function tv(n,e,t,i={passive:!0}){return n.addEventListener(e,t,i),()=>n.removeEventListener(e,t)}function _b(n){return{point:{x:n.pageX,y:n.pageY}}}const ine=n=>e=>lR(e)&&n(e,_b(e));function Sy(n,e,t,i){return tv(n,e,ine(t),i)}const mF=1e-4,sne=1-mF,rne=1+mF,gF=.01,ane=0-gF,one=0+gF;function Mi(n){return n.max-n.min}function lne(n,e,t){return Math.abs(n-e)<=t}function x3(n,e,t,i=.5){n.origin=i,n.originPoint=Ht(e.min,e.max,n.origin),n.scale=Mi(t)/Mi(e),n.translate=Ht(t.min,t.max,n.origin)-n.originPoint,(n.scale>=sne&&n.scale<=rne||isNaN(n.scale))&&(n.scale=1),(n.translate>=ane&&n.translate<=one||isNaN(n.translate))&&(n.translate=0)}function xy(n,e,t,i){x3(n.x,e.x,t.x,i?i.originX:void 0),x3(n.y,e.y,t.y,i?i.originY:void 0)}function w3(n,e,t){n.min=t.min+e.min,n.max=n.min+Mi(e)}function cne(n,e,t){w3(n.x,e.x,t.x),w3(n.y,e.y,t.y)}function E3(n,e,t){n.min=e.min-t.min,n.max=n.min+Mi(e)}function wy(n,e,t){E3(n.x,e.x,t.x),E3(n.y,e.y,t.y)}function or(n){return[n("x"),n("y")]}const yF=({current:n})=>n?n.ownerDocument.defaultView:null,A3=(n,e)=>Math.abs(n-e);function une(n,e){const t=A3(n.x,e.x),i=A3(n.y,e.y);return Math.sqrt(t**2+i**2)}class vF{constructor(e,t,{transformPagePoint:i,contextWindow:s=window,dragSnapToOrigin:r=!1,distanceThreshold:a=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=LE(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,b=une(f.offset,{x:0,y:0})>=this.distanceThreshold;if(!p&&!b)return;const{point:g}=f,{timestamp:S}=Qn;this.history.push({...g,timestamp:S});const{onStart:y,onMove:v}=this.handlers;p||(y&&y(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,f)},this.handlePointerMove=(f,p)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=OE(p,this.transformPagePoint),Bt.update(this.updatePoint,!0)},this.handlePointerUp=(f,p)=>{this.end();const{onEnd:b,onSessionEnd:g,resumeAnimation:S}=this.handlers;if(this.dragSnapToOrigin&&S&&S(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=LE(f.type==="pointercancel"?this.lastMoveEventInfo:OE(p,this.transformPagePoint),this.history);this.startEvent&&b&&b(f,y),g&&g(f,y)},!lR(e))return;this.dragSnapToOrigin=r,this.handlers=t,this.transformPagePoint=i,this.distanceThreshold=a,this.contextWindow=s||window;const o=_b(e),l=OE(o,this.transformPagePoint),{point:c}=l,{timestamp:u}=Qn;this.history=[{...c,timestamp:u}];const{onSessionStart:h}=t;h&&h(e,LE(l,this.history)),this.removeListeners=yb(Sy(this.contextWindow,"pointermove",this.handlePointerMove),Sy(this.contextWindow,"pointerup",this.handlePointerUp),Sy(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Xu(this.updatePoint)}}function OE(n,e){return e?{point:e(n.point)}:n}function I3(n,e){return{x:n.x-e.x,y:n.y-e.y}}function LE({point:n},e){return{point:n,delta:I3(n,bF(e)),offset:I3(n,dne(e)),velocity:hne(e,.1)}}function dne(n){return n[0]}function bF(n){return n[n.length-1]}function hne(n,e){if(n.length<2)return{x:0,y:0};let t=n.length-1,i=null;const s=bF(n);for(;t>=0&&(i=n[t],!(s.timestamp-i.timestamp>uo(e)));)t--;if(!i)return{x:0,y:0};const r=ho(s.timestamp-i.timestamp);if(r===0)return{x:0,y:0};const a={x:(s.x-i.x)/r,y:(s.y-i.y)/r};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function fne(n,{min:e,max:t},i){return e!==void 0&&n<e?n=i?Ht(e,n,i.min):Math.max(n,e):t!==void 0&&n>t&&(n=i?Ht(t,n,i.max):Math.min(n,t)),n}function C3(n,e,t){return{min:e!==void 0?n.min+e:void 0,max:t!==void 0?n.max+t-(n.max-n.min):void 0}}function pne(n,{top:e,left:t,bottom:i,right:s}){return{x:C3(n.x,t,s),y:C3(n.y,e,i)}}function T3(n,e){let t=e.min-n.min,i=e.max-n.max;return e.max-e.min<n.max-n.min&&([t,i]=[i,t]),{min:t,max:i}}function mne(n,e){return{x:T3(n.x,e.x),y:T3(n.y,e.y)}}function gne(n,e){let t=.5;const i=Mi(n),s=Mi(e);return s>i?t=Ky(e.min,e.max-i,n.min):i>s&&(t=Ky(n.min,n.max-s,e.min)),Fl(0,1,t)}function yne(n,e){const t={};return e.min!==void 0&&(t.min=e.min-n.min),e.max!==void 0&&(t.max=e.max-n.min),t}const uC=.35;function vne(n=uC){return n===!1?n=0:n===!0&&(n=uC),{x:D3(n,"left","right"),y:D3(n,"top","bottom")}}function D3(n,e,t){return{min:P3(n,e),max:P3(n,t)}}function P3(n,e){return typeof n=="number"?n:n[e]||0}const bne=new WeakMap;class _ne{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=cn(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:i}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const r=h=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(_b(h).point)},a=(h,f)=>{const{drag:p,dragPropagation:b,onDragStart:g}=this.getProps();if(p&&!b&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Cee(p),!this.openDragLock))return;this.latestPointerEvent=h,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),or(y=>{let v=this.getAxisMotionValue(y).get()||0;if(fo.test(v)){const{projection:_}=this.visualElement;if(_&&_.layout){const x=_.layout.layoutBox[y];x&&(v=Mi(x)*(parseFloat(v)/100))}}this.originPoint[y]=v}),g&&Bt.postRender(()=>g(h,f)),lC(this.visualElement,"transform");const{animationState:S}=this.visualElement;S&&S.setActive("whileDrag",!0)},o=(h,f)=>{this.latestPointerEvent=h,this.latestPanInfo=f;const{dragPropagation:p,dragDirectionLock:b,onDirectionLock:g,onDrag:S}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:y}=f;if(b&&this.currentDirection===null){this.currentDirection=Sne(y),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",f.point,y),this.updateAxis("y",f.point,y),this.visualElement.render(),S&&S(h,f)},l=(h,f)=>{this.latestPointerEvent=h,this.latestPanInfo=f,this.stop(h,f),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>or(h=>{var f;return this.getAnimationState(h)==="paused"&&((f=this.getAxisMotionValue(h).animation)==null?void 0:f.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new vF(e,{onSessionStart:r,onStart:a,onMove:o,onSessionEnd:l,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:yF(this.visualElement)})}stop(e,t){const i=e||this.latestPointerEvent,s=t||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!s||!i)return;const{velocity:a}=s;this.startAnimation(a);const{onDragEnd:o}=this.getProps();o&&Bt.postRender(()=>o(i,s))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,i){const{drag:s}=this.getProps();if(!i||!a_(e,s,this.currentDirection))return;const r=this.getAxisMotionValue(e);let a=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(a=fne(a,this.constraints[e],this.elastic[e])),r.set(a)}resolveConstraints(){var r;const{dragConstraints:e,dragElastic:t}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(r=this.visualElement.projection)==null?void 0:r.layout,s=this.constraints;e&&tp(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=pne(i.layoutBox,e):this.constraints=!1,this.elastic=vne(t),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&or(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=yne(i.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!tp(e))return!1;const i=e.current,{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const r=xte(i,s.root,this.visualElement.getTransformPagePoint());let a=mne(s.layout.layoutBox,r);if(t){const o=t(bte(a));this.hasMutatedConstraints=!!o,o&&(a=nF(o))}return a}startAnimation(e){const{drag:t,dragMomentum:i,dragElastic:s,dragTransition:r,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),l=this.constraints||{},c=or(u=>{if(!a_(u,t,this.currentDirection))return;let h=l&&l[u]||{};a&&(h={min:0,max:0});const f=s?200:1e6,p=s?40:1e7,b={type:"inertia",velocity:i?e[u]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...r,...h};return this.startAxisValueAnimation(u,b)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){const i=this.getAxisMotionValue(e);return lC(this.visualElement,e),i.start(vR(e,i,0,t,this.visualElement,!1))}stopAnimation(){or(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){or(e=>{var t;return(t=this.getAxisMotionValue(e).animation)==null?void 0:t.pause()})}getAnimationState(e){var t;return(t=this.getAxisMotionValue(e).animation)==null?void 0:t.state}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,i=this.visualElement.getProps(),s=i[t];return s||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){or(t=>{const{drag:i}=this.getProps();if(!a_(t,i,this.currentDirection))return;const{projection:s}=this.visualElement,r=this.getAxisMotionValue(t);if(s&&s.layout){const{min:a,max:o}=s.layout.layoutBox[t];r.set(e[t]-Ht(a,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!tp(t)||!i||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};or(a=>{const o=this.getAxisMotionValue(a);if(o&&this.constraints!==!1){const l=o.get();s[a]=gne({min:l,max:l},this.constraints[a])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),or(a=>{if(!a_(a,e,null))return;const o=this.getAxisMotionValue(a),{min:l,max:c}=this.constraints[a];o.set(Ht(l,c,s[a]))})}addListeners(){if(!this.visualElement.current)return;bne.set(this.visualElement,this);const e=this.visualElement.current,t=Sy(e,"pointerdown",l=>{const{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l)}),i=()=>{const{dragConstraints:l}=this.getProps();tp(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,r=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),Bt.read(i);const a=tv(window,"resize",()=>this.scalePositionWithinConstraints()),o=s.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(or(u=>{const h=this.getAxisMotionValue(u);h&&(this.originPoint[u]+=l[u].translate,h.set(h.get()+l[u].translate))}),this.visualElement.render())});return()=>{a(),t(),r(),o&&o()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:r=!1,dragElastic:a=uC,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:s,dragConstraints:r,dragElastic:a,dragMomentum:o}}}function a_(n,e,t){return(e===!0||e===n)&&(t===null||t===n)}function Sne(n,e=10){let t=null;return Math.abs(n.y)>e?t="y":Math.abs(n.x)>e&&(t="x"),t}class xne extends ed{constructor(e){super(e),this.removeGroupControls=Or,this.removeListeners=Or,this.controls=new _ne(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Or}unmount(){this.removeGroupControls(),this.removeListeners()}}const R3=n=>(e,t)=>{n&&Bt.postRender(()=>n(e,t))};class wne extends ed{constructor(){super(...arguments),this.removePointerDownListener=Or}onPointerDown(e){this.session=new vF(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:yF(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:R3(e),onStart:R3(t),onMove:i,onEnd:(r,a)=>{delete this.session,s&&Bt.postRender(()=>s(r,a))}}}mount(){this.removePointerDownListener=Sy(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Y_={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function k3(n,e){return e.max===e.min?0:n/(e.max-e.min)*100}const S0={correct:(n,e)=>{if(!e.target)return n;if(typeof n=="string")if(he.test(n))n=parseFloat(n);else return n;const t=k3(n,e.target.x),i=k3(n,e.target.y);return`${t}% ${i}%`}},Ene={correct:(n,{treeScale:e,projectionDelta:t})=>{const i=n,s=Hu.parse(n);if(s.length>5)return i;const r=Hu.createTransformer(n),a=typeof s[0]!="number"?1:0,o=t.x.scale*e.x,l=t.y.scale*e.y;s[0+a]/=o,s[1+a]/=l;const c=Ht(o,l,.5);return typeof s[2+a]=="number"&&(s[2+a]/=c),typeof s[3+a]=="number"&&(s[3+a]/=c),r(s)}};let BE=!1;class Ane extends w.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:s}=this.props,{projection:r}=e;qee(Ine),r&&(t.group&&t.group.add(r),i&&i.register&&s&&i.register(r),BE&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Y_.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:i,drag:s,isPresent:r}=this.props,{projection:a}=i;return a&&(a.isPresent=r,BE=!0,s||e.layoutDependency!==t||t===void 0||e.isPresent!==r?a.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?a.promote():a.relegate()||Bt.postRender(()=>{const o=a.getStack();(!o||!o.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),oR.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:s}=e;BE=!0,s&&(s.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function _F(n){const[e,t]=V7(),i=w.useContext(FP);return m.jsx(Ane,{...n,layoutGroup:i,switchLayoutGroup:w.useContext(eF),isPresent:e,safeToRemove:t})}const Ine={borderRadius:{...S0,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:S0,borderTopRightRadius:S0,borderBottomLeftRadius:S0,borderBottomRightRadius:S0,boxShadow:Ene};function Cne(n,e,t){const i=vi(n)?n:Cg(n);return i.start(vR("",i,e,t)),i.animation}const Tne=(n,e)=>n.depth-e.depth;class Dne{constructor(){this.children=[],this.isDirty=!1}add(e){VP(this.children,e),this.isDirty=!0}remove(e){XP(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Tne),this.isDirty=!1,this.children.forEach(e)}}function Pne(n,e){const t=is.now(),i=({timestamp:s})=>{const r=s-t;r>=e&&(Xu(i),n(r-e))};return Bt.setup(i,!0),()=>Xu(i)}const SF=["TopLeft","TopRight","BottomLeft","BottomRight"],Rne=SF.length,N3=n=>typeof n=="string"?parseFloat(n):n,M3=n=>typeof n=="number"||he.test(n);function kne(n,e,t,i,s,r){s?(n.opacity=Ht(0,t.opacity??1,Nne(i)),n.opacityExit=Ht(e.opacity??1,0,Mne(i))):r&&(n.opacity=Ht(e.opacity??1,t.opacity??1,i));for(let a=0;a<Rne;a++){const o=`border${SF[a]}Radius`;let l=O3(e,o),c=O3(t,o);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||M3(l)===M3(c)?(n[o]=Math.max(Ht(N3(l),N3(c),i),0),(fo.test(c)||fo.test(l))&&(n[o]+="%")):n[o]=c}(e.rotate||t.rotate)&&(n.rotate=Ht(e.rotate||0,t.rotate||0,i))}function O3(n,e){return n[e]!==void 0?n[e]:n.borderRadius}const Nne=xF(0,.5,l7),Mne=xF(.5,.95,Or);function xF(n,e,t){return i=>i<n?0:i>e?1:t(Ky(n,e,i))}function L3(n,e){n.min=e.min,n.max=e.max}function ir(n,e){L3(n.x,e.x),L3(n.y,e.y)}function B3(n,e){n.translate=e.translate,n.scale=e.scale,n.originPoint=e.originPoint,n.origin=e.origin}function j3(n,e,t,i,s){return n-=e,n=Sx(n,1/t,i),s!==void 0&&(n=Sx(n,1/s,i)),n}function One(n,e=0,t=1,i=.5,s,r=n,a=n){if(fo.test(e)&&(e=parseFloat(e),e=Ht(a.min,a.max,e/100)-a.min),typeof e!="number")return;let o=Ht(r.min,r.max,i);n===r&&(o-=e),n.min=j3(n.min,e,t,o,s),n.max=j3(n.max,e,t,o,s)}function F3(n,e,[t,i,s],r,a){One(n,e[t],e[i],e[s],e.scale,r,a)}const Lne=["x","scaleX","originX"],Bne=["y","scaleY","originY"];function z3(n,e,t,i){F3(n.x,e,Lne,t?t.x:void 0,i?i.x:void 0),F3(n.y,e,Bne,t?t.y:void 0,i?i.y:void 0)}function U3(n){return n.translate===0&&n.scale===1}function wF(n){return U3(n.x)&&U3(n.y)}function V3(n,e){return n.min===e.min&&n.max===e.max}function jne(n,e){return V3(n.x,e.x)&&V3(n.y,e.y)}function X3(n,e){return Math.round(n.min)===Math.round(e.min)&&Math.round(n.max)===Math.round(e.max)}function EF(n,e){return X3(n.x,e.x)&&X3(n.y,e.y)}function H3(n){return Mi(n.x)/Mi(n.y)}function G3(n,e){return n.translate===e.translate&&n.scale===e.scale&&n.originPoint===e.originPoint}class Fne{constructor(){this.members=[]}add(e){VP(this.members,e),e.scheduleRender()}remove(e){if(XP(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(e){const t=this.members.findIndex(s=>e===s);if(t===0)return!1;let i;for(let s=t;s>=0;s--){const r=this.members[s];if(r.isPresent!==!1){i=r;break}}return i?(this.promote(i),!0):!1}promote(e,t){const i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,t&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:s}=e.options;s===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:i}=e;t.onExitComplete&&t.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function zne(n,e,t){let i="";const s=n.x.translate/e.x,r=n.y.translate/e.y,a=(t==null?void 0:t.z)||0;if((s||r||a)&&(i=`translate3d(${s}px, ${r}px, ${a}px) `),(e.x!==1||e.y!==1)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),t){const{transformPerspective:c,rotate:u,rotateX:h,rotateY:f,skewX:p,skewY:b}=t;c&&(i=`perspective(${c}px) ${i}`),u&&(i+=`rotate(${u}deg) `),h&&(i+=`rotateX(${h}deg) `),f&&(i+=`rotateY(${f}deg) `),p&&(i+=`skewX(${p}deg) `),b&&(i+=`skewY(${b}deg) `)}const o=n.x.scale*e.x,l=n.y.scale*e.y;return(o!==1||l!==1)&&(i+=`scale(${o}, ${l})`),i||"none"}const jE=["","X","Y","Z"],Une=1e3;let Vne=0;function FE(n,e,t,i){const{latestValues:s}=e;s[n]&&(t[n]=s[n],e.setStaticValue(n,0),i&&(i[n]=0))}function AF(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:e}=n.options;if(!e)return;const t=uF(e);if(window.MotionHasOptimisedAnimation(t,"transform")){const{layout:s,layoutId:r}=n.options;window.MotionCancelOptimisedAnimation(t,"transform",Bt,!(s||r))}const{parent:i}=n;i&&!i.hasCheckedOptimisedAppear&&AF(i)}function IF({attachResizeListener:n,defaultParent:e,measureScroll:t,checkIsScrollRoot:i,resetTransform:s}){return class{constructor(a={},o=e==null?void 0:e()){this.id=Vne++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
vendor: 4,316 bytes, line 160
160{this.projectionUpdateScheduled=!1,this.nodes.forEach(Gne),this.nodes.forEach(Wne),this.nodes.forEach(Kne),this.nodes.forEach($ne)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=o?o.root||o:this,this.path=o?[...o.path,o]:[],this.parent=o,this.depth=o?o.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Dne)}addEventListener(a,o){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new $P),this.eventHandlers.get(a).add(o)}notifyListeners(a,...o){const l=this.eventHandlers.get(a);l&&l.notify(...o)}hasListeners(a){return this.eventHandlers.has(a)}mount(a){if(this.instance)return;this.isSVG=U7(a)&&!Nee(a),this.instance=a;const{layoutId:o,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||o)&&(this.isLayoutDirty=!0),n){let u,h=0;const f=()=>this.root.updateBlockedByResize=!1;Bt.read(()=>{h=window.innerWidth}),n(a,()=>{const p=window.innerWidth;p!==h&&(h=p,this.root.updateBlockedByResize=!0,u&&u(),u=Pne(f,250),Y_.hasAnimatedSinceResize&&(Y_.hasAnimatedSinceResize=!1,this.nodes.forEach(Y3)))})}o&&this.root.registerSharedNode(o,this),this.options.animate!==!1&&c&&(o||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:h,hasRelativeLayoutChanged:f,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const b=this.options.transition||c.getDefaultTransition()||tie,{onLayoutAnimationStart:g,onLayoutAnimationComplete:S}=c.getProps(),y=!this.targetLayout||!EF(this.targetLayout,p),v=!h&&f;if(this.options.layoutRoot||this.resumeFrom||v||h&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const _={...rR(b,"layout"),onPlay:g,onComplete:S};(c.shouldReduceMotion||this.options.layoutRoot)&&(_.delay=0,_.type=!1),this.startAnimation(_),this.setAnimationOrigin(u,v)}else h||Y3(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Xu(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Qne),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&AF(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const h=this.path[u];h.shouldResetTransform=!0,h.updateScroll("snapshot"),h.options.layoutRoot&&h.willUpdate(!1)}const{layoutId:o,layout:l}=this.options;if(o===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach($3);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(q3);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Yne),this.nodes.forEach(Xne),this.nodes.forEach(Hne)):this.nodes.forEach(q3),this.clearAllSnapshots();const o=is.now();Qn.delta=Fl(0,1e3/60,o-Qn.timestamp),Qn.timestamp=o,Qn.isProcessing=!0,CE.update.process(Qn),CE.preRender.process(Qn),CE.render.process(Qn),Qn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,oR.read(this.scheduleUpdate))}
vendor: 11,489 bytes, line 160
160clearAllSnapshots(){this.nodes.forEach(qne),this.sharedNodes.forEach(Jne)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Bt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Bt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Mi(this.snapshot.measuredBox.x)&&!Mi(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=cn(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:o}=this.options;o&&o.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let o=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(o=!1),o&&this.instance){const l=i(this.instance);this.scroll={animationId:this.root.animationId,phase:a,isRoot:l,offset:t(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!s)return;const a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,o=this.projectionDelta&&!wF(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;a&&this.instance&&(o||hd(this.latestValues)||u)&&(s(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const o=this.measurePageBox();let l=this.removeElementScroll(o);return a&&(l=this.removeTransform(l)),nie(l),{animationId:this.root.animationId,measuredBox:o,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var c;const{visualElement:a}=this.options;if(!a)return cn();const o=a.measureViewportBox();if(!(((c=this.scroll)==null?void 0:c.wasRoot)||this.path.some(iie))){const{scroll:u}=this.root;u&&(np(o.x,u.offset.x),np(o.y,u.offset.y))}return o}removeElementScroll(a){var l;const o=cn();if(ir(o,a),(l=this.scroll)!=null&&l.wasRoot)return o;for(let c=0;c<this.path.length;c++){const u=this.path[c],{scroll:h,options:f}=u;u!==this.root&&h&&f.layoutScroll&&(h.wasRoot&&ir(o,a),np(o.x,h.offset.x),np(o.y,h.offset.y))}return o}applyTransform(a,o=!1){const l=cn();ir(l,a);for(let c=0;c<this.path.length;c++){const u=this.path[c];!o&&u.options.layoutScroll&&u.scroll&&u!==u.root&&ip(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),hd(u.latestValues)&&ip(l,u.latestValues)}return hd(this.latestValues)&&ip(l,this.latestValues),l}removeTransform(a){const o=cn();ir(o,a);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!hd(c.latestValues))continue;sC(c.latestValues)&&c.updateSnapshot();const u=cn(),h=c.measurePageBox();ir(u,h),z3(o,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return hd(this.latestValues)&&z3(o,this.latestValues),o}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Qn.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){var f;const o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==o;if(!(a||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(f=this.parent)!=null&&f.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:h}=this.options;if(!(!this.layout||!(u||h))){if(this.resolvedRelativeTargetAt=Qn.timestamp,!this.targetDelta&&!this.relativeTarget){const p=this.getClosestProjectingParent();p&&p.layout&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=cn(),this.relativeTargetOrigin=cn(),wy(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),ir(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=cn(),this.targetWithTransforms=cn()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),cne(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ir(this.target,this.layout.layoutBox),sF(this.target,this.targetDelta)):ir(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const p=this.getClosestProjectingParent();p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=cn(),this.relativeTargetOrigin=cn(),wy(this.relativeTargetOrigin,this.target,p.target),ir(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||sC(this.parent.latestValues)||iF(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var b;const a=this.getLead(),o=!!this.resumingFrom||this!==a;let l=!0;if((this.isProjectionDirty||(b=this.parent)!=null&&b.isProjectionDirty)&&(l=!1),o&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Qn.timestamp&&(l=!1),l)return;const{layout:c,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||u))return;ir(this.layoutCorrected,this.layout.layoutBox);const h=this.treeScale.x,f=this.treeScale.y;Ste(this.layoutCorrected,this.treeScale,this.path,o),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=cn());const{target:p}=a;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(B3(this.prevProjectionDelta.x,this.projectionDelta.x),B3(this.prevProjectionDelta.y,this.projectionDelta.y)),xy(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==h||this.treeScale.y!==f||!G3(this.projectionDelta.x,this.prevProjectionDelta.x)||!G3(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){var o;if((o=this.options.visualElement)==null||o.scheduleRender(),a){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=sp(),this.projectionDelta=sp(),this.projectionDeltaWithTransform=sp()}setAnimationOrigin(a,o=!1){const l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},h=sp();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!o;const f=cn(),p=l?l.source:void 0,b=this.layout?this.layout.source:void 0,g=p!==b,S=this.getStack(),y=!S||S.members.length<=1,v=!!(g&&!y&&this.options.crossfade===!0&&!this.path.some(eie));this.animationProgress=0;let _;this.mixTargetDelta=x=>{const E=x/1e3;W3(h.x,a.x,E),W3(h.y,a.y,E),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(wy(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Zne(this.relativeTarget,this.relativeTargetOrigin,f,E),_&&jne(this.relativeTarget,_)&&(this.isProjectionDirty=!1),_||(_=cn()),ir(_,this.relativeTarget)),g&&(this.animationValues=u,kne(u,c,this.latestValues,E,v,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=E},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){var o,l,c;this.notifyListeners("animationStart"),(o=this.currentAnimation)==null||o.stop(),(c=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||c.stop(),this.pendingAnimation&&(Xu(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Bt.update(()=>{Y_.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Cg(0)),this.currentAnimation=Cne(this.motionValue,[0,1e3],{...a,velocity:0,isSync:!0,onUpdate:u=>{this.mixTargetDelta(u),a.onUpdate&&a.onUpdate(u)},onStop:()=>{},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Une),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:o,target:l,layout:c,latestValues:u}=a;if(!(!o||!l||!c)){if(this!==a&&this.layout&&c&&CF(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||cn();const h=Mi(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+h;const f=Mi(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+f}ir(o,l),ip(o,u),xy(this.projectionDeltaWithTransform,this.layoutCorrected,o,u)}}registerSharedNode(a,o){this.sharedNodes.has(a)||this.sharedNodes.set(a,new Fne),this.sharedNodes.get(a).add(o);const c=o.options.initialPromotionConfig;o.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(o):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var o;const{layoutId:a}=this.options;return a?((o=this.getStack())==null?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:a}=this.options;return a?(o=this.getStack())==null?void 0:o.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:o,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),a&&(this.projectionDelta=void 0,this.needsReset=!0),o&&this.setOptions({transition:o})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}
vendor: 4,185 bytes, line 160
160resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let o=!1;const{latestValues:l}=a;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(o=!0),!o)return;const c={};l.z&&FE("z",a,c,this.animationValues);for(let u=0;u<jE.length;u++)FE(`rotate${jE[u]}`,a,c,this.animationValues),FE(`skew${jE[u]}`,a,c,this.animationValues);a.render();for(const u in c)a.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);a.scheduleRender()}applyProjectionStyles(a,o){if(!this.instance||this.isSVG)return;if(!this.isVisible){a.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,a.visibility="",a.opacity="",a.pointerEvents=q_(o==null?void 0:o.pointerEvents)||"",a.transform=l?l(this.latestValues,""):"none";return}const c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(a.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,a.pointerEvents=q_(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!hd(this.latestValues)&&(a.transform=l?l({},""):"none",this.hasProjected=!1);return}a.visibility="";const u=c.animationValues||c.latestValues;this.applyTransformsToTarget();let h=zne(this.projectionDeltaWithTransform,this.treeScale,u);l&&(h=l(u,h)),a.transform=h;const{x:f,y:p}=this.projectionDelta;a.transformOrigin=`${f.origin*100}% ${p.origin*100}% 0`,c.animationValues?a.opacity=c===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:a.opacity=c===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const b in ev){if(u[b]===void 0)continue;const{correct:g,applyTo:S,isCSSVariable:y}=ev[b],v=h==="none"?u[b]:g(u[b],c);if(S){const _=S.length;for(let x=0;x<_;x++)a[S[x]]=v}else y?this.options.visualElement.renderState.vars[b]=v:a[b]=v}this.options.layoutId&&(a.pointerEvents=c===this?q_(o==null?void 0:o.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>{var o;return(o=a.currentAnimation)==null?void 0:o.stop()}),this.root.nodes.forEach($3),this.root.sharedNodes.clear()}}}function Xne(n){n.updateLayout()}function Hne(n){var t;const e=((t=n.resumeFrom)==null?void 0:t.snapshot)||n.snapshot;if(n.isLead()&&n.layout&&e&&n.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:s}=n.layout,{animationType:r}=n.options,a=e.source!==n.layout.source;r==="size"?or(h=>{const f=a?e.measuredBox[h]:e.layoutBox[h],p=Mi(f);f.min=i[h].min,f.max=f.min+p}):CF(r,e.layoutBox,i)&&or(h=>{const f=a?e.measuredBox[h]:e.layoutBox[h],p=Mi(i[h]);f.max=f.min+p,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[h].max=n.relativeTarget[h].min+p)});const o=sp();xy(o,i,e.layoutBox);const l=sp();a?xy(l,n.applyTransform(s,!0),e.measuredBox):xy(l,i,e.layoutBox);const c=!wF(o);let u=!1;if(!n.resumeFrom){const h=n.getClosestProjectingParent();if(h&&!h.resumeFrom){const{snapshot:f,layout:p}=h;if(f&&p){const b=cn();wy(b,e.layoutBox,f.layoutBox);const g=cn();wy(g,i,p.layoutBox),EF(b,g)||(u=!0),h.options.layoutRoot&&(n.relativeTarget=g,n.relativeTargetOrigin=b,n.relativeParent=h)}}}n.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:l,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:u})}else if(n.isLead()){const{onExitComplete:i}=n.options;i&&i()}n.options.transition=void 0}function Gne(n){n.parent&&(n.isProjecting()||(n.isProjectionDirty=n.parent.isProjectionDirty),n.isSharedProjectionDirty||(n.isSharedProjectionDirty=!!(n.isProjectionDirty||n.parent.isProjectionDirty||n.parent.isSharedProjectionDirty)),n.isTransformDirty||(n.isTransformDirty=n.parent.isTransformDirty))}function $ne(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function qne(n){n.clearSnapshot()}function $3(n){n.clearMeasurements()}function q3(n){n.isLayoutDirty=!1}function Yne(n){const{visualElement:e}=n.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),n.resetTransform()}function Y3(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function Wne(n){n.resolveTargetDelta()}
vendor: 5,246 bytes, line 160
160function Kne(n){n.calcProjection()}function Qne(n){n.resetSkewAndRotation()}function Jne(n){n.removeLeadSnapshot()}function W3(n,e,t){n.translate=Ht(e.translate,0,t),n.scale=Ht(e.scale,1,t),n.origin=e.origin,n.originPoint=e.originPoint}function K3(n,e,t,i){n.min=Ht(e.min,t.min,i),n.max=Ht(e.max,t.max,i)}function Zne(n,e,t,i){K3(n.x,e.x,t.x,i),K3(n.y,e.y,t.y,i)}function eie(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const tie={duration:.45,ease:[.4,0,.1,1]},Q3=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),J3=Q3("applewebkit/")&&!Q3("chrome/")?Math.round:Or;function Z3(n){n.min=J3(n.min),n.max=J3(n.max)}function nie(n){Z3(n.x),Z3(n.y)}function CF(n,e,t){return n==="position"||n==="preserve-aspect"&&!lne(H3(e),H3(t),.2)}function iie(n){var e;return n!==n.root&&((e=n.scroll)==null?void 0:e.wasRoot)}const sie=IF({attachResizeListener:(n,e)=>tv(n,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),zE={current:void 0},TF=IF({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!zE.current){const n=new sie({});n.mount(window),n.setOptions({layoutScroll:!0}),zE.current=n}return zE.current},resetTransform:(n,e)=>{n.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),rie={pan:{Feature:wne},drag:{Feature:xne,ProjectionNode:TF,MeasureLayout:_F}};function eO(n,e,t){const{props:i}=n;n.animationState&&i.whileHover&&n.animationState.setActive("whileHover",t==="Start");const s="onHover"+t,r=i[s];r&&Bt.postRender(()=>r(e,_b(e)))}class aie extends ed{mount(){const{current:e}=this.node;e&&(this.unmount=Tee(e,(t,i)=>(eO(this.node,i,"Start"),s=>eO(this.node,s,"End"))))}unmount(){}}class oie extends ed{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=yb(tv(this.node.current,"focus",()=>this.onFocus()),tv(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function tO(n,e,t){const{props:i}=n;if(n.current instanceof HTMLButtonElement&&n.current.disabled)return;n.animationState&&i.whileTap&&n.animationState.setActive("whileTap",t==="Start");const s="onTap"+(t==="End"?"":t),r=i[s];r&&Bt.postRender(()=>r(e,_b(e)))}class lie extends ed{mount(){const{current:e}=this.node;e&&(this.unmount=kee(e,(t,i)=>(tO(this.node,i,"Start"),(s,{success:r})=>tO(this.node,s,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const dC=new WeakMap,UE=new WeakMap,cie=n=>{const e=dC.get(n.target);e&&e(n)},uie=n=>{n.forEach(cie)};function die({root:n,...e}){const t=n||document;UE.has(t)||UE.set(t,{});const i=UE.get(t),s=JSON.stringify(e);return i[s]||(i[s]=new IntersectionObserver(uie,{root:n,...e})),i[s]}function hie(n,e,t){const i=die(e);return dC.set(n,t),i.observe(n),()=>{dC.delete(n),i.unobserve(n)}}const fie={some:0,all:1};class pie extends ed{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:i,amount:s="some",once:r}=e,a={root:t?t.current:void 0,rootMargin:i,threshold:typeof s=="number"?s:fie[s]},o=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,r&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:u,onViewportLeave:h}=this.node.getProps(),f=c?u:h;f&&f(l)};return hie(this.node.current,a,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(mie(e,t))&&this.startObserver()}unmount(){}}function mie({viewport:n={}},{viewport:e={}}={}){return t=>n[t]!==e[t]}const gie={inView:{Feature:pie},tap:{Feature:lie},focus:{Feature:oie},hover:{Feature:aie}},yie={layout:{ProjectionNode:TF,MeasureLayout:_F}},vie={...nne,...gie,...rie,...yie},ee=vte(vie,Rte),bie="/assets/homeherotop-B9kGIdWj.png",Wl=({title:n,subtitle:e,showForm:t=!1,showQuote:i=!1,children:s,image:r=!1,maxwidth:a,lineheight:o,classpage:l,backgroundImageUrl:c,backgroundColor:u})=>{const[h,f]=w.useState(""),p=!!(c||u),b=p?{backgroundColor:u||"rgb(180 8 8 / 80%)",...c?{backgroundImage:`linear-gradient(rgb(180 8 8 / 55%), rgb(180 8 8 / 55%)), url(${c})`,backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"center"}:{}}:void 0;return m.jsx("section",{className:`relative text-white min-h-[70vh] flex items-center pt-44 pb-12 ${p?"":"pattern-bg"}`,style:b,children:m.jsxs("div",{className:"container mx-auto px-6",style:{position:"relative"},children:[m.jsx("div",{className:"flex flex-col md:flex-row md:items-center",children:m.jsxs("div",{className:`w-full z-10 ${l}`,children:[e&&m.jsx(ee.h3,{className:"text-akara-yellow font-medium mb-2 herotitle",initial:{opacity:0,y:20}
160,animate:{opacity:1,y:0},transition:{duration:.5},children:e}),m.jsx(ee.h1,{className:"text-4xl md:text-5xl lg:text-6xl font-bold mb-6 leading-tight herosubtitle",initial:{opacity:0,y:20},animate:{opacity:1,y:0},style:{maxWidth:a,lineHeight:`${o}`},transition:{duration:.5,delay:.1},children:n}),r&&m.jsx(ee.img,{src:bie,className:"hometopheroimg"}),s&&m.jsx(ee.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},children:s})]})}),i&&m.jsx(ee.div,{className:"absolute right-10 top-1/2 transform -translate-y-1/2 hidden lg:block quotesicon quotesectionhero",initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.6,delay:.4},children:m.jsx("span",{className:"font-display text-9xl"})})]})})},nO=({title:n,description:e,image:t,children:i,buttonText:s="Learn more",buttonLink:r="#",color:a="#F5F190",bgsize:o})=>{const l={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut"}},hover:{y:-5,boxShadow:"0 10px 20px rgba(0,0,0,0.1)",transition:{duration:.3,ease:"easeOut"}}};return m.jsxs(ee.div,{className:"rounded-xl p-6 h-full flex flex-col hover-scale productslidebg",style:{background:`${a} url(${t}) no-repeat bottom 20px right 20px / ${o}`},variants:l,initial:"hidden",whileInView:"visible",whileHover:"hover",viewport:{once:!0,margin:"-50px"},children:[m.jsxs("div",{className:"mb-4",children:[m.jsx("h3",{className:"text-xl md:text-2xl font-bold text-akara-darkText mb-2 productslidertitle",children:n}),e&&m.jsx("p",{className:"text-sm text-akara-lightText mb-4 productsliderdesc",children:e})]}),i&&m.jsx("div",{className:"flex-grow mb-6",children:i}),s&&m.jsx("div",{className:"mt-auto",children:m.jsx(_e,{to:"/products",className:"productsliderbtn",children:s})}),t&&m.jsx("img",{src:t,alt:n,className:"w-auto h-32"})]})},o_=({end:n,suffix:e="",prefix:t="",title:i,duration:s=2,startOnScroll:r=!0})=>{const[a,o]=w.useState(0),[l,c]=w.useState(!r),u=w.useRef(null);return w.useEffect(()=>{if(l){let h,f;const p=b=>{h||(h=b);const g=Math.min((b-h)/(s*1e3),1);o(Math.floor(g*n)),g<1&&(f=requestAnimationFrame(p))};return f=requestAnimationFrame(p),()=>cancelAnimationFrame(f)}},[l,n,s]),w.useEffect(()=>{if(!r||!u.current)return;const h=new IntersectionObserver(f=>{f[0].isIntersecting&&(c(!0),h.disconnect())},{threshold:.1});return h.observe(u.current),()=>h.disconnect()},[r]),m.jsxs(ee.div,{ref:u,className:"text-center py-6",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5},viewport:{once:!0},children:[m.jsxs("h3",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-akara-darkText mb-2",children:[t,a,e]}),m.jsx("p",{className:"text-sm text-akara-lightText countertitle",children:i})]})},_ie="data:image/svg+xml,%3csvg%20width='49'%20height='46'%20viewBox='0%200%2049%2046'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M49%200V8.63674H46.5871C43.7412%208.88707%2041.7614%209.95102%2040.6477%2011.8286C39.5341%2013.7061%2038.9773%2016.2095%2038.9773%2019.3388V29.102H46.0303V46H30.625V18.2122C30.625%2011.9537%2031.8624%207.44762%2034.3371%204.69387C36.8119%201.94014%2040.4003%200.438097%2045.1023%200.187753L49%200ZM18.375%200V8.63674H16.1477C13.178%208.88707%2011.1364%209.95102%2010.0227%2011.8286C8.90909%2013.7061%208.35227%2016.2095%208.35227%2019.3388V29.102H15.4053V46H0V18.2122C0%2011.9537%201.23737%207.44762%203.71212%204.69387C6.31061%201.94014%209.89899%200.438097%2014.4773%200.187753L18.375%200Z'%20fill='%23FF2727'%20fill-opacity='0.15'/%3e%3c/svg%3e",iO=({name:n,position:e,company:t,testimonial:i,image:s})=>m.jsx(ee.div,{className:"",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5},viewport:{once:!0,margin:"-50px"},style:{padding:"10px"},children:m.jsx("div",{className:"bg-white rounded-lg p-6 relative h-full flex flex-col happycustomercardparent",children:m.jsxs("div",{className:"flex items-center happycustomercard",children:[s&&m.jsx("img",{src:s,alt:n,className:"testimonialimg"}),m.jsxs("div",{className:"testicontentarea",children:[m.jsx("div",{className:"quote-mark",children:m.jsx("img",{src:_ie,alt:""})}),m.jsx("h4",{className:"text-akara-darkText font-semibold testname",children:n}),m.jsx("p",{className:"text-akara-lightText italic text-sm md:text-base leading-relaxed content",children:i})]})]})})}
160),Ke=({children:n,title:e,subtitle:t,center:i=!1,delay:s=0,className:r=""})=>m.jsx(ee.section,{className:`py-16 md:py-24 ${r}`,initial:{opacity:0},whileInView:{opacity:1},transition:{duration:.5,delay:s},viewport:{once:!0,margin:"-100px"},children:m.jsxs("div",{className:"container mx-auto px-6",children:[(e||t)&&m.jsxs("div",{className:`mb-12 ${i?"text-center":""}`,children:[t&&m.jsx(ee.h3,{className:"text-akara-red font-medium text-sm md:text-base uppercase tracking-wider mb-2",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:s+.1},viewport:{once:!0},children:t}),e&&m.jsx(ee.h2,{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-akara-darkText",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:s+.2},viewport:{once:!0},children:e})]}),m.jsx("div",{children:n})]})}),Sie="/assets/space200-DvJdVYxL.png";var DF={},PF={},dw={},RF={};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};n.default=e})(RF);var xie="Expected a function",sO=NaN,wie="[object Symbol]",Eie=/^\s+|\s+$/g,Aie=/^[-+]0x[0-9a-f]+$/i,Iie=/^0b[01]+$/i,Cie=/^0o[0-7]+$/i,Tie=parseInt,Die=typeof Ob=="object"&&Ob&&Ob.Object===Object&&Ob,Pie=typeof self=="object"&&self&&self.Object===Object&&self,Rie=Die||Pie||Function("return this")(),kie=Object.prototype,Nie=kie.toString,Mie=Math.max,Oie=Math.min,VE=function(){return Rie.Date.now()};function Lie(n,e,t){var i,s,r,a,o,l,c=0,u=!1,h=!1,f=!0;if(typeof n!="function")throw new TypeError(xie);e=rO(e)||0,hC(t)&&(u=!!t.leading,h="maxWait"in t,r=h?Mie(rO(t.maxWait)||0,e):r,f="trailing"in t?!!t.trailing:f);function p(C){var I=i,R=s;return i=s=void 0,c=C,a=n.apply(R,I),a}function b(C){return c=C,o=setTimeout(y,e),u?p(C):a}function g(C){var I=C-l,R=C-c,D=e-I;return h?Oie(D,r-R):D}function S(C){var I=C-l,R=C-c;return l===void 0||I>=e||I<0||h&&R>=r}function y(){var C=VE();if(S(C))return v(C);o=setTimeout(y,g(C))}function v(C){return o=void 0,f&&i?p(C):(i=s=void 0,a)}function _(){o!==void 0&&clearTimeout(o),c=0,i=l=s=o=void 0}function x(){return o===void 0?a:v(VE())}function E(){var C=VE(),I=S(C);if(i=arguments,s=this,l=C,I){if(o===void 0)return b(l);if(h)return o=setTimeout(y,e),p(l)}return o===void 0&&(o=setTimeout(y,e)),a}return E.cancel=_,E.flush=x,E}function hC(n){var e=typeof n;return!!n&&(e=="object"||e=="function")}function Bie(n){return!!n&&typeof n=="object"}function jie(n){return typeof n=="symbol"||Bie(n)&&Nie.call(n)==wie}function rO(n){if(typeof n=="number")return n;if(jie(n))return sO;if(hC(n)){var e=typeof n.valueOf=="function"?n.valueOf():n;n=hC(e)?e+"":e}if(typeof n!="string")return n===0?n:+n;n=n.replace(Eie,"");var t=Iie.test(n);return t||Cie.test(n)?Tie(n.slice(2),t?2:8):Aie.test(n)?sO:+n}var Fie=Lie,kF={exports:{}};/*! 161 Copyright (c) 2018 Jed Watson. 162 Licensed under the MIT License (MIT), see 163 http://jedwatson.github.io/classnames 164*/(function(n){(function(){var e={}.hasOwnProperty;function t(){for(var r="",a=0;a<arguments.length;a++){var o=arguments[a];o&&(r=s(r,i(o)))}return r}function i(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return t.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var a="";for(var o in r)e.call(r,o)&&r[o]&&(a=s(a,o));return a}function s(r,a){return a?r?r+" "+a:r+a:r}n.exports?(t.default=t,n.exports=t):window.classNames=t})()})(kF);var hw=kF.exports,Z={},bR={};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=t(w);function t(s){return s&&s.__esModule?s:{default:s}}var i={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(r){return e.default.createElement("ul",{style:{display:"block"}},r)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(r){return e.default.createElement("button",null,r+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null,unslick:!1};n.default=i})(bR);Object.defineProperty(Z,"__esModule",{value:!0});Z.checkSpecKeys=Z.checkNavigable=Z.changeSlide=Z.canUseDOM=Z.canGoNext=void 0;Z.clamp=MF;Z.extractObject=void 0;Z.filterSettings=ese;Z.validSettings=Z.swipeStart=Z.swipeMove=Z.swipeEnd=Z.slidesOnRight=Z.slidesOnLeft=Z.slideHandler=Z.siblingDirection=Z.safePreventDefault=Z.lazyStartIndex=Z.lazySlidesOnRight=Z.lazySlidesOnLeft=Z.lazyEndIndex=Z.keyHandler=Z.initializedState=Z.getWidth=Z.getTrackLeft=Z.getTrackCSS=Z.getTrackAnimateCSS=Z.getTotalSlides=Z.getSwipeDirection=Z.getSlideCount=Z.getRequiredLazySlides=Z.getPreClones=Z.getPostClones=Z.getOnDemandLazySlides=Z.getNavigableIndexes=Z.getHeight=void 0;var zie=NF(w),Uie=NF(bR);function NF(n){return n&&n.__esModule?n:{default:n}}function nv(n){"@babel/helpers - typeof";return nv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nv(n)}function aO(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(n,s).enumerable})),t.push.apply(t,i)}return t}function Ot(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};
164e%2?aO(Object(t),!0).forEach(function(i){Vie(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):aO(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function Vie(n,e,t){return e=Xie(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function Xie(n){var e=Hie(n,"string");return nv(e)=="symbol"?e:String(e)}function Hie(n,e){if(nv(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e);if(nv(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function MF(n,e,t){return Math.max(e,Math.min(n,t))}var xp=Z.safePreventDefault=function(e){var t=["onTouchStart","onTouchMove","onWheel"];t.includes(e._reactName)||e.preventDefault()},OF=Z.getOnDemandLazySlides=function(e){for(var t=[],i=LF(e),s=BF(e),r=i;r<s;r++)e.lazyLoadedList.indexOf(r)<0&&t.push(r);return t};Z.getRequiredLazySlides=function(e){for(var t=[],i=LF(e),s=BF(e),r=i;r<s;r++)t.push(r);return t};var LF=Z.lazyStartIndex=function(e){return e.currentSlide-Gie(e)},BF=Z.lazyEndIndex=function(e){return e.currentSlide+$ie(e)},Gie=Z.lazySlidesOnLeft=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},$ie=Z.lazySlidesOnRight=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},fC=Z.getWidth=function(e){return e&&e.offsetWidth||0},jF=Z.getHeight=function(e){return e&&e.offsetHeight||0},FF=Z.getSwipeDirection=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i,s,r,a;return i=e.startX-e.curX,s=e.startY-e.curY,r=Math.atan2(s,i),a=Math.round(r*180/Math.PI),a<0&&(a=360-Math.abs(a)),a<=45&&a>=0||a<=360&&a>=315?"left":a>=135&&a<=225?"right":t===!0?a>=35&&a<=135?"up":"down":"vertical"},zF=Z.canGoNext=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};Z.extractObject=function(e,t){var i={};return t.forEach(function(s){return i[s]=e[s]}),i};Z.initializedState=function(e){var t=zie.default.Children.count(e.children),i=e.listRef,s=Math.ceil(fC(i)),r=e.trackRef&&e.trackRef.node,a=Math.ceil(fC(r)),o;if(e.vertical)o=s;else{var l=e.centerMode&&parseInt(e.centerPadding)*2;typeof e.centerPadding=="string"&&e.centerPadding.slice(-1)==="%"&&(l*=s/100),o=Math.ceil((s-l)/e.slidesToShow)}var c=i&&jF(i.querySelector('[data-index="0"]')),u=c*e.slidesToShow,h=e.currentSlide===void 0?e.initialSlide:e.currentSlide;e.rtl&&e.currentSlide===void 0&&(h=t-1-e.initialSlide);var f=e.lazyLoadedList||[],p=OF(Ot(Ot({},e),{},{currentSlide:h,lazyLoadedList:f}));f=f.concat(p);var b={slideCount:t,slideWidth:o,listWidth:s,trackWidth:a,currentSlide:h,slideHeight:c,listHeight:u,lazyLoadedList:f};return e.autoplaying===null&&e.autoplay&&(b.autoplaying="playing"),b};Z.slideHandler=function(e){var t=e.waitForAnimate,i=e.animating,s=e.fade,r=e.infinite,a=e.index,o=e.slideCount,l=e.lazyLoad,c=e.currentSlide,u=e.centerMode,h=e.slidesToScroll,f=e.slidesToShow,p=e.useCSS,b=e.lazyLoadedList;if(t&&i)return{};var g=a,S,y,v,_={},x={},E=r?a:MF(a,0,o-1);if(s){if(!r&&(a<0||a>=o))return{};a<0?g=a+o:a>=o&&(g=a-o),l&&b.indexOf(g)<0&&(b=b.concat(g)),_={animating:!0,currentSlide:g,lazyLoadedList:b,targetSlide:g},x={animating:!1,targetSlide:g}}else S=g,g<0?(S=g+o,r?o%h!==0&&(S=o-o%h):S=0):!zF(e)&&g>c?g=S=c:u&&g>=o?(g=r?o:o-1,S=r?0:o-1):g>=o&&(S=g-o,r?o%h!==0&&(S=0):S=o-f),!r&&g+f>=o&&(S=o-f),y=wx(Ot(Ot({},e),{},{slideIndex:g})),v=wx(Ot(Ot({},e),{},{slideIndex:S})),r||(y===v&&(g=S),y=v),l&&(b=b.concat(OF(Ot(Ot({},e),{},{currentSlide:g})))),p?(_={animating:!0,currentSlide:S,trackStyle:UF(Ot(Ot({},e),{},{left:y})),lazyLoadedList:b,targetSlide:E},x={animating:!1,currentSlide:S,trackStyle:xx(Ot(Ot({},e),{},{left:v})),swipeLeft:null,targetSlide:E}):_={currentSlide:S,trackStyle:xx(Ot(Ot({},e),{},{left:v})),lazyLoadedList:b,targetSlide:E};return{state:_,nextState:x}};Z.changeSlide=function(e,t){var i,s,r,a,o,l=e.slidesToScroll,c=e.slidesToShow,u=e.slideCount,h=e.currentSlide,f=e.targetSlide,p=e.lazyLoad,b=e.infinite;if(a=u%l!==0,i=a?0:(u-h)%l,t.message==="previous")r=i===0?l:c-i,o=h-r,p&&!b&&(s=h-r,o=s===-1?u-1:s),b||(o=f-l);else if(t.message==="next")r=i===0?l:i,o=h+r,p&&!b&&(o=(h+l)%u+i),b||(o=f+l);
vendor: 13,212 bytes, line 164
164else if(t.message==="dots")o=t.index*t.slidesToScroll;else if(t.message==="children"){if(o=t.index,b){var g=Kie(Ot(Ot({},e),{},{targetSlide:o}));o>t.currentSlide&&g==="left"?o=o-u:o<t.currentSlide&&g==="right"&&(o=o+u)}}else t.message==="index"&&(o=Number(t.index));return o};Z.keyHandler=function(e,t,i){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":e.keyCode===37?i?"next":"previous":e.keyCode===39?i?"previous":"next":""};Z.swipeStart=function(e,t,i){return e.target.tagName==="IMG"&&xp(e),!t||!i&&e.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}};Z.swipeMove=function(e,t){var i=t.scrolling,s=t.animating,r=t.vertical,a=t.swipeToSlide,o=t.verticalSwiping,l=t.rtl,c=t.currentSlide,u=t.edgeFriction,h=t.edgeDragged,f=t.onEdge,p=t.swiped,b=t.swiping,g=t.slideCount,S=t.slidesToScroll,y=t.infinite,v=t.touchObject,_=t.swipeEvent,x=t.listHeight,E=t.listWidth;if(!i){if(s)return xp(e);r&&a&&o&&xp(e);var C,I={},R=wx(t);v.curX=e.touches?e.touches[0].pageX:e.clientX,v.curY=e.touches?e.touches[0].pageY:e.clientY,v.swipeLength=Math.round(Math.sqrt(Math.pow(v.curX-v.startX,2)));var D=Math.round(Math.sqrt(Math.pow(v.curY-v.startY,2)));if(!o&&!b&&D>10)return{scrolling:!0};o&&(v.swipeLength=D);var k=(l?-1:1)*(v.curX>v.startX?1:-1);o&&(k=v.curY>v.startY?1:-1);var N=Math.ceil(g/S),O=FF(t.touchObject,o),j=v.swipeLength;return y||(c===0&&(O==="right"||O==="down")||c+1>=N&&(O==="left"||O==="up")||!zF(t)&&(O==="left"||O==="up"))&&(j=v.swipeLength*u,h===!1&&f&&(f(O),I.edgeDragged=!0)),!p&&_&&(_(O),I.swiped=!0),r?C=R+j*(x/E)*k:l?C=R-j*k:C=R+j*k,o&&(C=R+j*k),I=Ot(Ot({},I),{},{touchObject:v,swipeLeft:C,trackStyle:xx(Ot(Ot({},t),{},{left:C}))}),Math.abs(v.curX-v.startX)<Math.abs(v.curY-v.startY)*.8||v.swipeLength>10&&(I.swiping=!0,xp(e)),I}};Z.swipeEnd=function(e,t){var i=t.dragging,s=t.swipe,r=t.touchObject,a=t.listWidth,o=t.touchThreshold,l=t.verticalSwiping,c=t.listHeight,u=t.swipeToSlide,h=t.scrolling,f=t.onSwipe,p=t.targetSlide,b=t.currentSlide,g=t.infinite;if(!i)return s&&xp(e),{};var S=l?c/o:a/o,y=FF(r,l),v={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(h||!r.swipeLength)return v;if(r.swipeLength>S){xp(e),f&&f(y);var _,x,E=g?b:p;switch(y){case"left":case"up":x=E+lO(t),_=u?oO(t,x):x,v.currentDirection=0;break;case"right":case"down":x=E-lO(t),_=u?oO(t,x):x,v.currentDirection=1;break;default:_=E}v.triggerSlideHandler=_}else{var C=wx(t);v.trackStyle=UF(Ot(Ot({},t),{},{left:C}))}return v};var qie=Z.getNavigableIndexes=function(e){for(var t=e.infinite?e.slideCount*2:e.slideCount,i=e.infinite?e.slidesToShow*-1:0,s=e.infinite?e.slidesToShow*-1:0,r=[];i<t;)r.push(i),i=s+e.slidesToScroll,s+=Math.min(e.slidesToScroll,e.slidesToShow);return r},oO=Z.checkNavigable=function(e,t){var i=qie(e),s=0;if(t>i[i.length-1])t=i[i.length-1];else for(var r in i){if(t<i[r]){t=s;break}s=i[r]}return t},lO=Z.getSlideCount=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var i,s=e.listRef,r=s.querySelectorAll&&s.querySelectorAll(".slick-slide")||[];if(Array.from(r).every(function(l){if(e.vertical){if(l.offsetTop+jF(l)/2>e.swipeLeft*-1)return i=l,!1}else if(l.offsetLeft-t+fC(l)/2>e.swipeLeft*-1)return i=l,!1;return!0}),!i)return 0;var a=e.rtl===!0?e.slideCount-e.currentSlide:e.currentSlide,o=Math.abs(i.dataset.index-a)||1;return o}else return e.slidesToScroll},_R=Z.checkSpecKeys=function(e,t){return t.reduce(function(i,s){return i&&e.hasOwnProperty(s)},!0)?null:console.error("Keys Missing:",e)},xx=Z.getTrackCSS=function(e){_R(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t,i,s=e.slideCount+2*e.slidesToShow;e.vertical?i=s*e.slideHeight:t=Wie(e)*e.slideWidth;var r={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";r=Ot(Ot({},r),{},{WebkitTransform:a,transform:o,msTransform:l})}else e.vertical?r.top=e.left:r.left=e.left;return e.fade&&(r={opacity:1}),t&&(r.width=t),i&&(r.height=i),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?r.marginTop=e.left+"px":r.marginLeft=e.left+"px"),r},UF=Z.getTrackAnimateCSS=function(e){_R(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=xx(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},wx=Z.getTrackLeft=function(e){if(e.unslick)return 0;_R(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t=e.slideIndex,i=e.trackRef,s=e.infinite,r=e.centerMode,a=e.slideCount,o=e.slidesToShow,l=e.slidesToScroll,c=e.slideWidth,u=e.listWidth,h=e.variableWidth,f=e.slideHeight,p=e.fade,b=e.vertical,g=0,S,y,v=0;if(p||e.slideCount===1)return 0;var _=0;if(s?(_=-W_(e),a%l!==0&&t+l>a&&(_=-(t>a?o-(t-a):a%l)),r&&(_+=parseInt(o/2))):(a%l!==0&&t+l>a&&(_=o-a%l),r&&(_=parseInt(o/2))),g=_*c,v=_*f,b?S=t*f*-1+v:S=t*c*-1+g,h===!0){var x,E=i&&i.node;if(x=t+W_(e),y=E&&E.childNodes[x],S=y?y.offsetLeft*-1:0,r===!0){x=s?t+W_(e):t,y=E&&E.children[x],S=0;for(var C=0;C<x;C++)S-=E&&E.children[C]&&E.children[C].offsetWidth;S-=parseInt(e.centerPadding),S+=y&&(u-y.offsetWidth)/2}}return S},W_=Z.getPreClones=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},Yie=Z.getPostClones=function(e){return e.unslick||!e.infinite?0:e.slideCount},Wie=Z.getTotalSlides=function(e){return e.slideCount===1?1:W_(e)+e.slideCount+Yie(e)},Kie=Z.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+Qie(e)?"left":"right":e.targetSlide<e.currentSlide-Jie(e)?"right":"left"},Qie=Z.slidesOnRight=function(e){var t=e.slidesToShow,i=e.centerMode,s=e.rtl,r=e.centerPadding;if(i){var a=(t-1)/2+1;return parseInt(r)>0&&(a+=1),s&&t%2===0&&(a+=1),a}return s?0:t-1},Jie=Z.slidesOnLeft=function(e){var t=e.slidesToShow,i=e.centerMode,s=e.rtl,r=e.centerPadding;if(i){var a=(t-1)/2+1;return parseInt(r)>0&&(a+=1),!s&&t%2===0&&(a+=1),a}return s?t-1:0};Z.canUseDOM=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)};var Zie=Z.validSettings=Object.keys(Uie.default);function ese(n){return Zie.reduce(function(e,t){return n.hasOwnProperty(t)&&(e[t]=n[t]),e},{})}var fw={};Object.defineProperty(fw,"__esModule",{value:!0});fw.Track=void 0;var uc=VF(w),XE=VF(hw),HE=Z;function VF(n){return n&&n.__esModule?n:{default:n}}function Dg(n){"@babel/helpers - typeof";return Dg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dg(n)}function pC(){return pC=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},pC.apply(this,arguments)}function tse(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function nse(n,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,HF(i.key),i)}}function ise(n,e,t){return e&&nse(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function sse(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&mC(n,e)}function mC(n,e){return mC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,s){return i.__proto__=s,i},mC(n,e)}function rse(n){var e=XF();return function(){var i=Ex(n),s;if(e){var r=Ex(this).constructor;s=Reflect.construct(i,arguments,r)}else s=i.apply(this,arguments);return ase(this,s)}}function ase(n,e){if(e&&(Dg(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return gC(n)}function gC(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function XF(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(XF=function(){return!!n})()}function Ex(n){return Ex=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ex(n)}function cO(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(n,s).enumerable})),t.push.apply(t,i)}return t}function Ui(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?cO(Object(t),!0).forEach(function(i){yC(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):cO(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function yC(n,e,t){return e=HF(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function HF(n){var e=ose(n,"string");return Dg(e)=="symbol"?e:String(e)}function ose(n,e){if(Dg(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e);if(Dg(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var GE=function(e){var t,i,s,r,a;e.rtl?a=e.slideCount-1-e.index:a=e.index,s=a<0||a>=e.slideCount,e.centerMode?(r=Math.floor(e.slidesToShow/2),i=(a-e.currentSlide)%e.slideCount===0,a>e.currentSlide-r-1&&a<=e.currentSlide+r&&(t=!0)):t=e.currentSlide<=a&&a<e.currentSlide+e.slidesToShow;var o;e.targetSlide<0?o=e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?o=e.targetSlide-e.slideCount:o=e.targetSlide;var l=a===o;return{"slick-slide":!0,"slick-active":t,"slick-center":i,"slick-cloned":s,"slick-current":l}},lse=function(e){var t={};return(e.variableWidth===void 0||e.variableWidth===!1)&&(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,t.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t},$E=function(e,t){return e.key||t},cse=function(e){var t,i=[],s=[],r=[],a=uc.default.Children.count(e.children),o=(0,HE.lazyStartIndex)(e),l=(0,HE.lazyEndIndex)(e);return uc.default.Children.forEach(e.children,function(c,u){var h,f={message:"children",index:u,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(u)>=0?h=c:h=uc.default.createElement("div",null);var p=lse(Ui(Ui({},e),{},{index:u})),b=h.props.className||"",g=GE(Ui(Ui({},e),{},{index:u}));if(i.push(uc.default.cloneElement(h,{key:"original"+$E(h,u),"data-index":u,className:(0,XE.default)(g,b),tabIndex:"-1","aria-hidden":!g["slick-active"],style:Ui(Ui({outline:"none"},h.props.style||{}),p),onClick:function(v){h.props&&h.props.onClick&&h.props.onClick(v),e.focusOnSelect&&e.focusOnSelect(f)}})),e.infinite&&e.fade===!1){var S=a-u;S<=(0,HE.getPreClones)(e)&&(t=-S,t>=o&&(h=c),g=GE(Ui(Ui({},e),{},{index:t})),s.push(uc.default.cloneElement(h,{key:"precloned"+$E(h,t),"data-index":t,tabIndex:"-1",className:(0,XE.default)(g,b),"aria-hidden":!g["slick-active"],style:Ui(Ui({},h.props.style||{}),p),onClick:function(v){h.props&&h.props.onClick&&h.props.onClick(v),e.focusOnSelect&&e.focusOnSelect(f)}}))),t=a+u,t<l&&(h=c),g=GE(Ui(Ui({},e),{},{index:t})),r.push(uc.default.cloneElement(h,{key:"postcloned"+$E(h,t),"data-index":t,tabIndex:"-1",className:(0,XE.default)(g,b),"aria-hidden":!g["slick-active"],style:Ui(Ui({},h.props.style||{}),p),onClick:function(v){h.props&&h.props.onClick&&h.props.onClick(v),e.focusOnSelect&&e.focusOnSelect(f)}}))}}),e.rtl?s.concat(i,r).reverse():s.concat(i,r)};fw.Track=function(n){sse(t,n);var e=rse(t);function t(){var i;tse(this,t);for(var s=arguments.length,r=new Array(s),a=0;a<s;a++)r[a]=arguments[a];return i=e.call.apply(e,[this].concat(r)),yC(gC(i),"node",null),yC(gC(i),"handleRef",function(o){i.node=o}),i}return ise(t,[{key:"render",value:function(){var s=cse(this.props),r=this.props,a=r.onMouseEnter,o=r.onMouseOver,l=r.onMouseLeave,c={onMouseEnter:a,onMouseOver:o,onMouseLeave:l};return uc.default.createElement("div",pC({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},c),s)}}]),t}(uc.default.PureComponent);var pw={};function Pg(n){"@babel/helpers - typeof";
164return Pg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pg(n)}Object.defineProperty(pw,"__esModule",{value:!0});pw.Dots=void 0;var l_=GF(w),use=GF(hw),uO=Z;function GF(n){return n&&n.__esModule?n:{default:n}}function dO(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(n,s).enumerable})),t.push.apply(t,i)}return t}function dse(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?dO(Object(t),!0).forEach(function(i){hse(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):dO(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function hse(n,e,t){return e=$F(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function fse(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function pse(n,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,$F(i.key),i)}}function mse(n,e,t){return e&&pse(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function $F(n){var e=gse(n,"string");return Pg(e)=="symbol"?e:String(e)}function gse(n,e){if(Pg(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e);if(Pg(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}function yse(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&vC(n,e)}
164function vC(n,e){return vC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,s){return i.__proto__=s,i},vC(n,e)}function vse(n){var e=qF();return function(){var i=Ax(n),s;if(e){var r=Ax(this).constructor;s=Reflect.construct(i,arguments,r)}else s=i.apply(this,arguments);return bse(this,s)}}function bse(n,e){if(e&&(Pg(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _se(n)}function _se(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function qF(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(qF=function(){return!!n})()}function Ax(n){return Ax=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ax(n)}var Sse=function(e){var t;return e.infinite?t=Math.ceil(e.slideCount/e.slidesToScroll):t=Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,t};pw.Dots=function(n){yse(t,n);var e=vse(t);function t(){return fse(this,t),e.apply(this,arguments)}return mse(t,[{key:"clickHandler",value:function(s,r){r.preventDefault(),this.props.clickHandler(s)}},{key:"render",value:function(){for(var s=this.props,r=s.onMouseEnter,a=s.onMouseOver,o=s.onMouseLeave,l=s.infinite,c=s.slidesToScroll,u=s.slidesToShow,h=s.slideCount,f=s.currentSlide,p=Sse({slideCount:h,slidesToScroll:c,slidesToShow:u,infinite:l}),b={onMouseEnter:r,onMouseOver:a,onMouseLeave:o},g=[],S=0;S<p;S++){var y=(S+1)*c-1,v=l?y:(0,uO.clamp)(y,0,h-1),_=v-(c-1),x=l?_:(0,uO.clamp)(_,0,h-1),E=(0,use.default)({"slick-active":l?f>=x&&f<=v:f===x}),C={message:"dots",index:S,slidesToScroll:c,currentSlide:f},I=this.clickHandler.bind(this,C);g=g.concat(l_.default.createElement("li",{key:S,className:E},l_.default.cloneElement(this.props.customPaging(S),{onClick:I})))}return l_.default.cloneElement(this.props.appendDots(g),dse({className:this.props.dotsClass},b))}}]),t}(l_.default.PureComponent);var Rg={};function kg(n){"@babel/helpers - typeof";return kg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kg(n)}Object.defineProperty(Rg,"__esModule",{value:!0});Rg.PrevArrow=Rg.NextArrow=void 0;var wp=WF(w),YF=WF(hw),xse=Z;function WF(n){return n&&n.__esModule?n:{default:n}}function Ix(){return Ix=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},Ix.apply(this,arguments)}function hO(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(n,s).enumerable})),t.push.apply(t,i)}return t}function Cx(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?hO(Object(t),!0).forEach(function(i){wse(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):hO(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function wse(n,e,t){return e=JF(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function KF(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function Ese(n,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,JF(i.key),i)}}function QF(n,e,t){return e&&Ese(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function JF(n){var e=Ase(n,"string");return kg(e)=="symbol"?e:String(e)}function Ase(n,e){if(kg(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e);if(kg(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}function ZF(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&bC(n,e)}
164function bC(n,e){return bC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,s){return i.__proto__=s,i},bC(n,e)}function e6(n){var e=t6();return function(){var i=Tx(n),s;if(e){var r=Tx(this).constructor;s=Reflect.construct(i,arguments,r)}else s=i.apply(this,arguments);return Ise(this,s)}}function Ise(n,e){if(e&&(kg(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Cse(n)}function Cse(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function t6(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(t6=function(){return!!n})()}function Tx(n){return Tx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Tx(n)}Rg.PrevArrow=function(n){ZF(t,n);var e=e6(t);function t(){return KF(this,t),e.apply(this,arguments)}return QF(t,[{key:"clickHandler",value:function(s,r){r&&r.preventDefault(),this.props.clickHandler(s,r)}},{key:"render",value:function(){var s={"slick-arrow":!0,"slick-prev":!0},r=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(s["slick-disabled"]=!0,r=null);var a={key:"0","data-role":"none",className:(0,YF.default)(s),style:{display:"block"},onClick:r},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},l;return this.props.prevArrow?l=wp.default.cloneElement(this.props.prevArrow,Cx(Cx({},a),o)):l=wp.default.createElement("button",Ix({key:"0",type:"button"},a)," ","Previous"),l}}]),t}(wp.default.PureComponent);Rg.NextArrow=function(n){ZF(t,n);var e=e6(t);function t(){return KF(this,t),e.apply(this,arguments)}return QF(t,[{key:"clickHandler",value:function(s,r){r&&r.preventDefault(),this.props.clickHandler(s,r)}},{key:"render",value:function(){var s={"slick-arrow":!0,"slick-next":!0},r=this.clickHandler.bind(this,{message:"next"});(0,xse.canGoNext)(this.props)||(s["slick-disabled"]=!0,r=null);var a={key:"1","data-role":"none",className:(0,YF.default)(s),style:{display:"block"},onClick:r},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},l;return this.props.nextArrow?l=wp.default.cloneElement(this.props.nextArrow,Cx(Cx({},a),o)):l=wp.default.createElement("button",Ix({key:"1",type:"button"},a)," ","Next"),l}}]),t}(wp.default.PureComponent);var n6=function(){if(typeof Map<"u")return Map;function n(e,t){var i=-1;return e.some(function(s,r){return s[0]===t?(i=r,!0):!1}),i}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(t){var i=n(this.__entries__,t),s=this.__entries__[i];return s&&s[1]},e.prototype.set=function(t,i){var s=n(this.__entries__,t);~s?this.__entries__[s][1]=i:this.__entries__.push([t,i])},e.prototype.delete=function(t){var i=this.__entries__,s=n(i,t);~s&&i.splice(s,1)},e.prototype.has=function(t){return!!~n(this.__entries__,t)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,i){i===void 0&&(i=null);for(var s=0,r=this.__entries__;s<r.length;s++){var a=r[s];t.call(i,a[1],a[0])}},e}()}(),_C=typeof window<"u"&&typeof document<"u"&&window.document===document,Dx=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),Tse=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(Dx):function(n){return setTimeout(function(){return n(Date.now())},1e3/60)}}(),Dse=2;function Pse(n,e){var t=!1,i=!1,s=0;function r(){t&&(t=!1,n()),i&&o()}function a(){Tse(r)}function o(){var l=Date.now();if(t){if(l-s<Dse)return;i=!0}else t=!0,i=!1,setTimeout(a,e);s=l}return o}var Rse=20,kse=["top","right","bottom","left","width","height","size","weight"],Nse=typeof MutationObserver<"u",Mse=function(){function n(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Pse(this.refresh.bind(this),Rse)}return n.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},n.prototype.removeObserver=function(e){var t=this.observers_,i=t.indexOf(e);~i&&t.splice(i,1),!t.length&&this.connected_&&this.disconnect_()},n.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},n.prototype.updateObservers_=function(){var e=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return e.forEach(function(t){return t.broadcastActive()}),e.length>0},n.prototype.connect_=function(){!_C||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Nse?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},n.prototype.disconnect_=function(){!_C||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},n.prototype.onTransitionEnd_=function(e){var t=e.propertyName,i=t===void 0?"":t,s=kse.some(function(r){return!!~i.indexOf(r)});s&&this.refresh()},n.getInstance=function(){return this.instance_||(this.instance_=ne
164w n),this.instance_},n.instance_=null,n}(),i6=function(n,e){for(var t=0,i=Object.keys(e);t<i.length;t++){var s=i[t];Object.defineProperty(n,s,{value:e[s],enumerable:!1,writable:!1,configurable:!0})}return n},Ng=function(n){var e=n&&n.ownerDocument&&n.ownerDocument.defaultView;return e||Dx},s6=mw(0,0,0,0);function Px(n){return parseFloat(n)||0}function fO(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return e.reduce(function(i,s){var r=n["border-"+s+"-width"];return i+Px(r)},0)}function Ose(n){for(var e=["top","right","bottom","left"],t={},i=0,s=e;i<s.length;i++){var r=s[i],a=n["padding-"+r];t[r]=Px(a)}return t}function Lse(n){var e=n.getBBox();return mw(0,0,e.width,e.height)}function Bse(n){var e=n.clientWidth,t=n.clientHeight;if(!e&&!t)return s6;var i=Ng(n).getComputedStyle(n),s=Ose(i),r=s.left+s.right,a=s.top+s.bottom,o=Px(i.width),l=Px(i.height);if(i.boxSizing==="border-box"&&(Math.round(o+r)!==e&&(o-=fO(i,"left","right")+r),Math.round(l+a)!==t&&(l-=fO(i,"top","bottom")+a)),!Fse(n)){var c=Math.round(o+r)-e,u=Math.round(l+a)-t;Math.abs(c)!==1&&(o-=c),Math.abs(u)!==1&&(l-=u)}return mw(s.left,s.top,o,l)}var jse=function(){return typeof SVGGraphicsElement<"u"?function(n){return n instanceof Ng(n).SVGGraphicsElement}:function(n){return n instanceof Ng(n).SVGElement&&typeof n.getBBox=="function"}}();function Fse(n){return n===Ng(n).document.documentElement}function zse(n){return _C?jse(n)?Lse(n):Bse(n):s6}function Use(n){var e=n.x,t=n.y,i=n.width,s=n.height,r=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,a=Object.create(r.prototype);return i6(a,{x:e,y:t,width:i,height:s,top:t,right:e+i,bottom:s+t,left:e}),a}function mw(n,e,t,i){return{x:n,y:e,width:t,height:i}}var Vse=function(){function n(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=mw(0,0,0,0),this.target=e}return n.prototype.isActive=function(){var e=zse(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},n.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},n}(),Xse=function(){function n(e,t){var i=Use(t);i6(this,{target:e,contentRect:i})}return n}(),Hse=function(){function n(e,t,i){if(this.activeObservations_=[],this.observations_=new n6,typeof e!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=i}return n.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof Ng(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new Vse(e)),this.controller_.addObserver(this),this.controller_.refresh())}},n.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof Ng(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},n.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},n.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},n.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(i){return new Xse(i.target,i.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},n.prototype.clearActive=function(){this.activeObservations_.splice(0)},n.prototype.hasActive=function(){return this.activeObservations_.length>0},n}(),r6=typeof WeakMap<"u"?new WeakMap:new n6,a6=function(){function n(e){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=Mse.getInstance(),i=new Hse(e,t,this);r6.set(this,i)}return n}();["observe","unobserve","disconnect"].forEach(function(n){a6.prototype[n]=function(){var e;return(e=r6.get(this))[n].apply(e,arguments)}});var Gse=function(){return typeof Dx.ResizeObserver<"u"?Dx.ResizeObserver:a6}();const $se=Object.freeze(Object.defineProperty({__proto__:null,default:Gse},Symbol.toStringTag,{value:"Module"})),qse=iH($se);Object.defineProperty(dw,"__esModule",{value:!0});dw.InnerSlider=void 0;var xi=Sb(w),Yse=Sb(RF),Wse=Sb(Fie),Kse=Sb(hw),Ft=Z,Qse=fw,Jse=pw,pO=Rg,Zse=Sb(qse);function Sb(n){return n&&n.__esModule?n:{default:n}}function rf(n){"@babel/helpers - typeof";return rf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rf(n)}function Rx(){return Rx=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},Rx.apply(this,arguments)}function ere(n,e){if(n==null)return{};var t=tre(n,e),i,s;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);for(s=0;s<r.length;s++)i=r[s],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(n,i)&&(t[i]=n[i])}return t}function tre(n,e){if(n==null)return{};var t={},i=Object.keys(n),s,r;for(r=0;r<i.length;r++)s=i[r],!(e.indexOf(s)>=0)&&(t[s]=n[s]);return t}function mO(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(n,s).enumerable})),t.push.apply(t,i)}return t}function de(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};
vendor: 13,819 bytes, line 164
164e%2?mO(Object(t),!0).forEach(function(i){Re(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):mO(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function nre(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function ire(n,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,l6(i.key),i)}}function sre(n,e,t){return e&&ire(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function rre(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&SC(n,e)}function SC(n,e){return SC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,s){return i.__proto__=s,i},SC(n,e)}function are(n){var e=o6();return function(){var i=kx(n),s;if(e){var r=kx(this).constructor;s=Reflect.construct(i,arguments,r)}else s=i.apply(this,arguments);return ore(this,s)}}function ore(n,e){if(e&&(rf(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Pe(n)}function Pe(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function o6(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(o6=function(){return!!n})()}function kx(n){return kx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},kx(n)}function Re(n,e,t){return e=l6(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function l6(n){var e=lre(n,"string");return rf(e)=="symbol"?e:String(e)}function lre(n,e){if(rf(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e);if(rf(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}dw.InnerSlider=function(n){rre(t,n);var e=are(t);function t(i){var s;nre(this,t),s=e.call(this,i),Re(Pe(s),"listRefHandler",function(a){return s.list=a}),Re(Pe(s),"trackRefHandler",function(a){return s.track=a}),Re(Pe(s),"adaptHeight",function(){if(s.props.adaptiveHeight&&s.list){var a=s.list.querySelector('[data-index="'.concat(s.state.currentSlide,'"]'));s.list.style.height=(0,Ft.getHeight)(a)+"px"}}),Re(Pe(s),"componentDidMount",function(){if(s.props.onInit&&s.props.onInit(),s.props.lazyLoad){var a=(0,Ft.getOnDemandLazySlides)(de(de({},s.props),s.state));a.length>0&&(s.setState(function(l){return{lazyLoadedList:l.lazyLoadedList.concat(a)}}),s.props.onLazyLoad&&s.props.onLazyLoad(a))}var o=de({listRef:s.list,trackRef:s.track},s.props);s.updateState(o,!0,function(){s.adaptHeight(),s.props.autoplay&&s.autoPlay("update")}),s.props.lazyLoad==="progressive"&&(s.lazyLoadTimer=setInterval(s.progressiveLazyLoad,1e3)),s.ro=new Zse.default(function(){s.state.animating?(s.onWindowResized(!1),s.callbackTimers.push(setTimeout(function(){return s.onWindowResized()},s.props.speed))):s.onWindowResized()}),s.ro.observe(s.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(l){l.onfocus=s.props.pauseOnFocus?s.onSlideFocus:null,l.onblur=s.props.pauseOnFocus?s.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",s.onWindowResized):window.attachEvent("onresize",s.onWindowResized)}),Re(Pe(s),"componentWillUnmount",function(){s.animationEndCallback&&clearTimeout(s.animationEndCallback),s.lazyLoadTimer&&clearInterval(s.lazyLoadTimer),s.callbackTimers.length&&(s.callbackTimers.forEach(function(a){return clearTimeout(a)}),s.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",s.onWindowResized):window.detachEvent("onresize",s.onWindowResized),s.autoplayTimer&&clearInterval(s.autoplayTimer),s.ro.disconnect()}),Re(Pe(s),"componentDidUpdate",function(a){if(s.checkImagesLoad(),s.props.onReInit&&s.props.onReInit(),s.props.lazyLoad){var o=(0,Ft.getOnDemandLazySlides)(de(de({},s.props),s.state));o.length>0&&(s.setState(function(u){return{lazyLoadedList:u.lazyLoadedList.concat(o)}}),s.props.onLazyLoad&&s.props.onLazyLoad(o))}s.adaptHeight();var l=de(de({listRef:s.list,trackRef:s.track},s.props),s.state),c=s.didPropsChange(a);c&&s.updateState(l,c,function(){s.state.currentSlide>=xi.default.Children.count(s.props.children)&&s.changeSlide({message:"index",index:xi.default.Children.count(s.props.children)-s.props.slidesToShow,currentSlide:s.state.currentSlide}),s.props.autoplay?s.autoPlay("update"):s.pause("paused")})}),Re(Pe(s),"onWindowResized",function(a){s.debouncedResize&&s.debouncedResize.cancel(),s.debouncedResize=(0,Wse.default)(function(){return s.resizeWindow(a)},50),s.debouncedResize()}),Re(Pe(s),"resizeWindow",function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,o=!!(s.track&&s.track.node);if(o){var l=de(de({listRef:s.list,trackRef:s.track},s.props),s.state);s.updateState(l,a,function(){s.props.autoplay?s.autoPlay("update"):s.pause("paused")}),s.setState({animating:!1}),clearTimeout(s.animationEndCallback),delete s.animationEndCallback}}),Re(Pe(s),"updateState",function(a,o,l){var c=(0,Ft.initializedState)(a);a=de(de(de({},a),c),{},{slideIndex:c.currentSlide});var u=(0,Ft.getTrackLeft)(a);a=de(de({},a),{},{left:u});var h=(0,Ft.getTrackCSS)(a);(o||xi.default.Children.count(s.props.children)!==xi.default.Children.count(a.children))&&(c.trackStyle=h),s.setState(c,l)}),Re(Pe(s),"ssrInit",function(){if(s.props.variableWidth){var a=0,o=0,l=[],c=(0,Ft.getPreClones)(de(de(de({},s.props),s.state),{},{slideCount:s.props.children.length})),u=(0,Ft.getPostClones)(de(de(de({},s.props),s.state),{},{slideCount:s.props.children.length}));s.props.children.forEach(function(I){l.push(I.props.style.width),a+=I.props.style.width});for(var h=0;h<c;h++)o+=l[l.length-1-h],a+=l[l.length-1-h];for(var f=0;f<u;f++)a+=l[f];for(var p=0;p<s.state.currentSlide;p++)o+=l[p];var b={width:a+"px",left:-o+"px"};if(s.props.centerMode){var g="".concat(l[s.state.currentSlide],"px");b.left="calc(".concat(b.left," + (100% - ").concat(g,") / 2 ) ")}return{trackStyle:b}}var S=xi.default.Children.count(s.props.children),y=de(de(de({},s.props),s.state),{},{slideCount:S}),v=(0,Ft.getPreClones)(y)+(0,Ft.getPostClones)(y)+S,_=100/s.props.slidesToShow*v,x=100/v,E=-x*((0,Ft.getPreClones)(y)+s.state.currentSlide)*_/100;s.props.centerMode&&(E+=(100-x*_/100)/2);var C={width:_+"%",left:E+"%"};return{slideWidth:x+"%",trackStyle:C}}),Re(Pe(s),"checkImagesLoad",function(){var a=s.list&&s.list.querySelectorAll&&s.list.querySelectorAll(".slick-slide img")||[],o=a.length,l=0;Array.prototype.forEach.call(a,function(c){var u=function(){return++l&&l>=o&&s.onWindowResized()};if(!c.onclick)c.onclick=function(){return c.parentNode.focus()};else{var h=c.onclick;c.onclick=function(f){h(f),c.parentNode.focus()}}c.onload||(s.props.lazyLoad?c.onload=function(){s.adaptHeight(),s.callbackTimers.push(setTimeout(s.onWindowResized,s.props.speed))}:(c.onload=u,c.onerror=function(){u(),s.props.onLazyLoadError&&s.props.onLazyLoadError()}))})}),Re(Pe(s),"progressiveLazyLoad",function(){for(var a=[],o=de(de({},s.props),s.state),l=s.state.currentSlide;l<s.state.slideCount+(0,Ft.getPostClones)(o);l++)if(s.state.lazyLoadedList.indexOf(l)<0){a.push(l);break}for(var c=s.state.currentSlide-1;c>=-(0,Ft.getPreClones)(o);c--)if(s.state.lazyLoadedList.indexOf(c)<0){a.push(c);break}a.length>0?(s.setState(function(u){return{lazyLoadedList:u.lazyLoadedList.concat(a)}}),s.props.onLazyLoad&&s.props.onLazyLoad(a)):s.lazyLoadTimer&&(clearInterval(s.lazyLoadTimer),delete s.lazyLoadTimer)}),Re(Pe(s),"slideHandler",function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l=s.props,c=l.asNavFor,u=l.beforeChange,h=l.onLazyLoad,f=l.speed,p=l.afterChange,b=s.state.currentSlide,g=(0,Ft.slideHandler)(de(de(de({index:a},s.props),s.state),{},{trackRef:s.track,useCSS:s.props.useCSS&&!o})),S=g.state,y=g.nextState;if(S){u&&u(b,S.currentSlide);var v=S.lazyLoadedList.filter(function(_){return s.state.lazyLoadedList.indexOf(_)<0});h&&v.length>0&&h(v),!s.props.waitForAnimate&&s.animationEndCallback&&(clearTimeout(s.animationEndCallback),p&&p(b),delete s.animationEndCallback),s.setState(S,function(){c&&s.asNavForIndex!==a&&(s.asNavForIndex=a,c.innerSlider.slideHandler(a)),y&&(s.animationEndCallback=setTimeout(function(){var _=y.animating,x=ere(y,["animating"]);s.setState(x,function(){s.callbackTimers.push(setTimeout(function(){return s.setState({animating:_})},10)),p&&p(S.currentSlide),delete s.animationEndCallback})},f))})}}),Re(Pe(s),"changeSlide",function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l=de(de({},s.props),s.state),c=(0,Ft.changeSlide)(l,a);if(!(c!==0&&!c)&&(o===!0?s.slideHandler(c,o):s.slideHandler(c),s.props.autoplay&&s.autoPlay("update"),s.props.focusOnSelect)){var u=s.list.querySelectorAll(".slick-current");u[0]&&u[0].focus()}}),Re(Pe(s),"clickHandler",function(a){s.clickable===!1&&(a.stopPropagation(),a.preventDefault()),s.clickable=!0}),Re(Pe(s),"keyHandler",function(a){var o=(0,Ft.keyHandler)(a,s.props.accessibility,s.props.rtl);o!==""&&s.changeSlide({message:o})}),Re(Pe(s),"selectHandler",function(a){s.changeSlide(a)}),Re(Pe(s),"disableBodyScroll",function(){var a=function(l){l=l||window.event,l.preventDefault&&l.preventDefault(),l.returnValue=!1};window.ontouchmove=a}),Re(Pe(s),"enableBodyScroll",function(){window.ontouchmove=null}),Re(Pe(s),"swipeStart",function(a){s.props.verticalSwiping&&s.disableBodyScroll();var o=(0,Ft.swipeStart)(a,s.props.swipe,s.props.draggable);o!==""&&s.setState(o)}),Re(Pe(s),"swipeMove",function(a){var o=(0,Ft.swipeMove)(a,de(de(de({},s.props),s.state),{},{trackRef:s.track,listRef:s.list,slideIndex:s.state.currentSlide}));o&&(o.swiping&&(s.clickable=!1),s.setState(o))}),Re(Pe(s),"swipeEnd",function(a){var o=(0,Ft.swipeEnd)(a,de(de(de({},s.props),s.state),{},{trackRef:s.track,listRef:s.list,slideIndex:s.state.currentSlide}));if(o){var l=o.triggerSlideHandler;delete o.triggerSlideHandler,s.setState(o),l!==void 0&&(s.slideHandler(l),s.props.verticalSwiping&&s.enableBodyScroll())}}),Re(Pe(s),"touchEnd",function(a){s.swipeEnd(a),s.clickable=!0}),Re(Pe(s),"slickPrev",function(){s.callbackTimers.push(setTimeout(function(){return s.changeSlide({message:"previous"})},0))}),Re(Pe(s),"slickNext",function(){s.callbackTimers.push(setTimeout(function(){return s.changeSlide({message:"next"})},0))}),Re(Pe(s),"slickGoTo",function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(a=Number(a),isNaN(a))return"";s.callbackTimers.push(setTimeout(function(){return s.changeSlide({message:"index",index:a,currentSlide:s.state.currentSlide},o)},0))}),Re(Pe(s),"play",function(){var a;if(s.props.rtl)a=s.state.currentSlide-s.props.slidesToScroll;else if((0,Ft.canGoNext)(de(de({},s.props),s.state)))a=s.state.currentSlide+s.props.slidesToScroll;else return!1;s.slideHandler(a)}),Re(Pe(s),"autoPlay",function(a){s.autoplayTimer&&clearInterval(s.autoplayTimer);var o=s.state.autoplaying;if(a==="update"){if(o==="hovered"||o==="focused"||o==="paused")return}else if(a==="leave"){if(o==="paused"||o==="focused")return}else if(a==="blur"&&(o==="paused"||o==="hovered"))return;s.autoplayTimer=setInterval(s.play,s.props.autoplaySpeed+50),s.setState({autoplaying:"playing"})}),Re(Pe(s),"pause",function(a){s.autoplayTimer&&(clearInterval(s.autoplayTimer),s.autoplayTimer=null);var o=s.state.autoplaying;a==="paused"?s.setState({autoplaying:"paused"}):a==="focused"?(o==="hovered"||o==="playing")&&s.setState({autoplaying:"focused"}):o==="playing"&&s.setState({autoplaying:"hovered"})}),Re(Pe(s),"onDotsOver",function(){return s.props.autoplay&&s.pause("hovered")}),Re(Pe(s),"onDotsLeave",function(){return s.props.autoplay&&s.state.autoplaying==="hovered"&&s.autoPlay("leave")}),Re(Pe(s),"onTrackOver",function(){return s.props.autoplay&&s.pause("hovered")}),Re(Pe(s),"onTrackLeave",function(){return s.props.autoplay&&s.state.autoplaying==="hovered"&&s.autoPlay("leave")}),Re(Pe(s),"onSlideFocus",function(){return s.props.autoplay&&s.pause("focused")}),Re(Pe(s),"onSlideBlur",function(){return s.props.autoplay&&s.state.autoplaying==="focused"&&s.autoPlay("blur")}),Re(Pe(s),"render",function(){var a=(0,Kse.default)("slick-slider",s.props.className,{"slick-vertical":s.props.vertical,"slick-initialized":!0}),o=de(de({},s.props),s.state),l=(0,Ft.extractObject)(o,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),c=s.props.pauseOnHover;l=de(de({},l),{},{onMouseEnter:c?s.onTrackOver:null,onMouseLeave:c?s.onTrackLeave:null,onMouseOver:c?s.onTrackOver:null,focusOnSelect:s.props.focusOnSelect&&s.clickable?s.selectHandler:null});var u;if(s.props.dots===!0&&s.state.slideCount>=s.props.slidesToShow){var h=(0,Ft.extractObject)(o,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),f=s.props.pauseOnDotsHover;h=de(de({},h),{},{clickHandler:s.changeSlide,onMouseEnter:f?s.onDotsLeave:null,onMouseOver:f?s.onDotsOver:null,onMouseLeave:f?s.onDotsLeave:null}),u=xi.default.createElement(Jse.Dots,h)}var p,b,g=(0,Ft.extractObject)(o,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","
164nextArrow"]);g.clickHandler=s.changeSlide,s.props.arrows&&(p=xi.default.createElement(pO.PrevArrow,g),b=xi.default.createElement(pO.NextArrow,g));var S=null;s.props.vertical&&(S={height:s.state.listHeight});var y=null;s.props.vertical===!1?s.props.centerMode===!0&&(y={padding:"0px "+s.props.centerPadding}):s.props.centerMode===!0&&(y={padding:s.props.centerPadding+" 0px"});var v=de(de({},S),y),_=s.props.touchMove,x={className:"slick-list",style:v,onClick:s.clickHandler,onMouseDown:_?s.swipeStart:null,onMouseMove:s.state.dragging&&_?s.swipeMove:null,onMouseUp:_?s.swipeEnd:null,onMouseLeave:s.state.dragging&&_?s.swipeEnd:null,onTouchStart:_?s.swipeStart:null,onTouchMove:s.state.dragging&&_?s.swipeMove:null,onTouchEnd:_?s.touchEnd:null,onTouchCancel:s.state.dragging&&_?s.swipeEnd:null,onKeyDown:s.props.accessibility?s.keyHandler:null},E={className:a,dir:"ltr",style:s.props.style};return s.props.unslick&&(x={className:"slick-list"},E={className:a}),xi.default.createElement("div",E,s.props.unslick?"":p,xi.default.createElement("div",Rx({ref:s.listRefHandler},x),xi.default.createElement(Qse.Track,Rx({ref:s.trackRefHandler},l),s.props.children)),s.props.unslick?"":b,s.props.unslick?"":u)}),s.list=null,s.track=null,s.state=de(de({},Yse.default),{},{currentSlide:s.props.initialSlide,targetSlide:s.props.initialSlide?s.props.initialSlide:0,slideCount:xi.default.Children.count(s.props.children)}),s.callbackTimers=[],s.clickable=!0,s.debouncedResize=null;var r=s.ssrInit();return s.state=de(de({},s.state),r),s}return sre(t,[{key:"didPropsChange",value:function(s){for(var r=!1,a=0,o=Object.keys(this.props);a<o.length;a++){var l=o[a];if(!s.hasOwnProperty(l)){r=!0;break}if(!(rf(s[l])==="object"||typeof s[l]=="function"||isNaN(s[l]))&&s[l]!==this.props[l]){r=!0;break}}return r||xi.default.Children.count(this.props.children)!==xi.default.Children.count(s.children)}}]),t}(xi.default.Component);var cre=function(n){return n.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()},ure=cre,dre=ure,hre=function(n){var e=/[height|width]$/;return e.test(n)},gO=function(n){var e="",t=Object.keys(n);return t.forEach(function(i,s){var r=n[i];i=dre(i),hre(i)&&typeof r=="number"&&(r=r+"px"),r===!0?e+=i:r===!1?e+="not "+i:e+="("+i+": "+r+")",s<t.length-1&&(e+=" and ")}),e},fre=function(n){var e="";return typeof n=="string"?n:n instanceof Array?(n.forEach(function(t,i){e+=gO(t),i<n.length-1&&(e+=", ")}),e):gO(n)},pre=fre,qE,yO;function mre(){if(yO)return qE;yO=1;function n(e){this.options=e,!e.deferSetup&&this.setup()}return n.prototype={constructor:n,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},qE=n,qE}var YE,vO;function c6(){if(vO)return YE;vO=1;function n(i,s){var r=0,a=i.length,o;for(r;r<a&&(o=s(i[r],r),o!==!1);r++);}function e(i){return Object.prototype.toString.apply(i)==="[object Array]"}function t(i){return typeof i=="function"}return YE={isFunction:t,isArray:e,each:n},YE}var WE,bO;function gre(){if(bO)return WE;bO=1;var n=mre(),e=c6().each;function t(i,s){this.query=i,this.isUnconditional=s,this.handlers=[],this.mql=window.matchMedia(i);var r=this;this.listener=function(a){r.mql=a.currentTarget||a,r.assess()},this.mql.addListener(this.listener)}return t.prototype={constuctor:t,addHandler:function(i){var s=new n(i);this.handlers.push(s),this.matches()&&s.on()},removeHandler:function(i){var s=this.handlers;e(s,function(r,a){if(r.equals(i))return r.destroy(),!s.splice(a,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){e(this.handlers,function(i){i.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var i=this.matches()?"on":"off";e(this.handlers,function(s){s[i]()})}},WE=t,WE}var KE,_O;function yre(){if(_O)return KE;_O=1;var n=gre(),e=c6(),t=e.each,i=e.isFunction,s=e.isArray;function r(){if(!window.matchMedia)throw new Error("matchMedia n
164ot present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}return r.prototype={constructor:r,register:function(a,o,l){var c=this.queries,u=l&&this.browserIsIncapable;return c[a]||(c[a]=new n(a,u)),i(o)&&(o={match:o}),s(o)||(o=[o]),t(o,function(h){i(h)&&(h={match:h}),c[a].addHandler(h)}),this},unregister:function(a,o){var l=this.queries[a];return l&&(o?l.removeHandler(o):(l.clear(),delete this.queries[a])),this}},KE=r,KE}var QE,SO;function vre(){if(SO)return QE;SO=1;var n=yre();return QE=new n,QE}(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=a(w),t=dw,i=a(pre),s=a(bR),r=Z;function a(D){return D&&D.__esModule?D:{default:D}}function o(D){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(k){return typeof k}:function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},o(D)}function l(){return l=Object.assign?Object.assign.bind():function(D){for(var k=1;k<arguments.length;k++){var N=arguments[k];for(var O in N)Object.prototype.hasOwnProperty.call(N,O)&&(D[O]=N[O])}return D},l.apply(this,arguments)}function c(D,k){var N=Object.keys(D);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(D);k&&(O=O.filter(function(j){return Object.getOwnPropertyDescriptor(D,j).enumerable})),N.push.apply(N,O)}return N}function u(D){for(var k=1;k<arguments.length;k++){var N=arguments[k]!=null?arguments[k]:{};k%2?c(Object(N),!0).forEach(function(O){E(D,O,N[O])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors(N)):c(Object(N)).forEach(function(O){Object.defineProperty(D,O,Object.getOwnPropertyDescriptor(N,O))})}return D}function h(D,k){if(!(D instanceof k))throw new TypeError("Cannot call a class as a function")}function f(D,k){for(var N=0;N<k.length;N++){var O=k[N];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(D,C(O.key),O)}}function p(D,k,N){return k&&f(D.prototype,k),Object.defineProperty(D,"prototype",{writable:!1}),D}function b(D,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(k&&k.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),Object.defineProperty(D,"prototype",{writable:!1}),k&&g(D,k)}function g(D,k){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(O,j){return O.__proto__=j,O},g(D,k)}function S(D){var k=_();return function(){var O=x(D),j;if(k){var L=x(this).constructor;j=Reflect.construct(O,arguments,L)}else j=O.apply(this,arguments);return y(this,j)}}function y(D,k){if(k&&(o(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return v(D)}function v(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function _(){try{var D=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_=function(){return!!D})()}function x(D){return x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(N){return N.__proto__||Object.getPrototypeOf(N)},x(D)}function E(D,k,N){return k=C(k),k in D?Object.defineProperty(D,k,{value:N,enumerable:!0,configurable:!0,writable:!0}):D[k]=N,D}function C(D){var k=I(D,"string");return o(k)=="symbol"?k:String(k)}function I(D,k){if(o(D)!="object"||!D)return D;var N=D[Symbol.toPrimitive];if(N!==void 0){var O=N.call(D,k);if(o(O)!="object")return O;throw new TypeError("@@toPrimitive must return a primitive value.")}return(k==="string"?String:Number)(D)}var R=(0,r.canUseDOM)()&&vre();n.default=function(D){b(N,D);var k=S(N);function N(O){var j;return h(this,N),j=k.call(this,O),E(v(j),"innerSliderRefHandler",function(L){return j.innerSlider=L}),E(v(j),"slickPrev",function(){return j.innerSlider.slickPrev()}),E(v(j),"slickNext",function(){return j.innerSlider.slickNext()}),E(v(j),"slickGoTo",function(L){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return j.innerSlider.slickGoTo(L,U)}),E(v(j),"slickPause",function(){return j.innerSlider.pause("paused")}),E(v(j),"slickPlay",function(){return j.innerSlider.autoPlay("play")}),j.state={breakpoint:null},j._responsiveMediaHandlers=[],j}return p(N,[{key:"media",value:function(j,L){R.register(j,L),this._responsiveMediaHandlers.push({query:j,handler:L})}},{key:"componentDidMount",value:function(){var j=this;if(this.props.responsive){var L=this.props.responsive.map(function(M){return M.breakpoint});L.sort(function(M,B){return M-B}
vendor: 4,781 bytes, line 164
164),L.forEach(function(M,B){var F;B===0?F=(0,i.default)({minWidth:0,maxWidth:M}):F=(0,i.default)({minWidth:L[B-1]+1,maxWidth:M}),(0,r.canUseDOM)()&&j.media(F,function(){j.setState({breakpoint:M})})});var U=(0,i.default)({minWidth:L.slice(-1)[0]});(0,r.canUseDOM)()&&this.media(U,function(){j.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(j){R.unregister(j.query,j.handler)})}},{key:"render",value:function(){var j=this,L,U;this.state.breakpoint?(U=this.props.responsive.filter(function(ae){return ae.breakpoint===j.state.breakpoint}),L=U[0].settings==="unslick"?"unslick":u(u(u({},s.default),this.props),U[0].settings)):L=u(u({},s.default),this.props),L.centerMode&&(L.slidesToScroll>1,L.slidesToScroll=1),L.fade&&(L.slidesToShow>1,L.slidesToScroll>1,L.slidesToShow=1,L.slidesToScroll=1);var M=e.default.Children.toArray(this.props.children);M=M.filter(function(ae){return typeof ae=="string"?!!ae.trim():!!ae}),L.variableWidth&&(L.rows>1||L.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),L.variableWidth=!1);for(var B=[],F=null,z=0;z<M.length;z+=L.rows*L.slidesPerRow){for(var G=[],te=z;te<z+L.rows*L.slidesPerRow;te+=L.slidesPerRow){for(var Y=[],X=te;X<te+L.slidesPerRow&&(L.variableWidth&&M[X].props.style&&(F=M[X].props.style.width),!(X>=M.length));X+=1)Y.push(e.default.cloneElement(M[X],{key:100*z+10*te+X,tabIndex:-1,style:{width:"".concat(100/L.slidesPerRow,"%"),display:"inline-block"}}));G.push(e.default.createElement("div",{key:10*z+te},Y))}L.variableWidth?B.push(e.default.createElement("div",{key:z,style:{width:F}},G)):B.push(e.default.createElement("div",{key:z},G))}if(L==="unslick"){var W="regular slider "+(this.props.className||"");return e.default.createElement("div",{className:W},M)}else B.length<=L.slidesToShow&&!L.infinite&&(L.unslick=!0);return e.default.createElement(t.InnerSlider,l({style:this.props.style,ref:this.innerSliderRefHandler},(0,r.filterSettings)(L)),B)}}]),N}(e.default.Component)})(PF);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=t(PF);function t(i){return i&&i.__esModule?i:{default:i}}n.default=e.default})(DF);const M0=C1(DF),bre="/assets/instantcash-DxkzbL6v.png",_re="/assets/corporatebonds-BnMU2viH.png",Sre="/assets/Dainik%20Bhaskar%20-%202%20February-D5nDFb4k.jpg",xre="/assets/YS-Bk0nYD0I.png",wre="/assets/Tushar%20Aggarwal-ChdiTpai.png",Ere="data:image/svg+xml,%3csvg%20width='84'%20height='84'%20viewBox='0%200%2084%2084'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_782_9931)'%3e%3crect%20x='72'%20y='68'%20width='60'%20height='60'%20rx='30'%20transform='rotate(-180%2072%2068)'%20fill='white'/%3e%3crect%20x='71.5'%20y='67.5'%20width='59'%20height='59'%20rx='29.5'%20transform='rotate(-180%2071.5%2067.5)'%20stroke='%23D4D4D4'/%3e%3c/g%3e%3cpath%20d='M46.8008%2050L35.2008%2038'%20stroke='black'%20stroke-width='3'%20stroke-linecap='round'/%3e%3cpath%20d='M47%2026L35%2037.6'%20stroke='black'%20stroke-width='3'%20stroke-linecap='round'/%3e%3cdefs%3e%3cfilter%20id='filter0_d_782_9931'%20x='0'%20y='0'%20width='84'%20height='84'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='4'/%3e%3cfeGaussianBlur%20stdDeviation='6'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.343211%200%200%200%200%200.364664%200%200%200%200%200.477295%200%200%200%200.15%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_782_9931'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_782_9931'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",Are="data:image/svg+xml,%3csvg%20width='84'%20height='84'%20viewBox='0%200%2084%2084'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_782_9937)'%3e%3crect%20x='12'%20y='8'%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3crect%20x='12.5'%20y='8.5'%20width='59'%20height='59'%20rx='29.5'%20stroke='%23D4D4D4'/%3e%3c/g%3e%3cpath%20d='M37.1992%2026L48.7992%2038'%20stroke='black'%20stroke-width='3'%20stroke-linecap='round'/%3e%3cpath%20d='M37%2050L49%2038.4'%20stroke='black'%20stroke-width='3'%20stroke-linecap='round'/%3e%3cdefs%3e%3cfilter%20id='filter0_d_782_9937'%20x='0'%20y='0'%20width='84'%20height='84'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='Backgroun
164dImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='4'/%3e%3cfeGaussianBlur%20stdDeviation='6'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.343211%200%200%200%200%200.364664%200%200%200%200%200.477295%200%200%200%200.15%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_782_9937'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_782_9937'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",Ire="/assets/news1-im5ITwFt.png",Cre="/assets/news2-ByT2DVy0.png",Tre="/assets/news3-5LOl9YHW.png",Dre="/assets/news4-CTr8vsvT.png",Pre="/assets/news5-BPM_3nFe.png",Rre="/assets/news6-sGjD9hNX.png",kre="/assets/Stashfin%20Logo%20new-DBdmDIT-.png",Nre="/assets/Abhishek-%20photo-ni-Ho4fe.png",Mre="/assets/rupee%20new-D2kcS6xS.png",Ore="/assets/small%20business-Bsveoaj8.png",Lre="/assets/kunalgupta-ClVUNpwl.png",Bre="/assets/manishakumari-e1ol47wK.png",jre="/assets/payments-iGzxyrO1.png",Fre="/assets/Holi%20video-XzRTDqgA.jpg",zre="/assets/Women's%20Day%20Special-C-gtx6an.jpg",Ure=()=>{const n=[{name:"Kunal Gupta",position:"",testimonial:"Stashfin made my personal loan application seamless. The service was rapid, the process was smooth, and my loan was approved effortlessly. Excellent experience!",image:Lre},{name:"Manisha Kumari",position:"",testimonial:"Thank you, Stashfin, for the prompt loan during my family emergency. The process was simple, quick, and stress-free",image:Bre}],e={className:"center",centerMode:!0,infinite:!0,centerPadding:"0px",slidesToShow:3,speed:500,dots:!0,autoplay:!0,autoplaySpeed:3e3,responsive:[{breakpoint:1024,settings:{slidesToShow:1,centerPadding:"0px"}},{breakpoint:768,settings:{slidesToShow:1,centerMode:!0,centerPadding:"20px"}}]},t={infinite:!1,slidesToShow:3,speed:500,dots:!1,slideToScroll:1,responsive:[{breakpoint:1024,settings:{slidesToShow:3}},{breakpoint:768,settings:{slidesToShow:1.1,centerPadding:"100px"}}]},i={infinite:!1,slidesToShow:2,speed:500,dots:!1,slideToScroll:1,arrows:n.length>2,responsive:[{breakpoint:1024,settings:{slidesToShow:2,arrows:n.length>2}},{breakpoint:768,settings:{slidesToShow:1.1,centerPadding:"0",arrows:!1}}]},s={infinite:!1,speed:500,dots:!0,arrows:!1,slidesToShow:1,slidesToScroll:1},r=` 165 .center .slick-slide { 166 transition: all 0.3s ease; 167 transform: scale(0.9); 168 opacity: 1; 169 } 170 171 .center .slick-center { 172 transform: scale(1.1); 173 opacity: 1; 174 } 175 176 .center .slick-slide > div { 177 padding: 20px; 178 } 179 180 /* Optional: Adjust the arrows position if needed */ 181 .slick-prev { 182 left: 10px; 183 z-index: 1; 184 font-size:40px 185 } 186 // .slick-prev:before { 187 // font-size:0; 188 // color:#fff; 189 // width:60px; 190 // height:60px; 191 // display:flex; 192 // background:url(${Ere}) no-repeat; 193 // background-size:100%; 194 // } 195 .slick-next { 196 right: 40px; 197 z-index: 1; 198 } 199 // .slick-next:before { 200 // font-size:0; 201 // color:#fff; 202 // width:60px; 203 // height:60px; 204 // display:flex; 205 // background:url(${Are}) no-repeat; 206 // background-size:100%; 207 // } 208 .slick-dots li { 209 margin: 0; 210 } 211 .slick-dots li button:before { 212 font-size:10px 213 } 214 @media (max-width: 768px) { 215 .center .slick-slide { 216 transform: scale(.9); 217 } 218 219 .center .slick-center { 220 transform: scale(1.1); 221 } 222 223 .center .slick-slide > div { 224 padding: 5px; 225 } 226 227 .slick-list { 228 padding: 0 !important; 229 overflow: visible; 230 } 231 } 232 `;return m.jsxs("div",{className:"min-h-screen homepage_page",children:[m.jsx("style",{children:r}),m.jsx(Wl,{title:"Making Finance Simple, Accessible and Effective",subtitle:"Welcome to Akara Capital",showForm:!0,image:!0,maxwidth:1260,lineheight:"68px",classpage:"homepageheader"}),m.jsxs(Ke,{className:"py-16",children:[m.jsxs("div",{className:"text-center mb-12",children:[m.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-akara-darkText mb-8 akarahomeheading",children:"Akara Capital"}),m.jsx("p",{className:"max-w-3xl mx-auto text-akara-lightText akarahomefirstp",children:"Founded with a vision to bridge the credit gap, we offer innovative lending solutions tailored to underserved and emerging credit segments."})]}),m.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4 counterparent",children:[m.jsx("div",{className:"col-span-1 bg-green-100 rounded-lg p-4 homebox1",children:m.jsx(o_,{prefix:"â¹",end:1e6,suffix:" Lakh+",title:"Loans Disbursed"})}),m.jsx("div",{className:"col-span-1 bg-blue-100 rounded-lg p-4 homebox2",children:m.jsx(o_,{end:52,suffix:" Lakh+",title:"Happy Users"})}),m.jsx("div",{className:"col-span-1 bg-pink-100 rounded-lg p-4 homebox3",children:m.jsx(o_,{end:200,suffix:" Lakh+",title:"Ap
232p Downloads"})}),m.jsx("div",{className:"col-span-1 bg-yellow-100 rounded-lg p-4 homebox4",children:m.jsx(o_,{prefix:"$",end:700,suffix:"M+",title:"Capital Raised"})})]})]}),m.jsx("div",{className:"homeaboutakara",children:m.jsx(Ke,{className:"py-0",children:m.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-12 items-center",children:[m.jsx("div",{children:m.jsxs("div",{className:"mb-8",children:[m.jsx("h3",{className:"text-akara-red font-medium text-sm uppercase tracking-wider mb-2 homeaboutakaratxt",children:"About Akara Capital"}),m.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-akara-darkText mb-6",children:"Akara Capital is a leading fintech NBFC revolutionising credit access in India with a technology-driven, customer-centric approach"}),m.jsx("p",{className:"text-akara-lightText mb-6",children:'We use advanced data analytics to redefine traditional underwriting processes and have partnered with the financial technology platform "Stashfin" to offer tailored solutions 24X7, to address the unique needs of our borrowers.'}),m.jsx(_e,{to:"/about-us",className:"mt-4 homereadmore",children:"Read More"})]})}),m.jsx("div",{className:"grid gap-6",children:m.jsx("div",{className:"",children:m.jsx(ee.div,{className:"text-white rounded-lg p-6 flex flex-col items-center text-center h-full",whileHover:{y:-5,transition:{duration:.2}},children:m.jsx("img",{src:Sie,loading:"lazy",alt:""})})})})]})})}),m.jsx(Ke,{title:"Our Products & Services",center:!0,className:"bg-gray-50 py-16 productsechome",children:m.jsx("div",{className:"mt-12 max-w-[90%] mx-auto",children:m.jsxs(M0,{...e,children:[m.jsx("div",{children:m.jsx(nO,{title:"Instant loan up to 5 lakhs",color:"#D1E3D9",image:bre,description:"Fast Approval, Quick Disbursal, No Foreclosure Charge",buttonText:"Learn more",bgsize:"170px"})}),m.jsx("div",{children:m.jsx(nO,{title:"Akara Capital Bonds",color:"#E3C6D1",image:_re,description:"Returns of up to 15%, Fixed Monthly income, Investment starts with Rs. 10,000",buttonText:"Learn more",bgsize:"200px"})})]})})}),m.jsx(Ke,{title:"News & Press Releases",center:!1,className:"homepagenewssec",children:m.jsx("div",{className:"grid grid-cols-1 newssliderparent",children:m.jsxs(M0,{...t,children:[m.jsx("div",{className:"newsslide",children:m.jsx(ee.div,{className:"bg-white rounded-lg overflow-hidden shadow-md hover-scale",whileHover:{y:-5,transition:{duration:.2}},children:m.jsxs(_e,{to:"https://www.passionateinmarketing.com/from-skill-to-self-reliance-a-visual-story-that-captures-the-spirit-of-women-entrepreneurship/#:~:text=From%20Skill%20to%20Self%2DReliance,finds%20the%20confidence%20to%20expand.",target:"_blank",children:[m.jsx("img",{src:zre,alt:"News",loading:"lazy",className:"w-full h-48 object-cover object-top"}),m.jsxs("div",{className:"p-6",children:[m.jsx("h3",{className:"font-bold text-lg mb-2 text-akara-darkText",children:"A Visual Story by Stashfin that captures the spirit of Women..."}),m.jsxs("div",{className:"flex items-center text-sm text-gray-500 mb-4",children:[m.jsx("span",{children:"5 mins read "}),m.jsx("span",{className:"mx-2",children:"â¢"}),m.jsx("span",{children:" Few days ago"})]})]})]})})}),m.jsx("div",{className:"newsslide",children:m.jsx(ee.div,{className:"bg-white rounded-lg overflow-hidden shadow-md hover-scale",whileHover:{y:-5,transition:{duration:.2}},children:m.jsxs(_e,{to:"https://www.medianews4u.com/brands-blend-celebration-conscience-and-creativity-in-festive-campaigns-holi-2026/",target:"_blank",children:[m.jsx("img",{src:Fre,alt:"News",loading:"lazy",className:"w-full h-48 object-cover object-top"}),m.jsxs("div",{className:"p-6",children:[m.jsx("h3",{className:"font-bold text-lg mb-2 text-akara-darkText",children:"Holi 2026: Stashfin is among one of the innovative brands to roll out..."}),m.jsxs("div",{className:"flex items-center text-sm text-gray-500 mb-4",children:[m.jsx("span",{children:"5 mins read "}),m.jsx("span",{className:"mx-2",children:"â¢"}),m.jsx("span",{children:" Few days ago"})]})]})]})})}),m.jsx("div",{className:"newsslide",children:m.jsx(ee.div,{className:"bg-white rounded-lg overflow-hidden shadow-md hover-scale",whileHover:{y:-5,transition:{duration:.2}},children:m.jsxs(_e,{to:"https://bfsi.economictimes.indiatimes.com/articles/indias-payments-market-nears-saturation-with-strained-economics-smaller-fintechs-squeezed-as-top-giants-dominate/128452817",target:"_blank",children:[m.jsx("img",{src:jre,alt:"News",loading:"lazy",className:"w-full h-48 object-cover object-top"}),m.jsxs("div",{className:"p-6",children:[m.jsx("h3",{className:"font-bold text-lg mb-2 text-akara-darkText",children:"India's Digital Payments Revolution Era"}),m.jsxs("div",{className:"flex items-center text-sm text-gray-500 mb-4",children:[m.jsx("span",{children:"5 mins read "}),m.jsx("span",{className:"mx-2",children:"â¢"}),m.jsx("span",{children:" Few days ago"})]})]})]})})}),m.jsx("div",{className:"newsslide",children:m.jsx(ee.div,{className:"bg-white rounded-lg overflow-hidden shadow-md hover-scale",whileHover:{y:-5,transition:{duration:.2}},children:m.jsxs(_e,{to:"https://www.businessworld.in/article/rbi-maintains-status-quo-as-expert
232s-signal-lower-for-longer-rate-outlook-592495",target:"_blank",children:[m.jsx("img",{src:Mre,alt:"News",loading:"lazy",className:"w-full h-48 object-cover object-top"}),m.jsxs("div",{className:"p-6",children:[m.jsx("h3",{className:"font-bold text-lg mb-2 text-akara-darkText",children:"RBI Maintains Status Quo As Experts Signal Lower-for-Longer Rate Outlook"}),m.jsxs("div",{className:"flex items-center text-sm text-gray-500 mb-4",children:[m.jsx("span",{children:"5 mins read "}),m.jsx("span",{className:"mx-2",children:"â¢"}),m.jsx("span",{children:" Few days ago"})]})]})]})})}),m.jsx("div",{className:"newsslide",children:m.jsx(ee.div,{className:"bg-white rounded-lg overflow-hidden shadow-md hover-scale",whileHover:{y:-5,transition:{duration:.2}},children:m.jsxs(_e,{to:"https://bfsi.economictimes.indiatimes.com/articles/budgets-msme-equity-push-raises-execution-stakes-lenders-see-phased-rollout/127924710",target:"_blank",children:[m.jsx("img",{src:Ore,alt:"News",loading:"lazy",className:"w-full h-48 object-cover object-top"}),m.jsxs("div",{className:"p-6",children:[m.jsx("h3",{className:"font-bold text-lg mb-2 text-akara-darkText",children:"Budget's MSME equity push raises execution stakes"}),m.jsxs("div",{className:"flex items-center text-sm text-gray-500 mb-4",children:[m.jsx("span",{children:"5 mins read "}),m.jsx("span",{className:"mx-2",children:"â¢"}),m.jsx("span",{children:" Few days ago"})]})]})]})})}),m.jsx("div",{className:"newsslide",children:m.jsx(ee.div,{className:"bg-white rounded-lg overflow-hidden shadow-md hover-scale",whileHover:{y:-5,transition:{duration:.2}},children:m.jsxs(_e,{to:"https://yourstory.com/2026/02/budget-2026-india-nbfc-banking-credit-growth-msme-finance",target:"_blank",children:[m.jsx("img",{src:Sre,alt:"News",loading:"lazy",className:"w-full h-48 object-cover object-top"}),m.jsxs("div",{className:"p-6",children:[m.jsx("h3",{className:"font-bold text-lg mb-2 text-akara-darkText",children:"शà¥à¤°à¥à¤¤à¤¿ à¤
à¤à¥à¤°à¤µà¤¾à¤² , सह-सà¤à¤¸à¥à¤¥à¤¾à¤ªà¤, सà¥à¤à¥à¤¶à¤«à¤¿à¤¨ नॠबà¤à¤ 2026â27 à¤à¥ वितà¥à¤¤à¥à¤¯ समावà¥à¤¶à¤¨ à¤à¤°..."}),m.jsxs("div",{className:"flex items-center text-sm text-gray-500 mb-4",children:[m.jsx("span",{children:"5 mins read "}),m.jsx("span",{className:"mx-2",children:"â¢"}),m.jsx("span",{children:" Few days ago"})]})]})]})})}),m.jsx("div",{className:"newsslide",children:m.jsx(ee.div,{className:"bg-white rounded-lg overflow-hidden shadow-md hover-scale",whileHover:{y:-5,transition:{duration:.2}},children:m.jsxs(_e,{to:"https://yourstory.com/2026/02/budget-2026-india-nbfc-banking-credit-growth-msme-finance",target:"_blank",children:[m.jsx("img",{src:xre,alt:"News",loading:"lazy",className:"w-full h-48 object-cover object-top"}),m.jsxs("div",{className:"p-6",children:[m.jsx("h3",{className:"font-bold text-lg mb-2 text-akara-darkText",children:"Budget 2026 redraws Indiaâs NBFC map, bets on fewer lenders to drive..."}),m.jsxs("div",{className:"flex items-center text-sm text-gray-500 mb-4",children:[m.jsx("span",{children:"5 mins read "}),m.jsx("span",{className:"mx-2",children:"â¢"}),m.jsx("span",{children:" Few days ago"})]})]})]})})}),m.jsx("div",{className:"newsslide",children:m.jsx(ee.div,{className:"bg-white rounded-lg overflow-hidden shadow-md hover-scale",whileHover:{y:-5,transition:{duration:.2}},children:m.jsxs(_e,{to:"https://www.financialexpress.com/business/news/persistence-pays-how-tushar-aggarwal-built-stashfin-to-fix-indias-broken-borrowing-experience/4111944/",target:"_blank",children:[m.jsx("img",{src:wre,alt:"News",loading:"lazy",className:"w-full h-48 object-cover object-top"}),m.jsxs("div",{className:"p-6",children:[m.jsx("h3",{className:"font-bold text-lg mb-2 text-akara-darkText",children:"Persistence pays: How Tushar Aggarwal built Stashfin to fix..."}),m.jsxs("div",{className:"flex items-center text-sm text-gray-500 mb-4",children:[m.jsx("span",{children:"5 mins read "}),m.jsx("span",{className:"mx-2",children:"â¢"}),m.jsx("span",{children:" 1 month ago"})]})]})]})})}),m.jsx("div",{className:"newsslide",children:m.jsx(ee.div,{className:"bg-white rounded-lg overflow-hidden shadow-md hover-scale",whileHover:{y:-5,transition:{duration:.2}},children:m.jsxs(_e,{to:"https://bfsi.economictimes.indiatimes.com/articles/digital-lender-stashfin-appoints-abhishek-gupta-as-cto/126546296",target:"_blank",children:[m.jsx("img",{src:Nre,alt:"News",loading:"lazy",className:"w-full h-48 object-cover object-top"}),m.jsxs("div",{className:"p-6",children:[m.jsx("h3",{className:"font-bold text-lg mb-2 text-akara-darkText",children:"Digital lender Stashfin appoints Abhishek Gupta as CTO"}),m.jsxs("div",{className:"flex items-center text-sm text-gray-500 mb-4",children:[m.jsx("span",{children:"5 mins read "}),m.jsx("span",{className:"mx-2",children:"â¢"}),m.jsx("span",{children:" 1 month ago"})]})]})]})})}),m.jsx("div",{className:"newsslide",children:m.jsx(ee.div,{className:"bg-white rounded-lg overflow-hidden shadow-md hover-scale",whileHover:{y:-5,transition:{duration:.2}},children:m.jsxs(_e,{to:"https://www.exchange4media.com/industry-briefing-ne
232ws/stashfin-refines-its-brand-identity-150582.html",target:"_blank",children:[m.jsx("img",{src:kre,alt:"News",loading:"lazy",className:"w-full h-48 object-contain"}),m.jsxs("div",{className:"p-6",children:[m.jsx("h3",{className:"font-bold text-lg mb-2 text-akara-darkText",children:"Stashfin Unveils Refreshed Brand Logo To Reflect Growth & Financial..."}),m.jsxs("div",{className:"flex items-center text-sm text-gray-500 mb-4",children:[m.jsx("span",{children:"5 mins read "}),m.jsx("span",{className:"mx-2",children:"â¢"}),m.jsx("span",{children:" 2 months ago"})]})]})]})})}),m.jsx("div",{className:"newsslide",children:m.jsx(ee.div,{className:"bg-white rounded-lg overflow-hidden shadow-md hover-scale",whileHover:{y:-5,transition:{duration:.2}},children:m.jsxs(_e,{to:"https://www.business-standard.com/finance/news/rbi-mpc-meeting-2025-live-updates-rbi-mpc-repo-rate-cut-announcements-sanjay-malhotra-125020700095_1.html?1738921335",target:"_blank",children:[m.jsx("img",{src:Ire,alt:"News",loading:"lazy",className:"w-full h-48 object-cover"}),m.jsxs("div",{className:"p-6",children:[m.jsx("h3",{className:"font-bold text-lg mb-2 text-akara-darkText",children:"RBI MPC 2025 Highlights: Endeavour of RBI ..."}),m.jsxs("div",{className:"flex items-center text-sm text-gray-500 mb-4",children:[m.jsx("span",{children:"5 mins read "}),m.jsx("span",{className:"mx-2",children:"â¢"}),m.jsx("span",{children:" 1 month ago"})]})]})]})})}),m.jsx("div",{className:"newsslide",children:m.jsx(_e,{to:"https://economictimes.indiatimes.com/news/company/corporate-trends/et-women-conclave-2025-a-confluence-of-visionaries-and-innovators/articleshow/119480607.cms?from=mdr",target:"_blank",children:m.jsxs(ee.div,{className:"bg-white rounded-lg overflow-hidden shadow-md hover-scale",whileHover:{y:-5,transition:{duration:.2}},children:[m.jsx("img",{src:Cre,alt:"News",loading:"lazy",className:"w-full h-48 object-cover"}),m.jsxs("div",{className:"p-6",children:[m.jsx("h3",{className:"font-bold text-lg mb-2 text-akara-darkText",children:"ET Women Conclave 2025: A confluence of visionaries ..."}),m.jsxs("div",{className:"flex items-center text-sm text-gray-500 mb-4",children:[m.jsx("span",{children:"5 mins read "}),m.jsx("span",{className:"mx-2",children:"â¢"}),m.jsx("span",{children:" 1 months ago"})]})]})]})})}),m.jsx("div",{className:"newsslide",children:m.jsx(_e,{to:"https://www.forbesindia.com/article/take-one-big-story-of-the-day/digital-data-protection-rules-2025-heres-what-needs-to-change/95059/1",target:"_blank",children:m.jsxs(ee.div,{className:"bg-white rounded-lg overflow-hidden shadow-md hover-scale",whileHover:{y:-5,transition:{duration:.2}},children:[m.jsx("img",{src:Tre,alt:"News",loading:"lazy",className:"w-full h-48 object-cover"}),m.jsxs("div",{className:"p-6",children:[m.jsx("h3",{className:"font-bold text-lg mb-2 text-akara-darkText",children:"Digital Data Protection Rules 2025: Here's what needs..."}),m.jsxs("div",{className:"flex items-center text-sm text-gray-500 mb-4",children:[m.jsx("span",{children:"5 mins read "}),m.jsx("span",{className:"mx-2",children:"â¢"}),m.jsx("span",{children:" 3 months ago"})]})]})]})})}),m.jsx("div",{className:"newsslide",children:m.jsx(_e,{to:"https://yourstory.com/2025/01/stashfin-grants-esops-rs-5-lakhs-emplo",target:"_blank",children:m.jsxs(ee.div,{className:"bg-white rounded-lg overflow-hidden shadow-md hover-scale",whileHover:{y:-5,transition:{duration:.2}},children:[m.jsx("img",{src:Dre,alt:"News",loading:"lazy",className:"w-full h-48 object-cover"}),m.jsxs("div",{className:"p-6",children:[m.jsx("h3",{className:"font-bold text-lg mb-2 text-akara-darkText",children:"Stashfin grants ESOPs of up to Rs 5 L to employees"}),m.jsxs("div",{className:"flex items-center text-sm text-gray-500 mb-4",children:[m.jsx("span",{children:"5 mins read "}),m.jsx("span",{className:"mx-2",children:"â¢"}),m.jsx("span",{children:" 3 months ago"})]})]})]})})}),m.jsx("div",{className:"newsslide",children:m.jsx(_e,{to:"https://www.thehansindia.com/tech/fintech/indias-leading-lending-platforms-how-technology-is-transforming-credit-access-929457",target:"_blank",children:m.jsxs(ee.div,{className:"bg-white rounded-lg overflow-hidden shadow-md hover-scale",whileHover:{y:-5,transition:{duration:.2}},children:[m.jsx("img",{src:Pre,alt:"News",loading:"lazy",className:"w-full h-48 object-cover"}),m.jsxs("div",{className:"p-6",children:[m.jsx("h3",{className:"font-bold text-lg mb-2 text-akara-darkText",children:"Indiaâs Leading Lending Platforms: How Tech..."}),m.jsxs("div",{className:"flex items-center text-sm text-gray-500 mb-4",children:[m.jsx("span",{children:"5 mins read "}),m.jsx("span",{className:"mx-2",children:"â¢"}),m.jsx("span",{children:" 5 months ago"})]})]})]})})}),m.jsx("div",{className:"newsslide",children:m.jsx(_e,{to:"https://bfsi.eletsonline.com/akara-capital-becomes-first-fintech-nbfc-to-offer-ncds-at-rs-10000-face-value/",target:"_blank",children:m.jsxs(ee.div,{className:"bg-white rounded-lg overflow-hidden shadow-md hover-scale",whileHover:{y:-5,transition:{duration:.2}},children:[m.jsx("img",{src:Rre,alt:"News",loading:"lazy",className:"w-full h-48 object-cover"}),m.jsxs("div",{className:"p-6",children:[m.jsx("h3",{className:"font-bold text-lg mb-2 text-akara-darkText",children:"AKARA Capital Becomes First Fintech NBFC to Offer NCDs..."}),m.jsxs("div",{className:"flex items-center text-sm text-gray-500 mb-4",children:[m.jsx("span",{children:"5 mins read "}),m.jsx("span",{className:"mx-2",children:"â¢"}),m.jsx("span",{children:" a years ago"})]})]})]})})})]})})}),m.jsxs(Ke,{title:"Happy Customers",center:!1,className:"happycustomerssechome",children:[m.jsx("div",{className:"hidden md:block mt-12 mx-auto",children:n.length>2?m.jsx(M0,{...i,children:n.map((a,o)=>m.jsx("div",{className:"md:basis-1/2 lg:basis-1/2",children:m.jsx("div",{className:"innderdiv",children:m.jsx(iO,{name:a.name,position:a.position,testimonial:a.testimonial,image:a.image})})},o))}):m.jsx("div",{className:"flex gap-6 justify-center",children:n.map((a,o)=>m.jsx("div",{className:"p-4 w-1/2",children:m.jsx("div",{className:"innderdiv",children:m.jsx(iO,{name:a.name,position:a.position,testimonial:a.testimonial,image:a.image})})},o))})}),m.jsx("div",{className:"md:hidden",children:m.jsx(M0,{...s,children:n.map((a,o)=>m.jsx("div",{className:"p-4",children:m.jsxs("div",{className:"bg-white shadow-lg rounded-2xl p-6 flex flex-col items-center text-center",children:[m.jsx("img",{src:a.image,alt:a.name,loading:"lazy",className:"w-full rounded-2xl object-cover"}),m.jsx("div",{className:"text-pink-300 text-5xl mt-4",style:{marginRight:"auto"},children:"â"}),m.jsx("h3",{className:"text-lg font-bold text-gray-900 mt-2",style:{marginRight:"auto"},children:a.name}),m.jsx("p",{className:"text-left text-gray-600 text-sm leading-relaxed",children:a.testimonial})]})},o))})})]})]})};function xO(n){return n!==null&&typeof n=="object"&&"constructor"in n&&n.constructor===Object}function SR(n,e){n===void 0&&(n={}),e===void 0&&(e={});const t=["__proto__","constructor","prototype"];Object.keys(e).filter(i=>
vendor: 22,726 bytes, line 232
232t.indexOf(i)<0).forEach(i=>{typeof n[i]>"u"?n[i]=e[i]:xO(e[i])&&xO(n[i])&&Object.keys(e[i]).length>0&&SR(n[i],e[i])})}const u6={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function po(){const n=typeof document<"u"?document:{};return SR(n,u6),n}const Vre={document:u6,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(n){return typeof setTimeout>"u"?(n(),null):setTimeout(n,0)},cancelAnimationFrame(n){typeof setTimeout>"u"||clearTimeout(n)}};function ji(){const n=typeof window<"u"?window:{};return SR(n,Vre),n}function Xre(n){return n===void 0&&(n=""),n.trim().split(" ").filter(e=>!!e.trim())}function Hre(n){const e=n;Object.keys(e).forEach(t=>{try{e[t]=null}catch{}try{delete e[t]}catch{}})}function d6(n,e){return e===void 0&&(e=0),setTimeout(n,e)}function Nx(){return Date.now()}function Gre(n){const e=ji();let t;return e.getComputedStyle&&(t=e.getComputedStyle(n,null)),!t&&n.currentStyle&&(t=n.currentStyle),t||(t=n.style),t}function $re(n,e){e===void 0&&(e="x");const t=ji();let i,s,r;const a=Gre(n);return t.WebKitCSSMatrix?(s=a.transform||a.webkitTransform,s.split(",").length>6&&(s=s.split(", ").map(o=>o.replace(",",".")).join(", ")),r=new t.WebKitCSSMatrix(s==="none"?"":s)):(r=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=r.toString().split(",")),e==="x"&&(t.WebKitCSSMatrix?s=r.m41:i.length===16?s=parseFloat(i[12]):s=parseFloat(i[4])),e==="y"&&(t.WebKitCSSMatrix?s=r.m42:i.length===16?s=parseFloat(i[13]):s=parseFloat(i[5])),s||0}function c_(n){return typeof n=="object"&&n!==null&&n.constructor&&Object.prototype.toString.call(n).slice(8,-1)==="Object"}function qre(n){return typeof window<"u"&&typeof window.HTMLElement<"u"?n instanceof HTMLElement:n&&(n.nodeType===1||n.nodeType===11)}function Os(){const n=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let t=1;t<arguments.length;t+=1){const i=t<0||arguments.length<=t?void 0:arguments[t];if(i!=null&&!qre(i)){const s=Object.keys(Object(i)).filter(r=>e.indexOf(r)<0);for(let r=0,a=s.length;r<a;r+=1){const o=s[r],l=Object.getOwnPropertyDescriptor(i,o);l!==void 0&&l.enumerable&&(c_(n[o])&&c_(i[o])?i[o].__swiper__?n[o]=i[o]:Os(n[o],i[o]):!c_(n[o])&&c_(i[o])?(n[o]={},i[o].__swiper__?n[o]=i[o]:Os(n[o],i[o])):n[o]=i[o])}}}return n}function u_(n,e,t){n.style.setProperty(e,t)}function h6(n){let{swiper:e,targetPosition:t,side:i}=n;const s=ji(),r=-e.translate;let a=null,o;const l=e.params.speed;e.wrapperEl.style.scrollSnapType="none",s.cancelAnimationFrame(e.cssModeFrameID);const c=t>r?"next":"prev",u=(f,p)=>c==="next"&&f>=p||c==="prev"&&f<=p,h=()=>{o=new Date().getTime(),a===null&&(a=o);const f=Math.max(Math.min((o-a)/l,1),0),p=.5-Math.cos(f*Math.PI)/2;let b=r+p*(t-r);if(u(b,t)&&(b=t),e.wrapperEl.scrollTo({[i]:b}),u(b,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[i]:b})}),s.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=s.requestAnimationFrame(h)};h()}function ao(n,e){e===void 0&&(e="");const t=ji(),i=[...n.children];return t.HTMLSlotElement&&n instanceof HTMLSlotElement&&i.push(...n.assignedElements()),e?i.filter(s=>s.matches(e)):i}function Yre(n,e){const t=[e];for(;t.length>0;){const i=t.shift();if(n===i)return!0;t.push(...i.children,...i.shadowRoot?i.shadowRoot.children:[],...i.assignedElements?i.assignedElements():[])}}function Wre(n,e){const t=ji();let i=e.contains(n);return!i&&t.HTMLSlotElement&&e instanceof HTMLSlotElement&&(i=[...e.assignedElements()].includes(n),i||(i=Yre(n,e))),i}function Mx(n){try{console.warn(n);return}catch{}}function Ox(n,e){e===void 0&&(e=[]);const t=document.createElement(n);return t.classList.add(...Array.isArray(e)?e:Xre(e)),t}function Kre(n,e){const t=[];for(;n.previousElementSibling;){const i=n.previousElementSibling;e?i.matches(e)&&t.push(i):t.push(i),n=i}return t}function Qre(n,e){const t=[];for(;n.nextElementSibling;){const i=n.nextElementSibling;e?i.matches(e)&&t.push(i):t.push(i),n=i}return t}function _u(n,e){return ji().getComputedStyle(n,null).getPropertyValue(e)}function Lx(n){let e=n,t;if(e){for(t=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(t+=1);return t}}function f6(n,e){const t=[];let i=n.parentElement;for(;i;)e?i.matches(e)&&t.push(i):t.push(i),i=i.parentElement;return t}function xC(n,e,t){const i=ji();return n[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(n,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(n,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function Po(n){return(Array.isArray(n)?n:[n]).filter(e=>!!e)}function Bx(n,e){e===void 0&&(e=""),typeof trustedTypes<"u"?n.innerHTML=trustedTypes.createPolicy("html",{createHTML:t=>t}).createHTML(e):n.innerHTML=e}let JE;function Jre(){const n=ji(),e=po();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in n||n.DocumentTouch&&e instanceof n.DocumentTouch)}}function p6(){return JE||(JE=Jre()),JE}let ZE;function Zre(n){let{userAgent:e}=n===void 0?{}:n;const t=p6(),i=ji(),s=i.navigator.platform,r=e||i.navigator.userAgent,a={ios:!1,android:!1},o=i.screen.width,l=i.screen.height,c=r.match(/(Android);?[\s\/]+([\d.]+)?/);let u=r.match(/(iPad).*OS\s([\d_]+)/);const h=r.match(/(iPod)(.*OS\s([\d_]+))?/),f=!u&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=s==="Win32";let b=s==="MacIntel";const g=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!u&&b&&t.touch&&g.indexOf(`${o}x${l}`)>=0&&(u=r.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),b=!1),c&&!p&&(a.os="android",a.android=!0),(u||f||h)&&(a.os="ios",a.ios=!0),a}function m6(n){return n===void 0&&(n={}),ZE||(ZE=Zre(n)),ZE}let eA;function eae(){const n=ji(),e=m6();let t=!1;function i(){const o=n.navigator.userAgent.toLowerCase();return o.indexOf("safari")>=0&&o.indexOf("chrome")<0&&o.indexOf("android")<0}if(i()){const o=String(n.navigator.userAgent);if(o.includes("Version/")){const[l,c]=o.split("Version/")[1].split(" ")[0].split(".").map(u=>Number(u));t=l<16||l===16&&c<2}}const s=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(n.navigator.userAgent),r=i(),a=r||s&&e.ios;return{isSafari:t||r,needPerspectiveFix:t,need3dFix:a,isWebView:s}}function g6(){return eA||(eA=eae()),eA}function tae(n){let{swiper:e,on:t,emit:i}=n;const s=ji();let r=null,a=null;const o=()=>{!e||e.destroyed||!e.initialized||(i("beforeResize"),i("resize"))},l=()=>{!e||e.destroyed||!e.initialized||(r=new ResizeObserver(h=>{a=s.requestAnimationFrame(()=>{const{width:f,height:p}=e;let b=f,g=p;h.forEach(S=>{let{contentBoxSize:y,contentRect:v,target:_}=S;_&&_!==e.el||(b=v?v.width:(y[0]||y).inlineSize,g=v?v.height:(y[0]||y).blockSize)}),(b!==f||g!==p)&&o()})}),r.observe(e.el))},c=()=>{a&&s.cancelAnimationFrame(a),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null)},u=()=>{!e||e.destroyed||!e.initialized||i("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof s.ResizeObserver<"u"){l();return}s.addEventListener("resize",o),s.addEventListener("orientationchange",u)}),t("destroy",()=>{c(),s.removeEventListener("resize",o),s.removeEventListener("orientationchange",u)})}function nae(n){let{swiper:e,extendParams:t,on:i,emit:s}=n;const r=[],a=ji(),o=function(u,h){h===void 0&&(h={});const f=a.MutationObserver||a.WebkitMutationObserver,p=new f(b=>{if(e.__preventObserver__)return;if(b.length===1){s("observerUpdate",b[0]);return}const g=function(){s("observerUpdate",b[0])};a.requestAnimationFrame?a.requestAnimationFrame(g):a.setTimeout(g,0)});p.observe(u,{attributes:typeof h.attributes>"u"?!0:h.attributes,childList:e.isElement||(typeof h.childList>"u"?!0:h).childList,characterData:typeof h.characterData>"u"?!0:h.characterData}),r.push(p)},l=()=>{if(e.params.observer){if(e.params.observeParents){const u=f6(e.hostEl);for(let h=0;h<u.length;h+=1)o(u[h])}o(e.hostEl,{childList:e.params.observeSlideChildren}),o(e.wrapperEl,{attributes:!1})}},c=()=>{r.forEach(u=>{u.disconnect()}),r.splice(0,r.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",l),i("destroy",c)}var iae={on(n,e,t){const i=this;if(!i.eventsListeners||i.destroyed||typeof e!="function")return i;const s=t?"unshift":"push";return n.split(" ").forEach(r=>{i.eventsListeners[r]||(i.eventsListeners[r]=[]),i.eventsListeners[r][s](e)}),i},once(n,e,t){const i=this;if(!i.eventsListeners||i.destroyed||typeof e!="function")return i;function s(){i.off(n,s),s.__emitterProxy&&delete s.__emitterProxy;for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];e.apply(i,a)}return s.__emitterProxy=e,i.on(n,s,t)},onAny(n,e){const t=this;if(!t.eventsListeners||t.destroyed||typeof n!="function")return t;const i=e?"unshift":"push";return t.eventsAnyListeners.indexOf(n)<0&&t.eventsAnyListeners[i](n),t},offAny(n){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const t=e.eventsAnyListeners.indexOf(n);return t>=0&&e.eventsAnyListeners.splice(t,1),e},off(n,e){const t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||n.split(" ").forEach(i=>{typeof e>"u"?t.eventsListeners[i]=[]:t.eventsListeners[i]&&t.eventsListeners[i].forEach((s,r)=>{(s===e||s.__emitterProxy&&s.__emitterProxy===e)&&t.eventsListeners[i].splice(r,1)})}),t},emit(){const n=this;if(!n.eventsListeners||n.destroyed||!n.eventsListeners)return n;let e,t,i;for(var s=arguments.length,r=new Array(s),a=0;a<s;a++)r[a]=arguments[a];return typeof r[0]=="string"||Array.isArray(r[0])?(e=r[0],t=r.slice(1,r.length),i=n):(e=r[0].events,t=r[0].data,i=r[0].context||n),t.unshift(i),(Array.isArray(e)?e:e.split(" ")).forEach(l=>{n.eventsAnyListeners&&n.eventsAnyListeners.length&&n.eventsAnyListeners.forEach(c=>{c.apply(i,[l,...t])}),n.eventsListeners&&n.eventsListeners[l]&&n.eventsListeners[l].forEach(c=>{c.apply(i,t)})}),n}};function sae(){const n=this;let e,t;const i=n.el;typeof n.params.width<"u"&&n.params.width!==null?e=n.params.width:e=i.clientWidth,typeof n.params.height<"u"&&n.params.height!==null?t=n.params.height:t=i.clientHeight,!(e===0&&n.isHorizontal()||t===0&&n.isVertical())&&(e=e-parseInt(_u(i,"padding-left")||0,10)-parseInt(_u(i,"padding-right")||0,10),t=t-parseInt(_u(i,"padding-top")||0,10)-parseInt(_u(i,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(n,{width:e,height:t,size:n.isHorizontal()?e:t}))}function rae(){const n=this;function e(k,N){return parseFloat(k.getPropertyValue(n.getDirectionLabel(N))||0)}const t=n.params,{wrapperEl:i,slidesEl:s,size:r,rtlTranslate:a,wrongRTL:o}=n,l=n.virtual&&t.virtual.enabled,c=l?n.virtual.slides.length:n.slides.length,u=ao(s,`.${n.params.slideClass}, swiper-slide`),h=l?n.virtual.slides.length:u.length;let f=[];const p=[],b=[];let g=t.slidesOffsetBefore;typeof g=="function"&&(g=t.slidesOffsetBefore.call(n));let S=t.slidesOffsetAfter;typeof S=="function"&&(S=t.slidesOffsetAfter.call(n));const y=n.snapGrid.length,v=n.slidesGrid.length;let _=t.spaceBetween,x=-g,E=0,C=0;if(typeof r>"u")return;typeof _=="string"&&_.indexOf("%")>=0?_=parseFloat(_.replace("%",""))/100*r:typeof _=="string"&&(_=parseFloat(_)),n.virtualSize=-_,u.forEach(k=>{a?k.style.marginLeft="":k.style.marginRight="",k.style.marginBottom="",k.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(u_(i,"--swiper-centered-offset-before",""),u_(i,"--swiper-centered-offset-after",""));const I=t.grid&&t.grid.rows>1&&n.grid;I?n.grid.initSlides(u):n.grid&&n.grid.unsetSlides();let R;const D=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter(k=>typeof t.breakpoints[k].slidesPerView<"u").length>0;for(let k=0;k<h;k+=1){R=0;let N;if(u[k]&&(N=u[k]),I&&n.grid.updateSlide(k,N,u),!(u[k]&&_u(N,"display")==="none")){if(t.slidesPerView==="auto"){D&&(u[k].style[n.getDirectionLabel("width")]="");const O=getComputedStyle(N),j=N.style.transform,L=N.style.webkitTransform;if(j&&(N.style.transform="none"),L&&(N.style.webkitTransform="none"),t.roundLengths)R=n.isHorizontal()?xC(N,"width"):xC(N,"height");else{const U=e(O,"width"),M=e(O,"padding-left"),B=e(O,"padding-right"),F=e(O,"margin-left"),z=e(O,"margin-right"),G=O.getPropertyValue("box-sizing");if(G&&G==="border-box")R=U+F+z;else{const{clientWidth:te,offsetWidth:Y}=N;R=U+M+B+F+z+(Y-te)}}j&&(N.style.transform=j),L&&(N.style.webkitTransform=L),t.roundLengths&&(R=Math.floor(R))}else R=(r-(t.slidesPerView-1)*_)/t.slidesPerView,t.roundLengths&&(R=Math.floor(R)),u[k]&&(u[k].style[n.getDirectionLabel("width")]=`${R}px`);u[k]&&(u[k].swiperSlideSize=R),b.push(R),t.centeredSlides?(x=x+R/2+E/2+_,E===0&&k!==0&&(x=x-r/2-_),k===0&&(x=x-r/2-_),Math.abs(x)<1/1e3&&(x=0),t.roundLengths&&(x=Math.floor(x)),C%t.slidesPerGroup===0&&f.push(x),p.push(x)):(t.roundLengths&&(x=Math.floor(x)),(C-Math.min(n.params.slidesPerGroupSkip,C))%n.params.slidesPerGroup===0&&f.push(x),p.push(x),x=x+R+_),n.virtualSize+=R+_,E=R,C+=1}}if(n.virtualSize=Math.max(n.virtualSize,r)+S,a&&o&&(t.effect==="slide"||t.effect==="coverflow")&&(i.style.width=`${n.virtualSize+_}px`),t.setWrapperSize&&(i.style[n.getDirectionLabel("width")]=`${n.virtualSize+_}px`),I&&n.grid.updateWrapperSize(R,f),!t.centeredSlides){const k=[];for(let N=0;N<f.length;N+=1){let O=f[N];t.roundLengths&&(O=Math.floor(O)),f[N]<=n.virtualSize-r&&k.push(O)}f=k,Math.floor(n.virtualSize-r)-Math.floor(f[f.length-1])>1&&f.push(n.virtualSize-r)}if(l&&t.loop){const k=b[0]+_;if(t.slidesPerGroup>1){const N=Math.ceil((n.virtual.slidesBefore+n.virtual.slidesAfter)/t.slidesPerGroup),O=k*t.slidesPerGroup;for(let j=0;j<N;j+=1)f.push(f[f.length-1]+O)}for(let N=0;N<n.virtual.slidesBefore+n.virtual.slidesAfter;N+=1)t.slidesPerGroup===1&&f.push(f[f.length-1]+k),p.push(p[p.length-1]+k),n.virtualSize+=k}if(f.length===0&&(f=[0]),_!==0){const k=n.isHorizontal()&&a?"marginLeft":n.getDirectionLabel("marginRight");u.filter((N,O)=>!t.cssMode||t.loop?!0:O!==u.length-1).forEach(N=>{N.style[k]=`${_}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let k=0;b.forEach(O=>{k+=O+(_||0)}),k-=_;const N=k>r?k-r:0;f=f.map(O=>O<=0?-g:O>N?N+S:O)}if(t.centerInsufficientSlides){let k=0;b.forEach(O=>{k+=O+(_||0)}),k-=_;const N=(t.slidesOffsetBefore||0)+(t.slidesOffsetAfter||0);if(k+N<r){const O=(r-k-N)/2;f.forEach((j,L)=>{f[L]=j-O}),p.forEach((j,L)=>{p[L]=j+O})}}if(Object.assign(n,{slides:u,snapGrid:f,slidesGrid:p,slidesSizesGrid:b}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){u_(i,"--swiper-centered-offset-before",`${-f[0]}px`),u_(i,"--swiper-centered-offset-after",`${n.size/2-b[b.length-1]/2}px`);const k=-n.snapGrid[0],N=-n.slidesGrid[0];n.snapGrid=n.snapGrid.map(O=>O+k),n.slidesGrid=n.slidesGrid.map(O=>O+N)}if(h!==c&&n.emit("slidesLengthChange"),f.length!==y&&(n.params.watchOverflow&&n.checkOverflow(),n.emit("snapGridLengthChange")),p.length!==v&&n.emit("slidesGridLengthChange"),t.watchSlidesProgress&&n.updateSlidesOffset(),n.emit("slidesUpdated"),!l&&!t.cssMode&&(t.effect==="slide"||t.effect==="fade")){const k=`${t.containerModifierClass}backface-hidden`,N=n.el.classList.contains(k);h<=t.maxBackfaceHiddenSlides?N||n.el.classList.add(k):N&&n.el.classList.remove(k)}}function aae(n){const e=this,t=[],i=e.virtual&&e.params.virtual.enabled;let s=0,r;typeof n=="number"?e.setTransition(n):n===!0&&e.setTransition(e.params.speed);const a=o=>i?e.slides[e.getSlideIndexByData(o)]:e.slides[o];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(o=>{t.push(o)});else for(r=0;r<Math.ceil(e.params.slidesPerView);r+=1){const o=e.activeIndex+r;if(o>e.slides.length&&!i)break;t.push(a(o))}else t.push(a(e.activeIndex));for(r=0;r<t.length;r+=1)if(typeof t[r]<"u"){const o=t[r].offsetHeight;s=o>s?o:s}(s||s===0)&&(e.wrapperEl.style.height=`${s}px`)}function oae(){const n=this,e=n.slides,t=n.isElement?n.isHorizontal()?n.wrapperEl.offsetLeft:n.wrapperEl.offsetTop:0;for(let i=0;i<e.length;i+=1)e[i].swiperSlideOffset=(n.isHorizontal()?e[i].offsetLeft:e[i].offsetTop)-t-n.cssOverflowAdjustment()}const wO=(n,e,t)=>{e&&!n.classList.contains(t)?n.classList.add(t):!e&&n.classList.contains(t)&&n.classList.remove(t)};function lae(n){n===void 0&&(n=this&&this.translate||0);const e=this,t=e.params,{slides:i,rtlTranslate:s,snapGrid:r}=e;if(i.length===0)return;typeof i[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let a=-n;s&&(a=n),e.visibleSlidesIndexes=[],e.visibleSlides=[];let o=t.spaceBetween;typeof o=="string"&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*e.size:typeof o=="string"&&(o=parseFloat(o));for(let l=0;l<i.length;l+=1){const c=i[l];let u=c.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(u-=i[0].swiperSlideOffset);const h=(a+(t.centeredSlides?e.minTranslate():0)-u)/(c.swiperSlideSize+o),f=(a-r[0]+(t.centeredSlides?e.minTranslate():0)-u)/(c.swiperSlideSize+o),p=-(a-u),b=p+e.slidesSizesGrid[l],g=p>=0&&p<=e.size-e.slidesSizesGrid[l],S=p>=0&&p<e.size-1||b>1&&b<=e.size||p<=0&&b>=e.size;S&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(l)),wO(c,S,t.slideVisibleClass),wO(c,g,t.slideFullyVisibleClass),c.progress=s?-h:h,c.originalProgress=s?-f:f}}function cae(n){const e=this;if(typeof n>"u"){const u=e.rtlTranslate?-1:1;n=e&&e.translate&&e.translate*u||0}const t=e.params,i=e.maxTranslate()-e.minTranslate();let{progress:s,isBeginning:r,isEnd:a,progressLoop:o}=e;const l=r,c=a;if(i===0)s=0,r=!0,a=!0;else{s=(n-e.minTranslate())/i;const u=Math.abs(n-e.minTranslate())<1,h=Math.abs(n-e.maxTranslate())<1;r=u||s<=0,a=h||s>=1,u&&(s=0),h&&(s=1)}if(t.loop){const u=e.getSlideIndexByData(0),h=e.getSlideIndexByData(e.slides.length-1),f=e.slidesGrid[u],p=e.slidesGrid[h],b=e.slidesGrid[e.slidesGrid.length-1],g=Math.abs(n);g>=f?o=(g-f)/b:o=(g+b-p)/b,o>1&&(o-=1)}Object.assign(e,{progress:s,progressLoop:o,isBeginning:r,isEnd:a}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&e.updateSlidesProgress(n),r&&!l&&e.emit("reachBeginning toEdge"),a&&!c&&e.emit("reachEnd toEdge"),(l&&!r||c&&!a)&&e.emit("fromEdge"),e.emit("progress",s)}const tA=(n,e,t)=>{e&&!n.classList.contains(t)?n.classList.add(t):!e&&n.classList.contains(t)&&n.classList.remove(t)};function uae(){const n=this,{slides:e,params:t,slidesEl:i,activeIndex:s}=n,r=n.virtual&&t.virtual.enabled,a=n.grid&&t.grid&&t.grid.rows>1,o=h=>ao(i,`.${t.slideClass}${h}, swiper-slide${h}`)[0];let l,c,u;if(r)if(t.loop){let h=s-n.virtual.slidesBefore;h<0&&(h=n.virtual.slides.length+h),h>=n.virtual.slides.length&&(h-=n.virtual.slides.length),l=o(`[data-swiper-slide-index="${h}"]`)}else l=o(`[data-swiper-slide-index="${s}"]`);else a?(l=e.find(h=>h.column===s),u=e.find(h=>h.column===s+1),c=e.find(h=>h.column===s-1)):l=e[s];l&&(a||(u=Qre(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!u&&(u=e[0]),c=Kre(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!c===0&&(c=e[e.length-1]))),e.forEach(h=>{tA(h,h===l,t.slideActiveClass),tA(h,h===u,t.slideNextClass),tA(h,h===c,t.slidePrevClass)}),n.emitSlidesClasses()}const K_=(n,e)=>{if(!n||n.destroyed||!n.params)return;const t=()=>n.isElement?"swiper-slide":`.${n.params.slideClass}`,i=e.closest(t());if(i){let s=i.querySelector(`.${n.params.lazyPreloaderClass}`);!s&&n.isElement&&(i.shadowRoot?s=i.shadowRoot.querySelector(`.${n.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{i.shadowRoot&&(s=i.shadowRoot.querySelector(`.${n.params.lazyPreloaderClass}`),s&&s.remove())})),s&&s.remove()}},nA=(n,e)=>{if(!n.slides[e])return;const t=n.slides[e].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},wC=n=>{if(!n||n.destroyed||!n.params)return;let e=n.params.lazyPreloadPrevNext;const t=n.slides.length;if(!t||!e||e<0)return;e=Math.min(e,t);const i=n.params.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(n.params.slidesPerView),s=n.activeIndex;if(n.params.grid&&n.params.grid.rows>1){const a=s,o=[a-e];o.push(...Array.from({length:e}).map((l,c)=>a+i+c)),n.slides.forEach((l,c)=>{o.includes(l.column)&&nA(n,c)});return}const r=s+i-1;if(n.params.rewind||n.params.loop)for(let a=s-e;a<=r+e;a+=1){const o=(a%t+t)%t;(o<s||o>r)&&nA(n,o)}else for(let a=Math.max(s-e,0);a<=Math.min(r+e,t-1);a+=1)a!==s&&(a>r||a<s)&&nA(n,a)};function dae(n){const{slidesGrid:e,params:t}=n,i=n.rtlTranslate?n.translate:-n.translate;let s;for(let r=0;r<e.length;r+=1)typeof e[r+1]<"u"?i>=e[r]&&i<e[r+1]-(e[r+1]-e[r])/2?s=r:i>=e[r]&&i<e[r+1]&&(s=r+1):i>=e[r]&&(s=r);return t.normalizeSlideIndex&&(s<0||typeof s>"u")&&(s=0),s}function hae(n){const e=this,t=e.rtlTranslate?e.translate:-e.translate,{snapGrid:i,params:s,activeIndex:r,realIndex:a,snapIndex:o}=e;let l=n,c;const u=p=>{let b=p-e.virtual.slidesBefore;return b<0&&(b=e.virtual.slides.length+b),b>=e.virtual.slides.length&&(b-=e.virtual.slides.length),b};if(typeof l>"u"&&(l=dae(e)),i.indexOf(t)>=0)c=i.indexOf(t);else{const p=Math.min(s.slidesPerGroupSkip,l);c=p+Math.floor((l-p)/s.slidesPerGroup)}if(c>=i.length&&(c=i.length-1),l===r&&!e.params.loop){c!==o&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(l===r&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=u(l);return}const h=e.grid&&s.grid&&s.grid.rows>1;let f;if(e.virtual&&s.virtual.enabled&&s.loop)f=u(l);else if(h){const p=e.slides.find(g=>g.column===l);let b=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(b)&&(b=Math.max(e.slides.indexOf(p),0)),f=Math.floor(b/s.grid.rows)}else if(e.slides[l]){const p=e.slides[l].getAttribute("data-swiper-slide-index");p?f=parseInt(p,10):f=l}else f=l;Object.assign(e,{previousSnapIndex:o,snapIndex:c,previousRealIndex:a,realIndex:f,previousIndex:r,activeIndex:l}),e.initialized&&wC(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(a!==f&&e.emit("realIndexChange"),e.emit("slideChange"))}function fae(n,e){const t=this,i=t.params;let s=n.closest(`.${i.slideClass}, swiper-slide`);!s&&t.isElement&&e&&e.length>
vendor: 11,594 bytes, line 232
2321&&e.includes(n)&&[...e.slice(e.indexOf(n)+1,e.length)].forEach(o=>{!s&&o.matches&&o.matches(`.${i.slideClass}, swiper-slide`)&&(s=o)});let r=!1,a;if(s){for(let o=0;o<t.slides.length;o+=1)if(t.slides[o]===s){r=!0,a=o;break}}if(s&&r)t.clickedSlide=s,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(s.getAttribute("data-swiper-slide-index"),10):t.clickedIndex=a;else{t.clickedSlide=void 0,t.clickedIndex=void 0;return}i.slideToClickedSlide&&t.clickedIndex!==void 0&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}var pae={updateSize:sae,updateSlides:rae,updateAutoHeight:aae,updateSlidesOffset:oae,updateSlidesProgress:lae,updateProgress:cae,updateSlidesClasses:uae,updateActiveIndex:hae,updateClickedSlide:fae};function mae(n){n===void 0&&(n=this.isHorizontal()?"x":"y");const e=this,{params:t,rtlTranslate:i,translate:s,wrapperEl:r}=e;if(t.virtualTranslate)return i?-s:s;if(t.cssMode)return s;let a=$re(r,n);return a+=e.cssOverflowAdjustment(),i&&(a=-a),a||0}function gae(n,e){const t=this,{rtlTranslate:i,params:s,wrapperEl:r,progress:a}=t;let o=0,l=0;const c=0;t.isHorizontal()?o=i?-n:n:l=n,s.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),t.previousTranslate=t.translate,t.translate=t.isHorizontal()?o:l,s.cssMode?r[t.isHorizontal()?"scrollLeft":"scrollTop"]=t.isHorizontal()?-o:-l:s.virtualTranslate||(t.isHorizontal()?o-=t.cssOverflowAdjustment():l-=t.cssOverflowAdjustment(),r.style.transform=`translate3d(${o}px, ${l}px, ${c}px)`);let u;const h=t.maxTranslate()-t.minTranslate();h===0?u=0:u=(n-t.minTranslate())/h,u!==a&&t.updateProgress(n),t.emit("setTranslate",t.translate,e)}function yae(){return-this.snapGrid[0]}function vae(){return-this.snapGrid[this.snapGrid.length-1]}function bae(n,e,t,i,s){n===void 0&&(n=0),e===void 0&&(e=this.params.speed),t===void 0&&(t=!0),i===void 0&&(i=!0);const r=this,{params:a,wrapperEl:o}=r;if(r.animating&&a.preventInteractionOnTransition)return!1;const l=r.minTranslate(),c=r.maxTranslate();let u;if(i&&n>l?u=l:i&&n<c?u=c:u=n,r.updateProgress(u),a.cssMode){const h=r.isHorizontal();if(e===0)o[h?"scrollLeft":"scrollTop"]=-u;else{if(!r.support.smoothScroll)return h6({swiper:r,targetPosition:-u,side:h?"left":"top"}),!0;o.scrollTo({[h?"left":"top"]:-u,behavior:"smooth"})}return!0}return e===0?(r.setTransition(0),r.setTranslate(u),t&&(r.emit("beforeTransitionStart",e,s),r.emit("transitionEnd"))):(r.setTransition(e),r.setTranslate(u),t&&(r.emit("beforeTransitionStart",e,s),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(f){!r||r.destroyed||f.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,r.animating=!1,t&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0}var _ae={getTranslate:mae,setTranslate:gae,minTranslate:yae,maxTranslate:vae,translateTo:bae};function Sae(n,e){const t=this;t.params.cssMode||(t.wrapperEl.style.transitionDuration=`${n}ms`,t.wrapperEl.style.transitionDelay=n===0?"0ms":""),t.emit("setTransition",n,e)}function y6(n){let{swiper:e,runCallbacks:t,direction:i,step:s}=n;const{activeIndex:r,previousIndex:a}=e;let o=i;o||(r>a?o="next":r<a?o="prev":o="reset"),e.emit(`transition${s}`),t&&o==="reset"?e.emit(`slideResetTransition${s}`):t&&r!==a&&(e.emit(`slideChangeTransition${s}`),o==="next"?e.emit(`slideNextTransition${s}`):e.emit(`slidePrevTransition${s}`))}function xae(n,e){n===void 0&&(n=!0);const t=this,{params:i}=t;i.cssMode||(i.autoHeight&&t.updateAutoHeight(),y6({swiper:t,runCallbacks:n,direction:e,step:"Start"}))}function wae(n,e){n===void 0&&(n=!0);const t=this,{params:i}=t;t.animating=!1,!i.cssMode&&(t.setTransition(0),y6({swiper:t,runCallbacks:n,direction:e,step:"End"}))}var Eae={setTransition:Sae,transitionStart:xae,transitionEnd:wae};function Aae(n,e,t,i,s){n===void 0&&(n=0),t===void 0&&(t=!0),typeof n=="string"&&(n=parseInt(n,10));const r=this;let a=n;a<0&&(a=0);const{params:o,snapGrid:l,slidesGrid:c,previousIndex:u,activeIndex:h,rtlTranslate:f,wrapperEl:p,enabled:b}=r;if(!b&&!i&&!s||r.destroyed||r.animating&&o.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=r.params.speed);const g=Math.min(r.params.slidesPerGroupSkip,a);let S=g+Math.floor((a-g)/r.params.slidesPerGroup);S>=l.length&&(S=l.length-1);const y=-l[S];if(o.normalizeSlideIndex)for(let I=0;I<c.length;I+=1){const R=-Math.floor(y*100),D=Math.floor(c[I]*100),k=Math.floor(c[I+1]*100);typeof c[I+1]<"u"?R>=D&&R<k-(k-D)/2?a=I:R>=D&&R<k&&(a=I+1):R>=D&&(a=I)}if(r.initialized&&a!==h&&(!r.allowSlideNext&&(f?y>r.translate&&y>r.minTranslate():y<r.translate&&y<r.minTranslate())||!r.allowSlidePrev&&y>r.translate&&y>r.maxTranslate()&&(h||0)!==a))return!1;a!==(u||0)&&t&&r.emit("beforeSlideChangeStart"),r.updateProgress(y);let v;a>h?v="next":a<h?v="prev":v="reset";const _=r.virtual&&r.params.virtual.enabled;if(!(_&&s)&&(f&&-y===r.translate||!f&&y===r.translate))return r.updateActiveIndex(a),o.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),o.effect!=="slide"&&r.setTranslate(y),v!=="reset"&&(r.transitionStart(t,v),r.transitionEnd(t,v)),!1;if(o.cssMode){const I=r.isHorizontal(),R=f?y:-y;if(e===0)_&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),_&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[I?"scrollLeft":"scrollTop"]=R})):p[I?"scrollLeft":"scrollTop"]=R,_&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1});else{if(!r.support.smoothScroll)return h6({swiper:r,targetPosition:R,side:I?"left":"top"}),!0;p.scrollTo({[I?"left":"top"]:R,behavior:"smooth"})}return!0}const C=g6().isSafari;return _&&!s&&C&&r.isElement&&r.virtual.update(!1,!1,a),r.setTransition(e),r.setTranslate(y),r.updateActiveIndex(a),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,i),r.transitionStart(t,v),e===0?r.transitionEnd(t,v):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(R){!r||r.destroyed||R.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(t,v))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0}function Iae(n,e,t,i){n===void 0&&(n=0),t===void 0&&(t=!0),typeof n=="string"&&(n=parseInt(n,10));const s=this;if(s.destroyed)return;typeof e>"u"&&(e=s.params.speed);const r=s.grid&&s.params.grid&&s.params.grid.rows>1;let a=n;if(s.params.loop)if(s.virtual&&s.params.virtual.enabled)a=a+s.virtual.slidesBefore;else{let o;if(r){const f=a*s.params.grid.rows;o=s.slides.find(p=>p.getAttribute("data-swiper-slide-index")*1===f).column}else o=s.getSlideIndexByData(a);const l=r?Math.ceil(s.slides.length/s.params.grid.rows):s.slides.length,{centeredSlides:c}=s.params;let u=s.params.slidesPerView;u==="auto"?u=s.slidesPerViewDynamic():(u=Math.ceil(parseFloat(s.params.slidesPerView,10)),c&&u%2===0&&(u=u+1));let h=l-o<u;if(c&&(h=h||o<Math.ceil(u/2)),i&&c&&s.params.slidesPerView!=="auto"&&!r&&(h=!1),h){const f=c?o<s.activeIndex?"prev":"next":o-s.activeIndex-1<s.params.slidesPerView?"next":"prev";s.loopFix({direction:f,slideTo:!0,activeSlideIndex:f==="next"?o+1:o-l+1,slideRealIndex:f==="next"?s.realIndex:void 0})}if(r){const f=a*s.params.grid.rows;a=s.slides.find(p=>p.getAttribute("data-swiper-slide-index")*1===f).column}else a=s.getSlideIndexByData(a)}return requestAnimationFrame(()=>{s.slideTo(a,e,t,i)}),s}function Cae(n,e,t){e===void 0&&(e=!0);const i=this,{enabled:s,params:r,animating:a}=i;if(!s||i.destroyed)return i;typeof n>"u"&&(n=i.params.speed);let o=r.slidesPerGroup;r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(o=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex<r.slidesPerGroupSkip?1:o,c=i.virtual&&r.virtual.enabled;if(r.loop){if(a&&!c&&r.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&r.cssMode)return requestAnimationFrame(()=>{i.slideTo(i.activeIndex+l,n,e,t)}),!0}return r.rewind&&i.isEnd?i.slideTo(0,n,e,t):i.slideTo(i.activeIndex+l,n,e,t)}function Tae(n,e,t){e===void 0&&(e=!0);const i=this,{params:s,snapGrid:r,slidesGrid:a,rtlTranslate:o,enabled:l,animating:c}=i;if(!l||i.destroyed)return i;typeof n>"u"&&(n=i.params.speed);const u=i.virtual&&s.virtual.enabled;if(s.loop){if(c&&!u&&s.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}const h=o?i.translate:-i.translate;function f(v){return v<0?-Math.floor(Math.abs(v)):Math.floor(v)}const p=f(h),b=r.map(v=>f(v)),g=s.freeMode&&s.freeMode.enabled;let S=r[b.indexOf(p)-1];if(typeof S>"u"&&(s.cssMode||g)){let v;r.forEach((_,x)=>{p>=_&&(v=x)}),typeof v<"u"&&(S=g?r[v]:r[v>0?v-1:v])}let y=0;if(typeof S<"u"&&(y=a.indexOf(S),y<0&&(y=i.activeIndex-1),s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(y=y-i.slidesPerViewDynamic("previous",!0)+1,y=Math.max(y,0))),s.rewind&&i.isBeginning){const v=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(v,n,e,t)}else if(s.loop&&i.activeIndex===0&&s.cssMode)return requestAnimationFrame(()=>{i.slideTo(y,n,e,t)}),!0;return i.slideTo(y,n,e,t)}function Dae(n,e,t){e===void 0&&(e=!0);const i=this;if(!i.destroyed)return typeof n>"u"&&(n=i.params.speed),i.slideTo(i.activeIndex,n,e,t)}function Pae(n,e,t,i){e===void 0&&(e=!0),i===void 0&&(i=.5);const s=this;if(s.destroyed)return;typeof n>"u"&&(n=s.params.speed);let r=s.activeIndex;const a=Math.min(s.params.slidesPerGroupSkip,r),o=a+Math.floor((r-a)/s.params.slidesPerGroup),l=s.rtlTranslate?s.translate:-s.translate;if(l>=s.snapGrid[o]){const c=s.snapGrid[o],u=s.snapGrid[o+1];l-c>(u-c)*i&&(r+=s.params.slidesPerGroup)}else{const c=s.snapGrid[o-1],u=s.snapGrid[o];l-c<=(u-c)*i&&(r-=s.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,s.slidesGrid.length-1),s.slideTo(r,n,e,t)}function Rae(){const n=this;if(n.destroyed)return;const{params:e,slidesEl:t}=n,i=e.slidesPerView==="auto"?n.slidesPerViewDynamic():e.slidesPerView;let s=n.getSlideIndexWhenGrid(n.clickedIndex),r;const a=n.isElement?"swiper-slide":`.${e.slideClass}`,o=n.grid&&n.params.grid&&n.params.grid.rows>1;if(e.loop){if(n.animating)return;r=parseInt(n.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?n.slideToLoop(r):s>(o?(n.slides.length-i)/2-(n.params.grid.rows-1):n.slides.length-i)?(n.loopFix(),s=n.getSlideIndex(ao(t,`${a}[data-swiper-slide-index="${r}"]`)[0]),d6(()=>{n.slideTo(s)})):n.slideTo(s)}else n.slideTo(s)}var kae={slideTo:Aae,slideToLoop:Iae,slideNext:Cae,slidePrev:Tae,slideReset:Dae,slideToClosest:Pae,slideToClickedSlide:Rae};function Nae(n,e){const t=this,{params:i,slidesEl:s}=t;if(!i.loop||t.virtual&&t.params.virtual.enabled)return;const r=()=>{ao(s,`.${i.slideClass}, swiper-slide`).forEach((p,b)=>{p.setAttribute("data-swiper-slide-index",b)})},a=()=>{const f=ao(s,`.${i.slideBlankClass}`);f.forEach(p=>{p.remove()}),f.length>0&&(t.recalcSlides(),t.updateSlides())},o=t.grid&&i.grid&&i.grid.rows>1;i.loopAddBlankSlides&&(i.slidesPerGroup>1||o)&&a();const l=i.slidesPerGroup*(o?i.grid.rows:1),c=t.slides.length%l!==0,u=o&&t.slides.length%i.grid.rows!==0,h=f=>{for(let p=0;p<f;p+=1){const b=t.isElement?Ox("swiper-slide",[i.slideBlankClass]):Ox("div",[i.slideClass,i.slideBlankClass]);t.slidesEl.append(b)}};
vendor: 2,226 bytes, line 232
232if(c){if(i.loopAddBlankSlides){const f=l-t.slides.length%l;h(f),t.recalcSlides(),t.updateSlides()}else Mx("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else if(u){if(i.loopAddBlankSlides){const f=i.grid.rows-t.slides.length%i.grid.rows;h(f),t.recalcSlides(),t.updateSlides()}else Mx("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else r();t.loopFix({slideRealIndex:n,direction:i.centeredSlides?void 0:"next",initial:e})}function Mae(n){let{slideRealIndex:e,slideTo:t=!0,direction:i,setTranslate:s,activeSlideIndex:r,initial:a,byController:o,byMousewheel:l}=n===void 0?{}:n;const c=this;if(!c.params.loop)return;c.emit("beforeLoopFix");const{slides:u,allowSlidePrev:h,allowSlideNext:f,slidesEl:p,params:b}=c,{centeredSlides:g,initialSlide:S}=b;if(c.allowSlidePrev=!0,c.allowSlideNext=!0,c.virtual&&b.virtual.enabled){t&&(!b.centeredSlides&&c.snapIndex===0?c.slideTo(c.virtual.slides.length,0,!1,!0):b.centeredSlides&&c.snapIndex<b.slidesPerView?c.slideTo(c.virtual.slides.length+c.snapIndex,0,!1,!0):c.snapIndex===c.snapGrid.length-1&&c.slideTo(c.virtual.slidesBefore,0,!1,!0)),c.allowSlidePrev=h,c.allowSlideNext=f,c.emit("loopFix");return}let y=b.slidesPerView;y==="auto"?y=c.slidesPerViewDynamic():(y=Math.ceil(parseFloat(b.slidesPerView,10)),g&&y%2===0&&(y=y+1));const v=b.slidesPerGroupAuto?y:b.slidesPerGroup;let _=g?Math.max(v,Math.ceil(y/2)):v;_%v!==0&&(_+=v-_%v),_+=b.loopAdditionalSlides,c.loopedSlides=_;const x=c.grid&&b.grid&&b.grid.rows>1;u.length<y+_||c.params.effect==="cards"&&u.length<y+_*2?Mx("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):x&&b.grid.fill==="row"&&Mx("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const E=[],C=[],I=x?Math.ceil(u.length/b.grid.rows):u.length,R=a&&I-S<y&&!g;let D=R?S:c.activeIndex;typeof r>
vendor: 45,732 bytes, line 232
232"u"?r=c.getSlideIndex(u.find(M=>M.classList.contains(b.slideActiveClass))):D=r;const k=i==="next"||!i,N=i==="prev"||!i;let O=0,j=0;const U=(x?u[r].column:r)+(g&&typeof s>"u"?-y/2+.5:0);if(U<_){O=Math.max(_-U,v);for(let M=0;M<_-U;M+=1){const B=M-Math.floor(M/I)*I;if(x){const F=I-B-1;for(let z=u.length-1;z>=0;z-=1)u[z].column===F&&E.push(z)}else E.push(I-B-1)}}else if(U+y>I-_){j=Math.max(U-(I-_*2),v),R&&(j=Math.max(j,y-I+S+1));for(let M=0;M<j;M+=1){const B=M-Math.floor(M/I)*I;x?u.forEach((F,z)=>{F.column===B&&C.push(z)}):C.push(B)}}if(c.__preventObserver__=!0,requestAnimationFrame(()=>{c.__preventObserver__=!1}),c.params.effect==="cards"&&u.length<y+_*2&&(C.includes(r)&&C.splice(C.indexOf(r),1),E.includes(r)&&E.splice(E.indexOf(r),1)),N&&E.forEach(M=>{u[M].swiperLoopMoveDOM=!0,p.prepend(u[M]),u[M].swiperLoopMoveDOM=!1}),k&&C.forEach(M=>{u[M].swiperLoopMoveDOM=!0,p.append(u[M]),u[M].swiperLoopMoveDOM=!1}),c.recalcSlides(),b.slidesPerView==="auto"?c.updateSlides():x&&(E.length>0&&N||C.length>0&&k)&&c.slides.forEach((M,B)=>{c.grid.updateSlide(B,M,c.slides)}),b.watchSlidesProgress&&c.updateSlidesOffset(),t){if(E.length>0&&N){if(typeof e>"u"){const M=c.slidesGrid[D],F=c.slidesGrid[D+O]-M;l?c.setTranslate(c.translate-F):(c.slideTo(D+Math.ceil(O),0,!1,!0),s&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-F,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-F))}else if(s){const M=x?E.length/b.grid.rows:E.length;c.slideTo(c.activeIndex+M,0,!1,!0),c.touchEventsData.currentTranslate=c.translate}}else if(C.length>0&&k)if(typeof e>"u"){const M=c.slidesGrid[D],F=c.slidesGrid[D-j]-M;l?c.setTranslate(c.translate-F):(c.slideTo(D-j,0,!1,!0),s&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-F,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-F))}else{const M=x?C.length/b.grid.rows:C.length;c.slideTo(c.activeIndex-M,0,!1,!0)}}if(c.allowSlidePrev=h,c.allowSlideNext=f,c.controller&&c.controller.control&&!o){const M={slideRealIndex:e,direction:i,setTranslate:s,activeSlideIndex:r,byController:!0};Array.isArray(c.controller.control)?c.controller.control.forEach(B=>{!B.destroyed&&B.params.loop&&B.loopFix({...M,slideTo:B.params.slidesPerView===b.slidesPerView?t:!1})}):c.controller.control instanceof c.constructor&&c.controller.control.params.loop&&c.controller.control.loopFix({...M,slideTo:c.controller.control.params.slidesPerView===b.slidesPerView?t:!1})}c.emit("loopFix")}function Oae(){const n=this,{params:e,slidesEl:t}=n;if(!e.loop||!t||n.virtual&&n.params.virtual.enabled)return;n.recalcSlides();const i=[];n.slides.forEach(s=>{const r=typeof s.swiperSlideIndex>"u"?s.getAttribute("data-swiper-slide-index")*1:s.swiperSlideIndex;i[r]=s}),n.slides.forEach(s=>{s.removeAttribute("data-swiper-slide-index")}),i.forEach(s=>{t.append(s)}),n.recalcSlides(),n.slideTo(n.realIndex,0)}var Lae={loopCreate:Nae,loopFix:Mae,loopDestroy:Oae};function Bae(n){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const t=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),t.style.cursor="move",t.style.cursor=n?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function jae(){const n=this;n.params.watchOverflow&&n.isLocked||n.params.cssMode||(n.isElement&&(n.__preventObserver__=!0),n[n.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",n.isElement&&requestAnimationFrame(()=>{n.__preventObserver__=!1}))}var Fae={setGrabCursor:Bae,unsetGrabCursor:jae};function zae(n,e){e===void 0&&(e=this);function t(i){if(!i||i===po()||i===ji())return null;i.assignedSlot&&(i=i.assignedSlot);const s=i.closest(n);return!s&&!i.getRootNode?null:s||t(i.getRootNode().host)}return t(e)}function EO(n,e,t){const i=ji(),{params:s}=n,r=s.edgeSwipeDetection,a=s.edgeSwipeThreshold;return r&&(t<=a||t>=i.innerWidth-a)?r==="prevent"?(e.preventDefault(),!0):!1:!0}function Uae(n){const e=this,t=po();let i=n;i.originalEvent&&(i=i.originalEvent);const s=e.touchEventsData;if(i.type==="pointerdown"){if(s.pointerId!==null&&s.pointerId!==i.pointerId)return;s.pointerId=i.pointerId}else i.type==="touchstart"&&i.targetTouches.length===1&&(s.touchId=i.targetTouches[0].identifier);if(i.type==="touchstart"){EO(e,i,i.targetTouches[0].pageX);return}const{params:r,touches:a,enabled:o}=e;if(!o||!r.simulateTouch&&i.pointerType==="mouse"||e.animating&&r.preventInteractionOnTransition)return;!e.animating&&r.cssMode&&r.loop&&e.loopFix();let l=i.target;if(r.touchEventsTarget==="wrapper"&&!Wre(l,e.wrapperEl)||"which"in i&&i.which===3||"button"in i&&i.button>0||s.isTouched&&s.isMoved)return;const c=!!r.noSwipingClass&&r.noSwipingClass!=="",u=i.composedPath?i.composedPath():i.path;c&&i.target&&i.target.shadowRoot&&u&&(l=u[0]);const h=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,f=!!(i.target&&i.target.shadowRoot);if(r.noSwiping&&(f?zae(h,l):l.closest(h))){e.allowClick=!0;return}if(r.swipeHandler&&!l.closest(r.swipeHandler))return;a.currentX=i.pageX,a.currentY=i.pageY;const p=a.currentX,b=a.currentY;if(!EO(e,i,p))return;Object.assign(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=p,a.startY=b,s.touchStartTime=Nx(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,r.threshold>0&&(s.allowThresholdMove=!1);let g=!0;l.matches(s.focusableElements)&&(g=!1,l.nodeName==="SELECT"&&(s.isTouched=!1)),t.activeElement&&t.activeElement.matches(s.focusableElements)&&t.activeElement!==l&&(i.pointerType==="mouse"||i.pointerType!=="mouse"&&!l.matches(s.focusableElements))&&t.activeElement.blur();const S=g&&e.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||S)&&!l.isContentEditable&&i.preventDefault(),r.freeMode&&r.freeMode.enabled&&e.freeMode&&e.animating&&!r.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",i)}function Vae(n){const e=po(),t=this,i=t.touchEventsData,{params:s,touches:r,rtlTranslate:a,enabled:o}=t;if(!o||!s.simulateTouch&&n.pointerType==="mouse")return;let l=n;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(i.touchId!==null||l.pointerId!==i.pointerId))return;let c;if(l.type==="touchmove"){if(c=[...l.changedTouches].find(E=>E.identifier===i.touchId),!c||c.identifier!==i.touchId)return}else c=l;if(!i.isTouched){i.startMoving&&i.isScrolling&&t.emit("touchMoveOpposite",l);return}const u=c.pageX,h=c.pageY;if(l.preventedByNestedSwiper){r.startX=u,r.startY=h;return}if(!t.allowTouchMove){l.target.matches(i.focusableElements)||(t.allowClick=!1),i.isTouched&&(Object.assign(r,{startX:u,startY:h,currentX:u,currentY:h}),i.touchStartTime=Nx());return}if(s.touchReleaseOnEdges&&!s.loop)if(t.isVertical()){if(h<r.startY&&t.translate<=t.maxTranslate()||h>r.startY&&t.translate>=t.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else{if(a&&(u>r.startX&&-t.translate<=t.maxTranslate()||u<r.startX&&-t.translate>=t.minTranslate()))return;if(!a&&(u<r.startX&&t.translate<=t.maxTranslate()||u>r.startX&&t.translate>=t.minTranslate()))return}if(e.activeElement&&e.activeElement.matches(i.focusableElements)&&e.activeElement!==l.target&&l.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&l.target===e.activeElement&&l.target.matches(i.focusableElements)){i.isMoved=!0,t.allowClick=!1;return}i.allowTouchCallbacks&&t.emit("touchMove",l),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=u,r.currentY=h;const f=r.currentX-r.startX,p=r.currentY-r.startY;if(t.params.threshold&&Math.sqrt(f**2+p**2)<t.params.threshold)return;if(typeof i.isScrolling>"u"){let E;t.isHorizontal()&&r.currentY===r.startY||t.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:f*f+p*p>=25&&(E=Math.atan2(Math.abs(p),Math.abs(f))*180/Math.PI,i.isScrolling=t.isHorizontal()?E>s.touchAngle:90-E>s.touchAngle)}if(i.isScrolling&&t.emit("touchMoveOpposite",l),typeof i.startMoving>"u"&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(i.startMoving=!0),i.isScrolling||l.type==="touchmove"&&i.preventTouchMoveFromPointerMove){i.isTouched=!1;return}if(!i.startMoving)return;t.allowClick=!1,!s.cssMode&&l.cancelable&&l.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&l.stopPropagation();let b=t.isHorizontal()?f:p,g=t.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;s.oneWayMovement&&(b=Math.abs(b)*(a?1:-1),g=Math.abs(g)*(a?1:-1)),r.diff=b,b*=s.touchRatio,a&&(b=-b,g=-g);const S=t.touchesDirection;t.swipeDirection=b>0?"prev":"next",t.touchesDirection=g>0?"prev":"next";const y=t.params.loop&&!s.cssMode,v=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!i.isMoved){if(y&&v&&t.loopFix({direction:t.swipeDirection}),i.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const E=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});t.wrapperEl.dispatchEvent(E)}i.allowMomentumBounce=!1,s.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",l)}if(new Date().getTime(),s._loopSwapReset!==!1&&i.isMoved&&i.allowThresholdMove&&S!==t.touchesDirection&&y&&v&&Math.abs(b)>=1){Object.assign(r,{startX:u,startY:h,currentX:u,currentY:h,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}t.emit("sliderMove",l),i.isMoved=!0,i.currentTranslate=b+i.startTranslate;let _=!0,x=s.resistanceRatio;if(s.touchReleaseOnEdges&&(x=0),b>0?(y&&v&&i.allowThresholdMove&&i.currentTranslate>(s.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]-(s.slidesPerView!=="auto"&&t.slides.length-s.slidesPerView>=2?t.slidesSizesGrid[t.activeIndex+1]+t.params.spaceBetween:0)-t.params.spaceBetween:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>t.minTranslate()&&(_=!1,s.resistance&&(i.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+i.startTranslate+b)**x))):b<0&&(y&&v&&i.allowThresholdMove&&i.currentTranslate<(s.centeredSlides?t.maxTranslate()+t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween+(s.slidesPerView!=="auto"&&t.slides.length-s.slidesPerView>=2?t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween:0):t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-(s.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(parseFloat(s.slidesPerView,10)))}),i.currentTranslate<t.maxTranslate()&&(_=!1,s.resistance&&(i.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-i.startTranslate-b)**x))),_&&(l.preventedByNestedSwiper=!0),!t.allowSlideNext&&t.swipeDirection==="next"&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&t.swipeDirection==="prev"&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(i.currentTranslate=i.startTranslate),s.threshold>0)if(Math.abs(b)>s.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,r.diff=t.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY;return}}else{i.currentTranslate=i.startTranslate;return}!s.followFinger||s.cssMode||((s.freeMode&&s.freeMode.enabled&&t.freeMode||s.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(i.currentTranslate),t.setTranslate(i.currentTranslate))}function Xae(n){const e=this,t=e.touchEventsData;let i=n;i.originalEvent&&(i=i.originalEvent);let s;if(i.type==="touchend"||i.type==="touchcancel"){if(s=[...i.changedTouches].find(E=>E.identifier===t.touchId),!s||s.identifier!==t.touchId)return}else{if(t.touchId!==null||i.pointerId!==t.pointerId)return;s=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)&&!(["pointercancel","contextmenu"].includes(i.type)&&(e.browser.isSafari||e.browser.isWebView)))return;t.pointerId=null,t.touchId=null;const{params:a,touches:o,rtlTranslate:l,slidesGrid:c,enabled:u}=e;if(!u||!a.simulateTouch&&i.pointerType==="mouse")return;if(t.allowTouchCallbacks&&e.emit("touchEnd",i),t.allowTouchCallbacks=!1,!t.isTouched){t.isMoved&&a.grabCursor&&e.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1;return}a.grabCursor&&t.isMoved&&t.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const h=Nx(),f=h-t.touchStartTime;if(e.allowClick){const E=i.path||i.composedPath&&i.composedPath();e.updateClickedSlide(E&&E[0]||i.target,E),e.emit("tap click",i),f<300&&h-t.lastClickTime<300&&e.emit("doubleTap doubleClick",i)}if(t.lastClickTime=Nx(),d6(()=>{e.destroyed||(e.allowClick=!0)}),!t.isTouched||!t.isMoved||!e.swipeDirection||o.diff===0&&!t.loopSwapReset||t.currentTranslate===t.startTranslate&&!t.loopSwapReset){t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;return}t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;let p;if(a.followFinger?p=l?e.translate:-e.translate:p=-t.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:p});return}const b=p>=-e.maxTranslate()&&!e.params.loop;let g=0,S=e.slidesSizesGrid[0];for(let E=0;E<c.length;E+=E<a.slidesPerGroupSkip?1:a.slidesPerGroup){const C=E<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof c[E+C]<"u"?(b||p>=c[E]&&p<c[E+C])&&(g=E,S=c[E+C]-c[E]):(b||p>=c[E])&&(g=E,S=c[c.length-1]-c[c.length-2])}let y=null,v=null;a.rewind&&(e.isBeginning?v=a.virtual&&a.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(y=0));const _=(p-c[g])/S,x=g<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(f>a.longSwipesMs){if(!a.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(_>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?y:g+x):e.slideTo(g)),e.swipeDirection==="prev"&&(_>1-a.longSwipesRatio?e.slideTo(g+x):v!==null&&_<0&&Math.abs(_)>a.longSwipesRatio?e.slideTo(v):e.slideTo(g))}else{if(!a.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(i.target===e.navigation.nextEl||i.target===e.navigation.prevEl)?i.target===e.navigation.nextEl?e.slideTo(g+x):e.slideTo(g):(e.swipeDirection==="next"&&e.slideTo(y!==null?y:g+x),e.swipeDirection==="prev"&&e.slideTo(v!==null?v:g))}}function AO(){const n=this,{params:e,el:t}=n;if(t&&t.offsetWidth===0)return;e.breakpoints&&n.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:s,snapGrid:r}=n,a=n.virtual&&n.params.virtual.enabled;n.allowSlideNext=!0,n.allowSlidePrev=!0,n.updateSize(),n.updateSlides(),n.updateSlidesClasses();const o=a&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&n.isEnd&&!n.isBeginning&&!n.params.centeredSlides&&!o?n.slideTo(n.slides.length-1,0,!1,!0):n.params.loop&&!a?n.slideToLoop(n.realIndex,0,!1,!0):n.slideTo(n.activeIndex,0,!1,!0),n.autoplay&&n.autoplay.running&&n.autoplay.paused&&(clearTimeout(n.autoplay.resizeTimeout),n.autoplay.resizeTimeout=setTimeout(()=>{n.autoplay&&n.autoplay.running&&n.autoplay.paused&&n.autoplay.resume()},500)),n.allowSlidePrev=s,n.allowSlideNext=i,n.params.watchOverflow&&r!==n.snapGrid&&n.checkOverflow()}function Hae(n){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&n.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(n.stopPropagation(),n.stopImmediatePropagation())))}function Gae(){const n=this,{wrapperEl:e,rtlTranslate:t,enabled:i}=n;if(!i)return;n.previousTranslate=n.translate,n.isHorizontal()?n.translate=-e.scrollLeft:n.translate=-e.scrollTop,n.translate===0&&(n.translate=0),n.updateActiveIndex(),n.updateSlidesClasses();let s;const r=n.maxTranslate()-n.minTranslate();r===0?s=0:s=(n.translate-n.minTranslate())/r,s!==n.progress&&n.updateProgress(t?-n.translate:n.translate),n.emit("setTranslate",n.translate,!1)}function $ae(n){const e=this;K_(e,n.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function qae(){const n=this;n.documentTouchHandlerProceeded||(n.documentTouchHandlerProceeded=!0,n.params.touchReleaseOnEdges&&(n.el.style.touchAction="auto"))}const v6=(n,e)=>{const t=po(),{params:i,el:s,wrapperEl:r,device:a}=n,o=!!i.nested,l=e==="on"?"addEventListener":"removeEventListener",c=e;!s||typeof s=="string"||(t[l]("touchstart",n.onDocumentTouchStart,{passive:!1,capture:o}),s[l]("touchstart",n.onTouchStart,{passive:!1}),s[l]("pointerdown",n.onTouchStart,{passive:!1}),t[l]("touchmove",n.onTouchMove,{passive:!1,capture:o}),t[l]("pointermove",n.onTouchMove,{passive:!1,capture:o}),t[l]("touchend",n.onTouchEnd,{passive:!0}),t[l]("pointerup",n.onTouchEnd,{passive:!0}),t[l]("pointercancel",n.onTouchEnd,{passive:!0}),t[l]("touchcancel",n.onTouchEnd,{passive:!0}),t[l]("pointerout",n.onTouchEnd,{passive:!0}),t[l]("pointerleave",n.onTouchEnd,{passive:!0}),t[l]("contextmenu",n.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&s[l]("click",n.onClick,!0),i.cssMode&&r[l]("scroll",n.onScroll),i.updateOnWindowResize?n[c](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",AO,!0):n[c]("observerUpdate",AO,!0),s[l]("load",n.onLoad,{capture:!0}))};function Yae(){const n=this,{params:e}=n;n.onTouchStart=Uae.bind(n),n.onTouchMove=Vae.bind(n),n.onTouchEnd=Xae.bind(n),n.onDocumentTouchStart=qae.bind(n),e.cssMode&&(n.onScroll=Gae.bind(n)),n.onClick=Hae.bind(n),n.onLoad=$ae.bind(n),v6(n,"on")}function Wae(){v6(this,"off")}var Kae={attachEvents:Yae,detachEvents:Wae};const IO=(n,e)=>n.grid&&e.grid&&e.grid.rows>1;function Qae(){const n=this,{realIndex:e,initialized:t,params:i,el:s}=n,r=i.breakpoints;if(!r||r&&Object.keys(r).length===0)return;const a=po(),o=i.breakpointsBase==="window"||!i.breakpointsBase?i.breakpointsBase:"container",l=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?n.el:a.querySelector(i.breakpointsBase),c=n.getBreakpoint(r,o,l);if(!c||n.currentBreakpoint===c)return;const h=(c in r?r[c]:void 0)||n.originalParams,f=IO(n,i),p=IO(n,h),b=n.params.grabCursor,g=h.grabCursor,S=i.enabled;f&&!p?(s.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),n.emitContainerClasses()):!f&&p&&(s.classList.add(`${i.containerModifierClass}grid`),(h.grid.fill&&h.grid.fill==="column"||!h.grid.fill&&i.grid.fill==="column")&&s.classList.add(`${i.containerModifierClass}grid-column`),n.emitContainerClasses()),b&&!g?n.unsetGrabCursor():!b&&g&&n.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(C=>{if(typeof h[C]>"u")return;const I=i[C]&&i[C].enabled,R=h[C]&&h[C].enabled;I&&!R&&n[C].disable(),!I&&R&&n[C].enable()});const y=h.direction&&h.direction!==i.direction,v=i.loop&&(h.slidesPerView!==i.slidesPerView||y),_=i.loop;y&&t&&n.changeDirection(),Os(n.params,h);const x=n.params.enabled,E=n.params.loop;Object.assign(n,{allowTouchMove:n.params.allowTouchMove,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev}),S&&!x?n.disable():!S&&x&&n.enable(),n.currentBreakpoint=c,n.emit("_beforeBreakpoint",h),t&&(v?(n.loopDestroy(),n.loopCreate(e),n.updateSlides()):!_&&E?(n.loopCreate(e),n.updateSlides()):_&&!E&&n.loopDestroy()),n.emit("breakpoint",h)}function Jae(n,e,t){if(e===void 0&&(e="window"),!n||e==="container"&&!t)return;let i=!1;const s=ji(),r=e==="window"?s.innerHeight:t.clientHeight,a=Object.keys(n).map(o=>{if(typeof o=="string"&&o.indexOf("@")===0){const l=parseFloat(o.substr(1));return{value:r*l,point:o}}return{value:o,point:o}});a.sort((o,l)=>parseInt(o.value,10)-parseInt(l.value,10));for(let o=0;o<a.length;o+=1){const{point:l,value:c}=a[o];e==="window"?s.matchMedia(`(min-width: ${c}px)`).matches&&(i=l):c<=t.clientWidth&&(i=l)}return i||"max"}var Zae={setBreakpoint:Qae,getBreakpoint:Jae};function eoe(n,e){const t=[];return n.forEach(i=>{typeof i=="object"?Object.keys(i).forEach(s=>{i[s]&&t.push(e+s)}):typeof i=="string"&&t.push(e+i)}),t}function toe(){const n=this,{classNames:e,params:t,rtl:i,el:s,device:r}=n,a=eoe(["initialized",t.direction,{"free-mode":n.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:i},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&t.grid.fill==="column"},{android:r.android},{ios:r.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...a),s.classList.add(...e),n.emitContainerClasses()}function noe(){const n=this,{el:e,classNames:t}=n;!e||typeof e=="string"||(e.classList.remove(...t),n.emitContainerClasses())}var ioe={addClasses:toe,removeClasses:noe};function soe(){const n=this,{isLocked:e,params:t}=n,{slidesOffsetBefore:i}=t;if(i){const s=n.slides.length-1,r=n.slidesGrid[s]+n.slidesSizesGrid[s]+i*2;n.isLocked=n.size>r}else n.isLocked=n.snapGrid.length===1;t.allowSlideNext===!0&&(n.allowSlideNext=!n.isLocked),t.allowSlidePrev===!0&&(n.allowSlidePrev=!n.isLocked),e&&e!==n.isLocked&&(n.isEnd=!1),e!==n.isLocked&&n.emit(n.isLocked?"lock":"unlock")}var roe={checkOverflow:soe},EC={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function aoe(n,e){return function(i){i===void 0&&(i={});const s=Object.keys(i)[0],r=i[s];if(typeof r!="object"||r===null){Os(e,i);return}if(n[s]===!0&&(n[s]={enabled:!0}),s==="navigation"&&n[s]&&n[s].enabled&&!n[s].prevEl&&!n[s].nextEl&&(n[s].auto=!0),["pagination","scrollbar"].indexOf(s)>=0&&n[s]&&n[s].enabled&&!n[s].el&&(n[s].auto=!0),!(s in n&&"enabled"in r)){Os(e,i);return}typeof n[s]=="object"&&!("enabled"in n[s])&&(n[s].enabled=!0),n[s]||(n[s]={enabled:!1}),Os(e,i)}}const iA={eventsEmitter:iae,update:pae,translate:_ae,transition:Eae,slide:kae,loop:Lae,grabCursor:Fae,events:Kae,breakpoints:Zae,checkOverflow:roe,classes:ioe},sA={};let xR=class No{constructor(){let e,t;for(var i=arguments.length,s=new Array(i),r=0;r<i;r++)s[r]=arguments[r];s.length===1&&s[0].constructor&&Object.prototype.toString.call(s[0]).slice(8,-1)==="Object"?t=s[0]:[e,t]=s,t||(t={}),t=Os({},t),e&&!t.el&&(t.el=e);const a=po();if(t.el&&typeof t.el=="string"&&a.querySelectorAll(t.el).length>1){const u=[];return a.querySelectorAll(t.el).forEach(h=>{const f=Os({},t,{el:h});u.push(new No(f))}),u}const o=this;o.__swiper__=!0,o.support=p6(),o.device=m6({userAgent:t.userAgent}),o.browser=g6(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],t.modules&&Array.isArray(t.modules)&&o.modules.push(...t.modules);const l={};o.modules.forEach(u=>{u({params:t,swiper:o,extendParams:aoe(t,l),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const c=Os({},EC,l);return o.params=Os({},c,sA,t),o.originalParams=Os({},o.params),o.passedParams=Os({},t),o.params&&o.params.on&&Object.keys(o.params.on).forEach(u=>{o.on(u,o.params.on[u])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return o.params.direction==="horizontal"},isVertical(){return o.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:i}=this,s=ao(t,`.${i.slideClass}, swiper-slide`),r=Lx(s[0]);return Lx(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>t.getAttribute("data-swiper-slide-index")*1===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?e=Math.floor(e/this.params.grid.rows):this.params.grid.fill==="row"&&(e=e%Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const e=this,{slidesEl:t,params:i}=e;e.slides=ao(t,`.${i.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const i=this;e=Math.min(Math.max(e,0),1);const s=i.minTranslate(),a=(i.maxTranslate()-s)*e+s;i.translateTo(a,typeof t>"u"?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(i=>i.indexOf("swiper")===0||i.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(i=>i.indexOf("swiper-slide")===0||i.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(i=>{const s=e.getSlideClasses(i);t.push({slideEl:i,classNames:s}),e.emit("_slideClass",i,s)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){e===void 0&&(e="current"),t===void 0&&(t=!1);const i=this,{params:s,slides:r,slidesGrid:a,slidesSizesGrid:o,size:l,activeIndex:c}=i;let u=1;if(typeof s.slidesPerView=="number")return s.slidesPerView;if(s.centeredSlides){let h=r[c]?Math.ceil(r[c].swiperSlideSize):0,f;for(let p=c+1;p<r.length;p+=1)r[p]&&!f&&(h+=Math.ceil(r[p].swiperSlideSize),u+=1,h>l&&(f=!0));for(let p=c-1;p>=0;p-=1)r[p]&&!f&&(h+=r[p].swiperSlideSize,u+=1,h>l&&(f=!0))}else if(e==="current")for(let h=c+1;h<r.length;h+=1)(t?a[h]+o[h]-a[c]<l:a[h]-a[c]<l)&&(u+=1);else for(let h=c-1;h>=0;h-=1)a[c]-a[h]<l&&(u+=1);return u}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:i}=e;i.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(a=>{a.complete&&K_(e,a)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function s(){const a=e.rtlTranslate?e.translate*-1:e.translate,o=Math.min(Math.max(a,e.maxTranslate()),e.minTranslate());e.setTranslate(o),e.updateActiveIndex(),e.updateSlidesClasses()}let r;if(i.freeMode&&i.freeMode.enabled&&!i.cssMode)s(),i.autoHeight&&e.updateAutoHeight();else{if((i.slidesPerView==="auto"||i.slidesPerView>1)&&e.isEnd&&!i.centeredSlides){const a=e.virtual&&i.virtual.enabled?e.virtual.slides:e.slides;r=e.slideTo(a.length-1,0,!1,!0)}else r=e.slideTo(e.activeIndex,0,!1,!0);r||s()}i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){t===void 0&&(t=!0);const i=this,s=i.params.direction;return e||(e=s==="horizontal"?"vertical":"horizontal"),e===s||e!=="horizontal"&&e!=="vertical"||(i.el.classList.remove(`${i.params.containerModifierClass}${s}`),i.el.classList.add(`${i.params.containerModifierClass}${e}`),i.emitContainerClasses(),i.params.direction=e,i.slides.forEach(r=>{e==="vertical"?r.style.width="":r.style.height=""}),i.emit("changeDirection"),t&&i.update()),i}changeLanguageDirection(e){const t=this;t.rtl&&e==="rtl"||!t.rtl&&e==="ltr"||(t.rtl=e==="rtl",t.rtlTranslate=t.params.direction==="horizontal"&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let i=e||t.params.el;if(typeof i=="string"&&(i=document.querySelector(i)),!i)return!1;i.swiper=t,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const s=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(s()):ao(i,s())[0];return!a&&t.params.createElements&&(a=Ox("div",t.params.wrapperClass),i.append(a),ao(i,`.${t.params.slideClass}`).forEach(o=>{a.append(o)})),Object.assign(t,{el:i,wrapperEl:a,slidesEl:t.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:a,hostEl:t.isElement?i.parentNode.host:i,mounted:!0,rtl:i.dir.toLowerCase()==="rtl"||_u(i,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(i.dir.toLowerCase()==="rtl"||_u(i,"direction")==="rtl"),wrongRTL:_u(a,"display")==="-webkit-box"}),!0}init(e){const t=this;if(t.initialized||t.mount(e)===!1)return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();const s=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&s.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),s.forEach(r=>{r.complete?K_(t,r):r.addEventListener("load",a=>{K_(t,a.target)})}),wC(t),t.initialized=!0,wC(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){e===void 0&&(e=!0),t===void 0&&(t=!0);const i=this,{params:s,el:r,wrapperEl:a,slides:o}=i;return typeof i.params>"u"||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),s.loop&&i.loopDestroy(),t&&(i.removeClasses(),r&&typeof r!="string"&&r.removeAttribute("style"),a&&a.removeAttribute("style"),o&&o.length&&o.forEach(l=>{l.classList.remove(s.slideVisibleClass,s.slideFullyVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(l=>{i.off(l)}),e!==!1&&(i.el&&typeof i.el!="string"&&(i.el.swiper=null),Hre(i)),i.destroyed=!0),null}static extendDefaults(e){Os(sA,e)}static get extendedDefaults(){return sA}static get defaults(){return EC}static installModule(e){No.prototype.__modules__||(No.prototype.__modules__=[]);const t=No.prototype.__modules__;typeof e=="function"&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(t=>No.installModule(t)),No):(No.installModule(e),No)}};Object.keys(iA).forEach(n=>{Object.keys(iA[n]).forEach(e=>{xR.prototype[e]=iA[n][e]})});xR.use([tae,nae]);const b6=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function af(n){return typeof n=="object"&&n!==null&&n.constructor&&Object.prototype.toString.call(n).slice(8,-1)==="Object"&&!n.__swiper__}function Ep(n,e){const t=["__proto__","constructor","prototype"];Object.keys(e).filter(i=>t.indexOf(i)<0).forEach(i=>{typeof n[i]>"u"?n[i]=e[i]:af(e[i])&&af(n[i])&&Object.keys(e[i]).length>0?e[i].__swiper__?n[i]=e[i]:Ep(n[i],e[i]):n[i]=e[i]})}function _6(n){return n===void 0&&(n={}),n.navigation&&typeof n.navigation.nextEl>"u"&&typeof n.navigation.prevEl>"u"}function S6(n){return n===void 0&&(n={}),n.pagination&&typeof n.pagination.el>"u"}function x6(n){return n===void 0&&(n={}),n.scrollbar&&typeof n.scrollbar.el>"u"}function w6(n){n===void 0&&(n="");const e=n.split(" ").map(i=>i.trim()).filter(i=>!!i),t=[];return e.forEach(i=>{t.indexOf(i)<0&&t.push(i)}),t.join(" ")}function ooe(n){return n===void 0&&(n=""),n?n.includes("swiper-wrapper")?n:`swiper-wrapper ${n}`:"swiper-wrapper"}function loe(n){let{swiper:e,slides:t,passedParams:i,changedParams:s,nextEl:r,prevEl:a,scrollbarEl:o,paginationEl:l}=n;const c=s.filter(D=>D!=="children"&&D!=="direction"&&D!=="wrapperClass"),{params:u,pagination:h,navigation:f,scrollbar:p,virtual:b,thumbs:g}=e;let S,y,v,_,x,E,C,I;s.includes("thumbs")&&i.thumbs&&i.thumbs.swiper&&!i.thumbs.swiper.destroyed&&u.thumbs&&(!u.thumbs.swiper||u.thumbs.swiper.destroyed)&&(S=!0),s.includes("controller")&&i.controller&&i.controller.control&&u.controller&&!u.controller.control&&(y=!0),s.includes("pagination")&&i.pagination&&(i.pagination.el||l)&&(u.pagination||u.pagination===!1)&&h&&!h.el&&(v=!0),s.includes("scrollbar")&&i.scrollbar&&(i.scrollbar.el||o)&&(u.scrollbar||u.scrollbar===!1)&&p&&!p.el&&(_=!0),s.includes("navigation")&&i.navigation&&(i.navigation.prevEl||a)&&(i.navigation.nextEl||r)&&(u.navigation||u.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(x=!0);const R=D=>{e[D]&&(e[D].destroy(),D==="navigation"?(e.isElement&&(e[D].prevEl.remove(),e[D].nextEl.remove()),u[D].prevEl=void 0,u[D].nextEl=void 0,e[D].prevEl=void 0,e[D].nextEl=void 0):(e.isElement&&e[D].el.remove(),u[D].el=void 0,e[D].el=void 0))};s.includes("loop")&&e.isElement&&(u.loop&&!i.loop?E=!0:!u.loop&&i.loop?C=!0:I=!0),c.forEach(D=>{if(af(u[D])&&af(i[D]))Object.assign(u[D],i[D]),(D==="navigation"||D==="pagination"||D==="scrollbar")&&"enabled"in i[D]&&!i[D].enabled&&R(D);else{const k=i[D];(k===!0||k===!1)&&(D==="navigation"||D==="pagination"||D==="scrollbar")?k===!1&&R(D):u[D]=i[D]}}),c.includes("controller")&&!y&&e.controller&&e.controller.control&&u.controller&&u.controller.control&&(e.controller.control=u.controller.control),s.includes("children")&&t&&b&&u.virtual.enabled?(b.slides=t,b.update(!0)):s.includes("virtual")&&b&&u.virtual.enabled&&(t&&(b.slides=t),b.update(!0)),s.includes("children")&&t&&u.loop&&(I=!0),S&&g.init()&&g.update(!0),y&&(e.controller.control=u.controller.control),v&&(e.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),e.el.appendChild(l)),l&&(u.pagination.el=l),h.init(),h.render(),h.update()),_&&(e.isElement&&(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-scrollbar"),o.part.add("scrollbar"),e.el.appendChild(o)),o&&(u.scrollbar.el=o),p.init(),p.updateSize(),p.setTranslate()),x&&(e.isElement&&((!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-next"),Bx(r,e.hostEl.constructor.nextButtonSvg),r.part.add("button-next"),e.el.appendChild(r)),(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-prev"),Bx(a,e.hostEl.constructor.prevButtonSvg),a.part.add("button-prev"),e.el.appendChild(a))),r&&(u.navigation.nextEl=r),a&&(u.navigation.prevEl=a),f.init(),f.update()),s.includes("allowSlideNext")&&(e.allowSlideNext=i.allowSlideNext),s.includes("allowSlidePrev")&&(e.allowSlidePrev=i.allowSlidePrev),s.includes("direction")&&e.changeDirection(i.direction,!1),(E||I)&&e.loopDestroy(),(C||I)&&e.loopCreate(),e.update()}function coe(n,e){n===void 0&&(n={}),e===void 0&&(e=!0);const t={on:{}},i={},s={};Ep(t,EC),t._emitClasses=!0,t.init=!1;const r={},a=b6.map(l=>l.replace(/_/,"")),o=Object.assign({},n);return Object.keys(o).forEach(l=>{typeof n[l]>"u"||(a.indexOf(l)>=0?af(n[l])?(t[l]={},s[l]={},Ep(t[l],n[l]),Ep(s[l],n[l])):(t[l]=n[l],s[l]=n[l]):l.search(/on[A-Z]/)===0&&typeof n[l]=="function"?e?i[`${l[2].toLowerCase()}${l.substr(3)}`]=n[l]:t.on[`${l[2].toLowerCase()}${l.substr(3)}`]=n[l]:r[l]=n[l])}),["navigation","pagination","scrollbar"].forEach(l=>{t[l]===!0&&(t[l]={}),t[l]===!1&&delete t[l]}),{params:t,passedParams:s,rest:r,events:i}}function uoe(n,e){let{el:t,nextEl:i,prevEl:s,paginationEl:r,scrollbarEl:a,swiper:o}=n;_6(e)&&i&&s&&(o.params.navigation.nextEl=i,o.originalParams.navigation.nextEl=i,o.params.navigation.prevEl=s,o.originalParams.navigation.prevEl=s),S6(e)&&r&&(o.params.pagination.el=r,o.originalParams.pagination.el=r),x6(e)&&a&&(o.params.scrollbar.el=a,o.originalParams.scrollbar.el=a),o.init(t)}function doe(n,e,t,i,s){const r=[];if(!e)return r;const a=l=>{r.indexOf(l)<0&&r.push(l)};if(t&&i){const l=i.map(s),c=t.map(s);l.join("")!==c.join("")&&a("children"),i.length!==t.length&&a("children")}return b6.filter(l=>l[0]==="_").map(l=>l.replace(/_/,"")).forEach(l=>{if(l in n&&l in e)if(af(n[l])&&af(e[l])){const c=Object.keys(n[l]),u=Object.keys(e[l]);c.length!==u.length?a(l):(c.forEach(h=>{n[l][h]!==e[l][h]&&a(l)}),u.forEach(h=>{n[l][h]!==e[l][h]&&a(l)}))}else n[l]!==e[l]&&a(l)}),r}const hoe=n=>{!n||n.destroyed||!n.params.virtual||n.params.virtual&&!n.params.virtual.enabled||(n.updateSlides(),n.updateProgress(),n.updateSlidesClasses(),n.emit("_virtualUpdated"),n.parallax&&n.params.parallax&&n.params.parallax.enabled&&n.parallax.setTranslate())};function jx(){return jx=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},jx.apply(this,arguments)}function E6(n){return n.type&&n.type.displayName&&n.type.displayName.includes("SwiperSlide")}function A6(n){const e=[];return V.Children.toArray(n).forEach(t=>{E6(t)?e.push(t):t.props&&t.props.children&&A6(t.props.children).forEach(i=>e.push(i))}),e}function foe(n){const e=[],t={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return V.Children.toArray(n).forEach(i=>{if(E6(i))e.push(i);else if(i.props&&i.props.slot&&t[i.props.slot])t[i.props.slot].push(i);else if(i.props&&i.props.children){const s=A6(i.props.children);s.length>0?s.forEach(r=>e.push(r)):t["container-end"].push(i)}else t["container-end"].push(i)}),{slides:e,slots:t}}function poe(n,e,t){if(!t)return null;const i=u=>{let h=u;return u<0?h=e.length+u:h>=e.length&&(h=h-e.length),h},s=n.isHorizontal()?{[n.rtlTranslate?"right":"left"]:`${t.offset}px`}:{top:`${t.offset}px`},{from:r,to:a}=t,o=n.params.loop?-e.length:0,l=n.params.loop?e.length*2:e.length,c=[];for(let u=o;u<l;u+=1)u>=r&&u<=a&&c.push(e[i(u)]);return c.map((u,h)=>V.cloneElement(u,{swiper:n,style:s,key:u.props.virtualIndex||u.key||`slide-${h}`}))}function Ey(n,e){return typeof window>"u"?w.useEffect(n,e):w.useLayoutEffect(n,e)}const CO=w.createContext(null),moe=w.createContext(null),I6=w.forwardRef(function(n,e){let{className:t,tag:i="div",wrapperTag:s="div",children:r,onSwiper:a,...o}=n===void 0?{}:n,l=!1;const[c,u]=w.useState("swiper"),[h,f]=w.useState(null),[p,b]=w.useState(!1),g=w.useRef(!1),S=w.useRef(null),y=w.useRef(null),v=w.useRef(null),_=w.useRef(null),x=w.useRef(null),E=w.useRef(null),C=w.useRef(null),I=w.useRef(null),{params:R,passedParams:D,rest:k,events:N}=coe(o),{slides:O,slots:j}=foe(r),L=()=>{b(!p)};Object.assign(R.on,{_containerClasses(z,G){u(G)}});const U=()=>{Object.assign(R.on,N),l=!0;const z={...R};if(delete z.wrapperClass,y.current=new xR(z),y.current.virtual&&y.current.params.virtual.enabled){y.current.virtual.slides=O;const G={cache:!1,slides:O,renderExternal:f,renderExternalUpdate:!1};Ep(y.current.params.virtual,G),Ep(y.current.originalParams.virtual,G)}};S.current||U(),y.current&&y.current.on("_beforeBreakpoint",L);const M=()=>{l||!N||!y.current||Object.keys(N).forEach(z=>{y.current.on(z,N[z])})},B=()=>{!N||!y.current||Object.keys(N).forEach(z=>{y.current.off(z,N[z])})};w.useEffect(()=>()=>{y.current&&y.current.off("_beforeBreakpoint",L)}),w.useEffect(()=>{!g.current&&y.current&&(y.current.emitSlidesClasses(),g.current=!0)}),Ey(()=>{if(e&&(e.current=S.current),!!S.current)return y.current.destroyed&&U(),uoe({el:S.current,nextEl:x.current,prevEl:E.current,paginationEl:C.current,scrollbarEl:I.current,swiper:y.current},R),a&&!y.current.destroyed&&a(y.current),()=>{y.current&&!y.current.destroyed&&y.current.destroy(!0,!1)}},[]),Ey(()=>{M();const z=doe(D,v.current,O,_.current,G=>G.key);return v.current=D,_.current=O,z.length&&y.current&&!y.current.destroyed&&loe({swiper:y.current,slides:O,passedParams:D,changedParams:z,nextEl:x.current,prevEl:E.current,scrollbarEl:I.current,paginationEl:C.current}),()=>{B()}}),Ey(()=>{hoe(y.current)},[h]);function F(){return R.virtual?poe(y.current,O,h):O.map((z,G)=>V.cloneElement(z,{swiper:y.current,swiperSlideIndex:G}))}return V.createElement(i,jx({ref:S,className:w6(`${c}${t?` ${t}`:""}`)},k),V.createElement(moe.Provider,{value:y.current},j["container-start"],V.createElement(s,{className:ooe(R.wrapperClass)},j["wrapper-start"],F(),j["wrapper-end"]),_6(R)&&V.createElement(V.Fragment,null,V.createElement("div",{ref:E,className:"swiper-button-prev"}),V.createElement("div",{ref:x,className:"swiper-button-next"})),x6(R)&&V.createElement("div",{ref:I,className:"swiper-scrollbar"}),S6(R)&&V.createElement("div",{ref:C,className:"swiper-pagination"}),j["container-end"]))});I6.displayName="Swiper";const C6=w.forwardRef(function(n,e){let{tag:t="div",children:i,className:s="",swiper:r,zoom:a,lazy:o,virtualIndex:l,swiperSlideIndex:c,...u}=n===void 0?{}:n;const h=w.useRef(null),[f,p]=w.useState("swiper-slide"),[b,g]=w.useState(!1);function S(x,E,C){E===h.current&&p(C)}Ey(()=>{if(typeof c<"u"&&(h.current.swiperSlideIndex=c),e&&(e.current=h.current),!(!h.current||!r)){if(r.destroyed){f!=="swiper-slide"&&p("swiper-slide");return}return r.on("_slideClass",S),()=>{r&&r.off("_slideClass",S)}}}),Ey(()=>{r&&h.current&&!r.destroyed&&p(r.getSlideClasses(h.current))},[r]);const y={isActive:f.indexOf("swiper-slide-active")>=0,isVisible:f.indexOf("swiper-slide-visible")>=0,isPrev:f.indexOf("swiper-slide-prev")>=0,isNext:f.indexOf("swiper-slide-next")>=0},v=()=>typeof i=="function"?i(y):i,_=()=>{g(!0)};return V.createElement(t,jx({ref:h,className:w6(`${f}${s?` ${s}`:""}`),"data-swiper-slide-index":l,onLoad:_},u),a&&V.createElement(CO.Provider,{value:y},V.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof a=="number"?a:void 0},v(),o&&!b&&V.createElement("div",{className:"swiper-lazy-preloader"}))),!a&&V.createElement(CO.Provider,{value:y},v(),o&&!b&&V.createElement("div",{className:"swiper-lazy-preloader"})))});C6.displayName="SwiperSlide";function goe(n,e,t,i){return n.params.createElements&&Object.keys(i).forEac
vendor: 4,238 bytes, line 232
232h(s=>{if(!t[s]&&t.auto===!0){let r=ao(n.el,`.${i[s]}`)[0];r||(r=Ox("div",i[s]),r.className=i[s],n.el.append(r)),t[s]=r,e[s]=r}}),t}function x0(n){return n===void 0&&(n=""),`.${n.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function yoe(n){let{swiper:e,extendParams:t,on:i,emit:s}=n;const r="swiper-pagination";t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:v=>v,formatFractionTotal:v=>v,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),e.pagination={el:null,bullets:[]};let a,o=0;function l(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(v,_){const{bulletActiveClass:x}=e.params.pagination;v&&(v=v[`${_==="prev"?"previous":"next"}ElementSibling`],v&&(v.classList.add(`${x}-${_}`),v=v[`${_==="prev"?"previous":"next"}ElementSibling`],v&&v.classList.add(`${x}-${_}-${_}`)))}function u(v,_,x){if(v=v%x,_=_%x,_===v+1)return"next";if(_===v-1)return"previous"}function h(v){const _=v.target.closest(x0(e.params.pagination.bulletClass));if(!_)return;v.preventDefault();const x=Lx(_)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===x)return;const E=u(e.realIndex,x,e.slides.length);E==="next"?e.slideNext():E==="previous"?e.slidePrev():e.slideToLoop(x)}else e.slideTo(x)}function f(){const v=e.rtl,_=e.params.pagination;if(l())return;let x=e.pagination.el;x=Po(x);let E,C;const I=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,R=e.params.loop?Math.ceil(I/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(C=e.previousRealIndex||0,E=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(E=e.snapIndex,C=e.previousSnapIndex):(C=e.previousIndex||0,E=e.activeIndex||0),_.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const D=e.pagination.bullets;let k,N,O;if(_.dynamicBullets&&(a=xC(D[0],e.isHorizontal()?"width":"height"),x.forEach(j=>{j.style[e.isHorizontal()?"width":"height"]=`${a*(_.dynamicMainBullets+4)}px`}),_.dynamicMainBullets>1&&C!==void 0&&(o+=E-(C||0),o>_.dynamicMainBullets-1?o=_.dynamicMainBullets-1:o<0&&(o=0)),k=Math.max(E-o,0),N=k+(Math.min(D.length,_.dynamicMainBullets)-1),O=(N+k)/2),D.forEach(j=>{const L=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(U=>`${_.bulletActiveClass}${U}`)].map(U=>typeof U=="string"&&U.includes(" ")?U.split(" "):U).flat();j.classList.remove(...L)}),x.length>1)D.forEach(j=>{const L=Lx(j);L===E?j.classList.add(..._.bulletActiveClass.split(" ")):e.isElement&&j.setAttribute("part","bullet"),_.dynamicBullets&&(L>=k&&L<=N&&j.classList.add(...`${_.bulletActiveClass}-main`.split(" ")),L===k&&c(j,"prev"),L===N&&c(j,"next"))});else{const j=D[E];if(j&&j.classList.add(..._.bulletActiveClass.split(" ")),e.isElement&&D.forEach((L,U)=>{L.setAttribute("part",U===E?"bullet-active":"bullet")}),_.dynamicBullets){const L=D[k],U=D[N];for(let M=k;M<=N;M+=1)D[M]&&D[M].classList.add(...`${_.bulletActiveClass}-main`.split(" "));c(L,"prev"),c(U,"next")}}if(_.dynamicBullets){const j=Math.min(D.length,_.dynamicMainBullets+4),L=(a*j-a)/2-O*a,U=v?"right":"left";D.forEach(M=>{M.style[e.isHorizontal()?U:"top"]=`${L}px`})}}x.forEach((D,k)=>{if(_.type==="fraction"&&(D.querySelectorAll(x0(_.currentClass)).forEach(N=>{N.textContent=_.formatFractionCurrent(E+1)}),D.querySelectorAll(x0(_.totalClass)).forEach(N=>{N.textContent=_.formatFractionTotal(R)})),_.type==="progressbar"){let N;_.progressbarOpposite?N=e.isHorizontal()?"vertical":"horizontal":N=e.isHorizontal()?"horizontal":"vertical";const O=(E+1)/R;let j=1,L=1;N==="horizontal"?j=O:L=O,D.querySelectorAll(x0(_.progressbarFillClass)).forEac
vendor: 4,105 bytes, line 232
232h(U=>{U.style.transform=`translate3d(0,0,0) scaleX(${j}) scaleY(${L})`,U.style.transitionDuration=`${e.params.speed}ms`})}_.type==="custom"&&_.renderCustom?(Bx(D,_.renderCustom(e,E+1,R)),k===0&&s("paginationRender",D)):(k===0&&s("paginationRender",D),s("paginationUpdate",D)),e.params.watchOverflow&&e.enabled&&D.classList[e.isLocked?"add":"remove"](_.lockClass)})}function p(){const v=e.params.pagination;if(l())return;const _=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let x=e.pagination.el;x=Po(x);let E="";if(v.type==="bullets"){let C=e.params.loop?Math.ceil(_/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&C>_&&(C=_);for(let I=0;I<C;I+=1)v.renderBullet?E+=v.renderBullet.call(e,I,v.bulletClass):E+=`<${v.bulletElement} ${e.isElement?'part="bullet"':""} class="${v.bulletClass}"></${v.bulletElement}>`}v.type==="fraction"&&(v.renderFraction?E=v.renderFraction.call(e,v.currentClass,v.totalClass):E=`<span class="${v.currentClass}"></span> / <span class="${v.totalClass}"></span>`),v.type==="progressbar"&&(v.renderProgressbar?E=v.renderProgressbar.call(e,v.progressbarFillClass):E=`<span class="${v.progressbarFillClass}"></span>`),e.pagination.bullets=[],x.forEach(C=>{v.type!=="custom"&&Bx(C,E||""),v.type==="bullets"&&e.pagination.bullets.push(...C.querySelectorAll(x0(v.bulletClass)))}),v.type!=="custom"&&s("paginationRender",x[0])}function b(){e.params.pagination=goe(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const v=e.params.pagination;if(!v.el)return;let _;typeof v.el=="string"&&e.isElement&&(_=e.el.querySelector(v.el)),!_&&typeof v.el=="string"&&(_=[...document.querySelectorAll(v.el)]),_||(_=v.el),!(!_||_.length===0)&&(e.params.uniqueNavElements&&typeof v.el=="string"&&Array.isArray(_)&&_.length>1&&(_=[...e.el.querySelectorAll(v.el)],_.length>1&&(_=_.find(x=>f6(x,".swiper")[0]===e.el))),Array.isArray(_)&&_.length===1&&(_=_[0]),Object.assign(e.pagination,{el:_}),_=Po(_),_.forEach(x=>{v.type==="bullets"&&v.clickable&&x.classList.add(...(v.clickableClass||"").split(" ")),x.classList.add(v.modifierClass+v.type),x.classList.add(e.isHorizontal()?v.horizontalClass:v.verticalClass),v.type==="bullets"&&v.dynamicBullets&&(x.classList.add(`${v.modifierClass}${v.type}-dynamic`),o=0,v.dynamicMainBullets<1&&(v.dynamicMainBullets=1)),v.type==="progressbar"&&v.progressbarOpposite&&x.classList.add(v.progressbarOppositeClass),v.clickable&&x.addEventListener("click",h),e.enabled||x.classList.add(v.lockClass)}))}function g(){const v=e.params.pagination;if(l())return;let _=e.pagination.el;_&&(_=Po(_),_.forEach(x=>{x.classList.remove(v.hiddenClass),x.classList.remove(v.modifierClass+v.type),x.classList.remove(e.isHorizontal()?v.horizontalClass:v.verticalClass),v.clickable&&(x.classList.remove(...(v.clickableClass||"").split(" ")),x.removeEventListener("click",h))})),e.pagination.bullets&&e.pagination.bullets.forEach(x=>x.classList.remove(...v.bulletActiveClass.split(" ")))}i("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const v=e.params.pagination;let{el:_}=e.pagination;_=Po(_),_.forEach(x=>{x.classList.remove(v.horizontalClass,v.verticalClass),x.classList.add(e.isHorizontal()?v.horizontalClass:v.verticalClass)})}),i("init",()=>{e.params.pagination.enabled===!1?y():(b(),p(),f())}),i("activeIndexChange",()=>{typeof e.snapIndex>"u"&&f()}),i("snapIndexChange",()=>{f()}),i("snapGridLengthChange",()=>{p(),f()}),i("destroy",()=>{g()}),i("enable disable",()=>{let{el:v}=e.pagination;v&&(v=Po(v),v.forEach(_=>_.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),i("lock unlock",()=>{f()}),i("click",(v,_)=>{const x=_.target,E=Po(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&E&&E.length>0&&!x.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&x===e.navigation.nextEl||e.navigation.prevEl&&x===e.navigation.prevEl))return;const C=E[0].classList.contains(e.params.pagination.hiddenClass);
vendor: 5,939 bytes, line 232
232s(C===!0?"paginationShow":"paginationHide"),E.forEach(I=>I.classList.toggle(e.params.pagination.hiddenClass))}});const S=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:v}=e.pagination;v&&(v=Po(v),v.forEach(_=>_.classList.remove(e.params.pagination.paginationDisabledClass))),b(),p(),f()},y=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:v}=e.pagination;v&&(v=Po(v),v.forEach(_=>_.classList.add(e.params.pagination.paginationDisabledClass))),g()};Object.assign(e.pagination,{enable:S,disable:y,render:p,update:f,init:b,destroy:g})}function voe(n){let{swiper:e,extendParams:t,on:i,emit:s,params:r}=n;e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let a,o,l=r&&r.autoplay?r.autoplay.delay:3e3,c=r&&r.autoplay?r.autoplay.delay:3e3,u,h=new Date().getTime(),f,p,b,g,S,y,v;function _(F){!e||e.destroyed||!e.wrapperEl||F.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",_),!(v||F.detail&&F.detail.bySwiperTouchMove)&&k())}const x=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?f=!0:f&&(c=u,f=!1);const F=e.autoplay.paused?u:h+c-new Date().getTime();e.autoplay.timeLeft=F,s("autoplayTimeLeft",F,F/l),o=requestAnimationFrame(()=>{x()})},E=()=>{let F;return e.virtual&&e.params.virtual.enabled?F=e.slides.find(G=>G.classList.contains("swiper-slide-active")):F=e.slides[e.activeIndex],F?parseInt(F.getAttribute("data-swiper-autoplay"),10):void 0},C=F=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(o),x();let z=typeof F>"u"?e.params.autoplay.delay:F;l=e.params.autoplay.delay,c=e.params.autoplay.delay;const G=E();!Number.isNaN(G)&&G>0&&typeof F>"u"&&(z=G,l=G,c=G),u=z;const te=e.params.speed,Y=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(te,!0,!0),s("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,te,!0,!0),s("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(te,!0,!0),s("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,te,!0,!0),s("autoplay")),e.params.cssMode&&(h=new Date().getTime(),requestAnimationFrame(()=>{C()})))};return z>0?(clearTimeout(a),a=setTimeout(()=>{Y()},z)):requestAnimationFrame(()=>{Y()}),z},I=()=>{h=new Date().getTime(),e.autoplay.running=!0,C(),s("autoplayStart")},R=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(o),s("autoplayStop")},D=(F,z)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),F||(y=!0);const G=()=>{s("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",_):k()};if(e.autoplay.paused=!0,z){S&&(u=e.params.autoplay.delay),S=!1,G();return}u=(u||e.params.autoplay.delay)-(new Date().getTime()-h),!(e.isEnd&&u<0&&!e.params.loop)&&(u<0&&(u=0),G())},k=()=>{e.isEnd&&u<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(h=new Date().getTime(),y?(y=!1,C(u)):C(),e.autoplay.paused=!1,s("autoplayResume"))},N=()=>{if(e.destroyed||!e.autoplay.running)return;const F=po();F.visibilityState==="hidden"&&(y=!0,D(!0)),F.visibilityState==="visible"&&k()},O=F=>{F.pointerType==="mouse"&&(y=!0,v=!0,!(e.animating||e.autoplay.paused)&&D(!0))},j=F=>{F.pointerType==="mouse"&&(v=!1,e.autoplay.paused&&k())},L=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",O),e.el.addEventListener("pointerleave",j))},U=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",O),e.el.removeEventListener("pointerleave",j))},M=()=>{po().addEventListener("visibilitychange",N)},B=()=>{po().removeEventListener("visibilitychange",N)};i("init",()=>{e.params.autoplay.enabled&&(L(),M(),I())}),i("destroy",()=>{U(),B(),e.autoplay.running&&R()}),i("_freeModeStaticRelease",()=>{(b||y)&&k()}),i("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?R():D(!0,!0)}),i("beforeTransitionStart",(F,z,G)=>{e.destroyed||!e.autoplay.running||(G||!e.params.autoplay.disableOnInteraction?D(!0,!0):R())}),i("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){R();return}p=!0,b=!1,y=!1,g=setTimeout(()=>{y=!0,b=!0,D(!0)},200)}}),i("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!p)){if(clearTimeout(g),clearTimeout(a),e.params.autoplay.disableOnInteraction){b=!1,p=!1;return}b&&e.params.cssMode&&k(),b=!1,p=!1}}),i("slideChange",()=>{e.destroyed||!e.autoplay.running||(S=!0)}),Object.assign(e.autoplay,{start:I,stop:R,pause:D,resume:k})}const AC=({children:n,variant:e="primary",size:t="md",className:i,onClick:s,type:r="button",disabled:a=!1})=>{const o="inline-flex items-center justify-center font-medium rounded transition-all duration-300 btn-slide-up",l={primary:"bg-akara-red text-white hover:bg-akara-lightRed",secondary:"bg-akara-yellow text-akara-darkText hover:bg-opacity-90",outline:"border border-akara-red text-akara-red hover:bg-akara-red hover:text-white",ghost:"text-akara-darkText hover:bg-gray-100"},c={sm:"text-xs px-3 py-1.5",md:"text-sm px-4 py-2",lg:"text-base px-6 py-3"},u=a?"opacity-60 cursor-not-allowed":"cursor-pointer";return m.jsx("button",{type:r,onClick:s,disabled:a,className:Ce(o,l[e],c[t],u,i),children:n})},boe="/assets/Akara%20Website%20image-DvuA4QAk.png",TO="/assets/Akst-BTse0mvH.svg",_oe="/assets/GeneralAt-BKBKobHo.svg",Soe="/assets/Goldman-QbLH1U7y.svg",xoe="/assets/Lehman-C76EAvCH.svg",woe="/assets/Spwc-Bqvjx2P9.svg",Eoe="/assets/Smerrill-B7o5xrIO.svg",rA="/assets/Vak-CMgZBGk9.svg",DO="/assets/Vsbi-CXYa-wSl.svg",Aoe="/assets/Vjsbicard-DIFIjEU9.svg",Ioe="/assets/Rrsies-BTPIuMhF.svg",Coe="/assets/tushar-CCZlN2Vi.png",Toe="/assets/shruti-BYkoIwMU.png",Doe="/assets/Vijuy-DR0Bzw-p.png",Poe="/assets/vijay-CWufG1fv.png",Roe="/assets/rramchandran-BqI5fSsk.png",koe="/assets/Srinivas-BxaymvCF.jpg",Noe="/assets/s1-BeeOu
232XJS.png",Moe="/assets/2-zStrOSGx.jpeg",Ooe="/assets/3-C9abTJ2t.jpeg",Loe="/assets/4-BpqTRv-0.jpeg",Boe="/assets/s5-DkVsIzvS.png",joe=()=>{const n=w.useRef(null),[e,t]=w.useState(0),[i,s]=w.useState(0),r=[{name:"Tushar Aggarwal",position:"Managing Director",image:Coe,bio:"Tushar Aggarwal is the Founder and Managing Director of Akara Capital Advisors Private Limited. With over 20 years of experience in global investment banking and private equity, he brings a deep understanding of financial services across the U.S. and India. His career spans top-tier institutions and high-growth companies, equipping him with a unique blend of strategic insight and operational execution.",bio1:"Before founding Akara Capital, Tushar served as Executive Director at Everstone Capital, where he led investments across Northern India in sectors such as retail and financial services. He previously worked with General Atlantic in New York, focusing on high-growth, technology-enabled businesses, and began his career in investment banking at Goldman Sachs and Lehman Brothers.",bio2:"Tushar holds a BE in Electrical Engineering from Stony Brook University (Magna Cum Laude), an MBA from The Wharton School at the University of Pennsylvania, and is a CFA Charterholder. He is also a Fellow of the Aspen Institute, a member of the Aspen Global Leadership Network, and the Young Presidents' Organization (YPO).",icon1:TO,icon2:_oe,icon3:Soe,icon4:xoe},{name:"Shruti Aggarwal",position:"Director",image:Toe,bio:"Shruti Aggarwal is the Co-Founder of Akara Capital Advisors Private Limited, with more than 20 years of experience across finance, investment banking, and entrepreneurship. She began her career at PwC in India, followed by a role at Merrill Lynch in New York, where she built a strong foundation in global finance.",bio1:"Driven by a passion for building customer-centric businesses, she later launched Secret Caché, a luxury boutique in New York, gaining valuable experience in brand building and retail operations. At Akara, Shruti leverages her diverse background to build inclusive financial products that empower underserved and underbanked segments in India.",bio2:`She is a Chartered Accountant and holds a Bachelor's degree in Commerce from Shri Ram College of Commerce (SRCC) and a Master's degree from Columbia University. Shruti has been recognized in LiveMint's "Change the Narrative" list of 100 Women Entrepreneurs and received the Excellence in Fintech Award at the Economic Times Women Conclave 2025.`,icon1:TO,icon5:woe,icon6:Eoe},{name:"Vijuy Ronjon",position:"Independent Director",image:Doe,bio:"Vijay Ronjan has over 35 years of leadership experience in the Indian banking sector and serves as an Independent Director at Akara Capital Advisors Private Limited. He formerly held the position of Chief General Manager at the State Bank of India, where he oversaw operational and strategic functions across multiple states.",bio1:"During his tenure, he held key roles including Regional Manager, DGM (Business & Operations), DGM (Operations & Credit), and Circle Development Officer, covering five states and a Union Territory. He has deep expertise in branch banking, credit, operations, HR, risk management, and forex, having also led SBI's country risk and bank exposure functions and managed HR for over 20,000 employees.",bio2:"Mr. Ronjan holds a Bachelor of Arts degree from Patna University and has completed executive leadership programs at ISB Hyderabad and IIM Bangalore.",icon7:rA,icon8:DO},{name:"Vijay Jasuja",position:"Independent Director",image:Poe,bio:"Mr. Vijay Jasuja brings over 44 years of distinguished leadership experience across banking, financial services, cards, and digital payments. As an Independent Director of Akara Capital Advisors Private Limited, he provides strategic guid
232ance and oversight across key business and governance areas. He previously served as the Managing Director and CEO of SBI Cards and Payment Services Limited, where he played a pivotal role in driving business growth and strengthening the organization's market position. Over the course of his career, he has held several senior leadership and board-level positions across domestic and international markets. Mr. Jasuja possesses deep expertise in digital payments, information technology, IT risk management frameworks, data privacy, cybersecurity, business continuity and disaster recovery planning, digital transformation, digital banking, retail banking, international operations, real-time analytics, and mergers & acquisitions. He has also been instrumental in promoting data-driven decision-making and strengthening operational resilience frameworks. During his long-standing association with State Bank of India, he undertook several key assignments, including serving as General Manager in Hyderabad and Mumbai, Country Head and CEO in the Maldives, and Regional Head for Sub-Saharan Africa. He also previously served as a Director on the Board of PNB Cards. Mr. Jasuja holds Masterâs degrees in Economics and Business Management from Barkatullah Vishwavidyalaya.",bio1:"",bio2:"",icon7:rA,icon9:Aoe},{name:"C. R. Radhakrishnan",position:"Independent Director",image:Roe,bio:"C. R. Radhakrishnan brings more than 36 years of experience in banking and financial governance. As an Independent Director at Akara Capital Advisors Private Limited, he contributes deep expertise in regulatory compliance, strategic finance, and institutional risk management.",bio1:"He retired as Chief General Manager at the State Bank of India, where he held key leadership roles in operations, credit, foreign exchange, and audits. He is a qualified Insolvency Resolution Professional (IBBI) and holds a Master's degree in Commerce from Kerala University.",bio2:"Mr. Radhakrishnan has served as Chairperson of the Centre for Excellence in Banking & Finance and as Dean and Professor of Finance at SIES College of Management Studies.",icon7:rA,icon8:DO,icon10:Ioe},{name:"Botlaguduru Srinivas",position:"Independent Director",image:koe,bio:"Dr B. Srinivas is a highly distinguished retired Indian Police Service (IPS) officer of the erstwhile Jammu & Kashmir cadre, with over three decades of experience in internal security, intelligence, and counter-terrorism.",bio1:"During his career, Dr B. Srinivas held several sensitive and senior leadership assignments, including Chief of Intelligence for Jammu & Kashmir and Inspector General of Police, Kashmir Zone. He superannuated as Director General of Police, Puducherry, in 2024. He also served briefly as Chief of Security at NTPC (2015-2018)",bio2:"Dr. B. Srinivas is a highly decorated officer and a recipient of the Police Medal for Gallantry, the Presidentâs Police Medal for Distinguished Service, and the Indian Police Medal for Meritorious Service. He holds a PhD in Industrial Relations from the Central University of Hyderabad and is an alumnus of the Asia-Pacific Centre for Security Studies, Honolulu, USA."}];V.useRef(null);const[a,o]=w.useState(Array(r.length).fill(!1)),l=c=>{o(u=>{const h=[...u];return h[c]=!h[c],h})};return m.jsxs("div",{className:"min-h-screen",children:[m.jsx("div",{className:"pattern-bg py-16 relative abouthero pt-20",children:m.jsx("div",{className:"container mx-auto px-6",children:m.jsxs("div",{className:"max-w-4xl mx-auto text-center text-white",children:[m.jsx(ee.p,{className:"text-yellow-300 font-medium text-xl mb-4 herotitle",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},children:"About Us"}),m.jsx(ee.h1,{className:"text-4xl md:text-5xl font-bold mb-6 herosubtitle aboutherosubtitle",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},children:"We are a leading fintech NBFC revolutionising credit access in India with a technology-driven, customer-centric approach."}),m.jsx(ee.div,{className:"absolute right-10 top-1/2 -translate-y-1/2 text-yellow-300 opacity-70",initial:{opacity:0,scale:.8}
232,animate:{opacity:.7,scale:1},transition:{duration:.8,delay:.5}}),m.jsx("span",{className:"font-display text-9xl quotesicon aboutquotesicon"})]})})}),m.jsx("div",{className:"py-16 relative z-10 -mt-10",children:m.jsx("div",{className:"container mx-auto px-6",children:m.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 quotes visionmissionbox",children:[m.jsxs(ee.div,{className:"bg-white rounded-lg p-8 shadow-md missionbox",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5},viewport:{once:!0},children:[m.jsx("h3",{className:"text-2xl font-bold mb-4 text-akara-darkText",children:"Our Mission"}),m.jsx("p",{className:"text-akara-lightText mb-6",children:"Our mission is to provide innovative and honest financial products that empower our customers"})]}),m.jsxs(ee.div,{className:"bg-white rounded-lg p-8 shadow-md visionbox",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.2},viewport:{once:!0},children:[m.jsx("h3",{className:"text-2xl font-bold mb-4 text-akara-darkText",children:"Our Vision"}),m.jsx("p",{className:"text-akara-lightText mb-6",children:"Enhance financial inclusion through digital and sustainable solutions"})]})]})})}),m.jsx("div",{className:"py-16 meetoutbg md:hidden",style:{background:"#FDF6F6"},children:m.jsxs("div",{className:"container mx-auto px-6",children:[m.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-12 text-center aboutmeettitle",children:"Meet our board members and advisors"}),m.jsx("div",{className:"relative mx-auto meetsliderparent grid grid-cols-1 lg:grid-cols-8 gap-5 justify-center",children:r.map((c,u)=>m.jsx(ee.div,{className:`bg-white rounded-lg shadow-md p-6 md:p-8 h-full transition-all duration-300 233 ${a[u]?"lg:col-span-8 w-full lg:col-start-1":"lg:col-span-4 "} 234 ${!a[u]&&u===4?"lg:col-start-3":""}`,layout:!0,initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1,transition:{duration:.5,ease:"easeInOut"}},exit:{opacity:0,scale:.95},children:m.jsxs(ee.div,{className:`flex flex-col md:flex-row ${a[u]?"gap-9":"gap-5"} relative`,layout:!0,transition:{duration:.5,ease:"easeInOut"},children:[m.jsx("div",{className:`${a[u],"md:w-auto"}`,children:m.jsx("div",{className:"w-[190px] h-[268px] overflow-hidden rounded-lg",children:m.jsx("img",{src:c.image,alt:c.name,loading:"lazy",className:"w-full h-full object-cover"})})}),m.jsxs("div",{className:`${a[u]?"md:w-3/4":"flex-1"}`,children:[m.jsx("h3",{className:"text-2xl font-bold text-akara-darkText mb-1",children:c.name}),m.jsx("p",{className:"text-akara-red font-medium text-sm mb-4 position",children:c.position}),m.jsx("div",{className:"mb-6",children:a[u]?m.jsxs(m.Fragment,{children:[m.jsx("p",{className:"text-akara-lightText mb-4",children:c.bio}),m.jsx("p",{className:"text-akara-lightText mb-4",children:c.bio1}),m.jsx("p",{className:"text-akara-lightText mb-4",children:c.bio2}),m.jsx("button",{className:"absolute top-4 right-4 p-2 rounded-full bg-gray-100 hover:bg-gray-200 transition-colors",onClick:()=>l(u),"aria-label":"Close",children:m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[m.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),m.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}),m.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-end",marginLeft:"auto"},className:"boardlogos",children:[c.icon1&&m.jsx("img",{src:c.icon1,loading:"lazy",alt:"",style:{marginRight:"15px"}}),c.icon2&&m.jsx("img",{src:c.icon2,loading:"lazy",alt:"",style:{marginRight:"15px"}}),c.icon3&&m.jsx("img",{src:c.icon3,loading:"lazy",alt:"",style:{marginRight:"15px"}}),c.icon4&&m.jsx("img",{src:c.icon4,loading:"lazy",alt:"",style:{marginRight:"15px"}}),c.icon5&&m.jsx("img",{src:c.icon5,loading:"lazy",alt:"",style:{marginRight:"15px"}}),c.icon6&&m.jsx("img",{src:c.icon6,loading:"lazy",alt:"",style:{marginRight:"15px"}}),c.icon7&&m.jsx("img",{src:c.icon7,loading:"lazy",alt:"",style:{marginRight:"15px"}}),c.icon8&&m.jsx("img",{src:c.icon8,loading:"lazy",alt:"",style:{marginRight:"15px"}}),c.icon9&&m.jsx("img",{src:c.icon9,loading:"lazy",alt:"",style:{marginRight:"15px"}}),c.icon10&&m.jsx("img",{src:c.icon10,loading:"lazy",alt:"",style:{marginRight:"15px"}})]})]}):m.jsxs(m.Fragment,{children:[m.jsx("p",{className:"text-akara-lightText line-clamp-3 mb-4",children:c.bio}),m.jsx(AC,{className:"btn-black",onClick:()=>{o(Array(r.length).fill(!1)),l(u)},children:"View More"})]})})]})]})},u))})]})}),m.jsx("div",{className:"py-16 meetoutbg hideonmobile",style:{background:"#FDF6F6"},ref:n,children:m.jsxs("div",{className:"container mx-auto px-6",children:[m.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-12 text-center aboutmeettitle",children:"Meet our board members"}),a.some(c=>c)&&m.jsx(ee.div,{className:"bg-white rounded-lg shadow-md p-6 md:p-8 mb-8",layout:!0,initial:{opacity:0}
234,animate:{opacity:1,transition:{duration:.3,ease:"easeInOut"}},children:r.map((c,u)=>a[u]?m.jsxs(ee.div,{className:"flex flex-col md:flex-row gap-9 relative",layout:!0,transition:{duration:.3,ease:"easeInOut"},children:[m.jsx("div",{className:"md:w-auto",children:m.jsx("div",{className:"w-[190px] h-[268px] overflow-hidden rounded-lg",children:m.jsx("img",{src:c.image,alt:c.name,loading:"lazy",className:"w-full h-full object-cover"})})}),m.jsxs("div",{className:"md:w-3/4",children:[m.jsx("h3",{className:"text-2xl font-bold text-akara-darkText mb-1",children:c.name}),m.jsx("p",{className:"text-akara-red font-medium text-sm mb-4 position",children:c.position}),m.jsxs("div",{className:"mb-6",children:[m.jsx("p",{className:"text-akara-lightText mb-4",children:c.bio}),m.jsx("p",{className:"text-akara-lightText mb-4",children:c.bio1}),m.jsx("p",{className:"text-akara-lightText mb-4",children:c.bio2}),m.jsx("button",{className:"absolute top-4 right-4 p-2 rounded-full bg-gray-100 hover:bg-gray-200 transition-colors",onClick:()=>l(u),"aria-label":"Close",children:m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[m.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),m.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}),m.jsx("div",{className:"boardlogos flex items-center justify-end ml-auto",children:[...Array(10)].map((h,f)=>{const p=c[`icon${f+1}`];return p&&m.jsx("img",{src:p,loading:"lazy",alt:"",style:{marginRight:"15px"}},f)})})]})]})]},u):null)}),m.jsx("div",{className:"flex flex-wrap justify-center gap-5",children:r.map((c,u)=>a[u]?null:m.jsx(ee.div,{className:"bg-white rounded-lg shadow-md p-6 md:p-8 w-full md:w-[calc(50%-10px)]",layout:!0,initial:{opacity:0}
234,animate:{opacity:1,transition:{duration:.3,ease:"easeInOut"}},children:m.jsxs("div",{className:"flex flex-col md:flex-row gap-5 relative",children:[m.jsx("div",{className:"md:w-auto",children:m.jsx("div",{className:"w-[190px] h-[268px] overflow-hidden rounded-lg",children:m.jsx("img",{src:c.image,alt:c.name,loading:"lazy",className:"w-full h-full object-cover"})})}),m.jsxs("div",{className:"flex-1",children:[m.jsx("h3",{className:"text-2xl font-bold text-akara-darkText mb-1",children:c.name}),m.jsx("p",{className:"text-akara-red font-medium text-sm mb-4 position",children:c.position}),m.jsxs("div",{className:"mb-6",children:[m.jsx("p",{className:"text-akara-lightText line-clamp-3 mb-4",children:c.bio}),m.jsx(AC,{className:"btn-black",onClick:()=>{o(Array(r.length).fill(!1)),l(u),setTimeout(()=>{var h;(h=n.current)==null||h.scrollIntoView({behavior:"smooth",block:"start"})},100)},children:"View More"})]})]})]})},u))})]})}),m.jsx("div",{className:"py-16",children:m.jsxs("div",{className:"container mx-auto px-6",children:[m.jsx("h2",{className:"text-3xl md:text-4xl text-center font-bold mb-12 aboutmeettitle",children:"What makes us a great place to work"}),m.jsx("div",{className:"hidden md:block text-center",children:m.jsx("img",{src:boe,loading:"lazy",alt:"Employee Value Proposition",className:"mx-auto"})}),m.jsx("div",{className:"md:hidden",children:m.jsx(I6,{modules:[yoe,voe],pagination:{clickable:!0},spaceBetween:20,slidesPerView:1,loop:!0,autoplay:{delay:2500,disableOnInteraction:!1},className:"w-full",children:[Noe,Moe,Ooe,Loe,Boe].map((c,u)=>m.jsx(C6,{children:m.jsx("img",{src:c,loading:"lazy",alt:`Slide ${u+1}`,className:"w-full h-auto rounded-lg"})},u))})})]})})]})},Foe="/assets/flexiLoans-kQ6aWD8h.png",zoe="/assets/contentImg-I5Jg31Wr.svg",T6="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.5983%2011.8916L19.5855%2010.9466C18.2287%2010.5268%2016.9929%209.73179%2015.9961%208.63774C14.9993%207.54368%2014.2751%206.18717%2013.8926%204.698L13.0316%201.39112C12.9883%201.27542%2012.9146%201.17647%2012.82%201.10683C12.7253%201.03718%2012.614%201%2012.5%201C12.386%201%2012.2747%201.03718%2012.18%201.10683C12.0854%201.17647%2012.0117%201.27542%2011.9684%201.39112L11.1074%204.698C10.7249%206.18717%2010.0007%207.54368%209.00389%208.63774C8.00713%209.73179%206.77125%2010.5268%205.41451%2010.9466L2.40172%2011.8916C2.28603%2011.9276%202.18422%2012.0041%202.11172%2012.1094C2.03922%2012.2147%202%2012.3431%202%2012.4751C2%2012.6071%202.03922%2012.7355%202.11172%2012.8408C2.18422%2012.9461%202.28603%2013.0226%202.40172%2013.0586L5.41451%2014.0036C6.77125%2014.4234%208.00713%2015.2184%209.00389%2016.3125C10.0007%2017.4065%2010.7249%2018.763%2011.1074%2020.2522L11.9684%2023.5591C12.0012%2023.686%2012.0709%2023.7978%2012.1668%2023.8774C12.2628%2023.9569%2012.3797%2024%2012.5%2024C12.6203%2024%2012.7372%2023.9569%2012.8332%2023.8774C12.9291%2023.7978%2012.9988%2023.686%2013.0316%2023.5591L13.8926%2020.2522C14.2751%2018.763%2014.9993%2017.4065%2015.9961%2016.3125C16.9929%2015.2184%2018.2287%2014.4234%2019.5855%2014.0036L22.5983%2013.0586C22.714%2013.0226%2022.8158%2012.9461%2022.8883%2012.8408C22.9608%2012.7355%2023%2012.6071%2023%2012.4751C23%2012.3431%2022.9608%2012.2147%2022.8883%2012.1094C22.8158%2012.0041%2022.714%2011.9276%2022.5983%2011.8916Z'%20fill='%23FF3E3E'/%3e%3c/svg%3e",Uoe="/assets/mobile-CWdT_W5e.png",Voe="/assets/PNB-BhzU5sPo.png",D6="/assets/defence-CemzQLRZ.png",Xoe="/chevron-right.svg",sr=({feature:n})=>m.jsxs("div",{className:"flex items-center space-x-2 mb-3",children:[m.jsx("div",{className:"rounded-full p-1 mt-0.5",children:m.jsx("img",{src:T6,loading:"lazy",alt:""})}),m.jsx("span",{className:"text-sm text-akara-lightText icon-content",children:n})]}),Hoe=()=>m.jsxs("div",{className:"min-h-screen productpage",children:[m.jsx(Wl,{title:"Tailored financial solutions for every need â from loans to investments, all under one roof",subtitle:"Our Products & Services",showQuote:!0,maxwidth:1e3,lineheight:"56px"}),m.jsxs("div",{className:"loantypesparent",children:[m.jsx(Ke,{children:m.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-12 items-center flexiloan",children:[m.jsx(ee.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.5},viewport:{once:!0},children:m.jsx("img",{className:"w-full rounded-lg flexiImg",src:Foe,loading:"lazy"})}),m.jsx(ee.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},transition:{duration:.5,delay:.2},viewport:{once:!0},children:m.jsxs("div",{className:"flexi-loans-content ml-auto",children:[m.jsxs("h2",{children:["Instant loans up to 5 lakhs",m.jsx("br",{})]}),m.jsx("p",{children:"We offer a unique flexible personalized credit solution tailored to your desired needs."}),m.jsxs("div",{className:"flexi-image-content",children:[m.jsx("div",{className:"button-content",children:m.jsxs("div",{className:"b-content",children:[m.jsx(sr,{feature:"Interest free period up to 30 days"}),m.jsx(sr,{feature:"Zero foreclosure charges"})]})}),m.jsx("div",{className:"image-box",children:m.jsx("img",{src:zoe,loading:"lazy",alt:"",className:"contentimg"})})]})]})})]})}),m.jsx(Ke,{className:"loan-against",children:m.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-12 items-center sentinelproduct",children:[m.jsx(ee.div,{className:"order-2 md:order-1",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.5,delay:.2},viewport:{once:!0},children:m.jsxs("div",{className:"mutual-loan-content",children:[m.jsx("h2",{children:"Stashfin Sentinel - exclusive program for Indiaâs Defence Personnel"}),m.jsx("p",{children:"To honour the service of our national heroes, we have created a special Sentinel Program. With discounted interest rates, a dedicated customer support team, and a tailored app experience, Stashfin Sentinel is the go to NBFC platform for the Defence and Paramilitary forces of India."}),m.jsxs("div",{className:"b-content",children:[m.jsx(sr,{feature:"Trusted & Exclusive â Indiaâs only NBFC with a dedicated Defence Program"}),m.jsx(sr,{feature:"24x7 availability of fund withdrawal services"})]}),m.jsx(_e,{to:"/sentinel",className:"know-more mt-3",children:"Know more"})]})}),m.jsx(ee.div,{className:"order-1 md:order-2",initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},transition:{duration:.5},viewport:{once:!0},children:m.jsx("img",{src:D6,loading:"lazy",className:"w-full rounded-lg flexiImg ml-auto"})})]})}),m.jsx(Ke,{className:"loan-against akarabons",children:m.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-12 items-center",children:[m.jsx(ee.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.5},viewport:{once:!0},children:m.jsx("img",{className:"w-full rounded-lg akaraiImg",loading:"lazy",src:Voe})}),m.jsx(ee.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},transition:{duration:.5,delay:.2},viewport:{once:!0},children:m.jsxs("div",{className:"akara-bond ml-auto",children:[m.jsxs("h2",{children:["Akara Capital Bonds ",m.jsx("br",{}),m.jsx("span",{className:"span-text-flexi",children:"(upto 14.9% Returns)"})]}),m.jsx("p",{children:"Carefully curated Corporate Bonds to prioritise investments and secured returns with Akara Capital Bonds that promise safe and stable earnings."}),m.jsxs("div",{className:"button-content",children:[m.jsxs("div",{className:"b-content",children:[m.jsx(sr,{feature:"Up to 14.9% Returns"}),m.jsx(sr,{feature:"Monthly payouts"}),m.jsx(sr,{feature:"Zero default history"}),m.jsx(sr,{feature:"Affordable investment plans"})]}),m.jsx("a",{href:"https://web.stashfin.com/wealth-home",target:"_blank",rel:"noopener noreferrer",children:m.jsxs(AC,{className:"know-more",children:["Buy Bonds ",m.jsx("span",{children:m.jsx("img",{src:Xoe,loading:"lazy",alt:"",className:"rightArrow ml-2",width:24,height:24})})]})})]})]})})]})}),m.jsx(Ke,{className:"loan-against lamfsec",children:m.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-12 items-center",children:[m.jsx(ee.div,{className:"order-2 md:order-1",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.5,delay:.2},viewport:{once:!0},children:m.jsxs("div",{className:"mutual-loan-content",children:[m.jsxs("h2",{children:["Loan Against ",m.jsx("br",{}),m.jsx("span",{className:"span-text-mutual",children:"Mutual Funds"})]}),m.jsx("p",{children:"Unlock the power of your mutual funds without selling them. Access instant cash while your investments continue to grow."}),m.jsxs("div",{className:"b-content",children:[m.jsx(sr,{feature:"100% Eligibility: Even for low CIBIL scores."}),m.jsx(sr,{feature:"Flexible Withdrawals: Pay only for what you useâno hidden charges."}),m.jsx(sr,{feature:"Easy Repayment: Monthly interest-only instalments for hassle-free management."}),m.jsx(sr,{feature:"No Selling Required: Keep your mutual funds intact while they appreciate."})]})]})}),m.jsx(ee.div,{className:"order-1 md:order-2",initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},transition:{duration:.5},viewport:{once:!0},children:m.jsx("img",{src:Uoe,loading:"lazy",className:"w-full rounded-lg flexiImg ml-auto"})})]})})]})]}),Pi=typeof process=="object"&&process+""=="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&process.type!=="browser"),IC=[.001,0,0,.001,0,0],aA=1.35,Ns={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,IS_EDITING:128,OPLIST:256},Ja={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},iv="pdfjs_internal_editor_",pe={DISABLE:-1,NONE:0,FREETEXT:3,HIGHLIGHT:9,STAMP:13,INK:15,POPUP:16,SIGNATURE:101,COMMENT:102}
234,Me={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_THICKNESS:32,HIGHLIGHT_FREE:33,HIGHLIGHT_SHOW_ALL:34,DRAW_STEP:41},P6={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},Gn={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},Ay={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},an={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},Mf={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},xb={ERRORS:0,WARNINGS:1,INFOS:5},Mg={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,rawFillPath:94},d_={moveTo:0,lineTo:1,curveTo:2,closePath:3},R6={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let gw=xb.WARNINGS;function Goe(n){Number.isInteger(n)&&(gw=n)}function $oe(){return gw}function yw(n){gw>=xb.INFOS&&console.info(`Info: ${n}`)}function me(n){gw>=xb.WARNINGS&&console.warn(`Warning: ${n}`)}function yt(n){throw new Error(n)}function je(n,e){n||yt(e)}function qoe(n){switch(n==null?void 0:n.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function wR(n,e=null,t=null){if(!n)return null;if(t&&typeof n=="string"){if(t.addDefaultProtocol&&n.startsWith("www.")){const s=n.match(/\./g);(s==null?void 0:s.length)>=2&&(n=`http://${n}`)}if(t.tryConvertEncoding)try{n=Joe(n)}catch{}}const i=e?URL.parse(n,e):URL.parse(n);return qoe(i)?i:null}function ER(n,e,t=!1){const i=URL.parse(n);return i?(i.hash=e,i.href):t&&wR(n,"http://example.com")?n.split("#",1)[0]+`${e?`#${e}`:""}`:""}function Ee(n,e,t,i=!1){return Object.defineProperty(n,e,{value:t,enumerable:!i,configurable:!0,writable:!1}),t}const _f=function(){function e(t,i){this.message=t,this.name=i}return e.prototype=new Error,e.constructor=e,e}();class PO extends _f{constructor(e,t){super(e,"PasswordException"),this.code=t}}class oA extends _f{constructor(e,t){super(e,"UnknownErrorException"),this.details=t}}class Fx extends _f{constructor(e){super(e,"InvalidPDFException")}}class sv extends _f{constructor(e,t,i){super(e,"ResponseException"),this.status=t,this.missing=i}}class Yoe extends _f{constructor(e){super(e,"FormatError")}}class Ul extends _f{constructor(e){super(e,"AbortException")}}function k6(n){(typeof n!="object"||(n==null?void 0:n.length)===void 0)&&yt("Invalid argument for bytesToString");const e=n.length,t=8192;if(e<t)return String.fromCharCode.apply(null,n);const i=[];for(let s=0;s<e;s+=t){const r=Math.min(s+t,e),a=n.subarray(s,r);i.push(String.fromCharCode.apply(null,a))}return i.join("")}
234function wb(n){typeof n!="string"&&yt("Invalid argument for stringToBytes");const e=n.length,t=new Uint8Array(e);for(let i=0;i<e;++i)t[i]=n.charCodeAt(i)&255;return t}function Woe(n){return String.fromCharCode(n>>24&255,n>>16&255,n>>8&255,n&255)}function Koe(){const n=new Uint8Array(4);return n[0]=1,new Uint32Array(n.buffer,0,1)[0]===1}function Qoe(){try{return new Function(""),!0}catch{return!1}}class Vn{static get isLittleEndian(){return Ee(this,"isLittleEndian",Koe())}static get isEvalSupported(){return Ee(this,"isEvalSupported",Qoe())}static get isOffscreenCanvasSupported(){return Ee(this,"isOffscreenCanvasSupported",typeof OffscreenCanvas<"u")}static get isImageDecoderSupported(){return Ee(this,"isImageDecoderSupported",typeof ImageDecoder<"u")}static get platform(){const{platform:e,userAgent:t}=navigator;return Ee(this,"platform",{isAndroid:t.includes("Android"),isLinux:e.includes("Linux"),isMac:e.includes("Mac"),isWindows:e.includes("Win"),isFirefox:t.includes("Firefox")})}static get isCSSRoundSupported(){var e,t;return Ee(this,"isCSSRoundSupported",(t=(e=globalThis.CSS)==null?void 0:e.supports)==null?void 0:t.call(e,"width: round(1.5px, 1px)"))}}const lA=Array.from(Array(256).keys(),n=>n.toString(16).padStart(2,"0"));var Pl,Q_,CC;class re{static makeHexColor(e,t,i){return`#${lA[e]}${lA[t]}${lA[i]}`}static domMatrixToTransform(e){return[e.a,e.b,e.c,e.d,e.e,e.f]}static scaleMinMax(e,t){let i;e[0]?(e[0]<0&&(i=t[0],t[0]=t[2],t[2]=i),t[0]*=e[0],t[2]*=e[0],e[3]<0&&(i=t[1],t[1]=t[3],t[3]=i),t[1]*=e[3],t[3]*=e[3]):(i=t[0],t[0]=t[1],t[1]=i,i=t[2],t[2]=t[3],t[3]=i,e[1]<0&&(i=t[1],t[1]=t[3],t[3]=i),t[1]*=e[1],t[3]*=e[1],e[2]<0&&(i=t[0],t[0]=t[2],t[2]=i),t[0]*=e[2],t[2]*=e[2]),t[0]+=e[4],t[1]+=e[5],t[2]+=e[4],t[3]+=e[5]}static transform(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}static multiplyByDOMMatrix(e,t){return[e[0]*t.a+e[2]*t.b,e[1]*t.a+e[3]*t.b,e[0]*t.c+e[2]*t.d,e[1]*t.c+e[3]*t.d,e[0]*t.e+e[2]*t.f+e[4],e[1]*t.e+e[3]*t.f+e[5]]}static applyTransform(e,t,i=0){const s=e[i],r=e[i+1];e[i]=s*t[0]+r*t[2]+t[4],e[i+1]=s*t[1]+r*t[3]+t[5]}static applyTransformToBezier(e,t,i=0){const s=t[0],r=t[1],a=t[2],o=t[3],l=t[4],c=t[5];for(let u=0;u<6;u+=2){const h=e[i+u],f=e[i+u+1];e[i+u]=h*s+f*a+l,e[i+u+1]=h*r+f*o+c}}static applyInverseTransform(e,t){const i=e[0],s=e[1],r=t[0]*t[3]-t[1]*t[2];e[0]=(i*t[3]-s*t[2]+t[2]*t[5]-t[4]*t[3])/r,e[1]=(-i*t[1]+s*t[0]+t[4]*t[1]-t[5]*t[0])/r}static axialAlignedBoundingBox(e,t,i){const s=t[0],r=t[1],a=t[2],o=t[3],l=t[4],c=t[5],u=e[0],h=e[1],f=e[2],p=e[3];let b=s*u+l,g=b,S=s*f+l,y=S,v=o*h+c,_=v,x=o*p+c,E=x;if(r!==0||a!==0){const C=r*u,I=r*f,R=a*h,D=a*p;b+=R,y+=R,S+=D,g+=D,v+=C,E+=C,x+=I,_+=I}i[0]=Math.min(i[0],b,S,g,y),i[1]=Math.min(i[1],v,x,_,E),i[2]=Math.max(i[2],b,S,g,y),i[3]=Math.max(i[3],v,x,_,E)}static inverseTransform(e){const t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}static singularValueDecompose2dScale(e,t){const i=e[0],s=e[1],r=e[2],a=e[3],o=i**2+s**2,l=i*r+s*a,c=r**2+a**2,u=(o+c)/2,h=Math.sqrt(u**2-(o*c-l**2));t[0]=Math.sqrt(u+h||1),t[1]=Math.sqrt(u-h||1)}static normalizeRect(e){const t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}static intersect(e,t){const i=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),s=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));if(i>s)return null;const r=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),a=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3]));return r>a?null:[i,r,s,a]}static pointBoundingBox(e,t,i){i[0]=Math.min(i[0],e),i[1]=Math.min(i[1],t),i[2]=Math.max(i[2],e),i[3]=Math.max(i[3],t)}static rectBoundingBox(e,t,i,s,r){r[0]=Math.min(r[0],e,i),r[1]=Math.min(r[1],t,s),r[2]=Math.max(r[2],e,i),r[3]=Math.max(r[3],t,s)}static bezierBoundingBox(e,t,i,s,r,a,o,l,c){c[0]=Math.min(c[0],e,o),c[1]=Math.min(c[1],t,l),c[2]=Math.max(c[2],e,o),c[3]=Math.max(c[3],t,l),P(this,Pl,CC).call(this,e,i,r,o,t,s,a,l,3*(-e+3*(i-r)+o),6*(e-2*i+r),3*(i-e),c),P(this,Pl,CC).call(this,e,i,r,o,t,s,a,l,3*(-t+3*(s-a)+l),6*(t-2*s+a),3*(s-t),c)}}Pl=new WeakSet,Q_=function(e,t,i,s,r,a,o,l,c,u){if(c<=0||c>=1)return;const h=1-c,f=c*c,p=f*c,b=h*(h*(h*e+3*c*t)+3*f*i)+p*s,g=h*(h*(h*r+3*c*a)+3*f*o)+p*l;u[0]=Math.min(u[0],b),u[1]=Math.min(u[1],g),u[2]=Math.max(u[2],b),u[3]=Math.max(u[3],g)},CC=function(e,t,i,s,r,a,o,l,c,u,h,f){if(Math.abs(c)<1e-12){Math.abs(u)>=1e-12&&P(this,Pl,Q_).call(this,e,t,i,s,r,a,o,l,-h/u,f);return}const p=u**2-4*h*c;if(p<0)return;const b=Math.sqrt(p),g=2*c;P(this,Pl,Q_).call(this,e,t,i,s,r,a,o,l,(-u+b)/g,f),P(this,Pl,Q_).call(this,e,t,i,s,r,a,o,l,(-u-b)/g,f)},T(re,Pl);function Joe(n){return decodeURIComponent(escape(n))}let cA=null,RO=null;function N6(n){return cA||(cA=/([\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,RO=new Map([["ï¬
","ſt"]])),n.replaceAll(cA,(e,t,i)=>t?t.normalize("NFKC"):RO.get(i))}function AR(){if(typeof crypto.randomUUID=="function")return crypto.randomUUID();const n=new Uint8Array(32);return crypto.getRandomValues(n),k6(n)}const IR="pdfjs_internal_id_";function Zoe(n,e,t){if(!Array.isArray(t)||t.length<2)return!1;const[i,s,...r]=t;if(!n(i)&&!Number.isInteger(i)||!e(s))return!1;const a=r.length;let o=!0;switch(s.name){case"XYZ":if(a<2||a>3)return!1;break;case"Fit":case"FitB":return a===0;case"FitH":case"FitBH":case"FitV":case"FitBV":if(a>1)return!1;break;case"FitR":if(a!==4)return!1;o=!1;break;default:return!1}for(const l of r)if(!(typeof l=="number"||o&&l===null))return!1;return!0}function mi(n,e,t){return Math.min(Math.max(n,e),t)}function M6(n){return Uint8Array.prototype.toBase64?n.toBase64():btoa(k6(n))}function ele(n){return Uint8Array.fromBase64?Uint8Array.fromBase64(n):wb(atob(n))}typeof Promise.try!="function"&&(Promise.try=function(n,...e){return new Promise(t=>{t(n(...e))})});typeof Math.sumPrecise!="function"&&(Math.sumPrecise=function(n){return n.reduce((e,t)=>
234e+t,0)});class rv{static textContent(e){const t=[],i={items:t,styles:Object.create(null)};function s(r){var l;if(!r)return;let a=null;const o=r.name;if(o==="#text")a=r.value;else if(rv.shouldBuildText(o))(l=r==null?void 0:r.attributes)!=null&&l.textContent?a=r.attributes.textContent:r.value&&(a=r.value);else return;if(a!==null&&t.push({str:a}),!!r.children)for(const c of r.children)s(c)}return s(e),i}static shouldBuildText(e){return!(e==="textarea"||e==="input"||e==="option"||e==="select")}}class CR{static setupStorage(e,t,i,s,r){const a=s.getValue(t,{value:null});switch(i.name){case"textarea":if(a.value!==null&&(e.textContent=a.value),r==="print")break;e.addEventListener("input",o=>{s.setValue(t,{value:o.target.value})});break;case"input":if(i.attributes.type==="radio"||i.attributes.type==="checkbox"){if(a.value===i.attributes.xfaOn?e.setAttribute("checked",!0):a.value===i.attributes.xfaOff&&e.removeAttribute("checked"),r==="print")break;e.addEventListener("change",o=>{s.setValue(t,{value:o.target.checked?o.target.getAttribute("xfaOn"):o.target.getAttribute("xfaOff")})})}else{if(a.value!==null&&e.setAttribute("value",a.value),r==="print")break;e.addEventListener("input",o=>{s.setValue(t,{value:o.target.value})})}break;case"select":if(a.value!==null){e.setAttribute("value",a.value);for(const o of i.children)o.attributes.value===a.value?o.attributes.selected=!0:o.attributes.hasOwnProperty("selected")&&delete o.attributes.selected}e.addEventListener("input",o=>{const l=o.target.options,c=l.selectedIndex===-1?"":l[l.selectedIndex].value;s.setValue(t,{value:c})});break}}static setAttributes({html:e,element:t,storage:i=null,intent:s,linkService:r}){const{attributes:a}=t,o=e instanceof HTMLAnchorElement;a.type==="radio"&&(a.name=`${a.name}-${s}`);for(const[l,c]of Object.entries(a))if(c!=null)switch(l){case"class":c.length&&e.setAttribute(l,c.join(" "));break;case"dataId":break;case"id":e.setAttribute("data-element-id",c);break;case"style":Object.assign(e.style,c);break;case"textContent":e.textContent=c;break;default:(!o||l!=="href"&&l!=="newWindow")&&e.setAttribute(l,c)}o&&r.addLinkAttributes(e,a.href,a.newWindow),i&&a.dataId&&this.setupStorage(e,a.dataId,t,i)}static render(e){var h,f;const t=e.annotationStorage,i=e.linkService,s=e.xfaHtml,r=e.intent||"display",a=document.createElement(s.name);s.attributes&&this.setAttributes({html:a,element:s,intent:r,linkService:i});const o=r!=="richText",l=e.div;if(l.append(a),e.viewport){const p=`matrix(${e.viewport.transform.join(",")})`;l.style.transform=p}o&&l.setAttribute("class","xfaLayer xfaFont");const c=[];if(s.children.length===0){if(s.value){const p=document.createTextNode(s.value);a.append(p),o&&rv.shouldBuildText(s.name)&&c.push(p)}return{textDivs:c}}const u=[[s,-1,a]];for(;u.length>0;){const[p,b,g]=u.at(-1);if(b+1===p.children.length){u.pop();continue}const S=p.children[++u.at(-1)[1]];if(S===null)continue;const{name:y}=S;if(y==="#text"){const _=document.createTextNode(S.value);c.push(_),g.append(_);continue}const v=(h=S==null?void 0:S.attributes)!=null&&h.xmlns?document.createElementNS(S.attributes.xmlns,y):document.createElement(y);if(g.append(v),S.attributes&&this.setAttributes({html:v,element:S,storage:t,intent:r,linkService:i}),((f=S.children)==null?void 0:f.length)>0)u.push([S,-1,v]);else if(S.value){const _=document.createTextNode(S.value);o&&rv.shouldBuildText(y)&&c.push(_),v.append(_)}}for(const p of l.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))p.setAttribute("readOnly",!0);return{textDivs:c}}static update(e){const t=`matrix(${e.viewport.transform.join(",")})`;e.div.style.transform=t,e.div.hidden=!1}}const Mo="http://www.w3.org/2000/svg",yd=class yd{};q(yd,"CSS",96),q(yd,"PDF",72),q(yd,"PDF_TO_CSS_UNITS",yd.CSS/yd.PDF);let Vl=yd;async function a0(n,e="text"){if(O0(n,document.baseURI)){const t=await fetch(n);if(!t.ok)throw new Error(t.statusText);switch(e){case"arraybuffer":return t.arrayBuffer();case"blob":return t.blob();case"json":return t.json()}return t.text()}return new Promise((t,i)=>{const s=new XMLHttpRequest;s.open("GET",n,!0),s.responseType=e,s.onreadystatechange=()=>{if(s.readyState===XMLHttpRequest.DONE){if(s.status===200||s.status===0){switch(e){case"arraybuffer":case"blob":case"json":t(s.response);return}t(s.responseText);return}i(new Error(s.statusText))}},s.send(null)})}class Eb{constructor({viewBox:e,userUnit:t,scale:i,rotation:s,offsetX:r=0,offsetY:a=0,dontFlip:o=!1}){this.viewBox=e,this.userUnit=t,this.scale=i,this.rotation=s,this.offsetX=r,this.offsetY=a,i*=t;const l=(e[2]+e[0])/2,c=(e[3]+e[1])/2;let u,h,f,p;switch(s%=360,s<0&&(s+=360),s){case 180:u=-1,h=0,f=0,p=1;break;case 90:u=0,h=1,f=1,p=0;break;case 270:u=0,h=-1,f=-1,p=0;break;case 0:u=1,h=0,f=0,p=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}o&&(f=-f,p=-p);let b,g,S,y;u===0?(b=Math.abs(c-e[1])*i+r,g=Math.abs(l-e[0])*i+a,S=(e[3]-e[1])*i,y=(e[2]-e[0])*i):(b=Math.abs(l-e[0])*i+r,g=Math.abs(c-e[1])*i+a,S=(e[2]-e[0])*i,y=(e[3]-e[1])*i),this.transform=[u*i,h*i,f*i,p*i,b-u*i*l-f*i*c,g-h*i*l-p*i*c],this.width=S,this.height=y}get rawDims(){const e=this.viewBox;return Ee(this,"rawDims",{pageWidth:e[2]-e[0],pageHeight:e[3]-e[1],pageX:e[0],pageY:e[1]})}clone({scale:e=this.scale,rotation:t=this.rotation,offsetX:i=this.offsetX,offsetY:s=this.offsetY,dontFlip:r=!1}={}){return new Eb({viewBox:this.viewBox.slice(),userUnit:this.userUnit,scale:e,rotation:t,offsetX:i,offsetY:s,dontFlip:r})}convertToViewportPoint(e,t){const i=[e,t];return re.applyTransform(i,this.transform),i}convertToViewportRectangle(e){const t=[e[0],e[1]];re.applyTransform(t,this.transform);const i=[e[2],e[3]];return re.applyTransform(i,this.transform),[t[0],t[1],i[0],i[1]]}convertToPdfPoint(e,t){const i=[e,t];return re.applyInverseTransform(i,this.transform),i}}class vw extends _f{constructor(e,t=0){super(e,"RenderingCancelledException"),this.extraDelay=t}}function Ab(n){const e=n.length;let t=0;for(;t<e&&n[t].trim()==="";)t++;return n.substring(t,t+5).toLowerCase()==="data:"}function bw(n){return typeof n=="string"&&/\.pdf$/i.test(n)}function O6(n){return[n]=n.split(/[#?]/,1),n.substring(n.lastIndexOf("/")+1)}
234function L6(n,e="document.pdf"){if(typeof n!="string")return e;if(Ab(n))return me('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),e;const i=(o=>{try{return new URL(o)}catch{try{return new URL(decodeURIComponent(o))}catch{try{return new URL(o,"https://foo.bar")}catch{try{return new URL(decodeURIComponent(o),"https://foo.bar")}catch{return null}}}}})(n);if(!i)return e;const s=o=>{try{let l=decodeURIComponent(o);return l.includes("/")?(l=l.split("/").at(-1),l.test(/^\.pdf$/i)?l:o):l}catch{return o}},r=/\.pdf$/i,a=i.pathname.split("/").at(-1);if(r.test(a))return s(a);if(i.searchParams.size>0){const o=Array.from(i.searchParams.values()).reverse();for(const c of o)if(r.test(c))return s(c);const l=Array.from(i.searchParams.keys()).reverse();for(const c of l)if(r.test(c))return s(c)}if(i.hash){const l=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i.exec(i.hash);if(l)return s(l[0])}return e}class kO{constructor(){q(this,"started",Object.create(null));q(this,"times",[])}time(e){e in this.started&&me(`Timer is already running for ${e}`),this.started[e]=Date.now()}timeEnd(e){e in this.started||me(`Timer has not been started for ${e}`),this.times.push({name:e,start:this.started[e],end:Date.now()}),delete this.started[e]}toString(){const e=[];let t=0;for(const{name:i}of this.times)t=Math.max(i.length,t);for(const{name:i,start:s,end:r}of this.times)e.push(`${i.padEnd(t)} ${r-s}ms 235`);return e.join("")}}function O0(n,e){const t=e?URL.parse(n,e):URL.parse(n);return(t==null?void 0:t.protocol)==="http:"||(t==null?void 0:t.protocol)==="https:"}function er(n){n.preventDefault()}function Vt(n){n.preventDefault(),n.stopPropagation()}function tle(n){console.log("Deprecated API usage: "+n)}var _v;class av{static toDateObject(e){if(e instanceof Date)return e;if(!e||typeof e!="string")return null;d(this,_v)||A(this,_v,new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));const t=d(this,_v).exec(e);if(!t)return null;const i=parseInt(t[1],10);let s=parseInt(t[2],10);s=s>=1&&s<=12?s-1:0;let r=parseInt(t[3],10);r=r>=1&&r<=31?r:1;let a=parseInt(t[4],10);a=a>=0&&a<=23?a:0;let o=parseInt(t[5],10);o=o>=0&&o<=59?o:0;let l=parseInt(t[6],10);l=l>=0&&l<=59?l:0;const c=t[7]||"Z";let u=parseInt(t[8],10);u=u>=0&&u<=23?u:0;let h=parseInt(t[9],10)||0;return h=h>=0&&h<=59?h:0,c==="-"?(a+=u,o+=h):c==="+"&&(a-=u,o-=h),new Date(Date.UTC(i,s,r,a,o,l))}}_v=new WeakMap,T(av,_v);function B6(n,{scale:e=1,rotation:t=0}){const{width:i,height:s}=n.attributes.style,r=[0,0,parseInt(i),parseInt(s)];return new Eb({viewBox:r,userUnit:1,scale:e,rotation:t})}function o0(n){if(n.startsWith("#")){const e=parseInt(n.slice(1),16);return[(e&16711680)>>16,(e&65280)>>8,e&255]}return n.startsWith("rgb(")?n.slice(4,-1).split(",").map(e=>parseInt(e)):n.startsWith("rgba(")?n.slice(5,-1).split(",").map(e=>parseInt(e)).slice(0,3):(me(`Not a valid color format: "${n}"`),[0,0,0])}function nle(n){const e=document.createElement("span");e.style.visibility="hidden",e.style.colorScheme="only light",document.body.append(e);for(const t of n.keys()){e.style.color=t;const i=window.getComputedStyle(e).color;n.set(t,o0(i))}e.remove()}function Ut(n){const{a:e,b:t,c:i,d:s,e:r,f:a}=n.getTransform();return[e,t,i,s,r,a]}function xa(n){const{a:e,b:t,c:i,d:s,e:r,f:a}=n.getTransform().invertSelf();return[e,t,i,s,r,a]}function Gu(n,e,t=!1,i=!0){if(e instanceof Eb){const{pageWidth:s,pageHeight:r}=e.rawDims,{style:a}=n,o=Vn.isCSSRoundSupported,l=`var(--total-scale-factor) * ${s}px`,c=`var(--total-scale-factor) * ${r}px`,u=o?`round(down, ${l}, var(--scale-round-x))`:`calc(${l})`,h=o?`round(down, ${c}, var(--scale-round-y))`:`calc(${c})`;!t||e.rotation%180===0?(a.width=u,a.height=h):(a.width=h,a.height=u)}i&&n.setAttribute("data-main-rotation",e.rotation)}class fa{constructor(){const{pixelRatio:e}=fa;this.sx=e,this.sy=e}get scaled(){return this.sx!==1||this.sy!==1}get symmetric(){return this.sx===this.sy}limitCanvas(e,t,i,s,r=-1){let a=1/0,o=1/0,l=1/0;i=fa.capPixels(i,r),i>0&&(a=Math.sqrt(i/(e*t))),s!==-1&&(o=s/e,l=s/t);const c=Math.min(a,o,l);return this.sx>c||this.sy>c?(this.sx=c,this.sy=c,!0):!1}static get pixelRatio(){return globalThis.devicePixelRatio||1}static capPixels(e,t){if(t>
235=0){const i=Math.ceil(window.screen.availWidth*window.screen.availHeight*this.pixelRatio**2*(1+t/100));return e>0?Math.min(e,i):i}return e}}const zx=["image/apng","image/avif","image/bmp","image/gif","image/jpeg","image/png","image/svg+xml","image/webp","image/x-icon"];class ile{static get isDarkMode(){var e;return Ee(this,"isDarkMode",!!((e=window==null?void 0:window.matchMedia)!=null&&e.call(window,"(prefers-color-scheme: dark)").matches))}}class j6{static get commentForegroundColor(){const e=document.createElement("span");e.classList.add("comment","sidebar");const{style:t}=e;t.width=t.height="0",t.display="none",t.color="var(--comment-fg-color)",document.body.append(e);const{color:i}=window.getComputedStyle(e);return e.remove(),Ee(this,"commentForegroundColor",o0(i))}}function F6(n,e,t,i){i=Math.min(Math.max(i??1,0),1);const s=255*(1-i);return n=Math.round(n*i+s),e=Math.round(e*i+s),t=Math.round(t*i+s),[n,e,t]}function NO(n,e){const t=n[0]/255,i=n[1]/255,s=n[2]/255,r=Math.max(t,i,s),a=Math.min(t,i,s),o=(r+a)/2;if(r===a)e[0]=e[1]=0;else{const l=r-a;switch(e[1]=o<.5?l/(r+a):l/(2-r-a),r){case t:e[0]=((i-s)/l+(i<s?6:0))*60;break;case i:e[0]=((s-t)/l+2)*60;break;case s:e[0]=((t-i)/l+4)*60;break}}e[2]=o}function TC(n,e){const t=n[0],i=n[1],s=n[2],r=(1-Math.abs(2*s-1))*i,a=r*(1-Math.abs(t/60%2-1)),o=s-r/2;switch(Math.floor(t/60)){case 0:e[0]=r+o,e[1]=a+o,e[2]=o;break;case 1:e[0]=a+o,e[1]=r+o,e[2]=o;break;case 2:e[0]=o,e[1]=r+o,e[2]=a+o;break;case 3:e[0]=o,e[1]=a+o,e[2]=r+o;break;case 4:e[0]=a+o,e[1]=o,e[2]=r+o;break;case 5:case 6:e[0]=r+o,e[1]=o,e[2]=a+o;break}}function MO(n){return n<=.03928?n/12.92:((n+.055)/1.055)**2.4}function OO(n,e,t){TC(n,t),t.map(MO);const i=.2126*t[0]+.7152*t[1]+.0722*t[2];TC(e,t),t.map(MO);const s=.2126*t[0]+.7152*t[1]+.0722*t[2];return i>s?(i+.05)/(s+.05):(s+.05)/(i+.05)}const LO=new Map;function z6(n,e){const t=n[0]+n[1]*256+n[2]*65536+e[0]*16777216+e[1]*4294967296+e[2]*1099511627776;let i=LO.get(t);if(i)return i;const s=new Float32Array(9),r=s.subarray(0,3),a=s.subarray(3,6);NO(n,a);const o=s.subarray(6,9);NO(e,o);const l=o[2]<.5,c=l?12:4.5;if(a[2]=l?Math.sqrt(a[2]):1-Math.sqrt(1-a[2]),OO(a,o,r)<c){let u,h;l?(u=a[2],h=1):(u=0,h=a[2]);const f=.005;for(;h-u>f;){const p=a[2]=(u+h)/2;l===OO(a,o,r)<c?u=p:h=p}a[2]=l?h:u}return TC(a,r),i=re.makeHexColor(Math.round(r[0]*255),Math.round(r[1]*255),Math.round(r[2]*255)),LO.set(t,i),i}function TR({html:n,dir:e,className:t},i){const s=document.createDocumentFragment();if(typeof n=="string"){const r=document.createElement("p");r.dir=e||"auto";const a=n.split(/(?:\r\n?|\n)/);for(let o=0,l=a.length;o<l;++o){const c=a[o];r.append(document.createTextNode(c)),o<l-1&&r.append(document.createElement("br"))}s.append(r)}else CR.render({xfaHtml:n,div:s,intent:"richText"});s.firstChild.classList.add("richText",t),i.append(s)}var _c,Sc,ur,dr,Sv,xc,Up,Vp,xv,l1,U6,ii,V6,X6,Of,L0;const jo=class jo{constructor(e){T(this,ii);T(this,_c,null);T(this,Sc,null);T(this,ur);T(this,dr,null);T(this,Sv,null);T(this,xc,null);T(this,Up,null);T(this,Vp,null);A(this,ur,e),d(jo,xv)||A(jo,xv,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",signature:"pdfjs-editor-remove-signature-button"}))}render(){const e=A(this,_c,document.createElement("div"));e.classList.add("editToolbar","hidden"),e.setAttribute("role","toolbar");const t=d(this,ur)._uiManager._signal;t instanceof AbortSignal&&!t.aborted&&(e.addEventListener("contextmenu",er,{signal:t}),e.addEventListener("pointerdown",P(jo,l1,U6),{signal:t}));const i=A(this,dr,document.createElement("div"));i.className="buttons",e.append(i);const s=d(this,ur).toolbarPosition;if(s){const{style:r}=e,a=d(this,ur)._uiManager.direction==="ltr"?1-s[0]:s[0];r.insetInlineEnd=`${100*a}%`,r.top=`calc(${100*s[1]}% + var(--editor-toolbar-vert-offset))`}return e}get div(){return d(this,_c)}hide(){var e;d(this,_c).classList.add("hidden"),(e=d(this,Sc))==null||e.hideDropdown()}show(){var e,t;d(this,_c).classList.remove("hidden"),(e=d(this,Sv))==null||e.shown(),(t=d(this,xc))==null||t.shown()}
235addDeleteButton(){const{editorType:e,_uiManager:t}=d(this,ur),i=document.createElement("button");i.classList.add("basic","deleteButton"),i.tabIndex=0,i.setAttribute("data-l10n-id",d(jo,xv)[e]),P(this,ii,Of).call(this,i)&&i.addEventListener("click",s=>{t.delete()},{signal:t._signal}),d(this,dr).append(i)}async addAltText(e){const t=await e.render();P(this,ii,Of).call(this,t),d(this,dr).append(t,d(this,ii,L0)),A(this,Sv,e)}addComment(e,t=null){if(d(this,xc))return;const i=e.renderForToolbar();if(!i)return;P(this,ii,Of).call(this,i);const s=A(this,Up,d(this,ii,L0));t?(d(this,dr).insertBefore(i,t),d(this,dr).insertBefore(s,t)):d(this,dr).append(i,s),A(this,xc,e),e.toolbar=this}addColorPicker(e){if(d(this,Sc))return;A(this,Sc,e);const t=e.renderButton();P(this,ii,Of).call(this,t),d(this,dr).append(t,d(this,ii,L0))}async addEditSignatureButton(e){const t=A(this,Vp,await e.renderEditButton(d(this,ur)));P(this,ii,Of).call(this,t),d(this,dr).append(t,d(this,ii,L0))}removeButton(e){var t,i;switch(e){case"comment":(t=d(this,xc))==null||t.removeToolbarCommentButton(),A(this,xc,null),(i=d(this,Up))==null||i.remove(),A(this,Up,null);break}}async addButton(e,t){switch(e){case"colorPicker":this.addColorPicker(t);break;case"altText":await this.addAltText(t);break;case"editSignature":await this.addEditSignatureButton(t);break;case"delete":this.addDeleteButton();break;case"comment":this.addComment(t);break}}async addButtonBefore(e,t,i){const s=d(this,dr).querySelector(i);s&&e==="comment"&&this.addComment(t,s)}updateEditSignatureButton(e){d(this,Vp)&&(d(this,Vp).title=e)}remove(){var e;d(this,_c).remove(),(e=d(this,Sc))==null||e.destroy(),A(this,Sc,null)}};_c=new WeakMap,Sc=new WeakMap,ur=new WeakMap,dr=new WeakMap,Sv=new WeakMap,xc=new WeakMap,Up=new WeakMap,Vp=new WeakMap,xv=new WeakMap,l1=new WeakSet,U6=function(e){e.stopPropagation()},ii=new WeakSet,V6=function(e){d(this,ur)._focusEventsAllowed=!1,Vt(e)},X6=function(e){d(this,ur)._focusEventsAllowed=!0,Vt(e)},Of=function(e){const t=d(this,ur)._uiManager._signal;return!(t instanceof AbortSignal)||t.aborted?!1:(e.addEventListener("focusin",P(this,ii,V6).bind(this),{capture:!0,signal:t}),e.addEventListener("focusout",P(this,ii,X6).bind(this),{capture:!0,signal:t}),e.addEventListener("contextmenu",er,{signal:t}),!0)},L0=function(){const e=document.createElement("div");return e.className="divider",e},T(jo,l1),T(jo,xv,null);let DC=jo;var wv,Dd,Xo,Gl,H6,G6,PC;class sle{constructor(e){T(this,Gl);T(this,wv,null);T(this,Dd,null);T(this,Xo);A(this,Xo,e)}show(e,t,i){const[s,r]=P(this,Gl,G6).call(this,t,i),{style:a}=d(this,Dd)||A(this,Dd,P(this,Gl,H6).call(this));e.append(d(this,Dd)),a.insetInlineEnd=`${100*s}%`,a.top=`calc(${100*r}% + var(--editor-toolbar-vert-offset))`}hide(){d(this,Dd).remove()}}wv=new WeakMap,Dd=new WeakMap,Xo=new WeakMap,Gl=new WeakSet,H6=function(){const e=A(this,Dd,document.createElement("div"));e.className="editToolbar",e.setAttribute("role","toolbar");const t=d(this,Xo)._signal;t instanceof AbortSignal&&!t.aborted&&e.addEventListener("contextmenu",er,{signal:t});const i=A(this,wv,document.createElement("div"));return i.className="buttons",e.append(i),d(this,Xo).hasCommentManager()&&P(this,Gl,PC).call(this,"commentButton","pdfjs-comment-floating-button","pdfjs-comment-floating-button-label",()=>{d(this,Xo).commentSelection("floating_button")}),P(this,Gl,PC).call(this,"highlightButton","pdfjs-highlight-floating-button1","pdfjs-highlight-floating-button-label",()=>{d(this,Xo).highlightSelection("floating_button")}),e},G6=function(e,t){let i=0,s=0;for(const r of e){const a=r.y+r.height;if(a<i)continue;const o=r.x+(t?r.width:0);if(a>i){s=o,i=a;continue}t?o>s&&(s=o):o<s&&(s=o)}return[t?1-s:s,i]},PC=function(e,t,i,s){const r=document.createElement("button");r.classList.add("basic",e),r.tabIndex=0,r.setAttribute("data-l10n-id",t);const a=document.createElement("span");r.append(a),a.className="visuallyHidden",a.setAttribute("data-l10n-id",i);const o=d(this,Xo)._signal;o instanceof AbortSignal&&!o.aborted&&(r.addEventListener("contextmenu",er,{signal:o}),r.addEventListener("click",s,{signal:o})),d(this,wv).append(r)};function $6(n,e,t){for(const i of t)e.addEventListener(i,n[i].bind(n))}var c1;class rle{constructor(){T(this,c1,0)}get id(){return`${iv}${qt(this,c1)._++}`}}c1=new WeakMap;var Xp,Ev,ci,Hp,J_;const xk=class xk{constructor(){T(this,Hp);T(this,Xp,AR());T(this,Ev,0);T(this,ci,null)}static get _isSVGFittingCanvas(){const e='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}),s=new Image;s.src=e;const r=s.decode().then(()=>(i.drawImage(s,0,0,1,1,0,0,1,3),new Uint32Array(i.getImageData(0,0,1,1).data.buffer)[0]===0));return Ee(this,"_isSVGFittingCanvas",r)}async getFromFile(e){const{lastModified:t,name:i,size:s,type:r}=e;return P(this,Hp,J_).call(this,`${t}_${i}_${s}_${r}`,e)}async getFromUrl(e){return P(this,Hp,J_).call(this,e,e)}async getFromBlob(e,t){const i=await t;return P(this,Hp,J_).call(this,e,i)}async getFromId(e){d(this,ci)||A(this,ci,new Map);const t=d(this,ci).get(e);if(!t)return null;if(t.bitmap)return t.refCounter+=1,t;if(t.file)return this.getFromFile(t.file);if(t.blobPromise){const{blobPromise:i}=t;return delete t.blobPromise,this.getFromBlob(t.id,i)}return this.getFromUrl(t.url)}getFromCanvas(e,t){d(this,ci)||A(this,ci,new Map);let i=d(this,ci).get(e);if(i!=null&&i.bitmap)return i.refCounter+=1,i;const s=new OffscreenCanvas(t.width,t.height);return s.getContext("2d").drawImage(t,0,0),i={bitmap:s.transferToImageBitmap(),id:`image_${d(this,Xp)}_${qt(this,Ev)._++}`,refCounter:1,isSvg:!1},d(this,ci).set(e,i),d(this,ci).set(i.id,i),i}getSvgUrl(e){const t=d(this,ci).get(e);return t!=null&&t.isSvg?t.svgUrl:null}deleteId(e){var s;d(this,ci)||A(this,ci,new Map);const t=d(this,ci).get(e);if(!t||(t.refCounter-=1,t.refCounter!==0))return;const{bitmap:i}=t;if(!t.url&&!t.file){const r=new OffscreenCanvas(i.width,i.height);r.getContext("bitmaprenderer").transferFromImageBitmap(i),t.blobPromise=r.convertToBlob()}(s=i.close)==null||s.call(i),t.bitmap=null}isValidId(e){return e.startsWith(`image_${d(this,Xp)}_`)}};Xp=new WeakMap,Ev=new WeakMap,ci=new WeakMap,Hp=new WeakSet,J_=async function(e,t){d(this,ci)||A(this,ci,new Map);let i=d(this,ci).get(e);if(i===null)return null;if(i!=null&&i.bitmap)return i.refCounter+=1,i;try{i||(i={bitmap:null,id:`image_${d(this,Xp)}_${qt(this,Ev)._++}`,refCounter:0,isSvg:!1});let s;if(typeof t=="string"?(i.url=t,s=await a0(t,"blob")):t instanceof File?s=i.file=t:t instanceof Blob&&(s=t),s.type==="image/svg+xml"){const r=xk._isSVGFittingCanvas,a=new FileReader,o=new Image,l=new Promise((c,u)=>{o.onload=()=>
235{i.bitmap=o,i.isSvg=!0,c()},a.onload=async()=>{const h=i.svgUrl=a.result;o.src=await r?`${h}#svgView(preserveAspectRatio(none))`:h},o.onerror=a.onerror=u});a.readAsDataURL(s),await l}else i.bitmap=await createImageBitmap(s);i.refCounter=1}catch(s){me(s),i=null}return d(this,ci).set(e,i),i&&d(this,ci).set(i.id,i),i};let RC=xk;var on,wc,Av,zt;class ale{constructor(e=128){T(this,on,[]);T(this,wc,!1);T(this,Av);T(this,zt,-1);A(this,Av,e)}add({cmd:e,undo:t,post:i,mustExec:s,type:r=NaN,overwriteIfSameType:a=!1,keepUndo:o=!1}){if(s&&e(),d(this,wc))return;const l={cmd:e,undo:t,post:i,type:r};if(d(this,zt)===-1){d(this,on).length>0&&(d(this,on).length=0),A(this,zt,0),d(this,on).push(l);return}if(a&&d(this,on)[d(this,zt)].type===r){o&&(l.undo=d(this,on)[d(this,zt)].undo),d(this,on)[d(this,zt)]=l;return}const c=d(this,zt)+1;c===d(this,Av)?d(this,on).splice(0,1):(A(this,zt,c),c<d(this,on).length&&d(this,on).splice(c)),d(this,on).push(l)}undo(){if(d(this,zt)===-1)return;A(this,wc,!0);const{undo:e,post:t}=d(this,on)[d(this,zt)];e(),t==null||t(),A(this,wc,!1),A(this,zt,d(this,zt)-1)}redo(){if(d(this,zt)<d(this,on).length-1){A(this,zt,d(this,zt)+1),A(this,wc,!0);const{cmd:e,post:t}=d(this,on)[d(this,zt)];e(),t==null||t(),A(this,wc,!1)}}hasSomethingToUndo(){return d(this,zt)!==-1}hasSomethingToRedo(){return d(this,zt)<d(this,on).length-1}cleanType(e){if(d(this,zt)!==-1){for(let t=d(this,zt);t>=0;t--)if(d(this,on)[t].type!==e){d(this,on).splice(t+1,d(this,zt)-t),A(this,zt,t);return}d(this,on).length=0,A(this,zt,-1)}}destroy(){A(this,on,null)}}on=new WeakMap,wc=new WeakMap,Av=new WeakMap,zt=new WeakMap;var u1,q6;class Ib{constructor(e){T(this,u1);this.buffer=[],this.callbacks=new Map,this.allKeys=new Set;const{isMac:t}=Vn.platform;for(const[i,s,r={}]of e)for(const a of i){const o=a.startsWith("mac+");t&&o?(this.callbacks.set(a.slice(4),{callback:s,options:r}),this.allKeys.add(a.split("+").at(-1))):!t&&!o&&(this.callbacks.set(a,{callback:s,options:r}),this.allKeys.add(a.split("+").at(-1)))}}exec(e,t){if(!this.allKeys.has(t.key))return;
235const i=this.callbacks.get(P(this,u1,q6).call(this,t));if(!i)return;const{callback:s,options:{bubbles:r=!1,args:a=[],checker:o=null}}=i;o&&!o(e,t)||(s.bind(e,...a,t)(),r||Vt(t))}}u1=new WeakSet,q6=function(e){e.altKey&&this.buffer.push("alt"),e.ctrlKey&&this.buffer.push("ctrl"),e.metaKey&&this.buffer.push("meta"),e.shiftKey&&this.buffer.push("shift"),this.buffer.push(e.key);const t=this.buffer.join("+");return this.buffer.length=0,t};const d1=class d1{get _colors(){const e=new Map([["CanvasText",null],["Canvas",null]]);return nle(e),Ee(this,"_colors",e)}convert(e){const t=o0(e);if(!window.matchMedia("(forced-colors: active)").matches)return t;for(const[i,s]of this._colors)if(s.every((r,a)=>r===t[a]))return d1._colorsMapping.get(i);return t}getHexCode(e){const t=this._colors.get(e);return t?re.makeHexColor(...t):e}};q(d1,"_colorsMapping",new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]));let kC=d1;var Gp,gs,$p,Kt,In,qp,hr,Yp,fr,ui,Ec,Ac,Wp,Ic,Da,pr,Pd,Iv,Cv,Kp,Tv,Pa,Cc,Qp,Tc,Ra,h1,Dc,Jp,Dv,Pc,Rd,Zp,Rc,Pv,pn,Je,Ho,kc,Nc,Rv,em,kv,Mc,ka,Go,Nv,Mv,mr,Q,Z_,NC,Y6,W6,B0,K6,Q6,J6,MC,Z6,OC,LC,ez,wi,Oo,tz,nz,BC,iz,j0,jC;const lp=class lp{constructor(e,t,i,s,r,a,o,l,c,u,h,f,p,b,g,S){T(this,Q);T(this,Gp,new AbortController);T(this,gs,null);T(this,$p,null);T(this,Kt,new Map);T(this,In,new Map);T(this,qp,null);T(this,hr,null);T(this,Yp,null);T(this,fr,new ale);T(this,ui,null);T(this,Ec,null);T(this,Ac,null);T(this,Wp,0);T(this,Ic,new Set);T(this,Da,null);T(this,pr,null);T(this,Pd,new Set);q(this,"_editorUndoBar",null);T(this,Iv,!1);T(this,Cv,!1);T(this,Kp,!1);T(this,Tv,null);T(this,Pa,null);T(this,Cc,null);T(this,Qp,null);T(this,Tc,!1);T(this,Ra,null);T(this,h1,new rle);T(this,Dc,!1);T(this,Jp,!1);T(this,Dv,!1);T(this,Pc,null);T(this,Rd,null);T(this,Zp,null);T(this,Rc,null);T(this,Pv,null);T(this,pn,pe.NONE);T(this,Je,new Set);T(this,Ho,null);T(this,kc,null);T(this,Nc,null);T(this,Rv,null);T(this,em,null);T(this,kv,{isEditing:!1,isEmpty:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1,hasSelectedText:!1});T(this,Mc,[0,0]);T(this,ka,null);T(this,Go,null);T(this,Nv,null);T(this,Mv,null);T(this,mr,null);const y=this._signal=d(this,Gp).signal;A(this,Go,e),A(this,Nv,t),A(this,Mv,i),A(this,qp,s),A(this,ui,r),A(this,kc,a),A(this,em,l),this._eventBus=o,o._on("editingaction",this.onEditingAction.bind(this),{signal:y}),o._on("pagechanging",this.onPageChanging.bind(this),{signal:y}),o._on("scalechanging",this.onScaleChanging.bind(this),{signal:y}),o._on("rotationchanging",this.onRotationChanging.bind(this),{signal:y}),o._on("setpreference",this.onSetPreference.bind(this),{signal:y}),o._on("switchannotationeditorparams",v=>this.updateParams(v.type,v.value),{signal:y}),window.addEventListener("pointerdown",()=>{A(this,Jp,!0)},{capture:!0,signal:y}),window.addEventListener("pointerup",()=>{A(this,Jp,!1)},{capture:!0,signal:y}),P(this,Q,K6).call(this),P(this,Q,ez).call(this),P(this,Q,MC).call(this),A(this,hr,l.annotationStorage),A(this,Tv,l.filterFactory),A(this,Nc,c),A(this,Qp,u||null),A(this,Iv,h),A(this,Cv,f),A(this,Kp,p),A(this,Pv,b||null),this.viewParameters={realScale:Vl.PDF_TO_CSS_UNITS,rotation:0},this.isShiftKeyDown=!1,this._editorUndoBar=g||null,this._supportsPinchToZoom=S!==!1,r==null||r.setSidebarUiManager(this)}static get _keyboardManager(){const e=lp.prototype,t=a=>d(a,Go).contains(document.activeElement)&&document.activeElement.tagName!=="BUTTON"&&a.hasSomethingToControl(),i=(a,{target:o})=>{if(o instanceof HTMLInputElement){const{type:l}=o;return l!=="text"&&l!=="number"}return!0},s=this.TRANSLATE_SMALL,r=this.TRANSLATE_BIG;return Ee(this,"_keyboardManager",new Ib([[["ctrl+a","mac+meta+a"],e.selectAll,{checker:i}],[["ctrl+z","mac+meta+z"],e.undo,{checker:i}],[["ctrl+y","ctrl+shift+z","mac+meta+shift+z","ctrl+shift+Z","mac+meta+shift+Z"],e.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"],e.delete,{checker:i}
235],[["Enter","mac+Enter"],e.addNewEditorFromKeyboard,{checker:(a,{target:o})=>!(o instanceof HTMLButtonElement)&&d(a,Go).contains(o)&&!a.isEnterHandled}],[[" ","mac+ "],e.addNewEditorFromKeyboard,{checker:(a,{target:o})=>!(o instanceof HTMLButtonElement)&&d(a,Go).contains(document.activeElement)}],[["Escape","mac+Escape"],e.unselectAll],[["ArrowLeft","mac+ArrowLeft"],e.translateSelectedEditors,{args:[-s,0],checker:t}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],e.translateSelectedEditors,{args:[-r,0],checker:t}],[["ArrowRight","mac+ArrowRight"],e.translateSelectedEditors,{args:[s,0],checker:t}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],e.translateSelectedEditors,{args:[r,0],checker:t}],[["ArrowUp","mac+ArrowUp"],e.translateSelectedEditors,{args:[0,-s],checker:t}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],e.translateSelectedEditors,{args:[0,-r],checker:t}],[["ArrowDown","mac+ArrowDown"],e.translateSelectedEditors,{args:[0,s],checker:t}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],e.translateSelectedEditors,{args:[0,r],checker:t}]]))}destroy(){var e,t,i,s,r,a,o,l,c;(e=d(this,mr))==null||e.resolve(),A(this,mr,null),(t=d(this,Gp))==null||t.abort(),A(this,Gp,null),this._signal=null;for(const u of d(this,In).values())u.destroy();d(this,In).clear(),d(this,Kt).clear(),d(this,Pd).clear(),(i=d(this,Rc))==null||i.clear(),A(this,gs,null),d(this,Je).clear(),d(this,fr).destroy(),(s=d(this,qp))==null||s.destroy(),(r=d(this,ui))==null||r.destroy(),(a=d(this,kc))==null||a.destroy(),(o=d(this,Ra))==null||o.hide(),A(this,Ra,null),(l=d(this,Zp))==null||l.destroy(),A(this,Zp,null),A(this,$p,null),d(this,Pa)&&(clearTimeout(d(this,Pa)),A(this,Pa,null)),d(this,ka)&&(clearTimeout(d(this,ka)),A(this,ka,null)),(c=this._editorUndoBar)==null||c.destroy(),A(this,em,null)}combinedSignal(e){return AbortSignal.any([this._signal,e.signal])}get mlManager(){return d(this,Pv)}get useNewAltTextFlow(){return d(this,Cv)}get useNewAltTextWhenAddingImage(){return d(this,Kp)}get hcmFilter(){return Ee(this,"hcmFilter",d(this,Nc)?d(this,Tv).addHCMFilter(d(this,Nc).foreground,d(this,Nc).background):"none")}get direction(){return Ee(this,"direction",getComputedStyle(d(this,Go)).direction)}get _highlightColors(){return Ee(this,"_highlightColors",d(this,Qp)?new Map(d(this,Qp).split(",").map(e=>(e=e.split("=").map(t=>t.trim()),e[1]=e[1].toUpperCase(),e))):null)}get highlightColors(){const{_highlightColors:e}=this;if(!e)return Ee(this,"highlightColors",null);const t=new Map,i=!!d(this,Nc);for(const[s,r]of e){const a=s.endsWith("_HCM");if(i&&a){t.set(s.replace("_HCM",""),r);continue}!i&&!a&&t.set(s,r)}return Ee(this,"highlightColors",t)}get highlightColorNames(){return Ee(this,"highlightColorNames",this.highlightColors?new Map(Array.from(this.highlightColors,e=>e.reverse())):null)}getNonHCMColor(e){if(!this._highlightColors)return e;const t=this.highlightColorNames.get(e);return this._highlightColors.get(t)||e}getNonHCMColorName(e){return this.highlightColorNames.get(e)||e}setCurrentDrawingSession(e){e?(this.unselectAll(),this.disableUserSelect(!0)):this.disableUserSelect(!1),A(this,Ac,e)}setMainHighlightColorPicker(e){A(this,Zp,e)}editAltText(e,t=!1){var i;(i=d(this,qp))==null||i.editAltText(this,e,t)}hasCommentManager(){return!!d(this,ui)}editComment(e,t,i,s){var r;(r=d(this,ui))==null||r.showDialog(this,e,t,i,s)}selectComment(e,t){const i=d(this,In).get(e),s=i==null?void 0:i.getEditorByUID(t);s==null||s.toggleComment(!0,!0)}updateComment(e){var t;(t=d(this,ui))==null||t.updateComment(e.getData())}updatePopupColor(e){var t;(t=d(this,ui))==null||t.updatePopupColor(e)}removeComment(e){var t;(t=d(this,ui))==null||t.removeComments([e.uid])}toggleComment(e,t,i=void 0){var s;(s=d(this,ui))==null||s.toggleCommentPopup(e,t,i)}makeCommentColor(e,t){var i;return e&&((i=d(this,ui))==null?void 0:i.makeCommentColor(e,t))||null}getCommentDialogElement(){var e;return((e=d(this,ui))==null?void 0:e.dialogElement)||null}async waitForEditorsRendered(e){if(d(this,In).has(e-1))return;const{resolve:t,promise:i}=Promise.withResolvers(),s=r=>{r.pageNumber===e&&(this._eventBus._off("editorsrendered",s),t())};this._eventBus.on("editorsrendered",s),await i}getSignature(e){var t;(t=d(this,kc))==null||t.getSignature({uiManager:this,editor:e})}get signatureManager(){return d(this,kc)}switchToMode(e,t){this._eventBus.on("annotationeditormodechanged",t,{once:!0,signal:this._signal}),this._eventBus.dispatch("showannotationeditorui",{source:this,mode:e})}setPreference(e,t){this._eventBus.dispatch("setpreference",{source:this,name:e,value:t})}onSetPreference({name:e,value:t}){switch(e){case"enableNewAltTextWhenAddingImage":A(this,Kp,t);break}}onPageChanging({pageNumber:e}){A(this,Wp,e-1)}focusMainContainer(){d(this,Go).focus()}findParent(e,t){for(const i of d(this,In).values()){const{x:s,y:r,width:a,height:o}=i.div.getBoundingClientRect();if(e>=s&&e<=s+a&&t>=r&&t<=r+o)return i}return null}disableUserSelect(e=!1){d(this,Nv).classList.toggle("noUserSelect",e)}addShouldRescale(e){d(this,Pd).add(e)}removeShouldRescale(e){d(this,Pd).delete(e)}onScaleChanging({scale:e}){var t;this.commitOrRemove(),this.viewParameters.realScale=e*Vl.PDF_TO_CSS_UNITS;for(const i of d(this,Pd))i.onScaleChanging();(t=d(this,Ac))==null||t.onScaleChanging()}
235onRotationChanging({pagesRotation:e}){this.commitOrRemove(),this.viewParameters.rotation=e}highlightSelection(e="",t=!1){const i=document.getSelection();if(!i||i.isCollapsed)return;const{anchorNode:s,anchorOffset:r,focusNode:a,focusOffset:o}=i,l=i.toString(),u=P(this,Q,Z_).call(this,i).closest(".textLayer"),h=this.getSelectionBoxes(u);if(!h)return;i.empty();const f=P(this,Q,NC).call(this,u),p=d(this,pn)===pe.NONE,b=()=>{const g=f==null?void 0:f.createAndAddNewEditor({x:0,y:0},!1,{methodOfCreation:e,boxes:h,anchorNode:s,anchorOffset:r,focusNode:a,focusOffset:o,text:l});p&&this.showAllEditors("highlight",!0,!0),t&&(g==null||g.editComment())};if(p){this.switchToMode(pe.HIGHLIGHT,b);return}b()}commentSelection(e=""){this.highlightSelection(e,!0)}getAndRemoveDataFromAnnotationStorage(e){if(!d(this,hr))return null;const t=`${iv}${e}`,i=d(this,hr).getRawValue(t);return i&&d(this,hr).remove(t),i}addToAnnotationStorage(e){!e.isEmpty()&&d(this,hr)&&!d(this,hr).has(e.id)&&d(this,hr).setValue(e.id,e)}a11yAlert(e,t=null){const i=d(this,Mv);i&&(i.setAttribute("data-l10n-id",e),t?i.setAttribute("data-l10n-args",JSON.stringify(t)):i.removeAttribute("data-l10n-args"))}blur(){if(this.isShiftKeyDown=!1,d(this,Tc)&&(A(this,Tc,!1),P(this,Q,B0).call(this,"main_toolbar")),!this.hasSelection)return;const{activeElement:e}=document;for(const t of d(this,Je))if(t.div.contains(e)){A(this,Rd,[t,e]),t._focusEventsAllowed=!1;break}}focus(){if(!d(this,Rd))return;const[e,t]=d(this,Rd);A(this,Rd,null),t.addEventListener("focusin",()=>{e._focusEventsAllowed=!0},{once:!0,signal:this._signal}),t.focus()}addEditListeners(){P(this,Q,MC).call(this),P(this,Q,OC).call(this)}removeEditListeners(){P(this,Q,Z6).call(this),P(this,Q,LC).call(this)}dragOver(e){for(const{type:t}of e.dataTransfer.items)for(const i of d(this,pr))if(i.isHandlingMimeForPasting(t)){e.dataTransfer.dropEffect="copy",e.preventDefault();return}}drop(e){for(const t of e.dataTransfer.items)for(const i of d(this,pr))if(i.isHandlingMimeForPasting(t.type)){i.paste(t,this.currentLayer),e.preventDefault();return}}copy(e){var i;if(e.preventDefault(),(i=d(this,gs))==null||i.commitOrRemove(),!this.hasSelection)return;const t=[];for(const s of d(this,Je)){const r=s.serialize(!0);r&&t.push(r)}t.length!==0&&e.clipboardData.setData("application/pdfjs",JSON.stringify(t))}cut(e){this.copy(e),this.delete()}async paste(e){e.preventDefault();const{clipboardData:t}=e;for(const r of t.items)for(const a of d(this,pr))if(a.isHandlingMimeForPasting(r.type)){a.paste(r,this.currentLayer);return}let i=t.getData("application/pdfjs");if(!i)return;try{i=JSON.parse(i)}catch(r){me(`paste: "${r.message}".`);return}if(!Array.isArray(i))return;this.unselectAll();const s=this.currentLayer;try{const r=[];for(const l of i){const c=await s.deserialize(l);if(!c)return;r.push(c)}const a=()=>{for(const l of r)P(this,Q,BC).call(this,l);P(this,Q,jC).call(this,r)},o=()=>{for(const l of r)l.remove()};this.addCommands({cmd:a,undo:o,mustExec:!0})}catch(r){me(`paste: "${r.message}".`)}}keydown(e){!this.isShiftKeyDown&&e.key==="Shift"&&(this.isShiftKeyDown=!0),d(this,pn)!==pe.NONE&&!this.isEditorHandlingKeyboard&&lp._keyboardManager.exec(this,e)}keyup(e){this.isShiftKeyDown&&e.key==="Shift"&&(this.isShiftKeyDown=!1,d(this,Tc)&&(A(this,Tc,!1),P(this,Q,B0).call(this,"main_toolbar")))}onEditingAction({name:e}){switch(e){case"undo":case"redo":case"delete":case"selectAll":this[e]();break;case"highlightSelection":this.highlightSelection("context_menu");break;case"commentSelection":this.commentSelection("context_menu");break}}setEditingState(e){e?(P(this,Q,Q6).call(this),P(this,Q,OC).call(this),P(this,Q,wi).call(this,{isEditing:d(this,pn)!==pe.NONE,isEmpty:P(this,Q,j0).call(this),hasSomethingToUndo:d(this,fr).hasSomethingToUndo(),hasSomethingToRedo:d(this,fr).hasSomethingToRedo(),hasSelectedEditor:!1})):(P(this,Q,J6).call(this),P(this,Q,LC).call(this),P(this,Q,wi).call(this,{isEditing:!1}),this.disableUserSelect(!1))}registerEditorTypes(e){if(!d(this,pr)){A(this,pr,e);for(const t of d(this,pr))P(this,Q,Oo).call(this,t.defaultPropertiesToUpdate)}}getId(){return d(this,h1).id}get currentLayer(){return d(this,In).get(d(this,Wp))}getLayer(e){return d(this,In).get(e)}get currentPageIndex(){return d(this,Wp)}
235addLayer(e){d(this,In).set(e.pageIndex,e),d(this,Dc)?e.enable():e.disable()}removeLayer(e){d(this,In).delete(e.pageIndex)}async updateMode(e,t=null,i=!1,s=!1,r=!1){var a,o,l,c,u,h;if(d(this,pn)!==e&&!(d(this,mr)&&(await d(this,mr).promise,!d(this,mr)))){if(A(this,mr,Promise.withResolvers()),(a=d(this,Ac))==null||a.commitOrRemove(),d(this,pn)===pe.POPUP&&((o=d(this,ui))==null||o.hideSidebar()),(l=d(this,ui))==null||l.destroyPopup(),A(this,pn,e),e===pe.NONE){this.setEditingState(!1),P(this,Q,nz).call(this);for(const f of d(this,Kt).values())f.hideStandaloneCommentButton();(c=this._editorUndoBar)==null||c.hide(),this.toggleComment(null),d(this,mr).resolve();return}for(const f of d(this,Kt).values())f.addStandaloneCommentButton();e===pe.SIGNATURE&&await((u=d(this,kc))==null?void 0:u.loadSignatures()),this.setEditingState(!0),await P(this,Q,tz).call(this),this.unselectAll();for(const f of d(this,In).values())f.updateMode(e);if(e===pe.POPUP){d(this,$p)||A(this,$p,await d(this,em).getAnnotationsByType(new Set(d(this,pr).map(b=>b._editorType))));const f=new Set,p=[];for(const b of d(this,Kt).values()){const{annotationElementId:g,hasComment:S,deleted:y}=b;g&&f.add(g),S&&!y&&p.push(b.getData())}for(const b of d(this,$p)){const{id:g,popupRef:S,contentsObj:y}=b;S&&(y!=null&&y.str)&&!f.has(g)&&!d(this,Ic).has(g)&&p.push(b)}(h=d(this,ui))==null||h.showSidebar(p)}if(!t){i&&this.addNewEditorFromKeyboard(),d(this,mr).resolve();return}for(const f of d(this,Kt).values())f.uid===t?(this.setSelected(f),r?f.editComment():s?f.enterInEditMode():f.focus()):f.unselect();d(this,mr).resolve()}}addNewEditorFromKeyboard(){this.currentLayer.canCreateNewEmptyEditor()&&this.currentLayer.addNewEditor()}updateToolbar(e){e.mode!==d(this,pn)&&this._eventBus.dispatch("switchannotationeditormode",{source:this,...e})}updateParams(e,t){if(d(this,pr)){switch(e){case Me.CREATE:this.currentLayer.addNewEditor(t);return;case Me.HIGHLIGHT_SHOW_ALL:this._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:{type:"highlight",action:"toggle_visibility"}}}),(d(this,Rv)||A(this,Rv,new Map)).set(e,t),this.showAllEditors("highlight",t);break}if(this.hasSelection)for(const i of d(this,Je))i.updateParams(e,t);else for(const i of d(this,pr))i.updateDefaultParams(e,t)}}showAllEditors(e,t,i=!1){var r;for(const a of d(this,Kt).values())a.editorType===e&&a.show(t);(((r=d(this,Rv))==null?void 0:r.get(Me.HIGHLIGHT_SHOW_ALL))??!0)!==t&&P(this,Q,Oo).call(this,[[Me.HIGHLIGHT_SHOW_ALL,t]])}enableWaiting(e=!1){if(d(this,Dv)!==e){A(this,Dv,e);for(const t of d(this,In).values())e?t.disableClick():t.enableClick(),t.div.classList.toggle("waiting",e)}}*getEditors(e){for(const t of d(this,Kt).values())t.pageIndex===e&&(yield t)}getEditor(e){return d(this,Kt).get(e)}addEditor(e){d(this,Kt).set(e.id,e)}removeEditor(e){var t,i;e.div.contains(document.activeElement)&&(d(this,Pa)&&clearTimeout(d(this,Pa)),A(this,Pa,setTimeout(()=>{this.focusMainContainer(),A(this,Pa,null)},0))),d(this,Kt).delete(e.id),e.annotationElementId&&((t=d(this,Rc))==null||t.delete(e.annotationElementId)),this.unselect(e),(!e.annotationElementId||!d(this,Ic).has(e.annotationElementId))&&((i=d(this,hr))==null||i.remove(e.id))}addDeletedAnnotationElement(e){d(this,Ic).add(e.annotationElementId),this.addChangedExistingAnnotation(e),e.deleted=!0}isDeletedAnnotationElement(e){return d(this,Ic).has(e)}removeDeletedAnnotationElement(e){d(this,Ic).delete(e.annotationElementId),this.removeChangedExistingAnnotation(e),e.deleted=!1}setActiveEditor(e){d(this,gs)!==e&&(A(this,gs,e),e&&P(this,Q,Oo).call(this,e.propertiesToUpdate))}updateUI(e){d(this,Q,iz)===e&&P(this,Q,Oo).call(this,e.propertiesToUpdate)}updateUIForDefaultProperties(e){P(this,Q,Oo).call(this,e.defaultPropertiesToUpdate)}toggleSelected(e){if(d(this,Je).has(e)){d(this,Je).delete(e),e.unselect(),P(this,Q,wi).call(this,{hasSelectedEditor:this.hasSelection});return}d(this,Je).add(e),e.select(),P(this,Q,Oo).call(this,e.propertiesToUpdate),P(this,Q,wi).call(this,{hasSelectedEditor:!0})}setSelected(e){var t;this.updateToolbar({mode:e.mode,editId:e.id}),(t=d(this,Ac))==null||t.commitOrRemove();for(const i of d(this,Je))i!==e&&i.unselect();d(this,Je).clear(),d(this,Je).add(e),e.select(),P(this,Q,Oo).call(this,e.propertiesToUpdate),P(this,Q,wi).call(this,{hasSelectedEditor:!0})}isSelected(e){return d(this,Je).has(e)}get firstSelectedEditor(){return d(this,Je).values().next().value}unselect(e){e.unselect(),d(this,Je).delete(e),P(this,Q,wi).call(this,{hasSelectedEditor:this.hasSelection})}get hasSelection(){return d(this,Je).size!==0}get isEnterHandled(){return d(this,Je).size===1&&this.firstSelectedEditor.isEnterHandled}undo(){var e;d(this,fr).undo(),P(this,Q,wi).call(this,{hasSomethingToUndo:d(this,fr).hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:P(this,Q,j0).call(this)}),(e=this._editorUndoBar)==null||e.hide()}redo(){d(this,fr).redo(),P(this,Q,wi).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:d(this,fr).hasSomethingToRedo(),isEmpty:P(this,Q,j0).call(this)})}addCommands(e){d(this,fr).add(e),P(this,Q,wi).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:P(this,Q,j0).call(this)})}cleanUndoStack(e){d(this,fr).cleanType(e)}delete(){var r;this.commitOrRemove();const e=(r=this.currentLayer)==null?void 0:r.endDrawingSession(!0);if(!this.hasSelection&&!e)return;const t=e?[e]:[...d(this,Je)],i=()=>{var a;(a=this._editorUndoBar)==null||a.show(s,t.length===1?t[0].editorType:t.length);for(const o of t)o.remove()},s=()=>{for(const a of t)P(this,Q,BC).call(this,a)};this.addCommands({cmd:i,undo:s,mustExec:!0})}commitOrRemove(){var e;(e=d(this,gs))==null||e.commitOrRemove()}hasSomethingToControl(){return d(this,gs)||this.hasSelection}selectAll(){for(const e of d(this,Je))e.commit();P(this,Q,jC).call(this,d(this,Kt).values())}unselectAll(){var e;if(!(d(this,gs)&&(d(this,gs).commitOrRemove(),d(this,pn)!==pe.NONE))&&!((e=d(this,Ac))!=null&&e.commitOrRemove())&&this.hasSelection){for(const t of d(this,Je))t.unselect();d(this,Je).clear(),P(this,Q,wi).call(this,{hasSelectedEditor:!1})}}translateSelectedEditors(e,t,i=!1){if(i||this.commitOrRemove(),!this.hasSelection)return;d(this,Mc)[0]+=e,d(this,Mc)[1]+=t;const[s,r]=d(this,Mc),a=[...d(this,Je)],o=1e3;d(this,ka)&&clearTimeout(d(this,ka)),A(this,ka,setTimeout(()=>{A(this,ka,null),d(this,Mc)[0]=d(this,Mc)[1]=0,this.addCommands({cmd:()=>{for(const l of a)d(this,Kt).has(l.id)&&(l.translateInPage(s,r),l.translationDone())},undo:()=>{for(const l of a)d(this,Kt).has(l.id)&&(l.translateInPage(-s,-r),l.translationDone())},mustExec:!1})},o));for(const l of a)l.translateInPage(e,t),l.translationDone()}setUpDragSession(){if(this.hasSelection){this.disableUserSelect(!0),A(this,Da,new Map);for(const e of d(this,Je))d(this,Da).set(e,{savedX:e.x,savedY:e.y,savedPageIndex:e.pageIndex,newX:0,newY:0,newPageIndex:-1})}}endDragSession(){if(!d(this,Da))return!1;this.disableUserSelect(!1);const e=d(this,Da);A(this,Da,null);let t=!1;for(const[{x:s,y:r,pageIndex:a},o]of e)o.newX=s,o.newY=r,o.newPageIndex=a,t||(t=s!==o.savedX||r!==o.savedY||a!==o.savedPageIndex);if(!t)return!1;const i=(s,r,a,o)=>
235{if(d(this,Kt).has(s.id)){const l=d(this,In).get(o);l?s._setParentAndPosition(l,r,a):(s.pageIndex=o,s.x=r,s.y=a)}};return this.addCommands({cmd:()=>{for(const[s,{newX:r,newY:a,newPageIndex:o}]of e)i(s,r,a,o)},undo:()=>{for(const[s,{savedX:r,savedY:a,savedPageIndex:o}]of e)i(s,r,a,o)},mustExec:!0}),!0}dragSelectedEditors(e,t){if(d(this,Da))for(const i of d(this,Da).keys())i.drag(e,t)}rebuild(e){if(e.parent===null){const t=this.getLayer(e.pageIndex);t?(t.changeParent(e),t.addOrRebuild(e)):(this.addEditor(e),this.addToAnnotationStorage(e),e.rebuild())}else e.parent.addOrRebuild(e)}get isEditorHandlingKeyboard(){var e;return((e=this.getActive())==null?void 0:e.shouldGetKeyboardEvents())||d(this,Je).size===1&&this.firstSelectedEditor.shouldGetKeyboardEvents()}isActive(e){return d(this,gs)===e}getActive(){return d(this,gs)}getMode(){return d(this,pn)}isEditingMode(){return d(this,pn)!==pe.NONE}get imageManager(){return Ee(this,"imageManager",new RC)}getSelectionBoxes(e){if(!e)return null;const t=document.getSelection();for(let c=0,u=t.rangeCount;c<u;c++)if(!e.contains(t.getRangeAt(c).commonAncestorContainer))return null;const{x:i,y:s,width:r,height:a}=e.getBoundingClientRect();let o;switch(e.getAttribute("data-main-rotation")){case"90":o=(c,u,h,f)=>({x:(u-s)/a,y:1-(c+h-i)/r,width:f/a,height:h/r});break;case"180":o=(c,u,h,f)=>({x:1-(c+h-i)/r,y:1-(u+f-s)/a,width:h/r,height:f/a});break;case"270":o=(c,u,h,f)=>({x:1-(u+f-s)/a,y:(c-i)/r,width:f/a,height:h/r});break;default:o=(c,u,h,f)=>({x:(c-i)/r,y:(u-s)/a,width:h/r,height:f/a});break}const l=[];for(let c=0,u=t.rangeCount;c<u;c++){const h=t.getRangeAt(c);if(!h.collapsed)for(const{x:f,y:p,width:b,height:g}of h.getClientRects())b===0||g===0||l.push(o(f,p,b,g))}return l.length===0?null:l}addChangedExistingAnnotation({annotationElementId:e,id:t}){(d(this,Yp)||A(this,Yp,new Map)).set(e,t)}removeChangedExistingAnnotation({annotationElementId:e}){var t;(t=d(this,Yp))==null||t.delete(e)}renderAnnotationElement(e){var s;const t=(s=d(this,Yp))==null?void 0:s.get(e.data.id);if(!t)return;const i=d(this,hr).getRawValue(t);i&&(d(this,pn)===pe.NONE&&!i.hasBeenModified||i.renderAnnotationElement(e))}setMissingCanvas(e,t,i){var r;const s=(r=d(this,Rc))==null?void 0:r.get(e);s&&(s.setCanvas(t,i),d(this,Rc).delete(e))}addMissingCanvas(e,t){(d(this,Rc)||A(this,Rc,new Map)).set(e,t)}};Gp=new WeakMap,gs=new WeakMap,$p=new WeakMap,Kt=new WeakMap,In=new WeakMap,qp=new WeakMap,hr=new WeakMap,Yp=new WeakMap,fr=new WeakMap,ui=new WeakMap,Ec=new WeakMap,Ac=new WeakMap,Wp=new WeakMap,Ic=new WeakMap,Da=new WeakMap,pr=new WeakMap,Pd=new WeakMap,Iv=new WeakMap,Cv=new WeakMap,Kp=new WeakMap,Tv=new WeakMap,Pa=new WeakMap,Cc=new WeakMap,Qp=new WeakMap,Tc=new WeakMap,Ra=new WeakMap,h1=new WeakMap,Dc=new WeakMap,Jp=new WeakMap,Dv=new WeakMap,Pc=new WeakMap,Rd=new WeakMap,Zp=new WeakMap,Rc=new WeakMap,Pv=new WeakMap,pn=new WeakMap,Je=new WeakMap,Ho=new WeakMap,kc=new WeakMap,Nc=new WeakMap,Rv=new WeakMap,em=new WeakMap,kv=new WeakMap,Mc=new WeakMap,ka=new WeakMap,Go=new WeakMap,Nv=new WeakMap,Mv=new WeakMap,mr=new WeakMap,Q=new WeakSet,Z_=function({anchorNode:e}){return e.nodeType===Node.TEXT_NODE?e.parentElement:e},NC=function(e){const{currentLayer:t}=this;if(t.hasTextLayer(e))return t;for(const i of d(this,In).values())if(i.hasTextLayer(e))return i;return null},Y6=function(){const e=document.getSelection();if(!e||e.isCollapsed)return;const i=P(this,Q,Z_).call(this,e).closest(".textLayer"),s=this.getSelectionBoxes(i);s&&(d(this,Ra)||A(this,Ra,new sle(this)),d(this,Ra).show(i,s,this.direction==="ltr"))},W6=function(){var r,a,o;const e=document.getSelection();if(!e||e.isCollapsed){d(this,Ho)&&((r=d(this,Ra))==null||r.hide(),A(this,Ho,null),P(this,Q,wi).call(this,{hasSelectedText:!1}));return}const{anchorNode:t}=e;if(t===d(this,Ho))return;const s=P(this,Q,Z_).call(this,e).closest(".textLayer");if(!s){d(this,Ho)&&((a=d(this,Ra))==null||a.hide(),A(this,Ho,null),P(this,Q,wi).call(this,{hasSelectedText:!1}));return}if((o=d(this,Ra))==null||o.hide(),A(this,Ho,t),P(this,Q,wi).call(this,{hasSelectedText:!0}),!(d(this,pn)!==pe.HIGHLIGHT&&d(this,pn)!==pe.NONE)&&(d(this,pn)===pe.HIGHLIGHT&&this.showAllEditors("highlight",!0,!0),A(this,Tc,this.isShiftKeyDown),!this.isShiftKeyDown)){const l=d(this,pn)===pe.HIGHLIGHT?P(this,Q,NC).call(this,s):null;if(l==null||l.toggleDrawing(),d(this,Jp)){const c=new AbortController,u=this.combinedSignal(c),h=f=>{f.type==="pointerup"&&f.button!==0||(c.abort(),l==null||l.toggleDrawing(!0),f.type==="pointerup"&&P(this,Q,B0).call(this,"main_toolbar"))};window.addEventListener("pointerup",h,{signal:u}),window.addEventListener("blur",h,{signal:u})}else l==null||l.toggleDrawing(!0),P(this,Q,B0).call(this,"main_toolbar")}},B0=function(e=""){d(this,pn)===pe.HIGHLIGHT?this.highlightSelection(e):d(this,Iv)&&P(this,Q,Y6).call(this)},K6=function(){document.addEventListener("selectionchange",P(this,Q,W6).bind(this),{signal:this._signal})},Q6=function(){if(d(this,Cc))return;A(this,Cc,new AbortController);const e=this.combinedSignal(d(this,Cc));window.addEventListener("focus",this.focus.bind(this),{signal:e}),window.addEventListener("blur",this.blur.bind(this),{signal:e})},J6=function(){var e;(e=d(this,Cc))==null||e.abort(),A(this,Cc,null)},MC=function(){if(d(this,Pc))return;A(this,Pc,new AbortController);const e=this.combinedSignal(d(this,Pc));window.addEventListener("keydown",this.keydown.bind(this),{signal:e}),window.addEventListener("keyup",this.keyup.bind(this),{signal:e})},Z6=function(){var e;(e=d(this,Pc))==null||e.abort(),A(this,Pc,null)},OC=function(){if(d(this,Ec))return;A(this,Ec,new AbortController);const e=this.combinedSignal(d(this,Ec));document.addEventListener("copy",this.copy.bind(this),{signal:e}),document.addEventListener("cut",this.cut.bind(this),{signal:e}),document.addEventListener("paste",this.paste.bind(this),{signal:e})},LC=function(){var e;(e=d(this,Ec))==null||e.abort(),A(this,Ec,null)},ez=function(){const e=this._signal;document.addEventListener("dragover",this.dragOver.bind(this),{signal:e}),document.addEventListener("drop",this.drop.bind(this),{signal:e})},wi=function(e){Object.entries(e).some(([i,s])=>d(this,kv)[i]!==s)&&(this._eventBus.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(d(this,kv),e)}),d(this,pn)===pe.HIGHLIGHT&&e.hasSelectedEditor===!1&&P(this,Q,Oo).call(this,[[Me.HIGHLIGHT_FREE,!0]]))},Oo=function(e){this._eventBus.dispatch("annotationeditorparamschanged",{source:this,details:e})},tz=async function(){if(!d(this,Dc)){A(this,Dc,!0);const e=[];for(const t of d(this,In).values())e.push(t.enable());await Promise.all(e);for(const t of d(this,Kt).values())t.enable()}},nz=function(){if(this.unselectAll(),d(this,Dc)){A(this,Dc,!1);for(const e of d(this,In).values())e.disable();for(const e of d(this,Kt).values())e.disable()}},BC=function(e){const t=d(this,In).get(e.pageIndex);t?t.addOrRebuild(e):(this.addEditor(e),this.addToAnnotationStorage(e))},iz=function(){let e=null;for(e of d(this,Je));return e},j0=function(){if(d(this,Kt).size===0)return!0;
235if(d(this,Kt).size===1)for(const e of d(this,Kt).values())return e.isEmpty();return!1},jC=function(e){for(const t of d(this,Je))t.unselect();d(this,Je).clear();for(const t of e)t.isEmpty()||(d(this,Je).add(t),t.select());P(this,Q,wi).call(this,{hasSelectedEditor:this.hasSelection})},q(lp,"TRANSLATE_SMALL",1),q(lp,"TRANSLATE_BIG",10);let $u=lp;var kn,Na,Qr,tm,Ma,ys,nm,Oa,$i,$o,kd,La,Oc,ua,F0,eS;const Ei=class Ei{constructor(e){T(this,ua);T(this,kn,null);T(this,Na,!1);T(this,Qr,null);T(this,tm,null);T(this,Ma,null);T(this,ys,null);T(this,nm,!1);T(this,Oa,null);T(this,$i,null);T(this,$o,null);T(this,kd,null);T(this,La,!1);A(this,$i,e),A(this,La,e._uiManager.useNewAltTextFlow),d(Ei,Oc)||A(Ei,Oc,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(e){Ei._l10n??(Ei._l10n=e)}async render(){const e=A(this,Qr,document.createElement("button"));e.className="altText",e.tabIndex="0";const t=A(this,tm,document.createElement("span"));e.append(t),d(this,La)?(e.classList.add("new"),e.setAttribute("data-l10n-id",d(Ei,Oc).missing),t.setAttribute("data-l10n-id",d(Ei,Oc)["missing-label"])):(e.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button"),t.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button-label"));const i=d(this,$i)._uiManager._signal;e.addEventListener("contextmenu",er,{signal:i}),e.addEventListener("pointerdown",r=>r.stopPropagation(),{signal:i});const s=r=>{r.preventDefault(),d(this,$i)._uiManager.editAltText(d(this,$i)),d(this,La)&&d(this,$i)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_clicked",data:{label:d(this,ua,F0)}})};return e.addEventListener("click",s,{capture:!0,signal:i}),e.addEventListener("keydown",r=>{r.target===e&&r.key==="Enter"&&(A(this,nm,!0),s(r))},{signal:i}),await P(this,ua,eS).call(this),e}finish(){d(this,Qr)&&(d(this,Qr).focus({focusVisible:d(this,nm)}),A(this,nm,!1))}isEmpty(){return d(this,La)?d(this,kn)===null:!d(this,kn)&&!d(this,Na)}hasData(){return d(this,La)?d(this,kn)!==null||!!d(this,$o):this.isEmpty()}get guessedText(){return d(this,$o)}async setGuessedText(e){d(this,kn)===null&&(A(this,$o,e),A(this,kd,await Ei._l10n.get("pdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer",{generatedAltText:e})),P(this,ua,eS).call(this))}toggleAltTextBadge(e=!1){var t;if(!d(this,La)||d(this,kn)){(t=d(this,Oa))==null||t.remove(),A(this,Oa,null);return}if(!d(this,Oa)){const i=A(this,Oa,document.createElement("div"));i.className="noAltTextBadge",d(this,$i).div.append(i)}d(this,Oa).classList.toggle("hidden",!e)}serialize(e){let t=d(this,kn);return!e&&d(this,$o)===t&&(t=d(this,kd)),{altText:t,decorative:d(this,Na),guessedText:d(this,$o),textWithDisclaimer:d(this,kd)}}get data(){return{altText:d(this,kn),decorative:d(this,Na)}}set data({altText:e,decorative:t,guessedText:i,textWithDisclaimer:s,cancel:r=!1}){i&&(A(this,$o,i),A(this,kd,s)),!(d(this,kn)===e&&d(this,Na)===t)&&(r||(A(this,kn,e),A(this,Na,t)),P(this,ua,eS).call(this))}toggle(e=!1){d(this,Qr)&&(!e&&d(this,ys)&&(clearTimeout(d(this,ys)),A(this,ys,null)),d(this,Qr).disabled=!e)}shown(){d(this,$i)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_displayed",data:{label:d(this,ua,F0)}})}destroy(){var e,t;(e=d(this,Qr))==null||e.remove(),A(this,Qr,null),A(this,tm,null),A(this,Ma,null),(t=d(this,Oa))==null||t.remove(),A(this,Oa,null)}};kn=new WeakMap,Na=new WeakMap,Qr=new WeakMap,tm=new WeakMap,Ma=new WeakMap,ys=new WeakMap,nm=new WeakMap,Oa=new WeakMap,$i=new WeakMap,$o=new WeakMap,kd=new WeakMap,La=new WeakMap,Oc=new WeakMap,ua=new WeakSet,F0=function(){return d(this,kn)&&"added"||d(this,kn)===null&&this.guessedText&&"review"||"missing"},eS=async function(){var s,r,a;const e=d(this,Qr);if(!e)return;if(d(this,La)){if(e.classList.toggle("done",!!d(this,kn)),e.setAttribute("data-l10n-id",d(Ei,Oc)[d(this,ua,F0)]),(s=d(this,tm))==null||s.setAttribute("data-l10n-id",d(Ei,Oc)[`${d(this,ua,F0)}-label`]),!d(this,kn)){(r=d(this,Ma))==null||r.remove();return}}else{if(!d(this,kn)&&!d(this,Na)){e.classList.remove("done"),(a=d(this,Ma))==null||a.remove();return}e.classList.add("done"),e.setAttribute("data-l10n-id","pdfjs-editor-alt-text-edit-button")}let t=d(this,Ma);if(!t){A(this,Ma,t=document.createElement("span")),t.className="tooltip",t.setAttribute("role","tooltip"),t.id=`alt-text-tooltip-${d(this,$i).id}`;const o=100,l=d(this,$i)._uiManager._signal;l.addEventListener("abort",()=>{clearTimeout(d(this,ys)),A(this,ys,null)},{once:!0}),e.addEventListener("mouseenter",()=>{A(this,ys,setTimeout(()=>{A(this,ys,null),d(this,Ma).classList.add("show"),d(this,$i)._reportTelemetry({action:"alt_text_tooltip"})},o))},{signal:l}),e.addEventListener("mouseleave",()=>{var c;d(this,ys)&&(clearTimeout(d(this,ys)),A(this,ys,null)),(c=d(this,Ma))==null||c.classList.remove("show")},{signal:l})}d(this,Na)?t.setAttribute("data-l10n-id","pdfjs-editor-alt-text-decorative-tooltip"):(t.removeAttribute("data-l10n-id"),t.textContent=d(this,kn)),t.parentNode||e.append(t);const i=d(this,$i).getElementForAltText();i==null||i.setAttribute("aria-describedby",t.id)},T(Ei,Oc,null),q(Ei,"_l10n",null);let Ux=Ei;var $n,gr,Nd,St,Ov,Md,Jr,Od,Ld,Bd,Lv,FC;class h_{constructor(e){T(this,Lv);T(this,$n,null);T(this,gr,null);T(this,Nd,!1);T(this,St,null);T(this,Ov,null);T(this,Md,null);T(this,Jr,null);T(this,Od,null);T(this,Ld,!1);T(this,Bd,null);A(this,St,e)}renderForToolbar(){const e=A(this,gr,document.createElement("button"));
235return e.className="comment",P(this,Lv,FC).call(this,e,!1)}renderForStandalone(){const e=A(this,$n,document.createElement("button"));e.className="annotationCommentButton";const t=d(this,St).commentButtonPosition;if(t){const{style:i}=e;i.insetInlineEnd=`calc(${100*(d(this,St)._uiManager.direction==="ltr"?1-t[0]:t[0])}% - var(--comment-button-dim))`,i.top=`calc(${100*t[1]}% - var(--comment-button-dim))`;const s=d(this,St).commentButtonColor;s&&(i.backgroundColor=s)}return P(this,Lv,FC).call(this,e,!0)}focusButton(){setTimeout(()=>{var e;(e=d(this,$n)??d(this,gr))==null||e.focus()},0)}onUpdatedColor(){if(!d(this,$n))return;const e=d(this,St).commentButtonColor;e&&(d(this,$n).style.backgroundColor=e),d(this,St)._uiManager.updatePopupColor(d(this,St))}get commentButtonWidth(){var e;return(((e=d(this,$n))==null?void 0:e.getBoundingClientRect().width)??0)/d(this,St).parent.boundingClientRect.width}get commentPopupPositionInLayer(){if(d(this,Bd))return d(this,Bd);if(!d(this,$n))return null;const{x:e,y:t,height:i}=d(this,$n).getBoundingClientRect(),{x:s,y:r,width:a,height:o}=d(this,St).parent.boundingClientRect;return[(e-s)/a,(t+i-r)/o]}set commentPopupPositionInLayer(e){A(this,Bd,e)}hasDefaultPopupPosition(){return d(this,Bd)===null}removeStandaloneCommentButton(){var e;(e=d(this,$n))==null||e.remove(),A(this,$n,null)}removeToolbarCommentButton(){var e;(e=d(this,gr))==null||e.remove(),A(this,gr,null)}setCommentButtonStates({selected:e,hasPopup:t}){d(this,$n)&&(d(this,$n).classList.toggle("selected",e),d(this,$n).ariaExpanded=t)}edit(e){const t=this.commentPopupPositionInLayer;let i,s;if(t)[i,s]=t;else{[i,s]=d(this,St).commentButtonPosition;const{width:u,height:h,x:f,y:p}=d(this,St);i=f+i*u,s=p+s*h}const r=d(this,St).parent.boundingClientRect,{x:a,y:o,width:l,height:c}=r;d(this,St)._uiManager.editComment(d(this,St),a+i*l,o+s*c,{...e,parentDimensions:r})}finish(){d(this,gr)&&(d(this,gr).focus({focusVisible:d(this,Nd)}),A(this,Nd,!1))}isDeleted(){return d(this,Ld)||d(this,Jr)===""}isEmpty(){return d(this,Jr)===null}hasBeenEdited(){return this.isDeleted()||d(this,Jr)!==d(this,Ov)}serialize(){return this.data}get data(){return{text:d(this,Jr),richText:d(this,Md),date:d(this,Od),deleted:this.isDeleted()}}set data(e){if(e!==d(this,Jr)&&A(this,Md,null),e===null){A(this,Jr,""),A(this,Ld,!0);return}A(this,Jr,e),A(this,Od,new Date),A(this,Ld,!1)}setInitialText(e,t=null){A(this,Ov,e),this.data=e,A(this,Od,null),A(this,Md,t)}shown(){}destroy(){var e,t;(e=d(this,gr))==null||e.remove(),A(this,gr,null),(t=d(this,$n))==null||t.remove(),A(this,$n,null),A(this,Jr,""),A(this,Md,null),A(this,Od,null),A(this,St,null),A(this,Nd,!1),A(this,Ld,!1)}}$n=new WeakMap,gr=new WeakMap,Nd=new WeakMap,St=new WeakMap,Ov=new WeakMap,Md=new WeakMap,Jr=new WeakMap,Od=new WeakMap,Ld=new WeakMap,Bd=new WeakMap,Lv=new WeakSet,FC=function(e,t){if(!d(this,St)._uiManager.hasCommentManager())return null;e.tabIndex="0",e.ariaHasPopup="dialog",t?(e.ariaControls="commentPopup",e.setAttribute("data-l10n-id","pdfjs-show-comment-button")):(e.ariaControlsElements=[d(this,St)._uiManager.getCommentDialogElement()],e.setAttribute("data-l10n-id","pdfjs-editor-edit-comment-button"));const i=d(this,St)._uiManager._signal;if(!(i instanceof AbortSignal)||i.aborted)return e;e.addEventListener("contextmenu",er,{signal:i}),t&&(e.addEventListener("focusin",r=>{d(this,St)._focusEventsAllowed=!1,Vt(r)},{capture:!0,signal:i}),e.addEventListener("focusout",r=>{d(this,St)._focusEventsAllowed=!0,Vt(r)},{capture:!0,signal:i})),e.addEventListener("pointerdown",r=>r.stopPropagation(),{signal:i});const s=r=>{r.preventDefault(),e===d(this,gr)?this.edit():d(this,St).toggleComment(!0)};return e.addEventListener("click",s,{capture:!0,signal:i}),e.addEventListener("keydown",r=>{r.target===e&&r.key==="Enter"&&(A(this,Nd,!0),s(r))},{signal:i}),e.addEventListener("pointerenter",()=>{d(this,St).toggleComment(!1,!0)},{signal:i}),e.addEventListener("pointerleave",()=>{d(this,St).toggleComment(!1,!1)},{signal:i}),e};var im,jd,Bv,jv,Fv,zv,Uv,qo,Fd,Yo,zd,Wo,Wu,sz,rz,az;const wk=class wk{constructor({container:e,isPinchingDisabled:t=null,isPinchingStopped:i=null,onPinchStart:s=null,onPinching:r=null,onPinchEnd:a=null,signal:o}){T(this,Wu);T(this,im);T(this,jd,!1);T(this,Bv,null);T(this,jv);T(this,Fv);T(this,zv);T(this,Uv);T(this,qo,null);T(this,Fd);T(this,Yo,null);T(this,zd);T(this,Wo,null);A(this,im,e),A(this,Bv,i),A(this,jv,t),A(this,Fv,s),A(this,zv,r),A(this,Uv,a),A(this,zd,new AbortController),A(this,Fd,AbortSignal.any([o,d(this,zd).signal])),e.addEventListener("touchstart",P(this,Wu,sz).bind(this),{passive:!1,signal:d(this,Fd)})}get MIN_TOUCH_DISTANCE_TO_PINCH(){return 35/fa.pixelRatio}destroy(){var e,t;(e=d(this,zd))==null||e.abort(),A(this,zd,null),(t=d(this,qo))==null||t.abort(),A(this,qo,null)}};im=new WeakMap,jd=new WeakMap,Bv=new WeakMap,jv=new WeakMap,Fv=new WeakMap,zv=new WeakMap,Uv=new WeakMap,qo=new WeakMap,Fd=new WeakMap,Yo=new WeakMap,zd=new WeakMap,Wo=new WeakMap,Wu=new WeakSet,sz=function(e){var s,r,a;if((s=d(this,jv))!=null&&s.call(this))return;if(e.touches.length===1){if(d(this,qo))return;const o=A(this,qo,new AbortController),l=AbortSignal.any([d(this,Fd),o.signal]),c=d(this,im),u={capture:!0,signal:l,passive:!1},h=f=>{var p;f.pointerType==="touch"&&((p=d(this,qo))==null||p.abort(),A(this,qo,null))};c.addEventListener("pointerdown",f=>{f.pointerType==="touch"&&(Vt(f),h(f))},u),c.addEventListener("pointerup",h,u),c.addEventListener("pointercancel",h,u);return}if(!d(this,Wo)){A(this,Wo,new AbortController);const o=AbortSignal.any([d(this,Fd),d(this,Wo).signal]),l=d(this,im),c={signal:o,capture:!1,passive:!1};l.addEventListener("touchmove",P(this,Wu,rz).bind(this),c);const u=P(this,Wu,az).bind(this);l.addEventListener("touchend",u,c),l.addEventListener("touchcancel",u,c),c.capture=!0,l.addEventListener("pointerdown",Vt,c),l.addEventListener("pointermove",Vt,c),l.addEventListener("pointercancel",Vt,c),l.addEventListener("pointerup",Vt,c),(r=d(this,Fv))==null||r.call(this)}if(Vt(e),e.touches.length!==2||(a=d(this,Bv))!=null&&a.call(this)){A(this,Yo,null);return}let[t,i]=e.touches;t.identifier>i.identifier&&([t,i]=[i,t]),A(this,Yo,{touch0X:t.screenX,touch0Y:t.screenY,touch1X:i.screenX,touch1Y:i.screenY})},rz=function(e){var x;if(!d(this,Yo)||e.touches.length!==2)return;Vt(e);let[t,i]=e.touches;t.identifier>i.identifier&&([t,i]=[i,t]);const{screenX:s,screenY:r}=t,{screenX:a,screenY:o}=i,l=d(this,Yo),{touch0X:c,touch0Y:u,touch1X:h,touch1Y:f}=l,p=h-c,b=f-u,g=a-s,S=o-r,y=Math.hypot(g,S)||1,v=Math.hypot(p,b)||1;if(!d(this,jd)&&Math.abs(v-y)<=wk.MIN_TOUCH_DISTANCE_TO_PINCH)return;if(l.touch0X=s,l.touch0Y=r,l.touch1X=a,l.touch1Y=o,!d(this,jd)){A(this,jd,!0);return}const _=[(s+a)/2,(r+o)/2];(x=d(this,zv))==null||x.call(this,_,v,y)},az=function(e){var t;e.touches.length>=2||(d(this,Wo)&&(d(this,Wo).abort(),A(this,Wo,null),(t=d(this,Uv))==null||t.call(this)),d(this,Yo)&&(Vt(e),A(this,Yo,null),A(this,jd,!1)))};let ov=wk;var Ud,Zr,kt,dt,Ko,sm,Lc,Vv,qn,Vd,Qo,Ba,Bc,Xv,Xd,vs,Hv,Hd,Jo,ja,rm,am,yr,Gd,Gv,f1,ue,zC,$v,UC,tS,oz,lz,VC,nS,XC,cz,uz,dz,HC,hz,GC,fz,pz,mz,$C,z0;const ge=class ge{constructor(e){T(this,ue);T(this,Ud,null);T(this,Zr,null);T(this,kt,null);T(this,dt,null);T(this,Ko,null);T(this,sm,!1);T(this,Lc,null);T(this,Vv,"");T(this,qn,null);T(this,Vd,null);T(this,Qo,null);T(this,Ba,null);T(this,Bc,null);T(this,Xv,"");T(this,Xd,!1);T(this,vs,null);T(this,Hv,!1);T(this,Hd,!1);T(this,Jo,!1);T(this,ja,null);T(this,rm,0);T(this,am,0);T(this,yr,null);T(this,Gd,null);q(this,"isSelected",!1);q(this,"_isCopy",!1);q(this,"_editToolbar",null);q(this,"_initialOptions",Object.create(null));q(this,"_initialData",null);q(this,"_isVisible",!0);q(this,"_uiManager",null);q(this,"_focusEventsAllowed",!0);T(this,Gv,!1);T(this,f1,ge._zIndex++);this.parent=e.parent,this.id=e.id,this.width=this.height=null,this.pageIndex=e.parent.pageIndex,this.name=e.name,this.div=null,this._uiManager=e.uiManager,this.annotationElementId=null,this._willKeepAspectRatio=!1,this._initialOptions.isCentered=e.isCentered,this._structTreeParentId=null,this.annotationElementId=e.annotationElementId||null,this.creationDate=e.creationDate||new Date,this.modificationDate=e.modificationDate||null;const{rotation:t,rawDims:{pageWidth:i,pageHeight:s,pageX:r,pageY:a}}=this.parent.viewport;this.rotation=t,this.pageRotation=(360+t-this._uiManager.viewParameters.rotation)%360,this.pageDimensions=[i,s],this.pageTranslation=[r,a];const[o,l]=this.parentDimensions;this.x=e.x/o,this.y=e.y/l,this.isAttachedToDOM=!1,this.deleted=!1}static get _resizerKeyboardManager(){const e=ge.prototype._resizeWithKeyboard,t=$u.TRANSLATE_SMALL,i=$u.TRANSLATE_BIG;return Ee(this,"_resizerKeyboardManager",new Ib([[["ArrowLeft","mac+ArrowLeft"],e,{args:[-t,0]}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],e,{args:[-i,0]}],[["ArrowRight","mac+ArrowRight"],e,{args:[t,0]}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],e,{args:[i,0]}],[["ArrowUp","mac+ArrowUp"],e,{args:[0,-t]}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],e,{args:[0,-i]}],[["ArrowDown","mac+ArrowDown"],e,{args:[0,t]}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],e,{args:[0,i]}],[["Escape","mac+Escape"],ge.prototype._stopResizingWithKeyboard]]))}get editorType(){return Object.getPrototypeOf(this).constructor._type}get mode(){return Object.getPrototypeOf(this).constructor._editorType}static get isDrawer(){return!1}static get _defaultLineColor(){return Ee(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}static deleteAnnotationElement(e){const t=new ole({id:e.parent.getNextId(),parent:e.parent,uiManager:e._uiManager});t.annotationElementId=e.annotationElementId,t.deleted=!0,t._uiManager.addToAnnotationStorage(t)}
235static initialize(e,t){if(ge._l10n??(ge._l10n=e),ge._l10nResizer||(ge._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"})),ge._borderLineWidth!==-1)return;const i=getComputedStyle(document.documentElement);ge._borderLineWidth=parseFloat(i.getPropertyValue("--outline-width"))||0}static updateDefaultParams(e,t){}static get defaultPropertiesToUpdate(){return[]}static isHandlingMimeForPasting(e){return!1}static paste(e,t){yt("Not implemented")}get propertiesToUpdate(){return[]}get _isDraggable(){return d(this,Gv)}set _isDraggable(e){var t;A(this,Gv,e),(t=this.div)==null||t.classList.toggle("draggable",e)}get uid(){return this.annotationElementId||this.id}get isEnterHandled(){return!0}center(){const[e,t]=this.pageDimensions;switch(this.parentRotation){case 90:this.x-=this.height*t/(e*2),this.y+=this.width*e/(t*2);break;case 180:this.x+=this.width/2,this.y+=this.height/2;break;case 270:this.x+=this.height*t/(e*2),this.y-=this.width*e/(t*2);break;default:this.x-=this.width/2,this.y-=this.height/2;break}this.fixAndSetPosition()}addCommands(e){this._uiManager.addCommands(e)}get currentLayer(){return this._uiManager.currentLayer}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=d(this,f1)}setParent(e){var t;e!==null?(this.pageIndex=e.pageIndex,this.pageDimensions=e.pageDimensions):(P(this,ue,z0).call(this),(t=d(this,Ba))==null||t.remove(),A(this,Ba,null)),this.parent=e}focusin(e){this._focusEventsAllowed&&(d(this,Xd)?A(this,Xd,!1):this.parent.setSelected(this))}focusout(e){var i;if(!this._focusEventsAllowed||!this.isAttachedToDOM)return;const t=e.relatedTarget;t!=null&&t.closest(`#${this.id}`)||(e.preventDefault(),(i=this.parent)!=null&&i.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.isInEditMode()&&this.addToAnnotationStorage()}addToAnnotationStorage(){this._uiManager.addToAnnotationStorage(this)}setAt(e,t,i,s){const[r,a]=this.parentDimensions;[i,s]=this.screenToPageTranslation(i,s),this.x=(e+i)/r,this.y=(t+s)/a,this.fixAndSetPosition()}_moveAfterPaste(e,t){const[i,s]=this.parentDimensions;this.setAt(e*i,t*s,this.width*i,this.height*s),this._onTranslated()}translate(e,t){P(this,ue,zC).call(this,this.parentDimensions,e,t)}translateInPage(e,t){d(this,vs)||A(this,vs,[this.x,this.y,this.width,this.height]),P(this,ue,zC).call(this,this.pageDimensions,e,t),this.div.scrollIntoView({block:"nearest"})}translationDone(){this._onTranslated(this.x,this.y)}drag(e,t){d(this,vs)||A(this,vs,[this.x,this.y,this.width,this.height]);const{div:i,parentDimensions:[s,r]}=this;if(this.x+=e/s,this.y+=t/r,this.parent&&(this.x<0||this.x>1||this.y<0||this.y>1)){const{x:h,y:f}=this.div.getBoundingClientRect();this.parent.findNewParent(this,h,f)&&(this.x-=Math.floor(this.x),this.y-=Math.floor(this.y))}let{x:a,y:o}=this;const[l,c]=this.getBaseTranslation();a+=l,o+=c;const{style:u}=i;u.left=`${(100*a).toFixed(2)}%`,u.top=`${(100*o).toFixed(2)}%`,this._onTranslating(a,o),i.scrollIntoView({block:"nearest"})}_onTranslating(e,t){}_onTranslated(e,t){}get _hasBeenMoved(){return!!d(this,vs)&&(d(this,vs)[0]!==this.x||d(this,vs)[1]!==this.y)}get _hasBeenResized(){return!!d(this,vs)&&(d(this,vs)[2]!==this.width||d(this,vs)[3]!==this.height)}getBaseTranslation(){const[e,t]=this.parentDimensions,{_borderLineWidth:i}=ge,s=i/e,r=i/t;switch(this.rotation){case 90:return[-s,r];case 180:return[s,r];case 270:return[s,-r];default:return[-s,-r]}}get _mustFixPosition(){return!0}fixAndSetPosition(e=this.rotation){const{div:{style:t},pageDimensions:[i,s]}=this;let{x:r,y:a,width:o,height:l}=this;if(o*=i,l*=s,r*=i,a*=s,this._mustFixPosition)switch(e){case 0:r=mi(r,0,i-o),a=mi(a,0,s-l);break;case 90:r=mi(r,0,i-l),a=mi(a,o,s);break;case 180:r=mi(r,o,i),a=mi(a,l,s);break;case 270:r=mi(r,l,i),a=mi(a,0,s-o);break}this.x=r/=i,this.y=a/=s;const[c,u]=this.getBaseTranslation();r+=c,a+=u,t.left=`${(100*r).toFixed(2)}%`,t.top=`${(100*a).toFixed(2)}%`,this.moveInDOM()}screenToPageTranslation(e,t){var i;return P(i=ge,$v,UC).call(i,e,t,this.parentRotation)}pageTranslationToScreen(e,t){var i;return P(i=ge,$v,UC).call(i,e,t,360-this.parentRotation)}get parentScale(){return this._uiManager.viewParameters.realScale}get parentRotation(){return(this._uiManager.viewParameters.rotation+this.pageRotation)%360}get parentDimensions(){const{parentScale:e,pageDimensions:[t,i]}=this;return[t*e,i*e]}setDims(){const{div:{style:e},width:t,height:i}=this;e.width=`${(100*t).toFixed(2)}%`,e.height=`${(100*i).toFixed(2)}%`}getInitialTranslation(){return[0,0]}_onResized(){}static _round(e){return Math.round(e*1e4)/1e4}_onResizing(){}altTextFinish(){var e;(e=d(this,kt))==null||e.finish()}get toolbarButtons(){return null}async addEditToolbar(){if(this._editToolbar||d(this,Hd))return this._editToolbar;
235this._editToolbar=new DC(this),this.div.append(this._editToolbar.render());const{toolbarButtons:e}=this;if(e)for(const[t,i]of e)await this._editToolbar.addButton(t,i);return this.hasComment||this._editToolbar.addButton("comment",this.addCommentButton()),this._editToolbar.addButton("delete"),this._editToolbar}addCommentButtonInToolbar(){var e;(e=this._editToolbar)==null||e.addButtonBefore("comment",this.addCommentButton(),".deleteButton")}removeCommentButtonFromToolbar(){var e;(e=this._editToolbar)==null||e.removeButton("comment")}removeEditToolbar(){var e,t;(e=this._editToolbar)==null||e.remove(),this._editToolbar=null,(t=d(this,kt))==null||t.destroy()}addContainer(e){var i;const t=(i=this._editToolbar)==null?void 0:i.div;t?t.before(e):this.div.append(e)}getClientDimensions(){return this.div.getBoundingClientRect()}createAltText(){return d(this,kt)||(Ux.initialize(ge._l10n),A(this,kt,new Ux(this)),d(this,Ud)&&(d(this,kt).data=d(this,Ud),A(this,Ud,null))),d(this,kt)}get altTextData(){var e;return(e=d(this,kt))==null?void 0:e.data}set altTextData(e){d(this,kt)&&(d(this,kt).data=e)}get guessedAltText(){var e;return(e=d(this,kt))==null?void 0:e.guessedText}async setGuessedAltText(e){var t;await((t=d(this,kt))==null?void 0:t.setGuessedText(e))}serializeAltText(e){var t;return(t=d(this,kt))==null?void 0:t.serialize(e)}hasAltText(){return!!d(this,kt)&&!d(this,kt).isEmpty()}hasAltTextData(){var e;return((e=d(this,kt))==null?void 0:e.hasData())??!1}focusCommentButton(){var e;(e=d(this,dt))==null||e.focusButton()}addCommentButton(){return d(this,dt)||A(this,dt,new h_(this))}addStandaloneCommentButton(){if(d(this,Ko)){this._uiManager.isEditingMode()&&d(this,Ko).classList.remove("hidden");return}this.hasComment&&(A(this,Ko,d(this,dt).renderForStandalone()),this.div.append(d(this,Ko)))}removeStandaloneCommentButton(){d(this,dt).removeStandaloneCommentButton(),A(this,Ko,null)}hideStandaloneCommentButton(){var e;(e=d(this,Ko))==null||e.classList.add("hidden")}get comment(){const{data:{richText:e,text:t,date:i,deleted:s}}=d(this,dt);return{text:t,richText:e,date:i,deleted:s,color:this.getNonHCMColor(),opacity:this.opacity??1}}set comment(e){d(this,dt)||A(this,dt,new h_(this)),d(this,dt).data=e,this.hasComment?(this.removeCommentButtonFromToolbar(),this.addStandaloneCommentButton(),this._uiManager.updateComment(this)):(this.addCommentButtonInToolbar(),this.removeStandaloneCommentButton(),this._uiManager.removeComment(this))}setCommentData({comment:e,popupRef:t,richText:i}){if(!t||(d(this,dt)||A(this,dt,new h_(this)),d(this,dt).setInitialText(e,i),!this.annotationElementId))return;const s=this._uiManager.getAndRemoveDataFromAnnotationStorage(this.annotationElementId);s&&this.updateFromAnnotationLayer(s)}get hasEditedComment(){var e;return(e=d(this,dt))==null?void 0:e.hasBeenEdited()}get hasDeletedComment(){var e;return(e=d(this,dt))==null?void 0:e.isDeleted()}get hasComment(){return!!d(this,dt)&&!d(this,dt).isEmpty()&&!d(this,dt).isDeleted()}async editComment(e){d(this,dt)||A(this,dt,new h_(this)),d(this,dt).edit(e)}
235toggleComment(e,t=void 0){this.hasComment&&this._uiManager.toggleComment(this,e,t)}setSelectedCommentButton(e){d(this,dt).setSelectedButton(e)}addComment(e){if(this.hasEditedComment){const[,,,s]=e.rect,[r]=this.pageDimensions,[a]=this.pageTranslation,o=a+r+1,l=s-100,c=o+180;e.popup={contents:this.comment.text,deleted:this.comment.deleted,rect:[o,l,c,s]}}}updateFromAnnotationLayer({popup:{contents:e,deleted:t}}){d(this,dt).data=t?null:e}get parentBoundingClientRect(){return this.parent.boundingClientRect}render(){var a;const e=this.div=document.createElement("div");e.setAttribute("data-editor-rotation",(360-this.rotation)%360),e.className=this.name,e.setAttribute("id",this.id),e.tabIndex=d(this,sm)?-1:0,e.setAttribute("role","application"),this.defaultL10nId&&e.setAttribute("data-l10n-id",this.defaultL10nId),this._isVisible||e.classList.add("hidden"),this.setInForeground(),P(this,ue,GC).call(this);const[t,i]=this.parentDimensions;this.parentRotation%180!==0&&(e.style.maxWidth=`${(100*i/t).toFixed(2)}%`,e.style.maxHeight=`${(100*t/i).toFixed(2)}%`);const[s,r]=this.getInitialTranslation();return this.translate(s,r),$6(this,e,["keydown","pointerdown","dblclick"]),this.isResizable&&this._uiManager._supportsPinchToZoom&&(d(this,Gd)||A(this,Gd,new ov({container:e,isPinchingDisabled:()=>!this.isSelected,onPinchStart:P(this,ue,cz).bind(this),onPinching:P(this,ue,uz).bind(this),onPinchEnd:P(this,ue,dz).bind(this),signal:this._uiManager._signal}))),this.addStandaloneCommentButton(),(a=this._uiManager._editorUndoBar)==null||a.hide(),e}pointerdown(e){const{isMac:t}=Vn.platform;if(e.button!==0||e.ctrlKey&&t){e.preventDefault();return}if(A(this,Xd,!0),this._isDraggable){P(this,ue,hz).call(this,e);return}P(this,ue,HC).call(this,e)}_onStartDragging(){}_onStopDragging(){}moveInDOM(){d(this,ja)&&clearTimeout(d(this,ja)),A(this,ja,setTimeout(()=>{var e;A(this,ja,null),(e=this.parent)==null||e.moveEditorInDOM(this)},0))}_setParentAndPosition(e,t,i){e.changeParent(this),this.x=t,this.y=i,this.fixAndSetPosition(),this._onTranslated()}getRect(e,t,i=this.rotation){const s=this.parentScale,[r,a]=this.pageDimensions,[o,l]=this.pageTranslation,c=e/s,u=t/s,h=this.x*r,f=this.y*a,p=this.width*r,b=this.height*a;switch(i){case 0:return[h+c+o,a-f-u-b+l,h+c+p+o,a-f-u+l];case 90:return[h+u+o,a-f+c+l,h+u+b+o,a-f+c+p+l];case 180:return[h-c-p+o,a-f+u+l,h-c+o,a-f+u+b+l];case 270:return[h-u-b+o,a-f-c-p+l,h-u+o,a-f-c+l];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(e,t){const[i,s,r,a]=e,o=r-i,l=a-s;switch(this.rotation){case 0:return[i,t-a,o,l];case 90:return[i,t-s,l,o];case 180:return[r,t-s,o,l];case 270:return[r,t-a,l,o];default:throw new Error("Invalid rotation")}}getPDFRect(){return this.getRect(0,0)}getNonHCMColor(){return this.color&&ge._colorManager.convert(this._uiManager.getNonHCMColor(this.color))}onUpdatedColor(){var e;(e=d(this,dt))==null||e.onUpdatedColor()}getData(){const{comment:{text:e,color:t,date:i,opacity:s,deleted:r,richText:a},uid:o,pageIndex:l,creationDate:c,modificationDate:u}=this;return{id:o,pageIndex:l,rect:this.getPDFRect(),richText:a,contentsObj:{str:e},creationDate:c,modificationDate:i||u,popupRef:!r,color:t,opacity:s}}onceAdded(e){}isEmpty(){return!1}enableEditMode(){return this.isInEditMode()?!1:(this.parent.setEditingState(!1),A(this,Hd,!0),!0)}disableEditMode(){return this.isInEditMode()?(this.parent.setEditingState(!0),A(this,Hd,!1),!0):!1}isInEditMode(){return d(this,Hd)}shouldGetKeyboardEvents(){return d(this,Jo)}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}get isOnScreen(){const{top:e,left:t,bottom:i,right:s}=this.getClientDimensions(),{innerHeight:r,innerWidth:a}=window;return t<a&&s>0&&e<r&&i>0}rebuild(){P(this,ue,GC).call(this)}rotate(e){}resize(){}serializeDeleted(){var e;return{id:this.annotationElementId,deleted:!0,pageIndex:this.pageIndex,popupRef:((e=this._initialData)==null?void 0:e.popupRef)||""}}serialize(e=!1,t=null){var i;return{annotationType:this.mode,pageIndex:this.pageIndex,rect:this.getPDFRect(),rotation:this.rotation,structTreeParentId:this._structTreeParentId,popupRef:((i=this._initialData)==null?void 0:i.popupRef)||""}}static async deserialize(e,t,i){const s=new this.prototype.constructor({parent:t,id:t.getNextId(),uiManager:i,annotationElementId:e.annotationElementId,creationDate:e.creationDate,modificationDate:e.modificationDate});s.rotation=e.rotation,A(s,Ud,e.accessibilityData),s._isCopy=e.isCopy||!1;const[r,a]=s.pageDimensions,[o,l,c,u]=s.getRectInCurrentCoords(e.rect,a);return s.x=o/r,s.y=l/a,s.width=c/r,s.height=u/a,s}get hasBeenModified(){return!!this.annotationElementId&&(this.deleted||this.serialize()!==null)}remove(){var e,t;if((e=d(this,Bc))==null||e.abort(),A(this,Bc,null),this.isEmpty()||this.commit(),this.parent?this.parent.remove(this):this._uiManager.removeEditor(this),d(this,ja)&&(clearTimeout(d(this,ja)),A(this,ja,null)),P(this,ue,z0).call(this),this.removeEditToolbar(),d(this,yr)){for(const i of d(this,yr).values())clearTimeout(i);A(this,yr,null)}this.parent=null,(t=d(this,Gd))==null||t.destroy(),A(this,Gd,null)}get isResizable(){return!1}makeResizable(){this.isResizable&&(P(this,ue,oz).call(this),d(this,qn).classList.remove("hidden"))}get toolbarPosition(){return null}get commentButtonPosition(){return this._uiManager.direction==="ltr"?[1,0]:[0,0]}get commentButtonPositionInPage(){const{commentButtonPosition:[e,t]}=this,[i,s,r,a]=this.getPDFRect();return[ge._round(i+(r-i)*e),ge._round(s+(a-s)*(1-t))]}get commentButtonColor(){return this._uiManager.makeCommentColor(this.getNonHCMColor(),this.opacity)}get commentPopupPosition(){return d(this,dt).commentPopupPositionInLayer}set commentPopupPosition(e){d(this,dt).commentPopupPositionInLayer=e}hasDefaultPopupPosition(){return d(this,dt).hasDefaultPopupPosition()}get commentButtonWidth(){return d(this,dt).commentButtonWidth}get elementBeforePopup(){return this.div}setCommentButtonStates(e){d(this,dt).setCommentButtonStates(e)}keydown(e){if(!this.isResizable||e.target!==this.div||e.key!=="Enter")return;this._uiManager.setSelected(this),A(this,Qo,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height});const t=d(this,qn).children;if(!d(this,Zr)){A(this,Zr,Array.from(t));const a=P(this,ue,fz).bind(this),o=P(this,ue,pz).bind(this),l=this._uiManager._signal;for(const c of d(this,Zr)){const u=c.getAttribute("data-resizer-name");c.setAttribute("role","spinbutton"),c.addEventListener("keydown",a,{signal:l}),c.addEventListener("blur",o,{signal:l}),c.addEventListener("focus",P(this,ue,mz).bind(this,u),{signal:l}),c.setAttribute("data-l10n-id",ge._l10nResizer[u])}}const i=d(this,Zr)[0];let s=0;for(const a of t){if(a===i)break;s++}const r=(360-this.rotation+this.parentRotation)%360/90*(d(this,Zr).length/4);if(r!==s){if(r<s)for(let o=0;o<s-r;o++)d(this,qn).append(d(this,qn).firstChild);else if(r>s)for(let o=0;o<r-s;o++)d(this,qn).firstChild.before(d(this,qn).lastChild);let a=0;for(const o of t){const c=d(this,Zr)[a++].getAttribute("data-resizer-name");o.setAttribute("data-l10n-id",ge._l10nResizer[c])}}P(this,ue,$C).call(this,0),A(this,Jo,!0),d(this,qn).firstChild.focus({focusVisible:!0}),e.preventDefault(),e.stopImmediatePropagation()}_resizeWithKeyboard(e,t){d(this,Jo)&&P(this,ue,XC).call(this,d(this,Xv),{deltaX:e,deltaY:t,fromKeyboard:!0})}_stopResizingWithKeyboard(){P(this,ue,z0).call(this),this.div.focus()}select(){var e,t,i;if(this.isSelected&&this._editToolbar){this._editToolbar.show();return}if(this.isSelected=!0,this.makeResizable(),(e=this.div)==null||e.classList.add("selectedEditor"),!this._editToolbar){this.addEditToolbar().then(()=>{var s,r;(s=this.div)!=null&&s.classList.contains("selectedEditor")&&((r=this._editToolbar)==null||r.show())});return}(t=this._editToolbar)==null||t.show(),(i=d(this,kt))==null||i.toggleAltTextBadge(!1)}focus(){this.div&&!this.div.contains(document.activeElement)&&setTimeout(()=>{var e;return(e=this.div)==null?void 0:e.focus({preventScroll:!0})},0)}unselect(){var e,t,i,s,r;this.isSelected&&(this.isSelected=!1,(e=d(this,qn))==null||e.classList.add("hidden"),(t=this.div)==null||t.classList.remove("selectedEditor"),(i=this.div)!=null&&i.contains(document.activeElement)&&this._uiManager.currentLayer.div.focus({preventScroll:!0}),(s=this._editToolbar)==null||s.hide(),(r=d(this,kt))==null||r.toggleAltTextBadge(!0),this.hasComment&&this._uiManager.toggleComment(this,!1,
235!1))}updateParams(e,t){}disableEditing(){}enableEditing(){}get canChangeContent(){return!1}enterInEditMode(){this.canChangeContent&&(this.enableEditMode(),this.div.focus())}dblclick(e){e.target.nodeName!=="BUTTON"&&(this.enterInEditMode(),this.parent.updateToolbar({mode:this.constructor._editorType,editId:this.id}))}getElementForAltText(){return this.div}get contentDiv(){return this.div}get isEditing(){return d(this,Hv)}set isEditing(e){A(this,Hv,e),this.parent&&(e?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null))}static get MIN_SIZE(){return 16}static canCreateNewEmptyEditor(){return!0}get telemetryInitialData(){return{action:"added"}}get telemetryFinalData(){return null}_reportTelemetry(e,t=!1){if(t){d(this,yr)||A(this,yr,new Map);const{action:i}=e;let s=d(this,yr).get(i);s&&clearTimeout(s),s=setTimeout(()=>{this._reportTelemetry(e),d(this,yr).delete(i),d(this,yr).size===0&&A(this,yr,null)},ge._telemetryTimeout),d(this,yr).set(i,s);return}e.type||(e.type=this.editorType),this._uiManager._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:e}})}show(e=this._isVisible){this.div.classList.toggle("hidden",!e),this._isVisible=e}enable(){this.div&&(this.div.tabIndex=0),A(this,sm,!1)}disable(){this.div&&(this.div.tabIndex=-1),A(this,sm,!0)}updateFakeAnnotationElement(e){if(!d(this,Ba)&&!this.deleted){A(this,Ba,e.addFakeAnnotation(this));return}if(this.deleted){d(this,Ba).remove(),A(this,Ba,null);return}(this.hasEditedComment||this._hasBeenMoved||this._hasBeenResized)&&d(this,Ba).updateEdited({rect:this.getPDFRect(),popup:this.comment})}renderAnnotationElement(e){if(this.deleted)return e.hide(),null;let t=e.container.querySelector(".annotationContent");if(!t)t=document.createElement("div"),t.classList.add("annotationContent",this.editorType),e.container.prepend(t);else if(t.nodeName==="CANVAS"){const i=t;t=document.createElement("div"),t.classList.add("annotationContent",this.editorType),i.before(t)}return t}resetAnnotationElement(e){const{firstChild:t}=e.container;(t==null?void 0:t.nodeName)==="DIV"&&t.classList.contains("annotationContent")&&t.remove()}};Ud=new WeakMap,Zr=new WeakMap,kt=new WeakMap,dt=new WeakMap,Ko=new WeakMap,sm=new WeakMap,Lc=new WeakMap,Vv=new WeakMap,qn=new WeakMap,Vd=new WeakMap,Qo=new WeakMap,Ba=new WeakMap,Bc=new WeakMap,Xv=new WeakMap,Xd=new WeakMap,vs=new WeakMap,Hv=new WeakMap,Hd=new WeakMap,Jo=new WeakMap,ja=new WeakMap,rm=new WeakMap,am=new WeakMap,yr=new WeakMap,Gd=new WeakMap,Gv=new WeakMap,f1=new WeakMap,ue=new WeakSet,zC=function([e,t],i,s){[i,s]=this.screenToPageTranslation(i,s),this.x+=i/e,this.y+=s/t,this._onTranslating(this.x,this.y),this.fixAndSetPosition()},$v=new WeakSet,UC=function(e,t,i){switch(i){case 90:return[t,-e];case 180:return[-e,-t];case 270:return[-t,e];default:return[e,t]}},tS=function(e){switch(e){case 90:{const[t,i]=this.pageDimensions;return[0,-t/i,i/t,0]}case 180:return[-1,0,0,-1];case 270:{const[t,i]=this.pageDimensions;return[0,t/i,-i/t,0]}default:return[1,0,0,1]}},oz=function(){if(d(this,qn))return;A(this,qn,document.createElement("div")),d(this,qn).classList.add("resizers");const e=this._willKeepAspectRatio?["topLeft","topRight","bottomRight","bottomLeft"]:["topLeft","topMiddle","topRight","middleRight","bottomRight","bottomMiddle","bottomLeft","middleLeft"],t=this._uiManager._signal;for(const i of e){const s=document.createElement("div");d(this,qn).append(s),s.classList.add("resizer",i),s.setAttribute("data-resizer-name",i),s.addEventListener("pointerdown",P(this,ue,lz).bind(this,i),{signal:t}),s.addEventListener("contextmenu",er,{signal:t}),s.tabIndex=-1}this.div.prepend(d(this,qn))},lz=function(e,t){var u;t.preventDefault();const{isMac:i}=Vn.platform;if(t.button!==0||t.ctrlKey&&i)return;(u=d(this,kt))==null||u.toggle(!1);const s=this._isDraggable;this._isDraggable=!1,A(this,Vd,[t.screenX,t.screenY]);const r=new AbortController,a=this._uiManager.combinedSignal(r);this.parent.togglePointerEvents(!1),window.addEventListener("pointermove",P(this,ue,XC).bind(this,e),{passive:!0,capture:!0,signal:a}),window.addEventListener("touchmove",Vt,{passive:!1,signal:a}),window.addEventListener("contextmenu",er,{signal:a}),A(this,Qo,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height});const o=this.parent.div.style.cursor,l=this.div.style.cursor;this.div.style.cursor=this.parent.div.style.cursor=window.getComputedStyle(t.target).cursor;const c=()=>{var h;r.abort(),this.parent.togglePointerEvents(!0),(h=d(this,kt))==null||h.toggle(!0),this._isDraggable=s,this.parent.div.style.cursor=o,this.div.style.cursor=l,P(this,ue,nS).call(this)};window.addEventListener("pointerup",c,{signal:a}),window.addEventListener("blur",c,{signal:a})},VC=function(e,t,i,s){this.width=i,this.height=s,this.x=e,this.y=t,this.setDims(),this.fixAndSetPosition(),this._onResized()},nS=function(){if(!d(this,Qo))return;
235const{savedX:e,savedY:t,savedWidth:i,savedHeight:s}=d(this,Qo);A(this,Qo,null);const r=this.x,a=this.y,o=this.width,l=this.height;r===e&&a===t&&o===i&&l===s||this.addCommands({cmd:P(this,ue,VC).bind(this,r,a,o,l),undo:P(this,ue,VC).bind(this,e,t,i,s),mustExec:!0})},XC=function(e,t){const[i,s]=this.parentDimensions,r=this.x,a=this.y,o=this.width,l=this.height,c=ge.MIN_SIZE/i,u=ge.MIN_SIZE/s,h=P(this,ue,tS).call(this,this.rotation),f=(M,B)=>[h[0]*M+h[2]*B,h[1]*M+h[3]*B],p=P(this,ue,tS).call(this,360-this.rotation),b=(M,B)=>[p[0]*M+p[2]*B,p[1]*M+p[3]*B];let g,S,y=!1,v=!1;switch(e){case"topLeft":y=!0,g=(M,B)=>[0,0],S=(M,B)=>[M,B];break;case"topMiddle":g=(M,B)=>[M/2,0],S=(M,B)=>[M/2,B];break;case"topRight":y=!0,g=(M,B)=>[M,0],S=(M,B)=>[0,B];break;case"middleRight":v=!0,g=(M,B)=>[M,B/2],S=(M,B)=>[0,B/2];break;case"bottomRight":y=!0,g=(M,B)=>[M,B],S=(M,B)=>[0,0];break;case"bottomMiddle":g=(M,B)=>[M/2,B],S=(M,B)=>[M/2,0];break;case"bottomLeft":y=!0,g=(M,B)=>[0,B],S=(M,B)=>[M,0];break;case"middleLeft":v=!0,g=(M,B)=>[0,B/2],S=(M,B)=>[M,B/2];break}const _=g(o,l),x=S(o,l);let E=f(...x);const C=ge._round(r+E[0]),I=ge._round(a+E[1]);let R=1,D=1,k,N;if(t.fromKeyboard)({deltaX:k,deltaY:N}=t);else{const{screenX:M,screenY:B}=t,[F,z]=d(this,Vd);[k,N]=this.screenToPageTranslation(M-F,B-z),d(this,Vd)[0]=M,d(this,Vd)[1]=B}if([k,N]=b(k/i,N/s),y){const M=Math.hypot(o,l);R=D=Math.max(Math.min(Math.hypot(x[0]-_[0]-k,x[1]-_[1]-N)/M,1/o,1/l),c/o,u/l)}else v?R=mi(Math.abs(x[0]-_[0]-k),c,1)/o:D=mi(Math.abs(x[1]-_[1]-N),u,1)/l;const O=ge._round(o*R),j=ge._round(l*D);E=f(...S(O,j));const L=C-E[0],U=I-E[1];d(this,vs)||A(this,vs,[this.x,this.y,this.width,this.height]),this.width=O,this.height=j,this.x=L,this.y=U,this.setDims(),this.fixAndSetPosition(),this._onResizing()},cz=function(){var e;A(this,Qo,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height}),(e=d(this,kt))==null||e.toggle(!1),this.parent.togglePointerEvents(!1)},uz=function(e,t,i){let r=.7*(i/t)+1-.7;if(r===1)return;const a=P(this,ue,tS).call(this,this.rotation),o=(C,I)=>[a[0]*C+a[2]*I,a[1]*C+a[3]*I],[l,c]=this.parentDimensions,u=this.x,h=this.y,f=this.width,p=this.height,b=ge.MIN_SIZE/l,g=ge.MIN_SIZE/c;r=Math.max(Math.min(r,1/f,1/p),b/f,g/p);const S=ge._round(f*r),y=ge._round(p*r);if(S===f&&y===p)return;d(this,vs)||A(this,vs,[u,h,f,p]);const v=o(f/2,p/2),_=ge._round(u+v[0]),x=ge._round(h+v[1]),E=o(S/2,y/2);this.x=_-E[0],this.y=x-E[1],this.width=S,this.height=y,this.setDims(),this.fixAndSetPosition(),this._onResizing()},dz=function(){var e;(e=d(this,kt))==null||e.toggle(!0),this.parent.togglePointerEvents(!0),P(this,ue,nS).call(this)},HC=function(e){const{isMac:t}=Vn.platform;e.ctrlKey&&!t||e.shiftKey||e.metaKey&&t?this.parent.toggleSelected(this):this.parent.setSelected(this)},hz=function(e){const{isSelected:t}=this;this._uiManager.setUpDragSession();let i=!1;const s=new AbortController,r=this._uiManager.combinedSignal(s),a={capture:!0,passive:!1,signal:r},o=c=>{s.abort(),A(this,Lc,null),A(this,Xd,!1),this._uiManager.endDragSession()||P(this,ue,HC).call(this,c),i&&this._onStopDragging()};t&&(A(this,rm,e.clientX),A(this,am,e.clientY),A(this,Lc,e.pointerId),A(this,Vv,e.pointerType),window.addEventListener("pointermove",c=>{i||(i=!0,this._uiManager.toggleComment(this,!0,!1),this._onStartDragging());const{clientX:u,clientY:h,pointerId:f}=c;if(f!==d(this,Lc)){Vt(c);return}const[p,b]=this.screenToPageTranslation(u-d(this,rm),h-d(this,am));A(this,rm,u),A(this,am,h),this._uiManager.dragSelectedEditors(p,b)},a),window.addEventListener("touchmove",Vt,a),window.addEventListener("pointerdown",c=>{c.pointerType===d(this,Vv)&&(d(this,Gd)||c.isPrimary)&&o(c),Vt(c)},a));const l=c=>{if(!d(this,Lc)||d(this,Lc)===c.pointerId){o(c);return}Vt(c)};window.addEventListener("pointerup",l,{signal:r}),window.addEventListener("blur",l,{signal:r})},GC=function(){if(d(this,Bc)||!this.div)return;A(this,Bc,new AbortController);const e=this._uiManager.combinedSignal(d(this,Bc));this.div.addEventListener("focusin",this.focusin.bind(this),{signal:e}),this.div.addEventListener("focusout",this.focusout.bind(this),{signal:e})},fz=function(e){ge._resizerKeyboardManager.exec(this,e)},pz=function(e){var t;d(this,Jo)&&((t=e.relatedTarget)==null?void 0:t.parentNode)!==d(this,qn)&&P(this,ue,z0).call(this)},mz=function(e){A(this,Xv,d(this,Jo)?e:"")},$C=function(e){if(d(this,Zr))for(const t of d(this,Zr))t.tabIndex=e},z0=function(){A(this,Jo,!1),P(this,ue,$C).call(this,-1),P(this,ue,nS).call(this)},T(ge,$v),q(ge,"_l10n",null),q(ge,"_l10nResizer",null),q(ge,"_borderLineWidth",-1),q(ge,"_colorManager",new kC),q(ge,"_zIndex",1),q(ge,"_telemetryTimeout",1e3);let xt=ge;class ole extends xt{constructor(e){super(e),this.annotationElementId=e.annotationElementId,this.deleted=!0}
235serialize(){return this.serializeDeleted()}}const BO=3285377520,rr=4294901760,wa=65535;class gz{constructor(e){this.h1=e?e&4294967295:BO,this.h2=e?e&4294967295:BO}update(e){let t,i;if(typeof e=="string"){t=new Uint8Array(e.length*2),i=0;for(let g=0,S=e.length;g<S;g++){const y=e.charCodeAt(g);y<=255?t[i++]=y:(t[i++]=y>>>8,t[i++]=y&255)}}else if(ArrayBuffer.isView(e))t=e.slice(),i=t.byteLength;else throw new Error("Invalid data format, must be a string or TypedArray.");const s=i>>2,r=i-s*4,a=new Uint32Array(t.buffer,0,s);let o=0,l=0,c=this.h1,u=this.h2;const h=3432918353,f=461845907,p=h&wa,b=f&wa;for(let g=0;g<s;g++)g&1?(o=a[g],o=o*h&rr|o*p&wa,o=o<<15|o>>>17,o=o*f&rr|o*b&wa,c^=o,c=c<<13|c>>>19,c=c*5+3864292196):(l=a[g],l=l*h&rr|l*p&wa,l=l<<15|l>>>17,l=l*f&rr|l*b&wa,u^=l,u=u<<13|u>>>19,u=u*5+3864292196);switch(o=0,r){case 3:o^=t[s*4+2]<<16;case 2:o^=t[s*4+1]<<8;case 1:o^=t[s*4],o=o*h&rr|o*p&wa,o=o<<15|o>>>17,o=o*f&rr|o*b&wa,s&1?c^=o:u^=o}this.h1=c,this.h2=u}hexdigest(){let e=this.h1,t=this.h2;return e^=t>>>1,e=e*3981806797&rr|e*36045&wa,t=t*4283543511&rr|((t<<16|e>>>16)*2950163797&rr)>>>16,e^=t>>>1,e=e*444984403&rr|e*60499&wa,t=t*3301882366&rr|((t<<16|e>>>16)*3120437893&rr)>>>16,e^=t>>>1,(e>>>0).toString(16).padStart(8,"0")+(t>>>0).toString(16).padStart(8,"0")}}const qC=Object.freeze({map:null,hash:"",transfer:void 0});var $d,qd,Zo,Yn,p1,yz;class DR{constructor(){T(this,p1);T(this,$d,!1);T(this,qd,null);T(this,Zo,null);T(this,Yn,new Map);this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(e,t){const i=d(this,Yn).get(e);return i===void 0?t:Object.assign(t,i)}getRawValue(e){return d(this,Yn).get(e)}remove(e){const t=d(this,Yn).get(e);if(t!==void 0&&(t instanceof xt&&d(this,Zo).delete(t.annotationElementId),d(this,Yn).delete(e),d(this,Yn).size===0&&this.resetModified(),typeof this.onAnnotationEditor=="function")){for(const i of d(this,Yn).values())if(i instanceof xt)return;this.onAnnotationEditor(null)}}setValue(e,t){const i=d(this,Yn).get(e);let s=!1;if(i!==void 0)for(const[r,a]of Object.entries(t))i[r]!==a&&(s=!0,i[r]=a);else s=!0,d(this,Yn).set(e,t);s&&P(this,p1,yz).call(this),t instanceof xt&&((d(this,Zo)||A(this,Zo,new Map)).set(t.annotationElementId,t),typeof this.onAnnotationEditor=="function"&&this.onAnnotationEditor(t.constructor._type))}has(e){return d(this,Yn).has(e)}get size(){return d(this,Yn).size}resetModified(){d(this,$d)&&(A(this,$d,!1),typeof this.onResetModified=="function"&&this.onResetModified())}get print(){return new vz(this)}get serializable(){if(d(this,Yn).size===0)return qC;const e=new Map,t=new gz,i=[],s=Object.create(null);let r=!1;for(const[a,o]of d(this,Yn)){const l=o instanceof xt?o.serialize(!1,s):o;l&&(e.set(a,l),t.update(`${a}:${JSON.stringify(l)}`),r||(r=!!l.bitmap))}if(r)for(const a of e.values())a.bitmap&&i.push(a.bitmap);return e.size>0?{map:e,hash:t.hexdigest(),transfer:i}:qC}get editorStats(){let e=null;const t=new Map;let i=0,s=0;for(const r of d(this,Yn).values()){if(!(r instanceof xt)){r.popup&&(r.popup.deleted?s+=1:i+=1);continue}r.isCommentDeleted?s+=1:r.hasEditedComment&&(i+=1);const a=r.telemetryFinalData;if(!a)continue;const{type:o}=a;t.has(o)||t.set(o,Object.getPrototypeOf(r).constructor),e||(e=Object.create(null));const l=e[o]||(e[o]=new Map);for(const[c,u]of Object.entries(a)){if(c==="type")continue;let h=l.get(c);h||(h=new Map,l.set(c,h));const f=h.get(u)??0;h.set(u,f+1)}}if((s>0||i>0)&&(e||(e=Object.create(null)),e.comments={deleted:s,edited:i}),!e)return null;for(const[r,a]of t)e[r]=a.computeTelemetryFinalData(e[r]);return e}resetModifiedIds(){A(this,qd,null)}updateEditor(e,t){var s;const i=(s=d(this,Zo))==null?void 0:s.get(e);return i?(i.updateFromAnnotationLayer(t),!0):!1}getEditor(e){var t;return((t=d(this,Zo))==null?void 0:t.get(e))||null}get modifiedIds(){if(d(this,qd))return d(this,qd);const e=[];if(d(this,Zo))for(const t of d(this,Zo).values())t.serialize()&&e.push(t.annotationElementId);return A(this,qd,{ids:new Set(e),hash:e.join(",")})}[Symbol.iterator](){return d(this,Yn).entries()}}$d=new WeakMap,qd=new WeakMap,Zo=new WeakMap,Yn=new WeakMap,p1=new WeakSet,yz=function(){d(this,$d)||(A(this,$d,!0),typeof this.onSetModified=="function"&&this.onSetModified())};var qv;class vz extends DR{constructor(t){super();T(this,qv);const{map:i,hash:s,transfer:r}=t.serializable,a=structuredClone(i,r?{transfer:r}:null);A(this,qv,{map:a,hash:s,transfer:r})}get print(){yt("Should not call PrintAnnotationStorage.print")}get serializable(){return d(this,qv)}get modifiedIds(){return Ee(this,"modifiedIds",{ids:new Set,hash:""})}}
235qv=new WeakMap;var om;class lle{constructor({ownerDocument:e=globalThis.document,styleElement:t=null}){T(this,om,new Set);this._document=e,this.nativeFontFaces=new Set,this.styleElement=null,this.loadingRequests=[],this.loadTestFontId=0}addNativeFontFace(e){this.nativeFontFaces.add(e),this._document.fonts.add(e)}removeNativeFontFace(e){this.nativeFontFaces.delete(e),this._document.fonts.delete(e)}insertRule(e){this.styleElement||(this.styleElement=this._document.createElement("style"),this._document.documentElement.getElementsByTagName("head")[0].append(this.styleElement));const t=this.styleElement.sheet;t.insertRule(e,t.cssRules.length)}clear(){for(const e of this.nativeFontFaces)this._document.fonts.delete(e);this.nativeFontFaces.clear(),d(this,om).clear(),this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}async loadSystemFont({systemFontInfo:e,disableFontFace:t,_inspectFont:i}){if(!(!e||d(this,om).has(e.loadedName))){if(je(!t,"loadSystemFont shouldn't be called when `disableFontFace` is set."),this.isFontLoadingAPISupported){const{loadedName:s,src:r,style:a}=e,o=new FontFace(s,r,a);this.addNativeFontFace(o);try{await o.load(),d(this,om).add(s),i==null||i(e)}catch{me(`Cannot load system font: ${e.baseFontName}, installing it could help to improve PDF rendering.`),this.removeNativeFontFace(o)}return}yt("Not implemented: loadSystemFont without the Font Loading API.")}}async bind(e){if(e.attached||e.missingFile&&!e.systemFontInfo)return;if(e.attached=!0,e.systemFontInfo){await this.loadSystemFont(e);return}if(this.isFontLoadingAPISupported){const i=e.createNativeFontFace();if(i){this.addNativeFontFace(i);try{await i.loaded}catch(s){throw me(`Failed to load font '${i.family}': '${s}'.`),e.disableFontFace=!0,s}}return}const t=e.createFontFaceRule();if(t){if(this.insertRule(t),this.isSyncFontLoadingSupported)return;await new Promise(i=>{const s=this._queueLoadingCallback(i);this._prepareFontLoadEvent(e,s)})}}get isFontLoadingAPISupported(){var t;const e=!!((t=this._document)!=null&&t.fonts);return Ee(this,"isFontLoadingAPISupported",e)}get isSyncFontLoadingSupported(){return Ee(this,"isSyncFontLoadingSupported",Pi||Vn.platform.isFirefox)}_queueLoadingCallback(e){function t(){for(je(!s.done,"completeRequest() cannot be called twice."),s.done=!0;i.length>0&&i[0].done;){const r=i.shift();setTimeout(r.callback,0)}}const{loadingRequests:i}=this,s={done:!1,complete:t,callback:e};return i.push(s),s}get _loadTestFont(){const e=atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA==");return Ee(this,"_loadTestFont",e)}_prepareFontLoadEvent(e,t){function i(x,E){return x.charCodeAt(E)<<24|x.charCodeAt(E+1)<<16|x.charCodeAt(E+2)<<8|x.charCodeAt(E+3)&255}function s(x,E,C,I){const R=x.substring(0,E),D=x.substring(E+C);return R+I+D}let r,a;const o=this._document.createElement("canvas");o.width=1,o.height=1;const l=o.getContext("2d");let c=0;function u(x,E){if(++c>30){me("Load test font never loaded."),E();return}if(l.font="30px "+x,l.fillText(".",0,20),l.getImageData(0,0,1,1).data[3]>0){E();return}setTimeout(u.bind(null,x,E))}const h=`lt${Date.now()}${this.loadTestFontId++}`;let f=this._loadTestFont;f=s(f,976,h.length,h);const b=16,g=1482184792;let S=i(f,b);for(r=0,a=h.length-3;r<a;r+=4)S=S-g+i(h,r)|0;r<h.length&&(S=S-g+i(h+"XXX",r)|0),f=s(f,b,4,Woe(S));const y=`url(data:font/opentype;base64,${btoa(f)});`,v=`@font-face {font-family:"${h}";src:${y}}`;this.insertRule(v);const _=this._document.createElement("div");_.style.visibility="hidden",_.style.width=_.style.height="10px",_.style.position="absolute",_.style.top=_.style.left="0px";for(const x of[e.loadedName,h]){const E=this._document.createElement("span");E.textContent="Hi",E.style.fontFamily=x,_.append(E)}this._document.body.append(_),u(h,()=>{_.remove(),t.complete()})}}om=new WeakMap;var it;class cle{constructor(e,t=null,i,s){T(this,it);this.compiledGlyphs=Object.create(null),A(this,it,e),this._inspectFont=t,i&&Object.assign(this,i),s&&(this.charProcOperatorList=s)}createNativeFontFace(){var t;if(!this.data||this.disableFontFace)return null;let e;if(!this.cssFontInfo)e=new FontFace(this.loadedName,this.data,{});else{const i={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(i.style=`oblique ${this.cssFontInfo.italicAngle}deg`),e=new FontFace(this.cssFontInfo.fontFamily,this.data,i)}return(t=this._inspectFont)==null||t.call(this,this),e}createFontFaceRule(){var i;if(!this.data||this.disableFontFace)return null;const e=`url(data:${this.mimetype};base64,${M6(this.data)});`;let t;if(!this.cssFontInfo)t=`@font-face {font-family:"${this.loadedName}";src:${e}}`;else{let s=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(s+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),t=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${s}src:${e}}`}return(i=this._inspectFont)==null||i.call(this,this,e),t}getPathGenerator(e,t){if(this.compiledGlyphs[t]!==void 0)return this.compiledGlyphs[t];const i=this.loadedName+"_path_"+t;let s;try{s=e.get(i)}catch(a){me(`getPathGenerator - ignoring character: "${a}".`)}const r=new Path2D(s||"");return this.fontExtraProperties||e.delete(i),this.compiledGlyphs[t]=r}get black(){return d(this,it).black}get bold(){return d(this,it).bold}get disableFontFace(){return d(this,it).disableFontFace??!1}get fontExtraProperties(){return d(this,it).fontExtraProperties??!1}get isInvalidPDFjsFont(){return d(this,it).isInvalidPDFjsFont}get isType3Font(){return d(this,it).isType3Font}get italic(){return d(this,it).italic}get missingFile(){return d(this,it).missingFile}get remeasure(){return d(this,it).remeasure}get vertical(){return d(this,it).vertical}get ascent(){return d(this,it).ascent}get defaultWidth(){return d(this,it).defaultWidth}get descent(){return d(this,it).descent}get bbox(){return d(this,it).bbox}get fontMatrix(){return d(this,it).fontMatrix}get fallbackName(){return d(this,it).fallbackName}get loadedName(){return d(this,it).loadedName}get mimetype(){return d(this,it).mimetype}get name(){return d(this,it).name}get data(){return d(this,it).data}clearData(){d(this,it).clearData()}get cssFontInfo(){return d(this,it).cssFontInfo}get systemFontInfo(){return d(this,it).systemFontInfo}get defaultVMetrics(){return d(this,it).defaultVMetrics}}it=new WeakMap;function ule(n){if(n instanceof URL)return n.href;if(typeof n=="string"){if(Pi)return n;const e=URL.parse(n,window.location);if(e)return e.href}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.")}function dle(n){if(Pi&&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 wb(n);if(n instanceof ArrayBuffer||ArrayBuffer.isView(n)||typeof n=="object"&&!isNaN(n==null?void 0: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.")}
235function f_(n){if(typeof n!="string")return null;if(n.endsWith("/"))return n;throw new Error(`Invalid factory url: "${n}" must include trailing slash.`)}const YC=n=>typeof n=="object"&&Number.isInteger(n==null?void 0:n.num)&&n.num>=0&&Number.isInteger(n==null?void 0:n.gen)&&n.gen>=0,hle=n=>typeof n=="object"&&typeof(n==null?void 0:n.name)=="string",bz=Zoe.bind(null,YC,hle);var el,m1;class fle{constructor(){T(this,el,new Map);T(this,m1,Promise.resolve())}postMessage(e,t){const i={data:structuredClone(e,t?{transfer:t}:null)};d(this,m1).then(()=>{for(const[s]of d(this,el))s.call(this,i)})}addEventListener(e,t,i=null){let s=null;if((i==null?void 0:i.signal)instanceof AbortSignal){const{signal:r}=i;if(r.aborted){me("LoopbackPort - cannot use an `aborted` signal.");return}const a=()=>this.removeEventListener(e,t);s=()=>r.removeEventListener("abort",a),r.addEventListener("abort",a)}d(this,el).set(t,s)}removeEventListener(e,t){const i=d(this,el).get(t);i==null||i(),d(this,el).delete(t)}terminate(){for(const[,e]of d(this,el))e==null||e();d(this,el).clear()}}el=new WeakMap,m1=new WeakMap;const p_={DATA:1,ERROR:2},fn={CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function jO(){}function Xi(n){if(n instanceof Ul||n instanceof Fx||n instanceof PO||n instanceof sv||n instanceof oA)return n;switch(n instanceof Error||typeof n=="object"&&n!==null||yt('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),n.name){case"AbortException":return new Ul(n.message);case"InvalidPDFException":return new Fx(n.message);case"PasswordException":return new PO(n.message,n.code);case"ResponseException":return new sv(n.message,n.status,n.missing);case"UnknownErrorException":return new oA(n.message,n.details)}return new oA(n.message,n.toString())}var lm,Lr,_z,Sz,xz,iS;class U0{constructor(e,t,i){T(this,Lr);T(this,lm,new AbortController);this.sourceName=e,this.targetName=t,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",P(this,Lr,_z).bind(this),{signal:d(this,lm).signal})}on(e,t){const i=this.actionHandler;if(i[e])throw new Error(`There is already an actionName called "${e}"`);i[e]=t}send(e,t,i){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},i)}sendWithPromise(e,t,i){const s=this.callbackId++,r=Promise.withResolvers();this.callbackCapabilities[s]=r;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:s,data:t},i)}catch(a){r.reject(a)}return r.promise}sendWithStream(e,t,i,s){const r=this.streamId++,a=this.sourceName,o=this.targetName,l=this.comObj;return new ReadableStream({start:c=>{const u=Promise.withResolvers();return this.streamControllers[r]={controller:c,startCall:u,pullCall:null,cancelCall:null,isClosed:!1},l.postMessage({sourceName:a,targetName:o,action:e,streamId:r,data:t,desiredSize:c.desiredSize},s),u.promise},pull:c=>{const u=Promise.withResolvers();return this.streamControllers[r].pullCall=u,l.postMessage({sourceName:a,targetName:o,stream:fn.PULL,streamId:r,desiredSize:c.desiredSize}),u.promise},cancel:c=>{je(c instanceof Error,"cancel must have a valid reason");const u=Promise.withResolvers();return this.streamControllers[r].cancelCall=u,this.streamControllers[r].isClosed=!0,l.postMessage({sourceName:a,targetName:o,stream:fn.CANCEL,streamId:r,reason:Xi(c)}),u.promise}},i)}destroy(){var e;(e=d(this,lm))==null||e.abort(),A(this,lm,null)}}lm=new WeakMap,Lr=new WeakSet,_z=function({data:e}){if(e.targetName!==this.sourceName)return;if(e.stream){P(this,Lr,xz).call(this,e);return}if(e.callback){const i=e.callbackId,s=this.callbackCapabilities[i];if(!s)throw new Error(`Cannot resolve callback ${i}`);if(delete this.callbackCapabilities[i],e.callback===p_.DATA)s.resolve(e.data);else if(e.callback===p_.ERROR)s.reject(Xi(e.reason));else throw new Error("Unexpected callback case");return}const t=this.actionHandler[e.action];if(!t)throw new Error(`Unknown action from worker: ${e.action}`);if(e.callbackId){const i=this.sourceName,s=e.sourceName,r=this.comObj;Promise.try(t,e.data).then(function(a){r.postMessage({sourceName:i,targetName:s,callback:p_.DATA,callbackId:e.callbackId,data:a})},function(a){r.postMessage({sourceName:i,targetName:s,callback:p_.ERROR,callbackId:e.callbackId,reason:Xi(a)})});return}if(e.streamId){P(this,Lr,Sz).call(this,e);return}t(e.data)},Sz=function(e){const t=e.streamId,i=this.sourceName,s=e.sourceName,r=this.comObj,a=this,o=this.actionHandler[e.action],l={enqueue(c,u=1,h){if(this.isCancelled)return;const f=this.desiredSize;this.desiredSize-=u,f>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),r.postMessage({sourceName:i,targetName:s,stream:fn.ENQUEUE,streamId:t,chunk:c},h)},close(){this.isCancelled||(this.isCancelled=!0,r.postMessage({sourceName:i,targetName:s,stream:fn.CLOSE,streamId:t}),delete a.streamSinks[t])},error(c){je(c instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,r.postMessage({sourceName:i,targetName:s,stream:fn.ERROR,streamId:t,reason:Xi(c)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};l.sinkCapability.resolve(),l.ready=l.sinkCapability.promise,this.streamSinks[t]=l,Promise.try(o,e.data,l).then(function(){r.postMessage({sourceName:i,targetName:s,stream:fn.START_COMPLETE,streamId:t,success:!0})},function(c){r.postMessage({sourceName:i,targetName:s,stream:fn.START_COMPLETE,streamId:t,reason:Xi(c)})})},xz=function(e){const t=e.streamId,i=this.sourceName,s=e.sourceName,r=this.comObj,a=this.streamControllers[t],o=this.streamSinks[t];switch(e.stream){case fn.START_COMPLETE:e.success?a.startCall.resolve():a.startCall.reject(Xi(e.reason));break;case fn.PULL_COMPLETE:e.success?a.pullCall.resolve():a.pullCall.reject(Xi(e.reason));break;case fn.PULL:if(!o){r.postMessage({sourceName:i,targetName:s,stream:fn.PULL_COMPLETE,streamId:t,success:!0});break}o.desiredSize<=0&&e.desiredSize>0&&o.sinkCapability.resolve(),o.desiredSize=e.desiredSize,Promise.try(o.onPull||jO).then(function(){r.postMessage({sourceName:i,targetName:s,stream:fn.PULL_COMPLETE,streamId:t,success:!0})},function(c){r.postMessage({sourceName:i,targetName:s,stream:fn.PULL_COMPLETE,streamId:t,reason:Xi(c)})});break;case fn.ENQUEUE:if(je(a,"enqueue should have stream controller"),a.isClosed)break;a.controller.enqueue(e.chunk);break;case fn.CLOSE:if(je(a,"close should have stream controller"),a.isClosed)break;a.isClosed=!0,a.controller.close(),P(this,Lr,iS).call(this,a,t);break;case fn.ERROR:je(a,"error should have stream controller"),a.controller.error(Xi(e.reason)),P(this,Lr,iS).call(this,a,t);break;case fn.CANCEL_COMPLETE:e.success?a.cancelCall.resolve():a.cancelCall.reject(Xi(e.reason)),P(this,Lr,iS).call(this,a,t);break;case fn.CANCEL:if(!o)break;const l=Xi(e.reason);Promise.try(o.onCancel||jO,l).then(function(){r.postMessage({sourceName:i,targetName:s,stream:fn.CANCEL_COMPLETE,streamId:t,success:!0})},function(c){r.postMessage({sourceName:i,targetName:s,stream:fn.CANCEL_COMPLETE,streamId:t,reason:Xi(c)})}),o.sinkCapability.reject(l),o.isCancelled=!0,delete this.streamSinks[t];break;default:throw new Error("Unexpected stream case")}},iS=async function(e,t){var i,s,r;await Promise.allSettled([(i=e.startCall)==null?void 0:i.promise,(s=e.pullCall)==null?void 0:s.promise,(r=e.cancelCall)==null?void 0:r.promise]),delete this.streamControllers[t]};var Yv;class wz{constructor({enableHWA:e=!1}){T(this,Yv,!1);A(this,Yv,e)}create(e,t){if(e<=0||t<=0)throw new Error("Invalid canvas size");const i=this._createCanvas(e,t);return{canvas:i,context:i.getContext("2d",{willReadFrequently:!d(this,Yv)})}}reset(e,t,i){if(!e.canvas)throw new Error("Canvas is not specified");if(t<=0||i<=0)throw new Error("Invalid canvas size");e.canvas.width=t,e.canvas.height=i}destroy(e){if(!e.canvas)throw new Error("Canvas is not specified");e.canvas.width=0,e.canvas.height=0,e.canvas=null,e.context=null}_createCanvas(e,t){yt("Abstract method `_createCanvas` called.")}}Yv=new WeakMap;class ple extends wz{constructor({ownerDocument:e=globalThis.document,enableHWA:t=!1}){super({enableHWA:t}),this._document=e}_createCanvas(e,t){const i=this._document.createElement("canvas");return i.width=e,i.height=t,i}}class Ez{constructor({baseUrl:e=null,isCompressed:t=!0}){this.baseUrl=e,this.isCompressed=t}async fetch({name:e}){if(!this.baseUrl)throw new Error("Ensure that the `cMapUrl` and `cMapPacked` API parameters are provided.");if(!e)throw new Error("CMap name must be specified.");const t=this.baseUrl+e+(this.isCompressed?".bcmap":"");return this._fetch(t).then(i=>({cMapData:i,isCompressed:this.isCompressed})).catch(i=>{throw new Error(`Unable to load ${this.isCompressed?"binary ":""}CMap at: ${t}`)})}async _fetch(e){yt("Abstract method `_fetch` called.")}}
235class FO extends Ez{async _fetch(e){const t=await a0(e,this.isCompressed?"arraybuffer":"text");return t instanceof ArrayBuffer?new Uint8Array(t):wb(t)}}class Az{addFilter(e){return"none"}addHCMFilter(e,t){return"none"}addAlphaFilter(e){return"none"}addLuminosityFilter(e){return"none"}addHighlightHCMFilter(e,t,i,s,r){return"none"}destroy(e=!1){}}var Yd,cm,tl,nl,di,Wd,Kd,ie,oi,V0,Lf,sS,Bf,Iz,WC,jf,X0,H0,KC,G0;class mle extends Az{constructor({docId:t,ownerDocument:i=globalThis.document}){super();T(this,ie);T(this,Yd);T(this,cm);T(this,tl);T(this,nl);T(this,di);T(this,Wd);T(this,Kd,0);A(this,nl,t),A(this,di,i)}addFilter(t){if(!t)return"none";let i=d(this,ie,oi).get(t);if(i)return i;const[s,r,a]=P(this,ie,sS).call(this,t),o=t.length===1?s:`${s}${r}${a}`;if(i=d(this,ie,oi).get(o),i)return d(this,ie,oi).set(t,i),i;const l=`g_${d(this,nl)}_transfer_map_${qt(this,Kd)._++}`,c=P(this,ie,Bf).call(this,l);d(this,ie,oi).set(t,c),d(this,ie,oi).set(o,c);const u=P(this,ie,jf).call(this,l);return P(this,ie,H0).call(this,s,r,a,u),c}addHCMFilter(t,i){var b;const s=`${t}-${i}`,r="base";let a=d(this,ie,V0).get(r);if((a==null?void 0:a.key)===s||(a?((b=a.filter)==null||b.remove(),a.key=s,a.url="none",a.filter=null):(a={key:s,url:"none",filter:null},d(this,ie,V0).set(r,a)),!t||!i))return a.url;const o=P(this,ie,G0).call(this,t);t=re.makeHexColor(...o);const l=P(this,ie,G0).call(this,i);if(i=re.makeHexColor(...l),d(this,ie,Lf).style.color="",t==="#000000"&&i==="#ffffff"||t===i)return a.url;const c=new Array(256);for(let g=0;g<=255;g++){const S=g/255;c[g]=S<=.03928?S/12.92:((S+.055)/1.055)**2.4}const u=c.join(","),h=`g_${d(this,nl)}_hcm_filter`,f=a.filter=P(this,ie,jf).call(this,h);P(this,ie,H0).call(this,u,u,u,f),P(this,ie,WC).call(this,f);const p=(g,S)=>{const y=o[g]/255,v=l[g]/255,_=new Array(S+1);for(let x=0;x<=S;x++)_[x]=y+x/S*(v-y);return _.join(",")};return P(this,ie,H0).call(this,p(0,5),p(1,5),p(2,5),f),a.url=P(this,ie,Bf).call(this,h),a.url}addAlphaFilter(t){let i=d(this,ie,oi).get(t);if(i)return i;const[s]=P(this,ie,sS).call(this,[t]),r=`alpha_${s}`;if(i=d(this,ie,oi).get(r),i)return d(this,ie,oi).set(t,i),i;const a=`g_${d(this,nl)}_alpha_map_${qt(this,Kd)._++}`,o=P(this,ie,Bf).call(this,a);d(this,ie,oi).set(t,o),d(this,ie,oi).set(r,o);const l=P(this,ie,jf).call(this,a);return P(this,ie,KC).call(this,s,l),o}addLuminosityFilter(t){let i=d(this,ie,oi).get(t||"luminosity");if(i)return i;let s,r;if(t?([s]=P(this,ie,sS).call(this,[t]),r=`luminosity_${s}`):r="luminosity",i=d(this,ie,oi).get(r),i)return d(this,ie,oi).set(t,i),i;const a=`g_${d(this,nl)}_luminosity_map_${qt(this,Kd)._++}`,o=P(this,ie,Bf).call(this,a);d(this,ie,oi).set(t,o),d(this,ie,oi).set(r,o);const l=P(this,ie,jf).call(this,a);return P(this,ie,Iz).call(this,l),t&&P(this,ie,KC).call(this,s,l),o}addHighlightHCMFilter(t,i,s,r,a){var v;const o=`${i}-${s}-${r}-${a}`;let l=d(this,ie,V0).get(t);if((l==null?void 0:l.key)===o||(l?((v=l.filter)==null||v.remove(),l.key=o,l.url="none",l.filter=null):(l={key:o,url:"none",filter:null},d(this,ie,V0).set(t,l)),!i||!s))return l.url;const[c,u]=[i,s].map(P(this,ie,G0).bind(this));let h=Math.round(.2126*c[0]+.7152*c[1]+.0722*c[2]),f=Math.round(.2126*u[0]+.7152*u[1]+.0722*u[2]),[p,b]=[r,a].map(P(this,ie,G0).bind(this));f<h&&([h,f,p,b]=[f,h,b,p]),d(this,ie,Lf).style.color="";const g=(_,x,E)=>{const C=new Array(256),I=(f-h)/E,R=_/255,D=(x-_)/(255*E);let k=0;for(let N=0;N<=E;N++){const O=Math.round(h+N*I),j=R+N*D;for(let L=k;L<=O;L++)C[L]=j;k=O+1}for(let N=k;N<256;N++)C[N]=C[k-1];return C.join(",")},S=`g_${d(this,nl)}_hcm_${t}_filter`,y=l.filter=P(this,ie,jf).call(this,S);return P(this,ie,WC).call(this,y),P(this,ie,H0).call(this,g(p[0],b[0],5),g(p[1],b[1],5),g(p[2],b[2],5),y),l.url=P(this,ie,Bf).call(this,S),l.url}destroy(t=!1){var i,s,r,a;t&&((i=d(this,Wd))!=null&&i.size)||((s=d(this,tl))==null||s.parentNode.parentNode.remove(),A(this,tl,null),(r=d(this,cm))==null||r.clear(),A(this,cm,null),(a=d(this,Wd))==null||a.clear(),A(this,Wd,null),A(this,Kd,0))}}Yd=new WeakMap,cm=new WeakMap,tl=new WeakMap,nl=new WeakMap,di=new WeakMap,Wd=new WeakMap,Kd=new WeakMap,ie=new WeakSet,oi=function(){return d(this,cm)||A(this,cm,new Map)},V0=function(){return d(this,Wd)||A(this,Wd,new Map)},Lf=function(){if(!d(this,tl)){const t=d(this,di).createElement("div"),{style:i}=t;i.visibility="hidden",i.contain="strict",i.width=i.height=0,i.position="absolute",i.top=i.left=0,i.zIndex=-1;const s=d(this,di).createElementNS(Mo,"svg");s.setAttribute("width",0),s.setAttribute("height",0),A(this,tl,d(this,di).createElementNS(Mo,"defs")),t.append(s),s.append(d(this,tl)),d(this,di).body.append(t)}return d(this,tl)},sS=function(t){if(t.length===1){const c=t[0],u=new Array(256);for(let f=0;f<256;f++)u[f]=c[f]/255;const h=u.join(",");return[h,h,h]}const[i,s,r]=t,a=new Array(256),o=new Array(256),l=new Array(256);for(let c=0;c<256;c++)a[c]=i[c]/255,o[c]=s[c]/255,l[c]=r[c]/255;return[a.join(","),o.join(","),l.join(",")]},Bf=function(t){if(d(this,Yd)===void 0){A(this,Yd,"");const i=d(this,di).URL;i!==d(this,di).baseURI&&(Ab(i)?me('#createUrl: ignore "data:"-URL for performance reasons.'):A(this,Yd,ER(i,"")))}return`url(${d(this,Yd)}#${t})`},Iz=function(t){const i=d(this,di).createElementNS(Mo,"feColorMatrix");i.setAttribute("type","matrix"),i.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(i)},WC=function(t){const i=d(this,di).createElementNS(Mo,"feColorMatrix");i.setAttribute("type","matrix"),i.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(i)},jf=function(t){const i=d(this,di).createElementNS(Mo,"filter");return i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("id",t),d(this,ie,Lf).append(i),i},X0=function(t,i,s){const r=d(this,di).createElementNS(Mo,i);r.setAttribute("type","discrete"),r.setAttribute("tableValues",s),t.append(r)},H0=function(t,i,s,r){const a=d(this,di).createElementNS(Mo,"feComponentTransfer");r.append(a),P(this,ie,X0).call(this,a,"feFuncR",t),P(this,ie,X0).call(this,a,"feFuncG",i),P(this,ie,X0).call(this,a,"feFuncB",s)},KC=function(t,i){const s=d(this,di).createElementNS(Mo,"feComponentTransfer");i.append(s),P(this,ie,X0).call(this,s,"feFuncA",t)},G0=function(t){return d(this,ie,Lf).style.color=t,o0(getComputedStyle(d(this,ie,Lf)).getPropertyValue("color"))};class Cz{constructor({baseUrl:e=null}){this.baseUrl=e}async fetch({filename:e}){if(!this.baseUrl)throw new Error("Ensure that the `standardFontDataUrl` API parameter is provided.");if(!e)throw new Error("Font filename must be specified.");const t=`${this.baseUrl}${e}`;
235return this._fetch(t).catch(i=>{throw new Error(`Unable to load font data at: ${t}`)})}async _fetch(e){yt("Abstract method `_fetch` called.")}}class zO extends Cz{async _fetch(e){const t=await a0(e,"arraybuffer");return new Uint8Array(t)}}class Tz{constructor({baseUrl:e=null}){this.baseUrl=e}async fetch({filename:e}){if(!this.baseUrl)throw new Error("Ensure that the `wasmUrl` API parameter is provided.");if(!e)throw new Error("Wasm filename must be specified.");const t=`${this.baseUrl}${e}`;return this._fetch(t).catch(i=>{throw new Error(`Unable to load wasm data at: ${t}`)})}async _fetch(e){yt("Abstract method `_fetch` called.")}}class UO extends Tz{async _fetch(e){const t=await a0(e,"arraybuffer");return new Uint8Array(t)}}Pi&&me("Please use the `legacy` build in Node.js environments.");async function PR(n){const t=await process.getBuiltinModule("fs").promises.readFile(n);return new Uint8Array(t)}class gle extends Az{}class yle extends wz{_createCanvas(e,t){return process.getBuiltinModule("module").createRequire(import.meta.url)("@napi-rs/canvas").createCanvas(e,t)}}class vle extends Ez{async _fetch(e){return PR(e)}}class ble extends Cz{async _fetch(e){return PR(e)}}class _le extends Tz{async _fetch(e){return PR(e)}}const Af="__forcedDependency",{floor:VO,ceil:XO}=Math;function m_(n,e,t,i,s,r){n[e*4+0]=Math.min(n[e*4+0],t),n[e*4+1]=Math.min(n[e*4+1],i),n[e*4+2]=Math.max(n[e*4+2],s),n[e*4+3]=Math.max(n[e*4+3],r)}const QC=new Uint32Array(new Uint8Array([255,255,0,0]).buffer)[0];var um,jc;class Sle{constructor(e,t){T(this,um);T(this,jc);A(this,um,e),A(this,jc,t)}get length(){return d(this,um).length}isEmpty(e){return d(this,um)[e]===QC}minX(e){return d(this,jc)[e*4+0]/256}minY(e){return d(this,jc)[e*4+1]/256}maxX(e){return(d(this,jc)[e*4+2]+1)/256}maxY(e){return(d(this,jc)[e*4+3]+1)/256}}um=new WeakMap,jc=new WeakMap;const g_=(n,e)=>{if(!n)return;let t=n.get(e);return t||(t={dependencies:new Set,isRenderingOperation:!1},n.set(e,t)),t};var qi,Yi,Qd,ea,Jd,il,Ze,st,sl,Wi,Wv,dm,Zd,eh,rl,hi,Fa,Kv,JC;class xle{constructor(e,t,i=!1){T(this,Kv);T(this,qi,{__proto__:null});T(this,Yi,{__proto__:null,transform:[],moveText:[],sameLineText:[],[Af]:[]});T(this,Qd,new Map);T(this,ea,[]);T(this,Jd,[]);T(this,il,[[1,0,0,1,0,0]]);T(this,Ze,[-1/0,-1/0,1/0,1/0]);T(this,st,new Float64Array([1/0,1/0,-1/0,-1/0]));T(this,sl,-1);T(this,Wi,new Set);T(this,Wv,new Map);T(this,dm,new Map);T(this,Zd);T(this,eh);T(this,rl);T(this,hi);T(this,Fa);A(this,Zd,e.width),A(this,eh,e.height),P(this,Kv,JC).call(this,t),i&&A(this,Fa,new Map)}growOperationsCount(e){e>=d(this,hi).length&&P(this,Kv,JC).call(this,e,d(this,hi))}save(e){return A(this,qi,{__proto__:d(this,qi)}),A(this,Yi,{__proto__:d(this,Yi),transform:{__proto__:d(this,Yi).transform},moveText:{__proto__:d(this,Yi).moveText},sameLineText:{__proto__:d(this,Yi).sameLineText},[Af]:{__proto__:d(this,Yi)[Af]}}),A(this,Ze,{__proto__:d(this,Ze)}),d(this,ea).push(e),this}restore(e){var s;const t=Object.getPrototypeOf(d(this,qi));if(t===null)return this;A(this,qi,t),A(this,Yi,Object.getPrototypeOf(d(this,Yi))),A(this,Ze,Object.getPrototypeOf(d(this,Ze)));const i=d(this,ea).pop();return i!==void 0&&((s=g_(d(this,Fa),e))==null||s.dependencies.add(i),d(this,hi)[e]=d(this,hi)[i]),this}recordOpenMarker(e){return d(this,ea).push(e),this}getOpenMarker(){return d(this,ea).length===0?null:d(this,ea).at(-1)}recordCloseMarker(e){var i;const t=d(this,ea).pop();return t!==void 0&&((i=g_(d(this,Fa),e))==null||i.dependencies.add(t),d(this,hi)[e]=d(this,hi)[t]),this}beginMarkedContent(e){return d(this,Jd).push(e),this}endMarkedContent(e){var i;const t=d(this,Jd).pop();return t!==void 0&&((i=g_(d(this,Fa),e))==null||i.dependencies.add(t),d(this,hi)[e]=d(this,hi)[t]),this}pushBaseTransform(e){return d(this,il).push(re.multiplyByDOMMatrix(d(this,il).at(-1),e.getTransform())),this}popBaseTransform(){return d(this,il).length>1&&d(this,il).pop(),this}recordSimpleData(e,t){return d(this,qi)[e]=t,this}recordIncrementalData(e,t){return d(this,Yi)[e].push(t),this}resetIncrementalData(e,t){return d(this,Yi)[e].length=0,this}recordNamedData(e,t){return d(this,Qd).set(e,t),this}recordSimpleDataFromNamed(e,t,i){d(this,qi)[e]=d(this,Qd).get(t)??i}recordFutureForcedDependency(e,t){return this.recordIncrementalData(Af,t),this}inheritSimpleDataAsFutureForcedDependencies(e){for(const t of e)t in d(this,qi)&&this.recordFutureForcedDependency(t,d(this,qi)[t]);return this}inheritPendingDependenciesAsFutureForcedDependencies(){for(const e of d(this,Wi))this.recordFutureForcedDependency(Af,e);return this}resetBBox(e){return d(this,sl)!==e&&(A(this,sl,e),d(this,st)[0]=1/0,d(this,st)[1]=1/0,d(this,st)[2]=-1/0,d(this,st)[3]=-1/0),this}recordClipBox(e,t,i,s,r,a){const o=re.multiplyByDOMMatrix(d(this,il).at(-1),t.getTransform()),l=[1/0,1/0,-1/0,-1/0];re.axialAlignedBoundingBox([i,r,s,a],o,l);const c=re.intersect(d(this,Ze),l);return c?(d(this,Ze)[0]=c[0],d(this,Ze)[1]=c[1],d(this,Ze)[2]=c[2],d(this,Ze)[3]=c[3]):(d(this,Ze)[0]=d(this,Ze)[1]=1/0,d(this,Ze)[2]=d(this,Ze)[3]=-1/0),this}recordBBox(e,t,i,s,r,a){const o=d(this,Ze);
235if(o[0]===1/0)return this;const l=re.multiplyByDOMMatrix(d(this,il).at(-1),t.getTransform());if(o[0]===-1/0)return re.axialAlignedBoundingBox([i,r,s,a],l,d(this,st)),this;const c=[1/0,1/0,-1/0,-1/0];return re.axialAlignedBoundingBox([i,r,s,a],l,c),d(this,st)[0]=Math.min(d(this,st)[0],Math.max(c[0],o[0])),d(this,st)[1]=Math.min(d(this,st)[1],Math.max(c[1],o[1])),d(this,st)[2]=Math.max(d(this,st)[2],Math.min(c[2],o[2])),d(this,st)[3]=Math.max(d(this,st)[3],Math.min(c[3],o[3])),this}recordCharacterBBox(e,t,i,s=1,r=0,a=0,o){const l=i.bbox;let c,u;if(l&&(c=l[2]!==l[0]&&l[3]!==l[1]&&d(this,dm).get(i),c!==!1&&(u=[0,0,0,0],re.axialAlignedBoundingBox(l,i.fontMatrix,u),(s!==1||r!==0||a!==0)&&re.scaleMinMax([s,0,0,-s,r,a],u),c)))return this.recordBBox(e,t,u[0],u[2],u[1],u[3]);if(!o)return this.recordFullPageBBox(e);const h=o();return l&&u&&c===void 0&&(c=u[0]<=r-h.actualBoundingBoxLeft&&u[2]>=r+h.actualBoundingBoxRight&&u[1]<=a-h.actualBoundingBoxAscent&&u[3]>=a+h.actualBoundingBoxDescent,d(this,dm).set(i,c),c)?this.recordBBox(e,t,u[0],u[2],u[1],u[3]):this.recordBBox(e,t,r-h.actualBoundingBoxLeft,r+h.actualBoundingBoxRight,a-h.actualBoundingBoxAscent,a+h.actualBoundingBoxDescent)}recordFullPageBBox(e){return d(this,st)[0]=Math.max(0,d(this,Ze)[0]),d(this,st)[1]=Math.max(0,d(this,Ze)[1]),d(this,st)[2]=Math.min(d(this,Zd),d(this,Ze)[2]),d(this,st)[3]=Math.min(d(this,eh),d(this,Ze)[3]),this}getSimpleIndex(e){return d(this,qi)[e]}recordDependencies(e,t){const i=d(this,Wi),s=d(this,qi),r=d(this,Yi);for(const a of t)a in d(this,qi)?i.add(s[a]):a in r&&r[a].forEach(i.add,i);return this}recordNamedDependency(e,t){return d(this,Qd).has(t)&&d(this,Wi).add(d(this,Qd).get(t)),this}recordOperation(e,t=!1){if(this.recordDependencies(e,[Af]),d(this,Fa)){const i=g_(d(this,Fa),e),{dependencies:s}=i;d(this,Wi).forEach(s.add,s),d(this,ea).forEach(s.add,s),d(this,Jd).forEach(s.add,s),s.delete(e),i.isRenderingOperation=!0}if(d(this,sl)===e){const i=VO(d(this,st)[0]*256/d(this,Zd)),s=VO(d(this,st)[1]*256/d(this,eh)),r=XO(d(this,st)[2]*256/d(this,Zd)),a=XO(d(this,st)[3]*256/d(this,eh));m_(d(this,rl),e,i,s,r,a);for(const o of d(this,Wi))o!==e&&m_(d(this,rl),o,i,s,r,a);for(const o of d(this,ea))o!==e&&m_(d(this,rl),o,i,s,r,a);for(const o of d(this,Jd))o!==e&&m_(d(this,rl),o,i,s,r,a);t||(d(this,Wi).clear(),A(this,sl,-1))}return this}recordShowTextOperation(e,t=!1){const i=Array.from(d(this,Wi));this.recordOperation(e,t),this.recordIncrementalData("sameLineText",e);for(const s of i)this.recordIncrementalData("sameLineText",s);return this}bboxToClipBoxDropOperation(e,t=!1){return d(this,sl)===e&&(A(this,sl,-1),d(this,Ze)[0]=Math.max(d(this,Ze)[0],d(this,st)[0]),d(this,Ze)[1]=Math.max(d(this,Ze)[1],d(this,st)[1]),d(this,Ze)[2]=Math.min(d(this,Ze)[2],d(this,st)[2]),d(this,Ze)[3]=Math.min(d(this,Ze)[3],d(this,st)[3]),t||d(this,Wi).clear()),this}_takePendingDependencies(){const e=d(this,Wi);return A(this,Wi,new Set),e}_extractOperation(e){const t=d(this,Wv).get(e);return d(this,Wv).delete(e),t}_pushPendingDependencies(e){for(const t of e)d(this,Wi).add(t)}take(){return d(this,dm).clear(),new Sle(d(this,hi),d(this,rl))}takeDebugMetadata(){return d(this,Fa)}}qi=new WeakMap,Yi=new WeakMap,Qd=new WeakMap,ea=new WeakMap,Jd=new WeakMap,il=new WeakMap,Ze=new WeakMap,st=new WeakMap,sl=new WeakMap,Wi=new WeakMap,Wv=new WeakMap,dm=new WeakMap,Zd=new WeakMap,eh=new WeakMap,rl=new WeakMap,hi=new WeakMap,Fa=new WeakMap,Kv=new WeakSet,JC=function(e,t){const i=new ArrayBuffer(e*4);A(this,rl,new Uint8ClampedArray(i)),A(this,hi,new Uint32Array(i)),t&&t.length>0?(d(this,hi).set(t),d(this,hi).fill(QC,t.length)):d(this,hi).fill(QC)};var ht,Qt,ta,hm,fm;const Ek=class Ek{constructor(e,t,i){T(this,ht);T(this,Qt);T(this,ta);T(this,hm,0);T(this,fm,0);if(e instanceof Ek&&d(e,ta)===!!i)return e;A(this,ht,e),A(this,Qt,t),A(this,ta,!!i)}growOperationsCount(){throw new Error("Unreachable")}save(e){return qt(this,fm)._++,d(this,ht).save(d(this,Qt)),this}restore(e){return d(this,fm)>0&&(d(this,ht).restore(d(this,Qt)),qt(this,fm)._--),this}recordOpenMarker(e){return qt(this,hm)._++,this}getOpenMarker(){return d(this,hm)>0?d(this,Qt):d(this,ht).getOpenMarker()}recordCloseMarker(e){return qt(this,hm)._--,this}beginMarkedContent(e){return this}endMarkedContent(e){return this}pushBaseTransform(e){return d(this,ht).pushBaseTransform(e),this}popBaseTransform(){return d(this,ht).popBaseTransform(),this}recordSimpleData(e,t){return d(this,ht).recordSimpleData(e,d(this,Qt)),this}recordIncrementalData(e,t){return d(this,ht).recordIncrementalData(e,d(this,Qt)),this}resetIncrementalData(e,t){return d(this,ht).resetIncrementalData(e,d(this,Qt)),this}recordNamedData(e,t){return this}recordSimpleDataFromNamed(e,t,i){return d(this,ht).recordSimpleDataFromNamed(e,t,d(this,Qt)),this}recordFutureForcedDependency(e,t){return d(this,ht).recordFutureForcedDependency(e,d(this,Qt)),this}inheritSimpleDataAsFutureForcedDependencies(e){return d(this,ht).inheritSimpleDataAsFutureForcedDependencies(e),this}inheritPendingDependenciesAsFutureForcedDependencies(){return d(this,ht).inheritPendingDependenciesAsFutureForcedDependencies(),this}resetBBox(e){return d(this,ta)||d(this,ht).resetBBox(d(this,Qt)),this}recordClipBox(e,t,i,s,r,a){return d(this,ta)||d(this,ht).recordClipBox(d(this,Qt),t,i,s,r,a),this}recordBBox(e,t,i,s,r,a){return d(this,ta)||d(this,ht).recordBBox(d(this,Qt),t,i,s,r,a),this}recordCharacterBBox(e,t,i,s,r,a,o){return d(this,ta)||d(this,ht).recordCharacterBBox(d(this,Qt),t,i,s,r,a,o),this}recordFullPageBBox(e){return d(this,ta)||d(this,ht).recordFullPageBBox(d(this,Qt)),this}getSimpleIndex(e){return d(this,ht).getSimpleIndex(e)}recordDependencies(e,t){return d(this,ht).recordDependencies(d(this,Qt),t),this}recordNamedDependency(e,t){return d(this,ht).recordNamedDependency(d(this,Qt),t),this}recordOperation(e){return d(this,ht).recordOperation(d(this,Qt),!0),this}recordShowTextOperation(e){return d(this,ht).recordShowTextOperation(d(this,Qt),!0),this}bboxToClipBoxDropOperation(e){return d(this,ta)||d(this,ht).bboxToClipBoxDropOperation(d(this,Qt),!0),this}take(){throw new Error("Unreachable")}takeDebugMetadata(){throw new Error("Unreachable")}};ht=new WeakMap,Qt=new WeakMap,ta=new WeakMap,hm=new WeakMap,fm=new WeakMap;let Vx=Ek;const ar={stroke:["path","transform","filter","strokeColor","strokeAlpha","lineWidth","lineCap","lineJoin","miterLimit","dash"],fill:["path","transform","filter","fillColor","fillAlpha","globalCompositeOperation","SMask"],imageXObject:["transform","SMask","filter","fillAlpha","strokeAlpha","globalCompositeOperation"],rawFillPath:["f
235ilter","fillColor","fillAlpha"],showText:["transform","leading","charSpacing","wordSpacing","hScale","textRise","moveText","textMatrix","font","fontObj","filter","fillColor","textRenderingMode","SMask","fillAlpha","strokeAlpha","globalCompositeOperation","sameLineText"],transform:["transform"],transformAndFill:["transform","fillColor"]},Zn={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};function ZC(n,e){if(!e)return;const t=e[2]-e[0],i=e[3]-e[1],s=new Path2D;s.rect(e[0],e[1],t,i),n.clip(s)}class RR{isModifyingCurrentTransform(){return!1}getPattern(){yt("Abstract method `getPattern` called.")}}class wle extends RR{constructor(e){super(),this._type=e[1],this._bbox=e[2],this._colorStops=e[3],this._p0=e[4],this._p1=e[5],this._r0=e[6],this._r1=e[7],this.matrix=null}_createGradient(e){let t;this._type==="axial"?t=e.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):this._type==="radial"&&(t=e.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const i of this._colorStops)t.addColorStop(i[0],i[1]);return t}getPattern(e,t,i,s){let r;if(s===Zn.STROKE||s===Zn.FILL){const a=t.current.getClippedPathBoundingBox(s,Ut(e))||[0,0,0,0],o=Math.ceil(a[2]-a[0])||1,l=Math.ceil(a[3]-a[1])||1,c=t.cachedCanvases.getCanvas("pattern",o,l),u=c.context;u.clearRect(0,0,u.canvas.width,u.canvas.height),u.beginPath(),u.rect(0,0,u.canvas.width,u.canvas.height),u.translate(-a[0],-a[1]),i=re.transform(i,[1,0,0,1,a[0],a[1]]),u.transform(...t.baseTransform),this.matrix&&u.transform(...this.matrix),ZC(u,this._bbox),u.fillStyle=this._createGradient(u),u.fill(),r=e.createPattern(c.canvas,"no-repeat");const h=new DOMMatrix(i);r.setTransform(h)}else ZC(e,this._bbox),r=this._createGradient(e);return r}}function uA(n,e,t,i,s,r,a,o){const l=e.coords,c=e.colors,u=n.data,h=n.width*4;let f;l[t+1]>l[i+1]&&(f=t,t=i,i=f,f=r,r=a,a=f),l[i+1]>l[s+1]&&(f=i,i=s,s=f,f=a,a=o,o=f),l[t+1]>l[i+1]&&(f=t,t=i,i=f,f=r,r=a,a=f);const p=(l[t]+e.offsetX)*e.scaleX,b=(l[t+1]+e.offsetY)*e.scaleY,g=(l[i]+e.offsetX)*e.scaleX,S=(l[i+1]+e.offsetY)*e.scaleY,y=(l[s]+e.offsetX)*e.scaleX,v=(l[s+1]+e.offsetY)*e.scaleY;if(b>=v)return;const _=c[r],x=c[r+1],E=c[r+2],C=c[a],I=c[a+1],R=c[a+2],D=c[o],k=c[o+1],N=c[o+2],O=Math.round(b),j=Math.round(v);let L,U,M,B,F,z,G,te;for(let Y=O;Y<=j;Y++){if(Y<S){const ne=Y<b?0:(b-Y)/(b-S);L=p-(p-g)*ne,U=_-(_-C)*ne,M=x-(x-I)*ne,B=E-(E-R)*ne}else{let ne;Y>v?ne=1:S===v?ne=0:ne=(S-Y)/(S-v),L=g-(g-y)*ne,U=C-(C-D)*ne,M=I-(I-k)*ne,B=R-(R-N)*ne}let X;Y<b?X=0:Y>v?X=1:X=(b-Y)/(b-v),F=p-(p-y)*X,z=_-(_-D)*X,G=x-(x-k)*X,te=E-(E-N)*X;const W=Math.round(Math.min(L,F)),ae=Math.round(Math.max(L,F));let Ue=h*Y+W*4;for(let ne=W;ne<=ae;ne++)X=(L-ne)/(L-F),X<0?X=0:X>1&&(X=1),u[Ue++]=U-(U-z)*X|0,u[Ue++]=M-(M-G)*X|0,u[Ue++]=B-(B-te)*X|0,u[Ue++]=255}}function Ele(n,e,t){const i=e.coords,s=e.colors;let r,a;switch(e.type){case"lattice":const o=e.verticesPerRow,l=Math.floor(i.length/o)-1,c=o-1;for(r=0;r<l;r++){let u=r*o;for(let h=0;h<c;h++,u++)uA(n,t,i[u],i[u+1],i[u+o],s[u],s[u+1],s[u+o]),uA(n,t,i[u+o+1],i[u+1],i[u+o],s[u+o+1],s[u+1],s[u+o])}break;case"triangles":for(r=0,a=i.length;r<a;r+=3)uA(n,t,i[r],i[r+1],i[r+2],s[r],s[r+1],s[r+2]);break;default:throw new Error("illegal figure")}}class Ale extends RR{constructor(e){super(),this._coords=e[2],this._colors=e[3],this._figures=e[4],this._bounds=e[5],this._bbox=e[6],this._background=e[7],this.matrix=null}_createMeshCanvas(e,t,i){const o=Math.floor(this._bounds[0]),l=Math.floor(this._bounds[1]),c=Math.ceil(this._bounds[2])-o,u=Math.ceil(this._bounds[3])-l,h=Math.min(Math.ceil(Math.abs(c*e[0]*1.1)),3e3),f=Math.min(Math.ceil(Math.abs(u*e[1]*1.1)),3e3),p=c/h,b=u/f,g={coords:this._coords,colors:this._colors,offsetX:-o,offsetY:-l,scaleX:1/p,scaleY:1/b},S=h+2*2,y=f+2*2,v=i.getCanvas("mesh",S,y),_=v.context,x=_.createImageData(h,f);if(t){const C=x.data;for(let I=0,R=C.length;I<R;I+=4)C[I]=t[0],C[I+1]=t[1],C[I+2]=t[2],C[I+3]=255}for(const C of this._figures)Ele(x,C,g);return _.putImageData(x,2,2),{canvas:v.canvas,offsetX:o-2*p,offsetY:l-2*b,scaleX:p,scaleY:b}}isModifyingCurrentTransform(){return!0}getPattern(e,t,i,s){ZC(e,this._bbox);const r=new Float32Array(2);if(s===Zn.SHADING)re.singularValueDecompose2dScale(Ut(e),r);
235else if(this.matrix){re.singularValueDecompose2dScale(this.matrix,r);const[o,l]=r;re.singularValueDecompose2dScale(t.baseTransform,r),r[0]*=o,r[1]*=l}else re.singularValueDecompose2dScale(t.baseTransform,r);const a=this._createMeshCanvas(r,s===Zn.SHADING?null:this._background,t.cachedCanvases);return s!==Zn.SHADING&&(e.setTransform(...t.baseTransform),this.matrix&&e.transform(...this.matrix)),e.translate(a.offsetX,a.offsetY),e.scale(a.scaleX,a.scaleY),e.createPattern(a.canvas,"no-repeat")}}class Ile extends RR{getPattern(){return"hotpink"}}function Cle(n){switch(n[0]){case"RadialAxial":return new wle(n);case"Mesh":return new Ale(n);case"Dummy":return new Ile}throw new Error(`Unknown IR type: ${n[0]}`)}const HO={COLORED:1,UNCOLORED:2},g1=class g1{constructor(e,t,i,s){this.color=e[1],this.operatorList=e[2],this.matrix=e[3],this.bbox=e[4],this.xstep=e[5],this.ystep=e[6],this.paintType=e[7],this.tilingType=e[8],this.ctx=t,this.canvasGraphicsFactory=i,this.baseTransform=s}createPatternCanvas(e,t){var z,G;const{bbox:i,operatorList:s,paintType:r,tilingType:a,color:o,canvasGraphicsFactory:l}=this;let{xstep:c,ystep:u}=this;c=Math.abs(c),u=Math.abs(u),yw("TilingType: "+a);const h=i[0],f=i[1],p=i[2],b=i[3],g=p-h,S=b-f,y=new Float32Array(2);re.singularValueDecompose2dScale(this.matrix,y);const[v,_]=y;re.singularValueDecompose2dScale(this.baseTransform,y);const x=v*y[0],E=_*y[1];let C=g,I=S,R=!1,D=!1;const k=Math.ceil(c*x),N=Math.ceil(u*E),O=Math.ceil(g*x),j=Math.ceil(S*E);k>=O?C=c:R=!0,N>=j?I=u:D=!0;const L=this.getSizeAndScale(C,this.ctx.canvas.width,x),U=this.getSizeAndScale(I,this.ctx.canvas.height,E),M=e.cachedCanvases.getCanvas("pattern",L.size,U.size),B=M.context,F=l.createCanvasGraphics(B,t);if(F.groupLevel=e.groupLevel,this.setFillAndStrokeStyleToContext(F,r,o),B.translate(-L.scale*h,-U.scale*f),F.transform(0,L.scale,0,0,U.scale,0,0),B.save(),(z=F.dependencyTracker)==null||z.save(),this.clipBbox(F,h,f,p,b),F.baseTransform=Ut(F.ctx),F.executeOperatorList(s),F.endDrawing(),(G=F.dependencyTracker)==null||G.restore(),B.restore(),R||D){const te=M.canvas;R&&(C=c),D&&(I=u);const Y=this.getSizeAndScale(C,this.ctx.canvas.width,x),X=this.getSizeAndScale(I,this.ctx.canvas.height,E),W=Y.size,ae=X.size,Ue=e.cachedCanvases.getCanvas("pattern-workaround",W,ae),ne=Ue.context,bt=R?Math.floor(g/c):0,jt=D?Math.floor(S/u):0;for(let _t=0;_t<=bt;_t++)for(let $=0;$<=jt;$++)ne.drawImage(te,W*_t,ae*$,W,ae,0,0,W,ae);return{canvas:Ue.canvas,scaleX:Y.scale,scaleY:X.scale,offsetX:h,offsetY:f}}return{canvas:M.canvas,scaleX:L.scale,scaleY:U.scale,offsetX:h,offsetY:f}}getSizeAndScale(e,t,i){const s=Math.max(g1.MAX_PATTERN_SIZE,t);let r=Math.ceil(e*i);return r>=s?r=s:i=r/e,{scale:i,size:r}}clipBbox(e,t,i,s,r){const a=s-t,o=r-i;e.ctx.rect(t,i,a,o),re.axialAlignedBoundingBox([t,i,s,r],Ut(e.ctx),e.current.minMax),e.clip(),e.endPath()}setFillAndStrokeStyleToContext(e,t,i){const s=e.ctx,r=e.current;switch(t){case HO.COLORED:const{fillStyle:a,strokeStyle:o}=this.ctx;s.fillStyle=r.fillColor=a,s.strokeStyle=r.strokeColor=o;break;case HO.UNCOLORED:s.fillStyle=s.strokeStyle=i,r.fillColor=r.strokeColor=i;break;default:throw new Yoe(`Unsupported paint type: ${t}`)}}isModifyingCurrentTransform(){return!1}getPattern(e,t,i,s,r){let a=i;s!==Zn.SHADING&&(a=re.transform(a,t.baseTransform),this.matrix&&(a=re.transform(a,this.matrix)));const o=this.createPatternCanvas(t,r);let l=new DOMMatrix(a);l=l.translate(o.offsetX,o.offsetY),l=l.scale(1/o.scaleX,1/o.scaleY);const c=e.createPattern(o.canvas,"repeat");return c.setTransform(l),c}};q(g1,"MAX_PATTERN_SIZE",3e3);let eT=g1;function Tle({src:n,srcPos:e=0,dest:t,width:i,height:s,nonBlackColor:r=4294967295,inverseDecode:a=!1}){const o=Vn.isLittleEndian?4278190080:255,[l,c]=a?[r,o]:[o,r],u=i>>3,h=i&7,f=n.length;t=new Uint32Array(t.buffer);let p=0;for(let b=0;b<s;b++){for(const S=e+u;e<S;e++){const y=e<f?n[e]:255;t[p++]=y&128?c:l,t[p++]=y&64?c:l,t[p++]=y&32?c:l,t[p++]=y&16?c:l,t[p++]=y&8?c:l,t[p++]=y&4?c:l,t[p++]=y&2?c:l,t[p++]=y&1?c:l}if(h===0)continue;const g=e<f?n[e++]:255;for(let S=0;S<h;S++)t[p++]=g&1<<7-S?c:l}return{srcPos:e,destPos:p}}const GO=16,$O=100,Dle=15,qO=10,ns=16,dA=new DOMMatrix,Ls=new Float32Array(2),rp=new Float32Array([1/0,1/0,-1/0,-1/0]);function Ple(n,e){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(){e.save(),this.__originalSave()}
235,n.restore=function(){e.restore(),this.__originalRestore()},n.translate=function(t,i){e.translate(t,i),this.__originalTranslate(t,i)},n.scale=function(t,i){e.scale(t,i),this.__originalScale(t,i)},n.transform=function(t,i,s,r,a,o){e.transform(t,i,s,r,a,o),this.__originalTransform(t,i,s,r,a,o)},n.setTransform=function(t,i,s,r,a,o){e.setTransform(t,i,s,r,a,o),this.__originalSetTransform(t,i,s,r,a,o)},n.resetTransform=function(){e.resetTransform(),this.__originalResetTransform()},n.rotate=function(t){e.rotate(t),this.__originalRotate(t)},n.clip=function(t){e.clip(t),this.__originalClip(t)},n.moveTo=function(t,i){e.moveTo(t,i),this.__originalMoveTo(t,i)},n.lineTo=function(t,i){e.lineTo(t,i),this.__originalLineTo(t,i)},n.bezierCurveTo=function(t,i,s,r,a,o){e.bezierCurveTo(t,i,s,r,a,o),this.__originalBezierCurveTo(t,i,s,r,a,o)},n.rect=function(t,i,s,r){e.rect(t,i,s,r),this.__originalRect(t,i,s,r)},n.closePath=function(){e.closePath(),this.__originalClosePath()},n.beginPath=function(){e.beginPath(),this.__originalBeginPath()}}class Rle{constructor(e){this.canvasFactory=e,this.cache=Object.create(null)}getCanvas(e,t,i){let s;return this.cache[e]!==void 0?(s=this.cache[e],this.canvasFactory.reset(s,t,i)):(s=this.canvasFactory.create(t,i),this.cache[e]=s),s}delete(e){delete this.cache[e]}clear(){for(const e in this.cache){const t=this.cache[e];this.canvasFactory.destroy(t),delete this.cache[e]}}}function y_(n,e,t,i,s,r,a,o,l,c){const[u,h,f,p,b,g]=Ut(n);if(h===0&&f===0){const v=a*u+b,_=Math.round(v),x=o*p+g,E=Math.round(x),C=(a+l)*u+b,I=Math.abs(Math.round(C)-_)||1,R=(o+c)*p+g,D=Math.abs(Math.round(R)-E)||1;return n.setTransform(Math.sign(u),0,0,Math.sign(p),_,E),n.drawImage(e,t,i,s,r,0,0,I,D),n.setTransform(u,h,f,p,b,g),[I,D]}if(u===0&&p===0){const v=o*f+b,_=Math.round(v),x=a*h+g,E=Math.round(x),C=(o+c)*f+b,I=Math.abs(Math.round(C)-_)||1,R=(a+l)*h+g,D=Math.abs(Math.round(R)-E)||1;return n.setTransform(0,Math.sign(h),Math.sign(f),0,_,E),n.drawImage(e,t,i,s,r,0,0,D,I),n.setTransform(u,h,f,p,b,g),[D,I]}n.drawImage(e,t,i,s,r,a,o,l,c);const S=Math.hypot(u,h),y=Math.hypot(f,p);return[S*l,y*c]}class YO{constructor(e,t,i){q(this,"alphaIsShape",!1);q(this,"fontSize",0);q(this,"fontSizeScale",1);q(this,"textMatrix",null);q(this,"textMatrixScale",1);q(this,"fontMatrix",IC);q(this,"leading",0);q(this,"x",0);q(this,"y",0);q(this,"lineX",0);q(this,"lineY",0);q(this,"charSpacing",0);q(this,"wordSpacing",0);q(this,"textHScale",1);q(this,"textRenderingMode",Gn.FILL);q(this,"textRise",0);q(this,"fillColor","#000000");q(this,"strokeColor","#000000");q(this,"patternFill",!1);q(this,"patternStroke",!1);q(this,"fillAlpha",1);q(this,"strokeAlpha",1);q(this,"lineWidth",1);q(this,"activeSMask",null);q(this,"transferMaps","none");i==null||i(this),this.clipBox=new Float32Array([0,0,e,t]),this.minMax=rp.slice()}clone(){const e=Object.create(this);return e.clipBox=this.clipBox.slice(),e.minMax=this.minMax.slice(),e}getPathBoundingBox(e=Zn.FILL,t=null){const i=this.minMax.slice();if(e===Zn.STROKE){t||yt("Stroke bounding box must include transform."),re.singularValueDecompose2dScale(t,Ls);const s=Ls[0]*this.lineWidth/2,r=Ls[1]*this.lineWidth/2;i[0]-=s,i[1]-=r,i[2]+=s,i[3]+=r}return i}updateClipFromPath(){const e=re.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(e||[0,0,0,0])}isEmptyClip(){return this.minMax[0]===1/0}startNewPathAndClipBox(e){this.clipBox.set(e,0),this.minMax.set(rp,0)}getClippedPathBoundingBox(e=Zn.FILL,t=null){return re.intersect(this.clipBox,this.getPathBoundingBox(e,t))}}function WO(n,e){if(e instanceof ImageData){n.putImageData(e,0,0);return}const t=e.height,i=e.width,s=t%ns,r=(t-s)/ns,a=s===0?r:r+1,o=n.createImageData(i,ns);let l=0,c;const u=e.data,h=o.data;let f,p,b,g;if(e.kind===Ay.GRAYSCALE_1BPP){const S=u.byteLength,y=new Uint32Array(h.buffer,0,h.byteLength>>2),v=y.length,_=i+7>>3,x=4294967295,E=Vn.isLittleEndian?4278190080:255;for(f=0;f<a;f++){for(b=f<r?ns:s,c=0,p=0;p<b;p++){const C=S-l;let I=0;const R=C>_?i:C*8-7,D=R&-8;let k=0,N=0;for(;I<D;I+=8)N=u[l++],y[c++]=N&128?x:E,y[c++]=N&64?x:E,y[c++]=N&32?x:E,y[c++]=N&16?x:E,y[c++]=N&8?x:E,y[c++]=N&4?x:E,y[c++]=N&2?x:E,y[c++]=N&1?x:E;for(;I<R;I++)k===0&&(N=u[l++],k=128),y[c++]=N&k?x:E,k>>=1}
235for(;c<v;)y[c++]=0;n.putImageData(o,0,f*ns)}}else if(e.kind===Ay.RGBA_32BPP){for(p=0,g=i*ns*4,f=0;f<r;f++)h.set(u.subarray(l,l+g)),l+=g,n.putImageData(o,0,p),p+=ns;f<a&&(g=i*s*4,h.set(u.subarray(l,l+g)),n.putImageData(o,0,p))}else if(e.kind===Ay.RGB_24BPP)for(b=ns,g=i*b,f=0;f<a;f++){for(f>=r&&(b=s,g=i*b),c=0,p=g;p--;)h[c++]=u[l++],h[c++]=u[l++],h[c++]=u[l++],h[c++]=255;n.putImageData(o,0,f*ns)}else throw new Error(`bad image kind: ${e.kind}`)}function KO(n,e){if(e.bitmap){n.drawImage(e.bitmap,0,0);return}const t=e.height,i=e.width,s=t%ns,r=(t-s)/ns,a=s===0?r:r+1,o=n.createImageData(i,ns);let l=0;const c=e.data,u=o.data;for(let h=0;h<a;h++){const f=h<r?ns:s;({srcPos:l}=Tle({src:c,srcPos:l,dest:u,width:i,height:f,nonBlackColor:0})),n.putImageData(o,0,h*ns)}}function w0(n,e){const t=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font","filter"];for(const i of t)n[i]!==void 0&&(e[i]=n[i]);n.setLineDash!==void 0&&(e.setLineDash(n.getLineDash()),e.lineDashOffset=n.lineDashOffset)}function v_(n){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);const{filter:e}=n;e!=="none"&&e!==""&&(n.filter="none")}function QO(n,e){if(e)return!0;re.singularValueDecompose2dScale(n,Ls);const t=Math.fround(fa.pixelRatio*Vl.PDF_TO_CSS_UNITS);return Ls[0]<=t&&Ls[1]<=t}const kle=["butt","round","square"],Nle=["miter","round","bevel"],Mle={},JO={};var pa,tT,nT,iT;const Ak=class Ak{constructor(e,t,i,s,r,{optionalContentConfig:a,markedContentStack:o=null},l,c,u){T(this,pa);this.ctx=e,this.current=new YO(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=t,this.objs=i,this.canvasFactory=s,this.filterFactory=r,this.groupStack=[],this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=o||[],this.optionalContentConfig=a,this.cachedCanvases=new Rle(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=l,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,this.pageColors=c,this._cachedScaleForStroking=[-1,0],this._cachedGetSinglePixelWidth=null,this._cachedBitmapsMap=new Map,this.dependencyTracker=u??null}getObject(e,t,i=null){var s;return typeof t=="string"?((s=this.dependencyTracker)==null||s.recordNamedDependency(e,t),t.startsWith("g_")?this.commonObjs.get(t):this.objs.get(t)):i}beginDrawing({transform:e,viewport:t,transparency:i=!1,background:s=null}){const r=this.ctx.canvas.width,a=this.ctx.canvas.height,o=this.ctx.fillStyle;if(this.ctx.fillStyle=s||"#ffffff",this.ctx.fillRect(0,0,r,a),this.ctx.fillStyle=o,i){const l=this.cachedCanvases.getCanvas("transparent",r,a);this.compositeCtx=this.ctx,this.transparentCanvas=l.canvas,this.ctx=l.context,this.ctx.save(),this.ctx.transform(...Ut(this.compositeCtx))}this.ctx.save(),v_(this.ctx),e&&(this.ctx.transform(...e),this.outputScaleX=e[0],this.outputScaleY=e[0]),this.ctx.transform(...t.transform),this.viewportScale=t.scale,this.baseTransform=Ut(this.ctx)}executeOperatorList(e,t,i,s,r){var y;const a=e.argsArray,o=e.fnArray;let l=t||0;const c=a.length;if(c===l)return l;const u=c-l>qO&&typeof i=="function",h=u?Date.now()+Dle:0;let f=0;const p=this.commonObjs,b=this.objs;let g,S;for(;;){if(s!==void 0&&l===s.nextBreakPoint)return s.breakIt(l,i),l;if(!r||r(l))if(g=o[l],S=a[l]??null,g!==Mg.dependency)S===null?this[g](l):this[g](l,...S);else for(const v of S){(y=this.dependencyTracker)==null||y.recordNamedData(v,l);const _=v.startsWith("g_")?p:b;if(!_.has(v))return _.get(v,i),l}if(l++,l===c)return l;if(u&&++f>qO){if(Date.now()>h)return i(),l;f=0}}}endDrawing(){P(this,pa,tT).call(this),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const e of this._cachedBitmapsMap.values()){for(const t of e.values())typeof HTMLCanvasElement<"u"&&t instanceof HTMLCanvasElement&&(t.width=t.height=0);e.clear()}this._cachedBitmapsMap.clear(),P(this,pa,nT).call(this)}
vendor: 5,061 bytes, line 235
235_scaleImage(e,t){const i=e.width??e.displayWidth,s=e.height??e.displayHeight;let r=Math.max(Math.hypot(t[0],t[1]),1),a=Math.max(Math.hypot(t[2],t[3]),1),o=i,l=s,c="prescale1",u,h;for(;r>2&&o>1||a>2&&l>1;){let f=o,p=l;r>2&&o>1&&(f=o>=16384?Math.floor(o/2)-1||1:Math.ceil(o/2),r/=o/f),a>2&&l>1&&(p=l>=16384?Math.floor(l/2)-1||1:Math.ceil(l)/2,a/=l/p),u=this.cachedCanvases.getCanvas(c,f,p),h=u.context,h.clearRect(0,0,f,p),h.drawImage(e,0,0,o,l,0,0,f,p),e=u.canvas,o=f,l=p,c=c==="prescale1"?"prescale2":"prescale1"}return{img:e,paintWidth:o,paintHeight:l}}_createMaskCanvas(e,t){var k,N;const i=this.ctx,{width:s,height:r}=t,a=this.current.fillColor,o=this.current.patternFill,l=Ut(i);let c,u,h,f;if((t.bitmap||t.data)&&t.count>1){const O=t.bitmap||t.data.buffer;u=JSON.stringify(o?l:[l.slice(0,4),a]),c=this._cachedBitmapsMap.get(O),c||(c=new Map,this._cachedBitmapsMap.set(O,c));const j=c.get(u);if(j&&!o){const L=Math.round(Math.min(l[0],l[2])+l[4]),U=Math.round(Math.min(l[1],l[3])+l[5]);return(k=this.dependencyTracker)==null||k.recordDependencies(e,ar.transformAndFill),{canvas:j,offsetX:L,offsetY:U}}h=j}h||(f=this.cachedCanvases.getCanvas("maskCanvas",s,r),KO(f.context,t));let p=re.transform(l,[1/s,0,0,-1/r,0,0]);p=re.transform(p,[1,0,0,1,0,-r]);const b=rp.slice();re.axialAlignedBoundingBox([0,0,s,r],p,b);const[g,S,y,v]=b,_=Math.round(y-g)||1,x=Math.round(v-S)||1,E=this.cachedCanvases.getCanvas("fillCanvas",_,x),C=E.context,I=g,R=S;C.translate(-I,-R),C.transform(...p),h||(h=this._scaleImage(f.canvas,xa(C)),h=h.img,c&&o&&c.set(u,h)),C.imageSmoothingEnabled=QO(Ut(C),t.interpolate),y_(C,h,0,0,h.width,h.height,0,0,s,r),C.globalCompositeOperation="source-in";const D=re.transform(xa(C),[1,0,0,1,-I,-R]);return C.fillStyle=o?a.getPattern(i,this,D,Zn.FILL,e):a,C.fillRect(0,0,s,r),c&&!o&&(this.cachedCanvases.delete("fillCanvas"),c.set(u,E.canvas)),(N=this.dependencyTracker)==null||N.recordDependencies(e,ar.transformAndFill),{canvas:E.canvas,offsetX:Math.round(I),offsetY:Math.round(R)}}setLineWidth(e,t){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("lineWidth",e),t!==this.current.lineWidth&&(this._cachedScaleForStroking[0]=-1),this.current.lineWidth=t,this.ctx.lineWidth=t}setLineCap(e,t){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("lineCap",e),this.ctx.lineCap=kle[t]}setLineJoin(e,t){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("lineJoin",e),this.ctx.lineJoin=Nle[t]}setMiterLimit(e,t){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("miterLimit",e),this.ctx.miterLimit=t}setDash(e,t,i){var r;(r=this.dependencyTracker)==null||r.recordSimpleData("dash",e);const s=this.ctx;s.setLineDash!==void 0&&(s.setLineDash(t),s.lineDashOffset=i)}setRenderingIntent(e,t){}setFlatness(e,t){}setGState(e,t){var i,s,r,a,o;for(const[l,c]of t)switch(l){case"LW":this.setLineWidth(e,c);break;case"LC":this.setLineCap(e,c);break;case"LJ":this.setLineJoin(e,c);break;case"ML":this.setMiterLimit(e,c);break;case"D":this.setDash(e,c[0],c[1]);break;case"RI":this.setRenderingIntent(e,c);break;case"FL":this.setFlatness(e,c);break;case"Font":this.setFont(e,c[0],c[1]);break;case"CA":(i=this.dependencyTracker)==null||i.recordSimpleData("strokeAlpha",e),this.current.strokeAlpha=c;break;case"ca":(s=this.dependencyTracker)==null||s.recordSimpleData("fillAlpha",e),this.ctx.globalAlpha=this.current.fillAlpha=c;break;case"BM":(r=this.dependencyTracker)==null||r.recordSimpleData("globalCompositeOperation",e),this.ctx.globalCompositeOperation=c;break;case"SMask":(a=this.dependencyTracker)==null||a.recordSimpleData("SMask",e),this.current.activeSMask=c?this.tempSMask:null,this.tempSMask=null,this.checkSMaskState();break;case"TR":(o=this.dependencyTracker)==null||o.recordSimpleData("filter",e),this.ctx.filter=this.current.transferMaps=this.filterFactory.addFilter(c);break}}get inSMaskMode(){return!!this.suspendedCtx}checkSMaskState(){const e=this.inSMaskMode;this.current.activeSMask&&!e?this.beginSMaskMode():!this.current.activeSMask&&e&&this.endSMaskMode()}beginSMaskMode(e){if(this.inSMaskMode)throw new Error("beginSMaskMode called while already in smask mode");const t=this.ctx.canvas.width,i=this.ctx.canvas.height,s="smaskGroupAt"+this.groupLevel,r=this.cachedCanvases.getCanvas(s,t,i);this.suspendedCtx=this.ctx;const a=this.ctx=r.context;a.setTransform(this.suspendedCtx.getTransform()),w0(this.suspendedCtx,a),Ple(a,this.suspendedCtx),this.setGState(e,[["BM","source-over"]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),w0(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(e){if(!this.current.activeSMask)return;e?(e[0]=Math.floor(e[0]),e[1]=Math.floor(e[1]),e[2]=Math.ceil(e[2]),e[3]=Math.ceil(e[3])):e=[0,0,this.ctx.canvas.width,this.ctx.canvas.height];const t=this.current.activeSMask,i=this.suspendedCtx;this.composeSMask(i,t,this.ctx,e),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(
235)}composeSMask(e,t,i,s){const r=s[0],a=s[1],o=s[2]-r,l=s[3]-a;o===0||l===0||(this.genericComposeSMask(t.context,i,o,l,t.subtype,t.backdrop,t.transferMap,r,a,t.offsetX,t.offsetY),e.save(),e.globalAlpha=1,e.globalCompositeOperation="source-over",e.setTransform(1,0,0,1,0,0),e.drawImage(i.canvas,0,0),e.restore())}genericComposeSMask(e,t,i,s,r,a,o,l,c,u,h){let f=e.canvas,p=l-u,b=c-h;if(a)if(p<0||b<0||p+i>f.width||b+s>f.height){const S=this.cachedCanvases.getCanvas("maskExtension",i,s),y=S.context;y.drawImage(f,-p,-b),y.globalCompositeOperation="destination-atop",y.fillStyle=a,y.fillRect(0,0,i,s),y.globalCompositeOperation="source-over",f=S.canvas,p=b=0}else{e.save(),e.globalAlpha=1,e.setTransform(1,0,0,1,0,0);const S=new Path2D;S.rect(p,b,i,s),e.clip(S),e.globalCompositeOperation="destination-atop",e.fillStyle=a,e.fillRect(p,b,i,s),e.restore()}t.save(),t.globalAlpha=1,t.setTransform(1,0,0,1,0,0),r==="Alpha"&&o?t.filter=this.filterFactory.addAlphaFilter(o):r==="Luminosity"&&(t.filter=this.filterFactory.addLuminosityFilter(o));const g=new Path2D;g.rect(l,c,i,s),t.clip(g),t.globalCompositeOperation="destination-in",t.drawImage(f,p,b,i,s,l,c,i,s),t.restore()}save(e){var i;this.inSMaskMode&&w0(this.ctx,this.suspendedCtx),this.ctx.save();const t=this.current;this.stateStack.push(t),this.current=t.clone(),(i=this.dependencyTracker)==null||i.save(e)}restore(e){var t;if((t=this.dependencyTracker)==null||t.restore(e),this.stateStack.length===0){this.inSMaskMode&&this.endSMaskMode();return}this.current=this.stateStack.pop(),this.ctx.restore(),this.inSMaskMode&&w0(this.suspendedCtx,this.ctx),this.checkSMaskState(),this.pendingClip=null,this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null}transform(e,t,i,s,r,a,o){var l;(l=this.dependencyTracker)==null||l.recordIncrementalData("transform",e),this.ctx.transform(t,i,s,r,a,o),this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null}constructPath(e,t,i,s){let[r]=i;if(!s){r||(r=i[0]=new Path2D),this[t](e,r);return}if(this.dependencyTracker!==null){const a=t===Mg.stroke?this.current.lineWidth/2:0;this.dependencyTracker.resetBBox(e).recordBBox(e,this.ctx,s[0]-a,s[2]+a,s[1]-a,s[3]+a).recordDependencies(e,["transform"])}if(!(r instanceof Path2D)){const a=i[0]=new Path2D;for(let o=0,l=r.length;o<l;)switch(r[o++]){case d_.moveTo:a.moveTo(r[o++],r[o++]);break;case d_.lineTo:a.lineTo(r[o++],r[o++]);break;case d_.curveTo:a.bezierCurveTo(r[o++],r[o++],r[o++],r[o++],r[o++],r[o++]);break;case d_.closePath:a.closePath();break;default:me(`Unrecognized drawing path operator: ${r[o-1]}`);break}r=a}re.axialAlignedBoundingBox(s,Ut(this.ctx),this.current.minMax),this[t](e,r),this._pathStartIdx=e}closePath(e){this.ctx.closePath()}stroke(e,t,i=!0){var a;const s=this.ctx,r=this.current.strokeColor;if(s.globalAlpha=this.current.strokeAlpha,this.contentVisible)if(typeof r=="object"&&(r!=null&&r.getPattern)){const o=r.isModifyingCurrentTransform()?s.getTransform():null;if(s.save(),s.strokeStyle=r.getPattern(s,this,xa(s),Zn.STROKE,e),o){const l=new Path2D;l.addPath(t,s.getTransform().invertSelf().multiplySelf(o)),t=l}this.rescaleAndStroke(t,!1),s.restore()}else this.rescaleAndStroke(t,!0);(a=this.dependencyTracker)==null||a.recordDependencies(e,ar.stroke),i&&this.consumePath(e,t,this.current.getClippedPathBoundingBox(Zn.STROKE,Ut(this.ctx))),s.globalAlpha=this.current.fillAlpha}closeStroke(e,t){this.stroke(e,t)}fill(e,t,i=!0){var c,u,h;const s=this.ctx,r=this.current.fillColor,a=this.current.patternFill;let o=!1;if(a){const f=r.isModifyingCurrentTransform()?s.getTransform():null;if((c=this.dependencyTracker)==null||c.save(e),s.save(),s.fillStyle=r.getPattern(s,this,xa(s),Zn.FILL,e),f){const p=new Path2D;p.addPath(t,s.getTransform().invertSelf().multiplySelf(f)),t=p}o=!0}const l=this.current.getClippedPathBoundingBox();this.contentVisible&&l!==null&&(this.pendingEOFill?(s.fill(t,"evenodd"),this.pendingEOFill=!1):s.fill(t)),(u=this.dependencyTracker)==null||u.recordDependencies(e,ar.fill),o&&(s.restore(),(h=this.dependencyTracker)==null||h.restore(e)),i&&this.consumePath(e,t,l)}eoFill(e,t){this.pendingEOFill=!0,this.fill(e,t)}fillStroke(e,t){this.fill(e,t,!1),this.stroke(e,t,!1),this.consumePath(e,t)}eoFillStroke(e,t){this.pendingEOFill=!0,this.fillStroke(e,t)}closeFillStroke(e,t){this.fillStroke(e,t)}closeEOFillStroke(e,t){this.pendingEOFill=!0,this.fillStroke(e,t)}endPath(e,t){this.consumePath(e,t)}rawFillPath(e,t){var i;this.ctx.fill(t),(i=this.dependencyTracker)==null||i.recordDependencies(e,ar.rawFillPath).recordOperation(e)}clip(e){var t;(t=this.dependencyTracker)==null||t.recordFutureForcedDependency("clipMode",e),this.pendingClip=Mle}eoClip(e){var t;(t=this.dependencyTracker)==null||t.recordFutureForcedDependency("clipMode",e),this.pendingClip=JO}beginText(e){var t;this.current.textMatrix=null,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0,
235(t=this.dependencyTracker)==null||t.recordOpenMarker(e).resetIncrementalData("sameLineText").resetIncrementalData("moveText",e)}endText(e){const t=this.pendingTextPaths,i=this.ctx;if(this.dependencyTracker){const{dependencyTracker:s}=this;t!==void 0&&s.recordFutureForcedDependency("textClip",s.getOpenMarker()).recordFutureForcedDependency("textClip",e),s.recordCloseMarker(e)}if(t!==void 0){const s=new Path2D,r=i.getTransform().invertSelf();for(const{transform:a,x:o,y:l,fontSize:c,path:u}of t)u&&s.addPath(u,new DOMMatrix(a).preMultiplySelf(r).translate(o,l).scale(c,-c));i.clip(s)}delete this.pendingTextPaths}setCharSpacing(e,t){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("charSpacing",e),this.current.charSpacing=t}setWordSpacing(e,t){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("wordSpacing",e),this.current.wordSpacing=t}setHScale(e,t){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("hScale",e),this.current.textHScale=t/100}setLeading(e,t){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("leading",e),this.current.leading=-t}setFont(e,t,i){var h,f;(h=this.dependencyTracker)==null||h.recordSimpleData("font",e).recordSimpleDataFromNamed("fontObj",t,e);const s=this.commonObjs.get(t),r=this.current;if(!s)throw new Error(`Can't find font for ${t}`);if(r.fontMatrix=s.fontMatrix||IC,(r.fontMatrix[0]===0||r.fontMatrix[3]===0)&&me("Invalid font matrix for font "+t),i<0?(i=-i,r.fontDirection=-1):r.fontDirection=1,this.current.font=s,this.current.fontSize=i,s.isType3Font)return;const a=s.loadedName||"sans-serif",o=((f=s.systemFontInfo)==null?void 0:f.css)||`"${a}", ${s.fallbackName}`;let l="normal";s.black?l="900":s.bold&&(l="bold");const c=s.italic?"italic":"normal";let u=i;i<GO?u=GO:i>$O&&(u=$O),this.current.fontSizeScale=i/u,this.ctx.font=`${c} ${l} ${u}px ${o}`}setTextRenderingMode(e,t){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("textRenderingMode",e),this.current.textRenderingMode=t}setTextRise(e,t){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("textRise",e),this.current.textRise=t}moveText(e,t,i){var s;(s=this.dependencyTracker)==null||s.resetIncrementalData("sameLineText").recordIncrementalData("moveText",e),this.current.x=this.current.lineX+=t,this.current.y=this.current.lineY+=i}setLeadingMoveText(e,t,i){this.setLeading(e,-i),this.moveText(e,t,i)}setTextMatrix(e,t){var s;(s=this.dependencyTracker)==null||s.recordSimpleData("textMatrix",e);const{current:i}=this;i.textMatrix=t,i.textMatrixScale=Math.hypot(t[0],t[1]),i.x=i.lineX=0,i.y=i.lineY=0}nextLine(e){var t;this.moveText(e,0,this.current.leading),(t=this.dependencyTracker)==null||t.recordIncrementalData("moveText",this.dependencyTracker.getSimpleIndex("leading")??e)}paintChar(e,t,i,s,r,a){var y,v,_,x;const o=this.ctx,l=this.current,c=l.font,u=l.textRenderingMode,h=l.fontSize/l.fontSizeScale,f=u&Gn.FILL_STROKE_MASK,p=!!(u&Gn.ADD_TO_PATH_FLAG),b=l.patternFill&&!c.missingFile,g=l.patternStroke&&!c.missingFile;let S;if((c.disableFontFace||p||b||g)&&!c.missingFile&&(S=c.getPathGenerator(this.commonObjs,t)),S&&(c.disableFontFace||b||g)){o.save(),o.translate(i,s),o.scale(h,-h),(y=this.dependencyTracker)==null||y.recordCharacterBBox(e,o,c);let E;if(f===Gn.FILL||f===Gn.FILL_STROKE)if(r){E=o.getTransform(),o.setTransform(...r);const C=P(this,pa,iT).call(this,S,E,r);o.fill(C)}else o.fill(S);if(f===Gn.STROKE||f===Gn.FILL_STROKE)if(a){E||(E=o.getTransform()),o.setTransform(...a);const{a:C,b:I,c:R,d:D}=E,k=re.inverseTransform(a),N=re.transform([C,I,R,D,0,0],k);re.singularValueDecompose2dScale(N,Ls),o.lineWidth*=Math.max(Ls[0],Ls[1])/h,o.stroke(P(this,pa,iT).call(this,S,E,a))}else o.lineWidth/=h,o.stroke(S);
235o.restore()}else(f===Gn.FILL||f===Gn.FILL_STROKE)&&(o.fillText(t,i,s),(v=this.dependencyTracker)==null||v.recordCharacterBBox(e,o,c,h,i,s,()=>o.measureText(t))),(f===Gn.STROKE||f===Gn.FILL_STROKE)&&(this.dependencyTracker&&((_=this.dependencyTracker)==null||_.recordCharacterBBox(e,o,c,h,i,s,()=>o.measureText(t)).recordDependencies(e,ar.stroke)),o.strokeText(t,i,s));p&&((this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:Ut(o),x:i,y:s,fontSize:h,path:S}),(x=this.dependencyTracker)==null||x.recordCharacterBBox(e,o,c,h,i,s))}get isFontSubpixelAAEnabled(){const{context:e}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);e.scale(1.5,1),e.fillText("I",0,10);const t=e.getImageData(0,0,10,10).data;let i=!1;for(let s=3;s<t.length;s+=4)if(t[s]>0&&t[s]<255){i=!0;break}return Ee(this,"isFontSubpixelAAEnabled",i)}showText(e,t){var R,D,k,N;this.dependencyTracker&&(this.dependencyTracker.recordDependencies(e,ar.showText).resetBBox(e),this.current.textRenderingMode&Gn.ADD_TO_PATH_FLAG&&this.dependencyTracker.recordFutureForcedDependency("textClip",e).inheritPendingDependenciesAsFutureForcedDependencies());const i=this.current,s=i.font;if(s.isType3Font){this.showType3Text(e,t),(R=this.dependencyTracker)==null||R.recordShowTextOperation(e);return}const r=i.fontSize;if(r===0){(D=this.dependencyTracker)==null||D.recordOperation(e);return}const a=this.ctx,o=i.fontSizeScale,l=i.charSpacing,c=i.wordSpacing,u=i.fontDirection,h=i.textHScale*u,f=t.length,p=s.vertical,b=p?1:-1,g=s.defaultVMetrics,S=r*i.fontMatrix[0],y=i.textRenderingMode===Gn.FILL&&!s.disableFontFace&&!i.patternFill;a.save(),i.textMatrix&&a.transform(...i.textMatrix),a.translate(i.x,i.y+i.textRise),u>0?a.scale(h,-1):a.scale(h,1);let v,_;if(i.patternFill){a.save();const O=i.fillColor.getPattern(a,this,xa(a),Zn.FILL,e);v=Ut(a),a.restore(),a.fillStyle=O}if(i.patternStroke){a.save();const O=i.strokeColor.getPattern(a,this,xa(a),Zn.STROKE,e);_=Ut(a),a.restore(),a.strokeStyle=O}let x=i.lineWidth;const E=i.textMatrixScale;if(E===0||x===0){const O=i.textRenderingMode&Gn.FILL_STROKE_MASK;(O===Gn.STROKE||O===Gn.FILL_STROKE)&&(x=this.getSinglePixelWidth())}else x/=E;if(o!==1&&(a.scale(o,o),x/=o),a.lineWidth=x,s.isInvalidPDFjsFont){const O=[];let j=0;for(const U of t)O.push(U.unicode),j+=U.width;const L=O.join("");if(a.fillText(L,0,0),this.dependencyTracker!==null){const U=a.measureText(L);this.dependencyTracker.recordBBox(e,this.ctx,-U.actualBoundingBoxLeft,U.actualBoundingBoxRight,-U.actualBoundingBoxAscent,U.actualBoundingBoxDescent).recordShowTextOperation(e)}i.x+=j*S*h,a.restore(),this.compose();return}let C=0,I;for(I=0;I<f;++I){const O=t[I];if(typeof O=="number"){C+=b*O*r/1e3;continue}let j=!1;const L=(O.isSpace?c:0)+l,U=O.fontChar,M=O.accent;let B,F,z=O.width;if(p){const Y=O.vmetric||g,X=-(O.vmetric?Y[1]:z*.5)*S,W=Y[2]*S;z=Y?-Y[0]:z,B=X/o,F=(C+W)/o}else B=C/o,F=0;let G;if(s.remeasure&&z>0){G=a.measureText(U);const Y=G.width*1e3/r*o;if(z<Y&&this.isFontSubpixelAAEnabled){const X=z/Y;j=!0,a.save(),a.scale(X,1),B/=X}else z!==Y&&(B+=(z-Y)/2e3*r/o)}if(this.contentVisible&&(O.isInFont||s.missingFile)){if(y&&!M)a.fillText(U,B,F),(k=this.dependencyTracker)==null||k.recordCharacterBBox(e,a,G?{bbox:null}:s,r/o,B,F,()=>G??a.measureText(U));else if(this.paintChar(e,U,B,F,v,_),M){const Y=B+r*M.offset.x/o,X=F-r*M.offset.y/o;this.paintChar(e,M.fontChar,Y,X,v,_)}}const te=p?z*S-L*u:z*S+L*u;C+=te,j&&a.restore()}p?i.y-=C:i.x+=C*h,a.restore(),this.compose(),(N=this.dependencyTracker)==null||N.recordShowTextOperation(e)}showType3Text(e,t){const i=this.ctx,s=this.current,r=s.font,a=s.fontSize,o=s.fontDirection,l=r.vertical?1:-1,c=s.charSpacing,u=s.wordSpacing,h=s.textHScale*o,f=s.fontMatrix||IC,p=t.length,b=s.textRenderingMode===Gn.INVISIBLE;let g,S,y,v;if(b||a===0)return;this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null,i.save(),s.textMatrix&&i.transform(...s.textMatrix),i.translate(s.x,s.y+s.textRise),i.scale(h,o);const _=this.dependencyTracker;for(this.dependencyTracker=_?new Vx(_,e):null,g=0;g<p;++g){if(S=t[g],typeof S=="number"){v=l*S*a/1e3,this.ctx.translate(v,0),s.x+=v*h;continue}const x=(S.isSpace?u:0)+c,E=r.charProcOperatorList[S.operatorListId];E?this.contentVisible&&(this.save(),i.scale(a,a),i.transform(...f),this.executeOperatorList(E),this.restore(
235)):me(`Type3 character "${S.operatorListId}" is not available.`);const C=[S.width,0];re.applyTransform(C,f),y=C[0]*a+x,i.translate(y,0),s.x+=y*h}i.restore(),_&&(this.dependencyTracker=_)}setCharWidth(e,t,i){}setCharWidthAndBounds(e,t,i,s,r,a,o){var c;const l=new Path2D;l.rect(s,r,a-s,o-r),this.ctx.clip(l),(c=this.dependencyTracker)==null||c.recordBBox(e,this.ctx,s,a,r,o).recordClipBox(e,this.ctx,s,a,r,o),this.endPath(e)}getColorN_Pattern(e,t){let i;if(t[0]==="TilingPattern"){const s=this.baseTransform||Ut(this.ctx),r={createCanvasGraphics:(a,o)=>new Ak(a,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:this.optionalContentConfig,markedContentStack:this.markedContentStack},void 0,void 0,this.dependencyTracker?new Vx(this.dependencyTracker,o,!0):null)};i=new eT(t,this.ctx,r,s)}else i=this._getPattern(e,t[1],t[2]);return i}setStrokeColorN(e,...t){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("strokeColor",e),this.current.strokeColor=this.getColorN_Pattern(e,t),this.current.patternStroke=!0}setFillColorN(e,...t){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("fillColor",e),this.current.fillColor=this.getColorN_Pattern(e,t),this.current.patternFill=!0}setStrokeRGBColor(e,t){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("strokeColor",e),this.ctx.strokeStyle=this.current.strokeColor=t,this.current.patternStroke=!1}
235setStrokeTransparent(e){var t;(t=this.dependencyTracker)==null||t.recordSimpleData("strokeColor",e),this.ctx.strokeStyle=this.current.strokeColor="transparent",this.current.patternStroke=!1}setFillRGBColor(e,t){var i;(i=this.dependencyTracker)==null||i.recordSimpleData("fillColor",e),this.ctx.fillStyle=this.current.fillColor=t,this.current.patternFill=!1}setFillTransparent(e){var t;(t=this.dependencyTracker)==null||t.recordSimpleData("fillColor",e),this.ctx.fillStyle=this.current.fillColor="transparent",this.current.patternFill=!1}_getPattern(e,t,i=null){let s;return this.cachedPatterns.has(t)?s=this.cachedPatterns.get(t):(s=Cle(this.getObject(e,t)),this.cachedPatterns.set(t,s)),i&&(s.matrix=i),s}shadingFill(e,t){var a;if(!this.contentVisible)return;const i=this.ctx;this.save(e);const s=this._getPattern(e,t);i.fillStyle=s.getPattern(i,this,xa(i),Zn.SHADING,e);const r=xa(i);if(r){const{width:o,height:l}=i.canvas,c=rp.slice();re.axialAlignedBoundingBox([0,0,o,l],r,c);const[u,h,f,p]=c;this.ctx.fillRect(u,h,f-u,p-h)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);(a=this.dependencyTracker)==null||a.resetBBox(e).recordFullPageBBox(e).recordDependencies(e,ar.transform).recordDependencies(e,ar.fill).recordOperation(e),this.compose(this.current.getClippedPathBoundingBox()),this.restore(e)}beginInlineImage(){yt("Should not call beginInlineImage")}beginImageData(){yt("Should not call beginImageData")}paintFormXObjectBegin(e,t,i){var s;if(this.contentVisible&&(this.save(e),this.baseTransformStack.push(this.baseTransform),t&&this.transform(e,...t),this.baseTransform=Ut(this.ctx),i)){re.axialAlignedBoundingBox(i,this.baseTransform,this.current.minMax);const[r,a,o,l]=i,c=new Path2D;c.rect(r,a,o-r,l-a),this.ctx.clip(c),(s=this.dependencyTracker)==null||s.recordClipBox(e,this.ctx,r,o,a,l),this.endPath(e)}}paintFormXObjectEnd(e){this.contentVisible&&(this.restore(e),this.baseTransform=this.baseTransformStack.pop())}beginGroup(e,t){var _;if(!this.contentVisible)return;this.save(e),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const i=this.ctx;t.isolated||yw("TODO: Support non-isolated groups."),t.knockout&&me("Knockout groups not supported.");const s=Ut(i);if(t.matrix&&i.transform(...t.matrix),!t.bbox)throw new Error("Bounding box is required.");let r=rp.slice();re.axialAlignedBoundingBox(t.bbox,Ut(i),r);const a=[0,0,i.canvas.width,i.canvas.height];r=re.intersect(r,a)||[0,0,0,0];const o=Math.floor(r[0]),l=Math.floor(r[1]),c=Math.max(Math.ceil(r[2])-o,1),u=Math.max(Math.ceil(r[3])-l,1);this.current.startNewPathAndClipBox([0,0,c,u]);let h="groupAt"+this.groupLevel;t.smask&&(h+="_smask_"+this.smaskCounter++%2);const f=this.cachedCanvases.getCanvas(h,c,u),p=f.context;p.translate(-o,-l),p.transform(...s);let b=new Path2D;const[g,S,y,v]=t.bbox;if(b.rect(g,S,y-g,v-S),t.matrix){const x=new Path2D;x.addPath(b,new DOMMatrix(t.matrix)),b=x}p.clip(b),t.smask&&this.smaskStack.push({canvas:f.canvas,context:p,offsetX:o,offsetY:l,subtype:t.smask.subtype,backdrop:t.smask.backdrop,transferMap:t.smask.transferMap||null,startTransformInverse:null}),(!t.smask||this.dependencyTracker)&&(i.setTransform(1,0,0,1,0,0),i.translate(o,l),i.save()),w0(i,p),this.ctx=p,(_=this.dependencyTracker)==null||_.inheritSimpleDataAsFutureForcedDependencies(["fillAlpha","strokeAlpha","globalCompositeOperation"]).pushBaseTransform(i),this.setGState(e,[["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(i),this.groupLevel++}endGroup(e,t){var r;if(!this.contentVisible)return;this.groupLevel--;const i=this.ctx,s=this.groupStack.pop();if(this.ctx=s,this.ctx.imageSmoothingEnabled=!1,(r=this.dependencyTracker)==null||r.popBaseTransform(),t.smask)this.tempSMask=this.smaskStack.pop(),this.restore(e),this.dependencyTracker&&this.ctx.restore();else{this.ctx.restore();const a=Ut(this.ctx);this.restore(e),this.ctx.save(),this.ctx.setTransform(...a);const o=rp.slice();re.axialAlignedBoundingBox([0,0,i.canvas.width,i.canvas.height],a,o),this.ctx.drawImage(i.canvas,0,0),this.ctx.restore(),this.compose(o)}}beginAnnotation(e,t,i,s,r,a){if(P(this,pa,tT).call(this),v_(this.ctx),this.ctx.save(),this.save(e),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),i){const o=i[2]-i[0],l=i[3]-i[1];if(a&&this.annotationCanvasMap){s=s.slice(),s[4]-=i[0],s[5]-=i[1],i=i.slice(),i[0]=i[1]=0,i[2]=o,i[3]=l,re.singularValueDecompose2dScale(Ut(this.ctx),Ls);const{viewportScale:c}=this,u=Math.ceil(o*this.outputScaleX*c),h=Math.ceil(l*this.outputScaleY*c);this.annotationCanvas=this.canvasFactory.create(u,h);const{canvas:f,context:p}=this.annotationCanvas;this.annotationCanvasMap.set(t,f),this.annotationCanvas.savedCtx=this.ctx,this.ctx=p,this.ctx.save(),this.ctx.setTransform(Ls[0],0,0,-Ls[1],0,l*Ls[1]),v_(this.ctx)}else{v_(this.ctx),this.endPath(e);const c=new Path2D;c.rect(i[0],i[1],o,l),this.ctx.clip(c)}}
235this.current=new YO(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(e,...s),this.transform(e,...r)}endAnnotation(e){this.annotationCanvas&&(this.ctx.restore(),P(this,pa,nT).call(this),this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(e,t){var o;if(!this.contentVisible)return;const i=t.count;t=this.getObject(e,t.data,t),t.count=i;const s=this.ctx,r=this._createMaskCanvas(e,t),a=r.canvas;s.save(),s.setTransform(1,0,0,1,0,0),s.drawImage(a,r.offsetX,r.offsetY),(o=this.dependencyTracker)==null||o.resetBBox(e).recordBBox(e,this.ctx,r.offsetX,r.offsetX+a.width,r.offsetY,r.offsetY+a.height).recordOperation(e),s.restore(),this.compose()}paintImageMaskXObjectRepeat(e,t,i,s=0,r=0,a,o){var h,f,p;if(!this.contentVisible)return;t=this.getObject(e,t.data,t);const l=this.ctx;l.save();const c=Ut(l);l.transform(i,s,r,a,0,0);const u=this._createMaskCanvas(e,t);l.setTransform(1,0,0,1,u.offsetX-c[4],u.offsetY-c[5]),(h=this.dependencyTracker)==null||h.resetBBox(e);for(let b=0,g=o.length;b<g;b+=2){const S=re.transform(c,[i,s,r,a,o[b],o[b+1]]);l.drawImage(u.canvas,S[4],S[5]),(f=this.dependencyTracker)==null||f.recordBBox(e,this.ctx,S[4],S[4]+u.canvas.width,S[5],S[5]+u.canvas.height)}l.restore(),this.compose(),(p=this.dependencyTracker)==null||p.recordOperation(e)}paintImageMaskXObjectGroup(e,t){var a,o,l;if(!this.contentVisible)return;const i=this.ctx,s=this.current.fillColor,r=this.current.patternFill;(a=this.dependencyTracker)==null||a.resetBBox(e).recordDependencies(e,ar.transformAndFill);for(const c of t){const{data:u,width:h,height:f,transform:p}=c,b=this.cachedCanvases.getCanvas("maskCanvas",h,f),g=b.context;g.save();const S=this.getObject(e,u,c);KO(g,S),g.globalCompositeOperation="source-in",g.fillStyle=r?s.getPattern(g,this,xa(i),Zn.FILL,e):s,g.fillRect(0,0,h,f),g.restore(),i.save(),i.transform(...p),i.scale(1,-1),y_(i,b.canvas,0,0,h,f,0,-1,1,1),(o=this.dependencyTracker)==null||o.recordBBox(e,i,0,h,0,f),i.restore()}this.compose(),(l=this.dependencyTracker)==null||l.recordOperation(e)}paintImageXObject(e,t){if(!this.contentVisible)return;const i=this.getObject(e,t);if(!i){me("Dependent image isn't ready yet");return}this.paintInlineImageXObject(e,i)}paintImageXObjectRepeat(e,t,i,s,r){if(!this.contentVisible)return;const a=this.getObject(e,t);if(!a){me("Dependent image isn't ready yet");return}const o=a.width,l=a.height,c=[];for(let u=0,h=r.length;u<h;u+=2)c.push({transform:[i,0,0,s,r[u],r[u+1]],x:0,y:0,w:o,h:l});this.paintInlineImageXObjectGroup(e,a,c)}applyTransferMapsToCanvas(e){return this.current.transferMaps!=="none"&&(e.filter=this.current.transferMaps,e.drawImage(e.canvas,0,0),e.filter="none"),e.canvas}applyTransferMapsToBitmap(e){if(this.current.transferMaps==="none")return e.bitmap;const{bitmap:t,width:i,height:s}=e,r=this.cachedCanvases.getCanvas("inlineImage",i,s),a=r.context;return a.filter=this.current.transferMaps,a.drawImage(t,0,0),a.filter="none",r.canvas}paintInlineImageXObject(e,t){var c;if(!this.contentVisible)return;
235const i=t.width,s=t.height,r=this.ctx;this.save(e);const{filter:a}=r;a!=="none"&&a!==""&&(r.filter="none"),r.scale(1/i,-1/s);let o;if(t.bitmap)o=this.applyTransferMapsToBitmap(t);else if(typeof HTMLElement=="function"&&t instanceof HTMLElement||!t.data)o=t;else{const h=this.cachedCanvases.getCanvas("inlineImage",i,s).context;WO(h,t),o=this.applyTransferMapsToCanvas(h)}const l=this._scaleImage(o,xa(r));r.imageSmoothingEnabled=QO(Ut(r),t.interpolate),(c=this.dependencyTracker)==null||c.resetBBox(e).recordBBox(e,r,0,i,-s,0).recordDependencies(e,ar.imageXObject).recordOperation(e),y_(r,l.img,0,0,l.paintWidth,l.paintHeight,0,-s,i,s),this.compose(),this.restore(e)}paintInlineImageXObjectGroup(e,t,i){var a,o,l;if(!this.contentVisible)return;const s=this.ctx;let r;if(t.bitmap)r=t.bitmap;else{const c=t.width,u=t.height,f=this.cachedCanvases.getCanvas("inlineImage",c,u).context;WO(f,t),r=this.applyTransferMapsToCanvas(f)}(a=this.dependencyTracker)==null||a.resetBBox(e);for(const c of i)s.save(),s.transform(...c.transform),s.scale(1,-1),y_(s,r,c.x,c.y,c.w,c.h,0,-1,1,1),(o=this.dependencyTracker)==null||o.recordBBox(e,s,0,1,-1,0),s.restore();(l=this.dependencyTracker)==null||l.recordOperation(e),this.compose()}paintSolidColorImageMask(e){var t;this.contentVisible&&((t=this.dependencyTracker)==null||t.resetBBox(e).recordBBox(e,this.ctx,0,1,0,1).recordDependencies(e,ar.fill).recordOperation(e),this.ctx.fillRect(0,0,1,1),this.compose())}markPoint(e,t){}markPointProps(e,t,i){}beginMarkedContent(e,t){var i;(i=this.dependencyTracker)==null||i.beginMarkedContent(e),this.markedContentStack.push({visible:!0})}beginMarkedContentProps(e,t,i){var s;(s=this.dependencyTracker)==null||s.beginMarkedContent(e),t==="OC"?this.markedContentStack.push({visible:this.optionalContentConfig.isVisible(i)}):this.markedContentStack.push({visible:!0}),this.contentVisible=this.isContentVisible()}endMarkedContent(e){var t;(t=this.dependencyTracker)==null||t.endMarkedContent(e),this.markedContentStack.pop(),this.contentVisible=this.isContentVisible()}beginCompat(e){}endCompat(e){}consumePath(e,t,i){var a,o;const s=this.current.isEmptyClip();this.pendingClip&&this.current.updateClipFromPath(),this.pendingClip||this.compose(i);const r=this.ctx;this.pendingClip?(s||(this.pendingClip===JO?r.clip(t,"evenodd"):r.clip(t)),this.pendingClip=null,(a=this.dependencyTracker)==null||a.bboxToClipBoxDropOperation(e).recordFutureForcedDependency("clipPath",e)):(o=this.dependencyTracker)==null||o.recordOperation(e),this.current.startNewPathAndClipBox(this.current.clipBox)}getSinglePixelWidth(){if(!this._cachedGetSinglePixelWidth){const e=Ut(this.ctx);if(e[1]===0&&e[2]===0)this._cachedGetSinglePixelWidth=1/Math.min(Math.abs(e[0]),Math.abs(e[3]));else{const t=Math.abs(e[0]*e[3]-e[2]*e[1]),i=Math.hypot(e[0],e[2]),s=Math.hypot(e[1],e[3]);this._cachedGetSinglePixelWidth=Math.max(i,s)/t}}return this._cachedGetSinglePixelWidth}getScaleForStroking(){if(this._cachedScaleForStroking[0]===-1){const{lineWidth:e}=this.current,{a:t,b:i,c:s,d:r}=this.ctx.getTransform();let a,o;if(i===0&&s===0){const l=Math.abs(t),c=Math.abs(r);if(l===c)if(e===0)a=o=1/l;else{const u=l*e;a=o=u<1?1/u:1}else if(e===0)a=1/l,o=1/c;else{const u=l*e,h=c*e;a=u<1?1/u:1,o=h<1?1/h:1}}else{const l=Math.abs(t*r-i*s),c=Math.hypot(t,i),u=Math.hypot(s,r);if(e===0)a=u/l,o=c/l;else{const h=e*l;a=u>h?u/h:1,o=c>h?c/h:1}}this._cachedScaleForStroking[0]=a,this._cachedScaleForStroking[1]=o}return this._cachedScaleForStroking}rescaleAndStroke(e,t){const{ctx:i,current:{lineWidth:s}}=this,[r,a]=this.getScaleForStroking();if(r===a){i.lineWidth=(s||1)*r,i.stroke(e);return}const o=i.getLineDash();t&&i.save(),i.scale(r,a),dA.a=1/r,dA.d=1/a;const l=new Path2D;if(l.addPath(e,dA),o.length>0){const c=Math.max(r,a);i.setLineDash(o.map(u=>u/c)),i.lineDashOffset/=c}i.lineWidth=s||1,i.stroke(l),t&&i.restore()}isContentVisible(){for(let e=this.markedContentStack.length-1;e>=0;e--)if(!this.markedContentStack[e].visible)return!1;return!0}};pa=new WeakSet,tT=function(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();
235this.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)},nT=function(){if(this.pageColors){const e=this.filterFactory.addHCMFilter(this.pageColors.foreground,this.pageColors.background);if(e!=="none"){const t=this.ctx.filter;this.ctx.filter=e,this.ctx.drawImage(this.ctx.canvas,0,0),this.ctx.filter=t}}},iT=function(e,t,i){const s=new Path2D;return s.addPath(e,new DOMMatrix(i).invertSelf().multiplySelf(t)),s};let Ap=Ak;for(const n in Mg)Ap.prototype[n]!==void 0&&(Ap.prototype[Mg[n]]=Ap.prototype[n]);var pm,mm,Qv,gm,rS;const cp=class cp{constructor(e){T(this,gm);T(this,pm);T(this,mm);T(this,Qv);A(this,pm,e),A(this,mm,new DataView(d(this,pm))),A(this,Qv,new TextDecoder)}static write(e){const t=new TextEncoder,i={};let s=0;for(const c of cp.strings){const u=t.encode(e[c]);i[c]=u,s+=4+u.length}const r=new ArrayBuffer(s),a=new Uint8Array(r),o=new DataView(r);let l=0;for(const c of cp.strings){const u=i[c],h=u.length;o.setUint32(l,h),a.set(u,l+4),l+=4+h}return je(l===r.byteLength,"CssFontInfo.write: Buffer overflow"),r}get fontFamily(){return P(this,gm,rS).call(this,0)}get fontWeight(){return P(this,gm,rS).call(this,1)}get italicAngle(){return P(this,gm,rS).call(this,2)}};pm=new WeakMap,mm=new WeakMap,Qv=new WeakMap,gm=new WeakSet,rS=function(e){je(e<cp.strings.length,"Invalid string index");let t=0;for(let s=0;s<e;s++)t+=d(this,mm).getUint32(t)+4;const i=d(this,mm).getUint32(t);return d(this,Qv).decode(new Uint8Array(d(this,pm),t+4,i))},q(cp,"strings",["fontFamily","fontWeight","italicAngle"]);let Xx=cp;var Fc,za,th,nh,$0;const up=class up{constructor(e){T(this,nh);T(this,Fc);T(this,za);T(this,th);A(this,Fc,e),A(this,za,new DataView(d(this,Fc))),A(this,th,new TextDecoder)}static write(e){const t=new TextEncoder,i={};let s=0;for(const f of up.strings){const p=t.encode(e[f]);i[f]=p,s+=4+p.length}s+=4;let r,a,o=1+s;e.style&&(r=t.encode(e.style.style),a=t.encode(e.style.weight),o+=4+r.length+4+a.length);const l=new ArrayBuffer(o),c=new Uint8Array(l),u=new DataView(l);let h=0;u.setUint8(h++,e.guessFallback?1:0),u.setUint32(h,0),h+=4,s=0;for(const f of up.strings){const p=i[f],b=p.length;s+=4+b,u.setUint32(h,b),c.set(p,h+4),h+=4+b}return u.setUint32(h-s-4,s),e.style&&(u.setUint32(h,r.length),c.set(r,h+4),h+=4+r.length,u.setUint32(h,a.length),c.set(a,h+4),h+=4+a.length),je(h<=l.byteLength,"SubstitionInfo.write: Buffer overflow"),l.transferToFixedLength(h)}get guessFallback(){return d(this,za).getUint8(0)!==0}get css(){return P(this,nh,$0).call(this,0)}get loadedName(){return P(this,nh,$0).call(this,1)}get baseFontName(){return P(this,nh,$0).call(this,2)}get src(){return P(this,nh,$0).call(this,3)}get style(){let e=1;e+=4+d(this,za).getUint32(e);const t=d(this,za).getUint32(e),i=d(this,th).decode(new Uint8Array(d(this,Fc),e+4,t));e+=4+t;const s=d(this,za).getUint32(e),r=d(this,th).decode(new Uint8Array(d(this,Fc),e+4,s));return{style:i,weight:r}}};Fc=new WeakMap,za=new WeakMap,th=new WeakMap,nh=new WeakSet,$0=function(e){je(e<up.strings.length,"Invalid string index");let t=5;for(let s=0;s<e;s++)t+=d(this,za).getUint32(t)+4;const i=d(this,za).getUint32(t);return d(this,th).decode(new Uint8Array(d(this,Fc),t+4,i))},q(up,"strings",["css","loadedName","baseFontName","src"]);let Hx=up;var ym,vm,bm,_m,bs,Ua,Jv,rt,tn,Gr,aS,q0;const be=class be{constructor({data:e,extra:t}){T(this,tn);T(this,Ua);T(this,Jv);T(this,rt);A(this,Ua,e),A(this,Jv,new TextDecoder),A(this,rt,new DataView(d(this,Ua))),t&&Object.assign(this,t)}get black(){return P(this,tn,Gr).call(this,0)}get bold(){return P(this,tn,Gr).call(this,1)}get disableFontFace(){return P(this,tn,Gr).call(this,2)}get fontExtraProperties(){return P(this,tn,Gr).call(this,3)}get isInvalidPDFjsFont(){return P(this,tn,Gr).call(this,4)}get isType3Font(){return P(this,tn,Gr).call(this,5)}get italic(){return P(this,tn,Gr).call(this,6)}get missingFile(){return P(this,tn,Gr).call(this,7)}get remeasure(){return P(this,tn,Gr).call(this,8)}get vertical(){return P(this,tn,Gr).call(this,9)}get ascent(){return P(this,tn,aS).call(this,0)}get defaultWidth(){return P(this,tn,aS).call(this,1)}get descent(){return P(this,tn,aS).call(this,2)}get bbox(){let e=d(be,vm);if(d(this,rt).getUint8(e)===0)return;e+=1;const i=[];for(let s=0;s<4;s++)i.push(d(this,rt).getInt16(e,!0)),e+=2;return i}get fontMatrix(){let e=d(be,bm);if(d(this,rt).getUint8(e)===0)return;e+=1;const i=[];for(let s=0;s<6;s++)i.push(d(this,rt).getFloat64(e,!0)),e+=8;return i}get defaultVMetrics(){let e=d(be,_m);if(d(this,rt).getUint8(e)===0)return;e+=1;const i=[];for(let s=0;s<3;s++)i.push(d(this,rt).getInt16(e,!0)),e+=2;return i}get fallbackName(){return P(this,tn,q0).call(this,0)}get loadedName(){return P(this,tn,q0).call(this,1)}get mimetype(){return P(this,tn,q0).call(this,2)}get name(){return P(this,tn,q0).call(this,3)}get data(){let e=d(be,bs);const t=d(this,rt).getUint32(e);e+=4+t;const i=d(this,rt).getUint32(e);e+=4+i;const s=d(this,rt).getUint32(e);e+=4+s;const r=d(this,rt).getUint32(e);if(r!==0)return new Uint8Array(d(this,Ua),e+4,r)}clearData(){let e=d(be,bs);const t=d(this,rt).getUint32(e);e+=4+t;const i=d(this,rt).getUint32(e);e+=4+i;const s=d(this,rt).getUint32(e);e+=4+s;const r=d(this,rt).getUint32(e);new Uint8Array(d(this,Ua),e+4,r).fill(0),d(this,rt).setUint32(e,0)}get cssFontInfo(){let e=d(be,bs);const t=d(this,rt).getUint32(e);e+=4+t;const i=d(this,rt).getUint32(e);e+=4+i;const s=d(this,rt).getUint32(e);if(s===0)return null;
235const r=new Uint8Array(s);return r.set(new Uint8Array(d(this,Ua),e+4,s)),new Xx(r.buffer)}get systemFontInfo(){let e=d(be,bs);const t=d(this,rt).getUint32(e);e+=4+t;const i=d(this,rt).getUint32(e);if(i===0)return null;const s=new Uint8Array(i);return s.set(new Uint8Array(d(this,Ua),e+4,i)),new Hx(s.buffer)}static write(e){const t=e.systemFontInfo?Hx.write(e.systemFontInfo):null,i=e.cssFontInfo?Xx.write(e.cssFontInfo):null,s=new TextEncoder,r={};let a=0;for(const g of be.strings)r[g]=s.encode(e[g]),a+=4+r[g].length;const o=d(be,bs)+4+a+4+(t?t.byteLength:0)+4+(i?i.byteLength:0)+4+(e.data?e.data.length:0),l=new ArrayBuffer(o),c=new Uint8Array(l),u=new DataView(l);let h=0;const f=be.bools.length;let p=0,b=0;for(let g=0;g<f;g++){const S=e[be.bools[g]];p|=(S===void 0?0:S?2:1)<<b,b+=2,(b===8||g===f-1)&&(u.setUint8(h++,p),p=0,b=0)}je(h===d(be,ym),"FontInfo.write: Boolean properties offset mismatch");for(const g of be.numbers)u.setFloat64(h,e[g]),h+=8;if(je(h===d(be,vm),"FontInfo.write: Number properties offset mismatch"),e.bbox){u.setUint8(h++,4);for(const g of e.bbox)u.setInt16(h,g,!0),h+=2}else u.setUint8(h++,0),h+=2*4;if(je(h===d(be,bm),"FontInfo.write: BBox properties offset mismatch"),e.fontMatrix){u.setUint8(h++,6);for(const g of e.fontMatrix)u.setFloat64(h,g,!0),h+=8}else u.setUint8(h++,0),h+=8*6;if(je(h===d(be,_m),"FontInfo.write: FontMatrix properties offset mismatch"),e.defaultVMetrics){u.setUint8(h++,1);for(const g of e.defaultVMetrics)u.setInt16(h,g,!0),h+=2}else u.setUint8(h++,0),h+=3*2;je(h===d(be,bs),"FontInfo.write: DefaultVMetrics properties offset mismatch"),u.setUint32(d(be,bs),0),h+=4;for(const g of be.strings){const S=r[g],y=S.length;u.setUint32(h,y),c.set(S,h+4),h+=4+y}if(u.setUint32(d(be,bs),h-d(be,bs)-4),!t)u.setUint32(h,0),h+=4;else{const g=t.byteLength;u.setUint32(h,g),je(h+4+g<=l.byteLength,"FontInfo.write: Buffer overflow at systemFontInfo"),c.set(new Uint8Array(t),h+4),h+=4+g}if(!i)u.setUint32(h,0),h+=4;else{const g=i.byteLength;u.setUint32(h,g),je(h+4+g<=l.byteLength,"FontInfo.write: Buffer overflow at cssFontInfo"),c.set(new Uint8Array(i),h+4),h+=4+g}return e.data===void 0?(u.setUint32(h,0),h+=4):(u.setUint32(h,e.data.length),c.set(e.data,h+4),h+=4+e.data.length),je(h<=l.byteLength,"FontInfo.write: Buffer overflow"),l.transferToFixedLength(h)}};ym=new WeakMap,vm=new WeakMap,bm=new WeakMap,_m=new WeakMap,bs=new WeakMap,Ua=new WeakMap,Jv=new WeakMap,rt=new WeakMap,tn=new WeakSet,Gr=function(e){je(e<be.bools.length,"Invalid boolean index");const t=Math.floor(e/4),i=e*2%8,s=d(this,rt).getUint8(t)>>i&3;return s===0?void 0:s===2},aS=function(e){return je(e<be.numbers.length,"Invalid number index"),d(this,rt).getFloat64(d(be,ym)+e*8)},q0=function(e){je(e<be.strings.length,"Invalid string index");let t=d(be,bs)+4;for(let r=0;r<e;r++)t+=d(this,rt).getUint32(t)+4;const i=d(this,rt).getUint32(t),s=new Uint8Array(i);return s.set(new Uint8Array(d(this,Ua),t+4,i)),d(this,Jv).decode(s)},q(be,"bools",["black","bold","disableFontFace","fontExtraProperties","isInvalidPDFjsFont","isType3Font","italic","missingFile","remeasure","vertical"]),q(be,"numbers",["ascent","defaultWidth","descent"]),q(be,"strings",["fallbackName","loadedName","mimetype","name"]),T(be,ym,Math.ceil(be.bools.length*2/8)),T(be,vm,d(be,ym)+be.numbers.length*8),T(be,bm,d(be,vm)+1+2*4),T(be,_m,d(be,bm)+1+8*6),T(be,bs,d(be,_m)+1+2*3);let sT=be;var Zv,e2;class Tr{static get workerPort(){return d(this,Zv)}static set workerPort(e){if(!(typeof Worker<"u"&&e instanceof Worker)&&e!==null)throw new Error("Invalid `workerPort` type.");A(this,Zv,e)}static get workerSrc(){return d(this,e2)}static set workerSrc(e){if(typeof e!="string")throw new Error("Invalid `workerSrc` type.");A(this,e2,e)}}Zv=new WeakMap,e2=new WeakMap,T(Tr,Zv,null),T(Tr,e2,"");var Sm,t2;class Ole{constructor({parsedData:e,rawData:t}){T(this,Sm);T(this,t2);A(this,Sm,e),A(this,t2,t)}getRaw(){return d(this,t2)}get(e){return d(this,Sm).get(e)??null}[Symbol.iterator](){return d(this,Sm).entries()}}Sm=new WeakMap,t2=new WeakMap;const Ff=Symbol("INTERNAL");var n2,i2,s2,xm;class Lle{constructor(e,{name:t,intent:i,usage:s,rbGroups:r}){T(this,n2,!1);T(this,i2,!1);T(this,s2,!1);T(this,xm,!0);A(this,n2,!!(e&Ns.DISPLAY)),A(this,i2,!!(e&Ns.PRINT)),this.name=t,this.intent=i,this.usage=s,this.rbGroups=r}get visible(){if(d(this,s2))return d(this,xm);if(!d(this,xm))return!1;const{print:e,view:t}=this.usage;return d(this,n2)?(t==null?void 0:t.viewState)!=="OFF":d(this,i2)?(e==null?void 0:e.printState)!=="OFF":!0}_setVisible(e,t,i=!1){e!==Ff&&yt("Internal method `_setVisible` called."),A(this,s2,i),A(this,xm,t)}}
235n2=new WeakMap,i2=new WeakMap,s2=new WeakMap,xm=new WeakMap;var zc,at,wm,Em,r2,rT;class Ble{constructor(e,t=Ns.DISPLAY){T(this,r2);T(this,zc,null);T(this,at,new Map);T(this,wm,null);T(this,Em,null);if(this.renderingIntent=t,this.name=null,this.creator=null,e!==null){this.name=e.name,this.creator=e.creator,A(this,Em,e.order);for(const i of e.groups)d(this,at).set(i.id,new Lle(t,i));if(e.baseState==="OFF")for(const i of d(this,at).values())i._setVisible(Ff,!1);for(const i of e.on)d(this,at).get(i)._setVisible(Ff,!0);for(const i of e.off)d(this,at).get(i)._setVisible(Ff,!1);A(this,wm,this.getHash())}}isVisible(e){if(d(this,at).size===0)return!0;if(!e)return yw("Optional content group not defined."),!0;if(e.type==="OCG")return d(this,at).has(e.id)?d(this,at).get(e.id).visible:(me(`Optional content group not found: ${e.id}`),!0);if(e.type==="OCMD"){if(e.expression)return P(this,r2,rT).call(this,e.expression);if(!e.policy||e.policy==="AnyOn"){for(const t of e.ids){if(!d(this,at).has(t))return me(`Optional content group not found: ${t}`),!0;if(d(this,at).get(t).visible)return!0}return!1}else if(e.policy==="AllOn"){for(const t of e.ids){if(!d(this,at).has(t))return me(`Optional content group not found: ${t}`),!0;if(!d(this,at).get(t).visible)return!1}return!0}else if(e.policy==="AnyOff"){for(const t of e.ids){if(!d(this,at).has(t))return me(`Optional content group not found: ${t}`),!0;if(!d(this,at).get(t).visible)return!0}return!1}else if(e.policy==="AllOff"){for(const t of e.ids){if(!d(this,at).has(t))return me(`Optional content group not found: ${t}`),!0;if(d(this,at).get(t).visible)return!1}return!0}return me(`Unknown optional content policy ${e.policy}.`),!0}return me(`Unknown group type ${e.type}.`),!0}setVisibility(e,t=!0,i=!0){var r;const s=d(this,at).get(e);if(!s){me(`Optional content group not found: ${e}`);return}if(i&&t&&s.rbGroups.length)for(const a of s.rbGroups)for(const o of a)o!==e&&((r=d(this,at).get(o))==null||r._setVisible(Ff,!1,!0));s._setVisible(Ff,!!t,!0),A(this,zc,null)}setOCGState({state:e,preserveRB:t}){let i;for(const s of e){switch(s){case"ON":case"OFF":case"Toggle":i=s;continue}const r=d(this,at).get(s);if(r)switch(i){case"ON":this.setVisibility(s,!0,t);break;case"OFF":this.setVisibility(s,!1,t);break;case"Toggle":this.setVisibility(s,!r.visible,t);break}}A(this,zc,null)}get hasInitialVisibility(){return d(this,wm)===null||this.getHash()===d(this,wm)}getOrder(){return d(this,at).size?d(this,Em)?d(this,Em).slice():[...d(this,at).keys()]:null}getGroup(e){return d(this,at).get(e)||null}getHash(){if(d(this,zc)!==null)return d(this,zc);const e=new gz;for(const[t,i]of d(this,at))e.update(`${t}:${i.visible}`);return A(this,zc,e.hexdigest())}[Symbol.iterator](){return d(this,at).entries()}}zc=new WeakMap,at=new WeakMap,wm=new WeakMap,Em=new WeakMap,r2=new WeakSet,rT=function(e){const t=e.length;if(t<2)return!0;const i=e[0];for(let s=1;s<t;s++){const r=e[s];let a;if(Array.isArray(r))a=P(this,r2,rT).call(this,r);else if(d(this,at).has(r))a=d(this,at).get(r).visible;else return me(`Optional content group not found: ${r}`),!0;switch(i){case"And":if(!a)return!1;break;case"Or":if(a)return!0;break;case"Not":return!a;default:return!0}}return i==="And"};class jle{constructor(e,{disableRange:t=!1,disableStream:i=!1}){je(e,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.');const{length:s,initialData:r,progressiveDone:a,contentDispositionFilename:o}=e;if(this._queuedChunks=[],this._progressiveDone=a,this._contentDispositionFilename=o,(r==null?void 0:r.length)>0){const l=r instanceof Uint8Array&&r.byteLength===r.buffer.byteLength?r.buffer:new Uint8Array(r).buffer;this._queuedChunks.push(l)}this._pdfDataRangeTransport=e,this._isStreamingSupported=!i,this._isRangeSupported=!t,this._contentLength=s,this._fullRequestReader=null,this._rangeReaders=[],e.addRangeListener((l,c)=>{this._onReceiveData({begin:l,chunk:c})}),e.addProgressListener((l,c)=>{this._onProgress({loaded:l,total:c})}),e.addProgressiveReadListener(l=>{this._onReceiveData({chunk:l})}),e.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),e.transportReady()}_onReceiveData({begin:e,chunk:t}){const i=t instanceof Uint8Array&&t.byteLength===t.buffer.byteLength?t.buffer:new Uint8Array(t).buffer;if(e===void 0)this._fullRequestReader?this._fullRequestReader._enqueue(i):this._queuedChunks.push(i);else{const s=this._rangeReaders.some(function(r){return r._begin!==e?!1:(r._enqueue(i),!0)});je(s,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){var e;return((e=this._fullRequestReader)==null?void 0:e._loaded)??0}_onProgress(e){var t,i,s,r;e.total===void 0?(i=(t=this._rangeReaders[0])==null?void 0:t.onProgress)==null||i.call(t,{loaded:e.loaded}):(r=(s=this._fullRequestReader)==null?void 0:s.onProgress)==null||r.call(s,{loaded:e.loaded,total:e.total})}_onProgressiveDone(){var e;(e=this._fullRequestReader)==null||e.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(e){const t=this._rangeReaders.indexOf(e);t>=0&&this._rangeReaders.splice(t,1)}getFullReader(){je(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const e=this._queuedChunks;return this._queuedChunks=null,new Fle(this,e,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;const i=new zle(this,e,t);return this._pdfDataRangeTransport.requestDataRange(e,t),this._rangeReaders.push(i),i}cancelAllRequests(e){var t;(t=this._fullRequestReader)==null||t.cancel(e);for(const i of this._rangeReaders.slice(0))i.cancel(e);this._pdfDataRangeTransport.abort()}}class Fle{constructor(e,t,i=!1,s=null){this._stream=e,this._done=i||!1,this._filename=bw(s)?s:null,this._queuedChunks=t||[],this._loaded=0;for(const r of this._queuedChunks)this._loaded+=r.byteLength;
235this._requests=[],this._headersReady=Promise.resolve(),e._fullRequestReader=this,this.onProgress=null}_enqueue(e){this._done||(this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._queuedChunks.push(e),this._loaded+=e.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};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class zle{constructor(e,t,i){this._stream=e,this._begin=t,this._end=i,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(e){if(!this._done){if(this._requests.length===0)this._queuedChunk=e;else{this._requests.shift().resolve({value:e,done:!1});for(const 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){const t=this._queuedChunk;return this._queuedChunk=null,{value:t,done:!1}}if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}function Ule(n){let e=!0,t=i("filename\\*","i").exec(n);if(t){t=t[1];let u=o(t);return u=unescape(u),u=l(u),u=c(u),r(u)}if(t=a(n),t){const u=c(t);return r(u)}if(t=i("filename","i").exec(n),t){t=t[1];let u=o(t);return u=c(u),r(u)}function i(u,h){return new RegExp("(?:^|;)\\s*"+u+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',h)}function s(u,h){if(u){if(!/^[\x00-\xFF]+$/.test(h))return h;try{const f=new TextDecoder(u,{fatal:!0}),p=wb(h);h=f.decode(p),e=!1}catch{}}return h}function r(u){return e&&/[\x80-\xff]/.test(u)&&(u=s("utf-8",u),e&&(u=s("iso-8859-1",u))),u}function a(u){const h=[];let f;const p=i("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;(f=p.exec(u))!==null;){let[,g,S,y]=f;if(g=parseInt(g,10),g in h){if(g===0)break;continue}h[g]=[S,y]}const b=[];for(let g=0;g<h.length&&g in h;++g){let[S,y]=h[g];y=o(y),S&&(y=unescape(y),g===0&&(y=l(y))),b.push(y)}return b.join("")}function o(u){if(u.startsWith('"')){const h=u.slice(1).split('\\"');for(let f=0;f<h.length;++f){const p=h[f].indexOf('"');p!==-1&&(h[f]=h[f].slice(0,p),h.length=f+1),h[f]=h[f].replaceAll(/\\(.)/g,"$1")}u=h.join('"')}return u}function l(u){const h=u.indexOf("'");if(h===-1)return u;const f=u.slice(0,h),b=u.slice(h+1).replace(/^[^']*'/,"");return s(f,b)}function c(u){return!u.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(u)?u:u.replaceAll(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,function(h,f,p,b){if(p==="q"||p==="Q")return b=b.replaceAll("_"," "),b=b.replaceAll(/=([0-9a-fA-F]{2})/g,function(g,S){return String.fromCharCode(parseInt(S,16))}),s(f,b);try{b=atob(b)}catch{}return s(f,b)})}return""}function Dz(n,e){const t=new Headers;if(!n||!e||typeof e!="object")return t;for(const i in e){const s=e[i];s!==void 0&&t.append(i,s)}return t}function _w(n){var e;return((e=URL.parse(n))==null?void 0:e.origin)??null}function Pz({responseHeaders:n,isHttp:e,rangeChunkSize:t,disableRange:i}){const s={allowRangeRequests:!1,suggestedLength:void 0},r=parseInt(n.get("Content-Length"),10);return!Number.isInteger(r)||(s.suggestedLength=r,r<=2*t)||i||!e||n.get("Accept-Ranges")!=="bytes"||(n.get("Content-Encoding")||"identity")!=="identity"||(s.allowRangeRequests=!0),s}function Rz(n){const e=n.get("Content-Disposition");if(e){let t=Ule(e);if(t.includes("%"))try{t=decodeURIComponent(t)}catch{}if(bw(t))return t}return null}function Cb(n,e){return new sv(`Unexpected server response (${n}) while retrieving PDF "${e}".`,n,n===404||n===0&&e.startsWith("file:"))}function kz(n){return n===200||n===206}function Nz(n,e,t){return{method:"GET",headers:n,signal:t.signal,mode:"cors",credentials:e?"include":"same-origin",redirect:"follow"}}function Mz(n){return n instanceof Uint8Array?n.buffer:n instanceof ArrayBuffer?n:(me(`getArrayBuffer - unexpected data format: ${n}`),new Uint8Array(n).buffer)}class Vle{constructor(e){q(this,"_responseOrigin",null);this.source=e,this.isHttp=/^https?:/i.test(e.url),this.headers=Dz(this.isHttp,e.httpHeaders),this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){var e;return((e=this._fullRequestReader)==null?void 0:e._loaded)??0}getFullReader(){return je(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new Xle(this),this._fullRequestReader}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;const i=new Hle(this,e,t);return this._rangeRequestReaders.push(i),i}cancelAllRequests(e){var t;(t=this._fullRequestReader)==null||t.cancel(e);for(const i of this._rangeRequestReaders.slice(0))i.cancel(e)}}class Xle{constructor(e){this._stream=e,this._reader=null,this._loaded=0,this._filename=null;const t=e.source;this._withCredentials=t.withCredentials||!1,this._contentLength=t.length,this._headersCapability=Promise.withResolvers(),this._disableRange=t.disableRange||!1,this._rangeChunkSize=t.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange;const i=new Headers(e.headers),s=t.url;fetch(s,Nz(i,this._withCredentials,this._abortController)).then(r=>{if(e._responseOrigin=_w(r.url),!kz(r.status))throw Cb(r.status,s);this._reader=r.body.getReader(),this._headersCapability.resolve();const a=r.headers,{allowRangeRequests:o,suggestedLength:l}=Pz({responseHeaders:a,isHttp:e.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=o,this._contentLength=l||this._contentLength,this._filename=Rz(a),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new
235Ul("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(){var i;await this._headersCapability.promise;const{value:e,done:t}=await this._reader.read();return t?{value:e,done:t}:(this._loaded+=e.byteLength,(i=this.onProgress)==null||i.call(this,{loaded:this._loaded,total:this._contentLength}),{value:Mz(e),done:!1})}cancel(e){var t;(t=this._reader)==null||t.cancel(e),this._abortController.abort()}}class Hle{constructor(e,t,i){this._stream=e,this._reader=null,this._loaded=0;const s=e.source;this._withCredentials=s.withCredentials||!1,this._readCapability=Promise.withResolvers(),this._isStreamingSupported=!s.disableStream,this._abortController=new AbortController;const r=new Headers(e.headers);r.append("Range",`bytes=${t}-${i-1}`);const a=s.url;fetch(a,Nz(r,this._withCredentials,this._abortController)).then(o=>{const l=_w(o.url);if(l!==e._responseOrigin)throw new Error(`Expected range response-origin "${l}" to match "${e._responseOrigin}".`);if(!kz(o.status))throw Cb(o.status,a);this._readCapability.resolve(),this._reader=o.body.getReader()}).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}async read(){var i;await this._readCapability.promise;const{value:e,done:t}=await this._reader.read();return t?{value:e,done:t}:(this._loaded+=e.byteLength,(i=this.onProgress)==null||i.call(this,{loaded:this._loaded}),{value:Mz(e),done:!1})}cancel(e){var t;(t=this._reader)==null||t.cancel(e),this._abortController.abort()}}const hA=200,fA=206;function Gle(n){const e=n.response;return typeof e!="string"?e:wb(e).buffer}class $le{constructor({url:e,httpHeaders:t,withCredentials:i}){q(this,"_responseOrigin",null);this.url=e,this.isHttp=/^https?:/i.test(e),this.headers=Dz(this.isHttp,t),this.withCredentials=i||!1,this.currXhrId=0,this.pendingRequests=Object.create(null)}request(e){const t=new XMLHttpRequest,i=this.currXhrId++,s=this.pendingRequests[i]={xhr:t};t.open("GET",this.url),t.withCredentials=this.withCredentials;for(const[r,a]of this.headers)t.setRequestHeader(r,a);return this.isHttp&&"begin"in e&&"end"in e?(t.setRequestHeader("Range",`bytes=${e.begin}-${e.end-1}`),s.expectedStatus=fA):s.expectedStatus=hA,t.responseType="arraybuffer",je(e.onError,"Expected `onError` callback to be provided."),t.onerror=()=>{e.onError(t.status)},t.onreadystatechange=this.onStateChange.bind(this,i),t.onprogress=this.onProgress.bind(this,i),s.onHeadersReceived=e.onHeadersReceived,s.onDone=e.onDone,s.onError=e.onError,s.onProgress=e.onProgress,t.send(null),i}onProgress(e,t){var s;const i=this.pendingRequests[e];i&&((s=i.onProgress)==null||s.call(i,t))}onStateChange(e,t){const i=this.pendingRequests[e];if(!i)return;const s=i.xhr;if(s.readyState>=2&&i.onHeadersReceived&&(i.onHeadersReceived(),delete i.onHeadersReceived),s.readyState!==4||!(e in this.pendingRequests))return;if(delete this.pendingRequests[e],s.status===0&&this.isHttp){i.onError(s.status);return}const r=s.status||hA;if(!(r===hA&&i.expectedStatus===fA)&&r!==i.expectedStatus){i.onError(s.status);return}const o=Gle(s);if(r===fA){const l=s.getResponseHeader("Content-Range"),c=/bytes (\d+)-(\d+)\/(\d+)/.exec(l);c?i.onDone({begin:parseInt(c[1],10),chunk:o}):(me('Missing or invalid "Content-Range" header.'),i.onError(0))}else o?i.onDone({begin:0,chunk:o}):i.onError(s.status)}getRequestXhr(e){return this.pendingRequests[e].xhr}isPendingRequest(e){return e in this.pendingRequests}abortRequest(e){const t=this.pendingRequests[e].xhr;delete this.pendingRequests[e],t.abort()}}class qle{constructor(e){this._source=e,this._manager=new $le(e),this._rangeChunkSize=e.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(e){const t=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)}getFullReader(){return je(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new Yle(this._manager,this._source),this._fullRequestReader}getRangeReader(e,t){const i=new Wle(this._manager,e,t);return i.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(i),i}cancelAllRequests(e){var t;(t=this._fullRequestReader)==null||t.cancel(e);for(const i of this._rangeRequestReaders.slice(0))i.cancel(e)}}class Yle{constructor(e,t){this._manager=e,this._url=t.url,this._fullRequestId=e.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=t.disableRange||!1,this._contentLength=t.length,this._rangeChunkSize=t.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(){const e=this._fullRequestId,t=this._manager.getRequestXhr(e);this._manager._responseOrigin=_w(t.responseURL);const i=t.getAllResponseHeaders(),s=new Headers(i?i.trimStart().replace(/[^\S ]+$/,"").split(/[\r\n]+/).map(o=>{const[l,...c]=o.split(": ");return[l,c.join(": ")]}):[]),{allowRangeRequests:r,suggestedLength:a}=Pz({responseHeaders:s,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});r&&(this._isRangeSupported=!0),this._contentLength=a||this._contentLength,this._filename=Rz(s),this._isRangeSupported&&this._manager.abortRequest
235(e),this._headersCapability.resolve()}_onDone(e){if(e&&(this._requests.length>0?this._requests.shift().resolve({value:e.chunk,done:!1}):this._cachedChunks.push(e.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(e){this._storedError=Cb(e,this._url),this._headersCapability.reject(this._storedError);for(const t of this._requests)t.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(e){var t;(t=this.onProgress)==null||t.call(this,{loaded:e.loaded,total:e.lengthComputable?e.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};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0,this._headersCapability.reject(e);for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class Wle{constructor(e,t,i){this._manager=e,this._url=e.url,this._requestId=e.request({begin:t,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(){var t;const e=_w((t=this._manager.getRequestXhr(this._requestId))==null?void 0:t.responseURL);e!==this._manager._responseOrigin&&(this._storedError=new Error(`Expected range response-origin "${e}" to match "${this._manager._responseOrigin}".`),this._onError(0))}_close(){var e;(e=this.onClosed)==null||e.call(this,this)}_onDone(e){const t=e.chunk;this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunk=t,this._done=!0;for(const i of this._requests)i.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(e){this._storedError??(this._storedError=Cb(e,this._url));for(const t of this._requests)t.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(e){var t;this.isStreamingSupported||(t=this.onProgress)==null||t.call(this,{loaded:e.loaded})}get isStreamingSupported(){return!1}async read(){if(this._storedError)throw this._storedError;if(this._queuedChunk!==null){const t=this._queuedChunk;return this._queuedChunk=null,{value:t,done:!1}}if(this._done)return{value:void 0,done:!0};const e=Promise.withResolvers();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}const Kle=/^[a-z][a-z0-9\-+.]+:/i;function Qle(n){if(Kle.test(n))return new URL(n);const e=process.getBuiltinModule("url");return new URL(e.pathToFileURL(n))}class Jle{constructor(e){this.source=e,this.url=Qle(e.url),je(this.url.protocol==="file:","PDFNodeStream only supports file:// URLs."),this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){var e;return((e=this._fullRequestReader)==null?void 0:e._loaded)??0}getFullReader(){return je(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=new Zle(this),this._fullRequestReader}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;const i=new ece(this,e,t);return this._rangeRequestReaders.push(i),i}cancelAllRequests(e){var t;(t=this._fullRequestReader)==null||t.cancel(e);for(const i of this._rangeRequestReaders.slice(0))i.cancel(e)}}class Zle{constructor(e){this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null;const t=e.source;this._contentLength=t.length,this._loaded=0,this._filename=null,this._disableRange=t.disableRange||!1,this._rangeChunkSize=t.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._readableStream=null,this._readCapability=Promise.withResolvers(),this._headersCapability=Promise.withResolvers();const i=process.getBuiltinModule("fs");i.promises.lstat(this._url).then(s=>{this._contentLength=s.size,this._setReadableStream(i.createReadStream(this._url)),this._headersCapability.resolve()},s=>{s.code==="ENOENT"&&(s=Cb(0,this._url.href)),this._storedError=s,this._headersCapability.reject(s)})}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(){var i;if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const e=this._readableStream.read();return e===null?(this._readCapability=Promise.withResolvers(),this.read()):(this._loaded+=e.length,(i=this.onProgress)==null||i.call(this,{loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(e).buffer,done:!1})}cancel(e){if(!this._readableStream){this._error(e);return}this._readableStream.destroy(e)}_error(e){this._storedError=e,this._readCapability.resolve()}_setReadableStream(e){this._readableStream=e,e.on("readable",()=>{this._readCapability.resolve()}),e.on("end",()=>{e.destroy(),this._done=!0,this._readCapability.resolve()}),e.on("error",t=>{this._error(t)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new
235Ul("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class ece{constructor(e,t,i){this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=Promise.withResolvers();const s=e.source;this._isStreamingSupported=!s.disableStream;const r=process.getBuiltinModule("fs");this._setReadableStream(r.createReadStream(this._url,{start:t,end:i-1}))}get isStreamingSupported(){return this._isStreamingSupported}async read(){var i;if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const e=this._readableStream.read();return e===null?(this._readCapability=Promise.withResolvers(),this.read()):(this._loaded+=e.length,(i=this.onProgress)==null||i.call(this,{loaded:this._loaded}),{value:new Uint8Array(e).buffer,done:!1})}cancel(e){if(!this._readableStream){this._error(e);return}this._readableStream.destroy(e)}_error(e){this._storedError=e,this._readCapability.resolve()}_setReadableStream(e){this._readableStream=e,e.on("readable",()=>{this._readCapability.resolve()}),e.on("end",()=>{e.destroy(),this._done=!0,this._readCapability.resolve()}),e.on("error",t=>{this._error(t)}),this._storedError&&this._readableStream.destroy(this._storedError)}}const E0=Symbol("INITIAL_DATA");var _s,a2,aT;class Oz{constructor(){T(this,a2);T(this,_s,Object.create(null))}get(e,t=null){if(t){const s=P(this,a2,aT).call(this,e);return s.promise.then(()=>t(s.data)),null}const i=d(this,_s)[e];if(!i||i.data===E0)throw new Error(`Requesting object that isn't resolved yet ${e}.`);return i.data}has(e){const t=d(this,_s)[e];return!!t&&t.data!==E0}delete(e){const t=d(this,_s)[e];return!t||t.data===E0?!1:(delete d(this,_s)[e],!0)}resolve(e,t=null){const i=P(this,a2,aT).call(this,e);i.data=t,i.resolve()}clear(){var e;for(const t in d(this,_s)){const{data:i}=d(this,_s)[t];(e=i==null?void 0:i.bitmap)==null||e.close()}A(this,_s,Object.create(null))}*[Symbol.iterator](){for(const e in d(this,_s)){const{data:t}=d(this,_s)[e];t!==E0&&(yield[e,t])}}}_s=new WeakMap,a2=new WeakSet,aT=function(e){var t;return(t=d(this,_s))[e]||(t[e]={...Promise.withResolvers(),data:E0})};const tce=1e5,ZO=30;var r5,Uc,Ki,o2,l2,ih,al,c2,u2,sh,Am,Im,Vc,Cm,d2,Tm,rh,h2,f2,Zt,Dm,ah,p2,Xc,Pm,$l,Lz,Bz,oT,Qs,oS,lT,jz,Fz;let lv=(Zt=class{constructor({textContentSource:e,container:t,viewport:i}){T(this,$l);T(this,Uc,Promise.withResolvers());T(this,Ki,null);T(this,o2,!1);T(this,l2,!!((r5=globalThis.FontInspector)!=null&&r5.enabled));T(this,ih,null);T(this,al,null);T(this,c2,0);T(this,u2,0);T(this,sh,null);T(this,Am,null);T(this,Im,0);T(this,Vc,0);T(this,Cm,Object.create(null));T(this,d2,[]);T(this,Tm,null);T(this,rh,[]);T(this,h2,new WeakMap);T(this,f2,null);var l;if(e instanceof ReadableStream)A(this,Tm,e);else if(typeof e=="object")A(this,Tm,new ReadableStream({start(c){c.enqueue(e),c.close()}}));else throw new Error('No "textContentSource" parameter specified.');A(this,Ki,A(this,Am,t)),A(this,Vc,i.scale*fa.pixelRatio),A(this,Im,i.rotation),A(this,al,{div:null,properties:null,ctx:null});const{pageWidth:s,pageHeight:r,pageX:a,pageY:o}=i.rawDims;A(this,f2,[1,0,0,-1,-a,o+r]),A(this,u2,s),A(this,c2,r),P(l=Zt,Qs,jz).call(l),Gu(t,i),d(this,Uc).promise.finally(()=>{d(Zt,Pm).delete(this),A(this,al,null),A(this,Cm,null)}).catch(()=>{})}static get fontFamilyMap(){const{isWindows:e,isFirefox:t}=Vn.platform;return Ee(this,"fontFamilyMap",new Map([["sans-serif",`${e&&t?"Calibri, ":""}sans-serif`],["monospace",`${e&&t?"Lucida Console, ":""}monospace`]]))}render(){const e=()=>{d(this,sh).read().then(({value:t,done:i})=>{if(i){d(this,Uc).resolve();return}d(this,ih)??A(this,ih,t.lang),Object.assign(d(this,Cm),t.styles),P(this,$l,Lz).call(this,t.items),e()},d(this,Uc).reject)};return A(this,sh,d(this,Tm).getReader()),d(Zt,Pm).add(this),e(),d(this,Uc).promise}update({viewport:e,onBefore:t=null}){var r;const i=e.scale*fa.pixelRatio,s=e.rotation;if(s!==d(this,Im)&&(t==null||t(),A(this,Im,s),Gu(d(this,Am),{rotation:s})),i!==d(this,Vc)){t==null||t(),A(this,Vc,i);const a={div:null,properties:null,ctx:P(r=Zt,Qs,oS).call(r,d(this,ih))};for(const o of d(this,rh))a.properties=d(this,h2).get(o),a.div=o,P(this,$l,oT).call(this,a)}}cancel(){var t;const e=new Ul("TextLayer task cancelled.");(t=d(this,sh))==null||t.cancel(e).catch(()=>{}),A(this,sh,null),d(this,Uc).reject(e)}get textDivs(){return d(this,rh)}get textContentItemsStr(){return d(this,d2)}static cleanup(){if(!(d(this,Pm).size>0)){d(this,Dm).clear();for(const{canvas:e}of d(this,ah).values())e.remove();d(this,ah).clear()}}},Uc=new WeakMap,Ki=new WeakMap,o2=new WeakMap,l2=new WeakMap,ih=new WeakMap,al=new WeakMap,c2=new WeakMap,u2=new WeakMap,sh=new WeakMap,Am=new WeakMap,Im=new WeakMap,Vc=new WeakMap,Cm=new WeakMap,d2=new WeakMap,Tm=new WeakMap,rh=new WeakMap,h2=new WeakMap,f2=new WeakMap,Dm=new WeakMap,ah=new WeakMap,p2=new WeakMap,Xc=new WeakMap,Pm=new WeakMap,$l=new WeakSet,Lz=function(e){var s,r;if(d(this,o2))return;(r=d(this,al)).ctx??(r.ctx=P(s=Zt,Qs,oS).call(s,d(this,ih)));const t=d(this,rh),i=d(this,d2);for(const a of e){if(t.length>tce){me("Ignoring additional textDivs for performance reasons."),A(this,o2,!0);return}if(a.str===void 0){if(a.type==="beginMarkedContentProps"||a.type==="beginMarkedContent"){const o=d(this,Ki);A(this,Ki,document.createElement("span")),d(this,Ki).classList.add("markedContent"),a.id&&d(this,Ki).setAttribute("id",`${a.id}`),o.append(d(this,Ki))}else a.type==="endMarkedContent"&&A(this,Ki,d(this,Ki).parentNode);continue}i.push(a.str),P(this,$l,Bz).call(this,a)}},Bz=function(e){var g;const t=document.createElement("span"),i={angle:0,canvasWidth:0,hasText:e.str!=="",hasEOL:e.hasEOL,fontSize:0};d(this,rh).push(t);const s=re.transform(d(this,f2),e.transform);let r=Math.atan2(s[1],s[0]);const a=d(this,Cm)[e.fontName];a.vertical&&(r+=Math.PI/2);let o=d(this,l2)&&a.fontSubstitution||a.fontFamily;o=Zt.fontFamilyMap.get(o)||o;const l=Math.hypot(s[2],s[3]),c=l*P(g=Zt,Qs,Fz).call(g,o,a,d(this,ih));let u,h;r===0?(u=s[4],h=s[5]-c):(u=s[4]+c*Math.sin(r),h=s[5]-c*Math.cos(r));const f="calc(var(--total-scale-factor) *",p=t.style;d(this,Ki)===d(this,Am)?(p.left=`${(100*u/d(this,u2)).toFixed(2)}%`,p.top=`${(100*h/d(this,c2)).toFixed(2)}%`):(p.left=`${f}${u.toFixed(2)}px)`,p.top=`${f}${h.toFixed(2)}px)`),p.fontSize=`${f}${(d(Zt,Xc)*l).toFixed(2)}px)`,p.fontFamily=o,i.fontSize=l,t.setAttribute("role","presentation"),t.textContent=e.str,t.dir=e.dir,d(this,l2)&&(t.dataset.fontName=a.fontSubstitutionLoadedName||e.fontName),r!==0&&(i.angle=r*(180/Math.PI));let b=!1;if(e.str.length>1)b=!0;else if(e.str!==" "&&e.transform[0]!==e.transform[3]){const S=Math.abs(e.transform[0]),y=Math.abs(e.transform[3]);S!==y&&Math.max(S,y)/Math.min(S,y)>1.5&&(b=!0)}if(b&&(i.canvasWidth=a.vertical?e.height:e.width),d(this,h2).set(t,i),d(this,al).div=t,d(this,al).properties=i,P(this,$l,oT).call(this,d(this,al)),i.hasText&&d(this,Ki).append(t),i.hasEOL){const S=document.createElement("br");S.setAttribute("role","presentation"),d(this,Ki).append(S)}},oT=function(e){var o;const{div:t,properties:i,ctx:s}=e,{style:r}=t;let a="";if(d(Zt,Xc)>1&&(a=`scale(${1/d(Zt,Xc)})`),i.canvasWidth!==0&&i.hasText){const{fontFamily:l}=r,{canvasWidth:c,fontSize:u}=i;P(o=Zt,Qs,lT).call(o,s,u*d(this,Vc),l);const{width:h}=s.measureText(t.textContent);h>0&&(a=`scaleX(${c*d(this,Vc)/h}) ${a}`)}i.angle!==0&&(a=`rotate(${i.angle}deg) ${a}`),a.length>0&&(r.transform=a)},Qs=new WeakSet,oS=function(e=null){let t=d(this,ah).get(e||(e=""));if(!t){const i=document.createElement("canvas");i.className="hiddenCanvasElement",i.lang=e,document.body.append(i),t=i.getContext("2d",{alpha:!1,willReadFrequently:!0}),d(this,ah).set(e,t),d(this,p2).set(t,{size:0,family:""})}return t},lT=function(e,t,i){const s=d(this,p2).get(e);t===s.size&&i===s.family||(e.font=`${t}px ${i}`,s.size=t,s.family=i)},jz=function(){if(d(this,Xc)!==null)return;const e=document.createElement("div");e.style.opacity=0,e.style.lineHeight=1,e.style.fontSize="1px",e.style.position="absolute",e.textContent="X",document.body.append(e),A(this,Xc,e.getBoundingClientRect().height),e.remove()},Fz=function(e,t,i){const s=d(this,Dm).get(e);if(s)return s;const r=P(this,Qs,oS).call(this,i);r.canvas.width=r.canvas.height=ZO,P(this,Qs,lT).call(this,r,ZO,e);const a=r.measureText(""),o=a.fontBoundingBoxAscent,l=Math.abs(a.fontBoundingBoxDescent);r.canvas.width=r.canvas.height=0;let c=.8;return o?c=o/(o+l):(Vn.platform.isFirefox&&me("Enable the `dom.textMetrics.fontBoundingBox.enabled` preference in `about:config` to improve TextLayer rendering."),t.ascent?c=t.ascent:t.descent&&(c=1+t.descent)),d(this,Dm).set(e,c),c},T(Zt,Qs),T(Zt,Dm,new Map),T(Zt,ah,new Map),T(Zt,p2,new WeakMap),T(Zt,Xc,null),T(Zt,Pm,new Set),Zt);const nce=100;function kR(n={}){typeof n=="string"||n instanceof URL?n={url:n}:(n instanceof ArrayBuffer||ArrayBuffer.isView(n))&&(n={data:n});const e=new cT,{docId:t}=e,i=n.url?ule(n.url):null,s=n.data?dle(n.data):null,r=n.httpHeaders||null,a=n.withCredentials===!0,o=n.password??null,l=n.range instanceof NR?n.range:null,c=Number.isInteger(n.rangeChunkSize)&&n.rangeChunkSize>0?n.rangeChunkSize:2**16;let u=n.worker instanceof Og?n.worker:null;const h=n.verbosity,f=typeof n.docBaseUrl=="string"&&!Ab(n.docBaseUrl)?n.docBaseUrl:null,p=f_(n.cMapUrl),b=n.cMapPacked!==!1,g=n.CMapReaderFactory||(Pi?vle:FO),S=f_(n.iccUrl),y=f_(n.standardFontDataUrl),v=n.StandardFontDataFactory||(Pi?ble:zO),_=f_(n.wasmUrl),x=n.WasmFactory||(Pi?_le:UO),E=n.stopAtErrors!==!0,C=Number.isInteger(n.maxImageSize)&&n.maxImageSize>-1?n.maxImageSize:-1,I=n.isEvalSupported!==!1,R=typeof n.isOffscreenCanvasSupported=="boolean"?n.isOffscreenCanvasSupported:!Pi,D=typeof n.isImageDecoderSupported=="boolean"?n.isImageDecoderSupported:!Pi&&(Vn.platform.isFirefox||!globalThis.chrome),k=Number.isInteger(n.canvasMaxAreaInBytes)?n.canvasMaxAreaInBytes:-1,N=typeof n.disableFontFace=="boolean"?n.disableFontFace:Pi,O=n.fontExtraProperties===!0,j=n.enableXfa===!0,L=n.ownerDocument||globalThis.document,U=n.disableRange===!0,M=n.disableStream===!0,B=n.disableAutoFetch===!0,F=n.pdfBug===!0,z=n.CanvasFactory||(Pi?yle:ple),G=n.FilterFactory||(Pi?gle:mle),te=n.enableHWA===!0,Y=n.useWasm!==!1,X=l?l.length:n.length??NaN,W=typeof n.useSystemFonts=="boolean"?n.useSystemFonts:!Pi&&!N,ae=typeof n.useWorkerFetch=="boolean"?n.useWorkerFetch:!!(g===FO&&v===zO&&x===UO&&p&&y&&_&&O0(p,document.baseURI)&&O0(y,document.baseURI)&&O0(_,document.baseURI)),Ue=null;Goe(h);const ne={canvasFactory:new z({ownerDocument:L,enableHWA:te}),filterFactory:new G({docId:t,ownerDocument:L}),cMapReaderFactory:ae?null:new g({baseUrl:p,isCompressed:b}),standardFontDataFactory:ae?null:new v({baseUrl:y}),wasmFactory:ae?null:new x({baseUrl:_})};u||(u=Og.create({verbosity:h,port:Tr.workerPort}),e._worker=u);const bt={docId:t,apiVersion:"5.4.296",data:s,password:o,disableAutoFetch:B,rangeChunkSize:c,length:X,docBaseUrl:f,enableXfa:j,evaluatorOptions:{maxImageSize:C,disableFontFace:N,ignoreErrors:E,isEvalSupported:I,isOffscreenCanvasSupported:R,isImageDecoderSupported:D,c
235anvasMaxAreaInBytes:k,fontExtraProperties:O,useSystemFonts:W,useWasm:Y,useWorkerFetch:ae,cMapUrl:p,iccUrl:S,standardFontDataUrl:y,wasmUrl:_}},jt={ownerDocument:L,pdfBug:F,styleElement:Ue,loadingParams:{disableAutoFetch:B,enableXfa:j}};return u.promise.then(function(){if(e.destroyed)throw new Error("Loading aborted");if(u.destroyed)throw new Error("Worker was destroyed");const _t=u.messageHandler.sendWithPromise("GetDocRequest",bt,s?[s.buffer]:null);let $;if(l)$=new jle(l,{disableRange:U,disableStream:M});else if(!s){if(!i)throw new Error("getDocument - no `url` parameter provided.");const Rn=O0(i)?Vle:Pi?Jle:qle;$=new Rn({url:i,length:X,httpHeaders:r,withCredentials:a,rangeChunkSize:c,disableRange:U,disableStream:M})}return _t.then(Rn=>{if(e.destroyed)throw new Error("Loading aborted");if(u.destroyed)throw new Error("Worker was destroyed");const Be=new U0(t,Rn,u.port),Xe=new rce(Be,e,$,jt,ne,te);e._transport=Xe,Be.send("Ready",null)})}).catch(e._capability.reject),e}var y1;const v1=class v1{constructor(){q(this,"_capability",Promise.withResolvers());q(this,"_transport",null);q(this,"_worker",null);q(this,"docId",`d${qt(v1,y1)._++}`);q(this,"destroyed",!1);q(this,"onPassword",null);q(this,"onProgress",null)}get promise(){return this._capability.promise}async destroy(){var e,t,i,s;this.destroyed=!0;try{(e=this._worker)!=null&&e.port&&(this._worker._pendingDestroy=!0),await((t=this._transport)==null?void 0:t.destroy())}catch(r){throw(i=this._worker)!=null&&i.port&&delete this._worker._pendingDestroy,r}this._transport=null,(s=this._worker)==null||s.destroy(),this._worker=null}async getData(){return this._transport.getData()}};y1=new WeakMap,T(v1,y1,0);let cT=v1;var oh,m2,g2,y2,v2,a5;let NR=(a5=class{constructor(e,t,i=!1,s=null){T(this,oh,Promise.withResolvers());T(this,m2,[]);T(this,g2,[]);T(this,y2,[]);T(this,v2,[]);this.length=e,this.initialData=t,this.progressiveDone=i,this.contentDispositionFilename=s}addRangeListener(e){d(this,v2).push(e)}addProgressListener(e){d(this,y2).push(e)}addProgressiveReadListener(e){d(this,g2).push(e)}addProgressiveDoneListener(e){d(this,m2).push(e)}onDataRange(e,t){for(const i of d(this,v2))i(e,t)}onDataProgress(e,t){d(this,oh).promise.then(()=>{for(const i of d(this,y2))i(e,t)})}onDataProgressiveRead(e){d(this,oh).promise.then(()=>{for(const t of d(this,g2))t(e)})}onDataProgressiveDone(){d(this,oh).promise.then(()=>{for(const e of d(this,m2))e()})}transportReady(){d(this,oh).resolve()}requestDataRange(e,t){yt("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}},oh=new WeakMap,m2=new WeakMap,g2=new WeakMap,y2=new WeakMap,v2=new WeakMap,a5);class ice{constructor(e,t){this._pdfInfo=e,this._transport=t}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 Ee(this,"isPureXfa",!!this._transport._htmlForXfa)}get allXfaHtml(){return this._transport._htmlForXfa}getPage(e){return this._transport.getPage(e)}getPageIndex(e){return this._transport.getPageIndex(e)}
235getDestinations(){return this._transport.getDestinations()}getDestination(e){return this._transport.getDestination(e)}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()}getAnnotationsByType(e,t){return this._transport.getAnnotationsByType(e,t)}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig({intent:e="display"}={}){const{renderingIntent:t}=this._transport.getRenderingIntent(e);return this._transport.getOptionalContentConfig(t)}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(e=!1){return this._transport.startCleanup(e||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}cachedPageNumber(e){return this._transport.cachedPageNumber(e)}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()}}var ol,lh,Y0;class sce{constructor(e,t,i,s=!1){T(this,lh);T(this,ol,!1);this._pageIndex=e,this._pageInfo=t,this._transport=i,this._stats=s?new kO:null,this._pdfBug=s,this.commonObjs=i.commonObjs,this.objs=new Oz,this._intentStates=new Map,this.destroyed=!1,this.recordedBBoxes=null}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:e,rotation:t=this.rotate,offsetX:i=0,offsetY:s=0,dontFlip:r=!1}={}){return new Eb({viewBox:this.view,userUnit:this.userUnit,scale:e,rotation:t,offsetX:i,offsetY:s,dontFlip:r})}getAnnotations({intent:e="display"}={}){const{renderingIntent:t}=this._transport.getRenderingIntent(e);return this._transport.getAnnotations(this._pageIndex,t)}getJSActions(){return this._transport.getPageJSActions(this._pageIndex)}get filterFactory(){return this._transport.filterFactory}get isPureXfa(){return Ee(this,"isPureXfa",!!this._transport._htmlForXfa)}async getXfa(){var e;return((e=this._transport._htmlForXfa)==null?void 0:e.children[this._pageIndex])||null}render({canvasContext:e,canvas:t=e.canvas,viewport:i,intent:s="display",annotationMode:r=Ja.ENABLE,transform:a=null,background:o=null,optionalContentConfigPromise:l=null,annotationCanvasMap:c=null,pageColors:u=null,printAnnotationStorage:h=null,isEditing:f=!1,recordOperations:p=!1,operationsFilter:b=null}){var D,k,N;(D=this._stats)==null||D.time("Overall");const g=this._transport.getRenderingIntent(s,r,h,f),{renderingIntent:S,cacheKey:y}=g;A(this,ol,!1),l||(l=this._transport.getOptionalContentConfig(S));let v=this._intentStates.get(y);v||(v=Object.create(null),this._intentStates.set(y,v)),v.streamReaderCancelTimeout&&(clearTimeout(v.streamReaderCancelTimeout),v.streamReaderCancelTimeout=null);const _=!!(S&Ns.PRINT);v.displayReadyCapability||(v.displayReadyCapability=Promise.withResolvers(),v.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},(k=this._stats)==null||k.time("Page Request"),this._pumpOperatorList(g));const x=!!(this._pdfBug&&((N=globalThis.StepperManager)!=null&&N.enabled)),E=!this.recordedBBoxes&&(p||x),C=O=>{var j,L;if(v.renderTasks.delete(I),E){const U=(j=I.gfx)==null?void 0:j.dependencyTracker.take();U&&(I.stepper&&I.stepper.setOperatorBBoxes(U,I.gfx.dependencyTracker.takeDebugMetadata()),p&&(this.recordedBBoxes=U))}_&&A(this,ol,!0),P(this,lh,Y0).call(this),O?(I.capability.reject(O),this._abortOperatorList({intentState:v,reason:O instanceof Error?O:new Error(O)})):I.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"),(L=globalThis.Stats)!=null&&L.enabled&&globalThis.Stats.add(this.pageNumber,this._stats)
235)},I=new uT({callback:C,params:{canvas:t,canvasContext:e,dependencyTracker:E?new xle(t,v.operatorList.length,x):null,viewport:i,transform:a,background:o},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:c,operatorList:v.operatorList,pageIndex:this._pageIndex,canvasFactory:this._transport.canvasFactory,filterFactory:this._transport.filterFactory,useRequestAnimationFrame:!_,pdfBug:this._pdfBug,pageColors:u,enableHWA:this._transport.enableHWA,operationsFilter:b});(v.renderTasks||(v.renderTasks=new Set)).add(I);const R=I.task;return Promise.all([v.displayReadyCapability.promise,l]).then(([O,j])=>{var L;if(this.destroyed){C();return}if((L=this._stats)==null||L.time("Rendering"),!(j.renderingIntent&S))throw new Error("Must use the same `intent`-argument when calling the `PDFPageProxy.render` and `PDFDocumentProxy.getOptionalContentConfig` methods.");I.initializeGraphics({transparency:O,optionalContentConfig:j}),I.operatorListChanged()}).catch(C),R}getOperatorList({intent:e="display",annotationMode:t=Ja.ENABLE,printAnnotationStorage:i=null,isEditing:s=!1}={}){var c;function r(){o.operatorList.lastChunk&&(o.opListReadCapability.resolve(o.operatorList),o.renderTasks.delete(l))}const a=this._transport.getRenderingIntent(e,t,i,s,!0);let o=this._intentStates.get(a.cacheKey);o||(o=Object.create(null),this._intentStates.set(a.cacheKey,o));let l;return o.opListReadCapability||(l=Object.create(null),l.operatorListChanged=r,o.opListReadCapability=Promise.withResolvers(),(o.renderTasks||(o.renderTasks=new Set)).add(l),o.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},(c=this._stats)==null||c.time("Page Request"),this._pumpOperatorList(a)),o.opListReadCapability.promise}streamTextContent({includeMarkedContent:e=!1,disableNormalization:t=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,includeMarkedContent:e===!0,disableNormalization:t===!0},{highWaterMark:100,size(s){return s.items.length}})}getTextContent(e={}){if(this._transport._htmlForXfa)return this.getXfa().then(i=>rv.textContent(i));const t=this.streamTextContent(e);return new Promise(function(i,s){function r(){a.read().then(function({value:l,done:c}){if(c){i(o);return}o.lang??(o.lang=l.lang),Object.assign(o.styles,l.styles),o.items.push(...l.items),r()},s)}const a=t.getReader(),o={items:[],styles:Object.create(null),lang:null};r()})}getStructTree(){return this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const e=[];for(const t of this._intentStates.values())if(this._abortOperatorList({intentState:t,reason:new Error("Page was destroyed."),force:!0}),!t.opListReadCapability)for(const i of t.renderTasks)e.push(i.completed),i.cancel();return this.objs.clear(),A(this,ol,!1),Promise.all(e)}cleanup(e=!1){A(this,ol,!0);const t=P(this,lh,Y0).call(this);return e&&t&&this._stats&&(this._stats=new kO),t}_startRenderPage(e,t){var s,r;const i=this._intentStates.get(t);i&&((s=this._stats)==null||s.timeEnd("Page Request"),(r=i.displayReadyCapability)==null||r.resolve(e))}_renderPageChunk(e,t){for(let i=0,s=e.length;i<s;i++)t.operatorList.fnArray.push(e.fnArray[i]),t.operatorList.argsArray.push(e.argsArray[i]);t.operatorList.lastChunk=e.lastChunk,t.operatorList.separateAnnots=e.separateAnnots;for(const i of t.renderTasks)i.operatorListChanged();e.lastChunk&&P(this,lh,Y0).call(this)}_pumpOperatorList({renderingIntent:e,cacheKey:t,annotationStorageSerializable:i,modifiedIds:s}){const{map:r,transfer:a}=i,l=this._transport.messageHandler.sendWithStream("GetOperatorList",{pageIndex:this._pageIndex,intent:e,cacheKey:t,annotationStorage:r,modifiedIds:s},a).getReader(),c=this._intentStates.get(t);c.streamReader=l;const u=()=>{l.read().then(({value:h,done:f})=>{if(f){c.streamReader=null;return}this._transport.destroyed||(this._renderPageChunk(h,c),u())},h=>{if(c.streamReader=null,!this._transport.destroyed){if(c.operatorList){c.operatorList.lastChunk=!0;for(const f of c.renderTasks)f.operatorListChanged();P(this,lh,Y0).call(this)}if(c.displayReadyCapability)c.displayReadyCapability.reject(h);else if(c.opListReadCapability)c.opListReadCapability.reject(h);else throw h}})};u()}_abortOperatorList({intentState:e,reason:t,force:i=!1}){if(e.streamReader){if(e.streamReaderCancelTimeout&&(clearTimeout(e.streamReaderCancelTimeout),e.streamReaderCancelTimeout=null),!i){if(e.renderTasks.size>0)return;if(t instanceof vw){let s=nce;t.extraDelay>0&&t.extraDelay<1e3&&(s+=t.extraDelay),e.streamReaderCancelTimeout=setTimeout(()=>{e.streamReaderCancelTimeout=null,this._abortOperatorList({intentState:e,reason:t,force:!0})},s);return}}
235if(e.streamReader.cancel(new Ul(t.message)).catch(()=>{}),e.streamReader=null,!this._transport.destroyed){for(const[s,r]of this._intentStates)if(r===e){this._intentStates.delete(s);break}this.cleanup()}}}get stats(){return this._stats}}ol=new WeakMap,lh=new WeakSet,Y0=function(){if(!d(this,ol)||this.destroyed)return!1;for(const{renderTasks:e,operatorList:t}of this._intentStates.values())if(e.size>0||!t.lastChunk)return!1;return this._intentStates.clear(),this.objs.clear(),A(this,ol,!1),!0};var Hc,na,ll,ch,b1,uh,dh,Oi,lS,zz,Uz,W0,Rm,cS;const Rt=class Rt{constructor({name:e=null,port:t=null,verbosity:i=$oe()}={}){T(this,Oi);T(this,Hc,Promise.withResolvers());T(this,na,null);T(this,ll,null);T(this,ch,null);if(this.name=e,this.destroyed=!1,this.verbosity=i,t){if(d(Rt,dh).has(t))throw new Error("Cannot use more than one PDFWorker per port.");d(Rt,dh).set(t,this),P(this,Oi,zz).call(this,t)}else P(this,Oi,Uz).call(this)}get promise(){return d(this,Hc).promise}get port(){return d(this,ll)}get messageHandler(){return d(this,na)}destroy(){var e,t;this.destroyed=!0,(e=d(this,ch))==null||e.terminate(),A(this,ch,null),d(Rt,dh).delete(d(this,ll)),A(this,ll,null),(t=d(this,na))==null||t.destroy(),A(this,na,null)}static create(e){const t=d(this,dh).get(e==null?void 0:e.port);if(t){if(t._pendingDestroy)throw new Error("PDFWorker.create - the worker is being destroyed.\nPlease remember to await `PDFDocumentLoadingTask.destroy()`-calls.");return t}return new Rt(e)}static get workerSrc(){if(Tr.workerSrc)return Tr.workerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _setupFakeWorkerGlobal(){return Ee(this,"_setupFakeWorkerGlobal",(async()=>d(this,Rm,cS)?d(this,Rm,cS):(await import(this.workerSrc)).WorkerMessageHandler)())}};Hc=new WeakMap,na=new WeakMap,ll=new WeakMap,ch=new WeakMap,b1=new WeakMap,uh=new WeakMap,dh=new WeakMap,Oi=new WeakSet,lS=function(){d(this,Hc).resolve(),d(this,na).send("configure",{verbosity:this.verbosity})},zz=function(e){A(this,ll,e),A(this,na,new U0("main","worker",e)),d(this,na).on("ready",()=>{}),P(this,Oi,lS).call(this)},Uz=function(){if(d(Rt,uh)||d(Rt,Rm,cS)){P(this,Oi,W0).call(this);return}let{workerSrc:e}=Rt;try{Rt._isSameOrigin(window.location,e)||(e=Rt._createCDNWrapper(new URL(e,window.location).href));const t=new Worker(e,{type:"module"}),i=new U0("main","worker",t),s=()=>{r.abort(),i.destroy(),t.terminate(),this.destroyed?d(this,Hc).reject(new Error("Worker was destroyed")):P(this,Oi,W0).call(this)},r=new AbortController;t.addEventListener("error",()=>{d(this,ch)||s()},{signal:r.signal}),i.on("test",o=>{if(r.abort(),this.destroyed||!o){s();return}A(this,na,i),A(this,ll,t),A(this,ch,t),P(this,Oi,lS).call(this)}),i.on("ready",o=>{if(r.abort(),this.destroyed){s();return}try{a()}catch{P(this,Oi,W0).call(this)}});const a=()=>{const o=new Uint8Array;i.send("test",o,[o.buffer])};a();return}catch{yw("The worker has been disabled.")}P(this,Oi,W0).call(this)},W0=function(){d(Rt,uh)||(me("Setting up fake worker."),A(Rt,uh,!0)),Rt._setupFakeWorkerGlobal.then(e=>{if(this.destroyed){d(this,Hc).reject(new Error("Worker was destroyed"));return}const t=new fle;A(this,ll,t);const i=`fake${qt(Rt,b1)._++}`,s=new U0(i+"_worker",i,t);e.setup(s,t),A(this,na,new U0(i,i+"_worker",t)),P(this,Oi,lS).call(this)}).catch(e=>{d(this,Hc).reject(new Error(`Setting up fake worker failed: "${e.message}".`))})},Rm=new WeakSet,cS=function(){var e;try{return((e=globalThis.pdfjsWorker)==null?void 0:e.WorkerMessageHandler)||null}catch{return null}},T(Rt,Rm),T(Rt,b1,0),T(Rt,uh,!1),T(Rt,dh,new WeakMap),Pi&&(A(Rt,uh,!0),Tr.workerSrc||(Tr.workerSrc="./pdf.worker.mjs")),Rt._isSameOrigin=(e,t)=>{const i=URL.parse(e);if(!(i!=null&&i.origin)||i.origin==="null")return!1;const s=new URL(t,i);return i.origin===s.origin},Rt._createCDNWrapper=e=>{const t=`await import("${e}");`;return URL.createObjectURL(new Blob([t],{type:"text/javascript"}))},Rt.fromPort=e=>{if(tle("`PDFWorker.fromPort` - please use `PDFWorker.create` instead."),!(e!=null&&e.port))throw new Error("PDFWorker.fromPort - invalid method signature.");return Rt.create(e)};let Og=Rt;var cl,Va,km,Nm,ul,hh,K0;class rce{constructor(e,t,i,s,r,a){T(this,hh);T(this,cl,new Map);T(this,Va,new Map);T(this,km,new Map);T(this,Nm,new Map);T(this,ul,null);this.messageHandler=e,this.loadingTask=t,this.commonObjs=new Oz,this.fontLoader=new lle({ownerDocument:s.ownerDocument,styleElement:s.styleElement}),this.loadingParams=s.loadingParams,this._params=s,this.canvasFactory=r.canvasFactory,this.filterFactory=r.filterFactory,this.cMapReaderFactory=r.cMapReaderFactory,this.standardFontDataFactory=r.standardFontDataFactory,this.wasmFactory=r.wasmFactory,this.destroyed=!1,this.destroyCapability=null,this._networkStream=i,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=Promise.withResolvers(),this.enableHWA=a,this.setupMessageHandler()}get annotationStorage(){return Ee(this,"annotationStorage",new DR)}
235getRenderingIntent(e,t=Ja.ENABLE,i=null,s=!1,r=!1){let a=Ns.DISPLAY,o=qC;switch(e){case"any":a=Ns.ANY;break;case"display":break;case"print":a=Ns.PRINT;break;default:me(`getRenderingIntent - invalid intent: ${e}`)}const l=a&Ns.PRINT&&i instanceof vz?i:this.annotationStorage;switch(t){case Ja.DISABLE:a+=Ns.ANNOTATIONS_DISABLE;break;case Ja.ENABLE:break;case Ja.ENABLE_FORMS:a+=Ns.ANNOTATIONS_FORMS;break;case Ja.ENABLE_STORAGE:a+=Ns.ANNOTATIONS_STORAGE,o=l.serializable;break;default:me(`getRenderingIntent - invalid annotationMode: ${t}`)}s&&(a+=Ns.IS_EDITING),r&&(a+=Ns.OPLIST);const{ids:c,hash:u}=l.modifiedIds,h=[a,o.hash,u];return{renderingIntent:a,cacheKey:h.join("_"),annotationStorageSerializable:o,modifiedIds:c}}destroy(){var i;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=Promise.withResolvers(),(i=d(this,ul))==null||i.reject(new Error("Worker was destroyed during onPassword callback"));const e=[];for(const s of d(this,Va).values())e.push(s._destroy());d(this,Va).clear(),d(this,km).clear(),d(this,Nm).clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const t=this.messageHandler.sendWithPromise("Terminate",null);return e.push(t),Promise.all(e).then(()=>{var s,r;this.commonObjs.clear(),this.fontLoader.clear(),d(this,cl).clear(),this.filterFactory.destroy(),lv.cleanup(),(s=this._networkStream)==null||s.cancelAllRequests(new Ul("Worker was terminated.")),(r=this.messageHandler)==null||r.destroy(),this.messageHandler=null,this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:e,loadingTask:t}=this;e.on("GetReader",(i,s)=>{je(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=r=>{this._lastProgress={loaded:r.loaded,total:r.total}},s.onPull=()=>{this._fullReader.read().then(function({value:r,done:a}){if(a){s.close();return}je(r instanceof ArrayBuffer,"GetReader - expected an ArrayBuffer."),s.enqueue(new Uint8Array(r),1,[r])}).catch(r=>{s.error(r)})},s.onCancel=r=>{this._fullReader.cancel(r),s.ready.catch(a=>{if(!this.destroyed)throw a})}}),e.on("ReaderHeadersReady",async i=>{var o;await this._fullReader.headersReady;const{isStreamingSupported:s,isRangeSupported:r,contentLength:a}=this._fullReader;return(!s||!r)&&(this._lastProgress&&((o=t.onProgress)==null||o.call(t,this._lastProgress)),this._fullReader.onProgress=l=>{var c;(c=t.onProgress)==null||c.call(t,{loaded:l.loaded,total:l.total})}),{isStreamingSupported:s,isRangeSupported:r,contentLength:a}}),e.on("GetRangeReader",(i,s)=>{je(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const r=this._networkStream.getRangeReader(i.begin,i.end);if(!r){s.close();return}s.onPull=()=>{r.read().then(function({value:a,done:o}){if(o){s.close();return}je(a instanceof ArrayBuffer,"GetRangeReader - expected an ArrayBuffer."),s.enqueue(new Uint8Array(a),1,[a])}).catch(a=>{s.error(a)})},s.onCancel=a=>{r.cancel(a),s.ready.catch(o=>{if(!this.destroyed)throw o})}}),e.on("GetDoc",({pdfInfo:i})=>{this._numPages=i.numPages,this._htmlForXfa=i.htmlForXfa,delete i.htmlForXfa,t._capability.resolve(new ice(i,this))}),e.on("DocException",i=>{t._capability.reject(Xi(i))}),e.on("PasswordRequest",i=>{A(this,ul,Promise.withResolvers());try{if(!t.onPassword)throw Xi(i);const s=r=>{r instanceof Error?d(this,ul).reject(r):d(this,ul).resolve({password:r})};t.onPassword(s,i.code)}catch(s){d(this,ul).reject(s)}return d(this,ul).promise}),e.on("DataLoaded",i=>{var s;(s=t.onProgress)==null||s.call(t,{loaded:i.length,total:i.length}),this.downloadInfoCapability.resolve(i)}),e.on("StartRenderPage",i=>{if(this.destroyed)return;d(this,Va).get(i.pageIndex)._startRenderPage(i.transparency,i.cacheKey)}),e.on("commonobj",([i,s,r])=>{var a;if(this.destroyed||this.commonObjs.has(i))return null;switch(s){case"Font":if("error"in r){const h=r.error;me(`Error during font loading: ${h}`),this.commonObjs.resolve(i,h);break}const o=new sT(r),l=this._params.pdfBug&&((a=globalThis.FontInspector)!=null&&a.enabled)?(h,f)=>globalThis.FontInspector.fontAdded(h,f):null,c=new cle(o,l,r.extra,r.charProcOperatorList);this.fontLoader.bind(c).catch(()=>
235e.sendWithPromise("FontFallback",{id:i})).finally(()=>{!c.fontExtraProperties&&c.data&&c.clearData(),this.commonObjs.resolve(i,c)});break;case"CopyLocalImage":const{imageRef:u}=r;je(u,"The imageRef must be defined.");for(const h of d(this,Va).values())for(const[,f]of h.objs)if((f==null?void 0:f.ref)===u)return f.dataLen?(this.commonObjs.resolve(i,structuredClone(f)),f.dataLen):null;break;case"FontPath":case"Image":case"Pattern":this.commonObjs.resolve(i,r);break;default:throw new Error(`Got unknown common object type ${s}`)}return null}),e.on("obj",([i,s,r,a])=>{var l;if(this.destroyed)return;const o=d(this,Va).get(s);if(!o.objs.has(i)){if(o._intentStates.size===0){(l=a==null?void 0:a.bitmap)==null||l.close();return}switch(r){case"Image":case"Pattern":o.objs.resolve(i,a);break;default:throw new Error(`Got unknown object type ${r}`)}}}),e.on("DocProgress",i=>{var s;this.destroyed||(s=t.onProgress)==null||s.call(t,{loaded:i.loaded,total:i.total})}),e.on("FetchBinaryData",async i=>{if(this.destroyed)throw new Error("Worker was destroyed.");const s=this[i.type];if(!s)throw new Error(`${i.type} not initialized, see the \`useWorkerFetch\` parameter.`);return s.fetch(i)})}getData(){return this.messageHandler.sendWithPromise("GetData",null)}saveDocument(){var i;this.annotationStorage.size<=0&&me("saveDocument called while `annotationStorage` is empty, please use the getData-method instead.");const{map:e,transfer:t}=this.annotationStorage.serializable;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:e,filename:((i=this._fullReader)==null?void 0:i.filename)??null},t).finally(()=>{this.annotationStorage.resetModified()})}getPage(e){if(!Number.isInteger(e)||e<=0||e>this._numPages)return Promise.reject(new Error("Invalid page request."));const t=e-1,i=d(this,km).get(t);if(i)return i;const s=this.messageHandler.sendWithPromise("GetPage",{pageIndex:t}).then(r=>{if(this.destroyed)throw new Error("Transport destroyed");r.refStr&&d(this,Nm).set(r.refStr,e);const a=new sce(t,r,this,this._params.pdfBug);return d(this,Va).set(t,a),a});return d(this,km).set(t,s),s}getPageIndex(e){return YC(e)?this.messageHandler.sendWithPromise("GetPageIndex",{num:e.num,gen:e.gen}):Promise.reject(new Error("Invalid pageIndex request."))}getAnnotations(e,t){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:e,intent:t})}getFieldObjects(){return P(this,hh,K0).call(this,"GetFieldObjects")}hasJSActions(){return P(this,hh,K0).call(this,"HasJSActions")}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(e){return typeof e!="string"?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:e})}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)}getAnnotationsByType(e,t){return this.messageHandler.sendWithPromise("GetAnnotationsByType",{types:e,pageIndexesToSkip:t})}getDocJSActions(){return P(this,hh,K0).call(this,"GetDocJSActions")}getPageJSActions(e){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:e})}getStructTree(e){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:e})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(e){return P(this,hh,K0).call(this,"GetOptionalContentConfig").then(t=>new Ble(t,e))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){const e="GetMetadata",t=d(this,cl).get(e);if(t)return t;
235const i=this.messageHandler.sendWithPromise(e,null).then(s=>{var r,a;return{info:s[0],metadata:s[1]?new Ole(s[1]):null,contentDispositionFilename:((r=this._fullReader)==null?void 0:r.filename)??null,contentLength:((a=this._fullReader)==null?void 0:a.contentLength)??null}});return d(this,cl).set(e,i),i}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}async startCleanup(e=!1){if(!this.destroyed){await this.messageHandler.sendWithPromise("Cleanup",null);for(const t of d(this,Va).values())if(!t.cleanup())throw new Error(`startCleanup: Page ${t.pageNumber} is currently rendering.`);this.commonObjs.clear(),e||this.fontLoader.clear(),d(this,cl).clear(),this.filterFactory.destroy(!0),lv.cleanup()}}cachedPageNumber(e){if(!YC(e))return null;const t=e.gen===0?`${e.num}R`:`${e.num}R${e.gen}`;return d(this,Nm).get(t)??null}}cl=new WeakMap,Va=new WeakMap,km=new WeakMap,Nm=new WeakMap,ul=new WeakMap,hh=new WeakSet,K0=function(e,t=null){const i=d(this,cl).get(e);if(i)return i;const s=this.messageHandler.sendWithPromise(e,t);return d(this,cl).set(e,s),s};var Gc;class ace{constructor(e){T(this,Gc,null);q(this,"onContinue",null);q(this,"onError",null);A(this,Gc,e)}get promise(){return d(this,Gc).capability.promise}cancel(e=0){d(this,Gc).cancel(null,e)}get separateAnnots(){const{separateAnnots:e}=d(this,Gc).operatorList;if(!e)return!1;const{annotationCanvasMap:t}=d(this,Gc);return e.form||e.canvas&&(t==null?void 0:t.size)>0}}Gc=new WeakMap;var $c,fh;const vd=class vd{constructor({callback:e,params:t,objs:i,commonObjs:s,annotationCanvasMap:r,operatorList:a,pageIndex:o,canvasFactory:l,filterFactory:c,useRequestAnimationFrame:u=!1,pdfBug:h=!1,pageColors:f=null,enableHWA:p=!1,operationsFilter:b=null}){T(this,$c,null);this.callback=e,this.params=t,this.objs=i,this.commonObjs=s,this.annotationCanvasMap=r,this.operatorListIdx=null,this.operatorList=a,this._pageIndex=o,this.canvasFactory=l,this.filterFactory=c,this._pdfBug=h,this.pageColors=f,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=u===!0&&typeof window<"u",this.cancelled=!1,this.capability=Promise.withResolvers(),this.task=new ace(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=t.canvas,this._canvasContext=t.canvas?null:t.canvasContext,this._enableHWA=p,this._dependencyTracker=t.dependencyTracker,this._operationsFilter=b}
235get completed(){return this.capability.promise.catch(function(){})}initializeGraphics({transparency:e=!1,optionalContentConfig:t}){var l,c;if(this.cancelled)return;if(this._canvas){if(d(vd,fh).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.");d(vd,fh).add(this._canvas)}this._pdfBug&&((l=globalThis.StepperManager)!=null&&l.enabled)&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{viewport:i,transform:s,background:r,dependencyTracker:a}=this.params,o=this._canvasContext||this._canvas.getContext("2d",{alpha:!1,willReadFrequently:!this._enableHWA});this.gfx=new Ap(o,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:t},this.annotationCanvasMap,this.pageColors,a),this.gfx.beginDrawing({transform:s,viewport:i,transparency:e,background:r}),this.operatorListIdx=0,this.graphicsReady=!0,(c=this.graphicsReadyCallback)==null||c.call(this)}cancel(e=null,t=0){var i,s,r;this.running=!1,this.cancelled=!0,(i=this.gfx)==null||i.endDrawing(),d(this,$c)&&(window.cancelAnimationFrame(d(this,$c)),A(this,$c,null)),d(vd,fh).delete(this._canvas),e||(e=new vw(`Rendering cancelled, page ${this._pageIndex+1}`,t)),this.callback(e),(r=(s=this.task).onError)==null||r.call(s,e)}operatorListChanged(){var e,t;if(!this.graphicsReady){this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound);return}(e=this.gfx.dependencyTracker)==null||e.growOperationsCount(this.operatorList.fnArray.length),(t=this.stepper)==null||t.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?A(this,$c,window.requestAnimationFrame(()=>{A(this,$c,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._operationsFilter),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),d(vd,fh).delete(this._canvas),this.callback())))}};$c=new WeakMap,fh=new WeakMap,T(vd,fh,new WeakSet);let uT=vd;const Vz="5.4.296",Xz="f56dc8601";var Ss,ph,Mm,Cn,b2,Om,dl,_2,qc,ia,S2,ct,dT,hT,fT,fd,Hz,ac;const Gi=class Gi{constructor({editor:e=null,uiManager:t=null}){T(this,ct);T(this,Ss,null);T(this,ph,null);T(this,Mm);T(this,Cn,null);T(this,b2,!1);T(this,Om,!1);T(this,dl,null);T(this,_2);T(this,qc,null);T(this,ia,null);var i,s;e?(A(this,Om,!1),A(this,dl,e)):A(this,Om,!0),A(this,ia,(e==null?void 0:e._uiManager)||t),A(this,_2,d(this,ia)._eventBus),A(this,Mm,((i=e==null?void 0:e.color)==null?void 0:i.toUpperCase())||((s=d(this,ia))==null?void 0:s.highlightColors.values().next().value)||"#FFFF98"),d(Gi,S2)||A(Gi,S2,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"}))}static get _keyboardManager(){return Ee(this,"_keyboardManager",new Ib([[["Escape","mac+Escape"],Gi.prototype._hideDropdownFromKeyboard],[[" ","mac+ "],Gi.prototype._colorSelectFromKeyboard],[["ArrowDown","ArrowRight","mac+ArrowDown","mac+ArrowRight"],Gi.prototype._moveToNext],[["ArrowUp","ArrowLeft","mac+ArrowUp","mac+ArrowLeft"],Gi.prototype._moveToPrevious],[["Home","mac+Home"],Gi.prototype._moveToBeginning],[["End","mac+End"],Gi.prototype._moveToEnd]]))}renderButton(){const e=A(this,Ss,document.createElement("button"));e.className="colorPicker",e.tabIndex="0",e.setAttribute("data-l10n-id","pdfjs-editor-colorpicker-button"),e.ariaHasPopup="true",d(this,dl)&&(e.ariaControls=`${d(this,dl).id}_colorpicker_dropdown`);const t=d(this,ia)._signal;e.addEventListener("click",P(this,ct,fd).bind(this),{signal:t}),e.addEventListener("keydown",P(this,ct,fT).bind(this),{signal:t});const i=A(this,ph,document.createElement("span"));return i.className="swatch",i.ariaHidden="true",i.style.backgroundColor=d(this,Mm),e.append(i),e}renderMainDropdown(){const e=A(this,Cn,P(this,ct,dT).call(this));return e.ariaOrientation="horizontal",e.ariaLabelledBy="highlightColorPickerLabel",e}_colorSelectFromKeyboard(e){if(e.target===d(this,Ss)){P(this,ct,fd).call(this,e);return}const t=e.target.getAttribute("data-color");t&&P(this,ct,hT).call(this,t,e)}_moveToNext(e){var t,i;if(!d(this,ct,ac)){P(this,ct,fd).call(this,e);return}if(e.target===d(this,Ss)){(t=d(this,Cn).firstChild)==null||t.focus();return}(i=e.target.nextSibling)==null||i.focus()}_moveToPrevious(e){var t,i;if(e.target===((t=d(this,Cn))==null?void 0:t.firstChild)||e.target===d(this,Ss)){d(this,ct,ac)&&this._hideDropdownFromKeyboard();return}d(this,ct,ac)||P(this,ct,fd).call(this,e),(i=e.target.previousSibling)==null||i.focus()}_moveToBeginning(e){var t;if(!d(this,ct,ac)){P(this,ct,fd).call(this,e);return}(t=d(this,Cn).firstChild)==null||t.focus()}_moveToEnd(e){var t;if(!d(this,ct,ac)){P(this,ct,fd).call(this,e);return}(t=d(this,Cn).lastChild)==null||t.focus()}hideDropdown(){var e,t;(e=d(this,Cn))==null||e.classList.add("hidden"),d(this,Ss).ariaExpanded="false",(t=d(this,qc))==null||t.abort(),A(this,qc,null)}_hideDropdownFromKeyboard(){var e;if(!d(this,Om)){if(!d(this,ct,ac)){(e=d(this,dl))==null||e.unselect();return}this.hideDropdown(),d(this,Ss).focus({preventScroll:!0,focusVisible:d(this,b2)})}}updateColor(e){if(d(this,ph)&&(d(this,ph).style.backgroundColor=e),!d(this,Cn))return;const t=d(this,ia).highlightColors.values();for(const i of d(this,Cn).children)i.ariaSelected=t.next().value===e.toUpperCase()}destroy(){var e,t;(e=d(this,Ss))==null||e.remove(),A(this,Ss,null),A(this,ph,null),(t=d(this,Cn))==null||t.remove(),A(this,Cn,null)}};Ss=new WeakMap,ph=new WeakMap,Mm=new WeakMap,Cn=new WeakMap,b2=new WeakMap,Om=new WeakMap,dl=new WeakMap,_2=new WeakMap,qc=new WeakMap,ia=new WeakMap,S2=new WeakMap,ct=new WeakSet,dT=function(){const e=document.createElement("div"),t=d(this,ia)._signal;e.addEventListener("contextmenu",er,{signal:t}),e.className="dropdown",e.role="listbox",e.ariaMultiSelectable="false",e.ariaOrientation="vertical",e.setAttribute("data-l10n-id","pdfjs-editor-colorpicker-dropdown"),d(this,dl)&&(e.id=`${d(this,dl).id}_colorpicker_dropdown`);for(const[i,s]of d(this,ia).highlightColors){const r=document.createElement("button");r.tabIndex="0",r.role="option",r.setAttribute("data-color",s),r.title=i,r.setAttribute("data-l10n-id",d(Gi,S2)[i]);const a=document.createElement("span");r.append(a),a.className="swatch",a.style.backgroundColor=s,r.ariaSelected=s===d(this,Mm),r.addEventListener("click",P(this,ct,hT).bind(this,s),{signal:t}),e.append(r)}return e.addEventListener("keydown",P(this,ct,fT).bind(this),{signal:t}),e},hT=function(e,t){t.stopPropagation(),d(this,_2).dispatch("switchannotationeditorparams",{source:this,type:Me.HIGHLIGHT_COLOR,value:e}),this.updateColor(e)},fT=function(e){Gi._keyboardManager.exec(this,e)},fd=function(e){if(d(this,ct,ac)){this.hideDropdown();return}if(A(this,b2,e.detail===0),d(this,qc)||(A(this,qc,new AbortController),window.addEventListener("pointerdown",P(this,ct,Hz).bind(this),{signal:d(this,ia).combinedSignal(d(this,qc))})),d(this,Ss).ariaExpanded="true",d(this,Cn)){d(this,Cn).classList.remove("hidden");return}const t=A(this,Cn,P(this,ct,dT).call(this));d(this,Ss).append(t)},Hz=function(e){var t;(t=d(this,Cn))!=null&&t.contains(e.target)||this.hideDropdown()},ac=function(){return d(this,Cn)&&!d(this,Cn).classList.contains("hidden")},T(Gi,S2,null);let cv=Gi;var Xa,x2,Lm,w2;const bd=class bd{constructor(e){T(this,Xa,null);T(this,x2,null);T(this,Lm,null);A(this,x2,e),A(this,Lm,e._uiManager),d(bd,w2)||A(bd,w2,Object.freeze({freetext:"pdfjs-editor-color-picker-free-text-input",ink:"pdfjs-editor-color-picker-ink-input"}))}renderButton(){if(d(this,Xa))return d(this,Xa);
235const{editorType:e,colorType:t,colorValue:i}=d(this,x2),s=A(this,Xa,document.createElement("input"));return s.type="color",s.value=i||"#000000",s.className="basicColorPicker",s.tabIndex=0,s.setAttribute("data-l10n-id",d(bd,w2)[e]),s.addEventListener("input",()=>{d(this,Lm).updateParams(t,s.value)},{signal:d(this,Lm)._signal}),s}update(e){d(this,Xa)&&(d(this,Xa).value=e)}destroy(){var e;(e=d(this,Xa))==null||e.remove(),A(this,Xa,null)}hideDropdown(){}};Xa=new WeakMap,x2=new WeakMap,Lm=new WeakMap,w2=new WeakMap,T(bd,w2,null);let Gx=bd;function eL(n){return Math.floor(Math.max(0,Math.min(1,n))*255).toString(16).padStart(2,"0")}function A0(n){return Math.max(0,Math.min(255,255*n))}class tL{static CMYK_G([e,t,i,s]){return["G",1-Math.min(1,.3*e+.59*i+.11*t+s)]}static G_CMYK([e]){return["CMYK",0,0,0,1-e]}static G_RGB([e]){return["RGB",e,e,e]}static G_rgb([e]){return e=A0(e),[e,e,e]}static G_HTML([e]){const t=eL(e);return`#${t}${t}${t}`}static RGB_G([e,t,i]){return["G",.3*e+.59*t+.11*i]}static RGB_rgb(e){return e.map(A0)}static RGB_HTML(e){return`#${e.map(eL).join("")}`}static T_HTML(){return"#00000000"}static T_rgb(){return[null]}static CMYK_RGB([e,t,i,s]){return["RGB",1-Math.min(1,e+s),1-Math.min(1,i+s),1-Math.min(1,t+s)]}static CMYK_rgb([e,t,i,s]){return[A0(1-Math.min(1,e+s)),A0(1-Math.min(1,i+s)),A0(1-Math.min(1,t+s))]}static CMYK_HTML(e){const t=this.CMYK_RGB(e).slice(1);return this.RGB_HTML(t)}static RGB_CMYK([e,t,i]){const s=1-e,r=1-t,a=1-i,o=Math.min(s,r,a);return["CMYK",s,r,a,o]}}class oce{create(e,t,i=!1){if(e<=0||t<=0)throw new Error("Invalid SVG dimensions");const s=this._createSVG("svg:svg");return s.setAttribute("version","1.1"),i||(s.setAttribute("width",`${e}px`),s.setAttribute("height",`${t}px`)),s.setAttribute("preserveAspectRatio","none"),s.setAttribute("viewBox",`0 0 ${e} ${t}`),s}createElement(e){if(typeof e!="string")throw new Error("Invalid SVG element type");return this._createSVG(e)}_createSVG(e){yt("Abstract method `_createSVG` called.")}}class uv extends oce{_createSVG(e){return document.createElementNS(Mo,e)}}const lce=9,of=new WeakSet,cce=new Date().getTimezoneOffset()*60*1e3;class nL{static create(e){switch(e.data.annotationType){case an.LINK:return new MR(e);case an.TEXT:return new dce(e);case an.WIDGET:switch(e.data.fieldType){case"Tx":return new hce(e);case"Btn":return e.data.radioButton?new qz(e):e.data.checkBox?new pce(e):new mce(e);case"Ch":return new gce(e);case"Sig":return new fce(e)}return new Sf(e);case an.POPUP:return new mT(e);case an.FREETEXT:return new Jz(e);case an.LINE:return new vce(e);case an.SQUARE:return new bce(e);case an.CIRCLE:return new _ce(e);case an.POLYLINE:return new Zz(e);case an.CARET:return new xce(e);case an.INK:return new OR(e);case an.POLYGON:return new Sce(e);case an.HIGHLIGHT:return new e9(e);case an.UNDERLINE:return new wce(e);case an.SQUIGGLY:return new Ece(e);case an.STRIKEOUT:return new Ace(e);case an.STAMP:return new t9(e);case an.FILEATTACHMENT:return new Ice(e);default:return new $t(e)}}}var mh,Bm,vr,E2,pT;const Ik=class Ik{constructor(e,{isRenderable:t=!1,ignoreBorder:i=!1,createQuadrilaterals:s=!1}={}){T(this,E2);T(this,mh,null);T(this,Bm,!1);T(this,vr,null);this.isRenderable=t,this.data=e.data,this.layer=e.layer,this.linkService=e.linkService,this.downloadManager=e.downloadManager,this.imageResourcesPath=e.imageResourcesPath,this.renderForms=e.renderForms,this.svgFactory=e.svgFactory,this.annotationStorage=e.annotationStorage,this.enableComment=e.enableComment,this.enableScripting=e.enableScripting,this.hasJSActions=e.hasJSActions,this._fieldObjects=e.fieldObjects,this.parent=e.parent,t&&(this.container=this._createContainer(i)),s&&this._createQuadrilaterals()}static _hasPopupData({contentsObj:e,richText:t}){return!!(e!=null&&e.str||t!=null&&t.str)}get _isEditable(){return this.data.isEditable}get hasPopupData(){return Ik._hasPopupData(this.data)||this.enableComment&&!!this.commentText}get commentData(){var i;const{data:e}=this,t=(i=this.annotationStorage)==null?void 0:i.getEditor(e.id);return t?t.getData():e}get hasCommentButton(){return this.enableComment&&this.hasPopupElement}
235get commentButtonPosition(){var o;const e=(o=this.annotationStorage)==null?void 0:o.getEditor(this.data.id);if(e)return e.commentButtonPositionInPage;const{quadPoints:t,inkLists:i,rect:s}=this.data;let r=-1/0,a=-1/0;if((t==null?void 0:t.length)>=8){for(let l=0;l<t.length;l+=8)t[l+1]>a?(a=t[l+1],r=t[l+2]):t[l+1]===a&&(r=Math.max(r,t[l+2]));return[r,a]}if((i==null?void 0:i.length)>=1){for(const l of i)for(let c=0,u=l.length;c<u;c+=2)l[c+1]>a?(a=l[c+1],r=l[c]):l[c+1]===a&&(r=Math.max(r,l[c]));if(r!==1/0)return[r,a]}return s?[s[2],s[3]]:null}_normalizePoint(e){const{page:{view:t},viewport:{rawDims:{pageWidth:i,pageHeight:s,pageX:r,pageY:a}}}=this.parent;return e[1]=t[3]-e[1]+t[1],e[0]=100*(e[0]-r)/i,e[1]=100*(e[1]-a)/s,e}get commentText(){var t,i,s;const{data:e}=this;return((i=(t=this.annotationStorage.getRawValue(`${iv}${e.id}`))==null?void 0:t.popup)==null?void 0:i.contents)||((s=e.contentsObj)==null?void 0:s.str)||""}set commentText(e){const{data:t}=this,i={deleted:!e,contents:e||""};this.annotationStorage.updateEditor(t.id,{popup:i})||this.annotationStorage.setValue(`${iv}${t.id}`,{id:t.id,annotationType:t.annotationType,pageIndex:this.parent.page._pageIndex,popup:i,popupRef:t.popupRef,modificationDate:new Date}),e||this.removePopup()}removePopup(){var e,t;(t=((e=d(this,vr))==null?void 0:e.popup)||this.popup)==null||t.remove(),A(this,vr,this.popup=null)}updateEdited(e){var r;if(!this.container)return;e.rect&&(d(this,mh)||A(this,mh,{rect:this.data.rect.slice(0)}));const{rect:t,popup:i}=e;t&&P(this,E2,pT).call(this,t);let s=((r=d(this,vr))==null?void 0:r.popup)||this.popup;!s&&(i!=null&&i.text)&&(this._createPopup(i),s=d(this,vr).popup),s&&(s.updateEdited(e),i!=null&&i.deleted&&(s.remove(),A(this,vr,null),this.popup=null))}resetEdited(){var e;d(this,mh)&&(P(this,E2,pT).call(this,d(this,mh).rect),(e=d(this,vr))==null||e.popup.resetEdited(),A(this,mh,null))}_createContainer(e){const{data:t,parent:{page:i,viewport:s}}=this,r=document.createElement("section");r.setAttribute("data-annotation-id",t.id),!(this instanceof Sf)&&!(this instanceof MR)&&(r.tabIndex=0);const{style:a}=r;if(a.zIndex=this.parent.zIndex,this.parent.zIndex+=2,t.alternativeText&&(r.title=t.alternativeText),t.noRotate&&r.classList.add("norotate"),!t.rect||this instanceof mT){const{rotation:g}=t;return!t.hasOwnCanvas&&g!==0&&this.setRotation(g,r),r}const{width:o,height:l}=this;if(!e&&t.borderStyle.width>0){a.borderWidth=`${t.borderStyle.width}px`;const g=t.borderStyle.horizontalCornerRadius,S=t.borderStyle.verticalCornerRadius;if(g>0||S>0){const v=`calc(${g}px * var(--total-scale-factor)) / calc(${S}px * var(--total-scale-factor))`;a.borderRadius=v}else if(this instanceof qz){const v=`calc(${o}px * var(--total-scale-factor)) / calc(${l}px * var(--total-scale-factor))`;a.borderRadius=v}switch(t.borderStyle.style){case Mf.SOLID:a.borderStyle="solid";break;case Mf.DASHED:a.borderStyle="dashed";break;case Mf.BEVELED:me("Unimplemented border style: beveled");break;case Mf.INSET:me("Unimplemented border style: inset");break;case Mf.UNDERLINE:a.borderBottomStyle="solid";break}const y=t.borderColor||null;y?(A(this,Bm,!0),a.borderColor=re.makeHexColor(y[0]|0,y[1]|0,y[2]|0)):a.borderWidth=0}const c=re.normalizeRect([t.rect[0],i.view[3]-t.rect[1]+i.view[1],t.rect[2],i.view[3]-t.rect[3]+i.view[1]]),{pageWidth:u,pageHeight:h,pageX:f,pageY:p}=s.rawDims;a.left=`${100*(c[0]-f)/u}%`,a.top=`${100*(c[1]-p)/h}%`;const{rotation:b}=t;return t.hasOwnCanvas||b===0?(a.width=`${100*o/u}%`,a.height=`${100*l/h}%`):this.setRotation(b,r),r}setRotation(e,t=this.container){if(!this.data.rect)return;const{pageWidth:i,pageHeight:s}=this.parent.viewport.rawDims;let{width:r,height:a}=this;e%180!==0&&([r,a]=[a,r]),t.style.width=`${100*r/i}%`,t.style.height=`${100*a/s}%`,t.setAttribute("data-main-rotation",(360-e)%360)}get _commonActions(){const e=(t,i,s)=>{const r=s.detail[t],a=r[0],o=r.slice(1);s.target.style[i]=tL[`${a}_HTML`](o),this.annotationStorage.setValue(this.data.id,{[i]:tL[`${a}_rgb`](o)})};return Ee(this,"_commonActions",{display:t=>{const{display:i}=t.detail,s=i%2===1;this.container.style.visibility=s?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noView:s,noPrint:i===1||i===2})},print:t=>{this.annotationStorage.setValue(this.data.id,{noPrint:!t.detail.print})},hidden:t=>{const{hidden:i}=t.detail;this.container.style.visibility=i?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noPrint:i,noView:i})},focus:t=>{setTimeout(()=>
235t.target.focus({preventScroll:!1}),0)},userName:t=>{t.target.title=t.detail.userName},readonly:t=>{t.target.disabled=t.detail.readonly},required:t=>{this._setRequired(t.target,t.detail.required)},bgColor:t=>{e("bgColor","backgroundColor",t)},fillColor:t=>{e("fillColor","backgroundColor",t)},fgColor:t=>{e("fgColor","color",t)},textColor:t=>{e("textColor","color",t)},borderColor:t=>{e("borderColor","borderColor",t)},strokeColor:t=>{e("strokeColor","borderColor",t)},rotation:t=>{const i=t.detail.rotation;this.setRotation(i),this.annotationStorage.setValue(this.data.id,{rotation:i})}})}_dispatchEventFromSandbox(e,t){const i=this._commonActions;for(const s of Object.keys(t.detail)){const r=e[s]||i[s];r==null||r(t)}}_setDefaultPropertiesFromJS(e){if(!this.enableScripting)return;const t=this.annotationStorage.getRawValue(this.data.id);if(!t)return;const i=this._commonActions;for(const[s,r]of Object.entries(t)){const a=i[s];if(a){const o={detail:{[s]:r},target:e};a(o),delete t[s]}}}_createQuadrilaterals(){if(!this.container)return;const{quadPoints:e}=this.data;if(!e)return;const[t,i,s,r]=this.data.rect.map(g=>Math.fround(g));if(e.length===8){const[g,S,y,v]=e.subarray(2,6);if(s===g&&r===S&&t===y&&i===v)return}const{style:a}=this.container;let o;if(d(this,Bm)){const{borderColor:g,borderWidth:S}=a;a.borderWidth=0,o=["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="${g}" stroke-width="${S}">`],this.container.classList.add("hasBorder")}const l=s-t,c=r-i,{svgFactory:u}=this,h=u.createElement("svg");h.classList.add("quadrilateralsContainer"),h.setAttribute("width",0),h.setAttribute("height",0),h.role="none";const f=u.createElement("defs");h.append(f);const p=u.createElement("clipPath"),b=`clippath_${this.data.id}`;p.setAttribute("id",b),p.setAttribute("clipPathUnits","objectBoundingBox"),f.append(p);for(let g=2,S=e.length;g<S;g+=8){const y=e[g],v=e[g+1],_=e[g+2],x=e[g+3],E=u.createElement("rect"),C=(_-t)/l,I=(r-v)/c,R=(y-_)/l,D=(v-x)/c;E.setAttribute("x",C),E.setAttribute("y",I),E.setAttribute("width",R),E.setAttribute("height",D),p.append(E),o==null||o.push(`<rect vector-effect="non-scaling-stroke" x="${C}" y="${I}" width="${R}" height="${D}"/>`)}d(this,Bm)&&(o.push("</g></svg>')"),a.backgroundImage=o.join("")),this.container.append(h),this.container.style.clipPath=`url(#${b})`}_createPopup(e=null){const{data:t}=this;let i,s;e?(i={str:e.text},s=e.date):(i=t.contentsObj,s=t.modificationDate);const r=A(this,vr,new mT({data:{color:t.color,titleObj:t.titleObj,modificationDate:s,contentsObj:i,richText:t.richText,parentRect:t.rect,borderStyle:0,id:`popup_${t.id}`,rotation:t.rotation,noRotate:!0},linkService:this.linkService,parent:this.parent,elements:[this]}));this.parent._commentManager||this.parent.div.append(r.render())}get hasPopupElement(){return!!(d(this,vr)||this.popup||this.data.popupRef)}get extraPopupElement(){return d(this,vr)}render(){yt("Abstract method `AnnotationElement.render` called")}_getElementsByName(e,t=null){const i=[];if(this._fieldObjects){const s=this._fieldObjects[e];if(s)for(const{page:r,id:a,exportValues:o}of s){if(r===-1||a===t)continue;const l=typeof o=="string"?o:null,c=document.querySelector(`[data-element-id="${a}"]`);if(c&&!of.has(c)){me(`_getElementsByName - element not allowed: ${a}`);continue}i.push({id:a,exportValue:l,domElement:c})}return i}for(const s of document.getElementsByName(e)){const{exportValue:r}=s,a=s.getAttribute("data-element-id");a!==t&&of.has(s)&&i.push({id:a,exportValue:r,domElement:s})}return i}show(){var e;this.container&&(this.container.hidden=!1),(e=this.popup)==null||e.maybeShow()}hide(){var e;this.container&&(this.container.hidden=!0),(e=this.popup)==null||e.forceHide()}getElementsToTriggerPopup(){return this.container}addHighlightArea(){const e=this.getElementsToTriggerPopup();if(Array.isArray(e))for(const t of e)t.classList.add("highlightArea");else e.classList.add("highlightArea")}_editOnDoubleClick(){if(!this._isEditable)return;const{annotationEditorType:e,data:{id:t}}=this;this.container.addEventListener("dblclick",()=>{var i;(i=this.linkService.eventBus)==null||i.dispatch("switchannotationeditormode",{source:this,mode:e,editId:t,mustEnterInEditMode:!0})})}get width(){return this.data.rect[2]-this.data.rect[0]}get height(){return this.data.rect[3]-this.data.rect[1]}};
235mh=new WeakMap,Bm=new WeakMap,vr=new WeakMap,E2=new WeakSet,pT=function(e){const{container:{style:t},data:{rect:i,rotation:s},parent:{viewport:{rawDims:{pageWidth:r,pageHeight:a,pageX:o,pageY:l}}}}=this;i==null||i.splice(0,4,...e),t.left=`${100*(e[0]-o)/r}%`,t.top=`${100*(a-e[3]+l)/a}%`,s===0?(t.width=`${100*(e[2]-e[0])/r}%`,t.height=`${100*(e[3]-e[1])/a}%`):this.setRotation(s)};let $t=Ik;class uce extends $t{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0}),this.editor=e.editor}render(){return this.container.className="editorAnnotation",this.container}createOrUpdatePopup(){const{editor:e}=this;e.hasComment&&(this._createPopup(e.comment),this.extraPopupElement.popup.renderCommentButton())}get hasCommentButton(){return this.enableComment&&this.editor.hasComment}get commentButtonPosition(){return this.editor.commentButtonPositionInPage}get commentText(){return this.editor.comment.text}set commentText(e){this.editor.comment=e,e||this.removePopup()}get commentData(){return this.editor.getData()}remove(){this.container.remove(),this.container=null,this.removePopup()}}var zs,pd,Gz,$z;class MR extends $t{constructor(t,i=null){super(t,{isRenderable:!0,ignoreBorder:!!(i!=null&&i.ignoreBorder),createQuadrilaterals:!0});T(this,zs);this.isTooltipOnly=t.data.isTooltipOnly}render(){const{data:t,linkService:i}=this,s=document.createElement("a");s.setAttribute("data-element-id",t.id);let r=!1;return t.url?(i.addLinkAttributes(s,t.url,t.newWindow),r=!0):t.action?(this._bindNamedAction(s,t.action,t.overlaidText),r=!0):t.attachment?(P(this,zs,Gz).call(this,s,t.attachment,t.overlaidText,t.attachmentDest),r=!0):t.setOCGState?(P(this,zs,$z).call(this,s,t.setOCGState,t.overlaidText),r=!0):t.dest?(this._bindLink(s,t.dest,t.overlaidText),r=!0):(t.actions&&(t.actions.Action||t.actions["Mouse Up"]||t.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(s,t),r=!0),t.resetForm?(this._bindResetFormAction(s,t.resetForm),r=!0):this.isTooltipOnly&&!r&&(this._bindLink(s,""),r=!0)),this.container.classList.add("linkAnnotation"),r&&this.container.append(s),this.container}_bindLink(t,i,s=""){t.href=this.linkService.getDestinationHash(i),t.onclick=()=>(i&&this.linkService.goToDestination(i),!1),(i||i==="")&&P(this,zs,pd).call(this),s&&(t.title=s)}_bindNamedAction(t,i,s=""){t.href=this.linkService.getAnchorUrl(""),t.onclick=()=>(this.linkService.executeNamedAction(i),!1),s&&(t.title=s),P(this,zs,pd).call(this)}_bindJSAction(t,i){t.href=this.linkService.getAnchorUrl("");const s=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const r of Object.keys(i.actions)){const a=s.get(r);a&&(t[a]=()=>{var o;return(o=this.linkService.eventBus)==null||o.dispatch("dispatcheventinsandbox",{source:this,detail:{id:i.id,name:r}}),!1})}i.overlaidText&&(t.title=i.overlaidText),t.onclick||(t.onclick=()=>!1),P(this,zs,pd).call(this)}_bindResetFormAction(t,i){const s=t.onclick;if(s||(t.href=this.linkService.getAnchorUrl("")),P(this,zs,pd).call(this),!this._fieldObjects){me('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),s||(t.onclick=()=>!1);return}t.onclick=()=>{var h;s==null||s();const{fields:r,refs:a,include:o}=i,l=[];if(r.length!==0||a.length!==0){const f=new Set(a);for(const p of r){const b=this._fieldObjects[p]||[];for(const{id:g}of b)f.add(g)}for(const p of Object.values(this._fieldObjects))for(const b of p)f.has(b.id)===o&&l.push(b)}else for(const f of Object.values(this._fieldObjects))l.push(...f);const c=this.annotationStorage,u=[];for(const f of l){const{id:p}=f;switch(u.push(p),f.type){case"text":{const g=f.defaultValue||"";c.setValue(p,{value:g});break}case"checkbox":case"radiobutton":{const g=f.defaultValue===f.exportValues;c.setValue(p,{value:g});break}case"combobox":case"listbox":{const g=f.defaultValue||"";c.setValue(p,{value:g});break}default:continue}const b=document.querySelector(`[data-element-id="${p}"]`);if(b){if(!of.has(b)){me(`_bindResetFormAction - element not allowed: ${p}`);continue}}else continue;b.dispatchEvent(new Event("resetform"))}return this.enableScripting&&((h=this.linkService.eventBus)==null||h.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:u,name:"ResetForm"}})),!1}}}zs=new WeakSet,pd=function(){this.container.setAttribute("data-internal-link","")},Gz=function(t,i,s="",r=null){t.href=this.linkService.getAnchorUrl(""),i.description?t.title=i.description:s&&(t.title=s),t.onclick=()=>{var a;return(a=this.downloadManager)==null||a.openOrDownloadData(i.content,i.filename,r),!1},P(this,zs,pd).call(this)},$z=function(t,i,s=""){t.href=this.linkService.getAnchorUrl(""),t.onclick=()=>(this.linkService.executeSetOCGState(i),!1),s&&(t.title=s),P(this,zs,pd).call(this)};class dce extends $t{constructor(e){super(e,{isRenderable:!0})}render(){this.container.classList.add("textAnnotation");const e=document.createElement("img");return e.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",e.setAttribute("data-l10n-id","pdfjs-text-annotation-type"),e.setAttribute("data-l10n-args",JSON.stringify({type:this.data.name})),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.append(e),this.container}}
235class Sf extends $t{render(){return this.container}showElementAndHideCanvas(e){var t;this.data.hasOwnCanvas&&(((t=e.previousSibling)==null?void 0:t.nodeName)==="CANVAS"&&(e.previousSibling.hidden=!0),e.hidden=!1)}_getKeyModifier(e){return Vn.platform.isMac?e.metaKey:e.ctrlKey}_setEventListener(e,t,i,s,r){i.includes("mouse")?e.addEventListener(i,a=>{var o;(o=this.linkService.eventBus)==null||o.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:s,value:r(a),shift:a.shiftKey,modifier:this._getKeyModifier(a)}})}):e.addEventListener(i,a=>{var o;if(i==="blur"){if(!t.focused||!a.relatedTarget)return;t.focused=!1}else if(i==="focus"){if(t.focused)return;t.focused=!0}r&&((o=this.linkService.eventBus)==null||o.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:s,value:r(a)}}))})}_setEventListeners(e,t,i,s){var r,a,o;for(const[l,c]of i)(c==="Action"||(r=this.data.actions)!=null&&r[c])&&((c==="Focus"||c==="Blur")&&(t||(t={focused:!1})),this._setEventListener(e,t,l,c,s),c==="Focus"&&!((a=this.data.actions)!=null&&a.Blur)?this._setEventListener(e,t,"blur","Blur",null):c==="Blur"&&!((o=this.data.actions)!=null&&o.Focus)&&this._setEventListener(e,t,"focus","Focus",null))}_setBackgroundColor(e){const t=this.data.backgroundColor||null;e.style.backgroundColor=t===null?"transparent":re.makeHexColor(t[0],t[1],t[2])}_setTextStyle(e){const t=["left","center","right"],{fontColor:i}=this.data.defaultAppearanceData,s=this.data.defaultAppearanceData.fontSize||lce,r=e.style;let a;const o=2,l=c=>Math.round(10*c)/10;if(this.data.multiLine){const c=Math.abs(this.data.rect[3]-this.data.rect[1]-o),u=Math.round(c/(aA*s))||1,h=c/u;a=Math.min(s,l(h/aA))}else{const c=Math.abs(this.data.rect[3]-this.data.rect[1]-o);a=Math.min(s,l(c/aA))}r.fontSize=`calc(${a}px * var(--total-scale-factor))`,r.color=re.makeHexColor(i[0],i[1],i[2]),this.data.textAlignment!==null&&(r.textAlign=t[this.data.textAlignment])}_setRequired(e,t){t?e.setAttribute("required",!0):e.removeAttribute("required"),e.setAttribute("aria-required",t)}}class hce extends Sf{constructor(e){const t=e.renderForms||e.data.hasOwnCanvas||!e.data.hasAppearance&&!!e.data.fieldValue;super(e,{isRenderable:t})}setPropertyOnSiblings(e,t,i,s){const r=this.annotationStorage;
235for(const a of this._getElementsByName(e.name,e.id))a.domElement&&(a.domElement[t]=i),r.setValue(a.id,{[s]:i})}render(){var s,r;const e=this.annotationStorage,t=this.data.id;this.container.classList.add("textWidgetAnnotation");let i=null;if(this.renderForms){const a=e.getValue(t,{value:this.data.fieldValue});let o=a.value||"";const l=e.getValue(t,{charLimit:this.data.maxLen}).charLimit;l&&o.length>l&&(o=o.slice(0,l));let c=a.formattedValue||((s=this.data.textContent)==null?void 0:s.join(` 236`))||null;c&&this.data.comb&&(c=c.replaceAll(/\s+/g,""));const u={userValue:o,formattedValue:c,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?(i=document.createElement("textarea"),i.textContent=c??o,this.data.doNotScroll&&(i.style.overflowY="hidden")):(i=document.createElement("input"),i.type=this.data.password?"password":"text",i.setAttribute("value",c??o),this.data.doNotScroll&&(i.style.overflowX="hidden")),this.data.hasOwnCanvas&&(i.hidden=!0),of.add(i),i.setAttribute("data-element-id",t),i.disabled=this.data.readOnly,i.name=this.data.fieldName,i.tabIndex=0;const{datetimeFormat:h,datetimeType:f,timeStep:p}=this.data,b=!!f&&this.enableScripting;h&&(i.title=h),this._setRequired(i,this.data.required),l&&(i.maxLength=l),i.addEventListener("input",S=>{e.setValue(t,{value:S.target.value}),this.setPropertyOnSiblings(i,"value",S.target.value,"value"),u.formattedValue=null}),i.addEventListener("resetform",S=>{const y=this.data.defaultFieldValue??"";i.value=u.userValue=y,u.formattedValue=null});let g=S=>{const{formattedValue:y}=u;y!=null&&(S.target.value=y),S.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){i.addEventListener("focus",y=>{var _;if(u.focused)return;const{target:v}=y;if(b&&(v.type=f,p&&(v.step=p)),u.userValue){const x=u.userValue;if(b)if(f==="time"){const E=new Date(x),C=[E.getHours(),E.getMinutes(),E.getSeconds()];v.value=C.map(I=>I.toString().padStart(2,"0")).join(":")}else v.value=new Date(x-cce).toISOString().split(f==="date"?"T":".",1)[0];else v.value=x}u.lastCommittedValue=v.value,u.commitKey=1,(_=this.data.actions)!=null&&_.Focus||(u.focused=!0)}),i.addEventListener("updatefromsandbox",y=>{this.showElementAndHideCanvas(y.target);const v={value(_){u.userValue=_.detail.value??"",b||e.setValue(t,{value:u.userValue.toString()}),_.target.value=u.userValue},formattedValue(_){const{formattedValue:x}=_.detail;u.formattedValue=x,x!=null&&_.target!==document.activeElement&&(_.target.value=x);const E={formattedValue:x};b&&(E.value=x),e.setValue(t,E)},selRange(_){_.target.setSelectionRange(..._.detail.selRange)},charLimit:_=>{var I;const{charLimit:x}=_.detail,{target:E}=_;if(x===0){E.removeAttribute("maxLength");return}E.setAttribute("maxLength",x);let C=u.userValue;!C||C.length<=x||(C=C.slice(0,x),E.value=u.userValue=C,e.setValue(t,{value:C}),(I=this.linkService.eventBus)==null||I.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:C,willCommit:!0,commitKey:1,selStart:E.selectionStart,selEnd:E.selectionEnd}}))}};this._dispatchEventFromSandbox(v,y)}),i.addEventListener("keydown",y=>{var x;u.commitKey=1;let v=-1;if(y.key==="Escape"?v=0:y.key==="Enter"&&!this.data.multiLine?v=2:y.key==="Tab"&&(u.commitKey=3),v===-1)return;const{value:_}=y.target;u.lastCommittedValue!==_&&(u.lastCommittedValue=_,u.userValue=_,(x=this.linkService.eventBus)==null||x.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:_,willCommit:!0,commitKey:v,selStart:y.target.selectionStart,selEnd:y.target.selectionEnd}}))});const S=g;g=null,i.addEventListener("blur",y=>{var x,E;if(!u.focused||!y.relatedTarget)return;(x=this.data.actions)!=null&&x.Blur||(u.focused=!1);const{target:v}=y;let{value:_}=v;if(b){if(_&&f==="time"){const C=_.split(":").map(I=>parseInt(I,10));_=new Date(2e3,0,1,C[0],C[1],C[2]||0).valueOf(),v.step=""}else _.includes("T")||(_=`${_}T00:00`),_=new Date(_).valueOf();v.type="text"}u.userValue=_,u.lastCommittedValue!==_&&((E=this.linkService.eventBus)==null||E.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:_,willCommit:!0,
vendor: 4,566 bytes, line 236
236commitKey:u.commitKey,selStart:y.target.selectionStart,selEnd:y.target.selectionEnd}})),S(y)}),(r=this.data.actions)!=null&&r.Keystroke&&i.addEventListener("beforeinput",y=>{var D;u.lastCommittedValue=null;const{data:v,target:_}=y,{value:x,selectionStart:E,selectionEnd:C}=_;let I=E,R=C;switch(y.inputType){case"deleteWordBackward":{const k=x.substring(0,E).match(/\w*[^\w]*$/);k&&(I-=k[0].length);break}case"deleteWordForward":{const k=x.substring(E).match(/^[^\w]*\w*/);k&&(R+=k[0].length);break}case"deleteContentBackward":E===C&&(I-=1);break;case"deleteContentForward":E===C&&(R+=1);break}y.preventDefault(),(D=this.linkService.eventBus)==null||D.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:x,change:v||"",willCommit:!1,selStart:I,selEnd:R}})}),this._setEventListeners(i,u,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],y=>y.target.value)}if(g&&i.addEventListener("blur",g),this.data.comb){const y=(this.data.rect[2]-this.data.rect[0])/l;i.classList.add("comb"),i.style.letterSpacing=`calc(${y}px * var(--total-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}}class fce extends Sf{constructor(e){super(e,{isRenderable:!!e.data.hasOwnCanvas})}}class pce extends Sf{constructor(e){super(e,{isRenderable:e.renderForms})}render(){const e=this.annotationStorage,t=this.data,i=t.id;let s=e.getValue(i,{value:t.exportValue===t.fieldValue}).value;typeof s=="string"&&(s=s!=="Off",e.setValue(i,{value:s})),this.container.classList.add("buttonWidgetAnnotation","checkBox");const r=document.createElement("input");return of.add(r),r.setAttribute("data-element-id",i),r.disabled=t.readOnly,this._setRequired(r,this.data.required),r.type="checkbox",r.name=t.fieldName,s&&r.setAttribute("checked",!0),r.setAttribute("exportValue",t.exportValue),r.tabIndex=0,r.addEventListener("change",a=>{const{name:o,checked:l}=a.target;for(const c of this._getElementsByName(o,i)){const u=l&&c.exportValue===t.exportValue;c.domElement&&(c.domElement.checked=u),e.setValue(c.id,{value:u})}e.setValue(i,{value:l})}),r.addEventListener("resetform",a=>{const o=t.defaultFieldValue||"Off";a.target.checked=o===t.exportValue}),this.enableScripting&&this.hasJSActions&&(r.addEventListener("updatefromsandbox",a=>{const o={value(l){l.target.checked=l.detail.value!=="Off",e.setValue(i,{value:l.target.checked})}};this._dispatchEventFromSandbox(o,a)}),this._setEventListeners(r,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],a=>a.target.checked)),this._setBackgroundColor(r),this._setDefaultPropertiesFromJS(r),this.container.append(r),this.container}}class qz extends Sf{constructor(e){super(e,{isRenderable:e.renderForms})}render(){this.container.classList.add("buttonWidgetAnnotation","radioButton");const e=this.annotationStorage,t=this.data,i=t.id;let s=e.getValue(i,{value:t.fieldValue===t.buttonValue}).value;if(typeof s=="string"&&(s=s!==t.buttonValue,e.setValue(i,{value:s})),s)for(const a of this._getElementsByName(t.fieldName,i))e.setValue(a.id,{value:!1});const r=document.createElement("input");if(of.add(r),r.setAttribute("data-element-id",i),r.disabled=t.readOnly,this._setRequired(r,this.data.required),r.type="radio",r.name=t.fieldName,s&&r.setAttribute("checked",!0),r.tabIndex=0,r.addEventListener("change",a=>{const{name:o,checked:l}=a.target;for(const c of this._getElementsByName(o,i))e.setValue(c.id,{value:!1});e.setValue(i,{value:l})}),r.addEventListener("resetform",a=>{const o=t.defaultFieldValue;a.target.checked=o!=null&&o===t.buttonValue}),this.enableScripting&&this.hasJSActions){const a=t.buttonValue;r.addEventListener("updatefromsandbox",o=>{const l={value:c=>{const u=a===c.detail.value;for(const h of this._getElementsByName(c.target.name)){const f=u&&h.id===i;h.domElement&&(h.domElement.checked=f),e.setValue(h.id,{value:f})}}};this._dispatchEventFromSandbox(l,o)}),this._setEventListeners(r,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],o=>o.target.checked)}
236return this._setBackgroundColor(r),this._setDefaultPropertiesFromJS(r),this.container.append(r),this.container}}class mce extends MR{constructor(e){super(e,{ignoreBorder:e.data.hasAppearance})}render(){const e=super.render();e.classList.add("buttonWidgetAnnotation","pushButton");const t=e.lastChild;return this.enableScripting&&this.hasJSActions&&t&&(this._setDefaultPropertiesFromJS(t),t.addEventListener("updatefromsandbox",i=>{this._dispatchEventFromSandbox({},i)})),e}}class gce extends Sf{constructor(e){super(e,{isRenderable:e.renderForms})}render(){this.container.classList.add("choiceWidgetAnnotation");const e=this.annotationStorage,t=this.data.id,i=e.getValue(t,{value:this.data.fieldValue}),s=document.createElement("select");of.add(s),s.setAttribute("data-element-id",t),s.disabled=this.data.readOnly,this._setRequired(s,this.data.required),s.name=this.data.fieldName,s.tabIndex=0;let r=this.data.combo&&this.data.options.length>0;this.data.combo||(s.size=this.data.options.length,this.data.multiSelect&&(s.multiple=!0)),s.addEventListener("resetform",u=>{const h=this.data.defaultFieldValue;for(const f of s.options)f.selected=f.value===h});for(const u of this.data.options){const h=document.createElement("option");h.textContent=u.displayValue,h.value=u.exportValue,i.value.includes(u.exportValue)&&(h.setAttribute("selected",!0),r=!1),s.append(h)}let a=null;if(r){const u=document.createElement("option");u.value=" ",u.setAttribute("hidden",!0),u.setAttribute("selected",!0),s.prepend(u),a=()=>{u.remove(),s.removeEventListener("input",a),a=null},s.addEventListener("input",a)}const o=u=>{const h=u?"value":"textContent",{options:f,multiple:p}=s;return p?Array.prototype.filter.call(f,b=>b.selected).map(b=>b[h]):f.selectedIndex===-1?null:f[f.selectedIndex][h]};let l=o(!1);const c=u=>{const h=u.target.options;return Array.prototype.map.call(h,f=>({displayValue:f.textContent,exportValue:f.value}))};return this.enableScripting&&this.hasJSActions?(s.addEventListener("updatefromsandbox",u=>{const h={value(f){a==null||a();const p=f.detail.value,b=new Set(Array.isArray(p)?p:[p]);for(const g of s.options)g.selected=b.has(g.value);e.setValue(t,{value:o(!0)}),l=o(!1)},multipleSelection(f){s.multiple=!0},remove(f){const p=s.options,b=f.detail.remove;p[b].selected=!1,s.remove(b),p.length>0&&Array.prototype.findIndex.call(p,S=>S.selected)===-1&&(p[0].selected=!0),e.setValue(t,{value:o(!0),items:c(f)}),l=o(!1)},clear(f){for(;s.length!==0;)s.remove(0);e.setValue(t,{value:null,items:[]}),l=o(!1)},insert(f){const{index:p,displayValue:b,exportValue:g}=f.detail.insert,S=s.children[p],y=document.createElement("option");y.textContent=b,y.value=g,S?S.before(y):s.append(y),e.setValue(t,{value:o(!0),items:c(f)}),l=o(!1)},items(f){const{items:p}=f.detail;for(;s.length!==0;)s.remove(0);for(const b of p){const{displayValue:g,exportValue:S}=b,y=document.createElement("option");y.textContent=g,y.value=S,s.append(y)}s.options.length>0&&(s.options[0].selected=!0),e.setValue(t,{value:o(!0),items:c(f)}),l=o(!1)},indices(f){const p=new Set(f.detail.indices);for(const b of f.target.options)b.selected=p.has(b.index);e.setValue(t,{value:o(!0)}),l=o(!1)},editable(f){f.target.disabled=!f.detail.editable}};this._dispatchEventFromSandbox(h,u)}),s.addEventListener("input",u=>{var p;const h=o(!0),f=o(!1);e.setValue(t,{value:h}),u.preventDefault(),(p=this.linkService.eventBus)==null||p.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:l,change:f,changeEx:h,willCommit:!1,commitKey:1,keyDown:!1}})}),this._setEventListeners(s,null,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"],["input","Validate"]],u=>u.target.value)):s.addEventListener("input",function(u){e.setValue(t,{value:o(!0)})}),this.data.combo&&this._setTextStyle(s),this._setBackgroundColor(s),this._setDefaultPropertiesFromJS(s),this.container.append(s),this.container}}var A2,gT;class mT extends $t{constructor(t){const{data:i,elements:s,parent:r}=t,a=!!r._commentManager;super(t,{isRenderable:!a&&$t._hasPopupData(i)});T(this,A2);if(this.elements=s,a&&$t._hasPopupData(i)){const o=this.popup=P(this,A2,gT).call(this);for(const l of s)l.popup=o}else this.popup=null}render(){const{container:t}=this;t.classList.add("popupAnnotation"),t.role="comment";
236const i=this.popup=P(this,A2,gT).call(this),s=[];for(const r of this.elements)r.popup=i,r.container.ariaHasPopup="dialog",s.push(r.data.id),r.addHighlightArea();return this.container.setAttribute("aria-controls",s.map(r=>`${IR}${r}`).join(",")),this.container}}A2=new WeakSet,gT=function(){return new yce({container:this.container,color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate||this.data.creationDate,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,commentManager:this.parent._commentManager})};var xs,Yc,_1,S1,jm,Fm,Jt,Ha,Wc,gh,zm,Um,Ga,ws,hl,fl,Nn,pl,Kc,I2,ml,Vm,yh,Qc,fi,Jc,Ie,uS,yT,vT,bT,dS,_T,Yz,Wz,Kz,Qz,hS,fS,ST;class yce{constructor({container:e,color:t,elements:i,titleObj:s,modificationDate:r,contentsObj:a,richText:o,parent:l,rect:c,parentRect:u,open:h,commentManager:f=null}){T(this,Ie);T(this,xs,null);T(this,Yc,P(this,Ie,Kz).bind(this));T(this,_1,P(this,Ie,ST).bind(this));T(this,S1,P(this,Ie,fS).bind(this));T(this,jm,P(this,Ie,hS).bind(this));T(this,Fm,null);T(this,Jt,null);T(this,Ha,null);T(this,Wc,null);T(this,gh,null);T(this,zm,null);T(this,Um,null);T(this,Ga,!1);T(this,ws,null);T(this,hl,null);T(this,fl,null);T(this,Nn,null);T(this,pl,null);T(this,Kc,null);T(this,I2,null);T(this,ml,null);T(this,Vm,null);T(this,yh,null);T(this,Qc,!1);T(this,fi,null);T(this,Jc,null);A(this,Jt,e),A(this,Vm,s),A(this,Ha,a),A(this,ml,o),A(this,zm,l),A(this,Fm,t),A(this,I2,c),A(this,Um,u),A(this,gh,i),A(this,xs,f),A(this,fi,i[0]),A(this,Wc,av.toDateObject(r)),this.trigger=i.flatMap(p=>p.getElementsToTriggerPopup()),f?this.renderCommentButton():(P(this,Ie,uS).call(this),d(this,Jt).hidden=!0,h&&P(this,Ie,hS).call(this))}renderCommentButton(){if(d(this,Nn)||(d(this,pl)||P(this,Ie,yT).call(this),!d(this,pl)))return;const{signal:e}=A(this,hl,new AbortController),t=!!d(this,fi).extraPopupElement,i=()=>{d(this,xs).toggleCommentPopup(this,!0,void 0,!t)},s=()=>{d(this,xs).toggleCommentPopup(this,!1,!0,!t)},r=()=>{d(this,xs).toggleCommentPopup(this,!1,!1)};if(t){A(this,Nn,d(this,fi).container);for(const a of this.trigger)a.ariaHasPopup="dialog",a.ariaControls="commentPopup",a.addEventListener("keydown",d(this,Yc),{signal:e}),a.addEventListener("click",i,{signal:e}),a.addEventListener("pointerenter",s,{signal:e}),a.addEventListener("pointerleave",r,{signal:e}),a.classList.add("popupTriggerArea")}else{const a=A(this,Nn,document.createElement("button"));a.className="annotationCommentButton";const o=d(this,fi).container;a.style.zIndex=o.style.zIndex+1,a.tabIndex=0,a.ariaHasPopup="dialog",a.ariaControls="commentPopup",a.setAttribute("data-l10n-id","pdfjs-show-comment-button"),P(this,Ie,bT).call(this),P(this,Ie,vT).call(this),a.addEventListener("keydown",d(this,Yc),{signal:e}),a.addEventListener("click",i,{signal:e}),a.addEventListener("pointerenter",s,{signal:e}),a.addEventListener("pointerleave",r,{signal:e}),o.after(a)}}get commentButtonColor(){const{color:e,opacity:t}=d(this,fi).commentData;return e?d(this,zm)._commentManager.makeCommentColor(e,t):null}focusCommentButton(){setTimeout(()=>{var e;(e=d(this,Nn))==null||e.focus()},0)}
236getData(){const{richText:e,color:t,opacity:i,creationDate:s,modificationDate:r}=d(this,fi).commentData;return{contentsObj:{str:this.comment},richText:e,color:t,opacity:i,creationDate:s,modificationDate:r}}get elementBeforePopup(){return d(this,Nn)}get comment(){return d(this,Jc)||A(this,Jc,d(this,fi).commentText),d(this,Jc)}set comment(e){e!==this.comment&&(d(this,fi).commentText=A(this,Jc,e))}get parentBoundingClientRect(){return d(this,fi).layer.getBoundingClientRect()}setCommentButtonStates({selected:e,hasPopup:t}){d(this,Nn)&&(d(this,Nn).classList.toggle("selected",e),d(this,Nn).ariaExpanded=t)}setSelectedCommentButton(e){d(this,Nn).classList.toggle("selected",e)}get commentPopupPosition(){if(d(this,Kc))return d(this,Kc);const{x:e,y:t,height:i}=d(this,Nn).getBoundingClientRect(),{x:s,y:r,width:a,height:o}=d(this,fi).layer.getBoundingClientRect();return[(e-s)/a,(t+i-r)/o]}set commentPopupPosition(e){A(this,Kc,e)}hasDefaultPopupPosition(){return d(this,Kc)===null}get commentButtonPosition(){return d(this,pl)}get commentButtonWidth(){return d(this,Nn).getBoundingClientRect().width/this.parentBoundingClientRect.width}editComment(e){const[t,i]=d(this,Kc)||this.commentButtonPosition.map(c=>c/100),s=this.parentBoundingClientRect,{x:r,y:a,width:o,height:l}=s;d(this,xs).showDialog(null,this,r+t*o,a+i*l,{...e,parentDimensions:s})}render(){var i,s;if(d(this,ws))return;const e=A(this,ws,document.createElement("div"));if(e.className="popup",d(this,Fm)){const r=e.style.outlineColor=re.makeHexColor(...d(this,Fm));e.style.backgroundColor=`color-mix(in srgb, ${r} 30%, white)`}const t=document.createElement("span");if(t.className="header",(i=d(this,Vm))!=null&&i.str){const r=document.createElement("span");r.className="title",t.append(r),{dir:r.dir,str:r.textContent}=d(this,Vm)}if(e.append(t),d(this,Wc)){const r=document.createElement("time");r.className="popupDate",r.setAttribute("data-l10n-id","pdfjs-annotation-date-time-string"),r.setAttribute("data-l10n-args",JSON.stringify({dateObj:d(this,Wc).valueOf()})),r.dateTime=d(this,Wc).toISOString(),t.append(r)}TR({html:d(this,Ie,dS)||d(this,Ha).str,dir:(s=d(this,Ha))==null?void 0:s.dir,className:"popupContent"},e),d(this,Jt).append(e)}updateEdited({rect:e,popup:t,deleted:i}){var s;if(d(this,xs)){i?(this.remove(),A(this,Jc,null)):t&&(t.deleted?this.remove():(P(this,Ie,bT).call(this),A(this,Jc,t.text))),e&&(A(this,pl,null),P(this,Ie,yT).call(this),P(this,Ie,vT).call(this));return}if(i||t!=null&&t.deleted){this.remove();return}P(this,Ie,uS).call(this),d(this,yh)||A(this,yh,{contentsObj:d(this,Ha),richText:d(this,ml)}),e&&A(this,fl,null),t&&t.text&&(A(this,ml,P(this,Ie,Wz).call(this,t.text)),A(this,Wc,av.toDateObject(t.date)),A(this,Ha,null)),(s=d(this,ws))==null||s.remove(),A(this,ws,null)}resetEdited(){var e;d(this,yh)&&({contentsObj:qt(this,Ha)._,richText:qt(this,ml)._}=d(this,yh),A(this,yh,null),(e=d(this,ws))==null||e.remove(),A(this,ws,null),A(this,fl,null))}remove(){var e,t,i;if((e=d(this,hl))==null||e.abort(),A(this,hl,null),(t=d(this,ws))==null||t.remove(),A(this,ws,null),A(this,Qc,!1),A(this,Ga,!1),(i=d(this,Nn))==null||i.remove(),A(this,Nn,null),this.trigger)for(const s of this.trigger)s.classList.remove("popupTriggerArea")}forceHide(){A(this,Qc,this.isVisible),d(this,Qc)&&(d(this,Jt).hidden=!0)}maybeShow(){d(this,xs)||(P(this,Ie,uS).call(this),d(this,Qc)&&(d(this,ws)||P(this,Ie,fS).call(this),A(this,Qc,!1),d(this,Jt).hidden=!1))}get isVisible(){return d(this,xs)?!1:d(this,Jt).hidden===!1}}xs=new WeakMap,Yc=new WeakMap,_1=new WeakMap,S1=new WeakMap,jm=new WeakMap,Fm=new WeakMap,Jt=new WeakMap,Ha=new WeakMap,Wc=new WeakMap,gh=new WeakMap,zm=new WeakMap,Um=new WeakMap,Ga=new WeakMap,ws=new WeakMap,hl=new WeakMap,fl=new WeakMap,Nn=new WeakMap,pl=new WeakMap,Kc=new WeakMap,I2=new WeakMap,ml=new WeakMap,Vm=new WeakMap,yh=new WeakMap,Qc=new WeakMap,fi=new WeakMap,Jc=new WeakMap,Ie=new WeakSet,uS=function(){var t;if(d(this,hl))return;A(this,hl,new AbortController);const{signal:e}=d(this,hl);for(const i of this.trigger)i.addEventListener("click",d(this,jm),{signal:e}),i.addEventListener("pointerenter",d(this,S1),{signal:e}),i.addEventListener("pointerleave",d(this,_1),{signal:e}),i.classList.add("popupTriggerArea");for(const i of d(this,gh))(t=i.container)==null||t.addEventListener("keydown",d(this,Yc),{signal:e})},yT=function(){const e=d(this,gh).find(t=>t.hasCommentButton);e&&A(this,pl,e._normalizePoint(e.commentButtonPosition))},vT=function(){if(d(this,fi).extraPopupElement&&!d(this,fi).editor)return;this.renderCommentButton();const[e,t]=d(this,pl),{style:i}=d(this,Nn);i.left=`calc(${e}%)`,i.top=`calc(${t}% - var(--comment-button-dim))`},bT=function(){d(this,fi).extraPopupElement||(this.renderCommentButton(),d(this,Nn).style.backgroundColor=this.commentButtonColor||"")},dS=function(){const e=d(this,ml),t=d(this,Ha);return e!=null&&e.str&&(!(t!=null&&t.str)||t.str===e.str)&&d(this,ml).html||null},_T=function(){var e,t,i;return((i=(t=(e=d(this,Ie,dS))==null?void 0:e.attributes)==null?void 0:t.style)==null?void 0:i.fontSize)||0},Yz=function(){var e,t,i;return((i=(t=(e=d(this,Ie,dS))==null?void 0:e.attributes)==null?void 0:t.style)==null?void 0:i.color)||null},Wz=function(e){const t=[],i={str:e,html:{name:"div",attributes:{dir:"auto"},children:[{name:"p",children:t}]}},s={style:{color:d(this,Ie,Yz),fontSize:d(this,Ie,_T)?`calc(${d(this,Ie,_T)}px * var(--total-scale-factor))`:""}};for(const r of e.split(` 237`))t.push({name:"span",value:r,attributes:s});return i},Kz=function(e){e.altKey||e.shiftKey||e.ctrlKey||e.metaKey||(e.key==="Enter"||e.key==="Escape"&&d(this,Ga))&&P(this,Ie,hS).call(this)},Qz=function(){if(d(this,fl)!==null)return;const{page:{view:e},viewport:{rawDims:{pageWidth:t,pageHeight:i,pageX:s,pageY:r}}}=d(this,zm);let a=!!d(this,Um),o=a?d(this,Um):d(this,I2);for(const b of d(this,gh))if(!o||re.intersect(b.data.rect,o)!==null){o=b.data.rect,a=!0;break}const l=re.normalizeRect([o[0],e[3]-o[1]+e[1],o[2],e[3]-o[3]+e[1]]),u=a?o[2]-o[0]+5:0,h=l[0]+u,f=l[1];A(this,fl,[100*(h-s)/t,100*(f-r)/i]);const{style:p}=d(this,Jt);
237p.left=`${d(this,fl)[0]}%`,p.top=`${d(this,fl)[1]}%`},hS=function(){if(d(this,xs)){d(this,xs).toggleCommentPopup(this,!1);return}A(this,Ga,!d(this,Ga)),d(this,Ga)?(P(this,Ie,fS).call(this),d(this,Jt).addEventListener("click",d(this,jm)),d(this,Jt).addEventListener("keydown",d(this,Yc))):(P(this,Ie,ST).call(this),d(this,Jt).removeEventListener("click",d(this,jm)),d(this,Jt).removeEventListener("keydown",d(this,Yc)))},fS=function(){d(this,ws)||this.render(),this.isVisible?d(this,Ga)&&d(this,Jt).classList.add("focused"):(P(this,Ie,Qz).call(this),d(this,Jt).hidden=!1,d(this,Jt).style.zIndex=parseInt(d(this,Jt).style.zIndex)+1e3)},ST=function(){d(this,Jt).classList.remove("focused"),!(d(this,Ga)||!this.isVisible)&&(d(this,Jt).hidden=!0,d(this,Jt).style.zIndex=parseInt(d(this,Jt).style.zIndex)-1e3)};class Jz extends $t{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0}),this.textContent=e.data.textContent,this.textPosition=e.data.textPosition,this.annotationEditorType=pe.FREETEXT}render(){if(this.container.classList.add("freeTextAnnotation"),this.textContent){const e=document.createElement("div");e.classList.add("annotationTextContent"),e.setAttribute("role","comment");for(const t of this.textContent){const i=document.createElement("span");i.textContent=t,e.append(i)}this.container.append(e)}return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this._editOnDoubleClick(),this.container}}var C2;class vce extends $t{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0});T(this,C2,null)}render(){this.container.classList.add("lineAnnotation");const{data:t,width:i,height:s}=this,r=this.svgFactory.create(i,s,!0),a=A(this,C2,this.svgFactory.createElement("svg:line"));return a.setAttribute("x1",t.rect[2]-t.lineCoordinates[0]),a.setAttribute("y1",t.rect[3]-t.lineCoordinates[1]),a.setAttribute("x2",t.rect[2]-t.lineCoordinates[2]),a.setAttribute("y2",t.rect[3]-t.lineCoordinates[3]),a.setAttribute("stroke-width",t.borderStyle.width||1),a.setAttribute("stroke","transparent"),a.setAttribute("fill","transparent"),r.append(a),this.container.append(r),!t.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return d(this,C2)}addHighlightArea(){this.container.classList.add("highlightArea")}}C2=new WeakMap;var T2;class bce extends $t{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0});T(this,T2,null)}render(){this.container.classList.add("squareAnnotation");const{data:t,width:i,height:s}=this,r=this.svgFactory.create(i,s,!0),a=t.borderStyle.width,o=A(this,T2,this.svgFactory.createElement("svg:rect"));return o.setAttribute("x",a/2),o.setAttribute("y",a/2),o.setAttribute("width",i-a),o.setAttribute("height",s-a),o.setAttribute("stroke-width",a||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","transparent"),r.append(o),this.container.append(r),!t.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return d(this,T2)}addHighlightArea(){this.container.classList.add("highlightArea")}}T2=new WeakMap;var D2;class _ce extends $t{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0});T(this,D2,null)}render(){this.container.classList.add("circleAnnotation");const{data:t,width:i,height:s}=this,r=this.svgFactory.create(i,s,!0),a=t.borderStyle.width,o=A(this,D2,this.svgFactory.createElement("svg:ellipse"));return o.setAttribute("cx",i/2),o.setAttribute("cy",s/2),o.setAttribute("rx",i/2-a/2),o.setAttribute("ry",s/2-a/2),o.setAttribute("stroke-width",a||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","transparent"),r.append(o),this.container.append(r),!t.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return d(this,D2)}addHighlightArea(){this.container.classList.add("highlightArea")}}D2=new WeakMap;var P2;class Zz extends $t{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0});T(this,P2,null);this.containerClassName="polylineAnnotation",this.svgElementName="svg:polyline"}render(){this.container.classList.add(this.containerClassName);const{data:{rect:t,vertices:i,borderStyle:s,popupRef:r},width:a,height:o}=this;if(!i)return this.container;const l=this.svgFactory.create(a,o,!0);let c=[];for(let h=0,f=i.length;h<f;h+=2){const p=i[h]-t[0],b=t[3]-i[h+1];c.push(`${p},${b}`)}c=c.join(" ");const u=A(this,P2,this.svgFactory.createElement(this.svgElementName));return u.setAttribute("points",c),u.setAttribute("stroke-width",s.width||1),u.setAttribute("stroke","transparent"),u.setAttribute("fill","transparent"),l.append(u),this.container.append(l),!r&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return d(this,P2)}addHighlightArea(){this.container.classList.add("highlightArea")}}P2=new WeakMap;class Sce extends Zz{constructor(e){super(e),this.containerClassName="polygonAnnotation",this.svgElementName="svg:polygon"}}class xce extends $t{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0})}render(){return this.container.classList.add("caretAnnotation"),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container}}
237var R2,vh,k2,xT;class OR extends $t{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0});T(this,k2);T(this,R2,null);T(this,vh,[]);this.containerClassName="inkAnnotation",this.svgElementName="svg:polyline",this.annotationEditorType=this.data.it==="InkHighlight"?pe.HIGHLIGHT:pe.INK}render(){this.container.classList.add(this.containerClassName);const{data:{rect:t,rotation:i,inkLists:s,borderStyle:r,popupRef:a}}=this,{transform:o,width:l,height:c}=P(this,k2,xT).call(this,i,t),u=this.svgFactory.create(l,c,!0),h=A(this,R2,this.svgFactory.createElement("svg:g"));u.append(h),h.setAttribute("stroke-width",r.width||1),h.setAttribute("stroke-linecap","round"),h.setAttribute("stroke-linejoin","round"),h.setAttribute("stroke-miterlimit",10),h.setAttribute("stroke","transparent"),h.setAttribute("fill","transparent"),h.setAttribute("transform",o);for(let f=0,p=s.length;f<p;f++){const b=this.svgFactory.createElement(this.svgElementName);d(this,vh).push(b),b.setAttribute("points",s[f].join(",")),h.append(b)}return!a&&this.hasPopupData&&this._createPopup(),this.container.append(u),this._editOnDoubleClick(),this.container}updateEdited(t){super.updateEdited(t);const{thickness:i,points:s,rect:r}=t,a=d(this,R2);if(i>=0&&a.setAttribute("stroke-width",i||1),s)for(let o=0,l=d(this,vh).length;o<l;o++)d(this,vh)[o].setAttribute("points",s[o].join(","));if(r){const{transform:o,width:l,height:c}=P(this,k2,xT).call(this,this.data.rotation,r);a.parentElement.setAttribute("viewBox",`0 0 ${l} ${c}`),a.setAttribute("transform",o)}}getElementsToTriggerPopup(){return d(this,vh)}addHighlightArea(){this.container.classList.add("highlightArea")}}R2=new WeakMap,vh=new WeakMap,k2=new WeakSet,xT=function(t,i){switch(t){case 90:return{transform:`rotate(90) translate(${-i[0]},${i[1]}) scale(1,-1)`,width:i[3]-i[1],height:i[2]-i[0]};case 180:return{transform:`rotate(180) translate(${-i[2]},${i[1]}) scale(1,-1)`,width:i[2]-i[0],height:i[3]-i[1]};case 270:return{transform:`rotate(270) translate(${-i[2]},${i[3]}) scale(1,-1)`,width:i[3]-i[1],height:i[2]-i[0]};default:return{transform:`translate(${-i[0]},${i[3]}) scale(1,-1)`,width:i[2]-i[0],height:i[3]-i[1]}}};class e9 extends $t{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0}),this.annotationEditorType=pe.HIGHLIGHT}render(){const{data:{overlaidText:e,popupRef:t}}=this;if(!t&&this.hasPopupData&&this._createPopup(),this.container.classList.add("highlightAnnotation"),this._editOnDoubleClick(),e){const i=document.createElement("mark");i.classList.add("overlaidText"),i.textContent=e,this.container.append(i)}return this.container}}class wce extends $t{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){const{data:{overlaidText:e,popupRef:t}}=this;if(!t&&this.hasPopupData&&this._createPopup(),this.container.classList.add("underlineAnnotation"),e){const i=document.createElement("u");i.classList.add("overlaidText"),i.textContent=e,this.container.append(i)}return this.container}}class Ece extends $t{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){const{data:{overlaidText:e,popupRef:t}}=this;if(!t&&this.hasPopupData&&this._createPopup(),this.container.classList.add("squigglyAnnotation"),e){const i=document.createElement("u");i.classList.add("overlaidText"),i.textContent=e,this.container.append(i)}return this.container}}class Ace extends $t{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){const{data:{overlaidText:e,popupRef:t}}=this;if(!t&&this.hasPopupData&&this._createPopup(),this.container.classList.add("strikeoutAnnotation"),e){const i=document.createElement("s");i.classList.add("overlaidText"),i.textContent=e,this.container.append(i)}return this.container}}class t9 extends $t{constructor(e){super(e,{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}}
237var N2,M2,wT;class Ice extends $t{constructor(t){var s;super(t,{isRenderable:!0});T(this,M2);T(this,N2,null);const{file:i}=this.data;this.filename=i.filename,this.content=i.content,(s=this.linkService.eventBus)==null||s.dispatch("fileattachmentannotation",{source:this,...i})}render(){this.container.classList.add("fileAttachmentAnnotation");const{container:t,data:i}=this;let s;i.hasAppearance||i.fillAlpha===0?s=document.createElement("div"):(s=document.createElement("img"),s.src=`${this.imageResourcesPath}annotation-${/paperclip/i.test(i.name)?"paperclip":"pushpin"}.svg`,i.fillAlpha&&i.fillAlpha<1&&(s.style=`filter: opacity(${Math.round(i.fillAlpha*100)}%);`)),s.addEventListener("dblclick",P(this,M2,wT).bind(this)),A(this,N2,s);const{isMac:r}=Vn.platform;return t.addEventListener("keydown",a=>{a.key==="Enter"&&(r?a.metaKey:a.ctrlKey)&&P(this,M2,wT).call(this)}),!i.popupRef&&this.hasPopupData?this._createPopup():s.classList.add("popupTriggerArea"),t.append(s),t}getElementsToTriggerPopup(){return d(this,N2)}addHighlightArea(){this.container.classList.add("highlightArea")}}N2=new WeakMap,M2=new WeakSet,wT=function(){var t;(t=this.downloadManager)==null||t.openOrDownloadData(this.content,this.filename)};var Xm,bh,Hm,Zc,O2,_h,Ku,ET,AT,Gm;let LR=(Gm=class{constructor({div:e,accessibilityManager:t,annotationCanvasMap:i,annotationEditorUIManager:s,page:r,viewport:
237a,structTreeLayer:o,commentManager:l,linkService:c,annotationStorage:u}){T(this,Ku);T(this,Xm,null);T(this,bh,null);T(this,Hm,null);T(this,Zc,new Map);T(this,O2,null);T(this,_h,null);this.div=e,A(this,Xm,t),A(this,bh,i),A(this,O2,o||null),A(this,_h,c||null),A(this,Hm,u||new DR),this.page=r,this.viewport=a,this.zIndex=0,this._annotationEditorUIManager=s,this._commentManager=l||null}hasEditableAnnotations(){return d(this,Zc).size>0}async render(e){var a,o,l;const{annotations:t}=e,i=this.div;Gu(i,this.viewport);const s=new Map,r={data:null,layer:i,linkService:d(this,_h),downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||"",renderForms:e.renderForms!==!1,svgFactory:new uv,annotationStorage:d(this,Hm),enableComment:e.enableComment===!0,enableScripting:e.enableScripting===!0,hasJSActions:e.hasJSActions,fieldObjects:e.fieldObjects,parent:this,elements:null};for(const c of t){if(c.noHTML)continue;const u=c.annotationType===an.POPUP;if(u){const p=s.get(c.id);if(!p)continue;r.elements=p}else if(c.rect[2]===c.rect[0]||c.rect[3]===c.rect[1])continue;r.data=c;const h=nL.create(r);if(!h.isRenderable)continue;if(!u&&c.popupRef){const p=s.get(c.popupRef);p?p.push(h):s.set(c.popupRef,[h])}const f=h.render();c.hidden&&(f.style.visibility="hidden"),await P(this,Ku,ET).call(this,f,c.id,r.elements),(o=(a=h.extraPopupElement)==null?void 0:a.popup)==null||o.renderCommentButton(),h._isEditable&&(d(this,Zc).set(h.data.id,h),(l=this._annotationEditorUIManager)==null||l.renderAnnotationElement(h))}P(this,Ku,AT).call(this)}async addLinkAnnotations(e){const t={data:null,layer:this.div,linkService:d(this,_h),svgFactory:new uv,parent:this};for(const i of e){i.borderStyle||(i.borderStyle=Gm._defaultBorderStyle),t.data=i;const s=nL.create(t);if(!s.isRenderable)continue;const r=s.render();await P(this,Ku,ET).call(this,r,i.id,null)}}update({viewport:e}){const t=this.div;this.viewport=e,Gu(t,{rotation:e.rotation}),P(this,Ku,AT).call(this),t.hidden=!1}getEditableAnnotations(){return Array.from(d(this,Zc).values())}getEditableAnnotation(e){return d(this,Zc).get(e)}addFakeAnnotation(e){var o;const{div:t}=this,{id:i,rotation:s}=e,r=new uce({data:{id:i,rect:e.getPDFRect(),rotation:s},editor:e,layer:t,parent:this,enableComment:!!this._commentManager,linkService:d(this,_h),annotationStorage:d(this,Hm)}),a=r.render();return t.append(a),(o=d(this,Xm))==null||o.moveElementInDOM(t,a,a,!1),r.createOrUpdatePopup(),r}static get _defaultBorderStyle(){return Ee(this,"_defaultBorderStyle",Object.freeze({width:1,rawWidth:1,style:Mf.SOLID,dashArray:[3],horizontalCornerRadius:0,verticalCornerRadius:0}))}},Xm=new WeakMap,bh=new WeakMap,Hm=new WeakMap,Zc=new WeakMap,O2=new WeakMap,_h=new WeakMap,Ku=new WeakSet,ET=async function(e,t,i){var o,l;const s=e.firstChild||e,r=s.id=`${IR}${t}`,a=await((o=d(this,O2))==null?void 0:o.getAriaAttributes(r));if(a)for(const[c,u]of a)s.setAttribute(c,u);i?i.at(-1).container.after(e):(this.div.append(e),(l=d(this,Xm))==null||l.moveElementInDOM(this.div,e,s,!1))},AT=function(){var t;if(!d(this,bh))return;const e=this.div;for(const[i,s]of d(this,bh)){const r=e.querySelector(`[data-annotation-id="${i}"]`);if(!r)continue;s.className="annotationContent";const{firstChild:a}=r;a?a.nodeName==="CANVAS"?a.replaceWith(s):a.classList.contains("annotationContent")?a.after(s):a.before(s):r.append(s);const o=d(this,Zc).get(i);o&&(o._hasNoCanvas?((t=this._annotationEditorUIManager)==null||t.setMissingCanvas(i,r.id,s),o._hasNoCanvas=!1):o.canvas=s)}d(this,bh).clear()},Gm);const b_=/\r\n?|\n/g;var Es,L2,Sh,As,wn,n9,i9,s9,pS,Rl,mS,gS,r9,CT,a9;const It=class It extends xt{constructor(t){super({...t,name:"freeTextEditor"});T(this,wn);T(this,Es,"");T(this,L2,`${this.id}-editor`);T(this,Sh,null);T(this,As);q(this,"_colorPicker",null);this.color=t.color||It._defaultColor||xt._defaultLineColor,A(this,As,t.fontSize||It._defaultFontSize),this.annotationElementId||this._uiManager.a11yAlert("pdfjs-editor-freetext-added-alert")}static get _keyboardManager(){const t=It.prototype,i=a=>a.isEmpty(),s=$u.TRANSLATE_SMALL,r=$u.TRANSLATE_BIG;return Ee(this,"_keyboardManager",new Ib([[["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:[-s,0],checker:i}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t._translateEmpty,{args:[-r,0],checker:i}],[["ArrowRight","mac+ArrowRight"],t._translateEmpty,{args:[s,0],checker:i}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t._translateEmpty,{args:[r,0],checker:i}],[["ArrowUp","mac+ArrowUp"],t._translateEmpty,{args:[0,-s],checker:i}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t._translateEmpty,{args:[0,-r],checker:i}],[["ArrowDown","mac+ArrowDown"],t._translateEmpty,{args:[0,s],checker:i}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t._translateEmpty,{args:[0,r],checker:i}]]))}static initialize(t,i){xt.initialize(t,i);const s=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(s.getPropertyValue("--freetext-padding"))}
237static updateDefaultParams(t,i){switch(t){case Me.FREETEXT_SIZE:It._defaultFontSize=i;break;case Me.FREETEXT_COLOR:It._defaultColor=i;break}}updateParams(t,i){switch(t){case Me.FREETEXT_SIZE:P(this,wn,n9).call(this,i);break;case Me.FREETEXT_COLOR:P(this,wn,i9).call(this,i);break}}static get defaultPropertiesToUpdate(){return[[Me.FREETEXT_SIZE,It._defaultFontSize],[Me.FREETEXT_COLOR,It._defaultColor||xt._defaultLineColor]]}get propertiesToUpdate(){return[[Me.FREETEXT_SIZE,d(this,As)],[Me.FREETEXT_COLOR,this.color]]}get toolbarButtons(){return this._colorPicker||(this._colorPicker=new Gx(this)),[["colorPicker",this._colorPicker]]}get colorType(){return Me.FREETEXT_COLOR}onUpdatedColor(){var t;this.editorDiv.style.color=this.color,(t=this._colorPicker)==null||t.update(this.color),super.onUpdatedColor()}_translateEmpty(t,i){this._uiManager.translateSelectedEditors(t,i,!0)}getInitialTranslation(){const t=this.parentScale;return[-It._internalPadding*t,-(It._internalPadding+d(this,As))*t]}rebuild(){this.parent&&(super.rebuild(),this.div!==null&&(this.isAttachedToDOM||this.parent.add(this)))}enableEditMode(){if(!super.enableEditMode())return!1;this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this._isDraggable=!1,this.div.removeAttribute("aria-activedescendant"),A(this,Sh,new AbortController);const t=this._uiManager.combinedSignal(d(this,Sh));return 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}),!0}disableEditMode(){var t;return super.disableEditMode()?(this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.setAttribute("aria-activedescendant",d(this,L2)),this._isDraggable=!0,(t=d(this,Sh))==null||t.abort(),A(this,Sh,null),this.div.focus({preventScroll:!0}),this.isEditing=!1,this.parent.div.classList.add("freetextEditing"),!0):!1}focusin(t){this._focusEventsAllowed&&(super.focusin(t),t.target!==this.editorDiv&&this.editorDiv.focus())}onceAdded(t){var i;this.width||(this.enableEditMode(),t&&this.editorDiv.focus(),(i=this._initialOptions)!=null&&i.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()}commit(){if(!this.isInEditMode())return;super.commit(),this.disableEditMode();const t=d(this,Es),i=A(this,Es,P(this,wn,s9).call(this).trimEnd());if(t===i)return;const s=r=>{if(A(this,Es,r),!r){this.remove();return}P(this,wn,gS).call(this),this._uiManager.rebuild(this),P(this,wn,pS).call(this)};this.addCommands({cmd:()=>{s(i)},undo:()=>{s(t)},mustExec:!1}),P(this,wn,pS).call(this)}shouldGetKeyboardEvents(){return this.isInEditMode()}enterInEditMode(){this.enableEditMode(),this.editorDiv.focus()}keydown(t){t.target===this.div&&t.key==="Enter"&&(this.enterInEditMode(),t.preventDefault())}editorDivKeydown(t){It._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)}get canChangeContent(){return!0}render(){if(this.div)return this.div;let t,i;(this._isCopy||this.annotationElementId)&&(t=this.x,i=this.y),super.render(),this.editorDiv=document.createElement("div"),this.editorDiv.className="internal",this.editorDiv.setAttribute("id",d(this,L2)),this.editorDiv.setAttribute("data-l10n-id","pdfjs-free-text2"),this.editorDiv.setAttribute("data-l10n-attrs","default-content"),this.enableEditing(),this.editorDiv.contentEditable=!0;const{style:s}=this.editorDiv;if(s.fontSize=`calc(${d(this,As)}px * var(--total-scale-factor))`,s.color=this.color,this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),this._isCopy||this.annotationElementId){const[r,a]=this.parentDimensions;
237if(this.annotationElementId){const{position:o}=this._initialData;let[l,c]=this.getInitialTranslation();[l,c]=this.pageTranslationToScreen(l,c);const[u,h]=this.pageDimensions,[f,p]=this.pageTranslation;let b,g;switch(this.rotation){case 0:b=t+(o[0]-f)/u,g=i+this.height-(o[1]-p)/h;break;case 90:b=t+(o[0]-f)/u,g=i-(o[1]-p)/h,[l,c]=[c,-l];break;case 180:b=t-this.width+(o[0]-f)/u,g=i-(o[1]-p)/h,[l,c]=[-l,-c];break;case 270:b=t+(o[0]-f-this.height*h)/u,g=i+(o[1]-p-this.width*u)/h,[l,c]=[-c,l];break}this.setAt(b*r,g*a,l,c)}else this._moveAfterPaste(t,i);P(this,wn,gS).call(this),this._isDraggable=!0,this.editorDiv.contentEditable=!1}else this._isDraggable=!1,this.editorDiv.contentEditable=!0;return this.div}editorDivPaste(t){var b,g,S;const i=t.clipboardData||window.clipboardData,{types:s}=i;if(s.length===1&&s[0]==="text/plain")return;t.preventDefault();const r=P(b=It,Rl,CT).call(b,i.getData("text")||"").replaceAll(b_,` 238`);if(!r)return;const a=window.getSelection();if(!a.rangeCount)return;this.editorDiv.normalize(),a.deleteFromDocument();const o=a.getRangeAt(0);if(!r.includes(` 239`)){o.insertNode(document.createTextNode(r)),this.editorDiv.normalize(),a.collapseToStart();return}const{startContainer:l,startOffset:c}=o,u=[],h=[];if(l.nodeType===Node.TEXT_NODE){const y=l.parentElement;if(h.push(l.nodeValue.slice(c).replaceAll(b_,"")),y!==this.editorDiv){let v=u;for(const _ of this.editorDiv.childNodes){if(_===y){v=h;continue}v.push(P(g=It,Rl,mS).call(g,_))}}u.push(l.nodeValue.slice(0,c).replaceAll(b_,""))}else if(l===this.editorDiv){let y=u,v=0;for(const _ of this.editorDiv.childNodes)v++===c&&(y=h),y.push(P(S=It,Rl,mS).call(S,_))}A(this,Es,`${u.join(` 240`)}${r}${h.join(` 241`)}`),P(this,wn,gS).call(this);const f=new Range;let p=Math.sumPrecise(u.map(y=>y.length));for(const{firstChild:y}of this.editorDiv.childNodes)if(y.nodeType===Node.TEXT_NODE){const v=y.nodeValue.length;if(p<=v){f.setStart(y,p),f.setEnd(y,p);break}p-=v}a.removeAllRanges(),a.addRange(f)}get contentDiv(){return this.editorDiv}getPDFRect(){const t=It._internalPadding*this.parentScale;return this.getRect(t,t)}static async deserialize(t,i,s){var o;let r=null;if(t instanceof Jz){const{data:{defaultAppearanceData:{fontSize:l,fontColor:c},rect:u,rotation:h,id:f,popupRef:p,richText:b,contentsObj:g,creationDate:S,modificationDate:y},textContent:v,textPosition:_,parent:{page:{pageNumber:x}}}=t;if(!v||v.length===0)return null;r=t={annotationType:pe.FREETEXT,color:Array.from(c),fontSize:l,value:v.join(` 242`),position:_,pageIndex:x-1,rect:u.slice(0),rotation:h,annotationElementId:f,id:f,deleted:!1,popupRef:p,comment:(g==null?void 0:g.str)||null,richText:b,creationDate:S,modificationDate:y}}const a=await super.deserialize(t,i,s);return A(a,As,t.fontSize),a.color=re.makeHexColor(...t.color),A(a,Es,P(o=It,Rl,CT).call(o,t.value)),a._initialData=r,t.comment&&a.setCommentData(t),a}serialize(t=!1){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const i=xt._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:this.color),s=Object.assign(super.serialize(t),{color:i,fontSize:d(this,As),value:P(this,wn,r9).call(this)});return this.addComment(s),t?(s.isCopy=!0,s):this.annotationElementId&&!P(this,wn,a9).call(this,s)?null:(s.id=this.annotationElementId,s)}renderAnnotationElement(t){const i=super.renderAnnotationElement(t);if(!i)return null;const{style:s}=i;s.fontSize=`calc(${d(this,As)}px * var(--total-scale-factor))`,s.color=this.color,i.replaceChildren();for(const r of d(this,Es).split(` 243`)){const a=document.createElement("div");a.append(r?document.createTextNode(r):document.createElement("br")),i.append(a)}return t.updateEdited({rect:this.getPDFRect(),popup:this._uiManager.hasCommentManager()||this.hasEditedComment?this.comment:{text:d(this,Es)}}),i}resetAnnotationElement(t){super.resetAnnotationElement(t),t.resetEdited()}};Es=new WeakMap,L2=new WeakMap,Sh=new WeakMap,As=new WeakMap,wn=new WeakSet,n9=function(t){const i=r=>{this.editorDiv.style.fontSize=`calc(${r}px * var(--total-scale-factor))`,this.translate(0,-(r-d(this,As))*this.parentScale),A(this,As,r),P(this,wn,pS).call(this)},s=d(this,As);this.addCommands({cmd:i.bind(this,t),undo:i.bind(this,s),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:Me.FREETEXT_S
243IZE,overwriteIfSameType:!0,keepUndo:!0})},i9=function(t){const i=r=>{this.color=r,this.onUpdatedColor()},s=this.color;this.addCommands({cmd:i.bind(this,t),undo:i.bind(this,s),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:Me.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})},s9=function(){var s;const t=[];this.editorDiv.normalize();let i=null;for(const r of this.editorDiv.childNodes)(i==null?void 0:i.nodeType)===Node.TEXT_NODE&&r.nodeName==="BR"||(t.push(P(s=It,Rl,mS).call(s,r)),i=r);return t.join(` 244`)},pS=function(){const[t,i]=this.parentDimensions;let s;if(this.isAttachedToDOM)s=this.div.getBoundingClientRect();else{const{currentLayer:r,div:a}=this,o=a.style.display,l=a.classList.contains("hidden");a.classList.remove("hidden"),a.style.display="hidden",r.div.append(this.div),s=a.getBoundingClientRect(),a.remove(),a.style.display=o,a.classList.toggle("hidden",l)}this.rotation%180===this.parentRotation%180?(this.width=s.width/t,this.height=s.height/i):(this.width=s.height/t,this.height=s.width/i),this.fixAndSetPosition()},Rl=new WeakSet,mS=function(t){return(t.nodeType===Node.TEXT_NODE?t.nodeValue:t.innerText).replaceAll(b_,"")},gS=function(){if(this.editorDiv.replaceChildren(),!!d(this,Es))for(const t of d(this,Es).split(` 245`)){const i=document.createElement("div");i.append(t?document.createTextNode(t):document.createElement("br")),this.editorDiv.append(i)}},r9=function(){return d(this,Es).replaceAll("Â "," ")},CT=function(t){return t.replaceAll(" ","Â ")},a9=function(t){const{value:i,fontSize:s,color:r,pageIndex:a}=this._initialData;return this.hasEditedComment||this._hasBeenMoved||t.value!==i||t.fontSize!==s||t.color.some((o,l)=>o!==r[l])||t.pageIndex!==a},T(It,Rl),q(It,"_freeTextDefaultContent",""),q(It,"_internalPadding",0),q(It,"_defaultColor",null),q(It,"_defaultFontSize",10),q(It,"_type","freetext"),q(It,"_editorType",pe.FREETEXT);let IT=It;class se{toSVGPath(){yt("Abstract method `toSVGPath` must be implemented.")}get box(){yt("Abstract getter `box` must be implemented.")}serialize(e,t){yt("Abstract method `serialize` must be implemented.")}static _rescale(e,t,i,s,r,a){a||(a=new Float32Array(e.length));for(let o=0,l=e.length;o<l;o+=2)a[o]=t+e[o]*s,a[o+1]=i+e[o+1]*r;return a}static _rescaleAndSwap(e,t,i,s,r,a){a||(a=new Float32Array(e.length));for(let o=0,l=e.length;o<l;o+=2)a[o]=t+e[o+1]*s,a[o+1]=i+e[o]*r;return a}static _translate(e,t,i,s){s||(s=new Float32Array(e.length));for(let r=0,a=e.length;r<a;r+=2)s[r]=t+e[r],s[r+1]=i+e[r+1];return s}static svgRound(e){return Math.round(e*1e4)}static _normalizePoint(e,t,i,s,r){switch(r){case 90:return[1-t/i,e/s];case 180:return[1-e/i,1-t/s];case 270:return[t/i,1-e/s];default:return[e/i,t/s]}}static _normalizePagePoint(e,t,i){switch(i){case 90:return[1-t,e];case 180:return[1-e,1-t];case 270:return[t,1-e];default:return[e,t]}}static createBezierPoints(e,t,i,s,r,a){return[(e+5*i)/6,(t+5*s)/6,(5*i+r)/6,(5*s+a)/6,(i+r)/2,(s+a)/2]}}q(se,"PRECISION",1e-4);var Is,sa,$m,qm,$a,De,xh,wh,B2,j2,Ym,Wm,eu,F2,x1,w1,Dn,Q0,o9,l9,c9,u9,d9,h9;const Fo=class Fo{constructor({x:e,y:t},i,s,r,a,o=0){T(this,Dn);T(this,Is);T(this,sa,[]);T(this,$m);T(this,qm);T(this,$a,[]);T(this,De,new Float32Array(18));T(this,xh);T(this,wh);T(this,B2);T(this,j2);T(this,Ym);T(this,Wm);T(this,eu,[]);A(this,Is,i),A(this,Wm,r*s),A(this,qm,a),d(this,De).set([NaN,NaN,NaN,NaN,e,t],6),A(this,$m,o),A(this,j2,d(Fo,F2)*s),A(this,B2,d(Fo,w1)*s),A(this,Ym,s),d(this,eu).push(e,t)}isEmpty(){return isNaN(d(this,De)[8])}add({x:e,y:t}){var D;A(this,xh,e),A(this,wh,t);const[i,s,r,a]=d(this,Is);let[o,l,c,u]=d(this,De).subarray(8,12);const h=e-c,f=t-u,p=Math.hypot(h,f);if(p<d(this,B2))return!1;const b=p-d(this,j2),g=b/p,S=g*h,y=g*f;let v=o,_=l;o=c,l=u,c+=S,u+=y,(D=d(this,eu))==null||D.push(e,t);const x=-y/b,E=S/b,C=x*d(this,Wm),I=E*d(this,Wm);return d(this,De).set(d(this,De).subarray(2,8),0),d(this,De).set([c+C,u+I],4),d(this,De).set(d(this,De).subarray(14,18),12),d(this,De).set([c-C,u-I],16),isNaN(d(this,De)[6])?(d(this,$a).length===0&&(d(this,De).set([o+C,l+I],2),d(this,$a).push(NaN,NaN,NaN,NaN,(o+C-i)/r,(l+I-s)/a),d(this,De).set([o-C,l-I],14),d(this,sa).push(NaN,NaN,NaN,NaN,(o-C-i)/r,(l-I-s)/a)),d(this,De).set([v,_,o,l,c,u],6),!this.isEmpty()):(d(this,De).set([v,_,o,l,c,u],6),Math.abs(Math.atan2(_-l,v-o)-Math.atan2(y,S))<Math.PI/2?([o,l,c,u]=d(this,De).subarray(2,6),d(this,$a).push(NaN,NaN,NaN,NaN,((o+c)/2-i)/r,((l+u)/2-s)/a),[o,l,v,_]=d(this,De).subarray(14,18),d(this,sa).push(NaN,NaN,NaN,NaN,((v+o)/2-i)/r,((_+l)/2-s)/a),!0):([v,_,o,l,c,u]=d(this,De).subarray(0,6),d(this,$a).push(((v+5*o)/6-i)/r,((_+5*l)/6-s)/a,((5*o+c)/6-i)/r,((5*l+u)/6-s)/a,((o+c)/2-i)/r,((l+u)/2-s)/a),[c,u,o,l,v,_]=d(this,De).subarray(12,18),d(this,sa).push(((v+5*o)/6-i)/r,((_+5*l)/6-s)/a,((5*o+c)/6-i)/r,((5*l+u)/6-s)/a,((o+c)/2-i)/r,((l+u)/2-s)/a),!0))}toSVGPath(){if(this.isEmpty())return"";const e=d(this,$a),t=d(this,sa);
245if(isNaN(d(this,De)[6])&&!this.isEmpty())return P(this,Dn,o9).call(this);const i=[];i.push(`M${e[4]} ${e[5]}`);for(let s=6;s<e.length;s+=6)isNaN(e[s])?i.push(`L${e[s+4]} ${e[s+5]}`):i.push(`C${e[s]} ${e[s+1]} ${e[s+2]} ${e[s+3]} ${e[s+4]} ${e[s+5]}`);P(this,Dn,c9).call(this,i);for(let s=t.length-6;s>=6;s-=6)isNaN(t[s])?i.push(`L${t[s+4]} ${t[s+5]}`):i.push(`C${t[s]} ${t[s+1]} ${t[s+2]} ${t[s+3]} ${t[s+4]} ${t[s+5]}`);return P(this,Dn,l9).call(this,i),i.join(" ")}newFreeDrawOutline(e,t,i,s,r,a){return new f9(e,t,i,s,r,a)}getOutlines(){var h;const e=d(this,$a),t=d(this,sa),i=d(this,De),[s,r,a,o]=d(this,Is),l=new Float32Array((((h=d(this,eu))==null?void 0:h.length)??0)+2);for(let f=0,p=l.length-2;f<p;f+=2)l[f]=(d(this,eu)[f]-s)/a,l[f+1]=(d(this,eu)[f+1]-r)/o;if(l[l.length-2]=(d(this,xh)-s)/a,l[l.length-1]=(d(this,wh)-r)/o,isNaN(i[6])&&!this.isEmpty())return P(this,Dn,u9).call(this,l);const c=new Float32Array(d(this,$a).length+24+d(this,sa).length);let u=e.length;for(let f=0;f<u;f+=2){if(isNaN(e[f])){c[f]=c[f+1]=NaN;continue}c[f]=e[f],c[f+1]=e[f+1]}u=P(this,Dn,h9).call(this,c,u);for(let f=t.length-6;f>=6;f-=6)for(let p=0;p<6;p+=2){if(isNaN(t[f+p])){c[u]=c[u+1]=NaN,u+=2;continue}c[u]=t[f+p],c[u+1]=t[f+p+1],u+=2}return P(this,Dn,d9).call(this,c,u),this.newFreeDrawOutline(c,l,d(this,Is),d(this,Ym),d(this,$m),d(this,qm))}};Is=new WeakMap,sa=new WeakMap,$m=new WeakMap,qm=new WeakMap,$a=new WeakMap,De=new WeakMap,xh=new WeakMap,wh=new WeakMap,B2=new WeakMap,j2=new WeakMap,Ym=new WeakMap,Wm=new WeakMap,eu=new WeakMap,F2=new WeakMap,x1=new WeakMap,w1=new WeakMap,Dn=new WeakSet,Q0=function(){const e=d(this,De).subarray(4,6),t=d(this,De).subarray(16,18),[i,s,r,a]=d(this,Is);return[(d(this,xh)+(e[0]-t[0])/2-i)/r,(d(this,wh)+(e[1]-t[1])/2-s)/a,(d(this,xh)+(t[0]-e[0])/2-i)/r,(d(this,wh)+(t[1]-e[1])/2-s)/a]},o9=function(){const[e,t,i,s]=d(this,Is),[r,a,o,l]=P(this,Dn,Q0).call(this);return`M${(d(this,De)[2]-e)/i} ${(d(this,De)[3]-t)/s} L${(d(this,De)[4]-e)/i} ${(d(this,De)[5]-t)/s} L${r} ${a} L${o} ${l} L${(d(this,De)[16]-e)/i} ${(d(this,De)[17]-t)/s} L${(d(this,De)[14]-e)/i} ${(d(this,De)[15]-t)/s} Z`},l9=function(e){const t=d(this,sa);e.push(`L${t[4]} ${t[5]} Z`)},c9=function(e){const[t,i,s,r]=d(this,Is),a=d(this,De).subarray(4,6),o=d(this,De).subarray(16,18),[l,c,u,h]=P(this,Dn,Q0).call(this);e.push(`L${(a[0]-t)/s} ${(a[1]-i)/r} L${l} ${c} L${u} ${h} L${(o[0]-t)/s} ${(o[1]-i)/r}`)},u9=function(e){const t=d(this,De),[i,s,r,a]=d(this,Is),[o,l,c,u]=P(this,Dn,Q0).call(this),h=new Float32Array(36);return h.set([NaN,NaN,NaN,NaN,(t[2]-i)/r,(t[3]-s)/a,NaN,NaN,NaN,NaN,(t[4]-i)/r,(t[5]-s)/a,NaN,NaN,NaN,NaN,o,l,NaN,NaN,NaN,NaN,c,u,NaN,NaN,NaN,NaN,(t[16]-i)/r,(t[17]-s)/a,NaN,NaN,NaN,NaN,(t[14]-i)/r,(t[15]-s)/a],0),this.newFreeDrawOutline(h,e,d(this,Is),d(this,Ym),d(this,$m),d(this,qm))},d9=function(e,t){const i=d(this,sa);return e.set([NaN,NaN,NaN,NaN,i[4],i[5]],t),t+=6},h9=function(e,t){const i=d(this,De).subarray(4,6),s=d(this,De).subarray(16,18),[r,a,o,l]=d(this,Is),[c,u,h,f]=P(this,Dn,Q0).call(this);return e.set([NaN,NaN,NaN,NaN,(i[0]-r)/o,(i[1]-a)/l,NaN,NaN,NaN,NaN,c,u,NaN,NaN,NaN,NaN,h,f,NaN,NaN,NaN,NaN,(s[0]-r)/o,(s[1]-a)/l],t),t+=24},T(Fo,F2,8),T(Fo,x1,2),T(Fo,w1,d(Fo,F2)+d(Fo,x1));let $x=Fo;var Km,Eh,gl,z2,Cs,U2,ln,E1,p9;class f9 extends se{constructor(t,i,s,r,a,o){super();T(this,E1);T(this,Km);T(this,Eh,new Float32Array(4));T(this,gl);T(this,z2);T(this,Cs);T(this,U2);T(this,ln);A(this,ln,t),A(this,Cs,i),A(this,Km,s),A(this,U2,r),A(this,gl,a),A(this,z2,o),this.firstPoint=[NaN,NaN],this.lastPoint=[NaN,NaN],P(this,E1,p9).call(this,o);const[l,c,u,h]=d(this,Eh);for(let f=0,p=t.length;f<p;f+=2)t[f]=(t[f]-l)/u,t[f+1]=(t[f+1]-c)/h;for(let f=0,p=i.length;f<p;f+=2)i[f]=(i[f]-l)/u,i[f+1]=(i[f+1]-c)/h}toSVGPath(){const t=[`M${d(this,ln)[4]} ${d(this,ln)[5]}`];for(let i=6,s=d(this,ln).length;i<s;
245i+=6){if(isNaN(d(this,ln)[i])){t.push(`L${d(this,ln)[i+4]} ${d(this,ln)[i+5]}`);continue}t.push(`C${d(this,ln)[i]} ${d(this,ln)[i+1]} ${d(this,ln)[i+2]} ${d(this,ln)[i+3]} ${d(this,ln)[i+4]} ${d(this,ln)[i+5]}`)}return t.push("Z"),t.join(" ")}serialize([t,i,s,r],a){const o=s-t,l=r-i;let c,u;switch(a){case 0:c=se._rescale(d(this,ln),t,r,o,-l),u=se._rescale(d(this,Cs),t,r,o,-l);break;case 90:c=se._rescaleAndSwap(d(this,ln),t,i,o,l),u=se._rescaleAndSwap(d(this,Cs),t,i,o,l);break;case 180:c=se._rescale(d(this,ln),s,i,-o,l),u=se._rescale(d(this,Cs),s,i,-o,l);break;case 270:c=se._rescaleAndSwap(d(this,ln),s,r,-o,-l),u=se._rescaleAndSwap(d(this,Cs),s,r,-o,-l);break}return{outline:Array.from(c),points:[Array.from(u)]}}get box(){return d(this,Eh)}newOutliner(t,i,s,r,a,o=0){return new $x(t,i,s,r,a,o)}getNewOutline(t,i){const[s,r,a,o]=d(this,Eh),[l,c,u,h]=d(this,Km),f=a*u,p=o*h,b=s*u+l,g=r*h+c,S=this.newOutliner({x:d(this,Cs)[0]*f+b,y:d(this,Cs)[1]*p+g},d(this,Km),d(this,U2),t,d(this,z2),i??d(this,gl));for(let y=2;y<d(this,Cs).length;y+=2)S.add({x:d(this,Cs)[y]*f+b,y:d(this,Cs)[y+1]*p+g});return S.getOutlines()}}Km=new WeakMap,Eh=new WeakMap,gl=new WeakMap,z2=new WeakMap,Cs=new WeakMap,U2=new WeakMap,ln=new WeakMap,E1=new WeakSet,p9=function(t){const i=d(this,ln);let s=i[4],r=i[5];const a=[s,r,s,r];let o=s,l=r,c=s,u=r;const h=t?Math.max:Math.min,f=new Float32Array(4);for(let b=6,g=i.length;b<g;b+=6){const S=i[b+4],y=i[b+5];isNaN(i[b])?(re.pointBoundingBox(S,y,a),l>y?(o=S,l=y):l===y&&(o=h(o,S)),u<y?(c=S,u=y):u===y&&(c=h(c,S))):(f[0]=f[1]=1/0,f[2]=f[3]=-1/0,re.bezierBoundingBox(s,r,...i.slice(b,b+6),f),re.rectBoundingBox(f[0],f[1],f[2],f[3],a),l>f[1]?(o=f[0],l=f[1]):l===f[1]&&(o=h(o,f[0])),u<f[3]?(c=f[2],u=f[3]):u===f[3]&&(c=h(c,f[2]))),s=S,r=y}const p=d(this,Eh);p[0]=a[0]-d(this,gl),p[1]=a[1]-d(this,gl),p[2]=a[2]-a[0]+2*d(this,gl),p[3]=a[3]-a[1]+2*d(this,gl),this.firstPoint=[o,l],this.lastPoint=[c,u]};var V2,X2,H2,tu,ra,Li,m9,yS,g9,y9,DT;class TT{constructor(e,t=0,i=0,s=!0){T(this,Li);T(this,V2);T(this,X2);T(this,H2);T(this,tu,[]);T(this,ra,[]);const r=[1/0,1/0,-1/0,-1/0],a=10**-4;for(const{x:g,y:S,width:y,height:v}of e){const _=Math.floor((g-t)/a)*a,x=Math.ceil((g+y+t)/a)*a,E=Math.floor((S-t)/a)*a,C=Math.ceil((S+v+t)/a)*a,I=[_,E,
245C,!0],R=[x,E,C,!1];d(this,tu).push(I,R),re.rectBoundingBox(_,E,x,C,r)}const o=r[2]-r[0]+2*i,l=r[3]-r[1]+2*i,c=r[0]-i,u=r[1]-i;let h=s?-1/0:1/0,f=1/0;const p=d(this,tu).at(s?-1:-2),b=[p[0],p[2]];for(const g of d(this,tu)){const[S,y,v,_]=g;!_&&s?y<f?(f=y,h=S):y===f&&(h=Math.max(h,S)):_&&!s&&(y<f?(f=y,h=S):y===f&&(h=Math.min(h,S))),g[0]=(S-c)/o,g[1]=(y-u)/l,g[2]=(v-u)/l}A(this,V2,new Float32Array([c,u,o,l])),A(this,X2,[h,f]),A(this,H2,b)}getOutlines(){d(this,tu).sort((t,i)=>t[0]-i[0]||t[1]-i[1]||t[2]-i[2]);const e=[];for(const t of d(this,tu))t[3]?(e.push(...P(this,Li,DT).call(this,t)),P(this,Li,g9).call(this,t)):(P(this,Li,y9).call(this,t),e.push(...P(this,Li,DT).call(this,t)));return P(this,Li,m9).call(this,e)}}V2=new WeakMap,X2=new WeakMap,H2=new WeakMap,tu=new WeakMap,ra=new WeakMap,Li=new WeakSet,m9=function(e){const t=[],i=new Set;for(const a of e){const[o,l,c]=a;t.push([o,l,a],[o,c,a])}t.sort((a,o)=>a[1]-o[1]||a[0]-o[0]);for(let a=0,o=t.length;a<o;a+=2){const l=t[a][2],c=t[a+1][2];l.push(c),c.push(l),i.add(l),i.add(c)}const s=[];let r;for(;i.size>0;){const a=i.values().next().value;let[o,l,c,u,h]=a;i.delete(a);let f=o,p=l;for(r=[o,c],s.push(r);;){let b;if(i.has(u))b=u;else if(i.has(h))b=h;else break;i.delete(b),[o,l,c,u,h]=b,f!==o&&(r.push(f,p,o,p===l?l:c),f=o),p=p===l?c:l}r.push(f,p)}return new Cce(s,d(this,V2),d(this,X2),d(this,H2))},yS=function(e){const t=d(this,ra);let i=0,s=t.length-1;for(;i<=s;){const r=i+s>>1,a=t[r][0];if(a===e)return r;a<e?i=r+1:s=r-1}return s+1},g9=function([,e,t]){const i=P(this,Li,yS).call(this,e);d(this,ra).splice(i,0,[e,t])},y9=function([,e,t]){const i=P(this,Li,yS).call(this,e);for(let s=i;s<d(this,ra).length;s++){const[r,a]=d(this,ra)[s];if(r!==e)break;if(r===e&&a===t){d(this,ra).splice(s,1);return}}for(let s=i-1;s>=0;s--){const[r,a]=d(this,ra)[s];if(r!==e)break;if(r===e&&a===t){d(this,ra).splice(s,1);return}}},DT=function(e){const[t,i,s]=e,r=[[t,i,s]],a=P(this,Li,yS).call(this,s);for(let o=0;o<a;o++){const[l,c]=d(this,ra)[o];for(let u=0,h=r.length;u<h;u++){const[,f,p]=r[u];if(!(c<=f||p<=l)){if(f>=l){if(p>c)r[u][1]=c;else{if(h===1)return[];r.splice(u,1),u--,h--}continue}r[u][2]=l,p>c&&r.push([t,c,p])}}}return r};var G2,Qm;class Cce extends se{constructor(t,i,s,r){super();T(this,G2);T(this,Qm);A(this,Qm,t),A(this,G2,i),this.firstPoint=s,this.lastPoint=r}toSVGPath(){const t=[];for(const i of d(this,Qm)){let[s,r]=i;t.push(`M${s} ${r}`);for(let a=2;a<i.length;a+=2){const o=i[a],l=i[a+1];o===s?(t.push(`V${l}`),r=l):l===r&&(t.push(`H${o}`),s=o)}t.push("Z")}return t.join(" ")}serialize([t,i,s,r],a){const o=[],l=s-t,c=r-i;for(const u of d(this,Qm)){const h=new Array(u.length);for(let f=0;f<u.length;f+=2)h[f]=t+u[f]*l,h[f+1]=r-u[f+1]*c;o.push(h)}return o}get box(){return d(this,G2)}get classNamesForOutlining(){return["highlightOutline"]}}G2=new WeakMap,Qm=new WeakMap;class PT extends $x{newFreeDrawOutline(e,t,i,s,r,a){return new Tce(e,t,i,s,r,a)}}class Tce extends f9{newOutliner(e,t,i,s,r,a=0){return new PT(e,t,i,s,r,a)}}var Jm,$2,yl,Ah,q2,Qi,Y2,W2,Ih,Ts,Ds,Wn,Zm,eg,pi,tg,br,K2,Ae,RT,vS,v9,b9,_9,kT,md,Dr,zf,S9,bS,_S,x9,w9,E9,A9,I9;const qe=class qe extends xt{constructor(t){super({...t,name:"highlightEditor"});T(this,Ae);T(this,Jm,null);T(this,$2,0);T(this,yl);T(this,Ah,null);T(this,q2,null);T(this,Qi,null);T(this,Y2,null);T(this,W2,0);T(this,Ih,null);T(this,Ts,null);T(this,Ds,null);T(this,Wn,!1);T(this,Zm,null);T(this,eg,null);T(this,pi,null);T(this,tg,"");T(this,br);T(this,K2,"");this.color=t.color||qe._defaultColor,A(this,br,t.thickness||qe._defaultThickness),this.opacity=t.opacity||qe._defaultOpacity,A(this,yl,t.boxes||null),A(this,K2,t.methodOfCreation||""),A(this,tg,t.text||""),this._isDraggable=!1,this.defaultL10nId="pdfjs-editor-highlight-editor",t.highlightId>-1?(A(this,Wn,!0),P(this,Ae,vS).call(this,t),P(this,Ae,md).call(this)):d(this,yl)&&(A(this,Jm,t.anchorNode),A(this,$2,t.anchorOffset),A(this,Y2,t.focusNode),A(this,W2,t.focusOffset),P(this,Ae,RT).call(this),P(this,Ae,md).call(this),this.rotate(this.rotation)),this.annotationElementId||this._uiManager.a11yAlert("pdfjs-editor-highlight-added-alert")}static get _keyboardManager(){const t=qe.prototype;return Ee(this,"_keyboardManager",new Ib([[["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]}]]))}get telemetryInitialData(){return{action:"added",type:d(this,Wn)?"free_highlight":"highlight",color:this._uiManager.getNonHCMColorName(this.color),thickness:d(this,br),methodOfCreation:d(this,K2)}}get telemetryFinalData(){return{type:"highlight",color:this._uiManager.getNonHCMColorName(this.color)}}static computeTelemetryFinalData(t){return{numberOfColors:t.get("color").size}}static initialize(t,i){var s;xt.initialize(t,i),qe._defaultColor||(qe._defaultColor=((s=i.highlightColors)==null?void 0:s.values().next().value)||"#fff066")}
245static updateDefaultParams(t,i){switch(t){case Me.HIGHLIGHT_COLOR:qe._defaultColor=i;break;case Me.HIGHLIGHT_THICKNESS:qe._defaultThickness=i;break}}translateInPage(t,i){}get toolbarPosition(){return d(this,eg)}get commentButtonPosition(){return d(this,Zm)}updateParams(t,i){switch(t){case Me.HIGHLIGHT_COLOR:P(this,Ae,v9).call(this,i);break;case Me.HIGHLIGHT_THICKNESS:P(this,Ae,b9).call(this,i);break}}static get defaultPropertiesToUpdate(){return[[Me.HIGHLIGHT_COLOR,qe._defaultColor],[Me.HIGHLIGHT_THICKNESS,qe._defaultThickness]]}get propertiesToUpdate(){return[[Me.HIGHLIGHT_COLOR,this.color||qe._defaultColor],[Me.HIGHLIGHT_THICKNESS,d(this,br)||qe._defaultThickness],[Me.HIGHLIGHT_FREE,d(this,Wn)]]}onUpdatedColor(){var t,i;(t=this.parent)==null||t.drawLayer.updateProperties(d(this,Ds),{root:{fill:this.color,"fill-opacity":this.opacity}}),(i=d(this,q2))==null||i.updateColor(this.color),super.onUpdatedColor()}get toolbarButtons(){return this._uiManager.highlightColors?[["colorPicker",A(this,q2,new cv({editor:this}))]]:super.toolbarButtons}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}fixAndSetPosition(){return super.fixAndSetPosition(P(this,Ae,_S).call(this))}getBaseTranslation(){return[0,0]}getRect(t,i){return super.getRect(t,i,P(this,Ae,_S).call(this))}onceAdded(t){this.annotationElementId||this.parent.addUndoableEditor(this),t&&this.div.focus()}remove(){P(this,Ae,kT).call(this),this._reportTelemetry({action:"deleted"}),super.remove()}rebuild(){this.parent&&(super.rebuild(),this.div!==null&&(P(this,Ae,md).call(this),this.isAttachedToDOM||this.parent.add(this)))}setParent(t){var s;let i=!1;this.parent&&!t?P(this,Ae,kT).call(this):t&&(P(this,Ae,md).call(this,t),i=!this.parent&&((s=this.div)==null?void 0:s.classList.contains("selectedEditor"))),super.setParent(t),this.show(this._isVisible),i&&this.select()}rotate(t){var r,a,o;const{drawLayer:i}=this.parent;let s;d(this,Wn)?(t=(t-this.rotation+360)%360,s=P(r=qe,Dr,zf).call(r,d(this,Ts).box,t)):s=P(a=qe,Dr,zf).call(a,[this.x,this.y,this.width,this.height],t),i.updateProperties(d(this,Ds),{bbox:s,root:{"data-main-rotation":t}}),i.updateProperties(d(this,pi),{bbox:P(o=qe,Dr,zf).call(o,d(this,Qi).box,t),root:{"data-main-rotation":t}})}render(){if(this.div)return this.div;const t=super.render();d(this,tg)&&(t.setAttribute("aria-label",d(this,tg)),t.setAttribute("role","mark")),d(this,Wn)?t.classList.add("free"):this.div.addEventListener("keydown",P(this,Ae,S9).bind(this),{signal:this._uiManager._signal});const i=A(this,Ih,document.createElement("div"));return t.append(i),i.setAttribute("aria-hidden","true"),i.className="internal",i.style.clipPath=d(this,Ah),this.setDims(this.width,this.height),$6(this,d(this,Ih),["pointerover","pointerleave"]),this.enableEditing(),t}pointerover(){var t;this.isSelected||(t=this.parent)==null||t.drawLayer.updateProperties(d(this,pi),{rootClass:{hovered:!0}})}pointerleave(){var t;this.isSelected||(t=this.parent)==null||t.drawLayer.updateProperties(d(this,pi),{rootClass:{hovered:!1}})}_moveCaret(t){switch(this.parent.unselect(this),t){case 0:case 2:P(this,Ae,bS).call(this,!0);break;case 1:case 3:P(this,Ae,bS).call(this,!1);break}}select(){var t;super.select(),d(this,pi)&&((t=this.parent)==null||t.drawLayer.updateProperties(d(this,pi),{rootClass:{hovered:!1,selected:!0}}))}unselect(){var t;super.unselect(),d(this,pi)&&((t=this.parent)==null||t.drawLayer.updateProperties(d(this,pi),{rootClass:{selected:!1}}),d(this,Wn)||P(this,Ae,bS).call(this,!1))}get _mustFixPosition(){return!d(this,Wn)}show(t=this._isVisible){super.show(t),this.parent&&(this.parent.drawLayer.updateProperties(d(this,Ds),{rootClass:{hidden:!t}}),this.parent.drawLayer.updateProperties(d(this,pi),{rootClass:{hidden:!t}}))}static startHighlighting(t,i,{target:s,x:r,y:a}){const{x:o,y:l,width:c,height:u}=s.getBoundingClientRect(),h=new AbortController,f=t.combinedSignal(h),p=b=>{h.abort(),P(this,Dr,A9).call(this,t,b)};window.addEventListener("blur",p,{signal:f}),window.addEventListener("pointerup",p,{signal:f}),window.addEventListener("pointerdown",Vt,{capture:!0,passive:!1,signal:f}),window.addEventListener("contextmenu",er,{signal:f}),s.addEventListener("pointermove",P(this,Dr,E9).bind(this,t),{signal:f}),this._freeHighlight=new PT({x:r,y:a},[o,l,c,u],t.scale,this._defaultThickness/2,i,.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 async deserialize(t,i,s){var g,S,y,v;let r=null;if(t instanceof e9){const{data:{quadPoints:_,rect:x,rotation:E,id:C,color:I,opacity:R,popupRef:D,richText:k,contentsObj:N,creationDate:O,modificationDate:j},parent:{page:{pageNumber:L}}}=t;r=t={annotationType:pe.HIGHLIGHT,color:Array.from(I),opacity:R,quadPoints:_,boxes:null,pageIndex:L-1,rect:x.slice(0),rotation:E,annotationElementId:C,id:C,deleted:!1,popupRef:D,richText:k,comment:(N==null?void 0:N.str)||null,creationDate:O,modificationDate:j}}else if(t instanceof OR){const{data:{inkLists:_,rect:x,rotation:E,id:C,color:I,borderStyle:{rawWidth:R},popupRef:D,richText:k,contentsObj:N,creationDate:O,modificationDate:j},parent:{page:{pageNumber:L}}}=t;r=t={annotationType:pe.HIGHLIGHT,color:Array.from(I),thickness:R,inkLists:_,boxes:null,pageIndex:L-1,rect:x.slice(0),rotation:E,annotationElementId:C,id:C,deleted:!1,popupRef:D,richText:k,comment:(N==null?void 0:N.str)||null,creationDate:O,modificationDate:j}}const{color:a,quadPoints:o,inkLists:l,opacity:c}=t,u=await super.deserialize(t,i,s);u.color=re.makeHexColor(...a),u.opacity=c||1,l&&A(u,br,t.thickness),u._initialData=r,t.comment&&u.setCommentData(t);const[h,f]=u.pageDimensions,[p,b]=u.pageTranslation;if(o){const _=A(u,yl,[]);for(let x=0;x<o.length;x+=8)_.push({x:(o[x]-p)/h,y:1-(o[x+1]-b)/f,width:(o[x+2]-o[x])/h,height:(o[x+1]-o[x+5])/f});P(g=u,Ae,RT).call(g),P(S=u,Ae,md).call(S),u.rotate(u.rotation)}else if(l){A(u,Wn,!0);const _=l[0],x={x:_[0]-p,y:f-(_[1]-b)},E=new PT(x,[0,0,h,f],1,d(u,br)/2,!0,.001);for(let R=0,D=_.length;R<D;R+=2)x.x=_[R]-p,x.y=f-(_[R+1]-b),E.add(x);const{id:C,clipPathId:I}=i.drawLayer.draw({bbox:[0,0,1,1],root:{viewBox:"0 0 1 1",fill:u.color,"fill-opacity":u._defaultOpacity},rootClass:{highlight:!0,free:!0},path:{d:E.toSVGPath()}},!0,!0);P(y=u,Ae,vS).call(y,{highlightOutlines:E.getOutlines(),highlightId:C,clipPathId:I}),P(v=u,Ae,md).call(v),u.rotate(u.parentRotation)}return u}serialize(t=!1){if(this.isEmpty()||t)return null;if(this.deleted)return this.serializeDeleted();const i=xt._colorManager.convert(this._uiManager.getNonHCMColor(this.color)),s=super.serialize(t);return Object.assign(s,{color:i,opacity:this.opacity,thickness:d(this,br),quadPoints:P(this,Ae,x9).call(this),outlines:P(this,Ae,w9).call(this,s.rect)}),this.addComment(s),this.annotationElementId&&!P(this,Ae,I9).call(this,s)?null:(s.id=this.annotationElementId,s)}renderAnnotationElement(t){return this.deleted?(t.hide(),null):(t.updateEdited({rect:this.getPDFRect(),popup:this.comment}),null)}static canCreateNewEmptyEditor(){return!1}};Jm=new WeakMap,$2=new WeakMap,yl=new WeakMap,Ah=new WeakMap,q2=new WeakMap,Qi=new WeakMap,Y2=new WeakMap,W2=new WeakMap,Ih=new WeakMap,Ts=new WeakMap,Ds=new WeakMap,Wn=new WeakMap,Zm=new WeakMap,eg=new WeakMap,pi=new WeakMap,tg=new WeakMap,br=new WeakMap,K2=new WeakMap,Ae=new WeakSet,RT=function(){const t=new TT(d(this,yl),.001);A(this,Ts,t.getOutlines()),[this.x,this.y,this.width,this.height]=d(this,Ts).box;const i=new TT(d(this,yl),.0025,.001,this._uiManager.direction==="ltr");A(this,Qi,i.getOutlines());const{firstPoint:s}=d(this,Ts);A(this,Zm,[(s[0]-this.x)/this.width,(s[1]-this.y)/this.height]);const{lastPoint:r}=d(this,Qi);A(this,eg,[(r[0]-this.x)/this.width,(r[1]-this.y)/this.height])},vS=function({highlightOutlines:t,highlightId:i,clipPathId:s}){var f,p;if(A(this,Ts,t),A(this,Qi,t.getNewOutline(d(this,br)/2+1.5,.0025)),i>=0)A(this,Ds,i),A(this,Ah,s),this.parent.drawLayer.finalizeDraw(i,{bbox:t.box,path:{d:t.toSVGPath()}}),A(this,pi,this.parent.drawLayer.drawOutline({rootClass:{highlightOutline:!0,free:!0},bbox:d(this,Qi).box,path:{d:d(this,Qi).toSVGPath()}},!0));else if(this.parent){const b=this.parent.viewport.rotation;this.parent.drawLayer.updateProperties(d(this,Ds),{bbox:P(f=qe,Dr,zf).call(f,d(this,Ts).box,(b-this.rotation+360)%360),path:{d:t.toSVGPath()}}),this.parent.drawLayer.updateProperties(d(this,pi),{bbox:P(p=qe,Dr,zf).call(p,d(this,Qi).box,b),path:{d:d(this,Qi).toSVGPath()}})}const[a,o,l,c]=t.box;switch(this.rotation){case 0:this.x=a,this.y=o,this.width=l,this.height=c;break;case 90:{const[b,g]=this.parentDimensions;this.x=o,this.y=1-a,this.width=l*g/b,this.height=c*b/g;break}case 180:this.x=1-a,this.y=1-o,this.width=l,this.height=c;break;case 270:{const[b,g]=this.parentDimensions;this.x=1-o,this.y=a,this.width=l*g/b,this.height=c*b/g;break}}const{firstPoint:u}=t;A(this,Zm,[(u[0]-a)/l,(u[1]-o)/c]);const{lastPoint:h}=d(this,Qi);A(this,eg,[(h[0]-a)/l,(h[1]-o)/c])},v9=function(t){const i=(a,o)=>{this.color=a,this.opacity=o,this.onUpdatedColor()},s=this.color,r=this.opacity;this.addCommands({cmd:i.bind(this,t,qe._defaultOpacity),undo:i.bind(this,s,r),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:Me.HIGHLIGHT_COLOR,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"color_changed",color:this._uiManager.getNonHCMColorName(t)},!0)},b9=function(t){const i=d(this,br),s=r=>{A(this,br,r),P(this,Ae,_9).call(this,r)};this.addCommands({cmd:s.bind(this,t),undo:s.bind(this,i),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:Me.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"thickness_changed",thickness:t},!0)},_9=function(t){d(this,Wn)&&(P(this,Ae,vS).call(this,{highlightOutlines:d(this,Ts).getNewOutline(t/2)}),this.fixAndSetPosition(),this.setDims(this.width,this.height))},kT=function(){d(this,Ds)===null||!this.parent||(this.parent.drawLayer.remove(d(this,Ds)),A(this,Ds,null),this.parent.drawLayer.remove(d(this,pi)),A(this,pi,null))},md=function(t=this.parent){d(this,Ds)===null&&({id:qt(this,Ds)._,clipPathId:qt(this,Ah)._}=t.drawLayer.draw({bbox:d(this,Ts).box,root:{viewBox:"0 0 1 1",fill:this.color,"fill-opacity":this.opacity},rootClass:{highlight:!0,free:d(this,Wn)},path:{d:d(this,Ts).toSVGPath()}},!1,!0),A(this,pi,t.drawLayer.drawOutline({rootClass:{highlightOutline:!0,free:d(this,Wn)},bbox:d(this,Qi).box,path:{d:d(this,Qi).toSVGPath()}},d(this,Wn))),d(this,Ih)&&(d(this,Ih).style.clipPath=d(this,Ah)))},Dr=new WeakSet,zf=function([t,i,s,r],a){switch(a){case 90:return[1-i-r,t,r,s];case 180:return[1-t-s,1-i-r,s,r];case 270:return[i,1-t-s,r,s]}return[t,i,s,r]},S9=function(t){qe._keyboardManager.exec(this,t)},bS=function(t){if(!d(this,Jm))return;const i=window.getSelection();t?i.setPosition(d(this,Jm),d(this,$2)):i.setPosition(d(this,Y2),d(this,W2))},_S=function(){return d(this,Wn)?this.rotation:0},x9=function(){if(d(this,Wn))return null;const[t,i]=this.pageDimensions,[s,r]=this.pageTranslation,a=d(this,yl),o=new Float32Array(a.length*8);let l=0;for(const{x:c,y:u,width:h,height:f}of a){const p=c*t+s,b=(1-u)*i+r;o[l]=o[l+4]=p,o[l+1]=o[l+3]=b,o[l+2]=o[l+6]=p+h*t,o[l+5]=o[l+7]=b-f*i,l+=8}return o},w9=function(t){return d(this,Ts).serialize(t,P(this,Ae,_S).call(this))},E9=function(t,i){this._freeHighlight.add(i)&&t.drawLayer.updateProperties(this._freeHighlightId,{path:{d:this._freeHighlight.toSVGPath()}})},A9=function(t,i){this._freeHighlight.isEmpty()?t.drawLayer.remove(this._freeHighlightId):t.createAndAddNewEditor(i,!1,{highlightId:this._freeHighlightId,highlightOutlines:this._freeHighlight.getOutlines(),clipPathId:this._freeHighlightClipId,methodOfCreation:"main_toolbar"}),this._freeHighlightId=-1,this._freeHighlight=null,this._freeHighlightClipId=""},I9=function(t){const{color:i}=this._initialData;return this.hasEditedComment||t.color.some((s,r)=>s!==i[r])},T(qe,Dr),q(qe,"_defaultColor",null),q(qe,"_defaultOpacity",1),q(qe,"_defaultThickness",12),q(qe,"_type","highlight"),q(qe,"_editorType",pe.HIGHLIGHT),q(qe,"_freeHighlightId",-1),q(qe,"_freeHighlight",null),q(qe,"_freeHighlightClipId","");let qx=qe;var Ch;class C9{constructor(){T(this,Ch,Object.create(null))}updateProperty(e,t){this[e]=t,this.updateSVGProperty(e,t)}updateProperties(e){if(e)for(const[t,i]of Object.entries(e))t.startsWith("_")||this.updateProperty(t,i)}updateSVGProperty(e,t){d(this,Ch)[e]=t}toSVGProperties(){const e=d(this,Ch);return A(this,Ch,Object.create(null)),{root:e}}reset(){A(this,Ch,Object.create(null))}updateAll(e=this){this.updateProperties(e)}clone(){yt("Not implemented")}}Ch=new WeakMap;var Ps,ng,Mn,Th,Dh,nu,iu,su,Ph,Ge,NT,MT,OT,J0,T9,SS,Z0,Uf;const oe=class oe extends xt{constructor(t){super(t);T(this,Ge);T(this,Ps,null);T(this,ng);q(this,"_colorPicker",null);q(this,"_drawId",null);A(this,ng,t.mustBeCommitted||!1),this._addOutlines(t)}onUpdatedColor(){var t;(t=this._colorPicker)==null||t.update(this.color),super.onUpdatedColor()}
245_addOutlines(t){t.drawOutlines&&(P(this,Ge,NT).call(this,t),P(this,Ge,J0).call(this))}static _mergeSVGProperties(t,i){const s=new Set(Object.keys(t));for(const[r,a]of Object.entries(i))s.has(r)?Object.assign(t[r],a):t[r]=a;return t}static getDefaultDrawingOptions(t){yt("Not implemented")}static get typesMap(){yt("Not implemented")}static get isDrawer(){return!0}static get supportMultipleDrawings(){return!1}static updateDefaultParams(t,i){const s=this.typesMap.get(t);s&&this._defaultDrawingOptions.updateProperty(s,i),this._currentParent&&(d(oe,Mn).updateProperty(s,i),this._currentParent.drawLayer.updateProperties(this._currentDrawId,this._defaultDrawingOptions.toSVGProperties()))}updateParams(t,i){const s=this.constructor.typesMap.get(t);s&&this._updateProperty(t,s,i)}static get defaultPropertiesToUpdate(){const t=[],i=this._defaultDrawingOptions;for(const[s,r]of this.typesMap)t.push([s,i[r]]);return t}get propertiesToUpdate(){const t=[],{_drawingOptions:i}=this;for(const[s,r]of this.constructor.typesMap)t.push([s,i[r]]);return t}_updateProperty(t,i,s){const r=this._drawingOptions,a=r[i],o=l=>{var u;r.updateProperty(i,l);const c=d(this,Ps).updateProperty(i,l);c&&P(this,Ge,Z0).call(this,c),(u=this.parent)==null||u.drawLayer.updateProperties(this._drawId,r.toSVGProperties()),t===this.colorType&&this.onUpdatedColor()};this.addCommands({cmd:o.bind(this,s),undo:o.bind(this,a),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:t,overwriteIfSameType:!0,keepUndo:!0})}_onResizing(){var t;(t=this.parent)==null||t.drawLayer.updateProperties(this._drawId,oe._mergeSVGProperties(d(this,Ps).getPathResizingSVGProperties(P(this,Ge,SS).call(this)),{bbox:P(this,Ge,Uf).call(this)}))}_onResized(){var t;(t=this.parent)==null||t.drawLayer.updateProperties(this._drawId,oe._mergeSVGProperties(d(this,Ps).getPathResizedSVGProperties(P(this,Ge,SS).call(this)),{bbox:P(this,Ge,Uf).call(this)}))}_onTranslating(t,i){var s;(s=this.parent)==null||s.drawLayer.updateProperties(this._drawId,{bbox:P(this,Ge,Uf).call(this)})}_onTranslated(){var t;(t=this.parent)==null||t.drawLayer.updateProperties(this._drawId,oe._mergeSVGProperties(d(this,Ps).getPathTranslatedSVGProperties(P(this,Ge,SS).call(this),this.parentDimensions),{bbox:P(this,Ge,Uf).call(this)}))}_onStartDragging(){var t;(t=this.parent)==null||t.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!0}})}_onStopDragging(){var t;(t=this.parent)==null||t.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,d(this,ng)&&(A(this,ng,!1),this.commit(),this.parent.setSelected(this),t&&this.isOnScreen&&this.div.focus())}remove(){P(this,Ge,OT).call(this),super.remove()}rebuild(){this.parent&&(super.rebuild(),this.div!==null&&(P(this,Ge,J0).call(this),P(this,Ge,Z0).call(this,d(this,Ps).box),this.isAttachedToDOM||this.parent.add(this)))}setParent(t){var s;let i=!1;this.parent&&!t?(this._uiManager.removeShouldRescale(this),P(this,Ge,OT).call(this)):t&&(this._uiManager.addShouldRescale(this),P(this,Ge,J0).call(this,t),i=!this.parent&&((s=this.div)==null?void 0:s.classList.contains("selectedEditor"))),super.setParent(t),i&&this.select()}rotate(){this.parent&&this.parent.drawLayer.updateProperties(this._drawId,oe._mergeSVGProperties({bbox:P(this,Ge,Uf).call(this)},d(this,Ps).updateRotation((this.parentRotation-this.rotation+360)%360)))}onScaleChanging(){this.parent&&P(this,Ge,Z0).call(this,d(this,Ps).updateParentDimensions(this.parentDimensions,this.parent.scale))}static onScaleChangingWhenDrawing(){}render(){if(this.div)return this.div;let t,i;this._isCopy&&(t=this.x,i=this.y);const s=super.render();s.classList.add("draw");const r=document.createElement("div");return s.append(r),r.setAttribute("aria-hidden","true"),r.className="internal",this.setDims(),this._uiManager.addShouldRescale(this),this.disableEditing(),this._isCopy&&this._moveAfterPaste(t,i),s}static createDrawerInstance(t,i,s,r,a){yt("Not implemented")}static startDrawing(t,i,s,r){var S;const{target:a,offsetX:o,offsetY:l,pointerId:c,pointerType:u}=r;if(d(oe,iu)&&d(oe,iu)!==u)return;const{viewport:{rotation:h}}=t,{width:f,height:p}=a.getBoundingClientRect(),b=A(oe,Th,new AbortController),g=t.combinedSignal(b);if(d(oe,nu)||A(oe,nu,c),d(oe,iu)??A(oe,iu,u),window.addEventListener("pointerup",y=>{var v;d(oe,nu)===y.pointerId?this._endDraw(y):(v=d(oe,su))==null||v.delete(y.pointerId)},{signal:g}
245),window.addEventListener("pointercancel",y=>{var v;d(oe,nu)===y.pointerId?this._currentParent.endDrawingSession():(v=d(oe,su))==null||v.delete(y.pointerId)},{signal:g}),window.addEventListener("pointerdown",y=>{d(oe,iu)===y.pointerType&&((d(oe,su)||A(oe,su,new Set)).add(y.pointerId),d(oe,Mn).isCancellable()&&(d(oe,Mn).removeLastElement(),d(oe,Mn).isEmpty()?this._currentParent.endDrawingSession(!0):this._endDraw(null)))},{capture:!0,passive:!1,signal:g}),window.addEventListener("contextmenu",er,{signal:g}),a.addEventListener("pointermove",this._drawMove.bind(this),{signal:g}),a.addEventListener("touchmove",y=>{y.timeStamp===d(oe,Ph)&&Vt(y)},{signal:g}),t.toggleDrawing(),(S=i._editorUndoBar)==null||S.hide(),d(oe,Mn)){t.drawLayer.updateProperties(this._currentDrawId,d(oe,Mn).startNew(o,l,f,p,h));return}i.updateUIForDefaultProperties(this),A(oe,Mn,this.createDrawerInstance(o,l,f,p,h)),A(oe,Dh,this.getDefaultDrawingOptions()),this._currentParent=t,{id:this._currentDrawId}=t.drawLayer.draw(this._mergeSVGProperties(d(oe,Dh).toSVGProperties(),d(oe,Mn).defaultSVGProperties),!0,!1)}static _drawMove(t){var a;if(A(oe,Ph,-1),!d(oe,Mn))return;const{offsetX:i,offsetY:s,pointerId:r}=t;if(d(oe,nu)===r){if(((a=d(oe,su))==null?void 0:a.size)>=1){this._endDraw(t);return}this._currentParent.drawLayer.updateProperties(this._currentDrawId,d(oe,Mn).add(i,s)),A(oe,Ph,t.timeStamp),Vt(t)}}static _cleanup(t){t&&(this._currentDrawId=-1,this._currentParent=null,A(oe,Mn,null),A(oe,Dh,null),A(oe,iu,null),A(oe,Ph,NaN)),d(oe,Th)&&(d(oe,Th).abort(),A(oe,Th,null),A(oe,nu,NaN),A(oe,su,null))}static _endDraw(t){const i=this._currentParent;if(i){if(i.toggleDrawing(!0),this._cleanup(!1),(t==null?void 0:t.target)===i.div&&i.drawLayer.updateProperties(this._currentDrawId,d(oe,Mn).end(t.offsetX,t.offsetY)),this.supportMultipleDrawings){const s=d(oe,Mn),r=this._currentDrawId,a=s.getLastElement();i.addCommands({cmd:()=>{i.drawLayer.updateProperties(r,s.setLastElement(a))},undo:()=>{i.drawLayer.updateProperties(r,s.removeLastElement())},mustExec:!1,type:Me.DRAW_STEP});return}this.endDrawing(!1)}}static endDrawing(t){const i=this._currentParent;if(!i)return null;if(i.toggleDrawing(!0),i.cleanUndoStack(Me.DRAW_STEP),!d(oe,Mn).isEmpty()){const{pageDimensions:[s,r],scale:a}=i,o=i.createAndAddNewEditor({offsetX:0,offsetY:0},!1,{drawId:this._currentDrawId,drawOutlines:d(oe,Mn).getOutlines(s*a,r*a,a,this._INNER_MARGIN),drawingOptions:d(oe,Dh),mustBeCommitted:!t});return this._cleanup(!0),o}return i.drawLayer.remove(this._currentDrawId),this._cleanup(!0),null}createDrawingOptions(t){}static deserializeDraw(t,i,s,r,a,o){yt("Not implemented")}static async deserialize(t,i,s){var h,f;const{rawDims:{pageWidth:r,pageHeight:a,pageX:o,pageY:l}}=i.viewport,c=this.deserializeDraw(o,l,r,a,this._INNER_MARGIN,t),u=await super.deserialize(t,i,s);return u.createDrawingOptions(t),P(h=u,Ge,NT).call(h,{drawOutlines:c}),P(f=u,Ge,J0).call(f),u.onScaleChanging(),u.rotate(),u}serializeDraw(t){const[i,s]=this.pageTranslation,[r,a]=this.pageDimensions;return d(this,Ps).serialize([i,s,r,a],t)}renderAnnotationElement(t){return t.updateEdited({rect:this.getPDFRect()}),null}static canCreateNewEmptyEditor(){return!1}};Ps=new WeakMap,ng=new WeakMap,Mn=new WeakMap,Th=new WeakMap,Dh=new WeakMap,nu=new WeakMap,iu=new WeakMap,su=new WeakMap,Ph=new WeakMap,Ge=new WeakSet,NT=function({drawOutlines:t,drawId:i,drawingOptions:s}){A(this,Ps,t),this._drawingOptions||(this._drawingOptions=s),this.annotationElementId||this._uiManager.a11yAlert(`pdfjs-editor-${this.editorType}-added-alert`),i>=0?(this._drawId=i,this.parent.drawLayer.finalizeDraw(i,t.defaultProperties)):this._drawId=P(this,Ge,MT).call(this,t,this.parent),P(this,Ge,Z0).call(this,t.box)},MT=function(t,i){const{id:s}=i.drawLayer.draw(oe._mergeSVGProperties(this._drawingOptions.toSVGProperties(),t.defaultSVGProperties),!1,!1);return s},OT=function(){this._drawId===null||!this.parent||(this.parent.drawLayer.remove(this._drawId),this._drawId=null,this._drawingOptions.reset())},J0=function(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=P(this,Ge,MT).call(this,d(this,Ps),t)}},T9=function([t,i,s,r]){const{parentDimensions:[a,o],rotation:l}=this;switch(l){case 90:return[i,1-t,s*(o/a),r*(a/o)];case 180:return[1-t,1-i,s,r];case 270:return[1-i,t,s*(o/a),r*(a/o)];default:return[t,i,s,r]}},SS=function(){const{x:t,y:i,width:s,height:r,parentDimensions:[a,o],rotation:l}=this;switch(l){case 90:return[1-i,t,s*(a/o),r*(o/a)];case 180:return[1-t,1-i,s,r];case 270:return[i,1-t,s*(a/o),r*(o/a)];default:return[t,i,s,r]}},Z0=function(t){[this.x,this.y,this.width,this.height]=P(this,Ge,T9).call(this,t),this.div&&(this.fixAndSetPosition(),this.setDims()),this._onResized()},Uf=function(){const{x:t,y:i,width:s,height:r,rotation:a,parentRotation:o,parentDimensions:[l,c]}=this;switch((a*4+o)/90){case 1:return[1-i-r,t,r,s];case 2:return[1-t-s,1-i-r,s,r];case 3:return[i,1-t-s,r,s];case 4:return[t,i-s*(l/c),r*(c/l),s*(l/c)];case 5:return[1-i,t,s*(l/c),r*(c/l)];case 6:return[1-t-r*(c/l),1-i,r*(c/l),s*(l/c)];case 7:return[i-s*(l/c),1-t-r*(c/l),s*(l/c),r*(c/l)];case 8:return[t-s,i-r,s,r];case 9:return[1-i,t-s,r,s];case 10:return[1-t,1-i,s,r];case 11:return[i-r,1-t,r,s];case 12:return[t-r*(c/l),i,r*(c/l),s*(l/c)];case 13:return[1-i-s*(l/c),t-r*(c/l),s*(l/c),r*(c/l)];case 14:return[1-t,1-i-s*(l/c),r*(c/l),s*(l/c)];case 15:return[i,1-t,s*(l/c),r*(c/l)];default:return[t,i,s,r]}},q(oe,"_currentDrawId",-1),q(oe,"_currentParent",null),T(oe,Mn,null),T(oe,Th,null),T(oe,Dh,null),T(oe,nu,NaN),T(oe,iu,null),T(oe,su,null),T(oe,Ph,NaN),q(oe,"_INNER_MARGIN",3);let Yx=oe;var qa,On,Ln,Rh,ig,Ii,Kn,_r,kh,Nh,Mh,sg,xS;class Dce{constructor(e,t,i,s,r,a){T(this,sg);T(this,qa,new Float64Array(6));T(this,On);T(this,Ln);T(this,Rh);T(this,ig);T(this,Ii);T(this,Kn,"");T(this,_r,0);T(this,kh,new Tb);T(this,Nh);T(this,Mh);A(this,Nh,i),A(this,Mh,s),A(this,Rh,r),A(this,ig,a),[e,t]=P(this,sg,xS).call(this,e,t);const o=A(this,On,[NaN,NaN,NaN,NaN,e,t]);A(this,Ii,[e,t]),A(this,Ln,[{line:o,points:d(this,Ii)}]),d(this,qa).set(o,0)}updateProperty(e,t){e==="stroke-width"&&A(this,ig,t)}isEmpty(){return!d(this,Ln)||d(this,Ln).length===0}isCancellable(){return d(this,Ii).length<=10}add(e,t){[e,t]=P(this,sg,xS).call(this,e,t);const[i,s,r,a]=d(this,qa).subarray(2,6),o=e-r,l=t-a;return Math.hypot(d(this,Nh)*o,d(this,Mh)*l)<=2?null:(d(this,Ii).push(e,t),isNaN(i)?(d(this,qa).set([r,a,e,t],2),d(this,On).push(NaN,NaN,NaN,NaN,e,t),{path:{d:this.toSVGPath()}}):(isNaN(d(this,qa)[0])&&d(this,On).splice(6,6),d(this,qa).set([i,s,r,a,e,t],0),d(this,On).push(...se.createBezierPoints(i,s,r,a,e,t)),{path:{d:this.toSVGPath()}}))}end(e,t){const i=this.add(e,t);
245return i||(d(this,Ii).length===2?{path:{d:this.toSVGPath()}}:null)}startNew(e,t,i,s,r){A(this,Nh,i),A(this,Mh,s),A(this,Rh,r),[e,t]=P(this,sg,xS).call(this,e,t);const a=A(this,On,[NaN,NaN,NaN,NaN,e,t]);A(this,Ii,[e,t]);const o=d(this,Ln).at(-1);return o&&(o.line=new Float32Array(o.line),o.points=new Float32Array(o.points)),d(this,Ln).push({line:a,points:d(this,Ii)}),d(this,qa).set(a,0),A(this,_r,0),this.toSVGPath(),null}getLastElement(){return d(this,Ln).at(-1)}setLastElement(e){return d(this,Ln)?(d(this,Ln).push(e),A(this,On,e.line),A(this,Ii,e.points),A(this,_r,0),{path:{d:this.toSVGPath()}}):d(this,kh).setLastElement(e)}removeLastElement(){if(!d(this,Ln))return d(this,kh).removeLastElement();d(this,Ln).pop(),A(this,Kn,"");for(let e=0,t=d(this,Ln).length;e<t;e++){const{line:i,points:s}=d(this,Ln)[e];A(this,On,i),A(this,Ii,s),A(this,_r,0),this.toSVGPath()}return{path:{d:d(this,Kn)}}}toSVGPath(){const e=se.svgRound(d(this,On)[4]),t=se.svgRound(d(this,On)[5]);if(d(this,Ii).length===2)return A(this,Kn,`${d(this,Kn)} M ${e} ${t} Z`),d(this,Kn);if(d(this,Ii).length<=6){const s=d(this,Kn).lastIndexOf("M");A(this,Kn,`${d(this,Kn).slice(0,s)} M ${e} ${t}`),A(this,_r,6)}if(d(this,Ii).length===4){const s=se.svgRound(d(this,On)[10]),r=se.svgRound(d(this,On)[11]);return A(this,Kn,`${d(this,Kn)} L ${s} ${r}`),A(this,_r,12),d(this,Kn)}const i=[];d(this,_r)===0&&(i.push(`M ${e} ${t}`),A(this,_r,6));for(let s=d(this,_r),r=d(this,On).length;s<r;s+=6){const[a,o,l,c,u,h]=d(this,On).slice(s,s+6).map(se.svgRound);i.push(`C${a} ${o} ${l} ${c} ${u} ${h}`)}return A(this,Kn,d(this,Kn)+i.join(" ")),A(this,_r,d(this,On).length),d(this,Kn)}getOutlines(e,t,i,s){const r=d(this,Ln).at(-1);return r.line=new Float32Array(r.line),r.points=new Float32Array(r.points),d(this,kh).build(d(this,Ln),e,t,i,d(this,Rh),d(this,ig),s),A(this,qa,null),A(this,On,null),A(this,Ln,null),A(this,Kn,null),d(this,kh)}get defaultSVGProperties(){return{root:{viewBox:"0 0 10000 10000"},rootClass:{draw:!0},bbox:[0,0,1,1]}}}qa=new WeakMap,On=new WeakMap,Ln=new WeakMap,Rh=new WeakMap,ig=new WeakMap,Ii=new WeakMap,Kn=new WeakMap,_r=new WeakMap,kh=new WeakMap,Nh=new WeakMap,Mh=new WeakMap,sg=new WeakSet,xS=function(e,t){return se._normalizePoint(e,t,d(this,Nh),d(this,Mh),d(this,Rh))};var Ci,Q2,J2,Rs,Ya,Wa,rg,ag,Oh,ei,Lo,D9,P9,R9;class Tb extends se{constructor(){super(...arguments);T(this,ei);T(this,Ci);T(this,Q2,0);T(this,J2);T(this,Rs);T(this,Ya);T(this,Wa);T(this,rg);T(this,ag);T(this,Oh)}build(t,i,s,r,a,o,l){A(this,Ya,i),A(this,Wa,s),A(this,rg,r),A(this,ag,a),A(this,Oh,o),A(this,J2,l??0),A(this,Rs,t),P(this,ei,P9).call(this)}get thickness(){return d(this,Oh)}setLastElement(t){return d(this,Rs).push(t),{path:{d:this.toSVGPath()}}}removeLastElement(){return d(this,Rs).pop(),{path:{d:this.toSVGPath()}}}toSVGPath(){const t=[];for(const{line:i}of d(this,Rs)){if(t.push(`M${se.svgRound(i[4])} ${se.svgRound(i[5])}`),i.length===6){t.push("Z");continue}if(i.length===12&&isNaN(i[6])){t.push(`L${se.svgRound(i[10])} ${se.svgRound(i[11])}`);continue}for(let s=6,r=i.length;s<r;s+=6){const[a,o,l,c,u,h]=i.subarray(s,s+6).map(se.svgRound);t.push(`C${a} ${o} ${l} ${c} ${u} ${h}`)}}return t.join("")}serialize([t,i,s,r],a){const o=[],l=[],[c,u,h,f]=P(this,ei,D9).call(this);let p,b,g,S,y,v,_,x,E;switch(d(this,ag)){case 0:E=se._rescale,p=t,b=i+r,g=s,S=-r,y=t+c*s,v=i+(1-u-f)*r,_=t+(c+h)*s,x=i+(1-u)*r;break;case 90:E=se._rescaleAndSwap,p=t,b=i,g=s,S=r,y=t+u*s,v=i+c*r,_=t+(u+f)*s,x=i+(c+h)*r;break;case 180:E=se._rescale,p=t+s,b=i,g=-s,S=r,y=t+(1-c-h)*s,v=i+u*r,_=t+(1-c)*s,x=i+(u+f)*r;break;case 270:E=se._rescaleAndSwap,p=t+s,b=i+r,g=-s,S=-r,y=t+(1-u-f)*s,v=i+(1-c-h)*r,_=t+(1-u)*s,x=i+(1-c)*r;break}for(const{line:C,points:I}of d(this,Rs))o.push(E(C,p,b,g,S,a?new Array(C.length):null)),l.push(E(I,p,b,g,S,a?new Array(I.length):null));return{lines:o,points:l,rect:[y,v,_,x]}}static deserialize(t,i,s,r,a,{paths:{lines:o,points:l},rotation:c,thickness:u}){const h=[];let f,p,b,g,S;switch(c){case 0:S=se._rescale,f=-t/s,p=i/r+1,b=1/s,g=-1/r;break;case 90:S=se._rescaleAndSwap,f=-i/r,p=-t/s,b=1/r,g=1/s;break;case 180:S=se._rescale,f=t/s+1,p=-i/r,b=-1/s,g=1/r;break;case 270:S=se._rescaleAndSwap,f=i/r+1,p=t/s+1,b=-1/r,g=-1/s;break}if(!o){o=[];for(const v of l){const _=v.length;if(_===2){o.push(new Float32Array([NaN,NaN,NaN,NaN,v[0],v[1]]));continue}if(_===4){o.push(new Float32Array([NaN,NaN,NaN,NaN,v[0],v[1],NaN,NaN,NaN,NaN,v[2],v[3]]));continue}const x=new Float32Array(3*(_-2));o.push(x);let[E,C,I,R]=v.subarray(0,4);x.set([NaN,NaN,NaN,NaN,E,C],0);for(let D=4;D<_;D+=2){const k=v[D],N=v[D+1];x.set(se.createBezierPoints(E,C,I,R,k,N),(D-2)*3),[E,C,I,R]=[I,R,k,N]}}}for(let v=0,_=o.length;v<_;v++)h.push({line:S(o[v].map(x=>x??NaN),f,p,b,g),points:S(l[v].map(x=>x??NaN),f,p,b,g)});const y=new this.prototype.constructor;return y.build(h,s,r,1,c,u,a),y}get box(){return d(this,Ci)}updateProperty(t,i){return t==="stroke-width"?P(this,ei,R9).call(this,i):null}updateParentDimensions([t,i],s){const[r,a]=P(this,ei,Lo).call(this);A(this,Ya,t),A(this,Wa,i),A(this,rg,s);const[o,l]=P(this,ei,Lo).call(this),c=o-r,u=l-a,h=d(this,Ci);return h[0]-=c,h[1]-=u,h[2]+=2*c,h[3]+=2*u,h}updateRotation(t){return A(this,Q2,t),{path:{transform:this.rotationTransform}}}get viewBox(){return d(this,Ci).map(se.svgRound).join(" ")}get defaultProperties(){const[t,i]=d(this,Ci);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${se.svgRound(t)} ${se.svgRound(i)}`}}}get rotationTransform(){const[,,t,i]=d(this,Ci);let s=0,r=0,a=0,o=0,l=0,c=0;switch(d(this,Q2)){case 90:r=i/t,a=-t/i,l=t;break;case 180:s=-1,o=-1,l=t,c=i;break;case 270:r=-i/t,a=t/i,c=i;break;default:return""}return`matrix(${s} ${r} ${a} ${o} ${se.svgRound(l)} ${se.svgRound(c)})`}getPathResizingSVGProperties([t,i,s,r]){const[a,o]=P(this,ei,Lo).call(this),[l,c,u,h]=d(this,Ci);if(Math.abs(u-a)<=se.PRECISION||Math.abs(h-o)<=se.PRECISION){const S=t+s/2-(l+u/2),y=i+r/2-(c+h/2);return{path:{"transform-origin":`${se.svgRound(t)} ${se.svgRound(i)}`,transform:`${this.rotationTransform} translate(${S} ${y})`}}}const f=(s-2*a)/(u-2*a),p=(r-2*o)/(h-2*o),b=u/s,g=h/r;return{path:{"transform-origin":`${se.svgRound(l)} ${se.svgRound(c)}`,transform:`${this.rotationTransform} scale(${b} ${g}) translate(${se.svgRound(a)} ${se.svgRound(o)}) scale(${f} ${p}) translate(${se.svgRound(-a)} ${se.svgRound(-o)})`}}}getPathResizedSVGProperties([t,i,s,r]){const[a,o]=P(this,ei,Lo).call(this),l=d(this,Ci),[c,u,h,f]=l;if(l[0]=t,l[1]=i,l[2]=s,l[3]=r,Math.abs(h-a)<=se.PRECISION||Math.abs(f-o)<=se.PRECISION){const y=t+s/2-(c+h/2),v=i+r/2-(u+f/2);for(const{line:_,points:x}of d(this,Rs))se._translate(_,y,v,_),se._translate(x,y,v,x);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${se.svgRound(t)} ${se.svgRound(i)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}const p=(s-2*a)/(h-2*a),b=(r-2*o)/(f-2*o),g=-p*(c+a)+t+a,S=-b*(u+o)+i+o;if(p!==1||b!==1||g!==0||S!==0)for(const{line:y,points:v}of d(this,Rs))se._rescale(y,g,S,p,b,y),se._rescale(v,g,S,p,b,v);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${se.svgRound(t)} ${se.svgRound(i)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}getPathTranslatedSVGProperties([t,i],s){const[r,a]=s,o=d(this,Ci),l=t-o[0],c=i-o[1];if(d(this,Ya)===r&&d(this,Wa)===a)for(const{line:u,points:h}of d(this,Rs))se._translate(u,l,c,u),se._translate(h,l,c,h);else{const u=d(this,Ya)/r,h=d(this,Wa)/a;A(this,Ya,r),A(this,Wa,a);for(const{line:f,points:p}of d(this,Rs))se._rescale(f,l,c,u,h,f),se._rescale(p,l,c,u,h,p);o[2]*=u,o[3]*=h}return o[0]=t,o[1]=i,{root:{viewBox:this.viewBox},path:{d:this.toSVGPath(),"transform-origin":`${se.svgRound(t)} ${se.svgRound(i)}`}}}get defaultSVGProperties(){const t=d(this,Ci);return{root:{viewBox:this.viewBox},rootClass:{draw:!0},path:{d:this.toSVGPath(),"transform-origin":`${se.svgRound(t[0])} ${se.svgRound(t[1])}`,transform:this.rotationTransform||null},bbox:t}}}Ci=new WeakMap,Q2=new WeakMap,J2=new WeakMap,Rs=new WeakMap,Ya=new WeakMap,Wa=new WeakMap,rg=new WeakMap,ag=new WeakMap,Oh=new WeakMap,ei=new WeakSet,Lo=function(t=d(this,Oh)){const i=d(this,J2)+t/2*d(this,rg);return d(this,ag)%180===0?[i/d(this,Ya),i/d(this,Wa)]:[i/d(this,Wa),i/d(this,Ya)]},D9=function(){const[t,i,s,r]=d(this,Ci),[a,o]=P(this,ei,Lo).call(this,0);return[t+a,i+o,s-2*a,r-2*o]},P9=function(){const t=A(this,Ci,new Float32Array([1/0,1/0,-1/0,-1/0]));for(const{line:r}of d(this,Rs)){if(r.length<=12){for(let l=4,c=r.length;l<c;l+=6)re.pointBoundingBox(r[l],r[l+1],t);continue}let a=r[4],o=r[5];for(let l=6,c=r.length;l<c;l+=6){const[u,h,f,p,b,g]=r.subarray(l,l+6);re.bezierBoundingBox(a,o,u,h,f,p,b,g,t),a=b,o=g}}const[i,s]=P(this,ei,Lo).call(this);t[0]=mi(t[0]-i,0,1),t[1]=mi(t[1]-s,0,1),t[2]=mi(t[2]+i,0,1),t[3]=mi(t[3]+s,0,1),t[2]-=t[0],t[3]-=t[1]},R9=function(t){const[i,s]=P(this,ei,Lo).call(this);A(this,Oh,t);const[r,a]=P(this,ei,Lo).call(this),[o,l]=[r-i,a-s],c=d(this,Ci);return c[0]-=o,c[1]-=l,c[2]+=2*o,c[3]+=2*l,c};class Sw extends C9{constructor(e){super(),this._viewParameters=e,super.updateProperties({fill:"none",stroke:xt._defaultLineColor,"stroke-opacity":1,"stroke-width":1,"stroke-linecap":"round","stroke-linejoin":"round","stroke-miterlimit":10})}updateSVGProperty(e,t){e==="stroke-width"&&(t??(t=this["stroke-width"]),t*=this._viewParameters.realScale),super.updateSVGProperty(e,t)}clone(){const e=new Sw(this._viewParameters);return e.updateAll(this),e}}var A1,k9;const dp=class dp extends Yx{constructor(t){super({...t,name:"inkEditor"});T(this,A1);this._willKeepAspectRatio=!0,this.defaultL10nId="pdfjs-editor-ink-editor"}static initialize(t,i){xt.initialize(t,i),this._defaultDrawingOptions=new Sw(i.viewParameters)}static getDefaultDrawingOptions(t){const i=this._defaultDrawingOptions.clone();return i.updateProperties(t),i}static get supportMultipleDrawings(){return!0}static get typesMap(){return Ee(this,"typesMap",new Map([[Me.INK_THICKNESS,"stroke-width"],[Me.INK_COLOR,"stroke"],[Me.INK_OPACITY,"stroke-opacity"]]))}static createDrawerInstance(t,i,s,r,a){return new Dce(t,i,s,r,a,this._defaultDrawingOptions["stroke-width"])}static deserializeDraw(t,i,s,r,a,o){return Tb.deserialize(t,i,s,r,a,o)}static async deserialize(t,i,s){let r=null;if(t instanceof OR){const{data:{inkLists:o,rect:l,rotation:c,id:u,color:h,opacity:f,borderStyle:{rawWidth:p},popupRef:b,richText:g,contentsObj:S,creationDate:y,modificationDate:v},parent:{page:{pageNumber:_}}}=t;r=t={annotationType:pe.INK,color:Array.from(h),thickness:p,opacity:f,paths:{points:o},boxes:null,pageIndex:_-1,rect:l.slice(0),rotation:c,annotationElementId:u,id:u,deleted:!1,popupRef:b,richText:g,comment:(S==null?void 0:S.str)||null,creationDate:y,modificationDate:v}}const a=await super.deserialize(t,i,s);return a._initialData=r,t.comment&&a.setCommentData(t),a}get toolbarButtons(){return this._colorPicker||(this._colorPicker=new Gx(this)),[["colorPicker",this._colorPicker]]}get colorType(){return Me.INK_COLOR}get color(){return this._drawingOptions.stroke}get opacity(){return this._drawingOptions["stroke-opacity"]}onScaleChanging(){if(!this.parent)return;super.onScaleChanging();const{_drawId:t,_drawingOptions:i,parent:s}=this;i.updateSVGProperty("stroke-width"),s.drawLayer.updateProperties(t,i.toSVGProperties())}static onScaleChangingWhenDrawing(){const t=this._currentParent;t&&(super.onScaleChangingWhenDrawing(),this._defaultDrawingOptions.updateSVGProperty("stroke-width"),t.drawLayer.updateProperties(this._currentDrawId,this._defaultDrawingOptions.toSVGProperties()))}createDrawingOptions({color:t,thickness:i,opacity:s}){this._drawingOptions=dp.getDefaultDrawingOptions({stroke:re.makeHexColor(...t),"stroke-width":i,"stroke-opacity":s})}serialize(t=!1){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const{lines:i,points:s}=this.serializeDraw(t),{_drawingOptions:{stroke:r,"stroke-opacity":a,"stroke-width":o}}=this,l=Object.assign(super.serialize(t),{color:xt._colorManager.convert(r),opacity:a,thickness:o,paths:{lines:i,points:s}});return this.addComment(l),t?(l.isCopy=!0,l):this.annotationElementId&&!P(this,A1,k9).call(this,l)?null:(l.id=this.annotationElementId,l)}renderAnnotationElement(t){if(this.deleted)return t.hide(),null;const{points:i,rect:s}=this.serializeDraw(!1);return t.updateEdited({rect:s,thickness:this._drawingOptions["stroke-width"],points:i,popup:this.comment}),null}};A1=new WeakSet,k9=function(t){const{color:i,thickness:s,opacity:r,pageIndex:a}=this._initialData;return this.hasEditedComment||this._hasBeenMoved||this._hasBeenResized||t.color.some((o,l)=>o!==i[l])||t.thickness!==s||t.opacity!==r||t.pageIndex!==a},q(dp,"_type","ink"),q(dp,"_editorType",pe.INK),q(dp,"_defaultDrawingOptions",null);let LT=dp;class BT extends Tb{toSVGPath(){let e=super.toSVGPath();return e.endsWith("Z")||(e+="Z"),e}}const __=8,I0=3;var Lh,Qe,jT,aa,N9,M9,FT,wS,O9,L9,B9,zT,UT,j9;class Za{static extractContoursFromText(e,{fontFamily:t,fontStyle:i,fontWeight:s},r,a,o,l){let c=new OffscreenCanvas(1,1),u=c.getContext("2d",{alpha:!1});const h=200,f=u.font=`${i} ${s} ${h}px ${t}`,{actualBoundingBoxLeft:p,actualBoundingBoxRight:b,actualBoundingBoxAscent:g,actualBoundingBoxDescent:S,fontBoundingBoxAscent:y,fontBoundingBoxDescent:v,width:_}=u.measureText(e),x=1.5,E=Math.ceil(Math.max(Math.abs(p)+Math.abs(b)||0,_)*x),C=Math.ceil(Math.max(Math.abs(g)+Math.abs(S)||h,Math.abs(y)+Math.abs(v)||h)*x);c=new OffscreenCanvas(E,C),u=c.getContext("2d",{alpha:!0,willReadFrequently:!0}),u.font=f,u.filter="grayscale(1)",u.fillStyle="white",u.fillRect(0,0,E,C),u.fillStyle="black",u.fillText(e,E*(x-1)/2,C*(3-x)/2);const I=P(this,Qe,zT).call(this,u.getImageData(0,0,E,C).data),R=P(this,Qe,B9).call(this,I),D=P(this,Qe,UT).
245call(this,R),k=P(this,Qe,FT).call(this,I,E,C,D);return this.processDrawnLines({lines:{curves:k,width:E,height:C},pageWidth:r,pageHeight:a,rotation:o,innerMargin:l,mustSmooth:!0,areContours:!0})}static process(e,t,i,s,r){const[a,o,l]=P(this,Qe,j9).call(this,e),[c,u]=P(this,Qe,L9).call(this,a,o,l,Math.hypot(o,l)*d(this,Lh).sigmaSFactor,d(this,Lh).sigmaR,d(this,Lh).kernelSize),h=P(this,Qe,UT).call(this,u),f=P(this,Qe,FT).call(this,c,o,l,h);return this.processDrawnLines({lines:{curves:f,width:o,height:l},pageWidth:t,pageHeight:i,rotation:s,innerMargin:r,mustSmooth:!0,areContours:!0})}static processDrawnLines({lines:e,pageWidth:t,pageHeight:i,rotation:s,innerMargin:r,mustSmooth:a,areContours:o}){s%180!==0&&([t,i]=[i,t]);const{curves:l,width:c,height:u}=e,h=e.thickness??0,f=[],p=Math.min(t/c,i/u),b=p/t,g=p/i,S=[];for(const{points:v}of l){const _=a?P(this,Qe,O9).call(this,v):v;if(!_)continue;S.push(_);const x=_.length,E=new Float32Array(x),C=new Float32Array(3*(x===2?2:x-2));if(f.push({line:C,points:E}),x===2){E[0]=_[0]*b,E[1]=_[1]*g,C.set([NaN,NaN,NaN,NaN,E[0],E[1]],0);continue}let[I,R,D,k]=_;I*=b,R*=g,D*=b,k*=g,E.set([I,R,D,k],0),C.set([NaN,NaN,NaN,NaN,I,R],0);for(let N=4;N<x;N+=2){const O=E[N]=_[N]*b,j=E[N+1]=_[N+1]*g;C.set(se.createBezierPoints(I,R,D,k,O,j),(N-2)*3),[I,R,D,k]=[D,k,O,j]}}if(f.length===0)return null;const y=o?new BT:new Tb;return y.build(f,t,i,1,s,o?0:h,r),{outline:y,newCurves:S,areContours:o,thickness:h,width:c,height:u}}static async compressSignature({outlines:e,areContours:t,thickness:i,width:s,height:r}){let a=1/0,o=-1/0,l=0;for(const _ of e){l+=_.length;for(let x=2,E=_.length;x<E;x++){const C=_[x]-_[x-2];a=Math.min(a,C),o=Math.max(o,C)}}let c;a>=-128&&o<=127?c=Int8Array:a>=-32768&&o<=32767?c=Int16Array:c=Int32Array;const u=e.length,h=__+I0*u,f=new Uint32Array(h);let p=0;f[p++]=h*Uint32Array.BYTES_PER_ELEMENT+(l-2*u)*c.BYTES_PER_ELEMENT,f[p++]=0,f[p++]=s,f[p++]=r,f[p++]=t?0:1,f[p++]=Math.max(0,Math.floor(i??0)),f[p++]=u,f[p++]=c.BYTES_PER_ELEMENT;for(const _ of e)f[p++]=_.length-2,f[p++]=_[0],f[p++]=_[1];const b=new CompressionStream("deflate-raw"),g=b.writable.getWriter();await g.ready,g.write(f);const S=c.prototype.constructor;for(const _ of e){const x=new S(_.length-2);for(let E=2,C=_.length;E<C;E++)x[E-2]=_[E]-_[E-2];g.write(x)}g.close();const y=await new Response(b.readable).arrayBuffer(),v=new Uint8Array(y);return M6(v)}static async decompressSignature(e){try{const t=ele(e),{readable:i,writable:s}=new DecompressionStream("deflate-raw"),r=s.getWriter();await r.ready,r.write(t).then(async()=>{await r.ready,await r.close()}).catch(()=>{});let a=null,o=0;for await(const _ of i)a||(a=new Uint8Array(new Uint32Array(_.buffer,0,4)[0])),a.set(_,o),o+=_.length;const l=new Uint32Array(a.buffer,0,a.length>>2),c=l[1];if(c!==0)throw new Error(`Invalid version: ${c}`);const u=l[2],h=l[3],f=l[4]===0,p=l[5],b=l[6],g=l[7],S=[],y=(__+I0*b)*Uint32Array.BYTES_PER_ELEMENT;let v;switch(g){case Int8Array.BYTES_PER_ELEMENT:v=new Int8Array(a.buffer,y);break;case Int16Array.BYTES_PER_ELEMENT:v=new Int16Array(a.buffer,y);break;case Int32Array.BYTES_PER_ELEMENT:v=new Int32Array(a.buffer,y);break}o=0;for(let _=0;_<b;_++){const x=l[I0*_+__],E=new Float32Array(x+2);S.push(E);for(let C=0;C<I0-1;C++)E[C]=l[I0*_+__+C+1];for(let C=0;C<x;C++)E[C+2]=E[C]+v[o++]}return{areContours:f,thickness:p,outlines:S,width:u,height:h}}catch(t){return me(`decompressSignature: ${t}`),null}}}Lh=new WeakMap,Qe=new WeakSet,jT=function(e,t,i,s){return i-=e,s-=t,i===0?s>0?0:4:i===1?s+6:2-s},aa=new WeakMap,N9=function(e,t,i,s,r,a,o){const l=P(this,Qe,jT).call(this,i,s,r,a);for(let c=0;c<8;c++){const u=(-c+l-o+16)%8,h=d(this,aa)[2*u],f=d(this,aa)[2*u+1];if(e[(i+h)*t+(s+f)]!==0)return u}return-1},M9=function(e,t,i,s,r,a,o){const l=P(this,Qe,jT).call(this,i,s,r,a);for(let c=0;c<8;c++){const u=(c+l+o+16)%8,h=d(this,aa)[2*u],f=d(this,aa)[2*u+1];if(e[(i+h)*t+(s+f)]!==0)return u}return-1},FT=function(e,t,i,s){const r=e.length,a=new Int32Array(r);for(let u=0;u<r;u++)a[u]=e[u]<=s?1:0;for(let u=1;u<i-1;u++)a[u*t]=a[u*t+t-1]=0;for(let u=0;u<t;u++)a[u]=a[t*i-1-u]=0;let o=1,l;const c=[];for(let u=1;u<i-1;u++){l=1;for(let h=1;h<t-1;h++){const f=u*t+h,p=a[f];if(p===0)continue;let b=u,g=h;if(p===1&&a[f-1]===0)o+=1,g-=1;else if(p>=1&&a[f+1]===0)o+=1,g+=1,p>1&&(l=p);else{p!==1&&(l=Math.abs(p));continue}
245const S=[h,u],y=g===h+1,v={isHole:y,points:S,id:o,parent:0};c.push(v);let _;for(const N of c)if(N.id===l){_=N;break}_?_.isHole?v.parent=y?_.parent:l:v.parent=y?l:_.parent:v.parent=y?l:0;const x=P(this,Qe,N9).call(this,a,t,u,h,b,g,0);if(x===-1){a[f]=-o,a[f]!==1&&(l=Math.abs(a[f]));continue}let E=d(this,aa)[2*x],C=d(this,aa)[2*x+1];const I=u+E,R=h+C;b=I,g=R;let D=u,k=h;for(;;){const N=P(this,Qe,M9).call(this,a,t,D,k,b,g,1);E=d(this,aa)[2*N],C=d(this,aa)[2*N+1];const O=D+E,j=k+C;S.push(j,O);const L=D*t+k;if(a[L+1]===0?a[L]=-o:a[L]===1&&(a[L]=o),O===u&&j===h&&D===I&&k===R){a[f]!==1&&(l=Math.abs(a[f]));break}else b=D,g=k,D=O,k=j}}}return c},wS=function(e,t,i,s){if(i-t<=4){for(let I=t;I<i-2;I+=2)s.push(e[I],e[I+1]);return}const r=e[t],a=e[t+1],o=e[i-4]-r,l=e[i-3]-a,c=Math.hypot(o,l),u=o/c,h=l/c,f=u*a-h*r,p=l/o,b=1/c,g=Math.atan(p),S=Math.cos(g),y=Math.sin(g),v=b*(Math.abs(S)+Math.abs(y)),_=b*(1-v+v**2),x=Math.max(Math.atan(Math.abs(y+S)*_),Math.atan(Math.abs(y-S)*_));let E=0,C=t;for(let I=t+2;I<i-2;I+=2){const R=Math.abs(f-u*e[I+1]+h*e[I]);R>E&&(C=I,E=R)}E>(c*x)**2?(P(this,Qe,wS).call(this,e,t,C+2,s),P(this,Qe,wS).call(this,e,C,i,s)):s.push(r,a)},O9=function(e){const t=[],i=e.length;return P(this,Qe,wS).call(this,e,0,i,t),t.push(e[i-2],e[i-1]),t.length<=4?null:t},L9=function(e,t,i,s,r,a){const o=new Float32Array(a**2),l=-2*s**2,c=a>>1;for(let g=0;g<a;g++){const S=(g-c)**2;for(let y=0;y<a;y++)o[g*a+y]=Math.exp((S+(y-c)**2)/l)}const u=new Float32Array(256),h=-2*r**2;for(let g=0;g<256;g++)u[g]=Math.exp(g**2/h);const f=e.length,p=new Uint8Array(f),b=new Uint32Array(256);for(let g=0;g<i;g++)for(let S=0;S<t;S++){const y=g*t+S,v=e[y];let _=0,x=0;for(let C=0;C<a;C++){const I=g+C-c;if(!(I<0||I>=i))for(let R=0;R<a;R++){const D=S+R-c;if(D<0||D>=t)continue;const k=e[I*t+D],N=o[C*a+R]*u[Math.abs(k-v)];_+=k*N,x+=N}}const E=p[y]=Math.round(_/x);b[E]++}return[p,b]},B9=function(e){const t=new Uint32Array(256);for(const i of e)t[i]++;return t},zT=function(e){const t=e.length,i=new Uint8ClampedArray(t>>2);let s=-1/0,r=1/0;for(let o=0,l=i.length;o<l;o++){const c=i[o]=e[o<<2];s=Math.max(s,c),r=Math.min(r,c)}const a=255/(s-r);for(let o=0,l=i.length;o<l;o++)i[o]=(i[o]-r)*a;return i},UT=function(e){let t,i=-1/0,s=-1/0;const r=e.findIndex(l=>l!==0);let a=r,o=r;for(t=r;t<256;t++){const l=e[t];l>i&&(t-a>s&&(s=t-a,o=t-1),i=l,a=t)}for(t=o-1;t>=0&&!(e[t]>e[t+1]);t--);return t},j9=function(e){const t=e,{width:i,height:s}=e,{maxDim:r}=d(this,Lh);let a=i,o=s;if(i>r||s>r){let f=i,p=s,b=Math.log2(Math.max(i,s)/r);const g=Math.floor(b);b=b===g?g-1:g;for(let y=0;y<b;y++){a=Math.ceil(f/2),o=Math.ceil(p/2);const v=new OffscreenCanvas(a,o);v.getContext("2d").drawImage(e,0,0,f,p,0,0,a,o),f=a,p=o,e!==t&&e.close(),e=v.transferToImageBitmap()}const S=Math.min(r/a,r/o);a=Math.round(a*S),o=Math.round(o*S)}const c=new OffscreenCanvas(a,o).getContext("2d",{willReadFrequently:!0});c.fillStyle="white",c.fillRect(0,0,a,o),c.filter="grayscale(1)",c.drawImage(e,0,0,e.width,e.height,0,0,a,o);const u=c.getImageData(0,0,a,o).data;return[P(this,Qe,zT).call(this,u),a,o]},T(Za,Qe),T(Za,Lh,{maxDim:512,sigmaSFactor:.02,sigmaR:25,kernelSize:16}),T(Za,aa,new Int32Array([0,1,-1,1,-1,0,-1,-1,0,-1,1,-1,1,0,1,1]));class BR extends C9{constructor(){super(),super.updateProperties({fill:xt._defaultLineColor,"stroke-width":0})}clone(){const e=new BR;return e.updateAll(this),e}}class jR extends Sw{constructor(e){super(e),super.updateProperties({stroke:xt._defaultLineColor,"stroke-width":1})}clone(){const e=new jR(this._viewParameters);return e.updateAll(this),e}}var ru,Ka,au,Bh;const ms=class ms extends Yx{constructor(t){super({...t,mustBeCommitted:!0,name:"signatureEditor"});T(this,ru,!1);T(this,Ka,null);T(this,au,null);T(this,Bh,null);this._willKeepAspectRatio=!0,A(this,au,t.signatureData||null),A(this,Ka,null),this.defaultL10nId="pdfjs-editor-signature-editor1"}static initialize(t,i){xt.initialize(t,i),this._defaultDrawingOptions=new BR,this._defaultDrawnSignatureOptions=new jR(i.viewParameters)}static getDefaultDrawingOptions(t){const i=this._defaultDrawingOptions.clone();return i.updateProperties(t),i}static get supportMultipleDrawings(){return!1}static get typesMap(){return Ee(this,"typesMap",new Map)}static get isDrawer(){return!1}get telemetryFinalData(){return{type:"signature",hasDescription:!!d(this,Ka)}}static computeTelemetryFinalData(t){const i=t.get("hasDescription");return{hasAltText:i.get(!0)??0,hasNoAltText:i.get(!1)??0}}get isResizable(){return!0}onScaleChanging(){this._drawId!==null&&super.onScaleChanging()}
245render(){if(this.div)return this.div;let t,i;const{_isCopy:s}=this;if(s&&(this._isCopy=!1,t=this.x,i=this.y),super.render(),this._drawId===null)if(d(this,au)){const{lines:r,mustSmooth:a,areContours:o,description:l,uuid:c,heightInPage:u}=d(this,au),{rawDims:{pageWidth:h,pageHeight:f},rotation:p}=this.parent.viewport,b=Za.processDrawnLines({lines:r,pageWidth:h,pageHeight:f,rotation:p,innerMargin:ms._INNER_MARGIN,mustSmooth:a,areContours:o});this.addSignature(b,u,l,c)}else this.div.setAttribute("data-l10n-args",JSON.stringify({description:""})),this.div.hidden=!0,this._uiManager.getSignature(this);else this.div.setAttribute("data-l10n-args",JSON.stringify({description:d(this,Ka)||""}));return s&&(this._isCopy=!0,this._moveAfterPaste(t,i)),this.div}setUuid(t){A(this,Bh,t),this.addEditToolbar()}getUuid(){return d(this,Bh)}get description(){return d(this,Ka)}set description(t){A(this,Ka,t),this.div&&(this.div.setAttribute("data-l10n-args",JSON.stringify({description:t})),super.addEditToolbar().then(i=>{i==null||i.updateEditSignatureButton(t)}))}getSignaturePreview(){const{newCurves:t,areContours:i,thickness:s,width:r,height:a}=d(this,au),o=Math.max(r,a),l=Za.processDrawnLines({lines:{curves:t.map(c=>({points:c})),thickness:s,width:r,height:a},pageWidth:o,pageHeight:o,rotation:0,innerMargin:0,mustSmooth:!1,areContours:i});return{areContours:i,outline:l.outline}}get toolbarButtons(){return this._uiManager.signatureManager?[["editSignature",this._uiManager.signatureManager]]:super.toolbarButtons}addSignature(t,i,s,r){const{x:a,y:o}=this,{outline:l}=A(this,au,t);A(this,ru,l instanceof BT),this.description=s;let c;d(this,ru)?c=ms.getDefaultDrawingOptions():(c=ms._defaultDrawnSignatureOptions.clone(),c.updateProperties({"stroke-width":l.thickness})),this._addOutlines({drawOutlines:l,drawingOptions:c});const[,u]=this.pageDimensions;let h=i/u;h=h>=1?.5:h,this.width*=h/this.height,this.width>=1&&(h*=.9/this.width,this.width=.9),this.height=h,this.setDims(),this.x=a,this.y=o,this.center(),this._onResized(),this.onScaleChanging(),this.rotate(),this._uiManager.addToAnnotationStorage(this),this.setUuid(r),this._reportTelemetry({action:"pdfjs.signature.inserted",data:{hasBeenSaved:!!r,hasDescription:!!s}}),this.div.hidden=!1}getFromImage(t){const{rawDims:{pageWidth:i,pageHeight:s},rotation:r}=this.parent.viewport;return Za.process(t,i,s,r,ms._INNER_MARGIN)}getFromText(t,i){const{rawDims:{pageWidth:s,pageHeight:r},rotation:a}=this.parent.viewport;return Za.extractContoursFromText(t,i,s,r,a,ms._INNER_MARGIN)}getDrawnSignature(t){const{rawDims:{pageWidth:i,pageHeight:s},rotation:r}=this.parent.viewport;return Za.processDrawnLines({lines:t,pageWidth:i,pageHeight:s,rotation:r,innerMargin:ms._INNER_MARGIN,mustSmooth:!1,areContours:!1})}createDrawingOptions({areContours:t,thickness:i}){t?this._drawingOptions=ms.getDefaultDrawingOptions():(this._drawingOptions=ms._defaultDrawnSignatureOptions.clone(),this._drawingOptions.updateProperties({"stroke-width":i}))}serialize(t=!1){if(this.isEmpty())return null;const{lines:i,points:s}=this.serializeDraw(t),{_drawingOptions:{"stroke-width":r}}=this,a=Object.assign(super.serialize(t),{isSignature:!0,areContours:d(this,ru),color:[0,0,0],thickness:d(this,ru)?0:r});return this.addComment(a),t?(a.paths={lines:i,points:s},a.uuid=d(this,Bh),a.isCopy=!0):a.lines=i,d(this,Ka)&&(a.accessibilityData={type:"Figure",alt:d(this,Ka)}),a}static deserializeDraw(t,i,s,r,a,o){return o.areContours?BT.deserialize(t,i,s,r,a,o):Tb.deserialize(t,i,s,r,a,o)}static async deserialize(t,i,s){var a;const r=await super.deserialize(t,i,s);return A(r,ru,t.areContours),r.description=((a=t.accessibilityData)==null?void 0:a.alt)||"",A(r,Bh,t.uuid),r}};ru=new WeakMap,Ka=new WeakMap,au=new WeakMap,Bh=new WeakMap,q(ms,"_type","signature"),q(ms,"_editorType",pe.SIGNATURE),q(ms,"_defaultDrawingOptions",null);let VT=ms;var Nt,Bn,ou,vl,lu,og,bl,jh,Qa,ks,lg,$e,ey,ty,ES,AS,IS,HT,CS,F9;class XT extends xt{constructor(t){super({...t,name:"stampEditor"});T(this,$e);T(this,Nt,null);T(this,Bn,null);T(this,ou,null);T(this,vl,null);T(this,lu,null);T(this,og,"");T(this,bl,null);T(this,jh,!1);T(this,Qa,null);T(this,ks,!1);T(this,lg,!1);A(this,vl,t.bitmapUrl),A(this,lu,t.bitmapFile),this.defaultL10nId="pdfjs-editor-stamp-editor"}static initialize(t,i){xt.initialize(t,i)}static isHandlingMimeForPasting(t){return zx.includes(t)}static paste(t,i){i.pasteEditor({mode:pe.STAMP},{bitmapFile:t.getAsFile()})}altTextFinish(){this._uiManager.useNewAltTextFlow&&(this.div.hidden=!1),super.altTextFinish()}get telemetryFinalData(){var t;return{type:"stamp",hasAltText:!!((t=this.altTextData)!=null&&t.altText)}}static computeTelemetryFinalData(t){const i=t.get("hasAltText");return{hasAltText:i.get(!0)??0,hasNoAltText:i.get(!1)??0}}async mlGuessAltText(t=null,i=!0){if(this.hasAltTextData())return null;const{mlManager:s}=this._uiManager;if(!s)throw new Error("No ML.");if(!await s.isEnabledFor("altText"))throw new Error("ML isn't enabled for alt text.");const{data:r,width:a,height:o}=t||this.copyCanvas(null,null,!0).imageData,l=await s.guess({name:"altText",request:{data:r,width:a,height:o,channels:r.length/(a*o)}});if(!l)throw new Error("No response from the AI service.");if(l.error)throw new Error("Error from the AI service.");if(l.cancel)return null;if(!l.output)throw new Error("No valid response from the AI service.");const c=l.output;return await this.setGuessedAltText(c),i&&!this.hasAltTextData()&&(this.altTextData={alt:c,decorative:!1}),c}remove(){var t;d(this,Bn)&&(A(this,Nt,null),this._uiManager.imageManager.deleteId(d(this,Bn)),(t=d(this,bl))==null||t.remove(),A(this,bl,null),d(this,Qa)&&(clearTimeout(d(this,Qa)),A(this,Qa,null))),super.remove()}rebuild(){if(!this.parent){d(this,Bn)&&P(this,$e,ES).call(this);return}super.rebuild(),this.div!==null&&(d(this,Bn)&&d(this,bl)===null&&P(this,$e,ES).call(this),this.isAttachedToDOM||this.parent.add(this))}onceAdded(t){this._isDraggable=!0,t&&this.div.focus()}isEmpty(){return!(d(this,ou)||d(this,Nt)||d(this,vl)||d(this,lu)||d(this,Bn)||d(this,jh))}get toolbarButtons(){return[["altText",this.createAltText()]]}get isResizable(){return!0}
245render(){if(this.div)return this.div;let t,i;return this._isCopy&&(t=this.x,i=this.y),super.render(),this.div.hidden=!0,this.createAltText(),d(this,jh)||(d(this,Nt)?P(this,$e,AS).call(this):P(this,$e,ES).call(this)),this._isCopy&&this._moveAfterPaste(t,i),this._uiManager.addShouldRescale(this),this.div}setCanvas(t,i){const{id:s,bitmap:r}=this._uiManager.imageManager.getFromCanvas(t,i);i.remove(),s&&this._uiManager.imageManager.isValidId(s)&&(A(this,Bn,s),r&&A(this,Nt,r),A(this,jh,!1),P(this,$e,AS).call(this))}_onResized(){this.onScaleChanging()}onScaleChanging(){if(!this.parent)return;d(this,Qa)!==null&&clearTimeout(d(this,Qa)),A(this,Qa,setTimeout(()=>{A(this,Qa,null),P(this,$e,HT).call(this)},200))}copyCanvas(t,i,s=!1){t||(t=224);const{width:r,height:a}=d(this,Nt),o=new fa;let l=d(this,Nt),c=r,u=a,h=null;if(i){if(r>i||a>i){const I=Math.min(i/r,i/a);c=Math.floor(r*I),u=Math.floor(a*I)}h=document.createElement("canvas");const p=h.width=Math.ceil(c*o.sx),b=h.height=Math.ceil(u*o.sy);d(this,ks)||(l=P(this,$e,IS).call(this,p,b));const g=h.getContext("2d");g.filter=this._uiManager.hcmFilter;let S="white",y="#cfcfd8";this._uiManager.hcmFilter!=="none"?y="black":ile.isDarkMode&&(S="#8f8f9d",y="#42414d");const v=15,_=v*o.sx,x=v*o.sy,E=new OffscreenCanvas(_*2,x*2),C=E.getContext("2d");C.fillStyle=S,C.fillRect(0,0,_*2,x*2),C.fillStyle=y,C.fillRect(0,0,_,x),C.fillRect(_,x,_,x),g.fillStyle=g.createPattern(E,"repeat"),g.fillRect(0,0,p,b),g.drawImage(l,0,0,l.width,l.height,0,0,p,b)}let f=null;if(s){let p,b;if(o.symmetric&&l.width<t&&l.height<t)p=l.width,b=l.height;else if(l=d(this,Nt),r>t||a>t){const y=Math.min(t/r,t/a);p=Math.floor(r*y),b=Math.floor(a*y),d(this,ks)||(l=P(this,$e,IS).call(this,p,b))}const S=new OffscreenCanvas(p,b).getContext("2d",{willReadFrequently:!0});S.drawImage(l,0,0,l.width,l.height,0,0,p,b),f={width:p,height:b,data:S.getImageData(0,0,p,b).data}}return{canvas:h,width:c,height:u,imageData:f}}static async deserialize(t,i,s){var S;let r=null,a=!1;if(t instanceof t9){const{data:{rect:y,rotation:v,id:_,structParent:x,popupRef:E,richText:C,contentsObj:I,creationDate:R,modificationDate:D},container:k,parent:{page:{pageNumber:N}},canvas:O}=t;let j,L;O?(delete t.canvas,{id:j,bitmap:L}=s.imageManager.getFromCanvas(k.id,O),O.remove()):(a=!0,t._hasNoCanvas=!0);const U=((S=await i._structTree.getAriaAttributes(`${IR}${_}`))==null?void 0:S.get("aria-label"))||"";r=t={annotationType:pe.STAMP,bitmapId:j,bitmap:L,pageIndex:N-1,rect:y.slice(0),rotation:v,annotationElementId:_,id:_,deleted:!1,accessibilityData:{decorative:!1,altText:U},isSvg:!1,structParent:x,popupRef:E,richText:C,comment:(I==null?void 0:I.str)||null,creationDate:R,modificationDate:D}}const o=await super.deserialize(t,i,s),{rect:l,bitmap:c,bitmapUrl:u,bitmapId:h,isSvg:f,accessibilityData:p}=t;a?(s.addMissingCanvas(t.id,o),A(o,jh,!0)):h&&s.imageManager.isValidId(h)?(A(o,Bn,h),c&&A(o,Nt,c)):A(o,vl,u),A(o,ks,f);const[b,g]=o.pageDimensions;return o.width=(l[2]-l[0])/b,o.height=(l[3]-l[1])/g,p&&(o.altTextData=p),o._initialData=r,t.comment&&o.setCommentData(t),A(o,lg,!!r),o}serialize(t=!1,i=null){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const s=Object.assign(super.serialize(t),{bitmapId:d(this,Bn),isSvg:d(this,ks)});if(this.addComment(s),t)return s.bitmapUrl=P(this,$e,CS).call(this,!0),s.accessibilityData=this.serializeAltText(!0),s.isCopy=!0,s;const{decorative:r,altText:a}=this.serializeAltText(!1);if(!r&&a&&(s.accessibilityData={type:"Figure",alt:a}),this.annotationElementId){const l=P(this,$e,F9).call(this,s);return l.isSame?null:(l.isSameAltText?delete s.accessibilityData:s.accessibilityData.structParent=this._initialData.structParent??-1,s.id=this.annotationElementId,delete s.bitmapId,s)}if(i===null)return s;i.stamps||(i.stamps=new Map);const o=d(this,ks)?(s.rect[2]-s.rect[0])*(s.rect[3]-s.rect[1]):null;if(!i.stamps.has(d(this,Bn)))i.stamps.set(d(this,Bn),{area:o,serialized:s}),s.bitmap=P(this,$e,CS).call(this,!1);else if(d(this,ks)){const l=i.stamps.get(d(this,Bn));o>l.area&&(l.area=o,l.serialized.bitmap.close(),l.serialized.bitmap=P(this,$e,CS).call(this,!1))}return s}renderAnnotationElement(t){return this.deleted?(t.hide(),null):(t.updateEdited({rect:this.getPDFRect(),popup:this.comment}),null)}}Nt=new WeakMap,Bn=new WeakMap,ou=new WeakMap,vl=new WeakMap,lu=new WeakMap,og=new WeakMap,bl=new WeakMap,jh=new WeakMap,Qa=new WeakMap,ks=new WeakMap,lg=new WeakMap,$e=new WeakSet,ey=function(t,i=!1){if(!t){this.remove();return}A(this,Nt,t.bitmap),i||(A(this,Bn,t.id),A(this,ks,t.isSvg)),t.file&&A(this,og,t.file.name),P(this,$e,AS).call(this)},ty=function(){if(A(this,ou,null),this._uiManager.enableWaiting(!1),!!d(this,bl)){if(this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&d(this,Nt)){this.addEditToolbar().then(()=>{this._editToolbar.hide(),this._uiManager.editAltText(this,!0)});return}if(!this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&d(this,Nt)){this._reportTelemetry({action:"pdfjs.image.image_added",data:{alt_text_modal:!1,alt_text_type:"empty"}});try{this.mlGuessAltText()}catch{}}this.div.focus()}},ES=function(){if(d(this,Bn)){this._uiManager.enableWaiting(!0),this._uiManager.imageManager.getFromId(d(this,Bn)).then(s=>P(this,$e,ey).call(this,s,!0)).finally(()=>P(this,$e,ty).call(this));return}if(d(this,vl)){const s=d(this,vl);A(this,vl,null),this._uiManager.enableWaiting(!0),A(this,ou,this._uiManager.imageManager.getFromUrl(s).then(r=>P(this,$e,ey).call(this,r)).finally(()=>P(this,$e,ty).call(this)));return}if(d(this,lu)){const s=d(this,lu);A(this,lu,null),this._uiManager.enableWaiting(!0),A(this,ou,this._uiManager.imageManager.getFromFile(s).then(r=>P(this,$e,ey).call(this,r)).finally(()=>P(this,$e,ty).call(this)));return}const t=document.createElement("input");t.type="file",t.accept=zx.join(",");const i=this._uiManager._signal;A(this,ou,new Promise(s=>{t.addEventListener("change",async()=>
245{if(!t.files||t.files.length===0)this.remove();else{this._uiManager.enableWaiting(!0);const r=await this._uiManager.imageManager.getFromFile(t.files[0]);this._reportTelemetry({action:"pdfjs.image.image_selected",data:{alt_text_modal:this._uiManager.useNewAltTextFlow}}),P(this,$e,ey).call(this,r)}s()},{signal:i}),t.addEventListener("cancel",()=>{this.remove(),s()},{signal:i})}).finally(()=>P(this,$e,ty).call(this))),t.click()},AS=function(){var c;const{div:t}=this;let{width:i,height:s}=d(this,Nt);const[r,a]=this.pageDimensions,o=.75;if(this.width)i=this.width*r,s=this.height*a;else if(i>o*r||s>o*a){const u=Math.min(o*r/i,o*a/s);i*=u,s*=u}this._uiManager.enableWaiting(!1);const l=A(this,bl,document.createElement("canvas"));l.setAttribute("role","img"),this.addContainer(l),this.width=i/r,this.height=s/a,this.setDims(),(c=this._initialOptions)!=null&&c.isCentered?this.center():this.fixAndSetPosition(),this._initialOptions=null,(!this._uiManager.useNewAltTextWhenAddingImage||!this._uiManager.useNewAltTextFlow||this.annotationElementId)&&(t.hidden=!1),P(this,$e,HT).call(this),d(this,lg)||(this.parent.addUndoableEditor(this),A(this,lg,!0)),this._reportTelemetry({action:"inserted_image"}),d(this,og)&&this.div.setAttribute("aria-description",d(this,og)),this.annotationElementId||this._uiManager.a11yAlert("pdfjs-editor-stamp-added-alert")},IS=function(t,i){const{width:s,height:r}=d(this,Nt);let a=s,o=r,l=d(this,Nt);for(;a>2*t||o>2*i;){const c=a,u=o;a>2*t&&(a=a>=16384?Math.floor(a/2)-1:Math.ceil(a/2)),o>2*i&&(o=o>=16384?Math.floor(o/2)-1:Math.ceil(o/2));const h=new OffscreenCanvas(a,o);h.getContext("2d").drawImage(l,0,0,c,u,0,0,a,o),l=h.transferToImageBitmap()}return l},HT=function(){const[t,i]=this.parentDimensions,{width:s,height:r}=this,a=new fa,o=Math.ceil(s*t*a.sx),l=Math.ceil(r*i*a.sy),c=d(this,bl);if(!c||c.width===o&&c.height===l)return;c.width=o,c.height=l;const u=d(this,ks)?d(this,Nt):P(this,$e,IS).call(this,o,l),h=c.getContext("2d");h.filter=this._uiManager.hcmFilter,h.drawImage(u,0,0,u.width,u.height,0,0,o,l)},CS=function(t){if(t){if(d(this,ks)){const r=this._uiManager.imageManager.getSvgUrl(d(this,Bn));if(r)return r}const i=document.createElement("canvas");return{width:i.width,height:i.height}=d(this,Nt),i.getContext("2d").drawImage(d(this,Nt),0,0),i.toDataURL()}if(d(this,ks)){const[i,s]=this.pageDimensions,r=Math.round(this.width*i*Vl.PDF_TO_CSS_UNITS),a=Math.round(this.height*s*Vl.PDF_TO_CSS_UNITS),o=new OffscreenCanvas(r,a);return o.getContext("2d").drawImage(d(this,Nt),0,0,d(this,Nt).width,d(this,Nt).height,0,0,r,a),o.transferToImageBitmap()}return structuredClone(d(this,Nt))},F9=function(t){var o;const{pageIndex:i,accessibilityData:{altText:s}}=this._initialData,r=t.pageIndex===i,a=(((o=t.accessibilityData)==null?void 0:o.alt)||"")===s;return{isSame:!this.hasEditedComment&&!this._hasBeenMoved&&!this._hasBeenResized&&r&&a,isSameAltText:a}},q(XT,"_type","stamp"),q(XT,"_editorType",pe.STAMP);var Fh,cg,cu,uu,_l,Ji,du,ug,dg,oa,Sl,jn,xl,hu,hg,le,fu,gt,GT,z9,Ea,$T,qT,TS;const qr=class qr{constructor({uiManager:e,pageIndex:t,div:i,structTreeLayer:s,accessibilityManager:r,annotationLayer:a,drawLayer:o,textLayer:l,viewport:c,l10n:u}){T(this,gt);T(this,Fh);T(this,cg,!1);T(this,cu,null);T(this,uu,null);T(this,_l,null);T(this,Ji,new Map);T(this,du,!1);T(this,ug,!1);T(this,dg,!1);T(this,oa,null);T(this,Sl,null);T(this,jn,null);T(this,xl,null);T(this,hu,null);T(this,hg,-1);T(this,le);const h=[...d(qr,fu).values()];if(!qr._initialized){qr._initialized=!0;for(const f of h)f.initialize(u,e)}e.registerEditorTypes(h),A(this,le,e),this.pageIndex=t,this.div=i,A(this,Fh,r),A(this,cu,a),this.viewport=c,A(this,jn,l),this.drawLayer=o,this._structTree=s,d(this,le).addLayer(this)}get isEmpty(){return d(this,Ji).size===0}get isInvisible(){return this.isEmpty&&d(this,le).getMode()===pe.NONE}updateToolbar(e){d(this,le).updateToolbar(e)}updateMode(e=d(this,le).getMode()){switch(P(this,gt,TS).call(this),e){case pe.NONE:this.div.classList.toggle("nonEditing",!0),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);const{classList:t}=this.div;if(t.toggle("nonEditing",!1),e===pe.POPUP)t.toggle("commentEditing",!0);else{t.toggle("commentEditing",!1);for(const i of d(qr,fu).values())t.toggle(`${i._type}Editing`,e===i._editorType)}this.div.hidden=!1}hasTextLayer(e){var t;return e===((t=d(this,jn))==null?void 0:t.div)}setEditingState(e){d(this,le).setEditingState(e)}addCommands(e){d(this,le).addCommands(e)}cleanUndoStack(e){d(this,le).cleanUndoStack(e)}toggleDrawing(e=!1){this.div.classList.toggle("drawing",!e)}togglePointerEvents(e=!1){this.div.classList.toggle("disabled",!e)}toggleAnnotationLayerPointerEvents(e=!1){var t;(t=d(this,cu))==null||t.div.classList.toggle("disabled",!e)}async enable(){var i;A(this,dg,!0),this.div.tabIndex=0,this.togglePointerEvents(!0),this.div.classList.toggle("nonEditing",!1),(i=d(this,hu))==null||i.abort(),A(this,hu,null);const e=new Set;for(const s of d(this,gt,GT))s.enableEditing(),s.show(!0),s.annotationElementId&&(d(this,le).removeChangedExistingAnnotation(s),e.add(s.annotationElementId));const t=d(this,cu);if(t)for(const s of t.getEditableAnnotations()){if(s.hide(),d(this,le).isDeletedAnnotationElement(s.data.id)||e.has(s.data.id))continue;const r=await this.deserialize(s);r&&(this.addOrRebuild(r),r.enableEditing())}A(this,dg,!1),d(this,le)._eventBus.dispatch("editorsrendered",{source:this,pageNumber:this.pageIndex+1})}disable(){var i;if(A(this,ug,!0),this.div.tabIndex=-1,this.togglePointerEvents(!1),this.div.classList.toggle("nonEditing",!0),d(this,jn)&&!d(this,hu)){A(this,hu,new AbortController);const s=d(this,le).combinedSignal(d(this,hu));d(this,jn).div.addEventListener("pointerdown",r=>{const{clientX:o,clientY:l,timeStamp:c}=r,u=d(this,hg);if(c-u>500){A(this,hg,c);return}A(this,hg,-1);const{classList:h}=this.div;h.toggle("getElements",!0);const f=document.elementsFromPoint(o,l);if(h.toggle("getElements",!1),!this.div.contains(f[0]))return;let p;const b=new RegExp(`^${iv}[0-9]+$`);for(const S of f)if(b.test(S.id)){p=S.id;break}if(!p)return;const g=d(this,Ji).get(p);(g==null?void 0:g.annotationElementId)===null&&(r.stopPropagation(),r.preventDefault(),g.dblclick(r))},{signal:s,capture:!0})}const e=d(this,cu);if(e){const s=new Map,r=new Map;for(const o of d(this,gt,GT)){if(o.disableEditing(),!o.annotationElementId){o.updateFakeAnnotationElement(e);continue}if(o.serialize()!==null){s.set(o.annotationElementId,o);continue}else r.set(o.annotationElementId,o);(i=this.getEditableAnnotation(o.annotationElementId))==null||i.show(),o.remove()}const a=e.getEditableAnnotations();for(const o of a){const{id:l}=o.data;if(d(this,le).isDeletedAnnotationElement(l)){o.updateEdited({deleted:!0}
245);continue}let c=r.get(l);if(c){c.resetAnnotationElement(o),c.show(!1),o.show();continue}c=s.get(l),c&&(d(this,le).addChangedExistingAnnotation(c),c.renderAnnotationElement(o)&&c.show(!1)),o.show()}}P(this,gt,TS).call(this),this.isEmpty&&(this.div.hidden=!0);const{classList:t}=this.div;for(const s of d(qr,fu).values())t.remove(`${s._type}Editing`);this.disableTextSelection(),this.toggleAnnotationLayerPointerEvents(!0),A(this,ug,!1)}getEditableAnnotation(e){var t;return((t=d(this,cu))==null?void 0:t.getEditableAnnotation(e))||null}setActiveEditor(e){d(this,le).getActive()!==e&&d(this,le).setActiveEditor(e)}enableTextSelection(){var e;if(this.div.tabIndex=-1,(e=d(this,jn))!=null&&e.div&&!d(this,xl)){A(this,xl,new AbortController);const t=d(this,le).combinedSignal(d(this,xl));d(this,jn).div.addEventListener("pointerdown",P(this,gt,z9).bind(this),{signal:t}),d(this,jn).div.classList.add("highlighting")}}disableTextSelection(){var e;this.div.tabIndex=0,(e=d(this,jn))!=null&&e.div&&d(this,xl)&&(d(this,xl).abort(),A(this,xl,null),d(this,jn).div.classList.remove("highlighting"))}enableClick(){if(d(this,uu))return;A(this,uu,new AbortController);const e=d(this,le).combinedSignal(d(this,uu));this.div.addEventListener("pointerdown",this.pointerdown.bind(this),{signal:e});const t=this.pointerup.bind(this);this.div.addEventListener("pointerup",t,{signal:e}),this.div.addEventListener("pointercancel",t,{signal:e})}disableClick(){var e;(e=d(this,uu))==null||e.abort(),A(this,uu,null)}attach(e){d(this,Ji).set(e.id,e);const{annotationElementId:t}=e;t&&d(this,le).isDeletedAnnotationElement(t)&&d(this,le).removeDeletedAnnotationElement(e)}detach(e){var t;d(this,Ji).delete(e.id),(t=d(this,Fh))==null||t.removePointerInTextLayer(e.contentDiv),!d(this,ug)&&e.annotationElementId&&d(this,le).addDeletedAnnotationElement(e)}remove(e){this.detach(e),d(this,le).removeEditor(e),e.div.remove(),e.isAttachedToDOM=!1}changeParent(e){var t;e.parent!==this&&(e.parent&&e.annotationElementId&&(d(this,le).addDeletedAnnotationElement(e.annotationElementId),xt.deleteAnnotationElement(e),e.annotationElementId=null),this.attach(e),(t=e.parent)==null||t.detach(e),e.setParent(this),e.div&&e.isAttachedToDOM&&(e.div.remove(),this.div.append(e.div)))}add(e){if(!(e.parent===this&&e.isAttachedToDOM)){if(this.changeParent(e),d(this,le).addEditor(e),this.attach(e),!e.isAttachedToDOM){const t=e.render();this.div.append(t),e.isAttachedToDOM=!0}e.fixAndSetPosition(),e.onceAdded(!d(this,dg)),d(this,le).addToAnnotationStorage(e),e._reportTelemetry(e.telemetryInitialData)}}moveEditorInDOM(e){var i;if(!e.isAttachedToDOM)return;const{activeElement:t}=document;e.div.contains(t)&&!d(this,_l)&&(e._focusEventsAllowed=!1,A(this,_l,setTimeout(()=>{A(this,_l,null),e.div.contains(document.activeElement)?e._focusEventsAllowed=!0:(e.div.addEventListener("focusin",()=>{e._focusEventsAllowed=!0},{once:!0,signal:d(this,le)._signal}),t.focus())},0))),e._structTreeParentId=(i=d(this,Fh))==null?void 0:i.moveElementInDOM(this.div,e.div,e.contentDiv,!0)}addOrRebuild(e){e.needsToBeRebuilt()?(e.parent||(e.parent=this),e.rebuild(),e.show()):this.add(e)}addUndoableEditor(e){const t=()=>e._uiManager.rebuild(e),i=()=>{e.remove()};this.addCommands({cmd:t,undo:i,mustExec:!1})}getEditorByUID(e){for(const t of d(this,Ji).values())if(t.uid===e)return t;return null}getNextId(){return d(this,le).getId()}combinedSignal(e){return d(this,le).combinedSignal(e)}canCreateNewEmptyEditor(){var e;return(e=d(this,gt,Ea))==null?void 0:e.canCreateNewEmptyEditor()}async pasteEditor(e,t){this.updateToolbar(e),await d(this,le).updateMode(e.mode);const{offsetX:i,offsetY:s}=P(this,gt,qT).call(this),r=this.getNextId(),a=P(this,gt,$T).call(this,{parent:this,id:r,x:i,y:s,uiManager:d(this,le),isCentered:!0,...t});a&&this.add(a)}async deserialize(e){var t;return await((t=d(qr,fu).get(e.annotationType??e.annotationEditorType))==null?void 0:t.deserialize(e,this,d(this,le)))||null}createAndAddNewEditor(e,t,i={}){const s=this.getNextId(),r=P(this,gt,$T).call(this,{parent:this,id:s,x:e.offsetX,y:e.offsetY,uiManager:d(this,le),isCentered:t,...i});return r&&this.add(r),r}get boundingClientRect(){return this.div.getBoundingClientRect()}addNewEditor(e={}){this.createAndAddNewEditor(P(this,gt,qT).call(this),!0,e)}setSelected(e){d(this,le).setSelected(e)}toggleSelected(e){d(this,le).toggleSelected(e)}unselect(e){d(this,le).unselect(e)}pointerup(e){var s;const{isMac:t}=Vn.platform;if(e.button!==0||e.ctrlKey&&t||e.target!==this.div||!d(this,du)||(A(this,du,!1),(s=d(this,gt,Ea))!=null&&s.isDrawer&&d(this,gt,Ea).supportMultipleDrawings))return;if(!d(this,cg)){A(this,cg,!0);return}const i=d(this,le).getMode();if(i===pe.STAMP||i===pe.SIGNATURE){d(this,le).unselectAll();return}this.createAndAddNewEditor(e,!1)}pointerdown(e){var s;if(d(this,le).getMode()===pe.HIGHLIGHT&&this.enableTextSelection(),d(this,du)){A(this,du,!1);return}const{isMac:t}=Vn.platform;if(e.button!==0||e.ctrlKey&&t||e.target!==this.div)return;if(A(this,du,!0),(s=d(this,gt,Ea))!=null&&s.isDrawer){this.startDrawingSession(e);return}const i=d(this,le).getActive();A(this,cg,!i||i.isEmpty())}startDrawingSession(e){if(this.div.focus({preventScroll:!0}),d(this,oa)){d(this,gt,Ea).startDrawing(this,d(this,le),!1,e);return}d(this,le).setCurrentDrawingSession(this),A(this,oa,new AbortController);const t=d(this,le).combinedSignal(d(this,oa));this.div.addEventListener("blur",({relatedTarget:i})=>{i&&!this.div.contains(i)&&(A(this,Sl,null),this.commitOrRemove())},{signal:t}),d(this,gt,Ea).startDrawing(this,d(this,le),!1,e)}pause(e){if(e){const{activeElement:t}=document;this.div.contains(t)&&A(this,Sl,t);return}d(this,Sl)&&setTimeout(()=>{var t;(t=d(this,Sl))==null||t.focus(),A(this,Sl,null)},0)}endDrawingSession(e=!1){return d(this,oa)?(d(this,le).setCurrentDrawingSession(null),d(this,oa).abort(),A(this,oa,null),A(this,Sl,null),d(this,gt,Ea).endDrawing(e)):null}findNewParent(e,t,i){const s=d(this,le).findParent(t,i);return s===null||s===this?!1:(s.changeParent(e),!0)}commitOrRemove(){return d(this,oa)?(this.endDrawingSession(),!0):!1}onScaleChanging(){d(this,oa)&&d(this,gt,Ea).onScaleChangingWhenDrawing(this)}destroy(){var e,t;this.commitOrRemove(),((e=d(this,le).getActive())==null?void 0:e.parent)===this&&(d(this,le).commitOrRemove(),d(this,le).setActiveEditor(null)),d(this,_l)&&(clearTimeout(d(this,_l)),A(this,_l,null));for(const i of d(this,Ji).values())(t=d(this,Fh))==null||t.removePointerInTextLayer(i.contentDiv),i.setParent(null),i.isAttachedToDOM=!1,i.div.remove();this.div=null,d(this,Ji).clear(),d(this,le).removeLayer(this)}render({viewport:e}){this.viewport=e,Gu(this.div,e);for(const t of d(this,le).getEditors(this.pageIndex))this.add(t),t.rebuild();this.updateMode()}update({viewport:e}){d(this,le).commitOrRemove(),P(this,gt,TS).call(this);const t=this.viewport.rotation,i=e.rotation;if(this.viewport=e,Gu(this.div,{rotation:i}),t!==i)for(const s of d(this,Ji).values())s.rotate(i)}get pageDimensions(){const{pageWidth:e,pageHeight:t}=this.viewport.rawDims;return[e,t]}get scale(){return d(this,le).viewParameters.realScale}};Fh=new WeakMap,cg=new WeakMap,cu=new WeakMap,uu=new WeakMap,_l=new WeakMap,Ji=new WeakMap,du=new WeakMap,ug=new WeakMap,dg=new WeakMap,oa=new WeakMap,Sl=new WeakMap,jn=new WeakMap,xl=new WeakMap,hu=new WeakMap,hg=new WeakMap,le=new WeakMap,fu=new WeakMap,gt=new WeakSet,GT=function(){return d(this,Ji).size!==0?d(this,Ji).values():d(this,le).getEditors(this.pageIndex)},z9=function(e){d(this,le).unselectAll();const{target:t}=e;if(t===d(this,jn).div||(t.getAttribute("role")==="img"||t.classList.contains("endOfContent"))&&d(this,jn).div.contains(t)){const{isMac:i}=Vn.platform;if(e.button!==0||e.ctrlKey&&i)return;d(this,le).showAllEditors("highlight",!0,!0),d(this,jn).div.classList.add("free"),this.toggleDrawing(),qx.startHighlighting(this,d(this,le).direction==="ltr",{target:d(this,jn).div,x:e.x,y:e.y}),d(this,jn).div.addEventListener("pointerup",()=>{d(this,jn).div.classList.remove("free"),this.toggleDrawing(!0)},{once:!0,signal:d(this,le)._signal}),e.preventDefault()}},Ea=function(){return d(qr,fu).get(d(this,le).getMode())},$T=function(e){const t=d(this,gt,Ea);return t?new t.prototype.constructor(e):null},qT=function(){const{x:e,y:t,width:i,height:s}=this.boundingClientRect,r=Math.max(0,e),a=Math.max(0,t),o=Math.min(window.innerWidth,e+i),l=Math.min(window.innerHeight,t+s),c=(r+o)/2-e,u=(a+l)/2-t,[h,f]=this.viewport.rotation%180===0?[c,u]:[u,c];return{offsetX:h,offsetY:f}},TS=function(){for(const e of d(this,Ji).values())e.isEmpty()&&e.remove()},q(qr,"_initialized",!1),T(qr,fu,new Map([IT,LT,XT,qx,VT].map(e=>[e._editorType,e])));let Wx=qr;var la,Ti,zh,Z2,I1,U9,yo,YT,V9,WT;const An=class An{constructor({pageIndex:e}){T(this,yo);T(this,la,null);T(this,Ti,new Map);T(this,zh,new Map);this.pageIndex=e}setParent(e){if(!d(this,la)){A(this,la,e);return}if(d(this,la)!==e){if(d(this,Ti).size>0)for(const t of d(this,Ti).values())t.remove(),e.append(t);A(this,la,e)}}static get _svgFactory(){return Ee(this,"_svgFactory",new uv)}draw(e,t=!1,i=!1){const s=qt(An,Z2)._++,r=P(this,yo,YT).call(this),a=An._svgFactory.createElement("defs");r.append(a);const o=An._svgFactory.createElement("path");a.append(o);const l=`path_p${this.pageIndex}_${s}`;o.setAttribute("id",l),o.setAttribute("vector-effect","non-scaling-stroke"),t&&d(this,zh).set(s,o);const c=i?P(this,yo,V9).call(this,a,l):null,u=An._svgFactory.createElement("use");return r.append(u),u.setAttribute("href",`#${l}`),this.updateProperties(r,e),d(this,Ti).set(s,r),{id:s,clipPathId:`url(#${c})`}}drawOutline(e,t){const i=qt(An,Z2)._++,s=P(this,yo,YT).call(this),r=An._svgFactory.createElement("defs");s.append(r);const a=An._svgFactory.createElement("path");r.append(a);const o=`path_p${this.pageIndex}_${i}`;a.setAttribute("id",o),a.setAttribute("vector-effect","non-scaling-stroke");let l;if(t){const h=An._svgFactory.createElement("mask");r.append(h),l=`mask_p${this.pageIndex}_${i}`,h.setAttribute("id",l),h.setAttribute("maskUnits","objectBoundingBox");const f=An._svgFactory.createElement("rect");h.append(f),f.setAttribute("width","1"),f.setAttribute("height","1"),f.setAttribute("fill","white");const p=An._svgFactory.createElement("use");h.append(p),p.setAttribute("href",`#${o}`),p.setAttribute("stroke","none"),p.setAttribute("fill","black"),p.setAttribute("fill-rule","nonzero"),p.classList.add("mask")}const c=An._svgFactory.createElement("use");s.append(c),c.setAttribute("href",`#${o}`),l&&c.setAttribute("mask",`url(#${l})`);const u=c.cloneNode();return s.append(u),c.classList.add("mainOutline"),u.classList.add("secondaryOutline"),this.updateProperties(s,e),d(this,Ti).set(i,s),i}finalizeDraw(e,t){d(this,zh).delete(e),this.updateProperties(e,t)}updateProperties(e,t){var l;if(!t)return;const{root:i,bbox:s,rootClass:r,path:a}=t,o=typeof e=="number"?d(this,Ti).get(e):e;if(o){if(i&&P(this,yo,WT).call(this,o,i),s&&P(l=An,I1,U9).call(l,o,s),r){const{classList:c}=o;for(const[u,h]of Object.entries(r))c.toggle(u,h)}if(a){const u=o.firstChild.firstChild;P(this,yo,WT).call(this,u,a)}}}updateParent(e,t){if(t===this)return;const i=d(this,Ti).get(e);i&&(d(t,la).append(i),d(this,Ti).delete(e),d(t,Ti).set(e,i))}remove(e){d(this,zh).delete(e),d(this,la)!==null&&(d(this,Ti).get(e).remove(),d(this,Ti).delete(e))}destroy(){A(this,la,null);for(const e of d(this,Ti).values())e.remove();d(this,Ti).clear(),d(this,zh).clear()}};la=new WeakMap,Ti=new WeakMap,zh=new WeakMap,Z2=new WeakMap,I1=new WeakSet,U9=function(e,[t,i,s,r]){const{style:a}=e;a.top=`${100*i}%`,a.left=`${100*t}%`,a.width=`${100*s}%`,a.height=`${100*r}%`},yo=new WeakSet,YT=function(){const e=An._svgFactory.create(1,1,!0);return d(this,la).append(e),e.setAttribute("aria-hidden",!0),e},V9=function(e,t){const i=An._svgFactory.createElement("clipPath");e.append(i);const s=`clip_${t}`;i.setAttribute("id",s),i.setAttribute("clipPathUnits","objectBoundingBox");const r=An._svgFactory.createElement("use");return i.append(r),r.setAttribute("href",`#${t}`),r.classList.add("clip"),s},WT=function(e,t){for(const[i,s]of Object.entries(t))s===null?e.removeAttribute(i):e.setAttribute(i,s)},T(An,I1),T(An,Z2,0);let Kx=An;globalThis._pdfjsTestingUtils={HighlightOutliner:TT};globalThis.pdfjsLib={AbortException:Ul,AnnotationEditorLayer:Wx,AnnotationEditorParamsType:Me,AnnotationEditorType:pe,AnnotationEditorUIManager:$u,AnnotationLayer:LR,AnnotationMode:Ja,AnnotationType:an,applyOpacity:F6,build:Xz,ColorPicker:cv,createValidAbsoluteUrl:wR,CSSConstants:j6,DOMSVGFactory:uv,DrawLayer:Kx,FeatureTest:Vn,fetchData:a0,findContrastColor:z6,getDocument:kR,getFilenameFromUrl:O6,getPdfFilenameFromUrl:L6,getRGB:o0,getUuid:AR,getXfaPageViewport:B6,GlobalWorkerOptions:Tr,ImageKind:Ay,InvalidPDFException:Fx,isDataScheme:Ab,isPdfFile:bw,isValidExplicitDest:bz,MathClamp:mi,noContextMenu:er,normalizeUnicode:N6,OPS:Mg,OutputScale:fa,PasswordResponses:R6,PDFDataRangeTransport:NR,PDFDateString:av,PDFWorker:Og,PermissionFlag:P6,PixelsPerInch:Vl,RenderingCancelledException:vw,renderRichText:TR,ResponseException:sv,setLayerDimensions:Gu,shadow:Ee,SignatureExtractor:Za,stopEvent:Vt,SupportedImageMimeTypes:zx,TextLayer:lv,TouchManager:ov,updateUrlHash:ER,Util:re,VerbosityLevel:xb,version:Vz,XfaLayer:CR};const Pce=Object.freeze(Object.defineProperty({__proto__:null,AbortException:Ul,AnnotationEditorLayer:Wx,AnnotationEditorParamsType:Me,AnnotationEditorType:pe,AnnotationEditorUIManager:$u,AnnotationLayer:LR,AnnotationMode:Ja,AnnotationType:an,CSSConstants:j6,ColorPicker:cv,DOMSVGFactory:uv,DrawLayer:Kx,FeatureTest:Vn,GlobalWorkerOptions:Tr,ImageKind:Ay,InvalidPDFException:Fx,MathClamp:mi,OPS:Mg,OutputScale:fa,PDFDataRangeTransport:NR,PDFDateString:av,PDFWorker:Og,PasswordResponses:R6,PermissionFlag:P6,PixelsPerInch:Vl,RenderingCancelledException:vw,ResponseException:sv,SignatureExtractor:Za,SupportedImageMimeTypes:zx,TextLayer:lv,TouchManager:ov,Util:re,VerbosityLevel:xb,XfaLayer:CR,applyOpacity:F6,build:Xz,createValidAbsoluteUrl:wR,fetchData:a0,findContrastColor:z6,getDocument:kR,getFilenameFromUrl:O6,getPdfFilenameFromUrl:L6,getRGB:o0,getUuid:AR,getXfaPageViewport:B6,isDataScheme:Ab,isPdfFile:bw,isValidExplicitDest:bz,noContextMenu:er,normalizeUnicode:N6,renderRichText:TR,setLayerDimensions:Gu,shadow:Ee,stopEvent:Vt,updateUrlHash:ER,version:Vz},Symbol.toStringTag,{value:"Module"}));var iL=Object.prototype.hasOwnProperty;function sL(n,e,t){for(t of n.keys())if(Ip(t,e))return t}function Ip(n,e){var t,i,s;if(n===e)return!0;
245if(n&&e&&(t=n.constructor)===e.constructor){if(t===Date)return n.getTime()===e.getTime();if(t===RegExp)return n.toString()===e.toString();if(t===Array){if((i=n.length)===e.length)for(;i--&&Ip(n[i],e[i]););return i===-1}if(t===Set){if(n.size!==e.size)return!1;for(i of n)if(s=i,s&&typeof s=="object"&&(s=sL(e,s),!s)||!e.has(s))return!1;return!0}if(t===Map){if(n.size!==e.size)return!1;for(i of n)if(s=i[0],s&&typeof s=="object"&&(s=sL(e,s),!s)||!Ip(i[1],e.get(s)))return!1;return!0}if(t===ArrayBuffer)n=new Uint8Array(n),e=new Uint8Array(e);else if(t===DataView){if((i=n.byteLength)===e.byteLength)for(;i--&&n.getInt8(i)===e.getInt8(i););return i===-1}if(ArrayBuffer.isView(n)){if((i=n.byteLength)===e.byteLength)for(;i--&&n[i]===e[i];);return i===-1}if(!t||typeof n=="object"){i=0;for(t in n)if(iL.call(n,t)&&++i&&!iL.call(e,t)||!(t in e)||!Ip(n[t],e[t]))return!1;return Object.keys(e).length===i}}return n!==n&&e!==e}function Db(n){let e=!1;return{promise:new Promise((i,s)=>{n.then(r=>!e&&i(r)).catch(r=>!e&&s(r))}),cancel(){e=!0}}}const Rce=["onCopy","onCut","onPaste"],kce=["onCompositionEnd","onCompositionStart","onCompositionUpdate"],Nce=["onFocus","onBlur"],Mce=["onInput","onInvalid","onReset","onSubmit"],Oce=["onLoad","onError"],Lce=["onKeyDown","onKeyPress","onKeyUp"],Bce=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],jce=["onClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp"],Fce=["onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop"],zce=["onSelect"],Uce=["onTouchCancel","onTouchEnd","onTouchMove","onTouchStart"],Vce=["onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onGotPointerCapture","onLostPointerCapture","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut"],Xce=["onScroll"],Hce=["onWheel"],Gce=["onAnimationStart","onAnimationEnd","onAnimationIteration"],$ce=["onTransitionEnd"],qce=["onToggle"],Yce=["onChange"],Wce=[...Rce,...kce,...Nce,...Mce,...Oce,...Lce,...Bce,...jce,...Fce,...zce,...Uce,...Vce,...Xce,...Hce,...Gce,...$ce,...Yce,...qce];function X9(n,e){const t={};for(const i of Wce){const s=n[i];s&&(e?t[i]=r=>s(r,e(i)):t[i]=s)}return t}var Kce="Invariant failed";function pt(n,e){if(!n)throw new Error(Kce)}var Qce=function(){},Jce=Qce;const gi=C1(Jce),H9=w.createContext(null),Zce="noopener noreferrer nofollow";class eue{constructor(){this.externalLinkEnabled=!0,this.externalLinkRel=void 0,this.externalLinkTarget=void 0,this.isInPresentationMode=!1,this.pdfDocument=void 0,this.pdfViewer=void 0}setDocument(e){this.pdfDocument=e}setViewer(e){this.pdfViewer=e}setExternalLinkRel(e){this.externalLinkRel=e}setExternalLinkTarget(e){this.externalLinkTarget=e}setHash(){}setHistory(){}get pagesCount(){return this.pdfDocument?this.pdfDocument.numPages:0}get page(){return pt(this.pdfViewer),this.pdfViewer.currentPageNumber||0}set page(e){pt(this.pdfViewer),this.pdfViewer.currentPageNumber=e}get rotation(){return 0}set rotation(e){}addLinkAttributes(e,t,i){e.href=t,e.rel=this.externalLinkRel||Zce,e.target=i?"_blank":this.externalLinkTarget||""}goToDestination(e){return new Promise(t=>{pt(this.pdfDocument),pt(e),typeof e=="string"?this.pdfDocument.getDestination(e).then(t):Array.isArray(e)?t(e):e.then(t)}).then(t=>{pt(Array.isArray(t));const i=t[0];new Promise(s=>{pt(this.pdfDocument),i instanceof Object?this.pdfDocument.getPageIndex(i).then(r=>{s(r)}).catch(()=>{pt(!1)}):typeof i=="number"?s(i):pt(!1)}).then(s=>{const r=s+1;pt(this.pdfViewer),pt(r>=1&&r<=this.pagesCount),this.pdfViewer.scrollPageIntoView({dest:t,pageIndex:s,pageNumber:r})})})}goToPage(e){const t=e-1;pt(this.pdfViewer),pt(e>=1&&e<=this.pagesCount),this.pdfViewer.scrollPageIntoView({pageIndex:t,pageNumber:e})}goToXY(){}cachePageRef(){}getDestinationHash(){return"#"}getAnchorUrl(){return"#"}executeNamedAction(){}executeSetOCGState(){}isPageVisible(){return!0}isPageCached(){return!0}navigateTo(e){this.goToDestination(e)}}function Cp({children:n,type:e}){return m.jsx("div",{className:`react-pdf__message react-pdf__message--${e}`,children:n})}const rL={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};function tue(n,e){switch(e.type){case"RESOLVE":return{value:e.value,error:void 0};case"REJECT":return{value:!1,error:e.error};case"RESET":return{value:void 0,error:void 0};default:return n}}function Lg(){return w.useReducer(tue,{value:void 0,error:void 0})}const xw=typeof window<"u",G9=xw&&window.location.protocol==="file:";function nue(n){return typeof n<"u"}function rd(n){return nue(n)&&n!==null}function iue(n){return typeof n=="string"}function sue(n){return n instanceof ArrayBuffer}function rue(n){return pt(xw),n instanceof Blob}function KT(n){return iue(n)&&/^data:/.test(n)}function aL(n){pt(KT(n));const[e="",t=""]=n.split(",");return e.split(";").indexOf("base64")!==-1?atob(t):unescape(t)}function aue(){return xw&&window.devicePixelRatio||1}const $9="On Chromium based browsers, you can use --allow-file-access-from-files flag for debugging purposes.";function oL(){gi(!G9,`Loading PDF as base64 strings/URLs may not work on protocols other than HTTP/HTTPS. ${$9}`)}
245function oue(){gi(!G9,`Loading PDF.js worker may not work on protocols other than HTTP/HTTPS. ${$9}`)}function lf(n){n!=null&&n.cancel&&n.cancel()}function QT(n,e){return Object.defineProperty(n,"width",{get(){return this.getViewport({scale:e}).width},configurable:!0}),Object.defineProperty(n,"height",{get(){return this.getViewport({scale:e}).height},configurable:!0}),Object.defineProperty(n,"originalWidth",{get(){return this.getViewport({scale:1}).width},configurable:!0}),Object.defineProperty(n,"originalHeight",{get(){return this.getViewport({scale:1}).height},configurable:!0}),n}function q9(n){return n.name==="AbortException"||n.name==="RenderingCancelledException"}function lue(n){return new Promise((e,t)=>{const i=new FileReader;i.onload=()=>{if(!i.result)return t(new Error("Error while reading a file."));e(i.result)},i.onerror=s=>{if(!s.target)return t(new Error("Error while reading a file."));const{error:r}=s.target;if(!r)return t(new Error("Error while reading a file."));switch(r.code){case r.NOT_FOUND_ERR:return t(new Error("Error while reading a file: File not found."));case r.SECURITY_ERR:return t(new Error("Error while reading a file: Security error."));case r.ABORT_ERR:return t(new Error("Error while reading a file: Aborted."));default:return t(new Error("Error while reading a file."))}},i.readAsArrayBuffer(n)})}const{PDFDataRangeTransport:cue}=Pce,uue=(n,e)=>{switch(e){case rL.NEED_PASSWORD:{const t=prompt("Enter the password to open this PDF file.");n(t);break}case rL.INCORRECT_PASSWORD:{const t=prompt("Invalid password. Please try again.");n(t);break}}};function lL(n){return typeof n=="object"&&n!==null&&("data"in n||"range"in n||"url"in n)}const due=w.forwardRef(function({children:e,className:t,error:i="Failed to load PDF file.",externalLinkRel:s,externalLinkTarget:r,file:a,inputRef:o,imageResourcesPath:l,loading:c="Loading PDFâ¦",noData:u="No PDF file specified.",onItemClick:h,onLoadError:f,onLoadProgress:p,onLoadSuccess:b,onPassword:g=uue,onSourceError:S,onSourceSuccess:y,options:v,renderMode:_,rotate:x,scale:E,...C},I){const[R,D]=Lg(),{value:k,error:N}=R,[O,j]=Lg(),{value:L,error:U}=O,M=w.useRef(new eue),B=w.useRef([]),F=w.useRef(void 0),z=w.useRef(void 0);a&&a!==F.current&&lL(a)&&(gi(!Ip(a,F.current),`File prop passed to <Document /> changed, but it's equal to previous one. This might result in unnecessary reloads. Consider memoizing the value passed to "file" prop.`),F.current=a),v&&v!==z.current&&(gi(!Ip(v,z.current),`Options prop passed to <Document /> changed, but it's equal to previous one. This might result in unnecessary reloads. Consider memoizing the value passed to "options" prop.`),z.current=v);const G=w.useRef({scrollPageIntoView:Be=>{const{dest:Xe,pageNumber:ut,pageIndex:rn=ut-1}=Be;if(h){h({dest:Xe,pageIndex:rn,pageNumber:ut});return}const Pt=B.current[rn];if(Pt){Pt.scrollIntoView();return}gi(!1,`An internal link leading to page ${ut} was clicked, but neither <Document> was provided with onItemClick nor it was able to find the page within itself. Either provide onItemClick to <Document> and handle navigating by yourself or ensure that all pages are rendered within <Document>.`)}});w.useImperativeHandle(I,()=>({linkService:M,pages:B,viewer:G}),[]);function te(){y&&y()}function Y(){N&&(gi(!1,N.toString()),S&&S(N))}function X(){D({type:"RESET"})}w.useEffect(X,[a,D]);const W=w.useCallback(async()=>{if(!a)return null;if(typeof a=="string")return KT(a)?{data:aL(a)}:(oL(),{url:a});if(a instanceof cue)return{range:a};if(sue(a))return{data:a};if(xw&&rue(a))return{data:await lue(a)};if(pt(typeof a=="object"),pt(lL(a)),"url"in a&&typeof a.url=="string"){if(KT(a.url)){const{url:Be,...Xe}=a;return{data:aL(Be),...Xe}}oL()}return a},[a]);w.useEffect(()=>{const Be=Db(W());return Be.promise.then(Xe=>{D({type:"RESOLVE",value:Xe})}).catch(Xe=>{D({type:"REJECT",error:Xe})}),()=>{lf(Be)}},[W,D]),w.useEffect(()=>{if(!(typeof k>"u")){if(k===!1){Y();return}te()}},[k]);function ae(){L&&(b&&b(L),B.current=new Array(L.numPages),M.current.setDocument(L))}function Ue(){U&&(gi(!1,U.toString()),f&&f(U))}w.useEffect(function(){j({type:"RESET"})},[j,k]),w.useEffect(function(){if(!k)return;const Xe=v?{...k,...v}:k,ut=kR(Xe);p&&(ut.onProgress=p),g&&(ut.onPassword=g);const rn=ut;return rn.promise.then(Pt=>{rn.destroyed||j({type:"RESOLVE",value:Pt})}).catch(Pt=>{rn.destroyed||j({type:"REJECT",error:Pt})}),()=>{rn.destroy()}},[v,j,k]),w.useEffect(()=>{if(!(typeof L>"u")){if(L===!1){Ue();return}ae()}},[L]),w.useEffect(function(){M.current.setViewer(G.current),M.current.setExternalLinkRel(s),M.current.setExternalLinkTarget(r)},[s,r]);const ne=w.useCallback((Be,Xe)=>{B.current[Be]=Xe},[]),bt=w.useCallback(Be=>{delete B.current[Be]},[]),jt=w.useMemo(()=>({imageResourcesPath:l,linkService:M.current,onItemClick:h,pdf:L,registerPage:ne,renderMode:_,rotate:
245x,scale:E,unregisterPage:bt}),[l,h,L,ne,_,x,E,bt]),_t=w.useMemo(()=>X9(C,()=>L),[C,L]);function $(){function Be(ut){return!!(ut!=null&&ut.pdf)}if(!Be(jt))throw new Error("pdf is undefined");const Xe=typeof e=="function"?e(jt):e;return m.jsx(H9.Provider,{value:jt,children:Xe})}function Rn(){return a?L==null?m.jsx(Cp,{type:"loading",children:typeof c=="function"?c():c}):L===!1?m.jsx(Cp,{type:"error",children:typeof i=="function"?i():i}):$():m.jsx(Cp,{type:"no-data",children:typeof u=="function"?u():u})}return m.jsx("div",{className:Jg("react-pdf__Document",t),ref:o,..._t,children:Rn()})});function Y9(){return w.useContext(H9)}function W9(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=n.filter(Boolean);if(t.length<=1){var i=t[0];return i||null}return function(r){for(var a=0,o=t;a<o.length;a++){var l=o[a];typeof l=="function"?l(r):l&&(l.current=r)}}}const K9=w.createContext(null);function ww(){return w.useContext(K9)}function hue(){const n=Y9(),e=ww();pt(e);const t={...n,...e},{filterAnnotations:i,imageResourcesPath:s,linkService:r,onGetAnnotationsError:a,onGetAnnotationsSuccess:o,onRenderAnnotationLayerError:l,onRenderAnnotationLayerSuccess:c,page:u,pdf:h,renderForms:f,rotate:p,scale:b=1}=t;pt(h),pt(u),pt(r);const[g,S]=Lg(),{value:y,error:v}=g,_=w.useRef(null);gi(Number.parseInt(window.getComputedStyle(document.body).getPropertyValue("--react-pdf-annotation-layer"),10)===1,"AnnotationLayer styles not found. Read more: https://github.com/wojtekmaj/react-pdf#support-for-annotations");function x(){y&&o&&o(y)}function E(){v&&(gi(!1,v.toString()),a&&a(v))}w.useEffect(function(){S({type:"RESET"})},[S,u]),w.useEffect(function(){if(!u)return;const k=Db(u.getAnnotations()),N=k;return k.promise.then(O=>{S({type:"RESOLVE",value:O})}).catch(O=>{S({type:"REJECT",error:O})}),()=>{lf(N)}},[S,u]),w.useEffect(()=>{if(y!==void 0){if(y===!1){E();return}x()}},[y]);function C(){c&&c()}function I(D){gi(!1,`${D}`),l&&l(D)}const R=w.useMemo(()=>u.getViewport({scale:b,rotation:p}),[u,p,b]);return w.useEffect(function(){if(!h||!u||!r||!y)return;const{current:k}=_;if(!k)return;const N=R.clone({dontFlip:!0}),O={accessibilityManager:null,annotationCanvasMap:null,annotationEditorUIManager:null,annotationStorage:h.annotationStorage,commentManager:null,div:k,l10n:null,linkService:r,page:u,structTreeLayer:null,viewport:N},j={annotations:i?i({annotations:y}):y,annotationStorage:h.annotationStorage,div:k,imageResourcesPath:s,linkService:r,page:u,renderForms:f,viewport:N};k.innerHTML="";try{new LR(O).render(j),C()}catch(L){I(L)}return()=>{}},[y,i,s,r,u,h,f,R]),m.jsx("div",{className:Jg("react-pdf__Page__annotations","annotationLayer"),ref:_})}const Q9={Document:null,DocumentFragment:null,Part:"group",Sect:"group",Div:"group",Aside:"note",NonStruct:"none",P:null,H:"heading",Title:null,FENote:"note",Sub:"group",Lbl:null,Span:null,Em:null,Strong:null,Link:"link",Annot:"note",Form:"form",Ruby:null,RB:null,RT:null,RP:null,Warichu:null,WT:null,WP:null,L:"list",LI:"listitem",LBody:null,Table:"table",TR:"row",TH:"columnheader",TD:"cell",THead:"columnheader",TBody:null,TFoot:null,Caption:null,Figure:"figure",Formula:null,Artifact:null},fue=/^H(\d+)$/;function pue(n){return n in Q9}function Ew(n){return"children"in n}function J9(n){return Ew(n)?n.children.length===1&&0 in n.children&&"id"in n.children[0]:!1}function mue(n){const e={};if(Ew(n)){const{role:t}=n,i=t.match(fue);if(i)e.role="heading",e["aria-level"]=Number(i[1]);else if(pue(t)){const s=Q9[t];s&&(e.role=s)}}return e}function Z9(n){const e={};if(Ew(n)){if(n.alt!==void 0&&(e["aria-label"]=n.alt),n.lang!==void 0&&(e.lang=n.lang),J9(n)){const[t]=n.children;if(t){const i=Z9(t);return{...e,...i}}}}else"id"in n&&(e["aria-owns"]=n.id);return e}function gue(n){return n?{...mue(n),...Z9(n)}:null}function eU({className:n,node:e}){const t=w.useMemo(()=>gue(e),[e]),i=w.useMemo(()=>!Ew(e)||J9(e)?null:e.children.map((s,r)=>m.jsx(eU,{node:s},r)),[e]);return m.jsx("span",{className:n,...t,children:i})}function yue(){const n=ww();pt(n);const{onGetStructTreeError:e,onGetStructTreeSuccess:t}=n,[i,s]=Lg(),{value:r,error:a}=i,{customTextRenderer:o,page:l}=n;function c(){r&&t&&t(r)}function u(){a&&(gi(!1,a.toString()),e&&e(a))}return w.useEffect(function(){s({type:"RESET"})},[s,l]),w.useEffect(function(){if(o||!l)return;const f=Db(l.getStructTree()),p=f;return f.promise.then(b=>{s({type:"RESOLVE",value:b})}).catch(b=>{s({type:"REJECT",error:b})}),()=>lf(p)},[o,l,s]),w.useEffect(()=>{if(r!==void 0){if(r===!1){u();return}c()}}
245,[r]),r?m.jsx(eU,{className:"react-pdf__Page__structTree structTree",node:r}):null}const cL=Ja;function vue(n){const e=ww();pt(e);const t={...e,...n},{_className:i,canvasBackground:s,devicePixelRatio:r=aue(),onRenderError:a,onRenderSuccess:o,page:l,renderForms:c,renderTextLayer:u,rotate:h,scale:f}=t,{canvasRef:p}=n;pt(l);const b=w.useRef(null);function g(){l&&o&&o(QT(l,f))}function S(x){q9(x)||(gi(!1,x.toString()),a&&a(x))}const y=w.useMemo(()=>l.getViewport({scale:f*r,rotation:h}),[r,l,h,f]),v=w.useMemo(()=>l.getViewport({scale:f,rotation:h}),[l,h,f]);w.useEffect(function(){if(!l)return;l.cleanup();const{current:E}=b;if(!E)return;E.width=y.width,E.height=y.height,E.style.width=`${Math.floor(v.width)}px`,E.style.height=`${Math.floor(v.height)}px`,E.style.visibility="hidden";const C={annotationMode:c?cL.ENABLE_FORMS:cL.ENABLE,canvas:E,canvasContext:E.getContext("2d",{alpha:!1}),viewport:y};s&&(C.background=s);const I=l.render(C),R=I;return I.promise.then(()=>{E.style.visibility="",g()}).catch(S),()=>lf(R)},[s,l,c,y,v]);const _=w.useCallback(()=>{const{current:x}=b;x&&(x.width=0,x.height=0)},[]);return w.useEffect(()=>_,[_]),m.jsx("canvas",{className:`${i}__canvas`,dir:"ltr",ref:W9(p,b),style:{display:"block",userSelect:"none"},children:u?m.jsx(yue,{}):null})}function bue(n){return"str"in n}function _ue(){const n=ww();pt(n);const{customTextRenderer:e,onGetTextError:t,onGetTextSuccess:i,onRenderTextLayerError:s,onRenderTextLayerSuccess:r,page:a,pageIndex:o,pageNumber:l,rotate:c,scale:u}=n;pt(a);const[h,f]=Lg(),{value:p,error:b}=h,g=w.useRef(null);gi(Number.parseInt(window.getComputedStyle(document.body).getPropertyValue("--react-pdf-text-layer"),10)===1,"TextLayer styles not found. Read more: https://github.com/wojtekmaj/react-pdf#support-for-text-layer");function S(){p&&i&&i(p)}function y(){b&&(gi(!1,b.toString()),t&&t(b))}w.useEffect(function(){f({type:"RESET"})},[a,f]),w.useEffect(function(){if(!a)return;const R=Db(a.getTextContent()),D=R;return R.promise.then(k=>{f({type:"RESOLVE",value:k})}).catch(k=>{f({type:"REJECT",error:k})}),()=>lf(D)},[a,f]),w.useEffect(()=>{if(p!==void 0){if(p===!1){y();return}S()}},[p]);const v=w.useCallback(()=>{r&&r()},[r]),_=w.useCallback(I=>{q9(I)||(gi(!1,I.toString()),s&&s(I))},[s]);function x(){const I=g.current;I&&I.classList.add("selecting")}function E(){const I=g.current;I&&I.classList.remove("selecting")}const C=w.useMemo(()=>a.getViewport({scale:u,rotation:c}),[a,c,u]);return w.useLayoutEffect(function(){if(!a||!p)return;const{current:R}=g;if(!R)return;R.innerHTML="";const D=a.streamTextContent({includeMarkedContent:!0}),k={container:R,textContentSource:D,viewport:C},N=new lv(k),O=N;return N.render().then(()=>{const j=document.createElement("div");j.className="endOfContent",R.append(j);const L=R.querySelectorAll('[role="presentation"]');if(e){let U=0;p.items.forEach((M,B)=>{if(!bue(M))return;const F=L[U];if(!F)return;const z=e({pageIndex:o,pageNumber:l,itemIndex:B,...M});F.innerHTML=z,U+=M.str&&M.hasEOL?2:1})}v()}).catch(_),()=>lf(O)},[e,_,v,a,o,l,p,C]),m.jsx("div",{className:Jg("react-pdf__Page__textContent","textLayer"),onMouseUp:E,onMouseDown:x,ref:g})}const uL=1;function Sue(n){const t={...Y9(),...n},{_className:i="react-pdf__Page",_enableRegisterUnregisterPage:s=!0,canvasBackground:r,canvasRef:a,children:o,className:l,customRenderer:c,customTextRenderer:u,devicePixelRatio:h,error:f="Failed to load the page.",filterAnnotations:p,height:b,inputRef:g,loading:S="Loading pageâ¦",noData:y="No page specified.",onGetAnnotationsError:v,onGetAnnotationsSuccess:_,onGetStructTreeError:x,onGetStructTreeSuccess:E,onGetTextError:C,onGetTextSuccess:I,onLoadError:R,onLoadSuccess:D,onRenderAnnotationLayerError:k,onRenderAnnotationLayerSuccess:N,onRenderError:O,onRenderSuccess:j,onRenderTextLayerError:L,onRenderTextLayerSuccess:U,pageIndex:M,pageNumber:B,pdf:F,registerPage:z,renderAnnotationLayer:G=!0,renderForms:te=!1,renderMode:Y="canvas",renderTextLayer:X=!0,rotate:W,scale:ae=uL,unregisterPage:Ue,width:ne,...bt}=t,[jt,_t]=Lg(),{value:$,error:Rn}=jt,Be=w.useRef(null);pt(F);const Xe=rd(B)?B-1:M??null,ut=B??(rd(M)?M+1:null),rn=W??($?$.rotate:null),Pt=w.useMemo(()=>
245{if(!$)return null;let fs=1;const ps=ae??uL;if(ne||b){const Si=$.getViewport({scale:1,rotation:rn});ne?fs=ne/Si.width:b&&(fs=b/Si.height)}return ps*fs},[b,$,rn,ae,ne]);w.useEffect(function(){return()=>{rd(Xe)&&s&&Ue&&Ue(Xe)}},[s,F,Xe,Ue]);function So(){if(D){if(!$||!Pt)return;D(QT($,Pt))}if(s&&z){if(!rd(Xe)||!Be.current)return;z(Xe,Be.current)}}function _a(){Rn&&(gi(!1,Rn.toString()),R&&R(Rn))}w.useEffect(function(){_t({type:"RESET"})},[_t,F,Xe]),w.useEffect(function(){if(!F||!ut)return;const ps=Db(F.getPage(ut)),Si=ps;return ps.promise.then(Jl=>{_t({type:"RESOLVE",value:Jl})}).catch(Jl=>{_t({type:"REJECT",error:Jl})}),()=>lf(Si)},[_t,F,ut]),w.useEffect(()=>{if($!==void 0){if($===!1){_a();return}So()}},[$,Pt]);const Ql=w.useMemo(()=>rd(Xe)&&ut&&rd(rn)&&rd(Pt)?{_className:i,canvasBackground:r,customTextRenderer:u,devicePixelRatio:h,filterAnnotations:p,onGetAnnotationsError:v,onGetAnnotationsSuccess:_,onGetStructTreeError:x,onGetStructTreeSuccess:E,onGetTextError:C,onGetTextSuccess:I,onRenderAnnotationLayerError:k,onRenderAnnotationLayerSuccess:N,onRenderError:O,onRenderSuccess:j,onRenderTextLayerError:L,onRenderTextLayerSuccess:U,page:$,pageIndex:Xe,pageNumber:ut,renderForms:te,renderTextLayer:X,rotate:rn,scale:Pt}:null,[i,r,u,h,p,v,_,x,E,C,I,k,N,O,j,L,U,$,Xe,ut,te,X,rn,Pt]),hs=w.useMemo(()=>X9(bt,()=>$&&(Pt?QT($,Pt):void 0)),[bt,$,Pt]),xo=`${Xe}@${Pt}/${rn}`;function Fr(){switch(Y){case"custom":return pt(c),m.jsx(c,{},`${xo}_custom`);case"none":return null;case"canvas":default:return m.jsx(vue,{canvasRef:a},`${xo}_canvas`)}}function l0(){return X?m.jsx(_ue,{},`${xo}_text`):null}function c0(){return G?m.jsx(hue,{},`${xo}_annotations`):null}function Hn(){function fs(Si){return!!(Si!=null&&Si.page)}if(!fs(Ql))throw new Error("page is undefined");const ps=typeof o=="function"?o(Ql):o;return m.jsxs(K9.Provider,{value:Ql,children:[Fr(),l0(),c0(),ps]})}function Sa(){return ut?F===null||$===void 0||$===null?m.jsx(Cp,{type:"loading",children:typeof S=="function"?S():S}):F===!1||$===!1?m.jsx(Cp,{type:"error",children:typeof f=="function"?f():f}):Hn():m.jsx(Cp,{type:"no-data",children:typeof y=="function"?y():y})}return m.jsx("div",{className:Jg(i,l),"data-page-number":ut,ref:W9(g,Be),style:{"--scale-round-x":"1px","--scale-round-y":"1px","--scale-factor":"1","--user-unit":`${Pt}`,"--total-scale-factor":"calc(var(--scale-factor) * var(--user-unit))",backgroundColor:r||"white",position:"relative",minWidth:"min-content",minHeight:"min-content"},...hs,children:Sa()})}oue();Tr.workerSrc="pdf.worker.mjs";function Iy(n,e,{checkForDefaultPrevented:t=!0}={}){return function(s){if(n==null||n(s),t===!1||!s.defaultPrevented)return e==null?void 0:e(s)}}function pA(n,e,{checkForDefaultPrevented:t=!0}={}){return function(s){if(n==null||n(s),t===!1||!s.defaultPrevented)return e==null?void 0:e(s)}}var xue="DismissableLayer",JT="dismissableLayer.update",wue="dismissableLayer.pointerDownOutside",Eue="dismissableLayer.focusOutside",dL,tU=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),nU=w.forwardRef((n,e)=>{const{disableOutsidePointerEvents:t=!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:r,onInteractOutside:a,onDismiss:o,...l}=n,c=w.useContext(tU),[u,h]=w.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=w.useState({}),b=nt(e,I=>h(I)),g=Array.from(c.layers),[S]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(S),v=u?g.indexOf(u):-1,_=c.layersWithOutsidePointerEventsDisabled.size>0,x=v>=y,E=Cue(I=>{const R=I.target,D=[...c.branches].some(k=>k.contains(R));!x||D||(s==null||s(I),a==null||a(I),I.defaultPrevented||o==null||o())},f),C=Tue(I=>{const R=I.target;[...c.branches].some(k=>k.contains(R))||(r==null||r(I),a==null||a(I),I.defaultPrevented||o==null||o())},f);return q1(I=>{v===c.layers.size-1&&(i==null||i(I),!I.defaultPrevented&&o&&(I.preventDefault(),o()))},f),w.useEffect(()=>{if(u)return t&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(dL=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),hL(),()=>{t&&c.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=dL)}},[u,f,t,c]),w.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),hL())},[u,c]),w.useEffect(()=>{const I=()=>p({});return document.addEventListener(JT,I),()=>document.removeEventListener(JT,I)},[]),m.jsx(Le.div,{...l,ref:b,style:{pointerEvents:_?x?"auto":"none":void 0,...n.style},onFocusCapture:pA(n.onFocusCapture,C.onFocusCapture),onBlurCapture:pA(n.onBlurCapture,C.onBlurCapture),onPointerDownCapture:pA(n.onPointerDownCapture,E.onPointerDownCapture)})});nU.displayName=xue;var Aue="DismissableLayerBranch",Iue=w.forwardRef((n,e)=>{const t=w.useContext(tU),i=w.useRef(null),s=nt(e,i);return w.useEffect(()=>{const r=i.current;if(r)return t.branches.add(r),()=>{t.branches.delete(r)}},[t.branches]),m.jsx(Le.div,{...n,ref:s})});Iue.displayName=Aue;function Cue(n,e=globalThis==null?void 0:globalThis.document){const t=_i(n),i=w.useRef(!1),s=w.useRef(()=>{});return w.useEffect(()=>{const r=o=>{if(o.target&&!i.current){let l=function(){iU(wue,t,c,{discrete:!0})};const c={originalEvent:o};
vendor: 12,466 bytes, lines 245-260
245o.pointerType==="touch"?(e.removeEventListener("click",s.current),s.current=l,e.addEventListener("click",s.current,{once:!0})):l()}else e.removeEventListener("click",s.current);i.current=!1},a=window.setTimeout(()=>{e.addEventListener("pointerdown",r)},0);return()=>{window.clearTimeout(a),e.removeEventListener("pointerdown",r),e.removeEventListener("click",s.current)}},[e,t]),{onPointerDownCapture:()=>i.current=!0}}function Tue(n,e=globalThis==null?void 0:globalThis.document){const t=_i(n),i=w.useRef(!1);return w.useEffect(()=>{const s=r=>{r.target&&!i.current&&iU(Eue,t,{originalEvent:r},{discrete:!1})};return e.addEventListener("focusin",s),()=>e.removeEventListener("focusin",s)},[e,t]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function hL(){const n=new CustomEvent(JT);document.dispatchEvent(n)}function iU(n,e,t,{discrete:i}){const s=t.originalEvent.target,r=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:t});e&&s.addEventListener(n,e,{once:!0}),i?fb(s,r):s.dispatchEvent(r)}var mA="focusScope.autoFocusOnMount",gA="focusScope.autoFocusOnUnmount",fL={bubbles:!1,cancelable:!0},Due="FocusScope",FR=w.forwardRef((n,e)=>{const{loop:t=!1,trapped:i=!1,onMountAutoFocus:s,onUnmountAutoFocus:r,...a}=n,[o,l]=w.useState(null),c=_i(s),u=_i(r),h=w.useRef(null),f=nt(e,g=>l(g)),p=w.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;w.useEffect(()=>{if(i){let g=function(_){if(p.paused||!o)return;const x=_.target;o.contains(x)?h.current=x:oc(h.current,{select:!0})},S=function(_){if(p.paused||!o)return;const x=_.relatedTarget;x!==null&&(o.contains(x)||oc(h.current,{select:!0}))},y=function(_){if(document.activeElement===document.body)for(const E of _)E.removedNodes.length>0&&oc(o)};document.addEventListener("focusin",g),document.addEventListener("focusout",S);const v=new MutationObserver(y);return o&&v.observe(o,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",S),v.disconnect()}}},[i,o,p.paused]),w.useEffect(()=>{if(o){mL.add(p);const g=document.activeElement;if(!o.contains(g)){const y=new CustomEvent(mA,fL);o.addEventListener(mA,c),o.dispatchEvent(y),y.defaultPrevented||(Pue(Oue(sU(o)),{select:!0}),document.activeElement===g&&oc(o))}return()=>{o.removeEventListener(mA,c),setTimeout(()=>{const y=new CustomEvent(gA,fL);o.addEventListener(gA,u),o.dispatchEvent(y),y.defaultPrevented||oc(g??document.body,{select:!0}),o.removeEventListener(gA,u),mL.remove(p)},0)}}},[o,c,u,p]);const b=w.useCallback(g=>{if(!t&&!i||p.paused)return;const S=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,y=document.activeElement;if(S&&y){const v=g.currentTarget,[_,x]=Rue(v);_&&x?!g.shiftKey&&y===x?(g.preventDefault(),t&&oc(_,{select:!0})):g.shiftKey&&y===_&&(g.preventDefault(),t&&oc(x,{select:!0})):y===v&&g.preventDefault()}},[t,i,p.paused]);return m.jsx(Le.div,{tabIndex:-1,...a,ref:f,onKeyDown:b})});FR.displayName=Due;function Pue(n,{select:e=!1}={}){const t=document.activeElement;for(const i of n)if(oc(i,{select:e}),document.activeElement!==t)return}function Rue(n){const e=sU(n),t=pL(e,n),i=pL(e.reverse(),n);return[t,i]}function sU(n){const e=[],t=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const s=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||s?NodeFilter.FILTER_SKIP:i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)e.push(t.currentNode);return e}function pL(n,e){for(const t of n)if(!kue(t,{upTo:e}))return t}function kue(n,{upTo:e}){if(getComputedStyle(n).visibility==="hidden")return!0;for(;n;){if(e!==void 0&&n===e)return!1;if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function Nue(n){return n instanceof HTMLInputElement&&"select"in n}function oc(n,{select:e=!1}={}){if(n&&n.focus){const t=document.activeElement;n.focus({preventScroll:!0}),n!==t&&Nue(n)&&e&&n.select()}}var mL=Mue();function Mue(){let n=[];return{add(e){const t=n[0];e!==t&&(t==null||t.pause()),n=gL(n,e),n.unshift(e)},remove(e){var t;n=gL(n,e),(t=n[0])==null||t.resume()}}}function gL(n,e){const t=[...n],i=t.indexOf(e);return i!==-1&&t.splice(i,1),t}function Oue(n){return n.filter(e=>e.tagName!=="A")}function Lue(n,e){return w.useReducer((t,i)=>e[t][i]??t,n)}var Aw=n=>{const{present:e,children:t}=n,i=Bue(e),s=typeof t=="function"?t({present:i.isPresent}):w.Children.only(t),r=nt(i.ref,jue(s));return typeof t=="function"||i.isPresent?w.cloneElement(s,{ref:r}):null};Aw.displayName="Presence";function Bue(n){const[e,t]=w.useState(),i=w.useRef(null),s=w.useRef(n),r=w.useRef("none"),a=n?"mounted":"unmounted",[o,l]=Lue(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const c=S_(i.current);r.current=o==="mounted"?c:"none"},[o]),jr(()=>{const c=i.current,u=s.current;if(u!==n){const f=r.current,p=S_(c);n?l("MOUNT"):p==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(u&&f!==p?"ANIMATION_OUT":"UNMOUNT"),s.current=n}},[n,l]),jr(()=>{if(e){let c;const u=e.ownerDocument.defaultView??window,h=p=>{const g=S_(i.current).includes(CSS.escape(p.animationName));if(p.target===e&&g&&(l("ANIMATION_END"),!s.current)){const S=e.style.animationFillMode;e.style.animationFillMode="forwards",c=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=S)})}},f=p=>{p.target===e&&(r.current=S_(i.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",h),e.addEventListener("animationend",h),()=>{u.clearTimeout(c),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",h),e.removeEventListener("animationend",h)}}else l("ANIMATION_END")},[e,l]),{isPresent:["mounted","unmountSuspended"].includes(o),ref:w.useCallback(c=>{i.current=c?getComputedStyle(c):null,t(c)},[])}}function S_(n){return(n==null?void 0:n.animationName)||"none"}function jue(n){var i,s;let e=(i=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:i.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=(s=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:s.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}var yA=0;function Fue(){w.useEffect(()=>{const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",n[0]??yL()),document.body.insertAdjacentElement("beforeend",n[1]??yL()),yA++,()=>{yA===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),yA--}},[])}function yL(){const n=document.createElement("span");return n.setAttribute("data-radix-focus-guard",""),n.tabIndex=0,n.style.outline="none",n.style.opacity="0",n.style.position="fixed",n.style.pointerEvents="none",n}var eo=function(){return eo=Object.assign||function(e){for(var t,i=1,s=arguments.length;i<s;i++){t=arguments[i];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},eo.apply(this,arguments)};function rU(n,e){var t={};for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&e.indexOf(i)<0&&(t[i]=n[i]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(n);s<i.length;s++)e.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(n,i[s])&&(t[i[s]]=n[i[s]]);return t}function zue(n,e,t){if(t||arguments.length===2)for(var i=0,s=e.length,r;i<s;i++)(r||!(i in e))&&(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return n.concat(r||Array.prototype.slice.call(e))}var DS="right-scroll-bar-position",PS="width-before-scroll-bar",Uue="with-scroll-bars-hidden",Vue="--removed-body-scroll-bar-size";function vA(n,e){return typeof n=="function"?n(e):n&&(n.current=e),n}function Xue(n,e){var t=w.useState(function(){return{value:n,callback:e,facade:{get current(){return t.value},set current(i){var s=t.value;s!==i&&(t.value=i,t.callback(i,s))}}}})[0];return t.callback=e,t.facade}var Hue=typeof window<"u"?w.useLayoutEffect:w.useEffect,vL=new WeakMap;function Gue(n,e){var t=Xue(null,function(i){return n.forEach(function(s){return vA(s,i)})});return Hue(function(){var i=vL.get(t);if(i){var s=new Set(i),r=new Set(n),a=t.current;s.forEach(function(o){r.has(o)||vA(o,null)}),r.forEach(function(o){s.has(o)||vA(o,a)})}vL.set(t,n)},[n]),t}function $ue(n){return n}function que(n,e){e===void 0&&(e=$ue);var t=[],i=!1,s={read:function(){if(i)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return t.length?t[t.length-1]:n},useMedium:function(r){var a=e(r,i);return t.push(a),function(){t=t.filter(function(o){return o!==a})}},assignSyncMedium:function(r){for(i=!0;t.length;){var a=t;t=[],a.forEach(r)}t={push:function(o){return r(o)},filter:function(){return t}}},assignMedium:function(r){i=!0;var a=[];if(t.length){var o=t;t=[],o.forEach(r),a=t}var l=function(){var u=a;a=[],u.forEach(r)},c=function(){return Promise.resolve().then(l)};c(),t={push:function(u){a.push(u),c()},filter:function(u){return a=a.filter(u),t}}}};return s}function Yue(n){n===void 0&&(n={});var e=que(null);return e.options=eo({async:!0,ssr:!1},n),e}var aU=function(n){var e=n.sideCar,t=rU(n,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=e.read();if(!i)throw new Error("Sidecar medium not found");return w.createElement(i,eo({},t))};aU.isSideCarExport=!0;function Wue(n,e){return n.useMedium(e),aU}var oU=Yue(),bA=function(){},Iw=w.forwardRef(function(n,e){var t=w.useRef(null),i=w.useState({onScrollCapture:bA,onWheelCapture:bA,onTouchMoveCapture:bA}),s=i[0],r=i[1],a=n.forwardProps,o=n.children,l=n.className,c=n.removeScrollBar,u=n.enabled,h=n.shards,f=n.sideCar,p=n.noRelative,b=n.noIsolation,g=n.inert,S=n.allowPinchZoom,y=n.as,v=y===void 0?"div":y,_=n.gapMode,x=rU(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=f,C=Gue([t,e]),I=eo(eo({},x),s);return w.createElement(w.Fragment,null,u&&w.createElement(E,{sideCar:oU,removeScrollBar:c,shards:h,noRelative:p,noIsolation:b,inert:g,setCallbacks:r,allowPinchZoom:!!S,lockRef:t,gapMode:_}),a?w.cloneElement(w.Children.only(o),eo(eo({},I),{ref:C})):w.createElement(v,eo({},I,{className:l,ref:C}),o))});Iw.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Iw.classNames={fullWidth:PS,zeroRight:DS};var Kue=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Que(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var e=Kue();return e&&n.setAttribute("nonce",e),n}function Jue(n,e){n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}function Zue(n){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(n)}var ede=function(){var n=0,e=null;return{add:function(t){n==0&&(e=Que())&&(Jue(e,t),Zue(e)),n++},remove:function(){n--,!n&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},tde=function(){var n=ede();return function(e,t){w.useEffect(function(){return n.add(e),function(){n.remove()}},[e&&t])}},lU=function(){var n=tde(),e=function(t){var i=t.styles,s=t.dynamic;return n(i,s),null};return e},nde={left:0,top:0,right:0,gap:0},_A=function(n){return parseInt(n||"",10)||0},ide=function(n){var e=window.getComputedStyle(document.body),t=e[n==="padding"?"paddingLeft":"marginLeft"],i=e[n==="padding"?"paddingTop":"marginTop"],s=e[n==="padding"?"paddingRight":"marginRight"];return[_A(t),_A(i),_A(s)]},sde=function(n){if(n===void 0&&(n="margin"),typeof window>"u")return nde;var e=ide(n),t=document.documentElement.clientWidth,i=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,i-t+e[2]-e[0])}},rde=lU(),Tp="data-scroll-locked",ade=function(n,e,t,i){var s=n.left,r=n.top,a=n.right,o=n.gap;return t===void 0&&(t="margin"),` 246 .`.concat(Uue,` { 247 overflow: hidden `).concat(i,`; 248 padding-right: `).concat(o,"px ").concat(i,`; 249 } 250 body[`).concat(Tp,`] { 251 overflow: hidden `).concat(i,`; 252 overscroll-behavior: contain; 253 `).concat([e&&"position: relative ".concat(i,";"),t==="margin"&&` 254 padding-left: `.concat(s,`px; 255 padding-top: `).concat(r,`px; 256 padding-right: `).concat(a,`px; 257 margin-left:0; 258 margin-top:0; 259 margin-right: `).concat(o,"px ").concat(i,`; 260 `),t==="padding"&&"padding-right: ".concat(o,"px ").concat(i,";
260")].filter(Boolean).join(""),` 261 } 262 263 .`).concat(DS,` { 264 right: `).concat(o,"px ").concat(i,`; 265 } 266 267 .`).concat(PS,` { 268 margin-right: `).concat(o,"px ").concat(i,`; 269 } 270 271 .`).concat(DS," .").concat(DS,` { 272 right: 0 `).concat(i,`; 273 } 274 275 .`).concat(PS," .").concat(PS,` { 276 margin-right: 0 `).concat(i,`; 277 } 278 279 body[`).concat(Tp,`] { 280 `).concat(Vue,": ").concat(o,`px; 281 } 282`)},bL=function(){var n=parseInt(document.body.getAttribute(Tp)||"0",10);return isFinite(n)?n:0},ode=function(){w.useEffect(function(){return document.body.setAttribute(Tp,(bL()+1).toString()),function(){var n=bL()-1;n<=0?document.body.removeAttribute(Tp):document.body.setAttribute(Tp,n.toString())}},[])},lde=function(n){var e=n.noRelative,t=n.noImportant,i=n.gapMode,s=i===void 0?"margin":i;ode();var r=w.useMemo(function(){return sde(s)},[s]);return w.createElement(rde,{styles:ade(r,!e,s,t?"":"!important")})},ZT=!1;if(typeof window<"u")try{var x_=Object.defineProperty({},"passive",{get:function(){return ZT=!0,!0}});window.addEventListener("test",x_,x_),window.removeEventListener("test",x_,x_)}catch{ZT=!1}var If=ZT?{passive:!1}:!1,cde=function(n){return n.tagName==="TEXTAREA"},cU=function(n,e){if(!(n instanceof Element))return!1;var t=window.getComputedStyle(n);return t[e]!=="hidden"&&!(t.overflowY===t.overflowX&&!cde(n)&&t[e]==="visible")},ude=function(n){return cU(n,"overflowY")},dde=function(n){return cU(n,"overflowX")},_L=function(n,e){var t=e.ownerDocument,i=e;do{typeof ShadowRoot<"u"&&i instanceof ShadowRoot&&(i=i.host);var s=uU(n,i);if(s){var r=dU(n,i),a=r[1],o=r[2];if(a>o)return!0}i=i.parentNode}while(i&&i!==t.body);return!1},hde=function(n){var e=n.scrollTop,t=n.scrollHeight,i=n.clientHeight;return[e,t,i]},fde=function(n){var e=n.scrollLeft,t=n.scrollWidth,i=n.clientWidth;return[e,t,i]},uU=function(n,e){return n==="v"?ude(e):dde(e)},dU=function(n,e){return n==="v"?hde(e):fde(e)},pde=function(n,e){return n==="h"&&e==="rtl"?-1:1},mde=function(n,e,t,i,s){var r=pde(n,window.getComputedStyle(e).direction),a=r*i,o=t.target,l=e.contains(o),c=!1,u=a>0,h=0,f=0;do{if(!o)break;var p=dU(n,o),b=p[0],g=p[1],S=p[2],y=g-S-r*b;(b||y)&&uU(n,o)&&(h+=y,f+=b);var v=o.parentNode;o=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!l&&o!==document.body||l&&(e.contains(o)||e===o));return(u&&Math.abs(h)<1||!u&&Math.abs(f)<1)&&(c=!0),c},w_=function(n){return"changedTouches"in n?[n.changedTouches[0].clientX,n.changedTouches[0].clientY]:[0,0]},SL=function(n){return[n.deltaX,n.deltaY]},xL=function(n){return n&&"current"in n?n.current:n},gde=function(n,e){return n[0]===e[0]&&n[1]===e[1]},yde=function(n){return` 283 .block-interactivity-`.concat(n,` {pointer-events: none;} 284 .allow-interactivity-`).concat(n,` {pointer-events: all;} 285`)},vde=0,Cf=[];function bde(n){var e=w.useRef([]),t=w.useRef([0,0]),i=w.useRef(),s=w.useState(vde++)[0],r=w.useState(lU)[0],a=w.useRef(n);w.useEffect(function(){a.current=n},[n]),w.useEffect(function(){if(n.inert){document.body.classList.add("block-interactivity-".concat(s));var g=zue([n.lockRef.current],(n.shards||[]).map(xL),!0).filter(Boolean);return g.forEach(function(S){return S.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),g.forEach(function(S){return S.classList.remove("allow-interactivity-".concat(s))})}}},[n.inert,n.lockRef.current,n.shards]);var o=w.useCallback(function(g,S){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!a.current.allowPinchZoom;var y=w_(g),v=t.current,_="deltaX"in g?g.deltaX:v[0]-y[0],x="deltaY"in g?g.deltaY:v[1]-y[1],E,C=g.target,I=Math.abs(_)>Math.abs(x)?"h":"v";if("touches"in g&&I==="h"&&C.type==="range")return!1;var R=_L(I,C);if(!R)return!0;if(R?E=I:(E=I==="v"?"h":"v",R=_L(I,C)),!R)return!1;if(!i.current&&"changedTouches"in g&&(_||x)&&(i.current=E),!E)return!0;var D=i.current||E;return mde(D,S,g,D==="h"?_:x)},[]),l=w.useCallback(function(g){var S=g;if(!(!Cf.length||Cf[Cf.length-1]!==r)){var y="deltaY"in S?SL(S):w_(S),v=e.current.filter(function(E){return E.name===S.type&&(E.target===S.target||S.target===E.shadowParent)&&gde(E.delta,y)})[0];if(v&&v.should){S.cancelable&&S.preventDefault();return}
vendor: 9,109 bytes, lines 285-289
285if(!v){var _=(a.current.shards||[]).map(xL).filter(Boolean).filter(function(E){return E.contains(S.target)}),x=_.length>0?o(S,_[0]):!a.current.noIsolation;x&&S.cancelable&&S.preventDefault()}}},[]),c=w.useCallback(function(g,S,y,v){var _={name:g,delta:S,target:y,should:v,shadowParent:_de(y)};e.current.push(_),setTimeout(function(){e.current=e.current.filter(function(x){return x!==_})},1)},[]),u=w.useCallback(function(g){t.current=w_(g),i.current=void 0},[]),h=w.useCallback(function(g){c(g.type,SL(g),g.target,o(g,n.lockRef.current))},[]),f=w.useCallback(function(g){c(g.type,w_(g),g.target,o(g,n.lockRef.current))},[]);w.useEffect(function(){return Cf.push(r),n.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:f}),document.addEventListener("wheel",l,If),document.addEventListener("touchmove",l,If),document.addEventListener("touchstart",u,If),function(){Cf=Cf.filter(function(g){return g!==r}),document.removeEventListener("wheel",l,If),document.removeEventListener("touchmove",l,If),document.removeEventListener("touchstart",u,If)}},[]);var p=n.removeScrollBar,b=n.inert;return w.createElement(w.Fragment,null,b?w.createElement(r,{styles:yde(s)}):null,p?w.createElement(lde,{noRelative:n.noRelative,gapMode:n.gapMode}):null)}function _de(n){for(var e=null;n!==null;)n instanceof ShadowRoot&&(e=n.host,n=n.host),n=n.parentNode;return e}const Sde=Wue(oU,bde);var zR=w.forwardRef(function(n,e){return w.createElement(Iw,eo({},n,{ref:e,sideCar:Sde}))});zR.classNames=Iw.classNames;var xde=function(n){if(typeof document>"u")return null;var e=Array.isArray(n)?n[0]:n;return e.ownerDocument.body},Tf=new WeakMap,E_=new WeakMap,A_={},SA=0,hU=function(n){return n&&(n.host||hU(n.parentNode))},wde=function(n,e){return e.map(function(t){if(n.contains(t))return t;var i=hU(t);return i&&n.contains(i)?i:(console.error("aria-hidden",t,"in not contained inside",n,". Doing nothing"),null)}).filter(function(t){return!!t})},Ede=function(n,e,t,i){var s=wde(e,Array.isArray(n)?n:[n]);A_[t]||(A_[t]=new WeakMap);var r=A_[t],a=[],o=new Set,l=new Set(s),c=function(h){!h||o.has(h)||(o.add(h),c(h.parentNode))};s.forEach(c);var u=function(h){!h||l.has(h)||Array.prototype.forEach.call(h.children,function(f){if(o.has(f))u(f);else try{var p=f.getAttribute(i),b=p!==null&&p!=="false",g=(Tf.get(f)||0)+1,S=(r.get(f)||0)+1;Tf.set(f,g),r.set(f,S),a.push(f),g===1&&b&&E_.set(f,!0),S===1&&f.setAttribute(t,"true"),b||f.setAttribute(i,"true")}catch(y){console.error("aria-hidden: cannot operate on ",f,y)}})};return u(e),o.clear(),SA++,function(){a.forEach(function(h){var f=Tf.get(h)-1,p=r.get(h)-1;Tf.set(h,f),r.set(h,p),f||(E_.has(h)||h.removeAttribute(i),E_.delete(h)),p||h.removeAttribute(t)}),SA--,SA||(Tf=new WeakMap,Tf=new WeakMap,E_=new WeakMap,A_={})}},fU=function(n,e,t){t===void 0&&(t="data-aria-hidden");var i=Array.from(Array.isArray(n)?n:[n]),s=xde(n);return s?(i.push.apply(i,Array.from(s.querySelectorAll("[aria-live], script"))),Ede(i,s,t,"aria-hidden")):function(){return null}},Cw="Dialog",[pU,Hme]=Yl(Cw),[Ade,ya]=pU(Cw),mU=n=>{const{__scopeDialog:e,children:t,open:i,defaultOpen:s,onOpenChange:r,modal:a=!0}=n,o=w.useRef(null),l=w.useRef(null),[c,u]=Qg({prop:i,defaultProp:s??!1,onChange:r,caller:Cw});return m.jsx(Ade,{scope:e,triggerRef:o,contentRef:l,contentId:Nu(),titleId:Nu(),descriptionId:Nu(),open:c,onOpenChange:u,onOpenToggle:w.useCallback(()=>u(h=>!h),[u]),modal:a,children:t})};mU.displayName=Cw;var gU="DialogTrigger",Ide=w.forwardRef((n,e)=>{const{__scopeDialog:t,...i}=n,s=ya(gU,t),r=nt(e,s.triggerRef);return m.jsx(Le.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":XR(s.open),...i,ref:r,onClick:Iy(n.onClick,s.onOpenToggle)})});Ide.displayName=gU;var UR="DialogPortal",[Cde,yU]=pU(UR,{forceMount:void 0}),vU=n=>{const{__scopeDialog:e,forceMount:t,children:i,container:s}=n,r=ya(UR,e);return m.jsx(Cde,{scope:e,forceMount:t,children:w.Children.map(i,a=>m.jsx(Aw,{present:t||r.open,children:m.jsx(Y1,{asChild:!0,container:s,children:a})}))})};vU.displayName=UR;var Qx="DialogOverlay",bU=w.forwardRef((n,e)=>{const t=yU(Qx,n.__scopeDialog),{forceMount:i=t.forceMount,...s}=n,r=ya(Qx,n.__scopeDialog);return r.modal?m.jsx(Aw,{present:i||r.open,children:m.jsx(Dde,{...s,ref:e})}):null});bU.displayName=Qx;var Tde=Eg("DialogOverlay.RemoveScroll"),Dde=w.forwardRef((n,e)=>{const{__scopeDialog:t,...i}=n,s=ya(Qx,t);return m.jsx(zR,{as:Tde,allowPinchZoom:!0,shards:[s.contentRef],children:m.jsx(Le.div,{"data-state":XR(s.open),...i,ref:e,style:{pointerEvents:"auto",...i.style}})})}),cf="DialogContent",_U=w.forwardRef((n,e)=>{const t=yU(cf,n.__scopeDialog),{forceMount:i=t.forceMount,...s}=n,r=ya(cf,n.__scopeDialog);return m.jsx(Aw,{present:i||r.open,children:r.modal?m.jsx(Pde,{...s,ref:e}):m.jsx(Rde,{...s,ref:e})})});_U.displayName=cf;var Pde=w.forwardRef((n,e)=>{const t=ya(cf,n.__scopeDialog),i=w.useRef(null),s=nt(e,t.contentRef,i);return w.useEffect(()=>{const r=i.current;if(r)return fU(r)},[]),m.jsx(SU,{...n,ref:s,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Iy(n.onCloseAutoFocus,r=>{var a;r.preventDefault(),(a=t.triggerRef.current)==null||a.focus()}),onPointerDownOutside:Iy(n.onPointerDownOutside,r=>{const a=r.detail.originalEvent,o=a.button===0&&a.ctrlKey===!0;(a.button===2||o)&&r.preventDefault()}),onFocusOutside:Iy(n.onFocusOutside,r=>r.preventDefault())})}),Rde=w.forwardRef((n,e)=>{const t=ya(cf,n.__scopeDialog),i=w.useRef(!1),s=w.useRef(!1);return m.jsx(SU,{...n,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{var a,o;(a=n.onCloseAutoFocus)==null||a.call(n,r),r.defaultPrevented||(i.current||(o=t.triggerRef.current)==null||o.focus(),r.preventDefault()),i.current=!1,s.current=!1},onInteractOutside:r=>{var l,c;(l=n.onInteractOutside)==null||l.call(n,r),r.defaultPrevented||(i.current=!0,r.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const a=r.target;((c=t.triggerRef.current)==null?void 0:c.contains(a))&&r.preventDefault(),r.detail.originalEvent.type==="focusin"&&s.current&&r.preventDefault()}})}),SU=w.forwardRef((n,e)=>{const{__scopeDialog:t,trapFocus:i,onOpenAutoFocus:s,onCloseAutoFocus:r,...a}=n,o=ya(cf,t),l=w.useRef(null),c=nt(e,l);return Fue(),m.jsxs(m.Fragment,{children:[m.jsx(FR,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:s,onUnmountAutoFocus:r,children:m.jsx(nU,{role:"dialog",id:o.contentId,"aria-describedby":o.descriptionId,"aria-labelledby":o.titleId,"data-state":XR(o.open),...a,ref:c,onDismiss:()=>o.onOpenChange(!1)})}),m.jsxs(m.Fragment,{children:[m.jsx(kde,{titleId:o.titleId}),m.jsx(Mde,{contentRef:l,descriptionId:o.descriptionId})]})]})}),VR="DialogTitle",xU=w.forwardRef((n,e)=>{const{__scopeDialog:t,...i}=n,s=ya(VR,t);return m.jsx(Le.h2,{id:s.titleId,...i,ref:e})});xU.displayName=VR;var wU="DialogDescription",EU=w.forwardRef((n,e)=>{const{__scopeDialog:t,...i}=n,s=ya(wU,t);return m.jsx(Le.p,{id:s.descriptionId,...i,ref:e})});EU.displayName=wU;var AU="DialogClose",IU=w.forwardRef((n,e)=>{const{__scopeDialog:t,...i}=n,s=ya(AU,t);return m.jsx(Le.button,{type:"button",...i,ref:e,onClick:Iy(n.onClick,()=>s.onOpenChange(!1))})});IU.displayName=AU;function XR(n){return n?"open":"closed"}var CU="DialogTitleWarning",[Gme,TU]=hj(CU,{contentName:cf,titleName:VR,docsSlug:"dialog"}),kde=({titleId:n})=>{const e=TU(CU),t=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users. 286 287If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component. 288 289For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return w.useEffect(()=>{n&&(document.getElementById(n)||console.error(t))},[t,n]),null},Nde="DialogDescriptionWarning",Mde=({contentRef:n,descriptionId:e})=>{const i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${TU(Nde).contentName}}.`;return w.useEffect(()=>{var r;const s=(r=n.current)==null?void 0:r.getAttribute("aria-describedby");e&&s&&(document.getElementById(e)||console.warn(i))},[i,n,e]),null},Ode=mU,Lde=vU,DU=bU,PU=_U,RU=xU,kU=EU,Bde=IU;const NU=Ode,jde=Lde,MU=w.forwardRef(({className:n,...e},t)=>m.jsx(DU,{ref:t,className:Ce("fixed inset-0 z-50 bg-black/50 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",n),...e}));MU.displayName=DU.displayName;const HR=w.forwardRef(({className:n,children:e,...t},i)=>m.jsxs(jde,{children:[m.jsx(MU,{}),m.jsxs(PU,{ref:i,className:Ce("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",n),...t,children:[e,m.jsxs(Bde,{className:"absolute right-4 top-4 roun
289ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[m.jsx(Q1,{className:"h-4 w-4"}),m.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));HR.displayName=PU.displayName;const GR=({className:n,...e})=>m.jsx("div",{className:Ce("flex flex-col space-y-1.5 text-center sm:text-left",n),...e});GR.displayName="DialogHeader";const $R=w.forwardRef(({className:n,...e},t)=>m.jsx(RU,{ref:t,className:Ce("text-lg font-semibold leading-none tracking-tight",n),...e}));$R.displayName=RU.displayName;const Fde=w.forwardRef(({className:n,...e},t)=>m.jsx(kU,{ref:t,className:Ce("text-sm text-muted-foreground",n),...e}));Fde.displayName=kU.displayName;Tr.workerSrc=new URL("/assets/pdf.worker.min-qwK7q_zL.mjs",import.meta.url).toString();const zde=3e4,Ude=4,Vde=({isOpen:n,onClose:e,documentUrl:t,documentTitle:i})=>{const[s,r]=w.useState(!1),[a,o]=w.useState(!1),[l,c]=w.useState(""),[u,h]=w.useState(0),[f,p]=w.useState(0),[b,g]=w.useState(1),[S,y]=w.useState(!0),[v,_]=w.useState("Loading document..."),[x,E]=w.useState(null),[C,I]=w.useState(null),R=w.useRef(null),D=w.useRef(null),k=w.useRef(!1),N=w.useRef(!1),O=w.useRef(!1),j=w.useRef(n);w.useEffect(()=>{O.current=a},[a]),w.useEffect(()=>{j.current=n},[n]),w.useEffect(()=>{if(!n||!t){I(null),h(0),p(0),y(!!n),E(n&&!t?"No document URL provided.":null),_("Loading document...");return}const X=new AbortController;let W=!1,ae=!1;const Ue=window.setTimeout(()=>{ae=!0,X.abort()},zde);return I(null),h(0),p(0),y(!0),E(null),_("Downloading document..."),g(1),(async()=>{try{const ne=await fetch(t,{signal:X.signal});if(!ne.ok)throw console.error("PDF fetch failed:",ne.status,t),new Error(`HTTP ${ne.status}`);if(W)return;_("Opening PDF...");const bt=await ne.arrayBuffer();if(W)return;I({data:new Uint8Array(bt)})}catch(ne){if(W)return;if(ae){console.error("PDF fetch timed out:",t),y(!1),E("Document took too long to load. Please try again.");return}if(X.signal.aborted)return;console.error("Error fetching PDF:",ne),y(!1),E("Unable to load document. Please try again or use a different browser.")}finally{window.clearTimeout(Ue)}})(),()=>{W=!0,X.abort(),window.clearTimeout(Ue)}},[n,t]);const L=w.useCallback((X,W=3e3)=>{console.log("=== BLUR TRIGGERED ===",X,"duration:",W),R.current!==null&&(window.clearTimeout(R.current),R.current=null),o(!0),r(!0),c(X),O.current=!0,W>0&&(R.current=window.setTimeout(()=>{console.log("=== BLUR AUTO-CLEARED ==="),o(!1),r(!1),c(""),O.current=!1,R.current=null,k.current=!1,N.current=!1},W))},[]),U=w.useCallback(()=>{console.log("=== BLUR MANUALLY CLEARED ==="),R.current!==null&&(window.clearTimeout(R.current),R.current=null),o(!1),r(!1),c(""),O.current=!1,k.current=!1},[]),M=w.useRef(L);M.current=L;const B=w.useRef(U);B.current=U;const F=({numPages:X})=>{h(X),p(Math.min(1,X)),y(!1),E(null)},z=X=>{console.error("Error loading PDF:",X),y(!1),E("Unable to load document. Please try again or use a different browser.")};w.useEffect(()=>{if(!u||f>=u)return;let X=0;const W=()=>{p(ae=>Math.min(ae+Ude,u))};return X=window.requestAnimationFrame(W),()=>window.cancelAnimationFrame(X)},[u,f]);const G=()=>g(X=>Math.min(X+.2,3)),te=()=>g(X=>Math.max(X-.2,.5));w.useEffect(()=>{if(!n)return;console.log("=== SETTING UP EVENT LISTENERS ===");const X=$=>{if(j.current){if(console.log("Key event:",$.type,$.key,$.code),($.ctrlKey||$.metaKey)&&($.key==="s"||$.key==="S"||$.key==="p"||$.key==="P")){$.preventDefault(),$.stopPropagation(),M.current("Save/Print is disabled",2e3);return}if($.key==="PrintScreen"||$.code==="PrintScreen"){console.log("=== PRINT SCREEN DETECTED ==="),$.preventDefault(),$.stopPropagation(),M.current("Screenshot blocked",3e3);return}if($.metaKey&&$.shiftKey){if($.key==="3"||$.key==="4"||$.key==="5"||$.code==="Digit3"||$.code==="Digit4"||$.code==="Digit5"){console.log("=== MAC SCREENSHOT DETECTED ===",$.key),$.preventDefault(),$.stopPropagation(),k.current=!1,N.current=!1,M.current("Screenshot blocked",1e4);return}if($.key==="Shift"||$.code==="ShiftLeft"||$.code==="ShiftRight"){console.log("=== CMD+SHIFT DETECTED - PROACTIVE BLUR ==="),k.current=!1,N.current=!1,M.current("Screenshot protection active",1e4);return}}if($.shiftKey&&($.key==="Meta"||$.code==="MetaLeft"||$.code==="MetaRight")){k.current=!1,N.current=!1,console.log("=== SHIFT+CMD DET
289ECTED - PROACTIVE BLUR ==="),M.current("Screenshot protection active",1e4);return}if(($.ctrlKey||$.metaKey)&&$.shiftKey&&($.key==="I"||$.key==="i")){$.preventDefault(),$.stopPropagation(),M.current("Developer tools blocked",2e3);return}if($.key==="F12"){$.preventDefault(),$.stopPropagation(),M.current("Developer tools blocked",2e3);return}}},W=$=>{if(j.current)return console.log("=== CONTEXT MENU BLOCKED ==="),$.preventDefault(),$.stopPropagation(),$.stopImmediatePropagation(),M.current("Right-click is disabled",2e3),!1},ae=()=>{if(j.current){if(console.log("=== WINDOW BLUR ===",{screenshotKeysHeld:k.current,screenshotToolActive:N.current}),N.current){console.log("=== SCREENSHOT TOOL ALREADY ACTIVE - KEEPING BLUR ===");return}k.current?(console.log("=== SCREENSHOT TOOL OPENED - WAITING FOR FOCUS RETURN ==="),k.current=!1,N.current=!0,M.current("Screenshot blocked",0)):M.current("Window lost focus - content protected",2e3)}},Ue=()=>{j.current&&(console.log("=== WINDOW FOCUS ===",{screenshotToolActive:N.current,isBlurred:O.current}),N.current&&(console.log("=== SCREENSHOT COMPLETED - CLEARING BLUR ==="),N.current=!1,setTimeout(()=>{console.log("=== EXECUTING CLEAR BLUR ==="),B.current()},300)))},ne=()=>{j.current&&(document.hidden?(console.log("=== TAB HIDDEN ==="),M.current("Tab hidden - content protected",2e3)):(console.log("=== TAB VISIBLE ===",{screenshotToolActive:N.current}),N.current&&(console.log("=== TAB VISIBLE AFTER SCREENSHOT - CLEARING ==="),N.current=!1,setTimeout(()=>{B.current()},300))))},bt=()=>{j.current&&N.current&&(console.log("=== CLICK AFTER SCREENSHOT - CLEARING BLUR ==="),N.current=!1,B.current())},jt=$=>{j.current&&($.preventDefault(),M.current("Copying is disabled",2e3))},_t=$=>{if(j.current){if($.key==="PrintScreen"||$.code==="PrintScreen"){console.log("=== PRINT SCREEN KEYUP ==="),$.preventDefault(),$.stopPropagation(),M.current("Screenshot blocked",3e3);return}($.key==="Meta"||$.key==="Shift"||$.code==="MetaLeft"||$.code==="MetaRight"||$.code==="ShiftLeft"||$.code==="ShiftRight")&&k.current&&(console.log("=== SCREENSHOT KEY RELEASED - CLEARING BLUR ==="),setTimeout(()=>{B.current()},500))}};return document.addEventListener("keydown",X,{capture:!0,passive:!1}),document.addEventListener("keyup",_t,{capture:!0,passive:!1}),document.addEventListener("contextmenu",W,{capture:!0,passive:!1}),document.addEventListener("copy",jt,{capture:!0,passive:!1}),document.addEventListener("visibilitychange",ne),window.addEventListener("blur",ae),window.addEventListener("focus",Ue),document.addEventListener("click",bt,{capture:!0}),document.body.style.userSelect="none",console.log("=== EVENT LISTENERS ATTACHED ==="),()=>{console.log("=== CLEANING UP EVENT LISTENERS ==="),document.removeEventListener("keydown",X,{capture:!0}),document.removeEventListener("keyup",_t,{capture:!0}),document.removeEventListener("contextmenu",W,{capture:!0}),document.removeEventListener("copy",jt,{capture:!0}),document.removeEventListener("visibilitychange",ne),window.removeEventListener("blur",ae),window.removeEventListener("focus",Ue),document.removeEventListener("click",bt,{capture:!0}),document.body.style.userSelect="",k.current=!1,N.current=!1,R.current!==null&&(window.clearTimeout(R.current),R.current=null)}},[n]),w.useEffect(()=>{n||(o(!1),r(!1),c(""),R.current!==null&&(window.clearTimeout(R.current),R.current=null))},[n]);const Y=`CONFIDENTIAL - ${new Date().toLocaleString()} - View Only`;return m.jsx(NU,{open:n,onOpenChange:e,children:m.jsxs(HR,{className:"w-[100vw] h-[100vh] sm:w-[95vw] sm:h-[90vh] sm:max-w-[95vw] max-w-none p-0 overflow-hidden rounded-none sm:rounded-lg",onContextMenu:X=>{X.preventDefault(),L("Right-click is disabled",2e3)},style:{userSelect:"none",WebkitUserSelect:"none"},children:[m.jsxs(GR,{className:"px-2 sm:px-4 py-2 sm:py-3 flex flex-row items-center justify-between border-b bg-white relative z-50",children:[m.jsxs("div",{className:"flex items-center gap-1 sm:gap-2 min-w-0 flex-1",children:[m.jsx(Jq,{className:"h-4 w-4 text-akara-blue flex-shrink-0"}),m.jsx($R,{className:"text-xs sm:text-lg font-medium truncate max-w-[30vw] sm:max-w-[40vw] text-gray-700 leading-normal sm:leading-normal",children:i})]}),m.jsxs("div",{className:"flex items-center gap-1 sm:gap-4",children:[m.jsx("span",{className:"hidden sm:inline text-sm text-gray-600",children:u?`${u} pages`:"Loading..."}),m.jsxs("div",{className:"flex items-center gap-0.5 sm:gap-1",children:[m.jsx("button",{onClick:te,disabled:b<=.5,className:"p-1 sm:p-1.5 rounded hover:bg-gray-100 disabled:opacity-50",children:m.jsx(nY,{className:"h-4 w-4"})}),m.jsxs("span",{className:"hidden sm:inline text-sm w-12 text-center",children:[Math.round(b*100),"%"]}),m.jsx("button",{onClick:G,disabled:b>=3,className:"p-1 sm:p-1.5 rounded hover:bg-gray-100 disabled:opacity-50",children:m.jsx(tY,{className:"h-4 w-4"})})]}),m.jsxs("div",{className:"flex items-center gap-1 text-xs text-green-600 bg-green-50 p-1 sm:px-2 sm:py-1 rounded",children:[m.jsx(cM,{className:"h-3 w-3"}),m.jsx("span",{className:"hidden sm:inline",children:"Protected"})]}),m.jsx("button",{onClick:e,className:"rounded-full p-2 sm:p-1.5 bg-gray-100 sm:bg-transparent hover:bg-gray-200 transition-colors","aria-label":"Close",children:m.jsx(Q1,{className:"h-5 w-5 sm:h-5 sm:w-5"})})]})]}),s&&m.jsxs("div",{className:"absolute top-20 left-1/2 transform -translate-x-1/2 z-[100] bg-red-600 text-white px-6 py-3 rounded-lg shadow-2xl flex items-center gap-3",style:{animation:"pulse 0.5s ease-in-out infinite"},children:[m.jsx(uM,{className:"h-5 w-5"}),m.jsx("span",{className:"font-medium",children:l||"This action is not allowed"})]}),a&&m.jsx("div",{className:"absolute inset-0 z-[60] bg-white flex items-center justify-center",children:m.jsxs("div",{className:"text-center p-8",children:[m.jsx("div",{className:"w-24 h-24 mx-auto mb-6 bg-red-100 rounded-full flex items-center justify-center",children:m.jsx(cM,{className:"h-12 w-12 text-red-600"})}
289),m.jsx("h2",{className:"text-2xl font-bold text-gray-800 mb-2",children:"Content Protected"}),m.jsx("p",{className:"text-gray-600 text-lg",children:"Screenshots and copying are not allowed"}),m.jsx("p",{className:"text-gray-400 text-sm mt-4",children:"This protection will clear in a moment..."})]})}),m.jsxs("div",{ref:D,className:"relative flex-1 overflow-auto bg-gray-100",style:{userSelect:"none",WebkitUserSelect:"none",display:a?"none":"block",height:"calc(100vh - 50px)"},onContextMenu:X=>{X.preventDefault(),L("Right-click is disabled",2e3)},children:[m.jsx("div",{className:"absolute inset-0 pointer-events-none z-10 overflow-hidden",children:m.jsx("div",{className:"absolute inset-0 flex items-center justify-center",style:{transform:"rotate(-30deg)",opacity:.06},children:m.jsx("div",{className:"text-center space-y-8 sm:space-y-16",children:[1,2,3,4,5,6].map(X=>m.jsx("p",{className:"text-gray-500 font-bold whitespace-nowrap text-[3vw] sm:text-[2vw]",children:Y},X))})})}),S&&m.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-gray-100 z-20",children:m.jsxs("div",{className:"text-center",children:[m.jsx("div",{className:"animate-spin rounded-full h-10 w-10 sm:h-12 sm:w-12 border-b-2 border-akara-blue mx-auto mb-4"}),m.jsx("p",{className:"text-gray-600 text-sm sm:text-base",children:v})]})}),x&&!S&&m.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-gray-100 z-20",children:m.jsxs("div",{className:"text-center p-4",children:[m.jsx("div",{className:"w-16 h-16 mx-auto mb-4 bg-red-100 rounded-full flex items-center justify-center",children:m.jsx(uM,{className:"h-8 w-8 text-red-600"})}),m.jsx("p",{className:"text-gray-700 text-sm sm:text-base mb-4",children:x}),m.jsx("button",{onClick:e,className:"px-4 py-2 bg-akara-blue text-white rounded-lg hover:bg-blue-700 transition-colors text-sm",children:"Close"})]})}),m.jsx("div",{className:"flex flex-col items-center p-2 sm:p-4 gap-2 sm:gap-4",children:C?m.jsx(due,{file:C,onLoadSuccess:F,onLoadError:z,loading:null,className:"pdf-document",children:f>0&&Array.from({length:f},(X,W)=>m.jsxs("div",{className:"mb-2 sm:mb-4 w-full flex flex-col items-center",children:[m.jsx(Sue,{pageNumber:W+1,scale:b,renderTextLayer:!1,renderAnnotationLayer:!1,className:"shadow-lg max-w-full"}),m.jsxs("p",{className:"text-center text-xs sm:text-sm text-gray-500 mt-1 sm:mt-2",children:["Page ",W+1,u?` of ${u}`:""]})]},`page_${W+1}`))}):null})]}),m.jsx("style",{children:` 290 @media print { 291 body * { 292 display: none !important; 293 } 294 body::after { 295 content: "Printing is disabled for this document."; 296 display: block; 297 font-size: 24px; 298 text-align: center; 299 padding: 50px; 300 } 301 } 302 303 @keyframes pulse { 304 0%, 100% { opacity: 1; transform: translate(-50%, 0) scale(1); } 305 50% { opacity: 0.9; transform: translate(-50%, 0) scale(1.02); } 306 } 307 308 .pdf-document { 309 display: flex; 310 flex-direction: column; 311 align-items: center; 312 gap: 8px; 313 } 314 315 @media (min-width: 640px) { 316 .pdf-document { 317 gap: 16px; 318 } 319 } 320 321 .react-pdf__Page { 322 background: white !important; 323 } 324 325 .react-pdf__Page canvas { 326 display: block; 327 margin: 0 auto; 328 max-width: 100%; 329 height: auto !important; 330 box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); 331 } 332 `})]})})};var Tw="Collapsible",[Xde,OU]=Yl(Tw),[Hde,qR]=Xde(Tw),LU=w.forwardRef((n,e)=>{const{__scopeCollapsible:t,open:i,defaultOpen:s,disabled:r,onOpenChange:a,...o}=n,[l,c]=Qg({prop:i,defaultProp:s??!1,onChange:a,caller:Tw});return m.jsx(Hde,{scope:t,disabled:r,contentId:Nu(),open:l,onOpenToggle:w.useCallback(()=>c(u=>!u),[c]),children:m.jsx(Le.div,{"data-state":WR(l),"data-disabled":r?"":void 0,...o,ref:e})})});LU.displayName=Tw;var BU="CollapsibleTrigger",jU=w.forwardRef((n,e)=>{const{__scopeCollapsible:t,...i}=n,s=qR(BU,t);return m.jsx(Le.button,{type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":WR(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...i,ref:e,onClick:He(n.onClick,s.onOpenToggle)})});jU.displayName=BU;var YR="CollapsibleContent",FU=w.forwardRef((n,e)=>{const{forceMount:t,...i}=n,s=qR(YR,n.__scopeCollapsible);return m.jsx(yf,{present:t||s.open,children:({present:r})=>m.jsx(Gde,{...i,ref:e,present:r})})});FU.displayName=YR;var Gde=w.forwardRef((n,e)=>{const{__scopeCollapsible:t,present:i,children:s,...r}=n,a=qR(YR,t),[o,l]=w.useState(i),c=w.useRef(null),u=nt(e,c),h=w.useRef(0),f=h.current,p=w.useRef(0),b=p.current,g=a.open||o,S=w.useRef(g),y=w.useRef(void 0);return w.useEffect(()=>{const v=requestAnimationFrame(()=>S.current=!1);return()=>cancelAnimationFrame(v)},[]),jr(()=>{const v=c.current;if(v){y.current=y.current||{transitionDuration:v.style.transitionDuration,animationName:v.style.animationName},v.style.transitionDuration="0s",v.style.animationName="none";const _=v.getBoundingClientRect();h.current=_.height,p.current=_.width,S.current||(v.style.transitionDuration=y.current.transitionDuration,v.style.animationName=y.current.animationName),l(i)}},[a.open,i]),m.jsx(Le.div,{"data-state":WR(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!g,...r,ref:u,style:{"--radix-collapsible-content-height":f?`${f}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...n.style},children:g&&s})});function WR(n){return n?"open":"closed"}var $de=LU,qde=jU,Yde=FU,Wde=w.createContext(void 0);function Kde(n){const e=w.useContext(Wde);return n||e||"ltr"}var va="Accordion",Qde=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[KR,Jde,Zde]=mj(va),[Dw,$me]=Yl(va,[Zde,OU]),QR=OU(),zU=V.forwardRef((n,e)=>{const{type:t,...i}=n,s=i,r=i;return m.jsx(KR.Provider,{scope:n.__scopeAccordion,children:t==="multiple"?m.jsx(ihe,{...r,ref:e}):m.jsx(nhe,{...s,ref:e})})});zU.displayName=va;var[UU,ehe]=Dw(va),[VU,the]=Dw(va,{collapsible:!1}),nhe=V.forwardRef((n,e)=>{const{value:t,defaultValue:i,onValueChange:s=()=>{},collapsible:r=!1,...a}=n,[o,l]=Qg({prop:t,defaultProp:i??"",onChange:s,caller:va});return m.jsx(UU,{scope:n.__scopeAccordion,value:V.useMemo(()=>o?[o]:[],[o]),onItemOpen:l,onItemClose:V.useCallback(()=>r&&l(""),[r,l]),children:m.jsx(VU,{scope:n.__scopeAccordion,collapsible:r,children:m.jsx(XU,{...a,ref:e})})})}),ihe=V.forwardRef((n,e)=>{const{value:t,defaultValue:i,onValueChange:s=()=>{},...r}
332=n,[a,o]=Qg({prop:t,defaultProp:i??[],onChange:s,caller:va}),l=V.useCallback(u=>o((h=[])=>[...h,u]),[o]),c=V.useCallback(u=>o((h=[])=>h.filter(f=>f!==u)),[o]);return m.jsx(UU,{scope:n.__scopeAccordion,value:a,onItemOpen:l,onItemClose:c,children:m.jsx(VU,{scope:n.__scopeAccordion,collapsible:!0,children:m.jsx(XU,{...r,ref:e})})})}),[she,Pw]=Dw(va),XU=V.forwardRef((n,e)=>{const{__scopeAccordion:t,disabled:i,dir:s,orientation:r="vertical",...a}=n,o=V.useRef(null),l=nt(o,e),c=Jde(t),h=Kde(s)==="ltr",f=He(n.onKeyDown,p=>{var R;if(!Qde.includes(p.key))return;const b=p.target,g=c().filter(D=>{var k;return!((k=D.ref.current)!=null&&k.disabled)}),S=g.findIndex(D=>D.ref.current===b),y=g.length;if(S===-1)return;p.preventDefault();let v=S;const _=0,x=y-1,E=()=>{v=S+1,v>x&&(v=_)},C=()=>{v=S-1,v<_&&(v=x)};switch(p.key){case"Home":v=_;break;case"End":v=x;break;case"ArrowRight":r==="horizontal"&&(h?E():C());break;case"ArrowDown":r==="vertical"&&E();break;case"ArrowLeft":r==="horizontal"&&(h?C():E());break;case"ArrowUp":r==="vertical"&&C();break}const I=v%y;(R=g[I].ref.current)==null||R.focus()});return m.jsx(she,{scope:t,disabled:i,direction:s,orientation:r,children:m.jsx(KR.Slot,{scope:t,children:m.jsx(Le.div,{...a,"data-orientation":r,ref:l,onKeyDown:i?void 0:f})})})}),Jx="AccordionItem",[rhe,JR]=Dw(Jx),HU=V.forwardRef((n,e)=>{const{__scopeAccordion:t,value:i,...s}=n,r=Pw(Jx,t),a=ehe(Jx,t),o=QR(t),l=Nu(),c=i&&a.value.includes(i)||!1,u=r.disabled||n.disabled;return m.jsx(rhe,{scope:t,open:c,disabled:u,triggerId:l,children:m.jsx($de,{"data-orientation":r.orientation,"data-state":KU(c),...o,...s,ref:e,disabled:u,open:c,onOpenChange:h=>{h?a.onItemOpen(i):a.onItemClose(i)}})})});HU.displayName=Jx;var GU="AccordionHeader",$U=V.forwardRef((n,e)=>{const{__scopeAccordion:t,...i}=n,s=Pw(va,t),r=JR(GU,t);return m.jsx(Le.h3,{"data-orientation":s.orientation,"data-state":KU(r.open),"data-disabled":r.disabled?"":void 0,...i,ref:e})});$U.displayName=GU;var eD="AccordionTrigger",qU=V.forwardRef((n,e)=>{const{__scopeAccordion:t,...i}=n,s=Pw(va,t),r=JR(eD,t),a=the(eD,t),o=QR(t);return m.jsx(KR.ItemSlot,{scope:t,children:m.jsx(qde,{"aria-disabled":r.open&&!a.collapsible||void 0,"data-orientation":s.orientation,id:r.triggerId,...o,...i,ref:e})})});qU.displayName=eD;var YU="AccordionContent",WU=V.forwardRef((n,e)=>{const{__scopeAccordion:t,...i}=n,s=Pw(va,t),r=JR(YU,t),a=QR(t);return m.jsx(Yde,{role:"region","aria-labelledby":r.triggerId,"data-orientation":s.orientation,...a,...i,ref:e,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...n.style}})});WU.displayName=YU;function KU(n){return n?"open":"closed"}var ahe=zU,ohe=HU,lhe=$U,QU=qU,JU=WU;const che=ahe,ZU=w.forwardRef(({className:n,...e},t)=>m.jsx(ohe,{ref:t,className:Ce("border-b",n),...e}));ZU.displayName="AccordionItem";const eV=w.forwardRef(({className:n,children:e,...t},i)=>m.jsx(lhe,{className:"flex",children:m.jsxs(QU,{ref:i,className:Ce("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",n),...t,children:[e,m.jsx(Vj,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));eV.displayName=QU.displayName;const tV=w.forwardRef(({className:n,children:e,...t},i)=>m.jsx(JU,{ref:i,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...t,children:m.jsx("div",{className:Ce("pb-4 pt-0",n),children:e})}));tV.displayName=JU.displayName;const RS=w.forwardRef(({className:n,type:e,...t},i)=>m.jsx("input",{type:e,className:Ce("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",n),ref:i,...t}));RS.displayName="Input";
vendor: 11,028 bytes, lines 332-336
332var uhe="DismissableLayer",tD="dismissableLayer.update",dhe="dismissableLayer.pointerDownOutside",hhe="dismissableLayer.focusOutside",wL,nV=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),iV=w.forwardRef((n,e)=>{const{disableOutsidePointerEvents:t=!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:r,onInteractOutside:a,onDismiss:o,...l}=n,c=w.useContext(nV),[u,h]=w.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=w.useState({}),b=nt(e,I=>h(I)),g=Array.from(c.layers),[S]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(S),v=u?g.indexOf(u):-1,_=c.layersWithOutsidePointerEventsDisabled.size>0,x=v>=y,E=mhe(I=>{const R=I.target,D=[...c.branches].some(k=>k.contains(R));!x||D||(s==null||s(I),a==null||a(I),I.defaultPrevented||o==null||o())},f),C=ghe(I=>{const R=I.target;[...c.branches].some(k=>k.contains(R))||(r==null||r(I),a==null||a(I),I.defaultPrevented||o==null||o())},f);return q1(I=>{v===c.layers.size-1&&(i==null||i(I),!I.defaultPrevented&&o&&(I.preventDefault(),o()))},f),w.useEffect(()=>{if(u)return t&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(wL=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),EL(),()=>{t&&c.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=wL)}},[u,f,t,c]),w.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),EL())},[u,c]),w.useEffect(()=>{const I=()=>p({});return document.addEventListener(tD,I),()=>document.removeEventListener(tD,I)},[]),m.jsx(Le.div,{...l,ref:b,style:{pointerEvents:_?x?"auto":"none":void 0,...n.style},onFocusCapture:He(n.onFocusCapture,C.onFocusCapture),onBlurCapture:He(n.onBlurCapture,C.onBlurCapture),onPointerDownCapture:He(n.onPointerDownCapture,E.onPointerDownCapture)})});iV.displayName=uhe;var fhe="DismissableLayerBranch",phe=w.forwardRef((n,e)=>{const t=w.useContext(nV),i=w.useRef(null),s=nt(e,i);return w.useEffect(()=>{const r=i.current;if(r)return t.branches.add(r),()=>{t.branches.delete(r)}},[t.branches]),m.jsx(Le.div,{...n,ref:s})});phe.displayName=fhe;function mhe(n,e=globalThis==null?void 0:globalThis.document){const t=_i(n),i=w.useRef(!1),s=w.useRef(()=>{});return w.useEffect(()=>{const r=o=>{if(o.target&&!i.current){let l=function(){sV(dhe,t,c,{discrete:!0})};const c={originalEvent:o};o.pointerType==="touch"?(e.removeEventListener("click",s.current),s.current=l,e.addEventListener("click",s.current,{once:!0})):l()}else e.removeEventListener("click",s.current);i.current=!1},a=window.setTimeout(()=>{e.addEventListener("pointerdown",r)},0);return()=>{window.clearTimeout(a),e.removeEventListener("pointerdown",r),e.removeEventListener("click",s.current)}},[e,t]),{onPointerDownCapture:()=>i.current=!0}}function ghe(n,e=globalThis==null?void 0:globalThis.document){const t=_i(n),i=w.useRef(!1);return w.useEffect(()=>{const s=r=>{r.target&&!i.current&&sV(hhe,t,{originalEvent:r},{discrete:!1})};return e.addEventListener("focusin",s),()=>e.removeEventListener("focusin",s)},[e,t]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function EL(){const n=new CustomEvent(tD);document.dispatchEvent(n)}function sV(n,e,t,{discrete:i}){const s=t.originalEvent.target,r=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:t});e&&s.addEventListener(n,e,{once:!0}),i?fb(s,r):s.dispatchEvent(r)}var xA=0;function yhe(){w.useEffect(()=>{const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",n[0]??AL()),document.body.insertAdjacentElement("beforeend",n[1]??AL()),xA++,()=>{xA===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),xA--}},[])}function AL(){const n=document.createElement("span");return n.setAttribute("data-radix-focus-guard",""),n.tabIndex=0,n.style.outline="none",n.style.opacity="0",n.style.position="fixed",n.style.pointerEvents="none",n}var Rw="Dialog",[rV,aV]=Yl(Rw),[vhe,ba]=rV(Rw),oV=n=>{const{__scopeDialog:e,children:t,open:i,defaultOpen:s,onOpenChange:r,modal:a=!0}=n,o=w.useRef(null),l=w.useRef(null),[c,u]=Qg({prop:i,defaultProp:s??!1,onChange:r,caller:Rw});return m.jsx(vhe,{scope:e,triggerRef:o,contentRef:l,contentId:Nu(),titleId:Nu(),descriptionId:Nu(),open:c,onOpenChange:u,onOpenToggle:w.useCallback(()=>u(h=>!h),[u]),modal:a,children:t})};oV.displayName=Rw;var lV="DialogTrigger",cV=w.forwardRef((n,e)=>{const{__scopeDialog:t,...i}=n,s=ba(lV,t),r=nt(e,s.triggerRef);return m.jsx(Le.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":tk(s.open),...i,ref:r,onClick:He(n.onClick,s.onOpenToggle)})});cV.displayName=lV;var ZR="DialogPortal",[bhe,uV]=rV(ZR,{forceMount:void 0}),dV=n=>{const{__scopeDialog:e,forceMount:t,children:i,container:s}=n,r=ba(ZR,e);return m.jsx(bhe,{scope:e,forceMount:t,children:w.Children.map(i,a=>m.jsx(yf,{present:t||r.open,children:m.jsx(Y1,{asChild:!0,container:s,children:a})}))})};dV.displayName=ZR;var Zx="DialogOverlay",hV=w.forwardRef((n,e)=>{const t=uV(Zx,n.__scopeDialog),{forceMount:i=t.forceMount,...s}=n,r=ba(Zx,n.__scopeDialog);return r.modal?m.jsx(yf,{present:i||r.open,children:m.jsx(She,{...s,ref:e})}):null});hV.displayName=Zx;var _he=Eg("DialogOverlay.RemoveScroll"),She=w.forwardRef((n,e)=>{const{__scopeDialog:t,...i}=n,s=ba(Zx,t);return m.jsx(zR,{as:_he,allowPinchZoom:!0,shards:[s.contentRef],children:m.jsx(Le.div,{"data-state":tk(s.open),...i,ref:e,style:{pointerEvents:"auto",...i.style}})})}),uf="DialogContent",fV=w.forwardRef((n,e)=>{const t=uV(uf,n.__scopeDialog),{forceMount:i=t.forceMount,...s}=n,r=ba(uf,n.__scopeDialog);return m.jsx(yf,{present:i||r.open,children:r.modal?m.jsx(xhe,{...s,ref:e}):m.jsx(whe,{...s,ref:e})})});fV.displayName=uf;var xhe=w.forwardRef((n,e)=>{const t=ba(uf,n.__scopeDialog),i=w.useRef(null),s=nt(e,t.contentRef,i);return w.useEffect(()=>{const r=i.current;if(r)return fU(r)},[]),m.jsx(pV,{...n,ref:s,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:He(n.onCloseAutoFocus,r=>{var a;r.preventDefault(),(a=t.triggerRef.current)==null||a.focus()}),onPointerDownOutside:He(n.onPointerDownOutside,r=>{const a=r.detail.originalEvent,o=a.button===0&&a.ctrlKey===!0;(a.button===2||o)&&r.preventDefault()}),onFocusOutside:He(n.onFocusOutside,r=>r.preventDefault())})}),whe=w.forwardRef((n,e)=>{const t=ba(uf,n.__scopeDialog),i=w.useRef(!1),s=w.useRef(!1);return m.jsx(pV,{...n,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{var a,o;(a=n.onCloseAutoFocus)==null||a.call(n,r),r.defaultPrevented||(i.current||(o=t.triggerRef.current)==null||o.focus(),r.preventDefault()),i.current=!1,s.current=!1},onInteractOutside:r=>{var l,c;(l=n.onInteractOutside)==null||l.call(n,r),r.defaultPrevented||(i.current=!0,r.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const a=r.target;((c=t.triggerRef.current)==null?void 0:c.contains(a))&&r.preventDefault(),r.detail.originalEvent.type==="focusin"&&s.current&&r.preventDefault()}})}),pV=w.forwardRef((n,e)=>{const{__scopeDialog:t,trapFocus:i,onOpenAutoFocus:s,onCloseAutoFocus:r,...a}=n,o=ba(uf,t),l=w.useRef(null),c=nt(e,l);return yhe(),m.jsxs(m.Fragment,{children:[m.jsx(FR,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:s,onUnmountAutoFocus:r,children:m.jsx(iV,{role:"dialog",id:o.contentId,"aria-describedby":o.descriptionId,"aria-labelledby":o.titleId,"data-state":tk(o.open),...a,ref:c,onDismiss:()=>o.onOpenChange(!1)})}),m.jsxs(m.Fragment,{children:[m.jsx(Ahe,{titleId:o.titleId}),m.jsx(Che,{contentRef:l,descriptionId:o.descriptionId})]})]})}),ek="DialogTitle",mV=w.forwardRef((n,e)=>{const{__scopeDialog:t,...i}=n,s=ba(ek,t);return m.jsx(Le.h2,{id:s.titleId,...i,ref:e})});mV.displayName=ek;var gV="DialogDescription",yV=w.forwardRef((n,e)=>{const{__scopeDialog:t,...i}=n,s=ba(gV,t);return m.jsx(Le.p,{id:s.descriptionId,...i,ref:e})});yV.displayName=gV;var vV="DialogClose",bV=w.forwardRef((n,e)=>{const{__scopeDialog:t,...i}=n,s=ba(vV,t);return m.jsx(Le.button,{type:"button",...i,ref:e,onClick:He(n.onClick,()=>s.onOpenChange(!1))})});bV.displayName=vV;function tk(n){return n?"open":"closed"}var _V="DialogTitleWarning",[Ehe,SV]=hj(_V,{contentName:uf,titleName:ek,docsSlug:"dialog"}),Ahe=({titleId:n})=>{const e=SV(_V),t=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users. 333 334If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component. 335 336For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return w.useEffect(()=>{n&&(document.getElementById(n)||console.error(t))},[t,n]),null},Ihe="DialogDescriptionWarning",Che=({contentRef:n,descriptionId:e})=>{const i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${SV(Ihe).contentName}}.`;return w.useEffect(()=>{var r;const s=(r=n.current)==null?void 0:r.getAttribute("aria-describedby");e&&s&&(document.getElementById(e)||console.warn(i))},[i,n,e]),null},The=oV,Dhe=cV,Phe=dV,Rhe=hV,khe=fV,Nhe=mV,Mhe=yV,xV=bV,wV="AlertDialog",[Ohe,qme]=Yl(wV,[aV]),Kl=aV(),EV=n=>{const{__scopeAlertDialog:e,...t}=n,i=Kl(e);return m.jsx(The,{...i,...t,modal:!0})};EV.displayName=wV;var Lhe="AlertDialogTrigger",Bhe=w.forwardRef((n,e)=>{const{__scopeAlertDialog:t,...i}=n,s=Kl(t);return m.jsx(Dhe,{...s,...i,ref:e})});Bhe.displayName=Lhe;var jhe="AlertDialogPortal",AV=n=>{const{__scopeAlertDialog:e,...t}=n,i=Kl(e);return m.jsx(Phe,{...i,...t})};AV.displayName=jhe;var Fhe="AlertDialogOverlay",IV=w.forwardRef((n,e)=>{const{__scopeAlertDialog:t,...i}=n,s=Kl(t);return m.jsx(Rhe,{...s,...i,ref:e})});IV.displayName=Fhe;var Dp="AlertDialogContent",[zhe,Uhe]=Ohe(Dp),Vhe=pj("AlertDialogContent"),CV=w.forwardRef((n,e)=>{const{__scopeAlertDialog:t,children:i,...s}=n,r=Kl(t),a=w.useRef(null),o=nt(e,a),l=w.useRef(null);return m.jsx(Ehe,{contentName:Dp,titleName:TV,docsSlug:"alert-dialog",children:m.jsx(zhe,{scope:t,cancelRef:l,children:m.jsxs(khe,{role:"alertdialog",...r,...s,ref:o,onOpenAutoFocus:He(s.onOpenAutoFocus,c=>{var u;c.preventDefault(),(u=l.current)==null||u.focus({preventScroll:!0})}),onPointerDownOutside:c=>c.preventDefault(),onInteractOutside:c=>c.preventDefault(),children:[m.jsx(Vhe,{children:i}),m.jsx(Hhe,{contentRef:a})]})})})});CV.displayName=Dp;var TV="AlertDialogTitle",DV=w.forwardRef((n,e)=>{const{__scopeAlertDialog:t,...i}=n,s=Kl(t);return m.jsx(Nhe,{...s,...i,ref:e})});DV.displayName=TV;var PV="AlertDialogDescription",RV=w.forwardRef((n,e)=>{const{__scopeAlertDialog:t,...i}=n,s=Kl(t);return m.jsx(Mhe,{...s,...i,ref:e})});RV.displayName=PV;var Xhe="AlertDialogAction",kV=w.forwardRef((n,e)=>{const{__scopeAlertDialog:t,...i}=n,s=Kl(t);return m.jsx(xV,{...s,...i,ref:e})});kV.displayName=Xhe;var NV="AlertDialogCancel",MV=w.forwardRef((n,e)=>{const{__scopeAlertDialog:t,...i}=n,{cancelRef:s}=Uhe(NV,t),r=Kl(t),a=nt(e,s);return m.jsx(xV,{...r,...i,ref:a})});MV.displayName=NV;
336var Hhe=({contentRef:n})=>{const e=`\`${Dp}\` requires a description for the component to be accessible for screen reader users. 337 338You can add a description to the \`${Dp}\` by passing a \`${PV}\` component as a child, which also benefits sighted users by adding visible context to the dialog. 339 340Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${Dp}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component. 341 342For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return w.useEffect(()=>{var i;document.getElementById((i=n.current)==null?void 0:i.getAttribute("aria-describedby"))||console.warn(e)},[e,n]),null},Ghe=EV,$he=AV,OV=IV,LV=CV,BV=kV,jV=MV,FV=DV,zV=RV;const nk=zj("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),qhe=w.forwardRef(({className:n,variant:e,size:t,asChild:i=!1,...s},r)=>{const a=i?aq:"button";return m.jsx(a,{className:Ce(nk({variant:e,size:t,className:n})),ref:r,...s})});qhe.displayName="Button";const Yhe=Ghe,Whe=$he,UV=w.forwardRef(({className:n,...e},t)=>m.jsx(OV,{className:Ce("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",n),...e,ref:t}));UV.displayName=OV.displayName;const VV=w.forwardRef(({className:n,...e},t)=>m.jsxs(Whe,{children:[m.jsx(UV,{}),m.jsx(LV,{ref:t,className:Ce("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",n),...e})]}));VV.displayName=LV.displayName;const XV=({className:n,...e})=>m.jsx("div",{className:Ce("flex flex-col space-y-2 text-center sm:text-left",n),...e});XV.displayName="AlertDialogHeader";const Khe=w.forwardRef(({className:n,...e},t)=>m.jsx(FV,{ref:t,className:Ce("text-lg font-semibold",n),...e}));Khe.displayName=FV.displayName;const HV=w.forwardRef(({className:n,...e},t)=>m.jsx(zV,{ref:t,className:Ce("text-sm text-muted-foreground",n),...e}));HV.displayName=zV.displayName;const GV=w.forwardRef(({className:n,...e},t)=>m.jsx(BV,{ref:t,className:Ce(nk(),n),...e}));GV.displayName=BV.displayName;const Qhe=w.forwardRef(({className:n,...e},t)=>m.jsx(jV,{ref:t,className:Ce(nk({variant:"outline"}),"mt-2 sm:mt-0",n),...e}));Qhe.displayName=jV.displayName;function Hi(n,e){return(e.charCodeAt(0)*7919+n*9973)%1e4/1e4}function IL(n,e,t,i,s){n.lineCap="round",n.lineJoin="round";const r=4+Math.floor(Hi(50,i)*4);for(let o=0;o<r;o++){const l=Hi(o+60,i);n.strokeStyle=`rgba(42, 42, 42, ${(.1+l*.15)*s})`,n.lineWidth=.65+Hi(o+70,i)*.85;const c=(.12+Hi(o+71,i)*.76)*t,u=5+Hi(o+72,i)*12,h=(Hi(o+73,i)-.5)*u*.35;n.beginPath(),n.moveTo(-3,c),n.bezierCurveTo(e*.28,c-u,e*.58,c+u*.9,e+3,c+h),n.stroke()}const a=2+Math.floor(Hi(160,i)*3);for(let o=0;o<a;o++){const l=Hi(o+170,i);n.strokeStyle=`rgba(55, 55, 55, ${(.07+l*.11)*s})`,n.lineWidth=.6;const c=-5+l*e*.35,u=Hi(o+180,i)*t*.95,h=e*(.42+Hi(o+181,i)*.2),f=(Hi(o+182,i)-.5)*t*1.1,p=e+5,b=Hi(o+183,i)*t*.9;n.beginPath(),n.moveTo(c,u),n.quadraticCurveTo(h,f,p,b),n.stroke()}}function Jhe(n,e){const t=n.getContext("2d");if(!t||!e)return;const i=typeof window<"u"&&window.devicePixelRatio||1,s=n.getBoundingClientRect(),r=Math.max(100,s.width),a=Math.min(52,Math.max(36,s.height||52));n.width=Math.floor(r*i),n.height=Math.floor(a*i),n.style.width=`${r}px`,n.style.height=`${a}px`,t.setTransform(1,0,0,1,0,0),t.clearRect(0,0,n.width,n.height),t.scale(i,i),IL(t,r,a,e,1);const o=Math.min(30,a*.52);t.font=`bold ${o}px ui-monospace, "Courier New", monospace`,t.textBaseline="middle";const l=[...e],c=o*.1;let u=0;const h=[];l.forEach(b=>{const g=t.measureText(b).width;h.push(g),u+=g+c}),u-=c;const f=a/2;let p=(r-u)/2;l.forEach((b,g)=>{const S=h[g],y=p+S/2,v=(Hi(g+10,b)-.5)*.45,_=(Hi(g+20,b)-.5)*(a*.14);t.save(),t.translate(y,f+_),t.rotate(v);const x=4,E=.65,C=.7;for(let I=x;I>=1;I--){const R=42+I*12;t.fillStyle=`rgb(${R}, ${R}, ${R})`,t.fillText(b,-S/2+I*E,I*C)}t.fillStyle="#f7f7f7",t.fillText(b,-S/2,0),t.strokeStyle="rgba(35, 35, 35, 0.4)",t.lineWidth=.75,t.strokeText(b,-S/2,0),t.restore(
342),p+=S+c}),IL(t,r,a,`${e}_overlay`,.55)}function Zhe({text:n,className:e}){const t=w.useRef(null),i=w.useRef(null),s=w.useCallback(()=>{const r=t.current;r&&Jhe(r,n)},[n]);return w.useLayoutEffect(()=>{s()},[s]),w.useLayoutEffect(()=>{const r=i.current;if(!r||typeof ResizeObserver>"u")return;const a=new ResizeObserver(()=>s());return a.observe(r),()=>a.disconnect()},[s]),m.jsx("div",{ref:i,className:Ce("flex h-full max-h-[52px] min-w-0 flex-1 items-center justify-center bg-transparent",e),onContextMenu:r=>r.preventDefault(),children:m.jsx("canvas",{ref:t,className:"block h-full max-h-[52px] w-full max-w-[200px] touch-none rounded-md bg-transparent","aria-hidden":!0,role:"presentation",draggable:!1})})}const efe="https://eqxapi.stashfin.com",tfe="https://eqxstaging.stashfin.com";function nfe(){const n="".trim();if(n)return n.replace(/\/$/,"");const e=typeof window<"u"?window.location.hostname:"";return e.includes("staging")||e.includes("akarawebstaging")?tfe:efe}function ik(n){const e=n.startsWith("/")?n:`/${n}`,t=e.startsWith("/wealth/")?e:`/wealth${e}`,i=nfe();return i?`${i}${t}`:t}const ife=()=>ik("/unclaimed-ncd/latest-disclosure"),sfe=()=>ik("/unclaimed-ncd/disclosure-pdf"),rfe=()=>ik("/unclaimed-ncd/search");async function afe(){const n=await fetch(ife(),{headers:{Accept:"application/json"}});if(!n.ok)throw new Error(n.status===404?"No disclosure available":"Failed to load disclosure");return(await n.json()).data}function ofe(){return sfe()}const CL="Disclosure of Unclaimed NCD Amount";function lfe(n){const e=new Date(n),t=String(e.getDate()).padStart(2,"0"),i=String(e.getMonth()+1).padStart(2,"0"),s=e.getFullYear();return`${t}.${i}.${s}`}const TL=({active:n,onViewDocument:e})=>{const[t,i]=w.useState("loading"),[s,r]=w.useState(""),[a,o]=w.useState("");return w.useEffect(()=>{if(!n)return;let l=!1;return i("loading"),(async()=>{try{const c=await afe();if(l)return;r(ofe()),o(c.createDate?lfe(c.createDate):""),i("ready")}catch(c){if(l)return;const u=c instanceof Error?c.message:"";i(u==="No disclosure available"?"empty":"error")}})(),()=>{l=!0}},[n]),t==="loading"?m.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 md:gap-6",children:m.jsx("div",{className:"bg-white p-4 md:p-6 rounded-lg shadow-sm documentbox",children:m.jsx("p",{className:"text-sm text-akara-lightText",children:"Loading documentâ¦"})})}):t==="empty"?m.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 md:gap-6",children:m.jsx("div",{className:"bg-white p-4 md:p-6 rounded-lg shadow-sm documentbox",children:m.jsx("p",{className:"text-sm text-akara-lightText",children:"No disclosure document is available at this time."})})}):t==="error"?m.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 md:gap-6",children:m.jsx("div",{className:"bg-white p-4 md:p-6 rounded-lg shadow-sm documentbox",children:m.jsx("p",{className:"text-sm text-akara-red",children:"Unable to load the disclosure document. Please try again later."})})}):m.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 md:gap-6",children:m.jsxs("div",{className:"bg-white p-4 md:p-6 rounded-lg shadow-sm documentbox h-full flex flex-col",children:[m.jsx("h3",{className:"font-medium text-akara-darkText mb-1 text-sm md:text-base",children:CL}),a&&m.jsx("p",{className:"text-sm text-gray-500 mb-3 flex-grow",children:a}),m.jsxs("button",{type:"button",onClick:()=>e(s,CL),className:"text-akara-blue flex items-center text-sm font-medium mt-auto hover:underline cursor-pointer",children:["View document ",m.jsx(kI,{className:"ml-1 h-4 w-4"})]})]})})},$V=w.forwardRef(({className:n,...e},t)=>m.jsx("div",{className:"relative w-full overflow-auto",children:m.jsx("table",{ref:t,className:Ce("w-full caption-bottom text-sm",n),...e})}));$V.displayName="Table";const qV=w.forwardRef(({className:n,...e},t)=>m.jsx("thead",{ref:t,className:Ce("[&_tr]:border-b",n),...e}));qV.displayName="TableHeader";const YV=w.forwardRef(({className:n,...e},t)=>m.jsx("tbody",{ref:t,className:Ce("[&_tr:last-child]:border-0",n),...e}));YV.displayName="TableBody";const cfe=w.forwardRef(({className:n,...e},t)=>m.jsx("tfoot",{ref:t,className:Ce("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",n),...e}));cfe.displayName="TableFooter";const nD=w.forwardRef(({className:n,...e},t)=>m.jsx("tr",{ref:t,className:Ce("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",n),...e}));nD.displayName="TableRow";const WV=w.forwardRef(({className:n,...e},t)=>m.jsx("th",{ref:t,className:Ce("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",n),...e}));WV.displayName="TableHead";const KV=w.forwardRef(({className:n,...e},t)=>m.jsx("td",{ref:t,className:Ce("p-4 align-middle [&:has([role=checkbox])]:pr-0",n),...e}));KV.displayName="TableCell";const ufe=w.forwardRef(({className:n,...e},t)=>m.jsx("caption",{ref:t,className:Ce("mt-4 text-sm text-muted-foreground",n),...e}));ufe.displayName="TableCaption";const iD=[{label:"Amount due to the investor on the date of payment (in INR)",payloadKey:"NET Amount",format:"amount"},{label:"Category â Interest / Principal / Redemption Amount",payloadKey:"Category (Interest/Part Redemption/ Full Redemption amount)",format:"text"},{label:"Date when amount became due (dd/mm/yyyy)",payloadKey:"Due Date",format:"date"},{label:"Amount (in INR) transferred to Escrow Account (including penal interest, if any, for delay in transfer by the listed entity)",payloadKey:"Unclaimed amount trasfer to escrow date",format:"date"},{label:"Date of Transfer to the Investor Protection and Education Fund (IPEF) (dd/mm/yyyy)",payloadKey:"IPEF Date",format:"date"}];function DL(n){return n.trim().toLowerCase().replace(/\s+/g," ")}function kS(n,e){const t=DL(e),i=Object.keys(n).find(r=>DL(r)===t);if(!i)return null;const s=n[i];return s==null||String(s).trim()===""||String(s).trim()==="-"?null:s}function dfe(n){if(n==null||n==="")return null;if(typeof n=="number")return Number.isFinite(n)?n:null;const e=String(n).trim().replace(/,/g,"");if(!e||e==="-")return null;const t=Number(e);return Number.isFinite(t)?t:null}function hfe(n){const e=dfe(n);return e===null?"-":new Intl.NumberFormat("en-IN",{maximumFractionDigits:2}).format(e)}function ffe(n){if(n==null||n==="")return"-";const e=String(n).trim();if(!e||e==="-")return"-";if(/^\d{2}\/\d{2}\/\d{4}$/.test(e))return e;const t=new Date(e.includes("T")?e:`${e}T00:00:00`);if(!Number.isNaN(t.getTime())){const s=String(t.getDate()).padStart(2,"0"),r=String(t.getMonth()+1).padStart(2,"0"),a=t.getFullYear();return`${s}/${r}/${a}`}const i=e.split("-");return i.length===3&&i[0].length===4?`${i[2]}/${i[1]}/${i[0]}`:e}function pfe(n){return n==null||n===""?"-":String(n).trim()||"-"}function mfe(n,e,t){const i=kS(n,e);return i===null?"-":t==="amount"?hfe(i):t==="date"?ffe(i):pfe(i)}function gfe(n){return iD.map(e=>mfe(n,e.payloadKey,e.format))}function wA(n){return n==null?"":String(n).trim().replace(/^'+/,"")}function yfe(n){if(n.length===0)return null;const e=n[0],t=wA(kS(e,"Name of the Debenture Holder")),i=wA(kS(e,"DP ID")),s=wA(kS(e,"CLID"));return!t&&!i&&!s?null:{holderName:t||"-",dpId:i||"-",clientId:s||"-"}}const vfe=({open:n,onOpenChange:e,results:t})=>{const i=yfe(t);return m.jsx(NU,{open:n,onOpenChange:e,children:m.jsxs(HR,{className:"max-h-[90vh] w-[min(96vw,1200px)] max-w-none overflow-hidden border-0 p-0 shadow-2xl",children:[m.jsx(GR,{className:"border-b border-gray-200 px-6 py-4",children:m.jsx($R,{className:"text-lg font-semibold text-akara-darkText",children:"Unclaimed NCD Amount Details"})}),m.jsxs("div",{className:"max-h-[calc(90vh-80px)] overflow-auto px-4 pb-6 sm:px-6",children:[i&&m.jsxs("div",{className:"mb-4 grid gap-4 border-b border-gray-200 py-4 sm:grid-cols-3",children:[m.jsxs("div",{children:[m.jsx("p",{className:"text-xs font-medium uppercase tracking-wide text-gray-500",children:"Name"}),m.jsx("p",{className:"mt-1 text-sm font-semibold text-akara-darkText",children:i.holderName})]}),m.jsxs("div",{children:[m.jsx("p",{className:"text-xs font-medium uppercase tracking-wide text-gray-500",children:"DP ID"}),m.jsx("p",{className:"mt-1 text-sm font-semibold text-akara-darkText",children:i.dpId})]}),m.jsxs("div",{children:[m.jsx("p",{className:"text-xs font-medium uppercase tracking-wide text-gray-500",children:"Client ID"}),m.jsx("p",{className:"mt-1 text-sm font-semibold text-akara-darkText",children:i.clientId})]})]}
342),m.jsxs($V,{children:[m.jsx(qV,{children:m.jsx(nD,{className:"border-0 bg-black hover:bg-black",children:iD.map(s=>m.jsx(WV,{className:"min-w-[180px] text-white",children:s.label},s.payloadKey))})}),m.jsx(YV,{children:t.map((s,r)=>{const a=gfe(s);return m.jsx(nD,{children:a.map((o,l)=>m.jsx(KV,{className:"whitespace-nowrap",children:o},`${r}-${iD[l].payloadKey}`))},r)})})]})]})]})})};async function bfe(n){const e=await fetch(rfe(),{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(n)});if(!e.ok){const i=await e.json().catch(()=>null),s=typeof(i==null?void 0:i.message)=="string"?i.message:e.status===404?"No records found":"Unable to search unclaimed NCD amounts";throw new Error(s)}return(await e.json()).data??[]}const e1="https://cms.stashfin.com".replace(/\/+$/,"")||"",_fe="01762ad615cca201fbd2d4fa948581ab480e64d9f811bce6ee9ccff8947dde19e6ec356c0f77d2a5d984285752d26c2be0641920d437b7e310ccbb4fa76d287f71c2d6b148a46d41b3575d48dd7ecd48fcf0259276f6e6ea5c5746abc3c855f17548391b0dca20528dcc155f2312aefe2ec764e81148b12cc1d83a744f63dc8a".trim()||"",Sfe=["eqx-storage.s3.ap-south-1.amazonaws.com","eqx-storage.s3.amazonaws.com","assets.stashfin.com"],xfe="/cms-media";function wfe(){return e1}function Efe(){return _fe}function Afe(){return!!e1}function Ife(n){return Sfe.some(e=>n===e||n.endsWith(`.${e}`))}function PL(n){try{const e=new URL(n);if(Ife(e.hostname))return`${xfe}${e.pathname}${e.search}`}catch{}return n}function QV(n){if(!n)return"";if(/^https?:\/\//i.test(n))return PL(n);if(!e1)return n;const e=`${e1}${n.startsWith("/")?"":"/"}${n}`;return PL(e)}class JV extends Error{constructor(t){super(`AKARA page not found: ${t}`);q(this,"slug");this.name="AkaPageNotFoundError",this.slug=t}}async function Cfe(n){if(!Afe())return null;const e=String(n).trim();if(!e)return null;const t=wfe(),i=Efe(),s={Accept:"application/json"};i&&(s.Authorization=`Bearer ${i}`);const r=await fetch(`${t}/api/aka-pages/${encodeURIComponent(e)}/tree`,{headers:s});if(r.status===404)throw new JV(e);if(!r.ok)throw new Error(`AKA page tree fetch failed: ${r.status}`);const a=await r.json(),o=a==null?void 0:a.data;if(!o)return null;const l=Array.isArray(o.sections)?o.sections:[];return{documentId:o.documentId,title:o.title||"",slug:o.slug||e,heroTitle:o.heroTitle??null,heroSubtitle:o.heroSubtitle??null,backgroundColor:o.backgroundColor??null,backgroundImage:o.backgroundImage??null,sections:l}}function Tfe(n){var t;const e=QV((t=n.file)==null?void 0:t.url);return!n.title||!e?null:{title:n.title,link:e,...n.subtitle?{subtitle:n.subtitle}:{}}}function sD(n=[]){return n.slice().sort((e,t)=>(e.sortOrder??0)-(t.sortOrder??0)).map(Tfe).filter(e=>!!e)}function Dfe(n=[]){return sD(n).map(e=>({title:e.title,link:e.link,...e.subtitle?{subtitle:e.subtitle}:{}}))}function Pfe(n){const e={id:n.slug,label:n.label};if(n.tabType==="unclaimed-ncds-form")return e.variant="unclaimed-ncds-form",e.documents=[],e;if(n.tabType==="unclaimed-ncd-disclosure")return e.variant="unclaimed-ncd-disclosure",e.documents=[],e;if(Array.isArray(n.subTabs)&&n.subTabs.length>0){const i=(n.subTabs||[]).slice().sort((s,r)=>(s.sortOrder??0)-(r.sortOrder??0)).map(s=>({id:s.slug,label:s.label,documents:sD(s.documents||[])}));return e.subTabs=i,e}return e.documents=sD(n.documents||[]),e}function Rfe(n){const e=(n.tabs||[]).slice().sort((r,a)=>(r.sortOrder??0)-(a.sortOrder??0)).map(Pfe),t=(n.tabs||[]).slice().sort((r,a)=>(r.sortOrder??0)-(a.sortOrder??0))[0],i=n.layout||"document-grid",s=i==="document-grid"||i==="document-grid-with-subtitle";return{slug:n.slug,title:n.title,layout:i,sortOrder:n.sortOrder??0,tabs:e,documents:s?Dfe((t==null?void 0:t.documents)||[]):[]}}function kfe(n){if(!(n!=null&&n.length))return null;const e=n.slice().sort((t,i)=>(t.sortOrder??0)-(i.sortOrder??0)).map(Rfe).filter(t=>t.layout==="sidebar-tabs"?t.tabs.length>0:t.documents.length>0||t.tabs.length>0);return e.length?e:null}const ZV=()=>{const n=bf();return w.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",n.pathname)},[n.pathname]),m.jsx("div",{className:"min-h-screen bg-gray-50 pt-24 pb-12 px-4 flex items-center justify-center",children:m.jsx("div",{className:"text-center max-w-md mx-auto",children:m.jsxs(ee.div,{initial:{opacity:0,y:20}
342,animate:{opacity:1,y:0},transition:{duration:.5},children:[m.jsx("div",{className:"pattern-bg inline-flex items-center justify-center w-24 h-24 rounded-full mb-8",children:m.jsx("h1",{className:"text-4xl font-bold text-white",children:"404"})}),m.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-akara-darkText mb-4",children:"Page Not Found"}),m.jsx("p",{className:"text-akara-lightText mb-8",children:"We're sorry, the page you are looking for doesn't exist or has been moved."}),m.jsxs(_e,{to:"/",className:"inline-flex items-center text-akara-red font-medium hover:underline",children:[m.jsx(Qq,{className:"mr-2 h-4 w-4"}),"Back to Home"]})]})})})};function Nfe(n){var t,i;const e={};for(const s of n){if(s.layout!=="sidebar-tabs"||!s.tabs.length)continue;const r=s.tabs[0];e[s.slug]={tabId:r.id,...(i=(t=r.subTabs)==null?void 0:t[0])!=null&&i.id?{subTabId:r.subTabs[0].id}:{}}}return e}const RL=()=>{var Eo,Nb,Mb,d0;const{slug:n}=fJ(),e=(n||"investor-relations").trim()||"investor-relations",t=e==="investor-relations",[i,s]=w.useState(null),[r,a]=w.useState(null),[o,l]=w.useState(!1),[c,u]=w.useState(!0),[h,f]=w.useState({}),[p,b]=w.useState(null),[g,S]=w.useState(!1),[y,v]=w.useState(""),[_,x]=w.useState(""),[E,C]=w.useState(""),[I,R]=w.useState(0),[D,k]=w.useState(!1),[N,O]=w.useState(!1),[j,L]=w.useState([]),[U,M]=w.useState(""),[B,F]=w.useState(!1),[z,G]=w.useState(""),[te,Y]=w.useState({name:!1,dpid:!1,captcha:!1}),[X,W]=w.useState(!1);w.useEffect(()=>{let J=!1;return u(!0),l(!1),a(null),s(null),(async()=>{try{const ce=await Cfe(e);if(J)return;if(!ce){t||l(!0);return}a(ce);const xe=kfe(ce.sections||[]);s(xe??[])}catch(ce){if(J)return;if(ce instanceof JV){l(!0);return}console.warn("AKA CMS page unavailable; using hardcoded fallback when IR",ce),t||l(!0)}finally{J||u(!1)}})(),()=>{J=!0}},[e,t]);const ae=w.useMemo(()=>{const J=En=>En.replace(/\s+/g,"").toLocaleLowerCase("en-US"),ce=y.trim().length>=2,xe=_.trim().length>0,Te=z.length>0&&J(E)===J(z);return ce&&xe&&Te},[y,_,E,z]),Ue="pointer-events-none absolute left-3 top-1/2 z-[1] -translate-y-1/2 bg-transparent text-gray-500 transition-all duration-200 peer-focus:top-0 peer-focus:z-[10] peer-focus:-translate-y-1/2 peer-focus:bg-white peer-focus:px-1 peer-focus:text-xs peer-[:not(:placeholder-shown)]:top-0 peer-[:not(:placeholder-shown)]:z-[10] peer-[:not(:placeholder-shown)]:-translate-y-1/2 peer-[:not(:placeholder-shown)]:bg-white peer-[:not(:placeholder-shown)]:px-1 peer-[:not(:placeholder-shown)]:text-xs",ne="peer box-border h-[52px] rounded-md border border-gray-300 bg-white px-3 py-0 pt-[14px] pb-[7px] text-sm leading-tight placeholder:text-transparent focus-visible:border-gray-300 focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0",bt=(J,ce)=>{b({url:J,title:ce}),S(!0)},jt=()=>{S(!1),b(null)},_t=[{id:"financial-performance",label:"Financial Performance",documents:[{title:"ACAPL Audited Financials FY 2025-2026",link:"/docs/SEBI_Disclosure/Financial_Performance/ACAPL Financial Results LRR Q4 FY 2025-2026.pdf"},{title:"ACAPL Financial Results LRR Q3 FY 2025-2026",link:"/docs/SEBI_Disclosure/Financial_Performance/ACAPL Financial Results LRR Q3 FY 2025-2026.pdf"},{title:"ACAPL Audited Financials FY 2020-2021",link:"/docs/SEBI_Disclosure/Financial_Performance/ACAPL Audited Financials FY 2021-2021.pdf"},{title:"ACAPL Audited Financials FY 2021-2022",link:"/docs/SEBI_Disclosure/Financial_Performance/ACAPL Finacials FY 2021-2022.pdf"},{title:"ACAPL Audited Financials FY 2022-2023",link:"/docs/SEBI_Disclosure/Financial_Performance/ACAPL Financials FY 2022-2023.pdf"},{title:"ACAPL Financial Results LRR Q1 FY 2024-2025",link:"/docs/SEBI_Disclosure/Financial_Performance/ACAPL Financial Results LRR Q1 FY 2024-2025.pdf"},{title:"ACAPL Financial Results LRR Q2 FY 2024 2025",link:"/docs/SEBI_Disclosure/Financial_Performance/ACAPL Financial Results LRR Q2 FY 2024 2025.pdf"},{title:"Financial Results as at 31st December, 2022",link:"/docs/SEBI_Disclosure/Financial_Performance/ACAPL Unaudited Fin with LRR December 2022.pdf"},{title:"ACAPL Unaudited Fin with LRR Q-3 2024-2025",link:"/docs/SEBI_Disclosure/Financial_Performance/ACAPL Unaudited Fin with LRR December 2024.pdf"},{title:"ACAPL Audited Financials FY 2024-2025",link:"/docs/SEBI_Disclosure/Financial_Performance/Financial Statements along with Auditor's Report - FY 2024-25.pdf"},{title:"ACAPL Financial Results LRR Q1 FY 2025-2026",link:"/docs/SEBI_Disclosure/Financial_Performance/ACAPL Unaudited Financials with LRR for June 2025.pdf"},{title:"ACAPL Financials Results LRR Q2 FY 2025-2026",link:"/docs/SEBI_Disclosure/Financial_Performance/ACAPL Unaudited Financials with LRR for September 2025.pdf"},{title:"ACAPL Audited Financials FY 2023-2024",link:"/docs/SEBI_Disclosure/Financial_Performance/ACAPL Audited Financials FY 2023-2024.pdf"},{title:"ACAPL_Financial Results LRR Q2 FY 2023-2024",link:"/docs/SEBI_Disclosure/Financial_Performance/ACAPL_Financial Results LRR Q2 FY 2023-2024.pdf"},{title:"ACAPL Financial Results LRR Q3 FY 2023-2024",link:"/docs/SEBI_Disclosure/Financial_Performance/ACAPL Financial Results LRR Q3 FY 2023-2024_.pdf"},{title:"ACAPL_Financial Results LRR Q1 FY 2023-2024",link:"/docs/SEBI_Disclosure/Financial_Performance/ACAPL_Financial Results LRR Q1 FY 2023-2024...pdf"}]},{id:"stock-exchange",label:"Stock Exchange Information",subTabs:[{id:"Board meeting Prior Intimation",label:"Board meeting Prior Intimation",documents:[{title:"Prior Intimation to BSE BM on 18th March 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Intimation to BSE BM on 18th March 2025.pdf"},{title:"Pre-ponment of time for BM on 25th March 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Pre-ponment of time for BM on 25th March 2025.pdf"},{title:"Prior Intimation_25th March 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Intimation_25th March 2025.pdf"},{title:"Prior Intimation to BSE BM on 31st January 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Intimation to BSE BM on 31st January 2025.pdf"},{title:"Prior Intimation to BSE BM on 2nd August 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Intimation to BSE BM on 2nd August 2024.pdf"},{title:"Prior Intimation to BSE BM on 15th June 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Intimation to BSE BM on 15th June 2024.pdf"},{title:"Prior Intimation to BSE BM on 24th September 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Intimation to BSE BM on 24th September 2024.pdf"},{title:"Prior Intimation to BSE BM on 29th May 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Intimation to BSE BM on 29th May 2024.pdf"},{title:"Prior Intimation to BSE BM on 30 April 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Intimation to BSE BM on 30 April 2024.pdf"},{title:"Prior Initimation to BSE-BM on 31st January 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Initimation to BSE-BM on 31st January 2025.pdf"},{title:"Prior Initimation to BSE-BM_21st February 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Initimation to BSE-BM_21st February 2025.pdf"},{title:"Prior Intimation of BSE-BM on 14 February 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Intimation of BSE-BM on 14 February 2025.pdf"},{title:"Prior Intimation to BSE_BM on 11 February 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Intimation to BSE_BM on 11 February 2025.pdf"},{title:"Prior Intimation to BSE-BM on 9th October 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Intimation to BSE-BM on 9th October 2024.pdf"},{title:"Prior Intimation to BSE-BM on 10th July 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Intimation to BSE-BM on 10th July 2024.pdf"},{title:"Prior Intimation to BSE-BM on 13th August 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Intimation to BSE-BM on 13th August 2024.pdf"},{title:"Prior Intimation to BSE-BM on 14th November 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Intimation to BSE-BM on 14th November 2024.pdf"},{title:"Prior Intimation to BSE-BM on 18th October 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Intimation to BSE-BM on 18th October 2024.pdf"},{title:"Prior Intimation to BSE-BM on 22nd November 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Intimation to BSE-BM on 22nd November 2024.pdf"},{title:"Prior Intimation to BSE-BM on 27th September 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Intimation to BSE-BM on 27th September 2024.pdf"},{title:"Prior Initimation to BSE-BM on 14th Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Initimation to BSE-BM on 14th Nov 2025.pdf"},{title:"Prior Initimation to BSE-BM on 03rd April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Initimation to BSE-BM on 03rd April 2025.pdf"},{title:"Initimation to BSE-BM on 25th April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Initimation to BSE-BM on 25th April 2025.pdf"},{title:"Prior Initimation to BSE-BM on 28th May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Initimation to BSE-BM on 28th May 2025.pdf"},{title:"Prior Initimation to BSE-BM on 8th July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Initimation to BSE-BM on 8th July 2025.pdf"},{title:"Prior Initimation to BSE-BM on 13th Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Initimation to BSE-BM on 13th Aug 2025.pdf"},{title:"Prior Initimation to BSE-BM on 05th Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Initimation to BSE-BM on 05th Sept 2025.pdf"},{title:"Prior Initimation to BSE-BM on 25th Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Initimation to BSE-BM on 25th Sept 2025.pdf"},{title:"Prior Initimation to BSE-BM on 22nd Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Initimation to BSE-BM on 22nd Dec 2025 (1).pdf"},{title:"Additional intimation to BSE-BM on 22nd Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Additional intimation to BSE-BM on 22nd Dec 2025 (1).pdf"},{title:"Postponement BM to 24th Dec 2025_BSE Intimation",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Postponement BM to 24th Dec 2025_BSE Intimation (1).pdf"},{title:"BM Time preponment Initimation to BSE for BM on 25th march 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/BM Time preponment Initimation to BSE for BM on 25th march 2025.pdf"},{title:"Prior Intimation to BSE- BM on 25 March 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Initimation to BSE-BM on 25 March.pdf"},{title:"Prior Intimation to BSE-BM on 11th Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Intimation to BSE-BM on 11th Feb 2026.pdf"},{title:"Prior Intimation to BSE BM on 30th April 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Prior Intimation to BSE BM on 30th April 2024.pdf"}]},{id:"Board Meeting Outcome Intimations",label:"Board Meeting Outcome Intimations",documents:[{title:"BM Outcome 29th May 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/BM Outcome 29th May 2026.pdf"},{title:"Outcome of the BM Intimation_11th February, 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of the Board Meeting_11th February, 2026.pdf"},{title:"Outcome of BM Intimation_18th March 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of BM Intimation_18th March 2025.pdf"},{title:"Outcome of BM intimation_14th February 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of BM intimation_14th February 2025.pdf"},{title:"Outcome of BM Intimation_29th May 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of BM Intimation_29th May 2024.pdf"},{title:"Outcome of BM Intimation_15th June 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of BM Intimation_15th June 2024.pdf"},{title:"Outcome of Board Meeting_2nd August 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of Board Meeting_2nd August 2024.pdf"},{title:"Outcome of Board Meeting_13th August 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of Board Meeting_13th August 2024.pdf"},{title:"Outcome of the Board Meeting_9th October 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of the Board Meeting_9th October 2024.pdf"},{title:"Outcome of the Board Meeting_10th July 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of the Board Meeting_10th July 2024.pdf"},{title:"Outcome of the Board Meeting_11 February 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of the Board Meeting_11 February 2025.pdf"},{title:"Outcome of the Board Meeting_14th November 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of the Board Meeting_14th November 2024.pdf"},{title:"Outcome of the Board Meeting_21 February 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of the Board Meeting_21 February 2025.pdf"},{title:"Outcome of the Board Meeting_24th September 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of the Board Meeting_24th September 2024.pdf"},{title:"Outcome of the Board Meeting_25 April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of the Board Meeting_25 April 2025.pdf"},{title:"Outcome of the Board Meeting_25 March 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of the Board Meeting_25 March 2025.pdf"},{title:"Outcome of the Board Meeting_31 January 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of the Board Meeting_31 January 2025.pdf"},{title:"Outcome of the Board Meeting_03rd April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of the Board Meeting_03rd April 2025.pdf"},{title:"Outcome of the Board Meeting_25 April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of the Board Meeting_25 April 2025.pdf"},{title:"Outcome of Board Meeting_28th May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of Board Meeting_28th May 2025.pdf"},{title:"Outcome of the Board Meeting_08th July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of the Board Meeting_08th July 2025.pdf"},{title:"Outcome of BM_13th August, 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of BM_13th August, 2025.pdf"},{title:"Outcome of Board meeting_Initimation to BSE_25th Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of Board meeting_Initimation to BSE_25th Sept 2025.pdf"},{title:"Outcome of BM_14 Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of BM_14 Nov 2025.pdf"},{title:"Outcome of the Board Meeting_24 Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of the Board Meeting_24 Dec 2025 (1).pdf"},{title:"Outcome of the board meeting - 5th sep 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of the board meeting - 5th sep 2025.pdf"},{title:"Outcome of the Board Meeting_30th April, 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of the Board Meeting_30th April, 2024.pdf"},{title:"Outcome of the Board Meeting 29th April 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of the Board Meeting_29th April 2026.pdf"},{title:"Outcome of the Board Meeting 27 March 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Outcome of the Board Meeting_27 March 2026.pdf"}]},{id:"Utilization of Issues",label:"Statement indicating the utilization/ material deviation of issue proceeds Regulation 52(7)",documents:[{title:"Material deviation in the use of proceeds_29 May 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Material deviation in the use of proceeds_29 May 2026.pdf"},{title:"Statement of Deviation_11th November 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Statement of Deviation_11th November 2026.pdf"},{title:"Statement of Deviation 13th Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Material Deviation BSE 13th Aug 2025.pd
342f"},{title:"Statement of deviation 28th May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Statement of deviation_28th May 2025 signed with covering letter.pdf"},{title:"Statement of Deviation 14 Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Material deviation in the use of proceeds_14 Nov 2025.pdf"},{title:"Statement of deviation_29th May 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Statement of deviation_29th May 2024.pdf"},{title:"Statement of deviation_14th Nov 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Statement of deviation_14th Nov 2024.pdf"},{title:"Statement of deviation_13th Aug 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Statement of deviation_13th Aug 2024.pdf"}]},{id:"Interest Intimations",label:"NCD Intimations [Reg 57 of SEBI LODR Regulations 2015]",documents:[{title:"INE08XP07266_Interest Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07266_Aug 2025.pdf"},{title:"INE08XP07217_Interest Intimation_April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07217 - BSE Intimation Letter_Payment of Interest_April 2025.pdf"},{title:"INE08XP07217_Interest Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07217 - BSE Intimation Letter_Payment of Interest_Aug 2025.pdf"},{title:"INE08XP07217_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07217 - BSE Intimation Letter_Payment of Interest_Dec 2025.pdf"},{title:"INE08XP07217_Interest Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07217 - BSE Intimation Letter_Payment of Interest_Jan 2026.pdf"},{title:"INE08XP07217_Interest Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07217 - BSE Intimation Letter_Payment of Interest_July 2025.pdf"},{title:"INE08XP07217_Interest Intimation_June 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07217 - BSE Intimation Letter_Payment of Interest_June 2025.pdf"},{title:"INE08XP07217_Interest Intimation_May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07217 - BSE Intimation Letter_Payment of Interest_May 2025.pdf"},{title:"INE08XP07217_Interest Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07217 - BSE Intimation Letter_Payment of Interest_Nov 2025.pdf"},{title:"INE08XP07217_Interest Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07217 - BSE Intimation Letter_Payment of Interest_Oct 2025.pdf"},{title:"INE08XP07217_Interest Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07217 - BSE Intimation Letter_Payment of Interest_Sept 2025.pdf"},{title:"INE08XP07225_Interest Intimation_April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07225 - BSE Intimation Letter_Payment of Interest_April 2025.pdf"},{title:"INE08XP07225_Interest Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07225 - BSE Intimation Letter_Payment of Interest_Aug 2025.pdf"},{title:"INE08XP07225_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07225 - BSE Intimation Letter_Payment of Interest_Dec 2025 (1).pdf"},{title:"INE08XP07225_Interest Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07225 - BSE Intimation Letter_Payment of Interest_Jan 2026.pdf"},{title:"INE08XP07225_Interest Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07225 - BSE Intimation Letter_Payment of Interest_July 2025.pdf"},{title:"INE08XP07225_Interest Intimation_June 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07225 - BSE Intimation Letter_Payment of Interest_June 2025.pdf"},{title:"INE08XP07225_Interest Intimation_May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07225 - BSE Intimation Letter_Payment of Interest_May 2025.pdf"},{title:"INE08XP07225_Interest Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07225 - BSE Intimation Letter_Payment of Interest_Nov 2025.pdf"},{title:"INE08XP07225_Interest Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07225 - BSE Intimation Letter_Payment of Interest_Oct 2025.pdf"},{title:"INE08XP07225_Interest Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07225 - BSE Intimation Letter_Payment of Interest_Sept 2025.pdf"},{title:"INE08XP07233_Interest Intimation_April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07233 - April 2025_Interest Intimation BSE.pdf"},{title:"INE08XP07233_Interest Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07233 - August 2025_Interest Intimation BSE.pdf"},{title:"INE08XP07233_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07233 - Dec 2025_Intimation BSE.pdf"},{title:"INE08XP07233_Interest Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07233 - Interest Intimation Oct 2025.pdf"},{title:"INE08XP07233_Interest Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07233 - July 2025_Interest Intimation BSE.pdf"},{title:"INE08XP07233_Interest Intimation_June 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07233 - June 2025_Interest Intimation BSE.pdf"},{title:"INE08XP07233_Interest Intimation_May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07233 - May 2025_Interest Intimation BSE.pdf"},{title:"INE08XP07233_Interest Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07233 - Nov 2025_Interest Intimation BSE.pdf"},{title:"INE08XP07233_Interest Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07233 - Sept 2025_Interest Intimation BSE.pdf"},{title:"INE08XP07258_Interest Intimation_April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07258 - 50 Cr April 2025.pdf"},{title:"INE08XP07258_Interest Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07258 - August 2025 Interest Intimation.pdf"},{title:"INE08XP07258_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07258 - Dec 2025 Interest Intimation.pdf"},{title:"INE08XP07258_Interest Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07258 - July 2025 Interest Intimation.pdf"},{title:"INE08XP07258_Interest Intimation_June 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07258 - June 2025 Interest Intimation.pdf"},{title:"INE08XP07258_Interest Intimation_May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07258 - May 2025 Interest Intimation.pdf"},{title:"INE08XP07258_Interest Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07258 - Nov 2025 Interest Intimation.pdf"},{title:"INE08XP07258_Interest Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07258 - October 2025 Interest Intimation.pdf"},{title:"INE08XP07258_Interest Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07258 - Sept 2025 Interest Intimation.pdf"},{title:"INE08XP07282_Interest Intimation_April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07282 - Interest Intimation April 2025.pdf"},{title:"INE08XP07282_Interest Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07282 - Interest Intimation Aug 2025.pdf"},{title:"INE08XP07282_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07282 - Interest Intimation Dec 2025.pdf"},{title:"INE08XP07282_Interest Intimation_Jan 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07282 - Interest Intimation Jan 2025.pdf"},{title:"INE08XP07282_Interest Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07282 - Interest Intimation July 2025.pdf"},{title:"INE08XP07282_Interest Intimation_May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07282 - Interest Intimation May 2025.pdf"},{title:"INE08XP07282_Interest Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07282 - Interest Intimation Nov 2025(1).pdf"},{title:"INE08XP07282_Interest Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07282 - Interest Intimation Nov 2025(2).pdf"},{title:"INE08XP07282_Interest Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07282 - Interest Intimation Nov 2025.pdf"},{title:"INE08XP07282_Interest Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07282 - Interest Intimation Oct 2025.pdf"},{title:"INE08XP07282_Interest Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07282-Interest Intimation Sept 2025.pdf"},{title:"INE08XP07290_Interest Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07290 - Interest & Part redemption Intimation Sept 2025.pdf"},{title:"INE08XP07290_Interest Intimation_April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07290 - Interest Intimation April 2025.pdf"},{title:"INE08XP07290_Interest Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07290 - Interest Intimation Aug 2025.pdf"},{title:"INE08XP07290_Interest Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07290 - Interest Intimation July 2025.pdf"},{title:"INE08XP07290_Interest Intimation_June 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07290 - Interest Intimation June 2025.pdf"},{title:"INE08XP07290_Interest Intimation_May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07290 - Interest Intimation May 2025.pdf"},{title:"INE08XP07290_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07290 - Part Redemption & Interest Intimation Dec 2025.pdf"},{title:"INE08XP07290_Interest Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07290 - Part Redemption & Interest Intimation Nov 2025.pdf"},{title:"INE08XP07290_Interest Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07290 - Part Redemption & Interest Intimation Oct 2025.pdf"},{title:"INE08XP07308_Interest Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07308- Interest Intimation Aug 2025.pdf"},{title:"INE08XP07308_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07308- Interest Intimation Dec 2025.pdf"},{title:"INE08XP07308_Interest Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07308- Interest Intimation July 2025.pdf"},{title:"INE08XP07308_Interest Intimation_June 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07308- Interest Intimation June 2025.pdf"},{title:"INE08XP07308_Interest Intimation_May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07308- Interest Intimation May 2025.pdf"},{title:"INE08XP07308_Interest Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07308- Interest Intimation Nov 2025.pdf"},{title:"INE08XP07308_Interest Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07308- Interest Intimation Oct 2025.pdf"},{title:"INE08XP07308_Interest Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07308- Interest Intimation Sept 2025.pdf"},{title:"INE08XP07316_Interest Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07316 - Interest Intimation Aug 2025.pdf"},{title:"INE08XP07316_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07316 - Interest Intimation Dec 2025.pdf"},{title:"INE08XP07316_Interest Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07316 - Interest Intimation Jan 2026.pdf"},{title:"INE08XP07316_Interest Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07316 - Interest Intimation Nov 2025.pdf"},{title:"INE08XP07316_Interest Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07316 - Interest Intimation Oct 2025.pdf"},{title:"INE08XP07316_Interest Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07316 - Interest Intimation Sept 2025.pdf"},{title:"INE08XP07324_Interest Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07324 - Interest Intimation Aug 2025.pdf"},{title:"INE08XP07324_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07324 - Interest Intimation Dec 2025.pdf"},{title:"INE08XP07324_Interest Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07324 - Interest Intimation July 2025.pdf"},{title:"INE08XP07324_Interest Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07324 - Interest Intimation Nov 2025.pdf"},{title:"INE08XP07324_Interest Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07324 - Interest Intimation Oct 2025.pdf"},{title:"INE08XP07324_Interest Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07324 - Interest Intimation Sept 2025.pdf"},{title:"INE08XP07332_Interest Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07332 - BSE Intimation Sept 2025_STRIDE VENTURES DEBT FUND II.pdf"},{title:"INE08XP07332_Interest Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07332 - Interest Intimation Nov 2025_STRIDE VENTURES DEBT FUND II.pdf"},{title:"INE08XP07332_Interest Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07332 - Interest Intimation Oct 2025_STRIDE VENTURES DEBT FUND II.pdf"},{title:"INE08XP07332_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07332 - Intimation Dec 2025_STRIDE VENTURES DEBT FUND II.pdf"},{title:"INE08XP07340_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations
342/INE08XP07340 - Interest Intimation Dec 2025.pdf"},{title:"INE08XP07357_Interest Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07357 - Interest Intimation Oct 2025 (1).pdf"},{title:"INE08XP07357_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07357_Series A - Dec 2025_Interest Intimation BSE.pdf"},{title:"INE08XP07357_Interest Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07357_Series A - Jan 2026_Interest Intimation BSE.pdf"},{title:"INE08XP07365_Interest Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07365 - Interest Intimation Oct 2025 (1).pdf"},{title:"INE08XP07365_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07365_Series B - Dec 2025_Interest Intimation BSE.pdf"},{title:"INE08XP07365_Interest Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07365_Series B - Jan 2026_Interest Intimation BSE.pdf"},{title:"INE08XP07365_Interest Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07365_Series B - Nov 2025_Interest Intimation BSE.pdf"},{title:"INE08XP07399_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07399 - Interest Intimation Dec 2025.pdf"},{title:"INE08XP07399_Interest Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07399 - Interest Intimation Jan 2026.pdf"},{title:"INE08XP07399_Interest Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07399 - Interest Intimation Nov 2025.pdf"},{title:"INE08XP07407_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07407 - Interest Intimation Dec 2025.pdf"},{title:"INE08XP07407_Interest Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07407 - Interest Intimation Nov 2025.pdf"},{title:"INE08XP07415_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07415 - Interest Intimation Dec 2025.pdf"},{title:"INE08XP07423_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07423 - Interest Intimation Dec 2025.pdf"},{title:"INE08XP07431_Interest Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07431 - Interest Intimation Jan 2026.pdf"},{title:"INE08XP07274_Interest Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest & Part Redemption Payment - Aug 2025 - INE08XP07274.pdf"},{title:"INE08XP07274_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest & Part Redemption Payment - Dec 2025 - INE08XP07274.pdf"},{title:"INE08XP07274_Interest Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest & Part Redemption Payment - Nov 2025 - INE08XP07274.pdf"},{title:"INE08XP07274_Interest Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest & Part Redemption Payment - Oct 2025 - INE08XP07274.pdf"},{title:"INE08XP07274_Interest Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest & Part Redemption Payment - Sept 2025 - INE08XP07274.pdf"},{title:"INE08XP07241_Interest Intimation_April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07241_April 2025.pdf"},{title:"INE08XP07241_Interest Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07241_Aug 2025.pdf"},{title:"INE08XP07241_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07241_Dec 2025 (1).pdf"},{title:"INE08XP07241_Interest Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07241_July 2025.pdf"},{title:"INE08XP07241_Interest Intimation_June 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07241_June 2025.pdf"},{title:"INE08XP07241_Interest Intimation_May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07241_May 2025.pdf"},{title:"INE08XP07241_Interest Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07241_Nov 2025.pdf"},{title:"INE08XP07241_Interest Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07241_Oct 2025.pdf"},{title:"INE08XP07241_Interest Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07241_Sept 2025.pdf"},{title:"INE08XP07266_Interest Intimation_April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07266_April 2025.pdf"},{title:"INE08XP07266_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07266_Dec 2025.pdf"},{title:"INE08XP07266_Interest Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07266_July 2025.pdf"},{title:"INE08XP07266_Interest Intimation_June 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07266_June 2025.pdf"},{title:"INE08XP07266_Interest Intimation_May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07266_May 2025.pdf"},{title:"INE08XP07266_Interest Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07266_Nov 2025.pdf"},{title:"INE08XP07266_Interest Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07266_Oct 2025.pdf"},{title:"INE08XP07266_Interest Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07266_Sept 2025.pdf"},{title:"INE08XP07381_Interest Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07381_Dec_25.pdf"},{title:"INE08XP07381_Interest Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07381_Nov_25.pdf"},{title:"INE08XP07381_Interest Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest paid_INE08XP07381_Oct_25 (1).pdf"},{title:"INE08XP07274_Interest Intimation_April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest Payment - April 2025 - INE08XP07274.pdf"},{title:"INE08XP07274_Interest Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest Payment - July 2025 - INE08XP07274.pdf"},{title:"INE08XP07274_Interest Intimation_June 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest Payment - June 2025 - INE08XP07274.pdf"},{title:"INE08XP07274_Interest Intimation_May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/Interest Payment - May 2025 - INE08XP07274.pdf"},{title:"INE08XP07282_Interest Intimation_June 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/NSDL - INE08XP07282 - Interest June 2025.pdf"},{title:"INE08XP07332_Interest Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07332 - Interest Intimation Jan 2026 STRIDE VENTURES DEBT FUND II.pdf"},{title:"INE08XP07423_Interest Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07423 - Interest Intimation Jan 2026.pdf"},{title:"INE08XP07258_Interest Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07258 - Jan 2026 Interest Intimation.pdf"},{title:"INE08XP07357_Interest Intimation _Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07357_Interest Intimation _Nov 2025.pdf"},{title:"INE08XP07266_Interest Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07266_Interest Intimation_Aug 2025.pdf"},{title:"INE08XP07381 _Interest Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07381 _Interest Intimation_Jan 2026.pdf"},{title:"INE08XP07407_Interest Intimation _Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07407_Interest Intimation _Jan 2026.pdf"},{title:"INE08XP07274_Interest & Part Redemption Payment_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07274_Interest & Part Redemption Payment_Jan 2026.pdf"},{title:"INE08XP07431_Interest Intimation _Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07431_Interest Intimation _Jan 2026.pdf"},{title:"INE08XP07290_Part Redemption & Interest Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07290_Part Redemption & Interest Intimation_Jan 2026.pdf"},{title:"INE08XP07456_Interest Intimation Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07456_Interest Intimation Feb 2026.pdf"},{title:"INE08XP07217_ Interest Intimation feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07217_ Interest Intimation feb 2026.pdf"},{title:"INE08XP07225_Interest Intimation Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Interest_Intimations/INE08XP07225_Interest Intimation Feb 2026.pdf"}]},{id:"Record Date Intimations",label:"Record Date Intimations [Reg 60(2) of SEBI LODR Regulations 2015]",documents:[{title:"INE08XP07241_Record Date Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/INE08XP07241_Initimation to BSE - Record Date_04-11-2025.pdf"},{title:"INE08XP07357_Record Date Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_ INE08XP07357_01-01-2026.pdf"},{title:"INE08XP07357_Record Date Intimation_Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_ INE08XP07357_01-02-2026.pdf"},{title:"INE08XP07357_Record Date Intimation_March 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/INE08XP07357_Record Date Intimation_March 2026 (1).pdf"},{title:"INE08XP07357_Record Date Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07357_01-10-2025.pdf"},{title:"INE08XP07357_Record Date Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07357_01-12-2025.pdf"},{title:"INE08XP07365_Record Date Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07365_01-01-2026.pdf"},{title:"INE08XP07365_Record Date Intimation_Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07365_01-02-2026.pdf"},{title:"INE08XP07365_Record Date Intimation_March 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/INE08XP07365_Record Date Intimation_March 2026 (1).pdf"},{title:"INE08XP07365_Record Date Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07365_01-10-2025.pdf"},{title:"INE08XP07365_Record Date Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07365_01-12-2025.pdf"},{title:"INE08XP07381_Record Date Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07381_15-01-2026.pdf"},{title:"INE08XP07381_Record Date Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07381_15-10-2025.pdf"},{title:"INE08XP07381_Record Date Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07381_15-11-2025.pdf"},{title:"INE08XP07399_Record Date Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07399_29-10-2025.pdf"},{title:"INE08XP07399_Record Date Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07399_29-10-2025.pdf"},{title:"INE08XP07266_Record Date Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_02-01-2026_INE08XP07266.pdf"},{title:"INE08XP07266_Record Date Intimation_Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_02-02-2026_INE08XP07266.pdf"},{title:"INE08XP07266_Record Date Intimation_March 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/INE08XP07266_Record Date Initmation_March 26 (2).pdf"},{title:"INE08XP07266_Record Date Intimation_April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_02-04-2025_INE08XP07266.pdf"},{title:"INE08XP07266_Record Date Intimation_May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_02-05-2025_INE08XP07266.pdf"},{title:"INE08XP07266_Record Date Intimation_June 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_02-06-2025_INE08XP07266.pdf"},{title:"INE08XP07266_Record Date Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_02-07-2025_INE08XP07266.pdf"},{title:"INE08XP07266_Record Date Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_02-08-2025_INE08XP07266.pdf"},{title:"INE08XP07266_Record Date Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_02-09-2
342025_INE08XP07266.pdf"},{title:"INE08XP07266_Record Date Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_02-10-2025_INE08XP07266.pdf"},{title:"INE08XP07266_Record Date Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_02-12-2025_INE08XP07266.pdf"},{title:"INE08XP07241_Record Date Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_04-01-2026_INE08XP07241.pdf"},{title:"INE08XP07241_Record Date Intimation_Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_04-02-2026_INE08XP07241.pdf"},{title:"INE08XP07241_Record Date Intimation_April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_04-04-2025_INE08XP07241.pdf"},{title:"INE08XP07241_Record Date Intimation_May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_04-05-2025_INE08XP07241.pdf"},{title:"INE08XP07241_Record Date Intimation_June 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_04-06-2025_INE08XP07241.pdf"},{title:"INE08XP07241_Record Date Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_04-07-2025_INE08XP07241.pdf"},{title:"INE08XP07241_Record Date Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_04-08-2025_INE08XP07241.pdf"},{title:"INE08XP07241_Record Date Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_04-09-2025_INE08XP07241.pdf"},{title:"INE08XP07241_Record Date Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_04-12-2025_INE08XP07241.pdf"},{title:"INE08XP07233_Record Date Intimation_April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_06-04-2025_INE08XP07233.pdf"},{title:"INE08XP07233_Record Date Intimation_May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_06-05-2025_INE08XP07233.pdf"},{title:"INE08XP07233_Record Date Intimation_June 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_06-06-2025_INE08XP07233.pdf"},{title:"INE08XP07233_Record Date Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_06-07-2025_INE08XP07233.pdf"},{title:"INE08XP07233_Record Date Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_06-08-2025_INE08XP07233.pdf"},{title:"INE08XP07233_Record Date Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_06-09-2025_INE08XP07233.pdf"},{title:"INE08XP07233_Record Date Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_06-10-2025_INE08XP07233.pdf"},{title:"INE08XP07233_Record Date Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_06-12-2025_INE08XP07233.pdf"},{title:"INE08XP07258_Record Date Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_07-01-2026_INE08XP07258.pdf"},{title:"INE08XP07258_Record Date Intimation_April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_07-04-2025_INE08XP07258.pdf"},{title:"INE08XP07258_Record Date Intimation_May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_07-05-2025_INE08XP07258.pdf"},{title:"INE08XP07258_Record Date Intimation_June 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_07-06-2025_INE08XP07258.pdf"},{title:"INE08XP07258_Record Date Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_07-07-2025_INE08XP07258.pdf"},{title:"INE08XP07258_Record Date Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_07-08-2025_INE08XP07258.pdf"},{title:"INE08XP07258_Record Date Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_07-09-2025_INE08XP07258.pdf"},{title:"INE08XP07258_Record Date Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_07-10-2025_INE08XP07258.pdf"},{title:"INE08XP07258_Record Date Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_07-12-2025_INE08XP07258.pdf"},{title:"INE08XP07290_Record Date Intimation_April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_13-04-2025_INE08XP07290.pdf"},{title:"INE08XP07290_Record Date Intimation_May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_13-05-2025_INE08XP07290.pdf"},{title:"INE08XP07290_Record Date Intimation_June 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_13-06-2025_INE08XP07290.pdf"},{title:"INE08XP07290_Record Date Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_13-07-2025_INE08XP07290.pdf"},{title:"INE08XP07290_Record Date Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_13-08-2025_INE08XP07290.pdf"},{title:"INE08XP07290_Record Date Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_13-09-2025_INE08XP07290.pdf"},{title:"INE08XP07274_Record Date Intimation_April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_15-04-2025_INE08XP07274.pdf"},{title:"INE08XP07274_Record Date Intimation_June 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_15-06-2025_INE08XP07274.pdf"},{title:"INE08XP07274_Record Date Intimation_Sep 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_15-09-2025_INE08XP07274.pdf"},{title:"INE08XP07274_Record Date Intimation_March 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_16-03-2025_INE08XP07274.pdf"},{title:"INE08XP07274_Record Date Intimation_May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_16-05-2025_INE08XP07274.pdf"},{title:"INE08XP07274_Record Date Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_16-07-2025_INE08XP07274.pdf"},{title:"INE08XP07274_Record Date Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_16-08-2025_INE08XP07274.pdf.pdf"},{title:"INE08XP07274_Record Date Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_16-10-2025_INE08XP07274.pdf"},{title:"INE08XP07282_Record Date Intimation_April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_29-04-2025_INE08XP07282.pdf"},{title:"INE08XP07282_Record Date Intimation_June 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_29-06-2025_INE08XP07282.pdf"},{title:"INE08XP07282_Record Date Intimation_Sep 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_29-09-2025_INE08XP07282.pdf"},{title:"INE08XP07282_Record Date Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_29-11-2025_INE08XP07282.pdf"},{title:"INE08XP07282_Record Date Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_30-01-2026_INE08XP07282.pdf"},{title:"INE08XP07282_Record Date Intimation_Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/INE08XP07282_Record Date Intimation_February 2026 (2).pdf"},{title:"INE08XP07282_Record Date Intimation_May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_30-05-2025_INE08XP07282.pdf"},{title:"INE08XP07282_Record Date Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_30-07-2025_INE08XP07282.pdf"},{title:"INE08XP07282_Record Date Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_30-08-2025_INE08XP07282.pdf"},{title:"INE08XP07282_Record Date Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_30-10-2025_INE08XP07282.pdf"},{title:"INE08XP07282_Record Date Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_30-12-2025_INE08XP07282.pdf"},{title:"INE08XP07274_Record Date Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_Dec_INE08XP07274(1).pdf"},{title:"INE08XP07274_Record Date Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_Dec_INE08XP07274.pdf"},{title:"INE08XP07290_Record Date Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_Dec_INE08XP07290_.pdf"},{title:"INE08XP07407_Record Date Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_Dec_INE08XP07407.pdf"},{title:"INE08XP07217_Record Date Intimation_April 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07217_18.04.2025.pdf"},{title:"INE08XP07217_Record Date Intimation_June 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07217_18.06.2025.pdf"},{title:"INE08XP07217_Record Date Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07217_18.09.2025.pdf"},{title:"INE08XP07217_Record Date Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07217_18.11.2025.pdf"},{title:"INE08XP07217_Record Date Intimation_May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07217_19.05.2025.pdf"},{title:"INE08XP07217_Record Date Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07217_19.07.2025 (1).pdf"},{title:"INE08XP07217_Record Date Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07217_19.07.2025.pdf"},{title:"INE08XP07217_Record Date Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07217_19.08.2025 (1).pdf"},{title:"INE08XP07217_Record Date Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07217_19.08.2025 (2).pdf"},{title:"INE08XP07217_Record Date Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07217_19.10.2025.pdf"},{title:"INE08XP07217_Record Date Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07217_19.12.2025.pdf"},{title:"INE08XP07225_Record Date Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07225_18.09.2025 (1).pdf"},{title:"INE08XP07225_Record Date Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07225_18.09.2025 (2).pdf"},{title:"INE08XP07225_Record Date Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07225_18.09.2025.pdf"},{title:"INE08XP07225_Record Date Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07225_19.07.2025.pdf"},{title:"INE08XP07225_Record Date Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07225_19.08.2025.pdf"},{title:"INE08XP07225_Record Date Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07225_19.10.2025.pdf"},{title:"INE08XP07225_Record Date Intimation_Feb 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/INE08XP07225_Record Date Intimation_February 2026 (2).pdf"},{title:"INE08XP07225_Record Date Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07225_19.12.2025.pdf"},{title:"INE08XP07308_Record Date Intimation_May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07308_15.05.2025.pdf"},{title:"INE08XP07308_Record Date Intimation_June 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07308_15.06.2025.pdf"},{title:"INE08XP07308_Record Date Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07308_15.07.2025.pdf"},{title:"INE08XP07308_Record Date Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07308_15.08.2025.pdf"},{title:"INE08XP07308_Record Date Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07308_15.09.2025.pdf"},{title:"INE08XP07308_Record Date Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07308_15.10.2025.pdf"},{title:"INE08XP07308_Record Date Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07308_Dec.pdf"},{title:"INE08XP07308_Record Date Intimation_Jan 2026",link:"/do
342cs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07308_Jan_ 2026.pdf"},{title:"INE08XP07308_Record Date Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07308_Nov 2025.pdf"},{title:"INE08XP07316_Record Date Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07316_26.09.2025.pdf"},{title:"INE08XP07316_Record Date Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07316_26.11.2025.pdf"},{title:"INE08XP07316_Record Date Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07316_27.01.2026 (1).pdf"},{title:"INE08XP07316_Record Date Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07316_27.07.2025.pdf"},{title:"INE08XP07316_Record Date Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07316_27.10.2025.pdf"},{title:"INE08XP07316_Record Date Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07316_27.12.2025.pdf"},{title:"INE08XP07316_Record Date Intimation_Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/INE08XP07316_Record Date Intimation_February 2026 (1).pdf"},{title:"INE08XP07324_Record Date Intimation_July 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07324_12.07.2025.pdf"},{title:"INE08XP07324_Record Date Intimation_Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07324_12.08.2025.pdf"},{title:"INE08XP07324_Record Date Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07324_12.09.2025.pdf"},{title:"INE08XP07324_Record Date Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07324_12.10.2025.pdf"},{title:"INE08XP07324_Record Date Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07324_Dec_ 25.pdf"},{title:"INE08XP07324_Record Date Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07324_Jan 2026.pdf"},{title:"INE08XP07324_Record Date Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07324_Nov 2025.pdf"},{title:"INE08XP07332_Record Date Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07332_06-01-2026.pdf"},{title:"INE08XP07332_Record Date Intimation_March 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/INE08XP07332_Record Date Intimation_March 2026 (3).pdf"},{title:"INE08XP07332_Record Date Intimation_Sept 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07332_06-09-2025.pdf"},{title:"INE08XP07332_Record Date Intimation_Oct 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07332_06-10-2025.pdf"},{title:"INE08XP07332_Record Date Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07332_06-12-2025.pdf"},{title:"INE08XP07340_Record Date Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07340_Dec 2025.pdf"},{title:"INE08XP07407_Record Date Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07407_Smest_14-11-2025.pdf"},{title:"INE08XP07415_Record Date Intimation_Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07415_02 Feb 2026.pdf"},{title:"INE08XP07415_Record Date Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07415_02 Jan 2026.pdf"},{title:"INE08XP07423_Record Date Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07423_Dec 2025.pdf"},{title:"INE08XP07423_Record Date Intimation_Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07423_Feb 2026.pdf"},{title:"INE08XP07423_Record Date Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07423_Jan 2026.pdf"},{title:"INE08XP07431_Record Date Intimation_Dec 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07431_Dec 2025.pdf"},{title:"INE08XP07431_Record Date Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07431_Jan 2026.pdf"},{title:"INE08XP07290_Record Date Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_Jan 2026_INE08XP07290.pdf"},{title:"INE08XP07407_Record Date Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_Jan 2026_INE08XP07407.pdf"},{title:"INE08XP07274_Record Date Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_Nov_INE08XP07274_15-11-2025.pdf"},{title:"INE08XP07290_Record Date Intimation_Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_Nov_INE08XP07290.pdf"},{title:"INE08XP07399_Record Date Intimation_Jan 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Updated_Corpoarte Announcment_Record date_7399_Jan.pdf"},{title:"INE08XP07456_Record Date Intimation_Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/INE08XP07456_Record Date Intimation_Feb 2026.pdf"},{title:"INE08XP07407_Record Date Intimation_Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/INE08XP07407_Record Date Intimation_Feb 2026.pdf"},{title:"INE08XP07324_Record Date Intimation_Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/INE08XP07324_Record Date Intimation_Feb 2026.pdf"},{title:"INE08XP07308_Record Date Intimation_Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/INE08XP07308_Record Date Intimation_Feb 2026.pdf"},{title:"INE08XP07290_Record Date Intimation_Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/INE08XP07290_Record Date Intimation_Feb 2026.pdf"},{title:"INE08XP07274_Record Date Intimation_Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/INE08XP07274_Record Date Intimation_Feb 2026.pdf"},{title:"INE08XP07381_Record Date Intimation_Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07381_15.02.2026_signed.pdf"},{title:"INE08XP07225_Record Date Intimation_Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07225_16.02.2026_Signed.pdf"},{title:"INE08XP07217_Record Date Intimation_Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/INE08XP07217_Record date Initimation_February 2026 (1).pdf"},{title:"Initimation to BSE - Record Date_INE08XP07217_19-03-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07217_19-03-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07225_19-03-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07225_19-03-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07316_27-03-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07316_27.03.2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07282_30-03-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07282_30.03.2026.pdf"},{title:"Record Date_INE08XP07357_01-04-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Record Date_INE08XP07357_01-04-2026.pdf"},{title:"Record Date_INE08XP07365_01-04-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Record Date_INE08XP07365_01-04-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07266_02-04-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07266_02-04-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07324_12-04-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07324_12-04-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07274_15-04-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07274_15-04-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07308_15-04-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07308_15.04.2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07381_13-05-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07381_13-05-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07399_28-04-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07399_28-04-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07407_14.05.2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07407_14.05.2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07415_02.05.2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07415_02.05.2026.pdf"},{title:"Record Date_INE08XP07423_06-05-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Record Date_INE08XP07423_06-05-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07431_26-04-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07431_26-04-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07449_02-05-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07449_02-05-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07456_17-04-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07456_17-04-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07464_21-04-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07464_21-04-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07217_19-05-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07217_19-05-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07225_19-05-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07225_19-05-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07274_15-06-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07274_15-06-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07282_30-05-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07282_30-05-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07308_15.06-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07308_15.06-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07316_27-05-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07316_27-05-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07324_12-06-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07324_12-06-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07340_15.06-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07340_15.06-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07381_13-06-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07381_13-06-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07399_29-05-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07399_29-05-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07407_14.06.2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07407_14.06.2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07415_02.06.2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07415_02.06.2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07431_27-05-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07431_27-05-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07449_02-06-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07449_02-06-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07456_18-05-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07456_18-05-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07464_22-05-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07464_22-05-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07480_23-05-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07480_23-05-2026.pdf"},{title:"Initimation to BSE - Record Date_INE08XP07498_23-05-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Initimation to BSE - Record Date_INE08XP07498_23-05-2026.pdf"}
342,{title:"Record Date_INE08XP07332_06-06-2026 (2)",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Record Date_INE08XP07332_06-06-2026 (2).pdf"},{title:"Record Date_INE08XP07357_01-06-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Record Date_INE08XP07357_01-06-2026.pdf"},{title:"Record Date_INE08XP07365_01-06-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Record Date_INE08XP07365_01-06-2026.pdf"},{title:"Record Date_INE08XP07423_06-06-2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Record_Date_Intimations/Record Date_INE08XP07423_06-06-2026.pdf"}]},{id:"Newspaper Publications",label:"Newspaper Publications of Financial Results",documents:[{title:"Newspaper Financials Publication BSE_29th May 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Newspaper Financials Publication BSE_29th May 2026.pdf"},{title:"Newspaper Financials Publication BSE Intimation_13 Feb 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Newspaper Financials Publication BSE Intimation_13 Feb 2026_signed.pdf"},{title:"Newspaper Financials Publication BSE Intimation_14 Aug 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Newspaper Financials Publication BSE Intimation_14 Aug 2025.pdf"},{title:"Newspaper Financials Publication BSE Intimation_30 May 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Newspaper Financials Publication BSE Intimation_30 May 2025.pdf"},{title:"Newspaper Financials Publication BSE Intimation_16 Nov 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Newspaper Financials Publication BSE Intimation_16 Nov 2025 signed.pdf"},{title:"Newspaper Financials Publication BSE Intimation_18 Nov 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Newspaper publication_18.11.2024 BSE.pdf"},{title:"Newspaper Financials Publication BSE Intimation_16 Feb 2025_",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Newspaper Financials Publication BSE Intimation_16 Feb 2025_.pdf"}]},{id:"Security Cover Certificates",label:"Security Cover Certificates",documents:[{title:"Security Cover Certificate for the quarter and year ended March 2026",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Security Cover Certificate for the quarter and year ended March 2026.pdf"},{title:"Security Cover Certificate for the quarter ended June 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Security Cover Certificate for the quarter ended June 2024.pdf"},{title:"Security Cover Certificate for the quarter ended September 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Security Cover Certificate for the quarter ended September 2024.pdf"},{title:"Security Cover Certificate for the quarter ended December 2024",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Security Cover Certificate for the quarter ended December 2024.pdf"},{title:"Security Cover Certificate for the quarter and year ended March 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Security Cover Certifucate for th quarter and year ended March 2025.pdf"},{title:"Security Cover Certificate for the quarter ended June 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Security Cover Certificate for the quarter ended June 2025.pdf"},{title:"Security Cover Certificate for quarter ended September 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Security Cover Certificate for quarter ended September 2025.pdf"},{title:"Security Cover Certificate for the quarter ended December 2025",link:"/docs/SEBI_Disclosure/Stock_Exchange_Information/Security Cover Certificate for the quarter ended December 2025.pdf"}]}]},{id:"csr-initiatives",label:"CSR Initiatives",documents:[{title:"Annual Action Plan FY 2022-2023",link:"/docs/SEBI_Disclosure/CSR_Initiatives/Annual Action Plan FY 2022-2023.pdf"},{title:"Annual Action Plan FY 2024-2025",link:"/docs/SEBI_Disclosure/CSR_Initiatives/Annual Action Plan FY 2024-2025.pdf"},{title:"Annual Action Plan FY 2023-2024",link:"/docs/SEBI_Disclosure/CSR_Initiatives/Annual Action Plan FY 2023-2024.pdf"},{title:"Annual Action Plan FY 2025-2026",link:"/docs/SEBI_Disclosure/CSR_Initiatives/Annual Action Plan FY 2025-2026.pdf"}]},{id:"compliance-reports",label:"Quarterly Compliance Reports",subTabs:[{id:"For the quarter ended December 2024",label:"For the quarter ended December 2024",documents:[{title:"QCR Axis Trustee Listed Secured December 24",link:"/docs/SEBI_Disclosure/Compl
342iance_Reports/QCR Axis Trustee Listed Secured December 24.pdf"},{title:"QCR_BEACON_31-12-2024_File 1 (1)",link:"/docs/SEBI_Disclosure/Compliance_Reports/QCR_BEACON_31-12-2024_File 1 (1).pdf"},{title:"QCR_BEACON_31-12-2024_File 2 (1)",link:"/docs/SEBI_Disclosure//Compliance_Reports/QCR_BEACON_31-12-2024_File 2 (1) (1).pdf"},{title:"QCR_Orbis_December 24",link:"/docs/SEBI_Disclosure/Compliance_Reports/QCR_Orbis_December 24.pdf"}]},{id:"For the quarter ended June 2025",label:"For the quarter ended June 2025",documents:[{title:"QCR Axis Trustee Listed Secured June 25",link:"/docs/SEBI_Disclosure/Compliance_Reports/QCR Axis Trustee Listed Secured June 25.pdf"},{title:"QCR_BEACON_30-06-2025_File 1",link:"/docs/SEBI_Disclosure/Compliance_Reports/QCR_BEACON_30-06-2025_File 1.pdf"},{title:"QCR_BEACON_30-06-2025_File 2",link:"/docs/SEBI_Disclosure/Compliance_Reports/QCR_BEACON_30-06-2025_File 2.pdf"},{title:"QCR_BEACON_30-06-2025_File 3",link:"/docs/SEBI_Disclosure/Compliance_Reports/QCR_BEACON_30-06-2025_File 3.pdf"}]},{id:"For the quarter ended March 2025",label:"For the quarter ended March 2025",documents:[{title:"QCR Axis Trustee Listed Secured March 25",link:"/docs/SEBI_Disclosure//Compliance_Reports/QCR Axis Trustee Listed Secured March 25.pdf"},{title:"QCR_BEACON_31-03-2025_File 1",link:"/docs/SEBI_Disclosure//Compliance_Reports/QCR_BEACON_31-03-2025_File 1.pdf"},{title:"QCR_BEACON_31-03-2025_File 2",link:"/docs/SEBI_Disclosure//Compliance_Reports/QCR_BEACON_31-03-2025_File 2.pdf"}]},{id:"For the quarter ended September 2025",label:"For the quarter ended September 2025",documents:[{title:"QCR Axis Trustee Listed Secured Sep 25",link:"/docs/SEBI_Disclosure//Compliance_Reports/QCR Axis Trustee Listed Secured Sep 25.pdf"},{title:"QCR_BEACON_30-09-2025_File 1",link:"/docs/SEBI_Disclosure//Compliance_Reports/QCR_BEACON_30-09-2025_File 1.pdf"},{title:"QCR_BEACON_30-09-2025_File 2",link:"/docs/SEBI_Disclosure//Compliance_Reports/QCR_BEACON_30-09-2025_File 2.pdf"},{title:"QCR_BEACON_30-09-2025_File 3",link:"/docs/SEBI_Disclosure//Compliance_Reports/QCR_BEACON_30-09-2025_File 3.pdf"},{title:"Catalyst_QCR for the quarter ended September 2025",link:"/docs/SEBI_Disclosure/Compliance_Reports/Catalyst_QCR_for the quarter ended September 2025 (1).pdf"}]},{id:"For the quarter ended December 2025",label:"For the quarter ended December 2025",documents:[{title:"QCR_BEACON_31-12-2025_File 5",link:"/docs/SEBI_Disclosure/Compliance_Reports/QCR_BEACON_31-12-2025_File 5.pdf"},{title:"QCR Axis Trustee Listed 31st Dec 25",link:"/docs/SEBI_Disclosure/Compliance_Reports/QCR Axis Trustee Listed 31st Dec 25.pdf"},{title:"QCR_BEACON_31-12-2025_File 2",link:"/docs/SEBI_Disclosure/Compliance_Reports/QCR_BEACON_31-12-2025_File 2.pdf"},{title:"QCR_BEACON_31-12-2025_File 4",link:"/docs/SEBI_Disclosure/Compliance_Reports/QCR_BEACON_31-12-2025_File 4.pdf"},{title:"QCR_BEACON_31-12-2025_File 3",link:"/docs/SEBI_Disclosure/Compliance_Reports/QCR_BEACON_31-12-2025_File 3.pdf"},{title:"QCR_BEACON_31-12-2025_File 1",link:"/docs/SEBI_Disclosure/Compliance_Reports/QCR_BEACON_31-12-2025_File 1.pdf"},{title:"Catalyst Quarterly Compliance Letter 31st Dec 2025",link:"/docs/SEBI_Disclosure/Compliance_Reports/Catalyst_Quarterly_Compliance_Letter_31st Dec 2025.pdf"}]},{id:"For the quarter and year ended March 2026",label:"For the quarter and year ended March 2026",documents:[{title:"QCR Axis Trustee Listed 31st Mar 26_reviewed",link:"/docs/SEBI_Disclosure/Compliance_Reports/QCR Axis Trustee Listed 31st Mar 26_reviewed.pdf"},{title:"QCR Catalyst - March 2026_final",link:"/docs/SEBI_Disclosure/Compliance_Reports/QCR Catalyst - March 2026_final.pdf"},{title:"QCR_BEACON_31-03-2026_File 1",link:"/docs/SEBI_Disclosure/Compliance_Reports/QCR_BEACON_31-03-2026_File 1.pdf"},{title:"QCR_BEACON_31-03-2026_File 2",link:"/docs/SEBI_Disclosure/Compliance_Reports/QCR_BEACON_31-03-2026_File 2.pdf"},{title:"QCR_BEACON_31-03-2026_File 3",link:"/docs/SEBI_Disclosure/Compliance_Reports/QCR_BEACON_31-03-2026_File 3.pdf"},{title:"QCR_BEACON_31-03-2026_File 4",link:"/docs/SEBI_Disclosure/Compliance_Reports/QCR_BEACON_31-03-2026_File 4.pdf"},{title:"QCR_BEACON_31-03-2026_File 5",link:"/docs/SEBI_Disclosure/Compl
342iance_Reports/QCR_BEACON_31-03-2026_File 5.pdf"}]}]},{id:"shareholding-patterns",label:"Shareholding Patterns",documents:[{title:"List of Shareholders",link:"/docs/SEBI_Disclosure/Shareholding_Patterns/List of Shareholders Akara_latest_as on 31st March 2026.pdf"}]},{id:"director-list",label:"List of Directors",documents:[{title:"List of Directors",link:"/docs/SEBI_Disclosure/Shareholding_Patterns/List of Directors - Akara.pdf"}]},{id:"unclaimed-ncds-amounts",label:"Search for Unclaimed NCD Amount",variant:"unclaimed-ncds-form",documents:[]},{id:"disclosure-unclaimed-ncd-amounts",label:"Disclosure of Unclaimed NCD Amount",variant:"unclaimed-ncd-disclosure",documents:[]},{id:"annual-reports",label:"Annual Reports",documents:[{title:"ACAPL Annual Report FY 2022 2023",link:"/docs/SEBI_Disclosure/Annual_Reports/ACAPL Annual Report FY 2022 2023.pdf"},{title:"ACAPL Annual Report FY 2020-2021",link:"/docs/SEBI_Disclosure/Annual_Reports/ACAPL Annual Report FY 20-21.pdf"},{title:"ACAPL Annual Report FY 2021-2022",link:"/docs/SEBI_Disclosure/Annual_Reports/ACAPL Annual Report FY 2021-2022.pdf"},{title:"ACAPL Annual Report for F.Y. 2024-25",link:"/docs/SEBI_Disclosure/Annual_Reports/Annual Report FY 2024-2025.pdf"}]},{id:"valuation-report",label:"Valuation Report",documents:[{title:"ACAPL Valuation Report February 2023",link:"/docs/SEBI_Disclosure/Valuation_Report/ACAPL Valuation Report February 2023.pdf"},{title:"ACAPL Valuation Report July 2022",link:"/docs/SEBI_Disclosure/Valuation_Report/ACAPL Valuation Report July 2022.pdf"},{title:"ACAPL Valuation Report May 2023",link:"/docs/SEBI_Disclosure/Valuation_Report/ACAPL Valuation Report May 2023.pdf"},{title:"ACAPL Valuation Report September 2021",link:"/docs/SEBI_Disclosure/Valuation_Report/ACAPL Valuation Report September 2021.pdf"},{title:"ACAPL Valuation Report March 2025",link:"/docs/SEBI_Disclosure/Valuation_Report/Signed Valuation Report of ACAPL_31st March, 2025.pdf"},{title:"ACAPL Valuation Report February 2026",link:"/docs/SEBI_Disclosure/Valuation_Report/Valuation_Report of Akara Capital.pdf"}]},{id:"credit-rating",label:"Credit Rating",documents:[{title:"ACAPL BLR CE ICRA Update 04-07-2023",link:"/docs/SEBI_Disclosure/Credit_Rating/ACAPL BLR CE ICRA Update 04-07-2023.pdf"},{title:"ACAPL BLR Enhancement ICRA 04-07-2023",link:"/docs/SEBI_Disclosure/Credit_Rating/ACAPL BLR Enhancement ICRA 04-07-2023.pdf"},{title:"ACAPL ICRA Rating Rationale 20th OCT",link:"/docs/SEBI_Disclosure/Credit_Rating/ACAPL ICRA Rating Rationale 20th OCT.pdf"},{title:"ACAPL NCD ICRA Fresh 04-07-2023",link:"/docs/SEBI_Disclosure/Credit_Rating/ACAPL NCD ICRA Fresh 04-07-2023.pdf"},{title:"ACAPL NCD ICRA Update 04-07-2023",link:"/docs/SEBI_Disclosure/Credit_Rating/ACAPL NCD ICRA Update 04-07-2023.pdf"},{title:"ACAPL PPMLD ICRA Update 04-07-2023",link:"/docs/SEBI_Disclosure/Credit_Rating/ACAPL PPMLD ICRA Update 04-07-2023.pdf"},{title:"ACAPL Rating Rationale ICRA 04-07-2023",link:"/docs/SEBI_Disclosure/Credit_Rating/ACAPL Rating Rationale ICRA 04-07-2023.pdf"},{title:"ICRA BLR April 2023",link:"/docs/SEBI_Disclosure/Credit_Rating/ICRA BLR April 2023.pdf"},{title:"ICRA CP April 2023",link:"/docs/SEBI_Disclosure/Credit_Rating/ICRA CP April 2023.pdf"},{title:"ICRA MLD April 2023",link:"/docs/SEBI_Disclosure/Credit_Rating/ICRA MLD April 2023.pdf"}
342,{title:"ICRA Non Convertible Debentures April 2023",link:"/docs/SEBI_Disclosure/Credit_Rating/ICRA Non Convertible Debentures April 2023.pdf"},{title:"ICRA Rating Letter and Rating Rationale August 2023",link:"/docs/SEBI_Disclosure/Credit_Rating/ICRA Rating Letter and Rating Rationale August 2023.pdf"},{title:"Akara Capital Advisors Private Limited_3rd October 2022",link:"/docs/SEBI_Disclosure/Credit_Rating/Akara Capital Advisors Private Limited_3rd October 2022.pdf"},{title:"Akara Capital Advisors Private Limited_8th August 2025",link:"/docs/SEBI_Disclosure/Credit_Rating/Akara Capital Advisors Private Limited_8th August 2025.pdf"},{title:"Akara Capital Advisors Private Limited_9th August 2024",link:"/docs/SEBI_Disclosure/Credit_Rating/Akara Capital Advisors Private Limited_9th August 2024.pdf"},{title:"Akara Capital Advisors Private Limited_9th December 2021",link:"/docs/SEBI_Disclosure/Credit_Rating/Akara Capital Advisors Private Limited_9th December 2021.pdf"},{title:"Akara Capital Advisors Private Limited_10th May 2024",link:"/docs/SEBI_Disclosure/Credit_Rating/Akara Capital Advisors Private Limited_10th May 2024.pdf"},{title:"Akara Capital Advisors Private Limited_11th March 2022",link:"/docs/SEBI_Disclosure/Credit_Rating/Akara Capital Advisors Private Limited_11th March 2022.pdf"},{title:"Akara Capital Advisors Private Limited_20th December 2022",link:"/docs/SEBI_Disclosure/Credit_Rating/Akara Capital Advisors Private Limited_20th December 2022.pdf"},{title:"Akara Capital Advisors Private Limited_20th Oct 2025",link:"/docs/SEBI_Disclosure/Credit_Rating/Akara Capital Advisors Private Limited_20th Oct 2025.pdf"},{title:"Akara Capital Advisors Private Limited_20th October 2022",link:"/docs/SEBI_Disclosure/Credit_Rating/Akara Capital Advisors Private Limited_20th October 2022.pdf"},{title:"Akara Capital Advisors Private Limited_23rd Oct 2025",link:"/docs/SEBI_Disclosure/Credit_Rating/Akara Capital Advisors Private Limited_23rd Oct 2025.pdf"}]},{id:"nodal-officer",label:"Nodal Officer",documents:[{title:"Nodal Officer",link:"/docs/SEBI_Disclosure/Nodal_Officer/NODAL OFFICER.pdf"}]}],$=[{id:"Recovery Policy",label:"Recovery Policy",documents:[{title:"Recovery Policy",link:"/docs/Policies/Recovery Policy_v2.0.pdf"}]},{id:"KYC and AML Policy v.2.0",label:"Know Your Customer (KYC)/Anti-Money Laundering (AML)/Combating Financing of Terrorism (CFT) Policy",documents:[{title:"Know Your Customer (KYC)/Anti-Money Laundering (AML)/Combating Financing of Terrorism (CFT) Policy",link:"/docs/Policies/Know Your Customer (KYC)Anti-Money Laundering (AML)Combating Financing of Terrorism (CFT) Policy.pdf"}]},{id:"Privacy Policy",label:"Privacy Policy",documents:[{title:"Privacy Policy",link:"/docs/Policies/Privacy Policy Akara Capital.pdf"}]},{id:"Investment Policy",label:"Investment Policy",documents:[{title:"Investment Policy",link:"/docs/Policies/Investment Policy.pdf"}]},{id:"Materiality Policy",label:"Materiality Policy",documents:[{title:"Materiality Policy",link:"/docs/Policies/Materiality Policy.pdf"}]},{id:"Outsourcing Policy",label:"Outsourcing Policy",documents:[{title:"Outsourcing Policy",link:"/docs/Policies/Outsourcing Policy.pdf"}]},{id:"Code Of Practice & Procedure for Fair Disclosure",label:"Code Of Practice & Procedure for Fair Disclosure",documents:[{title:"Code Of Practice & Procedure for Fair Disclosure",link:"/docs/Policies/Code of Practice & Procedure for Fair Disclosure - UPSI.pdf"}]},{id:"Income Recognition & Asset Classification Policy",label:"Income Recognition & Asset Classification Policy",documents:[{title:"Income Recognition & Asset Classification Policy",link:"/docs/Policies/Income Recognition & Asset Classification Policy_v1.0.pdf"}]},{id:"Policy on Fair Practice Code",label:"Policy on Fair Practice Code",documents:[{title:"English",link:"/docs/Policies/FairPracticeCode/Fair Practice Code Policy.pdf"},{title:"Hindi",link:"/docs/Policies/FairPracticeCode/Hindi.pdf"},{title:"Bengali",link:"/docs/Policies/FairPracticeCode/Bengali.pdf"},{title:"Telugu",link:"/docs/Policies/FairPracticeCode/Telugu.pdf"},{title:"Kannada",link:"/docs/Policies/FairPracticeCode/Kannada.pdf"},{title:"Tamil",link:"/docs/Policies/FairPracticeCode/Tamil.pdf"},{title:"Marathi",link:"/docs/Policies/FairPracticeCode/Tamil.pdf"}]},{id:"Whistle Blower Policy",label:"Whistle Blower Policy",documents:[{title:"Whistle Blower Policy",link:"/docs/Policies/Whistle Blower Policy.pdf"}]},{id:"Policy on Related Party Transactions",label:"Policy on Related Party Transactions",documents:[{title:"Policy on Related Party Transactions",link:"/docs/Policies/Policy on Related Party Transaction.pdf"}]},{id:"Resource Planning Policy-Private Placement of NCDs",label:"Resource Planning Policy-Private Placement of NCDs",documents:[{title:"Resource Planning Policy-Private Placement of NCDs",link:"/docs/Policies/ACAPL Private Placement of NCDs.pdf"}]},{id:"Criteria/Policy Of Making Payments To Non-Executive Directors",label:"Criteria/Policy Of Making Payments To Non-Executive Directors",documents:[{title:"Criteria/Policy Of Making Payments To Non-Executive Directors",link:"/docs/Policies/ACAPL Criteria for Payments to NEDs.pdf"}]},{id:"Salient Features of Ombudsman Scheme",label:"Salient Features of Ombudsman Scheme",documents:[{title:"Salient Features of Ombudsman Scheme",link:"/docs/Policies/Salient-Features-of-Ombudsman-Scheme.pdf"}]},{id:"Personal Loan Policy",label:"Personal Loan Policy",documents:[{title:"Personal Loan Policy",link:"/docs/Policies/Personal Loan Policy.pdf"}]},{id:"RBI Integrated Ombudsman Scheme 2021",label:"RBI Integrated Ombudsman Scheme 2021",documents:[{title:"RBI Integrated Ombudsman Scheme 2021",link:"/docs/Policies/RBI Integrated Ombudsman Scheme 2021.pdf"}]},{id:"Consumer Borrower Education Literature IRAC Norms RBI",label:"Consumer Borrower Education Literature IRAC Norms RBI",documents:[{title:"Consumer Borrower Education Literature IRAC Norms RBI",link:"/docs/Policies/Consumer Borrower Education Literature IRAC Norms RBI.pdf"}]},{id:"Policy on Grievance Redressal Mechanism",label:"Policy on Grievance Redressal Mechanism",documents:[{title:"Policy on Grievance Redressal Mechanism - NBFC",link:"/docs/Policies/Policy on Grievance Redressal Mechanism - NBFC.pdf"},{title:"Policy on Grievance Redressal Mechanism - IRDAI",link:"/docs/Policies/Policy on Grievance Redressal Mechanism - IRDAI.pdf"}]},{id:"Policy on Appointment of Statutory Auditors",label:"Policy on Appointment of Statutory Auditors",documents:[{title:"Policy on Appointment of Statutory Auditors",link:"/docs/Policies/Policy on Appointment of Statutory Auditors v.1.0.pdf"}]},{id:"Policy on Interest Rate and Charges",label:"Policy on Interest Rate and Charges",documents:[{title:"Policy on Interest Rate and Charges",link:"/docs/Policies/Policy on Interest Rate and Charges_v8.0.pdf"}]},{id:"Policy on Internal Guidelines on Corporate Governance",label:"Policy on Internal Guidelines on Corporate Governance",documents:[{title:"Policy on Internal Guidelines on Corporate Governance",link:"/docs/Policies/Policy on Internal Guidelines on Corporate Governance.pdf"}]},{id:"Data Retention Policy Akara Capital",label:"Data Retention Policy Akara Capital",documents:[{title:"Data Retention Policy Akara Capital",link:"/docs/Policies/Record Retention, Disposal & User Information Policy.pdf"}]},{id:"NACH Mandate User Guide & FAQ",label:"NACH Mandate User Guide & FAQ",documents:[{title:"NACH Mandate User Guide & FAQ",link:"/docs/Policies/NACH Mandate User Guide & FAQ.pdf"}]},{id:"Corporate Social Responsibility Policy",label:"Corporate Social Responsibility Policy",documents:[{title:"Corporate Social Responsibility Policy",link:"/docs/Policies/Cororate Social Responsibility Policy.pdf"}]},{id:"Nomination and Remuneration Policy",label:"Nomination and Remuneration Policy",documents:[{title:"Nomination and Remuneration Policy",link:"/docs/Policies/Nomination and Remuneration Policy.pdf"}]},{id:"Policy on unclaimed amount of Non-Convertible Debentures (NCDs)",label:"Policy on unclaimed amount of Non-Convertible Debentures (NCDs)",documents:[{title:"Policy on unclaimed amount of Non-Convertible Debentures (NCDs)",link:"/docs/Policies/Policy on unclaimed amount of Non-Convertibles Debentures (NCDs).pdf"}]},{id:"Code of Conduct for Digital Lending by FACE",label:"Code of Conduct for Digital Lending by FACE",documents:[{title:"Code of Conduct for Digital Lending by FACE",link:"/docs/Policies/Code of Conduct for Digital Lending by FACE.pdf"}]}],Rn=[{title:"ACAPL EGM Notice",subtitle:"10.05.2023",link:"/docs/generalmeeting/ACAPL EGM Notice 10.05.2023.pdf"}
342,{title:"Notice of 9th Annual General Meeting",subtitle:"30th September 2025",link:"/docs/generalmeeting/Notice of 9th Annual General Meeting.pdf"},{title:"Notice of EGM 8th September 2025 Akara",subtitle:"8th September, 2025",link:"/docs/generalmeeting/Notice of EGM_8th September 2025_Akara.pdf"},{title:"EGM Notice",subtitle:"2nd January, 2026",link:"/docs/generalmeeting/EGM Notice_2nd January, 2026.pdf"},{title:"Notice of 7th Annual General Meeting",subtitle:"",link:"/docs/generalmeeting/Notice of 7th Annual General Meeting.pdf"},{title:"Notice of 8th Annual General Meeting",subtitle:"",link:"/docs/generalmeeting/Notice of 8th Annual General Meeting.pdf"},{title:"Notice of EGM 14th November 2024",subtitle:"",link:"/docs/generalmeeting/Notice of EGM 14th November 2024.pdf"},{title:"Notice of 6th Annual General Meeting",subtitle:"",link:"/docs/generalmeeting/Notice of 6th Annual General Meeting.pdf"},{title:"Notice of 5th Annual General Meeting",subtitle:"",link:"/docs/generalmeeting/Notice of 5th Annual General Meeting.pdf"},{title:"EGM Notice",subtitle:"25th June 2021",link:"/docs/generalmeeting/Notice of EGM_25th June 2021.pdf"},{title:"EGM Notice",subtitle:"28th February 2022",link:"/docs/generalmeeting/Notice of EGM_28th February 2022.pdf"},{title:"EGM Notice",subtitle:"7th March 2022",link:"/docs/generalmeeting/Notice of EGM_7th March 2022.pdf"}],Be=[{title:"ACAPL Appointment of Independent Directors TC",link:"/docs/Appointment Independent Directors/ACAPL Appointment of Independent Directors TC.pdf"}],Xe=[{title:"Annual Return Form MGT-7 FY 2020-2021",link:"/docs/Disclosure Under Companies Act, 2013/Annual Return Form MGT-7 FY 2020-2021.pdf"},{title:"Annual Return Form MGT-7 FY 2021-2022",link:"/docs/Disclosure Under Companies Act, 2013/Annual Return Form MGT-7 FY 2021-2022.pdf"},{title:"Annual Return Form MGT-7 FY 2022-2023",link:"/docs/Disclosure Under Companies Act, 2013/Annual Return Form MGT 7 FY 2022-2023.pdf"},{title:"Annual Return Form MGT-7 FY 2023-2024",link:"/docs/Disclosure Under Companies Act, 2013/Annual Return Form MGT 7 FY 2023-2024.pdf"},{title:"Annual Return Form MGT 7 FY 2024-2025",link:"/docs/Disclosure Under Companies Act, 2013/Annual Return Form MGT 7 FY 2024-2025.pdf"},{title:"Annual Return Form MGT-7 FY 19-20",link:"/docs/Disclosure Under Companies Act, 2013/Annual Return Form MGT-7 FY 19-20.pdf"},{title:"Annual Return Form MGT-7 FY 17-18",link:"/docs/Disclosure Under Companies Act, 2013/Annual Return Form MGT-7 FY 17-18.pdf"},{title:"Annual Return Form MGT-7 FY 18-19",link:"/docs/Disclosure Under Companies Act, 2013/Annual Return Form MGT-7 FY 18-19.pdf"}],ut=[{title:"Annual Action Plan FY 2022-2023",link:"/docs/CSRInitiatives/Annual Action Plan FY 2022-2023.pdf"},{title:"Annual Action Plan FY 2023-2024",link:"/docs/CSRInitiatives/Annual Action Plan FY 2023-2024.pdf"},{title:"Annual Action Plan FY 2024-2025",link:"/docs/CSRInitiatives/Annual Action Plan FY 2024-2025.pdf"},{title:"Annual Action Plan FY 2025-2026",link:"/docs/CSRInitiatives/Annual Action Plan FY 2025-2026.pdf"}],rn=[{title:"Akara Capital-Composition of Committees",link:"/docs/CompositionofCommittees/Akara Capital - Composition of Committees_.pdf"}],Pt=[{title:"Akara Capital Investor Contacts",link:"/docs/InvestorContacts/AKARA CAPITAL ADVISORS PRIVATE LIMITED.pdf"}],So=[{title:"DLG Disclosure â May 31, 2025",link:"/docs/DisclosureonDefaultLossGuarantee/DisclosureonDefaultLoss/Disclosure on Default Loss Guarantee - May 31, 2025.pdf"},{title:"DLG Disclosure â June 30, 2025",link:"/docs/DisclosureonDefaultLossGuarantee/DisclosureonDefaultLoss/Disclosure on Default Loss Guarantee - June 30, 2025.pdf"},{title:"DLG Disclosure - July 31, 2025",link:"/docs/DisclosureonDefaultLossGuarantee/DisclosureonDefaultLoss/Disclosure on Default Loss Guarantee - July 31, 2025.pdf"},{title:"DLG Disclosure - August 31, 2025",link:"/docs/DisclosureonDefaultLossGuarantee/DisclosureonDefaultLoss/Disclosure on Default Loss Guarantee - August 31, 2025.pdf"},{title:"DLG Disclosure - September 30, 2025",link:"/docs/DisclosureonDefaultLossGuarantee/DisclosureonDefaultLoss/Disclosure on Default Loss Guarantee - September 30, 2025.pdf"},{title:"DLG Disclosure - October 31, 2025",link:"/docs/DisclosureonDefaultLossGuarantee/DisclosureonDefaultLoss/Disclosure on Default Loss Guarantee - October 31, 2025.pdf"},{title:"DLG Disclosure - November 30, 2025",link:"/docs/DisclosureonDefaultLossGuarantee/DisclosureonDefaultLoss/Disclosure on Default Loss Guarantee - November 30, 2025.pdf"},{title:"DLG Disclosure - December 31, 2025",link:"/docs/DisclosureonDefaultLossGuarantee/DisclosureonDefaultLoss/Disclosure on Default Loss Guarantee - December 31, 2025.pdf"},{title:"DLG Disclosure - January 31, 2026",link:"/docs/DisclosureonDefaultLossGuarantee/DisclosureonDefaultLoss/Disclosure on Default Loss Guarantee - January 31, 2026.pdf"},{title:"DLG Disclosure - February 28, 2026",link:"/docs/DisclosureonDefaultLossGuarantee/DisclosureonDefaultLoss/Disclosure on Default Loss Guarantee - February 28, 2026.pdf"},{title:"DLG Disclosure â March 31, 2026",link:"/docs/DisclosureonDefaultLossGuarantee/DisclosureonDefaultLoss/Disclosure on Default Loss Guarantee - March 31, 2026.pdf"},{title:"DLG Disclosure â April 30, 2026",link:"/docs/DisclosureonDefaultLossGuarantee/DisclosureonDefaultLoss/Disclosure on Default Loss Guarantee - April 30, 2026.pdf"},{title:"DLG Disclosure â May 31, 2026",link:"/docs/DisclosureonDefaultLossGuarantee/DisclosureonDefaultLoss/Disclosure on Default Loss Guarantee - May 31, 2026.pdf"},{title:"DLG Disclosure â June 30, 2026",link:"/docs/DisclosureonDefaultLossGuarantee/DisclosureonDefaultLoss/Disclosure on Default Loss Guarantee -June 30, 2026.pdf"}
342],_a=[{title:"Appendix VI-A_ Disclosure on Liquidity Risk - September 30, 2023",link:"/docs/DisclosureonLiquidityRisk/Appendix VI-A_ Disclosure on Liquidity Risk - September 30, 2023.pdf"},{title:"Appendix VI-A_ Disclosure on Liquidity Risk - December 31, 2023",link:"/docs/DisclosureonLiquidityRisk/Appendix VI-A_ Disclosure on Liquidity Risk - December 31, 2023.pdf"},{title:"Appendix VI-A_ Disclosure on Liquidity Risk - March 31, 2024",link:"/docs/DisclosureonLiquidityRisk/Appendix VI-A_ Disclosure on Liquidity Risk - March 31, 2024.pdf"},{title:"Appendix VI-A_ Disclosure on Liquidity Risk - June 30, 2024",link:"/docs/DisclosureonLiquidityRisk/Appendix VI-A_ Disclosure on Liquidity Risk - June 30, 2024.pdf"},{title:"Appendix VI-A_ Disclosure on Liquidity Risk - September 30, 2024",link:"/docs/DisclosureonLiquidityRisk/Appendix VI-A_ Disclosure on Liquidity Risk - September 30, 2024.pdf"},{title:"Appendix VI-A_ Disclosure on Liquidity Risk - December 31, 2024",link:"/docs/DisclosureonLiquidityRisk/Appendix VI-A_ Disclosure on Liquidity Risk - December 31, 2024.pdf"},{title:"Appendix VI-A_ Disclosure on Liquidity Risk - March 31, 2025",link:"/docs/DisclosureonLiquidityRisk/Appendix VI-A_ Disclosure on Liquidity Risk - March 31, 2025.pdf"},{title:"Appendix VI-A_ Disclosure on Liquidity Risk - June 30, 2025",link:"/docs/DisclosureonLiquidityRisk/Appendix VI-A_ Disclosure on Liquidity Risk - June 30, 2025.pdf"},{title:"Appendix VI-A_ Disclosure on Liquidity Risk - September 30, 2025",link:"/docs/DisclosureonLiquidityRisk/Appendix VI-A_ Disclosure on Liquidity Risk - September 30, 2025.pdf"},{title:"Appendix VI-A_ Disclosure on Liquidity Risk - December 31, 2025",link:"/docs/DisclosureonLiquidityRisk/Appendix VI-A_ Disclosure on Liquidity Risk - Dec 31, 2025.pdf"},{title:"Appendix VI A Disclosure on Liquidity Risk March 31, 2026",link:"/docs/DisclosureonLiquidityRisk/Appendix VI-A_ Disclosure on Liquidity Risk - March 31, 2026.pdf"}],Ql=w.useMemo(()=>[{slug:"sebi-disclosure",title:"SEBI Disclosure",layout:"sidebar-tabs",sortOrder:10,tabs:_t,documents:[]},{slug:"notice-of-general-meeting",title:"Notice of General Meeting",layout:"document-grid-with-subtitle",sortOrder:20,tabs:[],documents:Rn},{slug:"appointment-independent-directors",title:"Appointment Independent Directors",layout:"document-grid",sortOrder:30,tabs:[],documents:Be},{slug:"disclosure-under-companies-act-2013",title:"Disclosure Under Companies Act, 2013",layout:"document-grid",sortOrder:40,tabs:[],documents:Xe},{slug:"policies",title:"Policies",layout:"sidebar-tabs",sortOrder:50,tabs:$,documents:[]},{slug:"csr-initiatives",title:"CSR Initiatives",layout:"document-grid",sortOrder:60,tabs:[],documents:ut},{slug:"composition-of-committees",title:"Composition of Committees",layout:"document-grid",sortOrder:70,tabs:[],documents:rn},{slug:"investor-contacts",title:"Investor Contacts",layout:"document-grid",sortOrder:80,tabs:[],documents:Pt},{slug:"disclosure-on-liquidity-risk",title:"Disclosure on Liquidity Risk",layout:"document-grid",sortOrder:90,tabs:[],documents:_a},{slug:"disclosure-on-default-loss-guarantee",title:"Disclosure on Default Loss Guarantee",layout:"document-grid",sortOrder:100,tabs:[],documents:So}],[]),hs=t?i??Ql:i??[],xo=((Eo=r==null?void 0:r.heroTitle)==null?void 0:Eo.trim())||(t?"Invest in Akara Capital":(r==null?void 0:r.title)||"Akara"),Fr=((Nb=r==null?void 0:r.heroSubtitle)==null?void 0:Nb.trim())||(t?"Investing in Innovation. Dive into Akara Capitalâs financial performance, corporate governance, and growth roadmap":(r==null?void 0:r.title)||""),l0=QV((Mb=r==null?void 0:r.backgroundImage)==null?void 0:Mb.url),c0=((d0=r==null?void 0:r.backgroundColor)==null?void 0:d0.trim())||void 0;w.useEffect(()=>{f(J=>{var xe;const ce=Nfe(hs);for(const Te of Object.keys(ce)){const En=hs.find(Ve=>Ve.slug===Te),K=J[Te];if(!En||!K)continue;const ve=En.tabs.find(Ve=>Ve.id===K.tabId);ve&&(ce[Te]={tabId:ve.id,...(xe=ve.subTabs)!=null&&xe.length?{subTabId:ve.subTabs.some(Ve=>Ve.id===K.subTabId)?K.subTabId:ve.subTabs[0].id}:{}})}return ce})},[hs]);const Hn=hs.some(J=>{const ce=h[J.slug];if(!ce)return!1;const xe=J.tabs.find(Te=>Te.id===ce.tabId);return(xe==null?void 0:xe.variant)==="unclaimed-ncds-form"});w.useEffect(()=>{if(!Hn)return;const J="ABCDEFGHJKLMNPQRSTUVWXYZabcdefghjkmnpqrstuvwxyz23456789";let ce="";for(let xe=0;xe<6;xe++)ce+=J[Math.floor(Math.random()*J.length)];G(ce),C("")},[Hn,I]);const Sa=async J=>{if(J.preventDefault(),W(!0),!!ae){F(!0),M("");try{const ce=await bfe({holderName:y.trim().replace(/\s+/g," "),dpidClientId:_.trim()});
342if(ce.length===0){M("No unclaimed NCD records found for the provided details."),k(!0);return}L(ce),O(!0)}catch(ce){const xe=ce instanceof Error?ce.message:"Unable to search unclaimed NCD amounts. Please try again.";M(xe),k(!0)}finally{F(!1)}}},fs=()=>m.jsxs("div",{className:"max-w-md",children:[m.jsx("h3",{className:"text-lg font-bold text-akara-darkText mb-8",children:"Please provide your details"}),m.jsxs("form",{className:"space-y-6",onSubmit:Sa,children:[m.jsxs("div",{className:"space-y-1.5",children:[m.jsxs("div",{className:"relative",children:[m.jsx(RS,{id:"unclaimed-name",name:"holderName",placeholder:" ",className:ne,value:y,onChange:J=>v(J.target.value),onBlur:()=>Y(J=>({...J,name:!0})),autoComplete:"name","aria-describedby":"unclaimed-name-error"}),m.jsxs("label",{htmlFor:"unclaimed-name",className:Ce(Ue,"text-sm"),children:["Name",m.jsx("span",{className:"text-akara-red",children:"*"})]})]}),(te.name||X)&&y.trim().length<2&&m.jsx("p",{id:"unclaimed-name-error",className:"text-sm text-akara-red",role:"alert",children:"Name is required."})]}),m.jsxs("div",{className:"space-y-1.5",children:[m.jsxs("div",{className:"relative",children:[m.jsx(RS,{id:"unclaimed-dpid",name:"dpid",placeholder:" ",className:ne,value:_,onChange:J=>x(J.target.value),onBlur:()=>Y(J=>({...J,dpid:!0})),autoComplete:"off","aria-describedby":"unclaimed-dpid-error"}),m.jsxs("label",{htmlFor:"unclaimed-dpid",className:Ce(Ue,"text-sm"),children:["DPID / Client ID",m.jsx("span",{className:"text-akara-red",children:"*"})]})]}),(te.dpid||X)&&_.trim().length===0&&m.jsx("p",{id:"unclaimed-dpid-error",className:"text-sm text-akara-red",role:"alert",children:"DP ID / Client ID is required."})]}),m.jsxs("div",{className:"space-y-1.5",children:[m.jsxs("div",{className:"relative",children:[m.jsx(RS,{id:"unclaimed-captcha-input",name:"captcha",placeholder:" ",className:Ce(ne,"text-center"),value:E,onChange:J=>C(J.target.value),onBlur:()=>Y(J=>({...J,captcha:!0})),autoComplete:"off",autoCorrect:"off",autoCapitalize:"none",spellCheck:!1,"aria-describedby":"unclaimed-captcha-error"}),m.jsxs("label",{htmlFor:"unclaimed-captcha-input",className:Ce(Ue,"text-sm leading-snug"),children:["Enter the Character You See On the Image",m.jsx("span",{className:"text-akara-red",children:"*"})]})]}),(te.captcha||X)&&z.length>0&&(()=>{const J=Te=>Te.replace(/\s+/g,"").toLocaleLowerCase("en-US");if(J(E)===J(z))return null;const xe=E.trim().length===0?"Enter the characters shown in the image.":"The characters do not match the image. Please try again.";return m.jsx("p",{id:"unclaimed-captcha-error",className:"text-sm text-akara-red",role:"alert",children:xe})})()]}),m.jsxs("div",{className:"relative box-border flex h-[52px] max-h-[52px] min-h-[52px] w-full select-none items-center gap-2 rounded-lg border border-gray-300 bg-[#ececec] px-2",children:[m.jsx(Zhe,{text:z}),m.jsx("button",{type:"button",className:"absolute right-5 top-1/2 z-10 flex h-10 w-10 shrink-0 -translate-y-1/2 items-center justify-center rounded-full border-0 bg-transparent text-[#333] hover:bg-transparent disabled:cursor-not-allowed disabled:opacity-50",onClick:()=>{R(J=>J+1)},"aria-label":"Refresh captcha",children:m.jsx(eY,{className:"h-4 w-4"})})]}),m.jsx("button",{type:"submit",disabled:!ae||B,className:Ce("w-full rounded-lg py-3 text-center text-base font-medium text-white transition-colors",ae&&!B?"cursor-pointer bg-akara-red hover:bg-akara-lightRed":"cursor-not-allowed bg-[#9ca3af]"),children:B?"Searchingâ¦":"Submit"})]})]}),ps=J=>m.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 md:gap-6",children:J.map((ce,xe)=>m.jsxs("div",{className:"bg-white p-4 md:p-6 rounded-lg shadow-sm documentbox",children:[m.jsx("h3",{className:"font-medium text-akara-darkText mb-3 text-sm md:text-base",children:ce.title}),m.jsxs("button",{onClick:()=>bt(ce.link,ce.title),className:"text-akara-blue flex items-center text-sm font-medium hover:underline cursor-pointer",children:["View document ",m.jsx(kI,{className:"ml-1 h-4 w-4"})]})]},xe))}),Si=(J,ce)=>{f(xe=>{var Te,En;return{...xe,[J]:{tabId:ce.id,...(En=(Te=ce.subTabs)==null?void 0:Te[0])!=null&&En.id?{subTabId:ce.subTabs[0].id}:{}}}})},Jl=(J,ce)=>{f(xe=>{var Te;return{...xe,[J]:{tabId:((Te=xe[J])==null?void 0:Te.tabId)??"",subTabId:ce}}})},Rb=J=>{var xe;const ce=(xe=h[J.slug])==null?void 0:xe.subTabId;return m.jsx(che,{type:"single",collapsible:!0,className:"w-full md:hidden bobileaccordion",children:J.tabs.map(Te=>m.jsxs(ZU,{value:Te.id,children:[m.jsx(eV,{className:"text-left px-4",children:Te.label}),m.jsx(tV,{children:m.jsx("div",{className:"px-4",children:Te.subTabs?m.jsx("ul",{className:"subtablist mobile",children:Te.subTabs.map(En=>m.jsxs(w.Fragment,{children:[m.jsx("li",{className:`subtabitem ${ce===En.id?"active":""}`,onClick:()=>Jl(J.slug,En.id),children:En.label}),ce===En.id&&m.jsx("div",{className:"documentparent",children:ps(En.documents)})]},En.id))}):Te.variant==="unclaimed-ncds-form"?m.jsx("div",{className:"documentparent px-0",children:fs()}):Te.variant==="unclaimed-ncd-disclosure"?m.jsx("div",{className:"documentparent px-0",children:m.jsx(TL,{active:!0,onViewD
342ocument:bt})}):m.jsx("div",{className:"documentparent",children:ps(Te.documents??[])})})})]},Te.id))})},u0=J=>{var Te,En;const ce=(Te=h[J.slug])==null?void 0:Te.tabId,xe=(En=h[J.slug])==null?void 0:En.subTabId;return m.jsx(Ke,{className:"py-16",children:m.jsxs("div",{className:"container mx-auto px-0",children:[m.jsx("h2",{className:"text-3xl font-bold text-akara-darkText mb-12 sebititle",children:J.title}),Rb(J),m.jsxs("div",{className:"hidden md:flex flex-col md:flex-row sebiboxparent",children:[m.jsx("div",{className:"md:w-1/4 sebileftboxsec",children:m.jsx("div",{className:"space-y-2",children:J.tabs.map(K=>m.jsxs("div",{children:[m.jsxs("div",{className:`px-4 py-3 cursor-pointer leftslidebtn 343 ${K.subTabs?"has-subtabs":"no-subtabs"} 344 ${ce===K.id&&!K.subTabs?"bg-akara-red text-white activesec":""} 345 ${ce===K.id&&K.subTabs?"subtabs-active":""} 346 `,onClick:()=>Si(J.slug,K),children:[m.jsx("span",{className:"tabtext",children:K.label}),K.subTabs&&m.jsx("span",{className:`tabicon ${ce===K.id?"minus":"plus"}`}),!K.subTabs&&ce===K.id&&m.jsx("span",{className:"tabicon chevron"})]}),ce===K.id&&K.subTabs&&m.jsx("ul",{className:"subtablist",children:K.subTabs.map(ve=>m.jsx("li",{className:`subtabitem ${xe===ve.id?"active":""}`,onClick:Ve=>{Ve.stopPropagation(),Jl(J.slug,ve.id)},children:ve.label},ve.id))})]},K.id))})}),m.jsx("div",{className:"md:w-3/4 documentparent",children:J.tabs.map(K=>{var ve;return ce===K.id&&m.jsxs("div",{className:"animate-in fade-in duration-300",children:[K.subTabs&&xe&&ps(((ve=K.subTabs.find(Ve=>Ve.id===xe))==null?void 0:ve.documents)||[]),!K.subTabs&&K.variant==="unclaimed-ncds-form"&&fs(),!K.subTabs&&K.variant==="unclaimed-ncd-disclosure"&&m.jsx(TL,{active:ce===K.id,onViewDocument:bt}),!K.subTabs&&K.variant!=="unclaimed-ncds-form"&&K.variant!=="unclaimed-ncd-disclosure"&&ps(K.documents??[])]},K.id)})})]})]})},J.slug)},wo=(J,ce)=>m.jsx(Ke,{className:"py-16",children:m.jsxs("div",{className:`container mx-auto px-0 flex noticegeneralparent${ce?" items-start":""}`,children:[m.jsx("h2",{className:"text-3xl font-bold text-akara-darkText mb-8 max335 sebititle md:w-1/4",children:J.title}),m.jsx("div",{className:`md:w-4/5 noticeofgeneraldoc documentparent grid grid-cols-1 md:grid-cols-3 gap-4 md:gap-6${ce?" items-stretch":""}`,children:J.documents.map((xe,Te)=>m.jsxs("div",{className:`bg-white p-6 rounded-lg shadow-sm ${ce?"h-full flex flex-col":""}`,children:[m.jsx("h3",{className:`font-medium text-akara-darkText ${ce?"mb-1":"mb-3"}`,children:xe.title}),ce&&xe.subtitle?m.jsx("p",{className:"text-sm text-gray-500 mb-3 flex-grow",children:xe.subtitle}):null,m.jsxs("button",{onClick:()=>bt(xe.link,xe.title),className:`text-akara-blue flex items-center text-sm font-medium hover:underline cursor-pointer ${ce?"mt-auto":""}`,children:["View document ",m.jsx(kI,{className:"ml-1 h-4 w-4"})]})]},`${J.slug}-${Te}`))})]})},J.slug),kb=J=>J.layout==="sidebar-tabs"?J.tabs.length?u0(J):null:J.layout==="document-grid-with-subtitle"?J.documents.length?wo(J,!0):null:J.documents.length?wo(J,!1):null;return o&&!t?m.jsx(ZV,{}):c&&!t&&!i?m.jsx("div",{className:"min-h-screen flex items-center justify-center text-akara-lightText",children:"Loadingâ¦"}):m.jsxs("div",{className:"min-h-screen investorpage",children:[m.jsx(Wl,{title:Fr,subtitle:xo,showQuote:!0,maxwidth:900,lineheight:"56px",backgroundImageUrl:l0||void 0,backgroundColor:c0}),hs.map(J=>kb(J)),m.jsx(Vde,{isOpen:g,onClose:jt,documentUrl:(p==null?void 0:p.url)||"",documentTitle:(p==null?void 0:p.title)||""}),m.jsx(vfe,{open:N,onOpenChange:O,results:j}),m.jsx(Yhe,{open:D,onOpenChange:k,children:m.jsx(VV,{children:m.jsx(XV,{children:m.jsxs(HV,{children:[m.jsx("p",{className:"text-akara-darkText",children:U||"We are processing your request. Will update you soon."}),m.jsx("br",{}),m.jsx(GV,{type:"button",children:"OK"})]})})})})]})},Mfe="/assets/dlaheaderimg-HwNQ2ajd.png",Ofe="/assets/Website-B5jEASo6.png",Lfe="/assets/AppStore-FH91Wszo.png",Bfe="/assets/GooglePlay-BoA663mQ.png",jfe="data:image/webp;base64,UklGRjgOAABXRUJQVlA4WAoAAAAQAAAAMgEAMgEAQUxQSO0KAAABsIdt+yK11febXVjirkjc3d2laaxucavHXRmI5zQuQOzUlaTeeD3ulbi70BRbWJ35/phv5vebZblmjhIREwAF/i/wf4H/C/xf4P9/G40tYr9E/TrAfqnnSbRfZuJJl91S/DT6e9stI/yIOyPtlQp/ImLuIFul8GYVEfFMGRuFvRlA8kOXbSI9n4l0cL7TJpFecaO+Ot9li5RcraDR4KfF7A9n/99U5DzRV7I1pNJPHlWQP7ijXYR90fer60EUGzixrBWzKTp8/kAVhIG765w2BbAyo46rItwf9ivrABvT9eQVrtyt0WB7Vv0haOxODwls0KhE1YC6ozzYo5FrA3p7ioFdGrlOZ18xsE8r/0mcjwY7tVcmIvpGgL26GRG/KGyztM5EdxOwWQvtwy+Z3QJj1VFg6SWWF+rdaGK5mMMZVTymUacBwyYu3LDClRec7ZwWiEkRhUvH1W3Z8/nX5vxj6/ZdP5+8dOvvnICiqp6RYFMWnvfBjoN/3MzwKSpyfxNlV0D94yj6YXOwL+scFLUU7MziX4k5VtHWgMJJqgD/QLA5pUQv37ZCdgdIo3N5btcBG7R3mrHgWLBFu143dLikPQL1/jbg7gM2acQBAylOuwSW6p2PBtv0GZVSx4J9WtZN/Rplo7DjRHprsFMXE/Fgq/YIIOK9GHul7A1E5XmwV6XvELe5bBYYh5n1wG5tGoxntkuxH0uA7coqQ4H//1/zHsna9SU5XkzWJtUItZprkjmXj+9VxlDJ5cnCxzJN4eXJ2qUOQ88ka1Na61TdkCy4HtU9mXP94jEti3L0S9aujOV4JZksGUJjkfzQZWw5apUOIiKq9h78ymvDnqgdJaJNFnKrd7f3jdSr8BCFfy1pSj9A7YNIQ4uRHKzTyodig72osSpy+y+vasaMTFdR+67T2PuoDcaGnjpPSHu+WPlQekBRVTXgPvNWw1BAxMCeKvnImwIQ
346MXtFpIFplG+isffyDHq7hkDJ+DQ07N5SKSQQzzTJ51DdUZILMzqGB7wSZ1qv3xXkvTuchQRejs7nEP/JuPBsxfCA+wqb9GwGCnRPlUICk5z5XfBpPnW7KzzgIsmUvn+hUGUCE3Bz0xby07NBnQc1NSV37qd/vUWd3a+7nIXa8cQFvLU4Dm3eot363U0dPOLiQnUuCw/u/mbUuouCszoL2CEB7eq8l1Jf04DEdBdQLzF9CLUUEK0zGWhWfPAdKqchH2Z0DQ94vaG4yB0o/LciJgCUOkPgFqYxqDMIOMPIFB0A6Pw3oQ4VgBdqhQc8WEpYL784fJOZASMVYp8z32JJBC4SgbuKhwdcyARJ36KJZ0qY0sRNHI7It2AUtV6IMi+veSjvICYmJtuMQG9TGlD7nfnXUGoNh4/AnP55bHYagWmNxbyEpsab8pJCfOEIpczuXQx2flvQpw2MNyxiBltOzeRIySLwbp281XeEn8CfSglJMWc7MyHqMJKLIJRUr+GAIF+28aweZtRJI5ReHMPGBwn80ZWnHofNFCa7BEj7zPnNycV0pGobkfT2DimxXLxKT67JOiyizRkk75XnGCy9TeFbLG+VPEgprwiIOGLODRfP2RmzyWU7HyD9c5F85qtZs7Vzk/e7kV7JeKDSMcr/Qt6CqmkE3m3KF3nUnOtcAgODIZ8ReD0GuKB5OoHp1fIWDMol8FhVLscP5px0mhVYGZHfeQaCABjhJfCXMnnLsZzCD97igXfN+QxM8iVIEFpKZpZRvyD3Lc4uZt3vB0Kcb1Pq1rfzFBT9USU8l7heNWeeOervzzkhxB5Wr2qwygZBm4sYLyqZ49vVHMRA6SMEBm/kLYi+QegaifOYEehszrxIEGnSg0gwulhQCogWkt2JgSioe5vQzTswyCeI7TfjjyJcaZ+lpqZ+9pD6s0R+9Edqamrq134C15gAo5XwwOIVMdDHJ059Ebi+kwAAensITHbkQ5MAAKQUKjDIBGlJeIDI3YKi9os7UphvB+HYTvn650NTNBB7nsCbceKg+N7wADWuioE26aIyWoIoqHCbwCvRYSg5NKC7h8CPmDio9ig8QK90MfBktpjAiyAOHvMQuD4i/Py+bgNn0kAxsJ7CISZAP094YDMFsVFuEVljmBkRmynvkPAjcJmgmFPUvXomOOLDAxT/QhUCrM9lvnuPgXEuKHOfwIdVw99SQdDdS2CqJA4cv4QHqHRMDED0hjRjjzaWA5PgKQ+Bn7nyK7aYUiaaAFWvhAfolC0IWNVJP+eqGtW9/80aEpgmraaUV/IrqHCewPQmJkCH3DzT15hjkioIAFxx3YeOnzC8Z+UIENiW2mkAyt4m8Hp9joWiHoZAa2HLhEEvL4G/OonpQmCGGnItE2RZlhPrGwPHGwmyLCfEijC3wlxZluWE4cwAtE+QyWeZse4JsizL85vxFJoha2c5DXVLkGVZTmysEy0LTuxDtU6QZVlO7GAEXkqQtfNrEe0SZVmWE5twFBovy7KcUDyECvxvVWs21MYwAVJZzjLFnUyco2Kr58bOmDyid4NSzApVuu/X/lFeQL0HmZx/X981owETweKmHXcrSPrS97xU2PpMQlJ5WkCDHORXPe82YFwlZt9U0bB68kmHxSlxlcJPWEggYs5chzGp+xnkV76uYm1eVXX+ahQqGJjKDL2ZhUIv17Iyjp9QV13JQgX9TxmQBuWi4LUOC9MgVw/v1ggZPFlI78lM1PfdOHc1XdU5WhqsK9uMRmeIOtSyNdlj3O4A5e2oU/Yy0v4fh0e7HK6KPTZlaH6PAwtb9ZGhX6IE7QT9yDFeAmWdZSrlmeACmjXYreKjumBlF6M2ZzuR87hpwJKovVRsGpLpvRgYLDQ36wmwskWuEvvqZGtwu3nQJUCcZcQyJAMTGRhm1cHS9lQ06vNsG+Gua14dD3HJqSl0hvqpMFho507Uni8N/T0aXMNMa+EnTjFNMy8ReA6sdBMPMROgyEniannTJiP5BWifV4lLFSzVFtSm1wSAeCIwxqzm96nxxFwkP3NYqdgs4j0GAHFpGjwSKWJX0WJkyfpz05DMrkKsp1YzK/WaSgwEAGAfEMHuIjJOnCTPpClIf+kgNlHLrVTUedReKqyBrlka/NIpQOCdOCCTqNVWakCAWFSGrHiASK8dArd6A72Q+liyTo6fUKteOU+eyyLUePNONgfdEdS5itapWS7Bf7W4SZemVgT9DioR7GudlqJg5XU+JVerUEkMDJa6SeAXLqtU4bYoPBLJ9Wujxo0bN/6ICrQzAkmUdzRP/SirMg6F5/bk2gnauhcJPFjOSOsMAm+2NtbvxlKnNSl2hlByjOZ6CPyAiYHBQQK3MgOODyi897RTr+wiD6oLXJakr0okN2pstNc9Ir26IMenVLCfAajziMJASttSDJiz1phzKiIqstOCOHag1tcEDEtrCVwqCGIvEHiprAEY76UQ1Zs/fb77rBtpNdFpPWplE3+6jEE7P3GhpCB4QSUwiRlwrFF0uFOjLAdbglp1NHBKuwjldVHOzZTyhgFwLvEJUd8uBJazzF3iQTkeeCmowYNMENS4TeC1ygbAMTVDgG+OC6znm0iuBO6KlwlfM1HQ30/gNskAsPofezn8ezozsJ5FzwW1OXX42FIlqH2faeq7g9rvjLD3gvQYZgDA0eyd+wYytnd3gRV11a+rrcn4oFi9utpqoI2qV1cbbQRK1qtLVgHeEj3jk99+++2UBQPKQoH/C/xf4P8C/xf4v8D//x0cAFZQOCAkAwAAkCQAnQEqMwEzAT6dTqNNpCkjoqFTCEiwE4lnbuF1SdX/gOTaI+jjnAbYDzAdFXzgOpS9ADpWb8lMBT+xg78vF6Z6usy8Xpnq6zLxemerrMvF6Z6usy8Xpnq6zLxemerrMvF6Z6fJOUGAS0L0z1dZl4tqzuW0uICkJbJTEqCSeq0hgL0ngb+QGXMLmHxzpR1CbCSzj//6B1mVSCRBAxBEbRTVtCaaku4MrrMqkVXM+TOnUZyeHKExed0Xt6lOmk3sHxWZeL0z09GUahYMC3EleamerrMvF6UP+vliCsy8Xpnq6zLxemerrMvFuCEXUo9M9XWZeL0zwJPaerrMvF6Z6usy8Xpnq6zLxemerrMvF6Z6usy8Xpnq6zLxemerrMvF6Z6usy8Xpnq6zLxbQAD+/39kAAAAEz7AKx33V5KEv/f6V/wub08zvFtxiYP0d8R1vwfucH3/vbmbPxtxWX/Y0Qu8KmChAACf6yGDuNgg424FSwlkeNEF4VoBUY9P86J41op8cJUNbpUf0AguStjD/imCy3cKRMm1jgsRx/+8wujbXPGxLr5BFy4BxiczjCJVZUTXssTuneCeGl3TSQYshHHD+WQj3c7SO4VL4Viu4GvYs/3Kyop2YiWwhYsTO3z69cpj9FE+hTRS2MajL/Mf/+/J//Zvf/9+Yus/eASER0adTlXL9EYL/gy4XH4RJU//7vGEpMA2FmXppP0ps7jnCO/j+bz0qs+f8Y4g1HzfJ3OSC7tD/sRc0tXfBxqchZDXdaJx8Smcpn9s6eePj/FAzbwzLWgzvgtg1tm8d8yYdjR/vG5CWcDAAAse6iWFzkkGirtorHz5X16/3L811X+2ybTPhAyWAA1RMkhctvLlGcVubKas3JLHU6QFBMmdm8W3t8mXYez8CGS/Zn7KELe4S9/D5/4rsDnNnXlZHaDdfpXAy3/HZ05Ov39BLHekbAy6QUIFOdAnFLRlI3lAFlVFs2sDb3+N3q8J+fGEHUgk8d7YOMp32twsFfRWq+YAAAASunL0QiE3MgDzFk9Fmo3+lJk51XaH9Qflw87CMAAAAAAAAAAA",Ffe="/assets/AerialTelecomSolutionsPvtLtdLogo-eCr5juZT.jpg",zfe="/assets/meta%20(1)-CjPs86bK.webp",Ufe="data:image/webp;base64,UklGRgwFAABXRUJQVlA4IAAFAACwJgCdASrhAOEAPpFIoEulpKMhpFXoULASCWVu4XX77k/Vamr1L8u+dz4fjlPivE/0X/ledX1AeYJ+s/SG8wH7TesJ/Zv2A9z3oAfsl1iPoGftv6av7k/Cv/cP+N+0XtJaqrcS4T7E5SHBXSgs6buQSAh1Jyd0Q6k5O6IdScndEOpOTuiHUnJ22uV3vRGJCbPhpaTGTus6VvFsY+uFBYM1ruiHT5WxOeaSVTFHEWlZaMeyOpORQsQgscF6IWMMybpdoN4yi13RCuOeZuDeWv52/8jFGt8ex3SPnuDxNqi3P/eGlljA2MoMOHF708htuFSE8AumF8l0AKBkPqllj+gUcBrH8w8MNcbz/0vj2vgiRnU1X
346FplVu7ohdkcHSVqiuXqTk7oh1Jyd0Q6k5O6IdScndEOpOTuiHUnJ3RDp8AA/v+nDAADhpSFu5pGQti8Sa+bJjN3XIfkm4svMW65uRKbN6tFHVXgLKvQ72nyRq4ZOOR/MBPaw64Xvt/K1apqp7H4Ax/SZxSoJz5nV9w836fdiCuoitiGd5CpE9ojUl+R37VuA+vYqXmPz32PKKV4rh1OIYMMlSF7urwa8a2g1iN3iyW+Frl6SIjdYvfYC0WKKgd7n4xgxsJvjdlSuV4ywQLk40Yd0pYHD3q+cRA6Qvii55MfnxOAAlcE0nhCZ4GNzSg7QXIknlmA/GJX9sz+hW7S8SEOyb5VwEeLahi5ip91QIwhzlGq+xKM2t8iLb6u0xQ8NEf1KOxQ0tygyP/JSQXW1u14oXVKtWkPJ0ndFaJf3XWHp6Gr+nlXHKDbJ09VtQmIOTvh+PmiHrMG+flkK7w1QU8Z0BsIPQjhTfVlQV26+uW1bz4Y3qMAQReMSuSGZpkjkgWcSL8VphFn6+8IgtmCC0zM/cZ7LXvcONolxfKJi9ZzEJ8yBJzsGMmDFLBcRymJqHINHfQZXjCUT+1dQdc+iiFi+D2/8aJelEUpy2X9GF5+seLRwaGOtNQuJSu9CqNG72W4QgtjxOBfkot9Rf7l1rSAZASxfRXcsVsyH3XyeOOpTAYKVhucXSgbzdVfUXYR2vprRLkRMwfHlm620MeRR+0L+lvt4JuyNRWTZLrZXGo3BRO5Rwt/i5edS654hwQ8tDqHrRcoN92cIt2XjVfxpXKA/yJ5n/RZJsv8SkdLv/X7iwL++KWESaK7Z8QSFfNo6RRJITNcxKAUwzyf6tgYlBUpZqeHHqedl1eN1bG3V9f8inlRnMVLxkWOxZe90HBnijUqe6wcn8cTfzCvHdAPleIgb49Id/Kod266IeEBPnUTmb9v84FxVA+rGP/mIOx3rnU0VZ+XqB4O9/gOhSZRyhjQaouJKK4fCi21tEIkDJuYcTbdgKdM8RD8ilXE4m9APmjdE7FPtx5W3VJWybn5esg47hJ4sSgnFgpzdwMGl0mbxgputo7soblP4Fd5v31IOGGSrDHr2j+L6+6Zd9TBvdu+TDYXSylXdV99HZGke/GTSeEP+2UlKWYeK8ps5os1DYUOQoSs5kD3WrpK5JK6qIeeKXW4nVjDV2eof0NotzrdiHzAuAPcnEijhf5x0VkFAMGdMUibw4Z03IOQkt1t50f2JJxv0R6bsfQyqrf1tz1nu0fldsyEnbcdiiws4XQ+J2eoNrrmjwukJNta0AvVzRxy8T5GRLr+uUXBBBfnnlG/xshZKTIAAAAAAAAAAA==",Vfe=["A2A Solutions","Aequitas Debt Solutions Private Limited","Allset Business Solutions","Ankush Services","Apex consultants","Ariel Telecom Private Limited","Ariyog Analytic Solutions Private Limited","Arthvit 1809 Tech Private Limited","Attainet Services Private Limited","AV Consultancy","Baisoya Enterprices","Bhavani Business Solutions","Blue Ventures","Bsa Infomedia Pvt Ltd","BSQUARE Consultantss","Cinco Debt Management Service","Collexiom","Collman Services","Collmax Solutions","Creditron Services Pvt Ltd","Daivik Fintech","Debt Care Enterprises Pvt Ltd","Dial hem","Durga Associates","E-Solve Infotech Pvt Ltd","Echoe Assistance","Elevate BPO Services Pvt Ltd","Evolution financial enterprises","EXELIQ INNOVATIONS PRIVATE LIMITED","Fairdebt Solution Private Limited","Fastserv Info Services","Friends Business Solution","Garika Financial Services India Private Limited","Goalcryst","GSPK Consultancy","Gurman Industries","Hi-tek Syndicate","Impetus Collection Services","Jmd Services","Kalyani Associates","KONEXIONS BACK OFFICE SERVICES PVT LTD","KORRIO Financial Services","Krystal Management Pvt Ltd","KUMAR ASSOCIATES","Lotus Enterprises","Master Services","Nexrise Solutionss","Nexus","Nsb Bpo Solution Ltd","NV consultants","om sai enterprises","Profitable Solutions","Qrelix Solutions","REFORMER CAPITAL ADVISORS PVT. LTD.","Reliable Solution","Rj Enterprises","RR Associates","Rudra Associates","Samadhaan Infocom","SAMASTA GLOBAZO SOLUTION LLP","Saviour Management","Sequel Consultant","Shree Balaji Traders","Shree Bihari Lal Services","Significance Management Services","SM Services","SR Associates","Srinidhi associates","SRS Advisory Pvt Ltd","SS Associates","SS Telecom","Sunprime Solution","Tanishq And Tithi Services","TECHNOWHIZ BUSINESS SOLUTIONS PRIVATE LIMITED","Trinity Services","Trisha's Tele Marketing","TRUE BUSINESS MINDS PVT LTD","True Edge Innovation Pvt Ltd Pvt Ltd","Unified Services","Vega Corporate Services Pvt Ltd","viamod solution private limited","Visat Enterprises","Visesh Credit Services","VR Source","Waves Enterprises","Kumar Associates","Va Associates","Globus India Services","Om Shankaraya Associates Pvt Ltd.","AS Consultant"],Xfe=["ACCRUE FINANCIAL SOLUTIONS","Alpha Enterprises","AshPa Global Enterprises","AVP Enterprises","B2Digital Strategy Private Limited","Care Capacity","Gleamit Tech Solutions Pvt. Ltd","Kroda Infotech Services Pvt. Ltd.","LEGALPAY TECHNOLOGY PRIVATE LIMITED","MF Services Private Limited","MI Collect","MSWIPE capital Pvt Ltd","Nk Solution","Om enterprises","Prolynk","Ra Money Mantra","Sara Credit Solutions","SHIVTEL COMMUNICATIONS PVT LTD","Shree Khedapati Balaji Associates","Shri Sai Enterprises","Sigma Outsourcing Services Pvt. Ltd.","Spark Management Services","Tangent","Thakur associate","Trusha Enterprises","Unique Associates","VA Associates"],kL=({n
346ames:n})=>m.jsx("div",{className:"co-lendingImg-group",children:n.map(e=>m.jsx("div",{className:"boxes",children:m.jsx("p",{style:{fontSize:"x-large"},children:e})},e))}),Hfe=()=>m.jsxs("div",{className:"min-h-screen partnerspage",children:[m.jsxs(Wl,{title:"",subtitle:"Our partners",maxwidth:865,showQuote:!0,lineheight:"56px",children:[m.jsx("p",{className:"dlaprtners",children:"DLA &"}),m.jsx("p",{className:"text-lg text-white mb-8 max-w-2xl partenerherotext",children:"Lending Service Providers"})]}),m.jsx(Ke,{className:"partnersfirstsec",children:m.jsx("div",{className:"",children:m.jsx(ee.div,{className:"",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.1},viewport:{once:!0},children:m.jsxs("div",{className:"dla-wrapper",children:[m.jsxs("div",{className:"dla-content",children:[m.jsx("h2",{children:"DLA"}),m.jsx("p",{children:"Stashfin is a leading financial services platform with a mission to provide access to fair, fast, affordable and transparent financial products for millions of borrowers across India. By providing a simple, clean, efficient and easy to navigate digital platform, Stashfin empowers individuals in helping to take charge of their financial health. Stashfin provides aftordable financial products to borrowers in India to meet their credit needs and is among the top 5 financial services platforms. The firm also strives to create opportunities for borrowers with limited credit footprints to participate in the formal financial system, thereby enabling them to build their credit footprint and successfully embark on a journey of economic freedom."}),m.jsxs("div",{className:"dla-button-group",children:[m.jsx(_e,{to:"https://www.stashfin.com",target:"_blank",className:"dla-website",children:m.jsx("img",{src:Ofe,loading:"lazy",alt:""})}),m.jsx(_e,{to:"https://apps.apple.com/in/app/stashfin-loans-bonds-more/id1276990457",target:"_blank",className:"dla-appstore",children:m.jsx("img",{src:Lfe,loading:"lazy",alt:""})}),m.jsx(_e,{to:"https://play.google.com/store/apps/details?id=com.stashfin.android&pli=1",target:"_blank",className:"dla-googlePlay",children:m.jsx("img",{src:Bfe,loading:"lazy",alt:""})})]})]}),m.jsx("div",{className:"dla-image",children:m.jsx("img",{src:Mfe,loading:"lazy",alt:""})})]})})})}),m.jsx(Ke,{className:"coLendingPartners",children:m.jsx("div",{className:"",children:m.jsx(ee.div,{className:"",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.2},viewport:{once:!0},children:m.jsxs("div",{className:"lending-partner",children:[m.jsx("h3",{children:"Lending Service Provider"}),m.jsxs("div",{className:"co-lendingImg-group",children:[m.jsxs("a",{href:"/LSP/Stashfin details.pdf",target:"_blank",rel:"noopener noreferrer",className:"boxes",children:[m.jsx("img",{src:"/stashfin-logo.png",loading:"lazy",alt:""}),m.jsx("p",{children:"EQX Analytics Private Limited"})]}),m.jsxs("a",{href:"/LSP/Mint Money Details.pdf",target:"_blank",rel:"noopener noreferrer",className:"boxes",children:[m.jsx("img",{src:"/HT.svg",loading:"lazy",alt:""}),m.jsx("p",{children:"HT Digital Streams Limited"})]}),m.jsxs("a",{href:"/LSP/Indialends Details.pdf",target:"_blank",rel:"noopener noreferrer",className:"boxes",children:[m.jsx("img",{src:"/GC Web Ventures.svg",loading:"lazy",alt:""}),m.jsx("p",{children:"GC Web Ventures Private Limited"})]}),m.jsxs("a",{href:"/LSP/Turtlemint Details.pdf",target:"_blank",rel:"noopener noreferrer",className:"boxes",children:[m.jsx("img",{src:"/TM Logo.png",loading:"lazy",alt:""}),m.jsx("p",{children:"Turtlemint Fintech Solutions Limited"})]})]})]})})})}),m.jsx(Ke,{className:"coLendingPartners",children:m.jsx("div",{className:"",children:m.jsx(ee.div,{className:"",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.2},viewport:{once:!0},children:m.jsxs("div",{className:"lending-partner",children:[m.jsx("h3",{children:"Co-lending Partners"}),m.jsx("div",{className:"co-lendingImg-group",children:m.jsxs("div",{className:"boxes",children:[m.jsx("img",{src:jfe,loading:"lazy",alt:""}),m.jsx("p",{children:"Northern Arc Capital Limited"})]})})]})})})}
346),m.jsx(Ke,{className:"coLendingPartners collectionPartners",children:m.jsx("div",{className:"",children:m.jsx(ee.div,{className:"",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.3},viewport:{once:!0},children:m.jsxs("div",{className:"lending-partner collect-part",children:[m.jsx("h3",{children:"Collection Partners"}),m.jsxs("div",{className:"collection-agency-subsection",children:[m.jsx("h4",{children:"Empanelled Agencies"}),m.jsx(kL,{names:Vfe})]}),m.jsxs("div",{className:"collection-agency-subsection collection-agency-subsection--revoked",children:[m.jsx("h4",{children:"Agencies Revoked"}),m.jsx("p",{className:"collection-agency-subsection-note",children:"The following agencies are no longer empanelled."}),m.jsx(kL,{names:Xfe})]})]})})})}),m.jsx(Ke,{className:"coLendingPartners customerSupportPartners",children:m.jsx("div",{className:"",children:m.jsx(ee.div,{className:"",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.4},viewport:{once:!0},children:m.jsxs("div",{className:"lending-partner customSupPart",children:[m.jsx("h3",{children:"Customer Support Partners"}),m.jsx("div",{className:"co-lendingImg-group",children:m.jsxs("div",{className:"boxes",children:[m.jsx("img",{src:Ffe,loading:"lazy",alt:""}),m.jsx("p",{children:"Aerial Telecom Solutions Pvt Ltd"})]})})]})})})}),m.jsx(Ke,{className:"coLendingPartners marketing-partners",children:m.jsx("div",{className:"",children:m.jsx(ee.div,{className:"",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.5},viewport:{once:!0},children:m.jsxs("div",{className:"lending-partner marketPart",children:[m.jsx("h3",{children:"Marketing Partners"}),m.jsxs("div",{className:"co-lendingImg-group",children:[m.jsxs("div",{className:"boxes",children:[m.jsx("img",{src:Ufe,loading:"lazy",alt:""}),m.jsx("p",{children:"Google Ad Network"})]}),m.jsxs("div",{className:"boxes",children:[m.jsx("img",{src:zfe,loading:"lazy",alt:""}),m.jsx("p",{children:"Meta Ad Network"})]})]})]})})})})]}),Gfe="/assets/why-akara-DFOxtQNm.png",$fe="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_7_7461)'%3e%3cpath%20d='M10.0003%205.00008V10.0001L13.3337%2011.6667M18.3337%2010.0001C18.3337%2014.6025%2014.6027%2018.3334%2010.0003%2018.3334C5.39795%2018.3334%201.66699%2014.6025%201.66699%2010.0001C1.66699%205.39771%205.39795%201.66675%2010.0003%201.66675C14.6027%201.66675%2018.3337%205.39771%2018.3337%2010.0001Z'%20stroke='%23A4A7AE'%20stroke-width='1.66667'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_7_7461'%3e%3crect%20width='20'%20height='20'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",qfe="/assets/flag-iiqELIKg.svg",Yfe="/assets/bhupesh-BB_3HcYy.png",Wfe="/assets/kanika-5Sf7-Vv_.png",Kfe="/assets/anubhav-CjQwCFDf.png",Qfe="/assets/benifit-image1-BCq8d6wQ.svg",Jfe="/assets/benifit-image2-Bda0Fepu.svg",Zfe="/assets/benifit-image3-CTbxuJAp.svg",NL="/assets/culture-CSlgnP8y.png",epe="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1664_1864)'%3e%3cpath%20d='M18.5195%20-2H1.47656C0.660156%20-2%200%20-1.35547%200%20-0.558594V16.5547C0%2017.3516%200.660156%2018%201.47656%2018H18.5195C19.3359%2018%2020%2017.3516%2020%2016.5586V-0.558594C20%20-1.35547%2019.3359%20-2%2018.5195%20-2ZM5.93359%2015.043H2.96484V5.49609H5.93359V15.043ZM4.44922%204.19531C3.49609%204.19531%202.72656%203.42578%202.72656%202.47656C2.72656%201.52734%203.49609%200.757812%204.44922%200.757812C5.39844%200.757812%206.16797%201.52734%206.16797%202.47656C6.16797%203.42188%205.39844%204.19531%204.44922%204.19531ZM17.043%2015.043H14.0781V10.4023C14.0781%209.29688%2014.0586%207.87109%2012.5352%207.87109C10.9922%207.87109%2010.7578%209.07812%2010.7578%2010.3242V15.043H7.79688V5.49609H10.6406V6.80078H10.6797C11.0742%206.05078%2012.043%205.25781%2013.4844%205.25781C16.4883%205.25781%2017.043%207.23438%2017.043%209.80469V15.043Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1664_1864'%3e%3crect%20width='20'%20height='20'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function Bo(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function eX(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e}/*! 347 * GSAP 3.13.0 348 * https://gsap.com 349 * 350 * @license Copyright 2008-2025, GreenSock. All rights reserved. 351 * Subject to the terms at https://gsap.com/standard-license 352 * @author: Jack Doyle, [email protected] 353*/var Ks={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Bg={duration:.5,overwrite:!1,delay:0}
vendor: 5,669 bytes, line 353
353,sk,ai,Lt,Pr=1e8,mt=1/Pr,rD=Math.PI*2,tpe=rD/4,npe=0,tX=Math.sqrt,ipe=Math.cos,spe=Math.sin,Xn=function(e){return typeof e=="string"},sn=function(e){return typeof e=="function"},Xl=function(e){return typeof e=="number"},rk=function(e){return typeof e>"u"},go=function(e){return typeof e=="object"},rs=function(e){return e!==!1},ak=function(){return typeof window<"u"},I_=function(e){return sn(e)||Xn(e)},nX=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},bi=Array.isArray,aD=/(?:-?\.?\d|\.)+/gi,iX=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ap=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,EA=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,sX=/[+-]=-?[.\d]+/,rX=/[^,'"\[\]\s]+/gi,rpe=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Xt,Aa,oD,ok,tr={},t1={},aX,oX=function(e){return(t1=jg(e,tr))&&us},lk=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},dv=function(e,t){return!t&&console.warn(e)},lX=function(e,t){return e&&(tr[e]=t)&&t1&&(t1[e]=t)||tr},hv=function(){return 0},ape={suppressEvents:!0,isStart:!0,kill:!1},NS={suppressEvents:!0,kill:!1},ope={suppressEvents:!0},ck={},Ou=[],lD={},cX,Bs={},AA={},ML=30,MS=[],uk="",dk=function(e){var t=e[0],i,s;if(go(t)||sn(t)||(e=[e]),!(i=(t._gsap||{}).harness)){for(s=MS.length;s--&&!MS[s].targetTest(t););i=MS[s]}for(s=e.length;s--;)e[s]&&(e[s]._gsap||(e[s]._gsap=new NX(e[s],i)))||e.splice(s,1);return e},Yh=function(e){return e._gsap||dk(Rr(e))[0]._gsap},uX=function(e,t,i){return(i=e[t])&&sn(i)?e[t]():rk(i)&&e.getAttribute&&e.getAttribute(t)||i},as=function(e,t){return(e=e.split(",")).forEach(t)||e},un=function(e){return Math.round(e*1e5)/1e5||0},_n=function(e){return Math.round(e*1e7)/1e7||0},Pp=function(e,t){var i=t.charAt(0),s=parseFloat(t.substr(2));return e=parseFloat(e),i==="+"?e+s:i==="-"?e-s:i==="*"?e*s:e/s},lpe=function(e,t){for(var i=t.length,s=0;e.indexOf(t[s])<0&&++s<i;);return s<i},n1=function(){var e=Ou.length,t=Ou.slice(0),i,s;for(lD={},Ou.length=0,i=0;i<e;i++)s=t[i],s&&s._lazy&&(s.render(s._lazy[0],s._lazy[1],!0)._lazy=0)},hk=function(e){return!!(e._initted||e._startAt||e.add)},dX=function(e,t,i,s){Ou.length&&!ai&&n1(),e.render(t,i,!!(ai&&t<0&&hk(e))),Ou.length&&!ai&&n1()},hX=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(rX).length<2?t:Xn(e)?e.trim():e},fX=function(e){return e},nr=function(e,t){for(var i in t)i in e||(e[i]=t[i]);return e},cpe=function(e){return function(t,i){for(var s in i)s in t||s==="duration"&&e||s==="ease"||(t[s]=i[s])}},jg=function(e,t){for(var i in t)e[i]=t[i];return e},OL=function n(e,t){for(var i in t)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(e[i]=go(t[i])?n(e[i]||(e[i]={}),t[i]):t[i]);return e},i1=function(e,t){var i={},s;for(s in e)s in t||(i[s]=e[s]);return i},Cy=function(e){var t=e.parent||Xt,i=e.keyframes?cpe(bi(e.keyframes)):nr;if(rs(e.inherit))for(;t;)i(e,t.vars.defaults),t=t.parent||t._dp;return e},upe=function(e,t){for(var i=e.length,s=i===t.length;s&&i--&&e[i]===t[i];);return i<0},pX=function(e,t,i,s,r){var a=e[s],o;if(r)for(o=t[r];a&&a[r]>o;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[i],e[i]=t),t._next?t._next._prev=t:e[s]=t,t._prev=a,t.parent=t._dp=e,t},kw=function(e,t,i,s){i===void 0&&(i="_first"),s===void 0&&(s="_last");var r=t._prev,a=t._next;r?r._next=a:e[i]===t&&(e[i]=a),a?a._prev=r:e[s]===t&&(e[s]=r),t._next=t._prev=t.parent=null},qu=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Wh=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var i=e;i;)i._dirty=1,i=i.parent;return e},dpe=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},cD=function(e,t,i,s){return e._startAt&&(ai?e._startAt.revert(NS):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,s))},hpe=function n(e){return!e||e._ts&&n(e.parent)},LL=function(e){return e._repeat?Fg(e._tTime,e=e.duration()+e._rDelay)*e:0},Fg=function(e,t){var i=Math.floor(e=_n(e/t));return e&&i===e?i-1:i},s1=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Nw=function(e){return e._end=_n(e._start+(e._tDur/Math.abs(e._ts||e._rts||mt)||0))},Mw=function(e,t){var i=e._dp;return i&&i.smoothChildTiming&&e._ts&&(e._start=_n(i._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Nw(e),i._dirty||Wh(i,e)),e},mX=function(e,t){var i;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(i=s1(e.rawTime(),t),(!t._dur||Pb(0,t.totalDuration(),i)-t._tTime>mt)&&t.render(i,!0)),Wh(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(i=e;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;e._zTime=-mt}},to=function(e,t,i,s){return t.parent&&qu(t),t._start=_n((Xl(i)?i:i||e!==Xt?lr(e,i,t):e._time)+t._delay),t._end=_n(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),pX(e,t,"_first","_last",e._sort?"_start":0),uD(t)||(e._recent=t),s||mX(e,t),e._ts<0&&Mw(e,e._tTime),e},gX=function(e,t){return(tr.ScrollTrigger||lk("scrollTrigger",t))&&tr.ScrollTrigger.create(t,e)},yX=function(e,t,i,s,r){if(pk(e,t,r),!e._initted)return 1;if(!i&&e._pt&&!ai&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&cX!==Vs.frame)return Ou.push(e),e._lazy=[r,s],1},fpe=function n(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||n(t))},uD=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},ppe=function(e,t,i,s){var r=e.ratio,a=t<0||!t&&(!e._start&&fpe(e)&&!(!e._initted&&uD(e))||(e._ts<0||e._dp._ts<0)&&!uD(e))?0:1,o=e._rDelay,l=0,c,u,h;if(o&&e._repeat&&(l=Pb(0,e._tDur,t),u=Fg(l,o),e._yoyo&&u&1&&(a=1-a),u!==Fg(e._tTime,o)&&(r=1-a,e.vars.repeatRefresh&&e._initted&&e.invali
vendor: 9,474 bytes, line 353
353date())),a!==r||ai||s||e._zTime===mt||!t&&e._zTime){if(!e._initted&&yX(e,t,s,i,l))return;for(h=e._zTime,e._zTime=t||(i?mt:0),i||(i=t&&!h),e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=l,c=e._pt;c;)c.r(a,c.d),c=c._next;t<0&&cD(e,t,i,!0),e._onUpdate&&!i&&Hs(e,"onUpdate"),l&&e._repeat&&!i&&e.parent&&Hs(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&qu(e,1),!i&&!ai&&(Hs(e,a?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},mpe=function(e,t,i){var s;if(i>t)for(s=e._first;s&&s._start<=i;){if(s.data==="isPause"&&s._start>t)return s;s=s._next}else for(s=e._last;s&&s._start>=i;){if(s.data==="isPause"&&s._start<t)return s;s=s._prev}},zg=function(e,t,i,s){var r=e._repeat,a=_n(t)||0,o=e._tTime/e._tDur;return o&&!s&&(e._time*=a/e._dur),e._dur=a,e._tDur=r?r<0?1e10:_n(a*(r+1)+e._rDelay*r):a,o>0&&!s&&Mw(e,e._tTime=e._tDur*o),e.parent&&Nw(e),i||Wh(e.parent,e),e},BL=function(e){return e instanceof ki?Wh(e):zg(e,e._dur)},gpe={_start:0,endTime:hv,totalDuration:hv},lr=function n(e,t,i){var s=e.labels,r=e._recent||gpe,a=e.duration()>=Pr?r.endTime(!1):e._dur,o,l,c;return Xn(t)&&(isNaN(t)||t in s)?(l=t.charAt(0),c=t.substr(-1)==="%",o=t.indexOf("="),l==="<"||l===">"?(o>=0&&(t=t.replace(/=/,"")),(l==="<"?r._start:r.endTime(r._repeat>=0))+(parseFloat(t.substr(1))||0)*(c?(o<0?r:i).totalDuration()/100:1)):o<0?(t in s||(s[t]=a),s[t]):(l=parseFloat(t.charAt(o-1)+t.substr(o+1)),c&&i&&(l=l/100*(bi(i)?i[0]:i).totalDuration()),o>1?n(e,t.substr(0,o-1),i)+l:a+l)):t==null?a:+t},Ty=function(e,t,i){var s=Xl(t[1]),r=(s?2:1)+(e<2?0:1),a=t[r],o,l;if(s&&(a.duration=t[1]),a.parent=i,e){for(o=a,l=i;l&&!("immediateRender"in o);)o=l.vars.defaults||{},l=rs(l.vars.inherit)&&l.parent;a.immediateRender=rs(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[r-1]}return new vn(t[0],a,t[r+1])},td=function(e,t){return e||e===0?t(e):t},Pb=function(e,t,i){return i<e?e:i>t?t:i},yi=function(e,t){return!Xn(e)||!(t=rpe.exec(e))?"":t[1]},ype=function(e,t,i){return td(i,function(s){return Pb(e,t,s)})},dD=[].slice,vX=function(e,t){return e&&go(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&go(e[0]))&&!e.nodeType&&e!==Aa},vpe=function(e,t,i){return i===void 0&&(i=[]),e.forEach(function(s){var r;return Xn(s)&&!t||vX(s,1)?(r=i).push.apply(r,Rr(s)):i.push(s)})||i},Rr=function(e,t,i){return Lt&&!t&&Lt.selector?Lt.selector(e):Xn(e)&&!i&&(oD||!Ug())?dD.call((t||ok).querySelectorAll(e),0):bi(e)?vpe(e,i):vX(e)?dD.call(e,0):e?[e]:[]},hD=function(e){return e=Rr(e)[0]||dv("Invalid scope")||{},function(t){var i=e.current||e.nativeElement||e;return Rr(t,i.querySelectorAll?i:i===e?dv("Invalid scope")||ok.createElement("div"):e)}},bX=function(e){return e.sort(function(){return .5-Math.random()})},_X=function(e){if(sn(e))return e;var t=go(e)?e:{each:e},i=Kh(t.ease),s=t.from||0,r=parseFloat(t.base)||0,a={},o=s>0&&s<1,l=isNaN(s)||o,c=t.axis,u=s,h=s;return Xn(s)?u=h={center:.5,edges:.5,end:1}[s]||0:!o&&l&&(u=s[0],h=s[1]),function(f,p,b){var g=(b||t).length,S=a[g],y,v,_,x,E,C,I,R,D;if(!S){if(D=t.grid==="auto"?0:(t.grid||[1,Pr])[1],!D){for(I=-Pr;I<(I=b[D++].getBoundingClientRect().left)&&D<g;);D<g&&D--}for(S=a[g]=[],y=l?Math.min(D,g)*u-.5:s%D,v=D===Pr?0:l?g*h/D-.5:s/D|0,I=0,R=Pr,C=0;C<g;C++)_=C%D-y,x=v-(C/D|0),S[C]=E=c?Math.abs(c==="y"?x:_):tX(_*_+x*x),E>I&&(I=E),E<R&&(R=E);s==="random"&&bX(S),S.max=I-R,S.min=R,S.v=g=(parseFloat(t.amount)||parseFloat(t.each)*(D>g?g-1:c?c==="y"?g/D:D:Math.max(D,g/D))||0)*(s==="edges"?-1:1),S.b=g<0?r-g:r,S.u=yi(t.amount||t.each)||0,i=i&&g<0?PX(i):i}return g=(S[f]-S.min)/S.max||0,_n(S.b+(i?i(g):g)*S.v)+S.u}},fD=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(i){var s=_n(Math.round(parseFloat(i)/e)*e*t);return(s-s%1)/t+(Xl(i)?0:yi(i))}},SX=function(e,t){var i=bi(e),s,r;return!i&&go(e)&&(s=i=e.radius||Pr,e.values?(e=Rr(e.values),(r=!Xl(e[0]))&&(s*=s)):e=fD(e.increment)),td(t,i?sn(e)?function(a){return r=e(a),Math.abs(r-a)<=s?r:a}:function(a){for(var o=parseFloat(r?a.x:a),l=parseFloat(r?a.y:0),c=Pr,u=0,h=e.length,f,p;h--;)r?(f=e[h].x-o,p=e[h].y-l,f=f*f+p*p):f=Math.abs(e[h]-o),f<c&&(c=f,u=h);return u=!s||c<=s?e[u]:a,r||u===a||Xl(a)?u:u+yi(a)}:fD(e))},xX=function(e,t,i,s){return td(bi(e)?!t:i===!0?!!(i=0):!s,function(){return bi(e)?e[~~(Math.random()*e.length)]:(i=i||1e-5)&&(s=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((e-i/2+Math.random()*(t-e+i*.99))/i)*i*s)/s})},bpe=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(s){return t.reduce(function(r,a){return a(r)},s)}},_pe=function(e,t){return function(i){return e(parseFloat(i))+(t||yi(i))}},Spe=function(e,t,i){return EX(e,t,0,1,i)},wX=function(e,t,i){return td(i,function(s){return e[~~t(s)]})},xpe=function n(e,t,i){var s=t-e;return bi(e)?wX(e,n(0,e.length),t):td(i,function(r){return(s+(r-e)%s)%s+e})},wpe=function n(e,t,i){var s=t-e,r=s*2;return bi(e)?wX(e,n(0,e.length-1),t):td(i,function(a){return a=(r+(a-e)%r)%r||0,e+(a>s?r-a:a)})},fv=function(e){for(var t=0,i="",s,r,a,o;~(s=e.indexOf("random(",t));)a=e.indexOf(")",s),o=e.charAt(s+7)==="[",r=e.substr(s+7,a-s-7).match(o?rX:aD),i+=e.substr(t,s-t)+xX(o?r:+r[0],o?0:+r[1],+r[2]||1e-5),t=a+1;return i+e.substr(t,e.length-t)},EX=function(e,t,i,s,r){var a=t-e,o=s-i;return td(r,function(l){return i+((l-e)/a*o||0)})},Epe=function n(e,t,i,s){var r=isNaN(e+t)?0:function(p){return(1-p)*e+p*t};if(!r){var a=Xn(e),o={},l,c,u,h,f;if(i===!0&&(s=1)&&(i=null),a)e={p:e},t={p:t};else if(bi(e)&&!bi(t)){for(u=[],h=e.length,f=h-2,c=1;c<h;c++)u.push(n(e[c-1],e[c]));h--,r=function(b){b*=h;var g=Math.min(f,~~b);return u[g](b-g)},i=t}else s||(e=jg(bi(e)?[]:{},e));if(!u){for(l in t)fk.call(o,e,l,"get",t[l]);r=function(b){return yk(b,o)||(a?e.p:e)}}}return td(i,r)},jL=function(e,t,i){var s=e.labels,r=Pr,a,o,l;for(a in s)o=s[a]-t,o<0==!!i&&o&&r>(o=Math.abs(o))&&(l=a,r=o);return l},Hs=function(e,t,i){var s=e.vars,r=s[t],a=Lt,o=e._ctx,l,c,u;if(r)return l=s[t+"Params"],c=s.callbackScope||e,i&&Ou.length&&n1(),o&&(Lt=o),u=l?r.apply(c,l):r.call(c),Lt=a,u},ny=function(e){return qu(e),e.scrollTrigger&&e.scrollTrigger.kill(!!ai),e.progress()<1&&Hs(e,"onInterrupt"),e},op,AX=[],IX=function(e){if(e)if(e=!e.name&&e.default||e,ak()||e.headless){var t=e.name,i=sn(e),s=t&&!i&&e.init?function(){this._props=[]}:e,r={init:hv,render:yk,add:fk,kill:zpe,modifier:Fpe,rawVars:0},a={targetTest:0,get:0,getSetter:gk,aliases:{},register:0};if(Ug(),e!==s){if(Bs[t])return;nr(s,nr(i1(e,r),a)),jg(s.prototype,jg(r,i1(e,a))),Bs[s.prop=t]=s,e.targetTest&&(MS.push(s),ck[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}lX(t,s),e.register&&e.register(us,s,os)}else AX.push(e)},ft=255,iy={aqua:[0,ft,ft],lime:[0,ft,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ft],navy:[0,0,128],white:[ft,ft,ft],olive:[128,128,0],yellow:[ft,ft,0],orange:[ft,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ft,0,0],pink:[ft,192,203],cyan:[0,ft,ft],transparent:[ft,ft,ft,0]},IA=function(e,t,i){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(i-t)*e*6:e<.5?i:e*3<2?t+(i-t)*(2/3-e)*6:t)*ft+.5|0},CX=function(e,t,i){var s=e?Xl(e)?[e>>16,e>>8&ft,e&ft]:0:iy.black,r,a,o,l,c,u,h,f,p,b;if(!s){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),iy[e])s=iy[e];else if(e.charAt(0)==="#"){if(e.length<6&&(r=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e="#"+r+r+a+a+o+o+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return s=parseInt(e.substr(1,6),16),[s>>16,s>>8&ft,s&ft,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),s=[e>>16,e>>8&ft,e&ft]}else if(e.substr(0,3)==="hsl"){if(s=b=e.match(aD),!t)l=+s[0]%360/360,c=+s[1]/100,u=+s[2]/100,a=u<=.5?u*(c+1):u+c-u*c,r=u*2-a,s.length>3&&(s[3]*=1),s[0]=IA(l+1/3,r,a),s[1]=IA(l,r,a),s[2]=IA(l-1/3,r,a);else if(~e.indexOf("="))return s=e.match(iX),i&&s.length<4&&(s[3]=1),s}else s=e.match(aD)||iy.transparent;s=s.map(Number)}return t&&!b&&(r=s[0]/ft,a=s[1]/ft,o=s[2]/ft,h=Math.max(r,a,o),f=Math.min(r,a,o),u=(h+f)/2,h===f?l=c=0:(p=h-f,c=u>.5?p/(2-h-f):p/(h+f),l=h===r?(a-o)/p+(a<o?6:0):h===a?(o-r)/p+2:(r-a)/p+4,l*=60),s[0]=~~(l+.5),s[1]=~~(c*100+.5),s[2]=~~(u*100+.5)),i&&s.length<4&&(s[3]=1),s},TX=function(e){var t=[],i=[],s=-1;return e.split(Lu).forEach(function(r){var a=r.match(ap)||[];t.push.apply(t,a),i.push(s+=a.length+1)}),t.c=i,t},FL=function(e,t,i){var s="",r=(e+s).match(Lu),a=t?"hsla(":"rgba(",o=0,l,c,u,h;if(!r)return e;if(r=r.map(function(f){return(f=CX(f,t,1))&&a+(t?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),i&&(u=TX(e),l=i.c,l.join(s)!==u.c.join(s)))for(c=e.replace(Lu,"1").split(ap),h=c.length-1;o<h;o++)s+=c[o]+(~l.indexOf(o)?r.shift()||a+"0,0,0,0)":(u.length?u:r.length?r:i).shift());if(!c)for(c=e.split(Lu),h=c.length-1;o<h;o++)s+=c[o]+r[o];return s+c[h]},Lu=function(){var n="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in iy)n+="|"+e+"\\b";return new RegExp(n+")","gi")}(),Ape=/hsl[a]?\(/,DX=function(e){var t=e.join(" "),i;if(Lu.lastIndex=0,Lu.test(t))return i=Ape.test(t),e[1]=FL(e[1],i),e[0]=FL(e[0],i,TX(e[1])),!0},pv,Vs=function(){var n=Date.now,e=500,t=33,i=n(),s=i,r=1e3/240,a=r,o=[],l,c,u,h,f,p,b=function g(S){var y=n()-s,v=S===!0,_,x,E,C;if((y>e||y<0)&&(i+=y-t),s+=y,E=s-i,_=E-a,(_>0||v)&&(C=++h.frame,f=E-h.time*1e3,h.time=E=E/1e3,a+=_+(_>=r?4:r-_),x=1),v||(l=c(g)),x)for(p=0;p<o.length;p++)o[p](E,f,C,S)};return h={time:0,frame:0,tick:function(){b(!0)},deltaRatio:function(S){return f/(1e3/(S||60))},wake:function(){aX&&(!oD&&ak()&&(Aa=oD=window,ok=Aa.document||{}
vendor: 8,811 bytes, line 353
353,tr.gsap=us,(Aa.gsapVersions||(Aa.gsapVersions=[])).push(us.version),oX(t1||Aa.GreenSockGlobals||!Aa.gsap&&Aa||{}),AX.forEach(IX)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&h.sleep(),c=u||function(S){return setTimeout(S,a-h.time*1e3+1|0)},pv=1,b(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),pv=0,c=hv},lagSmoothing:function(S,y){e=S||1/0,t=Math.min(y||33,e)},fps:function(S){r=1e3/(S||240),a=h.time*1e3+r},add:function(S,y,v){var _=y?function(x,E,C,I){S(x,E,C,I),h.remove(_)}:S;return h.remove(S),o[v?"unshift":"push"](_),Ug(),_},remove:function(S,y){~(y=o.indexOf(S))&&o.splice(y,1)&&p>=y&&p--},_listeners:o},h}(),Ug=function(){return!pv&&Vs.wake()},ze={},Ipe=/^[\d.\-M][\d.\-,\s]/,Cpe=/["']/g,Tpe=function(e){for(var t={},i=e.substr(1,e.length-3).split(":"),s=i[0],r=1,a=i.length,o,l,c;r<a;r++)l=i[r],o=r!==a-1?l.lastIndexOf(","):l.length,c=l.substr(0,o),t[s]=isNaN(c)?c.replace(Cpe,"").trim():+c,s=l.substr(o+1).trim();return t},Dpe=function(e){var t=e.indexOf("(")+1,i=e.indexOf(")"),s=e.indexOf("(",t);return e.substring(t,~s&&s<i?e.indexOf(")",i+1):i)},Ppe=function(e){var t=(e+"").split("("),i=ze[t[0]];return i&&t.length>1&&i.config?i.config.apply(null,~e.indexOf("{")?[Tpe(t[1])]:Dpe(e).split(",").map(hX)):ze._CE&&Ipe.test(e)?ze._CE("",e):i},PX=function(e){return function(t){return 1-e(1-t)}},RX=function n(e,t){for(var i=e._first,s;i;)i instanceof ki?n(i,t):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==t&&(i.timeline?n(i.timeline,t):(s=i._ease,i._ease=i._yEase,i._yEase=s,i._yoyo=t)),i=i._next},Kh=function(e,t){return e&&(sn(e)?e:ze[e]||Ppe(e))||t},xf=function(e,t,i,s){i===void 0&&(i=function(l){return 1-t(1-l)}),s===void 0&&(s=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var r={easeIn:t,easeOut:i,easeInOut:s},a;return as(e,function(o){ze[o]=tr[o]=r,ze[a=o.toLowerCase()]=i;for(var l in r)ze[a+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=ze[o+"."+l]=r[l]}),r},kX=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},CA=function n(e,t,i){var s=t>=1?t:1,r=(i||(e?.3:.45))/(t<1?t:1),a=r/rD*(Math.asin(1/s)||0),o=function(u){return u===1?1:s*Math.pow(2,-10*u)*spe((u-a)*r)+1},l=e==="out"?o:e==="in"?function(c){return 1-o(1-c)}:kX(o);return r=rD/r,l.config=function(c,u){return n(e,c,u)},l},TA=function n(e,t){t===void 0&&(t=1.70158);var i=function(a){return a?--a*a*((t+1)*a+t)+1:0},s=e==="out"?i:e==="in"?function(r){return 1-i(1-r)}:kX(i);return s.config=function(r){return n(e,r)},s};as("Linear,Quad,Cubic,Quart,Quint,Strong",function(n,e){var t=e<5?e+1:e;xf(n+",Power"+(t-1),e?function(i){return Math.pow(i,t)}:function(i){return i},function(i){return 1-Math.pow(1-i,t)},function(i){return i<.5?Math.pow(i*2,t)/2:1-Math.pow((1-i)*2,t)/2})});ze.Linear.easeNone=ze.none=ze.Linear.easeIn;xf("Elastic",CA("in"),CA("out"),CA());(function(n,e){var t=1/e,i=2*t,s=2.5*t,r=function(o){return o<t?n*o*o:o<i?n*Math.pow(o-1.5/e,2)+.75:o<s?n*(o-=2.25/e)*o+.9375:n*Math.pow(o-2.625/e,2)+.984375};xf("Bounce",function(a){return 1-r(1-a)},r)})(7.5625,2.75);xf("Expo",function(n){return Math.pow(2,10*(n-1))*n+n*n*n*n*n*n*(1-n)});xf("Circ",function(n){return-(tX(1-n*n)-1)});xf("Sine",function(n){return n===1?1:-ipe(n*tpe)+1});xf("Back",TA("in"),TA("out"),TA());ze.SteppedEase=ze.steps=tr.SteppedEase={config:function(e,t){e===void 0&&(e=1);var i=1/e,s=e+(t?0:1),r=t?1:0,a=1-mt;return function(o){return((s*Pb(0,a,o)|0)+r)*i}}};Bg.ease=ze["quad.out"];as("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(n){return uk+=n+","+n+"Params,"});var NX=function(e,t){this.id=npe++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:uX,this.set=t?t.getSetter:gk},mv=function(){function n(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,zg(this,+t.duration,1,1),this.data=t.data,Lt&&(this._ctx=Lt,Lt.data.push(this)),pv||Vs.wake()}var e=n.prototype;return e.delay=function(i){return i||i===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+i-this._delay),this._delay=i,this):this._delay},e.duration=function(i){return arguments.length?this.totalDuration(this._repeat>0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},e.totalDuration=function(i){return arguments.length?(this._dirty=0,zg(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(i,s){if(Ug(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Mw(this,i),!r._dp||r.parent||mX(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&to(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!s||this._initted&&Math.abs(this._zTime)===mt||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),dX(this,i,s)),this},e.time=function(i,s){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+LL(this))%(this._dur+this._rDelay)||(i?this._dur:0),s):this._time},e.totalProgress=function(i,s){return arguments.length?this.totalTime(this.totalDuration()*i,s):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(i,s){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+LL(this),s):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(i,s){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*r,s):this._repeat?Fg(this._tTime,r)+1:1},e.timeScale=function(i,s){if(!arguments.length)return this._rts===-mt?0:this._rts;if(this._rts===i)return this;var r=this.parent&&this._ts?s1(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-mt?0:this._rts,this.totalTime(Pb(-Math.abs(this._delay),this.totalDuration(),r),s!==!1),Nw(this),dpe(this)},e.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ug(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==mt&&(this._tTime-=mt)))),this):this._ps},e.startTime=function(i){if(arguments.length){this._start=i;var s=this.parent||this._dp;return s&&(s._sort||!this.parent)&&to(s,this,i-this._delay),this}return this._start},e.endTime=function(i){return this._start+(rs(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(i){var s=this.parent||this._dp;return s?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?s1(s.rawTime(i),this):this._tTime:this._tTime},e.revert=function(i){i===void 0&&(i=ope);var s=ai;return ai=i,hk(this)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),ai=s,this},e.globalTime=function(i){for(var s=this,r=arguments.length?i:s.rawTime();s;)r=s._start+r/(Math.abs(s._ts)||1),s=s._dp;return!this.parent&&this._sat?this._sat.globalTime(i):r},e.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,BL(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(i){if(arguments.length){var s=this._time;return this._rDelay=i,BL(this),s?this.time(s):this}return this._rDelay},e.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},e.seek=function(i,s){return this.totalTime(lr(this,i),rs(s))},e.restart=function(i,s){return this.play().totalTime(i?-this._delay:0,rs(s)),this._dur||(this._zTime=-mt),this},e.play=function(i,s){return i!=null&&this.seek(i,s),this.reversed(!1).paused(!1)},e.reverse=function(i,s){return i!=null&&this.seek(i||this.totalDuration(),s),this.reversed(!0).paused(!1)},e.pause=function(i,s){return i!=null&&this.seek(i,s),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-mt:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-mt,this},e.isActive=function(){var i=this.parent||this._dp,s=this._start,r;return!!(!i||this._ts&&this._initted&&i.isActive()&&(r=i.rawTime(!0))>=s&&r<this.endTime(!0)-mt)},e.eventCallback=function(i,s,r){var a=this.vars;return arguments.length>1?(s?(a[i]=s,r&&(a[i+"Params"]=r),i==="onUpdate"&&(this._onUpdate=s)):delete a[i],this):a[i]},e.then=function(i){var s=this;return new Promise(function(r){var a=sn(i)?i:fX,o=function(){var c=s.then;
vendor: 9,198 bytes, line 353
353s.then=null,sn(a)&&(a=a(s))&&(a.then||a===s)&&(s.then=c),r(a),s.then=c};s._initted&&s.totalProgress()===1&&s._ts>=0||!s._tTime&&s._ts<0?o():s._prom=o})},e.kill=function(){ny(this)},n}();nr(mv.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-mt,_prom:0,_ps:!1,_rts:1});var ki=function(n){eX(e,n);function e(i,s){var r;return i===void 0&&(i={}),r=n.call(this,i)||this,r.labels={},r.smoothChildTiming=!!i.smoothChildTiming,r.autoRemoveChildren=!!i.autoRemoveChildren,r._sort=rs(i.sortChildren),Xt&&to(i.parent||Xt,Bo(r),s),i.reversed&&r.reverse(),i.paused&&r.paused(!0),i.scrollTrigger&&gX(Bo(r),i.scrollTrigger),r}var t=e.prototype;return t.to=function(s,r,a){return Ty(0,arguments,this),this},t.from=function(s,r,a){return Ty(1,arguments,this),this},t.fromTo=function(s,r,a,o){return Ty(2,arguments,this),this},t.set=function(s,r,a){return r.duration=0,r.parent=this,Cy(r).repeatDelay||(r.repeat=0),r.immediateRender=!!r.immediateRender,new vn(s,r,lr(this,a),1),this},t.call=function(s,r,a){return to(this,vn.delayedCall(0,s,r),a)},t.staggerTo=function(s,r,a,o,l,c,u){return a.duration=r,a.stagger=a.stagger||o,a.onComplete=c,a.onCompleteParams=u,a.parent=this,new vn(s,a,lr(this,l)),this},t.staggerFrom=function(s,r,a,o,l,c,u){return a.runBackwards=1,Cy(a).immediateRender=rs(a.immediateRender),this.staggerTo(s,r,a,o,l,c,u)},t.staggerFromTo=function(s,r,a,o,l,c,u,h){return o.startAt=a,Cy(o).immediateRender=rs(o.immediateRender),this.staggerTo(s,r,o,l,c,u,h)},t.render=function(s,r,a){var o=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=s<=0?0:_n(s),h=this._zTime<0!=s<0&&(this._initted||!c),f,p,b,g,S,y,v,_,x,E,C,I;if(this!==Xt&&u>l&&s>=0&&(u=l),u!==this._tTime||a||h){if(o!==this._time&&c&&(u+=this._time-o,s+=this._time-o),f=u,x=this._start,_=this._ts,y=!_,h&&(c||(o=this._zTime),(s||!r)&&(this._zTime=s)),this._repeat){if(C=this._yoyo,S=c+this._rDelay,this._repeat<-1&&s<0)return this.totalTime(S*100+s,r,a);if(f=_n(u%S),u===l?(g=this._repeat,f=c):(E=_n(u/S),g=~~E,g&&g===E&&(f=c,g--),f>c&&(f=c)),E=Fg(this._tTime,S),!o&&this._tTime&&E!==g&&this._tTime-E*S-this._dur<=0&&(E=g),C&&g&1&&(f=c-f,I=1),g!==E&&!this._lock){var R=C&&E&1,D=R===(C&&g&1);if(g<E&&(R=!R),o=R?0:u%c?c:u,this._lock=1,this.render(o||(I?0:_n(g*S)),r,!c)._lock=0,this._tTime=u,!r&&this.parent&&Hs(this,"onRepeat"),this.vars.repeatRefresh&&!I&&(this.invalidate()._lock=1),o&&o!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,l=this._tDur,D&&(this._lock=2,o=R?c:-1e-4,this.render(o,!0),this.vars.repeatRefresh&&!I&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;RX(this,I)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=mpe(this,_n(o),_n(f)),v&&(u-=f-(f=v._start))),this._tTime=u,this._time=f,this._act=!_,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=s,o=0),!o&&u&&!r&&!E&&(Hs(this,"onStart"),this._tTime!==u))return this;if(f>=o&&s>=0)for(p=this._first;p;){if(b=p._next,(p._act||f>=p._start)&&p._ts&&v!==p){if(p.parent!==this)return this.render(s,r,a);if(p.render(p._ts>0?(f-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(f-p._start)*p._ts,r,a),f!==this._time||!this._ts&&!y){v=0,b&&(u+=this._zTime=-mt);break}}p=b}else{p=this._last;for(var k=s<0?s:f;p;){if(b=p._prev,(p._act||k<=p._end)&&p._ts&&v!==p){if(p.parent!==this)return this.render(s,r,a);if(p.render(p._ts>0?(k-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(k-p._start)*p._ts,r,a||ai&&hk(p)),f!==this._time||!this._ts&&!y){v=0,b&&(u+=this._zTime=k?-mt:mt);break}}p=b}}if(v&&!r&&(this.pause(),v.render(f>=o?0:-mt)._zTime=f>=o?1:-1,this._ts))return this._start=x,Nw(this),this.render(s,r,a);this._onUpdate&&!r&&Hs(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&o)&&(x===this._start||Math.abs(_)!==Math.abs(this._ts))&&(this._lock||((s||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&qu(this,1),!r&&!(s<0&&!o)&&(u||o||!l)&&(Hs(this,u===l&&s>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(s,r){var a=this;if(Xl(r)||(r=lr(this,r,s)),!(s instanceof mv)){if(bi(s))return s.forEach(function(o){return a.add(o,r)}),this;if(Xn(s))return this.addLabel(s,r);if(sn(s))s=vn.delayedCall(0,s);else return this}return this!==s?to(this,s,r):this},t.getChildren=function(s,r,a,o){s===void 0&&(s=!0),r===void 0&&(r=!0),a===void 0&&(a=!0),o===void 0&&(o=-Pr);for(var l=[],c=this._first;c;)c._start>=o&&(c instanceof vn?r&&l.push(c):(a&&l.push(c),s&&l.push.apply(l,c.getChildren(!0,r,a)))),c=c._next;return l},t.getById=function(s){for(var r=this.getChildren(1,1,1),a=r.length;a--;)if(r[a].vars.id===s)return r[a]},t.remove=function(s){return Xn(s)?this.removeLabel(s):sn(s)?this.killTweensOf(s):(s.parent===this&&kw(this,s),s===this._recent&&(this._recent=this._last),Wh(this))},t.totalTime=function(s,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=_n(Vs.time-(this._ts>0?s/this._ts:(this.totalDuration()-s)/-this._ts))),n.prototype.totalTime.call(this,s,r),this._forcing=0,this):this._tTime},t.addLabel=function(s,r){return this.labels[s]=lr(this,r),this},t.removeLabel=function(s){return delete this.labels[s],this},t.addPause=function(s,r,a){var o=vn.delayedCall(0,r||hv,a);return o.data="isPause",this._hasPause=1,to(this,o,lr(this,s))},t.removePause=function(s){var r=this._first;for(s=lr(this,s);r;)r._start===s&&r.data==="isPause"&&qu(r),r=r._next},t.killTweensOf=function(s,r,a){for(var o=this.getTweensOf(s,a),l=o.length;l--;)Su!==o[l]&&o[l].kill(s,r);return this},t.getTweensOf=function(s,r){for(var a=[],o=Rr(s),l=this._first,c=Xl(r),u;l;)l instanceof vn?lpe(l._targets,o)&&(c?(!Su||l._initted&&l._ts)&&l.globalTime(0)<=r&&l.globalTime(l.totalDuration())>r:!r||l.isActive())&&a.push(l):(u=l.getTweensOf(o,r)).length&&a.push.apply(a,u),l=l._next;return a},t.tweenTo=function(s,r){r=r||{};var a=this,o=lr(a,s),l=r,c=l.startAt,u=l.onStart,h=l.onStartParams,f=l.immediateRender,p,b=vn.to(a,nr({ease:r.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:r.duration||Math.abs((o-(c&&"time"in c?c.time:a._time))/a.timeScale())||mt,onStart:function(){if(a.pause(),!p){var S=r.duration||Math.abs((o-(c&&"time"in c?c.time:a._time))/a.timeScale());b._dur!==S&&zg(b,S,0,1).render(b._time,!0,!0),p=1}u&&u.apply(b,h||[])}},r));return f?b.render(0):b},t.tweenFromTo=function(s,r,a){return this.tweenTo(r,nr({startAt:{time:lr(this,s)}},a))},t.recent=function(){return this._recent},t.nextLabel=function(s){return s===void 0&&(s=this._time),jL(this,lr(this,s))},t.previousLabel=function(s){return s===void 0&&(s=this._time),jL(this,lr(this,s),1)},t.currentLabel=function(s){return arguments.length?this.seek(s,!0):this.previousLabel(this._time+mt)},t.shiftChildren=function(s,r,a){a===void 0&&(a=0);for(var o=this._first,l=this.labels,c;o;)o._start>=a&&(o._start+=s,o._end+=s),o=o._next;if(r)for(c in l)l[c]>=a&&(l[c]+=s);return Wh(this)},t.invalidate=function(s){var r=this._first;for(this._lock=0;r;)r.invalidate(s),r=r._next;return n.prototype.invalidate.call(this,s)},t.clear=function(s){s===void 0&&(s=!0);for(var r=this._first,a;r;)a=r._next,this.remove(r),r=a;return this._dp&&(this._time=this._tTime=this._pTime=0),s&&(this.labels={}),Wh(this)},t.totalDuration=function(s){var r=0,a=this,o=a._last,l=Pr,c,u,h;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-s:s));if(a._dirty){for(h=a.parent;o;)c=o._prev,o._dirty&&o.totalDuration(),u=o._start,u>l&&a._sort&&o._ts&&!a._lock?(a._lock=1,to(a,o,u-o._delay,1)._lock=0):l=u,u<0&&o._ts&&(r-=u,(!h&&!a._dp||h&&h.smoothChildTiming)&&(a._start+=u/a._ts,a._time-=u,a._tTime-=u),a.shiftChildren(-u,!1,-1/0),l=0),o._end>r&&o._ts&&(r=o._end),o=c;zg(a,a===Xt&&a._time>r?a._time:r,1,1),a._dirty=0}return a._tDur},e.updateRoot=function(s){if(Xt._ts&&(dX(Xt,s1(s,Xt)),cX=Vs.frame),Vs.frame>=ML){ML+=Ks.autoSleep||120;var r=Xt._first;if((!r||!r._ts)&&Ks.autoSleep&&Vs._listeners.length<2){for(;r&&!r._ts;)r=r._next;r||Vs.sleep()}}},e}(mv);nr(ki.prototype,{_lock:0,_hasPause:0,_forcing:0});var Rpe=function(e,t,i,s,r,a,o){var l=new os(this._pt,e,t,0,1,FX,null,r),c=0,u=0,h,f,p,b,g,S,y,v;for(l.b=i,l.e=s,i+="",s+="",(y=~s.indexOf("random("))&&(s=fv(s)),a&&(v=[i,s],a(v,e,t),i=v[0],s=v[1]),f=i.match(EA)||[];h=EA.exec(s);)b=h[0],g=s.substring(c,h.index),p?p=(p+1)%5:g.substr(-5)==="rgba("&&(p=1),b!==f[u++]&&(S=parseFloat(f[u-1])||0,l._pt={_next:l._pt,p:g||u===1?g:",",s:S,c:b.charAt(1)==="="?Pp(S,b)-S:parseFloat(b)-S,m:p&&p<4?Math.round:0},c=EA.lastIndex);return l.c=c<s.length?s.substring(c,s.length):"",l.fp=o,(sX.test(s)||y)&&(l.e=0),this._pt=l,l},fk=function(e,t,i,s,r,a,o,l,c,u){sn(s)&&(s=s(r||0,e,a));var h=e[t],f=i!=="get"?i:sn(h)?c?e[t.indexOf("set")||!sn(e["get"+t.substr(3)])?t:"get"+t.substr(3)](c):e[t]():h,p=sn(h)?c?Lpe:BX:mk,b;if(Xn(s)&&(~s.indexOf("random(")&&(s=fv(s)),s.charAt(1)==="="&&(b=Pp(f,s)+(yi(f)||0),(b||b===0)&&(s=b))),!u||f!==s||pD)return!isNaN(f*s)&&s!==""?(b=new os(this._pt,e,t,+f||0,s-(f||0),typeof h=="boolean"?jpe:jX,0,p),c&&(b.fp=c),o&&b.modifier(o,this,e),this._pt=b):(!h&&!(t in e)&&lk(t,
vendor: 4,613 bytes, line 353
353s),Rpe.call(this,e,t,f,s,p,l||Ks.stringFilter,c))},kpe=function(e,t,i,s,r){if(sn(e)&&(e=Dy(e,r,t,i,s)),!go(e)||e.style&&e.nodeType||bi(e)||nX(e))return Xn(e)?Dy(e,r,t,i,s):e;var a={},o;for(o in e)a[o]=Dy(e[o],r,t,i,s);return a},MX=function(e,t,i,s,r,a){var o,l,c,u;if(Bs[e]&&(o=new Bs[e]).init(r,o.rawVars?t[e]:kpe(t[e],s,r,a,i),i,s,a)!==!1&&(i._pt=l=new os(i._pt,r,e,0,1,o.render,o,0,o.priority),i!==op))for(c=i._ptLookup[i._targets.indexOf(r)],u=o._props.length;u--;)c[o._props[u]]=l;return o},Su,pD,pk=function n(e,t,i){var s=e.vars,r=s.ease,a=s.startAt,o=s.immediateRender,l=s.lazy,c=s.onUpdate,u=s.runBackwards,h=s.yoyoEase,f=s.keyframes,p=s.autoRevert,b=e._dur,g=e._startAt,S=e._targets,y=e.parent,v=y&&y.data==="nested"?y.vars.targets:S,_=e._overwrite==="auto"&&!sk,x=e.timeline,E,C,I,R,D,k,N,O,j,L,U,M,B;if(x&&(!f||!r)&&(r="none"),e._ease=Kh(r,Bg.ease),e._yEase=h?PX(Kh(h===!0?r:h,Bg.ease)):0,h&&e._yoyo&&!e._repeat&&(h=e._yEase,e._yEase=e._ease,e._ease=h),e._from=!x&&!!s.runBackwards,!x||f&&!s.stagger){if(O=S[0]?Yh(S[0]).harness:0,M=O&&s[O.prop],E=i1(s,ck),g&&(g._zTime<0&&g.progress(1),t<0&&u&&o&&!p?g.render(-1,!0):g.revert(u&&b?NS:ape),g._lazy=0),a){if(qu(e._startAt=vn.set(S,nr({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!g&&rs(l),startAt:null,delay:0,onUpdate:c&&function(){return Hs(e,"onUpdate")},stagger:0},a))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(ai||!o&&!p)&&e._startAt.revert(NS),o&&b&&t<=0&&i<=0){t&&(e._zTime=t);return}}else if(u&&b&&!g){if(t&&(o=!1),I=nr({overwrite:!1,data:"isFromStart",lazy:o&&!g&&rs(l),immediateRender:o,stagger:0,parent:y},E),M&&(I[O.prop]=M),qu(e._startAt=vn.set(S,I)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(ai?e._startAt.revert(NS):e._startAt.render(-1,!0)),e._zTime=t,!o)n(e._startAt,mt,mt);else if(!t)return}for(e._pt=e._ptCache=0,l=b&&rs(l)||l&&!b,C=0;C<S.length;C++){if(D=S[C],N=D._gsap||dk(S)[C]._gsap,e._ptLookup[C]=L={},lD[N.id]&&Ou.length&&n1(),U=v===S?C:v.indexOf(D),O&&(j=new O).init(D,M||E,e,U,v)!==!1&&(e._pt=R=new os(e._pt,D,j.name,0,1,j.render,j,0,j.priority),j._props.forEach(function(F){L[F]=R}),j.priority&&(k=1)),!O||M)for(I in E)Bs[I]&&(j=MX(I,E,e,U,D,v))?j.priority&&(k=1):L[I]=R=fk.call(e,D,I,"get",E[I],U,v,0,s.stringFilter);e._op&&e._op[C]&&e.kill(D,e._op[C]),_&&e._pt&&(Su=e,Xt.killTweensOf(D,L,e.globalTime(t)),B=!e.parent,Su=0),e._pt&&l&&(lD[N.id]=1)}k&&zX(e),e._onInit&&e._onInit(e)}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!B,f&&t<=0&&x.render(Pr,!0,!0)},Npe=function(e,t,i,s,r,a,o,l){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],u,h,f,p;if(!c)for(c=e._ptCache[t]=[],f=e._ptLookup,p=e._targets.length;p--;){if(u=f[p][t],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==t&&u.fp!==t;)u=u._next;if(!u)return pD=1,e.vars[t]="+=0",pk(e,o),pD=0,l?dv(t+" not eligible for reset"):1;c.push(u)}for(p=c.length;p--;)h=c[p],u=h._pt||h,u.s=(s||s===0)&&!r?s:u.s+(s||0)+a*u.c,u.c=i-u.s,h.e&&(h.e=un(i)+yi(h.e)),h.b&&(h.b=u.s+yi(h.b))},Mpe=function(e,t){var i=e[0]?Yh(e[0]).harness:0,s=i&&i.aliases,r,a,o,l;if(!s)return t;r=jg({},t);for(a in s)if(a in r)for(l=s[a].split(","),o=l.length;o--;)r[l[o]]=r[a];return r},Ope=function(e,t,i,s){var r=t.ease||s||"power1.inOut",a,o;if(bi(t))o=i[e]||(i[e]=[]),t.forEach(function(l,c){return o.push({t:c/(t.length-1)*100,v:l,e:r})});else for(a in t)o=i[a]||(i[a]=[]),a==="ease"||o.push({t:parseFloat(e),v:t[a],e:r})},Dy=function(e,t,i,s,r){return sn(e)?e.call(t,i,s,r):Xn(e)&&~e.indexOf("random(")?fv(e):e},OX=uk+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",LX={};as(OX+",id,stagger,delay,duration,paused,scrollTrigger",function(n){return LX[n]=1});var vn=function(n){eX(e,n);function e(i,s,r,a){var o;typeof s=="number"&&(r.duration=s,s=r,r=null),o=n.call(this,a?s:Cy(s))||this;var l=o.vars,c=l.duration,u=l.delay,h=l.immediateRender,f=l.stagger,p=l.overwrite,b=l.keyframes,g=l.defaults,S=l.scrollTrigger,y=l.yoyoEase,v=s.parent||Xt,_=(bi(i)||nX(i)?Xl(i[0]):"length"in s)?[i]:Rr(i),x,E,C,I,R,D,k,N;if(o._targets=_.length?dk(_):dv("GSAP target "+i+" not found. https://gsap.com",!Ks.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=p,b||f||I_(c)||I_(u)){if(s=o.vars,x=o.timeline=new ki({data:"nested",defaults:g||{},targets:v&&v.data==="nested"?v.vars.targets:_}),x.kill(),x.parent=x._dp=Bo(o),x._start=0,f||I_(c)||I_(u)){if(I=_.length,k=f&&_X(f),go(f))for(R in f)~OX.indexOf(R)&&(N||(N={}),N[R]=f[R]);for(E=0;E<I;E++)C=i1(s,LX),C.stagger=0,y&&(C.yoyoEase=y),N&&jg(C,N),D=_[E],C.duration=+Dy(c,Bo(o),E,D,_),C.delay=(+Dy(u,Bo(o),E,D,_)||0)-o._delay,!f&&I===1&&C.delay&&(o._delay=u=C.delay,o._start+=u,C.delay=0),x.to(D,C,k?k(E,D,_):0),x._ease=ze.none;x.duration()?c=u=0:o.timeline=0}
vendor: 5,308 bytes, line 353
353else if(b){Cy(nr(x.vars.defaults,{ease:"none"})),x._ease=Kh(b.ease||s.ease||"none");var O=0,j,L,U;if(bi(b))b.forEach(function(M){return x.to(_,M,">")}),x.duration();else{C={};for(R in b)R==="ease"||R==="easeEach"||Ope(R,b[R],C,b.easeEach);for(R in C)for(j=C[R].sort(function(M,B){return M.t-B.t}),O=0,E=0;E<j.length;E++)L=j[E],U={ease:L.e,duration:(L.t-(E?j[E-1].t:0))/100*c},U[R]=L.v,x.to(_,U,O),O+=U.duration;x.duration()<c&&x.to({},{duration:c-x.duration()})}}c||o.duration(c=x.duration())}else o.timeline=0;return p===!0&&!sk&&(Su=Bo(o),Xt.killTweensOf(_),Su=0),to(v,Bo(o),r),s.reversed&&o.reverse(),s.paused&&o.paused(!0),(h||!c&&!b&&o._start===_n(v._time)&&rs(h)&&hpe(Bo(o))&&v.data!=="nested")&&(o._tTime=-mt,o.render(Math.max(0,-u)||0)),S&&gX(Bo(o),S),o}var t=e.prototype;return t.render=function(s,r,a){var o=this._time,l=this._tDur,c=this._dur,u=s<0,h=s>l-mt&&!u?l:s<mt?0:s,f,p,b,g,S,y,v,_,x;if(!c)ppe(this,s,r,a);else if(h!==this._tTime||!s||a||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(f=h,_=this.timeline,this._repeat){if(g=c+this._rDelay,this._repeat<-1&&u)return this.totalTime(g*100+s,r,a);if(f=_n(h%g),h===l?(b=this._repeat,f=c):(S=_n(h/g),b=~~S,b&&b===S?(f=c,b--):f>c&&(f=c)),y=this._yoyo&&b&1,y&&(x=this._yEase,f=c-f),S=Fg(this._tTime,g),f===o&&!a&&this._initted&&b===S)return this._tTime=h,this;b!==S&&(_&&this._yEase&&RX(_,y),this.vars.repeatRefresh&&!y&&!this._lock&&f!==g&&this._initted&&(this._lock=a=1,this.render(_n(g*b),!0).invalidate()._lock=0))}if(!this._initted){if(yX(this,u?s:f,a,r,h))return this._tTime=0,this;if(o!==this._time&&!(a&&this.vars.repeatRefresh&&b!==S))return this;if(c!==this._dur)return this.render(s,r,a)}if(this._tTime=h,this._time=f,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(x||this._ease)(f/c),this._from&&(this.ratio=v=1-v),!o&&h&&!r&&!S&&(Hs(this,"onStart"),this._tTime!==h))return this;for(p=this._pt;p;)p.r(v,p.d),p=p._next;_&&_.render(s<0?s:_._dur*_._ease(f/this._dur),r,a)||this._startAt&&(this._zTime=s),this._onUpdate&&!r&&(u&&cD(this,s,r,a),Hs(this,"onUpdate")),this._repeat&&b!==S&&this.vars.onRepeat&&!r&&this.parent&&Hs(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(u&&!this._onUpdate&&cD(this,s,!0,!0),(s||!c)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&qu(this,1),!r&&!(u&&!o)&&(h||o||y)&&(Hs(this,h===l?"onComplete":"onReverseComplete",!0),this._prom&&!(h<l&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(s){return(!s||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(s),n.prototype.invalidate.call(this,s)},t.resetTo=function(s,r,a,o,l){pv||Vs.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||pk(this,c),u=this._ease(c/this._dur),Npe(this,s,r,a,o,u,c,l)?this.resetTo(s,r,a,o,1):(Mw(this,0),this.parent||pX(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(s,r){if(r===void 0&&(r="all"),!s&&(!r||r==="all"))return this._lazy=this._pt=0,this.parent?ny(this):this.scrollTrigger&&this.scrollTrigger.kill(!!ai),this;if(this.timeline){var a=this.timeline.totalDuration();return this.timeline.killTweensOf(s,r,Su&&Su.vars.overwrite!==!0)._first||ny(this),this.parent&&a!==this.timeline.totalDuration()&&zg(this,this._dur*this.timeline._tDur/a,0,1),this}var o=this._targets,l=s?Rr(s):o,c=this._ptLookup,u=this._pt,h,f,p,b,g,S,y;if((!r||r==="all")&&upe(o,l))return r==="all"&&(this._pt=0),ny(this);for(h=this._op=this._op||[],r!=="all"&&(Xn(r)&&(g={},as(r,function(v){return g[v]=1}),r=g),r=Mpe(o,r)),y=o.length;y--;)if(~l.indexOf(o[y])){f=c[y],r==="all"?(h[y]=r,b=f,p={}):(p=h[y]=h[y]||{},b=r);for(g in b)S=f&&f[g],S&&((!("kill"in S.d)||S.d.kill(g)===!0)&&kw(this,S,"_pt"),delete f[g]),p!=="all"&&(p[g]=1)}return this._initted&&!this._pt&&u&&ny(this),this},e.to=function(s,r){return new e(s,r,arguments[2])},e.from=function(s,r){return Ty(1,arguments)},e.delayedCall=function(s,r,a,o){return new e(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:s,onComplete:r,onReverseComplete:r,onCompleteParams:a,onReverseCompleteParams:a,callbackScope:o})},e.fromTo=function(s,r,a){return Ty(2,arguments)},e.set=function(s,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new e(s,r)},e.killTweensOf=function(s,r,a){return Xt.killTweensOf(s,r,a)},e}(mv);nr(vn.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});as("staggerTo,staggerFrom,staggerFromTo",function(n){vn[n]=function(){var e=new ki,t=dD.call(arguments,0);return t.splice(n==="staggerFromTo"?5:4,0,0),e[n].apply(e,t)}});var mk=function(e,t,i){return e[t]=i},BX=function(e,t,i){return e[t](i)},Lpe=function(e,t,i,s){return e[t](s.fp,i)},Bpe=function(e,t,i){return e.setAttribute(t,i)},gk=function(e,t){return sn(e[t])?BX:rk(e[t])&&e.setAttribute?Bpe:mk},jX=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},jpe=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},FX=function(e,t){var i=t._pt,s="";if(!e&&t.b)s=t.b;else if(e===1&&t.e)s=t.e;else{for(;i;)s=i.p+(i.m?i.m(i.s+i.c*e):Math.round((i.s+i.c*e)*1e4)/1e4)+s,i=i._next;s+=t.c}t.set(t.t,t.p,s,t)},yk=function(e,t){for(var i=t._pt;i;)i.r(e,i.d),i=i._next}
vendor: 3,767 bytes, line 353
353,Fpe=function(e,t,i,s){for(var r=this._pt,a;r;)a=r._next,r.p===s&&r.modifier(e,t,i),r=a},zpe=function(e){for(var t=this._pt,i,s;t;)s=t._next,t.p===e&&!t.op||t.op===e?kw(this,t,"_pt"):t.dep||(i=1),t=s;return!i},Upe=function(e,t,i,s){s.mSet(e,t,s.m.call(s.tween,i,s.mt),s)},zX=function(e){for(var t=e._pt,i,s,r,a;t;){for(i=t._next,s=r;s&&s.pr>t.pr;)s=s._next;(t._prev=s?s._prev:a)?t._prev._next=t:r=t,(t._next=s)?s._prev=t:a=t,t=i}e._pt=r},os=function(){function n(t,i,s,r,a,o,l,c,u){this.t=i,this.s=r,this.c=a,this.p=s,this.r=o||jX,this.d=l||this,this.set=c||mk,this.pr=u||0,this._next=t,t&&(t._prev=this)}var e=n.prototype;return e.modifier=function(i,s,r){this.mSet=this.mSet||this.set,this.set=Upe,this.m=i,this.mt=r,this.tween=s},n}();as(uk+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(n){return ck[n]=1});tr.TweenMax=tr.TweenLite=vn;tr.TimelineLite=tr.TimelineMax=ki;Xt=new ki({sortChildren:!1,defaults:Bg,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Ks.stringFilter=DX;var Qh=[],OS={},Vpe=[],zL=0,Xpe=0,DA=function(e){return(OS[e]||Vpe).map(function(t){return t()})},mD=function(){var e=Date.now(),t=[];e-zL>2&&(DA("matchMediaInit"),Qh.forEach(function(i){var s=i.queries,r=i.conditions,a,o,l,c;for(o in s)a=Aa.matchMedia(s[o]).matches,a&&(l=1),a!==r[o]&&(r[o]=a,c=1);c&&(i.revert(),l&&t.push(i))}),DA("matchMediaRevert"),t.forEach(function(i){return i.onMatch(i,function(s){return i.add(null,s)})}),zL=e,DA("matchMedia"))},UX=function(){function n(t,i){this.selector=i&&hD(i),this.data=[],this._r=[],this.isReverted=!1,this.id=Xpe++,t&&this.add(t)}var e=n.prototype;return e.add=function(i,s,r){sn(i)&&(r=s,s=i,i=sn);var a=this,o=function(){var c=Lt,u=a.selector,h;return c&&c!==a&&c.data.push(a),r&&(a.selector=hD(r)),Lt=a,h=s.apply(a,arguments),sn(h)&&a._r.push(h),Lt=c,a.selector=u,a.isReverted=!1,h};return a.last=o,i===sn?o(a,function(l){return a.add(null,l)}):i?a[i]=o:o},e.ignore=function(i){var s=Lt;Lt=null,i(this),Lt=s},e.getTweens=function(){var i=[];return this.data.forEach(function(s){return s instanceof n?i.push.apply(i,s.getTweens()):s instanceof vn&&!(s.parent&&s.parent.data==="nested")&&i.push(s)}),i},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(i,s){var r=this;if(i?function(){for(var o=r.getTweens(),l=r.data.length,c;l--;)c=r.data[l],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(u){return o.splice(o.indexOf(u),1)}));for(o.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,h){return h.g-u.g||-1/0}).forEach(function(u){return u.t.revert(i)}),l=r.data.length;l--;)c=r.data[l],c instanceof ki?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof vn)&&c.revert&&c.revert(i);r._r.forEach(function(u){return u(i,r)}),r.isReverted=!0}():this.data.forEach(function(o){return o.kill&&o.kill()}),this.clear(),s)for(var a=Qh.length;a--;)Qh[a].id===this.id&&Qh.splice(a,1)},e.revert=function(i){this.kill(i||{})},n}(),Hpe=function(){function n(t){this.contexts=[],this.scope=t,Lt&&Lt.data.push(this)}var e=n.prototype;return e.add=function(i,s,r){go(i)||(i={matches:i});var a=new UX(0,r||this.scope),o=a.conditions={},l,c,u;Lt&&!a.selector&&(a.selector=Lt.selector),this.contexts.push(a),s=a.add("onMatch",s),a.queries=i;for(c in i)c==="all"?u=1:(l=Aa.matchMedia(i[c]),l&&(Qh.indexOf(a)<0&&Qh.push(a),(o[c]=l.matches)&&(u=1),l.addListener?l.addListener(mD):l.addEventListener("change",mD)));return u&&s(a,function(h){return a.add(null,h)}),this},e.revert=function(i){this.kill(i||{})}
vendor: 13,059 bytes, lines 353-360
353,e.kill=function(i){this.contexts.forEach(function(s){return s.kill(i,!0)})},n}(),r1={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];t.forEach(function(s){return IX(s)})},timeline:function(e){return new ki(e)},getTweensOf:function(e,t){return Xt.getTweensOf(e,t)},getProperty:function(e,t,i,s){Xn(e)&&(e=Rr(e)[0]);var r=Yh(e||{}).get,a=i?fX:hX;return i==="native"&&(i=""),e&&(t?a((Bs[t]&&Bs[t].get||r)(e,t,i,s)):function(o,l,c){return a((Bs[o]&&Bs[o].get||r)(e,o,l,c))})},quickSetter:function(e,t,i){if(e=Rr(e),e.length>1){var s=e.map(function(u){return us.quickSetter(u,t,i)}),r=s.length;return function(u){for(var h=r;h--;)s[h](u)}}e=e[0]||{};var a=Bs[t],o=Yh(e),l=o.harness&&(o.harness.aliases||{})[t]||t,c=a?function(u){var h=new a;op._pt=0,h.init(e,i?u+i:u,op,0,[e]),h.render(1,h),op._pt&&yk(1,op)}:o.set(e,l);return a?c:function(u){return c(e,l,i?u+i:u,o,1)}},quickTo:function(e,t,i){var s,r=us.to(e,nr((s={},s[t]="+=0.1",s.paused=!0,s.stagger=0,s),i||{})),a=function(l,c,u){return r.resetTo(t,l,c,u)};return a.tween=r,a},isTweening:function(e){return Xt.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Kh(e.ease,Bg.ease)),OL(Bg,e||{})},config:function(e){return OL(Ks,e||{})},registerEffect:function(e){var t=e.name,i=e.effect,s=e.plugins,r=e.defaults,a=e.extendTimeline;(s||"").split(",").forEach(function(o){return o&&!Bs[o]&&!tr[o]&&dv(t+" effect requires "+o+" plugin.")}),AA[t]=function(o,l,c){return i(Rr(o),nr(l||{},r),c)},a&&(ki.prototype[t]=function(o,l,c){return this.add(AA[t](o,go(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,t){ze[e]=Kh(t)},parseEase:function(e,t){return arguments.length?Kh(e,t):ze},getById:function(e){return Xt.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var i=new ki(e),s,r;for(i.smoothChildTiming=rs(e.smoothChildTiming),Xt.remove(i),i._dp=0,i._time=i._tTime=Xt._time,s=Xt._first;s;)r=s._next,(t||!(!s._dur&&s instanceof vn&&s.vars.onComplete===s._targets[0]))&&to(i,s,s._start-s._delay),s=r;return to(Xt,i,0),i},context:function(e,t){return e?new UX(e,t):Lt},matchMedia:function(e){return new Hpe(e)},matchMediaRefresh:function(){return Qh.forEach(function(e){var t=e.conditions,i,s;for(s in t)t[s]&&(t[s]=!1,i=1);i&&e.revert()})||mD()},addEventListener:function(e,t){var i=OS[e]||(OS[e]=[]);~i.indexOf(t)||i.push(t)},removeEventListener:function(e,t){var i=OS[e],s=i&&i.indexOf(t);s>=0&&i.splice(s,1)},utils:{wrap:xpe,wrapYoyo:wpe,distribute:_X,random:xX,snap:SX,normalize:Spe,getUnit:yi,clamp:ype,splitColor:CX,toArray:Rr,selector:hD,mapRange:EX,pipe:bpe,unitize:_pe,interpolate:Epe,shuffle:bX},install:oX,effects:AA,ticker:Vs,updateRoot:ki.updateRoot,plugins:Bs,globalTimeline:Xt,core:{PropTween:os,globals:lX,Tween:vn,Timeline:ki,Animation:mv,getCache:Yh,_removeLinkedListItem:kw,reverting:function(){return ai},context:function(e){return e&&Lt&&(Lt.data.push(e),e._ctx=Lt),Lt},suppressOverwrites:function(e){return sk=e}}};as("to,from,fromTo,delayedCall,set,killTweensOf",function(n){return r1[n]=vn[n]});Vs.add(ki.updateRoot);op=r1.to({},{duration:0});var Gpe=function(e,t){for(var i=e._pt;i&&i.p!==t&&i.op!==t&&i.fp!==t;)i=i._next;return i},$pe=function(e,t){var i=e._targets,s,r,a;for(s in t)for(r=i.length;r--;)a=e._ptLookup[r][s],a&&(a=a.d)&&(a._pt&&(a=Gpe(a,s)),a&&a.modifier&&a.modifier(t[s],e,i[r],s))},PA=function(e,t){return{name:e,headless:1,rawVars:1,init:function(s,r,a){a._onInit=function(o){var l,c;if(Xn(r)&&(l={},as(r,function(u){return l[u]=1}),r=l),t){l={};for(c in r)l[c]=t(r[c]);r=l}$pe(o,r)}}}},us=r1.registerPlugin({name:"attr",init:function(e,t,i,s,r){var a,o,l;this.tween=i;for(a in t)l=e.getAttribute(a)||"",o=this.add(e,"setAttribute",(l||0)+"",t[a],s,r,0,0,a),o.op=a,o.b=l,this._props.push(a)},render:function(e,t){for(var i=t._pt;i;)ai?i.set(i.t,i.p,i.b,i):i.r(e,i.d),i=i._next}},{name:"endArray",headless:1,init:function(e,t){for(var i=t.length;i--;)this.add(e,i,e[i]||0,t[i],0,0,0,0,0,1)}},PA("roundProps",fD),PA("modifiers"),PA("snap",SX))||r1;vn.version=ki.version=us.version="3.13.0";aX=1;ak()&&Ug();ze.Power0;ze.Power1;ze.Power2;ze.Power3;ze.Power4;ze.Linear;ze.Quad;ze.Cubic;ze.Quart;ze.Quint;ze.Strong;ze.Elastic;ze.Back;ze.SteppedEase;ze.Bounce;ze.Sine;ze.Expo;ze.Circ;/*! 354 * CSSPlugin 3.13.0 355 * https://gsap.com 356 * 357 * Copyright 2008-2025, GreenSock. All rights reserved. 358 * Subject to the terms at https://gsap.com/standard-license 359 * @author: Jack Doyle, [email protected] 360*/var UL,xu,Rp,vk,xd,VL,bk,qpe=function(){return typeof window<"u"},Hl={},gd=180/Math.PI,kp=Math.PI/180,Df=Math.atan2,XL=1e8,_k=/([A-Z])/g,Ype=/(left|right|width|margin|padding|x)/i,Wpe=/[\s,\(]\S/,oo={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},gD=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Kpe=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Qpe=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Jpe=function(e,t){var i=t.s+t.c*e;t.set(t.t,t.p,~~(i+(i<0?-.5:.5))+t.u,t)},VX=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},XX=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},Zpe=function(e,t,i){return e.style[t]=i},eme=function(e,t,i){return e.style.setProperty(t,i)},tme=function(e,t,i){return e._gsap[t]=i},nme=function(e,t,i){return e._gsap.scaleX=e._gsap.scaleY=i},ime=function(e,t,i,s,r){var a=e._gsap;a.scaleX=a.scaleY=i,a.renderTransform(r,a)},sme=function(e,t,i,s,r){var a=e._gsap;a[t]=i,a.renderTransform(r,a)},Gt="transform",ls=Gt+"Origin",rme=function n(e,t){var i=this,s=this.target,r=s.style,a=s._gsap;if(e in Hl&&r){if(this.tfm=this.tfm||{},e!=="transform")e=oo[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return i.tfm[o]=Uo(s,o)}):this.tfm[e]=a.x?a[e]:Uo(s,e),e===ls&&(this.tfm.zOrigin=a.zOrigin);else return oo.transform.split(",").forEach(function(o){return n.call(i,o,t)});if(this.props.indexOf(Gt)>=0)return;a.svg&&(this.svgo=s.getAttribute("data-svg-origin"),this.props.push(ls,t,"")),e=Gt}(r||t)&&this.props.push(e,t,r[e])},HX=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},ame=function(){var e=this.props,t=this.target,i=t.style,s=t._gsap,r,a;for(r=0;r<e.length;r+=3)e[r+1]?e[r+1]===2?t[e[r]](e[r+2]):t[e[r]]=e[r+2]:e[r+2]?i[e[r]]=e[r+2]:i.removeProperty(e[r].substr(0,2)==="--"?e[r]:e[r].replace(_k,"-$1").toLowerCase());if(this.tfm){for(a in this.tfm)s[a]=this.tfm[a];s.svg&&(s.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),r=bk(),(!r||!r.isStart)&&!i[Gt]&&(HX(i),s.zOrigin&&i[ls]&&(i[ls]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},GX=function(e,t){var i={target:e,props:[],revert:ame,save:rme};return e._gsap||us.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(s){return i.save(s)}),i},$X,yD=function(e,t){var i=xu.createElementNS?xu.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):xu.createElement(e);return i&&i.style?i:xu.createElement(e)},kr=function n(e,t,i){var s=getComputedStyle(e);return s[t]||s.getPropertyValue(t.replace(_k,"-$1").toLowerCase())||s.getPropertyValue(t)||!i&&n(e,Vg(t)||t,1)||""},HL="O,Moz,ms,Ms,Webkit".split(","),Vg=function(e,t,i){var s=t||xd,r=s.style,a=5;if(e in r&&!i)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);a--&&!(HL[a]+e in r););return a<0?null:(a===3?"ms":a>=0?HL[a]:"")+e},vD=function(){qpe()&&window.document&&(UL=window,xu=UL.document,Rp=xu.documentElement,xd=yD("div")||{style:{}},yD("div"),Gt=Vg(Gt),ls=Gt+"Origin",xd.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",$X=!!Vg("perspective"),bk=us.core.reverting,vk=1)},GL=function(e){var t=e.ownerSVGElement,i=yD("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),s=e.cloneNode(!0),r;s.style.display="block",i.appendChild(s),Rp.appendChild(i);try{r=s.getBBox()}catch{}return i.removeChild(s),Rp.removeChild(i),r},$L=function(e,t){for(var i=t.length;i--;)if(e.hasAttribute(t[i]))return e.getAttribute(t[i])},qX=function(e){var t,i;try{t=e.getBBox()}catch{t=GL(e),i=1}return t&&(t.width||t.height)||i||(t=GL(e)),t&&!t.width&&!t.x&&!t.y?{x:+$L(e,["x","cx","x1"])||0,y:+$L(e,["y","cy","y1"])||0,width:0,height:0}:t},YX=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&qX(e))},df=function(e,t){if(t){var i=e.style,s;t in Hl&&t!==ls&&(t=Gt),i.removeProperty?(s=t.substr(0,2),(s==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),i.removeProperty(s==="--"?t:t.replace(_k,"-$1").toLowerCase())):i.removeAttribute(t)}},wu=function(e,t,i,s,r,a){var o=new os(e._pt,t,i,0,1,a?XX:VX);return e._pt=o,o.b=s,o.e=r,e._props.push(i),o},qL={deg:1,rad:1,turn:1},ome={grid:1,flex:1},Yu=function n(e,t,i,s){var r=parseFloat(i)||0,a=(i+"").trim().substr((r+"").length)||"px",o=xd.style,l=Ype.test(t),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),h=100,f=s==="px",p=s==="%",b,g,S,y;if(s===a||!r||qL[s]||qL[a])return r;if(a!=="px"&&!f&&(r=n(e,t,i,"px")),y=e.getCTM&&YX(e),(p||a==="%")&&(Hl[t]||~t.indexOf("adius")))return b=y?e.getBBox()[l?"width":"height"]:e[u],un(p?r/b*h:r/100*b);if(o[l?"width":"height"]=h+(f?a:s),g=s!=="rem"&&~t.indexOf("adius")||s==="em"&&e.appendChild&&!c?e:e.parentNode,y&&(g=(e.ownerSVGElement||{}).parentNode),(!g||g===xu||!g.appendChild)&&(g=xu.body),S=g._gsap,S&&p&&S.width&&l&&S.time===Vs.time&&!S.uncache)return un(r/S.width*h);if(p&&(t==="height"||t==="width")){var v=e.style[t];e.style[t]=h+s,b=e[u],v?e.style[t]=v:df(e,t)}else(p||a==="%")&&!ome[kr(g,"display")]&&(o.position=kr(e,"position")),g===e&&(o.position="static"),g.appendChild(xd),b=xd[u],g.removeChild(xd),o.position="absolute";return l&&p&&(S=Yh(g),S.time=Vs.time,S.width=g[u]),un(f?b*r/h:b&&r?h/b*r:0)},Uo=function(e,t,i,s){var r;return vk||vD(),t in oo&&t!=="transform"&&(t=oo[t],~t.indexOf(",")&&(t=t.split(",")[0])),Hl[t]&&t!=="transform"?(r=yv(e,s),r=t!=="transformOrigin"?r[t]:r.svg?r.origin:o1(kr(e,ls))+" "+r.zOrigin+"px"):(r=e.style[t],(!r||r==="auto"||s||~(r+"").indexOf("calc("))&&(r=a1[t]&&a1[t](e,t,i)||kr(e,t)||uX(e,t)||(t==="opacity"?1:0))),i&&!~(r+"").trim().indexOf(" ")?Yu(e,t,r,i)+i:r},lme=function(e,t,i,s){if(!i||i==="none"){var r=Vg(t,e,1),a=r&&kr(e,r,1);a&&a!==i?(t=r,i=a):t==="borderColor"&&(i=kr(e,"borderTopColor"))}var o=new os(this._pt,e.style,t,0,1,FX),l=0,c=0,u,h,f,p,b,g,S,y,v,_,x,E;if(o.b=i,o.e=s,i+="",s+="",s.substring(0,6)==="var(--"&&(s=kr(e,s.substring(4,s.indexOf(")")))),s==="auto"&&(g=e.style[t],e.style[t]=s,s=kr(e,t)||s,g?e.style[t]=g:df(e,t)),u=[i,s],DX(u),i=u[0],s=u[1],f=i.match(ap)||[],E=s.match(ap)||[],E.length){for(;h=ap.exec(s);)S=h[0],v=s.substring(l,h.index),b?b=(b+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(b=1),S!==(g=f[c++]||"")&&(p=parseFloat(g)||0,x=g.substr((p+"").length),S.charAt(1)==="="&&(S=Pp(p,S)+x),y=parseFloat(S),_=S.substr((y+"").length),l=ap.lastIndex-_.length,_||(_=_||Ks.units[t]||x,l===s.length&&(s+=_,o.e+=_)),x!==_&&(p=Yu(e,t,g,_)||0),o._pt={_next:o._pt,p:v||c===1?v:",",s:p,c:y-p,m:b&&b<4||t==="zIndex"?Math.round:0});o.c=l<s.length?s.substring(l,s.length):""}else o.r=t==="display"&&s==="none"?XX:VX;return sX.test(s)&&(o.e=0),this._pt=o,o},YL={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},cme=function(e){var t=e.split(" "),i=t[0],s=t[1]||"50%";return(i==="top"||i==="bottom"||s==="left"||s==="right")&&(e=i,i=s,s=e),t[0]=YL[i]||i,t[1]=YL[s]||s,t.join(" ")},ume=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var i=t.t,s=i.style,r=t.u,a=i._gsap,o,l,c;if(r==="all"||r===!0)s.cssText="",l=1;else for(r=r.split(","),c=r.length;--c>-1;)o=r[c],Hl[o]&&(l=1,o=o==="transformOrigin"?ls:Gt),df(i,o);l&&(df(i,Gt),a&&(a.svg&&i.removeAttribute("transform"),s.scale=s.rotate=s.translate="none",yv(i,1),a.uncache=1,HX(s)))}},a1={clearProps:function(e,t,i,s,r){if(r.data!=="isFromStart"){var a=e._pt=new os(e._pt,t,i,0,0,ume);return a.u=s,a.pr=-10,a.tween=r,e._props.push(i),1}}},gv=[1,0,0,1,0,0],WX={},KX=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},WL=function(e){var t=kr(e,Gt);return KX(t)?gv:t.substr(7).match(iX).map(un)},Sk=function(e,t){var i=e._gsap||Yh(e),s=e.style,r=WL(e),a,o,l,c;return i.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,r=[l.a,l.b,l.c,l.d,l.e,l.f],r.join(",")==="1,0,0,1,0,0"?gv:r):(r===gv&&!e.offsetParent&&e!==Rp&&!i.svg&&(l=s.display,s.display="block",a=e.parentNode,(!a||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,o=e.nextElementSibling,Rp.appendChild(e)),r=WL(e),l?s.display=l:df(e,"display"),c&&(o?a.insertBefore(e,o):a?a.appendChild(e):Rp.removeChild(e))),t&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r)},bD=function(e,t,i,s,r,a){var o=e._gsap,l=r||Sk(e,!0),c=o.xOrigin||0,u=o.yOrigin||0,h=o.xOffset||0,f=o.yOffset||0,p=l[0],b=l[1],g=l[2],S=l[3],y=l[4],v=l[5],_=t.split(" "),x=parseFloat(_[0])||0,E=parseFloat(_[1])||0,C,I,R,D;i?l!==gv&&(I=p*S-b*g)&&(R=x*(S/I)+E*(-g/I)+(g*v-S*y)/I,D=x*(-b/I)+E*(p/I)-(p*v-b*y)/I,x=R,E=D):(C=qX(e),x=C.x+(~_[0].indexOf("%")?x/100*C.width:x),E=C.y+(~(_[1]||_[0]).indexOf("%")?E
vendor: 6,429 bytes, line 360
360/100*C.height:E)),s||s!==!1&&o.smooth?(y=x-c,v=E-u,o.xOffset=h+(y*p+v*g)-y,o.yOffset=f+(y*b+v*S)-v):o.xOffset=o.yOffset=0,o.xOrigin=x,o.yOrigin=E,o.smooth=!!s,o.origin=t,o.originIsAbsolute=!!i,e.style[ls]="0px 0px",a&&(wu(a,o,"xOrigin",c,x),wu(a,o,"yOrigin",u,E),wu(a,o,"xOffset",h,o.xOffset),wu(a,o,"yOffset",f,o.yOffset)),e.setAttribute("data-svg-origin",x+" "+E)},yv=function(e,t){var i=e._gsap||new NX(e);if("x"in i&&!t&&!i.uncache)return i;var s=e.style,r=i.scaleX<0,a="px",o="deg",l=getComputedStyle(e),c=kr(e,ls)||"0",u,h,f,p,b,g,S,y,v,_,x,E,C,I,R,D,k,N,O,j,L,U,M,B,F,z,G,te,Y,X,W,ae;return u=h=f=g=S=y=v=_=x=0,p=b=1,i.svg=!!(e.getCTM&&YX(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(s[Gt]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[Gt]!=="none"?l[Gt]:"")),s.scale=s.rotate=s.translate="none"),I=Sk(e,i.svg),i.svg&&(i.uncache?(F=e.getBBox(),c=i.xOrigin-F.x+"px "+(i.yOrigin-F.y)+"px",B=""):B=!t&&e.getAttribute("data-svg-origin"),bD(e,B||c,!!B||i.originIsAbsolute,i.smooth!==!1,I)),E=i.xOrigin||0,C=i.yOrigin||0,I!==gv&&(N=I[0],O=I[1],j=I[2],L=I[3],u=U=I[4],h=M=I[5],I.length===6?(p=Math.sqrt(N*N+O*O),b=Math.sqrt(L*L+j*j),g=N||O?Df(O,N)*gd:0,v=j||L?Df(j,L)*gd+g:0,v&&(b*=Math.abs(Math.cos(v*kp))),i.svg&&(u-=E-(E*N+C*j),h-=C-(E*O+C*L))):(ae=I[6],X=I[7],G=I[8],te=I[9],Y=I[10],W=I[11],u=I[12],h=I[13],f=I[14],R=Df(ae,Y),S=R*gd,R&&(D=Math.cos(-R),k=Math.sin(-R),B=U*D+G*k,F=M*D+te*k,z=ae*D+Y*k,G=U*-k+G*D,te=M*-k+te*D,Y=ae*-k+Y*D,W=X*-k+W*D,U=B,M=F,ae=z),R=Df(-j,Y),y=R*gd,R&&(D=Math.cos(-R),k=Math.sin(-R),B=N*D-G*k,F=O*D-te*k,z=j*D-Y*k,W=L*k+W*D,N=B,O=F,j=z),R=Df(O,N),g=R*gd,R&&(D=Math.cos(R),k=Math.sin(R),B=N*D+O*k,F=U*D+M*k,O=O*D-N*k,M=M*D-U*k,N=B,U=F),S&&Math.abs(S)+Math.abs(g)>359.9&&(S=g=0,y=180-y),p=un(Math.sqrt(N*N+O*O+j*j)),b=un(Math.sqrt(M*M+ae*ae)),R=Df(U,M),v=Math.abs(R)>2e-4?R*gd:0,x=W?1/(W<0?-W:W):0),i.svg&&(B=e.getAttribute("transform"),i.forceCSS=e.setAttribute("transform","")||!KX(kr(e,Gt)),B&&e.setAttribute("transform",B))),Math.abs(v)>90&&Math.abs(v)<270&&(r?(p*=-1,v+=g<=0?180:-180,g+=g<=0?180:-180):(b*=-1,v+=v<=0?180:-180)),t=t||i.uncache,i.x=u-((i.xPercent=u&&(!t&&i.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*i.xPercent/100:0)+a,i.y=h-((i.yPercent=h&&(!t&&i.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*i.yPercent/100:0)+a,i.z=f+a,i.scaleX=un(p),i.scaleY=un(b),i.rotation=un(g)+o,i.rotationX=un(S)+o,i.rotationY=un(y)+o,i.skewX=v+o,i.skewY=_+o,i.transformPerspective=x+a,(i.zOrigin=parseFloat(c.split(" ")[2])||!t&&i.zOrigin||0)&&(s[ls]=o1(c)),i.xOffset=i.yOffset=0,i.force3D=Ks.force3D,i.renderTransform=i.svg?hme:$X?QX:dme,i.uncache=0,i},o1=function(e){return(e=e.split(" "))[0]+" "+e[1]},RA=function(e,t,i){var s=yi(t);return un(parseFloat(t)+parseFloat(Yu(e,"x",i+"px",s)))+s},dme=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,QX(e,t)},ad="0deg",C0="0px",od=") ",QX=function(e,t){var i=t||this,s=i.xPercent,r=i.yPercent,a=i.x,o=i.y,l=i.z,c=i.rotation,u=i.rotationY,h=i.rotationX,f=i.skewX,p=i.skewY,b=i.scaleX,g=i.scaleY,S=i.transformPerspective,y=i.force3D,v=i.target,_=i.zOrigin,x="",E=y==="auto"&&e&&e!==1||y===!0;if(_&&(h!==ad||u!==ad)){var C=parseFloat(u)*kp,I=Math.sin(C),R=Math.cos(C),D;C=parseFloat(h)*kp,D=Math.cos(C),a=RA(v,a,I*D*-_),o=RA(v,o,-Math.sin(C)*-_),l=RA(v,l,R*D*-_+_)}S!==C0&&(x+="perspective("+S+od),(s||r)&&(x+="translate("+s+"%, "+r+"%) "),(E||a!==C0||o!==C0||l!==C0)&&(x+=l!==C0||E?"translate3d("+a+", "+o+", "+l+") ":"translate("+a+", "+o+od),c!==ad&&(x+="rotate("+c+od),u!==ad&&(x+="rotateY("+u+od),h!==ad&&(x+="rotateX("+h+od),(f!==ad||p!==ad)&&(x+="skew("+f+", "+p+od),(b!==1||g!==1)&&(x+="scale("+b+", "+g+od),v.style[Gt]=x||"translate(0, 0)"},hme=function(e,t){var i=t||this,s=i.xPercent,r=i.yPercent,a=i.x,o=i.y,l=i.rotation,c=i.skewX,u=i.skewY,h=i.scaleX,f=i.scaleY,p=i.target,b=i.xOrigin,g=i.yOrigin,S=i.xOffset,y=i.yOffset,v=i.forceCSS,_=parseFloat(a),x=parseFloat(o),E,C,I,R,D;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=kp,c*=kp,E=Math.cos(l)*h,C=Math.sin(l)*h,I=Math.sin(l-c)*-f,R=Math.cos(l-c)*f,c&&(u*=kp,D=Math.tan(c-u),D=Math.sqrt(1+D*D),I*=D,R*=D,u&&(D=Math.tan(u),D=Math.sqrt(1+D*D),E*=D,C*=D)),E=un(E),C=un(C),I=un(I),R=un(R)):(E=h,R=f,C=I=0),(_&&!~(a+"").indexOf("px")||x&&!~(o+"").indexOf("px"))&&(_=Yu(p,"x",a,"px"),x=Yu(p,"y",o,"px")),(b||g||S||y)&&(_=un(_+b-(b*E+g*I)+S),x=un(x+g-(b*C+g*R)+y)),(s||r)&&(D=p.getBBox(),_=un(_+s/100*D.width),x=un(x+r/100*D.height)),D="matrix("+E+","+C+","+I+","+R+","+_+","+x+")",p.setAttribute("transform",D),v&&(p.style[Gt]=D)},fme=function(e,t,i,s,r){var a=360,o=Xn(r),l=parseFloat(r)*(o&&~r.indexOf("rad")?gd:1),c=l-s,u=s+c+"deg",h,f;return o&&(h=r.split("_")[1],h==="short"&&(c%=a,c!==c%(a/2)&&(c+=c<0?a:-a)),h==="cw"&&c<0?c=(c+a*XL)%a-~~(c/a)*a:h==="ccw"&&c>0&&(c=(c-a*XL)%a-~~(c/a)*a)),e._pt=f=new os(e._pt,t,i,s,c,Kpe),f.e=u,f.u="deg",e._props.push(i),f},KL=function(e,t){for(var i in t)e[i]=t[i];return e},pme=function(e,t,i){var s=KL({},i._gsap),r="perspective,force3D,transformOrigin,svgOrigin",a=i.style,o,l,c,u,h,f,p,b;s.svg?(c=i.getAttribute("transform"),i.setAttribute("transform",""),a[Gt]=t,o=yv(i,1),df(i,Gt),i.setAttribute("transform",c)):(c=getComputedStyle(i)[Gt],a[Gt]=t,o=yv(i,1),a[Gt]=c);for(l in Hl)c=s[l],u=o[l],c!==u&&r.indexOf(l)<0&&(p=yi(c),b=yi(u),h=p!==b?Yu(i,l,c,b):parseFloat(c),f=parseFloat(u),e._pt=new os(e._pt,o,l,h,f-h,gD),e._pt.u=b||0,e._props.push(l));KL(o,s)};as("padding,margin,Width,Radius",function(n,e){var t="Top",i="Right",s="Bottom",r="Left",a=(e<3?[t,i,s,r]:[t+r,t+i,s+i,s+r]).map(function(o){return e<2?n+o:"border"+o+n});a1[e>1?"border"+n:n]=function(o,l,c,u,h){var f,p;if(arguments.length<4)return f=a.map(function(b){return Uo(o,b,c)}),p=f.join(" "),p.split(f[0]).length===5?f[0]:p;f=(u+"").split(" "),p={},a.forEach(function(b,g){return p[b]=f[g]=f[g]||f[(g-1)/2|0]}),o.init(l,p,h)}});var JX={name:"css",register:vD,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,i,s,r){var a=this._props,o=e.style,l=i.vars.startAt,c,u,h,f,p,b,g,S,y,v,_,x,E,C,I,R;vk||vD(),this.styles=this.styles||GX(e),R=this.styles.props,this.tween=i;for(g in t)if(g!=="autoRound"&&(u=t[g],!(Bs[g]&&MX(g,t,i,s,e,r)))
vendor: 5,213 bytes, lines 360-448
360){if(p=typeof u,b=a1[g],p==="function"&&(u=u.call(i,s,e,r),p=typeof u),p==="string"&&~u.indexOf("random(")&&(u=fv(u)),b)b(this,e,g,u,i)&&(I=1);else if(g.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(g)+"").trim(),u+="",Lu.lastIndex=0,Lu.test(c)||(S=yi(c),y=yi(u)),y?S!==y&&(c=Yu(e,g,c,y)+y):S&&(u+=S),this.add(o,"setProperty",c,u,s,r,0,0,g),a.push(g),R.push(g,0,o[g]);else if(p!=="undefined"){if(l&&g in l?(c=typeof l[g]=="function"?l[g].call(i,s,e,r):l[g],Xn(c)&&~c.indexOf("random(")&&(c=fv(c)),yi(c+"")||c==="auto"||(c+=Ks.units[g]||yi(Uo(e,g))||""),(c+"").charAt(1)==="="&&(c=Uo(e,g))):c=Uo(e,g),f=parseFloat(c),v=p==="string"&&u.charAt(1)==="="&&u.substr(0,2),v&&(u=u.substr(2)),h=parseFloat(u),g in oo&&(g==="autoAlpha"&&(f===1&&Uo(e,"visibility")==="hidden"&&h&&(f=0),R.push("visibility",0,o.visibility),wu(this,o,"visibility",f?"inherit":"hidden",h?"inherit":"hidden",!h)),g!=="scale"&&g!=="transform"&&(g=oo[g],~g.indexOf(",")&&(g=g.split(",")[0]))),_=g in Hl,_){if(this.styles.save(g),p==="string"&&u.substring(0,6)==="var(--"&&(u=kr(e,u.substring(4,u.indexOf(")"))),h=parseFloat(u)),x||(E=e._gsap,E.renderTransform&&!t.parseTransform||yv(e,t.parseTransform),C=t.smoothOrigin!==!1&&E.smooth,x=this._pt=new os(this._pt,o,Gt,0,1,E.renderTransform,E,0,-1),x.dep=1),g==="scale")this._pt=new os(this._pt,E,"scaleY",E.scaleY,(v?Pp(E.scaleY,v+h):h)-E.scaleY||0,gD),this._pt.u=0,a.push("scaleY",g),g+="X";else if(g==="transformOrigin"){R.push(ls,0,o[ls]),u=cme(u),E.svg?bD(e,u,0,C,0,this):(y=parseFloat(u.split(" ")[2])||0,y!==E.zOrigin&&wu(this,E,"zOrigin",E.zOrigin,y),wu(this,o,g,o1(c),o1(u)));continue}else if(g==="svgOrigin"){bD(e,u,1,C,0,this);continue}else if(g in WX){fme(this,E,g,f,v?Pp(f,v+u):u);continue}else if(g==="smoothOrigin"){wu(this,E,"smooth",E.smooth,u);continue}else if(g==="force3D"){E[g]=u;continue}else if(g==="transform"){pme(this,u,e);continue}}else g in o||(g=Vg(g)||g);if(_||(h||h===0)&&(f||f===0)&&!Wpe.test(u)&&g in o)S=(c+"").substr((f+"").length),h||(h=0),y=yi(u)||(g in Ks.units?Ks.units[g]:S),S!==y&&(f=Yu(e,g,c,y)),this._pt=new os(this._pt,_?E:o,g,f,(v?Pp(f,v+h):h)-f,!_&&(y==="px"||g==="zIndex")&&t.autoRound!==!1?Jpe:gD),this._pt.u=y||0,S!==y&&y!=="%"&&(this._pt.b=c,this._pt.r=Qpe);else if(g in o)lme.call(this,e,g,c,v?v+u:u);else if(g in e)this.add(e,g,c||e[g],v?v+u:u,s,r);else if(g!=="parseTransform"){lk(g,u);continue}_||(g in o?R.push(g,0,o[g]):typeof e[g]=="function"?R.push(g,2,e[g]()):R.push(g,1,c||e[g])),a.push(g)}}I&&zX(this)},render:function(e,t){if(t.tween._time||!bk())for(var i=t._pt;i;)i.r(e,i.d),i=i._next;else t.styles.revert()},get:Uo,aliases:oo,getSetter:function(e,t,i){var s=oo[t];return s&&s.indexOf(",")<0&&(t=s),t in Hl&&t!==ls&&(e._gsap.x||Uo(e,"x"))?i&&VL===i?t==="scale"?nme:tme:(VL=i||{})&&(t==="scale"?ime:sme):e.style&&!rk(e.style[t])?Zpe:~t.indexOf("-")?eme:gk(e,t)},core:{_removeProperty:df,_getMatrix:Sk}};us.utils.checkPrefix=Vg;us.core.getStyleSaver=GX;(function(n,e,t,i){var s=as(n+","+e+","+t,function(r){Hl[r]=1});as(e,function(r){Ks.units[r]="deg",WX[r]=1}),oo[s[13]]=n+","+e,as(i,function(r){var a=r.split(":");oo[a[1]]=s[a[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");as("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){Ks.units[n]="px"});us.registerPlugin(JX);var _D=us.registerPlugin(JX)||us;_D.core.Tween;const mme=` 361 .member-box { 362 position: relative; 363 overflow: hidden; 364 border-radius: 12px; 365 cursor: pointer; 366 height: 400px; 367 } 368 369 .member-image { 370 width: 100%; 371 height: 100%; 372 transition: transform 0.3s ease; 373 } 374 375 .member-image img { 376 width: 100%; 377 height: 100%; 378 object-fit: cover; 379 } 380 381 .member-content { 382 position: absolute; 383 bottom: 0; 384 left: 0; 385 right: 0; 386 padding: 20px; 387 background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); 388 color: white; 389 display: flex; 390 flex-direction: column; 391 justify-content: flex-end; 392 min-height: 100px; 393 transition: all 0.3s ease; 394 border-radius: 0; 395 } 396 397 .member-info { 398 transform: translateY(0); 399 transition: transform 0.3s ease; 400 } 401 402 .member-content .desc, 403 .member-content .social { 404 height: 0; 405 opacity: 0; 406 transform: translateY(20px); 407 transition: all 0.3s ease; 408 overflow: hidden; 409 font-size:12px; 410 } 411 412 .member-box:hover .member-image { 413 transform: scale(1.05); 414 } 415 416 .member-box:hover .member-content { 417 background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 100%); 418 height: auto; 419 border-top-left-radius: 20px; 420 border-top-right-radius: 20px; 421 padding-top: 30px; 422 } 423 424 .member-box:hover .desc, 425 .member-box:hover .social { 426 height: auto; 427 opacity: 1; 428 transform: translateY(0); 429 margin-top: 2px; 430 } 431 .member-box:hover .social { 432 margin-top:16px; 433 } 434 435 .social { 436 display: flex; 437 gap: 12px; 438 } 439 440 .social a { 441 opacity: 0.8; 442 transition: opacity 0.2s ease; 443 } 444 445 .social a:hover { 446 opacity: 1; 447 } 448
449 /* Responsive adjustments */ 450 @media (max-width: 768px) { 451 .member-box { 452 height: 350px; 453 } 454 } 455`,gme=()=>{const n=[{title:"Software Development Engineer II & III â Backend (Node.js, TypeScript)",location:"Gurugram, India",type:"Full-time",department:"Engineering",description:"e are hiring SDE II and III â Backend Engineers with deep expertise in Node.js and TypeScript to join our fast-paced, high-impact engineering team. You will play a critical role in designing and developing scalable backend systems, APIs, and microservices. As a senior engineer, you'll be responsible for optimizing performance, maintaining code quality, and driving architecture decisions. Collaboration with cross-functional teams will be essential as you contribute to building robust, production-ready systems that power our suite of financial products. Apply at [email protected]"},{title:"Lead Product Designer (UX/UI)",location:"Gurugram, India",type:"Full-time",department:"Design",description:"We are looking for an experienced Lead Product Designer (UX/UI) to join our team and help shape the future of our Lending business app. In this role, you'll drive end-to-end product designâfrom user research and wireframing to interactive prototyping and high-quality UI design in Figma. You'll collaborate closely with Product, Engineering, and Marketing teams to deliver seamless, user-centric experiences. A passion for design systems, usability testing, and creating intuitive digital products is key to success in this role. Apply at [email protected]"}],e=[{title:"Flexible hours",description:"Enjoy a perfect work-life balance with flexible timing and up to three days of work-from-home every month.",image:Qfe},{title:"Diversity & Inclusion",description:"Thereâs no efficient organization without equitable diversity in headcount. Thatâs why we ensure we maintain diversity at every level.",image:""},{title:"Health & Fitness",description:"We ensure all employees get their hearts pumping and cardio up with wellness, outdoor, and indoor sports",image:""},{title:"Learning & Development",description:"We take pride in elevating every employee with necessary life and professional skills with our comprehensive L&D programs.",image:Zfe},{title:"Medical Coverage",description:"All Employees get 3 Lakh personal accidental coverage with addons for family and spouse",image:Jfe},{title:"Maternity & Paternity Leave",description:"We offer up to 180 days of paid maternity leave and 15 days of paid paternity leave, supporting our employees as they embrace the journey of parenthood",image:""}],t=[{image:m.jsx("img",{src:Kfe,loading:"lazy"}),name:"Anubhav Agarwal",post:"Chief of Product & Tech",description:"Anubhav Agarwal, SVP of Product & Technology at Stashfin, has 16+ years in Payments and Financial Services. With leadership roles at Mobikwik, MetaMap, Paytm, Ola, and D. E. Shaw, he drives innovation and growth. Anubhav also advises Sahamati and ONDC Lending Protocols on policy-making.",social:{linkedin:"https://www.linkedin.com/in/anubhavit/",twitter:"https://x.com/",dribble:"https://dribbble.com/"}},{image:m.jsx("img",{src:Yfe,loading:"lazy"}),name:"Bhupesh Goyal",post:"VP Strategy",description:"Bhupesh, VP at Stashfin, has 10+ years of experience across investment banking, private equity, c
455apital markets, and investment management. Formerly at UBS and Faber Capital, he excels in structured finance and fundraising. An ISB MBA graduate and SRCC alumnus, Bhupesh drives strategic growth and investment initiatives at Stashfin",social:{linkedin:"https://www.linkedin.com/in/bhupesh-goyal-%F0%9F%87%AE%F0%9F%87%B3-73bb341a/",twitter:"https://x.com/",dribble:"https://dribbble.com/"}},{image:m.jsx("img",{src:Wfe,loading:"lazy"}),name:"Kanika",post:"Legal Expert",description:"Kanika, AVP at Stashfin, has 10+ years of experience in corporate legal matters, product compliance, and client relations. Previously at Home Credit India, UBS, and UnitedJuris Consulting, she specializes in NBFC regulations, funding transactions, legal research, and compliance. An expert in drafting and negotiating agreements, she drives Stashfinâs legal and compliance framework.",social:{linkedin:"https://www.linkedin.com/in/kanika-sikka-484411105/",twitter:"https://x.com/",dribble:"https://dribbble.com/"}}],i={infinite:!1,slidesToShow:3.5,speed:500,dots:!1,slideToScroll:1,responsive:[{breakpoint:1024,settings:{slidesToShow:3}},{breakpoint:768,settings:{slidesToShow:1.1}}]};return w.useEffect(()=>{_D.to(".slider-track",{x:"-=3364px",duration:20,repeat:-1,ease:"none",modifiers:{x:_D.utils.unitize(s=>parseFloat(s)%3364)}})},[]),m.jsxs("div",{className:"min-h-screen careerpage",children:[m.jsx("style",{children:mme}),m.jsx(Wl,{title:"Being a part of Akara Capital means placing our customers at the heart of everything we do, every single day. Itâs about achieving your best alongside exceptional people, while shaping a future beyond imagination ",subtitle:"Careers@Akara Capital",maxwidth:965,showQuote:!0,lineheight:"56px"}),m.jsx(Ke,{className:"py-16",children:m.jsx("div",{className:"mx-auto",children:m.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-12 items-center",children:[m.jsxs("div",{children:[m.jsxs(ee.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5},viewport:{once:!0},className:"text-3xl md:text-4xl font-bold text-akara-darkText mb-8 text-left whyworktitle",children:["Why work at",m.jsx("br",{}),"Akara Capital?"]}),m.jsx(ee.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5},viewport:{once:!0},children:"Akara Capital is growing fast, and we are always looking for passionate, dynamic, and talented individuals to join our distributed team all around India."})]}),m.jsx(ee.div,{className:"relative",initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},transition:{duration:.5},viewport:{once:!0},children:m.jsx("img",{src:Gfe,alt:"Akara Capital Team",loading:"lazy",className:"rounded-lg shadow-lg w-full"})})]})})}),m.jsx(Ke,{center:!0,children:m.jsx("div",{className:"mx-auto",children:m.jsxs("div",{className:"grid grid-cols-12 gap-8 items-start openingbox",children:[m.jsx("div",{className:"col-span-4",children:m.jsx("h2",{children:"Current Opening"})}),m.jsx("div",{className:"col-span-8",children:m.jsx("div",{className:"space-y-6",children:n.map((s,r)=>m.jsx(ee.div,{className:"bg-white opening-box overflow-hidden",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:r*.1},viewport:{once:!0},children:m.jsxs("div",{className:"openingboxinner",children:[m.jsxs("h3",{className:"text-xl font-bold text-akara-darkText mb-2 flex items-center jobtitleparent",children:[m.jsx("span",{className:"text posttitle",children:s.title}),m.jsx("span",{className:"bg-white-100 text-akara-darkText department-tag tags",children:s.department}),m.jsxs("span",{className:"bg-white-100 text-akara-darkText department-tag location-tag ml-auto tags",children:[m.jsx("img",{src:qfe,loading:"lazy"}),s.location]})]}),m.jsx("p",{className:"text-akara-lightText mb-4",children:s.description}),m.jsx("div",{className:"flex flex-wrap gap-2 position-tags",children:m.jsxs("span",{className:"bg-white-100 text-akara-darkText text-xs rounded flex items-center gap-1",children:[m.jsx("img",{src:$fe,loading:"lazy"}),"Full-time"]})})]})},r))})})]})})}),m.jsx(Ke,{className:"bg-gray-50 py-16",children:m.jsxs("div",{className:"max-w-8xl mx-auto",children:[m.jsx("h2",{className:"text-3xl font-bold text-akara-darkText mb-12 text-center empstorytxt",children:"Employee Stories"}),m.jsx("div",{className:"grid grid-cols-1 employeeslider",children:m.jsx("div",{children:m.jsx(M0,{...i,children:t.map((s,r)=>m.jsxs(ee.div,{className:"member-box",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:r*.1},viewport:{once:!0},children:[m.jsx("div",{className:"member-image",children:s.image}),m.jsxs("div",{className:"member-content",children:[m.jsxs("div",{className:"member-info",children:[m.jsx("h3",{className:"text-xl font-bold mb-2",children:s.name}),m.jsx("p",{className:"post text-sm",children:s.post})]}),m.jsx("p",{className:"desc text-sm leading-relaxed",children:s.description}),m.jsx("div",{className:"social",children:s.social.linkedin&&m.jsx(_e,{to:s.social.linkedin,children:m.jsx("img",{src:epe,loading:"lazy",alt:"LinkedIn"})})})]})]},r))})})})]})}),m.jsx(Ke,{className:"bg-gray-50 py-16",children:m.jsxs("div",{className:"max-w-xl mx-auto",style:{maxWidth:"1140px"},children:[m.jsx("h2",{className:"text-3xl font-bold text-akara-darkText mb-12 text-center empstorytxt",children:"Perks & Benefits"}),m.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:[0,1,2].map((s,r)=>{var a,o,l,c;return m.jsxs("div",{className:"flex flex-col gap-8 benifit-grid",children:[m.jsxs(ee.div,{className:"rounded-3xl shadow-lg relative overflow-hidden benifit-box",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:r*.1},viewport:{once:!0},children:[m.jsxs("div",{className:"benifit-content",children:[m.jsx("h3",{className:"text-2xl font-bold text-akara-darkText mb-4",children:e[s*2].title}),m.jsx("p",{className:"text-akara-darkText",children:e[s*2].description})]}),((a=e[s*2])==null?void 0:a.image)&&m.jsx("div",{className:"benifit-image",children:m.jsx("img",{src:(o=e[s*2])==null?void 0:o.image,alt:e[
455s*2].title,loading:"lazy"})})]}),m.jsxs(ee.div,{className:"rounded-3xl shadow-lg relative overflow-hidden benifit-box",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:r*.1},viewport:{once:!0},children:[m.jsxs("div",{className:"benifit-content",children:[m.jsx("h3",{className:"text-2xl font-bold text-akara-darkText mb-4",children:e[s*2+1].title}),m.jsx("p",{className:"text-akara-darkText",children:e[s*2+1].description})]}),((l=e[s*2+1])==null?void 0:l.image)&&m.jsx("div",{className:"benifit-image",children:m.jsx("img",{src:(c=e[s*2+1])==null?void 0:c.image,alt:e[s*2+1].title,loading:"lazy",className:""})})]})]},r)})})]})}),m.jsxs(Ke,{className:"bg-gray-50 pt-16 culture-section",children:[m.jsx("h2",{className:"font-bold text-akara-darkText text-center mb-8 empstorytxt",children:"Culture @Akara Capital"}),m.jsx("div",{className:"slider-container",children:m.jsxs("div",{className:"slider-track",children:[m.jsx("img",{src:NL,loading:"lazy",style:{width:"100%"}}),m.jsx("img",{src:NL,loading:"lazy",style:{width:"100%"}})]})})]})]})},yme="/assets/office-1-BRUquzxk.png",vme="/assets/office-2-Bp0ITMGs.png",bme="data:image/svg+xml,%3csvg%20width='52'%20height='52'%20viewBox='0%200%2052%2052'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_dii_8_48)'%3e%3cpath%20d='M2%2011C2%205.47715%206.47715%201%2012%201H40C45.5229%201%2050%205.47715%2050%2011V39C50%2044.5229%2045.5228%2049%2040%2049H12C6.47715%2049%202%2044.5228%202%2039V11Z'%20fill='%23ED2828'/%3e%3cpath%20d='M26%2021V25M26%2029H26.01M36%2025C36%2030.5228%2031.5228%2035%2026%2035C20.4772%2035%2016%2030.5228%2016%2025C16%2019.4772%2020.4772%2015%2026%2015C31.5228%2015%2036%2019.4772%2036%2025Z'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_dii_8_48'%20x='0'%20y='0'%20width='52'%20height='52'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.0392157%200%200%200%200%200.0496732%200%200%200%200%200.0705882%200%200%200%200.05%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_8_48'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_8_48'%20result='shape'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='-2'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='arithmetic'%20k2='-1'%20k3='1'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.0392157%200%200%200%200%200.0496732%200%200%200%200%200.0705882%200%200%200%200.05%200'/%3e%3cfeBlend%20mode='normal'%20in2='shape'%20result='effect2_innerShadow_8_48'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeMorphology%20radius='1'%20operator='erode'%20in='SourceAlpha'%20result='effect3_innerShadow_8_48'/%3e%3cfeOffset/%3e%3cfeComposite%20in2='hardAlpha'%20operator='arithmetic'%20k2='-1'%20k3='1'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.0392157%200%200%200%200%200.0496732%200%200%200%200%200.0705882%200%200%200%200.18%200'/%3e%3cfeBlend%20mode='normal'%20in2='effect2_innerShadow_8_48'%20result='effect3_innerShadow_8_48'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",_me="data:image/svg+xml,%3csvg%20width='52'%20height='52'%20viewBox='0%200%2052%2052'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_dii_8_59)'%3e%3cpath%20d='M2%2011C2%205.47715%206.47715%201%2012%201H40C45.5229%201%2050%205.47715%2050%2011V39C50%2044.5229%2045.5228%2049%2040%2049H12C6.47715%2049%202%2044.5228%202%2039V11Z'%20fill='%23ED2828'/%3e%3cpath%20d='M22.3803%2021.8534C23.0763%2023.303%2024.0251%2024.6616%2025.2266%2025.8632C26.4282%2027.0648%2027.7869%2028.0136%2029.2365%2028.7096C29.3612%2028.7694%2029.4235%2028.7994%2029.5024%2028.8224C29.7828%2028.9041%2030.127%2028.8454%2030.3644%2028.6754C30.4313%2028.6275%2030.4884%2028.5704%2030.6027%2028.4561C30.9523%2028.1064%2031.1271%2027.9316%2031.3029%2027.8174C31.9658%2027.3864%2032.8204%2027.3864%2033.4833%2027.8174C33.6591%2027.9316%2033.8339%2028.1064%2034.1835%2028.4561L34.3783%2028.6509C34.9098%2029.1824%2035.1755%2029.4481%2035.3198%2029.7335C35.6069%2030.301%2035.6069%2030.9713%2035.3198%2031.5389C35.1755%2031.8242%2034.9098%2032.09%2034.3783%2032.6214L34.2207%2032.779C33.6911%2033.3087%2033.4263%2033.5735%2033.0662%2033.7757C32.6667%2034.0001%2032.0462%2034.1615%2031.588%2034.1601C31.1751%2034.1589%2030.8928%2034.0788%2030.3284%2033.9186C27.295%2033.0576%2024.4326%2031.4332%2022.0447%2029.0452C19.6567%2026.6572%2018.0322%2023.7948%2017.1712%2020.7614C17.011%2020.197%2016.9309%2019.9148%2016.9297%2019.5018C16.9283%2019.0436%2017.0897%2018.4231%2017.3141%2018.0236C17.5164%2017.6636%2017.7812%2017.3988%2018.3108%2016.8691L18.4684%2016.7115C18.9999%2016.1801%2019.2656%2015.9143%2019.551%2015.77C20.1185%2015.4829%202
4550.7888%2015.4829%2021.3564%2015.77C21.6417%2015.9143%2021.9075%2016.1801%2022.4389%2016.7115L22.6338%2016.9064C22.9834%2017.256%2023.1582%2017.4308%2023.2725%2017.6066C23.7035%2018.2694%2023.7035%2019.124%2023.2725%2019.7869C23.1582%2019.9627%2022.9834%2020.1375%2022.6338%2020.4871C22.5195%2020.6014%2022.4623%2020.6586%2022.4145%2020.7254C22.2445%2020.9628%2022.1858%2021.3071%2022.2675%2021.5874C22.2905%2021.6663%2022.3204%2021.7287%2022.3803%2021.8534Z'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_dii_8_59'%20x='0'%20y='0'%20width='52'%20height='52'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.0392157%200%200%200%200%200.0496732%200%200%200%200%200.0705882%200%200%200%200.05%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_8_59'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_8_59'%20result='shape'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='-2'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='arithmetic'%20k2='-1'%20k3='1'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.0392157%200%200%200%200%200.0496732%200%200%200%200%200.0705882%200%200%200%200.05%200'/%3e%3cfeBlend%20mode='normal'%20in2='shape'%20result='effect2_innerShadow_8_59'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeMorphology%20radius='1'%20operator='erode'%20in='SourceAlpha'%20result='effect3_innerShadow_8_59'/%3e%3cfeOffset/%3e%3cfeComposite%20in2='hardAlpha'%20operator='arithmetic'%20k2='-1'%20k3='1'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.0392157%200%200%200%200%200.0496732%200%200%200%200%200.0705882%200%200%200%200.18%200'/%3e%3cfeBlend%20mode='normal'%20in2='effect2_innerShadow_8_59'%20result='effect3_innerShadow_8_59'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",Sme=()=>{uj();const n=w.useRef(null),[e,t]=w.useState({fname:"",lname:"",email:"",phone:"",message:""}),[i,s]=w.useState("Topic 1"),[r,a]=w.useState(null),[o,l]=w.useState(!1),[c,u]=w.useState("Send Message"),h=[{image:m.jsx("img",{src:yme,loading:"lazy",className:""}),title:"Delhi",details:m.jsxs("p",{children:["60, Second Floor, Arjun Nagar,",m.jsx("br",{}),"Kotla Mubarakpur New Delhi,",m.jsx("br",{}),"Delhi, India - 110003"]})},{image:m.jsx("img",{src:vme,loading:"lazy",className:""}),title:"Gurugram",details:m.jsxs("p",{children:["Unit Nos. 1801-1805, 1806A, 1806B, 1807A, 1807B, and 1815 18th Floor, Magnum Global Park, Golf Course Ext Road",m.jsx("br",{}),"Sector 58 Gurgaon - 122011"]})}],f=[{icon:m.jsx("img",{src:bme,loading:"lazy",className:"h-8 w-8 text-akara-red"}),title:"Email us",subtitle:"Write to our friendly team.",details:m.jsx("span",{style:{wordBreak:"break-word"},children:"[email protected]"}),contact:"",type:"mailto"},{icon:m.jsx("img",{src:_me,loading:"lazy",className:"h-8 w-8 text-akara-red"}),title:"Call us",subtitle:"Mon-Fri from 10 AM to 5 PM.",details:"",contact:"0124-6981222",type:"tel"}],p={"Topic 1":[{question:"How do I apply for a loan?",answer:"It's simple! Visit www.stashfin.com or download Stashfin app. Fill in your basic details and click on Proceed. Verify OTP. Fill in mandatory personal and professional fields. Upload your bank statement and other required documents. You will be informed when your loan is approved along with details related to interest rate and tenure."},{question:'What is the "0% interest for up to 30 days" offer?',answer:"If you are eligible for this offer, then every time you transfer funds to your bank account, you can repay the same amount at 0% interest rate before/on your Bill Date. We will be deducting up to 2.85% as transaction fees and applicable GST upfront on such transfer."},{question:"Who is eligible to apply?",answer:"Any Indian citizen residing in India, above the age of 18, with a proof of current employment, earning a monthly salary of Rs.15,000 and above, a bank account, and a valid identity and address proof can apply."},{question:"Why is credit score important?",answer:"A good CIBIL can help you with the following : 1. Quick Approval of Loans 2. Low-Interest Rate Credits 3. Higher Approval Limits"},{question:"What are bonds, and how do they work?",answer:"Bonds are fixed-income securities where you lend money to an issuer (like a company or government) for a fixed period. In return, you receive periodic interest payments and get your principal amount back at maturity."},{question:"What are the benefits of investing in corporate bonds?",answer:"Corporate bonds offer higher returns than Fixed Deposits (FDs), stable income, and lower risk compared to stocks. They are a great way to diversify your investment portfolio while ensuring predictable earnings."},{question:"How do I invest in bonds on Stashfin?",answer:"Investing in bonds through Stashfin app is quick and seamless. E
455xplore available bonds on Stashfin App. Complete a quick KYC & Demat verification. Invest digitally with ease."},{question:"What risks are involved in bond investments?",answer:"While bonds are safer than stocks, they come with risk of issuer default, bond value fluctuations, and difficulty selling before maturity."},{question:"Do I need a Demat account to invest in bonds?",answer:"Yes, a Demat account is mandatory to hold and trade bonds in electronic form. If you donât have one, you can easily open it through our platform during the investment process."},{question:"Are bond returns guaranteed?",answer:'Bond returns are fixed and predictable, but they are not "guaranteed" like bank FDs. The issuerâs ability to repay depends on their financial health, which is reflected in the bondâs credit rating. Higher-rated bonds (AAA, AA) are more secure, while BBB-rated bonds offer higher returns with slightly more risk.'},{question:"What are credit ratings, and how do they impact my investment?",answer:"Credit ratings reflect the financial health of a bond issuer. Higher-rated bonds (AAA, AA) are safer but offer lower returns, while BBB-rated bonds provide higher yields with slightly more risk. Stashfin offers a curated selection of AAA to BBB-rated bonds, balancing safety and returns."}],"Topic 2":[{question:'What is the "0% interest for up to 30 days" offer?',answer:"This offer allows you to pay no interest for 30 days."},{question:"Who is eligible to apply?",answer:"Anyone above 18 with a valid ID is eligible."}],"Topic 3":[{question:"How to make a claim in insurance?",answer:"You can claim by submitting the required documents online."}]},b=g=>{a(r===g?null:g)};return m.jsxs("div",{className:"min-h-screen contactpage",children:[m.jsx(Wl,{title:"We value your thoughts. Contact us for support, inquiries, or collaborations â our team is here to help",subtitle:"Contact Us",maxwidth:988,showQuote:!0,lineheight:"56px"}),m.jsx(Ke,{className:"bg-gray-50 py-16 offices",children:m.jsxs("div",{className:"max-w-7xl mx-auto",children:[m.jsx("h2",{className:"text-3xl font-bold text-akara-darkText mb-8 text-center officetxt",children:"Our offices"}),m.jsx("div",{className:"office-wrapper",children:h.map((g,S)=>m.jsxs(ee.div,{className:"bg-white text-left office-box",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:S*.1},viewport:{once:!0},children:[m.jsx("div",{className:"flex justify-center mb-4 office-image",children:g.image}),m.jsxs("div",{className:"office-content",ref:n,children:[m.jsx("h3",{className:"text-xl font-bold text-akara-darkText mb-4",children:g.title}),g.details]})]},S))})]})}),m.jsx(Ke,{className:"bg-gray-50 py-16",children:m.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-12 max-w-5xl",children:m.jsx("div",{className:"contact-info col-span-12 grid grid-cols-1 md:grid-cols-2 gap-6 mt-12",children:f.map((g,S)=>m.jsxs(ee.div,{className:"bg-white p-6 rounded-lg shadow-md text-left",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:S*.1},viewport:{once:!0},children:[m.jsx("div",{className:"flex justify-start contact-info-icon",children:g.icon}),m.jsx("h3",{className:"text-xl font-bold text-akara-darkText mb-4",children:g.title}),m.jsx("p",{children:g.subtitle}),m.jsx(_e,{to:`${g.type}:${g.details}`,className:"text-akara-red",style:{marginTop:"15px",display:"flex"},children:g.details}),g.contact!==""&&m.jsx(_e,{to:"",className:"text-akara-red",style:{marginTop:"5px",display:"flex"},children:g.contact})]},S))})})}),m.jsx(Ke,{className:"bg-white-50 py-16",children:m.jsx("div",{className:"max-w-7xl mx-auto",children:m.jsxs("div",{children:[m.jsx("h2",{className:"text-4xl font-bold mb-6",children:"Frequently Asked Questions"}),m.jsx("div",{children:p[i].map((g,S)=>m.jsxs("div",{className:"mb-4 border-b",children:[m.jsxs("button",{onClick:()=>b(S),className:"w-full text-left py-4 text-gray-800 flex justify-between items-center topicbtn",children:[g.question,m.jsx("span",{children:r===S?"-":"+"})]}
455),r===S&&m.jsx("p",{className:"text-gray-600 pb-4",children:g.answer})]},S))})]})})})]})},ZX="data:image/svg+xml,%3csvg%20width='137'%20height='103'%20viewBox='0%200%20137%20103'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M59.8815%2086.8028L47.1445%2064.7703L51.9597%2051.8466L61.9008%2039.2344L89.3163%2086.8028H59.8815Z'%20fill='%23F7F7F7'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M102.361%2086.8068L81.1588%2050.0601L74.9457%2039.2384L68.4219%2027.8718L73.5477%2013.8582L83.1781%202.33594L110.671%2050.0601L131.796%2086.8068H102.361Z'%20fill='%23F7F7F7'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M47.141%2064.7692L34.4817%2086.8017H5.04688L26.2493%2049.977L32.4624%2039.1554L32.6177%2038.9219H61.7419L61.8972%2039.1554L47.141%2064.6913V64.7692Z'%20fill='%23F7F7F7'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M68.4231%2027.8713H38.9883L53.7445%202.17969H53.8998H82.9463H83.1017L83.1793%202.33539L68.4231%2027.8713Z'%20fill='%23F7F7F7'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M48.5425%2067.1837L47.1445%2064.7703L61.9008%2039.2344L63.2987%2041.6478L48.5425%2067.1837Z'%20fill='%23F7F7F7'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M69.8198%2030.2853L68.4219%2027.8718L83.1781%202.33594L84.5761%204.74939L69.8198%2030.2853Z'%20fill='%23F7F7F7'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M61.9008%2039.2344L63.2987%2041.6478L61.9008%2039.2344L47.1445%2064.7703L61.9008%2039.2344Z'%20fill='%23F7F7F7'/%3e%3cpath%20d='M61.9008%2039.2344L63.2987%2041.6478L61.9008%2039.2344ZM61.9008%2039.2344L47.1445%2064.7703L61.9008%2039.2344Z'%20stroke='white'%20stroke-width='0.2'%20stroke-miterlimit='10'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M83.1781%202.33594L68.4219%2027.8718L83.1781%202.33594Z'%20fill='%23F7F7F7'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M19.7254%2086.802H5.04688L26.2493%2050.0552L32.4624%2039.2336L32.6177%2039H47.2963L19.7254%2086.802Z'%20fill='%23F7F7F7'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M53.7445%2027.8713H38.9883L53.7445%202.17969H53.8998H68.5007L53.7445%2027.8713Z'%20fill='%23F7F7F7'/%3e%3cpath%20d='M7.06842%2093.7295L8.62171%2097.7H5.43746L6.99075%2093.7295H7.06842ZM5.04914%2098.7121H9.01003L9.86434%20100.814H11.1846L7.5344%2092.3281H6.4471L2.79688%20100.814H4.11717L4.97148%2098.7121H5.04914Z'%20fill='%23F7F7F7'/%3e%3cpath%20d='M36.1923%2092.3281H35.0273V100.814H36.1923V96.4544L40.1532%20100.814H41.8618L37.5126%2096.2208L41.6288%2092.3281H39.9979L36.1923%2096.0651V92.3281Z'%20fill='%23F7F7F7'/%3e%3cpath%20d='M68.7329%2093.7295L70.2862%2097.7H67.102L68.6553%2093.7295H68.7329ZM66.7913%2098.7121H70.7522L71.6065%20100.814H72.9268L69.2766%2092.3281H68.1893L64.5391%20100.814H65.8594L66.7137%2098.7121H66.7913Z'%20fill='%23F7F7F7'/%3e%3cpath%20d='M97.934%2093.3402H99.4097C100.419%2093.3402%20101.274%2093.6516%20101.274%2094.6637C101.274%2095.6758%20100.419%2095.9872%2099.332%2095.9872H98.0117V93.2624L97.934%2093.3402ZM97.934%2097.0772H99.1767L101.351%20100.814H102.749L100.419%2096.9215C101.584%2096.6879%20102.439%2095.9094%20102.439%2094.6637C102.439%2093.4181%20101.041%2092.3281%2099.4097%2092.3281H96.6914V100.814H97.8564V97.0772H97.934Z'%20fill='%23F7F7F7'/%3e%3cpath%20d='M129.932%2093.7295L131.485%2097.7H128.301L129.854%2093.7295H129.932ZM127.912%2098.7121H131.873L132.728%20100.814H134.048L130.398%2092.3281H129.31L125.66%20100.814H126.98L127.835%2098.7121H127.912Z'%20fill='%23F7F7F7'/%3e%3c/svg%3e",xme=()=>{const[n,e]=w.useState(!1),[t,i]=w.useState(!1),s=bf();w.useEffect(()=>{const a=()=>{e(window.scrollY>20)};return window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)},[]),w.useEffect(()=>{i(!1)},[s]);const r=[{name:"Home",path:"/"},{name:"About Us",path:"/about-us"},{name:"Products & Services",path:"/products"},{name:"Investor Relations",path:"/investor-relations"},{name:"Partners",path:"/digital-lending-application"},{name:"Career",path:"/career"},{name:"Contact Us",path:"/contact-us"}];return m.jsx("header",{className:`fixed top-0 left-0 w-full z-50 transition-all duration-300 headerbg ${n||t?"stickeybg sticky
455shadow-md py-3":"pattern-bg py-5"}`,children:m.jsxs("div",{className:"container mx-auto px-6 md:px-6 flex items-center justify-between",children:[m.jsx(_e,{to:"/",className:"relative z-20 headerlogo",children:m.jsx("img",{src:ZX,alt:"Akara Capital",className:"h-10 w-auto object-contain"})}),m.jsx("nav",{className:"hidden md:flex space-x-6 lg:space-x-10",children:r.map(a=>m.jsx(_e,{to:a.path,className:`text-sm font-medium relative after:absolute after:bottom-0 after:left-0 after:h-0.5 after:w-0 after:bg-akara-white after:transition-all after:duration-300 transition-colors ${n?"text-akara-darkText":"text-white"} ${s.pathname===a.path?"after:w-full":""}`,children:a.name},a.name))}),m.jsx("button",{className:"md:hidden text-akara-darkText z-20",onClick:()=>i(!t),"aria-label":"Toggle menu",children:t?m.jsx(Q1,{className:"h-6 w-6 text-white"}):m.jsx(Zq,{className:"h-6 w-6 text-white"})}),m.jsx("div",{className:`fixed inset-0 stickeybg z-10 flex flex-col items-center justify-center md:hidden transition-transform duration-300 ease-in-out ${t?"transform translate-x-0":"transform translate-x-full"}`,children:m.jsx("nav",{className:"flex flex-col items-center space-y-8",children:r.map(a=>m.jsx(_e,{to:a.path,className:`text-lg font-medium py-2 ${s.pathname===a.path?"text-akara-red border-b-2 border-akara-white":"text-akara-darkText"}`,children:a.name},a.name))})})]})})},wme="/assets/NBFC-Certificate-OK43CJ2i.pdf",Eme=()=>m.jsx("footer",{className:"bg-black sticky text-white pt-12 pb-6",children:m.jsx("div",{className:"container mx-auto px-6",children:m.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8 mb-10",children:[m.jsxs("div",{className:"col-span-1 headerlogo",children:[m.jsx(_e,{to:"/",children:m.jsx("img",{src:ZX,alt:"Akara Capital Logo",className:"h-10 mb-6"})}),m.jsx("a",{href:"./Akara Capital Advisors Private Limited ISO Certificate.pdf",target:"_blank",children:m.jsx("img",{src:"./images/footercertificate.png",alt:""})})]}),m.jsxs("div",{className:"col-span-3",children:[m.jsx("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8 mb-12",children:m.jsxs("div",{className:"col-span-4 footermenu",children:[m.jsxs("p",{children:[m.jsx(_e,{to:"/about-us",className:"hover:underline",children:"About Us"})," ",m.jsx("span",{children:"|"})]}),m.jsxs("p",{children:[m.jsx(_e,{to:"/terms",className:"hover:underline",children:"Terms & Conditions"}),m.jsx("span",{children:"|"})]}),m.jsxs("p",{children:[m.jsx(_e,{to:"/investor-relations",className:"hover:underline",children:"Policies"}),m.jsx("span",{children:"|"})]}),m.jsxs("p",{children:[m.jsx(_e,{to:"/grievence",className:"hover:underline",children:"Grievance Redressal"}),m.jsx("span",{children:"|"})]}),m.jsxs("p",{children:[m.jsx(_e,{to:"/contact-us",className:"hover:underline",children:"Contact Us"}),m.jsx("span",{children:"|"})]}),m.jsx("p",{children:m.jsx(_e,{to:wme,className:"hover:underline",target:"_blank",children:"Akara listed on RBI List"})})]})}),m.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8 mb-12",children:[m.jsxs("div",{className:"col-span-2 customerfooter",children:[m.jsx("h4",{className:"font-medium",children:"Customer Queries"}),m.jsx("p",{className:"text-sm mb-2",children:"[email protected]"}),m.jsx("h4",{className:"text-lg font-medium",style:{marginTop:"45px"},children:"Customer Care Number"}),m.jsx("p",{className:"text-sm mb-2",children:"0124-6981222"})]}),m.jsxs("div",{className:"col-span-2",children:[m.jsx("h4",{className:"text-lg font-medium",style:{lineHeight:"1.2"},children:"Akara Capital Advisors Private Limited is a NBFC registered with the RBI"}),m.jsx("p",{className:"text-sm mt-1",children:"CIN: U74110DL2016PTC290970"}),m.jsx("h4",{className:"text-lg font-medium",style:{marginTop:"25px"},children:"Registered Office"}),m.jsx("p",{className:"text-sm mb-1",children:"60, Second Floor, Arjun Nagar, Kotla Mubarakpur New Delhi, Delhi, India - 110003"}),m.jsx("h4",{className:"text-lg font-medium",style:{marginTop:"25px"},children:"Corporate Office"}),m.jsx("p",{className:"text-sm mb-1",children:"Unit Nos. 1801-1805, 1806A, 1806B, 1807A, 1807B, and 1815 18th Floor, Magnum Global Park, Golf Course Ext Road Sector 58 Gurgaon - 122011"})]})]})]})]})})}),Ame="data:image/svg+xml,%3csvg%20width='21'%20height='23'%20viewBox='0%200%2021%2023'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1801_955)'%3e%3cpath%20d='M14.3%200.75V8.84H19.77V9.08L10.26%2017.88L0.75%209.08V8.84H6.22V0.75H14.3Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.41016%2021.8H13.9602'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1801_955'%3e%3crect%20width='20.52'%20height='22.55'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Ime="data:image/svg+xml,%3csvg%20width='33'%20height='27'%20viewBox='0%200%2033%2027'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1801_940)'%3e%3cpath%20d='M7.15994%2019.868H5.89455C2.9109%2019.868%200.5%2017.4776%200.5%2014.5339C0.5%2011.5902%202.91756%209.19975%205.89455%209.19975C6.27417%209.19975%206.64046%209.23926%206.99344%209.3117C7.49294%206.86853%209.67074%205.03121%2012.2814%205.03121C12.8808%205.03121%2013.4602%205.12999%2013.9997%205.3078C14.9987%202.50243%2017.7026%200.493896%2020.8794%200.493896C24.9087%200.493896%2028.1787%203.72731%2028.1787%207.71146C28.1787%208.24487%2028.1188%208.7717%2028.0056%209.27219C30.5563%209.70024%2032.4944%2011.8932%2032.4944%2014.5339C32.4944%2017.4841%2030.0768%2019.868%2027.0998%2019.868H25.7545'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M20.2266%2010.6484V22.8775'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M23.369%2013.9411L20.2255%2010.6484L17.082%2013.9411'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.78906%2023.2134L12.9326%2026.5061L16.0694%2023.2134'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.9297%2026.5061V14.2771'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1801_940'%3e%3crect%20width='33'%20height='27'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Cme="data:image/svg+xml,%3csvg%20width='27'%20height='27'%20viewBox='0%200%2027%2027'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1801_959)'%3e%3cpath%20d='M5.62891%2013.4124H13.5437'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.62891%2019.1523H11.2833'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M15.1953%2020.8192C15.1953%2017.6736%2017.7259%2015.1248%2020.8497%2015.1248C23.9734%2015.1248%2026.5041%2017.6736%2026.5041%2020.8192C26.5041%2023.9648%2023.9734%2026.5137%2020.8497%2026.5137C17.7259%2026.5137%2015.1953%2023.9648%2015.1953%2020.8192Z'%20stroke='white'%20stroke-width='1.5'%20stroke-miterlimit='8'%20stroke-linecap='round'/%3e%3cpath%20d='M18.5938%2021.0851L19.8986%2022.486L23.1146%2019.1523'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14.7704%2026.5136H1.34623C0.924456%2026.5136%200.496094%2026.092%200.496094%2025.664V1.33608C0.496094%200.914507%200.917866%200.48645%201.34623%200.48645H21.1366C21.5583%200.48645%2021.9867%200.908021%2021.9867%201.33608V12.3683'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.62891%207.84766H15.8042'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1801_959'%3e%3crect%20width='27'%20height='27'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Tme="data:image/svg+xml,%3csvg%20width='34'%20height='24'%20viewBox='0%200%2034%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1801_966)'%3e%3cpath%20d='M10.9189%2
455019.5389L11.8486%2018.5449C12.416%2017.9401%2013.3699%2017.9042%2013.9796%2018.4671C14.5893%2019.0299%2014.6256%2019.9761%2014.0581%2020.5808L13.1284%2021.5749C12.5609%2022.1796%2011.6071%2022.2156%2010.9974%2021.6527C10.3876%2021.0898%2010.3514%2020.1437%2010.9189%2019.5389Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.71185%2017.503L9.96753%2016.1617C10.535%2015.5569%2011.4888%2015.521%2012.0986%2016.0838C12.7083%2016.6467%2012.7445%2017.5928%2012.1771%2018.1976L10.9214%2019.5389C10.3539%2020.1437%209.40006%2020.1796%208.79033%2019.6168C8.1806%2019.0539%208.14438%2018.1078%208.71185%2017.503Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.49701%2015.467L8.28998%2013.5508C8.85745%2012.946%209.81128%2012.9101%2010.421%2013.473C11.0307%2014.0359%2011.067%2014.982%2010.4995%2015.5868L8.70652%2017.5029C8.13905%2018.1077%207.18522%2018.1436%206.57549%2017.5808C5.96576%2017.0179%205.92954%2016.0718%206.49701%2015.467Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.28607%2013.4312L5.54175%2012.0898C6.10922%2011.485%207.06306%2011.4491%207.67279%2012.012C8.28252%2012.5749%208.31874%2013.521%207.75127%2014.1258L6.49559%2015.4671C5.92812%2016.0719%204.97428%2016.1078%204.36455%2015.5449C3.75482%2014.982%203.7186%2014.0359%204.28607%2013.4312Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M20.8619%2013.6647L24.9308%2017.7006C25.6009%2018.3653%2025.6009%2019.4491%2024.9308%2020.1138C24.2607%2020.7784%2023.168%2020.7784%2022.4979%2020.1138L19.8477%2017.485'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.7479%2016.3953L21.6939%2019.3174C22.364%2019.9821%2022.364%2021.0659%2021.6939%2021.7306C21.0238%2022.3953%2019.9311%2022.3953%2019.261%2021.7306L18.1562%2020.6348'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M23.6048%2011.5508L27.6737%2015.5867C28.3438%2016.2514%2028.3438%2017.3352%2027.6737%2017.9999C27.0036%2018.6646%2025.9109%2018.6646%2025.2408%2017.9999L21.1719%2013.964'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.33842%2012.2575L3.92578%209.68863L9.78161%203.88025L12.1722%204.92815'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M17.0128%2019.5029L18.1538%2020.6347C18.8239%2021.2993%2018.8239%2022.3832%2018.1538%2023.0478C17.4837%2023.7125%2016.391%2023.7125%2015.7209%2023.0478L13.7227%2021.0658'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M30.0156%209.28143C29.6775%2010.7725%2028.9229%2012.1317%2027.8363%2013.2156L26.5564%2014.485L21.9261%209.89221C20.6161%208.59281%2018.7024%207.97604%2017%207.86826C15.2976%207.76047%2013.0579%208.31736%2012.3455%208.15568C11.5788%207.98203%2010.957%207.39521%2010.9811%206.47305C10.9993%205.7964%2011.1623%205.19161%2011.8022%204.96407C11.8022%204.96407%2013.6193%205.17964%2015.3217%204.25748C17.4346%203.11377%2019.288%203.10778%2021.256%204.13173C22.1917%204.61676%2023.3206%204.58083%2024.2262%204.03592L24.5522%203.83832L30.0156%209.28143Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.9521%202.71849L8.66406%200.448975L0.455246%208.59129L2.7433%2010.8608L10.9521%202.71849Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M33.541%208.57073L25.4219%200.517334L23.3088%202.61325L31.428%2010.6666L33.541%208.57073Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1801_966'%3e%3crect%20width='34'%20height='24'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Pf=({feature:n})=>m.jsxs("div",{className:"flex items-center space-x-2 mb-3",children:[m.jsx("div",{className:"rounded-full p-1 mt-0.5",children:m.jsx("img",{src:T6,alt:"",loading:"lazy"})}),m.jsx("span",{className:"text-sm text-akara-lightText icon-content",children:n})]}),Dme=()=>m.jsxs("div",{className:"min-h-screen productpage",children:[m.jsx(Wl,{title:"Exclusive financial benefits for Indiaâs defence personnelâour tribute to your service",subtitle:"Stashfin Sentinel Program",showQuote:!0,maxwidth:1e3,lineheight:"56px"}),m.jsx(Ke,{className:"",children:m.jsxs("div",{className:"flex sentinalmain",children:[m.jsxs(ee.div,{className:"order-2 md:order-1 sendinelcontentdiv sendinelcontentdivmain",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.5,delay:.2},viewport:{once:!0},children:[m.jsxs("div",{className:"mutual-loan-content",children:[m.jsx("h2",{className:"sentinelpagetitle",children:"Why choose the Stashfin Sentinel Line of Credit?"}),m.jsxs("div",{className:"b-content",children:[m.jsx(Pf,{feature:"Discounted Interest Rates â Exclusive underwriting policy for Defence Personnel"}),m.jsx(Pf,{feature:"Instant Approval â Quick processing with zero paperwork â all on the app"}
455),m.jsx(Pf,{feature:"Up to 30 Days Interest-Free Period - Great for short-term funds requirement"}),m.jsx(Pf,{feature:"Higher Credit Limits â Based on your rank and service tenure"}),m.jsx(Pf,{feature:"Exclusive Support â Access to our Sentinel Support Team whenever needed"}),m.jsx(Pf,{feature:"Trusted & Exclusive â Indiaâs only NBFC with a dedicated Defence Program"})]})]}),m.jsx("h2",{className:"sentinelpagetitle mt-6",children:"How does it work?"}),m.jsx("p",{className:"mt-3",children:"Stashfin Sentinel is a Line of Credit that you can use whenever needed. Withdraw only what you need, when you need it.. You only pay interest on what you use â not on your full limit."})]}),m.jsx(ee.div,{className:"order-1 md:order-2 sendinelimgdiv",initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},transition:{duration:.5},viewport:{once:!0},children:m.jsx("img",{src:D6,loading:"lazy",className:"w-full rounded-lg flexiImg ml-auto"})})]})}),m.jsxs(Ke,{className:"foursteps",children:[m.jsx("h3",{children:"Lending Service Provider"}),m.jsxs("div",{className:"flex",children:[m.jsxs(ee.div,{className:"order-2 md:order-1 stepsparent",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.5,delay:.2},viewport:{once:!0},children:[m.jsx("div",{className:"icon",children:m.jsx("img",{src:Ame,alt:"",loading:"lazy"})}),m.jsx("div",{className:"steptitle",children:"Step 1"}),m.jsx("div",{className:"contenttitle",children:"Download the Stashfin App:"}),m.jsx("ul",{children:m.jsx("li",{children:"Use your Defence Referral Code to unlock Sentinel benefits"})})]}),m.jsxs(ee.div,{className:"order-2 md:order-1 stepsparent",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.5,delay:.2},viewport:{once:!0},children:[m.jsx("div",{className:"icon",children:m.jsx("img",{src:Ime,alt:"",loading:"lazy"})}),m.jsx("div",{className:"steptitle",children:"Step 2"}),m.jsx("div",{className:"contenttitle",children:"Upload Basic Details & Documents:"}),m.jsxs("ul",{children:[m.jsx("li",{children:"Name, PAN, Date of Birth, Pincode"}),m.jsx("li",{children:"Aadhaar and OTP for eKYC"}),m.jsx("li",{children:"Salary Slip + Last 3 Monthsâ Salary Account Bank Statements"}),m.jsx("li",{children:"Canteen Card or Employment ID for Defence Verification"})]})]}),m.jsxs(ee.div,{className:"order-2 md:order-1 stepsparent",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.5,delay:.2},viewport:{once:!0},children:[m.jsx("div",{className:"icon",children:m.jsx("img",{src:Cme,alt:"",loading:"lazy"})}),m.jsx("div",{className:"steptitle",children:"Step 3"}),m.jsx("div",{className:"contenttitle",children:"Complete Setup:"}),m.jsxs("ul",{children:[m.jsx("li",{children:"Add Address Details"}),m.jsx("li",{children:"Enter Bank Details for fund transfers"}),m.jsx("li",{children:"Set up eNACH (Auto EMI Payment) via NetBanking or UPI"})]})]}),m.jsxs(ee.div,{className:"order-2 md:order-1 stepsparent",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.5,delay:.2},viewport:{once:!0},children:[m.jsx("div",{className:"icon",children:m.jsx("img",{src:Tme,alt:"",loading:"lazy"})}),m.jsx("div",{className:"steptitle",children:"Step 4"}),m.jsx("div",{className:"contenttitle",children:"Get Your LoC Approved â Free of Charge!"}),m.jsxs("ul",{children:[m.jsx("li",{children:"No fees to apply"}),m.jsx("li",{children:"Withdraw funds whenever needed"}),m.jsx("li",{children:"Pay only for the amount you use"}),m.jsx("li",{children:"No foreclosure or early repayment charges"})]})]})]}),m.jsx("p",{children:"Your Line of Credit stays open â withdraw and repay anytime, as per your needs."})]}),m.jsxs(Ke,{className:"trustedsec",children:[m.jsx("h2",{children:"Trusted by Thousands. Built for Every Sentinel"}),m.jsx("div",{className:"subtitle",children:"At Stashfin, we donât just offer credit â we build trust."}),m.jsx("p",{children:" 40,000+ Defence Personnel have already joined the Sentinel Program and benefited from fast, flexible, and fair financial solutions. We disburse over â¹30 Crores in loans every month, directly into the hands of our Sentinels â empowering them to meet personal goals, manage emergencie
455s, or simply plan ahead."}),m.jsx("h2",{children:"Beyond Credit: Financial Literacy for Every Rank"}),m.jsx("div",{className:"subtitle",children:"Our mission goes far beyond lending."}),m.jsx("p",{children:"We have conducted over 500 financial awareness seminars in cantonments, regimental centers, and units across India. From understanding credit to managing personal investments and finances, we equip our Sentinels with the knowledge to make informed money decisions. Whether itâs a Jawan, JCO, or Officer â every soldier deserves financial clarity and confidence. And weâre proud to lead that charge"})]})]}),Pme=()=>{const{pathname:n}=bf();return w.useEffect(()=>{window.scrollTo(0,0)},[n]),null},Rme=()=>{const[n,e]=w.useState("end-user"),[t,i]=w.useState(!1),s={"end-user":{title:"End User License Agreement",content:` 456 <div class="terms-content"> 457 <div class="heading">1. General</div> 458 <ul> 459 <li>This website www.stashfin.com -its mobile phone and internet-based application(s) (âStashFin Platformâ) is a digital lending application and is owned and operated by Akara Capital Advisors Private Limited (âAkaraâ), a company incorporated under the Laws of the Republic of India having its Corporate Office at Unit Nos.1801-1805,1806A,1806B,1807A, 1807B and 1815 18th Floor, Magnum Global Park 2 Golf Course Ext Road Sector 58, Gurgaon â122011, India (collectively referred to as âStashFinâ, âweâ, âusâ, âourâ, as the context may apply).</li> 460 <li>The General Terms and Conditions for the said StashFin Platform, Privacy Policy, this End User terms for StashFin User Account, Credit Line General Terms and Conditions, General terms for customer enrollment form Disclaimers, Notifications used by StashFin in StashFin Platform are deemed to be incorporated hereby way of this reference and shall be read as an integral part hereof.</li> 461 <li>Each User of StashFin Platform (hereinafter referred to as âUserâ, âStashFin Userâ, âyouâ, âyourâ, as the context may apply) is requested to read the terms herein and confirm acceptance to register with StashFin while creating and for using StashFin User Account (hereinafter defined) or for availing any services from StashFin through the StashFin Platform.</li> 462 <li>Each StashFin User is also requested to note and be updated about the services, Key Fact Statement (KFS) and the list of Lender(s) in StashFin Platform and the respective terms conditions as updated there from time to time. Each StashFin User confirms to be bound by those terms.</li> 463 <li>Each StashFin User understands and confirms that they shall not be entitled to delete the user account if there is any pending payment towards StashFin or its Lender(s) or for any services availed using StashFin Platform.</li> 464 <li>Each StashFin User understands and confirms that this is a legally binding contract for the use of StashFin Platform and establishing the terms and conditions under which a StashFin User Account can be used.</li> 465 <li>Each StashFin User understands and confirms that they may need to recognize and comply with additional terms and conditions for availing services offered in StashFin Platform as may be applicable from time to time.</li> 466 <li>Each StashFin User by accepting these terms understands and confirms that StashFin reserves the right to modify these, by giving the User a prior notice (in vernacular language) about such changes and the same shall be binding upon the User.</li> 467 <li>Each StashFin User understands and confirm that StashFin can facilitate your lending journey.</li> 468 <li>Each StashFin User understands that Stashfin is authorized by the User for collection of the installments.</li> 469 <li>Each StashFin User understands that Stashfin can authorize any affiliate or third party for collection of platform fees/EMIs/fees/charges and/or send email reminders to customers.</li> 470 <li>Each StashFin User, by accepting these terms understand and confirm that they shall be required to re-visit these terms from time to time to stay abreast of any changes that StashFin Platform may introduce to these terms.</li> 471 <li>You shall not accept these terms if you are a person who is either barred or otherwise legally prohibited or not authorized to use the same.</li> 472 <li>You shall not impersonate any person or entity or falsely state or otherwise misrepresent age, identity or affiliation with any person or entity.</li> 473 <li>Notwithstanding anything contained herein, we reserve the right to deny your registration as a StashFin User and deny our services on StashFin Platform without assigning any reason.</li> 474 <li>We strongly advise that independent professional advice be obtained before you purchase or avail any product and/or service via StashFin Platform.</li> 475 <li>By using the StashFin Platform, you consent to the use of your information, as we outlined in our privacy policy. Our services use cookies; by using our services or confirming to these terms, you consent to our use of cookies in accordance with the terms of our privacy policy.</li> 476 <li>By accepting these terms, you confirm to unconditionally accept and confirm to comply with and be bound by these terms. You confirm not to use the StashFin Platform for any purpose that is unlawful, illegal or forbidden by these terms, or any local laws that might apply to you.</li> 477 <li>We may translate these terms into other languages for your convenience. Nevertheless, the English version governs your relationship with us, and any inconsistencies among the different versions will be resolved
477in favor of the English version.</li> 478 </ul> 479 <div class="heading">2. Role of StashFin Platform</div> 480 <ul> 481 <li>StashFin informs you that we are not a lender or a financial institution and hence, have no part in lending or credit decisions. StashFin does not lend money to anyone, rather, StashFin acts as a bridge that connects you to lenders who may consider granting you a Credit Line in India (hereinafter referred to as âLender(s)â).</li> 482 <li>StashFin Platform may provide services by StashFin or other persons.</li> 483 <li>Notwithstanding anything to the contrary, StashFin Platform does not undertake any product liability/obligation or services obligation or represents or warrants or guarantee on behalf of any third person/s. The Role of StashFin Platform is strictly limited to intermediation. StashFin disclaims any responsibility or liability for any services or offerings on StashFin Platform.</li> 484 </ul> 485 <div class="heading">3. Role of Akara Capital Advisors Private Limited (âAkaraâ)</div> 486 <ul> 487 <li>Akara is a Non-deposit taking Non-Banking Financial Company registered and regulated by Reserve Bank of India. Akara Capital as part of the its arrangements with other lenders/co-lenders may provide funding to the Users which may be backed by default loss guarantee or credit enhancement.</li> 488 </ul> 489 <div class="heading">4. EQX Analytics Private Limited (âEQXâ or âLSPâ)</div> 490 <ul> 491 <li>EQX is a Lending Service Provider (LSP) which carries out one or more of a lender's functions to deliver and service various loan products to various customers. It carries out functions and/ or services such as customer acquisition underwriting support, pricing support, servicing, monitoring and recovery of specific loan or loan portfolio on behalf of Lenders in conformity with extant outsourcing guidelines issued by the Reserve Bank of India (âRBI").</li> 492 <li>EQX presently does not provide any financial services and also does not act as a payment system.</li> 493 </ul> 494 <div class="heading">5. Other lending service provider</div> 495 <ul> 496 <li>We may appoint other third-party service providers which carries out one or more function of a lending service provider in accordance with Guidelines on Digital Lending dated September 02, 2022 and in conformity with extant outsourcing guidelines issued by the RBI.</li> 497 </ul> 498 <div class="heading">6. StashFin User Account</div> 499 <ul> 500 <li>To use the offerings on StashFin Platform, you have to register on StashFin Platform and create a user account (âStashFin User Account" or "User Account" or "Account") and provide your details ("User Information") together to avail the Credit Line from Lender(s) or for availing other services in the StashFin Platform (as may be applicable).</li> 501 <li>You shall take note that a few of the information is mandatory in nature, and few will be optional. You confirm to exercise diligence while creating your StashFin User Account and while submitting the User Information. You understand and confirm that you have the choice not to provide any such details and avoid the creation of a StashFin User Account. However, you represent that all details submitted shall be true and correct in all respect. You further declare/undertake that the User Information provided is true and accurate and shall be responsible for any error whatsoever.</li> 502 <li>You understand and that the Lender(s) and StashFin can rely on such information for a grant or reject your request for a grant of Credit Line or any services on StashFin Platform.</li> 503 <li>You shall, at all times, keep the password and user ID of your StashFin User Account confidential and shall be solely responsible for the user activities through your account.</li> 504 <li>The services which are available with your StashFin User Account are available on the StashFin Platform.</li> 505 <li>
505During the period while you are availing the services which we provide in the StashFin Platform, we may grant licenses/permissions for the use of technology/services/materials and User Account through StashFin Platform. The same may be canceled at our discretion.</li> 506 <li>You understand that StashFin Platform or services may be modified, updated, interrupted, suspended, or discontinued at any time without notice or liability.</li> 507 <li>Other than as provided in these terms or in the StashFin Platform(s, the services/products/licenses from our side will be available to you only during the validity period, which will be based on the fee paid by you, or before the termination of these terms or before us we discontinuing the services/products/licenses or the respective StashFin Platform (as may be applicable).</li> 508 <li>Notwithstanding anything to the contrary, you shall not hold StashFin liable or responsible for services on StashFin Platform from any third person.</li> 509 </ul> 510 <div class="heading">7. Service Charges</div> 511 <ul> 512 <li>You shall be required to pay service charges as agreed under the KFS on the StashFin Platform for the services availed by you through StashFin Platform.</li> 513 <li>You confirm to make payment to StashFin as per he repayment schedule and KFS for availing services through StashFin Platform.</li> 514 <li>You understand that the services in StashFin Platform may be denied by StashFin if there is a non-payment of any applicable charges.</li> 515 </ul> 516 <div class="heading">8. Grant of Authority</div> 517 <ul> 518 <li>By creating StashFin User Account and submitting User Information, you are explicitly confirming that you are requesting Credit Line from the Lender(s) or for other services through StashFin Platform. Further, you grant authority to us/EQX/other third party service providers for the following: 519 <ul> 520 For Lender(s), EQX, other services providers and StashFin to reach out to you through e-mail, post, telephone or through any other media (including electronic means) now or in future to assist you in getting the Credit Line or for providing other services through StashFin Platform directly or by third parties.</li> 521 To provide information concerning your interest in Credit Line to third-party marketing companies to offer additional services or products.</li> 522 To provide credit checks or background checks based on the User Information and submit the same to the Lender(s) or for providing other services through StashFin Platform directly or by third parties, you understand and confirm that StashFin shall in no way be responsible for the outcome of the checks.</li> 523 To know through phone calls, or SMS, or e-mails on User's mobile number, various Credit Line offer schemes or Credit Line promotional schemes or any other promotional schemes including that for services through StashFin Platform directly or by third parties.</li> 524 Confirm that laws concerning the unsolicited communication referred to in "NATIONAL DO NOT CALL REGISTRY" as laid down by TELECOM REGULATORY AUTHORITY OF INDIA will not be applicable for such communication/ calls/ SMS/e-mails received from StashFin. It's employees, agents, and/or associates.</li> 525 To co-ordinate for recovery of Credit Line in case of any delay in repayment.</li> 526 To co-ordinate for providing other services through StashFin Platform directly or by third parties.</li> 527 </ul> 528 </li> 529 </ul> 530 <li>We may, as a result of your interaction with the StashFin Platform, hold and process information obtained about you when you access the StashFin Platform.</li> 531 <li>By executing these terms, you hereby grant us authority and power and authorize us or our authorized representatives to do all acts on your behalf as may be necessary to provide the services sought by you through the options available in our StashFin Platform.</li> 532 <li>By using the StashFin Platform or any its services, you confirm and declare that: 533 <ul> 534 <li>You have no objections in EQX acting as an agent of the Lenders (s), Lender's Agents or on behalf of the Lender or in such manner as may be decided by StashFin from time to time;</li> 535 <li>You will be bound by any contractual provisions undertaken to the Lender(s) StashFin Platform;</li> 536 <li>You confirm your understanding that EQX will be entitled to act as customer support, collection agent, sales agent, technology support and for such other support/services as deem fit by the Akara Capital or EQX;</li> 537 <li>You confirm your consent to Akara Capital to perform such functions through electronic or non-electronic means, including StashFin Platform or through its service providers or through such other means as deem fit by Akara Capital from time to time.</li> 538 </ul> 539 </li> 540 </ul> 541 <div class="heading">9. StashFin User Account</div> 542 <ul> 543 <li>Your StashFin User Account will provide information about your interest to avail Credit Line to the Lenders for further processes and details of Credit Line offered by Lender(s) and its indicative terms.</li> 544 <li>Your StashFin User Account will help you avail services through StashFin Platform directly or by third parties.</li> 545 <li>Your StashFin User Account will provide charges for the services to you through StashFin Platform directly or by third parties.</li> 546 <li>Your User Information will be submitted with Lender(s) and service providers in StashFin Platform, among other details as may be required by the Lender(s) or by other services providers in StashFin Platform or by StashFin.</li> 547 <li>In case any information is inadequate, you may reach out to the StashFin customer case through your StashFin User Account.</li> 548 <li>You understand that StashFin shall not be bound to return any documents or details back to you.</li> 549 </ul> 550 <div class="heading">10. Grant of Credit Line</div> 551 <ul> 552 <li>You are required to note that all Lender(s) may not offer a Credit Line.</li> 553 <li>The decision of lending, i.e., to sanction a Credit Line or rejection of your Credit Line application as well as the Credit Line depends solely on the Lender(s).</li> 554 <li>You confirm that while applying for the Credit Line through StashFin Platform, you have visited the partner lending page on StashFin Platform and you have also visited the relevant Lender's website and have perused the relevant details required for your understanding and confirmation to be granted for availing the Credit Line.</li> 555 <li>Once a Lender(s) approves the Credit Line, the terms prescribed by the Lender(s) shall be, and you may approve or choose to accept it.</li> 556 <li>You may also consult a professional before making your decision.</li> 557 <li>You will be informed about approval or rejection or status of your interest to avail Credit Line. Upon sanction of Credit Line by Lender(s), you may approve or reject the terms of Credit Line sanction through the StashFin Platform.</li> 558 <li>Once you confirm to accept terms of Credit Line sanction by the Lender(s) through the StashFin Platform, you shall execute the necessary documents as a borrower with the Lender(s) and StashFin as the case may require.</li> 559 </ul> 560 <div class="heading">11. Terms of Disbursement</div> 561 <ul> 562 <li>
562You confirm that the terms of disbursement and purpose of Credit Line shall be as mentioned on the StashFin Platform and as may be deemed fit by the Lender(s) and StashFin from to time.</li> 563 <li>The disbursement will be permitted only as per terms informed by the Lender(s) and as required by StashFin.</li> 564 <li>Deviations, if any given, shall be cured by you with the timelines intimated by StashFin from time to time, failing which it shall be deemed as a default which entitles StashFin or the Lender(s) to initiate legal actions without any further intimation.</li> 565 <li>StashFin can adjust disbursement amount due to any of you due to any Lender(s) or for payment for any services availed by your through the StashFin Platform. The same shall be binding on you.</li> 566 </ul> 567 <div class="heading">12. The rate of interest and charges for Credit Line.</div> 568 <ul> 569 <li>The Rate of interest for Credit Line and charges will be governed as mentioned on the StashFin Platform.</li> 570 <li>You shall be bound by the terms of the KFS applicable from time to time.</li> 571 572 <div class="heading">13. Other General representation, warranties, and covenants</div> 573 <ul> 574 <li>The User herein confirms the following: 575 <ul> 576 <li>The User is an Indian resident as per Foreign Exchange Management Act, 1999 and Income Tax Act, 1961.</li> 577 <li>Meet the criteria prescribed in the Indian Contract Act, 1872, to enter into a contract and have legal competence and capacity.</li> 578 <li>Has sufficient income to repay the Credit Line applied from Lender(s).</li> 579 <li>Has identity proof and the same submitted to StashFin is true and correct.</li> 580 <li>Has income proof, and the same is adequate to repay the Credit Line or for making payments for any services availed through the StashFin Platform.</li> 581 <li>Has a valid and active bank account in India.</li> 582 <li>The users shall comply with all the laws applicable to them, respectively, for using the StashFin Platform at territory, the User is located, and in India.</li> 583 <li>The details submitted through the StashFin Platform are true and correct.</li> 584 <li>You do not have the right to use any of our trade names, trademarks, service marks, logos, domain names, and other distinctive brand features. You do not have the right to copy and use the software, text, images, graphics, video, and audio used on StashFin Platform ("Content"). You do not have the right to remove, obscure, or alter any proprietary rights notices (including trademark and copyright notices), which may be affixed to or contained within the services. You will not copy or transmit any of the services.</li> 585 <li>You understand and confirm that we neither represent nor warrants that your use of materials displayed at the StashFin Platform will not infringe on third parties' rights.</li> 586 </ul> 587 </li> 588 <li>By using StashFin Platform, you confirm that you shall not: 589 <ul> 590 <li>use our services and StashFin Platform for spamming or any other illegal purposes;</li> 591 <li>infringe ours or any third party's intellectual property rights, rights of publicity or privacy;</li> 592 <li>post or transmit any message which is libelous, defamatory or which discloses private or personal matters concerning any person;</li> 593 <li>post or transmit any message, data, image or program which violates any law;</li> 594 <li>refuse to cooperate in an investigation or provide confirmation of your identity or any other information you provide to us;</li> 595 <li>remove, circumvent, disable, damage or otherwise interfere with security-related features of StashFin Platform or features that enforce limitations on the use of our services and StashFin Platform;</li> 596 <li>upload any content that constitutes negligent advice or contains any negligent statement, an incitement to commit a crime or contains instructions for the commission of a crime or the promotion of criminal activity; or any content which is in contempt of any court, or in breach of any court order; or discriminates on the basis of age, sex, religion, race, gender; harassing, invasive of other's privacy, blasphemous; in breach of any contractual obligations or depicts violence or is pornographic, pedophilic, obscene, suggestive or sexually explicit; or consists of or contains any instructions, advice or other information which may be acted upon and could, if acted upon, cause illness, injury or death, or any other loss or damage; or constitutes spam; or is grossly harmful, offensive, deceptive, fraudulent, threatening, abusive, hateful, harassing, anti-social, menacing, hateful, discriminatory or inflammatory; or causes annoyance, inconvenience or needless anxiety to any person; or racially, ethnically objectionable, disparaging, relating or encouraging money laundering or gambling, or harm minors in any way or otherwise unlawful in any manner whatever;</li> 597 <li>upload any content that threatens the unity, integrity, defense, security or sovereignty of any country, or public order or causes incitement to the commission of any cognizable offense or prevents investigation of any offense or is insulting any nation;</li> 598 <li>upload any content that contains software viruses or any other computer code, files or programs designed to interrupt, destroy or limit the functionality of any computer resource;</li> 599 <li>reverse engineer, decompile, disassemble or otherwise attempt to discover the source code of our services and StashFin Platform or any part thereof or infringe any patent, trademark, copyright or other proprietary rights;</li> 600 <li>
600use our services and StashFin Platform in any manner that could damage, disable, overburden, or impair, including, without limitation, using our services and StashFin Platform in an automated manner;</li> 601 <li>modify, adapt, translate or create derivative works based upon our services and StashFin Platform or any part thereof;</li> 602 <li>intentionally interfere with or damage the operation of our services and StashFin Platform or any other User's use of our services and StashFin Platform, by any means, including uploading or otherwise disseminating viruses, adware, spyware, worms, or other malicious code or file with contaminating or destructive features;</li> 603 <li>use any robot, spider, other automatic devices, or manual process to monitor or copy our services and StashFin Platform without our prior written permission;</li> 604 <li>interfere or disrupt our services and StashFin Platform or networks connected therewith;</li> 605 <li>take any action that imposes an unreasonably or disproportionately large load on our infrastructure/network;</li> 606 <li>use any device, software or routine to bypass our services and StashFin Platform robot exclusion headers, or interfere or attempt to interfere, with our services and StashFin Platform;</li> 607 <li>forge headers or manipulate identifiers or other data to disguise the origin of any content transmitted through our services and StashFin Platform or to manipulate your presence on our services and StashFin Platform;</li> 608 <li>use the facilities and capabilities of our services and StashFin Platform to conduct any activity or solicit the performance of any illegal activity or other activity which infringes the rights of others;</li> 609 <li>breach these terms or any other policies which we may adopt from time to time;</li> 610 <li>provide false, inaccurate or misleading information to our services and StashFin Platform; and</li> 611 <li>use our services and StashFin Platform to collect or obtain personal information, including without limitation, personal information about other Users of our services, and StashFin Platform.</li> 612 </ul> 613 </li> 614 <li>Although we may from time to time monitor or review postings, transmissions, and the like on the StashFin Platform, we are under no obligation to do so and assume no responsibility or liability arising from the content of any such locations nor for any error, defamation, libel, slander, omission, falsehood, obscenity, pornography, profanity, danger, or inaccuracy contained in any information within such locations on the StashFin Platform.</li> 615 <li>You are prohibited from posting or transmitting any unlawful, threatening, libelous, defamatory, obscene, scandalous, inflammatory, pornographic, or profane material or any material that c
615ould constitute or encourage conduct that would be considered a criminal offense, give rise to civil liability, or otherwise violate any law.</li> 616 <li>We retain the right to remove any such posting and fully cooperate with any law enforcement authorities or court order to request or direct us to disclose the identity of anyone posting any such information or materials.</li> 617 </ul> 618 <div class="heading">14. Disclaimers</div> 619 <ul> 620 <li>StashFin may advertise certain Credit Line products of the Lenders or other services in the StashFin Platform; however, that does not mean that StashFin warrants or represents quality or features of any the services of any Lender(s) or such persons.</li> 621 <li>The Credit Line conditions offered by the Lender(s) may not always suit your requirements. If you are unsure about any aspect of the Credit Line given by the Lender(s), StashFin takes no responsibility towards the offer made by the Lender(s), and there is no involvement of StashFin whatsoever in these decisions.</li> 622 <li>Furthermore, StashFin has no role in determining how a Lending Service Provider may use the information given by you. By using the StashFin Platform, you are acknowledging that StashFin is not liable for any damages or costs, financial or otherwise, incurred by you due to your transaction with any Lender(s).</li> 623 <li>StashFin does not confirm the suitability of any other services offered through the StashFin Platform for any of your particular needs; you shall solely be responsible for any cost incurred by you for availing the same. In no event, notwithstanding anything contained here or in any of the StashFin Platform, you shall not hold StashFin responsible or liable for the same.</li> 624 <li>You understand and confirm that StashFin Platform hosts information provided by third parties. We are in no manner responsible to you for the accuracy, legitimacy, correctness of the information hosted. We take reasonable care to ensure such precision, but we are not responsible for the furnished information. You confirm not to hold us liable for the falsification of any such provided information.</li> 625 </ul> 626 <div class="heading">15. Indemnification</div> 627 <ul> 628 <li>As consideration for entering into this contract, you confirm to indemnify and hold StashFin and its Lender(s) or any lending service providers on the StashFin Platform harmless from and against any and all claims, action, liability, cost, loss, damage, endured by StashFin by User's access to the StashFin Platform in violation to the listed terms of service and also to the applicable laws, rules and regulations or contracts prevailing from time to time.</li> 629 </ul> 630 <div class="heading">16. Display/ Advertisements/ Web Links</div> 631 <ul> 632 <li>We have not reviewed any sites that may be linked to the StashFin Platform and are not responsible for the content of any off-site pages or any other sites linked to the StashFin Platform. Your linking to any other off-site pages or other websites is at your own risk.</li> 633 <li>Our display on or through the StashFin Platform of various services or product options offered by third parties does not in any way imply, suggest, or constitute any sponsorship, recommendation, or approval or advice from us for any such third parties or their products.</li> 634 <li>You confirm that you may need to confirm with the terms and conditions of such third parties by accessing their StashFin Platform, and the same will be at your sole risk and responsibility.</li> 635 </ul> 636 <div class="heading">17. Inaccuracies at the StashFin Platform</div> 637 <ul> 638 <li>While we use reasonable efforts to include accurate and up to date information at the StashFin Platform, we make no warranties or representations as to the StashFin Platform 's accuracy. We disclaim any and all liability for the accuracy, completeness, or correctness of such information.</li> 639 </ul> 640 <div class="heading">18. Security at the StashFin Platform</div> 641 <ul> 642 <li>While we use reasonable efforts to safeguard the StashFin Platform security, there can be no guarantee that such safeguards will successfully prevent unauthorized alterations in the content or functionality of the StashFin Platform. We assume no liability or responsibility for any unauthorized changes in the content or functionality of the StashFin Platform.</li> 643 </ul> 644 <div class="heading">19. Disclaimer of warranty</div> 645 <ul> 646 <li>The StashFin Platform and all content and services provided on the StashFin Platform are provided on an "as is" and "as available" basis. We expressly disclaim all warranties of any kind, whether express or implied, including, but not limited to, the implied warranties of merchantability, fitness for a particular purpose, title, non-infringement, and security and accuracy, as well as all warranties arising by usage of trade, course of dealing, or course of performance. We make no warranty, and expressly disclaims any obligation, that: 647 <ul> 648 <li>the content will be up-to-date, complete, comprehensive, accurate or applicable to your circumstances;</li> 649 <li>the StashFin Platform will meet your requirements or be available on an uninterrupted, timely, secure, or error-free basis</li> 650 <li>the results that may be obtained from the use of the StashFin Platform or any services offered through the site will be accurate or reliable; or</li> 651 <li>the quality of any products, services, information, or other material obtained by you through the StashFin Platform will meet your expectations.</li> 652 </ul> 653 </li> 654 </ul> 655 <div class="heading">20. Limitation of Liability</div> 656 <ul> 657 <li>We (including its officers, directors, employees, representatives, affiliates, and providers) will not be responsible or liable for (a) any injury, death, loss, claim, an act of god, accident, delay, or any direct, special, exemplary, punitive, indirect, incidental or consequential damages of any kind (including without limitation lost profits or lost savings), whether based in contract, tort, strict liability or otherwise, that arise out of or is in any way connected with (i) any failure or delay (including without limitation the use of or inability to use any component of the StashFin Platform), or (ii) any use of the StashFin Platform or content, or (iii) the performance or non-performance by us or any provider, even if we have been advised of the possibility of damages to such parties or any other party, or (b) any damages to or viruses that may infect your computer equipment or other property as the result of your access to the StashFin Platform or your downloading of any content from the StashFin Platform.</li> 658 </ul> 659 <div class="heading">21. Use information on StashFin Platform</div> 660 <ul> 661 <li>Except as expressly permitted by these terms, no portion of the information on the StashFin Platform may be reproduced by you in any form, or by any means, without our prior written permission.</li> 662 </ul> 663 <div class="heading">22. Governing law and Jurisdiction</div> 664 <ul> 665 <li>The laws of India, without regard to its conflict of laws rules, will govern these terms, as well as your and our observance of them.</li> 666 <li>If you take any legal action relating to your use of the StashFin Platform or these terms, you confirm to file such action only in the courts located in Delhi, Republic of India.</li> 667 <li>Governing Law, Jurisdiction, and Dispute Resolution</li> 668 <li>The laws of India, without regard to its conflict of laws rules, will govern these Terms, as well as your and our observance of them.</li> 669 <li>If you take any legal action relating to your use of the StashFin Platform or these Terms, the same shall be subject to the exclusive Jurisdiction of courts located in Delhi, India.</li> 670 <li>In case you have any disputes with StashFin, you may raise your issues to StashFin and request for mediation.</li> 671 <li>If the matter is not resolved through such mediation, thereafter, all disputes, differences and/or claims arising out of these presents or as to the construction, meaning or effect hereof or as to the right and liabilities of the parties shall be settled by arbitration in accordance with the provisions of the Arbitration and Conciliation Act, 1996 or any statutory amendments thereof and shall be referred to a sole arbitrator to be appointed by Akara Capital or its agent or any arbitration center that Akara Capital or its agent nominates. The place of arbitration shall be New Delhi and the Courts at Delhi, India shall have exclusive jurisdiction. The awards, including interim awards of the arbitration, shall be final and binding on all parties concerned. The arbitrator may pass the award without stating any reasons for such an award.</li> 672 </ul> 673 <div class="heading">23. Breach of the terms</div> 674 <ul> 675 <li>Without prejudice to our other rights under these terms, if you breach these terms and, in any way, or if we suspect that you have breached these terms in any way, we may 676 <ul> 677 <li>send you one or more formal warnings;</li> 678 <li>temporarily suspend your access to StashFin Platform and services;</li> 679 <li>permanently prohibit you from accessing StashFin Platform and services;</li> 680 <li>block computers using your IP address from accessing StashFin Platform and services;</li> 681 <li>contact any or all of your internet service providers and request that they block your access to StashFin Platform and services;</li> 682 <li>commence legal action against you, whether for breach of contract or recovery of amounts due or damages or otherwise;</li> 683 <li>suspend or delete your account on StashFin Platform and services;</li> 684 </ul> 685 </li> 686 <li>Notwithstanding anything to the contrary contained this these terms after termination or suspension of services or discontinuance of your User Account on StashFin Platform pursuant to your breach or otherwise, you will not be entitled to refund of any fee or charges paid, nor shall be discharged from any pen
686ding obligation accrued in favor or StashFin or towards any Lender(s) or by availing any services through StashFin Platform.</li> 687 </ul> 688 <div class="heading">24. References</div> 689 <ul> 690 <li>Any reference to a statutory provision shall include such provision from time to time modified or re-enacted or consolidated so far as such modification or re-enactment or consolidation applies or is capable of using it to any transactions entered into hereunder.</li> 691 </ul> 692 <div class="heading">25. Assignment</div> 693 <ul> 694 <li>We shall be permitted to assign, transfer, and subcontract its rights and/or obligations under these terms without any notification or consent required. However, you shall not be permitted to assign, transfer, or subcontract any of your rights and/or obligations under these terms.</li> 695 </ul> 696 <div class="heading">26. Contact us/Grievance Redressal/ Feedback</div> 697 <li>In case you need any details or clarifications or redressal of grievances or have any feedback, you can contact us on <a href="https://www.stashfin.com/contact-us" target="_blank">www.stashfin.com/contact-us</a>.</li> 698 <li>Also, we believe that your feedback makes use of StashFin Platform and services better; please feel free to share it with us on <a href="https://www.stashfin.com/contact-us">www.stashfin.com/contact-us</a>. Unless admitted explicitly by us or as required by law, all feedback shall be non-confidential.</li> 699 <li>We will assume no responsibility for reviewing unsolicited ideas and will not incur any liability due to any similarities between those ideas and materials that may appear in future programs of StashFin.</li> 700 <li>Please do not reveal trade secrets or other confidential information in your messages to StashFin. Any and all rights to materials submitted to us become the exclusive property of StashFin.</li> 701 <li>You understand and confirm that StashFin may record any calls or communication made to it by you or vice versa.</li> 702 </div> 703 <div class="termsboxbottom"> 704 <p>I CONFIRM TO THE ABOVE THROUGH ONLINE/ELECTRONIC MEANS. I HEREBY CONFIRM THAT ACCEPTANCE OF THE ABOVE TERMS AND CONDITIONS WAS COMPLETED ONLINE FOR MY CONVENIENCE.</p> 705 <div class="contacttitle">Contact Us</div> 706 <div class="termscontactparent"> 707 <div> 708 <div>Name:</div> 709 <div>AKARA CAPITAL ADVISORS PRIVATE LIMITED</div> 710 </div> 711 <div> 712 <div>Corporate Address:</div> 713 <div>Unit Nos.1801-1805,1806A,1806B,1807A, 1807B and 1815 18th Floor, Magnum Global Park 2 Golf Course Ext Road Sector 58, Gurgaon â122011</div> 714 </div> 715 <div> 716 <div>Email Id:</div> 717 <div>[email protected]</div> 718 </div> 719 <div> 720 <div>Contact No:</div> 721 <div>0124-6981222</div> 722 </div> 723 <div> 724 <div>Grievance Officer:</div> 725 <div>Mr. Aditya Verma</div> 726 </div> 727 <div> 728 <div>Nodal Officer:</div> 729 <div>Mr. Amarjeet Singh</div> 730 </div> 731 </div> 732 </div> 733 `},"privacy-eqx":{title:"Privacy Policy (EQX)",url:"https://www.stashfin.com/privacy-policy"},"privacy-akara":{title:"Privacy Policy (Akara Capital)",url:"https://www.stashfin.com/privacy-policy-akara"},"fair-practice":{title:"Fair Practice Code",content:"Content for Fair Practice Code...",url:"https://www1.stashfin.com/fpc"},"platform-declaration":{title:"Platform Declaration",content:"Content for Platform Declaration...",url:"https://www1.stashfin.com/platform_declaration"},"user-consent":{title:"User Consent for KYC",content:"Content for User Consent...",url:"https://www1.stashfin.com/user_consent_for_kyc"},"digital-lending":{title:"Digital Lending App (Stashfin) T&Cs",content:"Content for Digital Lending App...",url:"https://www.stashfin.com/terms-and-conditions"}},r=a=>{const o=s[a];"url"in o?window.open(o.url,"_blank"):(e(a),i(!1))};return m.jsxs("div",{className:"min-h-screen partnerspage",children:[m.jsx(Wl,{title:"",subtitle:"Terms & Conditions",maxwidth:865,showQuote:!0,lineheight:"56px",children:m.jsx("p",{className:"text-lg text-white mb-8 partenerherotext",children:"End User License Agreement"})}),m.jsx(Ke,{className:"py-16",children:m.jsx("div",{className:"container mx-auto px-4",children:m.jsxs(ee.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.1},viewport:{once:!0},children:[m.jsxs("div",{className:"md:hidden relative mb-6",children:[m.jsxs("button",{className:"w-full flex items-center justify-between p-4 bg-white rounded-lg shadow",onClick:()=>i(!t),children:[m.jsx("span",{children:s[n].title}),m.jsx(Vj,{className:`transform transition-transform ${t?"rotate-180":""}`})]}),t&&m.jsx("div",{className:"absolute top-full left-0 right-0 mt-2 bg-white rounded-lg shadow-lg z-50",children:Object.entries(s).map(([a,o])=>m.jsx("div",{className:`p-4 cursor-pointer ${n===a?"text-white":""}`,onClick:()=>r(a),children:o.title},a))})]}),m.jsxs("div",{className:"flex flex-col md:flex-row gap-8 termssecparent",children:[m.jsx("div",{className:"hidden md:block md:w-1/4",children:m.jsx("div",{className:"sticky top-24 menuitem",children:m.jsx("ul",{className:"space-y-2",children:Object.entries(s).map(([a,o])=>
733m.jsx("li",{className:`cursor-pointer p-4 rounded-lg transition-all ${n===a?"bg-akara-red text-white":"hover:bg-gray-100"}`,onClick:()=>r(a),children:o.title},a))})})}),m.jsxs("div",{className:"md:w-3/4 contentsec bg-white p-0 rounded-lg",children:[m.jsx("h2",{children:s[n].title}),m.jsx("div",{className:"prose max-w-none",dangerouslySetInnerHTML:{__html:s[n].content}})]})]})]})})})]})},kme=()=>{const[n,e]=w.useState("end-user"),[t,i]=w.useState(!1);return m.jsxs("div",{className:"min-h-screen partnerspage",children:[m.jsxs(Wl,{title:"",subtitle:"Akara Capital",maxwidth:865,showQuote:!0,lineheight:"56px",children:[m.jsx("p",{className:"dlaprtners endusertxt",children:"Grievance"}),m.jsx("p",{className:"dlaprtners endusertxt",children:"Redressal"})]}),m.jsx(Ke,{className:"py-16",children:m.jsx("div",{className:"container mx-auto px-4",children:m.jsxs(ee.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.1},viewport:{once:!0},children:[m.jsxs("div",{className:"grievencebox",children:[m.jsx("div",{className:"title",children:"Grievance Redressal Officer"}),m.jsx("p",{children:"Customers are requested to address all their grievances at the first instance to the Grievance Redressal Officer. The contact details of the Grievance Redressal Officer are as provided below."}),m.jsx("p",{children:"Mr. Aditya Verma"}),m.jsxs("p",{children:["Address: Unit Nos.1801-1805,1806A,1806B,1807A, 1807B and 1815 18th Floor, Magnum Global Park 2 Golf Course Ext Road Sector 58, Gurgaon â122011Contact number: 0124-6981222",m.jsx("br",{}),"Email ID: ",m.jsx(_e,{to:"mailto:[email protected]",children:"[email protected]"})]}),m.jsx("p",{children:"The Grievance Redressal Officer may be reached on the number provided above anytime between 10:00 am and 6:00 pm on weekdays except public holidays or through the e-mail address above. The Grievance Redressal Officer shall endeavor to resolve the grievance within a period of fifteen days from the date of receipt of a grievance."})]}),m.jsxs("div",{className:"grievencebox",children:[m.jsx("div",{className:"title",children:"Nodal Officer"}),m.jsx("p",{children:"If the customer does not receive a response from the Grievance Redressal Officer within 15 days of making a representation, or if the customer is not satisfied with the response received from the Grievance Redressal Officer, the customer may reach the Nodal Officer on the number below anytime between 10:00am and 6:00 pm on weekdays except public holidays or write to the Nodal Officer at the e-mail address below. The contact details of our Nodal Officer are provided below"}),m.jsx("p",{children:"Nodal Officer"}),m.jsx("p",{children:"Mr. Amarjeet Singh"}),m.jsx("p",{children:"Address: Unit Nos.1801-1805,1806A,1806B,1807A, 1807B and 1815 18th Floor, Magnum Global Park 2 Golf Course Ext Road Sector 58, Gurgaon â122011"}),m.jsx("p",{children:"Contact number:  +91-7065254281 Or 0124-6981223"}),m.jsxs("p",{children:["Email ID:",m.jsx(_e,{to:"mailto:[email protected]",children:"[email protected]"})]})]}),m.jsxs("div",{className:"grievencebox",children:[m.jsx("div",{className:"title",children:"Complaints to Ombudsman"}),m.jsx("p",{children:"In case the customer does not receive a response from the Grievance Redressal Officer or the Nodal Officer within one month from the date of making a representation to the Company, or if the customer is not satisfied with the response so received, a complaint may be made in accordance with the âThe Reserve Bank â Integrated Ombudsman Scheme, 2021â (âOmbudsman Schemeâ) to the Ombudsman in whose jurisdiction the office of the Company complained against, is located. the RBI ombudsman on the below mentioned details."})]}),m.jsxs("div",{className:"grievencebox",children:[m.jsx("div",{className:"title",children:"Contact Ombudsman:"}),m.jsx("p",{children:"To Know more about the Ombudsman Scheme, click the link below:"}),m.jsx("p",{children:m.jsx(_e,{to:"https://rbidocs.rbi.org.in/rdocs/content/pdfs/RBIOS2021_121121.pdf",target:"_blank",children:"https://rbidocs.rbi.org.in/rdocs/content/pdfs/RBIOS2021_121121.pdf"})})]}),m.jsx("div",{className:"grievencebox",children:m.jsx("p",{children:m.jsx(_e,{to:"/Akara_Grievance_Flowchart.pdf",target:"_blank",children:"Complaint Flowchart"})})}),m.jsxs("div",{className:"grievencebox",children:[m.jsx("div",{className:"title",children:"The Customer can lodge a complaint at:"}),m.jsxs("p",{children:["Sachet Portal: ",m.jsx(_e,{to:"https://sachet.rbi.org.in",target:"_blank",children:"https://sachet.rbi.org.in"})]}),m.jsxs("p",{children:["RBI CMS Portal: ",m.jsx(_e,{to:"https://cms.rbi.org.in",target:"_blank",children:"https://cms.rbi.org.in"})]})]})]})})})]})},Nme=()=>{const[n,e]=w.useState([]),t=i=>{const s=i.target.files;if(s&&s.length>0){const r=s[0].name;console.log("Selected file:",r)}};return m.jsxs("div",{children:[m.jsx("input",{type:"file",multiple:!0,ref:i=>{i&&(i.webkitdirectory=!0)},onChange:t}),m.jsx("pre",{children:JSON.stringify(n,null,2)})]})},Mme=new MQ,Ome=()=>m.jsx(LQ,{client:Mme,children:m.jsxs(uQ,{children:[m.jsx(jY,{}),m.jsx(gW,{}),m.jsxs(LJ,{children:[m.jsx(xme,{}),m.jsx(zee,{mode:"wait",children:m.jsxs("main",{className:"min-h-screen",children:[m.jsx(Pme,{}),m.jsxs(DJ,{children:[m.jsx(Vi,{path:"/",element:m.jsx(Ure,{})}),m.jsx(Vi,{path:"/about-us",element:m.jsx(joe,{})}),m.jsx(Vi,{path:"/products",element:m.jsx(Hoe,{})}),m.jsx(Vi,{path:"/investor-relations",element:m.jsx(RL,{})}),m.jsx(Vi,{path:"/digital-lending-application",element:m.jsx(Hfe,{})}),m.jsx(Vi,{path:"/career",element:m.jsx(gme,{})}),m.jsx(Vi,{path:"/contact-us",element:m.jsx(Sme,{})}),m.jsx(Vi,{path:"/sentinel",element:m.jsx(Dme,{})}),m.jsx(Vi,{path:"/terms",element:m.jsx(Rme,{})}),m.jsx(Vi,{path:"/grievence",element:m.jsx(kme,{})}),m.jsx(Vi,{path:"/readfile",element:m.jsx(Nme,{})}),m.jsx(Vi,{path:"/:slug",element:m.jsx(RL,{})}),m.jsx(Vi,{path:"*",element:m.jsx(ZV,{})})]})]})}),m.jsx(Eme,{})]})]})});Z$.createRoot(document.getElementById("root")).render(m.jsx(Ome,{}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.