vendor: 6,378 bytes, lines 1-9
1var no=Object.defineProperty;var qs=_=>{throw TypeError(_)};var io=(_,j,et)=>j in _?no(_,j,{enumerable:!0,configurable:!0,writable:!0,value:et}):_[j]=et;var vr=(_,j,et)=>io(_,typeof j!="symbol"?j+"":j,et),$s=(_,j,et)=>j.has(_)||qs("Cannot "+et);var zt=(_,j,et)=>($s(_,j,"read from private field"),et?et.call(_):j.get(_)),_r=(_,j,et)=>j.has(_)?qs("Cannot add the same private member more than once"):j instanceof WeakSet?j.add(_):j.set(_,et),mr=(_,j,et,tt)=>($s(_,j,"write to private field"),tt?tt.call(_,et):j.set(_,et),et),Nr=(_,j,et)=>($s(_,j,"access private method"),et);var Ts=(_,j,et,tt)=>({set _(rt){mr(_,j,rt,et)},get _(){return zt(_,j,tt)}});function _mergeNamespaces(_,j){for(var et=0;et<j.length;et++){const tt=j[et];if(typeof tt!="string"&&!Array.isArray(tt)){for(const rt in tt)if(rt!=="default"&&!(rt in _)){const nt=Object.getOwnPropertyDescriptor(tt,rt);nt&&Object.defineProperty(_,rt,nt.get?nt:{enumerable:!0,get:()=>tt[rt]})}}}return Object.freeze(Object.defineProperty(_,Symbol.toStringTag,{value:"Module"}))}(function(){const j=document.createElement("link").relList;if(j&&j.supports&&j.supports("modulepreload"))return;for(const rt of document.querySelectorAll('link[rel="modulepreload"]'))tt(rt);new MutationObserver(rt=>{for(const nt of rt)if(nt.type==="childList")for(const it of nt.addedNodes)it.tagName==="LINK"&&it.rel==="modulepreload"&&tt(it)}).observe(document,{childList:!0,subtree:!0});function et(rt){const nt={};return rt.integrity&&(nt.integrity=rt.integrity),rt.referrerPolicy&&(nt.referrerPolicy=rt.referrerPolicy),rt.crossOrigin==="use-credentials"?nt.credentials="include":rt.crossOrigin==="anonymous"?nt.credentials="omit":nt.credentials="same-origin",nt}function tt(rt){if(rt.ep)return;rt.ep=!0;const nt=et(rt);fetch(rt.href,nt)}})();var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(_){return _&&_.__esModule&&Object.prototype.hasOwnProperty.call(_,"default")?_.default:_}var jsxRuntime={exports:{}},reactJsxRuntime_production_min={},react={exports:{}},react_production_min={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its 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 l$2=Symbol.for("react.element"),n$3=Symbol.for("react.portal"),p$4=Symbol.for("react.fragment"),q$2=Symbol.for("react.strict_mode"),r$2=Symbol.for("react.profiler"),t$2=Symbol.for("react.provider"),u$2=Symbol.for("react.context"),v$3=Symbol.for("react.forward_ref"),w$1=Symbol.for("react.suspense"),x$1=Symbol.for("react.memo"),y$1=Symbol.for("react.lazy"),z$1=Symbol.iterator;function A$1(_){return _===null||typeof _!="object"?null:(_=z$1&&_[z$1]||_["@@iterator"],typeof _=="function"?_:null)}var B$3={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C$1=Object.assign,D$2={};function E$1(_,j,et){this.props=_,this.context=j,this.refs=D$2,this.updater=et||B$3}E$1.prototype.isReactComponent={};E$1.prototype.setState=function(_,j){if(typeof _!="object"&&typeof _!="function"&&_!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,_,j,"setState")};E$1.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};function F(){}F.prototype=E$1.prototype;function G$2(_,j,et){this.props=_,this.context=j,this.refs=D$2,this.updater=et||B$3}var H$2=G$2.prototype=new F;H$2.constructor=G$2;C$1(H$2,E$1.prototype);H$2.isPureReactComponent=!0;var I$1=Array.isArray,J$1=Object.prototype.hasOwnProperty,K$3={current:null},L$2={key:!0,ref:!0,__self:!0,__source:!0};function M$1(_,j,et){var tt,rt={},nt=null,it=null;if(j!=null)for(tt in j.ref!==void 0&&(it=j.ref),j.key!==void 0&&(nt=""+j.key),j)J$1.call(j,tt)&&!L$2.hasOwnProperty(tt)&&(rt[tt]=j[tt]);var st=arguments.length-2;if(st===1)rt.children=et;else if(1<st){for(var at=Array(st),ot=0;ot<st;ot++)at[ot]=arguments[ot+2];rt.children=at}if(_&&_.defaultProps)for(tt in st=_.defaultProps,st)rt[tt]===void 0&&(rt[tt]=st[tt]);return{$$typeof:l$2,type:_,key:nt,ref:it,props:rt,_owner:K$3.current}}function N$2(_,j){return{$$typeof:l$2,type:_.type,key:j,ref:_.ref,props:_.props,_owner:_._owner}}function O$1(_){return typeof _=="object"&&_!==null&&_.$$typeof===l$2}function escape(_){var j={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(et){return j[et]})}var P$3=/\/+/g;function Q$1(_,j){return typeof _=="object"&&_!==null&&_.key!=null?escape(""+_.key):j.toString(36)}function R$1(_,j,et,tt,rt){var nt=typeof _;(nt==="undefined"||nt==="boolean")&&(_=null);var it=!1;if(_===null)it=!0;else switch(nt){case"string":case"number":it=!0;break;case"object":switch(_.$$typeof){case l$2:case n$3:it=!0}}if(it)return it=_,rt=rt(it),_=tt===""?"."+Q$1(it,0):tt,I$1(rt)?(et="",_!=null&&(et=_.replace(P$3,"$&/")+"/"),R$1(rt,j,et,"",function(ot){return ot})):rt!=null&&(O$1(rt)&&(rt=N$2(rt,et+(!rt.key||it&&it.key===rt.key?"":(""+rt.key).replace(P$3,"$&/")+"/")+_)),j.push(rt)),1;if(it=0,tt=tt===""?".":tt+":",I$1(_))for(var st=0;st<_.length;st++){nt=_[st];var at=tt+Q$1(nt,st);it+=R$1(nt,j,et,at,rt)}else if(at=A$1(_),typeof at=="function")for(_=at.call(_),st=0;!(nt=_.next()).done;)nt=nt.value,at=tt+Q$1(nt,st++),it+=R$1(nt,j,et,at,rt);else if(nt==="object")throw j=String(_),Error("Objects are not valid as a React child (found: "+(j==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":j)+"). If you meant to render a collection of children, use an array instead.");return it}function S$1(_,j,et){if(_==null)return _;var tt=[],rt=0;return R$1(_,tt,"","",function(nt){return j.call(et,nt,rt++)}),tt}function T$2(_){if(_._status===-1){var j=_._result;j=j(),j.then(function(et){(_._status===0||_._status===-1)&&(_._status=1,_._result=et)},function(et){(_._status===0||_._status===-1)&&(_._status=2,_._result=et)}),_._status===-1&&(_._status=0,_._result=j)}if(_._status===1)return _._result.default;throw _._result}var U$2={current:null},V$1={transition:null},W$2={ReactCurrentDispatcher:U$2,ReactCurrentBatchConfig:V$1,ReactCurrentOwner:K$3};function X$3(){throw Error("act(...) is not supported in production builds of React.")}
vendor: 4,098 bytes, lines 9-17
9react_production_min.Children={map:S$1,forEach:function(_,j,et){S$1(_,function(){j.apply(this,arguments)},et)},count:function(_){var j=0;return S$1(_,function(){j++}),j},toArray:function(_){return S$1(_,function(j){return j})||[]},only:function(_){if(!O$1(_))throw Error("React.Children.only expected to receive a single React element child.");return _}};react_production_min.Component=E$1;react_production_min.Fragment=p$4;react_production_min.Profiler=r$2;react_production_min.PureComponent=G$2;react_production_min.StrictMode=q$2;react_production_min.Suspense=w$1;react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=W$2;react_production_min.act=X$3;react_production_min.cloneElement=function(_,j,et){if(_==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+_+".");var tt=C$1({},_.props),rt=_.key,nt=_.ref,it=_._owner;if(j!=null){if(j.ref!==void 0&&(nt=j.ref,it=K$3.current),j.key!==void 0&&(rt=""+j.key),_.type&&_.type.defaultProps)var st=_.type.defaultProps;for(at in j)J$1.call(j,at)&&!L$2.hasOwnProperty(at)&&(tt[at]=j[at]===void 0&&st!==void 0?st[at]:j[at])}var at=arguments.length-2;if(at===1)tt.children=et;else if(1<at){st=Array(at);for(var ot=0;ot<at;ot++)st[ot]=arguments[ot+2];tt.children=st}return{$$typeof:l$2,type:_.type,key:rt,ref:nt,props:tt,_owner:it}};react_production_min.createContext=function(_){return _={$$typeof:u$2,_currentValue:_,_currentValue2:_,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},_.Provider={$$typeof:t$2,_context:_},_.Consumer=_};react_production_min.createElement=M$1;react_production_min.createFactory=function(_){var j=M$1.bind(null,_);return j.type=_,j};react_production_min.createRef=function(){return{current:null}};react_production_min.forwardRef=function(_){return{$$typeof:v$3,render:_}};react_production_min.isValidElement=O$1;react_production_min.lazy=function(_){return{$$typeof:y$1,_payload:{_status:-1,_result:_},_init:T$2}};react_production_min.memo=function(_,j){return{$$typeof:x$1,type:_,compare:j===void 0?null:j}};react_production_min.startTransition=function(_){var j=V$1.transition;V$1.transition={};try{_()}finally{V$1.transition=j}};react_production_min.unstable_act=X$3;react_production_min.useCallback=function(_,j){return U$2.current.useCallback(_,j)};react_production_min.useContext=function(_){return U$2.current.useContext(_)};react_production_min.useDebugValue=function(){};react_production_min.useDeferredValue=function(_){return U$2.current.useDeferredValue(_)};react_production_min.useEffect=function(_,j){return U$2.current.useEffect(_,j)};react_production_min.useId=function(){return U$2.current.useId()};react_production_min.useImperativeHandle=function(_,j,et){return U$2.current.useImperativeHandle(_,j,et)};react_production_min.useInsertionEffect=function(_,j){return U$2.current.useInsertionEffect(_,j)};react_production_min.useLayoutEffect=function(_,j){return U$2.current.useLayoutEffect(_,j)};react_production_min.useMemo=function(_,j){return U$2.current.useMemo(_,j)};react_production_min.useReducer=function(_,j,et){return U$2.current.useReducer(_,j,et)};react_production_min.useRef=function(_){return U$2.current.useRef(_)};react_production_min.useState=function(_){return U$2.current.useState(_)};react_production_min.useSyncExternalStore=function(_,j,et){return U$2.current.useSyncExternalStore(_,j,et)};react_production_min.useTransition=function(){return U$2.current.useTransition()};react_production_min.version="18.3.1";react.exports=react_production_min;var reactExports=react.exports;const React$1=getDefaultExportFromCjs(reactExports),React$2=_mergeNamespaces({__proto__:null,default:React$1},[reactExports]);/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var f$1=reactExports,k$4=Symbol.for("react.element"),l$1=Symbol.for("react.fragment"),m$3=Object.prototype.hasOwnProperty,n$2=f$1.__SECRET_INT
vendor: 19,311 bytes, lines 17-37
17ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p$3={key:!0,ref:!0,__self:!0,__source:!0};function q$1(_,j,et){var tt,rt={},nt=null,it=null;et!==void 0&&(nt=""+et),j.key!==void 0&&(nt=""+j.key),j.ref!==void 0&&(it=j.ref);for(tt in j)m$3.call(j,tt)&&!p$3.hasOwnProperty(tt)&&(rt[tt]=j[tt]);if(_&&_.defaultProps)for(tt in j=_.defaultProps,j)rt[tt]===void 0&&(rt[tt]=j[tt]);return{$$typeof:k$4,type:_,key:nt,ref:it,props:rt,_owner:n$2.current}}reactJsxRuntime_production_min.Fragment=l$1;reactJsxRuntime_production_min.jsx=q$1;reactJsxRuntime_production_min.jsxs=q$1;jsxRuntime.exports=reactJsxRuntime_production_min;var jsxRuntimeExports=jsxRuntime.exports;const LEGACY_STORAGE_PREFIX=atob("c2ItbXFndHZmaGRwb2t0Z3NlcG5meGk=");try{for(let _=localStorage.length-1;_>=0;_--){const j=localStorage.key(_);j!=null&&j.startsWith(LEGACY_STORAGE_PREFIX)&&localStorage.removeItem(j)}}catch{}var reactDom={exports:{}},reactDom_production_min={},scheduler={exports:{}},scheduler_production_min={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */(function(_){function j(kt,St){var Pt=kt.length;kt.push(St);e:for(;0<Pt;){var $t=Pt-1>>>1,Nt=kt[$t];if(0<rt(Nt,St))kt[$t]=St,kt[Pt]=Nt,Pt=$t;else break e}}function et(kt){return kt.length===0?null:kt[0]}function tt(kt){if(kt.length===0)return null;var St=kt[0],Pt=kt.pop();if(Pt!==St){kt[0]=Pt;e:for(var $t=0,Nt=kt.length,Mt=Nt>>>1;$t<Mt;){var Vt=2*($t+1)-1,Ht=kt[Vt],Qt=Vt+1,er=kt[Qt];if(0>rt(Ht,Pt))Qt<Nt&&0>rt(er,Ht)?(kt[$t]=er,kt[Qt]=Pt,$t=Qt):(kt[$t]=Ht,kt[Vt]=Pt,$t=Vt);else if(Qt<Nt&&0>rt(er,Pt))kt[$t]=er,kt[Qt]=Pt,$t=Qt;else break e}}return St}function rt(kt,St){var Pt=kt.sortIndex-St.sortIndex;return Pt!==0?Pt:kt.id-St.id}if(typeof performance=="object"&&typeof performance.now=="function"){var nt=performance;_.unstable_now=function(){return nt.now()}}else{var it=Date,st=it.now();_.unstable_now=function(){return it.now()-st}}var at=[],ot=[],lt=1,ct=null,ut=3,dt=!1,ht=!1,pt=!1,gt=typeof setTimeout=="function"?setTimeout:null,ft=typeof clearTimeout=="function"?clearTimeout:null,mt=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function xt(kt){for(var St=et(ot);St!==null;){if(St.callback===null)tt(ot);else if(St.startTime<=kt)tt(ot),St.sortIndex=St.expirationTime,j(at,St);else break;St=et(ot)}}function yt(kt){if(pt=!1,xt(kt),!ht)if(et(at)!==null)ht=!0,At(vt);else{var St=et(ot);St!==null&&Tt(yt,St.startTime-kt)}}function vt(kt,St){ht=!1,pt&&(pt=!1,ft(_t),_t=-1),dt=!0;var Pt=ut;try{for(xt(St),ct=et(at);ct!==null&&(!(ct.expirationTime>St)||kt&&!Ct());){var $t=ct.callback;if(typeof $t=="function"){ct.callback=null,ut=ct.priorityLevel;var Nt=$t(ct.expirationTime<=St);St=_.unstable_now(),typeof Nt=="function"?ct.callback=Nt:ct===et(at)&&tt(at),xt(St)}else tt(at);ct=et(at)}if(ct!==null)var Mt=!0;else{var Vt=et(ot);Vt!==null&&Tt(yt,Vt.startTime-St),Mt=!1}return Mt}finally{ct=null,ut=Pt,dt=!1}}var bt=!1,Et=null,_t=-1,wt=5,Rt=-1;function Ct(){return!(_.unstable_now()-Rt<wt)}function jt(){if(Et!==null){var kt=_.unstable_now();Rt=kt;var St=!0;try{St=Et(!0,kt)}finally{St?Dt():(bt=!1,Et=null)}}else bt=!1}var Dt;if(typeof mt=="function")Dt=function(){mt(jt)};else if(typeof MessageChannel<"u"){var It=new MessageChannel,Ot=It.port2;It.port1.onmessage=jt,Dt=function(){Ot.postMessage(null)}}else Dt=function(){gt(jt,0)};function At(kt){Et=kt,bt||(bt=!0,Dt())}function Tt(kt,St){_t=gt(function(){kt(_.unstable_now())},St)}_.unstable_IdlePriority=5,_.unstable_ImmediatePriority=1,_.unstable_LowPriority=4,_.unstable_NormalPriority=3,_.unstable_Profiling=null,_.unstable_UserBlockingPriority=2,_.unstable_cancelCallback=function(kt){kt.callback=null},_.unstable_continueExecution=function(){ht||dt||(ht=!0,At(vt))},_.unstable_forceFrameRate=function(kt){0>kt||125<kt?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):wt=0<kt?Math.floor(1e3/kt):5},_.unstable_getCurrentPriorityLevel=function(){return ut},_.unstable_getFirstCallbackNode=function(){return et(at)},_.unstable_next=function(kt){switch(ut){case 1:case 2:case 3:var St=3;break;default:St=ut}var Pt=ut;ut=St;try{return kt()}finally{ut=Pt}},_.unstable_pauseExecution=function(){},_.unstable_requestPaint=function(){},_.unstable_runWithPriority=function(kt,St){switch(kt){case 1:case 2:case 3:case 4:case 5:break;default:kt=3}var Pt=ut;ut=kt;try{return St()}finally{ut=Pt}},_.unstable_scheduleCallback=function(kt,St,Pt){var $t=_.unstable_now();switch(typeof Pt=="object"&&Pt!==null?(Pt=Pt.delay,Pt=typeof Pt=="number"&&0<Pt?$t+Pt:$t):Pt=$t,kt){case 1:var Nt=-1;break;case 2:Nt=250;break;case 5:Nt=1073741823;break;case 4:Nt=1e4;break;default:Nt=5e3}return Nt=Pt+Nt,kt={id:lt++,callback:St,priorityLevel:kt,startTime:Pt,expirationTime:Nt,sortIndex:-1},Pt>$t?(kt.sortIndex=Pt,j(ot,kt),et(at)===null&&kt===et(ot)&&(pt?(ft(_t),_t=-1):pt=!0,Tt(yt,Pt-$t))):(kt.sortIndex=Nt,j(at,kt),ht||dt||(ht=!0,At(vt))),kt},_.unstable_shouldYield=Ct,_.unstable_wrapCallback=function(kt){var St=ut;return function(){var Pt=ut;ut=St;try{return kt.apply(this,arguments)}finally{ut=Pt}}}})(scheduler_production_min);scheduler.exports=scheduler_production_min;var schedulerExports=scheduler.exports;/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var aa=reactExports,ca=schedulerExports;function p$2(_){for(var j="https://reactjs.org/docs/error-decoder.html?invariant="+_,et=1;et<arguments.length;et++)j+="&args[]="+encodeURIComponent(arguments[et]);return"Minified React error #"+_+"; visit "+j+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var da=new Set,ea={};function fa(_,j){ha(_,j),ha(_+"Capture",j)}function ha(_,j){for(ea[_]=j,_=0;_<j.length;_++)da.add(j[_])}var ia=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ja=Object.prototype.hasOwnProperty,ka$1=/^[: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]*$/,la={},ma={};function oa(_){return ja.call(ma,_)?!0:ja.call(la,_)?!1:ka$1.test(_)?ma[_]=!0:(la[_]=!0,!1)}function pa(_,j,et,tt){if(et!==null&&et.type===0)return!1;switch(typeof j){case"function":case"symbol":return!0;case"boolean":return tt?!1:et!==null?!et.acceptsBooleans:(_=_.toLowerCase().slice(0,5),_!=="data-"&&_!=="aria-");default:return!1}}function qa(_,j,et,tt){if(j===null||typeof j>"u"||pa(_,j,et,tt))return!0;if(tt)return!1;if(et!==null)switch(et.type){case 3:return!j;case 4:return j===!1;case 5:return isNaN(j);case 6:return isNaN(j)||1>j}return!1}function v$2(_,j,et,tt,rt,nt,it){this.acceptsBooleans=j===2||j===3||j===4,this.attributeName=tt,this.attributeNamespace=rt,this.mustUseProperty=et,this.propertyName=_,this.type=j,this.sanitizeURL=nt,this.removeEmptyString=it}var z={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(_){z[_]=new v$2(_,0,!1,_,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(_){var j=_[0];z[j]=new v$2(j,1,!1,_[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(_){z[_]=new v$2(_,2,!1,_.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(_){z[_]=new v$2(_,2,!1,_,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(_){z[_]=new v$2(_,3,!1,_.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(_){z[_]=new v$2(_,3,!0,_,null,!1,!1)});["capture","download"].forEach(function(_){z[_]=new v$2(_,4,!1,_,null,!1,!1)});["cols","rows","size","span"].forEach(function(_){z[_]=new v$2(_,6,!1,_,null,!1,!1)});["rowSpan","start"].forEach(function(_){z[_]=new v$2(_,5,!1,_.toLowerCase(),null,!1,!1)});var ra=/[\-:]([a-z])/g;function sa(_){return _[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(_){var j=_.replace(ra,sa);z[j]=new v$2(j,1,!1,_,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(_){var j=_.replace(ra,sa);z[j]=new v$2(j,1,!1,_,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(_){var j=_.replace(ra,sa);z[j]=new v$2(j,1,!1,_,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(_){z[_]=new v$2(_,1,!1,_.toLowerCase(),null,!1,!1)});z.xlinkHref=new v$2("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(_){z[_]=new v$2(_,1,!1,_.toLowerCase(),null,!0,!0)});function ta(_,j,et,tt){var rt=z.hasOwnProperty(j)?z[j]:null;(rt!==null?rt.type!==0:tt||!(2<j.length)||j[0]!=="o"&&j[0]!=="O"||j[1]!=="n"&&j[1]!=="N")&&(qa(j,et,rt,tt)&&(et=null),tt||rt===null?oa(j)&&(et===null?_.removeAttribute(j):_.setAttribute(j,""+et)):rt.mustUseProperty?_[rt.propertyName]=et===null?rt.type===3?!1:"":et:(j=rt.attributeName,tt=rt.attributeNamespace,et===null?_.removeAttribute(j):(rt=rt.type,et=rt===3||rt===4&&et===!0?"":""+et,tt?_.setAttributeNS(tt,j,et):_.setAttribute(j,et))))}var ua=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,va=Symbol.for("react.element"),wa=Symbol.for("react.portal"),ya=Symbol.for("react.fragment"),za=Symbol.for("react.strict_mode"),Aa=Symbol.for("react.profiler"),Ba=Symbol.for("react.provider"),Ca=Symbol.for("react.context"),Da=Symbol.for("react.forward_ref"),Ea=Symbol.for("react.suspense"),Fa=Symbol.for("react.suspense_list"),Ga=Symbol.for("react.memo"),Ha=Symbol.for("react.lazy"),Ia=Symbol.for("react.offscreen"),Ja=Symbol.iterator;function Ka(_){return _===null||typeof _!="object"?null:(_=Ja&&_[Ja]||_["@@iterator"],typeof _=="function"?_:null)}var A=Object.assign,La;function Ma(_){if(La===void 0)try{throw Error()}catch(et){var j=et.stack.trim().match(/\n( *(at )?)/);La=j&&j[1]||""}return` 34`+La+_}var Na=!1;function Oa(_,j){if(!_||Na)return"";Na=!0;var et=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(j)if(j=function(){throw Error()},Object.defineProperty(j.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(j,[])}catch(ot){var tt=ot}Reflect.construct(_,[],j)}else{try{j.call()}catch(ot){tt=ot}_.call(j.prototype)}else{try{throw Error()}catch(ot){tt=ot}_()}}catch(ot){if(ot&&tt&&typeof ot.stack=="string"){for(var rt=ot.stack.split(` 35`),nt=tt.stack.split(` 36`),it=rt.length-1,st=nt.length-1;1<=it&&0<=st&&rt[it]!==nt[st];)st--;for(;1<=it&&0<=st;it--,st--)if(rt[it]!==nt[st]){if(it!==1||st!==1)do if(it--,st--,0>st||rt[it]!==nt[st]){var at=` 37`+rt[it].replace(" at new "," at ");return _.displayName&&at.includes("<anonymous>")&&(at=at.replace("<anonymous>",_.displayName)),at}while(1<=it&&0<=st);break}}}finally{Na=!1,Error.prepareStackTrace=et}return(_=_?_.displayName||_.name:"")?Ma(_):""}function Pa(_){switch(_.tag){case 5:return Ma(_.type);case 16:return Ma("Lazy");case 13:return Ma("Suspense");case 19:return Ma("SuspenseList");case 0:case 2:case 15:return _=Oa(_.type,!1),_;case 11:return _=Oa(_.type.render,!1),_;case 1:return _=Oa(_.type,!0),_;default:return""}}function Qa(_){if(_==null)return null;if(typeof _=="function")return _.displayName||_.name||null;if(typeof _=="string")return _;switch(_){case ya:return"Fragment";case wa:return"Portal";case Aa:return"Profiler";case za:return"StrictMode";case Ea:return"Suspense";case Fa:return"SuspenseList"}if(typeof _=="object")switch(_.$$typeof){case Ca:return(_.displayName||"Context")+".Consumer";case Ba:return(_._context.displayName||"Context")+".Provider";case Da:var j=_.render;return _=_.displayName,_||(_=j.displayName||j.name||"",_=_!==""?"ForwardRef("+_+")":"ForwardRef"),_;case Ga:return j=_.displayName||null,j!==null?j:Qa(_.type)||"Memo";case Ha:j=_._payload,_=_._init;try{return Qa(_(j))}catch{}}return null}function Ra(_){var j=_.type;switch(_.tag){case 24:return"Cache";case 9:return(j.displayName||"Context")+".Consumer";case 10:return(j._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return _=j.render,_=_.displayName||_.name||"",j.displayName||(_!==""?"ForwardRef("+_+")":"ForwardRef");case 7:return"Fragment";case 5:return j;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Qa(j);case 8:return j===za?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof j=="function")return j.displayName||j.name||null;if(typeof j=="string")return j}return null}function Sa(_){switch(typeof _){case"boolean":case"number":case"string":case"undefined":return _;case"object":return _;default:return""}}function Ta(_){var j=_.type;return(_=_.nodeName)&&_.toLowerCase()==="input"&&(j==="checkbox"||j==="radio")}function Ua(_){var j=Ta(_)?"checked":"value",et=Object.getOwnPropertyDescriptor(_.constructor.prototype,j),tt=""+_[j];if(!_.hasOwnProperty(j)&&typeof et<"u"&&typeof et.get=="function"&&typeof et.set=="function"){var rt=et.get,nt=et.set;return Object.defineProperty(_,j,{configurable:!0,get:function(){return rt.call(this)},set:function(it){tt=""+it,nt.call(this,it)}}),Object.defineProperty(_,j,{enumerable:et.enumerable}),{getValue:function(){return tt},setValue:function(it){tt=""+it},stopTracking:function(){_._valueTracker=null,delete _[j]}}}}function Va(_){_._valueTracker||(_._valueTracker=Ua(_))}function Wa(_){if(!_)return!1;var j=_._valueTracker;if(!j)return!0;var et=j.getValue(),tt="";return _&&(tt=Ta(_)?_.checked?"true":"false":_.value),_=tt,_!==et?(j.setValue(_),!0):!1}function Xa(_){if(_=_||(typeof document<"u"?document:void 0),typeof _>"u")return null;try{return _.activeElement||_.body}catch{return _.body}}function Ya(_,j){var et=j.checked;return A({},j,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:et??_._wrapperState.initialChecked})}function Za(_,j){var et=j.defaultValue==null?"":j.defaultValue,tt=j.checked!=null?j.checked:j.defaultChecked;et=Sa(j.value!=null?j.value:et),_._wrapperState={initialChecked:tt,initialValue:et,controlled:j.type==="checkbox"||j.type==="radio"?j.checked!=null:j.value!=null}}function ab(_,j){j=j.checked,j!=null&&ta(_,"checked",j,!1)}function bb(_,j){ab(_,j);var et=Sa(j.value),tt=j.type;if(et!=null)tt==="number"?(et===0&&_.value===""||_.value!=et)&&(_.value=""+et):_.value!==""+et&&(_.value=""+et);else if(tt==="submit"||tt==="reset"){_.removeAttribute("value");return}j.hasOwnProperty("value")?cb(_,j.type,et):j.hasOwnProperty("defaultValue")&&cb(_,j.type,Sa(j.defaultValue)),j.checked==null&&j.defaultChecked!=null&&(_.defaultChecked=!!j.defaultChecked)}function db(_,j,et){if(j.hasOwnProperty("value")||j.hasOwnProperty("defaultValue")){var tt=j.type;if(!(tt!=="submit"&&tt!=="reset"||j.value!==void 0&&j.value!==null))return;j=""+_._wrapperState.initialValue,et||j===_.value||(_.value=j),_.defaultValue=j}et=_.name,et!==""&&(_.name=""),_.defaultChecked=!!_._wrapperState.initialChecked,et!==""&&(_.name=et)}function cb(_,j,et){(j!=="number"||Xa(_.ownerDocument)!==_)&&(et==null?_.defaultValue=""+_._wrapperState.initialValue:_.defaultValue!==""+et&&(_.defaultValue=""+et))}var eb=Array.isArray;function fb(_,j,et,tt){if(_=_.options,j){j={};for(var rt=0;rt<et.length;rt++)j["$"+et[rt]]=!0;for(et=0;et<_.length;et++)rt=j.hasOwnProperty("$"+_[et].value),_[et].selected!==rt&&(_[et].selected=rt),rt&&tt&&(_[et].defaultSelected=!0)}else{for(et=""+Sa(et),j=null,rt=0;rt<_.length;rt++){if(_[rt].value===et){_[rt].selected=!0,tt&&(_[rt].defaultSelected=!0);return}j!==null||_[rt].disabled||(j=_[rt])}j!==null&&(j.selected=!0)}}function gb(_,j){if(j.dangerouslySetInnerHTML!=null)throw Error(p$2(91));return A({},j,{value:void 0,defaultValue:void 0,children:""+_._wrapperState.initialValue})}function hb(_,j){var et=j.value;if(et==null){if(et=j.children,j=j.defaultValue,et!=null){if(j!=null)throw Error(p$2(92));if(eb(et)){if(1<et.length)throw Error(p$2(93));et=et[0]}j=et}j==null&&(j=""),et=j}_._wrapperState={initialValue:Sa(et)}}function ib(_,j){var et=Sa(j.value),tt=Sa(j.defaultValue);et!=null&&(et=""+et,et!==_.value&&(_.value=et),j.defaultValue==null&&_.defaultValue!==et&&(_.defaultValue=et)),tt!=null&&(_.defaultValue=""+tt)}function jb(_){var j=_.textContent;j===_._wrapperState.initialValue&&j!==""&&j!==null&&(_.value=j)}function kb(_){switch(_){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function lb(_,j){return _==null||_==="http://www.w3.org/1999/xhtml"?kb(j):_==="http://www.w3.org/2000/svg"&&j==="foreignObject"?"http://www.w3.org/1999/xhtml":_}var mb,nb=function(_){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(j,et,tt,rt){MSApp.execUnsafeLocalFunction(function(){return _(j,et,tt,rt)})}:_}(function(_,j){if(_.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in _)_.innerHTML=j;else{for(mb=mb||document.createElement("div"),mb.innerHTML="<svg>"+j.valueOf().toString()+"</svg>",j=mb.firstChild;_.firstChild;)_.removeChild(_.firstChild);for(;j.firstChild;)_.appendChild(j.firstChild)}});function ob(_,j){if(j){var et=_.firstChild;
vendor: 7,609 bytes, line 37
37if(et&&et===_.lastChild&&et.nodeType===3){et.nodeValue=j;return}}_.textContent=j}var pb={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qb=["Webkit","ms","Moz","O"];Object.keys(pb).forEach(function(_){qb.forEach(function(j){j=j+_.charAt(0).toUpperCase()+_.substring(1),pb[j]=pb[_]})});function rb(_,j,et){return j==null||typeof j=="boolean"||j===""?"":et||typeof j!="number"||j===0||pb.hasOwnProperty(_)&&pb[_]?(""+j).trim():j+"px"}function sb(_,j){_=_.style;for(var et in j)if(j.hasOwnProperty(et)){var tt=et.indexOf("--")===0,rt=rb(et,j[et],tt);et==="float"&&(et="cssFloat"),tt?_.setProperty(et,rt):_[et]=rt}}var tb=A({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ub(_,j){if(j){if(tb[_]&&(j.children!=null||j.dangerouslySetInnerHTML!=null))throw Error(p$2(137,_));if(j.dangerouslySetInnerHTML!=null){if(j.children!=null)throw Error(p$2(60));if(typeof j.dangerouslySetInnerHTML!="object"||!("__html"in j.dangerouslySetInnerHTML))throw Error(p$2(61))}if(j.style!=null&&typeof j.style!="object")throw Error(p$2(62))}}function vb(_,j){if(_.indexOf("-")===-1)return typeof j.is=="string";switch(_){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 wb=null;function xb(_){return _=_.target||_.srcElement||window,_.correspondingUseElement&&(_=_.correspondingUseElement),_.nodeType===3?_.parentNode:_}var yb=null,zb=null,Ab=null;function Bb(_){if(_=Cb(_)){if(typeof yb!="function")throw Error(p$2(280));var j=_.stateNode;j&&(j=Db(j),yb(_.stateNode,_.type,j))}}function Eb(_){zb?Ab?Ab.push(_):Ab=[_]:zb=_}function Fb(){if(zb){var _=zb,j=Ab;if(Ab=zb=null,Bb(_),j)for(_=0;_<j.length;_++)Bb(j[_])}}function Gb(_,j){return _(j)}function Hb(){}var Ib=!1;function Jb(_,j,et){if(Ib)return _(j,et);Ib=!0;try{return Gb(_,j,et)}finally{Ib=!1,(zb!==null||Ab!==null)&&(Hb(),Fb())}}function Kb(_,j){var et=_.stateNode;if(et===null)return null;var tt=Db(et);if(tt===null)return null;et=tt[j];e:switch(j){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(tt=!tt.disabled)||(_=_.type,tt=!(_==="button"||_==="input"||_==="select"||_==="textarea")),_=!tt;break e;default:_=!1}if(_)return null;if(et&&typeof et!="function")throw Error(p$2(231,j,typeof et));return et}var Lb=!1;if(ia)try{var Mb={};Object.defineProperty(Mb,"passive",{get:function(){Lb=!0}}),window.addEventListener("test",Mb,Mb),window.removeEventListener("test",Mb,Mb)}catch{Lb=!1}function Nb(_,j,et,tt,rt,nt,it,st,at){var ot=Array.prototype.slice.call(arguments,3);try{j.apply(et,ot)}catch(lt){this.onError(lt)}}var Ob=!1,Pb=null,Qb=!1,Rb=null,Sb={onError:function(_){Ob=!0,Pb=_}};function Tb(_,j,et,tt,rt,nt,it,st,at){Ob=!1,Pb=null,Nb.apply(Sb,arguments)}function Ub(_,j,et,tt,rt,nt,it,st,at){if(Tb.apply(this,arguments),Ob){if(Ob){var ot=Pb;Ob=!1,Pb=null}else throw Error(p$2(198));Qb||(Qb=!0,Rb=ot)}}function Vb(_){var j=_,et=_;if(_.alternate)for(;j.return;)j=j.return;else{_=j;do j=_,j.flags&4098&&(et=j.return),_=j.return;while(_)}return j.tag===3?et:null}function Wb(_){if(_.tag===13){var j=_.memoizedState;if(j===null&&(_=_.alternate,_!==null&&(j=_.memoizedState)),j!==null)return j.dehydrated}return null}function Xb(_){if(Vb(_)!==_)throw Error(p$2(188))}function Yb(_){var j=_.alternate;if(!j){if(j=Vb(_),j===null)throw Error(p$2(188));return j!==_?null:_}for(var et=_,tt=j;;){var rt=et.return;if(rt===null)break;var nt=rt.alternate;if(nt===null){if(tt=rt.return,tt!==null){et=tt;continue}break}if(rt.child===nt.child){for(nt=rt.child;nt;){if(nt===et)return Xb(rt),_;if(nt===tt)return Xb(rt),j;nt=nt.sibling}throw Error(p$2(188))}if(et.return!==tt.return)et=rt,tt=nt;else{for(var it=!1,st=rt.child;st;){if(st===et){it=!0,et=rt,tt=nt;break}if(st===tt){it=!0,tt=rt,et=nt;break}st=st.sibling}if(!it){for(st=nt.child;st;){if(st===et){it=!0,et=nt,tt=rt;break}if(st===tt){it=!0,tt=nt,et=rt;break}st=st.sibling}if(!it)throw Error(p$2(189))}}if(et.alternate!==tt)throw Error(p$2(190))}if(et.tag!==3)throw Error(p$2(188));return et.stateNode.current===et?_:j}function Zb(_){return _=Yb(_),_!==null?$b(_):null}function $b(_){if(_.tag===5||_.tag===6)return _;for(_=_.child;_!==null;){var j=$b(_);if(j!==null)return j;_=_.sibling}return null}var ac=ca.unstable_scheduleCallback,bc=ca.unstable_cancelCallback,cc=ca.unstable_shouldYield,dc=ca.unstable_requestPaint,B$2=ca.unstable_now,ec=ca.unstable_getCurrentPriorityLevel,fc=ca.unstable_ImmediatePriority,gc=ca.unstable_UserBlockingPriority,hc=ca.unstable_NormalPriority,ic=ca.unstable_LowPriority,jc=ca.unstable_IdlePriority,kc=null,lc=null;function mc(_){if(lc&&typeof lc.onCommitFiberRoot=="function")try{lc.onCommitFiberRoot(kc,_,void 0,(_.current.flags&128)===128)}catch{}}var oc=Math.clz32?Math.clz32:nc,pc=Math.log,qc=Math.LN2;function nc(_){return _>>>=0,_===0?32:31-(pc(_)/qc|0)|0}var rc=64,sc=4194304;function tc(_){switch(_&-_){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return _&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return _&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return _}}function uc(_,j){var et=_.pendingLanes;if(et===0)return 0;var tt=0,rt=_.suspendedLanes,nt=_.pingedLanes,it=et&268435455;if(it!==0){var st=it&~rt;st!==0?tt=tc(st):(nt&=it,nt!==0&&(tt=tc(nt)))}else it=et&~rt,it!==0?tt=tc(it):nt!==0&&(tt=tc(nt));if(tt===0)return 0;if(j!==0&&j!==tt&&!(j&rt)&&(rt=tt&-tt,nt=j&-j,rt>=nt||rt===16&&(nt&4194240)!==0))return j;if(tt&4&&(tt|=et&16),j=_.entangledLanes,j!==0)for(_=_.entanglements,j&=tt;0<j;)et=31-oc(j),rt=1<<et,tt|=_[et],j&=~rt;return tt}function vc(_,j){switch(_){case 1:case 2:case 4:return j+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return j+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function wc(_,j){for(var et=_.suspendedLanes,tt=_.pingedLanes,rt=_.expirationTimes,nt=_.pendingLanes;0<nt;){var it=31-oc(nt),st=1<<it,at=rt[it];at===-1?(!(st&et)||st&tt)&&(rt[it]=vc(st,j)):at<=j&&(_.expiredLanes|=st),nt&=~st}}function xc(_){return _=_.pendingLanes&-1073741825,_!==0?_:_&1073741824?1073741824:0}function yc(){var _=rc;return rc<<=1,!(rc&4194240)&&(rc=64),_}function zc(_){for(var j=[],et=0;31>et;et++)j.push(_);return j}
vendor: 5,549 bytes, line 37
37function Ac(_,j,et){_.pendingLanes|=j,j!==536870912&&(_.suspendedLanes=0,_.pingedLanes=0),_=_.eventTimes,j=31-oc(j),_[j]=et}function Bc(_,j){var et=_.pendingLanes&~j;_.pendingLanes=j,_.suspendedLanes=0,_.pingedLanes=0,_.expiredLanes&=j,_.mutableReadLanes&=j,_.entangledLanes&=j,j=_.entanglements;var tt=_.eventTimes;for(_=_.expirationTimes;0<et;){var rt=31-oc(et),nt=1<<rt;j[rt]=0,tt[rt]=-1,_[rt]=-1,et&=~nt}}function Cc(_,j){var et=_.entangledLanes|=j;for(_=_.entanglements;et;){var tt=31-oc(et),rt=1<<tt;rt&j|_[tt]&j&&(_[tt]|=j),et&=~rt}}var C=0;function Dc(_){return _&=-_,1<_?4<_?_&268435455?16:536870912:4:1}var Ec,Fc,Gc,Hc,Ic,Jc=!1,Kc=[],Lc=null,Mc=null,Nc=null,Oc=new Map,Pc=new Map,Qc=[],Rc="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Sc(_,j){switch(_){case"focusin":case"focusout":Lc=null;break;case"dragenter":case"dragleave":Mc=null;break;case"mouseover":case"mouseout":Nc=null;break;case"pointerover":case"pointerout":Oc.delete(j.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pc.delete(j.pointerId)}}function Tc(_,j,et,tt,rt,nt){return _===null||_.nativeEvent!==nt?(_={blockedOn:j,domEventName:et,eventSystemFlags:tt,nativeEvent:nt,targetContainers:[rt]},j!==null&&(j=Cb(j),j!==null&&Fc(j)),_):(_.eventSystemFlags|=tt,j=_.targetContainers,rt!==null&&j.indexOf(rt)===-1&&j.push(rt),_)}function Uc(_,j,et,tt,rt){switch(j){case"focusin":return Lc=Tc(Lc,_,j,et,tt,rt),!0;case"dragenter":return Mc=Tc(Mc,_,j,et,tt,rt),!0;case"mouseover":return Nc=Tc(Nc,_,j,et,tt,rt),!0;case"pointerover":var nt=rt.pointerId;return Oc.set(nt,Tc(Oc.get(nt)||null,_,j,et,tt,rt)),!0;case"gotpointercapture":return nt=rt.pointerId,Pc.set(nt,Tc(Pc.get(nt)||null,_,j,et,tt,rt)),!0}return!1}function Vc(_){var j=Wc(_.target);if(j!==null){var et=Vb(j);if(et!==null){if(j=et.tag,j===13){if(j=Wb(et),j!==null){_.blockedOn=j,Ic(_.priority,function(){Gc(et)});return}}else if(j===3&&et.stateNode.current.memoizedState.isDehydrated){_.blockedOn=et.tag===3?et.stateNode.containerInfo:null;return}}}_.blockedOn=null}function Xc(_){if(_.blockedOn!==null)return!1;for(var j=_.targetContainers;0<j.length;){var et=Yc(_.domEventName,_.eventSystemFlags,j[0],_.nativeEvent);if(et===null){et=_.nativeEvent;var tt=new et.constructor(et.type,et);wb=tt,et.target.dispatchEvent(tt),wb=null}else return j=Cb(et),j!==null&&Fc(j),_.blockedOn=et,!1;j.shift()}return!0}function Zc(_,j,et){Xc(_)&&et.delete(j)}function $c(){Jc=!1,Lc!==null&&Xc(Lc)&&(Lc=null),Mc!==null&&Xc(Mc)&&(Mc=null),Nc!==null&&Xc(Nc)&&(Nc=null),Oc.forEach(Zc),Pc.forEach(Zc)}function ad(_,j){_.blockedOn===j&&(_.blockedOn=null,Jc||(Jc=!0,ca.unstable_scheduleCallback(ca.unstable_NormalPriority,$c)))}function bd(_){function j(rt){return ad(rt,_)}if(0<Kc.length){ad(Kc[0],_);for(var et=1;et<Kc.length;et++){var tt=Kc[et];tt.blockedOn===_&&(tt.blockedOn=null)}}for(Lc!==null&&ad(Lc,_),Mc!==null&&ad(Mc,_),Nc!==null&&ad(Nc,_),Oc.forEach(j),Pc.forEach(j),et=0;et<Qc.length;et++)tt=Qc[et],tt.blockedOn===_&&(tt.blockedOn=null);for(;0<Qc.length&&(et=Qc[0],et.blockedOn===null);)Vc(et),et.blockedOn===null&&Qc.shift()}var cd=ua.ReactCurrentBatchConfig,dd=!0;function ed(_,j,et,tt){var rt=C,nt=cd.transition;cd.transition=null;try{C=1,fd(_,j,et,tt)}finally{C=rt,cd.transition=nt}}function gd(_,j,et,tt){var rt=C,nt=cd.transition;cd.transition=null;try{C=4,fd(_,j,et,tt)}finally{C=rt,cd.transition=nt}}function fd(_,j,et,tt){if(dd){var rt=Yc(_,j,et,tt);if(rt===null)hd(_,j,tt,id$2,et),Sc(_,tt);else if(Uc(rt,_,j,et,tt))tt.stopPropagation();else if(Sc(_,tt),j&4&&-1<Rc.indexOf(_)){for(;rt!==null;){var nt=Cb(rt);if(nt!==null&&Ec(nt),nt=Yc(_,j,et,tt),nt===null&&hd(_,j,tt,id$2,et),nt===rt)break;rt=nt}rt!==null&&tt.stopPropagation()}else hd(_,j,tt,null,et)}}var id$2=null;function Yc(_,j,et,tt){if(id$2=null,_=xb(tt),_=Wc(_),_!==null)if(j=Vb(_),j===null)_=null;else if(et=j.tag,et===13){if(_=Wb(j),_!==null)return _;_=null}else if(et===3){if(j.stateNode.current.memoizedState.isDehydrated)return j.tag===3?j.stateNode.containerInfo:null;_=null}else j!==_&&(_=null);return id$2=_,null}function jd(_){switch(_){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(ec()){case fc:return 1;case gc:return 4;case hc:case ic:return 16;case jc:return 536870912;default:return 16}default:return 16}}var kd=null,ld=null,md=null;
vendor: 6,657 bytes, line 37
37function nd(){if(md)return md;var _,j=ld,et=j.length,tt,rt="value"in kd?kd.value:kd.textContent,nt=rt.length;for(_=0;_<et&&j[_]===rt[_];_++);var it=et-_;for(tt=1;tt<=it&&j[et-tt]===rt[nt-tt];tt++);return md=rt.slice(_,1<tt?1-tt:void 0)}function od(_){var j=_.keyCode;return"charCode"in _?(_=_.charCode,_===0&&j===13&&(_=13)):_=j,_===10&&(_=13),32<=_||_===13?_:0}function pd(){return!0}function qd(){return!1}function rd(_){function j(et,tt,rt,nt,it){this._reactName=et,this._targetInst=rt,this.type=tt,this.nativeEvent=nt,this.target=it,this.currentTarget=null;for(var st in _)_.hasOwnProperty(st)&&(et=_[st],this[st]=et?et(nt):nt[st]);return this.isDefaultPrevented=(nt.defaultPrevented!=null?nt.defaultPrevented:nt.returnValue===!1)?pd:qd,this.isPropagationStopped=qd,this}return A(j.prototype,{preventDefault:function(){this.defaultPrevented=!0;var et=this.nativeEvent;et&&(et.preventDefault?et.preventDefault():typeof et.returnValue!="unknown"&&(et.returnValue=!1),this.isDefaultPrevented=pd)},stopPropagation:function(){var et=this.nativeEvent;et&&(et.stopPropagation?et.stopPropagation():typeof et.cancelBubble!="unknown"&&(et.cancelBubble=!0),this.isPropagationStopped=pd)},persist:function(){},isPersistent:pd}),j}var sd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(_){return _.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},td=rd(sd),ud=A({},sd,{view:0,detail:0}),vd=rd(ud),wd,xd,yd,Ad=A({},ud,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zd,button:0,buttons:0,relatedTarget:function(_){return _.relatedTarget===void 0?_.fromElement===_.srcElement?_.toElement:_.fromElement:_.relatedTarget},movementX:function(_){return"movementX"in _?_.movementX:(_!==yd&&(yd&&_.type==="mousemove"?(wd=_.screenX-yd.screenX,xd=_.screenY-yd.screenY):xd=wd=0,yd=_),wd)},movementY:function(_){return"movementY"in _?_.movementY:xd}}),Bd=rd(Ad),Cd=A({},Ad,{dataTransfer:0}),Dd=rd(Cd),Ed=A({},ud,{relatedTarget:0}),Fd=rd(Ed),Gd=A({},sd,{animationName:0,elapsedTime:0,pseudoElement:0}),Hd=rd(Gd),Id=A({},sd,{clipboardData:function(_){return"clipboardData"in _?_.clipboardData:window.clipboardData}}),Jd=rd(Id),Kd=A({},sd,{data:0}),Ld=rd(Kd),Md={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Nd={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"},Od={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pd(_){var j=this.nativeEvent;return j.getModifierState?j.getModifierState(_):(_=Od[_])?!!j[_]:!1}function zd(){return Pd}var Qd=A({},ud,{key:function(_){if(_.key){var j=Md[_.key]||_.key;if(j!=="Unidentified")return j}return _.type==="keypress"?(_=od(_),_===13?"Enter":String.fromCharCode(_)):_.type==="keydown"||_.type==="keyup"?Nd[_.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zd,charCode:function(_){return _.type==="keypress"?od(_):0},keyCode:function(_){return _.type==="keydown"||_.type==="keyup"?_.keyCode:0},which:function(_){return _.type==="keypress"?od(_):_.type==="keydown"||_.type==="keyup"?_.keyCode:0}}),Rd=rd(Qd),Sd=A({},Ad,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Td=rd(Sd),Ud=A({},ud,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zd}),Vd=rd(Ud),Wd=A({},sd,{propertyName:0,elapsedTime:0,pseudoElement:0}),Xd=rd(Wd),Yd=A({},Ad,{deltaX:function(_){return"deltaX"in _?_.deltaX:"wheelDeltaX"in _?-_.wheelDeltaX:0},deltaY:function(_){return"deltaY"in _?_.deltaY:"wheelDeltaY"in _?-_.wheelDeltaY:"wheelDelta"in _?-_.wheelDelta:0},deltaZ:0,deltaMode:0}),Zd=rd(Yd),$d=[9,13,27,32],ae=ia&&"CompositionEvent"in window,be$1=null;ia&&"documentMode"in document&&(be$1=document.documentMode);var ce$1=ia&&"TextEvent"in window&&!be$1,de$1=ia&&(!ae||be$1&&8<be$1&&11>=be$1),ee$1=" ",fe$1=!1;function ge(_,j){switch(_){case"keyup":return $d.indexOf(j.keyCode)!==-1;case"keydown":return j.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function he$1(_){return _=_.detail,typeof _=="object"&&"data"in _?_.data:null}var ie=!1;function je(_,j){switch(_){case"compositionend":return he$1(j);case"keypress":return j.which!==32?null:(fe$1=!0,ee$1);case"textInput":return _=j.data,_===ee$1&&fe$1?null:_;default:return null}}function ke$1(_,j){if(ie)return _==="compositionend"||!ae&&ge(_,j)?(_=nd(),md=ld=kd=null,ie=!1,_):null;switch(_){case"paste":return null;case"keypress":if(!(j.ctrlKey||j.altKey||j.metaKey)||j.ctrlKey&&j.altKey){if(j.char&&1<j.char.length)return j.char;if(j.which)return String.fromCharCode(j.which)}return null;case"compositionend":return de$1&&j.locale!=="ko"?null:j.data;default:return null}}var le$1={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 me$1(_){var j=_&&_.nodeName&&_.nodeName.toLowerCase();return j==="input"?!!le$1[_.type]:j==="textarea"}function ne(_,j,et,tt){Eb(tt),j=oe(j,"onChange"),0<j.length&&(et=new td("onChange","change",null,et,tt),_.push({event:et,listeners:j}))}var pe$1=null,qe=null;function re$1(_){se(_,0)}function te(_){var j=ue$1(_);if(Wa(j))return _}function ve$1(_,j){if(_==="change")return j}var we$1=!1;if(ia){var xe$1;if(ia){var ye$1="oninput"in document;if(!ye$1){var ze=document.createElement("div");ze.setAttribute("oninput","return;"),ye$1=typeof ze.oninput=="function"}xe$1=ye$1}else xe$1=!1;we$1=xe$1&&(!document.documentMode||9<document.documentMode)}function Ae(){pe$1&&(pe$1.detachEvent("onpropertychange",Be),qe=pe$1=null)}function Be(_){if(_.propertyName==="value"&&te(qe)){var j=[];ne(j,qe,_,xb(_)),Jb(re$1,j)}}function Ce$1(_,j,et){_==="focusin"?(Ae(),pe$1=j,qe=et,pe$1.attachEvent("onpropertychange",Be)):_==="focusout"&&Ae()}function De$1(_){if(_==="selectionchange"||_==="keyup"||_==="keydown")return te(qe)}function Ee$1(_,j){if(_==="click")return te(j)}function Fe(_,j){if(_==="input"||_==="change")return te(j)}function Ge(_,j){return _===j&&(_!==0||1/_===1/j)||_!==_&&j!==j}var He=typeof Object.is=="function"?Object.is:Ge;
vendor: 14,534 bytes, lines 37-38
37function Ie$1(_,j){if(He(_,j))return!0;if(typeof _!="object"||_===null||typeof j!="object"||j===null)return!1;var et=Object.keys(_),tt=Object.keys(j);if(et.length!==tt.length)return!1;for(tt=0;tt<et.length;tt++){var rt=et[tt];if(!ja.call(j,rt)||!He(_[rt],j[rt]))return!1}return!0}function Je(_){for(;_&&_.firstChild;)_=_.firstChild;return _}function Ke(_,j){var et=Je(_);_=0;for(var tt;et;){if(et.nodeType===3){if(tt=_+et.textContent.length,_<=j&&tt>=j)return{node:et,offset:j-_};_=tt}e:{for(;et;){if(et.nextSibling){et=et.nextSibling;break e}et=et.parentNode}et=void 0}et=Je(et)}}function Le(_,j){return _&&j?_===j?!0:_&&_.nodeType===3?!1:j&&j.nodeType===3?Le(_,j.parentNode):"contains"in _?_.contains(j):_.compareDocumentPosition?!!(_.compareDocumentPosition(j)&16):!1:!1}function Me$1(){for(var _=window,j=Xa();j instanceof _.HTMLIFrameElement;){try{var et=typeof j.contentWindow.location.href=="string"}catch{et=!1}if(et)_=j.contentWindow;else break;j=Xa(_.document)}return j}function Ne(_){var j=_&&_.nodeName&&_.nodeName.toLowerCase();return j&&(j==="input"&&(_.type==="text"||_.type==="search"||_.type==="tel"||_.type==="url"||_.type==="password")||j==="textarea"||_.contentEditable==="true")}function Oe(_){var j=Me$1(),et=_.focusedElem,tt=_.selectionRange;if(j!==et&&et&&et.ownerDocument&&Le(et.ownerDocument.documentElement,et)){if(tt!==null&&Ne(et)){if(j=tt.start,_=tt.end,_===void 0&&(_=j),"selectionStart"in et)et.selectionStart=j,et.selectionEnd=Math.min(_,et.value.length);else if(_=(j=et.ownerDocument||document)&&j.defaultView||window,_.getSelection){_=_.getSelection();var rt=et.textContent.length,nt=Math.min(tt.start,rt);tt=tt.end===void 0?nt:Math.min(tt.end,rt),!_.extend&&nt>tt&&(rt=tt,tt=nt,nt=rt),rt=Ke(et,nt);var it=Ke(et,tt);rt&&it&&(_.rangeCount!==1||_.anchorNode!==rt.node||_.anchorOffset!==rt.offset||_.focusNode!==it.node||_.focusOffset!==it.offset)&&(j=j.createRange(),j.setStart(rt.node,rt.offset),_.removeAllRanges(),nt>tt?(_.addRange(j),_.extend(it.node,it.offset)):(j.setEnd(it.node,it.offset),_.addRange(j)))}}for(j=[],_=et;_=_.parentNode;)_.nodeType===1&&j.push({element:_,left:_.scrollLeft,top:_.scrollTop});for(typeof et.focus=="function"&&et.focus(),et=0;et<j.length;et++)_=j[et],_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}var Pe$1=ia&&"documentMode"in document&&11>=document.documentMode,Qe=null,Re$1=null,Se$1=null,Te$1=!1;function Ue(_,j,et){var tt=et.window===et?et.document:et.nodeType===9?et:et.ownerDocument;Te$1||Qe==null||Qe!==Xa(tt)||(tt=Qe,"selectionStart"in tt&&Ne(tt)?tt={start:tt.selectionStart,end:tt.selectionEnd}:(tt=(tt.ownerDocument&&tt.ownerDocument.defaultView||window).getSelection(),tt={anchorNode:tt.anchorNode,anchorOffset:tt.anchorOffset,focusNode:tt.focusNode,focusOffset:tt.focusOffset}),Se$1&&Ie$1(Se$1,tt)||(Se$1=tt,tt=oe(Re$1,"onSelect"),0<tt.length&&(j=new td("onSelect","select",null,j,et),_.push({event:j,listeners:tt}),j.target=Qe)))}function Ve(_,j){var et={};return et[_.toLowerCase()]=j.toLowerCase(),et["Webkit"+_]="webkit"+j,et["Moz"+_]="moz"+j,et}var We={animationend:Ve("Animation","AnimationEnd"),animationiteration:Ve("Animation","AnimationIteration"),animationstart:Ve("Animation","AnimationStart"),transitionend:Ve("Transition","TransitionEnd")},Xe={},Ye={};ia&&(Ye=document.createElement("div").style,"AnimationEvent"in window||(delete We.animationend.animation,delete We.animationiteration.animation,delete We.animationstart.animation),"TransitionEvent"in window||delete We.transitionend.transition);function Ze(_){if(Xe[_])return Xe[_];if(!We[_])return _;var j=We[_],et;for(et in j)if(j.hasOwnProperty(et)&&et in Ye)return Xe[_]=j[et];return _}var $e=Ze("animationend"),af=Ze("animationiteration"),bf=Ze("animationstart"),cf=Ze("transitionend"),df=new Map,ef="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ff(_,j){df.set(_,j),fa(j,[_])}for(var gf=0;gf<ef.length;gf++){var hf=ef[gf],jf=hf.toLowerCase(),kf=hf[0].toUpperCase()+hf.slice(1);ff(jf,"on"+kf)}ff($e,"onAnimationEnd");ff(af,"onAnimationIteration");ff(bf,"onAnimationStart");ff("dblclick","onDoubleClick");ff("focusin","onFocus");ff("focusout","onBlur");ff(cf,"onTransitionEnd");ha("onMouseEnter",["mouseout","mouseover"]);ha("onMouseLeave",["mouseout","mouseover"]);ha("onPointerEnter",["pointerout","pointerover"]);ha("onPointerLeave",["pointerout","pointerover"]);fa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));fa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));fa("onBeforeInput",["compositionend","keypress","textInput","paste"]);fa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));fa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));fa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var lf="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(" "),mf=new Set("cancel close invalid load scroll toggle".split(" ").concat(lf));function nf(_,j,et){var tt=_.type||"unknown-event";_.currentTarget=et,Ub(tt,j,void 0,_),_.currentTarget=null}function se(_,j){j=(j&4)!==0;for(var et=0;et<_.length;et++){var tt=_[et],rt=tt.event;tt=tt.listeners;e:{var nt=void 0;if(j)for(var it=tt.length-1;0<=it;it--){var st=tt[it],at=st.instance,ot=st.currentTarget;if(st=st.listener,at!==nt&&rt.isPropagationStopped())break e;nf(rt,st,ot),nt=at}else for(it=0;it<tt.length;it++){if(st=tt[it],at=st.instance,ot=st.currentTarget,st=st.listener,at!==nt&&rt.isPropagationStopped())break e;nf(rt,st,ot),nt=at}}}if(Qb)throw _=Rb,Qb=!1,Rb=null,_}function D$1(_,j){var et=j[of];et===void 0&&(et=j[of]=new Set);var tt=_+"__bubble";et.has(tt)||(pf(j,_,2,!1),et.add(tt))}function qf(_,j,et){var tt=0;j&&(tt|=4),pf(et,_,tt,j)}var rf="_reactListening"+Math.random().toString(36).slice(2);function sf(_){if(!_[rf]){_[rf]=!0,da.forEach(function(et){et!=="selectionchange"&&(mf.has(et)||qf(et,!1,_),qf(et,!0,_))});var j=_.nodeType===9?_:_.ownerDocument;j===null||j[rf]||(j[rf]=!0,qf("selectionchange",!1,j))}}function pf(_,j,et,tt){switch(jd(j)){case 1:var rt=ed;break;case 4:rt=gd;break;default:rt=fd}et=rt.bind(null,j,et,_),rt=void 0,!Lb||j!=="touchstart"&&j!=="touchmove"&&j!=="wheel"||(rt=!0),tt?rt!==void 0?_.addEventListener(j,et,{capture:!0,passive:rt}):_.addEventListener(j,et,!0):rt!==void 0?_.addEventListener(j,et,{passive:rt}):_.addEventListener(j,et,!1)}function hd(_,j,et,tt,rt){var nt=tt;if(!(j&1)&&!(j&2)&&tt!==null)e:for(;;){if(tt===null)return;var it=tt.tag;if(it===3||it===4){var st=tt.stateNode.containerInfo;if(st===rt||st.nodeType===8&&st.parentNode===rt)break;if(it===4)for(it=tt.return;it!==null;){var at=it.tag;if((at===3||at===4)&&(at=it.stateNode.containerInfo,at===rt||at.nodeType===8&&at.parentNode===rt))return;it=it.return}for(;st!==null;){if(it=Wc(st),it===null)return;if(at=it.tag,at===5||at===6){tt=nt=it;continue e}st=st.parentNode}}tt=tt.return}Jb(function(){var ot=nt,lt=xb(et),ct=[];e:{var ut=df.get(_);if(ut!==void 0){var dt=td,ht=_;switch(_){case"keypress":if(od(et)===0)break e;case"keydown":case"keyup":dt=Rd;break;case"focusin":ht="focus",dt=Fd;break;case"focusout":ht="blur",dt=Fd;break;case"beforeblur":case"afterblur":dt=Fd;break;case"click":if(et.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":dt=Bd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":dt=Dd;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":dt=Vd;break;case $e:case af:case bf:dt=Hd;break;case cf:dt=Xd;break;case"scroll":dt=vd;break;case"wheel":dt=Zd;break;case"copy":case"cut":case"paste":dt=Jd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":dt=Td}var pt=(j&4)!==0,gt=!pt&&_==="scroll",ft=pt?ut!==null?ut+"Capture":null:ut;pt=[];for(var mt=ot,xt;mt!==null;){xt=mt;var yt=xt.stateNode;if(xt.tag===5&&yt!==null&&(xt=yt,ft!==null&&(yt=Kb(mt,ft),yt!=null&&pt.push(tf(mt,yt,xt)))),gt)break;mt=mt.return}0<pt.length&&(ut=new dt(ut,ht,null,et,lt),ct.push({event:ut,listeners:pt}))}}if(!(j&7)){e:{if(ut=_==="mouseover"||_==="pointerover",dt=_==="mouseout"||_==="pointerout",ut&&et!==wb&&(ht=et.relatedTarget||et.fromElement)&&(Wc(ht)||ht[uf]))break e;if((dt||ut)&&(ut=lt.window===lt?lt:(ut=lt.ownerDocument)?ut.defaultView||ut.parentWindow:window,dt?(ht=et.relatedTarget||et.toElement,dt=ot,ht=ht?Wc(ht):null,ht!==null&&(gt=Vb(ht),ht!==gt||ht.tag!==5&&ht.tag!==6)&&(ht=null)):(dt=null,ht=ot),dt!==ht)){if(pt=Bd,yt="onMouseLeave",ft="onMouseEnter",mt="mouse",(_==="pointerout"||_==="pointerover")&&(pt=Td,yt="onPointerLeave",ft="onPointerEnter",mt="pointer"),gt=dt==null?ut:ue$1(dt),xt=ht==null?ut:ue$1(ht),ut=new pt(yt,mt+"leave",dt,et,lt),ut.target=gt,ut.relatedTarget=xt,yt=null,Wc(lt)===ot&&(pt=new pt(ft,mt+"enter",ht,et,lt),pt.target=xt,pt.relatedTarget=gt,yt=pt),gt=yt,dt&&ht)t:{for(pt=dt,ft=ht,mt=0,xt=pt;xt;xt=vf(xt))mt++;for(xt=0,yt=ft;yt;yt=vf(yt))xt++;for(;0<mt-xt;)pt=vf(pt),mt--;for(;0<xt-mt;)ft=vf(ft),xt--;for(;mt--;){if(pt===ft||ft!==null&&pt===ft.alternate)break t;pt=vf(pt),ft=vf(ft)}pt=null}else pt=null;dt!==null&&wf(ct,ut,dt,pt,!1),ht!==null&>!==null&&wf(ct,gt,ht,pt,!0)}}e:{if(ut=ot?ue$1(ot):window,dt=ut.nodeName&&ut.nodeName.toLowerCase(),dt==="select"||dt==="input"&&ut.type==="file")var vt=ve$1;else if(me$1(ut))if(we$1)vt=Fe;else{vt=De$1;var bt=Ce$1}else(dt=ut.nodeName)&&dt.toLowerCase()==="input"&&(ut.type==="checkbox"||ut.type==="radio")&&(vt=Ee$1);if(vt&&(vt=vt(_,ot))){ne(ct,vt,et,lt);break e}bt&&bt(_,ut,ot),_==="focusout"&&(bt=ut._wrapperState)&&bt.controlled&&ut.type==="number"&&cb(ut,"number",ut.value)}switch(bt=ot?ue$1(ot):window,_){case"focusin":(me$1(bt)||bt.contentEditable==="true")&&(Qe=bt,Re$1=ot,Se$1=null);break;case"focusout":Se$1=Re$1=Qe=null;break;case"mousedown":Te$1=!0;break;case"contextmenu":case"mouseup":case"dragend":Te$1=!1,Ue(ct,et,lt);break;case"selectionchange":if(Pe$1)break;case"keydown":case"keyup":Ue(ct,et,lt)}var Et;if(ae)e:{switch(_){case"compositionstart":var _t="onCompositionStart";break e;case"compositionend":_t="onCompositionEnd";break e;case"compositionupdate":_t="onCompositionUpdate";break e}_t=void 0}else ie?ge(_,et)&&(_t="onCompositionEnd"):_==="keydown"&&et.keyCode===229&&(_t="onCompositionStart");_t&&(de$1&&et.locale!=="ko"&&(ie||_t!=="onCompositionStart"?_t==="onCompositionEnd"&&ie&&(Et=nd()):(kd=lt,ld="value"in kd?kd.value:kd.textContent,ie=!0)),bt=oe(ot,_t),0<bt.length&&(_t=new Ld(_t,_,null,et,lt),ct.push({event:_t,listeners:bt}),Et?_t.data=Et:(Et=he$1(et),Et!==null&&(_t.data=Et)))),(Et=ce$1?je(_,et):ke$1(_,et))&&(ot=oe(ot,"onBeforeInput"),0<ot.length&&(lt=new Ld("onBeforeInput","beforeinput",null,et,lt),ct.push({event:lt,listeners:ot}),lt.data=Et))}se(ct,j)})}function tf(_,j,et){return{instance:_,listener:j,currentTarget:et}}function oe(_,j){for(var et=j+"Capture",tt=[];_!==null;){var rt=_,nt=rt.stateNode;rt.tag===5&&nt!==null&&(rt=nt,nt=Kb(_,et),nt!=null&&tt.unshift(tf(_,nt,rt)),nt=Kb(_,j),nt!=null&&tt.push(tf(_,nt,rt))),_=_.return}return tt}function vf(_){if(_===null)return null;do _=_.return;while(_&&_.tag!==5);return _||null}function wf(_,j,et,tt,rt){for(var nt=j._reactName,it=[];et!==null&&et!==tt;){var st=et,at=st.alternate,ot=st.stateNode;if(at!==null&&at===tt)break;st.tag===5&&ot!==null&&(st=ot,rt?(at=Kb(et,nt),at!=null&&it.unshift(tf(et,at,st))):rt||(at=Kb(et,nt),at!=null&&it.push(tf(et,at,st)))),et=et.return}it.length!==0&&_.push({event:j,listeners:it})}var xf=/\r\n?/g,yf=/\u0000|\uFFFD/g;function zf(_){return(typeof _=="string"?_:""+_).replace(xf,` 38`).replace(yf,"")}function Af(_,j,et){if(j=zf(j),zf(_)!==j&&et)throw Error(p$2(425))}function Bf(){}var Cf=null,Df=null;function Ef(_,j){return _==="textarea"||_==="noscript"||typeof j.children=="string"||typeof j.children=="number"||typeof j.dangerouslySetInnerHTML=="object"&&j.dangerouslySetInnerHTML!==null&&j.dangerouslySetInnerHTML.__html!=null}var Ff=typeof setTimeout=="function"?setTimeout:void 0,Gf=typeof clearTimeout=="function"?clearTimeout:void 0,Hf=typeof Promise=="function"?Promise:void 0,Jf=typeof queueMicrotask=="function"?queueMicrotask:typeof Hf<"u"?function(_){return Hf.resolve(null).then(_).catch(If)}:Ff;function If(_){setTimeout(function(){throw _})}function Kf(_,j){var et=j,tt=0;do{var rt=et.nextSibling;if(_.removeChild(et),rt&&rt.nodeType===8)if(et=rt.data,et==="/$"){if(tt===0){_.removeChild(rt),bd(j);return}tt--}else et!=="$"&&et!=="$?"&&et!=="$!"||tt++;et=rt}while(et);bd(j)}function Lf(_){for(;_!=null;_=_.nextSibling){var j=_.nodeType;if(j===1||j===3)break;if(j===8){if(j=_.data,j==="$"||j==="$!"||j==="$?")break;if(j==="/$")return null}}return _}function Mf(_){_=_.previousSibling;for(var j=0;_;){if(_.nodeType===8){var et=_.data;if(et==="$"||et==="$!"||et==="$?"){if(j===0)return _;j--}else et==="/$"&&j++}_=_.previousSibling}return null}var Nf=Math.random().toString(36).slice(2),Of="__reactFiber$"+Nf,Pf="__reactProps$"+Nf,uf="__reactContainer$"+Nf,of="__reactEvents$"+Nf,Qf="__reactListeners$"+Nf,Rf="__reactHandles$"+Nf;function Wc(_){var j=_[Of];if(j)return j;for(var et=_.parentNode;et;){if(j=et[uf]||et[Of]){if(et=j.alternate,j.child!==null||et!==null&&et.child!==null)for(_=Mf(_);_!==null;){if(et=_[Of])return et;_=Mf(_)}return j}_=et,et=_.parentNode}return null}function Cb(_){return _=_[Of]||_[uf],!_||_.tag!==5&&_.tag!==6&&_.tag!==13&&_.tag!==3?null:_}function ue$1(_){if(_.tag===5||_.tag===6)return _.stateNode;throw Error(p$2(33))}function Db(_){return _[Pf]||null}var Sf=[],Tf=-1;function Uf(_){return{current:_}}function E(_){0>Tf||(_.current=Sf[Tf],Sf[Tf]=null,Tf--)}
vendor: 2,853 bytes, line 38
38function G$1(_,j){Tf++,Sf[Tf]=_.current,_.current=j}var Vf={},H$1=Uf(Vf),Wf=Uf(!1),Xf=Vf;function Yf(_,j){var et=_.type.contextTypes;if(!et)return Vf;var tt=_.stateNode;if(tt&&tt.__reactInternalMemoizedUnmaskedChildContext===j)return tt.__reactInternalMemoizedMaskedChildContext;var rt={},nt;for(nt in et)rt[nt]=j[nt];return tt&&(_=_.stateNode,_.__reactInternalMemoizedUnmaskedChildContext=j,_.__reactInternalMemoizedMaskedChildContext=rt),rt}function Zf(_){return _=_.childContextTypes,_!=null}function $f(){E(Wf),E(H$1)}function ag(_,j,et){if(H$1.current!==Vf)throw Error(p$2(168));G$1(H$1,j),G$1(Wf,et)}function bg(_,j,et){var tt=_.stateNode;if(j=j.childContextTypes,typeof tt.getChildContext!="function")return et;tt=tt.getChildContext();for(var rt in tt)if(!(rt in j))throw Error(p$2(108,Ra(_)||"Unknown",rt));return A({},et,tt)}function cg(_){return _=(_=_.stateNode)&&_.__reactInternalMemoizedMergedChildContext||Vf,Xf=H$1.current,G$1(H$1,_),G$1(Wf,Wf.current),!0}function dg(_,j,et){var tt=_.stateNode;if(!tt)throw Error(p$2(169));et?(_=bg(_,j,Xf),tt.__reactInternalMemoizedMergedChildContext=_,E(Wf),E(H$1),G$1(H$1,_)):E(Wf),G$1(Wf,et)}var eg=null,fg=!1,gg=!1;function hg(_){eg===null?eg=[_]:eg.push(_)}function ig(_){fg=!0,hg(_)}function jg(){if(!gg&&eg!==null){gg=!0;var _=0,j=C;try{var et=eg;for(C=1;_<et.length;_++){var tt=et[_];do tt=tt(!0);while(tt!==null)}eg=null,fg=!1}catch(rt){throw eg!==null&&(eg=eg.slice(_+1)),ac(fc,jg),rt}finally{C=j,gg=!1}}return null}var kg=[],lg=0,mg=null,ng=0,og=[],pg=0,qg=null,rg=1,sg="";function tg(_,j){kg[lg++]=ng,kg[lg++]=mg,mg=_,ng=j}function ug(_,j,et){og[pg++]=rg,og[pg++]=sg,og[pg++]=qg,qg=_;var tt=rg;_=sg;var rt=32-oc(tt)-1;tt&=~(1<<rt),et+=1;var nt=32-oc(j)+rt;if(30<nt){var it=rt-rt%5;nt=(tt&(1<<it)-1).toString(32),tt>>=it,rt-=it,rg=1<<32-oc(j)+rt|et<<rt|tt,sg=nt+_}else rg=1<<nt|et<<rt|tt,sg=_}function vg(_){_.return!==null&&(tg(_,1),ug(_,1,0))}function wg(_){for(;_===mg;)mg=kg[--lg],kg[lg]=null,ng=kg[--lg],kg[lg]=null;for(;_===qg;)qg=og[--pg],og[pg]=null,sg=og[--pg],og[pg]=null,rg=og[--pg],og[pg]=null}var xg=null,yg=null,I=!1,zg=null;function Ag(_,j){var et=Bg(5,null,null,0);et.elementType="DELETED",et.stateNode=j,et.return=_,j=_.deletions,j===null?(_.deletions=[et],_.flags|=16):j.push(et)}function Cg(_,j){switch(_.tag){case 5:var et=_.type;return j=j.nodeType!==1||et.toLowerCase()!==j.nodeName.toLowerCase()?null:j,j!==null?(_.stateNode=j,xg=_,yg=Lf(j.firstChild),!0):!1;case 6:return j=_.pendingProps===""||j.nodeType!==3?null:j,j!==null?(_.stateNode=j,xg=_,yg=null,!0):!1;case 13:return j=j.nodeType!==8?null:j,j!==null?(et=qg!==null?{id:rg,overflow:sg}:null,_.memoizedState={dehydrated:j,treeContext:et,retryLane:1073741824},et=Bg(18,null,null,0),et.stateNode=j,et.return=_,_.child=et,xg=_,yg=null,!0):!1;default:return!1}}function Dg(_){return(_.mode&1)!==0&&(_.flags&128)===0}
vendor: 14,195 bytes, line 38
38function Eg(_){if(I){var j=yg;if(j){var et=j;if(!Cg(_,j)){if(Dg(_))throw Error(p$2(418));j=Lf(et.nextSibling);var tt=xg;j&&Cg(_,j)?Ag(tt,et):(_.flags=_.flags&-4097|2,I=!1,xg=_)}}else{if(Dg(_))throw Error(p$2(418));_.flags=_.flags&-4097|2,I=!1,xg=_}}}function Fg(_){for(_=_.return;_!==null&&_.tag!==5&&_.tag!==3&&_.tag!==13;)_=_.return;xg=_}function Gg(_){if(_!==xg)return!1;if(!I)return Fg(_),I=!0,!1;var j;if((j=_.tag!==3)&&!(j=_.tag!==5)&&(j=_.type,j=j!=="head"&&j!=="body"&&!Ef(_.type,_.memoizedProps)),j&&(j=yg)){if(Dg(_))throw Hg(),Error(p$2(418));for(;j;)Ag(_,j),j=Lf(j.nextSibling)}if(Fg(_),_.tag===13){if(_=_.memoizedState,_=_!==null?_.dehydrated:null,!_)throw Error(p$2(317));e:{for(_=_.nextSibling,j=0;_;){if(_.nodeType===8){var et=_.data;if(et==="/$"){if(j===0){yg=Lf(_.nextSibling);break e}j--}else et!=="$"&&et!=="$!"&&et!=="$?"||j++}_=_.nextSibling}yg=null}}else yg=xg?Lf(_.stateNode.nextSibling):null;return!0}function Hg(){for(var _=yg;_;)_=Lf(_.nextSibling)}function Ig(){yg=xg=null,I=!1}function Jg(_){zg===null?zg=[_]:zg.push(_)}var Kg=ua.ReactCurrentBatchConfig;function Lg(_,j,et){if(_=et.ref,_!==null&&typeof _!="function"&&typeof _!="object"){if(et._owner){if(et=et._owner,et){if(et.tag!==1)throw Error(p$2(309));var tt=et.stateNode}if(!tt)throw Error(p$2(147,_));var rt=tt,nt=""+_;return j!==null&&j.ref!==null&&typeof j.ref=="function"&&j.ref._stringRef===nt?j.ref:(j=function(it){var st=rt.refs;it===null?delete st[nt]:st[nt]=it},j._stringRef=nt,j)}if(typeof _!="string")throw Error(p$2(284));if(!et._owner)throw Error(p$2(290,_))}return _}function Mg(_,j){throw _=Object.prototype.toString.call(j),Error(p$2(31,_==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":_))}function Ng(_){var j=_._init;return j(_._payload)}function Og(_){function j(ft,mt){if(_){var xt=ft.deletions;xt===null?(ft.deletions=[mt],ft.flags|=16):xt.push(mt)}}function et(ft,mt){if(!_)return null;for(;mt!==null;)j(ft,mt),mt=mt.sibling;return null}function tt(ft,mt){for(ft=new Map;mt!==null;)mt.key!==null?ft.set(mt.key,mt):ft.set(mt.index,mt),mt=mt.sibling;return ft}function rt(ft,mt){return ft=Pg(ft,mt),ft.index=0,ft.sibling=null,ft}function nt(ft,mt,xt){return ft.index=xt,_?(xt=ft.alternate,xt!==null?(xt=xt.index,xt<mt?(ft.flags|=2,mt):xt):(ft.flags|=2,mt)):(ft.flags|=1048576,mt)}function it(ft){return _&&ft.alternate===null&&(ft.flags|=2),ft}function st(ft,mt,xt,yt){return mt===null||mt.tag!==6?(mt=Qg(xt,ft.mode,yt),mt.return=ft,mt):(mt=rt(mt,xt),mt.return=ft,mt)}function at(ft,mt,xt,yt){var vt=xt.type;return vt===ya?lt(ft,mt,xt.props.children,yt,xt.key):mt!==null&&(mt.elementType===vt||typeof vt=="object"&&vt!==null&&vt.$$typeof===Ha&&Ng(vt)===mt.type)?(yt=rt(mt,xt.props),yt.ref=Lg(ft,mt,xt),yt.return=ft,yt):(yt=Rg(xt.type,xt.key,xt.props,null,ft.mode,yt),yt.ref=Lg(ft,mt,xt),yt.return=ft,yt)}function ot(ft,mt,xt,yt){return mt===null||mt.tag!==4||mt.stateNode.containerInfo!==xt.containerInfo||mt.stateNode.implementation!==xt.implementation?(mt=Sg(xt,ft.mode,yt),mt.return=ft,mt):(mt=rt(mt,xt.children||[]),mt.return=ft,mt)}function lt(ft,mt,xt,yt,vt){return mt===null||mt.tag!==7?(mt=Tg(xt,ft.mode,yt,vt),mt.return=ft,mt):(mt=rt(mt,xt),mt.return=ft,mt)}function ct(ft,mt,xt){if(typeof mt=="string"&&mt!==""||typeof mt=="number")return mt=Qg(""+mt,ft.mode,xt),mt.return=ft,mt;if(typeof mt=="object"&&mt!==null){switch(mt.$$typeof){case va:return xt=Rg(mt.type,mt.key,mt.props,null,ft.mode,xt),xt.ref=Lg(ft,null,mt),xt.return=ft,xt;case wa:return mt=Sg(mt,ft.mode,xt),mt.return=ft,mt;case Ha:var yt=mt._init;return ct(ft,yt(mt._payload),xt)}if(eb(mt)||Ka(mt))return mt=Tg(mt,ft.mode,xt,null),mt.return=ft,mt;Mg(ft,mt)}return null}function ut(ft,mt,xt,yt){var vt=mt!==null?mt.key:null;if(typeof xt=="string"&&xt!==""||typeof xt=="number")return vt!==null?null:st(ft,mt,""+xt,yt);if(typeof xt=="object"&&xt!==null){switch(xt.$$typeof){case va:return xt.key===vt?at(ft,mt,xt,yt):null;case wa:return xt.key===vt?ot(ft,mt,xt,yt):null;case Ha:return vt=xt._init,ut(ft,mt,vt(xt._payload),yt)}if(eb(xt)||Ka(xt))return vt!==null?null:lt(ft,mt,xt,yt,null);Mg(ft,xt)}return null}function dt(ft,mt,xt,yt,vt){if(typeof yt=="string"&&yt!==""||typeof yt=="number")return ft=ft.get(xt)||null,st(mt,ft,""+yt,vt);if(typeof yt=="object"&&yt!==null){switch(yt.$$typeof){case va:return ft=ft.get(yt.key===null?xt:yt.key)||null,at(mt,ft,yt,vt);case wa:return ft=ft.get(yt.key===null?xt:yt.key)||null,ot(mt,ft,yt,vt);case Ha:var bt=yt._init;return dt(ft,mt,xt,bt(yt._payload),vt)}if(eb(yt)||Ka(yt))return ft=ft.get(xt)||null,lt(mt,ft,yt,vt,null);Mg(mt,yt)}return null}function ht(ft,mt,xt,yt){for(var vt=null,bt=null,Et=mt,_t=mt=0,wt=null;Et!==null&&_t<xt.length;_t++){Et.index>_t?(wt=Et,Et=null):wt=Et.sibling;var Rt=ut(ft,Et,xt[_t],yt);if(Rt===null){Et===null&&(Et=wt);break}_&&Et&&Rt.alternate===null&&j(ft,Et),mt=nt(Rt,mt,_t),bt===null?vt=Rt:bt.sibling=Rt,bt=Rt,Et=wt}if(_t===xt.length)return et(ft,Et),I&&tg(ft,_t),vt;if(Et===null){for(;_t<xt.length;_t++)Et=ct(ft,xt[_t],yt),Et!==null&&(mt=nt(Et,mt,_t),bt===null?vt=Et:bt.sibling=Et,bt=Et);return I&&tg(ft,_t),vt}for(Et=tt(ft,Et);_t<xt.length;_t++)wt=dt(Et,ft,_t,xt[_t],yt),wt!==null&&(_&&wt.alternate!==null&&Et.delete(wt.key===null?_t:wt.key),mt=nt(wt,mt,_t),bt===null?vt=wt:bt.sibling=wt,bt=wt);return _&&Et.forEach(function(Ct){return j(ft,Ct)}),I&&tg(ft,_t),vt}function pt(ft,mt,xt,yt){var vt=Ka(xt);if(typeof vt!="function")throw Error(p$2(150));if(xt=vt.call(xt),xt==null)throw Error(p$2(151));for(var bt=vt=null,Et=mt,_t=mt=0,wt=null,Rt=xt.next();Et!==null&&!Rt.done;_t++,Rt=xt.next()){Et.index>_t?(wt=Et,Et=null):wt=Et.sibling;var Ct=ut(ft,Et,Rt.value,yt);if(Ct===null){Et===null&&(Et=wt);break}_&&Et&&Ct.alternate===null&&j(ft,Et),mt=nt(Ct,mt,_t),bt===null?vt=Ct:bt.sibling=Ct,bt=Ct,Et=wt}if(Rt.done)return et(ft,Et),I&&tg(ft,_t),vt;if(Et===null){for(;!Rt.done;_t++,Rt=xt.next())Rt=ct(ft,Rt.value,yt),Rt!==null&&(mt=nt(Rt,mt,_t),bt===null?vt=Rt:bt.sibling=Rt,bt=Rt);return I&&tg(ft,_t),vt}for(Et=tt(ft,Et);!Rt.done;_t++,Rt=xt.next())Rt=dt(Et,ft,_t,Rt.value,yt),Rt!==null&&(_&&Rt.alternate!==null&&Et.delete(Rt.key===null?_t:Rt.key),mt=nt(Rt,mt,_t),bt===null?vt=Rt:bt.sibling=Rt,bt=Rt);return _&&Et.forEach(function(jt){return j(ft,jt)}),I&&tg(ft,_t),vt}function gt(ft,mt,xt,yt){if(typeof xt=="object"&&xt!==null&&xt.type===ya&&xt.key===null&&(xt=xt.props.children),typeof xt=="object"&&xt!==null){switch(xt.$$typeof){case va:e:{for(var vt=xt.key,bt=mt;bt!==null;){if(bt.key===vt){if(vt=xt.type,vt===ya){if(bt.tag===7){et(ft,bt.sibling),mt=rt(bt,xt.props.children),mt.return=ft,ft=mt;break e}}else if(bt.elementType===vt||typeof vt=="object"&&vt!==null&&vt.$$typeof===Ha&&Ng(vt)===bt.type){et(ft,bt.sibling),mt=rt(bt,xt.props),mt.ref=Lg(ft,bt,xt),mt.return=ft,ft=mt;break e}et(ft,bt);break}else j(ft,bt);bt=bt.sibling}xt.type===ya?(mt=Tg(xt.props.children,ft.mode,yt,xt.key),mt.return=ft,ft=mt):(yt=Rg(xt.type,xt.key,xt.props,null,ft.mode,yt),yt.ref=Lg(ft,mt,xt),yt.return=ft,ft=yt)}return it(ft);case wa:e:{for(bt=xt.key;mt!==null;){if(mt.key===bt)if(mt.tag===4&&mt.stateNode.containerInfo===xt.containerInfo&&mt.stateNode.implementation===xt.implementation){et(ft,mt.sibling),mt=rt(mt,xt.children||[]),mt.return=ft,ft=mt;break e}else{et(ft,mt);break}else j(ft,mt);mt=mt.sibling}mt=Sg(xt,ft.mode,yt),mt.return=ft,ft=mt}return it(ft);case Ha:return bt=xt._init,gt(ft,mt,bt(xt._payload),yt)}if(eb(xt))return ht(ft,mt,xt,yt);if(Ka(xt))return pt(ft,mt,xt,yt);Mg(ft,xt)}return typeof xt=="string"&&xt!==""||typeof xt=="number"?(xt=""+xt,mt!==null&&mt.tag===6?(et(ft,mt.sibling),mt=rt(mt,xt),mt.return=ft,ft=mt):(et(ft,mt),mt=Qg(xt,ft.mode,yt),mt.return=ft,ft=mt),it(ft)):et(ft,mt)}return gt}var Ug=Og(!0),Vg=Og(!1),Wg=Uf(null),Xg=null,Yg=null,Zg=null;function $g(){Zg=Yg=Xg=null}function ah(_){var j=Wg.current;E(Wg),_._currentValue=j}function bh(_,j,et){for(;_!==null;){var tt=_.alternate;if((_.childLanes&j)!==j?(_.childLanes|=j,tt!==null&&(tt.childLanes|=j)):tt!==null&&(tt.childLanes&j)!==j&&(tt.childLanes|=j),_===et)break;_=_.return}}function ch(_,j){Xg=_,Zg=Yg=null,_=_.dependencies,_!==null&&_.firstContext!==null&&(_.lanes&j&&(dh=!0),_.firstContext=null)}function eh(_){var j=_._currentValue;if(Zg!==_)if(_={context:_,memoizedValue:j,next:null},Yg===null){if(Xg===null)throw Error(p$2(308));Yg=_,Xg.dependencies={lanes:0,firstContext:_}}else Yg=Yg.next=_;return j}var fh=null;function gh(_){fh===null?fh=[_]:fh.push(_)}function hh(_,j,et,tt){var rt=j.interleaved;return rt===null?(et.next=et,gh(j)):(et.next=rt.next,rt.next=et),j.interleaved=et,ih(_,tt)}function ih(_,j){_.lanes|=j;var et=_.alternate;for(et!==null&&(et.lanes|=j),et=_,_=_.return;_!==null;)_.childLanes|=j,et=_.alternate,et!==null&&(et.childLanes|=j),et=_,_=_.return;return et.tag===3?et.stateNode:null}var jh=!1;function kh(_){_.updateQueue={baseState:_.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function lh(_,j){_=_.updateQueue,j.updateQueue===_&&(j.updateQueue={baseState:_.baseState,firstBaseUpdate:_.firstBaseUpdate,lastBaseUpdate:_.lastBaseUpdate,shared:_.shared,effects:_.effects})}function mh(_,j){return{eventTime:_,lane:j,tag:0,payload:null,callback:null,next:null}}function nh(_,j,et){var tt=_.updateQueue;if(tt===null)return null;if(tt=tt.shared,K$2&2){var rt=tt.pending;return rt===null?j.next=j:(j.next=rt.next,rt.next=j),tt.pending=j,ih(_,et)}return rt=tt.interleaved,rt===null?(j.next=j,gh(tt)):(j.next=rt.next,rt.next=j),tt.interleaved=j,ih(_,et)}function oh(_,j,et){if(j=j.updateQueue,j!==null&&(j=j.shared,(et&4194240)!==0)){var tt=j.lanes;tt&=_.pendingLanes,et|=tt,j.lanes=et,Cc(_,et)}}function ph(_,j){var et=_.updateQueue,tt=_.alternate;if(tt!==null&&(tt=tt.updateQueue,et===tt)){var rt=null,nt=null;if(et=et.firstBaseUpdate,et!==null){do{var it={eventTime:et.eventTime,lane:et.lane,tag:et.tag,payload:et.payload,callback:et.callback,next:null};nt===null?rt=nt=it:nt=nt.next=it,et=et.next}while(et!==null);nt===null?rt=nt=j:nt=nt.next=j}else rt=nt=j;et={baseState:tt.baseState,firstBaseUpdate:rt,lastBaseUpdate:nt,shared:tt.shared,effects:tt.effects},_.updateQueue=et;return}_=et.lastBaseUpdate,_===null?et.firstBaseUpdate=j:_.next=j,et.lastBaseUpdate=j}function qh(_,j,et,tt){var rt=_.updateQueue;jh=!1;var nt=rt.firstBaseUpdate,it=rt.lastBaseUpdate,st=rt.shared.pending;if(st!==null){rt.shared.pending=null;var at=st,ot=at.next;at.next=null,it===null?nt=ot:it.next=ot,it=at;var lt=_.alternate;lt!==null&&(lt=lt.updateQueue,st=lt.lastBaseUpdate,st!==it&&(st===null?lt.firstBaseUpdate=ot:st.next=ot,lt.lastBaseUpdate=at))}if(nt!==null){var ct=rt.baseState;it=0,lt=ot=at=null,st=nt;do{var ut=st.lane,dt=st.eventTime;if((tt&ut)===ut){lt!==null&&(lt=lt.next={eventTime:dt,lane:0,tag:st.tag,payload:st.payload,callback:st.callback,next:null});e:{var ht=_,pt=st;switch(ut=j,dt=et,pt.tag){case 1:if(ht=pt.payload,typeof ht=="function"){ct=ht.call(dt,ct,ut);break e}ct=ht;break e;case 3:ht.flags=ht.flags&-65537|128;case 0:if(ht=pt.payload,ut=typeof ht=="function"?ht.call(dt,ct,ut):ht,ut==null)break e;ct=A({},ct,ut);break e;case 2:jh=!0}}st.callback!==null&&st.lane!==0&&(_.flags|=64,ut=rt.effects,ut===null?rt.effects=[st]:ut.push(st))}else dt={eventTime:dt,lane:ut,tag:st.tag,payload:st.payload,callback:st.callback,next:null},lt===null?(ot=lt=dt,at=ct):lt=lt.next=dt,it|=ut;if(st=st.next,st===null){if(st=rt.shared.pending,st===null)break;ut=st,st=ut.next,ut.next=null,rt.lastBaseUpdate=ut,rt.shared.pending=null}}while(!0);if(lt===null&&(at=ct),rt.baseState=at,rt.firstBaseUpdate=ot,rt.lastBaseUpdate=lt,j=rt.shared.interleaved,j!==null){rt=j;do it|=rt.lane,rt=rt.next;while(rt!==j)}else nt===null&&(rt.shared.lanes=0);rh|=it,_.lanes=it,_.memoizedState=ct}}function sh(_,j,et){if(_=j.effects,j.effects=null,_!==null)for(j=0;j<_.length;j++){var tt=_[j],rt=tt.callback;if(rt!==null){if(tt.callback=null,tt=et,typeof rt!="function")throw Error(p$2(191,rt));rt.call(tt)}}}var th={},uh=Uf(th),vh$1=Uf(th),wh=Uf(th);function xh(_){if(_===th)throw Error(p$2(174));return _}function yh(_,j){switch(G$1(wh,j),G$1(vh$1,_),G$1(uh,th),_=j.nodeType,_){case 9:case 11:j=(j=j.documentElement)?j.namespaceURI:lb(null,"");break;default:_=_===8?j.parentNode:j,j=_.namespaceURI||null,_=_.tagName,j=lb(j,_)}E(uh),G$1(uh,j)}function zh(){E(uh),E(vh$1),E(wh)}function Ah(_){xh(wh.current);var j=xh(uh.current),et=lb(j,_.type);j!==et&&(G$1(vh$1,_),G$1(uh,et))}function Bh(_){vh$1.current===_&&(E(uh),E(vh$1))}var L$1=Uf(0);function Ch(_){for(var j=_;j!==null;){if(j.tag===13){var et=j.memoizedState;if(et!==null&&(et=et.dehydrated,et===null||et.data==="$?"||et.data==="$!"))return j}else if(j.tag===19&&j.memoizedProps.revealOrder!==void 0){if(j.flags&128)return j}else if(j.child!==null){j.child.return=j,j=j.child;continue}if(j===_)break;for(;j.sibling===null;){if(j.return===null||j.return===_)return null;j=j.return}j.sibling.return=j.return,j=j.sibling}return null}var Dh=[];function Eh(){for(var _=0;_<Dh.length;_++)Dh[_]._workInProgressVersionPrimary=null;Dh.length=0}var Fh=ua.ReactCurrentDispatcher,Gh=ua.ReactCurrentBatchConfig,Hh=0,M=null,N$1=null,O=null,Ih=!1,Jh=!1,Kh=0,Lh=0;function P$2(){throw Error(p$2(321))}function Mh(_,j){if(j===null)return!1;for(var et=0;et<j.length&&et<_.length;et++)if(!He(_[et],j[et]))return!1;return!0}function Nh(_,j,et,tt,rt,nt){if(Hh=nt,M=j,j.memoizedState=null,j.updateQueue=null,j.lanes=0,Fh.current=_===null||_.memoizedState===null?Oh:Ph,_=et(tt,rt),Jh){nt=0;do{if(Jh=!1,Kh=0,25<=nt)throw Error(p$2(301));nt+=1,O=N$1=null,j.updateQueue=null,Fh.current=Qh,_=et(tt,rt)}while(Jh)}if(Fh.current=Rh,j=N$1!==null&&N$1.next!==null,Hh=0,O=N$1=M=null,Ih=!1,j)throw Error(p$2(300));return _}function Sh(){var _=Kh!==0;return Kh=0,_}function Th(){var _={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return O===null?M.memoizedState=O=_:O=O.next=_,O}function Uh(){if(N$1===null){var _=M.alternate;_=_!==null?_.memoizedState:null}else _=N$1.next;var j=O===null?M.memoizedState:O.next;if(j!==null)O=j,N$1=_;else{if(_===null)throw Error(p$2(310));N$1=_,_={memoizedState:N$1.memoizedState,baseState:N$1.baseState,baseQueue:N$1.baseQueue,queue:N$1.queue,next:null},O===null?M.memoizedState=O=_:O=O.next=_}return O}
vendor: 4,326 bytes, line 38
38function Vh(_,j){return typeof j=="function"?j(_):j}function Wh(_){var j=Uh(),et=j.queue;if(et===null)throw Error(p$2(311));et.lastRenderedReducer=_;var tt=N$1,rt=tt.baseQueue,nt=et.pending;if(nt!==null){if(rt!==null){var it=rt.next;rt.next=nt.next,nt.next=it}tt.baseQueue=rt=nt,et.pending=null}if(rt!==null){nt=rt.next,tt=tt.baseState;var st=it=null,at=null,ot=nt;do{var lt=ot.lane;if((Hh<)===lt)at!==null&&(at=at.next={lane:0,action:ot.action,hasEagerState:ot.hasEagerState,eagerState:ot.eagerState,next:null}),tt=ot.hasEagerState?ot.eagerState:_(tt,ot.action);else{var ct={lane:lt,action:ot.action,hasEagerState:ot.hasEagerState,eagerState:ot.eagerState,next:null};at===null?(st=at=ct,it=tt):at=at.next=ct,M.lanes|=lt,rh|=lt}ot=ot.next}while(ot!==null&&ot!==nt);at===null?it=tt:at.next=st,He(tt,j.memoizedState)||(dh=!0),j.memoizedState=tt,j.baseState=it,j.baseQueue=at,et.lastRenderedState=tt}if(_=et.interleaved,_!==null){rt=_;do nt=rt.lane,M.lanes|=nt,rh|=nt,rt=rt.next;while(rt!==_)}else rt===null&&(et.lanes=0);return[j.memoizedState,et.dispatch]}function Xh(_){var j=Uh(),et=j.queue;if(et===null)throw Error(p$2(311));et.lastRenderedReducer=_;var tt=et.dispatch,rt=et.pending,nt=j.memoizedState;if(rt!==null){et.pending=null;var it=rt=rt.next;do nt=_(nt,it.action),it=it.next;while(it!==rt);He(nt,j.memoizedState)||(dh=!0),j.memoizedState=nt,j.baseQueue===null&&(j.baseState=nt),et.lastRenderedState=nt}return[nt,tt]}function Yh(){}function Zh(_,j){var et=M,tt=Uh(),rt=j(),nt=!He(tt.memoizedState,rt);if(nt&&(tt.memoizedState=rt,dh=!0),tt=tt.queue,$h(ai.bind(null,et,tt,_),[_]),tt.getSnapshot!==j||nt||O!==null&&O.memoizedState.tag&1){if(et.flags|=2048,bi(9,ci.bind(null,et,tt,rt,j),void 0,null),Q===null)throw Error(p$2(349));Hh&30||di(et,j,rt)}return rt}function di(_,j,et){_.flags|=16384,_={getSnapshot:j,value:et},j=M.updateQueue,j===null?(j={lastEffect:null,stores:null},M.updateQueue=j,j.stores=[_]):(et=j.stores,et===null?j.stores=[_]:et.push(_))}function ci(_,j,et,tt){j.value=et,j.getSnapshot=tt,ei(j)&&fi(_)}function ai(_,j,et){return et(function(){ei(j)&&fi(_)})}function ei(_){var j=_.getSnapshot;_=_.value;try{var et=j();return!He(_,et)}catch{return!0}}function fi(_){var j=ih(_,1);j!==null&&gi(j,_,1,-1)}function hi(_){var j=Th();return typeof _=="function"&&(_=_()),j.memoizedState=j.baseState=_,_={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Vh,lastRenderedState:_},j.queue=_,_=_.dispatch=ii.bind(null,M,_),[j.memoizedState,_]}function bi(_,j,et,tt){return _={tag:_,create:j,destroy:et,deps:tt,next:null},j=M.updateQueue,j===null?(j={lastEffect:null,stores:null},M.updateQueue=j,j.lastEffect=_.next=_):(et=j.lastEffect,et===null?j.lastEffect=_.next=_:(tt=et.next,et.next=_,_.next=tt,j.lastEffect=_)),_}function ji(){return Uh().memoizedState}function ki(_,j,et,tt){var rt=Th();M.flags|=_,rt.memoizedState=bi(1|j,et,void 0,tt===void 0?null:tt)}function li(_,j,et,tt){var rt=Uh();tt=tt===void 0?null:tt;var nt=void 0;if(N$1!==null){var it=N$1.memoizedState;if(nt=it.destroy,tt!==null&&Mh(tt,it.deps)){rt.memoizedState=bi(j,et,nt,tt);return}}M.flags|=_,rt.memoizedState=bi(1|j,et,nt,tt)}function mi(_,j){return ki(8390656,8,_,j)}function $h(_,j){return li(2048,8,_,j)}function ni(_,j){return li(4,2,_,j)}function oi(_,j){return li(4,4,_,j)}function pi$2(_,j){if(typeof j=="function")return _=_(),j(_),function(){j(null)};if(j!=null)return _=_(),j.current=_,function(){j.current=null}}function qi(_,j,et){return et=et!=null?et.concat([_]):null,li(4,4,pi$2.bind(null,j,_),et)}function ri(){}function si(_,j){var et=Uh();j=j===void 0?null:j;var tt=et.memoizedState;return tt!==null&&j!==null&&Mh(j,tt[1])?tt[0]:(et.memoizedState=[_,j],_)}function ti(_,j){var et=Uh();j=j===void 0?null:j;var tt=et.memoizedState;return tt!==null&&j!==null&&Mh(j,tt[1])?tt[0]:(_=_(),et.memoizedState=[_,j],_)}function ui(_,j,et){return Hh&21?(He(et,j)||(et=yc(),M.lanes|=et,rh|=et,_.baseState=!0),j):(_.baseState&&(_.baseState=!1,dh=!0),_.memoizedState=et)}function vi(_,j){var et=C;C=et!==0&&4>et?et:4,_(!0);var tt=Gh.transition;Gh.transition={};try{_(!1),j()}finally{C=et,Gh.transition=tt}}function wi(){return Uh().memoizedState}function xi(_,j,et){var tt=yi(_);if(et={lane:tt,action:et,hasEagerState:!1,eagerState:null,next:null},zi(_))Ai(j,et);else if(et=hh(_,j,et,tt),et!==null){var rt=R();
vendor: 7,868 bytes, lines 38-40
38gi(et,_,tt,rt),Bi(et,j,tt)}}function ii(_,j,et){var tt=yi(_),rt={lane:tt,action:et,hasEagerState:!1,eagerState:null,next:null};if(zi(_))Ai(j,rt);else{var nt=_.alternate;if(_.lanes===0&&(nt===null||nt.lanes===0)&&(nt=j.lastRenderedReducer,nt!==null))try{var it=j.lastRenderedState,st=nt(it,et);if(rt.hasEagerState=!0,rt.eagerState=st,He(st,it)){var at=j.interleaved;at===null?(rt.next=rt,gh(j)):(rt.next=at.next,at.next=rt),j.interleaved=rt;return}}catch{}finally{}et=hh(_,j,rt,tt),et!==null&&(rt=R(),gi(et,_,tt,rt),Bi(et,j,tt))}}function zi(_){var j=_.alternate;return _===M||j!==null&&j===M}function Ai(_,j){Jh=Ih=!0;var et=_.pending;et===null?j.next=j:(j.next=et.next,et.next=j),_.pending=j}function Bi(_,j,et){if(et&4194240){var tt=j.lanes;tt&=_.pendingLanes,et|=tt,j.lanes=et,Cc(_,et)}}var Rh={readContext:eh,useCallback:P$2,useContext:P$2,useEffect:P$2,useImperativeHandle:P$2,useInsertionEffect:P$2,useLayoutEffect:P$2,useMemo:P$2,useReducer:P$2,useRef:P$2,useState:P$2,useDebugValue:P$2,useDeferredValue:P$2,useTransition:P$2,useMutableSource:P$2,useSyncExternalStore:P$2,useId:P$2,unstable_isNewReconciler:!1},Oh={readContext:eh,useCallback:function(_,j){return Th().memoizedState=[_,j===void 0?null:j],_},useContext:eh,useEffect:mi,useImperativeHandle:function(_,j,et){return et=et!=null?et.concat([_]):null,ki(4194308,4,pi$2.bind(null,j,_),et)},useLayoutEffect:function(_,j){return ki(4194308,4,_,j)},useInsertionEffect:function(_,j){return ki(4,2,_,j)},useMemo:function(_,j){var et=Th();return j=j===void 0?null:j,_=_(),et.memoizedState=[_,j],_},useReducer:function(_,j,et){var tt=Th();return j=et!==void 0?et(j):j,tt.memoizedState=tt.baseState=j,_={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:_,lastRenderedState:j},tt.queue=_,_=_.dispatch=xi.bind(null,M,_),[tt.memoizedState,_]},useRef:function(_){var j=Th();return _={current:_},j.memoizedState=_},useState:hi,useDebugValue:ri,useDeferredValue:function(_){return Th().memoizedState=_},useTransition:function(){var _=hi(!1),j=_[0];return _=vi.bind(null,_[1]),Th().memoizedState=_,[j,_]},useMutableSource:function(){},useSyncExternalStore:function(_,j,et){var tt=M,rt=Th();if(I){if(et===void 0)throw Error(p$2(407));et=et()}else{if(et=j(),Q===null)throw Error(p$2(349));Hh&30||di(tt,j,et)}rt.memoizedState=et;var nt={value:et,getSnapshot:j};return rt.queue=nt,mi(ai.bind(null,tt,nt,_),[_]),tt.flags|=2048,bi(9,ci.bind(null,tt,nt,et,j),void 0,null),et},useId:function(){var _=Th(),j=Q.identifierPrefix;if(I){var et=sg,tt=rg;et=(tt&~(1<<32-oc(tt)-1)).toString(32)+et,j=":"+j+"R"+et,et=Kh++,0<et&&(j+="H"+et.toString(32)),j+=":"}else et=Lh++,j=":"+j+"r"+et.toString(32)+":";return _.memoizedState=j},unstable_isNewReconciler:!1},Ph={readContext:eh,useCallback:si,useContext:eh,useEffect:$h,useImperativeHandle:qi,useInsertionEffect:ni,useLayoutEffect:oi,useMemo:ti,useReducer:Wh,useRef:ji,useState:function(){return Wh(Vh)},useDebugValue:ri,useDeferredValue:function(_){var j=Uh();return ui(j,N$1.memoizedState,_)},useTransition:function(){var _=Wh(Vh)[0],j=Uh().memoizedState;return[_,j]},useMutableSource:Yh,useSyncExternalStore:Zh,useId:wi,unstable_isNewReconciler:!1},Qh={readContext:eh,useCallback:si,useContext:eh,useEffect:$h,useImperativeHandle:qi,useInsertionEffect:ni,useLayoutEffect:oi,useMemo:ti,useReducer:Xh,useRef:ji,useState:function(){return Xh(Vh)},useDebugValue:ri,useDeferredValue:function(_){var j=Uh();return N$1===null?j.memoizedState=_:ui(j,N$1.memoizedState,_)},useTransition:function(){var _=Xh(Vh)[0],j=Uh().memoizedState;return[_,j]},useMutableSource:Yh,useSyncExternalStore:Zh,useId:wi,unstable_isNewReconciler:!1};function Ci(_,j){if(_&&_.defaultProps){j=A({},j),_=_.defaultProps;for(var et in _)j[et]===void 0&&(j[et]=_[et]);return j}return j}function Di(_,j,et,tt){j=_.memoizedState,et=et(tt,j),et=et==null?j:A({},j,et),_.memoizedState=et,_.lanes===0&&(_.updateQueue.baseState=et)}var Ei={isMounted:function(_){return(_=_._reactInternals)?Vb(_)===_:!1},enqueueSetState:function(_,j,et){_=_._reactInternals;var tt=R(),rt=yi(_),nt=mh(tt,rt);nt.payload=j,et!=null&&(nt.callback=et),j=nh(_,nt,rt),j!==null&&(gi(j,_,rt,tt),oh(j,_,rt))},enqueueReplaceState:function(_,j,et){_=_._reactInternals;var tt=R(),rt=yi(_),nt=mh(tt,rt);nt.tag=1,nt.payload=j,et!=null&&(nt.callback=et),j=nh(_,nt,rt),j!==null&&(gi(j,_,rt,tt),oh(j,_,rt))},enqueueForceUpdate:function(_,j){_=_._reactInternals;var et=R(),tt=yi(_),rt=mh(et,tt);rt.tag=2,j!=null&&(rt.callback=j),j=nh(_,rt,tt),j!==null&&(gi(j,_,tt,et),oh(j,_,tt))}};function Fi(_,j,et,tt,rt,nt,it){return _=_.stateNode,typeof _.shouldComponentUpdate=="function"?_.shouldComponentUpdate(tt,nt,it):j.prototype&&j.prototype.isPureReactComponent?!Ie$1(et,tt)||!Ie$1(rt,nt):!0}function Gi(_,j,et){var tt=!1,rt=Vf,nt=j.contextType;return typeof nt=="object"&&nt!==null?nt=eh(nt):(rt=Zf(j)?Xf:H$1.current,tt=j.contextTypes,nt=(tt=tt!=null)?Yf(_,rt):Vf),j=new j(et,nt),_.memoizedState=j.state!==null&&j.state!==void 0?j.state:null,j.updater=Ei,_.stateNode=j,j._reactInternals=_,tt&&(_=_.stateNode,_.__reactInternalMemoizedUnmaskedChildContext=rt,_.__reactInternalMemoizedMaskedChildContext=nt),j}function Hi(_,j,et,tt){_=j.state,typeof j.componentWillReceiveProps=="function"&&j.componentWillReceiveProps(et,tt),typeof j.UNSAFE_componentWillReceiveProps=="function"&&j.UNSAFE_componentWillReceiveProps(et,tt),j.state!==_&&Ei.enqueueReplaceState(j,j.state,null)}function Ii(_,j,et,tt){var rt=_.stateNode;rt.props=et,rt.state=_.memoizedState,rt.refs={},kh(_);var nt=j.contextType;typeof nt=="object"&&nt!==null?rt.context=eh(nt):(nt=Zf(j)?Xf:H$1.current,rt.context=Yf(_,nt)),rt.state=_.memoizedState,nt=j.getDerivedStateFromProps,typeof nt=="function"&&(Di(_,j,nt,et),rt.state=_.memoizedState),typeof j.getDerivedStateFromProps=="function"||typeof rt.getSnapshotBeforeUpdate=="function"||typeof rt.UNSAFE_componentWillMount!="function"&&typeof rt.componentWillMount!="function"||(j=rt.state,typeof rt.componentWillMount=="function"&&rt.componentWillMount(),typeof rt.UNSAFE_componentWillMount=="function"&&rt.UNSAFE_componentWillMount(),j!==rt.state&&Ei.enqueueReplaceState(rt,rt.state,null),qh(_,et,rt,tt),rt.state=_.memoizedState),typeof rt.componentDidMount=="function"&&(_.flags|=4194308)}function Ji(_,j){try{var et="",tt=j;do et+=Pa(tt),tt=tt.return;while(tt);var rt=et}catch(nt){rt=` 39Error generating stack: `+nt.message+` 40`+nt.stack}return{value:_,source:j,stack:rt,digest:null}}function Ki(_,j,et){return{value:_,source:null,stack:et??null,digest:j??null}}function Li(_,j){try{console.error(j.value)}catch(et){setTimeout(function(){throw et})}}var Mi=typeof WeakMap=="function"?WeakMap:Map;function Ni(_,j,et){et=mh(-1,et),et.tag=3,et.payload={element:null};var tt=j.value;return et.callback=function(){Oi||(Oi=!0,Pi=tt),Li(_,j)},et}function Qi(_,j,et){et=mh(-1,et),et.tag=3;var tt=_.type.getDerivedStateFromError;if(typeof tt=="function"){var rt=j.value;et.payload=function(){return tt(rt)},et.callback=function(){Li(_,j)}}var nt=_.stateNode;return nt!==null&&typeof nt.componentDidCatch=="function"&&(et.callback=function(){Li(_,j),typeof tt!="function"&&(Ri===null?Ri=new Set([this]):Ri.add(this));var it=j.stack;this.componentDidCatch(j.value,{componentStack:it!==null?it:""})}),et}function Si(_,j,et){var tt=_.pingCache;if(tt===null){tt=_.pingCache=new Mi;var rt=new Set;tt.set(j,rt)}else rt=tt.get(j),rt===void 0&&(rt=new Set,tt.set(j,rt));rt.has(et)||(rt.add(et),_=Ti.bind(null,_,j,et),j.then(_,_))}function Ui(_){do{var j;if((j=_.tag===13)&&(j=_.memoizedState,j=j!==null?j.dehydrated!==null:!0),j)return _;_=_.return}while(_!==null);return null}function Vi(_,j,et,tt,rt){return _.mode&1?(_.flags|=65536,_.lanes=rt,_):(_===j?_.flags|=65536:(_.flags|=128,et.flags|=131072,et.flags&=-52805,et.tag===1&&(et.alternate===null?et.tag=17:(j=mh(-1,1),j.tag=2,nh(et,j,1))),et.lanes|=1),_)}var Wi=ua.ReactCurrentOwner,dh=!1;
vendor: 6,531 bytes, line 40
40function Xi(_,j,et,tt){j.child=_===null?Vg(j,null,et,tt):Ug(j,_.child,et,tt)}function Yi(_,j,et,tt,rt){et=et.render;var nt=j.ref;return ch(j,rt),tt=Nh(_,j,et,tt,nt,rt),et=Sh(),_!==null&&!dh?(j.updateQueue=_.updateQueue,j.flags&=-2053,_.lanes&=~rt,Zi(_,j,rt)):(I&&et&&vg(j),j.flags|=1,Xi(_,j,tt,rt),j.child)}function $i(_,j,et,tt,rt){if(_===null){var nt=et.type;return typeof nt=="function"&&!aj(nt)&&nt.defaultProps===void 0&&et.compare===null&&et.defaultProps===void 0?(j.tag=15,j.type=nt,bj(_,j,nt,tt,rt)):(_=Rg(et.type,null,tt,j,j.mode,rt),_.ref=j.ref,_.return=j,j.child=_)}if(nt=_.child,!(_.lanes&rt)){var it=nt.memoizedProps;if(et=et.compare,et=et!==null?et:Ie$1,et(it,tt)&&_.ref===j.ref)return Zi(_,j,rt)}return j.flags|=1,_=Pg(nt,tt),_.ref=j.ref,_.return=j,j.child=_}function bj(_,j,et,tt,rt){if(_!==null){var nt=_.memoizedProps;if(Ie$1(nt,tt)&&_.ref===j.ref)if(dh=!1,j.pendingProps=tt=nt,(_.lanes&rt)!==0)_.flags&131072&&(dh=!0);else return j.lanes=_.lanes,Zi(_,j,rt)}return cj(_,j,et,tt,rt)}function dj(_,j,et){var tt=j.pendingProps,rt=tt.children,nt=_!==null?_.memoizedState:null;if(tt.mode==="hidden")if(!(j.mode&1))j.memoizedState={baseLanes:0,cachePool:null,transitions:null},G$1(ej,fj),fj|=et;else{if(!(et&1073741824))return _=nt!==null?nt.baseLanes|et:et,j.lanes=j.childLanes=1073741824,j.memoizedState={baseLanes:_,cachePool:null,transitions:null},j.updateQueue=null,G$1(ej,fj),fj|=_,null;j.memoizedState={baseLanes:0,cachePool:null,transitions:null},tt=nt!==null?nt.baseLanes:et,G$1(ej,fj),fj|=tt}else nt!==null?(tt=nt.baseLanes|et,j.memoizedState=null):tt=et,G$1(ej,fj),fj|=tt;return Xi(_,j,rt,et),j.child}function gj(_,j){var et=j.ref;(_===null&&et!==null||_!==null&&_.ref!==et)&&(j.flags|=512,j.flags|=2097152)}function cj(_,j,et,tt,rt){var nt=Zf(et)?Xf:H$1.current;return nt=Yf(j,nt),ch(j,rt),et=Nh(_,j,et,tt,nt,rt),tt=Sh(),_!==null&&!dh?(j.updateQueue=_.updateQueue,j.flags&=-2053,_.lanes&=~rt,Zi(_,j,rt)):(I&&tt&&vg(j),j.flags|=1,Xi(_,j,et,rt),j.child)}function hj(_,j,et,tt,rt){if(Zf(et)){var nt=!0;cg(j)}else nt=!1;if(ch(j,rt),j.stateNode===null)ij(_,j),Gi(j,et,tt),Ii(j,et,tt,rt),tt=!0;else if(_===null){var it=j.stateNode,st=j.memoizedProps;it.props=st;var at=it.context,ot=et.contextType;typeof ot=="object"&&ot!==null?ot=eh(ot):(ot=Zf(et)?Xf:H$1.current,ot=Yf(j,ot));var lt=et.getDerivedStateFromProps,ct=typeof lt=="function"||typeof it.getSnapshotBeforeUpdate=="function";ct||typeof it.UNSAFE_componentWillReceiveProps!="function"&&typeof it.componentWillReceiveProps!="function"||(st!==tt||at!==ot)&&Hi(j,it,tt,ot),jh=!1;var ut=j.memoizedState;it.state=ut,qh(j,tt,it,rt),at=j.memoizedState,st!==tt||ut!==at||Wf.current||jh?(typeof lt=="function"&&(Di(j,et,lt,tt),at=j.memoizedState),(st=jh||Fi(j,et,st,tt,ut,at,ot))?(ct||typeof it.UNSAFE_componentWillMount!="function"&&typeof it.componentWillMount!="function"||(typeof it.componentWillMount=="function"&&it.componentWillMount(),typeof it.UNSAFE_componentWillMount=="function"&&it.UNSAFE_componentWillMount()),typeof it.componentDidMount=="function"&&(j.flags|=4194308)):(typeof it.componentDidMount=="function"&&(j.flags|=4194308),j.memoizedProps=tt,j.memoizedState=at),it.props=tt,it.state=at,it.context=ot,tt=st):(typeof it.componentDidMount=="function"&&(j.flags|=4194308),tt=!1)}else{it=j.stateNode,lh(_,j),st=j.memoizedProps,ot=j.type===j.elementType?st:Ci(j.type,st),it.props=ot,ct=j.pendingProps,ut=it.context,at=et.contextType,typeof at=="object"&&at!==null?at=eh(at):(at=Zf(et)?Xf:H$1.current,at=Yf(j,at));var dt=et.getDerivedStateFromProps;(lt=typeof dt=="function"||typeof it.getSnapshotBeforeUpdate=="function")||typeof it.UNSAFE_componentWillReceiveProps!="function"&&typeof it.componentWillReceiveProps!="function"||(st!==ct||ut!==at)&&Hi(j,it,tt,at),jh=!1,ut=j.memoizedState,it.state=ut,qh(j,tt,it,rt);var ht=j.memoizedState;st!==ct||ut!==ht||Wf.current||jh?(typeof dt=="function"&&(Di(j,et,dt,tt),ht=j.memoizedState),(ot=jh||Fi(j,et,ot,tt,ut,ht,at)||!1)?(lt||typeof it.UNSAFE_componentWillUpdate!="function"&&typeof it.componentWillUpdate!="function"||(typeof it.componentWillUpdate=="function"&&it.componentWillUpdate(tt,ht,at),typeof it.UNSAFE_componentWillUpdate=="function"&&it.UNSAFE_componentWillUpdate(tt,ht,at)),typeof it.componentDidUpdate=="function"&&(j.flags|=4),typeof it.getSnapshotBeforeUpdate=="function"&&(j.flags|=1024)):(typeof it.componentDidUpdate!="function"||st===_.memoizedProps&&ut===_.memoizedState||(j.flags|=4),typeof it.getSnapshotBeforeUpdate!="function"||st===_.memoizedProps&&ut===_.memoizedState||(j.flags|=1024),j.memoizedProps=tt,j.memoizedState=ht),it.props=tt,it.state=ht,it.context=at,tt=ot):(typeof it.componentDidUpdate!="function"||st===_.memoizedProps&&ut===_.memoizedState||(j.flags|=4),typeof it.getSnapshotBeforeUpdate!="function"||st===_.memoizedProps&&ut===_.memoizedState||(j.flags|=1024),tt=!1)}return jj(_,j,et,tt,nt,rt)}function jj(_,j,et,tt,rt,nt){gj(_,j);var it=(j.flags&128)!==0;if(!tt&&!it)return rt&&dg(j,et,!1),Zi(_,j,nt);tt=j.stateNode,Wi.current=j;var st=it&&typeof et.getDerivedStateFromError!="function"?null:tt.render();return j.flags|=1,_!==null&&it?(j.child=Ug(j,_.child,null,nt),j.child=Ug(j,null,st,nt)):Xi(_,j,st,nt),j.memoizedState=tt.state,rt&&dg(j,et,!0),j.child}function kj(_){var j=_.stateNode;j.pendingContext?ag(_,j.pendingContext,j.pendingContext!==j.context):j.context&&ag(_,j.context,!1),yh(_,j.containerInfo)}function lj(_,j,et,tt,rt){return Ig(),Jg(rt),j.flags|=256,Xi(_,j,et,tt),j.child}var mj={dehydrated:null,treeContext:null,retryLane:0};function nj(_){return{baseLanes:_,cachePool:null,transitions:null}}function oj(_,j,et){var tt=j.pendingProps,rt=L$1.current,nt=!1,it=(j.flags&128)!==0,st;if((st=it)||(st=_!==null&&_.memoizedState===null?!1:(rt&2)!==0),st?(nt=!0,j.flags&=-129):(_===null||_.memoizedState!==null)&&(rt|=1),G$1(L$1,rt&1),_===null)return Eg(j),_=j.memoizedState,_!==null&&(_=_.dehydrated,_!==null)?(j.mode&1?_.data==="$!"?j.lanes=8:j.lanes=1073741824:j.lanes=1,null):(it=tt.children,_=tt.fallback,nt?(tt=j.mode,nt=j.child,it={mode:"hidden",children:it},!(tt&1)&&nt!==null?(nt.childLanes=0,nt.pendingProps=it):nt=pj(it,tt,0,null),_=Tg(_,tt,et,null),nt.return=j,_.return=j,nt.sibling=_,j.child=nt,j.child.memoizedState=nj(et),j.memoizedState=mj,_):qj(j,it));if(rt=_.memoizedState,rt!==null&&(st=rt.dehydrated,st!==null))return rj(_,j,it,tt,st,rt,et);if(nt){nt=tt.fallback,it=j.mode,rt=_.child,st=rt.sibling;var at={mode:"hidden",children:tt.children};return!(it&1)&&j.child!==rt?(tt=j.child,tt.childLanes=0,tt.pendingProps=at,j.deleti
vendor: 7,013 bytes, line 40
40ons=null):(tt=Pg(rt,at),tt.subtreeFlags=rt.subtreeFlags&14680064),st!==null?nt=Pg(st,nt):(nt=Tg(nt,it,et,null),nt.flags|=2),nt.return=j,tt.return=j,tt.sibling=nt,j.child=tt,tt=nt,nt=j.child,it=_.child.memoizedState,it=it===null?nj(et):{baseLanes:it.baseLanes|et,cachePool:null,transitions:it.transitions},nt.memoizedState=it,nt.childLanes=_.childLanes&~et,j.memoizedState=mj,tt}return nt=_.child,_=nt.sibling,tt=Pg(nt,{mode:"visible",children:tt.children}),!(j.mode&1)&&(tt.lanes=et),tt.return=j,tt.sibling=null,_!==null&&(et=j.deletions,et===null?(j.deletions=[_],j.flags|=16):et.push(_)),j.child=tt,j.memoizedState=null,tt}function qj(_,j){return j=pj({mode:"visible",children:j},_.mode,0,null),j.return=_,_.child=j}function sj(_,j,et,tt){return tt!==null&&Jg(tt),Ug(j,_.child,null,et),_=qj(j,j.pendingProps.children),_.flags|=2,j.memoizedState=null,_}function rj(_,j,et,tt,rt,nt,it){if(et)return j.flags&256?(j.flags&=-257,tt=Ki(Error(p$2(422))),sj(_,j,it,tt)):j.memoizedState!==null?(j.child=_.child,j.flags|=128,null):(nt=tt.fallback,rt=j.mode,tt=pj({mode:"visible",children:tt.children},rt,0,null),nt=Tg(nt,rt,it,null),nt.flags|=2,tt.return=j,nt.return=j,tt.sibling=nt,j.child=tt,j.mode&1&&Ug(j,_.child,null,it),j.child.memoizedState=nj(it),j.memoizedState=mj,nt);if(!(j.mode&1))return sj(_,j,it,null);if(rt.data==="$!"){if(tt=rt.nextSibling&&rt.nextSibling.dataset,tt)var st=tt.dgst;return tt=st,nt=Error(p$2(419)),tt=Ki(nt,tt,void 0),sj(_,j,it,tt)}if(st=(it&_.childLanes)!==0,dh||st){if(tt=Q,tt!==null){switch(it&-it){case 4:rt=2;break;case 16:rt=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:rt=32;break;case 536870912:rt=268435456;break;default:rt=0}rt=rt&(tt.suspendedLanes|it)?0:rt,rt!==0&&rt!==nt.retryLane&&(nt.retryLane=rt,ih(_,rt),gi(tt,_,rt,-1))}return tj(),tt=Ki(Error(p$2(421))),sj(_,j,it,tt)}return rt.data==="$?"?(j.flags|=128,j.child=_.child,j=uj.bind(null,_),rt._reactRetry=j,null):(_=nt.treeContext,yg=Lf(rt.nextSibling),xg=j,I=!0,zg=null,_!==null&&(og[pg++]=rg,og[pg++]=sg,og[pg++]=qg,rg=_.id,sg=_.overflow,qg=j),j=qj(j,tt.children),j.flags|=4096,j)}function vj(_,j,et){_.lanes|=j;var tt=_.alternate;tt!==null&&(tt.lanes|=j),bh(_.return,j,et)}function wj(_,j,et,tt,rt){var nt=_.memoizedState;nt===null?_.memoizedState={isBackwards:j,rendering:null,renderingStartTime:0,last:tt,tail:et,tailMode:rt}:(nt.isBackwards=j,nt.rendering=null,nt.renderingStartTime=0,nt.last=tt,nt.tail=et,nt.tailMode=rt)}function xj(_,j,et){var tt=j.pendingProps,rt=tt.revealOrder,nt=tt.tail;if(Xi(_,j,tt.children,et),tt=L$1.current,tt&2)tt=tt&1|2,j.flags|=128;else{if(_!==null&&_.flags&128)e:for(_=j.child;_!==null;){if(_.tag===13)_.memoizedState!==null&&vj(_,et,j);else if(_.tag===19)vj(_,et,j);else if(_.child!==null){_.child.return=_,_=_.child;continue}if(_===j)break e;for(;_.sibling===null;){if(_.return===null||_.return===j)break e;_=_.return}_.sibling.return=_.return,_=_.sibling}tt&=1}if(G$1(L$1,tt),!(j.mode&1))j.memoizedState=null;else switch(rt){case"forwards":for(et=j.child,rt=null;et!==null;)_=et.alternate,_!==null&&Ch(_)===null&&(rt=et),et=et.sibling;et=rt,et===null?(rt=j.child,j.child=null):(rt=et.sibling,et.sibling=null),wj(j,!1,rt,et,nt);break;case"backwards":for(et=null,rt=j.child,j.child=null;rt!==null;){if(_=rt.alternate,_!==null&&Ch(_)===null){j.child=rt;break}_=rt.sibling,rt.sibling=et,et=rt,rt=_}wj(j,!0,et,null,nt);break;case"together":wj(j,!1,null,null,void 0);break;default:j.memoizedState=null}return j.child}function ij(_,j){!(j.mode&1)&&_!==null&&(_.alternate=null,j.alternate=null,j.flags|=2)}function Zi(_,j,et){if(_!==null&&(j.dependencies=_.dependencies),rh|=j.lanes,!(et&j.childLanes))return null;if(_!==null&&j.child!==_.child)throw Error(p$2(153));if(j.child!==null){for(_=j.child,et=Pg(_,_.pendingProps),j.child=et,et.return=j;_.sibling!==null;)_=_.sibling,et=et.sibling=Pg(_,_.pendingProps),et.return=j;et.sibling=null}return j.child}function yj(_,j,et){switch(j.tag){case 3:kj(j),Ig();break;case 5:Ah(j);break;case 1:Zf(j.type)&&cg(j);break;case 4:yh(j,j.stateNode.containerInfo);break;case 10:var tt=j.type._context,rt=j.memoizedProps.value;G$1(Wg,tt._currentValue),tt._currentValue=rt;break;case 13:if(tt=j.memoizedState,tt!==null)return tt.dehydrated!==null?(G$1(L$1,L$1.current&1),j.flags|=128,null):et&j.child.childLanes?oj(_,j,et):(G$1(L$1,L$1.current&1),_=Zi(_,j,et),_!==null?_.sibling:null);G$1(L$1,L$1.current&1);break;case 19:if(tt=(et&j.childLanes)!==0,_.flags&128){if(tt)return xj(_,j,et);j.flags|=128}if(rt=j.memoizedState,rt!==null&&(rt.rendering=null,rt.tail=null,rt.lastEffect=null),G$1(L$1,L$1.current),tt)break;return null;case 22:case 23:return j.lanes=0,dj(_,j,et)}return Zi(_,j,et)}var zj,Aj,Bj,Cj;zj=function(_,j){for(var et=j.child;et!==null;){if(et.tag===5||et.tag===6)_.appendChild(et.stateNode);else if(et.tag!==4&&et.child!==null){et.child.return=et,et=et.child;continue}if(et===j)break;for(;et.sibling===null;){if(et.return===null||et.return===j)return;et=et.return}et.sibling.return=et.return,et=et.sibling}};Aj=function(){};Bj=function(_,j,et,tt){var rt=_.memoizedProps;if(rt!==tt){_=j.stateNode,xh(uh.current);var nt=null;switch(et){case"input":rt=Ya(_,rt),tt=Ya(_,tt),nt=[];break;case"select":rt=A({},rt,{value:void 0}),tt=A({},tt,{value:void 0}),nt=[];break;case"textarea":rt=gb(_,rt),tt=gb(_,tt),nt=[];break;default:typeof rt.onClick!="function"&&typeof tt.onClick=="function"&&(_.onclick=Bf)}ub(et,tt);var it;et=null;for(ot in rt)if(!tt.hasOwnProperty(ot)&&rt.hasOwnProperty(ot)&&rt[ot]!=null)if(ot==="style"){var st=rt[ot];for(it in st)st.hasOwnProperty(it)&&(et||(et={}),et[it]="")}else ot!=="dangerouslySetInnerHTML"&&ot!=="children"&&ot!=="suppressContentEditableWarning"&&ot!=="suppressHydrationWarning"&&ot!=="autoFocus"&&(ea.hasOwnProperty(ot)?nt||(nt=[]):(nt=nt||[]).push(ot,null));for(ot in tt){var at=tt[ot];if(st=rt!=null?rt[ot]:void 0,tt.hasOwnProperty(ot)&&at!==st&&(at!=null||st!=null))if(ot==="style")if(st){for(it in st)!st.hasOwnProperty(it)||at&&at.hasOwnProperty(it)||(et||(et={}),et[it]="");for(it in at)at.hasOwnProperty(it)&&st[it]!==at[it]&&(et||(et={}),et[it]=at[it])}else et||(nt||(nt=[]),nt.push(ot,et)),et=at;else ot==="dangerouslySetInnerHTML"?(at=at?at.__html:void 0,st=st?st.__html:void 0,at!=null&&st!==at&&(nt=nt||[]).push(ot,at)):ot==="children"?typeof at!="string"&&typeof at!="number"||(nt=nt||[]).push(ot,""+at):ot!=="suppressContentEditableWarning"&&ot!=="suppressHydrationWarning"&&(ea.hasOwnProperty(ot)?(at!=null&&ot==="onScroll"&&D$1("scroll",_),nt||st===at||(nt=[])):(nt=nt||[]).push(ot,at))}et&&(nt=nt||[]).push("style",et);var ot=nt;(j.updateQueue=ot)&&(j.flags|=4)}};Cj=function(_,j,et,tt){et!==tt&&(j.flags|=4)};function Dj(_,j){if(!I)switch(_.tailMode){case"hidden":j=_.tail;for(var et=null;j!==null;)j.alternate!==null&&(et=j),j=j.sibling;et===null?_.tail=null:et.sibling=null;break;
vendor: 8,960 bytes, line 40
40case"collapsed":et=_.tail;for(var tt=null;et!==null;)et.alternate!==null&&(tt=et),et=et.sibling;tt===null?j||_.tail===null?_.tail=null:_.tail.sibling=null:tt.sibling=null}}function S(_){var j=_.alternate!==null&&_.alternate.child===_.child,et=0,tt=0;if(j)for(var rt=_.child;rt!==null;)et|=rt.lanes|rt.childLanes,tt|=rt.subtreeFlags&14680064,tt|=rt.flags&14680064,rt.return=_,rt=rt.sibling;else for(rt=_.child;rt!==null;)et|=rt.lanes|rt.childLanes,tt|=rt.subtreeFlags,tt|=rt.flags,rt.return=_,rt=rt.sibling;return _.subtreeFlags|=tt,_.childLanes=et,j}function Ej(_,j,et){var tt=j.pendingProps;switch(wg(j),j.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return S(j),null;case 1:return Zf(j.type)&&$f(),S(j),null;case 3:return tt=j.stateNode,zh(),E(Wf),E(H$1),Eh(),tt.pendingContext&&(tt.context=tt.pendingContext,tt.pendingContext=null),(_===null||_.child===null)&&(Gg(j)?j.flags|=4:_===null||_.memoizedState.isDehydrated&&!(j.flags&256)||(j.flags|=1024,zg!==null&&(Fj(zg),zg=null))),Aj(_,j),S(j),null;case 5:Bh(j);var rt=xh(wh.current);if(et=j.type,_!==null&&j.stateNode!=null)Bj(_,j,et,tt,rt),_.ref!==j.ref&&(j.flags|=512,j.flags|=2097152);else{if(!tt){if(j.stateNode===null)throw Error(p$2(166));return S(j),null}if(_=xh(uh.current),Gg(j)){tt=j.stateNode,et=j.type;var nt=j.memoizedProps;switch(tt[Of]=j,tt[Pf]=nt,_=(j.mode&1)!==0,et){case"dialog":D$1("cancel",tt),D$1("close",tt);break;case"iframe":case"object":case"embed":D$1("load",tt);break;case"video":case"audio":for(rt=0;rt<lf.length;rt++)D$1(lf[rt],tt);break;case"source":D$1("error",tt);break;case"img":case"image":case"link":D$1("error",tt),D$1("load",tt);break;case"details":D$1("toggle",tt);break;case"input":Za(tt,nt),D$1("invalid",tt);break;case"select":tt._wrapperState={wasMultiple:!!nt.multiple},D$1("invalid",tt);break;case"textarea":hb(tt,nt),D$1("invalid",tt)}ub(et,nt),rt=null;for(var it in nt)if(nt.hasOwnProperty(it)){var st=nt[it];it==="children"?typeof st=="string"?tt.textContent!==st&&(nt.suppressHydrationWarning!==!0&&Af(tt.textContent,st,_),rt=["children",st]):typeof st=="number"&&tt.textContent!==""+st&&(nt.suppressHydrationWarning!==!0&&Af(tt.textContent,st,_),rt=["children",""+st]):ea.hasOwnProperty(it)&&st!=null&&it==="onScroll"&&D$1("scroll",tt)}switch(et){case"input":Va(tt),db(tt,nt,!0);break;case"textarea":Va(tt),jb(tt);break;case"select":case"option":break;default:typeof nt.onClick=="function"&&(tt.onclick=Bf)}tt=rt,j.updateQueue=tt,tt!==null&&(j.flags|=4)}else{it=rt.nodeType===9?rt:rt.ownerDocument,_==="http://www.w3.org/1999/xhtml"&&(_=kb(et)),_==="http://www.w3.org/1999/xhtml"?et==="script"?(_=it.createElement("div"),_.innerHTML="<script><\/script>",_=_.removeChild(_.firstChild)):typeof tt.is=="string"?_=it.createElement(et,{is:tt.is}):(_=it.createElement(et),et==="select"&&(it=_,tt.multiple?it.multiple=!0:tt.size&&(it.size=tt.size))):_=it.createElementNS(_,et),_[Of]=j,_[Pf]=tt,zj(_,j,!1,!1),j.stateNode=_;e:{switch(it=vb(et,tt),et){case"dialog":D$1("cancel",_),D$1("close",_),rt=tt;break;case"iframe":case"object":case"embed":D$1("load",_),rt=tt;break;case"video":case"audio":for(rt=0;rt<lf.length;rt++)D$1(lf[rt],_);rt=tt;break;case"source":D$1("error",_),rt=tt;break;case"img":case"image":case"link":D$1("error",_),D$1("load",_),rt=tt;break;case"details":D$1("toggle",_),rt=tt;break;case"input":Za(_,tt),rt=Ya(_,tt),D$1("invalid",_);break;case"option":rt=tt;break;case"select":_._wrapperState={wasMultiple:!!tt.multiple},rt=A({},tt,{value:void 0}),D$1("invalid",_);break;case"textarea":hb(_,tt),rt=gb(_,tt),D$1("invalid",_);break;default:rt=tt}ub(et,rt),st=rt;for(nt in st)if(st.hasOwnProperty(nt)){var at=st[nt];nt==="style"?sb(_,at):nt==="dangerouslySetInnerHTML"?(at=at?at.__html:void 0,at!=null&&nb(_,at)):nt==="children"?typeof at=="string"?(et!=="textarea"||at!=="")&&ob(_,at):typeof at=="number"&&ob(_,""+at):nt!=="suppressContentEditableWarning"&&nt!=="suppressHydrationWarning"&&nt!=="autoFocus"&&(ea.hasOwnProperty(nt)?at!=null&&nt==="onScroll"&&D$1("scroll",_):at!=null&&ta(_,nt,at,it))}switch(et){case"input":Va(_),db(_,tt,!1);break;case"textarea":Va(_),jb(_);break;case"option":tt.value!=null&&_.setAttribute("value",""+Sa(tt.value));break;case"select":_.multiple=!!tt.multiple,nt=tt.value,nt!=null?fb(_,!!tt.multiple,nt,!1):tt.defaultValue!=null&&fb(_,!!tt.multiple,tt.defaultValue,!0);break;default:typeof rt.onClick=="function"&&(_.onclick=Bf)}switch(et){case"button":case"input":case"select":case"textarea":tt=!!tt.autoFocus;break e;case"img":tt=!0;break e;default:tt=!1}}tt&&(j.flags|=4)}j.ref!==null&&(j.flags|=512,j.flags|=2097152)}return S(j),null;case 6:if(_&&j.stateNode!=null)Cj(_,j,_.memoizedProps,tt);else{if(typeof tt!="string"&&j.stateNode===null)throw Error(p$2(166));if(et=xh(wh.current),xh(uh.current),Gg(j)){if(tt=j.stateNode,et=j.memoizedProps,tt[Of]=j,(nt=tt.nodeValue!==et)&&(_=xg,_!==null))switch(_.tag){case 3:Af(tt.nodeValue,et,(_.mode&1)!==0);break;case 5:_.memoizedProps.suppressHydrationWarning!==!0&&Af(tt.nodeValue,et,(_.mode&1)!==0)}nt&&(j.flags|=4)}else tt=(et.nodeType===9?et:et.ownerDocument).createTextNode(tt),tt[Of]=j,j.stateNode=tt}return S(j),null;case 13:if(E(L$1),tt=j.memoizedState,_===null||_.memoizedState!==null&&_.memoizedState.dehydrated!==null){if(I&&yg!==null&&j.mode&1&&!(j.flags&128))Hg(),Ig(),j.flags|=98560,nt=!1;else if(nt=Gg(j),tt!==null&&tt.dehydrated!==null){if(_===null){if(!nt)throw Error(p$2(318));if(nt=j.memoizedState,nt=nt!==null?nt.dehydrated:null,!nt)throw Error(p$2(317));nt[Of]=j}else Ig(),!(j.flags&128)&&(j.memoizedState=null),j.flags|=4;S(j),nt=!1}else zg!==null&&(Fj(zg),zg=null),nt=!0;if(!nt)return j.flags&65536?j:null}return j.flags&128?(j.lanes=et,j):(tt=tt!==null,tt!==(_!==null&&_.memoizedState!==null)&&tt&&(j.child.flags|=8192,j.mode&1&&(_===null||L$1.current&1?T$1===0&&(T$1=3):tj())),j.updateQueue!==null&&(j.flags|=4),S(j),null);case 4:return zh(),Aj(_,j),_===null&&sf(j.stateNode.containerInfo),S(j),null;case 10:return ah(j.type._context),S(j),null;case 17:return Zf(j.type)&&$f(),S(j),null;case 19:if(E(L$1),nt=j.memoizedState,nt===null)return S(j),null;if(tt=(j.flags&128)!==0,it=nt.rendering,it===null)if(tt)Dj(nt,!1);else{if(T$1!==0||_!==null&&_.flags&128)for(_=j.child;_!==null;){if(it=Ch(_),it!==null){for(j.flags|=128,Dj(nt,!1),tt=it.updateQueue,tt!==null&&(j.updateQueue=tt,j.flags|=4),j.subtreeFlags=0,tt=et,et=j.child;et!==null;)nt=et,_=tt,nt.flags&=14680066,it=nt.alternate,it===null?(nt.childLanes=0,nt.lanes=_,nt.child=null,nt.subtreeFlags=0,nt.memoizedProps=null,nt.memoizedState=null,nt.updateQueue=null,nt.dependencies=null,nt.stateNode=null):(nt.childLanes=it.childLanes,nt.lanes=it.lanes,nt.child=it.child,nt.subtreeFlags=0,nt.deletions=null,nt.memoizedProps=it.memoizedProps,nt.memoizedState=it.memoizedState,nt.updateQueue=it.updateQueue,nt.type=it.type,_=it.dependencies,nt.dependencies=_===null?null:{lanes:_.lanes,firstContext:_.firstContext}),et=et.sibling;return G$1(L$1,L$1.current&1|2),j.child}_=_.sibling}nt.tail!==null&&B$2()>Gj&&(j.flags|=128,tt=!0,Dj(nt,!1),j.lanes=4194304)}else{if(!tt)if(_=Ch(it),_!==null){if(j.flags|=128,tt=!0,et=_.updateQueue,et!==null&&(j.updateQueue=et,j.flags|=4),Dj(nt,!0),nt.tail===null&&nt.tailMode==="hidden"&&!it.alternate&&!I)return S(j),null}else 2*B$2()-nt.renderingStartTime>Gj&&et!==1073741824&&(j.flags|=128,tt=!0,Dj(nt,!1),j.lanes=4194304);nt.isBackwards?(it.sibling=j.child,j.child=it):(et=nt.last,et!==null?et.sibling=it:j.child=it,nt.last=it)}return nt.tail!==null?(j=nt.tail,nt.rendering=j,nt.tail=j.sibling,nt.renderingStartTime=B$2(),j.sibling=null,et=L$1.current,G$1(L$1,tt?et&1|2:et&1),j):(S(j),null);case 22:case 23:return Hj(),tt=j.memoizedState!==null,_!==null&&_.memoizedState!==null!==tt&&(j.flags|=8192),tt&&j.mode&1?fj&1073741824&&(S(j),j.subtreeFlags&6&&(j.flags|=8192)):S(j),null;case 24:return null;case 25:return null}throw Error(p$2(156,j.tag))}function Ij(_,j){switch(wg(j),j.tag){case 1:return Zf(j.type)&&$f(),_=j.flags,_&65536?(j.flags=_&-65537|128,j):null;case 3:return zh(),E(Wf),E(H$1),Eh(),_=j.flags,_&65536&&!(_&128)?(j.flags=_&-65537|128,j):null;case 5:return Bh(j),null;case 13:if(E(L$1),_=j.memoizedState,_!==null&&_.dehydrated!==null){if(j.alternate===null)throw Error(p$2(340));Ig()}return _=j.flags,_&65536?(j.flags=_&-65537|128,j):null;case 19:return E(L$1),null;case 4:return zh(),null;case 10:return ah(j.type._context),null;case 22:case 23:return Hj(),null;case 24:return null;default:return null}}var Jj=!1,U$1=!1,Kj=typeof WeakSet=="function"?WeakSet:Set,V=null;function Lj(_,j){var et=_.ref;if(et!==null)if(typeof et=="function")try{et(null)}catch(tt){W$1(_,j,tt)}else et.current=null}function Mj(_,j,et){try{et()}catch(tt){W$1(_,j,tt)}}var Nj=!1;function Oj(_,j){if(Cf=dd,_=Me$1(),Ne(_)){if("selectionStart"in _)var et={start:_.selectionStart,end:_.selectionEnd};else e:{et=(et=_.ownerDocument)&&et.defaultView||window;var tt=et.getSelection&&et.getSelection();if(tt&&tt.rangeCount!==0){et=tt.anchorNode;
vendor: 4,516 bytes, line 40
40var rt=tt.anchorOffset,nt=tt.focusNode;tt=tt.focusOffset;try{et.nodeType,nt.nodeType}catch{et=null;break e}var it=0,st=-1,at=-1,ot=0,lt=0,ct=_,ut=null;t:for(;;){for(var dt;ct!==et||rt!==0&&ct.nodeType!==3||(st=it+rt),ct!==nt||tt!==0&&ct.nodeType!==3||(at=it+tt),ct.nodeType===3&&(it+=ct.nodeValue.length),(dt=ct.firstChild)!==null;)ut=ct,ct=dt;for(;;){if(ct===_)break t;if(ut===et&&++ot===rt&&(st=it),ut===nt&&++lt===tt&&(at=it),(dt=ct.nextSibling)!==null)break;ct=ut,ut=ct.parentNode}ct=dt}et=st===-1||at===-1?null:{start:st,end:at}}else et=null}et=et||{start:0,end:0}}else et=null;for(Df={focusedElem:_,selectionRange:et},dd=!1,V=j;V!==null;)if(j=V,_=j.child,(j.subtreeFlags&1028)!==0&&_!==null)_.return=j,V=_;else for(;V!==null;){j=V;try{var ht=j.alternate;if(j.flags&1024)switch(j.tag){case 0:case 11:case 15:break;case 1:if(ht!==null){var pt=ht.memoizedProps,gt=ht.memoizedState,ft=j.stateNode,mt=ft.getSnapshotBeforeUpdate(j.elementType===j.type?pt:Ci(j.type,pt),gt);ft.__reactInternalSnapshotBeforeUpdate=mt}break;case 3:var xt=j.stateNode.containerInfo;xt.nodeType===1?xt.textContent="":xt.nodeType===9&&xt.documentElement&&xt.removeChild(xt.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p$2(163))}}catch(yt){W$1(j,j.return,yt)}if(_=j.sibling,_!==null){_.return=j.return,V=_;break}V=j.return}return ht=Nj,Nj=!1,ht}function Pj(_,j,et){var tt=j.updateQueue;if(tt=tt!==null?tt.lastEffect:null,tt!==null){var rt=tt=tt.next;do{if((rt.tag&_)===_){var nt=rt.destroy;rt.destroy=void 0,nt!==void 0&&Mj(j,et,nt)}rt=rt.next}while(rt!==tt)}}function Qj(_,j){if(j=j.updateQueue,j=j!==null?j.lastEffect:null,j!==null){var et=j=j.next;do{if((et.tag&_)===_){var tt=et.create;et.destroy=tt()}et=et.next}while(et!==j)}}function Rj(_){var j=_.ref;if(j!==null){var et=_.stateNode;switch(_.tag){case 5:_=et;break;default:_=et}typeof j=="function"?j(_):j.current=_}}function Sj(_){var j=_.alternate;j!==null&&(_.alternate=null,Sj(j)),_.child=null,_.deletions=null,_.sibling=null,_.tag===5&&(j=_.stateNode,j!==null&&(delete j[Of],delete j[Pf],delete j[of],delete j[Qf],delete j[Rf])),_.stateNode=null,_.return=null,_.dependencies=null,_.memoizedProps=null,_.memoizedState=null,_.pendingProps=null,_.stateNode=null,_.updateQueue=null}function Tj(_){return _.tag===5||_.tag===3||_.tag===4}function Uj(_){e:for(;;){for(;_.sibling===null;){if(_.return===null||Tj(_.return))return null;_=_.return}for(_.sibling.return=_.return,_=_.sibling;_.tag!==5&&_.tag!==6&&_.tag!==18;){if(_.flags&2||_.child===null||_.tag===4)continue e;_.child.return=_,_=_.child}if(!(_.flags&2))return _.stateNode}}function Vj(_,j,et){var tt=_.tag;if(tt===5||tt===6)_=_.stateNode,j?et.nodeType===8?et.parentNode.insertBefore(_,j):et.insertBefore(_,j):(et.nodeType===8?(j=et.parentNode,j.insertBefore(_,et)):(j=et,j.appendChild(_)),et=et._reactRootContainer,et!=null||j.onclick!==null||(j.onclick=Bf));else if(tt!==4&&(_=_.child,_!==null))for(Vj(_,j,et),_=_.sibling;_!==null;)Vj(_,j,et),_=_.sibling}function Wj(_,j,et){var tt=_.tag;if(tt===5||tt===6)_=_.stateNode,j?et.insertBefore(_,j):et.appendChild(_);else if(tt!==4&&(_=_.child,_!==null))for(Wj(_,j,et),_=_.sibling;_!==null;)Wj(_,j,et),_=_.sibling}var X$2=null,Xj=!1;function Yj(_,j,et){for(et=et.child;et!==null;)Zj(_,j,et),et=et.sibling}function Zj(_,j,et){if(lc&&typeof lc.onCommitFiberUnmount=="function")try{lc.onCommitFiberUnmount(kc,et)}catch{}switch(et.tag){case 5:U$1||Lj(et,j);case 6:var tt=X$2,rt=Xj;X$2=null,Yj(_,j,et),X$2=tt,Xj=rt,X$2!==null&&(Xj?(_=X$2,et=et.stateNode,_.nodeType===8?_.parentNode.removeChild(et):_.removeChild(et)):X$2.removeChild(et.stateNode));break;case 18:X$2!==null&&(Xj?(_=X$2,et=et.stateNode,_.nodeType===8?Kf(_.parentNode,et):_.nodeType===1&&Kf(_,et),bd(_)):Kf(X$2,et.stateNode));break;case 4:tt=X$2,rt=Xj,X$2=et.stateNode.containerInfo,Xj=!0,Yj(_,j,et),X$2=tt,Xj=rt;break;case 0:case 11:case 14:case 15:if(!U$1&&(tt=et.updateQueue,tt!==null&&(tt=tt.lastEffect,tt!==null))){rt=tt=tt.next;do{var nt=rt,it=nt.destroy;nt=nt.tag,it!==void 0&&(nt&2||nt&4)&&Mj(et,j,it),rt=rt.next}while(rt!==tt)}Yj(_,j,et);break;case 1:if(!U$1&&(Lj(et,j),tt=et.stateNode,typeof tt.componentWillUnmount=="function"))try{tt.props=et.memoizedProps,tt.state=et.memoizedState,tt.componentWillUnmount()}catch(st){W$1(et,j,st)}Yj(_,j,et);break;case 21:Yj(_,j,et);break;case 22:et.mode&1?(U$1=(tt=U$1)||et.memoizedState!==null,Yj(_,j,et),U$1=tt):Yj(_,j,et);break;default:Yj(_,j,et)}}function ak(_){var j=_.updateQueue;if(j!==null){_.updateQueue=null;var et=_.stateNode;
vendor: 21,814 bytes, line 40
40et===null&&(et=_.stateNode=new Kj),j.forEach(function(tt){var rt=bk.bind(null,_,tt);et.has(tt)||(et.add(tt),tt.then(rt,rt))})}}function ck(_,j){var et=j.deletions;if(et!==null)for(var tt=0;tt<et.length;tt++){var rt=et[tt];try{var nt=_,it=j,st=it;e:for(;st!==null;){switch(st.tag){case 5:X$2=st.stateNode,Xj=!1;break e;case 3:X$2=st.stateNode.containerInfo,Xj=!0;break e;case 4:X$2=st.stateNode.containerInfo,Xj=!0;break e}st=st.return}if(X$2===null)throw Error(p$2(160));Zj(nt,it,rt),X$2=null,Xj=!1;var at=rt.alternate;at!==null&&(at.return=null),rt.return=null}catch(ot){W$1(rt,j,ot)}}if(j.subtreeFlags&12854)for(j=j.child;j!==null;)dk(j,_),j=j.sibling}function dk(_,j){var et=_.alternate,tt=_.flags;switch(_.tag){case 0:case 11:case 14:case 15:if(ck(j,_),ek(_),tt&4){try{Pj(3,_,_.return),Qj(3,_)}catch(pt){W$1(_,_.return,pt)}try{Pj(5,_,_.return)}catch(pt){W$1(_,_.return,pt)}}break;case 1:ck(j,_),ek(_),tt&512&&et!==null&&Lj(et,et.return);break;case 5:if(ck(j,_),ek(_),tt&512&&et!==null&&Lj(et,et.return),_.flags&32){var rt=_.stateNode;try{ob(rt,"")}catch(pt){W$1(_,_.return,pt)}}if(tt&4&&(rt=_.stateNode,rt!=null)){var nt=_.memoizedProps,it=et!==null?et.memoizedProps:nt,st=_.type,at=_.updateQueue;if(_.updateQueue=null,at!==null)try{st==="input"&&nt.type==="radio"&&nt.name!=null&&ab(rt,nt),vb(st,it);var ot=vb(st,nt);for(it=0;it<at.length;it+=2){var lt=at[it],ct=at[it+1];lt==="style"?sb(rt,ct):lt==="dangerouslySetInnerHTML"?nb(rt,ct):lt==="children"?ob(rt,ct):ta(rt,lt,ct,ot)}switch(st){case"input":bb(rt,nt);break;case"textarea":ib(rt,nt);break;case"select":var ut=rt._wrapperState.wasMultiple;rt._wrapperState.wasMultiple=!!nt.multiple;var dt=nt.value;dt!=null?fb(rt,!!nt.multiple,dt,!1):ut!==!!nt.multiple&&(nt.defaultValue!=null?fb(rt,!!nt.multiple,nt.defaultValue,!0):fb(rt,!!nt.multiple,nt.multiple?[]:"",!1))}rt[Pf]=nt}catch(pt){W$1(_,_.return,pt)}}break;case 6:if(ck(j,_),ek(_),tt&4){if(_.stateNode===null)throw Error(p$2(162));rt=_.stateNode,nt=_.memoizedProps;try{rt.nodeValue=nt}catch(pt){W$1(_,_.return,pt)}}break;case 3:if(ck(j,_),ek(_),tt&4&&et!==null&&et.memoizedState.isDehydrated)try{bd(j.containerInfo)}catch(pt){W$1(_,_.return,pt)}break;case 4:ck(j,_),ek(_);break;case 13:ck(j,_),ek(_),rt=_.child,rt.flags&8192&&(nt=rt.memoizedState!==null,rt.stateNode.isHidden=nt,!nt||rt.alternate!==null&&rt.alternate.memoizedState!==null||(fk=B$2())),tt&4&&ak(_);break;case 22:if(lt=et!==null&&et.memoizedState!==null,_.mode&1?(U$1=(ot=U$1)||lt,ck(j,_),U$1=ot):ck(j,_),ek(_),tt&8192){if(ot=_.memoizedState!==null,(_.stateNode.isHidden=ot)&&!lt&&_.mode&1)for(V=_,lt=_.child;lt!==null;){for(ct=V=lt;V!==null;){switch(ut=V,dt=ut.child,ut.tag){case 0:case 11:case 14:case 15:Pj(4,ut,ut.return);break;case 1:Lj(ut,ut.return);var ht=ut.stateNode;if(typeof ht.componentWillUnmount=="function"){tt=ut,et=ut.return;try{j=tt,ht.props=j.memoizedProps,ht.state=j.memoizedState,ht.componentWillUnmount()}catch(pt){W$1(tt,et,pt)}}break;case 5:Lj(ut,ut.return);break;case 22:if(ut.memoizedState!==null){gk(ct);continue}}dt!==null?(dt.return=ut,V=dt):gk(ct)}lt=lt.sibling}e:for(lt=null,ct=_;;){if(ct.tag===5){if(lt===null){lt=ct;try{rt=ct.stateNode,ot?(nt=rt.style,typeof nt.setProperty=="function"?nt.setProperty("display","none","important"):nt.display="none"):(st=ct.stateNode,at=ct.memoizedProps.style,it=at!=null&&at.hasOwnProperty("display")?at.display:null,st.style.display=rb("display",it))}catch(pt){W$1(_,_.return,pt)}}}else if(ct.tag===6){if(lt===null)try{ct.stateNode.nodeValue=ot?"":ct.memoizedProps}catch(pt){W$1(_,_.return,pt)}}else if((ct.tag!==22&&ct.tag!==23||ct.memoizedState===null||ct===_)&&ct.child!==null){ct.child.return=ct,ct=ct.child;continue}if(ct===_)break e;for(;ct.sibling===null;){if(ct.return===null||ct.return===_)break e;lt===ct&&(lt=null),ct=ct.return}lt===ct&&(lt=null),ct.sibling.return=ct.return,ct=ct.sibling}}break;case 19:ck(j,_),ek(_),tt&4&&ak(_);break;case 21:break;default:ck(j,_),ek(_)}}function ek(_){var j=_.flags;if(j&2){try{e:{for(var et=_.return;et!==null;){if(Tj(et)){var tt=et;break e}et=et.return}throw Error(p$2(160))}switch(tt.tag){case 5:var rt=tt.stateNode;tt.flags&32&&(ob(rt,""),tt.flags&=-33);var nt=Uj(_);Wj(_,nt,rt);break;case 3:case 4:var it=tt.stateNode.containerInfo,st=Uj(_);Vj(_,st,it);break;default:throw Error(p$2(161))}}catch(at){W$1(_,_.return,at)}_.flags&=-3}j&4096&&(_.flags&=-4097)}function hk(_,j,et){V=_,ik(_)}function ik(_,j,et){for(var tt=(_.mode&1)!==0;V!==null;){var rt=V,nt=rt.child;if(rt.tag===22&&tt){var it=rt.memoizedState!==null||Jj;if(!it){var st=rt.alternate,at=st!==null&&st.memoizedState!==null||U$1;st=Jj;var ot=U$1;if(Jj=it,(U$1=at)&&!ot)for(V=rt;V!==null;)it=V,at=it.child,it.tag===22&&it.memoizedState!==null?jk(rt):at!==null?(at.return=it,V=at):jk(rt);for(;nt!==null;)V=nt,ik(nt),nt=nt.sibling;V=rt,Jj=st,U$1=ot}kk(_)}else rt.subtreeFlags&8772&&nt!==null?(nt.return=rt,V=nt):kk(_)}}function kk(_){for(;V!==null;){var j=V;if(j.flags&8772){var et=j.alternate;try{if(j.flags&8772)switch(j.tag){case 0:case 11:case 15:U$1||Qj(5,j);break;case 1:var tt=j.stateNode;if(j.flags&4&&!U$1)if(et===null)tt.componentDidMount();else{var rt=j.elementType===j.type?et.memoizedProps:Ci(j.type,et.memoizedProps);tt.componentDidUpdate(rt,et.memoizedState,tt.__reactInternalSnapshotBeforeUpdate)}var nt=j.updateQueue;nt!==null&&sh(j,nt,tt);break;case 3:var it=j.updateQueue;if(it!==null){if(et=null,j.child!==null)switch(j.child.tag){case 5:et=j.child.stateNode;break;case 1:et=j.child.stateNode}sh(j,it,et)}break;case 5:var st=j.stateNode;if(et===null&&j.flags&4){et=st;var at=j.memoizedProps;switch(j.type){case"button":case"input":case"select":case"textarea":at.autoFocus&&et.focus();break;case"img":at.src&&(et.src=at.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(j.memoizedState===null){var ot=j.alternate;if(ot!==null){var lt=ot.memoizedState;if(lt!==null){var ct=lt.dehydrated;ct!==null&&bd(ct)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(p$2(163))}U$1||j.flags&512&&Rj(j)}catch(ut){W$1(j,j.return,ut)}}if(j===_){V=null;break}if(et=j.sibling,et!==null){et.return=j.return,V=et;break}V=j.return}}function gk(_){for(;V!==null;){var j=V;if(j===_){V=null;break}var et=j.sibling;if(et!==null){et.return=j.return,V=et;break}V=j.return}}function jk(_){for(;V!==null;){var j=V;try{switch(j.tag){case 0:case 11:case 15:var et=j.return;try{Qj(4,j)}catch(at){W$1(j,et,at)}break;case 1:var tt=j.stateNode;if(typeof tt.componentDidMount=="function"){var rt=j.return;try{tt.componentDidMount()}catch(at){W$1(j,rt,at)}}var nt=j.return;try{Rj(j)}catch(at){W$1(j,nt,at)}break;case 5:var it=j.return;try{Rj(j)}catch(at){W$1(j,it,at)}}}catch(at){W$1(j,j.return,at)}if(j===_){V=null;break}var st=j.sibling;if(st!==null){st.return=j.return,V=st;break}V=j.return}}var lk=Math.ceil,mk=ua.ReactCurrentDispatcher,nk=ua.ReactCurrentOwner,ok=ua.ReactCurrentBatchConfig,K$2=0,Q=null,Y$2=null,Z$1=0,fj=0,ej=Uf(0),T$1=0,pk=null,rh=0,qk=0,rk=0,sk=null,tk=null,fk=0,Gj=1/0,uk=null,Oi=!1,Pi=null,Ri=null,vk=!1,wk=null,xk=0,yk=0,zk=null,Ak=-1,Bk=0;function R(){return K$2&6?B$2():Ak!==-1?Ak:Ak=B$2()}function yi(_){return _.mode&1?K$2&2&&Z$1!==0?Z$1&-Z$1:Kg.transition!==null?(Bk===0&&(Bk=yc()),Bk):(_=C,_!==0||(_=window.event,_=_===void 0?16:jd(_.type)),_):1}function gi(_,j,et,tt){if(50<yk)throw yk=0,zk=null,Error(p$2(185));Ac(_,et,tt),(!(K$2&2)||_!==Q)&&(_===Q&&(!(K$2&2)&&(qk|=et),T$1===4&&Ck(_,Z$1)),Dk(_,tt),et===1&&K$2===0&&!(j.mode&1)&&(Gj=B$2()+500,fg&&jg()))}function Dk(_,j){var et=_.callbackNode;wc(_,j);var tt=uc(_,_===Q?Z$1:0);if(tt===0)et!==null&&bc(et),_.callbackNode=null,_.callbackPriority=0;else if(j=tt&-tt,_.callbackPriority!==j){if(et!=null&&bc(et),j===1)_.tag===0?ig(Ek.bind(null,_)):hg(Ek.bind(null,_)),Jf(function(){!(K$2&6)&&jg()}),et=null;else{switch(Dc(tt)){case 1:et=fc;break;case 4:et=gc;break;case 16:et=hc;break;case 536870912:et=jc;break;default:et=hc}et=Fk(et,Gk.bind(null,_))}_.callbackPriority=j,_.callbackNode=et}}function Gk(_,j){if(Ak=-1,Bk=0,K$2&6)throw Error(p$2(327));var et=_.callbackNode;if(Hk()&&_.callbackNode!==et)return null;var tt=uc(_,_===Q?Z$1:0);if(tt===0)return null;if(tt&30||tt&_.expiredLanes||j)j=Ik(_,tt);else{j=tt;var rt=K$2;K$2|=2;var nt=Jk();(Q!==_||Z$1!==j)&&(uk=null,Gj=B$2()+500,Kk(_,j));do try{Lk();break}catch(st){Mk(_,st)}while(!0);$g(),mk.current=nt,K$2=rt,Y$2!==null?j=0:(Q=null,Z$1=0,j=T$1)}if(j!==0){if(j===2&&(rt=xc(_),rt!==0&&(tt=rt,j=Nk(_,rt))),j===1)throw et=pk,Kk(_,0),Ck(_,tt),Dk(_,B$2()),et;if(j===6)Ck(_,tt);else{if(rt=_.current.alternate,!(tt&30)&&!Ok(rt)&&(j=Ik(_,tt),j===2&&(nt=xc(_),nt!==0&&(tt=nt,j=Nk(_,nt))),j===1))throw et=pk,Kk(_,0),Ck(_,tt),Dk(_,B$2()),et;switch(_.finishedWork=rt,_.finishedLanes=tt,j){case 0:case 1:throw Error(p$2(345));case 2:Pk(_,tk,uk);break;case 3:if(Ck(_,tt),(tt&130023424)===tt&&(j=fk+500-B$2(),10<j)){if(uc(_,0)!==0)break;if(rt=_.suspendedLanes,(rt&tt)!==tt){R(),_.pingedLanes|=_.suspendedLanes&rt;break}_.timeoutHandle=Ff(Pk.bind(null,_,tk,uk),j);break}Pk(_,tk,uk);break;case 4:if(Ck(_,tt),(tt&4194240)===tt)break;for(j=_.eventTimes,rt=-1;0<tt;){var it=31-oc(tt);nt=1<<it,it=j[it],it>rt&&(rt=it),tt&=~nt}if(tt=rt,tt=B$2()-tt,tt=(120>tt?120:480>tt?480:1080>tt?1080:1920>tt?1920:3e3>tt?3e3:4320>tt?4320:1960*lk(tt/1960))-tt,10<tt){_.timeoutHandle=Ff(Pk.bind(null,_,tk,uk),tt);break}Pk(_,tk,uk);break;case 5:Pk(_,tk,uk);break;default:throw Error(p$2(329))}}}return Dk(_,B$2()),_.callbackNode===et?Gk.bind(null,_):null}function Nk(_,j){var et=sk;return _.current.memoizedState.isDehydrated&&(Kk(_,j).flags|=256),_=Ik(_,j),_!==2&&(j=tk,tk=et,j!==null&&Fj(j)),_}function Fj(_){tk===null?tk=_:tk.push.apply(tk,_)}function Ok(_){for(var j=_;;){if(j.flags&16384){var et=j.updateQueue;if(et!==null&&(et=et.stores,et!==null))for(var tt=0;tt<et.length;tt++){var rt=et[tt],nt=rt.getSnapshot;rt=rt.value;try{if(!He(nt(),rt))return!1}catch{return!1}}}if(et=j.child,j.subtreeFlags&16384&&et!==null)et.return=j,j=et;else{if(j===_)break;for(;j.sibling===null;){if(j.return===null||j.return===_)return!0;j=j.return}j.sibling.return=j.return,j=j.sibling}}return!0}function Ck(_,j){for(j&=~rk,j&=~qk,_.suspendedLanes|=j,_.pingedLanes&=~j,_=_.expirationTimes;0<j;){var et=31-oc(j),tt=1<<et;_[et]=-1,j&=~tt}}function Ek(_){if(K$2&6)throw Error(p$2(327));Hk();var j=uc(_,0);if(!(j&1))return Dk(_,B$2()),null;var et=Ik(_,j);if(_.tag!==0&&et===2){var tt=xc(_);tt!==0&&(j=tt,et=Nk(_,tt))}if(et===1)throw et=pk,Kk(_,0),Ck(_,j),Dk(_,B$2()),et;if(et===6)throw Error(p$2(345));return _.finishedWork=_.current.alternate,_.finishedLanes=j,Pk(_,tk,uk),Dk(_,B$2()),null}function Qk(_,j){var et=K$2;K$2|=1;try{return _(j)}finally{K$2=et,K$2===0&&(Gj=B$2()+500,fg&&jg())}}function Rk(_){wk!==null&&wk.tag===0&&!(K$2&6)&&Hk();var j=K$2;K$2|=1;var et=ok.transition,tt=C;try{if(ok.transition=null,C=1,_)return _()}finally{C=tt,ok.transition=et,K$2=j,!(K$2&6)&&jg()}}function Hj(){fj=ej.current,E(ej)}function Kk(_,j){_.finishedWork=null,_.finishedLanes=0;var et=_.timeoutHandle;if(et!==-1&&(_.timeoutHandle=-1,Gf(et)),Y$2!==null)for(et=Y$2.return;et!==null;){var tt=et;switch(wg(tt),tt.tag){case 1:tt=tt.type.childContextTypes,tt!=null&&$f();break;case 3:zh(),E(Wf),E(H$1),Eh();break;case 5:Bh(tt);break;case 4:zh();break;case 13:E(L$1);break;case 19:E(L$1);break;case 10:ah(tt.type._context);break;case 22:case 23:Hj()}et=et.return}if(Q=_,Y$2=_=Pg(_.current,null),Z$1=fj=j,T$1=0,pk=null,rk=qk=rh=0,tk=sk=null,fh!==null){for(j=0;j<fh.length;j++)if(et=fh[j],tt=et.interleaved,tt!==null){et.interleaved=null;var rt=tt.next,nt=et.pending;if(nt!==null){var it=nt.next;nt.next=rt,tt.next=it}et.pending=tt}fh=null}return _}function Mk(_,j){do{var et=Y$2;try{if($g(),Fh.current=Rh,Ih){for(var tt=M.memoizedState;tt!==null;){var rt=tt.queue;rt!==null&&(rt.pending=null),tt=tt.next}Ih=!1}if(Hh=0,O=N$1=M=null,Jh=!1,Kh=0,nk.current=null,et===null||et.return===null){T$1=1,pk=j,Y$2=null;break}e:{var nt=_,it=et.return,st=et,at=j;if(j=Z$1,st.flags|=32768,at!==null&&typeof at=="object"&&typeof at.then=="function"){var ot=at,lt=st,ct=lt.tag;if(!(lt.mode&1)&&(ct===0||ct===11||ct===15)){var ut=lt.alternate;ut?(lt.updateQueue=ut.updateQueue,lt.memoizedState=ut.memoizedState,lt.lanes=ut.lanes):(lt.updateQueue=null,lt.memoizedState=null)}var dt=Ui(it);if(dt!==null){dt.flags&=-257,Vi(dt,it,st,nt,j),dt.mode&1&&Si(nt,ot,j),j=dt,at=ot;var ht=j.updateQueue;if(ht===null){var pt=new Set;pt.add(at),j.updateQueue=pt}else ht.add(at);break e}else{if(!(j&1)){Si(nt,ot,j),tj();break e}at=Error(p$2(426))}}else if(I&&st.mode&1){var gt=Ui(it);if(gt!==null){!(gt.flags&65536)&&(gt.flags|=256),Vi(gt,it,st,nt,j),Jg(Ji(at,st));break e}}nt=at=Ji(at,st),T$1!==4&&(T$1=2),sk===null?sk=[nt]:sk.push(nt),nt=it;do{switch(nt.tag){case 3:nt.flags|=65536,j&=-j,nt.lanes|=j;var ft=Ni(nt,at,j);ph(nt,ft);break e;case 1:st=at;var mt=nt.type,xt=nt.stateNode;if(!(nt.flags&128)&&(typeof mt.getDerivedStateFromError=="function"||xt!==null&&typeof xt.componentDidCatch=="function"&&(Ri===null||!Ri.has(xt)))){nt.flags|=65536,j&=-j,nt.lanes|=j;var yt=Qi(nt,st,j);ph(nt,yt);break e}}nt=nt.return}while(nt!==null)}Sk(et)}catch(vt){j=vt,Y$2===et&&et!==null&&(Y$2=et=et.return);continue}break}while(!0)}function Jk(){var _=mk.current;return mk.current=Rh,_===null?Rh:_}function tj(){(T$1===0||T$1===3||T$1===2)&&(T$1=4),Q===null||!(rh&268435455)&&!(qk&268435455)||Ck(Q,Z$1)}function Ik(_,j){var et=K$2;K$2|=2;var tt=Jk();(Q!==_||Z$1!==j)&&(uk=null,Kk(_,j));do try{Tk();break}catch(rt){Mk(_,rt)}while(!0);if($g(),K$2=et,mk.current=tt,Y$2!==null)throw Error(p$2(261));return Q=null,Z$1=0,T$1}function Tk(){for(;Y$2!==null;)Uk(Y$2)}function Lk(){for(;Y$2!==null&&!cc();)Uk(Y$2)}function Uk(_){var j=Vk(_.alternate,_,fj);_.memoizedProps=_.pendingProps,j===null?Sk(_):Y$2=j,nk.current=null}function Sk(_){var j=_;do{var et=j.alternate;if(_=j.return,j.flags&32768){if(et=Ij(et,j),et!==null){et.flags&=32767,Y$2=et;return}if(_!==null)_.flags|=32768,_.subtreeFlags=0,_.deletions=null;else{T$1=6,Y$2=null;return}}else if(et=Ej(et,j,fj),et!==null){Y$2=et;return}if(j=j.sibling,j!==null){Y$2=j;return}Y$2=j=_}while(j!==null);T$1===0&&(T$1=5)}function Pk(_,j,et){var tt=C,rt=ok.transition;try{ok.transition=null,C=1,Wk(_,j,et,tt)}finally{ok.transition=rt,C=tt}return null}function Wk(_,j,et,tt){do Hk();while(wk!==null);if(K$2&6)throw Error(p$2(327));et=_.finishedWork;var rt=_.finishedLanes;if(et===null)return null;if(_.finishedWork=null,_.finishedLanes=0,et===_.current)throw Error(p$2(177));_.callbackNode=null,_.callbackPriority=0;var nt=et.lanes|et.childLanes;if(Bc(_,nt),_===Q&&(Y$2=Q=null,Z$1=0),!(et.subtreeFlags&2064)&&!(et.flags&2064)||vk||(vk=!0,Fk(hc,function(){return Hk(),null})),nt=(et.flags&15990)!==0,et.subtreeFlags&15990||nt){nt=ok.transition,ok.transition=null;var it=C;C=1;var st=K$2;K$2|=4,nk.current=null,Oj(_,et),dk(et,_),Oe(Df),dd=!!Cf,Df=Cf=null,_.current=et,hk(et),dc(),K$2=st,C=it,ok.transition=nt}else _.current=et;if(vk&&(vk=!1,wk=_,xk=rt),nt=_.pendingLanes,nt===0&&(Ri=null),mc(et.stateNode),Dk(_,B$2()),j!==null)for(tt=_.onRecoverableError,et=0;et<j.length;et++)rt=j[et],tt(rt.value,{componentStack:rt.stack,digest:rt.digest});if(Oi)throw Oi=!1,_=Pi,Pi=null,_;return xk&1&&_.tag!==0&&Hk(),nt=_.pendingLanes,nt&1?_===zk?yk++:(yk=0,zk=_):yk=0,jg(),null}function Hk(){if(wk!==null){var _=Dc(xk),j=ok.transition,et=C;try{if(ok.transition=null,C=16>_?16:_,wk===null)var tt=!1;else{if(_=wk,wk=null,xk=0,K$2&6)throw Error(p$2(331));var rt=K$2;for(K$2|=4,V=_.current;V!==null;){var nt=V,it=nt.child;if(V.flags&16){var st=nt.deletions;if(st!==null){for(var at=0;at<st.length;at++){var ot=st[at];for(V=ot;V!==null;){var lt=V;switch(lt.tag){case 0:case 11:case 15:Pj(8,lt,nt)}var ct=lt.child;if(ct!==null)ct.return=lt,V=ct;else for(;V!==null;){lt=V;var ut=lt.sibling,dt=lt.return;if(Sj(lt),lt===ot){V=null;break}if(ut!==null){ut.return=dt,V=ut;break}V=dt}}}var ht=nt.alternate;if(ht!==null){var pt=ht.child;if(pt!==null){ht.child=null;do{var gt=pt.sibling;pt.sibling=null,pt=gt}while(pt!==null)}}V=nt}}if(nt.subtreeFlags&2064&&it!==null)it.return=nt,V=it;else e:for(;V!==null;){if(nt=V,nt.flags&2048)switch(nt.tag){case 0:case 11:case 15:Pj(9,nt,nt.return)}var ft=nt.sibling;if(ft!==null){ft.return=nt.return,V=ft;break e}V=nt.return}}var mt=_.current;for(V=mt;V!==null;){it=V;var xt=it.child;if(it.subtreeFlags&2064&&xt!==null)xt.return=it,V=xt;else e:for(it=mt;V!==null;){if(st=V,st.flags&2048)try{switch(st.tag){case 0:case 11:case 15:Qj(9,st)}}catch(vt){W$1(st,st.return,vt)}if(st===it){V=null;break e}var yt=st.sibling;if(yt!==null){yt.return=st.return,V=yt;break e}V=st.return}}if(K$2=rt,jg(),lc&&typeof lc.onPostCommitFiberRoot=="function")try{lc.onPostCommitFiberRoot(kc,_)}catch{}tt=!0}return tt}finally{C=et,ok.transition=j}}return!1}function Xk(_,j,et){j=Ji(et,j),j=Ni(_,j,1),_=nh(_,j,1),j=R(),_!==null&&(Ac(_,1,j),Dk(_,j))}function W$1(_,j,et){if(_.tag===3)Xk(_,_,et);else for(;j!==null;){if(j.tag===3){Xk(j,_,et);break}else if(j.tag===1){var tt=j.stateNode;if(typeof j.type.getDerivedStateFromError=="function"||typeof tt.componentDidCatch=="function"&&(Ri===null||!Ri.has(tt))){_=Ji(et,_),_=Qi(j,_,1),j=nh(j,_,1),_=R(),j!==null&&(Ac(j,1,_),Dk(j,_));break}}j=j.return}}function Ti(_,j,et){var tt=_.pingCache;tt!==null&&tt.delete(j),j=R(),_.pingedLanes|=_.suspendedLanes&et,Q===_&&(Z$1&et)===et&&(T$1===4||T$1===3&&(Z$1&130023424)===Z$1&&500>B$2()-fk?Kk(_,0):rk|=et),Dk(_,j)}function Yk(_,j){j===0&&(_.mode&1?(j=sc,sc<<=1,!(sc&130023424)&&(sc=4194304)):j=1);var et=R();_=ih(_,j),_!==null&&(Ac(_,j,et),Dk(_,et))}function uj(_){var j=_.memoizedState,et=0;j!==null&&(et=j.retryLane),Yk(_,et)}function bk(_,j){var et=0;switch(_.tag){case 13:var tt=_.stateNode,rt=_.memoizedState;rt!==null&&(et=rt.retryLane);break;case 19:tt=_.stateNode;break;default:throw Error(p$2(314))}tt!==null&&tt.delete(j),Yk(_,et)}var Vk;Vk=function(_,j,et){if(_!==null)if(_.memoizedProps!==j.pendingProps||Wf.current)dh=!0;else{if(!(_.lanes&et)&&!(j.flags&128))return dh=!1,yj(_,j,et);dh=!!(_.flags&131072)}else dh=!1,I&&j.flags&1048576&&ug(j,ng,j.index);switch(j.lanes=0,j.tag){case 2:var tt=j.type;ij(_,j),_=j.pendingProps;var rt=Yf(j,H$1.current);ch(j,et),rt=Nh(null,j,tt,_,rt,et);var nt=Sh();return j.flags|=1,typeof rt=="object"&&rt!==null&&typeof rt.render=="function"&&rt.$$typeof===void 0?(j.tag=1,j.memoizedState=null,j.updateQueue=null,Zf(tt)?(nt=!0,cg(j)):nt=!1,j.memoizedState=rt.state!==null&&rt.state!==void 0?rt.state:null,kh(j),rt.updater=Ei,j.stateNode=rt,rt._reactInternals=j,Ii(j,tt,_,et),j=jj(null,j,tt,!0,nt,et)):(j.tag=0,I&&nt&&vg(j),Xi(null,j,rt,et),j=j.child),j;case 16:tt=j.elementType;e:{switch(ij(_,j),_=j.pendingProps,rt=tt._init,tt=rt(tt._payload),j.type=tt,rt=j.tag=Zk(tt),_=Ci(tt,_),rt){case 0:j=cj(null,j,tt,_,et);break e;case 1:j=hj(null,j,tt,_,et);break e;case 11:j=Yi(null,j,tt,_,et);break e;case 14:j=$i(null,j,tt,Ci(tt.type,_),et);break e}throw Error(p$2(306,tt,""))}return j;case 0:return tt=j.type,rt=j.pendingProps,rt=j.elementType===tt?rt:Ci(tt,rt),cj(_,j,tt,rt,et);case 1:return tt=j.type,rt=j.pendingProps,rt=j.elementType===tt?rt:Ci(tt,rt),hj(_,j,tt,rt,et);case 3:e:{if(kj(j),_===null)throw Error(p$2(387));tt=j.pendingProps,nt=j.memoizedState,rt=nt.element,lh(_,j),qh(j,tt,null,et);var it=j.memoizedState;if(tt=it.element,nt.isDehydrated)if(nt={element:tt,isDehydrated:!1,cache:it.cache,pendingSuspenseBoundaries:it.pendingSuspenseBoundaries,transitions:it.transitions},j.updateQueue.baseState=nt,j.memoizedState=nt,j.flags&256){rt=Ji(Error(p$2(423)),j),j=lj(_,j,tt,et,rt);break e}else if(tt!==rt){rt=Ji(Error(p$2(424)),j),j=lj(_,j,tt,et,rt);break e}else for(yg=Lf(j.stateNode.containerInfo.firstChild),xg=j,I=!0,zg=null,et=Vg(j,null,tt,et),j.child=et;et;)et.flags=et.flags&-3|4096,et=et.sibling;else{if(Ig(),tt===rt){j=Zi(_,j,et);break e}Xi(_,j,tt,et)}j=j.child}return j;case 5:return Ah(j),_===null&&Eg(j),tt=j.type,rt=j.pendingProps,nt=_!==null?_.memoizedProps:null,it=rt.children,Ef(tt,rt)?it=null:nt!==null&&Ef(tt,nt)&&(j.flags|=32),gj(_,j),Xi(_,j,it,et),j.child;case 6:return _===null&&Eg(j),null;case 13:return oj(_,j,et);case 4:return yh(j,j.stateNode.containerInfo),tt=j.pendingProps,_===null?j.child=Ug(j,null,tt,et):Xi(_,j,tt,et),j.child;case 11:return tt=j.type,rt=j.pendingProps,rt=j.elementType===tt?rt:Ci(tt,rt),Yi(_,j,tt,rt,et);case 7:return Xi(_,j,j.pendingProps,et),j.child;case 8:return Xi(_,j,j.pendingProps.children,et),j.child;case 12:return Xi(_,j,j.pendingProps.children,et),j.child;case 10:e:{if(tt=j.type._context,rt=j.pendingProps,nt=j.memoizedProps,it=rt.value,G$1(Wg,tt._currentValue),tt._currentValue=it,nt!==null)if(He(nt.value,it)){if(nt.children===rt.children&&!Wf.current){j=Zi(_,j,et);break e}}else for(nt=j.child,nt!==null&&(nt.return=j);nt!==null;){var st=nt.dependencies;if(st!==null){it=nt.child;for(var at=st.firstContext;at!==null;){if(at.context===tt){if(nt.tag===1){at=mh(-1,et&-et),at.tag=2;var ot=nt.updateQueue;if(ot!==null){ot=ot.shared;var lt=ot.pending;lt===null?at.next=at:(at.next=lt.next,lt.next=at),ot.pending=at}}nt.lanes|=et,at=nt.alternate,at!==null&&(at.lanes|=et),bh(nt.return,et,j),st.lanes|=et;break}at=at.next}}else if(nt.tag===10)it=nt.type===j.type?null:nt.child;else if(nt.tag===18){if(it=nt.return,it===null)throw Error(p$2(341));it.lanes|=et,st=it.alternate,st!==null&&(st.lanes|=et),bh(it,et,j),it=nt.sibling}else it=nt.child;if(it!==null)it.return=nt;else for(it=nt;it!==null;){if(it===j){it=null;break}if(nt=it.sibling,nt!==null){nt.return=it.return,it=nt;break}it=it.return}nt=it}Xi(_,j,rt.children,et),j=j.child}return j;case 9:return rt=j.type,tt=j.pendingProps.children,ch(j,et),rt=eh(rt),tt=tt(rt),j.flags|=1,Xi(_,j,tt,et),j.child;case 14:return tt=j.type,rt=Ci(tt,j.pendingProps),rt=Ci(tt.type,rt),$i(_,j,tt,rt,et);case 15:return bj(_,j,j.type,j.pendingProps,et);case 17:return tt=j.type,rt=j.pendingProps,rt=j.elementType===tt?rt:Ci(tt,rt),ij(_,j),j.tag=1,Zf(tt)?(_=!0,cg
vendor: 6,712 bytes, line 40
40(j)):_=!1,ch(j,et),Gi(j,tt,rt),Ii(j,tt,rt,et),jj(null,j,tt,!0,_,et);case 19:return xj(_,j,et);case 22:return dj(_,j,et)}throw Error(p$2(156,j.tag))};function Fk(_,j){return ac(_,j)}function $k(_,j,et,tt){this.tag=_,this.key=et,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=j,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=tt,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Bg(_,j,et,tt){return new $k(_,j,et,tt)}function aj(_){return _=_.prototype,!(!_||!_.isReactComponent)}function Zk(_){if(typeof _=="function")return aj(_)?1:0;if(_!=null){if(_=_.$$typeof,_===Da)return 11;if(_===Ga)return 14}return 2}function Pg(_,j){var et=_.alternate;return et===null?(et=Bg(_.tag,j,_.key,_.mode),et.elementType=_.elementType,et.type=_.type,et.stateNode=_.stateNode,et.alternate=_,_.alternate=et):(et.pendingProps=j,et.type=_.type,et.flags=0,et.subtreeFlags=0,et.deletions=null),et.flags=_.flags&14680064,et.childLanes=_.childLanes,et.lanes=_.lanes,et.child=_.child,et.memoizedProps=_.memoizedProps,et.memoizedState=_.memoizedState,et.updateQueue=_.updateQueue,j=_.dependencies,et.dependencies=j===null?null:{lanes:j.lanes,firstContext:j.firstContext},et.sibling=_.sibling,et.index=_.index,et.ref=_.ref,et}function Rg(_,j,et,tt,rt,nt){var it=2;if(tt=_,typeof _=="function")aj(_)&&(it=1);else if(typeof _=="string")it=5;else e:switch(_){case ya:return Tg(et.children,rt,nt,j);case za:it=8,rt|=8;break;case Aa:return _=Bg(12,et,j,rt|2),_.elementType=Aa,_.lanes=nt,_;case Ea:return _=Bg(13,et,j,rt),_.elementType=Ea,_.lanes=nt,_;case Fa:return _=Bg(19,et,j,rt),_.elementType=Fa,_.lanes=nt,_;case Ia:return pj(et,rt,nt,j);default:if(typeof _=="object"&&_!==null)switch(_.$$typeof){case Ba:it=10;break e;case Ca:it=9;break e;case Da:it=11;break e;case Ga:it=14;break e;case Ha:it=16,tt=null;break e}throw Error(p$2(130,_==null?_:typeof _,""))}return j=Bg(it,et,j,rt),j.elementType=_,j.type=tt,j.lanes=nt,j}function Tg(_,j,et,tt){return _=Bg(7,_,tt,j),_.lanes=et,_}function pj(_,j,et,tt){return _=Bg(22,_,tt,j),_.elementType=Ia,_.lanes=et,_.stateNode={isHidden:!1},_}function Qg(_,j,et){return _=Bg(6,_,null,j),_.lanes=et,_}function Sg(_,j,et){return j=Bg(4,_.children!==null?_.children:[],_.key,j),j.lanes=et,j.stateNode={containerInfo:_.containerInfo,pendingChildren:null,implementation:_.implementation},j}function al(_,j,et,tt,rt){this.tag=j,this.containerInfo=_,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=zc(0),this.expirationTimes=zc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zc(0),this.identifierPrefix=tt,this.onRecoverableError=rt,this.mutableSourceEagerHydrationData=null}function bl(_,j,et,tt,rt,nt,it,st,at){return _=new al(_,j,et,st,at),j===1?(j=1,nt===!0&&(j|=8)):j=0,nt=Bg(3,null,null,j),_.current=nt,nt.stateNode=_,nt.memoizedState={element:tt,isDehydrated:et,cache:null,transitions:null,pendingSuspenseBoundaries:null},kh(nt),_}function cl(_,j,et){var tt=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:wa,key:tt==null?null:""+tt,children:_,containerInfo:j,implementation:et}}function dl(_){if(!_)return Vf;_=_._reactInternals;e:{if(Vb(_)!==_||_.tag!==1)throw Error(p$2(170));var j=_;do{switch(j.tag){case 3:j=j.stateNode.context;break e;case 1:if(Zf(j.type)){j=j.stateNode.__reactInternalMemoizedMergedChildContext;break e}}j=j.return}while(j!==null);throw Error(p$2(171))}if(_.tag===1){var et=_.type;if(Zf(et))return bg(_,et,j)}return j}function el(_,j,et,tt,rt,nt,it,st,at){return _=bl(et,tt,!0,_,rt,nt,it,st,at),_.context=dl(null),et=_.current,tt=R(),rt=yi(et),nt=mh(tt,rt),nt.callback=j??null,nh(et,nt,rt),_.current.lanes=rt,Ac(_,rt,tt),Dk(_,tt),_}function fl(_,j,et,tt){var rt=j.current,nt=R(),it=yi(rt);return et=dl(et),j.context===null?j.context=et:j.pendingContext=et,j=mh(nt,it),j.payload={element:_},tt=tt===void 0?null:tt,tt!==null&&(j.callback=tt),_=nh(rt,j,it),_!==null&&(gi(_,rt,it,nt),oh(_,rt,it)),it}function gl(_){if(_=_.current,!_.child)return null;switch(_.child.tag){case 5:return _.child.stateNode;default:return _.child.stateNode}}function hl(_,j){if(_=_.memoizedState,_!==null&&_.dehydrated!==null){var et=_.retryLane;_.retryLane=et!==0&&et<j?et:j}}function il(_,j){hl(_,j),(_=_.alternate)&&hl(_,j)}function jl(){return null}var kl=typeof reportError=="function"?reportError:function(_){console.error(_)};function ll(_){this._internalRoot=_}ml.prototype.render=ll.prototype.render=function(_){var j=this._internalRoot;if(j===null)throw Error(p$2(409));fl(_,j,null,null)};ml.prototype.unmount=ll.prototype.unmount=function(){var _=this._internalRoot;if(_!==null){this._internalRoot=null;var j=_.containerInfo;Rk(function(){fl(null,_,null,null)}),j[uf]=null}};function ml(_){this._internalRoot=_}ml.prototype.unstable_scheduleHydration=function(_){if(_){var j=Hc();_={blockedOn:null,target:_,priority:j};for(var et=0;et<Qc.length&&j!==0&&j<Qc[et].priority;et++);Qc.splice(et,0,_),et===0&&Vc(_)}};function nl(_){return!(!_||_.nodeType!==1&&_.nodeType!==9&&_.nodeType!==11)}function ol(_){return!(!_||_.nodeType!==1&&_.nodeType!==9&&_.nodeType!==11&&(_.nodeType!==8||_.nodeValue!==" react-mount-point-unstable "))}function pl(){}function ql(_,j,et,tt,rt){if(rt){if(typeof tt=="function"){var nt=tt;tt=function(){var ot=gl(it);nt.call(ot)}}var it=el(j,tt,_,0,null,!1,!1,"",pl);return _._reactRootContainer=it,_[uf]=it.current,sf(_.nodeType===8?_.parentNode:_),Rk(),it}for(;rt=_.lastChild;)_.removeChild(rt);if(typeof tt=="function"){var st=tt;tt=function(){var ot=gl(at);st.call(ot)}}var at=bl(_,0,!1,null,null,!1,!1,"",pl);return _._reactRootContainer=at,_[uf]=at.current,sf(_.nodeType===8?_.parentNode:_),Rk(function(){fl(j,at,et,tt)}),at}function rl(_,j,et,tt,rt){var nt=et._reactRootContainer;if(nt){var it=nt;if(typeof rt=="function"){var st=rt;rt=function(){var at=gl(it);st.call(at)}}fl(j,it,_,rt)}else it=ql(et,j,_,rt,tt);return gl(it)}Ec=function(_){switch(_.tag){case 3:var j=_.stateNode;if(j.current.memoizedState.isDehydrated){var et=tc(j.pendingLanes);et!==0&&(Cc(j,et|1),Dk(j,B$2()),!(K$2&6)&&(Gj=B$2()+500,jg()))}break;case 13:Rk(function(){var tt=ih(_,1);if(tt!==null){var rt=R();gi(tt,_,1,rt)}}),il(_,1)}};Fc=function(_){if(_.tag===13){var j=ih(_,134217728);if(j!==null){var et=R();gi(j,_,134217728,et)}il(_,134217728)}};Gc=function(_){if(_.tag===13){var j=yi(_),et=ih(_,j);if(et!==null){var tt=R();
vendor: 4,413 bytes, line 40
40gi(et,_,j,tt)}il(_,j)}};Hc=function(){return C};Ic=function(_,j){var et=C;try{return C=_,j()}finally{C=et}};yb=function(_,j,et){switch(j){case"input":if(bb(_,et),j=et.name,et.type==="radio"&&j!=null){for(et=_;et.parentNode;)et=et.parentNode;for(et=et.querySelectorAll("input[name="+JSON.stringify(""+j)+'][type="radio"]'),j=0;j<et.length;j++){var tt=et[j];if(tt!==_&&tt.form===_.form){var rt=Db(tt);if(!rt)throw Error(p$2(90));Wa(tt),bb(tt,rt)}}}break;case"textarea":ib(_,et);break;case"select":j=et.value,j!=null&&fb(_,!!et.multiple,j,!1)}};Gb=Qk;Hb=Rk;var sl={usingClientEntryPoint:!1,Events:[Cb,ue$1,Db,Eb,Fb,Qk]},tl={findFiberByHostInstance:Wc,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},ul={bundleType:tl.bundleType,version:tl.version,rendererPackageName:tl.rendererPackageName,rendererConfig:tl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ua.ReactCurrentDispatcher,findHostInstanceByFiber:function(_){return _=Zb(_),_===null?null:_.stateNode},findFiberByHostInstance:tl.findFiberByHostInstance||jl,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var vl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!vl.isDisabled&&vl.supportsFiber)try{kc=vl.inject(ul),lc=vl}catch{}}reactDom_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sl;reactDom_production_min.createPortal=function(_,j){var et=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!nl(j))throw Error(p$2(200));return cl(_,j,null,et)};reactDom_production_min.createRoot=function(_,j){if(!nl(_))throw Error(p$2(299));var et=!1,tt="",rt=kl;return j!=null&&(j.unstable_strictMode===!0&&(et=!0),j.identifierPrefix!==void 0&&(tt=j.identifierPrefix),j.onRecoverableError!==void 0&&(rt=j.onRecoverableError)),j=bl(_,1,!1,null,null,et,!1,tt,rt),_[uf]=j.current,sf(_.nodeType===8?_.parentNode:_),new ll(j)};reactDom_production_min.findDOMNode=function(_){if(_==null)return null;if(_.nodeType===1)return _;var j=_._reactInternals;if(j===void 0)throw typeof _.render=="function"?Error(p$2(188)):(_=Object.keys(_).join(","),Error(p$2(268,_)));return _=Zb(j),_=_===null?null:_.stateNode,_};reactDom_production_min.flushSync=function(_){return Rk(_)};reactDom_production_min.hydrate=function(_,j,et){if(!ol(j))throw Error(p$2(200));return rl(null,_,j,!0,et)};reactDom_production_min.hydrateRoot=function(_,j,et){if(!nl(_))throw Error(p$2(405));var tt=et!=null&&et.hydratedSources||null,rt=!1,nt="",it=kl;if(et!=null&&(et.unstable_strictMode===!0&&(rt=!0),et.identifierPrefix!==void 0&&(nt=et.identifierPrefix),et.onRecoverableError!==void 0&&(it=et.onRecoverableError)),j=el(j,null,_,1,et??null,rt,!1,nt,it),_[uf]=j.current,sf(_),tt)for(_=0;_<tt.length;_++)et=tt[_],rt=et._getVersion,rt=rt(et._source),j.mutableSourceEagerHydrationData==null?j.mutableSourceEagerHydrationData=[et,rt]:j.mutableSourceEagerHydrationData.push(et,rt);return new ml(j)};reactDom_production_min.render=function(_,j,et){if(!ol(j))throw Error(p$2(200));return rl(null,_,j,!1,et)};reactDom_production_min.unmountComponentAtNode=function(_){if(!ol(_))throw Error(p$2(40));return _._reactRootContainer?(Rk(function(){rl(null,null,_,!1,function(){_._reactRootContainer=null,_[uf]=null})}),!0):!1};reactDom_production_min.unstable_batchedUpdates=Qk;reactDom_production_min.unstable_renderSubtreeIntoContainer=function(_,j,et,tt){if(!ol(et))throw Error(p$2(200));if(_==null||_._reactInternals===void 0)throw Error(p$2(38));return rl(_,j,et,!1,tt)};reactDom_production_min.version="18.3.1-next-f1338f8080-20240426";function checkDCE(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE)}catch(_){console.error(_)}}checkDCE(),reactDom.exports=reactDom_production_min;var reactDomExports=reactDom.exports;const ReactDOM=getDefaultExportFromCjs(reactDomExports);var createRoot,m$2=reactDomExports;createRoot=m$2.createRoot,m$2.hydrateRoot;const TOAST_LIMIT=1,TOAST_REMOVE_DELAY=1e6;let count$2=0;function genId(){return count$2=(count$2+1)%Number.MAX_SAFE_INTEGER,c
40ount$2.toString()}const toastTimeouts=new Map,addToRemoveQueue=_=>{if(toastTimeouts.has(_))return;const j=setTimeout(()=>{toastTimeouts.delete(_),dispatch({type:"REMOVE_TOAST",toastId:_})},TOAST_REMOVE_DELAY);toastTimeouts.set(_,j)},reducer=(_,j)=>{switch(j.type){case"ADD_TOAST":return{..._,toasts:[j.toast,..._.toasts].slice(0,TOAST_LIMIT)};case"UPDATE_TOAST":return{..._,toasts:_.toasts.map(et=>et.id===j.toast.id?{...et,...j.toast}:et)};case"DISMISS_TOAST":{const{toastId:et}=j;return et?addToRemoveQueue(et):_.toasts.forEach(tt=>{addToRemoveQueue(tt.id)}),{..._,toasts:_.toasts.map(tt=>tt.id===et||et===void 0?{...tt,open:!1}:tt)}}case"REMOVE_TOAST":return j.toastId===void 0?{..._,toasts:[]}:{..._,toasts:_.toasts.filter(et=>et.id!==j.toastId)}}},listeners=[];let memoryState={toasts:[]};function dispatch(_){memoryState=reducer(memoryState,_),listeners.forEach(j=>{j(memoryState)})}function toast({..._}){const j=genId(),et=rt=>dispatch({type:"UPDATE_TOAST",toast:{...rt,id:j}}),tt=()=>dispatch({type:"DISMISS_TOAST",toastId:j});return dispatch({type:"ADD_TOAST",toast:{..._,id:j,open:!0,onOpenChange:rt=>{rt||tt()}}}),{id:j,dismiss:tt,update:et}}function useToast(){const[_,j]=reactExports.useState(memoryState);return reactExports.useEffect(()=>(listeners.push(j),()=>{const et=listeners.indexOf(j);et>-1&&listeners.splice(et,1)}),[_]),{..._,toast,dismiss:et=>dispatch({type:"DISMISS_TOAST",toastId:et})}}function composeEventHandlers(_,j,{checkForDefaultPrevented:et=!0}={}){return function(rt){if(_==null||_(rt),et===!1||!rt.defaultPrevented)return j==null?void 0:j(rt)}}function setRef$1(_,j){if(typeof _=="function")return _(j);_!=null&&(_.current=j)}function composeRefs$1(..._){return j=>{let et=!1;const tt=_.map(rt=>{const nt=setRef$1(rt,j);return!et&&typeof nt=="function"&&(et=!0),nt});if(et)return()=>{for(let rt=0;rt<tt.length;rt++){const nt=tt[rt];typeof nt=="function"?nt():setRef$1(_[rt],null)}}}}function useComposedRefs$1(..._){return reactExports.useCallback(composeRefs$1(..._),_)}function createContext2(_,j){const et=reactExports.createContext(j),tt=nt=>{const{children:it,...st}=nt,at=reactExports.useMemo(()=>st,Object.values(st));return jsxRuntimeExports.jsx(et.Provider,{value:at,children:it})};tt.displayName=_+"Provider";function rt(nt){const it=reactExports.useContext(et);if(it)return it;if(j!==void 0)return j;throw new Error(`\`${nt}\` must be used within \`${_}\``)}return[tt,rt]}function createContextScope(_,j=[]){let et=[];function tt(nt,it){const st=reactExports.createContext(it),at=et.length;et=[...et,it];const ot=ct=>{var ft;const{scope:ut,children:dt,...ht}=ct,pt=((ft=ut==null?void 0:ut[_])==null?void 0:ft[at])||st,gt=reactExports.useMemo(()=>ht,Object.values(ht));return jsxRuntimeExports.jsx(pt.Provider,{value:gt,children:dt})};ot.displayName=nt+"Provider";function lt(ct,ut){var pt;const dt=((pt=ut==null?void 0:ut[_])==null?void 0:pt[at])||st,ht=reactExports.useContext(dt);if(ht)return ht;if(it!==void 0)return it;throw new Error(`\`${ct}\` must be used within \`${nt}\``)}return[ot,lt]}const rt=()=>{const nt=et.map(it=>reactExports.createContext(it));return function(st){const at=(st==null?void 0:st[_])||nt;return reactExports.useMemo(()=>({[`__scope${_}`]:{...st,[_]:at}}),[st,at])}};return rt.scopeName=_,[tt,composeContextScopes(rt,...j)]}function composeContextScopes(..._){const j=_[0];if(_.length===1)return j;const et=()=>{const tt=_.map(rt=>({useScope:rt(),scopeName:rt.scopeName}));return function(nt){const it=tt.reduce((st,{useScope:at,scopeName:ot})=>{const ct=at(nt)[`__scope${ot}`];return{...st,...ct}},{});return reactExports.useMemo(()=>({[`__scope${j.scopeName}`]:it}),[it])}};return et.scopeName=j.scopeName,et}function createSlot(_){const j=createSlotClone(_),et=reactExports.forwardRef((tt,rt)=>{const{children:nt,...it}=tt,st=reactExports.Children.toArray(nt),at=st.find(isSlottable);if(at){const ot=at.props.children,lt=st.map(ct=>ct===at?reactExports.Children.count(ot)>1?reactExports.Children.only(null):reactExports.isValidElement(ot)?ot.props.children:null:ct);return jsxRuntimeExports.jsx(j,{...it,ref:rt,children:reactExports.isValidElement(ot)?reactExports.cloneElement(ot,void 0,lt):null})}return jsxRuntimeExports.jsx(j,{...it,ref:rt,children:nt})});return et.displayName=`${_}.Slot`,et}var Slot$4=createSlot("Slot");function createSlotClone(_){const j=reactExports.forwardRef((et,tt)=>{const{children:rt,...nt}=et;if(reactExports.isValidElement(rt)){const it=getElementRef$1(rt),st=mergeProps(nt,rt.props);return rt.type!==reactExports.Fragment&&(st.ref=tt?composeRefs$1(tt,it):it),reactExports.cloneElement(rt,st)}return reactExports.Children.count(rt)>1?reactExports.Children.only(null):null});return j.displayName=`${_}.SlotClone`,j}var SLOTTABLE_IDENTIFIER=Symbol("radix.slottable");function createSlottable(_){const j=({children:et})=>jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:et});return j.displayName=`${_}.Slottable`,j.__radixId=SLOTTABLE_IDENTIFIER,j}function isSlottable(_){return reactExports.isValidElement(_)&&typeof _.type=="function"&&"__radixId"in _.type&&_.type.__radixId===SLOTTABLE_IDENTIFIER}function mergeProps(_,j){const et={...j};for(const tt in j){const rt=_[tt],nt=j[tt];/^on[A-Z]/.test(tt)?rt&&nt?et[tt]=(...st)=>{const at=nt(...st);return rt(...st),at}:rt&&(et[tt]=rt):tt==="style"?et[tt]={...rt,...nt}
vendor: 9,169 bytes, line 40
40:tt==="className"&&(et[tt]=[rt,nt].filter(Boolean).join(" "))}return{..._,...et}}function getElementRef$1(_){var tt,rt;let j=(tt=Object.getOwnPropertyDescriptor(_.props,"ref"))==null?void 0:tt.get,et=j&&"isReactWarning"in j&&j.isReactWarning;return et?_.ref:(j=(rt=Object.getOwnPropertyDescriptor(_,"ref"))==null?void 0:rt.get,et=j&&"isReactWarning"in j&&j.isReactWarning,et?_.props.ref:_.props.ref||_.ref)}function createCollection(_){const j=_+"CollectionProvider",[et,tt]=createContextScope(j),[rt,nt]=et(j,{collectionRef:{current:null},itemMap:new Map}),it=pt=>{const{scope:gt,children:ft}=pt,mt=React$1.useRef(null),xt=React$1.useRef(new Map).current;return jsxRuntimeExports.jsx(rt,{scope:gt,itemMap:xt,collectionRef:mt,children:ft})};it.displayName=j;const st=_+"CollectionSlot",at=createSlot(st),ot=React$1.forwardRef((pt,gt)=>{const{scope:ft,children:mt}=pt,xt=nt(st,ft),yt=useComposedRefs$1(gt,xt.collectionRef);return jsxRuntimeExports.jsx(at,{ref:yt,children:mt})});ot.displayName=st;const lt=_+"CollectionItemSlot",ct="data-radix-collection-item",ut=createSlot(lt),dt=React$1.forwardRef((pt,gt)=>{const{scope:ft,children:mt,...xt}=pt,yt=React$1.useRef(null),vt=useComposedRefs$1(gt,yt),bt=nt(lt,ft);return React$1.useEffect(()=>(bt.itemMap.set(yt,{ref:yt,...xt}),()=>void bt.itemMap.delete(yt))),jsxRuntimeExports.jsx(ut,{[ct]:"",ref:vt,children:mt})});dt.displayName=lt;function ht(pt){const gt=nt(_+"CollectionConsumer",pt);return React$1.useCallback(()=>{const mt=gt.collectionRef.current;if(!mt)return[];const xt=Array.from(mt.querySelectorAll(`[${ct}]`));return Array.from(gt.itemMap.values()).sort((bt,Et)=>xt.indexOf(bt.ref.current)-xt.indexOf(Et.ref.current))},[gt.collectionRef,gt.itemMap])}return[{Provider:it,Slot:ot,ItemSlot:dt},ht,tt]}var NODES=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Primitive=NODES.reduce((_,j)=>{const et=createSlot(`Primitive.${j}`),tt=reactExports.forwardRef((rt,nt)=>{const{asChild:it,...st}=rt,at=it?et:j;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),jsxRuntimeExports.jsx(at,{...st,ref:nt})});return tt.displayName=`Primitive.${j}`,{..._,[j]:tt}},{});function dispatchDiscreteCustomEvent(_,j){_&&reactDomExports.flushSync(()=>_.dispatchEvent(j))}function useCallbackRef$1(_){const j=reactExports.useRef(_);return reactExports.useEffect(()=>{j.current=_}),reactExports.useMemo(()=>(...et)=>{var tt;return(tt=j.current)==null?void 0:tt.call(j,...et)},[])}function useEscapeKeydown(_,j=globalThis==null?void 0:globalThis.document){const et=useCallbackRef$1(_);reactExports.useEffect(()=>{const tt=rt=>{rt.key==="Escape"&&et(rt)};return j.addEventListener("keydown",tt,{capture:!0}),()=>j.removeEventListener("keydown",tt,{capture:!0})},[et,j])}var DISMISSABLE_LAYER_NAME="DismissableLayer",CONTEXT_UPDATE="dismissableLayer.update",POINTER_DOWN_OUTSIDE="dismissableLayer.pointerDownOutside",FOCUS_OUTSIDE="dismissableLayer.focusOutside",originalBodyPointerEvents,DismissableLayerContext=reactExports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),DismissableLayer=reactExports.forwardRef((_,j)=>{const{disableOutsidePointerEvents:et=!1,onEscapeKeyDown:tt,onPointerDownOutside:rt,onFocusOutside:nt,onInteractOutside:it,onDismiss:st,...at}=_,ot=reactExports.useContext(DismissableLayerContext),[lt,ct]=reactExports.useState(null),ut=(lt==null?void 0:lt.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,dt]=reactExports.useState({}),ht=useComposedRefs$1(j,Et=>ct(Et)),pt=Array.from(ot.layers),[gt]=[...ot.layersWithOutsidePointerEventsDisabled].slice(-1),ft=pt.indexOf(gt),mt=lt?pt.indexOf(lt):-1,xt=ot.layersWithOutsidePointerEventsDisabled.size>0,yt=mt>=ft,vt=usePointerDownOutside(Et=>{const _t=Et.target,wt=[...ot.branches].some(Rt=>Rt.contains(_t));!yt||wt||(rt==null||rt(Et),it==null||it(Et),Et.defaultPrevented||st==null||st())},ut),bt=useFocusOutside(Et=>{const _t=Et.target;[...ot.branches].some(Rt=>Rt.contains(_t))||(nt==null||nt(Et),it==null||it(Et),Et.defaultPrevented||st==null||st())},ut);return useEscapeKeydown(Et=>{mt===ot.layers.size-1&&(tt==null||tt(Et),!Et.defaultPrevented&&st&&(Et.preventDefault(),st()))},ut),reactExports.useEffect(()=>{if(lt)return et&&(ot.layersWithOutsidePointerEventsDisabled.size===0&&(originalBodyPointerEvents=ut.body.style.pointerEvents,ut.body.style.pointerEvents="none"),ot.layersWithOutsidePointerEventsDisabled.add(lt)),ot.layers.add(lt),dispatchUpdate(),()=>{et&&ot.layersWithOutsidePointerEventsDisabled.size===1&&(ut.body.style.pointerEvents=originalBodyPointerEvents)}},[lt,ut,et,ot]),reactExports.useEffect(()=>()=>{lt&&(ot.layers.delete(lt),ot.layersWithOutsidePointerEventsDisabled.delete(lt),dispatchUpdate())},[lt,ot]),reactExports.useEffect(()=>{const Et=()=>dt({});return document.addEventListener(CONTEXT_UPDATE,Et),()=>document.removeEventListener(CONTEXT_UPDATE,Et)},[]),jsxRuntimeExports.jsx(Primitive.div,{...at,ref:ht,style:{pointerEvents:xt?yt?"auto":"none":void 0,..._.style},onFocusCapture:composeEventHandlers(_.onFocusCapture,bt.onFocusCapture),onBlurCapture:composeEventHandlers(_.onBlurCapture,bt.onBlurCapture),onPointerDownCapture:composeEventHandlers(_.onPointerDownCapture,vt.onPointerDownCapture)})});DismissableLayer.displayName=DISMISSABLE_LAYER_NAME;var BRANCH_NAME="DismissableLayerBranch",DismissableLayerBranch=reactExports.forwardRef((_,j)=>{const et=reactExports.useContext(DismissableLayerContext),tt=reactExports.useRef(null),rt=useComposedRefs$1(j,tt);return reactExports.useEffect(()=>{const nt=tt.current;if(nt)return et.branches.add(nt),()=>{et.branches.delete(nt)}},[et.branches]),jsxRuntimeExports.jsx(Primitive.div,{..._,ref:rt})});DismissableLayerBranch.displayName=BRANCH_NAME;function usePointerDownOutside(_,j=globalThis==null?void 0:globalThis.document){const et=useCallbackRef$1(_),tt=reactExports.useRef(!1),rt=reactExports.useRef(()=>{});return reactExports.useEffect(()=>{const nt=st=>{if(st.target&&!tt.current){let at=function(){handleAndDispatchCustomEvent$1(POINTER_DOWN_OUTSIDE,et,ot,{discrete:!0})};const ot={originalEvent:st};st.pointerType==="touch"?(j.removeEventListener("click",rt.current),rt.current=at,j.addEventListener("click",rt.current,{once:!0})):at()}else j.removeEventListener("click",rt.current);tt.current=!1},it=window.setTimeout(()=>{j.addEventListener("pointerdown",nt)},0);return()=>{window.clearTimeout(it),j.removeEventListener("pointerdown",nt),j.removeEventListener("click",rt.current)}},[j,et]),{onPointerDownCapture:()=>tt.current=!0}}function useFocusOutside(_,j=globalThis==null?void 0:globalThis.document){const et=useCallbackRef$1(_),tt=reactExports.useRef(!1);return reactExports.useEffect(()=>{const rt=nt=>{nt.target&&!tt.current&&handleAndDispatchCustomEvent$1(FOCUS_OUTSIDE,et,{originalEvent:nt},{discrete:!1})};return j.addEventListener("focusin",rt),()=>j.removeEventListener("focusin",rt)},[j,et]),{onFocusCapture:()=>tt.current=!0,onBlurCapture:()=>tt.current=!1}}function dispatchUpdate(){const _=new CustomEvent(CONTEXT_UPDATE);document.dispatchEvent(_)}function handleAndDispatchCustomEvent$1(_,j,et,{discrete:tt}){const rt=et.originalEvent.target,nt=new CustomEvent(_,{bubbles:!1,cancelable:!0,detail:et});j&&rt.addEventListener(_,j,{once:!0}),tt?dispatchDiscreteCustomEvent(rt,nt):rt.dispatchEvent(nt)}var Root$b=DismissableLayer,Branch=DismissableLayerBranch,useLayoutEffect2=globalThis!=null&&globalThis.document?reactExports.useLayoutEffect:()=>{},PORTAL_NAME$7="Portal",Portal$4=reactExports.forwardRef((_,j)=>{var st;const{container:et,...tt}=_,[rt,nt]=reactExports.useState(!1);useLayoutEffect2(()=>nt(!0),[]);const it=et||rt&&((st=globalThis==null?void 0:globalThis.document)==null?void 0:st.body);return it?ReactDOM.createPortal(jsxRuntimeExports.jsx(Primitive.div,{...tt,ref:j}),it):null});Portal$4.displayName=PORTAL_NAME$7;function useStateMachine(_,j){return reactExports.useReducer((et,tt)=>j[et][tt]??et,_)}var Presence=_=>{const{present:j,children:et}=_,tt=usePresence$1(j),rt=typeof et=="function"?et({present:tt.isPresent}):reactExports.Children.only(et),nt=useComposedRefs$1(tt.ref,getElementRef(rt));return typeof et=="function"||tt.isPresent?reactExports.cloneElement(rt,{ref:nt}):null};Presence.displayName="Presence";function usePresence$1(_){const[j,et]=reactExports.useState(),tt=reactExports.useRef(null),rt=reactExports.useRef(_),nt=reactExports.useRef("none"),it=_?"mounted":"unmounted",[st,at]=useStateMachine(it,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return reactExports.useEffect(()=>{const ot=getAnimationName(tt.current);nt.current=st==="mounted"?ot:"none"},[st]),useLayoutEffect2(()=>{const ot=tt.current,lt=rt.current;if(lt!==_){const ut=nt.current,dt=getAnimationName(ot);_?at("MOUNT"):dt==="none"||(ot==null?void 0:ot.display)==="none"?at("UNMOUNT"):at(lt&&ut!==dt?"ANIMATION_OUT":"UNMOUNT"),rt.current=_}},[_,at]),useLayoutEffect2(()=>{if(j){let ot;const lt=j.ownerDocument.defaultView??window,ct=dt=>{const pt=getAnimationName(tt.current).includes(dt.animationName);
40if(dt.target===j&&pt&&(at("ANIMATION_END"),!rt.current)){const gt=j.style.animationFillMode;j.style.animationFillMode="forwards",ot=lt.setTimeout(()=>{j.style.animationFillMode==="forwards"&&(j.style.animationFillMode=gt)})}},ut=dt=>{dt.target===j&&(nt.current=getAnimationName(tt.current))};return j.addEventListener("animationstart",ut),j.addEventListener("animationcancel",ct),j.addEventListener("animationend",ct),()=>{lt.clearTimeout(ot),j.removeEventListener("animationstart",ut),j.removeEventListener("animationcancel",ct),j.removeEventListener("animationend",ct)}}else at("ANIMATION_END")},[j,at]),{isPresent:["mounted","unmountSuspended"].includes(st),ref:reactExports.useCallback(ot=>{tt.current=ot?getComputedStyle(ot):null,et(ot)},[])}}function getAnimationName(_){return(_==null?void 0:_.animationName)||"none"}function getElementRef(_){var tt,rt;let j=(tt=Object.getOwnPropertyDescriptor(_.props,"ref"))==null?void 0:tt.get,et=j&&"isReactWarning"in j&&j.isReactWarning;return et?_.ref:(j=(rt=Object.getOwnPropertyDescriptor(_,"ref"))==null?void 0:rt.get,et=j&&"isReactWarning"in j&&j.isReactWarning,et?_.props.ref:_.props.ref||_.ref)}var useInsertionEffect=React$2[" useInsertionEffect ".trim().toString()]||useLayoutEffect2;function useControllableState({prop:_,defaultProp:j,onChange:et=()=>{},caller:tt}){const[rt,nt,it]=useUncontrolledState({defaultProp:j,onChange:et}),st=_!==void 0,at=st?_:rt;{const lt=reactExports.useRef(_!==void 0);reactExports.useEffect(()=>{const ct=lt.current;ct!==st&&console.warn(`${tt} is changing from ${ct?"controlled":"uncontrolled"} to ${st?"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.`),lt.current=st},[st,tt])}const ot=reactExports.useCallback(lt=>{var ct;if(st){const ut=isFunction$6(lt)?lt(_):lt;ut!==_&&((ct=it.current)==null||ct.call(it,ut))}else nt(lt)},[st,_,nt,it]);return[at,ot]}function useUncontrolledState({defaultProp:_,onChange:j}){const[et,tt]=reactExports.useState(_),rt=reactExports.useRef(et),nt=reactExports.useRef(j);return useInsertionEffect(()=>{nt.current=j},[j]),reactExports.useEffect(()=>{var it;rt.current!==et&&((it=nt.current)==null||it.call(nt,et),rt.current=et)},[et,rt]),[et,tt,nt]}function isFunction$6(_){return typeof _=="function"}var VISUALLY_HIDDEN_STYLES=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"}),NAME$4="VisuallyHidden",VisuallyHidden=reactExports.forwardRef((_,j)=>jsxRuntimeExports.jsx(Primitive.span,{..._,ref:j,style:{...VISUALLY_HIDDEN_STYLES,..._.style}}));VisuallyHidden.displayName=NAME$4;var Root$a=VisuallyHidden,PROVIDER_NAME$1="ToastProvider",[Collection$4,useCollection$4,createCollectionScope$4]=createCollection("Toast"),[createToastContext,createToastScope]=createContextScope("Toast",[createCollectionScope$4]),[ToastProviderProvider,useToastProviderContext]=createToastContext(PROVIDER_NAME$1),ToastProvider$1=_=>{const{__scopeToast:j,label:et="Notification",duration:tt=5e3,swipeDirection:rt="right",swipeThreshold:nt=50,children:it}=_,[st,at]=reactExports.useState(null),[ot,lt]=reactExports.useState(0),ct=reactExports.useRef(!1),ut=reactExports.useRef(!1);return et.trim()||console.error(`Invalid prop \`label\` supplied to \`${PROVIDER_NAME$1}\`. Expected non-empty \`string\`.`),jsxRuntimeExports.jsx(Collection$4.Provider,{scope:j,children:jsxRuntimeExports.jsx(ToastProviderProvider,{scope:j,label:et,duration:tt,swipeDirection:rt,swipeThreshold:nt,toastCount:ot,viewport:st,onViewportChange:at,onToastAdd:reactExports.useCallback(()=>lt(dt=>dt+1),[]),onToastRemove:reactExports.useCallback(()=>lt(dt=>dt-1),[]),isFocusedToastEscapeKeyDownRef:ct,isClosePausedRef:ut,children:it})})};ToastProvider$1.displayName=PROVIDER_NAME$1;var VIEWPORT_NAME$1="ToastViewport",VIEWPORT_DEFAULT_HOTKEY=["F8"],VIEWPORT_PAUSE="toast.viewportPause",VIEWPORT_RESUME="toast.viewportResume",ToastViewport$1=reactExports.forwardRef((_,j)=>{const{__scopeToast:et,hotkey:tt=VIEWPORT_DEFAULT_HOTKEY,label:rt="Notifications ({hotkey})",...nt}=_,it=useToastProviderContext(VIEWPORT_NAME$1,et),st=useCollection$4(et),at=reactExports.useRef(null),ot=reactExports.useRef(null),lt=reactExports.useRef(null),ct=reactExports.useRef(null),ut=useComposedRefs$1(j,ct,it.onViewportChange),dt=tt.join("+").replace(/Key/g,"").replace(/Digit/g,""),ht=it.toastCount>0;reactExports.useEffect(()=>{const gt=ft=>{var xt;tt.length!==0&&tt.every(yt=>ft[yt]||ft.code===yt)&&((xt=ct.current)==null||xt.focus())};return document.addEventListener("keydown",gt),()=>document.removeEventListener("keydown",gt)},[tt]),reactExports.useEffect(()=>{const gt=at.current,ft=ct.current;if(ht&>&&ft){const mt=()=>{if(!it.isClosePausedRef.current){const bt=new CustomEvent(VIEWPORT_PAUSE);ft.dispatchEvent(bt),it.isClosePausedRef.current=!0}},xt=()=>{if(it.isClosePausedRef.current){const bt=new CustomEvent(VIEWPORT_RESUME);ft.dispatchEvent(bt),it.isClosePausedRef.current=!1}},yt=bt=>{!gt.contains(bt.relatedTarget)&&xt()},vt=()=>{gt.contains(document.activeElement)||xt()};return gt.addEventListener("focusin",mt),gt.addEventListener("focusout",yt),gt.addEventListener("pointermove",mt),gt.addEventListener("pointerleave",vt),window.addEventListener("blur",mt),window.addEventListener("focus",xt),()=>{gt.removeEventListener("focusin",mt),gt.removeEventListener("focusout",yt),gt.removeEventListener("pointermove",mt),gt.removeEventListener("pointerleave",vt),window.removeEventListener("blur",mt),window.removeEventListener("focus",xt)}}},[ht,it.isClosePausedRef]);const pt=reactExports.useCallback(({tabbingDirection:gt})=>{const mt=st().map(xt=>{const yt=xt.ref.current,vt=[yt,...getTabbableCandidates$1(yt)];return gt==="forwards"?vt:vt.reverse()});return(gt==="forwards"?mt.reverse():mt).flat()},[st]);return reactExports.useEffect(()=>{const gt=ct.current;
40if(gt){const ft=mt=>{var vt,bt,Et;const xt=mt.altKey||mt.ctrlKey||mt.metaKey;if(mt.key==="Tab"&&!xt){const _t=document.activeElement,wt=mt.shiftKey;if(mt.target===gt&&wt){(vt=ot.current)==null||vt.focus();return}const jt=pt({tabbingDirection:wt?"backwards":"forwards"}),Dt=jt.findIndex(It=>It===_t);focusFirst$3(jt.slice(Dt+1))?mt.preventDefault():wt?(bt=ot.current)==null||bt.focus():(Et=lt.current)==null||Et.focus()}};return gt.addEventListener("keydown",ft),()=>gt.removeEventListener("keydown",ft)}},[st,pt]),jsxRuntimeExports.jsxs(Branch,{ref:at,role:"region","aria-label":rt.replace("{hotkey}",dt),tabIndex:-1,style:{pointerEvents:ht?void 0:"none"},children:[ht&&jsxRuntimeExports.jsx(FocusProxy,{ref:ot,onFocusFromOutsideViewport:()=>{const gt=pt({tabbingDirection:"forwards"});focusFirst$3(gt)}}),jsxRuntimeExports.jsx(Collection$4.Slot,{scope:et,children:jsxRuntimeExports.jsx(Primitive.ol,{tabIndex:-1,...nt,ref:ut})}),ht&&jsxRuntimeExports.jsx(FocusProxy,{ref:lt,onFocusFromOutsideViewport:()=>{const gt=pt({tabbingDirection:"backwards"});focusFirst$3(gt)}})]})});ToastViewport$1.displayName=VIEWPORT_NAME$1;var FOCUS_PROXY_NAME="ToastFocusProxy",FocusProxy=reactExports.forwardRef((_,j)=>{const{__scopeToast:et,onFocusFromOutsideViewport:tt,...rt}=_,nt=useToastProviderContext(FOCUS_PROXY_NAME,et);return jsxRuntimeExports.jsx(VisuallyHidden,{"aria-hidden":!0,tabIndex:0,...rt,ref:j,style:{position:"fixed"},onFocus:it=>{var ot;const st=it.relatedTarget;!((ot=nt.viewport)!=null&&ot.contains(st))&&tt()}})});FocusProxy.displayName=FOCUS_PROXY_NAME;var TOAST_NAME="Toast",TOAST_SWIPE_START="toast.swipeStart",TOAST_SWIPE_MOVE="toast.swipeMove",TOAST_SWIPE_CANCEL="toast.swipeCancel",TOAST_SWIPE_END="toast.swipeEnd",Toast$1=reactExports.forwardRef((_,j)=>{const{forceMount:et,open:tt,defaultOpen:rt,onOpenChange:nt,...it}=_,[st,at]=useControllableState({prop:tt,defaultProp:rt??!0,onChange:nt,caller:TOAST_NAME});return jsxRuntimeExports.jsx(Presence,{present:et||st,children:jsxRuntimeExports.jsx(ToastImpl,{open:st,...it,ref:j,onClose:()=>at(!1),onPause:useCallbackRef$1(_.onPause),onResume:useCallbackRef$1(_.onResume),onSwipeStart:composeEventHandlers(_.onSwipeStart,ot=>{ot.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:composeEventHandlers(_.onSwipeMove,ot=>{const{x:lt,y:ct}=ot.detail.delta;ot.currentTarget.setAttribute("data-swipe","move"),ot.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${lt}px`),ot.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${ct}px`)}),onSwipeCancel:composeEventHandlers(_.onSwipeCancel,ot=>{ot.currentTarget.setAttribute("data-swipe","cancel"),ot.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),ot.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),ot.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),ot.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:composeEventHandlers(_.onSwipeEnd,ot=>{const{x:lt,y:ct}=ot.detail.delta;ot.currentTarget.setAttribute("data-swipe","end"),ot.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),ot.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),ot.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${lt}px`),ot.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${ct}px`),at(!1)})})})});Toast$1.displayName=TOAST_NAME;var[ToastInteractiveProvider,useToastInteractiveContext]=createToastContext(TOAST_NAME,{onClose(){}}),ToastImpl=reactExports.forwardRef((_,j)=>{const{__scopeToast:et,type:tt="foreground",duration:rt,open:nt,onClose:it,onEscapeKeyDown:st,onPause:at,onResume:ot,onSwipeStart:lt,onSwipeMove:ct,onSwipeCancel:ut,onSwipeEnd:dt,...ht}=_,pt=useToastProviderContext(TOAST_NAME,et),[gt,ft]=reactExports.useState(null),mt=useComposedRefs$1(j,It=>ft(It)),xt=reactExports.useRef(null),yt=reactExports.useRef(null),vt=rt||pt.duration,bt=reactExports.useRef(0),Et=reactExports.useRef(vt),_t=reactExports.useRef(0),{onToastAdd:wt,onToastRemove:Rt}=pt,Ct=useCallbackRef$1(()=>{var Ot;(gt==null?void 0:gt.contains(document.activeElement))&&((Ot=pt.viewport)==null||Ot.focus()),it
40()}),jt=reactExports.useCallback(It=>{!It||It===1/0||(window.clearTimeout(_t.current),bt.current=new Date().getTime(),_t.current=window.setTimeout(Ct,It))},[Ct]);reactExports.useEffect(()=>{const It=pt.viewport;if(It){const Ot=()=>{jt(Et.current),ot==null||ot()},At=()=>{const Tt=new Date().getTime()-bt.current;Et.current=Et.current-Tt,window.clearTimeout(_t.current),at==null||at()};return It.addEventListener(VIEWPORT_PAUSE,At),It.addEventListener(VIEWPORT_RESUME,Ot),()=>{It.removeEventListener(VIEWPORT_PAUSE,At),It.removeEventListener(VIEWPORT_RESUME,Ot)}}},[pt.viewport,vt,at,ot,jt]),reactExports.useEffect(()=>{nt&&!pt.isClosePausedRef.current&&jt(vt)},[nt,vt,pt.isClosePausedRef,jt]),reactExports.useEffect(()=>(wt(),()=>Rt()),[wt,Rt]);const Dt=reactExports.useMemo(()=>gt?getAnnounceTextContent(gt):null,[gt]);return pt.viewport?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[Dt&&jsxRuntimeExports.jsx(ToastAnnounce,{__scopeToast:et,role:"status","aria-live":tt==="foreground"?"assertive":"polite","aria-atomic":!0,children:Dt}),jsxRuntimeExports.jsx(ToastInteractiveProvider,{scope:et,onClose:Ct,children:reactDomExports.createPortal(jsxRuntimeExports.jsx(Collection$4.ItemSlot,{scope:et,children:jsxRuntimeExports.jsx(Root$b,{asChild:!0,onEscapeKeyDown:composeEventHandlers(st,()=>{pt.isFocusedToastEscapeKeyDownRef.current||Ct(),pt.isFocusedToastEscapeKeyDownRef.current=!1}),children:jsxRuntimeExports.jsx(Primitive.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":nt?"open":"closed","data-swipe-direction":pt.swipeDirection,...ht,ref:mt,style:{userSelect:"none",touchAction:"none",..._.style},onKeyDown:composeEventHandlers(_.onKeyDown,It=>{It.key==="Escape"&&(st==null||st(It.nativeEvent),It.nativeEvent.defaultPrevented||(pt.isFocusedToastEscapeKeyDownRef.current=!0,Ct()))}),onPointerDown:composeEventHandlers(_.onPointerDown,It=>{It.button===0&&(xt.current={x:It.clientX,y:It.clientY})}),onPointerMove:composeEventHandlers(_.onPointerMove,It=>{if(!xt.current)return;const Ot=It.clientX-xt.current.x,At=It.clientY-xt.current.y,Tt=!!yt.current,kt=["left","right"].includes(pt.swipeDirection),St=["left","up"].includes(pt.swipeDirection)?Math.min:Math.max,Pt=kt?St(0,Ot):0,$t=kt?0:St(0,At),Nt=It.pointerType==="touch"?10:2,Mt={x:Pt,y:$t},Vt={originalEvent:It,delta:Mt};Tt?(yt.current=Mt,handleAndDispatchCustomEvent(TOAST_SWIPE_MOVE,ct,Vt,{discrete:!1})):isDeltaInDirection(Mt,pt.swipeDirection,Nt)?(yt.current=Mt,handleAndDispatchCustomEvent(TOAST_SWIPE_START,lt,Vt,{discrete:!1}),It.target.setPointerCapture(It.pointerId)):(Math.abs(Ot)>Nt||Math.abs(At)>Nt)&&(xt.current=null)}),onPointerUp:composeEventHandlers(_.onPointerUp,It=>{const Ot=yt.current,At=It.target;if(At.hasPointerCapture(It.pointerId)&&At.releasePointerCapture(It.pointerId),yt.current=null,xt.current=null,Ot){const Tt=It.currentTarget,kt={originalEvent:It,delta:Ot};isDeltaInDirection(Ot,pt.swipeDirection,pt.swipeThreshold)?handleAndDispatchCustomEvent(TOAST_SWIPE_END,dt,kt,{discrete:!0}):handleAndDispatchCustomEvent(TOAST_SWIPE_CANCEL,ut,kt,{discrete:!0}),Tt.addEventListener("click",St=>St.preventDefault(),{once:!0})}})})})}),pt.viewport)})]}):null}),ToastAnnounce=_=>{const{__scopeToast:j,children:et,...tt}=_,rt=useToastProviderContext(TOAST_NAME,j),[nt,it]=reactExports.useState(!1),[st,at]=reactExports.useState(!1);return useNextFrame(()=>it(!0)),reactExports.useEffect(()=>{const ot=window.setTimeout(()=>at(!0),1e3);return()=>window.clearTimeout(ot)},[]),st?null:jsxRuntimeExports.jsx(Portal$4,{asChild:!0,children:jsxRuntimeExports.jsx(VisuallyHidden,{...tt,children:nt&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[rt.label," ",et]})})})},TITLE_NAME$2="ToastTitle",ToastTitle$1=reactExports.forwardRef((_,j)=>{const{__scopeToast:et,...tt}=_;return jsxRuntimeExports.jsx(Primitive.div,{...tt,ref:j})});ToastTitle$1.displayName=TITLE_NAME$2;var DESCRIPTION_NAME$2="ToastDescription",ToastDescription$1=reactExports.forwardRef((_,j)=>{const{__scopeToast:et,...tt}=_;return jsxRuntimeExports.jsx(Primitive.div,{...tt,ref:j})});ToastDescription$1.displayName=DESCRIPTION_NAME$2;
vendor: 6,077 bytes, lines 40-65
40var ACTION_NAME$1="ToastAction",ToastAction$1=reactExports.forwardRef((_,j)=>{const{altText:et,...tt}=_;return et.trim()?jsxRuntimeExports.jsx(ToastAnnounceExclude,{altText:et,asChild:!0,children:jsxRuntimeExports.jsx(ToastClose$1,{...tt,ref:j})}):(console.error(`Invalid prop \`altText\` supplied to \`${ACTION_NAME$1}\`. Expected non-empty \`string\`.`),null)});ToastAction$1.displayName=ACTION_NAME$1;var CLOSE_NAME$2="ToastClose",ToastClose$1=reactExports.forwardRef((_,j)=>{const{__scopeToast:et,...tt}=_,rt=useToastInteractiveContext(CLOSE_NAME$2,et);return jsxRuntimeExports.jsx(ToastAnnounceExclude,{asChild:!0,children:jsxRuntimeExports.jsx(Primitive.button,{type:"button",...tt,ref:j,onClick:composeEventHandlers(_.onClick,rt.onClose)})})});ToastClose$1.displayName=CLOSE_NAME$2;var ToastAnnounceExclude=reactExports.forwardRef((_,j)=>{const{__scopeToast:et,altText:tt,...rt}=_;return jsxRuntimeExports.jsx(Primitive.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":tt||void 0,...rt,ref:j})});function getAnnounceTextContent(_){const j=[];return Array.from(_.childNodes).forEach(tt=>{if(tt.nodeType===tt.TEXT_NODE&&tt.textContent&&j.push(tt.textContent),isHTMLElement$3(tt)){const rt=tt.ariaHidden||tt.hidden||tt.style.display==="none",nt=tt.dataset.radixToastAnnounceExclude==="";if(!rt)if(nt){const it=tt.dataset.radixToastAnnounceAlt;it&&j.push(it)}else j.push(...getAnnounceTextContent(tt))}}),j}function handleAndDispatchCustomEvent(_,j,et,{discrete:tt}){const rt=et.originalEvent.currentTarget,nt=new CustomEvent(_,{bubbles:!0,cancelable:!0,detail:et});j&&rt.addEventListener(_,j,{once:!0}),tt?dispatchDiscreteCustomEvent(rt,nt):rt.dispatchEvent(nt)}var isDeltaInDirection=(_,j,et=0)=>{const tt=Math.abs(_.x),rt=Math.abs(_.y),nt=tt>rt;return j==="left"||j==="right"?nt&&tt>et:!nt&&rt>et};function useNextFrame(_=()=>{}){const j=useCallbackRef$1(_);useLayoutEffect2(()=>{let et=0,tt=0;return et=window.requestAnimationFrame(()=>tt=window.requestAnimationFrame(j)),()=>{window.cancelAnimationFrame(et),window.cancelAnimationFrame(tt)}},[j])}function isHTMLElement$3(_){return _.nodeType===_.ELEMENT_NODE}function getTabbableCandidates$1(_){const j=[],et=document.createTreeWalker(_,NodeFilter.SHOW_ELEMENT,{acceptNode:tt=>{const rt=tt.tagName==="INPUT"&&tt.type==="hidden";return tt.disabled||tt.hidden||rt?NodeFilter.FILTER_SKIP:tt.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;et.nextNode();)j.push(et.currentNode);return j}function focusFirst$3(_){const j=document.activeElement;return _.some(et=>et===j?!0:(et.focus(),document.activeElement!==j))}var Provider$1=ToastProvider$1,Viewport$1=ToastViewport$1,Root2$7=Toast$1,Title$1=ToastTitle$1,Description$1=ToastDescription$1,Action$2=ToastAction$1,Close$1=ToastClose$1;function r$1(_){var j,et,tt="";if(typeof _=="string"||typeof _=="number")tt+=_;else if(typeof _=="object")if(Array.isArray(_)){var rt=_.length;for(j=0;j<rt;j++)_[j]&&(et=r$1(_[j]))&&(tt&&(tt+=" "),tt+=et)}else for(et in _)_[et]&&(tt&&(tt+=" "),tt+=et);return tt}function clsx(){for(var _,j,et=0,tt="",rt=arguments.length;et<rt;et++)(_=arguments[et])&&(j=r$1(_))&&(tt&&(tt+=" "),tt+=j);return tt}const falsyToString=_=>typeof _=="boolean"?`${_}`:_===0?"0":_,cx=clsx,cva=(_,j)=>et=>{var tt;if((j==null?void 0:j.variants)==null)return cx(_,et==null?void 0:et.class,et==null?void 0:et.className);const{variants:rt,defaultVariants:nt}=j,it=Object.keys(rt).map(ot=>{const lt=et==null?void 0:et[ot],ct=nt==null?void 0:nt[ot];if(lt===null)return null;const ut=falsyToString(lt)||falsyToString(ct);return rt[ot][ut]}),st=et&&Object.entries(et).reduce((ot,lt)=>{let[ct,ut]=lt;return ut===void 0||(ot[ct]=ut),ot},{}),at=j==null||(tt=j.compoundVariants)===null||tt===void 0?void 0:tt.reduce((ot,lt)=>{let{class:ct,className:ut,...dt}=lt;return Object.entries(dt).every(ht=>{let[pt,gt]=ht;return Array.isArray(gt)?gt.includes({...nt,...st}[pt]):{...nt,...st}[pt]===gt})?[...ot,ct,ut]:ot},[]);return cx(_,it,at,et==null?void 0:et.class,et==null?void 0:et.className)};/** 41 * @license lucide-react v0.462.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const toKebabCase=_=>_.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),mergeClasses=(..._)=>_.filter((j,et,tt)=>!!j&&j.trim()!==""&&tt.indexOf(j)===et).join(" ").trim();/** 46 * @license lucide-react v0.462.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var defaultAttributes={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"};/** 51 * @license lucide-react v0.462.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const Icon$1=reactExports.forwardRef(({color:_="currentColor",size:j=24,strokeWidth:et=2,absoluteStrokeWidth:tt,className:rt="",children:nt,iconNode:it,...st},at)=>reactExports.createElement("svg",{ref:at,...defaultAttributes,width:j,height:j,stroke:_,strokeWidth:tt?Number(et)*24/Number(j):et,className:mergeClasses("lucide",rt),...st},[...it.map(([ot,lt])=>reactExports.createElement(ot,lt)),...Array.isArray(nt)?nt:[nt]]));/** 56 * @license lucide-react v0.462.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const createLucideIcon=(_,j)=>{const et=reactExports.forwardRef(({className:tt,...rt},nt)=>reactExports.createElement(Icon$1,{ref:nt,iconNode:j,className:mergeClasses(`lucide-${toKebabCase(_)}`,tt),...rt}));return et.displayName=`${_}`,et};/** 61 * @license lucide-react v0.462.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const Activity=createLucideIcon("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l
65-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/** 66 * @license lucide-react v0.462.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const Aperture=createLucideIcon("Aperture",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m14.31 8 5.74 9.94",key:"1y6ab4"}],["path",{d:"M9.69 8h11.48",key:"1wxppr"}],["path",{d:"m7.38 12 5.74-9.94",key:"1grp0k"}],["path",{d:"M9.69 16 3.95 6.06",key:"libnyf"}],["path",{d:"M14.31 16H2.83",key:"x5fava"}],["path",{d:"m16.62 12-5.74 9.94",key:"1vwawt"}]]);/** 71 * @license lucide-react v0.462.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const ArrowLeft=createLucideIcon("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** 76 * @license lucide-react v0.462.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const ArrowRight=createLucideIcon("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 81 * @license lucide-react v0.462.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree. 85 */const ArrowUpDown=createLucideIcon("ArrowUpDown",[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]]);/** 86 * @license lucide-react v0.462.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree. 90 */const Camera=createLucideIcon("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);/** 91 * @license lucide-react v0.462.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const ChartColumn=createLucideIcon("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/** 96 * @license lucide-react v0.462.0 - ISC 97 * 98 * This source code is licensed under the ISC license. 99 * See the LICENSE file in the root directory of this source tree. 100 */const Check=createLucideIcon("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** 101 * @license lucide-react v0.462.0 - ISC 102 * 103 * This source code is licensed under the ISC license. 104 * See the LICENSE file in the root directory of this source tree. 105 */const ChevronDown=createLucideIcon("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 106 * @license lucide-react v0.462.0 - ISC 107 * 108 * This source code is licensed under the ISC license. 109 * See the LICENSE file in the root directory of this source tree. 110 */const ChevronLeft=createLucideIcon("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/** 111 * @license lucide-react v0.462.0 - ISC 112 * 113 * This source code is licensed under the ISC license. 114 * See the LICENSE file in the root directory of this source tree. 115 */const ChevronRight=createLucideIcon("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 116 * @license lucide-react v0.462.0 - ISC 117 * 118 * This source code is licensed under the ISC license. 119 * See the LICENSE file in the root directory of this source tree. 120 */const ChevronUp=createLucideIcon("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** 121 * @license lucide-react v0.462.0 - ISC 122 * 123 * This source code is licensed under the ISC license. 124 * See the LICENSE file in the root directory of this source tree. 125 */const ChevronsUpDown=createLucideIcon("ChevronsUpDown",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);/** 126 * @license lucide-react v0.462.0 - ISC 127 * 128 * This source code is licensed under the ISC license. 129 * See the LICENSE file in the root directory of this source tree. 130 */const CircleCheck=createLucideIcon("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 131 * @license lucide-react v0.462.0 - ISC 132 * 133 * This source code is licensed under the ISC license. 134 * See the LICENSE file in the root directory of this source tree. 135 */const CircleStop=createLucideIcon("CircleStop",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]]);/** 136 * @license lucide-react v0.462.0 - ISC 137 * 138 * This source code is licensed under the ISC license. 139 * See the LICENSE file in the root directory of this source tree. 140 */const CircleX=createLucideIcon("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/** 141 * @license lucide-react v0.462.0 - ISC 142 * 143 * This source code is licensed under the ISC license. 144 * See the LICENSE file in the root directory of this source tree. 145 */const Circle=createLucideIcon("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** 146 * @license lucide-react v0.462.0 - ISC 147 * 148 * This source code is licensed under the ISC license. 149 * See the LICENSE file in the root directory of this source tree. 150 */const Clock=createLucideIcon("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 151 * @license lucide-react v0.462.0 - ISC 152 * 153 * This source code is licensed under the ISC license. 154 * See the LICENSE file in the root directory of this source tree. 155 */const Coins=createLucideIcon("Coins",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]]);/** 156 * @license lucide-react v0.462.0 - ISC 157 * 158 * This source code is licensed under the ISC license. 159 * See the LICENSE file in the root directory of this source tree.
160 */const Copy=createLucideIcon("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/** 161 * @license lucide-react v0.462.0 - ISC 162 * 163 * This source code is licensed under the ISC license. 164 * See the LICENSE file in the root directory of this source tree. 165 */const CreditCard=createLucideIcon("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);/** 166 * @license lucide-react v0.462.0 - ISC 167 * 168 * This source code is licensed under the ISC license. 169 * See the LICENSE file in the root directory of this source tree. 170 */const Crown=createLucideIcon("Crown",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]]);/** 171 * @license lucide-react v0.462.0 - ISC 172 * 173 * This source code is licensed under the ISC license. 174 * See the LICENSE file in the root directory of this source tree. 175 */const Download=createLucideIcon("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/** 176 * @license lucide-react v0.462.0 - ISC 177 * 178 * This source code is licensed under the ISC license. 179 * See the LICENSE file in the root directory of this source tree. 180 */const Ellipsis=createLucideIcon("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);/** 181 * @license lucide-react v0.462.0 - ISC 182 * 183 * This source code is licensed under the ISC license. 184 * See the LICENSE file in the root directory of this source tree. 185 */const ExternalLink=createLucideIcon("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/** 186 * @license lucide-react v0.462.0 - ISC 187 * 188 * This source code is licensed under the ISC license. 189 * See the LICENSE file in the root directory of this source tree. 190 */const EyeOff=createLucideIcon("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/** 191 * @license lucide-react v0.462.0 - ISC 192 * 193 * This source code is licensed under the ISC license. 194 * See the LICENSE file in the root directory of this source tree. 195 */const Eye=createLucideIcon("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"}]]);/** 196 * @license lucide-react v0.462.0 - ISC 197 * 198 * This source code is licensed under the ISC license. 199 * See the LICENSE file in the root directory of this source tree. 200 */const Filter=createLucideIcon("Filter",[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]]);/** 201 * @license lucide-react v0.462.0 - ISC 202 * 203 * This source code is licensed under the ISC license. 204 * See the LICENSE file in the root directory of this source tree. 205 */const Flame=createLucideIcon("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]);/** 206 * @license lucide-react v0.462.0 - ISC 207 * 208 * This source code is licensed under the ISC license. 209 * See the LICENSE file in the root directory of this source tree. 210 */const FlaskConical=createLucideIcon("FlaskConical",[["path",{d:"M10 2v7.527a2 2 0 0 1-.211.896L4.72 20.55a1 1 0 0 0 .9 1.45h12.76a1 1 0 0 0 .9-1.45l-5.069-10.127A2 2 0 0 1 14 9.527V2",key:"pzvekw"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M7 16h10",key:"wp8him"}]]);/** 211 * @license lucide-react v0.462.0 - ISC 212 * 213 * This source code is licensed under the ISC license. 214 * See the LICENSE file in the root directory of this source tree. 215 */const Flower2=createLucideIcon("Flower2",[["path",{d:"M12 5a3 3 0 1 1 3 3m-3-3a3 3 0 1 0-3 3m3-3v1M9 8a3 3 0 1 0 3 3M9 8h1m5 0a3 3 0 1 1-3 3m3-3h-1m-2 3v-1",key:"3pnvol"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}
215],["path",{d:"M12 10v12",key:"6ubwww"}],["path",{d:"M12 22c4.2 0 7-1.667 7-5-4.2 0-7 1.667-7 5Z",key:"9hd38g"}],["path",{d:"M12 22c-4.2 0-7-1.667-7-5 4.2 0 7 1.667 7 5Z",key:"ufn41s"}]]);/** 216 * @license lucide-react v0.462.0 - ISC 217 * 218 * This source code is licensed under the ISC license. 219 * See the LICENSE file in the root directory of this source tree. 220 */const Focus=createLucideIcon("Focus",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}]]);/** 221 * @license lucide-react v0.462.0 - ISC 222 * 223 * This source code is licensed under the ISC license. 224 * See the LICENSE file in the root directory of this source tree. 225 */const Footprints=createLucideIcon("Footprints",[["path",{d:"M4 16v-2.38C4 11.5 2.97 10.5 3 8c.03-2.72 1.49-6 4.5-6C9.37 2 10 3.8 10 5.5c0 3.11-2 5.66-2 8.68V16a2 2 0 1 1-4 0Z",key:"1dudjm"}],["path",{d:"M20 20v-2.38c0-2.12 1.03-3.12 1-5.62-.03-2.72-1.49-6-4.5-6C14.63 6 14 7.8 14 9.5c0 3.11 2 5.66 2 8.68V20a2 2 0 1 0 4 0Z",key:"l2t8xc"}],["path",{d:"M16 17h4",key:"1dejxt"}],["path",{d:"M4 13h4",key:"1bwh8b"}]]);/** 226 * @license lucide-react v0.462.0 - ISC 227 * 228 * This source code is licensed under the ISC license. 229 * See the LICENSE file in the root directory of this source tree. 230 */const Grid2x2=createLucideIcon("Grid2x2",[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 12h18",key:"1i2n21"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]);/** 231 * @license lucide-react v0.462.0 - ISC 232 * 233 * This source code is licensed under the ISC license. 234 * See the LICENSE file in the root directory of this source tree. 235 */const House=createLucideIcon("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/** 236 * @license lucide-react v0.462.0 - ISC 237 * 238 * This source code is licensed under the ISC license. 239 * See the LICENSE file in the root directory of this source tree. 240 */const Image$2=createLucideIcon("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/** 241 * @license lucide-react v0.462.0 - ISC 242 * 243 * This source code is licensed under the ISC license. 244 * See the LICENSE file in the root directory of this source tree. 245 */const Images=createLucideIcon("Images",[["path",{d:"M18 22H4a2 2 0 0 1-2-2V6",key:"pblm9e"}],["path",{d:"m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18",key:"nf6bnh"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["rect",{width:"16",height:"16",x:"6",y:"2",rx:"2",key:"12espp"}]]);/** 246 * @license lucide-react v0.462.0 - ISC 247 * 248 * This source code is licensed under the ISC license. 249 * See the LICENSE file in the root directory of this source tree. 250 */const Infinity$1=createLucideIcon("Infinity",[["path",{d:"M12 12c-2-2.67-4-4-6-4a4 4 0 1 0 0 8c2 0 4-1.33 6-4Zm0 0c2 2.67 4 4 6 4a4 4 0 0 0 0-8c-2 0-4 1.33-6 4Z",key:"1z0uae"}]]);/** 251 * @license lucide-react v0.462.0 - ISC 252 * 253 * This source code is licensed under the ISC license. 254 * See the LICENSE file in the root directory of this source tree. 255 */const Info=createLucideIcon("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/** 256 * @license lucide-react v0.462.0 - ISC 257 * 258 * This source code is licensed under the ISC license. 259 * See the LICENSE file in the root directory of this source tree. 260 */const KeyRound=createLucideIcon("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/** 261 * @license lucide-react v0.462.0 - ISC 262 * 263 * This source code is licensed under the ISC license. 264 * See the LICENSE file in the root directory of this source tree. 265 */const Lamp=createLucideIcon("Lamp",[["path",{d:"M8 2h8l4 10H4L8 2Z",key:"9dma5w"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"M8 22v-2c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v2H8Z",key:"mwf4oh"}]]);/** 266 * @license lucide-react v0.462.0 - ISC 267 * 268 * This source code is licensed under the ISC license. 269 * See the LICENSE file in the root directory of this source tree. 270 */const Layers=createLucideIcon("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/** 271 * @license lucide-react v0.462.0 - ISC 272 * 273 * This source code is licensed under the ISC license. 274 * See the LICENSE file in the root directory of this source tree. 275 */const LayoutGrid=createLucideIcon("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);/** 276 * @license lucide-react v0.462.0 - ISC 277 * 278 * This source code is licensed under the ISC license. 279 * See the LICENSE file in the root directory of this source tree. 280 */const Leaf=createLucideIcon("Leaf",[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]]);/** 281 * @license lucide-react v0.462.0 - ISC 282 * 283 * This source code is licensed under the ISC license. 284 * See the LICENSE file in the root directory of this source tree. 285 */const Lightbulb=createLucideIcon("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/** 286 * @license lucide-react v0.462.0 - ISC 287 * 288 * This source code is licensed under the ISC license. 289 * See the LICENSE file in the root directory of this source tree. 290 */const Link2=createLucideIcon("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",ke
290y:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);/** 291 * @license lucide-react v0.462.0 - ISC 292 * 293 * This source code is licensed under the ISC license. 294 * See the LICENSE file in the root directory of this source tree. 295 */const LoaderCircle=createLucideIcon("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** 296 * @license lucide-react v0.462.0 - ISC 297 * 298 * This source code is licensed under the ISC license. 299 * See the LICENSE file in the root directory of this source tree. 300 */const Lock=createLucideIcon("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/** 301 * @license lucide-react v0.462.0 - ISC 302 * 303 * This source code is licensed under the ISC license. 304 * See the LICENSE file in the root directory of this source tree. 305 */const LogOut=createLucideIcon("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/** 306 * @license lucide-react v0.462.0 - ISC 307 * 308 * This source code is licensed under the ISC license. 309 * See the LICENSE file in the root directory of this source tree. 310 */const Mail=createLucideIcon("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** 311 * @license lucide-react v0.462.0 - ISC 312 * 313 * This source code is licensed under the ISC license. 314 * See the LICENSE file in the root directory of this source tree. 315 */const MapPin=createLucideIcon("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/** 316 * @license lucide-react v0.462.0 - ISC 317 * 318 * This source code is licensed under the ISC license. 319 * See the LICENSE file in the root directory of this source tree. 320 */const Maximize=createLucideIcon("Maximize",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]]);/** 321 * @license lucide-react v0.462.0 - ISC 322 * 323 * This source code is licensed under the ISC license. 324 * See the LICENSE file in the root directory of this source tree. 325 */const MousePointer=createLucideIcon("MousePointer",[["path",{d:"M12.586 12.586 19 19",key:"ea5xo7"}],["path",{d:"M3.688 3.037a.497.497 0 0 0-.651.651l6.5 15.999a.501.501 0 0 0 .947-.062l1.569-6.083a2 2 0 0 1 1.448-1.479l6.124-1.579a.5.5 0 0 0 .063-.947z",key:"277e5u"}]]);/** 326 * @license lucide-react v0.462.0 - ISC 327 * 328 * This source code is licensed under the ISC license. 329 * See the LICENSE file in the root directory of this source tree. 330 */const Package=createLucideIcon("Package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["path",{d:"m3.3 7 7.703 4.734a2 2 0 0 0 1.994 0L20.7 7",key:"yx3hmr"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);/** 331 * @license lucide-react v0.462.0 - ISC 332 * 333 * This source code is licensed under the ISC license. 334 * See the LICENSE file in the root directory of this source tree. 335 */const Palette=createLucideIcon("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]]);/** 336 * @license lucide-react v0.462.0 - ISC 337 * 338 * This source code is licensed under the ISC license. 339 * See the LICENSE file in the root directory of this source tree. 340 */const PanelLeft=createLucideIcon("PanelLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]);/** 341 * @license lucide-react v0.462.0 - ISC 342 * 343 * This source code is licensed under the ISC license. 344 * See the LICENSE file in the root directory of this source tree. 345 */const Pencil=createLucideIcon("Pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);/** 346 * @license lucide-react v0.462.0 - ISC 347 * 348 * This source code is licensed under the ISC license. 349 * See the LICENSE file in the root directory of this source tree. 350 */const Pipette=createLucideIcon("Pipette",[["path",{d:"m2 22 1-1h3l9-9",key:"1sre89"}],["path",{d:"M3 21v-3l9-9",key:"hpe2y6"}],["path",{d:"m15 6 3.4-3.4a2.1 2.1 0 1 1 3 3L18 9l.4.4a2.1 2.1 0 1 1-3 3l-3.8-3.8a2.1 2.1 0 1 1 3-3l.4.4Z",key:"196du1"}]]);/** 351 * @license lucide-react v0.462.0 - ISC 352 * 353 * This source code is licensed under the ISC license. 354 * See the LICENSE file in the root directory of this source tree. 355 */const Plus=createLucideIcon("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/** 356 * @license lucide-react v0.462.0 - ISC 357 * 358 * This source code is licensed under the ISC license. 359 * See the LICENSE file in the root directory of this source tree. 360 */const Ratio=createLucideIcon("Ratio",[["rect",{width:"12",height:"20",x:"6",y:"2",rx:"2",key:"1oxtiu"}],["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}]]);/** 361 * @license lucide-react v0.462.0 - ISC 362 * 363 * This source code is licensed under the ISC license. 364 * See the LICENSE file in the root directory of this source tree. 365 */const RefreshCw=createLucideIcon("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"}]]);/** 366 * @license lucide-react v0.462.0 - ISC 367 * 368 * This source code is licensed under the ISC license. 369 * See the LICENSE file in the root directory of this source tree. 370 */const Rocket=createLucideIcon("Rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3
370kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]);/** 371 * @license lucide-react v0.462.0 - ISC 372 * 373 * This source code is licensed under the ISC license. 374 * See the LICENSE file in the root directory of this source tree. 375 */const RotateCcw=createLucideIcon("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/** 376 * @license lucide-react v0.462.0 - ISC 377 * 378 * This source code is licensed under the ISC license. 379 * See the LICENSE file in the root directory of this source tree. 380 */const Save=createLucideIcon("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);/** 381 * @license lucide-react v0.462.0 - ISC 382 * 383 * This source code is licensed under the ISC license. 384 * See the LICENSE file in the root directory of this source tree. 385 */const ScanEye=createLucideIcon("ScanEye",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0",key:"11ak4c"}]]);/** 386 * @license lucide-react v0.462.0 - ISC 387 * 388 * This source code is licensed under the ISC license. 389 * See the LICENSE file in the root directory of this source tree. 390 */const ScanLine=createLucideIcon("ScanLine",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7 12h10",key:"b7w52i"}]]);/** 391 * @license lucide-react v0.462.0 - ISC 392 * 393 * This source code is licensed under the ISC license. 394 * See the LICENSE file in the root directory of this source tree. 395 */const Search=createLucideIcon("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** 396 * @license lucide-react v0.462.0 - ISC 397 * 398 * This source code is licensed under the ISC license. 399 * See the LICENSE file in the root directory of this source tree. 400 */const Settings2=createLucideIcon("Settings2",[["path",{d:"M20 7h-9",key:"3s1dr2"}],["path",{d:"M14 17H5",key:"gfn3mx"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);/** 401 * @license lucide-react v0.462.0 - ISC 402 * 403 * This source code is licensed under the ISC license. 404 * See the LICENSE file in the root directory of this source tree. 405 */const Settings=createLucideIcon("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** 406 * @license lucide-react v0.462.0 - ISC 407 * 408 * This source code is licensed under the ISC license. 409 * See the LICENSE file in the root directory of this source tree. 410 */const ShieldCheck=createLucideIcon("ShieldCheck",[["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",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 411 * @license lucide-react v0.462.0 - ISC 412 * 413 * This source code is licensed under the ISC license. 414 * See the LICENSE file in the root directory of this source tree. 415 */const Shield=createLucideIcon("Shield",[["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
415y:"oel41y"}]]);/** 416 * @license lucide-react v0.462.0 - ISC 417 * 418 * This source code is licensed under the ISC license. 419 * See the LICENSE file in the root directory of this source tree. 420 */const Shirt=createLucideIcon("Shirt",[["path",{d:"M20.38 3.46 16 2a4 4 0 0 1-8 0L3.62 3.46a2 2 0 0 0-1.34 2.23l.58 3.47a1 1 0 0 0 .99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V10h2.15a1 1 0 0 0 .99-.84l.58-3.47a2 2 0 0 0-1.34-2.23z",key:"1wgbhj"}]]);/** 421 * @license lucide-react v0.462.0 - ISC 422 * 423 * This source code is licensed under the ISC license. 424 * See the LICENSE file in the root directory of this source tree. 425 */const ShoppingBasket=createLucideIcon("ShoppingBasket",[["path",{d:"m15 11-1 9",key:"5wnq3a"}],["path",{d:"m19 11-4-7",key:"cnml18"}],["path",{d:"M2 11h20",key:"3eubbj"}],["path",{d:"m3.5 11 1.6 7.4a2 2 0 0 0 2 1.6h9.8a2 2 0 0 0 2-1.6l1.7-7.4",key:"yiazzp"}],["path",{d:"M4.5 15.5h15",key:"13mye1"}],["path",{d:"m5 11 4-7",key:"116ra9"}],["path",{d:"m9 11 1 9",key:"1ojof7"}]]);/** 426 * @license lucide-react v0.462.0 - ISC 427 * 428 * This source code is licensed under the ISC license. 429 * See the LICENSE file in the root directory of this source tree. 430 */const ShoppingCart=createLucideIcon("ShoppingCart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);/** 431 * @license lucide-react v0.462.0 - ISC 432 * 433 * This source code is licensed under the ISC license. 434 * See the LICENSE file in the root directory of this source tree. 435 */const Skull=createLucideIcon("Skull",[["path",{d:"m12.5 17-.5-1-.5 1h1z",key:"3me087"}],["path",{d:"M15 22a1 1 0 0 0 1-1v-1a2 2 0 0 0 1.56-3.25 8 8 0 1 0-11.12 0A2 2 0 0 0 8 20v1a1 1 0 0 0 1 1z",key:"1o5pge"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}]]);/** 436 * @license lucide-react v0.462.0 - ISC 437 * 438 * This source code is licensed under the ISC license. 439 * See the LICENSE file in the root directory of this source tree. 440 */const Snowflake=createLucideIcon("Snowflake",[["line",{x1:"2",x2:"22",y1:"12",y2:"12",key:"1dnqot"}],["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"m20 16-4-4 4-4",key:"rquw4f"}],["path",{d:"m4 8 4 4-4 4",key:"12s3z9"}],["path",{d:"m16 4-4 4-4-4",key:"1tumq1"}],["path",{d:"m8 20 4-4 4 4",key:"9p200w"}]]);/** 441 * @license lucide-react v0.462.0 - ISC 442 * 443 * This source code is licensed under the ISC license. 444 * See the LICENSE file in the root directory of this source tree. 445 */const Sofa=createLucideIcon("Sofa",[["path",{d:"M20 9V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v3",key:"1dgpiv"}],["path",{d:"M2 16a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z",key:"xacw8m"}],["path",{d:"M4 18v2",key:"jwo5n2"}],["path",{d:"M20 18v2",key:"1ar1qi"}],["path",{d:"M12 4v9",key:"oqhhn3"}]]);/** 446 * @license lucide-react v0.462.0 - ISC 447 * 448 * This source code is licensed under the ISC license. 449 * See the LICENSE file in the root directory of this source tree. 450 */const Sparkle=createLucideIcon("Sparkle",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}]]);/** 451 * @license lucide-react v0.462.0 - ISC 452 * 453 * This source code is licensed under the ISC license. 454 * See the LICENSE file in the root directory of this source tree. 455 */const Sparkles=createLucideIcon("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/** 456 * @license lucide-react v0.462.0 - ISC 457 * 458 * This source code is licensed under the ISC license. 459 * See the LICENSE file in the root directory of this source tree. 460 */const Sprout=createLucideIcon("Sprout",[["path",{d:"M7 20h10",key:"e6iznv"}],["path",{d:"M10 20c5.5-2.5.8-6.4 3-10",key:"161w41"}],["path",{d:"M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z",key:"9gtqwd"}],["path",{d:"M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z",key:"bkxnd2"}]]);/** 461 * @license lucide-react v0.462.0 - ISC 462 * 463 * This source code is licensed under the ISC license. 464 * See the LICENSE file in the root directory of this source tree. 465 */const SquareCheckBig=createLucideIcon("SquareCheckBig",[["path",{d:"M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5",key:"1uzm8b"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** 466 * @license lucide-react v0.462.0 - ISC 467 * 468 * This source code is licensed under the ISC license. 469 * See the LICENSE file in the root directory of this source tree. 470 */const Square=createLucideIcon("Square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);/** 471 * @license lucide-react v0.462.0 - ISC 472 * 473 * This source code is licensed under the ISC license. 474 * See the LICENSE file in the root directory of this source tree. 475 */const Star=createLucideIcon("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/** 476 * @license lucide-react v0.462.0 - ISC 477 * 478 * This source code is licensed under the ISC license. 479 * See the LICENSE file in the root directory of this source tree. 480 */const Store=createLucideIcon("Store",[["path",{d:"m2 7 4.41-4.41A2 2
4800 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7",key:"ztvudi"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["path",{d:"M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4",key:"2ebpfo"}],["path",{d:"M2 7h20",key:"1fcdvo"}],["path",{d:"M22 7v3a2 2 0 0 1-2 2a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12a2 2 0 0 1-2-2V7",key:"6c3vgh"}]]);/** 481 * @license lucide-react v0.462.0 - ISC 482 * 483 * This source code is licensed under the ISC license. 484 * See the LICENSE file in the root directory of this source tree. 485 */const Sun=createLucideIcon("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/** 486 * @license lucide-react v0.462.0 - ISC 487 * 488 * This source code is licensed under the ISC license. 489 * See the LICENSE file in the root directory of this source tree. 490 */const Trash2=createLucideIcon("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/** 491 * @license lucide-react v0.462.0 - ISC 492 * 493 * This source code is licensed under the ISC license. 494 * See the LICENSE file in the root directory of this source tree. 495 */const TrendingUp=createLucideIcon("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/** 496 * @license lucide-react v0.462.0 - ISC 497 * 498 * This source code is licensed under the ISC license. 499 * See the LICENSE file in the root directory of this source tree. 500 */const TriangleAlert=createLucideIcon("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"}]]);/** 501 * @license lucide-react v0.462.0 - ISC 502 * 503 * This source code is licensed under the ISC license. 504 * See the LICENSE file in the root directory of this source tree. 505 */const Unlink=createLucideIcon("Unlink",[["path",{d:"m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71",key:"yqzxt4"}],["path",{d:"m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71",key:"4qinb0"}],["line",{x1:"8",x2:"8",y1:"2",y2:"5",key:"1041cp"}],["line",{x1:"2",x2:"5",y1:"8",y2:"8",key:"14m1p5"}],["line",{x1:"16",x2:"16",y1:"19",y2:"22",key:"rzdirn"}],["line",{x1:"19",x2:"22",y1:"16",y2:"16",key:"ox905f"}]]);/** 506 * @license lucide-react v0.462.0 - ISC 507 * 508 * This source code is licensed under the ISC license. 509 * See the LICENSE file in the root directory of this source tree. 510 */const Upload=createLucideIcon("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/** 511 * @license lucide-react v0.462.0 - ISC 512 * 513 * This source code is licensed under the ISC license. 514 * See the LICENSE file in the root directory of this source tree. 515 */const UserCheck=createLucideIcon("UserCheck",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]]);/** 516 * @license lucide-react v0.462.0 - ISC 517 * 518 * This source code is licensed under the ISC license. 519 * See the LICENSE file in the root directory of this source tree. 520 */const UserPlus=createLucideIcon("UserPlus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);/** 521 * @license lucide-react v0.462.0 - ISC 522 * 523 * This source code is licensed under the ISC license. 524 * See the LICENSE file in the root directory of this source tree. 525 */const UserX=createLucideIcon("UserX",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"17",x2:"22",y1:"8",y2:"13",key:"3nzzx3"}],["line",{x1:"22",x2:"17",y1:"8",y2:"13",key:"1swrse"}]]);/** 526 * @license lucide-react v0.462.0 - ISC 527 * 528 * This source code is licensed under the ISC license. 529 * See the LICENSE file in the root directory of this source tree. 530 */const User=createLucideIcon("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/** 531 * @license lucide-react v0.462.0 - ISC 532 * 533 * This source code is licensed under the ISC license. 534 * See the LICENSE file in the root directory of this source tree. 535 */const Users=createLucideIcon("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** 536 * @license lucide-react v0.462.0 - ISC 537 * 538 * This source code is licensed under the ISC license. 539 * See the LICENSE file in the root directory of this source tree. 540 */const WandSparkles=createLucideIcon("WandSparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]]);/** 541 * @license lucide-react v0.462.0 - ISC 542 * 543 * This source code is licensed under the ISC license. 544 * See the LICENSE file in the root directory of this source tree. 545 */const X$1=createLucideIcon("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 8,048 bytes, lines 545-550
545],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** 546 * @license lucide-react v0.462.0 - ISC 547 * 548 * This source code is licensed under the ISC license. 549 * See the LICENSE file in the root directory of this source tree. 550 */const Zap=createLucideIcon("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),CLASS_PART_SEPARATOR="-",createClassGroupUtils=_=>{const j=createClassMap(_),{conflictingClassGroups:et,conflictingClassGroupModifiers:tt}=_;return{getClassGroupId:it=>{const st=it.split(CLASS_PART_SEPARATOR);return st[0]===""&&st.length!==1&&st.shift(),getGroupRecursive(st,j)||getGroupIdForArbitraryProperty(it)},getConflictingClassGroupIds:(it,st)=>{const at=et[it]||[];return st&&tt[it]?[...at,...tt[it]]:at}}},getGroupRecursive=(_,j)=>{var it;if(_.length===0)return j.classGroupId;const et=_[0],tt=j.nextPart.get(et),rt=tt?getGroupRecursive(_.slice(1),tt):void 0;if(rt)return rt;if(j.validators.length===0)return;const nt=_.join(CLASS_PART_SEPARATOR);return(it=j.validators.find(({validator:st})=>st(nt)))==null?void 0:it.classGroupId},arbitraryPropertyRegex=/^\[(.+)\]$/,getGroupIdForArbitraryProperty=_=>{if(arbitraryPropertyRegex.test(_)){const j=arbitraryPropertyRegex.exec(_)[1],et=j==null?void 0:j.substring(0,j.indexOf(":"));if(et)return"arbitrary.."+et}},createClassMap=_=>{const{theme:j,prefix:et}=_,tt={nextPart:new Map,validators:[]};return getPrefixedClassGroupEntries(Object.entries(_.classGroups),et).forEach(([nt,it])=>{processClassesRecursively(it,tt,nt,j)}),tt},processClassesRecursively=(_,j,et,tt)=>{_.forEach(rt=>{if(typeof rt=="string"){const nt=rt===""?j:getPart(j,rt);nt.classGroupId=et;return}if(typeof rt=="function"){if(isThemeGetter(rt)){processClassesRecursively(rt(tt),j,et,tt);return}j.validators.push({validator:rt,classGroupId:et});return}Object.entries(rt).forEach(([nt,it])=>{processClassesRecursively(it,getPart(j,nt),et,tt)})})},getPart=(_,j)=>{let et=_;return j.split(CLASS_PART_SEPARATOR).forEach(tt=>{et.nextPart.has(tt)||et.nextPart.set(tt,{nextPart:new Map,validators:[]}),et=et.nextPart.get(tt)}),et},isThemeGetter=_=>_.isThemeGetter,getPrefixedClassGroupEntries=(_,j)=>j?_.map(([et,tt])=>{const rt=tt.map(nt=>typeof nt=="string"?j+nt:typeof nt=="object"?Object.fromEntries(Object.entries(nt).map(([it,st])=>[j+it,st])):nt);return[et,rt]}):_,createLruCache=_=>{if(_<1)return{get:()=>{},set:()=>{}};let j=0,et=new Map,tt=new Map;const rt=(nt,it)=>{et.set(nt,it),j++,j>_&&(j=0,tt=et,et=new Map)};return{get(nt){let it=et.get(nt);if(it!==void 0)return it;if((it=tt.get(nt))!==void 0)return rt(nt,it),it},set(nt,it){et.has(nt)?et.set(nt,it):rt(nt,it)}}},IMPORTANT_MODIFIER="!",createParseClassName=_=>{const{separator:j,experimentalParseClassName:et}=_,tt=j.length===1,rt=j[0],nt=j.length,it=st=>{const at=[];let ot=0,lt=0,ct;for(let gt=0;gt<st.length;gt++){let ft=st[gt];if(ot===0){if(ft===rt&&(tt||st.slice(gt,gt+nt)===j)){at.push(st.slice(lt,gt)),lt=gt+nt;continue}if(ft==="/"){ct=gt;continue}}ft==="["?ot++:ft==="]"&&ot--}const ut=at.length===0?st:st.substring(lt),dt=ut.startsWith(IMPORTANT_MODIFIER),ht=dt?ut.substring(1):ut,pt=ct&&ct>lt?ct-lt:void 0;return{modifiers:at,hasImportantModifier:dt,baseClassName:ht,maybePostfixModifierPosition:pt}};return et?st=>et({className:st,parseClassName:it}):it},sortModifiers=_=>{if(_.length<=1)return _;const j=[];let et=[];return _.forEach(tt=>{tt[0]==="["?(j.push(...et.sort(),tt),et=[]):et.push(tt)}),j.push(...et.sort()),j},createConfigUtils=_=>({cache:createLruCache(_.cacheSize),parseClassName:createParseClassName(_),...createClassGroupUtils(_)}),SPLIT_CLASSES_REGEX=/\s+/,mergeClassList=(_,j)=>{const{parseClassName:et,getClassGroupId:tt,getConflictingClassGroupIds:rt}=j,nt=[],it=_.trim().split(SPLIT_CLASSES_REGEX);let st="";for(let at=it.length-1;at>=0;at-=1){const ot=it[at],{modifiers:lt,hasImportantModifier:ct,baseClassName:ut,maybePostfixModifierPosition:dt}=et(ot);let ht=!!dt,pt=tt(ht?ut.substring(0,dt):ut);if(!pt){if(!ht){st=ot+(st.length>0?" "+st:st);continue}if(pt=tt(ut),!pt){st=ot+(st.length>0?" "+st:st);continue}ht=!1}const gt=sortModifiers(lt).join(":"),ft=ct?gt+IMPORTANT_MODIFIER:gt,mt=ft+pt;if(nt.includes(mt))continue;nt.push(mt);const xt=rt(pt,ht);for(let yt=0;yt<xt.length;++yt){const vt=xt[yt];nt.push(ft+vt)}st=ot+(st.length>0?" "+st:st)}return st};function twJoin(){let _=0,j,et,tt="";for(;_<arguments.length;)(j=arguments[_++])&&(et=toValue(j))&&(tt&&(tt+=" "),tt+=et);return tt}const toValue=_=>{if(typeof _=="string")return _;let j,et="";for(let tt=0;tt<_.length;tt++)_[tt]&&(j=toValue(_[tt]))&&(et&&(et+=" "),et+=j);return et};function createTailwindMerge(_,...j){let et,tt,rt,nt=it;function it(at){const ot=j.reduce((lt,ct)=>ct(lt),_());return et=createConfigUtils(ot),tt=et.cache.get,rt=et.cache.set,nt=st,st(at)}function st(at){const ot=tt(at);if(ot)return ot;const lt=mergeClassList(at,et);return rt(at,lt),lt}return function(){return nt(twJoin.apply(null,arguments))}}const fromTheme=_=>{const j=et=>et[_]||[];return j.isThemeGetter=!0,j},arbitraryValueRegex=/^\[(?:([a-z-]+):)?(.+)\]$/i,fractionRegex=/^\d+\/\d+$/,stringLengths=new Set(["px","full","screen"]),tshirtUnitRegex=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lengthUnitRegex=/\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$/,colorFunctionRegex=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,shadowRegex=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,imageRegex=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,isLength$4=_=>isNumber$4(_)||stringLengths.has(_)||fractionRegex.test(_),isArbitraryLength=_=>getIsArbitraryValue(_,"length",isLengthOnly),isNumber$4=_=>!!_&&!Number.isNaN(Number(_)),isArbitraryNumber=_=>getIsArbitraryValue(_,"number",isNumber$4),isInteger=_=>!!_&&Number.isInteger(Number(_)),isPercent$1=_=>_.endsWith("%")&&isNumber$4(_.slice(0,-1)),isArbitraryValue=_=>arbitraryValueRegex.test(_),isTshirtSize=_=>tshirtUnitRegex.test(_),sizeLabels=new Set(["length","size","percentage"]),isArbitrarySize=_=>getIsArbitraryValue(_,sizeLabels,isNever),isArbitraryPosition=_=>getIsArbitraryValue(_,"position",isNever),imageLabels=new Set(["image","url"]),isArbitraryImage=_=>getIsArbitraryValue(_,imageLabels,isImage),isArbitraryShadow=_=>getIsArbitraryValue(_,"",isShadow),isAny=()=>!0,getIsArbitraryValue=(_,j,et)=>{const tt=arbitraryValueRegex.exec(_);return tt?tt[1]?typeof j=="string"?tt[1]===j:j.has(tt[1]):et(tt[2]):!1},isLengthOnly=_=>lengthUnitRegex.test(_)&&!colorFunctionRegex.test(_),isNever=()=>!1,isShadow=_=>shadowRegex.test(_),isImage=_=>imageRegex.test(_),getDefaultConfig=()=>{const _=fromTheme("colors"),j=fromTheme("spacing"),et=fromTheme("blur"),tt=fromTheme("brightness"),rt=fromTheme("borderColor"),nt=fromTheme("borderRadius"),it=fromTheme("borderSpacing"),st=fromTheme("borderWidth"),at=fromTheme("contrast"),ot=fromTheme("grayscale"),lt=fromTheme("hueRotate"),ct=fromTheme("invert"),ut=fromTheme("gap"),dt=fromTheme("gradientColorStops"),ht=fromTheme("gradientColorStopPositions"),pt=fromTheme("inset"),gt=fromTheme("margin"),ft=fromTheme("opacity"),mt=fromTheme("padding"),xt=fromTheme("saturate"),yt=fromTheme("scale"),vt=fromTheme("sepia"),bt=fromTheme("skew"),Et=fromTheme("space"),_t=fromTheme("translate"),wt=()=>["auto","contain","none"],Rt=()=>["auto","hidden","clip","visible","scroll"],Ct=()=>["auto",isArbitraryValue,j],jt=()=>[isArbitraryValue,j],Dt=()=>["",isLength$4,isArbitraryLength],It=()=>["auto",isNumber$4,isArbitraryValue],Ot=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],At=()=>["solid","dashed","dotted","double","none"],Tt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],kt=()=>["start","end","center","between","around","evenly","stretch"],St=()=>
vendor: 11,558 bytes, line 550
550["","0",isArbitraryValue],Pt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],$t=()=>[isNumber$4,isArbitraryValue];return{cacheSize:500,separator:":",theme:{colors:[isAny],spacing:[isLength$4,isArbitraryLength],blur:["none","",isTshirtSize,isArbitraryValue],brightness:$t(),borderColor:[_],borderRadius:["none","","full",isTshirtSize,isArbitraryValue],borderSpacing:jt(),borderWidth:Dt(),contrast:$t(),grayscale:St(),hueRotate:$t(),invert:St(),gap:jt(),gradientColorStops:[_],gradientColorStopPositions:[isPercent$1,isArbitraryLength],inset:Ct(),margin:Ct(),opacity:$t(),padding:jt(),saturate:$t(),scale:$t(),sepia:St(),skew:$t(),space:jt(),translate:jt()},classGroups:{aspect:[{aspect:["auto","square","video",isArbitraryValue]}],container:["container"],columns:[{columns:[isTshirtSize]}],"break-after":[{"break-after":Pt()}],"break-before":[{"break-before":Pt()}],"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:[...Ot(),isArbitraryValue]}],overflow:[{overflow:Rt()}],"overflow-x":[{"overflow-x":Rt()}],"overflow-y":[{"overflow-y":Rt()}],overscroll:[{overscroll:wt()}],"overscroll-x":[{"overscroll-x":wt()}],"overscroll-y":[{"overscroll-y":wt()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[pt]}],"inset-x":[{"inset-x":[pt]}],"inset-y":[{"inset-y":[pt]}],start:[{start:[pt]}],end:[{end:[pt]}],top:[{top:[pt]}],right:[{right:[pt]}],bottom:[{bottom:[pt]}],left:[{left:[pt]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",isInteger,isArbitraryValue]}],basis:[{basis:Ct()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",isArbitraryValue]}],grow:[{grow:St()}],shrink:[{shrink:St()}],order:[{order:["first","last","none",isInteger,isArbitraryValue]}],"grid-cols":[{"grid-cols":[isAny]}],"col-start-end":[{col:["auto",{span:["full",isInteger,isArbitraryValue]},isArbitraryValue]}],"col-start":[{"col-start":It()}],"col-end":[{"col-end":It()}],"grid-rows":[{"grid-rows":[isAny]}],"row-start-end":[{row:["auto",{span:[isInteger,isArbitraryValue]},isArbitraryValue]}],"row-start":[{"row-start":It()}],"row-end":[{"row-end":It()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",isArbitraryValue]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",isArbitraryValue]}],gap:[{gap:[ut]}],"gap-x":[{"gap-x":[ut]}],"gap-y":[{"gap-y":[ut]}],"justify-content":[{justify:["normal",...kt()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...kt(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...kt(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[mt]}],px:[{px:[mt]}],py:[{py:[mt]}],ps:[{ps:[mt]}],pe:[{pe:[mt]}],pt:[{pt:[mt]}],pr:[{pr:[mt]}],pb:[{pb:[mt]}],pl:[{pl:[mt]}],m:[{m:[gt]}],mx:[{mx:[gt]}],my:[{my:[gt]}],ms:[{ms:[gt]}],me:[{me:[gt]}],mt:[{mt:[gt]}],mr:[{mr:[gt]}],mb:[{mb:[gt]}],ml:[{ml:[gt]}],"space-x":[{"space-x":[Et]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Et]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",isArbitraryValue,j]}],"min-w":[{"min-w":[isArbitraryValue,j,"min","max","fit"]}],"max-w":[{"max-w":[isArbitraryValue,j,"none","full","min","max","fit","prose",{screen:[isTshirtSize]},isTshirtSize]}],h:[{h:[isArbitraryValue,j,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[isArbitraryValue,j,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[isArbitraryValue,j,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[isArbitraryValue,j,"auto","min","max","fit"]}],"font-size":[{text:["base",isTshirtSize,isArbitraryLength]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",isArbitraryNumber]}],"font-family":[{font:[isAny]}],"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",isArbitraryValue]}],"line-clamp":[{"line-clamp":["none",isNumber$4,isArbitraryNumber]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",isLength$4,isArbitraryValue]}],"list-image":[{"list-image":["none",isArbitraryValue]}],"list-style-type":[{list:["none","disc","decimal",isArbitraryValue]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[_]}],"placeholder-opacity":[{"placeholder-opacity":[ft]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[_]}],"text-opacity":[{"text-opacity":[ft]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...At(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",isLength$4,isArbitraryLength]}],"underline-offset":[{"underline-offset":["auto",isLength$4,isArbitraryValue]}],"text-decoration-color":[{decoration:[_]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:jt()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",isArbitraryValue]}],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",isArbitraryValue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[ft]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ot(),isArbitraryPosition]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",isArbitrarySize]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},isArbitraryImage]}],"bg-color":[{bg:[_]}],"gradient-from-pos":[{from:[ht]}],"gradient-via-pos":[{via:[ht]}],"gradient-to-pos":[{to:[ht]}],"gradient-from":[{from:[dt]}],"gradient-via":[{via:[dt]}],"gradient-to":[{to:[dt]}],rounded:[{rounded:[nt]}],"rounded-s":[{"rounded-s":[nt]}],"rounded-e":[{"rounded-e":[nt]}],"rounded-t":[{"rounded-t":[nt]}],"rounded-r":[{"rounded-r":[nt]}],"rounded-b":[{"rounded-b":[nt]}],"rounded-l":[{"rounded-l":[nt]}],"rounded-ss":[{"rounded-ss":[nt]}],"rounded-se":[{"rounded-se":[nt]}],"rounded-ee":[{"rounded-ee":[nt]}],"rounded-es":[{"rounded-es":[nt]}],"rounded-tl":[{"rounded-tl":[nt]}],"rounded-tr":[{"rounded-tr":[nt]}],"rounded-br":[{"rounded-br":[nt]}],"rounded-bl":[{"rounded-bl":[nt]}],"border-w":[{border:[st]}],"border-w-x":[{"border-x":[st]}],"border-w-y":[{"border-y":[st]}],"border-w-s":[{"border-s":[st]}],"border-w-e":[{"border-e":[st]}],"border-w-t":[{"border-t":[st]}],"border-w-r":[{"border-r":[st]}],"border-w-b":[{"border-b":[st]}],"border-w-l":[{"border-l":[st]}],"border-opacity":[{"border-opacity":[ft]}],"border-style":[{border:[...At(),"hidden"]}],"divide-x":[{"divide-x":[st]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[st]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[ft]}],"divide-style":[{divide:At()}],"border-color":[{border:[rt]}],"border-color-x":[{"border-x":[rt]}],"border-color-y":[{"border-y":[rt]}],"border-color-s":[{"border-s":[rt]}],"border-color-e":[{"border-e":[rt]}],"border-color-t":[{"border-t":[rt]}],"border-color-r":[{"border-r":[rt]}],"border-color-b":[{"border-b":[rt]}],"border-color-l":[{"border-l":[rt]}],"divide-color":[{divide:[rt]}],"outline-style":[{outline:["",...At()]}],"outline-offset":[{"outline-offset":[isLength$4,isArbitraryValue]}],"outline-w":[{outline:[isLength$4,isArbitraryLength]}],"outline-color":[{outline:[_]}],"ring-w":[{ring:Dt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[_]}],"ring-opacity":[{"ring-opacity":[ft]}],"ring-offset-w":[{"ring-offset":[isLength$4,isArbitraryLength]}],"ring-offset-color":[{"ring-offset":[_]}],shadow:[{shadow:["","inner","none",isTshirtSize,isArbitraryShadow]}],"shadow-color":[{shadow:[isAny]}],opacity:[{opacity:[ft]}],"mix-blend":[{"mix-blend":[...Tt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Tt()}],filter:[{filter:["","none"]}],blur:[{blur:[et]}],brightness:[{brightness:[tt]}],contrast:[{contrast:[at]}],"drop-shadow":[{"drop-shadow":["","none",isTshirtSize,isArbitraryValue]}],grayscale:[{grayscale:[ot]}],"hue-rotate":[{"hue-rotate":[lt]}],invert:[{invert:[ct]}],saturate:[{saturate:[xt]}],sepia:[{sepia:[vt]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[et]}],"backdrop-brightness":[{"backdrop-brightness":[tt]}],"backdrop-contrast":[{"backdrop-contrast":[at]}],"backdrop-grayscale":[{"backdrop-grayscale":[ot]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[lt]}],"backdrop-invert":[{"backdrop-invert":[ct]}],"backdrop-opacity":[{"backdrop-opacity":[ft]}],"backdrop-saturate":[{"backdrop-saturate":[xt]}],"backdrop-sepia":[{"backdrop-sepia":[vt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[it]}],"border-spacing-x":[{"border-spacing-x":[it]}],"border-spacing-y":[{"border-spacing-y":[it]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",isArbitraryValue]}],duration:[{duration:$t()}],ease:[{ease:["linear","in","out","in-out",isArbitraryValue]}],delay:[{delay:$t()}],animate:[{animate:["none","spin","ping","pulse","bounce",isArbitraryValue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[yt]}],"scale-x":[{"scale-x":[yt]}],"scale-y":[{"scale-y":[yt]}],rotate:[{rotate:[isInteger,isArbitraryValue]}],"translate-x":[{"translate-x":[_t]}],"translate-y":[{"translate-y":[_t]}],"skew-x":[{"skew-x":[bt]}],"skew-y":[{"skew-y":[bt]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",isArbitraryValue]}],accent:[{accent:["auto",_]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","
550none","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",isArbitraryValue]}],"caret-color":[{caret:[_]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":jt()}],"scroll-mx":[{"scroll-mx":jt()}],"scroll-my":[{"scroll-my":jt()}],"scroll-ms":[{"scroll-ms":jt()}],"scroll-me":[{"scroll-me":jt()}],"scroll-mt":[{"scroll-mt":jt()}],"scroll-mr":[{"scroll-mr":jt()}],"scroll-mb":[{"scroll-mb":jt()}],"scroll-ml":[{"scroll-ml":jt()}],"scroll-p":[{"scroll-p":jt()}],"scroll-px":[{"scroll-px":jt()}],"scroll-py":[{"scroll-py":jt()}],"scroll-ps":[{"scroll-ps":jt()}],"scroll-pe":[{"scroll-pe":jt()}],"scroll-pt":[{"scroll-pt":jt()}],"scroll-pr":[{"scroll-pr":jt()}],"scroll-pb":[{"scroll-pb":jt()}],"scroll-pl":[{"scroll-pl":jt()}],"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",isArbitraryValue]}],fill:[{fill:[_,"none"]}],"stroke-w":[{stroke:[isLength$4,isArbitraryLength,isArbitraryNumber]}
550],stroke:[{stroke:[_,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},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"]}}},twMerge=createTailwindMerge(getDefaultConfig);function cn(..._){return twMerge(clsx(_))}const ToastProvider=Provider$1,ToastViewport=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Viewport$1,{ref:et,className:cn("fixed top-4 right-4 z-[100] flex flex-col gap-2 w-full md:max-w-[380px]",_),...j}));ToastViewport.displayName=Viewport$1.displayName;const toastVariants=cva("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border-l-[3px] border p-4 pr-8 shadow-lg transition-opacity 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-[state=closed]:fade-out-80 data-[swipe=end]:animate-out data-[swipe=end]:slide-out-to-right-full data-[state=open]:fade-in",{variants:{variant:{default:"border-primary/60 bg-background text-foreground",destructive:"destructive group border-l-destructive bg-destructive/10 text-foreground border-destructive/30",success:"border-l-success bg-success/10 text-foreground border-success/30"}},defaultVariants:{variant:"default"}}),Toast=reactExports.forwardRef(({className:_,variant:j,...et},tt)=>jsxRuntimeExports.jsx(Root2$7,{ref:tt,className:cn(toastVariants({variant:j}),_),...et}));Toast.displayName=Root2$7.displayName;const ToastAction=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Action$2,{ref:et,className:cn("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 group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",_),...j}));
vendor: 5,750 bytes, line 550
550ToastAction.displayName=Action$2.displayName;const ToastClose=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Close$1,{ref:et,className:cn("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",_),"toast-close":"",...j,children:jsxRuntimeExports.jsx(X$1,{className:"h-4 w-4"})}));ToastClose.displayName=Close$1.displayName;const ToastTitle=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Title$1,{ref:et,className:cn("text-sm font-semibold",_),...j}));ToastTitle.displayName=Title$1.displayName;const ToastDescription=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Description$1,{ref:et,className:cn("text-sm text-muted-foreground",_),...j}));ToastDescription.displayName=Description$1.displayName;function Toaster(){const{toasts:_}=useToast();return jsxRuntimeExports.jsxs(ToastProvider,{children:[_.map(function({id:j,title:et,description:tt,action:rt,...nt}){return jsxRuntimeExports.jsxs(Toast,{...nt,children:[jsxRuntimeExports.jsxs("div",{className:"grid gap-1",children:[et&&jsxRuntimeExports.jsx(ToastTitle,{children:et}),tt&&jsxRuntimeExports.jsx(ToastDescription,{children:tt})]}),rt,jsxRuntimeExports.jsx(ToastClose,{})]},j)}),jsxRuntimeExports.jsx(ToastViewport,{})]})}var useReactId=React$2[" useId ".trim().toString()]||(()=>{}),count$1=0;function useId(_){const[j,et]=reactExports.useState(useReactId());return useLayoutEffect2(()=>{et(tt=>tt??String(count$1++))},[_]),j?`radix-${j}`:""}const sides=["top","right","bottom","left"],min$3=Math.min,max$3=Math.max,round$1=Math.round,floor=Math.floor,createCoords=_=>({x:_,y:_}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp$4(_,j,et){return max$3(_,min$3(j,et))}function evaluate(_,j){return typeof _=="function"?_(j):_}function getSide(_){return _.split("-")[0]}function getAlignment(_){return _.split("-")[1]}function getOppositeAxis(_){return _==="x"?"y":"x"}function getAxisLength(_){return _==="y"?"height":"width"}const yAxisSides=new Set(["top","bottom"]);function getSideAxis(_){return yAxisSides.has(getSide(_))?"y":"x"}function getAlignmentAxis(_){return getOppositeAxis(getSideAxis(_))}function getAlignmentSides(_,j,et){et===void 0&&(et=!1);const tt=getAlignment(_),rt=getAlignmentAxis(_),nt=getAxisLength(rt);let it=rt==="x"?tt===(et?"end":"start")?"right":"left":tt==="start"?"bottom":"top";return j.reference[nt]>j.floating[nt]&&(it=getOppositePlacement(it)),[it,getOppositePlacement(it)]}function getExpandedPlacements(_){const j=getOppositePlacement(_);return[getOppositeAlignmentPlacement(_),j,getOppositeAlignmentPlacement(j)]}function getOppositeAlignmentPlacement(_){return _.replace(/start|end/g,j=>oppositeAlignmentMap[j])}const lrPlacement=["left","right"],rlPlacement=["right","left"],tbPlacement=["top","bottom"],btPlacement=["bottom","top"];function getSideList(_,j,et){switch(_){case"top":case"bottom":return et?j?rlPlacement:lrPlacement:j?lrPlacement:rlPlacement;case"left":case"right":return j?tbPlacement:btPlacement;default:return[]}}function getOppositeAxisPlacements(_,j,et,tt){const rt=getAlignment(_);let nt=getSideList(getSide(_),et==="start",tt);return rt&&(nt=nt.map(it=>it+"-"+rt),j&&(nt=nt.concat(nt.map(getOppositeAlignmentPlacement)))),nt}function getOppositePlacement(_){return _.replace(/left|right|bottom|top/g,j=>oppositeSideMap[j])}function expandPaddingObject(_){return{top:0,right:0,bottom:0,left:0,..._}}function getPaddingObject(_){return typeof _!="number"?expandPaddingObject(_):{top:_,right:_,bottom:_,left:_}}function rectToClientRect(_){const{x:j,y:et,width:tt,height:rt}=_;return{width:tt,height:rt,top:et,left:j,right:j+tt,bottom:et+rt,x:j,y:et}}function computeCoordsFromPlacement(_,j,et){let{reference:tt,floating:rt}=_;const nt=getSideAxis(j),it=getAlignmentAxis(j),st=getAxisLength(it),at=getSide(j),ot=nt==="y",lt=tt.x+tt.width/2-rt.width/2,ct=tt.y+tt.height/2-rt.height/2,ut=tt[st]/2-rt[st]/2;let dt;switch(at){case"top":dt={x:lt,y:tt.y-rt.height};break;case"bottom":dt={x:lt,y:tt.y+tt.height};break;case"right":dt={x:tt.x+tt.width,y:ct};break;case"left":dt={x:tt.x-rt.width,y:ct};break;default:dt={x:tt.x,y:tt.y}}switch(getAlignment(j)){case"start":dt[it]-=ut*(et&&ot?-1:1);break;case"end":dt[it]+=ut*(et&&ot?-1:1);break}return dt}const computePosition$1=async(_,j,et)=>{const{placement:tt="bottom",strategy:rt="absolute",middleware:nt=[],platform:it}=et,st=nt.filter(Boolean),at=await(it.isRTL==null?void 0:it.isRTL(j));let ot=await it.getElementRects({reference:_,floating:j,strategy:rt}),{x:lt,y:ct}=computeCoordsFromPlacement(ot,tt,at),ut=tt,dt={},ht=0;for(let pt=0;pt<st.length;pt++){const{name:gt,fn:ft}=st[pt],{x:mt,y:xt,data:yt,reset:vt}=await ft({x:lt,y:ct,initialPlacement:tt,placement:ut,strategy:rt,middlewareData:dt,rects:ot,platform:it,elements:{reference:_,floating:j}});lt=mt??lt,ct=xt??ct,dt={...dt,[gt]:{...dt[gt],...yt}},vt&&ht<=50&&(ht++,typeof vt=="object"&&(vt.placement&&(ut=vt.placement),vt.rects&&(ot=vt.rects===!0?await it.getElementRects({reference:_,floating:j,strategy:rt}):vt.rects),{x:lt,y:ct}=computeCoordsFromPlacement(ot,ut,at)),pt=-1)}return{x:lt,y:ct,placement:ut,strategy:rt,middlewareData:dt}};async function detectOverflow(_,j){var et;j===void 0&&(j={});const{x:tt,y:rt,platform:nt,rects:it,elements:st,strategy:at}=_,{boundary:ot="clippingAncestors",rootBoundary:lt="viewport",elementContext:ct="floating",altBoundary:ut=!1,padding:dt=0}
vendor: 10,686 bytes, line 550
550=evaluate(j,_),ht=getPaddingObject(dt),gt=st[ut?ct==="floating"?"reference":"floating":ct],ft=rectToClientRect(await nt.getClippingRect({element:(et=await(nt.isElement==null?void 0:nt.isElement(gt)))==null||et?gt:gt.contextElement||await(nt.getDocumentElement==null?void 0:nt.getDocumentElement(st.floating)),boundary:ot,rootBoundary:lt,strategy:at})),mt=ct==="floating"?{x:tt,y:rt,width:it.floating.width,height:it.floating.height}:it.reference,xt=await(nt.getOffsetParent==null?void 0:nt.getOffsetParent(st.floating)),yt=await(nt.isElement==null?void 0:nt.isElement(xt))?await(nt.getScale==null?void 0:nt.getScale(xt))||{x:1,y:1}:{x:1,y:1},vt=rectToClientRect(nt.convertOffsetParentRelativeRectToViewportRelativeRect?await nt.convertOffsetParentRelativeRectToViewportRelativeRect({elements:st,rect:mt,offsetParent:xt,strategy:at}):mt);return{top:(ft.top-vt.top+ht.top)/yt.y,bottom:(vt.bottom-ft.bottom+ht.bottom)/yt.y,left:(ft.left-vt.left+ht.left)/yt.x,right:(vt.right-ft.right+ht.right)/yt.x}}const arrow$3=_=>({name:"arrow",options:_,async fn(j){const{x:et,y:tt,placement:rt,rects:nt,platform:it,elements:st,middlewareData:at}=j,{element:ot,padding:lt=0}=evaluate(_,j)||{};if(ot==null)return{};const ct=getPaddingObject(lt),ut={x:et,y:tt},dt=getAlignmentAxis(rt),ht=getAxisLength(dt),pt=await it.getDimensions(ot),gt=dt==="y",ft=gt?"top":"left",mt=gt?"bottom":"right",xt=gt?"clientHeight":"clientWidth",yt=nt.reference[ht]+nt.reference[dt]-ut[dt]-nt.floating[ht],vt=ut[dt]-nt.reference[dt],bt=await(it.getOffsetParent==null?void 0:it.getOffsetParent(ot));let Et=bt?bt[xt]:0;(!Et||!await(it.isElement==null?void 0:it.isElement(bt)))&&(Et=st.floating[xt]||nt.floating[ht]);const _t=yt/2-vt/2,wt=Et/2-pt[ht]/2-1,Rt=min$3(ct[ft],wt),Ct=min$3(ct[mt],wt),jt=Rt,Dt=Et-pt[ht]-Ct,It=Et/2-pt[ht]/2+_t,Ot=clamp$4(jt,It,Dt),At=!at.arrow&&getAlignment(rt)!=null&&It!==Ot&&nt.reference[ht]/2-(It<jt?Rt:Ct)-pt[ht]/2<0,Tt=At?It<jt?It-jt:It-Dt:0;return{[dt]:ut[dt]+Tt,data:{[dt]:Ot,centerOffset:It-Ot-Tt,...At&&{alignmentOffset:Tt}},reset:At}}}),flip$2=function(_){return _===void 0&&(_={}),{name:"flip",options:_,async fn(j){var et,tt;const{placement:rt,middlewareData:nt,rects:it,initialPlacement:st,platform:at,elements:ot}=j,{mainAxis:lt=!0,crossAxis:ct=!0,fallbackPlacements:ut,fallbackStrategy:dt="bestFit",fallbackAxisSideDirection:ht="none",flipAlignment:pt=!0,...gt}=evaluate(_,j);if((et=nt.arrow)!=null&&et.alignmentOffset)return{};const ft=getSide(rt),mt=getSideAxis(st),xt=getSide(st)===st,yt=await(at.isRTL==null?void 0:at.isRTL(ot.floating)),vt=ut||(xt||!pt?[getOppositePlacement(st)]:getExpandedPlacements(st)),bt=ht!=="none";!ut&&bt&&vt.push(...getOppositeAxisPlacements(st,pt,ht,yt));const Et=[st,...vt],_t=await detectOverflow(j,gt),wt=[];let Rt=((tt=nt.flip)==null?void 0:tt.overflows)||[];if(lt&&wt.push(_t[ft]),ct){const It=getAlignmentSides(rt,it,yt);wt.push(_t[It[0]],_t[It[1]])}if(Rt=[...Rt,{placement:rt,overflows:wt}],!wt.every(It=>It<=0)){var Ct,jt;const It=(((Ct=nt.flip)==null?void 0:Ct.index)||0)+1,Ot=Et[It];if(Ot&&(!(ct==="alignment"?mt!==getSideAxis(Ot):!1)||Rt.every(kt=>kt.overflows[0]>0&&getSideAxis(kt.placement)===mt)))return{data:{index:It,overflows:Rt},reset:{placement:Ot}};let At=(jt=Rt.filter(Tt=>Tt.overflows[0]<=0).sort((Tt,kt)=>Tt.overflows[1]-kt.overflows[1])[0])==null?void 0:jt.placement;if(!At)switch(dt){case"bestFit":{var Dt;const Tt=(Dt=Rt.filter(kt=>{if(bt){const St=getSideAxis(kt.placement);return St===mt||St==="y"}return!0}).map(kt=>[kt.placement,kt.overflows.filter(St=>St>0).reduce((St,Pt)=>St+Pt,0)]).sort((kt,St)=>kt[1]-St[1])[0])==null?void 0:Dt[0];Tt&&(At=Tt);break}case"initialPlacement":At=st;break}if(rt!==At)return{reset:{placement:At}}}return{}}}};function getSideOffsets(_,j){return{top:_.top-j.height,right:_.right-j.width,bottom:_.bottom-j.height,left:_.left-j.width}}function isAnySideFullyClipped(_){return sides.some(j=>_[j]>=0)}const hide$2=function(_){return _===void 0&&(_={}),{name:"hide",options:_,async fn(j){const{rects:et}=j,{strategy:tt="referenceHidden",...rt}=evaluate(_,j);switch(tt){case"referenceHidden":{const nt=await detectOverflow(j,{...rt,elementContext:"reference"}),it=getSideOffsets(nt,et.reference);return{data:{referenceHiddenOffsets:it,referenceHidden:isAnySideFullyClipped(it)}}}case"escaped":{const nt=await detectOverflow(j,{...rt,altBoundary:!0}),it=getSideOffsets(nt,et.floating);return{data:{escapedOffsets:it,escaped:isAnySideFullyClipped(it)}}}default:return{}}}}},originSides=new Set(["left","top"]);async function convertValueToCoords(_,j){const{placement:et,platform:tt,elements:rt}=_,nt=await(tt.isRTL==null?void 0:tt.isRTL(rt.floating)),it=getSide(et),st=getAlignment(et),at=getSideAxis(et)==="y",ot=originSides.has(it)?-1:1,lt=nt&&at?-1:1,ct=evaluate(j,_);let{mainAxis:ut,crossAxis:dt,alignmentAxis:ht}=typeof ct=="number"?{mainAxis:ct,crossAxis:0,alignmentAxis:null}:{mainAxis:ct.mainAxis||0,crossAxis:ct.crossAxis||0,alignmentAxis:ct.alignmentAxis};return st&&typeof ht=="number"&&(dt=st==="end"?ht*-1:ht),at?{x:dt*lt,y:ut*ot}:{x:ut*ot,y:dt*lt}}const offset$2=function(_){return _===void 0&&(_=0),{name:"offset",options:_,async fn(j){var et,tt;const{x:rt,y:nt,placement:it,middlewareData:st}=j,at=await convertValueToCoords(j,_);return it===((et=st.offset)==null?void 0:et.placement)&&(tt=st.arrow)!=null&&tt.alignmentOffset?{}:{x:rt+at.x,y:nt+at.y,data:{...at,placement:it}}}}},shift$2=function(_){return _===void 0&&(_={}),{name:"shift",options:_,async fn(j){const{x:et,y:tt,placement:rt}=j,{mainAxis:nt=!0,crossAxis:it=!1,limiter:st={fn:gt=>{let{x:ft,y:mt}=gt;return{x:ft,y:mt}}},...at}=evaluate(_,j),ot={x:et,y:tt},lt=await detectOverflow(j,at),ct=getSideAxis(getSide(rt)),ut=getOppositeAxis(ct);let dt=ot[ut],ht=ot[ct];if(nt){const gt=ut==="y"?"top":"left",ft=ut==="y"?"bottom":"right",mt=dt+lt[gt],xt=dt-lt[ft];dt=clamp$4(mt,dt,xt)}if(it){const gt=ct==="y"?"top":"left",ft=ct==="y"?"bottom":"right",mt=ht+lt[gt],xt=ht-lt[ft];ht=clamp$4(mt,ht,xt)}const pt=st.fn({...j,[ut]:dt,[ct]:ht});return{...pt,data:{x:pt.x-et,y:pt.y-tt,enabled:{[ut]:nt,[ct]:it}}}}}},limitShift$2=function(_){return _===void 0&&(_={}),{options:_,fn(j){const{x:et,y:tt,placement:rt,rects:nt,middlewareData:it}=j,{offset:st=0,mainAxis:at=!0,crossAxis:ot=!0}=evaluate(_,j),lt={x:et,y:tt},ct=getSideAxis(rt),ut=getOppositeAxis(ct);let dt=lt[ut],ht=lt[ct];const pt=evaluate(st,j),gt=typeof pt=="number"?{mainAxis:pt,crossAxis:0}:{mainAxis:0,crossAxis:0,...pt};if(at){const xt=ut==="y"?"height":"width",yt=nt.reference[ut]-nt.floating[xt]+gt.mainAxis,vt=nt.reference[ut]+nt.reference[xt]-gt.mainAxis;dt<yt?dt=yt:dt>vt&&(dt=vt)}if(ot){var ft,mt;const xt=ut==="y"?"width":"height",yt=originSides.has(getSide(rt)),vt=nt.reference[ct]-nt.floating[xt]+(yt&&((ft=it.offset)==null?void 0:ft[ct])||0)+(yt?0:gt.crossAxis),bt=nt.reference[ct]+nt.reference[xt]+(yt?0:((mt=it.offset)==null?void 0:mt[ct])||0)-(yt?gt.crossAxis:0);ht<vt?ht=vt:ht>bt&&(ht=bt)}return{[ut]:dt,[ct]:ht}}}},size$2=function(_){return _===void 0&&(_={}),{name:"size",options:_,async fn(j){var et,tt;const{placement:rt,rects:nt,platform:it,elements:st}=j,{apply:at=()=>{},...ot}=evaluate(_,j),lt=await detectOverflow(j,ot),ct=getSide(rt),ut=getAlignment(rt),dt=getSideAxis(rt)==="y",{width:ht,height:pt}=nt.floating;let gt,ft;ct==="top"||ct==="bottom"?(gt=ct,ft=ut===(await(it.isRTL==null?void 0:it.isRTL(st.floating))?"start":"end")?"left":"right"):(ft=ct,gt=ut==="end"?"top":"bottom");const mt=pt-lt.top-lt.bottom,xt=ht-lt.left-lt.right,yt=min$3(pt-lt[gt],mt),vt=min$3(ht-lt[ft],xt),bt=!j.middlewareData.shift;let Et=yt,_t=vt;if((et=j.middlewareData.shift)!=null&&et.enabled.x&&(_t=xt),(tt=j.middlewareData.shift)!=null&&tt.enabled.y&&(Et=mt),bt&&!ut){const Rt=max$3(lt.left,0),Ct=max$3(lt.right,0),jt=max$3(lt.top,0),Dt=max$3(lt.bottom,0);dt?_t=ht-2*(Rt!==0||Ct!==0?Rt+Ct:max$3(lt.left,lt.right)):Et=pt-2*(jt!==0||Dt!==0?jt+Dt:max$3(lt.top,lt.bottom))}await at({...j,availableWidth:_t,availableHeight:Et});const wt=await it.getDimensions(st.floating);return ht!==wt.width||pt!==wt.height?{reset:{rects:!0}}:{}}}};function hasWindow(){return typeof window<"u"}function getNodeName(_){return isNode(_)?(_.nodeName||"").toLowerCase():"#document"}function getWindow(_){var j;return(_==null||(j=_.ownerDocument)==null?void 0:j.defaultView)||window}function getDocumentElement(_){var j;return(j=(isNode(_)?_.ownerDocument:_.document)||window.document)==null?void 0:j.documentElement}function isNode(_){return hasWindow()?_ instanceof Node||_ instanceof getWindow(_).Node:!1}function isElement(_){return hasWindow()?_ instanceof Element||_ instanceof getWindow(_).Element:!1}function isHTMLElement$2(_){return hasWindow()?_ instanceof HTMLElement||_ instanceof getWindow(_).HTMLElement:!1}function isShadowRoot(_){return!hasWindow()||typeof ShadowRoot>"u"?!1:_ instanceof ShadowRoot||_ instanceof getWindow(_).ShadowRoot}const invalidOverflowDisplayValues=new Set(["inline","contents"]);function isOverflowElement(_){const{overflow:j,overflowX:et,overflowY:tt,display:rt}=getComputedStyle$2(_);return/auto|scroll|overlay|hidden|clip/.test(j+tt+et)&&!invalidOverflowDisplayValues.has(rt)}const tableElements=new Set(["table","td","th"]);function isTableElement(_){return tableElements.has(getNodeName(_))}const topLayerSelectors=[":popover-open",":modal"];function isTopLayer(_){return topLayerSelectors.some(j=>{try{return _.matches(j)}catch{return!1}})}const transformProperties=["transform","translate","scale","rotate","perspective"],willChangeValues=["transform","translate","scale","rotate","perspective","filter"],containValues=["paint","layout","strict","content"];function isContainingBlock(_){const j=isWebKit(),et=isElement(_)?getComputedStyle$2(_):_;return transformProperties.some(tt=>et[tt]?et[tt]!=="none":!1)||(et.containerType?et.containerType!=="normal":!1)||!j&&(et.backdropFilter?et.backdropFilter!=="none":!1)||!j&&(et.filter?et.filter!=="none":!1)||willChangeValues.some(tt=>(et.willChange||"").includes(tt))||containValues.some(tt=>(et.contain||"").includes(tt))}function getContainingBlock(_){let j=getParentNode(_);for(;isHTMLElement$2(j)&&!isLastTraversableNode(j);){if(isContainingBlock(j))return j;if(isTopLayer(j))return null;j=getParentNode(j)}return null}function isWebKit(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const lastTraversableNodeNames=new Set(["html","body","#document"]);function isLastTraversableNode(_){return lastTraversableNodeNames.has(getNodeName(_))}function getComputedStyle$2(_){return getWindow(_).getComputedStyle(_)}function getNodeScroll(_){return isElement(_)?{scrollLeft:_.scrollLeft,scrollTop:_.scrollTop}:{scrollLeft:_.scrollX,scrollTop:_.scrollY}}
vendor: 4,238 bytes, line 550
550function getParentNode(_){if(getNodeName(_)==="html")return _;const j=_.assignedSlot||_.parentNode||isShadowRoot(_)&&_.host||getDocumentElement(_);return isShadowRoot(j)?j.host:j}function getNearestOverflowAncestor(_){const j=getParentNode(_);return isLastTraversableNode(j)?_.ownerDocument?_.ownerDocument.body:_.body:isHTMLElement$2(j)&&isOverflowElement(j)?j:getNearestOverflowAncestor(j)}function getOverflowAncestors(_,j,et){var tt;j===void 0&&(j=[]),et===void 0&&(et=!0);const rt=getNearestOverflowAncestor(_),nt=rt===((tt=_.ownerDocument)==null?void 0:tt.body),it=getWindow(rt);if(nt){const st=getFrameElement(it);return j.concat(it,it.visualViewport||[],isOverflowElement(rt)?rt:[],st&&et?getOverflowAncestors(st):[])}return j.concat(rt,getOverflowAncestors(rt,[],et))}function getFrameElement(_){return _.parent&&Object.getPrototypeOf(_.parent)?_.frameElement:null}function getCssDimensions(_){const j=getComputedStyle$2(_);let et=parseFloat(j.width)||0,tt=parseFloat(j.height)||0;const rt=isHTMLElement$2(_),nt=rt?_.offsetWidth:et,it=rt?_.offsetHeight:tt,st=round$1(et)!==nt||round$1(tt)!==it;return st&&(et=nt,tt=it),{width:et,height:tt,$:st}}function unwrapElement(_){return isElement(_)?_:_.contextElement}function getScale(_){const j=unwrapElement(_);if(!isHTMLElement$2(j))return createCoords(1);const et=j.getBoundingClientRect(),{width:tt,height:rt,$:nt}=getCssDimensions(j);let it=(nt?round$1(et.width):et.width)/tt,st=(nt?round$1(et.height):et.height)/rt;return(!it||!Number.isFinite(it))&&(it=1),(!st||!Number.isFinite(st))&&(st=1),{x:it,y:st}}const noOffsets=createCoords(0);function getVisualOffsets(_){const j=getWindow(_);return!isWebKit()||!j.visualViewport?noOffsets:{x:j.visualViewport.offsetLeft,y:j.visualViewport.offsetTop}}function shouldAddVisualOffsets(_,j,et){return j===void 0&&(j=!1),!et||j&&et!==getWindow(_)?!1:j}function getBoundingClientRect(_,j,et,tt){j===void 0&&(j=!1),et===void 0&&(et=!1);const rt=_.getBoundingClientRect(),nt=unwrapElement(_);let it=createCoords(1);j&&(tt?isElement(tt)&&(it=getScale(tt)):it=getScale(_));const st=shouldAddVisualOffsets(nt,et,tt)?getVisualOffsets(nt):createCoords(0);let at=(rt.left+st.x)/it.x,ot=(rt.top+st.y)/it.y,lt=rt.width/it.x,ct=rt.height/it.y;if(nt){const ut=getWindow(nt),dt=tt&&isElement(tt)?getWindow(tt):tt;let ht=ut,pt=getFrameElement(ht);for(;pt&&tt&&dt!==ht;){const gt=getScale(pt),ft=pt.getBoundingClientRect(),mt=getComputedStyle$2(pt),xt=ft.left+(pt.clientLeft+parseFloat(mt.paddingLeft))*gt.x,yt=ft.top+(pt.clientTop+parseFloat(mt.paddingTop))*gt.y;at*=gt.x,ot*=gt.y,lt*=gt.x,ct*=gt.y,at+=xt,ot+=yt,ht=getWindow(pt),pt=getFrameElement(ht)}}return rectToClientRect({width:lt,height:ct,x:at,y:ot})}function getWindowScrollBarX(_,j){const et=getNodeScroll(_).scrollLeft;return j?j.left+et:getBoundingClientRect(getDocumentElement(_)).left+et}function getHTMLOffset(_,j,et){et===void 0&&(et=!1);const tt=_.getBoundingClientRect(),rt=tt.left+j.scrollLeft-(et?0:getWindowScrollBarX(_,tt)),nt=tt.top+j.scrollTop;return{x:rt,y:nt}}function convertOffsetParentRelativeRectToViewportRelativeRect(_){let{elements:j,rect:et,offsetParent:tt,strategy:rt}=_;const nt=rt==="fixed",it=getDocumentElement(tt),st=j?isTopLayer(j.floating):!1;if(tt===it||st&&nt)return et;let at={scrollLeft:0,scrollTop:0},ot=createCoords(1);const lt=createCoords(0),ct=isHTMLElement$2(tt);if((ct||!ct&&!nt)&&((getNodeName(tt)!=="body"||isOverflowElement(it))&&(at=getNodeScroll(tt)),isHTMLElement$2(tt))){const dt=getBoundingClientRect(tt);ot=getScale(tt),lt.x=dt.x+tt.clientLeft,lt.y=dt.y+tt.clientTop}const ut=it&&!ct&&!nt?getHTMLOffset(it,at,!0):createCoords(0);return{width:et.width*ot.x,height:et.height*ot.y,x:et.x*ot.x-at.scrollLeft*ot.x+lt.x+ut.x,y:et.y*ot.y-at.scrollTop*ot.y+lt.y+ut.y}}function getClientRects(_){return Array.from(_.getClientRects())}function getDocumentRect(_){const j=getDocumentElement(_),et=getNodeScroll(_),tt=_.ownerDocument.body,rt=max$3(j.scrollWidth,j.clientWidth,tt.scrollWidth,tt.clientWidth),nt=max$3(j.scrollHeight,j.clientHeight,tt.scrollHeight,tt.clientHeight);let it=-et.scrollLeft+getWindowScrollBarX(_);const st=-et.scrollTop;return getComputedStyle$2(tt).direction==="rtl"&&(it+=max$3(j.clientWidth,tt.clientWidth)-rt),{width:rt,he
vendor: 14,990 bytes, line 550
550ight:nt,x:it,y:st}}function getViewportRect(_,j){const et=getWindow(_),tt=getDocumentElement(_),rt=et.visualViewport;let nt=tt.clientWidth,it=tt.clientHeight,st=0,at=0;if(rt){nt=rt.width,it=rt.height;const ot=isWebKit();(!ot||ot&&j==="fixed")&&(st=rt.offsetLeft,at=rt.offsetTop)}return{width:nt,height:it,x:st,y:at}}const absoluteOrFixed=new Set(["absolute","fixed"]);function getInnerBoundingClientRect(_,j){const et=getBoundingClientRect(_,!0,j==="fixed"),tt=et.top+_.clientTop,rt=et.left+_.clientLeft,nt=isHTMLElement$2(_)?getScale(_):createCoords(1),it=_.clientWidth*nt.x,st=_.clientHeight*nt.y,at=rt*nt.x,ot=tt*nt.y;return{width:it,height:st,x:at,y:ot}}function getClientRectFromClippingAncestor(_,j,et){let tt;if(j==="viewport")tt=getViewportRect(_,et);else if(j==="document")tt=getDocumentRect(getDocumentElement(_));else if(isElement(j))tt=getInnerBoundingClientRect(j,et);else{const rt=getVisualOffsets(_);tt={x:j.x-rt.x,y:j.y-rt.y,width:j.width,height:j.height}}return rectToClientRect(tt)}function hasFixedPositionAncestor(_,j){const et=getParentNode(_);return et===j||!isElement(et)||isLastTraversableNode(et)?!1:getComputedStyle$2(et).position==="fixed"||hasFixedPositionAncestor(et,j)}function getClippingElementAncestors(_,j){const et=j.get(_);if(et)return et;let tt=getOverflowAncestors(_,[],!1).filter(st=>isElement(st)&&getNodeName(st)!=="body"),rt=null;const nt=getComputedStyle$2(_).position==="fixed";let it=nt?getParentNode(_):_;for(;isElement(it)&&!isLastTraversableNode(it);){const st=getComputedStyle$2(it),at=isContainingBlock(it);!at&&st.position==="fixed"&&(rt=null),(nt?!at&&!rt:!at&&st.position==="static"&&!!rt&&absoluteOrFixed.has(rt.position)||isOverflowElement(it)&&!at&&hasFixedPositionAncestor(_,it))?tt=tt.filter(lt=>lt!==it):rt=st,it=getParentNode(it)}return j.set(_,tt),tt}function getClippingRect(_){let{element:j,boundary:et,rootBoundary:tt,strategy:rt}=_;const it=[...et==="clippingAncestors"?isTopLayer(j)?[]:getClippingElementAncestors(j,this._c):[].concat(et),tt],st=it[0],at=it.reduce((ot,lt)=>{const ct=getClientRectFromClippingAncestor(j,lt,rt);return ot.top=max$3(ct.top,ot.top),ot.right=min$3(ct.right,ot.right),ot.bottom=min$3(ct.bottom,ot.bottom),ot.left=max$3(ct.left,ot.left),ot},getClientRectFromClippingAncestor(j,st,rt));return{width:at.right-at.left,height:at.bottom-at.top,x:at.left,y:at.top}}function getDimensions(_){const{width:j,height:et}=getCssDimensions(_);return{width:j,height:et}}function getRectRelativeToOffsetParent(_,j,et){const tt=isHTMLElement$2(j),rt=getDocumentElement(j),nt=et==="fixed",it=getBoundingClientRect(_,!0,nt,j);let st={scrollLeft:0,scrollTop:0};const at=createCoords(0);function ot(){at.x=getWindowScrollBarX(rt)}if(tt||!tt&&!nt)if((getNodeName(j)!=="body"||isOverflowElement(rt))&&(st=getNodeScroll(j)),tt){const dt=getBoundingClientRect(j,!0,nt,j);at.x=dt.x+j.clientLeft,at.y=dt.y+j.clientTop}else rt&&ot();nt&&!tt&&rt&&ot();const lt=rt&&!tt&&!nt?getHTMLOffset(rt,st):createCoords(0),ct=it.left+st.scrollLeft-at.x-lt.x,ut=it.top+st.scrollTop-at.y-lt.y;return{x:ct,y:ut,width:it.width,height:it.height}}function isStaticPositioned(_){return getComputedStyle$2(_).position==="static"}function getTrueOffsetParent(_,j){if(!isHTMLElement$2(_)||getComputedStyle$2(_).position==="fixed")return null;if(j)return j(_);let et=_.offsetParent;return getDocumentElement(_)===et&&(et=et.ownerDocument.body),et}function getOffsetParent(_,j){const et=getWindow(_);if(isTopLayer(_))return et;if(!isHTMLElement$2(_)){let rt=getParentNode(_);for(;rt&&!isLastTraversableNode(rt);){if(isElement(rt)&&!isStaticPositioned(rt))return rt;rt=getParentNode(rt)}return et}let tt=getTrueOffsetParent(_,j);for(;tt&&isTableElement(tt)&&isStaticPositioned(tt);)tt=getTrueOffsetParent(tt,j);return tt&&isLastTraversableNode(tt)&&isStaticPositioned(tt)&&!isContainingBlock(tt)?et:tt||getContainingBlock(_)||et}const getElementRects=async function(_){const j=this.getOffsetParent||getOffsetParent,et=this.getDimensions,tt=await et(_.floating);return{reference:getRectRelativeToOffsetParent(_.reference,await j(_.floating),_.strategy),floating:{x:0,y:0,width:tt.width,height:tt.height}}};function isRTL(_){return getComputedStyle$2(_).direction==="rtl"}const platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function rectsAreEqual(_,j){return _.x===j.x&&_.y===j.y&&_.width===j.width&&_.height===j.height}function observeMove(_,j){let et=null,tt;const rt=getDocumentElement(_);function nt(){var st;clearTimeout(tt),(st=et)==null||st.disconnect(),et=null}function it(st,at){st===void 0&&(st=!1),at===void 0&&(at=1),nt();const ot=_.getBoundingClientRect(),{left:lt,top:ct,width:ut,height:dt}=ot;if(st||j(),!ut||!dt)return;const ht=floor(ct),pt=floor(rt.clientWidth-(lt+ut)),gt=floor(rt.clientHeight-(ct+dt)),ft=floor(lt),xt={rootMargin:-ht+"px "+-pt+"px "+-gt+"px "+-ft+"px",threshold:max$3(0,min$3(1,at))||1};let yt=!0;function vt(bt){const Et=bt[0].intersectionRatio;if(Et!==at){if(!yt)return it();Et?it(!1,Et):tt=setTimeout(()=>{it(!1,1e-7)},1e3)}Et===1&&!rectsAreEqual(ot,_.getBoundingClientRect())&&it(),yt=!1}try{et=new IntersectionObserver(vt,{...xt,root:rt.ownerDocument})}catch{et=new IntersectionObserver(vt,xt)}et.observe(_)}return it(!0),nt}function autoUpdate(_,j,et,tt){tt===void 0&&(tt={});const{ancestorScroll:rt=!0,ancestorResize:nt=!0,elementResize:it=typeof ResizeObserver=="function",layoutShift:st=typeof IntersectionObserver=="function",animationFrame:at=!1}=tt,ot=unwrapElement(_),lt=rt||nt?[...ot?getOverflowAncestors(ot):[],...getOverflowAncestors(j)]:[];lt.forEach(ft=>{rt&&ft.addEventListener("scroll",et,{passive:!0}),nt&&ft.addEventListener("resize",et)});const ct=ot&&st?observeMove(ot,et):null;let ut=-1,dt=null;it&&(dt=new ResizeObserver(ft=>{let[mt]=ft;mt&&mt.target===ot&&dt&&(dt.unobserve(j),cancelAnimationFrame(ut),ut=requestAnimationFrame(()=>{var xt;(xt=dt)==null||xt.observe(j)})),et()}),ot&&!at&&dt.observe(ot),dt.observe(j));let ht,pt=at?getBoundingClientRect(_):null;at&>();function gt(){const ft=getBoundingClientRect(_);pt&&!rectsAreEqual(pt,ft)&&et(),pt=ft,ht=requestAnimationFrame(gt)}return et(),()=>{var ft;lt.forEach(mt=>{rt&&mt.removeEventListener("scroll",et),nt&&mt.removeEventListener("resize",et)}),ct==null||ct(),(ft=dt)==null||ft.disconnect(),dt=null,at&&cancelAnimationFrame(ht)}}const offset$1=offset$2,shift$1=shift$2,flip$1=flip$2,size$1=size$2,hide$1=hide$2,arrow$2=arrow$3,limitShift$1=limitShift$2,computePosition=(_,j,et)=>{const tt=new Map,rt={platform,...et},nt={...rt.platform,_c:tt};return computePosition$1(_,j,{...rt,platform:nt})};var isClient=typeof document<"u",noop$9=function(){},index=isClient?reactExports.useLayoutEffect:noop$9;function deepEqual$2(_,j){if(_===j)return!0;if(typeof _!=typeof j)return!1;if(typeof _=="function"&&_.toString()===j.toString())return!0;let et,tt,rt;if(_&&j&&typeof _=="object"){if(Array.isArray(_)){if(et=_.length,et!==j.length)return!1;for(tt=et;tt--!==0;)if(!deepEqual$2(_[tt],j[tt]))return!1;return!0}if(rt=Object.keys(_),et=rt.length,et!==Object.keys(j).length)return!1;for(tt=et;tt--!==0;)if(!{}.hasOwnProperty.call(j,rt[tt]))return!1;for(tt=et;tt--!==0;){const nt=rt[tt];if(!(nt==="_owner"&&_.$$typeof)&&!deepEqual$2(_[nt],j[nt]))return!1}return!0}return _!==_&&j!==j}function getDPR(_){return typeof window>"u"?1:(_.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(_,j){const et=getDPR(_);return Math.round(j*et)/et}function useLatestRef(_){const j=reactExports.useRef(_);return index(()=>{j.current=_}),j}function useFloating(_){_===void 0&&(_={});const{placement:j="bottom",strategy:et="absolute",middleware:tt=[],platform:rt,elements:{reference:nt,floating:it}={},transform:st=!0,whileElementsMounted:at,open:ot}=_,[lt,ct]=reactExports.useState({x:0,y:0,strategy:et,placement:j,middlewareData:{},isPositioned:!1}),[ut,dt]=reactExports.useState(tt);deepEqual$2(ut,tt)||dt(tt);const[ht,pt]=reactExports.useState(null),[gt,ft]=reactExports.useState(null),mt=reactExports.useCallback(kt=>{kt!==bt.current&&(bt.current=kt,pt(kt))},[]),xt=reactExports.useCallback(kt=>{kt!==Et.current&&(Et.current=kt,ft(kt))},[]),yt=nt||ht,vt=it||gt,bt=reactExports.useRef(null),Et=reactExports.useRef(null),_t=reactExports.useRef(lt),wt=at!=null,Rt=useLatestRef(at),Ct=useLatestRef(rt),jt=useLatestRef(ot),Dt=reactExports.useCallback(()=>{if(!bt.current||!Et.current)return;const kt={placement:j,strategy:et,middleware:ut};Ct.current&&(kt.platform=Ct.current),computePosition(bt.current,Et.current,kt).then(St=>{const Pt={...St,isPositioned:jt.current!==!1};It.current&&!deepEqual$2(_t.current,Pt)&&(_t.current=Pt,reactDomExports.flushSync(()=>{ct(Pt)}))})},[ut,j,et,Ct,jt]);index(()=>{ot===!1&&_t.current.isPositioned&&(_t.current.isPositioned=!1,ct(kt=>({...kt,isPositioned:!1})))},[ot]);const It=reactExports.useRef(!1);index(()=>(It.current=!0,()=>{It.current=!1}),[]),index(()=>{if(yt&&(bt.current=yt),vt&&(Et.current=vt),yt&&vt){if(Rt.current)return Rt.current(yt,vt,Dt);Dt()}},[yt,vt,Dt,Rt,wt]);const Ot=reactExports.useMemo(()=>({reference:bt,floating:Et,setReference:mt,setFloating:xt}),[mt,xt]),At=reactExports.useMemo(()=>({reference:yt,floating:vt}),[yt,vt]),Tt=reactExports.useMemo(()=>{const kt={position:et,left:0,top:0};if(!At.floating)return kt;const St=roundByDPR(At.floating,lt.x),Pt=roundByDPR(At.floating,lt.y);return st?{...kt,transform:"translate("+St+"px, "+Pt+"px)",...getDPR(At.floating)>=1.5&&{willChange:"transform"}}:{position:et,left:St,top:Pt}},[et,st,At.floating,lt.x,lt.y]);return reactExports.useMemo(()=>({...lt,update:Dt,refs:Ot,elements:At,floatingStyles:Tt}),[lt,Dt,Ot,At,Tt])}const arrow$1=_=>{function j(et){return{}.hasOwnProperty.call(et,"current")}return{name:"arrow",options:_,fn(et){const{element:tt,padding:rt}=typeof _=="function"?_(et):_;return tt&&j(tt)?tt.current!=null?arrow$2({element:tt.current,padding:rt}).fn(et):{}:tt?arrow$2({element:tt,padding:rt}).fn(et):{}}}},offset=(_,j)=>({...offset$1(_),options:[_,j]}),shift=(_,j)=>({...shift$1(_),options:[_,j]}),limitShift=(_,j)=>({...limitShift$1(_),options:[_,j]}),flip=(_,j)=>({...flip$1(_),options:[_,j]}),size=(_,j)=>({...size$1(_),options:[_,j]}),hide=(_,j)=>({...hide$1(_),options:[_,j]}),arrow=(_,j)=>({...arrow$1(_),options:[_,j]});var NAME$3="Arrow",Arrow$1=reactExports.forwardRef((_,j)=>{const{children:et,width:tt=10,height:rt=5,...nt}=_;return jsxRuntimeExports.jsx(Primitive.svg,{...nt,ref:j,width:tt,height:rt,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:_.asChild?et:jsxRuntimeExports.jsx("polygon",{points:"0,0 30,0 15,10"})})});Arrow$1.displayName=NAME$3;var Root$9=Arrow$1;function useSize(_){const[j,et]=reactExports.useState(void 0);return useLayoutEffect2(()=>{if(_){et({width:_.offsetWidth,height:_.offsetHeight});const tt=new ResizeObserver(rt=>{if(!Array.isArray(rt)||!rt.length)return;const nt=rt[0];let it,st;if("borderBoxSize"in nt){const at=nt.borderBoxSize,ot=Array.isArray(at)?at[0]:at;it=ot.inlineSize,st=ot.blockSize}else it=_.offsetWidth,st=_.offsetHeight;et({width:it,height:st})});return tt.observe(_,{box:"border-box"}),()=>tt.unobserve(_)}else et(void 0)},[_]),j}var POPPER_NAME="Popper",[createPopperContext,createPopperScope]=createContextScope(POPPER_NAME),[PopperProvider,usePopperContext]=createPopperContext(POPPER_NAME),Popper=_=>{const{__scopePopper:j,children:et}=_,[tt,rt]=reactExports.useState(null);return jsxRuntimeExports.jsx(PopperProvider,{scope:j,anchor:tt,onAnchorChange:rt,children:et})};Popper.displayName=POPPER_NAME;var ANCHOR_NAME$2="PopperAnchor",PopperAnchor=reactExports.forwardRef((_,j)=>{const{__scopePopper:et,virtualRef:tt,...rt}=_,nt=usePopperContext(ANCHOR_NAME$2,et),it=reactExports.useRef(null),st=useComposedRefs$1(j,it);return reactExports.useEffect(()=>{nt.onAnchorChange((tt==null?void 0:tt.current)||it.current)}),tt?null:jsxRuntimeExports.jsx(Primitive.div,{...rt,ref:st})});PopperAnchor.displayName=ANCHOR_NAME$2;var CONTENT_NAME$9="PopperContent",[PopperContentProvider,useContentContext]=createPopperContext(CONTENT_NAME$9),PopperContent=reactExports.forwardRef((_,j)=>{var er,ir,Jt,Gt,Kt,Bt;const{__scopePopper:et,side:tt="bottom",sideOffset:rt=0,align:nt="center",alignOffset:it=0,arrowPadding:st=0,avoidCollisions:at=!0,collisionBoundary:ot=[],collisionPadding:lt=0,sticky:ct="partial",hideWhenDetached:ut=!1,updatePositionStrategy:dt="optimized",onPlaced:ht,...pt}=_,gt=usePopperContext(CONTENT_NAME$9,et),[ft,mt]=reactExports.useState(null),xt=useComposedRefs$1(j,Zt=>mt(Zt)),[yt,vt]=reactExports.useState(null),bt=useSize(yt),Et=(bt==null?void 0:bt.width)??0,_t=(bt==null?void 0:bt.height)??0,wt=tt+(nt!=="center"?"-"+nt:""),Rt=typeof lt=="number"?lt:{top:0,right:0,bottom:0,left:0,...lt},Ct=Array.isArray(ot)?ot:[ot],jt=Ct.length>0,Dt={padding:Rt,boundary:Ct.filter(isNotNull$2),altBoundary:jt},{refs:It,floatingStyles:Ot,placement:At,isPositioned:Tt,middlewareData:kt}=useFloating({strategy:"fixed",placement:wt,whileElementsMounted:(...Zt)=>autoUpdate(...Zt,{animationFrame:dt==="always"}),elements:{reference:gt.anchor},middleware:[offset({mainAxis:rt+_t,alignmentAxis:it}),at&&shift({mainAxis:!0,crossAxis:!1,limiter:ct==="partial"?limitShift():void 0,...Dt}),at&&flip({...Dt}),size({...Dt,apply:({elements:Zt,rects:qt,availableWidth:lr,availableHeight:ar})=>{const{width:Yt,height:sr}=qt.reference,gr=Zt.floating.style;gr.setProperty("--radix-popper-available-width",`${lr}px`),gr.setProperty("--radix-popper-available-height",`${ar}px`),gr.setProperty("--radix-popper-anchor-width",`${Yt}px`),gr.setProperty("--radix-popper-anchor-height",`${sr}px`)}}),yt&&arrow({element:yt,padding:st}),transformOrigin({arrowWidth:Et,arrowHeight:_t}),ut&&hide({strategy:"referenceHidden",...Dt})]}),[St,Pt]=getSideAndAlignFromPlacement(At),$t=useCallbackRef$1(ht);useLayoutEffect2(()=>{Tt&&($t==null||$t())},[Tt,$t]);const Nt=(er=kt.arrow)==null?void 0:er.x,Mt=(ir=kt.arrow)==null?void 0:ir.y,Vt=((Jt=kt.arrow)==null?void 0:Jt.centerOffset)!==0,[Ht,Qt]=reactExports.useState();return useLayoutEffect2(()=>{ft&&Qt(window.getComputedStyle(ft).zIndex)},[ft]),jsxRuntimeExports.jsx("div",{ref:It.setFloating,"data-radix-popper-content-wrapper":"",style:{...Ot,transform:Tt?Ot.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ht,"--radix-popper-transform-origin":[(Gt=kt.transformOrigin)==null?void 0:Gt.x,(Kt=kt.transformOrigin)==null?void 0:Kt.y].join(" "),...((Bt=kt.hide)==null?void 0:Bt.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:_.dir,children:jsxRuntimeExports.jsx(PopperContentProvider,{scope:et,placedSide:St,onArrowChange:vt,arrowX:Nt,arrowY:Mt,shouldHideArrow:Vt,children:jsxRuntimeExports.jsx(Primitive.div,{"data-side":St,"data-align":Pt,...pt,ref:xt,style:{...pt.style,animation:Tt?void 0:"none"}})})})});PopperContent.displayName=CONTENT_NAME$9;var ARROW_NAME$5="PopperArrow",OPPOSITE_SIDE={top:"bottom",right:"left",bottom:"top",left:"r
550ight"},PopperArrow=reactExports.forwardRef(function(j,et){const{__scopePopper:tt,...rt}=j,nt=useContentContext(ARROW_NAME$5,tt),it=OPPOSITE_SIDE[nt.placedSide];return jsxRuntimeExports.jsx("span",{ref:nt.onArrowChange,style:{position:"absolute",left:nt.arrowX,top:nt.arrowY,[it]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[nt.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[nt.placedSide],visibility:nt.shouldHideArrow?"hidden":void 0},children:jsxRuntimeExports.jsx(Root$9,{...rt,ref:et,style:{...rt.style,display:"block"}})})});PopperArrow.displayName=ARROW_NAME$5;function isNotNull$2(_){return _!==null}var transformOrigin=_=>({name:"transformOrigin",options:_,fn(j){var gt,ft,mt;const{placement:et,rects:tt,middlewareData:rt}=j,it=((gt=rt.arrow)==null?void 0:gt.centerOffset)!==0,st=it?0:_.arrowWidth,at=it?0:_.arrowHeight,[ot,lt]=getSideAndAlignFromPlacement(et),ct={start:"0%",center:"50%",end:"100%"}[lt],ut=(((ft=rt.arrow)==null?void 0:ft.x)??0)+st/2,dt=(((mt=rt.arrow)==null?void 0:mt.y)??0)+at/2;let ht="",pt="";return ot==="bottom"?(ht=it?ct:`${ut}px`,pt=`${-at}px`):ot==="top"?(ht=it?ct:`${ut}px`,pt=`${tt.floating.height+at}px`):ot==="right"?(ht=`${-at}px`,pt=it?ct:`${dt}px`):ot==="left"&&(ht=`${tt.floating.width+at}px`,pt=it?ct:`${dt}px`),{data:{x:ht,y:pt}}}});function getSideAndAlignFromPlacement(_){const[j,et="center"]=_.split("-");return[j,et]}var Root2$6=Popper,Anchor=PopperAnchor,Content$2=PopperContent,Arrow=PopperArrow,[createTooltipContext,createTooltipScope]=createContextScope("Tooltip",[createPopperScope]),usePopperScope$3=createPopperScope(),PROVIDER_NAME="TooltipProvider",DEFAULT_DELAY_DURATION=700,TOOLTIP_OPEN="tooltip.open",[TooltipProviderContextProvider,useTooltipProviderContext]=createTooltipContext(PROVIDER_NAME),TooltipProvider$1=_=>{const{__scopeTooltip:j,delayDuration:et=DEFAULT_DELAY_DURATION,skipDelayDuration:tt=300,disableHoverableContent:rt=!1,children:nt}=_,it=reactExports.useRef(!0),st=reactExports.useRef(!1),at=reactExports.useRef(0);return reactExports.useEffect(()=>{const ot=at.current;return()=>window.clearTimeout(ot)},[]),jsxRuntimeExports.jsx(TooltipProviderContextProvider,{scope:j,isOpenDelayedRef:it,delayDuration:et,onOpen:reactExports.useCallback(()=>{window.clearTimeout(at.current),it.current=!1},[]),onClose:reactExports.useCallback(()=>{window.clearTimeout(at.current),at.current=window.setTimeout(()=>it.current=!0,tt)},[tt]),isPointerInTransitRef:st,onPointerInTransitChange:reactExports.useCallback(ot=>{st.current=ot},[]),disableHoverableContent:rt,children:nt})};TooltipProvider$1.displayName=PROVIDER_NAME;var TOOLTIP_NAME="Tooltip",[TooltipContextProvider,useTooltipContext]=createTooltipContext(TOOLTIP_NAME),Tooltip$2=_=>{const{__scopeTooltip:j,children:et,open:tt,defaultOpen:rt,onOpenChange:nt,disableHoverableContent:it,delayDuration:st}=_,at=useTooltipProviderContext(TOOLTIP_NAME,_.__scopeTooltip),ot=usePopperScope$3(j),[lt,ct]=reactExports.useState(null),ut=useId(),dt=reactExports.useRef(0),ht=it??at.disableHoverableContent,pt=st??at.delayDuration,gt=reactExports.useRef(!1),[ft,mt]=useControllableState({prop:tt,defaultProp:rt??!1,onChange:Et=>{Et?(at.onOpen(),document.dispatchEvent(new CustomEvent(TOOLTIP_OPEN))):at.onClose(),nt==null||nt(Et)},caller:TOOLTIP_NAME}),xt=reactExports.useMemo(()=>ft?gt.current?"delayed-open":"instant-open":"closed",[ft]),yt=reactExports.useCallback(()=>{window.clearTimeout(dt.current),dt.current=0,gt.current=!1,mt(!0)},[mt]),vt=reactExports.useCallback(()=>{window.clearTimeout(dt.current),dt.current=0,mt(!1)},[mt]),bt=reactExports.useCallback(()=>{window.clearTimeout(dt.current),dt.current=window.setTimeout(()=>{gt.current=!0,mt(!0),dt.current=0},pt)},[pt,mt]);return reactExports.useEffect(()=>()=>{dt.current&&(window.clearTimeout(dt.current),dt.current=0)},[]),jsxRuntimeExports.jsx(Root2$6,{...ot,children:jsxRuntimeExports.jsx(TooltipContextProvider,{scope:j,contentId:ut,open:ft,stateAttribute:xt,trigger:lt,onTriggerChange:ct,onTriggerEnter:reactExports.useCallback(()=>{at.isOpenDelayedRef.current?bt():yt()},[at.isOpenDelayedRef,bt,yt]),onTriggerLeave:reactExports.useCallback(()=>{ht?vt():(window.clearTimeout(dt.current),dt.current=0)},[vt,ht]),onOpen:yt,onClose:vt,disableHoverableContent:ht,children:et})})};Tooltip$2.displayName=TOOLTIP_NAME;var TRIGGER_NAME$8="TooltipTrigger",TooltipTrigger$1=reactExports.forwardRef((_,j)=>{const{__scopeTooltip:et,...tt}=_,rt=useTooltipContext(TRIGGER_NAME$8,et),nt=useTooltipProviderContext(TRIGGER_NAME$8,et),it=usePopperScope$3(et),st=reactExports.useRef(null),at=useComposedRefs$1(j,st,rt.onTriggerChange),ot=reactExports.useRef(!1),lt=reactExports.useRef(!1),ct=reactExports.useCallback(()=>ot.current=!1,[]);return reactExports.useEffect(()=>()=>document.removeEventListener("pointerup",ct),[ct]),jsxRuntimeExports.jsx(Anchor,{asChild:!0,...it,children:jsxRuntimeExports.jsx(Primitive.button,{"aria-describedby":rt.open?rt.contentId:void 0,"data-state":rt.stateAttribute,...tt,ref:at,onPointerMove:composeEventHandlers(_.onPointerMove,ut=>{ut.pointerType!=="touch"&&!lt.current&&!nt.isPointerInTransitRef.current&&(rt.onTriggerEnter(),lt.current=!0)}),onPointerLeave:composeEventHandlers(_.onPointerLeave,()=>{rt.onTriggerLeave(),lt.current=!1}),onPointerDown:composeEventHandlers(_.onPointerDown,()=>{rt.open&&rt.onClose(),ot.current=!0,document.addEventListener("pointerup",ct,{once:!0})}),onFocus:composeEventHandlers(_.onFocus,()=>{ot.current||rt.onOpen()}),onBlur:composeEventHandlers(_.onBlur,rt.onClose),onClick:composeEventHandlers(_.onClick,rt.onClose)})})});TooltipTrigger$1.displayName=TRIGGER_NAME$8;var PORTAL_NAME$6="TooltipPortal",[PortalProvider$3,usePortalContext$3]=createTooltipContext(PORTAL_NAME$6,{forceMount:void 0}),CONTENT_NAME$8="TooltipContent",TooltipContent$1=reactExports.forwardRef((_,j)=>{const et=usePortalContext$3(CONTENT_NAME$8,_.__scopeTooltip),{forceMount:tt=et.forceMount,side:rt="top",...nt}=_,it=useTooltipContext(CONTENT_NAME$8,_.__scopeTooltip);return jsxRuntimeExports.jsx(Presence,{present:tt||it.open,children:it.disableHoverableContent?jsxRuntimeExports.jsx(TooltipContentImpl,{side:rt,...nt,ref:j}):jsxRuntimeExports.jsx(TooltipContentHoverable,{side:rt,...nt,ref:j})})}),TooltipContentHoverable=reactExports.forwardRef((_,j)=>{const et=useTooltipContext(CONTENT_NAME$8,_.__scopeTooltip),tt=useTooltipProviderContext(CONTENT_NAME$8,_.__scopeTooltip),rt=reactExports.useRef(null),nt=useComposedRefs$1(j,rt),[it,st]=reactExports.useState(null),{trigger:at,onClose:ot}=et,lt=rt.current,{onPointerInTransitChange:ct}=tt,ut=reactExports.useCallback(()=>{st(null),ct(!1)},[ct]),dt=reactExports.useCallback((ht,pt)=>{const gt=ht.currentTarget,ft={x:ht.clientX,y:ht.clientY},mt=getExitSideFromRect(ft,gt.getBoundingClientRect()),xt=getPaddedExitPoints(ft,mt),yt=getPointsFromRect(pt.getBoundingClientRect()),vt=getHull([...xt,...yt]);st(vt),ct(!0)},[ct]);return reactExports.useEffect(()=>()=>ut(),[ut]),reactExports.useEffect(()=>{if(at&<){const ht=gt=>dt(gt,lt),pt=gt=>dt(gt,at);return at.addEventListener("pointerleave",ht),lt.addEventListener("pointerleave",pt),()=>{at.removeEventListener("pointerleave",ht),lt.removeEventListener("pointerleave",pt)}}},[at,lt,dt,ut]),reactExports.useEffect(()=>{if(it){const ht=pt=>{const gt=pt.target,ft={x:pt.clientX,y:pt.clientY},mt=(at==null?void 0:at.contains(gt))||(lt==null?void 0:lt.contains(gt)),xt=!isPointInPolygon$1(ft,it);mt?ut():xt&&(ut(),ot())};return document.addEventListener("pointermove",ht),()=>document.removeEventListener("pointermove",ht)}},[at,lt,it,ot,ut]),jsxRuntimeExports.jsx(TooltipContentImpl,{..._,ref:nt})}),[VisuallyHiddenContentContextProvider,useVisuallyHiddenContentContext]=createTooltipContext(TOOLTIP_NAME,{isInside:!1}),Slottable$1=createSlottable("TooltipContent"),TooltipContentImpl=reactExports.forwardRef((_,j)=>{const{__scopeTooltip:et,children:tt,"aria-label":rt,onEscapeKeyDown:nt,onPointerDownOutside:it,...st}=_,at=useTooltipContext(CONTENT_NAME$8,et),ot=usePopperScope$3(et),{onClose:lt}=at;return reactExports.useEffect(()=>(document.addEventListener(TOOLTIP_OPEN,lt),()=>document.removeEventListener(TOOLTIP_OPEN,lt)),[lt]),reactExports.useEffect(()=>{if(at.trigger){const ct=ut=>{const dt=ut.target;dt!=null&&dt.contains(at.trigger)&<()};return window.addEventListener("scroll",ct,{capture:!0}),()=>window.removeEventListener("scroll",ct,{capture:!0})}},[at.trigger,lt]),jsxRuntimeExports.jsx(DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:nt,onPointerDownOutside:it,onFocusOutside:ct=>ct.preventDefault(),onDismiss:lt,children:jsxRuntimeExports.jsxs(Content$2,{"data-state":at.stateAttribute,...ot,...st,ref:j,style:{...st.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:[jsxRuntimeExports.jsx(Slottable$1,{children:tt}),jsxRuntimeExports.jsx(VisuallyHiddenContentContextProvider,{scope:et,isInside:!0,children:jsxRuntimeExports.jsx(Root$a,{id:at.contentId,role:"tooltip",children:rt||tt})})]})})});TooltipContent$1.displayName=CONTENT_NAME$8;var ARROW_NAME$4="TooltipArrow",TooltipArrow=reactExports.forwardRef((_,j)=>{const{__scopeTooltip:et,...tt}=_,rt=usePopperScope$3(et);return useVisuallyHiddenContentContext(ARROW_NAME$4,et).isInside?null:jsxRuntimeExports.jsx(Arrow,{...rt,...tt,ref:j})});TooltipArrow.displayName=ARROW_NAME$4;function getExitSideFromRect(_,j){const et=Math.abs(j.top-_.y),tt=Math.abs(j.bottom-_.y),rt=Math.abs(j.right-_.x),nt=Math.abs(j.left-_.x);switch(Math.min(et,tt,rt,nt)){case nt:return"left";case rt:return"right";case et:return"top";case tt:return"bottom";default:throw new Error("unreachable")}}function getPaddedExitPoints(_,j,et=5){const tt=[];switch(j){case"top":tt.push({x:_.x-et,y:_.y+et},{x:_.x+et,y:_.y+et});break;case"bottom":tt.push({x:_.x-et,y:_.y-et},{x:_.x+et,y:_.y-et});break;case"left":tt.push({x:_.x+et,y:_.y-et},{x:_.x+et,y:_.y+et});break;case"right":tt.push({x:_.x-et,y:_.y-et},{x:_.x-et,y:_.y+et});break}return tt}
550function getPointsFromRect(_){const{top:j,right:et,bottom:tt,left:rt}=_;return[{x:rt,y:j},{x:et,y:j},{x:et,y:tt},{x:rt,y:tt}]}function isPointInPolygon$1(_,j){const{x:et,y:tt}=_;let rt=!1;for(let nt=0,it=j.length-1;nt<j.length;it=nt++){const st=j[nt],at=j[it],ot=st.x,lt=st.y,ct=at.x,ut=at.y;lt>tt!=ut>tt&&et<(ct-ot)*(tt-lt)/(ut-lt)+ot&&(rt=!rt)}return rt}function getHull(_){const j=_.slice();return j.sort((et,tt)=>et.x<tt.x?-1:et.x>tt.x?1:et.y<tt.y?-1:et.y>tt.y?1:0),getHullPresorted(j)}function getHullPresorted(_){if(_.length<=1)return _.slice();const j=[];for(let tt=0;tt<_.length;tt++){const rt=_[tt];for(;j.length>=2;){const nt=j[j.length-1],it=j[j.length-2];if((nt.x-it.x)*(rt.y-it.y)>=(nt.y-it.y)*(rt.x-it.x))j.pop();else break}j.push(rt)}j.pop();const et=[];for(let tt=_.length-1;tt>=0;tt--){const rt=_[tt];for(;et.length>=2;){const nt=et[et.length-1],it=et[et.length-2];if((nt.x-it.x)*(rt.y-it.y)>=(nt.y-it.y)*(rt.x-it.x))et.pop();else break}et.push(rt)}return et.pop(),j.length===1&&et.length===1&&j[0].x===et[0].x&&j[0].y===et[0].y?j:j.concat(et)}var Provider=TooltipProvider$1,Root3$1=Tooltip$2,Trigger$5=TooltipTrigger$1,Content2$5=TooltipContent$1;const TooltipProvider=Provider,Tooltip$1=Root3$1,TooltipTrigger=Trigger$5,TooltipContent=reactExports.forwardRef(({className:_,sideOffset:j=4,...et},tt)=>jsxRuntimeExports.jsx(Content2$5,{ref:tt,sideOffset:j,className:cn("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]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",_),...et}));TooltipContent.displayName=Content2$5.displayName;var Subscribable=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(_){return this.listeners.add(_),this.onSubscribe(),()=>{this.listeners.delete(_),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},isServer=typeof window>"u"||"Deno"in globalThis;function noop$8(){}function functionalUpdate(_,j){return typeof _=="function"?_(j):_}function isValidTimeout(_){return typeof _=="number"&&_>=0&&_!==1/0}function timeUntilStale(_,j){return Math.max(_+(j||0)-Date.now(),0)}function resolveStaleTime(_,j){return typeof _=="function"?_(j):_}function resolveEnabled(_,j){return typeof _=="function"?_(j):_}function matchQuery(_,j){const{type:et="all",exact:tt,fetchStatus:rt,predicate:nt,queryKey:it,stale:st}=_;if(it){if(tt){if(j.queryHash!==hashQueryKeyByOptions(it,j.options))return!1}else if(!partialMatchKey(j.queryKey,it))return!1}if(et!=="all"){const at=j.isActive();if(et==="active"&&!at||et==="inactive"&&at)return!1}return!(typeof st=="boolean"&&j.isStale()!==st||rt&&rt!==j.state.fetchStatus||nt&&!nt(j))}function matchMutation(_,j){const{exact:et,status:tt,predicate:rt,mutationKey:nt}=_;if(nt){if(!j.options.mutationKey)return!1;if(et){if(hashKey(j.options.mutationKey)!==hashKey(nt))return!1}else if(!partialMatchKey(j.options.mutationKey,nt))return!1}return!(tt&&j.state.status!==tt||rt&&!rt(j))}function hashQueryKeyByOptions(_,j){return((j==null?void 0:j.queryKeyHashFn)||hashKey)(_)}function hashKey(_){return JSON.stringify(_,(j,et)=>isPlainObject$4(et)?Object.keys(et).sort().reduce((tt,rt)=>(tt[rt]=et[rt],tt),{}):et)}function partialMatchKey(_,j){return _===j?!0:typeof _!=typeof j?!1:_&&j&&typeof _=="object"&&typeof j=="object"?Object.keys(j).every(et=>partialMatchKey(_[et],j[et])):!1}function replaceEqualDeep(_,j){if(_===j)return _;const et=isPlainArray(_)&&isPlainArray(j);if(et||isPlainObject$4(_)&&isPlainObject$4(j)){const tt=et?_:Object.keys(_),rt=tt.length,nt=et?j:Object.keys(j),it=nt.length,st=et?[]:{},at=new Set(tt);let ot=0;for(let lt=0;lt<it;lt++){const ct=et?lt:nt[lt];(!et&&at.has(ct)||et)&&_[ct]===void 0&&j[ct]===void 0?(st[ct]=void 0,ot++):(st[ct]=replaceEqualDeep(_[ct],j[ct]),st[ct]===_[ct]&&_[ct]!==void 0&&ot++)}return rt===it&&ot===rt?_:st}return j}function shallowEqualObjects(_,j){if(!j||Object.keys(_).length!==Object.keys(j).length)return!1;for(const et in _)if(_[et]!==j[et])return!1;return!0}function isPlainArray(_){return Array.isArray(_)&&_.length===Object.keys(_).length}function isPlainObject$4(_){if(!hasObjectPrototype(_))return!1;const j=_.constructor;if(j===void 0)return!0;const et=j.prototype;return!(!hasObjectPrototype(et)||!et.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(_)!==Object.prototype)}function hasObjectPrototype(_){return Object.prototype.toString.call(_)==="[object Object]"}function sleep$2(_){return new Promise(j=>{setTimeout(j,_)})}function replaceData(_,j,et){return typeof et.structuralSharing=="function"?et.structuralSharing(_,j):et.structuralSharing!==!1?replaceEqualDeep(_,j):j}function addToEnd(_,j,et=0){const tt=[..._,j];return et&&tt.length>et?tt.slice(1):tt}function addToStart(_,j,et=0){const tt=[j,..._];return et&&tt.length>et?tt.slice(0,-1):tt}var skipToken=Symbol();function ensureQueryFn(_,j){return!_.queryFn&&(j!=null&&j.initialPromise)?()=>j.initialPromise:!_.queryFn||_.queryFn===skipToken?()=>Promise.reject(new Error(`Missing queryFn: '${_.queryHash}'`)):_.queryFn}function shouldThrowError(_,j){return typeof _=="function"?_(...j):!!_}var Qn,Gn,us,Ys,FocusManager=(Ys=class extends Subscribable{constructor(){super();_r(this,Qn);_r(this,Gn);_r(this,us);mr(this,us,j=>{if(!isServer&&window.addEventListener){const et=()=>j();return window.addEventListener("visibilitychange",et,!1),()=>{window.removeEventListener("visibilitychange",et)}}})}onSubscribe(){zt(this,Gn)||this.setEventListener(zt(this,us))}onUnsubscribe(){var j;this.hasListeners()||((j=zt(this,Gn))==null||j.call(this),mr(this,Gn,void 0))}setEventListener(j){var et;mr(this,us,j),(et=zt(this,Gn))==null||et.call(this),mr(this,Gn,j(tt=>{typeof tt=="boolean"?this.setFocused(tt):this.onFocus()}))}setFocused(j){zt(this,Qn)!==j&&(mr(this,Qn,j),this.onFocus())}onFocus(){const j=this.isFocused();
vendor: 5,556 bytes, line 550
550this.listeners.forEach(et=>{et(j)})}isFocused(){var j;return typeof zt(this,Qn)=="boolean"?zt(this,Qn):((j=globalThis.document)==null?void 0:j.visibilityState)!=="hidden"}},Qn=new WeakMap,Gn=new WeakMap,us=new WeakMap,Ys),focusManager=new FocusManager,ds,Un,ps,Zs,OnlineManager=(Zs=class extends Subscribable{constructor(){super();_r(this,ds,!0);_r(this,Un);_r(this,ps);mr(this,ps,j=>{if(!isServer&&window.addEventListener){const et=()=>j(!0),tt=()=>j(!1);return window.addEventListener("online",et,!1),window.addEventListener("offline",tt,!1),()=>{window.removeEventListener("online",et),window.removeEventListener("offline",tt)}}})}onSubscribe(){zt(this,Un)||this.setEventListener(zt(this,ps))}onUnsubscribe(){var j;this.hasListeners()||((j=zt(this,Un))==null||j.call(this),mr(this,Un,void 0))}setEventListener(j){var et;mr(this,ps,j),(et=zt(this,Un))==null||et.call(this),mr(this,Un,j(this.setOnline.bind(this)))}setOnline(j){zt(this,ds)!==j&&(mr(this,ds,j),this.listeners.forEach(tt=>{tt(j)}))}isOnline(){return zt(this,ds)}},ds=new WeakMap,Un=new WeakMap,ps=new WeakMap,Zs),onlineManager=new OnlineManager;function pendingThenable(){let _,j;const et=new Promise((rt,nt)=>{_=rt,j=nt});et.status="pending",et.catch(()=>{});function tt(rt){Object.assign(et,rt),delete et.resolve,delete et.reject}return et.resolve=rt=>{tt({status:"fulfilled",value:rt}),_(rt)},et.reject=rt=>{tt({status:"rejected",reason:rt}),j(rt)},et}function defaultRetryDelay(_){return Math.min(1e3*2**_,3e4)}function canFetch(_){return(_??"online")==="online"?onlineManager.isOnline():!0}var CancelledError=class extends Error{constructor(_){super("CancelledError"),this.revert=_==null?void 0:_.revert,this.silent=_==null?void 0:_.silent}};function isCancelledError(_){return _ instanceof CancelledError}function createRetryer(_){let j=!1,et=0,tt=!1,rt;const nt=pendingThenable(),it=pt=>{var gt;tt||(ut(new CancelledError(pt)),(gt=_.abort)==null||gt.call(_))},st=()=>{j=!0},at=()=>{j=!1},ot=()=>focusManager.isFocused()&&(_.networkMode==="always"||onlineManager.isOnline())&&_.canRun(),lt=()=>canFetch(_.networkMode)&&_.canRun(),ct=pt=>{var gt;tt||(tt=!0,(gt=_.onSuccess)==null||gt.call(_,pt),rt==null||rt(),nt.resolve(pt))},ut=pt=>{var gt;tt||(tt=!0,(gt=_.onError)==null||gt.call(_,pt),rt==null||rt(),nt.reject(pt))},dt=()=>new Promise(pt=>{var gt;rt=ft=>{(tt||ot())&&pt(ft)},(gt=_.onPause)==null||gt.call(_)}).then(()=>{var pt;rt=void 0,tt||(pt=_.onContinue)==null||pt.call(_)}),ht=()=>{if(tt)return;let pt;const gt=et===0?_.initialPromise:void 0;try{pt=gt??_.fn()}catch(ft){pt=Promise.reject(ft)}Promise.resolve(pt).then(ct).catch(ft=>{var bt;if(tt)return;const mt=_.retry??(isServer?0:3),xt=_.retryDelay??defaultRetryDelay,yt=typeof xt=="function"?xt(et,ft):xt,vt=mt===!0||typeof mt=="number"&&et<mt||typeof mt=="function"&&mt(et,ft);if(j||!vt){ut(ft);return}et++,(bt=_.onFail)==null||bt.call(_,et,ft),sleep$2(yt).then(()=>ot()?void 0:dt()).then(()=>{j?ut(ft):ht()})})};return{promise:nt,cancel:it,continue:()=>(rt==null||rt(),nt),cancelRetry:st,continueRetry:at,canStart:lt,start:()=>(lt()?ht():dt().then(ht),nt)}}var defaultScheduler=_=>setTimeout(_,0);function createNotifyManager(){let _=[],j=0,et=st=>{st()},tt=st=>{st()},rt=defaultScheduler;const nt=st=>{j?_.push(st):rt(()=>{et(st)})},it=()=>{const st=_;_=[],st.length&&rt(()=>{tt(()=>{st.forEach(at=>{et(at)})})})};return{batch:st=>{let at;j++;try{at=st()}finally{j--,j||it()}return at},batchCalls:st=>(...at)=>{nt(()=>{st(...at)})},schedule:nt,setNotifyFunction:st=>{et=st},setBatchNotifyFunction:st=>{tt=st},setScheduler:st=>{rt=st}}}var notifyManager=createNotifyManager(),es,Xs,Removable=(Xs=class{constructor(){_r(this,es)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),isValidTimeout(this.gcTime)&&mr(this,es,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(_){this.gcTime=Math.max(this.gcTime||0,_??(isServer?1/0:5*60*1e3))}clearGcTimeout(){zt(this,es)&&(clearTimeout(zt(this,es)),mr(this,es,void 0))}},es=new WeakMap,Xs),hs,ts,wn,rs,dn,ws,ns,jn,Dn,Js,Query=(Js=class extends Removable{constructor(j){super();_r(this,jn);_r(this,hs);_r(this,ts);_r(this,wn);_r(this,rs);_r(this,dn);_r(this,ws);_r(this,ns);mr(this,ns,!1),mr(this,ws,j.defaultOptions),this.setOptions(j.options),this.observers=[],mr(this,rs,j.client),mr(this,wn,zt(this,rs).getQueryCache()),this.queryKey=j.queryKey,this.queryHash=j.queryHash,mr(this,hs,getDefaultState$1(this.options)),this.state=j.state??zt(this,hs),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var j;return(j=zt(this,dn))==null?void 0:j.promise}setOptions(j){this.options={...zt(this,ws),...j},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&zt(this,wn).remove(this)}setData(j,et){const tt=replaceData(this.state.data,j,this.options);return Nr(this,jn,Dn).call(this,{data:tt,type:"success",dataUpdatedAt:et==null?void 0:et.updatedAt,manual:et==null?void 0:et.manual}),tt}setState(j,et){Nr(this,jn,Dn).call(this,{type:"setState",state:j,setStateOptions:et})}cancel(j){var tt,rt;const et=(tt=zt(this,dn))==null?void 0:tt.promise;return(rt=zt(this,dn))==null||rt.cancel(j),et?et.then(noop$8).catch(noop$8):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(zt(this,hs))}isActive(){return this.observers.some(j=>resolveEnabled(j.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===skipToken||this.state.dataUpdateCount+this.state.errorUpdate
550Count===0}isStatic(){return this.getObserversCount()>0?this.observers.some(j=>resolveStaleTime(j.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(j=>j.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(j=0){return this.state.data===void 0?!0:j==="static"?!1:this.state.isInvalidated?!0:!timeUntilStale(this.state.dataUpdatedAt,j)}onFocus(){var et;const j=this.observers.find(tt=>tt.shouldFetchOnWindowFocus());j==null||j.refetch({cancelRefetch:!1}),(et=zt(this,dn))==null||et.continue()}onOnline(){var et;const j=this.observers.find(tt=>tt.shouldFetchOnReconnect());j==null||j.refetch({cancelRefetch:!1}),(et=zt(this,dn))==null||et.continue()}addObserver(j){this.observers.includes(j)||(this.observers.push(j),this.clearGcTimeout(),zt(this,wn).notify({type:"observerAdded",query:this,observer:j}))}removeObserver(j){this.observers.includes(j)&&(this.observers=this.observers.filter(et=>et!==j),this.observers.length||(zt(this,dn)&&(zt(this,ns)?zt(this,dn).cancel({revert:!0}):zt(this,dn).cancelRetry()),this.scheduleGc()),zt(this,wn).notify({type:"observerRemoved",query:this,observer:j}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Nr(this,jn,Dn).call(this,{type:"invalidate"})}fetch(j,et){var ot,lt,ct;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(et!=null&&et.cancelRefetch))this.cancel({silent:!0});else if(zt(this,dn))return zt(this,dn).continueRetry(),zt(this,dn).promise}if(j&&this.setOptions(j),!this.options.queryFn){const ut=this.observers.find(dt=>dt.options.queryFn);ut&&this.setOptions(ut.options)}const tt=new AbortController,rt=ut=>{Object.defineProperty(ut,"signal",{enumerable:!0,get:()=>(mr(this,ns,!0),tt.signal)})},nt=()=>{const ut=ensureQueryFn(this.options,et),ht=(()=>{const pt={client:zt(this,rs),queryKey:this.queryKey,meta:this.meta};return rt(pt),pt})();return mr(this,ns,!1),this.options.persister?this.options.persister(ut,ht,this):ut(ht)},st=(()=>{const ut={fetchOptions:et,options:this.options,queryKey:this.queryKey,client:zt(this,rs),state:this.state,fetchFn:nt};return rt(ut),ut})();(ot=this.options.behavior)==null||ot.onFetch(st,this),mr(this,ts,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((lt=st.fetchOptions)==null?void 0:lt.meta))&&Nr(this,jn,Dn).call(this,{type:"fetch",meta:(ct=st.fetchOptions)==null?void 0:ct.meta});const at=ut=>{var dt,ht,pt,gt;isCancelledError(ut)&&ut.silent||Nr(this,jn,Dn).call(this,{type:"error",error:ut}),isCancelledError(ut)||((ht=(dt=zt(this,wn).config).onError)==null||ht.call(dt,ut,this),(gt=(pt=zt(this,wn).config).onSettled)==null||gt.call(pt,this.state.data,ut,this)),this.scheduleGc()};return mr(this,dn,createRetryer({initialPromise:et==null?void 0:et.initialPromise,fn:st.fetchFn,abort:tt.abort.bind(tt),onSuccess:ut=>{var dt,ht,pt,gt;if(ut===void 0){at(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(ut)}catch(ft){at(ft);return}(ht=(dt=zt(this,wn).config).onSuccess)==null||ht.call(dt,ut,this),(gt=(pt=zt(this,wn).config).onSettled)==null||gt.call(pt,ut,this.state.error,this),this.scheduleGc()},onError:at,onFail:(ut,dt)=>{Nr(this,jn,Dn).call(this,{type:"failed",failureCount:ut,error:dt})},onPause:()=>{Nr(this,jn,Dn).call(this,{type:"pause"})},onContinue:()=>{Nr(this,jn,Dn).call(this,{type:"continue"})},retry:st.options.retry,retryDelay:st.options.retryDelay,networkMode:st.options.networkMode,canRun:()=>!0})),zt(this,dn).start()}},hs=new WeakMap,ts=new WeakMap,wn=new WeakMap,rs=new WeakMap,dn=new WeakMap,ws=new WeakMap,ns=new WeakMap,jn=new WeakSet,Dn=function(j){const et=tt=>{switch(j.type){case"failed":return{...tt,fetchFailureCount:j.failureCount,fetchFailureReason:j.error};case"pause":return{...tt,fetchStatus:"paused"};case"continue":return{...tt,fetchStatus:"fetching"};case"fetch":return{...tt,...fetchState(tt.data,this.options),fetchMeta:j.meta??null};case"success":return mr(this,ts,void 0),{...tt,data:j.data,dataUpdateCount:tt.dataUpdateCount+1,dataUpdatedAt:j.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!j.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const rt=j.error;return isCancelledError(rt)&&rt.revert&&zt(this,ts)?{...zt(this,ts),fetchStatus:"idle"}
vendor: 4,580 bytes, line 550
550:{...tt,error:rt,errorUpdateCount:tt.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:tt.fetchFailureCount+1,fetchFailureReason:rt,fetchStatus:"idle",status:"error"};case"invalidate":return{...tt,isInvalidated:!0};case"setState":return{...tt,...j.state}}};this.state=et(this.state),notifyManager.batch(()=>{this.observers.forEach(tt=>{tt.onQueryUpdate()}),zt(this,wn).notify({query:this,type:"updated",action:j})})},Js);function fetchState(_,j){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:canFetch(j.networkMode)?"fetching":"paused",..._===void 0&&{error:null,status:"pending"}}}function getDefaultState$1(_){const j=typeof _.initialData=="function"?_.initialData():_.initialData,et=j!==void 0,tt=et?typeof _.initialDataUpdatedAt=="function"?_.initialDataUpdatedAt():_.initialDataUpdatedAt:0;return{data:j,dataUpdateCount:0,dataUpdatedAt:et?tt??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:et?"success":"pending",fetchStatus:"idle"}}var Cn,Qs,QueryCache=(Qs=class extends Subscribable{constructor(j={}){super();_r(this,Cn);this.config=j,mr(this,Cn,new Map)}build(j,et,tt){const rt=et.queryKey,nt=et.queryHash??hashQueryKeyByOptions(rt,et);let it=this.get(nt);return it||(it=new Query({client:j,queryKey:rt,queryHash:nt,options:j.defaultQueryOptions(et),state:tt,defaultOptions:j.getQueryDefaults(rt)}),this.add(it)),it}add(j){zt(this,Cn).has(j.queryHash)||(zt(this,Cn).set(j.queryHash,j),this.notify({type:"added",query:j}))}remove(j){const et=zt(this,Cn).get(j.queryHash);et&&(j.destroy(),et===j&&zt(this,Cn).delete(j.queryHash),this.notify({type:"removed",query:j}))}clear(){notifyManager.batch(()=>{this.getAll().forEach(j=>{this.remove(j)})})}get(j){return zt(this,Cn).get(j)}getAll(){return[...zt(this,Cn).values()]}find(j){const et={exact:!0,...j};return this.getAll().find(tt=>matchQuery(et,tt))}findAll(j={}){const et=this.getAll();return Object.keys(j).length>0?et.filter(tt=>matchQuery(j,tt)):et}notify(j){notifyManager.batch(()=>{this.listeners.forEach(et=>{et(j)})})}onFocus(){notifyManager.batch(()=>{this.getAll().forEach(j=>{j.onFocus()})})}onOnline(){notifyManager.batch(()=>{this.getAll().forEach(j=>{j.onOnline()})})}},Cn=new WeakMap,Qs),$n,hn,ss,Nn,Vn,na,Mutation=(na=class extends Removable{constructor(j){super();_r(this,Nn);_r(this,$n);_r(this,hn);_r(this,ss);this.mutationId=j.mutationId,mr(this,hn,j.mutationCache),mr(this,$n,[]),this.state=j.state||getDefaultState(),this.setOptions(j.options),this.scheduleGc()}setOptions(j){this.options=j,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(j){zt(this,$n).includes(j)||(zt(this,$n).push(j),this.clearGcTimeout(),zt(this,hn).notify({type:"observerAdded",mutation:this,observer:j}))}removeObserver(j){mr(this,$n,zt(this,$n).filter(et=>et!==j)),this.scheduleGc(),zt(this,hn).notify({type:"observerRemoved",mutation:this,observer:j})}optionalRemove(){zt(this,$n).length||(this.state.status==="pending"?this.scheduleGc():zt(this,hn).remove(this))}continue(){var j;return((j=zt(this,ss))==null?void 0:j.continue())??this.execute(this.state.variables)}async execute(j){var nt,it,st,at,ot,lt,ct,ut,dt,ht,pt,gt,ft,mt,xt,yt,vt,bt,Et,_t;const et=()=>{Nr(this,Nn,Vn).call(this,{type:"continue"})};mr(this,ss,createRetryer({fn:()=>this.options.mutationFn?this.options.mutationFn(j):Promise.reject(new Error("No mutationFn found")),onFail:(wt,Rt)=>{Nr(this,Nn,Vn).call(this,{type:"failed",failureCount:wt,error:Rt})},onPause:()=>{Nr(this,Nn,Vn).call(this,{type:"pause"})},onContinue:et,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>zt(this,hn).canRun(this)}));const tt=this.state.status==="pending",rt=!zt(this,ss).canStart();try{if(tt)et();else{Nr(this,Nn,Vn).call(this,{type:"pending",variables:j,isPaused:rt}),await((it=(nt=zt(this,hn).config).onMutate)==null?void 0:it.call(nt,j,this));const Rt=await((at=(st=this.options).onMutate)==null?void 0:at.call(st,j));Rt!==this.state.context&&Nr(this,Nn,Vn).call(this,{type:"pending",context:Rt,variables:j,isPaused:rt})}const wt=await zt(this,ss).start();return await((lt=(ot=zt(this,hn).config).onSuccess)==null?void 0:lt.call(ot,wt,j,this.state.context,this)),await((ut=(ct=this.options).onSuccess)==null?void 0:ut.call(ct,wt,j,this.state.context)),await((ht=(dt=zt(this,hn).config).onSettled)==null?void 0:ht.call(dt,wt,null,this.state.variables,this.state.context,this)),await((gt=(pt=this.options).onSettled)==null?void 0:gt.call(pt,
550wt,null,j,this.state.context)),Nr(this,Nn,Vn).call(this,{type:"success",data:wt}),wt}catch(wt){try{throw await((mt=(ft=zt(this,hn).config).onError)==null?void 0:mt.call(ft,wt,j,this.state.context,this)),await((yt=(xt=this.options).onError)==null?void 0:yt.call(xt,wt,j,this.state.context)),await((bt=(vt=zt(this,hn).config).onSettled)==null?void 0:bt.call(vt,void 0,wt,this.state.variables,this.state.context,this)),await((_t=(Et=this.options).onSettled)==null?void 0:_t.call(Et,void 0,wt,j,this.state.context)),wt}finally{Nr(this,Nn,Vn).call(this,{type:"error",error:wt})}}finally{zt(this,hn).runNext(this)}}},$n=new WeakMap,hn=new WeakMap,ss=new WeakMap,Nn=new WeakSet,Vn=function(j){const et=tt=>{switch(j.type){case"failed":return{...tt,failureCount:j.failureCount,failureReason:j.error};case"pause":return{...tt,isPaused:!0};case"continue":return{...tt,isPaused:!1};case"pending":return{...tt,context:j.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:j.isPaused,status:"pending",variables:j.variables,submittedAt:Date.now()};case"success":return{...tt,data:j.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...tt,data:void 0,error:j.error,failureCount:tt.failureCount+1,failureReason:j.error,isPaused:!1,status:"error"}}};this.state=et(this.state),notifyManager.batch(()=>{zt(this,$n).forEach(tt=>{tt.onMutationUpdate(j)}),zt(this,hn).notify({mutation:this,type:"updated",action:j})})},na);function getDefaultState(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var In,Pn,Ss,xa,MutationCache=(xa=class extends Subscribable{constructor(j={}){super();_r(this,In);_r(this,Pn);_r(this,Ss);this.config=j,mr(this,In,new Set),mr(this,Pn,new Map),mr(this,Ss,0)}build(j,et,tt){const rt=new Mutation({mutationCache:this,mutationId:++Ts(this,Ss)._,options:j.defaultMutationOptions(et),state:tt});return this.add(rt),rt}add(j){zt(this,In).add(j);const et=scopeFor(j);if(typeof et=="string"){const tt=zt(this,Pn).get(et);tt?tt.push(j):zt(this,Pn).set(et,[j])}this.notify({type:"added",mutation:j})}remove(j){if(zt(this,In).delete(j)){const et=scopeFor(j);if(typeof et=="string"){const tt=zt(this,Pn).get(et);if(tt)if(tt.length>1){const rt=tt.indexOf(j);rt!==-1&&tt.splice(rt,1)}else tt[0]===j&&zt(this,Pn).delete(et)}}this.notify({type:"removed",mutation:j})}canRun(j){const et=scopeFor(j);if(typeof et=="string"){const tt=zt(this,Pn).get(et),rt=tt==null?void 0:tt.find(nt=>nt.state.status==="pending");return!rt||rt===j}else return!0}runNext(j){var tt;const et=scopeFor(j);if(typeof et=="string"){const rt=(tt=zt(this,Pn).get(et))==null?void 0:tt.find(nt=>
vendor: 18,811 bytes, line 550
550nt!==j&&nt.state.isPaused);return(rt==null?void 0:rt.continue())??Promise.resolve()}else return Promise.resolve()}clear(){notifyManager.batch(()=>{zt(this,In).forEach(j=>{this.notify({type:"removed",mutation:j})}),zt(this,In).clear(),zt(this,Pn).clear()})}getAll(){return Array.from(zt(this,In))}find(j){const et={exact:!0,...j};return this.getAll().find(tt=>matchMutation(et,tt))}findAll(j={}){return this.getAll().filter(et=>matchMutation(j,et))}notify(j){notifyManager.batch(()=>{this.listeners.forEach(et=>{et(j)})})}resumePausedMutations(){const j=this.getAll().filter(et=>et.state.isPaused);return notifyManager.batch(()=>Promise.all(j.map(et=>et.continue().catch(noop$8))))}},In=new WeakMap,Pn=new WeakMap,Ss=new WeakMap,xa);function scopeFor(_){var j;return(j=_.options.scope)==null?void 0:j.id}function infiniteQueryBehavior(_){return{onFetch:(j,et)=>{var lt,ct,ut,dt,ht;const tt=j.options,rt=(ut=(ct=(lt=j.fetchOptions)==null?void 0:lt.meta)==null?void 0:ct.fetchMore)==null?void 0:ut.direction,nt=((dt=j.state.data)==null?void 0:dt.pages)||[],it=((ht=j.state.data)==null?void 0:ht.pageParams)||[];let st={pages:[],pageParams:[]},at=0;const ot=async()=>{let pt=!1;const gt=xt=>{Object.defineProperty(xt,"signal",{enumerable:!0,get:()=>(j.signal.aborted?pt=!0:j.signal.addEventListener("abort",()=>{pt=!0}),j.signal)})},ft=ensureQueryFn(j.options,j.fetchOptions),mt=async(xt,yt,vt)=>{if(pt)return Promise.reject();if(yt==null&&xt.pages.length)return Promise.resolve(xt);const Et=(()=>{const Ct={client:j.client,queryKey:j.queryKey,pageParam:yt,direction:vt?"backward":"forward",meta:j.options.meta};return gt(Ct),Ct})(),_t=await ft(Et),{maxPages:wt}=j.options,Rt=vt?addToStart:addToEnd;return{pages:Rt(xt.pages,_t,wt),pageParams:Rt(xt.pageParams,yt,wt)}};if(rt&&nt.length){const xt=rt==="backward",yt=xt?getPreviousPageParam:getNextPageParam,vt={pages:nt,pageParams:it},bt=yt(tt,vt);st=await mt(vt,bt,xt)}else{const xt=_??nt.length;do{const yt=at===0?it[0]??tt.initialPageParam:getNextPageParam(tt,st);if(at>0&&yt==null)break;st=await mt(st,yt),at++}while(at<xt)}return st};j.options.persister?j.fetchFn=()=>{var pt,gt;return(gt=(pt=j.options).persister)==null?void 0:gt.call(pt,ot,{client:j.client,queryKey:j.queryKey,meta:j.options.meta,signal:j.signal},et)}:j.fetchFn=ot}}}function getNextPageParam(_,{pages:j,pageParams:et}){const tt=j.length-1;return j.length>0?_.getNextPageParam(j[tt],j,et[tt],et):void 0}function getPreviousPageParam(_,{pages:j,pageParams:et}){var tt;return j.length>0?(tt=_.getPreviousPageParam)==null?void 0:tt.call(_,j[0],j,et[0],et):void 0}var Qr,zn,Hn,fs,ms,Wn,xs,gs,ga,QueryClient=(ga=class{constructor(_={}){_r(this,Qr);_r(this,zn);_r(this,Hn);_r(this,fs);_r(this,ms);_r(this,Wn);_r(this,xs);_r(this,gs);mr(this,Qr,_.queryCache||new QueryCache),mr(this,zn,_.mutationCache||new MutationCache),mr(this,Hn,_.defaultOptions||{}),mr(this,fs,new Map),mr(this,ms,new Map),mr(this,Wn,0)}mount(){Ts(this,Wn)._++,zt(this,Wn)===1&&(mr(this,xs,focusManager.subscribe(async _=>{_&&(await this.resumePausedMutations(),zt(this,Qr).onFocus())})),mr(this,gs,onlineManager.subscribe(async _=>{_&&(await this.resumePausedMutations(),zt(this,Qr).onOnline())})))}unmount(){var _,j;Ts(this,Wn)._--,zt(this,Wn)===0&&((_=zt(this,xs))==null||_.call(this),mr(this,xs,void 0),(j=zt(this,gs))==null||j.call(this),mr(this,gs,void 0))}isFetching(_){return zt(this,Qr).findAll({..._,fetchStatus:"fetching"}).length}isMutating(_){return zt(this,zn).findAll({..._,status:"pending"}).length}getQueryData(_){var et;const j=this.defaultQueryOptions({queryKey:_});return(et=zt(this,Qr).get(j.queryHash))==null?void 0:et.state.data}ensureQueryData(_){const j=this.defaultQueryOptions(_),et=zt(this,Qr).build(this,j),tt=et.state.data;return tt===void 0?this.fetchQuery(_):(_.revalidateIfStale&&et.isStaleByTime(resolveStaleTime(j.staleTime,et))&&this.prefetchQuery(j),Promise.resolve(tt))}getQueriesData(_){return zt(this,Qr).findAll(_).map(({queryKey:j,state:et})=>{const tt=et.data;return[j,tt]})}setQueryData(_,j,et){const tt=this.defaultQueryOptions({queryKey:_}),rt=zt(this,Qr).get(tt.queryHash),nt=rt==null?void 0:rt.state.data,it=functionalUpdate(j,nt);if(it!==void 0)return zt(this,Qr).build(this,tt).setData(it,{...et,manual:!0})}setQueriesData(_,j,et){return notifyManager.batch(()=>zt(this,Qr).findAll(_).map(({queryKey:tt})=>[tt,this.setQueryData(tt,j,et)]))}getQueryState(_){var et;const j=this.defaultQueryOptions({queryKey:_});return(et=zt(this,Qr).get(j.queryHash))==null?void 0:et.state}removeQueries(_){const j=zt(this,Qr);notifyManager.batch(()=>{j.findAll(_).forEach(et=>{j.remove(et)})})}resetQueries(_,j){const et=zt(this,Qr);return notifyManager.batch(()=>(et.findAll(_).forEach(tt=>{tt.reset()}),this.refetchQueries({type:"active",..._},j)))}cancelQueries(_,j={}){const et={revert:!0,...j},tt=notifyManager.batch(()=>zt(this,Qr).findAll(_).map(rt=>rt.cancel(et)));return Promise.all(tt).then(noop$8).catch(noop$8)}invalidateQueries(_,j={}){return notifyManager.batch(()=>(zt(this,Qr).findAll(_).forEach(et=>{et.invalidate()}),(_==null?void 0:_.refetchType)==="none"?Promise.resolve():this.refetchQueries({..._,type:(_==null?void 0:_.refetchType)??(_==null?void 0:_.type)??"active"},j)))}refetchQueries(_,j={}){const et={...j,cancelRefetch:j.cancelRefetch??!0},tt=notifyManager.batch(()=>zt(this,Qr).findAll(_).filter(rt=>!rt.isDisabled()&&!rt.isStatic()).map(rt=>{let nt=rt.fetch(void 0,et);return et.throwOnError||(nt=nt.catch(noop$8)),rt.state.fetchStatus==="paused"?Promise.resolve():nt}));return Promise.all(tt).then(noop$8)}fetchQuery(_){const j=this.defaultQueryOptions(_);j.retry===void 0&&(j.retry=!1);const et=zt(this,Qr).build(this,j);return et.isStaleByTime(resolveStaleTime(j.staleTime,et))?et.fetch(j):Promise.resolve(et.state.data)}prefetchQuery(_){return this.fetchQuery(_).then(noop$8).catch(noop$8)}fetchInfiniteQuery(_){return _.behavior=infiniteQueryBehavior(_.pages),this.fetchQuery(_)}prefetchInfiniteQuery(_){return this.fetchInfiniteQuery(_).then(noop$8).catch(noop$8)}ensureInfiniteQueryData(_){return _.behavior=infiniteQueryBehavior(_.pages),this.ensureQueryData(_)}resumePausedMutations(){return onlineManager.isOnline()?zt(this,zn).resumePausedMutations():Promise.resolve()}getQueryCache(){return zt(this,Qr)}getMutationCache(){return zt(this,zn)}getDefaultOptions(){return zt(this,Hn)}setDefaultOptions(_){mr(this,Hn,_)}setQueryDefaults(_,j){zt(this,fs).set(hashKey(_),{queryKey:_,defaultOptions:j})}getQueryDefaults(_){const j=[...zt(this,fs).values()],et={};return j.forEach(tt=>{partialMatchKey(_,tt.queryKey)&&Object.assign(et,tt.defaultOptions)}),et}setMutationDefaults(_,j){zt(this,ms).set(hashKey(_),{mutationKey:_,defaultOptions:j})}getMutationDefaults(_){const j=[...zt(this,ms).values()],et={};return j.forEach(tt=>{partialMatchKey(_,tt.mutationKey)&&Object.assign(et,tt.defaultOptions)}),et}defaultQueryOptions(_){if(_._defaulted)return _;const j={...zt(this,Hn).queries,...this.getQueryDefaults(_.queryKey),..._,_defaulted:!0};return j.queryHash||(j.queryHash=hashQueryKeyByOptions(j.queryKey,j)),j.refetchOnReconnect===void 0&&(j.refetchOnReconnect=j.networkMode!=="always"),j.throwOnError===void 0&&(j.throwOnError=!!j.suspense),!j.networkMode&&j.persister&&(j.networkMode="offlineFirst"),j.queryFn===skipToken&&(j.enabled=!1),j}defaultMutationOptions(_){return _!=null&&_._defaulted?_:{...zt(this,Hn).mutations,...(_==null?void 0:_.mutationKey)&&this.getMutationDefaults(_.mutationKey),..._,_defaulted:!0}}clear(){zt(this,Qr).clear(),zt(this,zn).clear()}},Qr=new WeakMap,zn=new WeakMap,Hn=new WeakMap,fs=new WeakMap,ms=new WeakMap,Wn=new WeakMap,xs=new WeakMap,gs=new WeakMap,ga),xn,Fr,As,fn,as,ys,Kn,qn,js,vs,bs,os,ls,Yn,Es,zr,ks,Ns,Os,Ds,Is,Ms,Bs,Fs,$a,ba,QueryObserver=(ba=class extends Subscribable{constructor(j,et){super();_r(this,zr);_r(this,xn);_r(this,Fr);_r(this,As);_r(this,fn);_r(this,as);_r(this,ys);_r(this,Kn);_r(this,qn);_r(this,js);_r(this,vs);_r(this,bs);_r(this,os);_r(this,ls);_r(this,Yn);_r(this,Es,new Set);this.options=et,mr(this,xn,j),mr(this,qn,null),mr(this,Kn,pendingThenable()),this.options.experimental_prefetchInRender||zt(this,Kn).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(et)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(zt(this,Fr).addObserver(this),shouldFetchOnMount(zt(this,Fr),this.options)?Nr(this,zr,ks).call(this):this.updateResult(),Nr(this,zr,Is).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return shouldFetchOn(zt(this,Fr),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return shouldFetchOn(zt(this,Fr),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Nr(this,zr,Ms).call(this),Nr(this,zr,Bs).call(this),zt(this,Fr).removeObserver(this)}setOptions(j){const et=this.options,tt=zt(this,Fr);if(this.options=zt(this,xn).defaultQueryOptions(j),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof resolveEnabled(this.options.enabled,zt(this,Fr))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Nr(this,zr,Fs).call(this),zt(this,Fr).setOptions(this.options),et._defaulted&&!shallowEqualObjects(this.options,et)&&zt(this,xn).getQueryCache().notify({type:"observerOptionsUpdated",query:zt(this,Fr),observer:this});const rt=this.hasListeners();rt&&shouldFetchOptionally(zt(this,Fr),tt,this.options,et)&&Nr(this,zr,ks).call(this),this.updateResult(),rt&&(zt(this,Fr)!==tt||resolveEnabled(this.options.enabled,zt(this,Fr))!==resolveEnabled(et.enabled,zt(this,Fr))||resolveStaleTime(this.options.staleTime,zt(this,Fr))!==resolveStaleTime(et.staleTime,zt(this,Fr)))&&Nr(this,zr,Ns).call(this);const nt=Nr(this,zr,Os).call(this);rt&&(zt(this,Fr)!==tt||resolveEnabled(this.options.enabled,zt(this,Fr))!==resolveEnabled(et.enabled,zt(this,Fr))||nt!==zt(this,Yn))&&Nr(this,zr,Ds).call(this,nt)}getOptimisticResult(j){const et=zt(this,xn).getQueryCache().build(zt(this,xn),j),tt=this.createResult(et,j);return shouldAssignObserverCurrentProperties(this,tt)&&(mr(this,fn,tt),mr(this,ys,this.options),mr(this,as,zt(this,Fr).state)),tt}getCurrentResult(){return zt(this,fn)}trackResult(j,et){return new Proxy(j,{get:(tt,rt)=>(this.trackProp(rt),et==null||et(rt),Reflect.get(tt,rt))})}trackProp(j){zt(this,Es).add(j)}getCurrentQuery(){return zt(this,Fr)}refetch({...j}={}){return this.fetch({...j})}fetchOptimistic(j){const et=zt(this,xn).defaultQueryOptions(j),tt=zt(this,xn).getQueryCache().build(zt(this,xn),et);return tt.fetch().then(()=>this.createResult(tt,et))}fetch(j){return Nr(this,zr,ks).call(this,{...j,cancelRefetch:j.cancelRefetch??!0}).then(()=>(this.updateResult(),zt(this,fn)))}createResult(j,et){var wt;const tt=zt(this,Fr),rt=this.options,nt=zt(this,fn),it=zt(this,as),st=zt(this,ys),ot=j!==tt?j.state:zt(this,As),{state:lt}=j;let ct={...lt},ut=!1,dt;if(et._optimisticResults){const Rt=this.hasListeners(),Ct=!Rt&&shouldFetchOnMount(j,et),jt=Rt&&shouldFetchOptionally(j,tt,et,rt);(Ct||jt)&&(ct={...ct,...fetchState(lt.data,j.options)}),et._optimisticResults==="isRestoring"&&(ct.fetchStatus="idle")}let{error:ht,errorUpdatedAt:pt,status:gt}=ct;dt=ct.data;let ft=!1;if(et.placeholderData!==void 0&&dt===void 0&>==="pending"){let Rt;nt!=null&&nt.isPlaceholderData&&et.placeholderData===(st==null?void 0:st.placeholderData)?(Rt=nt.data,ft=!0):Rt=typeof et.placeholderData=="function"?et.placeholderData((wt=zt(this,bs))==null?void 0:wt.state.data,zt(this,bs)):et.placeholderData,Rt!==void 0&&(gt="success",dt=replaceData(nt==null?void 0:nt.data,Rt,et),ut=!0)}if(et.select&&dt!==void 0&&!ft)if(nt&&dt===(it==null?void 0:it.data)&&et.select===zt(this,js))dt=zt(this,vs);else try{mr(this,js,et.select),dt=et.select(dt),dt=replaceData(nt==null?void 0:nt.data,dt,et),mr(this,vs,dt),mr(this,qn,null)}catch(Rt){mr(this,qn,Rt)}zt(this,qn)&&(ht=zt(this,qn),dt=zt(this,vs),pt=Date.now(),gt="error");const mt=ct.fetchStatus==="fetching",xt=gt==="pending",yt=gt==="error",vt=xt&&mt,bt=dt!==void 0,_t={status:gt,fetchStatus:ct.fetchStatus,isPending:xt,isSuccess:gt==="success",isError:yt,isInitialLoading:vt,isLoading:vt,data:dt,dataUpdatedAt:ct.dataUpdatedAt,error:ht,errorUpdatedAt:pt,failureCount:ct.fetchFailureCount,failureReason:ct.fetchFailureReason,errorUpdateCount:ct.errorUpdateCount,isFetched:ct.dataUpdateCount>0||ct.errorUpdateCount>0,isFetchedAfterMount:ct.dataUpdateCount>ot.dataUpdateCount||ct.errorUpdateCount>ot.errorUpdateCount,isFetching:mt,isRefetching:mt&&!xt,isLoadingError:yt&&!bt,isPaused:ct.fetchStatus==="paused",isPlaceholderData:ut,isRefetchError:yt&&bt,isStale:isStale(j,et),refetch:this.refetch,promise:zt(this,Kn),isEnabled:resolveEnabled(et.enabled,j)!==!1};if(this.options.experimental_prefetchInRender){const Rt=Dt=>{_t.status==="error"?Dt.reject(_t.error):_t.data!==void 0&&Dt.resolve(_t.data)},Ct=()=>{const Dt=mr(this,Kn,_t.promise=pendingThenable());Rt(Dt)},jt=zt(this,Kn);switch(jt.status){case"pending":j.queryHash===tt.queryHash&&Rt(jt);break;case"fulfilled":(_t.status==="error"||_t.data!==jt.value)&&Ct();break;case"rejected":(_t.status!=="error"||_t.error!==jt.reason)&&Ct();break}}return _t}updateResult(){const j=zt(this,fn),et=this.createResult(zt(this,Fr),this.options);if(mr(this,as,zt(this,Fr).state),mr(this,ys,this.options),zt(this,as).data!==void 0&&mr(this,bs,zt(this,Fr)),shallowEqualObjects(et,j))return;mr(this,fn,et);const tt=()=>{if(!j)return!0;const{notifyOnChangeProps:rt}=this.options,nt=typeof rt=="function"?rt():rt;if(nt==="all"||!nt&&!zt(this,Es).size)return!0;const it=new Set(nt??zt(this,Es));return this.options.throwOnError&&it.add("error"),Object.keys(zt(this,fn)).some(st=>{const at=st;return zt(this,fn)[at]!==j[at]&&it.has(at)})};Nr(this,zr,$a).call(this,{listeners:tt()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Nr(this,zr,Is).call(this)}},xn=new WeakMap,Fr=new WeakMap,As=new WeakMap,fn=new WeakMap,as=new WeakMap,ys=new WeakMap,Kn=new WeakMap,qn=new WeakMap,js=new WeakMap,vs=new WeakMap,bs=new WeakMap,os=new WeakMap,ls=new WeakMap,Yn=new WeakMap,Es=new WeakMap,zr=new WeakSet,ks=function(j){Nr(this,zr,Fs).call(this);let et=zt(this,Fr).fetch(this.options,j);return j!=null&&j.throwOnError||(et=et.catch(noop$8)),et},Ns=function(){Nr(this,zr,Ms).call(this);const j=resolveStaleTime(this.options.staleTime,zt(this,Fr));if(isServer||zt(this,fn).isStale||!isValidTimeout(j))return;const tt=timeUntilStale(zt(this,fn).dataUpdatedAt,j)+1;mr(this,os,setTimeout(()=>{zt(this,fn).isStale||this.updateResult()},tt))},Os=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(zt(this,Fr)):this.options.refetchInterval)??!1},Ds=function(j){Nr(this,zr,Bs).call(this),mr(this,Yn,j),!(isServer||resolveEnabled(this.options.enabled,zt(this,Fr))===!1||!isValidTimeout(zt(this,Yn))||zt(this,Yn)===0)&&mr(this,ls,setInterval(()=>{(this.options.refetchIntervalInBackground||focusManager.isFocused())&&Nr(this,zr,ks).call(this)},zt(this,Yn)))},Is=function(){Nr(this,zr,Ns).call(this),Nr(this,zr,Ds).call(this,Nr(this,zr,Os).call(this))},Ms=function(){zt(this,os)&&(clearTimeout(zt(this,os)),mr(this,os,void 0))},Bs=function(){zt(this,ls)&&(clearInterval(zt(this,ls)),mr(this,ls,void 0))},Fs=function(){const j=zt(this,xn).getQueryCache().build(zt(this,xn),this.options);if(j===zt(this,Fr))return;const et=zt(this,Fr);mr(this,Fr,j),mr(this,As,j.state),this.hasListeners()&&(et==null||et.removeObserver(this),j.addObserver(this))},$a=function(j){notifyManager.batch(()=>{j.listeners&&this.listeners.forEach(et=>{et(zt(this,fn))}),zt(this,xn).getQueryCache().notify({query:zt(this,Fr),type:"observerResultsUpdated"})})},ba);function shouldLoadOnMount(_,j){return resolveEnabled(j.enabled,_)!==!1&&_.state.data===void 0&&!(_.state.status==="error"&&j.retryOnMount===!1)}function shouldFetchOnMount(_,j){return shouldLoadOnMount(_,j)||_.state.data!==void 0&&shouldFetchOn(_,j,j.refetchOnMount)}function shouldFetchOn(_,j,et){if(resolveEnabled(j.enabled,_)!==!1&&resolveStaleTime(j.staleTime,_)!=="static"){const tt=typeof et=="function"?et(_):et;return tt==="always"||tt!==!1&&isStale(_,j)}return!1}function shouldFetchOptionally(_,j,et,tt){return(_!==j||resolveEnabled(tt.enabled,_)===!1)&&(!et.suspense||_.state.status!=="error")&&isStale(_,et)}function isStale(_,j){return resolveEnabled(j.enabled,_)!==!1&&_.isStaleByTime(resolveStaleTime(j.staleTime,_))}function shouldAssignObserverCurrentProperties(_,j){return!shallowEqualObjects(_.getCurrentResult(),j)}var Zn,Xn,gn,Mn,Bn,Rs,Ls,_a,MutationObserver$1=(_a=class extends Subscribable{constructor(et,tt){super();_r(this,Bn);_r(this,Zn);_r(this,Xn);_r(this,gn);_r(this,Mn);mr(this,Zn,et),this.setOptions(tt),this.bindMethods(),Nr(this,Bn,Rs).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(et){var rt;const tt=this.options;this.options=zt(this,Zn).defaultMutationOptions(et),shallowEqualObjects(this.options,tt)||zt(this,Zn).getMutationCache().notify({type:"observerOptionsUpdated",mutation:zt(this,gn),observer:this}),tt!=null&&tt.mutationKey&&this.options.mutationKey&&hashKey(tt.mutationKey)!==hashKey(this.options.mutationKey)?this.reset():((rt=zt(this,gn))==null?void 0:rt.state.status)==="pending"&&zt(this,gn).setOptions(this.options)}onUnsubscribe(){var et;this.hasListeners()||(et=zt(this,gn))==null||et.removeObserver(this)}onMutationUpdate(et){Nr(this,Bn,Rs).call(this),Nr(this,Bn,Ls).call(this,et)}getCurrentResult(){return zt(this,Xn)}reset(){var et;(et=zt(this,gn))==null||et.removeObserver(this),mr(this,gn,void 0),Nr(this,Bn,Rs).call(this),Nr(this,Bn,Ls).call(this)}mutate(et,tt){var rt;return mr(this,Mn,tt),(rt=zt(this,gn))==null||rt.removeObserver(this),mr(this,gn,zt(this,Zn).getMutationCache().build(zt(this,Zn),this.options)),zt(this,gn).addObserver(this),zt(this,gn).execute(et)}},Zn=new WeakMap,Xn=new WeakMap,gn=new WeakMap,Mn=new WeakMap,Bn=new WeakSet,Rs=function(){var tt;const et=((tt=zt(this,gn))==null?void 0:tt.state)??getDefaultState();mr(this,Xn,{...et,isPending:et.status==="pending",isSuccess:et.status==="success",isError:et.status==="error",isIdle:et.status==="idle",mutate:this.mutate,reset:this.reset})},Ls=function(et){notifyManager.batch(()=>{var tt,rt,nt,it,st,at,ot,lt;if(zt(this,Mn)&&this.hasListeners()){const ct=zt(this,Xn).variables,ut=zt(this,Xn).context;(et==null?void 0:et.type)==="success"?((rt=(tt=zt(this,Mn)).onSuccess)==null||rt.call(tt,et.data,ct,ut),(it=(nt=zt(this,Mn)).onSettled)==null||it.call(nt,et.data,null,ct,ut)):(et==null?void 0:et.type)==="error"&&((at=(st=zt(this,Mn)).onError)==null||at.call(st,et.error,ct,ut),(lt=(ot=zt(this,Mn)).onSettled)==null||lt.call(ot,void 0,et.error,ct,ut))}
550this.listeners.forEach(ct=>{ct(zt(this,Xn))})})},_a),QueryClientContext=reactExports.createContext(void 0),useQueryClient=_=>{const j=reactExports.useContext(QueryClientContext);if(!j)throw new Error("No QueryClient set, use QueryClientProvider to set one");return j},QueryClientProvider=({client:_,children:j})=>(reactExports.useEffect(()=>(_.mount(),()=>{_.unmount()}),[_]),jsxRuntimeExports.jsx(QueryClientContext.Provider,{value:_,children:j})),IsRestoringContext=reactExports.createContext(!1),useIsRestoring=()=>reactExports.useContext(IsRestoringContext);IsRestoringContext.Provider;function createValue(){let _=!1;return{clearReset:()=>{_=!1},reset:()=>{_=!0},isReset:()=>_}}var QueryErrorResetBoundaryContext=reactExports.createContext(createValue()),useQueryErrorResetBoundary=()=>reactExports.useContext(QueryErrorResetBoundaryContext),ensurePreventErrorBoundaryRetry=(_,j)=>{(_.suspense||_.throwOnError||_.experimental_prefetchInRender)&&(j.isReset()||(_.retryOnMount=!1))},useClearResetErrorBoundary=_=>{reactExports.useEffect(()=>{_.clearReset()},[_])},getHasError=({result:_,errorResetBoundary:j,throwOnError:et,query:tt,suspense:rt})=>_.isError&&!j.isReset()&&!_.isFetching&&tt&&(rt&&_.data===void 0||shouldThrowError(et,[_.error,tt])),ensureSuspenseTimers=_=>{if(_.suspense){const j=tt=>tt==="static"?tt:Math.max(tt??1e3,1e3),et=_.staleTime;_.staleTime=typeof et=="function"?(...tt)=>j(et(...tt)):j(et),typeof _.gcTime=="number"&&(_.gcTime=Math.max(_.gcTime,1e3))}},willFetch=(_,j)=>_.isLoading&&_.isFetching&&!j,shouldSuspend=(_,j)=>(_==null?void 0:_.suspense)&&j.isPending,fetchOptimistic=(_,j,et)=>j.fetchOptimistic(_).catch(()=>{et.clearReset()});function useBaseQuery(_,j,et){var ct,ut,dt,ht,pt;const tt=useIsRestoring(),rt=useQueryErrorResetBoundary(),nt=useQueryClient(),it=nt.defaultQueryOptions(_);(ut=(ct=nt.getDefaultOptions().queries)==null?void 0:ct._experimental_beforeQuery)==null||ut.call(ct,it),it._optimisticResults=tt?"isRestoring":"optimistic",ensureSuspenseTimers(it),ensurePreventErrorBoundaryRetry(it,rt),useClearResetErrorBoundary(rt);const st=!nt.getQueryCache().get(it.queryHash),[at]=reactExports.useState(()=>new j(nt,it)),ot=at.getOptimisticResult(it),lt=!tt&&_.subscribed!==!1;if(reactExports.useSyncExternalStore(reactExports.useCallback(gt=>{const ft=lt?at.subscribe(notifyManager.batchCalls(gt)):noop$8;return at.updateResult(),ft},[at,lt]),()=>at.getCurrentResult(),()=>at.getCurrentResult()),reactExports.useEffect(()=>{at.setOptions(it)},[it,at]),shouldSuspend(it,ot))throw fetchOptimistic(it,at,rt);if(getHasError({result:ot,errorResetBoundary:rt,throwOnError:it.throwOnError,query:nt.getQueryCache().get(it.queryHash),suspense:it.suspense}))throw ot.error;if((ht=(dt=nt.getDefaultOptions().queries)==null?void 0:dt._experimental_afterQuery)==null||ht.call(dt,it,ot),it.experimental_prefetchInRender&&!isServer&&willFetch(ot,tt)){const gt=st?fetchOptimistic(it,at,rt):(pt=nt.getQueryCache().get(it.queryHash))==null?void 0:pt.promise;gt==null||gt.catch(noop$8).finally(()=>{at.updateResult()})}return it.notifyOnChangeProps?ot:at.trackResult(ot)}function useQuery(_,j){return useBaseQuery(_,QueryObserver)}function useMutation(_,j){const et=useQueryClient(),[tt]=reactExports.useState(()=>new MutationObserver$1(et,_));reactExports.useEffect(()=>{tt.setOptions(_)},[tt,_]);const rt=reactExports.useSyncExternalStore(reactExports.useCallback(it=>tt.subscribe(notifyManager.batchCalls(it)),[tt]),()=>tt.getCurrentResult(),()=>tt.getCurrentResult()),nt=reactExports.useCallback((it,st)=>{tt.mutate(it,st).catch(noop$8)},[tt]);if(rt.error&&shouldThrowError(tt.options.throwOnError,[rt.error]))throw rt.error;return{...rt,mutate:nt,mutateAsync:rt.mutate}}/** 551 * @remix-run/router v1.23.0 552 * 553 * Copyright (c) Remix Software Inc. 554 * 555 * This source code is licensed under the MIT license found in the 556 * LICENSE.md file in the root directory of this source tree. 557 * 558 * @license MIT 559 */function _extends$x(){return _extends$x=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$x.apply(this,arguments)}var Action$1;(function(_){_.Pop="POP",_.Push="PUSH",_.Replace="REPLACE"})(Action$1||(Action$1={}));const PopStateEventType="popstate";function createBrowserHistory(_){_===void 0&&(_={});function j(tt,rt){let{pathname:nt,search:it,hash:st}=tt.location;return createLocation("",{pathname:nt,search:it,hash:st},rt.state&&rt.state.usr||null,rt.state&&rt.state.key||"default")}function et(tt,rt){return typeof rt=="string"?rt:createPath(rt)}return getUrlBasedHistory(j,et,null,_)}function invariant$2(_,j){if(_===!1||_===null||typeof _>"u")throw new Error(j)}function warning$1(_,j){if(!_){typeof console<"u"&&console.warn(j);try{throw new Error(j)}catch{}}}function createKey(){return Math.random().toString(36).substr(2,8)}function getHistoryState(_,j){return{usr:_.state,key:_.key,idx:j}}function createLocation(_,j,et,tt){return et===void 0&&(et=null),_extends$x({pathname:typeof _=="string"?_:_.pathname,search:"",hash:""},typeof j=="string"?parsePath(j):j,{state:et,key:j&&j.key||tt||createKey()})}function createPath(_){let{pathname:j="/",search:et="",hash:tt=""}=_;return et&&et!=="?"&&(j+=et.charAt(0)==="?"?et:"?"+et),tt&&tt!=="#"&&(j+=tt.charAt(0)==="#"?tt:"#"+tt),j}function parsePath(_){let j={};if(_){let et=_.indexOf("#");et>=0&&(j.hash=_.substr(et),_=_.substr(0,et));let tt=_.indexOf("?");tt>=0&&(j.search=_.substr(tt),_=_.substr(0,tt)),_&&(j.pathname=_)}return j}function getUrlBasedHistory(_,j,et,tt){tt===void 0&&(tt={});let{window:rt=document.defaultView,v5Compat:nt=!1}=tt,it=rt.history,st=Action$1.Pop,at=null,ot=lt();ot==null&&(ot=0,it.replaceState(_extends$x({},it.state,{idx:ot}),""));function lt(){return(it.state||{idx:null}).idx}function ct(){st=Action$1.Pop;let gt=lt(),ft=gt==null?null:gt-ot;ot=gt,at&&at({action:st,location:pt.location,delta:ft})}function ut(gt,ft){st=Action$1.Push;let mt=createLocation(pt.location,gt,ft);ot=lt()+1;let xt=getHistoryState(mt,ot),yt=pt.createHref(mt);try{it.pushState(xt,"",yt)}catch(vt){if(vt instanceof DOMException&&vt.name==="DataCloneError")throw vt;rt.location.assign(yt)}nt&&at&&at({action:st,location:pt.location,delta:1})}function dt(gt,ft){st=Action$1.Replace;let mt=createLocation(pt.location,gt,ft);ot=lt();let xt=getHistoryState(mt,ot),yt=pt.createHref(mt);it.replaceState(xt,"",yt),nt&&at&&at({action:st,location:pt.location,delta:0})}function ht(gt){let ft=rt.location.origin!=="null"?rt.location.origin:rt.location.href,mt=typeof gt=="string"?gt:createPath(gt);return mt=mt.replace(/ $/,"%20"),invariant$2(ft,"No window.location.(origin|href) available to create URL for href: "+mt),new URL(mt,ft)}let pt={get action(){return st},get location(){return _(rt,it)},listen(gt){if(at)throw new Error("A history only accepts one active listener");return rt.addEventListener(PopStateEventType,ct),at=gt,()=>{rt.removeEventListener(PopStateEventType,ct),at=null}},createHref(gt){return j(rt,gt)},createURL:ht,encodeLocation(gt){let ft=ht(gt);return{pathname:ft.pathname,search:ft.search,hash:ft.hash}},push:ut,replace:dt,go(gt){return it.go(gt)}};return pt}var ResultType;(function(_){_.data="data",_.deferred="deferred",_.redirect="redirect",_.error="error"})(ResultType||(ResultType={}));function matchRoutes(_,j,et){return et===void 0&&(et="/"),matchRoutesImpl(_,j,et,!1)}function matchRoutesImpl(_,j,et,tt){let rt=typeof j=="string"?parsePath(j):j,nt=stripBasename(rt.pathname||"/",et);if(nt==null)return null;let it=flattenRoutes(_);rankRouteBranches(it);let st=null;for(let at=0;st==null&&at<it.length;++at){let ot=decodePath(nt);st=matchRouteBranch(it[at],ot,tt)}return st}function flattenRoutes(_,j,et,tt){j===void 0&&(j=[]),et===void 0&&(et=[]),tt===void 0&&(tt="");let rt=(nt,it,st)=>{let at={relativePath:st===void 0?nt.path||"":st,caseSensitive:nt.caseSensitive===!0,childrenIndex:it,route:nt};at.relativePath.startsWith("/")&&(invariant$2(at.relativePath.startsWith(tt),'Absolute route path "'+at.relativePath+'" nested under path '+('"'+tt+'" is not val
559id. An absolute child route path ')+"must start with the combined path of all its parent routes."),at.relativePath=at.relativePath.slice(tt.length));let ot=joinPaths([tt,at.relativePath]),lt=et.concat(at);nt.children&&nt.children.length>0&&(invariant$2(nt.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+ot+'".')),flattenRoutes(nt.children,j,lt,ot)),!(nt.path==null&&!nt.index)&&j.push({path:ot,score:computeScore(ot,nt.index),routesMeta:lt})};return _.forEach((nt,it)=>{var st;if(nt.path===""||!((st=nt.path)!=null&&st.includes("?")))rt(nt,it);else for(let at of explodeOptionalSegments(nt.path))rt(nt,it,at)}),j}function explodeOptionalSegments(_){let j=_.split("/");if(j.length===0)return[];let[et,...tt]=j,rt=et.endsWith("?"),nt=et.replace(/\?$/,"");if(tt.length===0)return rt?[nt,""]:[nt];let it=explodeOptionalSegments(tt.join("/")),st=[];return st.push(...it.map(at=>at===""?nt:[nt,at].join("/"))),rt&&st.push(...it),st.map(at=>_.startsWith("/")&&at===""?"/":at)}function rankRouteBranches(_){_.sort((j,et)=>j.score!==et.score?et.score-j.score:compareIndexes(j.routesMeta.map(tt=>tt.childrenIndex),et.routesMeta.map(tt=>tt.childrenIndex)))}const paramRe=/^:[\w-]+$/,dynamicSegmentValue=3,indexRouteValue=2,emptySegmentValue=1,staticSegmentValue=10,splatPenalty=-2,isSplat=_=>_==="*";function computeScore(_,j){let et=_.split("/"),tt=et.length;return et.some(isSplat)&&(tt+=splatPenalty),j&&(tt+=indexRouteValue),et.filter(rt=>!isSplat(rt)).reduce((rt,nt)=>rt+(paramRe.test(nt)?dynamicSegmentValue:nt===""?emptySegmentValue:staticSegmentValue),tt)}function compareIndexes(_,j){return _.length===j.length&&_.slice(0,-1).every((tt,rt)=>tt===j[rt])?_[_.length-1]-j[j.length-1]:0}function matchRouteBranch(_,j,et){let{routesMeta:tt}=_,rt={},nt="/",it=[];for(let st=0;st<tt.length;++st){let at=tt[st],ot=st===tt.length-1,lt=nt==="/"?j:j.slice(nt.length)||"/",ct=matchPath({path:at.relativePath,caseSensitive:at.caseSensitive,end:ot},lt),ut=at.route;if(!ct&&ot&&et&&!tt[tt.length-1].route.index&&(ct=matchPath({path:at.relativePath,caseSensitive:at.caseSensitive,end:!1},lt)),!ct)return null;
vendor: 13,485 bytes, lines 559-568
559Object.assign(rt,ct.params),it.push({params:rt,pathname:joinPaths([nt,ct.pathname]),pathnameBase:normalizePathname(joinPaths([nt,ct.pathnameBase])),route:ut}),ct.pathnameBase!=="/"&&(nt=joinPaths([nt,ct.pathnameBase]))}return it}function matchPath(_,j){typeof _=="string"&&(_={path:_,caseSensitive:!1,end:!0});let[et,tt]=compilePath(_.path,_.caseSensitive,_.end),rt=j.match(et);if(!rt)return null;let nt=rt[0],it=nt.replace(/(.)\/+$/,"$1"),st=rt.slice(1);return{params:tt.reduce((ot,lt,ct)=>{let{paramName:ut,isOptional:dt}=lt;if(ut==="*"){let pt=st[ct]||"";it=nt.slice(0,nt.length-pt.length).replace(/(.)\/+$/,"$1")}const ht=st[ct];return dt&&!ht?ot[ut]=void 0:ot[ut]=(ht||"").replace(/%2F/g,"/"),ot},{}),pathname:nt,pathnameBase:it,pattern:_}}function compilePath(_,j,et){j===void 0&&(j=!1),et===void 0&&(et=!0),warning$1(_==="*"||!_.endsWith("*")||_.endsWith("/*"),'Route path "'+_+'" will be treated as if it were '+('"'+_.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+_.replace(/\*$/,"/*")+'".'));let tt=[],rt="^"+_.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(it,st,at)=>(tt.push({paramName:st,isOptional:at!=null}),at?"/?([^\\/]+)?":"/([^\\/]+)"));return _.endsWith("*")?(tt.push({paramName:"*"}),rt+=_==="*"||_==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):et?rt+="\\/*$":_!==""&&_!=="/"&&(rt+="(?:(?=\\/|$))"),[new RegExp(rt,j?void 0:"i"),tt]}function decodePath(_){try{return _.split("/").map(j=>decodeURIComponent(j).replace(/\//g,"%2F")).join("/")}catch(j){return warning$1(!1,'The URL path "'+_+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+j+").")),_}}function stripBasename(_,j){if(j==="/")return _;if(!_.toLowerCase().startsWith(j.toLowerCase()))return null;let et=j.endsWith("/")?j.length-1:j.length,tt=_.charAt(et);return tt&&tt!=="/"?null:_.slice(et)||"/"}function resolvePath(_,j){j===void 0&&(j="/");let{pathname:et,search:tt="",hash:rt=""}=typeof _=="string"?parsePath(_):_;return{pathname:et?et.startsWith("/")?et:resolvePathname(et,j):j,search:normalizeSearch(tt),hash:normalizeHash(rt)}}function resolvePathname(_,j){let et=j.replace(/\/+$/,"").split("/");return _.split("/").forEach(rt=>{rt===".."?et.length>1&&et.pop():rt!=="."&&et.push(rt)}),et.length>1?et.join("/"):"/"}function getInvalidPathError(_,j,et,tt){return"Cannot include a '"+_+"' character in a manually specified "+("`to."+j+"` field ["+JSON.stringify(tt)+"]. Please separate it out to the ")+("`to."+et+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function getPathContributingMatches(_){return _.filter((j,et)=>et===0||j.route.path&&j.route.path.length>0)}function getResolveToMatches(_,j){let et=getPathContributingMatches(_);return j?et.map((tt,rt)=>rt===et.length-1?tt.pathname:tt.pathnameBase):et.map(tt=>tt.pathnameBase)}function resolveTo(_,j,et,tt){tt===void 0&&(tt=!1);let rt;typeof _=="string"?rt=parsePath(_):(rt=_extends$x({},_),invariant$2(!rt.pathname||!rt.pathname.includes("?"),getInvalidPathError("?","pathname","search",rt)),invariant$2(!rt.pathname||!rt.pathname.includes("#"),getInvalidPathError("#","pathname","hash",rt)),invariant$2(!rt.search||!rt.search.includes("#"),getInvalidPathError("#","search","hash",rt)));let nt=_===""||rt.pathname==="",it=nt?"/":rt.pathname,st;if(it==null)st=et;else{let ct=j.length-1;if(!tt&&it.startsWith("..")){let ut=it.split("/");for(;ut[0]==="..";)ut.shift(),ct-=1;rt.pathname=ut.join("/")}st=ct>=0?j[ct]:"/"}let at=resolvePath(rt,st),ot=it&&it!=="/"&&it.endsWith("/"),lt=(nt||it===".")&&et.endsWith("/");return!at.pathname.endsWith("/")&&(ot||lt)&&(at.pathname+="/"),at}const joinPaths=_=>_.join("/").replace(/\/\/+/g,"/"),normalizePathname=_=>_.replace(/\/+$/,"").replace(/^\/*/,"/"),normalizeSearch=_=>!_||_==="?"?"":_.startsWith("?")?_:"?"+_,normalizeHash=_=>!_||_==="#"?"":_.startsWith("#")?_:"#"+_;function isRouteErrorResponse(_){return _!=null&&typeof _.status=="number"&&typeof _.statusText=="string"&&typeof _.internal=="boolean"&&"data"in _}const validMutationMethodsArr=["post","put","patch","delete"];new Set(validMutationMethodsArr);const validRequestMethodsArr=["get",...validMutationMethodsArr];new Set(validRequestMethodsArr);/** 560 * React Router v6.30.1 561 * 562 * Copyright (c) Remix Software Inc. 563 * 564 * This source code is licensed under the MIT license found in the 565 * LICENSE.md file in the root directory of this source tree. 566 * 567 * @license MIT 568 */function _extends$w(){return _extends$w=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$w.apply(this,arguments)}const DataRouterContext=reactExports.createContext(null),DataRouterStateContext=reactExports.createContext(null),NavigationContext=reactExports.createContext(null),LocationContext=reactExports.createContext(null),RouteContext=reactExports.createContext({outlet:null,matches:[],isDataRoute:!1}),RouteErrorContext=reactExports.createContext(null);function useHref(_,j){let{relative:et}=j===void 0?{}:j;useInRouterContext()||invariant$2(!1);let{basename:tt,navigator:rt}=reactExports.useContext(NavigationContext),{hash:nt,pathname:it,search:st}=useResolvedPath(_,{relative:et}),at=it;return tt!=="/"&&(at=it==="/"?tt:joinPaths([tt,it])),rt.createHref({pathname:at,search:st,hash:nt})}function useInRouterContext(){return reactExports.useContext(LocationContext)!=null}function useLocation(){return useInRouterContext()||invariant$2(!1),reactExports.useContext(LocationContext).location}function useIsomorphicLayoutEffect$3(_){reactExports.useContext(NavigationContext).static||reactExports.useLayoutEffect(_)}function useNavigate(){let{isDataRoute:_}=reactExports.useContext(RouteContext);return _?useNavigateStable():useNavigateUnstable()}function useNavigateUnstable(){useInRouterContext()||invariant$2(!1);let _=reactExports.useContext(DataRouterContext),{basename:j,future:et,navigator:tt}=reactExports.useContext(NavigationContext),{matches:rt}=reactExports.useContext(RouteContext),{pathname:nt}=useLocation(),it=JSON.stringify(getResolveToMatches(rt,et.v7_relativeSplatPath)),st=reactExports.useRef(!1);return useIsomorphicLayoutEffect$3(()=>{st.current=!0}),reactExports.useCallback(function(ot,lt){if(lt===void 0&&(lt={}),!st.current)return;if(typeof ot=="number"){tt.go(ot);return}let ct=resolveTo(ot,JSON.parse(it),nt,lt.relative==="path");_==null&&j!=="/"&&(ct.pathname=ct.pathname==="/"?j:joinPaths([j,ct.pathname])),(lt.replace?tt.replace:tt.push)(ct,lt.state,lt)},[j,tt,it,nt,_])}function useResolvedPath(_,j){let{relative:et}=j===void 0?{}:j,{future:tt}=reactExports.useContext(NavigationContext),{matches:rt}=reactExports.useContext(RouteContext),{pathname:nt}=useLocation(),it=JSON.stringify(getResolveToMatches(rt,tt.v7_relativeSplatPath));return reactExports.useMemo(()=>resolveTo(_,JSON.parse(it),nt,et==="path"),[_,it,nt,et])}function useRoutes(_,j){return useRoutesImpl(_,j)}function useRoutesImpl(_,j,et,tt){useInRouterContext()||invariant$2(!1);let{navigator:rt}=reactExports.useContext(NavigationContext),{matches:nt}=reactExports.useContext(RouteContext),it=nt[nt.length-1],st=it?it.params:{};it&&it.pathname;let at=it?it.pathnameBase:"/";it&&it.route;let ot=useLocation(),lt;if(j){var ct;let gt=typeof j=="string"?parsePath(j):j;at==="/"||(ct=gt.pathname)!=null&&ct.startsWith(at)||invariant$2(!1),lt=gt}else lt=ot;let ut=lt.pathname||"/",dt=ut;if(at!=="/"){let gt=at.replace(/^\//,"").split("/");dt="/"+ut.replace(/^\//,"").split("/").slice(gt.length).join("/")}let ht=matchRoutes(_,{pathname:dt}),pt=_renderMatches(ht&&ht.map(gt=>Object.assign({},gt,{params:Object.assign({},st,gt.params),pathname:joinPaths([at,rt.encodeLocation?rt.encodeLocation(gt.pathname).pathname:gt.pathname]),pathnameBase:gt.pathnameBase==="/"?at:joinPaths([at,rt.encodeLocation?rt.encodeLocation(gt.pathnameBase).pathname:gt.pathnameBase])})),nt,et,tt);return j&&pt?reactExports.createElement(LocationContext.Provider,{value:{location:_extends$w({pathname:"/",search:"",hash:"",state:null,key:"default"},lt),navigationType:Action$1.Pop}},pt):pt}function DefaultErrorComponent(){let _=useRouteError(),j=isRouteErrorResponse(_)?_.status+" "+_.statusText:_ instanceof Error?_.message:JSON.stringify(_),et=_ instanceof Error?_.stack:null,rt={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return reactExports.createElement(reactExports.Fragment,null,reactExports.createElement("h2",null,"Unexpected Application Error!"),reactExports.createElement("h3",{style:{fontStyle:"italic"}},j),et?reactExports.createElement("pre",{style:rt},et):null,null)}const defaultErrorElement=reactExports.createElement(DefaultErrorComponent,null);class RenderErrorBoundary extends reactExports.Component{constructor(j){super(j),this.state={location:j.location,revalidation:j.revalidation,error:j.error}}static getDerivedStateFromError(j){return{error:j}}static getDerivedStateFromProps(j,et){return et.location!==j.location||et.revalidation!=="idle"&&j.revalidation==="idle"?{error:j.error,location:j.location,revalidation:j.revalidation}:{error:j.error!==void 0?j.error:et.error,location:et.location,revalidation:j.revalidation||et.revalidation}}componentDidCatch(j,et){console.error("React Router caught the following error during render",j,et)}render(){return this.state.error!==void 0?reactExports.createElement(RouteContext.Provider,{value:this.props.routeContext},reactExports.createElement(RouteErrorContext.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function RenderedRoute(_){let{routeContext:j,match:et,children:tt}=_,rt=reactExports.useContext(DataRouterContext);return rt&&rt.static&&rt.staticContext&&(et.route.errorElement||et.route.ErrorBoundary)&&(rt.staticContext._deepestRenderedBoundaryId=et.route.id),reactExports.createElement(RouteContext.Provider,{value:j},tt)}function _renderMatches(_,j,et,tt){var rt;if(j===void 0&&(j=[]),et===void 0&&(et=null),tt===void 0&&(tt=null),_==null){var nt;if(!et)return null;if(et.errors)_=et.matches;else if((nt=tt)!=null&&nt.v7_partialHydration&&j.length===0&&!et.initialized&&et.matches.length>0)_=et.matches;else return null}let it=_,st=(rt=et)==null?void 0:rt.errors;if(st!=null){let lt=it.findIndex(ct=>ct.route.id&&(st==null?void 0:st[ct.route.id])!==void 0);lt>=0||invariant$2(!1),it=it.slice(0,Math.min(it.length,lt+1))}let at=!1,ot=-1;if(et&&tt&&tt.v7_partialHydration)for(let lt=0;lt<it.length;lt++){let ct=it[lt];if((ct.route.HydrateFallback||ct.route.hydrateFallbackElement)&&(ot=lt),ct.route.id){let{loaderData:ut,errors:dt}=et,ht=ct.route.loader&&ut[ct.route.id]===void 0&&(!dt||dt[ct.route.id]===void 0);if(ct.route.lazy||ht){at=!0,ot>=0?it=it.slice(0,ot+1):it=[it[0]];break}}}return it.reduceRight((lt,ct,ut)=>{let dt,ht=!1,pt=null,gt=null;et&&(dt=st&&ct.route.id?st[ct.route.id]:void 0,pt=ct.route.errorElement||defaultErrorElement,at&&(ot<0&&ut===0?(ht=!0,gt=null):ot===ut&&(ht=!0,gt=ct.route.hydrateFallbackElement||null)));let ft=j.concat(it.slice(0,ut+1)),mt=()=>{let xt;return dt?xt=pt:ht?xt=gt:ct.route.Component?xt=reactExports.createElement(ct.route.Component,null):ct.route.element?xt=ct.route.element:xt=lt,reactExports.createElement(RenderedRoute,{match:ct,routeContext:{outlet:lt,matches:ft,isDataRoute:et!=null},children:xt})};return et&&(ct.route.ErrorBoundary||ct.route.errorElement||ut===0)?reactExports.createElement(RenderErrorBoundary,{location:et.location,revalidation:et.revalidation,component:pt,error:dt,children:mt(),routeContext:{outlet:null,matches:ft,isDataRoute:!0}}):mt()},null)}var DataRouterHook$1=function(_){return _.UseBlocker="useBlocker",_.UseRevalidator="useRevalidator",_.UseNavigateStable="useNavigate",_}(DataRouterHook$1||{}),DataRouterStateHook$1=function(_){return _.UseBlocker="useBlocker",_.UseLoaderData="useLoaderData",_.UseActionData="useActionData",_.UseRouteError="useRouteError",_.UseNavigation="useNavigation",_.UseRouteLoaderData="useRouteLoaderData",_.UseMatches="useMatches",_.UseRevalidator="useRevalidator",_.UseNavigateStable="useNavigate",_.UseRouteId="useRouteId",_}(DataRouterStateHook$1||{});function useDataRouterContext$1(_){let j=reactExports.useContext(DataRouterContext);return j||invariant$2(!1),j}function useDataRouterState(_){let j=reactExports.useContext(DataRouterStateContext);return j||invariant$2(!1),j}function useRouteContext(_){let j=reactExports.useContext(RouteContext);return j||invariant$2(!1),j}function useCurrentRouteId(_){let j=useRouteContext(),et=j.matches[j.matches.length-1];return et.route.id||invariant$2(!1),et.route.id}function useRouteError(){var _;let j=reactExports.useContext(RouteErrorContext),et=useDataRouterState(DataRouterStateHook$1.UseRouteError),tt=useCurrentRouteId(DataRouterStateHook$1.UseRouteError);return j!==void 0?j:(_=et.errors)==null?void 0:_[tt]}function useNavigateStable(){let{router:_}=useDataRouterContext$1(DataRouterHook$1.UseNavigateStable),j=useCurrentRouteId(DataRouterStateHook$1.UseNavigateStable),et=reactExports.useRef(!1);return useIsomorphicLayoutEffect$3(()=>{et.current=!0}),reactExports.useCallback(function(rt,nt){nt===void 0&&(nt={}),et.current&&(typeof rt=="number"?_.navigate(rt):_.navigate(rt,_extends$w({fromRouteId:j},nt)))},[_,j])}
568function logV6DeprecationWarnings(_,j){_==null||_.v7_startTransition,_==null||_.v7_relativeSplatPath}function Route(_){invariant$2(!1)}function Router(_){let{basename:j="/",children:et=null,location:tt,navigationType:rt=Action$1.Pop,navigator:nt,static:it=!1,future:st}=_;useInRouterContext()&&invariant$2(!1);let at=j.replace(/^\/*/,"/"),ot=reactExports.useMemo(()=>({basename:at,navigator:nt,static:it,future:_extends$w({v7_relativeSplatPath:!1},st)}),[at,st,nt,it]);typeof tt=="string"&&(tt=parsePath(tt));let{pathname:lt="/",search:ct="",hash:ut="",state:dt=null,key:ht="default"}=tt,pt=reactExports.useMemo(()=>{let gt=stripBasename(lt,at);return gt==null?null:{location:{pathname:gt,search:ct,hash:ut,state:dt,key:ht},navigationType:rt}},[at,lt,ct,ut,dt,ht,rt]);return pt==null?null:reactExports.createElement(NavigationContext.Provider,{value:ot},reactExports.createElement(LocationContext.Provider,{children:et,value:pt}))}function Routes(_){let{children:j,location:et}=_;return useRoutes(createRoutesFromChildren(j),et)}new Promise(()=>{});function createRoutesFromChildren(_,j){j===void 0&&(j=[]);let et=[];return reactExports.Children.forEach(_,(tt,rt)=>{if(!reactExports.isValidElement(tt))return;let nt=[...j,rt];if(tt.type===reactExports.Fragment){et.push.apply(et,createRoutesFromChildren(tt.props.children,nt));return}tt.type!==Route&&invariant$2(!1),!tt.props.index||!tt.props.children||invariant$2(!1);let it={id:tt.props.id||nt.join("-"),caseSensitive:tt.props.caseSensitive,element:tt.props.element,Component:tt.props.Component,index:tt.props.index,path:tt.props.path,loader:tt.props.loader,action:tt.props.action,errorElement:tt.props.errorElement,ErrorBoundary:tt.props.ErrorBoundary,hasErrorBoundary:tt.props.ErrorBoundary!=null||tt.props.errorElement!=null,shouldRevalidate:tt.props.shouldRevalidate,handle:tt.props.handle,lazy:tt.props.lazy};tt.props.children&&(it.children=createRoutesFromChildren(tt.props.children,nt)),et.push(it)}),et}/** 569 * React Router DOM v6.30.1 570 * 571 * Copyright (c) Remix Software Inc. 572 * 573 * This source code is licensed under the MIT license found in the 574 * LICENSE.md file in the root directory of this source tree. 575 * 576 * @license MIT 577 */function _extends$v(){return _extends$v=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$v.apply(this,arguments)}function _objectWithoutPropertiesLoose$l(_,j){if(_==null)return{};var et={},tt=Object.keys(_),rt,nt;for(nt=0;nt<tt.length;nt++)rt=tt[nt],!(j.indexOf(rt)>=0)&&(et[rt]=_[rt]);return et}function isModifiedEvent(_){return!!(_.metaKey||_.altKey||_.ctrlKey||_.shiftKey)}function shouldProcessLinkClick(_,j){return _.button===0&&(!j||j==="_self")&&!isModifiedEvent(_)}function createSearchParams(_){return _===void 0&&(_=""),new URLSearchParams(typeof _=="string"||Array.isArray(_)||_ instanceof URLSearchParams?_:Object.keys(_).reduce((j,et)=>{let tt=_[et];return j.concat(Array.isArray(tt)?tt.map(rt=>[et,rt]):[[et,tt]])},[]))}function getSearchParamsForLocation(_,j){let et=createSearchParams(_);return j&&j.forEach((tt,rt)=>{et.has(rt)||j.getAll(rt).forEach(nt=>{et.append(rt,nt)})}),et}const _excluded$l=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],_excluded2$8=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],REACT_ROUTER_VERSION="6";try{window.__reactRouterVersion=REACT_ROUTER_VERSION}catch{}const ViewTransitionContext=reactExports.createContext({isTransitioning:!1}),START_TRANSITION="startTransition",startTransitionImpl=React$2[START_TRANSITION];function BrowserRouter(_){let{basename:j,children:et,future:tt,window:rt}=_,nt=reactExports.useRef();nt.current==null&&(nt.current=createBrowserHistory({window:rt,v5Compat:!0}));let it=nt.current,[st,at]=reactExports.useState({action:it.action,location:it.location}),{v7_startTransition:ot}=tt||{},lt=reactExports.useCallback(ct=>{ot&&startTransitionImpl?startTransitionImpl(()=>at(ct)):at(ct)},[at,ot]);return reactExports.useLayoutEffect(()=>it.listen(lt),[it,lt]),reactExports.useEffect(()=>logV6DeprecationWarnings(tt),[tt]),reactExports.createElement(Router,{basename:j,children:et,location:st.location,navigationType:st.action,navigator:it,future:tt})}const isBrowser$3=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ABSOLUTE_URL_REGEX=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Link=reactExports.forwardRef(function(j,et){let{onClick:tt,relative:rt,reloadDocument:nt,replace:it,state:st,target:at,to:ot,preventScrollReset:lt,viewTransition:ct}
577=j,ut=_objectWithoutPropertiesLoose$l(j,_excluded$l),{basename:dt}=reactExports.useContext(NavigationContext),ht,pt=!1;if(typeof ot=="string"&&ABSOLUTE_URL_REGEX.test(ot)&&(ht=ot,isBrowser$3))try{let xt=new URL(window.location.href),yt=ot.startsWith("//")?new URL(xt.protocol+ot):new URL(ot),vt=stripBasename(yt.pathname,dt);yt.origin===xt.origin&&vt!=null?ot=vt+yt.search+yt.hash:pt=!0}catch{}let gt=useHref(ot,{relative:rt}),ft=useLinkClickHandler(ot,{replace:it,state:st,target:at,preventScrollReset:lt,relative:rt,viewTransition:ct});function mt(xt){tt&&tt(xt),xt.defaultPrevented||ft(xt)}return reactExports.createElement("a",_extends$v({},ut,{href:ht||gt,onClick:pt||nt?tt:mt,ref:et,target:at}))}),NavLink=reactExports.forwardRef(function(j,et){let{"aria-current":tt="page",caseSensitive:rt=!1,className:nt="",end:it=!1,style:st,to:at,viewTransition:ot,children:lt}=j,ct=_objectWithoutPropertiesLoose$l(j,_excluded2$8),ut=useResolvedPath(at,{relative:ct.relative}),dt=useLocation(),ht=reactExports.useContext(DataRouterStateContext),{navigator:pt,basename:gt}=reactExports.useContext(NavigationContext),ft=ht!=null&&useViewTransitionState(ut)&&ot===!0,mt=pt.encodeLocation?pt.encodeLocation(ut).pathname:ut.pathname,xt=dt.pathname,yt=ht&&ht.navigation&&ht.navigation.location?ht.navigation.location.pathname:null;rt||(xt=xt.toLowerCase(),yt=yt?yt.toLowerCase():null,mt=mt.toLowerCase()),yt&>&&(yt=stripBasename(yt,gt)||yt);const vt=mt!=="/"&&mt.endsWith("/")?mt.length-1:mt.length;let bt=xt===mt||!it&&xt.startsWith(mt)&&xt.charAt(vt)==="/",Et=yt!=null&&(yt===mt||!it&&yt.startsWith(mt)&&yt.charAt(mt.length)==="/"),_t={isActive:bt,isPending:Et,isTransitioning:ft},wt=bt?tt:void 0,Rt;typeof nt=="function"?Rt=nt(_t):Rt=[nt,bt?"active":null,Et?"pending":null,ft?"transitioning":null].filter(Boolean).join(" ");let Ct=typeof st=="function"?st(_t):st;return reactExports.createElement(Link,_extends$v({},ct,{"aria-current":wt,className:Rt,ref:et,style:Ct,to:at,viewTransition:ot}),typeof lt=="function"?lt(_t):lt)});var DataRouterHook;(function(_){_.UseScrollRestoration="useScrollRestoration",_.UseSubmit="useSubmit",_.UseSubmitFetcher="useSubmitFetcher",_.UseFetcher="useFetcher",_.useViewTransitionState="useViewTransitionState"})(DataRouterHook||(DataRouterHook={}));var DataRouterStateHook;(function(_){_.UseFetcher="useFetcher",_.UseFetchers="useFetchers",_.UseScrollRestoration="useScrollRestoration"})(DataRouterStateHook||(DataRouterStateHook={}));function useDataRouterContext(_){let j=reactExports.useContext(DataRouterContext);return j||invariant$2(!1),j}function useLinkClickHandler(_,j){let{target:et,replace:tt,state:rt,preventScrollReset:nt,relative:it,viewTransition:st}=j===void 0?{}:j,at=useNavigate(),ot=useLocation(),lt=useResolvedPath(_,{relative:it});return reactExports.useCallback(ct=>{if(shouldProcessLinkClick(ct,et)){ct.preventDefault();let ut=tt!==void 0?tt:createPath(ot)===createPath(lt);at(_,{replace:ut,state:rt,preventScrollReset:nt,relative:it,viewTransition:st})}},[ot,at,lt,tt,rt,et,_,nt,it,st])}function useSearchParams(_){let j=reactExports.useRef(createSearchParams(_)),et=reactExports.useRef(!1),tt=useLocation(),rt=reactExports.useMemo(()=>getSearchParamsForLocation(tt.search,et.current?null:j.current),[tt.search]),nt=useNavigate(),it=reactExports.useCallback((st,at)=>{const ot=createSearchParams(typeof st=="function"?st(rt):st);et.current=!0,nt("?"+ot,at)},[nt,rt]);return[rt,it]}function useViewTransitionState(_,j){j===void 0&&(j={});let et=reactExports.useContext(ViewTransitionContext);et==null&&invariant$2(!1);let{basename:tt}=useDataRouterContext(DataRouterHook.useViewTransitionState),rt=useResolvedPath(_,{relative:j.relative});if(!et.isTransitioning)return!1;let nt=stripBasename(et.currentLocation.pathname,tt)||et.currentLocation.pathname,it=stripBasename(et.nextLocation.pathname,tt)||et.nextLocation.pathname;return matchPath(rt.pathname,it)!=null||matchPath(rt.pathname,nt)!=null}const MOBILE_BREAKPOINT=768;function useIsMobile(){const[_,j]=reactExports.useState(void 0);return reactExports.useEffect(()=>{const et=window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT-1}px)`),tt=()=>{j(window.innerWidth<MOBILE_BREAKPOINT)};return et.addEventListener("change",tt),j(window.innerWidth<MOBILE_BREAKPOINT),()=>et.removeEventListener("change",tt)},[]),!!_}const buttonVariants=cva("inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-medium ring-offset-background transition-colors duration-150 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 rounded-md hover:bg-primary/90 active:bg-primary/80",destructive:"bg-destructive text-destructive-foreground rounded-md hover:bg-destructive/90 active:bg-destructive/80",outline:"border border-input bg-background rounded-md hover:bg-muted hover:text-foreground active:bg-muted/80",secondary:"bg-secondary text-secondary-foreground rounded-md hover:bg-secondary/80 active:bg-secondary/70",ghost:"hover:bg-muted hover:text-foreground rounded-md active:bg-muted/80",link:"text-primary underline-offset-4 hover:underline",hero:"relative bg-gradient-to-r from-logo-purple to-electric-blue text-primary-foreground rounded-full shadow-button hover:shadow-button-hover hover:scale-[1.03] active:scale-[0.97] overflow-hidden before:absolute before:inset-0 before:bg-gradient-to-r before:from-transparent before:via-white/20 before:to-transparent before:translate-x-[-200%] hover:before:translate-x-[200%] before:transition-transform before:duration-700",glass:"rounded-full bg-transparent border border-white/10 text-foreground backdrop-blur-sm hover:border-white/25 hover:bg-white/5"},size:{default:"h-10 px-5 py-2",sm:"h-9 px-4 text-xs",lg:"h-14 px-10 text-base font-semibold tracking-tight",icon:"h-10 w-10 rounded-full"}},defaultVariants:{variant:"default",size:"default"}}),Button=reactExports.forwardRef(({className:_,variant:j,size:et,asChild:tt=!1,...rt},nt)=>{const it=tt?Slot$4:"button";return jsxRuntimeExports.jsx(it,{className:cn(buttonVariants({variant:j,size:et,className:_})),ref:nt,...rt})});Button.displayName="Button";const Input=reactExports.forwardRef(({className:_,type:j,...et},tt)=>jsxRuntimeExports.jsx("input",{type:j,className:cn("flex h-10 w-full rounded-md border border-input bg-muted/30 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-1 focus-visible:ring-primary/30 focus-visible:border-primary disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",_),ref:tt,...et}));Input.displayName="Input";var NAME$2="Separator",DEFAULT_ORIENTATION="horizontal",ORIENTATIONS=["horizontal","vertical"],Separator$3=reactExports.forwardRef((_,j)=>{const{decorative:et,orientation:tt=DEFAULT_ORIENTATION,...rt}=_,nt=isValidOrientation(tt)?tt:DEFAULT_ORIENTATION,st=et?{role:"none"}:{"aria-orientation":nt==="vertical"?nt:void 0,role:"separator"};return jsxRuntimeExports.jsx(Primitive.div,{"data-orientation":nt,...st,...rt,ref:j})});Separator$3.displayName=NAME$2;function isValidOrientation(_){return ORIENTATIONS.includes(_)}var Root$8=Separator$3;const Separator$2=reactExports.forwardRef(({className:_,orientation:j="horizontal",decorative:et=!0,...tt},rt)=>jsxRuntimeExports.jsx(Root$8,{ref:rt,decorative:et,orientation:j,className:cn("shrink-0 bg-border",j==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",_),...tt}));Separator$2.displayName=Root$8.displayName;var AUTOFOCUS_ON_MOUNT="focusScope.autoFocusOnMount",AUTOFOCUS_ON_UNMOUNT="focusScope.autoFocusOnUnmount",EVENT_OPTIONS$1={bubbles:!1,cancelable:!0},FOCUS_SCOPE_NAME="FocusScope",FocusScope=reactExports.forwardRef((_,j)=>{const{loop:et=!1,trapped:tt=!1,onMountAutoFocus:rt,onUnmountAutoFocus:nt,...it}=_,[st,at]=reactExports.useState(null),ot=useCallbackRef$1(rt),lt=useCallbackRef$1(nt),ct=reactExports.useRef(null),ut=useComposedRefs$1(j,pt=>at(pt)),dt=reactExports.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;reactExports.useEffect(()=>{if(tt){let pt=function(xt){if(dt.paused||!st)return;const yt=xt.target;st.contains(yt)?ct.current=yt:focus(ct.current,{select:!0})},gt=function(xt){if(dt.paused||!st)return;const yt=xt.relatedTarget;yt!==null&&(st.contains(yt)||focus(ct.current,{select:!0}))},ft=function(xt){if(document.activeElement===document.body)for(const vt of xt)vt.removedNodes.length>0&&focus(st)};document.addEventListener("focusin",pt),document.addEventListener("focusout",gt);const mt=new MutationObserver(ft);return st&&mt.observe(st,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",pt),document.removeEventListener("focusout",gt),mt.disconnect()}}},[tt,st,dt.paused]),reactExports.useEffect(()=>
vendor: 6,944 bytes, line 577
577{if(st){focusScopesStack.add(dt);const pt=document.activeElement;if(!st.contains(pt)){const ft=new CustomEvent(AUTOFOCUS_ON_MOUNT,EVENT_OPTIONS$1);st.addEventListener(AUTOFOCUS_ON_MOUNT,ot),st.dispatchEvent(ft),ft.defaultPrevented||(focusFirst$2(removeLinks(getTabbableCandidates(st)),{select:!0}),document.activeElement===pt&&focus(st))}return()=>{st.removeEventListener(AUTOFOCUS_ON_MOUNT,ot),setTimeout(()=>{const ft=new CustomEvent(AUTOFOCUS_ON_UNMOUNT,EVENT_OPTIONS$1);st.addEventListener(AUTOFOCUS_ON_UNMOUNT,lt),st.dispatchEvent(ft),ft.defaultPrevented||focus(pt??document.body,{select:!0}),st.removeEventListener(AUTOFOCUS_ON_UNMOUNT,lt),focusScopesStack.remove(dt)},0)}}},[st,ot,lt,dt]);const ht=reactExports.useCallback(pt=>{if(!et&&!tt||dt.paused)return;const gt=pt.key==="Tab"&&!pt.altKey&&!pt.ctrlKey&&!pt.metaKey,ft=document.activeElement;if(gt&&ft){const mt=pt.currentTarget,[xt,yt]=getTabbableEdges(mt);xt&&yt?!pt.shiftKey&&ft===yt?(pt.preventDefault(),et&&focus(xt,{select:!0})):pt.shiftKey&&ft===xt&&(pt.preventDefault(),et&&focus(yt,{select:!0})):ft===mt&&pt.preventDefault()}},[et,tt,dt.paused]);return jsxRuntimeExports.jsx(Primitive.div,{tabIndex:-1,...it,ref:ut,onKeyDown:ht})});FocusScope.displayName=FOCUS_SCOPE_NAME;function focusFirst$2(_,{select:j=!1}={}){const et=document.activeElement;for(const tt of _)if(focus(tt,{select:j}),document.activeElement!==et)return}function getTabbableEdges(_){const j=getTabbableCandidates(_),et=findVisible(j,_),tt=findVisible(j.reverse(),_);return[et,tt]}function getTabbableCandidates(_){const j=[],et=document.createTreeWalker(_,NodeFilter.SHOW_ELEMENT,{acceptNode:tt=>{const rt=tt.tagName==="INPUT"&&tt.type==="hidden";return tt.disabled||tt.hidden||rt?NodeFilter.FILTER_SKIP:tt.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;et.nextNode();)j.push(et.currentNode);return j}function findVisible(_,j){for(const et of _)if(!isHidden(et,{upTo:j}))return et}function isHidden(_,{upTo:j}){if(getComputedStyle(_).visibility==="hidden")return!0;for(;_;){if(j!==void 0&&_===j)return!1;if(getComputedStyle(_).display==="none")return!0;_=_.parentElement}return!1}function isSelectableInput(_){return _ instanceof HTMLInputElement&&"select"in _}function focus(_,{select:j=!1}={}){if(_&&_.focus){const et=document.activeElement;_.focus({preventScroll:!0}),_!==et&&isSelectableInput(_)&&j&&_.select()}}var focusScopesStack=createFocusScopesStack();function createFocusScopesStack(){let _=[];return{add(j){const et=_[0];j!==et&&(et==null||et.pause()),_=arrayRemove(_,j),_.unshift(j)},remove(j){var et;_=arrayRemove(_,j),(et=_[0])==null||et.resume()}}}function arrayRemove(_,j){const et=[..._],tt=et.indexOf(j);return tt!==-1&&et.splice(tt,1),et}function removeLinks(_){return _.filter(j=>j.tagName!=="A")}var count=0;function useFocusGuards(){reactExports.useEffect(()=>{const _=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",_[0]??createFocusGuard()),document.body.insertAdjacentElement("beforeend",_[1]??createFocusGuard()),count++,()=>{count===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(j=>j.remove()),count--}},[])}function createFocusGuard(){const _=document.createElement("span");return _.setAttribute("data-radix-focus-guard",""),_.tabIndex=0,_.style.outline="none",_.style.opacity="0",_.style.position="fixed",_.style.pointerEvents="none",_}var __assign=function(){return __assign=Object.assign||function(j){for(var et,tt=1,rt=arguments.length;tt<rt;tt++){et=arguments[tt];for(var nt in et)Object.prototype.hasOwnProperty.call(et,nt)&&(j[nt]=et[nt])}return j},__assign.apply(this,arguments)};function __rest(_,j){var et={};for(var tt in _)Object.prototype.hasOwnProperty.call(_,tt)&&j.indexOf(tt)<0&&(et[tt]=_[tt]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,tt=Object.getOwnPropertySymbols(_);rt<tt.length;rt++)j.indexOf(tt[rt])<0&&Object.prototype.propertyIsEnumerable.call(_,tt[rt])&&(et[tt[rt]]=_[tt[rt]]);return et}function __awaiter(_,j,et,tt){function rt(nt){return nt instanceof et?nt:new et(function(it){it(nt)})}return new(et||(et=Promise))(function(nt,it){function st(lt){try{ot(tt.next(lt))}catch(ct){it(ct)}}function at(lt){try{ot(tt.throw(lt))}catch(ct){it(ct)}}function ot(lt){lt.done?nt(lt.value):rt(lt.value).then(st,at)}ot((tt=tt.apply(_,j||[])).next())})}function __spreadArray(_,j,et){if(et||arguments.length===2)for(var tt=0,rt=j.length,nt;tt<rt;tt++)(nt||!(tt in j))&&(nt||(nt=Array.prototype.slice.call(j,0,tt)),nt[tt]=j[tt]);return _.concat(nt||Array.prototype.slice.call(j))}typeof SuppressedError=="function"&&SuppressedError;var zeroRightClassName="right-scroll-bar-position",fullWidthClassName="width-before-scroll-bar",noScrollbarsClassName="with-scroll-bars-hidden",removedBarSizeVariable="--removed-body-scroll-bar-size";function assignRef(_,j){return typeof _=="function"?_(j):_&&(_.current=j),_}function useCallbackRef(_,j){var et=reactExports.useState(function(){return{value:_,callback:j,facade:{get current(){return et.value},set current(tt){var rt=et.value;rt!==tt&&(et.value=tt,et.callback(tt,rt))}}}})[0];return et.callback=j,et.facade}var useIsomorphicLayoutEffect$2=typeof window<"u"?reactExports.useLayoutEffect:reactExports.useEffect,currentValues=new WeakMap;function useMergeRefs(_,j){var et=useCallbackRef(null,function(tt){return _.forEach(function(rt){return assignRef(rt,tt)})});return useIsomorphicLayoutEffect$2(function(){var tt=currentValues.get(et);if(tt){var rt=new Set(tt),nt=new Set(_),it=et.current;rt.forEach(function(st){nt.has(st)||assignRef(st,null)}),nt.forEach(function(st){rt.has(st)||assignRef(st,it)})}currentValues.set(et,_)},[_]),et}function ItoI(_){return _}function innerCreateMedium(_,j){j===void 0&&(j=ItoI);var et=[],tt=!1,rt={read:function(){if(tt)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return et.length?et[et.length-1]:_},useMedium:function(nt){var it=j(nt,tt);return et.push(it),function(){et=et.filter(function(st){return st!==it})}},assignSyncMedium:function(nt){for(tt=!0;et.length;){var it=et;et=[],it.forEach(nt)}et={push:function(st){return nt(st)},filter:function(){return et}}},assignMedium:function(nt){tt=!0;var it=[];if(et.length){var st=et;et=[],st.forEach(nt),it=et}var at=function(){var lt=it;it=[],lt.forEach(nt)},ot=function(){return Promise.resolve().then(at)};ot(),et={push:function(lt){it.push(lt),ot()},filter:function(lt){return it=it.filter(lt),et}}}};return rt}function createSidecarMedium(_){_===void 0&&(_={});var j=innerCreateMedium(null);return j.options=__assign({async:!0,ssr:!1},_),j}var SideCar$1=function(_){var j=_.sideCar,et=__rest(_,["sideCar"]);if(!j)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var tt=j.read();if(!tt)throw new Error("Sidecar medium not found");return reactExports.createElement(tt,__assign({},et))};
vendor: 4,677 bytes, lines 577-614
577SideCar$1.isSideCarExport=!0;function exportSidecar(_,j){return _.useMedium(j),SideCar$1}var effectCar=createSidecarMedium(),nothing=function(){},RemoveScroll=reactExports.forwardRef(function(_,j){var et=reactExports.useRef(null),tt=reactExports.useState({onScrollCapture:nothing,onWheelCapture:nothing,onTouchMoveCapture:nothing}),rt=tt[0],nt=tt[1],it=_.forwardProps,st=_.children,at=_.className,ot=_.removeScrollBar,lt=_.enabled,ct=_.shards,ut=_.sideCar,dt=_.noRelative,ht=_.noIsolation,pt=_.inert,gt=_.allowPinchZoom,ft=_.as,mt=ft===void 0?"div":ft,xt=_.gapMode,yt=__rest(_,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),vt=ut,bt=useMergeRefs([et,j]),Et=__assign(__assign({},yt),rt);return reactExports.createElement(reactExports.Fragment,null,lt&&reactExports.createElement(vt,{sideCar:effectCar,removeScrollBar:ot,shards:ct,noRelative:dt,noIsolation:ht,inert:pt,setCallbacks:nt,allowPinchZoom:!!gt,lockRef:et,gapMode:xt}),it?reactExports.cloneElement(reactExports.Children.only(st),__assign(__assign({},Et),{ref:bt})):reactExports.createElement(mt,__assign({},Et,{className:at,ref:bt}),st))});RemoveScroll.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};RemoveScroll.classNames={fullWidth:fullWidthClassName,zeroRight:zeroRightClassName};var getNonce=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function makeStyleTag(){if(!document)return null;var _=document.createElement("style");_.type="text/css";var j=getNonce();return j&&_.setAttribute("nonce",j),_}function injectStyles(_,j){_.styleSheet?_.styleSheet.cssText=j:_.appendChild(document.createTextNode(j))}function insertStyleTag(_){var j=document.head||document.getElementsByTagName("head")[0];j.appendChild(_)}var stylesheetSingleton=function(){var _=0,j=null;return{add:function(et){_==0&&(j=makeStyleTag())&&(injectStyles(j,et),insertStyleTag(j)),_++},remove:function(){_--,!_&&j&&(j.parentNode&&j.parentNode.removeChild(j),j=null)}}},styleHookSingleton=function(){var _=stylesheetSingleton();return function(j,et){reactExports.useEffect(function(){return _.add(j),function(){_.remove()}},[j&&et])}},styleSingleton=function(){var _=styleHookSingleton(),j=function(et){var tt=et.styles,rt=et.dynamic;return _(tt,rt),null};return j},zeroGap={left:0,top:0,right:0,gap:0},parse=function(_){return parseInt(_||"",10)||0},getOffset$1=function(_){var j=window.getComputedStyle(document.body),et=j[_==="padding"?"paddingLeft":"marginLeft"],tt=j[_==="padding"?"paddingTop":"marginTop"],rt=j[_==="padding"?"paddingRight":"marginRight"];return[parse(et),parse(tt),parse(rt)]},getGapWidth=function(_){if(_===void 0&&(_="margin"),typeof window>"u")return zeroGap;var j=getOffset$1(_),et=document.documentElement.clientWidth,tt=window.innerWidth;return{left:j[0],top:j[1],right:j[2],gap:Math.max(0,tt-et+j[2]-j[0])}},Style=styleSingleton(),lockAttribute="data-scroll-locked",getStyles=function(_,j,et,tt){var rt=_.left,nt=_.top,it=_.right,st=_.gap;return et===void 0&&(et="margin"),` 578 .`.concat(noScrollbarsClassName,` { 579 overflow: hidden `).concat(tt,`; 580 padding-right: `).concat(st,"px ").concat(tt,`; 581 } 582 body[`).concat(lockAttribute,`] { 583 overflow: hidden `).concat(tt,`; 584 overscroll-behavior: contain; 585 `).concat([j&&"position: relative ".concat(tt,";"),et==="margin"&&` 586 padding-left: `.concat(rt,`px; 587 padding-top: `).concat(nt,`px; 588 padding-right: `).concat(it,`px; 589 margin-left:0; 590 margin-top:0; 591 margin-right: `).concat(st,"px ").concat(tt,`; 592 `),et==="padding"&&"padding-right: ".concat(st,"px ").concat(tt,";")].filter(Boolean).join(""),` 593 } 594 595 .`).concat(zeroRightClassName,` { 596 right: `).concat(st,"px ").concat(tt,`; 597 } 598 599 .`).concat(fullWidthClassName,` { 600 margin-right: `).concat(st,"px ").concat(tt,`; 601 } 602 603 .`).concat(zeroRightClassName," .").concat(zeroRightClassName,` { 604 right: 0 `).concat(tt,`; 605 } 606 607 .`).concat(fullWidthClassName," .").concat(fullWidthClassName,` { 608 margin-right: 0 `).concat(tt,`; 609 } 610 611 body[`).concat(lockAttribute,`] { 612 `).concat(removedBarSizeVariable,": ").concat(st,`px; 613 } 614`)},getCurrentUseCounter=function(){var _=parseInt(document.body.getAttribute(lockAttribute)||"0",10);return isFinite(_)?_:0},useLockAttribute=function(){reactExports.useEffect(function(){return document.body.setAttribute(lockAttribute,(getCurrentUseCounter()+1).toString()),function(){var _=getCurrentUseCounter()-1;_<=0?document.body.removeAttribute(lockAttribute):document.body.setAttribute(lockAttribute,_.toString())}},[])},RemoveScrollBar=function(_){var j=_.noRelative,et=_.noImportant,tt=_.ga
vendor: 4,533 bytes, lines 614-617
614pMode,rt=tt===void 0?"margin":tt;useLockAttribute();var nt=reactExports.useMemo(function(){return getGapWidth(rt)},[rt]);return reactExports.createElement(Style,{styles:getStyles(nt,!j,rt,et?"":"!important")})},passiveSupported=!1;if(typeof window<"u")try{var options=Object.defineProperty({},"passive",{get:function(){return passiveSupported=!0,!0}});window.addEventListener("test",options,options),window.removeEventListener("test",options,options)}catch{passiveSupported=!1}var nonPassive=passiveSupported?{passive:!1}:!1,alwaysContainsScroll=function(_){return _.tagName==="TEXTAREA"},elementCanBeScrolled=function(_,j){if(!(_ instanceof Element))return!1;var et=window.getComputedStyle(_);return et[j]!=="hidden"&&!(et.overflowY===et.overflowX&&!alwaysContainsScroll(_)&&et[j]==="visible")},elementCouldBeVScrolled=function(_){return elementCanBeScrolled(_,"overflowY")},elementCouldBeHScrolled=function(_){return elementCanBeScrolled(_,"overflowX")},locationCouldBeScrolled=function(_,j){var et=j.ownerDocument,tt=j;do{typeof ShadowRoot<"u"&&tt instanceof ShadowRoot&&(tt=tt.host);var rt=elementCouldBeScrolled(_,tt);if(rt){var nt=getScrollVariables(_,tt),it=nt[1],st=nt[2];if(it>st)return!0}tt=tt.parentNode}while(tt&&tt!==et.body);return!1},getVScrollVariables=function(_){var j=_.scrollTop,et=_.scrollHeight,tt=_.clientHeight;return[j,et,tt]},getHScrollVariables=function(_){var j=_.scrollLeft,et=_.scrollWidth,tt=_.clientWidth;return[j,et,tt]},elementCouldBeScrolled=function(_,j){return _==="v"?elementCouldBeVScrolled(j):elementCouldBeHScrolled(j)},getScrollVariables=function(_,j){return _==="v"?getVScrollVariables(j):getHScrollVariables(j)},getDirectionFactor=function(_,j){return _==="h"&&j==="rtl"?-1:1},handleScroll=function(_,j,et,tt,rt){var nt=getDirectionFactor(_,window.getComputedStyle(j).direction),it=nt*tt,st=et.target,at=j.contains(st),ot=!1,lt=it>0,ct=0,ut=0;do{if(!st)break;var dt=getScrollVariables(_,st),ht=dt[0],pt=dt[1],gt=dt[2],ft=pt-gt-nt*ht;(ht||ft)&&elementCouldBeScrolled(_,st)&&(ct+=ft,ut+=ht);var mt=st.parentNode;st=mt&&mt.nodeType===Node.DOCUMENT_FRAGMENT_NODE?mt.host:mt}while(!at&&st!==document.body||at&&(j.contains(st)||j===st));return(lt&&(Math.abs(ct)<1||!rt)||!lt&&(Math.abs(ut)<1||!rt))&&(ot=!0),ot},getTouchXY=function(_){return"changedTouches"in _?[_.changedTouches[0].clientX,_.changedTouches[0].clientY]:[0,0]},getDeltaXY=function(_){return[_.deltaX,_.deltaY]},extractRef=function(_){return _&&"current"in _?_.current:_},deltaCompare=function(_,j){return _[0]===j[0]&&_[1]===j[1]},generateStyle=function(_){return` 615 .block-interactivity-`.concat(_,` {pointer-events: none;} 616 .allow-interactivity-`).concat(_,` {pointer-events: all;} 617`)},idCounter$1=0,lockStack=[];function RemoveScrollSideCar(_){var j=reactExports.useRef([]),et=reactExports.useRef([0,0]),tt=reactExports.useRef(),rt=reactExports.useState(idCounter$1++)[0],nt=reactExports.useState(styleSingleton)[0],it=reactExports.useRef(_);reactExports.useEffect(function(){it.current=_},[_]),reactExports.useEffect(function(){if(_.inert){document.body.classList.add("block-interactivity-".concat(rt));var pt=__spreadArray([_.lockRef.current],(_.shards||[]).map(extractRef),!0).filter(Boolean);return pt.forEach(function(gt){return gt.classList.add("allow-interactivity-".concat(rt))}),function(){document.body.classList.remove("block-interactivity-".concat(rt)),pt.forEach(function(gt){return gt.classList.remove("allow-interactivity-".concat(rt))})}}},[_.inert,_.lockRef.current,_.shards]);var st=reactExports.useCallback(function(pt,gt){if("touches"in pt&&pt.touches.length===2||pt.type==="wheel"&&pt.ctrlKey)return!it.current.allowPinchZoom;var ft=getTouchXY(pt),mt=et.current,xt="deltaX"in pt?pt.deltaX:mt[0]-ft[0],yt="deltaY"in pt?pt.deltaY:mt[1]-ft[1],vt,bt=pt.target,Et=Math.abs(xt)>Math.abs(yt)?"h":"v";if("touches"in pt&&Et==="h"&&bt.type==="range")return!1;var _t=locationCouldBeScrolled(Et,bt);if(!_t)return!0;if(_t?vt=Et:(vt=Et==="v"?"h":"v",_t=locationCouldBeScrolled(Et,bt)),!_t)return!1;if(!tt.current&&"changedTouches"in pt&&(xt||yt)&&(tt.current=vt),!vt)return!0;var wt=tt.current||vt;return handleScroll(wt,gt,pt,wt==="h"?xt:yt,!0)},[]),at=reactExports.useCallback(function(pt){var gt=pt;if(!(!lockStack.length||lockStack[lockStack.length-1]!==nt)){var ft="deltaY"in gt?getDeltaXY(gt):getTouchXY(gt),mt=j.current.filter(function(vt){return vt.name===gt.type&&(vt.target===gt.target||gt.target===vt.shadowParent)&&deltaCompare(vt.delta,ft)})[0];if(mt&&mt.should){gt.cancelable&>.preventDefault();return}
vendor: 4,362 bytes, line 617
617if(!mt){var xt=(it.current.shards||[]).map(extractRef).filter(Boolean).filter(function(vt){return vt.contains(gt.target)}),yt=xt.length>0?st(gt,xt[0]):!it.current.noIsolation;yt&>.cancelable&>.preventDefault()}}},[]),ot=reactExports.useCallback(function(pt,gt,ft,mt){var xt={name:pt,delta:gt,target:ft,should:mt,shadowParent:getOutermostShadowParent(ft)};j.current.push(xt),setTimeout(function(){j.current=j.current.filter(function(yt){return yt!==xt})},1)},[]),lt=reactExports.useCallback(function(pt){et.current=getTouchXY(pt),tt.current=void 0},[]),ct=reactExports.useCallback(function(pt){ot(pt.type,getDeltaXY(pt),pt.target,st(pt,_.lockRef.current))},[]),ut=reactExports.useCallback(function(pt){ot(pt.type,getTouchXY(pt),pt.target,st(pt,_.lockRef.current))},[]);reactExports.useEffect(function(){return lockStack.push(nt),_.setCallbacks({onScrollCapture:ct,onWheelCapture:ct,onTouchMoveCapture:ut}),document.addEventListener("wheel",at,nonPassive),document.addEventListener("touchmove",at,nonPassive),document.addEventListener("touchstart",lt,nonPassive),function(){lockStack=lockStack.filter(function(pt){return pt!==nt}),document.removeEventListener("wheel",at,nonPassive),document.removeEventListener("touchmove",at,nonPassive),document.removeEventListener("touchstart",lt,nonPassive)}},[]);var dt=_.removeScrollBar,ht=_.inert;return reactExports.createElement(reactExports.Fragment,null,ht?reactExports.createElement(nt,{styles:generateStyle(rt)}):null,dt?reactExports.createElement(RemoveScrollBar,{noRelative:_.noRelative,gapMode:_.gapMode}):null)}function getOutermostShadowParent(_){for(var j=null;_!==null;)_ instanceof ShadowRoot&&(j=_.host,_=_.host),_=_.parentNode;return j}const SideCar=exportSidecar(effectCar,RemoveScrollSideCar);var ReactRemoveScroll=reactExports.forwardRef(function(_,j){return reactExports.createElement(RemoveScroll,__assign({},_,{ref:j,sideCar:SideCar}))});ReactRemoveScroll.classNames=RemoveScroll.classNames;var getDefaultParent=function(_){if(typeof document>"u")return null;var j=Array.isArray(_)?_[0]:_;return j.ownerDocument.body},counterMap=new WeakMap,uncontrolledNodes=new WeakMap,markerMap={},lockCount=0,unwrapHost=function(_){return _&&(_.host||unwrapHost(_.parentNode))},correctTargets=function(_,j){return j.map(function(et){if(_.contains(et))return et;var tt=unwrapHost(et);return tt&&_.contains(tt)?tt:(console.error("aria-hidden",et,"in not contained inside",_,". Doing nothing"),null)}).filter(function(et){return!!et})},applyAttributeToOthers=function(_,j,et,tt){var rt=correctTargets(j,Array.isArray(_)?_:[_]);markerMap[et]||(markerMap[et]=new WeakMap);var nt=markerMap[et],it=[],st=new Set,at=new Set(rt),ot=function(ct){!ct||st.has(ct)||(st.add(ct),ot(ct.parentNode))};rt.forEach(ot);var lt=function(ct){!ct||at.has(ct)||Array.prototype.forEach.call(ct.children,function(ut){if(st.has(ut))lt(ut);else try{var dt=ut.getAttribute(tt),ht=dt!==null&&dt!=="false",pt=(counterMap.get(ut)||0)+1,gt=(nt.get(ut)||0)+1;counterMap.set(ut,pt),nt.set(ut,gt),it.push(ut),pt===1&&ht&&uncontrolledNodes.set(ut,!0),gt===1&&ut.setAttribute(et,"true"),ht||ut.setAttribute(tt,"true")}catch(ft){console.error("aria-hidden: cannot operate on ",ut,ft)}})};return lt(j),st.clear(),lockCount++,function(){it.forEach(function(ct){var ut=counterMap.get(ct)-1,dt=nt.get(ct)-1;counterMap.set(ct,ut),nt.set(ct,dt),ut||(uncontrolledNodes.has(ct)||ct.removeAttribute(tt),uncontrolledNodes.delete(ct)),dt||ct.removeAttribute(et)}),lockCount--,lockCount||(counterMap=new WeakMap,counterMap=new WeakMap,uncontrolledNodes=new WeakMap,markerMap={})}},hideOthers=function(_,j,et){et===void 0&&(et="data-aria-hidden");var tt=Array.from(Array.isArray(_)?_:[_]),rt=getDefaultParent(_);return rt?(tt.push.apply(tt,Array.from(rt.querySelectorAll("[aria-live]"))),applyAttributeToOthers(tt,rt,et,"aria-hidden")):function(){return null}},DIALOG_NAME="Dialog",[createDialogContext,createDialogScope]=createContextScope(DIALOG_NAME),[DialogProvider,useDialogContext]=createDialogContext(DIALOG_NAME),Dialog$1=_=>{const{__scopeDialog:j,children:et,open:tt,defaultOpen:rt,onOpenChange:nt,modal:it=!0}=_,st=reactExports.useRef(null),at=reactExports.useRef(null),[ot,lt]=useControllableState({prop:tt,defaultProp:rt??!1,onChange:nt,caller:DIALOG_NAME});return jsxRuntimeExports.jsx(DialogProvider,{scope:j,triggerRef:st,contentRef:at,contentId:u
vendor: 8,640 bytes, lines 617-621
617seId(),titleId:useId(),descriptionId:useId(),open:ot,onOpenChange:lt,onOpenToggle:reactExports.useCallback(()=>lt(ct=>!ct),[lt]),modal:it,children:et})};Dialog$1.displayName=DIALOG_NAME;var TRIGGER_NAME$7="DialogTrigger",DialogTrigger$1=reactExports.forwardRef((_,j)=>{const{__scopeDialog:et,...tt}=_,rt=useDialogContext(TRIGGER_NAME$7,et),nt=useComposedRefs$1(j,rt.triggerRef);return jsxRuntimeExports.jsx(Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":rt.open,"aria-controls":rt.contentId,"data-state":getState$4(rt.open),...tt,ref:nt,onClick:composeEventHandlers(_.onClick,rt.onOpenToggle)})});DialogTrigger$1.displayName=TRIGGER_NAME$7;var PORTAL_NAME$5="DialogPortal",[PortalProvider$2,usePortalContext$2]=createDialogContext(PORTAL_NAME$5,{forceMount:void 0}),DialogPortal$1=_=>{const{__scopeDialog:j,forceMount:et,children:tt,container:rt}=_,nt=useDialogContext(PORTAL_NAME$5,j);return jsxRuntimeExports.jsx(PortalProvider$2,{scope:j,forceMount:et,children:reactExports.Children.map(tt,it=>jsxRuntimeExports.jsx(Presence,{present:et||nt.open,children:jsxRuntimeExports.jsx(Portal$4,{asChild:!0,container:rt,children:it})}))})};DialogPortal$1.displayName=PORTAL_NAME$5;var OVERLAY_NAME$1="DialogOverlay",DialogOverlay$1=reactExports.forwardRef((_,j)=>{const et=usePortalContext$2(OVERLAY_NAME$1,_.__scopeDialog),{forceMount:tt=et.forceMount,...rt}=_,nt=useDialogContext(OVERLAY_NAME$1,_.__scopeDialog);return nt.modal?jsxRuntimeExports.jsx(Presence,{present:tt||nt.open,children:jsxRuntimeExports.jsx(DialogOverlayImpl,{...rt,ref:j})}):null});DialogOverlay$1.displayName=OVERLAY_NAME$1;var Slot$3=createSlot("DialogOverlay.RemoveScroll"),DialogOverlayImpl=reactExports.forwardRef((_,j)=>{const{__scopeDialog:et,...tt}=_,rt=useDialogContext(OVERLAY_NAME$1,et);return jsxRuntimeExports.jsx(ReactRemoveScroll,{as:Slot$3,allowPinchZoom:!0,shards:[rt.contentRef],children:jsxRuntimeExports.jsx(Primitive.div,{"data-state":getState$4(rt.open),...tt,ref:j,style:{pointerEvents:"auto",...tt.style}})})}),CONTENT_NAME$7="DialogContent",DialogContent$1=reactExports.forwardRef((_,j)=>{const et=usePortalContext$2(CONTENT_NAME$7,_.__scopeDialog),{forceMount:tt=et.forceMount,...rt}=_,nt=useDialogContext(CONTENT_NAME$7,_.__scopeDialog);return jsxRuntimeExports.jsx(Presence,{present:tt||nt.open,children:nt.modal?jsxRuntimeExports.jsx(DialogContentModal,{...rt,ref:j}):jsxRuntimeExports.jsx(DialogContentNonModal,{...rt,ref:j})})});DialogContent$1.displayName=CONTENT_NAME$7;var DialogContentModal=reactExports.forwardRef((_,j)=>{const et=useDialogContext(CONTENT_NAME$7,_.__scopeDialog),tt=reactExports.useRef(null),rt=useComposedRefs$1(j,et.contentRef,tt);return reactExports.useEffect(()=>{const nt=tt.current;if(nt)return hideOthers(nt)},[]),jsxRuntimeExports.jsx(DialogContentImpl,{..._,ref:rt,trapFocus:et.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:composeEventHandlers(_.onCloseAutoFocus,nt=>{var it;nt.preventDefault(),(it=et.triggerRef.current)==null||it.focus()}),onPointerDownOutside:composeEventHandlers(_.onPointerDownOutside,nt=>{const it=nt.detail.originalEvent,st=it.button===0&&it.ctrlKey===!0;(it.button===2||st)&&nt.preventDefault()}),onFocusOutside:composeEventHandlers(_.onFocusOutside,nt=>nt.preventDefault())})}),DialogContentNonModal=reactExports.forwardRef((_,j)=>{const et=useDialogContext(CONTENT_NAME$7,_.__scopeDialog),tt=reactExports.useRef(!1),rt=reactExports.useRef(!1);return jsxRuntimeExports.jsx(DialogContentImpl,{..._,ref:j,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:nt=>{var it,st;(it=_.onCloseAutoFocus)==null||it.call(_,nt),nt.defaultPrevented||(tt.current||(st=et.triggerRef.current)==null||st.focus(),nt.preventDefault()),tt.current=!1,rt.current=!1},onInteractOutside:nt=>{var at,ot;(at=_.onInteractOutside)==null||at.call(_,nt),nt.defaultPrevented||(tt.current=!0,nt.detail.originalEvent.type==="pointerdown"&&(rt.current=!0));const it=nt.target;((ot=et.triggerRef.current)==null?void 0:ot.contains(it))&&nt.preventDefault(),nt.detail.originalEvent.type==="focusin"&&rt.current&&nt.preventDefault()}})}),DialogContentImpl=reactExports.forwardRef((_,j)=>{const{__scopeDialog:et,trapFocus:tt,onOpenAutoFocus:rt,onCloseAutoFocus:nt,...it}=_,st=useDialogContext(CONTENT_NAME$7,et),at=reactExports.useRef(null),ot=useComposedRefs$1(j,at);return useFocusGuards(),jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(FocusScope,{asChild:!0,loop:!0,trapped:tt,onMountAutoFocus:rt,onUnmountAutoFocus:nt,children:jsxRuntimeExports.jsx(DismissableLayer,{role:"dialog",id:st.contentId,"aria-describedby":st.descriptionId,"aria-labelledby":st.titleId,"data-state":getState$4(st.open),...it,ref:ot,onDismiss:()=>st.onOpenChange(!1)})}),jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(TitleWarning,{titleId:st.titleId}),jsxRuntimeExports.jsx(DescriptionWarning$1,{contentRef:at,descriptionId:st.descriptionId})]})]})}),TITLE_NAME$1="DialogTitle",DialogTitle$1=reactExports.forwardRef((_,j)=>{const{__scopeDialog:et,...tt}=_,rt=useDialogContext(TITLE_NAME$1,et);return jsxRuntimeExports.jsx(Primitive.h2,{id:rt.titleId,...tt,ref:j})});DialogTitle$1.displayName=TITLE_NAME$1;var DESCRIPTION_NAME$1="DialogDescription",DialogDescription$1=reactExports.forwardRef((_,j)=>{const{__scopeDialog:et,...tt}=_,rt=useDialogContext(DESCRIPTION_NAME$1,et);return jsxRuntimeExports.jsx(Primitive.p,{id:rt.descriptionId,...tt,ref:j})});DialogDescription$1.displayName=DESCRIPTION_NAME$1;var CLOSE_NAME$1="DialogClose",DialogClose=reactExports.forwardRef((_,j)=>{const{__scopeDialog:et,...tt}=_,rt=useDialogContext(CLOSE_NAME$1,et);return jsxRuntimeExports.jsx(Primitive.button,{type:"button",...tt,ref:j,onClick:composeEventHandlers(_.onClick,()=>rt.onOpenChange(!1))})});DialogClose.displayName=CLOSE_NAME$1;function getState$4(_){return _?"open":"closed"}var TITLE_WARNING_NAME="DialogTitleWarning",[WarningProvider,useWarningContext]=createContext2(TITLE_WARNING_NAME,{contentName:CONTENT_NAME$7,titleName:TITLE_NAME$1,docsSlug:"dialog"}),TitleWarning=({titleId:_})=>{const j=useWarningContext(TITLE_WARNING_NAME),et=`\`${j.contentName}\` requires a \`${j.titleName}\` for the component to be accessible for screen reader users. 618 619If you want to hide the \`${j.titleName}\`, you can wrap it with our VisuallyHidden component. 620 621For more information, see https://radix-ui.com/primitives/docs/components/${j.docsSlug}`;return reactExports.useEffect(()=>{_&&(document.getElementById(_)||console.error(et))},[et,_]),null},DESCRIPTION_WARNING_NAME="DialogDescriptionWarning",DescriptionWarning$1=({contentRef:_,descriptionId:j})=>{const tt=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${useWarningContext(DESCRIPTION_WARNING_NAME).contentName}}.`;return reactExports.useEffect(()=>{var nt;const rt=(nt=_.current)==null?void 0:nt.getAttribute("aria-describedby");j&&rt&&(document.getElementById(j)||console.warn(tt))},[tt,_,j]),null},Root$7=Dialog$1,Trigger$4=DialogTrigger$1,Portal$3=DialogPortal$1,Overlay=DialogOverlay$1,Content$1=DialogContent$1,Title=DialogTitle$1,Description=DialogDescription$1,Close=DialogClose;const Sheet=Root$7,SheetPortal=Portal$3,SheetOverlay=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Overlay,{className:cn("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",_),...j,ref:et}));SheetOverlay.displayName=Overlay.displayName;const sheetVariants=cva("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),SheetContent=reactExports.forwardRef(({side:_="right",className:j,children:et,...tt},rt)=>jsxRuntimeExports.jsxs(SheetPortal,{children:[jsxRuntimeExports.jsx(SheetOverlay,{}),jsxRuntimeExports.jsxs(Content$1,{ref:rt,className:cn(sheetVariants({side:_}),j),...tt,children:[et,jsxRuntimeExports.jsxs(Close,{className:"absolute right-4 top-4 roun
621ded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-secondary hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[jsxRuntimeExports.jsx(X$1,{className:"h-4 w-4"}),jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));SheetContent.displayName=Content$1.displayName;const SheetTitle=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Title,{ref:et,className:cn("text-lg font-semibold text-foreground",_),...j}));SheetTitle.displayName=Title.displayName;const SheetDescription=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Description,{ref:et,className:cn("text-sm text-muted-foreground",_),...j}));SheetDescription.displayName=Description.displayName;function Skeleton({className:_,...j}){return jsxRuntimeExports.jsx("div",{className:cn("animate-pulse rounded-md bg-muted",_),...j})}const SIDEBAR_COOKIE_NAME="sidebar:state",SIDEBAR_COOKIE_MAX_AGE=60*60*24*7,SIDEBAR_WIDTH="16rem",SIDEBAR_WIDTH_MOBILE="18rem",SIDEBAR_WIDTH_ICON="4rem",SIDEBAR_KEYBOARD_SHORTCUT="b",SidebarContext=reactExports.createContext(null);function useSidebar(){const _=reactExports.useContext(SidebarContext);if(!_)throw new Error("useSidebar must be used within a SidebarProvider.");return _}const SidebarProvider=reactExports.forwardRef(({defaultOpen:_=!0,open:j,onOpenChange:et,className:tt,style:rt,children:nt,...it},st)=>{const at=useIsMobile(),[ot,lt]=reactExports.useState(!1),[ct,ut]=reactExports.useState(_),dt=j??ct,ht=reactExports.useCallback(mt=>{const xt=typeof mt=="function"?mt(dt):mt;et?et(xt):ut(xt),document.cookie=`${SIDEBAR_COOKIE_NAME}=${xt}; path=/; max-age=${SIDEBAR_COOKIE_MAX_AGE}`},[et,dt]),pt=reactExports.useCallback(()=>at?lt(mt=>!mt):ht(mt=>!mt),[at,ht,lt]);reactExports.useEffect(()=>{const mt=xt=>{xt.key===SIDEBAR_KEYBOARD_SHORTCUT&&(xt.metaKey||xt.ctrlKey)&&(xt.preventDefault(),pt())};return window.addEventListener("keydown",mt),()=>window.removeEventListener("keydown",mt)},[pt]);const gt=dt?"expanded":"collapsed",ft=reactExports.useMemo(()=>({state:gt,open:dt,setOpen:ht,isMobile:at,openMobile:ot,setOpenMobile:lt,toggleSidebar:pt}),[gt,dt,ht,at,ot,lt,pt]);return jsxRuntimeExports.jsx(SidebarContext.Provider,{value:ft,children:jsxRuntimeExports.jsx(TooltipProvider,{delayDuration:0,children:jsxRuntimeExports.jsx("div",{style:{"--sidebar-width":SIDEBAR_WIDTH,"--sidebar-width-icon":SIDEBAR_WIDTH_ICON,...rt},className:cn("group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-sidebar",tt),ref:st,...it,children:nt})})})});SidebarProvider.displayName="SidebarProvider";const Sidebar=reactExports.forwardRef(({side:_="left",variant:j="sidebar",collapsible:et="offcanvas",className:tt,children:rt,...nt},it)=>{const{isMobile:st,state:at,openMobile:ot,setOpenMobile:lt}=useSidebar();return et==="none"?jsxRuntimeExports.jsx("div",{className:cn("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",tt),ref:it,...nt,children:rt}):st?jsxRuntimeExports.jsx(Sheet,{open:ot,onOpenChange:lt,...nt,children:jsxRuntimeExports.jsx(SheetContent,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":SIDEBAR_WIDTH_MOBILE},side:_,children:jsxRuntimeExports.jsx("div",{className:"flex h-full w-full flex-col",children:rt})})}):jsxRuntimeExports.jsxs("div",{ref:it,className:"group peer hidden text-sidebar-foreground md:block","data-state":at,"data-collapsible":at==="collapsed"?et:"","data-variant":j,"data-side":_,children:[jsxRuntimeExports.jsx("div",{className:cn("relative h-svh w-[--sidebar-width] bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",j==="floating"||j==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),jsxRuntimeExports.jsx("div",{className:cn("fixed inset-y-0 z-10 hidden h-svh w-[--sidebar-width] transition-[left,right,width] duration-200 ease-linear md:flex",_==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",j==="floating"||j==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",tt),...nt,children:jsxRuntimeExports.jsx("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:rt})})]})});Sidebar.displayName="Sidebar";const SidebarTrigger=reactExports.forwardRef(({className:_,onClick:j,...et},tt)=>{const{toggleSidebar:rt}=useSidebar();return jsxRuntimeExports.jsxs(Button,{ref:tt,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:cn("h-7 w-7",_),onClick:nt=>{j==null||j(nt),rt()},...et,children:[jsxRuntimeExports.jsx(PanelLeft,{}),jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]})});SidebarTrigger.displayName="SidebarTrigger";const SidebarRail=reactExports.forwardRef(({className:_,...j},et)=>{const{toggleSidebar:tt}=useSidebar();return jsxRuntimeExports.jsx("button",{ref:et,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:tt,title:"Toggle Sidebar",className:cn("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] group-data-[side=left]:-right-4 group-data-[side=right]:left-0 hover:after:bg-sidebar-border sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",_),...j})});SidebarRail.displayName="SidebarRail";const SidebarInset=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("main",{ref:et,className:cn("relative flex min-h-svh flex-1 flex-col bg-background","peer-data-[variant=inset]:min-
621h-[calc(100svh-theme(spacing.4))] md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",_),...j}));SidebarInset.displayName="SidebarInset";const SidebarInput=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Input,{ref:et,"data-sidebar":"input",className:cn("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",_),...j}));SidebarInput.displayName="SidebarInput";const SidebarHeader=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("div",{ref:et,"data-sidebar":"header",className:cn("flex flex-col gap-2 p-2",_),...j}));SidebarHeader.displayName="SidebarHeader";const SidebarFooter=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("div",{ref:et,"data-sidebar":"footer",className:cn("flex flex-col gap-2 p-2",_),...j}));SidebarFooter.displayName="SidebarFooter";const SidebarSeparator=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Separator$2,{ref:et,"data-sidebar":"separator",className:cn("mx-2 w-auto bg-sidebar-border",_),...j}));SidebarSeparator.displayName="SidebarSeparator";const SidebarContent=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("div",{ref:et,"data-sidebar":"content",className:cn("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",_),...j}));SidebarContent.displayName="SidebarContent";const SidebarGroup=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("div",{ref:et,"data-sidebar":"group",className:cn("relative flex w-full min-w-0 flex-col p-2",_),...j}));SidebarGroup.displayName="SidebarGroup";const SidebarGroupLabel=reactExports.forwardRef(({className:_,asChild:j=!1,...et},tt)=>{const rt=j?Slot$4:"div";return jsxRuntimeExports.jsx(rt,{ref:tt,"data-sidebar":"group-label",className:cn("flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",_),...et})});SidebarGroupLabel.displayName="SidebarGroupLabel";const SidebarGroupAction=reactExports.forwardRef(({className:_,asChild:j=!1,...et},tt)=>{const rt=j?Slot$4:"button";return jsxRuntimeExports.jsx(rt,{ref:tt,"data-sidebar":"group-action",className:cn("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",_),...et})});SidebarGroupAction.displayName="SidebarGroupAction";const SidebarGroupContent=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("div",{ref:et,"data-sidebar":"group-content",className:cn("w-full text-sm",_),...j}));SidebarGroupContent.displayName="SidebarGroupContent";const SidebarMenu=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("ul",{ref:et,"data-sidebar":"menu",className:cn("flex w-full min-w-0 flex-col gap-1",_),...j}));SidebarMenu.displayName="SidebarMenu";const SidebarMenuItem=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("li",{ref:et,"data-sidebar":"menu-item",className:cn("group/menu-item relative",_),...j}));SidebarMenuItem.displayName="SidebarMenuItem";const sidebarMenuButtonVariants=cva("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu
621-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),SidebarMenuButton=reactExports.forwardRef(({asChild:_=!1,isActive:j=!1,variant:et="default",size:tt="default",tooltip:rt,className:nt,...it},st)=>{const at=_?Slot$4:"button",{isMobile:ot,state:lt}=useSidebar(),ct=jsxRuntimeExports.jsx(at,{ref:st,"data-sidebar":"menu-button","data-size":tt,"data-active":j,className:cn(sidebarMenuButtonVariants({variant:et,size:tt}),nt),...it});return rt?(typeof rt=="string"&&(rt={children:rt}),jsxRuntimeExports.jsxs(Tooltip$1,{children:[jsxRuntimeExports.jsx(TooltipTrigger,{asChild:!0,children:ct}),jsxRuntimeExports.jsx(TooltipContent,{side:"right",align:"center",hidden:lt!=="collapsed"||ot,...rt})]})):ct});SidebarMenuButton.displayName="SidebarMenuButton";const SidebarMenuAction=reactExports.forwardRef(({className:_,asChild:j=!1,showOnHover:et=!1,...tt},rt)=>{const nt=j?Slot$4:"button";return jsxRuntimeExports.jsx(nt,{ref:rt,"data-sidebar":"menu-action",className:cn("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform peer-hover/menu-button:text-sidebar-accent-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",et&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",_),...tt})});SidebarMenuAction.displayName="SidebarMenuAction";const SidebarMenuBadge=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("div",{ref:et,"data-sidebar":"menu-badge",className:cn("pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",_),...j}));SidebarMenuBadge.displayName="SidebarMenuBadge";const SidebarMenuSkeleton=reactExports.forwardRef(({className:_,showIcon:j=!1,...et},tt)=>{const rt=reactExports.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return jsxRuntimeExports.jsxs("div",{ref:tt,"data-sidebar":"menu-skeleton",className:cn("flex h-8 items-center gap-2 rounded-md px-2",_),...et,children:[j&&jsxRuntimeExports.jsx(Skeleton,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),jsxRuntimeExports.jsx(Skeleton,{className:"h-4 max-w-[--skeleton-width] flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":rt}})]})});SidebarMenuSkeleton.displayName="SidebarMenuSkeleton";const SidebarMenuSub=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("ul",{ref:et,"data-sidebar":"menu-sub",className:cn("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",_),...j}));SidebarMenuSub.displayName="SidebarMenuSub";const SidebarMenuSubItem=reactExports.forwardRef(({..._},j)=>jsxRuntimeExports.jsx("li",{ref:j,..._}));SidebarMenuSubItem.displayName="SidebarMenuSubItem";const SidebarMenuSubButton=reactExports.forwardRef(({asChild:_=!1,size:j="md",isActive:et,className:tt,...rt},nt)=>{const it=_?Slot$4:"a";return jsxRuntimeExports.jsx(it,{ref:nt,"data-sidebar":"menu-sub-button","data-size":j,"data-active":et,className:cn("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring aria-disabled:pointer-events-none aria-disabled:opacity-50 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",j==="sm"&&"text-xs",j==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",tt),...rt})});SidebarMenuSubButton.displayName="SidebarMenuSubButton";var DirectionContext=reactExports.createContext(void 0);function useDirection(_){const j=reactExports.useContext(DirectionContext);return _||j||"ltr"}var ENTRY_FOCUS="rovingFocusGroup.onEntryFocus",EVENT_OPTIONS={bubbles:!1,cancelable:!0},GROUP_NAME$3="RovingFocusGroup",[Collection$3,useCollection$3,createCollectionScope$3]=createCollection(GROUP_NAME$3),[createRovingFocusGroupContext,createRovingFocusGroupScope]=createContextScope(GROUP_NAME$3,[createCollectionScope$3]),[RovingFocusProvider,useRovingFocusContext]=createRovingFocusGroupContext(GROUP_NAME$3),RovingFocusGroup=reactExports.forwardRef((_,j)=>jsxRuntimeExports.jsx(Collection$3.Provider,{scope:_.__scopeRovingFocusGroup,children:jsxRuntimeExports.jsx(Collection$3.Slot,{scope:_.__scopeRovingFocusGroup,children:jsxRuntimeExports.jsx(RovingFocusGroupImpl,{..._,ref:j})})}));RovingFocusGroup.displayName=GROUP_NAME$3;var RovingFocusGroupImpl=reactExports.forwardRef((_,j)=>{const{__scopeRovingFocusGroup:et,orientation:tt,loop:rt=!1,dir:nt,currentTabStopId:it,defaultCurrentTabStopId:st,onCurrentTabStopIdChange:at,onEntryFocus:ot,preventScrollOnEntryFocus:lt=!1,...ct}=_,ut=reactExports.useRef(null),dt=useComposedRefs$1(j,ut),ht=useDirection(nt),[pt,gt]=useControllableState({prop:it,defaultProp:st??null,onChange:at,caller:GROUP_NAME$3}),[ft,mt]=reactExports.useState(!1),xt=useCallbackRef$1(ot),yt=useCollection$3(et),vt=reactExports.useRef(!1),[bt,Et]=reactExports.useState(0);return reactExports.useEffect(()=>{const _t=ut.current;if(_t)return _t.addEventListener(ENTRY_FOCUS,xt),()=>_t.removeEventListener(ENTRY_FOCUS,xt)},[xt]),jsxRuntimeExports.jsx(RovingFocusProvider,{scope:et,orientation:tt,dir:ht,loop:rt,currentTabStopId:pt,onItemFocus:reactExports.useCallback(_t=>gt(_t),[gt]),onItemShiftTab:reactExports.useCallback(()=>mt(!0),[]),onFocusableItemAdd:reactExports.useCallback(()=>Et(_t=>_t+1),[]),onFocusableItemRemove:reactExports.useCallback(()=>Et(_t=>_t-1),[]),children:jsxRuntimeExports.jsx(Primitive.div,{tabIndex:ft||bt===0?-1:0,"data-orientation":tt,...ct,ref:dt,style:{outline:"none",..._.style},onMouseDown:composeEventHandlers(_.onMouseDown,()=>{vt.current=!0}),onFocus:composeEventHandlers(_.onFocus,_t=>{const wt=!vt.current;if(_t.target===_t.currentTarget&&wt&&!ft){const Rt=new CustomEvent(ENTRY_FOCUS,EVENT_OPTIONS);if(_t.currentTarget.dispatchEvent(Rt),!Rt.defaultPrevented){const Ct=yt().filter(At=>At.focusable),jt=Ct.find(At=>At.active),Dt=Ct.find(At=>
vendor: 28,780 bytes, line 621
621At.id===pt),Ot=[jt,Dt,...Ct].filter(Boolean).map(At=>At.ref.current);focusFirst$1(Ot,lt)}}vt.current=!1}),onBlur:composeEventHandlers(_.onBlur,()=>mt(!1))})})}),ITEM_NAME$4="RovingFocusGroupItem",RovingFocusGroupItem=reactExports.forwardRef((_,j)=>{const{__scopeRovingFocusGroup:et,focusable:tt=!0,active:rt=!1,tabStopId:nt,children:it,...st}=_,at=useId(),ot=nt||at,lt=useRovingFocusContext(ITEM_NAME$4,et),ct=lt.currentTabStopId===ot,ut=useCollection$3(et),{onFocusableItemAdd:dt,onFocusableItemRemove:ht,currentTabStopId:pt}=lt;return reactExports.useEffect(()=>{if(tt)return dt(),()=>ht()},[tt,dt,ht]),jsxRuntimeExports.jsx(Collection$3.ItemSlot,{scope:et,id:ot,focusable:tt,active:rt,children:jsxRuntimeExports.jsx(Primitive.span,{tabIndex:ct?0:-1,"data-orientation":lt.orientation,...st,ref:j,onMouseDown:composeEventHandlers(_.onMouseDown,gt=>{tt?lt.onItemFocus(ot):gt.preventDefault()}),onFocus:composeEventHandlers(_.onFocus,()=>lt.onItemFocus(ot)),onKeyDown:composeEventHandlers(_.onKeyDown,gt=>{if(gt.key==="Tab"&>.shiftKey){lt.onItemShiftTab();return}if(gt.target!==gt.currentTarget)return;const ft=getFocusIntent(gt,lt.orientation,lt.dir);if(ft!==void 0){if(gt.metaKey||gt.ctrlKey||gt.altKey||gt.shiftKey)return;gt.preventDefault();let xt=ut().filter(yt=>yt.focusable).map(yt=>yt.ref.current);if(ft==="last")xt.reverse();else if(ft==="prev"||ft==="next"){ft==="prev"&&xt.reverse();const yt=xt.indexOf(gt.currentTarget);xt=lt.loop?wrapArray$2(xt,yt+1):xt.slice(yt+1)}setTimeout(()=>focusFirst$1(xt))}}),children:typeof it=="function"?it({isCurrentTabStop:ct,hasTabStop:pt!=null}):it})})});RovingFocusGroupItem.displayName=ITEM_NAME$4;var MAP_KEY_TO_FOCUS_INTENT={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function getDirectionAwareKey(_,j){return j!=="rtl"?_:_==="ArrowLeft"?"ArrowRight":_==="ArrowRight"?"ArrowLeft":_}function getFocusIntent(_,j,et){const tt=getDirectionAwareKey(_.key,et);if(!(j==="vertical"&&["ArrowLeft","ArrowRight"].includes(tt))&&!(j==="horizontal"&&["ArrowUp","ArrowDown"].includes(tt)))return MAP_KEY_TO_FOCUS_INTENT[tt]}function focusFirst$1(_,j=!1){const et=document.activeElement;for(const tt of _)if(tt===et||(tt.focus({preventScroll:j}),document.activeElement!==et))return}function wrapArray$2(_,j){return _.map((et,tt)=>_[(j+tt)%_.length])}var Root$6=RovingFocusGroup,Item$1=RovingFocusGroupItem,SELECTION_KEYS$1=["Enter"," "],FIRST_KEYS=["ArrowDown","PageUp","Home"],LAST_KEYS=["ArrowUp","PageDown","End"],FIRST_LAST_KEYS=[...FIRST_KEYS,...LAST_KEYS],SUB_OPEN_KEYS={ltr:[...SELECTION_KEYS$1,"ArrowRight"],rtl:[...SELECTION_KEYS$1,"ArrowLeft"]},SUB_CLOSE_KEYS={ltr:["ArrowLeft"],rtl:["ArrowRight"]},MENU_NAME="Menu",[Collection$2,useCollection$2,createCollectionScope$2]=createCollection(MENU_NAME),[createMenuContext,createMenuScope]=createContextScope(MENU_NAME,[createCollectionScope$2,createPopperScope,createRovingFocusGroupScope]),usePopperScope$2=createPopperScope(),useRovingFocusGroupScope$2=createRovingFocusGroupScope(),[MenuProvider,useMenuContext]=createMenuContext(MENU_NAME),[MenuRootProvider,useMenuRootContext]=createMenuContext(MENU_NAME),Menu=_=>{const{__scopeMenu:j,open:et=!1,children:tt,dir:rt,onOpenChange:nt,modal:it=!0}=_,st=usePopperScope$2(j),[at,ot]=reactExports.useState(null),lt=reactExports.useRef(!1),ct=useCallbackRef$1(nt),ut=useDirection(rt);return reactExports.useEffect(()=>{const dt=()=>{lt.current=!0,document.addEventListener("pointerdown",ht,{capture:!0,once:!0}),document.addEventListener("pointermove",ht,{capture:!0,once:!0})},ht=()=>lt.current=!1;return document.addEventListener("keydown",dt,{capture:!0}),()=>{document.removeEventListener("keydown",dt,{capture:!0}),document.removeEventListener("pointerdown",ht,{capture:!0}),document.removeEventListener("pointermove",ht,{capture:!0})}},[]),jsxRuntimeExports.jsx(Root2$6,{...st,children:jsxRuntimeExports.jsx(MenuProvider,{scope:j,open:et,onOpenChange:ct,content:at,onContentChange:ot,children:jsxRuntimeExports.jsx(MenuRootProvider,{scope:j,onClose:reactExports.useCallback(()=>ct(!1),[ct]),isUsingKeyboardRef:lt,dir:ut,modal:it,children:tt})})})};Menu.displayName=MENU_NAME;var ANCHOR_NAME$1="MenuAnchor",MenuAnchor=reactExports.forwardRef((_,j)=>{const{__scopeMenu:et,...tt}=_,rt=usePopperScope$2(et);return jsxRuntimeExports.jsx(Anchor,{...rt,...tt,ref:j})});MenuAnchor.displayName=ANCHOR_NAME$1;var PORTAL_NAME$4="MenuPortal",[PortalProvider$1,usePortalContext$1]=createMenuContext(PORTAL_NAME$4,{forceMount:void 0}),MenuPortal=_=>{const{__scopeMenu:j,forceMount:et,children:tt,container:rt}=_,nt=useMenuContext(PORTAL_NAME$4,j);return jsxRuntimeExports.jsx(PortalProvider$1,{scope:j,forceMount:et,children:jsxRuntimeExports.jsx(Presence,{present:et||nt.open,children:jsxRuntimeExports.jsx(Portal$4,{asChild:!0,container:rt,children:tt})})})};MenuPortal.displayName=PORTAL_NAME$4;var CONTENT_NAME$6="MenuContent",[MenuContentProvider,useMenuContentContext]=createMenuContext(CONTENT_NAME$6),MenuContent=reactExports.forwardRef((_,j)=>{const et=usePortalContext$1(CONTENT_NAME$6,_.__scopeMenu),{forceMount:tt=et.forceMount,...rt}=_,nt=useMenuContext(CONTENT_NAME$6,_.__scopeMenu),it=useMenuRootContext(CONTENT_NAME$6,_.__scopeMenu);return jsxRuntimeExports.jsx(Collection$2.Provider,{scope:_.__scopeMenu,children:jsxRuntimeExports.jsx(Presence,{present:tt||nt.open,children:jsxRuntimeExports.jsx(Collection$2.Slot,{scope:_.__scopeMenu,children:it.modal?jsxRuntimeExports.jsx(MenuRootContentModal,{...rt,ref:j}):jsxRuntimeExports.jsx(MenuRootContentNonModal,{...rt,ref:j})})})})}),MenuRootContentModal=reactExports.forwardRef((_,j)=>{const et=useMenuContext(CONTENT_NAME$6,_.__scopeMenu),tt=reactExports.useRef(null),rt=useComposedRefs$1(j,tt);return reactExports.useEffect(()=>{const nt=tt.current;if(nt)return hideOthers(nt)},[]),jsxRuntimeExports.jsx(MenuContentImpl,{..._,ref:rt,trapFocus:et.open,disableOutsidePointerEvents:et.open,disableOutsideScroll:!0,onFocusOutside:composeEventHandlers(_.onFocusOutside,nt=>nt.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>et.onOpenChange(!1)})}),MenuRootContentNonModal=reactExports.forwardRef((_,j)=>{const et=useMenuContext(CONTENT_NAME$6,_.__scopeMenu);return jsxRuntimeExports.jsx(MenuContentImpl,{..._,ref:j,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>et.onOpenChange(!1)})}),Slot$2=createSlot("MenuContent.ScrollLock"),MenuContentImpl=reactExports.forwardRef((_,j)=>{const{__scopeMenu:et,loop:tt=!1,trapFocus:rt,onOpenAutoFocus:nt,onCloseAutoFocus:it,disableOutsidePointerEvents:st,onEntryFocus:at,onEscapeKeyDown:ot,onPointerDownOutside:lt,onFocusOutside:ct,onInteractOutside:ut,onDismiss:dt,disableOutsideScroll:ht,...pt}=_,gt=useMenuContext(CONTENT_NAME$6,et),ft=useMenuRootContext(CONTENT_NAME$6,et),mt=usePopperScope$2(et),xt=useRovingFocusGroupScope$2(et),yt=useCollection$2(et),[vt,bt]=reactExports.useState(null),Et=reactExports.useRef(null),_t=useComposedRefs$1(j,Et,gt.onContentChange),wt=reactExports.useRef(0),Rt=reactExports.useRef(""),Ct=reactExports.useRef(0),jt=reactExports.useRef(null),Dt=reactExports.useRef("right"),It=reactExports.useRef(0),Ot=ht?ReactRemoveScroll:reactExports.Fragment,At=ht?{as:Slot$2,allowPinchZoom:!0}:void 0,Tt=St=>{var er,ir;const Pt=Rt.current+St,$t=yt().filter(Jt=>!Jt.disabled),Nt=document.activeElement,Mt=(er=$t.find(Jt=>Jt.ref.current===Nt))==null?void 0:er.textValue,Vt=$t.map(Jt=>Jt.textValue),Ht=getNextMatch(Vt,Pt,Mt),Qt=(ir=$t.find(Jt=>Jt.textValue===Ht))==null?void 0:ir.ref.current;(function Jt(Gt){Rt.current=Gt,window.clearTimeout(wt.current),Gt!==""&&(wt.current=window.setTimeout(()=>Jt(""),1e3))})(Pt),Qt&&setTimeout(()=>Qt.focus())};reactExports.useEffect(()=>()=>window.clearTimeout(wt.current),[]),useFocusGuards();const kt=reactExports.useCallback(St=>{var $t,Nt;return Dt.current===(($t=jt.current)==null?void 0:$t.side)&&isPointerInGraceArea(St,(Nt=jt.current)==null?void 0:Nt.area)},[]);return jsxRuntimeExports.jsx(MenuContentProvider,{scope:et,searchRef:Rt,onItemEnter:reactExports.useCallback(St=>{kt(St)&&St.preventDefault()},[kt]),onItemLeave:reactExports.useCallback(St=>{var Pt;kt(St)||((Pt=Et.current)==null||Pt.focus(),bt(null))},[kt]),onTriggerLeave:reactExports.useCallback(St=>{kt(St)&&St.preventDefault()},[kt]),pointerGraceTimerRef:Ct,onPointerGraceIntentChange:reactExports.useCallback(St=>{jt.current=St},[]),children:jsxRuntimeExports.jsx(Ot,{...At,children:jsxRuntimeExports.jsx(FocusScope,{asChild:!0,trapped:rt,onMountAutoFocus:composeEventHandlers(nt,St=>{var Pt;St.preventDefault(),(Pt=Et.current)==null||Pt.focus({preventScroll:!0})}),onUnmountAutoFocus:it,children:jsxRuntimeExports.jsx(DismissableLayer,{asChild:!0,disableOutsidePointerEvents:st,onEscapeKeyDown:ot,onPointerDownOutside:lt,onFocusOutside:ct,onInteractOutside:ut,onDismiss:dt,children:jsxRuntimeExports.jsx(Root$6,{asChild:!0,...xt,dir:ft.dir,orientation:"vertical",loop:tt,currentTabStopId:vt,onCurrentTabStopIdChange:bt,onEntryFocus:composeEventHandlers(at,St=>{ft.isUsingKeyboardRef.current||St.preventDefault()}),preventScrollOnEntryFocus:!0,children:jsxRuntimeExports.jsx(Content$2,{role:"menu","aria-orientation":"vertical","data-state":getOpenState(gt.open),"data-radix-menu-content":"",dir:ft.dir,...mt,...pt,ref:_t,style:{outline:"none",...pt.style},onKeyDown:composeEventHandlers(pt.onKeyDown,St=>{const $t=St.target.closest("[data-radix-menu-content]")===St.currentTarget,Nt=St.ctrlKey||St.altKey||St.metaKey,Mt=St.key.length===1;$t&&(St.key==="Tab"&&St.preventDefault(),!Nt&&Mt&&Tt(St.key));const Vt=Et.current;if(St.target!==Vt||!FIRST_LAST_KEYS.includes(St.key))return;St.preventDefault();const Qt=yt().filter(er=>!er.disabled).map(er=>er.ref.current);LAST_KEYS.includes(St.key)&&Qt.reverse(),focusFirst(Qt)}),onBlur:composeEventHandlers(_.onBlur,St=>{St.currentTarget.contains(St.target)||(window.clearTimeout(wt.current),Rt.current="")}),onPointerMove:composeEventHandlers(_.onPointerMove,whenMouse(St=>{const Pt=St.target,$t=It.current!==St.clientX;if(St.currentTarget.contains(Pt)&&$t){const Nt=St.clientX>It.current?"right":"left";Dt.current=Nt,It.current=St.clientX}}))})})})})})})});MenuContent.displayName=CONTENT_NAME$6;var GROUP_NAME$2="MenuGroup",MenuGroup=reactExports.forwardRef((_,j)=>{const{__scopeMenu:et,...tt}=_;return jsxRuntimeExports.jsx(Primitive.div,{role:"group",...tt,ref:j})});MenuGroup.displayName=GROUP_NAME$2;var LABEL_NAME$2="MenuLabel",MenuLabel=reactExports.forwardRef((_,j)=>{const{__scopeMenu:et,...tt}=_;return jsxRuntimeExports.jsx(Primitive.div,{...tt,ref:j})});MenuLabel.displayName=LABEL_NAME$2;var ITEM_NAME$3="MenuItem",ITEM_SELECT="menu.itemSelect",MenuItem=reactExports.forwardRef((_,j)=>{const{disabled:et=!1,onSelect:tt,...rt}=_,nt=reactExports.useRef(null),it=useMenuRootContext(ITEM_NAME$3,_.__scopeMenu),st=useMenuContentContext(ITEM_NAME$3,_.__scopeMenu),at=useComposedRefs$1(j,nt),ot=reactExports.useRef(!1),lt=()=>{const ct=nt.current;if(!et&&ct){const ut=new CustomEvent(ITEM_SELECT,{bubbles:!0,cancelable:!0});ct.addEventListener(ITEM_SELECT,dt=>tt==null?void 0:tt(dt),{once:!0}),dispatchDiscreteCustomEvent(ct,ut),ut.defaultPrevented?ot.current=!1:it.onClose()}};return jsxRuntimeExports.jsx(MenuItemImpl,{...rt,ref:at,disabled:et,onClick:composeEventHandlers(_.onClick,lt),onPointerDown:ct=>{var ut;(ut=_.onPointerDown)==null||ut.call(_,ct),ot.current=!0},onPointerUp:composeEventHandlers(_.onPointerUp,ct=>{var ut;ot.current||(ut=ct.currentTarget)==null||ut.click()}),onKeyDown:composeEventHandlers(_.onKeyDown,ct=>{const ut=st.searchRef.current!=="";et||ut&&ct.key===" "||SELECTION_KEYS$1.includes(ct.key)&&(ct.currentTarget.click(),ct.preventDefault())})})});MenuItem.displayName=ITEM_NAME$3;var MenuItemImpl=reactExports.forwardRef((_,j)=>{const{__scopeMenu:et,disabled:tt=!1,textValue:rt,...nt}=_,it=useMenuContentContext(ITEM_NAME$3,et),st=useRovingFocusGroupScope$2(et),at=reactExports.useRef(null),ot=useComposedRefs$1(j,at),[lt,ct]=reactExports.useState(!1),[ut,dt]=reactExports.useState("");return reactExports.useEffect(()=>{const ht=at.current;ht&&dt((ht.textContent??"").trim())},[nt.children]),jsxRuntimeExports.jsx(Collection$2.ItemSlot,{scope:et,disabled:tt,textValue:rt??ut,children:jsxRuntimeExports.jsx(Item$1,{asChild:!0,...st,focusable:!tt,children:jsxRuntimeExports.jsx(Primitive.div,{role:"menuitem","data-highlighted":lt?"":void 0,"aria-disabled":tt||void 0,"data-disabled":tt?"":void 0,...nt,ref:ot,onPointerMove:composeEventHandlers(_.onPointerMove,whenMouse(ht=>{tt?it.onItemLeave(ht):(it.onItemEnter(ht),ht.defaultPrevented||ht.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:composeEventHandlers(_.onPointerLeave,whenMouse(ht=>it.onItemLeave(ht))),onFocus:composeEventHandlers(_.onFocus,()=>ct(!0)),onBlur:composeEventHandlers(_.onBlur,()=>ct(!1))})})})}),CHECKBOX_ITEM_NAME$1="MenuCheckboxItem",MenuCheckboxItem=reactExports.forwardRef((_,j)=>{const{checked:et=!1,onCheckedChange:tt,...rt}=_;return jsxRuntimeExports.jsx(ItemIndicatorProvider,{scope:_.__scopeMenu,checked:et,children:jsxRuntimeExports.jsx(MenuItem,{role:"menuitemcheckbox","aria-checked":isIndeterminate$1(et)?"mixed":et,...rt,ref:j,"data-state":getCheckedState(et),onSelect:composeEventHandlers(rt.onSelect,()=>tt==null?void 0:tt(isIndeterminate$1(et)?!0:!et),{checkForDefaultPrevented:!1})})})});MenuCheckboxItem.displayName=CHECKBOX_ITEM_NAME$1;var RADIO_GROUP_NAME$1="MenuRadioGroup",[RadioGroupProvider,useRadioGroupContext]=createMenuContext(RADIO_GROUP_NAME$1,{value:void 0,onValueChange:()=>{}}),MenuRadioGroup=reactExports.forwardRef((_,j)=>{const{value:et,onValueChange:tt,...rt}=_,nt=useCallbackRef$1(tt);return jsxRuntimeExports.jsx(RadioGroupProvider,{scope:_.__scopeMenu,value:et,onValueChange:nt,children:jsxRuntimeExports.jsx(MenuGroup,{...rt,ref:j})})});MenuRadioGroup.displayName=RADIO_GROUP_NAME$1;var RADIO_ITEM_NAME$1="MenuRadioItem",MenuRadioItem=reactExports.forwardRef((_,j)=>{const{value:et,...tt}=_,rt=useRadioGroupContext(RADIO_ITEM_NAME$1,_.__scopeMenu),nt=et===rt.value;return jsxRuntimeExports.jsx(ItemIndicatorProvider,{scope:_.__scopeMenu,checked:nt,children:jsxRuntimeExports.jsx(MenuItem,{role:"menuitemradio","aria-checked":nt,...tt,ref:j,"data-state":getCheckedState(nt),onSelect:composeEventHandlers(tt.onSelect,()=>{var it;return(it=rt.onValueChange)==null?void 0:it.call(rt,et)},{checkForDefaultPrevented:!1})})})});MenuRadioItem.displayName=RADIO_ITEM_NAME$1;var ITEM_INDICATOR_NAME$1="MenuItemIndicator",[ItemIndicatorProvider,useItemIndicatorContext]=createMenuContext(ITEM_INDICATOR_NAME$1,{checked:!1}),MenuItemIndicator=reactExports.forwardRef((_,j)=>{const{__scopeMenu:et,forceMount:tt,...rt}=_,nt=useItemIndicatorContext(ITEM_INDICATOR_NAME$1,et);return jsxRuntimeExports.jsx(Presence,{present:tt||isIndeterminate$1(nt.checked)||nt.checked===!0,children:jsxRuntimeExports.jsx(Primitive.span,{...rt,ref:j,"data-state":getCheckedState(nt.checked)})})});MenuItemIndicator.displayName=ITEM_INDICATOR_NAME$1;var SEPARATOR_NAME$2="MenuSeparator",MenuSeparator=reactExports.forwardRef((_,j)=>{const{__scopeMenu:et,...tt}=_;return jsxRuntimeExports.jsx(Primitive.div,{role:"separator","aria-orientation":"horizontal",...tt,ref:j})});MenuSeparator.displayName=SEPARATOR_NAME$2;var ARROW_NAME$3="MenuArrow",MenuArrow=reactExports.forwardRef((_,j)=>{const{__scopeMenu:et,...tt}=_,rt=usePopperScope$2(et);return jsxRuntimeExports.jsx(Arrow,{...rt,...tt,ref:j})});MenuArrow.displayName=ARROW_NAME$3;var SUB_NAME="MenuSub",[MenuSubProvider,useMenuSubContext]=createMenuContext(SUB_NAME),SUB_TRIGGER_NAME$1="MenuSubTrigger",MenuSubTrigger=reactExports.forwardRef((_,j)=>{const et=useMenuContext(SUB_TRIGGER_NAME$1,_.__scopeMenu),tt=useMenuRootContext(SUB_TRIGGER_NAME$1,_.__scopeMenu),rt=useMenuSubContext(SUB_TRIGGER_NAME$1,_.__scopeMenu),nt=useMenuContentContext(SUB_TRIGGER_NAME$1,_.__scopeMenu),it=reactExports.useRef(null),{pointerGraceTimerRef:st,onPointerGraceIntentChange:at}=nt,ot={__scopeMenu:_.__scopeMenu},lt=reactExports.useCallback(()=>{it.current&&window.clearTimeout(it.current),it.current=null},[]);return reactExports.useEffect(()=>lt,[lt]),reactExports.useEffect(()=>{const ct=st.current;return()=>{window.clearTimeout(ct),at(null)}},[st,at]),jsxRuntimeExports.jsx(MenuAnchor,{asChild:!0,...ot,children:jsxRuntimeExports.jsx(MenuItemImpl,{id:rt.triggerId,"aria-haspopup":"menu","aria-expanded":et.open,"aria-controls":rt.contentId,"data-state":getOpenState(et.open),..._,ref:composeRefs$1(j,rt.onTriggerChange),onClick:ct=>{var ut;(ut=_.onClick)==null||ut.call(_,ct),!(_.disabled||ct.defaultPrevented)&&(ct.currentTarget.focus(),et.open||et.onOpenChange(!0))},onPointerMove:composeEventHandlers(_.onPointerMove,whenMouse(ct=>{nt.onItemEnter(ct),!ct.defaultPrevented&&!_.disabled&&!et.open&&!it.current&&(nt.onPointerGraceIntentChange(null),it.current=window.setTimeout(()=>{et.onOpenChange(!0),lt()},100))})),onPointerLeave:composeEventHandlers(_.onPointerLeave,whenMouse(ct=>{var dt,ht;lt();const ut=(dt=et.content)==null?void 0:dt.getBoundingClientRect();if(ut){const pt=(ht=et.content)==null?void 0:ht.dataset.side,gt=pt==="right",ft=gt?-5:5,mt=ut[gt?"left":"right"],xt=ut[gt?"right":"left"];nt.onPointerGraceIntentChange({area:[{x:ct.clientX+ft,y:ct.clientY},{x:mt,y:ut.top},{x:xt,y:ut.top},{x:xt,y:ut.bottom},{x:mt,y:ut.bottom}],side:pt}),window.clearTimeout(st.current),st.current=window.setTimeout(()=>nt.onPointerGraceIntentChange(null),300)}else{if(nt.onTriggerLeave(ct),ct.defaultPrevented)return;nt.onPointerGraceIntentChange(null)}})),onKeyDown:composeEventHandlers(_.onKeyDown,ct=>{var dt;const ut=nt.searchRef.current!=="";_.disabled||ut&&ct.key===" "||SUB_OPEN_KEYS[tt.dir].includes(ct.key)&&(et.onOpenChange(!0),(dt=et.content)==null||dt.focus(),ct.preventDefault())})})})});MenuSubTrigger.displayName=SUB_TRIGGER_NAME$1;var SUB_CONTENT_NAME$1="MenuSubContent",MenuSubContent=reactExports.forwardRef((_,j)=>{const et=usePortalContext$1(CONTENT_NAME$6,_.__scopeMenu),{forceMount:tt=et.forceMount,...rt}=_,nt=useMenuContext(CONTENT_NAME$6,_.__scopeMenu),it=useMenuRootContext(CONTENT_NAME$6,_.__scopeMenu),st=useMenuSubContext(SUB_CONTENT_NAME$1,_.__scopeMenu),at=reactExports.useRef(null),ot=useComposedRefs$1(j,at);return jsxRuntimeExports.jsx(Collection$2.Provider,{scope:_.__scopeMenu,children:jsxRuntimeExports.jsx(Presence,{present:tt||nt.open,children:jsxRuntimeExports.jsx(Collection$2.Slot,{scope:_.__scopeMenu,children:jsxRuntimeExports.jsx(MenuContentImpl,{id:st.contentId,"aria-labelledby":st.triggerId,...rt,ref:ot,align:"start",side:it.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:lt=>{var ct;it.isUsingKeyboardRef.current&&((ct=at.current)==null||ct.focus()),lt.preventDefault()},onCloseAutoFocus:lt=>lt.preventDefault(),onFocusOutside:composeEventHandlers(_.onFocusOutside,lt=>{lt.target!==st.trigger&&nt.onOpenChange(!1)}),onEscapeKeyDown:composeEventHandlers(_.onEscapeKeyDown,lt=>{it.onClose(),lt.preventDefault()}),onKeyDown:composeEventHandlers(_.onKeyDown,lt=>{var dt;const ct=lt.currentTarget.contains(lt.target),ut=SUB_CLOSE_KEYS[it.dir].includes(lt.key);ct&&ut&&(nt.onOpenChange(!1),(dt=st.trigger)==null||dt.focus(),lt.preventDefault())})})})})})});MenuSubContent.displayName=SUB_CONTENT_NAME$1;function getOpenState(_){return _?"open":"closed"}function isIndeterminate$1(_){return _==="indeterminate"}function getCheckedState(_){return isIndeterminate$1(_)?"indeterminate":_?"checked":"unchecked"}function focusFirst(_){const j=document.activeElement;for(const et of _)if(et===j||(et.focus(),document.activeElement!==j))return}function wrapArray$1(_,j){return _.map((et,tt)=>_[(j+tt)%_.length])}function getNextMatch(_,j,et){const rt=j.length>1&&Array.from(j).every(ot=>ot===j[0])?j[0]:j,nt=et?_.indexOf(et):-1;let it=wrapArray$1(_,Math.max(nt,0));rt.length===1&&(it=it.filter(ot=>ot!==et));const at=it.find(ot=>ot.toLowerCase().startsWith(rt.toLowerCase()));return at!==et?at:void 0}function isPointInPolygon(_,j){const{x:et,y:tt}=_;let rt=!1;for(let nt=0,it=j.length-1;nt<j.length;it=nt++){const st=j[nt],at=j[it],ot=st.x,lt=st.y,ct=at.x,ut=at.y;lt>tt!=ut>tt&&et<(ct-ot)*(tt-lt)/(ut-lt)+ot&&(rt=!rt)}return rt}function isPointerInGraceArea(_,j){if(!j)return!1;const et={x:_.clientX,y:_.clientY};return isPointInPolygon(et,j)}function whenMouse(_){return j=>j.pointerType==="mouse"?_(j):void 0}var Root3=Menu,Anchor2=MenuAnchor,Portal$2=MenuPortal,Content2$4=MenuContent,Group=MenuGroup,Label$4=MenuLabel,Item2$2=MenuItem,CheckboxItem=MenuCheckboxItem,RadioGroup=MenuRadioGroup,RadioItem=MenuRadioItem,ItemIndicator$1=MenuItemIndicator,Separator$1=MenuSeparator,Arrow2=MenuArrow,SubTrigger=MenuSubTrigger,SubContent=MenuSubContent,DROPDOWN_MENU_NAME="DropdownMenu",[createDropdownMenuContext,createDropdownMenuScope]=createContextScope(DROPDOWN_MENU_NAME,[createMenuScope]),useMenuScope=createMenuScope(),[DropdownMenuProvider,useDropdownMenuContext]=createDropdownMenuContext(DROPDOWN_MENU_NAME),DropdownMenu$1=_=>{const{__scopeDropdownMenu:j,children:et,dir:tt,open:rt,defaultOpen:nt,onOpenChange:it,modal:st=!0}=_,at=useMenuScope(j),ot=reactExports.useRef(null),[lt,ct]=useControllableState({prop:rt,defaultProp:nt??!1,onChange:it,caller:DROPDOWN_MENU_NAME});return jsxRuntimeExports.jsx(DropdownMenuProvider,{scope:j,triggerId:useId(),triggerRef:ot,contentId:useId(),open:lt,onOpenChange:ct,onOpenToggle:reactExports.useCallback(()=>ct(ut=>!ut),[ct]),modal:st,children:jsxRuntimeExports.jsx(Root3,{...at,open:lt,onOpenChange:ct,dir:tt,modal:st,children:et})})};DropdownMenu$1.displayName=DROPDOWN_MENU_NAME;var TRIGGER_NAME$6="DropdownMenuTrigger",DropdownMenuTrigger$1=reactExports.forwardRef((_,j)=>{const{__scopeDropdownMenu:et,disabled:tt=!1,...rt}=_,nt=useDropdownMenuContext(TRIGGER_NAME$6,et),it=useMenuScope(et);return jsxRuntimeExports.jsx(Anchor2,{asChild:!0,...it,children:jsxRuntimeExports.jsx(Primitive.button,{type:"button",id:nt.triggerId,"aria-haspopup":"menu","aria-expanded":nt.open,"aria-controls":nt.open?nt.contentId:void 0,"data-state":nt.open?"open":"closed","data-disabled":tt?"":void 0,disabled:tt,...rt,ref:composeRefs$1(j,nt.triggerRef),onPointerDown:composeEventHandlers(_.onPointerDown,st=>{!tt&&st.button===0&&st.ctrlKey===!1&&(nt.onOpenToggle(),nt.open||st.preventDefault())}),onKeyDown:composeEventHandlers(_.onKeyDown,st=>{tt||(["Enter"," "].includes(st.key)&&nt.onOpenToggle(),st.key==="ArrowDown"&&nt.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(st.key)&&st.preventDefault())})})})});DropdownMenuTrigger$1.displayName=TRIGGER_NAME$6;var PORTAL_NAME$3="DropdownMenuPortal",DropdownMenuPortal=_=>{const{__scopeDropdownMenu:j,...et}=_,tt=useMenuScope(j);return jsxRuntimeExports.jsx(Portal$2,{...tt,...et})};DropdownMenuPortal.displayName=PORTAL_NAME$3;var CONTENT_NAME$5="DropdownMenuContent",DropdownMenuContent$1=reactExports.forwardRef((_,j)=>{const{__scopeDropdownMenu:et,...tt}=_,rt=useDropdownMenuContext(CONTENT_NAME$5,et),nt=useMenuScope(et),it=reactExports.useRef(!1);return jsxRuntimeExports.jsx(Content2$4,{id:rt.contentId,"aria-labelledby":rt.triggerId,...nt,...tt,ref:j,onCloseAutoFocus:composeEventHandlers(_.onCloseAutoFocus,st=>{var at;it.current||(at=rt.triggerRef.current)==null||at.focus(),it.current=!1,st.preventDefault()}),onInteractOutside:composeEventHandlers(_.onInteractOutside,st=>{const at=st.detail.originalEvent,ot=at.button===0&&at.ctrlKey===!0,lt=at.button===2||ot;(!rt.modal||lt)&&(it.current=!0)}),style:{..._.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});DropdownMenuContent$1.displayName=CONTENT_NAME$5;var GROUP_NAME$1="DropdownMenuGroup",DropdownMenuGroup=reactExports.forwardRef((_,j)=>{const{__scopeDropdownMenu:et,...tt}=_,rt=useMenuScope(et);return jsxRuntimeExports.jsx(Group,{...rt,...tt,ref:j})});DropdownMenuGroup.displayName=GROUP_NAME$1;var LABEL_NAME$1="DropdownMenuLabel",DropdownMenuLabel$1=reactExports.forwardRef((_,j)=>{const{__scopeDropdownMenu:et,...tt}=_,rt=useMenuScope(et);return jsxRuntimeExports.jsx(Label$4,{...rt,...tt,ref:j})});DropdownMenuLabel$1.displayName=LABEL_NAME$1;var ITEM_NAME$2="DropdownMenuItem",DropdownMenuItem$1=reactExports.forwardRef((_,j)=>{const{__scopeDropdownMenu:et,...tt}=_,rt=useMenuScope(et);return jsxRuntimeExports.jsx(Item2$2,{...rt,...tt,ref:j})});DropdownMenuItem$1.displayName=ITEM_NAME$2;var CHECKBOX_ITEM_NAME="DropdownMenuCheckboxItem",DropdownMenuCheckboxItem$1=reactExports.forwardRef((_,j)=>{const{__scopeDropdownMenu:et,...tt}=_,rt=useMenuScope(et);return jsxRuntimeExports.jsx(CheckboxItem,{...rt,...tt,ref:j})});DropdownMenuCheckboxItem$1.displayName=CHECKBOX_ITEM_NAME;var RADIO_GROUP_NAME="DropdownMenuRadioGroup",DropdownMenuRadioGroup=reactExports.forwardRef((_,j)=>{const{__scopeDropdownMenu:et,...tt}=_,rt=useMenuScope(et);return jsxRuntimeExports.jsx(RadioGroup,{...rt,...tt,ref:j})});DropdownMenuRadioGroup.displayName=RADIO_GROUP_NAME;var RADIO_ITEM_NAME="DropdownMenuRadioItem",DropdownMenuRadioItem$1=reactExports.forwardRef((_,j)=>{const{__scopeDropdownMenu:et,...tt}=_,rt=useMenuScope(et);return jsxRuntimeExports.jsx(RadioItem,{...rt,...tt,ref:j})});DropdownMenuRadioItem$1.displayName=RADIO_ITEM_NAME;var INDICATOR_NAME$1="DropdownMenuItemIndicator",DropdownMenuItemIndicator=reactExports.forwardRef((_,j)=>{const{__scopeDropdownMenu:et,...tt}=_,rt=useMenuScope(et);return jsxRuntimeExports.jsx(ItemIndicator$1,{...rt,...tt,ref:j})});DropdownMenuItemIndicator.displayName=INDICATOR_NAME$1;var SEPARATOR_NAME$1="DropdownMenuSeparator",DropdownMenuSeparator$1=reactExports.forwardRef((_,j)=>{const{__scopeDropdownMenu:et,...tt}=_,rt=useMenuScope(et);return jsxRuntimeExports.jsx(Separator$1,{...rt,...tt,ref:j})});DropdownMenuSeparator$1.displayName=SEPARATOR_NAME$1;var ARROW_NAME$2="DropdownMenuArrow",DropdownMenuArrow=reactExports.forwardRef((_,j)=>{const{__scopeDropdownMenu:et,...tt}=_,rt=useMenuScope(et);return jsxRuntimeExports.jsx(Arrow2,{...rt,...tt,ref:j})});DropdownMenuArrow.displayName=ARROW_NAME$2;var SUB_TRIGGER_NAME="DropdownMenuSubTrigger",DropdownMenuSubTrigger$1=reactExports.forwardRef((_,j)=>{const{__scopeDropdownMenu:et,...tt}=_,rt=useMenuScope(et);return jsxRuntimeExports.jsx(SubTrigger,{...rt,...tt,ref:j})});DropdownMenuSubTrigger$1.displayName=SUB_TRIGGER_NAME;var SUB_CONTENT_NAME="DropdownMenuSubContent",DropdownMenuSubContent$1=reactExports.forwardRef((_,j)=>{const{__scopeDropdownMenu:et,...tt}=_,rt=useMenuScope(et);return jsxRuntimeExports.jsx(SubContent,{...rt,...tt,ref:j,style:{..._.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});DropdownMenuSubContent$1.displayName=SUB_CONTENT_NAME;var Root2$5=DropdownMenu$1,Trigger$3=DropdownMenuTrigger$1,Portal2$1=DropdownMenuPortal,Content2$3=DropdownMenuContent$1,Label2=DropdownMenuLabel$1,Item2$1=DropdownMenuItem$1,CheckboxItem2=DropdownMenuCheckboxItem$1,RadioItem2=DropdownMenuRadioItem$1,ItemIndicator2=DropdownMenuItemIndicator,Separator2=DropdownMenuSeparator$1,SubTrigger2=DropdownMenuSubTrigger$1,SubContent2=DropdownMenuSubContent$1;const DropdownMenu=Root2$5,DropdownMenuTrigger=Trigger$3,DropdownMenuSubTrigger=reactExports.forwardRef(({className:_,inset:j,children:et,...tt},rt)=>jsxRuntimeExports.jsxs(SubTrigger2,{ref:rt,className:cn("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[state=open]:bg-accent focus:bg-accent",j&&"pl-8",_),...tt,children:[et,jsxRuntimeExports.jsx(ChevronRight,{className:"ml-auto h-4 w-4"})]}));DropdownMenuSubTrigger.displayName=SubTrigger2.displayName;const DropdownMenuSubContent=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(SubContent2,{ref:et,className:cn("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
621de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",_),...j}));DropdownMenuSubContent.displayName=SubContent2.displayName;const DropdownMenuContent=reactExports.forwardRef(({className:_,sideOffset:j=4,...et},tt)=>jsxRuntimeExports.jsx(Portal2$1,{children:jsxRuntimeExports.jsx(Content2$3,{ref:tt,sideOffset:j,className:cn("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",_),...et})}));DropdownMenuContent.displayName=Content2$3.displayName;const DropdownMenuItem=reactExports.forwardRef(({className:_,inset:j,...et},tt)=>jsxRuntimeExports.jsx(Item2$1,{ref:tt,className:cn("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",j&&"pl-8",_),...et}));DropdownMenuItem.displayName=Item2$1.displayName;const DropdownMenuCheckboxItem=reactExports.forwardRef(({className:_,children:j,checked:et,...tt},rt)=>jsxRuntimeExports.jsxs(CheckboxItem2,{ref:rt,className:cn("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",_),checked:et,...tt,children:[jsxRuntimeExports.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:jsxRuntimeExports.jsx(ItemIndicator2,{children:jsxRuntimeExports.jsx(Check,{className:"h-4 w-4"})})}),j]}));DropdownMenuCheckboxItem.displayName=CheckboxItem2.displayName;const DropdownMenuRadioItem=reactExports.forwardRef(({className:_,children:j,...et},tt)=>jsxRuntimeExports.jsxs(RadioItem2,{ref:tt,className:cn("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",_),...et,children:[jsxRuntimeExports.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:jsxRuntimeExports.jsx(ItemIndicator2,{children:jsxRuntimeExports.jsx(Circle,{className:"h-2 w-2 fill-current"})})}),j]}));DropdownMenuRadioItem.displayName=RadioItem2.displayName;const DropdownMenuLabel=reactExports.forwardRef(({className:_,inset:j,...et},tt)=>jsxRuntimeExports.jsx(Label2,{ref:tt,className:cn("px-2 py-1.5 text-sm font-semibold",j&&"pl-8",_),...et}));DropdownMenuLabel.displayName=Label2.displayName;const DropdownMenuSeparator=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Separator2,{ref:et,className:cn("-mx-1 my-1 h-px bg-muted",_),...j}));DropdownMenuSeparator.displayName=Separator2.displayName;var shim$1={exports:{}},useSyncExternalStoreShim_production={};/** 622 * @license React 623 * use-sync-external-store-shim.production.js 624 * 625 * Copyright (c) Meta Platforms, Inc. and affiliates. 626 * 627 * This source code is licensed under the MIT license found in the 628 * LICENSE file in the root directory of this source tree. 629 */var React=reactExports;function is(_,j){return _===j&&(_!==0||1/_===1/j)||_!==_&&j!==j}var objectIs=typeof Object.is=="function"?Object.is:is,useState=React.useState,useEffect=React.useEffect,useLayoutEffect=React.useLayoutEffect,useDebugValue=React.useDebugValue;function useSyncExternalStore$2(_,j){var et=j(),tt=useState({inst:{value:et,getSnapshot:j}}),rt=tt[0].inst,nt=tt[1];return useLayoutEffect(function(){rt.value=et,rt.getSnapshot=j,checkIfSnapshotChanged(rt)&&nt({inst:rt})},[_,et,j]),useEffect(function(){return checkIfSnapshotChanged(rt)&&nt({inst:rt}),_(function(){checkIfSnapshotChanged(rt)&&nt({inst:rt})})},[_]),useDebugValue(et),et}function checkIfSnapshotChanged(_){var j=_.getSnapshot;_=_.value;try{var et=j();return!objectIs(_,et)}catch{return!0}}function useSyncExternalStore$1(_,j){return j()}var shim=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?useSyncExternalStore$1:useSyncExternalStore$2;useSyncExternalStoreShim_production.useSyncExternalStore=React.useSyncExternalStore!==void 0?React.useSyncExternalStore:shim;shim$1.exports=useSyncExternalStoreShim_production;var shimExports=shim$1.exports;function useIsHydrated(){return shimExports.useSyncExternalStore(subscribe,()=>!0,()=>!1)}function subscribe(){return()=>{}}var AVATAR_NAME="Avatar",[createAvatarContext,createAvatarScope]=createContextScope(AVATAR_NAME),[AvatarProvider,useAvatarContext]=createAvatarContext(AVATAR_NAME),Avatar$1=reactExports.forwardRef((_,j)=>{const{__scopeAvatar:et,...tt}=_,[rt,nt]=reactExports.useState("idle");return jsxRuntimeExports.jsx(AvatarProvider,{scope:et,imageLoadingStatus:rt,onImageLoadingStatusChange:nt,children:jsxRuntimeExports.jsx(Primitive.span,{...tt,ref:j})})});Avatar$1.displayName=AVATAR_NAME;var IMAGE_NAME="AvatarImage",AvatarImage$1=reactExports.forwardRef((_,j)=>{const{__scopeAvatar:et,src:tt,onLoadingStatusChange:rt=()=>{},...nt}=_,it=useAvatarContext(IMAGE_NAME,et),st=useImageLoadingStatus(tt,nt),at=useCallbackRef$1(ot=>{rt(ot),it.onImageLoadingStatusChange(ot)});return useLayoutEffect2(()=>{st!=="idle"&&at(st)},[st,at]),st==="loaded"?jsxRuntimeExports.jsx(Primitive.img,{...nt,ref:j,src:tt}):null});AvatarImage$1.displayName=IMAGE_NAME;var FALLBACK_NAME="AvatarFallback",AvatarFallback$1=reactExports.forwardRef((_,j)=>{const{__scopeAvatar:et,delayMs:tt,...rt}=_,nt=useAvatarContext(FALLBACK_NAME,et),[it,st]=reactExports.useState(tt===void 0);return reactExports.useEffect(()=>{if(tt!==void 0){const at=window.setTimeout(()=>st(!0),tt);return()=>window.clearTimeout(at)}},[tt]),it&&nt.imageLoadingStatus!=="loaded"?jsxRuntimeExports.jsx(Primitive.span,{...rt,ref:j}):null});AvatarFallback$1.displayName=FALLBACK_NAME;function resolveLoadingStatus(_,j){return _?j?(_.src!==j&&(_.src=j),_.complete&&_.naturalWi
629dth>0?"loaded":"loading"):"error":"idle"}function useImageLoadingStatus(_,{referrerPolicy:j,crossOrigin:et}){const tt=useIsHydrated(),rt=reactExports.useRef(null),nt=tt?(rt.current||(rt.current=new window.Image),rt.current):null,[it,st]=reactExports.useState(()=>resolveLoadingStatus(nt,_));return useLayoutEffect2(()=>{st(resolveLoadingStatus(nt,_))},[nt,_]),useLayoutEffect2(()=>{const at=ct=>()=>{st(ct)};if(!nt)return;const ot=at("loaded"),lt=at("error");return nt.addEventListener("load",ot),nt.addEventListener("error",lt),j&&(nt.referrerPolicy=j),typeof et=="string"&&(nt.crossOrigin=et),()=>{nt.removeEventListener("load",ot),nt.removeEventListener("error",lt)}},[nt,et,j]),it}var Root$5=Avatar$1,Image$1=AvatarImage$1,Fallback=AvatarFallback$1;const Avatar=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Root$5,{ref:et,className:cn("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",_),...j}));Avatar.displayName=Root$5.displayName;const AvatarImage=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Image$1,{ref:et,className:cn("aspect-square h-full w-full",_),...j}));AvatarImage.displayName=Image$1.displayName;const AvatarFallback=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Fallback,{ref:et,className:cn("flex h-full w-full items-center justify-center rounded-full bg-muted",_),...j}));AvatarFallback.displayName=Fallback.displayName;const snapshotLogo="/assets/snapshot-logo-Bua6BdEz.svg",menuItems=[{title:"Generator",url:"/app",icon:WandSparkles},{title:"My Images",url:"/my-images",icon:Images},{title:"Prompt Builder",url:"/prompt-builder",icon:Settings2},{title:"Profile",url:"/profile",icon:User},{title:"Integrations",url:"/integrations",icon:Store}];function AppSidebar({user:_,profile:j,credits:et,isCreditsLoading:tt,onLogout:rt,onTopUp:nt}){var ht;const it=useLocation(),st=useNavigate(),{state:at,setOpenMobile:ot}=useSidebar(),lt=at==="collapsed",ct=()=>{ot(!1)},ut=((ht=(j==null?void 0:j.full_name)||(_==null?void 0:_.email))==null?void 0:ht.charAt(0).toUpperCase())??"U",dt=(_==null?void 0:_.email)??"";return jsxRuntimeExports.jsxs(Sidebar,{collapsible:"icon",className:"border-r border-white/[0.06]",children:[!lt&&jsxRuntimeExports.jsx(SidebarHeader,{className:"p-4 pb-2",children:jsxRuntimeExports.jsx("div",{className:"flex items-center",children:jsxRuntimeExports.jsx("img",{src:snapshotLogo,alt:"Snapshot",className:"h-8 w-auto"})})}),jsxRuntimeExports.jsx(Separator$2,{className:"mx-3 w-auto opacity-40"}),jsxRuntimeExports.jsx(SidebarContent,{className:"pt-4",children:jsxRuntimeExports.jsx(SidebarGroup,{className:"p-3 pt-0",children:jsxRuntimeExports.jsx(SidebarGroupContent,{children:jsxRuntimeExports.jsx(SidebarMenu,{className:"gap-2",children:menuItems.map(pt=>{const gt=it.pathname===pt.url;return jsxRuntimeExports.jsx(SidebarMenuItem,{children:jsxRuntimeExports.jsx(SidebarMenuButton,{asChild:!0,isActive:gt,tooltip:pt.title,size:"lg",className:cn("rounded-lg border transition-all duration-200","group-data-[collapsible=icon]:!h-11 group-data-[collapsible=icon]:!w-11 group-data-[collapsible=icon]:!p-0 group-data-[collapsible=icon]:justify-center",gt?"bg-white/[0.06] text-foreground border-white/10":"bg-white/[0.02] text-muted-foreground border-transparent hover:bg-white/[0.04] hover:text-foreground hover:border-white/5"),children:jsxRuntimeExports.jsxs(NavLink,{to:pt.url,onClick:ct,className:"flex items-center gap-3 px-3 group-data-[collapsible=icon]:justify-center group-data-[collapsible=icon]:px-0",children:[jsxRuntimeExports.jsx(pt.icon,{className:"w-5 h-5 shrink-0"}),jsxRuntimeExports.jsx("span",{className:"truncate text-[12px] font-medium tracking-tight opacity-90 group-data-[collapsible=icon]:hidden",children:pt.title})]})})},pt.title)})})})})}),jsxRuntimeExports.jsxs(SidebarFooter,{className:"p-3 pt-2",children:[jsxRuntimeExports.jsx(Separator$2,{className:"mx-2 w-auto opacity-40 mb-3"}),!lt&&jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2 px-2 py-2 rounded-lg bg-white/[0.02] border border-transparent hover:border-white/5 transition-colors",children:[jsxRuntimeExports.jsx(Coins,{className:"w-4 h-4 text-muted-foreground shrink-0"}),jsxRuntimeExports.jsx("span",{className:"text-[11px] text-muted-foreground
629/90 tracking-tight",children:tt?"...":`${et==null?void 0:et.toLocaleString()} images remaining`}),nt&&jsxRuntimeExports.jsx("button",{onClick:nt,className:"ml-auto text-[11px] text-primary/90 hover:text-primary font-medium transition-colors duration-200",children:"Top Up"})]}),jsxRuntimeExports.jsxs(DropdownMenu,{children:[jsxRuntimeExports.jsx(DropdownMenuTrigger,{asChild:!0,children:jsxRuntimeExports.jsxs("button",{className:"flex items-center gap-3 w-full rounded-lg px-2.5 py-2.5 bg-white/[0.02] border border-transparent hover:bg-white/[0.04] hover:border-white/5 transition-all duration-200 text-left group-data-[collapsible=icon]:justify-center group-data-[collapsible=icon]:px-0",children:[jsxRuntimeExports.jsxs(Avatar,{className:"h-8 w-8 rounded-lg shrink-0 border border-white/5",children:[jsxRuntimeExports.jsx(AvatarImage,{src:(j==null?void 0:j.avatar_url)??void 0,alt:""}),jsxRuntimeExports.jsx(AvatarFallback,{className:"rounded-lg text-xs font-medium bg-white/[0.06] text-foreground",children:ut})]}),!lt&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsxs("div",{className:"flex-1 min-w-0",children:[jsxRuntimeExports.jsx("p",{className:"text-[12px] font-medium text-foreground truncate leading-tight tracking-tight",children:dt.split("@")[0]}),jsxRuntimeExports.jsx("p",{className:"text-[11px] text-muted-foreground/80 truncate leading-tight",children:dt})]}),jsxRuntimeExports.jsx(ChevronsUpDown,{className:"w-4 h-4 text-muted-foreground/70 shrink-0"})]})]})}),jsxRuntimeExports.jsxs(DropdownMenuContent,{align:"end",side:"top",className:"w-56",children:[jsxRuntimeExports.jsxs("div",{className:"px-2 py-2",children:[jsxRuntimeExports.jsx("p",{className:"text-sm font-medium",children:dt.split("@")[0]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground truncate",children:dt})]}),jsxRuntimeExports.jsx(DropdownMenuSeparator,{}),jsxRuntimeExports.jsxs(DropdownMenuItem,{onClick:()=>{ct(),st("/profile")},children:[jsxRuntimeExports.jsx(User,{className:"w-4 h-4 mr-2"}),"Profile"]}),nt&&jsxRuntimeExports.jsxs(DropdownMenuItem,{onClick:nt,children:[jsxRuntimeExports.jsx(Coins,{className:"w-4 h-4 mr-2"}),"Top Up Credits"]}),jsxRuntimeExports.jsxs(DropdownMenuItem,{onClick:rt,className:"text-muted-foreground",children:[jsxRuntimeExports.jsx(LogOut,{className:"w-4 h-4 mr-2"}),"Log out"]})]})]})]})]})}const resolveFetch$3=_=>_?(...j)=>_(...j):(...j)=>fetch(...j);class FunctionsError extends Error{constructor(j,et="FunctionsError",tt){super(j),this.name=et,this.context=tt}}class FunctionsFetchError extends FunctionsError{constructor(j){super("Failed to send a request to the Edge Function","FunctionsFetchError",j)}}class FunctionsRelayError extends FunctionsError{constructor(j){super("Relay Error invoking the Edge Function","FunctionsRelayError",j)}}class FunctionsHttpError extends FunctionsError{constructor(j){super("Edge Function returned a non-2xx status code","FunctionsHttpError",j)}}var FunctionRegion;(function(_){_.Any="any",_.ApNortheast1="ap-northeast-1",_.ApNortheast2="ap-northeast-2",_.ApSouth1="ap-south-1",_.ApSoutheast1="ap-southeast-1",_.ApSoutheast2="ap-southeast-2",_.CaCentral1="ca-central-1",_.EuCentral1="eu-central-1",_.EuWest1="eu-west-1",_.EuWest2="eu-west-2",_.EuWest3="eu-west-3",_.SaEast1="sa-east-1",_.UsEast1="us-east-1",_.UsWest1="us-west-1",_.UsWest2="us-west-2"})(FunctionRegion||(FunctionRegion={}));class FunctionsClient{constructor(j,{headers:et={},customFetch:tt,region:rt=FunctionRegion.Any}={}){this.url=j,this.headers=et,this.region=rt,this.fetch=resolveFetch$3(tt)}setAuth(j){this.headers.Authorization=`Bearer ${j}`}invoke(j){return __awaiter(this,arguments,void 0,function*(et,tt={}){var rt;let nt,it;try{const{headers:st,method:at,body:ot,signal:lt,timeout:ct}=tt;let ut={},{region:dt}=tt;dt||(dt=this.region);const ht=new URL(`${this.url}/${et}`);dt&&dt!=="any"&&(ut["x-region"]=dt,ht.searchParams.set("forceFunctionRegion",dt));let pt;ot&&(st&&!Object.prototype.hasOwnProperty.call(st,"Content-Type")||!st)?typeof Blob<"u"&&ot instanceof Blob||ot instanceof ArrayBuffer?(ut["Content-Type"]="application/octet-stream",pt=ot):typeof ot=="string"?(ut["Content-Type"]="text/plain",pt=ot):typeof FormData<"u"&&ot instanceof FormData?pt=ot:(ut["Content-Type"]="application/json",pt=JSON.stringify(ot)):pt=ot;let gt=lt;ct&&(it=new AbortController,nt=setTimeout(()=>it.abort(),ct),lt?(gt=it.signal,lt.addEventListener("abort",()=>it.abort())):gt=it.signal);
629const ft=yield this.fetch(ht.toString(),{method:at||"POST",headers:Object.assign(Object.assign(Object.assign({},ut),this.headers),st),body:pt,signal:gt}).catch(vt=>{throw new FunctionsFetchError(vt)}),mt=ft.headers.get("x-relay-error");if(mt&&mt==="true")throw new FunctionsRelayError(ft);if(!ft.ok)throw new FunctionsHttpError(ft);let xt=((rt=ft.headers.get("Content-Type"))!==null&&rt!==void 0?rt:"text/plain").split(";")[0].trim(),yt;return xt==="application/json"?yt=yield ft.json():xt==="application/octet-stream"||xt==="application/pdf"?yt=yield ft.blob():xt==="text/event-stream"?yt=ft:xt==="multipart/form-data"?yt=yield ft.formData():yt=yield ft.text(),{data:yt,error:null,response:ft}}catch(st){return{data:null,error:st,response:st instanceof FunctionsHttpError||st instanceof FunctionsRelayError?st.context:void 0}}finally{nt&&clearTimeout(nt)}})}}var PostgrestError=class extends Error{constructor(_){super(_.message),this.name="PostgrestError",this.details=_.details,this.hint=_.hint,this.code=_.code}},PostgrestBuilder=class{constructor(_){var j,et;this.shouldThrowOnError=!1,this.method=_.method,this.url=_.url,this.headers=new Headers(_.headers),this.schema=_.schema,this.body=_.body,this.shouldThrowOnError=(j=_.shouldThrowOnError)!==null&&j!==void 0?j:!1,this.signal=_.signal,this.isMaybeSingle=(et=_.isMaybeSingle)!==null&&et!==void 0?et:!1,_.fetch?this.fetch=_.fetch:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(_,j){return this.headers=new Headers(this.headers),this.headers.set(_,j),this}then(_,j){var et=this;this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers.set("Accept-Profile",this.schema):this.headers.set("Content-Profile",this.schema)),this.method!=="GET"&&this.method!=="HEAD"&&this.headers.set("Content-Type","application/json");const tt=this.fetch;let rt=tt(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async nt=>{let it=null,st=null,at=null,ot=nt.status,lt=nt.statusText;if(nt.ok){var ct,ut;if(et.method!=="HEAD"){var dt;const ft=await nt.text();ft===""||(et.headers.get("Accept")==="text/csv"||et.headers.get("Accept")&&(!((dt=et.headers.get("Accept"))===null||dt===void 0)&&dt.includes("application/vnd.pgrst.plan+text"))?st=ft:st=JSON.parse(ft))}const pt=(ct=et.headers.get("Prefer"))===null||ct===void 0?void 0:ct.match(/count=(exact|planned|estimated)/),gt=(ut=nt.headers.get("content-range"))===null||ut===void 0?void 0:ut.split("/");pt&>&>.length>1&&(at=parseInt(gt[1])),et.isMaybeSingle&&et.method==="GET"&&Array.isArray(st)&&(st.length>1?(it={code:"PGRST116",details:`Results contain ${st.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},st=null,at=null,ot=406,lt="Not Acceptable"):st.length===1?st=st[0]:st=null)}else{var ht;const pt=await nt.text();try{it=JSON.parse(pt),Array.isArray(it)&&nt.status===404&&(st=[],it=null,ot=200,lt="OK")}catch{nt.status===404&&pt===""?(ot=204,lt="No Content"):it={message:pt}}if(it&&et.isMaybeSingle&&(!(it==null||(ht=it.details)===null||ht===void 0)&&ht.includes("0 rows"))&&(it=null,ot=200,lt="OK"),it&&et.shouldThrowOnError)throw new PostgrestError(it)}return{error:it,data:st,count:at,status:ot,statusText:lt}});return this.shouldThrowOnError||(rt=rt.catch(nt=>{var it;let st="";const at=nt==null?void 0:nt.cause;if(at){var ot,lt,ct,ut;const ht=(ot=at==null?void 0:at.message)!==null&&ot!==void 0?ot:"",pt=(lt=at==null?void 0:at.code)!==null&<!==void 0?lt:"";st=`${(ct=nt==null?void 0:nt.name)!==null&&ct!==void 0?ct:"FetchError"}: ${nt==null?void 0:nt.message}`,st+=` 630 631Caused by: ${(ut=at==null?void 0:at.name)!==null&&ut!==void 0?ut:"Error"}: ${ht}`,pt&&(st+=` (${pt})`),at!=null&&at.stack&&(st+=` 632${at.stack}`)}else{var dt;st=(dt=nt==null?void 0:nt.stack)!==null&&dt!==void 0?dt:""}return{error:{message:`${(it=nt==null?void 0:nt.name)!==null&&it!==void 0?it:"FetchError"}: ${nt==null?void 0:nt.message}`,details:st,hint:"",code:""},data:null,count:null,status:0,statusText:""}})),rt.then(_,j)}returns(){return this}overrideTypes(){return this}},PostgrestTransformBuilder=class extends PostgrestBuilder{select(_){let j=!1;const et=(_??"*").split("").map(tt=>/\s/.test(tt)&&!j?"":(tt==='"'&&(j=!j),tt)).join("");return this.url.searchParams.set("select",et),this.headers.append("Prefer","return=representation"),this}order(_,{ascending:j=!0,nullsFirst:et,foreignTable:tt,referencedTable:rt=tt}={}){const nt=rt?`${rt}.order`:"order",it=this.url.searchParams.get(nt);return this.url.searchParams.set(nt,`${it?`${it},`:""}${_}.${j?"asc":"desc"}${et===void 0?"":et?".nullsfirst":".nullslast"}`),this}limit(_,{foreignTable:j,referencedTable:et=j}={}){const tt=typeof et>"u"?"limit":`${et}.limit`;return this.url.searchParams.set(tt,`${_}`),this}range(_,j,{foreignTable:et,referencedTable:tt=et}={}){const rt=typeof tt>"u"?"offset":`${tt}.offset`,nt=typeof tt>"u"?"limit":`${tt}.limit`;return this.url.searchParams.set(rt,`${_}`),this.url.searchParams.set(nt,`${j-_+1}`),this}abortSignal(_){return this.signal=_,this}single(){return this.headers.set("Accept","application/vnd.pgrst.object+json"),this}maybeSingle(){return this.method==="GET"?this.headers.set("Accept","application/json"):this.headers.set("Accept","application/vnd.pgrst.object+json"),this.isMaybeSingle=!0,this}csv(){return this.headers.set("Accept","text/csv"),this}geojson(){return this.headers.set("Accept","application/geo+json"),this}
632explain({analyze:_=!1,verbose:j=!1,settings:et=!1,buffers:tt=!1,wal:rt=!1,format:nt="text"}={}){var it;const st=[_?"analyze":null,j?"verbose":null,et?"settings":null,tt?"buffers":null,rt?"wal":null].filter(Boolean).join("|"),at=(it=this.headers.get("Accept"))!==null&&it!==void 0?it:"application/json";return this.headers.set("Accept",`application/vnd.pgrst.plan+${nt}; for="${at}"; options=${st};`),nt==="json"?this:this}rollback(){return this.headers.append("Prefer","tx=rollback"),this}returns(){return this}maxAffected(_){return this.headers.append("Prefer","handling=strict"),this.headers.append("Prefer",`max-affected=${_}`),this}};const PostgrestReservedCharsRegexp=new RegExp("[,()]");var PostgrestFilterBuilder=class extends PostgrestTransformBuilder{eq(_,j){return this.url.searchParams.append(_,`eq.${j}`),this}neq(_,j){return this.url.searchParams.append(_,`neq.${j}`),this}gt(_,j){return this.url.searchParams.append(_,`gt.${j}`),this}gte(_,j){return this.url.searchParams.append(_,`gte.${j}`),this}lt(_,j){return this.url.searchParams.append(_,`lt.${j}`),this}lte(_,j){return this.url.searchParams.append(_,`lte.${j}`),this}like(_,j){return this.url.searchParams.append(_,`like.${j}`),this}likeAllOf(_,j){return this.url.searchParams.append(_,`like(all).{${j.join(",")}}`),this}likeAnyOf(_,j){return this.url.searchParams.append(_,`like(any).{${j.join(",")}}`),this}ilike(_,j){return this.url.searchParams.append(_,`ilike.${j}`),this}ilikeAllOf(_,j){return this.url.searchParams.append(_,`ilike(all).{${j.join(",")}}`),this}ilikeAnyOf(_,j){return this.url.searchParams.append(_,`ilike(any).{${j.join(",")}}`),this}regexMatch(_,j){return this.url.searchParams.append(_,`match.${j}`),this}regexIMatch(_,j){return this.url.searchParams.append(_,`imatch.${j}`),this}is(_,j){return this.url.searchParams.append(_,`is.${j}`),this}isDistinct(_,j){return this.url.searchParams.append(_,`isdistinct.${j}`),this}in(_,j){const et=Array.from(new Set(j)).map(tt=>typeof tt=="string"&&PostgrestReservedCharsRegexp.test(tt)?`"${tt}"`:`${tt}`).join(",");return this.url.searchParams.append(_,`in.(${et})`),this}notIn(_,j){const et=Array.from(new Set(j)).map(tt=>typeof tt=="string"&&PostgrestReservedCharsRegexp.test(tt)?`"${tt}"`:`${tt}`).join(",");return this.url.searchParams.append(_,`not.in.(${et})`),this}contains(_,j){return typeof j=="string"?this.url.searchParams.append(_,`cs.${j}`):Array.isArray(j)?this.url.searchParams.append(_,`cs.{${j.join(",")}}`):this.url.searchParams.append(_,`cs.${JSON.stringify(j)}`),this}containedBy(_,j){return typeof j=="string"?this.url.searchParams.append(_,`cd.${j}`):Array.isArray(j)?this.url.searchParams.append(_,`cd.{${j.join(",")}}`):this.url.searchParams.append(_,`cd.${JSON.stringify(j)}`),this}rangeGt(_,j){return this.url.searchParams.append(_,`sr.${j}`),this}rangeGte(_,j){return this.url.searchParams.append(_,`nxl.${j}`),this}rangeLt(_,j){return this.url.searchParams.append(_,`sl.${j}`),this}rangeLte(_,j){return this.url.searchParams.append(_,`nxr.${j}`),this}rangeAdjacent(_,j){return this.url.searchParams.append(_,`adj.${j}`),this}overlaps(_,j){return typeof j=="string"?this.url.searchParams.append(_,`ov.${j}`):this.url.searchParams.append(_,`ov.{${j.join(",")}}`),this}textSearch(_,j,{config:et,type:tt}={}){let rt="";tt==="plain"?rt="pl":tt==="phrase"?rt="ph":tt==="websearch"&&(rt="w");const nt=et===void 0?"":`(${et})`;return this.url.searchParams.append(_,`${rt}fts${nt}.${j}`),this}match(_){return Object.entries(_).forEach(([j,et])=>{this.url.searchParams.append(j,`eq.${et}`)}),this}not(_,j,et){return this.url.searchParams.append(_,`not.${j}.${et}`),this}or(_,{foreignTable:j,referencedTable:et=j}={}){const tt=et?`${et}.or`:"or";return this.url.searchParams.append(tt,`(${_})`),this}filter(_,j,et){return this.url.searchParams.append(_,`${j}.${et}`),this}},PostgrestQueryBuilder=class{constructor(_,{headers:j={},schema:et,fetch:tt}){this.url=_,this.headers=new Headers(j),this.schema=et,this.fetch=tt}select(_,j){const{head:et=!1,count:tt}=j??{},rt=et?"HEAD":"GET";let nt=!1;const it=(_??"*").split("").map(st=>/\s/.test(st)&&!nt?"":(st==='"'&&(nt=!nt),st)).join("");return this.url.searchParams.set("select",it),tt&&this.headers.append("Prefer",`count=${tt}`),new PostgrestFilterBuilder({method:rt,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch})}insert(_,{count:j,defaultToNull:et=!0}={}){var tt;const rt="POST";if(j&&this.headers.append("Prefer",`count=${j}`),et||this.headers.append("Prefer","missing=default"),Array.isArray(_)){const nt=_.reduce((it,st)=>it.concat(Object.keys(st)),[]);if(nt.length>0){const it=[...new Set(nt)].map(st=>`"${st}"`);this.url.searchParams.set("columns",it.join(","))}}return new PostgrestFilterBuilder({method:rt,url:this.url,headers:this.headers,schema:this.schema,body:_,fetch:(tt=this.fetch)!==null&&tt!==void 0?tt:fetch})}upsert(_,{onConflict:j,ignoreDuplicates:et=!1,count:tt,defaultToNull:rt=!0}={}){var nt;const it="POST";if(this.headers.append("Prefer",`resolution=${et?"ignore":"merge"}-duplicates`),j!==void 0&&this.url.searchParams.set("on_conflict",j),tt&&this.headers.append("Prefer",`count=${tt}`),rt||this.headers.append("Prefer","missing=default"),Array.isArray(_)){const st=_.reduce((at,ot)=>at.concat(Object.keys(ot)),[]);if(st.length>0){const at=[...new Set(st)].map(ot=>`"${ot}"`);this.url.searchParams.set("columns",at.join(","))}}return new PostgrestFilterBuilder({method:it,url:this.url,headers:this.headers,schema:this.schema,body:_,fetch:(nt=this.fetch)!==null&&nt!==void 0?nt:fetch})}update(_,{count:j}={}){var et;const tt="PATCH";return j&&this.headers.append("Prefer",`count=${j}`),new PostgrestFilterBuilder({method:tt,url:this.url,headers:this.headers,schema:this.schema,body:_,fetch:(et=this.fetch)!==null&&et!==void 0?et:fetch})}delete({count:_}={}){var j;const et="DELETE";return _&&this.headers.append("Prefer",`count=${_}`),new PostgrestFilterBuilder({method:et,url:this.url,headers:this.headers,schema:this.schema,fetch:(j=this.fetch)!==null&&j!==void 0?j:fetch})}},PostgrestClient=class eo{constructor(j,{headers:et={},schema:tt,fetch:rt}={}){this.url=j,this.headers=new Headers(et),this.schemaName=tt,this.fetch=rt}
632from(j){if(!j||typeof j!="string"||j.trim()==="")throw new Error("Invalid relation name: relation must be a non-empty string.");return new PostgrestQueryBuilder(new URL(`${this.url}/${j}`),{headers:new Headers(this.headers),schema:this.schemaName,fetch:this.fetch})}schema(j){return new eo(this.url,{headers:this.headers,schema:j,fetch:this.fetch})}rpc(j,et={},{head:tt=!1,get:rt=!1,count:nt}={}){var it;let st;const at=new URL(`${this.url}/rpc/${j}`);let ot;tt||rt?(st=tt?"HEAD":"GET",Object.entries(et).filter(([ct,ut])=>ut!==void 0).map(([ct,ut])=>[ct,Array.isArray(ut)?`{${ut.join(",")}}`:`${ut}`]).forEach(([ct,ut])=>{at.searchParams.append(ct,ut)})):(st="POST",ot=et);const lt=new Headers(this.headers);return nt&<.set("Prefer",`count=${nt}`),new PostgrestFilterBuilder({method:st,url:at,headers:lt,schema:this.schemaName,body:ot,fetch:(it=this.fetch)!==null&&it!==void 0?it:fetch})}};class WebSocketFactory{constructor(){}static detectEnvironment(){var j;if(typeof WebSocket<"u")return{type:"native",constructor:WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocket<"u")return{type:"native",constructor:globalThis.WebSocket};if(typeof global<"u"&&typeof global.WebSocket<"u")return{type:"native",constructor:global.WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocketPair<"u"&&typeof globalThis.WebSocket>"u")return{type:"cloudflare",error:"Cloudflare Workers detected. WebSocket clients are not supported in Cloudflare Workers.",workaround:"Use Cloudflare Workers WebSocket API for server-side WebSocket handling, or deploy to a different runtime."};if(typeof globalThis<"u"&&globalThis.EdgeRuntime||typeof navigator<"u"&&(!((j=navigator.userAgent)===null||j===void 0)&&j.includes("Vercel-Edge")))return{type:"unsupported",error:"Edge runtime detected (Vercel Edge/Netlify Edge). WebSockets are not supported in edge functions.",workaround:"Use serverless functions or a different deployment target for WebSocket functionality."};if(typeof process<"u"){const et=process.versions;if(et&&et.node){const tt=et.node,rt=parseInt(tt.replace(/^v/,"").split(".")[0]);return rt>=22?typeof globalThis.WebSocket<"u"?{type:"native",constructor:globalThis.WebSocket}:{type:"unsupported",error:`Node.js ${rt} detected but native WebSocket not found.`,workaround:"Provide a WebSocket implementation via the transport option."}:{type:"unsupported",error:`Node.js ${rt} detected without native WebSocket support.`,workaround:`For Node.js < 22, install "ws" package and provide it via the transport option: 633import ws from "ws" 634new RealtimeClient(url, { transport: ws })`}}}return{type:"unsupported",error:"Unknown JavaScript runtime without WebSocket support.",workaround:"Ensure you're running in a supported environment (browser, Node.js, Deno) or provide a custom WebSocket implementation."}}static getWebSocketConstructor(){const j=this.detectEnvironment();if(j.constructor)return j.constructor;let et=j.error||"WebSocket not supported in this environment.";throw j.workaround&&(et+=` 635 636Suggested solution: ${j.workaround}`),new Error(et)}static createWebSocket(j,et){const tt=this.getWebSocketConstructor();return new tt(j,et)}static isWebSocketSupported(){try{const j=this.detectEnvironment();return j.type==="native"||j.type==="ws"}catch{return!1}}}const version$4="2.89.0",DEFAULT_VERSION=`realtime-js/${version$4}`,VSN_1_0_0="1.0.0",VSN_2_0_0="2.0.0",DEFAULT_VSN=VSN_1_0_0,DEFAULT_TIMEOUT=1e4,WS_CLOSE_NORMAL=1e3,MAX_PUSH_BUFFER_SIZE=100;var SOCKET_STATES;(function(_){_[_.connecting=0]="connecting",_[_.open=1]="open",_[_.closing=2]="closing",_[_.closed=3]="closed"})(SOCKET_STATES||(SOCKET_STATES={}));var CHANNEL_STATES;(function(_){_.closed="closed",_.errored="errored",_.joined="joined",_.joining="joining",_.leaving="leaving"})(CHANNEL_STATES||(CHANNEL_STATES={}));var CHANNEL_EVENTS;(function(_){_.close="phx_close",_.error="phx_error",_.join="phx_join",_.reply="phx_reply",_.leave="phx_leave",_.access_token="access_token"})(CHANNEL_EVENTS||(CHANNEL_EVENTS={}));var TRANSPORTS;(function(_){_.websocket="websocket"}
636)(TRANSPORTS||(TRANSPORTS={}));var CONNECTION_STATE;(function(_){_.Connecting="connecting",_.Open="open",_.Closing="closing",_.Closed="closed"})(CONNECTION_STATE||(CONNECTION_STATE={}));class Serializer{constructor(j){this.HEADER_LENGTH=1,this.USER_BROADCAST_PUSH_META_LENGTH=6,this.KINDS={userBroadcastPush:3,userBroadcast:4},this.BINARY_ENCODING=0,this.JSON_ENCODING=1,this.BROADCAST_EVENT="broadcast",this.allowedMetadataKeys=[],this.allowedMetadataKeys=j??[]}encode(j,et){if(j.event===this.BROADCAST_EVENT&&!(j.payload instanceof ArrayBuffer)&&typeof j.payload.event=="string")return et(this._binaryEncodeUserBroadcastPush(j));let tt=[j.join_ref,j.ref,j.topic,j.event,j.payload];return et(JSON.stringify(tt))}_binaryEncodeUserBroadcastPush(j){var et;return this._isArrayBuffer((et=j.payload)===null||et===void 0?void 0:et.payload)?this._encodeBinaryUserBroadcastPush(j):this._encodeJsonUserBroadcastPush(j)}_encodeBinaryUserBroadcastPush(j){var et,tt;const rt=(tt=(et=j.payload)===null||et===void 0?void 0:et.payload)!==null&&tt!==void 0?tt:new ArrayBuffer(0);return this._encodeUserBroadcastPush(j,this.BINARY_ENCODING,rt)}_encodeJsonUserBroadcastPush(j){var et,tt;const rt=(tt=(et=j.payload)===null||et===void 0?void 0:et.payload)!==null&&tt!==void 0?tt:{},it=new TextEncoder().encode(JSON.stringify(rt)).buffer;return this._encodeUserBroadcastPush(j,this.JSON_ENCODING,it)}_encodeUserBroadcastPush(j,et,tt){var rt,nt;const it=j.topic,st=(rt=j.ref)!==null&&rt!==void 0?rt:"",at=(nt=j.join_ref)!==null&&nt!==void 0?nt:"",ot=j.payload.event,lt=this.allowedMetadataKeys?this._pick(j.payload,this.allowedMetadataKeys):{},ct=Object.keys(lt).length===0?"":JSON.stringify(lt);if(at.length>255)throw new Error(`joinRef length ${at.length} exceeds maximum of 255`);if(st.length>255)throw new Error(`ref length ${st.length} exceeds maximum of 255`);if(it.length>255)throw new Error(`topic length ${it.length} exceeds maximum of 255`);if(ot.length>255)throw new Error(`userEvent length ${ot.length} exceeds maximum of 255`);if(ct.length>255)throw new Error(`metadata length ${ct.length} exceeds maximum of 255`);const ut=this.USER_BROADCAST_PUSH_META_LENGTH+at.length+st.length+it.length+ot.length+ct.length,dt=new ArrayBuffer(this.HEADER_LENGTH+ut);let ht=new DataView(dt),pt=0;ht.setUint8(pt++,this.KINDS.userBroadcastPush),ht.setUint8(pt++,at.length),ht.setUint8(pt++,st.length),ht.setUint8(pt++,it.length),ht.setUint8(pt++,ot.length),ht.setUint8(pt++,ct.length),ht.setUint8(pt++,et),Array.from(at,ft=>ht.setUint8(pt++,ft.charCodeAt(0))),Array.from(st,ft=>ht.setUint8(pt++,ft.charCodeAt(0))),Array.from(it,ft=>ht.setUint8(pt++,ft.charCodeAt(0))),Array.from(ot,ft=>ht.setUint8(pt++,ft.charCodeAt(0))),Array.from(ct,ft=>ht.setUint8(pt++,ft.charCodeAt(0)));var gt=new Uint8Array(dt.byteLength+tt.byteLength);return gt.set(new Uint8Array(dt),0),gt.set(new Uint8Array(tt),dt.byteLength),gt.buffer}decode(j,et){if(this._isArrayBuffer(j)){let tt=this._binaryDecode(j);return et(tt)}if(typeof j=="string"){const tt=JSON.parse(j),[rt,nt,it,st,at]=tt;return et({join_ref:rt,ref:nt,topic:it,event:st,payload:at})}return et({})}_binaryDecode(j){const et=new DataView(j),tt=et.getUint8(0),rt=new TextDecoder;switch(tt){case this.KINDS.userBroadcast:return this._decodeUserBroadcast(j,et,rt)}}_decodeUserBroadcast(j,et,tt){const rt=et.getUint8(1),nt=et.getUint8(2),it=et.getUint8(3),st=et.getUint8(4);let at=this.HEADER_LENGTH+4;const ot=tt.decode(j.slice(at,at+rt));at=at+rt;const lt=tt.decode(j.slice(at,at+nt));at=at+nt;const ct=tt.decode(j.slice(at,at+it));at=at+it;const ut=j.slice(at,j.byteLength),dt=st===this.JSON_ENCODING?JSON.parse(tt.decode(ut)):ut,ht={type:this.BROADCAST_EVENT,event:lt,payload:dt};return it>0&&(ht.meta=JSON.parse(ct)),{join_ref:null,ref:null,topic:ot,event:this.BROADCAST_EVENT,payload:ht}}_isArrayBuffer(j){var et;return j instanceof ArrayBuffer||((et=j==null?void 0:j.constructor)===null||et===void 0?void 0:et.name)==="ArrayBuffer"}_pick(j,et){return!j||typeof j!="object"?{}:Object.fromEntries(Object.entries(j).filter(([tt])=>et.includes(tt)))}}class Timer{constructor(j,et){this.callback=j,this.timerCalc=et,this.timer=void 0,this.tries=0,this.callback=j,this.timerCalc=et}reset(){this.tries=0,clearTimeout(this.timer),this.timer=void 0}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}}var PostgresTypes;(function(_){_.abstime="abstime",_.bool="bool",_.date="date",_.daterange="daterange",_.float4="float4",_.float8="float8",_.int2="int2",_.int4="int4",_.int4range="int4range",_.int8="int8",_.int8range="int8range",_.json="json",_.jsonb="jsonb",_.money="money",_.numeric="numeric",_.oid="oid",_.reltime="reltime",_.text="text",_.time="time",_.timestamp="timestamp",_.timestamptz="timestamptz",_.timetz="timetz",_.tsrange="tsrange",_.tstzrange="tstzrange"}
636)(PostgresTypes||(PostgresTypes={}));const convertChangeData=(_,j,et={})=>{var tt;const rt=(tt=et.skipTypes)!==null&&tt!==void 0?tt:[];return j?Object.keys(j).reduce((nt,it)=>(nt[it]=convertColumn(it,_,j,rt),nt),{}):{}},convertColumn=(_,j,et,tt)=>{const rt=j.find(st=>st.name===_),nt=rt==null?void 0:rt.type,it=et[_];return nt&&!tt.includes(nt)?convertCell(nt,it):noop$7(it)},convertCell=(_,j)=>{if(_.charAt(0)==="_"){const et=_.slice(1,_.length);return toArray$2(j,et)}switch(_){case PostgresTypes.bool:return toBoolean(j);case PostgresTypes.float4:case PostgresTypes.float8:case PostgresTypes.int2:case PostgresTypes.int4:case PostgresTypes.int8:case PostgresTypes.numeric:case PostgresTypes.oid:return toNumber$3(j);case PostgresTypes.json:case PostgresTypes.jsonb:return toJson(j);case PostgresTypes.timestamp:return toTimestampString(j);case PostgresTypes.abstime:case PostgresTypes.date:case PostgresTypes.daterange:case PostgresTypes.int4range:case PostgresTypes.int8range:case PostgresTypes.money:case PostgresTypes.reltime:case PostgresTypes.text:case PostgresTypes.time:case PostgresTypes.timestamptz:case PostgresTypes.timetz:case PostgresTypes.tsrange:case PostgresTypes.tstzrange:return noop$7(j);default:return noop$7(j)}},noop$7=_=>_,toBoolean=_=>{switch(_){case"t":return!0;case"f":return!1;default:return _}},toNumber$3=_=>{if(typeof _=="string"){const j=parseFloat(_);if(!Number.isNaN(j))return j}return _},toJson=_=>{if(typeof _=="string")try{return JSON.parse(_)}catch{return _}return _},toArray$2=(_,j)=>{if(typeof _!="string")return _;const et=_.length-1,tt=_[et];if(_[0]==="{"&&tt==="}"){let nt;const it=_.slice(1,et);try{nt=JSON.parse("["+it+"]")}catch{nt=it?it.split(","):[]}return nt.map(st=>convertCell(j,st))}return _},toTimestampString=_=>typeof _=="string"?_.replace(" ","T"):_,httpEndpointURL=_=>{const j=new URL(_);return j.protocol=j.protocol.replace(/^ws/i,"http"),j.pathname=j.pathname.replace(/\/+$/,"").replace(/\/socket\/websocket$/i,"").replace(/\/socket$/i,"").replace(/\/websocket$/i,""),j.pathname===""||j.pathname==="/"?j.pathname="/api/broadcast":j.pathname=j.pathname+"/api/broadcast",j.href};class Push{constructor(j,et,tt={},rt=DEFAULT_TIMEOUT){this.channel=j,this.event=et,this.payload=tt,this.timeout=rt,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHooks=[],this.refEvent=null}resend(j){this.timeout=j,this._cancelRefEvent(),this.ref="",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){this._hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()}))}updatePayload(j){this.payload=Object.assign(Object.assign({},this.payload),j)}receive(j,et){var tt;return this._hasReceived(j)&&et((tt=this.receivedResp)===null||tt===void 0?void 0:tt.response),this.recHooks.push({status:j,callback:et}),this}startTimeout(){if(this.timeoutTimer)return;this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref);const j=et=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=et,this._matchReceive(et)};this.channel._on(this.refEvent,{},j),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}trigger(j,et){this.refEvent&&this.channel._trigger(this.refEvent,{status:j,response:et})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:j,response:et}){this.recHooks.filter(tt=>tt.status===j).forEach(tt=>tt.callback(et))}_hasReceived(j){return this.receivedResp&&this.receivedResp.status===j}}var REALTIME_PRESENCE_LISTEN_EVENTS;(function(_){_.SYNC="sync",_.JOIN="join",_.LEAVE="leave"})(REALTIME_PRESENCE_LISTEN_EVENTS||(REALTIME_PRESENCE_LISTEN_EVENTS={}));class RealtimePresence{constructor(j,et){this.channel=j,this.state={},this.pendingDiffs=[],this.joinRef=null,this.enabled=!1,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};const tt=(et==null?void 0:et.events)||{state:"presence_state",diff:"presence_diff"};this.channel._on(tt.state,{},rt=>{const{onJoin:nt,onLeave:it,onSync:st}=this.caller;this.joinRef=this.channel._joinRef(),this.state=RealtimePresence.syncState(this.state,rt,nt,it),this.pendingDiffs.forEac
vendor: 1,318 bytes, line 636
636h(at=>{this.state=RealtimePresence.syncDiff(this.state,at,nt,it)}),this.pendingDiffs=[],st()}),this.channel._on(tt.diff,{},rt=>{const{onJoin:nt,onLeave:it,onSync:st}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(rt):(this.state=RealtimePresence.syncDiff(this.state,rt,nt,it),st())}),this.onJoin((rt,nt,it)=>{this.channel._trigger("presence",{event:"join",key:rt,currentPresences:nt,newPresences:it})}),this.onLeave((rt,nt,it)=>{this.channel._trigger("presence",{event:"leave",key:rt,currentPresences:nt,leftPresences:it})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(j,et,tt,rt){const nt=this.cloneDeep(j),it=this.transformState(et),st={},at={};return this.map(nt,(ot,lt)=>{it[ot]||(at[ot]=lt)}),this.map(it,(ot,lt)=>{const ct=nt[ot];if(ct){const ut=lt.map(gt=>gt.presence_ref),dt=ct.map(gt=>gt.presence_ref),ht=lt.filter(gt=>dt.indexOf(gt.presence_ref)<0),pt=ct.filter(gt=>ut.indexOf(gt.presence_ref)<0);ht.length>0&&(st[ot]=ht),pt.length>0&&(at[ot]=pt)}else st[ot]=lt}),this.syncDiff(nt,{joins:st,leaves:at},tt,rt)}static syncDiff(j,et,tt,rt){const{joins:nt,leaves:it}={joins:this.transformState(et.joins),leaves:this.transformState(et.leaves)};return tt||(tt=()=>{}),rt||(rt=()=>{}),this.map(nt,(st,at)=>{var ot;const lt=(ot=j[st])!==null&&ot!==void 0?ot:[];
636if(j[st]=this.cloneDeep(at),lt.length>0){const ct=j[st].map(dt=>dt.presence_ref),ut=lt.filter(dt=>ct.indexOf(dt.presence_ref)<0);j[st].unshift(...ut)}tt(st,lt,at)}),this.map(it,(st,at)=>{let ot=j[st];if(!ot)return;const lt=at.map(ct=>ct.presence_ref);ot=ot.filter(ct=>lt.indexOf(ct.presence_ref)<0),j[st]=ot,rt(st,ot,at),ot.length===0&&delete j[st]}),j}static map(j,et){return Object.getOwnPropertyNames(j).map(tt=>et(tt,j[tt]))}static transformState(j){return j=this.cloneDeep(j),Object.getOwnPropertyNames(j).reduce((et,tt)=>{const rt=j[tt];return"metas"in rt?et[tt]=rt.metas.map(nt=>(nt.presence_ref=nt.phx_ref,delete nt.phx_ref,delete nt.phx_ref_prev,nt)):et[tt]=rt,et},{})}static cloneDeep(j){return JSON.parse(JSON.stringify(j))}onJoin(j){this.caller.onJoin=j}onLeave(j){this.caller.onLeave=j}onSync(j){this.caller.onSync=j}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}var REALTIME_POSTGRES_CHANGES_LISTEN_EVENT;(function(_){_.ALL="*",_.INSERT="INSERT",_.UPDATE="UPDATE",_.DELETE="DELETE"})(REALTIME_POSTGRES_CHANGES_LISTEN_EVENT||(REALTIME_POSTGRES_CHANGES_LISTEN_EVENT={}));var REALTIME_LISTEN_TYPES;(function(_){_.BROADCAST="broadcast",_.PRESENCE="presence",_.POSTGRES_CHANGES="postgres_changes",_.SYSTEM="system"})(REALTIME_LISTEN_TYPES||(REALTIME_LISTEN_TYPES={}));var REALTIME_SUBSCRIBE_STATES;(function(_){_.SUBSCRIBED="SUBSCRIBED",_.TIMED_OUT="TIMED_OUT",_.CLOSED="CLOSED",_.CHANNEL_ERROR="CHANNEL_ERROR"})(REALTIME_SUBSCRIBE_STATES||(REALTIME_SUBSCRIBE_STATES={}));class RealtimeChannel{constructor(j,et={config:{}},tt){var rt,nt;if(this.topic=j,this.params=et,this.socket=tt,this.bindings={},this.state=CHANNEL_STATES.closed,this.joinedOnce=!1,this.pushBuffer=[],this.subTopic=j.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:"",enabled:!1},private:!1},et.config),this.timeout=this.socket.timeout,this.joinPush=new Push(this,CHANNEL_EVENTS.join,this.params,this.timeout),this.rejoinTimer=new Timer(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=CHANNEL_STATES.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(it=>it.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=CHANNEL_STATES.closed,this.socket._remove(this)}),this._onError(it=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,it),this.state=CHANNEL_STATES.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=CHANNEL_STATES.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("error",it=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,it),this.state=CHANNEL_STATES.errored,this.rejoinTimer.scheduleTimeout())}),this._on(CHANNEL_EVENTS.reply,{},(it,st)=>{this._trigger(this._replyEventName(st),it)}),this.presence=new RealtimePresence(this),this.broadcastEndpointURL=httpEndpointURL(this.socket.endPoint),this.private=this.params.config.private||!1,!this.private&&(!((nt=(rt=this.params.config)===null||rt===void 0?void 0:rt.broadcast)===null||nt===void 0)&&nt.replay))throw`tried to use replay on public channel '${this.topic}'. It must be a private channel.`}subscribe(j,et=this.timeout){var tt,rt,nt;if(this.socket.isConnected()||this.socket.connect(),this.state==CHANNEL_STATES.closed){const{config:{broadcast:it,presence:st,private:at}}=this.params,ot=(rt=(tt=this.bindings.postgres_changes)===null||tt===void 0?void 0:tt.map(dt=>dt.filter))!==null&&rt!==void 0?rt:[],lt=!!this.bindings[REALTIME_LISTEN_TYPES.PRESENCE]&&this.bindings[REALTIME_LISTEN_TYPES.PRESENCE].length>0||((nt=this.params.config.presence)===null||nt===void 0?void 0:nt.enabled)===!0,ct={},ut={broadcast:it,presence:Object.assign(Object.assign({},st),{enabled:lt}),postgres_changes:ot,private:at};this.socket.accessTokenValue&&(ct.access_token=this.socket.accessTokenValue),this._onError(dt=>j==null?void 0:j(REALTIME_SUBSCRIBE_STATES.CHANNEL_ERROR,dt)),this._onClose(()=>j==null?void 0:j(REALTIME_SUBSCRIBE_STATES.CLOSED)),this.updateJoinPayload(Object.assign({config:ut},ct)),this.joinedOnce=!0,this._rejoin(et),this.joinPush.receive("ok",async({postgres_changes:dt})=>{var ht;if(this.socket._isManualToken()||this.socket.setAuth(),dt===void 0){j==null||j(REALTIME_SUBSCRIBE_STATES.SUBSCRIBED);return}else{const pt=this.bindings.postgres_changes,gt=(ht=pt==null?void 0:pt.length)!==null&&ht!==void 0?ht:0,ft=[];for(let mt=0;mt<gt;
636mt++){const xt=pt[mt],{filter:{event:yt,schema:vt,table:bt,filter:Et}}=xt,_t=dt&&dt[mt];if(_t&&_t.event===yt&&RealtimeChannel.isFilterValueEqual(_t.schema,vt)&&RealtimeChannel.isFilterValueEqual(_t.table,bt)&&RealtimeChannel.isFilterValueEqual(_t.filter,Et))ft.push(Object.assign(Object.assign({},xt),{id:_t.id}));else{this.unsubscribe(),this.state=CHANNEL_STATES.errored,j==null||j(REALTIME_SUBSCRIBE_STATES.CHANNEL_ERROR,new Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=ft,j&&j(REALTIME_SUBSCRIBE_STATES.SUBSCRIBED);return}}).receive("error",dt=>{this.state=CHANNEL_STATES.errored,j==null||j(REALTIME_SUBSCRIBE_STATES.CHANNEL_ERROR,new Error(JSON.stringify(Object.values(dt).join(", ")||"error")))}).receive("timeout",()=>{j==null||j(REALTIME_SUBSCRIBE_STATES.TIMED_OUT)})}return this}presenceState(){return this.presence.state}async track(j,et={}){return await this.send({type:"presence",event:"track",payload:j},et.timeout||this.timeout)}async untrack(j={}){return await this.send({type:"presence",event:"untrack"},j)}on(j,et,tt){return this.state===CHANNEL_STATES.joined&&j===REALTIME_LISTEN_TYPES.PRESENCE&&(this.socket.log("channel",`resubscribe to ${this.topic} due to change in presence callbacks on joined channel`),this.unsubscribe().then(async()=>await this.subscribe())),this._on(j,et,tt)}async httpSend(j,et,tt={}){var rt;if(et==null)return Promise.reject("Payload is required for httpSend()");const nt={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"};this.socket.accessTokenValue&&(nt.Authorization=`Bearer ${this.socket.accessTokenValue}`);const it={method:"POST",headers:nt,body:JSON.stringify({messages:[{topic:this.subTopic,event:j,payload:et,private:this.private}]})},st=await this._fetchWithTimeout(this.broadcastEndpointURL,it,(rt=tt.timeout)!==null&&rt!==void 0?rt:this.timeout);if(st.status===202)return{success:!0};let at=st.statusText;try{const ot=await st.json();at=ot.error||ot.message||at}catch{}return Promise.reject(new Error(at))}async send(j,et={}){var tt,rt;if(!this._canPush()&&j.type==="broadcast"){console.warn("Realtime send() is automatically falling back to REST API. This behavior will be deprecated
636in the future. Please use httpSend() explicitly for REST delivery.");const{event:nt,payload:it}=j,st={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"};this.socket.accessTokenValue&&(st.Authorization=`Bearer ${this.socket.accessTokenValue}`);const at={method:"POST",headers:st,body:JSON.stringify({messages:[{topic:this.subTopic,event:nt,payload:it,private:this.private}]})};try{const ot=await this._fetchWithTimeout(this.broadcastEndpointURL,at,(tt=et.timeout)!==null&&tt!==void 0?tt:this.timeout);return await((rt=ot.body)===null||rt===void 0?void 0:rt.cancel()),ot.ok?"ok":"error"}catch(ot){return ot.name==="AbortError"?"timed out":"error"}}else return new Promise(nt=>{var it,st,at;const ot=this._push(j.type,j,et.timeout||this.timeout);j.type==="broadcast"&&!(!((at=(st=(it=this.params)===null||it===void 0?void 0:it.config)===null||st===void 0?void 0:st.broadcast)===null||at===void 0)&&at.ack)&&nt("ok"),ot.receive("ok",()=>nt("ok")),ot.receive("error",()=>nt("error")),ot.receive("timeout",()=>nt("timed out"))})}updateJoinPayload(j){this.joinPush.updatePayload(j)}unsubscribe(j=this.timeout){this.state=CHANNEL_STATES.leaving;const et=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(CHANNEL_EVENTS.close,"leave",this._joinRef())};this.joinPush.destroy();let tt=null;return new Promise(rt=>{tt=new Push(this,CHANNEL_EVENTS.leave,{},j),tt.receive("ok",()=>{et(),rt("ok")}).receive("timeout",()=>{et(),rt("timed out")}).receive("error",()=>{rt("error")}),tt.send(),this._canPush()||tt.trigger("ok",{})}).finally(()=>{tt==null||tt.destroy()})}teardown(){this.pushBuffer.forEach(j=>j.destroy()),this.pushBuffer=[],this.rejoinTimer.reset(),this.joinPush.destroy(),this.state=CHANNEL_STATES.closed,this.bindings={}}async _fetchWithTimeout(j,et,tt){const rt=new AbortController,nt=setTimeout(()=>rt.abort(),tt),it=await this.socket.fetch(j,Object.assign(Object.assign({},et),{signal:rt.signal}));return clearTimeout(nt),it}_push(j,et,tt=this.timeout){if(!this.joinedOnce)throw`tried to push '${j}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let rt=new Push(this,j,et,tt);return this._canPush()?rt.send():this._addToPushBuffer(rt),rt}_addToPushBuffer(j){if(j.startTimeout(),this.pushBuffer.push(j),this.pushBuffer.length>MAX_PUSH_BUFFER_SIZE){const et=this.pushBuffer.shift();et&&(et.destroy(),this.socket.log("channel",`discarded push due to buffer overflow: ${et.event}`,et.payload))}}_onMessage(j,et,tt){return et}_isMember(j){return this.topic===j}_joinRef(){return this.joinPush.ref}_trigger(j,et,tt){var rt,nt;const it=j.toLocaleLowerCase(),{close:st,error:at,leave:ot,join:lt}=CHANNEL_EVENTS;if(tt&&[st,at,ot,lt].indexOf(it)>=0&&tt!==this._joinRef())return;let ut=this._onMessage(it,et,tt);if(et&&!ut)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(it)?(rt=this.bindings.postgres_changes)===null||rt===void 0||rt.filter(dt=>{var ht,pt,gt;return((ht=dt.filter)===null||ht===void 0?void 0:ht.event)==="*"||((gt=(pt=dt.filter)===null||pt===void 0?void 0:pt.event)===null||gt===void 0?void 0:gt.toLocaleLowerCase())===it}).map(dt=>dt.callback(ut,tt)):(nt=this.bindings[it])===null||nt===void 0||nt.filter(dt=>{var ht,pt,gt,ft,mt,xt;if(["broadcast","presence","postgres_changes"].includes(it))if("id"in dt){const yt=dt.id,vt=(ht=dt.filter)===null||ht===void 0?void 0:ht.event;return yt&&((pt=et.ids)===null||pt===void 0?void 0:pt.includes(yt))&&(vt==="*"||(vt==null?void 0:vt.toLocaleLowerCase())===((gt=et.data)===null||gt===void 0?void 0:gt.type.toLocaleLowerCase()))}else{const yt=(mt=(ft=dt==null?void 0:dt.filter)===null||ft===void 0?void 0:ft.event)===null||mt===void 0?void 0:mt.toLocaleLowerCase();return yt==="*"||yt===((xt=et==null?void 0:et.event)===null||xt===void 0?void 0:xt.toLocaleLowerCase())}else return dt.type.toLocaleLowerCase()===it}).map(dt=>{if(typeof ut=="object"&&"ids"in ut){const ht=ut.data,{schema:pt,table:gt,commit_timestamp:ft,type:mt,errors:xt}=ht;ut=Object.assign(Object.assign({},{schema:pt,table:gt,commit_timestamp:ft,eventType:mt,new:{},old:{},errors:xt}),this._getPayloadRecords(ht))}dt.callback(ut,tt)})}_isClosed(){return this.state===CHANNEL_STATES.closed}_isJoined(){return this.state===CHANNEL_STATES.joined}_isJoining(){return this.state===CHANNEL_STATES.joining}_isLeaving(){return this.state===CHANNEL_STATES.leaving}_replyEventName(j){return`chan_reply_${j}`}_on(j,et,tt){const rt=j.toLocaleLowerCase(),nt={type:rt,filter:et,callback:tt};return this.bindings[rt]?this.bindings[rt].push(nt):this.bindings[rt]=[nt],this}_off(j,et){const tt=j.toLocaleLowerCase();return this.bindings[tt]&&(this.bindings[tt]=this.bindings[tt].filter(rt=>{var nt;return!(((nt=rt.type)===null||nt===void 0?void 0:nt.toLocaleLowerCase())===tt&&RealtimeChannel.isEqual(rt.filter,et))})),this}static isEqual(j,et){if(Object.keys(j).length!==Object.keys(et).length)return!1;for(const tt in j)if(j[tt]!==et[tt])return!1;return!0}static isFilterValueEqual(j,et){return(j??void 0)===(et??void 0)}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(j){this._on(CHANNEL_EVENTS.close,{},j)}_onError(j){this._on(CHANNEL_EVENTS.error,{},et=>j(et))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(j=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=CHANNEL_STATES.joining,this.joinPush.resend(j))}_getPayloadRecords(j){const et={new:{},old:{}};
636return(j.type==="INSERT"||j.type==="UPDATE")&&(et.new=convertChangeData(j.columns,j.record)),(j.type==="UPDATE"||j.type==="DELETE")&&(et.old=convertChangeData(j.columns,j.old_record)),et}}const noop$6=()=>{},CONNECTION_TIMEOUTS={HEARTBEAT_INTERVAL:25e3,RECONNECT_DELAY:10,HEARTBEAT_TIMEOUT_FALLBACK:100},RECONNECT_INTERVALS=[1e3,2e3,5e3,1e4],DEFAULT_RECONNECT_FALLBACK=1e4,WORKER_SCRIPT=` 637 addEventListener("message", (e) => { 638 if (e.data.event === "start") { 639 setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval); 640 } 641 });`;class RealtimeClient{constructor(j,et){var tt;if(this.accessTokenValue=null,this.apiKey=null,this._manuallySetToken=!1,this.channels=new Array,this.endPoint="",this.httpEndpoint="",this.headers={},this.params={},this.timeout=DEFAULT_TIMEOUT,this.transport=null,this.heartbeatIntervalMs=CONNECTION_TIMEOUTS.HEARTBEAT_INTERVAL,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.heartbeatCallback=noop$6,this.ref=0,this.reconnectTimer=null,this.vsn=DEFAULT_VSN,this.logger=noop$6,this.conn=null,this.sendBuffer=[],this.serializer=new Serializer,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.accessToken=null,this._connectionState="disconnected",this._wasManualDisconnect=!1,this._authPromise=null,this._resolveFetch=rt=>rt?(...nt)=>rt(...nt):(...nt)=>fetch(...nt),!(!((tt=et==null?void 0:et.params)===null||tt===void 0)&&tt.apikey))throw new Error("API key is required to connect to Realtime");this.apiKey=et.params.apikey,this.endPoint=`${j}/${TRANSPORTS.websocket}`,this.httpEndpoint=httpEndpointURL(j),this._initializeOptions(et),this._setupReconnectionTimer(),this.fetch=this._resolveFetch(et==null?void 0:et.fetch)}connect(){if(!(this.isConnecting()||this.isDisconnecting()||this.conn!==null&&this.isConnected())){if(this._setConnectionState("connecting"),this.accessToken&&!this._authPromise&&this._setAuthSafely("connect"),this.transport)this.conn=new this.transport(this.endpointURL());else try{this.conn=WebSocketFactory.createWebSocket(this.endpointURL())}catch(j){this._setConnectionState("disconnected");const et=j.message;throw et.includes("Node.js")?new Error(`${et} 642 643To use Realtime in Node.js, you need to provide a WebSocket implementation: 644 645Option 1: Use Node.js 22+ which has native WebSocket support 646Option 2: Install and provide the "ws" package: 647 648 npm install ws 649 650 import ws from "ws" 651 const client = new RealtimeClient(url, { 652 ...options, 653 transport: ws 654 })`):new Error(`WebSocket not available: ${et}`)}this._setupConnectionHandlers()}}endpointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:this.vsn}))}disconnect(j,et){if(!this.isDisconnecting())if(this._setConnectionState("disconnecting",!0),this.conn){const tt=setTimeout(()=>{this._setConnectionState("disconnected")},100);this.conn.onclose=()=>{clearTimeout(tt),this._setConnectionState("disconnected")},typeof this.conn.close=="function"&&(j?this.conn.close(j,et??""):this.conn.close()),this._teardownConnection()}else this._setConnectionState("disconnected")}getChannels(){return this.channels}async removeChannel(j){const et=await j.unsubscribe();return this.channels.length===0&&this.disconnect(),et}async removeAllChannels(){const j=await Promise.all(this.channels.map(et=>et.unsubscribe()));return this.channels=[],this.disconnect(),j}log(j,et,tt){this.logger(j,et,tt)}connectionState(){switch(this.conn&&this.conn.readyState){case SOCKET_STATES.connecting:return CONNECTION_STATE.Connecting;case SOCKET_STATES.open:return CONNECTION_STATE.Open;case SOCKET_STATES.closing:return CONNECTION_STATE.Closing;default:return CONNECTION_STATE.Closed}}isConnected(){return this.connectionState()===CONNECTION_STATE.Open}isConnecting(){return this._connectionState==="connecting"}isDisconnecting(){return this._connectionState==="disconnecting"}channel(j,et={config:{}}){const tt=`realtime:${j}`,rt=this.getChannels().find(nt=>nt.topic===tt);if(rt)return rt;{const nt=new RealtimeChannel(`realtime:${j}`,et,this);return this.channels.push(nt),nt}}push(j){const{topic:et,event:tt,payload:rt,ref:nt}=j,it=()=>{this.encode(j,st=>{var at;(at=this.conn)===null||at===void 0||at.send(st)})};this.log("push",`${et} ${tt} (${nt})`,rt),this.isConnected()?it():this.sendBuffer.push(it)}async setAuth(j=null){this._authPromise=this._performAuth(j);try{await this._authPromise}finally{this._authPromise=null}}_isManualToken(){return this._manuallySetToken}async sendHeartbeat(){var j;if(!this.isConnected()){try{this.heartbeatCallback("disconnected")}catch(et){this.log("error","error in heartbeat callback",et)}return}if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection");try{this.heartbeatCallback("timeout")}catch(et){this.log("error","error in heartbeat callback",et)}this._wasManualDisconnect=!1,(j=this.conn)===null||j===void 0||j.close(WS_CLOSE_NORMAL,"heartbeat timeout"),setTimeout(()=>{var et;this.isConnected()||(et=this.reconnectTimer)===null||et===void 0||et.scheduleTimeout()},CONNECTION_TIMEOUTS.HEARTBEAT_TIMEOUT_FALLBACK);return}this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef});try{this.heartbeatCallback("sent")}catch(et){this.log("error","error in heartbeat callback",et)}this._setAuthSafely("heartbeat")}onHeartbeat(j){this.heartbeatCallback=j}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(j=>j()),this.sendBuffer=[])}_makeRef(){let j=this.ref+1;return j===this.ref?this.ref=0:this.ref=j,this.ref.toString()}_leaveOpenTopic(j){let et=this.channels.find(tt=>tt.topic===j&&(tt._isJoined()||tt._isJoining()));et&&(this.log("transport",`leaving duplicate topic "${j}"`),et.unsubscribe())}_remove(j){this.channels=this.channels.filter(et=>et.topic!==j.topic)}_onConnMessage(j){this.decode(j.data,et=>{if(et.topic==="phoenix"&&et.event==="phx_reply")try{this.heartbeatCallback(et.payload.status==="ok"?"ok":"error")}catch(ot){this.log("error","error in heartbeat callback",ot)}et.ref&&et.ref===this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null);const{topic:tt,event:rt,payload:nt,ref:it}=et,st=it?`(${it})`:"",at=nt.status||"";this.log("receive",`${at} ${tt} ${rt} ${st}`.trim(),nt),this.channels.filter(ot=>
654ot._isMember(tt)).forEach(ot=>ot._trigger(rt,nt,it)),this._triggerStateCallbacks("message",et)})}_clearTimer(j){var et;j==="heartbeat"&&this.heartbeatTimer?(clearInterval(this.heartbeatTimer),this.heartbeatTimer=void 0):j==="reconnect"&&((et=this.reconnectTimer)===null||et===void 0||et.reset())}_clearAllTimers(){this._clearTimer("heartbeat"),this._clearTimer("reconnect")}_setupConnectionHandlers(){this.conn&&("binaryType"in this.conn&&(this.conn.binaryType="arraybuffer"),this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=j=>this._onConnError(j),this.conn.onmessage=j=>this._onConnMessage(j),this.conn.onclose=j=>this._onConnClose(j),this.conn.readyState===SOCKET_STATES.open&&this._onConnOpen())}_teardownConnection(){if(this.conn){if(this.conn.readyState===SOCKET_STATES.open||this.conn.readyState===SOCKET_STATES.connecting)try{this.conn.close()}catch(j){this.log("error","Error closing connection",j)}this.conn.onopen=null,this.conn.onerror=null,this.conn.onmessage=null,this.conn.onclose=null,this.conn=null}this._clearAllTimers(),this._terminateWorker(),this.channels.forEach(j=>j.teardown())}_onConnOpen(){this._setConnectionState("connected"),this.log("transport",`connected to ${this.endpointURL()}`),(this._authPromise||(this.accessToken&&!this.accessTokenValue?this.setAuth():Promise.resolve())).then(()=>{this.flushSendBuffer()}).catch(et=>{this.log("error","error waiting for auth on connect",et),this.flushSendBuffer()}),this._clearTimer("reconnect"),this.worker?this.workerRef||this._startWorkerHeartbeat():this._startHeartbeat(),this._triggerStateCallbacks("open")}_startHeartbeat(){this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)}_startWorkerHeartbeat(){this.workerUrl?this.log("worker",`starting worker for from ${this.workerUrl}`):this.log("worker","starting default worker");const j=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(j),this.workerRef.onerror=et=>{this.log("worker","worker error",et.message),this._terminateWorker()},this.workerRef.onmessage=et=>{et.data.event==="keepAlive"&&this.sendHeartbeat()},this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}_terminateWorker(){this.workerRef&&(this.log("worker","terminating worker"),this.workerRef.terminate(),this.workerRef=void 0)}_onConnClose(j){var et;this._setConnectionState("disconnected"),this.log("transport","close",j),this._triggerChanError(),this._clearTimer("heartbeat"),this._wasManualDisconnect||(et=this.reconnectTimer)===null||et===void 0||et.scheduleTimeout(),this._triggerStateCallbacks("close",j)}_onConnError(j){this._setConnectionState("disconnected"),this.log("transport",`${j}`),this._triggerChanError(),this._triggerStateCallbacks("error",j)}_triggerChanError(){this.channels.forEach(j=>j._trigger(CHANNEL_EVENTS.error))}_appendParams(j,et){if(Object.keys(et).length===0)return j;const tt=j.match(/\?/)?"&":"?",rt=new URLSearchParams(et);return`${j}${tt}${rt}`}_workerObjectUrl(j){let et;if(j)et=j;else{const tt=new Blob([WORKER_SCRIPT],{type:"application/javascript"});et=URL.createObjectURL(tt)}return et}_setConnectionState(j,et=!1){this._connectionState=j,j==="connecting"?this._wasManualDisconnect=!1:j==="disconnecting"&&(this._wasManualDisconnect=et)}async _performAuth(j=null){let et,tt=!1;if(j)et=j,tt=!0;else if(this.accessToken)try{et=await this.accessToken()}catch(rt){this.log("error","Error fetching access token from callback",rt),et=this.accessTokenValue}else et=this.accessTokenValue;tt?this._manuallySetToken=!0:this.accessToken&&(this._manuallySetToken=!1),this.accessTokenValue!=et&&(this.accessTokenValue=et,this.channels.forEach(rt=>{const nt={access_token:et,version:DEFAULT_VERSION};et&&rt.updateJoinPayload(nt),rt.joinedOnce&&rt._isJoined()&&rt._push(CHANNEL_EVENTS.access_token,{access_token:et})}))}async _waitForAuthIfNeeded(){this._authPromise&&await this._authPromise}_setAuthSafely(j="general"){this._isManualToken()||this.setAuth().catch(et=>{this.log("error",`Error setting auth in ${j}`,et)})}_triggerStateCallbacks(j,et){try{this.stateChangeCallbacks[j].forEac
654h(tt=>{try{tt(et)}catch(rt){this.log("error",`error in ${j} callback`,rt)}})}catch(tt){this.log("error",`error triggering ${j} callbacks`,tt)}}_setupReconnectionTimer(){this.reconnectTimer=new Timer(async()=>{setTimeout(async()=>{await this._waitForAuthIfNeeded(),this.isConnected()||this.connect()},CONNECTION_TIMEOUTS.RECONNECT_DELAY)},this.reconnectAfterMs)}_initializeOptions(j){var et,tt,rt,nt,it,st,at,ot,lt,ct,ut,dt;switch(this.transport=(et=j==null?void 0:j.transport)!==null&&et!==void 0?et:null,this.timeout=(tt=j==null?void 0:j.timeout)!==null&&tt!==void 0?tt:DEFAULT_TIMEOUT,this.heartbeatIntervalMs=(rt=j==null?void 0:j.heartbeatIntervalMs)!==null&&rt!==void 0?rt:CONNECTION_TIMEOUTS.HEARTBEAT_INTERVAL,this.worker=(nt=j==null?void 0:j.worker)!==null&&nt!==void 0?nt:!1,this.accessToken=(it=j==null?void 0:j.accessToken)!==null&&it!==void 0?it:null,this.heartbeatCallback=(st=j==null?void 0:j.heartbeatCallback)!==null&&st!==void 0?st:noop$6,this.vsn=(at=j==null?void 0:j.vsn)!==null&&at!==void 0?at:DEFAULT_VSN,j!=null&&j.params&&(this.params=j.params),j!=null&&j.logger&&(this.logger=j.logger),(j!=null&&j.logLevel||j!=null&&j.log_level)&&(this.logLevel=j.logLevel||j.log_level,this.params=Object.assign(Object.assign({},this.params),{log_level:this.logLevel})),this.reconnectAfterMs=(ot=j==null?void 0:j.reconnectAfterMs)!==null&&ot!==void 0?ot:ht=>RECONNECT_INTERVALS[ht-1]||DEFAULT_RECONNECT_FALLBACK,this.vsn){case VSN_1_0_0:this.encode=(lt=j==null?void 0:j.encode)!==null&<!==void 0?lt:(ht,pt)=>pt(JSON.stringify(ht)),this.decode=(ct=j==null?void 0:j.decode)!==null&&ct!==void 0?ct:(ht,pt)=>pt(JSON.parse(ht));break;case VSN_2_0_0:this.encode=(ut=j==null?void 0:j.encode)!==null&&ut!==void 0?ut:this.serializer.encode.bind(this.serializer),this.decode=(dt=j==null?void 0:j.decode)!==null&&dt!==void 0?dt:this.serializer.decode.bind(this.serializer);break;default:throw new Error(`Unsupported serializer version: ${this.vsn}`)}if(this.worker){if(typeof window<"u"&&!window.Worker)throw new Error("Web Worker is not supported");this.workerUrl=j==null?void 0:j.workerUrl}}}var IcebergError=class extends Error{constructor(_,j){var et;super(_),this.name="IcebergError",this.status=j.status,this.icebergType=j.icebergType,this.icebergCode=j.icebergCode,this.details=j.details,this.isCommitStateUnknown=j.icebergType==="CommitStateUnknownException"||[500,502,504].includes(j.status)&&((et=j.icebergType)==null?void 0:et.includes("CommitState"))===!0}isNotFound(){return this.status===404}isConflict(){return this.status===409}isAuthenticationTimeout(){return this.status===419}};function buildUrl(_,j,et){const tt=new URL(j,_);if(et)for(const[rt,nt]of Object.entries(et))nt!==void 0&&tt.searchParams.set(rt,nt);return tt.toString()}async function buildAuthHeaders(_){return!_||_.type==="none"?{}:_.type==="bearer"?{Authorization:`Bearer ${_.token}`}:_.type==="header"?{[_.name]:_.value}:_.type==="custom"?await _.getHeaders():{}}function createFetchClient(_){const j=_.fetchImpl??globalThis.fetch;return{async request({method:et,path:tt,query:rt,body:nt,headers:it}){const st=buildUrl(_.baseUrl,tt,rt),at=await buildAuthHeaders(_.auth),ot=await j(st,{method:et,headers:{...nt?{"Content-Type":"application/json"}:{},...at,...it},body:nt?JSON.stringify(nt):void 0}),lt=await ot.text(),ct=(ot.headers.get("content-type")||"").includes("application/json"),ut=ct&<?JSON.parse(lt):lt;if(!ot.ok){const dt=ct?ut:void 0,ht=dt==null?void 0:dt.error;throw new IcebergError((ht==null?void 0:ht.message)??`Request failed with status ${ot.status}`,{status:ot.status,icebergType:ht==null?void 0:ht.type,icebergCode:ht==null?void 0:ht.code,details:dt})}return{status:ot.status,headers:ot.headers,data:ut}}}}function namespaceToPath(_){return _.join("�")}var NamespaceOperations=class{constructor(_,j=""){this.client=_,this.prefix=j}async listNamespaces(_){const j=_?{parent:namespaceToPath(_.namespace)}:void 0;return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces`,query:j})).data.namespaces.map(tt=>({namespace:tt}))}async createNamespace(_,j){const et={namespace:_.namespace,properties:j==null?void 0:j.properties};return(await this.client.request({method:"POST",path:`${this.prefix}/namespaces`,body:et})).data}async dropNamespace(_){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${namespaceToPath(_.namespace)}`})}async loadNamespaceMetadata(_){return{properties:(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${namespaceToPath(_.namespace)}`})).data.properties}}async namespaceExists(_){try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${namespaceToPath(_.namespace)}`}),!0}catch(j){if(j instanceof IcebergError&&j.status===404)return!1;throw j}}async createNamespaceIfNotExists(_,j){try{return await this.createNamespace(_,j)}catch(et){if(et instanceof IcebergError&&et.status===409)return;throw et}}};function namespaceToPath2(_){return _.join("�")}var TableOperations=class{constructor(_,j="",et){this.client=_,this.prefix=j,this.accessDelegation=et}async listTables(_){return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${namespaceToPath2(_.namespace)}/tables`})).data.identifiers}async createTable(_,j){const et={};return this.accessDelegation&&(et["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${namespaceToPath2(_.namespace)}/tables`,body:j,headers:et})).data.metadata}async updateTable(_,j){const et=await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${namespaceToPath2(_.namespace)}/tables/${_.name}`,body:j});return{"metadata-location":et.data["metadata-location"],metadata:et.data.metadata}}async dropTable(_,j){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${namespaceToPath2(_.namespace)}/tables/${_.name}`,query:{purgeRequested:String((j==null?void 0:j.purge)??!1)}})}async loadTable(_){const j={};return this.accessDelegation&&(j["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${namespaceToPath2(_.namespace)}/tables/${_.name}`,headers:j})).data.metadata}async tableExists(_){const j={};this.accessDelegation&&(j["X-Iceberg-Access-Delegation"]=this.accessDelegation);try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${namespaceToPath2(_.namespace)}/tables/${_.name}`,headers:j}),!0}catch(et){if(et instanceof IcebergError&&et.status===404)return!1;throw et}}async createTableIfNotExists(_,j){try{return await this.createTable(_,j)}catch(et){if(et instanceof IcebergError&&et.status===409)return await this.loadTable({namespace:_.namespace,name:j.name});throw et}}},IcebergRestCatalog=class{constructor(_){var tt;let j="v1";_.catalogName&&(j+=`/${_.catalogName}`);const et=_.baseUrl.endsWith("/")?_.baseUrl:`${_.baseUrl}/`;this.client=createFetchClient({baseUrl:et,auth:_.auth,fetchImpl:_.fetch}),this.accessDelegation=(tt=_.accessDelegation)==null?void 0:tt.join(","),this.namespaceOps=new NamespaceOperations(this.client,j),this.tableOps=new TableOperations(this.client,j,this.accessDelegation)}async listNamespaces(_){return this.namespaceOps.listNamespaces(_)}async createNamespace(_,j){return this.namespaceOps.createNamespace(_,j)}async dropNamespace(_){await this.namespaceOps.dropNamespace(_)}async loadNamespaceMetadata(_){return this.namespaceOps.loadNamespaceMetadata(_)}async listTables(_){return this.tableOps.listTables(_)}
654async createTable(_,j){return this.tableOps.createTable(_,j)}async updateTable(_,j){return this.tableOps.updateTable(_,j)}async dropTable(_,j){await this.tableOps.dropTable(_,j)}async loadTable(_){return this.tableOps.loadTable(_)}async namespaceExists(_){return this.namespaceOps.namespaceExists(_)}async tableExists(_){return this.tableOps.tableExists(_)}async createNamespaceIfNotExists(_,j){return this.namespaceOps.createNamespaceIfNotExists(_,j)}async createTableIfNotExists(_,j){return this.tableOps.createTableIfNotExists(_,j)}},StorageError=class extends Error{constructor(_){super(_),this.__isStorageError=!0,this.name="StorageError"}};function isStorageError(_){return typeof _=="object"&&_!==null&&"__isStorageError"in _}var StorageApiError=class extends StorageError{constructor(_,j,et){super(_),this.name="StorageApiError",this.status=j,this.statusCode=et}toJSON(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}}},StorageUnknownError=class extends StorageError{constructor(_,j){super(_),this.name="StorageUnknownError",this.originalError=j}};const resolveFetch$1$1=_=>_?(...j)=>_(...j):(...j)=>fetch(...j),resolveResponse$1=()=>Response,recursiveToCamel=_=>{if(Array.isArray(_))return _.map(et=>recursiveToCamel(et));if(typeof _=="function"||_!==Object(_))return _;const j={};return Object.entries(_).forEach(([et,tt])=>{const rt=et.replace(/([-_][a-z])/gi,nt=>nt.toUpperCase().replace(/[-_]/g,""));j[rt]=recursiveToCamel(tt)}),j},isPlainObject$1$1=_=>{if(typeof _!="object"||_===null)return!1;const j=Object.getPrototypeOf(_);return(j===null||j===Object.prototype||Object.getPrototypeOf(j)===null)&&!(Symbol.toStringTag in _)&&!(Symbol.iterator in _)},isValidBucketName=_=>!_||typeof _!="string"||_.length===0||_.length>100||_.trim()!==_||_.includes("/")||_.includes("\\")?!1:/^[\w!.\*'() &$@=;:+,?-]+$/.test(_);function _typeof$N(_){"@babel/helpers - typeof";return _typeof$N=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$N(_)}function toPrimitive$1(_,j){if(_typeof$N(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$N(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function toPropertyKey$1(_){var j=toPrimitive$1(_,"string");return _typeof$N(j)=="symbol"?j:j+""}function _defineProperty$L(_,j,et){return(j=toPropertyKey$1(j))in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function ownKeys$F(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread2$2(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$F(Object(et),!0).forEach(function(tt){_defineProperty$L(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$F(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}const _getErrorMessage$1=_=>{var j;return _.msg||_.message||_.error_description||(typeof _.error=="string"?_.error:(j=_.error)===null||j===void 0?void 0:j.message)||JSON.stringify(_)},handleError$1=async(_,j,et)=>{_ instanceof await resolveResponse$1()&&!(et!=null&&et.noResolveJson)?_.json().then(tt=>{const rt=_.status||500,nt=(tt==null?void 0:tt.statusCode)||rt+"";j(new StorageApiError(_getErrorMessage$1(tt),rt,nt))}).catch(tt=>{j(new StorageUnknownError(_getErrorMessage$1(tt),tt))}):j(new StorageUnknownError(_getErrorMessage$1(_),_))}
654,_getRequestParams$1=(_,j,et,tt)=>{const rt={method:_,headers:(j==null?void 0:j.headers)||{}};return _==="GET"||!tt?rt:(isPlainObject$1$1(tt)?(rt.headers=_objectSpread2$2({"Content-Type":"application/json"},j==null?void 0:j.headers),rt.body=JSON.stringify(tt)):rt.body=tt,j!=null&&j.duplex&&(rt.duplex=j.duplex),_objectSpread2$2(_objectSpread2$2({},rt),et))};async function _handleRequest$1(_,j,et,tt,rt,nt){return new Promise((it,st)=>{_(et,_getRequestParams$1(j,tt,rt,nt)).then(at=>{if(!at.ok)throw at;return tt!=null&&tt.noResolveJson?at:at.json()}).then(at=>it(at)).catch(at=>handleError$1(at,st,tt))})}async function get$4(_,j,et,tt){return _handleRequest$1(_,"GET",j,et,tt)}async function post$1(_,j,et,tt,rt){return _handleRequest$1(_,"POST",j,tt,rt,et)}async function put(_,j,et,tt,rt){return _handleRequest$1(_,"PUT",j,tt,rt,et)}async function head(_,j,et,tt){return _handleRequest$1(_,"HEAD",j,_objectSpread2$2(_objectSpread2$2({},et),{},{noResolveJson:!0}),tt)}async function remove(_,j,et,tt,rt){return _handleRequest$1(_,"DELETE",j,tt,rt,et)}var StreamDownloadBuilder=class{constructor(_,j){this.downloadFn=_,this.shouldThrowOnError=j}then(_,j){return this.execute().then(_,j)}async execute(){var _=this;try{return{data:(await _.downloadFn()).body,error:null}}catch(j){if(_.shouldThrowOnError)throw j;if(isStorageError(j))return{data:null,error:j};throw j}}};let _Symbol$toStringTag;_Symbol$toStringTag=Symbol.toStringTag;var BlobDownloadBuilder=class{constructor(_,j){this.downloadFn=_,this.shouldThrowOnError=j,this[_Symbol$toStringTag]="BlobDownloadBuilder",this.promise=null}asStream(){return new StreamDownloadBuilder(this.downloadFn,this.shouldThrowOnError)}then(_,j){return this.getPromise().then(_,j)}catch(_){return this.getPromise().catch(_)}finally(_){return this.getPromise().finally(_)}getPromise(){return this.promise||(this.promise=this.execute()),this.promise}async execute(){var _=this;try{return{data:await(await _.downloadFn()).blob(),error:null}}catch(j){if(_.shouldThrowOnError)throw j;if(isStorageError(j))return{data:null,error:j};throw j}}};const DEFAULT_SEARCH_OPTIONS={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},DEFAULT_FILE_OPTIONS={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};var StorageFileApi=class{constructor(_,j={},et,tt){this.shouldThrowOnError=!1,this.url=_,this.headers=j,this.bucketId=et,this.fetch=resolveFetch$1$1(tt)}throwOnError(){return this.shouldThrowOnError=!0,this}async uploadOrUpdate(_,j,et,tt){var rt=this;try{let nt;const it=_objectSpread2$2(_objectSpread2$2({},DEFAULT_FILE_OPTIONS),tt);let st=_objectSpread2$2(_objectSpread2$2({},rt.headers),_==="POST"&&{"x-upsert":String(it.upsert)});const at=it.metadata;typeof Blob<"u"&&et instanceof Blob?(nt=new FormData,nt.append("cacheControl",it.cacheControl),at&&nt.append("metadata",rt.encodeMetadata(at)),nt.append("",et)):typeof FormData<"u"&&et instanceof FormData?(nt=et,nt.has("cacheControl")||nt.append("cacheControl",it.cacheControl),at&&!nt.has("metadata")&&nt.append("metadata",rt.encodeMetadata(at))):(nt=et,st["cache-control"]=`max-age=${it.cacheControl}`,st["content-type"]=it.contentType,at&&(st["x-metadata"]=rt.toBase64(rt.encodeMetadata(at))),(typeof ReadableStream<"u"&&nt instanceof ReadableStream||nt&&typeof nt=="object"&&"pipe"in nt&&typeof nt.pipe=="function")&&!it.duplex&&(it.duplex="half")),tt!=null&&tt.headers&&(st=_objectSpread2$2(_objectSpread2$2({},st),tt.headers));const ot=rt._removeEmptyFolders(j),lt=rt._getFinalPath(ot),ct=await(_=="PUT"?put:post$1)(rt.fetch,`${rt.url}/object/${lt}`,nt,_objectSpread2$2({headers:st},it!=null&&it.duplex?{duplex:it.duplex}:{}));return{data:{path:ot,id:ct.Id,fullPath:ct.Key},error:null}}catch(nt){if(rt.shouldThrowOnError)throw nt;if(isStorageError(nt))return{data:null,error:nt};throw nt}}async upload(_,j,et){return this.uploadOrUpdate("POST",_,j,et)}async uploadToSignedUrl(_,j,et,tt){var rt=this;const nt=rt._removeEmptyFolders(_),it=rt._getFinalPath(nt),st=new URL(rt.url+`/object/upload/sign/${it}`);st.searchParams.set("token",j);try{let at;const ot=_objectSpread2$2({upsert:DEFAULT_FILE_OPTIONS.upsert},tt),lt=_objectSpread2$2(_objectSpread2$2({},rt.headers),{"x-upsert":String(ot.upsert)});return typeof Blob<"u"&&et instanceof Blob?(at=new FormData,at.append("cacheControl",ot.cacheControl),at.append("",et)):typeof FormData<"u"&&et instanceof FormData?(at=et,at.append("cacheControl",ot.cacheControl)):(at=et,lt["cache-control"]=`max-age=${ot.cacheControl}`,lt["content-type"]=ot.contentType),{data:{path:nt,fullPath:(await put(rt.fetch,st.toString(),at,{headers:lt})).Key},error:null}}catch(at){if(rt.shouldThrowOnError)throw at;if(isStorageError(at))return{data:null,error:at};throw at}}async createSignedUploadUrl(_,j){var et=this;try{let tt=et._getFinalPath(_);const rt=_objectSpread2$2({},et.headers);j!=null&&j.upsert&&(rt["x-upsert"]="true");const nt=await post$1(et.fetch,`${et.url}/object/upload/sign/${tt}`,{},{headers:rt}),it=new URL(et.url+nt.url),st=it.searchParams.get("token");if(!st)throw new StorageError("No token returned by API");return{data:{signedUrl:it.toString(),path:_,token:st},error:null}}catch(tt){if(et.shouldThrowOnError)throw tt;if(isStorageError(tt))return{data:null,error:tt};throw tt}}async update(_,j,et){return this.uploadOrUpdate("PUT",_,j,et)}async move(_,j,et){var tt=this;try{return{data:await post$1(tt.fetch,`${tt.url}/object/move`,{bucketId:tt.bucketId,sourceKey:_,destinationKey:j,destinationBucket:et==null?void 0:et.destinationBucket},{headers:tt.headers}),error:null}}catch(rt){if(tt.shouldThrowOnError)throw rt;if(isStorageError(rt))return{data:null,error:rt};throw rt}}async copy(_,j,et){var tt=this;try{return{data:{path:(await post$1(tt.fetch,`${tt.url}/object/copy`,{bucketId:tt.bucketId,sourceKey:_,destinationKey:j,destinationBucket:et==null?void 0:et.destinationBucket},{headers:tt.headers})).Key},error:null}}catch(rt){if(tt.shouldThrowOnError)throw rt;if(isStorageError(rt))return{data:null,error:rt};throw rt}}async createSignedUrl(_,j,et){var tt=this;try{let rt=tt._getFinalPath(_),nt=await post$1(tt.fetch,`${tt.url}/object/sign/${rt}
654`,_objectSpread2$2({expiresIn:j},et!=null&&et.transform?{transform:et.transform}:{}),{headers:tt.headers});const it=et!=null&&et.download?`&download=${et.download===!0?"":et.download}`:"";return nt={signedUrl:encodeURI(`${tt.url}${nt.signedURL}${it}`)},{data:nt,error:null}}catch(rt){if(tt.shouldThrowOnError)throw rt;if(isStorageError(rt))return{data:null,error:rt};throw rt}}async createSignedUrls(_,j,et){var tt=this;try{const rt=await post$1(tt.fetch,`${tt.url}/object/sign/${tt.bucketId}`,{expiresIn:j,paths:_},{headers:tt.headers}),nt=et!=null&&et.download?`&download=${et.download===!0?"":et.download}`:"";return{data:rt.map(it=>_objectSpread2$2(_objectSpread2$2({},it),{},{signedUrl:it.signedURL?encodeURI(`${tt.url}${it.signedURL}${nt}`):null})),error:null}}catch(rt){if(tt.shouldThrowOnError)throw rt;if(isStorageError(rt))return{data:null,error:rt};throw rt}}download(_,j){const et=typeof(j==null?void 0:j.transform)<"u"?"render/image/authenticated":"object",tt=this.transformOptsToQueryString((j==null?void 0:j.transform)||{}),rt=tt?`?${tt}`:"",nt=this._getFinalPath(_),it=()=>get$4(this.fetch,`${this.url}/${et}/${nt}${rt}`,{headers:this.headers,noResolveJson:!0});return new BlobDownloadBuilder(it,this.shouldThrowOnError)}async info(_){var j=this;const et=j._getFinalPath(_);try{return{data:recursiveToCamel(await get$4(j.fetch,`${j.url}/object/info/${et}`,{headers:j.headers})),error:null}}catch(tt){if(j.shouldThrowOnError)throw tt;if(isStorageError(tt))return{data:null,error:tt};throw tt}}async exists(_){var j=this;const et=j._getFinalPath(_);try{return await head(j.fetch,`${j.url}/object/${et}`,{headers:j.headers}),{data:!0,error:null}}catch(tt){if(j.shouldThrowOnError)throw tt;if(isStorageError(tt)&&tt instanceof StorageUnknownError){const rt=tt.originalError;if([400,404].includes(rt==null?void 0:rt.status))return{data:!1,error:tt}}throw tt}}getPublicUrl(_,j){const et=this._getFinalPath(_),tt=[],rt=j!=null&&j.download?`download=${j.download===!0?"":j.download}`:"";rt!==""&&tt.push(rt);const nt=typeof(j==null?void 0:j.transform)<"u"?"render/image":"object",it=this.transformOptsToQueryString((j==null?void 0:j.transform)||{});it!==""&&tt.push(it);let st=tt.join("&");return st!==""&&(st=`?${st}`),{data:{publicUrl:encodeURI(`${this.url}/${nt}/public/${et}${st}`)}}}async remove(_){var j=this;try{return{data:await remove(j.fetch,`${j.url}/object/${j.bucketId}`,{prefixes:_},{headers:j.headers}),error:null}}catch(et){if(j.shouldThrowOnError)throw et;if(isStorageError(et))return{data:null,error:et};throw et}}async list(_,j,et){var tt=this;try{const rt=_objectSpread2$2(_objectSpread2$2(_objectSpread2$2({},DEFAULT_SEARCH_OPTIONS),j),{},{prefix:_||""});return{data:await post$1(tt.fetch,`${tt.url}/object/list/${tt.bucketId}`,rt,{headers:tt.headers},et),error:null}}catch(rt){if(tt.shouldThrowOnError)throw rt;if(isStorageError(rt))return{data:null,error:rt};throw rt}}async listV2(_,j){var et=this;try{const tt=_objectSpread2$2({},_);return{data:await post$1(et.fetch,`${et.url}/object/list-v2/${et.bucketId}`,tt,{headers:et.headers},j),error:null}}catch(tt){if(et.shouldThrowOnError)throw tt;if(isStorageError(tt))return{data:null,error:tt};throw tt}}encodeMetadata(_){return JSON.stringify(_)}toBase64(_){return typeof Buffer<"u"?Buffer.from(_).toString("base64"):btoa(_)}_getFinalPath(_){return`${this.bucketId}/${_.replace(/^\/+/,"")}`}_removeEmptyFolders(_){return _.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(_){const j=[];return _.width&&j.push(`width=${_.width}`),_.height&&j.push(`height=${_.height}`),_.resize&&j.push(`resize=${_.resize}`),_.format&&j.push(`format=${_.format}`),_.quality&&j.push(`quality=${_.quality}`),j.join("&")}};const version$3="2.89.0",DEFAULT_HEADERS$1$1={"X-Client-Info":`storage-js/${version$3}`};var StorageBucketApi=class{constructor(_,j={},et,tt){this.shouldThrowOnError=!1;const rt=new URL(_);tt!=null&&tt.useNewHostname&&/supabase\.(co|in|red)$/.test(rt.hostname)&&!rt.hostname.includes("storage.supabase.")&&(rt.hostname=rt.hostname.replace("supabase.","storage.supabase.")),this.url=rt.href.replace(/\/$/,""),this.headers=_objectSpread2$2(_objectSpread2$2({},DEFAULT_HEADERS$1$1),j),this.fetch=resolveFetch$1$1(et)}throwOnError(){return this.shouldThrowOnError=!0,this}async listBuckets(_){var j=this;try{const et=j.listBucketOptionsToQueryString(_);return{data:await get$4(j.fetch,`${j.url}/bucket${et}`,{headers:j.headers}),error:null}}catch(et){if(j.shouldThrowOnError)throw et;if(isStorageError(et))return{data:null,error:et};throw et}}async getBucket(_){var j=this;try{return{data:await get$4(j.fetch,`${j.url}/bucket/${_}`,{headers:j.headers}),error:null}}catch(et){if(j.shouldThrowOnError)throw et;if(isStorageError(et))return{data:null,error:et};throw et}}async createBucket(_,j={public:!1}){var et=this;try{return{data:await post$1(et.fetch,`${et.url}/bucket`,{id:_,name:_,type:j.type,public:j.public,file_size_limit:j.fileSizeLimit,allowed_mime_types:j.allowedMimeTypes},{headers:et.headers}),error:null}}catch(tt){if(et.shouldThrowOnError)throw tt;if(isStorageError(tt))return{data:null,error:tt};throw tt}}async updateBucket(_,j){var et=this;try{return{data:await put(et.fetch,`${et.url}/bucket/${_}`,{id:_,name:_,public:j.public,file_size_limit:j.fileSizeLimit,allowed_mime_types:j.allowedMimeTypes},{headers:et.headers}),error:null}}catch(tt){if(et.shouldThrowOnError)throw tt;if(isStorageError(tt))return{data:null,error:tt};throw tt}}async emptyBucket(_){var j=this;try{return{data:await post$1(j.fetch,`${j.url}/bucket/${_}/empty`,{},{headers:j.headers}),error:null}}catch(et){if(j.shouldThrowOnError)throw et;if(isStorageError(et))return{data:null,error:et};throw et}}async deleteBucket(_){var j=this;try{return{data:await remove(j.fetch,`${j.url}/bucket/${_}`,{},{headers:j.headers}),error:null}}catch(et){if(j.shouldThrowOnError)throw et;if(isStorageError(et))return{data:null,error:et};throw et}}listBucketOptionsToQueryString(_){const j={};return _&&("limit"in _&&(j.limit=String(_.limit)),"offset"in _&&(j.offset=String(_.offset)),_.search&&(j.search=_.search),_.sortColumn&&(j.sortColumn=_.sortColumn),_.sortOrder&&(j.sortOrder=_.sortOrder)),Object.keys(j).length>0?"?"+new URLSearchParams(j).toString():""}},StorageAnalyticsClient=class{constructor(_,j={},et){this.shouldThrowOnError=!1,this.url=_.replace(/\/$/,""),this.headers=_objectSpread2$2(_objectSpread2$2({},DEFAULT_HEADERS$1$1),j),this.fetch=resolveFetch$1$1(et)}throwOnError(){return this.shouldThrowOnError=!0,this}async createBucket(_){var j=this;try{return{data:await post$1(j.fetch,`${j.url}/bucket`,{name:_},{headers:j.headers}),error:null}}catch(et){if(j.shouldThrowOnError)throw et;if(isStorageError(et))return{data:null,error:et};throw et}}async listBuckets(_){var j=this;try{const et=new URLSearchParams;(_==null?void 0:_.limit)!==void 0&&et.set("limit",_.limit.toString()),(_==null?void 0:_.offset)!==void 0&&et.set("offset",_.offset.toString()),_!=null&&_.sortColumn&&et.set("sortColumn",_.sortColumn),_!=null&&_.sortOrder&&et.set("sortOrder",_.sortOrder),_!=null&&_.search&&et.set("search",_.search);const tt=et.toString(),rt=tt?`${j.url}/bucket?${tt}`:`${j.url}/bucket`;return{data:await get$4(j.fetch,rt,{headers:j.headers}),error:null}}catch(et){if(j.shouldThrowOnError)throw et;if(isStorageError(et))return{data:null,error:et};throw et}}async deleteBucket(_){var j=this;try{return{data:await remove(j.fetch,`${j.url}/bucket/${_}`,{},{headers:j.headers}),error:null}}catch(et){if(j.shouldThrowOnError)throw et;if(isStorageError(et))return{data:null,error:et};throw et}}from(_){var j=this;if(!isValidBucketName(_))throw new StorageError("Invalid bucket name: File, folder, and bucket names must follow AWS object key naming guidelines and should avoid the use of any other characters.");const et=new IcebergRestCatalog({baseUrl:this.url,catalogName:_,auth:{type:"custom",getHeaders:async()=>j.headers},fetch:this.fetch}),tt=this.shouldThrowOnError;return new Proxy(et,{get(rt,nt){const it=rt[nt];return typeof it!="function"?it:async(...st)=>{try{return{data:await it.apply(rt,st),error:null}}catch(at){if(tt)throw at;return{data:null,error:at}}}}})}};const DEFAULT_HEADERS$2={"X-Client-Info":`storage-js/${version$3}`,"Content-Type":"application/json"};
654var StorageVectorsError=class extends Error{constructor(_){super(_),this.__isStorageVectorsError=!0,this.name="StorageVectorsError"}};function isStorageVectorsError(_){return typeof _=="object"&&_!==null&&"__isStorageVectorsError"in _}var StorageVectorsApiError=class extends StorageVectorsError{constructor(_,j,et){super(_),this.name="StorageVectorsApiError",this.status=j,this.statusCode=et}toJSON(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}}},StorageVectorsUnknownError=class extends StorageVectorsError{constructor(_,j){super(_),this.name="StorageVectorsUnknownError",this.originalError=j}};const resolveFetch$2=_=>_?(...j)=>_(...j):(...j)=>fetch(...j),isPlainObject$3=_=>{if(typeof _!="object"||_===null)return!1;const j=Object.getPrototypeOf(_);return(j===null||j===Object.prototype||Object.getPrototypeOf(j)===null)&&!(Symbol.toStringTag in _)&&!(Symbol.iterator in _)},_getErrorMessage$2=_=>_.msg||_.message||_.error_description||_.error||JSON.stringify(_),handleError$2=async(_,j,et)=>{if(_&&typeof _=="object"&&"status"in _&&"ok"in _&&typeof _.status=="number"&&!(et!=null&&et.noResolveJson)){const tt=_.status||500,rt=_;if(typeof rt.json=="function")rt.json().then(nt=>{const it=(nt==null?void 0:nt.statusCode)||(nt==null?void 0:nt.code)||tt+"";j(new StorageVectorsApiError(_getErrorMessage$2(nt),tt,it))}).catch(()=>{const nt=tt+"";j(new StorageVectorsApiError(rt.statusText||`HTTP ${tt} error`,tt,nt))});else{const nt=tt+"";j(new StorageVectorsApiError(rt.statusText||`HTTP ${tt} error`,tt,nt))}}else j(new StorageVectorsUnknownError(_getErrorMessage$2(_),_))}
654,_getRequestParams$2=(_,j,et,tt)=>{const rt={method:_,headers:(j==null?void 0:j.headers)||{}};return tt?(isPlainObject$3(tt)?(rt.headers=_objectSpread2$2({"Content-Type":"application/json"},j==null?void 0:j.headers),rt.body=JSON.stringify(tt)):rt.body=tt,_objectSpread2$2(_objectSpread2$2({},rt),et)):rt};async function _handleRequest$2(_,j,et,tt,rt,nt){return new Promise((it,st)=>{_(et,_getRequestParams$2(j,tt,rt,nt)).then(at=>{if(!at.ok)throw at;if(tt!=null&&tt.noResolveJson)return at;const ot=at.headers.get("content-type");return!ot||!ot.includes("application/json")?{}:at.json()}).then(at=>it(at)).catch(at=>handleError$2(at,st,tt))})}async function post(_,j,et,tt,rt){return _handleRequest$2(_,"POST",j,tt,rt,et)}var VectorIndexApi=class{constructor(_,j={},et){this.shouldThrowOnError=!1,this.url=_.replace(/\/$/,""),this.headers=_objectSpread2$2(_objectSpread2$2({},DEFAULT_HEADERS$2),j),this.fetch=resolveFetch$2(et)}throwOnError(){return this.shouldThrowOnError=!0,this}async createIndex(_){var j=this;try{return{data:await post(j.fetch,`${j.url}/CreateIndex`,_,{headers:j.headers})||{},error:null}}catch(et){if(j.shouldThrowOnError)throw et;if(isStorageVectorsError(et))return{data:null,error:et};throw et}}async getIndex(_,j){var et=this;try{return{data:await post(et.fetch,`${et.url}/GetIndex`,{vectorBucketName:_,indexName:j},{headers:et.headers}),error:null}}catch(tt){if(et.shouldThrowOnError)throw tt;if(isStorageVectorsError(tt))return{data:null,error:tt};throw tt}}async listIndexes(_){var j=this;try{return{data:await post(j.fetch,`${j.url}/ListIndexes`,_,{headers:j.headers}),error:null}}catch(et){if(j.shouldThrowOnError)throw et;if(isStorageVectorsError(et))return{data:null,error:et};throw et}}async deleteIndex(_,j){var et=this;try{return{data:await post(et.fetch,`${et.url}/DeleteIndex`,{vectorBucketName:_,indexName:j},{headers:et.headers})||{},error:null}}catch(tt){if(et.shouldThrowOnError)throw tt;if(isStorageVectorsError(tt))return{data:null,error:tt};throw tt}}},VectorDataApi=class{constructor(_,j={},et){this.shouldThrowOnError=!1,this.url=_.replace(/\/$/,""),this.headers=_objectSpread2$2(_objectSpread2$2({},DEFAULT_HEADERS$2),j),this.fetch=resolveFetch$2(et)}throwOnError(){return this.shouldThrowOnError=!0,this}async putVectors(_){var j=this;try{if(_.vectors.length<1||_.vectors.length>500)throw new Error("Vector batch size must be between 1 and 500 items");return{data:await post(j.fetch,`${j.url}/PutVectors`,_,{headers:j.headers})||{},error:null}}catch(et){if(j.shouldThrowOnError)throw et;if(isStorageVectorsError(et))return{data:null,error:et};throw et}}async getVectors(_){var j=this;try{return{data:await post(j.fetch,`${j.url}/GetVectors`,_,{headers:j.headers}),error:null}}catch(et){if(j.shouldThrowOnError)throw et;if(isStorageVectorsError(et))return{data:null,error:et};throw et}}async listVectors(_){var j=this;try{if(_.segmentCount!==void 0){if(_.segmentCount<1||_.segmentCount>16)throw new Error("segmentCount must be between 1 and 16");if(_.segmentIndex!==void 0&&(_.segmentIndex<0||_.segmentIndex>=_.segmentCount))throw new Error(`segmentIndex must be between 0 and ${_.segmentCount-1}`)}return{data:await post(j.fetch,`${j.url}/ListVectors`,_,{headers:j.headers}),error:null}}catch(et){if(j.shouldThrowOnError)throw et;if(isStorageVectorsError(et))return{data:null,error:et};throw et}}async queryVectors(_){var j=this;try{return{data:await post(j.fetch,`${j.url}/QueryVectors`,_,{headers:j.headers}),error:null}}catch(et){if(j.shouldThrowOnError)throw et;if(isStorageVectorsError(et))return{data:null,error:et};throw et}}async deleteVectors(_){var j=this;try{if(_.keys.length<1||_.keys.length>500)throw new Error("Keys batch size must be between 1 and 500 items");return{data:await post(j.fetch,`${j.url}/DeleteVectors`,_,{headers:j.headers})||{},error:null}}catch(et){if(j.shouldThrowOnError)throw et;if(isStorageVectorsError(et))return{data:null,error:et};throw et}}},VectorBucketApi=class{constructor(_,j={},et){this.shouldThrowOnError=!1,this.url=_.replace(/\/$/,""),this.headers=_objectSpread2$2(_objectSpread2$2({},DEFAULT_HEADERS$2),j),this.fetch=resolveFetch$2(et)}throwOnError(){return this.shouldThrowOnError=!0,this}async createBucket(_){var j=this;try{return{data:await post(j.fetch,`${j.url}/CreateVectorBucket`,{vectorBucketName:_},{headers:j.headers})||{},error:null}}catch(et){if(j.shouldThrowOnError)throw et;if(isStorageVectorsError(et))return{data:null,error:et};throw et}}async getBucket(_){var j=this;try{return{data:await post(j.fetch,`${j.url}/GetVectorBucket`,{vectorBucketName:_},{headers:j.headers}),error:null}}catch(et){if(j.shouldThrowOnError)throw et;if(isStorageVectorsError(et))return{data:null,error:et};throw et}}async listBuckets(_={}){var j=this;try{return{data:await post(j.fetch,`${j.url}/ListVectorBuckets`,_,{headers:j.headers}),error:null}}catch(et){if(j.shouldThrowOnError)throw et;if(isStorageVectorsError(et))return{data:null,error:et};throw et}}async deleteBucket(_){var j=this;try{return{data:await post(j.fetch,`${j.url}/DeleteVectorBucket`,{vectorBucketName:_},{headers:j.headers})||{},error:null}}catch(et){if(j.shouldThrowOnError)throw et;if(isStorageVectorsError(et))return{data:null,error:et};throw et}}},StorageVectorsClient=class extends VectorBucketApi{constructor(_,j={}){super(_,j.headers||{},j.fetch)}from(_){return new VectorBucketScope(this.url,this.headers,_,this.fetch)}async createBucket(_){var j=()=>super.createBucket,et=this;return j().call(et,_)}async getBucket(_){var j=()=>super.getBucket,et=this;return j().call(et,_)}async listBuckets(_={}){var j=()=>super.listBuckets,et=this;return j().call(et,_)}async deleteBucket(_){var j=()=>super.deleteBucket,et=this;return j().call(et,_)}},VectorBucketScope=class extends VectorIndexApi{constructor(_,j,et,tt){super(_,j,tt),this.vectorBucketName=et}async createIndex(_){var j=()=>super.createIndex,et=this;return j().call(et,_objectSpread2$2(_objectSpread2$2({},_),{},{vectorBucketName:et.vectorBucketName}))}async listIndexes(_={}){var j=()=>super.listIndexes,et=this;return j().call(et,_objectSpread2$2(_objectSpread2$2({},_),{},{vectorBucketName:et.vectorBucketName}))}async getIndex(_){var j=()=>super.getIndex,et=this;return j().call(et,et.vectorBucketName,_)}async deleteIndex(_){var j=()=>super.deleteIndex,et=this;return j().call(et,et.vectorBucketName,_)}index(_){return new VectorIndexScope(this.url,this.headers,this.vectorBucketName,_,this.fetch)}},VectorIndexScope=class extends VectorDataApi{constructor(_,j,et,tt,rt){super(_,j,rt),this.vectorBucketName=et,this.indexName=tt}async putVectors(_){var j=()=>super.putVectors,et=this;return j().call(et,_objectSpread2$2(_objectSpread2$2({},_),{},{vectorBucketName:et.vectorBucketName,indexName:et.indexName}))}async getVectors(_){var j=()=>super.getVectors,et=this;return j().call(et,_objectSpread2$2(_objectSpread2$2({},_),{},{vectorBucketName:et.vectorBucketName,indexName:et.indexName}))}async listVectors(_={}){var j=()=>super.listVectors,et=this;return j().call(et,_objectSpread2$2(_objectSpread2$2({},_),{},{vectorBucketName:et.vectorBucketName,indexName:et.indexName}))}async queryVectors(_){var j=()=>super.queryVectors,et=this;return j().call(et,_objectSpread2$2(_objectSpread2$2({},_),{},{vectorBucketName:et.vectorBucketName,indexName:et.indexName}))}async deleteVectors(_){var j=()=>super.deleteVectors,et=this;return j().call(et,_objectSpread2$2(_objectSpread2$2({},_),{},{vectorBucketName:et.vectorBucketName,indexName:et.indexName}))}},StorageClient=class extends StorageBucketApi{constructor(_,j={},et,tt){super(_,j,et,tt)}from(_){return new StorageFileApi(this.url,this.headers,_,this.fetch)}get vectors(){return new StorageVectorsClient(this.url+"/vector",{headers:this.headers,fetch:this.fetch})}get analytics(){return new StorageAnalyticsClient(this.url+"/iceberg",this.headers,this.fetch)}};const version$2="2.89.0",AUTO_REFRESH_TICK_DURATION_MS=30*1e3,AUTO_REFRESH_TICK_THRESHOLD=3,EXPIRY_MARGIN_MS=AUTO_REFRESH_TICK_THRESHOLD*AUTO_REFRESH_TICK_DURATION_MS,GOTRUE_URL="http://localhost:9999",STORAGE_KEY="supabase.auth.token",DEFAULT_HEADERS$1={"X-Client-Info":`gotrue-js/${version$2}`},API_VERSION_HEADER_NAME="X-Supabase-Api-Version",API_VERSIONS={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},BASE64URL_REGEX=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i,JWKS_TTL=10*60*1e3;
654class AuthError extends Error{constructor(j,et,tt){super(j),this.__isAuthError=!0,this.name="AuthError",this.status=et,this.code=tt}}function isAuthError(_){return typeof _=="object"&&_!==null&&"__isAuthError"in _}class AuthApiError extends AuthError{constructor(j,et,tt){super(j,et,tt),this.name="AuthApiError",this.status=et,this.code=tt}}function isAuthApiError(_){return isAuthError(_)&&_.name==="AuthApiError"}class AuthUnknownError extends AuthError{constructor(j,et){super(j),this.name="AuthUnknownError",this.originalError=et}}class CustomAuthError extends AuthError{constructor(j,et,tt,rt){super(j,tt,rt),this.name=et,this.status=tt}}class AuthSessionMissingError extends CustomAuthError{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}function isAuthSessionMissingError(_){return isAuthError(_)&&_.name==="AuthSessionMissingError"}class AuthInvalidTokenResponseError extends CustomAuthError{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500,void 0)}}class AuthInvalidCredentialsError extends CustomAuthError{constructor(j){super(j,"AuthInvalidCredentialsError",400,void 0)}}class AuthImplicitGrantRedirectError extends CustomAuthError{constructor(j,et=null){super(j,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=et}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}function isAuthImplicitGrantRedirectError(_){return isAuthError(_)&&_.name==="AuthImplicitGrantRedirectError"}class AuthPKCEGrantCodeExchangeError extends CustomAuthError{constructor(j,et=null){super(j,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=et}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class AuthPKCECodeVerifierMissingError extends CustomAuthError{constructor(){super("PKCE code verifier not found in storage. This can happen if the auth flow was initiated in a different browser or device, or if the storage was cleared. For SSR frameworks (Next.js, SvelteKit, etc.), use @supabase/ssr on both the server and client to store the code verifier in cookies.","AuthPKCECodeVerifierMissingError",400,"pkce_code_verifier_not_found")}}class AuthRetryableFetchError extends CustomAuthError{constructor(j,et){super(j,"AuthRetryableFetchError",et,void 0)}}function isAuthRetryableFetchError(_){return isAuthError(_)&&_.name==="AuthRetryableFetchError"}class AuthWeakPasswordError extends CustomAuthError{constructor(j,et,tt){super(j,"AuthWeakPasswordError",et,"weak_password"),this.reasons=tt}}class AuthInvalidJwtError extends CustomAuthError{constructor(j){super(j,"AuthInvalidJwtError",400,"invalid_jwt")}}const TO_BASE64URL="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),IGNORE_BASE64URL=` 655\r=`.split(""),FROM_BASE64URL=(()=>{const _=new Array(128);for(let j=0;j<_.length;j+=1)_[j]=-1;for(let j=0;j<IGNORE_BASE64URL.length;j+=1)_[IGNORE_BASE64URL[j].charCodeAt(0)]=-2;for(let j=0;j<TO_BASE64URL.length;j+=1)_[TO_BASE64URL[j].charCodeAt(0)]=j;return _})();function byteToBase64URL(_,j,et){if(_!==null)for(j.queue=j.queue<<8|_,j.queuedBits+=8;j.queuedBits>=6;){const tt=j.queue>>j.queuedBits-6&63;et(TO_BASE64URL[tt]),j.queuedBits-=6}else if(j.queuedBits>0)for(j.queue=j.queue<<6-j.queuedBits,j.queuedBits=6;j.queuedBits>=6;){const tt=j.queue>>j.queuedBits-6&63;et(TO_BASE64URL[tt]),j.queuedBits-=6}}function byteFromBase64URL(_,j,et){const tt=FROM_BASE64URL[_];if(tt>-1)for(j.queue=j.queue<<6|tt,j.queuedBits+=6;j.queuedBits>=8;)et(j.queue>>j.queuedBits-8&255),j.queuedBits-=8;else{if(tt===-2)return;throw new Error(`Invalid Base64-URL character "${String.fromCharCode(_)}"`)}}function stringFromBase64URL(_){const j=[],et=it=>{j.push(String.fromCodePoint(it))},tt={utf8seq:0,codepoint:0},rt={queue:0,queuedBits:0},nt=it=>{stringFromUTF8(it,tt,et)};for(let it=0;it<_.length;it+=1)byteFromBase64URL(_.charCodeAt(it),rt,nt);return j.join("")}function codepointToUTF8(_,j){if(_<=127){j(_);return}else if(_<=2047){j(192|_>>6),j(128|_&63);return}else if(_<=65535){j(224|_>>12),j(128|_>>
6556&63),j(128|_&63);return}else if(_<=1114111){j(240|_>>18),j(128|_>>12&63),j(128|_>>6&63),j(128|_&63);return}throw new Error(`Unrecognized Unicode codepoint: ${_.toString(16)}`)}function stringToUTF8(_,j){for(let et=0;et<_.length;et+=1){let tt=_.charCodeAt(et);if(tt>55295&&tt<=56319){const rt=(tt-55296)*1024&65535;tt=(_.charCodeAt(et+1)-56320&65535|rt)+65536,et+=1}codepointToUTF8(tt,j)}}function stringFromUTF8(_,j,et){if(j.utf8seq===0){if(_<=127){et(_);return}for(let tt=1;tt<6;tt+=1)if(!(_>>7-tt&1)){j.utf8seq=tt;break}if(j.utf8seq===2)j.codepoint=_&31;else if(j.utf8seq===3)j.codepoint=_&15;else if(j.utf8seq===4)j.codepoint=_&7;else throw new Error("Invalid UTF-8 sequence");j.utf8seq-=1}else if(j.utf8seq>0){if(_<=127)throw new Error("Invalid UTF-8 sequence");j.codepoint=j.codepoint<<6|_&63,j.utf8seq-=1,j.utf8seq===0&&et(j.codepoint)}}function base64UrlToUint8Array(_){const j=[],et={queue:0,queuedBits:0},tt=rt=>{j.push(rt)};for(let rt=0;rt<_.length;rt+=1)byteFromBase64URL(_.charCodeAt(rt),et,tt);return new Uint8Array(j)}function stringToUint8Array(_){const j=[];return stringToUTF8(_,et=>j.push(et)),new Uint8Array(j)}function bytesToBase64URL(_){const j=[],et={queue:0,queuedBits:0},tt=rt=>{j.push(rt)};return _.forEach(rt=>byteToBase64URL(rt,et,tt)),byteToBase64URL(null,et,tt),j.join("")}function expiresAt(_){return Math.round(Date.now()/1e3)+_}function generateCallbackId(){return Symbol("auth-callback")}const isBrowser$2=()=>typeof window<"u"&&typeof document<"u",localStorageWriteTests={tested:!1,writable:!1},supportsLocalStorage=()=>{if(!isBrowser$2())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(localStorageWriteTests.tested)return localStorageWriteTests.writable;const _=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(_,_),globalThis.localStorage.removeItem(_),localStorageWriteTests.tested=!0,localStorageWriteTests.writable=!0}catch{localStorageWriteTests.tested=!0,localStorageWriteTests.writable=!1}return localStorageWriteTests.writable};function parseParametersFromURL(_){const j={},et=new URL(_);if(et.hash&&et.hash[0]==="#")try{new URLSearchParams(et.hash.substring(1)).forEach((rt,nt)=>{j[nt]=rt})}catch{}return et.searchParams.forEach((tt,rt)=>{j[rt]=tt}),j}const resolveFetch$1=_=>_?(...j)=>_(...j):(...j)=>fetch(...j),looksLikeFetchResponse=_=>typeof _=="object"&&_!==null&&"status"in _&&"ok"in _&&"json"in _&&typeof _.json=="function",setItemAsync=async(_,j,et)=>{await _.setItem(j,JSON.stringify(et))},getItemAsync=async(_,j)=>{const et=await _.getItem(j);if(!et)return null;try{return JSON.parse(et)}catch{return et}},removeItemAsync=async(_,j)=>{await _.removeItem(j)};class Deferred{constructor(){this.promise=new Deferred.promiseConstructor((j,et)=>{this.resolve=j,this.reject=et})}}Deferred.promiseConstructor=Promise;function decodeJWT(_){const j=_.split(".");if(j.length!==3)throw new AuthInvalidJwtError("Invalid JWT structure");for(let tt=0;tt<j.length;tt++)if(!BASE64URL_REGEX.test(j[tt]))throw new AuthInvalidJwtError("JWT not in base64url format");return{header:JSON.parse(stringFromBase64URL(j[0])),payload:JSON.parse(stringFromBase64URL(j[1])),signature:base64UrlToUint8Array(j[2]),raw:{header:j[0],payload:j[1]}}}async function sleep$1(_){return await new Promise(j=>{setTimeout(()=>j(null),_)})}function retryable(_,j){return new Promise((tt,rt)=>{(async()=>{for(let nt=0;nt<1/0;nt++)try{const it=await _(nt);if(!j(nt,null,it)){tt(it);return}}catch(it){if(!j(nt,it)){rt(it);return}}})()})}function dec2hex(_){return("0"+_.toString(16)).substr(-2)}function generatePKCEVerifier(){const j=new Uint32Array(56);if(typeof crypto>"u"){const et="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",tt=et.length;let rt="";for(let nt=0;nt<56;nt++)rt+=et.charAt(Math.floor(Math.random()*tt));return rt}return crypto.getRandomValues(j),Array.from(j,dec2hex).join("")}async function sha256(_){const et=new TextEncoder().encode(_),tt=await crypto.subtle.digest("SHA-256",et),rt=new Uint8Array(tt);return Array.from(rt).map(nt=>String.fromCharCode(nt)).join("")}async function generatePKCEChallenge(_){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return console.warn("WebCrypto API is not supported. Code
655challenge method will default to use plain instead of sha256."),_;const et=await sha256(_);return btoa(et).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function getCodeChallengeAndMethod(_,j,et=!1){const tt=generatePKCEVerifier();let rt=tt;et&&(rt+="/PASSWORD_RECOVERY"),await setItemAsync(_,`${j}-code-verifier`,rt);const nt=await generatePKCEChallenge(tt);return[nt,tt===nt?"plain":"s256"]}const API_VERSION_REGEX=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function parseResponseAPIVersion(_){const j=_.headers.get(API_VERSION_HEADER_NAME);if(!j||!j.match(API_VERSION_REGEX))return null;try{return new Date(`${j}T00:00:00.0Z`)}catch{return null}}function validateExp(_){if(!_)throw new Error("Missing exp claim");const j=Math.floor(Date.now()/1e3);if(_<=j)throw new Error("JWT has expired")}function getAlgorithm(_){switch(_){case"RS256":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};case"ES256":return{name:"ECDSA",namedCurve:"P-256",hash:{name:"SHA-256"}};default:throw new Error("Invalid alg claim")}}const UUID_REGEX=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function validateUUID(_){if(!UUID_REGEX.test(_))throw new Error("@supabase/auth-js: Expected parameter to be UUID but is not")}function userNotAvailableProxy(){const _={};return new Proxy(_,{get:(j,et)=>{if(et==="__isUserNotAvailableProxy")return!0;if(typeof et=="symbol"){const tt=et.toString();if(tt==="Symbol(Symbol.toPrimitive)"||tt==="Symbol(Symbol.toStringTag)"||tt==="Symbol(util.inspect.custom)")return}throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Accessing the "${et}" property of the session object is not supported. Please use getUser() instead.`)},set:(j,et)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Setting the "${et}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)},deleteProperty:(j,et)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Deleting the "${et}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)}})}function insecureUserWarningProxy(_,j){return new Proxy(_,{get:(et,tt,rt)=>{if(tt==="__isInsecureUserWarningProxy")return!0;if(typeof tt=="symbol"){const nt=tt.toString();if(nt==="Symbol(Symbol.toPrimitive)"||nt==="Symbol(Symbol.toStringTag)"||nt==="Symbol(util.inspect.custom)"||nt==="Symbol(nodejs.util.inspect.custom)")return Reflect.get(et,tt,rt)}return!j.value&&typeof tt=="string"&&(console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and may not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),j.value=!0),Reflect.get(et,tt,rt)}})}function deepClone(_){return JSON.parse(JSON.stringify(_))}const _getErrorMessage=_=>_.msg||_.message||_.error_description||_.error||JSON.stringify(_),NETWORK_ERROR_CODES=[502,503,504];async function handleError(_){var j;if(!looksLikeFetchResponse(_))throw new AuthRetryableFetchError(_getErrorMessage(_),0);if(NETWORK_ERROR_CODES.includes(_.status))throw new AuthRetryableFetchError(_getErrorMessage(_),_.status);let et;try{et=await _.json()}catch(nt){throw new AuthUnknownError(_getErrorMessage(nt),nt)}let tt;const rt=parseResponseAPIVersion(_);if(rt&&rt.getTime()>=API_VERSIONS["2024-01-01"].timestamp&&typeof et=="object"&&et&&typeof et.code=="string"?tt=et.code:typeof et=="object"&&et&&typeof et.error_code=="string"&&(tt=et.error_code),tt){if(tt==="weak_password")throw new AuthWeakPasswordError(_getErrorMessage(et),_.status,((j=et.weak_password)===null||j===void 0?void 0:j.reasons)||[]);if(tt==="session_not_found")throw new AuthSessionMissingError}else if(typeof et=="object"&&et&&typeof et.weak_password=="object"&&et.weak_password&&Array.isArray(et.weak_password.reasons)&&et.weak_password.reasons.length&&et.weak_password.reasons.reduce((nt,it)=>nt&&typeof it=="string",!0))throw new AuthWeakPasswordError(_getErrorMessage(et),_.status,et.weak_password.reasons);throw new AuthApiError(_getErrorMessage(et),_.status||500,tt)}
655const _getRequestParams=(_,j,et,tt)=>{const rt={method:_,headers:(j==null?void 0:j.headers)||{}};return _==="GET"?rt:(rt.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},j==null?void 0:j.headers),rt.body=JSON.stringify(tt),Object.assign(Object.assign({},rt),et))};async function _request(_,j,et,tt){var rt;const nt=Object.assign({},tt==null?void 0:tt.headers);nt[API_VERSION_HEADER_NAME]||(nt[API_VERSION_HEADER_NAME]=API_VERSIONS["2024-01-01"].name),tt!=null&&tt.jwt&&(nt.Authorization=`Bearer ${tt.jwt}`);const it=(rt=tt==null?void 0:tt.query)!==null&&rt!==void 0?rt:{};tt!=null&&tt.redirectTo&&(it.redirect_to=tt.redirectTo);const st=Object.keys(it).length?"?"+new URLSearchParams(it).toString():"",at=await _handleRequest(_,j,et+st,{headers:nt,noResolveJson:tt==null?void 0:tt.noResolveJson},{},tt==null?void 0:tt.body);return tt!=null&&tt.xform?tt==null?void 0:tt.xform(at):{data:Object.assign({},at),error:null}}async function _handleRequest(_,j,et,tt,rt,nt){const it=_getRequestParams(j,tt,rt,nt);let st;try{st=await _(et,Object.assign({},it))}catch(at){throw console.error(at),new AuthRetryableFetchError(_getErrorMessage(at),0)}if(st.ok||await handleError(st),tt!=null&&tt.noResolveJson)return st;try{return await st.json()}catch(at){await handleError(at)}}function _sessionResponse(_){var j;let et=null;hasSession(_)&&(et=Object.assign({},_),_.expires_at||(et.expires_at=expiresAt(_.expires_in)));const tt=(j=_.user)!==null&&j!==void 0?j:_;return{data:{session:et,user:tt},error:null}}function _sessionResponsePassword(_){const j=_sessionResponse(_);
655return!j.error&&_.weak_password&&typeof _.weak_password=="object"&&Array.isArray(_.weak_password.reasons)&&_.weak_password.reasons.length&&_.weak_password.message&&typeof _.weak_password.message=="string"&&_.weak_password.reasons.reduce((et,tt)=>et&&typeof tt=="string",!0)&&(j.data.weak_password=_.weak_password),j}function _userResponse(_){var j;return{data:{user:(j=_.user)!==null&&j!==void 0?j:_},error:null}}function _ssoResponse(_){return{data:_,error:null}}function _generateLinkResponse(_){const{action_link:j,email_otp:et,hashed_token:tt,redirect_to:rt,verification_type:nt}=_,it=__rest(_,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),st={action_link:j,email_otp:et,hashed_token:tt,redirect_to:rt,verification_type:nt},at=Object.assign({},it);return{data:{properties:st,user:at},error:null}}function _noResolveJsonResponse(_){return _}function hasSession(_){return _.access_token&&_.refresh_token&&_.expires_in}const SIGN_OUT_SCOPES=["global","local","others"];class GoTrueAdminApi{constructor({url:j="",headers:et={},fetch:tt}){this.url=j,this.headers=et,this.fetch=resolveFetch$1(tt),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)},this.oauth={listClients:this._listOAuthClients.bind(this),createClient:this._createOAuthClient.bind(this),getClient:this._getOAuthClient.bind(this),updateClient:this._updateOAuthClient.bind(this),deleteClient:this._deleteOAuthClient.bind(this),regenerateClientSecret:this._regenerateOAuthClientSecret.bind(this)}}async signOut(j,et=SIGN_OUT_SCOPES[0]){if(SIGN_OUT_SCOPES.indexOf(et)<0)throw new Error(`@supabase/auth-js: Parameter scope must be one of ${SIGN_OUT_SCOPES.join(", ")}`);try{return await _request(this.fetch,"POST",`${this.url}/logout?scope=${et}`,{headers:this.headers,jwt:j,noResolveJson:!0}),{data:null,error:null}}catch(tt){if(isAuthError(tt))return{data:null,error:tt};throw tt}}async inviteUserByEmail(j,et={}){try{return await _request(this.fetch,"POST",`${this.url}/invite`,{body:{email:j,data:et.data},headers:this.headers,redirectTo:et.redirectTo,xform:_userResponse})}catch(tt){if(isAuthError(tt))return{data:{user:null},error:tt};throw tt}}async generateLink(j){try{const{options:et}=j,tt=__rest(j,["options"]),rt=Object.assign(Object.assign({},tt),et);return"newEmail"in tt&&(rt.new_email=tt==null?void 0:tt.newEmail,delete rt.newEmail),await _request(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:rt,headers:this.headers,xform:_generateLinkResponse,redirectTo:et==null?void 0:et.redirectTo})}catch(et){if(isAuthError(et))return{data:{properties:null,user:null},error:et};throw et}}async createUser(j){try{return await _request(this.fetch,"POST",`${this.url}/admin/users`,{body:j,headers:this.headers,xform:_userResponse})}catch(et){if(isAuthError(et))return{data:{user:null},error:et};throw et}}async listUsers(j){var et,tt,rt,nt,it,st,at;try{const ot={nextPage:null,lastPage:0,total:0},lt=await _request(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:(tt=(et=j==null?void 0:j.page)===null||et===void 0?void 0:et.toString())!==null&&tt!==void 0?tt:"",per_page:(nt=(rt=j==null?void 0:j.perPage)===null||rt===void 0?void 0:rt.toString())!==null&&nt!==void 0?nt:""}
vendor: 1,617 bytes, line 655
655,xform:_noResolveJsonResponse});if(lt.error)throw lt.error;const ct=await lt.json(),ut=(it=lt.headers.get("x-total-count"))!==null&&it!==void 0?it:0,dt=(at=(st=lt.headers.get("link"))===null||st===void 0?void 0:st.split(","))!==null&&at!==void 0?at:[];return dt.length>0&&(dt.forEach(ht=>{const pt=parseInt(ht.split(";")[0].split("=")[1].substring(0,1)),gt=JSON.parse(ht.split(";")[1].split("=")[1]);ot[`${gt}Page`]=pt}),ot.total=parseInt(ut)),{data:Object.assign(Object.assign({},ct),ot),error:null}}catch(ot){if(isAuthError(ot))return{data:{users:[]},error:ot};throw ot}}async getUserById(j){validateUUID(j);try{return await _request(this.fetch,"GET",`${this.url}/admin/users/${j}`,{headers:this.headers,xform:_userResponse})}catch(et){if(isAuthError(et))return{data:{user:null},error:et};throw et}}async updateUserById(j,et){validateUUID(j);try{return await _request(this.fetch,"PUT",`${this.url}/admin/users/${j}`,{body:et,headers:this.headers,xform:_userResponse})}catch(tt){if(isAuthError(tt))return{data:{user:null},error:tt};throw tt}}async deleteUser(j,et=!1){validateUUID(j);try{return await _request(this.fetch,"DELETE",`${this.url}/admin/users/${j}`,{headers:this.headers,body:{should_soft_delete:et},xform:_userResponse})}catch(tt){if(isAuthError(tt))return{data:{user:null},error:tt};throw tt}}async _listFactors(j){validateUUID(j.userId);try{const{data:et,error:tt}=await _request(this.fetch,"GET",`${this.url}/admin/users/${j.userId}/factors`,{headers:this.headers,xform:rt=>({data:{factors:rt},error:null})});return{data:et,error:tt}}catch(et){if(isAuthError(et))return{data:null,error:et};throw et}}
655async _deleteFactor(j){validateUUID(j.userId),validateUUID(j.id);try{return{data:await _request(this.fetch,"DELETE",`${this.url}/admin/users/${j.userId}/factors/${j.id}`,{headers:this.headers}),error:null}}catch(et){if(isAuthError(et))return{data:null,error:et};throw et}}async _listOAuthClients(j){var et,tt,rt,nt,it,st,at;try{const ot={nextPage:null,lastPage:0,total:0},lt=await _request(this.fetch,"GET",`${this.url}/admin/oauth/clients`,{headers:this.headers,noResolveJson:!0,query:{page:(tt=(et=j==null?void 0:j.page)===null||et===void 0?void 0:et.toString())!==null&&tt!==void 0?tt:"",per_page:(nt=(rt=j==null?void 0:j.perPage)===null||rt===void 0?void 0:rt.toString())!==null&&nt!==void 0?nt:""},xform:_noResolveJsonResponse});if(lt.error)throw lt.error;const ct=await lt.json(),ut=(it=lt.headers.get("x-total-count"))!==null&&it!==void 0?it:0,dt=(at=(st=lt.headers.get("link"))===null||st===void 0?void 0:st.split(","))!==null&&at!==void 0?at:[];return dt.length>0&&(dt.forEach(ht=>{const pt=parseInt(ht.split(";")[0].split("=")[1].substring(0,1)),gt=JSON.parse(ht.split(";")[1].split("=")[1]);ot[`${gt}Page`]=pt}),ot.total=parseInt(ut)),{data:Object.assign(Object.assign({},ct),ot),error:null}}catch(ot){if(isAuthError(ot))return{data:{clients:[]},error:ot};throw ot}}async _createOAuthClient(j){try{return await _request(this.fetch,"POST",`${this.url}/admin/oauth/clients`,{body:j,headers:this.headers,xform:et=>({data:et,error:null})})}catch(et){if(isAuthError(et))return{data:null,error:et};throw et}}async _getOAuthClient(j){try{return await _request(this.fetch,"GET",`${this.url}/admin/oauth/clients/${j}`,{headers:this.headers,xform:et=>({data:et,error:null})})}catch(et){if(isAuthError(et))return{data:null,error:et};throw et}}async _updateOAuthClient(j,et){try{return await _request(this.fetch,"PUT",`${this.url}/admin/oauth/clients/${j}`,{body:et,headers:this.headers,xform:tt=>({data:tt,error:null})})}catch(tt){if(isAuthError(tt))return{data:null,error:tt};throw tt}}async _deleteOAuthClient(j){try{return await _request(this.fetch,"DELETE",`${this.url}/admin/oauth/clients/${j}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(et){if(isAuthError(et))return{data:null,error:et};throw et}}async _regenerateOAuthClientSecret(j){try{return await _request(this.fetch,"POST",`${this.url}/admin/oauth/clients/${j}/regenerate_secret`,{headers:this.headers,xform:et=>({data:et,error:null})})}catch(et){if(isAuthError(et))return{data:null,error:et};throw et}}}function memoryLocalStorageAdapter(_={}){return{getItem:j=>_[j]||null,setItem:(j,et)=>{_[j]=et},removeItem:j=>{delete _[j]}}}const internals={debug:!!(globalThis&&supportsLocalStorage()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug")==="true")};class LockAcquireTimeoutError extends Error{constructor(j){super(j),this.isAcquireTimeout=!0}}class NavigatorLockAcquireTimeoutError extends LockAcquireTimeoutError{}async function navigatorLock(_,j,et){internals.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",_,j);const tt=new globalThis.AbortController;return j>0&&setTimeout(()=>{tt.abort(),internals.debug&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",_)},j),await Promise.resolve().then(()=>globalThis.navigator.locks.request(_,j===0?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:tt.signal},async rt=>{if(rt){internals.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",_,rt.name);try{return await et()}finally{internals.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",_,rt.name)}}else{if(j===0)throw internals.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",_),new NavigatorLockAcquireTimeoutError(`Acquiring an exclusive Navigator LockManager lock "${_}" immediately failed`);if(internals.debug)try{const nt=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(nt,null," "))}catch(nt){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",nt)}
655return console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request"),await et()}}))}function polyfillGlobalThis(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}function getAddress(_){if(!/^0x[a-fA-F0-9]{40}$/.test(_))throw new Error(`@supabase/auth-js: Address "${_}" is invalid.`);return _.toLowerCase()}function fromHex(_){return parseInt(_,16)}function toHex(_){const j=new TextEncoder().encode(_);return"0x"+Array.from(j,tt=>tt.toString(16).padStart(2,"0")).join("")}function createSiweMessage(_){var j;const{chainId:et,domain:tt,expirationTime:rt,issuedAt:nt=new Date,nonce:it,notBefore:st,requestId:at,resources:ot,scheme:lt,uri:ct,version:ut}=_;{if(!Number.isInteger(et))throw new Error(`@supabase/auth-js: Invalid SIWE message field "chainId". Chain ID must be a EIP-155 chain ID. Provided value: ${et}`);if(!tt)throw new Error('@supabase/auth-js: Invalid SIWE message field "domain". Domain must be provided.');if(it&&it.length<8)throw new Error(`@supabase/auth-js: Invalid SIWE message field "nonce". Nonce must be at least 8 characters. Provided value: ${it}`);if(!ct)throw new Error('@supabase/auth-js: Invalid SIWE message field "uri". URI must be provided.');if(ut!=="1")throw new Error(`@supabase/auth-js: Invalid SIWE message field "version". Version must be '1'. Provided value: ${ut}`);if(!((j=_.statement)===null||j===void 0)&&j.includes(` 656`))throw new Error(`@supabase/auth-js: Invalid SIWE message field "statement". Statement must not include '\\n'. Provided value: ${_.statement}`)}const dt=getAddress(_.address),ht=lt?`${lt}://${tt}`:tt,pt=_.statement?`${_.statement} 657`:"",gt=`${ht} wants you to sign in with your Ethereum account: 658${dt} 659 660${pt}`;let ft=`URI: ${ct} 661Version: ${ut} 662Chain ID: ${et}${it?` 663Nonce: ${it}`:""} 664Issued At: ${nt.toISOString()}`;if(rt&&(ft+=` 665Expiration Time: ${rt.toISOString()}`),st&&(ft+=` 666Not Before: ${st.toISOString()}`),at&&(ft+=` 667Request ID: ${at}`),ot){let mt=` 668Resources:`;for(const xt of ot){if(!xt||typeof xt!="string")throw new Error(`@supabase/auth-js: Invalid SIWE message field "resources". Every resource must be a valid string. Provided value: ${xt}`);mt+=` 669- ${xt}`}ft+=mt}return`${gt} 670${ft}`}class WebAuthnError extends Error{constructor({message:j,code:et,cause:tt,name:rt}){var nt;super(j,{cause:tt}),this.__isWebAuthnError=!0,this.name=(nt=rt??(tt instanceof Error?tt.name:void 0))!==null&&nt!==void 0?nt:"Unknown Error",this.code=et}}class WebAuthnUnknownError extends WebAuthnError{constructor(j,et){super({code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:et,message:j}),this.name="WebAuthnUnknownError",this.originalError=et}}function identifyRegistrationError({error:_,options:j}){var et,tt,rt;const{publicKey:nt}=j;if(!nt)throw Error("options was missing required publicKey property");if(_.name==="AbortError"){if(j.signal instanceof AbortSignal)return new WebAuthnError({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:_})}else if(_.name==="ConstraintError"){if(((et=nt.authenticatorSelection)===null||et===void 0?void 0:et.requireResidentKey)===!0)return new WebAuthnError({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:_});if(j.mediation==="conditional"&&((tt=nt.authenticatorSelection)===null||tt===void 0?void 0:tt.userVerification)==="required")return new WebAuthnError({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:_});if(((rt=nt.authenticatorSelection)===null||rt===void 0?void 0:rt.userVerification)==="required")return new WebAuthnError({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:_})}else{if(_.name==="InvalidStateError")return new WebAuthnError({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:_});if(_.name==="NotAllowedError")return new WebAuthnError({message:_.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:_});if(_.name==="NotSupportedError")return nt.pubKeyCredParams.filter(st=>st.type==="public-key").length===0?new WebAuthnError({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:_}):new WebAuthnError({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:_});if(_.name==="SecurityError"){const it=window.location.hostname;if(isValidDomain(it)){if(nt.rp.id!==it)return new WebAuthnError({message:`The RP ID "${nt.rp.id}
670" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:_})}else return new WebAuthnError({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:_})}else if(_.name==="TypeError"){if(nt.user.id.byteLength<1||nt.user.id.byteLength>64)return new WebAuthnError({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:_})}else if(_.name==="UnknownError")return new WebAuthnError({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:_})}return new WebAuthnError({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:_})}function identifyAuthenticationError({error:_,options:j}){const{publicKey:et}=j;if(!et)throw Error("options was missing required publicKey property");if(_.name==="AbortError"){if(j.signal instanceof AbortSignal)return new WebAuthnError({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:_})}else{if(_.name==="NotAllowedError")return new WebAuthnError({message:_.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:_});if(_.name==="SecurityError"){const tt=window.location.hostname;if(isValidDomain(tt)){if(et.rpId!==tt)return new WebAuthnError({message:`The RP ID "${et.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:_})}else return new WebAuthnError({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:_})}else if(_.name==="UnknownError")return new WebAuthnError({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:_})}return new WebAuthnError({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:_})}class WebAuthnAbortService{createNewAbortSignal(){if(this.controller){const et=new Error("Cancelling existing WebAuthn API call for new one");et.name="AbortError",this.controller.abort(et)}const j=new AbortController;return this.controller=j,j.signal}cancelCeremony(){if(this.controller){const j=new Error("Manually cancelling existing WebAuthn API call");j.name="AbortError",this.controller.abort(j),this.controller=void 0}}}const webAuthnAbortService=new WebAuthnAbortService;function deserializeCredentialCreationOptions(_){if(!_)throw new Error("Credential creation options are required");if(typeof PublicKeyCredential<"u"&&"parseCreationOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseCreationOptionsFromJSON=="function")return PublicKeyCredential.parseCreationOptionsFromJSON(_);const{challenge:j,user:et,excludeCredentials:tt}=_,rt=__rest(_,["challenge","user","excludeCredentials"]),nt=base64UrlToUint8Array(j).buffer,it=Object.assign(Object.assign({},et),{id:base64UrlToUint8Array(et.id).buffer}),st=Object.assign(Object.assign({},rt),{challenge:nt,user:it});if(tt&&tt.length>0){st.excludeCredentials=new Array(tt.length);for(let at=0;at<tt.length;at++){const ot=tt[at];st.excludeCredentials[at]=Object.assign(Object.assign({},ot),{id:base64UrlToUint8Array(ot.id).buffer,type:ot.type||"public-key",transports:ot.transports})}}return st}function deserializeCredentialRequestOptions(_){if(!_)throw new Error("Credential request options are required");if(typeof PublicKeyCredential<"u"&&"parseRequestOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseRequestOptionsFromJSON=="function")return PublicKeyCredential.parseRequestOptionsFromJSON(_);const{challenge:j,allowCredentials:et}=_,tt=__rest(_,["challenge","allowCredentials"]),rt=base64UrlToUint8Array(j).buffer,nt=Object.assign(Object.assign({},tt),{challenge:rt});if(et&&et.length>0){nt.allowCredentials=new Array(et.length);for(let it=0;it<et.length;it++){const st=et[it];nt.allowCredentials[it]=Object.assign(Object.assign({},st),{id:base64UrlToUint8Array(st.id).buffer,type:st.type||"public-key",transports:st.transports})}}return nt}function serializeCredentialCreationResponse(_){var j;if("toJSON"in _&&typeof _.toJSON=="function")return _.toJSON();const et=_;return{id:_.id,rawId:_.id,response:{attestationObject:bytesToBase64URL(new Uint8Array(_.response.attestationObject)),clientDataJSON:bytesToBase64URL(new Uint8Array(_.response.clientDataJSON))},type:"public-key",clientExtensionResults:_.getClientExtensionResults(),authenticatorAttachment:(j=et.authenticatorAttachment)!==null&&j!==void 0?j:void 0}}function serializeCredentialRequestResponse(_){var j;if("toJSON"in _&&typeof _.toJSON=="function")return _.toJSON();const et=_,tt=_.getClientExtensionResults(),rt=_.response;return{id:_.id,rawId:_.id,response:{authenticatorData:bytesToBase64URL(new Uint8Array(rt.authenticatorData)),clientDataJSON:bytesToBase64URL(new Uint8Array(rt.clientDataJSON)),signature:bytesToBase64URL(new Uint8Array(rt.signature)),userHandle:rt.userHandle?bytesToBase64URL(new Uint8Array(rt.userHandle)):void 0},type:"public-key",clientExtensionResults:tt,authenticatorAttachment:(j=et.authenticatorAttachment)!==null&&j!==void 0?j:void 0}}function isValidDomain(_){return _==="localhost"||/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(_)}function browserSupportsWebAuthn(){var _,j;return!!(isBrowser$2()&&"PublicKeyCredential"in window&&window.PublicKeyCredential&&"credentials"in navigator&&typeof((_=navigator==null?void 0:navigator.credentials)===null||_===void 0?void 0:_.create)=="function"&&typeof((j=navigator==null?void 0:navigator.credentials)===null||j===void 0?void 0:j.get)=="function")}async function createCredential(_){try{const j=await navigator.credentials.create(_);return j?j instanceof PublicKeyCredential?{data:j,error:null}:{data:null,error:new WebAuthnUnknownError("Browser returned unexpected credential type",j)}:{data:null,error:new WebAuthnUnknownError("Empty credential response",j)}}catch(j){return{data:null,error:identifyRegistrationError({error:j,options:_})}}}async function getCredential(_){try{const j=await navigator.credentials.get(_);return j?j instanceof PublicKeyCredential?{data:j,error:null}:{data:null,error:new WebAuthnUnknownError("Browser returned unexpected credential type",j)}:{data:null,error:new WebAuthnUnknownError("Empty credential response",j)}}catch(j){return{data:null,error:identifyAuthenticationError({error:j,options:_})}}}const DEFAULT_CREATION_OPTIONS={hints:["security-key"],authenticatorSelection:{authenticatorAttachment:"cross-platform",requireResidentKey:!1,userVerification:"preferred",residentKey:"discouraged"},attestation:"direct"},DEFAULT_REQUEST_OPTIONS={userVerification:"preferred",hints:["security-key"],attestation:"direct"};function deepMerge(..._){const j=rt=>rt!==null&&typeof rt=="object"&&!Array.isArray(rt),et=rt=>rt instanceof ArrayBuffer||ArrayBuffer.isView(rt),tt={};for(const rt of _)if(rt)for(const nt in rt){const it=rt[nt];if(it!==void 0)if(Array.isArray(it))tt[nt]=it;else if(et(it))tt[nt]=it;else if(j(it)){const st=tt[nt];j(st)?tt[nt]=deepMerge(st,it):tt[nt]=deepMerge(it)}else tt[nt]=it}return tt}function mergeCredentialCreationOptions(_,j){return deepMerge(DEFAULT_CREATION_OPTIONS,_,j||{})}function mergeCredentialRequestOptions(_,j){return deepMerge(DEFAULT_REQUEST_OPTIONS,_,j||{})}class WebAuthnApi{constructor(j){this.client=j,this.enroll=this._enroll.bind(this),this.challenge=this._challenge.bind(this),this.verify=this._verify.bind(this),this.authenticate=this._authenticate.bind(this),this.register=this._register.bind(this)}async _enroll(j){return this.client.mfa.enroll(Object.assign(Object.assign({},j),{factorType:"webauthn"}))}async _challenge({factorId:j,webauthn:et,friendlyName:tt,signal:rt},nt){try{const{data:it,error:st}=await this.client.mfa.challenge({factorId:j,webauthn:et});if(!it)return{data:null,error:st};const at=rt??webAuthnAbortService.createNewAbortSignal();if(it.webauthn.type==="create"){const{user:ot}=it.webauthn.credential_options.publicKey;ot.name||(ot.name=`${ot.id}:${tt}`),ot.displayName||(ot.displayName=ot.name)}switch(it.webauthn.type){case"create":{const ot=mergeCredentialCreationOptions(it.webauthn.credential_options.publicKey,nt==null?void 0:nt.create),{data:lt,error:ct}=await createCredential({publicKey:ot,signal:at});return lt?{data:{factorId:j,challengeId:it.id,webauthn:{type:it.webauthn.type,credential_response:lt}},error:null}:{data:null,error:ct}}case"request":{const ot=mergeCredentialRequestOptions(it.webauthn.credential_options.publicKey,nt==null?void 0:nt.request),{data:lt,error:ct}=await getCredential(Object.assign(Object.assign({},it.webauthn.credential_options),{publicKey:ot,signal:at}));return lt?{data:{factorId:j,challengeId:it.id,webauthn:{type:it.webauthn.type,credential_response:lt}},error:null}:{data:null,error:ct}}}}catch(it){return isAuthError(it)?{data:null,error:it}:{data:null,error:new AuthUnknownError("Unexpected error in challenge",it)}}}async _verify({challengeId:j,factorId:et,webauthn:tt}){return this.client.mfa.verify({factorId:et,challengeId:j,webauthn:tt})}async _authenticate({factorId:j,webauthn:{rpId:et=typeof window<"u"?window.location.hostname:void 0,rpOrigins:tt=typeof window<"u"?[window.location.origin]:void 0,signal:rt}={}},nt){if(!et)return{data:null,error:new AuthError("rpId is required for WebAuthn authentication")};try{if(!browserSupportsWebAuthn())return{data:null,error:new AuthUnknownError("Browser does not support WebAuthn",null)};const{data:it,error:st}=await this.challenge({factorId:j,webauthn:{rpId:et,rpOrigins:tt},signal:rt},{request:nt});if(!it)return{data:null,error:st};const{webauthn:at}=it;return this._verify({factorId:j,challengeId:it.challengeId,webauthn:{type:at.type,rpId:et,rpOrigins:tt,credential_response:at.credential_response}})}catch(it){return isAuthError(it)?{data:null,error:it}:{data:null,error:new AuthUnknownError("Unexpected error in authenticate",it)}}}async _register({friendlyName:j,webauthn:{rpId:et=typeof window<"u"?window.location.hostname:void 0,rpOrigins:tt=typeof window<"u"?[window.location.origin]:void 0,signal:rt}={}},nt){if(!et)return{data:null,error:new AuthError("rpId is required for WebAuthn registration")};try{if(!browserSupportsWebAuthn())return{data:null,error:new AuthUnknownError("Browser does not support WebAuthn",null)};const{data:it,error:st}=await this._enroll({friendlyName:j});if(!it)return await this.client.mfa.listFactors().then(lt=>{var ct;return(ct=lt.data)===null||ct===void 0?void 0:ct.all.find(ut=>ut.factor_type==="webauthn"&&ut.friendly_name===j&&ut.status!=="unverified")}).then(lt=>lt?this.client.mfa.unenroll({factorId:lt==null?void 0:lt.id}):void 0),{data:null,error:st};const{data:at,error:ot}=await this._challenge({factorId:it.id,friendlyName:it.friendly_name,webauthn:{rpId:et,rpOrigins:tt},signal:rt},{create:nt});return at?this._verify({factorId:it.id,challengeId:at.challengeId,webauthn:{rpId:et,rpOrigins:tt,type:at.webauthn.type,credential_response:at.webauthn.credential_response}}):{data:null,error:ot}}catch(it){return isAuthError(it)?{data:null,error:it}:{data:null,error:new AuthUnknownError("Unexpected error in register",it)}}}}polyfillGlobalThis();const DEFAULT_OPTIONS={url:GOTRUE_URL,storageKey:STORAGE_KEY,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:DEFAULT_HEADERS$1,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1,throwOnError:!1};async function lockNoOp(_,j,et){return await et()}const GLOBAL_JWKS={};class GoTrueClient{get jwks(){var j,et;return(et=(j=GLOBAL_JWKS[this.storageKey])===null||j===void 0?void 0:j.jwks)!==null&&et!==void 0?et:{keys:[]}}set jwks(j){GLOBAL_JWKS[this.storageKey]=Object.assign(Object.assign({},GLOBAL_JWKS[this.storageKey]),{jwks:j})}get jwks_cached_at(){var j,et;return(et=(j=GLOBAL_JWKS[this.storageKey])===null||j===void 0?void 0:j.cachedAt)!==null&&et!==void 0?et:Number.MIN_SAFE_INTEGER}set jwks_cached_at(j){GLOBAL_JWKS[this.storageKey]=Object.assign(Object.assign({},GLOBAL_JWKS[this.storageKey]),{cachedAt:j})}constructor(j){var et,tt,rt;this.userStorage=null,this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log;const nt=Object.assign(Object.assign({},DEFAULT_OPTIONS),j);if(this.storageKey=nt.storageKey,this.instanceID=(et=GoTrueClient.nextInstanceID[this.storageKey])!==null&&et!==void 0?et:0,GoTrueClient.nextInstanceID[this.storageKey]=this.instanceID+1,this.logDebugMessages=!!nt.debug,typeof nt.debug=="function"&&(this.logger=nt.debug),this.instanceID>0&&isBrowser$2()){const it=`${this._logPrefix()} Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.`;console.warn(it),this.logDebugMessages&&console.trace(it)}if(this.persistSession=nt.persistSession,this.autoRefreshToken=nt.autoRefreshToken,this.admin=new GoTrueAdminApi({url:nt.url,headers:nt.headers,fetch:nt.fetch}),this.url=nt.url,this.headers=nt.headers,this.fetch=resolveFetch$1(nt.fetch),this.lock=nt.lock||lockNoOp,this.detectSessionInUrl=nt.detectSessionInUrl,this.flowType=nt.flowType,this.hasCustomAuthorizationHeader=nt.hasCustomAuthorizationHeader,this.throwOnError=nt.throwOnError,nt.lock?this.lock=nt.lock:this.persistSession&&isBrowser$2()&&(!((tt=globalThis==null?void 0:globalThis.navigator)===null||tt===void 0)&&tt.locks)?this.lock=navigatorLock:this.lock=lockNoOp,this.jwks||(this.jwks={keys:[]},this.jwks_cached_at=Number.MIN_SAFE_INTEGER),this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this),webauthn:new WebAuthnApi(this)}
670,this.oauth={getAuthorizationDetails:this._getAuthorizationDetails.bind(this),approveAuthorization:this._approveAuthorization.bind(this),denyAuthorization:this._denyAuthorization.bind(this),listGrants:this._listOAuthGrants.bind(this),revokeGrant:this._revokeOAuthGrant.bind(this)},this.persistSession?(nt.storage?this.storage=nt.storage:supportsLocalStorage()?this.storage=globalThis.localStorage:(this.memoryStorage={},this.storage=memoryLocalStorageAdapter(this.memoryStorage)),nt.userStorage&&(this.userStorage=nt.userStorage)):(this.memoryStorage={},this.storage=memoryLocalStorageAdapter(this.memoryStorage)),isBrowser$2()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(it){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",it)}(rt=this.broadcastChannel)===null||rt===void 0||rt.addEventListener("message",async it=>{this._debug("received broadcast notification from other tab or client",it),await this._notifyAllSubscribers(it.data.event,it.data.session,!1)})}this.initialize()}isThrowOnErrorEnabled(){return this.throwOnError}_returnResult(j){if(this.throwOnError&&j&&j.error)throw j.error;return j}_logPrefix(){return`GoTrueClient@${this.storageKey}:${this.instanceID} (${version$2}) ${new Date().toISOString()}`}_debug(...j){return this.logDebugMessages&&this.logger(this._logPrefix(),...j),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>await this._acquireLock(-1,async()=>await this._initialize()))(),await this.initializePromise)}async _initialize(){var j;try{let et={},tt="none";if(isBrowser$2()&&(et=parseParametersFromURL(window.location.href),this._isImplicitGrantCallback(et)?tt="implicit":await this._isPKCECallback(et)&&(tt="pkce")),isBrowser$2()&&this.detectSessionInUrl&&tt!=="none"){const{data:rt,error:nt}=await this._getSessionFromURL(et,tt);if(nt){if(this._debug("#_initialize()","error detecting session from URL",nt),isAuthImplicitGrantRedirectError(nt)){const at=(j=nt.details)===null||j===void 0?void 0:j.code;if(at==="identity_already_exists"||at==="identity_not_found"||at==="single_identity_not_deletable")return{error:nt}}return await this._removeSession(),{error:nt}}const{session:it,redirectType:st}=rt;return this._debug("#_initialize()","detected session in URL",it,"redirect type",st),await this._saveSession(it),setTimeout(async()=>{st==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",it):await this._notifyAllSubscribers("SIGNED_IN",it)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(et){return isAuthError(et)?this._returnResult({error:et}):this._returnResult({error:new AuthUnknownError("Unexpected error during initialization",et)})}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(j){var et,tt,rt;try{const nt=await _request(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(tt=(et=j==null?void 0:j.options)===null||et===void 0?void 0:et.data)!==null&&tt!==void 0?tt:{},gotrue_meta_security:{captcha_token:(rt=j==null?void 0:j.options)===null||rt===void 0?void 0:rt.captchaToken}},xform:_sessionResponse}),{data:it,error:st}=nt;if(st||!it)return this._returnResult({data:{user:null,session:null},error:st});const at=it.session,ot=it.user;return it.session&&(await this._saveSession(it.session),await this._notifyAllSubscribers("SIGNED_IN",at)),this._returnResult({data:{user:ot,session:at},error:null})}catch(nt){if(isAuthError(nt))return this._returnResult({data:{user:null,session:null},error:nt});throw nt}}async signUp(j){var et,tt,rt;try{let nt;if("email"in j){const{email:lt,password:ct,options:ut}=j;let dt=null,ht=null;this.flowType==="pkce"&&([dt,ht]=await getCodeChallengeAndMethod(this.storage,this.storageKey)),nt=await _request(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:ut==null?void 0:ut.emailRedirectTo,body:{email:lt,password:ct,data:(et=ut==null?void 0:ut.data)!==null&&et!==void 0?et:{},gotrue_meta_security:{captcha_token:ut==null?void 0:ut.captchaToken},code_challenge:dt,code_challenge_method:ht},xform:_sessionResponse})}else if("phone"in j){const{phone:lt,password:ct,options:ut}=j;nt=await _request(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:lt,password:ct,data:(tt=ut==null?void 0:ut.data)!==null&&tt!==void 0?tt:{},channel:(rt=ut==null?void 0:ut.channel)!==null&&rt!==void 0?rt:"sms",gotrue_meta_security:{captcha_token:ut==null?void 0:ut.captchaToken}},xform:_sessionResponse})}else throw new AuthInvalidCredentialsError("You must provide either an email or phone number and a password");const{data:it,error:st}=nt;if(st||!it)return await removeItemAsync(this.storage,`${this.storageKey}-code-verifier`),this._returnResult({data:{user:null,session:null},error:st});const at=it.session,ot=it.user;return it.session&&(await this._saveSession(it.session),await this._notifyAllSubscribers("SIGNED_IN",at)),this._returnResult({data:{user:ot,session:at},error:null})}catch(nt){if(await removeItemAsync(this.storage,`${this.storageKey}-code-verifier`),isAuthError(nt))return this._returnResult({data:{user:null,session:null},error:nt});throw nt}}async signInWithPassword(j){try{let et;if("email"in j){const{email:nt,password:it,options:st}=j;et=await _request(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:nt,password:it,gotrue_meta_security:{captcha_token:st==null?void 0:st.captchaToken}},xform:_sessionResponsePassword})}else if("phone"in j){const{phone:nt,password:it,options:st}=j;et=await _request(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:nt,password:it,gotrue_meta_security:{captcha_token:st==null?void 0:st.captchaToken}},xform:_sessionResponsePassword})}else throw new AuthInvalidCredentialsError("You must provide either an email or phone number and a password");const{data:tt,error:rt}=et;if(rt)return this._returnResult({data:{user:null,session:null},error:rt});
670if(!tt||!tt.session||!tt.user){const nt=new AuthInvalidTokenResponseError;return this._returnResult({data:{user:null,session:null},error:nt})}return tt.session&&(await this._saveSession(tt.session),await this._notifyAllSubscribers("SIGNED_IN",tt.session)),this._returnResult({data:Object.assign({user:tt.user,session:tt.session},tt.weak_password?{weakPassword:tt.weak_password}:null),error:rt})}catch(et){if(isAuthError(et))return this._returnResult({data:{user:null,session:null},error:et});throw et}}async signInWithOAuth(j){var et,tt,rt,nt;return await this._handleProviderSignIn(j.provider,{redirectTo:(et=j.options)===null||et===void 0?void 0:et.redirectTo,scopes:(tt=j.options)===null||tt===void 0?void 0:tt.scopes,queryParams:(rt=j.options)===null||rt===void 0?void 0:rt.queryParams,skipBrowserRedirect:(nt=j.options)===null||nt===void 0?void 0:nt.skipBrowserRedirect})}async exchangeCodeForSession(j){return await this.initializePromise,this._acquireLock(-1,async()=>this._exchangeCodeForSession(j))}async signInWithWeb3(j){const{chain:et}=j;switch(et){case"ethereum":return await this.signInWithEthereum(j);case"solana":return await this.signInWithSolana(j);default:throw new Error(`@supabase/auth-js: Unsupported chain "${et}"`)}}async signInWithEthereum(j){var et,tt,rt,nt,it,st,at,ot,lt,ct,ut;let dt,ht;if("message"in j)dt=j.message,ht=j.signature;else{const{chain:pt,wallet:gt,statement:ft,options:mt}=j;let xt;if(isBrowser$2())if(typeof gt=="object")xt=gt;else{const wt=window;if("ethereum"in wt&&typeof wt.ethereum=="object"&&"request"in wt.ethereum&&typeof wt.ethereum.request=="function")xt=wt.ethereum;else throw new Error("@supabase/auth-js: No compatible Ethereum wallet interface on the window object (window.ethereum) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'ethereum', wallet: resolvedUserWallet }) instead.")}else{if(typeof gt!="object"||!(mt!=null&&mt.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");xt=gt}const yt=new URL((et=mt==null?void 0:mt.url)!==null&&et!==void 0?et:window.location.href),vt=await xt.request({method:"eth_requestAccounts"}).then(wt=>wt).catch(()=>{throw new Error("@supabase/auth-js: Wallet method eth_requestAccounts is missing or invalid")});if(!vt||vt.length===0)throw new Error("@supabase/auth-js: No accounts available. Please ensure the wallet is connected.");const bt=getAddress(vt[0]);let Et=(tt=mt==null?void 0:mt.signInWithEthereum)===null||tt===void 0?void 0:tt.chainId;if(!Et){const wt=await xt.request({method:"eth_chainId"});Et=fromHex(wt)}
670const _t={domain:yt.host,address:bt,statement:ft,uri:yt.href,version:"1",chainId:Et,nonce:(rt=mt==null?void 0:mt.signInWithEthereum)===null||rt===void 0?void 0:rt.nonce,issuedAt:(it=(nt=mt==null?void 0:mt.signInWithEthereum)===null||nt===void 0?void 0:nt.issuedAt)!==null&&it!==void 0?it:new Date,expirationTime:(st=mt==null?void 0:mt.signInWithEthereum)===null||st===void 0?void 0:st.expirationTime,notBefore:(at=mt==null?void 0:mt.signInWithEthereum)===null||at===void 0?void 0:at.notBefore,requestId:(ot=mt==null?void 0:mt.signInWithEthereum)===null||ot===void 0?void 0:ot.requestId,resources:(lt=mt==null?void 0:mt.signInWithEthereum)===null||lt===void 0?void 0:lt.resources};dt=createSiweMessage(_t),ht=await xt.request({method:"personal_sign",params:[toHex(dt),bt]})}try{const{data:pt,error:gt}=await _request(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"ethereum",message:dt,signature:ht},!((ct=j.options)===null||ct===void 0)&&ct.captchaToken?{gotrue_meta_security:{captcha_token:(ut=j.options)===null||ut===void 0?void 0:ut.captchaToken}}:null),xform:_sessionResponse});if(gt)throw gt;
670if(!pt||!pt.session||!pt.user){const ft=new AuthInvalidTokenResponseError;return this._returnResult({data:{user:null,session:null},error:ft})}return pt.session&&(await this._saveSession(pt.session),await this._notifyAllSubscribers("SIGNED_IN",pt.session)),this._returnResult({data:Object.assign({},pt),error:gt})}catch(pt){if(isAuthError(pt))return this._returnResult({data:{user:null,session:null},error:pt});throw pt}}async signInWithSolana(j){var et,tt,rt,nt,it,st,at,ot,lt,ct,ut,dt;let ht,pt;if("message"in j)ht=j.message,pt=j.signature;else{const{chain:gt,wallet:ft,statement:mt,options:xt}=j;let yt;if(isBrowser$2())if(typeof ft=="object")yt=ft;else{const bt=window;if("solana"in bt&&typeof bt.solana=="object"&&("signIn"in bt.solana&&typeof bt.solana.signIn=="function"||"signMessage"in bt.solana&&typeof bt.solana.signMessage=="function"))yt=bt.solana;else throw new Error("@supabase/auth-js: No compatible Solana wallet interface on the window object (window.solana) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'solana', wallet: resolvedUserWallet }) instead.")}else{if(typeof ft!="object"||!(xt!=null&&xt.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");yt=ft}const vt=new URL((et=xt==null?void 0:xt.url)!==null&&et!==void 0?et:window.location.href);if("signIn"in yt&&yt.signIn){const bt=await yt.signIn(Object.assign(Object.assign(Object.assign({issuedAt:new Date().toISOString()},xt==null?void 0:xt.signInWithSolana),{version:"1",domain:vt.host,uri:vt.href}),mt?{statement:mt}:null));let Et;if(Array.isArray(bt)&&bt[0]&&typeof bt[0]=="object")Et=bt[0];else if(bt&&typeof bt=="object"&&"signedMessage"in bt&&"signature"in bt)Et=bt;else throw new Error("@supabase/auth-js: Wallet method signIn() returned unrecognized value");if("signedMessage"in Et&&"signature"in Et&&(typeof Et.signedMessage=="string"||Et.signedMessage instanceof Uint8Array)&&Et.signature instanceof Uint8Array)ht=typeof Et.signedMessage=="string"?Et.signedMessage:new TextDecoder().decode(Et.signedMessage),pt=Et.signature;else throw new Error("@supabase/auth-js: Wallet method signIn() API returned object without signedMessage and signature fields")}else{if(!("signMessage"in yt)||typeof yt.signMessage!="function"||!("publicKey"in yt)||typeof yt!="object"||!yt.publicKey||!("toBase58"in yt.publicKey)||typeof yt.publicKey.toBase58!="function")throw new Error("@supabase/auth-js: Wallet does not have a compatible signMessage() and publicKey.toBase58() API");ht=[`${vt.host} wants you to sign in with your Solana account:`,yt.publicKey.toBase58(),...mt?["",mt,""]:[""],"Version: 1",`URI: ${vt.href}`,`Issued At: ${(rt=(tt=xt==null?void 0:xt.signInWithSolana)===null||tt===void 0?void 0:tt.issuedAt)!==null&&rt!==void 0?rt:new Date().toISOString()}`,...!((nt=xt==null?void 0:xt.signInWithSolana)===null||nt===void 0)&&nt.notBefore?[`Not Before: ${xt.signInWithSolana.notBefore}`]:[],...!((it=xt==null?void 0:xt.signInWithSolana)===null||it===void 0)&&it.expirationTime?[`Expiration Time: ${xt.signInWithSolana.expirationTime}`]:[],...!((st=xt==null?void 0:xt.signInWithSolana)===null||st===void 0)&&st.chainId?[`Chain ID: ${xt.signInWithSolana.chainId}`]:[],...!((at=xt==null?void 0:xt.signInWithSolana)===null||at===void 0)&&at.nonce?[`Nonce: ${xt.signInWithSolana.nonce}`]:[],...!((ot=xt==null?void 0:xt.signInWithSolana)===null||ot===void 0)&&ot.requestId?[`Request ID: ${xt.signInWithSolana.requestId}`]:[],...!((ct=(lt=xt==null?void 0:xt.signInWithSolana)===null||lt===void 0?void 0:lt.resources)===null||ct===void 0)&&ct.length?["Resources",...xt.signInWithSolana.resources.map(Et=>`- ${Et}`)]:[]].join(` 671`);const bt=await yt.signMessage(new TextEncoder().encode(ht),"utf8");if(!bt||!(bt instanceof Uint8Array))throw new Error("@supabase/auth-js: Wallet signMessage() API returned an recognized value");pt=bt}}try{const{data:gt,error:ft}=await _request(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"solana",message:ht,signature:bytesToBase64URL(pt)},!((ut=j.options)===null||ut===void 0)&&ut.captchaToken?{gotrue_meta_security:{captcha_token:(dt=j.options)===null||dt===void 0?void 0:dt.captchaToken}}:null),xform:_sessionResponse});if(ft)throw ft;
671if(!gt||!gt.session||!gt.user){const mt=new AuthInvalidTokenResponseError;return this._returnResult({data:{user:null,session:null},error:mt})}return gt.session&&(await this._saveSession(gt.session),await this._notifyAllSubscribers("SIGNED_IN",gt.session)),this._returnResult({data:Object.assign({},gt),error:ft})}catch(gt){if(isAuthError(gt))return this._returnResult({data:{user:null,session:null},error:gt});throw gt}}async _exchangeCodeForSession(j){const et=await getItemAsync(this.storage,`${this.storageKey}-code-verifier`),[tt,rt]=(et??"").split("/");try{if(!tt&&this.flowType==="pkce")throw new AuthPKCECodeVerifierMissingError;const{data:nt,error:it}=await _request(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:j,code_verifier:tt},xform:_sessionResponse});if(await removeItemAsync(this.storage,`${this.storageKey}-code-verifier`),it)throw it;if(!nt||!nt.session||!nt.user){const st=new AuthInvalidTokenResponseError;return this._returnResult({data:{user:null,session:null,redirectType:null},error:st})}return nt.session&&(await this._saveSession(nt.session),await this._notifyAllSubscribers("SIGNED_IN",nt.session)),this._returnResult({data:Object.assign(Object.assign({},nt),{redirectType:rt??null}),error:it})}catch(nt){if(await removeItemAsync(this.storage,`${this.storageKey}-code-verifier`),isAuthError(nt))return this._returnResult({data:{user:null,session:null,redirectType:null},error:nt});throw nt}}async signInWithIdToken(j){try{const{options:et,provider:tt,token:rt,access_token:nt,nonce:it}=j,st=await _request(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:tt,id_token:rt,access_token:nt,nonce:it,gotrue_meta_security:{captcha_token:et==null?void 0:et.captchaToken}},xform:_sessionResponse}),{data:at,error:ot}=st;if(ot)return this._returnResult({data:{user:null,session:null},error:ot});
671if(!at||!at.session||!at.user){const lt=new AuthInvalidTokenResponseError;return this._returnResult({data:{user:null,session:null},error:lt})}return at.session&&(await this._saveSession(at.session),await this._notifyAllSubscribers("SIGNED_IN",at.session)),this._returnResult({data:at,error:ot})}catch(et){if(isAuthError(et))return this._returnResult({data:{user:null,session:null},error:et});throw et}}async signInWithOtp(j){var et,tt,rt,nt,it;try{if("email"in j){const{email:st,options:at}=j;let ot=null,lt=null;this.flowType==="pkce"&&([ot,lt]=await getCodeChallengeAndMethod(this.storage,this.storageKey));const{error:ct}=await _request(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:st,data:(et=at==null?void 0:at.data)!==null&&et!==void 0?et:{},create_user:(tt=at==null?void 0:at.shouldCreateUser)!==null&&tt!==void 0?tt:!0,gotrue_meta_security:{captcha_token:at==null?void 0:at.captchaToken},code_challenge:ot,code_challenge_method:lt},redirectTo:at==null?void 0:at.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:ct})}if("phone"in j){const{phone:st,options:at}=j,{data:ot,error:lt}=await _request(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:st,data:(rt=at==null?void 0:at.data)!==null&&rt!==void 0?rt:{},create_user:(nt=at==null?void 0:at.shouldCreateUser)!==null&&nt!==void 0?nt:!0,gotrue_meta_security:{captcha_token:at==null?void 0:at.captchaToken},channel:(it=at==null?void 0:at.channel)!==null&&it!==void 0?it:"sms"}});return this._returnResult({data:{user:null,session:null,messageId:ot==null?void 0:ot.message_id},error:lt})}throw new AuthInvalidCredentialsError("You must provide either an email or phone number.")}catch(st){if(await removeItemAsync(this.storage,`${this.storageKey}-code-verifier`),isAuthError(st))return this._returnResult({data:{user:null,session:null},error:st});throw st}}async verifyOtp(j){var et,tt;try{let rt,nt;"options"in j&&(rt=(et=j.options)===null||et===void 0?void 0:et.redirectTo,nt=(tt=j.options)===null||tt===void 0?void 0:tt.captchaToken);const{data:it,error:st}=await _request(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},j),{gotrue_meta_security:{captcha_token:nt}}),redirectTo:rt,xform:_sessionResponse});if(st)throw st;if(!it)throw new Error("An error occurred on token verification.");const at=it.session,ot=it.user;return at!=null&&at.access_token&&(await this._saveSession(at),await this._notifyAllSubscribers(j.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",at)),this._returnResult({data:{user:ot,session:at},error:null})}catch(rt){if(isAuthError(rt))return this._returnResult({data:{user:null,session:null},error:rt});throw rt}}async signInWithSSO(j){var et,tt,rt,nt,it;try{let st=null,at=null;this.flowType==="pkce"&&([st,at]=await getCodeChallengeAndMethod(this.storage,this.storageKey));const ot=await _request(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in j?{provider_id:j.providerId}:null),"domain"in j?{domain:j.domain}:null),{redirect_to:(tt=(et=j.options)===null||et===void 0?void 0:et.redirectTo)!==null&&tt!==void 0?tt:void 0}),!((rt=j==null?void 0:j.options)===null||rt===void 0)&&rt.captchaToken?{gotrue_meta_security:{captcha_token:j.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:st,code_challenge_method:at}),headers:this.headers,xform:_ssoResponse});return!((nt=ot.data)===null||nt===void 0)&&nt.url&&isBrowser$2()&&!(!((it=j.options)===null||it===void 0)&&it.skipBrowserRedirect)&&window.location.assign(ot.data.url),this._returnResult(ot)}catch(st){if(await removeItemAsync(this.storage,`${this.storageKey}-code-verifier`),isAuthError(st))return this._returnResult({data:null,error:st});throw st}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async j=>{const{data:{session:et},error:tt}=j;if(tt)throw tt;if(!et)throw new AuthSessionMissingError;
671const{error:rt}=await _request(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:et.access_token});return this._returnResult({data:{user:null,session:null},error:rt})})}catch(j){if(isAuthError(j))return this._returnResult({data:{user:null,session:null},error:j});throw j}}async resend(j){try{const et=`${this.url}/resend`;if("email"in j){const{email:tt,type:rt,options:nt}=j,{error:it}=await _request(this.fetch,"POST",et,{headers:this.headers,body:{email:tt,type:rt,gotrue_meta_security:{captcha_token:nt==null?void 0:nt.captchaToken}},redirectTo:nt==null?void 0:nt.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:it})}else if("phone"in j){const{phone:tt,type:rt,options:nt}=j,{data:it,error:st}=await _request(this.fetch,"POST",et,{headers:this.headers,body:{phone:tt,type:rt,gotrue_meta_security:{captcha_token:nt==null?void 0:nt.captchaToken}}});return this._returnResult({data:{user:null,session:null,messageId:it==null?void 0:it.message_id},error:st})}throw new AuthInvalidCredentialsError("You must provide either an email or phone number and a type")}catch(et){if(isAuthError(et))return this._returnResult({data:{user:null,session:null},error:et});throw et}}async getSession(){return await this.initializePromise,await this._acquireLock(-1,async()=>this._useSession(async et=>et))}async _acquireLock(j,et){this._debug("#_acquireLock","begin",j);try{if(this.lockAcquired){const tt=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),rt=(async()=>(await tt,await et()))();return this.pendingInLock.push((async()=>{try{await rt}catch{}})()),rt}return await this.lock(`lock:${this.storageKey}`,j,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const tt=et();for(this.pendingInLock.push((async()=>{try{await tt}catch{}})()),await tt;this.pendingInLock.length;){const rt=[...this.pendingInLock];await Promise.all(rt),this.pendingInLock.splice(0,rt.length)}return await tt}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(j){this._debug("#_useSession","begin");try{const et=await this.__loadSession();return await j(et)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",new Error().stack);try{let j=null;const et=await getItemAsync(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",et),et!==null&&(this._isValidSession(et)?j=et:(this._debug("#getSession()","session from storage is not valid"),await this._removeSession())),!j)return{data:{session:null},error:null};const tt=j.expires_at?j.expires_at*1e3-Date.now()<EXPIRY_MARGIN_MS:!1;if(this._debug("#__loadSession()",`session has${tt?"":" not"} expired`,"expires_at",j.expires_at),!tt){if(this.userStorage){const it=await getItemAsync(this.userStorage,this.storageKey+"-user");it!=null&&it.user?j.user=it.user:j.user=userNotAvailableProxy()}if(this.storage.isServer&&j.user&&!j.user.__isUserNotAvailableProxy){const it={value:this.suppressGetSessionWarning};j.user=insecureUserWarningProxy(j.user,it),it.value&&(this.suppressGetSessionWarning=!0)}return{data:{session:j},error:null}}const{data:rt,error:nt}=await this._callRefreshToken(j.refresh_token);return nt?this._returnResult({data:{session:null},error:nt}):this._returnResult({data:{session:rt},error:null})}finally{this._debug("#__loadSession()","end")}}async getUser(j){if(j)return await this._getUser(j);await this.initializePromise;const et=await this._acquireLock(-1,async()=>await this._getUser());return et.data.user&&(this.suppressGetSessionWarning=!0),et}async _getUser(j){try{return j?await _request(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:j,xform:_userResponse}):await this._useSession(async et=>{var tt,rt,nt;const{data:it,error:st}=et;if(st)throw st;return!(!((tt=it.session)===null||tt===void 0)&&tt.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new AuthSessionMissingError}:await _request(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(nt=(rt=it.session)===null||rt===void 0?void 0:rt.access_token)!==null&&nt!==void 0?nt:void 0,xform:_userResponse})})}catch(et){if(isAuthError(et))return isAuthSessionMissingError(et)&&(await this._removeSession(),await removeItemAsync(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({data:{user:null},error:et});throw et}}async updateUser(j,et={}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._updateUser(j,et))}async _updateUser(j,et={}){try{return await this._useSession(async tt=>{const{data:rt,error:nt}=tt;if(nt)throw nt;if(!rt.session)throw new AuthSessionMissingError;
671const it=rt.session;let st=null,at=null;this.flowType==="pkce"&&j.email!=null&&([st,at]=await getCodeChallengeAndMethod(this.storage,this.storageKey));const{data:ot,error:lt}=await _request(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:et==null?void 0:et.emailRedirectTo,body:Object.assign(Object.assign({},j),{code_challenge:st,code_challenge_method:at}),jwt:it.access_token,xform:_userResponse});if(lt)throw lt;return it.user=ot.user,await this._saveSession(it),await this._notifyAllSubscribers("USER_UPDATED",it),this._returnResult({data:{user:it.user},error:null})})}catch(tt){if(await removeItemAsync(this.storage,`${this.storageKey}-code-verifier`),isAuthError(tt))return this._returnResult({data:{user:null},error:tt});throw tt}}async setSession(j){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._setSession(j))}async _setSession(j){try{if(!j.access_token||!j.refresh_token)throw new AuthSessionMissingError;const et=Date.now()/1e3;let tt=et,rt=!0,nt=null;const{payload:it}=decodeJWT(j.access_token);if(it.exp&&(tt=it.exp,rt=tt<=et),rt){const{data:st,error:at}=await this._callRefreshToken(j.refresh_token);if(at)return this._returnResult({data:{user:null,session:null},error:at});if(!st)return{data:{user:null,session:null},error:null};nt=st}else{const{data:st,error:at}=await this._getUser(j.access_token);if(at)throw at;nt={access_token:j.access_token,refresh_token:j.refresh_token,user:st.user,token_type:"bearer",expires_in:tt-et,expires_at:tt},await this._saveSession(nt),await this._notifyAllSubscribers("SIGNED_IN",nt)}return this._returnResult({data:{user:nt.user,session:nt},error:null})}catch(et){if(isAuthError(et))return this._returnResult({data:{session:null,user:null},error:et});throw et}}async refreshSession(j){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._refreshSession(j))}async _refreshSession(j){try{return await this._useSession(async et=>{var tt;if(!j){const{data:it,error:st}=et;if(st)throw st;j=(tt=it.session)!==null&&tt!==void 0?tt:void 0}if(!(j!=null&&j.refresh_token))throw new AuthSessionMissingError;const{data:rt,error:nt}=await this._callRefreshToken(j.refresh_token);return nt?this._returnResult({data:{user:null,session:null},error:nt}):rt?this._returnResult({data:{user:rt.user,session:rt},error:null}):this._returnResult({data:{user:null,session:null},error:null})})}catch(et){if(isAuthError(et))return this._returnResult({data:{user:null,session:null},error:et});throw et}}async _getSessionFromURL(j,et){try{if(!isBrowser$2())throw new AuthImplicitGrantRedirectError("No browser detected.");if(j.error||j.error_description||j.error_code)throw new AuthImplicitGrantRedirectError(j.error_description||"Error in URL with unspecified error_description",{error:j.error||"unspecified_error",code:j.error_code||"unspecified_code"});switch(et){case"implicit":if(this.flowType==="pkce")throw new AuthPKCEGrantCodeExchangeError("Not a valid PKCE flow url.");break;case"pkce":if(this.flowType==="implicit")throw new AuthImplicitGrantRedirectError("Not a valid implicit grant flow url.");break;default:}if(et==="pkce"){if(this._debug("#_initialize()","begin","is PKCE flow",!0),!j.code)throw new AuthPKCEGrantCodeExchangeError("No code detected.");const{data:mt,error:xt}=await this._exchangeCodeForSession(j.code);if(xt)throw xt;const yt=new URL(window.location.href);return yt.searchParams.delete("code"),window.history.replaceState(window.history.state,"",yt.toString()),{data:{session:mt.session,redirectType:null},error:null}}const{provider_token:tt,provider_refresh_token:rt,access_token:nt,refresh_token:it,expires_in:st,expires_at:at,token_type:ot}=j;if(!nt||!st||!it||!ot)throw new AuthImplicitGrantRedirectError("No session defined in URL");const lt=Math.round(Date.now()/1e3),ct=parseInt(st);let ut=lt+ct;at&&(ut=parseInt(at));const dt=ut-lt;dt*1e3<=AUTO_REFRESH_TICK_DURATION_MS&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${dt}s, should have been closer to ${ct}s`);const ht=ut-ct;lt-ht>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",ht,ut,lt):lt-ht<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",ht,ut,lt);const{data:pt,error:gt}=await this._getUser(nt);if(gt)throw gt;
671const ft={provider_token:tt,provider_refresh_token:rt,access_token:nt,expires_in:ct,expires_at:ut,refresh_token:it,token_type:ot,user:pt.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),this._returnResult({data:{session:ft,redirectType:j.type},error:null})}catch(tt){if(isAuthError(tt))return this._returnResult({data:{session:null,redirectType:null},error:tt});throw tt}}_isImplicitGrantCallback(j){return typeof this.detectSessionInUrl=="function"?this.detectSessionInUrl(new URL(window.location.href),j):!!(j.access_token||j.error_description)}async _isPKCECallback(j){const et=await getItemAsync(this.storage,`${this.storageKey}-code-verifier`);return!!(j.code&&et)}async signOut(j={scope:"global"}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._signOut(j))}async _signOut({scope:j}={scope:"global"}){return await this._useSession(async et=>{var tt;const{data:rt,error:nt}=et;if(nt)return this._returnResult({error:nt});const it=(tt=rt.session)===null||tt===void 0?void 0:tt.access_token;if(it){const{error:st}=await this.admin.signOut(it,j);if(st&&!(isAuthApiError(st)&&(st.status===404||st.status===401||st.status===403)))return this._returnResult({error:st})}return j!=="others"&&(await this._removeSession(),await removeItemAsync(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({error:null})})}onAuthStateChange(j){const et=generateCallbackId(),tt={id:et,callback:j,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",et),this.stateChangeEmitters.delete(et)}};return this._debug("#onAuthStateChange()","registered callback with id",et),this.stateChangeEmitters.set(et,tt),(async()=>(await this.initializePromise,await this._acquireLock(-1,async()=>{this._emitInitialSession(et)})))(),{data:{subscription:tt}}}async _emitInitialSession(j){return await this._useSession(async et=>{var tt,rt;try{const{data:{session:nt},error:it}=et;if(it)throw it;await((tt=this.stateChangeEmitters.get(j))===null||tt===void 0?void 0:tt.callback("INITIAL_SESSION",nt)),this._debug("INITIAL_SESSION","callback id",j,"session",nt)}catch(nt){await((rt=this.stateChangeEmitters.get(j))===null||rt===void 0?void 0:rt.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",j,"error",nt),console.error(nt)}})}async resetPasswordForEmail(j,et={}){let tt=null,rt=null;this.flowType==="pkce"&&([tt,rt]=await getCodeChallengeAndMethod(this.storage,this.storageKey,!0));try{return await _request(this.fetch,"POST",`${this.url}/recover`,{body:{email:j,code_challenge:tt,code_challenge_method:rt,gotrue_meta_security:{captcha_token:et.captchaToken}},headers:this.headers,redirectTo:et.redirectTo})}catch(nt){if(await removeItemAsync(this.storage,`${this.storageKey}-code-verifier`),isAuthError(nt))return this._returnResult({data:null,error:nt});throw nt}}async getUserIdentities(){var j;try{const{data:et,error:tt}=await this.getUser();if(tt)throw tt;return this._returnResult({data:{identities:(j=et.user.identities)!==null&&j!==void 0?j:[]},error:null})}catch(et){if(isAuthError(et))return this._returnResult({data:null,error:et});throw et}}async linkIdentity(j){return"token"in j?this.linkIdentityIdToken(j):this.linkIdentityOAuth(j)}async linkIdentityOAuth(j){var et;try{const{data:tt,error:rt}=await this._useSession(async nt=>{var it,st,at,ot,lt;const{data:ct,error:ut}=nt;if(ut)throw ut;const dt=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,j.provider,{redirectTo:(it=j.options)===null||it===void 0?void 0:it.redirectTo,scopes:(st=j.options)===null||st===void 0?void 0:st.scopes,queryParams:(at=j.options)===null||at===void 0?void 0:at.queryParams,skipBrowserRedirect:!0});return await _request(this.fetch,"GET",dt,{headers:this.headers,jwt:(lt=(ot=ct.session)===null||ot===void 0?void 0:ot.access_token)!==null&<!==void 0?lt:void 0})});if(rt)throw rt;return isBrowser$2()&&!(!((et=j.options)===null||et===void 0)&&et.skipBrowserRedirect)&&window.location.assign(tt==null?void 0:tt.url),this._returnResult({data:{provider:j.provider,url:tt==null?void 0:tt.url},error:null})}catch(tt){if(isAuthError(tt))return this._returnResult({data:{provider:j.provider,url:null},error:tt});throw tt}}async linkIdentityIdToken(j){return await this._useSession(async et=>{var tt;try{const{error:rt,data:{session:nt}}=et;if(rt)throw rt;const{options:it,provider:st,token:at,access_token:ot,nonce:lt}=j,ct=await _request(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,jwt:(tt=nt==null?void 0:nt.access_token)!==null&&tt!==void 0?tt:void 0,body:{provider:st,id_token:at,access_token:ot,nonce:lt,link_
671identity:!0,gotrue_meta_security:{captcha_token:it==null?void 0:it.captchaToken}},xform:_sessionResponse}),{data:ut,error:dt}=ct;return dt?this._returnResult({data:{user:null,session:null},error:dt}):!ut||!ut.session||!ut.user?this._returnResult({data:{user:null,session:null},error:new AuthInvalidTokenResponseError}):(ut.session&&(await this._saveSession(ut.session),await this._notifyAllSubscribers("USER_UPDATED",ut.session)),this._returnResult({data:ut,error:dt}))}catch(rt){if(await removeItemAsync(this.storage,`${this.storageKey}-code-verifier`),isAuthError(rt))return this._returnResult({data:{user:null,session:null},error:rt});throw rt}})}async unlinkIdentity(j){try{return await this._useSession(async et=>{var tt,rt;const{data:nt,error:it}=et;if(it)throw it;return await _request(this.fetch,"DELETE",`${this.url}/user/identities/${j.identity_id}`,{headers:this.headers,jwt:(rt=(tt=nt.session)===null||tt===void 0?void 0:tt.access_token)!==null&&rt!==void 0?rt:void 0})})}catch(et){if(isAuthError(et))return this._returnResult({data:null,error:et});throw et}}async _refreshAccessToken(j){const et=`#_refreshAccessToken(${j.substring(0,5)}...)`;this._debug(et,"begin");try{const tt=Date.now();return await retryable(async rt=>(rt>0&&await sleep$1(200*Math.pow(2,rt-1)),this._debug(et,"refreshing attempt",rt),await _request(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:j},headers:this.headers,xform:_sessionResponse})),(rt,nt)=>{const it=200*Math.pow(2,rt);return nt&&isAuthRetryableFetchError(nt)&&Date.now()+it-tt<AUTO_REFRESH_TICK_DURATION_MS})}catch(tt){if(this._debug(et,"error",tt),isAuthError(tt))return this._returnResult({data:{session:null,user:null},error:tt});throw tt}finally{this._debug(et,"end")}}_isValidSession(j){return typeof j=="object"&&j!==null&&"access_token"in j&&"refresh_token"in j&&"expires_at"in j}async _handleProviderSignIn(j,et){const tt=await this._getUrlForProvider(`${this.url}/authorize`,j,{redirectTo:et.redirectTo,scopes:et.scopes,queryParams:et.queryParams});return this._debug("#_handleProviderSignIn()","provider",j,"options",et,"url",tt),isBrowser$2()&&!et.skipBrowserRedirect&&window.location.assign(tt),{data:{provider:j,url:tt},error:null}}async _recoverAndRefresh(){var j,et;const tt="#_recoverAndRefresh()";this._debug(tt,"begin");try{const rt=await getItemAsync(this.storage,this.storageKey);if(rt&&this.userStorage){let it=await getItemAsync(this.userStorage,this.storageKey+"-user");!this.storage.isServer&&Object.is(this.storage,this.userStorage)&&!it&&(it={user:rt.user},await setItemAsync(this.userStorage,this.storageKey+"-user",it)),rt.user=(j=it==null?void 0:it.user)!==null&&j!==void 0?j:userNotAvailableProxy()}else if(rt&&!rt.user&&!rt.user){const it=await getItemAsync(this.storage,this.storageKey+"-user");it&&(it!=null&&it.user)?(rt.user=it.user,await removeItemAsync(this.storage,this.storageKey+"-user"),await setItemAsync(this.storage,this.storageKey,rt)):rt.user=userNotAvailableProxy()}if(this._debug(tt,"session from storage",rt),!this._isValidSession(rt)){this._debug(tt,"session is not valid"),rt!==null&&await this._removeSession();return}const nt=((et=rt.expires_at)!==null&&et!==void 0?et:1/0)*1e3-Date.now()<EXPIRY_MARGIN_MS;if(this._debug(tt,`session has${nt?"":" not"} expired with margin of ${EXPIRY_MARGIN_MS}s`),nt){if(this.autoRefreshToken&&rt.refresh_token){const{error:it}=await this._callRefreshToken(rt.refresh_token);it&&(console.error(it),isAuthRetryableFetchError(it)||(this._debug(tt,"refresh failed with a non-retryable error, removing the session",it),await this._removeSession()))}}else if(rt.user&&rt.user.__isUserNotAvailableProxy===!0)try{const{data:it,error:st}=await this._getUser(rt.access_token);!st&&(it!=null&&it.user)?(rt.user=it.user,await this._saveSession(rt),await this._notifyAllSubscribers("SIGNED_IN",rt)):this._debug(tt,"could not get user data, skipping SIGNED_IN notification")}catch(it){console.error("Error getting user data:",it),this._debug(tt,"error getting user data, skipping SIGNED_IN notification",it)}else await this._notifyAllSubscribers("SIGNED_IN",rt)}catch(rt){this._debug(tt,"error",rt),console.error(rt);return}finally{this._debug(tt,"end")}}async _callRefreshToken(j){var et,tt;if(!j)throw new AuthSessionMissingError;if(this.refreshingDeferred)return this.refreshingDeferred.promise;const rt=`#_callRefreshToken(${j.substring(0,5)}...)`;this._debug(rt,"begin");try{this.refreshingDeferred=new Deferred;const{data:nt,error:it}=await this._refreshAccessToken(j);if(it)throw it;if(!nt.session)throw new AuthSessionMissingError;await this._saveSession(nt.session),await this._notifyAllSubscribers("TOKEN_REFRESHED",nt.session);const st={data:nt.session,error:null};return this.refreshingDeferred.resolve(st),st}catch(nt){if(this._debug(rt,"error",nt),isAuthError(nt)){const it={data:null,error:nt};return isAuthRetryableFetchError(nt)||await this._removeSession(),(et=this.refreshingDeferred)===null||et===void 0||et.resolve(it),it}throw(tt=this.refreshingDeferred)===null||tt===void 0||tt.reject(nt),nt}finally{this.refreshingDeferred=null,this._debug(rt,"end")}}async _notifyAllSubscribers(j,et,tt=!0){const rt=`#_notifyAllSubscribers(${j})`;this._debug(rt,"begin",et,`broadcast = ${tt}`);try{this.broadcastChannel&&tt&&this.broadcastChannel.postMessage({event:j,session:et});const nt=[],it=Array.from(this.stateChangeEmitters.values()).map(async st=>{try{await st.callback(j,et)}catch(at){nt.push(at)}});if(await Promise.all(it),nt.length>0){for(let st=0;st<nt.length;st+=1)console.error(nt[st]);throw nt[0]}}finally{this._debug(rt,"end")}}async _saveSession(j){this._debug("#_saveSession()",j),this.suppressGetSessionWarning=!0,await removeItemAsync(this.storage,`${this.storageKey}-code-verifier`);const et=Object.assign({},j),tt=et.user&&et.user.__isUserNotAvailableProxy===!0;if(this.userStorage){!tt&&et.user&&await setItemAsync(this.userStorage,this.storageKey+"-user",{user:et.user});const rt=Object.assign({},et);delete rt.user;const nt=deepClone(rt);await setItemAsync(this.storage,this.storageKey,nt)}else{const rt=deepClone(et);await setItemAsync(this.storage,this.storageKey,rt)}}async _removeSession(){this._debug("#_removeSession()"),this.suppressGetSessionWarning=!1,await removeItemAsync(this.storage,this.storageKey),await removeItemAsync(this.storage,this.storageKey+"-code-verifier"),await removeItemAsync(this.storage,this.storageKey+"-user"),this.userStorage&&await removeItemAsync(this.userStorage,this.storageKey+"-user"),await this._notifyAllSubscribers("SIGNED_OUT",null)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const j=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{j&&isBrowser$2()&&(window!=null&&window.removeEventListener)&&window.removeEventListener("visibilitychange",j)}
671catch(et){console.error("removing visibilitychange callback failed",et)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const j=setInterval(()=>this._autoRefreshTokenTick(),AUTO_REFRESH_TICK_DURATION_MS);this.autoRefreshTicker=j,j&&typeof j=="object"&&typeof j.unref=="function"?j.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(j),setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const j=this.autoRefreshTicker;this.autoRefreshTicker=null,j&&clearInterval(j)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,async()=>{try{const j=Date.now();try{return await this._useSession(async et=>{const{data:{session:tt}}=et;if(!tt||!tt.refresh_token||!tt.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const rt=Math.floor((tt.expires_at*1e3-j)/AUTO_REFRESH_TICK_DURATION_MS);this._debug("#_autoRefreshTokenTick()",`access token expires in ${rt} ticks, a tick lasts ${AUTO_REFRESH_TICK_DURATION_MS}ms, refresh threshold is ${AUTO_REFRESH_TICK_THRESHOLD} ticks`),rt<=AUTO_REFRESH_TICK_THRESHOLD&&await this._callRefreshToken(tt.refresh_token)})}catch(et){console.error("Auto refresh tick failed with error. This is likely a transient error.",et)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(j){if(j.isAcquireTimeout||j instanceof LockAcquireTimeoutError)this._debug("auto refresh token tick lock not available");else throw j}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!isBrowser$2()||!(window!=null&&window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>await this._onVisibilityChanged(!1),window==null||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(j){console.error("_handleVisibilityChange",j)}}async _onVisibilityChanged(j){const et=`#_onVisibilityChanged(${j})`;this._debug(et,"visibilityState",document.visibilityState),document.visibilityState==="visible"?(this.autoRefreshToken&&this._startAutoRefresh(),j||(await this.initializePromise,await this._acquireLock(-1,async()=>{if(document.visibilityState!=="visible"){this._debug(et,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()}))):document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(j,et,tt){const rt=[`provider=${encodeURIComponent(et)}`];if(tt!=null&&tt.redirectTo&&rt.push(`redirect_to=${encodeURIComponent(tt.redirectTo)}`),tt!=null&&tt.scopes&&rt.push(`scopes=${encodeURIComponent(tt.scopes)}`),this.flowType==="pkce"){const[nt,it]=await getCodeChallengeAndMethod(this.storage,this.storageKey),st=new URLSearchParams({code_challenge:`${encodeURIComponent(nt)}`,code_challenge_method:`${encodeURIComponent(it)}`});rt.push(st.toString())}if(tt!=null&&tt.queryParams){const nt=new URLSearchParams(tt.queryParams);rt.push(nt.toString())}return tt!=null&&tt.skipBrowserRedirect&&rt.push(`skip_http_redirect=${tt.skipBrowserRedirect}`),`${j}?${rt.join("&")}`}async _unenroll(j){try{return await this._useSession(async et=>{var tt;const{data:rt,error:nt}=et;return nt?this._returnResult({data:null,error:nt}):await _request(this.fetch,"DELETE",`${this.url}/factors/${j.factorId}`,{headers:this.headers,jwt:(tt=rt==null?void 0:rt.session)===null||tt===void 0?void 0:tt.access_token})})}catch(et){if(isAuthError(et))return this._returnResult({data:null,error:et});throw et}}async _enroll(j){try{return await this._useSession(async et=>{var tt,rt;const{data:nt,error:it}=et;if(it)return this._returnResult({data:null,error:it});const st=Object.assign({friendly_name:j.friendlyName,factor_type:j.factorType},j.factorType==="phone"?{phone:j.phone}:j.factorType==="totp"?{issuer:j.issuer}:{}),{data:at,error:ot}=await _request(this.fetch,"POST",`${this.url}/factors`,{body:st,headers:this.headers,jwt:(tt=nt==null?void 0:nt.session)===null||tt===void 0?void 0:tt.access_token});return ot?this._returnResult({data:null,error:ot}):(j.factorType==="totp"&&at.type==="totp"&&(!((rt=at==null?void 0:at.totp)===null||rt===void 0)&&rt.qr_code)&&(at.totp.qr_code=`data:image/svg+xml;utf-8,${at.totp.qr_code}`),this._returnResult({data:at,error:null}))})}catch(et){if(isAuthError(et))return this._returnResult({data:null,error:et});throw et}}async _verify(j){return this._acquireLock(-1,async()=>{try{return await this._useSession(async et=>{var tt;const{data:rt,error:nt}=et;if(nt)return this._returnResult({data:null,error:nt});const it=Object.assign({challenge_id:j.challengeId},"webauthn"in j?{webauthn:Object.assign(Object.assign({},j.webauthn),{credential_response:j.webauthn.type==="create"?serializeCredentialCreationResponse(j.webauthn.credential_response):serializeCredentialRequestResponse(j.webauthn.credential_response)})}:{code:j.code}),{data:st,error:at}=await _request(this.fetch,"POST",`${this.url}/factors/${j.factorId}/verify`,{body:it,headers:this.headers,jwt:(tt=rt==null?void 0:rt.session)===null||tt===void 0?void 0:tt.access_token});return at?this._returnResult({data:null,error:at}):(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+st.expires_in},st)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",st),this._returnResult({data:st,error:at}))})}catch(et){if(isAuthError(et))return this._returnResult({data:null,error:et});throw et}})}async _challenge(j){return this._acquireLock(-1,async()=>{try{return await this._useSession(async et=>{var tt;const{data:rt,error:nt}=et;if(nt)return this._returnResult({data:null,error:nt});const it=await _request(this.fetch,"POST",`${this.url}/factors/${j.factorId}/challenge`,{body:j,headers:this.headers,jwt:(tt=rt==null?void 0:rt.session)===null||tt===void 0?void 0:tt.access_token});if(it.error)return it;const{data:st}=it;if(st.type!=="webauthn")return{data:st,error:null};switch(st.webauthn.type){case"create":return{data:Object.assign(Object.assign({},st),{webauthn:Object.assign(Object.assign({},st.webauthn),{credential_options:Object.assign(Object.assign({},st.webauthn.credential_options),{publicKey:deserializeCredentialCreationOptions(st.webauthn.credential_options.publicKey)})})}),error:null};case"request":return{data:Object.assign(Object.assign({},st),{webauthn:Object.assign(Object.assign({},st.webauthn),{credential_options:Object.assign(Object.assign({},st.webauthn.credential_options),{publicKey:deserializeCredentialRequestOptions(st.webauthn.credential_options.publicKey)})})}),error:null}}})}catch(et){if(isAuthError(et))return this._returnResult({data:null,error:et});throw et}})}async _challengeAndVerify(j){const{data:et,error:tt}=await this._challenge({factorId:j.factorId});return tt?this._returnResult({data:null,error:tt}):await this._verify({factorId:j.factorId,challengeId:et.id,code:j.code})}async _listFactors(){var j;const{data:{user:et},error:tt}=await this.getUser();if(tt)return{data:null,error:tt};const rt={all:[],phone:[],totp:[],webauthn:[]};for(const nt of(j=et==null?void 0:et.factors)!==null&&j!==void 0?j:[])rt.all.push(nt),nt.status==="verified"&&rt[nt.factor_type].push(nt);return{data:rt,error:null}}async _getAuthenticatorAssuranceLevel(){var j,et;
671const{data:{session:tt},error:rt}=await this.getSession();if(rt)return this._returnResult({data:null,error:rt});if(!tt)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const{payload:nt}=decodeJWT(tt.access_token);let it=null;nt.aal&&(it=nt.aal);let st=it;((et=(j=tt.user.factors)===null||j===void 0?void 0:j.filter(lt=>lt.status==="verified"))!==null&&et!==void 0?et:[]).length>0&&(st="aal2");const ot=nt.amr||[];return{data:{currentLevel:it,nextLevel:st,currentAuthenticationMethods:ot},error:null}}async _getAuthorizationDetails(j){try{return await this._useSession(async et=>{const{data:{session:tt},error:rt}=et;return rt?this._returnResult({data:null,error:rt}):tt?await _request(this.fetch,"GET",`${this.url}/oauth/authorizations/${j}`,{headers:this.headers,jwt:tt.access_token,xform:nt=>({data:nt,error:null})}):this._returnResult({data:null,error:new AuthSessionMissingError})})}catch(et){if(isAuthError(et))return this._returnResult({data:null,error:et});throw et}}async _approveAuthorization(j,et){try{return await this._useSession(async tt=>{const{data:{session:rt},error:nt}=tt;if(nt)return this._returnResult({data:null,error:nt});if(!rt)return this._returnResult({data:null,error:new AuthSessionMissingError});const it=await _request(this.fetch,"POST",`${this.url}/oauth/authorizations/${j}/consent`,{headers:this.headers,jwt:rt.access_token,body:{action:"approve"},xform:st=>({data:st,error:null})});return it.data&&it.data.redirect_url&&isBrowser$2()&&!(et!=null&&et.skipBrowserRedirect)&&window.location.assign(it.data.redirect_url),it})}catch(tt){if(isAuthError(tt))return this._returnResult({data:null,error:tt});throw tt}}async _denyAuthorization(j,et){try{return await this._useSession(async tt=>{const{data:{session:rt},error:nt}=tt;if(nt)return this._returnResult({data:null,error:nt});if(!rt)return this._returnResult({data:null,error:new AuthSessionMissingError});const it=await _request(this.fetch,"POST",`${this.url}/oauth/authorizations/${j}/consent`,{headers:this.headers,jwt:rt.access_token,body:{action:"deny"},xform:st=>({data:st,error:null})});return it.data&&it.data.redirect_url&&isBrowser$2()&&!(et!=null&&et.skipBrowserRedirect)&&window.location.assign(it.data.redirect_url),it})}catch(tt){if(isAuthError(tt))return this._returnResult({data:null,error:tt});throw tt}}async _listOAuthGrants(){try{return await this._useSession(async j=>{const{data:{session:et},error:tt}=j;return tt?this._returnResult({data:null,error:tt}):et?await _request(this.fetch,"GET",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:et.access_token,xform:rt=>({data:rt,error:null})}):this._returnResult({data:null,error:new AuthSessionMissingError})})}catch(j){if(isAuthError(j))return this._returnResult({data:null,error:j});throw j}}async _revokeOAuthGrant(j){try{return await this._useSession(async et=>{const{data:{session:tt},error:rt}=et;return rt?this._returnResult({data:null,error:rt}):tt?(await _request(this.fetch,"DELETE",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:tt.access_token,query:{client_id:j.clientId},noResolveJson:!0}),{data:{},error:null}):this._returnResult({data:null,error:new AuthSessionMissingError})})}catch(et){if(isAuthError(et))return this._returnResult({data:null,error:et});throw et}}async fetchJwk(j,et={keys:[]}){let tt=et.keys.find(st=>st.kid===j);if(tt)return tt;const rt=Date.now();if(tt=this.jwks.keys.find(st=>st.kid===j),tt&&this.jwks_cached_at+JWKS_TTL>rt)return tt;const{data:nt,error:it}=await _request(this.fetch,"GET",`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(it)throw it;return!nt.keys||nt.keys.length===0||(this.jwks=nt,this.jwks_cached_at=rt,tt=nt.keys.find(st=>st.kid===j),!tt)?null:tt}async getClaims(j,et={}){try{let tt=j;if(!tt){const{data:dt,error:ht}
671=await this.getSession();if(ht||!dt.session)return this._returnResult({data:null,error:ht});tt=dt.session.access_token}const{header:rt,payload:nt,signature:it,raw:{header:st,payload:at}}=decodeJWT(tt);et!=null&&et.allowExpired||validateExp(nt.exp);const ot=!rt.alg||rt.alg.startsWith("HS")||!rt.kid||!("crypto"in globalThis&&"subtle"in globalThis.crypto)?null:await this.fetchJwk(rt.kid,et!=null&&et.keys?{keys:et.keys}:et==null?void 0:et.jwks);if(!ot){const{error:dt}=await this.getUser(tt);if(dt)throw dt;return{data:{claims:nt,header:rt,signature:it},error:null}}const lt=getAlgorithm(rt.alg),ct=await crypto.subtle.importKey("jwk",ot,lt,!0,["verify"]);if(!await crypto.subtle.verify(lt,ct,it,stringToUint8Array(`${st}.${at}`)))throw new AuthInvalidJwtError("Invalid JWT signature");return{data:{claims:nt,header:rt,signature:it},error:null}}catch(tt){if(isAuthError(tt))return this._returnResult({data:null,error:tt});throw tt}}}GoTrueClient.nextInstanceID={};const AuthClient=GoTrueClient,version$1="2.89.0";let JS_ENV="";typeof Deno<"u"?JS_ENV="deno":typeof document<"u"?JS_ENV="web":typeof navigator<"u"&&navigator.product==="ReactNative"?JS_ENV="react-native":JS_ENV="node";const DEFAULT_HEADERS={"X-Client-Info":`supabase-js-${JS_ENV}/${version$1}`},DEFAULT_GLOBAL_OPTIONS={headers:DEFAULT_HEADERS},DEFAULT_DB_OPTIONS={schema:"public"},DEFAULT_AUTH_OPTIONS={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},DEFAULT_REALTIME_OPTIONS={};function _typeof$M(_){"@babel/helpers - typeof";return _typeof$M=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$M(_)}function toPrimitive(_,j){if(_typeof$M(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$M(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function toPropertyKey(_){var j=toPrimitive(_,"string");return _typeof$M(j)=="symbol"?j:j+""}function _defineProperty$K(_,j,et){return(j=toPropertyKey(j))in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function ownKeys$E(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread2$1(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$E(Object(et),!0).forEach(function(tt){_defineProperty$K(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$E(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}const resolveFetch=_=>_?(...j)=>_(...j):(...j)=>fetch(...j),resolveHeadersConstructor=()=>Headers,fetchWithAuth=(_,j,et)=>{const tt=resolveFetch(et),rt=resolveHeadersConstructor();return async(nt,it)=>{var st;const at=(st=await j())!==null&&st!==void 0?st:_;let ot=new rt(it==null?void 0:it.headers);return ot.has("apikey")||ot.set("apikey",_),ot.has("Authorization")||ot.set("Authorization",`Bearer ${at}`),tt(nt,_objectSpread2$1(_objectSpread2$1({},it),{},{headers:ot}))}};function ensureTrailingSlash(_){return _.endsWith("/")?_:_+"/"}function applySettingDefaults(_,j){var et,tt;const{db:rt,auth:nt,realtime:it,global:st}=_,{db:at,auth:ot,realtime:lt,global:ct}=j,ut={db:_objectSpread2$1(_objectSpread2$1({},at),rt),auth:_objectSpread2$1(_objectSpread2$1({},ot),nt),realtime:_objectSpread2$1(_objectSpread2$1({},lt),it),storage:{},global:_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},ct),st),{},{headers:_objectSpread2$1(_objectSpread2$1({},(et=ct==null?void 0:ct.headers)!==null&&et!==void 0?et:{}),(tt=st==null?void 0:st.headers)!==null&&tt!==void 0?tt:{})}),accessToken:async()=>""};return _.accessToken?ut.accessToken=_.accessToken:delete ut.accessToken,ut}function validateSupabaseUrl(_){const j=_==null?void 0:_.trim();if(!j)throw new Error("supabaseUrl is required.");
671if(!j.match(/^https?:\/\//i))throw new Error("Invalid supabaseUrl: Must be a valid HTTP or HTTPS URL.");try{return new URL(ensureTrailingSlash(j))}catch{throw Error("Invalid supabaseUrl: Provided URL is malformed.")}}var SupabaseAuthClient=class extends AuthClient{constructor(_){super(_)}},SupabaseClient=class{constructor(_,j,et){var tt,rt;this.supabaseUrl=_,this.supabaseKey=j;const nt=validateSupabaseUrl(_);if(!j)throw new Error("supabaseKey is required.");this.realtimeUrl=new URL("realtime/v1",nt),this.realtimeUrl.protocol=this.realtimeUrl.protocol.replace("http","ws"),this.authUrl=new URL("auth/v1",nt),this.storageUrl=new URL("storage/v1",nt),this.functionsUrl=new URL("functions/v1",nt);const it=`sb-${nt.hostname.split(".")[0]}-auth-token`,st={db:DEFAULT_DB_OPTIONS,realtime:DEFAULT_REALTIME_OPTIONS,auth:_objectSpread2$1(_objectSpread2$1({},DEFAULT_AUTH_OPTIONS),{},{storageKey:it}),global:DEFAULT_GLOBAL_OPTIONS},at=applySettingDefaults(et??{},st);if(this.storageKey=(tt=at.auth.storageKey)!==null&&tt!==void 0?tt:"",this.headers=(rt=at.global.headers)!==null&&rt!==void 0?rt:{},at.accessToken)this.accessToken=at.accessToken,this.auth=new Proxy({},{get:(lt,ct)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(ct)} is not possible`)}});else{var ot;this.auth=this._initSupabaseAuthClient((ot=at.auth)!==null&&ot!==void 0?ot:{},this.headers,at.global.fetch)}this.fetch=fetchWithAuth(j,this._getAccessToken.bind(this),at.global.fetch),this.realtime=this._initRealtimeClient(_objectSpread2$1({headers:this.headers,accessToken:this._getAccessToken.bind(this)},at.realtime)),this.accessToken&&this.accessToken().then(lt=>this.realtime.setAuth(lt)).catch(lt=>console.warn("Failed to set initial Realtime auth token:",lt)),this.rest=new PostgrestClient(new URL("rest/v1",nt).href,{headers:this.headers,schema:at.db.schema,fetch:this.fetch}),this.storage=new StorageClient(this.storageUrl.href,this.headers,this.fetch,et==null?void 0:et.storage),at.accessToken||this._listenForAuthEvents()}get functions(){return new FunctionsClient(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}from(_){return this.rest.from(_)}schema(_){return this.rest.schema(_)}rpc(_,j={},et={head:!1,get:!1,count:void 0}){return this.rest.rpc(_,j,et)}channel(_,j={config:{}}){return this.realtime.channel(_,j)}getChannels(){return this.realtime.getChannels()}removeChannel(_){return this.realtime.removeChannel(_)}removeAllChannels(){return this.realtime.removeAllChannels()}async _getAccessToken(){var _=this,j,et;if(_.accessToken)return await _.accessToken();const{data:tt}=await _.auth.getSession();return(j=(et=tt.session)===null||et===void 0?void 0:et.access_token)!==null&&j!==void 0?j:_.supabaseKey}_initSupabaseAuthClient({autoRefreshToken:_,persistSession:j,detectSessionInUrl:et,storage:tt,userStorage:rt,storageKey:nt,flowType:it,lock:st,debug:at,throwOnError:ot},lt,ct){const ut={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new SupabaseAuthClient({url:this.authUrl.href,headers:_objectSpread2$1(_objectSpread2$1({},ut),lt),storageKey:nt,autoRefreshToken:_,persistSession:j,detectSessionInUrl:et,storage:tt,userStorage:rt,flowType:it,lock:st,debug:at,throwOnError:ot,fetch:ct,hasCustomAuthorizationHeader:Object.keys(this.headers).some(dt=>dt.toLowerCase()==="authorization")})}_initRealtimeClient(_){return new RealtimeClient(this.realtimeUrl.href,_objectSpread2$1(_objectSpread2$1({},_),{},{params:_objectSpread2$1(_objectSpread2$1({},{apikey:this.supabaseKey}),_==null?void 0:_.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((_,j)=>{this._handleTokenChanged(_,"CLIENT",j==null?void 0:j.access_token)})}_handleTokenChanged(_,j,et){(_==="TOKEN_REFRESHED"||_==="SIGNED_IN")&&this.changedAccessToken!==et?(this.changedAccessToken=et,this.realtime.setAuth(et)):_==="SIGNED_OUT"&&(this.realtime.setAuth(),j=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}};const createClient=(_,j,et)=>new SupabaseClient(_,j,et);function shouldShowDeprecationWarning(){if(typeof window<"u"||typeof process>"u")return!1;const _=process.version;if(_==null)return!1;const j=_.match(/^v(\d+)\./);return j?parseInt(j[1],10)<=18:!1}shouldShowDeprecationWarning()&&console.warn("â ï¸ Node.js 18 and below are deprecated and will no longer be supported in future versions of @supabase/supabase-js. Please upgrade to N
671ode.js 20 or later. For more information, visit: https://github.com/orgs/supabase/discussions/37217");function supabaseJwtProjectRef(_){const j=_.trim().split(".");if(j.length!==3)return null;try{const et=j[1].replace(/-/g,"+").replace(/_/g,"/"),tt=et.padEnd(Math.ceil(et.length/4)*4,"="),rt=atob(tt),nt=JSON.parse(rt);return typeof nt.ref=="string"?nt.ref:null}catch{return null}}function parseRefFromSupabaseUrl(_){const j=_.trim().replace(/\/$/,"").match(/https:\/\/([a-z0-9-]+)\.supabase\.co$/i);return(j==null?void 0:j[1])??null}const SUPABASE_URL$1="https://phkwivrcuuvzpgzvvmkv.supabase.co",PROJECT_REF="phkwivrcuuvzpgzvvmkv",SUPABASE_PUBLISHABLE_KEY="sb_publishable_qR3THUnj63GSP5Z--esiug_2UWZCyoB".trim()||"sb_publishable_qR3THUnj63GSP5Z--esiug_2UWZCyoB";if(!(SUPABASE_PUBLISHABLE_KEY!=null&&SUPABASE_PUBLISHABLE_KEY.trim()))throw new Error("Missing Supabase publishable key (vite define fallback empty).");const urlRef=parseRefFromSupabaseUrl(SUPABASE_URL$1),keyRef=supabaseJwtProjectRef(SUPABASE_PUBLISHABLE_KEY);if(keyRef&&urlRef&&keyRef!==urlRef)throw new Error(`Supabase anon key is for project "${keyRef}" but API URL is "${SUPABASE_URL$1}" (expected ref "${urlRef}"). Align VITE_SUPABASE_URL and VITE_SUPABASE_PUBLISHABLE_KEY to the same Supabase project.`);if(typeof window<"u"){const _=window;_.__SNAPSHOT_SUPABASE_PROJECT_REF__=PROJECT_REF,_.__SNAPSHOT_SUPABASE_URL__=SUPABASE_URL$1}const supabase=createClient(SUPABASE_URL$1,SUPABASE_PUBLISHABLE_KEY,{auth:{storageKey:`sb-${PROJECT_REF}-auth`,storage:localStorage,persistSession:!0,autoRefreshToken:!0}});function useCredits(){const{data:_,isLoading:j,refetch:et}=useQuery({queryKey:["profile-credits"],queryFn:async()=>{const{data:{user:tt}}=await supabase.auth.getUser();if(!tt)return null;const{data:rt,error:nt}=await supabase.from("profiles").select("credits, subscription_tier, stripe_customer_id, subscription_status, current_period_end").eq("id",tt.id).maybeSingle();return nt?(console.error("Error fetching profile:",nt),{credits:0,subscription_tier:"none",stripe_customer_id:null,subscription_status:null,current_period_end:null}):rt?{...rt}:{credits:0,subscription_tier:"none",stripe_customer_id:null,subscription_status:null,current_period_end:null}}});return{credits:(_==null?void 0:_.credits)??0,subscriptionTier:(_==null?void 0:_.subscription_tier)??"none",isLoading:j,refetch:et}}function useProfile(){const _=useQueryClient(),{data:j,isLoading:et,refetch:tt}=useQuery({queryKey:["profile"],queryFn:async()=>{const{data:{user:it}}=await supabase.auth.getUser();if(!it)return null;const{data:st,error:at}=await supabase.from("profiles").select("id, full_name, avatar_url, credits, subscription_tier, subscription_status, current_period_end, is_unlimited").eq("id",it.id).maybeSingle();return at?(console.error("Error fetching profile:",at),null):st||{id:it.id,full_name:null,avatar_url:null,credits:0,subscription_tier:"none",subscription_status:null,current_period_end:null,is_unlimited:!1}}}),rt=useMutation({mutationFn:async({full_name:it})=>{const{data:{user:st}}=await supabase.auth.getUser();if(!st)throw new Error("Not authenticated");const{error:at}=await supabase.from("profiles").update({full_name:it}).eq("id",st.id);if(at)throw console.error("Profile update error:",at),new Error(at.message||"Could not update profile.")},onSuccess:()=>{_.invalidateQueries({queryKey:["profile"]}),_.invalidateQueries({queryKey:["profile-credits"]})}}),nt=useMutation({mutationFn:async it=>{const{data:{user:st}}=await supabase.auth.getUser();if(!st)throw new Error("Not authenticated");const{error:at}=await supabase.from("profiles").update({avatar_url:it}).eq("id",st.id);if(at)throw at},onSuccess:()=>{_.invalidateQueries({queryKey:["profile"]}),_.invalidateQueries({queryKey:["profile-credits"]})}});return{profile:j,isLoading:et,refetch:tt,updateProfile:rt.mutateAsync,updateAvatar:nt.mutateAsync,isUpdatingProfile:rt.isPending,isUpdatingAvatar:nt.isPending}}const Dialog=Root$7,DialogTrigger=Trigger$4,DialogPortal=Portal$3,DialogOverlay=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Overlay,{ref:et,className:cn("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",_),...j}));DialogOverlay.displayName=Overlay.displayName;const DialogContent=reactExports.forwardRef(({className:_,children:j,...et},tt)=>jsxRuntimeExports.jsxs(DialogPortal,{children:[jsxRuntimeExports.jsx(DialogOverlay,{}),jsxRuntimeExports.jsxs(Content$1,{ref:tt,className:cn("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:rou
671nded-lg",_),...et,children:[j,jsxRuntimeExports.jsxs(Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[jsxRuntimeExports.jsx(X$1,{className:"h-4 w-4"}),jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));DialogContent.displayName=Content$1.displayName;const DialogHeader=({className:_,...j})=>jsxRuntimeExports.jsx("div",{className:cn("flex flex-col space-y-1.5 text-center sm:text-left",_),...j});DialogHeader.displayName="DialogHeader";const DialogFooter=({className:_,...j})=>jsxRuntimeExports.jsx("div",{className:cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",_),...j});DialogFooter.displayName="DialogFooter";const DialogTitle=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Title,{ref:et,className:cn("text-lg font-semibold leading-none tracking-tight",_),...j}));DialogTitle.displayName=Title.displayName;const DialogDescription=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Description,{ref:et,className:cn("text-sm text-muted-foreground",_),...j}));DialogDescription.displayName=Description.displayName;const sleep=_=>new Promise(j=>setTimeout(j,_)),isTransientBootOrProxyFailure=(_,j)=>{const et=!!j&&/(BOOT_ERROR|Function failed to start|Failed to fetch|NetworkError|Load failed|Network connection lost)/i.test(j);return!_&&et||_===500&&et?!0:_===502||_===503||_===504};async function invokeEdgeFunctionWithRetry(_,j,{retries:et=2,baseDelayMs:tt=800}={}){var nt;let rt=null;for(let it=0;it<=et;it++){let st=null,at=null;try{const ut=await supabase.functions.invoke(_,j);st=ut.data,at=ut.error}catch(ut){at=ut}if(!at)return{data:st??null,error:null};const ot=at,lt=(nt=ot==null?void 0:ot.context)==null?void 0:nt.status,ct=ot==null?void 0:ot.message;if(rt=at,it<et&&isTransientBootOrProxyFailure(lt,ct)){await sleep(tt*Math.pow(2,it));continue}return{data:null,error:at}}return{data:null,error:rt}}const STRIPE_PRICES={credits:{pack50:void 0,pack150:void 0,pack350:void 0,pack750:void 0},basic:{month:"price_1T3KMiBxmnkg2dwfnp5bMOLr",year:"price_1T3KMiBxmnkg2dwfE69V01dq"},starter:{month:void 0,year:void 0},advanced:{month:void 0,year:void 0},generator:{month:void 0,year:void 0}},CREDIT_PACKS=[{credits:50,price:10,label:"50 Credits",priceId:STRIPE_PRICES.credits.pack50},{credits:150,price:25,label:"150 Credits",priceId:STRIPE_PRICES.credits.pack150},{credits:350,price:50,label:"350 Credits",priceId:STRIPE_PRICES.credits.pack350},{credits:750,price:99,label:"750 Credits",priceId:STRIPE_PRICES.credits.pack750}];function CreditTopUpModal({trigger:_,open:j,onOpenChange:et}){const[tt,rt]=reactExports.useState(!1),nt=j??tt,it=et??rt,[st,at]=reactExports.useState(null),{toast:ot}=useToast(),lt=async ct=>{at(ct.credits);try{const{data:ut,error:dt}=await invokeEdgeFunctionWithRetry("create-checkout",{body:{priceId:ct.priceId,mode:"payment",successUrl:window.location.href,cancelUrl:window.location.href,isOneTime:!0}});if(dt)throw new Error(dt.message||"Checkout failed");ut!=null&&ut.url&&(window.location.href=ut.url)}catch(ut){console.error(ut),ot({title:"Checkout failed",description:"Could not start checkout. Please try again.",variant:"destructive"})}finally{at(null)}};return jsxRuntimeExports.jsxs(Dialog,{open:nt,onOpenChange:it,children:[_&&jsxRuntimeExports.jsx(DialogTrigger,{asChild:!0,children:_}),jsxRuntimeExports.jsxs(DialogContent,{className:"sm:max-w-[600px]",children:[jsxRuntimeExports.jsx(DialogHeader,{children:jsxRuntimeExports.jsx(DialogTitle,{children:"Top Up Credits"})}),jsxRuntimeExports.jsxs("div",{className:"grid gap-4 py-4",children:[jsxRuntimeExports.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:CREDIT_PACKS.map(ct=>jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg hover:bg-muted/50 transition-colors",children:[jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("div",{className:"font-semibold text-lg",children:ct.label}),jsxRuntimeExports.jsxs("div",{className:"text-sm text-muted-foreground",children:["$",ct.price]})]}),jsxRuntimeExports.jsx(Button,{onClick:()=>lt(ct),disabled:st!==null,variant:st===ct.credits?"secondary":"default",children:st===ct.credits?jsxRuntimeExports.jsx(LoaderCircle,{className:"w-4 h-4 animate-spin"}):"Buy"})]},ct.credits))}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground text-center mt-4",children:"Secured by Stripe. Credits are added immediately after payment."})]})]})]})}function SidebarLayout({children:_}){const[j,et]=reactExports.useState(null),[,tt]=reactExports.useState(null),[rt,nt]=reactExports.useState(!0),[it,st]=reactExports.useState(!1),{toast:at}=useToast(),ot=useNavigate(),{credits:lt,isLoading:ct}=useCredits(),{profile:ut}=useProfile();reactExports.useEffect(()=>{const{data:{subscription:ht}}=supabase.auth.onAuthStateChange((pt,gt)=>{tt(gt),et((gt==null?void 0:gt.user)??null),nt(!1)});return supabase.auth.getSession().then(({data:{session:pt}})=>{tt(pt),et((pt==null?void 0:pt.user)??null),nt(!1)}),()=>ht.unsubscribe()},[]),reactExports.useEffect(()=>{!rt&&!j&&ot("/auth",{replace:!0})},[rt,j,ot]);const dt=async()=>{await supabase.auth.signOut(),at({title:"Logged out",description:"See you next time!"})};return rt?jsxRuntimeExports.jsx("div",{className:"min-h-screen bg-background flex items-center justify-center",children:jsxRuntimeExports.jsx("div",{className:"animate-spin rounded-full h-6 w-6 border-b-2 border-primary"})}):jsxRuntimeExports.jsxs(SidebarProvider,{defaultOpen:!0,children:[jsxRuntimeExports.jsxs("div",{className:"min-h-screen flex w-full",children:[jsxRuntimeExports.jsx(AppSidebar,{user:j,profile:ut,credits:lt,isCreditsLoading:ct,onLogout:dt,onTopUp:()=>st(!0)}),jsxRuntimeExports.jsxs(SidebarInset,{className:"flex flex-col bg-background",children:[jsxRuntimeExports.jsx("header",{className:"border-b border-border/50 bg-background sticky top-0 z-10",children:jsxRuntimeExports.jsx("div",{className:"flex items-center px-4 py-2.5",children:jsxRuntimeExports.jsx(SidebarTrigger,{className:"text-muted-foreground hover:text-foreground"})})}),jsxRuntimeExports.jsx("main",{className:"flex-1 overflow-auto",children:_})]})]}),jsxRuntimeExports.jsx(CreditTopUpModal,{open:it,onOpenChange:st})]})}const SHOP_DOMAIN_REGEX=/^[a-zA-Z0-9][a-zA-Z0-9-]*\.myshopify\.com$/;function normalizeShopDomain(_){const j=_.trim().toLowerCase().replace(/^https?:\/\//,"").replace(/\/$/,"");if(!j)return null;const et=j.includes(".myshopify.com")?j:`${j}.myshopify.com`;return SHOP_DOMAIN_REGEX.test(et)?et:null}async function linkPendingShop(_){const{data:j,error:et}=await supabase.functions.invoke("shopify-link-pending",{body:{shop:_}});if(et)throw et;if(j!=null&&j.error)throw new Error(j.error);return j}function useShopifyLinkPending(){const _=useQueryClient();return useMutation({mutationFn:linkPendingShop,onSuccess:()=>
671{_.invalidateQueries({queryKey:["shopify-connections"]})}})}async function userHasSubscriptionAccess(_){const{data:j,error:et}=await supabase.rpc("get_user_profile",{user_id:_});if(et||!j)return!1;const tt=typeof j=="string"?JSON.parse(j):j;return tt.is_unlimited===!0||tt.subscription_tier&&tt.subscription_tier!=="none"}function RequireAuth({children:_}){const[j,et]=reactExports.useState(null),tt=useNavigate();return reactExports.useEffect(()=>{let rt=!1;(async()=>{const{data:{user:st}}=await supabase.auth.getUser();if(!st){const dt=window.location.search;rt||tt(`/auth${dt}`,{replace:!0});return}const at=new URLSearchParams(window.location.search),ot=at.get("shop"),lt=at.get("link")==="1";let ct=!1;if(ot&<)try{await linkPendingShop(ot),ct=!0}catch(dt){console.error("[RequireAuth] shopify link-pending failed:",dt)}const ut=await userHasSubscriptionAccess(st.id);rt||(ut?(ct&&tt("/integrations?connected=true",{replace:!0}),et(!0)):ct?tt("/pricing?shopify_connected=1",{replace:!0}):tt("/pricing",{replace:!0}))})();const{data:{subscription:it}}=supabase.auth.onAuthStateChange((st,at)=>{if(!at){const ot=window.location.search;rt||tt(`/auth${ot}`,{replace:!0})}});return()=>{rt=!0,it.unsubscribe()}},[tt]),j!==!0?jsxRuntimeExports.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background",children:jsxRuntimeExports.jsxs("div",{className:"flex flex-col items-center gap-4",children:[jsxRuntimeExports.jsx("div",{className:"w-8 h-8 border-4 border-primary border-t-transparent rounded-full animate-spin"}),jsxRuntimeExports.jsx("p",{className:"text-muted-foreground",children:"Laden..."})]})}):jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:_})}function RequireAdmin({children:_}){const[j,et]=reactExports.useState(null),[tt,rt]=reactExports.useState(null),[nt,it]=reactExports.useState(!0),st=useNavigate();return reactExports.useEffect(()=>{const at=async lt=>{var ct,ut;if(!lt){st("/admin/login",{replace:!0}),it(!1);return}try{const{data:dt,error:ht}=await supabase.rpc("is_admin"),pt=((ct=lt==null?void 0:lt.user)==null?void 0:ct.email)==="[email protected]";ht?(console.warn("is_admin RPC error in RequireAdmin",ht),pt?rt(!0):(st("/admin/login",{replace:!0}),rt(!1))):!dt&&!pt?(st("/admin/login",{replace:!0}),rt(!1)):rt(!0)}catch(dt){console.error("Auth check failed",dt),((ut=lt==null?void 0:lt.user)==null?void 0:ut.email)==="[email protected]"?rt(!0):(st("/admin/login",{replace:!0}),rt(!1))}finally{it(!1)}},{data:{subscription:ot}}=supabase.auth.onAuthStateChange((lt,ct)=>{et(ct),ct||(st("/admin/login",{replace:!0}),it(!1))});return supabase.auth.getSession().then(({data:{session:lt}})=>{et(lt),at(lt)}),()=>ot.unsubscribe()},[st]),nt?jsxRuntimeExports.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background",children:jsxRuntimeExports.jsxs("div",{className:"flex flex-col items-center gap-4",children:[jsxRuntimeExports.jsx("div",{className:"w-8 h-8 border-4 border-primary border-t-transparent rounded-full animate-spin"}),jsxRuntimeExports.jsx("p",{className:"text-muted-foreground",children:"Verifying admin access..."})]})}):!j||!tt?null:jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:_})}const scriptRel="modulepreload",assetsURL=function(_){return"/"+_},seen={},__vitePreload=function(j,et,tt){let rt=Promise.resolve();if(et&&et.length>0){document.getElementsByTagName("link");const it=document.querySelector("meta[property=csp-nonce]"),st=(it==null?void 0:it.nonce)||(it==null?void 0:it.getAttribute("nonce"));rt=Promise.allSettled(et.map(at=>{if(at=assetsURL(at),at in seen)return;seen[at]=!0;const ot=at.endsWith(".css"),lt=ot?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${at}"]${lt}`))return;const ct=document.createElement("link");if(ct.rel=ot?"stylesheet":scriptRel,ot||(ct.as="script"),ct.crossOrigin="",ct.href=at,st&&ct.setAttribute("nonce",st),document.head.appendChild(ct),ot)return new Promise((ut,dt)=>{ct.addEventListener("load",ut),ct.addEventListener("error",()=>dt(new Error(`Unable to preload CSS for ${at}`)))})}))}function nt(it){const st=new Event("vite:preloadError",{cancelable:!0});if(st.payload=it,window.dispatchEvent(st),!st.defaultPrevented)throw it}return rt.then(it=>{for(const st of it||[])st.status==="rejected"&&nt(st.reason);return j().catch(nt)})}
671,FlowingBackground=()=>{const _=reactExports.useRef(null),j=reactExports.useRef(null),et=reactExports.useRef(null),tt=reactExports.useRef(null);return reactExports.useEffect(()=>{const rt=_.current;if(!rt)return;const nt=rt.querySelectorAll(".bg-orb");__vitePreload(()=>import("./index-DfaSRNf0.js"),[]).then(it=>{nt.forEach((st,at)=>{const ot=80+at*30,lt=60+at*20,ct=2e4+at*5e3;it.animate(st,{translateX:[{value:ot,duration:ct},{value:-ot,duration:ct},{value:0,duration:ct*.5}],translateY:[{value:-lt,duration:ct*.8},{value:lt,duration:ct*.8},{value:0,duration:ct*.4}],scale:[{value:1.1,duration:ct*.6},{value:.9,duration:ct*.6},{value:1,duration:ct*.3}],ease:"easeInOutSine",loop:!0})})})},[]),reactExports.useEffect(()=>{const rt=j.current,nt=et.current,it=tt.current;if(!rt||!nt||!it)return;const st=ut=>{const dt=ut.getTotalLength();return ut.style.strokeDasharray=`${dt}`,ut.style.strokeDashoffset=`${dt}`,dt},at=st(nt),ot=st(it);let lt=!1;__vitePreload(()=>import("./index-DfaSRNf0.js"),[]).then(ut=>{ut.animate(nt,{strokeDashoffset:[at,0],duration:1400,ease:"easeInOutCubic"}),ut.animate(it,{strokeDashoffset:[ot,0],duration:1800,delay:120,ease:"easeInOutCubic"}),ut.animate(rt,{translateX:[0,40,-30,0],translateY:[0,-18,12,0],duration:22e3,ease:"easeInOutSine",loop:!0})});const ct=()=>{if(lt)return;const ut=window.scrollY||0,dt=Math.min(80,ut*.08);rt.style.transform=`translateY(${dt}px)`};return window.addEventListener("scroll",ct,{passive:!0}),ct(),()=>{lt=!0,window.removeEventListener("scroll",ct)}},[]),jsxRuntimeExports.jsxs("div",{className:"fixed inset-0 -z-10 overflow-hidden pointer-events-none",children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-[#030303]"}),jsxRuntimeExports.jsxs("svg",{ref:j,className:"absolute inset-0 w-full h-full opacity-[0.55]",viewBox:"0 0 1440 900",preserveAspectRatio:"none",style:{filter:"blur(0.2px)"},children:[jsxRuntimeExports.jsxs("defs",{children:[jsxRuntimeExports.jsxs("linearGradient",{id:"streakGradA",x1:"0",y1:"0",x2:"1",y2:"0",children:[jsxRuntimeExports.jsx("stop",{offset:"0%",stopColor:"hsl(252 100% 68%)",stopOpacity:"0"}),jsxRuntimeExports.jsx("stop",{offset:"25%",stopColor:"hsl(252 100% 68%)",stopOpacity:"0.55"}),jsxRuntimeExports.jsx("stop",{offset:"55%",stopColor:"hsl(217 91% 60%)",stopOpacity:"0.55"}),jsxRuntimeExports.jsx("stop",{offset:"100%",stopColor:"hsl(217 91% 60%)",stopOpacity:"0"})]}),jsxRuntimeExports.jsxs("linearGradient",{id:"streakGradB",x1:"0",y1:"0",x2:"1",y2:"0",children:[jsxRuntimeExports.jsx("stop",{offset:"0%",stopColor:"hsl(217 91% 60%)",stopOpacity:"0"}),jsxRuntimeExports.jsx("stop",{offset:"30%",stopColor:"hsl(217 91% 60%)",stopOpacity:"0.45"}),jsxRuntimeExports.jsx("stop",{offset:"65%",stopColor:"hsl(252 100% 68%)",stopOpacity:"0.45"}),jsxRuntimeExports.jsx("stop",{offset:"100%",stopColor:"hsl(252 100% 68%)",stopOpacity:"0"})]})]}),jsxRuntimeExports.jsx("path",{ref:et,d:"M-60,560 C180,430 420,520 660,560 C920,605 1140,520 1500,430",fill:"none",stroke:"url(#streakGradA)",strokeWidth:"10",strokeLinecap:"round",opacity:"0.55"}),jsxRuntimeExports.jsx("path",{ref:tt,d:"M-80,610 C220,520 430,650 690,640 C980,630 1180,560 1520,500",fill:"none",stroke:"url(#streakGradB)",strokeWidth:"6",strokeLinecap:"round",opacity:"0.35"})]}),jsxRuntimeExports.jsxs("div",{ref:_,children:[jsxRuntimeExports.jsx("div",{className:"bg-orb absolute w-[700px] h-[700px] rounded-full blur-[120px] opacity-[0.12]",style:{to
vendor: 4,120 bytes, line 671
671p:"5%",left:"10%",background:"radial-gradient(circle, hsl(252 100% 68%), transparent 70%)"}}),jsxRuntimeExports.jsx("div",{className:"bg-orb absolute w-[600px] h-[600px] rounded-full blur-[100px] opacity-[0.10]",style:{top:"45%",left:"55%",background:"radial-gradient(circle, hsl(217 91% 60%), transparent 70%)"}}),jsxRuntimeExports.jsx("div",{className:"bg-orb absolute w-[500px] h-[500px] rounded-full blur-[110px] opacity-[0.08]",style:{top:"65%",left:"15%",background:"radial-gradient(circle, hsl(252 100% 68%), transparent 70%)"}}),jsxRuntimeExports.jsx("div",{className:"bg-orb absolute w-[450px] h-[450px] rounded-full blur-[90px] opacity-[0.06]",style:{top:"20%",left:"70%",background:"radial-gradient(circle, hsl(217 91% 60%), transparent 70%)"}})]}),jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent via-transparent to-[#030303]/90"}),jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-noise opacity-[0.025]"})]})},LayoutGroupContext=reactExports.createContext({});function useConstant(_){const j=reactExports.useRef(null);return j.current===null&&(j.current=_()),j.current}const isBrowser$1=typeof window<"u",useIsomorphicLayoutEffect$1=isBrowser$1?reactExports.useLayoutEffect:reactExports.useEffect,PresenceContext=reactExports.createContext(null);function addUniqueItem(_,j){_.indexOf(j)===-1&&_.push(j)}function removeItem(_,j){const et=_.indexOf(j);et>-1&&_.splice(et,1)}const clamp$3=(_,j,et)=>et>j?j:et<_?_:et;function formatErrorMessage(_,j){return j?`${_}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${j}`:_}let warning=()=>{},invariant$1=()=>{};typeof process<"u";const MotionGlobalConfig={},isNumericalString=_=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(_);function isObject$a(_){return typeof _=="object"&&_!==null}const isZeroValueString=_=>/^0[^.\s]+$/u.test(_);function memo(_){let j;return()=>(j===void 0&&(j=_()),j)}const noop$5=_=>_,combineFunctions=(_,j)=>et=>j(_(et)),pipe$1=(..._)=>_.reduce(combineFunctions),progress=(_,j,et)=>{const tt=j-_;return tt===0?1:(et-_)/tt};class SubscriptionManager{constructor(){this.subscriptions=[]}add(j){return addUniqueItem(this.subscriptions,j),()=>removeItem(this.subscriptions,j)}notify(j,et,tt){const rt=this.subscriptions.length;if(rt)if(rt===1)this.subscriptions[0](j,et,tt);else for(let nt=0;nt<rt;nt++){const it=this.subscriptions[nt];it&&it(j,et,tt)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const secondsToMilliseconds=_=>_*1e3,millisecondsToSeconds=_=>_/1e3;function velocityPerSecond(_,j){return j?_*(1e3/j):0}const calcBezier=(_,j,et)=>(((1-3*et+3*j)*_+(3*et-6*j))*_+3*j)*_,subdivisionPrecision=1e-7,subdivisionMaxIterations=12;function binarySubdivide(_,j,et,tt,rt){let nt,it,st=0;do it=j+(et-j)/2,nt=calcBezier(it,tt,rt)-_,nt>0?et=it:j=it;while(Math.abs(nt)>subdivisionPrecision&&++st<subdivisionMaxIterations);return it}function cubicBezier$1(_,j,et,tt){if(_===j&&et===tt)return noop$5;const rt=nt=>binarySubdivide(nt,0,1,_,et);return nt=>nt===0||nt===1?nt:calcBezier(rt(nt),j,tt)}const mirrorEasing=_=>j=>j<=.5?_(2*j)/2:(2-_(2*(1-j)))/2,reverseEasing=_=>j=>1-_(1-j),backOut=cubicBezier$1(.33,1.53,.69,.99),backIn=reverseEasing(backOut),backInOut=mirrorEasing(backIn),anticipate=_=>(_*=2)<1?.5*backIn(_):.5*(2-Math.pow(2,-10*(_-1))),circIn=_=>1-Math.sin(Math.acos(_)),circOut=reverseEasing(circIn),circInOut=mirrorEasing(circIn),easeIn=cubicBezier$1(.42,0,1,1),easeOut=cubicBezier$1(0,0,.58,1),easeInOut=cubicBezier$1(.42,0,.58,1),isEasingArray=_=>Array.isArray(_)&&typeof _[0]!="number",isBezierDefinition=_=>Array.isArray(_)&&typeof _[0]=="number",easingLookup={linear:noop$5,easeIn,easeInOut,easeOut,circIn,circInOut,circOut,backIn,backInOut,backOut,anticipate},isValidEasing=_=>typeof _=="string",easingDefinitionToFunction=_=>{if(isBezierDefinition(_)){invariant$1(_.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[j,et,tt,rt]=_;return cubicBezier$1(j,et,tt,rt)}else if(isValidEasing(_))return invariant$1(easingLookup[_]!==void 0,`Invalid easing type '${_}
671'`,"invalid-easing-type"),easingLookup[_];return _},stepsOrder=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],statsBuffer={value:null,addProjectionMetrics:null};function createRenderStep(_,j){let et=new Set,tt=new Set,rt=!1,nt=!1;const it=new WeakSet;let st={delta:0,timestamp:0,isProcessing:!1},at=0;function ot(ct){it.has(ct)&&(lt.schedule(ct),_()),at++,ct(st)}const lt={schedule:(ct,ut=!1,dt=!1)=>{const pt=dt&&rt?et:tt;return ut&&it.add(ct),pt.has(ct)||pt.add(ct),ct},cancel:ct=>{tt.delete(ct),it.delete(ct)},process:ct=>{if(st=ct,rt){nt=!0;return}rt=!0,[et,tt]=[tt,et],et.forEach(ot),j&&statsBuffer.value&&statsBuffer.value.frameloop[j].push(at),at=0,et.clear(),rt=!1,nt&&(nt=!1,lt.process(ct))}};return lt}const maxElapsed$1=40;function createRenderBatcher(_,j){let et=!1,tt=!0;const rt={delta:0,timestamp:0,isProcessing:!1},nt=()=>et=!0,it=stepsOrder.reduce((xt,yt)=>(xt[yt]=createRenderStep(nt,j?yt:void 0),xt),{}),{setup:st,read:at,resolveKeyframes:ot,preUpdate:lt,update:ct,preRender:ut,render:dt,postRender:ht}=it,pt=()=>{const xt=MotionGlobalConfig.useManualTiming?rt.timestamp:performance.now();et=!1,MotionGlobalConfig.useManualTiming||(rt.delta=tt?1e3/60:Math.max(Math.min(xt-rt.timestamp,maxElapsed$1),1)),rt.timestamp=xt,rt.isProcessing=!0,st.process(rt),at.process(rt),ot.process(rt),lt.process(rt),ct.process(rt),ut.process(rt),dt.process(rt),ht.process(rt),rt.isProcessing=!1,et&&j&&(tt=!1,_(pt))},gt=()=>{et=!0,tt=!0,rt.isProcessing||_(pt)};return{schedule:stepsOrder.reduce((xt,yt)=>{const vt=it[yt];return xt[yt]=(bt,Et=!1,_t=!1)=>(et||gt(),vt.schedule(bt,Et,_t)),xt},{}),cancel:xt=>{for(let yt=0;yt<stepsOrder.length;yt++)it[stepsOrder[yt]].cancel(xt)},state:rt,steps:it}}const{schedule:frame,cancel:cancelFrame,state:frameData,steps:frameSteps}=createRenderBatcher(typeof requestAnimationFrame<"u"?requestAnimationFrame:noop$5,!0);let now$2;function clearTime(){now$2=void 0}const time$1={now:()=>(now$2===void 0&&time$1.set(frameData.isProcessing||MotionGlobalConfig.useManualTiming?frameData.timestamp:performance.now()),now$2),set:_=>{now$2=_,queueMicrotask(clearTime)}},checkStringStartsWith=_=>j=>typeof j=="string"&&j.startsWith(_),isCSSVariableName=checkStringStartsWith("--"),startsAsVariableToken=checkStringStartsWith("var(--"),isCSSVariableToken=_=>startsAsVariableToken(_)?singleCssVariableRegex.test(_.split("/*")[0].trim()):!1,singleCssVariableRegex=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function containsCSSVariable(_){return typeof _!="string"?!1:_.split("/*")[0].includes("var(--")}const number$3={test:_=>typeof _=="number",parse:parseFloat,transform:_=>_},alpha$1={...number$3,transform:_=>clamp$3(0,1,_)},scale={...number$3,default:1},sanitize=_=>Math.round(_*1e5)/1e5,floatRegex=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function isNullish$1(_){return _==null}const singleColorRegex=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,isColorString=(_,j)=>et=>!!(typeof et=="string"&&singleColorRegex.test(et)&&et.startsWith(_)||j&&!isNullish$1(et)&&Object.prototype.hasOwnProperty.call(et,j)),splitColor$1=(_,j,et)=>tt=>{if(typeof tt!="string")return tt;const[rt,nt,it,st]=tt.match(floatRegex);return{[_]:parseFloat(rt),[j]:parseFloat(nt),[et]:parseFloat(it),alpha:st!==void 0?parseFloat(st):1}},clampRgbUnit=_=>clamp$3(0,255,_),rgbUnit={...number$3,transform:_=>Math.round(clampRgbUnit(_))},rgba$1={test:isColorString("rgb","red"),parse:splitColor$1("red","green","blue"),transform:({red:_,green:j,blue:et,alpha:tt=1})=>"rgba("+rgbUnit.transform(_)+", "+rgbUnit.transform(j)+", "+rgbUnit.transform(et)+", "+sanitize(alpha$1.transform(tt))+")"};function parseHex(_){let j="",et="",tt="",rt="";return _.length>5?(j=_.substring(1,3),et=_.substring(3,5),tt=_.substring(5,7),rt=_.substring(7,9)):(j=_.substring(1,2),et=_.substring(2,3),tt=_.substring(3,4),rt=_.substring(4,5),j+=j,et+=et,tt+=tt,rt+=rt),{red:parseInt(j,16),green:parseInt(et,16),blue:parseInt(tt,16),alpha:rt?parseInt(rt,16)/255:1}}const hex$1={test:isColorString("#"),parse:parseHex,transform:rgba$1.transform},createUnitType=_=>({test:j=>typeof j=="string"&&j.endsWith(_)&&j.split(" ").length===1,parse:parseFloat,transform:j=>`${j}${_}`}),degrees=createUnitType("deg"),percent=createUnitType("%"),px=createUnitType("px"),vh=createUnitType("vh"),vw=createUnitType("vw"),progressPercentage={...percent,parse:_=>percent.parse(_)/100,transform:_=>percent.transform(_*100)},hsla$1={test:isColorString("hsl","hue"),parse:splitColor$1("hue","saturation","lightness"),transform:({hue:_,saturation:j,lightness:et,alpha:tt=1})=>"hsla("+Math.round(_)+", "+percent.transform(sanitize(j))+", "+percent.transform(sanitize(et))+", "+sanitize(alpha$1.transform(tt))+")"},color$1={test:_=>rgba$1.test(_)||hex$1.test(_)||hsla$1.test(_),parse:_=>rgba$1.test(_)?rgba$1.parse(_):hsla$1.test(_)?hsla$1.parse(_):hex$1.parse(_),transform:_=>typeof _=="string"?_:_.hasOwnProperty("red")?rgba$1.transform(_):hsla$1.transform(_),getAnimatableNone:_=>{const j=color$1.parse(_);
vendor: 4,296 bytes, line 671
671return j.alpha=0,color$1.transform(j)}},colorRegex=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function test(_){var j,et;return isNaN(_)&&typeof _=="string"&&(((j=_.match(floatRegex))==null?void 0:j.length)||0)+(((et=_.match(colorRegex))==null?void 0:et.length)||0)>0}const NUMBER_TOKEN="number",COLOR_TOKEN="color",VAR_TOKEN="var",VAR_FUNCTION_TOKEN="var(",SPLIT_TOKEN="${}",complexRegex=/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 analyseComplexValue(_){const j=_.toString(),et=[],tt={color:[],number:[],var:[]},rt=[];let nt=0;const st=j.replace(complexRegex,at=>(color$1.test(at)?(tt.color.push(nt),rt.push(COLOR_TOKEN),et.push(color$1.parse(at))):at.startsWith(VAR_FUNCTION_TOKEN)?(tt.var.push(nt),rt.push(VAR_TOKEN),et.push(at)):(tt.number.push(nt),rt.push(NUMBER_TOKEN),et.push(parseFloat(at))),++nt,SPLIT_TOKEN)).split(SPLIT_TOKEN);return{values:et,split:st,indexes:tt,types:rt}}function parseComplexValue(_){return analyseComplexValue(_).values}function createTransformer(_){const{split:j,types:et}=analyseComplexValue(_),tt=j.length;return rt=>{let nt="";for(let it=0;it<tt;it++)if(nt+=j[it],rt[it]!==void 0){const st=et[it];st===NUMBER_TOKEN?nt+=sanitize(rt[it]):st===COLOR_TOKEN?nt+=color$1.transform(rt[it]):nt+=rt[it]}return nt}}const convertNumbersToZero=_=>typeof _=="number"?0:color$1.test(_)?color$1.getAnimatableNone(_):_;function getAnimatableNone$1(_){const j=parseComplexValue(_);return createTransformer(_)(j.map(convertNumbersToZero))}const complex={test,parse:parseComplexValue,createTransformer,getAnimatableNone:getAnimatableNone$1};function hueToRgb(_,j,et){return et<0&&(et+=1),et>1&&(et-=1),et<1/6?_+(j-_)*6*et:et<1/2?j:et<2/3?_+(j-_)*(2/3-et)*6:_}function hslaToRgba({hue:_,saturation:j,lightness:et,alpha:tt}){_/=360,j/=100,et/=100;let rt=0,nt=0,it=0;if(!j)rt=nt=it=et;else{const st=et<.5?et*(1+j):et+j-et*j,at=2*et-st;rt=hueToRgb(at,st,_+1/3),nt=hueToRgb(at,st,_),it=hueToRgb(at,st,_-1/3)}return{red:Math.round(rt*255),green:Math.round(nt*255),blue:Math.round(it*255),alpha:tt}}function mixImmediate(_,j){return et=>et>0?j:_}const mixNumber$1=(_,j,et)=>_+(j-_)*et,mixLinearColor=(_,j,et)=>{const tt=_*_,rt=et*(j*j-tt)+tt;return rt<0?0:Math.sqrt(rt)},colorTypes=[hex$1,rgba$1,hsla$1],getColorType=_=>colorTypes.find(j=>j.test(_));function asRGBA(_){const j=getColorType(_);if(warning(!!j,`'${_}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!j)return!1;let et=j.parse(_);return j===hsla$1&&(et=hslaToRgba(et)),et}const mixColor=(_,j)=>{const et=asRGBA(_),tt=asRGBA(j);if(!et||!tt)return mixImmediate(_,j);const rt={...et};return nt=>(rt.red=mixLinearColor(et.red,tt.red,nt),rt.green=mixLinearColor(et.green,tt.green,nt),rt.blue=mixLinearColor(et.blue,tt.blue,nt),rt.alpha=mixNumber$1(et.alpha,tt.alpha,nt),rgba$1.transform(rt))},invisibleValues=new Set(["none","hidden"]);function mixVisibility(_,j){return invisibleValues.has(_)?et=>et<=0?_:j:et=>et>=1?j:_}function mixNumber(_,j){return et=>mixNumber$1(_,j,et)}function getMixer(_){return typeof _=="number"?mixNumber:typeof _=="string"?isCSSVariableToken(_)?mixImmediate:color$1.test(_)?mixColor:mixComplex:Array.isArray(_)?mixArray:typeof _=="object"?color$1.test(_)?mixColor:mixObject:mixImmediate}function mixArray(_,j){const et=[..._],tt=et.length,rt=_.map((nt,it)=>getMixer(nt)(nt,j[it]));return nt=>{for(let it=0;it<tt;it++)et[it]=rt[it](nt);return et}}function mixObject(_,j){const et={..._,...j},tt={};for(const rt in et)_[rt]!==void 0&&j[rt]!==void 0&&(tt[rt]=getMixer(_[rt])(_[rt],j[rt]));return rt=>{for(const nt in tt)et[nt]=tt[nt](rt);return et}}function matchOrder(_,j){const et=[],tt={color:0,var:0,number:0};for(let rt=0;rt<j.values.length;rt++){const nt=j.types[rt],it=_.indexes[nt][tt[nt]],st=_.values[it]??0;et[rt]=st,tt[nt]++}return et}const mixComplex=(_,j)=>{const et=complex.createTransformer(j),tt=analyseComplexValue(_),rt=analyseComplexValue(j);return tt.indexes.var.length===rt.indexes.var.length&&tt.indexes.color.length===rt.indexes.color.length&&tt.indexes.number.length>
vendor: 23,193 bytes, line 671
671=rt.indexes.number.length?invisibleValues.has(_)&&!rt.values.length||invisibleValues.has(j)&&!tt.values.length?mixVisibility(_,j):pipe$1(mixArray(matchOrder(tt,rt),rt.values),et):(warning(!0,`Complex values '${_}' and '${j}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),mixImmediate(_,j))};function mix(_,j,et){return typeof _=="number"&&typeof j=="number"&&typeof et=="number"?mixNumber$1(_,j,et):getMixer(_)(_,j)}const frameloopDriver=_=>{const j=({timestamp:et})=>_(et);return{start:(et=!0)=>frame.update(j,et),stop:()=>cancelFrame(j),now:()=>frameData.isProcessing?frameData.timestamp:time$1.now()}},generateLinearEasing=(_,j,et=10)=>{let tt="";const rt=Math.max(Math.round(j/et),2);for(let nt=0;nt<rt;nt++)tt+=Math.round(_(nt/(rt-1))*1e4)/1e4+", ";return`linear(${tt.substring(0,tt.length-2)})`},maxGeneratorDuration=2e4;function calcGeneratorDuration(_){let j=0;const et=50;let tt=_.next(j);for(;!tt.done&&j<maxGeneratorDuration;)j+=et,tt=_.next(j);return j>=maxGeneratorDuration?1/0:j}function createGeneratorEasing(_,j=100,et){const tt=et({..._,keyframes:[0,j]}),rt=Math.min(calcGeneratorDuration(tt),maxGeneratorDuration);return{type:"keyframes",ease:nt=>tt.next(rt*nt).value/j,duration:millisecondsToSeconds(rt)}}const velocitySampleDuration=5;function calcGeneratorVelocity(_,j,et){const tt=Math.max(j-velocitySampleDuration,0);return velocityPerSecond(et-_(tt),j-tt)}const springDefaults={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},safeMin=.001;function findSpring({duration:_=springDefaults.duration,bounce:j=springDefaults.bounce,velocity:et=springDefaults.velocity,mass:tt=springDefaults.mass}){let rt,nt;warning(_<=secondsToMilliseconds(springDefaults.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let it=1-j;it=clamp$3(springDefaults.minDamping,springDefaults.maxDamping,it),_=clamp$3(springDefaults.minDuration,springDefaults.maxDuration,millisecondsToSeconds(_)),it<1?(rt=ot=>{const lt=ot*it,ct=lt*_,ut=lt-et,dt=calcAngularFreq(ot,it),ht=Math.exp(-ct);return safeMin-ut/dt*ht},nt=ot=>{const ct=ot*it*_,ut=ct*et+et,dt=Math.pow(it,2)*Math.pow(ot,2)*_,ht=Math.exp(-ct),pt=calcAngularFreq(Math.pow(ot,2),it);return(-rt(ot)+safeMin>0?-1:1)*((ut-dt)*ht)/pt}):(rt=ot=>{const lt=Math.exp(-ot*_),ct=(ot-et)*_+1;return-safeMin+lt*ct},nt=ot=>{const lt=Math.exp(-ot*_),ct=(et-ot)*(_*_);return lt*ct});const st=5/_,at=approximateRoot(rt,nt,st);if(_=secondsToMilliseconds(_),isNaN(at))return{stiffness:springDefaults.stiffness,damping:springDefaults.damping,duration:_};{const ot=Math.pow(at,2)*tt;return{stiffness:ot,damping:it*2*Math.sqrt(tt*ot),duration:_}}}const rootIterations=12;function approximateRoot(_,j,et){let tt=et;for(let rt=1;rt<rootIterations;rt++)tt=tt-_(tt)/j(tt);return tt}function calcAngularFreq(_,j){return _*Math.sqrt(1-j*j)}const durationKeys=["duration","bounce"],physicsKeys=["stiffness","damping","mass"];function isSpringType(_,j){return j.some(et=>_[et]!==void 0)}function getSpringOptions(_){let j={velocity:springDefaults.velocity,stiffness:springDefaults.stiffness,damping:springDefaults.damping,mass:springDefaults.mass,isResolvedFromDuration:!1,..._};if(!isSpringType(_,physicsKeys)&&isSpringType(_,durationKeys))if(_.visualDuration){const et=_.visualDuration,tt=2*Math.PI/(et*1.2),rt=tt*tt,nt=2*clamp$3(.05,1,1-(_.bounce||0))*Math.sqrt(rt);j={...j,mass:springDefaults.mass,stiffness:rt,damping:nt}}else{const et=findSpring(_);j={...j,...et,mass:springDefaults.mass},j.isResolvedFromDuration=!0}return j}function spring(_=springDefaults.visualDuration,j=springDefaults.bounce){const et=typeof _!="object"?{visualDuration:_,keyframes:[0,1],bounce:j}:_;let{restSpeed:tt,restDelta:rt}=et;const nt=et.keyframes[0],it=et.keyframes[et.keyframes.length-1],st={done:!1,value:nt},{stiffness:at,damping:ot,mass:lt,duration:ct,velocity:ut,isResolvedFromDuration:dt}=getSpringOptions({...et,velocity:-millisecondsToSeconds(et.velocity||0)}),ht=ut||0,pt=ot/(2*Math.sqrt(at*lt)),gt=it-nt,ft=millisecondsToSeconds(Math.sqrt(at/lt)),mt=Math.abs(gt)<5;tt||(tt=mt?springDefaults.restSpeed.granular:springDefaults.restSpeed.default),rt||(rt=mt?springDefaults.restDelta.granular:springDefaults.restDelta.default);let xt;if(pt<1){const vt=calcAngularFreq(ft,pt);xt=bt=>{const Et=Math.exp(-pt*ft*bt);return it-Et*((ht+pt*ft*gt)/vt*Math.sin(vt*bt)+gt*Math.cos(vt*bt))}}else if(pt===1)xt=vt=>it-Math.exp(-ft*vt)*(gt+(ht+ft*gt)*vt);else{const vt=ft*Math.sqrt(pt*pt-1);xt=bt=>{const Et=Math.exp(-pt*ft*bt),_t=Math.min(vt*bt,300);return it-Et*((ht+pt*ft*gt)*Math.sinh(_t)+vt*gt*Math.cosh(_t))/vt}}const yt={calculatedDuration:dt&&ct||null,next:vt=>{const bt=xt(vt);if(dt)st.done=vt>=ct;else{let Et=vt===0?ht:0;pt<1&&(Et=vt===0?secondsToMilliseconds(ht):calcGeneratorVelocity(xt,vt,bt));const _t=Math.abs(Et)<=tt,wt=Math.abs(it-bt)<=rt;st.done=_t&&wt}return st.value=st.done?it:bt,st},toString:()=>{const vt=Math.min(calcGeneratorDuration(yt),maxGeneratorDuration),bt=generateLinearEasing(Et=>yt.next(vt*Et).value,vt,30);return vt+"ms "+bt},toTransition:()=>{}};return yt}spring.applyToOptions=_=>{const j=createGeneratorEasing(_,100,spring);return _.ease=j.ease,_.duration=secondsToMilliseconds(j.duration),_.type="keyframes",_};function inertia({keyframes:_,velocity:j=0,power:et=.8,timeConstant:tt=325,bounceDamping:rt=10,bounceStiffness:nt=500,modifyTarget:it,min:st,max:at,restDelta:ot=.5,restSpeed:lt}){const ct=_[0],ut={done:!1,value:ct},dt=_t=>st!==void 0&&_t<st||at!==void 0&&_t>at,ht=_t=>st===void 0?at:at===void 0||Math.abs(st-_t)<Math.abs(at-_t)?st:at;let pt=et*j;const gt=ct+pt,ft=it===void 0?gt:it(gt);ft!==gt&&(pt=ft-ct);const mt=_t=>-pt*Math.exp(-_t/tt),xt=_t=>ft+mt(_t),yt=_t=>{const wt=mt(_t),Rt=xt(_t);ut.done=Math.abs(wt)<=ot,ut.value=ut.done?ft:Rt};let vt,bt;const Et=_t=>{dt(ut.value)&&(vt=_t,bt=spring({keyframes:[ut.value,ht(ut.value)],velocity:calcGeneratorVelocity(xt,_t,ut.value),damping:rt,stiffness:nt,restDelta:ot,restSpeed:lt}))};return Et(0),{calculatedDuration:null,next:_t=>{let wt=!1;return!bt&&vt===void 0&&(wt=!0,yt(_t),Et(_t)),vt!==void 0&&_t>=vt?bt.next(_t-vt):(!wt&&yt(_t),ut)}}}function createMixers(_,j,et){const tt=[],rt=et||MotionGlobalConfig.mix||mix,nt=_.length-1;for(let it=0;it<nt;it++){let st=rt(_[it],_[it+1]);if(j){const at=Array.isArray(j)?j[it]||noop$5:j;st=pipe$1(at,st)}tt.push(st)}return tt}function interpolate$2(_,j,{clamp:et=!0,ease:tt,mixer:rt}={}){const nt=_.length;if(invariant$1(nt===j.length,"Both input and output ranges must be the same length","range-length"),nt===1)return()=>j[0];if(nt===2&&j[0]===j[1])return()=>j[1];const it=_[0]===_[1];_[0]>_[nt-1]&&(_=[..._].reverse(),j=[...j].reverse());const st=createMixers(j,tt,rt),at=st.length,ot=lt=>{if(it&<<_[0])return j[0];let ct=0;if(at>1)for(;ct<_.length-2&&!(lt<_[ct+1]);ct++);const ut=progress(_[ct],_[ct+1],lt);return st[ct](ut)};return et?lt=>ot(clamp$3(_[0],_[nt-1],lt)):ot}function fillOffset(_,j){const et=_[_.length-1];for(let tt=1;tt<=j;tt++){const rt=progress(0,j,tt);_.push(mixNumber$1(et,1,rt))}}function defaultOffset$1(_){const j=[0];return fillOffset(j,_.length-1),j}function convertOffsetToTimes(_,j){return _.map(et=>et*j)}function defaultEasing$1(_,j){return _.map(()=>j||easeInOut).splice(0,_.length-1)}function keyframes({duration:_=300,keyframes:j,times:et,ease:tt="easeInOut"}){const rt=isEasingArray(tt)?tt.map(easingDefinitionToFunction):easingDefinitionToFunction(tt),nt={done:!1,value:j[0]},it=convertOffsetToTimes(et&&et.length===j.length?et:defaultOffset$1(j),_),st=interpolate$2(it,j,{ease:Array.isArray(rt)?rt:defaultEasing$1(j,rt)});return{calculatedDuration:_,next:at=>(nt.value=st(at),nt.done=at>=_,nt)}}const isNotNull$1=_=>_!==null;function getFinalKeyframe$1(_,{repeat:j,repeatType:et="loop"},tt,rt=1){const nt=_.filter(isNotNull$1),st=rt<0||j&&et!=="loop"&&j%2===1?0:nt.length-1;return!st||tt===void 0?nt[st]:tt}const transitionTypeMap={decay:inertia,inertia,tween:keyframes,keyframes,spring};function replaceTransitionType(_){typeof _.type=="string"&&(_.type=transitionTypeMap[_.type])}class WithPromise{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(j=>{this.resolve=j})}notifyFinished(){this.resolve()}then(j,et){return this.finished.then(j,et)}}const percentToProgress=_=>_/100;class JSAnimation extends WithPromise{constructor(j){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var tt,rt;const{motionValue:et}=this.options;et&&et.updatedAt!==time$1.now()&&this.tick(time$1.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(rt=(tt=this.options).onStop)==null||rt.call(tt))},this.options=j,this.initAnimation(),this.play(),j.autoplay===!1&&this.pause()}initAnimation(){const{options:j}=this;replaceTransitionType(j);const{type:et=keyframes,repeat:tt=0,repeatDelay:rt=0,repeatType:nt,velocity:it=0}=j;let{keyframes:st}=j;const at=et||keyframes;at!==keyframes&&typeof st[0]!="number"&&(this.mixKeyframes=pipe$1(percentToProgress,mix(st[0],st[1])),st=[0,100]);const ot=at({...j,keyframes:st});nt==="mirror"&&(this.mirroredGenerator=at({...j,keyframes:[...st].reverse(),velocity:-it})),ot.calculatedDuration===null&&(ot.calculatedDuration=calcGeneratorDuration(ot));const{calculatedDuration:lt}=ot;this.calculatedDuration=lt,this.resolvedDuration=lt+rt,this.totalDuration=this.resolvedDuration*(tt+1)-rt,this.generator=ot}updateTime(j){const et=Math.round(j-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=et}tick(j,et=!1){const{generator:tt,totalDuration:rt,mixKeyframes:nt,mirroredGenerator:it,resolvedDuration:st,calculatedDuration:at}=this;if(this.startTime===null)return tt.next(0);const{delay:ot=0,keyframes:lt,repeat:ct,repeatType:ut,repeatDelay:dt,type:ht,onUpdate:pt,finalKeyframe:gt}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,j):this.speed<0&&(this.startTime=Math.min(j-rt/this.speed,this.startTime)),et?this.currentTime=j:this.updateTime(j);const ft=this.currentTime-ot*(this.playbackSpeed>=0?1:-1),mt=this.playbackSpeed>=0?ft<0:ft>rt;this.currentTime=Math.max(ft,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=rt);let xt=this.currentTime,yt=tt;if(ct){const _t=Math.min(this.currentTime,rt)/st;let wt=Math.floor(_t),Rt=_t%1;!Rt&&_t>=1&&(Rt=1),Rt===1&&wt--,wt=Math.min(wt,ct+1),!!(wt%2)&&(ut==="reverse"?(Rt=1-Rt,dt&&(Rt-=dt/st)):ut==="mirror"&&(yt=it)),xt=clamp$3(0,1,Rt)*st}const vt=mt?{done:!1,value:lt[0]}:yt.next(xt);nt&&(vt.value=nt(vt.value));let{done:bt}=vt;!mt&&at!==null&&(bt=this.playbackSpeed>=0?this.currentTime>=rt:this.currentTime<=0);const Et=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&bt);return Et&&ht!==inertia&&(vt.value=getFinalKeyframe$1(lt,this.options,gt,this.speed)),pt&&pt(vt.value),Et&&this.finish(),vt}then(j,et){return this.finished.then(j,et)}get duration(){return millisecondsToSeconds(this.calculatedDuration)}get iterationDuration(){const{delay:j=0}=this.options||{};return this.duration+millisecondsToSeconds(j)}get time(){return millisecondsToSeconds(this.currentTime)}set time(j){var et;j=secondsToMilliseconds(j),this.currentTime=j,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=j:this.driver&&(this.startTime=this.driver.now()-j/this.playbackSpeed),(et=this.driver)==null||et.start(!1)}get speed(){return this.playbackSpeed}set speed(j){this.updateTime(time$1.now());const et=this.playbackSpeed!==j;this.playbackSpeed=j,et&&(this.time=millisecondsToSeconds(this.currentTime))}play(){var rt,nt;if(this.isStopped)return;const{driver:j=frameloopDriver,startTime:et}=this.options;this.driver||(this.driver=j(it=>this.tick(it))),(nt=(rt=this.options).onPlay)==null||nt.call(rt);const tt=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=tt):this.holdTime!==null?this.startTime=tt-this.holdTime:this.startTime||(this.startTime=et??tt),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(time$1.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var j,et;this.notifyFinished(),this.teardown(),this.state="finished",(et=(j=this.options).onComplete)==null||et.call(j)}cancel(){var j,et;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(et=(j=this.options).onCancel)==null||et.call(j)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(j){return this.startTime=0,this.tick(j,!0)}attachTimeline(j){var et;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(et=this.driver)==null||et.stop(),j.observe(this)}}function fillWildcards(_){for(let j=1;j<_.length;j++)_[j]??(_[j]=_[j-1])}const radToDeg=_=>_*180/Math.PI,rotate=_=>{const j=radToDeg(Math.atan2(_[1],_[0]));return rebaseAngle(j)},matrix2dParsers={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:_=>(Math.abs(_[0])+Math.abs(_[3]))/2,rotate,rotateZ:rotate,skewX:_=>radToDeg(Math.atan(_[1])),skewY:_=>radToDeg(Math.atan(_[2])),skew:_=>(Math.abs(_[1])+Math.abs(_[2]))/2},rebaseAngle=_=>(_=_%360,_<0&&(_+=360),_),rotateZ=rotate,scaleX=_=>Math.sqrt(_[0]*_[0]+_[1]*_[1]),scaleY=_=>Math.sqrt(_[4]*_[4]+_[5]*_[5]),matrix3dParsers={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX,scaleY,scale:_=>(scaleX(_)+scaleY(_))/2,rotateX:_=>rebaseAngle(radToDeg(Math.atan2(_[6],_[5]))),rotateY:_=>rebaseAngle(radToDeg(Math.atan2(-_[2],_[0]))),rotateZ,rotate:rotateZ,skewX:_=>radToDeg(Math.atan(_[4])),skewY:_=>radToDeg(Math.atan(_[1])),skew:_=>(Math.abs(_[1])+Math.abs(_[4]))/2};function defaultTransformValue(_){return _.includes("scale")?1:0}function parseValueFromTransform(_,j){if(!_||_==="none")return defaultTransformValue(j);const et=_.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let tt,rt;if(et)tt=matrix3dParsers,rt=et;else{const st=_.match(/^matrix\(([-\d.e\s,]+)\)$/u);tt=matrix2dParsers,rt=st}if(!rt)return defaultTransformValue(j);const nt=tt[j],it=rt[1].split(",").map(convertTransformToNumber);return typeof nt=="function"?nt(it):it[nt]}const readTransformValue=(_,j)=>{const{transform:et="none"}=getComputedStyle(_);return parseValueFromTransform(et,j)};function convertTransformToNumber(_){return parseFloat(_.trim())}const transformPropOrder=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],transformProps=new Set(transformPropOrder),isNumOrPxType=_=>_===number$3||_===px,transformKeys=new Set(["x","y","z"]),nonTranslationalTransformKeys=transformPropOrder.filter(_=>!transformKeys.has(_));function removeNonTranslationalTransform(_){const j=[];return nonTranslationalTransformKeys.forEach(et=>{const tt=_.getValue(et);tt!==void 0&&(j.push([et,tt.get()]),tt.set(et.startsWith("scale")?1:0))}),j}const positionalValues={width:({x:_},{paddingLeft:j="0",paddingRight:et="0"})=>_.max-_.min-parseFloat(j)-parseFloat(et),height:({y:_},{paddingTop:j="0",paddingBottom:et="0"})=>_.max-_.min-parseFloat(j)-parseFloat(et),top:(_,{top:j})=>parseFloat(j),left:(_,{left:j})=>parseFloat(j),bottom:({y:_},{top:j})=>parseFloat(j)+(_.max-_.min),right:({x:_},{left:j})=>parseFloat(j)+(_.max-_.min),x:(_,{transform:j})=>parseValueFromTransform(j,"x"),y:(_,{transform:j})=>parseValueFromTransform(j,"y")};positionalValues.translateX=positionalValues.x;positionalValues.translateY=positionalValues.y;const toResolve=new Set;let isScheduled=!1,anyNeedsMeasurement=!1,isForced=!1;function measureAllKeyframes(){if(anyNeedsMeasurement){const _=Array.from(toResolve).filter(tt=>tt.needsMeasurement),j=new Set(_.map(tt=>tt.element)),et=new Map;j.forEach(tt=>{const rt=removeNonTranslationalTransform(tt);rt.length&&(et.set(tt,rt),tt.render())}),_.forEach(tt=>tt.measureInitialState()),j.forEach(tt=>{tt.render();const rt=et.get(tt);rt&&rt.forEach(([nt,it])=>{var st;(st=tt.getValue(nt))==null||st.set(it)})}),_.forEach(tt=>tt.measureEndState()),_.forEach(tt=>{tt.suspendedScrollY!==void 0&&window.scrollTo(0,tt.suspendedScrollY)})}anyNeedsMeasurement=!1,isScheduled=!1,toResolve.forEach(_=>_.complete(isForced)),toResolve.clear()}function readAllKeyframes(){toResolve.forEach(_=>{_.readKeyframes(),_.needsMeasurement&&(anyNeedsMeasurement=!0)})}function flushKeyframeResolvers(){isForced=!0,readAllKeyframes(),measureAllKeyframes(),isForced=!1}class KeyframeResolver{constructor(j,et,tt,rt,nt,it=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...j],this.onComplete=et,this.name=tt,this.motionValue=rt,this.element=nt,this.isAsync=it}scheduleResolve(){this.state="scheduled",this.isAsync?(toResolve.add(this),isScheduled||(isScheduled=!0,frame.read(readAllKeyframes),frame.resolveKeyframes(measureAllKeyframes))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:j,name:et,element:tt,motionValue:rt}=this;if(j[0]===null){const nt=rt==null?void 0:rt.get(),it=j[j.length-1];if(nt!==void 0)j[0]=nt;else if(tt&&et){const st=tt.readValue(et,it);st!=null&&(j[0]=st)}j[0]===void 0&&(j[0]=it),rt&&nt===void 0&&rt.set(j[0])}fillWildcards(j)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(j=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,j),toResolve.delete(this)}cancel(){this.state==="scheduled"&&(toResolve.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const isCSSVar=_=>_.startsWith("--");function setStyle(_,j,et){isCSSVar(j)?_.style.setProperty(j,et):_.style[j]=et}const supportsScrollTimeline=memo(()=>window.ScrollTimeline!==void 0),supportsFlags={};function memoSupports(_,j){const et=memo(_);return()=>supportsFlags[j]??et()}const supportsLinearEasing=memoSupports(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),cubicBezierAsString=([_,j,et,tt])=>`cubic-bezier(${_}, ${j}, ${et}, ${tt})`,supportedWaapiEasing={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:cubicBezierAsString([0,.65,.55,1]),circOut:cubicBezierAsString([.55,0,1,.45]),backIn:cubicBezierAsString([.31,.01,.66,-.59]),backOut:cubicBezierAsString([.33,1.53,.69,.99])};function mapEasingToNativeEasing(_,j){if(_)return typeof _=="function"?supportsLinearEasing()?generateLinearEasing(_,j):"ease-out":isBezierDefinition(_)?cubicBezierAsString(_):Array.isArray(_)?_.map(et=>mapEasingToNativeEasing(et,j)||supportedWaapiEasing.easeOut):supportedWaapiEasing[_]}function startWaapiAnimation(_,j,et,{delay:tt=0,duration:rt=300,repeat:nt=0,repeatType:it="loop",ease:st="easeOut",times:at}={},ot=void 0){const lt={[j]:et};at&&(lt.offset=at);const ct=mapEasingToNativeEasing(st,rt);Array.isArray(ct)&&(lt.easing=ct);const ut={delay:tt,duration:rt,easing:Array.isArray(ct)?"linear":ct,fill:"both",iterations:nt+1,direction:it==="reverse"?"alternate":"normal"};return ot&&(ut.pseudoElement=ot),_.animate(lt,ut)}function isGenerator(_){return typeof _=="function"&&"applyToOptions"in _}function applyGeneratorOptions({type:_,...j}){return isGenerator(_)&&supportsLinearEasing()?_.applyToOptions(j):(j.duration??(j.duration=300),j.ease??(j.ease="easeOut"),j)}class NativeAnimation extends WithPromise{constructor(j){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!j)return;const{element:et,name:tt,keyframes:rt,pseudoElement:nt,allowFlatten:it=!1,finalKeyframe:st,onComplete:at}=j;this.isPseudoElement=!!nt,this.allowFlatten=it,this.options=j,invariant$1(typeof j.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const ot=applyGeneratorOptions(j);this.animation=startWaapiAnimation(et,tt,rt,ot,nt),ot.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!nt){const lt=getFinalKeyframe$1(rt,this.options,st,this.speed);this.updateMotionValue?this.updateMotionValue(lt):setStyle(et,tt,lt),this.animation.cancel()}at==null||at(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var j,et;(et=(j=this.animation).finish)==null||et.call(j)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:j}=this;j==="idle"||j==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var et,tt,rt;const j=(et=this.options)==null?void 0:et.element;!this.isPseudoElement&&(j!=null&&j.isConnected)&&((rt=(tt=this.animation).commitStyles)==null||rt.call(tt))}get duration(){var et,tt;const j=((tt=(et=this.animation.effect)==null?void 0:et.getComputedTiming)==null?void 0:tt.call(et).duration)||0;return millisecondsToSeconds(Number(j))}get iterationDuration(){const{delay:j=0}=this.options||{};return this.duration+millisecondsToSeconds(j)}get time(){return millisecondsToSeconds(Number(this.animation.currentTime)||0)}set time(j){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=secondsToMilliseconds(j)}get speed(){return this.animation.playbackRate}set speed(j){j<0&&(this.finishedTime=null),this.animation.playbackRate=j}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(j){this.manualStartTime=this.animation.startTime=j}attachTimeline({timeline:j,observe:et}){var tt;return this.allowFlatten&&((tt=this.animation.effect)==null||tt.updateTiming({easing:"linear"})),this.animation.onfinish=null,j&&supportsScrollTimeline()?(this.animation.timeline=j,noop$5):et(this)}}const unsupportedEasingFunctions={anticipate,backInOut,circInOut};function isUnsupportedEase(_){return _ in unsupportedEasingFunctions}function replaceStringEasing(_){typeof _.ease=="string"&&isUnsupportedEase(_.ease)&&(_.ease=unsupportedEasingFunctions[_.ease])}const sampleDelta=10;class NativeAnimationExtended extends NativeAnimation{constructor(j){replaceStringEasing(j),replaceTransitionType(j),super(j),j.startTime!==void 0&&(this.startTime=j.startTime),this.options=j}updateMotionValue(j){const{motionValue:et,onUpdate:tt,onComplete:rt,element:nt,...it}=this.options;if(!et)return;if(j!==void 0){et.set(j);return}const st=new JSAnimation({...it,autoplay:!1}),at=Math.max(sampleDelta,time$1.now()-this.startTime),ot=clamp$3(0,sampleDelta,at-sampleDelta);et.setWithVelocity(st.sample(Math.max(0,at-ot)).value,st.sample(at).value,ot),st.
671stop()}}const isAnimatable=(_,j)=>j==="zIndex"?!1:!!(typeof _=="number"||Array.isArray(_)||typeof _=="string"&&(complex.test(_)||_==="0")&&!_.startsWith("url("));function hasKeyframesChanged(_){const j=_[0];if(_.length===1)return!0;for(let et=0;et<_.length;et++)if(_[et]!==j)return!0}function canAnimate(_,j,et,tt){const rt=_[0];if(rt===null)return!1;if(j==="display"||j==="visibility")return!0;const nt=_[_.length-1],it=isAnimatable(rt,j),st=isAnimatable(nt,j);return warning(it===st,`You are trying to animate ${j} from "${rt}" to "${nt}". "${it?nt:rt}" is not an animatable value.`,"value-not-animatable"),!it||!st?!1:hasKeyframesChanged(_)||(et==="spring"||isGenerator(et))&&tt}function makeAnimationInstant(_){_.duration=0,_.type="keyframes"}const acceleratedValues=new Set(["opacity","clipPath","filter","transform"]),supportsWaapi=memo(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function supportsBrowserAnimation(_){var lt;const{motionValue:j,name:et,repeatDelay:tt,repeatType:rt,damping:nt,type:it}=_;if(!(((lt=j==null?void 0:j.owner)==null?void 0:lt.current)instanceof HTMLElement))return!1;const{onUpdate:at,transformTemplate:ot}=j.owner.getProps();return supportsWaapi()&&et&&acceleratedValues.has(et)&&(et!=="transform"||!ot)&&!at&&!tt&&rt!=="mirror"&&nt!==0&&it!=="inertia"}const MAX_RESOLVE_DELAY=40;class AsyncMotionValueAnimation extends WithPromise{constructor({autoplay:j=!0,delay:et=0,type:tt="keyframes",repeat:rt=0,repeatDelay:nt=0,repeatType:it="loop",keyframes:st,name:at,motionValue:ot,element:lt,...ct}){var ht;super(),this.stop=()=>{var pt,gt;this._animation&&(this._animation.stop(),(pt=this.stopTimeline)==null||pt.call(this)),(gt=this.keyframeResolver)==null||gt.cancel()},this.createdAt=time$1.now();const ut={autoplay:j,delay:et,type:tt,repeat:rt,repeatDelay:nt,repeatType:it,name:at,motionValue:ot,element:lt,...ct},dt=(lt==null?void 0:lt.KeyframeResolver)||KeyframeResolver;this.keyframeResolver=new dt(st,(pt,gt,ft)=>this.onKeyframesResolved(pt,gt,ut,!ft),at,ot,lt),(ht=this.keyframeResolver)==null||ht.scheduleResolve()}onKeyframesResolved(j,et,tt,rt){var gt,ft;this.keyframeResolver=void 0;const{name:nt,type:it,velocity:st,delay:at,isHandoff:ot,onUpdate:lt}=tt;this.resolvedAt=time$1.now(),canAnimate(j,nt,it,st)||((MotionGlobalConfig.instantAnimations||!at)&&(lt==null||lt(getFinalKeyframe$1(j,tt,et))),j[0]=j[j.length-1],makeAnimationInstant(tt),tt.repeat=0);const ut={startTime:rt?this.resolvedAt?this.resolvedAt-this.createdAt>MAX_RESOLVE_DELAY?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:et,...tt,keyframes:j},dt=!ot&&supportsBrowserAnimation(ut),ht=(ft=(gt=ut.motionValue)==null?void 0:gt.owner)==null?void 0:ft.current,pt=dt?new NativeAnimationExtended({...ut,element:ht}):new JSAnimation(ut);pt.finished.then(()=>{this.notifyFinished()}).catch(noop$5),this.pendingTimeline&&(this.stopTimeline=pt.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=pt}get finished(){return this._animation?this.animation.finished:this._finished}then(j,et){return this.finished.finally(j).then(()=>{})}get animation(){var j;return this._animation||((j=this.keyframeResolver)==null||j.resume(),flushKeyframeResolvers()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(j){this.animation.time=j}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(j){this.animation.speed=j}get startTime(){return this.animation.startTime}attachTimeline(j){return this._animation?this.stopTimeline=this.animation.attachTimeline(j):this.pendingTimeline=j,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var j;this._animation&&this.animation.cancel(),(j=this.keyframeResolver)==null||j.cancel()}}function calcChildStagger(_,j,et,tt=0,rt=1){const nt=Array.from(_).sort((ot,lt)=>ot.sortNodePosition(lt)).indexOf(j),it=_.size,st=(it-1)*tt;return typeof et=="function"?et(nt,it):rt===1?nt*tt:st-nt*tt}const splitCSSVariableRegex=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function parseCSSVariable(_){const j=splitCSSVariableRegex.exec(_);if(!j)return[,];const[,et,tt,rt]=j;return[`--${et??tt}`,rt]}const maxDepth=4;
671function getVariableValue(_,j,et=1){invariant$1(et<=maxDepth,`Max CSS variable fallback depth detected in property "${_}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[tt,rt]=parseCSSVariable(_);if(!tt)return;const nt=window.getComputedStyle(j).getPropertyValue(tt);if(nt){const it=nt.trim();return isNumericalString(it)?parseFloat(it):it}return isCSSVariableToken(rt)?getVariableValue(rt,j,et+1):rt}const underDampedSpring={type:"spring",stiffness:500,damping:25,restSpeed:10},criticallyDampedSpring=_=>({type:"spring",stiffness:550,damping:_===0?2*Math.sqrt(550):30,restSpeed:10}),keyframesTransition={type:"keyframes",duration:.8},ease={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},getDefaultTransition=(_,{keyframes:j})=>j.length>2?keyframesTransition:transformProps.has(_)?_.startsWith("scale")?criticallyDampedSpring(j[1]):underDampedSpring:ease,isNotNull=_=>_!==null;function getFinalKeyframe(_,{repeat:j,repeatType:et="loop"},tt){const rt=_.filter(isNotNull),nt=j&&et!=="loop"&&j%2===1?0:rt.length-1;return!nt||tt===void 0?rt[nt]:tt}function resolveTransition(_,j){if(_!=null&&_.inherit&&j){const{inherit:et,...tt}=_;return{...j,...tt}}return _}function getValueTransition(_,j){const et=(_==null?void 0:_[j])??(_==null?void 0:_.default)??_;return et!==_?resolveTransition(et,_):et}function isTransitionDefined({when:_,delay:j,delayChildren:et,staggerChildren:tt,staggerDirection:rt,repeat:nt,repeatType:it,repeatDelay:st,from:at,elapsed:ot,...lt}){return!!Object.keys(lt).length}const animateMotionValue=(_,j,et,tt={},rt,nt)=>it=>{const st=getValueTransition(tt,_)||{},at=st.delay||tt.delay||0;let{elapsed:ot=0}=tt;ot=ot-secondsToMilliseconds(at);const lt={keyframes:Array.isArray(et)?et:[null,et],ease:"easeOut",velocity:j.getVelocity(),...st,delay:-ot,onUpdate:ut=>{j.set(ut),st.onUpdate&&st.onUpdate(ut)},onComplete:()=>{it(),st.onComplete&&st.onComplete()},name:_,motionValue:j,element:nt?void 0:rt};isTransitionDefined(st)||Object.assign(lt,getDefaultTransition(_,lt)),lt.duration&&(lt.duration=secondsToMilliseconds(lt.duration)),lt.repeatDelay&&(lt.repeatDelay=secondsToMilliseconds(lt.repeatDelay)),lt.from!==void 0&&(lt.keyframes[0]=lt.from);let ct=!1;if((lt.type===!1||lt.duration===0&&!lt.repeatDelay)&&(makeAnimationInstant(lt),lt.delay===0&&(ct=!0)),(MotionGlobalConfig.instantAnimations||MotionGlobalConfig.skipAnimations||rt!=null&&rt.shouldSkipAnimations)&&(ct=!0,makeAnimationInstant(lt),lt.delay=0),lt.allowFlatten=!st.type&&!st.ease,ct&&!nt&&j.get()!==void 0){const ut=getFinalKeyframe(lt.keyframes,st);if(ut!==void 0){frame.update(()=>{lt.onUpdate(ut),lt.onComplete()});return}}return st.isSync?new JSAnimation(lt):new AsyncMotionValueAnimation(lt)};function getValueState(_){const j=[{},{}];return _==null||_.values.forEach((et,tt)=>{j[0][tt]=et.get(),j[1][tt]=et.getVelocity()}),j}function resolveVariantFromProps(_,j,et,tt){if(typeof j=="function"){const[rt,nt]=getValueState(tt);j=j(et!==void 0?et:_.custom,rt,nt)}if(typeof j=="string"&&(j=_.variants&&_.variants[j]),typeof j=="function"){const[rt,nt]=getValueState(tt);j=j(et!==void 0?et:_.custom,rt,nt)}return j}function resolveVariant(_,j,et){const tt=_.getProps();return resolveVariantFromProps(tt,j,et!==void 0?et:tt.custom,_)}const positionalKeys=new Set(["width","height","top","left","right","bottom",...transformPropOrder]),MAX_VELOCITY_DELTA=30,isFloat=_=>!isNaN(parseFloat(_)),collectMotionValues={current:void 0};class MotionValue{constructor(j,et={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=tt=>{var nt;const rt=time$1.now();if(this.updatedAt!==rt&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(tt),this.current!==this.prev&&((nt=this.events.change)==null||nt.notify(this.current),this.dependents))for(const it of this.dependents)it.dirty()},this.hasAnimated=!1,this.setCurrent(j),this.owner=et.owner}setCurrent(j){this.current=j,this.updatedAt=time$1.now(),this.canTrackVelocity===null&&j!==void 0&&(this.canTrackVelocity=isFloat(this.current))}setPrevFrameValue(j=this.current){this.prevFrameValue=j,this.prevUpdatedAt=this.updatedAt}onChange(j){return this.on("change",j)}on(j,et){this.events[j]||(this.events[j]=new SubscriptionManager);const tt=this.events[j].add(et);return j==="change"?()=>{tt(),frame.read(()=>{this.events.change.getSize()||this.stop()})}:tt}clearListeners(){for(const j in this.events)this.events[j].clear()}attach(j,et){this.passiveEffect=j,this.stopPassiveEffect=et}set(j){this.passiveEffect?this.passiveEffect(j,this.updateAndNotify):this.updateAndNotify(j)}setWithVelocity(j,et,tt){this.set(et),this.prev=void 0,this.prevFrameValue=j,this.prevUpdatedAt=this.updatedAt-tt}jump(j,et=!0){this.updateAndNotify(j),this.prev=j,this.prevUpdatedAt=this.prevFrameValue=void 0,et&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var j;(j=this.events.change)==null||j.notify(this.current)}addDependent(j){this.dependents||(this.dependents=new Set),this.dependents.add(j)}removeDependent(j){this.dependents&&this.dependents.delete(j)}
vendor: 5,251 bytes, line 671
671get(){return collectMotionValues.current&&collectMotionValues.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const j=time$1.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||j-this.updatedAt>MAX_VELOCITY_DELTA)return 0;const et=Math.min(this.updatedAt-this.prevUpdatedAt,MAX_VELOCITY_DELTA);return velocityPerSecond(parseFloat(this.current)-parseFloat(this.prevFrameValue),et)}start(j){return this.stop(),new Promise(et=>{this.hasAnimated=!0,this.animation=j(et),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 j,et;(j=this.dependents)==null||j.clear(),(et=this.events.destroy)==null||et.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function motionValue(_,j){return new MotionValue(_,j)}const isKeyframesTarget=_=>Array.isArray(_);function setMotionValue(_,j,et){_.hasValue(j)?_.getValue(j).set(et):_.addValue(j,motionValue(et))}function resolveFinalValueInKeyframes(_){return isKeyframesTarget(_)?_[_.length-1]||0:_}function setTarget(_,j){const et=resolveVariant(_,j);let{transitionEnd:tt={},transition:rt={},...nt}=et||{};nt={...nt,...tt};for(const it in nt){const st=resolveFinalValueInKeyframes(nt[it]);setMotionValue(_,it,st)}}const isMotionValue=_=>!!(_&&_.getVelocity);function isWillChangeMotionValue(_){return!!(isMotionValue(_)&&_.add)}function addValueToWillChange(_,j){const et=_.getValue("willChange");if(isWillChangeMotionValue(et))return et.add(j);if(!et&&MotionGlobalConfig.WillChange){const tt=new MotionGlobalConfig.WillChange("auto");_.addValue("willChange",tt),tt.add(j)}}function camelToDash(_){return _.replace(/([A-Z])/g,j=>`-${j.toLowerCase()}`)}const optimizedAppearDataId="framerAppearId",optimizedAppearDataAttribute="data-"+camelToDash(optimizedAppearDataId);function getOptimisedAppearId(_){return _.props[optimizedAppearDataAttribute]}function shouldBlockAnimation({protectedKeys:_,needsAnimating:j},et){const tt=_.hasOwnProperty(et)&&j[et]!==!0;return j[et]=!1,tt}function animateTarget(_,j,{delay:et=0,transitionOverride:tt,type:rt}={}){let{transition:nt,transitionEnd:it,...st}=j;const at=_.getDefaultTransition();nt=nt?resolveTransition(nt,at):at;const ot=nt==null?void 0:nt.reduceMotion;tt&&(nt=tt);const lt=[],ct=rt&&_.animationState&&_.animationState.getState()[rt];for(const ut in st){const dt=_.getValue(ut,_.latestValues[ut]??null),ht=st[ut];if(ht===void 0||ct&&shouldBlockAnimation(ct,ut))continue;const pt={delay:et,...getValueTransition(nt||{},ut)},gt=dt.get();if(gt!==void 0&&!dt.isAnimating&&!Array.isArray(ht)&&ht===gt&&!pt.velocity)continue;let ft=!1;if(window.MotionHandoffAnimation){const yt=getOptimisedAppearId(_);if(yt){const vt=window.MotionHandoffAnimation(yt,ut,frame);vt!==null&&(pt.startTime=vt,ft=!0)}}addValueToWillChange(_,ut);const mt=ot??_.shouldReduceMotion;dt.start(animateMotionValue(ut,dt,ht,mt&&positionalKeys.has(ut)?{type:!1}:pt,_,ft));const xt=dt.animation;xt&<.push(xt)}if(it){const ut=()=>frame.update(()=>{it&&setTarget(_,it)});lt.length?Promise.all(lt).then(ut):ut()}return lt}function animateVariant(_,j,et={}){var at;const tt=resolveVariant(_,j,et.type==="exit"?(at=_.presenceContext)==null?void 0:at.custom:void 0);let{transition:rt=_.getDefaultTransition()||{}}=tt||{};et.transitionOverride&&(rt=et.transitionOverride);const nt=tt?()=>Promise.all(animateTarget(_,tt,et)):()=>Promise.resolve(),it=_.variantChildren&&_.variantChildren.size?(ot=0)=>{const{delayChildren:lt=0,staggerChildren:ct,staggerDirection:ut}=rt;return animateChildren(_,j,ot,lt,ct,ut,et)}:()=>Promise.resolve(),{when:st}=rt;if(st){const[ot,lt]=st==="beforeChildren"?[nt,it]:[it,nt];return ot().then(()=>lt())}else return Promise.all([nt(),it(et.delay)])}function animateChildren(_,j,et=0,tt=0,rt=0,nt=1,it){const st=[];for(const at of _.variantChildren)at.notify("AnimationStart",j),st.push(animateVariant(at,j,{...it,delay:et+(typeof tt=="function"?0:tt)+calcChildStagger(_.variantChildren,at,tt,rt,nt)}).then(()=>at.notify("AnimationComplete",j)));return Promise.all(st)}function animateVisualElement(_,j,et={}){_.notify("AnimationStart",j);let tt;if(Array.isArray(j)){const rt=j.map(nt=>animateVariant(_,nt,et));tt=Promise.all(rt)}else if(typeof j=="string")tt=animateVariant(_,j,et);else{const rt=typeof j=="function"?resolveVariant(_,j,et.custom):j;tt=Promise.all(animateTarget(_,rt,et))}return tt.then(()=>{_.notify("AnimationComplete",j)})}const auto={test:_=>_==="auto",parse:_=>_},testValueType=_=>j=>j.test(_),dimensionValueTypes=[number$3,px,percent,degrees,vw,vh,auto],findDimensionValueType=_=>dimensionValueTypes.find(testValueType(_));function isNone(_){return typeof _=="number"?_===0:_!==null?_==="none"||_==="0"||isZeroValueString(_):!0}const maxDefaults=new Set(["brightness","contrast","saturate","opacity"]);function applyDefaultFilter(_){const[j,et]=_.slice(0,-1).split("(");if(j==="drop-shadow")return _;const[tt]=et.match(floatRegex)||[];
vendor: 4,248 bytes, line 671
671if(!tt)return _;const rt=et.replace(tt,"");let nt=maxDefaults.has(j)?1:0;return tt!==et&&(nt*=100),j+"("+nt+rt+")"}const functionRegex=/\b([a-z-]*)\(.*?\)/gu,filter={...complex,getAnimatableNone:_=>{const j=_.match(functionRegex);return j?j.map(applyDefaultFilter).join(" "):_}},int={...number$3,transform:Math.round},transformValueTypes={rotate:degrees,rotateX:degrees,rotateY:degrees,rotateZ:degrees,scale,scaleX:scale,scaleY:scale,scaleZ:scale,skew:degrees,skewX:degrees,skewY:degrees,distance:px,translateX:px,translateY:px,translateZ:px,x:px,y:px,z:px,perspective:px,transformPerspective:px,opacity:alpha$1,originX:progressPercentage,originY:progressPercentage,originZ:px},numberValueTypes={borderWidth:px,borderTopWidth:px,borderRightWidth:px,borderBottomWidth:px,borderLeftWidth:px,borderRadius:px,borderTopLeftRadius:px,borderTopRightRadius:px,borderBottomRightRadius:px,borderBottomLeftRadius:px,width:px,maxWidth:px,height:px,maxHeight:px,top:px,right:px,bottom:px,left:px,inset:px,insetBlock:px,insetBlockStart:px,insetBlockEnd:px,insetInline:px,insetInlineStart:px,insetInlineEnd:px,padding:px,paddingTop:px,paddingRight:px,paddingBottom:px,paddingLeft:px,paddingBlock:px,paddingBlockStart:px,paddingBlockEnd:px,paddingInline:px,paddingInlineStart:px,paddingInlineEnd:px,margin:px,marginTop:px,marginRight:px,marginBottom:px,marginLeft:px,marginBlock:px,marginBlockStart:px,marginBlockEnd:px,marginInline:px,marginInlineStart:px,marginInlineEnd:px,fontSize:px,backgroundPositionX:px,backgroundPositionY:px,...transformValueTypes,zIndex:int,fillOpacity:alpha$1,strokeOpacity:alpha$1,numOctaves:int},defaultValueTypes={...numberValueTypes,color:color$1,backgroundColor:color$1,outlineColor:color$1,fill:color$1,stroke:color$1,borderColor:color$1,borderTopColor:color$1,borderRightColor:color$1,borderBottomColor:color$1,borderLeftColor:color$1,filter,WebkitFilter:filter},getDefaultValueType=_=>defaultValueTypes[_];function getAnimatableNone(_,j){let et=getDefaultValueType(_);return et!==filter&&(et=complex),et.getAnimatableNone?et.getAnimatableNone(j):void 0}const invalidTemplates=new Set(["auto","none","0"]);function makeNoneKeyframesAnimatable(_,j,et){let tt=0,rt;for(;tt<_.length&&!rt;){const nt=_[tt];typeof nt=="string"&&!invalidTemplates.has(nt)&&analyseComplexValue(nt).values.length&&(rt=_[tt]),tt++}if(rt&&et)for(const nt of j)_[nt]=getAnimatableNone(et,rt)}class DOMKeyframesResolver extends KeyframeResolver{constructor(j,et,tt,rt,nt){super(j,et,tt,rt,nt,!0)}readKeyframes(){const{unresolvedKeyframes:j,element:et,name:tt}=this;if(!et||!et.current)return;super.readKeyframes();for(let lt=0;lt<j.length;lt++){let ct=j[lt];if(typeof ct=="string"&&(ct=ct.trim(),isCSSVariableToken(ct))){const ut=getVariableValue(ct,et.current);ut!==void 0&&(j[lt]=ut),lt===j.length-1&&(this.finalKeyframe=ct)}}if(this.resolveNoneKeyframes(),!positionalKeys.has(tt)||j.length!==2)return;const[rt,nt]=j,it=findDimensionValueType(rt),st=findDimensionValueType(nt),at=containsCSSVariable(rt),ot=containsCSSVariable(nt);if(at!==ot&&positionalValues[tt]){this.needsMeasurement=!0;return}if(it!==st)if(isNumOrPxType(it)&&isNumOrPxType(st))for(let lt=0;lt<j.length;lt++){const ct=j[lt];typeof ct=="string"&&(j[lt]=parseFloat(ct))}else positionalValues[tt]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:j,name:et}=this,tt=[];for(let rt=0;rt<j.length;rt++)(j[rt]===null||isNone(j[rt]))&&tt.push(rt);tt.length&&makeNoneKeyframesAnimatable(j,tt,et)}measureInitialState(){const{element:j,unresolvedKeyframes:et,name:tt}=this;if(!j||!j.current)return;tt==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=positionalValues[tt](j.measureViewportBox(),window.getComputedStyle(j.current)),et[0]=this.measuredOrigin;const rt=et[et.length-1];rt!==void 0&&j.getValue(tt,rt).jump(rt,!1)}measureEndState(){var st;const{element:j,name:et,unresolvedKeyframes:tt}=this;if(!j||!j.current)return;const rt=j.getValue(et);rt&&rt.jump(this.measuredOrigin,!1);const nt=tt.length-1,it=tt[nt];tt[nt]=positionalValues[et](j.measureViewportBox(),window.getComputedStyle(j.current)),it!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=it),(st=this.removedTransforms)!=null&&st.length&&this.removedTransforms.forEac
vendor: 14,258 bytes, line 671
671h(([at,ot])=>{j.getValue(at).set(ot)}),this.resolveNoneKeyframes()}}function resolveElements(_,j,et){if(_==null)return[];if(_ instanceof EventTarget)return[_];if(typeof _=="string"){const rt=document.querySelectorAll(_);return rt?Array.from(rt):[]}return Array.from(_).filter(tt=>tt!=null)}const getValueAsType=(_,j)=>j&&typeof _=="number"?j.transform(_):_;function isHTMLElement$1(_){return isObject$a(_)&&"offsetHeight"in _}const{schedule:microtask,cancel:cancelMicrotask}=createRenderBatcher(queueMicrotask,!1),isDragging={x:!1,y:!1};function isDragActive(){return isDragging.x||isDragging.y}function setDragLock(_){return _==="x"||_==="y"?isDragging[_]?null:(isDragging[_]=!0,()=>{isDragging[_]=!1}):isDragging.x||isDragging.y?null:(isDragging.x=isDragging.y=!0,()=>{isDragging.x=isDragging.y=!1})}function setupGesture(_,j){const et=resolveElements(_),tt=new AbortController,rt={passive:!0,...j,signal:tt.signal};return[et,rt,()=>tt.abort()]}function isValidHover(_){return!(_.pointerType==="touch"||isDragActive())}function hover(_,j,et={}){const[tt,rt,nt]=setupGesture(_,et);return tt.forEach(it=>{let st=!1,at=!1,ot;const lt=()=>{it.removeEventListener("pointerleave",ht)},ct=gt=>{ot&&(ot(gt),ot=void 0),lt()},ut=gt=>{st=!1,window.removeEventListener("pointerup",ut),window.removeEventListener("pointercancel",ut),at&&(at=!1,ct(gt))},dt=()=>{st=!0,window.addEventListener("pointerup",ut,rt),window.addEventListener("pointercancel",ut,rt)},ht=gt=>{if(gt.pointerType!=="touch"){if(st){at=!0;return}ct(gt)}},pt=gt=>{if(!isValidHover(gt))return;at=!1;const ft=j(it,gt);typeof ft=="function"&&(ot=ft,it.addEventListener("pointerleave",ht,rt))};it.addEventListener("pointerenter",pt,rt),it.addEventListener("pointerdown",dt,rt)}),nt}const isNodeOrChild=(_,j)=>j?_===j?!0:isNodeOrChild(_,j.parentElement):!1,isPrimaryPointer=_=>_.pointerType==="mouse"?typeof _.button!="number"||_.button<=0:_.isPrimary!==!1,keyboardAccessibleElements=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function isElementKeyboardAccessible(_){return keyboardAccessibleElements.has(_.tagName)||_.isContentEditable===!0}const textInputElements=new Set(["INPUT","SELECT","TEXTAREA"]);function isElementTextInput(_){return textInputElements.has(_.tagName)||_.isContentEditable===!0}const isPressing=new WeakSet;function filterEvents(_){return j=>{j.key==="Enter"&&_(j)}}function firePointerEvent(_,j){_.dispatchEvent(new PointerEvent("pointer"+j,{isPrimary:!0,bubbles:!0}))}const enableKeyboardPress=(_,j)=>{const et=_.currentTarget;if(!et)return;const tt=filterEvents(()=>{if(isPressing.has(et))return;firePointerEvent(et,"down");const rt=filterEvents(()=>{firePointerEvent(et,"up")}),nt=()=>firePointerEvent(et,"cancel");et.addEventListener("keyup",rt,j),et.addEventListener("blur",nt,j)});et.addEventListener("keydown",tt,j),et.addEventListener("blur",()=>et.removeEventListener("keydown",tt),j)};function isValidPressEvent(_){return isPrimaryPointer(_)&&!isDragActive()}const claimedPointerDownEvents=new WeakSet;function press(_,j,et={}){const[tt,rt,nt]=setupGesture(_,et),it=st=>{const at=st.currentTarget;if(!isValidPressEvent(st)||claimedPointerDownEvents.has(st))return;isPressing.add(at),et.stopPropagation&&claimedPointerDownEvents.add(st);const ot=j(at,st),lt=(dt,ht)=>{window.removeEventListener("pointerup",ct),window.removeEventListener("pointercancel",ut),isPressing.has(at)&&isPressing.delete(at),isValidPressEvent(dt)&&typeof ot=="function"&&ot(dt,{success:ht})},ct=dt=>{lt(dt,at===window||at===document||et.useGlobalTarget||isNodeOrChild(at,dt.target))},ut=dt=>{lt(dt,!1)};window.addEventListener("pointerup",ct,rt),window.addEventListener("pointercancel",ut,rt)};return tt.forEach(st=>{(et.useGlobalTarget?window:st).addEventListener("pointerdown",it,rt),isHTMLElement$1(st)&&(st.addEventListener("focus",ot=>enableKeyboardPress(ot,rt)),!isElementKeyboardAccessible(st)&&!st.hasAttribute("tabindex")&&(st.tabIndex=0))}),nt}function isSVGElement(_){return isObject$a(_)&&"ownerSVGElement"in _}const resizeHandlers=new WeakMap;let observer;const getSize=(_,j,et)=>(tt,rt)=>rt&&rt[0]?rt[0][_+"Size"]:isSVGElement(tt)&&"getBBox"in tt?tt.getBBox()[j]:tt[et],getWidth=getSize("inline","width","offsetWidth"),getHeight=getSize("block","height","offsetHeight");function notifyTarget({target:_,borderBoxSize:j}){var et;(et=resizeHandlers.get(_))==null||et.forEach(tt=>{tt(_,{get width(){return getWidth(_,j)},get height(){return getHeight(_,j)}})})}function notifyAll(_){_.forEach(notifyTarget)}function createResizeObserver(){typeof ResizeObserver>"u"||(observer=new ResizeObserver(notifyAll))}function resizeElement(_,j){observer||createResizeObserver();const et=resolveElements(_);return et.forEach(tt=>{let rt=resizeHandlers.get(tt);rt||(rt=new Set,resizeHandlers.set(tt,rt)),rt.add(j),observer==null||observer.observe(tt)}),()=>{et.forEach(tt=>{const rt=resizeHandlers.get(tt);rt==null||rt.delete(j),rt!=null&&rt.size||observer==null||observer.unobserve(tt)})}}const windowCallbacks=new Set;let windowResizeHandler;function createWindowResizeHandler(){windowResizeHandler=()=>{const _={get width(){return window.innerWidth},get height(){return window.innerHeight}};windowCallbacks.forEach(j=>j(_))},window.addEventListener("resize",windowResizeHandler)}function resizeWindow(_){return windowCallbacks.add(_),windowResizeHandler||createWindowResizeHandler(),()=>{windowCallbacks.delete(_),!windowCallbacks.size&&typeof windowResizeHandler=="function"&&(window.removeEventListener("resize",windowResizeHandler),windowResizeHandler=void 0)}}function resize(_,j){return typeof _=="function"?resizeWindow(_):resizeElement(_,j)}function observeTimeline(_,j){let et;const tt=()=>{const{currentTime:rt}=j,it=(rt===null?0:rt.value)/100;et!==it&&_(it),et=it};return frame.preUpdate(tt,!0),()=>cancelFrame(tt)}function isSVGSVGElement(_){return isSVGElement(_)&&_.tagName==="svg"}function transform(..._){const j=!Array.isArray(_[0]),et=j?0:-1,tt=_[0+et],rt=_[1+et],nt=_[2+et],it=_[3+et],st=interpolate$2(rt,nt,it);return j?st(tt):st}function attachFollow(_,j,et={}){const tt=_.get();let rt=null,nt=tt,it;const st=typeof tt=="string"?tt.replace(/[\d.-]/g,""):void 0,at=()=>{rt&&(rt.stop(),rt=null)},ot=()=>{at();const lt=asNumber$1(_.get()),ct=asNumber$1(nt);lt!==ct&&(rt=new JSAnimation({keyframes:[lt,ct],velocity:_.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...et,onUpdate:it}))};if(_.attach((lt,ct)=>{nt=lt,it=ut=>ct(parseValue(ut,st)),frame.postRender(()=>{var ut;ot(),(ut=_.events.animationStart)==null||ut.notify(),rt==null||rt.then(()=>{var dt;(dt=_.events.animationComplete)==null||dt.notify()})})},at),isMotionValue(j)){const lt=j.on("change",ut=>_.set(parseValue(ut,st))),ct=_.on("destroy",lt);return()=>{lt(),ct()}}return at}function parseValue(_,j){return j?_+j:_}function asNumber$1(_){return typeof _=="number"?_:parseFloat(_)}const valueTypes=[...dimensionValueTypes,color$1,complex],findValueType=_=>valueTypes.find(testValueType(_)),createAxisDelta=()=>({translate:0,scale:1,origin:0,originPoint:0}),createDelta=()=>({x:createAxisDelta(),y:createAxisDelta()}),createAxis=()=>({min:0,max:0}),createBox=()=>({x:createAxis(),y:createAxis()}),prefersReducedMotion={current:null},hasReducedMotionListener={current:!1},isBrowser=typeof window<"u";function initPrefersReducedMotion(){if(hasReducedMotionListener.current=!0,!!isBrowser)if(window.matchMedia){const _=window.matchMedia("(prefers-reduced-motion)"),j=()=>prefersReducedMotion.current=_.matches;_.addEventListener("change",j),j()}else prefersReducedMotion.current=!1}const visualElementStore=new WeakMap;function isAnimationControls(_){return _!==null&&typeof _=="object"&&typeof _.start=="function"}function isVariantLabel(_){return typeof _=="string"||Array.isArray(_)}const variantPriorityOrder=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],variantProps=["initial",...variantPriorityOrder];function isControllingVariants(_){return isAnimationControls(_.animate)||variantProps.some(j=>isVariantLabel(_[j]))}function isVariantNode(_){return!!(isControllingVariants(_)||_.variants)}function updateMotionValuesFromProps(_,j,et){for(const tt in j){const rt=j[tt],nt=et[tt];if(isMotionValue(rt))_.addValue(tt,rt);else if(isMotionValue(nt))_.addValue(tt,motionValue(rt,{owner:_}));else if(nt!==rt)if(_.hasValue(tt)){const it=_.getValue(tt);it.liveStyle===!0?it.jump(rt):it.hasAnimated||it.set(rt)}else{const it=_.getStaticValue(tt);_.addValue(tt,motionValue(it!==void 0?it:rt,{owner:_}))}}for(const tt in et)j[tt]===void 0&&_.removeValue(tt);return j}const propEventHandlers=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let featureDefinitions={};function setFeatureDefinitions(_){featureDefinitions=_}function getFeatureDefinitions(){return featureDefinitions}class VisualElement{scrapeMotionValuesFromProps(j,et,tt){return{}}constructor({parent:j,props:et,presenceContext:tt,reducedMotionConfig:rt,skipAnimations:nt,blockInitialAnimation:it,visualState:st},at={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=KeyframeResolver,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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 dt=time$1.now();this.renderScheduledAt<dt&&(this.renderScheduledAt=dt,frame.render(this.render,!1,!0))};const{latestValues:ot,renderState:lt}=st;this.latestValues=ot,this.baseTarget={...ot},this.initialValues=et.initial?{...ot}:{},this.renderState=lt,this.parent=j,this.props=et,this.presenceContext=tt,this.depth=j?j.depth+1:0,this.reducedMotionConfig=rt,this.skipAnimationsConfig=nt,this.options=at,this.blockInitialAnimation=!!it,this.isControllingVariants=isControllingVariants(et),this.isVariantNode=isVariantNode(et),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(j&&j.current);const{willChange:ct,...ut}=this.scrapeMotionValuesFromProps(et,{},this);for(const dt in ut){const ht=ut[dt];ot[dt]!==void 0&&isMotionValue(ht)&&ht.set(ot[dt])}}mount(j){var et,tt;if(this.hasBeenMounted)for(const rt in this.initialValues)(et=this.values.get(rt))==null||et.jump(this.initialValues[rt]),this.latestValues[rt]=this.initialValues[rt];this.current=j,visualElementStore.set(j,this),this.projection&&!this.projection.instance&&this.projection.mount(j),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((rt,nt)=>this.bindToMotionValue(nt,rt)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(hasReducedMotionListener.current||initPrefersReducedMotion(),this.shouldReduceMotion=prefersReducedMotion.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(tt=this.parent)==null||tt.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var j;this.projection&&this.projection.unmount(),cancelFrame(this.notifyUpdate),cancelFrame(this.render),this.valueSubscriptions.forEach(et=>et()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(j=this.parent)==null||j.removeChild(this);for(const et in this.events)this.events[et].clear();for(const et in this.features){const tt=this.features[et];tt&&(tt.unmount(),tt.isMounted=!1)}this.current=null}addChild(j){this.children.add(j),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(j)}removeChild(j){this.children.delete(j),this.enteringChildren&&this.enteringChildren.delete(j)}bindToMotionValue(j,et){this.valueSubscriptions.has(j)&&this.valueSubscriptions.get(j)();const tt=transformProps.has(j);tt&&this.onBindTransform&&this.onBindTransform();const rt=et.on("change",it=>{this.latestValues[j]=it,this.props.onUpdate&&frame.preRender(this.notifyUpdate),tt&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let nt;typeof window<"u"&&window.MotionCheckAppearSync&&(nt=window.MotionCheckAppearSync(this,j,et)),this.valueSubscriptions.set(j,()=>{rt(),nt&&nt(),et.owner&&et.stop()})}sortNodePosition(j){return!this.current||!this.sortInstanceNodePosition||this.type!==j.type?0:this.sortInstanceNodePosition(this.current,j.current)}updateFeatures(){let j="animation";for(j in featureDefinitions){const et=featureDefinitions[j];if(!et)continue;const{isEnabled:tt,Feature:rt}=et;if(!this.features[j]&&rt&&tt(this.props)&&(this.features[j]=new rt(this)),this.features[j]){const nt=this.features[j];nt.isMounted?nt.update():(nt.mount(),nt.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):createBox()}getStaticValue(j){return this.latestValues[j]}setStaticValue(j,et){this.latestValues[j]=et}update(j,et){(j.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=j,this.prevPresenceContext=this.presenceContext,this.presenceContext=et;for(let tt=0;tt<propEventHandlers.length;tt++){const rt=propEventHandlers[tt];this.propEventSubscriptions[rt]&&(this.propEventSubscriptions[rt](),delete this.propEventSubscriptions[rt]);const nt="on"+rt,it=j[nt];it&&(this.propEventSubscriptions[rt]=this.on(rt,it))}this.prevMotionValues=updateMotionValuesFromProps(this,this.scrapeMotionValuesFromProps(j,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(j){return this.props.variants?this.props.variants[j]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
vendor: 7,345 bytes, line 671
671addVariantChild(j){const et=this.getClosestVariantNode();if(et)return et.variantChildren&&et.variantChildren.add(j),()=>et.variantChildren.delete(j)}addValue(j,et){const tt=this.values.get(j);et!==tt&&(tt&&this.removeValue(j),this.bindToMotionValue(j,et),this.values.set(j,et),this.latestValues[j]=et.get())}removeValue(j){this.values.delete(j);const et=this.valueSubscriptions.get(j);et&&(et(),this.valueSubscriptions.delete(j)),delete this.latestValues[j],this.removeValueFromRenderState(j,this.renderState)}hasValue(j){return this.values.has(j)}getValue(j,et){if(this.props.values&&this.props.values[j])return this.props.values[j];let tt=this.values.get(j);return tt===void 0&&et!==void 0&&(tt=motionValue(et===null?void 0:et,{owner:this}),this.addValue(j,tt)),tt}readValue(j,et){let tt=this.latestValues[j]!==void 0||!this.current?this.latestValues[j]:this.getBaseTargetFromProps(this.props,j)??this.readValueFromInstance(this.current,j,this.options);return tt!=null&&(typeof tt=="string"&&(isNumericalString(tt)||isZeroValueString(tt))?tt=parseFloat(tt):!findValueType(tt)&&complex.test(et)&&(tt=getAnimatableNone(j,et)),this.setBaseTarget(j,isMotionValue(tt)?tt.get():tt)),isMotionValue(tt)?tt.get():tt}setBaseTarget(j,et){this.baseTarget[j]=et}getBaseTarget(j){var nt;const{initial:et}=this.props;let tt;if(typeof et=="string"||typeof et=="object"){const it=resolveVariantFromProps(this.props,et,(nt=this.presenceContext)==null?void 0:nt.custom);it&&(tt=it[j])}if(et&&tt!==void 0)return tt;const rt=this.getBaseTargetFromProps(this.props,j);return rt!==void 0&&!isMotionValue(rt)?rt:this.initialValues[j]!==void 0&&tt===void 0?void 0:this.baseTarget[j]}on(j,et){return this.events[j]||(this.events[j]=new SubscriptionManager),this.events[j].add(et)}notify(j,...et){this.events[j]&&this.events[j].notify(...et)}scheduleRenderMicrotask(){microtask.render(this.render)}}class DOMVisualElement extends VisualElement{constructor(){super(...arguments),this.KeyframeResolver=DOMKeyframesResolver}sortInstanceNodePosition(j,et){return j.compareDocumentPosition(et)&2?1:-1}getBaseTargetFromProps(j,et){const tt=j.style;return tt?tt[et]:void 0}removeValueFromRenderState(j,{vars:et,style:tt}){delete et[j],delete tt[j]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:j}=this.props;isMotionValue(j)&&(this.childSubscription=j.on("change",et=>{this.current&&(this.current.textContent=`${et}`)}))}}class Feature{constructor(j){this.isMounted=!1,this.node=j}update(){}}function convertBoundingBoxToBox({top:_,left:j,right:et,bottom:tt}){return{x:{min:j,max:et},y:{min:_,max:tt}}}function convertBoxToBoundingBox({x:_,y:j}){return{top:j.min,right:_.max,bottom:j.max,left:_.min}}function transformBoxPoints(_,j){if(!j)return _;const et=j({x:_.left,y:_.top}),tt=j({x:_.right,y:_.bottom});return{top:et.y,left:et.x,bottom:tt.y,right:tt.x}}function isIdentityScale(_){return _===void 0||_===1}function hasScale({scale:_,scaleX:j,scaleY:et}){return!isIdentityScale(_)||!isIdentityScale(j)||!isIdentityScale(et)}function hasTransform(_){return hasScale(_)||has2DTranslate(_)||_.z||_.rotate||_.rotateX||_.rotateY||_.skewX||_.skewY}function has2DTranslate(_){return is2DTranslate(_.x)||is2DTranslate(_.y)}function is2DTranslate(_){return _&&_!=="0%"}function scalePoint(_,j,et){const tt=_-et,rt=j*tt;return et+rt}function applyPointDelta(_,j,et,tt,rt){return rt!==void 0&&(_=scalePoint(_,rt,tt)),scalePoint(_,et,tt)+j}function applyAxisDelta(_,j=0,et=1,tt,rt){_.min=applyPointDelta(_.min,j,et,tt,rt),_.max=applyPointDelta(_.max,j,et,tt,rt)}function applyBoxDelta(_,{x:j,y:et}){applyAxisDelta(_.x,j.translate,j.scale,j.originPoint),applyAxisDelta(_.y,et.translate,et.scale,et.originPoint)}const TREE_SCALE_SNAP_MIN=.999999999999,TREE_SCALE_SNAP_MAX=1.0000000000001;function applyTreeDeltas(_,j,et,tt=!1){const rt=et.length;if(!rt)return;j.x=j.y=1;let nt,it;for(let st=0;st<rt;st++){nt=et[st],it=nt.projectionDelta;const{visualElement:at}=nt.options;at&&at.props.style&&at.props.style.display==="contents"||(tt&&nt.options.layoutScroll&&nt.scroll&&nt!==nt.root&&transformBox(_,{x:-nt.scroll.offset.x,y:-nt.scroll.offset.y}),it&&(j.x*=it.x.scale,j.y*=it.y.scale,applyBoxDelta(_,it)),tt&&hasTransform(nt.latestValues)&&transformBox(_,nt.latestValues))}j.x<TREE_SCALE_SNAP_MAX&&j.x>TREE_SCALE_SNAP_MIN&&(j.x=1),j.y<TREE_SCALE_SNAP_MAX&&j.y>TREE_SCALE_SNAP_MIN&&(j.y=1)}function translateAxis(_,j){_.min=_.min+j,_.max=_.max+j}function transformAxis(_,j,et,tt,rt=.5){const nt=mixNumber$1(_.min,_.max,rt);applyAxisDelta(_,j,et,nt,tt)}function transformBox(_,j){transformAxis(_.x,j.x,j.scaleX,j.scale,j.originX),transformAxis(_.y,j.y,j.scaleY,j.scale,j.originY)}function measureViewportBox(_,j){return convertBoundingBoxToBox(transformBoxPoints(_.getBoundingClientRect(),j))}function measurePageBox(_,j,et){const tt=measureViewportBox(_,et),{scroll:rt}=j;return rt&&(translateAxis(tt.x,rt.offset.x),translateAxis(tt.y,rt.offset.y)),tt}const translateAlias={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},numTransforms=transformPropOrder.length;function buildTransform(_,j,et){let tt="",rt=!0;for(let nt=0;nt<numTransforms;nt++){const it=transformPropOrder[nt],st=_[it];if(st===void 0)continue;let at=!0;if(typeof st=="number")at=st===(it.startsWith("scale")?1:0);else{const ot=parseFloat(st);at=it.startsWith("scale")?ot===1:ot===0}if(!at||et){const ot=getValueAsType(st,numberValueTypes[it]);if(!at){rt=!1;const lt=translateAlias[it]||it;tt+=`${lt}(${ot}) `}et&&(j[it]=ot)}}return tt=tt.trim(),et?tt=et(j,rt?"":tt):rt&&(tt="none"),tt}function buildHTMLStyles(_,j,et){const{style:tt,vars:rt,transformOrigin:nt}=_;let it=!1,st=!1;for(const at in j){const ot=j[at];if(transformProps.has(at)){it=!0;continue}else if(isCSSVariableName(at)){rt[at]=ot;continue}else{const lt=getValueAsType(ot,numberValueTypes[at]);at.startsWith("origin")?(st=!0,nt[at]=lt):tt[at]=lt}}if(j.transform||(it||et?tt.transform=buildTransform(j,_.transform,et):tt.transform&&(tt.transform="none")),st){const{originX:at="50%",originY:ot="50%",originZ:lt=0}=nt;tt.transformOrigin=`${at} ${ot} ${lt}`}}function renderHTML(_,{style:j,vars:et},tt,rt){const nt=_.style;let it;for(it in j)nt[it]=j[it];rt==null||rt.applyProjectionStyles(nt,tt);for(it in et)nt.setProperty(it,et[it])}function pixelsToPercent(_,j){return j.max===j.min?0:_/(j.max-j.min)*100}const correctBorderRadius={correct:(_,j)=>{if(!j.target)return _;if(typeof _=="string")if(px.test(_))_=parseFloat(_);else return _;const et=pixelsToPercent(_,j.target.x),tt=pixelsToPercent(_,j.target.y);return`${et}% ${tt}%`}},correctBoxShadow={correct:(_,{treeScale:j,projectionDelta:et})=>{const tt=_,rt=complex.parse(_);if(rt.length>5)return tt;const nt=complex.createTransformer(_),it=typeof rt[0]!="number"?1:0,st=et.x.scale*j.x,at=et.y.scale*j.y;rt[0+it]/=st,rt[1+it]/=at;const ot=mixNumber$1(st,at,.5);return typeof rt[2+it]=="number"&&(rt[2+it]/=ot),typeof rt[3+it]=="number"&&(rt[3+it]/=ot),nt(rt)}},scaleCorrectors={borderRadius:{...correctBorderRadius,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:correctBorderRadius,borderTopRightRadius:correctBorderRadius,borderBottomLeftRadius:correctBorderRadius,borderBottomRightRadius:correctBorderRadius,boxSh
671adow:correctBoxShadow};function isForcedMotionValue(_,{layout:j,layoutId:et}){return transformProps.has(_)||_.startsWith("origin")||(j||et!==void 0)&&(!!scaleCorrectors[_]||_==="opacity")}function scrapeMotionValuesFromProps$1(_,j,et){var it;const tt=_.style,rt=j==null?void 0:j.style,nt={};if(!tt)return nt;for(const st in tt)(isMotionValue(tt[st])||rt&&isMotionValue(rt[st])||isForcedMotionValue(st,_)||((it=et==null?void 0:et.getValue(st))==null?void 0:it.liveStyle)!==void 0)&&(nt[st]=tt[st]);return nt}function getComputedStyle$1(_){return window.getComputedStyle(_)}class HTMLVisualElement extends DOMVisualElement{constructor(){super(...arguments),this.type="html",this.renderInstance=renderHTML}readValueFromInstance(j,et){var tt;if(transformProps.has(et))return(tt=this.projection)!=null&&tt.isProjecting?defaultTransformValue(et):readTransformValue(j,et);{const rt=getComputedStyle$1(j),nt=(isCSSVariableName(et)?rt.getPropertyValue(et):rt[et])||0;return typeof nt=="string"?nt.trim():nt}}measureInstanceViewportBox(j,{transformPagePoint:et}){return measureViewportBox(j,et)}build(j,et,tt){buildHTMLStyles(j,et,tt.transformTemplate)}scrapeMotionValuesFromProps(j,et,tt){return scrapeMotionValuesFromProps$1(j,et,tt)}}const dashKeys={offset:"stroke-dashoffset",array:"stroke-dasharray"},camelKeys={offset:"strokeDashoffset",array:"strokeDasharray"};function buildSVGPath(_,j,et=1,tt=0,rt=!0){_.pathLength=1;const nt=rt?dashKeys:camelKeys;_[nt.offset]=`${-tt}`,_[nt.array]=`${j} ${et}`}const cssMotionPathProperties=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function buildSVGAttrs(_,{attrX:j,attrY:et,attrScale:tt,pathLength:rt,pathSpacing:nt=1,pathOffset:it=0,...st},at,ot,lt){if(buildHTMLStyles(_,st,ot),at){_.style.viewBox&&(_.attrs.viewBox=_.style.viewBox);return}_.attrs=_.style,_.style={};const{attrs:ct,style:ut}=_;ct.transform&&(ut.transform=ct.transform,delete ct.transform),(ut.transform||ct.transformOrigin)&&(ut.transformOrigin=ct.transformOrigin??"50% 50%",delete ct.transformOrigin),ut.transform&&(ut.transformBox=(lt==null?void 0:lt.transformBox)??"fill-box",delete ct.transformBox);for(const dt of cssMotionPathProperties)ct[dt]!==void 0&&(ut[dt]=ct[dt],delete ct[dt]);j!==void 0&&(ct.x=j),et!==void 0&&(ct.y=et),tt!==void 0&&(ct.scale=tt),rt!==void 0&&buildSVGPath(ct,rt,nt,it,!1)}const camelCaseAttributes=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"]),isSVGTag=_=>typeof _=="string"&&_.toLowerCase()==="svg";
vendor: 8,246 bytes, line 671
671function renderSVG(_,j,et,tt){renderHTML(_,j,void 0,tt);for(const rt in j.attrs)_.setAttribute(camelCaseAttributes.has(rt)?rt:camelToDash(rt),j.attrs[rt])}function scrapeMotionValuesFromProps(_,j,et){const tt=scrapeMotionValuesFromProps$1(_,j,et);for(const rt in _)if(isMotionValue(_[rt])||isMotionValue(j[rt])){const nt=transformPropOrder.indexOf(rt)!==-1?"attr"+rt.charAt(0).toUpperCase()+rt.substring(1):rt;tt[nt]=_[rt]}return tt}class SVGVisualElement extends DOMVisualElement{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=createBox}getBaseTargetFromProps(j,et){return j[et]}readValueFromInstance(j,et){if(transformProps.has(et)){const tt=getDefaultValueType(et);return tt&&tt.default||0}return et=camelCaseAttributes.has(et)?et:camelToDash(et),j.getAttribute(et)}scrapeMotionValuesFromProps(j,et,tt){return scrapeMotionValuesFromProps(j,et,tt)}build(j,et,tt){buildSVGAttrs(j,et,this.isSVGTag,tt.transformTemplate,tt.style)}renderInstance(j,et,tt,rt){renderSVG(j,et,tt,rt)}mount(j){this.isSVGTag=isSVGTag(j.tagName),super.mount(j)}}const numVariantProps=variantProps.length;function getVariantContext(_){if(!_)return;if(!_.isControllingVariants){const et=_.parent?getVariantContext(_.parent)||{}:{};return _.props.initial!==void 0&&(et.initial=_.props.initial),et}const j={};for(let et=0;et<numVariantProps;et++){const tt=variantProps[et],rt=_.props[tt];(isVariantLabel(rt)||rt===!1)&&(j[tt]=rt)}return j}function shallowCompare(_,j){if(!Array.isArray(j))return!1;const et=j.length;if(et!==_.length)return!1;for(let tt=0;tt<et;tt++)if(j[tt]!==_[tt])return!1;return!0}const reversePriorityOrder=[...variantPriorityOrder].reverse(),numAnimationTypes=variantPriorityOrder.length;function createAnimateFunction(_){return j=>Promise.all(j.map(({animation:et,options:tt})=>animateVisualElement(_,et,tt)))}function createAnimationState(_){let j=createAnimateFunction(_),et=createState(),tt=!0;const rt=at=>(ot,lt)=>{var ut;const ct=resolveVariant(_,lt,at==="exit"?(ut=_.presenceContext)==null?void 0:ut.custom:void 0);if(ct){const{transition:dt,transitionEnd:ht,...pt}=ct;ot={...ot,...pt,...ht}}return ot};function nt(at){j=at(_)}function it(at){const{props:ot}=_,lt=getVariantContext(_.parent)||{},ct=[],ut=new Set;let dt={},ht=1/0;for(let gt=0;gt<numAnimationTypes;gt++){const ft=reversePriorityOrder[gt],mt=et[ft],xt=ot[ft]!==void 0?ot[ft]:lt[ft],yt=isVariantLabel(xt),vt=ft===at?mt.isActive:null;vt===!1&&(ht=gt);let bt=xt===lt[ft]&&xt!==ot[ft]&&yt;if(bt&&tt&&_.manuallyAnimateOnMount&&(bt=!1),mt.protectedKeys={...dt},!mt.isActive&&vt===null||!xt&&!mt.prevProp||isAnimationControls(xt)||typeof xt=="boolean")continue;const Et=checkVariantsDidChange(mt.prevProp,xt);let _t=Et||ft===at&&mt.isActive&&!bt&&yt||gt>ht&&yt,wt=!1;const Rt=Array.isArray(xt)?xt:[xt];let Ct=Rt.reduce(rt(ft),{});vt===!1&&(Ct={});const{prevResolvedValues:jt={}}=mt,Dt={...jt,...Ct},It=Tt=>{_t=!0,ut.has(Tt)&&(wt=!0,ut.delete(Tt)),mt.needsAnimating[Tt]=!0;const kt=_.getValue(Tt);kt&&(kt.liveStyle=!1)};for(const Tt in Dt){const kt=Ct[Tt],St=jt[Tt];if(dt.hasOwnProperty(Tt))continue;let Pt=!1;isKeyframesTarget(kt)&&isKeyframesTarget(St)?Pt=!shallowCompare(kt,St):Pt=kt!==St,Pt?kt!=null?It(Tt):ut.add(Tt):kt!==void 0&&ut.has(Tt)?It(Tt):mt.protectedKeys[Tt]=!0}mt.prevProp=xt,mt.prevResolvedValues=Ct,mt.isActive&&(dt={...dt,...Ct}),tt&&_.blockInitialAnimation&&(_t=!1);const Ot=bt&&Et;_t&&(!Ot||wt)&&ct.push(...Rt.map(Tt=>{const kt={type:ft};if(typeof Tt=="string"&&tt&&!Ot&&_.manuallyAnimateOnMount&&_.parent){const{parent:St}=_,Pt=resolveVariant(St,Tt);if(St.enteringChildren&&Pt){const{delayChildren:$t}=Pt.transition||{};kt.delay=calcChildStagger(St.enteringChildren,_,$t)}}return{animation:Tt,options:kt}}))}if(ut.size){const gt={};if(typeof ot.initial!="boolean"){const ft=resolveVariant(_,Array.isArray(ot.initial)?ot.initial[0]:ot.initial);ft&&ft.transition&&(gt.transition=ft.transition)}ut.forEach(ft=>{const mt=_.getBaseTarget(ft),xt=_.getValue(ft);xt&&(xt.liveStyle=!0),gt[ft]=mt??null}),ct.push({animation:gt})}let pt=!!ct.length;return tt&&(ot.initial===!1||ot.initial===ot.animate)&&!_.manuallyAnimateOnMount&&(pt=!1),tt=!1,pt?j(ct):Promise.resolve()}function st(at,ot){var ct;if(et[at].isActive===ot)return Promise.resolve();(ct=_.variantChildren)==null||ct.forEach(ut=>{var dt;return(dt=ut.animationState)==null?void 0:dt.setActive(at,ot)}),et[at].isActive=ot;const lt=it(at);for(const ut in et)et[ut].protectedKeys={};return lt}return{animateChanges:it,setActive:st,setAnimateFunction:nt,getState:()=>et,reset:()=>{et=createState()}}}function checkVariantsDidChange(_,j){return typeof j=="string"?j!==_:Array.isArray(j)?!shallowCompare(j,_):!1}function createTypeState(_=!1){return{isActive:_,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function createState(){return{animate:createTypeState(!0),whileInView:createTypeState(),whileHover:createTypeState(),whileTap:createTypeState(),whileDrag:createTypeState(),whileFocus:createTypeState(),exit:createTypeState()}}function copyAxisInto(_,j){_.min=j.min,_.max=j.max}function copyBoxInto(_,j){copyAxisInto(_.x,j.x),copyAxisInto(_.y,j.y)}function copyAxisDeltaInto(_,j){_.translate=j.translate,_.scale=j.scale,_.originPoint=j.originPoint,_.origin=j.origin}const SCALE_PRECISION=1e-4,SCALE_MIN=1-SCALE_PRECISION,SCALE_MAX=1+SCALE_PRECISION,TRANSLATE_PRECISION=.01,TRANSLATE_MIN=0-TRANSLATE_PRECISION,TRANSLATE_MAX=0+TRANSLATE_PRECISION;function calcLength(_){return _.max-_.min}function isNear(_,j,et){return Math.abs(_-j)<=et}function calcAxisDelta(_,j,et,tt=.5){_.origin=tt,_.originPoint=mixNumber$1(j.min,j.max,_.origin),_.scale=calcLength(et)/calcLength(j),_.translate=mixNumber$1(et.min,et.max,_.origin)-_.originPoint,(_.scale>=SCALE_MIN&&_.scale<=SCALE_MAX||isNaN(_.scale))&&(_.scale=1),(_.translate>=TRANSLATE_MIN&&_.translate<=TRANSLATE_MAX||isNaN(_.translate))&&(_.translate=0)}function calcBoxDelta(_,j,et,tt){calcAxisDelta(_.x,j.x,et.x,tt?tt.originX:void 0),calcAxisDelta(_.y,j.y,et.y,tt?tt.originY:void 0)}function calcRelativeAxis(_,j,et){_.min=et.min+j.min,_.max=_.min+calcLength(j)}function calcRelativeBox(_,j,et){calcRelativeAxis(_.x,j.x,et.x),calcRelativeAxis(_.y,j.y,et.y)}function calcRelativeAxisPosition(_,j,et){_.min=j.min-et.min,_.max=_.min+calcLength(j)}function calcRelativePosition(_,j,et){calcRelativeAxisPosition(_.x,j.x,et.x),calcRelativeAxisPosition(_.y,j.y,et.y)}function removePointDelta(_,j,et,tt,rt){return _-=j,_=scalePoint(_,1/et,tt),rt!==void 0&&(_=scalePoint(_,1/rt,tt)),_}function removeAxisDelta(_,j=0,et=1,tt=.5,rt,nt=_,it=_){if(percent.test(j)&&(j=parseFloat(j),j=mixNumber$1(it.min,it.max,j/100)-it.min),typeof j!="number")return;let st=mixNumber$1(nt.min,nt.max,tt);_===nt&&(st-=j),_.min=removePointDelta(_.min,j,et,st,rt),_.max=removePointDelta(_.max,j,et,st,rt)}function removeAxisTransforms(_,j,[et,tt,rt],nt,it){removeAxisDelta(_,j[et],j[tt],j[rt],j.scale,nt,it)}const xKeys=["x","scaleX","originX"],yKeys=["y","scaleY","originY"];function removeBoxTransforms(_,j,et,tt){removeAxisTransforms(_.x,j,xKeys,et?et.x:void 0,tt?tt.x:void 0),removeAxisTransforms(_.y,j,yKeys,et?et.y:void 0,tt?tt.y:void 0)}function isAxisDeltaZero(_){return _.translate===0&&_.scale===1}function isDeltaZero(_){return isAxisDeltaZero(_.x)&&isAxisDeltaZero(_.y)}function axisEquals(_,j){return _.min===j.min&&_.max===j.max}function boxEquals(_,j){return axisEquals(_.x,j.x)&&axisEquals(_.y,j.y)}function axisEqualsRounded(_,j){return Math.round(_.min)===Math.round(j.min)&&Math.round(_.max)===Math.round(j.max)}function boxEqualsRounded(_,j){return axisEqualsRounded(_.x,j.x)&&axisEqualsRounded(_.y,j.y)}function aspectRatio(_){return calcLength(_.x)/calcLength(_.y)}function axisDeltaEquals(_,j){return _.translate===j.translate&&_.scale===j.scale&&_.originPoint===j.originPoint}function eachAxis(_){return[_("x"),_("y")]}function buildProjectionTransform(_,j,et){let tt="";const rt=_.x.translate/j.x,nt=_.y.translate/j.y,it=(et==null?void 0:et.z)||0;if((rt||nt||it)&&(tt=`translate3d(${rt}px, ${nt}px, ${it}px) `),(j.x!==1||j.y!==1)&&(tt+=`scale(${1/j.x}, ${1/j.y}) `),et){const{transformPerspective:ot,rotate:lt,rotateX:ct,rotateY:ut,skewX:dt,skewY:ht}=et;ot&&(tt=`perspective(${ot}px) ${tt}`),lt&&(tt+=`rotate(${lt}
671deg) `),ct&&(tt+=`rotateX(${ct}deg) `),ut&&(tt+=`rotateY(${ut}deg) `),dt&&(tt+=`skewX(${dt}deg) `),ht&&(tt+=`skewY(${ht}deg) `)}const st=_.x.scale*j.x,at=_.y.scale*j.y;return(st!==1||at!==1)&&(tt+=`scale(${st}, ${at})`),tt||"none"}const borders=["TopLeft","TopRight","BottomLeft","BottomRight"],numBorders=borders.length,asNumber=_=>typeof _=="string"?parseFloat(_):_,isPx=_=>typeof _=="number"||px.test(_);function mixValues(_,j,et,tt,rt,nt){rt?(_.opacity=mixNumber$1(0,et.opacity??1,easeCrossfadeIn(tt)),_.opacityExit=mixNumber$1(j.opacity??1,0,easeCrossfadeOut(tt))):nt&&(_.opacity=mixNumber$1(j.opacity??1,et.opacity??1,tt));for(let it=0;it<numBorders;it++){const st=`border${borders[it]}Radius`;let at=getRadius(j,st),ot=getRadius(et,st);if(at===void 0&&ot===void 0)continue;at||(at=0),ot||(ot=0),at===0||ot===0||isPx(at)===isPx(ot)?(_[st]=Math.max(mixNumber$1(asNumber(at),asNumber(ot),tt),0),(percent.test(ot)||percent.test(at))&&(_[st]+="%")):_[st]=ot}(j.rotate||et.rotate)&&(_.rotate=mixNumber$1(j.rotate||0,et.rotate||0,tt))}function getRadius(_,j){return _[j]!==void 0?_[j]:_.borderRadius}const easeCrossfadeIn=compress(0,.5,circOut),easeCrossfadeOut=compress(.5,.95,noop$5);function compress(_,j,et){return tt=>tt<_?0:tt>j?1:et(progress(_,j,tt))}function animateSingleValue(_,j,et){const tt=isMotionValue(_)?_:motionValue(_);return tt.start(animateMotionValue("",tt,j,et)),tt.animation}function addDomEvent(_,j,et,tt={passive:!0}){return _.addEventListener(j,et,tt),()=>_.removeEventListener(j,et)}const compareByDepth=(_,j)=>_.depth-j.depth;class FlatTree{constructor(){this.children=[],this.isDirty=!1}add(j){addUniqueItem(this.children,j),this.isDirty=!0}remove(j){removeItem(this.children,j),this.isDirty=!0}forEach(j){this.isDirty&&this.children.sort(compareByDepth),this.isDirty=!1,this.children.forEach(j)}}function delay(_,j){const et=time$1.now(),tt=({timestamp:rt})=>{const nt=rt-et;nt>=j&&(cancelFrame(tt),_(nt-j))};return frame.setup(tt,!0),()=>cancelFrame(tt)}function resolveMotionValue(_){return isMotionValue(_)?_.get():_}class NodeStack{constructor(){this.members=[]}add(j){addUniqueItem(this.members,j),j.scheduleRender()}remove(j){if(removeItem(this.members,j),j===this.prevLead&&(this.prevLead=void 0),j===this.lead){const et=this.members[this.members.length-1];et&&this.promote(et)}}relegate(j){const et=this.members.findIndex(rt=>j===rt);if(et===0)return!1;let tt;for(let rt=et;rt>=0;rt--){const nt=this.members[rt];if(nt.isPresent!==!1){tt=nt;break}}return tt?(this.promote(tt),!0):!1}promote(j,et){const tt=this.lead;if(j!==tt&&(this.prevLead=tt,this.lead=j,j.show(),tt)){tt.instance&&tt.scheduleRender(),j.scheduleRender();const rt=tt.options.layoutDependency,nt=j.options.layoutDependency;rt!==void 0&&nt!==void 0&&rt===nt||(j.resumeFrom=tt,et&&(j.resumeFrom.preserveOpacity=!0),tt.snapshot&&(j.snapshot=tt.snapshot,j.snapshot.latestValues=tt.animationValues||tt.latestValues),j.root&&j.root.isUpdating&&(j.isLayoutDirty=!0));const{crossfade:st}=j.options;st===!1&&tt.hide()}}exitAnimationComplete(){this.members.forEach(j=>{const{options:et,resumingFrom:tt}=j;et.onExitComplete&&et.onExitComplete(),tt&&tt.options.onExitComplete&&tt.options.onExitComplete()})}scheduleRender(){this.members.forEach(j=>{j.instance&&j.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const globalProjectionState={hasAnimatedSinceResize:!0,hasEverUpdated:!1},transformAxes=["","X","Y","Z"],animationTarget=1e3;let id$1=0;function resetDistortingTransform(_,j,et,tt){const{latestValues:rt}=j;rt[_]&&(et[_]=rt[_],j.setStaticValue(_,0),tt&&(tt[_]=0))}function cancelTreeOptimisedTransformAnimations(_){if(_.hasCheckedOptimisedAppear=!0,_.root===_)return;const{visualElement:j}=_.options;if(!j)return;const et=getOptimisedAppearId(j);if(window.MotionHasOptimisedAnimation(et,"transform")){const{layout:rt,layoutId:nt}=_.options;window.MotionCancelOptimisedAnimation(et,"transform",frame,!(rt||nt))}const{parent:tt}=_;tt&&!tt.hasCheckedOptimisedAppear&&cancelTreeOptimisedTransformAnimations(tt)}function createProjectionNode$1({attachResizeListener:_,defaultParent:j,measureScroll:et,checkIsScrollRoot:tt,resetTransform:rt}){return class{constructor(it={},st=j==null?void 0:j()){this.id=id$1++,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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
vendor: 19,525 bytes, line 671
671{this.projectionUpdateScheduled=!1,this.nodes.forEach(propagateDirtyNodes),this.nodes.forEach(resolveTargetDelta),this.nodes.forEach(calcProjection),this.nodes.forEach(cleanDirtyNodes)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=it,this.root=st?st.root||st:this,this.path=st?[...st.path,st]:[],this.parent=st,this.depth=st?st.depth+1:0;for(let at=0;at<this.path.length;at++)this.path[at].shouldResetTransform=!0;this.root===this&&(this.nodes=new FlatTree)}addEventListener(it,st){return this.eventHandlers.has(it)||this.eventHandlers.set(it,new SubscriptionManager),this.eventHandlers.get(it).add(st)}notifyListeners(it,...st){const at=this.eventHandlers.get(it);at&&at.notify(...st)}hasListeners(it){return this.eventHandlers.has(it)}mount(it){if(this.instance)return;this.isSVG=isSVGElement(it)&&!isSVGSVGElement(it),this.instance=it;const{layoutId:st,layout:at,visualElement:ot}=this.options;if(ot&&!ot.current&&ot.mount(it),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(at||st)&&(this.isLayoutDirty=!0),_){let lt,ct=0;const ut=()=>this.root.updateBlockedByResize=!1;frame.read(()=>{ct=window.innerWidth}),_(it,()=>{const dt=window.innerWidth;dt!==ct&&(ct=dt,this.root.updateBlockedByResize=!0,lt&<(),lt=delay(ut,250),globalProjectionState.hasAnimatedSinceResize&&(globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(finishAnimation)))})}st&&this.root.registerSharedNode(st,this),this.options.animate!==!1&&ot&&(st||at)&&this.addEventListener("didUpdate",({delta:lt,hasLayoutChanged:ct,hasRelativeLayoutChanged:ut,layout:dt})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const ht=this.options.transition||ot.getDefaultTransition()||defaultLayoutTransition,{onLayoutAnimationStart:pt,onLayoutAnimationComplete:gt}=ot.getProps(),ft=!this.targetLayout||!boxEqualsRounded(this.targetLayout,dt),mt=!ct&&ut;if(this.options.layoutRoot||this.resumeFrom||mt||ct&&(ft||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const xt={...getValueTransition(ht,"layout"),onPlay:pt,onComplete:gt};(ot.shouldReduceMotion||this.options.layoutRoot)&&(xt.delay=0,xt.type=!1),this.startAnimation(xt),this.setAnimationOrigin(lt,mt)}else ct||finishAnimation(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=dt})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const it=this.getStack();it&&it.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),cancelFrame(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(resetSkewAndRotation),this.animationId++)}getTransformTemplate(){const{visualElement:it}=this.options;return it&&it.getProps().transformTemplate}willUpdate(it=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&cancelTreeOptimisedTransformAnimations(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let lt=0;lt<this.path.length;lt++){const ct=this.path[lt];ct.shouldResetTransform=!0,ct.updateScroll("snapshot"),ct.options.layoutRoot&&ct.willUpdate(!1)}const{layoutId:st,layout:at}=this.options;if(st===void 0&&!at)return;const ot=this.getTransformTemplate();this.prevTransformTemplateValue=ot?ot(this.latestValues,""):void 0,this.updateSnapshot(),it&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(clearMeasurements);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(clearIsLayoutDirty);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(resetTransformStyle),this.nodes.forEach(updateLayout),this.nodes.forEach(notifyLayoutUpdate)):this.nodes.forEach(clearIsLayoutDirty),this.clearAllSnapshots();const st=time$1.now();frameData.delta=clamp$3(0,1e3/60,st-frameData.timestamp),frameData.timestamp=st,frameData.isProcessing=!0,frameSteps.update.process(frameData),frameSteps.preRender.process(frameData),frameSteps.render.process(frameData),frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(clearSnapshot),this.sharedNodes.forEach(removeLeadSnapshots)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!calcLength(this.snapshot.measuredBox.x)&&!calcLength(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 at=0;at<this.path.length;at++)this.path[at].updateScroll();const it=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=createBox(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:st}=this.options;st&&st.notify("LayoutMeasure",this.layout.layoutBox,it?it.layoutBox:void 0)}updateScroll(it="measure"){let st=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===it&&(st=!1),st&&this.instance){const at=tt(this.instance);this.scroll={animationId:this.root.animationId,phase:it,isRoot:at,offset:et(this.instance),wasRoot:this.scroll?this.scroll.isRoot:at}}}resetTransform(){if(!rt)return;const it=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,st=this.projectionDelta&&!isDeltaZero(this.projectionDelta),at=this.getTransformTemplate(),ot=at?at(this.latestValues,""):void 0,lt=ot!==this.prevTransformTemplateValue;it&&this.instance&&(st||hasTransform(this.latestValues)||lt)&&(rt(this.instance,ot),this.shouldResetTransform=!1,this.scheduleRender())}measure(it=!0){const st=this.measurePageBox();let at=this.removeElementScroll(st);return it&&(at=this.removeTransform(at)),roundBox(at),{animationId:this.root.animationId,measuredBox:st,layoutBox:at,latestValues:{},source:this.id}}measurePageBox(){var ot;const{visualElement:it}=this.options;if(!it)return createBox();const st=it.measureViewportBox();if(!(((ot=this.scroll)==null?void 0:ot.wasRoot)||this.path.some(checkNodeWasScrollRoot))){const{scroll:lt}=this.root;lt&&(translateAxis(st.x,lt.offset.x),translateAxis(st.y,lt.offset.y))}return st}removeElementScroll(it){var at;const st=createBox();if(copyBoxInto(st,it),(at=this.scroll)!=null&&at.wasRoot)return st;for(let ot=0;ot<this.path.length;ot++){const lt=this.path[ot],{scroll:ct,options:ut}=lt;lt!==this.root&&ct&&ut.layoutScroll&&(ct.wasRoot&©BoxInto(st,it),translateAxis(st.x,ct.offset.x),translateAxis(st.y,ct.offset.y))}return st}applyTransform(it,st=!1){const at=createBox();copyBoxInto(at,it);for(let ot=0;ot<this.path.length;ot++){const lt=this.path[ot];!st&<.options.layoutScroll&<.scroll&<!==lt.root&&transformBox(at,{x:-lt.scroll.offset.x,y:-lt.scroll.offset.y}),hasTransform(lt.latestValues)&&transformBox(at,lt.latestValues)}return hasTransform(this.latestValues)&&transformBox(at,this.latestValues),at}removeTransform(it){const st=createBox();copyBoxInto(st,it);for(let at=0;at<this.path.length;at++){const ot=this.path[at];if(!ot.instance||!hasTransform(ot.latestValues))continue;hasScale(ot.latestValues)&&ot.updateSnapshot();const lt=createBox(),ct=ot.measurePageBox();copyBoxInto(lt,ct),removeBoxTransforms(st,ot.latestValues,ot.snapshot?ot.snapshot.layoutBox:void 0,lt)}return hasTransform(this.latestValues)&&removeBoxTransforms(st,this.latestValues),st}setTargetDelta(it){this.targetDelta=it,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(it){this.options={...this.options,...it,crossfade:it.crossfade!==void 0?it.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!==frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(it=!1){var dt;const st=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=st.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=st.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=st.isSharedProjectionDirty);const at=!!this.resumingFrom||this!==st;if(!(it||at&&this.isSharedProjectionDirty||this.isProjectionDirty||(dt=this.parent)!=null&&dt.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:lt,layoutId:ct}=this.options;if(!this.layout||!(lt||ct))return;this.resolvedRelativeTargetAt=frameData.timestamp;const ut=this.getClosestProjectingParent();ut&&this.linkedParentVersion!==ut.layoutVersion&&!ut.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(ut&&ut.layout?this.createRelativeTarget(ut,this.layout.layoutBox,ut.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=createBox(),this.targetWithTransforms=createBox()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),calcRelativeBox(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):copyBoxInto(this.target,this.layout.layoutBox),applyBoxDelta(this.target,this.targetDelta)):copyBoxInto(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,ut&&!!ut.resumingFrom==!!this.resumingFrom&&!ut.options.layoutScroll&&ut.target&&this.animationProgress!==1?this.createRelativeTarget(ut,this.target,ut.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||hasScale(this.parent.latestValues)||has2DTranslate(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(it,st,at){this.relativeParent=it,this.linkedParentVersion=it.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=createBox(),this.relativeTargetOrigin=createBox(),calcRelativePosition(this.relativeTargetOrigin,st,at),copyBoxInto(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var ht;const it=this.getLead(),st=!!this.resumingFrom||this!==it;let at=!0;if((this.isProjectionDirty||(ht=this.parent)!=null&&ht.isProjectionDirty)&&(at=!1),st&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(at=!1),this.resolvedRelativeTargetAt===frameData.timestamp&&(at=!1),at)return;const{layout:ot,layoutId:lt}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(ot||lt))return;copyBoxInto(this.layoutCorrected,this.layout.layoutBox);const ct=this.treeScale.x,ut=this.treeScale.y;applyTreeDeltas(this.layoutCorrected,this.treeScale,this.path,st),it.layout&&!it.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(it.target=it.layout.layoutBox,it.targetWithTransforms=createBox());const{target:dt}=it;if(!dt){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(copyAxisDeltaInto(this.prevProjectionDelta.x,this.projectionDelta.x),copyAxisDeltaInto(this.prevProjectionDelta.y,this.projectionDelta.y)),calcBoxDelta(this.projectionDelta,this.layoutCorrected,dt,this.latestValues),(this.treeScale.x!==ct||this.treeScale.y!==ut||!axisDeltaEquals(this.projectionDelta.x,this.prevProjectionDelta.x)||!axisDeltaEquals(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",dt))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(it=!0){var st;if((st=this.options.visualElement)==null||st.scheduleRender(),it){const at=this.getStack();at&&at.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=createDelta(),this.projectionDelta=createDelta(),this.projectionDeltaWithTransform=createDelta()}setAnimationOrigin(it,st=!1){const at=this.snapshot,ot=at?at.latestValues:{},lt={...this.latestValues},ct=createDelta();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!st;const ut=createBox(),dt=at?at.source:void 0,ht=this.layout?this.layout.source:void 0,pt=dt!==ht,gt=this.getStack(),ft=!gt||gt.members.length<=1,mt=!!(pt&&!ft&&this.options.crossfade===!0&&!this.path.some(hasOpacityCrossfade));this.animationProgress=0;let xt;this.mixTargetDelta=yt=>{const vt=yt/1e3;mixAxisDelta(ct.x,it.x,vt),mixAxisDelta(ct.y,it.y,vt),this.setTargetDelta(ct),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(calcRelativePosition(ut,this.layout.layoutBox,this.relativeParent.layout.layoutBox),mixBox(this.relativeTarget,this.relativeTargetOrigin,ut,vt),xt&&boxEquals(this.relativeTarget,xt)&&(this.isProjectionDirty=!1),xt||(xt=createBox()),copyBoxInto(xt,this.relativeTarget)),pt&&(this.animationValues=lt,mixValues(lt,ot,this.latestValues,vt,mt,ft)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=vt},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(it){var st,at,ot;this.notifyListeners("animationStart"),(st=this.currentAnimation)==null||st.stop(),(ot=(at=this.resumingFrom)==null?void 0:at.currentAnimation)==null||ot.stop(),this.pendingAnimation&&(cancelFrame(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=frame.update(()=>{globalProjectionState.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=motionValue(0)),this.currentAnimation=animateSingleValue(this.motionValue,[0,1e3],{...it,velocity:0,isSync:!0,onUpdate:lt=>{this.mixTargetDelta(lt),it.onUpdate&&it.onUpdate(lt)},onStop:()=>{},onComplete:()=>{it.onComplete&&it.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 it=this.getStack();it&&it.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(animationTarget),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const it=this.getLead();let{targetWithTransforms:st,target:at,layout:ot,latestValues:lt}=it;if(!(!st||!at||!ot)){if(this!==it&&this.layout&&ot&&shouldAnimatePositionOnly(this.options.animationType,this.layout.layoutBox,ot.layoutBox)){at=this.target||createBox();const ct=calcLength(this.layout.layoutBox.x);at.x.min=it.target.x.min,at.x.max=at.x.min+ct;const ut=calcLength(this.layout.layoutBox.y);at.y.min=it.target.y.min,at.y.max=at.y.min+ut}copyBoxInto(st,at),transformBox(st,lt),calcBoxDelta(this.projectionDeltaWithTransform,this.layoutCorrected,st,lt)}}registerSharedNode(it,st){this.sharedNodes.has(it)||this.sharedNodes.set(it,new NodeStack),this.sharedNodes.get(it).add(st);const ot=st.options.initialPromotionConfig;st.promote({transition:ot?ot.transition:void 0,preserveFollowOpacity:ot&&ot.shouldPreserveFollowOpacity?ot.shouldPreserveFollowOpacity(st):void 0})}isLead(){const it=this.getStack();return it?it.lead===this:!0}getLead(){var st;const{layoutId:it}=this.options;return it?((st=this.getStack())==null?void 0:st.lead)||this:this}getPrevLead(){var st;const{layoutId:it}=this.options;return it?(st=this.getStack())==null?void 0:st.prevLead:void 0}getStack(){const{layoutId:it}=this.options;if(it)return this.root.sharedNodes.get(it)}promote({needsReset:it,transition:st,preserveFollowOpacity:at}={}){const ot=this.getStack();ot&&ot.promote(this,at),it&&(this.projectionDelta=void 0,this.needsReset=!0),st&&this.setOptions({transition:st})}relegate(){const it=this.getStack();return it?it.relegate(this):!1}resetSkewAndRotation(){const{visualElement:it}=this.options;if(!it)return;let st=!1;const{latestValues:at}=it;if((at.z||at.rotate||at.rotateX||at.rotateY||at.rotateZ||at.skewX||at.skewY)&&(st=!0),!st)return;const ot={};at.z&&resetDistortingTransform("z",it,ot,this.animationValues);for(let lt=0;lt<transformAxes.length;lt++)resetDistortingTransform(`rotate${transformAxes[lt]}`,it,ot,this.animationValues),resetDistortingTransform(`skew${transformAxes[lt]}`,it,ot,this.animationValues);it.render();for(const lt in ot)it.setStaticValue(lt,ot[lt]),this.animationValues&&(this.animationValues[lt]=ot[lt]);it.scheduleRender()}applyProjectionStyles(it,st){if(!this.instance||this.isSVG)return;if(!this.isVisible){it.visibility="hidden";return}const at=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,it.visibility="",it.opacity="",it.pointerEvents=resolveMotionValue(st==null?void 0:st.pointerEvents)||"",it.transform=at?at(this.latestValues,""):"none";return}const ot=this.getLead();if(!this.projectionDelta||!this.layout||!ot.target){this.options.layoutId&&(it.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,it.pointerEvents=resolveMotionValue(st==null?void 0:st.pointerEvents)||""),this.hasProjected&&!hasTransform(this.latestValues)&&(it.transform=at?at({},""):"none",this.hasProjected=!1);return}it.visibility="";const lt=ot.animationValues||ot.latestValues;this.applyTransformsToTarget();let ct=buildProjectionTransform(this.projectionDeltaWithTransform,this.treeScale,lt);at&&(ct=at(lt,ct)),it.transform=ct;const{x:ut,y:dt}=this.projectionDelta;it.transformOrigin=`${ut.origin*100}% ${dt.origin*100}% 0`,ot.animationValues?it.opacity=ot===this?lt.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:lt.opacityExit:it.opacity=ot===this?lt.opacity!==void 0?lt.opacity:"":lt.opacityExit!==void 0?lt.opacityExit:0;
vendor: 4,907 bytes, line 671
671for(const ht in scaleCorrectors){if(lt[ht]===void 0)continue;const{correct:pt,applyTo:gt,isCSSVariable:ft}=scaleCorrectors[ht],mt=ct==="none"?lt[ht]:pt(lt[ht],ot);if(gt){const xt=gt.length;for(let yt=0;yt<xt;yt++)it[gt[yt]]=mt}else ft?this.options.visualElement.renderState.vars[ht]=mt:it[ht]=mt}this.options.layoutId&&(it.pointerEvents=ot===this?resolveMotionValue(st==null?void 0:st.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(it=>{var st;return(st=it.currentAnimation)==null?void 0:st.stop()}),this.root.nodes.forEach(clearMeasurements),this.root.sharedNodes.clear()}}}function updateLayout(_){_.updateLayout()}function notifyLayoutUpdate(_){var et;const j=((et=_.resumeFrom)==null?void 0:et.snapshot)||_.snapshot;if(_.isLead()&&_.layout&&j&&_.hasListeners("didUpdate")){const{layoutBox:tt,measuredBox:rt}=_.layout,{animationType:nt}=_.options,it=j.source!==_.layout.source;nt==="size"?eachAxis(ct=>{const ut=it?j.measuredBox[ct]:j.layoutBox[ct],dt=calcLength(ut);ut.min=tt[ct].min,ut.max=ut.min+dt}):shouldAnimatePositionOnly(nt,j.layoutBox,tt)&&eachAxis(ct=>{const ut=it?j.measuredBox[ct]:j.layoutBox[ct],dt=calcLength(tt[ct]);ut.max=ut.min+dt,_.relativeTarget&&!_.currentAnimation&&(_.isProjectionDirty=!0,_.relativeTarget[ct].max=_.relativeTarget[ct].min+dt)});const st=createDelta();calcBoxDelta(st,tt,j.layoutBox);const at=createDelta();it?calcBoxDelta(at,_.applyTransform(rt,!0),j.measuredBox):calcBoxDelta(at,tt,j.layoutBox);const ot=!isDeltaZero(st);let lt=!1;if(!_.resumeFrom){const ct=_.getClosestProjectingParent();if(ct&&!ct.resumeFrom){const{snapshot:ut,layout:dt}=ct;if(ut&&dt){const ht=createBox();calcRelativePosition(ht,j.layoutBox,ut.layoutBox);const pt=createBox();calcRelativePosition(pt,tt,dt.layoutBox),boxEqualsRounded(ht,pt)||(lt=!0),ct.options.layoutRoot&&(_.relativeTarget=pt,_.relativeTargetOrigin=ht,_.relativeParent=ct)}}}_.notifyListeners("didUpdate",{layout:tt,snapshot:j,delta:at,layoutDelta:st,hasLayoutChanged:ot,hasRelativeLayoutChanged:lt})}else if(_.isLead()){const{onExitComplete:tt}=_.options;tt&&tt()}_.options.transition=void 0}function propagateDirtyNodes(_){_.parent&&(_.isProjecting()||(_.isProjectionDirty=_.parent.isProjectionDirty),_.isSharedProjectionDirty||(_.isSharedProjectionDirty=!!(_.isProjectionDirty||_.parent.isProjectionDirty||_.parent.isSharedProjectionDirty)),_.isTransformDirty||(_.isTransformDirty=_.parent.isTransformDirty))}function cleanDirtyNodes(_){_.isProjectionDirty=_.isSharedProjectionDirty=_.isTransformDirty=!1}function clearSnapshot(_){_.clearSnapshot()}function clearMeasurements(_){_.clearMeasurements()}function clearIsLayoutDirty(_){_.isLayoutDirty=!1}function resetTransformStyle(_){const{visualElement:j}=_.options;j&&j.getProps().onBeforeLayoutMeasure&&j.notify("BeforeLayoutMeasure"),_.resetTransform()}function finishAnimation(_){_.finishAnimation(),_.targetDelta=_.relativeTarget=_.target=void 0,_.isProjectionDirty=!0}function resolveTargetDelta(_){_.resolveTargetDelta()}function calcProjection(_){_.calcProjection()}function resetSkewAndRotation(_){_.resetSkewAndRotation()}function removeLeadSnapshots(_){_.removeLeadSnapshot()}function mixAxisDelta(_,j,et){_.translate=mixNumber$1(j.translate,0,et),_.scale=mixNumber$1(j.scale,1,et),_.origin=j.origin,_.originPoint=j.originPoint}function mixAxis(_,j,et,tt){_.min=mixNumber$1(j.min,et.min,tt),_.max=mixNumber$1(j.max,et.max,tt)}function mixBox(_,j,et,tt){mixAxis(_.x,j.x,et.x,tt),mixAxis(_.y,j.y,et.y,tt)}function hasOpacityCrossfade(_){return _.animationValues&&_.animationValues.opacityExit!==void 0}const defaultLayoutTransition={duration:.45,ease:[.4,0,.1,1]},userAgentContains=_=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(_),roundPoint=userAgentContains("applewebkit/")&&!userAgentContains("chrome/")?Math.round:noop$5;function roundAxis(_){_.min=roundPoint(_.min),_.max=roundPoint(_.max)}function roundBox(_){roundAxis(_.x),roundAxis(_.y)}function shouldAnimatePositionOnly(_,j,et){return _==="position"||_==="preserve-aspect"&&!isNear(aspectRatio(j),aspectRatio(et),.2)}function checkNodeWasScrollRoot(_){var j;return _!==_.root&&((j=_.scroll)==null?void 0:j.wasRoot)}const DocumentProjectionNode=createProjectionNode$1({attachResizeListener:(_,j)=>addDomEvent(_,"resize",j),measureScroll:()=>{var _,j;return{x:document.documentElement.scrollLeft||((_=document.body)==null?void 0:_.scrollLeft)||0,y:document.documentElement.scrollTop||((j=document.body)==null?void 0:j.scrollTop)||0}},checkIsScrollRoot:()=>!0}),rootProjectionNode={current:void 0},HTMLProjectionNode=createProjectionNode$1({measureScroll:_=>({x:_.scrollLeft,y:_.scrollTop}),defaultParent:()=>{if(!rootProjectionNode.current){const _=new DocumentProjectionNode({});_.mount(window),_.setOptions({layoutScroll:!0}),rootProjectionNode.current=_}return rootProjectionNode.current}
vendor: 7,472 bytes, lines 671-679
671,resetTransform:(_,j)=>{_.style.transform=j!==void 0?j:"none"},checkIsScrollRoot:_=>window.getComputedStyle(_).position==="fixed"}),MotionConfigContext=reactExports.createContext({transformPagePoint:_=>_,isStatic:!1,reducedMotion:"never"});function setRef(_,j){if(typeof _=="function")return _(j);_!=null&&(_.current=j)}function composeRefs(..._){return j=>{let et=!1;const tt=_.map(rt=>{const nt=setRef(rt,j);return!et&&typeof nt=="function"&&(et=!0),nt});if(et)return()=>{for(let rt=0;rt<tt.length;rt++){const nt=tt[rt];typeof nt=="function"?nt():setRef(_[rt],null)}}}}function useComposedRefs(..._){return reactExports.useCallback(composeRefs(..._),_)}class PopChildMeasure extends reactExports.Component{getSnapshotBeforeUpdate(j){const et=this.props.childRef.current;if(et&&j.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const tt=et.offsetParent,rt=isHTMLElement$1(tt)&&tt.offsetWidth||0,nt=isHTMLElement$1(tt)&&tt.offsetHeight||0,it=this.props.sizeRef.current;it.height=et.offsetHeight||0,it.width=et.offsetWidth||0,it.top=et.offsetTop,it.left=et.offsetLeft,it.right=rt-it.width-it.left,it.bottom=nt-it.height-it.top}return null}componentDidUpdate(){}render(){return this.props.children}}function PopChild({children:_,isPresent:j,anchorX:et,anchorY:tt,root:rt,pop:nt}){var ut;const it=reactExports.useId(),st=reactExports.useRef(null),at=reactExports.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:ot}=reactExports.useContext(MotionConfigContext),lt=((ut=_.props)==null?void 0:ut.ref)??(_==null?void 0:_.ref),ct=useComposedRefs(st,lt);return reactExports.useInsertionEffect(()=>{const{width:dt,height:ht,top:pt,left:gt,right:ft,bottom:mt}=at.current;if(j||nt===!1||!st.current||!dt||!ht)return;const xt=et==="left"?`left: ${gt}`:`right: ${ft}`,yt=tt==="bottom"?`bottom: ${mt}`:`top: ${pt}`;st.current.dataset.motionPopId=it;const vt=document.createElement("style");ot&&(vt.nonce=ot);const bt=rt??document.head;return bt.appendChild(vt),vt.sheet&&vt.sheet.insertRule(` 672 [data-motion-pop-id="${it}"] { 673 position: absolute !important; 674 width: ${dt}px !important; 675 height: ${ht}px !important; 676 ${xt}px !important; 677 ${yt}px !important; 678 } 679 `),()=>{bt.contains(vt)&&bt.removeChild(vt)}},[j]),jsxRuntimeExports.jsx(PopChildMeasure,{isPresent:j,childRef:st,sizeRef:at,pop:nt,children:nt===!1?_:reactExports.cloneElement(_,{ref:ct})})}const PresenceChild=({children:_,initial:j,isPresent:et,onExitComplete:tt,custom:rt,presenceAffectsLayout:nt,mode:it,anchorX:st,anchorY:at,root:ot})=>{const lt=useConstant(newChildrenMap),ct=reactExports.useId();let ut=!0,dt=reactExports.useMemo(()=>(ut=!1,{id:ct,initial:j,isPresent:et,custom:rt,onExitComplete:ht=>{lt.set(ht,!0);for(const pt of lt.values())if(!pt)return;tt&&tt()},register:ht=>(lt.set(ht,!1),()=>lt.delete(ht))}),[et,lt,tt]);return nt&&ut&&(dt={...dt}),reactExports.useMemo(()=>{lt.forEach((ht,pt)=>lt.set(pt,!1))},[et]),reactExports.useEffect(()=>{!et&&!lt.size&&tt&&tt()},[et]),_=jsxRuntimeExports.jsx(PopChild,{pop:it==="popLayout",isPresent:et,anchorX:st,anchorY:at,root:ot,children:_}),jsxRuntimeExports.jsx(PresenceContext.Provider,{value:dt,children:_})};function newChildrenMap(){return new Map}function usePresence(_=!0){const j=reactExports.useContext(PresenceContext);if(j===null)return[!0,null];const{isPresent:et,onExitComplete:tt,register:rt}=j,nt=reactExports.useId();reactExports.useEffect(()=>{if(_)return rt(nt)},[_]);const it=reactExports.useCallback(()=>_&&tt&&tt(nt),[nt,tt,_]);return!et&&tt?[!1,it]:[!0]}const getChildKey=_=>_.key||"";function onlyElements(_){const j=[];return reactExports.Children.forEach(_,et=>{reactExports.isValidElement(et)&&j.push(et)}),j}const AnimatePresence=({children:_,custom:j,initial:et=!0,onExitComplete:tt,presenceAffectsLayout:rt=!0,mode:nt="sync",propagate:it=!1,anchorX:st="left",anchorY:at="top",root:ot})=>{const[lt,ct]=usePresence(it),ut=reactExports.useMemo(()=>onlyElements(_),[_]),dt=it&&!lt?[]:ut.map(getChildKey),ht=reactExports.useRef(!0),pt=reactExports.useRef(ut),gt=useConstant(()=>new Map),ft=reactExports.useRef(new Set),[mt,xt]=reactExports.useState(ut),[yt,vt]=reactExports.useState(ut);useIsomorphicLayoutEffect$1(()=>{ht.current=!1,pt.current=ut;for(let _t=0;_t<yt.length;_t++){const wt=getChildKey(yt[_t]);dt.includes(wt)?(gt.delete(wt),ft.current.delete(wt)):gt.get(wt)!==!0&>.set(wt,!1)}},[yt,dt.length,dt.join("-")]);const bt=[];if(ut!==mt){let _t=[...ut];for(let wt=0;wt<yt.length;wt++){const Rt=yt[wt],Ct=getChildKey(Rt);dt.includes(Ct)||(_t.splice(wt,0,Rt),bt.push(Rt))}return nt==="wait"&&bt.length&&(_t=bt),vt(onlyElements(_t)),xt(ut),null}const{forceRender:Et}=reactExports.useContext(LayoutGroupContext);return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:yt.map(_t=>{const wt=getChildKey(_t),Rt=it&&!lt?!1:ut===yt||dt.includes(wt),Ct=()=>{if(ft.current.has(wt))return;if(ft.current.add(wt),gt.has(wt))gt.set(wt,!0);else return;let jt=!0;gt.forEach(Dt=>{Dt||(jt=!1)}),jt&&(Et==null||Et(),vt(pt.current),it&&(ct==null||ct()),tt&&tt())};return jsxRuntimeExports.jsx(PresenceChild,{isPresent:Rt,initial:!ht.current||et?void 0:!1,custom:j,presenceAffectsLayout:rt,mode:nt,root:ot,onExitComplete:Rt?void 0:Ct,anchorX:st,anchorY:at,children:_t},wt)})})},LazyContext=reactExports.createContext({strict:!1}),featureProps={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"]};let isInitialized=!1;function initFeatureDefinitions(){if(isInitialized)return;const _={};for(const j in featureProps)_[j]={isEnabled:et=>featureProps[j].some(tt=>!!et[tt])};setFeatureDefinitions(_),isInitialized=!0}function getInitializedFeatureDefinitions(){return initFeatureDefinitions(),getFeatureDefinitions()}function loadFeatures(_){const j=getInitializedFeatureDefinitions();for(const et in _)j[et]={...j[et],..._[et]};setFeatureDefinitions(j)}const validMotionProps=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","propagate","ignoreStrict","viewport"]);function isValidMotionProp(_){return _.startsWith("while")||_.startsWith("drag")&&_!=="draggable"||_.startsWith("layout")||_.startsWith("onTap")||_.startsWith("onPan")||_.startsWith("onLayout")||validMotionProps.has(_)}let shouldForward=_=>!isValidMotionProp(_);function loadExternalIsValidProp(_){typeof _=="function"&&(shouldForward=j=>j.startsWith("on")?!isValidMotionProp(j):_(j))}try{loadExternalIsValidProp(require("@emotion/is-prop-valid").default)}catch{}function filterProps$1(_,j,et){const tt={};for(const rt in _)rt==="values"&&typeof _.values=="object"||(shouldForward(rt)||et===!0&&isValidMotionProp(rt)||!j&&!isValidMotionProp(rt)||_.draggable&&rt.startsWith("onDrag"))&&(tt[rt]=_[rt]);return tt}const MotionContext=reactExports.createContext({});
vendor: 5,371 bytes, line 679
679function getCurrentTreeVariants(_,j){if(isControllingVariants(_)){const{initial:et,animate:tt}=_;return{initial:et===!1||isVariantLabel(et)?et:void 0,animate:isVariantLabel(tt)?tt:void 0}}return _.inherit!==!1?j:{}}function useCreateMotionContext(_){const{initial:j,animate:et}=getCurrentTreeVariants(_,reactExports.useContext(MotionContext));return reactExports.useMemo(()=>({initial:j,animate:et}),[variantLabelsAsDependency(j),variantLabelsAsDependency(et)])}function variantLabelsAsDependency(_){return Array.isArray(_)?_.join(" "):_}const createHtmlRenderState=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function copyRawValuesOnly(_,j,et){for(const tt in j)!isMotionValue(j[tt])&&!isForcedMotionValue(tt,et)&&(_[tt]=j[tt])}function useInitialMotionValues({transformTemplate:_},j){return reactExports.useMemo(()=>{const et=createHtmlRenderState();return buildHTMLStyles(et,j,_),Object.assign({},et.vars,et.style)},[j])}function useStyle(_,j){const et=_.style||{},tt={};return copyRawValuesOnly(tt,et,_),Object.assign(tt,useInitialMotionValues(_,j)),tt}function useHTMLProps(_,j){const et={},tt=useStyle(_,j);return _.drag&&_.dragListener!==!1&&(et.draggable=!1,tt.userSelect=tt.WebkitUserSelect=tt.WebkitTouchCallout="none",tt.touchAction=_.drag===!0?"none":`pan-${_.drag==="x"?"y":"x"}`),_.tabIndex===void 0&&(_.onTap||_.onTapStart||_.whileTap)&&(et.tabIndex=0),et.style=tt,et}const createSvgRenderState=()=>({...createHtmlRenderState(),attrs:{}});function useSVGProps(_,j,et,tt){const rt=reactExports.useMemo(()=>{const nt=createSvgRenderState();return buildSVGAttrs(nt,j,isSVGTag(tt),_.transformTemplate,_.style),{...nt.attrs,style:{...nt.style}}},[j]);if(_.style){const nt={};copyRawValuesOnly(nt,_.style,_),rt.style={...nt,...rt.style}}return rt}const lowercaseSVGElements=["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 isSVGComponent(_){return typeof _!="string"||_.includes("-")?!1:!!(lowercaseSVGElements.indexOf(_)>-1||/[A-Z]/u.test(_))}function useRender(_,j,et,{latestValues:tt},rt,nt=!1,it){const at=(it??isSVGComponent(_)?useSVGProps:useHTMLProps)(j,tt,rt,_),ot=filterProps$1(j,typeof _=="string",nt),lt=_!==reactExports.Fragment?{...ot,...at,ref:et}:{},{children:ct}=j,ut=reactExports.useMemo(()=>isMotionValue(ct)?ct.get():ct,[ct]);return reactExports.createElement(_,{...lt,children:ut})}function makeState({scrapeMotionValuesFromProps:_,createRenderState:j},et,tt,rt){return{latestValues:makeLatestValues(et,tt,rt,_),renderState:j()}}function makeLatestValues(_,j,et,tt){const rt={},nt=tt(_,{});for(const ut in nt)rt[ut]=resolveMotionValue(nt[ut]);let{initial:it,animate:st}=_;const at=isControllingVariants(_),ot=isVariantNode(_);j&&ot&&!at&&_.inherit!==!1&&(it===void 0&&(it=j.initial),st===void 0&&(st=j.animate));let lt=et?et.initial===!1:!1;lt=lt||it===!1;const ct=lt?st:it;if(ct&&typeof ct!="boolean"&&!isAnimationControls(ct)){const ut=Array.isArray(ct)?ct:[ct];for(let dt=0;dt<ut.length;dt++){const ht=resolveVariantFromProps(_,ut[dt]);if(ht){const{transitionEnd:pt,transition:gt,...ft}=ht;for(const mt in ft){let xt=ft[mt];if(Array.isArray(xt)){const yt=lt?xt.length-1:0;xt=xt[yt]}xt!==null&&(rt[mt]=xt)}for(const mt in pt)rt[mt]=pt[mt]}}}return rt}const makeUseVisualState=_=>(j,et)=>{const tt=reactExports.useContext(MotionContext),rt=reactExports.useContext(PresenceContext),nt=()=>makeState(_,j,tt,rt);return et?nt():useConstant(nt)},useHTMLVisualState=makeUseVisualState({scrapeMotionValuesFromProps:scrapeMotionValuesFromProps$1,createRenderState:createHtmlRenderState}),useSVGVisualState=makeUseVisualState({scrapeMotionValuesFromProps,createRenderState:createSvgRenderState}),motionComponentSymbol=Symbol.for("motionComponentSymbol");function useMotionRef(_,j,et){const tt=reactExports.useRef(et);reactExports.useInsertionEffect(()=>{tt.current=et});const rt=reactExports.useRef(null);return reactExports.useCallback(nt=>{var st;nt&&((st=_.onMount)==null||st.call(_,nt)),j&&(nt?j.mount(nt):j.unmount());const it=tt.current;if(typeof it=="function")if(nt){const at=it(nt);typeof at=="function"&&(rt.current=at)}else rt.current?(rt.current(),rt.current=null):it(nt);else it&&(it.current=nt)},[j])}const SwitchLayoutGroupContext=reactExports.createContext({});function isRefObject(_){return _&&typeof _=="object"&&Object.prototype.hasOwnProperty.call(_,"current")}function useVisualElement(_,j,et,tt,rt,nt){var xt,yt;const{visualElement:it}=reactExports.useContext(MotionContext),st=reactExports.useContext(LazyContext),at=reactExports.useContext(PresenceContext),ot=reactExports.useContext(MotionConfigContext),lt=ot.reducedMotion,ct=ot.skipAnimations,ut=reactExports.useRef(null),dt=reactExports.useRef(!1);tt=tt||st.renderer,!ut.current&&tt&&(ut.current=tt(_,{visualState:j,parent:it,props:et,presenceContext:at,blockInitialAnimation:at?at.initial===!1:!1,reducedMotionConfig:lt,skipAnimations:ct,isSVG:nt}),dt.current&&ut.current&&(ut.current.manuallyAnimateOnMount=!0));const ht=ut.current,pt=reactExports.useContext(SwitchLayoutGroupContext);ht&&!ht.projection&&rt&&(ht.type==="html"||ht.type==="svg")&&createProjectionNode(ut.current,et,rt,pt);const gt=reactExports.useRef(!1);reactExports.useInsertionEffect(()=>{ht&>.current&&ht.update(et,at)});
vendor: 6,506 bytes, line 679
679const ft=et[optimizedAppearDataAttribute],mt=reactExports.useRef(!!ft&&!((xt=window.MotionHandoffIsComplete)!=null&&xt.call(window,ft))&&((yt=window.MotionHasOptimisedAnimation)==null?void 0:yt.call(window,ft)));return useIsomorphicLayoutEffect$1(()=>{dt.current=!0,ht&&(gt.current=!0,window.MotionIsMounted=!0,ht.updateFeatures(),ht.scheduleRenderMicrotask(),mt.current&&ht.animationState&&ht.animationState.animateChanges())}),reactExports.useEffect(()=>{ht&&(!mt.current&&ht.animationState&&ht.animationState.animateChanges(),mt.current&&(queueMicrotask(()=>{var vt;(vt=window.MotionHandoffMarkAsComplete)==null||vt.call(window,ft)}),mt.current=!1),ht.enteringChildren=void 0)}),ht}function createProjectionNode(_,j,et,tt){const{layoutId:rt,layout:nt,drag:it,dragConstraints:st,layoutScroll:at,layoutRoot:ot,layoutCrossfade:lt}=j;_.projection=new et(_.latestValues,j["data-framer-portal-id"]?void 0:getClosestProjectingNode(_.parent)),_.projection.setOptions({layoutId:rt,layout:nt,alwaysMeasureLayout:!!it||st&&isRefObject(st),visualElement:_,animationType:typeof nt=="string"?nt:"both",initialPromotionConfig:tt,crossfade:lt,layoutScroll:at,layoutRoot:ot})}function getClosestProjectingNode(_){if(_)return _.options.allowProjection!==!1?_.projection:getClosestProjectingNode(_.parent)}function createMotionComponent(_,{forwardMotionProps:j=!1,type:et}={},tt,rt){tt&&loadFeatures(tt);const nt=et?et==="svg":isSVGComponent(_),it=nt?useSVGVisualState:useHTMLVisualState;function st(ot,lt){let ct;const ut={...reactExports.useContext(MotionConfigContext),...ot,layoutId:useLayoutId(ot)},{isStatic:dt}=ut,ht=useCreateMotionContext(ot),pt=it(ot,dt);if(!dt&&isBrowser$1){useStrictMode();const gt=getProjectionFunctionality(ut);ct=gt.MeasureLayout,ht.visualElement=useVisualElement(_,pt,ut,rt,gt.ProjectionNode,nt)}return jsxRuntimeExports.jsxs(MotionContext.Provider,{value:ht,children:[ct&&ht.visualElement?jsxRuntimeExports.jsx(ct,{visualElement:ht.visualElement,...ut}):null,useRender(_,ot,useMotionRef(pt,ht.visualElement,lt),pt,dt,j,nt)]})}st.displayName=`motion.${typeof _=="string"?_:`create(${_.displayName??_.name??""})`}`;const at=reactExports.forwardRef(st);return at[motionComponentSymbol]=_,at}function useLayoutId({layoutId:_}){const j=reactExports.useContext(LayoutGroupContext).id;return j&&_!==void 0?j+"-"+_:_}function useStrictMode(_,j){reactExports.useContext(LazyContext).strict}function getProjectionFunctionality(_){const j=getInitializedFeatureDefinitions(),{drag:et,layout:tt}=j;if(!et&&!tt)return{};const rt={...et,...tt};return{MeasureLayout:et!=null&&et.isEnabled(_)||tt!=null&&tt.isEnabled(_)?rt.MeasureLayout:void 0,ProjectionNode:rt.ProjectionNode}}function createMotionProxy(_,j){if(typeof Proxy>"u")return createMotionComponent;const et=new Map,tt=(nt,it)=>createMotionComponent(nt,it,_,j),rt=(nt,it)=>tt(nt,it);return new Proxy(rt,{get:(nt,it)=>it==="create"?tt:(et.has(it)||et.set(it,createMotionComponent(it,void 0,_,j)),et.get(it))})}const createDomVisualElement=(_,j)=>j.isSVG??isSVGComponent(_)?new SVGVisualElement(j):new HTMLVisualElement(j,{allowProjection:_!==reactExports.Fragment});class AnimationFeature extends Feature{constructor(j){super(j),j.animationState||(j.animationState=createAnimationState(j))}updateAnimationControlsSubscription(){const{animate:j}=this.node.getProps();isAnimationControls(j)&&(this.unmountControls=j.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:j}=this.node.getProps(),{animate:et}=this.node.prevProps||{};j!==et&&this.updateAnimationControlsSubscription()}unmount(){var j;this.node.animationState.reset(),(j=this.unmountControls)==null||j.call(this)}}let id=0;class ExitAnimationFeature extends Feature{constructor(){super(...arguments),this.id=id++}update(){if(!this.node.presenceContext)return;const{isPresent:j,onExitComplete:et}=this.node.presenceContext,{isPresent:tt}=this.node.prevPresenceContext||{};if(!this.node.animationState||j===tt)return;const rt=this.node.animationState.setActive("exit",!j);et&&!j&&rt.then(()=>{et(this.id)})}mount(){const{register:j,onExitComplete:et}=this.node.presenceContext||{};et&&et(this.id),j&&(this.unmount=j(this.id))}unmount(){}}const animations={animation:{Feature:AnimationFeature},exit:{Feature:ExitAnimationFeature}};function extractEventInfo(_){return{point:{x:_.pageX,y:_.pageY}}}const addPointerInfo=_=>j=>isPrimaryPointer(j)&&_(j,extractEventInfo(j));function addPointerEvent(_,j,et,tt){return addDomEvent(_,j,addPointerInfo(et),tt)}const getContextWindow=({current:_})=>_?_.ownerDocument.defaultView:null,distance=(_,j)=>Math.abs(_-j);function distance2D(_,j){const et=distance(_.x,j.x),tt=distance(_.y,j.y);return Math.sqrt(et**2+tt**2)}const overflowStyles=new Set(["auto","scroll"]);class PanSession{constructor(j,et,{transformPagePoint:tt,contextWindow:rt=window,dragSnapToOrigin:nt=!1,distanceThreshold:it=3,element:st}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=dt=>{this.handleScroll(dt.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const dt=getPanInfo(this.lastMoveEventInfo,this.history),ht=this.startEvent!==null,pt=distance2D(dt.offset,{x:0,y:0})>=this.distanceThreshold;if(!ht&&!pt)return;const{point:gt}=dt,{timestamp:ft}=frameData;this.history.push({...gt,timestamp:ft});const{onStart:mt,onMove:xt}=this.handlers;ht||(mt&&mt(this.lastMoveEvent,dt),this.startEvent=this.lastMoveEvent),xt&&xt(this.lastMoveEvent,dt)},this.handlePointerMove=(dt,ht)=>{this.lastMoveEvent=dt,this.lastMoveEventInfo=transformPoint(ht,this.transformPagePoint),frame.update(this.updatePoint,!0)},this.handlePointerUp=(dt,ht)=>{this.end();const{onEnd:pt,onSessionEnd:gt,resumeAnimation:ft}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&ft&&ft(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const mt=getPanInfo(dt.type==="pointercancel"?this.lastMoveEventInfo:transformPoint(ht,this.transformPagePoint),this.history);this.startEvent&&pt&&pt(dt,mt),gt&>(dt,mt)},!isPrimaryPointer(j))return;this.dragSnapToOrigin=nt,this.handlers=et,this.transformPagePoint=tt,this.distanceThreshold=it,this.contextWindow=rt||window;const at=extractEventInfo(j),ot=transformPoint(at,this.transformPagePoint),{point:lt}=ot,{timestamp:ct}=frameData;this.history=[{...lt,timestamp:ct}
vendor: 10,127 bytes, line 679
679];const{onSessionStart:ut}=et;ut&&ut(j,getPanInfo(ot,this.history)),this.removeListeners=pipe$1(addPointerEvent(this.contextWindow,"pointermove",this.handlePointerMove),addPointerEvent(this.contextWindow,"pointerup",this.handlePointerUp),addPointerEvent(this.contextWindow,"pointercancel",this.handlePointerUp)),st&&this.startScrollTracking(st)}startScrollTracking(j){let et=j.parentElement;for(;et;){const tt=getComputedStyle(et);(overflowStyles.has(tt.overflowX)||overflowStyles.has(tt.overflowY))&&this.scrollPositions.set(et,{x:et.scrollLeft,y:et.scrollTop}),et=et.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(j){const et=this.scrollPositions.get(j);if(!et)return;const tt=j===window,rt=tt?{x:window.scrollX,y:window.scrollY}:{x:j.scrollLeft,y:j.scrollTop},nt={x:rt.x-et.x,y:rt.y-et.y};nt.x===0&&nt.y===0||(tt?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=nt.x,this.lastMoveEventInfo.point.y+=nt.y):this.history.length>0&&(this.history[0].x-=nt.x,this.history[0].y-=nt.y),this.scrollPositions.set(j,rt),frame.update(this.updatePoint,!0))}updateHandlers(j){this.handlers=j}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),cancelFrame(this.updatePoint)}}function transformPoint(_,j){return j?{point:j(_.point)}:_}function subtractPoint(_,j){return{x:_.x-j.x,y:_.y-j.y}}function getPanInfo({point:_},j){return{point:_,delta:subtractPoint(_,lastDevicePoint(j)),offset:subtractPoint(_,startDevicePoint(j)),velocity:getVelocity(j,.1)}}function startDevicePoint(_){return _[0]}function lastDevicePoint(_){return _[_.length-1]}function getVelocity(_,j){if(_.length<2)return{x:0,y:0};let et=_.length-1,tt=null;const rt=lastDevicePoint(_);for(;et>=0&&(tt=_[et],!(rt.timestamp-tt.timestamp>secondsToMilliseconds(j)));)et--;if(!tt)return{x:0,y:0};tt===_[0]&&_.length>2&&rt.timestamp-tt.timestamp>secondsToMilliseconds(j)*2&&(tt=_[1]);const nt=millisecondsToSeconds(rt.timestamp-tt.timestamp);if(nt===0)return{x:0,y:0};const it={x:(rt.x-tt.x)/nt,y:(rt.y-tt.y)/nt};return it.x===1/0&&(it.x=0),it.y===1/0&&(it.y=0),it}function applyConstraints(_,{min:j,max:et},tt){return j!==void 0&&_<j?_=tt?mixNumber$1(j,_,tt.min):Math.max(_,j):et!==void 0&&_>et&&(_=tt?mixNumber$1(et,_,tt.max):Math.min(_,et)),_}function calcRelativeAxisConstraints(_,j,et){return{min:j!==void 0?_.min+j:void 0,max:et!==void 0?_.max+et-(_.max-_.min):void 0}}function calcRelativeConstraints(_,{top:j,left:et,bottom:tt,right:rt}){return{x:calcRelativeAxisConstraints(_.x,et,rt),y:calcRelativeAxisConstraints(_.y,j,tt)}}function calcViewportAxisConstraints(_,j){let et=j.min-_.min,tt=j.max-_.max;return j.max-j.min<_.max-_.min&&([et,tt]=[tt,et]),{min:et,max:tt}}function calcViewportConstraints(_,j){return{x:calcViewportAxisConstraints(_.x,j.x),y:calcViewportAxisConstraints(_.y,j.y)}}function calcOrigin(_,j){let et=.5;const tt=calcLength(_),rt=calcLength(j);return rt>tt?et=progress(j.min,j.max-tt,_.min):tt>rt&&(et=progress(_.min,_.max-rt,j.min)),clamp$3(0,1,et)}function rebaseAxisConstraints(_,j){const et={};return j.min!==void 0&&(et.min=j.min-_.min),j.max!==void 0&&(et.max=j.max-_.min),et}const defaultElastic=.35;function resolveDragElastic(_=defaultElastic){return _===!1?_=0:_===!0&&(_=defaultElastic),{x:resolveAxisElastic(_,"left","right"),y:resolveAxisElastic(_,"top","bottom")}}function resolveAxisElastic(_,j,et){return{min:resolvePointElastic(_,j),max:resolvePointElastic(_,et)}}function resolvePointElastic(_,j){return typeof _=="number"?_:_[j]||0}const elementDragControls=new WeakMap;class VisualElementDragControls{constructor(j){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=createBox(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=j}start(j,{snapToCursor:et=!1,distanceThreshold:tt}={}){const{presenceContext:rt}=this.visualElement;if(rt&&rt.isPresent===!1)return;const nt=ct=>{et&&this.snapToCursor(extractEventInfo(ct).point),this.stopAnimation()},it=(ct,ut)=>{const{drag:dt,dragPropagation:ht,onDragStart:pt}=this.getProps();if(dt&&!ht&&(this.openDragLock&&this.openDragLock(),this.openDragLock=setDragLock(dt),!this.openDragLock))return;this.latestPointerEvent=ct,this.latestPanInfo=ut,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),eachAxis(ft=>{let mt=this.getAxisMotionValue(ft).get()||0;if(percent.test(mt)){const{projection:xt}=this.visualElement;if(xt&&xt.layout){const yt=xt.layout.layoutBox[ft];yt&&(mt=calcLength(yt)*(parseFloat(mt)/100))}}this.originPoint[ft]=mt}),pt&&frame.update(()=>pt(ct,ut),!1,!0),addValueToWillChange(this.visualElement,"transform");const{animationState:gt}=this.visualElement;gt&>.setActive("whileDrag",!0)},st=(ct,ut)=>{this.latestPointerEvent=ct,this.latestPanInfo=ut;const{dragPropagation:dt,dragDirectionLock:ht,onDirectionLock:pt,onDrag:gt}=this.getProps();if(!dt&&!this.openDragLock)return;const{offset:ft}=ut;if(ht&&this.currentDirection===null){this.currentDirection=getCurrentDirection(ft),this.currentDirection!==null&&pt&&pt(this.currentDirection);return}this.updateAxis("x",ut.point,ft),this.updateAxis("y",ut.point,ft),this.visualElement.render(),gt&&frame.update(()=>gt(ct,ut),!1,!0)},at=(ct,ut)=>{this.latestPointerEvent=ct,this.latestPanInfo=ut,this.stop(ct,ut),this.latestPointerEvent=null,this.latestPanInfo=null},ot=()=>{const{dragSnapToOrigin:ct}=this.getProps();(ct||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:lt}=this.getProps();this.panSession=new PanSession(j,{onSessionStart:nt,onStart:it,onMove:st,onSessionEnd:at,resumeAnimation:ot},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:lt,distanceThreshold:tt,contextWindow:getContextWindow(this.visualElement),element:this.visualElement.current})}stop(j,et){const tt=j||this.latestPointerEvent,rt=et||this.latestPanInfo,nt=this.isDragging;if(this.cancel(),!nt||!rt||!tt)return;const{velocity:it}=rt;this.startAnimation(it);const{onDragEnd:st}=this.getProps();st&&frame.postRender(()=>st(tt,rt))}cancel(){this.isDragging=!1;const{projection:j,animationState:et}=this.visualElement;j&&(j.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:tt}=this.getProps();!tt&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),et&&et.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(j,et,tt){const{drag:rt}=this.getProps();if(!tt||!shouldDrag(j,rt,this.currentDirection))return;const nt=this.getAxisMotionValue(j);let it=this.originPoint[j]+tt[j];this.constraints&&this.constraints[j]&&(it=applyConstraints(it,this.constraints[j],this.elastic[j])),nt.set(it)}resolveConstraints(){var nt;const{dragConstraints:j,dragElastic:et}=this.getProps(),tt=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(nt=this.visualElement.projection)==null?void 0:nt.layout,rt=this.constraints;j&&isRefObject(j)?this.constraints||(this.constraints=this.resolveRefConstraints()):j&&tt?this.constraints=calcRelativeConstraints(tt.layoutBox,j):this.constraints=!1,this.elastic=resolveDragElastic(et),rt!==this.constraints&&!isRefObject(j)&&tt&&this.constraints&&!this.hasMutatedConstraints&&eachAxis(it=>{this.constraints!==!1&&this.getAxisMotionValue(it)&&(this.constraints[it]=rebaseAxisConstraints(tt.layoutBox[it],this.constraints[it]))})}resolveRefConstraints(){const{dragConstraints:j,onMeasureDragConstraints:et}=this.getProps();if(!j||!isRefObject(j))return!1;const tt=j.current;invariant$1(tt!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:rt}=this.visualElement;if(!rt||!rt.layout)return!1;const nt=measurePageBox(tt,rt.root,this.visualElement.getTransformPagePoint());let it=calcViewportConstraints(rt.layout.layoutBox,nt);if(et){const st=et(convertBoxToBoundingBox(it));this.hasMutatedConstraints=!!st,st&&(it=convertBoundingBoxToBox(st))}return it}startAnimation(j){const{drag:et,dragMomentum:tt,dragElastic:rt,dragTransition:nt,dragSnapToOrigin:it,onDragTransitionEnd:st}=this.getProps(),at=this.constraints||{},ot=eachAxis(lt=>{if(!shouldDrag(lt,et,this.currentDirection))return;let ct=at&&at[lt]||{};it&&(ct={min:0,max:0});const ut=rt?200:1e6,dt=rt?40:1e7,ht={type:"inertia",velocity:tt?j[lt]:0,bounceStiffness:ut,bounceDamping:dt,timeConstant:750,restDelta:1,restSpeed:10,...nt,...ct};return this.startAxisValueAnimation(lt,ht)});return Promise.all(ot).then(st)}startAxisValueAnimation(j,et){const tt=this.getAxisMotionValue(j);return addValueToWillChange(this.visualElement,j),tt.start(animateMotionValue(j,tt,0,et,this.visualElement,!1))}stopAnimation(){eachAxis(j=>this.getAxisMotionValue(j).stop())}getAxisMotionValue(j){const et=`_drag${j.toUpperCase()}`,tt=this.visualElement.getProps(),rt=tt[et];return rt||this.visualElement.getValue(j,(tt.initial?tt.initial[j]:void 0)||0)}snapToCursor(j){eachAxis(et=>{const{drag:tt}=this.getProps();if(!shouldDrag(et,tt,this.currentDirection))return;const{projection:rt}=this.visualElement,nt=this.getAxisMotionValue(et);if(rt&&rt.layout){const{min:it,max:st}=rt.layout.layoutBox[et],at=nt.get()||0;nt.set(j[et]-mixNumber$1(it,st,.5)+at)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:j,dragConstraints:et}=this.getProps(),{projection:tt}=this.visualElement;if(!isRefObject(et)||!tt||!this.constraints)return;this.stopAnimation();const rt={x:0,y:0};eachAxis(it=>{const st=this.getAxisMotionValue(it);
679if(st&&this.constraints!==!1){const at=st.get();rt[it]=calcOrigin({min:at,max:at},this.constraints[it])}});const{transformTemplate:nt}=this.visualElement.getProps();this.visualElement.current.style.transform=nt?nt({},""):"none",tt.root&&tt.root.updateScroll(),tt.updateLayout(),this.constraints=!1,this.resolveConstraints(),eachAxis(it=>{if(!shouldDrag(it,j,null))return;const st=this.getAxisMotionValue(it),{min:at,max:ot}=this.constraints[it];st.set(mixNumber$1(at,ot,rt[it]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;elementDragControls.set(this.visualElement,this);const j=this.visualElement.current,et=addPointerEvent(j,"pointerdown",ot=>{const{drag:lt,dragListener:ct=!0}=this.getProps(),ut=ot.target,dt=ut!==j&&isElementTextInput(ut);lt&&ct&&!dt&&this.start(ot)});let tt;const rt=()=>{const{dragConstraints:ot}=this.getProps();isRefObject(ot)&&ot.current&&(this.constraints=this.resolveRefConstraints(),tt||(tt=startResizeObservers(j,ot.current,()=>this.scalePositionWithinConstraints())))},{projection:nt}=this.visualElement,it=nt.addEventListener("measure",rt);nt&&!nt.layout&&(nt.root&&nt.root.updateScroll(),nt.updateLayout()),frame.read(rt);const st=addDomEvent(window,"resize",()=>this.scalePositionWithinConstraints()),at=nt.addEventListener("didUpdate",({delta:ot,hasLayoutChanged:lt})=>{this.isDragging&<&&(eachAxis(ct=>{const ut=this.getAxisMotionValue(ct);ut&&(this.originPoint[ct]+=ot[ct].translate,ut.set(ut.get()+ot[ct].translate))}),this.visualElement.render())});return()=>{st(),et(),it(),at&&at(),tt&&tt()}}getProps(){const j=this.visualElement.getProps(),{drag:et=!1,dragDirectionLock:tt=!1,dragPropagation:rt=!1,dragConstraints:nt=!1,dragElastic:it=defaultElastic,dragMomentum:st=!0}=j;return{...j,drag:et,dragDirectionLock:tt,dragPropagation:rt,dragConstraints:nt,dragElastic:it,dragMomentum:st}}}function skipFirstCall(_){let j=!0;return()=>{if(j){j=!1;return}_()}}function startResizeObservers(_,j,et){const tt=resize(_,skipFirstCall(et)),rt=resize(j,skipFirstCall(et));return()=>{tt(),rt()}}function shouldDrag(_,j,et){return(j===!0||j===_)&&(et===null||et===_)}function getCurrentDirection(_,j=10){let et=null;return Math.abs(_.y)>j?et="y":Math.abs(_.x)>j&&(et="x"),et}class DragGesture extends Feature{constructor(j){super(j),this.removeGroupControls=noop$5,this.removeListeners=noop$5,this.controls=new VisualElementDragControls(j)}mount(){const{dragControls:j}=this.node.getProps();j&&(this.removeGroupControls=j.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||noop$5}update(){const{dragControls:j}=this.node.getProps(),{dragControls:et}=this.node.prevProps||{};j!==et&&(this.removeGroupControls(),j&&(this.removeGroupControls=j.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const asyncHandler=_=>(j,et)=>{_&&frame.update(()=>_(j,et),!1,!0)};class PanGesture extends Feature{constructor(){super(...arguments),this.removePointerDownListener=noop$5}onPointerDown(j){this.session=new PanSession(j,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:getContextWindow(this.node)})}createPanHandlers(){const{onPanSessionStart:j,onPanStart:et,onPan:tt,onPanEnd:rt}=this.node.getProps();return{onSessionStart:asyncHandler(j),onStart:asyncHandler(et),onMove:asyncHandler(tt),onEnd:(nt,it)=>{delete this.session,rt&&frame.postRender(()=>rt(nt,it))}}}mount(){this.removePointerDownListener=addPointerEvent(this.node.current,"pointerdown",j=>this.onPointerDown(j))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let hasTakenAnySnapshot=!1;class MeasureLayoutWithContext extends reactExports.Component{componentDidMount(){const{visualElement:j,layoutGroup:et,switchLayoutGroup:tt,layoutId:rt}=this.props,{projection:nt}=j;nt&&(et.group&&et.group.add(nt),tt&&tt.register&&rt&&tt.register(nt),hasTakenAnySnapshot&&nt.root.didUpdate(),nt.addEventListener("animationComplete",()=>{this.safeToRemove()}),nt.setOptions({...nt.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(j){const{layoutDependency:et,visualElement:tt,drag:rt,isPresent:nt}=this.props,{projection:it}=tt;return it&&(it.isPresent=nt,j.layoutDependency!==et&&it.setOptions({...it.options,layoutDependency:et}),hasTakenAnySnapshot=!0,rt||j.layoutDependency!==et||et===void 0||j.isPresent!==nt?it.willUpdate():this.safeToRemove(),j.isPresent!==nt&&(nt?it.promote():it.relegate()||frame.postRender(()=>{const st=it.getStack();(!st||!st.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:j}=this.props.visualElement;j&&(j.root.didUpdate(),microtask.postRender(()=>{!j.currentAnimation&&j.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:j,layoutGroup:et,switchLayoutGroup:tt}=this.props,{projection:rt}=j;hasTakenAnySnapshot=!0,rt&&(rt.scheduleCheckAfterUnmount(),et&&et.group&&et.group.remove(rt),tt&&tt.deregister&&tt.deregister(rt))}safeToRemove(){const{safeToRemove:j}=this.props;j&&j()}render(){return null}}function MeasureLayout(_){const[j,et]=usePresence(),tt=reactExports.useContext(LayoutGroupContext);return jsxRuntimeExports.jsx(MeasureLayoutWithContext,{..._,layoutGroup:tt,switchLayoutGroup:reactExports.useContext(SwitchLayoutGroupContext),isPresent:j,safeToRemove:et})}const drag={pan:{Feature:PanGesture},drag:{Feature:DragGesture,ProjectionNode:HTMLProjectionNode,MeasureLayout}};function handleHoverEvent(_,j,et){const{props:tt}=_;_.animationState&&tt.whileHover&&_.animationState.setActive("whileHover",et==="Start");const rt="onHover"+et,nt=tt[rt];nt&&frame.postRender(()=>nt(j,extractEventInfo(j)))}class HoverGesture extends Feature{mount(){const{current:j}=this.node;j&&(this.unmount=hover(j,(et,tt)=>(handleHoverEvent(this.node,tt,"Start"),rt=>handleHoverEvent(this.node,rt,"End"))))}unmount(){}}class FocusGesture extends Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let j=!1;try{j=this.node.current.matches(":focus-visible")}catch{j=!0}!j||!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=pipe$1(addDomEvent(this.node.current,"focus",()=>this.onFocus()),addDomEvent(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function handlePressEvent(_,j,et){const{props:tt}=_;if(_.current instanceof HTMLButtonElement&&_.current.disabled)return;_.animationState&&tt.whileTap&&_.animationState.setActive("whileTap",et==="Start");const rt="onTap"+(et==="End"?"":et),nt=tt[rt];nt&&frame.postRender(()=>nt(j,extractEventInfo(j)))}class PressGesture extends Feature{mount(){const{current:j}=this.node;if(!j)return;const{globalTapTarget:et,propagate:tt}=this.node.props;this.unmount=press(j,(rt,nt)=>(handlePressEvent(this.node,nt,"Start"),(it,{success:st})=>handlePressEvent(this.node,it,st?"End":"Cancel")),{useGlobalTarget:et,stopPropagation:(tt==null?void 0:tt.tap)===!1})}unmount(){}}const observerCallbacks=new WeakMap,observers=new WeakMap,fireObserverCallback=_=>{const j=observerCallbacks.get(_.target);j&&j(_)},fireAllObserverCallbacks=_=>{_.forEach(fireObserverCallback)};function initIntersectionObserver({root:_,...j}){const et=_||document;observers.has(et)||observers.set(et,{});const tt=observers.get(et),rt=JSON.stringify(j);return tt[rt]||(tt[rt]=new IntersectionObserver(fireAllObserverCallbacks,{root:_,...j})),tt[rt]}function observeIntersection(_,j,et){const tt=initIntersectionObserver(j);return observerCallbacks.set(_,et),tt.observe(_),()=>{observerCallbacks.delete(_),tt.unobserve(_)}}const thresholdNames={some:0,all:1};class InViewFeature extends Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:j={}}=this.node.getProps(),{root:et,margin:tt,amount:rt="some",once:nt}=j,it={root:et?et.current:void 0,rootMargin:tt,threshold:typeof rt=="number"?rt:thresholdNames[rt]},st=at=>{const{isIntersecting:ot}=at;if(this.isInView===ot||(this.isInView=ot,nt&&!ot&&this.hasEnteredView))return;ot&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",ot);const{onViewportEnter:lt,onViewportLeave:ct}=this.node.getProps(),ut=ot?lt:ct;ut&&ut(at)};return observeIntersection(this.node.current,it,st)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:j,prevProps:et}=this.node;["amount","margin","root"].some(hasViewportOptionChanged(j,et))&&this.startObserver()}unmount(){}}function hasViewportOptionChanged({viewport:_={}},{viewport:j={}}={}){return et=>_[et]!==j[et]}const gestureAnimations={inView:{Feature:InViewFeature},tap:{Feature:PressGesture},focus:{Feature:FocusGesture},hover:{Feature:HoverGesture}},layout={layout:{ProjectionNode:HTMLProjectionNode,MeasureLayout}},featureBundle={...animations,...gestureAnimations,...drag,...layout},motion=createMotionProxy(featureBundle,createDomVisualElement),maxElapsed=50,createAxisInfo=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),createScrollInfo=()=>({time:0,x:createAxisInfo(),y:createAxisInfo()}),keys$6={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function updateAxisInfo(_,j,et,tt){const rt=et[j],{length:nt,position:it}=keys$6[j],st=rt.current,at=et.time;rt.current=_[`scroll${it}`],rt.scrollLength=_[`scroll${nt}`]-_[`client${nt}`],rt.offset.length=0,rt.offset[0]=0,rt.offset[1]=rt.scrollLength,rt.progress=progress(0,rt.scrollLength,rt.current);const ot=tt-at;rt.velocity=ot>maxElapsed?0:velocityPerSecond(rt.current-st,ot)}function updateScrollInfo(_,j,et){updateAxisInfo(_,"x",j,et),updateAxisInfo(_,"y",j,et),j.time=et}function calcInset(_,j){const et={x:0,y:0};let tt=_;for(;tt&&tt!==j;)if(isHTMLElement$1(tt))et.x+=tt.offsetLeft,et.y+=tt.offsetTop,tt=tt.offsetParent;else if(tt.tagName==="svg"){const rt=tt.getBoundingClientRect();tt=tt.parentElement;const nt=tt.getBoundingClientRect();et.x+=rt.left-nt.left,et.y+=rt.top-nt.top}else if(tt instanceof SVGGraphicsElement){const{x:rt,y:nt}=tt.getBBox();et.x+=rt,et.y+=nt;let it=null,st=tt.parentNode;for(;!it;)st.tagName==="svg"&&(it=st),st=tt.parentNode;tt=it}else break;return et}const namedEdges={start:0,center:.5,end:1};function resolveEdge(_,j,et=0){let tt=0;if(_ in namedEdges&&(_=namedEdges[_]),typeof _=="string"){const rt=parseFloat(_);_.endsWith("px")?tt=rt:_.endsWith("%")?_=rt/100:_.endsWith("vw")?tt=rt/100*document.documentElement.clientWidth:_.endsWith("vh")?tt=rt/100*document.documentElement.clientHeight:_=rt}return typeof _=="number"&&(tt=j*_),et+tt}const defaultOffset=[0,0];function resolveOffset(_,j,et,tt){let rt=Array.isArray(_)?_:defaultOffset,nt=0,it=0;return typeof _=="number"?rt=[_,_]:typeof _=="string"&&(_=_.trim(),_.includes(" ")?rt=_.split(" "):rt=[_,namedEdges[_]?_:"0"]),nt=resolveEdge(rt[0],et,tt),it=resolveEdge(rt[1],j),nt-it}const ScrollOffset={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},point$3={x:0,y:0};function getTargetSize(_){return"getBBox"in _&&_.tagName!=="svg"?_.getBBox():{width:_.clientWidth,height:_.clientHeight}}function resolveOffsets(_,j,et){const{offset:tt=ScrollOffset.All}=et,{target:rt=_,axis:nt="y"}=et,it=nt==="y"?"height":"width",st=rt!==_?calcInset(rt,_):point$3,at=rt===_?{width:_.scrollWidth,height:_.scrollHeight}
679:getTargetSize(rt),ot={width:_.clientWidth,height:_.clientHeight};j[nt].offset.length=0;let lt=!j[nt].interpolate;const ct=tt.length;for(let ut=0;ut<ct;ut++){const dt=resolveOffset(tt[ut],ot[it],at[it],st[nt]);!lt&&dt!==j[nt].interpolatorOffsets[ut]&&(lt=!0),j[nt].offset[ut]=dt}lt&&(j[nt].interpolate=interpolate$2(j[nt].offset,defaultOffset$1(tt),{clamp:!1}),j[nt].interpolatorOffsets=[...j[nt].offset]),j[nt].progress=clamp$3(0,1,j[nt].interpolate(j[nt].current))}function measure(_,j=_,et){if(et.x.targetOffset=0,et.y.targetOffset=0,j!==_){let tt=j;for(;tt&&tt!==_;)et.x.targetOffset+=tt.offsetLeft,et.y.targetOffset+=tt.offsetTop,tt=tt.offsetParent}et.x.targetLength=j===_?j.scrollWidth:j.clientWidth,et.y.targetLength=j===_?j.scrollHeight:j.clientHeight,et.x.containerLength=_.clientWidth,et.y.containerLength=_.clientHeight}function createOnScrollHandler(_,j,et,tt={}){return{measure:rt=>{measure(_,tt.target,et),updateScrollInfo(_,et,rt),(tt.offset||tt.target)&&resolveOffsets(_,et,tt)},notify:()=>j(et)}}const scrollListeners=new WeakMap,resizeListeners=new WeakMap,onScrollHandlers=new WeakMap,scrollSize=new WeakMap,dimensionCheckProcesses=new WeakMap,getEventTarget=_=>_===document.scrollingElement?window:_;function scrollInfo(_,{container:j=document.scrollingElement,trackContentSize:et=!1,...tt}={}){if(!j)return noop$5;let rt=onScrollHandlers.get(j);rt||(rt=new Set,onScrollHandlers.set(j,rt));const nt=createScrollInfo(),it=createOnScrollHandler(j,_,nt,tt);if(rt.add(it),!scrollListeners.has(j)){const at=()=>{for(const ut of rt)ut.measure(frameData.timestamp);frame.preUpdate(ot)},ot=()=>{for(const ut of rt)ut.notify()},lt=()=>frame.read(at);scrollListeners.set(j,lt);const ct=getEventTarget(j);window.addEventListener("resize",lt,{passive:!0}),j!==document.documentElement&&resizeListeners.set(j,resize(j,lt)),ct.addEventListener("scroll",lt,{passive:!0}),lt()}if(et&&!dimensionCheckProcesses.has(j)){const at=scrollListeners.get(j),ot={width:j.scrollWidth,height:j.scrollHeight};scrollSize.set(j,ot);const lt=()=>{const ut=j.scrollWidth,dt=j.scrollHeight;(ot.width!==ut||ot.height!==dt)&&(at(),ot.width=ut,ot.height=dt)},ct=frame.read(lt,!0);dimensionCheckProcesses.set(j,ct)}const st=scrollListeners.get(j);return frame.read(st,!1,!0),()=>{var ct;cancelFrame(st);const at=onScrollHandlers.get(j);if(!at||(at.delete(it),at.size))return;const ot=scrollListeners.get(j);scrollListeners.delete(j),ot&&(getEventTarget(j).removeEventListener("scroll",ot),(ct=resizeListeners.get(j))==null||ct(),window.removeEventListener("resize",ot));const lt=dimensionCheckProcesses.get(j);lt&&(cancelFrame(lt),dimensionCheckProcesses.delete(j)),scrollSize.delete(j)}}const timelineCache=new Map;function scrollTimelineFallback(_){const j={value:0},et=scrollInfo(tt=>{j.value=tt[_.axis].progress*100},_);return{currentTime:j,cancel:et}}function getTimeline({source:_,container:j,...et}){const{axis:tt}=et;_&&(j=_);const rt=timelineCache.get(j)??new Map;timelineCache.set(j,rt);const nt=et.target??"self",it=rt.get(nt)??{},st=tt+(et.offset??[]).join(",");return it[st]||(it[st]=!et.target&&supportsScrollTimeline()?new ScrollTimeline({source:j,axis:tt}):scrollTimelineFallback({container:j,...et})),it[st]}function attachToAnimation(_,j){const et=getTimeline(j);return _.attachTimeline({timeline:j.target?void 0:et,observe:tt=>(tt.pause(),observeTimeline(rt=>{tt.time=tt.iterationDuration*rt},et))})}function isOnScrollWithInfo(_){return _.length===2}function attachToFunction(_,j){return isOnScrollWithInfo(_)?scrollInfo(et=>{_(et[j.axis].progress,et)},j):observeTimeline(_,getTimeline(j))}function scroll(_,{axis:j="y",container:et=document.scrollingElement,...tt}={}){if(!et)return noop$5;const rt={axis:j,container:et,...tt};return typeof _=="function"?attachToFunction(_,rt):attachToAnimation(_,rt)}const createScrollMotionValues=()=>({scrollX:motionValue(0),scrollY:motionValue(0),scrollXProgress:motionValue(0),scrollYProgress:motionValue(0)}),isRefPending=_=>_?!_.current:!1;function useScroll({container:_,target:j,...et}={}){const tt=useConstant(createScrollMotionValues),rt=reactExports.useRef(null),nt=reactExports.useRef(!1),it=reactExports.useCallback(()=>(rt.current=scroll((st,{x:at,y:ot})=>{tt.scrollX.set(at.current),tt.scrollXProgress.set(at.progress),tt.scrollY.set(ot.current),tt.scrollYProgress.set(ot.progress)},{...et,container:(_==null?void 0:_.current)||void 0,target:(j==null?void 0:j.current)||void 0}),()=>{var st;(st=rt.current)==null||st.call(rt)}
679),[_,j,JSON.stringify(et.offset)]);return useIsomorphicLayoutEffect$1(()=>{if(nt.current=!1,isRefPending(_)||isRefPending(j)){nt.current=!0;return}else return it()},[it]),reactExports.useEffect(()=>{if(nt.current)return invariant$1(!isRefPending(_),"Container ref is defined but not hydrated","use-scroll-ref"),invariant$1(!isRefPending(j),"Target ref is defined but not hydrated","use-scroll-ref"),it()},[it]),tt}function useMotionValue(_){const j=useConstant(()=>motionValue(_)),{isStatic:et}=reactExports.useContext(MotionConfigContext);if(et){const[,tt]=reactExports.useState(_);reactExports.useEffect(()=>j.on("change",tt),[])}return j}function useCombineMotionValues(_,j){const et=useMotionValue(j()),tt=()=>et.set(j());return tt(),useIsomorphicLayoutEffect$1(()=>{const rt=()=>frame.preRender(tt,!1,!0),nt=_.map(it=>it.on("change",rt));return()=>{nt.forEach(it=>it()),cancelFrame(tt)}}),et}function useMotionTemplate(_,...j){const et=_.length;function tt(){let rt="";for(let nt=0;nt<et;nt++){rt+=_[nt];const it=j[nt];it&&(rt+=isMotionValue(it)?it.get():it)}return rt}return useCombineMotionValues(j.filter(isMotionValue),tt)}function useComputed(_){collectMotionValues.current=[],_();const j=useCombineMotionValues(collectMotionValues.current,_);return collectMotionValues.current=void 0,j}function useTransform(_,j,et,tt){if(typeof _=="function")return useComputed(_);if(et!==void 0&&!Array.isArray(et)&&typeof j!="function")return useMapTransform(_,j,et,tt);const it=typeof j=="function"?j:transform(j,et,tt);return Array.isArray(_)?useListTransform(_,it):useListTransform([_],([st])=>it(st))}function useListTransform(_,j){const et=useConstant(()=>[]);return useCombineMotionValues(_,()=>{et.length=0;const tt=_.length;for(let rt=0;rt<tt;rt++)et[rt]=_[rt].get();return j(et)})}function useMapTransform(_,j,et,tt){const rt=useConstant(()=>Object.keys(et)),nt=useConstant(()=>({}));for(const it of rt)nt[it]=useTransform(_,j,et[it],tt);return nt}function useFollowValue(_,j={}){const{isStatic:et}=reactExports.useContext(MotionConfigContext),tt=()=>isMotionValue(_)?_.get():_;if(et)return useTransform(tt);const rt=useMotionValue(tt());return reactExports.useInsertionEffect(()=>attachFollow(rt,_,j),[rt,JSON.stringify(j)]),rt}function useSpring(_,j={}){return useFollowValue(_,{type:"spring",...j})}const thresholds={some:0,all:1};function inView(_,j,{root:et,margin:tt,amount:rt="some"}={}){const nt=resolveElements(_),it=new WeakMap,st=ot=>{ot.forEach(lt=>{const ct=it.get(lt.target);if(lt.isIntersecting!==!!ct)if(lt.isIntersecting){const ut=j(lt.target,lt);typeof ut=="function"?it.set(lt.target,ut):at.unobserve(lt.target)}else typeof ct=="function"&&(ct(lt),it.delete(lt.target))})},at=new IntersectionObserver(st,{root:et,rootMargin:tt,threshold:typeof rt=="number"?rt:thresholds[rt]});return nt.forEach(ot=>at.observe(ot)),()=>at.disconnect()}function useInView(_,{root:j,margin:et,amount:tt,once:rt=!1,initial:nt=!1}={}){const[it,st]=reactExports.useState(nt);return reactExports.useEffect(()=>{if(!_.current||rt&&it)return;const at=()=>(st(!0),rt?void 0:()=>st(!1)),ot={root:j&&j.current||void 0,margin:et,amount:tt};return inView(_.current,at,ot)},[j,_,et,rt,tt]),it}const navLinks=["Product","How SnapShot Works","Examples","Pricing","FAQ"],Navbar=()=>{const[_,j]=reactExports.useState(!1),[et,tt]=reactExports.useState(null),rt=useNavigate(),{scrollY:nt}=useScroll(),it=useMotionTemplate`rgba(10,10,10,${useTransform(nt,[0,120],[.4,.92])})`,st=useMotionTemplate`rgba(255,255,255,${useTransform(nt,[0,120],[.06,.1])})`;reactExports.useEffect(()=>{supabase.auth.getSession().then(({data:{session:lt}})=>{tt((lt==null?void 0:lt.user)??null)});const{data:{subscription:ot}}=supabase.auth.onAuthStateChange((lt,ct)=>{tt((ct==null?void 0:ct.user)??null)});return()=>ot.unsubscribe()},[]);const at=async()=>{await supabase.auth.signOut(),tt(null),rt("/")};return jsxRuntimeExports.jsxs(motion.nav,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},transition:{duration:.5,ease:"easeOut"},className:"fixed top-0 left-0 right-0 z-50 pt-4 px-4 md:px-5 lg:px-6",children:[jsxRuntimeExports.jsx(motion.div,{className:"max-w-6xl mx-auto rounded-2xl backdrop-blur-xl border transition-colors duration-300",style:{backgroundColor:it,borderColor:st},children:jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between h-14 md:h-[3.75rem] lg:h-16 px-4 md:px-6 lg:px-8",children:[jsxRuntimeExports.jsx("a",{href:"/",className:"flex items-center shrink-0",children:jsxRuntimeExports.jsx("img",{src:snapshotLogo,alt:"Snapshot",className:"h-8 w-auto sm:h-9"})}),jsxRuntimeExports.jsx("div",{className:"hidden md:flex items-center gap-6 lg:gap-10",children:navLinks.map(ot=>jsxRuntimeExports.jsx("a",{href:`/#${ot.toLowerCase().replace(/\s+/g,"-")}`,className:"text-sm font-medium text-white/70 hover:text-white transition-colors duration-200 tracking-wide",children:ot},ot))}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3",children:[et?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("button",{onClick:at,className:"hidden sm:block text-sm font-medium text-white/70 hover:text-white transition-colors duration-200",children:"Logout"}),jsxRuntimeExports.jsx(Link,{to:"/app",className:"hidden sm:block",children:jsxRuntimeExports.jsxs(Button,{size:"sm",className:"bg-gradient-to-r from-logo-purple to-electric-blue text-white font-medium rounded-xl px-5 shadow-lg shadow-logo-purple/20 hover:shadow-logo-purple/40 hover:brightness-110 transition-all duration-200",children:["Dashboard",jsxRuntimeExports.jsx(ArrowRight,{className:"w-3.5 h-3.5 ml-1.5"})]})})]}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Link,{to:"/auth",className:"hidden sm:block",children:jsxRuntimeExports.jsx("span",{className:"text-sm font-medium text-white/70 hover:text-white transition-colors duration-200",children:"Login"})}),jsxRuntimeExports.jsx(Link,{to:"/app",className:"hidden sm:block",children:jsxRuntimeExports.jsxs(Button,{size:"sm",className:"bg-gradient-to-r from-logo-purple to-electric-blue text-white font-medium rounded-xl px-5 shadow-lg shadow-logo-purple/20 hover:shadow-logo-purple/40 hover:brightness-110 transition-all duration-200",children:["Get Started",jsxRuntimeExports.jsx(ArrowRight,{className:"w-3.5 h-3.5 ml-1.5"})]})})]}),jsxRuntimeExports.jsxs("button",{className:"md:hidden flex flex-col justify-center gap-1.5 w-10 h-10 rounded-lg hover:bg-white/5 transition-colors",onClick:()=>j(!_),"aria-label":"Toggle menu",children:[jsxRuntimeExports.jsx(motion.span,{animate:_?{rotate:45,y:5}:{rotate:0,y:0}
679,className:"block w-5 h-[1.5px] bg-foreground/90 origin-center",transition:{type:"spring",stiffness:300,damping:25}}),jsxRuntimeExports.jsx(motion.span,{animate:_?{opacity:0}:{opacity:1},className:"block w-5 h-[1.5px] bg-foreground/90",transition:{duration:.15}}),jsxRuntimeExports.jsx(motion.span,{animate:_?{rotate:-45,y:-5}:{rotate:0,y:0},className:"block w-5 h-[1.5px] bg-foreground/90 origin-center",transition:{type:"spring",stiffness:300,damping:25}})]})]})]})}),jsxRuntimeExports.jsx(AnimatePresence,{children:_&&jsxRuntimeExports.jsx(motion.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.25,ease:"easeOut"},className:"md:hidden overflow-hidden mt-2 max-w-6xl mx-auto rounded-2xl border border-white/[0.08]",children:jsxRuntimeExports.jsx("div",{className:"bg-deep-black/95 backdrop-blur-xl rounded-2xl",children:jsxRuntimeExports.jsxs("div",{className:"px-6 py-5 flex flex-col gap-1",children:[navLinks.map(ot=>jsxRuntimeExports.jsx("a",{href:`/#${ot.toLowerCase().replace(/\s+/g,"-")}`,className:"py-3 text-sm font-medium text-white/70 hover:text-white transition-colors duration-200",onClick:()=>j(!1),children:ot},ot)),jsxRuntimeExports.jsx("div",{className:"mt-3 pt-4 border-t border-white/[0.06] flex flex-col gap-3",children:et?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsxs(Button,{variant:"outline",size:"sm",className:"w-full border-white/15 text-foreground/90 hover:bg-white/5 rounded-xl",onClick:()=>{at(),j(!1)},children:[jsxRuntimeExports.jsx(LogOut,{className:"w-3.5 h-3.5 mr-1.5"}),"Logout"]}),jsxRuntimeExports.jsx(Link,{to:"/app",onClick:()=>j(!1),children:jsxRuntimeExports.jsxs(Button,{size:"sm",className:"w-full bg-gradient-to-r from-logo-purple to-electric-blue text-white font-medium rounded-xl",children:["Dashboard",jsxRuntimeExports.jsx(ArrowRight,{className:"w-3.5 h-3.5 ml-1.5"})]})})]}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Link,{to:"/auth",onClick:()=>j(!1),children:jsxRuntimeExports.jsx(Button,{variant:"outline",size:"sm",className:"w-full border-white/15 text-foreground/90 hover:bg-white/5 rounded-xl",children:"Login"})}),jsxRuntimeExports.jsx(Link,{to:"/app",onClick:()=>j(!1),children:jsxRuntimeExports.jsxs(Button,{size:"sm",className:"w-full bg-gradient-to-r from-logo-purple to-electric-blue text-white font-medium rounded-xl",children:["Get Started",jsxRuntimeExports.jsx(ArrowRight,{className:"w-3.5 h-3.5 ml-1.5"})]})})]})})]})})})})]})},MagneticButton=({children:_,className:j,strength:et=.3})=>{const tt=reactExports.useRef(null),rt=useMotionValue(0),nt=useMotionValue(0),it={stiffness:300,damping:20},st=useSpring(rt,it),at=useSpring(nt,it),ot=ct=>{const ut=tt.current;if(!ut)return;const dt=ut.getBoundingClientRect(),ht=dt.left+dt.width/2,pt=dt.top+dt.height/2;rt.set((ct.clientX-ht)*et),nt.set((ct.clientY-pt)*et)},lt=()=>{rt.set(0),nt.set(0)};return jsxRuntimeExports.jsx(motion.div,{ref:tt,className:cn("inline-block",j),style:{x:st,y:at},onMouseMove:ot,onMouseLeave:lt,children:_})};function _assertThisInitialized$j(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _inheritsLoose(_,j){_.prototype=Object.create(j.prototype),_.prototype.constructor=_,_.__proto__=j}/*! 680 * GSAP 3.14.2 681 * https://gsap.com 682 * 683 * @license Copyright 2008-2025, GreenSock. All rights reserved. 684 * Subject to the terms at https://gsap.com/standard-license 685 * @author: Jack Doyle, [email protected] 686*/var _config={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},_defaults$1={duration:.5,overwrite:!1,delay:0},_suppressOverwrites$1,_reverting$1,_context$2,_bigNum$1=1e8,_tinyNum=1/_bigNum$1,_2PI=Math.PI*2,_HALF_PI=_2PI/4,_gsID=0,_sqrt=Math.sqrt,_cos=Math.cos,_sin=Math.sin,_isString$1=function(j){return typeof j=="string"},_isFunction$1=function(j){return typeof j=="function"},_isNumber$1=function(j){return typeof j=="number"},_isUndefined=function(j){return typeof j>"u"},_isObject$1=function(j){return typeof j=="object"},_isNotFalse=function(j){return j!==!1}
vendor: 5,950 bytes, line 686
686,_windowExists$2=function(){return typeof window<"u"},_isFuncOrString=function(j){return _isFunction$1(j)||_isString$1(j)},_isTypedArray=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},_isArray=Array.isArray,_randomExp=/random\([^)]+\)/g,_commaDelimExp=/,\s*/g,_strictNumExp=/(?:-?\.?\d|\.)+/gi,_numExp=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,_numWithUnitExp=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,_complexStringNumExp=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,_relExp=/[+-]=-?[.\d]+/,_delimitedValueExp=/[^,'"\[\]\s]+/gi,_unitExp=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,_globalTimeline,_win$3,_coreInitted$2,_doc$3,_globals={},_installScope={},_coreReady,_install=function(j){return(_installScope=_merge(j,_globals))&&gsap$2},_missingPlugin=function(j,et){return console.warn("Invalid property",j,"set to",et,"Missing plugin? gsap.registerPlugin()")},_warn=function(j,et){return!et&&console.warn(j)},_addGlobal=function(j,et){return j&&(_globals[j]=et)&&_installScope&&(_installScope[j]=et)||_globals},_emptyFunc=function(){return 0},_startAtRevertConfig={suppressEvents:!0,isStart:!0,kill:!1},_revertConfigNoKill={suppressEvents:!0,kill:!1},_revertConfig={suppressEvents:!0},_reservedProps={},_lazyTweens=[],_lazyLookup={},_lastRenderedFrame,_plugins={},_effects={},_nextGCFrame=30,_harnessPlugins=[],_callbackNames="",_harness=function(j){var et=j[0],tt,rt;if(_isObject$1(et)||_isFunction$1(et)||(j=[j]),!(tt=(et._gsap||{}).harness)){for(rt=_harnessPlugins.length;rt--&&!_harnessPlugins[rt].targetTest(et););tt=_harnessPlugins[rt]}for(rt=j.length;rt--;)j[rt]&&(j[rt]._gsap||(j[rt]._gsap=new GSCache(j[rt],tt)))||j.splice(rt,1);return j},_getCache=function(j){return j._gsap||_harness(toArray$1(j))[0]._gsap},_getProperty=function(j,et,tt){return(tt=j[et])&&_isFunction$1(tt)?j[et]():_isUndefined(tt)&&j.getAttribute&&j.getAttribute(et)||tt},_forEachName=function(j,et){return(j=j.split(",")).forEach(et)||j},_round$1=function(j){return Math.round(j*1e5)/1e5||0},_roundPrecise=function(j){return Math.round(j*1e7)/1e7||0},_parseRelative=function(j,et){var tt=et.charAt(0),rt=parseFloat(et.substr(2));return j=parseFloat(j),tt==="+"?j+rt:tt==="-"?j-rt:tt==="*"?j*rt:j/rt},_arrayContainsAny=function(j,et){for(var tt=et.length,rt=0;j.indexOf(et[rt])<0&&++rt<tt;);return rt<tt},_lazyRender=function(){var j=_lazyTweens.length,et=_lazyTweens.slice(0),tt,rt;for(_lazyLookup={},_lazyTweens.length=0,tt=0;tt<j;tt++)rt=et[tt],rt&&rt._lazy&&(rt.render(rt._lazy[0],rt._lazy[1],!0)._lazy=0)},_isRevertWorthy=function(j){return!!(j._initted||j._startAt||j.add)},_lazySafeRender=function(j,et,tt,rt){_lazyTweens.length&&!_reverting$1&&_lazyRender(),j.render(et,tt,!!(_reverting$1&&et<0&&_isRevertWorthy(j))),_lazyTweens.length&&!_reverting$1&&_lazyRender()},_numericIfPossible=function(j){var et=parseFloat(j);return(et||et===0)&&(j+"").match(_delimitedValueExp).length<2?et:_isString$1(j)?j.trim():j},_passThrough$1=function(j){return j},_setDefaults$1=function(j,et){for(var tt in et)tt in j||(j[tt]=et[tt]);return j},_setKeyframeDefaults=function(j){return function(et,tt){for(var rt in tt)rt in et||rt==="duration"&&j||rt==="ease"||(et[rt]=tt[rt])}},_merge=function(j,et){for(var tt in et)j[tt]=et[tt];return j},_mergeDeep=function _(j,et){for(var tt in et)tt!=="__proto__"&&tt!=="constructor"&&tt!=="prototype"&&(j[tt]=_isObject$1(et[tt])?_(j[tt]||(j[tt]={}),et[tt]):et[tt]);return j},_copyExcluding=function(j,et){var tt={},rt;for(rt in j)rt in et||(tt[rt]=j[rt]);return tt},_inheritDefaults=function(j){var et=j.parent||_globalTimeline,tt=j.keyframes?_setKeyframeDefaults(_isArray(j.keyframes)):_setDefaults$1;if(_isNotFalse(j.inherit))for(;et;)tt(j,et.vars.defaults),et=et.parent||et._dp;return j},_arraysMatch=function(j,et){for(var tt=j.length,rt=tt===et.length;rt&&tt--&&j[tt]===et[tt];);return tt<0},_addLinkedListItem=function(j,et,tt,rt,nt){var it=j[rt],st;if(nt)for(st=et[nt];it&&it[nt]>st;)it=it._prev;return it?(et._next=it._next,it._next=et):(et._next=j[tt],j[tt]=et),et._next?et._next._prev=et:j[rt]=et,et._prev=it,et.parent=et._dp=j,et},_removeLinkedListItem=function(j,et,tt,rt){tt===void 0&&(tt="_first"),rt===void 0&&(rt="_last");var nt=et._prev,it=et._next;nt?nt._next=it:j[tt]===et&&(j[tt]=it),it?it._prev=nt:j[rt]===et&&(j[rt]=nt),et._next=et._prev=et.parent=null},_removeFromParent=function(j,et){j.parent&&(!et||j.parent.autoRemoveChildren)&&j.parent.remove&&j.parent.remove(j),j._act=0},_uncache=function(j,et){if(j&&(!et||et._end>j._dur||et._start<0))for(var tt=j;tt;)tt._dirty=1,tt=tt.parent;return j},_recacheAncestors=function(j){for(var et=j.parent;et&&et.parent;)et._dirty=1,et.totalDuration(),et=et.parent;return j},_rewindStartAt=function(j,et,tt,rt){return j._startAt&&(_reverting$1?j._startAt.revert(_revertConfigNoKill):j.vars.immediateRender&&!j.vars.autoRevert||j._startAt.render(et,!0,rt))},_hasNoPausedAncestors=function _(j){return!j||j._ts&&_(j.parent)},_elapsedCycleDuration=function(j){return j._repeat?_animationCycle(j._tTime,j=j.duration()+j._rDelay)*j:0},_animationCycle=function(j,et){var tt=Math.floor(j=_roundPrecise(j/et));return j&&tt===j?tt-1:tt},_parentToChildTotalTime=function(j,et){return(j-et._start)*et._ts+(et._ts>=0?0:et._dirty?et.totalDuration():et._tDur)},_setEnd=function(j){return j._end=_roundPrecise(j._start+(j._tDur/Math.abs(j._ts||j._rts||_tinyNum)||0))},_alignPlayhead=function(j,et){var tt=j._dp;return tt&&tt.smoothChildTiming&&j._ts&&(j._start=_roundPrecise(tt._time-(j._ts>0?et/j._ts:((j._dirty?j.totalDuration():j._tDur)-et)/-j._ts)),_setEnd(j),tt._dirty||_uncache(tt,j)),j},_postAddChecks=function(j,et){var tt;if((et._time||!et._dur&&et._initted||et._start<j._time&&(et._dur||!et.add))&&(tt=_parentToChildTotalTime(j.rawTime(),et),(!et._dur||_clamp$1(0,et.totalDuration(),tt)-et._tTime>_tinyNum)&&et.render(tt,!0)),_uncache(j,et)._dp&&j._initted&&j._time>=j._dur&&j._ts){if(j._dur<j.duration())for(tt=j;tt._dp;)tt.rawTime()>=0&&tt.totalTime(tt._tTime),tt=tt._dp;j._zTime=-_tinyNum}}
vendor: 4,181 bytes, line 686
686,_addToTimeline=function(j,et,tt,rt){return et.parent&&_removeFromParent(et),et._start=_roundPrecise((_isNumber$1(tt)?tt:tt||j!==_globalTimeline?_parsePosition$1(j,tt,et):j._time)+et._delay),et._end=_roundPrecise(et._start+(et.totalDuration()/Math.abs(et.timeScale())||0)),_addLinkedListItem(j,et,"_first","_last",j._sort?"_start":0),_isFromOrFromStart(et)||(j._recent=et),rt||_postAddChecks(j,et),j._ts<0&&_alignPlayhead(j,j._tTime),j},_scrollTrigger=function(j,et){return(_globals.ScrollTrigger||_missingPlugin("scrollTrigger",et))&&_globals.ScrollTrigger.create(et,j)},_attemptInitTween=function(j,et,tt,rt,nt){if(_initTween(j,et,nt),!j._initted)return 1;if(!tt&&j._pt&&!_reverting$1&&(j._dur&&j.vars.lazy!==!1||!j._dur&&j.vars.lazy)&&_lastRenderedFrame!==_ticker.frame)return _lazyTweens.push(j),j._lazy=[nt,rt],1},_parentPlayheadIsBeforeStart=function _(j){var et=j.parent;return et&&et._ts&&et._initted&&!et._lock&&(et.rawTime()<0||_(et))},_isFromOrFromStart=function(j){var et=j.data;return et==="isFromStart"||et==="isStart"},_renderZeroDurationTween=function(j,et,tt,rt){var nt=j.ratio,it=et<0||!et&&(!j._start&&_parentPlayheadIsBeforeStart(j)&&!(!j._initted&&_isFromOrFromStart(j))||(j._ts<0||j._dp._ts<0)&&!_isFromOrFromStart(j))?0:1,st=j._rDelay,at=0,ot,lt,ct;if(st&&j._repeat&&(at=_clamp$1(0,j._tDur,et),lt=_animationCycle(at,st),j._yoyo&<&1&&(it=1-it),lt!==_animationCycle(j._tTime,st)&&(nt=1-it,j.vars.repeatRefresh&&j._initted&&j.invalidate())),it!==nt||_reverting$1||rt||j._zTime===_tinyNum||!et&&j._zTime){if(!j._initted&&_attemptInitTween(j,et,rt,tt,at))return;for(ct=j._zTime,j._zTime=et||(tt?_tinyNum:0),tt||(tt=et&&!ct),j.ratio=it,j._from&&(it=1-it),j._time=0,j._tTime=at,ot=j._pt;ot;)ot.r(it,ot.d),ot=ot._next;et<0&&_rewindStartAt(j,et,tt,!0),j._onUpdate&&!tt&&_callback$1(j,"onUpdate"),at&&j._repeat&&!tt&&j.parent&&_callback$1(j,"onRepeat"),(et>=j._tDur||et<0)&&j.ratio===it&&(it&&_removeFromParent(j,1),!tt&&!_reverting$1&&(_callback$1(j,it?"onComplete":"onReverseComplete",!0),j._prom&&j._prom()))}else j._zTime||(j._zTime=et)},_findNextPauseTween=function(j,et,tt){var rt;if(tt>et)for(rt=j._first;rt&&rt._start<=tt;){if(rt.data==="isPause"&&rt._start>et)return rt;rt=rt._next}else for(rt=j._last;rt&&rt._start>=tt;){if(rt.data==="isPause"&&rt._start<et)return rt;rt=rt._prev}},_setDuration=function(j,et,tt,rt){var nt=j._repeat,it=_roundPrecise(et)||0,st=j._tTime/j._tDur;return st&&!rt&&(j._time*=it/j._dur),j._dur=it,j._tDur=nt?nt<0?1e10:_roundPrecise(it*(nt+1)+j._rDelay*nt):it,st>0&&!rt&&_alignPlayhead(j,j._tTime=j._tDur*st),j.parent&&_setEnd(j),tt||_uncache(j.parent,j),j},_onUpdateTotalDuration=function(j){return j instanceof Timeline?_uncache(j):_setDuration(j,j._dur)},_zeroPosition={_start:0,endTime:_emptyFunc,totalDuration:_emptyFunc},_parsePosition$1=function _(j,et,tt){var rt=j.labels,nt=j._recent||_zeroPosition,it=j.duration()>=_bigNum$1?nt.endTime(!1):j._dur,st,at,ot;return _isString$1(et)&&(isNaN(et)||et in rt)?(at=et.charAt(0),ot=et.substr(-1)==="%",st=et.indexOf("="),at==="<"||at===">"?(st>=0&&(et=et.replace(/=/,"")),(at==="<"?nt._start:nt.endTime(nt._repeat>=0))+(parseFloat(et.substr(1))||0)*(ot?(st<0?nt:tt).totalDuration()/100:1)):st<0?(et in rt||(rt[et]=it),rt[et]):(at=parseFloat(et.charAt(st-1)+et.substr(st+1)),ot&&tt&&(at=at/100*(_isArray(tt)?tt[0]:tt).totalDuration()),st>1?_(j,et.substr(0,st-1),tt)+at:it+at)):et==null?it:+et},_createTweenType=function(j,et,tt){var rt=_isNumber$1(et[1]),nt=(rt?2:1)+(j<2?0:1),it=et[nt],st,at;if(rt&&(it.duration=et[1]),it.parent=tt,j){for(st=it,at=tt;at&&!("immediateRender"in st);)st=at.vars.defaults||{},at=_isNotFalse(at.vars.inherit)&&at.parent;it.immediateRender=_isNotFalse(st.immediateRender),j<2?it.runBackwards=1:it.startAt=et[nt-1]}return new Tween(et[0],it,et[nt+1])},_conditionalReturn=function(j,et){return j||j===0?et(j):et},_clamp$1=function(j,et,tt){return tt<j?j:tt>et?et:tt},getUnit=function(j,et){return!_isString$1(j)||!(et=_unitExp.exec(j))?"":et[1]},clamp$2=function(j,et,tt){return _conditionalReturn(tt,function(rt){return _clamp$1(j,et,rt)})},_slice=[].slice,_isArrayLike=function(j,et){return j&&_isObject$1(j)&&"length"in j&&(!et&&!j.length||j.length-1
vendor: 4,393 bytes, line 686
686in j&&_isObject$1(j[0]))&&!j.nodeType&&j!==_win$3},_flatten=function(j,et,tt){return tt===void 0&&(tt=[]),j.forEach(function(rt){var nt;return _isString$1(rt)&&!et||_isArrayLike(rt,1)?(nt=tt).push.apply(nt,toArray$1(rt)):tt.push(rt)})||tt},toArray$1=function(j,et,tt){return _context$2&&!et&&_context$2.selector?_context$2.selector(j):_isString$1(j)&&!tt&&(_coreInitted$2||!_wake())?_slice.call((et||_doc$3).querySelectorAll(j),0):_isArray(j)?_flatten(j,tt):_isArrayLike(j)?_slice.call(j,0):j?[j]:[]},selector=function(j){return j=toArray$1(j)[0]||_warn("Invalid scope")||{},function(et){var tt=j.current||j.nativeElement||j;return toArray$1(et,tt.querySelectorAll?tt:tt===j?_warn("Invalid scope")||_doc$3.createElement("div"):j)}},shuffle=function(j){return j.sort(function(){return .5-Math.random()})},distribute=function(j){if(_isFunction$1(j))return j;var et=_isObject$1(j)?j:{each:j},tt=_parseEase(et.ease),rt=et.from||0,nt=parseFloat(et.base)||0,it={},st=rt>0&&rt<1,at=isNaN(rt)||st,ot=et.axis,lt=rt,ct=rt;return _isString$1(rt)?lt=ct={center:.5,edges:.5,end:1}[rt]||0:!st&&at&&(lt=rt[0],ct=rt[1]),function(ut,dt,ht){var pt=(ht||et).length,gt=it[pt],ft,mt,xt,yt,vt,bt,Et,_t,wt;if(!gt){if(wt=et.grid==="auto"?0:(et.grid||[1,_bigNum$1])[1],!wt){for(Et=-_bigNum$1;Et<(Et=ht[wt++].getBoundingClientRect().left)&&wt<pt;);wt<pt&&wt--}for(gt=it[pt]=[],ft=at?Math.min(wt,pt)*lt-.5:rt%wt,mt=wt===_bigNum$1?0:at?pt*ct/wt-.5:rt/wt|0,Et=0,_t=_bigNum$1,bt=0;bt<pt;bt++)xt=bt%wt-ft,yt=mt-(bt/wt|0),gt[bt]=vt=ot?Math.abs(ot==="y"?yt:xt):_sqrt(xt*xt+yt*yt),vt>Et&&(Et=vt),vt<_t&&(_t=vt);rt==="random"&&shuffle(gt),gt.max=Et-_t,gt.min=_t,gt.v=pt=(parseFloat(et.amount)||parseFloat(et.each)*(wt>pt?pt-1:ot?ot==="y"?pt/wt:wt:Math.max(wt,pt/wt))||0)*(rt==="edges"?-1:1),gt.b=pt<0?nt-pt:nt,gt.u=getUnit(et.amount||et.each)||0,tt=tt&&pt<0?_invertEase(tt):tt}return pt=(gt[ut]-gt.min)/gt.max||0,_roundPrecise(gt.b+(tt?tt(pt):pt)*gt.v)+gt.u}},_roundModifier=function(j){var et=Math.pow(10,((j+"").split(".")[1]||"").length);return function(tt){var rt=_roundPrecise(Math.round(parseFloat(tt)/j)*j*et);return(rt-rt%1)/et+(_isNumber$1(tt)?0:getUnit(tt))}},snap=function(j,et){var tt=_isArray(j),rt,nt;return!tt&&_isObject$1(j)&&(rt=tt=j.radius||_bigNum$1,j.values?(j=toArray$1(j.values),(nt=!_isNumber$1(j[0]))&&(rt*=rt)):j=_roundModifier(j.increment)),_conditionalReturn(et,tt?_isFunction$1(j)?function(it){return nt=j(it),Math.abs(nt-it)<=rt?nt:it}:function(it){for(var st=parseFloat(nt?it.x:it),at=parseFloat(nt?it.y:0),ot=_bigNum$1,lt=0,ct=j.length,ut,dt;ct--;)nt?(ut=j[ct].x-st,dt=j[ct].y-at,ut=ut*ut+dt*dt):ut=Math.abs(j[ct]-st),ut<ot&&(ot=ut,lt=ct);return lt=!rt||ot<=rt?j[lt]:it,nt||lt===it||_isNumber$1(it)?lt:lt+getUnit(it)}:_roundModifier(j))},random=function(j,et,tt,rt){return _conditionalReturn(_isArray(j)?!et:tt===!0?!!(tt=0):!rt,function(){return _isArray(j)?j[~~(Math.random()*j.length)]:(tt=tt||1e-5)&&(rt=tt<1?Math.pow(10,(tt+"").length-2):1)&&Math.floor(Math.round((j-tt/2+Math.random()*(et-j+tt*.99))/tt)*tt*rt)/rt})},pipe=function(){for(var j=arguments.length,et=new Array(j),tt=0;tt<j;tt++)et[tt]=arguments[tt];return function(rt){return et.reduce(function(nt,it){return it(nt)},rt)}},unitize=function(j,et){return function(tt){return j(parseFloat(tt))+(et||getUnit(tt))}},normalize$1=function(j,et,tt){return mapRange(j,et,0,1,tt)},_wrapArray=function(j,et,tt){return _conditionalReturn(tt,function(rt){return j[~~et(rt)]})},wrap=function _(j,et,tt){var rt=et-j;return _isArray(j)?_wrapArray(j,_(0,j.length),et):_conditionalReturn(tt,function(nt){return(rt+(nt-j)%rt)%rt+j})},wrapYoyo=function _(j,et,tt){var rt=et-j,nt=rt*2;return _isArray(j)?_wrapArray(j,_(0,j.length-1),et):_conditionalReturn(tt,function(it){return it=(nt+(it-j)%nt)%nt||0,j+(it>rt?nt-it:it)})},_replaceRandom=function(j){return j.replace(_randomExp,function(et){var tt=et.indexOf("[")+1,rt=et.substring(tt||7,tt?et.indexOf("]"):et.length-1).split(_commaDelimExp);return random(tt?rt:+rt[0],tt?0:+rt[1],+rt[2]||1e-5)})},mapRange=function(j,et,tt,rt,nt){var it=et-j,st=rt-tt;return _conditionalReturn(nt,function(at){return tt+((at-j)/it*st||0)})},interpolate$1=function _(j,et,tt,rt){var nt=isNaN(j+et)?0:function(dt){return(1-dt)*j+dt*et};if(!nt){var it=_isString$1(j),st={},at,ot,lt,ct,ut;if(tt===!0&&(rt=1)&&(tt=null),it)j={p:j},et={p:et};else if(_isArray(j)&&!_isArray(et)){for(lt=[],ct=j.length,ut=ct-2,ot=1;ot<ct;
vendor: 8,895 bytes, line 686
686ot++)lt.push(_(j[ot-1],j[ot]));ct--,nt=function(ht){ht*=ct;var pt=Math.min(ut,~~ht);return lt[pt](ht-pt)},tt=et}else rt||(j=_merge(_isArray(j)?[]:{},j));if(!lt){for(at in et)_addPropTween.call(st,j,at,"get",et[at]);nt=function(ht){return _renderPropTweens(ht,st)||(it?j.p:j)}}}return _conditionalReturn(tt,nt)},_getLabelInDirection=function(j,et,tt){var rt=j.labels,nt=_bigNum$1,it,st,at;for(it in rt)st=rt[it]-et,st<0==!!tt&&st&&nt>(st=Math.abs(st))&&(at=it,nt=st);return at},_callback$1=function(j,et,tt){var rt=j.vars,nt=rt[et],it=_context$2,st=j._ctx,at,ot,lt;if(nt)return at=rt[et+"Params"],ot=rt.callbackScope||j,tt&&_lazyTweens.length&&_lazyRender(),st&&(_context$2=st),lt=at?nt.apply(ot,at):nt.call(ot),_context$2=it,lt},_interrupt=function(j){return _removeFromParent(j),j.scrollTrigger&&j.scrollTrigger.kill(!!_reverting$1),j.progress()<1&&_callback$1(j,"onInterrupt"),j},_quickTween,_registerPluginQueue=[],_createPlugin=function(j){if(j)if(j=!j.name&&j.default||j,_windowExists$2()||j.headless){var et=j.name,tt=_isFunction$1(j),rt=et&&!tt&&j.init?function(){this._props=[]}:j,nt={init:_emptyFunc,render:_renderPropTweens,add:_addPropTween,kill:_killPropTweensOf,modifier:_addPluginModifier,rawVars:0},it={targetTest:0,get:0,getSetter:_getSetter,aliases:{},register:0};if(_wake(),j!==rt){if(_plugins[et])return;_setDefaults$1(rt,_setDefaults$1(_copyExcluding(j,nt),it)),_merge(rt.prototype,_merge(nt,_copyExcluding(j,it))),_plugins[rt.prop=et]=rt,j.targetTest&&(_harnessPlugins.push(rt),_reservedProps[et]=1),et=(et==="css"?"CSS":et.charAt(0).toUpperCase()+et.substr(1))+"Plugin"}_addGlobal(et,rt),j.register&&j.register(gsap$2,rt,PropTween)}else _registerPluginQueue.push(j)},_255=255,_colorLookup={aqua:[0,_255,_255],lime:[0,_255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,_255],navy:[0,0,128],white:[_255,_255,_255],olive:[128,128,0],yellow:[_255,_255,0],orange:[_255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[_255,0,0],pink:[_255,192,203],cyan:[0,_255,_255],transparent:[_255,_255,_255,0]},_hue=function(j,et,tt){return j+=j<0?1:j>1?-1:0,(j*6<1?et+(tt-et)*j*6:j<.5?tt:j*3<2?et+(tt-et)*(2/3-j)*6:et)*_255+.5|0},splitColor=function(j,et,tt){var rt=j?_isNumber$1(j)?[j>>16,j>>8&_255,j&_255]:0:_colorLookup.black,nt,it,st,at,ot,lt,ct,ut,dt,ht;if(!rt){if(j.substr(-1)===","&&(j=j.substr(0,j.length-1)),_colorLookup[j])rt=_colorLookup[j];else if(j.charAt(0)==="#"){if(j.length<6&&(nt=j.charAt(1),it=j.charAt(2),st=j.charAt(3),j="#"+nt+nt+it+it+st+st+(j.length===5?j.charAt(4)+j.charAt(4):"")),j.length===9)return rt=parseInt(j.substr(1,6),16),[rt>>16,rt>>8&_255,rt&_255,parseInt(j.substr(7),16)/255];j=parseInt(j.substr(1),16),rt=[j>>16,j>>8&_255,j&_255]}else if(j.substr(0,3)==="hsl"){if(rt=ht=j.match(_strictNumExp),!et)at=+rt[0]%360/360,ot=+rt[1]/100,lt=+rt[2]/100,it=lt<=.5?lt*(ot+1):lt+ot-lt*ot,nt=lt*2-it,rt.length>3&&(rt[3]*=1),rt[0]=_hue(at+1/3,nt,it),rt[1]=_hue(at,nt,it),rt[2]=_hue(at-1/3,nt,it);else if(~j.indexOf("="))return rt=j.match(_numExp),tt&&rt.length<4&&(rt[3]=1),rt}else rt=j.match(_strictNumExp)||_colorLookup.transparent;rt=rt.map(Number)}return et&&!ht&&(nt=rt[0]/_255,it=rt[1]/_255,st=rt[2]/_255,ct=Math.max(nt,it,st),ut=Math.min(nt,it,st),lt=(ct+ut)/2,ct===ut?at=ot=0:(dt=ct-ut,ot=lt>.5?dt/(2-ct-ut):dt/(ct+ut),at=ct===nt?(it-st)/dt+(it<st?6:0):ct===it?(st-nt)/dt+2:(nt-it)/dt+4,at*=60),rt[0]=~~(at+.5),rt[1]=~~(ot*100+.5),rt[2]=~~(lt*100+.5)),tt&&rt.length<4&&(rt[3]=1),rt},_colorOrderData=function(j){var et=[],tt=[],rt=-1;return j.split(_colorExp).forEach(function(nt){var it=nt.match(_numWithUnitExp)||[];et.push.apply(et,it),tt.push(rt+=it.length+1)}),et.c=tt,et},_formatColors=function(j,et,tt){var rt="",nt=(j+rt).match(_colorExp),it=et?"hsla(":"rgba(",st=0,at,ot,lt,ct;if(!nt)return j;if(nt=nt.map(function(ut){return(ut=splitColor(ut,et,1))&&it+(et?ut[0]+","+ut[1]+"%,"+ut[2]+"%,"+ut[3]:ut.join(","))+")"}),tt&&(lt=_colorOrderData(j),at=tt.c,at.join(rt)!==lt.c.join(rt)))for(ot=j.replace(_colorExp,"1").split(_numWithUnitExp),ct=ot.length-1;st<ct;st++)rt+=ot[st]+(~at.indexOf(st)?nt.shift()||it+"0,0,0,0)":(lt.length?lt:nt.length?nt:tt).shift());if(!ot)for(ot=j.split(_colorExp),ct=ot.length-1;st<ct;st++)rt+=ot[st]+nt[st];return rt+ot[ct]},_colorExp=function(){var _="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",j;for(j in _colorLookup)_+="|"+j+"\\b";return new RegExp(_+")","gi")}(),_hslExp=/hsl[a]?\(/,_colorStringFilter=function(j){var et=j.join(" "),tt;if(_colorExp.lastIndex=0,_colorExp.test(et))return tt=_hslExp.test(et),j[1]=_formatColors(j[1],tt),j[0]=_formatColors(j[0],tt,_colorOrderData(j[1])),!0},_tickerActive,_ticker=function(){var _=Date.now,j=500,et=33,tt=_(),rt=tt,nt=1e3/240,it=nt,st=[],at,ot,lt,ct,ut,dt,ht=function pt(gt){var ft=_()-rt,mt=gt===!0,xt,yt,vt,bt;if((ft>j||ft<0)&&(tt+=ft-et),rt+=ft,vt=rt-tt,xt=vt-it,(xt>0||mt)&&(bt=++ct.frame,ut=vt-ct.time*1e3,ct.time=vt=vt/1e3,it+=xt+(xt>=nt?4:nt-xt),yt=1),mt||(at=ot(pt)),yt)for(dt=0;dt<st.length;dt++)st[dt](vt,ut,bt,gt)};return ct={time:0,frame:0,tick:function(){ht(!0)},deltaRatio:function(gt){return ut/(1e3/(gt||60))},wake:function(){_coreReady&&(!_coreInitted$2&&_windowExists$2()&&(_win$3=_coreInitted$2=window,_doc$3=_win$3.document||{},_globals.gsap=gsap$2,(_win$3.gsapVersions||(_win$3.gsapVersions=[])).push(gsap$2.version),_install(_installScope||_win$3.GreenSockGlobals||!_win$3.gsap&&_win$3||{}),_registerPluginQueue.forEach(_createPlugin)),lt=typeof requestAnimationFrame<"u"&&requestAnimationFrame,at&&ct.sleep(),ot=lt||function(gt){return setTimeout(gt,it-ct.time*1e3+1|0)},_tickerActive=1,ht(2))},sleep:function(){(lt?cancelAnimationFrame:clearTimeout)(at),_tickerActive=0,ot=_emptyFunc},lagSmoothing:function(gt,ft){j=gt||1/0,et=Math.min(ft||33,j)},fps:function(gt){nt=1e3/(gt||240),it=ct.time*1e3+nt},add:function(gt,ft,mt){var xt=ft?function(yt,vt,bt,Et){gt(yt,vt,bt,Et),ct.remove(xt)}:gt;return ct.remove(gt),st[mt?"unshift":"push"](xt),_wake(),xt},remove:function(gt,ft){~(ft=st.indexOf(gt))&&st.splice(ft,1)&&dt>=ft&&dt--},_listeners:st},ct}(),_wake=function(){return!_tickerActive&&_ticker.wake()},_easeMap={},_customEaseExp=/^[\d.\-M][\d.\-,\s]/,_quotesExp=/["']/g,_parseObjectInString=function(j){for(var et={},tt=j.substr(1,j.length-3).split(":"),rt=tt[0],nt=1,it=tt.length,st,at,ot;nt<it;nt++)at=tt[nt],st=nt!==it-1?at.lastIndexOf(","):at.length,ot=at.substr(0,st),et[rt]=isNaN(ot)?ot.replace(_quotesExp,"").trim():+ot,rt=at.substr(st+1).trim();return et},_valueInParentheses=function(j){var et=j.indexOf("(")+1,tt=j.indexOf(")"),rt=j.indexOf("(",et);return j.substring(et,~rt&&rt<tt?j.indexOf(")",tt+1):tt)},_configEaseFromString=function(j){var et=(j+"").split("("),tt=_easeMap[et[0]];return tt&&et.length>1&&tt.config?tt.config.apply(null,~j.indexOf("{")?[_parseObjectInString(et[1])]:_valueInParentheses(j).split(",").map(_numericIfPossible)):_easeMap._CE&&_customEaseExp.test(j)?_easeMap._CE("",j):tt},_invertEase=function(j){return function(et){return 1-j(1-et)}},_propagateYoyoEase=function _(j,et){for(var tt=j._first,rt;tt;)tt instanceof Timeline?_(tt,et):tt.vars.yoyoEase&&(!tt._yoyo||!tt._repeat)&&tt._yoyo!==et&&(tt.timeline?_(tt.timeline,et):(rt=tt._ease,tt._ease=tt._yEase,tt._yEase=rt,tt._yoyo=et)),tt=tt._next},_parseEase=function(j,et){return j&&(_isFunction$1(j)?j:_easeMap[j]||_configEaseFromString(j))||et},_insertEase=function(j,et,tt,rt){tt===void 0&&(tt=function(at){return 1-et(1-at)}),rt===void 0&&(rt=function(at){return at<.5?et(at*2)/2:1-et((1-at)*2)/2});var nt={easeIn:et,easeOut:tt,easeInOut:rt},it;return _forEachName(j,function(st){_easeMap[st]=_globals[st]=nt,_easeMap[it=st.toLowerCase()]=tt;for(var at in nt)_easeMap[it+(at==="easeIn"?".in":at==="easeOut"?".out":".inOut")]=_easeMap[st+"."+at]=nt[at]}),nt},_easeInOutFromOut=function(j){return function(et){return et<.5?(1-j(1-et*2))/2:.5+j((et-.5)*2)/2}},_configElastic=function _(j,et,tt){var rt=et>=1?et:1,nt=(tt||(j?.3:.45))/(et<1?et:1),it=nt/_2PI*(Math.asin(1/rt)||0),st=function(lt){return lt===1?1:rt*Math.pow(2,-10*lt)*_sin((lt-it)*nt)+1},at=j==="out"?st:j==="in"?function(ot){return 1-st(1-ot)}:_easeInOutFromOut(st);return nt=_2PI/nt,at.config=function(ot,lt){return _(j,ot,lt)},at},_configBack=function _(j,et){et===void 0&&(et=1.70158);var tt=function(it){return it?--it*it*((et+1)*it+et)+1:0},rt=j==="out"?tt:j==="in"?function(nt){return 1-tt(1-nt)}:_easeInOutFromOut(tt);return rt.config=function(nt){return _(j,nt)},rt};_forEachName("Linear,Quad,Cubic,Quart,Quint,Strong",function(_,j){var et=j<5?j+1:j;_insertEase(_+",Power"+(et-1),j?function(tt){return Math.pow(tt,et)}:function(tt){return tt},function(tt){return 1-Math.pow(1-tt,et)},function(tt){return tt<.5?Math.pow(tt*2,et)/2:1-Math.pow((1-tt)*2,et)/2})});_easeMap.Linear.easeNone=_easeMap.none=_easeMap.Linear.easeIn;_insertEase("Elastic",_configElastic("in"),_configElastic("out"),_configElastic());
vendor: 2,360 bytes, line 686
686(function(_,j){var et=1/j,tt=2*et,rt=2.5*et,nt=function(st){return st<et?_*st*st:st<tt?_*Math.pow(st-1.5/j,2)+.75:st<rt?_*(st-=2.25/j)*st+.9375:_*Math.pow(st-2.625/j,2)+.984375};_insertEase("Bounce",function(it){return 1-nt(1-it)},nt)})(7.5625,2.75);_insertEase("Expo",function(_){return Math.pow(2,10*(_-1))*_+_*_*_*_*_*_*(1-_)});_insertEase("Circ",function(_){return-(_sqrt(1-_*_)-1)});_insertEase("Sine",function(_){return _===1?1:-_cos(_*_HALF_PI)+1});_insertEase("Back",_configBack("in"),_configBack("out"),_configBack());_easeMap.SteppedEase=_easeMap.steps=_globals.SteppedEase={config:function(j,et){j===void 0&&(j=1);var tt=1/j,rt=j+(et?0:1),nt=et?1:0,it=1-_tinyNum;return function(st){return((rt*_clamp$1(0,it,st)|0)+nt)*tt}}};_defaults$1.ease=_easeMap["quad.out"];_forEachName("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(_){return _callbackNames+=_+","+_+"Params,"});var GSCache=function(j,et){this.id=_gsID++,j._gsap=this,this.target=j,this.harness=et,this.get=et?et.get:_getProperty,this.set=et?et.getSetter:_getSetter},Animation=function(){function _(et){this.vars=et,this._delay=+et.delay||0,(this._repeat=et.repeat===1/0?-2:et.repeat||0)&&(this._rDelay=et.repeatDelay||0,this._yoyo=!!et.yoyo||!!et.yoyoEase),this._ts=1,_setDuration(this,+et.duration,1,1),this.data=et.data,_context$2&&(this._ctx=_context$2,_context$2.data.push(this)),_tickerActive||_ticker.wake()}var j=_.prototype;return j.delay=function(tt){return tt||tt===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+tt-this._delay),this._delay=tt,this):this._delay},j.duration=function(tt){return arguments.length?this.totalDuration(this._repeat>0?tt+(tt+this._rDelay)*this._repeat:tt):this.totalDuration()&&this._dur},j.totalDuration=function(tt){return arguments.length?(this._dirty=0,_setDuration(this,this._repeat<0?tt:(tt-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},j.totalTime=function(tt,rt){if(_wake(),!arguments.length)return this._tTime;var nt=this._dp;if(nt&&nt.smoothChildTiming&&this._ts){for(_alignPlayhead(this,tt),!nt._dp||nt.parent||_postAddChecks(nt,this);nt&&nt.parent;)nt.parent._time!==nt._start+(nt._ts>=0?nt._tTime/nt._ts:(nt.totalDuration()-nt._tTime)/-nt._ts)&&nt.totalTime(nt._tTime,!0),nt=nt.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&tt<this._tDur||this._ts<0&&tt>
vendor: 14,942 bytes, line 686
6860||!this._tDur&&!tt)&&_addToTimeline(this._dp,this,this._start-this._delay)}return(this._tTime!==tt||!this._dur&&!rt||this._initted&&Math.abs(this._zTime)===_tinyNum||!this._initted&&this._dur&&tt||!tt&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=tt),_lazySafeRender(this,tt,rt)),this},j.time=function(tt,rt){return arguments.length?this.totalTime(Math.min(this.totalDuration(),tt+_elapsedCycleDuration(this))%(this._dur+this._rDelay)||(tt?this._dur:0),rt):this._time},j.totalProgress=function(tt,rt){return arguments.length?this.totalTime(this.totalDuration()*tt,rt):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},j.progress=function(tt,rt){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-tt:tt)+_elapsedCycleDuration(this),rt):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},j.iteration=function(tt,rt){var nt=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(tt-1)*nt,rt):this._repeat?_animationCycle(this._tTime,nt)+1:1},j.timeScale=function(tt,rt){if(!arguments.length)return this._rts===-_tinyNum?0:this._rts;if(this._rts===tt)return this;var nt=this.parent&&this._ts?_parentToChildTotalTime(this.parent._time,this):this._tTime;return this._rts=+tt||0,this._ts=this._ps||tt===-_tinyNum?0:this._rts,this.totalTime(_clamp$1(-Math.abs(this._delay),this.totalDuration(),nt),rt!==!1),_setEnd(this),_recacheAncestors(this)},j.paused=function(tt){return arguments.length?(this._ps!==tt&&(this._ps=tt,tt?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(_wake(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==_tinyNum&&(this._tTime-=_tinyNum)))),this):this._ps},j.startTime=function(tt){if(arguments.length){this._start=_roundPrecise(tt);var rt=this.parent||this._dp;return rt&&(rt._sort||!this.parent)&&_addToTimeline(rt,this,this._start-this._delay),this}return this._start},j.endTime=function(tt){return this._start+(_isNotFalse(tt)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},j.rawTime=function(tt){var rt=this.parent||this._dp;return rt?tt&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?_parentToChildTotalTime(rt.rawTime(tt),this):this._tTime:this._tTime},j.revert=function(tt){tt===void 0&&(tt=_revertConfig);var rt=_reverting$1;return _reverting$1=tt,_isRevertWorthy(this)&&(this.timeline&&this.timeline.revert(tt),this.totalTime(-.01,tt.suppressEvents)),this.data!=="nested"&&tt.kill!==!1&&this.kill(),_reverting$1=rt,this},j.globalTime=function(tt){for(var rt=this,nt=arguments.length?tt:rt.rawTime();rt;)nt=rt._start+nt/(Math.abs(rt._ts)||1),rt=rt._dp;return!this.parent&&this._sat?this._sat.globalTime(tt):nt},j.repeat=function(tt){return arguments.length?(this._repeat=tt===1/0?-2:tt,_onUpdateTotalDuration(this)):this._repeat===-2?1/0:this._repeat},j.repeatDelay=function(tt){if(arguments.length){var rt=this._time;return this._rDelay=tt,_onUpdateTotalDuration(this),rt?this.time(rt):this}return this._rDelay},j.yoyo=function(tt){return arguments.length?(this._yoyo=tt,this):this._yoyo},j.seek=function(tt,rt){return this.totalTime(_parsePosition$1(this,tt),_isNotFalse(rt))},j.restart=function(tt,rt){return this.play().totalTime(tt?-this._delay:0,_isNotFalse(rt)),this._dur||(this._zTime=-_tinyNum),this},j.play=function(tt,rt){return tt!=null&&this.seek(tt,rt),this.reversed(!1).paused(!1)},j.reverse=function(tt,rt){return tt!=null&&this.seek(tt||this.totalDuration(),rt),this.reversed(!0).paused(!1)},j.pause=function(tt,rt){return tt!=null&&this.seek(tt,rt),this.paused(!0)},j.resume=function(){return this.paused(!1)},j.reversed=function(tt){return arguments.length?(!!tt!==this.reversed()&&this.timeScale(-this._rts||(tt?-_tinyNum:0)),this):this._rts<0},j.invalidate=function(){return this._initted=this._act=0,this._zTime=-_tinyNum,this},j.isActive=function(){var tt=this.parent||this._dp,rt=this._start,nt;return!!(!tt||this._ts&&this._initted&&tt.isActive()&&(nt=tt.rawTime(!0))>=rt&&nt<this.endTime(!0)-_tinyNum)},j.eventCallback=function(tt,rt,nt){var it=this.vars;return arguments.length>1?(rt?(it[tt]=rt,nt&&(it[tt+"Params"]=nt),tt==="onUpdate"&&(this._onUpdate=rt)):delete it[tt],this):it[tt]},j.then=function(tt){var rt=this,nt=rt._prom;return new Promise(function(it){var st=_isFunction$1(tt)?tt:_passThrough$1,at=function(){var lt=rt.then;rt.then=null,nt&&nt(),_isFunction$1(st)&&(st=st(rt))&&(st.then||st===rt)&&(rt.then=lt),it(st),rt.then=lt};rt._initted&&rt.totalProgress()===1&&rt._ts>=0||!rt._tTime&&rt._ts<0?at():rt._prom=at})},j.kill=function(){_interrupt(this)},_}();_setDefaults$1(Animation.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:-_tinyNum,_prom:0,_ps:!1,_rts:1});var Timeline=function(_){_inheritsLoose(j,_);function j(tt,rt){var nt;return tt===void 0&&(tt={}),nt=_.call(this,tt)||this,nt.labels={},nt.smoothChildTiming=!!tt.smoothChildTiming,nt.autoRemoveChildren=!!tt.autoRemoveChildren,nt._sort=_isNotFalse(tt.sortChildren),_globalTimeline&&_addToTimeline(tt.parent||_globalTimeline,_assertThisInitialized$j(nt),rt),tt.reversed&&nt.reverse(),tt.paused&&nt.paused(!0),tt.scrollTrigger&&_scrollTrigger(_assertThisInitialized$j(nt),tt.scrollTrigger),nt}var et=j.prototype;return et.to=function(rt,nt,it){return _createTweenType(0,arguments,this),this},et.from=function(rt,nt,it){return _createTweenType(1,arguments,this),this},et.fromTo=function(rt,nt,it,st){return _createTweenType(2,arguments,this),this},et.set=function(rt,nt,it){return nt.duration=0,nt.parent=this,_inheritDefaults(nt).repeatDelay||(nt.repeat=0),nt.immediateRender=!!nt.immediateRender,new Tween(rt,nt,_parsePosition$1(this,it),1),this},et.call=function(rt,nt,it){return _addToTimeline(this,Tween.delayedCall(0,rt,nt),it)},et.staggerTo=function(rt,nt,it,st,at,ot,lt){return it.duration=nt,it.stagger=it.stagger||st,it.onComplete=ot,it.onCompleteParams=lt,it.parent=this,new Tween(rt,it,_parsePosition$1(this,at)),this},et.staggerFrom=function(rt,nt,it,st,at,ot,lt){return it.runBackwards=1,_inheritDefaults(it).immediateRender=_isNotFalse(it.immediateRender),this.staggerTo(rt,nt,it,st,at,ot,lt)},et.staggerFromTo=function(rt,nt,it,st,at,ot,lt,ct){return st.startAt=it,_inheritDefaults(st).immediateRender=_isNotFalse(st.immediateRender),this.staggerTo(rt,nt,st,at,ot,lt,ct)},et.render=function(rt,nt,it){var st=this._time,at=this._dirty?this.totalDuration():this._tDur,ot=this._dur,lt=rt<=0?0:_roundPrecise(rt),ct=this._zTime<0!=rt<0&&(this._initted||!ot),ut,dt,ht,pt,gt,ft,mt,xt,yt,vt,bt,Et;if(this!==_globalTimeline&<>at&&rt>=0&&(lt=at),lt!==this._tTime||it||ct){if(st!==this._time&&ot&&(lt+=this._time-st,rt+=this._time-st),ut=lt,yt=this._start,xt=this._ts,ft=!xt,ct&&(ot||(st=this._zTime),(rt||!nt)&&(this._zTime=rt)),this._repeat){if(bt=this._yoyo,gt=ot+this._rDelay,this._repeat<-1&&rt<0)return this.totalTime(gt*100+rt,nt,it);if(ut=_roundPrecise(lt%gt),lt===at?(pt=this._repeat,ut=ot):(vt=_roundPrecise(lt/gt),pt=~~vt,pt&&pt===vt&&(ut=ot,pt--),ut>ot&&(ut=ot)),vt=_animationCycle(this._tTime,gt),!st&&this._tTime&&vt!==pt&&this._tTime-vt*gt-this._dur<=0&&(vt=pt),bt&&pt&1&&(ut=ot-ut,Et=1),pt!==vt&&!this._lock){var _t=bt&&vt&1,wt=_t===(bt&&pt&1);if(pt<vt&&(_t=!_t),st=_t?0:lt%ot?ot:lt,this._lock=1,this.render(st||(Et?0:_roundPrecise(pt*gt)),nt,!ot)._lock=0,this._tTime=lt,!nt&&this.parent&&_callback$1(this,"onRepeat"),this.vars.repeatRefresh&&!Et&&(this.invalidate()._lock=1,vt=pt),st&&st!==this._time||ft!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(ot=this._dur,at=this._tDur,wt&&(this._lock=2,st=_t?ot:-1e-4,this.render(st,!0),this.vars.repeatRefresh&&!Et&&this.invalidate()),this._lock=0,!this._ts&&!ft)return this;_propagateYoyoEase(this,Et)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(mt=_findNextPauseTween(this,_roundPrecise(st),_roundPrecise(ut)),mt&&(lt-=ut-(ut=mt._start))),this._tTime=lt,this._time=ut,this._act=!xt,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=rt,st=0),!st&<&&ot&&!nt&&!vt&&(_callback$1(this,"onStart"),this._tTime!==lt))return this;if(ut>=st&&rt>=0)for(dt=this._first;dt;){if(ht=dt._next,(dt._act||ut>=dt._start)&&dt._ts&&mt!==dt){if(dt.parent!==this)return this.render(rt,nt,it);if(dt.render(dt._ts>0?(ut-dt._start)*dt._ts:(dt._dirty?dt.totalDuration():dt._tDur)+(ut-dt._start)*dt._ts,nt,it),ut!==this._time||!this._ts&&!ft){mt=0,ht&&(lt+=this._zTime=-_tinyNum);break}}dt=ht}else{dt=this._last;for(var Rt=rt<0?rt:ut;dt;){if(ht=dt._prev,(dt._act||Rt<=dt._end)&&dt._ts&&mt!==dt){if(dt.parent!==this)return this.render(rt,nt,it);if(dt.render(dt._ts>0?(Rt-dt._start)*dt._ts:(dt._dirty?dt.totalDuration():dt._tDur)+(Rt-dt._start)*dt._ts,nt,it||_reverting$1&&_isRevertWorthy(dt)),ut!==this._time||!this._ts&&!ft){mt=0,ht&&(lt+=this._zTime=Rt?-_tinyNum:_tinyNum);break}}dt=ht}}if(mt&&!nt&&(this.pause(),mt.render(ut>=st?0:-_tinyNum)._zTime=ut>=st?1:-1,this._ts))return this._start=yt,_setEnd(this),this.render(rt,nt,it);this._onUpdate&&!nt&&_callback$1(this,"onUpdate",!0),(lt===at&&this._tTime>=this.totalDuration()||!lt&&st)&&(yt===this._start||Math.abs(xt)!==Math.abs(this._ts))&&(this._lock||((rt||!ot)&&(lt===at&&this._ts>0||!lt&&this._ts<0)&&_removeFromParent(this,1),!nt&&!(rt<0&&!st)&&(lt||st||!at)&&(_callback$1(this,lt===at&&rt>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(lt<at&&this.timeScale()>0)&&this._prom())))}return this},et.add=function(rt,nt){var it=this;if(_isNumber$1(nt)||(nt=_parsePosition$1(this,nt,rt)),!(rt instanceof Animation)){if(_isArray(rt))return rt.forEach(function(st){return it.add(st,nt)}),this;if(_isString$1(rt))return this.addLabel(rt,nt);if(_isFunction$1(rt))rt=Tween.delayedCall(0,rt);else return this}return this!==rt?_addToTimeline(this,rt,nt):this},et.getChildren=function(rt,nt,it,st){rt===void 0&&(rt=!0),nt===void 0&&(nt=!0),it===void 0&&(it=!0),st===void 0&&(st=-_bigNum$1);for(var at=[],ot=this._first;ot;)ot._start>=st&&(ot instanceof Tween?nt&&at.push(ot):(it&&at.push(ot),rt&&at.push.apply(at,ot.getChildren(!0,nt,it)))),ot=ot._next;return at},et.getById=function(rt){for(var nt=this.getChildren(1,1,1),it=nt.length;it--;)if(nt[it].vars.id===rt)return nt[it]},et.remove=function(rt){return _isString$1(rt)?this.removeLabel(rt):_isFunction$1(rt)?this.killTweensOf(rt):(rt.parent===this&&_removeLinkedListItem(this,rt),rt===this._recent&&(this._recent=this._last),_uncache(this))},et.totalTime=function(rt,nt){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=_roundPrecise(_ticker.time-(this._ts>0?rt/this._ts:(this.totalDuration()-rt)/-this._ts))),_.prototype.totalTime.call(this,rt,nt),this._forcing=0,this):this._tTime},et.addLabel=function(rt,nt){return this.labels[rt]=_parsePosition$1(this,nt),this},et.removeLabel=function(rt){return delete this.labels[rt],this},et.addPause=function(rt,nt,it){var st=Tween.delayedCall(0,nt||_emptyFunc,it);return st.data="isPause",this._hasPause=1,_addToTimeline(this,st,_parsePosition$1(this,rt))},et.removePause=function(rt){var nt=this._first;for(rt=_parsePosition$1(this,rt);nt;)nt._start===rt&&nt.data==="isPause"&&_removeFromParent(nt),nt=nt._next},et.killTweensOf=function(rt,nt,it){for(var st=this.getTweensOf(rt,it),at=st.length;at--;)_overwritingTween!==st[at]&&st[at].kill(rt,nt);return this},et.getTweensOf=function(rt,nt){for(var it=[],st=toArray$1(rt),at=this._first,ot=_isNumber$1(nt),lt;at;)at instanceof Tween?_arrayContainsAny(at._targets,st)&&(ot?(!_overwritingTween||at._initted&&at._ts)&&at.globalTime(0)<=nt&&at.globalTime(at.totalDuration())>nt:!nt||at.isActive())&&it.push(at):(lt=at.getTweensOf(st,nt)).length&&it.push.apply(it,lt),at=at._next;return it},et.tweenTo=function(rt,nt){nt=nt||{};var it=this,st=_parsePosition$1(it,rt),at=nt,ot=at.startAt,lt=at.onStart,ct=at.onStartParams,ut=at.immediateRender,dt,ht=Tween.to(it,_setDefaults$1({ease:nt.ease||"none",lazy:!1,immediateRender:!1,time:st,overwrite:"auto",duration:nt.duration||Math.abs((st-(ot&&"time"in ot?ot.time:it._time))/it.timeScale())||_tinyNum,onStart:function(){if(it.pause(),!dt){var gt=nt.duration||Math.abs((st-(ot&&"time"in ot?ot.time:it._time))/it.timeScale());ht._dur!==gt&&_setDuration(ht,gt,0,1).render(ht._time,!0,!0),dt=1}lt&<.apply(ht,ct||[])}},nt));return ut?ht.render(0):ht},et.tweenFromTo=function(rt,nt,it){return this.tweenTo(nt,_setDefaults$1({startAt:{time:_parsePosition$1(this,rt)}},it))},et.recent=function(){return this._recent},et.nextLabel=function(rt){return rt===void 0&&(rt=this._time),_getLabelInDirection(this,_parsePosition$1(this,rt))},et.previousLabel=function(rt){return rt===void 0&&(rt=this._time),_getLabelInDirection(this,_parsePosition$1(this,rt),1)},et.currentLabel=function(rt){return arguments.length?this.seek(rt,!0):this.previousLabel(this._time+_tinyNum)},et.shiftChildren=function(rt,nt,it){it===void 0&&(it=0);var st=this._first,at=this.labels,ot;for(rt=_roundPrecise(rt);st;)st._start>=it&&(st._start+=rt,st._end+=rt),st=st._next;if(nt)for(ot in at)at[ot]>=it&&(at[ot]+=rt);return _uncache(this)},et.invalidate=function(rt){var nt=this._first;for(this._lock=0;nt;)nt.invalidate(rt),nt=nt._next;return _.prototype.invalidate.call(this,rt)},et.clear=function(rt){rt===void 0&&(rt=!0);for(var nt=this._first,it;nt;)it=nt._next,this.remove(nt),nt=it;return this._dp&&(this._time=this._tTime=this._pTime=0),rt&&(this.labels={}),_uncache(this)},et.totalDuration=function(rt){var nt=0,it=this,st=it._last,at=_bigNum$1,ot,lt,ct;if(arguments.length)return it.timeScale((it._repeat<0?it.duration():it.totalDuration())/(it.reversed()?-rt:rt));if(it._dirty){for(ct=it.parent;st;)ot=st._prev,st._dirty&&st.totalDuration(),lt=st._start,lt>at&&it._sort&&st._ts&&!it._lock?(it._lock=1,_addToTimeline(it,st,lt-st._delay,1)._lock=0):at=lt,lt<0&&st._ts&&(nt-=lt,(!ct&&!it._dp||ct&&ct.smoothChildTiming)&&(it._start+=_roundPrecise(lt/it._ts),it._time-=lt,it._tTime-=lt),it.shiftChildren(-lt,!1,-1/0),at=0),st._end>nt&&st._ts&&(nt=st._end),st=ot;_setDuration(it,it===_globalTimeline&&it._time>nt?it._time:nt,1,1),it._dirty=0}return it._tDur},j.updateRoot=function(rt){if(_globalTimeline._ts&&(_lazySafeRender(_globalTimeline,_parentToChildTotalTime(rt,_globalTimeline)),_lastRenderedFrame=_ticker.frame),_ticker.frame>=_nextGCFrame){_nextGCFrame+=_config.autoSleep||120;var nt=_globalTimeline._first;if((!nt||!nt._ts)&&_config.autoSleep&&_ticker._listeners.length<2){for(;nt&&!nt._ts;)nt=nt._next;nt||_ticker.sleep()}}},j}(Animation);_setDefaults$1(Timeline.prototype,{_lock:0,_hasPause:0,_forcing:0});var _addComplexStringPropTween=function(j,et,tt,rt,nt,it,st){var at=new PropTween(this._pt,j,et,0,1,_renderComplexString,null,nt),ot=0,lt=0,ct,ut,dt,ht,pt,gt,ft,mt;for(at.b
vendor: 4,642 bytes, line 686
686=tt,at.e=rt,tt+="",rt+="",(ft=~rt.indexOf("random("))&&(rt=_replaceRandom(rt)),it&&(mt=[tt,rt],it(mt,j,et),tt=mt[0],rt=mt[1]),ut=tt.match(_complexStringNumExp)||[];ct=_complexStringNumExp.exec(rt);)ht=ct[0],pt=rt.substring(ot,ct.index),dt?dt=(dt+1)%5:pt.substr(-5)==="rgba("&&(dt=1),ht!==ut[lt++]&&(gt=parseFloat(ut[lt-1])||0,at._pt={_next:at._pt,p:pt||lt===1?pt:",",s:gt,c:ht.charAt(1)==="="?_parseRelative(gt,ht)-gt:parseFloat(ht)-gt,m:dt&&dt<4?Math.round:0},ot=_complexStringNumExp.lastIndex);return at.c=ot<rt.length?rt.substring(ot,rt.length):"",at.fp=st,(_relExp.test(rt)||ft)&&(at.e=0),this._pt=at,at},_addPropTween=function(j,et,tt,rt,nt,it,st,at,ot,lt){_isFunction$1(rt)&&(rt=rt(nt||0,j,it));var ct=j[et],ut=tt!=="get"?tt:_isFunction$1(ct)?ot?j[et.indexOf("set")||!_isFunction$1(j["get"+et.substr(3)])?et:"get"+et.substr(3)](ot):j[et]():ct,dt=_isFunction$1(ct)?ot?_setterFuncWithParam:_setterFunc:_setterPlain,ht;if(_isString$1(rt)&&(~rt.indexOf("random(")&&(rt=_replaceRandom(rt)),rt.charAt(1)==="="&&(ht=_parseRelative(ut,rt)+(getUnit(ut)||0),(ht||ht===0)&&(rt=ht))),!lt||ut!==rt||_forceAllPropTweens)return!isNaN(ut*rt)&&rt!==""?(ht=new PropTween(this._pt,j,et,+ut||0,rt-(ut||0),typeof ct=="boolean"?_renderBoolean:_renderPlain,0,dt),ot&&(ht.fp=ot),st&&ht.modifier(st,this,j),this._pt=ht):(!ct&&!(et in j)&&_missingPlugin(et,rt),_addComplexStringPropTween.call(this,j,et,ut,rt,dt,at||_config.stringFilter,ot))},_processVars=function(j,et,tt,rt,nt){if(_isFunction$1(j)&&(j=_parseFuncOrString(j,nt,et,tt,rt)),!_isObject$1(j)||j.style&&j.nodeType||_isArray(j)||_isTypedArray(j))return _isString$1(j)?_parseFuncOrString(j,nt,et,tt,rt):j;var it={},st;for(st in j)it[st]=_parseFuncOrString(j[st],nt,et,tt,rt);return it},_checkPlugin=function(j,et,tt,rt,nt,it){var st,at,ot,lt;if(_plugins[j]&&(st=new _plugins[j]).init(nt,st.rawVars?et[j]:_processVars(et[j],rt,nt,it,tt),tt,rt,it)!==!1&&(tt._pt=at=new PropTween(tt._pt,nt,j,0,1,st.render,st,0,st.priority),tt!==_quickTween))for(ot=tt._ptLookup[tt._targets.indexOf(nt)],lt=st._props.length;lt--;)ot[st._props[lt]]=at;return st},_overwritingTween,_forceAllPropTweens,_initTween=function _(j,et,tt){var rt=j.vars,nt=rt.ease,it=rt.startAt,st=rt.immediateRender,at=rt.lazy,ot=rt.onUpdate,lt=rt.runBackwards,ct=rt.yoyoEase,ut=rt.keyframes,dt=rt.autoRevert,ht=j._dur,pt=j._startAt,gt=j._targets,ft=j.parent,mt=ft&&ft.data==="nested"?ft.vars.targets:gt,xt=j._overwrite==="auto"&&!_suppressOverwrites$1,yt=j.timeline,vt,bt,Et,_t,wt,Rt,Ct,jt,Dt,It,Ot,At,Tt;if(yt&&(!ut||!nt)&&(nt="none"),j._ease=_parseEase(nt,_defaults$1.ease),j._yEase=ct?_invertEase(_parseEase(ct===!0?nt:ct,_defaults$1.ease)):0,ct&&j._yoyo&&!j._repeat&&(ct=j._yEase,j._yEase=j._ease,j._ease=ct),j._from=!yt&&!!rt.runBackwards,!yt||ut&&!rt.stagger){if(jt=gt[0]?_getCache(gt[0]).harness:0,At=jt&&rt[jt.prop],vt=_copyExcluding(rt,_reservedProps),pt&&(pt._zTime<0&&pt.progress(1),et<0&<&&st&&!dt?pt.render(-1,!0):pt.revert(lt&&ht?_revertConfigNoKill:_startAtRevertConfig),pt._lazy=0),it){if(_removeFromParent(j._startAt=Tween.set(gt,_setDefaults$1({data:"isStart",overwrite:!1,parent:ft,immediateRender:!0,lazy:!pt&&_isNotFalse(at),startAt:null,delay:0,onUpdate:ot&&function(){return _callback$1(j,"onUpdate")},stagger:0},it))),j._startAt._dp=0,j._startAt._sat=j,et<0&&(_reverting$1||!st&&!dt)&&j._startAt.revert(_revertConfigNoKill),st&&ht&&et<=0&&tt<=0){et&&(j._zTime=et);return}}else if(lt&&ht&&!pt){if(et&&(st=!1),Et=_setDefaults$1({overwrite:!1,data:"isFromStart",lazy:st&&!pt&&_isNotFalse(at),immediateRender:st,stagger:0,parent:ft},vt),At&&(Et[jt.prop]=At),_removeFromParent(j._startAt=Tween.set(gt,Et)),j._startAt._dp=0,j._startAt._sat=j,et<0&&(_reverting$1?j._startAt.revert(_revertConfigNoKill):j._startAt.render(-1,!0)),j._zTime=et,!st)_(j._startAt,_tinyNum,_tinyNum);else if(!et)return}for(j._pt=j._ptCache=0,at=ht&&_isNotFalse(at)||at&&!ht,bt=0;bt<gt.length;bt++){if(wt=gt[bt],Ct=wt._gsap||_harness(gt)[bt]._gsap,j._ptLookup[bt]=It={},_lazyLookup[Ct.id]&&_lazyTweens.length&&_lazyRender(),Ot=mt===gt?bt:mt.indexOf(wt),jt&&(Dt=new jt).init(wt,At||vt,j,Ot,mt)!==!1&&(j._pt=_t=new PropTween(j._pt,wt,Dt.name,0,1,Dt.render,Dt,0,Dt.priority),Dt._props.forEach(function(kt){It[kt]=_t}),Dt.priority&&(Rt=1)),!jt||At)for(Et in vt)_plugins[Et]&&(Dt=_checkPlugin(Et,vt,j,Ot,wt,mt))?Dt.priority&&(Rt=1):It[Et]=_t=_addPropTween.call(j,wt,Et,"get",vt[Et],Ot,mt,0,rt.stringFilter);j._op&&j._op[bt]&&j.kill(wt,j._op[bt]),xt&&j._pt&&(_overwritingTween=j,_globalTimeline.killTweensOf(wt,It,j.globalTime(et)),Tt=!j.parent,_overwritingTween=0),j._pt&&at&&(_lazyLookup[Ct.id]=1)}Rt&&_sortPropTweensByPriority(j),j._onInit&&j._onInit(j)}
vendor: 4,560 bytes, line 686
686j._onUpdate=ot,j._initted=(!j._op||j._pt)&&!Tt,ut&&et<=0&&yt.render(_bigNum$1,!0,!0)},_updatePropTweens=function(j,et,tt,rt,nt,it,st,at){var ot=(j._pt&&j._ptCache||(j._ptCache={}))[et],lt,ct,ut,dt;if(!ot)for(ot=j._ptCache[et]=[],ut=j._ptLookup,dt=j._targets.length;dt--;){if(lt=ut[dt][et],lt&<.d&<.d._pt)for(lt=lt.d._pt;lt&<.p!==et&<.fp!==et;)lt=lt._next;if(!lt)return _forceAllPropTweens=1,j.vars[et]="+=0",_initTween(j,st),_forceAllPropTweens=0,at?_warn(et+" not eligible for reset"):1;ot.push(lt)}for(dt=ot.length;dt--;)ct=ot[dt],lt=ct._pt||ct,lt.s=(rt||rt===0)&&!nt?rt:lt.s+(rt||0)+it*lt.c,lt.c=tt-lt.s,ct.e&&(ct.e=_round$1(tt)+getUnit(ct.e)),ct.b&&(ct.b=lt.s+getUnit(ct.b))},_addAliasesToVars=function(j,et){var tt=j[0]?_getCache(j[0]).harness:0,rt=tt&&tt.aliases,nt,it,st,at;if(!rt)return et;nt=_merge({},et);for(it in rt)if(it in nt)for(at=rt[it].split(","),st=at.length;st--;)nt[at[st]]=nt[it];return nt},_parseKeyframe=function(j,et,tt,rt){var nt=et.ease||rt||"power1.inOut",it,st;if(_isArray(et))st=tt[j]||(tt[j]=[]),et.forEach(function(at,ot){return st.push({t:ot/(et.length-1)*100,v:at,e:nt})});else for(it in et)st=tt[it]||(tt[it]=[]),it==="ease"||st.push({t:parseFloat(j),v:et[it],e:nt})},_parseFuncOrString=function(j,et,tt,rt,nt){return _isFunction$1(j)?j.call(et,tt,rt,nt):_isString$1(j)&&~j.indexOf("random(")?_replaceRandom(j):j},_staggerTweenProps=_callbackNames+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",_staggerPropsToSkip={};_forEachName(_staggerTweenProps+",id,stagger,delay,duration,paused,scrollTrigger",function(_){return _staggerPropsToSkip[_]=1});var Tween=function(_){_inheritsLoose(j,_);function j(tt,rt,nt,it){var st;typeof rt=="number"&&(nt.duration=rt,rt=nt,nt=null),st=_.call(this,it?rt:_inheritDefaults(rt))||this;var at=st.vars,ot=at.duration,lt=at.delay,ct=at.immediateRender,ut=at.stagger,dt=at.overwrite,ht=at.keyframes,pt=at.defaults,gt=at.scrollTrigger,ft=at.yoyoEase,mt=rt.parent||_globalTimeline,xt=(_isArray(tt)||_isTypedArray(tt)?_isNumber$1(tt[0]):"length"in rt)?[tt]:toArray$1(tt),yt,vt,bt,Et,_t,wt,Rt,Ct;if(st._targets=xt.length?_harness(xt):_warn("GSAP target "+tt+" not found. https://gsap.com",!_config.nullTargetWarn)||[],st._ptLookup=[],st._overwrite=dt,ht||ut||_isFuncOrString(ot)||_isFuncOrString(lt)){if(rt=st.vars,yt=st.timeline=new Timeline({data:"nested",defaults:pt||{},targets:mt&&mt.data==="nested"?mt.vars.targets:xt}),yt.kill(),yt.parent=yt._dp=_assertThisInitialized$j(st),yt._start=0,ut||_isFuncOrString(ot)||_isFuncOrString(lt)){if(Et=xt.length,Rt=ut&&distribute(ut),_isObject$1(ut))for(_t in ut)~_staggerTweenProps.indexOf(_t)&&(Ct||(Ct={}),Ct[_t]=ut[_t]);for(vt=0;vt<Et;vt++)bt=_copyExcluding(rt,_staggerPropsToSkip),bt.stagger=0,ft&&(bt.yoyoEase=ft),Ct&&_merge(bt,Ct),wt=xt[vt],bt.duration=+_parseFuncOrString(ot,_assertThisInitialized$j(st),vt,wt,xt),bt.delay=(+_parseFuncOrString(lt,_assertThisInitialized$j(st),vt,wt,xt)||0)-st._delay,!ut&&Et===1&&bt.delay&&(st._delay=lt=bt.delay,st._start+=lt,bt.delay=0),yt.to(wt,bt,Rt?Rt(vt,wt,xt):0),yt._ease=_easeMap.none;yt.duration()?ot=lt=0:st.timeline=0}else if(ht){_inheritDefaults(_setDefaults$1(yt.vars.defaults,{ease:"none"})),yt._ease=_parseEase(ht.ease||rt.ease||"none");var jt=0,Dt,It,Ot;if(_isArray(ht))ht.forEach(function(At){return yt.to(xt,At,">")}),yt.duration();else{bt={};for(_t in ht)_t==="ease"||_t==="easeEach"||_parseKeyframe(_t,ht[_t],bt,ht.easeEach);for(_t in bt)for(Dt=bt[_t].sort(function(At,Tt){return At.t-Tt.t}),jt=0,vt=0;vt<Dt.length;vt++)It=Dt[vt],Ot={ease:It.e,duration:(It.t-(vt?Dt[vt-1].t:0))/100*ot},Ot[_t]=It.v,yt.to(xt,Ot,jt),jt+=Ot.duration;yt.duration()<ot&&yt.to({},{duration:ot-yt.duration()})}}ot||st.duration(ot=yt.duration())}else st.timeline=0;return dt===!0&&!_suppressOverwrites$1&&(_overwritingTween=_assertThisInitialized$j(st),_globalTimeline.killTweensOf(xt),_overwritingTween=0),_addToTimeline(mt,_assertThisInitialized$j(st),nt),rt.reversed&&st.reverse(),rt.paused&&st.paused(!0),(ct||!ot&&!ht&&st._start===_roundPrecise(mt._time)&&_isNotFalse(ct)&&_hasNoPausedAncestors(_assertThisInitialized$j(st))&&mt.data!=="nested")&&(st._tTime=-_tinyNum,st.render(Math.max(0,-lt)||0)),gt&&_scrollTrigger(_assertThisInitialized$j(st),gt),st}var et=j.prototype;return et.render=function(rt,nt,it){var st=this._time,at=this._tDur,ot=this._dur,lt=rt<0,ct=rt>at-_tinyNum&&!lt?at:rt<_tinyNum?0:rt,ut,dt,ht,pt,gt,ft,mt,xt,yt;if(!ot)_renderZeroDurationTween(this,rt,nt,it);else if(ct!==this._tTime||!rt||it||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==lt||this._lazy){if
vendor: 3,145 bytes, line 686
686(ut=ct,xt=this.timeline,this._repeat){if(pt=ot+this._rDelay,this._repeat<-1&<)return this.totalTime(pt*100+rt,nt,it);if(ut=_roundPrecise(ct%pt),ct===at?(ht=this._repeat,ut=ot):(gt=_roundPrecise(ct/pt),ht=~~gt,ht&&ht===gt?(ut=ot,ht--):ut>ot&&(ut=ot)),ft=this._yoyo&&ht&1,ft&&(yt=this._yEase,ut=ot-ut),gt=_animationCycle(this._tTime,pt),ut===st&&!it&&this._initted&&ht===gt)return this._tTime=ct,this;ht!==gt&&(xt&&this._yEase&&_propagateYoyoEase(xt,ft),this.vars.repeatRefresh&&!ft&&!this._lock&&ut!==pt&&this._initted&&(this._lock=it=1,this.render(_roundPrecise(pt*ht),!0).invalidate()._lock=0))}if(!this._initted){if(_attemptInitTween(this,lt?rt:ut,it,nt,ct))return this._tTime=0,this;if(st!==this._time&&!(it&&this.vars.repeatRefresh&&ht!==gt))return this;if(ot!==this._dur)return this.render(rt,nt,it)}if(this._tTime=ct,this._time=ut,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=mt=(yt||this._ease)(ut/ot),this._from&&(this.ratio=mt=1-mt),!st&&ct&&!nt&&!gt&&(_callback$1(this,"onStart"),this._tTime!==ct))return this;for(dt=this._pt;dt;)dt.r(mt,dt.d),dt=dt._next;xt&&xt.render(rt<0?rt:xt._dur*xt._ease(ut/this._dur),nt,it)||this._startAt&&(this._zTime=rt),this._onUpdate&&!nt&&(lt&&_rewindStartAt(this,rt,nt,it),_callback$1(this,"onUpdate")),this._repeat&&ht!==gt&&this.vars.onRepeat&&!nt&&this.parent&&_callback$1(this,"onRepeat"),(ct===this._tDur||!ct)&&this._tTime===ct&&(lt&&!this._onUpdate&&_rewindStartAt(this,rt,!0,!0),(rt||!ot)&&(ct===this._tDur&&this._ts>0||!ct&&this._ts<0)&&_removeFromParent(this,1),!nt&&!(lt&&!st)&&(ct||st||ft)&&(_callback$1(this,ct===at?"onComplete":"onReverseComplete",!0),this._prom&&!(ct<at&&this.timeScale()>0)&&this._prom()))}return this},et.targets=function(){return this._targets},et.invalidate=function(rt){return(!rt||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(rt),_.prototype.invalidate.call(this,rt)},et.resetTo=function(rt,nt,it,st,at){_tickerActive||_ticker.wake(),this._ts||this.play();var ot=Math.min(this._dur,(this._dp._time-this._start)*this._ts),lt;return this._initted||_initTween(this,ot),lt=this._ease(ot/this._dur),_updatePropTweens(this,rt,nt,it,st,lt,ot,at)?this.resetTo(rt,nt,it,st,1):(_alignPlayhead(this,0),this.parent||_addLinkedListItem(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},et.kill=function(rt,nt){if(nt===void 0&&(nt="all"),!rt&&(!nt||nt==="all"))return this._lazy=this._pt=0,this.parent?_interrupt(this):this.scrollTrigger&&this.scrollTrigger.kill(!!_reverting$1),this;if(this.timeline){var it=this.timeline.totalDuration();return this.timeline.killTweensOf(rt,nt,_overwritingTween&&_overwritingTween.vars.overwrite!==!0)._first||_interrupt(this),this.parent&&it!==this.timeline.totalDuration()&&_setDuration(this,this._dur*this.timeline._tDur/it,0,1),this}var st=this._targets,at=rt?toArray$1(rt):st,ot=this._ptLookup,lt=this._pt,ct,ut,dt,ht,pt,gt,ft;if((!nt||nt==="all")&&_arraysMatch(st,at))return nt==="all"&&(this._pt=0),_interrupt(this);for(ct=this._op=this._op||[],nt!=="all"&&(_isString$1(nt)&&(pt={}
vendor: 6,804 bytes, line 686
686,_forEachName(nt,function(mt){return pt[mt]=1}),nt=pt),nt=_addAliasesToVars(st,nt)),ft=st.length;ft--;)if(~at.indexOf(st[ft])){ut=ot[ft],nt==="all"?(ct[ft]=nt,ht=ut,dt={}):(dt=ct[ft]=ct[ft]||{},ht=nt);for(pt in ht)gt=ut&&ut[pt],gt&&((!("kill"in gt.d)||gt.d.kill(pt)===!0)&&_removeLinkedListItem(this,gt,"_pt"),delete ut[pt]),dt!=="all"&&(dt[pt]=1)}return this._initted&&!this._pt&<&&_interrupt(this),this},j.to=function(rt,nt){return new j(rt,nt,arguments[2])},j.from=function(rt,nt){return _createTweenType(1,arguments)},j.delayedCall=function(rt,nt,it,st){return new j(nt,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:rt,onComplete:nt,onReverseComplete:nt,onCompleteParams:it,onReverseCompleteParams:it,callbackScope:st})},j.fromTo=function(rt,nt,it){return _createTweenType(2,arguments)},j.set=function(rt,nt){return nt.duration=0,nt.repeatDelay||(nt.repeat=0),new j(rt,nt)},j.killTweensOf=function(rt,nt,it){return _globalTimeline.killTweensOf(rt,nt,it)},j}(Animation);_setDefaults$1(Tween.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});_forEachName("staggerTo,staggerFrom,staggerFromTo",function(_){Tween[_]=function(){var j=new Timeline,et=_slice.call(arguments,0);return et.splice(_==="staggerFromTo"?5:4,0,0),j[_].apply(j,et)}});var _setterPlain=function(j,et,tt){return j[et]=tt},_setterFunc=function(j,et,tt){return j[et](tt)},_setterFuncWithParam=function(j,et,tt,rt){return j[et](rt.fp,tt)},_setterAttribute=function(j,et,tt){return j.setAttribute(et,tt)},_getSetter=function(j,et){return _isFunction$1(j[et])?_setterFunc:_isUndefined(j[et])&&j.setAttribute?_setterAttribute:_setterPlain},_renderPlain=function(j,et){return et.set(et.t,et.p,Math.round((et.s+et.c*j)*1e6)/1e6,et)},_renderBoolean=function(j,et){return et.set(et.t,et.p,!!(et.s+et.c*j),et)},_renderComplexString=function(j,et){var tt=et._pt,rt="";if(!j&&et.b)rt=et.b;else if(j===1&&et.e)rt=et.e;else{for(;tt;)rt=tt.p+(tt.m?tt.m(tt.s+tt.c*j):Math.round((tt.s+tt.c*j)*1e4)/1e4)+rt,tt=tt._next;rt+=et.c}et.set(et.t,et.p,rt,et)},_renderPropTweens=function(j,et){for(var tt=et._pt;tt;)tt.r(j,tt.d),tt=tt._next},_addPluginModifier=function(j,et,tt,rt){for(var nt=this._pt,it;nt;)it=nt._next,nt.p===rt&&nt.modifier(j,et,tt),nt=it},_killPropTweensOf=function(j){for(var et=this._pt,tt,rt;et;)rt=et._next,et.p===j&&!et.op||et.op===j?_removeLinkedListItem(this,et,"_pt"):et.dep||(tt=1),et=rt;return!tt},_setterWithModifier=function(j,et,tt,rt){rt.mSet(j,et,rt.m.call(rt.tween,tt,rt.mt),rt)},_sortPropTweensByPriority=function(j){for(var et=j._pt,tt,rt,nt,it;et;){for(tt=et._next,rt=nt;rt&&rt.pr>et.pr;)rt=rt._next;(et._prev=rt?rt._prev:it)?et._prev._next=et:nt=et,(et._next=rt)?rt._prev=et:it=et,et=tt}j._pt=nt},PropTween=function(){function _(et,tt,rt,nt,it,st,at,ot,lt){this.t=tt,this.s=nt,this.c=it,this.p=rt,this.r=st||_renderPlain,this.d=at||this,this.set=ot||_setterPlain,this.pr=lt||0,this._next=et,et&&(et._prev=this)}var j=_.prototype;return j.modifier=function(tt,rt,nt){this.mSet=this.mSet||this.set,this.set=_setterWithModifier,this.m=tt,this.mt=nt,this.tween=rt},_}();_forEachName(_callbackNames+"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(_){return _reservedProps[_]=1});_globals.TweenMax=_globals.TweenLite=Tween;_globals.TimelineLite=_globals.TimelineMax=Timeline;_globalTimeline=new Timeline({sortChildren:!1,defaults:_defaults$1,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});_config.stringFilter=_colorStringFilter;var _media=[],_listeners$1={},_emptyArray$1=[],_lastMediaTime=0,_contextID=0,_dispatch$1=function(j){return(_listeners$1[j]||_emptyArray$1).map(function(et){return et()})},_onMediaChange=function(){var j=Date.now(),et=[];j-_lastMediaTime>2&&(_dispatch$1("matchMediaInit"),_media.forEach(function(tt){var rt=tt.queries,nt=tt.conditions,it,st,at,ot;for(st in rt)it=_win$3.matchMedia(rt[st]).matches,it&&(at=1),it!==nt[st]&&(nt[st]=it,ot=1);ot&&(tt.revert(),at&&et.push(tt))}),_dispatch$1("matchMediaRevert"),et.forEach(function(tt){return tt.onMatch(tt,function(rt){return tt.add(null,rt)})}),_lastMediaTime=j,_dispatch$1("matchMedia"))},Context=function(){function _(et,tt){this.selector=tt&&selector(tt),this.data=[],this._r=[],this.isReverted=!1,this.id=_contextID++,et&&this.add(et)}var j=_.prototype;return j.add=function(tt,rt,nt){_isFunction$1(tt)&&(nt=rt,rt=tt,tt=_isFunction$1);var it=this,st=function(){var ot=_context$2,lt=it.selector,ct;return ot&&ot!==it&&ot.data.push(it),nt&&(it.selector=selector(nt)),_context$2=it,ct=rt.apply(it,arguments),_isFunction$1(ct)&&it._r.push(ct),_context$2=ot,it.selector=lt,it.isReverted=!1,ct};return it.last=st,tt===_isFunction$1?st(it,function(at){return it.add(null,at)}):tt?it[tt]=st:st},j.ignore=function(tt){var rt=_context$2;_context$2=null,tt(this),_context$2=rt},j.getTweens=function(){var tt=[];return this.data.forEach(function(rt){return rt instanceof _?tt.push.apply(tt,rt.getTweens()):rt instanceof Tween&&!(rt.parent&&rt.parent.data==="nested")&&tt.push(rt)}),tt},j.clear=function(){this._r.length=this.data.length=0},j.kill=function(tt,rt){var nt=this;if(tt?function(){for(var st=nt.getTweens(),at=nt.data.length,ot;at--;)ot=nt.data[at],ot.data==="isFlip"&&(ot.revert(),ot.getChildren(!0,!0,!1).forEach(function(lt){return st.splice(st.indexOf(lt),1)}));for(st.map(function(lt){return{g:lt._dur||lt._delay||lt._sat&&!lt._sat.vars.immediateRender?lt.globalTime(0):-1/0,t:lt}}).sort(function(lt,ct){return ct.g-lt.g||-1/0}).forEach(function(lt){return lt.t.revert(tt)}),at=nt.data.length;at--;)ot=nt.data[at],ot instanceof Timeline?ot.data!=="nested"&&(ot.scrollTrigger&&ot.scrollTrigger.revert(),ot.kill()):!(ot instanceof Tween)&&ot.revert&&ot.revert(tt);nt._r.forEach(function(lt){return lt(tt,nt)}),nt.isReverted=!0}():this.data.forEach(function(st){return st.kill&&st.kill()}),this.clear(),rt)for(var it=_media.length;it--;)_media[it].id===this.id&&_media.splice(it,1)},j.revert=function(tt){this.kill(tt||{})},_}(),MatchMedia=function(){function _(et){this.contexts=[],this.scope=et,_context$2&&_context$2.data.push(this)}var j=_.prototype;return j.add=function(tt,rt,nt){_isObject$1(tt)||(tt={matches:tt});var it=new Context(0,nt||this.scope),st=it.conditions={},at,ot,lt;_context$2&&!it.selector&&(it.selector=_context$2.selector),this.contexts.push(it),rt=it.add("onMatch",rt),it.queries=tt;for(ot in tt)ot==="all"?lt=1:(at=_win$3.matchMedia(tt[ot]),at&&(_media.indexOf(it)<0&&_media.push(it),(st[ot]=at.matches)&&(lt=1),at.addListener?at.addListener(_onMediaChange):at.addEventListener("change",_onMediaChange)));return lt&&rt(it,function(ct){return it.add(null,ct)}),this},j.revert=function(tt){this.kill(tt||{})}
vendor: 9,111 bytes, lines 686-693
686,j.kill=function(tt){this.contexts.forEach(function(rt){return rt.kill(tt,!0)})},_}(),_gsap={registerPlugin:function(){for(var j=arguments.length,et=new Array(j),tt=0;tt<j;tt++)et[tt]=arguments[tt];et.forEach(function(rt){return _createPlugin(rt)})},timeline:function(j){return new Timeline(j)},getTweensOf:function(j,et){return _globalTimeline.getTweensOf(j,et)},getProperty:function(j,et,tt,rt){_isString$1(j)&&(j=toArray$1(j)[0]);var nt=_getCache(j||{}).get,it=tt?_passThrough$1:_numericIfPossible;return tt==="native"&&(tt=""),j&&(et?it((_plugins[et]&&_plugins[et].get||nt)(j,et,tt,rt)):function(st,at,ot){return it((_plugins[st]&&_plugins[st].get||nt)(j,st,at,ot))})},quickSetter:function(j,et,tt){if(j=toArray$1(j),j.length>1){var rt=j.map(function(lt){return gsap$2.quickSetter(lt,et,tt)}),nt=rt.length;return function(lt){for(var ct=nt;ct--;)rt[ct](lt)}}j=j[0]||{};var it=_plugins[et],st=_getCache(j),at=st.harness&&(st.harness.aliases||{})[et]||et,ot=it?function(lt){var ct=new it;_quickTween._pt=0,ct.init(j,tt?lt+tt:lt,_quickTween,0,[j]),ct.render(1,ct),_quickTween._pt&&_renderPropTweens(1,_quickTween)}:st.set(j,at);return it?ot:function(lt){return ot(j,at,tt?lt+tt:lt,st,1)}},quickTo:function(j,et,tt){var rt,nt=gsap$2.to(j,_setDefaults$1((rt={},rt[et]="+=0.1",rt.paused=!0,rt.stagger=0,rt),tt||{})),it=function(at,ot,lt){return nt.resetTo(et,at,ot,lt)};return it.tween=nt,it},isTweening:function(j){return _globalTimeline.getTweensOf(j,!0).length>0},defaults:function(j){return j&&j.ease&&(j.ease=_parseEase(j.ease,_defaults$1.ease)),_mergeDeep(_defaults$1,j||{})},config:function(j){return _mergeDeep(_config,j||{})},registerEffect:function(j){var et=j.name,tt=j.effect,rt=j.plugins,nt=j.defaults,it=j.extendTimeline;(rt||"").split(",").forEach(function(st){return st&&!_plugins[st]&&!_globals[st]&&_warn(et+" effect requires "+st+" plugin.")}),_effects[et]=function(st,at,ot){return tt(toArray$1(st),_setDefaults$1(at||{},nt),ot)},it&&(Timeline.prototype[et]=function(st,at,ot){return this.add(_effects[et](st,_isObject$1(at)?at:(ot=at)&&{},this),ot)})},registerEase:function(j,et){_easeMap[j]=_parseEase(et)},parseEase:function(j,et){return arguments.length?_parseEase(j,et):_easeMap},getById:function(j){return _globalTimeline.getById(j)},exportRoot:function(j,et){j===void 0&&(j={});var tt=new Timeline(j),rt,nt;for(tt.smoothChildTiming=_isNotFalse(j.smoothChildTiming),_globalTimeline.remove(tt),tt._dp=0,tt._time=tt._tTime=_globalTimeline._time,rt=_globalTimeline._first;rt;)nt=rt._next,(et||!(!rt._dur&&rt instanceof Tween&&rt.vars.onComplete===rt._targets[0]))&&_addToTimeline(tt,rt,rt._start-rt._delay),rt=nt;return _addToTimeline(_globalTimeline,tt,0),tt},context:function(j,et){return j?new Context(j,et):_context$2},matchMedia:function(j){return new MatchMedia(j)},matchMediaRefresh:function(){return _media.forEach(function(j){var et=j.conditions,tt,rt;for(rt in et)et[rt]&&(et[rt]=!1,tt=1);tt&&j.revert()})||_onMediaChange()},addEventListener:function(j,et){var tt=_listeners$1[j]||(_listeners$1[j]=[]);~tt.indexOf(et)||tt.push(et)},removeEventListener:function(j,et){var tt=_listeners$1[j],rt=tt&&tt.indexOf(et);rt>=0&&tt.splice(rt,1)},utils:{wrap,wrapYoyo,distribute,random,snap,normalize:normalize$1,getUnit,clamp:clamp$2,splitColor,toArray:toArray$1,selector,mapRange,pipe,unitize,interpolate:interpolate$1,shuffle},install:_install,effects:_effects,ticker:_ticker,updateRoot:Timeline.updateRoot,plugins:_plugins,globalTimeline:_globalTimeline,core:{PropTween,globals:_addGlobal,Tween,Timeline,Animation,getCache:_getCache,_removeLinkedListItem,reverting:function(){return _reverting$1},context:function(j){return j&&_context$2&&(_context$2.data.push(j),j._ctx=_context$2),_context$2},suppressOverwrites:function(j){return _suppressOverwrites$1=j}}};_forEachName("to,from,fromTo,delayedCall,set,killTweensOf",function(_){return _gsap[_]=Tween[_]});_ticker.add(Timeline.updateRoot);_quickTween=_gsap.to({},{duration:0});var _getPluginPropTween=function(j,et){for(var tt=j._pt;tt&&tt.p!==et&&tt.op!==et&&tt.fp!==et;)tt=tt._next;return tt},_addModifiers=function(j,et){var tt=j._targets,rt,nt,it;for(rt in et)for(nt=tt.length;nt--;)it=j._ptLookup[nt][rt],it&&(it=it.d)&&(it._pt&&(it=_getPluginPropTween(it,rt)),it&&it.modifier&&it.modifier(et[rt],j,tt[nt],rt))},_buildModifierPlugin=function(j,et){return{name:j,headless:1,rawVars:1,init:function(rt,nt,it){it._onInit=function(st){var at,ot;if(_isString$1(nt)&&(at={},_forEachName(nt,function(lt){return at[lt]=1}),nt=at),et){at={};for(ot in nt)at[ot]=et(nt[ot]);nt=at}_addModifiers(st,nt)}}}},gsap$2=_gsap.registerPlugin({name:"attr",init:function(j,et,tt,rt,nt){var it,st,at;this.tween=tt;for(it in et)at=j.getAttribute(it)||"",st=this.add(j,"setAttribute",(at||0)+"",et[it],rt,nt,0,0,it),st.op=it,st.b=at,this._props.push(it)},render:function(j,et){for(var tt=et._pt;tt;)_reverting$1?tt.set(tt.t,tt.p,tt.b,tt):tt.r(j,tt.d),tt=tt._next}},{name:"endArray",headless:1,init:function(j,et){for(var tt=et.length;tt--;)this.add(j,tt,j[tt]||0,et[tt],0,0,0,0,0,1)}},_buildModifierPlugin("roundProps",_roundModifier),_buildModifierPlugin("modifiers"),_buildModifierPlugin("snap",snap))||_gsap;Tween.version=Timeline.version=gsap$2.version="3.14.2";_coreReady=1;_windowExists$2()&&_wake();_easeMap.Power0;_easeMap.Power1;_easeMap.Power2;_easeMap.Power3;_easeMap.Power4;_easeMap.Linear;_easeMap.Quad;_easeMap.Cubic;_easeMap.Quart;_easeMap.Quint;_easeMap.Strong;_easeMap.Elastic;_easeMap.Back;_easeMap.SteppedEase;_easeMap.Bounce;_easeMap.Sine;_easeMap.Expo;_easeMap.Circ;/*! 687 * CSSPlugin 3.14.2 688 * https://gsap.com 689 * 690 * Copyright 2008-2025, GreenSock. All rights reserved. 691 * Subject to the terms at https://gsap.com/standard-license 692 * @author: Jack Doyle, [email protected] 693*/var _win$2,_doc$2,_docElement,_pluginInitted,_tempDiv,_recentSetterPlugin,_reverting,_windowExists$1=function(){return typeof window<"u"},_transformProps={},_RAD2DEG=180/Math.PI,_DEG2RAD=Math.PI/180,_atan2=Math.atan2,_bigNum=1e8,_capsExp$1=/([A-Z])/g,_horizontalExp=/(left|right|width|margin|padding|x)/i,_complexExp=/[\s,\(]\S/,_propertyAliases={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},_renderCSSProp=function(j,et){return et.set(et.t,et.p,Math.round((et.s+et.c*j)*1e4)/1e4+et.u,et)},_renderPropWithEnd=function(j,et){return et.set(et.t,et.p,j===1?et.e:Math.round((et.s+et.c*j)*1e4)/1e4+et.u,et)},_renderCSSPropWithBeginning=function(j,et){return et.set(et.t,et.p,j?Math.round((et.s+et.c*j)*1e4)/1e4+et.u:et.b,et)},_renderCSSPropWithBeginningAndEnd=function(j,et){return et.set(et.t,et.p,j===1?et.e:j?Math.round((et.s+et.c*j)*1e4)/1e4+et.u:et.b,et)},_renderRoundedCSSProp=function(j,et){var tt=et.s+et.c*j;et.set(et.t,et.p,~~(tt+(tt<0?-.5:.5))+et.u,et)},_renderNonTweeningValue=function(j,et){return et.set(et.t,et.p,j?et.e:et.b,et)},_renderNonTweeningValueOnlyAtEnd=function(j,et){return et.set(et.t,et.p,j!==1?et.b:et.e,et)},_setterCSSStyle=function(j,et,tt){return j.style[et]=tt},_setterCSSProp=function(j,et,tt){return j.style.setProperty(et,tt)},_setterTransform=function(j,et,tt){return j._gsap[et]=tt},_setterScale=function(j,et,tt){return j._gsap.scaleX=j._gsap.scaleY=tt},_setterScaleWithRender=function(j,et,tt,rt,nt){var it=j._gsap;it.scaleX=it.scaleY=tt,it.renderTransform(nt,it)},_setterTransformWithRender=function(j,et,tt,rt,nt){var it=j._gsap;it[et]=tt,it.renderTransform(nt,it)},_transformProp$1="transform",_transformOriginProp=_transformProp$1+"Origin",_saveStyle=function _(j,et){var tt=this,rt=this.target,nt=rt.style,it=rt._gsap;if(j in _transformProps&&nt){if(this.tfm=this.tfm||{},j!=="transform")j=_propertyAliases[j]||j,~j.indexOf(",")?j.split(",").forEach(function(st){return tt.tfm[st]=_get(rt,st)}):this.tfm[j]=it.x?it[j]:_get(rt,j),j===_transformOriginProp&&(this.tfm.zOrigin=it.zOrigin);else return _propertyAliases.transform.split(",").forEach(function(st){return _.call(tt,st,et)});if(this.props.indexOf(_transformProp$1)>=0)return;it.svg&&(this.svgo=rt.getAttribute("data-svg-origin"),this.props.push(_transformOriginProp,et,"")),j=_transformProp$1}(nt||et)&&this.props.push(j,et,nt[j])},_removeIndependentTransforms=function(j){j.translate&&(j.removeProperty("translate"),j.removeProperty("scale"),j.removeProperty("rotate"))},_revertStyle=function(){var j=this.props,et=this.target,tt=et.style,rt=et._gsap,nt,it;for(nt=0;nt<j.length;nt+=3)j[nt+1]?j[nt+1]===2?et[j[nt]](j[nt+2]):et[j[nt]]=j[nt+2]:j[nt+2]?tt[j[nt]]=j[nt+2]:tt.removeProperty(j[nt].substr(0,2)==="--"?j[nt]:j[nt].replace(_capsExp$1,"-$1").toLowerCase());if(this.tfm){for(it in this.tfm)rt[it]=this.tfm[it];rt.svg&&(rt.renderTransform(),et.setAttribute("data-svg-origin",this.svgo||"")),nt=_reverting(),(!nt||!nt.isStart)&&!tt[_transformProp$1]&&(_removeIndependentTransforms(tt),rt.zOrigin&&tt[_transformOriginProp]&&(tt[_transformOriginProp]+=" "+rt.zOrigin+"px",rt.zOrigin=0,rt.renderTransform()),rt.uncache=1)}},_getStyleSaver=function(j,et){var tt={target:j,props:[],revert:_revertStyle,save:_saveStyle};return j._gsap||gsap$2.core.getCache(j),et&&j.style&&j.nodeType&&et.split(",").forEach(function(rt){return tt.save(rt)}
vendor: 6,058 bytes, line 693
693),tt},_supports3D,_createElement=function(j,et){var tt=_doc$2.createElementNS?_doc$2.createElementNS((et||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),j):_doc$2.createElement(j);return tt&&tt.style?tt:_doc$2.createElement(j)},_getComputedProperty=function _(j,et,tt){var rt=getComputedStyle(j);return rt[et]||rt.getPropertyValue(et.replace(_capsExp$1,"-$1").toLowerCase())||rt.getPropertyValue(et)||!tt&&_(j,_checkPropPrefix(et)||et,1)||""},_prefixes="O,Moz,ms,Ms,Webkit".split(","),_checkPropPrefix=function(j,et,tt){var rt=et||_tempDiv,nt=rt.style,it=5;if(j in nt&&!tt)return j;for(j=j.charAt(0).toUpperCase()+j.substr(1);it--&&!(_prefixes[it]+j in nt););return it<0?null:(it===3?"ms":it>=0?_prefixes[it]:"")+j},_initCore$1=function(){_windowExists$1()&&window.document&&(_win$2=window,_doc$2=_win$2.document,_docElement=_doc$2.documentElement,_tempDiv=_createElement("div")||{style:{}},_createElement("div"),_transformProp$1=_checkPropPrefix(_transformProp$1),_transformOriginProp=_transformProp$1+"Origin",_tempDiv.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",_supports3D=!!_checkPropPrefix("perspective"),_reverting=gsap$2.core.reverting,_pluginInitted=1)},_getReparentedCloneBBox=function(j){var et=j.ownerSVGElement,tt=_createElement("svg",et&&et.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),rt=j.cloneNode(!0),nt;rt.style.display="block",tt.appendChild(rt),_docElement.appendChild(tt);try{nt=rt.getBBox()}catch{}return tt.removeChild(rt),_docElement.removeChild(tt),nt},_getAttributeFallbacks=function(j,et){for(var tt=et.length;tt--;)if(j.hasAttribute(et[tt]))return j.getAttribute(et[tt])},_getBBox=function(j){var et,tt;try{et=j.getBBox()}catch{et=_getReparentedCloneBBox(j),tt=1}return et&&(et.width||et.height)||tt||(et=_getReparentedCloneBBox(j)),et&&!et.width&&!et.x&&!et.y?{x:+_getAttributeFallbacks(j,["x","cx","x1"])||0,y:+_getAttributeFallbacks(j,["y","cy","y1"])||0,width:0,height:0}:et},_isSVG=function(j){return!!(j.getCTM&&(!j.parentNode||j.ownerSVGElement)&&_getBBox(j))},_removeProperty=function(j,et){if(et){var tt=j.style,rt;et in _transformProps&&et!==_transformOriginProp&&(et=_transformProp$1),tt.removeProperty?(rt=et.substr(0,2),(rt==="ms"||et.substr(0,6)==="webkit")&&(et="-"+et),tt.removeProperty(rt==="--"?et:et.replace(_capsExp$1,"-$1").toLowerCase())):tt.removeAttribute(et)}},_addNonTweeningPT=function(j,et,tt,rt,nt,it){var st=new PropTween(j._pt,et,tt,0,1,it?_renderNonTweeningValueOnlyAtEnd:_renderNonTweeningValue);return j._pt=st,st.b=rt,st.e=nt,j._props.push(tt),st},_nonConvertibleUnits={deg:1,rad:1,turn:1},_nonStandardLayouts={grid:1,flex:1},_convertToUnit=function _(j,et,tt,rt){var nt=parseFloat(tt)||0,it=(tt+"").trim().substr((nt+"").length)||"px",st=_tempDiv.style,at=_horizontalExp.test(et),ot=j.tagName.toLowerCase()==="svg",lt=(ot?"client":"offset")+(at?"Width":"Height"),ct=100,ut=rt==="px",dt=rt==="%",ht,pt,gt,ft;if(rt===it||!nt||_nonConvertibleUnits[rt]||_nonConvertibleUnits[it])return nt;if(it!=="px"&&!ut&&(nt=_(j,et,tt,"px")),ft=j.getCTM&&_isSVG(j),(dt||it==="%")&&(_transformProps[et]||~et.indexOf("adius")))return ht=ft?j.getBBox()[at?"width":"height"]:j[lt],_round$1(dt?nt/ht*ct:nt/100*ht);if(st[at?"width":"height"]=ct+(ut?it:rt),pt=rt!=="rem"&&~et.indexOf("adius")||rt==="em"&&j.appendChild&&!ot?j:j.parentNode,ft&&(pt=(j.ownerSVGElement||{}).parentNode),(!pt||pt===_doc$2||!pt.appendChild)&&(pt=_doc$2.body),gt=pt._gsap,gt&&dt&>.width&&at&>.time===_ticker.time&&!gt.uncache)return _round$1(nt/gt.width*ct);if(dt&&(et==="height"||et==="width")){var mt=j.style[et];j.style[et]=ct+rt,ht=j[lt],mt?j.style[et]=mt:_removeProperty(j,et)}else(dt||it==="%")&&!_nonStandardLayouts[_getComputedProperty(pt,"display")]&&(st.position=_getComputedProperty(j,"position")),pt===j&&(st.position="static"),pt.appendChild(_tempDiv),ht=_tempDiv[lt],pt.removeChild(_tempDiv),st.position="absolute";return at&&dt&&(gt=_getCache(pt),gt.time=_ticker.time,gt.width=pt[lt]),_round$1(ut?ht*nt/ct:ht&&nt?ct/ht*nt:0)},_get=function(j,et,tt,rt){var nt;return _pluginInitted||_initCore$1(),et in _propertyAliases&&et!=="transform"&&(et=_propertyAliases[et],~et.indexOf(",")&&(et=et.split(",")[0])),_transformProps[et]&&et!=="transform"?(nt=_parseTransform(j,rt),nt=et!=="transformOrigin"?nt[et]:nt.svg?nt.origin:_firstTwoOnly(_getComputedProperty(j,_transformOriginProp))+" "+nt.zOrigin+"px"):(nt=j.style[et],(!nt||nt==="auto"||rt||~(nt+"").indexOf("calc("))&&(nt=_specialProps[et]&&_specialProps[et](j,et,tt)||_getComputedProperty(j,et)||_getProperty(j,et)||(et==="opacity"?1:0))),tt&&!~(nt+"").trim().indexOf(" ")?_convertToUnit(j,et,nt,tt)+tt:nt},_tweenComplexCSSString=function(j,et,tt,rt){if(!tt||tt==="none"){var nt=_checkPropPrefix(et,j,1),it=nt&&_getComputedProperty(j,nt,1);it&&it!==tt?(et=nt,tt=it):et==="borderColor"&&(tt=_getComputedProperty(j,"borderTopColor"))}var st=new PropTween(this._pt,j.style,et,0,1,_renderComplexString),at=0,ot=0,lt,ct,ut,dt,ht,pt,gt,ft,mt,xt,yt,vt;if(st.b=tt,st.e=rt,tt+="",rt+="",rt.substring(0,6)==="var(--"&&(rt=_getComputedProperty(j,rt.substring(4,rt.indexOf(")")))),rt==="auto"&&(pt=j.style[et],j.style[et]=rt,rt=_getComputedProperty(j,et)||rt,pt?j.style[et]=pt:_removeProperty(j,et)),lt=[tt,rt],_colorStringFilter(lt),tt=lt[0],rt=lt[1],ut=tt.match(_numWithUnitExp)||[],vt=rt.match(_numWithUnitExp)||[],vt.length){for(;ct=_numWithUnitExp.exec(rt);)gt=ct[0],mt=rt.substring(at,ct.index),ht?ht=(ht+1)%5:(mt.substr(-5)==="rgba("||mt.substr(-5)==="hsla(")&&(ht=1),gt!==(pt=ut[ot++]||"")&&(dt=parseFloat(pt)||0,yt=pt.substr((dt+"").length),gt.charAt(1)==="="&&(gt=_parseRelative(dt,gt)+yt),ft=parseFloat(gt),xt=gt.substr((ft+"").length),at=_numWithUnitExp.lastIndex-xt.length,xt||(xt=xt||_config.units[et]||yt,at===rt.length&&(rt+=xt,st.e+=xt)),yt!==xt&&(dt=_convertToUnit(j,et,pt,xt)||0),st._pt={_next:st._pt,p:mt||ot===1?mt:",",s:dt,c:ft-dt,m:ht&&ht<4||et==="zIndex"?Math.round:0});st.c=at<rt.length?rt.substring(at,rt.length):""}else st.r=et==="display"&&rt==="none"?_renderNonTweeningValueOnlyAtEnd:_renderNonTweeningValue;
vendor: 6,602 bytes, line 693
693return _relExp.test(rt)&&(st.e=0),this._pt=st,st},_keywordToPercent={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},_convertKeywordsToPercentages=function(j){var et=j.split(" "),tt=et[0],rt=et[1]||"50%";return(tt==="top"||tt==="bottom"||rt==="left"||rt==="right")&&(j=tt,tt=rt,rt=j),et[0]=_keywordToPercent[tt]||tt,et[1]=_keywordToPercent[rt]||rt,et.join(" ")},_renderClearProps=function(j,et){if(et.tween&&et.tween._time===et.tween._dur){var tt=et.t,rt=tt.style,nt=et.u,it=tt._gsap,st,at,ot;if(nt==="all"||nt===!0)rt.cssText="",at=1;else for(nt=nt.split(","),ot=nt.length;--ot>-1;)st=nt[ot],_transformProps[st]&&(at=1,st=st==="transformOrigin"?_transformOriginProp:_transformProp$1),_removeProperty(tt,st);at&&(_removeProperty(tt,_transformProp$1),it&&(it.svg&&tt.removeAttribute("transform"),rt.scale=rt.rotate=rt.translate="none",_parseTransform(tt,1),it.uncache=1,_removeIndependentTransforms(rt)))}},_specialProps={clearProps:function(j,et,tt,rt,nt){if(nt.data!=="isFromStart"){var it=j._pt=new PropTween(j._pt,et,tt,0,0,_renderClearProps);return it.u=rt,it.pr=-10,it.tween=nt,j._props.push(tt),1}}},_identity2DMatrix=[1,0,0,1,0,0],_rotationalProperties={},_isNullTransform=function(j){return j==="matrix(1, 0, 0, 1, 0, 0)"||j==="none"||!j},_getComputedTransformMatrixAsArray=function(j){var et=_getComputedProperty(j,_transformProp$1);return _isNullTransform(et)?_identity2DMatrix:et.substr(7).match(_numExp).map(_round$1)},_getMatrix=function(j,et){var tt=j._gsap||_getCache(j),rt=j.style,nt=_getComputedTransformMatrixAsArray(j),it,st,at,ot;return tt.svg&&j.getAttribute("transform")?(at=j.transform.baseVal.consolidate().matrix,nt=[at.a,at.b,at.c,at.d,at.e,at.f],nt.join(",")==="1,0,0,1,0,0"?_identity2DMatrix:nt):(nt===_identity2DMatrix&&!j.offsetParent&&j!==_docElement&&!tt.svg&&(at=rt.display,rt.display="block",it=j.parentNode,(!it||!j.offsetParent&&!j.getBoundingClientRect().width)&&(ot=1,st=j.nextElementSibling,_docElement.appendChild(j)),nt=_getComputedTransformMatrixAsArray(j),at?rt.display=at:_removeProperty(j,"display"),ot&&(st?it.insertBefore(j,st):it?it.appendChild(j):_docElement.removeChild(j))),et&&nt.length>6?[nt[0],nt[1],nt[4],nt[5],nt[12],nt[13]]:nt)},_applySVGOrigin=function(j,et,tt,rt,nt,it){var st=j._gsap,at=nt||_getMatrix(j,!0),ot=st.xOrigin||0,lt=st.yOrigin||0,ct=st.xOffset||0,ut=st.yOffset||0,dt=at[0],ht=at[1],pt=at[2],gt=at[3],ft=at[4],mt=at[5],xt=et.split(" "),yt=parseFloat(xt[0])||0,vt=parseFloat(xt[1])||0,bt,Et,_t,wt;tt?at!==_identity2DMatrix&&(Et=dt*gt-ht*pt)&&(_t=yt*(gt/Et)+vt*(-pt/Et)+(pt*mt-gt*ft)/Et,wt=yt*(-ht/Et)+vt*(dt/Et)-(dt*mt-ht*ft)/Et,yt=_t,vt=wt):(bt=_getBBox(j),yt=bt.x+(~xt[0].indexOf("%")?yt/100*bt.width:yt),vt=bt.y+(~(xt[1]||xt[0]).indexOf("%")?vt/100*bt.height:vt)),rt||rt!==!1&&st.smooth?(ft=yt-ot,mt=vt-lt,st.xOffset=ct+(ft*dt+mt*pt)-ft,st.yOffset=ut+(ft*ht+mt*gt)-mt):st.xOffset=st.yOffset=0,st.xOrigin=yt,st.yOrigin=vt,st.smooth=!!rt,st.origin=et,st.originIsAbsolute=!!tt,j.style[_transformOriginProp]="0px 0px",it&&(_addNonTweeningPT(it,st,"xOrigin",ot,yt),_addNonTweeningPT(it,st,"yOrigin",lt,vt),_addNonTweeningPT(it,st,"xOffset",ct,st.xOffset),_addNonTweeningPT(it,st,"yOffset",ut,st.yOffset)),j.setAttribute("data-svg-origin",yt+" "+vt)},_parseTransform=function(j,et){var tt=j._gsap||new GSCache(j);if("x"in tt&&!et&&!tt.uncache)return tt;var rt=j.style,nt=tt.scaleX<0,it="px",st="deg",at=getComputedStyle(j),ot=_getComputedProperty(j,_transformOriginProp)||"0",lt,ct,ut,dt,ht,pt,gt,ft,mt,xt,yt,vt,bt,Et,_t,wt,Rt,Ct,jt,Dt,It,Ot,At,Tt,kt,St,Pt,$t,Nt,Mt,Vt,Ht;return lt=ct=ut=pt=gt=ft=mt=xt=yt=0,dt=ht=1,tt.svg=!!(j.getCTM&&_isSVG(j)),at.translate&&((at.translate!=="none"||at.scale!=="none"||at.rotate!=="none")&&(rt[_transformProp$1]=(at.translate!=="none"?"translate3d("+(at.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(at.rotate!=="none"?"rotate("+at.rotate+") ":"")+(at.scale!=="none"?"scale("+at.scale.split(" ").join(",")+") ":"")+(at[_transformProp$1]!=="none"?at[_transformProp$1]:"")),rt.scale=rt.rotate=rt.translate="none"),Et=_getMatrix(j,tt.svg),tt.svg&&(tt.uncache?(kt=j.getBBox(),ot=tt.xOrigin-kt.x+"px "+(tt.yOrigin-kt.y)+"px",Tt=""):Tt=!et&&j.getAttribute("data-svg-origin"),_applySVGOrigin(j,Tt||ot,!!Tt||tt.originIsAbsolute,tt.smooth!==!1,Et)),vt=tt.xOrigin||0,bt=tt.yOrigin||0,Et!==_identity2DMatrix&&(Ct=Et[0],jt=Et[1],Dt=Et[2],It=Et[3],lt=Ot=Et[4],ct=At=Et[5],Et.length===6?(dt=Math.sqrt(Ct*Ct+jt*jt),ht=Math.sqrt(It*It+Dt*Dt),pt=Ct||jt?_atan2(jt,Ct)*_RAD2DEG:0,mt=Dt||It?_atan2(Dt,It)*_RAD2DEG+pt:0,mt&&(ht*=Math.abs(Math.cos(mt*_DEG2RAD))),tt.svg&&(lt-=vt-(vt*Ct+bt*Dt),ct-=bt-(vt*jt+bt*It))):(Ht=Et[6],Mt=Et[7],Pt=Et[8],$t=Et[9],Nt=Et[10],Vt=Et[11],lt=Et[12],ct=Et[13],ut=Et[14],_t=_atan2(Ht,Nt),gt=_t*_RAD2DEG,_t&&(wt=Math.cos(-_t),Rt=Math.sin(-_t),Tt=Ot*wt+Pt*Rt,kt=At*wt+$t*Rt,St=Ht*wt+Nt*Rt,Pt=Ot*-Rt+Pt*wt,$t=At*-Rt+$t*wt,Nt=Ht*-Rt+Nt*wt,Vt=Mt*-Rt+Vt*wt,Ot=Tt,At=kt,Ht=St),_t=_atan2(-Dt,Nt),ft=_t*_RAD2DEG,_t&&(wt=Math.cos(-_t),Rt=Math.sin(-_t),Tt=Ct*wt-Pt*Rt,kt=jt*wt-$t*Rt,St=Dt*wt-Nt*Rt,Vt=It*Rt+Vt*wt,Ct=Tt,jt=kt,Dt=St),_t=_atan2(jt,Ct),pt=_t*_RAD2DEG,_t&&(wt=Math.cos(_t),Rt=Math.sin(_t),Tt=Ct*wt+jt*Rt,kt=Ot*wt+At*Rt,jt=jt*wt-Ct*Rt,At=At*wt-Ot*Rt,Ct=Tt,Ot=kt),gt&&Math.abs(gt)+Math.abs(pt)>359.9&&(gt=pt=0,ft=180-ft),dt=_round$1(Math.sqrt(Ct*Ct+jt*jt+Dt*Dt)),ht=_round$1(Math.sqrt(At*At+Ht*Ht)),_t=_atan2(Ot,At),mt=Math.abs(_t)>2e-4?_t*_RAD2DEG:0,yt=Vt?1/(Vt<0?-Vt:Vt):0),tt.svg&&(Tt=j.getAttribute("transform"),tt.forceCSS=j.setAttribute("transform","")||!_isNullTransform(_getComputedProperty(j,_transformProp$1)),Tt&&j.setAttribute("transform",Tt))),Math.abs(mt)>90&&Math.abs(mt)<270&&(nt?(dt*=-1,mt+=pt<=0?180:-180,pt+=pt<=0?180:-180):(ht*=-1,mt+=mt<=0?180:-180)),et=et||tt.uncache,tt.x=lt-((tt.xPercent=lt&&(!et&&tt.xPercent||(Math.round(j.offsetWidth/2)===Math.round(-lt)?-50:0)))?j.offsetWidth*tt.xPercent/100:0)+it,tt.y=ct-((tt.yPercent=ct&&(!et&&tt.yPercent||(Math.round(j.offsetHeight/2)===Math.round(-ct)?-50:0)))?j.offsetHeight*tt.yPercent/100:0)+it,tt.z=ut+it,tt.scaleX=_round$1(dt),tt.scaleY=_round$1(ht),tt.rotation=_round$1(pt)+st,tt.rotationX=_round$1(gt)+st,tt.rotationY=_round$1(ft)+st,tt.skewX=mt+st,tt.skewY=xt+st,tt.transformPerspective=yt+it,(tt.zOrigin=parseFloat(ot.split(" ")[2])||!et&&tt.zOrigin||0)&&(rt[_transformOriginProp]=_firstTwoOnly(ot)),tt.xOffset=tt.yOffset=0,tt.force3D=_config.force3D,tt.renderTransform=tt.svg?_renderSVGTransforms:_supports3D?_renderCSSTransforms:_renderNon3DTransforms,tt.uncache=0,tt},_firstTwoOnly=function(j){return(j=j.split(" "))[0]+" "+j[1]},_addPxTranslate=function(j,et,tt){var rt=getUnit(et);
vendor: 4,703 bytes, line 693
693return _round$1(parseFloat(et)+parseFloat(_convertToUnit(j,"x",tt+"px",rt)))+rt},_renderNon3DTransforms=function(j,et){et.z="0px",et.rotationY=et.rotationX="0deg",et.force3D=0,_renderCSSTransforms(j,et)},_zeroDeg="0deg",_zeroPx="0px",_endParenthesis=") ",_renderCSSTransforms=function(j,et){var tt=et||this,rt=tt.xPercent,nt=tt.yPercent,it=tt.x,st=tt.y,at=tt.z,ot=tt.rotation,lt=tt.rotationY,ct=tt.rotationX,ut=tt.skewX,dt=tt.skewY,ht=tt.scaleX,pt=tt.scaleY,gt=tt.transformPerspective,ft=tt.force3D,mt=tt.target,xt=tt.zOrigin,yt="",vt=ft==="auto"&&j&&j!==1||ft===!0;if(xt&&(ct!==_zeroDeg||lt!==_zeroDeg)){var bt=parseFloat(lt)*_DEG2RAD,Et=Math.sin(bt),_t=Math.cos(bt),wt;bt=parseFloat(ct)*_DEG2RAD,wt=Math.cos(bt),it=_addPxTranslate(mt,it,Et*wt*-xt),st=_addPxTranslate(mt,st,-Math.sin(bt)*-xt),at=_addPxTranslate(mt,at,_t*wt*-xt+xt)}gt!==_zeroPx&&(yt+="perspective("+gt+_endParenthesis),(rt||nt)&&(yt+="translate("+rt+"%, "+nt+"%) "),(vt||it!==_zeroPx||st!==_zeroPx||at!==_zeroPx)&&(yt+=at!==_zeroPx||vt?"translate3d("+it+", "+st+", "+at+") ":"translate("+it+", "+st+_endParenthesis),ot!==_zeroDeg&&(yt+="rotate("+ot+_endParenthesis),lt!==_zeroDeg&&(yt+="rotateY("+lt+_endParenthesis),ct!==_zeroDeg&&(yt+="rotateX("+ct+_endParenthesis),(ut!==_zeroDeg||dt!==_zeroDeg)&&(yt+="skew("+ut+", "+dt+_endParenthesis),(ht!==1||pt!==1)&&(yt+="scale("+ht+", "+pt+_endParenthesis),mt.style[_transformProp$1]=yt||"translate(0, 0)"},_renderSVGTransforms=function(j,et){var tt=et||this,rt=tt.xPercent,nt=tt.yPercent,it=tt.x,st=tt.y,at=tt.rotation,ot=tt.skewX,lt=tt.skewY,ct=tt.scaleX,ut=tt.scaleY,dt=tt.target,ht=tt.xOrigin,pt=tt.yOrigin,gt=tt.xOffset,ft=tt.yOffset,mt=tt.forceCSS,xt=parseFloat(it),yt=parseFloat(st),vt,bt,Et,_t,wt;at=parseFloat(at),ot=parseFloat(ot),lt=parseFloat(lt),lt&&(lt=parseFloat(lt),ot+=lt,at+=lt),at||ot?(at*=_DEG2RAD,ot*=_DEG2RAD,vt=Math.cos(at)*ct,bt=Math.sin(at)*ct,Et=Math.sin(at-ot)*-ut,_t=Math.cos(at-ot)*ut,ot&&(lt*=_DEG2RAD,wt=Math.tan(ot-lt),wt=Math.sqrt(1+wt*wt),Et*=wt,_t*=wt,lt&&(wt=Math.tan(lt),wt=Math.sqrt(1+wt*wt),vt*=wt,bt*=wt)),vt=_round$1(vt),bt=_round$1(bt),Et=_round$1(Et),_t=_round$1(_t)):(vt=ct,_t=ut,bt=Et=0),(xt&&!~(it+"").indexOf("px")||yt&&!~(st+"").indexOf("px"))&&(xt=_convertToUnit(dt,"x",it,"px"),yt=_convertToUnit(dt,"y",st,"px")),(ht||pt||gt||ft)&&(xt=_round$1(xt+ht-(ht*vt+pt*Et)+gt),yt=_round$1(yt+pt-(ht*bt+pt*_t)+ft)),(rt||nt)&&(wt=dt.getBBox(),xt=_round$1(xt+rt/100*wt.width),yt=_round$1(yt+nt/100*wt.height)),wt="matrix("+vt+","+bt+","+Et+","+_t+","+xt+","+yt+")",dt.setAttribute("transform",wt),mt&&(dt.style[_transformProp$1]=wt)},_addRotationalPropTween=function(j,et,tt,rt,nt){var it=360,st=_isString$1(nt),at=parseFloat(nt)*(st&&~nt.indexOf("rad")?_RAD2DEG:1),ot=at-rt,lt=rt+ot+"deg",ct,ut;return st&&(ct=nt.split("_")[1],ct==="short"&&(ot%=it,ot!==ot%(it/2)&&(ot+=ot<0?it:-it)),ct==="cw"&&ot<0?ot=(ot+it*_bigNum)%it-~~(ot/it)*it:ct==="ccw"&&ot>0&&(ot=(ot-it*_bigNum)%it-~~(ot/it)*it)),j._pt=ut=new PropTween(j._pt,et,tt,rt,ot,_renderPropWithEnd),ut.e=lt,ut.u="deg",j._props.push(tt),ut},_assign=function(j,et){for(var tt in et)j[tt]=et[tt];return j},_addRawTransformPTs=function(j,et,tt){var rt=_assign({},tt._gsap),nt="perspective,force3D,transformOrigin,svgOrigin",it=tt.style,st,at,ot,lt,ct,ut,dt,ht;rt.svg?(ot=tt.getAttribute("transform"),tt.setAttribute("transform",""),it[_transformProp$1]=et,st=_parseTransform(tt,1),_removeProperty(tt,_transformProp$1),tt.setAttribute("transform",ot)):(ot=getComputedStyle(tt)[_transformProp$1],it[_transformProp$1]=et,st=_parseTransform(tt,1),it[_transformProp$1]=ot);for(at in _transformProps)ot=rt[at],lt=st[at],ot!==lt&&nt.indexOf(at)<0&&(dt=getUnit(ot),ht=getUnit(lt),ct=dt!==ht?_convertToUnit(tt,at,ot,ht):parseFloat(ot),ut=parseFloat(lt),j._pt=new PropTween(j._pt,st,at,ct,ut-ct,_renderCSSProp),j._pt.u=ht||0,j._props.push(at));_assign(st,rt)};_forEachName("padding,margin,Width,Radius",function(_,j){var et="Top",tt="Right",rt="Bottom",nt="Left",it=(j<3?[et,tt,rt,nt]:[et+nt,et+tt,rt+tt,rt+nt]).map(function(st){return j<2?_+st:"border"+st+_});_specialProps[j>1?"border"+_:_]=function(st,at,ot,lt,ct){var ut,dt;if(arguments.length<4)return ut=it.map(function(ht){return _get(st,ht,ot)}),dt=ut.join(" "),dt.split(ut[0]).length===5?ut[0]:dt;ut=(lt+"").split(" "),dt={},it.forEach(function(ht,pt){return dt[ht]=ut[pt]=ut[pt]||ut[(pt-1)/2|0]}),st.init(at,dt,ct)}});var CSSPlugin={name:"css",register:_initCore$1,targetTest:function(j){return j.style&&j.nodeType},init:function(j,et,tt,rt,nt){var it=this._props,st=j.style,at=tt.vars.startAt,ot,lt,ct,ut,dt,ht,pt,gt,ft,mt,xt,yt,vt,bt,Et,_t,wt;_pluginInitted||_initCore$1(),this.styles=this.styles||_getStyleSaver(j),_t=this.styles.props,this.tween=tt;
vendor: 4,374 bytes, line 693
693for(pt in et)if(pt!=="autoRound"&&(lt=et[pt],!(_plugins[pt]&&_checkPlugin(pt,et,tt,rt,j,nt)))){if(dt=typeof lt,ht=_specialProps[pt],dt==="function"&&(lt=lt.call(tt,rt,j,nt),dt=typeof lt),dt==="string"&&~lt.indexOf("random(")&&(lt=_replaceRandom(lt)),ht)ht(this,j,pt,lt,tt)&&(Et=1);else if(pt.substr(0,2)==="--")ot=(getComputedStyle(j).getPropertyValue(pt)+"").trim(),lt+="",_colorExp.lastIndex=0,_colorExp.test(ot)||(gt=getUnit(ot),ft=getUnit(lt),ft?gt!==ft&&(ot=_convertToUnit(j,pt,ot,ft)+ft):gt&&(lt+=gt)),this.add(st,"setProperty",ot,lt,rt,nt,0,0,pt),it.push(pt),_t.push(pt,0,st[pt]);else if(dt!=="undefined"){if(at&&pt in at?(ot=typeof at[pt]=="function"?at[pt].call(tt,rt,j,nt):at[pt],_isString$1(ot)&&~ot.indexOf("random(")&&(ot=_replaceRandom(ot)),getUnit(ot+"")||ot==="auto"||(ot+=_config.units[pt]||getUnit(_get(j,pt))||""),(ot+"").charAt(1)==="="&&(ot=_get(j,pt))):ot=_get(j,pt),ut=parseFloat(ot),mt=dt==="string"&<.charAt(1)==="="&<.substr(0,2),mt&&(lt=lt.substr(2)),ct=parseFloat(lt),pt in _propertyAliases&&(pt==="autoAlpha"&&(ut===1&&_get(j,"visibility")==="hidden"&&ct&&(ut=0),_t.push("visibility",0,st.visibility),_addNonTweeningPT(this,st,"visibility",ut?"inherit":"hidden",ct?"inherit":"hidden",!ct)),pt!=="scale"&&pt!=="transform"&&(pt=_propertyAliases[pt],~pt.indexOf(",")&&(pt=pt.split(",")[0]))),xt=pt in _transformProps,xt){if(this.styles.save(pt),wt=lt,dt==="string"&<.substring(0,6)==="var(--"){if(lt=_getComputedProperty(j,lt.substring(4,lt.indexOf(")"))),lt.substring(0,5)==="calc("){var Rt=j.style.perspective;j.style.perspective=lt,lt=_getComputedProperty(j,"perspective"),Rt?j.style.perspective=Rt:_removeProperty(j,"perspective")}ct=parseFloat(lt)}if(yt||(vt=j._gsap,vt.renderTransform&&!et.parseTransform||_parseTransform(j,et.parseTransform),bt=et.smoothOrigin!==!1&&vt.smooth,yt=this._pt=new PropTween(this._pt,st,_transformProp$1,0,1,vt.renderTransform,vt,0,-1),yt.dep=1),pt==="scale")this._pt=new PropTween(this._pt,vt,"scaleY",vt.scaleY,(mt?_parseRelative(vt.scaleY,mt+ct):ct)-vt.scaleY||0,_renderCSSProp),this._pt.u=0,it.push("scaleY",pt),pt+="X";else if(pt==="transformOrigin"){_t.push(_transformOriginProp,0,st[_transformOriginProp]),lt=_convertKeywordsToPercentages(lt),vt.svg?_applySVGOrigin(j,lt,0,bt,0,this):(ft=parseFloat(lt.split(" ")[2])||0,ft!==vt.zOrigin&&_addNonTweeningPT(this,vt,"zOrigin",vt.zOrigin,ft),_addNonTweeningPT(this,st,pt,_firstTwoOnly(ot),_firstTwoOnly(lt)));continue}else if(pt==="svgOrigin"){_applySVGOrigin(j,lt,1,bt,0,this);continue}else if(pt in _rotationalProperties){_addRotationalPropTween(this,vt,pt,ut,mt?_parseRelative(ut,mt+lt):lt);continue}else if(pt==="smoothOrigin"){_addNonTweeningPT(this,vt,"smooth",vt.smooth,lt);continue}else if(pt==="force3D"){vt[pt]=lt;continue}else if(pt==="transform"){_addRawTransformPTs(this,lt,j);continue}}else pt in st||(pt=_checkPropPrefix(pt)||pt);if(xt||(ct||ct===0)&&(ut||ut===0)&&!_complexExp.test(lt)&&pt in st)gt=(ot+"").substr((ut+"").length),ct||(ct=0),ft=getUnit(lt)||(pt in _config.units?_config.units[pt]:gt),gt!==ft&&(ut=_convertToUnit(j,pt,ot,ft)),this._pt=new PropTween(this._pt,xt?vt:st,pt,ut,(mt?_parseRelative(ut,mt+ct):ct)-ut,!xt&&(ft==="px"||pt==="zIndex")&&et.autoRound!==!1?_renderRoundedCSSProp:_renderCSSProp),this._pt.u=ft||0,xt&&wt!==lt?(this._pt.b=ot,this._pt.e=wt,this._pt.r=_renderCSSPropWithBeginningAndEnd):gt!==ft&&ft!=="%"&&(this._pt.b=ot,this._pt.r=_renderCSSPropWithBeginning);else if(pt in st)_tweenComplexCSSString.call(this,j,pt,ot,mt?mt+lt:lt);else if(pt in j)this.add(j,pt,ot||j[pt],mt?mt+lt:lt,rt,nt);else if(pt!=="parseTransform"){_missingPlugin(pt,lt);continue}xt||(pt in st?_t.push(pt,0,st[pt]):typeof j[pt]=="function"?_t.push(pt,2,j[pt]()):_t.push(pt,1,ot||j[pt])),it.push(pt)}}Et&&_sortPropTweensByPriority(this)},render:function(j,et){if(et.tween._time||!_reverting())for(var tt=et._pt;tt;)tt.r(j,tt.d),tt=tt._next;else et.styles.revert()},get:_get,aliases:_propertyAliases,getSetter:function(j,et,tt){var rt=_propertyAliases[et];return rt&&rt.indexOf(",")<0&&(et=rt),et in _transformProps&&et!==_transformOriginProp&&(j._gsap.x||_get(j,"x"))?tt&&_recentSetterPlugin===tt?et==="scale"?_setterScale:_setterTransform:(_recentSetterPlugin=tt||{})&&(et==="scale"?_setterScaleWithRender:_setterTransformWithRender):j.style&&!_isUndefined(j.style[et])?_setterCSSStyle:~et.indexOf("-")?_setterCSSProp:_getSetter(j,et)}
vendor: 13,912 bytes, lines 693-707
693,core:{_removeProperty,_getMatrix}};gsap$2.utils.checkPrefix=_checkPropPrefix;gsap$2.core.getStyleSaver=_getStyleSaver;(function(_,j,et,tt){var rt=_forEachName(_+","+j+","+et,function(nt){_transformProps[nt]=1});_forEachName(j,function(nt){_config.units[nt]="deg",_rotationalProperties[nt]=1}),_propertyAliases[rt[13]]=_+","+j,_forEachName(tt,function(nt){var it=nt.split(":");_propertyAliases[it[1]]=rt[it[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");_forEachName("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(_){_config.units[_]="px"});gsap$2.registerPlugin(CSSPlugin);var gsapWithCSS=gsap$2.registerPlugin(CSSPlugin)||gsap$2;gsapWithCSS.core.Tween;function _defineProperties$m(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,tt.key,tt)}}function _createClass$m(_,j,et){return j&&_defineProperties$m(_.prototype,j),_}/*! 694 * Observer 3.14.2 695 * https://gsap.com 696 * 697 * @license Copyright 2008-2025, GreenSock. All rights reserved. 698 * Subject to the terms at https://gsap.com/standard-license 699 * @author: Jack Doyle, [email protected] 700*/var gsap$1,_coreInitted$1,_win$1,_doc$1,_docEl$1,_body$1,_isTouch,_pointerType,ScrollTrigger$1,_root$2,_normalizer$1,_eventTypes,_context$1,_getGSAP$1=function(){return gsap$1||typeof window<"u"&&(gsap$1=window.gsap)&&gsap$1.registerPlugin&&gsap$1},_startup$1=1,_observers=[],_scrollers=[],_proxies=[],_getTime$1=Date.now,_bridge=function(j,et){return et},_integrate=function(){var j=ScrollTrigger$1.core,et=j.bridge||{},tt=j._scrollers,rt=j._proxies;tt.push.apply(tt,_scrollers),rt.push.apply(rt,_proxies),_scrollers=tt,_proxies=rt,_bridge=function(it,st){return et[it](st)}},_getProxyProp=function(j,et){return~_proxies.indexOf(j)&&_proxies[_proxies.indexOf(j)+1][et]},_isViewport$1=function(j){return!!~_root$2.indexOf(j)},_addListener$1=function(j,et,tt,rt,nt){return j.addEventListener(et,tt,{passive:rt!==!1,capture:!!nt})},_removeListener$1=function(j,et,tt,rt){return j.removeEventListener(et,tt,!!rt)},_scrollLeft="scrollLeft",_scrollTop="scrollTop",_onScroll$1=function(){return _normalizer$1&&_normalizer$1.isPressed||_scrollers.cache++},_scrollCacheFunc=function(j,et){var tt=function rt(nt){if(nt||nt===0){_startup$1&&(_win$1.history.scrollRestoration="manual");var it=_normalizer$1&&_normalizer$1.isPressed;nt=rt.v=Math.round(nt)||(_normalizer$1&&_normalizer$1.iOS?1:0),j(nt),rt.cacheID=_scrollers.cache,it&&_bridge("ss",nt)}else(et||_scrollers.cache!==rt.cacheID||_bridge("ref"))&&(rt.cacheID=_scrollers.cache,rt.v=j());return rt.v+rt.offset};return tt.offset=0,j&&tt},_horizontal={s:_scrollLeft,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:_scrollCacheFunc(function(_){return arguments.length?_win$1.scrollTo(_,_vertical.sc()):_win$1.pageXOffset||_doc$1[_scrollLeft]||_docEl$1[_scrollLeft]||_body$1[_scrollLeft]||0})},_vertical={s:_scrollTop,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:_horizontal,sc:_scrollCacheFunc(function(_){return arguments.length?_win$1.scrollTo(_horizontal.sc(),_):_win$1.pageYOffset||_doc$1[_scrollTop]||_docEl$1[_scrollTop]||_body$1[_scrollTop]||0})},_getTarget=function(j,et){return(et&&et._ctx&&et._ctx.selector||gsap$1.utils.toArray)(j)[0]||(typeof j=="string"&&gsap$1.config().nullTargetWarn!==!1?console.warn("Element not found:",j):null)},_isWithin=function(j,et){for(var tt=et.length;tt--;)if(et[tt]===j||et[tt].contains(j))return!0;return!1},_getScrollFunc=function(j,et){var tt=et.s,rt=et.sc;_isViewport$1(j)&&(j=_doc$1.scrollingElement||_docEl$1);var nt=_scrollers.indexOf(j),it=rt===_vertical.sc?1:2;!~nt&&(nt=_scrollers.push(j)-1),_scrollers[nt+it]||_addListener$1(j,"scroll",_onScroll$1);var st=_scrollers[nt+it],at=st||(_scrollers[nt+it]=_scrollCacheFunc(_getProxyProp(j,tt),!0)||(_isViewport$1(j)?rt:_scrollCacheFunc(function(ot){return arguments.length?j[tt]=ot:j[tt]})));return at.target=j,st||(at.smooth=gsap$1.getProperty(j,"scrollBehavior")==="smooth"),at},_getVelocityProp=function(j,et,tt){var rt=j,nt=j,it=_getTime$1(),st=it,at=et||50,ot=Math.max(500,at*3),lt=function(ht,pt){var gt=_getTime$1();pt||gt-it>at?(nt=rt,rt=ht,st=it,it=gt):tt?rt+=ht:rt=nt+(ht-nt)/(gt-st)*(it-st)},ct=function(){nt=rt=tt?0:rt,st=it=0},ut=function(ht){var pt=st,gt=nt,ft=_getTime$1();return(ht||ht===0)&&ht!==rt&<(ht),it===st||ft-st>ot?0:(rt+(tt?gt:-gt))/((tt?ft:it)-pt)*1e3};return{update:lt,reset:ct,getVelocity:ut}},_getEvent=function(j,et){return et&&!j._gsapAllow&&j.preventDefault(),j.changedTouches?j.changedTouches[0]:j},_getAbsoluteMax=function(j){var et=Math.max.apply(Math,j),tt=Math.min.apply(Math,j);return Math.abs(et)>=Math.abs(tt)?et:tt},_setScrollTrigger=function(){ScrollTrigger$1=gsap$1.core.globals().ScrollTrigger,ScrollTrigger$1&&ScrollTrigger$1.core&&_integrate()},_initCore=function(j){return gsap$1=j||_getGSAP$1(),!_coreInitted$1&&gsap$1&&typeof document<"u"&&document.body&&(_win$1=window,_doc$1=document,_docEl$1=_doc$1.documentElement,_body$1=_doc$1.body,_root$2=[_win$1,_doc$1,_docEl$1,_body$1],gsap$1.utils.clamp,_context$1=gsap$1.core.context||function(){},_pointerType="onpointerenter"in _body$1?"pointer":"mouse",_isTouch=Observer.isTouch=_win$1.matchMedia&&_win$1.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in _win$1||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,_eventTypes=Observer.eventTypes=("ontouchstart"in _docEl$1?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in _docEl$1?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return _startup$1=0},500),_setScrollTrigger(),_coreInitted$1=1),_coreInitted$1};_horizontal.op=_vertical;_scrollers.cache=0;var Observer=function(){function _(et){this.init(et)}var j=_.prototype;return j.init=function(tt){_coreInitted$1||_initCore(gsap$1)||console.warn("Please gsap.registerPlugin(Observer)"),ScrollTrigger$1||_setScrollTrigger();var rt=tt.tolerance,nt=tt.dragMinimum,it=tt.type,st=tt.target,at=tt.lineHeight,ot=tt.debounce,lt=tt.preventDefault,ct=tt.onStop,ut=tt.onStopDelay,dt=tt.ignore,ht=tt.wheelSpeed,pt=tt.event,gt=tt.onDragStart,ft=tt.onDragEnd,mt=tt.onDrag,xt=tt.onPress,yt=tt.onRelease,vt=tt.onRight,bt=tt.onLeft,Et=tt.onUp,_t=tt.onDown,wt=tt.onChangeX,Rt=tt.onChangeY,Ct=tt.onChange,jt=tt.onToggleX,Dt=tt.onToggleY,It=tt.onHover,Ot=tt.onHoverEnd,At=tt.onMove,Tt=tt.ignoreCheck,kt=tt.isNormalizer,St=tt.onGestureStart,Pt=tt.onGestureEnd,$t=tt.onWheel,Nt=tt.onEnable,Mt=tt.onDisable,Vt=tt.onClick,Ht=tt.scrollSpeed,Qt=tt.capture,er=tt.allowClicks,ir=tt.lockAxis,Jt=tt.onLockAxis;this.target=st=_getTarget(st)||_docEl$1,this.vars=tt,dt&&(dt=gsap$1.utils.toArray(dt)),rt=rt||1e-9,nt=nt||0,ht=ht||1,Ht=Ht||1,it=it||"wheel,touch,pointer",ot=ot!==!1,at||(at=parseFloat(_win$1.getComputedStyle(_body$1).lineHeight)||22);var Gt,Kt,Bt,Zt,qt,lr,ar,Yt=this,sr=0,gr=0,Lt=tt.passive||!lt&&tt.passive!==!1,Ut=_getScrollFunc(st,_horizontal),Wt=_getScrollFunc(st,_vertical),or=Ut(),nr=Wt(),tr=~it.indexOf("touch")&&!~it.indexOf("pointer")&&_eventTypes[0]==="pointerdown",rr=_isViewport$1(st),cr=st.ownerDocument||_doc$1,xr=[0,0,0],Pr=[0,0,0],Dr=0,Tr=function(){return Dr=_getTime$1()},Xt=function(wr,Br){return(Yt.event=wr)&&dt&&_isWithin(wr.target,dt)||Br&&tr&&wr.pointerType!=="touch"||Tt&&Tt(wr,Br)},Rr=function(){Yt._vx.reset(),Yt._vy.reset(),Kt.pause(),ct&&ct(Yt)},Vr=function(){var wr=Yt.deltaX=_getAbsoluteMax(xr),Br=Yt.deltaY=_getAbsoluteMax(Pr),dr=Math.abs(wr)>=rt,Sr=Math.abs(Br)>=rt;Ct&&(dr||Sr)&&Ct(Yt,wr,Br,xr,Pr),dr&&(vt&&Yt.deltaX>0&&vt(Yt),bt&&Yt.deltaX<0&&bt(Yt),wt&&wt(Yt),jt&&Yt.deltaX<0!=sr<0&&jt(Yt),sr=Yt.deltaX,xr[0]=xr[1]=xr[2]=0),Sr&&(_t&&Yt.deltaY>0&&_t(Yt),Et&&Yt.deltaY<0&&Et(Yt),Rt&&Rt(Yt),Dt&&Yt.deltaY<0!=gr<0&&Dt(Yt),gr=Yt.deltaY,Pr[0]=Pr[1]=Pr[2]=0),(Zt||Bt)&&(At&&At(Yt),Bt&&(gt&&Bt===1&>(Yt),mt&&mt(Yt),Bt=0),Zt=!1),lr&&!(lr=!1)&&Jt&&Jt(Yt),qt&&($t(Yt),qt=!1),Gt=0},Jr=function(wr,Br,dr){xr[dr]+=wr,Pr[dr]+=Br,Yt._vx.update(wr),Yt._vy.update(Br),ot?Gt||(Gt=requestAnimationFrame(Vr)):Vr()},Ir=function(wr,Br){ir&&!ar&&(Yt.axis=ar=Math.abs(wr)>Math.abs(Br)?"x":"y",lr=!0),ar!=="y"&&(xr[2]+=wr,Yt._vx.update(wr,!0)),ar!=="x"&&(Pr[2]+=Br,Yt._vy.update(Br,!0)),ot?Gt||(Gt=requestAnimationFrame(Vr)):Vr()},Ur=function(wr){if(!Xt(wr,1)){wr=_getEvent(wr,lt);var Br=wr.clientX,dr=wr.clientY,Sr=Br-Yt.x,pr=dr-Yt.y,jr=Yt.isDragging;Yt.x=Br,Yt.y=dr,(jr||(Sr||pr)&&(Math.abs(Yt.startX-Br)>=nt||Math.abs(Yt.startY-dr)>=nt))&&(Bt||(Bt=jr?2:1),jr||(Yt.isDragging=!0),Ir(Sr,pr))}},$r=Yt.onPress=function(Cr){Xt(Cr,1)||Cr&&Cr.button||(Yt.axis=ar=null,Kt.pause(),Yt.isPressed=!0,Cr=_getEvent(Cr),sr=gr=0,Yt.startX=Yt.x=Cr.clientX,Yt.startY=Yt.y=Cr.clientY,Yt._vx.reset(),Yt._vy.reset(),_addListener$1(kt?st:cr,_eventTypes[1],Ur,Lt,!0),Yt.deltaX=Yt.deltaY=0,xt&&xt(Yt))},br=Yt.onRelease=function(Cr){if(!Xt(Cr,1)){_removeListener$1(kt?st:cr,_eventTypes[1],Ur,!0);var wr=!isNaN(Yt.y-Yt.startY),Br=Yt.isDragging,dr=Br&&(Math.abs(Yt.x-Yt.startX)>3||Math.abs(Yt.y-Yt.startY)>3),Sr=_getEvent(Cr);!dr&&wr&&(Yt._vx.reset(),Yt._vy.reset(),lt&&er&&gsap$1.delayedCall(.08,function(){if(_getTime$1()-Dr>300&&!Cr.defaultPrevented){if(Cr.target.click)Cr.target.click();else if(cr.createEvent){var pr=cr.createEvent("MouseEvents");pr.initMouseEvent("click",!0,!0,_win$1,1,Sr.screenX,Sr.screenY,Sr.clientX,Sr.clientY,!1,!1,!1,!1,0,null),Cr.target.dispatchEvent(pr)}}})),Yt.isDragging=Yt.isGesturing=Yt.isPressed=!1,ct&&Br&&!kt&&Kt.restart(!0),Bt&&Vr(),ft&&Br&&ft(Yt),yt&&yt(Yt,dr)}},qr=function(wr){return wr.touches&&wr.touches.length>1&&(Yt.isGesturing=!0)&&St(wr,Yt.isDragging)},Mr=function(){return(Yt.isGesturing=!1)||Pt(Yt)},Lr=function(wr){if(!Xt(wr)){var Br=Ut(),dr=Wt();Jr((Br-or)*Ht,(dr-nr)*Ht,1),or=Br,nr=dr,ct&&Kt.restart(!0)}},sn=function(wr){if(!Xt(wr)){wr=_getEvent(wr,lt),$t&&(qt=!0);var Br=(wr.deltaMode===1?at:wr.deltaMode===2?_win$1.innerHeight:1)*ht;Jr(wr.deltaX*Br,wr.deltaY*Br,0),ct&&!kt&&Kt.restart(!0)}},Sn=function(wr){if(!Xt(wr)){var Br=wr.clientX,dr=wr.clientY,Sr=Br-Yt.x,pr=dr-Yt.y;Yt.x=Br,Yt.y=dr,Zt=!0,ct&&Kt.restart(!0),(Sr||pr)&&Ir(Sr,pr)}},yn=function(wr){Yt.event=wr,It(Yt)},vn=function(wr){Yt.event=wr,Ot(Yt)},_n=function(wr){return Xt(wr)||_getEvent(wr,lt)&&Vt(Yt)};Kt=Yt._dc=gsap$1.delayedCall(ut||.25,Rr).pause(),Yt.deltaX=Yt.deltaY=0,Yt._vx=_getVelocityProp(0,50,!0),Yt._vy=_getVelocityProp(0,50,!0),Yt.scrollX=Ut,Yt.scrollY=Wt,Yt.isDragging=Yt.isGesturing=Yt.isPressed=!1,_context$1(this),Yt.enable=function(Cr){return Yt.isEnabled||(_addListener$1(rr?cr:st,"scroll",_onScroll$1),it.indexOf("scroll")>=0&&_addListener$1(rr?cr:st,"scroll",Lr,Lt,Qt),it.indexOf("wheel")>=0&&_addListener$1(st,"wheel",sn,Lt,Qt),(it.indexOf("touch")>=0&&_isTouch||it.indexOf("pointer")>=0)&&(_addListener$1(st,_eventTypes[0],$r,Lt,Qt),_addListener$1(cr,_eventTypes[2],br),_addListener$1(cr,_eventTypes[3],br),er&&_addListener$1(st,"click",Tr,!0,!0),Vt&&_addListener$1(st,"click",_n),St&&_addListener$1(cr,"gesturestart",qr),Pt&&_addListener$1(cr,"gestureend",Mr),It&&_addListener$1(st,_pointerType+"enter",yn),Ot&&_addListener$1(st,_pointerType+"leave",vn),At&&_addListener$1(st,_pointerType+"move",Sn)),Yt.isEnabled=!0,Yt.isDragging=Yt.isGesturing=Yt.isPressed=Zt=Bt=!1,Yt._vx.reset(),Yt._vy.reset(),or=Ut(),nr=Wt(),Cr&&Cr.type&&$r(Cr),Nt&&Nt(Yt)),Yt},Yt.disable=function(){Yt.isEnabled&&(_observers.filter(function(Cr){return Cr!==Yt&&_isViewport$1(Cr.target)}).length||_removeListener$1(rr?cr:st,"scroll",_onScroll$1),Yt.isPressed&&(Yt._vx.reset(),Yt._vy.reset(),_removeListener$1(kt?st:cr,_eventTypes[1],Ur,!0)),_removeListener$1(rr?cr:st,"scroll",Lr,Qt),_removeListener$1(st,"wheel",sn,Qt),_removeListener$1(st,_eventTypes[0],$r,Qt),_removeListener$1(cr,_eventTypes[2],br),_removeListener$1(cr,_eventTypes[3],br),_removeListener$1(st,"click",Tr,!0),_removeListener$1(st,"click",_n),_removeListener$1(cr,"gesturestart",qr),_removeListener$1(cr,"gestureend",Mr),_removeListener$1(st,_pointerType+"enter",yn),_removeListener$1(st,_pointerType+"leave",vn),_removeListener$1(st,_pointerType+"move",Sn),Yt.isEnabled=Yt.isPressed=Yt.isDragging=!1,Mt&&Mt(Yt))},Yt.kill=Yt.revert=function(){Yt.disable();var Cr=_observers.indexOf(Yt);Cr>=0&&_observers.splice(Cr,1),_normalizer$1===Yt&&(_normalizer$1=0)},_observers.push(Yt),kt&&_isViewport$1(st)&&(_normalizer$1=Yt),Yt.enable(pt)},_createClass$m(_,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),_}();Observer.version="3.14.2";Observer.create=function(_){return new Observer(_)};Observer.register=_initCore;Observer.getAll=function(){return _observers.slice()};Observer.getById=function(_){return _observers.filter(function(j){return j.vars.id===_})[0]};_getGSAP$1()&&gsap$1.registerPlugin(Observer);/*! 701 * ScrollTrigger 3.14.2 702 * https://gsap.com 703 * 704 * @license Copyright 2008-2025, GreenSock. All rights reserved. 705 * Subject to the terms at https://gsap.com/standard-license 706 * @author: Jack Doyle, [email protected] 707*/var gsap,_coreInitted,_win,_doc,_docEl,_body,_root$1,_resizeDelay,_toArray$1,_clamp,_time2,_syncInterval,_refreshing,_pointerIsDown,_transformProp,_i,_prevWidth,_prevHeight,_autoRefresh,_sort,_suppressOverwrites,_ignoreResize,_normalizer,_ignoreMobileResize,_baseScreenHeight,_baseScreenWidth,_fixIOSBug,_context,_scrollRestoration,_div100vh,_100vh,_isReverted,_clampingMax,_limitCallbacks,_startup=1,_getTime=Date.now,_time1=_getTime(),_lastScrollTime=0,_enabled=0,_parseClamp=function(j,et,tt){var rt=_isString(j)&&(j.substr(0,6)==="clamp("||j.indexOf("max")>-1);return tt["_"+et+"Clamp"]=rt,rt?j.substr(6,j.length-7):j}
vendor: 3,344 bytes, line 707
707,_keepClamp=function(j,et){return et&&(!_isString(j)||j.substr(0,6)!=="clamp(")?"clamp("+j+")":j},_rafBugFix=function _(){return _enabled&&requestAnimationFrame(_)},_pointerDownHandler=function(){return _pointerIsDown=1},_pointerUpHandler=function(){return _pointerIsDown=0},_passThrough=function(j){return j},_round=function(j){return Math.round(j*1e5)/1e5||0},_windowExists=function(){return typeof window<"u"},_getGSAP=function(){return gsap||_windowExists()&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_isViewport=function(j){return!!~_root$1.indexOf(j)},_getViewportDimension=function(j){return(j==="Height"?_100vh:_win["inner"+j])||_docEl["client"+j]||_body["client"+j]},_getBoundsFunc=function(j){return _getProxyProp(j,"getBoundingClientRect")||(_isViewport(j)?function(){return _winOffsets.width=_win.innerWidth,_winOffsets.height=_100vh,_winOffsets}:function(){return _getBounds(j)})},_getSizeFunc=function(j,et,tt){var rt=tt.d,nt=tt.d2,it=tt.a;return(it=_getProxyProp(j,"getBoundingClientRect"))?function(){return it()[rt]}:function(){return(et?_getViewportDimension(nt):j["client"+nt])||0}},_getOffsetsFunc=function(j,et){return!et||~_proxies.indexOf(j)?_getBoundsFunc(j):function(){return _winOffsets}},_maxScroll=function(j,et){var tt=et.s,rt=et.d2,nt=et.d,it=et.a;return Math.max(0,(tt="scroll"+rt)&&(it=_getProxyProp(j,tt))?it()-_getBoundsFunc(j)()[nt]:_isViewport(j)?(_docEl[tt]||_body[tt])-_getViewportDimension(rt):j[tt]-j["offset"+rt])},_iterateAutoRefresh=function(j,et){for(var tt=0;tt<_autoRefresh.length;tt+=3)(!et||~et.indexOf(_autoRefresh[tt+1]))&&j(_autoRefresh[tt],_autoRefresh[tt+1],_autoRefresh[tt+2])},_isString=function(j){return typeof j=="string"},_isFunction=function(j){return typeof j=="function"},_isNumber=function(j){return typeof j=="number"},_isObject=function(j){return typeof j=="object"},_endAnimation=function(j,et,tt){return j&&j.progress(et?0:1)&&tt&&j.pause()},_callback=function(j,et){if(j.enabled){var tt=j._ctx?j._ctx.add(function(){return et(j)}):et(j);tt&&tt.totalTime&&(j.callbackAnimation=tt)}},_abs=Math.abs,_left="left",_top="top",_right="right",_bottom="bottom",_width="width",_height="height",_Right="Right",_Left="Left",_Top="Top",_Bottom="Bottom",_padding="padding",_margin="margin",_Width="Width",_Height="Height",_px="px",_getComputedStyle=function(j){return _win.getComputedStyle(j)},_makePositionable=function(j){var et=_getComputedStyle(j).position;j.style.position=et==="absolute"||et==="fixed"?et:"relative"},_setDefaults=function(j,et){for(var tt in et)tt in j||(j[tt]=et[tt]);return j},_getBounds=function(j,et){var tt=et&&_getComputedStyle(j)[_transformProp]!=="matrix(1, 0, 0, 1, 0, 0)"&&gsap.to(j,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),rt=j.getBoundingClientRect();return tt&&tt.progress(0).kill(),rt},_getSize=function(j,et){var tt=et.d2;return j["offset"+tt]||j["client"+tt]||0},_getLabelRatioArray=function(j){var et=[],tt=j.labels,rt=j.duration(),nt;for(nt in tt)et.push(tt[nt]/rt);return et},_getClosestLabel=function(j){return function(et){return gsap.utils.snap(_getLabelRatioArray(j),et)}},_snapDirectional=function(j){var et=gsap.utils.snap(j),tt=Array.isArray(j)&&j.slice(0).sort(function(rt,nt){return rt-nt});return tt?function(rt,nt,it){it===void 0&&(it=.001);var st;if(!nt)return et(rt);
vendor: 4,272 bytes, line 707
707if(nt>0){for(rt-=it,st=0;st<tt.length;st++)if(tt[st]>=rt)return tt[st];return tt[st-1]}else for(st=tt.length,rt+=it;st--;)if(tt[st]<=rt)return tt[st];return tt[0]}:function(rt,nt,it){it===void 0&&(it=.001);var st=et(rt);return!nt||Math.abs(st-rt)<it||st-rt<0==nt<0?st:et(nt<0?rt-j:rt+j)}},_getLabelAtDirection=function(j){return function(et,tt){return _snapDirectional(_getLabelRatioArray(j))(et,tt.direction)}},_multiListener=function(j,et,tt,rt){return tt.split(",").forEach(function(nt){return j(et,nt,rt)})},_addListener=function(j,et,tt,rt,nt){return j.addEventListener(et,tt,{passive:!rt,capture:!!nt})},_removeListener=function(j,et,tt,rt){return j.removeEventListener(et,tt,!!rt)},_wheelListener=function(j,et,tt){tt=tt&&tt.wheelHandler,tt&&(j(et,"wheel",tt),j(et,"touchmove",tt))},_markerDefaults={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},_defaults={toggleActions:"play",anticipatePin:0},_keywords={top:0,left:0,center:.5,bottom:1,right:1},_offsetToPx=function(j,et){if(_isString(j)){var tt=j.indexOf("="),rt=~tt?+(j.charAt(tt-1)+1)*parseFloat(j.substr(tt+1)):0;~tt&&(j.indexOf("%")>tt&&(rt*=et/100),j=j.substr(0,tt-1)),j=rt+(j in _keywords?_keywords[j]*et:~j.indexOf("%")?parseFloat(j)*et/100:parseFloat(j)||0)}return j},_createMarker=function(j,et,tt,rt,nt,it,st,at){var ot=nt.startColor,lt=nt.endColor,ct=nt.fontSize,ut=nt.indent,dt=nt.fontWeight,ht=_doc.createElement("div"),pt=_isViewport(tt)||_getProxyProp(tt,"pinType")==="fixed",gt=j.indexOf("scroller")!==-1,ft=pt?_body:tt,mt=j.indexOf("start")!==-1,xt=mt?ot:lt,yt="border-color:"+xt+";font-size:"+ct+";color:"+xt+";font-weight:"+dt+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return yt+="position:"+((gt||at)&&pt?"fixed;":"absolute;"),(gt||at||!pt)&&(yt+=(rt===_vertical?_right:_bottom)+":"+(it+parseFloat(ut))+"px;"),st&&(yt+="box-sizing:border-box;text-align:left;width:"+st.offsetWidth+"px;"),ht._isStart=mt,ht.setAttribute("class","gsap-marker-"+j+(et?" marker-"+et:"")),ht.style.cssText=yt,ht.innerText=et||et===0?j+"-"+et:j,ft.children[0]?ft.insertBefore(ht,ft.children[0]):ft.appendChild(ht),ht._offset=ht["offset"+rt.op.d2],_positionMarker(ht,0,rt,mt),ht},_positionMarker=function(j,et,tt,rt){var nt={display:"block"},it=tt[rt?"os2":"p2"],st=tt[rt?"p2":"os2"];j._isFlipped=rt,nt[tt.a+"Percent"]=rt?-100:0,nt[tt.a]=rt?"1px":0,nt["border"+it+_Width]=1,nt["border"+st+_Width]=0,nt[tt.p]=et+"px",gsap.set(j,nt)},_triggers=[],_ids={},_rafID,_sync=function(){return _getTime()-_lastScrollTime>34&&(_rafID||(_rafID=requestAnimationFrame(_updateAll)))},_onScroll=function(){(!_normalizer||!_normalizer.isPressed||_normalizer.startX>_body.clientWidth)&&(_scrollers.cache++,_normalizer?_rafID||(_rafID=requestAnimationFrame(_updateAll)):_updateAll(),_lastScrollTime||_dispatch("scrollStart"),_lastScrollTime=_getTime())},_setBaseDimensions=function(){_baseScreenWidth=_win.innerWidth,_baseScreenHeight=_win.innerHeight},_onResize=function(j){_scrollers.cache++,(j===!0||!_refreshing&&!_ignoreResize&&!_doc.fullscreenElement&&!_doc.webkitFullscreenElement&&(!_ignoreMobileResize||_baseScreenWidth!==_win.innerWidth||Math.abs(_win.innerHeight-_baseScreenHeight)>_win.innerHeight*.25))&&_resizeDelay.restart(!0)},_listeners={},_emptyArray=[],_softRefresh=function _(){return _removeListener(ScrollTrigger,"scrollEnd",_)||_refreshAll(!0)},_dispatch=function(j){return _listeners[j]&&_listeners[j].map(function(et){return et()})||_emptyArray},_savedStyles=[],_revertRecorded=function(j){for(var et=0;et<_savedStyles.length;et+=5)(!j||_savedStyles[et+4]&&_savedStyles[et+4].query===j)&&(_savedStyles[et].style.cssText=_savedStyles[et+1],_savedStyles[et].getBBox&&_savedStyles[et].setAttribute("transform",_savedStyles[et+2]||""),_savedStyles[et+3].uncache=1)},_recordScrollPositions=function(){return _scrollers.forEach(function(j){return _isFunction(j)&&++j.cacheID&&(j.rec=j())})},_revertAll=function(j,et){var tt;for(_i=0;_i<_triggers.length;_i++)tt=_triggers[_i],tt&&(!et||tt._ctx===et)&&(j?tt.kill(1):tt.revert(!0,!0));_isReverted=!0,et&&_revertRecorded(et),et||_dispatch("revert")},_clearScrollMemory=function(j,et){_scrollers.cache++,(et||!_refreshingAll)&&_scrollers.forEac
vendor: 4,244 bytes, line 707
707h(function(tt){return _isFunction(tt)&&tt.cacheID++&&(tt.rec=0)}),_isString(j)&&(_win.history.scrollRestoration=_scrollRestoration=j)},_refreshingAll,_refreshID=0,_queueRefreshID,_queueRefreshAll=function(){if(_queueRefreshID!==_refreshID){var j=_queueRefreshID=_refreshID;requestAnimationFrame(function(){return j===_refreshID&&_refreshAll(!0)})}},_refresh100vh=function(){_body.appendChild(_div100vh),_100vh=!_normalizer&&_div100vh.offsetHeight||_win.innerHeight,_body.removeChild(_div100vh)},_hideAllMarkers=function(j){return _toArray$1(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(et){return et.style.display=j?"none":"block"})},_refreshAll=function(j,et){if(_docEl=_doc.documentElement,_body=_doc.body,_root$1=[_win,_doc,_docEl,_body],_lastScrollTime&&!j&&!_isReverted){_addListener(ScrollTrigger,"scrollEnd",_softRefresh);return}_refresh100vh(),_refreshingAll=ScrollTrigger.isRefreshing=!0,_isReverted||_recordScrollPositions();var tt=_dispatch("refreshInit");_sort&&ScrollTrigger.sort(),et||_revertAll(),_scrollers.forEach(function(rt){_isFunction(rt)&&(rt.smooth&&(rt.target.style.scrollBehavior="auto"),rt(0))}),_triggers.slice(0).forEach(function(rt){return rt.refresh()}),_isReverted=!1,_triggers.forEach(function(rt){if(rt._subPinOffset&&rt.pin){var nt=rt.vars.horizontal?"offsetWidth":"offsetHeight",it=rt.pin[nt];rt.revert(!0,1),rt.adjustPinSpacing(rt.pin[nt]-it),rt.refresh()}}),_clampingMax=1,_hideAllMarkers(!0),_triggers.forEach(function(rt){var nt=_maxScroll(rt.scroller,rt._dir),it=rt.vars.end==="max"||rt._endClamp&&rt.end>nt,st=rt._startClamp&&rt.start>=nt;(it||st)&&rt.setPositions(st?nt-1:rt.start,it?Math.max(st?nt:rt.start+1,nt):rt.end,!0)}),_hideAllMarkers(!1),_clampingMax=0,tt.forEach(function(rt){return rt&&rt.render&&rt.render(-1)}),_scrollers.forEach(function(rt){_isFunction(rt)&&(rt.smooth&&requestAnimationFrame(function(){return rt.target.style.scrollBehavior="smooth"}),rt.rec&&rt(rt.rec))}),_clearScrollMemory(_scrollRestoration,1),_resizeDelay.pause(),_refreshID++,_refreshingAll=2,_updateAll(2),_triggers.forEach(function(rt){return _isFunction(rt.vars.onRefresh)&&rt.vars.onRefresh(rt)}),_refreshingAll=ScrollTrigger.isRefreshing=!1,_dispatch("refresh")},_lastScroll=0,_direction=1,_primary,_updateAll=function(j){if(j===2||!_refreshingAll&&!_isReverted){ScrollTrigger.isUpdating=!0,_primary&&_primary.update(0);var et=_triggers.length,tt=_getTime(),rt=tt-_time1>=50,nt=et&&_triggers[0].scroll();if(_direction=_lastScroll>nt?-1:1,_refreshingAll||(_lastScroll=nt),rt&&(_lastScrollTime&&!_pointerIsDown&&tt-_lastScrollTime>200&&(_lastScrollTime=0,_dispatch("scrollEnd")),_time2=_time1,_time1=tt),_direction<0){for(_i=et;_i-- >0;)_triggers[_i]&&_triggers[_i].update(0,rt);_direction=1}else for(_i=0;_i<et;_i++)_triggers[_i]&&_triggers[_i].update(0,rt);ScrollTrigger.isUpdating=!1}_rafID=0},_propNamesToCopy=[_left,_top,_bottom,_right,_margin+_Bottom,_margin+_Right,_margin+_Top,_margin+_Left,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],_stateProps=_propNamesToCopy.concat([_width,_height,"boxSizing","max"+_Width,"max"+_Height,"position",_margin,_padding,_padding+_Top,_padding+_Right,_padding+_Bottom,_padding+_Left]),_swapPinOut=function(j,et,tt){_setState(tt);var rt=j._gsap;if(rt.spacerIsNative)_setState(rt.spacerState);else if(j._gsap.swappedIn){var nt=et.parentNode;nt&&(nt.insertBefore(j,et),nt.removeChild(et))}j._gsap.swappedIn=!1},_swapPinIn=function(j,et,tt,rt){if(!j._gsap.swappedIn){for(var nt=_propNamesToCopy.length,it=et.style,st=j.style,at;nt--;)at=_propNamesToCopy[nt],it[at]=tt[at];it.position=tt.position==="absolute"?"absolute":"relative",tt.display==="inline"&&(it.display="inline-block"),st[_bottom]=st[_right]="auto",it.flexBasis=tt.flexBasis||"auto",it.overflow="visible",it.boxSizing="border-box",it[_width]=_getSize(j,_horizontal)+_px,it[_height]=_getSize(j,_vertical)+_px,it[_padding]=st[_margin]=st[_top]=st[_left]="0",_setState(rt),st[_width]=st["max"+_Width]=tt[_width],st[_height]=st["max"+_Height]=tt[_height],st[_padding]=tt[_padding],j.parentNode!==et&&(j.parentNode.insertBefore(et,j
vendor: 4,309 bytes, line 707
707),et.appendChild(j)),j._gsap.swappedIn=!0}},_capsExp=/([A-Z])/g,_setState=function(j){if(j){var et=j.t.style,tt=j.length,rt=0,nt,it;for((j.t._gsap||gsap.core.getCache(j.t)).uncache=1;rt<tt;rt+=2)it=j[rt+1],nt=j[rt],it?et[nt]=it:et[nt]&&et.removeProperty(nt.replace(_capsExp,"-$1").toLowerCase())}},_getState=function(j){for(var et=_stateProps.length,tt=j.style,rt=[],nt=0;nt<et;nt++)rt.push(_stateProps[nt],tt[_stateProps[nt]]);return rt.t=j,rt},_copyState=function(j,et,tt){for(var rt=[],nt=j.length,it=tt?8:0,st;it<nt;it+=2)st=j[it],rt.push(st,st in et?et[st]:j[it+1]);return rt.t=j.t,rt},_winOffsets={left:0,top:0},_parsePosition=function(j,et,tt,rt,nt,it,st,at,ot,lt,ct,ut,dt,ht){_isFunction(j)&&(j=j(at)),_isString(j)&&j.substr(0,3)==="max"&&(j=ut+(j.charAt(4)==="="?_offsetToPx("0"+j.substr(3),tt):0));var pt=dt?dt.time():0,gt,ft,mt;if(dt&&dt.seek(0),isNaN(j)||(j=+j),_isNumber(j))dt&&(j=gsap.utils.mapRange(dt.scrollTrigger.start,dt.scrollTrigger.end,0,ut,j)),st&&_positionMarker(st,tt,rt,!0);else{_isFunction(et)&&(et=et(at));var xt=(j||"0").split(" "),yt,vt,bt,Et;mt=_getTarget(et,at)||_body,yt=_getBounds(mt)||{},(!yt||!yt.left&&!yt.top)&&_getComputedStyle(mt).display==="none"&&(Et=mt.style.display,mt.style.display="block",yt=_getBounds(mt),Et?mt.style.display=Et:mt.style.removeProperty("display")),vt=_offsetToPx(xt[0],yt[rt.d]),bt=_offsetToPx(xt[1]||"0",tt),j=yt[rt.p]-ot[rt.p]-lt+vt+nt-bt,st&&_positionMarker(st,bt,rt,tt-bt<20||st._isStart&&bt>20),tt-=tt-bt}if(ht&&(at[ht]=j||-.001,j<0&&(j=0)),it){var _t=j+tt,wt=it._isStart;gt="scroll"+rt.d2,_positionMarker(it,_t,rt,wt&&_t>20||!wt&&(ct?Math.max(_body[gt],_docEl[gt]):it.parentNode[gt])<=_t+1),ct&&(ot=_getBounds(st),ct&&(it.style[rt.op.p]=ot[rt.op.p]-rt.op.m-it._offset+_px))}return dt&&mt&&(gt=_getBounds(mt),dt.seek(ut),ft=_getBounds(mt),dt._caScrollDist=gt[rt.p]-ft[rt.p],j=j/dt._caScrollDist*ut),dt&&dt.seek(pt),dt?j:Math.round(j)},_prefixExp=/(webkit|moz|length|cssText|inset)/i,_reparent=function(j,et,tt,rt){if(j.parentNode!==et){var nt=j.style,it,st;if(et===_body){j._stOrig=nt.cssText,st=_getComputedStyle(j);for(it in st)!+it&&!_prefixExp.test(it)&&st[it]&&typeof nt[it]=="string"&&it!=="0"&&(nt[it]=st[it]);nt.top=tt,nt.left=rt}else nt.cssText=j._stOrig;gsap.core.getCache(j).uncache=1,et.appendChild(j)}},_interruptionTracker=function(j,et,tt){var rt=et,nt=rt;return function(it){var st=Math.round(j());return st!==rt&&st!==nt&&Math.abs(st-rt)>3&&Math.abs(st-nt)>3&&(it=st,tt&&tt()),nt=rt,rt=Math.round(it),rt}},_shiftMarker=function(j,et,tt){var rt={};rt[et.p]="+="+tt,gsap.set(j,rt)},_getTweenCreator=function(j,et){var tt=_getScrollFunc(j,et),rt="_scroll"+et.p2,nt=function it(st,at,ot,lt,ct){var ut=it.tween,dt=at.onComplete,ht={};ot=ot||tt();var pt=_interruptionTracker(tt,ot,function(){ut.kill(),it.tween=0});return ct=lt&&ct||0,lt=lt||st-ot,ut&&ut.kill(),at[rt]=st,at.inherit=!1,at.modifiers=ht,ht[rt]=function(){return pt(ot+lt*ut.ratio+ct*ut.ratio*ut.ratio)},at.onUpdate=function(){_scrollers.cache++,it.tween&&_updateAll()},at.onComplete=function(){it.tween=0,dt&&dt.call(ut)},ut=it.tween=gsap.to(j,at),ut};return j[rt]=tt,tt.wheelHandler=function(){return nt.tween&&nt.tween.kill()&&(nt.tween=0)},_addListener(j,"wheel",tt.wheelHandler),ScrollTrigger.isTouch&&_addListener(j,"touchmove",tt.wheelHandler),nt},ScrollTrigger=function(){function _(et,tt){_coreInitted||_.register(gsap)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),_context(this),this.init(et,tt)}var j=_.prototype;return j.init=function(tt,rt){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!_enabled){this.update=this.refresh=this.kill=_passThrough;return}tt=_setDefaults(_isString(tt)||_isNumber(tt)||tt.nodeType?{trigger:tt}:tt,_defaults);var nt=tt,it=nt.onUpdate,st=nt.toggleClass,at=nt.id,ot=nt.onToggle,lt=nt.onRefresh,ct=nt.scrub,ut=nt.trigger,dt=nt.pin,ht=nt.pinSpacing,pt=nt.invalidateOnRefresh,gt=nt.anticipatePin,ft=nt.onScrubComplete,mt=nt.onSnapComplete,xt=nt.once,yt=nt.snap,vt=nt.pinReparent,bt=nt.pinSpacer,Et=nt.containerAnimation,_t=nt.fastScrollEnd,wt=nt.preventOverlaps,Rt=tt.horizontal||tt.containerAnimation&&tt.horizontal!==!1?_horizontal:_vertical,Ct=!ct&&ct!==0,jt=_getTarget(tt.scroller||_win),Dt=gsap.core.getCache(jt),It=_isViewport(jt),Ot=("pinType"in tt?tt.pinType:_getProxyProp(jt,"pinType")||It&&"f
707ixed")==="fixed",At=[tt.onEnter,tt.onLeave,tt.onEnterBack,tt.onLeaveBack],Tt=Ct&&tt.toggleActions.split(" "),kt="markers"in tt?tt.markers:_defaults.markers,St=It?0:parseFloat(_getComputedStyle(jt)["border"+Rt.p2+_Width])||0,Pt=this,$t=tt.onRefreshInit&&function(){return tt.onRefreshInit(Pt)},Nt=_getSizeFunc(jt,It,Rt),Mt=_getOffsetsFunc(jt,It),Vt=0,Ht=0,Qt=0,er=_getScrollFunc(jt,Rt),ir,Jt,Gt,Kt,Bt,Zt,qt,lr,ar,Yt,sr,gr,Lt,Ut,Wt,or,nr,tr,rr,cr,xr,Pr,Dr,Tr,Xt,Rr,Vr,Jr,Ir,Ur,$r,br,qr,Mr,Lr,sn,Sn,yn,vn;if(Pt._startClamp=Pt._endClamp=!1,Pt._dir=Rt,gt*=45,Pt.scroller=jt,Pt.scroll=Et?Et.time.bind(Et):er,Kt=er(),Pt.vars=tt,rt=rt||tt.animation,"refreshPriority"in tt&&(_sort=1,tt.refreshPriority===-9999&&(_primary=Pt)),Dt.tweenScroll=Dt.tweenScroll||{top:_getTweenCreator(jt,_vertical),left:_getTweenCreator(jt,_horizontal)},Pt.tweenTo=ir=Dt.tweenScroll[Rt.p],Pt.scrubDuration=function(dr){qr=_isNumber(dr)&&dr,qr?br?br.duration(dr):br=gsap.to(rt,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:qr,paused:!0,onComplete:function(){return ft&&ft(Pt)}}):(br&&br.progress(1).kill(),br=0)},rt&&(rt.vars.lazy=!1,rt._initted&&!Pt.isReverted||rt.vars.immediateRender!==!1&&tt.immediateRender!==!1&&rt.duration()&&rt.render(0,!0,!0),Pt.animation=rt.pause(),rt.scrollTrigger=Pt,Pt.scrubDuration(ct),Ur=0,at||(at=rt.vars.id)),yt&&((!_isObject(yt)||yt.push)&&(yt={snapTo:yt}),"scrollBehavior"in _body.style&&gsap.set(It?[_body,_docEl]:jt,{scrollBehavior:"auto"}),_scrollers.forEach(function(dr){return _isFunction(dr)&&dr.target===(It?_doc.scrollingElement||_docEl:jt)&&(dr.smooth=!1)}),Gt=_isFunction(yt.snapTo)?yt.snapTo:yt.snapTo==="labels"?_getClosestLabel(rt):yt.snapTo==="labelsDirectional"?_getLabelAtDirection(rt):yt.directional!==!1?function(dr,Sr){return _snapDirectional(yt.snapTo)(dr,_getTime()-Ht<500?0:Sr.direction)}:gsap.utils.snap(yt.snapTo),Mr=yt.duration||{min:.1,max:2},Mr=_isObject(Mr)?_clamp(Mr.min,Mr.max):_clamp(Mr,Mr),Lr=gsap.delayedCall(yt.delay||qr/2||.1,function(){var dr=er(),Sr=_getTime()-Ht<500,pr=ir.tween;if((Sr||Math.abs(Pt.getVelocity())<10)&&!pr&&!_pointerIsDown&&Vt!==dr){var jr=(dr-Zt)/Ut,Wr=rt&&!Ct?rt.totalProgress():jr,Or=Sr?0:(Wr-$r)/(_getTime()-_time2)*1e3||0,Hr=gsap.utils.clamp(-jr,1-jr,_abs(Or/2)*Or/.185),an=jr+(yt.inertia===!1?0:Hr),Xr,Yr,Gr=yt,pn=Gr.onStart,Zr=Gr.onInterrupt,un=Gr.onComplete;if(Xr=Gt(an,Pt),_isNumber(Xr)||(Xr=an),Yr=Math.max(0,Math.round(Zt+Xr*Ut)),dr
vendor: 5,779 bytes, line 707
707<=qt&&dr>=Zt&&Yr!==dr){if(pr&&!pr._initted&&pr.data<=_abs(Yr-dr))return;yt.inertia===!1&&(Hr=Xr-jr),ir(Yr,{duration:Mr(_abs(Math.max(_abs(an-Wr),_abs(Xr-Wr))*.185/Or/.05||0)),ease:yt.ease||"power3",data:_abs(Yr-dr),onInterrupt:function(){return Lr.restart(!0)&&Zr&&Zr(Pt)},onComplete:function(){Pt.update(),Vt=er(),rt&&!Ct&&(br?br.resetTo("totalProgress",Xr,rt._tTime/rt._tDur):rt.progress(Xr)),Ur=$r=rt&&!Ct?rt.totalProgress():Pt.progress,mt&&mt(Pt),un&&un(Pt)}},dr,Hr*Ut,Yr-dr-Hr*Ut),pn&&pn(Pt,ir.tween)}}else Pt.isActive&&Vt!==dr&&Lr.restart(!0)}).pause()),at&&(_ids[at]=Pt),ut=Pt.trigger=_getTarget(ut||dt!==!0&&dt),vn=ut&&ut._gsap&&ut._gsap.stRevert,vn&&(vn=vn(Pt)),dt=dt===!0?ut:_getTarget(dt),_isString(st)&&(st={targets:ut,className:st}),dt&&(ht===!1||ht===_margin||(ht=!ht&&dt.parentNode&&dt.parentNode.style&&_getComputedStyle(dt.parentNode).display==="flex"?!1:_padding),Pt.pin=dt,Jt=gsap.core.getCache(dt),Jt.spacer?Wt=Jt.pinState:(bt&&(bt=_getTarget(bt),bt&&!bt.nodeType&&(bt=bt.current||bt.nativeElement),Jt.spacerIsNative=!!bt,bt&&(Jt.spacerState=_getState(bt))),Jt.spacer=tr=bt||_doc.createElement("div"),tr.classList.add("pin-spacer"),at&&tr.classList.add("pin-spacer-"+at),Jt.pinState=Wt=_getState(dt)),tt.force3D!==!1&&gsap.set(dt,{force3D:!0}),Pt.spacer=tr=Jt.spacer,Ir=_getComputedStyle(dt),Tr=Ir[ht+Rt.os2],cr=gsap.getProperty(dt),xr=gsap.quickSetter(dt,Rt.a,_px),_swapPinIn(dt,tr,Ir),nr=_getState(dt)),kt){gr=_isObject(kt)?_setDefaults(kt,_markerDefaults):_markerDefaults,Yt=_createMarker("scroller-start",at,jt,Rt,gr,0),sr=_createMarker("scroller-end",at,jt,Rt,gr,0,Yt),rr=Yt["offset"+Rt.op.d2];var _n=_getTarget(_getProxyProp(jt,"content")||jt);lr=this.markerStart=_createMarker("start",at,_n,Rt,gr,rr,0,Et),ar=this.markerEnd=_createMarker("end",at,_n,Rt,gr,rr,0,Et),Et&&(yn=gsap.quickSetter([lr,ar],Rt.a,_px)),!Ot&&!(_proxies.length&&_getProxyProp(jt,"fixedMarkers")===!0)&&(_makePositionable(It?_body:jt),gsap.set([Yt,sr],{force3D:!0}),Rr=gsap.quickSetter(Yt,Rt.a,_px),Jr=gsap.quickSetter(sr,Rt.a,_px))}if(Et){var Cr=Et.vars.onUpdate,wr=Et.vars.onUpdateParams;Et.eventCallback("onUpdate",function(){Pt.update(0,0,1),Cr&&Cr.apply(Et,wr||[])})}if(Pt.previous=function(){return _triggers[_triggers.indexOf(Pt)-1]},Pt.next=function(){return _triggers[_triggers.indexOf(Pt)+1]},Pt.revert=function(dr,Sr){if(!Sr)return Pt.kill(!0);var pr=dr!==!1||!Pt.enabled,jr=_refreshing;pr!==Pt.isReverted&&(pr&&(sn=Math.max(er(),Pt.scroll.rec||0),Qt=Pt.progress,Sn=rt&&rt.progress()),lr&&[lr,ar,Yt,sr].forEach(function(Wr){return Wr.style.display=pr?"none":"block"}),pr&&(_refreshing=Pt,Pt.update(pr)),dt&&(!vt||!Pt.isActive)&&(pr?_swapPinOut(dt,tr,Wt):_swapPinIn(dt,tr,_getComputedStyle(dt),Xt)),pr||Pt.update(pr),_refreshing=jr,Pt.isReverted=pr)},Pt.refresh=function(dr,Sr,pr,jr){if(!((_refreshing||!Pt.enabled)&&!Sr)){if(dt&&dr&&_lastScrollTime){_addListener(_,"scrollEnd",_softRefresh);return}!_refreshingAll&&$t&&$t(Pt),_refreshing=Pt,ir.tween&&!pr&&(ir.tween.kill(),ir.tween=0),br&&br.pause(),pt&&rt&&(rt.revert({kill:!1}).invalidate(),rt.getChildren?rt.getChildren(!0,!0,!1).forEach(function(An){return An.vars.immediateRender&&An.render(0,!0,!0)}):rt.vars.immediateRender&&rt.render(0,!0,!0)),Pt.isReverted||Pt.revert(!0,!0),Pt._subPinOffset=!1;var Wr=Nt(),Or=Mt(),Hr=Et?Et.duration():_maxScroll(jt,Rt),an=Ut<=.01||!Ut,Xr=0,Yr=jr||0,Gr=_isObject(pr)?pr.end:tt.end,pn=tt.endTrigger||ut,Zr=_isObject(pr)?pr.start:tt.start||(tt.start===0||!ut?0:dt?"0 0":"0 100%"),un=Pt.pinnedContainer=tt.pinnedContainer&&_getTarget(tt.pinnedContainer,Pt),bn=ut&&Math.max(0,_triggers.indexOf(Pt))||0,tn=bn,rn,on,Tn,cs,nn,en,kn,_s,On,Fn,En,Ln,Jn;for(kt&&_isObject(pr)&&(Ln=gsap.getProperty(Yt,Rt.p),Jn=gsap.getProperty(sr,Rt.p));tn-- >0;)en=_triggers[tn],en.end||en.refresh(0,1)||(_refreshing=Pt),kn=en.pin,kn&&(kn===ut||kn===dt||kn===un)&&!en.isReverted&&(Fn||(Fn=[]),Fn.unshift(en),en.revert(!0,!0)),en!==_triggers[tn]&&(bn--,tn--);for(_isFunction(Zr)&&(Zr=Zr(Pt)),Zr=_parseClamp(Zr,"start",Pt),Zt=_parsePosition(Zr,ut,Wr,Rt,er(),lr,Yt,Pt,Or,St,Ot,Hr,Et,Pt._startClamp&&"_startClamp")||(dt?-.001:0),_isFunction(Gr)&&(Gr=Gr(Pt)),_isString(Gr)&&!Gr.indexOf("+=")&&(~Gr.indexOf(" ")?Gr=(_isString(Zr)?Zr.split(" ")[0]:"")+Gr:(Xr=_offsetToPx(Gr.substr(2),Wr),Gr=_isString(Zr)?Zr:(Et?gsap.utils.mapRange(0,Et.duration(),Et.scrollTrigger.start,Et.scrollTrigger.end,Zt):Zt)+Xr,pn=ut)),Gr=_parseClamp(Gr,"end",Pt),qt=Math.max(Zt,_parsePosition(Gr||(pn?"100% 0":Hr),pn,Wr,Rt,er()+Xr,ar,sr,Pt,Or,St,Ot,Hr,Et,Pt._endClamp&&"_endClamp"))||-.001,Xr=0,tn=bn;tn--;)en=_triggers[tn]||{},kn=en.pin,kn&&en.start-en._pinPush<=Zt&&!Et&&en.end>0&&(rn=en.end-(Pt._startClamp?Math.max(0,en.start):en.start),(kn===ut&&en.start-en._pinPush<Zt||kn===un)&&isNaN(Zr)&&(Xr+=rn*(1-en.progress)),kn===dt&&(Yr+=rn));if(Zt+=Xr,qt+=Xr,Pt._startClamp&&(Pt._startClamp+=Xr),Pt._endClamp&&!_refreshingAll&&(Pt._endClamp=qt||-.001,qt=Math.min(qt,_maxScroll(jt,Rt))),Ut=qt-Zt||(Zt-=.01)&&.001,an&&(Qt=gsap.utils.clamp(0,1,gsap.utils.normalize(Zt,qt,sn))),Pt._pinPush=Yr,lr&&Xr&&(rn={},rn[Rt.a]="+="+Xr,un&&(rn[Rt.p]="-="+er()),gsap.set([lr,ar],rn)),dt&&!(_clampingMax&&Pt.end>=_maxScroll(jt,Rt)))rn=_getComputedStyle(dt),cs=Rt===_vertical,Tn=er(),Pr=parseFloat(cr(Rt.a))+Yr,!Hr&&qt>1&&(En=(It?_doc.scrollingElement||_docEl:jt).style,En={style:En,value:En["overflow"+Rt.a.toUpperCase()]},It&&_getComputedStyle(_body)["overflow"+Rt.a.toUpperCase()]!=="scroll"&&(En.style["overflow"+Rt.a.toUpperCase()]="scroll")),_swapPinIn(dt,tr,rn),nr=_getState(dt),on=_getBounds(dt,!0),_s=Ot&&_getScrollFunc(jt,cs?_horizontal:_vertical)(),ht?(Xt=[ht+Rt.os2,Ut+Yr+_px],Xt.t=tr,tn=ht===_padding?_getSize(dt,Rt)+Ut+Yr:0,tn&&(Xt.push(Rt.d,tn+_px),tr.style.flexBasis!=="auto"&&(tr.style.flexBasis=tn+_px)),_setState(Xt),un&&_triggers.forEac
vendor: 4,278 bytes, line 707
707h(function(An){An.pin===un&&An.vars.pinSpacing!==!1&&(An._subPinOffset=!0)}),Ot&&er(sn)):(tn=_getSize(dt,Rt),tn&&tr.style.flexBasis!=="auto"&&(tr.style.flexBasis=tn+_px)),Ot&&(nn={top:on.top+(cs?Tn-Zt:_s)+_px,left:on.left+(cs?_s:Tn-Zt)+_px,boxSizing:"border-box",position:"fixed"},nn[_width]=nn["max"+_Width]=Math.ceil(on.width)+_px,nn[_height]=nn["max"+_Height]=Math.ceil(on.height)+_px,nn[_margin]=nn[_margin+_Top]=nn[_margin+_Right]=nn[_margin+_Bottom]=nn[_margin+_Left]="0",nn[_padding]=rn[_padding],nn[_padding+_Top]=rn[_padding+_Top],nn[_padding+_Right]=rn[_padding+_Right],nn[_padding+_Bottom]=rn[_padding+_Bottom],nn[_padding+_Left]=rn[_padding+_Left],or=_copyState(Wt,nn,vt),_refreshingAll&&er(0)),rt?(On=rt._initted,_suppressOverwrites(1),rt.render(rt.duration(),!0,!0),Dr=cr(Rt.a)-Pr+Ut+Yr,Vr=Math.abs(Ut-Dr)>1,Ot&&Vr&&or.splice(or.length-2,2),rt.render(0,!0,!0),On||rt.invalidate(!0),rt.parent||rt.totalTime(rt.totalTime()),_suppressOverwrites(0)):Dr=Ut,En&&(En.value?En.style["overflow"+Rt.a.toUpperCase()]=En.value:En.style.removeProperty("overflow-"+Rt.a));else if(ut&&er()&&!Et)for(on=ut.parentNode;on&&on!==_body;)on._pinOffset&&(Zt-=on._pinOffset,qt-=on._pinOffset),on=on.parentNode;Fn&&Fn.forEach(function(An){return An.revert(!1,!0)}),Pt.start=Zt,Pt.end=qt,Kt=Bt=_refreshingAll?sn:er(),!Et&&!_refreshingAll&&(Kt<sn&&er(sn),Pt.scroll.rec=0),Pt.revert(!1,!0),Ht=_getTime(),Lr&&(Vt=-1,Lr.restart(!0)),_refreshing=0,rt&&Ct&&(rt._initted||Sn)&&rt.progress()!==Sn&&rt.progress(Sn||0,!0).render(rt.time(),!0,!0),(an||Qt!==Pt.progress||Et||pt||rt&&!rt._initted)&&(rt&&!Ct&&(rt._initted||Qt||rt.vars.immediateRender!==!1)&&rt.totalProgress(Et&&Zt<-.001&&!Qt?gsap.utils.normalize(Zt,qt,0):Qt,!0),Pt.progress=an||(Kt-Zt)/Ut===Qt?0:Qt),dt&&ht&&(tr._pinOffset=Math.round(Pt.progress*Dr)),br&&br.invalidate(),isNaN(Ln)||(Ln-=gsap.getProperty(Yt,Rt.p),Jn-=gsap.getProperty(sr,Rt.p),_shiftMarker(Yt,Rt,Ln),_shiftMarker(lr,Rt,Ln-(jr||0)),_shiftMarker(sr,Rt,Jn),_shiftMarker(ar,Rt,Jn-(jr||0))),an&&!_refreshingAll&&Pt.update(),lt&&!_refreshingAll&&!Lt&&(Lt=!0,lt(Pt),Lt=!1)}},Pt.getVelocity=function(){return(er()-Bt)/(_getTime()-_time2)*1e3||0},Pt.endAnimation=function(){_endAnimation(Pt.callbackAnimation),rt&&(br?br.progress(1):rt.paused()?Ct||_endAnimation(rt,Pt.direction<0,1):_endAnimation(rt,rt.reversed()))},Pt.labelToScroll=function(dr){return rt&&rt.labels&&(Zt||Pt.refresh()||Zt)+rt.labels[dr]/rt.duration()*Ut||0},Pt.getTrailing=function(dr){var Sr=_triggers.indexOf(Pt),pr=Pt.direction>0?_triggers.slice(0,Sr).reverse():_triggers.slice(Sr+1);return(_isString(dr)?pr.filter(function(jr){return jr.vars.preventOverlaps===dr}):pr).filter(function(jr){return Pt.direction>0?jr.end<=Zt:jr.start>=qt})},Pt.update=function(dr,Sr,pr){if(!(Et&&!pr&&!dr)){var jr=_refreshingAll===!0?sn:Pt.scroll(),Wr=dr?0:(jr-Zt)/Ut,Or=Wr<0?0:Wr>1?1:Wr||0,Hr=Pt.progress,an,Xr,Yr,Gr,pn,Zr,un,bn;if(Sr&&(Bt=Kt,Kt=Et?er():jr,yt&&($r=Ur,Ur=rt&&!Ct?rt.totalProgress():Or)),gt&&dt&&!_refreshing&&!_startup&&_lastScrollTime&&(!Or&&Zt<jr+(jr-Bt)/(_getTime()-_time2)*gt?Or=1e-4:Or===1&&qt>jr+(jr-Bt)/(_getTime()-_time2)*gt&&(Or=.9999)),Or!==Hr&&Pt.enabled){if(an=Pt.isActive=!!Or&&Or<1,Xr=!!Hr&&Hr<1,Zr=an!==Xr,pn=Zr||!!Or!=!!Hr,Pt.direction=Or>Hr?1:-1,Pt.progress=Or,pn&&!_refreshing&&(Yr=Or&&!Hr?0:Or===1?1:Hr===1?2:3,Ct&&(Gr=!Zr&&Tt[Yr+1]!=="none"&&Tt[Yr+1]||Tt[Yr],bn=rt&&(Gr==="complete"||Gr==="reset"||Gr in rt))),wt&&(Zr||bn)&&(bn||ct||!rt)&&(_isFunction(wt)?wt(Pt):Pt.getTrailing(wt).forEach(function(Tn){return Tn.endAnimation()})),Ct||(br&&!_refreshing&&!_startup?(br._dp._time-br._start!==br._time&&br.render(br._dp._time-br._start),br.resetTo?br.resetTo("totalProgress",Or,rt._tTime/rt._tDur):(br.vars.totalProgress=Or,br.invalidate().restart())):rt&&rt.totalProgress(Or,!!(_refreshing&&(Ht||dr)))),dt){if(dr&&ht&&(tr.style[ht+Rt.os2]=Tr),!Ot)xr(_round(Pr+Dr*Or));else if(pn){if(un=!dr&&Or>Hr&&qt+1>jr&&jr+1>=_maxScroll(jt,Rt),vt)if(!dr&&(an||un)){var tn=_getBounds(dt,!0),rn=jr-Zt;_reparent(dt,_body,tn.top+(Rt===_vertical?rn:0)+_px,tn.left+(Rt===_vertical?0:rn)+_px)}else _reparent(dt,tr);_setState(an||un?or:nr),Vr&&Or<1&&an||xr(Pr+(Or===1&&!un?Dr:0))}}yt&&!ir.tween&&!_refreshing&&!_startup&&Lr.restart(!0),st&&(Zr||xt&&Or&&(Or<1||!_limitCallbacks))&&_toArray$1(st.targets).forEac
vendor: 12,182 bytes, line 707
707h(function(Tn){return Tn.classList[an||xt?"add":"remove"](st.className)}),it&&!Ct&&!dr&&it(Pt),pn&&!_refreshing?(Ct&&(bn&&(Gr==="complete"?rt.pause().totalProgress(1):Gr==="reset"?rt.restart(!0).pause():Gr==="restart"?rt.restart(!0):rt[Gr]()),it&&it(Pt)),(Zr||!_limitCallbacks)&&(ot&&Zr&&_callback(Pt,ot),At[Yr]&&_callback(Pt,At[Yr]),xt&&(Or===1?Pt.kill(!1,1):At[Yr]=0),Zr||(Yr=Or===1?1:3,At[Yr]&&_callback(Pt,At[Yr]))),_t&&!an&&Math.abs(Pt.getVelocity())>(_isNumber(_t)?_t:2500)&&(_endAnimation(Pt.callbackAnimation),br?br.progress(1):_endAnimation(rt,Gr==="reverse"?1:!Or,1))):Ct&&it&&!_refreshing&&it(Pt)}if(Jr){var on=Et?jr/Et.duration()*(Et._caScrollDist||0):jr;Rr(on+(Yt._isFlipped?1:0)),Jr(on)}yn&&yn(-jr/Et.duration()*(Et._caScrollDist||0))}},Pt.enable=function(dr,Sr){Pt.enabled||(Pt.enabled=!0,_addListener(jt,"resize",_onResize),It||_addListener(jt,"scroll",_onScroll),$t&&_addListener(_,"refreshInit",$t),dr!==!1&&(Pt.progress=Qt=0,Kt=Bt=Vt=er()),Sr!==!1&&Pt.refresh())},Pt.getTween=function(dr){return dr&&ir?ir.tween:br},Pt.setPositions=function(dr,Sr,pr,jr){if(Et){var Wr=Et.scrollTrigger,Or=Et.duration(),Hr=Wr.end-Wr.start;dr=Wr.start+Hr*dr/Or,Sr=Wr.start+Hr*Sr/Or}Pt.refresh(!1,!1,{start:_keepClamp(dr,pr&&!!Pt._startClamp),end:_keepClamp(Sr,pr&&!!Pt._endClamp)},jr),Pt.update()},Pt.adjustPinSpacing=function(dr){if(Xt&&dr){var Sr=Xt.indexOf(Rt.d)+1;Xt[Sr]=parseFloat(Xt[Sr])+dr+_px,Xt[1]=parseFloat(Xt[1])+dr+_px,_setState(Xt)}},Pt.disable=function(dr,Sr){if(dr!==!1&&Pt.revert(!0,!0),Pt.enabled&&(Pt.enabled=Pt.isActive=!1,Sr||br&&br.pause(),sn=0,Jt&&(Jt.uncache=1),$t&&_removeListener(_,"refreshInit",$t),Lr&&(Lr.pause(),ir.tween&&ir.tween.kill()&&(ir.tween=0)),!It)){for(var pr=_triggers.length;pr--;)if(_triggers[pr].scroller===jt&&_triggers[pr]!==Pt)return;_removeListener(jt,"resize",_onResize),It||_removeListener(jt,"scroll",_onScroll)}},Pt.kill=function(dr,Sr){Pt.disable(dr,Sr),br&&!Sr&&br.kill(),at&&delete _ids[at];var pr=_triggers.indexOf(Pt);pr>=0&&_triggers.splice(pr,1),pr===_i&&_direction>0&&_i--,pr=0,_triggers.forEach(function(jr){return jr.scroller===Pt.scroller&&(pr=1)}),pr||_refreshingAll||(Pt.scroll.rec=0),rt&&(rt.scrollTrigger=null,dr&&rt.revert({kill:!1}),Sr||rt.kill()),lr&&[lr,ar,Yt,sr].forEach(function(jr){return jr.parentNode&&jr.parentNode.removeChild(jr)}),_primary===Pt&&(_primary=0),dt&&(Jt&&(Jt.uncache=1),pr=0,_triggers.forEach(function(jr){return jr.pin===dt&&pr++}),pr||(Jt.spacer=0)),tt.onKill&&tt.onKill(Pt)},_triggers.push(Pt),Pt.enable(!1,!1),vn&&vn(Pt),rt&&rt.add&&!Ut){var Br=Pt.update;Pt.update=function(){Pt.update=Br,_scrollers.cache++,Zt||qt||Pt.refresh()},gsap.delayedCall(.01,Pt.update),Ut=.01,Zt=qt=0}else Pt.refresh();dt&&_queueRefreshAll()},_.register=function(tt){return _coreInitted||(gsap=tt||_getGSAP(),_windowExists()&&window.document&&_.enable(),_coreInitted=_enabled),_coreInitted},_.defaults=function(tt){if(tt)for(var rt in tt)_defaults[rt]=tt[rt];return _defaults},_.disable=function(tt,rt){_enabled=0,_triggers.forEach(function(it){return it[rt?"kill":"disable"](tt)}),_removeListener(_win,"wheel",_onScroll),_removeListener(_doc,"scroll",_onScroll),clearInterval(_syncInterval),_removeListener(_doc,"touchcancel",_passThrough),_removeListener(_body,"touchstart",_passThrough),_multiListener(_removeListener,_doc,"pointerdown,touchstart,mousedown",_pointerDownHandler),_multiListener(_removeListener,_doc,"pointerup,touchend,mouseup",_pointerUpHandler),_resizeDelay.kill(),_iterateAutoRefresh(_removeListener);for(var nt=0;nt<_scrollers.length;nt+=3)_wheelListener(_removeListener,_scrollers[nt],_scrollers[nt+1]),_wheelListener(_removeListener,_scrollers[nt],_scrollers[nt+2])},_.enable=function(){if(_win=window,_doc=document,_docEl=_doc.documentElement,_body=_doc.body,gsap&&(_toArray$1=gsap.utils.toArray,_clamp=gsap.utils.clamp,_context=gsap.core.context||_passThrough,_suppressOverwrites=gsap.core.suppressOverwrites||_passThrough,_scrollRestoration=_win.history.scrollRestoration||"auto",_lastScroll=_win.pageYOffset||0,gsap.core.globals("ScrollTrigger",_),_body)){_enabled=1,_div100vh=document.createElement("div"),_div100vh.style.height="100vh",_div100vh.style.position="absolute",_refresh100vh(),_rafBugFix(),Observer.register(gsap),_.isTouch=Observer.isTouch,_fixIOSBug=Observer.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),_ignoreMobileResize=Observer.isTouch===1,_addListener(_win,"wheel",_onScroll),_root$1=[_win,_doc,_docEl,_body],gsap.matchMedia?(_.matchMedia=function(ot){var lt=gsap.matchMedia(),ct;for(ct in ot)lt.add(ct,ot[ct]);return lt},gsap.addEventListener("matchMediaInit",function(){_recordScrollPositions(),_revertAll()}),gsap.addEventListener("matchMediaRevert",function(){return _revertRecorded()}),gsap.addEventListener("matchMedia",function(){_refreshAll(0,1),_dispatch("matchMedia")}),gsap.matchMedia().add("(orientation: portrait)",function(){return _setBaseDimensions(),_setBaseDimensions})):console.warn("Requires GSAP 3.11.0 or later"),_setBaseDimensions(),_addListener(_doc,"scroll",_onScroll);var tt=_body.hasAttribute("style"),rt=_body.style,nt=rt.borderTopStyle,it=gsap.core.Animation.prototype,st,at;for(it.revert||Object.defineProperty(it,"revert",{value:function(){return this.time(-.01,!0)}}),rt.borderTopStyle="solid",st=_getBounds(_body),_vertical.m=Math.round(st.top+_vertical.sc())||0,_horizontal.m=Math.round(st.left+_horizontal.sc())||0,nt?rt.borderTopStyle=nt:rt.removeProperty("border-top-style"),tt||(_body.setAttribute("style",""),_body.removeAttribute("style")),_syncInterval=setInterval(_sync,250),gsap.delayedCall(.5,function(){return _startup=0}),_addListener(_doc,"touchcancel",_passThrough),_addListener(_body,"touchstart",_passThrough),_multiListener(_addListener,_doc,"pointerdown,touchstart,mousedown",_pointerDownHandler),_multiListener(_addListener,_doc,"pointerup,touchend,mouseup",_pointerUpHandler),_transformProp=gsap.utils.checkPrefix("transform"),_stateProps.push(_transformProp),_coreInitted=_getTime(),_resizeDelay=gsap.delayedCall(.2,_refreshAll).pause(),_autoRefresh=[_doc,"visibilitychange",function(){var ot=_win.innerWidth,lt=_win.innerHeight;_doc.hidden?(_prevWidth=ot,_prevHeight=lt):(_prevWidth!==ot||_prevHeight!==lt)&&_onResize()},_doc,"DOMContentLoaded",_refreshAll,_win,"load",_refreshAll,_win,"resize",_onResize],_iterateAutoRefresh(_addListener),_triggers.forEach(function(ot){return ot.enable(0,1)}),at=0;at<_scrollers.length;at+=3)_wheelListener(_removeListener,_scrollers[at],_scrollers[at+1]),_wheelListener(_removeListener,_scrollers[at],_scrollers[at+2])}},_.config=function(tt){"limitCallbacks"in tt&&(_limitCallbacks=!!tt.limitCallbacks);var rt=tt.syncInterval;rt&&clearInterval(_syncInterval)||(_syncInterval=rt)&&setInterval(_sync,rt),"ignoreMobileResize"in tt&&(_ignoreMobileResize=_.isTouch===1&&tt.ignoreMobileResize),"autoRefreshEvents"in tt&&(_iterateAutoRefresh(_removeListener)||_iterateAutoRefresh(_addListener,tt.autoRefreshEvents||"none"),_ignoreResize=(tt.autoRefreshEvents+"").indexOf("resize")===-1)},_.scrollerProxy=function(tt,rt){var nt=_getTarget(tt),it=_scrollers.indexOf(nt),st=_isViewport(nt);~it&&_scrollers.splice(it,st?6:2),rt&&(st?_proxies.unshift(_win,rt,_body,rt,_docEl,rt):_proxies.unshift(nt,rt))},_.clearMatchMedia=function(tt){_triggers.forEach(function(rt){return rt._ctx&&rt._ctx.query===tt&&rt._ctx.kill(!0,!0)})},_.isInViewport=function(tt,rt,nt){var it=(_isString(tt)?_getTarget(tt):tt).getBoundingClientRect(),st=it[nt?_width:_height]*rt||0;return nt?it.right-st>0&&it.left+st<_win.innerWidth:it.bottom-st>0&&it.top+st<_win.innerHeight},_.positionInViewport=function(tt,rt,nt){_isString(tt)&&(tt=_getTarget(tt));var it=tt.getBoundingClientRect(),st=it[nt?_width:_height],at=rt==null?st/2:rt in _keywords?_keywords[rt]*st:~rt.indexOf("%")?parseFloat(rt)*st/100:parseFloat(rt)||0;return nt?(it.left+at)/_win.innerWidth:(it.top+at)/_win.innerHeight},_.killAll=function(tt){if(_triggers.slice(0).forEach(function(nt){return nt.vars.id!=="ScrollSmoother"&&nt.kill()}),tt!==!0){var rt=_listeners.killAll||[];_listeners={},rt.forEach(function(nt){return nt()})}},_}();ScrollTrigger.version="3.14.2";ScrollTrigger.saveStyles=function(_){return _?_toArray$1(_).forEach(function(j){if(j&&j.style){var et=_savedStyles.indexOf(j);et>=0&&_savedStyles.splice(et,5),_savedStyles.push(j,j.style.cssText,j.getBBox&&j.getAttribute("transform"),gsap.core.getCache(j),_context())}}):_savedStyles};ScrollTrigger.revert=function(_,j){return _revertAll(!_,j)};ScrollTrigger.create=function(_,j){return new ScrollTrigger(_,j)};ScrollTrigger.refresh=function(_){return _?_onResize(!0):(_coreInitted||ScrollTrigger.register())&&_refreshAll(!0)};ScrollTrigger.update=function(_){return++_scrollers.cache&&_updateAll(_===!0?2:0)};ScrollTrigger.clearScrollMemory=_clearScrollMemory;ScrollTrigger.maxScroll=function(_,j){return _maxScroll(_,j?_horizontal:_vertical)};ScrollTrigger.getScrollFunc=function(_,j){return _getScrollFunc(_getTarget(_),j?_horizontal:_vertical)};ScrollTrigger.getById=function(_){return _ids[_]};ScrollTrigger.getAll=function(){return _triggers.filter(function(_){return _.vars.id!=="ScrollSmoother"})};ScrollTrigger.isScrolling=function(){return!!_lastScrollTime};ScrollTrigger.snapDirectional=_snapDirectional;ScrollTrigger.addEventListener=function(_,j){var et=_listeners[_]||(_listeners[_]=[]);~et.indexOf(j)||et.push(j)};ScrollTrigger.removeEventListener=function(_,j){var et=_listeners[_],tt=et&&et.indexOf(j);tt>=0&&et.splice(tt,1)};ScrollTrigger.batch=function(_,j){var et=[],tt={},rt=j.interval||.016,nt=j.batchMax||1e9,it=function(ot,lt){var ct=[],ut=[],dt=gsap.delayedCall(rt,function(){lt(ct,ut),ct=[],ut=[]}).pause();return function(ht){ct.length||dt.restart(!0),ct.push(ht.trigger),ut.push(ht),nt<=ct.length&&dt.progress(1)}},st;for(st in j)tt[st]=st.substr(0,2)==="on"&&_isFunction(j[st])&&st!=="onRefreshInit"?it(st,j[st]):j[st];return _isFunction(nt)&&(nt=nt(),_addListener(ScrollTrigger,"refresh",function(){return nt=j.batchMax()})),_toArray$1(_).forEach(function(at){var ot={};for(st in tt)ot[st]=tt[st];ot.trigger=at,et.push(ScrollTrigger.create(ot))}),et};var _clampScrollAndGetDurationMultiplier=function(j,et,tt,rt){return et>rt?j(rt):et<0&&j(0),tt>rt?(rt-et)/(tt-et):tt<0?et/(et-tt):1},_allowNativePanning=function _(j,et){et===!0?j.style.removeProperty("touch-action"):j.style.touchAction=et===!0?"auto":et?"pan-"+et+(Observer.isTouch?" pinch-zoom":""):"none",j===_docEl&&_(_body,et)},_overflow={auto:1,scroll:1},_nestedScroll=function(j){var et=j.event,tt=j.target,rt=j.axis,nt=(et.changedTouches?et.changedTouches[0]:et).target,it=nt._gsap||gsap.core.getCache(nt),st=_getTime(),at;if(!it._isScrollT||st-it._isScrollT>2e3){for(;nt&&nt!==_body&&(nt.scrollHeight<=nt.clientHeight&&nt.scrollWidth<=nt.clientWidth||!(_overflow[(at=_getComputedStyle(nt)).overflowY]||_overflow[at.overflowX]));)nt=nt.parentNode;it._isScroll=nt&&nt!==tt&&!_isViewport(nt)&&(_overflow[(at=_getComputedStyle(nt)).overflowY]||_overflow[at.overflowX]),it._isScrollT=st}(it._isScroll||rt==="x")&&(et.stopPropagation(),et._gsapAllow=!0)},_inputObserver=function(j,et,tt,rt){return Observer.create({target:j,capture:!0,debounce:!1,lockAxis:!0,type:et,onWheel:rt=rt&&_nestedScroll,onPress:rt,onDrag:rt,onScroll:rt,onEnable:function(){return tt&&_addListener(_doc,Observer.eventTypes[0],_captureInputs,!1,!0)},onDisable:function(){return _removeListener(_doc,Observer.eventTypes[0],_captureInputs,!0)}})},_inputExp=/(input|label|select|textarea)/i,_inputIsFocused,_captureInputs=function(j){var et=_inputExp.test(j.target.tagName);(et||_inputIsFocused)&&(j._gsapAllow=!0,_inputIsFocused=et)},_getScrollNormalizer=function(j){_isObject(j)||(j={}),j.preventDefault=j.isNormalizer=j.allowClicks=!0,j.type||(j.type="wheel,touch"),j.debounce=!!j.debounce,j.id=j.id||"normalizer";var et=j,tt=et.normalizeScrollX,rt=et.momentum,nt=et.allowNestedScroll,it=et.onRelease,st,at,ot=_getTarget(j.target)||_docEl,lt=gsap.core.globals().ScrollSmoother,ct=lt&<.get(),ut=_fixIOSBug&&(j.content&&_getTarget(j.content)||ct&&j.content!==!1&&!ct.smooth()&&ct.content()),dt=_getScrollFunc(ot,_vertical),ht=_getScrollFunc(ot,_horizontal),pt=1,gt=(Observer.isTouch&&_win.visualVie
vendor: 6,345 bytes, line 707
707wport?_win.visualViewport.scale*_win.visualViewport.width:_win.outerWidth)/_win.innerWidth,ft=0,mt=_isFunction(rt)?function(){return rt(st)}:function(){return rt||2.8},xt,yt,vt=_inputObserver(ot,j.type,!0,nt),bt=function(){return yt=!1},Et=_passThrough,_t=_passThrough,wt=function(){at=_maxScroll(ot,_vertical),_t=_clamp(_fixIOSBug?1:0,at),tt&&(Et=_clamp(0,_maxScroll(ot,_horizontal))),xt=_refreshID},Rt=function(){ut._gsap.y=_round(parseFloat(ut._gsap.y)+dt.offset)+"px",ut.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(ut._gsap.y)+", 0, 1)",dt.offset=dt.cacheID=0},Ct=function(){if(yt){requestAnimationFrame(bt);var kt=_round(st.deltaY/2),St=_t(dt.v-kt);if(ut&&St!==dt.v+dt.offset){dt.offset=St-dt.v;var Pt=_round((parseFloat(ut&&ut._gsap.y)||0)-dt.offset);ut.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+Pt+", 0, 1)",ut._gsap.y=Pt+"px",dt.cacheID=_scrollers.cache,_updateAll()}return!0}dt.offset&&Rt(),yt=!0},jt,Dt,It,Ot,At=function(){wt(),jt.isActive()&&jt.vars.scrollY>at&&(dt()>at?jt.progress(1)&&dt(at):jt.resetTo("scrollY",at))};return ut&&gsap.set(ut,{y:"+=0"}),j.ignoreCheck=function(Tt){return _fixIOSBug&&Tt.type==="touchmove"&&Ct()||pt>1.05&&Tt.type!=="touchstart"||st.isGesturing||Tt.touches&&Tt.touches.length>1},j.onPress=function(){yt=!1;var Tt=pt;pt=_round((_win.visualViewport&&_win.visualViewport.scale||1)/gt),jt.pause(),Tt!==pt&&_allowNativePanning(ot,pt>1.01?!0:tt?!1:"x"),Dt=ht(),It=dt(),wt(),xt=_refreshID},j.onRelease=j.onGestureStart=function(Tt,kt){if(dt.offset&&Rt(),!kt)Ot.restart(!0);else{_scrollers.cache++;var St=mt(),Pt,$t;tt&&(Pt=ht(),$t=Pt+St*.05*-Tt.velocityX/.227,St*=_clampScrollAndGetDurationMultiplier(ht,Pt,$t,_maxScroll(ot,_horizontal)),jt.vars.scrollX=Et($t)),Pt=dt(),$t=Pt+St*.05*-Tt.velocityY/.227,St*=_clampScrollAndGetDurationMultiplier(dt,Pt,$t,_maxScroll(ot,_vertical)),jt.vars.scrollY=_t($t),jt.invalidate().duration(St).play(.01),(_fixIOSBug&&jt.vars.scrollY>=at||Pt>=at-1)&&gsap.to({},{onUpdate:At,duration:St})}it&&it(Tt)},j.onWheel=function(){jt._ts&&jt.pause(),_getTime()-ft>1e3&&(xt=0,ft=_getTime())},j.onChange=function(Tt,kt,St,Pt,$t){if(_refreshID!==xt&&wt(),kt&&tt&&ht(Et(Pt[2]===kt?Dt+(Tt.startX-Tt.x):ht()+kt-Pt[1])),St){dt.offset&&Rt();var Nt=$t[2]===St,Mt=Nt?It+Tt.startY-Tt.y:dt()+St-$t[1],Vt=_t(Mt);Nt&&Mt!==Vt&&(It+=Vt-Mt),dt(Vt)}(St||kt)&&_updateAll()},j.onEnable=function(){_allowNativePanning(ot,tt?!1:"x"),ScrollTrigger.addEventListener("refresh",At),_addListener(_win,"resize",At),dt.smooth&&(dt.target.style.scrollBehavior="auto",dt.smooth=ht.smooth=!1),vt.enable()},j.onDisable=function(){_allowNativePanning(ot,!0),_removeListener(_win,"resize",At),ScrollTrigger.removeEventListener("refresh",At),vt.kill()},j.lockAxis=j.lockAxis!==!1,st=new Observer(j),st.iOS=_fixIOSBug,_fixIOSBug&&!dt()&&dt(1),_fixIOSBug&&gsap.ticker.add(_passThrough),Ot=st._dc,jt=gsap.to(st,{ease:"power4",paused:!0,inherit:!1,scrollX:tt?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:_interruptionTracker(dt,dt(),function(){return jt.pause()})},onUpdate:_updateAll,onComplete:Ot.vars.onComplete}),st};ScrollTrigger.sort=function(_){if(_isFunction(_))return _triggers.sort(_);var j=_win.pageYOffset||0;return ScrollTrigger.getAll().forEach(function(et){return et._sortY=et.trigger?j+et.trigger.getBoundingClientRect().top:et.start+_win.innerHeight}),_triggers.sort(_||function(et,tt){return(et.vars.refreshPriority||0)*-1e6+(et.vars.containerAnimation?1e6:et._sortY)-((tt.vars.containerAnimation?1e6:tt._sortY)+(tt.vars.refreshPriority||0)*-1e6)})};ScrollTrigger.observe=function(_){return new Observer(_)};ScrollTrigger.normalizeScroll=function(_){if(typeof _>"u")return _normalizer;if(_===!0&&_normalizer)return _normalizer.enable();if(_===!1){_normalizer&&_normalizer.kill(),_normalizer=_;return}var j=_ instanceof Observer?_:_getScrollNormalizer(_);return _normalizer&&_normalizer.target===j.target&&_normalizer.kill(),_isViewport(j.target)&&(_normalizer=j),j};ScrollTrigger.core={_getVelocityProp,_inputObserver,_scrollers,_proxies,bridge:{ss:function(){_lastScrollTime||_dispatch("scrollStart"),_lastScrollTime=_getTime()},ref:function(){return _refreshing}}};_getGSAP()&&gsap.registerPlugin(ScrollTrigger);const imgFront="/assets/hero-front-CLm52twM.jpg",imgOutdoor="/assets/hero-outdoor-CPmzKuHV.jpg",imgLifestyle="/assets/hero-front-CLm52twM.jpg",imgVariant="/assets/gallery-fashion-2-KpG6Pt1Z.jpg",galleryDecor1="/assets/decor-lamp-Cgxbsy8_.jpg",galleryDecor2="/assets/gallery-decor-2-CEI5RJeL.jpg",newDenimFront="/assets/fashion-denim-front-BMhp28Z3.png",newPinkSide="/assets/fashion-pink-side-DXCyCEpi.png",newPinkBack="/assets/fashion-pink-back-DiPSElyC.png",newWhiteBack="/assets/fashion-white-back-DlQKRJLm.png",newBlackDress="/assets/fashion-black-dress-CYuqOuZT.png",newBlackTee="/assets/fashion-black-tee-28hCmMo_.png",newCreamTee="/assets/fashion-cream-tee-DYzSQtGJ.png",newYellowFront="/assets/fashion-yellow-front-CpXMoaQy.png",newCrystalLamp="/assets/decor-crystal-lamp-DWkNaRJg.png";gsapWithCSS.registerPlugin(ScrollTrigger);const staticGalleryImages=[[{src:newDenimFront,alt:"Denim shirt â front view"},{src:imgFront,alt:"Fashion â front view"},{src:newBlackDress,alt:"Black dress â front view"},{src:galleryDecor1,alt:"Home decor product photo"},{src:newCreamTee,alt:"Cream tee â model shot"}],[{src:newPinkSide,alt:"Pink shirt â side view"},{src:imgLifestyle,alt:"Fashion lifestyle photo"},{src:newBlackTee,alt:"Black tee â model shot"},{src:newCrystalLamp,alt:"Crystal lamp â lifestyle"},{src:imgOutdoor,alt:"Fashion â outdoor shot"}],[{src:newPinkBack,alt:"Pink shirt â back view"},{src:imgVariant,alt:"Fashion product photo"},{src:newWhiteBack,alt:"White shirt â back view"},{src:galleryDecor2,alt:"Home decor scene"},{src:newYellowFront,alt:"Yellow shirt â front view"}]],ScrollingGallery=({heroRef:_,images:j})=>{const et=reactExports.useRef(null);return reactExports.useEffect(()=>{const tt=et.current,rt=_.current;if(!tt||!rt)return;const nt=tt.querySelectorAll(".col-track"),it=[];let st=null,at=0;const ot=[-1,1,-1];return nt.forEach((lt,ct)=>{const ut=ot[ct]??(ct%2===0?-1:1),dt=gsapWithCSS.fromTo(lt,{yPercent:ut===-1?0:-50},{yPercent:ut===-1?-50:0,duration:36,repeat:-1,ease:"none"});it.push(dt)}),st=ScrollTrigger.create({trigger:rt,start:"top top",end:"bottom bottom",onUpdate:lt
707=>{const ct=performance.now();if(ct-at<50)return;at=ct;const ut=Math.abs(lt.getVelocity()),dt=gsapWithCSS.utils.clamp(.8,1.4,1+ut/9e3);it.forEach(ht=>{gsapWithCSS.to(ht,{timeScale:dt,duration:.3,overwrite:!0})})},onScrubComplete:()=>{it.forEach(lt=>{gsapWithCSS.to(lt,{timeScale:1,duration:.35,overwrite:!0})})}}),()=>{it.forEach(lt=>lt.kill()),st&&st.kill()}},[_,j]),jsxRuntimeExports.jsx("div",{ref:et,className:"absolute inset-0 z-0 pointer-events-auto flex overflow-hidden h-screen",children:j.map((tt,rt)=>jsxRuntimeExports.jsx("div",{className:`col flex-1 flex-col h-screen overflow-hidden ${rt===0?"hidden lg:flex":rt===1?"flex":"hidden sm:flex"} ${rt%2!==0?"self-end":"self-start"}`,children:jsxRuntimeExports.jsx("div",{className:"col-track flex flex-col",children:[...tt,...tt].map((nt,it)=>jsxRuntimeExports.jsx("div",{className:"image h-screen shrink-0 p-2 sm:p-3 md:p-4",children:jsxRuntimeExports.jsx("div",{className:"h-full w-full rounded-lg overflow-hidden shadow-[0_2.8px_2.2px_rgba(0,0,0,0.034),0_6.7px_5.3px_rgba(0,0,0,0.048),0_12.5px_10px_rgba(0,0,0,0.06),0_22.3px_17.9px_rgba(0,0,0,0.072),0_41.8px_33.4px_rgba(0,0,0,0.086),0_100px_80px_rgba(0,0,0,0.12)]",children:jsxRuntimeExports.jsx("img",{src:nt.src,alt:nt.alt,loading:"lazy",className:"w-full h-full object-cover grayscale hover:grayscale-0 transition-[filter] duration-300 will-change-[transform,filter]"})})},it))})},rt))})},Hero=()=>{const _=reactExports.useRef(null);return reactExports.useEffect(()=>{const j=_.current;j&&__vitePreload(()=>import("./index-DfaSRNf0.js"),[]).then(et=>{et.createTimeline({defaults:{ease:"easeOutCubic"}}).add(j.querySelectorAll(".hero-word"),{opacity:[0,1],translateY:[60,0],filter:["blur(8px)","blur(0px)"],delay:(rt,nt)=>nt*80,duration:600},"-=200").add(j.querySelector(".hero-subtitle"),{opacity:[0,1],translateY:[20,0],duration:500},"-=300").add(j.querySelectorAll(".hero-cta"),{opacity:[0,1],scale:[.9,1],delay:(rt,nt)=>nt*100,duration:400},"-=200").add(j.querySelector(".hero-trust"),{opacity:[0,1],translateY:[15,0],duration:400},"-=200")})},[]),jsxRuntimeExports.jsxs("section",{ref:_,className:"relative min-h-screen flex items-center justify-center py-20 md:py-32 overflow-hidden",children:[jsxRuntimeExports.jsx(ScrollingGallery,{heroRef:_,images:staticGalleryImages}),jsxRuntimeExports.jsxs("h1",{className:"absolute top-[26%] sm:top-[32%] md:top-[42%] left-1/2 -translate-x-1/2 -translate-y-1/2 z-20 pointer-events-none text-center text-white text-[1.875rem] sm:text-5xl md:text-6xl lg:text-7xl font-prata font-extrabold leading-[1.3] sm:leading-[1.2] md:leading-[1.15] px-4",children:[jsxRuntimeExports.jsx("span",{className:"inline-block overflow-hidden mr-[0.2em]",children:jsxRuntimeExports.jsx("span",{className:"hero-word inline-block opacity-0",children:"Product"})}),jsxRuntimeExports.jsx("span",{className:"inline-block overflow-hidden mr-[0.2em]",children:jsxRuntimeExports.jsx("span",{className:"hero-word inline-block opacity-0",children:"Photos."})}),jsxRuntimeExports.jsx("br",{className:"sm:block"}),jsxRuntimeExports.jsx("span",{className:"inline-block overflow-hidden",children:jsxRuntimeExports.jsx("span",{className:"hero-word inline-block opacity-0",children:"Generated"})}),jsxRuntimeExports.jsx("span",{className:"inline-block overflow-hidden ml-[0.2em]",children:jsxRuntimeExports.jsx("span",{className:"hero-word inline-block opacity-0 text-primary",children:"Fast."})})]}),jsxRuntimeExports.jsx("div",{className:"absolute inset-x-0 bottom-0 w-full px-4 sm:px-6 md:px-8 lg:px-10 z-30 pointer-events-none pt-[44%] sm:pt-0 pb-6 sm:pb-10 md:pb-12 lg:pb-14",children:jsxRuntimeExports.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[jsxRuntimeExports.jsx("p",{className:"hero-subtitle font-body text-[15px] sm:text-lg md:text-xl text-white/85 mb-5 sm:mb-8 max-w-2xl mx-auto leading-relaxed opacity-0",children:"Fashion and home decor images. Studio and outdoor. Views and variants. Professional quality in minutes, not days."}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 sm:gap-4 justify-center pointer-events-auto md:gap-5",children:[jsxRuntimeExports.jsx(MagneticButton,{className:"hero-cta opacity-0",children:jsxRuntimeExports.jsx(Link,{to:"/app",children:jsxRuntimeExports.jsxs(Button,{variant:"hero",size:"lg",className:"font-body min-h-11 md:min-
707h-12",children:["Open App",jsxRuntimeExports.jsx("svg",{className:"w-4 h-4 ml-2",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntimeExports.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 7l5 5m0 0l-5 5m5-5H6"})})]})})}),jsxRuntimeExports.jsx(MagneticButton,{className:"hero-cta opacity-0",children:jsxRuntimeExports.jsx("a",{href:"/#examples",children:jsxRuntimeExports.jsxs(Button,{variant:"glass",size:"lg",className:"font-body min-h-11 md:min-h-12",children:["View Examples",jsxRuntimeExports.jsxs("svg",{className:"w-4 h-4 ml-2",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:[jsxRuntimeExports.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z"}),jsxRuntimeExports.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})]})]})})})]}),jsxRuntimeExports.jsx("div",{className:"hero-trust mt-6 sm:mt-10 flex items-center justify-center opacity-0",children:jsxRuntimeExports.jsxs("div",{className:"text-center",children:[jsxRuntimeExports.jsxs("div",{className:"text-sm font-body font-semibold text-white",children:[jsxRuntimeExports.jsx("span",{className:"tabular-nums",children:"10+"})," brands"]}),jsxRuntimeExports.jsx("div",{className:"text-xs font-body text-white/75",children:"already using Snapshot"}),jsxRuntimeExports.jsx("div",{className:"mt-1.5 sm:mt-2 flex flex-wrap items-center justify-center gap-x-3 sm:gap-x-4 gap-y-1 text-xs font-body text-muted-foreground/70",children:["LUXE","Urban Basics","Mindful Wear","NOVA","Threads Co"].map(j=>jsxRuntimeExports.jsx("span",{className:"uppercase tracking-[0.18em] hover:text-foreground/80 transition-colors",children:j},j))})]})})]})})]})},steps=[{number:"01",icon:Upload,title:"Upload product image",description:"Upload your product photo. Works best with clean product shots on neutral backgrounds.",accent:"from-electric-blue to-cyan-400"},{number:"02",icon:Settings,title:"Pick niche, views, format, variants",description:"Choose Fashion or Home Decor. Select views, aspect ratios, and color variants for your batch.",accent:"from-logo-purple to-electric-blue"},{number:"03",icon:Download,title:"Download results, use Fix Image for edits",description:"Download your generated images. Use our Fix Image tool to make adjustments if needed.",accent:"from-pink-500 to-logo-purple"}],HowItWorks=()=>{const _=reactExports.useRef(null);return reactExports.useEffect(()=>{const j=_.current;if(!j)return;const et=j.querySelectorAll(".step-card"),tt=window.setTimeout(()=>{et.forEach(nt=>{const it=nt;parseFloat(getComputedStyle(it).opacity)<.5&&(it.style.opacity="1",it.style.transform="none",it.style.filter="none")})},2e3),rt=new IntersectionObserver(nt=>{nt.forEach(it=>{it.isIntersecting&&(__vitePreload(()=>import("./index-DfaSRNf0.js"),[]).then(st=>{st.animate(et,{opacity:[0,1],translateY:[40,0],filter:["blur(6px)","blur(0px)"],delay:(at,ot)=>ot*150,duration:700,ease:"easeOutCubic"})}),rt.disconnect())})},{threshold:.2});return rt.observe(j),()=>{window.clearTimeout(tt),rt.disconnect()}},[]),jsxRuntimeExports.jsx("section",{id:"how-snapshot-works",className:"py-16 md:py-24 relative overflow-hidden",ref:_,children:jsxRuntimeExports.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:[jsxRuntimeExports.jsxs("div",{className:"text-center mb-10 md:mb-14",children:[jsxRuntimeExports.jsxs("h2",{className:"font-prata text-3xl md:text-5xl lg:text-[3.5rem] font-bold mb-5 leading-tight",children:["How"," ",jsxRuntimeExports.jsx("span",{className:"bg-gradient-to-r from-logo-purple to-electric-blue bg-clip-text text-transparent",children:"SnapShot"})," ","Works"]}),jsxRuntimeExports.jsx("p",{className:"text-foreground/50 font-body text-lg md:text-xl max-w-xl mx-auto leading-relaxed",children:"Three simple steps to professional product photography"})]}),jsxRuntimeExports.jsx("div",{className:"grid lg:grid-cols-3 gap-5 lg:gap-6 relative",children:steps.map(j=>{const et=j.icon;return jsxRuntimeExports.jsx(motion.div,{whileHover:{y:-4,transition:{type:"spring",stiffness:300,damping:25}},className:"step-card opacity-0 group relative",children:jsxRuntimeExports.jsxs("div",{className:"relative rounded-2xl border border-white/[0.06] hover:border-white/[0.12] bg-white/[0.02] transition-all duration-300 p-8 md:p-9 h-full",children:[jsxRuntimeExports.jsx("div",{className:`absolute top-0 left-0 right-0 h-px bg-gradient-to-r ${j.accent} opacity-20 group-hover:opacity-40 transition-opacity duration-300`}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-4 mb-7",children:[jsxRuntimeExports.jsx("div",{className:`w-14 h-14 roun
707ded-2xl bg-gradient-to-br ${j.accent} flex items-center justify-center text-white shadow-lg`,children:jsxRuntimeExports.jsx(et,{className:"w-7 h-7"})}),jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center w-9 h-9 rounded-full border border-white/[0.08] bg-white/[0.03]",children:jsxRuntimeExports.jsx("span",{className:"font-display text-sm font-bold text-foreground/50",children:j.number})})]}),jsxRuntimeExports.jsx("h3",{className:"font-display text-xl md:text-[22px] font-bold text-foreground mb-3 tracking-tight",children:j.title}),jsxRuntimeExports.jsx("p",{className:"text-foreground/45 font-body text-[15px] leading-relaxed",children:j.description})]})},j.number)})})]})})},oldWayItems=[{label:"Time per product",value:"~15 min",icon:Clock},{label:"Manual clicks",value:"10+",icon:MousePointer},{label:"Consistency",value:"Variable",icon:X$1}],snapshotItems=[{label:"Time per batch",value:"~5â8 min",icon:Zap},{label:"Manual clicks",value:"3â5",icon:MousePointer},{label:"Consistency",value:"Perfect",icon:Sparkles}],ComparisonSection=()=>{const _=reactExports.useRef(null),j=useInView(_,{once:!0,amount:.3});return reactExports.useEffect(()=>{const et=_.current;if(!et)return;const tt=et.querySelectorAll(".old-item"),rt=et.querySelectorAll(".snap-item"),nt=window.setTimeout(()=>{[...tt,...rt].forEach(it=>{const st=it;parseFloat(getComputedStyle(st).opacity)<.5&&(st.style.opacity="1",st.style.transform="none")})},2e3);if(j)return __vitePreload(()=>import("./index-DfaSRNf0.js"),[]).then(it=>{it.animate(tt,{opacity:[0,1],translateX:[-20,0],delay:(st,at)=>400+at*100,duration:500,ease:"easeOutCubic"}),it.animate(rt,{opacity:[0,1],translateX:[20,0],delay:(st,at)=>400+at*100,duration:500,ease:"easeOutCubic"})}),()=>window.clearTimeout(nt)},[j]),jsxRuntimeExports.jsxs("section",{className:"py-16 md:py-24 relative overflow-hidden",ref:_,children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 pointer-events-none",children:jsxRuntimeExports.jsx("div",{className:"absolute w-[600px] h-[600px] rounded-full blur-[140px] opacity-[0.04]",style:{to
707p:"30%",right:"10%",background:"radial-gradient(circle, hsl(252 100% 68%), transparent 70%)"}})}),jsxRuntimeExports.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative",children:[jsxRuntimeExports.jsxs("div",{className:"text-center mb-10 md:mb-14",children:[jsxRuntimeExports.jsxs("h2",{className:"font-prata text-3xl md:text-5xl lg:text-[3.5rem] font-bold text-foreground mb-5 leading-tight",children:["The Old Way vs."," ",jsxRuntimeExports.jsx("span",{className:"bg-gradient-to-r from-logo-purple to-electric-blue bg-clip-text text-transparent",children:"The Snapshot Way"})]}),jsxRuntimeExports.jsx("p",{className:"text-foreground/50 font-body text-lg md:text-xl max-w-2xl mx-auto leading-relaxed",children:"See why leading e-commerce brands are switching to batch generation"})]}),jsxRuntimeExports.jsxs(motion.div,{initial:{opacity:0,y:30},animate:j?{opacity:1,y:0}:{},transition:{duration:.6,delay:.2},className:"relative max-w-5xl mx-auto",children:[jsxRuntimeExports.jsxs("div",{className:"grid md:grid-cols-2 gap-5 lg:gap-6 items-start",children:[jsxRuntimeExports.jsx(motion.div,{initial:{opacity:0,x:-30},animate:j?{opacity:1,x:0}:{},transition:{duration:.5,delay:.3},className:"group relative",children:jsxRuntimeExports.jsxs("div",{className:"rounded-2xl p-8 md:p-10 border border-white/[0.06] bg-white/[0.02] transition-all duration-300 hover:border-white/[0.1]",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[jsxRuntimeExports.jsx("div",{className:"w-11 h-11 rounded-xl bg-destructive/10 border border-destructive/20 flex items-center justify-center",children:jsxRuntimeExports.jsx(X$1,{className:"w-5 h-5 text-destructive"})}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("span",{className:"font-display text-lg font-bold text-foreground block",children:"The Old Way"}),jsxRuntimeExports.jsx("span",{className:"text-xs font-body text-foreground/35",children:"Manual photography"})]})]}),jsxRuntimeExports.jsxs("div",{className:"mb-8 p-5 rounded-xl bg-white/[0.03] border border-white/[0.04]",children:[jsxRuntimeExports.jsx("span",{className:"text-foreground/35 font-body text-xs uppercase tracking-widest",children:"Time per product"}),jsxRuntimeExports.jsx("div",{className:"mt-1.5 flex items-baseline gap-2",children:jsxRuntimeExports.jsx("span",{className:"font-display text-4xl md:text-5xl font-bold text-destructive/80 line-through decoration-destructive/40 decoration-2",children:"15 min"})})]}),jsxRuntimeExports.jsx("div",{className:"space-y-3",children:oldWayItems.map(et=>{const tt=et.icon;return jsxRuntimeExports.jsxs("div",{className:"old-item flex items-center justify-between p-3.5 rounded-xl bg-white/[0.03] transition-colors opacity-0",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntimeExports.jsx(tt,{className:"w-4 h-4 text-foreground/40"}),jsxRuntimeExports.jsx("span",{className:"text-sm font-body text-foreground/60",children:et.label})]}),jsxRuntimeExports.jsx("span",{className:"text-sm font-body font-semibold text-destructive/70",children:et.value})]},et.label)})})]})}),jsxRuntimeExports.jsxs(motion.div,{initial:{opacity:0,x:30},animate:j?{opacity:1,x:0}:{},transition:{duration:.5,delay:.3},className:"group relative md:scale-[1.03] md:origin-center",children:[jsxRuntimeExports.jsx("div",{className:"absolute -inset-2 bg-gradient-to-r from-logo-purple/15 to-electric-blue/15 rounded-3xl blur-xl opacity-60"}),jsxRuntimeExports.jsxs("div",{className:"relative rounded-2xl p-8 md:p-10 border border-logo-purple/25 hover:border-logo-purple/40 bg-white/[0.03] transition-all duration-300",children:[jsxRuntimeExports.jsx("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2 z-10",children:jsxRuntimeExports.jsxs("span",{className:"inline-flex items-center gap-1.5 px-4 py-1 rounded-full bg-gradient-to-r from-logo-purple to-electric-blue text-xs font-body font-semibold text-white shadow-lg shadow-logo-purple/30",children:[jsxRuntimeExports.jsx(Sparkles,{className:"w-3 h-3"}),"Recommended"]})}),jsxRuntimeExports.jsx("div",{className:"absolute inset-0 rounded-2xl overflow-hidden pointer-events-none",children:jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-logo-purple/[0.04] to-electric-blue/[0.04]"})}),jsxRuntimeExports.jsxs("div",{className:"relative flex items-center gap-3 mb-8",children:[jsxRuntimeExports.jsx("div",{className:"w-11 h-11 rounded-xl bg-gradient-to-br from-logo-purple to-electric-blue flex items-center justify-center shadow-lg shadow-logo-purple/20",children:jsxRuntimeExports.jsx(Check,{className:"w-5 h-5 text-white"})}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("span",{className:"font-display text-lg font-bold text-foreground block",children:"The Snapshot Way"}),jsxRuntimeExports.jsx("span",{className:"text-xs font-body text-foreground
707/35",children:"AI-powered batches"})]})]}),jsxRuntimeExports.jsxs("div",{className:"relative mb-8 p-5 rounded-xl bg-logo-purple/[0.06] border border-logo-purple/10",children:[jsxRuntimeExports.jsx("span",{className:"text-foreground/35 font-body text-xs uppercase tracking-widest",children:"Time per batch"}),jsxRuntimeExports.jsx("div",{className:"mt-1.5 flex items-baseline gap-2",children:jsxRuntimeExports.jsx("span",{className:"font-display text-4xl md:text-5xl font-bold bg-gradient-to-r from-logo-purple to-electric-blue bg-clip-text text-transparent",children:"5â8 min"})})]}),jsxRuntimeExports.jsx("div",{className:"relative space-y-3",children:snapshotItems.map(et=>{const tt=et.icon;return jsxRuntimeExports.jsxs("div",{className:"snap-item flex items-center justify-between p-3.5 rounded-xl bg-logo-purple/[0.04] transition-colors opacity-0",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntimeExports.jsx(tt,{className:"w-4 h-4 text-logo-purple/70"}),jsxRuntimeExports.jsx("span",{className:"text-sm font-body text-foreground/70",children:et.label})]}),jsxRuntimeExports.jsx("span",{className:"text-sm font-body font-bold bg-gradient-to-r from-logo-purple to-electric-blue bg-clip-text text-transparent",children:et.value})]},et.label)})})]})]})]}),jsxRuntimeExports.jsx(motion.div,{initial:{opacity:0,y:10},animate:j?{opacity:1,y:0}:{},transition:{delay:.8},className:"mt-10 flex justify-center",children:jsxRuntimeExports.jsxs("div",{className:"inline-flex items-center gap-6 px-8 py-4 rounded-2xl bg-white/[0.02] border border-white/[0.06]",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Zap,{className:"w-5 h-5 text-green-400"}),jsxRuntimeExports.jsx("span",{className:"text-sm font-body font-semibold text-green-400",children:"3x faster"})]}),jsxRuntimeExports.jsx("div",{className:"w-px h-5 bg-white/[0.08]"}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Sparkles,{className:"w-5 h-5 text-logo-purple"}),jsxRuntimeExports.jsx("span",{className:"text-sm font-body font-semibold text-foreground/60",children:"Perfect consistency"})]}),jsxRuntimeExports.jsx("div",{className:"w-px h-5 bg-white/[0.08] hidden sm:block"}),jsxRuntimeExports.jsxs("a",{href:"/#pricing",className:"hidden sm:flex items-center gap-1.5 text-sm font-body font-medium text-foreground/40 hover:text-foreground/70 transition-colors",children:["Start free",jsxRuntimeExports.jsx(ArrowRight,{className:"w-3.5 h-3.5"})]})]})})]})]})]})};var lottie$1={exports:{}};(function(module,exports){typeof document<"u"&&typeof navigator<"u"&&function(_,j){module.exports=j()}(commonjsGlobal,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(j){_useWebWorker=!!j},getWebWorker=function(){return _useWebWorker},setLocationHref=function(j){locationHref=j},getLocationHref=function(){return locationHref};function createTag(_){return document.createElement(_)}function extendPrototype(_,j){var et,tt=_.length,rt;for(et=0;et<tt;et+=1){rt=_[et].prototype;for(var nt in rt)Object.prototype.hasOwnProperty.call(rt,nt)&&(j.prototype[nt]=rt[nt])}}function getDescriptor(_,j){return Object.getOwnPropertyDescriptor(_,j)}function createProxyFunction(_){function j(){}return j.prototype=_,j}var audioControllerFactory=function(){function _(j){this.audios=[],this.audioFactory=j,this._volume=1,this._isMuted=!1}return _.prototype={addAudio:function(et){this.audios.push(et)},pause:function(){var et,tt=this.audios.length;for(et=0;et<tt;et+=1)this.audios[et].pause()},resume:function(){var et,tt=this.audios.length;for(et=0;et<tt;et+=1)this.audios[et].resume()},setRate:function(et){var tt,rt=this.audios.length;for(tt=0;tt<rt;tt+=1)this.audios[tt].setRate(et)},createAudio:function(et){return this.audioFactory?this.audioFactory(et):window.Howl?new window.Howl({src:[et]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(et){this.audioFactory=et},setVolume:function(et){this._volume=et,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var et,tt=this.audios.length;for(et=0;et<tt;et+=1)this.audios[et].volume(this._volume*(this._isMuted?0:1))}},function(){return new _}}(),createTypedArray=function(){function _(et,tt){var rt=0,nt=[],it;switch(et){case"int16":case"uint8c":it=1;break;default:it=1.1;break}for(rt=0;rt<tt;rt+=1)nt.push(it);return nt}function j(et,tt){return et==="float32"?new Float32Array(tt):et==="int16"?new Int16Array(tt):et==="uint8c"?new Uint8ClampedArray(tt):_(et,tt)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?j:_}();function createSizedArray(_){return Array.apply(null,{length:_})}function _typeof$6(_){"@babel/helpers - typeof";return _typeof$6=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$6(_)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var _=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],j,et=_.length;for(j=0;j<et;j+=1)BMMath[_[j]]=Math[_[j]]})(),BMMath.random=Math.random,BMMath.abs=function(_){var j=_typeof$6(_);if(j==="object"&&_.length){var et=createSizedArray(_.length),tt,rt=_.length;for(tt=0;tt<rt;tt+=1)et[tt]=Math.abs(_[tt]);return et}return Math.abs(_)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(_){_.style.position="absolute",_.style.top=0,_.style.left=0,_.style.display="block",_.style.transformOrigin="0 0",_.style.webkitTransformOrigin="0 0",_.style.backfaceVisibility="visible",_.style.webkitBackfaceVisibility="visible",_.style.transformStyle="preserve-3d",_.style.webkitTransformStyle="preserve-3d",_.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(_,j,et,tt){this.type=_,this.currentTime=j,this.totalTime=et,this.direction=tt<0?-1:1}function BMCompleteEvent(_,j){this.type=_,this.direction=j<0?-1:1}function BMCompleteLoopEvent(_,j,et,tt){this.type=_,this.currentLoop=et,this.totalLoops=j,this.direction=tt<0?-1:1}function BMSegmentStartEvent(_,j,et){this.type=_,this.firstFrame=j,this.totalFrames=et}function BMDestroyEvent(_,j){this.type=_,this.target=j}function BMRenderFrameErrorEvent(_,j){this.type="renderFrameError",this.nativeError=_,this.currentTime=j}function BMConfigErrorEvent(_){this.type="configError",this.nativeError=_}var createElementID=function(){var _=0;return function(){return _+=1,idPrefix$1+"__lottie_element_"+_}}();function HSVtoRGB(_,j,et){var tt,rt,nt,it,st,at,ot,lt;switch(it=Math.floor(_*6),st=_*6-it,at=et*(1-j),ot=et*(1-st*j),lt=et*(1-(1-st)*j),it%6){case 0:tt=et,rt=lt,nt=at;break;case 1:tt=ot,rt=et,nt=at;break;case 2:tt=at,rt=et,nt=lt;break;case 3:tt=at,rt=ot,nt=et;break;case 4:tt=lt,rt=at,nt=et;break;case 5:tt=et,rt=at,nt=ot;break}return[tt,rt,nt]}function RGBtoHSV(_,j,et){var tt=Math.max(_,j,et),rt=Math.min(_,j,et),nt=tt-rt,it,st=tt===0?0:nt/tt,at=tt/255;switch(tt){case rt:it=0;break;case _:it=j-et+nt*(j<et?6:0),it/=6*nt;break;case j:it=et-_+nt*2,it/=6*nt;break;case et:it=_-j+nt*4,it/=6*nt;break}return[it,st,at]}function addSaturationToRGB(_,j){var et=RGBtoHSV(_[0]*255,_[1]*255,_[2]*255);return et[1]+=j,et[1]>1?et[1]=1:et[1]<=0&&(et[1]=0),HSVtoRGB(et[0],et[1],et[2])}function addBrightnessToRGB(_,j){var et=RGBtoHSV(_[0]*255,_[1]*255,_[2]*255);return et[2]+=j,et[2]>1?et[2]=1:et[2]<0&&(et[2]=0),HSVtoRGB(et[0],et[1],et[2])}function addHueToRGB(_,j){var et=RGBtoHSV(_[0]*255,_[1]*255,_[2]*255);return et[0]+=j/360,et[0]>1?et[0]-=1:et[0]<0&&(et[0]+=1),HSVtoRGB(et[0],et[1],et[2])}var rgbToHex=function(){var _=[],j,et;for(j=0;j<256;j+=1)et=j.toString(16),_[j]=et.length===1?"0"+et:et;return function(tt,rt,nt){return tt<0&&(tt=0),rt<0&&(rt=0),nt<0&&(nt=0),"#"+_[tt]+_[rt]+_[nt]}}(),setSubframeEnabled=function(j){subframeEnabled=!!j},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(j){expressionsPlugin=j},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(j){expressionsInterfaces=j},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(j){defaultCurveSegments=j},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(j){idPrefix$1=j};function createNS(_){return document.createElementNS(svgNS,_)}function _typeof$5(_){"@babel/helpers - typeof";return _typeof$5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$5(_)}var dataManager=function(){var _=1,j=[],et,tt,rt={onmessage:function(){},postMessage:function(dt){et({data:dt})}},nt={postMessage:function(dt){rt.onmessage({data:dt})}};function it(ut){if(window.Worker&&window.Blob&&getWebWorker()){var dt=new Blob(["var _workerSelf = self;
707 self.onmessage = ",ut.toString()],{type:"text/javascript"}),ht=URL.createObjectURL(dt);return new Worker(ht)}return et=ut,rt}function st(){tt||(tt=it(function(dt){function ht(){function gt(Ot,At){var Tt,kt,St=Ot.length,Pt,$t,Nt,Mt;for(kt=0;kt<St;kt+=1)if(Tt=Ot[kt],"ks"in Tt&&!Tt.completed){if(Tt.completed=!0,Tt.hasMask){var Vt=Tt.masksProperties;for($t=Vt.length,Pt=0;Pt<$t;Pt+=1)if(Vt[Pt].pt.k.i)vt(Vt[Pt].pt.k);else for(Mt=Vt[Pt].pt.k.length,Nt=0;Nt<Mt;Nt+=1)Vt[Pt].pt.k[Nt].s&&vt(Vt[Pt].pt.k[Nt].s[0]),Vt[Pt].pt.k[Nt].e&&vt(Vt[Pt].pt.k[Nt].e[0])}Tt.ty===0?(Tt.layers=xt(Tt.refId,At),gt(Tt.layers,At)):Tt.ty===4?yt(Tt.shapes):Tt.ty===5&&Dt(Tt)}}function ft(Ot,At){if(Ot){var Tt=0,kt=Ot.length;for(Tt=0;Tt<kt;Tt+=1)Ot[Tt].t===1&&(Ot[Tt].data.layers=xt(Ot[Tt].data.refId,At),gt(Ot[Tt].data.layers,At))}}function mt(Ot,At){for(var Tt=0,kt=At.length;Tt<kt;){if(At[Tt].id===Ot)return At[Tt];Tt+=1}return null}function xt(Ot,At){var Tt=mt(Ot,At);return Tt?Tt.layers.__used?JSON.parse(JSON.stringify(Tt.layers)):(Tt.layers.__used=!0,Tt.layers):null}function yt(Ot){var At,Tt=Ot.length,kt,St;for(At=Tt-1;At>=0;At-=1)if(Ot[At].ty==="sh")if(Ot[At].ks.k.i)vt(Ot[At].ks.k);else for(St=Ot[At].ks.k.length,kt=0;kt<St;kt+=1)Ot[At].ks.k[kt].s&&vt(Ot[At].ks.k[kt].s[0]),Ot[At].ks.k[kt].e&&vt(Ot[At].ks.k[kt].e[0]);else Ot[At].ty==="gr"&&yt(Ot[At].it)}function vt(Ot){var At,Tt=Ot.i.length;for(At=0;At<Tt;At+=1)Ot.i[At][0]+=Ot.v[At][0],Ot.i[At][1]+=Ot.v[At][1],Ot.o[At][0]+=Ot.v[At][0],Ot.o[At][1]+=Ot.v[At][1]}function bt(Ot,At){var Tt=At?At.split("."):[100,100,100];return Ot[0]>Tt[0]?!0:Tt[0]>Ot[0]?!1:Ot[1]>Tt[1]?!0:Tt[1]>Ot[1]?!1:Ot[2]>Tt[2]?!0:Tt[2]>Ot[2]?!1:null}var Et=function(){var Ot=[4,4,14];function At(kt){var St=kt.t.d;kt.t.d={k:[{s:St,t:0}]}}function Tt(kt){var St,Pt=kt.length;for(St=0;St<Pt;St+=1)kt[St].ty===5&&At(kt[St])}return function(kt){if(bt(Ot,kt.v)&&(Tt(kt.layers),kt.assets)){var St,Pt=kt.assets.length;for(St=0;St<Pt;St+=1)kt.assets[St].layers&&Tt(kt.assets[St].layers)}}}(),_t=function(){var Ot=[4,7,99];return function(At){if(At.chars&&!bt(Ot,At.v)){var Tt,kt=At.chars.length;for(Tt=0;Tt<kt;Tt+=1){var St=At.chars[Tt];St.data&&St.data.shapes&&(yt(St.data.shapes),St.data.ip=0,St.data.op=99999,St.data.st=0,St.data.sr=1,St.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},At.chars[Tt].t||(St.data.shapes.push({ty:"no"}),St.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),wt=function(){var Ot=[5,7,15];function At(kt){var St=kt.t.p;typeof St.a=="number"&&(St.a={a:0,k:St.a}),typeof St.p=="number"&&(St.p={a:0,k:St.p}),typeof St.r=="number"&&(St.r={a:0,k:St.r})}function Tt(kt){var St,Pt=kt.length;for(St=0;St<Pt;St+=1)kt[St].ty===5&&At(kt[St])}return function(kt){if(bt(Ot,kt.v)&&(Tt(kt.layers),kt.assets)){var St,Pt=kt.assets.length;for(St=0;St<Pt;St+=1)kt.assets[St].layers&&Tt(kt.assets[St].layers)}}}(),Rt=function(){var Ot=[4,1,9];function At(kt){var St,Pt=kt.length,$t,Nt;for(St=0;St<Pt;St+=1)if(kt[St].ty==="gr")At(kt[St].it);else if(kt[St].ty==="fl"||kt[St].ty==="st")if(kt[St].c.k&&kt[St].c.k[0].i)for(Nt=kt[St].c.k.length,$t=0;$t<Nt;$t+=1)kt[St].c.k[$t].s&&(kt[St].c.k[$t].s[0]/=255,kt[St].c.k[$t].s[1]/=255,kt[St].c.k[$t].s[2]/=255,kt[St].c.k[$t].s[3]/=255),kt[St].c.k[$t].e&&(kt[St].c.k[$t].e[0]/=255,kt[St].c.k[$t].e[1]/=255,kt[St].c.k[$t].e[2]/=255,kt[St].c.k[$t].e[3]/=255);else kt[St].c.k[0]/=255,kt[St].c.k[1]/=255,kt[St].c.k[2]/=255,kt[St].c.k[3]/=255}function Tt(kt){var St,Pt=kt.length;for(St=0;St<Pt;St+=1)kt[St].ty===4&&At(kt[St].shapes)}return function(kt){if(bt(Ot,kt.v)&&(Tt(kt.layers),kt.assets)){var St,Pt=kt.assets.length;for(St=0;St<Pt;St+=1)kt.assets[St].layers&&Tt(kt.assets[St].layers)}}}(),Ct=function(){var Ot=[4,4,18];function At(kt){var St,Pt=kt.length,$t,Nt;for(St=Pt-1;St>=0;St-=1)if(kt[St].ty==="sh")if(kt[St].ks.k.i)kt[St].ks.k.c=kt[St].closed;else for(Nt=kt[St].ks.k.length,$t=0;$t<Nt;$t+=1)kt[St].ks.k[$t].s&&(kt[St].ks.k[$t].s[0].c=kt[St].closed),kt[St].ks.k[$t].e&&(kt[St].ks.k[$t].e[0].c=kt[St].closed);else kt[St].ty==="gr"&&At(kt[St].it)}function Tt(kt){var St,Pt,$t=kt.length,Nt,Mt,Vt,Ht;
vendor: 10,374 bytes, lines 707-708
707for(Pt=0;Pt<$t;Pt+=1){if(St=kt[Pt],St.hasMask){var Qt=St.masksProperties;for(Mt=Qt.length,Nt=0;Nt<Mt;Nt+=1)if(Qt[Nt].pt.k.i)Qt[Nt].pt.k.c=Qt[Nt].cl;else for(Ht=Qt[Nt].pt.k.length,Vt=0;Vt<Ht;Vt+=1)Qt[Nt].pt.k[Vt].s&&(Qt[Nt].pt.k[Vt].s[0].c=Qt[Nt].cl),Qt[Nt].pt.k[Vt].e&&(Qt[Nt].pt.k[Vt].e[0].c=Qt[Nt].cl)}St.ty===4&&At(St.shapes)}}return function(kt){if(bt(Ot,kt.v)&&(Tt(kt.layers),kt.assets)){var St,Pt=kt.assets.length;for(St=0;St<Pt;St+=1)kt.assets[St].layers&&Tt(kt.assets[St].layers)}}}();function jt(Ot){Ot.__complete||(Rt(Ot),Et(Ot),_t(Ot),wt(Ot),Ct(Ot),gt(Ot.layers,Ot.assets),ft(Ot.chars,Ot.assets),Ot.__complete=!0)}function Dt(Ot){Ot.t.a.length===0&&"m"in Ot.t.p}var It={};return It.completeData=jt,It.checkColors=Rt,It.checkChars=_t,It.checkPathProperties=wt,It.checkShapes=Ct,It.completeLayers=gt,It}if(nt.dataManager||(nt.dataManager=ht()),nt.assetLoader||(nt.assetLoader=function(){function gt(mt){var xt=mt.getResponseHeader("content-type");return xt&&mt.responseType==="json"&&xt.indexOf("json")!==-1||mt.response&&_typeof$5(mt.response)==="object"?mt.response:mt.response&&typeof mt.response=="string"?JSON.parse(mt.response):mt.responseText?JSON.parse(mt.responseText):null}function ft(mt,xt,yt,vt){var bt,Et=new XMLHttpRequest;try{Et.responseType="json"}catch{}Et.onreadystatechange=function(){if(Et.readyState===4)if(Et.status===200)bt=gt(Et),yt(bt);else try{bt=gt(Et),yt(bt)}catch(_t){vt&&vt(_t)}};try{Et.open(["G","E","T"].join(""),mt,!0)}catch{Et.open(["G","E","T"].join(""),xt+"/"+mt,!0)}Et.send()}return{load:ft}}()),dt.data.type==="loadAnimation")nt.assetLoader.load(dt.data.path,dt.data.fullPath,function(gt){nt.dataManager.completeData(gt),nt.postMessage({id:dt.data.id,payload:gt,status:"success"})},function(){nt.postMessage({id:dt.data.id,status:"error"})});else if(dt.data.type==="complete"){var pt=dt.data.animation;nt.dataManager.completeData(pt),nt.postMessage({id:dt.data.id,payload:pt,status:"success"})}else dt.data.type==="loadData"&&nt.assetLoader.load(dt.data.path,dt.data.fullPath,function(gt){nt.postMessage({id:dt.data.id,payload:gt,status:"success"})},function(){nt.postMessage({id:dt.data.id,status:"error"})})}),tt.onmessage=function(ut){var dt=ut.data,ht=dt.id,pt=j[ht];j[ht]=null,dt.status==="success"?pt.onComplete(dt.payload):pt.onError&&pt.onError()})}function at(ut,dt){_+=1;var ht="processId_"+_;return j[ht]={onComplete:ut,onError:dt},ht}function ot(ut,dt,ht){st();var pt=at(dt,ht);tt.postMessage({type:"loadAnimation",path:ut,fullPath:window.location.origin+window.location.pathname,id:pt})}function lt(ut,dt,ht){st();var pt=at(dt,ht);tt.postMessage({type:"loadData",path:ut,fullPath:window.location.origin+window.location.pathname,id:pt})}function ct(ut,dt,ht){st();var pt=at(dt,ht);tt.postMessage({type:"complete",animation:ut,id:pt})}return{loadAnimation:ot,loadData:lt,completeAnimation:ct}}(),ImagePreloader=function(){var _=function(){var ft=createTag("canvas");ft.width=1,ft.height=1;var mt=ft.getContext("2d");return mt.fillStyle="rgba(0,0,0,0)",mt.fillRect(0,0,1,1),ft}();function j(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function et(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function tt(ft,mt,xt){var yt="";if(ft.e)yt=ft.p;else if(mt){var vt=ft.p;vt.indexOf("images/")!==-1&&(vt=vt.split("/")[1]),yt=mt+vt}else yt=xt,yt+=ft.u?ft.u:"",yt+=ft.p;return yt}function rt(ft){var mt=0,xt=setInterval((function(){var yt=ft.getBBox();(yt.width||mt>500)&&(this._imageLoaded(),clearInterval(xt)),mt+=1}).bind(this),50)}function nt(ft){var mt=tt(ft,this.assetsPath,this.path),xt=createNS("image");isSafari?this.testImageLoaded(xt):xt.addEventListener("load",this._imageLoaded,!1),xt.addEventListener("error",(function(){yt.img=_,this._imageLoaded()}).bind(this),!1),xt.setAttributeNS("http://www.w3.org/1999/xlink","href",mt),this._elementHelper.append?this._elementHelper.append(xt):this._elementHelper.appendChild(xt);var yt={img:xt,assetData:ft};return yt}function it(ft){var mt=tt(ft,this.assetsPath,this.path),xt=createTag("img");xt.crossOrigin="anonymous",xt.addEventListener("load",this._imageLoaded,!1),xt.addEventListener("error",(function(){yt.img=_,this._imageLoaded()}).bind(this),!1),xt.src=mt;var yt={img:xt,assetData:ft};return yt}function st(ft){var mt={assetData:ft},xt=tt(ft,this.assetsPath,this.path);return dataManager.loadData(xt,(function(yt){mt.img=yt,this._footageLoaded()}).bind(this),(function(){mt.img={},this._footageLoaded()}).bind(this)),mt}function at(ft,mt){this.imagesLoadedCb=mt;var xt,yt=ft.length;for(xt=0;xt<yt;xt+=1)ft[xt].layers||(!ft[xt].t||ft[xt].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(ft[xt]))):ft[xt].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(ft[xt]))))}function ot(ft){this.path=ft||""}function lt(ft){this.assetsPath=ft||""}function ct(ft){for(var mt=0,xt=this.images.length;mt<xt;){if(this.images[mt].assetData===ft)return this.images[mt].img;mt+=1}return null}function ut(){this.imagesLoadedCb=null,this.images.length=0}function dt(){return this.totalImages===this.loadedAssets}function ht(){return this.totalFootages===this.loadedFootagesCount}function pt(ft,mt){ft==="svg"?(this._elementHelper=mt,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function gt(){this._imageLoaded=j.bind(this),this._footageLoaded=et.bind(this),this.testImageLoaded=rt.bind(this),this.createFootageData=st.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return gt.prototype={loadAssets:at,setAssetsPath:lt,setPath:ot,loadedImages:dt,loadedFootages:ht,destroy:ut,getAsset:ct,createImgData:it,createImageData:nt,imageLoaded:j,footageLoaded:et,setCacheType:pt},gt}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(j,et){if(this._cbs[j])for(var tt=this._cbs[j],rt=0;rt<tt.length;rt+=1)tt[rt](et)},addEventListener:function(j,et){return this._cbs[j]||(this._cbs[j]=[]),this._cbs[j].push(et),(function(){this.removeEventListener(j,et)}).bind(this)},removeEventListener:function(j,et){if(!et)this._cbs[j]=null;else if(this._cbs[j]){for(var tt=0,rt=this._cbs[j].length;tt<rt;)this._cbs[j][tt]===et&&(this._cbs[j].splice(tt,1),tt-=1,rt-=1),tt+=1;this._cbs[j].length||(this._cbs[j]=null)}}};var markerParser=function(){function _(j){for(var et=j.split(`\r 708`),tt={},rt,nt=0,it=0;it<et.length;it+=1)rt=et[it].split(":"),rt.length===2&&(tt[rt[0]]=rt[1].trim(),nt+=1);if(nt===0)throw new Error;return tt}return function(j){for(var et=[],tt=0;tt<j.length;tt+=1){var rt=j[tt],nt={time:rt.tm,duration:rt.dr};try{nt.payload=JSON.parse(j[tt].cm)}catch{try{nt.payload=_(j[tt].cm)}catch{nt.payload={name:j[tt].cm}}}et.push(nt)}return et}}(),ProjectInterface=function(){function _(j){this.compositions.push(j)}return function(){function j(et){for(var tt=0,rt=this.compositions.length;tt<rt;){if(this.compositions[tt].data&&this.compositions[tt].data.nm===et)return this.compositions[tt].prepareFrame&&this.compositions[tt].data.xt&&this.compositions[tt].prepareFrame(this.currentFrame),this.compositions[tt].compInterface;tt+=1}return null}return j.compositions=[],j.currentFrame=0,j.registerComposition=_,j}}(),renderers={},registerRenderer=function(j,et){renderers[j]=et};function getRenderer(_){return renderers[_]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var _ in renderers)if(renderers[_])return _;return""}function _typeof$4(_){"@babel/helpers - typeof";return _typeof$4=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$4(_)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(_){(_.wrapper||_.container)&&(this.wrapper=_.wrapper||_.container);var j="svg";_.animType?j=_.animType:_.renderer&&(j=_.renderer);var et=getRenderer(j);this.renderer=new et(this,_.rendererSettings),this.imagePreloader.setCacheType(j,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=j,_.loop===""||_.loop===null||_.loop===void 0||_.loop===!0?this.loop=!0:_.loop===!1?this.loop=!1:this.loop=parseInt(_.loop,10),this.autoplay="autoplay"in _?_.autoplay:!0,this.name=_.name?_.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(_,"autoloadSegments")?_.autoloadSegments:!0,this.assetsPath=_.assetsPath,this.initialSegment=_.initialSegment,_.audioFactory&&this.audioController.setAudioFactory(_.audioFactory),_.animationData?this.setupAnimation(_.animationData):_.path&&(_.path.lastIndexOf("\\")!==-1?this.path=_.path.substr(0,_.path.lastIndexOf("\\")+1):this.path=_.path.substr(0,_.path.lastIndexOf("/")+1),this.fileName=_.path.substr(_.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(_.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(_){dataManager.completeAnimation(_,this.configAnimation)}
vendor: 1,061 bytes, line 708
708,AnimationItem.prototype.setData=function(_,j){j&&_typeof$4(j)!=="object"&&(j=JSON.parse(j));var et={wrapper:_,animationData:j},tt=_.attributes;et.path=tt.getNamedItem("data-animation-path")?tt.getNamedItem("data-animation-path").value:tt.getNamedItem("data-bm-path")?tt.getNamedItem("data-bm-path").value:tt.getNamedItem("bm-path")?tt.getNamedItem("bm-path").value:"",et.animType=tt.getNamedItem("data-anim-type")?tt.getNamedItem("data-anim-type").value:tt.getNamedItem("data-bm-type")?tt.getNamedItem("data-bm-type").value:tt.getNamedItem("bm-type")?tt.getNamedItem("bm-type").value:tt.getNamedItem("data-bm-renderer")?tt.getNamedItem("data-bm-renderer").value:tt.getNamedItem("bm-renderer")?tt.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var rt=tt.getNamedItem("data-anim-loop")?tt.getNamedItem("data-anim-loop").value:tt.getNamedItem("data-bm-loop")?tt.getNamedItem("data-bm-loop").value:tt.getNamedItem("bm-loop")?tt.getNamedItem("bm-loop").value:"";rt==="false"?et.loop=!1:rt==="true"?et.loop=!0:rt!==""&&(et.loop=parseInt(rt,10));
vendor: 174,796 bytes, lines 708-715
708var nt=tt.getNamedItem("data-anim-autoplay")?tt.getNamedItem("data-anim-autoplay").value:tt.getNamedItem("data-bm-autoplay")?tt.getNamedItem("data-bm-autoplay").value:tt.getNamedItem("bm-autoplay")?tt.getNamedItem("bm-autoplay").value:!0;et.autoplay=nt!=="false",et.name=tt.getNamedItem("data-name")?tt.getNamedItem("data-name").value:tt.getNamedItem("data-bm-name")?tt.getNamedItem("data-bm-name").value:tt.getNamedItem("bm-name")?tt.getNamedItem("bm-name").value:"";var it=tt.getNamedItem("data-anim-prerender")?tt.getNamedItem("data-anim-prerender").value:tt.getNamedItem("data-bm-prerender")?tt.getNamedItem("data-bm-prerender").value:tt.getNamedItem("bm-prerender")?tt.getNamedItem("bm-prerender").value:"";it==="false"&&(et.prerender=!1),et.path?this.setParams(et):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(_){_.op>this.animationData.op&&(this.animationData.op=_.op,this.totalFrames=Math.floor(_.op-this.animationData.ip));var j=this.animationData.layers,et,tt=j.length,rt=_.layers,nt,it=rt.length;for(nt=0;nt<it;nt+=1)for(et=0;et<tt;){if(j[et].id===rt[nt].id){j[et]=rt[nt];break}et+=1}if((_.chars||_.fonts)&&(this.renderer.globalData.fontManager.addChars(_.chars),this.renderer.globalData.fontManager.addFonts(_.fonts,this.renderer.globalData.defs)),_.assets)for(tt=_.assets.length,et=0;et<tt;et+=1)this.animationData.assets.push(_.assets[et]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(_){this.animationData=_;var j=getExpressionsPlugin();j&&j.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var _=this.animationData.segments;if(!_||_.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var j=_.shift();this.timeCompleted=j.time*this.frameRate;var et=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(et,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},AnimationItem.prototype.loadSegments=function(){var _=this.animationData.segments;_||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(_){if(this.renderer)try{this.animationData=_,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(_),_.assets||(_.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(_.assets),this.markers=markerParser(_.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(j){this.triggerConfigError(j)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var _=getExpressionsPlugin();_&&_.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(_,j){var et=typeof _=="number"?_:void 0,tt=typeof j=="number"?j:void 0;this.renderer.updateContainerSize(et,tt)},AnimationItem.prototype.setSubframe=function(_){this.isSubframeEnabled=!!_},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(_){this.triggerRenderFrameError(_)}},AnimationItem.prototype.play=function(_){_&&this.name!==_||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(_){_&&this.name!==_||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(_){_&&this.name!==_||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(_){_&&this.name!==_||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(_){for(var j,et=0;et<this.markers.length;et+=1)if(j=this.markers[et],j.payload&&j.payload.name===_)return j;return null},AnimationItem.prototype.goToAndStop=function(_,j,et){if(!(et&&this.name!==et)){var tt=Number(_);if(isNaN(tt)){var rt=this.getMarkerData(_);rt&&this.goToAndStop(rt.time,!0)}else j?this.setCurrentRawFrameValue(_):this.setCurrentRawFrameValue(_*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(_,j,et){if(!(et&&this.name!==et)){var tt=Number(_);if(isNaN(tt)){var rt=this.getMarkerData(_);rt&&(rt.duration?this.playSegments([rt.time,rt.time+rt.duration],!0):this.goToAndStop(rt.time,!0))}else this.goToAndStop(tt,j,et);this.play()}},AnimationItem.prototype.advanceTime=function(_){if(!(this.isPaused===!0||this.isLoaded===!1)){var j=this.currentRawFrame+_*this.frameModifier,et=!1;j>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(j>this.totalFrames?j%this.totalFrames:0)||(et=!0,j=this.totalFrames-1):j>=this.totalFrames?(this.playCount+=1,this.checkSegments(j%this.totalFrames)||(this.setCurrentRawFrameValue(j%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(j):j<0?this.checkSegments(j%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+j%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(et=!0,j=0)):this.setCurrentRawFrameValue(j),et&&(this.setCurrentRawFrameValue(j),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(_,j){this.playCount=0,_[1]<_[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=_[0]-_[1],this.timeCompleted=this.totalFrames,this.firstFrame=_[1],this.setCurrentRawFrameValue(this.totalFrames-.001-j)):_[1]>_[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=_[1]-_[0],this.timeCompleted=this.totalFrames,this.firstFrame=_[0],this.setCurrentRawFrameValue(.001+j)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(_,j){var et=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<_?et=_:this.currentRawFrame+this.firstFrame>j&&(et=j-_)),this.firstFrame=_,this.totalFrames=j-_,this.timeCompleted=this.totalFrames,et!==-1&&this.goToAndStop(et,!0)},AnimationItem.prototype.playSegments=function(_,j){if(j&&(this.segments.length=0),_typeof$4(_[0])==="object"){var et,tt=_.length;for(et=0;et<tt;et+=1)this.segments.push(_[et])}else this.segments.push(_);this.segments.length&&j&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(_){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),_&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(_){return this.segments.length?(this.adjustSegment(this.segments.shift(),_),!0):!1},AnimationItem.prototype.destroy=function(_){_&&this.name!==_||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(_){this.currentRawFrame=_,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(_){this.playSpeed=_,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(_){this.playDirection=_<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(_){this.loop=_},AnimationItem.prototype.setVolume=function(_,j){j&&this.name!==j||this.audioController.setVolume(_)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(_){_&&this.name!==_||this.audioController.mute()},AnimationItem.prototype.unmute=function(_){_&&this.name!==_||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(_){var j="";if(_.e)j=_.p;else if(this.assetsPath){var et=_.p;et.indexOf("images/")!==-1&&(et=et.split("/")[1]),j=this.assetsPath+et}else j=this.path,j+=_.u?_.u:"",j+=_.p;return j},AnimationItem.prototype.getAssetData=function(_){for(var j=0,et=this.assets.length;j<et;){if(_===this.assets[j].id)return this.assets[j];j+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(_){return _?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(_,j,et){try{var tt=this.renderer.getElementByPath(_);tt.updateDocumentData(j,et)}catch{}},AnimationItem.prototype.trigger=function(_){if(this._cbs&&this._cbs[_])switch(_){case"enterFrame":this.triggerEvent(_,new BMEnterFrameEvent(_,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(_,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(_,new BMCompleteLoopEvent(_,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(_,new BMCompleteEvent(_,this.frameMult));break;case"segmentStart":this.triggerEvent(_,new BMSegmentStartEvent(_,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(_,new BMDestroyEvent(_,this));break;default:this.triggerEvent(_)}_==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(_,this.currentFrame,this.totalFrames,this.frameMult)),_==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(_,this.loop,this.playCount,this.frameMult)),_==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(_,this.frameMult)),_==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(_,this.firstFrame,this.totalFrames)),_==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(_,this))},AnimationItem.prototype.triggerRenderFrameError=function(_){var j=new BMRenderFrameErrorEvent(_,this.currentFrame);this.triggerEvent("error",j),this.onError&&this.onError.call(this,j)},AnimationItem.prototype.triggerConfigError=function(_){var j=new BMConfigErrorEvent(_,this.currentFrame);this.triggerEvent("error",j),this.onError&&this.onError.call(this,j)};var animationManager=function(){var _={},j=[],et=0,tt=0,rt=0,nt=!0,it=!1;function st(At){for(var Tt=0,kt=At.target;Tt<tt;)j[Tt].animation===kt&&(j.splice(Tt,1),Tt-=1,tt-=1,kt.isPaused||ct()),Tt+=1}function at(At,Tt){if(!At)return null;for(var kt=0;kt<tt;){if(j[kt].elem===At&&j[kt].elem!==null)return j[kt].animation;kt+=1}var St=new AnimationItem;return ut(St,At),St.setData(At,Tt),St}function ot(){var At,Tt=j.length,kt=[];for(At=0;At<Tt;At+=1)kt.push(j[At].animation);return kt}function lt(){rt+=1,Rt()}function ct(){rt-=1}function ut(At,Tt){At.addEventListener("destroy",st),At.addEventListener("_active",lt),At.addEventListener("_idle",ct),j.push({elem:Tt,animation:At}),tt+=1}function dt(At){var Tt=new AnimationItem;return ut(Tt,null),Tt.setParams(At),Tt}function ht(At,Tt){var kt;for(kt=0;kt<tt;kt+=1)j[kt].animation.setSpeed(At,Tt)}function pt(At,Tt){var kt;for(kt=0;kt<tt;kt+=1)j[kt].animation.setDirection(At,Tt)}function gt(At){var Tt;for(Tt=0;Tt<tt;Tt+=1)j[Tt].animation.play(At)}function ft(At){var Tt=At-et,kt;for(kt=0;kt<tt;kt+=1)j[kt].animation.advanceTime(Tt);et=At,rt&&!it?window.requestAnimationFrame(ft):nt=!0}function mt(At){et=At,window.requestAnimationFrame(ft)}function xt(At){var Tt;for(Tt=0;Tt<tt;Tt+=1)j[Tt].animation.pause(At)}function yt(At,Tt,kt){var St;for(St=0;St<tt;St+=1)j[St].animation.goToAndStop(At,Tt,kt)}function vt(At){var Tt;for(Tt=0;Tt<tt;Tt+=1)j[Tt].animation.stop(At)}function bt(At){var Tt;for(Tt=0;Tt<tt;Tt+=1)j[Tt].animation.togglePause(At)}function Et(At){var Tt;for(Tt=tt-1;Tt>=0;Tt-=1)j[Tt].animation.destroy(At)}function _t(At,Tt,kt){var St=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),Pt,$t=St.length;for(Pt=0;Pt<$t;Pt+=1)kt&&St[Pt].setAttribute("data-bm-type",kt),at(St[Pt],At);if(Tt&&$t===0){kt||(kt="svg");var Nt=document.getElementsByTagName("body")[0];Nt.innerText="";var Mt=createTag("div");Mt.style.width="100%",Mt.style.height="100%",Mt.setAttribute("data-bm-type",kt),Nt.appendChild(Mt),at(Mt,At)}}function wt(){var At;for(At=0;At<tt;At+=1)j[At].animation.resize()}function Rt(){!it&&rt&&nt&&(window.requestAnimationFrame(mt),nt=!1)}function Ct(){it=!0}function jt(){it=!1,Rt()}function Dt(At,Tt){var kt;for(kt=0;kt<tt;kt+=1)j[kt].animation.setVolume(At,Tt)}function It(At){var Tt;for(Tt=0;Tt<tt;Tt+=1)j[Tt].animation.mute(At)}function Ot(At){var Tt;for(Tt=0;Tt<tt;Tt+=1)j[Tt].animation.unmute(At)}return _.registerAnimation=at,_.loadAnimation=dt,_.setSpeed=ht,_.setDirection=pt,_.play=gt,_.pause=xt,_.stop=vt,_.togglePause=bt,_.searchAnimations=_t,_.resize=wt,_.goToAndStop=yt,_.destroy=Et,_.freeze=Ct,_.unfreeze=jt,_.setVolume=Dt,_.mute=It,_.unmute=Ot,_.getRegisteredAnimations=ot,_}(),BezierFactory=function(){var _={};_.getBezierEasing=et;var j={};function et(mt,xt,yt,vt,bt){var Et=bt||("bez_"+mt+"_"+xt+"_"+yt+"_"+vt).replace(/\./g,"p");if(j[Et])return j[Et];var _t=new ft([mt,xt,yt,vt]);return j[Et]=_t,_t}var tt=4,rt=.001,nt=1e-7,it=10,st=11,at=1/(st-1),ot=typeof Float32Array=="function";function lt(mt,xt){return 1-3*xt+3*mt}function ct(mt,xt){return 3*xt-6*mt}function ut(mt){return 3*mt}function dt(mt,xt,yt){return((lt(xt,yt)*mt+ct(xt,yt))*mt+ut(xt))*mt}function ht(mt,xt,yt){return 3*lt(xt,yt)*mt*mt+2*ct(xt,yt)*mt+ut(xt)}function pt(mt,xt,yt,vt,bt){var Et,_t,wt=0;do _t=xt+(yt-xt)/2,Et=dt(_t,vt,bt)-mt,Et>0?yt=_t:xt=_t;while(Math.abs(Et)>nt&&++wt<it);return _t}function gt(mt,xt,yt,vt){for(var bt=0;bt<tt;++bt){var Et=ht(xt,yt,vt);if(Et===0)return xt;var _t=dt(xt,yt,vt)-mt;xt-=_t/Et}return xt}function ft(mt){this._p=mt,this._mSampleValues=ot?new Float32Array(st):new Array(st),this._precomputed=!1,this.get=this.get.bind(this)}return ft.prototype={get:function(xt){var yt=this._p[0],vt=this._p[1],bt=this._p[2],Et=this._p[3];return this._precomputed||this._precompute(),yt===vt&&bt===Et?xt:xt===0?0:xt===1?1:dt(this._getTForX(xt),vt,Et)},_precompute:function(){var xt=this._p[0],yt=this._p[1],vt=this._p[2],bt=this._p[3];this._precomputed=!0,(xt!==yt||vt!==bt)&&this._calcSampleValues()},_calcSampleValues:function(){for(var xt=this._p[0],yt=this._p[2],vt=0;vt<st;++vt)this._mSampleValues[vt]=dt(vt*at,xt,yt)},_getTForX:function(xt){for(var yt=this._p[0],vt=this._p[2],bt=this._mSampleValues,Et=0,_t=1,wt=st-1;_t!==wt&&bt[_t]<=xt;++_t)Et+=at;--_t;var Rt=(xt-bt[_t])/(bt[_t+1]-bt[_t]),Ct=Et+Rt*at,jt=ht(Ct,yt,vt);return jt>=rt?gt(xt,Ct,yt,vt):jt===0?Ct:pt(xt,Et,Et+at,yt,vt)}},_}(),pooling=function(){function _(j){return j.concat(createSizedArray(j.length))}return{double:_}}(),poolFactory=function(){return function(_,j,et){var tt=0,rt=_,nt=createSizedArray(rt),it={newElement:st,release:at};function st(){var ot;return tt?(tt-=1,ot=nt[tt]):ot=j(),ot}function at(ot){tt===rt&&(nt=pooling.double(nt),rt*=2),et&&et(ot),nt[tt]=ot,tt+=1}return it}}(),bezierLengthPool=function(){function _(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,_)}(),segmentsLengthPool=function(){function _(){return{lengths:[],totalLength:0}}function j(et){var tt,rt=et.lengths.length;for(tt=0;tt<rt;tt+=1)bezierLengthPool.release(et.lengths[tt]);et.lengths.length=0}return poolFactory(8,_,j)}();function bezFunction(){var _=Math;function j(ut,dt,ht,pt,gt,ft){var mt=ut*pt+dt*gt+ht*ft-gt*pt-ft*ut-ht*dt;return mt>-.001&&mt<.001}function et(ut,dt,ht,pt,gt,ft,mt,xt,yt){if(ht===0&&ft===0&&yt===0)return j(ut,dt,pt,gt,mt,xt);var vt=_.sqrt(_.pow(pt-ut,2)+_.pow(gt-dt,2)+_.pow(ft-ht,2)),bt=_.sqrt(_.pow(mt-ut,2)+_.pow(xt-dt,2)+_.pow(yt-ht,2)),Et=_.sqrt(_.pow(mt-pt,2)+_.pow(xt-gt,2)+_.pow(yt-ft,2)),_t;return vt>bt?vt>Et?_t=vt-bt-Et:_t=Et-bt-vt:Et>bt?_t=Et-bt-vt:_t=bt-vt-Et,_t>-1e-4&&_t<1e-4}var tt=function(){return function(ut,dt,ht,pt){var gt=getDefaultCurveSegments(),ft,mt,xt,yt,vt,bt=0,Et,_t=[],wt=[],Rt=bezierLengthPool.newElement();for(xt=ht.length,ft=0;ft<gt;ft+=1){for(vt=ft/(gt-1),Et=0,mt=0;mt<xt;mt+=1)yt=bmPow(1-vt,3)*ut[mt]+3*bmPow(1-vt,2)*vt*ht[mt]+3*(1-vt)*bmPow(vt,2)*pt[mt]+bmPow(vt,3)*dt[mt],_t[mt]=yt,wt[mt]!==null&&(Et+=bmPow(_t[mt]-wt[mt],2)),wt[mt]=_t[mt];Et&&(Et=bmSqrt(Et),bt+=Et),Rt.percents[ft]=vt,Rt.lengths[ft]=bt}return Rt.addedLength=bt,Rt}}();function rt(ut){var dt=segmentsLengthPool.newElement(),ht=ut.c,pt=ut.v,gt=ut.o,ft=ut.i,mt,xt=ut._length,yt=dt.lengths,vt=0;for(mt=0;mt<xt-1;mt+=1)yt[mt]=tt(pt[mt],pt[mt+1],gt[mt],ft[mt+1]),vt+=yt[mt].addedLength;return ht&&xt&&(yt[mt]=tt(pt[mt],pt[0],gt[mt],ft[0]),vt+=yt[mt].addedLength),dt.totalLength=vt,dt}function nt(ut){this.segmentLength=0,this.points=new Array(ut)}function it(ut,dt){this.partialLength=ut,this.point=dt}var st=function(){var ut={};return function(dt,ht,pt,gt){var ft=(dt[0]+"_"+dt[1]+"_"+ht[0]+"_"+ht[1]+"_"+pt[0]+"_"+pt[1]+"_"+gt[0]+"_"+gt[1]).replace(/\./g,"p");if(!ut[ft]){var mt=getDefaultCurveSegments(),xt,yt,vt,bt,Et,_t=0,wt,Rt,Ct=null;dt.length===2&&(dt[0]!==ht[0]||dt[1]!==ht[1])&&j(dt[0],dt[1],ht[0],ht[1],dt[0]+pt[0],dt[1]+pt[1])&&j(dt[0],dt[1],ht[0],ht[1],ht[0]+gt[0],ht[1]+gt[1])&&(mt=2);var jt=new nt(mt);for(vt=pt.length,xt=0;xt<mt;xt+=1){for(Rt=createSizedArray(vt),Et=xt/(mt-1),wt=0,yt=0;yt<vt;yt+=1)bt=bmPow(1-Et,3)*dt[yt]+3*bmPow(1-Et,2)*Et*(dt[yt]+pt[yt])+3*(1-Et)*bmPow(Et,2)*(ht[yt]+gt[yt])+bmPow(Et,3)*ht[yt],Rt[yt]=bt,Ct!==null&&(wt+=bmPow(Rt[yt]-Ct[yt],2));wt=bmSqrt(wt),_t+=wt,jt.points[xt]=new it(wt,Rt),Ct=Rt}jt.segmentLength=_t,ut[ft]=jt}return ut[ft]}}();function at(ut,dt){var ht=dt.percents,pt=dt.lengths,gt=ht.length,ft=bmFloor((gt-1)*ut),mt=ut*dt.addedLength,xt=0;if(ft===gt-1||ft===0||mt===pt[ft])return ht[ft];for(var yt=pt[ft]>mt?-1:1,vt=!0;vt;)if(pt[ft]<=mt&&pt[ft+1]>mt?(xt=(mt-pt[ft])/(pt[ft+1]-pt[ft]),vt=!1):ft+=yt,ft<0||ft>=gt-1){if(ft===gt-1)return ht[ft];vt=!1}return ht[ft]+(ht[ft+1]-ht[ft])*xt}function ot(ut,dt,ht,pt,gt,ft){var mt=at(gt,ft),xt=1-mt,yt=_.round((xt*xt*xt*ut[0]+(mt*xt*xt+xt*mt*xt+xt*xt*mt)*ht[0]+(mt*mt*xt+xt*mt*mt+mt*xt*mt)*pt[0]+mt*mt*mt*dt[0])*1e3)/1e3,vt=_.round((xt*xt*xt*ut[1]+(mt*xt*xt+xt*mt*xt+xt*xt*mt)*ht[1]+(mt*mt*xt+xt*mt*mt+mt*xt*mt)*pt[1]+mt*mt*mt*dt[1])*1e3)/1e3;return[yt,vt]}var lt=createTypedArray("float32",8);function ct(ut,dt,ht,pt,gt,ft,mt){gt<0?gt=0:gt>1&&(gt=1);var xt=at(gt,mt);ft=ft>1?1:ft;var yt=at(ft,mt),vt,bt=ut.length,Et=1-xt,_t=1-yt,wt=Et*Et*Et,Rt=xt*Et*Et*3,Ct=xt*xt*Et*3,jt=xt*xt*xt,Dt=Et*Et*_t,It=xt*Et*_t+Et*xt*_t+Et*Et*yt,Ot=xt*xt*_t+Et*xt*yt+xt*Et*yt,At=xt*xt*yt,Tt=Et*_t*_t,kt=xt*_t*_t+Et*yt*_t+Et*_t*yt,St=xt*yt*_t+Et*yt*yt+xt*_t*yt,Pt=xt*yt*yt,$t=_t*_t*_t,Nt=yt*_t*_t+_t*yt*_t+_t*_t*yt,Mt=yt*yt*_t+_t*yt*yt+yt*_t*yt,Vt=yt*yt*yt;for(vt=0;vt<bt;vt+=1)lt[vt*4]=_.round((wt*ut[vt]+Rt*ht[vt]+Ct*pt[vt]+jt*dt[vt])*1e3)/1e3,lt[vt*4+1]=_.round((Dt*ut[vt]+It*ht[vt]+Ot*pt[vt]+At*dt[vt])*1e3)/1e3,lt[vt*4+2]=_.round((Tt*ut[vt]+kt*ht[vt]+St*pt[vt]+Pt*dt[vt])*1e3)/1e3,lt[vt*4+3]=_.round(($t*ut[vt]+Nt*ht[vt]+Mt*pt[vt]+Vt*dt[vt])*1e3)/1e3;return lt}return{getSegmentsLength:rt,getNewSegment:ct,getPointInSegment:ot,buildBezierData:st,pointOnLine2D:j,pointOnLine3D:et}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(_,j){var et=this.offsetTime,tt;this.propType==="multidimensional"&&(tt=createTypedArray("float32",this.pv.length));for(var rt=j.lastIndex,nt=rt,it=this.keyframes.length-1,st=!0,at,ot,lt;st;){if(at=this.keyframes[nt],ot=this.keyframes[nt+1],nt===it-1&&_>=ot.t-et){at.h&&(at=ot),rt=0;break}if(ot.t-et>_){rt=nt;break}nt<it-1?nt+=1:(rt=0,st=!1)}lt=this.keyframesMetadata[nt]||{};var ct,ut,dt,ht,pt,gt,ft=ot.t-et,mt=at.t-et,xt;if(at.to){lt.bezierData||(lt.bezierData=bez.buildBezierData(at.s,ot.s||at.e,at.to,at.ti));var yt=lt.bezierData;if(_>=ft||_<mt){var vt=_>=ft?yt.points.length-1:0;for(ut=yt.points[vt].point.length,ct=0;ct<ut;ct+=1)tt[ct]=yt.points[vt].point[ct]}else{lt.__fnct?gt=lt.__fnct:(gt=BezierFactory.getBezierEasing(at.o.x,at.o.y,at.i.x,at.i.y,at.n).get,lt.__fnct=gt),dt=gt((_-mt)/(ft-mt));var bt=yt.segmentLength*dt,Et,_t=j.lastFrame<_&&j._lastKeyframeIndex===nt?j._lastAddedLength:0;for(pt=j.lastFrame<_&&j._lastKeyframeIndex===nt?j._lastPoint:0,st=!0,ht=yt.points.length;st;){if(_t+=yt.points[pt].partialLength,bt===0||dt===0||pt===yt.points.length-1){for(ut=yt.points[pt].point.length,ct=0;ct<ut;ct+=1)tt[ct]=yt.points[pt].point[ct];break}else if(bt>=_t&&bt<_t+yt.points[pt+1].partialLength){for(Et=(bt-_t)/yt.points[pt+1].partialLength,ut=yt.points[pt].point.length,ct=0;ct<ut;ct+=1)tt[ct]=yt.points[pt].point[ct]+(yt.points[pt+1].point[ct]-yt.points[pt].point[ct])*Et;break}pt<ht-1?pt+=1:st=!1}j._lastPoint=pt,j._lastAddedLength=_t-yt.points[pt].partialLength,j._lastKeyframeIndex=nt}}else{var wt,Rt,Ct,jt,Dt;if(it=at.s.length,xt=ot.s||at.e,this.sh&&at.h!==1)if(_>=ft)tt[0]=xt[0],tt[1]=xt[1],tt[2]=xt[2];else if(_<=mt)tt[0]=at.s[0],tt[1]=at.s[1],tt[2]=at.s[2];else{var It=createQuaternion(at.s),Ot=createQuaternion(xt),At=(_-mt)/(ft-mt);quaternionToEuler(tt,slerp(It,Ot,At))}else for(nt=0;nt<it;nt+=1)at.h!==1&&(_>=ft?dt=1:_<mt?dt=0:(at.o.x.constructor===Array?(lt.__fnct||(lt.__fnct=[]),lt.__fnct[nt]?gt=lt.__fnct[nt]:(wt=at.o.x[nt]===void 0?at.o.x[0]:at.o.x[nt],Rt=at.o.y[nt]===void 0?at.o.y[0]:at.o.y[nt],Ct=at.i.x[nt]===void 0?at.i.x[0]:at.i.x[nt],jt=at.i.y[nt]===void 0?at.i.y[0]:at.i.y[nt],gt=BezierFactory.getBezierEasing(wt,Rt,Ct,jt).get,lt.__fnct[nt]=gt)):lt.__fnct?gt=lt.__fnct:(wt=at.o.x,Rt=at.o.y,Ct=at.i.x,jt=at.i.y,gt=BezierFactory.getBezierEasing(wt,Rt,Ct,jt).get,at.keyframeMetadata=gt),dt=gt((_-mt)/(ft-mt)))),xt=ot.s||at.e,Dt=at.h===1?at.s[nt]:at.s[nt]+(xt[nt]-at.s[nt])*dt,this.propType==="multidimensional"?tt[nt]=Dt:tt=Dt}return j.lastIndex=rt,tt}function slerp(_,j,et){var tt=[],rt=_[0],nt=_[1],it=_[2],st=_[3],at=j[0],ot=j[1],lt=j[2],ct=j[3],ut,dt,ht,pt,gt;return dt=rt*at+nt*ot+it*lt+st*ct,dt<0&&(dt=-dt,at=-at,ot=-ot,lt=-lt,ct=-ct),1-dt>1e-6?(ut=Math.acos(dt),ht=Math.sin(ut),pt=Math.sin((1-et)*ut)/ht,gt=Math.sin(et*ut)/ht):(pt=1-et,gt=et),tt[0]=pt*rt+gt*at,tt[1]=pt*nt+gt*ot,tt[2]=pt*it+gt*lt,tt[3]=pt*st+gt*ct,tt}function quaternionToEuler(_,j){var et=j[0],tt=j[1],rt=j[2],nt=j[3],it=Math.atan2(2*tt*nt-2*et*rt,1-2*tt*tt-2*rt*rt),st=Math.asin(2*et*tt+2*rt*nt),at=Math.atan2(2*et*nt-2*tt*rt,1-2*et*et-2*rt*rt);_[0]=it/degToRads,_[1]=st/degToRads,_[2]=at/degToRads}function createQuaternion(_){var j=_[0]*degToRads,et=_[1]*degToRads,tt=_[2]*degToRads,rt=Math.cos(j/2),nt=Math.cos(et/2),it=Math.cos(tt/2),st=Math.sin(j/2),at=Math.sin(et/2),ot=Math.sin(tt/2),lt=rt*nt*it-st*at*ot,ct=st*at*it+rt*nt*ot,ut=st*nt*it+rt*at*ot,dt=rt*at*it-st*nt*ot;return[ct,ut,dt,lt]}function getValueAtCurrentTime(){var _=this.comp.renderedFrame-this.offsetTime,j=this.keyframes[0].t-this.offsetTime,et=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(_===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=et&&_>=et||this._caching.lastFrame<j&&_<j))){this._caching.lastFrame>=_&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var tt=this.interpolateValue(_,this._caching);this.pv=tt}return this._caching.lastFrame=_,this.pv}function setVValue(_){var j;if(this.propType==="unidimensional")j=_*this.mult,mathAbs(this.v-j)>1e-5&&(this.v=j,this._mdf=!0);else for(var et=0,tt=this.v.length;et<tt;)j=_[et]*this.mult,mathAbs(this.v[et]-j)>1e-5&&(this.v[et]=j,this._mdf=!0),et+=1}function processEffectsSequence(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var _,j=this.effectsSequence.length,et=this.kf?this.pv:this.data.k;for(_=0;_<j;_+=1)et=this.effectsSequence[_](et);this.setVValue(et),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(_){this.effectsSequence.push(_),this.container.addDynamicProperty(this)}function ValueProperty(_,j,et,tt){this.propType="unidimensional",this.mult=et||1,this.data=j,this.v=et?j.k*et:j.k,this.pv=j.k,this._mdf=!1,this.elem=_,this.container=tt,this.comp=_.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(_,j,et,tt){this.propType="multidimensional",this.mult=et||1,this.data=j,this._mdf=!1,this.elem=_,this.container=tt,this.comp=_.comp,this.k=!1,this.kf=!1,this.frameId=-1;var rt,nt=j.k.length;for(this.v=createTypedArray("float32",nt),this.pv=createTypedArray("float32",nt),this.vel=createTypedArray("float32",nt),rt=0;rt<nt;rt+=1)this.v[rt]=j.k[rt]*this.mult,this.pv[rt]=j.k[rt];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(_,j,et,tt){this.propType="unidimensional",this.keyframes=j.k,this.keyframesMetadata=[],this.offsetTime=_.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=j,this.mult=et||1,this.elem=_,this.container=tt,this.comp=_.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(_,j,et,tt){this.propType="multidimensional";var rt,nt=j.k.length,it,st,at,ot;for(rt=0;rt<nt-1;rt+=1)j.k[rt].to&&j.k[rt].s&&j.k[rt+1]&&j.k[rt+1].s&&(it=j.k[rt].s,st=j.k[rt+1].s,at=j.k[rt].to,ot=j.k[rt].ti,(it.length===2&&!(it[0]===st[0]&&it[1]===st[1])&&bez.pointOnLine2D(it[0],it[1],st[0],st[1],it[0]+at[0],it[1]+at[1])&&bez.pointOnLine2D(it[0],it[1],st[0],st[1],st[0]+ot[0],st[1]+ot[1])||it.length===3&&!(it[0]===st[0]&&it[1]===st[1]&&it[2]===st[2])&&bez.pointOnLine3D(it[0],it[1],it[2],st[0],st[1],st[2],it[0]+at[0],it[1]+at[1],it[2]+at[2])&&bez.pointOnLine3D(it[0],it[1],it[2],st[0],st[1],st[2],st[0]+ot[0],st[1]+ot[1],st[2]+ot[2]))&&(j.k[rt].to=null,j.k[rt].ti=null),it[0]===st[0]&&it[1]===st[1]&&at[0]===0&&at[1]===0&&ot[0]===0&&ot[1]===0&&(it.length===2||it[2]===st[2]&&at[2]===0&&ot[2]===0)&&(j.k[rt].to=null,j.k[rt].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=j,this.keyframes=j.k,this.keyframesMetadata=[],this.offsetTime=_.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=et||1,this.elem=_,this.container=tt,this.comp=_.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var lt=j.k[0].s.length;for(this.v=createTypedArray("float32",lt),this.pv=createTypedArray("float32",lt),rt=0;rt<lt;rt+=1)this.v[rt]=initFrame,this.pv[rt]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",lt)},this.addEffect=addEffect}var PropertyFactory=function(){function _(et,tt,rt,nt,it){tt.sid&&(tt=et.globalData.slotManager.getProp(tt));var st;if(!tt.k.length)st=new ValueProperty(et,tt,nt,it);else if(typeof tt.k[0]=="number")st=new MultiDimensionalProperty(et,tt,nt,it);else switch(rt){case 0:st=new KeyframedValueProperty(et,tt,nt,it);break;case 1:st=new KeyframedMultidimensionalProperty(et,tt,nt,it);break}return st.effectsSequence.length&&it.addDynamicProperty(st),st}var j={getProp:_};return j}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(j){this.dynamicProperties.indexOf(j)===-1&&(this.dynamicProperties.push(j),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var j,et=this.dynamicProperties.length;for(j=0;j<et;j+=1)this.dynamicProperties[j].getValue(),this.dynamicProperties[j]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(j){this.container=j,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function _(){return createTypedArray("float32",2)}return poolFactory(8,_)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(_,j){this.c=_,this.setLength(j);for(var et=0;et<j;)this.v[et]=pointPool.newElement(),this.o[et]=pointPool.newElement(),this.i[et]=pointPool.newElement(),et+=1},ShapePath.prototype.setLength=function(_){for(;this._maxLength<_;)this.doubleArrayLength();this._length=_},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(_,j,et,tt,rt){var nt;switch(this._length=Math.max(this._length,tt+1),this._length>=this._maxLength&&this.doubleArrayLength(),et){case"v":nt=this.v;break;case"i":nt=this.i;break;case"o":nt=this.o;break;default:nt=[];break}(!nt[tt]||nt[tt]&&!rt)&&(nt[tt]=pointPool.newElement()),nt[tt][0]=_,nt[tt][1]=j},ShapePath.prototype.setTripleAt=function(_,j,et,tt,rt,nt,it,st){this.setXYAt(_,j,"v",it,st),this.setXYAt(et,tt,"o",it,st),this.setXYAt(rt,nt,"i",it,st)},ShapePath.prototype.reverse=function(){var _=new ShapePath;_.setPathData(this.c,this._length);var j=this.v,et=this.o,tt=this.i,rt=0;this.c&&(_.setTripleAt(j[0][0],j[0][1],tt[0][0],tt[0][1],et[0][0],et[0][1],0,!1),rt=1);var nt=this._length-1,it=this._length,st;for(st=rt;st<it;st+=1)_.setTripleAt(j[nt][0],j[nt][1],tt[nt][0],tt[nt][1],et[nt][0],et[nt][1],st,!1),nt-=1;return _},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function _(){return new ShapePath}function j(rt){var nt=rt._length,it;for(it=0;it<nt;it+=1)pointPool.release(rt.v[it]),pointPool.release(rt.i[it]),pointPool.release(rt.o[it]),rt.v[it]=null,rt.i[it]=null,rt.o[it]=null;rt._length=0,rt.c=!1}function et(rt){var nt=tt.newElement(),it,st=rt._length===void 0?rt.v.length:rt._length;for(nt.setLength(st),nt.c=rt.c,it=0;it<st;it+=1)nt.setTripleAt(rt.v[it][0],rt.v[it][1],rt.o[it][0],rt.o[it][1],rt.i[it][0],rt.i[it][1],it);return nt}var tt=poolFactory(4,_,j);return tt.clone=et,tt}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(_){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=_,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var _;for(_=0;_<this._length;_+=1)shapePool.release(this.shapes[_]);this._length=0};var shapeCollectionPool=function(){var _={newShapeCollection:rt,release:nt},j=0,et=4,tt=createSizedArray(et);function rt(){var it;return j?(j-=1,it=tt[j]):it=new ShapeCollection,it}function nt(it){var st,at=it._length;for(st=0;st<at;st+=1)shapePool.release(it.shapes[st]);it._length=0,j===et&&(tt=pooling.double(tt),et*=2),tt[j]=it,j+=1}return _}(),ShapePropertyFactory=function(){var _=-999999;function j(ft,mt,xt){var yt=xt.lastIndex,vt,bt,Et,_t,wt,Rt,Ct,jt,Dt,It=this.keyframes;if(ft<It[0].t-this.offsetTime)vt=It[0].s[0],Et=!0,yt=0;else if(ft>=It[It.length-1].t-this.offsetTime)vt=It[It.length-1].s?It[It.length-1].s[0]:It[It.length-2].e[0],Et=!0;else{for(var Ot=yt,At=It.length-1,Tt=!0,kt,St,Pt;Tt&&(kt=It[Ot],St=It[Ot+1],!(St.t-this.offsetTime>ft));)Ot<At-1?Ot+=1:Tt=!1;if(Pt=this.keyframesMetadata[Ot]||{},Et=kt.h===1,yt=Ot,!Et){if(ft>=St.t-this.offsetTime)jt=1;else if(ft<kt.t-this.offsetTime)jt=0;else{var $t;Pt.__fnct?$t=Pt.__fnct:($t=BezierFactory.getBezierEasing(kt.o.x,kt.o.y,kt.i.x,kt.i.y).get,Pt.__fnct=$t),jt=$t((ft-(kt.t-this.offsetTime))/(St.t-this.offsetTime-(kt.t-this.offsetTime)))}bt=St.s?St.s[0]:kt.e[0]}vt=kt.s[0]}for(Rt=mt._length,Ct=vt.i[0].length,xt.lastIndex=yt,_t=0;_t<Rt;_t+=1)for(wt=0;wt<Ct;wt+=1)Dt=Et?vt.i[_t][wt]:vt.i[_t][wt]+(bt.i[_t][wt]-vt.i[_t][wt])*jt,mt.i[_t][wt]=Dt,Dt=Et?vt.o[_t][wt]:vt.o[_t][wt]+(bt.o[_t][wt]-vt.o[_t][wt])*jt,mt.o[_t][wt]=Dt,Dt=Et?vt.v[_t][wt]:vt.v[_t][wt]+(bt.v[_t][wt]-vt.v[_t][wt])*jt,mt.v[_t][wt]=Dt}function et(){var ft=this.comp.renderedFrame-this.offsetTime,mt=this.keyframes[0].t-this.offsetTime,xt=this.keyframes[this.keyframes.length-1].t-this.offsetTime,yt=this._caching.lastFrame;return yt!==_&&(yt<mt&&ft<mt||yt>xt&&ft>xt)||(this._caching.lastIndex=yt<ft?this._caching.lastIndex:0,this.interpolateShape(ft,this.pv,this._caching)),this._caching.lastFrame=ft,this.pv}function tt(){this.paths=this.localShapeCollection}function rt(ft,mt){if(ft._length!==mt._length||ft.c!==mt.c)return!1;var xt,yt=ft._length;for(xt=0;xt<yt;xt+=1)if(ft.v[xt][0]!==mt.v[xt][0]||ft.v[xt][1]!==mt.v[xt][1]||ft.o[xt][0]!==mt.o[xt][0]||ft.o[xt][1]!==mt.o[xt][1]||ft.i[xt][0]!==mt.i[xt][0]||ft.i[xt][1]!==mt.i[xt][1])return!1;return!0}function nt(ft){rt(this.v,ft)||(this.v=shapePool.clone(ft),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function it(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var ft;this.kf?ft=this.pv:this.data.ks?ft=this.data.ks.k:ft=this.data.pt.k;var mt,xt=this.effectsSequence.length;for(mt=0;mt<xt;mt+=1)ft=this.effectsSequence[mt](ft);this.setVValue(ft),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function st(ft,mt,xt){this.propType="shape",this.comp=ft.comp,this.container=ft,this.elem=ft,this.data=mt,this.k=!1,this.kf=!1,this._mdf=!1;var yt=xt===3?mt.pt.k:mt.ks.k;this.v=shapePool.clone(yt),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=tt,this.effectsSequence=[]}function at(ft){this.effectsSequence.push(ft),this.container.addDynamicProperty(this)}st.prototype.interpolateShape=j,st.prototype.getValue=it,st.prototype.setVValue=nt,st.prototype.addEffect=at;function ot(ft,mt,xt){this.propType="shape",this.comp=ft.comp,this.elem=ft,this.container=ft,this.offsetTime=ft.data.st,this.keyframes=xt===3?mt.pt.k:mt.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var yt=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,yt),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=_,this.reset=tt,this._caching={lastFrame:_,lastIndex:0},this.effectsSequence=[et.bind(this)]}ot.prototype.getValue=it,ot.prototype.interpolateShape=j,ot.prototype.setVValue=nt,ot.prototype.addEffect=at;var lt=function(){var ft=roundCorner;function mt(xt,yt){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=yt.d,this.elem=xt,this.comp=xt.comp,this.frameId=-1,this.initDynamicPropertyContainer(xt),this.p=PropertyFactory.getProp(xt,yt.p,1,0,this),this.s=PropertyFactory.getProp(xt,yt.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return mt.prototype={reset:tt,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var yt=this.p.v[0],vt=this.p.v[1],bt=this.s.v[0]/2,Et=this.s.v[1]/2,_t=this.d!==3,wt=this.v;wt.v[0][0]=yt,wt.v[0][1]=vt-Et,wt.v[1][0]=_t?yt+bt:yt-bt,wt.v[1][1]=vt,wt.v[2][0]=yt,wt.v[2][1]=vt+Et,wt.v[3][0]=_t?yt-bt:yt+bt,wt.v[3][1]=vt,wt.i[0][0]=_t?yt-bt*ft:yt+bt*ft,wt.i[0][1]=vt-Et,wt.i[1][0]=_t?yt+bt:yt-bt,wt.i[1][1]=vt-Et*ft,wt.i[2][0]=_t?yt+bt*ft:yt-bt*ft,wt.i[2][1]=vt+Et,wt.i[3][0]=_t?yt-bt:yt+bt,wt.i[3][1]=vt+Et*ft,wt.o[0][0]=_t?yt+bt*ft:yt-bt*ft,wt.o[0][1]=vt-Et,wt.o[1][0]=_t?yt+bt:yt-bt,wt.o[1][1]=vt+Et*ft,wt.o[2][0]=_t?yt-bt*ft:yt+bt*ft,wt.o[2][1]=vt+Et,wt.o[3][0]=_t?yt-bt:yt+bt,wt.o[3][1]=vt-Et*ft}},extendPrototype([DynamicPropertyContainer],mt),mt}(),ct=function(){function ft(mt,xt){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=mt,this.comp=mt.comp,this.data=xt,this.frameId=-1,this.d=xt.d,this.initDynamicPropertyContainer(mt),xt.sy===1?(this.ir=PropertyFactory.getProp(mt,xt.ir,0,0,this),this.is=PropertyFactory.getProp(mt,xt.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(mt,xt.pt,0,0,this),this.p=PropertyFactory.getProp(mt,xt.p,1,0,this),this.r=PropertyFactory.getProp(mt,xt.r,0,degToRads,this),this.or=PropertyFactory.getProp(mt,xt.or,0,0,this),this.os=PropertyFactory.getProp(mt,xt.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return ft.prototype={reset:tt,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var xt=Math.floor(this.pt.v)*2,yt=Math.PI*2/xt,vt=!0,bt=this.or.v,Et=this.ir.v,_t=this.os.v,wt=this.is.v,Rt=2*Math.PI*bt/(xt*2),Ct=2*Math.PI*Et/(xt*2),jt,Dt,It,Ot,At=-Math.PI/2;At+=this.r.v;var Tt=this.data.d===3?-1:1;for(this.v._length=0,jt=0;jt<xt;jt+=1){Dt=vt?bt:Et,It=vt?_t:wt,Ot=vt?Rt:Ct;var kt=Dt*Math.cos(At),St=Dt*Math.sin(At),Pt=kt===0&&St===0?0:St/Math.sqrt(kt*kt+St*St),$t=kt===0&&St===0?0:-kt/Math.sqrt(kt*kt+St*St);kt+=+this.p.v[0],St+=+this.p.v[1],this.v.setTripleAt(kt,St,kt-Pt*Ot*It*Tt,St-$t*Ot*It*Tt,kt+Pt*Ot*It*Tt,St+$t*Ot*It*Tt,jt,!0),vt=!vt,At+=yt*Tt}},convertPolygonToPath:function(){var xt=Math.floor(this.pt.v),yt=Math.PI*2/xt,vt=this.or.v,bt=this.os.v,Et=2*Math.PI*vt/(xt*4),_t,wt=-Math.PI*.5,Rt=this.data.d===3?-1:1;for(wt+=this.r.v,this.v._length=0,_t=0;_t<xt;_t+=1){var Ct=vt*Math.cos(wt),jt=vt*Math.sin(wt),Dt=Ct===0&&jt===0?0:jt/Math.sqrt(Ct*Ct+jt*jt),It=Ct===0&&jt===0?0:-Ct/Math.sqrt(Ct*Ct+jt*jt);Ct+=+this.p.v[0],jt+=+this.p.v[1],this.v.setTripleAt(Ct,jt,Ct-Dt*Et*bt*Rt,jt-It*Et*bt*Rt,Ct+Dt*Et*bt*Rt,jt+It*Et*bt*Rt,_t,!0),wt+=yt*Rt}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],ft),ft}(),ut=function(){function ft(mt,xt){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=mt,this.comp=mt.comp,this.frameId=-1,this.d=xt.d,this.initDynamicPropertyContainer(mt),this.p=PropertyFactory.getProp(mt,xt.p,1,0,this),this.s=PropertyFactory.getProp(mt,xt.s,1,0,this),this.r=PropertyFactory.getProp(mt,xt.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return ft.prototype={convertRectToPath:function(){var xt=this.p.v[0],yt=this.p.v[1],vt=this.s.v[0]/2,bt=this.s.v[1]/2,Et=bmMin(vt,bt,this.r.v),_t=Et*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(xt+vt,yt-bt+Et,xt+vt,yt-bt+Et,xt+vt,yt-bt+_t,0,!0),this.v.setTripleAt(xt+vt,yt+bt-Et,xt+vt,yt+bt-_t,xt+vt,yt+bt-Et,1,!0),Et!==0?(this.v.setTripleAt(xt+vt-Et,yt+bt,xt+vt-Et,yt+bt,xt+vt-_t,yt+bt,2,!0),this.v.setTripleAt(xt-vt+Et,yt+bt,xt-vt+_t,yt+bt,xt-vt+Et,yt+bt,3,!0),this.v.setTripleAt(xt-vt,yt+bt-Et,xt-vt,yt+bt-Et,xt-vt,yt+bt-_t,4,!0),this.v.setTripleAt(xt-vt,yt-bt+Et,xt-vt,yt-bt+_t,xt-vt,yt-bt+Et,5,!0),this.v.setTripleAt(xt-vt+Et,yt-bt,xt-vt+Et,yt-bt,xt-vt+_t,yt-bt,6,!0),this.v.setTripleAt(xt+vt-Et,yt-bt,xt+vt-_t,yt-bt,xt+vt-Et,yt-bt,7,!0)):(this.v.setTripleAt(xt-vt,yt+bt,xt-vt+_t,yt+bt,xt-vt,yt+bt,2),this.v.setTripleAt(xt-vt,yt-bt,xt-vt,yt-bt+_t,xt-vt,yt-bt,3))):(this.v.setTripleAt(xt+vt,yt-bt+Et,xt+vt,yt-bt+_t,xt+vt,yt-bt+Et,0,!0),Et!==0?(this.v.setTripleAt(xt+vt-Et,yt-bt,xt+vt-Et,yt-bt,xt+vt-_t,yt-bt,1,!0),this.v.setTripleAt(xt-vt+Et,yt-bt,xt-vt+_t,yt-bt,xt-vt+Et,yt-bt,2,!0),this.v.setTripleAt(xt-vt,yt-bt+Et,xt-vt,yt-bt+Et,xt-vt,yt-bt+_t,3,!0),this.v.setTripleAt(xt-vt,yt+bt-Et,xt-vt,yt+bt-_t,xt-vt,yt+bt-Et,4,!0),this.v.setTripleAt(xt-vt+Et,yt+bt,xt-vt+Et,yt+bt,xt-vt+_t,yt+bt,5,!0),this.v.setTripleAt(xt+vt-Et,yt+bt,xt+vt-_t,yt+bt,xt+vt-Et,yt+bt,6,!0),this.v.setTripleAt(xt+vt,yt+bt-Et,xt+vt,yt+bt-Et,xt+vt,yt+bt-_t,7,!0)):(this.v.setTripleAt(xt-vt,yt-bt,xt-vt+_t,yt-bt,xt-vt,yt-bt,1,!0),this.v.setTripleAt(xt-vt,yt+bt,xt-vt,yt+bt-_t,xt-vt,yt+bt,2,!0),this.v.setTripleAt(xt+vt,yt+bt,xt+vt-_t,yt+bt,xt+vt,yt+bt,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:tt},extendPrototype([DynamicPropertyContainer],ft),ft}();function dt(ft,mt,xt){var yt;if(xt===3||xt===4){var vt=xt===3?mt.pt:mt.ks,bt=vt.k;bt.length?yt=new ot(ft,mt,xt):yt=new st(ft,mt,xt)}else xt===5?yt=new ut(ft,mt):xt===6?yt=new lt(ft,mt):xt===7&&(yt=new ct(ft,mt));return yt.k&&ft.addDynamicProperty(yt),yt}function ht(){return st}function pt(){return ot}var gt={};return gt.getShapeProp=dt,gt.getConstructorFunction=ht,gt.getKeyframedConstructorFunction=pt,gt}();/*! 709 Transformation Matrix v2.0 710 (c) Epistemex 2014-2015 711 www.epistemex.com 712 By Ken Fyrstenberg 713 Contributions by leeoniya. 714 License: MIT, header required. 715 */var Matrix=function(){var _=Math.cos,j=Math.sin,et=Math.tan,tt=Math.round;function rt(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function nt(kt){if(kt===0)return this;var St=_(kt),Pt=j(kt);return this._t(St,-Pt,0,0,Pt,St,0,0,0,0,1,0,0,0,0,1)}function it(kt){if(kt===0)return this;var St=_(kt),Pt=j(kt);return this._t(1,0,0,0,0,St,-Pt,0,0,Pt,St,0,0,0,0,1)}function st(kt){if(kt===0)return this;var St=_(kt),Pt=j(kt);return this._t(St,0,Pt,0,0,1,0,0,-Pt,0,St,0,0,0,0,1)}function at(kt){if(kt===0)return this;var St=_(kt),Pt=j(kt);return this._t(St,-Pt,0,0,Pt,St,0,0,0,0,1,0,0,0,0,1)}function ot(kt,St){return this._t(1,St,kt,1,0,0)}function lt(kt,St){return this.shear(et(kt),et(St))}function ct(kt,St){var Pt=_(St),$t=j(St);return this._t(Pt,$t,0,0,-$t,Pt,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,et(kt),1,0,0,0,0,1,0,0,0,0,1)._t(Pt,-$t,0,0,$t,Pt,0,0,0,0,1,0,0,0,0,1)}function ut(kt,St,Pt){return!Pt&&Pt!==0&&(Pt=1),kt===1&&St===1&&Pt===1?this:this._t(kt,0,0,0,0,St,0,0,0,0,Pt,0,0,0,0,1)}function dt(kt,St,Pt,$t,Nt,Mt,Vt,Ht,Qt,er,ir,Jt,Gt,Kt,Bt,Zt){return this.props[0]=kt,this.props[1]=St,this.props[2]=Pt,this.props[3]=$t,this.props[4]=Nt,this.props[5]=Mt,this.props[6]=Vt,this.props[7]=Ht,this.props[8]=Qt,this.props[9]=er,this.props[10]=ir,this.props[11]=Jt,this.props[12]=Gt,this.props[13]=Kt,this.props[14]=Bt,this.props[15]=Zt,this}function ht(kt,St,Pt){return Pt=Pt||0,kt!==0||St!==0||Pt!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,kt,St,Pt,1):this}function pt(kt,St,Pt,$t,Nt,Mt,Vt,Ht,Qt,er,ir,Jt,Gt,Kt,Bt,Zt){var qt=this.props;if(kt===1&&St===0&&Pt===0&&$t===0&&Nt===0&&Mt===1&&Vt===0&&Ht===0&&Qt===0&&er===0&&ir===1&&Jt===0)return qt[12]=qt[12]*kt+qt[15]*Gt,qt[13]=qt[13]*Mt+qt[15]*Kt,qt[14]=qt[14]*ir+qt[15]*Bt,qt[15]*=Zt,this._identityCalculated=!1,this;var lr=qt[0],ar=qt[1],Yt=qt[2],sr=qt[3],gr=qt[4],Lt=qt[5],Ut=qt[6],Wt=qt[7],or=qt[8],nr=qt[9],tr=qt[10],rr=qt[11],cr=qt[12],xr=qt[13],Pr=qt[14],Dr=qt[15];return qt[0]=lr*kt+ar*Nt+Yt*Qt+sr*Gt,qt[1]=lr*St+ar*Mt+Yt*er+sr*Kt,qt[2]=lr*Pt+ar*Vt+Yt*ir+sr*Bt,qt[3]=lr*$t+ar*Ht+Yt*Jt+sr*Zt,qt[4]=gr*kt+Lt*Nt+Ut*Qt+Wt*Gt,qt[5]=gr*St+Lt*Mt+Ut*er+Wt*Kt,qt[6]=gr*Pt+Lt*Vt+Ut*ir+Wt*Bt,qt[7]=gr*$t+Lt*Ht+Ut*Jt+Wt*Zt,qt[8]=or*kt+nr*Nt+tr*Qt+rr*Gt,qt[9]=or*St+nr*Mt+tr*er+rr*Kt,qt[10]=or*Pt+nr*Vt+tr*ir+rr*Bt,qt[11]=or*$t+nr*Ht+tr*Jt+rr*Zt,qt[12]=cr*kt+xr*Nt+Pr*Qt+Dr*Gt,qt[13]=cr*St+xr*Mt+Pr*er+Dr*Kt,qt[14]=cr*Pt+xr*Vt+Pr*ir+Dr*Bt,qt[15]=cr*$t+xr*Ht+Pr*Jt+Dr*Zt,this._identityCalculated=!1,this}function gt(kt){var St=kt.props;return this.transform(St[0],St[1],St[2],St[3],St[4],St[5],St[6],St[7],St[8],St[9],St[10],St[11],St[12],St[13],St[14],St[15])}function ft(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function mt(kt){for(var St=0;St<16;){if(kt.props[St]!==this.props[St])return!1;St+=1}return!0}function xt(kt){var St;for(St=0;St<16;St+=1)kt.props[St]=this.props[St];return kt}function yt(kt){var St;for(St=0;St<16;St+=1)this.props[St]=kt[St]}function vt(kt,St,Pt){return{x:kt*this.props[0]+St*this.props[4]+Pt*this.props[8]+this.props[12],y:kt*this.props[1]+St*this.props[5]+Pt*this.props[9]+this.props[13],z:kt*this.props[2]+St*this.props[6]+Pt*this.props[10]+this.props[14]}}function bt(kt,St,Pt){return kt*this.props[0]+St*this.props[4]+Pt*this.props[8]+this.props[12]}function Et(kt,St,Pt){return kt*this.props[1]+St*this.props[5]+Pt*this.props[9]+this.props[13]}function _t(kt,St,Pt){return kt*this.props[2]+St*this.props[6]+Pt*this.props[10]+this.props[14]}function wt(){var kt=this.props[0]*this.props[5]-this.props[1]*this.props[4],St=this.props[5]/kt,Pt=-this.props[1]/kt,$t=-this.props[4]/kt,Nt=this.props[0]/kt,Mt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/kt,Vt=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/kt,Ht=new Matrix;return Ht.props[0]=St,Ht.props[1]=Pt,Ht.props[4]=$t,Ht.props[5]=Nt,Ht.props[12]=Mt,Ht.props[13]=Vt,Ht}function Rt(kt){var St=this.getInverseMatrix();return St.applyToPointArray(kt[0],kt[1],kt[2]||0)}function Ct(kt){var St,Pt=kt.length,$t=[];for(St=0;St<Pt;St+=1)$t[St]=Rt(kt[St]);return $t}function jt(kt,St,Pt){var $t=createTypedArray("float32",6);if(this.isIdentity())$t[0]=kt[0],$t[1]=kt[1],$t[2]=St[0],$t[3]=St[1],$t[4]=Pt[0],$t[5]=Pt[1];else{var Nt=this.props[0],Mt=this.props[1],Vt=this.props[4],Ht=this.props[5],Qt=this.props[12],er=this.props[13];$t[0]=kt[0]*Nt+kt[1]*Vt+Qt,$t[1]=kt[0]*Mt+kt[1]*Ht+er,$t[2]=St[0]*Nt+St[1]*Vt+Qt,$t[3]=St[0]*Mt+St[1]*Ht+er,$t[4]=Pt[0]*Nt+Pt[1]*Vt+Qt,$t[5]=Pt[0]*Mt+Pt[1]*Ht+er}return $t}function Dt(kt,St,Pt){var $t;return this.isIdentity()?$t=[kt,St,Pt]:$t=[kt*this.props[0]+St*this.props[4]+Pt*this.props[8]+this.props[12],kt*this.props[1]+St*this.props[5]+Pt*this.props[9]+this.props[13],kt*this.props[2]+St*this.props[6]+Pt*this.props[10]+this.props[14]],$t}function It(kt,St){if(this.isIdentity())return kt+","+St;var Pt=this.props;return Math.round((kt*Pt[0]+St*Pt[4]+Pt[12])*100)/100+","+Math.round((kt*Pt[1]+St*Pt[5]+Pt[13])*100)/100}function Ot(){for(var kt=0,St=this.props,Pt="matrix3d(",$t=1e4;kt<16;)Pt+=tt(St[kt]*$t)/$t,Pt+=kt===15?")":",",kt+=1;return Pt}function At(kt){var St=1e4;return kt<1e-6&&kt>0||kt>-1e-6&&kt<0?tt(kt*St)/St:kt}function Tt(){var kt=this.props,St=At(kt[0]),Pt=At(kt[1]),$t=At(kt[4]),Nt=At(kt[5]),Mt=At(kt[12]),Vt=At(kt[13]);return"matrix("+St+","+Pt+","+$t+","+Nt+","+Mt+","+Vt+")"}return function(){this.reset=rt,this.rotate=nt,this.rotateX=it,this.rotateY=st,this.rotateZ=at,this.skew=lt,this.skewFromAxis=ct,this.shear=ot,this.scale=ut,this.setTransform=dt,this.translate=ht,this.transform=pt,this.multiply=gt,this.applyToPoint=vt,this.applyToX=bt,this.applyToY=Et,this.applyToZ=_t,this.applyToPointArray=Dt,this.applyToTriplePoints=jt,this.applyToPointStringified=It,this.toCSS=Ot,this.to2dCSS=Tt,this.clone=xt,this.cloneFromProps=yt,this.equals=mt,this.inversePoints=Ct,this.inversePoint=Rt,this.getInverseMatrix=wt,this._t=this.transform,this.isIdentity=ft,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(_){"@babel/helpers - typeof";return _typeof$3=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$3(_)}var lottie={};function setLocation(_){setLocationHref(_)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(_){setSubframeEnabled(_)}function setPrefix(_){setIdPrefix(_)}function loadAnimation(_){return animationManager.loadAnimation(_)}function setQuality(_){if(typeof _=="string")switch(_){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(_)&&_>1&&setDefaultCurveSegments(_)}function inBrowser(){return typeof navigator<"u"}function installPlugin(_,j){_==="expressions"&&setExpressionsPlugin(j)}function getFactory(_){switch(_){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.13.0";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(_){for(var j=queryString.split("&"),et=0;et<j.length;et+=1){var tt=j[et].split("=");if(decodeURIComponent(tt[0])==_)return decodeURIComponent(tt[1])}return null}var queryString="";{var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{_typeof$3(exports)!=="object"&&(window.bodymovin=lottie)}catch(_){}var ShapeModifiers=function(){var _={},j={};_.registerModifier=et,_.getModifier=tt;function et(rt,nt){j[rt]||(j[rt]=nt)}function tt(rt,nt,it){return new j[rt](nt,it)}return _}();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(_){if(!this.closed){_.sh.container.addDynamicProperty(_.sh);var j={shape:_.sh,data:_,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(j),this.addShapeToModifier(j),this._isAnimated&&_.setAsAnimated()}},ShapeModifier.prototype.init=function(_,j){this.shapes=[],this.elem=_,this.initDynamicPropertyContainer(_),this.initModifierProperties(_,j),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier);function TrimModifier(){}extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(_,j){this.s=PropertyFactory.getProp(_,j.s,0,.01,this),this.e=PropertyFactory.getProp(_,j.e,0,.01,this),this.o=PropertyFactory.getProp(_,j.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=j.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(_){_.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(_,j,et,tt,rt){var nt=[];j<=1?nt.push({s:_,e:j}):_>=1?nt.push({s:_-1,e:j-1}):(nt.push({s:_,e:1}),nt.push({s:0,e:j-1}));var it=[],st,at=nt.length,ot;for(st=0;st<at;st+=1)if(ot=nt[st],!(ot.e*rt<tt||ot.s*rt>tt+et)){var lt,ct;ot.s*rt<=tt?lt=0:lt=(ot.s*rt-tt)/et,ot.e*rt>=tt+et?ct=1:ct=(ot.e*rt-tt)/et,it.push([lt,ct])}return it.length||it.push([0,0]),it},TrimModifier.prototype.releasePathsData=function(_){var j,et=_.length;for(j=0;j<et;j+=1)segmentsLengthPool.release(_[j]);return _.length=0,_},TrimModifier.prototype.processShapes=function(_){var j,et;if(this._mdf||_){var tt=this.o.v%360/360;if(tt<0&&(tt+=1),this.s.v>1?j=1+tt:this.s.v<0?j=0+tt:j=this.s.v+tt,this.e.v>1?et=1+tt:this.e.v<0?et=0+tt:et=this.e.v+tt,j>et){var rt=j;j=et,et=rt}j=Math.round(j*1e4)*1e-4,et=Math.round(et*1e4)*1e-4,this.sValue=j,this.eValue=et}else j=this.sValue,et=this.eValue;var nt,it,st=this.shapes.length,at,ot,lt,ct,ut,dt=0;if(et===j)for(it=0;it<st;it+=1)this.shapes[it].localShapeCollection.releaseShapes(),this.shapes[it].shape._mdf=!0,this.shapes[it].shape.paths=this.shapes[it].localShapeCollection,this._mdf&&(this.shapes[it].pathsData.length=0);else if(et===1&&j===0||et===0&&j===1){if(this._mdf)for(it=0;it<st;it+=1)this.shapes[it].pathsData.length=0,this.shapes[it].shape._mdf=!0}else{var ht=[],pt,gt;for(it=0;it<st;it+=1)if(pt=this.shapes[it],!pt.shape._mdf&&!this._mdf&&!_&&this.m!==2)pt.shape.paths=pt.localShapeCollection;else{if(nt=pt.shape.paths,ot=nt._length,ut=0,!pt.shape._mdf&&pt.pathsData.length)ut=pt.totalShapeLength;else{for(lt=this.releasePathsData(pt.pathsData),at=0;at<ot;at+=1)ct=bez.getSegmentsLength(nt.shapes[at]),lt.push(ct),ut+=ct.totalLength;pt.totalShapeLength=ut,pt.pathsData=lt}dt+=ut,pt.shape._mdf=!0}var ft=j,mt=et,xt=0,yt;for(it=st-1;it>=0;it-=1)if(pt=this.shapes[it],pt.shape._mdf){for(gt=pt.localShapeCollection,gt.releaseShapes(),this.m===2&&st>1?(yt=this.calculateShapeEdges(j,et,pt.totalShapeLength,xt,dt),xt+=pt.totalShapeLength):yt=[[ft,mt]],ot=yt.length,at=0;at<ot;at+=1){ft=yt[at][0],mt=yt[at][1],ht.length=0,mt<=1?ht.push({s:pt.totalShapeLength*ft,e:pt.totalShapeLength*mt}):ft>=1?ht.push({s:pt.totalShapeLength*(ft-1),e:pt.totalShapeLength*(mt-1)}):(ht.push({s:pt.totalShapeLength*ft,e:pt.totalShapeLength}),ht.push({s:0,e:pt.totalShapeLength*(mt-1)}));var vt=this.addShapes(pt,ht[0]);if(ht[0].s!==ht[0].e){if(ht.length>1){var bt=pt.shape.paths.shapes[pt.shape.paths._length-1];if(bt.c){var Et=vt.pop();this.addPaths(vt,gt),vt=this.addShapes(pt,ht[1],Et)}else this.addPaths(vt,gt),vt=this.addShapes(pt,ht[1])}this.addPaths(vt,gt)}}pt.shape.paths=gt}}},TrimModifier.prototype.addPaths=function(_,j){var et,tt=_.length;for(et=0;et<tt;et+=1)j.addShape(_[et])},TrimModifier.prototype.addSegment=function(_,j,et,tt,rt,nt,it){rt.setXYAt(j[0],j[1],"o",nt),rt.setXYAt(et[0],et[1],"i",nt+1),it&&rt.setXYAt(_[0],_[1],"v",nt),rt.setXYAt(tt[0],tt[1],"v",nt+1)},TrimModifier.prototype.addSegmentFromArray=function(_,j,et,tt){j.setXYAt(_[1],_[5],"o",et),j.setXYAt(_[2],_[6],"i",et+1),tt&&j.setXYAt(_[0],_[4],"v",et),j.setXYAt(_[3],_[7],"v",et+1)},TrimModifier.prototype.addShapes=function(_,j,et){var tt=_.pathsData,rt=_.shape.paths.shapes,nt,it=_.shape.paths._length,st,at,ot=0,lt,ct,ut,dt,ht=[],pt,gt=!0;for(et?(ct=et._length,pt=et._length):(et=shapePool.newElement(),ct=0,pt=0),ht.push(et),nt=0;nt<it;nt+=1){for(ut=tt[nt].lengths,et.c=rt[nt].c,at=rt[nt].c?ut.length:ut.length+1,st=1;st<at;st+=1)if(lt=ut[st-1],ot+lt.addedLength<j.s)ot+=lt.addedLength,et.c=!1;else if(ot>j.e){et.c=!1;break}else j.s<=ot&&j.e>=ot+lt.addedLength?(this.addSegment(rt[nt].v[st-1],rt[nt].o[st-1],rt[nt].i[st],rt[nt].v[st],et,ct,gt),gt=!1):(dt=bez.getNewSegment(rt[nt].v[st-1],rt[nt].v[st],rt[nt].o[st-1],rt[nt].i[st],(j.s-ot)/lt.addedLength,(j.e-ot)/lt.addedLength,ut[st-1]),this.addSegmentFromArray(dt,et,ct,gt),gt=!1,et.c=!1),ot+=lt.addedLength,ct+=1;if(rt[nt].c&&ut.length){if(lt=ut[st-1],ot<=j.e){var ft=ut[st-1].addedLength;j.s<=ot&&j.e>=ot+ft?(this.addSegment(rt[nt].v[st-1],rt[nt].o[st-1],rt[nt].i[0],rt[nt].v[0],et,ct,gt),gt=!1):(dt=bez.getNewSegment(rt[nt].v[st-1],rt[nt].v[0],rt[nt].o[st-1],rt[nt].i[0],(j.s-ot)/ft,(j.e-ot)/ft,ut[st-1]),this.addSegmentFromArray(dt,et,ct,gt),gt=!1,et.c=!1)}else et.c=!1;ot+=lt.addedLength,ct+=1}if(et._length&&(et.setXYAt(et.v[pt][0],et.v[pt][1],"i",pt),et.setXYAt(et.v[et._length-1][0],et.v[et._length-1][1],"o",et._length-1)),ot>j.e)break;nt<it-1&&(et=shapePool.newElement(),gt=!0,ht.push(et),ct=0)}return ht};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(_,j){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(_,j.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(_,j){var et=j/100,tt=[0,0],rt=_._length,nt=0;for(nt=0;nt<rt;nt+=1)tt[0]+=_.v[nt][0],tt[1]+=_.v[nt][1];tt[0]/=rt,tt[1]/=rt;var it=shapePool.newElement();it.c=_.c;var st,at,ot,lt,ct,ut;for(nt=0;nt<rt;nt+=1)st=_.v[nt][0]+(tt[0]-_.v[nt][0])*et,at=_.v[nt][1]+(tt[1]-_.v[nt][1])*et,ot=_.o[nt][0]+(tt[0]-_.o[nt][0])*-et,lt=_.o[nt][1]+(tt[1]-_.o[nt][1])*-et,ct=_.i[nt][0]+(tt[0]-_.i[nt][0])*-et,ut=_.i[nt][1]+(tt[1]-_.i[nt][1])*-et,it.setTripleAt(st,at,ot,lt,ct,ut,nt);return it},PuckerAndBloatModifier.prototype.processShapes=function(_){var j,et,tt=this.shapes.length,rt,nt,it=this.amount.v;if(it!==0){var st,at;for(et=0;et<tt;et+=1){if(st=this.shapes[et],at=st.localShapeCollection,!(!st.shape._mdf&&!this._mdf&&!_))for(at.releaseShapes(),st.shape._mdf=!0,j=st.shape.paths.shapes,nt=st.shape.paths._length,rt=0;rt<nt;rt+=1)at.addShape(this.processPath(j[rt],it));st.shape.paths=st.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var _=[0,0];function j(at){var ot=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||ot,this.a&&at.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&at.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&at.skewFromAxis(-this.sk.v,this.sa.v),this.r?at.rotate(-this.r.v):at.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?at.translate(this.px.v,this.py.v,-this.pz.v):at.translate(this.px.v,this.py.v,0):at.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function et(at){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||at){var ot;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var lt,ct;if(ot=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(lt=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/ot,0),ct=this.p.getValueAtTime(this.p.keyframes[0].t/ot,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(lt=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/ot,0),ct=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/ot,0)):(lt=this.p.pv,ct=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/ot,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){lt=[],ct=[];var ut=this.px,dt=this.py;ut._caching.lastFrame+ut.offsetTime<=ut.keyframes[0].t?(lt[0]=ut.getValueAtTime((ut.keyframes[0].t+.01)/ot,0),lt[1]=dt.getValueAtTime((dt.keyframes[0].t+.01)/ot,0),ct[0]=ut.getValueAtTime(ut.keyframes[0].t/ot,0),ct[1]=dt.getValueAtTime(dt.keyframes[0].t/ot,0)):ut._caching.lastFrame+ut.offsetTime>=ut.keyframes[ut.keyframes.length-1].t?(lt[0]=ut.getValueAtTime(ut.keyframes[ut.keyframes.length-1].t/ot,0),lt[1]=dt.getValueAtTime(dt.keyframes[dt.keyframes.length-1].t/ot,0),ct[0]=ut.getValueAtTime((ut.keyframes[ut.keyframes.length-1].t-.01)/ot,0),ct[1]=dt.getValueAtTime((dt.keyframes[dt.keyframes.length-1].t-.01)/ot,0)):(lt=[ut.pv,dt.pv],ct[0]=ut.getValueAtTime((ut._caching.lastFrame+ut.offsetTime-.01)/ot,ut.offsetTime),ct[1]=dt.getValueAtTime((dt._caching.lastFrame+dt.offsetTime-.01)/ot,dt.offsetTime))}else ct=_,lt=ct;this.v.rotate(-Math.atan2(lt[1]-ct[1],lt[0]-ct[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function tt(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function rt(){}function nt(at){this._addDynamicProperty(at),this.elem.addDynamicProperty(at),this._isDirty=!0}function it(at,ot,lt){if(this.elem=at,this.frameId=-1,this.propType="transform",this.data=ot,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(lt||at),ot.p&&ot.p.s?(this.px=PropertyFactory.getProp(at,ot.p.x,0,0,this),this.py=PropertyFactory.getProp(at,ot.p.y,0,0,this),ot.p.z&&(this.pz=PropertyFactory.getProp(at,ot.p.z,0,0,this))):this.p=PropertyFactory.getProp(at,ot.p||{k:[0,0,0]},1,0,this),ot.rx){if(this.rx=PropertyFactory.getProp(at,ot.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(at,ot.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(at,ot.rz,0,degToRads,this),ot.or.k[0].ti){var ct,ut=ot.or.k.length;for(ct=0;ct<ut;ct+=1)ot.or.k[ct].to=null,ot.or.k[ct].ti=null}this.or=PropertyFactory.getProp(at,ot.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(at,ot.r||{k:0},0,degToRads,this);ot.sk&&(this.sk=PropertyFactory.getProp(at,ot.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(at,ot.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(at,ot.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(at,ot.s||{k:[100,100,100]},1,.01,this),ot.o?this.o=PropertyFactory.getProp(at,ot.o,0,.01,at):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}it.prototype={applyToMatrix:j,getValue:et,precalculateMatrix:tt,autoOrient:rt},extendPrototype([DynamicPropertyContainer],it),it.prototype.addDynamicProperty=nt,it.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function st(at,ot,lt){return new it(at,ot,lt)}return{getTransformProperty:st}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(_,j){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(_,j.c,0,null,this),this.o=PropertyFactory.getProp(_,j.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(_,j.tr,this),this.so=PropertyFactory.getProp(_,j.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(_,j.tr.eo,0,.01,this),this.data=j,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(_,j,et,tt,rt,nt){var it=nt?-1:1,st=tt.s.v[0]+(1-tt.s.v[0])*(1-rt),at=tt.s.v[1]+(1-tt.s.v[1])*(1-rt);_.translate(tt.p.v[0]*it*rt,tt.p.v[1]*it*rt,tt.p.v[2]),j.translate(-tt.a.v[0],-tt.a.v[1],tt.a.v[2]),j.rotate(-tt.r.v*it*rt),j.translate(tt.a.v[0],tt.a.v[1],tt.a.v[2]),et.translate(-tt.a.v[0],-tt.a.v[1],tt.a.v[2]),et.scale(nt?1/st:st,nt?1/at:at),et.translate(tt.a.v[0],tt.a.v[1],tt.a.v[2])},RepeaterModifier.prototype.init=function(_,j,et,tt){for(this.elem=_,this.arr=j,this.pos=et,this.elemsData=tt,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(_),this.initModifierProperties(_,j[et]);et>0;)et-=1,this._elements.unshift(j[et]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(_){var j,et=_.length;for(j=0;j<et;j+=1)_[j]._processed=!1,_[j].ty==="gr"&&this.resetElements(_[j].it)},RepeaterModifier.prototype.cloneElements=function(_){var j=JSON.parse(JSON.stringify(_));return this.resetElements(j),j},RepeaterModifier.prototype.changeGroupRender=function(_,j){var et,tt=_.length;for(et=0;et<tt;et+=1)_[et]._render=j,_[et].ty==="gr"&&this.changeGroupRender(_[et].it,j)},RepeaterModifier.prototype.processShapes=function(_){var j,et,tt,rt,nt,it=!1;if(this._mdf||_){var st=Math.ceil(this.c.v);if(this._groups.length<st){for(;this._groups.length<st;){var at={it:this.cloneElements(this._elements),ty:"gr"};at.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,at),this._groups.splice(0,0,at),this._currentCopies+=1}this.elem.reloadShapes(),it=!0}nt=0;var ot;for(tt=0;tt<=this._groups.length-1;tt+=1){if(ot=nt<st,this._groups[tt]._render=ot,this.changeGroupRender(this._groups[tt].it,ot),!ot){var lt=this.elemsData[tt].it,ct=lt[lt.length-1];ct.transform.op.v!==0?(ct.transform.op._mdf=!0,ct.transform.op.v=0):ct.transform.op._mdf=!1}nt+=1}this._currentCopies=st;var ut=this.o.v,dt=ut%1,ht=ut>0?Math.floor(ut):Math.ceil(ut),pt=this.pMatrix.props,gt=this.rMatrix.props,ft=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var mt=0;if(ut>0){for(;mt<ht;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),mt+=1;dt&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,dt,!1),mt+=dt)}else if(ut<0){for(;mt>ht;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),mt-=1;dt&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-dt,!0),mt-=dt)}tt=this.data.m===1?0:this._currentCopies-1,rt=this.data.m===1?1:-1,nt=this._currentCopies;for(var xt,yt;nt;){if(j=this.elemsData[tt].it,et=j[j.length-1].transform.mProps.v.props,yt=et.length,j[j.length-1].transform.mProps._mdf=!0,j[j.length-1].transform.op._mdf=!0,j[j.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(tt/(this._currentCopies-1)),mt!==0){for((tt!==0&&rt===1||tt!==this._currentCopies-1&&rt===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(gt[0],gt[1],gt[2],gt[3],gt[4],gt[5],gt[6],gt[7],gt[8],gt[9],gt[10],gt[11],gt[12],gt[13],gt[14],gt[15]),this.matrix.transform(ft[0],ft[1],ft[2],ft[3],ft[4],ft[5],ft[6],ft[7],ft[8],ft[9],ft[10],ft[11],ft[12],ft[13],ft[14],ft[15]),this.matrix.transform(pt[0],pt[1],pt[2],pt[3],pt[4],pt[5],pt[6],pt[7],pt[8],pt[9],pt[10],pt[11],pt[12],pt[13],pt[14],pt[15]),xt=0;xt<yt;xt+=1)et[xt]=this.matrix.props[xt];this.matrix.reset()}else for(this.matrix.reset(),xt=0;xt<yt;xt+=1)et[xt]=this.matrix.props[xt];mt+=1,nt-=1,tt+=rt}}else for(nt=this._currentCopies,tt=0,rt=1;nt;)j=this.elemsData[tt].it,et=j[j.length-1].transform.mProps.v.props,j[j.length-1].transform.mProps._mdf=!1,j[j.length-1].transform.op._mdf=!1,nt-=1,tt+=rt;return it},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(_,j){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(_,j.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(_,j){var et=shapePool.newElement();et.c=_.c;var tt,rt=_._length,nt,it,st,at,ot,lt,ct=0,ut,dt,ht,pt,gt,ft;for(tt=0;tt<rt;tt+=1)nt=_.v[tt],st=_.o[tt],it=_.i[tt],nt[0]===st[0]&&nt[1]===st[1]&&nt[0]===it[0]&&nt[1]===it[1]?(tt===0||tt===rt-1)&&!_.c?(et.setTripleAt(nt[0],nt[1],st[0],st[1],it[0],it[1],ct),ct+=1):(tt===0?at=_.v[rt-1]:at=_.v[tt-1],ot=Math.sqrt(Math.pow(nt[0]-at[0],2)+Math.pow(nt[1]-at[1],2)),lt=ot?Math.min(ot/2,j)/ot:0,gt=nt[0]+(at[0]-nt[0])*lt,ut=gt,ft=nt[1]-(nt[1]-at[1])*lt,dt=ft,ht=ut-(ut-nt[0])*roundCorner,pt=dt-(dt-nt[1])*roundCorner,et.setTripleAt(ut,dt,ht,pt,gt,ft,ct),ct+=1,tt===rt-1?at=_.v[0]:at=_.v[tt+1],ot=Math.sqrt(Math.pow(nt[0]-at[0],2)+Math.pow(nt[1]-at[1],2)),lt=ot?Math.min(ot/2,j)/ot:0,ht=nt[0]+(at[0]-nt[0])*lt,ut=ht,pt=nt[1]+(at[1]-nt[1])*lt,dt=pt,gt=ut-(ut-nt[0])*roundCorner,ft=dt-(dt-nt[1])*roundCorner,et.setTripleAt(ut,dt,ht,pt,gt,ft,ct),ct+=1):(et.setTripleAt(_.v[tt][0],_.v[tt][1],_.o[tt][0],_.o[tt][1],_.i[tt][0],_.i[tt][1],ct),ct+=1);return et},RoundCornersModifier.prototype.processShapes=function(_){var j,et,tt=this.shapes.length,rt,nt,it=this.rd.v;if(it!==0){var st,at;for(et=0;et<tt;et+=1){if(st=this.shapes[et],at=st.localShapeCollection,!(!st.shape._mdf&&!this._mdf&&!_))for(at.releaseShapes(),st.shape._mdf=!0,j=st.shape.paths.shapes,nt=st.shape.paths._length,rt=0;rt<nt;rt+=1)at.addShape(this.processPath(j[rt],it));st.shape.paths=st.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(_,j){return Math.abs(_-j)*1e5<=Math.min(Math.abs(_),Math.abs(j))}function floatZero(_){return Math.abs(_)<=1e-5}function lerp(_,j,et){return _*(1-et)+j*et}function lerpPoint(_,j,et){return[lerp(_[0],j[0],et),lerp(_[1],j[1],et)]}function quadRoots(_,j,et){if(_===0)return[];var tt=j*j-4*_*et;if(tt<0)return[];var rt=-j/(2*_);if(tt===0)return[rt];var nt=Math.sqrt(tt)/(2*_);return[rt-nt,rt+nt]}function polynomialCoefficients(_,j,et,tt){return[-_+3*j-3*et+tt,3*_-6*j+3*et,-3*_+3*j,_]}function singlePoint(_){return new PolynomialBezier(_,_,_,_,!1)}function PolynomialBezier(_,j,et,tt,rt){rt&&pointEqual(_,j)&&(j=lerpPoint(_,tt,1/3)),rt&&pointEqual(et,tt)&&(et=lerpPoint(_,tt,2/3));var nt=polynomialCoefficients(_[0],j[0],et[0],tt[0]),it=polynomialCoefficients(_[1],j[1],et[1],tt[1]);this.a=[nt[0],it[0]],this.b=[nt[1],it[1]],this.c=[nt[2],it[2]],this.d=[nt[3],it[3]],this.points=[_,j,et,tt]}PolynomialBezier.prototype.point=function(_){return[((this.a[0]*_+this.b[0])*_+this.c[0])*_+this.d[0],((this.a[1]*_+this.b[1])*_+this.c[1])*_+this.d[1]]},PolynomialBezier.prototype.derivative=function(_){return[(3*_*this.a[0]+2*this.b[0])*_+this.c[0],(3*_*this.a[1]+2*this.b[1])*_+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(_){var j=this.derivative(_);return Math.atan2(j[1],j[0])},PolynomialBezier.prototype.normalAngle=function(_){var j=this.derivative(_);return Math.atan2(j[0],j[1])},PolynomialBezier.prototype.inflectionPoints=function(){var _=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(_))return[];var j=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/_,et=j*j-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/_;if(et<0)return[];var tt=Math.sqrt(et);return floatZero(tt)?tt>0&&tt<1?[j]:[]:[j-tt,j+tt].filter(function(rt){return rt>0&&rt<1})},PolynomialBezier.prototype.split=function(_){if(_<=0)return[singlePoint(this.points[0]),this];if(_>=1)return[this,singlePoint(this.points[this.points.length-1])];var j=lerpPoint(this.points[0],this.points[1],_),et=lerpPoint(this.points[1],this.points[2],_),tt=lerpPoint(this.points[2],this.points[3],_),rt=lerpPoint(j,et,_),nt=lerpPoint(et,tt,_),it=lerpPoint(rt,nt,_);return[new PolynomialBezier(this.points[0],j,rt,it,!0),new PolynomialBezier(it,nt,tt,this.points[3],!0)]};function extrema(_,j){var et=_.points[0][j],tt=_.points[_.points.length-1][j];if(et>tt){var rt=tt;tt=et,et=rt}for(var nt=quadRoots(3*_.a[j],2*_.b[j],_.c[j]),it=0;it<nt.length;it+=1)if(nt[it]>0&&nt[it]<1){var st=_.point(nt[it])[j];st<et?et=st:st>tt&&(tt=st)}return{min:et,max:tt}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var _=this.bounds();return{left:_.x.min,right:_.x.max,top:_.y.min,bottom:_.y.max,width:_.x.max-_.x.min,height:_.y.max-_.y.min,cx:(_.x.max+_.x.min)/2,cy:(_.y.max+_.y.min)/2}};function intersectData(_,j,et){var tt=_.boundingBox();return{cx:tt.cx,cy:tt.cy,width:tt.width,height:tt.height,bez:_,t:(j+et)/2,t1:j,t2:et}}function splitData(_){var j=_.bez.split(.5);return[intersectData(j[0],_.t1,_.t),intersectData(j[1],_.t,_.t2)]}function boxIntersect(_,j){return Math.abs(_.cx-j.cx)*2<_.width+j.width&&Math.abs(_.cy-j.cy)*2<_.height+j.height}function intersectsImpl(_,j,et,tt,rt,nt){if(boxIntersect(_,j)){if(et>=nt||_.width<=tt&&_.height<=tt&&j.width<=tt&&j.height<=tt){rt.push([_.t,j.t]);return}var it=splitData(_),st=splitData(j);intersectsImpl(it[0],st[0],et+1,tt,rt,nt),intersectsImpl(it[0],st[1],et+1,tt,rt,nt),intersectsImpl(it[1],st[0],et+1,tt,rt,nt),intersectsImpl(it[1],st[1],et+1,tt,rt,nt)}}PolynomialBezier.prototype.intersections=function(_,j,et){j===void 0&&(j=2),et===void 0&&(et=7);var tt=[];return intersectsImpl(intersectData(this,0,1),intersectData(_,0,1),0,j,tt,et),tt},PolynomialBezier.shapeSegment=function(_,j){var et=(j+1)%_.length();return new PolynomialBezier(_.v[j],_.o[j],_.i[et],_.v[et],!0)},PolynomialBezier.shapeSegmentInverted=function(_,j){var et=(j+1)%_.length();return new PolynomialBezier(_.v[et],_.i[et],_.o[j],_.v[j],!0)};function crossProduct(_,j){return[_[1]*j[2]-_[2]*j[1],_[2]*j[0]-_[0]*j[2],_[0]*j[1]-_[1]*j[0]]}function lineIntersection(_,j,et,tt){var rt=[_[0],_[1],1],nt=[j[0],j[1],1],it=[et[0],et[1],1],st=[tt[0],tt[1],1],at=crossProduct(crossProduct(rt,nt),crossProduct(it,st));return floatZero(at[2])?null:[at[0]/at[2],at[1]/at[2]]}function polarOffset(_,j,et){return[_[0]+Math.cos(j)*et,_[1]-Math.sin(j)*et]}function pointDistance(_,j){return Math.hypot(_[0]-j[0],_[1]-j[1])}function pointEqual(_,j){return floatEqual(_[0],j[0])&&floatEqual(_[1],j[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(_,j){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(_,j.s,0,null,this),this.frequency=PropertyFactory.getProp(_,j.r,0,null,this),this.pointsType=PropertyFactory.getProp(_,j.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(_,j,et,tt,rt,nt,it){var st=et-Math.PI/2,at=et+Math.PI/2,ot=j[0]+Math.cos(et)*tt*rt,lt=j[1]-Math.sin(et)*tt*rt;_.setTripleAt(ot,lt,ot+Math.cos(st)*nt,lt-Math.sin(st)*nt,ot+Math.cos(at)*it,lt-Math.sin(at)*it,_.length())}function getPerpendicularVector(_,j){var et=[j[0]-_[0],j[1]-_[1]],tt=-Math.PI*.5,rt=[Math.cos(tt)*et[0]-Math.sin(tt)*et[1],Math.sin(tt)*et[0]+Math.cos(tt)*et[1]];return rt}function getProjectingAngle(_,j){var et=j===0?_.length()-1:j-1,tt=(j+1)%_.length(),rt=_.v[et],nt=_.v[tt],it=getPerpendicularVector(rt,nt);return Math.atan2(0,1)-Math.atan2(it[1],it[0])}function zigZagCorner(_,j,et,tt,rt,nt,it){var st=getProjectingAngle(j,et),at=j.v[et%j._length],ot=j.v[et===0?j._length-1:et-1],lt=j.v[(et+1)%j._length],ct=nt===2?Math.sqrt(Math.pow(at[0]-ot[0],2)+Math.pow(at[1]-ot[1],2)):0,ut=nt===2?Math.sqrt(Math.pow(at[0]-lt[0],2)+Math.pow(at[1]-lt[1],2)):0;setPoint(_,j.v[et%j._length],st,it,tt,ut/((rt+1)*2),ct/((rt+1)*2))}function zigZagSegment(_,j,et,tt,rt,nt){for(var it=0;it<tt;it+=1){var st=(it+1)/(tt+1),at=rt===2?Math.sqrt(Math.pow(j.points[3][0]-j.points[0][0],2)+Math.pow(j.points[3][1]-j.points[0][1],2)):0,ot=j.normalAngle(st),lt=j.point(st);setPoint(_,lt,ot,nt,et,at/((tt+1)*2),at/((tt+1)*2)),nt=-nt}return nt}ZigZagModifier.prototype.processPath=function(_,j,et,tt){var rt=_._length,nt=shapePool.newElement();if(nt.c=_.c,_.c||(rt-=1),rt===0)return nt;var it=-1,st=PolynomialBezier.shapeSegment(_,0);zigZagCorner(nt,_,0,j,et,tt,it);for(var at=0;at<rt;at+=1)it=zigZagSegment(nt,st,j,et,tt,-it),at===rt-1&&!_.c?st=null:st=PolynomialBezier.shapeSegment(_,(at+1)%rt),zigZagCorner(nt,_,at+1,j,et,tt,it);return nt},ZigZagModifier.prototype.processShapes=function(_){var j,et,tt=this.shapes.length,rt,nt,it=this.amplitude.v,st=Math.max(0,Math.round(this.frequency.v)),at=this.pointsType.v;if(it!==0){var ot,lt;for(et=0;et<tt;et+=1){if(ot=this.shapes[et],lt=ot.localShapeCollection,!(!ot.shape._mdf&&!this._mdf&&!_))for(lt.releaseShapes(),ot.shape._mdf=!0,j=ot.shape.paths.shapes,nt=ot.shape.paths._length,rt=0;rt<nt;rt+=1)lt.addShape(this.processPath(j[rt],it,st,at));ot.shape.paths=ot.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(_,j,et){var tt=Math.atan2(j[0]-_[0],j[1]-_[1]);return[polarOffset(_,tt,et),polarOffset(j,tt,et)]}function offsetSegment(_,j){var et,tt,rt,nt,it,st,at;at=linearOffset(_.points[0],_.points[1],j),et=at[0],tt=at[1],at=linearOffset(_.points[1],_.points[2],j),rt=at[0],nt=at[1],at=linearOffset(_.points[2],_.points[3],j),it=at[0],st=at[1];var ot=lineIntersection(et,tt,rt,nt);ot===null&&(ot=tt);var lt=lineIntersection(it,st,rt,nt);return lt===null&&(lt=it),new PolynomialBezier(et,ot,lt,st)}function joinLines(_,j,et,tt,rt){var nt=j.points[3],it=et.points[0];if(tt===3||pointEqual(nt,it))return nt;if(tt===2){var st=-j.tangentAngle(1),at=-et.tangentAngle(0)+Math.PI,ot=lineIntersection(nt,polarOffset(nt,st+Math.PI/2,100),it,polarOffset(it,st+Math.PI/2,100)),lt=ot?pointDistance(ot,nt):pointDistance(nt,it)/2,ct=polarOffset(nt,st,2*lt*roundCorner);return _.setXYAt(ct[0],ct[1],"o",_.length()-1),ct=polarOffset(it,at,2*lt*roundCorner),_.setTripleAt(it[0],it[1],it[0],it[1],ct[0],ct[1],_.length()),it}var ut=pointEqual(nt,j.points[2])?j.points[0]:j.points[2],dt=pointEqual(it,et.points[1])?et.points[3]:et.points[1],ht=lineIntersection(ut,nt,it,dt);return ht&&pointDistance(ht,nt)<rt?(_.setTripleAt(ht[0],ht[1],ht[0],ht[1],ht[0],ht[1],_.length()),ht):nt}function getIntersection(_,j){var et=_.intersections(j);return et.length&&floatEqual(et[0][0],1)&&et.shift(),et.length?et[0]:null}function pruneSegmentIntersection(_,j){var et=_.slice(),tt=j.slice(),rt=getIntersection(_[_.length-1],j[0]);return rt&&(et[_.length-1]=_[_.length-1].split(rt[0])[0],tt[0]=j[0].split(rt[1])[1]),_.length>1&&j.length>1&&(rt=getIntersection(_[0],j[j.length-1]),rt)?[[_[0].split(rt[0])[0]],[j[j.length-1].split(rt[1])[1]]]:[et,tt]}function pruneIntersections(_){for(var j,et=1;et<_.length;et+=1)j=pruneSegmentIntersection(_[et-1],_[et]),_[et-1]=j[0],_[et]=j[1];return _.length>1&&(j=pruneSegmentIntersection(_[_.length-1],_[0]),_[_.length-1]=j[0],_[0]=j[1]),_}function offsetSegmentSplit(_,j){var et=_.inflectionPoints(),tt,rt,nt,it;if(et.length===0)return[offsetSegment(_,j)];if(et.length===1||floatEqual(et[1],1))return nt=_.split(et[0]),tt=nt[0],rt=nt[1],[offsetSegment(tt,j),offsetSegment(rt,j)];nt=_.split(et[0]),tt=nt[0];var st=(et[1]-et[0])/(1-et[0]);return nt=nt[1].split(st),it=nt[0],rt=nt[1],[offsetSegment(tt,j),offsetSegment(it,j),offsetSegment(rt,j)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(_,j){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(_,j.a,0,null,this),this.miterLimit=PropertyFactory.getProp(_,j.ml,0,null,this),this.lineJoin=j.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(_,j,et,tt){var rt=shapePool.newElement();rt.c=_.c;var nt=_.length();_.c||(nt-=1);var it,st,at,ot=[];for(it=0;it<nt;it+=1)at=PolynomialBezier.shapeSegment(_,it),ot.push(offsetSegmentSplit(at,j));if(!_.c)for(it=nt-1;it>=0;it-=1)at=PolynomialBezier.shapeSegmentInverted(_,it),ot.push(offsetSegmentSplit(at,j));ot=pruneIntersections(ot);var lt=null,ct=null;for(it=0;it<ot.length;it+=1){var ut=ot[it];for(ct&&(lt=joinLines(rt,ct,ut[0],et,tt)),ct=ut[ut.length-1],st=0;st<ut.length;st+=1)at=ut[st],lt&&pointEqual(at.points[0],lt)?rt.setXYAt(at.points[1][0],at.points[1][1],"o",rt.length()-1):rt.setTripleAt(at.points[0][0],at.points[0][1],at.points[1][0],at.points[1][1],at.points[0][0],at.points[0][1],rt.length()),rt.setTripleAt(at.points[3][0],at.points[3][1],at.points[3][0],at.points[3][1],at.points[2][0],at.points[2][1],rt.length()),lt=at.points[3]}return ot.length&&joinLines(rt,ct,ot[0][0],et,tt),rt},OffsetPathModifier.prototype.processShapes=function(_){var j,et,tt=this.shapes.length,rt,nt,it=this.amount.v,st=this.miterLimit.v,at=this.lineJoin;if(it!==0){var ot,lt;for(et=0;et<tt;et+=1){if(ot=this.shapes[et],lt=ot.localShapeCollection,!(!ot.shape._mdf&&!this._mdf&&!_))for(lt.releaseShapes(),ot.shape._mdf=!0,j=ot.shape.paths.shapes,nt=ot.shape.paths._length,rt=0;rt<nt;rt+=1)lt.addShape(this.processPath(j[rt],it,at,st));ot.shape.paths=ot.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(_){for(var j=_.fStyle?_.fStyle.split(" "):[],et="normal",tt="normal",rt=j.length,nt,it=0;it<rt;it+=1)switch(nt=j[it].toLowerCase(),nt){case"italic":tt="italic";break;case"bold":et="700";break;case"black":et="900";break;case"medium":et="500";break;case"regular":case"normal":et="400";break;case"light":case"thin":et="200";break}return{style:tt,weight:_.fWeight||et}}var FontManager=function(){var _=5e3,j={w:0,size:0,shapes:[],data:{shapes:[]}},et=[];et=et.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var tt=127988,rt=917631,nt=917601,it=917626,st=65039,at=8205,ot=127462,lt=127487,ct=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function ut(At){var Tt=At.split(","),kt,St=Tt.length,Pt=[];for(kt=0;kt<St;kt+=1)Tt[kt]!=="sans-serif"&&Tt[kt]!=="monospace"&&Pt.push(Tt[kt]);return Pt.join(",")}function dt(At,Tt){var kt=createTag("span");kt.setAttribute("aria-hidden",!0),kt.style.fontFamily=Tt;var St=createTag("span");St.innerText="giItT1WQy@!-/#",kt.style.position="absolute",kt.style.left="-10000px",kt.style.top="-10000px",kt.style.fontSize="300px",kt.style.fontVariant="normal",kt.style.fontStyle="normal",kt.style.fontWeight="normal",kt.style.letterSpacing="0",kt.appendChild(St),document.body.appendChild(kt);var Pt=St.offsetWidth;return St.style.fontFamily=ut(At)+", "+Tt,{node:St,w:Pt,parent:kt}}function ht(){var At,Tt=this.fonts.length,kt,St,Pt=Tt;for(At=0;At<Tt;At+=1)this.fonts[At].loaded?Pt-=1:this.fonts[At].fOrigin==="n"||this.fonts[At].origin===0?this.fonts[At].loaded=!0:(kt=this.fonts[At].monoCase.node,St=this.fonts[At].monoCase.w,kt.offsetWidth!==St?(Pt-=1,this.fonts[At].loaded=!0):(kt=this.fonts[At].sansCase.node,St=this.fonts[At].sansCase.w,kt.offsetWidth!==St&&(Pt-=1,this.fonts[At].loaded=!0)),this.fonts[At].loaded&&(this.fonts[At].sansCase.parent.parentNode.removeChild(this.fonts[At].sansCase.parent),this.fonts[At].monoCase.parent.parentNode.removeChild(this.fonts[At].monoCase.parent)));Pt!==0&&Date.now()-this.initTime<_?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function pt(At,Tt){var kt=document.body&&Tt?"svg":"canvas",St,Pt=getFontProperties(At);if(kt==="svg"){var $t=createNS("text");$t.style.fontSize="100px",$t.setAttribute("font-family",At.fFamily),$t.setAttribute("font-style",Pt.style),$t.setAttribute("font-weight",Pt.weight),$t.textContent="1",At.fClass?($t.style.fontFamily="inherit",$t.setAttribute("class",At.fClass)):$t.style.fontFamily=At.fFamily,Tt.appendChild($t),St=$t}else{var Nt=new OffscreenCanvas(500,500).getContext("2d");Nt.font=Pt.style+" "+Pt.weight+" 100px "+At.fFamily,St=Nt}function Mt(Vt){return kt==="svg"?(St.textContent=Vt,St.getComputedTextLength()):St.measureText(Vt).width}return{measureText:Mt}}function gt(At,Tt){if(!At){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=At.list;return}if(!document.body){this.isLoaded=!0,At.list.forEach(function(ir){ir.helper=pt(ir),ir.cache={}}),this.fonts=At.list;return}var kt=At.list,St,Pt=kt.length,$t=Pt;for(St=0;St<Pt;St+=1){var Nt=!0,Mt,Vt;if(kt[St].loaded=!1,kt[St].monoCase=dt(kt[St].fFamily,"monospace"),kt[St].sansCase=dt(kt[St].fFamily,"sans-serif"),!kt[St].fPath)kt[St].loaded=!0,$t-=1;else if(kt[St].fOrigin==="p"||kt[St].origin===3){if(Mt=document.querySelectorAll('style[f-forigin="p"][f-family="'+kt[St].fFamily+'"], style[f-origin="3"][f-family="'+kt[St].fFamily+'"]'),Mt.length>0&&(Nt=!1),Nt){var Ht=createTag("style");Ht.setAttribute("f-forigin",kt[St].fOrigin),Ht.setAttribute("f-origin",kt[St].origin),Ht.setAttribute("f-family",kt[St].fFamily),Ht.type="text/css",Ht.innerText="@font-face {font-family: "+kt[St].fFamily+"; font-style: normal; src: url('"+kt[St].fPath+"');}",Tt.appendChild(Ht)}}else if(kt[St].fOrigin==="g"||kt[St].origin===1){for(Mt=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Vt=0;Vt<Mt.length;Vt+=1)Mt[Vt].href.indexOf(kt[St].fPath)!==-1&&(Nt=!1);if(Nt){var Qt=createTag("link");Qt.setAttribute("f-forigin",kt[St].fOrigin),Qt.setAttribute("f-origin",kt[St].origin),Qt.type="text/css",Qt.rel="stylesheet",Qt.href=kt[St].fPath,document.body.appendChild(Qt)}}else if(kt[St].fOrigin==="t"||kt[St].origin===2){for(Mt=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),Vt=0;Vt<Mt.length;Vt+=1)kt[St].fPath===Mt[Vt].src&&(Nt=!1);if(Nt){var er=createTag("link");er.setAttribute("f-forigin",kt[St].fOrigin),er.setAttribute("f-origin",kt[St].origin),er.setAttribute("rel","stylesheet"),er.setAttribute("href",kt[St].fPath),Tt.appendChild(er)}}kt[St].helper=pt(kt[St],Tt),kt[St].cache={},this.fonts.push(kt[St])}$t===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function ft(At){if(At){this.chars||(this.chars=[]);var Tt,kt=At.length,St,Pt=this.chars.length,$t;for(Tt=0;Tt<kt;Tt+=1){for(St=0,$t=!1;St<Pt;)this.chars[St].style===At[Tt].style&&this.chars[St].fFamily===At[Tt].fFamily&&this.chars[St].ch===At[Tt].ch&&($t=!0),St+=1;$t||(this.chars.push(At[Tt]),Pt+=1)}}}function mt(At,Tt,kt){for(var St=0,Pt=this.chars.length;St<Pt;){if(this.chars[St].ch===At&&this.chars[St].style===Tt&&this.chars[St].fFamily===kt)return this.chars[St];St+=1}return(typeof At=="string"&&At.charCodeAt(0)!==13||!At)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",At,Tt,kt)),j}function xt(At,Tt,kt){var St=this.getFontByName(Tt),Pt=At;if(!St.cache[Pt]){var $t=St.helper;if(At===" "){var Nt=$t.measureText("|"+At+"|"),Mt=$t.measureText("||");St.cache[Pt]=(Nt-Mt)/100}else St.cache[Pt]=$t.measureText(At)/100}return St.cache[Pt]*kt}function yt(At){for(var Tt=0,kt=this.fonts.length;Tt<kt;){if(this.fonts[Tt].fName===At)return this.fonts[Tt];Tt+=1}return this.fonts[0]}function vt(At){var Tt=0,kt=At.charCodeAt(0);if(kt>=55296&&kt<=56319){var St=At.charCodeAt(1);St>=56320&&St<=57343&&(Tt=(kt-55296)*1024+St-56320+65536)}return Tt}function bt(At,Tt){var kt=At.toString(16)+Tt.toString(16);return ct.indexOf(kt)!==-1}function Et(At){return At===at}function _t(At){return At===st}function wt(At){var Tt=vt(At);return Tt>=ot&&Tt<=lt}function Rt(At){return wt(At.substr(0,2))&&wt(At.substr(2,2))}function Ct(At){return et.indexOf(At)!==-1}function jt(At,Tt){var kt=vt(At.substr(Tt,2));if(kt!==tt)return!1;var St=0;for(Tt+=2;St<5;){if(kt=vt(At.substr(Tt,2)),kt<nt||kt>it)return!1;St+=1,Tt+=2}return vt(At.substr(Tt,2))===rt}function Dt(){this.isLoaded=!0}var It=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};It.isModifier=bt,It.isZeroWidthJoiner=Et,It.isFlagEmoji=Rt,It.isRegionalCode=wt,It.isCombinedCharacter=Ct,It.isRegionalFlag=jt,It.isVariationSelector=_t,It.BLACK_FLAG_CODE_POINT=tt;var Ot={addChars:ft,addFonts:gt,getCharData:mt,getFontByName:yt,measureText:xt,checkLoadedFonts:ht,setIsLoaded:Dt};return It.prototype=Ot,It}();function SlotManager(_){this.animationData=_}SlotManager.prototype.getProp=function(_){return this.animationData.slots&&this.animationData.slots[_.sid]?Object.assign(_,this.animationData.slots[_.sid].p):_};function slotFactory(_){return new SlotManager(_)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(j){this.renderableComponents.indexOf(j)===-1&&this.renderableComponents.push(j)},removeRenderableComponent:function(j){this.renderableComponents.indexOf(j)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(j),1)},prepareRenderableFrame:function(j){this.checkLayerLimits(j)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(j){this.data.ip-this.data.st<=j&&this.data.op-this.data.st>j?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var j,et=this.renderableComponents.length;for(j=0;j<et;j+=1)this.renderableComponents[j].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var _={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(j){return _[j]||""}}();function SliderEffect(_,j,et){this.p=PropertyFactory.getProp(j,_.v,0,0,et)}function AngleEffect(_,j,et){this.p=PropertyFactory.getProp(j,_.v,0,0,et)}function ColorEffect(_,j,et){this.p=PropertyFactory.getProp(j,_.v,1,0,et)}function PointEffect(_,j,et){this.p=PropertyFactory.getProp(j,_.v,1,0,et)}function LayerIndexEffect(_,j,et){this.p=PropertyFactory.getProp(j,_.v,0,0,et)}function MaskIndexEffect(_,j,et){this.p=PropertyFactory.getProp(j,_.v,0,0,et)}function CheckboxEffect(_,j,et){this.p=PropertyFactory.getProp(j,_.v,0,0,et)}function NoValueEffect(){this.p={}}function EffectsManager(_,j){var et=_.ef||[];this.effectElements=[];var tt,rt=et.length,nt;for(tt=0;tt<rt;tt+=1)nt=new GroupEffect(et[tt],j),this.effectElements.push(nt)}function GroupEffect(_,j){this.init(_,j)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(_,j){this.data=_,this.effectElements=[],this.initDynamicPropertyContainer(j);var et,tt=this.data.ef.length,rt,nt=this.data.ef;for(et=0;et<tt;et+=1){switch(rt=null,nt[et].ty){case 0:rt=new SliderEffect(nt[et],j,this);break;case 1:rt=new AngleEffect(nt[et],j,this);break;case 2:rt=new ColorEffect(nt[et],j,this);break;case 3:rt=new PointEffect(nt[et],j,this);break;case 4:case 7:rt=new CheckboxEffect(nt[et],j,this);break;case 10:rt=new LayerIndexEffect(nt[et],j,this);break;case 11:rt=new MaskIndexEffect(nt[et],j,this);break;case 5:rt=new EffectsManager(nt[et],j);break;default:rt=new NoValueEffect(nt[et]);break}rt&&this.effectElements.push(rt)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var j=0,et=this.data.masksProperties.length;j<et;){if(this.data.masksProperties[j].mode!=="n"&&this.data.masksProperties[j].cl!==!1)return!0;j+=1}return!1},initExpressions:function(){var j=getExpressionInterfaces();if(j){var et=j("layer"),tt=j("effects"),rt=j("shape"),nt=j("text"),it=j("comp");this.layerInterface=et(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var st=tt.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(st),this.data.ty===0||this.data.xt?this.compInterface=it(this):this.data.ty===4?(this.layerInterface.shapeInterface=rt(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=nt(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var j=getBlendMode(this.data.bm),et=this.baseElement||this.layerElement;et.style["mix-blend-mode"]=j},initBaseData:function(j,et,tt){this.globalData=et,this.comp=tt,this.data=j,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(j,et){var tt,rt=this.dynamicProperties.length;for(tt=0;tt<rt;tt+=1)(et||this._isParent&&this.dynamicProperties[tt].propType==="transform")&&(this.dynamicProperties[tt].getValue(),this.dynamicProperties[tt]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(j){this.dynamicProperties.indexOf(j)===-1&&this.dynamicProperties.push(j)}};function FootageElement(_,j,et){this.initFrame(),this.initRenderable(),this.assetData=j.getAssetData(_.refId),this.footageData=j.imageLoader.getAsset(this.assetData),this.initBaseData(_,j,et)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var _=getExpressionInterfaces();if(_){var j=_("footage");this.layerInterface=j(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(_,j,et){this.initFrame(),this.initRenderable(),this.assetData=j.getAssetData(_.refId),this.initBaseData(_,j,et),this._isPlaying=!1,this._canPlay=!1;var tt=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(tt),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=_.tm?PropertyFactory.getProp(this,_.tm,0,j.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,_.au&&_.au.lv?_.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(_){if(this.prepareRenderableFrame(_,!0),this.prepareProperties(_,!0),this.tm._placeholder)this._currentTime=_/this.data.sr;else{var j=this.tm.v;this._currentTime=j}this._volume=this.lv.v[0];var et=this._volume*this._volumeMultiplier;this._previousVolume!==et&&(this._previousVolume=et,this.audio.volume(et))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(_){this.audio.rate(_)},AudioElement.prototype.volume=function(_){this._volumeMultiplier=_,this._previousVolume=_*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){};function BaseRenderer(){}BaseRenderer.prototype.checkLayers=function(_){var j,et=this.layers.length,tt;for(this.completeLayers=!0,j=et-1;j>=0;j-=1)this.elements[j]||(tt=this.layers[j],tt.ip-tt.st<=_-this.layers[j].st&&tt.op-tt.st>_-this.layers[j].st&&this.buildItem(j)),this.completeLayers=this.elements[j]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(_){switch(_.ty){case 2:return this.createImage(_);case 0:return this.createComp(_);case 1:return this.createSolid(_);case 3:return this.createNull(_);case 4:return this.createShape(_);case 5:return this.createText(_);case 6:return this.createAudio(_);case 13:return this.createCamera(_);case 15:return this.createFootage(_);default:return this.createNull(_)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(_){return new AudioElement(_,this.globalData,this)},BaseRenderer.prototype.createFootage=function(_){return new FootageElement(_,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var _,j=this.layers.length;for(_=0;_<j;_+=1)this.buildItem(_);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(_){this.completeLayers=!1;var j,et=_.length,tt,rt=this.layers.length;for(j=0;j<et;j+=1)for(tt=0;tt<rt;){if(this.layers[tt].id===_[j].id){this.layers[tt]=_[j];break}tt+=1}},BaseRenderer.prototype.setProjectInterface=function(_){this.globalData.projectInterface=_},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(_,j,et){for(var tt=this.elements,rt=this.layers,nt=0,it=rt.length;nt<it;)rt[nt].ind==j&&(!tt[nt]||tt[nt]===!0?(this.buildItem(nt),this.addPendingElement(_)):(et.push(tt[nt]),tt[nt].setAsParent(),rt[nt].parent!==void 0?this.buildElementParenting(_,rt[nt].parent,et):_.setHierarchy(et))),nt+=1},BaseRenderer.prototype.addPendingElement=function(_){this.pendingElements.push(_)},BaseRenderer.prototype.searchExtraCompositions=function(_){var j,et=_.length;for(j=0;j<et;j+=1)if(_[j].xt){var tt=this.createComp(_[j]);tt.initExpressions(),this.globalData.projectInterface.registerComposition(tt)}},BaseRenderer.prototype.getElementById=function(_){var j,et=this.elements.length;for(j=0;j<et;j+=1)if(this.elements[j].data.ind===_)return this.elements[j];return null},BaseRenderer.prototype.getElementByPath=function(_){var j=_.shift(),et;if(typeof j=="number")et=this.elements[j];else{var tt,rt=this.elements.length;for(tt=0;tt<rt;tt+=1)if(this.elements[tt].data.nm===j){et=this.elements[tt];break}}return _.length===0?et:et.getElementByPath(_)},BaseRenderer.prototype.setupGlobalData=function(_,j){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(_),this.globalData.fontManager.addChars(_.chars),this.globalData.fontManager.addFonts(_.fonts,j),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=_.fr,this.globalData.nm=_.nm,this.globalData.compSize={w:_.w,h:_.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}TransformElement.prototype={initTransform:function(){var j=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:j,localMat:j,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var j,et=this.finalTransform.mat,tt=0,rt=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;tt<rt;){if(this.hierarchy[tt].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}tt+=1}if(this.finalTransform._matMdf)for(j=this.finalTransform.mProp.v.props,et.cloneFromProps(j),tt=0;tt<rt;tt+=1)et.multiply(this.hierarchy[tt].finalTransform.mProp.v)}(!this.localTransforms||this.finalTransform._matMdf)&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var j=0,et=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;j<et;)this.localTransforms[j]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[j]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),j+=1;if(this.finalTransform._localMatMdf){var tt=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(tt),j=1;j<et;j+=1){var rt=this.localTransforms[j].matrix;tt.multiply(rt)}tt.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var nt=this.finalTransform.localOpacity;for(j=0;j<et;j+=1)nt*=this.localTransforms[j].opacity*.01;this.finalTransform.localOpacity=nt}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var j=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(j.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var et=0,tt=j.length;for(et=0;et<tt;et+=1)this.localTransforms.push(j[et])}}},globalToLocal:function(j){var et=[];et.push(this.finalTransform);for(var tt=!0,rt=this.comp;tt;)rt.finalTransform?(rt.data.hasMask&&et.splice(0,0,rt.finalTransform),rt=rt.comp):tt=!1;var nt,it=et.length,st;for(nt=0;nt<it;nt+=1)st=et[nt].mat.applyToPointArray(0,0,0),j=[j[0]-st[0],j[1]-st[1],0];return j},mHelper:new Matrix};function MaskElement(_,j,et){this.data=_,this.element=j,this.globalData=et,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var tt=this.globalData.defs,rt,nt=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(nt),this.solidPath="";var it,st=this.masksProperties,at=0,ot=[],lt,ct,ut=createElementID(),dt,ht,pt,gt,ft="clipPath",mt="clip-path";for(rt=0;rt<nt;rt+=1)if((st[rt].mode!=="a"&&st[rt].mode!=="n"||st[rt].inv||st[rt].o.k!==100||st[rt].o.x)&&(ft="mask",mt="mask"),(st[rt].mode==="s"||st[rt].mode==="i")&&at===0?(dt=createNS("rect"),dt.setAttribute("fill","#ffffff"),dt.setAttribute("width",this.element.comp.data.w||0),dt.setAttribute("height",this.element.comp.data.h||0),ot.push(dt)):dt=null,it=createNS("path"),st[rt].mode==="n")this.viewData[rt]={op:PropertyFactory.getProp(this.element,st[rt].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,st[rt],3),elem:it,lastPath:""},tt.appendChild(it);else{at+=1,it.setAttribute("fill",st[rt].mode==="s"?"#000000":"#ffffff"),it.setAttribute("clip-rule","nonzero");var xt;if(st[rt].x.k!==0?(ft="mask",mt="mask",gt=PropertyFactory.getProp(this.element,st[rt].x,0,null,this.element),xt=createElementID(),ht=createNS("filter"),ht.setAttribute("id",xt),pt=createNS("feMorphology"),pt.setAttribute("operator","erode"),pt.setAttribute("in","SourceGraphic"),pt.setAttribute("radius","0"),ht.appendChild(pt),tt.appendChild(ht),it.setAttribute("stroke",st[rt].mode==="s"?"#000000":"#ffffff")):(pt=null,gt=null),this.storedData[rt]={elem:it,x:gt,expan:pt,lastPath:"",lastOperator:"",filterId:xt,lastRadius:0},st[rt].mode==="i"){ct=ot.length;var yt=createNS("g");for(lt=0;lt<ct;lt+=1)yt.appendChild(ot[lt]);var vt=createNS("mask");vt.setAttribute("mask-type","alpha"),vt.setAttribute("id",ut+"_"+at),vt.appendChild(it),tt.appendChild(vt),yt.setAttribute("mask","url("+getLocationHref()+"#"+ut+"_"+at+")"),ot.length=0,ot.push(yt)}else ot.push(it);st[rt].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[rt]={elem:it,lastPath:"",op:PropertyFactory.getProp(this.element,st[rt].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,st[rt],3),invRect:dt},this.viewData[rt].prop.k||this.drawPath(st[rt],this.viewData[rt].prop.v,this.viewData[rt])}for(this.maskElement=createNS(ft),nt=ot.length,rt=0;rt<nt;rt+=1)this.maskElement.appendChild(ot[rt]);at>0&&(this.maskElement.setAttribute("id",ut),this.element.maskedElement.setAttribute(mt,"url("+getLocationHref()+"#"+ut+")"),tt.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(_){return this.viewData[_].prop},MaskElement.prototype.renderFrame=function(_){var j=this.element.finalTransform.mat,et,tt=this.masksProperties.length;for(et=0;et<tt;et+=1)if((this.viewData[et].prop._mdf||_)&&this.drawPath(this.masksProperties[et],this.viewData[et].prop.v,this.viewData[et]),(this.viewData[et].op._mdf||_)&&this.viewData[et].elem.setAttribute("fill-opacity",this.viewData[et].op.v),this.masksProperties[et].mode!=="n"&&(this.viewData[et].invRect&&(this.element.finalTransform.mProp._mdf||_)&&this.viewData[et].invRect.setAttribute("transform",j.getInverseMatrix().to2dCSS()),this.storedData[et].x&&(this.storedData[et].x._mdf||_))){var rt=this.storedData[et].expan;this.storedData[et].x.v<0?(this.storedData[et].lastOperator!=="erode"&&(this.storedData[et].lastOperator="erode",this.storedData[et].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[et].filterId+")")),rt.setAttribute("radius",-this.storedData[et].x.v)):(this.storedData[et].lastOperator!=="dilate"&&(this.storedData[et].lastOperator="dilate",this.storedData[et].elem.setAttribute("filter",null)),this.storedData[et].elem.setAttribute("stroke-width",this.storedData[et].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var _="M0,0 ";return _+=" h"+this.globalData.compSize.w,_+=" v"+this.globalData.compSize.h,_+=" h-"+this.globalData.compSize.w,_+=" v-"+this.globalData.compSize.h+" ",_},MaskElement.prototype.drawPath=function(_,j,et){var tt=" M"+j.v[0][0]+","+j.v[0][1],rt,nt;for(nt=j._length,rt=1;rt<nt;rt+=1)tt+=" C"+j.o[rt-1][0]+","+j.o[rt-1][1]+" "+j.i[rt][0]+","+j.i[rt][1]+" "+j.v[rt][0]+","+j.v[rt][1];if(j.c&&nt>1&&(tt+=" C"+j.o[rt-1][0]+","+j.o[rt-1][1]+" "+j.i[0][0]+","+j.i[0][1]+" "+j.v[0][0]+","+j.v[0][1]),et.lastPath!==tt){var it="";et.elem&&(j.c&&(it=_.inv?this.solidPath+tt:tt),et.elem.setAttribute("d",it)),et.lastPath=tt}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var _={};_.createFilter=j,_.createAlphaToLuminanceFilter=et;function j(tt,rt){var nt=createNS("filter");return nt.setAttribute("id",tt),rt!==!0&&(nt.setAttribute("filterUnits","objectBoundingBox"),nt.setAttribute("x","0%"),nt.setAttribute("y","0%"),nt.setAttribute("width","100%"),nt.setAttribute("height","100%")),nt}function et(){var tt=createNS("feColorMatrix");return tt.setAttribute("type","matrix"),tt.setAttribute("color-interpolation-filters","sRGB"),tt.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),tt}return _}(),featureSupport=function(){var _={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(_.maskType=!1),/firefox/i.test(navigator.userAgent)&&(_.svgLumaHidden=!1),_}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(_){var j,et="SourceGraphic",tt=_.data.ef?_.data.ef.length:0,rt=createElementID(),nt=filtersFactory.createFilter(rt,!0),it=0;this.filters=[];var st;for(j=0;j<tt;j+=1){st=null;var at=_.data.ef[j].ty;if(registeredEffects$1[at]){var ot=registeredEffects$1[at].effect;st=new ot(nt,_.effectsManager.effectElements[j],_,idPrefix+it,et),et=idPrefix+it,registeredEffects$1[at].countsAsEffect&&(it+=1)}st&&this.filters.push(st)}it&&(_.globalData.defs.appendChild(nt),_.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+rt+")")),this.filters.length&&_.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(_){var j,et=this.filters.length;for(j=0;j<et;j+=1)this.filters[j].renderFrame(_)},SVGEffects.prototype.getEffects=function(_){var j,et=this.filters.length,tt=[];for(j=0;j<et;j+=1)this.filters[j].type===_&&tt.push(this.filters[j]);return tt};function registerEffect$1(_,j,et){registeredEffects$1[_]={effect:j,countsAsEffect:et}}function SVGBaseElement(){}SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var j=null;if(this.data.td){this.matteMasks={};var et=createNS("g");et.setAttribute("id",this.layerId),et.appendChild(this.layerElement),j=et,this.globalData.defs.appendChild(et)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),j=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var tt=createNS("clipPath"),rt=createNS("path");rt.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var nt=createElementID();if(tt.setAttribute("id",nt),tt.appendChild(rt),this.globalData.defs.appendChild(tt),this.checkMasks()){var it=createNS("g");it.setAttribute("clip-path","url("+getLocationHref()+"#"+nt+")"),it.appendChild(this.layerElement),this.transformedElement=it,j?j.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+nt+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(j){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[j]){var et=this.layerId+"_"+j,tt,rt,nt,it;if(j===1||j===3){var st=createNS("mask");st.setAttribute("id",et),st.setAttribute("mask-type",j===3?"luminance":"alpha"),nt=createNS("use"),nt.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),st.appendChild(nt),this.globalData.defs.appendChild(st),!featureSupport.maskType&&j===1&&(st.setAttribute("mask-type","luminance"),tt=createElementID(),rt=filtersFactory.createFilter(tt),this.globalData.defs.appendChild(rt),rt.appendChild(filtersFactory.createAlphaToLuminanceFilter()),it=createNS("g"),it.appendChild(nt),st.appendChild(it),it.setAttribute("filter","url("+getLocationHref()+"#"+tt+")"))}else if(j===2){var at=createNS("mask");at.setAttribute("id",et),at.setAttribute("mask-type","alpha");var ot=createNS("g");at.appendChild(ot),tt=createElementID(),rt=filtersFactory.createFilter(tt);var lt=createNS("feComponentTransfer");lt.setAttribute("in","SourceGraphic"),rt.appendChild(lt);var ct=createNS("feFuncA");ct.setAttribute("type","table"),ct.setAttribute("tableValues","1.0 0.0"),lt.appendChild(ct),this.globalData.defs.appendChild(rt);var ut=createNS("rect");ut.setAttribute("width",this.comp.data.w),ut.setAttribute("height",this.comp.data.h),ut.setAttribute("x","0"),ut.setAttribute("y","0"),ut.setAttribute("fill","#ffffff"),ut.setAttribute("opacity","0"),ot.setAttribute("filter","url("+getLocationHref()+"#"+tt+")"),ot.appendChild(ut),nt=createNS("use"),nt.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),ot.appendChild(nt),featureSupport.maskType||(at.setAttribute("mask-type","luminance"),rt.appendChild(filtersFactory.createAlphaToLuminanceFilter()),it=createNS("g"),ot.appendChild(ut),it.appendChild(this.layerElement),ot.appendChild(it)),this.globalData.defs.appendChild(at)}this.matteMasks[j]=et}return this.matteMasks[j]},setMatte:function(j){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+j+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(j){this.hierarchy=j},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var _={initElement:function(et,tt,rt){this.initFrame(),this.initBaseData(et,tt,rt),this.initTransform(et,tt,rt),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var et=this.baseElement||this.layerElement;et.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var et=this.baseElement||this.layerElement;et.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(et){this._mdf=!1,this.prepareRenderableFrame(et),this.prepareProperties(et,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(_)],RenderableDOMElement)})();function IImageElement(_,j,et){this.assetData=j.getAssetData(_.refId),this.assetData&&this.assetData.sid&&(this.assetData=j.slotManager.getProp(this.assetData)),this.initElement(_,j,et),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var _=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",_),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(_,j){this.elem=_,this.pos=j}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(j){var et,tt=this.shapeModifiers.length;for(et=0;et<tt;et+=1)this.shapeModifiers[et].addShape(j)},isShapeInAnimatedModifiers:function(j){for(var et=0,tt=this.shapeModifiers.length;et<tt;)if(this.shapeModifiers[et].isAnimatedWithShape(j))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var j,et=this.shapes.length;for(j=0;j<et;j+=1)this.shapes[j].sh.reset();et=this.shapeModifiers.length;var tt;for(j=et-1;j>=0&&(tt=this.shapeModifiers[j].processShapes(this._isFirstFrame),!tt);j-=1);}},searchProcessedElement:function(j){for(var et=this.processedElements,tt=0,rt=et.length;tt<rt;){if(et[tt].elem===j)return et[tt].pos;tt+=1}return 0},addProcessedElement:function(j,et){for(var tt=this.processedElements,rt=tt.length;rt;)if(rt-=1,tt[rt].elem===j){tt[rt].pos=et;return}tt.push(new ProcessedElement(j,et))},prepareFrame:function(j){this.prepareRenderableFrame(j),this.prepareProperties(j,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(_,j,et){this.caches=[],this.styles=[],this.transformers=_,this.lStr="",this.sh=et,this.lvl=j,this._isAnimated=!!et.k;for(var tt=0,rt=_.length;tt<rt;){if(_[tt].mProps.dynamicProperties.length){this._isAnimated=!0;break}tt+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(_,j){this.data=_,this.type=_.ty,this.d="",this.lvl=j,this._mdf=!1,this.closed=_.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(_,j,et,tt){this.elem=_,this.frameId=-1,this.dataProps=createSizedArray(j.length),this.renderer=et,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",j.length?j.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(tt);var rt,nt=j.length||0,it;for(rt=0;rt<nt;rt+=1)it=PropertyFactory.getProp(_,j[rt].v,0,0,this),this.k=it.k||this.k,this.dataProps[rt]={n:j[rt].n,p:it};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(_){if(!(this.elem.globalData.frameId===this.frameId&&!_)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||_,this._mdf)){var j=0,et=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),j=0;j<et;j+=1)this.dataProps[j].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[j].p.v:this.dashArray[j]=this.dataProps[j].p.v:this.dashoffset[0]=this.dataProps[j].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(_,j,et){this.initDynamicPropertyContainer(_),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(_,j.o,0,.01,this),this.w=PropertyFactory.getProp(_,j.w,0,null,this),this.d=new DashProperty(_,j.d||{},"svg",this),this.c=PropertyFactory.getProp(_,j.c,1,255,this),this.style=et,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(_,j,et){this.initDynamicPropertyContainer(_),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(_,j.o,0,.01,this),this.c=PropertyFactory.getProp(_,j.c,1,255,this),this.style=et}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(_,j,et){this.initDynamicPropertyContainer(_),this.getValue=this.iterateDynamicProperties,this.style=et}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(_,j,et){this.data=j,this.c=createTypedArray("uint8c",j.p*4);var tt=j.k.k[0].s?j.k.k[0].s.length-j.p*4:j.k.k.length-j.p*4;this.o=createTypedArray("float32",tt),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=tt,this.initDynamicPropertyContainer(et),this.prop=PropertyFactory.getProp(_,j.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(_,j){for(var et=0,tt=this.o.length/2,rt;et<tt;){if(rt=Math.abs(_[et*4]-_[j*4+et*2]),rt>.01)return!1;et+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var _=0,j=this.data.k.k.length;_<j;){if(!this.comparePoints(this.data.k.k[_].s,this.data.p))return!1;_+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(_){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||_){var j,et=this.data.p*4,tt,rt;for(j=0;j<et;j+=1)tt=j%4===0?100:255,rt=Math.round(this.prop.v[j]*tt),this.c[j]!==rt&&(this.c[j]=rt,this._cmdf=!_);if(this.o.length)for(et=this.prop.v.length,j=this.data.p*4;j<et;j+=1)tt=j%2===0?100:1,rt=j%2===0?Math.round(this.prop.v[j]*100):this.prop.v[j],this.o[j-this.data.p*4]!==rt&&(this.o[j-this.data.p*4]=rt,this._omdf=!_);this._mdf=!_}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(_,j,et){this.initDynamicPropertyContainer(_),this.getValue=this.iterateDynamicProperties,this.initGradientData(_,j,et)}SVGGradientFillStyleData.prototype.initGradientData=function(_,j,et){this.o=PropertyFactory.getProp(_,j.o,0,.01,this),this.s=PropertyFactory.getProp(_,j.s,1,null,this),this.e=PropertyFactory.getProp(_,j.e,1,null,this),this.h=PropertyFactory.getProp(_,j.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(_,j.a||{k:0},0,degToRads,this),this.g=new GradientProperty(_,j.g,this),this.style=et,this.stops=[],this.setGradientData(et.pElem,j),this.setGradientOpacity(j,et),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(_,j){var et=createElementID(),tt=createNS(j.t===1?"linearGradient":"radialGradient");tt.setAttribute("id",et),tt.setAttribute("spreadMethod","pad"),tt.setAttribute("gradientUnits","userSpaceOnUse");var rt=[],nt,it,st;for(st=j.g.p*4,it=0;it<st;it+=4)nt=createNS("stop"),tt.appendChild(nt),rt.push(nt);_.setAttribute(j.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+et+")"),this.gf=tt,this.cst=rt},SVGGradientFillStyleData.prototype.setGradientOpacity=function(_,j){if(this.g._hasOpacity&&!this.g._collapsable){var et,tt,rt,nt=createNS("mask"),it=createNS("path");nt.appendChild(it);var st=createElementID(),at=createElementID();nt.setAttribute("id",at);var ot=createNS(_.t===1?"linearGradient":"radialGradient");ot.setAttribute("id",st),ot.setAttribute("spreadMethod","pad"),ot.setAttribute("gradientUnits","userSpaceOnUse"),rt=_.g.k.k[0].s?_.g.k.k[0].s.length:_.g.k.k.length;var lt=this.stops;for(tt=_.g.p*4;tt<rt;tt+=2)et=createNS("stop"),et.setAttribute("stop-color","rgb(255,255,255)"),ot.appendChild(et),lt.push(et);it.setAttribute(_.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+st+")"),_.ty==="gs"&&(it.setAttribute("stroke-linecap",lineCapEnum[_.lc||2]),it.setAttribute("stroke-linejoin",lineJoinEnum[_.lj||2]),_.lj===1&&it.setAttribute("stroke-miterlimit",_.ml)),this.of=ot,this.ms=nt,this.ost=lt,this.maskId=at,j.msElem=it}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(_,j,et){this.initDynamicPropertyContainer(_),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(_,j.w,0,null,this),this.d=new DashProperty(_,j.d||{},"svg",this),this.initGradientData(_,j,et),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(_,j,et){this.transform={mProps:_,op:j,container:et},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(j,et,tt,rt){if(et===0)return"";var nt=j.o,it=j.i,st=j.v,at,ot=" M"+rt.applyToPointStringified(st[0][0],st[0][1]);for(at=1;at<et;at+=1)ot+=" C"+rt.applyToPointStringified(nt[at-1][0],nt[at-1][1])+" "+rt.applyToPointStringified(it[at][0],it[at][1])+" "+rt.applyToPointStringified(st[at][0],st[at][1]);return tt&&et&&(ot+=" C"+rt.applyToPointStringified(nt[at-1][0],nt[at-1][1])+" "+rt.applyToPointStringified(it[0][0],it[0][1])+" "+rt.applyToPointStringified(st[0][0],st[0][1]),ot+="z"),ot},SVGElementsRenderer=function(){var _=new Matrix,j=new Matrix,et={createRenderFunction:tt};function tt(ct){switch(ct.ty){case"fl":return st;case"gf":return ot;case"gs":return at;case"st":return lt;case"sh":case"el":case"rc":case"sr":return it;case"tr":return rt;case"no":return nt;default:return null}}function rt(ct,ut,dt){(dt||ut.transform.op._mdf)&&ut.transform.container.setAttribute("opacity",ut.transform.op.v),(dt||ut.transform.mProps._mdf)&&ut.transform.container.setAttribute("transform",ut.transform.mProps.v.to2dCSS())}function nt(){}function it(ct,ut,dt){var ht,pt,gt,ft,mt,xt,yt=ut.styles.length,vt=ut.lvl,bt,Et,_t,wt;for(xt=0;xt<yt;xt+=1){if(ft=ut.sh._mdf||dt,ut.styles[xt].lvl<vt){for(Et=j.reset(),_t=vt-ut.styles[xt].lvl,wt=ut.transformers.length-1;!ft&&_t>0;)ft=ut.transformers[wt].mProps._mdf||ft,_t-=1,wt-=1;if(ft)for(_t=vt-ut.styles[xt].lvl,wt=ut.transformers.length-1;_t>0;)Et.multiply(ut.transformers[wt].mProps.v),_t-=1,wt-=1}else Et=_;if(bt=ut.sh.paths,pt=bt._length,ft){for(gt="",ht=0;ht<pt;ht+=1)mt=bt.shapes[ht],mt&&mt._length&&(gt+=buildShapeString(mt,mt._length,mt.c,Et));ut.caches[xt]=gt}else gt=ut.caches[xt];ut.styles[xt].d+=ct.hd===!0?"":gt,ut.styles[xt]._mdf=ft||ut.styles[xt]._mdf}}function st(ct,ut,dt){var ht=ut.style;(ut.c._mdf||dt)&&ht.pElem.setAttribute("fill","rgb("+bmFloor(ut.c.v[0])+","+bmFloor(ut.c.v[1])+","+bmFloor(ut.c.v[2])+")"),(ut.o._mdf||dt)&&ht.pElem.setAttribute("fill-opacity",ut.o.v)}function at(ct,ut,dt){ot(ct,ut,dt),lt(ct,ut,dt)}function ot(ct,ut,dt){var ht=ut.gf,pt=ut.g._hasOpacity,gt=ut.s.v,ft=ut.e.v;if(ut.o._mdf||dt){var mt=ct.ty==="gf"?"fill-opacity":"stroke-opacity";ut.style.pElem.setAttribute(mt,ut.o.v)}if(ut.s._mdf||dt){var xt=ct.t===1?"x1":"cx",yt=xt==="x1"?"y1":"cy";ht.setAttribute(xt,gt[0]),ht.setAttribute(yt,gt[1]),pt&&!ut.g._collapsable&&(ut.of.setAttribute(xt,gt[0]),ut.of.setAttribute(yt,gt[1]))}var vt,bt,Et,_t;if(ut.g._cmdf||dt){vt=ut.cst;var wt=ut.g.c;for(Et=vt.length,bt=0;bt<Et;bt+=1)_t=vt[bt],_t.setAttribute("offset",wt[bt*4]+"%"),_t.setAttribute("stop-color","rgb("+wt[bt*4+1]+","+wt[bt*4+2]+","+wt[bt*4+3]+")")}if(pt&&(ut.g._omdf||dt)){var Rt=ut.g.o;for(ut.g._collapsable?vt=ut.cst:vt=ut.ost,Et=vt.length,bt=0;bt<Et;bt+=1)_t=vt[bt],ut.g._collapsable||_t.setAttribute("offset",Rt[bt*2]+"%"),_t.setAttribute("stop-opacity",Rt[bt*2+1])}if(ct.t===1)(ut.e._mdf||dt)&&(ht.setAttribute("x2",ft[0]),ht.setAttribute("y2",ft[1]),pt&&!ut.g._collapsable&&(ut.of.setAttribute("x2",ft[0]),ut.of.setAttribute("y2",ft[1])));else{var Ct;if((ut.s._mdf||ut.e._mdf||dt)&&(Ct=Math.sqrt(Math.pow(gt[0]-ft[0],2)+Math.pow(gt[1]-ft[1],2)),ht.setAttribute("r",Ct),pt&&!ut.g._collapsable&&ut.of.setAttribute("r",Ct)),ut.s._mdf||ut.e._mdf||ut.h._mdf||ut.a._mdf||dt){Ct||(Ct=Math.sqrt(Math.pow(gt[0]-ft[0],2)+Math.pow(gt[1]-ft[1],2)));var jt=Math.atan2(ft[1]-gt[1],ft[0]-gt[0]),Dt=ut.h.v;Dt>=1?Dt=.99:Dt<=-1&&(Dt=-.99);var It=Ct*Dt,Ot=Math.cos(jt+ut.a.v)*It+gt[0],At=Math.sin(jt+ut.a.v)*It+gt[1];ht.setAttribute("fx",Ot),ht.setAttribute("fy",At),pt&&!ut.g._collapsable&&(ut.of.setAttribute("fx",Ot),ut.of.setAttribute("fy",At))}}}function lt(ct,ut,dt){var ht=ut.style,pt=ut.d;pt&&(pt._mdf||dt)&&pt.dashStr&&(ht.pElem.setAttribute("stroke-dasharray",pt.dashStr),ht.pElem.setAttribute("stroke-dashoffset",pt.dashoffset[0])),ut.c&&(ut.c._mdf||dt)&&ht.pElem.setAttribute("stroke","rgb("+bmFloor(ut.c.v[0])+","+bmFloor(ut.c.v[1])+","+bmFloor(ut.c.v[2])+")"),(ut.o._mdf||dt)&&ht.pElem.setAttribute("stroke-opacity",ut.o.v),(ut.w._mdf||dt)&&(ht.pElem.setAttribute("stroke-width",ut.w.v),ht.msElem&&ht.msElem.setAttribute("stroke-width",ut.w.v))}return et}();function SVGShapeElement(_,j,et){this.shapes=[],this.shapesData=_.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(_,j,et),this.prevViewData=[]}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var _,j=this.shapes.length,et,tt,rt=this.stylesList.length,nt,it=[],st=!1;for(tt=0;tt<rt;tt+=1){for(nt=this.stylesList[tt],st=!1,it.length=0,_=0;_<j;_+=1)et=this.shapes[_],et.styles.indexOf(nt)!==-1&&(it.push(et),st=et._isAnimated||st);it.length>1&&st&&this.setShapesAsAnimated(it)}},SVGShapeElement.prototype.setShapesAsAnimated=function(_){var j,et=_.length;for(j=0;j<et;j+=1)_[j].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(_,j){var et,tt=new SVGStyleData(_,j),rt=tt.pElem;if(_.ty==="st")et=new SVGStrokeStyleData(this,_,tt);else if(_.ty==="fl")et=new SVGFillStyleData(this,_,tt);else if(_.ty==="gf"||_.ty==="gs"){var nt=_.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;et=new nt(this,_,tt),this.globalData.defs.appendChild(et.gf),et.maskId&&(this.globalData.defs.appendChild(et.ms),this.globalData.defs.appendChild(et.of),rt.setAttribute("mask","url("+getLocationHref()+"#"+et.maskId+")"))}else _.ty==="no"&&(et=new SVGNoStyleData(this,_,tt));return(_.ty==="st"||_.ty==="gs")&&(rt.setAttribute("stroke-linecap",lineCapEnum[_.lc||2]),rt.setAttribute("stroke-linejoin",lineJoinEnum[_.lj||2]),rt.setAttribute("fill-opacity","0"),_.lj===1&&rt.setAttribute("stroke-miterlimit",_.ml)),_.r===2&&rt.setAttribute("fill-rule","evenodd"),_.ln&&rt.setAttribute("id",_.ln),_.cl&&rt.setAttribute("class",_.cl),_.bm&&(rt.style["mix-blend-mode"]=getBlendMode(_.bm)),this.stylesList.push(tt),this.addToAnimatedContents(_,et),et},SVGShapeElement.prototype.createGroupElement=function(_){var j=new ShapeGroupData;return _.ln&&j.gr.setAttribute("id",_.ln),_.cl&&j.gr.setAttribute("class",_.cl),_.bm&&(j.gr.style["mix-blend-mode"]=getBlendMode(_.bm)),j},SVGShapeElement.prototype.createTransformElement=function(_,j){var et=TransformPropertyFactory.getTransformProperty(this,_,this),tt=new SVGTransformData(et,et.o,j);return this.addToAnimatedContents(_,tt),tt},SVGShapeElement.prototype.createShapeElement=function(_,j,et){var tt=4;_.ty==="rc"?tt=5:_.ty==="el"?tt=6:_.ty==="sr"&&(tt=7);var rt=ShapePropertyFactory.getShapeProp(this,_,tt,this),nt=new SVGShapeData(j,et,rt);return this.shapes.push(nt),this.addShapeToModifiers(nt),this.addToAnimatedContents(_,nt),nt},SVGShapeElement.prototype.addToAnimatedContents=function(_,j){for(var et=0,tt=this.animatedContents.length;et<tt;){if(this.animatedContents[et].element===j)return;et+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(_),element:j,data:_})},SVGShapeElement.prototype.setElementStyles=function(_){var j=_.styles,et,tt=this.stylesList.length;for(et=0;et<tt;et+=1)j.indexOf(this.stylesList[et])===-1&&!this.stylesList[et].closed&&j.push(this.stylesList[et])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var _,j=this.itemsData.length;for(_=0;_<j;_+=1)this.prevViewData[_]=this.itemsData[_];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),j=this.dynamicProperties.length,_=0;_<j;_+=1)this.dynamicProperties[_].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(_,j,et,tt,rt,nt,it){var st=[].concat(nt),at,ot=_.length-1,lt,ct,ut=[],dt=[],ht,pt,gt;for(at=ot;at>=0;at-=1){if(gt=this.searchProcessedElement(_[at]),gt?j[at]=et[gt-1]:_[at]._render=it,_[at].ty==="fl"||_[at].ty==="st"||_[at].ty==="gf"||_[at].ty==="gs"||_[at].ty==="no")gt?j[at].style.closed=_[at].hd:j[at]=this.createStyleElement(_[at],rt),_[at]._render&&j[at].style.pElem.parentNode!==tt&&tt.appendChild(j[at].style.pElem),ut.push(j[at].style);else if(_[at].ty==="gr"){if(!gt)j[at]=this.createGroupElement(_[at]);else for(ct=j[at].it.length,lt=0;lt<ct;lt+=1)j[at].prevViewData[lt]=j[at].it[lt];this.searchShapes(_[at].it,j[at].it,j[at].prevViewData,j[at].gr,rt+1,st,it),_[at]._render&&j[at].gr.parentNode!==tt&&tt.appendChild(j[at].gr)}else _[at].ty==="tr"?(gt||(j[at]=this.createTransformElement(_[at],tt)),ht=j[at].transform,st.push(ht)):_[at].ty==="sh"||_[at].ty==="rc"||_[at].ty==="el"||_[at].ty==="sr"?(gt||(j[at]=this.createShapeElement(_[at],st,rt)),this.setElementStyles(j[at])):_[at].ty==="tm"||_[at].ty==="rd"||_[at].ty==="ms"||_[at].ty==="pb"||_[at].ty==="zz"||_[at].ty==="op"?(gt?(pt=j[at],pt.closed=!1):(pt=ShapeModifiers.getModifier(_[at].ty),pt.init(this,_[at]),j[at]=pt,this.shapeModifiers.push(pt)),dt.push(pt)):_[at].ty==="rp"&&(gt?(pt=j[at],pt.closed=!0):(pt=ShapeModifiers.getModifier(_[at].ty),j[at]=pt,pt.init(this,_,at,j),this.shapeModifiers.push(pt),it=!1),dt.push(pt));this.addProcessedElement(_[at],at+1)}for(ot=ut.length,at=0;at<ot;at+=1)ut[at].closed=!0;for(ot=dt.length,at=0;at<ot;at+=1)dt[at].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var _,j=this.stylesList.length;for(_=0;_<j;_+=1)this.stylesList[_].reset();for(this.renderShape(),_=0;_<j;_+=1)(this.stylesList[_]._mdf||this._isFirstFrame)&&(this.stylesList[_].msElem&&(this.stylesList[_].msElem.setAttribute("d",this.stylesList[_].d),this.stylesList[_].d="M0 0"+this.stylesList[_].d),this.stylesList[_].pElem.setAttribute("d",this.stylesList[_].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var _,j=this.animatedContents.length,et;for(_=0;_<j;_+=1)et=this.animatedContents[_],(this._isFirstFrame||et.element._isAnimated)&&et.data!==!0&&et.fn(et.data,et.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(_,j,et,tt,rt,nt){this.o=_,this.sw=j,this.sc=et,this.fc=tt,this.m=rt,this.p=nt,this._mdf={o:!0,sw:!!j,sc:!!et,fc:!!tt,m:!0,p:!0}}LetterProps.prototype.update=function(_,j,et,tt,rt,nt){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var it=!1;return this.o!==_&&(this.o=_,this._mdf.o=!0,it=!0),this.sw!==j&&(this.sw=j,this._mdf.sw=!0,it=!0),this.sc!==et&&(this.sc=et,this._mdf.sc=!0,it=!0),this.fc!==tt&&(this.fc=tt,this._mdf.fc=!0,it=!0),this.m!==rt&&(this.m=rt,this._mdf.m=!0,it=!0),nt.length&&(this.p[0]!==nt[0]||this.p[1]!==nt[1]||this.p[4]!==nt[4]||this.p[5]!==nt[5]||this.p[12]!==nt[12]||this.p[13]!==nt[13])&&(this.p=nt,this._mdf.p=!0,it=!0),it};function TextProperty(_,j){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,j.d&&j.d.sid&&(j.d=_.globalData.slotManager.getProp(j.d)),this.data=j,this.elem=_,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(_,j){for(var et in j)Object.prototype.hasOwnProperty.call(j,et)&&(_[et]=j[et]);return _},TextProperty.prototype.setCurrentData=function(_){_.__complete||this.completeTextData(_),this.currentData=_,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(_){this.effectsSequence.push(_),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(_){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!_)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var j=this.currentData,et=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var tt,rt=this.effectsSequence.length,nt=_||this.data.d.k[this.keysIndex].s;for(tt=0;tt<rt;tt+=1)et!==this.keysIndex?nt=this.effectsSequence[tt](nt,nt.t):nt=this.effectsSequence[tt](this.currentData,nt.t);j!==nt&&this.setCurrentData(nt),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var _=this.data.d.k,j=this.elem.comp.renderedFrame,et=0,tt=_.length;et<=tt-1&&!(et===tt-1||_[et+1].t>j);)et+=1;return this.keysIndex!==et&&(this.keysIndex=et),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(_){for(var j=[],et=0,tt=_.length,rt,nt,it=!1,st=!1,at="";et<tt;)it=st,st=!1,rt=_.charCodeAt(et),at=_.charAt(et),FontManager.isCombinedCharacter(rt)?it=!0:rt>=55296&&rt<=56319?FontManager.isRegionalFlag(_,et)?at=_.substr(et,14):(nt=_.charCodeAt(et+1),nt>=56320&&nt<=57343&&(FontManager.isModifier(rt,nt)?(at=_.substr(et,2),it=!0):FontManager.isFlagEmoji(_.substr(et,4))?at=_.substr(et,4):at=_.substr(et,2))):rt>56319?(nt=_.charCodeAt(et+1),FontManager.isVariationSelector(rt)&&(it=!0)):FontManager.isZeroWidthJoiner(rt)&&(it=!0,st=!0),it?(j[j.length-1]+=at,it=!1):j.push(at),et+=at.length;return j},TextProperty.prototype.completeTextData=function(_){_.__complete=!0;var j=this.elem.globalData.fontManager,et=this.data,tt=[],rt,nt,it,st=0,at,ot=et.m.g,lt=0,ct=0,ut=0,dt=[],ht=0,pt=0,gt,ft,mt=j.getFontByName(_.f),xt,yt=0,vt=getFontProperties(mt);_.fWeight=vt.weight,_.fStyle=vt.style,_.finalSize=_.s,_.finalText=this.buildFinalText(_.t),nt=_.finalText.length,_.finalLineHeight=_.lh;var bt=_.tr/1e3*_.finalSize,Et;if(_.sz)for(var _t=!0,wt=_.sz[0],Rt=_.sz[1],Ct,jt;_t;){jt=this.buildFinalText(_.t),Ct=0,ht=0,nt=jt.length,bt=_.tr/1e3*_.finalSize;var Dt=-1;for(rt=0;rt<nt;rt+=1)Et=jt[rt].charCodeAt(0),it=!1,jt[rt]===" "?Dt=rt:(Et===13||Et===3)&&(ht=0,it=!0,Ct+=_.finalLineHeight||_.finalSize*1.2),j.chars?(xt=j.getCharData(jt[rt],mt.fStyle,mt.fFamily),yt=it?0:xt.w*_.finalSize/100):yt=j.measureText(jt[rt],_.f,_.finalSize),ht+yt>wt&&jt[rt]!==" "?(Dt===-1?nt+=1:rt=Dt,Ct+=_.finalLineHeight||_.finalSize*1.2,jt.splice(rt,Dt===rt?1:0,"\r"),Dt=-1,ht=0):(ht+=yt,ht+=bt);Ct+=mt.ascent*_.finalSize/100,this.canResize&&_.finalSize>this.minimumFontSize&&Rt<Ct?(_.finalSize-=1,_.finalLineHeight=_.finalSize*_.lh/_.s):(_.finalText=jt,nt=_.finalText.length,_t=!1)}ht=-bt,yt=0;var It=0,Ot;for(rt=0;rt<nt;rt+=1)if(it=!1,Ot=_.finalText[rt],Et=Ot.charCodeAt(0),Et===13||Et===3?(It=0,dt.push(ht),pt=ht>pt?ht:pt,ht=-2*bt,at="",it=!0,ut+=1):at=Ot,j.chars?(xt=j.getCharData(Ot,mt.fStyle,j.getFontByName(_.f).fFamily),yt=it?0:xt.w*_.finalSize/100):yt=j.measureText(at,_.f,_.finalSize),Ot===" "?It+=yt+bt:(ht+=yt+bt+It,It=0),tt.push({l:yt,an:yt,add:lt,n:it,anIndexes:[],val:at,line:ut,animatorJustifyOffset:0}),ot==2){if(lt+=yt,at===""||at===" "||rt===nt-1){for((at===""||at===" ")&&(lt-=yt);ct<=rt;)tt[ct].an=lt,tt[ct].ind=st,tt[ct].extra=yt,ct+=1;st+=1,lt=0}}else if(ot==3){if(lt+=yt,at===""||rt===nt-1){for(at===""&&(lt-=yt);ct<=rt;)tt[ct].an=lt,tt[ct].ind=st,tt[ct].extra=yt,ct+=1;lt=0,st+=1}}else tt[st].ind=st,tt[st].extra=0,st+=1;if(_.l=tt,pt=ht>pt?ht:pt,dt.push(ht),_.sz)_.boxWidth=_.sz[0],_.justifyOffset=0;else switch(_.boxWidth=pt,_.j){case 1:_.justifyOffset=-_.boxWidth;break;case 2:_.justifyOffset=-_.boxWidth/2;break;default:_.justifyOffset=0}_.lineWidths=dt;var At=et.a,Tt,kt;ft=At.length;var St,Pt,$t=[];for(gt=0;gt<ft;gt+=1){for(Tt=At[gt],Tt.a.sc&&(_.strokeColorAnim=!0),Tt.a.sw&&(_.strokeWidthAnim=!0),(Tt.a.fc||Tt.a.fh||Tt.a.fs||Tt.a.fb)&&(_.fillColorAnim=!0),Pt=0,St=Tt.s.b,rt=0;rt<nt;rt+=1)kt=tt[rt],kt.anIndexes[gt]=Pt,(St==1&&kt.val!==""||St==2&&kt.val!==""&&kt.val!==" "||St==3&&(kt.n||kt.val==" "||rt==nt-1)||St==4&&(kt.n||rt==nt-1))&&(Tt.s.rn===1&&$t.push(Pt),Pt+=1);et.a[gt].s.totalChars=Pt;var Nt=-1,Mt;if(Tt.s.rn===1)for(rt=0;rt<nt;rt+=1)kt=tt[rt],Nt!=kt.anIndexes[gt]&&(Nt=kt.anIndexes[gt],Mt=$t.splice(Math.floor(Math.random()*$t.length),1)[0]),kt.anIndexes[gt]=Mt}_.yOffset=_.finalLineHeight||_.finalSize*1.2,_.ls=_.ls||0,_.ascent=mt.ascent*_.finalSize/100},TextProperty.prototype.updateDocumentData=function(_,j){j=j===void 0?this.keysIndex:j;var et=this.copyData({},this.data.d.k[j].s);et=this.copyData(et,_),this.data.d.k[j].s=et,this.recalculate(j),this.setCurrentData(et),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(_){var j=this.data.d.k[_].s;j.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(j)},TextProperty.prototype.canResizeFont=function(_){this.canResize=_,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(_){this.minimumFontSize=Math.floor(_)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var _=Math.max,j=Math.min,et=Math.floor;function tt(nt,it){this._currentTextLength=-1,this.k=!1,this.data=it,this.elem=nt,this.comp=nt.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(nt),this.s=PropertyFactory.getProp(nt,it.s||{k:0},0,0,this),"e"in it?this.e=PropertyFactory.getProp(nt,it.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(nt,it.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(nt,it.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(nt,it.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(nt,it.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(nt,it.a,0,.01,this),this.dynamicProperties.length||this.getValue()}tt.prototype={getMult:function(it){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var st=0,at=0,ot=1,lt=1;this.ne.v>0?st=this.ne.v/100:at=-this.ne.v/100,this.xe.v>0?ot=1-this.xe.v/100:lt=1+this.xe.v/100;var ct=BezierFactory.getBezierEasing(st,at,ot,lt).get,ut=0,dt=this.finalS,ht=this.finalE,pt=this.data.sh;if(pt===2)ht===dt?ut=it>=ht?1:0:ut=_(0,j(.5/(ht-dt)+(it-dt)/(ht-dt),1)),ut=ct(ut);else if(pt===3)ht===dt?ut=it>=ht?0:1:ut=1-_(0,j(.5/(ht-dt)+(it-dt)/(ht-dt),1)),ut=ct(ut);else if(pt===4)ht===dt?ut=0:(ut=_(0,j(.5/(ht-dt)+(it-dt)/(ht-dt),1)),ut<.5?ut*=2:ut=1-2*(ut-.5)),ut=ct(ut);else if(pt===5){if(ht===dt)ut=0;else{var gt=ht-dt;it=j(_(0,it+.5-dt),ht-dt);var ft=-gt/2+it,mt=gt/2;ut=Math.sqrt(1-ft*ft/(mt*mt))}ut=ct(ut)}else pt===6?(ht===dt?ut=0:(it=j(_(0,it+.5-dt),ht-dt),ut=(1+Math.cos(Math.PI+Math.PI*2*it/(ht-dt)))/2),ut=ct(ut)):(it>=et(dt)&&(it-dt<0?ut=_(0,j(j(ht,1)-(dt-it),1)):ut=_(0,j(ht-it,1))),ut=ct(ut));if(this.sm.v!==100){var xt=this.sm.v*.01;xt===0&&(xt=1e-8);var yt=.5-xt*.5;ut<yt?ut=0:(ut=(ut-yt)/xt,ut>1&&(ut=1))}return ut*this.a.v},getValue:function(it){this.iterateDynamicProperties(),this._mdf=it||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,it&&this.data.r===2&&(this.e.v=this._currentTextLength);var st=this.data.r===2?1:100/this.data.totalChars,at=this.o.v/st,ot=this.s.v/st+at,lt=this.e.v/st+at;if(ot>lt){var ct=ot;ot=lt,lt=ct}this.finalS=ot,this.finalE=lt}},extendPrototype([DynamicPropertyContainer],tt);function rt(nt,it,st){return new tt(nt,it)}return{getTextSelectorProp:rt}}();function TextAnimatorDataProperty(_,j,et){var tt={propType:!1},rt=PropertyFactory.getProp,nt=j.a;this.a={r:nt.r?rt(_,nt.r,0,degToRads,et):tt,rx:nt.rx?rt(_,nt.rx,0,degToRads,et):tt,ry:nt.ry?rt(_,nt.ry,0,degToRads,et):tt,sk:nt.sk?rt(_,nt.sk,0,degToRads,et):tt,sa:nt.sa?rt(_,nt.sa,0,degToRads,et):tt,s:nt.s?rt(_,nt.s,1,.01,et):tt,a:nt.a?rt(_,nt.a,1,0,et):tt,o:nt.o?rt(_,nt.o,0,.01,et):tt,p:nt.p?rt(_,nt.p,1,0,et):tt,sw:nt.sw?rt(_,nt.sw,0,0,et):tt,sc:nt.sc?rt(_,nt.sc,1,0,et):tt,fc:nt.fc?rt(_,nt.fc,1,0,et):tt,fh:nt.fh?rt(_,nt.fh,0,0,et):tt,fs:nt.fs?rt(_,nt.fs,0,.01,et):tt,fb:nt.fb?rt(_,nt.fb,0,.01,et):tt,t:nt.t?rt(_,nt.t,0,0,et):tt},this.s=TextSelectorProp.getTextSelectorProp(_,j.s,et),this.s.t=j.s.t}function TextAnimatorProperty(_,j,et){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=_,this._renderType=j,this._elem=et,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(et)}TextAnimatorProperty.prototype.searchProperties=function(){var _,j=this._textData.a.length,et,tt=PropertyFactory.getProp;for(_=0;_<j;_+=1)et=this._textData.a[_],this._animatorsData[_]=new TextAnimatorDataProperty(this._elem,et,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:tt(this._elem,this._textData.p.a,0,0,this),f:tt(this._elem,this._textData.p.f,0,0,this),l:tt(this._elem,this._textData.p.l,0,0,this),r:tt(this._elem,this._textData.p.r,0,0,this),p:tt(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=tt(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(_,j){if(this.lettersChangedFlag=j,!(!this._mdf&&!this._isFirstFrame&&!j&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var et=this._moreOptions.alignment.v,tt=this._animatorsData,rt=this._textData,nt=this.mHelper,it=this._renderType,st=this.renderedLetters.length,at,ot,lt,ct,ut=_.l,dt,ht,pt,gt,ft,mt,xt,yt,vt,bt,Et,_t,wt,Rt,Ct;if(this._hasMaskedPath){if(Ct=this._pathData.m,!this._pathData.n||this._pathData._mdf){var jt=Ct.v;this._pathData.r.v&&(jt=jt.reverse()),dt={tLength:0,segments:[]},ct=jt._length-1;var Dt;for(_t=0,lt=0;lt<ct;lt+=1)Dt=bez.buildBezierData(jt.v[lt],jt.v[lt+1],[jt.o[lt][0]-jt.v[lt][0],jt.o[lt][1]-jt.v[lt][1]],[jt.i[lt+1][0]-jt.v[lt+1][0],jt.i[lt+1][1]-jt.v[lt+1][1]]),dt.tLength+=Dt.segmentLength,dt.segments.push(Dt),_t+=Dt.segmentLength;lt=ct,Ct.v.c&&(Dt=bez.buildBezierData(jt.v[lt],jt.v[0],[jt.o[lt][0]-jt.v[lt][0],jt.o[lt][1]-jt.v[lt][1]],[jt.i[0][0]-jt.v[0][0],jt.i[0][1]-jt.v[0][1]]),dt.tLength+=Dt.segmentLength,dt.segments.push(Dt),_t+=Dt.segmentLength),this._pathData.pi=dt}if(dt=this._pathData.pi,ht=this._pathData.f.v,xt=0,mt=1,gt=0,ft=!0,bt=dt.segments,ht<0&&Ct.v.c)for(dt.tLength<Math.abs(ht)&&(ht=-Math.abs(ht)%dt.tLength),xt=bt.length-1,vt=bt[xt].points,mt=vt.length-1;ht<0;)ht+=vt[mt].partialLength,mt-=1,mt<0&&(xt-=1,vt=bt[xt].points,mt=vt.length-1);vt=bt[xt].points,yt=vt[mt-1],pt=vt[mt],Et=pt.partialLength}ct=ut.length,at=0,ot=0;var It=_.finalSize*1.2*.714,Ot=!0,At,Tt,kt,St,Pt;St=tt.length;var $t,Nt=-1,Mt,Vt,Ht,Qt=ht,er=xt,ir=mt,Jt=-1,Gt,Kt,Bt,Zt,qt,lr,ar,Yt,sr="",gr=this.defaultPropsArray,Lt;if(_.j===2||_.j===1){var Ut=0,Wt=0,or=_.j===2?-.5:-1,nr=0,tr=!0;for(lt=0;lt<ct;lt+=1)if(ut[lt].n){for(Ut&&(Ut+=Wt);nr<lt;)ut[nr].animatorJustifyOffset=Ut,nr+=1;Ut=0,tr=!0}else{for(kt=0;kt<St;kt+=1)At=tt[kt].a,At.t.propType&&(tr&&_.j===2&&(Wt+=At.t.v*or),Tt=tt[kt].s,$t=Tt.getMult(ut[lt].anIndexes[kt],rt.a[kt].s.totalChars),$t.length?Ut+=At.t.v*$t[0]*or:Ut+=At.t.v*$t*or);tr=!1}for(Ut&&(Ut+=Wt);nr<lt;)ut[nr].animatorJustifyOffset=Ut,nr+=1}for(lt=0;lt<ct;lt+=1){if(nt.reset(),Gt=1,ut[lt].n)at=0,ot+=_.yOffset,ot+=Ot?1:0,ht=Qt,Ot=!1,this._hasMaskedPath&&(xt=er,mt=ir,vt=bt[xt].points,yt=vt[mt-1],pt=vt[mt],Et=pt.partialLength,gt=0),sr="",Yt="",lr="",Lt="",gr=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Jt!==ut[lt].line){switch(_.j){case 1:ht+=_t-_.lineWidths[ut[lt].line];break;case 2:ht+=(_t-_.lineWidths[ut[lt].line])/2;break}Jt=ut[lt].line}Nt!==ut[lt].ind&&(ut[Nt]&&(ht+=ut[Nt].extra),ht+=ut[lt].an/2,Nt=ut[lt].ind),ht+=et[0]*ut[lt].an*.005;var rr=0;for(kt=0;kt<St;kt+=1)At=tt[kt].a,At.p.propType&&(Tt=tt[kt].s,$t=Tt.getMult(ut[lt].anIndexes[kt],rt.a[kt].s.totalChars),$t.length?rr+=At.p.v[0]*$t[0]:rr+=At.p.v[0]*$t),At.a.propType&&(Tt=tt[kt].s,$t=Tt.getMult(ut[lt].anIndexes[kt],rt.a[kt].s.totalChars),$t.length?rr+=At.a.v[0]*$t[0]:rr+=At.a.v[0]*$t);for(ft=!0,this._pathData.a.v&&(ht=ut[0].an*.5+(_t-this._pathData.f.v-ut[0].an*.5-ut[ut.length-1].an*.5)*Nt/(ct-1),ht+=this._pathData.f.v);ft;)gt+Et>=ht+rr||!vt?(wt=(ht+rr-gt)/pt.partialLength,Vt=yt.point[0]+(pt.point[0]-yt.point[0])*wt,Ht=yt.point[1]+(pt.point[1]-yt.point[1])*wt,nt.translate(-et[0]*ut[lt].an*.005,-(et[1]*It)*.01),ft=!1):vt&&(gt+=pt.partialLength,mt+=1,mt>=vt.length&&(mt=0,xt+=1,bt[xt]?vt=bt[xt].points:Ct.v.c?(mt=0,xt=0,vt=bt[xt].points):(gt-=pt.partialLength,vt=null)),vt&&(yt=pt,pt=vt[mt],Et=pt.partialLength));Mt=ut[lt].an/2-ut[lt].add,nt.translate(-Mt,0,0)}else Mt=ut[lt].an/2-ut[lt].add,nt.translate(-Mt,0,0),nt.translate(-et[0]*ut[lt].an*.005,-et[1]*It*.01,0);for(kt=0;kt<St;kt+=1)At=tt[kt].a,At.t.propType&&(Tt=tt[kt].s,$t=Tt.getMult(ut[lt].anIndexes[kt],rt.a[kt].s.totalChars),(at!==0||_.j!==0)&&(this._hasMaskedPath?$t.length?ht+=At.t.v*$t[0]:ht+=At.t.v*$t:$t.length?at+=At.t.v*$t[0]:at+=At.t.v*$t));for(_.strokeWidthAnim&&(Bt=_.sw||0),_.strokeColorAnim&&(_.sc?Kt=[_.sc[0],_.sc[1],_.sc[2]]:Kt=[0,0,0]),_.fillColorAnim&&_.fc&&(Zt=[_.fc[0],_.fc[1],_.fc[2]]),kt=0;kt<St;kt+=1)At=tt[kt].a,At.a.propType&&(Tt=tt[kt].s,$t=Tt.getMult(ut[lt].anIndexes[kt],rt.a[kt].s.totalChars),$t.length?nt.translate(-At.a.v[0]*$t[0],-At.a.v[1]*$t[1],At.a.v[2]*$t[2]):nt.translate(-At.a.v[0]*$t,-At.a.v[1]*$t,At.a.v[2]*$t));for(kt=0;kt<St;kt+=1)At=tt[kt].a,At.s.propType&&(Tt=tt[kt].s,$t=Tt.getMult(ut[lt].anIndexes[kt],rt.a[kt].s.totalChars),$t.length?nt.scale(1+(At.s.v[0]-1)*$t[0],1+(At.s.v[1]-1)*$t[1],1):nt.scale(1+(At.s.v[0]-1)*$t,1+(At.s.v[1]-1)*$t,1));for(kt=0;kt<St;kt+=1){if(At=tt[kt].a,Tt=tt[kt].s,$t=Tt.getMult(ut[lt].anIndexes[kt],rt.a[kt].s.totalChars),At.sk.propType&&($t.length?nt.skewFromAxis(-At.sk.v*$t[0],At.sa.v*$t[1]):nt.skewFromAxis(-At.sk.v*$t,At.sa.v*$t)),At.r.propType&&($t.length?nt.rotateZ(-At.r.v*$t[2]):nt.rotateZ(-At.r.v*$t)),At.ry.propType&&($t.length?nt.rotateY(At.ry.v*$t[1]):nt.rotateY(At.ry.v*$t)),At.rx.propType&&($t.length?nt.rotateX(At.rx.v*$t[0]):nt.rotateX(At.rx.v*$t)),At.o.propType&&($t.length?Gt+=(At.o.v*$t[0]-Gt)*$t[0]:Gt+=(At.o.v*$t-Gt)*$t),_.strokeWidthAnim&&At.sw.propType&&($t.length?Bt+=At.sw.v*$t[0]:Bt+=At.sw.v*$t),_.strokeColorAnim&&At.sc.propType)for(qt=0;qt<3;qt+=1)$t.length?Kt[qt]+=(At.sc.v[qt]-Kt[qt])*$t[0]:Kt[qt]+=(At.sc.v[qt]-Kt[qt])*$t;if(_.fillColorAnim&&_.fc){if(At.fc.propType)for(qt=0;qt<3;qt+=1)$t.length?Zt[qt]+=(At.fc.v[qt]-Zt[qt])*$t[0]:Zt[qt]+=(At.fc.v[qt]-Zt[qt])*$t;At.fh.propType&&($t.length?Zt=addHueToRGB(Zt,At.fh.v*$t[0]):Zt=addHueToRGB(Zt,At.fh.v*$t)),At.fs.propType&&($t.length?Zt=addSaturationToRGB(Zt,At.fs.v*$t[0]):Zt=addSaturationToRGB(Zt,At.fs.v*$t)),At.fb.propType&&($t.length?Zt=addBrightnessToRGB(Zt,At.fb.v*$t[0]):Zt=addBrightnessToRGB(Zt,At.fb.v*$t))}}for(kt=0;kt<St;kt+=1)At=tt[kt].a,At.p.propType&&(Tt=tt[kt].s,$t=Tt.getMult(ut[lt].anIndexes[kt],rt.a[kt].s.totalChars),this._hasMaskedPath?$t.length?nt.translate(0,At.p.v[1]*$t[0],-At.p.v[2]*$t[1]):nt.translate(0,At.p.v[1]*$t,-At.p.v[2]*$t):$t.length?nt.translate(At.p.v[0]*$t[0],At.p.v[1]*$t[1],-At.p.v[2]*$t[2]):nt.translate(At.p.v[0]*$t,At.p.v[1]*$t,-At.p.v[2]*$t));if(_.strokeWidthAnim&&(lr=Bt<0?0:Bt),_.strokeColorAnim&&(ar="rgb("+Math.round(Kt[0]*255)+","+Math.round(Kt[1]*255)+","+Math.round(Kt[2]*255)+")"),_.fillColorAnim&&_.fc&&(Yt="rgb("+Math.round(Zt[0]*255)+","+Math.round(Zt[1]*255)+","+Math.round(Zt[2]*255)+")"),this._hasMaskedPath){if(nt.translate(0,-_.ls),nt.translate(0,et[1]*It*.01+ot,0),this._pathData.p.v){Rt=(pt.point[1]-yt.point[1])/(pt.point[0]-yt.point[0]);var cr=Math.atan(Rt)*180/Math.PI;pt.point[0]<yt.point[0]&&(cr+=180),nt.rotate(-cr*Math.PI/180)}nt.translate(Vt,Ht,0),ht-=et[0]*ut[lt].an*.005,ut[lt+1]&&Nt!==ut[lt+1].ind&&(ht+=ut[lt].an/2,ht+=_.tr*.001*_.finalSize)}else{switch(nt.translate(at,ot,0),_.ps&&nt.translate(_.ps[0],_.ps[1]+_.ascent,0),_.j){case 1:nt.translate(ut[lt].animatorJustifyOffset+_.justifyOffset+(_.boxWidth-_.lineWidths[ut[lt].line]),0,0);break;case 2:nt.translate(ut[lt].animatorJustifyOffset+_.justifyOffset+(_.boxWidth-_.lineWidths[ut[lt].line])/2,0,0);break}nt.translate(0,-_.ls),nt.translate(Mt,0,0),nt.translate(et[0]*ut[lt].an*.005,et[1]*It*.01,0),at+=ut[lt].l+_.tr*.001*_.finalSize}it==="html"?sr=nt.toCSS():it==="svg"?sr=nt.to2dCSS():gr=[nt.props[0],nt.props[1],nt.props[2],nt.props[3],nt.props[4],nt.props[5],nt.props[6],nt.props[7],nt.props[8],nt.props[9],nt.props[10],nt.props[11],nt.props[12],nt.props[13],nt.props[14],nt.props[15]],Lt=Gt}st<=lt?(Pt=new LetterProps(Lt,lr,ar,Yt,sr,gr),this.renderedLetters.push(Pt),st+=1,this.lettersChangedFlag=!0):(Pt=this.renderedLetters[lt],this.lettersChangedFlag=Pt.update(Lt,lr,ar,Yt,sr,gr)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty);function ITextElement(){}ITextElement.prototype.initElement=function(_,j,et){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(_,j,et),this.textProperty=new TextProperty(this,_.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(_.t,this.renderType,this),this.initTransform(_,j,et),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(_){this._mdf=!1,this.prepareRenderableFrame(_),this.prepareProperties(_,this.isInRange)},ITextElement.prototype.createPathShape=function(_,j){var et,tt=j.length,rt,nt="";for(et=0;et<tt;et+=1)j[et].ty==="sh"&&(rt=j[et].ks.k,nt+=buildShapeString(rt,rt.i.length,!0,_));return nt},ITextElement.prototype.updateDocumentData=function(_,j){this.textProperty.updateDocumentData(_,j)},ITextElement.prototype.canResizeFont=function(_){this.textProperty.canResizeFont(_)},ITextElement.prototype.setMinimumFontSize=function(_){this.textProperty.setMinimumFontSize(_)},ITextElement.prototype.applyTextPropertiesToMatrix=function(_,j,et,tt,rt){switch(_.ps&&j.translate(_.ps[0],_.ps[1]+_.ascent,0),j.translate(0,-_.ls,0),_.j){case 1:j.translate(_.justifyOffset+(_.boxWidth-_.lineWidths[et]),0,0);break;case 2:j.translate(_.justifyOffset+(_.boxWidth-_.lineWidths[et])/2,0,0);break}j.translate(tt,rt,0)},ITextElement.prototype.buildColor=function(_){return"rgb("+Math.round(_[0]*255)+","+Math.round(_[1]*255)+","+Math.round(_[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(_,j,et){this.textSpans=[],this.renderType="svg",this.initElement(_,j,et)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(_){for(var j=0,et=_.length,tt=[],rt="";j<et;)_[j]==="\r"||_[j]==="�"?(tt.push(rt),rt=""):rt+=_[j],j+=1;return tt.push(rt),tt},SVGTextLottieElement.prototype.buildShapeData=function(_,j){if(_.shapes&&_.shapes.length){var et=_.shapes[0];if(et.it){var tt=et.it[et.it.length-1];tt.s&&(tt.s.k[0]=j,tt.s.k[1]=j)}}return _},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var _,j,et=this.textProperty.currentData;this.renderedLetters=createSizedArray(et?et.l.length:0),et.fc?this.layerElement.setAttribute("fill",this.buildColor(et.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),et.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(et.sc)),this.layerElement.setAttribute("stroke-width",et.sw)),this.layerElement.setAttribute("font-size",et.finalSize);var tt=this.globalData.fontManager.getFontByName(et.f);if(tt.fClass)this.layerElement.setAttribute("class",tt.fClass);else{this.layerElement.setAttribute("font-family",tt.fFamily);var rt=et.fWeight,nt=et.fStyle;this.layerElement.setAttribute("font-style",nt),this.layerElement.setAttribute("font-weight",rt)}this.layerElement.setAttribute("aria-label",et.t);var it=et.l||[],st=!!this.globalData.fontManager.chars;j=it.length;var at,ot=this.mHelper,lt="",ct=this.data.singleShape,ut=0,dt=0,ht=!0,pt=et.tr*.001*et.finalSize;if(ct&&!st&&!et.sz){var gt=this.textContainer,ft="start";switch(et.j){case 1:ft="end";break;case 2:ft="middle";break;default:ft="start";break}gt.setAttribute("text-anchor",ft),gt.setAttribute("letter-spacing",pt);var mt=this.buildTextContents(et.finalText);for(j=mt.length,dt=et.ps?et.ps[1]+et.ascent:0,_=0;_<j;_+=1)at=this.textSpans[_].span||createNS("tspan"),at.textContent=mt[_],at.setAttribute("x",0),at.setAttribute("y",dt),at.style.display="inherit",gt.appendChild(at),this.textSpans[_]||(this.textSpans[_]={span:null,glyph:null}),this.textSpans[_].span=at,dt+=et.finalLineHeight;this.layerElement.appendChild(gt)}else{var xt=this.textSpans.length,yt;for(_=0;_<j;_+=1){if(this.textSpans[_]||(this.textSpans[_]={span:null,childSpan:null,glyph:null}),!st||!ct||_===0){if(at=xt>_?this.textSpans[_].span:createNS(st?"g":"text"),xt<=_){if(at.setAttribute("stroke-linecap","butt"),at.setAttribute("stroke-linejoin","round"),at.setAttribute("stroke-miterlimit","4"),this.textSpans[_].span=at,st){var vt=createNS("g");at.appendChild(vt),this.textSpans[_].childSpan=vt}this.textSpans[_].span=at,this.layerElement.appendChild(at)}at.style.display="inherit"}if(ot.reset(),ct&&(it[_].n&&(ut=-pt,dt+=et.yOffset,dt+=ht?1:0,ht=!1),this.applyTextPropertiesToMatrix(et,ot,it[_].line,ut,dt),ut+=it[_].l||0,ut+=pt),st){yt=this.globalData.fontManager.getCharData(et.finalText[_],tt.fStyle,this.globalData.fontManager.getFontByName(et.f).fFamily);var bt;if(yt.t===1)bt=new SVGCompElement(yt.data,this.globalData,this);else{var Et=emptyShapeData;yt.data&&yt.data.shapes&&(Et=this.buildShapeData(yt.data,et.finalSize)),bt=new SVGShapeElement(Et,this.globalData,this)}if(this.textSpans[_].glyph){var _t=this.textSpans[_].glyph;this.textSpans[_].childSpan.removeChild(_t.layerElement),_t.destroy()}this.textSpans[_].glyph=bt,bt._debug=!0,bt.prepareFrame(0),bt.renderFrame(),this.textSpans[_].childSpan.appendChild(bt.layerElement),yt.t===1&&this.textSpans[_].childSpan.setAttribute("transform","scale("+et.finalSize/100+","+et.finalSize/100+")")}else ct&&at.setAttribute("transform","translate("+ot.props[12]+","+ot.props[13]+")"),at.textContent=it[_].val,at.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}ct&&at&&at.setAttribute("d",lt)}for(;_<this.textSpans.length;)this.textSpans[_].span.style.display="none",_+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var _=this.layerElement.getBBox();this.bbox={top:_.y,left:_.x,width:_.width,height:_.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var _,j=this.textSpans.length,et;for(this.renderedFrame=this.comp.renderedFrame,_=0;_<j;_+=1)et=this.textSpans[_].glyph,et&&(et.prepareFrame(this.comp.renderedFrame-this.data.st),et._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var _,j,et=this.textAnimator.renderedLetters,tt=this.textProperty.currentData.l;j=tt.length;var rt,nt,it;for(_=0;_<j;_+=1)tt[_].n||(rt=et[_],nt=this.textSpans[_].span,it=this.textSpans[_].glyph,it&&it.renderFrame(),rt._mdf.m&&nt.setAttribute("transform",rt.m),rt._mdf.o&&nt.setAttribute("opacity",rt.o),rt._mdf.sw&&nt.setAttribute("stroke-width",rt.sw),rt._mdf.sc&&nt.setAttribute("stroke",rt.sc),rt._mdf.fc&&nt.setAttribute("fill",rt.fc))}};function ISolidElement(_,j,et){this.initElement(_,j,et)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var _=createNS("rect");_.setAttribute("width",this.data.sw),_.setAttribute("height",this.data.sh),_.setAttribute("fill",this.data.sc),this.layerElement.appendChild(_)};function NullElement(_,j,et){this.initFrame(),this.initBaseData(_,j,et),this.initFrame(),this.initTransform(_,j,et),this.initHierarchy()}NullElement.prototype.prepareFrame=function(_){this.prepareProperties(_,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement);function SVGRendererBase(){}extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(_){return new NullElement(_,this.globalData,this)},SVGRendererBase.prototype.createShape=function(_){return new SVGShapeElement(_,this.globalData,this)},SVGRendererBase.prototype.createText=function(_){return new SVGTextLottieElement(_,this.globalData,this)},SVGRendererBase.prototype.createImage=function(_){return new IImageElement(_,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(_){return new ISolidElement(_,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(_){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+_.w+" "+_.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",_.w),this.svgElement.setAttribute("height",_.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var j=this.globalData.defs;this.setupGlobalData(_,j),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=_;var et=createNS("clipPath"),tt=createNS("rect");tt.setAttribute("width",_.w),tt.setAttribute("height",_.h),tt.setAttribute("x",0),tt.setAttribute("y",0);var rt=createElementID();et.setAttribute("id",rt),et.appendChild(tt),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+rt+")"),j.appendChild(et),this.layers=_.layers,this.elements=createSizedArray(_.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var _,j=this.layers?this.layers.length:0;for(_=0;_<j;_+=1)this.elements[_]&&this.elements[_].destroy&&this.elements[_].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(_){var j=0,et=this.layers.length;for(j=0;j<et;j+=1)if(this.layers[j].ind===_)return j;return-1},SVGRendererBase.prototype.buildItem=function(_){var j=this.elements;if(!(j[_]||this.layers[_].ty===99)){j[_]=!0;var et=this.createItem(this.layers[_]);if(j[_]=et,getExpressionsPlugin()&&(this.layers[_].ty===0&&this.globalData.projectInterface.registerComposition(et),et.initExpressions()),this.appendElementInPos(et,_),this.layers[_].tt){var tt="tp"in this.layers[_]?this.findIndexByInd(this.layers[_].tp):_-1;if(tt===-1)return;if(!this.elements[tt]||this.elements[tt]===!0)this.buildItem(tt),this.addPendingElement(et);else{var rt=j[tt],nt=rt.getMatte(this.layers[_].tt);et.setMatte(nt)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var _=this.pendingElements.pop();if(_.checkParenting(),_.data.tt)for(var j=0,et=this.elements.length;j<et;){if(this.elements[j]===_){var tt="tp"in _.data?this.findIndexByInd(_.data.tp):j-1,rt=this.elements[tt],nt=rt.getMatte(this.layers[j].tt);_.setMatte(nt);break}j+=1}}},SVGRendererBase.prototype.renderFrame=function(_){if(!(this.renderedFrame===_||this.destroyed)){_===null?_=this.renderedFrame:this.renderedFrame=_,this.globalData.frameNum=_,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=_,this.globalData._mdf=!1;var j,et=this.layers.length;for(this.completeLayers||this.checkLayers(_),j=et-1;j>=0;j-=1)(this.completeLayers||this.elements[j])&&this.elements[j].prepareFrame(_-this.layers[j].st);if(this.globalData._mdf)for(j=0;j<et;j+=1)(this.completeLayers||this.elements[j])&&this.elements[j].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(_,j){var et=_.getBaseElement();if(et){for(var tt=0,rt;tt<j;)this.elements[tt]&&this.elements[tt]!==!0&&this.elements[tt].getBaseElement()&&(rt=this.elements[tt].getBaseElement()),tt+=1;rt?this.layerElement.insertBefore(et,rt):this.layerElement.appendChild(et)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(_,j,et){this.initFrame(),this.initBaseData(_,j,et),this.initTransform(_,j,et),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!j.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(_){if(this._mdf=!1,this.prepareRenderableFrame(_),this.prepareProperties(_,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=_/this.data.sr;else{var j=this.tm.v;j===this.data.op&&(j=this.data.op-1),this.renderedFrame=j}var et,tt=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),et=tt-1;et>=0;et-=1)(this.completeLayers||this.elements[et])&&(this.elements[et].prepareFrame(this.renderedFrame-this.layers[et].st),this.elements[et]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var _,j=this.layers.length;for(_=0;_<j;_+=1)(this.completeLayers||this.elements[_])&&this.elements[_].renderFrame()},ICompElement.prototype.setElements=function(_){this.elements=_},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var _,j=this.layers.length;for(_=0;_<j;_+=1)this.elements[_]&&this.elements[_].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(_,j,et){this.layers=_.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(_,j,et),this.tm=_.tm?PropertyFactory.getProp(this,_.tm,0,j.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(_){return new SVGCompElement(_,this.globalData,this)};function SVGRenderer(_,j){this.animationItem=_,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var et="";if(j&&j.title){var tt=createNS("title"),rt=createElementID();tt.setAttribute("id",rt),tt.textContent=j.title,this.svgElement.appendChild(tt),et+=rt}if(j&&j.description){var nt=createNS("desc"),it=createElementID();nt.setAttribute("id",it),nt.textContent=j.description,this.svgElement.appendChild(nt),et+=" "+it}et&&this.svgElement.setAttribute("aria-labelledby",et);var st=createNS("defs");this.svgElement.appendChild(st);var at=createNS("g");this.svgElement.appendChild(at),this.layerElement=at,this.renderConfig={preserveAspectRatio:j&&j.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:j&&j.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:j&&j.contentVisibility||"visible",progressiveLoad:j&&j.progressiveLoad||!1,hideOnTransparent:!(j&&j.hideOnTransparent===!1),viewBoxOnly:j&&j.viewBoxOnly||!1,viewBoxSize:j&&j.viewBoxSize||!1,className:j&&j.className||"",id:j&&j.id||"",focusable:j&&j.focusable,filterSize:{width:j&&j.filterSize&&j.filterSize.width||"100%",height:j&&j.filterSize&&j.filterSize.height||"100%",x:j&&j.filterSize&&j.filterSize.x||"0%",y:j&&j.filterSize&&j.filterSize.y||"0%"},width:j&&j.width,height:j&&j.height,runExpressions:!j||j.runExpressions===void 0||j.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:st,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(_){return new SVGCompElement(_,this.globalData,this)};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(j){var et,tt=j.length,rt="_";for(et=0;et<tt;et+=1)rt+=j[et].transform.key+"_";var nt=this.sequences[rt];return nt||(nt={transforms:[].concat(j),finalTransform:new Matrix,_mdf:!1},this.sequences[rt]=nt,this.sequenceList.push(nt)),nt},processSequence:function(j,et){for(var tt=0,rt=j.transforms.length,nt=et;tt<rt&&!et;){if(j.transforms[tt].transform.mProps._mdf){nt=!0;break}tt+=1}if(nt)for(j.finalTransform.reset(),tt=rt-1;tt>=0;tt-=1)j.finalTransform.multiply(j.transforms[tt].transform.mProps.v);j._mdf=nt},processSequences:function(j){var et,tt=this.sequenceList.length;for(et=0;et<tt;et+=1)this.processSequence(this.sequenceList[et],j)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var j="__lottie_element_luma_buffer",et=null,tt=null,rt=null;function nt(){var at=createNS("svg"),ot=createNS("filter"),lt=createNS("feColorMatrix");return ot.setAttribute("id",j),lt.setAttribute("type","matrix"),lt.setAttribute("color-interpolation-filters","sRGB"),lt.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),ot.appendChild(lt),at.appendChild(ot),at.setAttribute("id",j+"_svg"),featureSupport.svgLumaHidden&&(at.style.display="none"),at}function it(){et||(rt=nt(),document.body.appendChild(rt),et=createTag("canvas"),tt=et.getContext("2d"),tt.filter="url
715(#"+j+")",tt.fillStyle="rgba(0,0,0,0)",tt.fillRect(0,0,1,1))}function st(at){return et||it(),et.width=at.width,et.height=at.height,tt.filter="url(#"+j+")",et}return{load:it,get:st}};function createCanvas(_,j){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(_,j);var et=createTag("canvas");return et.width=_,et.height=j,et}var assetLoader=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas}}(),registeredEffects={};function CVEffects(_){var j,et=_.data.ef?_.data.ef.length:0;this.filters=[];var tt;for(j=0;j<et;j+=1){tt=null;var rt=_.data.ef[j].ty;if(registeredEffects[rt]){var nt=registeredEffects[rt].effect;tt=new nt(_.effectsManager.effectElements[j],_)}tt&&this.filters.push(tt)}this.filters.length&&_.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(_){var j,et=this.filters.length;for(j=0;j<et;j+=1)this.filters[j].renderFrame(_)},CVEffects.prototype.getEffects=function(_){var j,et=this.filters.length,tt=[];for(j=0;j<et;j+=1)this.filters[j].type===_&&tt.push(this.filters[j]);return tt};function registerEffect(_,j){registeredEffects[_]={effect:j}}function CVMaskElement(_,j){this.data=_,this.element=j,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var et,tt=this.masksProperties.length,rt=!1;for(et=0;et<tt;et+=1)this.masksProperties[et].mode!=="n"&&(rt=!0),this.viewData[et]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[et],3);this.hasMasks=rt,rt&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var _=this.element.finalTransform.mat,j=this.element.canvasContext,et,tt=this.masksProperties.length,rt,nt,it;for(j.beginPath(),et=0;et<tt;et+=1)if(this.masksProperties[et].mode!=="n"){this.masksProperties[et].inv&&(j.moveTo(0,0),j.lineTo(this.element.globalData.compSize.w,0),j.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),j.lineTo(0,this.element.globalData.compSize.h),j.lineTo(0,0)),it=this.viewData[et].v,rt=_.applyToPointArray(it.v[0][0],it.v[0][1],0),j.moveTo(rt[0],rt[1]);var st,at=it._length;for(st=1;st<at;st+=1)nt=_.applyToTriplePoints(it.o[st-1],it.i[st],it.v[st]),j.bezierCurveTo(nt[0],nt[1],nt[2],nt[3],nt[4],nt[5]);nt=_.applyToTriplePoints(it.o[st-1],it.i[0],it.v[0]),j.bezierCurveTo(nt[0],nt[1],nt[2],nt[3],nt[4],nt[5])}this.element.globalData.renderer.save(!0),j.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var j=this.globalData.canvasContext,et=assetLoader.createCanvas(j.canvas.width,j.canvas.height);this.buffers.push(et);var tt=assetLoader.createCanvas(j.canvas.width,j.canvas.height);this.buffers.push(tt),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var j=this.globalData;if(j.blendMode!==this.data.bm){j.blendMode=this.data.bm;var et=getBlendMode(this.data.bm);j.canvasContext.globalCompositeOperation=et}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(j){j.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var j=this.buffers[0],et=j.getContext("2d");this.clearCanvas(et),et.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var j=this.buffers[1],et=j.getContext("2d");this.clearCanvas(et),et.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var tt=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(tt.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var rt=assetLoader.getLumaCanvas(this.canvasContext.canvas),nt=rt.getContext("2d");nt.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(rt,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(j,
vendor: 108,936 bytes, line 715
7150,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(j){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!j)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var et=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(et),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(et),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement;function CVShapeData(_,j,et,tt){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var rt=4;j.ty==="rc"?rt=5:j.ty==="el"?rt=6:j.ty==="sr"&&(rt=7),this.sh=ShapePropertyFactory.getShapeProp(_,j,rt,_);var nt,it=et.length,st;for(nt=0;nt<it;nt+=1)et[nt].closed||(st={transforms:tt.addTransformSequence(et[nt].transforms),trNodes:[]},this.styledShapes.push(st),et[nt].elements.push(st))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;function CVShapeElement(_,j,et){this.shapes=[],this.shapesData=_.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(_,j,et)}extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(_,j){var et={data:_,type:_.ty,preTransforms:this.transformsManager.addTransformSequence(j),transforms:[],elements:[],closed:_.hd===!0},tt={};if(_.ty==="fl"||_.ty==="st"?(tt.c=PropertyFactory.getProp(this,_.c,1,255,this),tt.c.k||(et.co="rgb("+bmFloor(tt.c.v[0])+","+bmFloor(tt.c.v[1])+","+bmFloor(tt.c.v[2])+")")):(_.ty==="gf"||_.ty==="gs")&&(tt.s=PropertyFactory.getProp(this,_.s,1,null,this),tt.e=PropertyFactory.getProp(this,_.e,1,null,this),tt.h=PropertyFactory.getProp(this,_.h||{k:0},0,.01,this),tt.a=PropertyFactory.getProp(this,_.a||{k:0},0,degToRads,this),tt.g=new GradientProperty(this,_.g,this)),tt.o=PropertyFactory.getProp(this,_.o,0,.01,this),_.ty==="st"||_.ty==="gs"){if(et.lc=lineCapEnum[_.lc||2],et.lj=lineJoinEnum[_.lj||2],_.lj==1&&(et.ml=_.ml),tt.w=PropertyFactory.getProp(this,_.w,0,null,this),tt.w.k||(et.wi=tt.w.v),_.d){var rt=new DashProperty(this,_.d,"canvas",this);tt.d=rt,tt.d.k||(et.da=tt.d.dashArray,et.do=tt.d.dashoffset[0])}}else et.r=_.r===2?"evenodd":"nonzero";return this.stylesList.push(et),tt.style=et,tt},CVShapeElement.prototype.createGroupElement=function(){var _={it:[],prevViewData:[]};return _},CVShapeElement.prototype.createTransformElement=function(_){var j={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,_.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,_,this)}};return j},CVShapeElement.prototype.createShapeElement=function(_){var j=new CVShapeData(this,_,this.stylesList,this.transformsManager);return this.shapes.push(j),this.addShapeToModifiers(j),j},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var _,j=this.itemsData.length;for(_=0;_<j;_+=1)this.prevViewData[_]=this.itemsData[_];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),j=this.dynamicProperties.length,_=0;_<j;_+=1)this.dynamicProperties[_].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(_){var j,et=this.stylesList.length;for(j=0;j<et;j+=1)this.stylesList[j].closed||this.stylesList[j].transforms.push(_)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var _,j=this.stylesList.length;for(_=0;_<j;_+=1)this.stylesList[_].closed||this.stylesList[_].transforms.pop()},CVShapeElement.prototype.closeStyles=function(_){var j,et=_.length;for(j=0;j<et;j+=1)_[j].closed=!0},CVShapeElement.prototype.searchShapes=function(_,j,et,tt,rt){var nt,it=_.length-1,st,at,ot=[],lt=[],ct,ut,dt,ht=[].concat(rt);for(nt=it;nt>=0;nt-=1){if(ct=this.searchProcessedElement(_[nt]),ct?j[nt]=et[ct-1]:_[nt]._shouldRender=tt,_[nt].ty==="fl"||_[nt].ty==="st"||_[nt].ty==="gf"||_[nt].ty==="gs")ct?j[nt].style.closed=!1:j[nt]=this.createStyleElement(_[nt],ht),ot.push(j[nt].style);else if(_[nt].ty==="gr"){if(!ct)j[nt]=this.createGroupElement(_[nt]);else for(at=j[nt].it.length,st=0;st<at;st+=1)j[nt].prevViewData[st]=j[nt].it[st];this.searchShapes(_[nt].it,j[nt].it,j[nt].prevViewData,tt,ht)}else _[nt].ty==="tr"?(ct||(dt=this.createTransformElement(_[nt]),j[nt]=dt),ht.push(j[nt]),this.addTransformToStyleList(j[nt])):_[nt].ty==="sh"||_[nt].ty==="rc"||_[nt].ty==="el"||_[nt].ty==="sr"?ct||(j[nt]=this.createShapeElement(_[nt])):_[nt].ty==="tm"||_[nt].ty==="rd"||_[nt].ty==="pb"||_[nt].ty==="zz"||_[nt].ty==="op"?(ct?(ut=j[nt],ut.closed=!1):(ut=ShapeModifiers.getModifier(_[nt].ty),ut.init(this,_[nt]),j[nt]=ut,this.shapeModifiers.push(ut)),lt.push(ut)):_[nt].ty==="rp"&&(ct?(ut=j[nt],ut.closed=!0):(ut=ShapeModifiers.getModifier(_[nt].ty),j[nt]=ut,ut.init(this,_,nt,j),this.shapeModifiers.push(ut),tt=!1),lt.push(ut));this.addProcessedElement(_[nt],nt+1)}for(this.removeTransformFromStyleList(),this.closeStyles(ot),it=lt.length,nt=0;nt<it;nt+=1)lt[nt].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(_,j){(_._opMdf||j.op._mdf||this._isFirstFrame)&&(j.opacity=_.opacity,j.opacity*=j.op.v,j._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var _,j=this.stylesList.length,et,tt,rt,nt,it,st,at=this.globalData.renderer,ot=this.globalData.canvasContext,lt,ct;for(_=0;_<j;_+=1)if(ct=this.stylesList[_],lt=ct.type,!((lt==="st"||lt==="gs")&&ct.wi===0||!ct.data._shouldRender||ct.coOp===0||this.globalData.currentGlobalAlpha===0)){for(at.save(),it=ct.elements,lt==="st"||lt==="gs"?(at.ctxStrokeStyle(lt==="st"?ct.co:ct.grd),at.ctxLineWidth(ct.wi),at.ctxLineCap(ct.lc),at.ctxLineJoin(ct.lj),at.ctxMiterLimit(ct.ml||0)):at.ctxFillStyle(lt==="fl"?ct.co:ct.grd),at.ctxOpacity(ct.coOp),lt!=="st"&<!=="gs"&&ot.beginPath(),at.ctxTransform(ct.preTransforms.finalTransform.props),tt=it.length,et=0;et<tt;et+=1){for((lt==="st"||lt==="gs")&&(ot.beginPath(),ct.da&&(ot.setLineDash(ct.da),ot.lineDashOffset=ct.do)),st=it[et].trNodes,nt=st.length,rt=0;rt<nt;rt+=1)st[rt].t==="m"?ot.moveTo(st[rt].p[0],st[rt].p[1]):st[rt].t==="c"?ot.bezierCurveTo(st[rt].pts[0],st[rt].pts[1],st[rt].pts[2],st[rt].pts[3],st[rt].pts[4],st[rt].pts[5]):ot.closePath();(lt==="st"||lt==="gs")&&(at.ctxStroke(),ct.da&&ot.setLineDash(this.dashResetter))}lt!=="st"&<!=="gs"&&this.globalData.renderer.ctxFill(ct.r),at.restore()}},CVShapeElement.prototype.renderShape=function(_,j,et,tt){var rt,nt=j.length-1,it;for(it=_,rt=nt;rt>=0;rt-=1)j[rt].ty==="tr"?(it=et[rt].transform,this.renderShapeTransform(_,it)):j[rt].ty==="sh"||j[rt].ty==="el"||j[rt].ty==="rc"||j[rt].ty==="sr"?this.renderPath(j[rt],et[rt]):j[rt].ty==="fl"?this.renderFill(j[rt],et[rt],it):j[rt].ty==="st"?this.renderStroke(j[rt],et[rt],it):j[rt].ty==="gf"||j[rt].ty==="gs"?this.renderGradientFill(j[rt],et[rt],it):j[rt].ty==="gr"?this.renderShape(it,j[rt].it,et[rt].it):j[rt].ty;tt&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(_,j){if(this._isFirstFrame||j._mdf||_.transforms._mdf){var et=_.trNodes,tt=j.paths,rt,nt,it,st=tt._length;et.length=0;var at=_.transforms.finalTransform;for(it=0;it<st;it+=1){var ot=tt.shapes[it];if(ot&&ot.v){for(nt=ot._length,rt=1;rt<nt;rt+=1)rt===1&&et.push({t:"m",p:at.applyToPointArray(ot.v[0][0],ot.v[0][1],0)}),et.push({t:"c",pts:at.applyToTriplePoints(ot.o[rt-1],ot.i[rt],ot.v[rt])});nt===1&&et.push({t:"m",p:at.applyToPointArray(ot.v[0][0],ot.v[0][1],0)}),ot.c&&nt&&(et.push({t:"c",pts:at.applyToTriplePoints(ot.o[rt-1],ot.i[0],ot.v[0])}),et.push({t:"z"}))}}_.trNodes=et}},CVShapeElement.prototype.renderPath=function(_,j){if(_.hd!==!0&&_._shouldRender){var et,tt=j.styledShapes.length;for(et=0;et<tt;et+=1)this.renderStyledShape(j.styledShapes[et],j.sh)}},CVShapeElement.prototype.renderFill=function(_,j,et){var tt=j.style;(j.c._mdf||this._isFirstFrame)&&(tt.co="rgb("+bmFloor(j.c.v[0])+","+bmFloor(j.c.v[1])+","+bmFloor(j.c.v[2])+")"),(j.o._mdf||et._opMdf||this._isFirstFrame)&&(tt.coOp=j.o.v*et.opacity)},CVShapeElement.prototype.renderGradientFill=function(_,j,et){var tt=j.style,rt;if(!tt.grd||j.g._mdf||j.s._mdf||j.e._mdf||_.t!==1&&(j.h._mdf||j.a._mdf)){var nt=this.globalData.canvasContext,it=j.s.v,st=j.e.v;if(_.t===1)rt=nt.createLinearGradient(it[0],it[1],st[0],st[1]);else{var at=Math.sqrt(Math.pow(it[0]-st[0],2)+Math.pow(it[1]-st[1],2)),ot=Math.atan2(st[1]-it[1],st[0]-it[0]),lt=j.h.v;lt>=1?lt=.99:lt<=-1&&(lt=-.99);var ct=at*lt,ut=Math.cos(ot+j.a.v)*ct+it[0],dt=Math.sin(ot+j.a.v)*ct+it[1];rt=nt.createRadialGradient(ut,dt,0,it[0],it[1],at)}var ht,pt=_.g.p,gt=j.g.c,ft=1;for(ht=0;ht<pt;ht+=1)j.g._hasOpacity&&j.g._collapsable&&(ft=j.g.o[ht*2+1]),rt.addColorStop(gt[ht*4]/100,"rgba("+gt[ht*4+1]+","+gt[ht*4+2]+","+gt[ht*4+3]+","+ft+")");tt.grd=rt}tt.coOp=j.o.v*et.opacity},CVShapeElement.prototype.renderStroke=function(_,j,et){var tt=j.style,rt=j.d;rt&&(rt._mdf||this._isFirstFrame)&&(tt.da=rt.dashArray,tt.do=rt.dashoffset[0]),(j.c._mdf||this._isFirstFrame)&&(tt.co="rgb("+bmFloor(j.c.v[0])+","+bmFloor(j.c.v[1])+","+bmFloor(j.c.v[2])+")"),(j.o._mdf||et._opMdf||this._isFirstFrame)&&(tt.coOp=j.o.v*et.opacity),(j.w._mdf||this._isFirstFrame)&&(tt.wi=j.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0};function CVTextElement(_,j,et){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(_,j,et)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var _=this.textProperty.currentData;this.renderedLetters=createSizedArray(_.l?_.l.length:0);var j=!1;_.fc?(j=!0,this.values.fill=this.buildColor(_.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=j;var et=!1;_.sc&&(et=!0,this.values.stroke=this.buildColor(_.sc),this.values.sWidth=_.sw);var tt=this.globalData.fontManager.getFontByName(_.f),rt,nt,it=_.l,st=this.mHelper;this.stroke=et,this.values.fValue=_.finalSize+"px "+this.globalData.fontManager.getFontByName(_.f).fFamily,nt=_.finalText.length;var at,ot,lt,ct,ut,dt,ht,pt,gt,ft,mt=this.data.singleShape,xt=_.tr*.001*_.finalSize,yt=0,vt=0,bt=!0,Et=0;for(rt=0;rt<nt;rt+=1){at=this.globalData.fontManager.getCharData(_.finalText[rt],tt.fStyle,this.globalData.fontManager.getFontByName(_.f).fFamily),ot=at&&at.data||{},st.reset(),mt&&it[rt].n&&(yt=-xt,vt+=_.yOffset,vt+=bt?1:0,bt=!1),ut=ot.shapes?ot.shapes[0].it:[],ht=ut.length,st.scale(_.finalSize/100,_.finalSize/100),mt&&this.applyTextPropertiesToMatrix(_,st,it[rt].line,yt,vt),gt=createSizedArray(ht-1);var _t=0;for(dt=0;dt<ht;dt+=1)if(ut[dt].ty==="sh"){for(ct=ut[dt].ks.k.i.length,pt=ut[dt].ks.k,ft=[],lt=1;lt<ct;lt+=1)lt===1&&ft.push(st.applyToX(pt.v[0][0],pt.v[0][1],0),st.applyToY(pt.v[0][0],pt.v[0][1],0)),ft.push(st.applyToX(pt.o[lt-1][0],pt.o[lt-1][1],0),st.applyToY(pt.o[lt-1][0],pt.o[lt-1][1],0),st.applyToX(pt.i[lt][0],pt.i[lt][1],0),st.applyToY(pt.i[lt][0],pt.i[lt][1],0),st.applyToX(pt.v[lt][0],pt.v[lt][1],0),st.applyToY(pt.v[lt][0],pt.v[lt][1],0));ft.push(st.applyToX(pt.o[lt-1][0],pt.o[lt-1][1],0),st.applyToY(pt.o[lt-1][0],pt.o[lt-1][1],0),st.applyToX(pt.i[0][0],pt.i[0][1],0),st.applyToY(pt.i[0][0],pt.i[0][1],0),st.applyToX(pt.v[0][0],pt.v[0][1],0),st.applyToY(pt.v[0][0],pt.v[0][1],0)),gt[_t]=ft,_t+=1}mt&&(yt+=it[rt].l,yt+=xt),this.textSpans[Et]?this.textSpans[Et].elem=gt:this.textSpans[Et]={elem:gt},Et+=1}},CVTextElement.prototype.renderInnerContent=function(){this.validateText();var _=this.canvasContext;_.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var j,et,tt,rt,nt,it,st=this.textAnimator.renderedLetters,at=this.textProperty.currentData.l;et=at.length;var ot,lt=null,ct=null,ut=null,dt,ht,pt=this.globalData.renderer;for(j=0;j<et;j+=1)if(!at[j].n){if(ot=st[j],ot&&(pt.save(),pt.ctxTransform(ot.p),pt.ctxOpacity(ot.o)),this.fill){for(ot&&ot.fc?lt!==ot.fc&&(pt.ctxFillStyle(ot.fc),lt=ot.fc):lt!==this.values.fill&&(lt=this.values.fill,pt.ctxFillStyle(this.values.fill)),dt=this.textSpans[j].elem,rt=dt.length,this.globalData.canvasContext.beginPath(),tt=0;tt<rt;tt+=1)for(ht=dt[tt],it=ht.length,this.globalData.canvasContext.moveTo(ht[0],ht[1]),nt=2;nt<it;nt+=6)this.globalData.canvasContext.bezierCurveTo(ht[nt],ht[nt+1],ht[nt+2],ht[nt+3],ht[nt+4],ht[nt+5]);this.globalData.canvasContext.closePath(),pt.ctxFill()}if(this.stroke){for(ot&&ot.sw?ut!==ot.sw&&(ut=ot.sw,pt.ctxLineWidth(ot.sw)):ut!==this.values.sWidth&&(ut=this.values.sWidth,pt.ctxLineWidth(this.values.sWidth)),ot&&ot.sc?ct!==ot.sc&&(ct=ot.sc,pt.ctxStrokeStyle(ot.sc)):ct!==this.values.stroke&&(ct=this.values.stroke,pt.ctxStrokeStyle(this.values.stroke)),dt=this.textSpans[j].elem,rt=dt.length,this.globalData.canvasContext.beginPath(),tt=0;tt<rt;tt+=1)for(ht=dt[tt],it=ht.length,this.globalData.canvasContext.moveTo(ht[0],ht[1]),nt=2;nt<it;nt+=6)this.globalData.canvasContext.bezierCurveTo(ht[nt],ht[nt+1],ht[nt+2],ht[nt+3],ht[nt+4],ht[nt+5]);this.globalData.canvasContext.closePath(),pt.ctxStroke()}ot&&this.globalData.renderer.restore()}};function CVImageElement(_,j,et){this.assetData=j.getAssetData(_.refId),this.img=j.imageLoader.getAsset(this.assetData),this.initElement(_,j,et)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var _=createTag("canvas");_.width=this.assetData.w,_.height=this.assetData.h;var j=_.getContext("2d"),et=this.img.width,tt=this.img.height,rt=et/tt,nt=this.assetData.w/this.assetData.h,it,st,at=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;rt>nt&&at==="xMidYMid slice"||rt<nt&&at!=="xMidYMid slice"?(st=tt,it=st*nt):(it=et,st=it/nt),j.drawImage(this.img,(et-it)/2,(tt-st)/2,it,st,0,0,this.assetData.w,this.assetData.h),this.img=_}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(_,j,et){this.initElement(_,j,et)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(){}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(_){return new CVShapeElement(_,this.globalData,this)},CanvasRendererBase.prototype.createText=function(_){return new CVTextElement(_,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(_){return new CVImageElement(_,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(_){return new CVSolidElement(_,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(_){_[0]===1&&_[1]===0&&_[4]===0&&_[5]===1&&_[12]===0&&_[13]===0||this.canvasContext.transform(_[0],_[1],_[4],_[5],_[12],_[13])},CanvasRendererBase.prototype.ctxOpacity=function(_){this.canvasContext.globalAlpha*=_<0?0:_},CanvasRendererBase.prototype.ctxFillStyle=function(_){this.canvasContext.fillStyle=_},CanvasRendererBase.prototype.ctxStrokeStyle=function(_){this.canvasContext.strokeStyle=_},CanvasRendererBase.prototype.ctxLineWidth=function(_){this.canvasContext.lineWidth=_},CanvasRendererBase.prototype.ctxLineCap=function(_){this.canvasContext.lineCap=_},CanvasRendererBase.prototype.ctxLineJoin=function(_){this.canvasContext.lineJoin=_},CanvasRendererBase.prototype.ctxMiterLimit=function(_){this.canvasContext.miterLimit=_},CanvasRendererBase.prototype.ctxFill=function(_){this.canvasContext.fill(_)},CanvasRendererBase.prototype.ctxFillRect=function(_,j,et,tt){this.canvasContext.fillRect(_,j,et,tt)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(_){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}_&&(this.globalData.blendMode="source-over"),this.contextData.restore(_)},CanvasRendererBase.prototype.configAnimation=function(_){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var j=this.animationItem.container.style;j.width="100%",j.height="100%";var et="0px 0px 0px";j.transformOrigin=et,j.mozTransformOrigin=et,j.webkitTransformOrigin=et,j["-webkit-transform"]=et,j.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=_,this.layers=_.layers,this.transformCanvas={w:_.w,h:_.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(_,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(_.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(_,j){this.reset();var et,tt;_?(et=_,tt=j,this.canvasContext.canvas.width=et,this.canvasContext.canvas.height=tt):(this.animationItem.wrapper&&this.animationItem.container?(et=this.animationItem.wrapper.offsetWidth,tt=this.animationItem.wrapper.offsetHeight):(et=this.canvasContext.canvas.width,tt=this.canvasContext.canvas.height),this.canvasContext.canvas.width=et*this.renderConfig.dpr,this.canvasContext.canvas.height=tt*this.renderConfig.dpr);var rt,nt;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var it=this.renderConfig.preserveAspectRatio.split(" "),st=it[1]||"meet",at=it[0]||"xMidYMid",ot=at.substr(0,4),lt=at.substr(4);rt=et/tt,nt=this.transformCanvas.w/this.transformCanvas.h,nt>rt&&st==="meet"||nt<rt&&st==="slice"?(this.transformCanvas.sx=et/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=et/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=tt/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=tt/(this.transformCanvas.h/this.renderConfig.dpr)),ot==="xMid"&&(nt<rt&&st==="meet"||nt>rt&&st==="slice")?this.transformCanvas.tx=(et-this.transformCanvas.w*(tt/this.transformCanvas.h))/2*this.renderConfig.dpr:ot==="xMax"&&(nt<rt&&st==="meet"||nt>rt&&st==="slice")?this.transformCanvas.tx=(et-this.transformCanvas.w*(tt/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,lt==="YMid"&&(nt>rt&&st==="meet"||nt<rt&&st==="slice")?this.transformCanvas.ty=(tt-this.transformCanvas.h*(et/this.transformCanvas.w))/2*this.renderConfig.dpr:lt==="YMax"&&(nt>rt&&st==="meet"||nt<rt&&st==="slice")?this.transformCanvas.ty=(tt-this.transformCanvas.h*(et/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=et/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=tt/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var _,j=this.layers?this.layers.length:0;for(_=j-1;_>=0;_-=1)this.elements[_]&&this.elements[_].destroy&&this.elements[_].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(_,j){if(!(this.renderedFrame===_&&this.renderConfig.clearCanvas===!0&&!j||this.destroyed||_===-1)){this.renderedFrame=_,this.globalData.frameNum=_-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||j,this.globalData.projectInterface.currentFrame=_;var et,tt=this.layers.length;for(this.completeLayers||this.checkLayers(_),et=tt-1;et>=0;et-=1)(this.completeLayers||this.elements[et])&&this.elements[et].prepareFrame(_-this.layers[et].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),et=tt-1;et>=0;et-=1)(this.completeLayers||this.elements[et])&&this.elements[et].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(_){var j=this.elements;if(!(j[_]||this.layers[_].ty===99)){var et=this.createItem(this.layers[_],this,this.globalData);j[_]=et,et.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var _=this.pendingElements.pop();_.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var _,j=15;for(_=0;_<j;_+=1){var et=new CanvasContext;this.stack[_]=et}this._length=j,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}CVContextData.prototype.duplicate=function(){var _=this._length*2,j=0;for(j=this._length;j<_;j+=1)this.stack[j]=new CanvasContext;this._length=_},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(_){this.cArrPos-=1;var j=this.stack[this.cArrPos],et=j.transform,tt,rt=this.cTr.props;for(tt=0;tt<16;tt+=1)rt[tt]=et[tt];if(_){this.nativeContext.restore();var nt=this.stack[this.cArrPos+1];this.appliedFillStyle=nt.fillStyle,this.appliedStrokeStyle=nt.strokeStyle,this.appliedLineWidth=nt.lineWidth,this.appliedLineCap=nt.lineCap,this.appliedLineJoin=nt.lineJoin,this.appliedMiterLimit=nt.miterLimit}this.nativeContext.setTransform(et[0],et[1],et[4],et[5],et[12],et[13]),(_||j.opacity!==-1&&this.currentOpacity!==j.opacity)&&(this.nativeContext.globalAlpha=j.opacity,this.currentOpacity=j.opacity),this.currentFillStyle=j.fillStyle,this.currentStrokeStyle=j.strokeStyle,this.currentLineWidth=j.lineWidth,this.currentLineCap=j.lineCap,this.currentLineJoin=j.lineJoin,this.currentMiterLimit=j.miterLimit},CVContextData.prototype.save=function(_){_&&this.nativeContext.save();var j=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var et=this.stack[this.cArrPos],tt;for(tt=0;tt<16;tt+=1)et.transform[tt]=j[tt];this.cArrPos+=1;var rt=this.stack[this.cArrPos];rt.opacity=et.opacity,rt.fillStyle=et.fillStyle,rt.strokeStyle=et.strokeStyle,rt.lineWidth=et.lineWidth,rt.lineCap=et.lineCap,rt.lineJoin=et.lineJoin,rt.miterLimit=et.miterLimit},CVContextData.prototype.setOpacity=function(_){this.stack[this.cArrPos].opacity=_},CVContextData.prototype.setContext=function(_){this.nativeContext=_},CVContextData.prototype.fillStyle=function(_){this.stack[this.cArrPos].fillStyle!==_&&(this.currentFillStyle=_,this.stack[this.cArrPos].fillStyle=_)},CVContextData.prototype.strokeStyle=function(_){this.stack[this.cArrPos].strokeStyle!==_&&(this.currentStrokeStyle=_,this.stack[this.cArrPos].strokeStyle=_)},CVContextData.prototype.lineWidth=function(_){this.stack[this.cArrPos].lineWidth!==_&&(this.currentLineWidth=_,this.stack[this.cArrPos].lineWidth=_)},CVContextData.prototype.lineCap=function(_){this.stack[this.cArrPos].lineCap!==_&&(this.currentLineCap=_,this.stack[this.cArrPos].lineCap=_)},CVContextData.prototype.lineJoin=function(_){this.stack[this.cArrPos].lineJoin!==_&&(this.currentLineJoin=_,this.stack[this.cArrPos].lineJoin=_)},CVContextData.prototype.miterLimit=function(_){this.stack[this.cArrPos].miterLimit!==_&&(this.currentMiterLimit=_,this.stack[this.cArrPos].miterLimit=_)},CVContextData.prototype.transform=function(_){this.transformMat.cloneFromProps(_);var j=this.cTr;this.transformMat.multiply(j),j.cloneFromProps(this.transformMat.props);var et=j.props;this.nativeContext.setTransform(et[0],et[1],et[4],et[5],et[12],et[13])},CVContextData.prototype.opacity=function(_){var j=this.stack[this.cArrPos].opacity;j*=_<0?0:_,this.stack[this.cArrPos].opacity!==j&&(this.currentOpacity!==_&&(this.nativeContext.globalAlpha=_,this.currentOpacity=_),this.stack[this.cArrPos].opacity=j)},CVContextData.prototype.fill=function(_){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(_)},CVContextData.prototype.fillRect=function(_,j,et,tt){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(_,j,et,tt)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()};function CVCompElement(_,j,et){this.completeLayers=!1,this.layers=_.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(_,j,et),this.tm=_.tm?PropertyFactory.getProp(this,_.tm,0,j.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var _=this.canvasContext;_.beginPath(),_.moveTo(0,0),_.lineTo(this.data.w,0),_.lineTo(this.data.w,this.data.h),_.lineTo(0,this.data.h),_.lineTo(0,0),_.clip();var j,et=this.layers.length;for(j=et-1;j>=0;j-=1)(this.completeLayers||this.elements[j])&&this.elements[j].renderFrame()},CVCompElement.prototype.destroy=function(){var _,j=this.layers.length;for(_=j-1;_>=0;_-=1)this.elements[_]&&this.elements[_].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(_){return new CVCompElement(_,this.globalData,this)};function CanvasRenderer(_,j){this.animationItem=_,this.renderConfig={clearCanvas:j&&j.clearCanvas!==void 0?j.clearCanvas:!0,context:j&&j.context||null,progressiveLoad:j&&j.progressiveLoad||!1,preserveAspectRatio:j&&j.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:j&&j.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:j&&j.contentVisibility||"visible",className:j&&j.className||"",id:j&&j.id||"",runExpressions:!j||j.runExpressions===void 0||j.runExpressions},this.renderConfig.dpr=j&&j.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=j&&j.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(_){return new CVCompElement(_,this.globalData,this)};function HBaseElement(){}HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var j=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var et=this.finalTransform.mat.toCSS();j.transform=et,j.webkitTransform=et}this.finalTransform._opMdf&&(j.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(_,j,et){this.initElement(_,j,et)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var _;this.data.hasMask?(_=createNS("rect"),_.setAttribute("width",this.data.sw),_.setAttribute("height",this.data.sh),_.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(_=createTag("div"),_.style.width=this.data.sw+"px",_.style.height=this.data.sh+"px",_.style.backgroundColor=this.data.sc),this.layerElement.appendChild(_)};function HShapeElement(_,j,et){this.shapes=[],this.shapesData=_.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(_,j,et),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var _;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),_=this.svgElement;else{_=createNS("svg");var j=this.comp.data?this.comp.data:this.globalData.compSize;_.setAttribute("width",j.w),_.setAttribute("height",j.h),_.appendChild(this.shapesContainer),this.layerElement.appendChild(_)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=_},HShapeElement.prototype.getTransformedPoint=function(_,j){var et,tt=_.length;for(et=0;et<tt;et+=1)j=_[et].mProps.v.applyToPointArray(j[0],j[1],0);return j},HShapeElement.prototype.calculateShapeBoundingBox=function(_,j){var et=_.sh.v,tt=_.transformers,rt,nt=et._length,it,st,at,ot;if(!(nt<=1)){for(rt=0;rt<nt-1;rt+=1)it=this.getTransformedPoint(tt,et.v[rt]),st=this.getTransformedPoint(tt,et.o[rt]),at=this.getTransformedPoint(tt,et.i[rt+1]),ot=this.getTransformedPoint(tt,et.v[rt+1]),this.checkBounds(it,st,at,ot,j);et.c&&(it=this.getTransformedPoint(tt,et.v[rt]),st=this.getTransformedPoint(tt,et.o[rt]),at=this.getTransformedPoint(tt,et.i[0]),ot=this.getTransformedPoint(tt,et.v[0]),this.checkBounds(it,st,at,ot,j))}},HShapeElement.prototype.checkBounds=function(_,j,et,tt,rt){this.getBoundsOfCurve(_,j,et,tt);var nt=this.shapeBoundingBox;rt.x=bmMin(nt.left,rt.x),rt.xMax=bmMax(nt.right,rt.xMax),rt.y=bmMin(nt.top,rt.y),rt.yMax=bmMax(nt.bottom,rt.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(_,j,et,tt){for(var rt=[[_[0],tt[0]],[_[1],tt[1]]],nt,it,st,at,ot,lt,ct,ut=0;ut<2;++ut)it=6*_[ut]-12*j[ut]+6*et[ut],nt=-3*_[ut]+9*j[ut]-9*et[ut]+3*tt[ut],st=3*j[ut]-3*_[ut],it|=0,nt|=0,st|=0,nt===0&&it===0||(nt===0?(at=-st/it,at>0&&at<1&&rt[ut].push(this.calculateF(at,_,j,et,tt,ut))):(ot=it*it-4*st*nt,ot>=0&&(lt=(-it+bmSqrt(ot))/(2*nt),lt>0&<<1&&rt[ut].push(this.calculateF(lt,_,j,et,tt,ut)),ct=(-it-bmSqrt(ot))/(2*nt),ct>0&&ct<1&&rt[ut].push(this.calculateF(ct,_,j,et,tt,ut)))));this.shapeBoundingBox.left=bmMin.apply(null,rt[0]),this.shapeBoundingBox.top=bmMin.apply(null,rt[1]),this.shapeBoundingBox.right=bmMax.apply(null,rt[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,rt[1])},HShapeElement.prototype.calculateF=function(_,j,et,tt,rt,nt){return bmPow(1-_,3)*j[nt]+3*bmPow(1-_,2)*_*et[nt]+3*(1-_)*bmPow(_,2)*tt[nt]+bmPow(_,3)*rt[nt]},HShapeElement.prototype.calculateBoundingBox=function(_,j){var et,tt=_.length;for(et=0;et<tt;et+=1)_[et]&&_[et].sh?this.calculateShapeBoundingBox(_[et],j):_[et]&&_[et].it?this.calculateBoundingBox(_[et].it,j):_[et]&&_[et].style&&_[et].w&&this.expandStrokeBoundingBox(_[et].w,j)},HShapeElement.prototype.expandStrokeBoundingBox=function(_,j){var et=0;if(_.keyframes){for(var tt=0;tt<_.keyframes.length;tt+=1){var rt=_.keyframes[tt].s;rt>et&&(et=rt)}et*=_.mult}else et=_.v*_.mult;j.x-=et,j.xMax+=et,j.y-=et,j.yMax+=et},HShapeElement.prototype.currentBoxContains=function(_){return this.currentBBox.x<=_.x&&this.currentBBox.y<=_.y&&this.currentBBox.width+this.currentBBox.x>=_.x+_.width&&this.currentBBox.height+this.currentBBox.y>=_.y+_.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var _=this.tempBoundingBox,j=999999;if(_.x=j,_.xMax=-j,_.y=j,_.yMax=-j,this.calculateBoundingBox(this.itemsData,_),_.width=_.xMax<_.x?0:_.xMax-_.x,_.height=_.yMax<_.y?0:_.yMax-_.y,this.currentBoxContains(_))return;var et=!1;if(this.currentBBox.w!==_.width&&(this.currentBBox.w=_.width,this.shapeCont.setAttribute("width",_.width),et=!0),this.currentBBox.h!==_.height&&(this.currentBBox.h=_.height,this.shapeCont.setAttribute("height",_.height),et=!0),et||this.currentBBox.x!==_.x||this.currentBBox.y!==_.y){this.currentBBox.w=_.width,this.currentBBox.h=_.height,this.currentBBox.x=_.x,this.currentBBox.y=_.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var tt=this.shapeCont.style,rt="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";tt.transform=rt,tt.webkitTransform=rt}}};function HTextElement(_,j,et){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(_,j,et)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var _=createNS("g");this.maskedElement.appendChild(_),this.innerElem=_}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var _=this.textProperty.currentData;this.renderedLetters=createSizedArray(_.l?_.l.length:0);var j=this.innerElem.style,et=_.fc?this.buildColor(_.fc):"rgba(0,0,0,0)";j.fill=et,j.color=et,_.sc&&(j.stroke=this.buildColor(_.sc),j.strokeWidth=_.sw+"px");var tt=this.globalData.fontManager.getFontByName(_.f);if(!this.globalData.fontManager.chars)if(j.fontSize=_.finalSize+"px",j.lineHeight=_.finalSize+"px",tt.fClass)this.innerElem.className=tt.fClass;else{j.fontFamily=tt.fFamily;var rt=_.fWeight,nt=_.fStyle;j.fontStyle=nt,j.fontWeight=rt}var it,st,at=_.l;st=at.length;var ot,lt,ct,ut=this.mHelper,dt,ht="",pt=0;for(it=0;it<st;it+=1){if(this.globalData.fontManager.chars?(this.textPaths[pt]?ot=this.textPaths[pt]:(ot=createNS("path"),ot.setAttribute("stroke-linecap",lineCapEnum[1]),ot.setAttribute("stroke-linejoin",lineJoinEnum[2]),ot.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[pt]?(lt=this.textSpans[pt],ct=lt.children[0]):(lt=createTag("div"),lt.style.lineHeight=0,ct=createNS("svg"),ct.appendChild(ot),styleDiv(lt)))):this.isMasked?ot=this.textPaths[pt]?this.textPaths[pt]:createNS("text"):this.textSpans[pt]?(lt=this.textSpans[pt],ot=this.textPaths[pt]):(lt=createTag("span"),styleDiv(lt),ot=createTag("span"),styleDiv(ot),lt.appendChild(ot)),this.globalData.fontManager.chars){var gt=this.globalData.fontManager.getCharData(_.finalText[it],tt.fStyle,this.globalData.fontManager.getFontByName(_.f).fFamily),ft;if(gt?ft=gt.data:ft=null,ut.reset(),ft&&ft.shapes&&ft.shapes.length&&(dt=ft.shapes[0].it,ut.scale(_.finalSize/100,_.finalSize/100),ht=this.createPathShape(ut,dt),ot.setAttribute("d",ht)),this.isMasked)this.innerElem.appendChild(ot);else{if(this.innerElem.appendChild(lt),ft&&ft.shapes){document.body.appendChild(ct);var mt=ct.getBBox();ct.setAttribute("width",mt.width+2),ct.setAttribute("height",mt.height+2),ct.setAttribute("viewBox",mt.x-1+" "+(mt.y-1)+" "+(mt.width+2)+" "+(mt.height+2));var xt=ct.style,yt="translate("+(mt.x-1)+"px,"+(mt.y-1)+"px)";xt.transform=yt,xt.webkitTransform=yt,at[it].yOffset=mt.y-1}else ct.setAttribute("width",1),ct.setAttribute("height",1);lt.appendChild(ct)}}else if(ot.textContent=at[it].val,ot.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(ot);else{this.innerElem.appendChild(lt);var vt=ot.style,bt="translate3d(0,"+-_.finalSize/1.2+"px,0)";vt.transform=bt,vt.webkitTransform=bt}this.isMasked?this.textSpans[pt]=ot:this.textSpans[pt]=lt,this.textSpans[pt].style.display="block",this.textPaths[pt]=ot,pt+=1}for(;pt<this.textSpans.length;)this.textSpans[pt].style.display="none",pt+=1},HTextElement.prototype.renderInnerContent=function(){this.validateText();var _;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),_=this.svgElement.style;var j="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";_.transform=j,_.webkitTransform=j}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var et,tt,rt=0,nt=this.textAnimator.renderedLetters,it=this.textProperty.currentData.l;tt=it.length;var st,at,ot;for(et=0;et<tt;et+=1)it[et].n?rt+=1:(at=this.textSpans[et],ot=this.textPaths[et],st=nt[rt],rt+=1,st._mdf.m&&(this.isMasked?at.setAttribute("transform",st.m):(at.style.webkitTransform=st.m,at.style.transform=st.m)),at.style.opacity=st.o,st.sw&&st._mdf.sw&&ot.setAttribute("stroke-width",st.sw),st.sc&&st._mdf.sc&&ot.setAttribute("stroke",st.sc),st.fc&&st._mdf.fc&&(ot.setAttribute("fill",st.fc),ot.style.color=st.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var lt=this.innerElem.getBBox();this.currentBBox.w!==lt.width&&(this.currentBBox.w=lt.width,this.svgElement.setAttribute("width",lt.width)),this.currentBBox.h!==lt.height&&(this.currentBBox.h=lt.height,this.svgElement.setAttribute("height",lt.height));var ct=1;if(this.currentBBox.w!==lt.width+ct*2||this.currentBBox.h!==lt.height+ct*2||this.currentBBox.x!==lt.x-ct||this.currentBBox.y!==lt.y-ct){this.currentBBox.w=lt.width+ct*2,this.currentBBox.h=lt.height+ct*2,this.currentBBox.x=lt.x-ct,this.currentBBox.y=lt.y-ct,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),_=this.svgElement.style;var ut="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";_.transform=ut,_.webkitTransform=ut}}}};function HCameraElement(_,j,et){this.initFrame(),this.initBaseData(_,j,et),this.initHierarchy();var tt=PropertyFactory.getProp;if(this.pe=tt(this,_.pe,0,0,this),_.ks.p.s?(this.px=tt(this,_.ks.p.x,1,0,this),this.py=tt(this,_.ks.p.y,1,0,this),this.pz=tt(this,_.ks.p.z,1,0,this)):this.p=tt(this,_.ks.p,1,0,this),_.ks.a&&(this.a=tt(this,_.ks.a,1,0,this)),_.ks.or.k.length&&_.ks.or.k[0].to){var rt,nt=_.ks.or.k.length;for(rt=0;rt<nt;rt+=1)_.ks.or.k[rt].to=null,_.ks.or.k[rt].ti=null}this.or=tt(this,_.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=tt(this,_.ks.rx,0,degToRads,this),this.ry=tt(this,_.ks.ry,0,degToRads,this),this.rz=tt(this,_.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var _,j=this.comp.threeDElements.length,et,tt,rt;for(_=0;_<j;_+=1)if(et=this.comp.threeDElements[_],et.type==="3d"){tt=et.perspectiveElem.style,rt=et.container.style;var nt=this.pe.v+"px",it="0px 0px 0px",st="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";tt.perspective=nt,tt.webkitPerspective=nt,rt.transformOrigin=it,rt.mozTransformOrigin=it,rt.webkitTransformOrigin=it,tt.transform=st,tt.webkitTransform=st}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var _=this._isFirstFrame,j,et;if(this.hierarchy)for(et=this.hierarchy.length,j=0;j<et;j+=1)_=this.hierarchy[j].finalTransform.mProp._mdf||_;if(_||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(et=this.hierarchy.length-1,j=et;j>=0;j-=1){var tt=this.hierarchy[j].finalTransform.mProp;this.mat.translate(-tt.p.v[0],-tt.p.v[1],tt.p.v[2]),this.mat.rotateX(-tt.or.v[0]).rotateY(-tt.or.v[1]).rotateZ(tt.or.v[2]),this.mat.rotateX(-tt.rx.v).rotateY(-tt.ry.v).rotateZ(tt.rz.v),this.mat.scale(1/tt.s.v[0],1/tt.s.v[1],1/tt.s.v[2]),this.mat.translate(tt.a.v[0],tt.a.v[1],tt.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var rt;this.p?rt=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:rt=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var nt=Math.sqrt(Math.pow(rt[0],2)+Math.pow(rt[1],2)+Math.pow(rt[2],2)),it=[rt[0]/nt,rt[1]/nt,rt[2]/nt],st=Math.sqrt(it[2]*it[2]+it[0]*it[0]),at=Math.atan2(it[1],st),ot=Math.atan2(it[0],-it[2]);this.mat.rotateY(ot).rotateX(-at)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var lt=!this._prevMat.equals(this.mat);if((lt||this.pe._mdf)&&this.comp.threeDElements){et=this.comp.threeDElements.length;var ct,ut,dt;for(j=0;j<et;j+=1)if(ct=this.comp.threeDElements[j],ct.type==="3d"){if(lt){var ht=this.mat.toCSS();dt=ct.container.style,dt.transform=ht,dt.webkitTransform=ht}this.pe._mdf&&(ut=ct.perspectiveElem.style,ut.perspective=this.pe.v+"px",ut.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(_){this.prepareProperties(_,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null};function HImageElement(_,j,et){this.assetData=j.getAssetData(_.refId),this.initElement(_,j,et)}extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var _=this.globalData.getAssetsPath(this.assetData),j=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",_),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(j),j.crossOrigin="anonymous",j.src=_,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function HybridRendererBase(_,j){this.animationItem=_,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:j&&j.className||"",imagePreserveAspectRatio:j&&j.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(j&&j.hideOnTransparent===!1),filterSize:{width:j&&j.filterSize&&j.filterSize.width||"400%",height:j&&j.filterSize&&j.filterSize.height||"400%",x:j&&j.filterSize&&j.filterSize.x||"-100%",y:j&&j.filterSize&&j.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var _=this.pendingElements.pop();_.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(_,j){var et=_.getBaseElement();if(et){var tt=this.layers[j];if(!tt.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(et,j);else{for(var rt=0,nt,it,st;rt<j;)this.elements[rt]&&this.elements[rt]!==!0&&this.elements[rt].getBaseElement&&(it=this.elements[rt],st=this.layers[rt].ddd?this.getThreeDContainerByPos(rt):it.getBaseElement(),nt=st||nt),rt+=1;nt?(!tt.ddd||!this.supports3d)&&this.layerElement.insertBefore(et,nt):(!tt.ddd||!this.supports3d)&&this.layerElement.appendChild(et)}else this.addTo3dContainer(et,j)}},HybridRendererBase.prototype.createShape=function(_){return this.supports3d?new HShapeElement(_,this.globalData,this):new SVGShapeElement(_,this.globalData,this)},HybridRendererBase.prototype.createText=function(_){return this.supports3d?new HTextElement(_,this.globalData,this):new SVGTextLottieElement(_,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(_){return this.camera=new HCameraElement(_,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(_){return this.supports3d?new HImageElement(_,this.globalData,this):new IImageElement(_,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(_){return this.supports3d?new HSolidElement(_,this.globalData,this):new ISolidElement(_,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(_){for(var j=0,et=this.threeDElements.length;j<et;){if(this.threeDElements[j].startPos<=_&&this.threeDElements[j].endPos>=_)return this.threeDElements[j].perspectiveElem;j+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(_,j){var et=createTag("div"),tt,rt;styleDiv(et);var nt=createTag("div");if(styleDiv(nt),j==="3d"){tt=et.style,tt.width=this.globalData.compSize.w+"px",tt.height=this.globalData.compSize.h+"px";var it="50% 50%";tt.webkitTransformOrigin=it,tt.mozTransformOrigin=it,tt.transformOrigin=it,rt=nt.style;var st="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";rt.transform=st,rt.webkitTransform=st}et.appendChild(nt);var at={container:nt,perspectiveElem:et,startPos:_,endPos:_,type:j};return this.threeDElements.push(at),at},HybridRendererBase.prototype.build3dContainers=function(){var _,j=this.layers.length,et,tt="";for(_=0;_<j;_+=1)this.layers[_].ddd&&this.layers[_].ty!==3?(tt!=="3d"&&(tt="3d",et=this.createThreeDContainer(_,"3d")),et.endPos=Math.max(et.endPos,_)):(tt!=="2d"&&(tt="2d",et=this.createThreeDContainer(_,"2d")),et.endPos=Math.max(et.endPos,_));for(j=this.threeDElements.length,_=j-1;_>=0;_-=1)this.resizerElem.appendChild(this.threeDElements[_].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(_,j){for(var et=0,tt=this.threeDElements.length;et<tt;){if(j<=this.threeDElements[et].endPos){for(var rt=this.threeDElements[et].startPos,nt;rt<j;)this.elements[rt]&&this.elements[rt].getBaseElement&&(nt=this.elements[rt].getBaseElement()),rt+=1;nt?this.threeDElements[et].container.insertBefore(_,nt):this.threeDElements[et].container.appendChild(_);break}et+=1}},HybridRendererBase.prototype.configAnimation=function(_){var j=createTag("div"),et=this.animationItem.wrapper,tt=j.style;tt.width=_.w+"px",tt.height=_.h+"px",this.resizerElem=j,styleDiv(j),tt.transformStyle="flat",tt.mozTransformStyle="flat",tt.webkitTransformStyle="flat",this.renderConfig.className&&j.setAttribute("class",this.renderConfig.className),et.appendChild(j),tt.overflow="hidden";var rt=createNS("svg");rt.setAttribute("width","1"),rt.setAttribute("height","1"),styleDiv(rt),this.resizerElem.appendChild(rt);var nt=createNS("defs");rt.appendChild(nt),this.data=_,this.setupGlobalData(_,rt),this.globalData.defs=nt,this.layers=_.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var _,j=this.layers?this.layers.length:0;for(_=0;_<j;_+=1)this.elements[_]&&this.elements[_].destroy&&this.elements[_].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var _=this.animationItem.wrapper.offsetWidth,j=this.animationItem.wrapper.offsetHeight,et=_/j,tt=this.globalData.compSize.w/this.globalData.compSize.h,rt,nt,it,st;tt>et?(rt=_/this.globalData.compSize.w,nt=_/this.globalData.compSize.w,it=0,st=(j-this.globalData.compSize.h*(_/this.globalData.compSize.w))/2):(rt=j/this.globalData.compSize.h,nt=j/this.globalData.compSize.h,it=(_-this.globalData.compSize.w*(j/this.globalData.compSize.h))/2,st=0);var at=this.resizerElem.style;at.webkitTransform="matrix3d("+rt+",0,0,0,0,"+nt+",0,0,0,0,1,0,"+it+","+st+",0,1)",at.transform=at.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var _=this.globalData.compSize.w,j=this.globalData.compSize.h,et,tt=this.threeDElements.length;for(et=0;et<tt;et+=1){var rt=this.threeDElements[et].perspectiveElem.style;rt.webkitPerspective=Math.sqrt(Math.pow(_,2)+Math.pow(j,2))+"px",rt.perspective=rt.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(_){var j,et=_.length,tt=createTag("div");for(j=0;j<et;j+=1)if(_[j].xt){var rt=this.createComp(_[j],tt,this.globalData.comp,null);rt.initExpressions(),this.globalData.projectInterface.registerComposition(rt)}};function HCompElement(_,j,et){this.layers=_.layers,this.supports3d=!_.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(_,j,et),this.tm=_.tm?PropertyFactory.getProp(this,_.tm,0,j.frameRate,this):{_placeholder:!0}}extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(_,j){for(var et=0,tt;et<j;)this.elements[et]&&this.elements[et].getBaseElement&&(tt=this.elements[et].getBaseElement()),et+=1;tt?this.layerElement.insertBefore(_,tt):this.layerElement.appendChild(_)},HCompElement.prototype.createComp=function(_){return this.supports3d?new HCompElement(_,this.globalData,this):new SVGCompElement(_,this.globalData,this)};function HybridRenderer(_,j){this.animationItem=_,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:j&&j.className||"",imagePreserveAspectRatio:j&&j.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(j&&j.hideOnTransparent===!1),filterSize:{width:j&&j.filterSize&&j.filterSize.width||"400%",height:j&&j.filterSize&&j.filterSize.height||"400%",x:j&&j.filterSize&&j.filterSize.x||"-100%",y:j&&j.filterSize&&j.filterSize.y||"-100%"},runExpressions:!j||j.runExpressions===void 0||j.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(_){return this.supports3d?new HCompElement(_,this.globalData,this):new SVGCompElement(_,this.globalData,this)};var CompExpressionInterface=function(){return function(_){function j(et){for(var tt=0,rt=_.layers.length;tt<rt;){if(_.layers[tt].nm===et||_.layers[tt].ind===et)return _.elements[tt].layerInterface;tt+=1}return null}return Object.defineProperty(j,"_name",{value:_.data.nm}),j.layer=j,j.pixelAspect=1,j.height=_.data.h||_.globalData.compSize.h,j.width=_.data.w||_.globalData.compSize.w,j.pixelAspect=1,j.frameDuration=1/_.globalData.frameRate,j.displayStartTime=0,j.numLayers=_.layers.length,j}}();function _typeof$2(_){"@babel/helpers - typeof";return _typeof$2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$2(_)}function seedRandom(_,j){var et=this,tt=256,rt=6,nt=52,it="random",st=j.pow(tt,rt),at=j.pow(2,nt),ot=at*2,lt=tt-1,ct;function ut(xt,yt,vt){var bt=[];yt=yt===!0?{entropy:!0}:yt||{};var Et=gt(pt(yt.entropy?[xt,mt(_)]:xt===null?ft():xt,3),bt),_t=new dt(bt),wt=function(){for(var Ct=_t.g(rt),jt=st,Dt=0;Ct<at;)Ct=(Ct+Dt)*tt,jt*=tt,Dt=_t.g(1);for(;Ct>=ot;)Ct/=2,jt/=2,Dt>>>=1;return(Ct+Dt)/jt};return wt.int32=function(){return _t.g(4)|0},wt.quick=function(){return _t.g(4)/4294967296},wt.double=wt,gt(mt(_t.S),_),(yt.pass||vt||function(Rt,Ct,jt,Dt){return Dt&&(Dt.S&&ht(Dt,_t),Rt.state=function(){return ht(_t,{})}),jt?(j[it]=Rt,Ct):Rt})(wt,Et,"global"in yt?yt.global:this==j,yt.state)}j["seed"+it]=ut;function dt(xt){var yt,vt=xt.length,bt=this,Et=0,_t=bt.i=bt.j=0,wt=bt.S=[];for(vt||(xt=[vt++]);Et<tt;)wt[Et]=Et++;for(Et=0;Et<tt;Et++)wt[Et]=wt[_t=lt&_t+xt[Et%vt]+(yt=wt[Et])],wt[_t]=yt;bt.g=function(Rt){for(var Ct,jt=0,Dt=bt.i,It=bt.j,Ot=bt.S;Rt--;)Ct=Ot[Dt=lt&Dt+1],jt=jt*tt+Ot[lt&(Ot[Dt]=Ot[It=lt&It+Ct])+(Ot[It]=Ct)];return bt.i=Dt,bt.j=It,jt}}function ht(xt,yt){return yt.i=xt.i,yt.j=xt.j,yt.S=xt.S.slice(),yt}function pt(xt,yt){var vt=[],bt=_typeof$2(xt),Et;if(yt&&bt=="object")for(Et in xt)try{vt.push(pt(xt[Et],yt-1))}catch{}return vt.length?vt:bt=="string"?xt:xt+"\0"}function gt(xt,yt){for(var vt=xt+"",bt,Et=0;Et<vt.length;)yt[lt&Et]=lt&(bt^=yt[lt&Et]*19)+vt.charCodeAt(Et++);return mt(yt)}function ft(){try{var xt=new Uint8Array(tt);return(et.crypto||et.msCrypto).getRandomValues(xt),mt(xt)}catch{var yt=et.navigator,vt=yt&&yt.plugins;return[+new Date,et,vt,et.screen,mt(_)]}}function mt(xt){return String.fromCharCode.apply(0,xt)}gt(j.random(),_)}function initialize$2(_){seedRandom([],_)}var propTypes={SHAPE:"shape"};function _typeof$1(_){"@babel/helpers - typeof";return _typeof$1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$1(_)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};initialize$2(BMMath);function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(_){return _.constructor===Array||_.constructor===Float32Array}function isNumerable(_,j){return _==="number"||j instanceof Number||_==="boolean"||_==="string"}function $bm_neg(_){var j=_typeof$1(_);if(j==="number"||_ instanceof Number||j==="boolean")return-_;if($bm_isInstanceOfArray(_)){var et,tt=_.length,rt=[];for(et=0;et<tt;et+=1)rt[et]=-_[et];return rt}return _.propType?_.v:-_}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(_,j){var et=_typeof$1(_),tt=_typeof$1(j);if(isNumerable(et,_)&&isNumerable(tt,j)||et==="string"||tt==="string")return _+j;if($bm_isInstanceOfArray(_)&&isNumerable(tt,j))return _=_.slice(0),_[0]+=j,_;if(isNumerable(et,_)&&$bm_isInstanceOfArray(j))return j=j.slice(0),j[0]=_+j[0],j;if($bm_isInstanceOfArray(_)&&$bm_isInstanceOfArray(j)){for(var rt=0,nt=_.length,it=j.length,st=[];rt<nt||rt<it;)(typeof _[rt]=="number"||_[rt]instanceof Number)&&(typeof j[rt]=="number"||j[rt]instanceof Number)?st[rt]=_[rt]+j[rt]:st[rt]=j[rt]===void 0?_[rt]:_[rt]||j[rt],rt+=1;return st}return 0}var add=sum;function sub(_,j){var et=_typeof$1(_),tt=_typeof$1(j);if(isNumerable(et,_)&&isNumerable(tt,j))return et==="string"&&(_=parseInt(_,10)),tt==="string"&&(j=parseInt(j,10)),_-j;if($bm_isInstanceOfArray(_)&&isNumerable(tt,j))return _=_.slice(0),_[0]-=j,_;if(isNumerable(et,_)&&$bm_isInstanceOfArray(j))return j=j.slice(0),j[0]=_-j[0],j;if($bm_isInstanceOfArray(_)&&$bm_isInstanceOfArray(j)){for(var rt=0,nt=_.length,it=j.length,st=[];rt<nt||rt<it;)(typeof _[rt]=="number"||_[rt]instanceof Number)&&(typeof j[rt]=="number"||j[rt]instanceof Number)?st[rt]=_[rt]-j[rt]:st[rt]=j[rt]===void 0?_[rt]:_[rt]||j[rt],rt+=1;return st}return 0}function mul(_,j){var et=_typeof$1(_),tt=_typeof$1(j),rt;if(isNumerable(et,_)&&isNumerable(tt,j))return _*j;var nt,it;if($bm_isInstanceOfArray(_)&&isNumerable(tt,j)){for(it=_.length,rt=createTypedArray("float32",it),nt=0;nt<it;nt+=1)rt[nt]=_[nt]*j;return rt}if(isNumerable(et,_)&&$bm_isInstanceOfArray(j)){for(it=j.length,rt=createTypedArray("float32",it),nt=0;nt<it;nt+=1)rt[nt]=_*j[nt];return rt}return 0}function div(_,j){var et=_typeof$1(_),tt=_typeof$1(j),rt;if(isNumerable(et,_)&&isNumerable(tt,j))return _/j;var nt,it;if($bm_isInstanceOfArray(_)&&isNumerable(tt,j)){for(it=_.length,rt=createTypedArray("float32",it),nt=0;nt<it;nt+=1)rt[nt]=_[nt]/j;return rt}if(isNumerable(et,_)&&$bm_isInstanceOfArray(j)){for(it=j.length,rt=createTypedArray("float32",it),nt=0;nt<it;nt+=1)rt[nt]=_/j[nt];return rt}return 0}function mod(_,j){return typeof _=="string"&&(_=parseInt(_,10)),typeof j=="string"&&(j=parseInt(j,10)),_%j}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(_,j,et){if(j>et){var tt=et;et=j,j=tt}return Math.min(Math.max(_,j),et)}function radiansToDegrees(_){return _/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(_){return _*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(_,j){if(typeof _=="number"||_ instanceof Number)return j=j||0,Math.abs(_-j);j||(j=helperLengthArray);var et,tt=Math.min(_.length,j.length),rt=0;for(et=0;et<tt;et+=1)rt+=Math.pow(j[et]-_[et],2);return Math.sqrt(rt)}function normalize(_){return div(_,length(_))}function rgbToHsl(_){var j=_[0],et=_[1],tt=_[2],rt=Math.max(j,et,tt),nt=Math.min(j,et,tt),it,st,at=(rt+nt)/2;if(rt===nt)it=0,st=0;else{var ot=rt-nt;switch(st=at>.5?ot/(2-rt-nt):ot/(rt+nt),rt){case j:it=(et-tt)/ot+(et<tt?6:0);break;case et:it=(tt-j)/ot+2;break;case tt:it=(j-et)/ot+4;break}it/=6}return[it,st,at,_[3]]}function hue2rgb(_,j,et){return et<0&&(et+=1),et>1&&(et-=1),et<1/6?_+(j-_)*6*et:et<1/2?j:et<2/3?_+(j-_)*(2/3-et)*6:_}function hslToRgb(_){var j=_[0],et=_[1],tt=_[2],rt,nt,it;if(et===0)rt=tt,it=tt,nt=tt;else{var st=tt<.5?tt*(1+et):tt+et-tt*et,at=2*tt-st;rt=hue2rgb(at,st,j+1/3),nt=hue2rgb(at,st,j),it=hue2rgb(at,st,j-1/3)}return[rt,nt,it,_[3]]}function linear(_,j,et,tt,rt){if((tt===void 0||rt===void 0)&&(tt=j,rt=et,j=0,et=1),et<j){var nt=et;et=j,j=nt}if(_<=j)return tt;if(_>=et)return rt;var it=et===j?0:(_-j)/(et-j);if(!tt.length)return tt+(rt-tt)*it;var st,at=tt.length,ot=createTypedArray("float32",at);for(st=0;st<at;st+=1)ot[st]=tt[st]+(rt[st]-tt[st])*it;return ot}function random(_,j){if(j===void 0&&(_===void 0?(_=0,j=1):(j=_,_=void 0)),j.length){var et,tt=j.length;_||(_=createTypedArray("float32",tt));var rt=createTypedArray("float32",tt),nt=BMMath.random();for(et=0;et<tt;et+=1)rt[et]=_[et]+nt*(j[et]-_[et]);return rt}_===void 0&&(_=0);var it=BMMath.random();return _+it*(j-_)}function createPath(_,j,et,tt){var rt,nt=_.length,it=shapePool.newElement();it.setPathData(!!tt,nt);var st=[0,0],at,ot;for(rt=0;rt<nt;rt+=1)at=j&&j[rt]?j[rt]:st,ot=et&&et[rt]?et[rt]:st,it.setTripleAt(_[rt][0],_[rt][1],ot[0]+_[rt][0],ot[1]+_[rt][1],at[0]+_[rt][0],at[1]+_[rt][1],rt,!0);return it}function initiateExpression(elem,data,property){function noOp(_){return _}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty._name=elem.data.nm,thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=(function _(j,et){var tt,rt,nt=this.pv.length?this.pv.length:1,it=createTypedArray("float32",nt);j=5;var st=Math.floor(time*j);for(tt=0,rt=0;tt<st;){for(rt=0;rt<nt;rt+=1)it[rt]+=-et+et*2*BMMath.random();tt+=1}var at=time*j,ot=at-Math.floor(at),lt=createTypedArray("float32",nt);if(nt>1){for(rt=0;rt<nt;rt+=1)lt[rt]=this.pv[rt]+it[rt]+(-et+et*2*BMMath.random())*ot;return lt}return this.pv+it[0]+(-et+et*2*BMMath.random())*ot}).bind(this);thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty));function loopInDuration(_,j){return loopIn(_,j,!0)}function loopOutDuration(_,j){return loopOut(_,j,!0)}this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(_,j){var et=[j[0]-_[0],j[1]-_[1],j[2]-_[2]],tt=Math.atan2(et[0],Math.sqrt(et[1]*et[1]+et[2]*et[2]))/degToRads,rt=-Math.atan2(et[1],et[2])/degToRads;return[rt,tt,0]}function easeOut(_,j,et,tt,rt){return applyEase(easeOutBez,_,j,et,tt,rt)}function easeIn(_,j,et,tt,rt){return applyEase(easeInBez,_,j,et,tt,rt)}function ease(_,j,et,tt,rt){return applyEase(easeInOutBez,_,j,et,tt,rt)}function applyEase(_,j,et,tt,rt,nt){rt===void 0?(rt=et,nt=tt):j=(j-et)/(tt-et),j>1?j=1:j<0&&(j=0);var it=_(j);if($bm_isInstanceOfArray(rt)){var st,at=rt.length,ot=createTypedArray("float32",at);for(st=0;st<at;st+=1)ot[st]=(nt[st]-rt[st])*it+rt[st];return ot}return(nt-rt)*it+rt}function nearestKey(_){var j,et=data.k.length,tt,rt;if(!data.k.length||typeof data.k[0]=="number")tt=0,rt=0;else if(tt=-1,_*=elem.comp.globalData.frameRate,_<data.k[0].t)tt=1,rt=data.k[0].t;else{for(j=0;j<et-1;j+=1)if(_===data.k[j].t){tt=j+1,rt=data.k[j].t;break}else if(_>data.k[j].t&&_<data.k[j+1].t){_-data.k[j].t>data.k[j+1].t-_?(tt=j+2,rt=data.k[j+1].t):(tt=j+1,rt=data.k[j].t);break}tt===-1&&(tt=j+1,rt=data.k[j].t)}var nt={};return nt.index=tt,nt.time=rt/elem.comp.globalData.frameRate,nt}function key(_){var j,et,tt;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+_);_-=1,j={time:data.k[_].t/elem.comp.globalData.frameRate,value:[]};var rt=Object.prototype.hasOwnProperty.call(data.k[_],"s")?data.k[_].s:data.k[_-1].e;for(tt=rt.length,et=0;et<tt;et+=1)j[et]=rt[et],j.value[et]=rt[et];return j}function framesToTime(_,j){return j||(j=elem.comp.globalData.frameRate),_/j}function timeToFrames(_,j){return!_&&_!==0&&(_=time),j||(j=elem.comp.globalData.frameRate),_*j}function seedRandom(_){BMMath.seedrandom(randSeed+_)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(_,j){return typeof value=="string"?j===void 0?value.substring(_):value.substring(_,j):""}function substr(_,j){return typeof value=="string"?j===void 0?value.substr(_):value.substr(_,j):""}function posterizeTime(_){time=_===0?0:Math.floor(time*_)/_,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(_){return value=_,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType===4&&!content&&(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!!(elem.hierarchy&&elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var _={};_.initExpressions=j,_.resetFrame=ExpressionManager.resetFrame;function j(et){var tt=0,rt=[];function nt(){tt+=1}function it(){tt-=1,tt===0&&at()}function st(ot){rt.indexOf(ot)===-1&&rt.push(ot)}function at(){var ot,lt=rt.length;for(ot=0;ot<lt;ot+=1)rt[ot].release();rt.length=0}et.renderer.compInterface=CompExpressionInterface(et.renderer),et.renderer.globalData.projectInterface.registerComposition(et.renderer),et.renderer.globalData.pushExpression=nt,et.renderer.globalData.popExpression=it,et.renderer.globalData.registerExpressionProperty=st}return _}(),MaskManagerInterface=function(){function _(et,tt){this._mask=et,this._data=tt}Object.defineProperty(_.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(_.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var j=function(tt){var rt=createSizedArray(tt.viewData.length),nt,it=tt.viewData.length;for(nt=0;nt<it;nt+=1)rt[nt]=new _(tt.viewData[nt],tt.masksProperties[nt]);var st=function(ot){for(nt=0;nt<it;){if(tt.masksProperties[nt].nm===ot)return rt[nt];nt+=1}return null};return st};return j}(),ExpressionPropertyInterface=function(){var _={pv:0,v:0,mult:1},j={pv:[0,0,0],v:[0,0,0],mult:1};function et(it,st,at){Object.defineProperty(it,"velocity",{get:function(){return st.getVelocityAtTime(st.comp.currentFrame)}}),it.numKeys=st.keyframes?st.keyframes.length:0,it.key=function(ot){if(!it.numKeys)return 0;var lt="";"s"in st.keyframes[ot-1]?lt=st.keyframes[ot-1].s:"e"in st.keyframes[ot-2]?lt=st.keyframes[ot-2].e:lt=st.keyframes[ot-2].s;var ct=at==="unidimensional"?new Number(lt):Object.assign({},lt);return ct.time=st.keyframes[ot-1].t/st.elem.comp.globalData.frameRate,ct.value=at==="unidimensional"?lt[0]:lt,ct},it.valueAtTime=st.getValueAtTime,it.speedAtTime=st.getSpeedAtTime,it.velocityAtTime=st.getVelocityAtTime,it.propertyGroup=st.propertyGroup}function tt(it){(!it||!("pv"in it))&&(it=_);var st=1/it.mult,at=it.pv*st,ot=new Number(at);return ot.value=at,et(ot,it,"unidimensional"),function(){return it.k&&it.getValue(),at=it.v*st,ot.value!==at&&(ot=new Number(at),ot.value=at,ot[0]=at,et(ot,it,"unidimensional")),ot}}function rt(it){(!it||!("pv"in it))&&(it=j);var st=1/it.mult,at=it.data&&it.data.l||it.pv.length,ot=createTypedArray("float32",at),lt=createTypedArray("float32",at);return ot.value=lt,et(ot,it,"multidimensional"),function(){it.k&&it.getValue();for(var ct=0;ct<at;ct+=1)lt[ct]=it.v[ct]*st,ot[ct]=lt[ct];return ot}}function nt(){return _}return function(it){return it?it.propType==="unidimensional"?tt(it):rt(it):nt}}(),TransformExpressionInterface=function(){return function(_){function j(it){switch(it){case"scale":case"Scale":case"ADBE Scale":case 6:return j.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return j.rotation;case"ADBE Rotate X":return j.xRotation;case"ADBE Rotate Y":return j.yRotation;case"position":case"Position":case"ADBE Position":case 2:return j.position;case"ADBE Position_0":return j.xPosition;case"ADBE Position_1":return j.yPosition;case"ADBE Position_2":return j.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return j.anchorPoint;case"opacity":case"Opacity":case 11:return j.opacity;default:return null}}Object.defineProperty(j,"rotation",{get:ExpressionPropertyInterface(_.r||_.rz)}),Object.defineProperty(j,"zRotation",{get:ExpressionPropertyInterface(_.rz||_.r)}),Object.defineProperty(j,"xRotation",{get:ExpressionPropertyInterface(_.rx)}),Object.defineProperty(j,"yRotation",{get:ExpressionPropertyInterface(_.ry)}),Object.defineProperty(j,"scale",{get:ExpressionPropertyInterface(_.s)});var et,tt,rt,nt;return _.p?nt=ExpressionPropertyInterface(_.p):(et=ExpressionPropertyInterface(_.px),tt=ExpressionPropertyInterface(_.py),_.pz&&(rt=ExpressionPropertyInterface(_.pz))),Object.defineProperty(j,"position",{get:function(){return _.p?nt():[et(),tt(),rt?rt():0]}}),Object.defineProperty(j,"xPosition",{get:ExpressionPropertyInterface(_.px)}),Object.defineProperty(j,"yPosition",{get:ExpressionPropertyInterface(_.py)}),Object.defineProperty(j,"zPosition",{get:ExpressionPropertyInterface(_.pz)}),Object.defineProperty(j,"anchorPoint",{get:ExpressionPropertyInterface(_.a)}),Object.defineProperty(j,"opacity",{get:ExpressionPropertyInterface(_.o)}),Object.defineProperty(j,"skew",{get:ExpressionPropertyInterface(_.sk)}),Object.defineProperty(j,"skewAxis",{get:ExpressionPropertyInterface(_.sa)}),Object.defineProperty(j,"orientation",{get:ExpressionPropertyInterface(_.or)}),j}}(),LayerExpressionInterface=function(){function _(ot){var lt=new Matrix;if(ot!==void 0){var ct=this._elem.finalTransform.mProp.getValueAtTime(ot);ct.clone(lt)}else{var ut=this._elem.finalTransform.mProp;ut.applyToMatrix(lt)}return lt}function j(ot,lt){var ct=this.getMatrix(lt);return ct.props[12]=0,ct.props[13]=0,ct.props[14]=0,this.applyPoint(ct,ot)}function et(ot,lt){var ct=this.getMatrix(lt);return this.applyPoint(ct,ot)}function tt(ot,lt){var ct=this.getMatrix(lt);return ct.props[12]=0,ct.props[13]=0,ct.props[14]=0,this.invertPoint(ct,ot)}function rt(ot,lt){var ct=this.getMatrix(lt);return this.invertPoint(ct,ot)}function nt(ot,lt){if(this._elem.hierarchy&&this._elem.hierarchy.length){var ct,ut=this._elem.hierarchy.length;for(ct=0;ct<ut;ct+=1)this._elem.hierarchy[ct].finalTransform.mProp.applyToMatrix(ot)}return ot.applyToPointArray(lt[0],lt[1],lt[2]||0)}function it(ot,lt){if(this._elem.hierarchy&&this._elem.hierarchy.length){var ct,ut=this._elem.hierarchy.length;for(ct=0;ct<ut;ct+=1)this._elem.hierarchy[ct].finalTransform.mProp.applyToMatrix(ot)}return ot.inversePoint(lt)}function st(ot){var lt=new Matrix;if(lt.reset(),this._elem.finalTransform.mProp.applyToMatrix(lt),this._elem.hierarchy&&this._elem.hierarchy.length){var ct,ut=this._elem.hierarchy.length;for(ct=0;ct<ut;ct+=1)this._elem.hierarchy[ct].finalTransform.mProp.applyToMatrix(lt);return lt.inversePoint(ot)}return lt.inversePoint(ot)}function at(){return[1,1,1,1]}return function(ot){var lt;function ct(pt){dt.mask=new MaskManagerInterface(pt,ot)}function ut(pt){dt.effect=pt}function dt(pt){switch(pt){case"ADBE Root Vectors Group":case"Contents":case 2:return dt.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return lt;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return dt.effect;case"ADBE Text Properties":return dt.textInterface;default:return null}}dt.getMatrix=_,dt.invertPoint=it,dt.applyPoint=nt,dt.toWorld=et,dt.toWorldVec=j,dt.fromWorld=rt,dt.fromWorldVec=tt,dt.toComp=et,dt.fromComp=st,dt.sampleImage=at,dt.sourceRectAtTime=ot.sourceRectAtTime.bind(ot),dt._elem=ot,lt=TransformExpressionInterface(ot.finalTransform.mProp);var ht=getDescriptor(lt,"anchorPoint");return Object.defineProperties(dt,{hasParent:{get:function(){return ot.hierarchy.length}},parent:{get:function(){return ot.hierarchy[0].layerInterface}},rotation:getDescriptor(lt,"rotation"),scale:getDescriptor(lt,"scale"),position:getDescriptor(lt,"position"),opacity:getDescriptor(lt,"opacity"),anchorPoint:ht,anchor_point:ht,transform:{get:function(){return lt}},active:{get:function(){return ot.isInRange}}}),dt.startTime=ot.data.st,dt.index=ot.data.ind,dt.source=ot.data.refId,dt.height=ot.data.ty===0?ot.data.h:100,dt.width=ot.data.ty===0?ot.data.w:100,dt.inPoint=ot.data.ip/ot.comp.globalData.frameRate,dt.outPoint=ot.data.op/ot.comp.globalData.frameRate,dt._name=ot.data.nm,dt.registerMaskInterface=ct,dt.registerEffectsInterface=ut,dt}}(),propertyGroupFactory=function(){return function(_,j){return function(et){return et=et===void 0?1:et,et<=0?_:j(et-1)}}}(),PropertyInterface=function(){return function(_,j){var et={_name:_};function tt(rt){return rt=rt===void 0?1:rt,rt<=0?et:j(rt-1)}return tt}}(),EffectsExpressionInterface=function(){var _={createEffectsInterface:j};function j(rt,nt){if(rt.effectsManager){var it=[],st=rt.data.ef,at,ot=rt.effectsManager.effectElements.length;for(at=0;at<ot;at+=1)it.push(et(st[at],rt.effectsManager.effectElements[at],nt,rt));var lt=rt.data.ef||[],ct=function(dt){for(at=0,ot=lt.length;at<ot;){if(dt===lt[at].nm||dt===lt[at].mn||dt===lt[at].ix)return it[at];at+=1}return null};return Object.defineProperty(ct,"numProperties",{get:function(){return lt.length}}),ct}return null}function et(rt,nt,it,st){function at(dt){for(var ht=rt.ef,pt=0,gt=ht.length;pt<gt;){if(dt===ht[pt].nm||dt===ht[pt].mn||dt===ht[pt].ix)return ht[pt].ty===5?lt[pt]:lt[pt]();pt+=1}throw new Error}var ot=propertyGroupFactory(at,it),lt=[],ct,ut=rt.ef.length;for(ct=0;ct<ut;ct+=1)rt.ef[ct].ty===5?lt.push(et(rt.ef[ct],nt.effectElements[ct],nt.effectElements[ct].propertyGroup,st)):lt.push(tt(nt.effectElements[ct],rt.ef[ct].ty,st,ot));return rt.mn==="ADBE Color Control"&&Object.defineProperty(at,"color",{get:function(){return lt[0]()}}),Object.defineProperties(at,{numProperties:{get:function(){return rt.np}},_name:{value:rt.nm},propertyGroup:{value:ot}}),at.enabled=rt.en!==0,at.active=at.enabled,at}function tt(rt,nt,it,st){var at=ExpressionPropertyInterface(rt.p);function ot(){return nt===10?it.comp.compInterface(rt.p.v):at()}return rt.p.setGroupProperty&&rt.p.setGroupProperty(PropertyInterface("",st)),ot}return _}(),ShapePathInterface=function(){return function(j,et,tt){var rt=et.sh;function nt(st){return st==="Shape"||st==="shape"||st==="Path"||st==="path"||st==="ADBE Vector Shape"||st===2?nt.path:null}var it=propertyGroupFactory(nt,tt);return rt.setGroupProperty(PropertyInterface("Path",it)),Object.defineProperties(nt,{path:{get:function(){return rt.k&&rt.getValue(),rt}},shape:{get:function(){return rt.k&&rt.getValue(),rt}},_name:{value:j.nm},ix:{value:j.ix},propertyIndex:{value:j.ix},mn:{value:j.mn},propertyGroup:{value:tt}}),nt}}(),ShapeExpressionInterface=function(){function _(ht,pt,gt){var ft=[],mt,xt=ht?ht.length:0;for(mt=0;mt<xt;mt+=1)ht[mt].ty==="gr"?ft.push(et(ht[mt],pt[mt],gt)):ht[mt].ty==="fl"?ft.push(tt(ht[mt],pt[mt],gt)):ht[mt].ty==="st"?ft.push(it(ht[mt],pt[mt],gt)):ht[mt].ty==="tm"?ft.push(st(ht[mt],pt[mt],gt)):ht[mt].ty==="tr"||(ht[mt].ty==="el"?ft.push(ot(ht[mt],pt[mt],gt)):ht[mt].ty==="sr"?ft.push(lt(ht[mt],pt[mt],gt)):ht[mt].ty==="sh"?ft.push(ShapePathInterface(ht[mt],pt[mt],gt)):ht[mt].ty==="rc"?ft.push(ct(ht[mt],pt[mt],gt)):ht[mt].ty==="rd"?ft.push(ut(ht[mt],pt[mt],gt)):ht[mt].ty==="rp"?ft.push(dt(ht[mt],pt[mt],gt)):ht[mt].ty==="gf"?ft.push(rt(ht[mt],pt[mt],gt)):ft.push(nt(ht[mt],pt[mt])));return ft}function j(ht,pt,gt){var ft,mt=function(vt){for(var bt=0,Et=ft.length;bt<Et;){if(ft[bt]._name===vt||ft[bt].mn===vt||ft[bt].propertyIndex===vt||ft[bt].ix===vt||ft[bt].ind===vt)return ft[bt];bt+=1}return typeof vt=="number"?ft[vt-1]:null};mt.propertyGroup=propertyGroupFactory(mt,gt),ft=_(ht.it,pt.it,mt.propertyGroup),mt.numProperties=ft.length;var xt=at(ht.it[ht.it.length-1],pt.it[pt.it.length-1],mt.propertyGroup);return mt.transform=xt,mt.propertyIndex=ht.cix,mt._name=ht.nm,mt}function et(ht,pt,gt){var ft=function(vt){switch(vt){case"ADBE Vectors Group":case"Contents":case 2:return ft.content;default:return ft.transform}};ft.propertyGroup=propertyGroupFactory(ft,gt);var mt=j(ht,pt,ft.propertyGroup),xt=at(ht.it[ht.it.length-1],pt.it[pt.it.length-1],ft.propertyGroup);return ft.content=mt,ft.transform=xt,Object.defineProperty(ft,"_name",{get:function(){return ht.nm}}),ft.numProperties=ht.np,ft.propertyIndex=ht.ix,ft.nm=ht.nm,ft.mn=ht.mn,ft}function tt(ht,pt,gt){function ft(mt){return mt==="Color"||mt==="color"?ft.color:mt==="Opacity"||mt==="opacity"?ft.opacity:null}return Object.defineProperties(ft,{color:{get:ExpressionPropertyInterface(pt.c)},opacity:{get:ExpressionPropertyInterface(pt.o)},_name:{value:ht.nm},mn:{value:ht.mn}}),pt.c.setGroupProperty(PropertyInterface("Color",gt)),pt.o.setGroupProperty(PropertyInterface("Opacity",gt)),ft}function rt(ht,pt,gt){function ft(mt){return mt==="Start Point"||mt==="start point"?ft.startPoint:mt==="End Point"||mt==="end point"?ft.endPoint:mt==="Opacity"||mt==="opacity"?ft.opacity:null}return Object.defineProperties(ft,{startPoint:{get:ExpressionPropertyInterface(pt.s)},endPoint:{get:ExpressionPropertyInterface(pt.e)},opacity:{get:ExpressionPropertyInterface(pt.o)},type:{get:function(){return"a"}},_name:{value:ht.nm},mn:{value:ht.mn}}),pt.s.setGroupProperty(PropertyInterface("Start Point",gt)),pt.e.setGroupProperty(PropertyInterface("End Point",gt)),pt.o.setGroupProperty(PropertyInterface("Opacity",gt)),ft}function nt(){function ht(){return null}return ht}function it(ht,pt,gt){var ft=propertyGroupFactory(Et,gt),mt=propertyGroupFactory(bt,ft);function xt(_t){Object.defineProperty(bt,ht.d[_t].nm,{get:ExpressionPropertyInterface(pt.d.dataProps[_t].p)})}var yt,vt=ht.d?ht.d.length:0,bt={};for(yt=0;yt<vt;yt+=1)xt(yt),pt.d.dataProps[yt].p.setGroupProperty(mt);function Et(_t){return _t==="Color"||_t==="color"?Et.color:_t==="Opacity"||_t==="opacity"?Et.opacity:_t==="Stroke Width"||_t==="stroke width"?Et.strokeWidth:null}return Object.defineProperties(Et,{color:{get:ExpressionPropertyInterface(pt.c)},opacity:{get:ExpressionPropertyInterface(pt.o)},strokeWidth:{get:ExpressionPropertyInterface(pt.w)},dash:{get:function(){return bt}},_name:{value:ht.nm},mn:{value:ht.mn}}),pt.c.setGroupProperty(PropertyInterface("Color",ft)),pt.o.setGroupProperty(PropertyInterface("Opacity",ft)),pt.w.setGroupProperty(PropertyInterface("Stroke Width",ft)),Et}function st(ht,pt,gt){function ft(xt){return xt===ht.e.ix||xt==="End"||xt==="end"?ft.end:xt===ht.s.ix?ft.start:xt===ht.o.ix?ft.offset:null}var mt=propertyGroupFactory(ft,gt);return ft.propertyIndex=ht.ix,pt.s.setGroupProperty(PropertyInterface("Start",mt)),pt.e.setGroupProperty(PropertyInterface("End",mt)),pt.o.setGroupProperty(PropertyInterface("Offset",mt)),ft.propertyIndex=ht.ix,ft.propertyGroup=gt,Object.defineProperties(ft,{start:{get:ExpressionPropertyInterface(pt.s)},end:{get:ExpressionPropertyInterface(pt.e)},offset:{get:ExpressionPropertyInterface(pt.o)},_name:{value:ht.nm}}),ft.mn=ht.mn,ft}function at(ht,pt,gt){function ft(xt){return ht.a.ix===xt||xt==="Anchor Point"?ft.anchorPoint:ht.o.ix===xt||xt==="Opacity"?ft.opacity:ht.p.ix===xt||xt==="Position"?ft.position:ht.r.ix===xt||xt==="Rotation"||xt==="ADBE Vector Rotation"?ft.rotation:ht.s.ix===xt||xt==="Scale"?ft.scale:ht.sk&&ht.sk.ix===xt||xt==="Skew"?ft.skew:ht.sa&&ht.sa.ix===xt||xt==="Skew Axis"?ft.skewAxis:null}var mt=propertyGroupFactory(ft,gt);return pt.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",mt)),pt.transform.mProps.p.setGroupProperty(PropertyInterface("Position",mt)),pt.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",mt)),pt.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",mt)),pt.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",mt)),pt.transform.mProps.sk&&(pt.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",mt)),pt.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",mt))),pt.transform.op.setGroupProperty(PropertyInterface("Opacity",mt)),Object.defineProperties(ft,{opacity:{get:ExpressionPropertyInterface(pt.transform.mProps.o)},position:{get:ExpressionPropertyInterface(pt.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(pt.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(pt.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(pt.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(pt.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(pt.transform.mProps.sa)},_name:{value:ht.nm}}),ft.ty="tr",ft.mn=ht.mn,ft.propertyGroup=gt,ft}function ot(ht,pt,gt){function ft(yt){return ht.p.ix===yt?ft.position:ht.s.ix===yt?ft.size:null}var mt=propertyGroupFactory(ft,gt);ft.propertyIndex=ht.ix;var xt=pt.sh.ty==="tm"?pt.sh.prop:pt.sh;return xt.s.setGroupProperty(PropertyInterface("Size",mt)),xt.p.setGroupProperty(PropertyInterface("Position",mt)),Object.defineProperties(ft,{size:{get:ExpressionPropertyInterface(xt.s)},position:{get:ExpressionPropertyInterface(xt.p)},_name:{value:ht.nm}}),ft.mn=ht.mn,ft}function lt(ht,pt,gt){function ft(yt){return ht.p.ix===yt?ft.position:ht.r.ix===yt?ft.rotation:ht.pt.ix===yt?ft.points:ht.or.ix===yt||yt==="ADBE Vector Star Outer Radius"?ft.outerRadius:ht.os.ix===yt?ft.outerRoundness:ht.ir&&(ht.ir.ix===yt||yt==="ADBE Vector Star Inner Radius")?ft.innerRadius:ht.is&&ht.is.ix===yt?ft.innerRoundness:null}var mt=propertyGroupFactory(ft,gt),xt=pt.sh.ty==="tm"?pt.sh.prop:pt.sh;return ft.propertyIndex=ht.ix,xt.or.setGroupProperty(PropertyInterface("Outer Radius",mt)),xt.os.setGroupProperty(PropertyInterface("Outer Roundness",mt)),xt.pt.setGroupProperty(PropertyInterface("Points",mt)),xt.p.setGroupProperty(PropertyInterface("Position",mt)),xt.r.setGroupProperty(PropertyInterface("Rotation",mt)),ht.ir&&(xt.ir.setGroupProperty(PropertyInterface("Inner Radius",mt)),xt.is.setGroupProperty(PropertyInterface("Inner Roundness",mt))),Object.defineProperties(ft,{position:{get:ExpressionPropertyInterface(xt.p)},rotation:{get:ExpressionPropertyInterface(xt.r)},points:{get:ExpressionPropertyInterface(xt.pt)},outerRadius:{get:ExpressionPropertyInterface(xt.or)},outerRoundness:{get:ExpressionPropertyInterface(xt.os)},innerRadius:{get:ExpressionPropertyInterface(xt.ir)},innerRoundness:{get:ExpressionPropertyInterface(xt.is)},_name:{value:ht.nm}}),ft.mn=ht.mn,ft}function ct(ht,pt,gt){function ft(yt){return ht.p.ix===yt?ft.position:ht.r.ix===yt?ft.roundness:ht.s.ix===yt||yt==="Size"||yt==="ADBE Vector Rect Size"?ft.size:null}var mt=propertyGroupFactory(ft,gt),xt=pt.sh.ty==="tm"?pt.sh.prop:pt.sh;return ft.propertyIndex=ht.ix,xt.p.setGroupProperty(PropertyInterface("Position",mt)),xt.s.setGroupProperty(PropertyInterface("Size",mt)),xt.r.setGroupProperty(PropertyInterface("Rotation",mt)),Object.defineProperties(ft,{position:{get:ExpressionPropertyInterface(xt.p)},roundness:{get:ExpressionPropertyInterface(xt.r)},size:{get:ExpressionPropertyInterface(xt.s)},_name:{value:ht.nm}}),ft.mn=ht.mn,ft}function ut(ht,pt,gt){function ft(yt){return ht.r.ix===yt||yt==="Round Corners 1"?ft.radius:null}var mt=propertyGroupFactory(ft,gt),xt=pt;return ft.propertyIndex=ht.ix,xt.rd.setGroupProperty(PropertyInterface("Radius",mt)),Object.defineProperties(ft,{radius:{get:ExpressionPropertyInterface(xt.rd)},_name:{value:ht.nm}}),ft.mn=ht.mn,ft}function dt(ht,pt,gt){function ft(yt){return ht.c.ix===yt||yt==="Copies"?ft.copies:ht.o.ix===yt||yt==="Offset"?ft.offset:null}var mt=propertyGroupFactory(ft,gt),xt=pt;return ft.propertyIndex=ht.ix,xt.c.setGroupProperty(PropertyInterface("Copies",mt)),xt.o.setGroupProperty(PropertyInterface("Offset",mt)),Object.defineProperties(ft,{copies:{get:ExpressionPropertyInterface(xt.c)},offset:{get:ExpressionPropertyInterface(xt.o)},_name:{value:ht.nm}}),ft.mn=ht.mn,ft}return function(ht,pt,gt){var ft;function mt(yt){if(typeof yt=="number")return yt=yt===void 0?1:yt,yt===0?gt:ft[yt-1];for(var vt=0,bt=ft.length;vt<bt;){if(ft[vt]._name===yt)return ft[vt];vt+=1}return null}function xt(){return gt}return mt.propertyGroup=propertyGroupFactory(mt,xt),ft=_(ht,pt,mt.propertyGroup),mt.numProperties=ft.length,mt._name="Contents",mt}}(),TextExpressionInterface=function(){return function(_){var j;function et(tt){switch(tt){case"ADBE Text Document":return et.sourceText;default:return null}}return Object.defineProperty(et,"sourceText",{get:function(){_.textProperty.getValue();var rt=_.textProperty.currentData.t;return(!j||rt!==j.value)&&(j=new String(rt),j.value=rt||new String(rt),Object.defineProperty(j,"style",{get:function(){return{fillColor:_.textProperty.currentData.fc}}})),j}}),et}}();function _typeof(_){"@babel/helpers - typeof";return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof(_)}var FootageInterface=function(){var _=function(tt){var rt="",nt=tt.getFootageData();function it(){return rt="",nt=tt.getFootageData(),st}function st(at){if(nt[at])return rt=at,nt=nt[at],_typeof(nt)==="object"?st:nt;var ot=at.indexOf(rt);if(ot!==-1){var lt=parseInt(at.substr(ot+rt.length),10);return nt=nt[lt],_typeof(nt)==="object"?st:nt}return""}return it},j=function(tt){function rt(nt){return nt==="Outline"?rt.outlineInterface():null}return rt._name="Outline",rt.outlineInterface=_(tt),rt};return function(et){function tt(rt){return rt==="Data"?tt.dataInterface:null}return tt._name="Data",tt.dataInterface=j(et),tt}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(_){return interfaces[_]||null}var expressionHelpers=function(){function _(it,st,at){st.x&&(at.k=!0,at.x=!0,at.initiateExpression=ExpressionManager.initiateExpression,at.effectsSequence.push(at.initiateExpression(it,st,at).bind(at)))}function j(it){return it*=this.elem.globalData.frameRate,it-=this.offsetTime,it!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<it?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(it,this._cachingAtTime),this._cachingAtTime.lastFrame=it),this._cachingAtTime.value}function et(it){var st=-.01,at=this.getValueAtTime(it),ot=this.getValueAtTime(it+st),lt=0;if(at.length){var ct;for(ct=0;ct<at.length;ct+=1)lt+=Math.pow(ot[ct]-at[ct],2);lt=Math.sqrt(lt)*100}else lt=0;return lt}function tt(it){if(this.vel!==void 0)return this.vel;var st=-.001,at=this.getValueAtTime(it),ot=this.getValueAtTime(it+st),lt;if(at.length){lt=createTypedArray("float32",at.length);var ct;for(ct=0;ct<at.length;ct+=1)lt[ct]=(ot[ct]-at[ct])/st}else lt=(ot-at)/st;return lt}function rt(){return this.pv}function nt(it){this.propertyGroup=it}return{searchExpressions:_,getSpeedAtTime:et,getVelocityAtTime:tt,getValueAtTime:j,getStaticValueAtTime:rt,setGroupProperty:nt}}();function addPropertyDecorator(){function _(ut,dt,ht){if(!this.k||!this.keyframes)return this.pv;ut=ut?ut.toLowerCase():"";var pt=this.comp.renderedFrame,gt=this.keyframes,ft=gt[gt.length-1].t;if(pt<=ft)return this.pv;var mt,xt;ht?(dt?mt=Math.abs(ft-this.elem.comp.globalData.frameRate*dt):mt=Math.max(0,ft-this.elem.data.ip),xt=ft-mt):((!dt||dt>gt.length-1)&&(dt=gt.length-1),xt=gt[gt.length-1-dt].t,mt=ft-xt);var yt,vt,bt;if(ut==="pingpong"){var Et=Math.floor((pt-xt)/mt);if(Et%2!==0)return this.getValueAtTime((mt-(pt-xt)%mt+xt)/this.comp.globalData.frameRate,0)}else if(ut==="offset"){var _t=this.getValueAtTime(xt/this.comp.globalData.frameRate,0),wt=this.getValueAtTime(ft/this.comp.globalData.frameRate,0),Rt=this.getValueAtTime(((pt-xt)%mt+xt)/this.comp.globalData.frameRate,0),Ct=Math.floor((pt-xt)/mt);if(this.pv.length){for(bt=new Array(_t.length),vt=bt.length,yt=0;yt<vt;yt+=1)bt[yt]=(wt[yt]-_t[yt])*Ct+Rt[yt];return bt}return(wt-_t)*Ct+Rt}else if(ut==="continue"){var jt=this.getValueAtTime(ft/this.comp.globalData.frameRate,0),Dt=this.getValueAtTime((ft-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(bt=new Array(jt.length),vt=bt.length,yt=0;yt<vt;yt+=1)bt[yt]=jt[yt]+(jt[yt]-Dt[yt])*((pt-ft)/this.comp.globalData.frameRate)/5e-4;return bt}return jt+(jt-Dt)*((pt-ft)/.001)}return this.getValueAtTime(((pt-xt)%mt+xt)/this.comp.globalData.frameRate,0)}function j(ut,dt,ht){if(!this.k)return this.pv;ut=ut?ut.toLowerCase():"";var pt=this.comp.renderedFrame,gt=this.keyframes,ft=gt[0].t;if(pt>=ft)return this.pv;var mt,xt;ht?(dt?mt=Math.abs(this.elem.comp.globalData.frameRate*dt):mt=Math.max(0,this.elem.data.op-ft),xt=ft+mt):((!dt||dt>gt.length-1)&&(dt=gt.length-1),xt=gt[dt].t,mt=xt-ft);var yt,vt,bt;if(ut==="pingpong"){var Et=Math.floor((ft-pt)/mt);if(Et%2===0)return this.getValueAtTime(((ft-pt)%mt+ft)/this.comp.globalData.frameRate,0)}else if(ut==="offset"){var _t=this.getValueAtTime(ft/this.comp.globalData.frameRate,0),wt=this.getValueAtTime(xt/this.comp.globalData.frameRate,0),Rt=this.getValueAtTime((mt-(ft-pt)%mt+ft)/this.comp.globalData.frameRate,0),Ct=Math.floor((ft-pt)/mt)+1;if(this.pv.length){for(bt=new Array(_t.length),vt=bt.length,yt=0;yt<vt;yt+=1)bt[yt]=Rt[yt]-(wt[yt]-_t[yt])*Ct;return bt}return Rt-(wt-_t)*Ct}else if(ut==="continue"){var jt=this.getValueAtTime(ft/this.comp.globalData.frameRate,0),Dt=this.getValueAtTime((ft+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(bt=new Array(jt.length),vt=bt.length,yt=0;yt<vt;yt+=1)bt[yt]=jt[yt]+(jt[yt]-Dt[yt])*(ft-pt)/.001;return bt}return jt+(jt-Dt)*(ft-pt)/.001}return this.getValueAtTime((mt-((ft-pt)%mt+ft))/this.comp.globalData.frameRate,0)}function et(ut,dt){if(!this.k)return this.pv;if(ut=(ut||.4)*.5,dt=Math.floor(dt||5),dt<=1)return this.pv;var ht=this.comp.renderedFrame/this.comp.globalData.frameRate,pt=ht-ut,gt=ht+ut,ft=dt>1?(gt-pt)/(dt-1):1,mt=0,xt=0,yt;this.pv.length?yt=createTypedArray("float32",this.pv.length):yt=0;for(var vt;mt<dt;){if(vt=this.getValueAtTime(pt+mt*ft),this.pv.length)for(xt=0;xt<this.pv.length;xt+=1)yt[xt]+=vt[xt];else yt+=vt;mt+=1}if(this.pv.length)for(xt=0;xt<this.pv.length;xt+=1)yt[xt]/=dt;else yt/=dt;return yt}function tt(ut){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var dt=this._transformCachingAtTime.v;if(dt.cloneFromProps(this.pre.props),this.appliedTransformations<1){var ht=this.a.getValueAtTime(ut);dt.translate(-ht[0]*this.a.mult,-ht[1]*this.a.mult,ht[2]*this.a.mult)}if(this.appliedTransformations<2){var pt=this.s.getValueAtTime(ut);dt.scale(pt[0]*this.s.mult,pt[1]*this.s.mult,pt[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var gt=this.sk.getValueAtTime(ut),ft=this.sa.getValueAtTime(ut);dt.skewFromAxis(-gt*this.sk.mult,ft*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var mt=this.r.getValueAtTime(ut);dt.rotate(-mt*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var xt=this.rz.getValueAtTime(ut),yt=this.ry.getValueAtTime(ut),vt=this.rx.getValueAtTime(ut),bt=this.or.getValueAtTime(ut);dt.rotateZ(-xt*this.rz.mult).rotateY(yt*this.ry.mult).rotateX(vt*this.rx.mult).rotateZ(-bt[2]*this.or.mult).rotateY(bt[1]*this.or.mult).rotateX(bt[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var Et=this.px.getValueAtTime(ut),_t=this.py.getValueAtTime(ut);if(this.data.p.z){var wt=this.pz.getValueAtTime(ut);dt.translate(Et*this.px.mult,_t*this.py.mult,-wt*this.pz.mult)}else dt.translate(Et*this.px.mult,_t*this.py.mult,0)}else{var Rt=this.p.getValueAtTime(ut);dt.translate(Rt[0]*this.p.mult,Rt[1]*this.p.mult,-Rt[2]*this.p.mult)}return dt}function rt(){return this.v.clone(new Matrix)}var nt=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(ut,dt,ht){var pt=nt(ut,dt,ht);return pt.dynamicProperties.length?pt.getValueAtTime=tt.bind(pt):pt.getValueAtTime=rt.bind(pt),pt.setGroupProperty=expressionHelpers.setGroupProperty,pt};var it=PropertyFactory.getProp;PropertyFactory.getProp=function(ut,dt,ht,pt,gt){var ft=it(ut,dt,ht,pt,gt);ft.kf?ft.getValueAtTime=expressionHelpers.getValueAtTime.bind(ft):ft.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(ft),ft.setGroupProperty=expressionHelpers.setGroupProperty,ft.loopOut=_,ft.loopIn=j,ft.smooth=et,ft.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(ft),ft.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(ft),ft.numKeys=dt.a===1?dt.k.length:0,ft.propertyIndex=dt.ix;var mt=0;return ht!==0&&(mt=createTypedArray("float32",dt.a===1?dt.k[0].s.length:dt.k.length)),ft._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:mt},expressionHelpers.searchExpressions(ut,dt,ft),ft.k&>.addDynamicProperty(ft),ft};function st(ut){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),ut*=this.elem.globalData.frameRate,ut-=this.offsetTime,ut!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<ut?this._caching.lastIndex:0,this._cachingAtTime.lastTime=ut,this.interpolateShape(ut,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var at=ShapePropertyFactory.getConstructorFunction(),ot=ShapePropertyFactory.getKeyframedConstructorFunction();function lt(){}lt.prototype={vertices:function(dt,ht){this.k&&this.getValue();var pt=this.v;ht!==void 0&&(pt=this.getValueAtTime(ht,0));var gt,ft=pt._length,mt=pt[dt],xt=pt.v,yt=createSizedArray(ft);for(gt=0;gt<ft;gt+=1)dt==="i"||dt==="o"?yt[gt]=[mt[gt][0]-xt[gt][0],mt[gt][1]-xt[gt][1]]:yt[gt]=[mt[gt][0],mt[gt][1]];return yt},points:function(dt){return this.vertices("v",dt)},inTangents:function(dt){return this.vertices("i",dt)},outTangents:function(dt){return this.vertices("o",dt)},isClosed:function(){return this.v.c},pointOnPath:function(dt,ht){var pt=this.v;ht!==void 0&&(pt=this.getValueAtTime(ht,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(pt));for(var gt=this._segmentsLength,ft=gt.lengths,mt=gt.totalLength*dt,xt=0,yt=ft.length,vt=0,bt;xt<yt;){if(vt+ft[xt].addedLength>mt){var Et=xt,_t=pt.c&&xt===yt-1?0:xt+1,wt=(mt-vt)/ft[xt].addedLength;bt=bez.getPointInSegment(pt.v[Et],pt.v[_t],pt.o[Et],pt.i[_t],wt,ft[xt]);break}else vt+=ft[xt].addedLength;xt+=1}return bt||(bt=pt.c?[pt.v[0][0],pt.v[0][1]]:[pt.v[pt._length-1][0],pt.v[pt._length-1][1]]),bt},vectorOnPath:function(dt,ht,pt){dt==1?dt=this.v.c:dt==0&&(dt=.999);var gt=this.pointOnPath(dt,ht),ft=this.pointOnPath(dt+.001,ht),mt=ft[0]-gt[0],xt=ft[1]-gt[1],yt=Math.sqrt(Math.pow(mt,2)+Math.pow(xt,2));if(yt===0)return[0,0];var vt=pt==="tangent"?[mt/yt,xt/yt]:[-xt/yt,mt/yt];return vt},tangentOnPath:function(dt,ht){return this.vectorOnPath(dt,ht,"tangent")},normalOnPath:function(dt,ht){return this.vectorOnPath(dt,ht,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([lt],at),extendPrototype([lt],ot),ot.prototype.getValueAtTime=st,ot.prototype.initiateExpression=ExpressionManager.initiateExpression;var ct=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(ut,dt,ht,pt,gt){var ft=ct(ut,dt,ht,pt,gt);return ft.propertyIndex=dt.ix,ft.lock=!1,ht===3?expressionHelpers.searchExpressions(ut,dt.pt,ft):ht===4&&expressionHelpers.searchExpressions(ut,dt.ks,ft),ft.k&&ut.addDynamicProperty(ft),ft}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function _(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(j,et){var tt=this.calculateExpression(et);if(j.t!==tt){var rt={};return this.copyData(rt,j),rt.t=tt.toString(),rt.__complete=!1,rt}return j},TextProperty.prototype.searchProperty=function(){var j=this.searchKeyframes(),et=this.searchExpressions();return this.kf=j||et,this.kf},TextProperty.prototype.searchExpressions=_}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function _(j,et){var tt=createNS("feMerge");tt.setAttribute("result",j);var rt,nt;for(nt=0;nt<et.length;nt+=1)rt=createNS("feMergeNode"),rt.setAttribute("in",et[nt]),tt.appendChild(rt),tt.appendChild(rt);return tt}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(_,j,et,tt,rt){this.filterManager=j;var nt=createNS("feColorMatrix");nt.setAttribute("type","matrix"),nt.setAttribute("color-interpolation-filters","linearRGB"),nt.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=nt,nt.setAttribute("result",tt+"_tint_1"),_.appendChild(nt),nt=createNS("feColorMatrix"),nt.setAttribute("type","matrix"),nt.setAttribute("color-interpolation-filters","sRGB"),nt.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),nt.setAttribute("result",tt+"_tint_2"),_.appendChild(nt),this.matrixFilter=nt;var it=this.createMergeNode(tt,[rt,tt+"_tint_1",tt+"_tint_2"]);_.appendChild(it)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(_){if(_||this.filterManager._mdf){var j=this.filterManager.effectElements[0].p.v,et=this.filterManager.effectElements[1].p.v,tt=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+tt+" 0"),this.matrixFilter.setAttribute("values",et[0]-j[0]+" 0 0 0 "+j[0]+" "+(et[1]-j[1])+" 0 0 0 "+j[1]+" "+(et[2]-j[2])+" 0 0 0 "+j[2]+" 0 0 0 1 0")}};function SVGFillFilter(_,j,et,tt){this.filterManager=j;var rt=createNS("feColorMatrix");rt.setAttribute("type","matrix"),rt.setAttribute("color-interpolation-filters","sRGB"),rt.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),rt.setAttribute("result",tt),_.appendChild(rt),this.matrixFilter=rt}SVGFillFilter.prototype.renderFrame=function(_){if(_||this.filterManager._mdf){var j=this.filterManager.effectElements[2].p.v,et=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+j[0]+" 0 0 0 0 "+j[1]+" 0 0 0 0 "+j[2]+" 0 0 0 "+et+" 0")}};function SVGStrokeEffect(_,j,et){this.initialized=!1,this.filterManager=j,this.elem=et,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var _=this.elem.layerElement.children||this.elem.layerElement.childNodes,j,et,tt,rt;for(this.filterManager.effectElements[1].p.v===1?(rt=this.elem.maskManager.masksProperties.length,tt=0):(tt=this.filterManager.effectElements[0].p.v-1,rt=tt+1),et=createNS("g"),et.setAttribute("fill","none"),et.setAttribute("stroke-linecap","round"),et.setAttribute("stroke-dashoffset",1),tt;tt<rt;tt+=1)j=createNS("path"),et.appendChild(j),this.paths.push({p:j,m:tt});if(this.filterManager.effectElements[10].p.v===3){var nt=createNS("mask"),it=createElementID();nt.setAttribute("id",it),nt.setAttribute("mask-type","alpha"),nt.appendChild(et),this.elem.globalData.defs.appendChild(nt);var st=createNS("g");for(st.setAttribute("mask","url("+getLocationHref()+"#"+it+")");_[0];)st.appendChild(_[0]);this.elem.layerElement.appendChild(st),this.masker=nt,et.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(_=this.elem.layerElement.children||this.elem.layerElement.childNodes;_.length;)this.elem.layerElement.removeChild(_[0]);this.elem.layerElement.appendChild(et),this.elem.layerElement.removeAttribute("mask"),et.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=et},SVGStrokeEffect.prototype.renderFrame=function(_){this.initialized||this.initialize();var j,et=this.paths.length,tt,rt;for(j=0;j<et;j+=1)if(this.paths[j].m!==-1&&(tt=this.elem.maskManager.viewData[this.paths[j].m],rt=this.paths[j].p,(_||this.filterManager._mdf||tt.prop._mdf)&&rt.setAttribute("d",tt.lastPath),_||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||tt.prop._mdf)){var nt;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var it=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,st=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,at=rt.getTotalLength();nt="0 0 0 "+at*it+" ";var ot=at*(st-it),lt=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,ct=Math.floor(ot/lt),ut;for(ut=0;ut<ct;ut+=1)nt+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";nt+="0 "+at*10+" 0 0"}else nt="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;rt.setAttribute("stroke-dasharray",nt)}if((_||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(_||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("op
715acity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(_||this.filterManager.effectElements[3].p._mdf)){var dt=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(dt[0]*255)+","+bmFloor(dt[1]*255)+","+bmFloor(dt[2]*255)+")")}};function SVGTritoneFilter(_,j,et,tt){this.filterManager=j;var rt=createNS("feColorMatrix");rt.setAttribute("type","matrix"),rt.setAttribute("color-interpolation-filters","linearRGB"),rt.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),_.appendChild(rt);var nt=createNS("feComponentTransfer");nt.setAttribute("color-interpolation-filters","sRGB"),nt.setAttribute("result",tt),this.matrixFilter=nt;var it=createNS("feFuncR");it.setAttribute("type","table"),nt.appendChild(it),this.feFuncR=it;var st=createNS("feFuncG");st.setAttribute("type","table"),nt.appendChild(st),this.feFuncG=st;var at=createNS("feFuncB");at.setAttribute("type","table"),nt.appendChild(at),this.feFuncB=at,_.appendChild(nt)}SVGTritoneFilter.prototype.renderFrame=function(_){if(_||this.filterManager._mdf){var j=this.filterManager.effectElements[0].p.v,et=this.filterManager.effectElements[1].p.v,tt=this.filterManager.effectElements[2].p.v,rt=tt[0]+" "+et[0]+" "+j[0],nt=tt[1]+" "+et[1]+" "+j[1],it=tt[2]+" "+et[2]+" "+j[2];this.feFuncR.setAttribute("tableValues",rt),this.feFuncG.setAttribute("tableValues",nt),this.feFuncB.setAttribute("tableValues",it)}};function SVGProLevelsFilter(_,j,et,tt){this.filterManager=j;var rt=this.filterManager.effectElements,nt=createNS("feComponentTransfer");(rt[10].p.k||rt[10].p.v!==0||rt[11].p.k||rt[11].p.v!==1||rt[12].p.k||rt[12].p.v!==1||rt[13].p.k||rt[13].p.v!==0||rt[14].p.k||rt[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",nt)),(rt[17].p.k||rt[17].p.v!==0||rt[18].p.k||rt[18].p.v!==1||rt[19].p.k||rt[19].p.v!==1||rt[20].p.k||rt[20].p.v!==0||rt[21].p.k||rt[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",nt)),(rt[24].p.k||rt[24].p.v!==0||rt[25].p.k||rt[25].p.v!==1||rt[26].p.k||rt[26].p.v!==1||rt[27].p.k||rt[27].p.v!==0||rt[28].p.k||rt[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",nt)),(rt[31].p.k||rt[31].p.v!==0||rt[32].p.k||rt[32].p.v!==1||rt[33].p.k||rt[33].p.v!==1||rt[34].p.k||rt[34].p.v!==0||rt[35].p.k||rt[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",nt)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(nt.setAttribute("color-interpolation-filters","sRGB"),_.appendChild(nt)),(rt[3].p.k||rt[3].p.v!==0||rt[4].p.k||rt[4].p.v!==1||rt[5].p.k||rt[5].p.v!==1||rt[6].p.k||rt[6].p.v!==0||rt[7].p.k||rt[7].p.v!==1)&&(nt=createNS("feComponentTransfer"),nt.setAttribute("color-interpolation-filters","sRGB"),nt.setAttribute("result",tt),_.appendChild(nt),this.feFuncRComposed=this.createFeFunc("feFuncR",nt),this.feFuncGComposed=this.createFeFunc("feFuncG",nt),this.feFuncBComposed=this.createFeFunc("feFuncB",nt))}SVGProLevelsFilter.prototype.createFeFunc=function(_,j){var et=createNS(_);return et.setAttribute("type","table"),j.appendChild(et),et},SVGProLevelsFilter.prototype.getTableValue=function(_,j,et,tt,rt){for(var nt=0,it=256,st,at=Math.min(_,j),ot=Math.max(_,j),lt=Array.call(null,{length:it}),ct,ut=0,dt=rt-tt,ht=j-_;nt<=256;)st=nt/256,st<=at?ct=ht<0?rt:tt:st>=ot?ct=ht<0?tt:rt:ct=tt+dt*Math.pow((st-_)/ht,1/et),lt[ut]=ct,ut+=1,nt+=256/(it-1);return lt.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(_){if(_||this.filterManager._mdf){var j,et=this.filterManager.effectElements;this.feFuncRComposed&&(_||et[3].p._mdf||et[4].p._mdf||et[5].p._mdf||et[6].p._mdf||et[7].p._mdf)&&(j=this.getTableValue(et[3].p.v,et[4].p.v,et[5].p.v,et[6].p.v,et[7].p.v),this.feFuncRComposed.setAttribute("tableValues",j),this.feFuncGComposed.setAttribute("tableValues",j),this.feFuncBComposed.setAttribute("tableValues",j)),this.feFuncR&&(_||et[10].p._mdf||et[11].p._mdf||et[12].p._mdf||et[13].p._mdf||et[14].p._mdf)&&(j=this.getTableValue(et[10].p.v,et[11].p.v,et[12].p.v,et[13].p.v,et[14].p.v),this.feFuncR.setAttribute("tableValues",j)),this.feFuncG&&(_||et[17].p._mdf||et[18].p._mdf||et[19].p._mdf||et[20].p._mdf||et[21].p._mdf)&&(j=this.getTableValue(et[17].p.v,et[18].p.v,et[19].p.v,et[20].p.v,et[21].p.v),this.feFuncG.setAttribute("tableValues",j)),this.feFuncB&&(_||et[24].p._mdf||et[25].p._mdf||et[26].p._mdf||et[27].p._mdf||et[28].p._mdf)&&(j=this.getTableValue(et[24].p.v,et[25].p.v,et[26].p.v,et[27].p.v,et[28].p.v),this.feFuncB.setAttribute("tableValues",j)),this.feFuncA&&(_||et[31].p._mdf||et[32].p._mdf||et[33].p._mdf||et[34].p._mdf||et[35].p._mdf)&&(j=this.getTableValue(et[31].p.v,et[32].p.v,et[33].p.v,et[34].p.v,et[35].p.v),this.feFuncA.setAttribute("tableValues",j))}};function SVGDropShadowEffect(_,j,et,tt,rt){var nt=j.container.globalData.renderConfig.filterSize,it=j.data.fs||nt;_.setAttribute("x",it.x||nt.x),_.setAttribute("y",it.y||nt.y),_.setAttribute("width",it.width||nt.width),_.setAttribute("height",it.height||nt.height),this.filterManager=j;var st=createNS("feGaussianBlur");st.setAttribute("in","SourceAlpha"),st.setAttribute("result",tt+"_drop_shadow_1"),st.setAttribute("stdDeviation","0"),this.feGaussianBlur=st,_.appendChild(st);var at=createNS("feOffset");at.setAttribute("dx","25"),at.setAttribute("dy","0"),at.setAttribute("in",tt+"_drop_shadow_1"),at.setAttribute("result",tt+"_drop_shadow_2"),this.feOff
vendor: 5,665 bytes, line 715
715set=at,_.appendChild(at);var ot=createNS("feFlood");ot.setAttribute("flood-color","#00ff00"),ot.setAttribute("flood-opacity","1"),ot.setAttribute("result",tt+"_drop_shadow_3"),this.feFlood=ot,_.appendChild(ot);var lt=createNS("feComposite");lt.setAttribute("in",tt+"_drop_shadow_3"),lt.setAttribute("in2",tt+"_drop_shadow_2"),lt.setAttribute("operator","in"),lt.setAttribute("result",tt+"_drop_shadow_4"),_.appendChild(lt);var ct=this.createMergeNode(tt,[tt+"_drop_shadow_4",rt]);_.appendChild(ct)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(_){if(_||this.filterManager._mdf){if((_||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),_||this.filterManager.effectElements[0].p._mdf){var j=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(j[0]*255),Math.round(j[1]*255),Math.round(j[2]*255)))}if((_||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),_||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var et=this.filterManager.effectElements[3].p.v,tt=(this.filterManager.effectElements[2].p.v-90)*degToRads,rt=et*Math.cos(tt),nt=et*Math.sin(tt);this.feOffset.setAttribute("dx",rt),this.feOffset.setAttribute("dy",nt)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(_,j,et){this.initialized=!1,this.filterManager=j,this.filterElem=_,this.elem=et,et.matteElement=createNS("g"),et.matteElement.appendChild(et.layerElement),et.matteElement.appendChild(et.transformedElement),et.baseElement=et.matteElement}SVGMatte3Effect.prototype.findSymbol=function(_){for(var j=0,et=_svgMatteSymbols.length;j<et;){if(_svgMatteSymbols[j]===_)return _svgMatteSymbols[j];j+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(_,j){var et=_.layerElement.parentNode;if(et){for(var tt=et.children,rt=0,nt=tt.length;rt<nt&&tt[rt]!==_.layerElement;)rt+=1;var it;rt<=nt-2&&(it=tt[rt+1]);var st=createNS("use");st.setAttribute("href","#"+j),it?et.insertBefore(st,it):et.appendChild(st)}},SVGMatte3Effect.prototype.setElementAsMask=function(_,j){if(!this.findSymbol(j)){var et=createElementID(),tt=createNS("mask");tt.setAttribute("id",j.layerId),tt.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(j);var rt=_.globalData.defs;rt.appendChild(tt);var nt=createNS("symbol");nt.setAttribute("id",et),this.replaceInParent(j,et),nt.appendChild(j.layerElement),rt.appendChild(nt);var it=createNS("use");it.setAttribute("href","#"+et),tt.appendChild(it),j.data.hd=!1,j.show()}_.setMatte(j.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var _=this.filterManager.effectElements[0].p.v,j=this.elem.comp.elements,et=0,tt=j.length;et<tt;)j[et]&&j[et].data.ind===_&&this.setElementAsMask(this.elem,j[et]),et+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(_,j,et,tt){_.setAttribute("x","-100%"),_.setAttribute("y","-100%"),_.setAttribute("width","300%"),_.setAttribute("height","300%"),this.filterManager=j;var rt=createNS("feGaussianBlur");rt.setAttribute("result",tt),_.appendChild(rt),this.feGaussianBlur=rt}SVGGaussianBlurEffect.prototype.renderFrame=function(_){if(_||this.filterManager._mdf){var j=.3,et=this.filterManager.effectElements[0].p.v*j,tt=this.filterManager.effectElements[1].p.v,rt=tt==3?0:et,nt=tt==2?0:et;this.feGaussianBlur.setAttribute("stdDeviation",rt+" "+nt);var it=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",it)}};function TransformEffect(){}TransformEffect.prototype.init=function(_){this.effectsManager=_,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(_){if(this._opMdf=!1,this._mdf=!1,_||this.effectsManager._mdf){var j=this.effectsManager.effectElements,et=j[0].p.v,tt=j[1].p.v,rt=j[2].p.v===1,nt=j[3].p.v,it=rt?nt:j[4].p.v,st=j[5].p.v,at=j[6].p.v,ot=j[7].p.v;this.matrix.reset(),this.matrix.translate(-et[0],-et[1],et[2]),this.matrix.scale(it*.01,nt*.01,1),this.matrix.rotate(-ot*degToRads),this.matrix.skewFromAxis(-st*degToRads,(at+90)*degToRads),this.matrix.translate(tt[0],tt[1],0),this._mdf=!0,this.opacity!==j[8].p.v&&(this.opacity=j[8].p.v,this._opMdf=!0)}};function SVGTransformEffect(_,j){this.init(j)}extendPrototype([TransformEffect],SVGTransformEffect);function CVTransformEffect(_){this.init(_)}return extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie})}
715)(lottie$1,lottie$1.exports);var lottieExports=lottie$1.exports;const lottie=getDefaultExportFromCjs(lottieExports);function _arrayLikeToArray$l(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=Array(j);et<j;et++)tt[et]=_[et];return tt}function _arrayWithHoles$e(_){if(Array.isArray(_))return _}function _defineProperty$J(_,j,et){return(j=_toPropertyKey$J(j))in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _iterableToArrayLimit$d(_,j){var et=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(et!=null){var tt,rt,nt,it,st=[],at=!0,ot=!1;try{if(nt=(et=et.call(_)).next,j!==0)for(;!(at=(tt=nt.call(et)).done)&&(st.push(tt.value),st.length!==j);at=!0);}catch(lt){ot=!0,rt=lt}finally{try{if(!at&&et.return!=null&&(it=et.return(),Object(it)!==it))return}finally{if(ot)throw rt}}return st}}function _nonIterableRest$e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 716In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ownKeys$D(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread2(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$D(Object(et),!0).forEach(function(tt){_defineProperty$J(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$D(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _objectWithoutProperties$k(_,j){if(_==null)return{};var et,tt,rt=_objectWithoutPropertiesLoose$k(_,j);if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(tt=0;tt<nt.length;tt++)et=nt[tt],j.includes(et)||{}.propertyIsEnumerable.call(_,et)&&(rt[et]=_[et])}return rt}function _objectWithoutPropertiesLoose$k(_,j){if(_==null)return{};var et={};for(var tt in _)if({}.hasOwnProperty.call(_,tt)){if(j.includes(tt))continue;et[tt]=_[tt]}return et}function _slicedToArray$d(_,j){return _arrayWithHoles$e(_)||_iterableToArrayLimit$d(_,j)||_unsupportedIterableToArray$l(_,j)||_nonIterableRest$e()}function _toPrimitive$J(_,j){if(typeof _!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(typeof tt!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function _toPropertyKey$J(_){var j=_toPrimitive$J(_,"string");return typeof j=="symbol"?j:j+""}function _unsupportedIterableToArray$l(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$l(_,j);var et={}.toString.call(_).slice(8,-1);return et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set"?Array.from(_):et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et)?_arrayLikeToArray$l(_,j):void 0}}var _excluded$1$1=["animationData","loop","autoplay","initialSegment","onComplete","onLoopComplete","onEnterFrame","onSegmentStart","onConfigReady","onDataReady","onDataFailed","onLoadedImages","onDOMLoaded","onDestroy","lottieRef","renderer","name","assetsPath","rendererSettings"],useLottie=function _(j,et){var tt=j.animationData,rt=j.loop,nt=j.autoplay,it=j.initialSegment,st=j.onComplete,at=j.onLoopComplete,ot=j.onEnterFrame,lt=j.onSegmentStart,ct=j.onConfigReady,ut=j.onDataReady,dt=j.onDataFailed,ht=j.onLoadedImages,pt=j.onDOMLoaded,gt=j.onDestroy;j.lottieRef,j.renderer,j.name,j.assetsPath,j.rendererSettings;var ft=_objectWithoutProperties$k(j,_excluded$1$1),mt=reactExports.useState(!1),xt=_slicedToArray$d(mt,2),yt=xt[0],vt=xt[1],bt=reactExports.useRef(),Et=reactExports.useRef(null),_t=function(){var Nt;(Nt=bt.current)===null||Nt===void 0||Nt.play()},wt=function(){var Nt;(Nt=bt.current)===null||Nt===void 0||Nt.stop()},Rt=function(){var Nt;(Nt=bt.current)===null||Nt===void 0||Nt.pause()},Ct=function(Nt){var Mt;(Mt=bt.current)===null||Mt===void 0||Mt.setSpeed(Nt)},jt=function(Nt,Mt){var Vt;(Vt=bt.current)===null||Vt===void 0||Vt.goToAndPlay(Nt,Mt)},Dt=function(Nt,Mt){var Vt;(Vt=bt.current)===null||Vt===void 0||Vt.goToAndStop(Nt,Mt)},It=function(Nt){var Mt;(Mt=bt.current)===null||Mt===void 0||Mt.setDirection(Nt)},Ot=function(Nt,Mt){var Vt;(Vt=bt.current)===null||Vt===void 0||Vt.playSegments(Nt,Mt)},At=function(Nt){var Mt;(Mt=bt.current)===null||Mt===void 0||Mt.setSubframe(Nt)},Tt=function(Nt){var Mt;return(Mt=bt.current)===null||Mt===void 0?void 0:Mt.getDuration(Nt)},kt=function(){var Nt;(Nt=bt.current)===null||Nt===void 0||Nt.destroy(),bt.current=void 0},St=function(){var Nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Mt;if(Et.current){(Mt=bt.current)===null||Mt===void 0||Mt.destroy();
vendor: 5,123 bytes, lines 716-717
716var Vt=_objectSpread2(_objectSpread2(_objectSpread2({},j),Nt),{},{container:Et.current});return bt.current=lottie.loadAnimation(Vt),vt(!!bt.current),function(){var Ht;(Ht=bt.current)===null||Ht===void 0||Ht.destroy(),bt.current=void 0}}};reactExports.useEffect(function(){var $t=St();return function(){return $t==null?void 0:$t()}},[tt,rt]),reactExports.useEffect(function(){bt.current&&(bt.current.autoplay=!!nt)},[nt]),reactExports.useEffect(function(){if(bt.current){if(!it){bt.current.resetSegments(!0);return}!Array.isArray(it)||!it.length||((bt.current.currentRawFrame<it[0]||bt.current.currentRawFrame>it[1])&&(bt.current.currentRawFrame=it[0]),bt.current.setSegment(it[0],it[1]))}},[it]),reactExports.useEffect(function(){var $t=[{name:"complete",handler:st},{name:"loopComplete",handler:at},{name:"enterFrame",handler:ot},{name:"segmentStart",handler:lt},{name:"config_ready",handler:ct},{name:"data_ready",handler:ut},{name:"data_failed",handler:dt},{name:"loaded_images",handler:ht},{name:"DOMLoaded",handler:pt},{name:"destroy",handler:gt}],Nt=$t.filter(function(Vt){return Vt.handler!=null});if(Nt.length){var Mt=Nt.map(function(Vt){var Ht;return(Ht=bt.current)===null||Ht===void 0||Ht.addEventListener(Vt.name,Vt.handler),function(){var Qt;(Qt=bt.current)===null||Qt===void 0||Qt.removeEventListener(Vt.name,Vt.handler)}});return function(){Mt.forEach(function(Vt){return Vt()})}}},[st,at,ot,lt,ct,ut,dt,ht,pt,gt]);var Pt=React$1.createElement("div",_objectSpread2({style:et,ref:Et},ft));return{View:Pt,play:_t,stop:wt,pause:Rt,setSpeed:Ct,goToAndStop:Dt,goToAndPlay:jt,setDirection:It,playSegments:Ot,setSubframe:At,getDuration:Tt,destroy:kt,animationContainerRef:Et,animationLoaded:yt,animationItem:bt.current}};function getContainerVisibility(_){var j=_.getBoundingClientRect(),et=j.top,tt=j.height,rt=window.innerHeight-et,nt=window.innerHeight+tt;return rt/nt}function getContainerCursorPosition(_,j,et){var tt=_.getBoundingClientRect(),rt=tt.top,nt=tt.left,it=tt.width,st=tt.height,at=(j-nt)/it,ot=(et-rt)/st;return{x:at,y:ot}}var useInitInteractivity=function _(j){var et=j.wrapperRef,tt=j.animationItem,rt=j.mode,nt=j.actions;reactExports.useEffect(function(){var it=et.current;if(!(!it||!tt||!nt.length)){tt.stop();var st=function(){var lt=null,ct=function(){var dt=getContainerVisibility(it),ht=nt.find(function(gt){var ft=gt.visibility;return ft&&dt>=ft[0]&&dt<=ft[1]});if(ht){if(ht.type==="seek"&&ht.visibility&&ht.frames.length===2){var pt=ht.frames[0]+Math.ceil((dt-ht.visibility[0])/(ht.visibility[1]-ht.visibility[0])*ht.frames[1]);//! goToAndStop must be relative to the start of the current segment 717tt.goToAndStop(pt-tt.firstFrame-1,!0)}ht.type==="loop"&&(lt===null||lt!==ht.frames||tt.isPaused)&&(tt.playSegments(ht.frames,!0),lt=ht.frames),ht.type==="play"&&tt.isPaused&&(tt.resetSegments(!0),tt.play()),ht.type==="stop"&&tt.goToAndStop(ht.frames[0]-tt.firstFrame-1,!0)}};return document.addEventListener("scroll",ct),function(){document.removeEventListener("scroll",ct)}},at=function(){var lt=function(ht,pt){var gt=ht,ft=pt;if(gt!==-1&&ft!==-1){var mt=getContainerCursorPosition(it,gt,ft);gt=mt.x,ft=mt.y}var xt=nt.find(function(bt){var Et=bt.position;return Et&&Array.isArray(Et.x)&&Array.isArray(Et.y)?gt>=Et.x[0]&><=Et.x[1]&&ft>=Et.y[0]&&ft<=Et.y[1]:Et&&!Number.isNaN(Et.x)&&!Number.isNaN(Et.y)?gt===Et.x&&ft===Et.y:!1});if(xt){if(xt.type==="seek"&&xt.position&&Array.isArray(xt.position.x)&&Array.isArray(xt.position.y)&&xt.frames.length===2){var yt=(gt-xt.position.x[0])/(xt.position.x[1]-xt.position.x[0]),vt=(ft-xt.position.y[0])/(xt.position.y[1]-xt.position.y[0]);tt.playSegments(xt.frames,!0),tt.goToAndStop(Math.ceil((yt+vt)/2*(xt.frames[1]-xt.frames[0])),!0)}xt.type==="loop"&&tt.playSegments(xt.frames,!0),xt.type==="play"&&(tt.isPaused&&tt.resetSegments(!1),tt.playSegments(xt.frames)),xt.type==="stop"&&tt.goToAndStop(xt.frames[0],!0)}},ct=function(ht){lt(ht.clientX,ht.clientY)},ut=function(){lt(-1,-1)};return it.addEventListener("mousemove",ct),it.addEventListener("mouseout",ut),function(){it.removeEventListener("mousemove",ct),it.removeEventListener("mouseout",ut)}};switch(rt){case"scroll":return st();case"cursor":return at()}}},[rt,tt])},useLottieInteractivity=function _(j){var et=j.actions,tt=j.mode,rt=j.lottieObj,nt=rt.animationItem,it=rt.View,st=rt.animationContainerRef;return useInitInteractivity({actions:et,animationItem:nt,mode:tt,wrapperRef:st}),it},_excluded$k=["style","interactivity"],Lottie=function _(j){var et,tt,rt,nt=j.style,it=j.interactivity,st=_objectWithoutProperties$k(j,_excluded$k),at=useLottie(st,nt),ot=at.View,lt=at.play,ct=at.stop,ut=at.pause,dt=at.setSpeed,ht=at.goToAndStop,pt=at.goToAndPlay,gt=at.setDirection,ft=at.playSegments,mt=at.setSubframe,xt=at.getDuration,yt=at.destroy,vt=at.animationContainerRef,bt=at.animationLoaded,Et=at.animationItem;return reactExports.useEffect(function(){j.lottieRef&&(j.lottieRef.current={play:lt,stop:ct,pause:ut,setSpeed:dt,goToAndPlay:pt,goToAndStop:ht,setDirection:gt,playSegments:ft,setSubframe:mt,getDuration:xt,destroy:yt,animationContainerRef:vt,animationLoaded:bt,animationItem:Et})}
717,[(et=j.lottieRef)===null||et===void 0?void 0:et.current]),useLottieInteractivity({lottieObj:{View:ot,play:lt,stop:ct,pause:ut,setSpeed:dt,goToAndStop:ht,goToAndPlay:pt,setDirection:gt,playSegments:ft,setSubframe:mt,getDuration:xt,destroy:yt,animationContainerRef:vt,animationLoaded:bt,animationItem:Et},actions:(tt=it==null?void 0:it.actions)!==null&&tt!==void 0?tt:[],mode:(rt=it==null?void 0:it.mode)!==null&&rt!==void 0?rt:"scroll"})};gsapWithCSS.registerPlugin(ScrollTrigger);const ScrollOpacity=({children:_,className:j,start:et,end:tt,yOffset:rt=30})=>{const nt=reactExports.useRef(null);return reactExports.useEffect(()=>{const it=nt.current;if(!it)return;gsapWithCSS.set(it,{transformOrigin:"center center"});const st=gsapWithCSS.timeline({scrollTrigger:{trigger:it,start:"top bottom",end:"bottom top",scrub:.4}});return st.fromTo(it,{opacity:0,y:30,scale:.9},{opacity:1,y:0,scale:1,ease:"power1.out",duration:.2},0),st.to(it,{opacity:0,y:-50,scale:.75,ease:"power1.in",duration:.5},.5),()=>{var at;(at=st.scrollTrigger)==null||at.kill(),st.kill()}},[rt]),jsxRuntimeExports.jsx("div",{ref:nt,className:j,children:_})},AnimatedBorder=({children:_,className:j,borderWidth:et=2,borderRadius:tt="1.5rem"})=>jsxRuntimeExports.jsxs("div",{className:cn("relative",j),children:[jsxRuntimeExports.jsx("div",{className:"absolute -inset-px rounded-[inherit] animate-gradient-shift",style:{borderRadius:tt,background:"linear-gradient(90deg, hsl(252 100% 68%), hsl(217 91% 60%), hsl(252 100% 68%), hsl(217 91% 60%))",backgroundSize:"300% 100%",padding:et}}),jsxRuntimeExports.jsx("div",{className:"relative bg-deep-black",style:{borderRadius:tt},children:_})]}),v$1="4.8.0",meta={g:"LottieFiles AE 1.0.0",a:"",k:"",d:"",tc:""},fr=60,ip=0,op=155,w=535,h$1=448,nm="Wearables Designer",ddd=0,assets=[{id:"comp_0",layers:[{ddd:0,ind:1,ty:3,nm:"Shape Layer 2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[-14]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:19.033,s:[20]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:27.914,s:[17]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:48.215,s:[40]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:57.098,s:[38]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:77,s:[63]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:87.152,s:[61]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:109.99,s:[87]},{t:120.140625,s:[85]}],ix:10},p:{a:0,k:[280,227,0],ix:2},a:{a:0,k:[-20,12.5,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:385,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Shorts",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[14]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:19.033,s:[-20]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:27.914,s:[-17]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:48.215,s:[-40]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:57.098,s:[-38]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:77,s:[-63]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:87.152,s:[-61]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:109.99,s:[-87]},{t:120.140625,s:[-85]}],ix:10},p:{a:0,k:[-155.553,157.742,0],ix:2},a:{a:0,k:[435.447,320.242,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-.08,1.704],[.986,.114],[0,0],[1.053,-6.126],[.131,-.895]],o:[[.15,-2.525],[.047,-.992],[0,0],[0,0],[-.106,.62],[0,0]],v:[[6.559,4.995],[6.922,-1.924],[5.253,-4.035],[-2.427,-4.995],[-6.619,1.518],[-6.924,3.766]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.286274522543,.568627476692,.380392163992,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[412.075,326.052],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-1.986,-.307],[1.986,-.307],[1.986,.307],[-1.986,.307]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.666666686535,.568627476692,.341176480055,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[462.616,332.87],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.606,3.538],[0,0],[-1.252,-.702],[-.748,.297],[0,0]],o:[[0,0],[.151,.872],[.269,.151],[0,0],[-3.353,1.333]],v:[[-2.778,-2.822],[-.867,-3.149],[1.203,.843],[2.665,.863],[2.778,2.857]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.286274522543,.568627476692,.380392163992,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[463.662,333.028],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-1.379,-.388],[1.379,-.388],[1.379,.388],[-1.379,.388]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.666666686535,.568627476692,.341176480055,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[407.725,331.545],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 4",np:2,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.629,-.99],[.984,-.09],[0,0],[-.656,1.031],[.238,1.193]],o:[[.238,1.003],[-.39,.614],[0,0],[1.474,-.134],[.872,-1.372],[0,0]],v:[[.247,-3.072],[.031,.483],[-2.011,1.528],[-1.871,3.072],[1.339,1.315],[1.829,-3.072]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.219607844949,.439215689898,.32549020648,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[406.465,332.049],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 5",np:2,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-.338,3.974],[-1.938,-3.631],[.367,-3.974],[1.938,3.495]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.211764708161,.419607847929,.309803932905,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[443.953,292.551],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:2,cix:2,bm:0,ix:6,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[.474,3.639],[-1.808,3.19],[-.465,-3.639],[1.808,-3.145]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.211764708161,.419607847929,.309803932905,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[421.373,291.358],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:2,cix:2,bm:0,ix:7,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-.721],[.721,0],[0,.722],[-.721,0]],o:[[0,.722],[-.721,0],[0,-.721],[.721,0]],v:[[1.306,0],[0,1.306],[-1.306,0],[0,-1.306]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.129411771894,.298039227724,.207843139768,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[436.015,292.977],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 8",np:2,cix:2,bm:0,ix:8,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.328,2.29],[-1.08,-2.293],[-1.644,.165],[.452,1.779],[-.193,3.363]],o:[[.641,9.65],[.793,1.467],[-2.62
vendor: 4,284 bytes, line 717
7176,.848],[-.986,-3.02],[.126,-2.302]],v:[[-2.266,-12.048],[-1.227,10.063],[3.062,11.776],[-2.304,9.595],[-2.907,-5.157]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.211764708161,.447058826685,.321568638086,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[435.279,309.437],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,bm:0,ix:9,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-1.541],[-1.83,.257],[0,0],[0,0],[14.049,-1.302]],o:[[0,1.848],[0,0],[0,0],[0,0],[-1.535,.142]],v:[[-11.022,1.703],[-7.556,4.715],[11.022,2.102],[10.684,-4.746],[-8.339,-1.318]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.239215686917,.498039215803,.349019616842,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[444.035,291.54],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:2,cix:2,bm:0,ix:10,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[8.01,4.005],[0,0],[-5.555,1.034],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-11.662,-4.64],[-11.848,1.508],[11.848,4.469],[11.848,-.392]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.168627455831,.368627458811,.254901975393,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[425.17,290.594],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:11,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[1.544,-.562],[2.428,.615],[-.091,-.221],[-2.494,.908],[-.257,5.713],[1.303,.16]],o:[[-.252,5.645],[-1.623,.591],[.097,.63],[.581,1.417],[1.535,-.558],[.059,-1.311],[0,0]],v:[[3.698,-11.804],[1.107,8.88],[-6.473,8.637],[-6.186,9.947],[3.884,11.457],[6.47,-9.13],[4.265,-11.735]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.168627455831,.368627458811,.254901975393,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[412.513,333.82],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:2,cix:2,bm:0,ix:12,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[1.51,-3.608],[-.581,-1.417],[-2.494,.908],[-.257,5.722],[1.31,.16]],o:[[0,0],[-1.51,3.609],[.581,1.417],[1.534,-.558],[.059,-1.319],[0,0]],v:[[-2.596,-12.206],[-5.919,-5.848],[-5.919,10.348],[4.151,11.858],[6.736,-8.715],[4.519,-11.334]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.223529413342,.529411792755,.333333343267,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[412.246,333.418],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 13",np:2,cix:2,bm:0,ix:13,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.26,5.219],[1.551,-.075],[-2.534,4.087]],o:[[-2.073,4.153],[1.031,-.16],[.243,-.39]],v:[[4.951,-7.427],[-4.951,7.427],[2.572,-3.619]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.129411771894,.298039227724,.207843139768,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[414.466,300.675],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 14",np:2,cix:2,bm:0,ix:14,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.766,-6.941],[0,0],[0,0],[-.888,1.207],[-1.574,2.626]],o:[[0,0],[0,0],[.347,0],[1.42,-1.931],[.1,7.758]],v:[[3.992,11.801],[-3.858,10.873],[-3.992,-2.239],[-2.047,-4.229],[2.822,
vendor: 7,077 bytes, line 717
717-11.801]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.243137255311,.474509805441,.35686275363,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[413.507,310.34],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 15",np:2,cix:2,bm:0,ix:15,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.42,-1.931],[-1.574,2.626]],o:[[1.42,-1.931],[-1.574,2.626]],v:[[-2.435,3.786],[2.435,-3.786]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.219607844949,.435294121504,.321568638086,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[413.895,302.325],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 16",np:2,cix:2,bm:0,ix:16,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-.888,1.207],[.347,0]],o:[[.347,0],[-.888,1.207],[0,0]],v:[[-.972,.995],[.972,-.995],[-.972,.995]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.662745118141,.752941191196,.705882370472,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[410.488,307.106],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 17",np:2,cix:2,bm:0,ix:17,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[1.51,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[3.021,-15.382],[-6.881,-.528],[-6.747,12.583],[2.588,15.382],[6.881,-14.375]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.258823543787,.509803950787,.388235300779,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[416.397,308.63],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 18",np:2,cix:2,bm:0,ix:18,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.283,-.31],[1.224,-9.942],[-.733,1.693],[-.541,5.006]],o:[[-.308,.074],[3.265,.912],[1.005,-2.321],[-3.317,-.923]],v:[[-2.501,-9.258],[-5.08,8.478],[2.466,8.231],[5.08,-7.974]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.219607844949,.439215689898,.32549020648,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[416.464,298.254],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 19",np:2,cix:2,bm:0,ix:19,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.229,3.322],[-2.504,-1.142],[0,0],[0,0],[-.059,.002],[0,0]],o:[[2.895,5.963],[0,0],[0,0],[-.043,.002],[0,0],[-3.329,-1.262]],v:[[-5.287,-8.198],[4.343,8.117],[4.33,8.115],[5.287,8.156],[4.323,8.197],[4.317,8.195]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.129411771894,.298039227724,.207843139768,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[453.992,301.446],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 20",np:2,cix:2,bm:0,ix:20,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-3.223,-1.101],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-3.779,-14.77],[5.838,1.584],[6.795,1.584],[8.311,13.672],[.165,14.77],[-8.311,-13.679]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.258823543787,.509803950787,.388235300779,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[452.484,308.018],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 21",np:2,cix:2,bm:0,ix:21,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-4.15,.903],[1.59,5.433],[1.405,-7.981],[0,0]],o:[[-2.577,-6.289],[-1.179,-4.029],[0,0],[0,0]],v:[[7.383,14.373],[.353,-5.079],[-7.383,-13.346],[-.044,15.995]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.219607844949,.439215689898,.32549020648,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[442.091,338.483],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 22",np:2,cix:2,bm:0,ix:22,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[3.105,0],[0,-1.343],[-5.311,.503]],o:[[0,0],[0,1.343],[0,0]],v:[[-8.294,-2.603],[-11.65,-1.512],[11.65,2.569]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.243137255311,.35686275363,.270588248968,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[417.977,351.908],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 23",np:2,cix:2,bm:0,ix:23,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.256,.867],[0,0],[0,0],[-.011,-1.278],[-.102,-2.654]],o:[[-.205,-1.426],[-1.303,-4.409],[0,0],[-1.274,.112],[.014,1.694],[0,0]],v:[[7.155,4.15],[6.762,.953],[1.839,-4.877],[-4.918,-4.403],[-7.155,-1.944],[-7,4.877]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.286274522543,.568627476692,.380392163992,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.046,327.008],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 24",np:2,cix:2,bm:0,ix:24,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.605,.591],[.047,5.149],[-.02,-1.54],[-1.59,-.585],[-.622,1.399],[-.047,.336]],o:[[-1.697,-.624],[0,0],[.076,5.962],[2.49,.917],[.064,-.145],[-2.863,.519]],v:[[-1.681,8.753],[-3.689,-11.09],[-6.867,-9.572],[-4.854,10.685],[6.702,9.462],[6.868,8.726]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.168627455831,.368627458811,.254901975393,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[458.772,335.102],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}
vendor: 30,791 bytes, line 717
717],nm:"Group 25",np:2,cix:2,bm:0,ix:25,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.86,-1.666],[-.64,-1.658],[.621,-1.399],[2.49,.917],[.09,6.206],[-1.831,.17]],o:[[.581,1.124],[1.407,3.65],[-.622,1.399],[-1.545,-.568],[-.027,-1.839],[4.921,-.455]],v:[[3.702,-10.515],[5.629,-6.25],[6.614,9.939],[-4.942,11.162],[-6.948,-8.566],[-3.75,-11.025]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.223529413342,.529411792755,.333333343267,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[458.86,334.625],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 26",np:2,cix:2,bm:0,ix:26,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[5.059,-1.086],[-4.914,-2.222],[-1.335,.003]],o:[[0,0],[1.215,6.262],[2.714,1.228],[0,0]],v:[[2.589,-11.971],[-7.487,-9.696],[1.514,10.381],[7.487,11.971]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.219607844949,.439215689898,.32549020648,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[451.654,301.638],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 27",np:2,cix:2,bm:0,ix:27,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.428,-.345],[0,0],[-5.609,-2.147],[-3.131,-.506],[2.733,13.195],[-2.621,11.022]],o:[[-.87,.21],[0,0],[2.283,.874],[.642,-10.066],[-1.866,-9.01],[-3.756,-1.08]],v:[[-.538,-32.156],[-8.174,29.244],[-2.328,30.167],[6.402,32.233],[4.484,2.205],[8.174,-30.552]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.219607844949,.427450984716,.317647069693,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[414.501,321.152],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 28",np:2,cix:2,bm:0,ix:28,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[3.245,-.783],[0,0],[-5.609,-2.147],[0,0],[-1.711,1.712],[0,0],[-.738,0],[0,0],[2.968,0]],o:[[-.87,.21],[0,0],[5.609,2.147],[0,0],[0,0],[0,0],[0,0],[0,0],[-2.968,0]],v:[[-22.42,-32.702],[-30.057,28.697],[-24.211,29.621],[-6.756,32.779],[-1.674,3.438],[5.664,32.779],[30.057,27.588],[17.861,-32.031],[-2.109,-28.003]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.258823543787,.509803950787,.388235300779,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[436.383,321.699],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 29",np:2,cix:2,bm:0,ix:29,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"Shirt",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[14]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:19.033,s:[-20]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:27.914,s:[-17]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:48.215,s:[-40]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:57.098,s:[-38]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:77,s:[-63]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:87.152,s:[-61]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:109.99,s:[-87]},{t:120.140625,s:[-85]}],ix:10},p:{a:0,k:[-213.793,47.24,0],ix:2},a:{a:0,k:[108.207,287.74,0],ix:1},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:48,s:[100,100,100]},{t:69.140625,s:[50,50,100]}],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[7.164,.565],[-7.174,.565],[-7.25,-.565],[7.25,-.565]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.749019622803,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[122.665,272.179],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[7.353,-6.294],[-7.353,-6.294],[-6.629,4.596],[.001,6.294],[6.516,4.881]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[122.67,276.441],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.866,0],[0,-.81],[-.867,0],[0,.81]],o:[[-.867,0],[0,.81],[.866,0],[0,-.81]],v:[[-.001,-1.467],[-1.569,-.001],[-.001,1.467],[1.569,-.001]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.173,0],[0,.163],[-.174,0],[0,-.162]],o:[[-.174,0],[0,-.162],[.173,0],[0,.163]],v:[[-.557,.295],[-.873,-.001],[-.557,-.296],[-.242,-.001]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[.172,0],[0,.163],[-.174,0],[0,-.164]],o:[[-.174,0],[0,-.164],[.172,0],[0,.163]],v:[[.574,.31],[.258,.014],[.574,-.282],[.889,.014]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[110.869,315.918],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:4,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.866,0],[0,-.811],[-.867,0],[0,.811]],o:[[-.867,0],[0,.811],[.866,0],[0,-.811]],v:[[-.001,-1.468],[-1.569,.001],[-.001,1.468],[1.569,.001]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.173,0],[0,.162],[-.174,0],[0,-.164]],o:[[-.174,0],[0,-.164],[.173,0],[0,.162]],v:[[-.557,.295],[-.873,.001],[-.557,-.294],[-.242,.001]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[.172,0],[0,.163],[-.174,0],[0,-.162]],o:[[-.174,0],[0,-.162],[.172,0],[0,.163]],v:[[.574,.309],[.258,.015],[.574,-.281],[.889,.015]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[110.869,302.269],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 4",np:4,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.866,0],[0,-.811],[-.867,0],[0,.81]],o:[[-.867,0],[0,.81],[.866,0],[0,-.811]],v:[[-.001,-1.468],[-1.569,.001],[-.001,1.468],[1.569,.001]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.173,0],[0,.163],[-.174,0],[0,-.163]],o:[[-.174,0],[0,-.163],[.173,0],[0,.163]],v:[[-.557,.296],[-.873,.001],[-.557,-.296],[-.242,.001]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[.172,0],[0,.162],[-.174,0],[0,-.164]],o:[[-.174,0],[0,-.164],[.172,0],[0,.162]],v:[[.574,.311],[.258,.015],[.574,-.28],[.889,.015]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[110.869,288.621],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 5",np:4,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.866,0],[0,-.812],[-.867,0],[0,.81]],o:[[-.867,0],[0,.81],[.866,0],[0,-.812]],v:[[-.001,-1.468],[-1.569,.001],[-.001,1.468],[1.569,.001]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.173,0],[0,.162],[-.174,0],[0,-.165]],o:[[-.174,0],[0,-.165],[.173,0],[0,.162]],v:[[-.557,.295],[-.873,.001],[-.557,-.294],[-.242,.001]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[.172,0],[0,.163],[-.174,0],[0,-.163]],o:[[-.174,0],[0,-.163],[.172,0],[0,.163]],v:[[.574,.309],[.258,.015],[.574,-.281],[.889,.015]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[110.869,274.974],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:4,cix:2,bm:0,ix:6,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.866,0],[0,-.81],[-.867,0],[0,.811]],o:[[-.867,0],[0,.811],[.866,0],[0,-.81]],v:[[-.001,-1.468],[-1.569,.001],[-.001,1.468],[1.569,.001]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.173,0],[0,.163],[-.174,0],[0,-.163]],o:[[-.174,0],[0,-.163],[.173,0],[0,.163]],v:[[-.557,.295],[-.873,.001],[-.557,-.294],[-.242,.001]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[.172,0],[0,.163],[-.174,0],[0,-.163]],o:[[-.174,0],[0,-.163],[.172,0],[0,.163]],v:[[.574,.311],[.258,.015],[.574,-.28],[.889,.015]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[110.869,261.325],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:4,cix:2,bm:0,ix:7,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-.686,-36.698],[-.686,36.593],[.686,36.698],[.686,-35.919]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[107.52,294.176],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 8",np:2,cix:2,bm:0,ix:8,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-2.662,-.199],[1.098,-2.493],[2.662,-.526],[-2.662,2.493]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[110.868,255.764],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,bm:0,ix:9,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-1.098,-2.493],[2.661,-.199],[2.661,2.493],[-2.661,-.526]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[105.545,255.764],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:2,cix:2,bm:0,ix:10,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[1.9,-8.665],[4.986,-.889],[1.9,8.665],[-4.986,-.001]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[116.952,253.272],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:11,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-5.323,-2.701],[-5.323,2.701],[2.711,2.631],[5.323,-2.701]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[113.529,247.308],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:2,cix:2,bm:0,ix:12,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-1.901,-8.665],[-4.987,-.889],[-1.901,8.665],[4.987,-.001]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[99.46,253.272],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 13",np:2,cix:2,bm:0,ix:13,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[5.323,-2.701],[5.323,2.701],[-2.71,2.631],[-5.323,-2.701]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[102.883,247.308],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 14",np:2,cix:2,bm:0,ix:14,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[1.95,-.919],[1.519,-.031],[0,0],[0,0],[3.991,1.886],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[-3.99,1.889],[0,0],[0,0],[-1.533,-.109],[-1.949,-.922],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[25.611,-11.905],[25.367,-10.216],[24.891,32.435],[17.939,38.194],[.154,40.428],[-.001,40.431],[-.157,40.42],[-18.073,37.484],[-24.892,32.435],[-25.368,-10.216],[-25.611,-11.905],[-31.54,-6.884],[-45.815,-15.329],[-28.928,-34.876],[-7.323,-40.431],[7.322,-40.431],[28.926,-34.876],[45.815,-15.329],[31.54,-6.884]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.749019622803,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[108.207,290.443],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 15",np:1,cix:2,bm:0,ix:15,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[108.207,290.443],ix:2},a:{a:0,k:[108.207,290.443],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:15,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[108.207,290.443],ix:2},a:{a:0,k:[108.207,290.443],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Glasses",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[14]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:19.033,s:[-20]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:27.914,s:[-17]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:48.215,s:[-40]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:57.098,s:[-38]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:77,s:[-63]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:87.152,s:[-61]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:109.99,s:[-87]},{t:120.140625,s:[-85]}],ix:10},p:{a:0,k:[-213.989,-71.047,0],ix:2},a:{a:0,k:[84.011,156.453,0],ix:1},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:28,s:[100,100,100]},{t:47,s:[50,50,100]}],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.566,-.017],[0,0],[.015,-.013],[.675,-.319],[1.035,.218],[.404,.299],[.286,.272],[15.372,-.059],[.096,0],[-1.347,-.014],[-1.773,-9.772],[-8.784,-.121],[-3,2.19],[-2.216,8.98],[-.285,.505],[-.372,.207],[-.684,-.873],[-.105,-.705],[0,0],[0,0],[0,0],[-.001,0]],o:[[0,0],[-15.331,-.134],[-.462,.435],[-.966,.458],[-.488,-.099],[-.368,-.274],[0,0],[0,0],[-1.786,-.025],[.001,0],[0,0],[0,0],[0,0],[.137,-.554],[.205,-.363],[.977,-.536],[.443,.564],[2.176,8.993],[2.988,2.208],[8.783,-.08],[1.821,-9.768],[1.763,-.128]],v:[[36.771,-12.053],[21.102,-11.896],[3.228,-9.651],[2.029,-8.424],[-1.17,-8.134],[-2.565,-8.703],[-3.291,-9.668],[-21.152,-11.997],[-36.824,-12.229],[-36.84,-4.343],[-32.972,5.451],[-22.306,12.055],[-9.827,10.486],[-2.914,-.672],[-2.373,-2.306],[-1.489,-3.29],[2.004,-2.71],[2.806,-.659],[9.668,10.532],[22.142,12.161],[32.837,5.607],[36.754,-4.165]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[2.108,-6.59],[3.299,-2.28],[11.578,1.328],[1.483,6.686],[-.607,4.292],[-4.289,-.22],[-4.688,-1.709]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-4.903,-2.087],[-9.121,7.706],[-23.202,10.156],[-31.471,3.745],[-32.347,-5.436],[-28.045,-9.727],[-7.583,-8.572]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[-1.512,6.68],[-11.578,1.271],[-3.289,-2.293],[-2.081,-6.6],[4.695,-1.684],[4.294,-.197],[.588,4.295]],v:[[31.344,3.895],[23.042,10.267],[8.975,7.747],[4.807,-2.064],[7.518,-8.536],[27.98,-9.594],[32.265,-5.281]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.933333337307,.549019634724,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[84.011,161.358],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[-4.688,-1.709],[-4.289,-.22],[-.607,4.292],[1.483,6.686],[11.578,1.328],[3.299,-2.28],[2.108,-6.59]],v:[[10.847,-8.886],[-9.615,-10.04],[-13.917,-5.749],[-13.041,3.431],[-4.772,9.843],[9.309,7.393],[13.527,-2.4]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.176470592618,.345098048449,.474509805441,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[65.581,161.672],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[4.294,-.197],[4.695,-1.684],[-2.081,-6.6],[-3.289,-2.293],[-11.578,1.271],[-1.512,6.68],[.588,4.295]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[9.638,-10.004],[-10.824,-8.946],[-13.535,-2.473],[-9.367,7.338],[4.7,9.857],[13.001,3.485],[13.923,-5.691]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.176470592618,.345098048449,.474509805441,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[102.353,161.768],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[10.592,-5.977],[0,0],[-4.513,1.533],[-1.774,1.019],[-4.358,-4.238],[-2.646,3.229],[3.45,2.279],[2.527,1.712],[3.426,-.791]],o:[[0,0],[0,0],[1.711,-.582],[2.218,-1.277],[0,0],[0,0],[0,0],[-1.578,-1.069],[-6.773,1.563]],v:[[-21.959,2.769],[-20.492,7.689],[-4.358,-.489],[2.321,-3.505],[12.52,-2.621],[21.522,2.22],[19.807,-1.695],[11.646,-6.851],[4.027,-7.125]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.211764708161,.407843142748,.529411792755,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[68.411,147.007],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 4",np:2,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-10.593,-5.977],[0,0],[4.513,1.533],[1.772,1.019],[4.359,-4.238],[2.646,3.229],[-3.454,2.279],[-2.527,1.712],[-3.425,-.791]],o:[[0,0],[0,0],[-1.711,-.582],[-2.219,-1.277],[0,0],[0,0],[0,0],[1.578,-1.069],[6.774,1.563]],v:[[21.959,2.769],[20.489,7.689],[4.357,-.489],[-2.32,-3.505],[-12.52,-2.621],[-21.523,2.22],[-19.805,-1.695],[-11.647,-6.851],[-4.029,-7.125]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.176470592618,.345098048449,.474509805441,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[99.046,147.007],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 5",np:2,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"Hat",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[14]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:19.033,s:[-20]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:27.914,s:[-17]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:48.215,s:[-40]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:57.098,s:[-38]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:77,s:[-63]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:87.152,s:[-61]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:109.99,s:[-87]},{t:120.140625,s:[-85]}],ix:10},p:{a:0,k:[-122,-163.5,0],ix:2},a:{a:0,k:[193.707,76.225,0],ix:1},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:0,s:[100,100,100]},{t:19,s:[50,50,100]}],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-34.868,9.957],[0,0],[4.574,13.522]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-23.968,-6.007],[25.24,-5.19],[25.035,.496],[-25.24,-.184]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.945098042488,.780392169952,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[193.682,88.522],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[4.574,13.522],[0,0],[-7.302,.6],[-11.125,-6.849],[.003,-12.215],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-25.556,14.555],[-19.877,-11.426],[-8.543,-20.505],[13.536,-15.554],[25.556,-7.848],[24.719,15.235]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.454901963472,.403921574354,.329411774874,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[193.998,73.784],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-1.024,-10.969],[-40.629,2.994],[-17.996,8.513],[9.452,2.269],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-21.066,-13.008],[-39.647,.293],[4.96,12.62],[37.215,4.734],[34.727,-2.426],[25.296,-5.322]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.454901963472,.403921574354,.329411774874,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[193.707,86.405],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0}]},{id:"comp_1",layers:[{ddd:0,ind:1,ty:4,nm:"Layer 47",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[583.033,209.971,0],ix:2},a:{a:0,k:[460,206.099,0],ix:1},s:{a:0,k:[135,135,100],ix:6}},ao:0,ef:[{ty:21,nm:"Fill",np:9,mn:"ADBE Fill",ix:1,en:1,ef:[{ty:10,nm:"Fill Mask",mn:"ADBE Fill-0001",ix:1,v:{a:0,k:0,ix:1}},{ty:7,nm:"All Masks",mn:"ADBE Fill-0007",ix:2,v:{a:0,k:0,ix:2}},{ty:2,nm:"Color",mn:"ADBE Fill-0002",ix:3,v:{a:0,k:[.03238754347,.261481970549,.317647069693,1],ix:3}},{ty:7,nm:"Invert",mn:"ADBE Fill-0006",ix:4,v:{a:0,k:0,ix:4}},{ty:0,nm:"Horizontal Feather",mn:"ADBE Fill-0003",ix:5,v:{a:0,k:0,ix:5}},{ty:0,nm:"Vertical Feather",mn:"ADBE Fill-0004",ix:6,v:{a:0,k:0,ix:6}},{ty:0,nm:"Opacity",mn:"ADBE Fill-0005",ix:7,v:{a:0,k:1,ix:7}}]}],shapes:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.588,0],[.301,.577],[.004,.009],[-.677,.091],[-.416,0],[.524,-.795]],o:[[-1.057,0],[-.005,-.009],[-.306,-.611],[.578,-.077],[2.572,0],[-.226,.343]],v:[[.546,1.304],[-2.11,.268],[-2.124,.242],[-1.36,-1.192],[.126,-1.304],[1.874,.819]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.235294118524,.129411771894,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[460.446,199.607],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.234,.073],[-.111,.114],[.019,-.019],[0,0]],o:[[.232,.092],[.019,-.019],[0,0],[-.092,.109]],v:[[-.276,.032],[.27,-.044],[.24,-.072],[.238,-.07]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.976470589638,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.993,203.494],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.233,-.076],[-.113,-.113],[.019,.019],[0,0]],o:[[.231,-.094],[.019,.019],[0,0],[-.093,-.108]],v:[[-.276,-.028],[.27,.042],[.241,.071],[.239,.068]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.976470589638,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.991,203.094],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.014,0],[0,0],[-.011,0],[0,0],[0,.017]],o:[[-.003,.013],[0,0],[.005,.009],[0,0],[.017,0],[0,0]],v:[[.055,-.019],[.026,.004],[-.056,.004],[-.031,.019],[.026,.019],[.056,-.012]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.529411792755,.372549027205,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[460.269,203.293],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 4",np:2,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.017,0],[0,0],[0,.017],[-.017,0],[0,0],[0,-.017]],o:[[0,0],[-.017,0],[0,-.017],[0,0],[.017,0],[0,.017]],v:[[.028,.031],[-.028,.031],[-.059,0],[-.028,-.031],[.028,-.031],[.059,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.819607853889,.372549027205,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[460.266,203.282],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 5",np:2,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-.018],[.017,0],[0,.018],[-.017,0]],o:[[0,.018],[-.017,0],[0,-.018],[.017,0]],v:[[.031,0],[0,.032],[-.031,0],[0,-.032]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.235294118524,.137254908681,.239215686917,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[460.235,203.281],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:2,cix:2,bm:0,ix:6,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.117,-.19],[.147,.24],[-.046,-.002],[-.113,0],[-.008,.005],[.261,-.217],[.035,.004],[-.16,0]],o:[[-.144,.241],[.038,.001],[.062,.058],[.184,0],[.215,-.235],[-.037,-.002],[.07,-.095],[.306,0]],v:[[.367,.117],[-.401,.121],[-.293,.122],[-.017,.218],[.262,.12],[-.278,
vendor: 4,853 bytes, line 717
717-.133],[-.389,-.14],[-.017,-.299]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.807843148708,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.948,203.282],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:2,cix:2,bm:0,ix:7,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.08,-.08],[0,0],[.38,.139],[-.014,.058],[-.053,0],[-.011,-.003],[-.431,.007]],o:[[0,0],[-.406,.013],[-.055,-.02],[.013,-.055],[.011,0],[.392,.121],[.077,.07]],v:[[.779,.195],[.778,.196],[-.76,.03],[-.833,-.107],[-.719,-.198],[-.684,-.193],[.775,-.048]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.454901963472,.313725501299,.458823531866,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.43,203.207],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 8",np:2,cix:2,bm:0,ix:8,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-.046],[.021,-.035],[.061,0],[.046,.001],[.02,.001],[.194,.071],[-.014,.058],[-.065,-.02],[-.529,-.014],[-.02,0],[-.048,0],[-.057,.002]],o:[[0,.044],[-.058,.002],[-.049,0],[-.021,0],[-.569,-.015],[-.056,-.02],[.016,-.067],[.19,.059],[.02,.001],[.046,.001],[.06,0],[.023,.035]],v:[[.836,.075],[.803,.195],[.625,.198],[.482,.196],[.421,.195],[-.76,.03],[-.833,-.107],[-.684,-.193],[.423,-.05],[.483,-.048],[.625,-.047],[.801,-.049]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.454901963472,.313725501299,.458823531866,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.43,203.207],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,bm:0,ix:9,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.416,0],[.209,.086],[0,0],[-1.393,0],[-.086,.024],[0,0]],o:[[-1.395,0],[0,0],[.16,.066],[1.39,0],[0,0],[-.089,.025]],v:[[.008,.222],[-2.491,.03],[-2.461,-.217],[.008,-.023],[2.491,-.222],[2.486,.029]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.29411765933,.192156866193,.298039227724,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.891,203.183],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:2,cix:2,bm:0,ix:10,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[.117,.304],[0,.002],[0,.215],[0,0],[0,0],[-1.226,-.61],[-.516,0],[-.34,.134]],o:[[0,0],[0,0],[0,0],[-.117,-.304],[.064,-.12],[-.001,-.962],[0,0],[.703,1.867],[.414,.206],[.822,0],[0,0]],v:[[2.965,3.688],[-1.86,3.688],[-2.117,1.744],[-2.445,.878],[-2.586,-.457],[-2.495,-.972],[-3.023,-3.588],[-2.679,-3.688],[-.401,3.163],[1.051,3.443],[3.023,3.122]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.827450990677,.027450980619,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.354,199.492],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:11,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-3.023,-3.588],[-2.679,-3.688]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[.117,.304],[0,.002],[-.117,-.304],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[-.117,-.304],[0,.002],[.117,.304],[0,0],[0,0],[0,0],[0,0]],v:[[2.965,3.688],[-1.86,3.688],[-2.117,1.744],[-2.445,.878],[-2.586,-.457],[-2.445,.878],[-2.117,1.744],[-1.86,3.688],[2.965,3.688],[3.023,3.122]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.827450990677,.298039227724,.388235300779,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.354,199.492],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:3,cix:2,bm:0,ix:12,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.984,0],[0,0]],o:[[-.984,0],[0,0]],v:[[-.102,4.075],[.273,-4.075]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1}
vendor: 12,111 bytes, line 717
717,{ty:"fl",c:{a:0,k:[.827450990677,.035294119269,.090196080506,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.657,207.959],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 13",np:2,cix:2,bm:0,ix:13,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.557,0],[.71,.214],[-2.44,1.375],[-.098,-4.673]],o:[[-.854,0],[.804,-3.845],[0,0],[-.576,.021]],v:[[-.163,6.446],[-2.54,6.174],[2.54,-6.446],[1.544,6.4]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.827450990677,.035294119269,.090196080506,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[456.219,210.048],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 14",np:2,cix:2,bm:0,ix:14,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.049,0],[0,0],[1.546,-.843]],o:[[-1.353,0],[0,0],[-.054,.03]],v:[[.137,5.409],[-.692,-5.409],[.292,5.365]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.827450990677,.035294119269,.090196080506,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[462.028,209.292],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 15",np:2,cix:2,bm:0,ix:15,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.04,-.183],[0,0],[-.754,-2.643],[.013,-.005]],o:[[-.411,-3.9],[1.013,.567],[-.013,.005],[-.634,.249]],v:[[-.335,6.219],[-2.311,-6.219],[2.311,5.456],[2.271,5.472]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.827450990677,.035294119269,.090196080506,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[464.63,210.384],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 16",np:2,cix:2,bm:0,ix:16,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.013,-.005],[-.013,.005]],o:[[.013,-.005],[-.013,.005]],v:[[-.02,.008],[.02,-.008]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.827450990677,.298039227724,.388235300779,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[466.922,215.847],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 17",np:2,cix:2,bm:0,ix:17,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-2.334,2.334],[0,0],[-1.312,-4.153],[0,0],[2.967,.656],[1.273,-.048],[1.214,1.214]],o:[[0,0],[0,0],[1.312,4.153],[0,0],[-1.127,-.249],[-2.078,.078],[0,0]],v:[[-2.505,-6.787],[2.319,-6.787],[6.567,1.052],[7.753,5.517],[1.258,6.642],[-2.431,6.488],[-7.757,5.43]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.113725490868,.23137255013,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[460,209.967],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 18",np:2,cix:2,bm:0,ix:18,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.351,-.656],[-.117,-.304],[0,0],[0,0],[0,0],[0,0],[0,.304],[0,0],[-.007,.073],[-.219,.339],[0,0],[1.476,.312],[0,0],[0,0]],o:[[0,0],[.117,.304],[0,0],[0,0],[0,0],[0,0],[0,0],[0,-.074],[.049,-.501],[0,0],[0,0],[-1.476,-.312],[0,0],[0,0]],v:[[-3.132,-.277],[-2.992,1.058],[-2.664,1.924],[-2.406,3.868],[2.419,3.868],[2.63,1.796],[3.051,.496],[3.051,-.453],[3.062,-.673],[3.569,-3.399],[2.107,-3.759],[-.204,-1.394],[-1.992,-3.868],[-3.569,-3.408]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.098039217293,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.9,199.312],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 19",np:2,cix:2,bm:0,ix:19,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-1.13,.102],[0,0],[0,0],[1.328,.372]],o:[[0,0],[0,0],[1.13,-.102],[0,0],[0,0],[-1.328,-.371]],v:[[-2.89,-1.848],[-2.244,-2.036],[-.153,-1.317],[1.855,-1.927],[2.89,-1.672],[0,2.012]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.776470601559,.098039217293,.215686276555,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[460.152,197.48],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 20",np:2,cix:2,bm:0,ix:20,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[460.152,197.48],ix:2},a:{a:0,k:[460.152,197.48],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:20,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[460.001,222.38],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[460.001,222.38],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[460.001,222.38],ix:2},a:{a:0,k:[460.001,222.38],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:1,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[460.002,206.098],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[460.002,206.098],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[460.002,206.098],ix:2},a:{a:0,k:[460.002,206.098],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:1,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Layer 38",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[392.002,209.971,0],ix:2},a:{a:0,k:[460,206.099,0],ix:1},s:{a:0,k:[135,135,100],ix:6}},ao:0,ef:[{ty:21,nm:"Fill",np:9,mn:"ADBE Fill",ix:1,en:1,ef:[{ty:10,nm:"Fill Mask",mn:"ADBE Fill-0001",ix:1,v:{a:0,k:0,ix:1}},{ty:7,nm:"All Masks",mn:"ADBE Fill-0007",ix:2,v:{a:0,k:0,ix:2}},{ty:2,nm:"Color",mn:"ADBE Fill-0002",ix:3,v:{a:0,k:[.03238754347,.261481970549,.317647069693,1],ix:3}},{ty:7,nm:"Invert",mn:"ADBE Fill-0006",ix:4,v:{a:0,k:0,ix:4}},{ty:0,nm:"Horizontal Feather",mn:"ADBE Fill-0003",ix:5,v:{a:0,k:0,ix:5}},{ty:0,nm:"Vertical Feather",mn:"ADBE Fill-0004",ix:6,v:{a:0,k:0,ix:6}},{ty:0,nm:"Opacity",mn:"ADBE Fill-0005",ix:7,v:{a:0,k:1,ix:7}}]}],shapes:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.588,0],[.301,.577],[.004,.009],[-.677,.091],[-.416,0],[.524,-.795]],o:[[-1.057,0],[-.005,-.009],[-.306,-.611],[.578,-.077],[2.572,0],[-.226,.343]],v:[[.546,1.304],[-2.11,.268],[-2.124,.242],[-1.36,-1.192],[.126,-1.304],[1.874,.819]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.235294118524,.129411771894,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[460.446,199.607],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.234,.073],[-.111,.114],[.019,-.019],[0,0]],o:[[.232,.092],[.019,-.019],[0,0],[-.092,.109]],v:[[-.276,.032],[.27,-.044],[.24,-.072],[.238,-.07]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.976470589638,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.993,203.494],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.233,-.076],[-.113,-.113],[.019,.019],[0,0]],o:[[.231,-.094],[.019,.019],[0,0],[-.093,-.108]],v:[[-.276,-.028],[.27,.042],[.241,.071],[.239,.068]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.976470589638,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.991,203.094],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.014,0],[0,0],[-.011,0],[0,0],[0,.017]],o:[[-.003,.013],[0,0],[.005,.009],[0,0],[.017,0],[0,0]],v:[[.055,-.019],[.026,.004],[-.056,.004],[-.031,.019],[.026,.019],[.056,-.012]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.529411792755,.372549027205,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[460.269,203.293],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 4",np:2,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.017,0],[0,0],[0,.017],[-.017,0],[0,0],[0,-.017]],o:[[0,0],[-.017,0],[0,-.017],[0,0],[.017,0],[0,.017]],v:[[.028,.031],[-.028,.031],[-.059,0],[-.028,-.031],[.028,-.031],[.059,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.819607853889,.372549027205,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[460.266,203.282],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 5",np:2,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-.018],[.017,0],[0,.018],[-.017,0]],o:[[0,.018],[-.017,0],[0,-.018],[.017,0]],v:[[.031,0],[0,.032],[-.031,0],[0,-.032]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.235294118524,.137254908681,.239215686917,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[460.235,203.281],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:2,cix:2,bm:0,ix:6,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.117,-.19],[.147,.24],[-.046,-.002],[-.113,0],[-.008,.005],[.261,-.217],[.035,.004],[-.16,0]],o:[[-.144,.241],[.038,.001],[.062,.058],[.184,0],[.215,-.235],[-.037,-.002],[.07,-.095],[.306,0]],v:[[.367,.117],[-.401,.121],[-.293,.122],[-.017,.218],[.262,.12],[-.278,
vendor: 4,853 bytes, line 717
717-.133],[-.389,-.14],[-.017,-.299]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.807843148708,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.948,203.282],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:2,cix:2,bm:0,ix:7,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.08,-.08],[0,0],[.38,.139],[-.014,.058],[-.053,0],[-.011,-.003],[-.431,.007]],o:[[0,0],[-.406,.013],[-.055,-.02],[.013,-.055],[.011,0],[.392,.121],[.077,.07]],v:[[.779,.195],[.778,.196],[-.76,.03],[-.833,-.107],[-.719,-.198],[-.684,-.193],[.775,-.048]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.454901963472,.313725501299,.458823531866,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.43,203.207],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 8",np:2,cix:2,bm:0,ix:8,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-.046],[.021,-.035],[.061,0],[.046,.001],[.02,.001],[.194,.071],[-.014,.058],[-.065,-.02],[-.529,-.014],[-.02,0],[-.048,0],[-.057,.002]],o:[[0,.044],[-.058,.002],[-.049,0],[-.021,0],[-.569,-.015],[-.056,-.02],[.016,-.067],[.19,.059],[.02,.001],[.046,.001],[.06,0],[.023,.035]],v:[[.836,.075],[.803,.195],[.625,.198],[.482,.196],[.421,.195],[-.76,.03],[-.833,-.107],[-.684,-.193],[.423,-.05],[.483,-.048],[.625,-.047],[.801,-.049]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.454901963472,.313725501299,.458823531866,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.43,203.207],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,bm:0,ix:9,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.416,0],[.209,.086],[0,0],[-1.393,0],[-.086,.024],[0,0]],o:[[-1.395,0],[0,0],[.16,.066],[1.39,0],[0,0],[-.089,.025]],v:[[.008,.222],[-2.491,.03],[-2.461,-.217],[.008,-.023],[2.491,-.222],[2.486,.029]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.29411765933,.192156866193,.298039227724,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.891,203.183],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:2,cix:2,bm:0,ix:10,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[.117,.304],[0,.002],[0,.215],[0,0],[0,0],[-1.226,-.61],[-.516,0],[-.34,.134]],o:[[0,0],[0,0],[0,0],[-.117,-.304],[.064,-.12],[-.001,-.962],[0,0],[.703,1.867],[.414,.206],[.822,0],[0,0]],v:[[2.965,3.688],[-1.86,3.688],[-2.117,1.744],[-2.445,.878],[-2.586,-.457],[-2.495,-.972],[-3.023,-3.588],[-2.679,-3.688],[-.401,3.163],[1.051,3.443],[3.023,3.122]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.827450990677,.027450980619,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.354,199.492],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:11,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-3.023,-3.588],[-2.679,-3.688]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[.117,.304],[0,.002],[-.117,-.304],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[-.117,-.304],[0,.002],[.117,.304],[0,0],[0,0],[0,0],[0,0]],v:[[2.965,3.688],[-1.86,3.688],[-2.117,1.744],[-2.445,.878],[-2.586,-.457],[-2.445,.878],[-2.117,1.744],[-1.86,3.688],[2.965,3.688],[3.023,3.122]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.827450990677,.298039227724,.388235300779,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.354,199.492],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:3,cix:2,bm:0,ix:12,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.984,0],[0,0]],o:[[-.984,0],[0,0]],v:[[-.102,4.075],[.273,-4.075]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1}
vendor: 17,380 bytes, line 717
717,{ty:"fl",c:{a:0,k:[.827450990677,.035294119269,.090196080506,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.657,207.959],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 13",np:2,cix:2,bm:0,ix:13,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.557,0],[.71,.214],[-2.44,1.375],[-.098,-4.673]],o:[[-.854,0],[.804,-3.845],[0,0],[-.576,.021]],v:[[-.163,6.446],[-2.54,6.174],[2.54,-6.446],[1.544,6.4]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.827450990677,.035294119269,.090196080506,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[456.219,210.048],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 14",np:2,cix:2,bm:0,ix:14,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.049,0],[0,0],[1.546,-.843]],o:[[-1.353,0],[0,0],[-.054,.03]],v:[[.137,5.409],[-.692,-5.409],[.292,5.365]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.827450990677,.035294119269,.090196080506,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[462.028,209.292],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 15",np:2,cix:2,bm:0,ix:15,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.04,-.183],[0,0],[-.754,-2.643],[.013,-.005]],o:[[-.411,-3.9],[1.013,.567],[-.013,.005],[-.634,.249]],v:[[-.335,6.219],[-2.311,-6.219],[2.311,5.456],[2.271,5.472]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.827450990677,.035294119269,.090196080506,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[464.63,210.384],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 16",np:2,cix:2,bm:0,ix:16,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.013,-.005],[-.013,.005]],o:[[.013,-.005],[-.013,.005]],v:[[-.02,.008],[.02,-.008]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.827450990677,.298039227724,.388235300779,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[466.922,215.847],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 17",np:2,cix:2,bm:0,ix:17,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-2.334,2.334],[0,0],[-1.312,-4.153],[0,0],[2.967,.656],[1.273,-.048],[1.214,1.214]],o:[[0,0],[0,0],[1.312,4.153],[0,0],[-1.127,-.249],[-2.078,.078],[0,0]],v:[[-2.505,-6.787],[2.319,-6.787],[6.567,1.052],[7.753,5.517],[1.258,6.642],[-2.431,6.488],[-7.757,5.43]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.113725490868,.23137255013,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[460,209.967],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 18",np:2,cix:2,bm:0,ix:18,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.351,-.656],[-.117,-.304],[0,0],[0,0],[0,0],[0,0],[0,.304],[0,0],[-.007,.073],[-.219,.339],[0,0],[1.476,.312],[0,0],[0,0]],o:[[0,0],[.117,.304],[0,0],[0,0],[0,0],[0,0],[0,0],[0,-.074],[.049,-.501],[0,0],[0,0],[-1.476,-.312],[0,0],[0,0]],v:[[-3.132,-.277],[-2.992,1.058],[-2.664,1.924],[-2.406,3.868],[2.419,3.868],[2.63,1.796],[3.051,.496],[3.051,-.453],[3.062,-.673],[3.569,-3.399],[2.107,-3.759],[-.204,-1.394],[-1.992,-3.868],[-3.569,-3.408]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.098039217293,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.9,199.312],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 19",np:2,cix:2,bm:0,ix:19,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-1.13,.102],[0,0],[0,0],[1.328,.372]],o:[[0,0],[0,0],[1.13,-.102],[0,0],[0,0],[-1.328,-.371]],v:[[-2.89,-1.848],[-2.244,-2.036],[-.153,-1.317],[1.855,-1.927],[2.89,-1.672],[0,2.012]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.776470601559,.098039217293,.215686276555,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[460.152,197.48],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 20",np:2,cix:2,bm:0,ix:20,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[460.152,197.48],ix:2},a:{a:0,k:[460.152,197.48],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:20,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[460.001,222.38],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[460.001,222.38],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[460.001,222.38],ix:2},a:{a:0,k:[460.001,222.38],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:1,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[460.002,206.098],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[460.002,206.098],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[460.002,206.098],ix:2},a:{a:0,k:[460.002,206.098],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:1,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"Layer 46",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[483.635,205.258,0],ix:2},a:{a:0,k:[490.699,169.84,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ef:[{ty:21,nm:"Fill",np:9,mn:"ADBE Fill",ix:1,en:1,ef:[{ty:10,nm:"Fill Mask",mn:"ADBE Fill-0001",ix:1,v:{a:0,k:0,ix:1}},{ty:7,nm:"All Masks",mn:"ADBE Fill-0007",ix:2,v:{a:0,k:0,ix:2}},{ty:2,nm:"Color",mn:"ADBE Fill-0002",ix:3,v:{a:0,k:[.03238754347,.261481970549,.317647069693,1],ix:3}},{ty:7,nm:"Invert",mn:"ADBE Fill-0006",ix:4,v:{a:0,k:0,ix:4}},{ty:0,nm:"Horizontal Feather",mn:"ADBE Fill-0003",ix:5,v:{a:0,k:0,ix:5}},{ty:0,nm:"Vertical Feather",mn:"ADBE Fill-0004",ix:6,v:{a:0,k:0,ix:6}},{ty:0,nm:"Opacity",mn:"ADBE Fill-0005",ix:7,v:{a:0,k:1,ix:7}}]}],shapes:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.08,0],[-2.34,.21],[0,0],[2.894,-.46]],o:[[-2.75,-.001],[2.408,-.216],[0,0],[-.082,.013]],v:[[.218,7.287],[-1.839,-.388],[2.936,-7.287],[.461,7.268]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.698039233685,.890196084976,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[491.56,169.831],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.405,.684],[.444,-.468],[.317,.391],[-.203,-.285]],o:[[.268,.58],[-.299,-.405],[.362,.554],[.124,-.142]],v:[[1.25,-1.272],[-.16,1.139],[-1.312,-.371],[-.169,1.272]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.768627464771,.435294121504,.454901963472,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[492.021,162.116],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.359,-.485],[-.155,.576],[-.372,-.476],[-.387,.592]],o:[[-.372,-.463],[-.238,.634],[.379,-.533],[-.414,.516]],v:[[.055,1.169],[-1.298,-1.312],[.059,1.312],[1.328,-.513]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.768627464771,.435294121504,.454901963472,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[489.38,162.258],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.382,-.131],[2.569,.813],[.011,2.893],[.056,-2.715],[-1.644,-.114],[-1.949,1.313]],o:[[-2.52,.89],[.042,-2.647],[-.111,2.712],[1.74,.493],[.169,-.003],[-.346,.212]],v:[[3.671,4.808],[-4.613,4.463],[-4.51,-5.421],[-4.777,4.584],[-.527,5.409],[4.777,4.31]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.360784322023,.478431373835,.57647061348,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.65,174.323],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 4",np:2,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.132,0],[.014,.003],[0,.117],[.111,.021],[-.015,0],[0,-.132]],o:[[-.015,0],[.111,-.021],[0,-.117],[.014,-.003],[.132,0],[0,.132]],v:[[-.097,.238],[-.141,.234],[.053,0],[-.141,-.234],[-.097,-.238],[.141,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.89411765337,.882352948189,.776470601559,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.753,165.345],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 5",np:2,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-.132],[.132,0],[0,.132],[-.132,0]],o:[[0,.132],[-.132,0],[0,-.132],[.132,0]],v:[[.238,0],[0,.238],[-.238,0],[0,-.238]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,1,.890196084976,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.656,165.345],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:2,cix:2,bm:0,ix:6,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.132,0],[.014,.003],[0,.117],[.111,.021],[-.015,0],[0,-.132]],o:[[-.015,0],[.111,-.021],[0,-.117],[.014,-.003],[.132,0],[0,.132]],v:[[-.097,.238],[-.141,.234],[.053,0],[-.141,-.234],[-.097,-.238],[.141,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.89411765337,.882352948189,.776470601559,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.753,164.067],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:2,cix:2,bm:0,ix:7,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-.132],[.132,0],[0,.132],[-.132,0]],o:[[0,.132],[-.132,0],[0,-.132],[.132,0]],v:[[.238,0],[0,.238],[-.238,0],[0,-.238]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,1,.890196084976,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.656,164.067],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 8",np:2,cix:2,bm:0,ix:8,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.132,0],[.014,.003],[0,.117],[.111,.021],[-.015,0],[0,-.132]],o:[[-.015,0],[.111,-.021],[0,-.117],[.014,-.003],[.132,0],[0,.132]],v:[[-.097,.238],[-.141,.234],[.053,0],[-.141,-.234],[-.097,-.238],[.141,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.89411765337,.882352948189,.776470601559,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.753,162.945],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,bm:0,ix:9,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-.132],[.132,0],[0,.132],[-.132,0]],o:[[0,.132],[-.132,0],[0,-.132],[.132,0]],v:[[.238,0],[0,.238],[-.238,0],[0,-.238]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,1,.890196084976,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.656,162.945],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:2,cix:2,bm:0,ix:10,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[.08,.327],[-.258,-.466]],o:[[0,0],[1.334,-.149],[.165,.113],[.371,.671]],v:[[-.158,1.657],[-1.306,.079],[.524,-1.657],[1.256,-.822]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.901960790157,.65098041296,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[492.015,161.665],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:11,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.59,.177],[0,0],[-.236,.657],[-.124,0]],o:[[0,0],[0,0],[.235,-.657],[-.265,.106]],v:[[1.325,.027],[.053,1.781],[-1.301,-.772],[-.53,-1.781]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.901960790157,.65098041296,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[489.384,161.718],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:2,cix:2,bm:0,ix:12,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.529,.06],[.049,.202],[0,0],[.075,-.01],[0,0],[-.345,-.482]],o:[[.353,-.387],[0,0],[-.063,-.043],[-.663,.09],[-.14,.056],[.817,.026]],v:[[1.406,.534],[1.871,-.493],[1.869,-.495],[1.654,-.545],[-1.815,-.565],[-1.527,.527]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.858823537827,.752941191196,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.668,160.502],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 13",np:2,cix:2,bm:0,ix:13,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.274,-.142],[-.264,.106],[-.663,.09],[-.063,-.043],[0,0]],o:[[-1.593,.178],[0,0],[.075,-.01],[0,0],[.093,.38]],v:[[.041,.898],[-1.815,-.91],[1.654,-.89],[1.869,-.84],[1.871,-.838]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.313725501299,.364705890417,.474509805441,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.668,160.847],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 14",np:2,cix:2,bm:0,ix:14,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.088,1.943],[.166,-.29],[.212,.012],[-.063,.298]],o:[[.015,.336],[-.105,.192],[.236,-.01],[.02,-.127]],v:[[.249,-2.357],[.249,2.054],[-.326,2.356],[.212,1.89]
vendor: 7,266 bytes, line 717
717],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.372549027205,.51372551918,.776470601559,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[491.008,164.067],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 15",np:2,cix:2,bm:0,ix:15,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.317,0],[0,.317],[0,0],[0,0],[0,0]],o:[[-.317,0],[0,0],[0,0],[0,0],[0,.317]],v:[[0,2.357],[-.574,1.782],[-.574,-2.357],[.574,-2.357],[.574,1.782]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.764705896378,.89411765337,.980392158031,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.682,164.067],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 16",np:2,cix:2,bm:0,ix:16,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[2.994,0],[1.97,.629],[0,0],[.011,.079],[.412,1.223],[.159,.159],[0,0],[0,0],[0,0],[-.135,.052],[0,-1.036],[-.231,-1.015],[-2.722,0],[-.568,.155]],o:[[-1.354,0],[0,0],[-.008,-.059],[-.125,-.871],[-.142,-.42],[0,0],[0,0],[0,0],[.048,-.018],[.569,1.24],[0,1.338],[.184,.811],[.686,0],[0,0]],v:[[.816,8.814],[-4.17,7.968],[-3.957,-3.48],[-3.986,-3.688],[-4.848,-7.78],[-5.301,-8.689],[-5.288,-8.694],[-5.288,-8.694],[-5.239,-8.713],[-4.974,-8.814],[-3.144,-3.676],[-2.722,6.107],[3.394,7.977],[5.301,7.755]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.490196079016,.674509823322,.870588243008,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.125,170.878],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 17",np:2,cix:2,bm:0,ix:17,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-.002,.001]],o:[[0,0],[.002,-.001],[0,0]],v:[[-.007,.002],[0,0],[.007,-.002]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.439215689898,.658823549747,.870588243008,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[484.83,162.186],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 18",np:2,cix:2,bm:0,ix:18,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.002,-.001],[0,0],[-.002,.001],[0,0]],o:[[0,0],[.002,-.001],[0,0],[-.002,.001]],v:[[-.004,.001],[-.003,.001],[.004,-.001],[.003,-.001]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.40000000596,.572549045086,.803921580315,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[484.834,162.184],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 19",np:2,cix:2,bm:0,ix:19,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.002,-.001],[0,0],[0,0],[.048,-.018],[0,0]],o:[[0,0],[0,0],[-.135,.052],[0,0],[-.002,.001]],v:[[-.161,.061],[.161,-.061],[.161,-.061],[-.105,.04],[-.154,.059]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.635294139385,.733333349228,.870588243008,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[484.991,162.125],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 20",np:2,cix:2,bm:0,ix:20,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.434,1.288],[-.125,-.871]],o:[[-.097,-.669],[.412,1.223],[0,0]],v:[[.431,2.046],[-.431,-2.046],[.431,2.046]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.40000000596,.572549045086,.803921580315,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[485.708,165.144],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 21",np:2,cix:2,bm:0,ix:21,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.008,-.059],[.019,.132],[0,0]],o:[[0,0],[0,0],[.011,.079]],v:[[.015,.104],[-.015,-.103],[-.014,-.104]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.635294139385,.733333349228,.870588243008,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[486.153,167.294],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 22",np:2,cix:2,bm:0,ix:22,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-3.136,1.197],[0,0],[-.118,-.088],[.105,-4.785],[0,-.011],[6.326,2.019],[0,0],[.659,.661]],o:[[.211,-.081],[0,0],[.012,.006],[-.003,.009],[-.071,3.231],[0,0],[0,0],[-.125,-.933],[0,0]],v:[[-5.826,-7.959],[-1.611,-9.567],[1.746,-9.567],[5.889,-7.943],[4.392,-2.196],[4.714,8.508],[-4.757,8.722],[-4.545,-2.727],[-5.889,-7.936]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.65098041296,.866666674614,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.712,170.124],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 23",np:2,cix:2,bm:0,ix:23,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.377,-.599],[-.711,-1.444],[-.593,.601],[.996,.373]],o:[[.06,1.616],[.755,-.002],[0,0],[-.422,-.158]],v:[[-1.665,-2.196],[-.675,3.142],[1.665,2.405],[-.418,-3.111]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.533333361149,.823529422283,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[496.959,165.264],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 24",np:2,cix:2,bm:0,ix:24,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.054,1.07],[.996,.373],[0,0],[0,0]],o:[[0,0],[-.996,-.373],[0,0],[0,0]],v:[[2.111,2.405],[.028,-3.111],[-2.111,-.334],[-1.26,3.065]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.439215689898,.61960786581,.839215695858,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[496.513,165.264],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}
vendor: 13,503 bytes, line 717
717],nm:"Group 25",np:2,cix:2,bm:0,ix:25,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.087,-.033],[0,0],[-.425,-.13],[-.281,.971],[.067,.991]],o:[[-.994,.379],[.358,.359],[.242,-.777],[.333,-1.15],[-.089,-.016]],v:[[.875,-3.102],[-1.175,2.427],[.048,3.133],[.875,.393],[1.139,-3.124]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.533333361149,.823529422283,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[483.949,165.29],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 26",np:2,cix:2,bm:0,ix:26,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.994,-.379],[0,0],[0,0],[0,0]],o:[[-.994,.379],[1.06,1.063],[0,0],[0,0]],v:[[-.053,-3.196],[-2.103,2.333],[.731,3.216],[2.103,-.431]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.439215689898,.61960786581,.839215695858,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[484.878,165.384],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 27",np:2,cix:2,bm:0,ix:27,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[484.878,165.384],ix:2},a:{a:0,k:[484.878,165.384],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:27,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[490.701,186.123],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[490.701,186.123],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[490.701,186.123],ix:2},a:{a:0,k:[490.701,186.123],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:1,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[490.701,169.764],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[490.701,169.764],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[490.701,169.764],ix:2},a:{a:0,k:[490.701,169.764],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:1,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Layer 37",parent:2,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[483.635,205.258,0],ix:2},a:{a:0,k:[490.699,169.84,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ef:[{ty:21,nm:"Fill",np:9,mn:"ADBE Fill",ix:1,en:1,ef:[{ty:10,nm:"Fill Mask",mn:"ADBE Fill-0001",ix:1,v:{a:0,k:0,ix:1}},{ty:7,nm:"All Masks",mn:"ADBE Fill-0007",ix:2,v:{a:0,k:0,ix:2}},{ty:2,nm:"Color",mn:"ADBE Fill-0002",ix:3,v:{a:0,k:[.03238754347,.261481970549,.317647069693,1],ix:3}},{ty:7,nm:"Invert",mn:"ADBE Fill-0006",ix:4,v:{a:0,k:0,ix:4}},{ty:0,nm:"Horizontal Feather",mn:"ADBE Fill-0003",ix:5,v:{a:0,k:0,ix:5}},{ty:0,nm:"Vertical Feather",mn:"ADBE Fill-0004",ix:6,v:{a:0,k:0,ix:6}},{ty:0,nm:"Opacity",mn:"ADBE Fill-0005",ix:7,v:{a:0,k:1,ix:7}}]}],shapes:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.08,0],[-2.34,.21],[0,0],[2.894,-.46]],o:[[-2.75,-.001],[2.408,-.216],[0,0],[-.082,.013]],v:[[.218,7.287],[-1.839,-.388],[2.936,-7.287],[.461,7.268]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.698039233685,.890196084976,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[491.56,169.831],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.405,.684],[.444,-.468],[.317,.391],[-.203,-.285]],o:[[.268,.58],[-.299,-.405],[.362,.554],[.124,-.142]],v:[[1.25,-1.272],[-.16,1.139],[-1.312,-.371],[-.169,1.272]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.768627464771,.435294121504,.454901963472,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[492.021,162.116],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.359,-.485],[-.155,.576],[-.372,-.476],[-.387,.592]],o:[[-.372,-.463],[-.238,.634],[.379,-.533],[-.414,.516]],v:[[.055,1.169],[-1.298,-1.312],[.059,1.312],[1.328,-.513]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.768627464771,.435294121504,.454901963472,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[489.38,162.258],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.382,-.131],[2.569,.813],[.011,2.893],[.056,-2.715],[-1.644,-.114],[-1.949,1.313]],o:[[-2.52,.89],[.042,-2.647],[-.111,2.712],[1.74,.493],[.169,-.003],[-.346,.212]],v:[[3.671,4.808],[-4.613,4.463],[-4.51,-5.421],[-4.777,4.584],[-.527,5.409],[4.777,4.31]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.360784322023,.478431373835,.57647061348,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.65,174.323],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 4",np:2,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.132,0],[.014,.003],[0,.117],[.111,.021],[-.015,0],[0,-.132]],o:[[-.015,0],[.111,-.021],[0,-.117],[.014,-.003],[.132,0],[0,.132]],v:[[-.097,.238],[-.141,.234],[.053,0],[-.141,-.234],[-.097,-.238],[.141,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.89411765337,.882352948189,.776470601559,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.753,165.345],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 5",np:2,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-.132],[.132,0],[0,.132],[-.132,0]],o:[[0,.132],[-.132,0],[0,-.132],[.132,0]],v:[[.238,0],[0,.238],[-.238,0],[0,-.238]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,1,.890196084976,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.656,165.345],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:2,cix:2,bm:0,ix:6,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.132,0],[.014,.003],[0,.117],[.111,.021],[-.015,0],[0,-.132]],o:[[-.015,0],[.111,-.021],[0,-.117],[.014,-.003],[.132,0],[0,.132]],v:[[-.097,.238],[-.141,.234],[.053,0],[-.141,-.234],[-.097,-.238],[.141,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.89411765337,.882352948189,.776470601559,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.753,164.067],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:2,cix:2,bm:0,ix:7,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-.132],[.132,0],[0,.132],[-.132,0]],o:[[0,.132],[-.132,0],[0,-.132],[.132,0]],v:[[.238,0],[0,.238],[-.238,0],[0,-.238]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,1,.890196084976,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.656,164.067],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 8",np:2,cix:2,bm:0,ix:8,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.132,0],[.014,.003],[0,.117],[.111,.021],[-.015,0],[0,-.132]],o:[[-.015,0],[.111,-.021],[0,-.117],[.014,-.003],[.132,0],[0,.132]],v:[[-.097,.238],[-.141,.234],[.053,0],[-.141,-.234],[-.097,-.238],[.141,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.89411765337,.882352948189,.776470601559,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.753,162.945],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,bm:0,ix:9,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-.132],[.132,0],[0,.132],[-.132,0]],o:[[0,.132],[-.132,0],[0,-.132],[.132,0]],v:[[.238,0],[0,.238],[-.238,0],[0,-.238]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,1,.890196084976,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.656,162.945],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:2,cix:2,bm:0,ix:10,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[.08,.327],[-.258,-.466]],o:[[0,0],[1.334,-.149],[.165,.113],[.371,.671]],v:[[-.158,1.657],[-1.306,.079],[.524,-1.657],[1.256,-.822]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.901960790157,.65098041296,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[492.015,161.665],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:11,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.59,.177],[0,0],[-.236,.657],[-.124,0]],o:[[0,0],[0,0],[.235,-.657],[-.265,.106]],v:[[1.325,.027],[.053,1.781],[-1.301,-.772],[-.53,-1.781]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.901960790157,.65098041296,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[489.384,161.718],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:2,cix:2,bm:0,ix:12,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.529,.06],[.049,.202],[0,0],[.075,-.01],[0,0],[-.345,-.482]],o:[[.353,-.387],[0,0],[-.063,-.043],[-.663,.09],[-.14,.056],[.817,.026]],v:[[1.406,.534],[1.871,-.493],[1.869,-.495],[1.654,-.545],[-1.815,-.565],[-1.527,.527]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.858823537827,.752941191196,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.668,160.502],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 13",np:2,cix:2,bm:0,ix:13,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.274,-.142],[-.264,.106],[-.663,.09],[-.063,-.043],[0,0]],o:[[-1.593,.178],[0,0],[.075,-.01],[0,0],[.093,.38]],v:[[.041,.898],[-1.815,-.91],[1.654,-.89],[1.869,-.84],[1.871,-.838]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.313725501299,.364705890417,.474509805441,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.668,160.847],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 14",np:2,cix:2,bm:0,ix:14,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.088,1.943],[.166,-.29],[.212,.012],[-.063,.298]],o:[[.015,.336],[-.105,.192],[.236,-.01],[.02,-.127]],v:[[.249,-2.357],[.249,2.054],[-.326,2.356],[.212,1.89]
vendor: 7,266 bytes, line 717
717],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.372549027205,.51372551918,.776470601559,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[491.008,164.067],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 15",np:2,cix:2,bm:0,ix:15,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.317,0],[0,.317],[0,0],[0,0],[0,0]],o:[[-.317,0],[0,0],[0,0],[0,0],[0,.317]],v:[[0,2.357],[-.574,1.782],[-.574,-2.357],[.574,-2.357],[.574,1.782]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.764705896378,.89411765337,.980392158031,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.682,164.067],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 16",np:2,cix:2,bm:0,ix:16,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[2.994,0],[1.97,.629],[0,0],[.011,.079],[.412,1.223],[.159,.159],[0,0],[0,0],[0,0],[-.135,.052],[0,-1.036],[-.231,-1.015],[-2.722,0],[-.568,.155]],o:[[-1.354,0],[0,0],[-.008,-.059],[-.125,-.871],[-.142,-.42],[0,0],[0,0],[0,0],[.048,-.018],[.569,1.24],[0,1.338],[.184,.811],[.686,0],[0,0]],v:[[.816,8.814],[-4.17,7.968],[-3.957,-3.48],[-3.986,-3.688],[-4.848,-7.78],[-5.301,-8.689],[-5.288,-8.694],[-5.288,-8.694],[-5.239,-8.713],[-4.974,-8.814],[-3.144,-3.676],[-2.722,6.107],[3.394,7.977],[5.301,7.755]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.490196079016,.674509823322,.870588243008,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.125,170.878],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 17",np:2,cix:2,bm:0,ix:17,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-.002,.001]],o:[[0,0],[.002,-.001],[0,0]],v:[[-.007,.002],[0,0],[.007,-.002]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.439215689898,.658823549747,.870588243008,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[484.83,162.186],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 18",np:2,cix:2,bm:0,ix:18,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.002,-.001],[0,0],[-.002,.001],[0,0]],o:[[0,0],[.002,-.001],[0,0],[-.002,.001]],v:[[-.004,.001],[-.003,.001],[.004,-.001],[.003,-.001]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.40000000596,.572549045086,.803921580315,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[484.834,162.184],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 19",np:2,cix:2,bm:0,ix:19,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.002,-.001],[0,0],[0,0],[.048,-.018],[0,0]],o:[[0,0],[0,0],[-.135,.052],[0,0],[-.002,.001]],v:[[-.161,.061],[.161,-.061],[.161,-.061],[-.105,.04],[-.154,.059]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.635294139385,.733333349228,.870588243008,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[484.991,162.125],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 20",np:2,cix:2,bm:0,ix:20,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.434,1.288],[-.125,-.871]],o:[[-.097,-.669],[.412,1.223],[0,0]],v:[[.431,2.046],[-.431,-2.046],[.431,2.046]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.40000000596,.572549045086,.803921580315,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[485.708,165.144],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 21",np:2,cix:2,bm:0,ix:21,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.008,-.059],[.019,.132],[0,0]],o:[[0,0],[0,0],[.011,.079]],v:[[.015,.104],[-.015,-.103],[-.014,-.104]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.635294139385,.733333349228,.870588243008,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[486.153,167.294],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 22",np:2,cix:2,bm:0,ix:22,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-3.136,1.197],[0,0],[-.118,-.088],[.105,-4.785],[0,-.011],[6.326,2.019],[0,0],[.659,.661]],o:[[.211,-.081],[0,0],[.012,.006],[-.003,.009],[-.071,3.231],[0,0],[0,0],[-.125,-.933],[0,0]],v:[[-5.826,-7.959],[-1.611,-9.567],[1.746,-9.567],[5.889,-7.943],[4.392,-2.196],[4.714,8.508],[-4.757,8.722],[-4.545,-2.727],[-5.889,-7.936]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.65098041296,.866666674614,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.712,170.124],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 23",np:2,cix:2,bm:0,ix:23,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.377,-.599],[-.711,-1.444],[-.593,.601],[.996,.373]],o:[[.06,1.616],[.755,-.002],[0,0],[-.422,-.158]],v:[[-1.665,-2.196],[-.675,3.142],[1.665,2.405],[-.418,-3.111]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.533333361149,.823529422283,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[496.959,165.264],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 24",np:2,cix:2,bm:0,ix:24,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.054,1.07],[.996,.373],[0,0],[0,0]],o:[[0,0],[-.996,-.373],[0,0],[0,0]],v:[[2.111,2.405],[.028,-3.111],[-2.111,-.334],[-1.26,3.065]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.439215689898,.61960786581,.839215695858,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[496.513,165.264],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}
vendor: 14,047 bytes, line 717
717],nm:"Group 25",np:2,cix:2,bm:0,ix:25,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.087,-.033],[0,0],[-.425,-.13],[-.281,.971],[.067,.991]],o:[[-.994,.379],[.358,.359],[.242,-.777],[.333,-1.15],[-.089,-.016]],v:[[.875,-3.102],[-1.175,2.427],[.048,3.133],[.875,.393],[1.139,-3.124]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.533333361149,.823529422283,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[483.949,165.29],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 26",np:2,cix:2,bm:0,ix:26,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.994,-.379],[0,0],[0,0],[0,0]],o:[[-.994,.379],[1.06,1.063],[0,0],[0,0]],v:[[-.053,-3.196],[-2.103,2.333],[.731,3.216],[2.103,-.431]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.439215689898,.61960786581,.839215695858,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[484.878,165.384],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 27",np:2,cix:2,bm:0,ix:27,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[484.878,165.384],ix:2},a:{a:0,k:[484.878,165.384],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:27,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[490.701,186.123],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[490.701,186.123],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[490.701,186.123],ix:2},a:{a:0,k:[490.701,186.123],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:1,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[490.701,169.764],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[490.701,169.764],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[490.701,169.764],ix:2},a:{a:0,k:[490.701,169.764],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:1,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"Layer 45",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[508.638,205.002,0],ix:2},a:{a:0,k:[520.514,206.021,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ef:[{ty:21,nm:"Fill",np:9,mn:"ADBE Fill",ix:1,en:1,ef:[{ty:10,nm:"Fill Mask",mn:"ADBE Fill-0001",ix:1,v:{a:0,k:0,ix:1}},{ty:7,nm:"All Masks",mn:"ADBE Fill-0007",ix:2,v:{a:0,k:0,ix:2}},{ty:2,nm:"Color",mn:"ADBE Fill-0002",ix:3,v:{a:0,k:[.03238754347,.261481970549,.317647069693,1],ix:3}},{ty:7,nm:"Invert",mn:"ADBE Fill-0006",ix:4,v:{a:0,k:0,ix:4}},{ty:0,nm:"Horizontal Feather",mn:"ADBE Fill-0003",ix:5,v:{a:0,k:0,ix:5}},{ty:0,nm:"Vertical Feather",mn:"ADBE Fill-0004",ix:6,v:{a:0,k:0,ix:6}},{ty:0,nm:"Opacity",mn:"ADBE Fill-0005",ix:7,v:{a:0,k:1,ix:7}}]}],shapes:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.017,0],[0,0],[.055,.001],[0,.017],[-.017,-.002],[-.056,0],[0,-.017]],o:[[0,0],[-.057,0],[-.017,0],[0,-.017],[.055,.001],[.017,0],[0,.017]],v:[[-.331,.767],[-.331,.767],[-.499,.765],[-.53,.733],[-.498,.703],[-.331,.705],[-.3,.736]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,.017],[-.017,0],[-.056,.001],[0,-.017],[.017,0],[.055,0]],o:[[-.017,0],[0,-.017],[.055,0],[.015,-.002],[0,.017],[-.056,.001],[0,0]],v:[[-.164,.767],[-.195,.736],[-.164,.704],[.003,.702],[.035,.733],[.004,.765],[-.164,.767]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[.017,0],[0,0],[.055,.003],[-.001,.017],[-.015,-.002],[-.056,-.002],[.001,-.017]],o:[[0,0],[-.057,-.002],[-.017,-.001],[.001,-.017],[.055,.003],[.017,.001],[-.001,.017]],v:[[-.665,.761],[-.667,.761],[-.834,.754],[-.864,.721],[-.831,.692],[-.664,.698],[-.634,.731]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ind:3,ty:"sh",ix:4,ks:{a:0,k:{i:[[0,0],[.001,.017],[-.017,.001],[-.056,.003],[-.001,-.017],[.017,-.001],[.056,-.002]],o:[[-.017,0],[-.001,-.017],[.055,-.002],[.017,-.001],[.001,.017],[-.056,.003],[0,0]],v:[[.171,.76],[.139,.73],[.17,.698],[.336,.691],[.369,.721],[.339,.754],[.172,.76]],c:!0},ix:2},nm:"Path 4",mn:"ADBE Vector Shape - Group",hd:!1},{ind:4,ty:"sh",ix:5,ks:{a:0,k:{i:[[0,0],[.001,.017],[-.017,.001],[-.056,.004],[-.001,-.017],[.017,-.001],[.056,-.003]],o:[[-.016,0],[-.001,-.017],[.055,-.003],[.018,-.001],[.001,.017],[-.056,.004],[0,0]],v:[[.505,.745],[.473,.716],[.503,.683],[.669,.672],[.703,.701],[.674,.734],[.507,.745]],c:!0},ix:2},nm:"Path 5",mn:"ADBE Vector Shape - Group",hd:!1},{ind:5,ty:"sh",ix:6,ks:{a:0,k:{i:[[.016,0],[0,0],[0,0],[.039,.003],[-.002,.017],[-.017,-.002],[-.038,-.003],[0,0],[.001,-.017]],o:[[0,0],[0,0],[-.038,-.003],[-.017,-.002],[.002,-.017],[.038,.003],[0,0],[.017,.001],[-.001,.017]],v:[[-.999,.745],[-1.001,.745],[-1.054,.742],[-1.169,.733],[-1.197,.699],[-1.163,.67],[-1.049,.679],[-.998,.683],[-.968,.716]],c:!0},ix:2},nm:"Path 6",mn:"ADBE Vector Shape - Group",hd:!1},{ind:6,ty:"sh",ix:7,ks:{a:0,k:{i:[[0,0],[.001,.016],[-.017,.001],[-.056,.005],[-.002,-.017],[.017,-.002],[.056,-.005]],o:[[-.016,0],[-.002,-.017],[.055,-.005],[.016,-.002],[.002,.017],[-.056,.005],[0,0]],v:[[.838,.722],[.807,.693],[.836,.659],[1.002,.644],[1.036,.672],[1.008,.706],[.841,.721]],c:!0},ix:2},nm:"Path 7",mn:"ADBE Vector Shape - Group",hd:!1},{ind:7,ty:"sh",ix:8,ks:{a:0,k:{i:[[.016,0],[0,0],[.056,.008],[-.003,.017],[-.017,-.003],[-.055,-.006],[.002,-.017]],o:[[0,0],[-.055,-.007],[-.017,-.002],[.002,-.017],[.055,.008],[.017,.002],[-.002,.016]],v:[[-1.333,.716],[-1.336,.715],[-1.503,.694],[-1.53,.658],[-1.494,.632],[-1.329,.653],[-1.302,.688]],c:!0},ix:2},nm:"Path 8",mn:"ADBE Vector Shape - Group",hd:!1},{ind:8,ty:"sh",ix:9,ks:{a:0,k:{i:[[0,0],[.002,.016],[-.017,.002],[-.055,.007],[-.002,-.017],[.017,-.002],[.055,-.006]],o:[[-.016,0],[-.002,-.017],[.055,-.006],[.018,-.002],[.002,.017],[-.055,.007],[0,0]],v:[[1.171,.689],[1.14,.661],[1.168,.627],[1.333,.608],[1.368,.635],[1.341,.67],[1.174,.689]],c:!0},ix:2},nm:"Path 9",mn:"ADBE Vector Shape - Group",hd:!1},{ind:9,ty:"sh",ix:10,ks:{a:0,k:{i:[[.015,0],[0,0],[.055,.01],[-.003,.017],[-.017,-.003],[-.055,-.009],[.003,-.017]],o:[[0,0],[-.055,-.009],[-.017,-.003],[.003,-.017],[.055,.01],[.017,.003],[-.003,.015]],v:[[-1.664,.668],[-1.669,.668],[-1.835,.638],[-1.859,.602],[-1.823,.577],[-1.659,.606],[-1.633,.642]],c:!0},ix:2},nm:"Path 10",mn:"ADBE Vector Shape - Group",hd:!1},{ind:10,ty:"sh",ix:11,ks:{a:0,k:{i:[[0,0],[.002,.016],[-.017,.002],[-.055,.008],[-.003,-.017],[.017,-.003],[.055,-.008]],o:[[-.015,0],[-.002,-.017],[.055,-.008],[.017,-.003],[.003,.017],[-.055,.008],[0,0]],v:[[1.503,.648],[1.472,.621],[1.498,.586],[1.663,.562],[1.699,.588],[1.673,.624],[1.507,.648]],c:!0},ix:2},nm:"Path 11",mn:"ADBE Vector Shape - Group",hd:!1},{ind:11,ty:"sh",ix:12,ks:{a:0,k:{i:[[.014,0],[0,0],[.055,.012],[-.004,.017],[-.017,-.004],[-.055,-.011],[.004,-.017]],o:[[0,0],[-.055,-.011],[-.017,-.004],[.004,-.017],[.054,.012],[.017,.004],[-.003,.015]],v:[[-1.993,.606],[-1.999,.606],[-2.164,.57],[-2.187,.532],[-2.15,.509],[-1.986,.544],[-1.962,.581]],c:!0},ix:2},nm:"Path 12",mn:"ADBE Vector Shape - Group",hd:!1},{ind:12,ty:"sh",ix:13,ks:{a:0,k:{i:[[0,0],[.003,.015],[-.017,.003],[-.055,.01],[-.003,-.017],[.017,-.003],[.055,-.009]],o:[[-.015,0],[-.003,-.017],[.055,-.009],[.017,-.003],[.003,.017],[-.055,.01],[0,0]],v:[[1.833,.598],[1.802,.572],[1.828,.535],[1.992,.507],[2.029,.532],[2.004,.568],[1.838,.597]],c:!0},ix:2},nm:"Path 13",mn:"ADBE Vector Shape - Group",hd:!1},{ind:13,ty:"sh",ix:14,ks:{a:0,k:{i:[[0,0],[.003,.015],[-.017,.003],[-.054,.012],[-.004,-.017],[.017,-.004],[.055,-.011]],o:[[-.015,0],[-.003,-.017],[.055,-.011],[.017,-.004],[.004,.017],[-.055,.012],[0,0]],v:[[2.162,.537],[2.132,.512],[2.156,.475],[2.32,.441],[2.357,.465],[2.333,.502],[2.169,.537]],c:!0},ix:2},nm:"Path 14",mn:"ADBE Vector Shape - Group",hd:!1},{ind:14,ty:"sh",ix:15,ks:{a:0,k:{i:[[.014,0],[0,0],[.054,.014],[-.004,.017],[-.017,-.005],[-.054,-.013],[.004,-.017]],o:[[0,0],[-.054,-.013],[-.017,-.004],[.004,-.017],[.054,.014],[.017,.004],[-.003,.014]],v:[[-2.32,.532],[-2.327,.531],[-2.49,.49],[-2.512,.452],[-2.474,.43],[-2.312,.47],[-2.289,.508]],c:!0},ix:2},nm:"Path 15",mn:"ADBE Vector Shape - Group",hd:!1},{ind:15,ty:"sh",ix:16,ks:{a:0,k:{i:[[0,0],[.003,.014],[-.017,.004],[-.054,.014],[-.004,-.017],[.017,-.004],[.055,-.013]],o:[[-.014,0],[-.004,-.017],[.054,-.013],[.017,-.004],[.004,.017],[-.054,.014],[0,0]],v:[[2.49,.466],[2.459,.442],[2.483,.404],[2.645,.364],[2.683,.387],[2.66,.425],[2.497,.465]],c:!0},ix:2},nm:"Path 16",mn:"ADBE Vector Shape - Group",hd:!1},{ind:16,ty:"sh",ix:17,ks:{a:0,k:{i:[[.014,0],[0,0],[.053,.015],[-.005,.017],[-.017,-.005],[-.054,-.015],[.005,-.017]],o:[[0,0],[-.054,-.015],[-.017,-.005],[.005,-.017],[.053,.015],[.017,.005],[-.004,.014]],v:[[-2.644,.448],[-2.652,.447],[-2.813,.402],[-2.835,.363],[-2.796,.342],[-2.635,.387],[-2.613,.425]],c:!0},ix:2},nm:"Path 17",mn:"ADBE Vector Shape - Group",hd:!1},{ind:17,ty:"sh",ix:18,ks:{a:0,k:{i:[[0,0],[.004,.014],[-.017,.005],[-.053,.016],[-.005,-.017],[.017,-.005],[.054,-.015]],o:[[-.014,0],[-.005,-.017],[.054,-.015],[.017,-.005],[.005,.017],[-.053,.016],[0,0]],v:[[2.814,.383],[2.784,.36],[2.806,.321],[2.966,.275],[3.005,.296],[2.984,.335],[2.823,.382]],c:!0},ix:2},nm:"Path 18",mn:"ADBE Vector Shape - Group",hd:!1},{ind:18,ty:"sh",ix:19,ks:{a:0,k:{i:[[.013,0],[0,0],[.053,.017],[-.005,.017],[-.017,-.005],[-.054,-.016],[.005,-.017]],o:[[0,0],[-.054,-.016],[-.017,-.005],[.005,-.017],[.053,.017],[.017,.005],[-.004,.014]],v:[[-2.965,.356],[-2.974,.354],[-3.134,.305],[-3.155,.266],[-3.116,.245],[-2.956,.294],[-2.935,.333]],c:!0},ix:2},nm:"Path 19",mn:"ADBE Vector Shape - Group",hd:!1},{ind:19,ty:"sh",ix:20,ks:{a:0,k:{i:[[0,0],[.004,.013],[-.016,.005],[-.052,.018],[-.006,-.016],[.016,-.006],[.054,-.017]],o:[[-.013,0],[-.005,-.016],[.053,-.017],[.016,-.006],[.006,.016],[-.053,.018],[0,0]],v:[[3.135,.287],[3.105,.265],[3.125,.226],[3.283,.173],[3.323,.193],[3.304,.233],[3.144,.286]],c:!0},ix:2},nm:"Path 20",mn:"ADBE Vector Shape - Group",hd:!1},{ind:20,ty:"sh",ix:21,ks:{a:0,k:{i:[[.013,0],[0,0],[.052,.018],[-.006,.016],[-.017,-.005],[-.054,-.017],[.005,-.016]],o:[[0,0],[-.054,-.017],[-.016,-.006],[.006,-.016],[.052,.018],[.016,.005],[-.004,.013]],v:[[-3.285,.255],[-3.294,.254],[-3.453,.201],[-3.473,.161],[-3.433,.141],[-3.275,.194],[-3.255,.234]],c:!0},ix:2},nm:"Path 21",mn:"ADBE Vector Shape - Group",hd:!1},{ind:21,ty:"sh",ix:22,ks:{a:0,k:{i:[[0,0],[.005,.013],[-.016,.006],[-.051,.021],[-.006,-.016],[.016,-.007],[.053,-.02]],o:[[-.013,0],[-.006,-.016],[.052,-.02],[.016,-.006],[.006,.016],[-.052,.021],[0,0]],v:[[3.451,.178],[3.422,.157],[3.44,.117],[3.595,.057],[3.636,.074],[3.618,.115],[3.462,.176]],c:!0},ix:2},nm:"Path 22",mn:"ADBE Vector Shape - Group",hd:!1},{ind:22,ty:"sh",ix:23,ks:{a:0,k:{i:[[.013,0],[0,0],[.052,.019],[-.006,.016],[-.016,-.006],[-.054,-.019],[.006,-.016]],o:[[0,0],[-.054,-.019],[-.016,-.006],[.006,-.016],[.051,.019],[.016,.006],[-.005,.013]],v:[[-3.602,.148],[-3.612,.146],[-3.77,.09],[-3.789,.05],[-3.749,.031],[-3.591,.087],[-3.572,.127]],c:!0},ix:2},nm:"Path 23",mn:"ADBE Vector Shape - Group",hd:!1},{ind:23,ty:"sh",ix:24,ks:{a:0,k:{i:[[0,0],[.005,.012],[-.016,.007],[-.05,.023],[-.007,-.016],[.016,-.007],[.052,-.023]],o:[[-.012,0],[-.007,-.016],[.051,-.022],[.016,-.008],[.007,.016],[-.05,.024],[0,0]],v:[[3.761,.052],[3.732,.033],[3.748,-.008],[3.9,-.077],[3.942,-.062],[3.927,-.02],[3.773,.05]],c:!0},ix:2},nm:"Path 24",mn:"ADBE Vector Shape - Group",hd:!1},{ind:24,ty:"sh",ix:25,ks:{a:0,k:{i:[[.013,0],[0,0],[.051,.019],[-.006,.016],[-.016,-.006],[-.054,-.02],[.006,-.016]],o:[[0,0],[-.054,-.02],[-.016,-.006],[.006,-.016],[.051,.019],[.016,.006],[-.005,.013]],v:[[-3.917,.035],[-3.928,.033],[-4.085,-.026],[-4.103,-.067],[-4.062,-.085],[-3.906,-.026],[-3.887,.014]],c:!0},ix:2},nm:"Path 25",mn:"ADBE Vector Shape - Group",hd:!1},{ind:25,ty:"sh",ix:26,ks:{a:0,k:{i:[[.013,0],[0,0],[.05,.02],[-.006,.016],[-.016,-.006],[-.054,-.021],[.006,-.016]],o:[[0,0],[-.054,-.021],[-.016,-.006],[.006,-.016],[.049,.02],[.016,.006],[-.005,.012]],v:[[-4.23,-.085],[-4.241,-.087],[-4.397,-.149],[-4.414,-.19],[-4.374,-.207],[-4.218,-.145],[-4.201,-.105]],c:!0},ix:2},nm:"Path 26",mn:"ADBE Vector Shape - Group",hd:!1},{ind:26,ty:"sh",ix:27,ks:{a:0,k:{i:[[0,0],[.006,.011],[-.015,.008],[-.048,.027],[-.008,-.015],[.015,-.008],[.05,-.026]],o:[[-.011,0],[-.008,-.015],[.05,-.025],[.015,-.008],[.008,.015],[-.049,.027],[0,0]],v:[[4.063,-.09],[4.035,-.108],[4.049,-.15],[4.196,-.228],[4.238,-.216],[4.226,-.173],[4.078,-.094]],c:!0},ix:2},nm:"Path 27",mn:"ADBE Vector Shape - Group",hd:!1},{ind:27,ty:"sh",ix:28,ks:{a:0,k:{i:[[.012,0],[0,0],[.047,.02],[-.007,.016],[-.016,-.007],[-.056,-.023],[.007,-.016]],o:[[0,0],[-.056,-.023],[-.016,-.007],[.007,-.016],[.047,.02],[.016,.007],[-.005,.012]],v:[[-4.541,-.21],[-4.5
vendor: 43,614 bytes, line 717
71753,-.212],[-4.707,-.277],[-4.724,-.319],[-4.683,-.335],[-4.529,-.27],[-4.512,-.229]],c:!0},ix:2},nm:"Path 28",mn:"ADBE Vector Shape - Group",hd:!1},{ind:28,ty:"sh",ix:29,ks:{a:0,k:{i:[[0,0],[.006,.01],[-.015,.009],[-.046,.03],[-.009,-.014],[.014,-.01],[.048,-.029]],o:[[-.011,0],[-.009,-.015],[.048,-.029],[.015,-.01],[.01,.014],[-.047,.031],[0,0]],v:[[4.356,-.253],[4.329,-.268],[4.34,-.311],[4.48,-.399],[4.523,-.391],[4.514,-.347],[4.372,-.257]],c:!0},ix:2},nm:"Path 29",mn:"ADBE Vector Shape - Group",hd:!1},{ind:29,ty:"sh",ix:30,ks:{a:0,k:{i:[[.012,0],[0,0],[0,0],[-.007,.016],[-.016,-.007],[-.098,-.043],[.007,-.016]],o:[[0,0],[-.099,-.044],[-.016,-.007],[.007,-.016],[0,0],[.016,.007],[-.005,.012]],v:[[-4.849,-.341],[-4.862,-.344],[-5.016,-.413],[-5.031,-.455],[-4.989,-.47],[-4.836,-.401],[-4.82,-.36]],c:!0},ix:2},nm:"Path 30",mn:"ADBE Vector Shape - Group",hd:!1},{ind:30,ty:"sh",ix:31,ks:{a:0,k:{i:[[0,0],[.006,.009],[-.014,.01],[-.04,.032],[-.011,-.014],[.014,-.011],[.043,-.031]],o:[[-.01,0],[-.01,-.014],[.042,-.03],[.014,-.011],[.011,.014],[-.041,.032],[0,0]],v:[[4.635,-.437],[4.609,-.45],[4.616,-.494],[4.739,-.586],[4.783,-.581],[4.778,-.537],[4.653,-.443]],c:!0},ix:2},nm:"Path 31",mn:"ADBE Vector Shape - Group",hd:!1},{ind:31,ty:"sh",ix:32,ks:{a:0,k:{i:[[0,0],[.006,.008],[-.014,.01],[-.04,.032],[-.011,-.014],[.014,-.011],[.043,-.031]],o:[[-.01,0],[-.01,-.014],[.042,-.03],[.014,-.011],[.011,.014],[-.041,.032],[0,0]],v:[[4.879,-.611],[4.853,-.624],[4.86,-.668],[4.983,-.76],[5.027,-.755],[5.022,-.711],[4.897,-.617]],c:!0},ix:2},nm:"Path 32",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.764705896378,.854901969433,.956862747669,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[520.392,215.55],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:33,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.052,.021],[-.021,.052],[-.052,-.021],[.021,-.052]],o:[[-.052,-.021],[.021,-.052],[.052,.021],[-.021,.052]],v:[[-.038,.095],[-.095,-.038],[.038,-.095],[.095,.038]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.046,.019],[.019,-.046],[-.046,-.019],[-.018,.046]],o:[[-.046,-.018],[-.019,.046],[.046,.018],[.019,-.046]],v:[[.034,-.084],[-.084,-.034],[-.034,.084],[.084,.034]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.436,197.957],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:3,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.02,-.049],[.049,.02],[-.02,.049],[-.049,-.02]],o:[[-.02,.049],[-.049,-.02],[.02,-.049],[.049,.02]],v:[[.089,.036],[-.036,.09],[-.089,-.036],[.036,-.09]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.436,197.957],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.028,.011],[-.032,.014],[.049,-.021],[0,0],[0,0]],o:[[-.041,-.016],[.049,-.021],[0,0],[0,0],[-.018,.008]],v:[[-.173,.086],[.12,-.083],[.152,-.008],[.15,-.013],[.152,-.008]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.011,-.005],[.03,-.028],[-.029,.012],[.024,.01]],o:[[-.033,.014],[.041,-.001],[.024,-.01],[0,0]],v:[[.124,-.072],[-.163,.076],[.147,-.018],[.147,-.073]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.645,197.882],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 4",np:3,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.042,-.018],[.008,.018],[-.018,.008]],o:[[-.018,.008],[-.008,-.018],[.042,-.018]],v:[[.15,-.013],[-.171,.079],[.122,-.078]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.644,197.882],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 5",np:2,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.015,.033],[-.01,.004],[-.01,-.025],[.004,-.002]],o:[[.004,-.01],[.01,-.004],[.01,.025],[-.033,.013]],v:[[-.175,.024],[-.153,.002],[.178,-.077],[-.123,.078]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[-.03,.027],[.03,-.012],[-.036,.014]],o:[[-.041,-.001],[-.036,.014],[.033,-.013]],v:[[.165,-.071],[-.149,.013],[-.127,.067]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.225,198.065],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:3,cix:2,bm:0,ix:6,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.043,.017],[-.007,-.018],[.018,-.007]],o:[[.018,-.007],[.007,.018],[-.043,.017]],v:[[-.151,.008],[.173,-.074],[-.125,.073]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.225,198.064],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:2,cix:2,bm:0,ix:7,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.005,.01],[-.025,.011],[-.002,-.004],[.034,.012]],o:[[-.005,-.01],[.025,-.012],[.015,.033],[0,0]],v:[[.013,.151],[-.087,-.174],[.086,.117],[.036,.172]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.029,.029],[-.013,-.029],[.016,.035]],o:[[.002,.041],[.016,.035],[-.016,-.033]],v:[[-.081,-.161],[.023,.146],[.076,.122]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.546,198.18],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 8",np:3,cix:2,bm:0,ix:8,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.02,.042],[-.017,.008],[-.008,-.017]],o:[[-.008,-.017],[.017,-.008],[.019,.042]],v:[[.019,.149],[-.084,-.169],[.082,.119]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.545,198.18],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,bm:0,ix:9,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.041,.017],[.008,.019],[-.021,.009],[-.009,-.02]],o:[[-.027,-.011],[-.009,-.021],[.02,-.009],[.005,.011]],v:[[.076,.176],[-.082,-.12],[-.061,-.174],[-.007,-.153]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[-.015,-.036],[-.028,-.03],[.012,.029]],o:[[.014,.033],[-.001,-.041],[-.015,-.036]],v:[[-.071,-.125],[.077,.162],[-.018,-.148]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.35,197.766],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:3,cix:2,bm:0,ix:10,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.018,-.042],[.018,-.008],[.008,.018]],o:[[.008,.018],[-.018,.008],[-.018,-.042]],v:[[-.014,-.15],[.079,.171],[-.078,-.122]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.351,197.766],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:11,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.009,.025],[-.004,-.002],[.05,.018]],o:[[.009,-.026],[.051,.019],[0,0]],v:[[-.177,-.079],[.151,.004],[.123,.08]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.041,0],[-.03,-.011],[.036,.014]],o:[[.03,.027],[.036,.013],[-.033,-.012]],v:[[-.164,-.074],[.127,.07],[.147,.015]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.655,198.062],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:3,cix:2,bm:0,ix:12,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.043,.016],[-.007,.018],[-.018,-.007]],o:[[-.018,-.007],[.007,-.018],[.043,.016]],v:[[.125,.076],[-.172,-.076],[.149,.01]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.655,198.061],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 13",np:2,cix:2,bm:0,ix:13,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.005,.002],[-.008,.021],[-.021,-.008],[.01,-.025]],o:[[-.021,-.008],[.008,-.021],[.01,.004],[-.01,.025]],v:[[-.15,-.009],[-.173,-.062],[-.12,-.085],[.175,.084]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.029,.012],[-.036,-.014],[-.04,-.002]],o:[[-.036,-.014],[.033,.013],[-.03,-.028]],v:[[-.124,-.074],[-.146,-.02],[.162,.079]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.238,197.873],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 14",np:3,cix:2,bm:0,ix:14,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.043,-.017],[.007,-.018],[.018,.007]],o:[[.018,.007],[-.007,.018],[-.043,-.017]],v:[[-.122,-.08],[.17,.081],[-.148,-.016]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.238,197.873],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 15",np:2,cix:2,bm:0,ix:15,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.008,.021],[-.025,-.009],[.001,-.004],[.021,.008]],o:[[.004,-.01],[.026,.01],[-.008,.021],[-.021,-.007]],v:[[-.081,.123],[.079,-.177],[-.004,.151],[-.056,.175]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,.04],[.011,-.03],[-.013,.036]],o:[[-.027,.03],[-.013,.036],[.012,-.033]],v:[[.074,-.164],[-.07,.127],[-.015,.147]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.351,198.184],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 16",np:3,cix:2,bm:0,ix:16,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.016,.043],[-.018,-.007],[.007,-.018]],o:[[.007,-.018],[.018,.007],[-.016,.043]],v:[[-.076,.125],[.076,-.172],[-.01,.149]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.352,198.184],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 17",np:2,cix:2,bm:0,ix:17,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.025,.01],[-.002,.005],[-.021,-.008],[.008,-.021]],o:[[-.025,-.01],[.008,-.021],[.021,.008],[-.004,.01]],v:[[-.084,.175],[.009,-.15],[.062,-.173],[.085,-.12]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.014,-.036],[.001,-.04],[-.012,.03]],o:[[-.013,.033],[.028,-.029],[.014,-.036]],v:[[.02,-.146],[-.079,.162],[.074,-.124]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.54,197.767],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 18",np:3,cix:2,bm:0,ix:18,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.017,-.043],[.018,.007],[-.007,.018]],o:[[-.007,.018],[-.018,-.007],[.017,-.043]],v:[[.08,-.122],[-.081,.17],[.015,-.148]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.54,197.767],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 19",np:2,cix:2,bm:0,ix:19,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.025,.01],[-.002,.005],[-.021,-.008],[.008,-.021]],o:[[-.025,-.01],[.008,-.021],[.021,.008],[-.004,.01]],v:[[-.084,.175],[.009,-.15],[.062,-.173],[.085,-.12]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.014,-.036],[.001,-.04],[-.012,.03]],o:[[-.013,.033],[.028,-.029],[.014,-.036]],v:[[.02,-.146],[-.079,.162],[.074,-.124]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.54,197.767],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 20",np:3,cix:2,bm:0,ix:20,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.017,-.043],[.018,.007],[-.007,.018]],o:[[-.007,.018],[-.018,-.007],[.017,-.043]],v:[[.08,-.122],[-.081,.17],[.015,-.148]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.54,197.767],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 21",np:2,cix:2,bm:0,ix:21,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.02,.042],[-.042,.02],[-.002,-.003],[.051,.011],[.007,-.003]],o:[[-.014,-.029],[.046,-.022],[.038,.081],[-.004,.008],[-.041,.019]],v:[[-.05,.134],[-.114,-.224],[.104,.061],[.077,.205],[.06,.222]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.028,-.013],[-.016,-.034],[-.019,-.016],[-.011,.005],[-.001,.001],[-.011,.005],[.027,.057]],o:[[-.029,.014],[.013,.029],[.017,.014],[.01,-.005],[.003,.001],[.025,-.012],[-.019,-.04]],v:[[-.11,-.214],[-.04,.129],[.01,.197],[.055,.211],[.071,.191],[.096,.192],[.093,.066]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.569,198.209],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 22",np:3,cix:2,bm:0,ix:22,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.021,.052],[-.007,.004],[.029,.06],[.036,-.017],[-.014,-.03]],o:[[.009,.003],[.028,-.013],[-.014,-.03],[-.036,.017],[.033,.07]],v:[[.074,.198],[.099,.197],[.099,.064],[-.112,-.219],[-.045,.132]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.569,198.209],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 23",np:2,cix:2,bm:0,ix:23,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.013,.029],[-.001,.026],[-.032,-.008],[-.007,.003],[-.028,-.065],[.044,-.019]],o:[[-.013,-.03],[.001,-.036],[.004,-.008],[.032,-.014],[.011,.025],[-.043,.018]],v:[[-.101,-.066],[-.12,-.154],[-.069,-.208],[-.052,-.225],[.055,-.133],[.107,.227]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.032,-.014],[.001,-.001],[.011,-.005],[-.015,-.036],[-.029,.013],[.016,.038]],o:[[-.01,.005],[-.003,-.001],[-.034,.014],[.015,.034],[.028,-.012],[-.017,-.039]],v:[[-.047,-.215],[-.063,-.194],[-.089,-.197],[-.09,-.071],[.103,.216],[.045,-.129]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.329,197.717],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 24",np:3,cix:2,bm:0,ix:24,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.022,-.051],[.007,-.003],[-.026,-.061],[-.036,.016],[.013,.031]],o:[[-.009,-.003],[-.029,.012],[.013,.031],[.036,-.016],[-.03,-.071]],v:[[-.067,-.201],[-.091,-.202],[-.096,-.068],[.105,.222],[.05,-.131]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.329,197.717],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 25",np:2,cix:2,bm:0,ix:25,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.027,.011],[-.004,.019],[.003,.007],[-.042,.02],[-.02,-.042],[.003,-.001]],o:[[-.02,-.008],[-.008,-.004],[-.019,-.041],[.029,-.014],[.022,.046],[-.047,.022]],v:[[-.181,.12],[-.205,.077],[-.222,.06],[-.134,-.05],[.224,-.115],[-.061,.103]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[-.005,-.011],[-.001,-.001],[-.005,-.011],[-.056,.027],[.013,.027],[.034,-.016],[.016,-.019]],o:[[.005,.01],[-.001,.003],[.012,.025],[.044,-.021],[-.014,-.029],[-.028,.013],[-.014,.017]],v:[[-.212,.055],[-.191,.071],[-.192,.096],[-.066,.093],[.214,-.11],[-.129,-.04],[-.197,.01]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.207,198.086],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 26",np:3,cix:2,bm:0,ix:26,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.052,-.021],[-.003,-.007],[-.06,.028],[.017,.036],[.03,-.014]],o:[[-.003,.009],[.013,.028],[.03,-.014],[-.017,-.036],[-.07,.033]],v:[[-.198,.074],[-.197,.099],[-.064,.099],[.219,-.112],[-.132,-.045]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.207,198.085],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 27",np:2,cix:2,bm:0,ix:27,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.019,.044],[-.003,.001],[.013,-.051],[.023,-.026],[.03,-.013]],o:[[-.02,-.047],[.082,-.035],[.029,.016],[-.017,.019],[-.028,.012]],v:[[-.227,.107],[.066,-.101],[.208,-.069],[.207,.005],[.133,.055]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.016,.001],[.029,-.012],[-.012,-.028],[-.035,.015],[-.016,.018],[.001,.001],[.005,.011]],o:[[-.024,-.001],[-.045,.019],[.013,.03],[.029,-.012],[.043,-.048],[.001,-.003],[-.006,-.015]],v:[[.153,-.108],[.071,-.09],[-.216,.103],[.129,.045],[.199,-.002],[.194,-.063],[.197,-.089]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.7,197.846],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 28",np:3,cix:2,bm:0,ix:28,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.051,.022],[.003,.007],[.061,-.026],[-.016,-.036],[-.031,.013]],o:[[.003,-.009],[-.012,-.029],[-.031,.013],[.016,.036],[.071,-.03]],v:[[.201,-.067],[.202,-.091],[.068,-.096],[-.222,.105],[.131,.05]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.7,197.846],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 29",np:2,cix:2,bm:0,ix:29,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.016,.043],[-.031,-.011],[.046,-.029],[.003,-.007],[.043,.016]],o:[[.016,-.044],[.081,.029],[.003,.009],[-.015,.043],[-.032,-.011]],v:[[-.228,-.104],[.128,-.057],[.211,.063],[.211,.087],[.071,.103]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.037,.013],[.011,-.03],[-.041,-.016],[.019,.044],[0,0],[-.004,.011]],o:[[-.035,-.013],[-.011,.03],[.071,.026],[0,0],[.002,-.002],[.012,-.034]],v:[[.124,-.046],[-.217,-.101],[.075,.093],[.198,.063],[.196,.058],[.216,.041]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.694,198.083],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 30",np:3,cix:2,bm:0,ix:30,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.022,.051],[-.003,.008],[.063,.023],[.013,-.037],[-.031,-.011]],o:[[.008,-.004],[.011,-.029],[-.031,-.011],[-.013,.037],[.073,.026]],v:[[.204,.061],[.221,.044],[.127,-.051],[-.222,-.102],[.073,.099]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.694,198.082],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 31",np:2,cix:2,bm:0,ix:31,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.003,.001],[-.047,.028],[-.003,.007],[-.066,-.026],[.018,-.045]],o:[[-.079,-.032],[-.002,-.009],[.013,-.032],[.025,.01],[-.019,.047]],v:[[-.129,.051],[-.207,-.072],[-.207,-.096],[-.066,-.107],[.225,.111]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.039,.015],[.01,-.026],[0,-.001],[0,0],[-.066,-.026],[-.011,.028]],o:[[-.058,-.023],[-.004,.01],[0,0],[-.045,.021],[.045,.018],[.011,-.029]],v:[[-.07,-.096],[-.196,-.091],[-.193,-.066],[-.198,-.064],[-.125,.041],[.215,.107]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.199,197.851],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 32",np:3,cix:2,bm:0,ix:32,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.02,-.052],[.003,-.007],[-.062,-.025],[-.015,.037],[.031,.012]],o:[[-.009,.004],[-.012,.029],[.031,.012],[.015,-.037],[-.072,-.029]],v:[[-.201,-.069],[-.218,-.052],[-.127,.046],[.22,.109],[-.068,-.102]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.199,197.851],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 33",np:2,cix:2,bm:0,ix:33,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.016,.043],[-.044,-.016],[.012,-.034],[.028,.045],[.007,.003]],o:[[.011,-.03],[.043,.015],[-.03,.084],[-.009,.003],[-.043,-.015]],v:[[-.103,.071],[.104,-.228],[.057,.128],[-.063,.211],[-.087,.211]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[-.003,-.002],[.013,-.035],[-.046,.02],[0,0],[-.012,-.005],[-.013,.037],[-.016,.081]],o:[[-.031,-.011],[-.023,.064],[0,0],[.002,.003],[.034,.012],[.006,-.015],[.033,-.168]],v:[[.101,-.217],[-.093,.075],[-.063,.199],[-.058,.196],[-.041,.216],[.046,.124],[.09,-.056]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.336,198.213],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 34",np:3,cix:2,bm:0,ix:34,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.051,.022],[-.008,-.003],[-.023,.063],[.037,.013],[.011,-.031]],o:[[.004,.008],[.029,.011],[.011,-.031],[-.037,-.013],[-.026,.073]],v:[[-.061,.204],[-.044,.221],[.051,.127],[.102,-.222],[-.099,.073]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.336,198.213],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 35",np:2,cix:2,bm:0,ix:35,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.045,.018],[-.001,.003],[-.026,-.045],[-.007,-.003],[.026,-.066]],o:[[-.047,-.019],[.033,-.084],[.009,-.003],[.033,.013],[-.01,.025]],v:[[-.111,.225],[-.051,-.129],[.072,-.207],[.096,-.207],[.107,-.066]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.026,-.066],[-.028,-.011],[-.015,.039],[.045,-.018],[0,0],[0,0]],o:[[-.018,.045],[.029,.012],[.027,-.068],[0,0],[0,0],[-.021,-.045]],v:[[-.041,-.125],[-.107,.215],[.096,-.07],[.071,-.195],[.066,-.193],[.064,-.198]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.568,197.718],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 36",np:3,cix:2,bm:0,ix:36,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.052,-.02],[.007,.003],[.025,-.062],[-.037,-.015],[-.012,.031]],o:[[-.004,-.009],[-.029,-.012],[-.012,.031],[.037,.015],[.029,-.072]],v:[[.069,-.201],[.052,-.218],[-.046,-.127],[-.109,.22],[.102,-.068]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.567,197.718],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 37",np:2,cix:2,bm:0,ix:37,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.045,.018],[-.001,.003],[-.026,-.045],[-.007,-.003],[.026,-.066]],o:[[-.047,-.019],[.033,-.084],[.009,-.003],[.033,.013],[-.01,.025]],v:[[-.111,.225],[-.051,-.129],[.072,-.207],[.096,-.207],[.107,-.066]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.026,-.066],[-.028,-.011],[-.015,.039],[.045,-.018],[0,0],[0,0]],o:[[-.018,.045],[.029,.012],[.027,-.068],[0,0],[0,0],[-.021,-.045]],v:[[-.041,-.125],[-.107,.215],[.096,-.07],[.071,-.195],[.066,-.193],[.064,-.198]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.568,197.718],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 38",np:3,cix:2,bm:0,ix:38,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.052,-.02],[.007,.003],[.025,-.062],[-.037,-.015],[-.012,.031]],o:[[-.004,-.009],[-.029,-.012],[-.012,.031],[.037,.015],[.029,-.072]],v:[[.069,-.201],[.052,-.218],[-.046,-.127],[-.109,.22],[.102,-.068]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.435294121504,.580392181873,.709803938866,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.567,197.718],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 39",np:2,cix:2,bm:0,ix:39,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.017,0],[0,0],[-.001,.017],[0,0],[-.017,-.002],[.001,-.017],[.002,-.053]],o:[[0,0],[-.017,-.001],[.002,-.054],[.001,-.017],[.017,.001],[0,0],[-.001,.017]],v:[[-.002,.073],[-.003,.073],[-.033,.04],[-.029,-.043],[.004,-.073],[.033,-.04],[.029,.043]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.764705896378,.854901969433,.956862747669,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[518.103,195.725],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 40",np:2,cix:2,bm:0,ix:40,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.017,0],[0,0],[.052,.005],[-.002,.017],[-.016,-.001],[-.051,0],[0,0],[0,-.017]],o:[[0,0],[-.053,0],[-.017,-.002],[.002,-.017],[.05,.004],[0,0],[.017,0],[0,.017]],v:[[-.098,1.702],[-.112,1.702],[-.269,1.695],[-.298,1.661],[-.264,1.632],[-.112,1.639],[-.098,1.639],[-.067,1.67]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[.002,.016],[-.017,.002],[-.055,.01],[-.003,-.017],[.017,-.003],[.056,-.005]],o:[[-.016,0],[-.002,-.017],[.054,-.005],[.017,-.003],[.003,.017],[-.057,.01],[0,0]],v:[[.071,1.693],[.04,1.664],[.068,1.63],[.233,1.608],[.269,1.634],[.244,1.67],[.074,1.693]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[.015,0],[0,0],[.054,.017],[-.005,.017],[-.017,-.005],[-.054,-.01],[.003,-.017]],o:[[0,0],[-.057,-.011],[-.017,-.005],[.005,-.016],[.052,.016],[.017,.003],[-.003,.015]],v:[[-.434,1.672],[-.44,1.671],[-.607,1.629],[-.628,1.59],[-.588,1.569],[-.428,1.609],[-.403,1.646]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ind:3,ty:"sh",ix:4,ks:{a:0,k:{i:[[0,0],[.004,.014],[-.017,.004],[-.054,.017],[-.005,-.016],[.016,-.005],[.054,-.014]],o:[[-.014,0],[-.004,-.017],[.053,-.013],[.017,-.005],[.005,.017],[-.055,.018],[0,0]],v:[[.403,1.635],[.373,1.611],[.396,1.573],[.556,1.527],[.595,1.548],[.575,1.587],[.411,1.634]],c:!0},ix:2},nm:"Path 4",mn:"ADBE Vector Shape - Group",hd:!1},{ind:4,ty:"sh",ix:5,ks:{a:0,k:{i:[[.012,0],[0,0],[.052,.025],[-.008,.016],[-.016,-.008],[-.05,-.02],[.006,-.016]],o:[[0,0],[-.052,-.021],[-.016,-.008],[.008,-.016],[.051,.024],[.016,.007],[-.005,.012]],v:[[-.757,1.573],[-.768,1.57],[-.925,1.501],[-.939,1.459],[-.897,1.445],[-.745,1.512],[-.727,1.553]],c:!0},ix:2},nm:"Path 5",mn:"ADBE Vector Shape - Group",hd:!1},{ind:5,ty:"sh",ix:6,ks:{a:0,k:{i:[[0,0],[.005,.012],[-.016,.006],[-.051,.024],[-.007,-.016],[.016,-.007],[.053,-.021]],o:[[-.013,0],[-.006,-.016],[.052,-.02],[.016,-.007],[.007,.016],[-.052,.024],[0,0]],v:[[.725,1.532],[.696,1.512],[.713,1.471],[.867,1.405],[.909,1.421],[.893,1.462],[.736,1.53]],c:!0},ix:2},nm:"Path 6",mn:"ADBE Vector Shape - Group",hd:!1},{ind:6,ty:"sh",ix:7,ks:{a:0,k:{i:[[.011,0],[0,0],[.048,.031],[-.009,.015],[-.015,-.01],[-.048,-.027],[.008,-.015]],o:[[0,0],[-.049,-.028],[-.015,-.009],[.009,-.015],[.047,.03],[.015,.009],[-.006,.01]],v:[[-1.061,1.426],[-1.076,1.422],[-1.222,1.333],[-1.232,1.29],[-1.188,1.281],[-1.045,1.367],[-1.033,1.41]],c:!0},ix:2},nm:"Path 7",mn:"ADBE Vector Shape - Group",hd:!1},{ind:7,ty:"sh",ix:8,ks:{a:0,k:{i:[[0,0],[.006,.011],[-.015,.008],[-.048,.029],[-.009,-.015],[.015,-.009],[.05,-.027]],o:[[-.011,0],[-.008,-.015],[.049,-.026],[.015,-.009],[.009,.015],[-.049,.03],[0,0]],v:[[1.032,1.39],[1.004,1.373],[1.017,1.331],[1.162,1.248],[1.205,1.258],[1.195,1.301],[1.046,1.386]],c:!0},ix:2},nm:"Path 8",mn:"ADBE Vector Shape - Group",hd:!1},{ind:8,ty:"sh",ix:9,ks:{a:0,k:{i:[[.01,0],[0,0],[.044,.036],[-.011,.013],[-.013,-.011],[-.045,-.033],[.01,-.014]],o:[[0,0],[-.046,-.033],[-.013,-.011],[.011,-.013],[.043,.035],[.014,.01],[-.006,.008]],v:[[-1.345,1.243],[-1.363,1.237],[-1.498,1.133],[-1.503,1.089],[-1.459,1.084],[-1.326,1.186],[-1.319,1.23]],c:!0},ix:2},nm:"Path 9",mn:"ADBE Vector Shape - Group",hd:!1},{ind:9,ty:"sh",ix:10,ks:{a:0,k:{i:[[0,0],[.006,.009],[-.014,.01],[-.044,.034],[-.01,-.014],[.014,-.011],[.047,-.032]],o:[[-.01,0],[-.01,-.014],[.046,-.031],[.014,-.011],[.011,.014],[-.045,.035],[0,0]],v:[[1.321,1.214],[1.295,1.201],[1.303,1.157],[1.438,1.059],[1.482,1.065],[1.476,1.109],[1.338,1.209]],c:!0},ix:2},nm:"Path 10",mn:"ADBE Vector Shape - Group",hd:!1},{ind:10,ty:"sh",ix:11,ks:{a:0,k:{i:[[.009,0],[.006,.006],[.039,.041],[-.012,.012],[-.012,-.013],[-.041,-.038],[.012,-.013]],o:[[-.008,0],[-.042,-.039],[-.012,-.013],[.012,-.012],[.038,.04],[.013,.012],[-.006,.007]],v:[[-1.606,1.029],[-1.627,1.02],[-1.749,.901],[-1.748,.856],[-1.704,.857],[-1.585,.974],[-1.583,1.019]],c:!0},ix:2},nm:"Path 11",mn:"ADBE Vector Shape - Group",hd:!1},{ind:11,ty:"sh",ix:12,ks:{a:0,k:{i:[[0,0],[.006,.007],[-.013,.011],[-.04,.038],[-.012,-.013],[.013,-.012],[.043,-.037]],o:[[-.009,0],[-.011,-.013],[.042,-.036],[.012,-.012],[.012,.013],[-.041,.039],[0,0]],v:[[1.589,1.009],[1.565,.998],[1.568,.954],[1.692,.842],[1.737,.843],[1.736,.887],[1.609,1.002]],c:!0},ix:2},nm:"Path 12",mn:"ADBE Vector Shape - Group",hd:!1},{ind:12,ty:"sh",ix:13,ks:{a:0,k:{i:[[0,0],[.006,.007],[.033,.046],[-.014,.01],[-.01,-.014],[-.036,-.043],[.013,-.011]],o:[[-.009,0],[-.037,-.044],[-.01,-.014],[.014,-.01],[.032,.044],[.011,.013],[0,0]],v:[[-1.839,.785],[-1.863,.773],[-1.969,.638],[-1.961,.594],[-1.918,.602],[-1.815,.733],[-1.819,.777]],c:!0},ix:2},nm:"Path 13",mn:"ADBE Vector Shape - Group",hd:!1},{ind:13,ty:"sh",ix:14,ks:{a:0,k:{i:[[.009,0],[0,0],[-.012,.013],[-.033,.044],[-.014,-.011],[.01,-.014],[.038,-.042]],o:[[0,0],[-.013,-.012],[.037,-.041],[.01,-.014],[.014,.01],[-.034,.046],[-.006,.007]],v:[[1.832,.775],[1.811,.767],[1.809,.723],[1.914,.595],[1.958,.588],[1.964,.632],[1.855,.765]],c:!0},ix:2},nm:"Path 14",mn:"ADBE Vector Shape - Group",hd:!1},{ind:14,ty:"sh",ix:15,ks:{a:0,k:{i:[[0,0],[.006,.01],[.025,.05],[-.016,.008],[-.008,-.016],[-.029,-.048],[.015,-.009]],o:[[-.011,0],[-.03,-.05],[-.008,-.016],[.016,-.008],[.024,.048],[.009,.015],[0,0]],v:[[-2.036,.51],[-2.063,.495],[-2.146,.345],[-2.132,.303],[-2.09,.317],[-2.01,.463],[-2.02,.506]],c:!0},ix:2},nm:"Path 15",mn:"ADBE Vector Shape - Group",hd:!1},{ind:15,ty:"sh",ix:16,ks:{a:0,k:{i:[[.011,0],[0,0],[-.009,.015],[-.025,.049],[-.016,-.008],[.008,-.015],[.03,-.048]],o:[[0,0],[-.015,-.009],[.029,-.047],[.008,-.015],[.015,.008],[-.026,.051],[-.006,.01]],v:[[2.035,.506],[2.018,.501],[2.008,.458],[2.089,.313],[2.131,.299],[2.145,.341],[2.061,.491]],c:!0},ix:2},nm:"Path 16",mn:"ADBE Vector Shape - Group",hd:!1},{ind:16,ty:"sh",ix:17,ks:{a:0,k:{i:[[0,0],[.005,.013],[.014,.054],[-.017,.004],[-.004,-.017],[-.02,-.053],[.016,-.006]],o:[[-.013,0],[-.02,-.055],[-.004,-.017],[.017,-.004],[.013,.052],[.006,.016],[0,0]],v:[[-2.185,.207],[-2.214,.187],[-2.266,.022],[-2.243,-.016],[-2.205,.007],[-2.156,.165],[-2.174,.205]],c:!0},ix:2},nm:"Path 17",mn:"ADBE Vector Shape - Group",hd:!1},{ind:17,ty:"sh",ix:18,ks:{a:0,k:{i:[[.013,0],[0,0],[-.006,.016],[-.016,.053],[-.016,-.005],[.005,-.017],[.021,-.053]],o:[[0,0],[-.016,-.006],[.02,-.051],[.005,-.017],[.017,.005],[-.016,.055],[-.005,.012]],v:[[2.186,.204],[2.175,.202],[2.157,.161],[2.211,.004],[2.25,-.017],[2.271,.022],[2.215,.184]],c:!0},ix:2},nm:"Path 18",mn:"ADBE Vector Shape - Group",hd:!1},{ind:18,ty:"sh",ix:19,ks:{a:0,k:{i:[[.015,0],[0,0],[-.003,.017],[-.006,.055],[-.017,-.002],[.002,-.017],[.011,-.056]],o:[[0,0],[-.017,-.003],[.011,-.054],[.002,-.017],[.017,.002],[-.006,.057],[-.003,.015]],v:[[2.282,-.12],[2.275,-.12],[2.251,-.157],[2.277,-.321],[2.311,-.349],[2.339,-.314],[2.312,-.145]],c:!0},ix:2},nm:"Path 19",mn:"ADBE Vector Shape - Group",hd:!1},{ind:19,ty:"sh",ix:20,ks:{a:0,k:{i:[[0,0],[.002,.016],[.001,.036],[0,0],[-.017,.002],[-.002,-.017],[0,0],[-.004,-.034],[.017,-.002]],o:[[-.016,0],[-.004,-.036],[0,0],[-.001,-.017],[.017,-.002],[0,0],[.001,.036],[.002,.017],[0,0]],v:[[-2.266,-.12],[-2.297,-.147],[-2.306,-.256],[-2.311,-.317],[-2.283,-.351],[-2.249,-.322],[-2.243,-.26],[-2.235,-.155],[-2.262,-.12]],c:!0},ix:2},nm:"Path 20",mn:"ADBE Vector Shape - Group",hd:!1},{ind:20,ty:"sh",ix:21,ks:{a:0,k:{i:[[.017,0],[0,0],[0,.017],[0,.015],[.003,.041],[-.017,.001],[-.001,-.017],[0,-.042],[0,-.015]],o:[[0,0],[-.017,0],[0,-.015],[0,-.04],[-.001,-.017],[.017,-.002],[.003,.042],[0,.015],[0,.017]],v:[[2.319,-.455],[2.318,-.455],[2.288,-.487],[2.288,-.532],[2.284,-.653],[2.314,-.686],[2.347,-.657],[2.351,-.532],[2.35,-.485]],c:!0},ix:2},nm:"Path 21",mn:"ADBE Vector Shape - Group",hd:!1},{ind:21,ty:"sh",ix:22,ks:{a:0,k:{i:[[0,0],[.001,.016],[.003,.056],[-.017,.001],[-.001,-.017],[-.004,-.056],[.017,-.001]],o:[[-.016,0],[-.004,-.057],[-.001,-.017],[.018,-.001],[.003,.056],[.001,.017],[0,0]],v:[[-2.293,-.457],[-2.324,-.486],[-2.335,-.655],[-2.305,-.688],[-2.272,-.658],[-2.262,-.49],[-2.291,-.457]],c:!0},ix:2},nm:"Path 22",mn:"ADBE Vector Shape - Group",hd:!1},{ind:22,ty:"sh",ix:23,ks:{a:0,k:{i:[[0,0],[.002,.015],[.008,.056],[-.017,.002],[-.002,-.017],[-.008,-.055],[.017,-.003]],o:[[-.015,0],[-.008,-.056],[-.002,-.017],[.017,-.002],[.008,.056],[.003,.017],[0,0]],v:[[2.298,-.792],[2.267,-.818],[2.243,-.986],[2.269,-1.021],[2.305,-.995],[2.329,-.828],[2.302,-.792]],c:!0},ix:2},nm:"Path 23",mn:"ADBE Vector Shape - Group",hd:!1},{ind:23,ty:"sh",ix:24,ks:{a:0,k:{i:[[0,0],[.001,.017],[.001,.055],[-.017,0],[0,-.017],[-.002,-.057],[.017,-.001]],o:[[-.017,0],[-.002,-.058],[0,-.017],[.019,0],[.001,.055],[.001,.017],[0,0]],v:[[-2.311,-.794],[-2.342,-.824],[-2.347,-.994],[-2.317,-1.026],[-2.285,-.995],[-2.28,-.827],[-2.31,-.794]],c:!0},ix:2},nm:"Path 24",mn:"ADBE Vector Shape - Group",hd:!1},{ind:24,ty:"sh",ix:25,ks:{a:0,k:{i:[[0,0],[.002,.016],[.006,.055],[-.017,.002],[-.002,-.017],[-.007,-.057],[.017,-.002]],o:[[-.016,0],[-.007,-.057],[-.002,-.017],[.017,-.002],[.006,.055],[.002,.017],[0,0]],v:[[2.252,-1.127],[2.221,-1.154],[2.201,-1.322],[2.229,-1.357],[2.264,-1.329],[2.283,-1.162],[2.256,-1.127]],c:!0},ix:2},nm:"Path 25",mn:"ADBE Vector Shape - Group",hd:!1},{ind:25,ty:"sh",ix:26,ks:{a:0,k:{i:[[0,0],[0,.017],[0,.046],[0,0],[-.017,0],[0,0],[0,-.017],[0,0],[-.001,-.049],[.017,0]],o:[[-.017,0],[-.001,-.049],[0,0],[0,-.017],[0,0],[.017,0],[0,0],[0,.046],[0,.017],[0,0]],v:[[-2.319,-1.132],[-2.35,-1.163],[-2.351,-1.306],[-2.351,-1.332],[-2.32,-1.364],[-2.319,-1.364],[-2.288,-1.332],[-2.288,-1.306],[-2.287,-1.164],[-2.319,-1.132]],c:!0},ix:2},nm:"Path 26",mn:"ADBE Vector Shape - Group",hd:!1},{ind:26,ty:"sh",ix:27,ks:{a:0,k:{i:[[0,0],[.001,.016],[.004,.054],[-.017,.001],[-.001,-.017],[-.005,-.058],[.017,-.002]],o:[[-.016,0],[-.005,-.059],[-.001,-.017],[.018,-.001],[.004,.053],[.002,.017],[0,0]],v:[[2.216,-1.463],[2.184,-1.491],[2.171,-1.66],[2.2,-1.694],[2.233,-1.664],[2.247,-1.497],[2.218,-1.463]],c:!0},ix:2},nm:"Path 27",mn:"ADBE Vector Shape - Group",hd:!1},{ind:27,ty:"sh",ix:28,ks:{a:0,k:{i:[[.017,0],[0,0],[0,.017],[-.001,.05],[
vendor: 16,010 bytes, line 717
717-.018,-.002],[.001,-.017],[.001,-.062]],o:[[0,0],[-.017,0],[.001,-.062],[.001,-.017],[.017,0],[-.001,.05],[0,.017]],v:[[-2.318,-1.47],[-2.319,-1.47],[-2.35,-1.502],[-2.346,-1.671],[-2.314,-1.701],[-2.284,-1.669],[-2.287,-1.501]],c:!0},ix:2},nm:"Path 28",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.764705896378,.854901969433,.956862747669,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[520.41,197.536],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 41",np:29,cix:2,bm:0,ix:41,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.001,.017],[0,.026],[-.017,0],[0,-.017],[-.001,-.029],[.017,-.001]],o:[[-.017,0],[-.001,-.03],[0,-.017],[.017,0],[0,.026],[.001,.017],[0,0]],v:[[.001,.073],[-.031,.043],[-.032,-.042],[-.001,-.073],[.031,-.042],[.032,.041],[.002,.073]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.764705896378,.854901969433,.956862747669,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.603,195.704],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 42",np:2,cix:2,bm:0,ix:42,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.146,.976],[.707,1.517],[.16,.381],[0,0],[0,0],[-.019,.693],[0,0],[-.058,-.408],[.409,-.437],[.731,.272],[.027,.802],[0,0],[0,0],[.03,-.551],[0,0],[.393,-2.432],[.355,-1.106],[.62,-3.098],[-2.718,1.986]],o:[[-.847,-5.649],[-.111,-.238],[-.56,-1.331],[0,0],[-.051,-.405],[0,0],[.041,.221],[.084,.593],[-.605,.645],[-.737,-.274],[-.074,-.825],[0,0],[.096,.616],[0,0],[0,0],[-.106,.655],[-.767,2.39],[2.591,1.416],[-.364,-.655]],v:[[4.472,6.564],[3.098,-.916],[2.444,-2.386],[3.176,-6.556],[2.9,-8.752],[2.91,-10.082],[1.959,-10.471],[2.058,-9.609],[1.557,-7.972],[-.712,-7.203],[-2.243,-9.043],[-2.227,-10.471],[-3.18,-10.135],[-3,-8.644],[-3.134,-6.2],[-2.258,-2.237],[-3.245,.187],[-5.197,9.248],[5.197,9.135]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.411764711142,0,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[520.514,206.021],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 43",np:2,cix:2,bm:0,ix:43,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-1.389,-.26],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[1.389,.26],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-2.572,-1.838],[-2.107,-2.468],[-.3,-.664],[2.079,-2.468],[2.572,-1.117],[.773,2.468],[-1.215,2.241],[-2.572,-1.706]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.349019616842,.027450980619,.176470592618,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[520.394,198.018],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 44",np:2,cix:2,bm:0,ix:44,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.394,198.018],ix:2},a:{a:0,k:[520.394,198.018],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:44,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[520.513,222.814],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.513,222.814],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.513,222.814],ix:2},a:{a:0,k:[520.513,222.814],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:1,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[520.516,206.021],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.516,206.021],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.516,206.021],ix:2},a:{a:0,k:[520.516,206.021],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:1,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:6,ty:4,nm:"Layer 36",parent:2,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[508.638,205.002,0],ix:2},a:{a:0,k:[520.514,206.021,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ef:[{ty:21,nm:"Fill",np:9,mn:"ADBE Fill",ix:1,en:1,ef:[{ty:10,nm:"Fill Mask",mn:"ADBE Fill-0001",ix:1,v:{a:0,k:0,ix:1}},{ty:7,nm:"All Masks",mn:"ADBE Fill-0007",ix:2,v:{a:0,k:0,ix:2}},{ty:2,nm:"Color",mn:"ADBE Fill-0002",ix:3,v:{a:0,k:[.03238754347,.261481970549,.317647069693,1],ix:3}},{ty:7,nm:"Invert",mn:"ADBE Fill-0006",ix:4,v:{a:0,k:0,ix:4}},{ty:0,nm:"Horizontal Feather",mn:"ADBE Fill-0003",ix:5,v:{a:0,k:0,ix:5}},{ty:0,nm:"Vertical Feather",mn:"ADBE Fill-0004",ix:6,v:{a:0,k:0,ix:6}},{ty:0,nm:"Opacity",mn:"ADBE Fill-0005",ix:7,v:{a:0,k:1,ix:7}}]}],shapes:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.017,0],[0,0],[.055,.001],[0,.017],[-.017,-.002],[-.056,0],[0,-.017]],o:[[0,0],[-.057,0],[-.017,0],[0,-.017],[.055,.001],[.017,0],[0,.017]],v:[[-.331,.767],[-.331,.767],[-.499,.765],[-.53,.733],[-.498,.703],[-.331,.705],[-.3,.736]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,.017],[-.017,0],[-.056,.001],[0,-.017],[.017,0],[.055,0]],o:[[-.017,0],[0,-.017],[.055,0],[.015,-.002],[0,.017],[-.056,.001],[0,0]],v:[[-.164,.767],[-.195,.736],[-.164,.704],[.003,.702],[.035,.733],[.004,.765],[-.164,.767]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[.017,0],[0,0],[.055,.003],[-.001,.017],[-.015,-.002],[-.056,-.002],[.001,-.017]],o:[[0,0],[-.057,-.002],[-.017,-.001],[.001,-.017],[.055,.003],[.017,.001],[-.001,.017]],v:[[-.665,.761],[-.667,.761],[-.834,.754],[-.864,.721],[-.831,.692],[-.664,.698],[-.634,.731]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ind:3,ty:"sh",ix:4,ks:{a:0,k:{i:[[0,0],[.001,.017],[-.017,.001],[-.056,.003],[-.001,-.017],[.017,-.001],[.056,-.002]],o:[[-.017,0],[-.001,-.017],[.055,-.002],[.017,-.001],[.001,.017],[-.056,.003],[0,0]],v:[[.171,.76],[.139,.73],[.17,.698],[.336,.691],[.369,.721],[.339,.754],[.172,.76]],c:!0},ix:2},nm:"Path 4",mn:"ADBE Vector Shape - Group",hd:!1},{ind:4,ty:"sh",ix:5,ks:{a:0,k:{i:[[0,0],[.001,.017],[-.017,.001],[-.056,.004],[-.001,-.017],[.017,-.001],[.056,-.003]],o:[[-.016,0],[-.001,-.017],[.055,-.003],[.018,-.001],[.001,.017],[-.056,.004],[0,0]],v:[[.505,.745],[.473,.716],[.503,.683],[.669,.672],[.703,.701],[.674,.734],[.507,.745]],c:!0},ix:2},nm:"Path 5",mn:"ADBE Vector Shape - Group",hd:!1},{ind:5,ty:"sh",ix:6,ks:{a:0,k:{i:[[.016,0],[0,0],[0,0],[.039,.003],[-.002,.017],[-.017,-.002],[-.038,-.003],[0,0],[.001,-.017]],o:[[0,0],[0,0],[-.038,-.003],[-.017,-.002],[.002,-.017],[.038,.003],[0,0],[.017,.001],[-.001,.017]],v:[[-.999,.745],[-1.001,.745],[-1.054,.742],[-1.169,.733],[-1.197,.699],[-1.163,.67],[-1.049,.679],[-.998,.683],[-.968,.716]],c:!0},ix:2},nm:"Path 6",mn:"ADBE Vector Shape - Group",hd:!1},{ind:6,ty:"sh",ix:7,ks:{a:0,k:{i:[[0,0],[.001,.016],[-.017,.001],[-.056,.005],[-.002,-.017],[.017,-.002],[.056,-.005]],o:[[-.016,0],[-.002,-.017],[.055,-.005],[.016,-.002],[.002,.017],[-.056,.005],[0,0]],v:[[.838,.722],[.807,.693],[.836,.659],[1.002,.644],[1.036,.672],[1.008,.706],[.841,.721]],c:!0},ix:2},nm:"Path 7",mn:"ADBE Vector Shape - Group",hd:!1},{ind:7,ty:"sh",ix:8,ks:{a:0,k:{i:[[.016,0],[0,0],[.056,.008],[-.003,.017],[-.017,-.003],[-.055,-.006],[.002,-.017]],o:[[0,0],[-.055,-.007],[-.017,-.002],[.002,-.017],[.055,.008],[.017,.002],[-.002,.016]],v:[[-1.333,.716],[-1.336,.715],[-1.503,.694],[-1.53,.658],[-1.494,.632],[-1.329,.653],[-1.302,.688]],c:!0},ix:2},nm:"Path 8",mn:"ADBE Vector Shape - Group",hd:!1},{ind:8,ty:"sh",ix:9,ks:{a:0,k:{i:[[0,0],[.002,.016],[-.017,.002],[-.055,.007],[-.002,-.017],[.017,-.002],[.055,-.006]],o:[[-.016,0],[-.002,-.017],[.055,-.006],[.018,-.002],[.002,.017],[-.055,.007],[0,0]],v:[[1.171,.689],[1.14,.661],[1.168,.627],[1.333,.608],[1.368,.635],[1.341,.67],[1.174,.689]],c:!0},ix:2},nm:"Path 9",mn:"ADBE Vector Shape - Group",hd:!1},{ind:9,ty:"sh",ix:10,ks:{a:0,k:{i:[[.015,0],[0,0],[.055,.01],[-.003,.017],[-.017,-.003],[-.055,-.009],[.003,-.017]],o:[[0,0],[-.055,-.009],[-.017,-.003],[.003,-.017],[.055,.01],[.017,.003],[-.003,.015]],v:[[-1.664,.668],[-1.669,.668],[-1.835,.638],[-1.859,.602],[-1.823,.577],[-1.659,.606],[-1.633,.642]],c:!0},ix:2},nm:"Path 10",mn:"ADBE Vector Shape - Group",hd:!1},{ind:10,ty:"sh",ix:11,ks:{a:0,k:{i:[[0,0],[.002,.016],[-.017,.002],[-.055,.008],[-.003,-.017],[.017,-.003],[.055,-.008]],o:[[-.015,0],[-.002,-.017],[.055,-.008],[.017,-.003],[.003,.017],[-.055,.008],[0,0]],v:[[1.503,.648],[1.472,.621],[1.498,.586],[1.663,.562],[1.699,.588],[1.673,.624],[1.507,.648]],c:!0},ix:2},nm:"Path 11",mn:"ADBE Vector Shape - Group",hd:!1},{ind:11,ty:"sh",ix:12,ks:{a:0,k:{i:[[.014,0],[0,0],[.055,.012],[-.004,.017],[-.017,-.004],[-.055,-.011],[.004,-.017]],o:[[0,0],[-.055,-.011],[-.017,-.004],[.004,-.017],[.054,.012],[.017,.004],[-.003,.015]],v:[[-1.993,.606],[-1.999,.606],[-2.164,.57],[-2.187,.532],[-2.15,.509],[-1.986,.544],[-1.962,.581]],c:!0},ix:2},nm:"Path 12",mn:"ADBE Vector Shape - Group",hd:!1},{ind:12,ty:"sh",ix:13,ks:{a:0,k:{i:[[0,0],[.003,.015],[-.017,.003],[-.055,.01],[-.003,-.017],[.017,-.003],[.055,-.009]],o:[[-.015,0],[-.003,-.017],[.055,-.009],[.017,-.003],[.003,.017],[-.055,.01],[0,0]],v:[[1.833,.598],[1.802,.572],[1.828,.535],[1.992,.507],[2.029,.532],[2.004,.568],[1.838,.597]],c:!0},ix:2},nm:"Path 13",mn:"ADBE Vector Shape - Group",hd:!1},{ind:13,ty:"sh",ix:14,ks:{a:0,k:{i:[[0,0],[.003,.015],[-.017,.003],[-.054,.012],[-.004,-.017],[.017,-.004],[.055,-.011]],o:[[-.015,0],[-.003,-.017],[.055,-.011],[.017,-.004],[.004,.017],[-.055,.012],[0,0]],v:[[2.162,.537],[2.132,.512],[2.156,.475],[2.32,.441],[2.357,.465],[2.333,.502],[2.169,.537]],c:!0},ix:2},nm:"Path 14",mn:"ADBE Vector Shape - Group",hd:!1},{ind:14,ty:"sh",ix:15,ks:{a:0,k:{i:[[.014,0],[0,0],[.054,.014],[-.004,.017],[-.017,-.005],[-.054,-.013],[.004,-.017]],o:[[0,0],[-.054,-.013],[-.017,-.004],[.004,-.017],[.054,.014],[.017,.004],[-.003,.014]],v:[[-2.32,.532],[-2.327,.531],[-2.49,.49],[-2.512,.452],[-2.474,.43],[-2.312,.47],[-2.289,.508]],c:!0},ix:2},nm:"Path 15",mn:"ADBE Vector Shape - Group",hd:!1},{ind:15,ty:"sh",ix:16,ks:{a:0,k:{i:[[0,0],[.003,.014],[-.017,.004],[-.054,.014],[-.004,-.017],[.017,-.004],[.055,-.013]],o:[[-.014,0],[-.004,-.017],[.054,-.013],[.017,-.004],[.004,.017],[-.054,.014],[0,0]],v:[[2.49,.466],[2.459,.442],[2.483,.404],[2.645,.364],[2.683,.387],[2.66,.425],[2.497,.465]],c:!0},ix:2},nm:"Path 16",mn:"ADBE Vector Shape - Group",hd:!1},{ind:16,ty:"sh",ix:17,ks:{a:0,k:{i:[[.014,0],[0,0],[.053,.015],[-.005,.017],[-.017,-.005],[-.054,-.015],[.005,-.017]],o:[[0,0],[-.054,-.015],[-.017,-.005],[.005,-.017],[.053,.015],[.017,.005],[-.004,.014]],v:[[-2.644,.448],[-2.652,.447],[-2.813,.402],[-2.835,.363],[-2.796,.342],[-2.635,.387],[-2.613,.425]],c:!0},ix:2},nm:"Path 17",mn:"ADBE Vector Shape - Group",hd:!1},{ind:17,ty:"sh",ix:18,ks:{a:0,k:{i:[[0,0],[.004,.014],[-.017,.005],[-.053,.016],[-.005,-.017],[.017,-.005],[.054,-.015]],o:[[-.014,0],[-.005,-.017],[.054,-.015],[.017,-.005],[.005,.017],[-.053,.016],[0,0]],v:[[2.814,.383],[2.784,.36],[2.806,.321],[2.966,.275],[3.005,.296],[2.984,.335],[2.823,.382]],c:!0},ix:2},nm:"Path 18",mn:"ADBE Vector Shape - Group",hd:!1},{ind:18,ty:"sh",ix:19,ks:{a:0,k:{i:[[.013,0],[0,0],[.053,.017],[-.005,.017],[-.017,-.005],[-.054,-.016],[.005,-.017]],o:[[0,0],[-.054,-.016],[-.017,-.005],[.005,-.017],[.053,.017],[.017,.005],[-.004,.014]],v:[[-2.965,.356],[-2.974,.354],[-3.134,.305],[-3.155,.266],[-3.116,.245],[-2.956,.294],[-2.935,.333]],c:!0},ix:2},nm:"Path 19",mn:"ADBE Vector Shape - Group",hd:!1},{ind:19,ty:"sh",ix:20,ks:{a:0,k:{i:[[0,0],[.004,.013],[-.016,.005],[-.052,.018],[-.006,-.016],[.016,-.006],[.054,-.017]],o:[[-.013,0],[-.005,-.016],[.053,-.017],[.016,-.006],[.006,.016],[-.053,.018],[0,0]],v:[[3.135,.287],[3.105,.265],[3.125,.226],[3.283,.173],[3.323,.193],[3.304,.233],[3.144,.286]],c:!0},ix:2},nm:"Path 20",mn:"ADBE Vector Shape - Group",hd:!1},{ind:20,ty:"sh",ix:21,ks:{a:0,k:{i:[[.013,0],[0,0],[.052,.018],[-.006,.016],[-.017,-.005],[-.054,-.017],[.005,-.016]],o:[[0,0],[-.054,-.017],[-.016,-.006],[.006,-.016],[.052,.018],[.016,.005],[-.004,.013]],v:[[-3.285,.255],[-3.294,.254],[-3.453,.201],[-3.473,.161],[-3.433,.141],[-3.275,.194],[-3.255,.234]],c:!0},ix:2},nm:"Path 21",mn:"ADBE Vector Shape - Group",hd:!1},{ind:21,ty:"sh",ix:22,ks:{a:0,k:{i:[[0,0],[.005,.013],[-.016,.006],[-.051,.021],[-.006,-.016],[.016,-.007],[.053,-.02]],o:[[-.013,0],[-.006,-.016],[.052,-.02],[.016,-.006],[.006,.016],[-.052,.021],[0,0]],v:[[3.451,.178],[3.422,.157],[3.44,.117],[3.595,.057],[3.636,.074],[3.618,.115],[3.462,.176]],c:!0},ix:2},nm:"Path 22",mn:"ADBE Vector Shape - Group",hd:!1},{ind:22,ty:"sh",ix:23,ks:{a:0,k:{i:[[.013,0],[0,0],[.052,.019],[-.006,.016],[-.016,-.006],[-.054,-.019],[.006,-.016]],o:[[0,0],[-.054,-.019],[-.016,-.006],[.006,-.016],[.051,.019],[.016,.006],[-.005,.013]],v:[[-3.602,.148],[-3.612,.146],[-3.77,.09],[-3.789,.05],[-3.749,.031],[-3.591,.087],[-3.572,.127]],c:!0},ix:2},nm:"Path 23",mn:"ADBE Vector Shape - Group",hd:!1},{ind:23,ty:"sh",ix:24,ks:{a:0,k:{i:[[0,0],[.005,.012],[-.016,.007],[-.05,.023],[-.007,-.016],[.016,-.007],[.052,-.023]],o:[[-.012,0],[-.007,-.016],[.051,-.022],[.016,-.008],[.007,.016],[-.05,.024],[0,0]],v:[[3.761,.052],[3.732,.033],[3.748,-.008],[3.9,-.077],[3.942,-.062],[3.927,-.02],[3.773,.05]],c:!0},ix:2},nm:"Path 24",mn:"ADBE Vector Shape - Group",hd:!1},{ind:24,ty:"sh",ix:25,ks:{a:0,k:{i:[[.013,0],[0,0],[.051,.019],[-.006,.016],[-.016,-.006],[-.054,-.02],[.006,-.016]],o:[[0,0],[-.054,-.02],[-.016,-.006],[.006,-.016],[.051,.019],[.016,.006],[-.005,.013]],v:[[-3.917,.035],[-3.928,.033],[-4.085,-.026],[-4.103,-.067],[-4.062,-.085],[-3.906,-.026],[-3.887,.014]],c:!0},ix:2},nm:"Path 25",mn:"ADBE Vector Shape - Group",hd:!1},{ind:25,ty:"sh",ix:26,ks:{a:0,k:{i:[[.013,0],[0,0],[.05,.02],[-.006,.016],[-.016,-.006],[-.054,-.021],[.006,-.016]],o:[[0,0],[-.054,-.021],[-.016,-.006],[.006,-.016],[.049,.02],[.016,.006],[-.005,.012]],v:[[-4.23,-.085],[-4.241,-.087],[-4.397,-.149],[-4.414,-.19],[-4.374,-.207],[-4.218,-.145],[-4.201,-.105]],c:!0},ix:2},nm:"Path 26",mn:"ADBE Vector Shape - Group",hd:!1},{ind:26,ty:"sh",ix:27,ks:{a:0,k:{i:[[0,0],[.006,.011],[-.015,.008],[-.048,.027],[-.008,-.015],[.015,-.008],[.05,-.026]],o:[[-.011,0],[-.008,-.015],[.05,-.025],[.015,-.008],[.008,.015],[-.049,.027],[0,0]],v:[[4.063,-.09],[4.035,-.108],[4.049,-.15],[4.196,-.228],[4.238,-.216],[4.226,-.173],[4.078,-.094]],c:!0},ix:2},nm:"Path 27",mn:"ADBE Vector Shape - Group",hd:!1},{ind:27,ty:"sh",ix:28,ks:{a:0,k:{i:[[.012,0],[0,0],[.047,.02],[-.007,.016],[-.016,-.007],[-.056,-.023],[.007,-.016]],o:[[0,0],[-.056,-.023],[-.016,-.007],[.007,-.016],[.047,.02],[.016,.007],[-.005,.012]],v:[[-4.541,-.21],[-4.5
vendor: 43,614 bytes, line 717
71753,-.212],[-4.707,-.277],[-4.724,-.319],[-4.683,-.335],[-4.529,-.27],[-4.512,-.229]],c:!0},ix:2},nm:"Path 28",mn:"ADBE Vector Shape - Group",hd:!1},{ind:28,ty:"sh",ix:29,ks:{a:0,k:{i:[[0,0],[.006,.01],[-.015,.009],[-.046,.03],[-.009,-.014],[.014,-.01],[.048,-.029]],o:[[-.011,0],[-.009,-.015],[.048,-.029],[.015,-.01],[.01,.014],[-.047,.031],[0,0]],v:[[4.356,-.253],[4.329,-.268],[4.34,-.311],[4.48,-.399],[4.523,-.391],[4.514,-.347],[4.372,-.257]],c:!0},ix:2},nm:"Path 29",mn:"ADBE Vector Shape - Group",hd:!1},{ind:29,ty:"sh",ix:30,ks:{a:0,k:{i:[[.012,0],[0,0],[0,0],[-.007,.016],[-.016,-.007],[-.098,-.043],[.007,-.016]],o:[[0,0],[-.099,-.044],[-.016,-.007],[.007,-.016],[0,0],[.016,.007],[-.005,.012]],v:[[-4.849,-.341],[-4.862,-.344],[-5.016,-.413],[-5.031,-.455],[-4.989,-.47],[-4.836,-.401],[-4.82,-.36]],c:!0},ix:2},nm:"Path 30",mn:"ADBE Vector Shape - Group",hd:!1},{ind:30,ty:"sh",ix:31,ks:{a:0,k:{i:[[0,0],[.006,.009],[-.014,.01],[-.04,.032],[-.011,-.014],[.014,-.011],[.043,-.031]],o:[[-.01,0],[-.01,-.014],[.042,-.03],[.014,-.011],[.011,.014],[-.041,.032],[0,0]],v:[[4.635,-.437],[4.609,-.45],[4.616,-.494],[4.739,-.586],[4.783,-.581],[4.778,-.537],[4.653,-.443]],c:!0},ix:2},nm:"Path 31",mn:"ADBE Vector Shape - Group",hd:!1},{ind:31,ty:"sh",ix:32,ks:{a:0,k:{i:[[0,0],[.006,.008],[-.014,.01],[-.04,.032],[-.011,-.014],[.014,-.011],[.043,-.031]],o:[[-.01,0],[-.01,-.014],[.042,-.03],[.014,-.011],[.011,.014],[-.041,.032],[0,0]],v:[[4.879,-.611],[4.853,-.624],[4.86,-.668],[4.983,-.76],[5.027,-.755],[5.022,-.711],[4.897,-.617]],c:!0},ix:2},nm:"Path 32",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.764705896378,.854901969433,.956862747669,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[520.392,215.55],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:33,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.052,.021],[-.021,.052],[-.052,-.021],[.021,-.052]],o:[[-.052,-.021],[.021,-.052],[.052,.021],[-.021,.052]],v:[[-.038,.095],[-.095,-.038],[.038,-.095],[.095,.038]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.046,.019],[.019,-.046],[-.046,-.019],[-.018,.046]],o:[[-.046,-.018],[-.019,.046],[.046,.018],[.019,-.046]],v:[[.034,-.084],[-.084,-.034],[-.034,.084],[.084,.034]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.436,197.957],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:3,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.02,-.049],[.049,.02],[-.02,.049],[-.049,-.02]],o:[[-.02,.049],[-.049,-.02],[.02,-.049],[.049,.02]],v:[[.089,.036],[-.036,.09],[-.089,-.036],[.036,-.09]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.436,197.957],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.028,.011],[-.032,.014],[.049,-.021],[0,0],[0,0]],o:[[-.041,-.016],[.049,-.021],[0,0],[0,0],[-.018,.008]],v:[[-.173,.086],[.12,-.083],[.152,-.008],[.15,-.013],[.152,-.008]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.011,-.005],[.03,-.028],[-.029,.012],[.024,.01]],o:[[-.033,.014],[.041,-.001],[.024,-.01],[0,0]],v:[[.124,-.072],[-.163,.076],[.147,-.018],[.147,-.073]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.645,197.882],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 4",np:3,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.042,-.018],[.008,.018],[-.018,.008]],o:[[-.018,.008],[-.008,-.018],[.042,-.018]],v:[[.15,-.013],[-.171,.079],[.122,-.078]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.644,197.882],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 5",np:2,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.015,.033],[-.01,.004],[-.01,-.025],[.004,-.002]],o:[[.004,-.01],[.01,-.004],[.01,.025],[-.033,.013]],v:[[-.175,.024],[-.153,.002],[.178,-.077],[-.123,.078]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[-.03,.027],[.03,-.012],[-.036,.014]],o:[[-.041,-.001],[-.036,.014],[.033,-.013]],v:[[.165,-.071],[-.149,.013],[-.127,.067]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.225,198.065],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:3,cix:2,bm:0,ix:6,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.043,.017],[-.007,-.018],[.018,-.007]],o:[[.018,-.007],[.007,.018],[-.043,.017]],v:[[-.151,.008],[.173,-.074],[-.125,.073]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.225,198.064],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:2,cix:2,bm:0,ix:7,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.005,.01],[-.025,.011],[-.002,-.004],[.034,.012]],o:[[-.005,-.01],[.025,-.012],[.015,.033],[0,0]],v:[[.013,.151],[-.087,-.174],[.086,.117],[.036,.172]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.029,.029],[-.013,-.029],[.016,.035]],o:[[.002,.041],[.016,.035],[-.016,-.033]],v:[[-.081,-.161],[.023,.146],[.076,.122]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.546,198.18],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 8",np:3,cix:2,bm:0,ix:8,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.02,.042],[-.017,.008],[-.008,-.017]],o:[[-.008,-.017],[.017,-.008],[.019,.042]],v:[[.019,.149],[-.084,-.169],[.082,.119]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.545,198.18],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,bm:0,ix:9,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.041,.017],[.008,.019],[-.021,.009],[-.009,-.02]],o:[[-.027,-.011],[-.009,-.021],[.02,-.009],[.005,.011]],v:[[.076,.176],[-.082,-.12],[-.061,-.174],[-.007,-.153]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[-.015,-.036],[-.028,-.03],[.012,.029]],o:[[.014,.033],[-.001,-.041],[-.015,-.036]],v:[[-.071,-.125],[.077,.162],[-.018,-.148]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.35,197.766],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:3,cix:2,bm:0,ix:10,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.018,-.042],[.018,-.008],[.008,.018]],o:[[.008,.018],[-.018,.008],[-.018,-.042]],v:[[-.014,-.15],[.079,.171],[-.078,-.122]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.351,197.766],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:11,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.009,.025],[-.004,-.002],[.05,.018]],o:[[.009,-.026],[.051,.019],[0,0]],v:[[-.177,-.079],[.151,.004],[.123,.08]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.041,0],[-.03,-.011],[.036,.014]],o:[[.03,.027],[.036,.013],[-.033,-.012]],v:[[-.164,-.074],[.127,.07],[.147,.015]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.655,198.062],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:3,cix:2,bm:0,ix:12,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.043,.016],[-.007,.018],[-.018,-.007]],o:[[-.018,-.007],[.007,-.018],[.043,.016]],v:[[.125,.076],[-.172,-.076],[.149,.01]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.655,198.061],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 13",np:2,cix:2,bm:0,ix:13,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.005,.002],[-.008,.021],[-.021,-.008],[.01,-.025]],o:[[-.021,-.008],[.008,-.021],[.01,.004],[-.01,.025]],v:[[-.15,-.009],[-.173,-.062],[-.12,-.085],[.175,.084]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.029,.012],[-.036,-.014],[-.04,-.002]],o:[[-.036,-.014],[.033,.013],[-.03,-.028]],v:[[-.124,-.074],[-.146,-.02],[.162,.079]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.238,197.873],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 14",np:3,cix:2,bm:0,ix:14,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.043,-.017],[.007,-.018],[.018,.007]],o:[[.018,.007],[-.007,.018],[-.043,-.017]],v:[[-.122,-.08],[.17,.081],[-.148,-.016]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.238,197.873],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 15",np:2,cix:2,bm:0,ix:15,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.008,.021],[-.025,-.009],[.001,-.004],[.021,.008]],o:[[.004,-.01],[.026,.01],[-.008,.021],[-.021,-.007]],v:[[-.081,.123],[.079,-.177],[-.004,.151],[-.056,.175]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,.04],[.011,-.03],[-.013,.036]],o:[[-.027,.03],[-.013,.036],[.012,-.033]],v:[[.074,-.164],[-.07,.127],[-.015,.147]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.351,198.184],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 16",np:3,cix:2,bm:0,ix:16,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.016,.043],[-.018,-.007],[.007,-.018]],o:[[.007,-.018],[.018,.007],[-.016,.043]],v:[[-.076,.125],[.076,-.172],[-.01,.149]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.352,198.184],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 17",np:2,cix:2,bm:0,ix:17,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.025,.01],[-.002,.005],[-.021,-.008],[.008,-.021]],o:[[-.025,-.01],[.008,-.021],[.021,.008],[-.004,.01]],v:[[-.084,.175],[.009,-.15],[.062,-.173],[.085,-.12]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.014,-.036],[.001,-.04],[-.012,.03]],o:[[-.013,.033],[.028,-.029],[.014,-.036]],v:[[.02,-.146],[-.079,.162],[.074,-.124]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.54,197.767],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 18",np:3,cix:2,bm:0,ix:18,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.017,-.043],[.018,.007],[-.007,.018]],o:[[-.007,.018],[-.018,-.007],[.017,-.043]],v:[[.08,-.122],[-.081,.17],[.015,-.148]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.54,197.767],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 19",np:2,cix:2,bm:0,ix:19,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.025,.01],[-.002,.005],[-.021,-.008],[.008,-.021]],o:[[-.025,-.01],[.008,-.021],[.021,.008],[-.004,.01]],v:[[-.084,.175],[.009,-.15],[.062,-.173],[.085,-.12]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.014,-.036],[.001,-.04],[-.012,.03]],o:[[-.013,.033],[.028,-.029],[.014,-.036]],v:[[.02,-.146],[-.079,.162],[.074,-.124]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.54,197.767],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 20",np:3,cix:2,bm:0,ix:20,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.017,-.043],[.018,.007],[-.007,.018]],o:[[-.007,.018],[-.018,-.007],[.017,-.043]],v:[[.08,-.122],[-.081,.17],[.015,-.148]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.54,197.767],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 21",np:2,cix:2,bm:0,ix:21,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.02,.042],[-.042,.02],[-.002,-.003],[.051,.011],[.007,-.003]],o:[[-.014,-.029],[.046,-.022],[.038,.081],[-.004,.008],[-.041,.019]],v:[[-.05,.134],[-.114,-.224],[.104,.061],[.077,.205],[.06,.222]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.028,-.013],[-.016,-.034],[-.019,-.016],[-.011,.005],[-.001,.001],[-.011,.005],[.027,.057]],o:[[-.029,.014],[.013,.029],[.017,.014],[.01,-.005],[.003,.001],[.025,-.012],[-.019,-.04]],v:[[-.11,-.214],[-.04,.129],[.01,.197],[.055,.211],[.071,.191],[.096,.192],[.093,.066]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.569,198.209],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 22",np:3,cix:2,bm:0,ix:22,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.021,.052],[-.007,.004],[.029,.06],[.036,-.017],[-.014,-.03]],o:[[.009,.003],[.028,-.013],[-.014,-.03],[-.036,.017],[.033,.07]],v:[[.074,.198],[.099,.197],[.099,.064],[-.112,-.219],[-.045,.132]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.569,198.209],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 23",np:2,cix:2,bm:0,ix:23,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.013,.029],[-.001,.026],[-.032,-.008],[-.007,.003],[-.028,-.065],[.044,-.019]],o:[[-.013,-.03],[.001,-.036],[.004,-.008],[.032,-.014],[.011,.025],[-.043,.018]],v:[[-.101,-.066],[-.12,-.154],[-.069,-.208],[-.052,-.225],[.055,-.133],[.107,.227]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.032,-.014],[.001,-.001],[.011,-.005],[-.015,-.036],[-.029,.013],[.016,.038]],o:[[-.01,.005],[-.003,-.001],[-.034,.014],[.015,.034],[.028,-.012],[-.017,-.039]],v:[[-.047,-.215],[-.063,-.194],[-.089,-.197],[-.09,-.071],[.103,.216],[.045,-.129]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.329,197.717],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 24",np:3,cix:2,bm:0,ix:24,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.022,-.051],[.007,-.003],[-.026,-.061],[-.036,.016],[.013,.031]],o:[[-.009,-.003],[-.029,.012],[.013,.031],[.036,-.016],[-.03,-.071]],v:[[-.067,-.201],[-.091,-.202],[-.096,-.068],[.105,.222],[.05,-.131]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.329,197.717],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 25",np:2,cix:2,bm:0,ix:25,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.027,.011],[-.004,.019],[.003,.007],[-.042,.02],[-.02,-.042],[.003,-.001]],o:[[-.02,-.008],[-.008,-.004],[-.019,-.041],[.029,-.014],[.022,.046],[-.047,.022]],v:[[-.181,.12],[-.205,.077],[-.222,.06],[-.134,-.05],[.224,-.115],[-.061,.103]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[-.005,-.011],[-.001,-.001],[-.005,-.011],[-.056,.027],[.013,.027],[.034,-.016],[.016,-.019]],o:[[.005,.01],[-.001,.003],[.012,.025],[.044,-.021],[-.014,-.029],[-.028,.013],[-.014,.017]],v:[[-.212,.055],[-.191,.071],[-.192,.096],[-.066,.093],[.214,-.11],[-.129,-.04],[-.197,.01]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.207,198.086],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 26",np:3,cix:2,bm:0,ix:26,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.052,-.021],[-.003,-.007],[-.06,.028],[.017,.036],[.03,-.014]],o:[[-.003,.009],[.013,.028],[.03,-.014],[-.017,-.036],[-.07,.033]],v:[[-.198,.074],[-.197,.099],[-.064,.099],[.219,-.112],[-.132,-.045]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.207,198.085],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 27",np:2,cix:2,bm:0,ix:27,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.019,.044],[-.003,.001],[.013,-.051],[.023,-.026],[.03,-.013]],o:[[-.02,-.047],[.082,-.035],[.029,.016],[-.017,.019],[-.028,.012]],v:[[-.227,.107],[.066,-.101],[.208,-.069],[.207,.005],[.133,.055]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.016,.001],[.029,-.012],[-.012,-.028],[-.035,.015],[-.016,.018],[.001,.001],[.005,.011]],o:[[-.024,-.001],[-.045,.019],[.013,.03],[.029,-.012],[.043,-.048],[.001,-.003],[-.006,-.015]],v:[[.153,-.108],[.071,-.09],[-.216,.103],[.129,.045],[.199,-.002],[.194,-.063],[.197,-.089]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.7,197.846],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 28",np:3,cix:2,bm:0,ix:28,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.051,.022],[.003,.007],[.061,-.026],[-.016,-.036],[-.031,.013]],o:[[.003,-.009],[-.012,-.029],[-.031,.013],[.016,.036],[.071,-.03]],v:[[.201,-.067],[.202,-.091],[.068,-.096],[-.222,.105],[.131,.05]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.7,197.846],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 29",np:2,cix:2,bm:0,ix:29,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.016,.043],[-.031,-.011],[.046,-.029],[.003,-.007],[.043,.016]],o:[[.016,-.044],[.081,.029],[.003,.009],[-.015,.043],[-.032,-.011]],v:[[-.228,-.104],[.128,-.057],[.211,.063],[.211,.087],[.071,.103]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.037,.013],[.011,-.03],[-.041,-.016],[.019,.044],[0,0],[-.004,.011]],o:[[-.035,-.013],[-.011,.03],[.071,.026],[0,0],[.002,-.002],[.012,-.034]],v:[[.124,-.046],[-.217,-.101],[.075,.093],[.198,.063],[.196,.058],[.216,.041]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.694,198.083],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 30",np:3,cix:2,bm:0,ix:30,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.022,.051],[-.003,.008],[.063,.023],[.013,-.037],[-.031,-.011]],o:[[.008,-.004],[.011,-.029],[-.031,-.011],[-.013,.037],[.073,.026]],v:[[.204,.061],[.221,.044],[.127,-.051],[-.222,-.102],[.073,.099]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.694,198.082],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 31",np:2,cix:2,bm:0,ix:31,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.003,.001],[-.047,.028],[-.003,.007],[-.066,-.026],[.018,-.045]],o:[[-.079,-.032],[-.002,-.009],[.013,-.032],[.025,.01],[-.019,.047]],v:[[-.129,.051],[-.207,-.072],[-.207,-.096],[-.066,-.107],[.225,.111]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.039,.015],[.01,-.026],[0,-.001],[0,0],[-.066,-.026],[-.011,.028]],o:[[-.058,-.023],[-.004,.01],[0,0],[-.045,.021],[.045,.018],[.011,-.029]],v:[[-.07,-.096],[-.196,-.091],[-.193,-.066],[-.198,-.064],[-.125,.041],[.215,.107]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.199,197.851],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 32",np:3,cix:2,bm:0,ix:32,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.02,-.052],[.003,-.007],[-.062,-.025],[-.015,.037],[.031,.012]],o:[[-.009,.004],[-.012,.029],[.031,.012],[.015,-.037],[-.072,-.029]],v:[[-.201,-.069],[-.218,-.052],[-.127,.046],[.22,.109],[-.068,-.102]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.199,197.851],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 33",np:2,cix:2,bm:0,ix:33,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.016,.043],[-.044,-.016],[.012,-.034],[.028,.045],[.007,.003]],o:[[.011,-.03],[.043,.015],[-.03,.084],[-.009,.003],[-.043,-.015]],v:[[-.103,.071],[.104,-.228],[.057,.128],[-.063,.211],[-.087,.211]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[-.003,-.002],[.013,-.035],[-.046,.02],[0,0],[-.012,-.005],[-.013,.037],[-.016,.081]],o:[[-.031,-.011],[-.023,.064],[0,0],[.002,.003],[.034,.012],[.006,-.015],[.033,-.168]],v:[[.101,-.217],[-.093,.075],[-.063,.199],[-.058,.196],[-.041,.216],[.046,.124],[.09,-.056]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.336,198.213],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 34",np:3,cix:2,bm:0,ix:34,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.051,.022],[-.008,-.003],[-.023,.063],[.037,.013],[.011,-.031]],o:[[.004,.008],[.029,.011],[.011,-.031],[-.037,-.013],[-.026,.073]],v:[[-.061,.204],[-.044,.221],[.051,.127],[.102,-.222],[-.099,.073]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.336,198.213],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 35",np:2,cix:2,bm:0,ix:35,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.045,.018],[-.001,.003],[-.026,-.045],[-.007,-.003],[.026,-.066]],o:[[-.047,-.019],[.033,-.084],[.009,-.003],[.033,.013],[-.01,.025]],v:[[-.111,.225],[-.051,-.129],[.072,-.207],[.096,-.207],[.107,-.066]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.026,-.066],[-.028,-.011],[-.015,.039],[.045,-.018],[0,0],[0,0]],o:[[-.018,.045],[.029,.012],[.027,-.068],[0,0],[0,0],[-.021,-.045]],v:[[-.041,-.125],[-.107,.215],[.096,-.07],[.071,-.195],[.066,-.193],[.064,-.198]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.568,197.718],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 36",np:3,cix:2,bm:0,ix:36,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.052,-.02],[.007,.003],[.025,-.062],[-.037,-.015],[-.012,.031]],o:[[-.004,-.009],[-.029,-.012],[-.012,.031],[.037,.015],[.029,-.072]],v:[[.069,-.201],[.052,-.218],[-.046,-.127],[-.109,.22],[.102,-.068]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.988235294819,.423529416323,.04705882445,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.567,197.718],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 37",np:2,cix:2,bm:0,ix:37,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.045,.018],[-.001,.003],[-.026,-.045],[-.007,-.003],[.026,-.066]],o:[[-.047,-.019],[.033,-.084],[.009,-.003],[.033,.013],[-.01,.025]],v:[[-.111,.225],[-.051,-.129],[.072,-.207],[.096,-.207],[.107,-.066]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.026,-.066],[-.028,-.011],[-.015,.039],[.045,-.018],[0,0],[0,0]],o:[[-.018,.045],[.029,.012],[.027,-.068],[0,0],[0,0],[-.021,-.045]],v:[[-.041,-.125],[-.107,.215],[.096,-.07],[.071,-.195],[.066,-.193],[.064,-.198]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.858823537827,.760784327984,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.568,197.718],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 38",np:3,cix:2,bm:0,ix:38,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.052,-.02],[.007,.003],[.025,-.062],[-.037,-.015],[-.012,.031]],o:[[-.004,-.009],[-.029,-.012],[-.012,.031],[.037,.015],[.029,-.072]],v:[[.069,-.201],[.052,-.218],[-.046,-.127],[-.109,.22],[.102,-.068]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.435294121504,.580392181873,.709803938866,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.567,197.718],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 39",np:2,cix:2,bm:0,ix:39,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.017,0],[0,0],[-.001,.017],[0,0],[-.017,-.002],[.001,-.017],[.002,-.053]],o:[[0,0],[-.017,-.001],[.002,-.054],[.001,-.017],[.017,.001],[0,0],[-.001,.017]],v:[[-.002,.073],[-.003,.073],[-.033,.04],[-.029,-.043],[.004,-.073],[.033,-.04],[.029,.043]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.764705896378,.854901969433,.956862747669,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[518.103,195.725],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 40",np:2,cix:2,bm:0,ix:40,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.017,0],[0,0],[.052,.005],[-.002,.017],[-.016,-.001],[-.051,0],[0,0],[0,-.017]],o:[[0,0],[-.053,0],[-.017,-.002],[.002,-.017],[.05,.004],[0,0],[.017,0],[0,.017]],v:[[-.098,1.702],[-.112,1.702],[-.269,1.695],[-.298,1.661],[-.264,1.632],[-.112,1.639],[-.098,1.639],[-.067,1.67]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[.002,.016],[-.017,.002],[-.055,.01],[-.003,-.017],[.017,-.003],[.056,-.005]],o:[[-.016,0],[-.002,-.017],[.054,-.005],[.017,-.003],[.003,.017],[-.057,.01],[0,0]],v:[[.071,1.693],[.04,1.664],[.068,1.63],[.233,1.608],[.269,1.634],[.244,1.67],[.074,1.693]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[.015,0],[0,0],[.054,.017],[-.005,.017],[-.017,-.005],[-.054,-.01],[.003,-.017]],o:[[0,0],[-.057,-.011],[-.017,-.005],[.005,-.016],[.052,.016],[.017,.003],[-.003,.015]],v:[[-.434,1.672],[-.44,1.671],[-.607,1.629],[-.628,1.59],[-.588,1.569],[-.428,1.609],[-.403,1.646]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ind:3,ty:"sh",ix:4,ks:{a:0,k:{i:[[0,0],[.004,.014],[-.017,.004],[-.054,.017],[-.005,-.016],[.016,-.005],[.054,-.014]],o:[[-.014,0],[-.004,-.017],[.053,-.013],[.017,-.005],[.005,.017],[-.055,.018],[0,0]],v:[[.403,1.635],[.373,1.611],[.396,1.573],[.556,1.527],[.595,1.548],[.575,1.587],[.411,1.634]],c:!0},ix:2},nm:"Path 4",mn:"ADBE Vector Shape - Group",hd:!1},{ind:4,ty:"sh",ix:5,ks:{a:0,k:{i:[[.012,0],[0,0],[.052,.025],[-.008,.016],[-.016,-.008],[-.05,-.02],[.006,-.016]],o:[[0,0],[-.052,-.021],[-.016,-.008],[.008,-.016],[.051,.024],[.016,.007],[-.005,.012]],v:[[-.757,1.573],[-.768,1.57],[-.925,1.501],[-.939,1.459],[-.897,1.445],[-.745,1.512],[-.727,1.553]],c:!0},ix:2},nm:"Path 5",mn:"ADBE Vector Shape - Group",hd:!1},{ind:5,ty:"sh",ix:6,ks:{a:0,k:{i:[[0,0],[.005,.012],[-.016,.006],[-.051,.024],[-.007,-.016],[.016,-.007],[.053,-.021]],o:[[-.013,0],[-.006,-.016],[.052,-.02],[.016,-.007],[.007,.016],[-.052,.024],[0,0]],v:[[.725,1.532],[.696,1.512],[.713,1.471],[.867,1.405],[.909,1.421],[.893,1.462],[.736,1.53]],c:!0},ix:2},nm:"Path 6",mn:"ADBE Vector Shape - Group",hd:!1},{ind:6,ty:"sh",ix:7,ks:{a:0,k:{i:[[.011,0],[0,0],[.048,.031],[-.009,.015],[-.015,-.01],[-.048,-.027],[.008,-.015]],o:[[0,0],[-.049,-.028],[-.015,-.009],[.009,-.015],[.047,.03],[.015,.009],[-.006,.01]],v:[[-1.061,1.426],[-1.076,1.422],[-1.222,1.333],[-1.232,1.29],[-1.188,1.281],[-1.045,1.367],[-1.033,1.41]],c:!0},ix:2},nm:"Path 7",mn:"ADBE Vector Shape - Group",hd:!1},{ind:7,ty:"sh",ix:8,ks:{a:0,k:{i:[[0,0],[.006,.011],[-.015,.008],[-.048,.029],[-.009,-.015],[.015,-.009],[.05,-.027]],o:[[-.011,0],[-.008,-.015],[.049,-.026],[.015,-.009],[.009,.015],[-.049,.03],[0,0]],v:[[1.032,1.39],[1.004,1.373],[1.017,1.331],[1.162,1.248],[1.205,1.258],[1.195,1.301],[1.046,1.386]],c:!0},ix:2},nm:"Path 8",mn:"ADBE Vector Shape - Group",hd:!1},{ind:8,ty:"sh",ix:9,ks:{a:0,k:{i:[[.01,0],[0,0],[.044,.036],[-.011,.013],[-.013,-.011],[-.045,-.033],[.01,-.014]],o:[[0,0],[-.046,-.033],[-.013,-.011],[.011,-.013],[.043,.035],[.014,.01],[-.006,.008]],v:[[-1.345,1.243],[-1.363,1.237],[-1.498,1.133],[-1.503,1.089],[-1.459,1.084],[-1.326,1.186],[-1.319,1.23]],c:!0},ix:2},nm:"Path 9",mn:"ADBE Vector Shape - Group",hd:!1},{ind:9,ty:"sh",ix:10,ks:{a:0,k:{i:[[0,0],[.006,.009],[-.014,.01],[-.044,.034],[-.01,-.014],[.014,-.011],[.047,-.032]],o:[[-.01,0],[-.01,-.014],[.046,-.031],[.014,-.011],[.011,.014],[-.045,.035],[0,0]],v:[[1.321,1.214],[1.295,1.201],[1.303,1.157],[1.438,1.059],[1.482,1.065],[1.476,1.109],[1.338,1.209]],c:!0},ix:2},nm:"Path 10",mn:"ADBE Vector Shape - Group",hd:!1},{ind:10,ty:"sh",ix:11,ks:{a:0,k:{i:[[.009,0],[.006,.006],[.039,.041],[-.012,.012],[-.012,-.013],[-.041,-.038],[.012,-.013]],o:[[-.008,0],[-.042,-.039],[-.012,-.013],[.012,-.012],[.038,.04],[.013,.012],[-.006,.007]],v:[[-1.606,1.029],[-1.627,1.02],[-1.749,.901],[-1.748,.856],[-1.704,.857],[-1.585,.974],[-1.583,1.019]],c:!0},ix:2},nm:"Path 11",mn:"ADBE Vector Shape - Group",hd:!1},{ind:11,ty:"sh",ix:12,ks:{a:0,k:{i:[[0,0],[.006,.007],[-.013,.011],[-.04,.038],[-.012,-.013],[.013,-.012],[.043,-.037]],o:[[-.009,0],[-.011,-.013],[.042,-.036],[.012,-.012],[.012,.013],[-.041,.039],[0,0]],v:[[1.589,1.009],[1.565,.998],[1.568,.954],[1.692,.842],[1.737,.843],[1.736,.887],[1.609,1.002]],c:!0},ix:2},nm:"Path 12",mn:"ADBE Vector Shape - Group",hd:!1},{ind:12,ty:"sh",ix:13,ks:{a:0,k:{i:[[0,0],[.006,.007],[.033,.046],[-.014,.01],[-.01,-.014],[-.036,-.043],[.013,-.011]],o:[[-.009,0],[-.037,-.044],[-.01,-.014],[.014,-.01],[.032,.044],[.011,.013],[0,0]],v:[[-1.839,.785],[-1.863,.773],[-1.969,.638],[-1.961,.594],[-1.918,.602],[-1.815,.733],[-1.819,.777]],c:!0},ix:2},nm:"Path 13",mn:"ADBE Vector Shape - Group",hd:!1},{ind:13,ty:"sh",ix:14,ks:{a:0,k:{i:[[.009,0],[0,0],[-.012,.013],[-.033,.044],[-.014,-.011],[.01,-.014],[.038,-.042]],o:[[0,0],[-.013,-.012],[.037,-.041],[.01,-.014],[.014,.01],[-.034,.046],[-.006,.007]],v:[[1.832,.775],[1.811,.767],[1.809,.723],[1.914,.595],[1.958,.588],[1.964,.632],[1.855,.765]],c:!0},ix:2},nm:"Path 14",mn:"ADBE Vector Shape - Group",hd:!1},{ind:14,ty:"sh",ix:15,ks:{a:0,k:{i:[[0,0],[.006,.01],[.025,.05],[-.016,.008],[-.008,-.016],[-.029,-.048],[.015,-.009]],o:[[-.011,0],[-.03,-.05],[-.008,-.016],[.016,-.008],[.024,.048],[.009,.015],[0,0]],v:[[-2.036,.51],[-2.063,.495],[-2.146,.345],[-2.132,.303],[-2.09,.317],[-2.01,.463],[-2.02,.506]],c:!0},ix:2},nm:"Path 15",mn:"ADBE Vector Shape - Group",hd:!1},{ind:15,ty:"sh",ix:16,ks:{a:0,k:{i:[[.011,0],[0,0],[-.009,.015],[-.025,.049],[-.016,-.008],[.008,-.015],[.03,-.048]],o:[[0,0],[-.015,-.009],[.029,-.047],[.008,-.015],[.015,.008],[-.026,.051],[-.006,.01]],v:[[2.035,.506],[2.018,.501],[2.008,.458],[2.089,.313],[2.131,.299],[2.145,.341],[2.061,.491]],c:!0},ix:2},nm:"Path 16",mn:"ADBE Vector Shape - Group",hd:!1},{ind:16,ty:"sh",ix:17,ks:{a:0,k:{i:[[0,0],[.005,.013],[.014,.054],[-.017,.004],[-.004,-.017],[-.02,-.053],[.016,-.006]],o:[[-.013,0],[-.02,-.055],[-.004,-.017],[.017,-.004],[.013,.052],[.006,.016],[0,0]],v:[[-2.185,.207],[-2.214,.187],[-2.266,.022],[-2.243,-.016],[-2.205,.007],[-2.156,.165],[-2.174,.205]],c:!0},ix:2},nm:"Path 17",mn:"ADBE Vector Shape - Group",hd:!1},{ind:17,ty:"sh",ix:18,ks:{a:0,k:{i:[[.013,0],[0,0],[-.006,.016],[-.016,.053],[-.016,-.005],[.005,-.017],[.021,-.053]],o:[[0,0],[-.016,-.006],[.02,-.051],[.005,-.017],[.017,.005],[-.016,.055],[-.005,.012]],v:[[2.186,.204],[2.175,.202],[2.157,.161],[2.211,.004],[2.25,-.017],[2.271,.022],[2.215,.184]],c:!0},ix:2},nm:"Path 18",mn:"ADBE Vector Shape - Group",hd:!1},{ind:18,ty:"sh",ix:19,ks:{a:0,k:{i:[[.015,0],[0,0],[-.003,.017],[-.006,.055],[-.017,-.002],[.002,-.017],[.011,-.056]],o:[[0,0],[-.017,-.003],[.011,-.054],[.002,-.017],[.017,.002],[-.006,.057],[-.003,.015]],v:[[2.282,-.12],[2.275,-.12],[2.251,-.157],[2.277,-.321],[2.311,-.349],[2.339,-.314],[2.312,-.145]],c:!0},ix:2},nm:"Path 19",mn:"ADBE Vector Shape - Group",hd:!1},{ind:19,ty:"sh",ix:20,ks:{a:0,k:{i:[[0,0],[.002,.016],[.001,.036],[0,0],[-.017,.002],[-.002,-.017],[0,0],[-.004,-.034],[.017,-.002]],o:[[-.016,0],[-.004,-.036],[0,0],[-.001,-.017],[.017,-.002],[0,0],[.001,.036],[.002,.017],[0,0]],v:[[-2.266,-.12],[-2.297,-.147],[-2.306,-.256],[-2.311,-.317],[-2.283,-.351],[-2.249,-.322],[-2.243,-.26],[-2.235,-.155],[-2.262,-.12]],c:!0},ix:2},nm:"Path 20",mn:"ADBE Vector Shape - Group",hd:!1},{ind:20,ty:"sh",ix:21,ks:{a:0,k:{i:[[.017,0],[0,0],[0,.017],[0,.015],[.003,.041],[-.017,.001],[-.001,-.017],[0,-.042],[0,-.015]],o:[[0,0],[-.017,0],[0,-.015],[0,-.04],[-.001,-.017],[.017,-.002],[.003,.042],[0,.015],[0,.017]],v:[[2.319,-.455],[2.318,-.455],[2.288,-.487],[2.288,-.532],[2.284,-.653],[2.314,-.686],[2.347,-.657],[2.351,-.532],[2.35,-.485]],c:!0},ix:2},nm:"Path 21",mn:"ADBE Vector Shape - Group",hd:!1},{ind:21,ty:"sh",ix:22,ks:{a:0,k:{i:[[0,0],[.001,.016],[.003,.056],[-.017,.001],[-.001,-.017],[-.004,-.056],[.017,-.001]],o:[[-.016,0],[-.004,-.057],[-.001,-.017],[.018,-.001],[.003,.056],[.001,.017],[0,0]],v:[[-2.293,-.457],[-2.324,-.486],[-2.335,-.655],[-2.305,-.688],[-2.272,-.658],[-2.262,-.49],[-2.291,-.457]],c:!0},ix:2},nm:"Path 22",mn:"ADBE Vector Shape - Group",hd:!1},{ind:22,ty:"sh",ix:23,ks:{a:0,k:{i:[[0,0],[.002,.015],[.008,.056],[-.017,.002],[-.002,-.017],[-.008,-.055],[.017,-.003]],o:[[-.015,0],[-.008,-.056],[-.002,-.017],[.017,-.002],[.008,.056],[.003,.017],[0,0]],v:[[2.298,-.792],[2.267,-.818],[2.243,-.986],[2.269,-1.021],[2.305,-.995],[2.329,-.828],[2.302,-.792]],c:!0},ix:2},nm:"Path 23",mn:"ADBE Vector Shape - Group",hd:!1},{ind:23,ty:"sh",ix:24,ks:{a:0,k:{i:[[0,0],[.001,.017],[.001,.055],[-.017,0],[0,-.017],[-.002,-.057],[.017,-.001]],o:[[-.017,0],[-.002,-.058],[0,-.017],[.019,0],[.001,.055],[.001,.017],[0,0]],v:[[-2.311,-.794],[-2.342,-.824],[-2.347,-.994],[-2.317,-1.026],[-2.285,-.995],[-2.28,-.827],[-2.31,-.794]],c:!0},ix:2},nm:"Path 24",mn:"ADBE Vector Shape - Group",hd:!1},{ind:24,ty:"sh",ix:25,ks:{a:0,k:{i:[[0,0],[.002,.016],[.006,.055],[-.017,.002],[-.002,-.017],[-.007,-.057],[.017,-.002]],o:[[-.016,0],[-.007,-.057],[-.002,-.017],[.017,-.002],[.006,.055],[.002,.017],[0,0]],v:[[2.252,-1.127],[2.221,-1.154],[2.201,-1.322],[2.229,-1.357],[2.264,-1.329],[2.283,-1.162],[2.256,-1.127]],c:!0},ix:2},nm:"Path 25",mn:"ADBE Vector Shape - Group",hd:!1},{ind:25,ty:"sh",ix:26,ks:{a:0,k:{i:[[0,0],[0,.017],[0,.046],[0,0],[-.017,0],[0,0],[0,-.017],[0,0],[-.001,-.049],[.017,0]],o:[[-.017,0],[-.001,-.049],[0,0],[0,-.017],[0,0],[.017,0],[0,0],[0,.046],[0,.017],[0,0]],v:[[-2.319,-1.132],[-2.35,-1.163],[-2.351,-1.306],[-2.351,-1.332],[-2.32,-1.364],[-2.319,-1.364],[-2.288,-1.332],[-2.288,-1.306],[-2.287,-1.164],[-2.319,-1.132]],c:!0},ix:2},nm:"Path 26",mn:"ADBE Vector Shape - Group",hd:!1},{ind:26,ty:"sh",ix:27,ks:{a:0,k:{i:[[0,0],[.001,.016],[.004,.054],[-.017,.001],[-.001,-.017],[-.005,-.058],[.017,-.002]],o:[[-.016,0],[-.005,-.059],[-.001,-.017],[.018,-.001],[.004,.053],[.002,.017],[0,0]],v:[[2.216,-1.463],[2.184,-1.491],[2.171,-1.66],[2.2,-1.694],[2.233,-1.664],[2.247,-1.497],[2.218,-1.463]],c:!0},ix:2},nm:"Path 27",mn:"ADBE Vector Shape - Group",hd:!1},{ind:27,ty:"sh",ix:28,ks:{a:0,k:{i:[[.017,0],[0,0],[0,.017],[-.001,.05],[
vendor: 5,864 bytes, line 717
717-.018,-.002],[.001,-.017],[.001,-.062]],o:[[0,0],[-.017,0],[.001,-.062],[.001,-.017],[.017,0],[-.001,.05],[0,.017]],v:[[-2.318,-1.47],[-2.319,-1.47],[-2.35,-1.502],[-2.346,-1.671],[-2.314,-1.701],[-2.284,-1.669],[-2.287,-1.501]],c:!0},ix:2},nm:"Path 28",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.764705896378,.854901969433,.956862747669,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[520.41,197.536],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 41",np:29,cix:2,bm:0,ix:41,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.001,.017],[0,.026],[-.017,0],[0,-.017],[-.001,-.029],[.017,-.001]],o:[[-.017,0],[-.001,-.03],[0,-.017],[.017,0],[0,.026],[.001,.017],[0,0]],v:[[.001,.073],[-.031,.043],[-.032,-.042],[-.001,-.073],[.031,-.042],[.032,.041],[.002,.073]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.764705896378,.854901969433,.956862747669,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.603,195.704],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 42",np:2,cix:2,bm:0,ix:42,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.146,.976],[.707,1.517],[.16,.381],[0,0],[0,0],[-.019,.693],[0,0],[-.058,-.408],[.409,-.437],[.731,.272],[.027,.802],[0,0],[0,0],[.03,-.551],[0,0],[.393,-2.432],[.355,-1.106],[.62,-3.098],[-2.718,1.986]],o:[[-.847,-5.649],[-.111,-.238],[-.56,-1.331],[0,0],[-.051,-.405],[0,0],[.041,.221],[.084,.593],[-.605,.645],[-.737,-.274],[-.074,-.825],[0,0],[.096,.616],[0,0],[0,0],[-.106,.655],[-.767,2.39],[2.591,1.416],[-.364,-.655]],v:[[4.472,6.564],[3.098,-.916],[2.444,-2.386],[3.176,-6.556],[2.9,-8.752],[2.91,-10.082],[1.959,-10.471],[2.058,-9.609],[1.557,-7.972],[-.712,-7.203],[-2.243,-9.043],[-2.227,-10.471],[-3.18,-10.135],[-3,-8.644],[-3.134,-6.2],[-2.258,-2.237],[-3.245,.187],[-5.197,9.248],[5.197,9.135]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.411764711142,0,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[520.514,206.021],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 43",np:2,cix:2,bm:0,ix:43,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-1.389,-.26],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[1.389,.26],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-2.572,-1.838],[-2.107,-2.468],[-.3,-.664],[2.079,-2.468],[2.572,-1.117],[.773,2.468],[-1.215,2.241],[-2.572,-1.706]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.349019616842,.027450980619,.176470592618,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[520.394,198.018],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 44",np:2,cix:2,bm:0,ix:44,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.394,198.018],ix:2},a:{a:0,k:[520.394,198.018],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:44,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[520.513,222.814],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.513,222.814],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.513,222.814],ix:2},a:{a:0,k:[520.513,222.814],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:1,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[520.516,206.021],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.516,206.021],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.516,206.021],ix:2},a:{a:0,k:[520.516,206.021],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:1,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:7,ty:4,nm:"Layer 44",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[581.492,205.328,0],ix:2},a:{a:0,k:[520.514,169.763,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ef:[{ty:21,nm:"Fill",np:9,mn:"ADBE Fill",ix:1,en:1,ef:[{ty:10,nm:"Fill Mask",mn:"ADBE Fill-0001",ix:1,v:{a:0,k:0,ix:1}},{ty:7,nm:"All Masks",mn:"ADBE Fill-0007",ix:2,v:{a:0,k:0,ix:2}},{ty:2,nm:"Color",mn:"ADBE Fill-0002",ix:3,v:{a:0,k:[.03238754347,.261481970549,.317647069693,1],ix:3}},{ty:7,nm:"Invert",mn:"ADBE Fill-0006",ix:4,v:{a:0,k:0,ix:4}},{ty:0,nm:"Horizontal Feather",mn:"ADBE Fill-0003",ix:5,v:{a:0,k:0,ix:5}},{ty:0,nm:"Vertical Feather",mn:"ADBE Fill-0004",ix:6,v:{a:0,k:0,ix:6}}
vendor: 30,995 bytes, line 717
717,{ty:0,nm:"Opacity",mn:"ADBE Fill-0005",ix:7,v:{a:0,k:1,ix:7}}]}],shapes:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[1.645,.13],[-1.647,.13],[-1.664,-.13],[1.664,-.13]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.749019622803,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[523.833,166.19],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[1.688,-1.445],[-1.688,-1.445],[-1.522,1.055],[0,1.445],[1.496,1.121]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[523.835,167.169],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.199,0],[0,-.186],[-.199,0],[0,.186]],o:[[-.199,0],[0,.186],[.199,0],[0,-.186]],v:[[0,-.337],[-.36,0],[0,.337],[.36,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.04,0],[0,.037],[-.04,0],[0,-.037]],o:[[-.04,0],[0,-.037],[.04,0],[0,.037]],v:[[-.128,.068],[-.2,0],[-.128,-.068],[-.056,0]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[.04,0],[0,.037],[-.04,0],[0,-.038]],o:[[-.04,0],[0,-.038],[.04,0],[0,.037]],v:[[.132,.071],[.059,.003],[.132,-.065],[.204,.003]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[521.125,176.233],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:4,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.199,0],[0,-.186],[-.199,0],[0,.186]],o:[[-.199,0],[0,.186],[.199,0],[0,-.186]],v:[[0,-.337],[-.36,0],[0,.337],[.36,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.04,0],[0,.037],[-.04,0],[0,-.038]],o:[[-.04,0],[0,-.038],[.04,0],[0,.037]],v:[[-.128,.068],[-.2,0],[-.128,-.068],[-.056,0]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[.04,0],[0,.037],[-.04,0],[0,-.037]],o:[[-.04,0],[0,-.037],[.04,0],[0,.037]],v:[[.132,.071],[.059,.003],[.132,-.064],[.204,.003]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[521.125,173.099],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 4",np:4,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.199,0],[0,-.186],[-.199,0],[0,.186]],o:[[-.199,0],[0,.186],[.199,0],[0,-.186]],v:[[0,-.337],[-.36,0],[0,.337],[.36,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.04,0],[0,.037],[-.04,0],[0,-.037]],o:[[-.04,0],[0,-.037],[.04,0],[0,.037]],v:[[-.128,.068],[-.2,0],[-.128,-.068],[-.056,0]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[.04,0],[0,.037],[-.04,0],[0,-.038]],o:[[-.04,0],[0,-.038],[.04,0],[0,.037]],v:[[.132,.071],[.059,.004],[.132,-.064],[.204,.004]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[521.125,169.965],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 5",np:4,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.199,0],[0,-.186],[-.199,0],[0,.186]],o:[[-.199,0],[0,.186],[.199,0],[0,-.186]],v:[[0,-.337],[-.36,0],[0,.337],[.36,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.04,0],[0,.037],[-.04,0],[0,-.038]],o:[[-.04,0],[0,-.038],[.04,0],[0,.037]],v:[[-.128,.068],[-.2,0],[-.128,-.068],[-.056,0]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[.04,0],[0,.037],[-.04,0],[0,-.037]],o:[[-.04,0],[0,-.037],[.04,0],[0,.037]],v:[[.132,.071],[.059,.003],[.132,-.064],[.204,.003]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[521.125,166.832],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:4,cix:2,bm:0,ix:6,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.199,0],[0,-.186],[-.199,0],[0,.186]],o:[[-.199,0],[0,.186],[.199,0],[0,-.186]],v:[[0,-.337],[-.36,0],[0,.337],[.36,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.04,0],[0,.037],[-.04,0],[0,-.037]],o:[[-.04,0],[0,-.037],[.04,0],[0,.037]],v:[[-.128,.068],[-.2,0],[-.128,-.067],[-.056,0]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[.04,0],[0,.037],[-.04,0],[0,-.037]],o:[[-.04,0],[0,-.037],[.04,0],[0,.037]],v:[[.132,.071],[.059,.004],[.132,-.064],[.204,.004]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[521.125,163.698],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:4,cix:2,bm:0,ix:7,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-.158,-8.426],[-.158,8.402],[.158,8.426],[.158,-8.247]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[520.356,171.24],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 8",np:2,cix:2,bm:0,ix:8,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-.611,-.046],[.252,-.572],[.611,-.121],[-.611,.572]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[521.125,162.421],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,bm:0,ix:9,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-.252,-.572],[.611,-.046],[.611,.572],[-.611,-.121]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[519.903,162.421],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:2,cix:2,bm:0,ix:10,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[.436,-1.989],[1.145,-.204],[.436,1.989],[-1.145,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.522,161.849],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:11,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-1.222,-.62],[-1.222,.62],[.622,.604],[1.222,-.62]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[521.736,160.48],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:2,cix:2,bm:0,ix:12,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-.436,-1.989],[-1.145,-.204],[-.436,1.989],[1.145,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[518.506,161.849],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 13",np:2,cix:2,bm:0,ix:13,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[1.222,-.62],[1.222,.62],[-.622,.604],[-1.222,-.62]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[519.292,160.48],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 14",np:2,cix:2,bm:0,ix:14,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[.978,.462],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[-.448,-.212],[0,0],[0,0]],v:[[-3.321,-8.008],[1.64,-9.283],[3.321,-9.283],[3.321,9.283],[-.829,8.606],[-2.394,7.447],[-2.503,-2.346]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.749019622803,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[517.193,170.383],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 15",np:2,cix:2,bm:0,ix:15,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[6.641,-8.008],[5.88,-2.733],[7.241,-1.581],[10.519,-3.519]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-6.642,-8.008],[-5.88,-2.733],[-7.241,-1.581],[-10.519,-3.519]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[-.977,.462],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[.448,-.211],[0,0],[0,0]],v:[[6.641,-8.008],[1.681,-9.283],[0,-9.283],[0,9.283],[4.119,8.769],[5.715,7.447],[5.824,-2.346]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.749019622803,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.514,170.383],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 16",np:1,cix:2,bm:0,ix:16,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.514,170.383],ix:2},a:{a:0,k:[520.514,170.383],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:16,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[520.516,186.557],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.516,186.557],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.516,186.557],ix:2},a:{a:0,k:[520.516,186.557],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:1,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[520.516,169.764],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.516,169.764],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.516,169.764],ix:2},a:{a:0,k:[520.516,169.764],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:1,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:8,ty:4,nm:"Layer 41",parent:2,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[577.267,205.328,0],ix:2},a:{a:0,k:[520.514,169.763,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ef:[{ty:21,nm:"Fill",np:9,mn:"ADBE Fill",ix:1,en:1,ef:[{ty:10,nm:"Fill Mask",mn:"ADBE Fill-0001",ix:1,v:{a:0,k:0,ix:1}},{ty:7,nm:"All Masks",mn:"ADBE Fill-0007",ix:2,v:{a:0,k:0,ix:2}},{ty:2,nm:"Color",mn:"ADBE Fill-0002",ix:3,v:{a:0,k:[.03238754347,.261481970549,.317647069693,1],ix:3}},{ty:7,nm:"Invert",mn:"ADBE Fill-0006",ix:4,v:{a:0,k:0,ix:4}},{ty:0,nm:"Horizontal Feather",mn:"ADBE Fill-0003",ix:5,v:{a:0,k:0,ix:5}},{ty:0,nm:"Vertical Feather",mn:"ADBE Fill-0004",ix:6,v:{a:0,k:0,ix:6}},{ty:0,nm:"Opacity",mn:"ADBE Fill-0005",ix:7,v:{a:0,k:1,ix:7}}]}],shapes:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[1.645,.13],[-1.647,.13],[-1.664,-.13],[1.664,-.13]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.749019622803,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[523.833,166.19],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[1.688,-1.445],[-1.688,-1.445],[-1.522,1.055],[0,1.445],[1.496,1.121]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[523.835,167.169],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.199,0],[0,-.186],[-.199,0],[0,.186]],o:[[-.199,0],[0,.186],[.199,0],[0,-.186]],v:[[0,-.337],[-.36,0],[0,.337],[.36,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.04,0],[0,.037],[-.04,0],[0,-.037]],o:[[-.04,0],[0,-.037],[.04,0],[0,.037]],v:[[-.128,.068],[-.2,0],[-.128,-.068],[-.056,0]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[.04,0],[0,.037],[-.04,0],[0,-.038]],o:[[-.04,0],[0,-.038],[.04,0],[0,.037]],v:[[.132,.071],[.059,.003],[.132,-.065],[.204,.003]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[521.125,176.233],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:4,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.199,0],[0,-.186],[-.199,0],[0,.186]],o:[[-.199,0],[0,.186],[.199,0],[0,-.186]],v:[[0,-.337],[-.36,0],[0,.337],[.36,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.04,0],[0,.037],[-.04,0],[0,-.038]],o:[[-.04,0],[0,-.038],[.04,0],[0,.037]],v:[[-.128,.068],[-.2,0],[-.128,-.068],[-.056,0]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[.04,0],[0,.037],[-.04,0],[0,-.037]],o:[[-.04,0],[0,-.037],[.04,0],[0,.037]],v:[[.132,.071],[.059,.003],[.132,-.064],[.204,.003]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[521.125,173.099],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 4",np:4,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.199,0],[0,-.186],[-.199,0],[0,.186]],o:[[-.199,0],[0,.186],[.199,0],[0,-.186]],v:[[0,-.337],[-.36,0],[0,.337],[.36,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.04,0],[0,.037],[-.04,0],[0,-.037]],o:[[-.04,0],[0,-.037],[.04,0],[0,.037]],v:[[-.128,.068],[-.2,0],[-.128,-.068],[-.056,0]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[.04,0],[0,.037],[-.04,0],[0,-.038]],o:[[-.04,0],[0,-.038],[.04,0],[0,.037]],v:[[.132,.071],[.059,.004],[.132,-.064],[.204,.004]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[521.125,169.965],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 5",np:4,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.199,0],[0,-.186],[-.199,0],[0,.186]],o:[[-.199,0],[0,.186],[.199,0],[0,-.186]],v:[[0,-.337],[-.36,0],[0,.337],[.36,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.04,0],[0,.037],[-.04,0],[0,-.038]],o:[[-.04,0],[0,-.038],[.04,0],[0,.037]],v:[[-.128,.068],[-.2,0],[-.128,-.068],[-.056,0]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[.04,0],[0,.037],[-.04,0],[0,-.037]],o:[[-.04,0],[0,-.037],[.04,0],[0,.037]],v:[[.132,.071],[.059,.003],[.132,-.064],[.204,.003]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[521.125,166.832],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:4,cix:2,bm:0,ix:6,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.199,0],[0,-.186],[-.199,0],[0,.186]],o:[[-.199,0],[0,.186],[.199,0],[0,-.186]],v:[[0,-.337],[-.36,0],[0,.337],[.36,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.04,0],[0,.037],[-.04,0],[0,-.037]],o:[[-.04,0],[0,-.037],[.04,0],[0,.037]],v:[[-.128,.068],[-.2,0],[-.128,-.067],[-.056,0]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[.04,0],[0,.037],[-.04,0],[0,-.037]],o:[[-.04,0],[0,-.037],[.04,0],[0,.037]],v:[[.132,.071],[.059,.004],[.132,-.064],[.204,.004]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[521.125,163.698],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:4,cix:2,bm:0,ix:7,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-.158,-8.426],[-.158,8.402],[.158,8.426],[.158,-8.247]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[520.356,171.24],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 8",np:2,cix:2,bm:0,ix:8,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-.611,-.046],[.252,-.572],[.611,-.121],[-.611,.572]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[521.125,162.421],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,bm:0,ix:9,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-.252,-.572],[.611,-.046],[.611,.572],[-.611,-.121]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[519.903,162.421],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:2,cix:2,bm:0,ix:10,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[.436,-1.989],[1.145,-.204],[.436,1.989],[-1.145,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[522.522,161.849],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:11,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-1.222,-.62],[-1.222,.62],[.622,.604],[1.222,-.62]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[521.736,160.48],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:2,cix:2,bm:0,ix:12,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-.436,-1.989],[-1.145,-.204],[-.436,1.989],[1.145,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[518.506,161.849],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 13",np:2,cix:2,bm:0,ix:13,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[1.222,-.62],[1.222,.62],[-.622,.604],[-1.222,-.62]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.615686297417,.360784322023,.290196090937,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[519.292,160.48],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 14",np:2,cix:2,bm:0,ix:14,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[.978,.462],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[-.448,-.212],[0,0],[0,0]],v:[[-3.321,-8.008],[1.64,-9.283],[3.321,-9.283],[3.321,9.283],[-.829,8.606],[-2.394,7.447],[-2.503,-2.346]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.749019622803,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[517.193,170.383],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 15",np:2,cix:2,bm:0,ix:15,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[6.641,-8.008],[5.88,-2.733],[7.241,-1.581],[10.519,-3.519]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-6.642,-8.008],[-5.88,-2.733],[-7.241,-1.581],[-10.519,-3.519]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[-.977,.462],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[.448,-.211],[0,0],[0,0]],v:[[6.641,-8.008],[1.681,-9.283],[0,-9.283],[0,9.283],[4.119,8.769],[5.715,7.447],[5.824,-2.346]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.749019622803,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.514,170.383],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 16",np:1,cix:2,bm:0,ix:16,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.514,170.383],ix:2},a:{a:0,k:[520.514,170.383],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:16,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[520.516,186.557],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.516,186.557],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.516,186.557],ix:2},a:{a:0,k:[520.516,186.557],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:1,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[520.516,169.764],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.516,169.764],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[520.516,169.764],ix:2},a:{a:0,k:[520.516,169.764],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:1,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:9,ty:4,nm:"Layer 43",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[530.579,205.328,0],ix:2},a:{a:0,k:[460,169.84,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ef:[{ty:21,nm:"Fill",np:9,mn:"ADBE Fill",ix:1,en:1,ef:[{ty:10,nm:"Fill Mask",mn:"ADBE Fill-0001",ix:1,v:{a:0,k:0,ix:1}},{ty:7,nm:"All Masks",mn:"ADBE Fill-0007",ix:2,v:{a:0,k:0,ix:2}},{ty:2,nm:"Color",mn:"ADBE Fill-0002",ix:3,v:{a:0,k:[.03238754347,.261481970549,.317647069693,1],ix:3}},{ty:7,nm:"Invert",mn:"ADBE Fill-0006",ix:4,v:{a:0,k:0,ix:4}},{ty:0,nm:"Horizontal Feather",mn:"ADBE Fill-0003",ix:5,v:{a:0,k:0,ix:5}},{ty:0,nm:"Vertical Feather",mn:"ADBE Fill-0004",ix:6,v:{a:0,k:0,ix:6}}
vendor: 43,648 bytes, line 717
717,{ty:0,nm:"Opacity",mn:"ADBE Fill-0005",ix:7,v:{a:0,k:1,ix:7}}]}],shapes:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-.023,.492],[.285,.033],[0,0],[.304,-1.769],[.038,-.259]],o:[[.043,-.729],[.013,-.286],[0,0],[0,0],[-.031,.179],[0,0]],v:[[1.894,1.443],[1.999,-.556],[1.517,-1.166],[-.701,-1.443],[-1.912,.439],[-2,1.088]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.286274522543,.568627476692,.380392163992,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[453.25,171.518],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-.574,-.089],[.574,-.089],[.574,.089],[-.574,.089]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.666666686535,.568627476692,.341176480055,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[467.848,173.488],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.175,1.022],[0,0],[-.362,-.203],[-.216,.086],[0,0]],o:[[0,0],[.044,.252],[.078,.044],[0,0],[-.968,.385]],v:[[-.802,-.815],[-.25,-.909],[.347,.244],[.77,.249],[.802,.825]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.286274522543,.568627476692,.380392163992,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[468.15,173.533],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-.398,-.112],[.398,-.112],[.398,.112],[-.398,.112]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.666666686535,.568627476692,.341176480055,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[451.994,173.105],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 4",np:2,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.182,-.286],[.284,-.026],[0,0],[-.19,.298],[.069,.345]],o:[[.069,.29],[-.113,.177],[0,0],[.426,-.039],[.252,-.396],[0,0]],v:[[.071,-.887],[.009,.139],[-.581,.441],[-.54,.887],[.387,.38],[.528,-.887]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.219607844949,.439215689898,.32549020648,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[451.63,173.251],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 5",np:2,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-.098,1.148],[-.56,-1.049],[.106,-1.148],[.56,1.01]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.211764708161,.419607847929,.309803932905,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[462.457,161.842],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:2,cix:2,bm:0,ix:6,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[.137,1.051],[-.522,.921],[-.134,-1.051],[.522,-.908]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.211764708161,.419607847929,.309803932905,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[455.936,161.498],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:2,cix:2,bm:0,ix:7,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-.208],[.208,0],[0,.208],[-.208,0]],o:[[0,.208],[-.208,0],[0,-.208],[.208,0]],v:[[.377,0],[0,.377],[-.377,0],[0,-.377]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.129411771894,.298039227724,.207843139768,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[460.165,161.966],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 8",np:2,cix:2,bm:0,ix:8,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.095,.662],[-.312,-.662],[-.475,.048],[.131,.514],[-.056,.971]],o:[[.185,2.787],[.229,.424],[-.759,.245],[-.285,-.872],[.036,-.665]],v:[[-.655,-3.48],[-.354,2.907],[.884,3.401],[-.665,2.771],[-.84,-1.49]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.211764708161,.447058826685,.321568638086,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.952,166.719],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,bm:0,ix:9,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-.445],[-.529,.074],[0,0],[0,0],[4.058,-.376]],o:[[0,.534],[0,0],[0,0],[0,0],[-.443,.041]],v:[[-3.183,.492],[-2.183,1.362],[3.183,.607],[3.086,-1.371],[-2.409,-.381]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.239215686917,.498039215803,.349019616842,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[462.481,161.55],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:2,cix:2,bm:0,ix:10,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[2.314,1.157],[0,0],[-1.605,.299],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-3.368,-1.34],[-3.422,.436],[3.422,1.291],[3.422,-.113]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.168627455831,.368627458811,.254901975393,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[457.032,161.277],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:11,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.446,-.162],[.701,.178],[-.026,-.064],[-.72,.262],[-.074,1.65],[.376,.046]],o:[[-.073,1.63],[-.469,.171],[.028,.182],[.168,.409],[.443,-.161],[.017,-.379],[0,0]],v:[[1.068,-3.409],[.32,2.565],[-1.87,2.495],[-1.787,2.873],[1.122,3.309],[1.869,-2.637],[1.232,-3.389]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.168627455831,.368627458811,.254901975393,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[453.376,173.762],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:2,cix:2,bm:0,ix:12,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.436,-1.042],[-.168,-.409],[-.72,.262],[-.074,1.653],[.378,.046]],o:[[0,0],[-.436,1.042],[.168,.409],[.443,-.161],[.017,-.381],[0,0]],v:[[-.75,-3.525],[-1.71,-1.689],[-1.71,2.989],[1.199,3.425],[1.946,-2.517],[1.305,-3.274]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.223529413342,.529411792755,.333333343267,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[453.299,173.646],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 13",np:2,cix:2,bm:0,ix:13,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.941,1.507],[.448,-.022],[-.732,1.181]],o:[[-.599,1.2],[.298,-.046],[.07,-.113]],v:[[1.43,-2.145],[-1.43,2.145],[.743,-1.045]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.129411771894,.298039227724,.207843139768,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[453.941,164.189],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 14",np:2,cix:2,bm:0,ix:14,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.221,-2.005],[0,0],[0,0],[-.256,.349],[-.455,.758]],o:[[0,0],[0,0],[.1,0],[.41,-.558],[.029,2.241]],v:[[1.153,3.408],[-1.114,3.14],[-1.153,-.647],[-.591,-1.222],[.815,-3.408]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.243137255311,.474509805441,.35686275363,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[453.664,166.98],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 15",np:2,cix:2,bm:0,ix:15,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.41,-.558],[-.455,.758]],o:[[.41,-.558],[-.455,.758]],v:[[-.703,1.093],[.703,-1.093]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.219607844949,.435294121504,.321568638086,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[453.776,164.665],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 16",np:2,cix:2,bm:0,ix:16,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-.256,.349],[.1,0]],o:[[.1,0],[-.256,.349],[0,0]],v:[[-.281,.287],[.281,-.287],[-.281,.287]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.662745118141,.752941191196,.705882370472,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[452.792,166.046],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 17",np:2,cix:2,bm:0,ix:17,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.436,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[.873,-4.443],[-1.988,-.153],[-1.949,3.634],[.748,4.443],[1.988,-4.152]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.258823543787,.509803950787,.388235300779,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[454.498,166.486],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 18",np:2,cix:2,bm:0,ix:18,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.371,-.089],[.354,-2.871],[-.212,.489],[-.156,1.446]],o:[[-.089,.021],[.943,.264],[.29,-.67],[-.958,-.267]],v:[[-.722,-2.674],[-1.467,2.449],[.712,2.377],[1.467,-2.303]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.219607844949,.439215689898,.32549020648,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[454.518,163.49],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 19",np:2,cix:2,bm:0,ix:19,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.355,.959],[-.723,-.33],[0,0],[0,0],[-.017,.001],[0,0]],o:[[.836,1.722],[0,0],[0,0],[-.012,.001],[0,0],[-.961,-.364]],v:[[-1.527,-2.368],[1.254,2.344],[1.251,2.344],[1.527,2.356],[1.249,2.368],[1.247,2.367]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.129411771894,.298039227724,.207843139768,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[465.357,164.411],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 20",np:2,cix:2,bm:0,ix:20,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-.931,-.318],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-1.092,-4.266],[1.686,.457],[1.962,.457],[2.4,3.949],[.048,4.266],[-2.4,-3.951]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.258823543787,.509803950787,.388235300779,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[464.921,166.31],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 21",np:2,cix:2,bm:0,ix:21,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.199,.261],[.459,1.569],[.406,-2.305],[0,0]],o:[[-.744,-1.816],[-.341,-1.164],[0,0],[0,0]],v:[[2.132,4.151],[.102,-1.467],[-2.132,-3.855],[-.013,4.62]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.219607844949,.439215689898,.32549020648,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[461.92,175.109],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 22",np:2,cix:2,bm:0,ix:22,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.897,0],[0,-.388],[-1.534,.145]],o:[[0,0],[0,.388],[0,0]],v:[[-2.395,-.752],[-3.365,-.437],[3.365,.742]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.243137255311,.35686275363,.270588248968,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[454.955,178.986],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 23",np:2,cix:2,bm:0,ix:23,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.074,.251],[0,0],[0,0],[-.003,-.369],[-.03,-.766]],o:[[-.059,-.412],[-.376,-1.273],[0,0],[-.368,.032],[.004,.489],[0,0]],v:[[2.067,1.199],[1.953,.275],[.531,-1.409],[-1.421,-1.272],[-2.067,-.561],[-2.022,1.409]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.286274522543,.568627476692,.380392163992,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[466.816,171.794],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 24",np:2,cix:2,bm:0,ix:24,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.464,.171],[.014,1.487],[-.006,-.445],[-.459,-.169],[-.18,.404],[-.013,.097]],o:[[-.49,-.18],[0,0],[.022,1.722],[.719,.265],[.019,-.042],[-.827,.15]],v:[[-.486,2.528],[-1.066,-3.203],[-1.984,-2.765],[-1.402,3.086],[1.936,2.733],[1.984,2.52]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.168627455831,.368627458811,.254901975393,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[466.738,174.132],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 25",np:2,cix:2,bm:0,ix:25,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.249,-.481],[-.185,-.479],[.179,-.404],[.719,.265],[.026,1.792],[-.529,.049]],o:[[.168,.325],[.406,1.054],[-.18,.404],[-.446,-.164],[-.008,-.531],[1.421,-.132]],v:[[1.069,-3.037],[1.626,-1.805],[1.91,2.871],[-1.427,3.224],[-2.007,-2.474],[-1.083,-3.184]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.223529413342,.529411792755,.333333343267,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[466.763,173.995],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 26",np:2,cix:2,bm:0,ix:26,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[1.461,-.314],[-1.419,-.642],[-.386,.001]],o:[[0,0],[.351,1.809],[.784,.355],[0,0]],v:[[.748,-3.457],[-2.162,-2.801],[.437,2.998],[2.162,3.457]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.219607844949,.439215689898,.32549020648,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[464.682,164.467],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 27",np:2,cix:2,bm:0,ix:27,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.412,-.1],[0,0],[-1.62,-.62],[-.904,-.146],[.789,3.811],[-.757,3.183]],o:[[-.251,.061],[0,0],[.659,.252],[.185,-2.907],[-.539,-2.602],[-1.085,-.312]],v:[[-.155,-9.288],[-2.361,8.446],[-.672,8.713],[1.849,9.31],[1.295,.637],[2.361,-8.824]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.219607844949,.427450984716,.317647069693,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[453.951,170.103],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 28",np:2,cix:2,bm:0,ix:28,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.937,-.226],[0,0],[-1.62,-.62],[0,0],[-.494,.494],[0,0],[-.213,0],[0,0],[.857,0]],o:[[-.251,.061],[0,0],[1.62,.62],[0,0],[0,0],[0,0],[0,0],[0,0],[-.857,0]],v:[[-6.476,-9.445],[-8.681,8.289],[-6.993,8.555],[-1.951,9.468],[-.484,.993],[1.636,9.468],[8.681,7.968],[5.159,-9.251],[-.609,-8.088]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.258823543787,.509803950787,.388235300779,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[460.271,170.261],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 29",np:2,cix:2,bm:0,ix:29,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[460.271,170.261],ix:2},a:{a:0,k:[460.271,170.261],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:29,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[460,186.122],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[460,186.122],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[460,186.122],ix:2},a:{a:0,k:[460,186.122],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:1,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[460,169.84],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[460,169.84],ix:2},a:{a:0,k:[460,169.84],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:1,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:10,ty:4,nm:"Layer 40",parent:2,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[530.579,205.328,0],ix:2},a:{a:0,k:[460,169.84,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ef:[{ty:21,nm:"Fill",np:9,mn:"ADBE Fill",ix:1,en:1,ef:[{ty:10,nm:"Fill Mask",mn:"ADBE Fill-0001",ix:1,v:{a:0,k:0,ix:1}},{ty:7,nm:"All Masks",mn:"ADBE Fill-0007",ix:2,v:{a:0,k:0,ix:2}},{ty:2,nm:"Color",mn:"ADBE Fill-0002",ix:3,v:{a:0,k:[.03238754347,.261481970549,.317647069693,1],ix:3}},{ty:7,nm:"Invert",mn:"ADBE Fill-0006",ix:4,v:{a:0,k:0,ix:4}},{ty:0,nm:"Horizontal Feather",mn:"ADBE Fill-0003",ix:5,v:{a:0,k:0,ix:5}},{ty:0,nm:"Vertical Feather",mn:"ADBE Fill-0004",ix:6,v:{a:0,k:0,ix:6}},{ty:0,nm:"Opacity",mn:"ADBE Fill-0005",ix:7,v:{a:0,k:1,ix:7}}]}],shapes:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-.023,.492],[.285,.033],[0,0],[.304,-1.769],[.038,-.259]],o:[[.043,-.729],[.013,-.286],[0,0],[0,0],[-.031,.179],[0,0]],v:[[1.894,1.443],[1.999,-.556],[1.517,-1.166],[-.701,-1.443],[-1.912,.439],[-2,1.088]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.286274522543,.568627476692,.380392163992,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[453.25,171.518],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-.574,-.089],[.574,-.089],[.574,.089],[-.574,.089]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.666666686535,.568627476692,.341176480055,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[467.848,173.488],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.175,1.022],[0,0],[-.362,-.203],[-.216,.086],[0,0]],o:[[0,0],[.044,.252],[.078,.044],[0,0],[-.968,.385]],v:[[-.802,-.815],[-.25,-.909],[.347,.244],[.77,.249],[.802,.825]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.286274522543,.568627476692,.380392163992,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[468.15,173.533],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-.398,-.112],[.398,-.112],[.398,.112],[-.398,.112]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.666666686535,.568627476692,.341176480055,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[451.994,173.105],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 4",np:2,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.182,-.286],[.284,-.026],[0,0],[-.19,.298],[.069,.345]],o:[[.069,.29],[-.113,.177],[0,0],[.426,-.039],[.252,-.396],[0,0]],v:[[.071,-.887],[.009,.139],[-.581,.441],[-.54,.887],[.387,.38],[.528,-.887]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.219607844949,.439215689898,.32549020648,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[451.63,173.251],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 5",np:2,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-.098,1.148],[-.56,-1.049],[.106,-1.148],[.56,1.01]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.211764708161,.419607847929,.309803932905,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[462.457,161.842],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:2,cix:2,bm:0,ix:6,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[.137,1.051],[-.522,.921],[-.134,-1.051],[.522,-.908]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.211764708161,.419607847929,.309803932905,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[455.936,161.498],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:2,cix:2,bm:0,ix:7,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-.208],[.208,0],[0,.208],[-.208,0]],o:[[0,.208],[-.208,0],[0,-.208],[.208,0]],v:[[.377,0],[0,.377],[-.377,0],[0,-.377]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.129411771894,.298039227724,.207843139768,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[460.165,161.966],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 8",np:2,cix:2,bm:0,ix:8,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.095,.662],[-.312,-.662],[-.475,.048],[.131,.514],[-.056,.971]],o:[[.185,2.787],[.229,.424],[-.759,.245],[-.285,-.872],[.036,-.665]],v:[[-.655,-3.48],[-.354,2.907],[.884,3.401],[-.665,2.771],[-.84,-1.49]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.211764708161,.447058826685,.321568638086,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[459.952,166.719],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,bm:0,ix:9,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-.445],[-.529,.074],[0,0],[0,0],[4.058,-.376]],o:[[0,.534],[0,0],[0,0],[0,0],[-.443,.041]],v:[[-3.183,.492],[-2.183,1.362],[3.183,.607],[3.086,-1.371],[-2.409,-.381]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.239215686917,.498039215803,.349019616842,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[462.481,161.55],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:2,cix:2,bm:0,ix:10,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[2.314,1.157],[0,0],[-1.605,.299],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-3.368,-1.34],[-3.422,.436],[3.422,1.291],[3.422,-.113]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.168627455831,.368627458811,.254901975393,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[457.032,161.277],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:11,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.446,-.162],[.701,.178],[-.026,-.064],[-.72,.262],[-.074,1.65],[.376,.046]],o:[[-.073,1.63],[-.469,.171],[.028,.182],[.168,.409],[.443,-.161],[.017,-.379],[0,0]],v:[[1.068,-3.409],[.32,2.565],[-1.87,2.495],[-1.787,2.873],[1.122,3.309],[1.869,-2.637],[1.232,-3.389]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.168627455831,.368627458811,.254901975393,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[453.376,173.762],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:2,cix:2,bm:0,ix:12,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.436,-1.042],[-.168,-.409],[-.72,.262],[-.074,1.653],[.378,.046]],o:[[0,0],[-.436,1.042],[.168,.409],[.443,-.161],[.017,-.381],[0,0]],v:[[-.75,-3.525],[-1.71,-1.689],[-1.71,2.989],[1.199,3.425],[1.946,-2.517],[1.305,-3.274]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.223529413342,.529411792755,.333333343267,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[453.299,173.646],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 13",np:2,cix:2,bm:0,ix:13,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.941,1.507],[.448,-.022],[-.732,1.181]],o:[[-.599,1.2],[.298,-.046],[.07,-.113]],v:[[1.43,-2.145],[-1.43,2.145],[.743,-1.045]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.129411771894,.298039227724,.207843139768,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[453.941,164.189],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 14",np:2,cix:2,bm:0,ix:14,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.221,-2.005],[0,0],[0,0],[-.256,.349],[-.455,.758]],o:[[0,0],[0,0],[.1,0],[.41,-.558],[.029,2.241]],v:[[1.153,3.408],[-1.114,3.14],[-1.153,-.647],[-.591,-1.222],[.815,-3.408]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.243137255311,.474509805441,.35686275363,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[453.664,166.98],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 15",np:2,cix:2,bm:0,ix:15,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.41,-.558],[-.455,.758]],o:[[.41,-.558],[-.455,.758]],v:[[-.703,1.093],[.703,-1.093]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.219607844949,.435294121504,.321568638086,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[453.776,164.665],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 16",np:2,cix:2,bm:0,ix:16,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-.256,.349],[.1,0]],o:[[.1,0],[-.256,.349],[0,0]],v:[[-.281,.287],[.281,-.287],[-.281,.287]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.662745118141,.752941191196,.705882370472,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[452.792,166.046],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 17",np:2,cix:2,bm:0,ix:17,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.436,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[.873,-4.443],[-1.988,-.153],[-1.949,3.634],[.748,4.443],[1.988,-4.152]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.258823543787,.509803950787,.388235300779,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[454.498,166.486],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 18",np:2,cix:2,bm:0,ix:18,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.371,-.089],[.354,-2.871],[-.212,.489],[-.156,1.446]],o:[[-.089,.021],[.943,.264],[.29,-.67],[-.958,-.267]],v:[[-.722,-2.674],[-1.467,2.449],[.712,2.377],[1.467,-2.303]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.219607844949,.439215689898,.32549020648,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[454.518,163.49],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 19",np:2,cix:2,bm:0,ix:19,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.355,.959],[-.723,-.33],[0,0],[0,0],[-.017,.001],[0,0]],o:[[.836,1.722],[0,0],[0,0],[-.012,.001],[0,0],[-.961,-.364]],v:[[-1.527,-2.368],[1.254,2.344],[1.251,2.344],[1.527,2.356],[1.249,2.368],[1.247,2.367]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.129411771894,.298039227724,.207843139768,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[465.357,164.411],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 20",np:2,cix:2,bm:0,ix:20,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-.931,-.318],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-1.092,-4.266],[1.686,.457],[1.962,.457],[2.4,3.949],[.048,4.266],[-2.4,-3.951]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.258823543787,.509803950787,.388235300779,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[464.921,166.31],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 21",np:2,cix:2,bm:0,ix:21,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.199,.261],[.459,1.569],[.406,-2.305],[0,0]],o:[[-.744,-1.816],[-.341,-1.164],[0,0],[0,0]],v:[[2.132,4.151],[.102,-1.467],[-2.132,-3.855],[-.013,4.62]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.219607844949,.439215689898,.32549020648,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[461.92,175.109],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 22",np:2,cix:2,bm:0,ix:22,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.897,0],[0,-.388],[-1.534,.145]],o:[[0,0],[0,.388],[0,0]],v:[[-2.395,-.752],[-3.365,-.437],[3.365,.742]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.243137255311,.35686275363,.270588248968,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[454.955,178.986],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 23",np:2,cix:2,bm:0,ix:23,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.074,.251],[0,0],[0,0],[-.003,-.369],[-.03,-.766]],o:[[-.059,-.412],[-.376,-1.273],[0,0],[-.368,.032],[.004,.489],[0,0]],v:[[2.067,1.199],[1.953,.275],[.531,-1.409],[-1.421,-1.272],[-2.067,-.561],[-2.022,1.409]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.286274522543,.568627476692,.380392163992,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[466.816,171.794],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 24",np:2,cix:2,bm:0,ix:24,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.464,.171],[.014,1.487],[-.006,-.445],[-.459,-.169],[-.18,.404],[-.013,.097]],o:[[-.49,-.18],[0,0],[.022,1.722],[.719,.265],[.019,-.042],[-.827,.15]],v:[[-.486,2.528],[-1.066,-3.203],[-1.984,-2.765],[-1.402,3.086],[1.936,2.733],[1.984,2.52]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.168627455831,.368627458811,.254901975393,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[466.738,174.132],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 25",np:2,cix:2,bm:0,ix:25,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.249,-.481],[-.185,-.479],[.179,-.404],[.719,.265],[.026,1.792],[-.529,.049]],o:[[.168,.325],[.406,1.054],[-.18,.404],[-.446,-.164],[-.008,-.531],[1.421,-.132]],v:[[1.069,-3.037],[1.626,-1.805],[1.91,2.871],[-1.427,3.224],[-2.007,-2.474],[-1.083,-3.184]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.223529413342,.529411792755,.333333343267,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[466.763,173.995],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 26",np:2,cix:2,bm:0,ix:26,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[1.461,-.314],[-1.419,-.642],[-.386,.001]],o:[[0,0],[.351,1.809],[.784,.355],[0,0]],v:[[.748,-3.457],[-2.162,-2.801],[.437,2.998],[2.162,3.457]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.219607844949,.439215689898,.32549020648,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[464.682,164.467],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 27",np:2,cix:2,bm:0,ix:27,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.412,-.1],[0,0],[-1.62,-.62],[-.904,-.146],[.789,3.811],[-.757,3.183]],o:[[-.251,.061],[0,0],[.659,.252],[.185,-2.907],[-.539,-2.602],[-1.085,-.312]],v:[[-.155,-9.288],[-2.361,8.446],[-.672,8.713],[1.849,9.31],[1.295,.637],[2.361,-8.824]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.219607844949,.427450984716,.317647069693,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[453.951,170.103],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 28",np:2,cix:2,bm:0,ix:28,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.937,-.226],[0,0],[-1.62,-.62],[0,0],[-.494,.494],[0,0],[-.213,0],[0,0],[.857,0]],o:[[-.251,.061],[0,0],[1.62,.62],[0,0],[0,0],[0,0],[0,0],[0,0],[-.857,0]],v:[[-6.476,-9.445],[-8.681,8.289],[-6.993,8.555],[-1.951,9.468],[-.484,.993],[1.636,9.468],[8.681,7.968],[5.159,-9.251],[-.609,-8.088]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.258823543787,.509803950787,.388235300779,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[460.271,170.261],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 29",np:2,cix:2,bm:0,ix:29,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[460.271,170.261],ix:2},a:{a:0,k:[460.271,170.261],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:29,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[460,186.122],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[460,186.122],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[460,186.122],ix:2},a:{a:0,k:[460,186.122],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:1,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[460,169.84],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[460,169.84],ix:2},a:{a:0,k:[460,169.84],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:1,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:11,ty:4,nm:"Layer 42",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[553.959,206.797,0],ix:2},a:{a:0,k:[490.7,206.02,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ef:[{ty:21,nm:"Fill",np:9,mn:"ADBE Fill",ix:1,en:1,ef:[{ty:10,nm:"Fill Mask",mn:"ADBE Fill-0001",ix:1,v:{a:0,k:0,ix:1}},{ty:7,nm:"All Masks",mn:"ADBE Fill-0007",ix:2,v:{a:0,k:0,ix:2}},{ty:2,nm:"Color",mn:"ADBE Fill-0002",ix:3,v:{a:0,k:[.03238754347,.261481970549,.317647069693,1],ix:3}},{ty:7,nm:"Invert",mn:"ADBE Fill-0006",ix:4,v:{a:0,k:0,ix:4}},{ty:0,nm:"Horizontal Feather",mn:"ADBE Fill-0003",ix:5,v:{a:0,k:0,ix:5}},{ty:0,nm:"Vertical Feather",mn:"ADBE Fill-0004",ix:6,v:{a:0,k:0,ix:6}}
vendor: 7,132 bytes, line 717
717,{ty:0,nm:"Opacity",mn:"ADBE Fill-0005",ix:7,v:{a:0,k:1,ix:7}}]}],shapes:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-.171],[.189,0],[0,.171],[-.189,0]],o:[[0,.171],[-.189,0],[0,-.171],[.189,0]],v:[[.343,0],[0,.309],[-.343,0],[0,-.309]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.262745112181,.015686275437,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[492.454,205.998],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.371,.669],[0,0],[.002,-.01],[.142,-.076],[.47,.388],[0,0],[-.638,.32],[-.033,.029]],o:[[0,0],[.317,.501],[-.025,.026],[-.52,.305],[0,0],[.512,.486],[.203,-.092],[.001,-.013]],v:[[1.249,-.646],[1.007,-.494],[1.123,.265],[.927,.435],[-1.427,-.669],[-1.429,-.666],[1.014,.612],[1.304,.389]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.262745112181,.015686275437,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[493.948,206.829],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.408,.289],[-.015,.554],[-.008,-.232],[-1.433,.561],[0,0]],o:[[-.443,-.34],[.003,-.004],[.048,1.563],[0,0],[-.427,.262]],v:[[-.632,.692],[-1.082,-.943],[-1.138,-.517],[1.139,.648],[1.007,.395]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.262745112181,.015686275437,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[493.399,207.135],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.225,.213],[.008,.01],[.297,-1.039],[-.747,-.794],[.455,-.224],[.553,-.175],[-.561,.202]],o:[[.707,-.728],[-1.043,-.534],[.597,-.934],[.366,.35],[-.504,.239],[.58,-.019],[.29,-.105]],v:[[1.135,.289],[.852,-.946],[-1.391,1.058],[.886,-.455],[.216,.473],[-1.391,1.058],[.331,.747]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.262745112181,.015686275437,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[493.986,204.932],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 4",np:2,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.004,-.031],[.511,.599],[.119,-.385],[-.614,-.552]],o:[[.117,-.858],[-.343,-.404],[-.268,.789],[.004,.03]],v:[[.7,1.594],[.261,-1.392],[-.711,-1.146],[.687,1.503]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[-.396,.475],[-.097,-.115],[-.081,-.558]],o:[[.109,-.1],[.392,.411],[-.351,-.573]],v:[[-.29,-1.127],[-.02,-1.142],[.685,1.49]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.262745112181,.015686275437,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[491.597,204.475],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 5",np:3,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.74,.577],[-.97,-.213],[.524,-.524]],o:[[0,0],[.97,.213],[-.524,.524]],v:[[-2.148,-.49],[-.134,-.735],[2.138,.653]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.741176486015,.113725490868,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[487.175,206.48],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:2,cix:2,bm:0,ix:6,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.116,0],[.397,.034],[.034,.003],[-.063,.209],[0,0],[-.227,0],[-.249,.013],[-.006,0],[0,0],[.088,-.004]],o:[[-.491,0],[-.035,-.003],[.143,-.159],[0,0],[.228,.012],[.28,0],[.006,0],[.084,.43],[-.078,.005],[-.122,.006]],v:[[.394,.32],[-.932,.239],[-1.036,.23],[-.717,-.315],[-.716,-.315],[-.031,-.298],[.771,-.319],[.789,-.32],[1.036,.285],[.751,.311]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.847058832645,.078431375325,.023529412225,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[493.632,206.187],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:2,cix:2,bm:0,ix:7,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.006,0],[-.006,0]],o:[[.006,0],[-.006,0]],v:[[.915,-.278],[.933,-.279]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[-.035,-.003],[.048,.004],[-.07,.213],[-.028,-.002],[.143,-.159]],o:[[-.049,-.004],[.105,-.151],[.028,.002],[-.063,.209],[.034,.003]],v:[[-.788,.279],[-.933,.268],[-.658,-.279],[-.573,-.274],[-.892,.27]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.082352943718,.141176477075,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[493.488,206.146],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 8",np:3,cix:2,bm:0,ix:8,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[2.034,-.002],[.009,.022],[0,0],[-.03,.001],[-.129,0],[-.718,.51],[-.103,.176]],o:[[-.009,-.022],[0,0],[.031,0],[.115,.001],[1.029,0],[.162,-.118],[-.483,.912]],v:[[-1.994,.539],[-2.021,.473],[-2.007,.473],[-1.916,.472],[-1.548,.474],[1.615,-.098],[2.021,-.539]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.800000011921,.172549024224,.007843137719,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[498.337,209.307],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,bm:0,ix:9,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.28,0],[.228,.012],[0,0],[.028,.002],[.214,.585],[.647,.679],[-.005,0],[-.006,0],[0,0],[-.008,0],[-.906,-.906],[0,-.452],[0,-.281],[-.03,-.151],[.006,0]],o:[[-.227,0],[0,0],[-.028,-.002],[.128,-.388],[-.278,
vendor: 8,680 bytes, line 717
717-.758],[.005,0],[.007,0],[0,0],[0,0],[.144,0],[.636,.636],[0,.229],[0,.218],[-.006,0],[-.249,.013]],v:[[-2.166,-.069],[-2.851,-.086],[-2.851,-.085],[-2.937,-.09],[-2.993,-1.553],[-4.592,-3.824],[-4.577,-3.824],[-4.557,-3.824],[-4.551,-3.824],[-4.539,-3.824],[-2.11,-2.893],[-1.368,-1.389],[-1.396,-.641],[-1.346,-.09],[-1.364,-.089]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[1.029,0],[.115,.001],[.031,0],[0,0],[.208,.208],[0,0],[-.242,.348],[-.049,-.004],[-.491,0],[-.122,.006],[-.078,.005],[0,0],[.162,-.118]],o:[[-.129,0],[-.03,.001],[0,0],[-.107,-.254],[-.776,-.776],[0,0],[.048,.004],[.397,.034],[.116,0],[.088,-.004],[1.429,.697],[-.103,.176],[-.718,.51]],v:[[1.022,3.824],[.655,3.822],[.563,3.823],[.55,3.823],[.087,3.112],[-3.723,.984],[-3.212,.457],[-3.066,.468],[-1.741,.549],[-1.384,.54],[-1.099,.514],[4.592,2.81],[4.186,3.252]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.494117647409,.078431375325,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[495.767,205.957],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:3,cix:2,bm:0,ix:10,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.006,0],[.007,0]],o:[[-.006,0],[.007,0]],v:[[.007,0],[-.013,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[.013,0],[.009,0]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.847058832645,.709803938866,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[491.202,202.133],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:3,cix:2,bm:0,ix:11,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.06,.302],[.516,.027],[.143,-.159],[-.684,.033],[-.078,.005]],o:[[-.455,.024],[-.063,.209],[.517,.042],[.088,-.004],[-.053,-.078]],v:[[.789,-.32],[-.716,-.315],[-1.036,.23],[.751,.311],[1.036,.285]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.847058832645,.0941176489,.035294119269,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[493.632,206.187],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:2,cix:2,bm:0,ix:12,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.861,.187],[-.078,.005],[.06,.302],[.719,.113],[1.79,.406],[.198,-.146]],o:[[.088,-.004],[-.053,-.078],[-.704,.037],[-1.955,-.307],[-.111,.177],[2.735,.536]],v:[[3.546,1.006],[3.795,.993],[3.585,.437],[1.266,.361],[-3.345,-1.026],[-3.795,-.537]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.098039217293,.196078434587,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.836,205.43],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 13",np:2,cix:2,bm:0,ix:13,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[4.811,-.249],[-2.832,-.893],[-1.427,.035],[-.808,.574],[-.103,.176],[.809,-.111],[.749,.065],[0,0]],o:[[2.605,-.293],[2.51,.791],[1.03,.011],[.162,-.118],[-.374,.716],[-.668,.085],[0,0],[-4.259,-.572]],v:[[-9.36,-1.557],[-.779,-.065],[5.423,1.482],[8.954,.912],[9.36,.471],[7.248,1.51],[4.809,1.585],[4.505,1.543]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.800000011921,.203921571374,.011764706112,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.999,208.297],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 14",np:2,cix:2,bm:0,ix:14,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.349,0],[.317,-.862],[-.836,-.374],[-.19,.808]],o:[[0,0],[-.318,.862],[.837,.374],[.19,-.808]],v:[[.318,-1.045],[-1.408,-.365],[-.804,.877],[1.556,.254]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.741176486015,.113725490868,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[489.693,203.595],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 15",np:2,cix:2,bm:0,ix:15,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.782,-.782],[1.564,-.485],[0,0],[-2.157,-.378],[-2.05,0],[-.485,.917],[1.429,.697],[0,.836],[.957,.957]],o:[[-.351,0],[-.782,.782],[-1.564,.485],[0,0],[2.158,.378],[2.05,0],[0,0],[0,0],[0,-.836],[-.957,-.957]],v:[[.217,-3.854],[-2.643,-3.18],[-4.664,-.753],[-9.359,.753],[-5.743,.973],[5.314,3.859],[9.359,2.78],[3.669,.484],[3.372,-.672],[2.658,-2.924]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.584313750267,.113725490868,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.999,205.988],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 16",np:2,cix:2,bm:0,ix:16,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[4.342,-.593],[.523,.752],[-.389,.08]],o:[[0,0],[-3.324,.454],[-.245,-.353],[1.092,-.225]],v:[[7.244,-.02],[-.361,.789],[-7.166,-.116],[-6.647,-.915]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.458823531866,.113725490868,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[488.286,207.655],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 17",np:2,cix:2,bm:0,ix:17,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[488.286,207.655],ix:2},a:{a:0,k:[488.286,207.655],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:17,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[490.699,222.379],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[490.699,222.379],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[490.699,222.379],ix:2},a:{a:0,k:[490.699,222.379],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:1,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[490.7,206.02],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[490.7,206.02],ix:2},a:{a:0,k:[490.7,206.02],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:1,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:12,ty:4,nm:"Layer 39",parent:2,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[553.959,206.797,0],ix:2},a:{a:0,k:[490.7,206.02,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ef:[{ty:21,nm:"Fill",np:9,mn:"ADBE Fill",ix:1,en:1,ef:[{ty:10,nm:"Fill Mask",mn:"ADBE Fill-0001",ix:1,v:{a:0,k:0,ix:1}},{ty:7,nm:"All Masks",mn:"ADBE Fill-0007",ix:2,v:{a:0,k:0,ix:2}},{ty:2,nm:"Color",mn:"ADBE Fill-0002",ix:3,v:{a:0,k:[.03238754347,.261481970549,.317647069693,1],ix:3}},{ty:7,nm:"Invert",mn:"ADBE Fill-0006",ix:4,v:{a:0,k:0,ix:4}},{ty:0,nm:"Horizontal Feather",mn:"ADBE Fill-0003",ix:5,v:{a:0,k:0,ix:5}},{ty:0,nm:"Vertical Feather",mn:"ADBE Fill-0004",ix:6,v:{a:0,k:0,ix:6}}
vendor: 7,132 bytes, line 717
717,{ty:0,nm:"Opacity",mn:"ADBE Fill-0005",ix:7,v:{a:0,k:1,ix:7}}]}],shapes:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-.171],[.189,0],[0,.171],[-.189,0]],o:[[0,.171],[-.189,0],[0,-.171],[.189,0]],v:[[.343,0],[0,.309],[-.343,0],[0,-.309]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.262745112181,.015686275437,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[492.454,205.998],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.371,.669],[0,0],[.002,-.01],[.142,-.076],[.47,.388],[0,0],[-.638,.32],[-.033,.029]],o:[[0,0],[.317,.501],[-.025,.026],[-.52,.305],[0,0],[.512,.486],[.203,-.092],[.001,-.013]],v:[[1.249,-.646],[1.007,-.494],[1.123,.265],[.927,.435],[-1.427,-.669],[-1.429,-.666],[1.014,.612],[1.304,.389]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.262745112181,.015686275437,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[493.948,206.829],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.408,.289],[-.015,.554],[-.008,-.232],[-1.433,.561],[0,0]],o:[[-.443,-.34],[.003,-.004],[.048,1.563],[0,0],[-.427,.262]],v:[[-.632,.692],[-1.082,-.943],[-1.138,-.517],[1.139,.648],[1.007,.395]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.262745112181,.015686275437,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[493.399,207.135],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.225,.213],[.008,.01],[.297,-1.039],[-.747,-.794],[.455,-.224],[.553,-.175],[-.561,.202]],o:[[.707,-.728],[-1.043,-.534],[.597,-.934],[.366,.35],[-.504,.239],[.58,-.019],[.29,-.105]],v:[[1.135,.289],[.852,-.946],[-1.391,1.058],[.886,-.455],[.216,.473],[-1.391,1.058],[.331,.747]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.262745112181,.015686275437,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[493.986,204.932],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 4",np:2,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.004,-.031],[.511,.599],[.119,-.385],[-.614,-.552]],o:[[.117,-.858],[-.343,-.404],[-.268,.789],[.004,.03]],v:[[.7,1.594],[.261,-1.392],[-.711,-1.146],[.687,1.503]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[-.396,.475],[-.097,-.115],[-.081,-.558]],o:[[.109,-.1],[.392,.411],[-.351,-.573]],v:[[-.29,-1.127],[-.02,-1.142],[.685,1.49]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.262745112181,.015686275437,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[491.597,204.475],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 5",np:3,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.74,.577],[-.97,-.213],[.524,-.524]],o:[[0,0],[.97,.213],[-.524,.524]],v:[[-2.148,-.49],[-.134,-.735],[2.138,.653]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.741176486015,.113725490868,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[487.175,206.48],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:2,cix:2,bm:0,ix:6,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.116,0],[.397,.034],[.034,.003],[-.063,.209],[0,0],[-.227,0],[-.249,.013],[-.006,0],[0,0],[.088,-.004]],o:[[-.491,0],[-.035,-.003],[.143,-.159],[0,0],[.228,.012],[.28,0],[.006,0],[.084,.43],[-.078,.005],[-.122,.006]],v:[[.394,.32],[-.932,.239],[-1.036,.23],[-.717,-.315],[-.716,-.315],[-.031,-.298],[.771,-.319],[.789,-.32],[1.036,.285],[.751,.311]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.847058832645,.078431375325,.023529412225,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[493.632,206.187],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:2,cix:2,bm:0,ix:7,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.006,0],[-.006,0]],o:[[.006,0],[-.006,0]],v:[[.915,-.278],[.933,-.279]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[-.035,-.003],[.048,.004],[-.07,.213],[-.028,-.002],[.143,-.159]],o:[[-.049,-.004],[.105,-.151],[.028,.002],[-.063,.209],[.034,.003]],v:[[-.788,.279],[-.933,.268],[-.658,-.279],[-.573,-.274],[-.892,.27]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.082352943718,.141176477075,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[493.488,206.146],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 8",np:3,cix:2,bm:0,ix:8,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[2.034,-.002],[.009,.022],[0,0],[-.03,.001],[-.129,0],[-.718,.51],[-.103,.176]],o:[[-.009,-.022],[0,0],[.031,0],[.115,.001],[1.029,0],[.162,-.118],[-.483,.912]],v:[[-1.994,.539],[-2.021,.473],[-2.007,.473],[-1.916,.472],[-1.548,.474],[1.615,-.098],[2.021,-.539]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.800000011921,.172549024224,.007843137719,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[498.337,209.307],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,bm:0,ix:9,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.28,0],[.228,.012],[0,0],[.028,.002],[.214,.585],[.647,.679],[-.005,0],[-.006,0],[0,0],[-.008,0],[-.906,-.906],[0,-.452],[0,-.281],[-.03,-.151],[.006,0]],o:[[-.227,0],[0,0],[-.028,-.002],[.128,-.388],[-.278,
vendor: 8,393 bytes, line 717
717-.758],[.005,0],[.007,0],[0,0],[0,0],[.144,0],[.636,.636],[0,.229],[0,.218],[-.006,0],[-.249,.013]],v:[[-2.166,-.069],[-2.851,-.086],[-2.851,-.085],[-2.937,-.09],[-2.993,-1.553],[-4.592,-3.824],[-4.577,-3.824],[-4.557,-3.824],[-4.551,-3.824],[-4.539,-3.824],[-2.11,-2.893],[-1.368,-1.389],[-1.396,-.641],[-1.346,-.09],[-1.364,-.089]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[1.029,0],[.115,.001],[.031,0],[0,0],[.208,.208],[0,0],[-.242,.348],[-.049,-.004],[-.491,0],[-.122,.006],[-.078,.005],[0,0],[.162,-.118]],o:[[-.129,0],[-.03,.001],[0,0],[-.107,-.254],[-.776,-.776],[0,0],[.048,.004],[.397,.034],[.116,0],[.088,-.004],[1.429,.697],[-.103,.176],[-.718,.51]],v:[[1.022,3.824],[.655,3.822],[.563,3.823],[.55,3.823],[.087,3.112],[-3.723,.984],[-3.212,.457],[-3.066,.468],[-1.741,.549],[-1.384,.54],[-1.099,.514],[4.592,2.81],[4.186,3.252]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.494117647409,.078431375325,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[495.767,205.957],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:3,cix:2,bm:0,ix:10,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.006,0],[.007,0]],o:[[-.006,0],[.007,0]],v:[[.007,0],[-.013,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[.013,0],[.009,0]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.847058832645,.709803938866,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[491.202,202.133],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:3,cix:2,bm:0,ix:11,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.06,.302],[.516,.027],[.143,-.159],[-.684,.033],[-.078,.005]],o:[[-.455,.024],[-.063,.209],[.517,.042],[.088,-.004],[-.053,-.078]],v:[[.789,-.32],[-.716,-.315],[-1.036,.23],[.751,.311],[1.036,.285]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.847058832645,.0941176489,.035294119269,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[493.632,206.187],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:2,cix:2,bm:0,ix:12,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.861,.187],[-.078,.005],[.06,.302],[.719,.113],[1.79,.406],[.198,-.146]],o:[[.088,-.004],[-.053,-.078],[-.704,.037],[-1.955,-.307],[-.111,.177],[2.735,.536]],v:[[3.546,1.006],[3.795,.993],[3.585,.437],[1.266,.361],[-3.345,-1.026],[-3.795,-.537]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.098039217293,.196078434587,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.836,205.43],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 13",np:2,cix:2,bm:0,ix:13,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[4.811,-.249],[-2.832,-.893],[-1.427,.035],[-.808,.574],[-.103,.176],[.809,-.111],[.749,.065],[0,0]],o:[[2.605,-.293],[2.51,.791],[1.03,.011],[.162,-.118],[-.374,.716],[-.668,.085],[0,0],[-4.259,-.572]],v:[[-9.36,-1.557],[-.779,-.065],[5.423,1.482],[8.954,.912],[9.36,.471],[7.248,1.51],[4.809,1.585],[4.505,1.543]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.800000011921,.203921571374,.011764706112,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.999,208.297],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 14",np:2,cix:2,bm:0,ix:14,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.349,0],[.317,-.862],[-.836,-.374],[-.19,.808]],o:[[0,0],[-.318,.862],[.837,.374],[.19,-.808]],v:[[.318,-1.045],[-1.408,-.365],[-.804,.877],[1.556,.254]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.741176486015,.113725490868,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[489.693,203.595],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 15",np:2,cix:2,bm:0,ix:15,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.782,-.782],[1.564,-.485],[0,0],[-2.157,-.378],[-2.05,0],[-.485,.917],[1.429,.697],[0,.836],[.957,.957]],o:[[-.351,0],[-.782,.782],[-1.564,.485],[0,0],[2.158,.378],[2.05,0],[0,0],[0,0],[0,-.836],[-.957,-.957]],v:[[.217,-3.854],[-2.643,-3.18],[-4.664,-.753],[-9.359,.753],[-5.743,.973],[5.314,3.859],[9.359,2.78],[3.669,.484],[3.372,-.672],[2.658,-2.924]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.584313750267,.113725490868,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[490.999,205.988],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 16",np:2,cix:2,bm:0,ix:16,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[4.342,-.593],[.523,.752],[-.389,.08]],o:[[0,0],[-3.324,.454],[-.245,-.353],[1.092,-.225]],v:[[7.244,-.02],[-.361,.789],[-7.166,-.116],[-6.647,-.915]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.458823531866,.113725490868,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[488.286,207.655],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 17",np:2,cix:2,bm:0,ix:17,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[488.286,207.655],ix:2},a:{a:0,k:[488.286,207.655],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:17,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[490.699,222.379],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[490.699,222.379],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[490.699,222.379],ix:2},a:{a:0,k:[490.699,222.379],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:1,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"tr",p:{a:0,k:[490.7,206.02],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[490.7,206.02],ix:2},a:{a:0,k:[490.7,206.02],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:1,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0}]},{id:"comp_2",layers:[{ddd:0,ind:1,ty:3,nm:"Null 3",sr:1,ks:{o:{a:0,k:0,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[209,267,0],ix:2},a:{a:0,k:[50,50,0],ix:1},s:{a:0,k:[500,500,100],ix:6}},ao:0,ip:0,op:385,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Beard/hair",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[56.149,46.349,0],ix:2},a:{a:0,k:[305.649,100.849,0],ix:1},s:{a:0,k:[100,100,100],ix:6}}
vendor: 5,773 bytes, line 717
717,ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[2.445,.407],[.804,.815],[0,0],[1.619,-.129],[-1.877,5.276],[0,0],[-5.073,-.332],[-.601,.268],[.086,-4.611]],o:[[-2.434,-.408],[-.815,-.804],[0,0],[-1.63,.139],[1.866,-5.287],[0,0],[5.083,.332],[.611,-.279],[-.054,3.207]],v:[[17.809,36.659],[14.056,29.27],[8.833,28.798],[3.149,33.538],[-5.269,24.873],[3.149,18.911],[11.61,22.085],[19.128,21.216],[22.924,27.04]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[.375,.794],[12.386,1.619],[2.981,.815],[.118,.054],[.193,10.07],[0,0],[-2.745,2.649],[-11.475,-1.212],[0,0],[-.59,-1.094],[0,0],[0,0],[0,0],[.719,1.812],[.225,.311],[0,0],[3.046,0],[0,0],[0,0],[.032,-.032],[5.877,-2.724],[1.147,-1.33],[0,0],[0,0],[.504,-.536],[.011,-.011],[0,0],[.676,-.558],[1.019,-3.325],[-1.223,-4.676],[0,0],[1.341,-7.625],[0,0],[0,0],[0,0],[0,0],[-.011,.011],[-2.127,6.47],[-.073,.493]],o:[[-1.426,-2.981],[-17.534,-2.306],[-.107,-.032],[-3.228,-1.255],[-.204,-10.467],[-2.542,-2.134],[2.745,-2.638],[11.486,1.223],[3.646,.933],[.118,.214],[0,0],[3.861,5.587],[0,0],[-1.308,-3.346],[0,0],[0,0],[-3.046,0],[1.426,-3.346],[0,0],[-4.247,3.807],[-2.96,1.383],[0,0],[0,0],[-.408,.515],[-.021,.032],[-.021,.021],[-.472,.515],[-3.861,3.142],[-1.019,3.314],[1.212,4.676],[0,0],[-1.19,6.831],[-1.834,3.764],[3.753,14.928],[13.813,5.148],[0,0],[5.132,-3.346],[2.038,-6.199],[-.172,.268]],v:[[24.008,22.836],[11.074,16.68],[-10.943,18.911],[-11.296,18.782],[-22.321,-.018],[-15.511,-17.906],[-14.326,-27.476],[2.57,-29.691],[14.056,-29.177],[20.383,-23.729],[20.554,-23.386],[21.981,-24.705],[25.134,-13.026],[30.71,-27.643],[25.541,-36.18],[25.53,-36.19],[21.466,-45.939],[5.412,-43],[6.634,-50.207],[6.581,-50.153],[-7.693,-43.204],[-13.195,-39.215],[-13.591,-38.743],[-14.01,-38.239],[-15.339,-36.662],[-15.404,-36.598],[-15.436,-36.566],[-17.141,-34.968],[-30.514,-26.399],[-28.005,-13.873],[-27.351,-5.069],[-24.648,7.768],[-28.444,15.715],[-29.41,22.997],[-10.128,46.815],[12.769,49.721],[12.779,49.711],[23.447,32.602],[26.421,20.466]],c:!0},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.21568627451,.09923062044,.005074970862,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[305.649,100.849],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Beard/hair",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"Head 3",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[47.491,81.852,0],ix:2},a:{a:0,k:[296.991,136.352,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ty:"fl",c:{a:0,k:[.219607844949,.211764708161,.556862771511,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.19,148.905],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:60,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 8",np:1,cix:2,bm:1,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[2.287,3.362],[.418,-2.044],[0,0],[-.833,2.029]],o:[[0,0],[-.457,2.238],[0,0],[0,0]],v:[[-1.211,-5.456],[2.75,2.025],[-2.778,5.456],[2.121,2.025]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.823529422283,.447058826685,.423529416323,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[324.037,111.962],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[2.235,.308],[0,0],[-3.015,-.404]],o:[[.903,-.881],[-2.235,-.308],[0,0],[3.015,.404]],v:[[5.113,4.385],[-.893,-5.128],[-5.228,4.204],[.896,5.044]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.737254917622,.686274528503,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[321.407,109.783],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.491,-.032],[-.711,-.135],[0,0]],o:[[0,0],[.711,.135],[0,0]],v:[[-1.496,-.167],[.061,-.575],[1.496,.596]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.623529434204,.290196090937,.54509806633,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[315.204,115.894],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.491,.948],[-3.454,-.406],[-2.122,1.355],[2.442,-.429],[0,0],[0,0]],o:[[0,0],[3.454,.406],[0,0],[-2.442,.429],[0,0],[0,0]],v:[[-7.397,-1.564],[-2.063,-1.564],[7.397,-1.564],[2.136,1.688],[-4.027,-.028],[-5.653,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.796078443527,.372549027205,.490196079016,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[319.123,115.731],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 13",np:2,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1}
vendor: 23,896 bytes, line 717
717,{ty:"tr",p:{a:0,k:[317.771,110.261],ix:2},a:{a:0,k:[319.271,111.061],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Nose",np:4,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.667,y:1},o:{x:.333,y:0},t:13,s:[{i:[[5.842,-4.318],[-8.483,-1.651],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[-6.731,1.423],[6.731,.178],[5.156,-1.016]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:21,s:[{i:[[10.071,-2.036],[-10.341,2.317],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[-6.731,1.423],[6.731,.178],[4.75,-.822]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:28,s:[{i:[[5.842,-4.318],[-8.483,-1.651],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[-6.731,1.423],[6.731,.178],[5.156,-1.016]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:87,s:[{i:[[5.842,-4.318],[-8.483,-1.651],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[-6.731,1.423],[6.731,.178],[5.156,-1.016]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:95,s:[{i:[[10.071,-2.036],[-10.341,2.317],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[-6.731,1.423],[6.731,.178],[4.75,-.822]],c:!0}]},{t:102,s:[{i:[[5.842,-4.318],[-8.483,-1.651],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[-6.731,1.423],[6.731,.178],[5.156,-1.016]],c:!0}]}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.074509806931,.066666670144,.388235300779,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:1,k:[{i:{x:.667,y:.667},o:{x:.333,y:.333},t:13,s:[298.395,99.921],to:[0,0],ti:[0,0]},{i:{x:.667,y:.667},o:{x:.333,y:.333},t:21,s:[298.395,99.921],to:[0,0],ti:[0,0]},{i:{x:.667,y:.667},o:{x:.333,y:.333},t:28,s:[298.395,99.921],to:[0,0],ti:[0,0]},{i:{x:.667,y:.667},o:{x:.333,y:.333},t:87,s:[298.395,99.921],to:[0,0],ti:[0,0]},{i:{x:.667,y:.667},o:{x:.333,y:.333},t:95,s:[298.395,99.921],to:[0,0],ti:[0,0]},{t:102,s:[298.395,99.921]}],ix:2},a:{a:0,k:[-6.6,1.2],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:13,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:21,s:[27.482]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:28,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:87,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:95,s:[27.482]},{t:102,s:[0]}],ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Left Eyelash",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[3.701,3.083],[-8.08,.224],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-5.562,-2.67],[4.953,2.37],[5.112,.113],[4.547,1.066]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.776470601559,.396078437567,.611764729023,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[303.877,102.806],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Left Under Eye",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.667,y:1},o:{x:.333,y:0},t:13,s:[{i:[[7.518,-3.251],[-8.229,2.134],[-.305,-4.318]],o:[[0,0],[0,0],[0,0]],v:[[-5.943,5.283],[2.692,-5.283],[5.943,2.845]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:20.857,s:[{i:[[2.236,2.181],[-8.229,2.134],[4.224,-9.256]],o:[[0,0],[0,0],[-2.651,-.256]],v:[[-5.943,5.283],[2.692,-5.283],[4.818,9.47]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:28,s:[{i:[[7.518,-3.251],[-8.229,2.134],[-.305,-4.318]],o:[[0,0],[0,0],[0,0]],v:[[-5.943,5.283],[2.692,-5.283],[5.943,2.845]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:87,s:[{i:[[7.518,-3.251],[-8.229,2.134],[-.305,-4.318]],o:[[0,0],[0,0],[0,0]],v:[[-5.943,5.283],[2.692,-5.283],[5.943,2.845]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:94.857,s:[{i:[[2.236,2.181],[-8.229,2.134],[4.224,-9.256]],o:[[0,0],[0,0],[-2.651,-.256]],v:[[-5.943,5.283],[2.692,-5.283],[4.818,9.47]],c:!0}]},{t:102,s:[{i:[[7.518,-3.251],[-8.229,2.134],[-.305,-4.318]],o:[[0,0],[0,0],[0,0]],v:[[-5.943,5.283],[2.692,-5.283],[5.943,2.845]],c:!0}]}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.847058832645,.450980395079,.482352942228,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[304.207,94.661],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Left Eyelid",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.905,1.426],[-1.219,-1.233]],o:[[0,0],[0,0]],v:[[-1.287,-.492],[1.287,.442]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,1,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[304.936,100.436],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.833,y:.833},o:{x:.333,y:0},t:87,s:[{i:[[.653,.15],[-2.608,1.742],[0,0],[1.998,-2.811]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-2.053,2.954],[-.125,-3.345],[2.01,-3.074],[.722,3.345]],c:!0}]},{i:{x:.667,y:1},o:{x:.167,y:.167},t:98,s:[{i:[[.617,.731],[-2.33,2.016],[-.546,-.335],[1.724,-2.021]],o:[[0,0],[0,0],[.579,.127],[-.53,.621]],v:[[-2.379,2.69],[-.918,-3.329],[.78,-3.271],[.244,3.21]],c:!0}]},{t:102,s:[{i:[[.653,.15],[-2.608,1.742],[0,0],[1.998,-2.811]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-2.053,2.954],[-.125,-3.345],[2.01,-3.074],[.722,3.345]],c:!0}]}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.219607844949,.211764708161,.556862771511,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.702,100.527],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:87,s:[{i:[[1.272,-.294],[-.17,-3.639],[-1.397,-.059],[.576,5.062]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-1.669,-3.289],[-2.729,2.335],[1.28,3.345],[2.615,-3.871]],c:!0}]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:98,s:[{i:[[1.272,-.294],[-.17,-3.639],[-1.397,-.059],[.576,5.062]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-1.669,-3.289],[-2.729,2.335],[1.28,3.345],[2.615,-3.871]],c:!0}]},{t:102,s:[{i:[[1.272,-.294],[-.17,-3.639],[-1.397,-.059],[.576,5.062]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-1.669,-3.289],[-2.729,2.335],[1.28,3.345],[2.615,-3.871]],c:!0}]}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.498039215803,.61960786581,.78823530674,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.144,100.527],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[307.144,100.527],ix:2},a:{a:0,k:[307.144,100.527],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:-4.692,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Left Pupil",np:3,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[4.572,-3.149],[-7.484,-.643],[.137,4.249]],o:[[0,0],[0,0],[0,0]],v:[[-5.729,-.69],[4.431,3.238],[5.72,-3.181]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.921568632126,.929411768913,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[303.893,100.734],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Left Eyeball",np:2,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[304.945,97.28],ix:2},a:{a:0,k:[304.945,97.28],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Left Eye Group",np:5,cix:2,bm:0,ix:6,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.667,y:1},o:{x:.333,y:0},t:13,s:[{i:[[3.607,-2.896],[-4.655,-1.121],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[-4.323,1.224],[4.323,.226],[2.405,-1.194]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:21,s:[{i:[[3.5,2.371],[-5.857,-2.957],[0,0]],o:[[0,0],[0,0],[-.112,.446]],v:[[-4.708,1.855],[2.449,6.809],[2.044,4.501]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:28,s:[{i:[[3.607,-2.896],[-4.655,-1.121],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[-4.323,1.224],[4.323,.226],[2.405,-1.194]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:87,s:[{i:[[3.607,-2.896],[-4.655,-1.121],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[-4.323,1.224],[4.323,.226],[2.405,-1.194]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:95,s:[{i:[[3.5,2.371],[-5.857,-2.957],[0,0]],o:[[0,0],[0,0],[-.112,.446]],v:[[-4.708,1.855],[2.449,6.809],[2.044,4.501]],c:!0}]},{t:102,s:[{i:[[3.607,-2.896],[-4.655,-1.121],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[-4.323,1.224],[4.323,.226],[2.405,-1.194]],c:!0}]}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.074509806931,.066666670144,.388235300779,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:1,k:[{i:{x:.667,y:.667},o:{x:.333,y:.333},t:13,s:[326.158,102.073],to:[0,0],ti:[0,0]},{i:{x:.667,y:.667},o:{x:.333,y:.333},t:21,s:[326.158,102.073],to:[0,0],ti:[0,0]},{i:{x:.667,y:.667},o:{x:.333,y:.333},t:28,s:[326.158,102.073],to:[0,0],ti:[0,0]},{i:{x:.667,y:.667},o:{x:.333,y:.333},t:87,s:[326.158,102.073],to:[0,0],ti:[0,0]},{i:{x:.667,y:.667},o:{x:.333,y:.333},t:95,s:[326.158,102.073],to:[0,0],ti:[0,0]},{t:102,s:[326.158,102.073]}],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:13,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:21,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:28,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:87,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:95,s:[0]},{t:102,s:[0]}],ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Right Eyelash",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.667,y:1},o:{x:.333,y:0},t:13,s:[{i:[[4.572,-2.438],[-3.855,2.481],[.272,-5.619]],o:[[0,0],[0,0],[0,0]],v:[[-3.448,4.597],[1.073,-4.597],[3.428,2.991]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:20.857,s:[{i:[[1.072,1.86],[-3.855,2.481],[4.07,-7.409]],o:[[0,0],[0,0],[-.483,.879]],v:[[-3.823,5.41],[1.073,-4.597],[2.397,8.991]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:28,s:[{i:[[4.572,-2.438],[-3.855,2.481],[.272,-5.619]],o:[[0,0],[0,0],[0,0]],v:[[-3.448,4.597],[1.073,-4.597],[3.428,2.991]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:87,s:[{i:[[4.572,-2.438],[-3.855,2.481],[.272,-5.619]],o:[[0,0],[0,0],[0,0]],v:[[-3.448,4.597],[1.073,-4.597],[3.428,2.991]],c:!0}]},{i:{x:.667,y:1},o:{x:.333,y:0},t:95,s:[{i:[[1.072,1.86],[-3.855,2.481],[4.07,-7.409]],o:[[0,0],[0,0],[-.483,.879]],v:[[-3.823,5.41],[1.073,-4.597],[2.397,8.991]],c:!0}]},{t:102,s:[{i:[[4.572,-2.438],[-3.855,2.481],[.272,-5.619]],o:[[0,0],[0,0],[0,0]],v:[[-3.448,4.597],[1.073,-4.597],[3.428,2.991]],c:!0}]}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.847058832645,.450980395079,.482352942228,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[325.283,98.699],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Right Eyelid",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.165,2.671],[-6.188,.031],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-2.889,-1.795],[2.839,1.795],[2.677,.585],[2.394,1.016]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.776470601559,.396078437567,.611764729023,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[324.699,106.074],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Right Under Eye",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.721,1.336],[-.733,-.968]],o:[[0,0],[0,0]],v:[[-1.065,-.372],[1.792,.183]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,1,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[325.092,104.22],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.75,-.209],[.451,-3.157],[-1.092,-.042],[.019,3.651]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-.223,-2.726],[-1.639,2.454],[.195,2.8],[1.639,-2.639]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.219607844949,.211764708161,.556862771511,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[326.922,104.289],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.755,-.515],[.203,-3.531],[-1.168,0],[.061,3.303]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-.764,-2.53],[-2.044,2.151],[.598,2.794],[2.042,-2.646]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.498039215803,.61960786581,.78823530674,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[326.52,104.296],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[325.582,106.608],ix:2},a:{a:0,k:[325.582,106.608],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Right Pupil",np:3,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[4.098,-2.303],[0,0],[-4.132,-.406],[-.112,3.364]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-3.363,-1.03],[-3.363,-.048],[1.92,2.763],[3.363,-2.677]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.921568632126,.929411768913,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[325.198,104.327],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Right Eyeball",np:2,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[326.127,100.985],ix:2},a:{a:0,k:[326.127,100.985],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Right Eye Group",np:5,cix:2,bm:0,ix:7,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.246,4.14],[2.591,-7.01],[-2.286,-.051],[0,0]],o:[[0,0],[0,0],[1.567,.035],[0,0]],v:[[2.96,-4.974],[-3.443,4.974],[1.332,1.774],[2.648,3.356]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.21568627451,.09923062044,.005074970862,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[327.563,88.264],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 25",np:2,cix:2,bm:0,ix:9,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-6.741,1.597],[0,0],[2.502,-1.642],[4.02,-.914]],o:[[0,0],[7.506,-1.779],[0,0],[0,0],[-4.02,.914]],v:[[-10.477,4.437],[-3.128,-1.153],[10.477,-4.437],[6.646,1.583],[-5.317,2.209]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.21568627451,.09923062044,.005074970862,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[306.222,84.213],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 26",np:2,cix:2,bm:0,ix:10,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[3.772,-4.276],[0,0],[-12.497,.305],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[-6.282,1.575],[.271,10.216]],o:[[0,0],[0,0],[12.497,-.305],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[-1.008,-7.806],[0,0],[0,0],[0,0],[0,0]],v:[[-10.503,-7.288],[-10.417,-7.966],[8.397,-19.354],[23.716,-11.828],[26.03,-15.342],[20.756,-26.06],[-15.96,-26.669],[-24.9,-19.456],[-26.03,-1.797],[-22.056,21.515],[-12.383,26.669],[-9.653,24.248],[-16.468,9.31],[-12.234,6.371],[4.919,10.058],[9.372,-13.947]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.913725495338,.505882382393,.521568655968,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[306.807,95.118],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:20,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 27",np:2,cix:2,bm:1,ix:11,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.041,-.478],[-.948,-.711],[-4.369,-.914],[-.93,.191],[0,0],[2.275,.692],[6.332,1.199],[0,0],[0,0]],o:[[0,0],[.948,.711],[4.369,.914],[.93,-.191],[0,0],[0,0],[-6.332,-1.199],[0,0],[0,0]],v:[[-16.954,.563],[-13.806,1.103],[-5.035,6.081],[3.194,3.085],[5.148,4.211],[2.472,1.999],[-4.781,4.303],[-13.806,.29],[-14.128,-.285]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.823529422283,.447058826685,.423529416323,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[321.7,122.045],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Mouth",np:2,cix:2,bm:0,ix:12,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.805,1.043],[-.385,-4.812],[-.009,1.01],[-.279,1.471],[0,0]],o:[[0,0],[.385,4.812],[.009,-1.01],[.279,-1.471],[0,0]],v:[[.423,-5.668],[-2.762,1.49],[.382,5.081],[.138,0],[2.791,-.805]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.847058832645,.450980395079,.482352942228,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[275.8,105.58],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:20,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:2,cix:2,bm:1,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.388,-2.692],[3.27,3.167],[0,0],[-1.067,-2.896],[0,0],[.305,3.926],[-.864,.66],[0,0],[.66,-3.498],[-.914,.051],[-.152,1.151]],o:[[0,0],[-3.27,-3.167],[0,0],[1.067,2.896],[0,0],[-.305,-3.926],[.864,-.66],[0,0],[-.66,3.498],[.914,-.051],[.152,-1.151]],v:[[5.799,2.584],[1.196,-6.983],[-5.799,-9.134],[-3.717,5.632],[-1.024,9.289],[-3.615,3.36],[-3.158,-6.764],[1.196,-4.848],[-.567,0],[2.125,5.987],[2.227,.789]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.847058832645,.450980395079,.482352942228,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[273.686,105.285],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:20,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 4",np:2,cix:2,bm:1,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[273.686,105.285],ix:2},a:{a:0,k:[273.686,105.285],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 31",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[2.12,9.742],[6.604,.102],[.61,-2.946],[-1.626,-4.978],[0,0]],o:[[0,0],[0,0],[0,0],[1.626,4.978],[0,0]],v:[[6.597,-5.511],[-2.636,-12.205],[-7.106,-7.735],[-4.058,7.911],[3.529,12.169]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[.016,1,.761,.663,.508,1,.673,.624,1,1,.584,.584],ix:9}},s:{a:0,k:[-.671,13.072],ix:5},e:{a:0,k:[-.671,-11.339],ix:6},t:1,nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[273.671,104.428],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 29",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[280.271,105.028],ix:2},a:{a:0,k:[280.071,104.828],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ear",np:2,cix:2,bm:0,ix:13,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.579,.064],[0,0],[-.558,-2.606],[0,0],[0,0],[0,0],[.193,.944],[-.847,5.051],[-.032,.965]],o:[[-1.265,-.161],[0,0],[.558,2.617],[0,0],[0,0],[-.354,-.826],[-.547,-2.702],[0,0],[.032,-.815]],v:[[3.712,-10.342],[-2.025,-5.065],[-4.309,6.345],[3.155,10.345],[3.444,9.884],[3.444,9.873],[2.597,7.235],[4.066,-6.685],[4.377,-8.69]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.913725495338,.505882382393,.521568655968,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[326.148,98.302],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:20,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 30",np:2,cix:2,bm:1,ix:14,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[12.472,-9.48],[10.628,5.148],[.547,3.786],[0,7.721],[-6.359,7.185],[-9.491,-9.212],[0,-4.172],[.268,-1.705],[.107,-.697],[-.547,-2.702],[-.311,-2.338]],o:[[0,0],[-10.628,-5.148],[-.536,-3.796],[0,-7.721],[6.37,-7.174],[0,0],[0,1.008],[-.086,.633],[-.847,5.051],[.193,.944],[.408,3.056]],v:[[12.56,40.697],[-7.698,37.715],[-27.806,13.607],[-23.741,-7.798],[-21.167,-35.981],[23.949,-35.027],[26.888,-23.477],[26.437,-19.284],[26.126,-17.278],[24.207,-3.108],[28.722,6.487]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[.016,1,.761,.663,.508,1,.673,.624,1,1,.584,.584],ix:9}},s:{a:0,k:[-.538,41.855],ix:5},e:{a:0,k:[-.538,-40.944],ix:6},t:1,nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[304.538,108.645],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Face",np:2,cix:2,bm:0,ix:15,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0}]}],layers=[{ddd:0,ind:1,ty:4,nm:"Selection 2",parent:10,sr:1,ks:{o:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:123,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:137,s:[85.276]},{t:152,s:[0]}],ix:11},r:{a:0,k:47.29,ix:10},p:{a:0,k:[181.67,115.869,0],ix:2},a:{a:0,k:[70,-9.5,0],ix:1},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.167,.167,.167],y:[.167,.167,0]},t:123,s:[0,0,100]},{t:152,s:[100,100,100]}],ix:6}}
vendor: 5,257 bytes, line 717
717,ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[34,34],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"fl",c:{a:0,k:[1,1,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[70,-9.5],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:75,op:460,st:75,bm:0},{ddd:0,ind:2,ty:4,nm:"Selection",parent:14,sr:1,ks:{o:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:48,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:62,s:[85.276]},{t:77,s:[0]}],ix:11},r:{a:0,k:-.71,ix:10},p:{a:0,k:[439.485,160.599,0],ix:2},a:{a:0,k:[70,-9.5,0],ix:1},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.167,.167,.167],y:[.167,.167,16.667]},t:48,s:[0,0,100]},{t:77,s:[100,100,100]}],ix:6}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[34,34],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"fl",c:{a:0,k:[1,1,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[70,-9.5],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:3,ty:0,nm:"Cloth Selection 2",refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[252,225,0],ix:2},a:{a:0,k:[300,207.5,0],ix:1},s:{a:0,k:[90,90,100],ix:6}},ao:0,w:600,h:415,ip:0,op:385,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Screen Matte",parent:7,td:1,sr:1,ks:{o:{a:0,k:60,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[458.606,186.327,0],ix:2},a:{a:0,k:[458.606,186.327,0],ix:1},s:{a:0,k:[100,93.003,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-3.915,0],[0,0],[-.093,3.945],[0,0],[4.099,-.027],[0,0],[-.144,-4.092]],o:[[0,0],[.138,3.911],[0,0],[3.946,0],[0,0],[.098,-4.098],[0,0],[-4.095,.027],[0,0]],v:[[-95.12,-48.475],[-91.661,50.14],[-84.399,57.15],[85.481,57.15],[92.745,50.057],[95.122,-49.711],[87.81,-57.15],[-87.905,-55.997],[-95.12,-48.475]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.211764708161,.819607853889,.96862745285,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[458.606,186.327],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:5,ty:0,nm:"Clothes selection",tt:1,refId:"comp_1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{s:!0,x:{a:1,k:[{i:{x:[.316],y:[1]},o:{x:[.167],y:[.167]},t:-25,s:[268]},{t:53,s:[116.022]}],ix:3},y:{a:0,k:285,ix:4}},a:{a:0,k:[300,207.5,0],ix:1},s:{a:0,k:[135,135,100],ix:6}},ao:0,w:600,h:415,ip:0,op:385,st:0,bm:0},{ddd:0,ind:6,ty:4,nm:"Screen Border",parent:7,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[458.607,186.328,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[.144,4.078],[0,0],[-1.42,1.481],[-2.053,.014],[0,0],[-1.442,-1.466],[.049,-2.055],[0,0],[4.126,0]],o:[[0,0],[-4.079,0],[0,0],[-.073,-2.051],[1.421,-1.483],[0,0],[2.041,.009],[1.442,1.466],[0,0],[-.099,4.125],[0,0]],v:[[85.48,57.419],[-84.4,57.419],[-91.93,50.148],[-95.388,-48.467],[-93.297,-53.946],[-87.908,-56.266],[87.808,-57.419],[93.232,-55.166],[95.391,-49.705],[93.014,50.063],[85.48,57.419]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[1.32,-1.376],[-.068,-1.906],[0,0],[-3.788,0],[0,0],[-.09,3.768],[0,0],[1.339,1.362],[1.892,0]],o:[[0,0],[0,0],[-1.908,.013],[-1.319,1.376],[0,0],[.134,3.788],[0,0],[3.768,0],[0,0],[.045,-1.908],[-1.329,-1.35],[0,0]],v:[[87.859,-56.882],[87.812,-56.882],[-87.904,-55.729],[-92.909,-53.575],[-94.851,-48.486],[-91.393,50.128],[-84.4,56.882],[85.48,56.882],[92.477,50.05],[94.854,-49.718],[92.849,-54.79],[87.859,-56.882]],c:!1},ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.454901963472,.298039227724,.635294139385,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:7,ty:4,nm:"Screen",sr:1,ks:{o:{a:0,k:60,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[426.606,284.827,0],ix:2},a:{a:0,k:[458.606,186.327,0],ix:1},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:0,s:[100,0,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]}
vendor: 9,844 bytes, line 717
717,t:16,s:[100,120,100]},{t:28,s:[100,100,100]}],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[-3.915,0],[0,0],[-.093,3.945],[0,0],[4.099,-.027],[0,0],[-.144,-4.092]],o:[[0,0],[.138,3.911],[0,0],[3.946,0],[0,0],[.098,-4.098],[0,0],[-4.095,.027],[0,0]],v:[[-95.12,-48.475],[-91.661,50.14],[-84.399,57.15],[85.481,57.15],[92.745,50.057],[95.122,-49.711],[87.81,-57.15],[-87.905,-55.997],[-95.12,-48.475]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.211764708161,.819607853889,.96862745285,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[458.606,186.327],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:8,ty:3,nm:"Null 2",sr:1,ks:{o:{a:0,k:0,ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:23,s:[8.856]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:95,s:[8.856]},{t:116,s:[0]}],ix:10},p:{a:0,k:[252,401.5,0],ix:2},a:{a:0,k:[50,98,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:385,st:0,bm:0},{ddd:0,ind:10,ty:4,nm:"Left Hand",parent:8,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.833],y:[1]},o:{x:[.333],y:[0]},t:107,s:[0]},{t:127,s:[-3]}],ix:10},p:{a:1,k:[{i:{x:.667,y:1},o:{x:.333,y:0},t:103,s:[-31.824,23.672,0],to:[0,0,0],ti:[0,0,0]},{t:120,s:[-65.201,-14.973,0]}],ix:2},a:{a:0,k:[201.819,250.287,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.351,1.016],[-9.144,2.823],[5.49,3.005]],o:[[0,0],[0,0],[0,0]],v:[[-7,-4.02],[7.025,2.154],[-3.944,2.843]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.478431373835,.290196090937,.752941191196,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[180.802,206.783],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:50,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:2,cix:2,bm:1,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.951,1.318],[7.418,1.221],[0,0],[-3.962,12.827]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[9.519,-9.449],[-9.519,.612],[-9.015,9.449],[7.142,-4.444]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.933333337307,.505882382393,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[189.626,182.847],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:40,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:1,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-5.283,-4.775],[1.725,8.026]],o:[[0,0],[0,0],[0,0]],v:[[-3.202,-6.68],[3.202,6.68],[-3.202,-3.683]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.886274516582,.505882382393,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[175.38,157.474],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-3.37,-5.08],[.339,8.246]],o:[[0,0],[0,0],[0,0]],v:[[-2.21,-7.874],[2.311,7.874],[-2.311,-5.69]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.886274516582,.505882382393,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[179.979,152.622],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.879,-2.638],[1.019,-2.381],[0,0],[0,0],[0,0],[.997,1.855],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[-1.319,1.426],[0,0],[-1.823,-4.375]],o:[[-.879,2.638],[-1.019,2.37],[-4.526,9.791],[0,0],[0,0],[0,0],[0,0],[-.3,-1.727],[0,0],[4.472,-5.791],[0,0],[-7.807,-3.839],[1.319,-1.416],[0,0],[1.834,4.365]],v:[[17.891,-2.338],[6.781,13.652],[5.151,19.132],[-10.324,30.274],[-10.828,21.438],[-17.713,16.194],[-17.724,16.161],[-17.842,15.85],[-17.885,7.721],[-7.579,3.55],[7.768,-8.944],[8.272,-11.979],[3.092,-28.859],[6.845,-30.274],[11.521,-16.558]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.666666686535,.623529434204,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[190.935,162.021],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 4",np:2,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.108,5.275],[1.168,-.813],[0,0],[0,0],[0,0],[0,0],[-.152,-2.879],[0,0],[0,0],[0,0],[0,0],[-5.232,.102],[0,0],[2.184,-4.623],[-10.668,6.553],[0,0],[0,0]],o:[[0,0],[-1.168,.813],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[8.683,-19.638],[6.692,-16.734],[2.138,-15.3],[1.984,3.856],[-.251,3.856],[-5.128,-2.849],[-2.503,3.856],[-4.433,4.805],[-6.11,-.936],[-6.904,3.195],[-6.114,8.336],[2.01,5.746],[2.797,7.175],[-8.853,19.638],[6.488,7.141],[7.504,3.992],[8.853,-3.527]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,1,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[192.21,145.938],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:60,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 5",np:2,cix:2,bm:1,ix:5,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.725,-.051],[-1.915,-7.315],[3.505,-.203],[0,0],[3.099,-.254],[0,0],[0,0],[2.794,.102],[.305,4.775],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[7.443,-11.863],[9.71,3.987],[5.885,7.187],[5.021,6.222],[1.313,9.879],[-1.633,6.933],[-.871,9.371],[-4.732,11.861],[-9.71,3.428],[-5.09,-.484],[-5.09,-3.481],[.399,-7.342],[.5,-9.526]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.666666666667,.623529411765,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[177.269,154.274],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:2,cix:2,bm:0,ix:6,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-.88,7.992],[0,0],[1.422,-.813],[-1.49,-6.638],[0,0],[0,0],[0,0],[0,0],[-.203,-7.654],[0,0],[0,0],[0,0]],o:[[0,0],[.881,-7.992],[0,0],[-1.422,.813],[1.49,6.638],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[15.258,6.971],[14.174,-11.859],[13.947,-28.927],[10.584,-28.927],[7.333,-13.213],[7.672,9.341],[5.437,9.341],[.56,2.636],[-1.811,1.959],[-15.255,22.481],[-13.472,29.288],[3.337,28.713],[14.309,16.182]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.933333337307,.505882382393,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[186.522,140.453],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:2,cix:2,bm:0,ix:7,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.542,-.542],[2.066,4.344],[0,0],[-1.942,-2.554]],o:[[0,0],[-2.066,-4.344],[0,0],[1.942,2.554]],v:[[3.998,8.022],[-3.049,2.613],[-3.767,-8.022],[2.075,2.013]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.737254917622,.686274528503,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[204.829,151.662],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 8",np:2,cix:2,bm:0,ix:8,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[188.241,151.73],ix:2},a:{a:0,k:[188.241,151.73],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group Hand",np:8,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[188.608,185.003],ix:2},a:{a:0,k:[188.608,185.003],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:103.25,s:[0]},{t:120,s:[-14]}],ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Hand",np:1,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.898,-14.092],[0,0],[4.74,10.027],[.247,1.78],[.161,1.523],[0,0],[0,0],[0,0],[-.182,1.019],[0,0],[0,0],[-3.914,8.955],[0,0],[0,0],[0,0],[-.611,0],[-.944,-.311],[-1.265,-.804],[-.504,-1.115],[-.021,-2.134],[-.386,-1.737]],o:[[-1.898,14.081],[-4.676,0],[-4.74,-10.027],[-.257,-1.78],[-.15,-1.523],[0,0],[0,0],[-.461,-.987],[.204,-1.115],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[.611,0],[.954,.311],[1.255,.8
71715],[.225,.504],[.032,2.617],[.719,3.142]],v:[[22.748,20.07],[-.138,44.993],[-14.776,26.837],[-20.053,-13.775],[-23.109,-20.639],[-18.841,-25.315],[-18.873,-25.39],[-18.905,-25.465],[-21.779,-33.036],[-16.61,-36.586],[-16.299,-31.106],[-.824,-42.248],[-.138,-44.993],[1.793,-43.707],[1.793,-31.921],[2.801,-30.087],[8.86,-32.028],[12.013,-24.607],[17.128,-20.338],[17.396,-15.888],[17.836,-8.445]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.137254901961,.137254901961,.137254901961,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[196.91,223.401],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:11,ty:0,nm:"Head Move 2",parent:8,refId:"comp_2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:10,s:[-4.296]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:21,s:[6.211]},{i:{x:[.833],y:[1]},o:{x:[.333],y:[0]},t:39,s:[1.704]},{t:113,s:[1.704],h:1},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:116,s:[24.704]},{i:{x:[.833],y:[1]},o:{x:[.333],y:[0]},t:127.295,s:[29.704]},{t:140,s:[22.704]}],ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:28,s:[59.651,-87.104,0],to:[0,0,0],ti:[0,0,0]},{t:113,s:[59.651,-87.104,0],h:1},{t:116,s:[54.401,-90.354,0],h:1}],ix:2},a:{a:0,k:[190.874,436.1,0],ix:1},s:{a:1,k:[{t:113,s:[21,21,100],h:1},{t:116,s:[-21,21,100],h:1}],ix:6}},ao:0,w:405,h:530,ip:0,op:385,st:0,bm:0},{ddd:0,ind:14,ty:4,nm:"Right Hand",parent:8,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:24,s:[0]},{t:49,s:[17]}],ix:10},p:{a:0,k:[127.233,37.131,0],ix:2},a:{a:0,k:[361.233,263.131,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.916,.651],[-3.251,-17.475],[-1.219,1.93],[0,0]],o:[[0,0],[0,0],[1.219,-1.93],[0,0]],v:[[-2.852,-14.355],[-3.041,14.355],[-.196,-9.723],[4.438,-10.738]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[0,.8,.8,1,.5,.629,.58,.867,1,.459,.361,.733],ix:9}},s:{a:0,k:[-.711,14.621],ix:5},e:{a:0,k:[-.711,-14.09],ix:6},t:1,nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[390.711,224.879],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:30,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:1,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-2.836,3.786],[3.668,2.663],[4.888,-12.666],[-4.161,1.259],[0,0]],o:[[0,0],[0,0],[0,0],[4.161,-1.26],[0,0]],v:[[10.815,-9.014],[6.761,-10.826],[-10.815,10.826],[1.167,-2.07],[6.332,1.315]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[0,.8,.8,1,.5,.629,.58,.867,1,.459,.361,.733],ix:9}}
vendor: 6,145 bytes, line 717
717,s:{a:0,k:[-.509,11.128],ix:5},e:{a:0,k:[-.509,-10.524],ix:6},t:1,nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[367.509,230.372],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:30,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:2,cix:2,bm:1,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.493,27.839],[-10.085,-2.052],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[-4.481,-14.161],[4.573,11.624],[5.075,14.161]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[0,.8,.8,1,.5,.629,.58,.867,1,.459,.361,.733],ix:9}},s:{a:0,k:[-.63,14.198],ix:5},e:{a:0,k:[-.63,-14.125],ix:6},t:1,nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[399.63,228.302],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:50,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:2,cix:2,bm:1,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.711,.102],[3.116,-2.574],[0,0],[-2.225,4.716]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[2.704,-4.707],[-3.527,3.014],[-4.137,4.707],[4.137,-4.09]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.886274516582,.505882382393,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[431.396,181.121],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.54,1.836],[-10.938,-3.628],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-9.196,-9.546],[9.196,2.401],[4.482,9.546],[-5.354,-2.945],[-4.724,-4.752]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.933333337307,.505882382393,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[408.142,211.837],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:40,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:2,cix:2,bm:1,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.693,3.251],[3.319,2.032],[0,0],[-2.786,-.497]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[4.51,.203],[1.868,-4.944],[-4.567,2.167],[-1.586,4.944]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.679975861194,.62683021695,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[441.241,187.183],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-2.1,-4.199],[0,0],[-3.063,-5.136],[6.705,-2.235],[.542,2.642],[0,0],[0,0],[1.287,4.335]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-1.558,-9],[3.793,-5.275],[3.319,-3.92],[9.55,1.837],[.135,9.016],[-3.522,5.494],[-2.912,3.801],[-5.351,5.63],[-9.55,2.175]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.737254917622,.686274528503,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[430.781,180.334],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 4",np:2,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[4.064,1.223],[0,0],[0,0],[-.676,-9.212],[8.74,3.528],[-1.287,1.898],[-1.587,4.772],[-.665,-1.255],[-.322,.097],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[-4.064,-1.223],[0,0],[0,0],[0,0],[.676,0],[1.233,-1.823],[-.214,.815],[.922,1.705],[.011,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[19.428,9.761],[16.019,14.772],[-6.763,-.885],[-12.318,-1.292],[-16.511,4.059],[-8.114,20.113],[-19.428,4.939],[-14.548,.606],[-5.175,-20.113],[-5.004,-16.456],[1.667,-16.456],[1.677,-16.456],[-4.543,-3.984],[-4.596,-3.866],[-2.902,-2.997],[1.677,-7.341],[-.618,-2.011],[16.091,.938],[12.723,5.26],[14.429,5.571]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.933333337307,.505882382393,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[422.846,183.121],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 5",np:2,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[12.494,-5.995],[0,0],[0,0],[.472,13.137],[-.547,2.627],[.954,2.027],[.676,2.509],[1.287,.676],[0,0],[-.815,1.008],[-4.944,-3.389],[-.536,-1.362],[-.676,0],[-1.287,1.898],[-1.587,4.772],[-.021,.043],[-.011,.064],[-.011,.043],[0,.021],[-3.796,2.166],[-.879,-2.027],[3.185,-5.148],[.601,-1.094],[.011,0],[.44,-.954],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[-.944,-2.038],[-.676,-2.509],[-1.287,-.676],[0,0],[.815,-1.019],[0,0],[.547,1.351],[.676,0],[1.233,-1.823],[.011,-.054],[.021,-.075],[.021,-.054],[.011,-.021],[1.223,-4.129],[0,0],[0,0],[-.536,.869],[0,0],[-2.713,4.987],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[31.49,.044],[8.326,25.546],[4.058,25.546],[-5.798,40.485],[-15.577,27.089],[-9.862,18.393],[-14.334,13.599],[-16.297,2.961],[-24.018,-5.437],[-31.128,-6.455],[-31.128,-9.565],[-16.297,-10.724],[-15.417,-6.788],[-9.862,-.632],[-4.983,-4.965],[4.39,-25.684],[4.433,-25.823],[4.498,-26.038],[4.541,-26.177],[4.562,-26.231],[16.691,-40.451],[19.19,-38.832],[12.959,-25.008],[11.243,-22.027],[11.232,-22.027],[5.023,-9.555],[4.969,-9.437],[6.664,-8.568],[11.243,-12.911],[15.94,
vendor: 4,379 bytes, line 717
717-17.362],[26.718,-5.983],[25.656,-4.632],[22.289,-.31],[23.994,.001],[27.962,-4.386]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[.016,1,.761,.663,.508,1,.673,.624,1,1,.584,.584],ix:9}},s:{a:0,k:[-.28,40.808],ix:5},e:{a:0,k:[-.28,-40.161],ix:6},t:1,nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[413.28,188.692],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:2,cix:2,bm:0,ix:6,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[403.035,221.438],ix:2},a:{a:0,k:[403.035,221.438],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:1,k:[{i:{x:[.667],y:[.568]},o:{x:[.333],y:[0]},t:30,s:[0]},{t:49,s:[10.834]}],ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Hand",np:6,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.954,-1.491],[1.223,-1.223],[0,0],[2.091,-1.03],[0,0],[-4.15,11.668],[-.3,.397],[0,0],[-.011,.011],[-2.552,.193],[-.729,-.461],[-1.244,.622],[-2.778,.268],[-1.791,-1.126],[-.3,.086],[-.279,.107],[0,0],[0,0],[0,0],[0,0]],o:[[-.944,1.491],[-1.223,1.212],[-19.915,21.137],[-.118,.054],[-12.504,-8.408],[3.968,-11.196],[0,0],[0,0],[.225,-.086],[.847,-.064],[1.523,.944],[1.834,-.922],[1.941,-.182],[.783,.493],[1.019,-.268],[.268,-.118],[0,0],[1.694,9.759],[0,0],[0,0]],v:[[29.767,-11.052],[22.861,-5.218],[22.861,.004],[-19.907,32.756],[-20.079,32.842],[-27.361,-1.079],[-16.293,-21.862],[-16.282,-21.873],[-16.272,-21.884],[-9.923,-23.643],[-7.574,-22.913],[-3.521,-21.101],[5.187,-31.975],[11.611,-29.058],[13.306,-28.318],[18.057,-32.833],[19.901,-31.793],[18.796,-30.42],[26.046,-14.098],[29.767,-19.546]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.137254887001,.137254887001,.137254887001,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[381.844,242.459],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:2,cix:2,bm:0,ix:5,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:15,ty:4,nm:"Layer 24",parent:8,sr:1,ks:{o:{a:0,k:50,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[53.982,-61.727,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[3.239,-4.686],[0,0],[3.603,2.885],[.375,1.394],[-7.185,-5.319],[0,0],[0,0],[1.062,.536],[3.11,8.601],[.011,.021],[0,0],[0,0],[0,0],[0,0],[-.472,-1.491],[-.021,-.032],[0,0],[0,0],[0,0],[0,0]],o:[[-.836,9.974],[-4.461,6.435],[-4.826,-2.102],[-15.293,-12.226],[6.456,15.593],[5.791,4.3],[0,0],[-1.147,-.429],[-12.655,-6.381],[-.011,-.021],[-1.684,-4.654],[0,0],[0,0],[0,0],[.365,1.63],[.011,.043],[7.078,22.328],[12.655,-9.341],[0,0],[0,0],[0,0]],v:[[24.805,-7.947],[17.695,13.663],[8.408,22.296],[-4.204,14.692],[-24.805,-15.872],[-1.684,14.488],[8.408,20.408],[8.408,15.421],[5.083,13.963],[-17.33,-14.317],[-17.352,-14.37],[-19.69,-22.296],[-17.395,-22.296],[-18.145,-20.687],[-18.178,-20.633],[-16.923,-15.947],[-16.88,-15.829],[8.408,13.695],[20.816,-10.478],[20.816,-12.515],[23.186,-11.807]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.478431373835,.290196090937,.752941191196,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:1,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:1},{ddd:0,ind:17,ty:4,nm:"Layer 22",parent:8,sr:1,ks:{o:{a:0,k:50,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[38.016,-48.905,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[],ip:0,op:385,st:0,bm:1},{ddd:0,ind:19,ty:4,nm:"Layer 19",parent:8,sr:1,ks:{o:{a:0,k:50,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-17.522,-42.814,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[],ip:0,op:385,st:0,bm:1},{ddd:0,ind:21,ty:4,nm:"Layer 13",parent:8,sr:1,ks:{o:{a:0,k:50,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[100.665,5.546,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}}
717,ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0]],o:[[0,0]],v:[[0,0]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[0,.8,.8,1,.5,.629,.58,.867,1,.459,.361,.733],ix:9}},s:{a:0,k:[-.665,.954],ix:5},e:{a:0,k:[-.665,.954],ix:6},t:1,nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:1,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:1},{ddd:0,ind:22,ty:4,nm:"Layer 12",parent:8,sr:1,ks:{o:{a:0,k:50,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[120.247,-41.318,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0]],o:[[0,0]],v:[[0,0]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[0,.8,.8,1,.5,.629,.58,.867,1,.459,.361,.733],ix:9}},s:{a:0,k:[-.247,.818],ix:5},e:{a:0,k:[-.247,.818],ix:6},t:1,nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:1,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:1},{ddd:0,ind:23,ty:4,nm:"Layer 11",parent:8,sr:1,ks:{o:{a:0,k:50,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[120.537,-40.385,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0]],o:[[1.169,4.59]],v:[[0,0]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[0,.8,.8,1,.5,.629,.58,.867,1,.459,.361,.733],ix:9}},s:{a:0,k:[-.537,.885],ix:5},e:{a:0,k:[-.537,.885],ix:6},t:1,nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:1,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:1},{ddd:0,ind:24,ty:4,nm:"Layer 10",parent:8,sr:1,ks:{o:{a:0,k:50,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[131.556,-5.408,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[-6.359,5.802]],v:[[.005,-.005],[-.005,.005]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[0,.8,.8,1,.5,.629,.58,.867,1,.459,.361,.733],ix:9}},s:{a:0,k:[-.556,.908],ix:5},e:{a:0,k:[-.556,.898],ix:6},t:1,nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:1,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:1},{ddd:0,ind:25,ty:4,nm:"Layer 8",parent:8,sr:1,ks:{o:{a:0,k:50,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[140.269,-6.454,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.77,1.244]],o:[[1.523,.944]],v:[[0,0]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[0,.8,.8,1,.5,.629,.58,.867,1,.459,.361,.733],ix:9}},s:{a:0,k:[-.269,.954],ix:5},e:{a:0,k:[-.269,.954],ix:6},t:1,nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:1,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:1},{ddd:0,ind:28,ty:4,nm:"mask",td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[270.25,268,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}}
vendor: 7,247 bytes, line 717
717,ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[57.256,-31.669],[24,12],[0,0],[0,0]],o:[[-34.125,18.875],[-24,-12],[0,0],[0,0]],v:[[43.625,119.375],[-67.5,128.5],[-88,178],[69.5,174.5]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.137254887001,.137254887001,.137254887001,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[-2,-2.75],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:29,ty:4,nm:"Main Torso",parent:8,tt:2,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[44.221,12.195,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.667,y:1},o:{x:.333,y:0},t:103,s:[{i:[[1.995,-1.394],[0,0],[3.582,3.099],[0,0],[.021,.011],[.021,.011],[3.593,7.185],[.332,1.673],[0,0],[0,0],[-.097,-1.523],[.097,-.912],[.011,-.011],[.601,-2.209],[-2.005,-3.464],[0,0],[0,-.558],[0,0],[0,0],[0,0],[0,0],[0,0],[25.567,-1.373],[0,0],[0,0],[.107,.611],[0,0],[0,2.038],[.204,5.394],[.611,3.046],[0,0],[0,0],[0,0],[7.925,-9.748],[1.03,-1.105],[2.263,-1.963],[1.265,.247],[-.375,16.462],[-4.901,7.024],[-.536,.719],[-1.598,1.694],[0,0],[.761,3.121],[.021,.075],[.011,.032],[0,0],[-.257,.408],[-.676,.804],[-2.166,1.491],[-12.193,4.794],[-.643,.257],[0,0],[0,0],[0,0],[0,0],[0,0],[-.472,-1.491],[-.021,-.032],[0,0],[0,0],[0,0],[0,0],[0,0],[-10.874,-4.783],[-2.08,-1.19],[-.847,-1.855],[-.107,-.429],[0,0],[-2.231,-6.134],[-1.619,-1.094],[-.011,0],[0,0],[-.15,-.922]],o:[[-.118,.054],[-.879,.107],[0,0],[0,-.011],[-.011,-.011],[-3.003,-2.627],[-7.185,-14.36],[0,0],[0,0],[-2.842,8.547],[.097,1.523],[0,0],[-.129,.922],[-.408,1.469],[0,0],[1.123,2.004],[0,1.619],[0,0],[0,0],[0,0],[0,0],[-1.93,1.523],[-30.296,1.619],[0,0],[0,0],[-.097,-.611],[0,0],[0,-2.027],[-.204,-5.384],[-.611,-3.046],[-7.314,-23.164],[0,0],[0,0],[-.944,1.158],[-2.209,2.391],[-5.491,4.783],[-2.038,-.408],[.172,-7.829],[.525,-.751],[3.475,-4.729],[.622,-.665],[0,0],[-.011,-.075],[0,-.032],[-.011,-.054],[-.45,-1.92],[.676,-1.083],[.676,-.815],[2.08,-1.426],[.601,-.236],[13.673,-5.416],[0,0],[0,0],[0,0],[0,0],[.365,1.63],[.011,.043],[7.078,22.328],[12.655,-9.341],[0,0],[0,0],[0,0],[0,0],[1.877,.826],[9.952,5.652],[.086,.193],[0,0],[1.169,4.59],[1.394,3.829],[.011,.011],[1.201,.826],[.172,.944],[4.665,29.406]],v:[[83.715,37.02],[83.544,37.106],[76.348,33.514],[76.337,33.503],[76.305,33.471],[76.262,33.428],[66.063,19.229],[56.486,-6.391],[56.443,-6.649],[52.25,0],[44.121,45.439],[48.797,55.294],[48.786,55.316],[45.955,60.474],[48.656,67.04],[49.906,71.801],[50,76.14],[49.917,80.935],[50.167,86.453],[47.092,87.778],[46.856,87.993],[46.663,88.153],[10.984,96.036],[-39.495,87.907],[-40.473,84.485],[-39.495,81.912],[-40.63,80.374],[-41.426,76.217],[-35.527,62.501],[-41.018,49.3],[-33.093,38.736],[-41.833,-15.518],[-43.249,-17.148],[-59.914,12.516],[-62.885,15.926],[-69.705,22.521],[-81.449,30.2],[-91.24,-2.724],[-81.449,-26.338],[-79.861,-28.547],[-71.454,-38.682],[-70.478,-39.701],[-72.354,-46.414],[-72.408,-46.639],[-72.429,-46.746],[-72.451,-46.822],[-72.923,-50.811],[-67.636,-53.921],[-61.952,-69.911],[-44.021,-77.171],[-42.166,-77.9],[-15.076,-89.89],[-9.929,-96.217],[-7.634,-96.217],[-8.384,-94.609],[-8.417,-94.555],[-7.162,-89.869],[-7.119,-89.751],[18.169,-60.227],[30.577,-84.399],[30.577,-86.437],[32.947,-85.729],[34.566,-81.868],[48.186,-72.817],[54.159,-69.761],[76.026,-53.513],[76.315,-52.591],[76.315,-52.58],[82.117,-24.665],[87.329,-17.63],[87.351,-17.619],[89.431,-16.536],[89.914,-13.737]],c:!0}]},{t:120,s:[{i:[[1.995,-1.394],[0,0],[3.582,3.099],[0,0],[.021,.011],[.021,.011],[3.593,7.185],[.332,1.673],[0,0],[0,0],[-.096,-1.523],[.097,-.912],[.011,-.011],[.601,-2.209],[-2.005,-3.464],[0,0],[0,-.558],[0,0],[0,0],[0,0],[0,0],[0,0],[25.476,-1.372],[0,0],[0,0],[.107,.611],[0,0],[0,2.038],[.204,5.394],[.611,3.046],[0,0],[0,0],[0,0],[12.283,-2.517],[1.492,-.21],[2.988,-.095],[.817,.994],[-10.672,12.495],[-8.223,2.335],[-.866,.223],[-2.305,.301],[0,0],[-4.387,1.797],[-.031,.072],[-.012,.032],[0,0],[-.455,.155],[-1.029,.202],[-2.169,1.487],[-12.193,4.794],[-.643,.257],[0,0],[0,0],[0,0],[0,0],[0,0],[-.472,-1.491],[-.021,-.032],[0,0],[0,0],[0,0],[0,0],[0,0],[-10.874,-4.783],[-2.081,-1.19],[-.847,-1.855],[-.107,-.429],[0,0],[-2.231,-6.134],[-1.619,-1.094],[-.011,0],[0,0],[-.15,-.922]],o:[[-.118,.054],[-.879,.107],[0,0],[0,-.011],[-.011,-.011],[-3.003,-2.627],[-7.185,-14.36],[0,0],[0,0],[-2.842,8.547],[.097,1.523],[0,0],[-.129,.922],[-.408,1.469],[0,0],[1.132,2.021],[-.003,1.661],[0,0],[0,0],[0,0],[0,0],[-1.93,1.523],[-30.295,1.628],[0,0],[0,0],[-.097,-.611],[0,0],[0,-2.027],[-.204,-5.384],[-.611,-3.046],[-7.314,-23.164],[0,0],[0,0],[-1.461,.299],[-3.217,.454],[-7.264,.23],[-1.318,-1.601],[5.075,-5.942],[.88,-.248],[5.671,-1.461],[.901,-.121],[0,0],[.039,-.065],[.02,-.025],[.026,-.048],[.864,-1.768],[1.206,-.411],[1.037,-.203],[2.08,-1.426],[.601,-.236],[13.673,-5.416],[0,0],[0,0],[0,0],[0,0],[.365,1.63],[.011,.043],[7.078,22.328],[12.655,-9.341],[0,0],[0,0],[0,0],[0,0],[1.877,.826],[9.952,5.652],[.086,.193],[0,0],[1.169,4.59],[1.394,3.829],[.011,.011],[1.201,.826],[.172,.944],[4.665,29.406]],v:[[83.715,37.02],[83.544,37.106],[76.348,33.514],[76.337,33.503],[76.305,33.471],[76.262,33.428],[66.063,19.229],[56.486,-6.391],[56.443,-6.649],[52.25,0],[44.121,45.439],[48.797,55.294],[48.786,55.316],[45.955,60.474],[48.671,67.067],[49.91,71.785],[50.023,76.149],[49.916,80.951],[50.141,86.437],[47.079,87.767],[46.817,87.985],[46.615,88.152],[10.984,96.036],[-39.495,87.907],[-40.472,84.484],[-39.495,81.912],[-40.634,80.374],[-41.406,76.201],[-35.547,62.504],[-40.993,49.316],[-33.093,38.736],[-41.833,-15.518],[-46.455,-30.506],[-95.425,-11.093],[-99.874,-10.332],[-109.31,-9.541],[-116.233,-16.021],[-110.014,-42.648],[-87.538,-54.718],[-84.916,-55.423],[-74.52,-60.447],[-73.122,-60.618],[-68.834,-64.492],[-68.733,-64.7],[-68.682,-64.796],[-68.651,-64.868],[-65.497,-68.249],[-62.448,-68.315],[-61.952,-69.911],[-44.021,-77.171],[-42.166,-77.9],[-15.076,-89.89],[-9.929,-96.217],[-7.634,-96.217],[-8.384,-94.609],[-8.417,-94.555],[-7.162,-89.869],[-7.119,-89.751],[18.169,-60.227],[30.577,-84.399],[30.577,-86.437],[32.947,-85.729],[34.566,-81.868],[48.186,-72.817],[54.159,-69.761],[76.026,-53.513],[76.315,-52.591],[76.315,-52.58],[82.117,-24.665],[87.329,-17.63],[87.351,-17.619],[89.431,-16.536],[89.914,-13.737]],c:!0}]}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.137254901961,.137254901961,.137254901961,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:30,ty:4,nm:"Layer 4",parent:8,sr:1,ks:{o:{a:0,k:50,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[55.465,-63.303,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}}
vendor: 4,817 bytes, line 717
717,ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[9.727,-9.727],[2.038,-1.072],[0,0],[0,0],[0,0],[2.509,1.887],[3.131,13.47],[.011,.021],[.129,1.694],[0,.011],[.011,.45],[-3.775,-5.523],[-9.373,-5.898],[-2.617,1.737],[-.997,2.274],[-.054,1.566],[.011,.29],[-.236,1.319],[0,0],[-.054,.29],[0,0],[-.011,.118],[0,0]],o:[[-1.448,1.437],[0,0],[0,0],[0,0],[-.547,-.332],[-6.563,-4.944],[-.011,-.021],[-.365,-1.598],[0,0],[-.032,-.44],[0,0],[0,0],[4.697,2.949],[2.617,-1.727],[.997,-2.284],[.011,-.354],[.761,-1.845],[.011,-.011],[.075,-.386],[0,0],[.021,-.15],[.064,-.483],[0,0]],v:[[12.245,15.261],[7.054,19.057],[6.926,19.057],[6.775,19.046],[6.765,19.035],[1.842,15.668],[-18.813,-12.74],[-18.834,-12.794],[-19.585,-17.716],[-19.585,-17.727],[-19.66,-19.057],[-13.708,-8.419],[-.002,9.384],[10.872,10.167],[16.181,3.153],[17.553,-2.831],[17.553,-3.796],[19.001,-8.73],[19.012,-8.751],[19.194,-9.77],[19.194,-9.78],[19.248,-10.177],[19.333,-10.939]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[0,.8,.8,1,.5,.629,.58,.867,1,.459,.361,.733],ix:9}},s:{a:0,k:[-20.464,.803],ix:5},e:{a:0,k:[18.855,.803],ix:6},t:1,nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:1,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:1},{ddd:0,ind:31,ty:4,nm:"Layer 3",parent:8,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[55.465,-63.266,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[9.727,-9.727],[2.038,-1.072],[.043,-.021],[.097,.054],[0,0],[2.509,1.887],[3.131,13.47],[.011,.021],[.129,1.694],[0,.011],[.011,.45],[-3.775,-5.523],[-7.957,-.043],[-1.791,4.343],[-.236,1.319],[0,0],[-.054,.29],[0,0],[-.011,.118],[0,0]],o:[[-1.448,1.437],[-.043,.032],[0,0],[0,0],[-.547,-.332],[-6.563,-4.944],[-.011,-.021],[-.365,-1.598],[0,0],[-.032,-.44],[0,0],[4.44,6.499],[6.885,.043],[.761,-1.845],[.011,-.011],[.075,-.386],[0,0],[.021,-.15],[.064,-.483],[0,0]],v:[[12.245,15.223],[7.054,19.019],[6.926,19.094],[6.775,19.009],[6.765,18.998],[1.842,15.631],[-18.813,-12.778],[-18.834,-12.832],[-19.585,-17.754],[-19.585,-17.765],[-19.66,-19.094],[-13.708,-8.456],[5.349,5.174],[17.553,-3.834],[19.001,-8.767],[19.012,-8.788],[19.194,-9.807],[19.194,-9.818],[19.248,-10.215],[19.333,-10.976]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"gf",o:{a:0,k:100,ix:10},r:1,bm:0,g:{p:3,k:{a:0,k:[0,.835,.804,.973,.5,.894,.867,.978,1,.953,.929,.984],ix:9}},s:{a:0,k:[-.464,19.766],ix:5},e:{a:0,k:[-.464,-18.423],ix:6},t:1,nm:"Gradient Fill 1",mn:"ADBE Vector Graphic - G-Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:32,ty:4,nm:"Neck",parent:8,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[55.205,-76.381,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.011,-.054],[0,0],[.654,-1.855],[1.963,-2.67],[0,0],[2.96,7.614],[.011,.043],[.236,.751],[0,.011],[0,0],[-.064,.129],[0,0],[-.236,.525],[-.879,3.303],[-.193,1.147],[0,0],[0,0],[0,0],[.011,-1.898],[-.075,-1.019],[-.097,-.643],[0,0]],o:[[.064,.461],[-.525,2.188],[-2.102,6.038],[-1.705,2.306],[-15.647,-4.912],[-.021,-.032],[-.568,-1.437],[0,0],[-.182,-.601],[.064,-.129],[0,0],[.257,-.536],[2.048,-4.483],[.761,-2.81],[.097,-.59],[0,0],[0,0],[-.375,2.306],[-.021,1.341],[.075,1.244],[0,0],[0,.064]],v:[[19.475,3.469],[19.593,4.177],[17.813,10.247],[11.132,23.245],[8.215,26.655],[-18.102,-1.174],[-18.145,-1.292],[-19.325,-4.638],[-19.325,-4.649],[-19.593,-5.582],[-19.4,-5.979],[-19.368,-6.032],[-18.617,-7.641],[-14.328,-19.62],[-12.966,-25.743],[-12.826,-26.655],[-2.284,-27.805],[19.641,-29.757],[19.057,-3.137],[19.153,.424],[19.454,3.298],[19.454,3.308]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.996078431606,.564705908298,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0},{ddd:0,ind:34,ty:4,nm:"Circle",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[242.741,233.792,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}}
717,ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[91.974,0],[0,91.974],[-91.974,0],[0,-91.975]],o:[[0,91.974],[-91.974,0],[0,-91.975],[91.974,0],[0,0]],v:[[166.535,.001],[0,166.534],[-166.535,.001],[0,-166.534],[166.535,.001]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.878431379795,.952941179276,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:385,st:0,bm:0}],markers=[],digitalDesignerAnim={v:v$1,meta,fr,ip,op,w,h:h$1,nm,ddd,assets,layers,markers},imgSide="/assets/hero-side-DVedtsVF.jpg",fashionSuit="/assets/gallery-fashion-2-KpG6Pt1Z.jpg",fashionDressSide="/assets/fashion-dress-side-CstXorQu.jpg",fashionSweater="/assets/fashion-sweater-CoOY9BwM.jpg",benefits=["Angles: front, back, side â consistent styling","Colorways generated in one run","Studio and lifestyle scenes","Consistent lighting and quality","Export-ready outputs for your catalog"],tileData=[{label:"Front",icon:Camera,gradFrom:"from-logo-purple/30",gradTo:"to-electric-blue/20",image:imgFront},{label:"Back",icon:RotateCcw,gradFrom:"from-electric-blue/25",gradTo:"to-logo-purple/15",image:newPinkBack},{label:"Side",icon:ArrowRight,gradFrom:"from-logo-purple/20",gradTo:"to-pink-500/20",image:imgSide},{label:"Detail",icon:Search,gradFrom:"from-electric-blue/30",gradTo:"to-cyan-500/15",image:fashionSuit},{label:"Outdoor",icon:Sun,gradFrom:"from-amber-500/20",gradTo:"to-electric-blue/15",image:imgOutdoor},{label:"Studio",icon:Aperture,gradFrom:"from-logo-purple/25",gradTo:"to-electric-blue/25",image:fashionDressSide},{label:"Flatlay",icon:LayoutGrid,gradFrom:"from-cyan-500/20",gradTo:"to-logo-purple/15",image:fashionSweater},{label:"Lifestyle",icon:Image$2,gradFrom:"from-pink-500/20",gradTo:"to-electric-blue/20",image:imgLifestyle},{label:"Variant",icon:Palette,gradFrom:"from-logo-purple/30",gradTo:"to-amber-500/15",image:imgVariant}],AnimatedCheck=({delay:_})=>{const j=reactExports.useRef(null),et=useInView(j,{once:!0,amount:.5});return jsxRuntimeExports.jsxs("svg",{ref:j,className:"w-6 h-6 flex-shrink-0",viewBox:"0 0 24 24",fill:"none",children:[jsxRuntimeExports.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:"url(#checkGrad)",strokeWidth:"2",strokeDasharray:"63",strokeDashoffset:et?"0":"63",style:{transition:`stroke-dashoffset 0.6s ease-out ${_}s`}}),jsxRuntimeExports.jsx("path",{d:"M8 12.5l2.5 2.5 5.5-5.5",stroke:"url(#checkGrad)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:"20",strokeDashoffset:et?"0":"20",style:{transition:`stroke-dashoffset 0.4s ease-out ${_+.3}s`}}),jsxRuntimeExports.jsx("defs",{children:jsxRuntimeExports.jsxs("linearGradient",{id:"checkGrad",x1:"0",y1:"0",x2:"24",y2:"24",children:[jsxRuntimeExports.jsx("stop",{stopColor:"hsl(252 100% 68%)"}),jsxRuntimeExports.jsx("stop",{offset:"1",stopColor:"hsl(217 91% 60%)"})]})})]})},TiltCard=({children:_})=>{const j=reactExports.useRef(null),[et,tt]=reactExports.useState("perspective(800px) rotateX(0deg) rotateY(0deg)"),[rt,nt]=reactExports.useState("0 0 80px hsl(252 100% 68% / 0.35), 0 0 40px hsl(217 91% 60% / 0.25), 0 8px 32px hsl(0 0% 0% / 0.4)"),it=reactExports.useCallback(at=>{const ot=j.current;if(!ot)return;const lt=ot.getBoundingClientRect(),ct=at.clientX-lt.left,ut=at.clientY-lt.top,dt=lt.width/2,ht=lt.height/2,pt=(ut-ht)/ht*-4,gt=(ct-dt)/dt*4;tt(`perspective(800px) rotateX(${pt}deg) rotateY(${gt}deg) scale(1.02)`),nt("0 0 120px hsl(252 100% 68% / 0.5), 0 0 60px hsl(217 91% 60% / 0.35), 0 12px 40px hsl(0 0% 0% / 0.5)")},[]),st=reactExports.useCallback(()=>{tt("perspective(800px) rotateX(0deg) rotateY(0deg)"),nt("0 0 80px hsl(252 100% 68% / 0.35), 0 0 40px hsl(217 91% 60% / 0.25), 0 8px 32px hsl(0 0% 0% / 0.4)")},[]);return jsxRuntimeExports.jsx("div",{ref:j,onMouseMove:it,onMouseLeave:st,style:{transform:et,boxShadow:rt,transition:"transform 0.15s ease-out, box-shadow 0.3s ease-out",willChange:"transform"},className:"rounded-2xl",children:_})},SolutionSection=()=>{const _=reactExports.useRef(null),j=reactExports.useRef(null);return reactExports.useEffect(()=>{const et=_.current;if(!et)return;const tt=et.querySelectorAll(".grid-item"),rt=et.querySelectorAll(".tile-overlay"),nt=et.querySelectorAll(".tile-check"),it=window.setTimeout(()=>{tt.forEach(at=>
717{parseFloat(getComputedStyle(at).opacity)<.8&&(at.style.opacity="1",at.style.transform="none")})},2500),st=new IntersectionObserver(at=>{at.forEach(ot=>{ot.isIntersecting&&(__vitePreload(()=>import("./index-DfaSRNf0.js"),[]).then(lt=>{lt.animate(tt,{opacity:[.4,1],scale:[.85,1],delay:(dt,ht)=>{const pt=Math.floor(ht/3),gt=ht%3;return 200+(Math.abs(pt-1)+Math.abs(gt-1))*90},duration:550,ease:"easeOutCubic"});const ct=lt.createTimeline({loop:!0,defaults:{ease:"easeOutCubic"}});rt.forEach(dt=>{dt.style.opacity="0"}),nt.forEach(dt=>{dt.style.opacity="0",dt.style.transform="scale(0.85)"}),[0,4,8,2,6,1,3,5,7].forEach((dt,ht)=>{const pt=tt[dt],gt=rt[dt],ft=nt[dt],mt=ht*280;pt&&ct.add(pt,{scale:[1,1.05,1],duration:560},mt),gt&&ct.add(gt,{opacity:[0,.9,.25],duration:560},mt),ft&&ct.add(ft,{opacity:[0,1],scale:[.85,1],duration:240,ease:"easeOutBack"},mt+300)}),ct.add(rt,{opacity:[.25,0],duration:500},"+=1000"),ct.add(nt,{opacity:[1,0],duration:500,ease:"easeInOutCubic"},"-=500")}),st.disconnect())})},{threshold:.15});return st.observe(et),()=>{window.clearTimeout(it),st.disconnect()}},[]),jsxRuntimeExports.jsxs("section",{ref:j,className:"py-16 md:py-24 relative overflow-hidden",children:[jsxRuntimeExports.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[700px] h-[700px] pointer-events-none",children:jsxRuntimeExports.jsx("div",{className:"w-full h-full rounded-full opacity-20",style:{background:"radial-gradient(circle at 30% 40%, hsl(252 100% 68% / 0.15), transparent 60%), radial-gradient(circle at 70% 60%, hsl(217 91% 60% / 0.12), transparent 55%)",filter:"blur(100px)"}})}),jsxRuntimeExports.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:[jsxRuntimeExports.jsx(ScrollOpacity,{yOffset:20,children:jsxRuntimeExports.jsxs("div",{className:"text-center mb-10 md:mb-14",children:[jsxRuntimeExports.jsxs("h2",{className:"font-prata text-3xl md:text-5xl lg:text-[3.5rem] font-bold mb-5 leading-tight text-foreground",children:["Generate a full product set"," ",jsxRuntimeExports.jsx("span",{className:"bg-gradient-to-r from-logo-purple to-electric-blue bg-clip-text text-transparent",children:"in one run."})]}),jsxRuntimeExports.jsx("p",{className:"text-foreground/50 font-body text-lg md:text-xl max-w-2xl mx-auto leading-relaxed",children:"Upload once. Get every angle, color, and scene â consistent lighting, consistent styling, ready for export."})]})}),jsxRuntimeExports.jsxs("div",{className:"max-w-6xl mx-auto grid lg:grid-cols-2 gap-8 lg:gap-10 items-center",children:[jsxRuntimeExports.jsx(ScrollOpacity,{yOffset:15,children:jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx(motion.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.6},className:"mb-8 flex justify-center lg:justify-start",children:jsxRuntimeExports.jsxs("div",{className:"w-full max-w-[340px] h-auto relative",children:[jsxRuntimeExports.jsx(Lottie,{animationData:digitalDesignerAnim,loop:!0,autoplay:!0,style:{width:"100%",height:"auto"}}),jsxRuntimeExports.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at 50% 50%, hsl(252 100% 68% / 0.55), hsl(217 91% 60% / 0.45) 40%, transparent 70%)",mixBlendMode:"overlay"}})]})}),jsxRuntimeExports.jsx("ul",{className:"space-y-4",children:benefits.map((et,tt)=>jsxRuntimeExports.jsxs(motion.li,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.4,delay:tt*.1},className:"group flex items-center gap-3 relative rounded-lg px-3 py-2 -mx-3 transition-all duration-300 hover:bg-white/[0.03]",children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-y-0 left-0 w-[3px] rounded-full bg-gradient-to-b from-logo-purple to-electric-blue opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),jsxRuntimeExports.jsx(AnimatedCheck,{delay:.2+tt*.15}),jsxRuntimeExports.jsx("span",{className:"text-foreground font-medium font-body",children:et})]},tt))})]})}),jsxRuntimeExports.jsxs(motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.6,delay:.15},className:"relative",children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 animate-blob-float",children:jsxRuntimeExports.jsx("div",{className:"w-full h-full scale-110 rounded-3xl opacity-40",style:{background:"radial-gradient(ellipse at 40% 30%, hsl(252 100% 68% / 0.20), transparent 55%), radial-gradient(ellipse at 70% 70%, hsl(217 91% 60% / 0.15), transparent 50%)",filter:"blur(60px)"}})}),jsxRuntimeExports.jsx(AnimatedBorder,{borderRadius:"1rem",children:jsxRuntimeExports.jsx(TiltCard,{children:jsxRuntimeExports.jsxs("div",{className:"relative glass-surface rounded-2xl p-6 sm:p-8 border border-white/[0.08]",children:[jsxRuntimeExports.jsx("div",{className:"pointer-events-none absolute inset-0 rounded-2xl bg-gradient-to-br from-logo-purple/[0.06] via-trans
717parent to-electric-blue/[0.05]"}),jsxRuntimeExports.jsx("div",{className:"pointer-events-none absolute inset-0 rounded-2xl z-[1]",style:{background:"radial-gradient(ellipse at 50% 40%, hsl(252 100% 68% / 0.12), hsl(217 91% 60% / 0.08) 50%, transparent 75%)",mixBlendMode:"overlay"}}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[jsxRuntimeExports.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-logo-purple to-electric-blue flex items-center justify-center shadow-button",children:jsxRuntimeExports.jsx(Sparkles,{className:"w-5 h-5 text-primary-foreground"})}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("div",{className:"font-display font-semibold text-foreground",children:"Batch Generation"}),jsxRuntimeExports.jsx("div",{className:"text-sm text-foreground/70 font-body",children:"All variants at once"})]})]}),jsxRuntimeExports.jsx("div",{ref:_,className:"grid grid-cols-3 gap-3",children:tileData.map((et,tt)=>{const rt=et.icon;return jsxRuntimeExports.jsxs(motion.div,{initial:{opacity:0,scale:.85},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.35,delay:.3+tt*.05,ease:"easeOut"},className:"grid-item aspect-square rounded-xl bg-white/[0.04] border border-white/[0.08] relative overflow-hidden group cursor-pointer hover:border-logo-purple/40 transition-all duration-300 hover:scale-[1.04]",children:[jsxRuntimeExports.jsx("img",{src:et.image,alt:et.label,loading:"lazy",className:"absolute inset-0 w-full h-full object-cover opacity-60 grayscale group-hover:opacity-90 group-hover:grayscale-0 transition-all duration-300"}),jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-black/30 group-hover:bg-black/10 transition-colors duration-300"}),jsxRuntimeExports.jsx("div",{className:`absolute inset-0 bg-gradient-to-br ${et.gradFrom} ${et.gradTo} opacity-60 group-hover:opacity-30 transition-opacity duration-300`}),jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-noise opacity-[0.03]"}),jsxRuntimeExports.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:jsxRuntimeExports.jsx(rt,{className:"w-7 h-7 sm:w-8 sm:h-8 text-white/40 group-hover:text-white/20 transition-colors duration-300 drop-shadow-lg",strokeWidth:1.5})}),jsxRuntimeExports.jsxs("div",{className:"tile-overlay absolute inset-0 opacity-0 pointer-events-none",children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent via-white/[0.15] to-transparent"}),jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-logo-purple/40 to-electric-blue/40 opacity-70"})]}),jsxRuntimeExports.jsx("div",{className:"absolute top-2 left-2 text-[10px] font-body font-medium text-foreground/70 px-2 py-0.5 rounded-full bg-black/30 backdrop-blur-sm border border-white/[0.08]",children:et.label}),jsxRuntimeExports.jsx("div",{className:"tile-check absolute bottom-2 right-2 opacity-0 scale-90",children:jsxRuntimeExports.jsx("div",{className:"w-6 h-6 rounded-full bg-green-500/25 border border-green-400/30 flex items-center justify-center backdrop-blur-sm",children:jsxRuntimeExports.jsx("svg",{className:"w-3.5 h-3.5 text-green-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntimeExports.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})})})]},tt)})}),jsxRuntimeExports.jsxs("div",{className:"mt-6 flex items-center justify-between",children:[jsxRuntimeExports.jsxs("div",{className:"flex -space-x-2",children:[["from-logo-purple/40 to-electric-blue/30","from-electric-blue/40 to-cyan-500/30","from-pink-500/30 to-logo-purple/30"].map((et,tt)=>jsxRuntimeExports.jsx("div",{className:`w-8 h-8 rounded-full bg-gradient-to-br ${et} border-2 border-background/60`},tt)),jsxRuntimeExports.jsx("div",{className:"w-8 h-8 rounded-full bg-gradient-to-br from-logo-purple/20 to-electric-blue/20 border-2 border-background/60 flex items-center justify-center text-xs font-body font-medium text-logo-purple",children:"+9"})]}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2 text-sm font-body font-medium text-logo-purple",children:[jsxRuntimeExports.jsx(Zap,{className:"w-4 h-4 animate-pulse"}),"Generating..."]})]})]})})})]})]})]})]})},features=[{id:1,title:"Multi-View",headline:"Every Angle, One Click",description:"Generate front, back, side, and custom views in a single batch. Pixel-perfect consistency across every angle â no reshoots, no guesswork.",icon:jsxRuntimeExports.jsx(ScanEye,{className:"w-8 h-8"}),gradient:"from-electric-blue to-cyan-400",large:!0},{id:2,title:"Color Batching",headline:"Infinite Colorways, Instantly",description:"Showcase every color variant of your product without a single reshoot. Upload once, generate dozens of perfectly matched colorways in seconds.",icon:jsxRuntimeExports.jsx(Palette,{className:"w-8 h-8"}),gradient:"from-logo-purple to-electric-blue",large:!0},{id:3,title:"Scenes",headline:"Studio-Grade Scenes on Demand",description:"Professional studio lighting or natural environments â pick the perfect backdrop and let AI handle the rest.",icon:jsxRuntimeExports.jsx(Camera,{className:"w-7 h-7"}),gradient:"from-pink-500 to-logo-purple"},{id:4,title:"Export",headline:"Ship to Every Platform",description:"One-click export to Shopify, Amazon & WooCommerce â properly sized, named, and organized automatically.",icon:jsxRuntimeExports.jsx(Rocket,{className:"w-7 h-7"}),gradient:"from-green-400 to-emerald-500"},{id:5,title:"Speed",headline:"Lightning-Fast Generation",description:"Powered by optimized AI pipelines. What used to take a full day of shooting now takes under a minute.",icon:jsxRuntimeExports.jsx(Zap,{className:"w-7 h-7"}
717),gradient:"from-amber-400 to-orange-500"}],FeaturesSection=()=>{const _=reactExports.useRef(null);reactExports.useEffect(()=>{const tt=_.current;if(!tt)return;const rt=tt.querySelectorAll(".feature-card"),nt=window.setTimeout(()=>{rt.forEach(st=>{const at=st;parseFloat(getComputedStyle(at).opacity)<.5&&(at.style.opacity="1",at.style.transform="none",at.style.filter="none")})},2500),it=new IntersectionObserver(st=>{st.forEach(at=>{at.isIntersecting&&(__vitePreload(()=>import("./index-DfaSRNf0.js"),[]).then(ot=>{ot.animate(rt,{opacity:[0,1],translateY:[40,0],filter:["blur(6px)","blur(0px)"],delay:(lt,ct)=>ct*100+100,duration:700,ease:"easeOutCubic"})}),it.disconnect())})},{threshold:.1});return it.observe(tt),()=>{window.clearTimeout(nt),it.disconnect()}},[]);const j=features.filter(tt=>tt.large),et=features.filter(tt=>!tt.large);return jsxRuntimeExports.jsxs("section",{id:"product",className:"py-16 md:py-24 relative overflow-hidden",ref:_,children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 pointer-events-none",children:jsxRuntimeExports.jsx("div",{className:"absolute w-[800px] h-[800px] rounded-full blur-[160px] opacity-[0.04]",style:{to
717p:"20%",left:"50%",transform:"translateX(-50%)",background:"radial-gradient(circle, hsl(252 100% 68%), hsl(217 91% 60%), transparent 70%)"}})}),jsxRuntimeExports.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:[jsxRuntimeExports.jsxs("div",{className:"text-center mb-10 md:mb-14",children:[jsxRuntimeExports.jsxs("h2",{className:"font-prata text-3xl md:text-5xl lg:text-[3.5rem] font-bold text-foreground mb-5 leading-tight",children:["Built for Speed."," ",jsxRuntimeExports.jsx("span",{className:"bg-gradient-to-r from-logo-purple to-electric-blue bg-clip-text text-transparent",children:"Designed for Scale."})]}),jsxRuntimeExports.jsx("p",{className:"text-foreground/50 font-body text-lg md:text-xl max-w-2xl mx-auto leading-relaxed",children:"Professional product photography that used to take hours â now takes seconds."})]}),jsxRuntimeExports.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 lg:gap-5 mb-4 lg:mb-5",children:j.map(tt=>jsxRuntimeExports.jsx(motion.div,{whileHover:{y:-4,transition:{type:"spring",stiffness:300,damping:25}},className:"feature-card opacity-0 group relative rounded-2xl overflow-hidden border border-white/[0.06] hover:border-white/[0.12] transition-all duration-300 bg-white/[0.02]",children:jsxRuntimeExports.jsxs("div",{className:"relative p-8 md:p-10 h-full flex flex-col",children:[jsxRuntimeExports.jsx("div",{className:`absolute top-0 left-0 right-0 h-px bg-gradient-to-r ${tt.gradient} opacity-20`}),jsxRuntimeExports.jsx("div",{className:`w-16 h-16 rounded-2xl bg-gradient-to-br ${tt.gradient} flex items-center justify-center text-white mb-7 shadow-lg`,children:tt.icon}),jsxRuntimeExports.jsx("span",{className:"text-xs font-body font-semibold uppercase tracking-[0.2em] text-foreground/35 mb-3",children:tt.title}),jsxRuntimeExports.jsx("h3",{className:"font-display text-2xl md:text-3xl font-bold text-foreground mb-3 tracking-tight",children:tt.headline}),jsxRuntimeExports.jsx("p",{className:"text-foreground/50 font-body text-[15px] leading-relaxed flex-1 max-w-md",children:tt.description}),jsxRuntimeExports.jsx("div",{className:"mt-auto pt-5",children:jsxRuntimeExports.jsxs("span",{className:"flex items-center gap-1.5 text-sm font-body font-medium text-foreground/30 group-hover:text-foreground/60 transition-colors duration-200",children:["Learn more",jsxRuntimeExports.jsx(ArrowRight,{className:"w-3.5 h-3.5 group-hover:translate-x-0.5 transition-transform duration-200"})]})})]})},tt.id))}),jsxRuntimeExports.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 lg:gap-5",children:et.map(tt=>jsxRuntimeExports.jsx(motion.div,{whileHover:{y:-4,transition:{type:"spring",stiffness:300,damping:25}},className:"feature-card opacity-0 group relative rounded-2xl overflow-hidden border border-white/[0.06] hover:border-white/[0.12] transition-all duration-300 bg-white/[0.02]",children:jsxRuntimeExports.jsxs("div",{className:"relative p-7 md:p-8 h-full flex flex-col",children:[jsxRuntimeExports.jsx("div",{className:`absolute top-0 left-0 right-0 h-px bg-gradient-to-r ${tt.gradient} opacity-20`}),jsxRuntimeExports.jsx("div",{className:`w-13 h-13 w-[52px] h-[52px] rounded-xl bg-gradient-to-br ${tt.gradient} flex items-center justify-center text-white mb-6 shadow-lg`,children:tt.icon}),jsxRuntimeExports.jsx("span",{className:"text-xs font-body font-semibold uppercase tracking-[0.2em] text-foreground/35 mb-2",children:tt.title}),jsxRuntimeExports.jsx("h3",{className:"font-display text-lg md:text-xl font-bold text-foreground mb-2 tracking-tight",children:tt.headline}),jsxRuntimeExports.jsx("p",{className:"text-foreground/50 font-body text-sm leading-relaxed flex-1",children:tt.description}),jsxRuntimeExports.jsx("div",{className:"mt-auto pt-6",children:jsxRuntimeExports.jsxs("span",{className:"flex items-center gap-1.5 text-sm font-body font-medium text-foreground/40 group-hover:text-foreground/70 transition-colors duration-200",children:["Learn more",jsxRuntimeExports.jsx(ArrowRight,{className:"w-3.5 h-3.5 group-hover:translate-x-0.5 transition-transform duration-200"})]})})]})},tt.id))})]})]})},decorLamp="/assets/decor-lamp-Cgxbsy8_.jpg",decorLivingRoom="/assets/gallery-decor-2-CEI5RJeL.jpg",decorVase="/assets/decor-vase-CyhrgEYA.jpg",newHoodieCloseup="/assets/fashion-hoodie-closeup-W0QqG5Sp.png",galleryItems=[{id:"new-1",image:newDenimFront,title:"Denim Shirt",category:"fashion",viewType:"Front View"},{id:"new-2",image:newPinkSide,title:"Pink Shirt",category:"fashion",viewType:"Side View"},{id:"new-3",image:newPinkBack,title:"Pink Shirt",category:"fashion",viewType:"Back View"},{id:"new-4",image:newBlackDress,title:"Black Dress",category:"fashion",viewType:"Front View"},{id:"new-5",image:newBlackTee,title:"Black Tee",category:"fashion",viewType:"Model Shot"},{id:"new-6",image:newHoodieCloseup,title:"Grey Hoodie",category:"fashion",viewType:"Model Shot"},{id:"new-7",image:newYellowFront,title:"Yellow Shirt",category:"fashion",viewType:"Front View"},{id:"new-8",image:newCrystalLamp,title:"Crystal Lamp",category:"decor",viewType:"Lifestyle"},{id:"old-1",image:fashionSuit,title:"Navy Suit",category:"fashion",viewType:"Front View"},{id:"old-2",image:fashionDressSide,title:"Floral Dress",category:"fashion",viewType:"Side View"},{id:"old-3",image:fashionSweater,title:"Knit Sweater",category:"fashion",viewType:"Outdoor"}
717,{id:"old-4",image:decorLamp,title:"Modern Lamp",category:"decor",viewType:"Product Shot"},{id:"old-5",image:decorLivingRoom,title:"Living Room",category:"decor",viewType:"Lifestyle"},{id:"old-6",image:decorVase,title:"Ceramic Vase",category:"decor",viewType:"Studio"}],categories=[{value:"all",label:"All Results"},{value:"fashion",label:"Fashion"},{value:"decor",label:"Home Decor"}],FLIP_DURATION={tilt:50,toNinety:100,overshoot:100,settle:150},GalleryCard=({item:_,index:j})=>{const[et,tt]=reactExports.useState(!1),[rt,nt]=reactExports.useState(!1),[it,st]=reactExports.useState("idle"),[at,ot]=reactExports.useState(!1),lt=reactExports.useRef(null),ct=()=>{switch(it){case"tilt":return"rotateY(-10deg)";case"ninety":return"rotateY(90deg)";case"overshoot":return"rotateY(190deg)";case"done":return"rotateY(180deg)";case"back-overshoot":return"rotateY(190deg)";case"back-ninety":return"rotateY(90deg)";case"back-tilt":return"rotateY(-10deg)";default:return"rotateY(0deg)"}},ut=()=>{switch(it){case"tilt":return`transform ${FLIP_DURATION.tilt}ms ease-out`;case"ninety":return`transform ${FLIP_DURATION.toNinety}ms ease-in`;case"overshoot":return`transform ${FLIP_DURATION.overshoot}ms ease-out`;case"done":return`transform ${FLIP_DURATION.settle}ms ease-out`;case"back-overshoot":return`transform ${FLIP_DURATION.tilt}ms ease-out`;case"back-ninety":return`transform ${FLIP_DURATION.toNinety}ms ease-in`;case"back-tilt":return`transform ${FLIP_DURATION.overshoot}ms ease-out`;default:return"transform 100ms ease-out"}},dt=reactExports.useCallback(()=>{tt(!1),st("tilt"),setTimeout(()=>{st("ninety"),setTimeout(()=>{ot(!0),st("overshoot"),setTimeout(()=>{st("done"),nt(!0)},FLIP_DURATION.overshoot)},FLIP_DURATION.toNinety)},FLIP_DURATION.tilt)},[]),ht=reactExports.useCallback(()=>{st("back-overshoot"),setTimeout(()=>{st("back-ninety"),setTimeout(()=>{ot(!1),st("back-tilt"),setTimeout(()=>{st("idle"),nt(!1)},FLIP_DURATION.overshoot)},FLIP_DURATION.toNinety)},FLIP_DURATION.tilt)},[]);reactExports.useEffect(()=>{const gt=ft=>{rt&<.current&&!lt.current.contains(ft.target)&&ht()};return document.addEventListener("mousedown",gt),()=>document.removeEventListener("mousedown",gt)},[rt,ht]);const pt=it!=="idle"&&it!=="done";return jsxRuntimeExports.jsx(motion.div,{layout:!0,initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.9},transition:{duration:.4,delay:j*.06},className:"relative",style:{perspective:"800px"},children:jsxRuntimeExports.jsxs("div",{ref:lt,className:"relative aspect-[3/4] cursor-pointer",style:{transformStyle:"preserve-3d",transform:ct(),transition:ut(),boxShadow:et||rt?"0 13px 21px -5px rgba(0,0,0,0.3)":"0 4px 12px -2px rgba(0,0,0,0.15)"},onMouseEnter:()=>{!rt&&!pt&&tt(!0)},onMouseLeave:()=>{!rt&&!pt&&tt(!1)},children:[jsxRuntimeExports.jsxs("div",{className:"absolute inset-0 rounded-2xl overflow-hidden",style:{backfaceVisibility:"hidden",display:at?"none":"block"},children:[jsxRuntimeExports.jsx("img",{src:_.image,alt:`${_.title} â ${_.viewType.toLowerCase()}`,loading:"lazy",className:"w-full h-full object-cover transition-transform duration-500",style:{transform:et?"scale(1.05)":"scale(1)"}}),jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-logo-purple/60 transition-opacity duration-200 pointer-events-none",style:{opacity:et?.7:0}}),jsxRuntimeExports.jsx("button",{onClick:gt=>{gt.stopPropagation(),dt()},className:`absolute left-1/2 top-[38%] -translate-x-1/2 -translate-y-1/2 z-10 718 border-2 border-white text-white text-sm sm:text-base uppercase font-bold 719 tracking-wider px-5 py-2.5 transition-all duration-200 720 hover:bg-white hover:text-logo-purple`,style:{opacity:et?1:0,pointerEvents:et?"auto":"none"},children:"View details"}),jsxRuntimeExports.jsxs("div",{className:"absolute left-0 right-0 bg-[#111] px-5 pb-5 pt-4 transition-all duration-200",style:{bottom:0,transform:"translateY(0)"},children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between mb-1",children:[jsxRuntimeExports.jsx("h4",{className:"font-display text-lg font-semibold text-white",children:_.title}),jsxRuntimeExports.jsx("span",{className:"text-sm font-semibold text-logo-purple",children:_.viewType})]}),jsxRuntimeExports.jsx("span",{className:"text-xs text-white/60 capitalize",children:_.category==="decor"?"Home Decor":"Fashion"}),jsxRuntimeExports.jsxs("div",{className:"overflow-hidden transition-all duration-300",style:{maxHeight:et?"80px":"0px",opacity:et?1:0,marginTop:et?"10px":"0px"},children:[jsxRuntimeExports.jsx("span",{className:"text-xs font-bold text-white/80 uppercase tracking-wide",children:"Category"}),jsxRuntimeExports.jsx("span",{className:"block text-xs text-white/50 mb-1",children:_.category==="decor"?"Home Decor":"Fashion"}),jsxRuntimeExports.jsx("span",{className:"text-xs font-bold text-white/80 uppercase tracking-wide",children:"View"}),jsxRuntimeExports.jsx("span",{className:"block text-xs text-white/50",children:_.viewType})]})]})]}),jsxRuntimeExports.jsxs("div",{className:"absolute inset-0 rounded-2xl overflow-hidden",style:{backfaceVisibility:"hidden",transform:"rotateY(180deg)",display:at?"block":"none"},children:[jsxRuntimeExports.jsx("img",{src:_.image,alt:`${_.title} â full view`,className:"w-full h-full object-cover"}),jsxRuntimeExports.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(to right, rgba(0,0,0,0.2), rgba(0,0,0,0.05) 30%, transparent)"}}),jsxRuntimeExports.jsxs("button",{onClick:gt=>{gt.stopPropagation(),ht()},className:"absolute top-4 right-4 w-8 h-8 flex items-center justify-center z-20 group/close cursor-pointer",children:[jsxRuntimeExports.jsx("span",{className:"absolute w-5 h-0.5 bg-white/70 group-hover/close:bg-white rounded rotate-45 transition-colors"}),jsxRuntimeExports.jsx("span",{className:"absolute w-5 h-0.5 bg-white/70 group-hover/close:bg-white rounded -rotate-45 transition-colors"})]}),jsxRuntimeExports.jsxs("div",{className:"absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/80 to-transparent p-5",children:[jsxRuntimeExports.jsx("h4",{className:"font-display text-lg font-semibold text-white",children:_.title}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2 mt-1",children:[jsxRuntimeExports.jsx("span",{className:"text-xs font-medium text-logo-purple",children:_.viewType}),jsxRuntimeExports.jsx("span",{className:"w-1 h-1 rounded-full bg-white/40"}),jsxRuntimeExports.jsx("span",{className:"text-xs text-white/60 capitalize",children:_.category==="decor"?"Home Decor":"Fashion"})]})]})]})]})})},GallerySection=()=>{const[_,j]=reactExports.useState("all"),et=reactExports.useRef(null),tt=galleryItems.filter(rt=>_==="all"||rt.category===_);return reactExports.useEffect(()=>{const rt=et.current;if(!rt)return;const nt=rt.querySelectorAll(".gallery-card-wrapper > div");nt.length!==0&&__vitePreload(()=>import("./index-DfaSRNf0.js"),[]).then(it=>{it.animate(nt,{opacity:[.5,1],scale:[.95,1],delay:(st,at)=>at*60,duration:400,ease:"easeOutCubic"})})},[_]),jsxRuntimeExports.jsxs("section",{id:"examples",className:"py-16 md:py-24 relative overflow-hidden",children:[jsxRuntimeExports.jsxs("div",{className:"absolute inset-0 pointer-events-none",children:[jsxRuntimeExports.jsx("div",{className:"absolute top-1/4 left-1/4 w-96 h-96 bg-logo-purple/[0.03] rounded-full blur-[120px]"}),jsxRuntimeExports.jsx("div",{className:"absolute bottom-1/4 right-1/4 w-96 h-96 bg-electric-blue/[0.03] rounded-full blur-[120px]"})]}),jsxRuntimeExports.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:[jsxRuntimeExports.jsxs("div",{className:"text-center mb-10 md:mb-14",children:[jsxRuntimeExports.jsxs("h2",{className:"font-prata text-3xl md:text-5xl lg:text-[3.5rem] font-bold mb-5 leading-tight text-foreground",children:["Results"," ",jsxRuntimeExports.jsx("span",{className:"bg-gradient-to-r from-logo-purple to-electric-blue bg-clip-text text-transparent",children:"Gallery"})]}
720),jsxRuntimeExports.jsx("p",{className:"text-foreground/50 font-body text-lg md:text-xl max-w-2xl mx-auto leading-relaxed",children:"Explore stunning AI-generated product images across different niches and styles"})]}),jsxRuntimeExports.jsx("div",{className:"flex justify-center mb-8",children:jsxRuntimeExports.jsx("div",{className:"inline-flex p-1.5 rounded-full bg-white/[0.02] border border-white/[0.06] backdrop-blur-xl",children:categories.map(rt=>jsxRuntimeExports.jsxs("button",{onClick:()=>j(rt.value),className:`relative px-5 py-2.5 rounded-full text-sm font-medium transition-all duration-300 ${_===rt.value?"text-foreground":"text-muted-foreground hover:text-foreground"}`,children:[_===rt.value&&jsxRuntimeExports.jsx(motion.div,{layoutId:"activeTab",className:"absolute inset-0 rounded-full bg-gradient-to-r from-logo-purple/20 to-electric-blue/20 border border-logo-purple/30",transition:{type:"spring",bounce:.2,duration:.6}}),jsxRuntimeExports.jsx("span",{className:"relative z-10",children:rt.label})]},rt.value))})}),jsxRuntimeExports.jsx(motion.div,{ref:et,layout:!0,className:"gallery-card-wrapper grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:jsxRuntimeExports.jsx(AnimatePresence,{mode:"popLayout",children:tt.map((rt,nt)=>jsxRuntimeExports.jsx(GalleryCard,{item:rt,index:nt},rt.id))})}),jsxRuntimeExports.jsxs("div",{className:"text-center mt-8 md:mt-10",children:[jsxRuntimeExports.jsx("p",{className:"text-muted-foreground font-body mb-4",children:"Ready to create your own stunning product images?"}),jsxRuntimeExports.jsx(MagneticButton,{children:jsxRuntimeExports.jsx(Link,{to:"/app",children:jsxRuntimeExports.jsxs(Button,{variant:"hero",size:"lg",className:"font-body",children:[jsxRuntimeExports.jsx(Sparkles,{className:"w-4 h-4"}),"Start Creating Now"]})})})]})]})]})},testimonialRow1=[{quote:"Cut our photo costs by 80%.",author:"Sarah Chen",company:"LUXE Fashion",rating:5},{quote:"Color variants are finally consistent.",author:"Marcus Thompson",company:"Urban Basics",rating:5},{quote:"Scaled from 50 to 500 SKUs in one quarter.",author:"Priya Patel",company:"Mindful Wear",rating:5},{quote:"Setup took under 5 minutes.",author:"James Rivera",company:"Threads Co",rating:5},{quote:"Our conversion rate jumped 35%.",author:"Anika Sharma",company:"Elara Studio",rating:5},{quote:"Best tool for product imagery, period.",author:"David Kim",company:"NOVA",rating:5},{quote:"Replaced our entire photo studio.",author:"Emma Larsson",company:"FORM",rating:5},{quote:"The AI quality blew us away.",author:"Liam O'Brien",company:"Sage & Stone",rating:5}],testimonialRow2=[{quote:"Incredibly fast turnaround.",author:"Sofia Martinez",company:"Mindful Wear",rating:5},{quote:"Our customers love the new imagery.",author:"Noah Williams",company:"LUXE Fashion",rating:5},{quote:"Made our catalog look premium.",author:"Chloe Dupont",company:"Urban Basics",rating:5},{quote:"So easy our intern runs it.",author:"Raj Mehta",company:"Threads Co",rating:5},{quote:"Perfect for seasonal launches.",author:"Olivia Park",company:"Elara Studio",rating:5},{quote:"10x faster than manual editing.",author:"Ethan Brooks",company:"NOVA",rating:5},{quote:"Worth every penny.",author:"Mia Tanaka",company:"FORM",rating:5},{quote:"Game changer for our e-commerce.",author:"Lucas Fernandez",company:"Sage & Stone",rating:5}],TestimonialPill=({testimonial:_})=>jsxRuntimeExports.jsxs("div",{className:"flex-shrink-0 w-[260px] rounded-xl border border-white/[0.06] bg-white/[0.02] hover:bg-white/[0.04] hover:border-white/[0.10] transition-all duration-300 p-4 cursor-default",children:[jsxRuntimeExports.jsx("div",{className:"flex gap-0.5 mb-2",children:Array.from({length:_.rating}).map((j,et)=>jsxRuntimeExports.jsx(Star,{className:"w-3.5 h-3.5 fill-amber-400 text-amber-400"},et))}),jsxRuntimeExports.jsxs("p",{className:"text-sm text-foreground/70 font-body leading-relaxed mb-2",children:["â",_.quote,"â"]}),jsxRuntimeExports.jsxs("p",{className:"text-xs text-foreground/40 font-body",children:["â ",_.author,", ",_.company]})]}),brandRow1=["LUXE","Urban Basics","Mindful Wear","NOVA","Threads Co","Elara Studio","FORM","Sage & Stone"],brandRow2=["Threads Co","NOVA","FORM","LUXE","Sage & Stone","Urban Basics","Elara Studio","Mindful Wear"],BrandPill=({name:_})=>jsxRuntimeExports.jsx("div",{className:"flex-shrink-0 px-5 py-2.5 rounded-full border border-white/[0.08] bg-white/[0.03] hover:bg-white/[0.06] hover:border-white/[0.14] transition-all duration-300 cursor-default",children:jsxRuntimeExports.jsx("span",{className:"text-sm font-display font-semibold text-foreground
720/40 whitespace-nowrap tracking-wide",children:_})}),Testimonials=()=>{const _=reactExports.useRef(null),j=useInView(_,{once:!0,margin:"-100px"});return jsxRuntimeExports.jsxs("section",{className:"py-16 md:py-24 relative",ref:_,children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent via-logo-purple/[0.02] to-transparent pointer-events-none"}),jsxRuntimeExports.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative mb-10",children:jsxRuntimeExports.jsxs(motion.div,{initial:{opacity:0,y:20},animate:j?{opacity:1,y:0}:{},transition:{duration:.6},className:"text-center",children:[jsxRuntimeExports.jsxs("h2",{className:"font-prata text-3xl md:text-5xl lg:text-[3.5rem] font-bold text-foreground mb-5 leading-tight",children:["Loved by Brands"," ",jsxRuntimeExports.jsx("span",{className:"bg-gradient-to-r from-logo-purple to-electric-blue bg-clip-text text-transparent",children:"Worldwide"})]}),jsxRuntimeExports.jsx("p",{className:"text-foreground/50 font-body text-lg md:text-xl max-w-2xl mx-auto leading-relaxed",children:"See why over 10+ brands trust Snapshot for their product imagery"})]})}),jsxRuntimeExports.jsx(motion.div,{initial:{opacity:0,y:15},animate:j?{opacity:1,y:0}:{},transition:{duration:.6,delay:.2},className:"space-y-3 overflow-hidden mb-14",children:jsxRuntimeExports.jsx("div",{className:"marquee-left",children:jsxRuntimeExports.jsx("div",{className:"marquee-track-testimonials",children:[...testimonialRow1,...testimonialRow2,...testimonialRow1,...testimonialRow2].map((et,tt)=>jsxRuntimeExports.jsx(TestimonialPill,{testimonial:et},`t1-${tt}`))})})}),jsxRuntimeExports.jsxs(motion.div,{initial:{opacity:0,y:15},animate:j?{opacity:1,y:0}:{},transition:{duration:.6,delay:.4},className:"pt-10 border-t border-white/[0.04]",children:[jsxRuntimeExports.jsx("p",{className:"text-center text-sm text-muted-foreground/60 font-body mb-6",children:"Trusted by innovative brands"}),jsxRuntimeExports.jsxs("div",{className:"space-y-3 overflow-hidden",children:[jsxRuntimeExports.jsx("div",{className:"marquee-left",children:jsxRuntimeExports.jsx("div",{className:"marquee-track",children:[...brandRow1,...brandRow1,...brandRow1,...brandRow1].map((et,tt)=>jsxRuntimeExports.jsx(BrandPill,{name:et},`r1-${tt}`))})}),jsxRuntimeExports.jsx("div",{className:"marquee-right",children:jsxRuntimeExports.jsx("div",{className:"marquee-track",children:[...brandRow2,...brandRow2,...brandRow2,...brandRow2].map((et,tt)=>jsxRuntimeExports.jsx(BrandPill,{name:et},`r2-${tt}`))})})]})]})]})},pricingTiers=[{name:"Basic",price:"$10",yearlyPrice:"$100",period:"/month",yearlyPeriod:"/year",description:"Perfect for hobbyists and trying out styles.",features:["75 credits/month","Standard quality (1K)","Basic Commercial License","Access to all styles"],cta:"Choose Plan",priceIdMonth:STRIPE_PRICES.basic.month,priceIdYear:STRIPE_PRICES.basic.year},{name:"Starter",price:"$28.95",yearlyPrice:"$289.50",period:"/month",yearlyPeriod:"/year",description:"Great for content creators and small brands.",features:["250 credits/month","HD quality available (2K)","Full Commercial License","Priority Support","Rollover unused credits"],popular:!0,cta:"Choose Plan",priceIdMonth:STRIPE_PRICES.starter.month,priceIdYear:STRIPE_PRICES.starter.year},{name:"Advanced",price:"$49.95",yearlyPrice:"$499.50",period:"/month",yearlyPeriod:"/year",description:"For professional photographers and agencies.",features:["500 credits/month","HD quality available (2K)","Bulk Generation Tools","Dedicated Account Manager","Rollover unused credits"],cta:"Choose Plan",priceIdMonth:STRIPE_PRICES.advanced.month,priceIdYear:STRIPE_PRICES.advanced.year},{name:"Generator",price:"$124.95",yearlyPrice:"$1,249.50",period:"/month",yearlyPeriod:"/year",description:"Ultimate power for high-volume creation.",features:["1,000 credits/month","HD quality available (2K)","API Access (Coming Soon)","White-label options","Rollover unused credits"],cta:"Choose Plan",priceIdMonth:STRIPE_PRICES.generator.month,priceIdYear:STRIPE_PRICES.generator.year}],Pricing=()=>{const _=reactExports.useRef(null),j=useInView(_,{once:!0,margin:"-100px"}),[et,tt]=reactExports.useState(!1),[rt,nt]=reactExports.useState(null),it=useNavigate(),{toast:st}=useToast(),at=async ot=>{nt(ot.name);try{const{data:{session:lt}}=await supabase.auth.getSession();if(!lt){it("/auth");return}const ct=et?ot.priceIdYear:ot.priceIdMonth,{data:ut,error:dt}=await invokeEdgeFunctionWithRetry("create-checkout",{body:{priceId:ct,mode:"subscription",successUrl:`${window.location.origin}/app`,cancelUrl:window.location.href}});if(dt)throw new Error(dt.message||"Checkout failed");ut!=null&&ut.url&&(window.location.href=ut.url)}catch(lt){console.error(lt),st({title:"Checkout Error",description:"Could not start checkout. Please try again.",variant:"destructive"})}finally{nt(null)}};return reactExports.useEffect(()=>{const ot=_.current;if(!ot)return;const lt=ot.querySelectorAll(".pricing-card"),ct=window.setTimeout(()=>{lt.forEach(dt=>{const ht=dt;parseFloat(getComputedStyle(ht).opacity)<.5&&(ht.style.opacity="1",ht.style.transform="none",ht.style.filter="none")})},2500);if(!j)return()=>window.clearTimeout(ct);let ut=null;return __vitePreload(()=>import("./index-DfaSRNf0.js"),[]).then(dt=>{dt.animate(lt,{opacity:[0,1],translateY:[60,0],scale:[.92,1],filter:["blur(8px)","blur(0px)"],delay:(pt,gt)=>
720{const ft=(lt.length-1)/2;return Math.abs(gt-ft)*120},duration:800,ease:"easeOutExpo"}).then(()=>{const pt=ot.querySelector(".pricing-card-popular");pt&&(ut=dt.animate(pt,{translateY:[-3,3],duration:3500,ease:"easeInOutSine",direction:"alternate",loop:!0}))})}),()=>{window.clearTimeout(ct),ut==null||ut.pause()}},[j]),jsxRuntimeExports.jsxs("section",{id:"pricing",className:"py-16 md:py-24 relative",ref:_,children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent via-electric-blue/[0.02] to-transparent pointer-events-none"}),jsxRuntimeExports.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative",children:[jsxRuntimeExports.jsxs("div",{className:"text-center mb-10",children:[jsxRuntimeExports.jsxs("h2",{className:"font-prata text-3xl md:text-5xl lg:text-[3.5rem] font-bold text-foreground mb-5 leading-tight",children:["Simple,"," ",jsxRuntimeExports.jsx("span",{className:"bg-gradient-to-r from-logo-purple to-electric-blue bg-clip-text text-transparent",children:"Transparent"})," ","Pricing"]}),jsxRuntimeExports.jsx("p",{className:"text-foreground/50 font-body text-lg md:text-xl max-w-2xl mx-auto leading-relaxed",children:"Start free, scale as you grow. No hidden fees, cancel anytime."}),jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-center gap-4 mt-8",children:[jsxRuntimeExports.jsx("span",{className:`text-sm font-body transition-colors ${et?"text-muted-foreground":"text-foreground font-medium"}`,children:"Monthly"}),jsxRuntimeExports.jsx(motion.button,{onClick:()=>tt(!et),className:"relative w-14 h-7 rounded-full bg-white/[0.04] border border-white/[0.08] p-1",children:jsxRuntimeExports.jsx(motion.div,{className:"w-5 h-5 rounded-full bg-gradient-to-r from-logo-purple to-electric-blue",animate:{x:et?24:0},transition:{type:"spring",stiffness:400,damping:25}})}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx("span",{className:`text-sm font-body transition-colors ${et?"text-foreground font-medium":"text-muted-foreground"}`,children:"Yearly"}),jsxRuntimeExports.jsx("span",{className:"inline-flex items-center gap-1 px-3 py-1 rounded-full bg-gradient-to-r from-logo-purple/20 to-electric-blue/20 border border-white/[0.06] text-sm font-body text-logo-purple",children:"Save 20%"})]})]})]}),jsxRuntimeExports.jsx("div",{className:"flex md:grid md:grid-cols-2 lg:grid-cols-4 gap-6 lg:gap-8 overflow-x-auto md:overflow-visible snap-x snap-mandatory md:snap-none pb-2 -mx-4 px-4 md:mx-0 md:px-0",children:pricingTiers.map(ot=>jsxRuntimeExports.jsx("div",{className:`pricing-card ${ot.popular?"pricing-card-popular":""} opacity-0 w-[86%] max-w-[360px] flex-shrink-0 snap-center md:w-auto md:max-w-none`,children:ot.popular?jsxRuntimeExports.jsx(AnimatedBorder,{borderWidth:2,borderRadius:"1rem",className:"h-full md:-mt-4 md:mb-4",children:jsxRuntimeExports.jsx(PricingCardContent,{tier:ot,isYearly:et,onSubscribe:at,isLoading:rt===ot.name,isAnyLoading:rt!==null})}):jsxRuntimeExports.jsx(PricingCardContent,{tier:ot,isYearly:et,onSubscribe:at,isLoading:rt===ot.name,isAnyLoading:rt!==null})},ot.name))})]})]})},PricingCardContent=({tier:_,isYearly:j,onSubscribe:et,isLoading:tt,isAnyLoading:rt})=>{const nt=reactExports.useRef(null),[it,st]=reactExports.useState({x:0,y:0}),[at,ot]=reactExports.useState(!1),lt=useMotionValue(.5),ct=useMotionValue(.5),ut={stiffness:260,damping:20},dt=useSpring(useTransform(ct,[0,1],[4,-4]),ut),ht=useSpring(useTransform(lt,[0,1],[-4,4]),ut),pt=reactExports.useCallback(ft=>{const mt=nt.current;if(!mt)return;const xt=mt.getBoundingClientRect(),yt=(ft.clientX-xt.left)/xt.width,vt=(ft.clientY-xt.top)/xt.height;lt.set(yt),ct.set(vt),st({x:ft.clientX-xt.left,y:ft.clientY-xt.top})},[lt,ct]),gt=reactExports.useCallback(()=>{lt.set(.5),ct.set(.5),ot(!1)},[lt,ct]);return jsxRuntimeExports.jsxs(motion.div,{ref:nt,onMouseMove:pt,onMouseEnter:()=>ot(!0),onMouseLeave:gt,style:{rotateX:dt,rotateY:ht,transformPerspective:800},whileHover:{y:-8,transition:{type:"spring",stiffness:300,damping:20}},className:`relative h-full rounded-2xl p-6 md:p-8 flex flex-col overflow-hidden ${_.popular?"bg-gradient-to-b from-secondary to-deep-black":"glass-surface border border-white/[0.06] hover:border-white/[0.12] transition-colors"}`,children:[jsxRuntimeExports.jsx("div",{className:"pointer-events-none absolute inset-0 z-10 transition-opacity duration-500",style:{opacity:at?1:0,background:_.popular?`radial-gradient(500px circle at ${it.x}px ${it.y}px, hsl(252 100% 68% / 0.10), transparent 40%)`:`radial-gradient(500px circle at ${it.x}px ${it.y}px, hsl(252 100% 68% / 0.06), transparent 40%)`}}),jsxRuntimeExports.jsx("div",{className:`absolute top-0 left-6 right-6 h-px ${_.popular?"bg-gradient-to-r from-transparent via-logo-purple to-transparent":"bg-gradient-to-r from-transparent via-white/[0.12] to-transparent"}`}),_.popular&&jsxRuntimeExports.jsx("div",{className:"absolute -inset-2 rounded-2xl bg-gradient-to-r from-logo-purple/15 to-electric-blue/15 blur-2xl -z-10 animate-pulse opacity-50"}),_.popular&&jsxRuntimeExports.jsx("div",{className:"flex justify-center mb-4 relative z-20",children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-1.5 px-4 py-1.5 rounded-full bg-gradient-to-r from-logo-purple to-electric-blue text-primary-foreground text-sm font-body font-medium shadow-lg shadow-logo-purple/25",children:[jsxRuntimeExports.jsx(Sparkles,{className:"w-4 h-4"}),"Most Popular"]})}),jsxRuntimeExports.jsxs("div",{className:`text-center mb-8 ${_.popular?"":"pt-2"} relative z-20`,children:[jsxRuntimeExports.jsx("h3",{className:"font-display text-xl font-semibold text-foreground mb-4 tracking-tight",children:_.name}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline justify-center gap-1",children:[jsxRuntimeExports.jsx(motion.span,{initial:{opacity:0,y:-10}
720,animate:{opacity:1,y:0},transition:{duration:.3},className:"font-display text-4xl md:text-5xl font-bold text-foreground tabular-nums tracking-tight",children:j?_.yearlyPrice:_.price},j?"yearly":"monthly"),jsxRuntimeExports.jsx("span",{className:"text-foreground/60 font-body text-sm",children:j?_.yearlyPeriod:_.period})]}),jsxRuntimeExports.jsx("p",{className:"text-sm text-foreground/70 font-body mt-3",children:_.description})]}),jsxRuntimeExports.jsx("ul",{className:"space-y-3.5 mb-8 flex-1 relative z-20",children:_.features.map((ft,mt)=>jsxRuntimeExports.jsxs("li",{className:"flex items-start gap-3 group/feature",children:[jsxRuntimeExports.jsx("div",{className:`w-5 h-5 rounded-full flex items-center justify-center flex-shrink-0 mt-0.5 transition-transform duration-200 group-hover/feature:scale-110 ${_.popular?"bg-gradient-to-r from-logo-purple to-electric-blue":"bg-white/[0.06] border border-white/[0.08]"}`,children:jsxRuntimeExports.jsx(Check,{className:`w-3 h-3 ${_.popular?"text-primary-foreground":"text-foreground/50"}`})}),jsxRuntimeExports.jsx("span",{className:"text-sm text-foreground/70 font-body transition-colors duration-200 group-hover/feature:text-foreground/90",children:ft})]},mt))}),jsxRuntimeExports.jsx("div",{className:"relative z-20",children:jsxRuntimeExports.jsx(MagneticButton,{strength:.15,className:"w-full",children:jsxRuntimeExports.jsx(Button,{variant:_.popular?"hero":"glass",size:"lg",className:"w-full font-body",onClick:()=>et(_),disabled:rt,children:tt?jsxRuntimeExports.jsx(LoaderCircle,{className:"w-4 h-4 animate-spin"}):_.cta})})})]})},faqItems=[{question:"How fast are the generated images?",answer:"Most images are generated within 30-60 seconds. Batch generations with multiple views or variants may take a few minutes depending on the queue."},{question:"Can I create color variants of my products?",answer:"Yes! SnapShot supports generating multiple color variants from a single product image. Simply select your desired colors in the configuration step."},{question:"What niches are supported?",answer:"Currently, SnapShot specializes in Fashion (clothing, accessories) and Home Decor (furniture, decor items). Each niche has optimized workflows and view options."},{question:"How do I download my images?",answer:"After generation, you can download individual images or the entire batch. Images are provided in high-resolution format suitable for e-commerce platforms."},{question:"What is the Fix Image tool?",answer:"Fix Image is our post-generation editing tool. If a generated image needs adjustmentsâlike fixing a hand, adjusting colors, or removing artifactsâyou can use Fix Image to make targeted corrections."},{question:"Can I use generated images for commercial purposes?",answer:"Yes, all images generated with SnapShot are yours to use commercially. You retain full rights to use them on your e-commerce store, marketing materials, and social media."}],FAQAccordionItem=({item:_,isOpen:j,onToggle:et,index:tt,isInView:rt})=>jsxRuntimeExports.jsxs(motion.div,{initial:{opacity:0,y:15},animate:rt?{opacity:1,y:0}:{},transition:{delay:.2+tt*.06,duration:.4,ease:"easeOut"},className:` 721 border-b border-white/[0.04] last:border-b-0 transition-all duration-300 722 ${j?"bg-white/[0.02]":"hover:bg-white/[0.01]"} 723 `,children:[jsxRuntimeExports.jsxs("button",{onClick:et,className:"w-full py-4 px-4 flex items-center justify-between text-left group",children:[jsxRuntimeExports.jsx("span",{className:` 724 font-display text-base pr-6 transition-colors duration-300 725 ${j?"text-foreground":"text-foreground/70 group-hover:text-foreground"} 726 `,children:_.question}),jsxRuntimeExports.jsx(motion.div,{animate:{rotate:j?180:0},transition:{type:"spring",stiffness:300,damping:20},className:` 727 flex-shrink-0 w-7 h-7 rounded-full flex items-center justify-center transition-all duration-300 728 ${j?"bg-logo-purple/15 text-logo-purple":"bg-white/[0.03] text-muted-foreground group-hover:bg-white/[0.06]"} 729 `,children:jsxRuntimeExports.jsx(ChevronDown,{className:"w-3.5 h-3.5"})})]}),jsxRuntimeExports.jsx(AnimatePresence,{initial:!1,children:j&&jsxRuntimeExports.jsx(motion.div,{initial:{height:0,opacity:0}
729,animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{type:"spring",stiffness:300,damping:30},className:"overflow-hidden",children:jsxRuntimeExports.jsx("p",{className:"pb-4 px-4 text-sm text-muted-foreground font-body leading-relaxed",children:_.answer})})})]}),FAQ=()=>{const _=reactExports.useRef(null),j=useInView(_,{once:!0,margin:"200px"}),[et,tt]=reactExports.useState(0);return jsxRuntimeExports.jsx("section",{id:"faq",className:"py-12 md:py-16 relative",ref:_,children:jsxRuntimeExports.jsxs("div",{className:"max-w-2xl mx-auto px-4 sm:px-6 relative z-10",children:[jsxRuntimeExports.jsxs(motion.div,{initial:{opacity:0,y:20},animate:j?{opacity:1,y:0}:{},transition:{duration:.5},className:"text-center mb-8",children:[jsxRuntimeExports.jsxs("h2",{className:"font-prata text-3xl md:text-4xl font-bold text-foreground mb-3 leading-tight",children:["Frequently Asked"," ",jsxRuntimeExports.jsx("span",{className:"bg-gradient-to-r from-logo-purple to-electric-blue bg-clip-text text-transparent",children:"Questions"})]}),jsxRuntimeExports.jsx("p",{className:"text-foreground/50 font-body text-base max-w-md mx-auto leading-relaxed",children:"Everything you need to know about Snapshot"})]}),jsxRuntimeExports.jsx("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.01] overflow-hidden",children:faqItems.map((rt,nt)=>jsxRuntimeExports.jsx(FAQAccordionItem,{item:rt,index:nt,isOpen:et===nt,onToggle:()=>tt(et===nt?null:nt),isInView:j},nt))}),jsxRuntimeExports.jsxs(motion.p,{initial:{opacity:0}
729,animate:j?{opacity:1}:{},transition:{duration:.5,delay:.6},className:"text-center mt-6 text-sm text-foreground/40 font-body",children:["Can't find what you're looking for?"," ",jsxRuntimeExports.jsxs("a",{href:"#",className:"inline-inline items-center gap-1 text-logo-purple hover:text-logo-purple/80 transition-colors duration-300",children:["Contact Support",jsxRuntimeExports.jsx(ArrowRight,{className:"w-3 h-3 inline ml-1"})]})]})]})})},CountUp=({from:_=0,to:j,duration:et=2e3,delay:tt=0,suffix:rt="",prefix:nt="",className:it,decimals:st=0})=>{const at=reactExports.useRef(null),ot=reactExports.useRef(!1),[lt,ct]=reactExports.useState(_);return reactExports.useEffect(()=>{const ut=at.current;if(!ut||ot.current)return;let dt=null;const ht=()=>{const mt=performance.now(),xt=vt=>vt===1?1:1-Math.pow(2,-10*vt),yt=vt=>{const bt=vt-mt,Et=Math.min(bt/et,1),_t=xt(Et);ct(_+(j-_)*_t),Et<1&&requestAnimationFrame(yt)};requestAnimationFrame(yt)},pt=()=>{ot.current||(ot.current=!0,tt>0?dt=setTimeout(ht,tt):ht())},gt=()=>{let mt=ut;for(;mt;){const xt=getComputedStyle(mt);if(parseFloat(xt.opacity)<.1||xt.visibility==="hidden"||xt.display==="none")return!1;mt=mt.parentElement}return!0},ft=new IntersectionObserver(mt=>{mt.forEach(xt=>{if(xt.isIntersecting&&!ot.current)if(gt())pt();else{const yt=setInterval(()=>{if(ot.current){clearInterval(yt);return}gt()&&(clearInterval(yt),pt())},100);setTimeout(()=>clearInterval(yt),5e3)}})},{threshold:.1});return ft.observe(ut),()=>{ft.disconnect(),dt&&clearTimeout(dt)}},[_,j,et,tt]),jsxRuntimeExports.jsxs("span",{ref:at,className:cn(it),children:[nt,lt.toFixed(st),rt]})},stats=[{value:10,suffix:"+",label:"Brands trust Snapshot",delay:0},{value:1,suffix:"k+",label:"Products processed",delay:100},{value:30,suffix:"x",label:"Faster than manual editing",delay:200},{value:100,suffix:"%",label:"Customer satisfaction",delay:300}],FinalCTA=()=>jsxRuntimeExports.jsx("section",{className:"py-16 md:py-24 relative",children:jsxRuntimeExports.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[jsxRuntimeExports.jsx(ScrollOpacity,{yOffset:15,children:jsxRuntimeExports.jsx("p",{className:"text-[11px] tracking-[0.25em] uppercase text-foreground/40 font-body mb-6",children:"Ready to start?"})}),jsxRuntimeExports.jsx(ScrollOpacity,{yOffset:20,children:jsxRuntimeExports.jsxs("h2",{className:"font-prata text-3xl md:text-4xl lg:text-[3.5rem] font-bold text-foreground leading-tight max-w-2xl mx-auto",children:["Transform your product catalog"," ",jsxRuntimeExports.jsx("span",{className:"bg-gradient-to-r from-logo-purple to-electric-blue bg-clip-text text-transparent",children:"in minutes."})]})}),jsxRuntimeExports.jsx(ScrollOpacity,{yOffset:10,children:jsxRuntimeExports.jsx("div",{className:"w-12 h-px bg-foreground
729/20 mx-auto mt-6 mb-10"})}),jsxRuntimeExports.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-8 md:gap-6 mb-10",children:stats.map((_,j)=>jsxRuntimeExports.jsx(ScrollOpacity,{yOffset:12,start:`top ${92-j*2}%`,children:jsxRuntimeExports.jsxs("div",{className:"text-center",children:[jsxRuntimeExports.jsx(CountUp,{to:_.value,suffix:_.suffix,duration:1800,delay:_.delay,className:"text-3xl md:text-4xl font-display font-bold text-foreground"}),jsxRuntimeExports.jsx("p",{className:"text-xs md:text-sm text-foreground/60 font-body mt-1.5 leading-relaxed",children:_.label})]})},_.label))}),jsxRuntimeExports.jsx(ScrollOpacity,{yOffset:12,children:jsxRuntimeExports.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-5",children:[jsxRuntimeExports.jsx(MagneticButton,{strength:.1,children:jsxRuntimeExports.jsx(Link,{to:"/auth",children:jsxRuntimeExports.jsxs(Button,{variant:"hero",size:"default",className:"font-body",children:["Start Free Trial",jsxRuntimeExports.jsx(ArrowRight,{className:"w-4 h-4 ml-1.5"})]})})}),jsxRuntimeExports.jsx(Link,{to:"/auth",className:"text-sm text-foreground/70 font-body hover:text-foreground/90 transition-colors duration-300 underline underline-offset-4 decoration-foreground/30 hover:decoration-foreground/60",children:"or schedule a demo"})]})}),jsxRuntimeExports.jsx(ScrollOpacity,{yOffset:8,children:jsxRuntimeExports.jsx("p",{className:"mt-8 text-[11px] md:text-xs text-foreground/50 font-body tracking-wide",children:"No credit card requiredâ·âCancel anytimeâ·âSetup in under 2 minutes"})})]})}),legal=[{id:1,label:"Terms & Conditions",href:"/terms"},{id:2,label:"Privacy Policy",href:"/privacy"}],Footer=()=>jsxRuntimeExports.jsxs("footer",{className:"relative pt-8 pb-0 overflow-hidden",children:[jsxRuntimeExports.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[jsxRuntimeExports.jsx("div",{className:"rounded-3xl bg-white/[0.04] border border-white/[0.07] backdrop-blur-sm px-8 py-10 md:px-12 md:py-12",children:jsxRuntimeExports.jsxs("div",{className:"flex flex-col md:flex-row md:items-start md:justify-between gap-10",children:[jsxRuntimeExports.jsxs("div",{className:"max-w-xs shrink-0",children:[jsxRuntimeExports.jsx("a",{href:"/",className:"inline-block w-36 mb-3",children:jsxRuntimeExports.jsx("img",{src:snapshotLogo,alt:"Snapshot"})}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground/60 font-body leading-relaxed",children:"Snapshot handles product imagery with AI-powered tools built for modern brands."})]}),jsxRuntimeExports.jsxs("div",{className:"flex flex-wrap gap-16 md:gap-20",children:[jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h4",{className:"font-display font-bold text-foreground text-sm mb-4",children:"Product"}),jsxRuntimeExports.jsx("ul",{className:"space-y-2.5",children:["Features","Pricing","Download"].map(_=>jsxRuntimeExports.jsx("li",{children:jsxRuntimeExports.jsx("a",{href:"#",className:"text-sm text-muted-foreground/50 hover:text-foreground transition-colors font-body",children:_})},_))})]}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h4",{className:"font-display font-bold text-foreground text-sm mb-4",children:"Legal Terms"}),jsxRuntimeExports.jsx("ul",{className:"space-y-2.5",children:legal.map(_=>jsxRuntimeExports.jsx("li",{children:jsxRuntimeExports.jsx("a",{href:_.href,className:"text-sm text-muted-foreground/50 hover:text-foreground transition-colors font-body",children:_.label})},_.id))})]})]})]})}),jsxRuntimeExports.jsx("div",{className:"relative -mt-4 select-none pointer-events-none overflow-hidden h-[120px] sm:h-[160px] md:h-[200px] lg:h-[240px]",children:jsxRuntimeExports.jsx("span",{className:"absolute inset-x-0 bottom-0 text-center font-prata font-bold text-[7rem] sm:text-[10rem] md:text-[13rem] lg:text-[16rem] leading-[0.8] bg-gradient-to-b from-logo-purple/25 to-transparent bg-clip-text text-transparent translate-y-[30%]",children:"Snapshot"})})]}),jsxRuntimeExports.jsx("div",{className:"text-center pb-6 pt-2",children:jsxRuntimeExports.jsxs("p",{className:"text-xs text-muted-foreground
729/30 font-body",children:["© ",new Date().getFullYear()," Snapshot. All rights reserved."]})})]});var version="1.3.17";function clamp$1(_,j,et){return Math.max(_,Math.min(j,et))}function lerp(_,j,et){return(1-et)*_+et*j}function damp(_,j,et,tt){return lerp(_,j,1-Math.exp(-et*tt))}function modulo(_,j){return(_%j+j)%j}var Animate$1=class{constructor(){vr(this,"isRunning",!1);vr(this,"value",0);vr(this,"from",0);vr(this,"to",0);vr(this,"currentTime",0);vr(this,"lerp");vr(this,"duration");vr(this,"easing");vr(this,"onUpdate")}advance(j){var tt;if(!this.isRunning)return;let et=!1;if(this.duration&&this.easing){this.currentTime+=j;const rt=clamp$1(0,this.currentTime/this.duration,1);et=rt>=1;const nt=et?1:this.easing(rt);this.value=this.from+(this.to-this.from)*nt}else this.lerp?(this.value=damp(this.value,this.to,this.lerp*60,j),Math.round(this.value)===this.to&&(this.value=this.to,et=!0)):(this.value=this.to,et=!0);et&&this.stop(),(tt=this.onUpdate)==null||tt.call(this,this.value,et)}stop(){this.isRunning=!1}fromTo(j,et,{lerp:tt,duration:rt,easing:nt,onStart:it,onUpdate:st}){this.from=this.value=j,this.to=et,this.lerp=tt,this.duration=rt,this.easing=nt,this.currentTime=0,this.isRunning=!0,it==null||it(),this.onUpdate=st}};function debounce$2(_,j){let et;return function(...tt){let rt=this;clearTimeout(et),et=setTimeout(()=>{et=void 0,_.apply(rt,tt)},j)}}var Dimensions=class{constructor(_,j,{autoResize:et=!0,debounce:tt=250}={}){vr(this,"width",0);vr(this,"height",0);vr(this,"scrollHeight",0);vr(this,"scrollWidth",0);vr(this,"debouncedResize");vr(this,"wrapperResizeObserver");vr(this,"contentResizeObserver");vr(this,"resize",()=>{this.onWrapperResize(),this.onContentResize()});vr(this,"onWrapperResize",()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)});vr(this,"onContentResize",()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)});this.wrapper=_,this.content=j,et&&(this.debouncedResize=debounce$2(this.resize,tt),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){var _,j;(_=this.wrapperResizeObserver)==null||_.disconnect(),(j=this.contentResizeObserver)==null||j.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize,!1)}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},Emitter=class{constructor(){vr(this,"events",{})}emit(_,...j){var tt;let et=this.events[_]||[];for(let rt=0,nt=et.length;rt<nt;rt++)(tt=et[rt])==null||tt.call(et,...j)}on(_,j){var et;return(et=this.events[_])!=null&&et.push(j)||(this.events[_]=[j]),()=>{var tt;this.events[_]=(tt=this.events[_])==null?void 0:tt.filter(rt=>j!==rt)}}off(_,j){var et;this.events[_]=(et=this.events[_])==null?void 0:et.filter(tt=>j!==tt)}destroy(){this.events={}}},LINE_HEIGHT=100/6,listenerOptions={passive:!1},VirtualScroll=class{constructor(_,j={wheelMultiplier:1,touchMultiplier:1}){vr(this,"touchStart",{x:0,y:0});vr(this,"lastDelta",{x:0,y:0});vr(this,"window",{width:0,height:0});vr(this,"emitter",new Emitter);vr(this,"onTouchStart",_=>{const{clientX:j,clientY:et}=_.targetTouches?_.targetTouches[0]:_;this.touchStart.x=j,this.touchStart.y=et,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:_})});vr(this,"onTouchMove",_=>{const{clientX:j,clientY:et}=_.targetTouches?_.targetTouches[0]:_,tt=-(j-this.touchStart.x)*this.options.touchMultiplier,rt=-(et-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=j,this.touchStart.y=et,this.lastDelta={x:tt,y:rt},this.emitter.emit("scroll",{deltaX:tt,deltaY:rt,event:_})});vr(this,"onTouchEnd",_=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:_})});vr(this,"onWheel",_=>{let{deltaX:j,deltaY:et,deltaMode:tt}=_;const rt=tt===1?LINE_HEIGHT:tt===2?this.window.width:1,nt=tt===1?LINE_HEIGHT:tt===2?this.window.height:1;j*=rt,et*=nt,j*=this.options.wheelMultiplier,et*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:j,deltaY:et,event:_})});vr(this,"onWindowResize",()=>{this.window={width:window.innerWidth,height:window.innerHeight}});this.element=_,this.options=j,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,listenerOptions),this.element.addEventListener("touchstart",this.onTouchStart,listenerOptions),this.element.addEventListener("touchmove",this.onTouchMove,listenerOptions),this.element.addEventListener("touchend",this.onTouchEnd,listenerOptions)}on(_,j){return this.emitter.on(_,j)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,listenerOptions),this.element.removeEventListener("touchstart",this.onTouchStart,listenerOptions),this.element.removeEventListener("touchmove",this.onTouchMove,listenerOptions),this.element.removeEventListener("touchend",this.onTouchEnd,listenerOptions)}},defaultEasing=_=>Math.min(1,1.001-Math.pow(2,-10*_)),Lenis=class{constructor({wrapper:_=window,content:j=document.documentElement,eventsTarget:et=_,smoothWheel:tt=!0,syncTouch:rt=!1,syncTouchLerp:nt=.075,touchInertiaExponent:it=1.7,duration:st,easing:at,lerp:ot=.1,infinite:lt=!1,orientation:ct="vertical",gestureOrientation:ut=ct==="horizontal"?"both":"vertical",touchMultiplier:dt=1,wheelMultiplier:ht=1,autoResize:pt=!0,prevent:gt,virtualScroll:ft,overscroll:mt=!0,autoRaf:xt=!1,anchors:yt=!1,autoToggle:vt
729=!1,allowNestedScroll:bt=!1,__experimental__naiveDimensions:Et=!1,naiveDimensions:_t=Et,stopInertiaOnNavigate:wt=!1}={}){vr(this,"_isScrolling",!1);vr(this,"_isStopped",!1);vr(this,"_isLocked",!1);vr(this,"_preventNextNativeScrollEvent",!1);vr(this,"_resetVelocityTimeout",null);vr(this,"_rafId",null);vr(this,"isTouching");vr(this,"time",0);vr(this,"userData",{});vr(this,"lastVelocity",0);vr(this,"velocity",0);vr(this,"direction",0);vr(this,"options");vr(this,"targetScroll");vr(this,"animatedScroll");vr(this,"animate",new Animate$1);vr(this,"emitter",new Emitter);vr(this,"dimensions");vr(this,"virtualScroll");vr(this,"onScrollEnd",_=>{_ instanceof CustomEvent||(this.isScrolling==="smooth"||this.isScrolling===!1)&&_.stopPropagation()});vr(this,"dispatchScrollendEvent",()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))});vr(this,"onTransitionEnd",_=>{_.propertyName.includes("overflow")&&this.checkOverflow()});vr(this,"onClick",_=>{const et=_.composedPath().filter(tt=>tt instanceof HTMLAnchorElement&&tt.getAttribute("href"));if(this.options.anchors){const tt=et.find(rt=>{var nt;return(nt=rt.getAttribute("href"))==null?void 0:nt.includes("#")});if(tt){const rt=tt.getAttribute("href");if(rt){const nt=typeof this.options.anchors=="object"&&this.options.anchors?this.options.anchors:void 0,it=`#${rt.split("#")[1]}`;this.scrollTo(it,nt)}}}this.options.stopInertiaOnNavigate&&et.find(rt=>rt.host===window.location.host)&&this.reset()});vr(this,"onPointerDown",_=>{_.button===1&&this.reset()});vr(this,"onVirtualScroll",_=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(_)===!1)return;const{deltaX:j,deltaY:et,event:tt}=_;if(this.emitter.emit("virtual-scroll",{deltaX:j,deltaY:et,event:tt}),tt.ctrlKey||tt.lenisStopPropagation)return;const rt=tt.type.includes("touch"),nt=tt.type.includes("wheel");this.isTouching=tt.type==="touchstart"||tt.type==="touchmove";const it=j===0&&et===0;if(this.options.syncTouch&&rt&&tt.type==="touchstart"&&it&&!this.isStopped&&!this.isLocked){this.reset();return}const at=this.options.gestureOrientation==="vertical"&&et===0||this.options.gestureOrientation==="horizontal"&&j===0;if(it||at)return;let ot=tt.composedPath();ot=ot.slice(0,ot.indexOf(this.rootElement));const lt=this.options.prevent;if(ot.find(gt=>{var ft,mt,xt;return gt instanceof HTMLElement&&(typeof lt=="function"&&(lt==null?void 0:lt(gt))||((ft=gt.hasAttribute)==null?void 0:ft.call(gt,"data-lenis-prevent"))||rt&&((mt=gt.hasAttribute)==null?void 0:mt.call(gt,"data-lenis-prevent-touch"))||nt&&((xt=gt.hasAttribute)==null?void 0:xt.call(gt,"data-lenis-prevent-wheel"))||this.options.allowNestedScroll&&this.checkNestedScroll(gt,{deltaX:j,deltaY:et}))}))return;if(this.isStopped||this.isLocked){tt.cancelable&&tt.preventDefault();return}if(!(this.options.syncTouch&&rt||this.options.smoothWheel&&nt)){this.isScrolling="native",this.animate.stop(),tt.lenisStopPropagation=!0;return}let ut=et;this.options.gestureOrientation==="both"?ut=Math.abs(et)>Math.abs(j)?et:j:this.options.gestureOrientation==="horizontal"&&(ut=j),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll<this.limit||this.animatedScroll===0&&et>0||this.animatedScroll===this.limit&&et<0))&&(tt.lenisStopPropagation=!0),tt.cancelable&&tt.preventDefault();const dt=rt&&this.options.syncTouch,pt=rt&&tt.type==="touchend";pt&&(ut=Math.sign(this.velocity)*Math.pow(Math.abs(this.velocity),this.options.touchInertiaExponent)),this.scrollTo(this.targetScroll+ut,{programmatic:!1,...dt?{lerp:pt?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})});vr(this,"onNativeScroll",()=>{if(this._resetVelocityTimeout!==null&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(this.isScrolling===!1||this.isScrolling==="native"){const _=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-_,this.direction=Math.sign(this.animatedScroll-_),this.isStopped||(this.isScrolling="native"),this.emit
729(),this.velocity!==0&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}});vr(this,"raf",_=>{const j=_-(this.time||_);this.time=_,this.animate.advance(j*.001),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))});window.lenisVersion=version,(!_||_===document.documentElement)&&(_=window),typeof st=="number"&&typeof at!="function"?at=defaultEasing:typeof at=="function"&&typeof st!="number"&&(st=1),this.options={wrapper:_,content:j,eventsTarget:et,smoothWheel:tt,syncTouch:rt,syncTouchLerp:nt,touchInertiaExponent:it,duration:st,easing:at,lerp:ot,infinite:lt,gestureOrientation:ut,orientation:ct,touchMultiplier:dt,wheelMultiplier:ht,autoResize:pt,prevent:gt,virtualScroll:ft,overscroll:mt,autoRaf:xt,anchors:yt,autoToggle:vt,allowNestedScroll:bt,naiveDimensions:_t,stopInertiaOnNavigate:wt},this.dimensions=new Dimensions(_,j,{autoResize:pt}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick,!1),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=new VirtualScroll(et,{touchMultiplier:dt,wheelMultiplier:ht}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd,{passive:!0})),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId)}on(_,j){return this.emitter.on(_,j)}off(_,j){return this.emitter.off(_,j)}get overflow(){const _=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[_]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}setScroll(_){this.isHorizontal?this.options.wrapper.scrollTo({left:_,behavior:"instant"}):this.options.wrapper.scrollTo({top:_,behavior:"instant"})}resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle){this.rootElement.style.removeProperty("overflow");return}this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle){this.rootElement.style.setProperty("overflow","clip");return}this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}scrollTo(_,{offset:j=0,immediate:et=!1,lock:tt=!1,programmatic:rt=!0,lerp:nt=rt?this.options.lerp:void 0,duration:it=rt?this.options.duration:void 0,easing:st=rt?this.options.easing:void 0,onStart:at,onComplete:ot,force:lt=!1,userData:ct}={}){if(!((this.isStopped||this.isLocked)&&!lt)){if(typeof _=="string"&&["top","left","start","#"].includes(_))_=0;else if(typeof _=="string"&&["bottom","right","end"].includes(_))_=this.limit;else{let ut;if(typeof _=="string"?(ut=document.querySelector(_),ut||(_==="#top"?_=0:console.warn("Lenis: Target not found",_))):_ instanceof HTMLElement&&(_!=null&&_.nodeType)&&(ut=_),ut){if(this.options.wrapper!==window){const ht=this.rootElement.getBoundingClientRect();j-=this.isHorizontal?ht.left:ht.top}const dt=ut.getBoundingClientRect();_=(this.isHorizontal?dt.left:dt.top)+this.animatedScroll}}if(typeof _=="number"){if(_+=j,_=Math.round(_),this.options.infinite){if(rt){this.targetScroll=this.animatedScroll=this.scroll;const ut=_-this.animatedScroll;ut>this.limit/2?_=_-this.limit:ut<-this.limit/2&&(_=_+this.limit)}}else _=clamp$1(0,_,this.limit);if(_===this.targetScroll){at==null||at(this),ot==null||ot(this);return}if(this.userData=ct??{},et){this.animatedScroll=this.targetScroll=_,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit
729(),ot==null||ot(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}rt||(this.targetScroll=_),typeof it=="number"&&typeof st!="function"?st=defaultEasing:typeof st=="function"&&typeof it!="number"&&(it=1),this.animate.fromTo(this.animatedScroll,_,{duration:it,easing:st,lerp:nt,onStart:()=>{tt&&(this.isLocked=!0),this.isScrolling="smooth",at==null||at(this)},onUpdate:(ut,dt)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=ut-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=ut,this.setScroll(this.scroll),rt&&(this.targetScroll=ut),dt||this.emit(),dt&&(this.reset(),this.emit(),ot==null||ot(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}checkNestedScroll(_,{deltaX:j,deltaY:et}){const tt=Date.now(),rt=_._lenis??(_._lenis={});let nt,it,st,at,ot,lt,ct,ut;const dt=this.options.gestureOrientation;if(tt-(rt.time??0)>2e3){rt.time=Date.now();const vt=window.getComputedStyle(_);rt.computedStyle=vt;const bt=vt.overflowX,Et=vt.overflowY;if(nt=["auto","overlay","scroll"].includes(bt),it=["auto","overlay","scroll"].includes(Et),rt.hasOverflowX=nt,rt.hasOverflowY=it,!nt&&!it||dt==="vertical"&&!it||dt==="horizontal"&&!nt)return!1;ot=_.scrollWidth,lt=_.scrollHeight,ct=_.clientWidth,ut=_.clientHeight,st=ot>ct,at=lt>ut,rt.isScrollableX=st,rt.isScrollableY=at,rt.scrollWidth=ot,rt.scrollHeight=lt,rt.clientWidth=ct,rt.clientHeight=ut}else st=rt.isScrollableX,at=rt.isScrollableY,nt=rt.hasOverflowX,it=rt.hasOverflowY,ot=rt.scrollWidth,lt=rt.scrollHeight,ct=rt.clientWidth,ut=rt.clientHeight;if(!nt&&!it||!st&&!at||dt==="vertical"&&(!it||!at)||dt==="horizontal"&&(!nt||!st))return!1;let ht;if(dt==="horizontal")ht="x";else if(dt==="vertical")ht="y";else{const vt=j!==0,bt=et!==0;vt&&nt&&st&&(ht="x"),bt&&it&&at&&(ht="y")}if(!ht)return!1;let pt,gt,ft,mt,xt;if(ht==="x")pt=_.scrollLeft,gt=ot-ct,ft=j,mt=nt,xt=st;else if(ht==="y")pt=_.scrollTop,gt=lt-ut,ft=et,mt=it,xt=at;else return!1;return(ft>0?pt<gt:pt>0)&&mt&&xt}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){const _=this.options.wrapper;return this.isHorizontal?_.scrollX??_.scrollLeft:_.scrollY??_.scrollTop}get scroll(){return this.options.infinite?modulo(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(_){this._isScrolling!==_&&(this._isScrolling=_,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(_){this._isStopped!==_&&(this._isStopped=_,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(_){this._isLocked!==_&&(this._isLocked=_,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get className(){let _="lenis";return this.options.autoToggle&&(_+=" lenis-autoToggle"),this.isStopped&&(_+=" lenis-stopped"),this.isLocked&&(_+=" lenis-locked"),this.isScrolling&&(_+=" lenis-scrolling"),this.isScrolling==="smooth"&&(_+=" lenis-smooth"),_}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}};const SmoothScroll=({children:_})=>(reactExports.useEffect(()=>{const j=new Lenis({duration:1.2,easing:tt=>Math.min(1,1.001-Math.pow(2,-10*tt)),smoothWheel:!0});function et(tt){j.raf(tt),requestAnimationFrame(et)}return requestAnimationFrame(et),()=>{j.destroy()}},[]),jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:_})),Homepage=()=>jsxRuntimeExports.jsx(SmoothScroll,{children:jsxRuntimeExports.jsxs("div",{className:"relative min-h-screen bg-deep-black overflow-x-hidden",children:[jsxRuntimeExports.jsx(FlowingBackgroun
729d,{}),jsxRuntimeExports.jsxs("div",{className:"relative z-10",children:[jsxRuntimeExports.jsx(Navbar,{}),jsxRuntimeExports.jsxs("main",{children:[jsxRuntimeExports.jsx(Hero,{}),jsxRuntimeExports.jsx(ScrollOpacity,{children:jsxRuntimeExports.jsx(FeaturesSection,{})}),jsxRuntimeExports.jsx(ScrollOpacity,{children:jsxRuntimeExports.jsx(HowItWorks,{})}),jsxRuntimeExports.jsx(ScrollOpacity,{children:jsxRuntimeExports.jsx(ComparisonSection,{})}),jsxRuntimeExports.jsx(ScrollOpacity,{children:jsxRuntimeExports.jsx(SolutionSection,{})}),jsxRuntimeExports.jsx(ScrollOpacity,{children:jsxRuntimeExports.jsx(GallerySection,{})}),jsxRuntimeExports.jsx(ScrollOpacity,{children:jsxRuntimeExports.jsx(Testimonials,{})}),jsxRuntimeExports.jsx(ScrollOpacity,{children:jsxRuntimeExports.jsx(Pricing,{})}),jsxRuntimeExports.jsx(ScrollOpacity,{children:jsxRuntimeExports.jsx(FAQ,{})}),jsxRuntimeExports.jsx(ScrollOpacity,{children:jsxRuntimeExports.jsx(FinalCTA,{})})]}),jsxRuntimeExports.jsx(Footer,{})]})]})}),badgeVariants=cva("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}}),Badge=reactExports.forwardRef(({className:_,variant:j,...et},tt)=>jsxRuntimeExports.jsx("div",{ref:tt,className:cn(badgeVariants({variant:j}),_),...et}));Badge.displayName="Badge";const niches=[{id:"fashion",title:"Fashion",description:"AI-powered model photography for clothing & accessories",icon:Shirt,gradient:"from-[hsl(252,85%,62%)] to-[hsl(280,80%,55%)]",glowColor:"hsl(252 85% 62% / 0.4)",features:["Multi-angle Views","Color Variants","Model Customization","Studio & Outdoor"]},{id:"homeDecor",title:"Home Decor",description:"Lifestyle product shots for furniture & decorative items",icon:House,gradient:"from-[hsl(217,91%,60%)] to-[hsl(190,80%,50%)]",glowColor:"hsl(217 91% 60% / 0.4)",features:["Product Shots","Room Scenes","Multiple Placements","Natural Lighting"]}];function NicheSelection({selectedNiche:_,onSelectNiche:j}){return jsxRuntimeExports.jsxs("div",{className:"space-y-10 sm:space-y-14 w-full",children:[jsxRuntimeExports.jsxs("div",{className:"text-center space-y-3",children:[jsxRuntimeExports.jsx("h2",{className:"font-display text-3xl sm:text-4xl md:text-5xl font-medium text-foreground tracking-tight",children:"What are you creating?"}),jsxRuntimeExports.jsx("p",{className:"text-muted-foreground/80 text-base sm:text-lg max-w-lg mx-auto leading-relaxed font-body",children:"Choose a category to generate AI-powered product photos."})]}),jsxRuntimeExports.jsxs("div",{className:"relative",children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 -inset-x-8 bg-[radial-gradient(ellipse_at_center,hsl(var(--primary)/0.06)_0%,transparent_70%)] pointer-events-none"}),jsxRuntimeExports.jsx("div",{className:"relative grid grid-cols-1 md:grid-cols-2 gap-6 sm:gap-8 w-full max-w-4xl mx-auto",children:niches.map((et,tt)=>{const rt=_===et.id;return jsxRuntimeExports.jsxs("button",{onClick:()=>j(et.id),className:cn("relative rounded-3xl text-left group w-full overflow-hidden","border transition-all duration-300","hover:-translate-y-1 active:scale-[0.98]","animate-fade-in",rt?"border-primary/60 shadow-[0_0_50px_-8px_hsl(var(--primary)/0.35)]":"border-border-subtle hover:border-primary/30 hover:shadow-[0_0_40px_-10px_hsl(var(--primary)/0.2)]"),style:{animationDelay:`${tt*120}ms`,animationFillMode:"both"},children:[jsxRuntimeExports.jsx("div",{className:cn("h-2 w-full bg-gradient-to-r",et.gradient)}),jsxRuntimeExports.jsxs("div",{className:cn("p-8 sm:p-10 flex flex-col items-center text-center space-y-6","bg-gradient-to-b from-transparent to-transparent group-hover:to-primary/[0.03] transition-all duration-300"),children:[jsxRuntimeExports.jsxs("div",{className:"relative",children:[jsxRuntimeExports.jsx("div",{className:cn("w-24 h-24 rounded-2xl flex items-center justify-center transition-all duration-300","bg-gradient-to-br",et.gradient),style:{boxShadow:rt?`0 10px 40px -4px ${et.glowColor}`:"none"},children:jsxRuntimeExports.jsx(et.icon,{className:"w-11 h-11 text-white"})}),rt&&jsxRuntimeExports.jsx("div",{className:"absolute -top-2 -right-2 w-7 h-7 rounded-full bg-primary flex items-center justify-center shadow-lg animate-scale-in",children:jsxRuntimeExports.jsx(Check,{className:"w-4 h-4 text-primary-foreground",strokeWidth:3})})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx("h3",{className:"font-display text-2xl sm:text-3xl font-semibold text-foreground",children:et.title}),jsxRuntimeExports.jsx("p",{className:"text-base text-muted-foreground
729/80 leading-relaxed font-body",children:et.description})]}),jsxRuntimeExports.jsx("div",{className:"flex flex-wrap justify-center gap-2",children:et.features.map(nt=>jsxRuntimeExports.jsx(Badge,{variant:"outline",className:cn("text-sm font-medium px-4 py-1.5 rounded-full transition-colors duration-200",rt?"border-primary/40 text-primary bg-primary/[0.08]":"border-border text-muted-foreground group-hover:border-primary/20 group-hover:text-foreground/80"),children:nt},nt))}),jsxRuntimeExports.jsxs("div",{className:cn("flex items-center gap-1 text-sm font-medium transition-all duration-200",rt?"text-primary":"text-muted-foreground/50 group-hover:text-muted-foreground"),children:[jsxRuntimeExports.jsx("span",{children:rt?"Selected":"Select"}),jsxRuntimeExports.jsx(ChevronRight,{className:cn("w-4 h-4 transition-transform duration-200","group-hover:translate-x-0.5")})]})]})]},et.id)})})]})]})}var NAME$1="Label",Label$3=reactExports.forwardRef((_,j)=>jsxRuntimeExports.jsx(Primitive.label,{..._,ref:j,onMouseDown:et=>{var rt;et.target.closest("button, input, select, textarea")||((rt=_.onMouseDown)==null||rt.call(_,et),!et.defaultPrevented&&et.detail>1&&et.preventDefault())}}));Label$3.displayName=NAME$1;var Root$4=Label$3;const labelVariants=cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Label$2=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Root$4,{ref:et,className:cn(labelVariants(),_),...j}));Label$2.displayName=Root$4.displayName;function usePrevious(_){const j=reactExports.useRef({value:_,previous:_});return reactExports.useMemo(()=>(j.current.value!==_&&(j.current.previous=j.current.value,j.current.value=_),j.current.previous),[_])}var CHECKBOX_NAME="Checkbox",[createCheckboxContext,createCheckboxScope]=createContextScope(CHECKBOX_NAME),[CheckboxProviderImpl,useCheckboxContext]=createCheckboxContext(CHECKBOX_NAME);function CheckboxProvider(_){const{__scopeCheckbox:j,checked:et,children:tt,defaultChecked:rt,disabled:nt,form:it,name:st,onCheckedChange:at,required:ot,value:lt="on",internal_do_not_use_render:ct}=_,[ut,dt]=useControllableState({prop:et,defaultProp:rt??!1,onChange:at,caller:CHECKBOX_NAME}),[ht,pt]=reactExports.useState(null),[gt,ft]=reactExports.useState(null),mt=reactExports.useRef(!1),xt=ht?!!it||!!ht.closest("form"):!0,yt={checked:ut,disabled:nt,setChecked:dt,control:ht,setControl:pt,name:st,form:it,value:lt,hasConsumerStoppedPropagationRef:mt,required:ot,defaultChecked:isIndeterminate(rt)?!1:rt,isFormControl:xt,bubbleInput:gt,setBubbleInput:ft};return jsxRuntimeExports.jsx(CheckboxProviderImpl,{scope:j,...yt,children:isFunction$5(ct)?ct(yt):tt})}var TRIGGER_NAME$5="CheckboxTrigger",CheckboxTrigger=reactExports.forwardRef(({__scopeCheckbox:_,onKeyDown:j,onClick:et,...tt},rt)=>{const{control:nt,value:it,disabled:st,checked:at,required:ot,setControl:lt,setChecked:ct,hasConsumerStoppedPropagationRef:ut,isFormControl:dt,bubbleInput:ht}=useCheckboxContext(TRIGGER_NAME$5,_),pt=useComposedRefs$1(rt,lt),gt=reactExports.useRef(at);return reactExports.useEffect(()=>{const ft=nt==null?void 0:nt.form;if(ft){const mt=()=>ct(gt.current);return ft.addEventListener("reset",mt),()=>ft.removeEventListener("reset",mt)}},[nt,ct]),jsxRuntimeExports.jsx(Primitive.button,{type:"button",role:"checkbox","aria-checked":isIndeterminate(at)?"mixed":at,"aria-required":ot,"data-state":getState$3(at),"data-disabled":st?"":void 0,disabled:st,value:it,...tt,ref:pt,onKeyDown:composeEventHandlers(j,ft=>{ft.key==="Enter"&&ft.preventDefault()}),onClick:composeEventHandlers(et,ft=>{ct(mt=>isIndeterminate(mt)?!0:!mt),ht&&dt&&(ut.current=ft.isPropagationStopped(),ut.current||ft.stopPropagation())})})});CheckboxTrigger.displayName=TRIGGER_NAME$5;var Checkbox$1=reactExports.forwardRef((_,j)=>{const{__scopeCheckbox:et,name:tt,checked:rt,defaultChecked:nt,required:it,disabled:st,value:at,onCheckedChange:ot,form:lt,...ct}=_;return jsxRuntimeExports.jsx(CheckboxProvider,{__scopeCheckbox:et,checked:rt,defaultChecked:nt,disabled:st,required:it,onCheckedChange:ot,name:tt,form:lt,value:at,internal_do_not_use_render:({isFormControl:ut})=>jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(CheckboxTrigger,{...ct,ref:j,__scopeCheckbox:et}),ut&&jsxRuntimeExports.jsx(CheckboxBubbleInput,{__scopeCheckbox:et})]})})});Checkbox$1.displayName=CHECKBOX_NAME;var INDICATOR_NAME="CheckboxIndicator",CheckboxIndicator=reactExports.forwardRef((_,j)=>{const{__scopeCheckbox:et,forceMount:tt,...rt}=_,nt=useCheckboxContext(INDICATOR_NAME,et);return jsxRuntimeExports.jsx(Presence,{present:tt||isIndeterminate(nt.checked)||nt.checked===!0,children:jsxRuntimeExports.jsx(Primitive.span,{"data-state":getState$3(nt.checked),"data-disabled":nt.disabled?"":void 0,...rt,ref:j,style:{pointerEvents:"none",..._.style}})})});CheckboxIndicator.displayName=INDICATOR_NAME;var BUBBLE_INPUT_NAME$3="CheckboxBubbleInput",CheckboxBubbleInput=reactExports.forwardRef(({__scopeCheckbox:_,...j},et)=>{const{control:tt,hasConsumerStoppedPropagationRef:rt,checked:nt,defaultChecked:it,required:st,disabled:at,name:ot,value:lt,form:ct,bubbleInput:ut,setBubbleInput:dt}=useCheckboxContext(BUBBLE_INPUT_NAME$3,_),ht=useComposedRefs$1(et,dt),pt=usePrevious(nt),gt=useSize(tt);reactExports.useEffect(()=>{const mt=ut;if(!mt)return;const xt=window.HTMLInputElement.prototype,vt=Object.getOwnPropertyDescriptor(xt,"checked").set,bt=!rt.current;if(pt!==nt&&vt){const Et=new Event("click",{bubbles:bt});mt.indeterminate=isIndeterminate(nt),vt.call(mt,isIndeterminate(nt)?!1:nt),mt.dispatchEvent(Et)}},[ut,pt,nt,rt]);
729const ft=reactExports.useRef(isIndeterminate(nt)?!1:nt);return jsxRuntimeExports.jsx(Primitive.input,{type:"checkbox","aria-hidden":!0,defaultChecked:it??ft.current,required:st,disabled:at,name:ot,value:lt,form:ct,...j,tabIndex:-1,ref:ht,style:{...j.style,...gt,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});CheckboxBubbleInput.displayName=BUBBLE_INPUT_NAME$3;function isFunction$5(_){return typeof _=="function"}function isIndeterminate(_){return _==="indeterminate"}function getState$3(_){return isIndeterminate(_)?"indeterminate":_?"checked":"unchecked"}const Checkbox=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Checkbox$1,{ref:et,className:cn("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background data-[state=checked]:bg-primary data-[state=checked]:text-primary-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",_),...j,children:jsxRuntimeExports.jsx(CheckboxIndicator,{className:cn("flex items-center justify-center text-current"),children:jsxRuntimeExports.jsx(Check,{className:"h-4 w-4"})})}));Checkbox.displayName=Checkbox$1.displayName;const Textarea=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("textarea",{className:cn("flex min-h-[80px] w-full rounded-md border border-input bg-muted/30 px-3 py-2 text-sm r
729ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary/30 focus-visible:border-primary disabled:cursor-not-allowed disabled:opacity-50",_),ref:et,...j}));Textarea.displayName="Textarea";function clamp(_,[j,et]){return Math.min(et,Math.max(j,_))}var PAGE_KEYS=["PageUp","PageDown"],ARROW_KEYS=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],BACK_KEYS={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},SLIDER_NAME="Slider",[Collection$1,useCollection$1,createCollectionScope$1]=createCollection(SLIDER_NAME),[createSliderContext,createSliderScope]=createContextScope(SLIDER_NAME,[createCollectionScope$1]),[SliderProvider,useSliderContext]=createSliderContext(SLIDER_NAME),Slider$1=reactExports.forwardRef((_,j)=>{const{name:et,min:tt=0,max:rt=100,step:nt=1,orientation:it="horizontal",disabled:st=!1,minStepsBetweenThumbs:at=0,defaultValue:ot=[tt],value:lt,onValueChange:ct=()=>{},onValueCommit:ut=()=>{},inverted:dt=!1,form:ht,...pt}=_,gt=reactExports.useRef(new Set),ft=reactExports.useRef(0),xt=it==="horizontal"?SliderHorizontal:SliderVertical,[yt=[],vt]=useControllableState({prop:lt,defaultProp:ot,onChange:Ct=>{var Dt;(Dt=[...gt.current][ft.current])==null||Dt.focus(),ct(Ct)}}),bt=reactExports.useRef(yt);function Et(Ct){const jt=getClosestValueIndex(yt,Ct);Rt(Ct,jt)}function _t(Ct){Rt(Ct,ft.current)}function wt(){const Ct=bt.current[ft.current];yt[ft.current]!==Ct&&ut(yt)}function Rt(Ct,jt,{commit:Dt}={commit:!1}){const It=getDecimalCount(nt),Ot=roundValue(Math.round((Ct-tt)/nt)*nt+tt,It),At=clamp(Ot,[tt,rt]);vt((Tt=[])=>{const kt=getNextSortedValues(Tt,At,jt);if(hasMinStepsBetweenValues(kt,at*nt)){ft.current=kt.indexOf(At);const St=String(kt)!==String(Tt);return St&&Dt&&ut(kt),St?kt:Tt}else return Tt})}return jsxRuntimeExports.jsx(SliderProvider,{scope:_.__scopeSlider,name:et,disabled:st,min:tt,max:rt,valueIndexToChangeRef:ft,thumbs:gt.current,values:yt,orientation:it,form:ht,children:jsxRuntimeExports.jsx(Collection$1.Provider,{scope:_.__scopeSlider,children:jsxRuntimeExports.jsx(Collection$1.Slot,{scope:_.__scopeSlider,children:jsxRuntimeExports.jsx(xt,{"aria-disabled":st,"data-disabled":st?"":void 0,...pt,ref:j,onPointerDown:composeEventHandlers(pt.onPointerDown,()=>{st||(bt.current=yt)}),min:tt,max:rt,inverted:dt,onSlideStart:st?void 0:Et,onSlideMove:st?void 0:_t,onSlideEnd:st?void 0:wt,onHomeKeyDown:()=>!st&&Rt(tt,0,{commit:!0}),onEndKeyDown:()=>!st&&Rt(rt,yt.length-1,{commit:!0}),onStepKeyDown:({event:Ct,direction:jt})=>{if(!st){const Ot=PAGE_KEYS.includes(Ct.key)||Ct.shiftKey&&ARROW_KEYS.includes(Ct.key)?10:1,At=ft.current,Tt=yt[At],kt=nt*Ot*jt;Rt(Tt+kt,At,{commit:!0})}}})})})})});Slider$1.displayName=SLIDER_NAME;var[SliderOrientationProvider,useSliderOrientationContext]=createSliderContext(SLIDER_NAME,{startEdge:"left",endEdge:"right",size:"width",direction:1}),SliderHorizontal=reactExports.forwardRef((_,j)=>{const{min:et,max:tt,dir:rt,inverted:nt,onSlideStart:it,onSlideMove:st,onSlideEnd:at,onStepKeyDown:ot,...lt}=_,[ct,ut]=reactExports.useState(null),dt=useComposedRefs$1(j,xt=>ut(xt)),ht=reactExports.useRef(void 0),pt=useDirection(rt),gt=pt==="ltr",ft=gt&&!nt||!gt&&nt;function mt(xt){const yt=ht.current||ct.getBoundingClientRect(),vt=[0,yt.width],Et=linearScale(vt,ft?[et,tt]:[tt,et]);return ht.current=yt,Et(xt-yt.left)}return jsxRuntimeExports.jsx(SliderOrientationProvider,{scope:_.__scopeSlider,startEdge:ft?"left":"right",endEdge:ft?"right":"left",direction:ft?1:-1,size:"width",children:jsxRuntimeExports.jsx(SliderImpl,{dir:pt,"data-orientation":"horizontal",...lt,ref:dt,style:{...lt.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:xt=>{const yt=mt(xt.clientX);it==null||it(yt)},onSlideMove:xt=>{const yt=mt(xt.clientX);st==null||st(yt)},onSlideEnd:()=>{ht.current=void 0,at==null||at()},onStepKeyDown:xt=>{const vt=BACK_KEYS[ft?"from-left":"from-right"].includes(xt.key);ot==null||ot({event:xt,direction:vt?-1:1})}})})}),SliderVertical=reactExports.forwardRef((_,j)=>{const{min:et,max:tt,inverted:rt,onSlideStart:nt,onSlideMove:it,onSlideEnd:st,onStepKeyDown:at,...ot}=_,lt=reactExports.useRef(null),ct=useComposedRefs$1(j,lt),ut=reactExports.useRef(void 0),dt=!rt;function ht(pt){const gt=ut.current||lt.current.getBoundingClientRect(),ft=[0,gt.height],xt=linearScale(ft,dt?[tt,et]:[et,tt]);return ut.current=gt,xt(pt-gt.top)}return jsxRuntimeExports.jsx(SliderOrientationProvider,{scope:_.__scopeSlider,startEdge:dt?"bottom":"top",endEdge:dt?"top":"bottom",size:"height",direction:dt?1:-1,children:jsxRuntimeExports.jsx(SliderImpl,{"data-orientation":"vertical",...ot,ref:ct,style:{...ot.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:pt=>{const gt=ht(pt.clientY);nt==null||nt(gt)},onSlideMove:pt=>{const gt=ht(pt.clientY);it==null||it(gt)},onSlideEnd:()=>{ut.current=void 0,st==null||st()},onStepKeyDown:pt=>
729{const ft=BACK_KEYS[dt?"from-bottom":"from-top"].includes(pt.key);at==null||at({event:pt,direction:ft?-1:1})}})})}),SliderImpl=reactExports.forwardRef((_,j)=>{const{__scopeSlider:et,onSlideStart:tt,onSlideMove:rt,onSlideEnd:nt,onHomeKeyDown:it,onEndKeyDown:st,onStepKeyDown:at,...ot}=_,lt=useSliderContext(SLIDER_NAME,et);return jsxRuntimeExports.jsx(Primitive.span,{...ot,ref:j,onKeyDown:composeEventHandlers(_.onKeyDown,ct=>{ct.key==="Home"?(it(ct),ct.preventDefault()):ct.key==="End"?(st(ct),ct.preventDefault()):PAGE_KEYS.concat(ARROW_KEYS).includes(ct.key)&&(at(ct),ct.preventDefault())}),onPointerDown:composeEventHandlers(_.onPointerDown,ct=>{const ut=ct.target;ut.setPointerCapture(ct.pointerId),ct.preventDefault(),lt.thumbs.has(ut)?ut.focus():tt(ct)}),onPointerMove:composeEventHandlers(_.onPointerMove,ct=>{ct.target.hasPointerCapture(ct.pointerId)&&rt(ct)}),onPointerUp:composeEventHandlers(_.onPointerUp,ct=>{const ut=ct.target;ut.hasPointerCapture(ct.pointerId)&&(ut.releasePointerCapture(ct.pointerId),nt(ct))})})}),TRACK_NAME="SliderTrack",SliderTrack=reactExports.forwardRef((_,j)=>{const{__scopeSlider:et,...tt}=_,rt=useSliderContext(TRACK_NAME,et);return jsxRuntimeExports.jsx(Primitive.span,{"data-disabled":rt.disabled?"":void 0,"data-orientation":rt.orientation,...tt,ref:j})});SliderTrack.displayName=TRACK_NAME;var RANGE_NAME="SliderRange",SliderRange=reactExports.forwardRef((_,j)=>{const{__scopeSlider:et,...tt}=_,rt=useSliderContext(RANGE_NAME,et),nt=useSliderOrientationContext(RANGE_NAME,et),it=reactExports.useRef(null),st=useComposedRefs$1(j,it),at=rt.values.length,ot=rt.values.map(ut=>convertValueToPercentage(ut,rt.min,rt.max)),lt=at>1?Math.min(...ot):0,ct=100-Math.max(...ot);return jsxRuntimeExports.jsx(Primitive.span,{"data-orientation":rt.orientation,"data-disabled":rt.disabled?"":void 0,...tt,ref:st,style:{..._.style,[nt.startEdge]:lt+"%",[nt.endEdge]:ct+"%"}})});SliderRange.displayName=RANGE_NAME;var THUMB_NAME$1="SliderThumb",SliderThumb=reactExports.forwardRef((_,j)=>{const et=useCollection$1(_.__scopeSlider),[tt,rt]=reactExports.useState(null),nt=useComposedRefs$1(j,st=>rt(st)),it=reactExports.useMemo(()=>tt?et().findIndex(st=>st.ref.current===tt):-1,[et,tt]);return jsxRuntimeExports.jsx(SliderThumbImpl,{..._,ref:nt,index:it})}),SliderThumbImpl=reactExports.forwardRef((_,j)=>{const{__scopeSlider:et,index:tt,name:rt,...nt}=_,it=useSliderContext(THUMB_NAME$1,et),st=useSliderOrientationContext(THUMB_NAME$1,et),[at,ot]=reactExports.useState(null),lt=useComposedRefs$1(j,mt=>ot(mt)),ct=at?it.form||!!at.closest("form"):!0,ut=useSize(at),dt=it.values[tt],ht=dt===void 0?0:convertValueToPercentage(dt,it.min,it.max),pt=getLabel$1(tt,it.values.length),gt=ut==null?void 0:ut[st.size],ft=gt?getThumbInBoundsOffset(gt,ht,st.direction):0;return reactExports.useEffect(()=>{if(at)return it.thumbs.add(at),()=>{it.thumbs.delete(at)}},[at,it.thumbs]),jsxRuntimeExports.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[st.startEdge]:`calc(${ht}% + ${ft}px)`},children:[jsxRuntimeExports.jsx(Collection$1.ItemSlot,{scope:_.__scopeSlider,children:jsxRuntimeExports.jsx(Primitive.span,{role:"slider","aria-label":_["aria-label"]||pt,"aria-valuemin":it.min,"aria-valuenow":dt,"aria-valuemax":it.max,"aria-orientation":it.orientation,"data-orientation":it.orientation,"data-disabled":it.disabled?"":void 0,tabIndex:it.disabled?void 0:0,...nt,ref:lt,style:dt===void 0?{display:"none"}:_.style,onFocus:composeEventHandlers(_.onFocus,()=>{it.valueIndexToChangeRef.current=tt})})}),ct&&jsxRuntimeExports.jsx(SliderBubbleInput,{name:rt??(it.name?it.name+(it.values.length>1?"[]":""):void 0),form:it.form,value:dt},tt)]})});SliderThumb.displayName=THUMB_NAME$1;var BUBBLE_INPUT_NAME$2="RadioBubbleInput",SliderBubbleInput=reactExports.forwardRef(({__scopeSlider:_,value:j,...et},tt)=>{const rt=reactExports.useRef(null),nt=useComposedRefs$1(rt,tt),it=usePrevious(j);return reactExports.useEffect(()=>{const st=rt.current;if(!st)return;const at=window.HTMLInputElement.prototype,lt=Object.getOwnPropertyDescriptor(at,"value").set;if(it!==j&<){const ct=new Event("input",{bubbles:!0});lt.call(st,j),st.dispatchEvent(ct)}},[it,j]),jsxRuntimeExports.jsx(Primitive.input,{style:{display:"none"},...et,ref:nt,defaultValue:j})});SliderBubbleInput.displayName=BUBBLE_INPUT_NAME$2;function getNextSortedValues(_=[],j,et){const tt=[..._];return tt[et]=j,tt.sort((rt,nt)=>rt-nt)}function convertValueToPercentage(_,j,et){const nt=100/(et-j)*(_-j);return clamp(nt,[0,100])}function getLabel$1(_,j){return j>2?`Value ${_+1} of ${j}`:j===2?["Minimum","Maximum"][_]:void 0}function getClosestValueIndex(_,j){if(_.length===1)return 0;const et=_.map(rt=>
729Math.abs(rt-j)),tt=Math.min(...et);return et.indexOf(tt)}function getThumbInBoundsOffset(_,j,et){const tt=_/2,nt=linearScale([0,50],[0,tt]);return(tt-nt(j)*et)*et}function getStepsBetweenValues(_){return _.slice(0,-1).map((j,et)=>_[et+1]-j)}function hasMinStepsBetweenValues(_,j){if(j>0){const et=getStepsBetweenValues(_);return Math.min(...et)>=j}return!0}function linearScale(_,j){return et=>{if(_[0]===_[1]||j[0]===j[1])return j[0];const tt=(j[1]-j[0])/(_[1]-_[0]);return j[0]+tt*(et-_[0])}}function getDecimalCount(_){return(String(_).split(".")[1]||"").length}function roundValue(_,j){const et=Math.pow(10,j);return Math.round(_*et)/et}var Root$3=Slider$1,Track=SliderTrack,Range=SliderRange,Thumb$1=SliderThumb;const Slider=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsxs(Root$3,{ref:et,className:cn("relative flex w-full touch-none select-none items-center",_),...j,children:[jsxRuntimeExports.jsx(Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:jsxRuntimeExports.jsx(Range,{className:"absolute h-full bg-primary"})}),jsxRuntimeExports.jsx(Thumb$1,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background 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"})]}));Slider.displayName=Root$3.displayName;var NAME="Toggle",Toggle$1=reactExports.forwardRef((_,j)=>{const{pressed:et,defaultPressed:tt,onPressedChange:rt,...nt}=_,[it,st]=useControllableState({prop:et,onChange:rt,defaultProp:tt??!1,caller:NAME});return jsxRuntimeExports.jsx(Primitive.button,{type:"button","aria-pressed":it,"data-state":it?"on":"off","data-disabled":_.disabled?"":void 0,...nt,ref:j,onClick:composeEventHandlers(_.onClick,()=>{_.disabled||st(!it)})})});Toggle$1.displayName=NAME;var Root$2=Toggle$1,TOGGLE_GROUP_NAME="ToggleGroup",[createToggleGroupContext,createToggleGroupScope]=createContextScope(TOGGLE_GROUP_NAME,[createRovingFocusGroupScope]),useRovingFocusGroupScope$1=createRovingFocusGroupScope(),ToggleGroup$1=React$1.forwardRef((_,j)=>{const{type:et,...tt}=_;if(et==="single"){const rt=tt;return jsxRuntimeExports.jsx(ToggleGroupImplSingle,{...rt,ref:j})}if(et==="multiple"){const rt=tt;return jsxRuntimeExports.jsx(ToggleGroupImplMultiple,{...rt,ref:j})}throw new Error(`Missing prop \`type\` expected on \`${TOGGLE_GROUP_NAME}\``)});ToggleGroup$1.displayName=TOGGLE_GROUP_NAME;var[ToggleGroupValueProvider,useToggleGroupValueContext]=createToggleGroupContext(TOGGLE_GROUP_NAME),ToggleGroupImplSingle=React$1.forwardRef((_,j)=>{const{value:et,defaultValue:tt,onValueChange:rt=()=>{},...nt}=_,[it,st]=useControllableState({prop:et,defaultProp:tt??"",onChange:rt,caller:TOGGLE_GROUP_NAME});return jsxRuntimeExports.jsx(ToggleGroupValueProvider,{scope:_.__scopeToggleGroup,type:"single",value:React$1.useMemo(()=>it?[it]:[],[it]),onItemActivate:st,onItemDeactivate:React$1.useCallback(()=>st(""),[st]),children:jsxRuntimeExports.jsx(ToggleGroupImpl,{...nt,ref:j})})}),ToggleGroupImplMultiple=React$1.forwardRef((_,j)=>{const{value:et,defaultValue:tt,onValueChange:rt=()=>{},...nt}=_,[it,st]=useControllableState({prop:et,defaultProp:tt??[],onChange:rt,caller:TOGGLE_GROUP_NAME}),at=React$1.useCallback(lt=>st((ct=[])=>[...ct,lt]),[st]),ot=React$1.useCallback(lt=>st((ct=[])=>ct.filter(ut=>ut!==lt)),[st]);return jsxRuntimeExports.jsx(ToggleGroupValueProvider,{scope:_.__scopeToggleGroup,type:"multiple",value:it,onItemActivate:at,onItemDeactivate:ot,children:jsxRuntimeExports.jsx(ToggleGroupImpl,{...nt,ref:j})})});ToggleGroup$1.displayName=TOGGLE_GROUP_NAME;var[ToggleGroupContext$1,useToggleGroupContext]=createToggleGroupContext(TOGGLE_GROUP_NAME),ToggleGroupImpl=React$1.forwardRef((_,j)=>{const{__scopeToggleGroup:et,disabled:tt=!1,rovingFocus:rt=!0,orientation:nt,dir:it,loop:st=!0,...at}=_,ot=useRovingFocusGroupScope$1(et),lt=useDirection(it),ct={role:"group",dir:lt,...at};return jsxRuntimeExports.jsx(ToggleGroupContext$1,{scope:et,rovingFocus:rt,disabled:tt,children:rt?jsxRuntimeExports.jsx(Root$6,{asChild:!0,...ot,orientation:nt,dir:lt,loop:st,children:jsxRuntimeExports.jsx(Primitive.div,{...ct,ref:j})}):jsxRuntimeExports.jsx(Primitive.div,{...ct,ref:j})})}),ITEM_NAME$1="ToggleGroupItem",ToggleGroupItem$1=React$1.forwardRef((_,j)=>{const et=useToggleGroupValueContext(ITEM_NAME$1,_.__scopeToggleGroup),tt=useToggleGroupContext(ITEM_NAME$1,_.__scopeToggleGroup),rt=useRovingFocusGroupScope$1(_.__scopeToggleGroup),nt=et.value.includes(_.value),it=tt.disabled||_.disabled,st={..._,pressed:nt,disabled:it},at=React$1.useRef(null);return tt.rovingFocus?jsxRuntimeExports.jsx(Item$1,{asChild:!0,...rt,focu
vendor: 22,449 bytes, line 729
729sable:!it,active:nt,ref:at,children:jsxRuntimeExports.jsx(ToggleGroupItemImpl,{...st,ref:j})}):jsxRuntimeExports.jsx(ToggleGroupItemImpl,{...st,ref:j})});ToggleGroupItem$1.displayName=ITEM_NAME$1;var ToggleGroupItemImpl=React$1.forwardRef((_,j)=>{const{__scopeToggleGroup:et,value:tt,...rt}=_,nt=useToggleGroupValueContext(ITEM_NAME$1,et),it={role:"radio","aria-checked":_.pressed,"aria-pressed":void 0},st=nt.type==="single"?it:void 0;return jsxRuntimeExports.jsx(Toggle$1,{...st,...rt,ref:j,onPressedChange:at=>{at?nt.onItemActivate(tt):nt.onItemDeactivate(tt)}})}),Root2$4=ToggleGroup$1,Item2=ToggleGroupItem$1;const toggleVariants=cva("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"},size:{default:"h-10 px-3",sm:"h-9 px-2.5",lg:"h-11 px-5"}},defaultVariants:{variant:"default",size:"default"}}),Toggle=reactExports.forwardRef(({className:_,variant:j,size:et,...tt},rt)=>jsxRuntimeExports.jsx(Root$2,{ref:rt,className:cn(toggleVariants({variant:j,size:et,className:_})),...tt}));Toggle.displayName=Root$2.displayName;const ToggleGroupContext=reactExports.createContext({size:"default",variant:"default"}),ToggleGroup=reactExports.forwardRef(({className:_,variant:j,size:et,children:tt,...rt},nt)=>jsxRuntimeExports.jsx(Root2$4,{ref:nt,className:cn("flex items-center justify-center gap-1",_),...rt,children:jsxRuntimeExports.jsx(ToggleGroupContext.Provider,{value:{variant:j,size:et},children:tt})}));ToggleGroup.displayName=Root2$4.displayName;const ToggleGroupItem=reactExports.forwardRef(({className:_,children:j,variant:et,size:tt,...rt},nt)=>{const it=reactExports.useContext(ToggleGroupContext);return jsxRuntimeExports.jsx(Item2,{ref:nt,className:cn(toggleVariants({variant:it.variant||et,size:it.size||tt}),_),...rt,children:j})});ToggleGroupItem.displayName=Item2.displayName;var POPOVER_NAME="Popover",[createPopoverContext,createPopoverScope]=createContextScope(POPOVER_NAME,[createPopperScope]),usePopperScope$1=createPopperScope(),[PopoverProvider,usePopoverContext]=createPopoverContext(POPOVER_NAME),Popover$1=_=>{const{__scopePopover:j,children:et,open:tt,defaultOpen:rt,onOpenChange:nt,modal:it=!1}=_,st=usePopperScope$1(j),at=reactExports.useRef(null),[ot,lt]=reactExports.useState(!1),[ct,ut]=useControllableState({prop:tt,defaultProp:rt??!1,onChange:nt,caller:POPOVER_NAME});return jsxRuntimeExports.jsx(Root2$6,{...st,children:jsxRuntimeExports.jsx(PopoverProvider,{scope:j,contentId:useId(),triggerRef:at,open:ct,onOpenChange:ut,onOpenToggle:reactExports.useCallback(()=>ut(dt=>!dt),[ut]),hasCustomAnchor:ot,onCustomAnchorAdd:reactExports.useCallback(()=>lt(!0),[]),onCustomAnchorRemove:reactExports.useCallback(()=>lt(!1),[]),modal:it,children:et})})};Popover$1.displayName=POPOVER_NAME;var ANCHOR_NAME="PopoverAnchor",PopoverAnchor=reactExports.forwardRef((_,j)=>{const{__scopePopover:et,...tt}=_,rt=usePopoverContext(ANCHOR_NAME,et),nt=usePopperScope$1(et),{onCustomAnchorAdd:it,onCustomAnchorRemove:st}=rt;return reactExports.useEffect(()=>(it(),()=>st()),[it,st]),jsxRuntimeExports.jsx(Anchor,{...nt,...tt,ref:j})});PopoverAnchor.displayName=ANCHOR_NAME;var TRIGGER_NAME$4="PopoverTrigger",PopoverTrigger$1=reactExports.forwardRef((_,j)=>{const{__scopePopover:et,...tt}=_,rt=usePopoverContext(TRIGGER_NAME$4,et),nt=usePopperScope$1(et),it=useComposedRefs$1(j,rt.triggerRef),st=jsxRuntimeExports.jsx(Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":rt.open,"aria-controls":rt.contentId,"data-state":getState$2(rt.open),...tt,ref:it,onClick:composeEventHandlers(_.onClick,rt.onOpenToggle)});return rt.hasCustomAnchor?st:jsxRuntimeExports.jsx(Anchor,{asChild:!0,...nt,children:st})});PopoverTrigger$1.displayName=TRIGGER_NAME$4;var PORTAL_NAME$2="PopoverPortal",[PortalProvider,usePortalContext]=createPopoverContext(PORTAL_NAME$2,{forceMount:void 0}),PopoverPortal=_=>{const{__scopePopover:j,forceMount:et,children:tt,container:rt}=_,nt=usePopoverContext(PORTAL_NAME$2,j);return jsxRuntimeExports.jsx(PortalProvider,{scope:j,forceMount:et,children:jsxRuntimeExports.jsx(Presence,{present:et||nt.open,children:jsxRuntimeExports.jsx(Portal$4,{asChild:!0,container:rt,children:tt})})})};PopoverPortal.displayName=PORTAL_NAME$2;var CONTENT_NAME$4="PopoverContent",PopoverContent$1=reactExports.forwardRef((_,j)=>{const et=usePortalContext(CONTENT_NAME$4,_.__scopePopover),{forceMount:tt=et.forceMount,...rt}=_,nt=usePopoverContext(CONTENT_NAME$4,_.__scopePopover);return jsxRuntimeExports.jsx(Presence,{present:tt||nt.open,children:nt.modal?jsxRuntimeExports.jsx(PopoverContentModal,{...rt,ref:j}):jsxRuntimeExports.jsx(PopoverContentNonModal,{...rt,ref:j})})});PopoverContent$1.displayName=CONTENT_NAME$4;var Slot$1=createSlot("PopoverContent.RemoveScroll"),PopoverContentModal=reactExports.forwardRef((_,j)=>{const et=usePopoverContext(CONTENT_NAME$4,_.__scopePopover),tt=reactExports.useRef(null),rt=useComposedRefs$1(j,tt),nt=reactExports.useRef(!1);return reactExports.useEffect(()=>{const it=tt.current;if(it)return hideOthers(it)},[]),jsxRuntimeExports.jsx(ReactRemoveScroll,{as:Slot$1,allowPinchZoom:!0,children:jsxRuntimeExports.jsx(PopoverContentImpl,{..._,ref:rt,trapFocus:et.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:composeEventHandlers(_.onCloseAutoFocus,it=>{var st;it.preventDefault(),nt.current||(st=et.triggerRef.current)==null||st.focus()}),onPointerDownOutside:composeEventHandlers(_.onPointerDownOutside,it=>{const st=it.detail.originalEvent,at=st.button===0&&st.ctrlKey===!0,ot=st.button===2||at;nt.current=ot},{checkForDefaultPrevented:!1}),onFocusOutside:composeEventHandlers(_.onFocusOutside,it=>it.preventDefault(),{checkForDefaultPrevented:!1})})})}),PopoverContentNonModal=reactExports.forwardRef((_,j)=>{const et=usePopoverContext(CONTENT_NAME$4,_.__scopePopover),tt=reactExports.useRef(!1),rt=reactExports.useRef(!1);return jsxRuntimeExports.jsx(PopoverContentImpl,{..._,ref:j,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:nt=>{var it,st;(it=_.onCloseAutoFocus)==null||it.call(_,nt),nt.defaultPrevented||(tt.current||(st=et.triggerRef.current)==null||st.focus(),nt.preventDefault()),tt.current=!1,rt.current=!1},onInteractOutside:nt=>{var at,ot;(at=_.onInteractOutside)==null||at.call(_,nt),nt.defaultPrevented||(tt.current=!0,nt.detail.originalEvent.type==="pointerdown"&&(rt.current=!0));const it=nt.target;((ot=et.triggerRef.current)==null?void 0:ot.contains(it))&&nt.preventDefault(),nt.detail.originalEvent.type==="focusin"&&rt.current&&nt.preventDefault()}})}),PopoverContentImpl=reactExports.forwardRef((_,j)=>{const{__scopePopover:et,trapFocus:tt,onOpenAutoFocus:rt,onCloseAutoFocus:nt,disableOutsidePointerEvents:it,onEscapeKeyDown:st,onPointerDownOutside:at,onFocusOutside:ot,onInteractOutside:lt,...ct}=_,ut=usePopoverContext(CONTENT_NAME$4,et),dt=usePopperScope$1(et);return useFocusGuards(),jsxRuntimeExports.jsx(FocusScope,{asChild:!0,loop:!0,trapped:tt,onMountAutoFocus:rt,onUnmountAutoFocus:nt,children:jsxRuntimeExports.jsx(DismissableLayer,{asChild:!0,disableOutsidePointerEvents:it,onInteractOutside:lt,onEscapeKeyDown:st,onPointerDownOutside:at,onFocusOutside:ot,onDismiss:()=>ut.onOpenChange(!1),children:jsxRuntimeExports.jsx(Content$2,{"data-state":getState$2(ut.open),role:"dialog",id:ut.contentId,...dt,...ct,ref:j,style:{...ct.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),CLOSE_NAME="PopoverClose",PopoverClose=reactExports.forwardRef((_,j)=>{const{__scopePopover:et,...tt}=_,rt=usePopoverContext(CLOSE_NAME,et);return jsxRuntimeExports.jsx(Primitive.button,{type:"button",...tt,ref:j,onClick:composeEventHandlers(_.onClick,()=>rt.onOpenChange(!1))})});PopoverClose.displayName=CLOSE_NAME;var ARROW_NAME$1="PopoverArrow",PopoverArrow=reactExports.forwardRef((_,j)=>{const{__scopePopover:et,...tt}=_,rt=usePopperScope$1(et);return jsxRuntimeExports.jsx(Arrow,{...rt,...tt,ref:j})});PopoverArrow.displayName=ARROW_NAME$1;function getState$2(_){return _?"open":"closed"}var Root2$3=Popover$1,Trigger$2=PopoverTrigger$1,Portal$1=PopoverPortal,Content2$2=PopoverContent$1;const Popover=Root2$3,PopoverTrigger=Trigger$2,PopoverContent=reactExports.forwardRef(({className:_,align:j="center",sideOffset:et=4,...tt},rt)=>jsxRuntimeExports.jsx(Portal$1,{children:jsxRuntimeExports.jsx(Content2$2,{ref:rt,align:j,sideOffset:et,className:cn("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",_),...tt})}));PopoverContent.displayName=Content2$2.displayName;var U=1,Y$1=.9,H=.8,J=.17,p$1=.1,u$1=.999,$=.9999,k$3=.99,m$1=/[\\\/_+.#"@\[\(\{&]/,B$1=/[\\\/_+.#"@\[\(\{&]/g,K$1=/[\s-]/,X=/[\s-]/g;function G(_,j,et,tt,rt,nt,it){if(nt===j.length)return rt===_.length?U:k$3;var st=`${rt},${nt}`;if(it[st]!==void 0)return it[st];for(var at=tt.charAt(nt),ot=et.indexOf(at,rt),lt=0,ct,ut,dt,ht;ot>=0;)ct=G(_,j,et,tt,ot+1,nt+1,it),ct>lt&&(ot===rt?ct*=U:m$1.test(_.charAt(ot-1))?(ct*=H,dt=_.slice(rt,ot-1).match(B$1),dt&&rt>0&&(ct*=Math.pow(u$1,dt.length))):K$1.test(_.charAt(ot-1))?(ct*=Y$1,ht=_.slice(rt,ot-1).match(X),ht&&rt>0&&(ct*=Math.pow(u$1,ht.length))):(ct*=J,rt>0&&(ct*=Math.pow(u$1,ot-rt))),_.charAt(ot)!==j.charAt(nt)&&(ct*=$)),(ct<p$1&&et.charAt(ot-1)===tt.charAt(nt+1)||tt.charAt(nt+1)===tt.charAt(nt)&&et.charAt(ot-1)!==tt.charAt(nt))&&(ut=G(_,j,et,tt,ot+1,nt+2,it),ut*p$1>ct&&(ct=ut*p$1)),ct>lt&&(lt=ct),ot=et.indexOf(at,ot+1);return it[st]=lt,lt}function D(_){return _.toLowerCase().replace(X," ")}function W(_,j,et){return _=et&&et.length>0?`${_+" "+et.join(" ")}`:_,G(_,j,D(_),D(j),0,0,{})}var N='[cmdk-group=""]',Y='[cmdk-group-items=""]',be='[cmdk-group-heading=""]',le='[cmdk-item=""]',ce=`${le}:not([aria-disabled="true"])`,Z="cmdk-item-select",T="data-value",Re=(_,j,et)=>W(_,j,et),ue=reactExports.createContext(void 0),K=()=>reactExports.useContext(ue),de=reactExports.createContext(void 0),ee=()=>reactExports.useContext(de),fe=reactExports.createContext(void 0),me=reactExports.forwardRef((_,j)=>{let et=L(()=>{var Nt,Mt;return{search:"",value:(Mt=(Nt=_.value)!=null?Nt:_.defaultValue)!=null?Mt:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),tt=L(()=>new Set),rt=L(()=>new Map),nt=L(()=>new Map),it=L(()=>new Set),st=pe(_),{label:at,children:ot,value:lt,onValueChange:ct,filter:ut,shouldFilter:dt,loop:ht,disablePointerSelection:pt=!1,vimBindings:gt=!0,...ft}=_,mt=useId(),xt=useId(),yt=useId(),vt=reactExports.useRef(null),bt=ke();k$2(()=>{if(lt!==void 0){let Nt=lt.trim();et.current.value=Nt,Et.emit()}},[lt]),k$2(()=>{bt(6,Dt)},[]);let Et=reactExports.useMemo(()=>({subscribe:Nt=>(it.current.add(Nt),()=>it.current.delete(Nt)),snapshot:()=>et.current,setState:(Nt,Mt,Vt)=>{var Ht,Qt,er,ir;if(!Object.is(et.current[Nt],Mt)){if(et.current[Nt]=Mt,Nt==="search")jt(),Rt(),bt(1,Ct);else if(Nt==="value"){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let Jt=document.getElementById(yt);Jt?Jt.focus():(Ht=document.getElementById(mt))==null||Ht.focus()}if(bt(7,()=>{var Jt;et.current.selectedItemId=(Jt=It())==null?void 0:Jt.id,Et.emit()}),Vt||bt(5,Dt),((Qt=st.current)==null?void 0:Qt.value)!==void 0){let Jt=Mt??"";(ir=(er=st.current).onValueChange)==null||ir.call(er,Jt);return}}Et.emit()}},emit:()=>{it.current.forEach(Nt=>Nt())}}),[]),_t=reactExports.useMemo(()=>({value:(Nt,Mt,Vt)=>{var Ht;Mt!==((Ht=nt.current.get(Nt))==null?void 0:Ht.value)&&(nt.current.set(Nt,{value:Mt,keywords:Vt}),et.current.filtered.items.set(Nt,wt(Mt,Vt)),bt(2,()=>{Rt(),Et.emit()}))},item:(Nt,Mt)=>(tt.current.add(Nt),Mt&&(rt.current.has(Mt)?rt.current.get(Mt).add(Nt):rt.current.set(Mt,new Set([Nt]))),bt(3,()=>{jt(),Rt(),et.current.value||Ct(),Et.emit()}),()=>{nt.current.delete(Nt),tt.current.delete(Nt),et.current.filtered.items.delete(Nt);let Vt=It();bt(4,()=>{jt(),(Vt==null?void 0:Vt.getAttribute("id"))===Nt&&Ct(),Et.emit()})}),group:Nt=>(rt.current.has(Nt)||rt.current.set(Nt,new Set),()=>{nt.current.delete(Nt),rt.current.delete(Nt)}),filter:()=>st.current.shouldFilter,label:at||_["aria-label"],getDisablePointerSelection:()=>st.current.disablePointerSelection,listId:mt,inputId:yt,labelId:xt,listInnerRef:vt}),[]);function wt(Nt,Mt){var Vt,Ht;let Qt=(Ht=(Vt=st.current)==null?void 0:Vt.filter)!=null?Ht:Re;return Nt?Qt(Nt,et.current.search,Mt):0}function Rt(){if(!et.current.search||st.current.shouldFilter===!1)return;let Nt=et.current.filtered.items,Mt=[];et.current.filtered.groups.forEach(Ht=>{let Qt=rt.current.get(Ht),er=0;Qt.forEach(ir=>{let Jt=Nt.get(ir);er=Math.max(Jt,er)}),Mt.push([Ht,er])});let Vt=vt.current;Ot().sort((Ht,Qt)=>{var er,ir;let Jt=Ht.getAttribute("id"),Gt=Qt.getAttribute("id");return((er=Nt.get(Gt))!=null?er:0)-((ir=Nt.get(Jt))!=null?ir:0)}).forEach(Ht=>{let Qt=Ht.closest(Y);Qt?Qt.appendChild(Ht.parentElement===Qt?Ht:Ht.closest(`${Y} > *`)):Vt.appendChild(Ht.parentElement===Vt?Ht:Ht.closest(`${Y} > *`))}),Mt.sort((Ht,Qt)=>Qt[1]-Ht[1]).forEach(Ht=>{var Qt;let er=(Qt=vt.current)==null?void 0:Qt.querySelector(`${N}[${T}="${encodeURIComponent(Ht[0])}"]`);er==null||er.parentElement.appendChild(er)})}function Ct(){let Nt=Ot().find(Vt=>Vt.getAttribute("aria-disabled")!=="true"),Mt=Nt==null?void 0:Nt.getAttribute(T);Et.setState("value",Mt||void 0)}function jt(){var Nt,Mt,Vt,Ht;if(!et.current.search||st.current.shouldFilter===!1){et.current.filtered.count=tt.current.size;return}et.current.filtered.groups=new Set;let Qt=0;for(let er of tt.current){let ir=(Mt=(Nt=nt.current.get(er))==null?void 0:Nt.value)!=null?Mt:"",Jt=(Ht=(Vt=nt.current.get(er))==null?void 0:Vt.keywords)!=null?Ht:[],Gt=wt(ir,Jt);et.current.filtered.items.set(er,Gt),Gt>0&&Qt++}for(let[er,ir]of rt.current)for(let Jt of ir)if(et.current.filtered.items.get(Jt)>0){et.current.filtered.groups.add(er);break}et.current.filtered.count=Qt}function Dt(){var Nt,Mt,Vt;let Ht=It();Ht&&(((Nt=Ht.parentElement)==null?void 0:Nt.firstChild)===Ht&&((Vt=(Mt=Ht.closest(N))==null?void 0:Mt.querySelector(be))==null||Vt.scrollIntoView({block:"nearest"})),Ht.scrollIntoView({block:"nearest"}))}function It(){var Nt;return(Nt=vt.current)==null?void 0:Nt.querySelector(`${le}[aria-selected="true"]`)}function Ot(){var Nt;return Array.from(((Nt=vt.current)==null?void 0:Nt.querySelectorAll(ce))||[])}function At(Nt){let Mt=Ot()[Nt];Mt&&Et.setState("value",Mt.getAttribute(T))}function Tt(Nt){var Mt;let Vt=It(),Ht=Ot(),Qt=Ht.findIndex(ir=>ir===Vt),er=Ht[Qt+Nt];(Mt=st.current)!=null&&Mt.loop&&(er=Qt+Nt<0?Ht[Ht.length-1]:Qt+Nt===Ht.length?Ht[0]:Ht[Qt+Nt]),er&&Et.setState("value",er.getAttribute(T))}function kt(Nt){let Mt=It(),Vt=Mt==null?void 0:Mt.closest(N),Ht;for(;Vt&&!Ht;)Vt=Nt>0?we(Vt,N):De(Vt,N),Ht=Vt==null?void 0:Vt.querySelector(ce);Ht?Et.setState("value",Ht.getAttribute(T)):Tt(Nt)}let St=()=>At(Ot().length-1),Pt=Nt=>{Nt.preventDefault(),Nt.metaKey?St():Nt.altKey?kt(1):Tt(1)},$t=Nt=>{Nt.preventDefault(),Nt.metaKey?At(0):Nt.altKey?kt(-1):Tt(-1)};return reactExports.createElement(Primitive.div,{ref:j,tabIndex:-1,...ft,"cmdk-root":"",onKeyDown:Nt=>{var Mt;(Mt=ft.onKeyDown)==null||Mt.call(ft,Nt);let Vt=Nt.nativeEvent.isComposing||Nt.keyCode===229;if(!(Nt.defaultPrevented||Vt))switch(Nt.key){case"n":case"j":{gt&&Nt.ctrlKey&&Pt(Nt);break}case"ArrowDown":{Pt(Nt);break}case"p":case"k":{gt&&Nt.ctrlKey&&$t(Nt);break}case"ArrowUp":{$t(Nt);break}case"Home":{Nt.preventDefault(),At(0);break}case"End":{Nt.preventDefault(),St();break}case"Enter":{Nt.preventDefault();let Ht=It();if(Ht){let Qt=new Event(Z);Ht.dispatchEvent(Qt)}}}}},reactExports.createElement("label",{"cmdk-label":"",htmlFor:_t.inputId,id:_t.labelId,style:Te},at),B(_,Nt=>reactExports.createElement(de.Provider,{value:Et},reactExports.createElement(ue.Provider,{value:_t},Nt))))}),he=reactExports.forwardRef((_,j)=>{var et,tt;let rt=useId(),nt=reactExports.useRef(null),it=reactExports.useContext(fe),st=K(),at=pe(_),ot=(tt=(et=at.current)==null?void 0:et.forceMount)!=null?tt:it==null?void 0:it.forceMount;k$2(()=>{if(!ot)return st.item(rt,it==null?void 0:it.id)},[ot]);let lt=ve(rt,nt,[_.value,_.children,nt],_.keywords),ct=ee(),ut=P$1(bt=>bt.value&&bt.value===lt.current),dt=P$1(bt=>ot||st.filter()===!1?!0:bt.search?bt.filtered.items.get(rt)>0:!0);reactExports.useEffect(()=>{let bt=nt.current;if(!(!bt||_.disabled))return bt.addEventListener(Z,ht),()=>bt.removeEventListener(Z,ht)},[dt,_.onSelect,_.disabled]);function ht(){var bt,Et;pt(),(Et=(bt=at.current).onSelect)==null||Et.call(bt,lt.current)}function pt(){ct.setState("value",lt.current,!0)}if(!dt)return null;let{disabled:gt,value:ft,onSelect:mt,forceMount:xt,keywords:yt,...vt}=_;return reactExports.createElement(Primitive.div,{ref:composeRefs$1(nt,j),...vt,id:rt,"cmdk-item":"",role:"option","aria-disabled":!!gt,"aria-selected":!!ut,"data-disabled":!!gt,"data-selected":!!ut,onPointerMove:gt||st.getDisablePointerSelection()?void 0:pt,onClick:gt?void 0:ht},_.children)}),Ee=reactExports.forwardRef((_,j)=>{let{heading:et,children:tt,forceMount:rt,...nt}=_,it=useId(),st=reactExports.useRef(null),at=reactExports.useRef(null),ot=useId(),lt=K(),ct=P$1(dt=>rt||lt.filter()===!1?!0:dt.search?dt.filtered.groups.has(it):!0);k$2(()=>lt.group(it),[]),ve(it,st,[_.value,_.heading,at]);let ut=reactExports.useMemo(()=>({id:it,forceMount:rt}),[rt]);return reactExports.createElement(Primitive.div,{ref:composeRefs$1(st,j),...nt,"cmdk-group":"",role:"presentation",hidden:ct?void 0:!0},et&&reactExports.createElement("div",{ref:at,"cmdk-group-heading":"","aria-hidden":!0,id:ot},et),B(_,dt=>reactExports.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":et?ot:void 0},reactExports.createElement(fe.Provider,{value:ut},dt))))}),ye=reactExports.forwardRef((_,j)=>{let{alwaysRender:et,...tt}=_,rt=reactExports.useRef(null),nt=P$1(it=>!it.search);return!et&&!nt?null:reactExports.createElement(Primitive.div,{ref:composeRefs$1(rt,j),...tt,"cmdk-separator":"",role:"separator"})}),Se=reactExports.forwardRef((_,j)=>{let{onValueChange:et,...tt}=_,rt=_.value!=null,nt=ee(),it=P$1(ot=>ot.search),st=P$1(ot=>ot.selectedItemId),at=K();return reactExports.useEffect(()=>{_.value!=null&&nt.setState("search",_.value)},[_.value]),reactExports.createElement(Primitive.input,{ref:j,...tt,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":at.listId,"aria-labelledby":at.labelId,"aria-activedescendant":st,id:at.inputId,type:"text",value:rt?_.value:it,onChange:ot=>{rt||nt.setState("search",ot.target.value),et==null||et(ot.target.value)}})}),Ce=reactExports.forwardRef((_,j)=>{let{children:et,label:tt="Suggestions",...rt}=_,nt=reactExports.useRef(null),it=reactExports.useRef(null),st=P$1(ot=>ot.selectedItemId),at=K();return reactExports.useEffect(()=>{if(it.current&&nt.current){let ot=it.current,lt=nt.current,ct,ut=new ResizeObserver(()=>{ct=requestAnimationFrame(()=>{let dt=ot.offsetHeight;lt.style.setProperty("--cmdk-list-height",dt.toFixed(1)+"px")})});return ut.observe(ot),()=>{cancelAnimationFrame(ct),ut.unobserve(ot)}}},[]),reactExports.createElement(Primitive.div,{ref:composeRefs$1(nt,j),...rt,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":st,"aria-label":tt,id:at.listId},B(_,ot=>reactExports.createElement("div",{ref:composeRefs$1(it,at.listInnerRef),"cmdk-list-sizer":""},ot)))}),xe=reactExports.forwardRef((_,j)=>{let{open:et,onOpenChange:tt,overlayClassName:rt,contentClassName:nt,container:it,...st}=_;return reactExports.createElement(Root$7,{open:et,onOpenChange:tt},reactExports.createElement(Portal$3,{container:it},reactExports.createElement(Overlay,{"cmdk-overlay":"",className:rt}),reactExports.createElement(Content$1,{"aria-label":_.label,"cmdk-dialog":"",className:nt},reactExports.createElement(me,{ref:j,...st}))))}),Ie=reactExports.forwardRef((_,j)=>P$1(et=>et.filtered.count===0)?reactExports.createElement(Primitive.div,{ref:j,..._,"cmdk-empty":"",role:"presentation"}):null),Pe=reactExports.forwardRef((_,j)=>{let{progress:et,children:tt,label:rt="Loading...",...nt}=_;return reactExports.createElement(Primitive.div,{ref:j,...nt,"cmdk-loading":"",role:"progressbar","aria-valuenow":et,"aria-valuemin":0,"aria-valuemax":100,"aria-label":rt},B(_,it=>reactExports.createElement("div",{"aria-hidden":!0},it)))}),_e=Object.assign(me,{List:Ce,Item:he,Input:Se,Group:Ee,Separator:ye,Dialog:xe,Empty:Ie,Loading:Pe});function we(_,j){let et=_.nextElementSibling;for(;et;){if(et.matches(j))return et;et=et.nextElementSibling}}function De(_,j){let et=_.previousElementSibling;for(;et;){if(et.matches(j))return et;et=et.previousElementSibling}}function pe(_){let j=reactExports.useRef(_);return k$2(()=>{j.current=_}),j}var k$2=typeof window>"u"?reactExports.useEffect:reactExports.useLayoutEffect;function L(_){let j=reactExports.useRef();return j.current===void 0&&(j.current=_()),j}function P$1(_){let j=ee(),et=()=>_(j.snapshot());return reactExports.useSyncExternalStore(j.subscribe,et,et)}function ve(_,j,et,tt=[]){let rt=reactExports.useRef(),nt=K();return k$2(()=>{var it;let st=(()=>{var ot;for(let lt of et){if(typeof lt=="string")return lt.trim();if(typeof lt=="object"&&"current"in lt)return lt.current?(ot=lt.current.textContent)==null?void 0:ot.trim():rt.current}})(),at=tt.map(ot=>ot.trim());nt.value(_,st,at),(it=j.current)==null||it.setAttribute(T,st),rt.current=st}),rt}var ke=()=>{let[_,j]=reactExports.useState(),et=L(()=>new Map);return k$2(()=>{et.current.forEach(tt=>
729tt()),et.current=new Map},[_]),(tt,rt)=>{et.current.set(tt,rt),j({})}};function Me(_){let j=_.type;return typeof j=="function"?j(_.props):"render"in j?j.render(_.props):_}function B({asChild:_,children:j},et){return _&&reactExports.isValidElement(j)?reactExports.cloneElement(Me(j),{ref:j.ref},et(j.props.children)):et(j)}var Te={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const Command=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(_e,{ref:et,className:cn("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",_),...j}));Command.displayName=_e.displayName;const CommandInput=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[jsxRuntimeExports.jsx(Search,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),jsxRuntimeExports.jsx(_e.Input,{ref:et,className:cn("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",_),...j})]}));CommandInput.displayName=_e.Input.displayName;const CommandList=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(_e.List,{ref:et,className:cn("max-h-[300px] overflow-y-auto overflow-x-hidden",_),...j}));CommandList.displayName=_e.List.displayName;const CommandEmpty=reactExports.forwardRef((_,j)=>jsxRuntimeExports.jsx(_e.Empty,{ref:j,className:"py-6 text-center text-sm",..._}));CommandEmpty.displayName=_e.Empty.displayName;const CommandGroup=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(_e.Group,{ref:et,className:cn("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",_),...j}));CommandGroup.displayName=_e.Group.displayName;const CommandSeparator=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(_e.Separator,{ref:et,className:cn("-mx-1 h-px bg-border",_),...j}));CommandSeparator.displayName=_e.Separator.displayName;const CommandItem=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(_e.Item,{ref:et,className:cn("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50",_),...j}));CommandItem.displayName=_e.Item.displayName;const worldCapitals=["Abu Dhabi","Accra","Addis Ababa","Algiers","Amman","Amsterdam","Ankara","Antananarivo","Barcelona","Ashgabat","Asmara","Astana","Asunción","Athens","Baghdad","Baku","Bali","Bali near the Beach","Bali on the Beach","Bamako","Bangkok","Bangui","Banjul","Basseterre","Beijing","Beirut","Belgrade","Belmopan","Berlin","Bern","Bishkek","Bissau","Bogotá","BrasÃlia","Bratislava","Brazzaville","Bridgetown","Brussels","Bucharest","Budapest","Buenos Aires","Cairo","Canberra","Caracas","Castries","Chisinau","Colombo","Conakry","Copenhagen","Dakar","Damascus","Dhaka","Dili","Djibouti","Dodoma","Dubai","Doha","Dublin","Dushanbe","Freetown","Gaborone","Georgetown","Guatemala City","Hanoi","Harare","Havana","Helsinki","In a Beach Club in Bali","In a Beach Club in Marbella","Islamabad","Istanbul","Jakarta","Jerusalem","Kabul","Kampala","Kathmandu","Khartoum","Kigali","Kingston","Kingstown","Kinshasa","Kuala Lumpur","Kuwait City","Kyiv","La Paz","Libreville","Lilongwe","Lima","Lisbon","Ljubljana","Lomé","London","
729Luanda","Lusaka","Luxembourg","Madrid","Majuro","Malabo","Malé","Managua","Manama","Manila","Maputo","Marbella","Marbella near the Beach","Marbella on the Beach","Maseru","Mbabane","Mexico City","Minsk","Mogadishu","Monaco","Monrovia","Montevideo","Moroni","Moscow","Muscat","Nairobi","Nassau","Naypyidaw","New Delhi","Niamey","Nicosia","Nouakchott","Nuku'alofa","Oslo","Ottawa","Ouagadougou","Panama City","Paramaribo","Paris","Phnom Penh","Podgorica","Port Louis","Port Moresby","Port of Spain","Port-au-Prince","Porto-Novo","Prague","Praia","Pretoria","Pristina","Pyongyang","Quito","Rabat","Reykjavik","Riga","Riyadh","Rome","Roseau","San José","San Marino","San Salvador","Sana'a","Santiago","Santo Domingo","São Tomé","Sarajevo","Seoul","Singapore","Skopje","Sofia","Stockholm","Sucre","Suva","Taipei","Tallinn","Tashkent","Tbilisi","Tegucigalpa","Tehran","Thimphu","Tirana","Tokyo","Tripoli","Tunis","Ulaanbaatar","Vaduz","Valletta","Vatican City","Victoria","Vienna","Vientiane","Vilnius","Warsaw","Washington D.C.","Wellington","Windhoek","Yaoundé","Yerevan","Zagreb"].sort();function CitySelect({value:_,onValueChange:j}){const[et,tt]=reactExports.useState(!1),[rt,nt]=reactExports.useState(""),it=reactExports.useMemo(()=>rt?worldCapitals.filter(st=>st.toLowerCase().includes(rt.toLowerCase())):worldCapitals.slice(0,50),[rt]);return jsxRuntimeExports.jsxs(Popover,{open:et,onOpenChange:tt,children:[jsxRuntimeExports.jsx(PopoverTrigger,{asChild:!0,children:jsxRuntimeExports.jsxs(Button,{variant:"outline",role:"combobox","aria-expanded":et,className:"w-full h-12 justify-between text-base bg-card border-border hover:bg-secondary font-body",children:[jsxRuntimeExports.jsxs("span",{className:"flex items-center space-x-2",children:[jsxRuntimeExports.jsx(MapPin,{className:"w-4 h-4 text-muted-foreground"}),jsxRuntimeExports.jsx("span",{className:_?"text-foreground":"text-muted-foreground",children:_||"Search for a capital city..."})]}),jsxRuntimeExports.jsx(ChevronsUpDown,{className:"ml-2 h-4 w-4 shrink-0 opacity-50"})]})}),jsxRuntimeExports.jsx(PopoverContent,{className:"w-full p-0 bg-popover border-border z-50",align:"start",children:jsxRuntimeExports.jsxs(Command,{className:"bg-popover",children:[jsxRuntimeExports.jsx(CommandInput,{placeholder:"Search cities...",value:rt,onValueChange:nt,className:"font-body"}),jsxRuntimeExports.jsxs(CommandList,{children:[jsxRuntimeExports.jsx(CommandEmpty,{className:"py-6 text-center text-muted-foreground font-body",children:"No city found."}),jsxRuntimeExports.jsx(CommandGroup,{className:"max-h-64 overflow-auto",children:it.map(st=>jsxRuntimeExports.jsxs(CommandItem,{value:st,onSelect:()=>{j(st),tt(!1)},className:"font-body cursor-pointer",children:[jsxRuntimeExports.jsx(Check,{className:cn("mr-2 h-4 w-4",_===st?"opacity-100 text-accent":"opacity-0")}),st]},st))})]})]})})]})}function ImageUpload({value:_,onChange:j,size:et="default"}){const[tt,rt]=reactExports.useState(!1),nt=reactExports.useRef(null),it=async ht=>{const pt=wt=>new Promise((Rt,Ct)=>{const jt=new FileReader;jt.onerror=()=>Ct(new Error("Failed to read image")),jt.onload=()=>Rt(jt.result),jt.readAsDataURL(wt)}),gt=await pt(ht),ft=await new Promise((wt,Rt)=>{const Ct=new Image;Ct.onload=()=>wt(Ct),Ct.onerror=()=>Rt(new Error("Invalid image")),Ct.src=gt}),xt=Math.min(1,1600/Math.max(ft.width,ft.height)),yt=Math.max(1,Math.round(ft.width*xt)),vt=Math.max(1,Math.round(ft.height*xt)),bt=document.createElement("canvas");bt.width=yt,bt.height=vt;const Et=bt.getContext("2d");if(!Et)return gt;Et.imageSmoothingEnabled=!0,Et.imageSmoothingQuality="high",Et.drawImage(ft,0,0,yt,vt);const _t=await new Promise(wt=>bt.toBlob(Rt=>wt(Rt),"image/jpeg",.92));return _t?pt(_t):gt},st=async ht=>{if(ht.type.startsWith("image/"))try{const pt=await it(ht);j(pt)}catch{const pt=new FileReader;pt.onload=gt=>{var mt;const ft=(mt=gt.target)==null?void 0:mt.result;j(ft)},pt.readAsDataURL(ht)}},at=ht=>{ht.preventDefault(),rt(!1);const pt=ht.dataTransfer.files[0];pt&&st(pt)},ot=ht=>{ht.preventDefault(),rt(!0)},lt=()=>{rt(!1)},ct=ht=>{var gt;const pt=(gt=ht.target.files)==null?void 0:gt[0];pt&&st(pt)},ut=()=>{j(null),nt.current&&(nt.current.value="")};if(_)return jsxRuntimeExports.jsxs("div",{className:"relative rounded-xl overflow-hidden border border-white/[0.08] bg-white/[0.02] shadow-[0_4px_24px_hsl(0,0%,0%,0.4)]",children:[jsxRuntimeExports.jsx("img",{src:_,alt:"Uploaded product",className:"w-full aspect-square object-contain bg-white/[0.03]"}),jsxRuntimeExports.jsxs("div",{className:"absolute top-3 left-3 flex items-center gap-1.5 px-2.5 py-1 rounded-full bg-[hsl(142,72%,42%)]/90 backdrop-blur-sm text-primary-foreground text-xs font-medium shadow-md",children:[jsxRuntimeExports.jsx(CircleCheck,{className:"w-3.5 h-3.5"}),"Uploaded"]}),jsxRuntimeExports.jsx(Button,{onClick:ut,variant:"destructive",size:"icon",className:"absolute top-3 right-3 h-8 w-8 rounded-full shadow-md",children:jsxRuntimeExports.jsx(X$1,{className:"w-4 h-4"})}),jsxRuntimeExports.jsx("div",{className:"p-3 bg-white/[0.02] border-t border-white/[0.06]",children:jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground
729/90 text-center font-body",children:"Product image ready"})})]});const dt=et==="large";return jsxRuntimeExports.jsxs("div",{onClick:()=>{var ht;return(ht=nt.current)==null?void 0:ht.click()},onDrop:at,onDragOver:ot,onDragLeave:lt,className:` 730 relative flex flex-col items-center justify-center 731 rounded-xl cursor-pointer 732 transition-all duration-300 733 ${dt?"min-h-[280px] w-full":"aspect-square"} 734 ${tt?"border-2 border-primary/60 bg-primary/[0.08] shadow-[0_0_30px_hsl(252,85%,62%,0.15)]":"upload-dropzone-border bg-white/[0.02] hover:bg-white/[0.04]"} 735 `,children:[jsxRuntimeExports.jsx("input",{ref:nt,type:"file",accept:"image/*",onChange:ct,className:"hidden"}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col items-center space-y-4 p-8",children:[jsxRuntimeExports.jsx("div",{className:`w-16 h-16 rounded-2xl flex items-center justify-center transition-all duration-300 ${tt?"bg-primary/20 shadow-[0_0_20px_hsl(252,85%,62%,0.2)]":"bg-gradient-to-br from-primary/15 to-accent/10"}`,children:tt?jsxRuntimeExports.jsx(Image$2,{className:"w-8 h-8 text-primary"}):jsxRuntimeExports.jsx(Upload,{className:"w-8 h-8 text-primary/70"})}),jsxRuntimeExports.jsxs("div",{className:"text-center space-y-1",children:[jsxRuntimeExports.jsx("p",{className:"font-body font-medium text-foreground",children:tt?"Drop your image here":"Upload product image"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground/70",children:"Drag and drop or click to browse"})]})]}),jsxRuntimeExports.jsx("style",{children:` 736 .upload-dropzone-border { 737 border: 2px dashed transparent; 738 background-image: linear-gradient(hsl(0 0% 4%), hsl(0 0% 4%)), 739 linear-gradient(135deg, hsl(252 85% 62% / 0.4), hsl(217 91% 60% / 0.2), hsl(252 85% 62% / 0.1)); 740 background-origin: border-box; 741 background-clip: padding-box, border-box; 742 } 743 .upload-dropzone-border:hover { 744 background-image: linear-gradient(hsl(0 0% 5%), hsl(0 0% 5%)), 745 linear-gradient(135deg, hsl(252 85% 62% / 0.6), hsl(217 91% 60% / 0.35), hsl(252 85% 62% / 0.2)); 746 } 747 `})]})}function useCustomColors(){const[_,j]=reactExports.useState([]),[et,tt]=reactExports.useState(!0),rt=reactExports.useCallback(async()=>{try{const{data:{user:st}}=await supabase.auth.getUser();if(!st){j([]),tt(!1);return}const{data:at,error:ot}=await supabase.from("user_custom_colors").select("id, color, name").eq("user_id",st.id).order("created_at",{ascending:!0});if(ot){console.error("Error loading custom colors:",ot);return}j(at||[])}catch(st){console.error("Error loading custom colors:",st)}finally{tt(!1)}},[]),nt=reactExports.useCallback(async(st,at)=>{try{const{data:{user:ot}}=await supabase.auth.getUser();if(!ot)return!1;const{data:lt,error:ct}=await supabase.from("user_custom_colors").insert({user_id:ot.id,color:st,name:at}).select("id, color, name").single();return ct?ct.code==="23505"?!0:(console.error("Error adding custom color:",ct),!1):(lt&&j(ut=>[...ut,lt]),!0)}catch(ot){return console.error("Error adding custom color:",ot),!1}},[]),it=reactExports.useCallback(async st=>{try{const{error:at}=await supabase.from("user_custom_colors").delete().eq("id",st);return at?(console.error("Error deleting custom color:",at),!1):(j(ot=>ot.filter(lt=>lt.id!==st)),!0)}catch(at){return console.error("Error deleting custom color:",at),!1}},[]);return reactExports.useEffect(()=>{rt()},[rt]),{customColors:_,isLoading:et,addColor:nt,deleteColor:it,refreshColors:rt}}const PRESET_COLORS=[{color:"#000000",name:"Black"},{color:"#FFFFFF",name:"White"},{color:"#1E3A5F",name:"Navy Blue"},{color:"#722F37",name:"Bordeaux Red"},{color:"#013220",name:"Dark Green"},{color:"#87CEEB",name:"Light Blue"},{color:"#808080",name:"Grey"},{color:"#8B4513",name:"Brown"},{color:"#FFC0CB",name:"Pink"},{color:"#FFD700",name:"Gold"},{color:"#FF6B35",name:"Orange"},{color:"#9370DB",name:"Purple"}];function ColorVariantSelector({variants:_,onVariantsChange:j,baseColor:et}){const{customColors:tt,addColor:rt,deleteColor:nt}=useCustomColors(),[it,st]=reactExports.useState(!1),[at,ot]=reactExports.useState("#000000"),[lt,ct]=reactExports.useState("#000000"),[ut,dt]=reactExports.useState(""),ht=xt=>{const yt=xt.startsWith("#")?xt:`#${xt}`;/^#[0-9A-Fa-f]{6}$/.test(yt)&&(ot(yt),ct(yt))},pt=(xt,yt)=>{const vt={id:`variant-${Date.now()}`,color:xt,name:yt,isBase:!1};j([..._,vt]),st(!1),dt("")},gt=xt=>{j(_.filter(yt=>yt.id!==xt&&!yt.isBase))},ft=async()=>{ut.trim()&&(await rt(at,ut.trim()),pt(at,ut.trim()))},mt=_.filter(xt=>!xt.isBase).length;return jsxRuntimeExports.jsxs("div",{className:"space-y-3",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-base font-medium",children:"Product Variants"}),jsxRuntimeExports.jsxs("span",{className:"text-sm text-muted-foreground",children:[mt+1,"
747color",mt+1!==1?"s":""," selected"]})]}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground",children:"Add color variants to generate images for each color. Your uploaded product counts as the base variant."}),jsxRuntimeExports.jsxs("div",{className:"flex flex-wrap gap-3 p-4 rounded-xl bg-card border border-border",children:[jsxRuntimeExports.jsx("div",{className:"relative group",children:jsxRuntimeExports.jsx("div",{className:"w-12 h-12 rounded-full border-2 border-primary flex items-center justify-center shadow-sm",style:{backgroundColor:et||"#E5E5E5"},title:"Base color (uploaded product)",children:jsxRuntimeExports.jsx("span",{className:"text-[10px] font-bold text-primary-foreground drop-shadow-sm",children:"BASE"})})}),_.filter(xt=>!xt.isBase).map(xt=>jsxRuntimeExports.jsxs("div",{className:"relative group",children:[jsxRuntimeExports.jsx("div",{className:"w-12 h-12 rounded-full border-2 border-border shadow-sm transition-all hover:border-primary",style:{backgroundColor:xt.color},title:xt.name}),jsxRuntimeExports.jsx("button",{onClick:()=>gt(xt.id),className:"absolute -top-1 -right-1 w-5 h-5 rounded-full bg-destructive text-destructive-foreground flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity",title:"Remove variant",children:jsxRuntimeExports.jsx(X$1,{className:"w-3 h-3"})}),jsxRuntimeExports.jsx("span",{className:"absolute -bottom-5 left-1/2 -translate-x-1/2 text-[10px] text-muted-foreground whitespace-nowrap max-w-[60px] truncate",children:xt.name})]},xt.id)),jsxRuntimeExports.jsxs(Popover,{open:it,onOpenChange:st,children:[jsxRuntimeExports.jsx(PopoverTrigger,{asChild:!0,children:jsxRuntimeExports.jsx("button",{className:"w-12 h-12 rounded-full border-2 border-dashed border-muted-foreground/40 flex items-center justify-center hover:border-primary hover:bg-primary/5 transition-all",title:"Add color variant",children:jsxRuntimeExports.jsx(Plus,{className:"w-5 h-5 text-muted-foreground"})})}),jsxRuntimeExports.jsx(PopoverContent,{className:"w-72",align:"start",children:jsxRuntimeExports.jsxs("div",{className:"space-y-4",children:[jsxRuntimeExports.jsx("h4",{className:"font-medium text-sm",children:"Add Color Variant"}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs text-muted-foreground",children:"Preset Colors"}),jsxRuntimeExports.jsx("div",{className:"grid grid-cols-6 gap-2",children:PRESET_COLORS.map(xt=>jsxRuntimeExports.jsx("button",{onClick:()=>pt(xt.color,xt.name),className:"w-8 h-8 rounded-full border border-border hover:scale-110 transition-transform",style:{backgroundColor:xt.color},title:xt.name},xt.color))})]}),tt.length>0&&jsxRuntimeExports.jsxs("div",{className:"space-y-2 pt-2 border-t",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs text-muted-foreground",children:"Your Saved Colors"}),jsxRuntimeExports.jsx("div",{className:"grid grid-cols-6 gap-2",children:tt.map(xt=>jsxRuntimeExports.jsxs("div",{className:"relative group",children:[jsxRuntimeExports.jsx("button",{onClick:()=>pt(xt.color,xt.name),className:"w-8 h-8 rounded-full border border-border hover:scale-110 transition-transform",style:{backgroundColor:xt.color},title:xt.name}),jsxRuntimeExports.jsx("button",{onClick:yt=>{yt.stopPropagation(),nt(xt.id)},className:"absolute -top-1 -right-1 w-4 h-4 rounded-full bg-destructive text-destructive-foreground flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity",title:"Delete saved color",children:jsxRuntimeExports.jsx(Trash2,{className:"w-2.5 h-2.5"})})]},xt.id))})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2 pt-2 border-t",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs text-muted-foreground",children:"Custom Color"}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Input,{value:lt,onChange:xt=>{ct(xt.target.value);const yt=xt.target.value.startsWith("#")?xt.target.value:`#${xt.target.value}`;/^#[0-9A-Fa-f]{6}$/.test(yt)&&ot(yt)},onBlur:xt=>
vendor: 25,859 bytes, line 747
747ht(xt.target.value),onKeyDown:xt=>{xt.key==="Enter"&&ht(xt.target.value)},placeholder:"#000000",className:"w-28 h-10 font-mono text-sm",maxLength:7}),jsxRuntimeExports.jsx("label",{className:"w-10 h-10 rounded-lg border border-border cursor-pointer shrink-0 block",style:{backgroundColor:at},title:"Pick color",children:jsxRuntimeExports.jsx("input",{type:"color",value:at,onChange:xt=>{ot(xt.target.value),ct(xt.target.value)},className:"sr-only"})}),jsxRuntimeExports.jsx(Input,{placeholder:"Name...",value:ut,onChange:xt=>dt(xt.target.value),className:"flex-1 h-10",onKeyDown:xt=>{xt.key==="Enter"&&ft()}})]}),jsxRuntimeExports.jsx(Button,{onClick:ft,disabled:!ut.trim(),size:"sm",className:"w-full",children:"Add Custom Color"})]})]})})]})]})]})}var OPEN_KEYS=[" ","Enter","ArrowUp","ArrowDown"],SELECTION_KEYS=[" ","Enter"],SELECT_NAME="Select",[Collection,useCollection,createCollectionScope]=createCollection(SELECT_NAME),[createSelectContext,createSelectScope]=createContextScope(SELECT_NAME,[createCollectionScope,createPopperScope]),usePopperScope=createPopperScope(),[SelectProvider,useSelectContext]=createSelectContext(SELECT_NAME),[SelectNativeOptionsProvider,useSelectNativeOptionsContext]=createSelectContext(SELECT_NAME),Select$1=_=>{const{__scopeSelect:j,children:et,open:tt,defaultOpen:rt,onOpenChange:nt,value:it,defaultValue:st,onValueChange:at,dir:ot,name:lt,autoComplete:ct,disabled:ut,required:dt,form:ht}=_,pt=usePopperScope(j),[gt,ft]=reactExports.useState(null),[mt,xt]=reactExports.useState(null),[yt,vt]=reactExports.useState(!1),bt=useDirection(ot),[Et,_t]=useControllableState({prop:tt,defaultProp:rt??!1,onChange:nt,caller:SELECT_NAME}),[wt,Rt]=useControllableState({prop:it,defaultProp:st,onChange:at,caller:SELECT_NAME}),Ct=reactExports.useRef(null),jt=gt?ht||!!gt.closest("form"):!0,[Dt,It]=reactExports.useState(new Set),Ot=Array.from(Dt).map(At=>At.props.value).join(";");return jsxRuntimeExports.jsx(Root2$6,{...pt,children:jsxRuntimeExports.jsxs(SelectProvider,{required:dt,scope:j,trigger:gt,onTriggerChange:ft,valueNode:mt,onValueNodeChange:xt,valueNodeHasChildren:yt,onValueNodeHasChildrenChange:vt,contentId:useId(),value:wt,onValueChange:Rt,open:Et,onOpenChange:_t,dir:bt,triggerPointerDownPosRef:Ct,disabled:ut,children:[jsxRuntimeExports.jsx(Collection.Provider,{scope:j,children:jsxRuntimeExports.jsx(SelectNativeOptionsProvider,{scope:_.__scopeSelect,onNativeOptionAdd:reactExports.useCallback(At=>{It(Tt=>new Set(Tt).add(At))},[]),onNativeOptionRemove:reactExports.useCallback(At=>{It(Tt=>{const kt=new Set(Tt);return kt.delete(At),kt})},[]),children:et})}),jt?jsxRuntimeExports.jsxs(SelectBubbleInput,{"aria-hidden":!0,required:dt,tabIndex:-1,name:lt,autoComplete:ct,value:wt,onChange:At=>Rt(At.target.value),disabled:ut,form:ht,children:[wt===void 0?jsxRuntimeExports.jsx("option",{value:""}):null,Array.from(Dt)]},Ot):null]})})};Select$1.displayName=SELECT_NAME;var TRIGGER_NAME$3="SelectTrigger",SelectTrigger$1=reactExports.forwardRef((_,j)=>{const{__scopeSelect:et,disabled:tt=!1,...rt}=_,nt=usePopperScope(et),it=useSelectContext(TRIGGER_NAME$3,et),st=it.disabled||tt,at=useComposedRefs$1(j,it.onTriggerChange),ot=useCollection(et),lt=reactExports.useRef("touch"),[ct,ut,dt]=useTypeaheadSearch(pt=>{const gt=ot().filter(xt=>!xt.disabled),ft=gt.find(xt=>xt.value===it.value),mt=findNextItem(gt,pt,ft);mt!==void 0&&it.onValueChange(mt.value)}),ht=pt=>{st||(it.onOpenChange(!0),dt()),pt&&(it.triggerPointerDownPosRef.current={x:Math.round(pt.pageX),y:Math.round(pt.pageY)})};return jsxRuntimeExports.jsx(Anchor,{asChild:!0,...nt,children:jsxRuntimeExports.jsx(Primitive.button,{type:"button",role:"combobox","aria-controls":it.contentId,"aria-expanded":it.open,"aria-required":it.required,"aria-autocomplete":"none",dir:it.dir,"data-state":it.open?"open":"closed",disabled:st,"data-disabled":st?"":void 0,"data-placeholder":shouldShowPlaceholder(it.value)?"":void 0,...rt,ref:at,onClick:composeEventHandlers(rt.onClick,pt=>{pt.currentTarget.focus(),lt.current!=="mouse"&&ht(pt)}),onPointerDown:composeEventHandlers(rt.onPointerDown,pt=>{lt.current=pt.pointerType;const gt=pt.target;gt.hasPointerCapture(pt.pointerId)&>.releasePointerCapture(pt.pointerId),pt.button===0&&pt.ctrlKey===!1&&pt.pointerType==="mouse"&&(ht(pt),pt.preventDefault())}),onKeyDown:composeEventHandlers(rt.onKeyDown,pt=>{const gt=ct.current!=="";!(pt.ctrlKey||pt.altKey||pt.metaKey)&&pt.key.length===1&&ut(pt.key),!(gt&&pt.key===" ")&&OPEN_KEYS.includes(pt.key)&&(ht(),pt.preventDefault())})})})});SelectTrigger$1.displayName=TRIGGER_NAME$3;var VALUE_NAME="SelectValue",SelectValue$1=reactExports.forwardRef((_,j)=>{const{__scopeSelect:et,className:tt,style:rt,children:nt,placeholder:it="",...st}=_,at=useSelectContext(VALUE_NAME,et),{onValueNodeHasChildrenChange:ot}=at,lt=nt!==void 0,ct=useComposedRefs$1(j,at.onValueNodeChange);return useLayoutEffect2(()=>{ot(lt)},[ot,lt]),jsxRuntimeExports.jsx(Primitive.span,{...st,ref:ct,style:{pointerEvents:"none"},children:shouldShowPlaceholder(at.value)?jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:it}):nt})});SelectValue$1.displayName=VALUE_NAME;var ICON_NAME="SelectIcon",SelectIcon=reactExports.forwardRef((_,j)=>{const{__scopeSelect:et,children:tt,...rt}=_;return jsxRuntimeExports.jsx(Primitive.span,{"aria-hidden":!0,...rt,ref:j,children:tt||"â¼"})});SelectIcon.displayName=ICON_NAME;var PORTAL_NAME$1="SelectPortal",SelectPortal=_=>jsxRuntimeExports.jsx(Portal$4,{asChild:!0,..._});SelectPortal.displayName=PORTAL_NAME$1;var CONTENT_NAME$3="SelectContent",SelectContent$1=reactExports.forwardRef((_,j)=>{const et=useSelectContext(CONTENT_NAME$3,_.__scopeSelect),[tt,rt]=reactExports.useState();if(useLayoutEffect2(()=>{rt(new DocumentFragment)},[]),!et.open){const nt=tt;return nt?reactDomExports.createPortal(jsxRuntimeExports.jsx(SelectContentProvider,{scope:_.__scopeSelect,children:jsxRuntimeExports.jsx(Collection.Slot,{scope:_.__scopeSelect,children:jsxRuntimeExports.jsx("div",{children:_.children})})}),nt):null}return jsxRuntimeExports.jsx(SelectContentImpl,{..._,ref:j})});SelectContent$1.displayName=CONTENT_NAME$3;var CONTENT_MARGIN=10,[SelectContentProvider,useSelectContentContext]=createSelectContext(CONTENT_NAME$3),CONTENT_IMPL_NAME="SelectContentImpl",Slot=createSlot("SelectContent.RemoveScroll"),SelectContentImpl=reactExports.forwardRef((_,j)=>{const{__scopeSelect:et,position:tt="item-aligned",onCloseAutoFocus:rt,onEscapeKeyDown:nt,onPointerDownOutside:it,side:st,sideOffset:at,align:ot,alignOffset:lt,arrowPadding:ct,collisionBoundary:ut,collisionPadding:dt,sticky:ht,hideWhenDetached:pt,avoidCollisions:gt,...ft}=_,mt=useSelectContext(CONTENT_NAME$3,et),[xt,yt]=reactExports.useState(null),[vt,bt]=reactExports.useState(null),Et=useComposedRefs$1(j,er=>yt(er)),[_t,wt]=reactExports.useState(null),[Rt,Ct]=reactExports.useState(null),jt=useCollection(et),[Dt,It]=reactExports.useState(!1),Ot=reactExports.useRef(!1);reactExports.useEffect(()=>{if(xt)return hideOthers(xt)},[xt]),useFocusGuards();const At=reactExports.useCallback(er=>{const[ir,...Jt]=jt().map(Bt=>Bt.ref.current),[Gt]=Jt.slice(-1),Kt=document.activeElement;for(const Bt of er)if(Bt===Kt||(Bt==null||Bt.scrollIntoView({block:"nearest"}),Bt===ir&&vt&&(vt.scrollTop=0),Bt===Gt&&vt&&(vt.scrollTop=vt.scrollHeight),Bt==null||Bt.focus(),document.activeElement!==Kt))return},[jt,vt]),Tt=reactExports.useCallback(()=>At([_t,xt]),[At,_t,xt]);reactExports.useEffect(()=>{Dt&&Tt()},[Dt,Tt]);const{onOpenChange:kt,triggerPointerDownPosRef:St}=mt;reactExports.useEffect(()=>{if(xt){let er={x:0,y:0};const ir=Gt=>{var Kt,Bt;er={x:Math.abs(Math.round(Gt.pageX)-(((Kt=St.current)==null?void 0:Kt.x)??0)),y:Math.abs(Math.round(Gt.pageY)-(((Bt=St.current)==null?void 0:Bt.y)??0))}},Jt=Gt=>{er.x<=10&&er.y<=10?Gt.preventDefault():xt.contains(Gt.target)||kt(!1),document.removeEventListener("pointermove",ir),St.current=null};return St.current!==null&&(document.addEventListener("pointermove",ir),document.addEventListener("pointerup",Jt,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ir),document.removeEventListener("pointerup",Jt,{capture:!0})}}},[xt,kt,St]),reactExports.useEffect(()=>{const er=()=>kt(!1);return window.addEventListener("blur",er),window.addEventListener("resize",er),()=>{window.removeEventListener("blur",er),window.removeEventListener("resize",er)}},[kt]);const[Pt,$t]=useTypeaheadSearch(er=>{const ir=jt().filter(Kt=>!Kt.disabled),Jt=ir.find(Kt=>Kt.ref.current===document.activeElement),Gt=findNextItem(ir,er,Jt);Gt&&setTimeout(()=>Gt.ref.current.focus())}),Nt=reactExports.useCallback((er,ir,Jt)=>{const Gt=!Ot.current&&!Jt;(mt.value!==void 0&&mt.value===ir||Gt)&&(wt(er),Gt&&(Ot.current=!0))},[mt.value]),Mt=reactExports.useCallback(()=>xt==null?void 0:xt.focus(),[xt]),Vt=reactExports.useCallback((er,ir,Jt)=>{const Gt=!Ot.current&&!Jt;(mt.value!==void 0&&mt.value===ir||Gt)&&Ct(er)},[mt.value]),Ht=tt==="popper"?SelectPopperPosition:SelectItemAlignedPosition,Qt=Ht===SelectPopperPosition?{side:st,sideOffset:at,align:ot,alignOffset:lt,arrowPadding:ct,collisionBoundary:ut,collisionPadding:dt,sticky:ht,hideWhenDetached:pt,avoidCollisions:gt}:{};return jsxRuntimeExports.jsx(SelectContentProvider,{scope:et,content:xt,viewport:vt,onViewportChange:bt,itemRefCallback:Nt,selectedItem:_t,onItemLeave:Mt,itemTextRefCallback:Vt,focusSelectedItem:Tt,selectedItemText:Rt,position:tt,isPositioned:Dt,searchRef:Pt,children:jsxRuntimeExports.jsx(ReactRemoveScroll,{as:Slot,allowPinchZoom:!0,children:jsxRuntimeExports.jsx(FocusScope,{asChild:!0,trapped:mt.open,onMountAutoFocus:er=>{er.preventDefault()},onUnmountAutoFocus:composeEventHandlers(rt,er=>{var ir;(ir=mt.trigger)==null||ir.focus({preventScroll:!0}),er.preventDefault()}),children:jsxRuntimeExports.jsx(DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:nt,onPointerDownOutside:it,onFocusOutside:er=>er.preventDefault(),onDismiss:()=>mt.onOpenChange(!1),children:jsxRuntimeExports.jsx(Ht,{role:"listbox",id:mt.contentId,"data-state":mt.open?"open":"closed",dir:mt.dir,onContextMenu:er=>er.preventDefault(),...ft,...Qt,onPlaced:()=>It(!0),ref:Et,style:{display:"flex",flexDirection:"column",outline:"none",...ft.style},onKeyDown:composeEventHandlers(ft.onKeyDown,er=>{const ir=er.ctrlKey||er.altKey||er.metaKey;if(er.key==="Tab"&&er.preventDefault(),!ir&&er.key.length===1&&$t(er.key),["ArrowUp","ArrowDown","Home","End"].includes(er.key)){let Gt=jt().filter(Kt=>!Kt.disabled).map(Kt=>Kt.ref.current);if(["ArrowUp","End"].includes(er.key)&&(Gt=Gt.slice().reverse()),["ArrowUp","ArrowDown"].includes(er.key)){const Kt=er.target,Bt=Gt.indexOf(Kt);Gt=Gt.slice(Bt+1)}setTimeout(()=>At(Gt)),er.preventDefault()}})})})})})})});SelectContentImpl.displayName=CONTENT_IMPL_NAME;var ITEM_ALIGNED_POSITION_NAME="SelectItemAlignedPosition",SelectItemAlignedPosition=reactExports.forwardRef((_,j)=>{const{__scopeSelect:et,onPlaced:tt,...rt}=_,nt=useSelectContext(CONTENT_NAME$3,et),it=useSelectContentContext(CONTENT_NAME$3,et),[st,at]=reactExports.useState(null),[ot,lt]=reactExports.useState(null),ct=useComposedRefs$1(j,Et=>lt(Et)),ut=useCollection(et),dt=reactExports.useRef(!1),ht=reactExports.useRef(!0),{viewport:pt,selectedItem:gt,selectedItemText:ft,focusSelectedItem:mt}=it,xt=reactExports.useCallback(()=>{if(nt.trigger&&nt.valueNode&&st&&ot&&pt&>&&ft){const Et=nt.trigger.getBoundingClientRect(),_t=ot.getBoundingClientRect(),wt=nt.valueNode.getBoundingClientRect(),Rt=ft.getBoundingClientRect();if(nt.dir!=="rtl"){const Kt=Rt.left-_t.left,Bt=wt.left-Kt,Zt=Et.left-Bt,qt=Et.width+Zt,lr=Math.max(qt,_t.width),ar=window.innerWidth-CONTENT_MARGIN,Yt=clamp(Bt,[CONTENT_MARGIN,Math.max(CONTENT_MARGIN,ar-lr)]);st.style.minWidth=qt+"px",st.style.left=Yt+"px"}else{const Kt=_t.right-Rt.right,Bt=window.innerWidth-wt.right-Kt,Zt=window.innerWidth-Et.right-Bt,qt=Et.width+Zt,lr=Math.max(qt,_t.width),ar=window.innerWidth-CONTENT_MARGIN,Yt=clamp(Bt,[CONTENT_MARGIN,Math.max(CONTENT_MARGIN,ar-lr)]);st.style.minWidth=qt+"px",st.style.right=Yt+"px"}const Ct=ut(),jt=window.innerHeight-CONTENT_MARGIN*2,Dt=pt.scrollHeight,It=window.getComputedStyle(ot),Ot=parseInt(It.borderTopWidth,10),At=parseInt(It.paddingTop,10),Tt=parseInt(It.borderBottomWidth,10),kt=parseInt(It.paddingBottom,10),St=Ot+At+Dt+kt+Tt,Pt=Math.min(gt.offsetHeight*5,St),$t=window.getComputedStyle(pt),Nt=parseInt($t.paddingTop,10),Mt=parseInt($t.paddingBottom,10),Vt=Et.top+Et.height/2-CONTENT_MARGIN,Ht=jt-Vt,Qt=gt.offsetHeight/2,er=gt.offsetTop+Qt,ir=Ot+At+er,Jt=St-ir;if(ir<=Vt){const Kt=Ct.length>0&>===Ct[Ct.length-1].ref.current;st.style.bottom="0px";const Bt=ot.clientHeight-pt.offsetTop-pt.offsetHeight,Zt=Math.max(Ht,Qt+(Kt?Mt:0)+Bt+Tt),qt=ir+Zt;st.style.height=qt+"px"}else{const Kt=Ct.length>0&>===Ct[0].ref.current;st.style.top="0px";const Zt=Math.max(Vt,Ot+pt.offsetTop+(Kt?Nt:0)+Qt)+Jt;st.style.height=Zt+"px",pt.scrollTop=ir-Vt+pt.offsetTop}st.style.margin=`${CONTENT_MARGIN}px 0`,st.style.minHeight=Pt+"px",st.style.maxHeight=jt+"px",tt==null||tt(),requestAnimationFrame(()=>dt.current=!0)}},[ut,nt.trigger,nt.valueNode,st,ot,pt,gt,ft,nt.dir,tt]);useLayoutEffect2(()=>xt(),[xt]);const[yt,vt]=reactExports.useState();useLayoutEffect2(()=>{ot&&vt(window.getComputedStyle(ot).zIndex)},[ot]);const bt=reactExports.useCallback(Et=>{Et&&ht.current===!0&&(xt(),mt==null||mt(),ht.current=!1)},[xt,mt]);return jsxRuntimeExports.jsx(SelectViewportProvider,{scope:et,contentWrapper:st,shouldExpandOnScrollRef:dt,onScrollButtonChange:bt,children:jsxRuntimeExports.jsx("div",{ref:at,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:yt},children:jsxRuntimeExports.jsx(Primitive.div,{...rt,ref:ct,style:{boxSizing:"border-box",maxHeight:"100%",...rt.style}})})})});SelectItemAlignedPosition.displayName=ITEM_ALIGNED_POSITION_NAME;var POPPER_POSITION_NAME="SelectPopperPosition",SelectPopperPosition=reactExports.forwardRef((_,j)=>{const{__scopeSelect:et,align:tt="start",collisionPadding:rt=CONTENT_MARGIN,...nt}=_,it=usePopperScope(et);return jsxRuntimeExports.jsx(Content$2,{...it,...nt,ref:j,align:tt,collisionPadding:rt,style:{boxSizing:"border-box",...nt.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});SelectPopperPosition.displayName=POPPER_POSITION_NAME;var[SelectViewportProvider,useSelectViewportContext]=createSelectContext(CONTENT_NAME$3,{}),VIEWPORT_NAME="SelectViewport",SelectViewport=reactExports.forwardRef((_,j)=>{const{__scopeSelect:et,nonce:tt,...rt}=_,nt=useSelectContentContext(VIEWPORT_NAME,et),it=useSelectViewportContext(VIEWPORT_NAME,et),st=useComposedRefs$1(j,nt.onViewportChange),at=reactExports.useRef(0);return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:tt}),jsxRuntimeExports.jsx(Collection.Slot,{scope:et,children:jsxRuntimeExports.jsx(Primitive.div,{"data-radix-select-viewport":"",role:"presentation",...rt,ref:st,style:{position:"relative",flex:1,overflow:"hidden auto",...rt.style},onScroll:composeEventHandlers(rt.onScroll,ot=>{const lt=ot.currentTarget,{contentWrapper:ct,shouldExpandOnScrollRef:ut}=it;if(ut!=null&&ut.current&&ct){const dt=Math.abs(at.current-lt.scrollTop);if(dt>0){const ht=window.innerHeight-CONTENT_MARGIN*2,pt=parseFloat(ct.style.minHeight),gt=parseFloat(ct.style.height),ft=Math.max(pt,gt);if(ft<ht){const mt=ft+dt,xt=Math.min(ht,mt),yt=mt-xt;ct.style.height=xt+"px",ct.style.bottom==="0px"&&(lt.scrollTop=yt>0?yt:0,ct.style.justifyContent="flex-end")}}}at.current=lt.scrollTop})})})]})});SelectViewport.displayName=VIEWPORT_NAME;var GROUP_NAME="SelectGroup",[SelectGroupContextProvider,useSelectGroupContext]=createSelectContext(GROUP_NAME),SelectGroup=reactExports.forwardRef((_,j)=>{const{__scopeSelect:et,...tt}=_,rt=useId();return jsxRuntimeExports.jsx(SelectGroupContextProvider,{scope:et,id:rt,children:jsxRuntimeExports.jsx(Primitive.div,{role:"group","aria-labelledby":rt,...tt,ref:j})})});SelectGroup.displayName=GROUP_NAME;var LABEL_NAME="SelectLabel",SelectLabel$1=reactExports.forwardRef((_,j)=>{const{__scopeSelect:et,...tt}=_,rt=useSelectGroupContext(LABEL_NAME,et);return jsxRuntimeExports.jsx(Primitive.div,{id:rt.id,...tt,ref:j})});SelectLabel$1.displayName=LABEL_NAME;var ITEM_NAME="SelectItem",[SelectItemContextProvider,useSelectItemContext]=createSelectContext(ITEM_NAME),SelectItem$1=reactExports.forwardRef((_,j)=>{const{__scopeSelect:et,value:tt,disabled:rt=!1,textValue:nt,...it}=_,st=useSelectContext(ITEM_NAME,et),at=useSelectContentContext(ITEM_NAME,et),ot=st.value===tt,[lt,ct]=reactExports.useState(nt??""),[ut,dt]=reactExports.useState(!1),ht=useComposedRefs$1(j,mt=>{var xt;return(xt=at.itemRefCallback)==null?void 0:xt.call(at,mt,tt,rt)}),pt=useId(),gt=reactExports.useRef("touch"),ft=()=>{rt||(st.onValueChange(tt),st.onOpenChange(!1))};if(tt==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return jsxRuntimeExports.jsx(SelectItemContextProvider,{scope:et,value:tt,disabled:rt,textId:pt,isSelected:ot,onItemTextChange:reactExports.useCallback(mt=>{ct(xt=>xt||((mt==null?void 0:mt.textContent)??"").trim())},[]),children:jsxRuntimeExports.jsx(Collection.ItemSlot,{scope:et,value:tt,disabled:rt,textValue:lt,children:jsxRuntimeExports.jsx(Primitive.div,{role:"option","aria-labelledby":pt,"data-highlighted":ut?"":void 0,"aria-selected":ot&&ut,"data-state":ot?"checked":"unchecked","aria-disabled":rt||void 0,"data-disabled":rt?"":void 0,tabIndex:rt?void 0:-1,...it,ref:ht,onFocus:composeEventHandlers(it.onFocus,()=>dt(!0)),onBlur:composeEventHandlers(it.onBlur,()=>dt(!1)),onClick:composeEventHandlers(it.onClick,()=>{gt.current!=="mouse"&&ft()}),onPointerUp:composeEventHandlers(it.onPointerUp,()=>{gt.current==="mouse"&&ft()}),onPointerDown:composeEventHandlers(it.onPointerDown,mt=>{gt.current=mt.pointerType}),onPointerMove:composeEventHandlers(it.onPointerMove,mt=>{var xt;gt.current=mt.pointerType,rt?(xt=at.onItemLeave)==null||xt.call(at):gt.current==="mouse"&&mt.currentTarget.focus({preventScroll:!0})}),onPointerLeave:composeEventHandlers(it.onPointerLeave,mt=>{var xt;mt.currentTarget===document.activeElement&&((xt=at.onItemLeave)==null||xt.call(at))}),onKeyDown:composeEventHandlers(it.onKeyDown,mt=>{var yt;((yt=at.searchRef)==null?void 0:yt.current)!==""&&mt.key===" "||(SELECTION_KEYS.includes(mt.key)&&ft(),mt.key===" "&&mt.preventDefault())})})})})});SelectItem$1.displayName=ITEM_NAME;var ITEM_TEXT_NAME="SelectItemText",SelectItemText=reactExports.forwardRef((_,j)=>{const{__scopeSelect:et,className:tt,style:rt,...nt}=_,it=useSelectContext(ITEM_TEXT_NAME,et),st=useSelectContentContext(ITEM_TEXT_NAME,et),at=useSelectItemContext(ITEM_TEXT_NAME,et),ot=useSelectNativeOptionsContext(ITEM_TEXT_NAME,et),[lt,ct]=reactExports.useState(null),ut=useComposedRefs$1(j,ft=>ct(ft),at.onItemTextChange,ft=>{var mt;return(mt=st.itemTextRefCallback)==null?void 0:mt.call(st,ft,at.value,at.disabled)}),dt=lt==null?void 0:lt.textContent,ht=reactExports.useMemo(()=>jsxRuntimeExports.jsx("option",{value:at.value,disabled:at.disabled,children:dt},at.value),[at.disabled,at.value,dt]),{onNativeOptionAdd:pt,onNativeOptionRemove:gt}=ot;return useLayoutEffect2(()=>(pt(ht),()=>gt(ht)),[pt,gt,ht]),jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Primitive.span,{id:at.textId,...nt,ref:ut}),at.isSelected&&it.valueNode&&!it.valueNodeHasChildren?reactDomExports.createPortal(nt.children,it.valueNode):null]})});SelectItemText.displayName=ITEM_TEXT_NAME;var ITEM_INDICATOR_NAME="SelectItemIndicator",SelectItemIndicator=reactExports.forwardRef((_,j)=>{const{__scopeSelect:et,...tt}=_;return useSelectItemContext(ITEM_INDICATOR_NAME,et).isSelected?jsxRuntimeExports.jsx(Primitive.span,{"aria-hidden":!0,...tt,ref:j}):null});SelectItemIndicator.displayName=ITEM_INDICATOR_NAME;var SCROLL_UP_BUTTON_NAME="SelectScrollUpButton",SelectScrollUpButton$1=reactExports.forwardRef((_,j)=>{const et=useSelectContentContext(SCROLL_UP_BUTTON_NAME,_.__scopeSelect),tt=useSelectViewportContext(SCROLL_UP_BUTTON_NAME,_.__scopeSelect),[rt,nt]=reactExports.useState(!1),it=useComposedRefs$1(j,tt.onScrollButtonChange);return useLayoutEffect2(()=>{if(et.viewport&&et.isPositioned){let st=function(){const ot=at.scrollTop>0;nt(ot)};const at=et.viewport;return st(),at.addEventListener("scroll",st),()=>at.removeEventListener("scroll",st)}},[et.viewport,et.isPositioned]),rt?jsxRuntimeExports.jsx(SelectScrollButtonImpl,{..._,ref:it,onAutoScroll:()=>{const{viewport:st,selectedItem:at}=et;st&&at&&(st.scrollTop=st.scrollTop-at.offsetHeight)}}):null});SelectScrollUpButton$1.displayName=SCROLL_UP_BUTTON_NAME;var SCROLL_DOWN_BUTTON_NAME="SelectScrollDownButton",SelectScrollDownButton$1=reactExports.forwardRef((_,j)=>{const et=useSelectContentContext(SCROLL_DOWN_BUTTON_NAME,_.__scopeSelect),tt=useSelectViewportContext(SCROLL_DOWN_BUTTON_NAME,_.__scopeSelect),[rt,nt]=reactExports.useState(!1),it=useComposedRefs$1(j,tt.onScrollButtonChange);return useLayoutEffect2(()=>{if(et.viewport&&et.isPositioned){let st=function(){const ot=at.scrollHeight-at.clientHeight,lt=Math.ceil(at.scrollTop)<ot;nt(lt)};const at=et.viewport;return st(),at.addEventListener("scroll",st),()=>at.removeEventListener("scroll",st)}},[et.viewport,et.isPositioned]),rt?jsxRuntimeExports.jsx(SelectScrollButtonImpl,{..._,ref:it,onAutoScroll:()=>{const{viewport:st,selectedItem:at}=et;st&&at&&(st.scrollTop=st.scrollTop+at.offsetHeight)}}):null});SelectScrollDownButton$1.displayName=SCROLL_DOWN_BUTTON_NAME;var SelectScrollButtonImpl=reactExports.forwardRef((_,j)=>{const{__scopeSelect:et,onAutoScroll:tt,...rt}=_,nt=useSelectContentContext("SelectScrollButton",et),it=reactExports.useRef(null),st=useCollection(et),at=reactExports.useCallback(()=>{it.current!==null&&(window.clearInterval(it.current),it.current=null)},[]);return reactExports.useEffect(()=>()=>at(),[at]),useLayoutEffect2(()=>{var lt;const ot=st().find(ct=>ct.ref.current===document.activeElement);(lt=ot==null?void 0:ot.ref.current)==null||lt.scrollIntoView({block:"nearest"})},[st]),jsxRuntimeExports.jsx(Primitive.div,{"aria-hidden":!0,...rt,ref:j,style:{flexShrink:0,...rt.style},onPointerDown:composeEventHandlers(rt.onPointerDown,()=>{it.current===null&&(it.current=window.setInterval(tt,50))}),onPointerMove:composeEventHandlers(rt.onPointerMove,()=>{var ot;(ot=nt.onItemLeave)==null||ot.call(nt),it.current===null&&(it.current=window.setInterval(tt,50))}),onPointerLeave:composeEventHandlers(rt.onPointerLeave,()=>{at()})})}),SEPARATOR_NAME="SelectSeparator",SelectSeparator$1=reactExports.forwardRef((_,j)=>{const{__scopeSelect:et,...tt}=_;return jsxRuntimeExports.jsx(Primitive.div,{"aria-hidden":!0,...tt,ref:j})});SelectSeparator$1.displayName=SEPARATOR_NAME;var ARROW_NAME="SelectArrow",SelectArrow=reactExports.forwardRef((_,j)=>{const{__scopeSelect:et,...tt}=_,rt=usePopperScope(et),nt=useSelectContext(ARROW_NAME,et),it=useSelectContentContext(ARROW_NAME,et);return nt.open&&it.position==="popper"?jsxRuntimeExports.jsx(Arrow,{...rt,...tt,ref:j}):null});SelectArrow.displayName=ARROW_NAME;var BUBBLE_INPUT_NAME$1="SelectBubbleInput",SelectBubbleInput=reactExports.forwardRef(({__scopeSelect:_,value:j,...et},tt)=>{const rt=reactExports.useRef(null),nt=useComposedRefs$1(tt,rt),it=usePrevious(j);return reactExports.useEffect(()=>{const st=rt.current;if(!st)return;const at=window.HTMLSelectElement.prototype,lt=Object.getOwnPropertyDescriptor(at,"value").set;if(it!==j&<){const ct=new Event("change",{bubbles:!0});lt.call(st,j),st.dispatchEvent(ct)}},[it,j]),jsxRuntimeExports.jsx(Primitive.select,{...et,style:{...VISUALLY_HIDDEN_STYLES,...et.style},ref:nt,defaultValue:j})});SelectBubbleInput.displayName=BUBBLE_INPUT_NAME$1;function shouldShowPlaceholder(_){return _===""||_===void 0}function useTypeaheadSearch(_){const j=useCallbackRef$1(_),et=reactExports.useRef(""),tt=reactExports.useRef(0),rt=reactExports.useCallback(it=>{const st=et.current+it;j(st),function at(ot){et.current=ot,window.clearTimeout(tt.current),ot!==""&&(tt.current=window.setTimeout(()=>at(""),1e3))}(st)},[j]),nt=reactExports.useCallback(()=>{et.current="",window.clearTimeout(tt.current)},[]);return reactExports.useEffect(()=>()=>window.clearTimeout(tt.current),[]),[et,rt,nt]}function findNextItem(_,j,et){const rt=j.length>1&&Array.from(j).every(ot=>ot===j[0])?j[0]:j,nt=et?_.indexOf(et):-1;let it=wrapArray(_,Math.max(nt,0));rt.length===1&&(it=it.filter(ot=>ot!==et));const at=it.find(ot=>ot.textValue.toLowerCase().startsWith(rt.toLowerCase()));return at!==et?at:void 0}function wrapArray(_,j){return _.map((et,tt)=>_[(j+tt)%_.length])}var Root2$2=Select$1,Trigger$1=SelectTrigger$1,Value=SelectValue$1,Icon=SelectIcon,Portal=SelectPortal,Content2$1=SelectContent$1,Viewport=SelectViewport,Label$1=SelectLabel$1,Item=SelectItem$1,ItemText=SelectItemText,ItemIndicator=SelectItemIndicator,ScrollUpButton=SelectScrollUpButton$1,ScrollDownButton=SelectScrollDownButton$1,Separator=SelectSeparator$1;const Select=Root2$2,SelectValue=Value,SelectTrigger=reactExports.forwardRef(({className:_,children:j,...et},tt)=>jsxRuntimeExports.jsxs(Trigger$1,{ref:tt,className:cn("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
747ing-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",_),...et,children:[j,jsxRuntimeExports.jsx(Icon,{asChild:!0,children:jsxRuntimeExports.jsx(ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));SelectTrigger.displayName=Trigger$1.displayName;const SelectScrollUpButton=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(ScrollUpButton,{ref:et,className:cn("flex cursor-default items-center justify-center py-1",_),...j,children:jsxRuntimeExports.jsx(ChevronUp,{className:"h-4 w-4"})}));SelectScrollUpButton.displayName=ScrollUpButton.displayName;const SelectScrollDownButton=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(ScrollDownButton,{ref:et,className:cn("flex cursor-default items-center justify-center py-1",_),...j,children:jsxRuntimeExports.jsx(ChevronDown,{className:"h-4 w-4"})}));SelectScrollDownButton.displayName=ScrollDownButton.displayName;const SelectContent=reactExports.forwardRef(({className:_,children:j,position:et="popper",...tt},rt)=>jsxRuntimeExports.jsx(Portal,{children:jsxRuntimeExports.jsxs(Content2$1,{ref:rt,className:cn("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",et==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",_),position:et,...tt,children:[jsxRuntimeExports.jsx(SelectScrollUpButton,{}),jsxRuntimeExports.jsx(Viewport,{className:cn("p-1",et==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:j}),jsxRuntimeExports.jsx(SelectScrollDownButton,{})]})}));SelectContent.displayName=Content2$1.displayName;const SelectLabel=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Label$1,{ref:et,className:cn("py-1.5 pl-8 pr-2 text-sm font-semibold",_),...j}));SelectLabel.displayName=Label$1.displayName;const SelectItem=reactExports.forwardRef(({className:_,children:j,...et},tt)=>jsxRuntimeExports.jsxs(Item,{ref:tt,className:cn("relative flex w-full cursor-default select-none items-center justify-between rounded-sm py-1.5 px-2 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",_),...et,children:[jsxRuntimeExports.jsx(ItemText,{children:j}),jsxRuntimeExports.jsx(ItemIndicator,{className:"ml-2 flex h-3.5 w-3.5 shrink-0 items-center justify-center",children:jsxRuntimeExports.jsx(Check,{className:"h-4 w-4"})})]}));SelectItem.displayName=Item.displayName;const SelectSeparator=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Separator,{ref:et,className:cn("-mx-1 my-1 h-px bg-muted",_),...j}));SelectSeparator.displayName=Separator.displayName;const TARGET_PRESETS=[{color:"#1E3A5F",name:"Navy Blue"},{color:"#722F37",name:"Bordeaux"},{color:"#013220",name:"Dark Green"},{color:"#8B4513",name:"Brown"},{color:"#505050",name:"Charcoal"},{color:"#9370DB",name:"Purple"}];function updateEntry(_,j,et){return{..._,colors:_.colors.map(tt=>tt.id===j?{...tt,...et}:tt)}}function rgbToHex(_,j,et){const tt=rt=>rt.toString(16).padStart(2,"0").toUpperCase();return`#${tt(_)}${tt(j)}${tt(et)}`}function ColorMapEditor({colorMap:_,onColorMapChange:j,isDetecting:et=!1,onRetryDetect:tt,productImage:rt}){const[nt,it]=reactExports.useState(null),[st,at]=reactExports.useState(null),ot=reactExports.useRef(null),lt=reactExports.useRef(null);reactExports.useEffect(()=>{lt.current=null},[rt]);const ct=()=>{var mt;const gt=ot.current;if(!gt)return;const ft=document.createElement("canvas");
747ft.width=gt.naturalWidth,ft.height=gt.naturalHeight,(mt=ft.getContext("2d"))==null||mt.drawImage(gt,0,0),lt.current=ft},ut=(gt,ft,mt)=>{const xt=_??{mainProduct:"product",patternType:"solid",colors:[],lockedItems:[]},yt=`pick-${Date.now()}`,vt=xt.colors.length+1,bt={id:yt,sourceHex:gt,name:`Sampled color ${vt}`,action:"change",sampleX:ft,sampleY:mt};j({...xt,colors:[...xt.colors,bt]}),it(yt)},dt=gt=>{if(!st)return;const ft=lt.current,mt=ft==null?void 0:ft.getContext("2d"),xt=ot.current;if(!ft||!mt||!xt)return;const yt=xt.getBoundingClientRect(),vt=(gt.clientX-yt.left)/yt.width,bt=(gt.clientY-yt.top)/yt.height,Et=Math.min(ft.width-1,Math.max(0,Math.round(vt*ft.width))),_t=Math.min(ft.height-1,Math.max(0,Math.round(bt*ft.height)));try{const[wt,Rt,Ct]=mt.getImageData(Et,_t,1,1).data,jt=rgbToHex(wt,Rt,Ct);st==="new"?ut(jt,vt,bt):_&&j(updateEntry(_,st,{sourceHex:jt,sampleX:vt,sampleY:bt}))}catch{}finally{at(null)}},ht=rt?jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground uppercase tracking-wide",children:"Pick colors from image"}),jsxRuntimeExports.jsxs(Button,{type:"button",variant:st==="new"?"default":"outline",size:"sm",className:"h-7 px-2.5 text-[11px]",onClick:()=>at(st==="new"?null:"new"),children:[jsxRuntimeExports.jsx(Pipette,{className:"w-3 h-3 mr-1.5"}),st==="new"?"Click on the imageâ¦":"Add color from image"]})]}),jsxRuntimeExports.jsx("div",{className:"max-h-[360px] overflow-auto rounded-xl border border-white/[0.08] bg-white/[0.02]",children:jsxRuntimeExports.jsxs("div",{className:"relative w-full",children:[jsxRuntimeExports.jsx("img",{ref:ot,src:rt,alt:"Product",crossOrigin:"anonymous",onLoad:ct,onClick:dt,className:cn("w-full h-auto block select-none",st?"cursor-crosshair":"cursor-default")}),_==null?void 0:_.colors.map((gt,ft)=>typeof gt.sampleX=="number"&&typeof gt.sampleY=="number"?jsxRuntimeExports.jsx("span",{className:"absolute -translate-x-1/2 -translate-y-1/2 w-5 h-5 rounded-full border-2 border-white shadow-md flex items-center justify-center text-[9px] font-bold text-white pointer-events-none",style:{left:`${gt.sampleX*100}%`,top:`${gt.sampleY*100}%`,backgroundColor:gt.sourceHex},title:`${gt.name} â ${gt.sourceHex}`,children:ft+1},gt.id):null)]})}),st&&jsxRuntimeExports.jsx("p",{className:"text-[11px] text-primary",children:"Click the exact spot on the garment to sample that color."})]}):null;if(et)return jsxRuntimeExports.jsxs("div",{className:"flex flex-col items-center justify-center py-16 gap-4 text-center",children:[jsxRuntimeExports.jsx("div",{className:"w-12 h-12 rounded-full border-2 border-primary/30 border-t-primary animate-spin"}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("p",{className:"text-sm font-medium text-foreground",children:"Detecting colorsâ¦"}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"AI is scanning the main product for distinct colors and locked items"})]})]});if(!_||_.colors.length===0)return jsxRuntimeExports.jsxs("div",{className:"space-y-6",children:[ht,jsxRuntimeExports.jsxs("div",{className:"flex flex-col items-center justify-center py-8 gap-4 text-center",children:[jsxRuntimeExports.jsx(Palette,{className:"w-10 h-10 text-muted-foreground/40"}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("p",{className:"text-sm font-medium text-foreground",children:"No colors yet"}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground mt-1 max-w-sm",children:"Use the eyedropper above to pick colors directly from the image, or run auto-detect. Best for complex patterns (check, plaid, houndstooth)."})]}),tt&&jsxRuntimeExports.jsxs(Button,{variant:"outline",size:"sm",onClick:tt,children:[jsxRuntimeExports.jsx(RefreshCw,{className:"w-4 h-4 mr-2"}),"Auto-detect colors"]})]})]});const pt=_.patternType&&_.patternType!=="solid";return jsxRuntimeExports.jsxs("div",{className:"space-y-6",children:[jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-white/[0.08] bg-white/[0.02] p-4 space-y-1",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Palette,{className:"w-4 h-4 text-primary"}),jsxRuntimeExports.jsx("span",{className:"text-sm font-semibold text-foreground",children:_.mainProduct}),pt&&jsxRuntimeExports.jsx("span",{className:"text-[10px] uppercase tracking-wide px-2 py-0.5 rounded-full bg-primary/10 text-primary",children:_.patternType})]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:"Choose which colors on the main product to keep or change. Pattern structure will be preserved."})]}),ht,jsxRuntimeExports.jsxs("div",{className:"space-y-3",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground uppercase tracking-wide",children:"Main product colors"}),jsxRuntimeExports.jsx("div",{className:"space-y-2",children:_.colors.map((gt,ft)=>jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-white/[0.08] bg-white/[0.02] p-4 space-y-3",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntimeExports.jsxs("div",{className:"relative shrink-0",children:[jsxRuntimeExports.jsx("div",{className:"w-10 h-10 rounded-lg border border-white/20 shadow-sm",style:{backgroundColor:gt.sourceHex},title:gt.sourceHex}),typeof gt.sampleX=="number"&&jsxRuntimeExports.jsx("span",{className:"absolute -top-1.5 -left-1.5 w-4 h-4 rounded-full bg-primary text-primary-foreground text-[9px] font-bold flex items-center justify-center border border-white",children:ft+1})]}),jsxRuntimeExports.jsxs("div",{className:"flex-1 min-w-0",children:[jsxRuntimeExports.jsx("p",{className:"text-sm font-medium text-foreground truncate",children:gt.name}),jsxRuntimeExports.jsx("p",{className:"text-xs font-mono text-muted-foreground",children:gt.sourceHex})]}),rt&&jsxRuntimeExports.jsx(Button,{type:"button",variant:"ghost",size:"icon",className:cn("h-8 w-8 shrink-0",st===gt.id&&"text-primary bg-primary/10"),title:"Re-sample this color from the image",onClick:()=>at(st===gt.id?null:gt.id),children:jsxRuntimeExports.jsx(Pipette,{className:"w-3.5 h-3.5"})}),jsxRuntimeExports.jsxs(Select,{value:gt.action,onValueChange:mt=>{mt==="keep"?(j(updateEntry(_,gt.id,{action:"keep",targetHex:void 0,targetName:void 0})),it(null)):(j(updateEntry(_,gt.id,{action:"change"})),it(gt.id))},children:[jsxRuntimeExports.jsx(SelectTrigger,{className:"w-[130px] h-9 text-xs bg-white/[0.02] border-white/[0.08]",children:jsxRuntimeExports.jsx(SelectValue,{})}),jsxRuntimeExports.jsxs(SelectContent,{children:[jsxRuntimeExports.jsx(SelectItem,{value:"keep",children:"Keep"}),jsxRuntimeExports.jsx(SelectItem,{value:"change",children:"Change to"})]})]})]}),gt.action==="change"&&jsxRuntimeExports.jsxs("div",{className:"pl-[52px] space-y-2 border-t border-white/[0.06] pt-3",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs text-muted-foreground",children:"Target color"}),jsxRuntimeExports.jsx("div",{className:"flex flex-wrap gap-2",children:TARGET_PRESETS.map(mt=>jsxRuntimeExports.jsx("button",{type:"button",onClick:()=>{j(updateEntry(_,gt.id,{targetHex:mt.color,targetName:mt.name}))},className:cn("w-8 h-8 rounded-full border transition-transform hover:scale-110",gt.targetHex===mt.color?"border-primary ring-2 ring-primary/30":"border-white/20"),style:{backgroundColor:mt.color},title:mt.name},mt.color))}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx("label",{className:"w-9 h-9 rounded-lg border border-white/20 cursor-pointer shrink-0",style:{backgroundColor:gt.targetHex||"#1E3A5F"},children:jsxRuntimeExports.jsx("input",{type:"color",value:gt.targetHex||"#1E3A5F",onChange:mt=>{j(updateEntry(_,gt.id,{targetHex:mt.target.value.toUpperCase()}))},className:"sr-only"})}),jsxRuntimeExports.jsx(Input,{value:gt.targetHex||"",onChange:mt=>{const xt=mt.target.value.startsWith("#")?mt.target.value:`#${mt.target.value}`;/^#[0-9A-Fa-f]{0,6}$/.test(xt)&&j(updateEntry(_,gt.id,{targetHex:xt.length===7?xt.toUpperCase():xt}))},placeholder:"#1E3A5F",className:"h-9 font-mono text-xs flex-1",maxLength:7}),jsxRuntimeExports.jsx(Input,{value:gt.targetName||"",onChange:mt=>{j(updateEntry(_,gt.id,{targetName:mt.target.value}))},placeholder:"Name",className:"h-9 text-xs w-28"})]})]})]},gt.id))})]}),_.lockedItems.length>0&&jsxRuntimeExports.jsxs("div",{className:"space-y-3",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground uppercase tracking-wide",children:"Locked items (unchanged)"}),jsxRuntimeExports.jsx("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.015] p-4 space-y-2",children:_.lockedItems.map(gt=>jsxRuntimeExports.jsxs("div",{className:"flex items-start gap-2.5 text-sm",children:[jsxRuntimeExports.jsx(Lock,{className:"w-3.5 h-3.5 text-muted-foreground mt-0.5 shrink-0"}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("span",{className:"text-foreground capitalize",children:gt.name}),gt.description&&jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:gt.description})]})]},gt.name))})]}),tt&&jsxRuntimeExports.jsx("div",{className:"flex justify-end",children:jsxRuntimeExports.jsxs(Button,{variant:"ghost",size:"sm",onClick:tt,className:"text-muted-foreground",children:[jsxRuntimeExports.jsx(RefreshCw,{className:"w-3.5 h-3.5 mr-2"}),"Re-detect colors"]})})]})}function useColorMapDetection(){const[_,j]=reactExports.useState(!1),[et,tt]=reactExports.useState(!1),[rt,nt]=reactExports.useState(null),it=reactExports.useCallback(async(at,ot="top")=>{tt(!0),nt(null);const lt={complexity:"simple",patternType:"solid"};try{const{data:ct,error:ut}=await invokeEdgeFunctionWithRetry("generate-image",{body:{action:"classify-pattern",productImage:at,productType:ot}});if(ut)return console.warn("[COLORMAP] classify-pattern failed, defaulting to simple:",ut.message),lt;const dt=ct==null?void 0:ct.classification;return dt!=null&&dt.complexity?{complexity:dt.complexity==="complex"?"complex":"simple",patternType:dt.patternType||"solid",mainProduct:dt.mainProduct}:lt}catch(ct){return console.warn("[COLORMAP] classify-pattern error, defaulting to simple:",ct),lt}finally{tt(!1)}},[]),st=reactExports.useCallback(async(at,ot="top")=>{var lt;j(!0),nt(null);try{const{data:ct,error:ut}=await invokeEdgeFunctionWithRetry("generate-image",{body:{action:"detect-colors",productImage:at,productType:ot}});if(ut){const ht=ut.message||"Failed to detect colors";return nt(ht),null}const dt=ct==null?void 0:ct.colorMap;return(lt=dt==null?void 0:dt.colors)!=null&<.length?dt:(nt("No colors detected on the main product"),null)}catch(ct){const ut=ct instanceof Error?ct.message:"Failed to detect colors";return nt(ut),null}finally{j(!1)}},[]);return{classifyPattern:it,detectColors:st,isClassifying:et,isDetecting:_,error:rt,setError:nt}}function colorMapHasChanges(_){return!!(_!=null&&_.colors.some(j=>j.action==="change"&&j.targetHex))}function variantsFromColorMap(_){if(!_)return[];const j=_.colors.filter(rt=>rt.action==="change"&&rt.targetHex);if(j.length===0)return[];const et=j[0],tt=j.length===1?et.targetName||et.name:j.map(rt=>rt.targetName||rt.name).join(" + ");return[{color:et.targetHex,name:tt}]}const STEP_ICONS=[Upload,Palette,Settings2];function StepProgress({currentStep:_,totalSteps:j,labels:et}){return jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-center py-6",children:[Array.from({length:j},(tt,rt)=>rt+1).map((tt,rt)=>{const nt=_>tt,it=_===tt,st=_<tt,at=STEP_ICONS[rt]??Settings2;return jsxRuntimeExports.jsxs("div",{className:"flex items-center",children:[jsxRuntimeExports.jsxs("div",{className:"flex flex-col items-center gap-2",children:[jsxRuntimeExports.jsxs("div",{className:cn("relative flex items-center justify-center w-11 h-11 rounded-full text-sm font-semibold transition-all duration-500",nt&&"bg-gradient-to-br from-primary to-accent text-primary-foreground shadow-[0_0_20px_hsl(252,85%,62%,0.35)]",it&&"bg-gradient-to-br from-primary to-accent text-primary-foreground shadow-[0_0_24px_hsl(252,85%,62%,0.45)] ring-[3px] ring-primary/25",st&&"bg-muted/60 text-muted-foreground border border-border"),children:[nt?jsxRuntimeExports.jsx(Check,{className:"w-4.5 h-4.5 animate-scale-in",strokeWidth:2.5}):jsxRuntimeExports.jsx(at,{className:"w-4.5 h-4.5",strokeWidth:it?2.2:1.8}),it&&jsxRuntimeExports.jsx("span",{className:"absolute inset-0 rounded-full pointer-events-none",style:{boxShadow:"0 0 20px 4px hsl(252 85% 62% / 0.3)",animation:"step-glow-pulse 2.5s ease-in-out infinite"}})]}),jsxRuntimeExports.jsx("span",{className:cn("text-xs font-medium transition-all duration-300 whitespace-nowrap",nt&&"text-foreground
747/80",it&&"font-semibold gradient-text",st&&"text-muted-foreground/60"),children:et[rt]})]}),rt<j-1&&jsxRuntimeExports.jsx("div",{className:"relative w-20 md:w-28 h-1 mx-5 rounded-full bg-border/50 overflow-hidden mb-6",children:jsxRuntimeExports.jsx("div",{className:cn("absolute inset-y-0 left-0 rounded-full transition-all duration-700 ease-out",nt?"w-full bg-gradient-to-r from-primary to-accent":it?"w-1/2 bg-gradient-to-r from-primary/50 to-primary/10":"w-0")})})]},tt)}),jsxRuntimeExports.jsx("style",{children:` 748 @keyframes step-glow-pulse { 749 0%, 100% { opacity: 0.6; } 750 50% { opacity: 1; } 751 } 752 `})]})}var COLLAPSIBLE_NAME="Collapsible",[createCollapsibleContext,createCollapsibleScope]=createContextScope(COLLAPSIBLE_NAME),[CollapsibleProvider,useCollapsibleContext]=createCollapsibleContext(COLLAPSIBLE_NAME),Collapsible$1=reactExports.forwardRef((_,j)=>{const{__scopeCollapsible:et,open:tt,defaultOpen:rt,disabled:nt,onOpenChange:it,...st}=_,[at,ot]=useControllableState({prop:tt,defaultProp:rt??!1,onChange:it,caller:COLLAPSIBLE_NAME});return jsxRuntimeExports.jsx(CollapsibleProvider,{scope:et,disabled:nt,contentId:useId(),open:at,onOpenToggle:reactExports.useCallback(()=>ot(lt=>!lt),[ot]),children:jsxRuntimeExports.jsx(Primitive.div,{"data-state":getState$1(at),"data-disabled":nt?"":void 0,...st,ref:j})})});Collapsible$1.displayName=COLLAPSIBLE_NAME;var TRIGGER_NAME$2="CollapsibleTrigger",CollapsibleTrigger$1=reactExports.forwardRef((_,j)=>{const{__scopeCollapsible:et,...tt}=_,rt=useCollapsibleContext(TRIGGER_NAME$2,et);return jsxRuntimeExports.jsx(Primitive.button,{type:"button","aria-controls":rt.contentId,"aria-expanded":rt.open||!1,"data-state":getState$1(rt.open),"data-disabled":rt.disabled?"":void 0,disabled:rt.disabled,...tt,ref:j,onClick:composeEventHandlers(_.onClick,rt.onOpenToggle)})});CollapsibleTrigger$1.displayName=TRIGGER_NAME$2;var CONTENT_NAME$2="CollapsibleContent",CollapsibleContent$1=reactExports.forwardRef((_,j)=>{const{forceMount:et,...tt}=_,rt=useCollapsibleContext(CONTENT_NAME$2,_.__scopeCollapsible);return jsxRuntimeExports.jsx(Presence,{present:et||rt.open,children:({present:nt})=>jsxRuntimeExports.jsx(CollapsibleContentImpl,{...tt,ref:j,present:nt})})});CollapsibleContent$1.displayName=CONTENT_NAME$2;var CollapsibleContentImpl=reactExports.forwardRef((_,j)=>{const{__scopeCollapsible:et,present:tt,children:rt,...nt}=_,it=useCollapsibleContext(CONTENT_NAME$2,et),[st,at]=reactExports.useState(tt),ot=reactExports.useRef(null),lt=useComposedRefs$1(j,ot),ct=reactExports.useRef(0),ut=ct.current,dt=reactExports.useRef(0),ht=dt.current,pt=it.open||st,gt=reactExports.useRef(pt),ft=reactExports.useRef(void 0);return reactExports.useEffect(()=>{const mt=requestAnimationFrame(()=>gt.current=!1);return()=>cancelAnimationFrame(mt)},[]),useLayoutEffect2(()=>{const mt=ot.current;if(mt){ft.current=ft.current||{transitionDuration:mt.style.transitionDuration,animationName:mt.style.animationName},mt.style.transitionDuration="0s",mt.style.animationName="none";const xt=mt.getBoundingClientRect();ct.current=xt.height,dt.current=xt.width,gt.current||(mt.style.transitionDuration=ft.current.transitionDuration,mt.style.animationName=ft.current.animationName),at(tt)}},[it.open,tt]),jsxRuntimeExports.jsx(Primitive.div,{"data-state":getState$1(it.open),"data-disabled":it.disabled?"":void 0,id:it.contentId,hidden:!pt,...nt,ref:lt,style:{"--radix-collapsible-content-height":ut?`${ut}px`:void 0,"--radix-collapsible-content-width":ht?`${ht}px`:void 0,..._.style},children:pt&&rt})});function getState$1(_){return _?"open":"closed"}var Root$1=Collapsible$1;const Collapsible=Root$1,CollapsibleTrigger=CollapsibleTrigger$1,CollapsibleContent=CollapsibleContent$1,STORAGE_KEY_FASHION$2="promptBuilder_fashionViews",STORAGE_KEY_HOMEDECOR$2="promptBuilder_homeDecorViews",STORAGE_KEY_FASHION_DEFAULTS$2="promptBuilder_fashionDefaults",defaultFashionViews$2=[{id:"front",name:"Front View",pose:"Classic catalog pose - one hand on hip, weight shifted to one leg, direct eye contact",enabled:!0,isCustom:!1}
752,{id:"back",name:"Back View",pose:"Full body back view with arms relaxed and confident posture",enabled:!0,isCustom:!1},{id:"side",name:"Side View",pose:"90-degree side profile with arms relaxed and natural upright posture",enabled:!0,isCustom:!1},{id:"outdoor",name:"Outdoor View",pose:"Confident editorial fashion pose on an iconic street",enabled:!0,isCustom:!1}],ALLOWED_FASHION_VIEW_IDS$1=new Set(["front","back","side","outdoor"]),defaultHomeDecorViews$2=[{id:"fullProduct",name:"Full Product",placement:"Studio shot",enabled:!0,isCustom:!1},{id:"lifestylePrimary",name:"Lifestyle Primary",placement:"Coffee table in living room",enabled:!0,isCustom:!1},{id:"lifestyleSecondary",name:"Lifestyle Secondary",placement:"Shelf in bedroom",enabled:!0,isCustom:!1}];function getFashionViews(){try{const _=localStorage.getItem(STORAGE_KEY_FASHION$2);if(_)return JSON.parse(_)}catch(_){console.error("Error reading fashion views from localStorage:",_)}return defaultFashionViews$2}function getHomeDecorViews(){try{const _=localStorage.getItem(STORAGE_KEY_HOMEDECOR$2);if(_)return JSON.parse(_)}catch(_){console.error("Error reading home decor views from localStorage:",_)}return defaultHomeDecorViews$2}function getFashionDefaults(){try{const _=localStorage.getItem(STORAGE_KEY_FASHION_DEFAULTS$2);if(_)return JSON.parse(_)}catch(_){console.error("Error reading fashion defaults from localStorage:",_)}return{season:"summer"}}function getEnabledFashionViews(){return getFashionViews().filter(_=>_.enabled&&ALLOWED_FASHION_VIEW_IDS$1.has(_.id))}function getEnabledHomeDecorViews(){return getHomeDecorViews().filter(_=>_.enabled)}function useShopifyConnections(){const _=useQueryClient(),{data:j,isLoading:et,error:tt}=useQuery({queryKey:["shopify-connections"],queryFn:async()=>{const{data:{user:nt}}=await supabase.auth.getUser();if(!nt)return[];const{data:it,error:st}=await supabase.from("shopify_connections").select("id, shop_domain, shop_name, scope, connected_at, is_active, auth_method").eq("is_active",!0).order("connected_at",{ascending:!1});if(st)throw console.error("[useShopifyConnections] fetch error:",st),st;return it??[]}}),rt=useMutation({mutationFn:async nt=>{const{data:it,error:st}=await supabase.functions.invoke("shopify-disconnect",{body:{connectionId:nt}});if(st)throw st;return it},onSuccess:()=>{_.invalidateQueries({queryKey:["shopify-connections"]})},onError:nt=>{console.error("[useShopifyConnections] disconnect error:",nt)}});return{connections:j??[],isLoading:et,error:tt,disconnect:rt.mutate,isDisconnecting:rt.isPending}}function useShopifyProductSearch(_,j){const[et,tt]=reactExports.useState(j),rt=reactExports.useRef(null);reactExports.useEffect(()=>(rt.current&&clearTimeout(rt.current),rt.current=setTimeout(()=>tt(j),300),()=>{rt.current&&clearTimeout(rt.current)}),[j]);const[nt,it]=reactExports.useState([]),[st,at]=reactExports.useState(null);reactExports.useEffect(()=>{it([]),at(null)},[et,_]);const{data:ot,isLoading:lt,error:ct}=useQuery({queryKey:["shopify-products",_,et,st],enabled:!!_,queryFn:async()=>{const{data:dt,error:ht}=await supabase.functions.invoke("shopify-product-search",{body:{query:et,connectionId:_,after:st}});if(ht)throw ht;return dt}});reactExports.useEffect(()=>{ot&&it(dt=>st===null?ot.products:[...dt,...ot.products])},[ot,st]);const ut=()=>{ot!=null&&ot.hasNextPage&&ot.endCursor&&at(ot.endCursor)};return{products:nt,isLoading:lt,error:ct,hasNextPage:(ot==null?void 0:ot.hasNextPage)??!1,loadMore:ut}}function ProductResultsList({products:_,isLoading:j,selectedProductId:et,onSelect:tt,hasNextPage:rt,onLoadMore:nt}){return j&&_.length===0?jsxRuntimeExports.jsx("div",{className:"space-y-2",children:[1,2,3].map(it=>jsxRuntimeExports.jsx(Skeleton,{className:"h-12 w-full rounded-lg"},it))}):!j&&_.length===0?jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground py-2 px-1",children:"No products found. Try a different search term."}):jsxRuntimeExports.jsxs("div",{className:"space-y-1 max-h-52 overflow-y-auto",children:[_.map(it=>{const st=et===it.id;return jsxRuntimeExports.jsxs("button",{type:"button",onClick:()=>tt(it),className:["w-full flex items-center gap-3 rounded-lg px-3 py-2 text-left transition-colors",st?"bg-primary/10 border border-primary/30":"bg-white/[0.02] border border-white/[0.06] hover:bg-white/[0.05]"].join(" "),children:[jsxRuntimeExports.jsx("div",{className:"w-8 h-8 rounded shrink-0 overflow-hidden bg-white/[0.04]",children:it.thumbnailUrl?jsxRuntimeExports.jsx("img",{src:it.thumbnailUrl,alt:it.title,className:"w-full h-full object-cover",onError:at=>{at.target.style.display="none"}}):null}),jsxRuntimeExports.jsxs("div",{className:"min-w-0 flex-1",children:[jsxRuntimeExports.jsx("p",{className:"text-xs font-medium truncate leading-tight",children:it.title}),it.sku&&jsxRuntimeExports.jsxs("p",{className:"text-xs text-muted-foreground truncate",children:["SKU: ",it.sku]})]}),st&&jsxRuntimeExports.jsx("div",{className:"w-2 h-2 rounded-full bg-primary shrink-0"})]},it.id)}),rt&&jsxRuntimeExports.jsx("button",{type:"button",onClick:nt,disabled:j,className:"w-full text-xs text-muted-foreground hover:text-foreground py-2 text-center transition-colors disabled:opacity-50",children:j?"Loadingâ¦":"Load more"})]})}function ShopifyExportPanel({onChange:_,defaultEnabled:j=!1}){const{connections:et,isLoading:tt}=useShopifyConnections(),[rt,nt]=reactExports.useState(j),[it,st]=reactExports.useState(null),[at,ot]=reactExports.useState(""),[lt,ct]=reactExports.useState(null),[ut,dt]=reactExports.useState(!1),ht=et.find(vt=>vt.id===it)??null,{products:pt,isLoading:gt,hasNextPage:ft,loadMore:mt,error:xt}=useShopifyProductSearch(rt?it:null,at);reactExports.useEffect(()=>{rt&&et.length===1&&st(et[0].id)},[rt,et]),reactExports.useEffect(()=>{it&&!et.find(vt=>vt.id===it)&&(st(null),ct(null))},[et,it]),reactExports.useEffect(()=>{if(!rt||!lt||!ht){_(null);return}_({connectionId:ht.id,shopDomain:ht.shop_domain,productId:lt.id,productTitle:lt.title,replacePhotos:ut})},[rt,lt,ht,ut,_]);const yt=vt=>{ot(vt),ct(null)};return tt?null:et.length===0?jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground py-1",children:[jsxRuntimeExports.jsx(Link2,{className:"w-4 h-4 shrink-0"}),jsxRuntimeExports.jsxs("span",{children:[jsxRuntimeExports.jsx("a",{href:"/integrations",className:"text-primary underline underline-offset-2",children:"Connect a Shopify store"})," ","to enable export"]})]}):jsxRuntimeExports.jsxs("div",{className:"space-y-3 rounded-xl border border-white/[0.06] bg-white/[0.02] p-4",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2.5",children:[jsxRuntimeExports.jsx(Checkbox,{id:"export-to-shopify",checked:rt,onCheckedChange:vt=>{nt(!!vt),vt||(st(null),ct(null),ot(""))}}),jsxRuntimeExports.jsx("label",{htmlFor:"export-to-shopify",className:"text-sm font-medium cursor-pointer select-none",children:"Export to Shopify"})]}),rt&&jsxRuntimeExports.jsxs("div",{className:"space-y-3",children:[et.length>1&&jsxRuntimeExports.jsxs(Select,{value:it??"",onValueChange:vt=>{st(vt),ct(null),ot("")},children:[jsxRuntimeExports.jsx(SelectTrigger,{className:"h-9 text-sm bg-white/[0.02] border-white/[0.08]",children:jsxRuntimeExports.jsx(SelectValue,{placeholder:"Select storeâ¦"})}),jsxRuntimeExports.jsx(SelectContent,{children:et.map(vt=>jsxRuntimeExports.jsx(SelectItem,{value:vt.id,children:vt.shop_name??vt.shop_domain},vt.id))})]}),it&&jsxRuntimeExports.jsxs("div",{className:"relative",children:[jsxRuntimeExports.jsx(Search,{className:"absolute left-2.5 top-2.5 w-3.5 h-3.5 text-muted-foreground pointer-events-none"}),jsxRuntimeExports.jsx(Input,{className:"pl-8 h-9 text-sm bg-white/[0.02] border-white/[0.08]",placeholder:"Search by product name or SKUâ¦",value:at,onChange:vt=>yt(vt.target.value)})]}),it&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[xt&&jsxRuntimeExports.jsx("p",{className:"text-xs text-destructive py-2 px-1",children:"Failed to load products. Please try again."}),!xt&&jsxRuntimeExports.jsx(ProductResultsList,{products:pt,isLoading:gt,selectedProductId:(lt==null?void 0:lt.id)??null,onSelect:ct,hasNextPage:ft,onLoadMore:mt})]}),lt&&jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2.5 pt-1 border-t border-white/[0.06]",children:[jsxRuntimeExports.jsx(Checkbox,{id:"replace-photos",checked:ut,onCheckedChange:vt=>dt(!!vt)}),jsxRuntimeExports.jsx("label",{htmlFor:"replace-photos",className:"text-xs text-muted-foreground cursor-pointer select-none",children:"Replace all existing product photos"})]})]})]})}const noop$4=_=>{},IMAGE_MODEL$1="nano-banana-2",FASHION_CREDITS_PER_IMAGE=1,skinToneOptions=[{id:"fair",label:"Fair",color:"#FDEBD0"},{id:"light",label:"Light",color:"#F5CBA7"},{id:"medium",label:"Medium",color:"#D4A574"},{id:"tan",label:"Tan",color:"#BA8C63"},{id:"deep",label:"Deep",color:"#8B5A2B"}],productTypeOptions=[{id:"top",label:"Top",description:"Shirts, sweaters, jackets",icon:jsxRuntimeExports.jsx(Shirt,{className:"w-5 h-5"})},{id:"bottom",label:"Bottom",description:"Pants, skirts, shorts",icon:jsxRuntimeExports.jsxs("svg",{className:"w-5 h-5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[jsxRuntimeExports.jsx("path",{d:"M6 4h12l-2 16H8L6 4z"}),jsxRuntimeExports.jsx("path",{d:"M12 4v16"})]})},{id:"dress",label:"Dress",description:"Dresses, jumpsuits, rompers",icon:jsxRuntimeExports.jsx("svg",{className:"w-5 h-5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:jsxRuntimeExports.jsx("path",{d:"M12 2c0 0-2 2-2 5v1H7l-2 14h14L17 8h-3V7c0-3-2-5-2-5z"})})},{id:"shoes",label:"Shoes",description:"Footwear",icon:jsxRuntimeExports.jsx(Footprints,{className:"w-5 h-5"})},{id:"outfit",label:"Outfit",description:"Full outfit/set",icon:jsxRuntimeExports.jsxs("svg",{className:"w-5 h-5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[jsxRuntimeExports.jsx("circle",{cx:"12",cy:"6",r:"2"}),jsxRuntimeExports.jsx("path",{d:"M12 8v4M8 20v-8a4 4 0 0 1 8 0v8"})]})}],viewPoseOptions=[{id:"full-body",label:"Full Body",description:"Head to toe visible",icon:jsxRuntimeExports.jsx(Maximize,{className:"w-5 h-5"})},{id:"product-focused",label:"Product Focused",description:"Focused on the product",icon:jsxRuntimeExports.jsx(Focus,{className:"w-5 h-5"})}],genderOptions=[{id:"male",label:"Men",description:"Male model",icon:jsxRuntimeExports.jsx(User,{className:"w-5 h-5"})},{id:"female",label:"Women",description:"Female model",icon:jsxRuntimeExports.jsx(Users,{className:"w-5 h-5"})}],ethnicityOptionsWithIcons=[{id:"caucasian",label:"Caucasian",description:"European descent"},{id:"black",label:"Black",description:"African descent"},{id:"east-asian",label:"East Asian",description:"East Asian descent"},{id:"south-asian",label:"South Asian",description:"South Asian descent"},{id:"middle-eastern",label:"Middle Eastern",description:"Middle Eastern descent"},{id:"latino",label:"Latino",description:"Latin American descent"}
752,{id:"mixed",label:"Mixed",description:"Mixed ethnicity"}],aspectRatioOptions=[{id:"9:16",label:"9:16",hint:"Stories",w:9,h:16},{id:"2:3",label:"2:3",hint:"Portrait",w:2,h:3},{id:"3:4",label:"3:4",hint:"Portrait",w:3,h:4},{id:"4:5",label:"4:5",hint:"Instagram",w:4,h:5},{id:"1:1",label:"1:1",hint:"Square",w:1,h:1},{id:"5:4",label:"5:4",hint:"Landscape",w:5,h:4},{id:"4:3",label:"4:3",hint:"Landscape",w:4,h:3},{id:"3:2",label:"3:2",hint:"Photo",w:3,h:2},{id:"16:9",label:"16:9",hint:"Banner",w:16,h:9},{id:"21:9",label:"21:9",hint:"Ultra-wide",w:21,h:9}],BG_PRESETS=[{color:"#FFFFFF",name:"White"},{color:"#F7F7F7",name:"Off White"},{color:"#E8E8E8",name:"Light Gray"},{color:"#D0D0D0",name:"Gray"},{color:"#A0A0A0",name:"Mid Gray"},{color:"#505050",name:"Dark Gray"},{color:"#1A1A1A",name:"Charcoal"},{color:"#000000",name:"Black"},{color:"#F5F0EB",name:"Warm Cream"},{color:"#E8DDD3",name:"Beige"},{color:"#D4E6F1",name:"Light Blue"},{color:"#FADBD8",name:"Blush"}],FASHION_STEP_LABELS=["Upload","Configure"];function FashionFlow({onGenerate:_,isGenerating:j,onStepChange:et,onExportConfigChange:tt}){var cr,xr,Pr,Dr,Tr;const[rt,nt]=reactExports.useState(1),[it,st]=reactExports.useState(!1),[at,ot]=reactExports.useState(!1),[lt,ct]=reactExports.useState(null),ut=reactExports.useRef(null);reactExports.useEffect(()=>{et==null||et(rt)},[rt,et]);const dt=reactExports.useMemo(()=>getEnabledFashionViews().map(Rr=>({id:Rr.id,label:Rr.name,isStudio:Rr.id!=="outdoor"&&!Rr.id.includes("outdoor"),pose:Rr.pose,prompt:Rr.prompt})),[]),ht=reactExports.useMemo(()=>getFashionDefaults(),[]),[pt,gt]=reactExports.useState(null),[ft,mt]=reactExports.useState([]),[xt,yt]=reactExports.useState("#F7F7F7"),[vt,bt]=reactExports.useState(""),[Et,_t]=reactExports.useState(25),[wt,Rt]=reactExports.useState("1:1"),[Ct,jt]=reactExports.useState([]),[Dt,It]=reactExports.useState(null),{classifyPattern:Ot,detectColors:At,isDetecting:Tt,error:kt,setError:St}=useColorMapDetection(),[Pt,$t]=reactExports.useState("female"),[Nt,Mt]=reactExports.useState("caucasian"),[Vt,Ht]=reactExports.useState("medium"),[Qt,er]=reactExports.useState("top"),[ir,Jt]=reactExports.useState("full-body"),[Gt,Kt]=reactExports.useState("1K"),[Bt,Zt]=reactExports.useState("");reactExports.useEffect(()=>{It(null),jt([]),ot(!1),ct(null),ut.current=null},[pt]),reactExports.useEffect(()=>{if(rt!==2||!pt||ut.current===pt)return;ut.current=pt;let Xt=!1;return(async()=>{const Rr=await Ot(pt,Qt);Xt||ct(Rr.complexity)})(),()=>{Xt=!0}},[rt,pt,Qt,Ot]);const qt=(Xt,Rr)=>{mt(Rr?[...ft,Xt]:ft.filter(Vr=>Vr!==Xt))},lr=async()=>{if(!pt)return;St(null);const Xt=await At(pt,Qt);Xt&&It(Xt)},ar=()=>{ot(!0)},Yt=()=>{pt&&nt(2)},sr=()=>{if(Dt&&colorMapHasChanges(Dt)){const Xt=variantsFromColorMap(Dt);Xt.length>0&&jt(Xt.map((Rr,Vr)=>({id:`colormap-${Vr}-${Date.now()}`,color:Rr.color,name:Rr.name,isBase:!1})))}ot(!1)},gr=()=>{if(!pt)return;const Xt=["front","side","back","outdoor"],Vr=[...ft].sort((Ir,Ur)=>{const $r=Xt.indexOf(Ir.toLowerCase()),br=Xt.indexOf(Ur.toLowerCase());return($r>=0?$r:99)-(br>=0?br:99)}).map(Ir=>dt.find(Ur=>Ur.id===Ir)).filter(Ir=>Ir!==void 0).map(Ir=>({id:Ir.id,name:Ir.label,pose:Ir.pose,customPrompt:Ir.prompt})),Jr=Ct.map((Ir,Ur)=>({...Ir,id:`${Ir.name}-${Ir.color}-${Ur}`}));_({productImage:pt,views:Vr,backgroundColor:xt,city:vt,modelAge:Et,aspectRatio:wt,season:ht.season,colorVariants:Jr,gender:Pt,ethnicity:Nt,skinTone:Vt,productType:Qt,viewPose:ir,resolution:"1K",imageModel:IMAGE_MODEL$1,additionalDetails:Bt.trim()||void 0,colorMap:colorMapHasChanges(Dt)?Dt:void 0})},Lt=ft.length*(Ct.filter(Xt=>!Xt.isBase).length+1),Ut=Lt*FASHION_CREDITS_PER_IMAGE,Wt=ft.some(Xt=>Xt.toLowerCase().includes("outdoor")),or=ft.some(Xt=>!Xt.toLowerCase().includes("outdoor")),nr=pt&&ft.length>0&&(!Wt||vt),tr=Ct.some(Xt=>!Xt.isBase&&!Xt.id.startsWith("colormap-")),rr=lt==="complex"&&!colorMapHasChanges(Dt);return jsxRuntimeExports.jsxs("div",{className:"space-y-5",children:[jsxRuntimeExports.jsx(StepProgress,{currentStep:rt,totalSteps:2,labels:FASHION_STEP_LABELS}),rt===1&&jsxRuntimeExports.jsxs("div",{className:"space-y-6 w-full animate-fade-in",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-1 text-center",children:[jsxRuntimeExports.jsxs("h2",{className:"font-display text-2xl md:text-3xl font-medium text-foreground tracking-tight",children:[jsxRuntimeExports.jsx("span",{className:"gradient-text",children:"Upload"})," your product"]}
752),jsxRuntimeExports.jsx("p",{className:"text-muted-foreground/70 text-sm font-body",children:"Drop a clear photo and we'll create professional model shots"})]}),jsxRuntimeExports.jsxs("div",{className:"rounded-2xl border border-white/[0.08] bg-white/[0.02] shadow-[0_8px_32px_hsl(0,0%,0%,0.5)] overflow-hidden",children:[jsxRuntimeExports.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[1fr_280px] gap-0",children:[jsxRuntimeExports.jsxs("div",{className:"p-6 lg:p-8 space-y-4",children:[jsxRuntimeExports.jsxs(Label$2,{className:"text-sm font-medium text-foreground/90",children:["Product Image ",jsxRuntimeExports.jsx("span",{className:"text-destructive",children:"*"})]}),jsxRuntimeExports.jsx(ImageUpload,{value:pt,onChange:gt,size:"large"}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground/60",children:"Clear image of your product used in all views"})]}),jsxRuntimeExports.jsxs("div",{className:"relative border-t lg:border-t-0 lg:border-l border-white/[0.06] p-6 lg:p-8 bg-white/[0.015]",children:[jsxRuntimeExports.jsx("div",{className:"absolute top-0 left-0 right-0 h-[2px] bg-gradient-to-r from-primary/40 via-accent/30 to-transparent lg:hidden"}),jsxRuntimeExports.jsx("div",{className:"absolute top-0 left-0 bottom-0 w-[2px] bg-gradient-to-b from-primary/40 via-accent/30 to-transparent hidden lg:block"}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2.5 mb-5",children:[jsxRuntimeExports.jsx("div",{className:"w-7 h-7 rounded-lg bg-gradient-to-br from-primary/20 to-accent/10 flex items-center justify-center",children:jsxRuntimeExports.jsx(Lightbulb,{className:"w-3.5 h-3.5 text-primary"})}),jsxRuntimeExports.jsx("h3",{className:"text-sm font-semibold text-foreground",children:"Tips for best results"})]}),jsxRuntimeExports.jsx("ul",{className:"space-y-3.5",children:["Plain or neutral background","Good, even lighting","Product fills most of the frame","High resolution (min 800px)"].map(Xt=>jsxRuntimeExports.jsxs("li",{className:"flex items-start gap-2.5 text-sm text-muted-foreground/80",children:[jsxRuntimeExports.jsx("div",{className:"w-5 h-5 rounded-full bg-primary/10 flex items-center justify-center shrink-0 mt-0.5",children:jsxRuntimeExports.jsx(Check,{className:"w-3 h-3 text-primary"})}),jsxRuntimeExports.jsx("span",{children:Xt})]},Xt))})]})]}),jsxRuntimeExports.jsx("div",{className:"px-6 lg:px-8 py-5 border-t border-white/[0.06] flex justify-end bg-white/[0.01]",children:jsxRuntimeExports.jsxs(Button,{onClick:Yt,disabled:!pt,variant:"hero",size:"lg",children:["Continue",jsxRuntimeExports.jsx(ArrowRight,{className:"w-4 h-4 ml-2"})]})})]})]}),rt===2&&jsxRuntimeExports.jsxs("div",{className:"space-y-5 animate-fade-in",children:[jsxRuntimeExports.jsxs("div",{className:"text-center space-y-1",children:[jsxRuntimeExports.jsxs("h2",{className:"font-display text-2xl md:text-3xl font-medium text-foreground tracking-tight",children:[jsxRuntimeExports.jsx("span",{className:"gradient-text",children:"Configure"})," & Generate"]}),jsxRuntimeExports.jsx("p",{className:"text-muted-foreground/70 text-sm font-body",children:"Set model, product, format, and views for your shoot"})]}),jsxRuntimeExports.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[320px_1fr] gap-6 lg:gap-10 items-start",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-2 md:sticky md:top-4",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-sm font-medium text-foreground/90",children:"Product Image"}),jsxRuntimeExports.jsx("div",{className:"w-full max-w-[320px]",children:jsxRuntimeExports.jsx(ImageUpload,{value:pt,onChange:gt})})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-4 min-w-0",children:[jsxRuntimeExports.jsxs("section",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-5 space-y-4 transition-all duration-200 hover:border-white/[0.12] shadow-[0_2px_12px_hsl(0,0%,0%,0.3)]",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2.5",children:[jsxRuntimeExports.jsx("div",{className:"w-8 h-8 rounded-lg bg-gradient-to-br from-primary/25 to-accent/15 flex items-center justify-center shadow-[0_0_12px_hsl(252,85%,62%,0.15)]",children:jsxRuntimeExports.jsx(User,{className:"w-4 h-4 text-primary"})}),jsxRuntimeExports.jsx("span",{className:"text-sm font-semibold text-foreground",children:"Model"})]}),jsxRuntimeExports.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-1.5",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground",children:"Gender"}),jsxRuntimeExports.jsx(ToggleGroup,{type:"single",value:Pt,onValueChange:Xt=>{Xt&&$t(Xt)},className:"w-full gap-0 rounded-lg border border-white/[0.08] bg-white/[0.02] p-0.5",children:genderOptions.map(Xt=>jsxRuntimeExports.jsxs(ToggleGroupItem,{value:Xt.id,className:"flex-1 h-9 rounded-md text-sm font-medium data-[state=on]:bg-primary/15 data-[state=on]:text-primary data-[state=on]:shadow-sm gap-1.5",children:[Xt.icon,Xt.label]},Xt.id))})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-1.5",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground",children:"Ethnicity"}),jsxRuntimeExports.jsxs(Select,{value:Nt,onValueChange:Xt=>Mt(Xt),children:[jsxRuntimeExports.jsx(SelectTrigger,{className:"w-full h-9 text-left bg-white/[0.02] border-white/[0.08] rounded-lg hover:border-white/15 text-sm",children:jsxRuntimeExports.jsx(SelectValue,{children:jsxRuntimeExports.jsx("span",{className:"truncate",children:(cr=ethnicityOptionsWithIcons.find(Xt=>Xt.id===Nt))==null?void 0:cr.label})})}),jsxRuntimeExports.jsx(SelectContent,{className:"bg-popover border-border rounded-xl z-50 max-h-[300px]",children:ethnicityOptionsWithIcons.map(Xt=>jsxRuntimeExports.jsx(SelectItem,{value:Xt.id,className:"cursor-pointer py-2 px-3 rounded-lg focus:bg-primary/5 text-sm",children:Xt.label},Xt.id))})]})]})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-1.5",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground",children:"Skin Tone"}),jsxRuntimeExports.jsx("div",{className:"flex flex-wrap gap-2",children:skinToneOptions.map(Xt=>jsxRuntimeExports.jsxs("button",{type:"button",onClick:()=>Ht(Xt.id),className:`flex flex-col items-center p-2 rounded-lg border cursor-pointer transition-colors min-w-[56px] 753 ${Vt===Xt.id?"border-primary/50 bg-primary/[0.06]":"border-white/[0.08] bg-white/[0.02] hover:border-white/15"}`,children:[jsxRuntimeExports.jsx("div",{className:"w-6 h-6 rounded-full border border-white/20 mb-1",style:{backgroundColor:Xt.color}}),jsxRuntimeExports.jsx("span",{className:"text-[10px] text-foreground",children:Xt.label})]},Xt.id))})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground",children:"Age"}),jsxRuntimeExports.jsx("span",{className:"text-sm font-medium text-foreground tabular-nums",children:Et})]}),jsxRuntimeExports.jsx(Slider,{value:[Et],onValueChange:([Xt])=>_t(Xt),min:18,max:70,step:1,className:"w-full"}),jsxRuntimeExports.jsxs("div",{className:"flex justify-between text-[10px] text-muted-foreground",children:[jsxRuntimeExports.jsx("span",{children:"18"}),jsxRuntimeExports.jsx("span",{children:"70"})]})]})]}),jsxRuntimeExports.jsxs("section",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-5 space-y-4 transition-all duration-200 hover:border-white/[0.12] shadow-[0_2px_12px_hsl(0,0%,0%,0.3)]",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2.5",children:[jsxRuntimeExports.jsx("div",{className:"w-8 h-8 rounded-lg bg-gradient-to-br from-primary/25 to-accent/15 flex items-center justify-center shadow-[0_0_12px_hsl(252,85%,62%,0.15)]",children:jsxRuntimeExports.jsx(Shirt,{className:"w-4 h-4 text-primary"})}),jsxRuntimeExports.jsx("span",{className:"text-sm font-semibold text-foreground",children:"Product"})]}),jsxRuntimeExports.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-1.5",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground",children:"Type"}),jsxRuntimeExports.jsxs(Select,{value:Qt,onValueChange:Xt=>er(Xt),children:[jsxRuntimeExports.jsx(SelectTrigger,{className:"w-full h-9 text-left bg-white/[0.02] border-white/[0.08] rounded-lg hover:border-white/15 text-sm",children:jsxRuntimeExports.jsx(SelectValue,{placeholder:"Select product type",children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center w-5 h-5 rounded bg-primary/10 text-primary",children:(xr=productTypeOptions.find(Xt=>Xt.id===Qt))==null?void 0:xr.icon}),jsxRuntimeExports.jsx("span",{className:"font-medium truncate",children:(Pr=productTypeOptions.find(Xt=>Xt.id===Qt))==null?void 0:Pr.label})]})})}),jsxRuntimeExports.jsx(SelectContent,{className:"bg-popover border-border rounded-xl z-50",children:productTypeOptions.map(Xt=>jsxRuntimeExports.jsx(SelectItem,{value:Xt.id,className:"cursor-pointer py-2.5 px-3 rounded-lg focus:bg-primary/5",children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center w-7 h-7 rounded-lg bg-primary/10 text-primary",children:Xt.icon}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col",children:[jsxRuntimeExports.jsx("span",{className:"font-medium text-foreground text-sm",children:Xt.label}),jsxRuntimeExports.jsx("span",{className:"text-xs text-muted-foreground",children:Xt.description})]})]})},Xt.id))})]})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-1.5",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground",children:"Framing"}),jsxRuntimeExports.jsx(ToggleGroup,{type:"single",value:ir,onValueChange:Xt=>{Xt&&Jt(Xt)},className:"w-full gap-0 rounded-lg border border-white/[0.08] bg-white/[0.02] p-0.5",children:viewPoseOptions.map(Xt=>jsxRuntimeExports.jsxs(ToggleGroupItem,{value:Xt.id,className:"flex-1 h-9 rounded-md text-xs font-medium data-[state=on]:bg-primary/15 data-[state=on]:text-primary data-[state=on]:shadow-sm gap-1.5",children:[Xt.icon,Xt.label]},Xt.id))})]})]})]}),jsxRuntimeExports.jsxs("section",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-5 space-y-3 transition-all duration-200 hover:border-white/[0.12] shadow-[0_2px_12px_hsl(0,0%,0%,0.3)]",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2.5",children:[jsxRuntimeExports.jsx("div",{className:"w-8 h-8 rounded-lg bg-gradient-to-br from-primary/25 to-accent/15 flex items-center justify-center shadow-[0_0_12px_hsl(252,85%,62%,0.15)]",children:jsxRuntimeExports.jsx(Ratio,{
753className:"w-4 h-4 text-primary"})}),jsxRuntimeExports.jsx("span",{className:"text-sm font-semibold text-foreground",children:"Aspect Ratio"})]}),jsxRuntimeExports.jsx("div",{className:"grid grid-cols-5 sm:grid-cols-10 gap-2",children:aspectRatioOptions.map(Xt=>{const Vr=48/Math.max(Xt.w,Xt.h),Jr=Math.round(Xt.w*Vr),Ir=Math.round(Xt.h*Vr),Ur=wt===Xt.id;return jsxRuntimeExports.jsxs("button",{type:"button",onClick:()=>Rt(Xt.id),className:`flex flex-col items-center gap-1.5 p-2 rounded-lg border cursor-pointer transition-all 754 ${Ur?"border-primary/50 bg-primary/[0.08] shadow-sm":"border-white/[0.06] bg-white/[0.01] hover:border-white/15 hover:bg-white/[0.03]"}`,children:[jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center h-[52px]",children:jsxRuntimeExports.jsx("div",{className:`rounded-[3px] border ${Ur?"border-primary/60 bg-primary/20":"border-white/20 bg-white/[0.06]"}`,style:{width:Jr,height:Ir}})}),jsxRuntimeExports.jsx("span",{className:`text-[11px] font-medium leading-none ${Ur?"text-primary":"text-foreground/70"}`,children:Xt.label}),jsxRuntimeExports.jsx("span",{className:"text-[9px] text-muted-foreground leading-none",children:Xt.hint})]},Xt.id)})})]}),jsxRuntimeExports.jsxs("section",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-5 space-y-3 transition-all duration-200 hover:border-white/[0.12] shadow-[0_2px_12px_hsl(0,0%,0%,0.3)]",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2.5",children:[jsxRuntimeExports.jsx("div",{className:"w-8 h-8 rounded-lg bg-gradient-to-br from-primary/25 to-accent/15 flex items-center justify-center shadow-[0_0_12px_hsl(252,85%,62%,0.15)]",children:jsxRuntimeExports.jsx(Sparkles,{className:"w-4 h-4 text-primary"})}),jsxRuntimeExports.jsx("span",{className:"text-sm font-semibold text-foreground",children:"Quality"})]}),jsxRuntimeExports.jsxs(ToggleGroup,{type:"single",value:Gt,onValueChange:Xt=>{Xt&&Kt(Xt)},className:"w-full gap-0 rounded-lg border border-white/[0.08] bg-white/[0.02] p-0.5",children:[jsxRuntimeExports.jsxs(ToggleGroupItem,{value:"1K",className:"flex-1 h-10 rounded-md text-sm font-medium data-[state=on]:bg-primary/15 data-[state=on]:text-primary data-[state=on]:shadow-sm gap-1.5 flex-col",children:[jsxRuntimeExports.jsx("span",{children:"Standard (1K)"}),jsxRuntimeExports.jsx("span",{className:"text-[10px] text-muted-foreground",children:"1 credit/image"})]}),jsxRuntimeExports.jsxs(ToggleGroupItem,{value:"2K",disabled:!0,className:"flex-1 h-10 rounded-md text-sm font-medium opacity-50 cursor-not-allowed data-[state=on]:bg-primary/15 data-[state=on]:text-primary data-[state=on]:shadow-sm gap-1.5 flex-col",children:[jsxRuntimeExports.jsx("span",{children:"HD (2K)"}),jsxRuntimeExports.jsx("span",{className:"text-[10px] text-muted-foreground",children:"Coming Soon"})]})]})]}),jsxRuntimeExports.jsxs("section",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-5 space-y-3 transition-all duration-200 hover:border-white/[0.12] shadow-[0_2px_12px_hsl(0,0%,0%,0.3)]",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2.5",children:[jsxRuntimeExports.jsx("div",{className:"w-8 h-8 rounded-lg bg-gradient-to-br from-primary/25 to-accent/15 flex items-center justify-center shadow-[0_0_12px_hsl(252,85%,62%,0.15)]",children:jsxRuntimeExports.jsx(Maximize,{className:"w-4 h-4 text-primary"})}),jsxRuntimeExports.jsx("span",{className:"text-sm font-semibold text-foreground",children:"Views"})]}),jsxRuntimeExports.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-2",children:dt.length===0?jsxRuntimeExports.jsx("p",{className:"col-span-4 text-muted-foreground text-xs py-3 text-center",children:"No views configured. Go to Prompt Builder to add views."}):dt.map(Xt=>jsxRuntimeExports.jsxs("label",{className:`flex items-center gap-2 p-3 rounded-lg border cursor-pointer transition-colors duration-150 755 ${ft.includes(Xt.id)?"border-primary/50 bg-primary/[0.06]":"border-white/[0.08] bg-white/[0.02] hover:border-white/15 hover:bg-white/[0.04]"}`,children:[jsxRuntimeExports.jsx(Checkbox,{checked:ft.includes(Xt.id),onCheckedChange:Rr=>qt(Xt.id,Rr),className:"h-4 w-4 data-[state=checked]:bg-primary data-[state=checked]:border-primary"}),jsxRuntimeExports.jsx("span",{className:"font-body text-sm text-foreground truncate",children:Xt.label})]},Xt.id))})]}),jsxRuntimeExports.jsxs("section",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-5 space-y-3 transition-all duration-200 hover:border-white/[0.12] shadow-[0_2px_12px_hsl(0,0%,0%,0.3)]",children:[jsxRuntimeExports.jsx(ColorVariantSelector,{variants:Ct,onVariantsChange:jt,baseColor:(Dr=Dt==null?void 0:Dt.colors[0])==null?void 0:Dr.sourceHex}),rr&&jsxRuntimeExports.jsxs("div",{className:cn("flex items-start gap-2.5 rounded-lg px-3 py-2.5 text-xs border-l-[3px]",tr?"bg-amber-500/10 border-l-amber-500 text-amber-200":"bg-white/[0.03] border-l-amber-500/60 text-muted-foreground"),children:[jsxRuntimeExports.jsx(TriangleAlert,{className:"w-4 h-4 shrink-0 mt-0.5 text-amber-400"}),jsxRuntimeExports.jsx("p",{className:"leading-relaxed",children:"Complex multi-color pattern detected. A plain color variant (+) recolors the whole item into one solid color and destroys the pattern. Use the button below to change individual pattern colors instead."})]}),jsxRuntimeExports.jsxs("div",{className:"pt-1 border-t border-white/[0.05]",children:[jsxRuntimeExports.jsxs(Button,{type:"button",variant:rr?"outline":"ghost",size:"sm",className:cn("h-8 px-2 text-xs",rr?"border-amber-500/40 hover:bg-amber-500/10 text-foreground":"text-muted-foreground hover:text-foreground"),disabled:Tt,onClick:()=>void ar(),children:[Tt?jsxRuntimeExports.jsx(LoaderCircle,{className:"w-3.5 h-3.5 mr-1.5 animate-spin"}):jsxRuntimeExports.jsx(Palette,{className:"w-3.5 h-3.5 mr-1.5"}),"Edit pattern color map"]}),jsxRuntimeExports.jsx("p",{className:"text-[10px] text-muted-foreground
755/60 mt-1 px-2",children:"Optional â pick specific colors on complex patterns (stripes, geometric, plaid)"})]})]}),jsxRuntimeExports.jsxs("section",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-5 space-y-3 transition-all duration-200 hover:border-white/[0.12] shadow-[0_2px_12px_hsl(0,0%,0%,0.3)]",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2.5",children:[jsxRuntimeExports.jsx("div",{className:"w-8 h-8 rounded-lg bg-gradient-to-br from-primary/25 to-accent/15 flex items-center justify-center shadow-[0_0_12px_hsl(252,85%,62%,0.15)]",children:jsxRuntimeExports.jsx(Lightbulb,{className:"w-4 h-4 text-primary"})}),jsxRuntimeExports.jsx("span",{className:"text-sm font-semibold text-foreground",children:"Additional Details"}),jsxRuntimeExports.jsx("span",{className:"text-xs text-muted-foreground ml-1",children:"(optional)"})]}),jsxRuntimeExports.jsx(Textarea,{value:Bt,onChange:Xt=>Zt(Xt.target.value),placeholder:"Specific details to preserve â e.g. 'embroidered logo on chest', 'metallic zipper', 'sheer mesh overlay'...",className:"min-h-[80px] resize-none bg-white/[0.02] border-white/[0.08] rounded-lg text-sm placeholder:text-muted-foreground/40 focus:border-primary/30",maxLength:500}),Bt.length>0&&jsxRuntimeExports.jsxs("p",{className:"text-[10px] text-muted-foreground/50 text-right",children:[Bt.length,"/500"]})]}),(or||Wt)&&jsxRuntimeExports.jsxs("section",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-5 space-y-4 transition-all duration-200 hover:border-white/[0.12] shadow-[0_2px_12px_hsl(0,0%,0%,0.3)]",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2.5",children:[jsxRuntimeExports.jsx("div",{className:"w-8 h-8 rounded-lg bg-gradient-to-br from-primary/25 to-accent/15 flex items-center justify-center shadow-[0_0_12px_hsl(252,85%,62%,0.15)]",children:jsxRuntimeExports.jsx(Palette,{className:"w-4 h-4 text-primary"})}),jsxRuntimeExports.jsx("span",{className:"text-sm font-semibold text-foreground",children:"Environment"})]}),or&&jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground",children:"Studio Background"}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntimeExports.jsxs(Popover,{children:[jsxRuntimeExports.jsx(PopoverTrigger,{asChild:!0,children:jsxRuntimeExports.jsx("button",{type:"button",className:"w-10 h-10 rounded-lg border border-white/20 cursor-pointer shrink-0 shadow-sm transition-transform hover:scale-105",style:{backgroundColor:xt}})}),jsxRuntimeExports.jsx(PopoverContent,{className:"w-64",align:"start",children:jsxRuntimeExports.jsxs("div",{className:"space-y-3",children:[jsxRuntimeExports.jsx("h4",{className:"font-medium text-sm",children:"Backgroun
755d Color"}),jsxRuntimeExports.jsx("div",{className:"grid grid-cols-6 gap-2",children:BG_PRESETS.map(Xt=>jsxRuntimeExports.jsx("button",{type:"button",onClick:()=>yt(Xt.color),className:`w-8 h-8 rounded-full border hover:scale-110 transition-transform ${xt===Xt.color?"border-primary ring-2 ring-primary/30":"border-border"}`,style:{backgroundColor:Xt.color},title:Xt.name},Xt.color))}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2 pt-2 border-t",children:[jsxRuntimeExports.jsx("input",{type:"color",value:xt,onChange:Xt=>yt(Xt.target.value),className:"w-8 h-8 rounded border border-border cursor-pointer"}),jsxRuntimeExports.jsx(Input,{value:xt.toUpperCase(),onChange:Xt=>{const Rr=Xt.target.value;/^#[0-9A-Fa-f]{6}$/.test(Rr)&&yt(Rr)},className:"flex-1 h-8 text-xs font-mono",maxLength:7})]})]})})]}),jsxRuntimeExports.jsx("span",{className:"text-xs text-foreground font-mono",children:xt.toUpperCase()})]})]}),Wt&&jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground",children:"Outdoor Location"}),jsxRuntimeExports.jsx(CitySelect,{value:vt,onValueChange:bt})]})]}),ft.length>0&&jsxRuntimeExports.jsxs("div",{className:"flex flex-wrap items-center gap-2.5 text-xs text-muted-foreground rounded-lg px-4 py-3 border-l-[3px] border-l-primary/50 bg-white/[0.02]",children:[jsxRuntimeExports.jsxs("span",{className:"text-foreground font-semibold",children:[ft.length," view",ft.length!==1?"s":""]}),jsxRuntimeExports.jsx("span",{className:"text-white/15",children:"·"}),jsxRuntimeExports.jsxs("span",{children:[Ct.filter(Xt=>!Xt.isBase).length+1," variant",Ct.filter(Xt=>!Xt.isBase).length>0?"s":""]}),jsxRuntimeExports.jsx("span",{className:"text-white/15",children:"·"}),jsxRuntimeExports.jsx("span",{children:"Standard (1K)"}),jsxRuntimeExports.jsx("span",{className:"text-white/15",children:"·"}),jsxRuntimeExports.jsx("span",{children:(Tr=viewPoseOptions.find(Xt=>Xt.id===ir))==null?void 0:Tr.label}),jsxRuntimeExports.jsxs("span",{className:"ml-auto text-primary font-semibold",children:[ft.length," view",ft.length!==1?"s":""," à ",Ct.filter(Xt=>!Xt.isBase).length+1," color",Ct.filter(Xt=>!Xt.isBase).length+1!==1?"s":""," = ",Lt," image",Lt!==1?"s":""," · ",Ut," credit",Ut!==1?"s":""]})]}),jsxRuntimeExports.jsx("div",{className:"sm:hidden",children:jsxRuntimeExports.jsxs(Collapsible,{open:it,onOpenChange:st,children:[jsxRuntimeExports.jsxs(CollapsibleTrigger,{className:"flex items-center justify-between w-full px-4 py-2 text-sm font-medium border rounded-xl border-white/[0.06] bg-white/[0.02]",children:["Export to Shopify",jsxRuntimeExports.jsx(ChevronDown,{className:cn("w-4 h-4 transition-transform",it&&"rotate-180")})]}),jsxRuntimeExports.jsx(CollapsibleContent,{children:jsxRuntimeExports.jsx(ShopifyExportPanel,{onChange:tt??noop$4})})]})}),jsxRuntimeExports.jsx("div",{className:"hidden sm:block",children:jsxRuntimeExports.jsx(ShopifyExportPanel,{onChange:tt??noop$4})}),jsxRuntimeExports.jsxs("div",{className:"flex gap-3 pt-1",children:[jsxRuntimeExports.jsx(Button,{variant:"outline",onClick:()=>nt(1),className:"h-12 border-white/[0.08] hover:bg-white/[0.04]",children:"Back"}),jsxRuntimeExports.jsx(Button,{onClick:gr,disabled:!nr||j,variant:"hero",className:cn("flex-1 h-14 text-base font-medium rounded-xl",nr&&!j&&"shadow-[0_0_30px_hsl(252,85%,62%,0.35)] hover:shadow-[0_0_40px_hsl(252,85%,62%,0.5)]"),children:j?jsxRuntimeExports.jsxs("span",{className:"flex items-center space-x-2",children:[jsxRuntimeExports.jsxs("svg",{className:"animate-spin h-5 w-5",viewBox:"0 0 24 24",children:[jsxRuntimeExports.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",fill:"none"}),jsxRuntimeExports.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),jsxRuntimeExports.jsx("span",{children:"Generating..."})]}):jsxRuntimeExports.jsxs("span",{className:"flex items-center space-x-2",children:[jsxRuntimeExports.jsx(Sparkles,{className:"w-5 h-5"}),jsxRuntimeExports.jsxs("span",{children:["Generate ",Lt," Image",Lt!==1?"s":""]})]})})]})]})]})]}),jsxRuntimeExports.jsx(Dialog,{open:at,onOpenChange:ot,children:jsxRuntimeExports.jsxs(DialogContent,{className:"max-w-xl max-h-[85vh] overflow-y-auto",children:[jsxRuntimeExports.jsxs(DialogHeader,{children:[jsxRuntimeExports.jsx(DialogTitle,{children:"Pattern color map"}),jsxRuntimeExports.jsx(DialogDescription,{children:"For complex patterns only. Map which fabric colors to keep or change. Solid items usually do not need this."})]}),kt&&jsxRuntimeExports.jsx("p",{className:"text-sm text-destructive",children:kt}),jsxRuntimeExports.jsx(ColorMapEditor,{colorMap:Dt,onColorMapChange:It,isDetecting:Tt,onRetryDetect:lr,productImage:pt}),jsxRuntimeExports.jsxs(DialogFooter,{className:"gap-2 sm:gap-0",children:[jsxRuntimeExports.jsx(Button,{variant:"outline",onClick:()=>ot(!1),disabled:Tt,children:"Cancel"}),jsxRuntimeExports.jsx(Button,{variant:"hero",onClick:sr,disabled:Tt||!(Dt!=null&&Dt.colors.length),children:"Apply"})]})]})})]})}const HOME_DECOR_PLACEMENT_ICON=MapPin,HOME_DECOR_CATEGORIES=[{id:"wall-art",label:"Wall Art",icon:Image$2,placements:[{id:"sofa-wall",label:"Sofa wall"},{id:"bedroom-wall",label:"Bedroom wall"},{id:"hallway-wall",label:"Hallway wall"},{id:"dining-wall",label:"Dining wall"},{id:"stairway-wall",label:"Stairway wall"}]},{id:"mirrors",label:"Mirrors",icon:ScanLine,placements:[{id:"entryway-wall",label:"Entryway wall"},{id:"bedroom-wall",label:"Bedroom wall"},{id:"bathroom-vanity",label:"Bathroom vanity"},{id:"hallway-wall",label:"Hallway wall"},{id:"dressing-corner",label:"Dressing corner"}]},{id:"lighting",label:"Lighting",icon:Lamp,placements:[{id:"living-room",label:"Living room"},{id:"bedroom",label:"Bedroom"},{id:"dining-area",label:"Dining area"},{id:"hallway",label:"Hallway"},{id:"entryway",label:"Entryway"}]},{id:"rugs",label:"Rugs",icon:Grid2x2,placements:[{id:"living-room-seating-area",label:"Living-room seating area"},{id:"bedside",label:"Bedside"},{id:"dining-area",label:"Dining area"},{id:"entryway",label:"Entryway"},{id:"hallway",label:"Hallway"}]},{id:"pillows",label:"Pillows",icon:Square,placements:[{id:"sofa",label:"Sofa"},{id:"bed",label:"Bed"},{id:"armchair",label:"Armchair"},{id:"reading-nook",label:"Reading nook"},{id:"window-bench",label:"Window bench"}]},{id:"blankets",label:"Blankets",icon:Layers,placements:[{id:"sofa",label:"Sofa"},{id:"bed",label:"Bed"},{id:"armchair",label:"Armchair"},{id:"reading-chair",label:"Reading chair"},{id:"ottoman",label:"Ottoman"}]}
755,{id:"vases",label:"Vases",icon:FlaskConical,placements:[{id:"coffee-table",label:"Coffee table"},{id:"console-table",label:"Console table"},{id:"dining-table",label:"Dining table"},{id:"shelf",label:"Shelf"},{id:"mantel",label:"Mantel"}]},{id:"candles",label:"Candles",icon:Flame,placements:[{id:"coffee-table",label:"Coffee table"},{id:"dining-table",label:"Dining table"},{id:"shelf",label:"Shelf"},{id:"bathroom-counter",label:"Bathroom counter"},{id:"bedside-table",label:"Bedside table"}]},{id:"plants",label:"Plants",icon:Sprout,placements:[{id:"living-room-corner",label:"Living-room corner"},{id:"windowsill",label:"Windowsill"},{id:"shelf",label:"Shelf"},{id:"desk",label:"Desk"},{id:"balcony",label:"Balcony"}]},{id:"clocks",label:"Clocks",icon:Clock,placements:[{id:"living-room-wall",label:"Living-room wall"},{id:"kitchen-wall",label:"Kitchen wall"},{id:"mantel",label:"Mantel"},{id:"office-wall",label:"Office wall"},{id:"bedside-table",label:"Bedside table"}]},{id:"baskets",label:"Baskets",icon:ShoppingBasket,placements:[{id:"living-room-corner",label:"Living-room corner"},{id:"bedroom",label:"Bedroom"},{id:"bathroom",label:"Bathroom"},{id:"entryway",label:"Entryway"},{id:"laundry-area",label:"Laundry area"}]}];function getHomeDecorCategory(_){return HOME_DECOR_CATEGORIES.find(j=>j.id===_)}function getPlacementLabel(_,j){var et,tt;return(tt=(et=getHomeDecorCategory(_))==null?void 0:et.placements.find(rt=>rt.id===j))==null?void 0:tt.label}function getDefaultPlacements(_){var rt,nt;const j=getHomeDecorCategory(_),et=((rt=j==null?void 0:j.placements[0])==null?void 0:rt.id)??"",tt=((nt=j==null?void 0:j.placements[1])==null?void 0:nt.id)??et;return{primary:et,secondary:tt}}const HOME_DECOR_SCENE_SCALES=[{id:"small-accent",label:"Small accent",hint:"Under 20 cm â tiny wall decor"},{id:"standard",label:"Standard",hint:"20â60 cm â typical wall decor"},{id:"statement",label:"Statement piece",hint:"Over 60 cm â large focal art"}];function supportsSceneScale(_){return _==="wall-art"||_==="mirrors"||_==="clocks"}function getDefaultSceneScale(_){switch(_){case"wall-art":return"small-accent";case"clocks":return"standard";case"mirrors":return"standard";default:return"standard"}}const CLOCK_MOUNT_TYPES=[{id:"wall",label:"Wall-hung",hint:"Clock mounted on a full interior wall"},{id:"mantel",label:"Mantel / shelf",hint:"Clock sitting on a mantel or shelf"},{id:"table",label:"Table / nightstand",hint:"Clock on a table or bedside surface"}];function getDefaultClockMount(){return"wall"}function supportsClockMount(_){return _==="clocks"}const LIGHTING_MOUNT_TYPES=[{id:"ceiling",label:"Ceiling",hint:"Flush-mount or pendant on ceiling"},{id:"table",label:"Table / desk",hint:"Lamp on a table or nightstand"},{id:"floor",label:"Floor",hint:"Standing floor lamp"},{id:"wall-sconce",label:"Wall sconce",hint:"Mounted on the wall"}];function getDefaultLightingMount(){return"ceiling"}const noop$3=_=>{},IMAGE_MODEL="nano-banana-2",HOMEDECOR_CREDITS_PER_IMAGE=1,HOMEDECOR_STEP_LABELS=["Upload","Configure"];function isFullProductPerspective(_){return _.toLowerCase().includes("fullproduct")||_.toLowerCase().includes("full")}function isPrimaryPerspective(_){return _.toLowerCase().includes("primary")}function isSecondaryPerspective(_){return _.toLowerCase().includes("secondary")}function HomeDecorFlow({onGenerate:_,isGenerating:j,onStepChange:et,onExportConfigChange:tt}){const[rt,nt]=reactExports.useState(1),[it,st]=reactExports.useState(!1);reactExports.useEffect(()=>{et==null||et(rt)},[rt,et]);const at=reactExports.useMemo(()=>getEnabledHomeDecorViews(),[]),[ot,lt]=reactExports.useState(null),[ct,ut]=reactExports.useState([]),[dt,ht]=reactExports.useState("#F7F7F7"),[pt,gt]=reactExports.useState(null),[ft,mt]=reactExports.useState(""),[xt,yt]=reactExports.useState(""),[vt,bt]=reactExports.useState("standard"),[Et,_t]=reactExports.useState("ceiling"),[wt,Rt]=reactExports.useState("wall"),[Ct,jt]=reactExports.useState("1K"),Dt=reactExports.useMemo(()=>HOME_DECOR_CATEGORIES.find(Bt=>Bt.id===pt),[pt]),It=(Dt==null?void 0:Dt.placements)??[],Ot=Bt=>{gt(Bt);const{primary:Zt,secondary:qt}=getDefaultPlacements(Bt);mt(Zt),yt(qt),bt(getDefaultSceneScale(Bt)),Bt==="lighting"&&_t(getDefaultLightingMount()),Bt==="clocks"&&Rt(getDefaultClockMount())},At=(Bt,Zt)=>{ut(Zt?[...ct,Bt]:ct.filter(qt=>qt!==Bt))},Tt=()=>{!ot||ct.length===0||!pt||_({productImage:ot,perspectives:ct,backgroundColor:dt,subCategory:pt,primaryPlacement:ft,secondaryPlacement:xt,...supportsSceneScale(pt)?{sceneScale:vt}:{},...pt==="lighting"?{lightingMount:Et}:{},...pt==="clocks"?{clockMount:wt}:{},resolution:"1K",imageModel:IMAGE_MODEL})},kt=ct.length*HOMEDECOR_CREDITS_PER_IMAGE,St=ct.some(isFullProductPerspective),Pt=ct.some(isPrimaryPerspective),$t=ct.some(isSecondaryPerspective),Nt=Pt||$t,Mt=supportsSceneScale(pt)&&Nt,Vt=pt==="lighting"&&Nt,Ht=supportsClockMount(pt)&&Nt,Qt=!!(ot&&ct.length>0&&pt),er=(Bt,Zt)=>pt?isPrimaryPerspective(Bt)?getPlacementLabel(pt,ft)??"Choose placement":isSecondaryPerspective(Bt)?getPlacementLabel(pt,xt)??"Choose placement":Zt:isPrimaryPerspective(Bt)||isSecondaryPerspective(Bt)?"Choose placement":Zt,ir=reactExports.useMemo(()=>at.map(Bt=>({id:Bt.id,label:Bt.name,description:er(Bt.id,Bt.placement),prompt:Bt.prompt})),[at,pt,ft,xt]),Jt=reactExports.useMemo(()=>{var Zt,qt,lr;const Bt=[];
755if(at.forEach(ar=>{ct.includes(ar.id)&&Bt.push(ar.name)}),Dt&&Bt.push(Dt.label),Pt&&pt){const ar=getPlacementLabel(pt,ft);ar&&Bt.push(ar)}if($t&&pt){const ar=getPlacementLabel(pt,xt);ar&&Bt.push(ar)}if(Mt){const ar=(Zt=HOME_DECOR_SCENE_SCALES.find(Yt=>Yt.id===vt))==null?void 0:Zt.label;ar&&Bt.push(ar)}if(Vt){const ar=(qt=LIGHTING_MOUNT_TYPES.find(Yt=>Yt.id===Et))==null?void 0:qt.label;ar&&Bt.push(ar)}if(Ht){const ar=(lr=CLOCK_MOUNT_TYPES.find(Yt=>Yt.id===wt))==null?void 0:lr.label;ar&&Bt.push(ar)}return[...new Set(Bt)]},[ct,at,Dt,Pt,$t,pt,ft,xt,Mt,vt,Vt,Et,Ht,wt]),Gt=HOME_DECOR_PLACEMENT_ICON,Kt=(Bt,Zt,qt)=>jsxRuntimeExports.jsxs("div",{className:"space-y-1",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground",children:Bt}),jsxRuntimeExports.jsxs(Select,{value:Zt,onValueChange:qt,children:[jsxRuntimeExports.jsx(SelectTrigger,{className:"w-full h-11 text-left bg-white/[0.02] border-white/[0.08] rounded-lg hover:border-white/15 text-sm",children:jsxRuntimeExports.jsx(SelectValue,{placeholder:"Select placement",children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center w-6 h-6 rounded-md bg-primary/10 text-primary",children:jsxRuntimeExports.jsx(Gt,{className:"w-4 h-4"})}),jsxRuntimeExports.jsx("span",{className:"font-medium truncate",children:pt?getPlacementLabel(pt,Zt)??"Select placement":"Select placement"})]})})}),jsxRuntimeExports.jsx(SelectContent,{className:"bg-popover border-border rounded-xl z-50",children:It.map(lr=>jsxRuntimeExports.jsx(SelectItem,{value:lr.id,className:"cursor-pointer py-3 px-3 rounded-lg focus:bg-primary/5",children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center w-8 h-8 rounded-lg bg-primary/10 text-primary",children:jsxRuntimeExports.jsx(Gt,{className:"w-4 h-4"})}),jsxRuntimeExports.jsx("span",{className:"font-medium text-foreground",children:lr.label})]})},lr.id))})]})]});return jsxRuntimeExports.jsxs("div",{className:"space-y-5",children:[jsxRuntimeExports.jsx(StepProgress,{currentStep:rt,totalSteps:2,labels:HOMEDECOR_STEP_LABELS}),rt===1&&jsxRuntimeExports.jsxs("div",{className:"space-y-6 w-full",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-1",children:[jsxRuntimeExports.jsx("h2",{className:"font-display text-2xl md:text-3xl font-medium text-foreground tracking-tight",children:"Upload your product"}),jsxRuntimeExports.jsx("p",{className:"text-muted-foreground/90 text-sm font-body",children:"Drop a clear photo and we'll create lifestyle shots"})]}),jsxRuntimeExports.jsxs("div",{className:"rounded-2xl border border-white/[0.06] bg-white/[0.02] shadow-card overflow-hidden",children:[jsxRuntimeExports.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[1fr_280px] gap-0",children:[jsxRuntimeExports.jsxs("div",{className:"p-6 lg:p-8 space-y-4",children:[jsxRuntimeExports.jsxs(Label$2,{className:"text-sm font-medium text-foreground/90",children:["Product Image ",jsxRuntimeExports.jsx("span",{className:"text-destructive",children:"*"})]}),jsxRuntimeExports.jsx(ImageUpload,{value:ot,onChange:lt,size:"large"}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:"Clear image used in all shots"})]}),jsxRuntimeExports.jsxs("div",{className:"border-t lg:border-t-0 lg:border-l border-white/[0.06] p-6 lg:p-8 bg-white/[0.01]",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[jsxRuntimeExports.jsx(Lightbulb,{className:"w-4 h-4 text-primary"}),jsxRuntimeExports.jsx("h3",{className:"text-sm font-medium text-foreground",children:"Tips for best results"})]}),jsxRuntimeExports.jsx("ul",{className:"space-y-3",children:["Plain or neutral background","Good, even lighting","Product fills most of the frame","High resolution (min 800px)"].map(Bt=>jsxRuntimeExports.jsxs("li",{className:"flex items-start gap-2 text-sm text-muted-foreground",children:[jsxRuntimeExports.jsx(Check,{className:"w-4 h-4 shrink-0 mt-0.5 text-primary/70"}),jsxRuntimeExports.jsx("span",{children:Bt})]},Bt))})]})]}),jsxRuntimeExports.jsx("div",{className:"px-6 lg:px-8 py-4 border-t border-white/[0.06] flex justify-end",children:jsxRuntimeExports.jsxs(Button,{onClick:()=>nt(2),disabled:!ot,className:"h-12 px-8 bg-gradient-primary text-primary-foreground hover:opacity-95 disabled:opacity-50",children:["Continue",jsxRuntimeExports.jsx(ArrowRight,{className:"w-4 h-4 ml-2"})]})})]})]}),rt===2&&jsxRuntimeExports.jsxs("div",{className:"space-y-5",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-1",children:[jsxRuntimeExports.jsx("h2",{className:"font-display text-2xl md:text-3xl font-medium text-foreground tracking-tight",children:"Configure your shots"}
755),jsxRuntimeExports.jsx("p",{className:"text-muted-foreground/90 text-sm font-body",children:"Select image types, category, and placements for lifestyle scenes"})]}),jsxRuntimeExports.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[320px_1fr] gap-6 lg:gap-10 items-start",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-2 md:sticky md:top-4",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-sm font-medium text-foreground/90",children:"Product Image"}),jsxRuntimeExports.jsx("div",{className:"w-full max-w-[320px]",children:jsxRuntimeExports.jsx(ImageUpload,{value:ot,onChange:lt})})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-5 min-w-0",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground",children:"Select Image Types"}),jsxRuntimeExports.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-2",children:ir.length===0?jsxRuntimeExports.jsx("p",{className:"col-span-2 text-muted-foreground text-xs py-3 text-center",children:"No views configured. Go to Prompt Builder to add views."}):ir.map(Bt=>jsxRuntimeExports.jsxs("label",{className:`flex items-center gap-2 p-3 rounded-lg border cursor-pointer transition-colors duration-150 756 ${ct.includes(Bt.id)?"border-primary/50 bg-primary/[0.06]":"border-white/[0.08] bg-white/[0.02] hover:border-white/15 hover:bg-white/[0.04]"}`,children:[jsxRuntimeExports.jsx(Checkbox,{checked:ct.includes(Bt.id),onCheckedChange:Zt=>At(Bt.id,Zt),className:"h-4 w-4 data-[state=checked]:bg-primary data-[state=checked]:border-primary"}),jsxRuntimeExports.jsxs("div",{className:"min-w-0",children:[jsxRuntimeExports.jsx("span",{className:"font-body text-sm font-medium text-foreground block truncate",children:Bt.label}),jsxRuntimeExports.jsx("span",{className:"text-xs text-muted-foreground block truncate",children:Bt.description})]})]},Bt.id))})]}),Jt.length>0&&jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx("span",{className:"text-xs font-medium text-muted-foreground",children:"Selected:"}),jsxRuntimeExports.jsx("div",{className:"flex flex-wrap gap-2",children:Jt.map(Bt=>jsxRuntimeExports.jsx("span",{className:"inline-flex items-center px-3 py-1.5 rounded-lg bg-primary/15 text-primary text-sm font-medium",children:Bt},Bt))})]}),St&&jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground",children:"Studio Background"}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 p-3 rounded-lg bg-white/[0.02] border border-white/[0.08]",children:[jsxRuntimeExports.jsx("input",{type:"color",value:dt,onChange:Bt=>ht(Bt.target.value),className:"w-10 h-10 rounded-lg border border-white/20 cursor-pointer appearance-none shrink-0",style:{backgroundColor:dt}}),jsxRuntimeExports.jsx("span",{className:"text-xs text-foreground",children:dt.toUpperCase()})]})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground",children:"Category â select one to reveal placements"}),jsxRuntimeExports.jsx("div",{className:"flex flex-wrap gap-2",children:HOME_DECOR_CATEGORIES.map(Bt=>{const Zt=Bt.icon,qt=pt===Bt.id;return jsxRuntimeExports.jsxs("button",{type:"button",onClick:()=>Ot(Bt.id),className:cn("inline-flex items-center gap-2 px-3 py-2 rounded-lg border text-sm font-medium transition-colors duration-150",qt?"border-primary/60 bg-primary/[0.08] text-primary":"border-white/[0.08] bg-white/[0.02] text-foreground/90 hover:border-white/15 hover:bg-white/[0.04]"),children:[jsxRuntimeExports.jsx(Zt,{className:"w-4 h-4 shrink-0"}),jsxRuntimeExports.jsx("span",{children:Bt.label})]},Bt.id)})})]}),Nt&&jsxRuntimeExports.jsx("div",{className:"space-y-3",children:pt?jsxRuntimeExports.jsxs("div",{className:"space-y-3 pl-3 border-l-2 border-primary/40",children:[jsxRuntimeExports.jsxs("p",{className:"text-xs font-medium text-primary flex items-center gap-1.5",children:[jsxRuntimeExports.jsx(Sparkle,{className:"w-3.5 h-3.5"}),"Placements for ",Dt==null?void 0:Dt.label]}),Pt&&Kt("Primary Placement",ft,mt),$t&&Kt("Secondary Placement",xt,yt)]}):jsxRuntimeExports.jsxs("div",{className:"flex flex-col items-center justify-center gap-2 py-10 px-4 roun
756ded-xl border border-dashed border-white/[0.12] bg-white/[0.01] text-center",children:[jsxRuntimeExports.jsx(Sparkle,{className:"w-5 h-5 text-muted-foreground/60"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground",children:"Primary and Secondary Placement appear here once you pick a category"})]})}),Ht&&jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground",children:"Mount type"}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground/80",children:"How is this clock displayed?"}),jsxRuntimeExports.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-2",children:CLOCK_MOUNT_TYPES.map(Bt=>jsxRuntimeExports.jsxs("button",{type:"button",onClick:()=>Rt(Bt.id),className:cn("flex flex-col items-start gap-0.5 p-3 rounded-lg border text-left transition-colors duration-150",wt===Bt.id?"border-primary/60 bg-primary/[0.08] text-primary":"border-white/[0.08] bg-white/[0.02] text-foreground/90 hover:border-white/15 hover:bg-white/[0.04]"),children:[jsxRuntimeExports.jsx("span",{className:"text-sm font-medium",children:Bt.label}),jsxRuntimeExports.jsx("span",{className:"text-[11px] text-muted-foreground",children:Bt.hint})]},Bt.id))})]}),Vt&&jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground",children:"Mount type"}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground/80",children:"How is this light fixture installed?"}),jsxRuntimeExports.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:LIGHTING_MOUNT_TYPES.map(Bt=>jsxRuntimeExports.jsxs("button",{type:"button",onClick:()=>_t(Bt.id),className:cn("flex flex-col items-start gap-0.5 p-3 rounded-lg border text-left transition-colors duration-150",Et===Bt.id?"border-primary/60 bg-primary/[0.08] text-primary":"border-white/[0.08] bg-white/[0.02] text-foreground/90 hover:border-white/15 hover:bg-white/[0.04]"),children:[jsxRuntimeExports.jsx("span",{className:"text-sm font-medium",children:Bt.label}),jsxRuntimeExports.jsx("span",{className:"text-[11px] text-muted-foreground",children:Bt.hint})]},Bt.id))})]}),Mt&&jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground",children:"Size in room"}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground/80",children:"How large should this appear on the wall relative to furniture?"}),jsxRuntimeExports.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-2",children:HOME_DECOR_SCENE_SCALES.map(Bt=>jsxRuntimeExports.jsxs("button",{type:"button",onClick:()=>bt(Bt.id),className:cn("flex flex-col items-start gap-0.5 p-3 rounded-lg border text-left transition-colors duration-150",vt===Bt.id?"border-primary/60 bg-primary/[0.08] text-primary":"border-white/[0.08] bg-white/[0.02] text-foreground/90 hover:border-white/15 hover:bg-white/[0.04]"),children:[jsxRuntimeExports.jsx("span",{className:"text-sm font-medium",children:Bt.label}),jsxRuntimeExports.jsx("span",{className:"text-[11px] text-muted-foreground",children:Bt.hint})]},Bt.id))})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground",children:"Quality"}),jsxRuntimeExports.jsxs(ToggleGroup,{type:"single",value:Ct,onValueChange:Bt=>{Bt&&jt(Bt)},className:"w-full gap-0 rounded-lg border border-white/[0.08] bg-white/[0.02] p-0.5",children:[jsxRuntimeExports.jsxs(ToggleGroupItem,{value:"1K",className:"flex-1 h-9 rounded-md text-sm font-medium data-[state=on]:bg-primary/15 data-[state=on]:text-primary data-[state=on]:shadow-sm gap-1.5 flex-col",children:[jsxRuntimeExports.jsx("span",{children:"Standard (1K)"}),jsxRuntimeExports.jsx("span",{className:"text-[10px] text-muted-foreground",children:"1 credit/image"})]}),jsxRuntimeExports.jsxs(ToggleGroupItem,{value:"2K",disabled:!0,className:"flex-1 h-9 rounded-md text-sm font-medium opacity-50 cursor-not-allowed data-[state=on]:bg-primary/15 data-[state=on]:text-primary data-[state=on]:shadow-sm gap-1.5 flex-col",children:[jsxRuntimeExports.jsx("span",{children:"HD (2K)"}),jsxRuntimeExports.jsx("span",{className:"text-[10px] text-muted-foreground",children:"Coming Soon"})]})]})]}),jsxRuntimeExports.jsx("div",{className:"sm:hidden",children:jsxRuntimeExports.jsxs(Collapsible,{open:it,onOpenChange:st,children:[jsxRuntimeExports.jsxs(CollapsibleTrigger,{className:"flex items-center justify-between w-full px-4 py-2 text-sm font-medium border rounded-xl border-white/[0.06] bg-white/[0.02]",children:["Export to Shopify",jsxRuntimeExports.jsx(ChevronDown,{className:cn("w-4 h-4 transition-transform",it&&"rotate-180")}
756)]}),jsxRuntimeExports.jsx(CollapsibleContent,{children:jsxRuntimeExports.jsx(ShopifyExportPanel,{onChange:tt??noop$3})})]})}),jsxRuntimeExports.jsx("div",{className:"hidden sm:block",children:jsxRuntimeExports.jsx(ShopifyExportPanel,{onChange:tt??noop$3})}),jsxRuntimeExports.jsxs("div",{className:"flex gap-3",children:[jsxRuntimeExports.jsx(Button,{variant:"outline",onClick:()=>nt(1),className:"h-12 border-white/[0.08] hover:bg-white/[0.04]",children:"Back"}),jsxRuntimeExports.jsx(Button,{onClick:Tt,disabled:!Qt||j,className:"flex-1 h-14 text-base font-medium bg-gradient-primary text-primary-foreground hover:opacity-95 disabled:opacity-50 transition-all duration-200 rounded-xl shadow-button hover:shadow-button-hover",children:j?jsxRuntimeExports.jsxs("span",{className:"flex items-center space-x-2",children:[jsxRuntimeExports.jsxs("svg",{className:"animate-spin h-5 w-5",viewBox:"0 0 24 24",children:[jsxRuntimeExports.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",fill:"none"}),jsxRuntimeExports.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),jsxRuntimeExports.jsx("span",{children:"Generating..."})]}):pt?jsxRuntimeExports.jsxs("span",{className:"flex items-center space-x-2",children:[jsxRuntimeExports.jsx(Sparkles,{className:"w-5 h-5"}),jsxRuntimeExports.jsxs("span",{children:["Generate ",ct.length," Image",ct.length!==1?"s":""," · ",kt," credit",kt!==1?"s":""]})]}):jsxRuntimeExports.jsxs("span",{className:"flex items-center space-x-2",children:[jsxRuntimeExports.jsx(Lock,{className:"w-5 h-5"}),jsxRuntimeExports.jsx("span",{children:"Select a category to continue"})]})})]})]})]})]})]})}function extractPathFromUrl(_){if(!_)return null;if(!_.startsWith("https://"))return/^[a-zA-Z0-9_\-\/\.]+$/.test(_)&&_.length<=512?_:null;const j="generated-images/",et=_.indexOf(j);if(et===-1)return null;let tt=_.substring(et+j.length);const rt=tt.indexOf("?");return rt!==-1&&(tt=tt.substring(0,rt)),tt||null}function useUserImages(){const{data:_,isLoading:j,error:et,refetch:tt}=useQuery({queryKey:["user-images"],queryFn:async()=>{const{data:{user:rt}}=await supabase.auth.getUser();if(!rt)return[];const{data:nt,error:it}=await supabase.from("generation_tasks").select(` 757 id, 758 result_url, 759 view_name, 760 variant_name, 761 created_at, 762 job_id, 763 parent_task_id, 764 generation_jobs!inner ( 765 niche, 766 created_at 767 ) 768 `).eq("status","done").not("result_url","is",null).order("created_at",{ascending:!1}).limit(500);if(it)throw console.error("Error fetching user images:",it),it;return(nt==null?void 0:nt.map(st=>{const at=st.generation_jobs,ot=Array.isArray(at)?at[0]:at;return{id:st.id,result_url:st.result_url,view_name:st.view_name,variant_name:st.variant_name,created_at:st.created_at,job_id:st.job_id,niche:(ot==null?void 0:ot.niche)??"",job_created_at:(ot==null?void 0:ot.created_at)??"",parent_task_id:st.parent_task_id}}))??[]}});return{images:_??[],isLoading:j,error:et,refetch:tt}}function useSignedUrls(_){const{data:j,isLoading:et}=useQuery({queryKey:["signed-urls",[..._].sort().join(",")],queryFn:async()=>{if(_.length===0)return{};const{data:tt}=await supabase.storage.from("generated-images").createSignedUrls(_,3600),rt={};if(tt)for(const nt of tt)nt.signedUrl&&nt.path&&(rt[nt.path]=nt.signedUrl);return rt},enabled:_.length>0,staleTime:3e6});return{signedMap:j??{},isSigningUrls:et&&_.length>0}}const STORAGE_BUCKET="generated-images";function triggerBlobDownload(_,j){const et=window.URL.createObjectURL(_),tt=document.createElement("a");tt.href=et,tt.download=j,tt.style.display="none",document.body.appendChild(tt),tt.click(),setTimeout(()=>{document.body.removeChild(tt),window.URL.revokeObjectURL(et)},200)}async function downloadViaCanvas(_,j){const et=new Image;et.crossOrigin="anonymous",await new Promise((st,at)=>{et.onload=()=>st(),et.onerror=at,et.src=_});const tt=document.createElement("canvas");
768tt.width=et.naturalWidth,tt.height=et.naturalHeight;const rt=tt.getContext("2d");if(!rt)throw new Error("Canvas context unavailable");rt.drawImage(et,0,0);const nt=tt.toDataURL("image/png"),it=document.createElement("a");it.href=nt,it.download=j,it.style.display="none",document.body.appendChild(it),it.click(),document.body.removeChild(it)}async function downloadImage(_,j){const et=extractPathFromUrl(_);if(et){const{data:rt,error:nt}=await supabase.storage.from(STORAGE_BUCKET).download(et);if(nt)throw nt;if(!rt)throw new Error("Empty download response");triggerBlobDownload(rt,j);return}const tt=await fetch(_);if(!tt.ok)throw new Error(`Fetch failed: ${tt.status}`);triggerBlobDownload(await tt.blob(),j)}async function downloadImageWithFallback(_,j){try{await downloadImage(_,j)}catch(et){console.error("Download failed, trying canvas fallback:",et),await downloadViaCanvas(_,j)}}const viewLabels={front:"Front View",side:"Side View",back:"Back View",outdoor:"Outdoor View",fullProduct:"Full Product Shot",lifestylePrimary:"Lifestyle (Primary)",lifestyleSecondary:"Lifestyle (Secondary)"};function ImageResults({images:_,onReset:j,onFixImage:et,generationMetadata:tt,expectedTotal:rt,onRetryMissing:nt}){var Pt;const it=(tt==null?void 0:tt.aspectRatio)||"1:1",at=($t=>{switch($t){case"4:5":return"aspect-[4/5]";case"9:16":return"aspect-[9/16]";case"16:9":return"aspect-[16/9]";case"4:3":return"aspect-[4/3]";case"3:4":return"aspect-[3/4]";case"2:3":return"aspect-[2/3]";case"3:2":return"aspect-[3/2]";case"5:4":return"aspect-[5/4]";case"21:9":return"aspect-[21/9]";case"1:1":default:return"aspect-square"}})(it),[ot,lt]=reactExports.useState(()=>_.map($t=>({...$t,versions:$t.image?[{id:crypto.randomUUID(),image:$t.image,isOriginal:!0}]:[],selectedVersionIndex:0})));reactExports.useEffect(()=>{lt($t=>_.map((Nt,Mt)=>{var Qt;const Vt=$t[Mt];if(!Vt)return{...Nt,versions:Nt.image?[{id:crypto.randomUUID(),image:Nt.image,isOriginal:!0}]:[],selectedVersionIndex:0};const Ht=Vt.versions.length===0||!((Qt=Vt.versions.find(er=>er.isOriginal))!=null&&Qt.image);if(Nt.image&&Ht){const er={id:crypto.randomUUID(),image:Nt.image,isOriginal:!0},ir=Vt.versions.filter(Jt=>!Jt.isOriginal);return{...Vt,image:Nt.image,error:null,versions:[er,...ir],selectedVersionIndex:0}}return{...Vt,error:Nt.error}}))},[_]);const ct=ot.filter($t=>{var Nt;return $t.versions.length>0&&((Nt=$t.versions[0])==null?void 0:Nt.image)}).length,ut=ot.filter($t=>{var Nt;return!$t.versions.length||!((Nt=$t.versions[0])!=null&&Nt.image)}).length,dt=rt||_.length,ht=ut>0&&ct>0&&nt,pt=(Pt=_.find($t=>$t.jobId))==null?void 0:Pt.jobId,[gt,ft]=reactExports.useState(!1),mt=()=>{var Nt,Mt,Vt,Ht,Qt;const $t=["front","outdoor","side","back"];for(const er of $t){const ir=ot.find(Jt=>{var Gt;return((Gt=Jt.viewId)==null?void 0:Gt.toLowerCase())===er});if((Mt=(Nt=ir==null?void 0:ir.versions)==null?void 0:Nt[0])!=null&&Mt.image)return ir.versions[0].image}return((Qt=(Ht=(Vt=ot[0])==null?void 0:Vt.versions)==null?void 0:Ht[0])==null?void 0:Qt.image)??null},[xt,yt]=reactExports.useState(new Set),[vt,bt]=reactExports.useState(!1),[Et,_t]=reactExports.useState(!1),[wt,Rt]=reactExports.useState(""),[Ct,jt]=reactExports.useState(null),[Dt,It]=reactExports.useState(!1),Ot=async($t,Nt)=>{const Mt=`${Nt.toLowerCase().replace(/\s+/g,"-")}.png`;try{await downloadImageWithFallback($t,Mt)}catch(Vt){console.error("Download failed:",Vt)}},At=$t=>{const Nt=new Set(xt);Nt.has($t)?Nt.delete($t):Nt.add($t),yt(Nt)},Tt=$t=>{vt&&xt.size>0?jt(null):jt($t),Rt(""),_t(!0)},kt=async()=>{if(!(!wt.trim()||!et)){It(!0);try{const $t=vt&&xt.size>0?Array.from(xt):Ct!==null?[Ct]:[];for(const Nt of $t){const Mt=ot[Nt];if(!Mt)continue;const Vt=Mt.versions[Mt.selectedVersionIndex],Ht=mt(),Qt=await et({view:Mt.view,originalImage:Vt.image,fixInstruction:wt.trim(),metadata:{...tt||{},...Ht?{identityAnchorImage:Ht}:{},...Mt.taskId?{originalTaskId:Mt.taskId}:{}}});Qt&<(er=>{const ir=[...er],Jt={id:crypto.randomUUID(),image:Qt,fixInstruction:wt.trim(),isOriginal:!1};return ir[Nt]={...ir[Nt],versions:[...ir[Nt].versions,Jt],selectedVersionIndex:ir[Nt].versions.length},ir})}}catch($t){console.error("Fix image failed:",$t)}finally{It(!1),_t(!1),Rt(""),jt(null),yt(new Set),bt(!1)}}},St=($t,Nt)=>{lt(Mt=>{const Vt=[...Mt];return Vt[$t]={...Vt[$t],selectedVersionIndex:Nt},Vt})};return jsxRuntimeExports.jsxs("div",{className:"space-y-8 w-full",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between flex-wrap gap-4",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-4",children:[jsxRuntimeExports.jsx("div",{className:"inline-flex items-center justify-center w-12 h-12 rounded-xl bg-gradient-to-br from-primary/20 to-accent/10 border border-primary/20 shadow-lg shadow-primary/5",children:jsxRuntimeExports.jsx(Image$2,{className:"w-6 h-6 text-primary"})}),jsxRuntimeExports.jsxs("div",{className:"space-y-1",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntimeExports.jsx("h2",{className:"text-2xl md:text-3xl font-display font-medium text-foreground",children:"Generated Images"}),jsxRuntimeExports.jsxs(Badge,{variant:"secondary",className:"bg-primary/10 text-primary border-primary/20 text-xs",children:[ct,"/",dt]})]}),jsxRuntimeExports.jsxs("p",{className:"text-sm text-muted-foreground font-body",children:[ct," of ",dt," images generated successfully"]})]})]}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[et&&ot.length>1&&jsxRuntimeExports.jsx(Button,{onClick:()=>{bt(!vt),vt&&yt(new Set)},variant:vt?"secondary":"outline",className:"flex items-center space-x-2 border-border",children:vt?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(X$1,{className:"w-4 h-4"}),jsxRuntimeExports.jsx("span",{children:"Cancel Select"})]}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Check,{className:"w-4 h-4"}),jsxRuntimeExports.jsx("span",{children:"Multi Select"})]})}),vt&&xt.size>0&&et&&jsxRuntimeExports.jsxs(Button,{onClick:()=>Tt(-1),variant:"outline",className:"flex items-center space-x-2 border-primary/30 text-primary hover:bg-primary/5",children:[jsxRuntimeExports.jsx(Sparkles,{className:"w-4 h-4"}),jsxRuntimeExports.jsxs("span",{children:["Fix ",xt.size," Images"]})]}),ht&&pt&&jsxRuntimeExports.jsxs(Button,{onClick:async()=>{ft(!0);try{await nt(pt)}finally{ft(!1)}},disabled:gt,variant:"outline",className:"flex items-center space-x-2 border-primary/30 text-primary hover:bg-primary/5",children:[jsxRuntimeExports.jsx(RefreshCw,{className:cn("w-4 h-4",gt&&"animate-spin")}),jsxRuntimeExports.jsx("span",{children:gt?"Retrying...":`Retry ${ut} Missing`})]}),jsxRuntimeExports.jsxs(Button,{onClick:j,variant:"outline",className:"flex items-center space-x-2 border-border hover:bg-secondary",children:[jsxRuntimeExports.jsx(RefreshCw,{className:"w-4 h-4"}),jsxRuntimeExports.jsx("span",{children:"Start Over"})]})]})]}),jsxRuntimeExports.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6 w-full min-w-0",children:ot.map(($t,Nt)=>{var Qt,er;const Mt=$t.versions.length>0&&((Qt=$t.versions[0])==null?void 0:Qt.image),Vt=Mt?$t.versions[$t.selectedVersionIndex]:null,Ht=xt.has(Nt);return Mt?jsxRuntimeExports.jsxs("div",{className:cn("rounded-xl overflow-hidden transition-all duration-200 animate-fade-in","hover:shadow-lg hover:shadow-
768primary/5 hover:scale-[1.02]",vt&&"cursor-pointer",Ht&&"ring-2 ring-primary ring-offset-2 ring-offset-background"),style:{animationDelay:`${Nt*80}ms`,animationFillMode:"both"},onClick:vt?()=>At(Nt):void 0,children:[vt&&jsxRuntimeExports.jsx("div",{className:"absolute top-3 left-3 z-10",children:jsxRuntimeExports.jsx(Checkbox,{checked:Ht,onCheckedChange:()=>At(Nt),className:"h-6 w-6 bg-background/80 backdrop-blur-sm"})}),jsxRuntimeExports.jsxs("div",{className:`${at} relative overflow-hidden flex items-center justify-center`,style:{backgroundColor:(((er=$t.viewId)==null?void 0:er.toLowerCase())||"").includes("outdoor")?void 0:(tt==null?void 0:tt.backgroundColor)||"hsl(var(--secondary))"},children:[jsxRuntimeExports.jsx("img",{src:Vt.image,alt:viewLabels[$t.view]||$t.view,className:"w-full h-full object-cover object-center",loading:"lazy",decoding:"async"}),$t.versions.length>1&&jsxRuntimeExports.jsx("div",{className:"absolute bottom-2 left-2 right-2 flex gap-1 justify-center",children:$t.versions.map((ir,Jt)=>jsxRuntimeExports.jsx("button",{onClick:Gt=>{Gt.stopPropagation(),St(Nt,Jt)},className:cn("w-2.5 h-2.5 rounded-full transition-all",Jt===$t.selectedVersionIndex?"bg-primary scale-125":"bg-background/70 hover:bg-background"),title:ir.isOriginal?"Original":`Fix: ${ir.fixInstruction}`},ir.id))})]}),jsxRuntimeExports.jsxs("div",{className:"p-4 flex flex-col gap-3 min-w-0",children:[jsxRuntimeExports.jsxs("div",{className:"flex flex-col min-w-0",children:[jsxRuntimeExports.jsx("span",{className:"font-body font-medium text-foreground truncate",children:viewLabels[$t.view]||$t.view}),$t.versions.length>1&&jsxRuntimeExports.jsx("span",{className:"text-xs text-muted-foreground",children:Vt.isOriginal?"Original":`Version ${$t.selectedVersionIndex+1}`})]}),jsxRuntimeExports.jsxs("div",{className:"flex flex-wrap gap-2 shrink-0",children:[et&&!vt&&jsxRuntimeExports.jsxs(Button,{onClick:ir=>{ir.stopPropagation(),Tt(Nt)},variant:"outline",size:"sm",className:"flex items-center gap-2 border-primary/20 text-primary hover:bg-primary/5 hover:border-primary/40 shrink-0",children:[jsxRuntimeExports.jsx(Sparkles,{className:"w-3.5 h-3.5"}),jsxRuntimeExports.jsx("span",{children:"Fix"})]}),jsxRuntimeExports.jsxs(Button,{onClick:ir=>{ir.stopPropagation(),Ot(Vt.image,viewLabels[$t.view]||$t.view)},variant:"outline",size:"sm",className:"flex items-center gap-2 border-border hover:bg-secondary shrink-0",children:[jsxRuntimeExports.jsx(Download,{className:"w-3.5 h-3.5"}),jsxRuntimeExports.jsx("span",{children:"Download"})]})]})]})]},`${$t.view}-${Nt}`):jsxRuntimeExports.jsxs("div",{className:"rounded-xl border-2 border-dashed border-muted-foreground/20 bg-white/[0.01] overflow-hidden animate-fade-in",style:{animationDelay:`${Nt*80}ms`,animationFillMode:"both"},children:[jsxRuntimeExports.jsx("div",{className:`${at} relative overflow-hidden flex items-center justify-center`,style:{backgroundColor:(tt==null?void 0:tt.backgroundColor)||"hsl(var(--secondary))",opacity:.5},children:jsxRuntimeExports.jsxs("div",{className:"text-center p-4",children:[jsxRuntimeExports.jsx(X$1,{className:"w-12 h-12 mx-auto text-destructive/60 mb-2"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-destructive font-medium",children:$t.error||"Generation failed"}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:'Use "Start Over" to retry'})]})}),jsxRuntimeExports.jsxs("div",{className:"p-4",children:[jsxRuntimeExports.jsx("span",{className:"font-body font-medium text-foreground truncate block",children:viewLabels[$t.view]||$t.view}),jsxRuntimeExports.jsx("span",{className:"text-xs text-destructive",children:"Failed â please retry"})]})]},`${$t.view}-${Nt}`)})}),ct===0&&jsxRuntimeExports.jsxs("div",{className:"text-center py-12",children:[jsxRuntimeExports.jsx("p",{className:"text-muted-foreground font-body",children:"No images were generated successfully."}),jsxRuntimeExports.jsx(Button,{onClick:j,className:"mt-4",children:"Try Again"})]}),jsxRuntimeExports.jsx(Dialog,{open:Et,onOpenChange:_t,children:jsxRuntimeExports.jsxs(DialogContent,{className:"sm:max-w-md overflow-hidden",children:[jsxRuntimeExports.jsx("div",{className:"h-1 w-full bg-gradient-to-r from-primary to-accent -mt-6 mb-4"}),jsxRuntimeExports.jsxs(DialogHeader,{children:[jsxRuntimeExports.jsxs(DialogTitle,{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx("div",{className:"inline-flex items-center justify-center w-8 h-8 rounded-lg bg-gradient-to-br from-primary/20 to-accent/10",children:jsxRuntimeExports.jsx(Sparkles,{className:"w-4 h-4 text-primary"})}),"Fix Image"]}),jsxRuntimeExports.jsx(DialogDescription,{children:vt&&xt.size>1?`Describe what needs to be fixed. This will apply to ${xt.size} selected images.`:"Describe what needs to be fixed in this image. The same model, view, and styling will be preserved."})]}),jsxRuntimeExports.jsx("div",{className:"space-y-4 py-4",children:jsxRuntimeExports.jsx(Input,{placeholder:"e.g., Make the lighting brighter, adjust the pose, fix the collar...",value:wt,onChange:$t=>Rt($t.target.value),disabled:Dt,onKeyDown:$t=>{$t.key==="Enter"&&!Dt&&wt.trim()&&kt()}})}),jsxRuntimeExports.jsxs(DialogFooter,{children:[jsxRuntimeExports.jsx(Button,{variant:"outline",onClick:()=>_t(!1),disabled:Dt,children:"Cancel"}),jsxRuntimeExports.jsx(Button,{onClick:kt,disabled:!wt.trim()||Dt,className:"flex items-center gap-2 bg-gradient-to-r from-primary to-accent text-primary-foreground hover:opacity-90",children:Dt?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(RefreshCw,{className:"w-4 h-4 animate-spin"}),jsxRuntimeExports.jsx("span",{children:"Fixing..."})]}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Sparkles,{className:"w-4 h-4"}),jsxRuntimeExports.jsx("span",{children:"Apply Fix"})]})})]})]})})]})}const fashionStepLabels={1:"Upload",2:"Configure"},homeDecorStepLabels={1:"Upload",2:"Configure"},nicheLabel={fashion:"Fashion",homeDecor:"Home Decor"};function FlowBreadcrumb({step:_,niche:j,fashionStep:et,homeDecorStep:tt}){if(_==="niche")return null;const rt=[];return j&&rt.push(nicheLabel[j]),_==="configure"?j==="fashion"&&et&&fashionStepLabels[et]?rt.push(fashionStepLabels[et]):j==="homeDecor"&&tt&&homeDecorStepLabels[tt]?rt.push(homeDecorStepLabels[tt]):rt.push("Configure"):_==="loading"?rt.push("Generatingâ¦"):_
768==="results"&&rt.push("Results"),rt.length===0?null:jsxRuntimeExports.jsx("nav",{"aria-label":"Progress",className:cn("flex items-center gap-1.5 text-[11px] tracking-wide","text-muted-foreground/80"),children:rt.map((nt,it)=>jsxRuntimeExports.jsxs("span",{className:"flex items-center gap-1.5",children:[it>0&&jsxRuntimeExports.jsx(ChevronRight,{className:"w-3 h-3 opacity-40"}),jsxRuntimeExports.jsx(Circle,{className:cn("w-1.5 h-1.5",it===rt.length-1?"fill-primary text-primary":"fill-muted-foreground/40 text-muted-foreground/40")}),jsxRuntimeExports.jsx("span",{className:cn(it===rt.length-1?"text-primary font-semibold":"text-muted-foreground/70"),children:nt})]},nt))})}const PHASES=["Analyzing your productâ¦","Setting up the studioâ¦","Styling the modelâ¦","Rendering viewsâ¦","Applying final touchesâ¦"];function getTimeEstimate(_){return _<=1?"~2 minutes":_<=4?"~4â6 minutes":_<=8?"~6â10 minutes":"~10â15 minutes"}function formatElapsed(_){const j=Math.floor(_/1e3),et=Math.floor(j/60),tt=j%60;return`${et}:${tt.toString().padStart(2,"0")}`}function LoadingState({count:_,progress:j=0,partialImages:et=[]}){const tt=_||1,rt=et.filter(ft=>ft.image).length,nt=Math.max(j>0?j:0,rt),it=nt>0,st=tt>0?Math.min(100,nt/tt*100):0,at=reactExports.useRef(Date.now()),[ot,lt]=reactExports.useState(0),[ct,ut]=reactExports.useState(0);reactExports.useState(""),reactExports.useState(PHASES[0]);const[dt,ht]=reactExports.useState(1);reactExports.useEffect(()=>{const ft=setInterval(()=>{lt(Date.now()-at.current)},1e3);return()=>clearInterval(ft)},[]),reactExports.useEffect(()=>{const ft=setInterval(()=>{ht(0),setTimeout(()=>{ut(mt=>(mt+1)%PHASES.length),ht(1)},300)},4e3);return()=>clearInterval(ft)},[]);const pt=it&&nt>0&&nt===tt-1,gt=it?pt?"Finishing last imageâ¦":`${nt} of ${tt} image${tt===1?"":"s"} ready`:PHASES[ct];return jsxRuntimeExports.jsx("div",{className:"flex-1 min-h-0 flex flex-col items-center justify-center w-full",children:jsxRuntimeExports.jsxs("div",{className:"space-y-8 w-full",children:[jsxRuntimeExports.jsxs("div",{className:"text-center space-y-5",children:[jsxRuntimeExports.jsxs("div",{className:"relative inline-flex items-center justify-center w-20 h-20 rounded-2xl",children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 rounded-2xl bg-gradient-to-br from-primary via-accent to-primary opacity-30 animate-[pulse_2s_cubic-bezier(0.4,0,0.6,1)_infinite]"}),jsxRuntimeExports.jsx("div",{className:"absolute inset-[-4px] rounded-[20px] bg-gradient-to-br from-primary/40 via-transparent to-accent/40 animate-[spin_4s_linear_infinite] opacity-50"}),jsxRuntimeExports.jsx("div",{className:"absolute inset-[2px] rounded-[14px] bg-background"}),jsxRuntimeExports.jsx(Sparkles,{className:"relative w-9 h-9 text-primary animate-pulse"})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx("h2",{className:"font-display text-2xl md:text-3xl font-medium text-foreground tracking-tight",children:"Creating your product photos"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground/90 transition-opacity duration-300",style:{opacity:it?1:dt},children:gt})]}),jsxRuntimeExports.jsxs("div",{className:"max-w-xs mx-auto space-y-3",children:[jsxRuntimeExports.jsx("div",{className:"h-2 rounded-full bg-white/[0.06] overflow-hidden relative",children:it?jsxRuntimeExports.jsx("div",{className:"h-full rounded-full bg-gradient-to-r from-primary to-accent transition-all duration-700 ease-out relative",style:{width:`${Math.max(st,5)}%`},children:jsxRuntimeExports.jsx("div",{className:"absolute inset-0 rounded-full bg-gradient-to-r from-transparent via-white/20 to-transparent animate-[shimmer_2s_infinite]"})}):jsxRuntimeExports.jsx("div",{className:"absolute inset-y-0 w-1/3 rounded-full bg-gradient-to-r from-primary/60 via-accent to-primary/60 animate-[indeterminate_1.8s_ease-in-out_infinite]",children:jsxRuntimeExports.jsx("div",{className:"absolute inset-0 rounded-full bg-gradient-to-r from-transparent via-white/25 to-transparent animate-[shimmer_1.2s_infinite]"})})}),jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between text-xs text-muted-foreground
768/70",children:[jsxRuntimeExports.jsxs("span",{className:"tabular-nums",children:["Elapsed: ",formatElapsed(ot)]}),jsxRuntimeExports.jsxs("span",{children:["Est. ",getTimeEstimate(tt)," for ",tt," image",tt===1?"":"s"]})]})]})]}),jsxRuntimeExports.jsx("div",{className:"flex flex-wrap justify-center items-center gap-4 w-full",children:Array.from({length:tt}).map((ft,mt)=>{const xt=et[mt],yt=xt==null?void 0:xt.image;return jsxRuntimeExports.jsx("div",{className:cn("relative w-36 sm:w-40 aspect-square rounded-xl overflow-hidden border transition-all duration-300 flex items-center justify-center shrink-0",yt?"border-primary/30 bg-white/[0.02] shadow-lg shadow-primary/5":"border-white/[0.06] bg-white/[0.02]"),children:yt?jsxRuntimeExports.jsx("img",{src:xt.image,alt:xt.view,className:"w-full h-full object-contain object-center animate-in fade-in duration-500"}):jsxRuntimeExports.jsxs("div",{className:"w-full h-full loading-shimmer flex flex-col items-center justify-center gap-3",children:[jsxRuntimeExports.jsxs("div",{className:"relative w-10 h-10",style:{animationDelay:`${mt*200}ms`},children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 rounded-full border-2 border-transparent animate-[spin_1.5s_linear_infinite]",style:{borderImage:"linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)), transparent) 1",borderRadius:"50%",animationDelay:`${mt*200}ms`}}),jsxRuntimeExports.jsx("div",{className:"absolute inset-0 rounded-full border-2 border-primary/30 border-t-primary animate-[spin_1.2s_linear_infinite]",style:{animationDelay:`${mt*150}ms`}}),jsxRuntimeExports.jsx("div",{className:"absolute inset-1 rounded-full border border-accent/20 border-b-accent/60 animate-[spin_2s_linear_infinite_reverse]",style:{animationDelay:`${mt*100}ms`}})]}),jsxRuntimeExports.jsx("span",{className:"text-[10px] text-muted-foreground/50 animate-pulse",style:{animationDelay:`${mt*300}ms`},children:"Renderingâ¦"})]})},mt)})}),jsxRuntimeExports.jsx("div",{className:"text-center",children:jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground/60",children:"Keep this tab open while generating"})})]})})}function Generator(){const[_,j]=reactExports.useState(null),[et,tt]=reactExports.useState("niche"),[rt,nt]=reactExports.useState(1),[it,st]=reactExports.useState(1),[at,ot]=reactExports.useState(!1),[lt,ct]=reactExports.useState([]),[ut,dt]=reactExports.useState(0),[ht,pt]=reactExports.useState(0),[gt,ft]=reactExports.useState(0),[mt,xt]=reactExports.useState([]),[yt,vt]=reactExports.useState(null),bt=reactExports.useRef(null),Et=reactExports.useRef(1),_t=reactExports.useRef(null),wt=reactExports.useRef(null),Rt=reactExports.useRef(0),Ct=reactExports.useRef(Date.now()),jt=reactExports.useRef(0),Dt=reactExports.useRef(null),It=reactExports.useRef([]),{toast:Ot}=useToast(),At=useNavigate(),Tt=useQueryClient(),kt=lt.length>0?lt:mt,St=reactExports.useMemo(()=>{const Gt=[];for(const Kt of kt)if(Kt.image){const Bt=extractPathFromUrl(Kt.image);Bt&&Gt.push(Bt)}return[...new Set(Gt)]},[kt]),{signedMap:Pt}=useSignedUrls(St),$t=reactExports.useCallback(Gt=>{if(!Gt)return null;const Kt=extractPathFromUrl(Gt);return Kt?Pt[Kt]??null:Gt},[Pt]),Nt=Gt=>{j(Gt),Gt&&(tt("configure"),Gt==="fashion"&&nt(1),Gt==="homeDecor"&&st(1))},Mt=()=>{et==="configure"?(tt("niche"),j(null)):et==="results"&&(tt("configure"),ct([]),_t.current=null,wt.current=null)},Vt=()=>{tt("niche"),j(null),ct([]),ot(!1),vt(null),pt(0),_t.current=null,wt.current=null};reactExports.useEffect(()=>{if(et!=="loading"||!yt)return;const Gt=bt.current,Kt=(Gt==null?void 0:Gt.resolution)==="2K";Gt==null||Gt.niche;const Bt=(Gt==null?void 0:Gt.expectedTotal)??0,Zt=Kt||Bt<=2?1:3;let qt=!1;const lr=Array(Zt).fill(null);It.current=[],xt([]),ft(0),Ct.current=Date.now(),jt.current=0;const ar=Kt?10*60*1e3:5*60*1e3,Yt=Wt=>{if(qt)return;qt=!0;const or=It.current;if(or.some(tr=>tr.image)){Ot({title:"Some images couldn't be generated",description:"Showing the images that completed successfully.",variant:"destructive"});const tr=or.map(rr=>({view:rr.view,viewId:rr.viewId,variantName:rr.variantName,image:rr.image,error:rr.image?null:"Generation timed out"}));ct(tr),ot(!1),vt(null),tt("results")}
768else Ot({title:"Generation stopped",description:Wt,variant:"destructive"}),ot(!1),vt(null),tt("configure")},sr=Wt=>{var Pr,Dr;const or=["front","outdoor","side","back"],nr=["Original",...((Dr=(Pr=bt.current)==null?void 0:Pr.colorVariants)==null?void 0:Dr.filter(Tr=>!Tr.isBase).map(Tr=>Tr.name))||[]],tr=new Set(nr),rr=Wt.filter(Tr=>{const Xt=Tr.variant_name||"Original";return tr.has(Xt)}),cr=new Map;for(const Tr of rr){const Xt=`${Tr.view_key}|${Tr.variant_name||"Original"}`,Rr=cr.get(Xt);Rr?Tr.created_at&&Rr.created_at&&Tr.created_at>Rr.created_at&&cr.set(Xt,Tr):cr.set(Xt,Tr)}return Array.from(cr.values()).sort((Tr,Xt)=>{var Mr,Lr;const Rr=or.indexOf(((Mr=Tr.view_key)==null?void 0:Mr.toLowerCase())||""),Vr=or.indexOf(((Lr=Xt.view_key)==null?void 0:Lr.toLowerCase())||""),Jr=Rr>=0?Rr:99,Ir=Vr>=0?Vr:99;if(Jr!==Ir)return Jr-Ir;const Ur=Tr.variant_name||"Original",$r=Xt.variant_name||"Original";if(Ur==="Original")return-1;if($r==="Original")return 1;const br=nr.indexOf(Ur),qr=nr.indexOf($r);return br>=0&&qr>=0?br-qr:br>=0?-1:qr>=0?1:Ur.localeCompare($r)})},gr=async()=>{try{const{data:Wt}=await supabase.from("generation_tasks").select("id, view_key, view_name, variant_name, result_url, created_at").eq("job_id",yt).is("parent_task_id",null).not("result_url","is",null);if(Wt){const or=new Set(It.current.map(tr=>tr.image).filter(Boolean)),nr=Wt.some(tr=>tr.result_url&&!or.has(tr.result_url));if(Wt.length!==It.current.length||nr){const rr=sr(Wt).map(cr=>({viewId:cr.view_key,variantName:cr.variant_name||"Original",view:`${cr.view_name}${cr.variant_name&&cr.variant_name!=="Original"?` (${cr.variant_name})`:""}`,image:cr.result_url,error:null}));It.current=rr,xt(rr)}}}catch{}},Lt=async()=>{var rr,cr,xr;const{data:Wt,error:or}=await supabase.from("generation_jobs").select("id, status, tasks_total, tasks_done, tasks_failed, updated_at").eq("id",yt).maybeSingle();if(or||!Wt)return"continue";dt(Wt.tasks_total||0),ft((Wt.tasks_done||0)+(Wt.tasks_failed||0));const nr=Wt==null?void 0:Wt.updated_at;nr&&nr!==Dt.current&&(Dt.current=nr);const tr=(Wt.tasks_done||0)+(Wt.tasks_failed||0);if(tr!==jt.current)jt.current=tr,Ct.current=Date.now(),await gr(),Tt.invalidateQueries({queryKey:["profile-credits"]});else if(Date.now()-Ct.current>ar)return"stalled";if(Wt.status==="done"||Wt.status==="failed"){if(qt)return"done";qt=!0;const{data:Pr,error:Dr}=await supabase.from("generation_tasks").select("id, view_key, view_name, variant_name, result_url, status, last_error, created_at").eq("job_id",yt).is("parent_task_id",null);if(Dr)return"done";const Tr=["front","outdoor","side","back"],Xt=Array.from(new Set(["Original",...((cr=(rr=bt.current)==null?void 0:rr.colorVariants)==null?void 0:cr.filter($r=>!$r.isBase).map($r=>$r.name))||[]])),Rr=((xr=bt.current)==null?void 0:xr.selectedViews)||[],Vr=new Map;for(const $r of Pr||[]){const br=`${$r.view_key}|${$r.variant_name||"Original"}`,qr=Vr.get(br);(!qr||$r.result_url&&!qr.result_url||$r.created_at&&qr.created_at&&$r.created_at>qr.created_at)&&Vr.set(br,$r)}const Jr=[];for(const $r of Rr.sort((br,qr)=>{const Mr=Tr.indexOf(br.id.toLowerCase()),Lr=Tr.indexOf(qr.id.toLowerCase());return(Mr>=0?Mr:99)-(Lr>=0?Lr:99)}))for(const br of Xt){const qr=`${$r.id}|${br}`,Mr=Vr.get(qr);Jr.push({viewId:$r.id,variantName:br,view:`${$r.name}${br!=="Original"?` (${br})`:""}`,image:(Mr==null?void 0:Mr.result_url)||null,error:Mr!=null&&Mr.result_url?null:(Mr==null?void 0:Mr.last_error)||((Mr==null?void 0:Mr.status)==="failed"?"Generation failed":"Missing result"),taskId:Mr==null?void 0:Mr.id,jobId:yt})}ct(Jr),tt("results"),ot(!1),vt(null);const Ir=Jr.filter($r=>$r.image).length,Ur=Jr.filter($r=>!$r.image).length;return Ur>0&&Ir>0?Ot({title:"Partial success",description:`${Ir} of ${Jr.length} images generated. ${Ur} image(s) failed â you can start over to retry.`}):Ur>0&&Ir===0&&Ot({title:"Generation failed",description:"All images failed to generate. Please try again.",variant:"destructive"}),"done"}return"continue"},Ut=Wt=>{const or=async()=>{var nr;if(!qt)try{const{error:tr}=await invokeEdgeFunctionWithRetry("generate-image",{body:{action:"work",jobId:yt,batchSize:Et.current}});if(qt)return;if(tr){const cr=tr,xr=(nr=cr==null?void 0:cr.context)==null?void 0:nr.status,Pr=typeof(cr==null?void 0:cr.message)=="str
768ing"?cr.message:"";if(xr===402||Pr.includes("PROVIDER_CONFIG_ERROR")||Pr.includes("billing")){Yt("Image generation is temporarily unavailable. Please try again later or contact support.");return}if(Date.now()-Ct.current>ar){Yt("Generation appears stuck (repeated retries). Please try again.");return}const Tr=Date.now();if(Tr-Rt.current>12e3&&(Rt.current=Tr,Ot({title:"Generation is retrying",description:xr===429?"Provider rate limit hit. Retrying automaticallyâ¦":xr===402?"AI credits required to continue generation.":"A temporary error occurred. Retrying automaticallyâ¦"})),!qt){const Xt=xr===429?4e3+Wt*500:2e3+Wt*300;lr[Wt]=setTimeout(or,Xt)}return}const rr=await Lt();if(rr==="stalled"){const cr=ar/6e4;Yt(`Generation made no progress for over ${cr} minutes. Please try again.`);return}if(rr==="done"||qt)return;qt||(lr[Wt]=setTimeout(or,1500+Wt*300))}catch{qt||(lr[Wt]=setTimeout(or,300+Wt*100))}};return or};for(let Wt=0;Wt<Zt;Wt++)lr[Wt]=setTimeout(Ut(Wt),Wt*200);return()=>{qt=!0;for(const Wt of lr)Wt&&clearTimeout(Wt)}},[et,yt,Ot]);const Ht=async()=>{const Gt=wt.current;if(Gt)try{const{data:Kt,error:Bt}=await invokeEdgeFunctionWithRetry("shopify-export-images",{body:Gt});if(Bt||!(Kt!=null&&Kt.success)){Ot({title:"Export retry failed",description:(Kt==null?void 0:Kt.error)??(Bt==null?void 0:Bt.message)??"Unknown error",variant:"destructive"});return}Ot({title:`Exported ${Kt.uploadedCount} image${Kt.uploadedCount!==1?"s":""} to Shopify`,variant:"success",action:jsxRuntimeExports.jsx(ToastAction,{altText:"View product on Shopify",asChild:!0,children:jsxRuntimeExports.jsx("a",{href:Kt.productAdminUrl,target:"_blank",rel:"noopener noreferrer",children:"View product"})})})}catch(Kt){Ot({title:"Export retry failed",description:Kt instanceof Error?Kt.message:String(Kt),variant:"destructive"})}},Qt=async(Gt,Kt)=>{const Bt={connectionId:Gt.connectionId,shopDomain:Gt.shopDomain,productId:Gt.productId,replacePhotos:Gt.replacePhotos,images:Kt.map(Zt=>({imageUrl:Zt.image,variantName:Zt.variantName}))};wt.current=Bt;try{const{data:Zt,error:qt}=await invokeEdgeFunctionWithRetry("shopify-export-images",{body:Bt});if(qt||!(Zt!=null&&Zt.success)){const lr=(Zt==null?void 0:Zt.error)??(qt==null?void 0:qt.message)??"Unknown error";Ot({title:"Export to Shopify failed",description:lr,variant:"destructive",action:jsxRuntimeExports.jsx(ToastAction,{altText:"Retry export",onClick:Ht,children:"Retry"})});return}Ot({title:`Exported ${Zt.uploadedCount} image${Zt.uploadedCount!==1?"s":""} to Shopify`,variant:"success",action:jsxRuntimeExports.jsx(ToastAction,{altText:"View product on Shopify",asChild:!0,children:jsxRuntimeExports.jsx("a",{href:Zt.productAdminUrl,target:"_blank",rel:"noopener noreferrer",children:"View product"})})})}catch(Zt){Ot({title:"Export to Shopify failed",description:Zt instanceof Error?Zt.message:"Unexpected error",variant:"destructive",action:jsxRuntimeExports.jsx(ToastAction,{altText:"Retry export",onClick:Ht,children:"Retry"})})}};reactExports.useEffect(()=>{if(et!=="results")return;const Gt=_t.current;if(!Gt)return;const Kt=lt.filter(Zt=>Zt.image!==null);if(Kt.length===0)return;const Bt=setTimeout(()=>{Qt(Gt,Kt)},800);return()=>clearTimeout(Bt)},[et]);const er=async Gt=>{var gr,Lt,Ut,Wt,or,nr,tr;
768const{data:Kt,error:Bt}=await supabase.auth.refreshSession();if(Bt||!((gr=Kt.session)!=null&&gr.access_token)){const{data:{session:rr}}=await supabase.auth.getSession();if(!(rr!=null&&rr.access_token)){Ot({title:"Not logged in",description:"Your session has expired. Please log in again to generate.",variant:"destructive"}),At("/auth",{replace:!0});return}}const Zt=[{color:"",name:"Original",isBase:!0},...((Ut=(Lt=Gt.colorVariants)==null?void 0:Lt.filter(rr=>!rr.isBase))==null?void 0:Ut.map(rr=>({color:rr.color,name:rr.name,isBase:!1})))||[]],qt=(((or=(Wt=Gt.colorVariants)==null?void 0:Wt.filter(rr=>!rr.isBase))==null?void 0:or.length)||0)+1,lr=(Gt.views.length||0)*qt;bt.current={niche:"fashion",gender:Gt.gender,ethnicity:Gt.ethnicity,skinTone:Gt.skinTone,backgroundColor:Gt.backgroundColor,modelAge:Gt.modelAge,city:Gt.city,productImage:Gt.productImage,aspectRatio:Gt.aspectRatio||"1:1",productType:Gt.productType,viewPose:Gt.viewPose,season:Gt.season,resolution:"1K",imageModel:Gt.imageModel||"nano-banana-2",colorVariants:Zt,selectedViews:Gt.views.map(rr=>({id:rr.id,name:rr.name})),selectedViewIds:Gt.views.map(rr=>rr.id),expectedTotal:lr},ot(!0),dt(lr),pt(lr),xt([]),ft(0),tt("loading");const ar=Gt.views.map(rr=>({id:rr.id,name:rr.name,pose:rr.pose,customPrompt:rr.customPrompt})),Yt=((tr=(nr=Gt.colorVariants)==null?void 0:nr.filter(rr=>!rr.isBase))==null?void 0:tr.map(rr=>({color:rr.color,name:rr.name})))||[],sr=async rr=>{var Pr;const{data:cr,error:xr}=await invokeEdgeFunctionWithRetry("generate-image",{body:{action:"start",niche:"fashion",productImage:Gt.productImage,views:rr,backgroundColor:Gt.backgroundColor,city:Gt.city,modelAge:Gt.modelAge,aspectRatio:Gt.aspectRatio||"1:1",colorVariants:Yt,colorMap:Gt.colorMap??void 0,gender:Gt.gender,ethnicity:Gt.ethnicity,skinTone:Gt.skinTone,productType:Gt.productType,viewPose:Gt.viewPose,season:Gt.season,resolution:"1K",imageModel:Gt.imageModel||"nano-banana-2",additionalDetails:Gt.additionalDetails}});if(xr){console.error("Edge function error:",xr);const Dr=xr;let Tr=(Dr==null?void 0:Dr.message)||"Failed to start generation";const Xt=(Pr=Dr==null?void 0:Dr.context)==null?void 0:Pr.body;if(Xt)try{const Rr=typeof Xt=="string"?JSON.parse(Xt):Xt;Rr!=null&&Rr.error&&(Tr=Rr.error)}catch{}throw new Error(Tr)}return cr};try{const rr=await sr(ar),cr=rr==null?void 0:rr.jobId,xr=qt*ar.length;if(!cr)throw new Error("Failed to start generation job");dt((rr==null?void 0:rr.tasksTotal)??xr),vt(cr)}catch(rr){console.error("Generation error:",rr);const cr=rr instanceof Error?rr.message:"An error occurred while generating images.";Ot({title:"Could not start generation",description:cr,variant:"destructive"}),tt("configure"),ot(!1)}},ir=async Gt=>{var qt,lr;const{data:Kt,error:Bt}=await supabase.auth.refreshSession();if(Bt||!((qt=Kt.session)!=null&&qt.access_token)){const{data:{session:ar}}=await supabase.auth.getSession();if(!(ar!=null&&ar.access_token)){Ot({title:"Not logged in",description:"Your session has expired. Please log in again to generate.",variant:"destructive"}),At("/auth",{replace:!0});return}}const Zt=Gt.perspectives.length;bt.current={niche:"homeDecor",backgroundColor:Gt.backgroundColor,productImage:Gt.productImage,aspectRatio:"1:1",resolution:"1K",selectedViews:Gt.perspectives.map(ar=>({id:ar,name:ar==="fullProduct"?"Full Product":ar==="lifestylePrimary"?"Lifestyle Primary":ar==="lifestyleSecondary"?"Lifestyle Secondary":ar})),selectedViewIds:Gt.perspectives,colorVariants:[{color:"",name:"Original",isBase:!0}],expectedTotal:Zt},ot(!0),dt(Zt),pt(Zt),xt([]),ft(0),tt("loading");try{const{data:ar,error:Yt}=await invokeEdgeFunctionWithRetry("generate-image",{body:{action:"start",niche:"homeDecor",productImage:Gt.productImage,perspectives:Gt.perspectives,aspectRatio:"1:1",backgroundColor:Gt.backgroundColor,subCategory:Gt.subCategory,primaryPlacement:Gt.primaryPlacement,secondaryPlacement:Gt.secondaryPlacement,sceneScale:Gt.sceneScale,lightingMount:Gt.lightingMount,clockMount:Gt.clockMount,resolution:"1K",imageModel:Gt.imageModel||"nano-banana-2"}});if(Yt){console.error("Edge function error:",Yt);const gr=Yt;let Lt=(gr==null?void 0:gr.message)||"Failed to start generation";const Ut=(lr=gr==null?void 0:gr.context)==null?void 0:lr.body;if(Ut)try{const Wt=typeof Ut=="string"?JSON.parse(Ut):Ut;Wt!=null&&Wt.error&&(Lt=Wt.error)}catch{}throw new Error(Lt)}const sr=ar==null?void 0:ar.jobId;if(!sr)throw new Error("Failed to start generation job");dt((ar==null?void 0:ar.tasksTotal)??Zt),vt(sr)}catch(ar){console.error("Generation error:",ar);const Yt=ar instanceof Error?ar.message:"An error occurred while generating images.";Ot({title:"Could not start generation",description:Yt,variant:"destructive"}),tt("configure"),ot(!1)}},Jt=async Gt=>{var Kt,Bt;try{const{data:Zt}=await supabase.auth.refreshSession(),qt=Zt.session,{data:{session:lr}}=await supabase.auth.getSession(),ar=qt??lr;
768if(!(ar!=null&&ar.access_token))return Ot({title:"Not logged in",description:"Your session has expired. Please log in again to fix images.",variant:"destructive"}),At("/auth",{replace:!0}),null;const Yt=Gt.metadata??bt.current??void 0,sr=Yt==null?void 0:Yt.originalTaskId,{data:gr,error:Lt}=await supabase.functions.invoke("fix-image",{headers:{Authorization:`Bearer ${ar.access_token}`},body:{view:Gt.view,originalImage:Gt.originalImage,fixInstruction:Gt.fixInstruction,...Yt?{metadata:Yt}:{},...sr?{originalTaskId:sr}:{}}});if(Lt){const Ut=Lt;let Wt=(Ut==null?void 0:Ut.message)||"Failed to fix image";const or=(Kt=Ut==null?void 0:Ut.context)==null?void 0:Kt.status,nr=(Bt=Ut==null?void 0:Ut.context)==null?void 0:Bt.body;if(typeof nr=="string")try{const tr=JSON.parse(nr);tr!=null&&tr.error&&(Wt=String(tr.error))}catch{}else nr&&typeof nr=="object"&&"error"in nr&&(Wt=String(nr.error));return console.error("Fix image error:",{status:or,details:Wt,raw:Ut}),Ot({title:"Fix Failed",description:or?`${Wt} (HTTP ${or})`:Wt,variant:"destructive"}),null}return gr!=null&&gr.image?(Ot({title:"Image Fixed",description:"Your image has been regenerated with the requested fix.",variant:"success"}),gr.image):(Ot({title:"Fix Failed",description:"No image was generated",variant:"destructive"}),null)}catch(Zt){return console.error("Fix image error:",Zt),Ot({title:"Fix Failed",description:Zt instanceof Error?Zt.message:"An error occurred",variant:"destructive"}),null}};return jsxRuntimeExports.jsxs("div",{className:"flex flex-col min-h-full w-full",children:[jsxRuntimeExports.jsx("div",{className:"w-full px-3 sm:px-6 lg:px-8 pt-3 sm:pt-6",children:jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between gap-4 min-h-[28px]",children:[et!=="niche"&&et!=="loading"?jsxRuntimeExports.jsxs(Button,{variant:"ghost",size:"sm",onClick:Mt,className:"flex items-center gap-1.5 text-muted-foreground/80 hover:text-foreground -ml-2 text-xs",children:[jsxRuntimeExports.jsx(ArrowLeft,{className:"w-3.5 h-3.5"}),"Back"]}):jsxRuntimeExports.jsx("span",{}),jsxRuntimeExports.jsx("div",{className:"flex-1"}),jsxRuntimeExports.jsx(FlowBreadcrumb,{step:et,niche:_,fashionStep:_==="fashion"?rt:void 0,homeDecorStep:_==="homeDecor"?it:void 0})]})}),jsxRuntimeExports.jsxs("div",{className:"w-full px-3 sm:px-6 lg:px-8 py-3 sm:py-6 flex-1 flex flex-col min-h-0",children:[et==="niche"&&jsxRuntimeExports.jsx(NicheSelection,{selectedNiche:_,onSelectNiche:Nt}),et==="configure"&&_==="fashion"&&jsxRuntimeExports.jsx(FashionFlow,{onGenerate:er,isGenerating:at,onStepChange:nt,onExportConfigChange:Gt=>{_t.current=Gt}}),et==="configure"&&_==="homeDecor"&&jsxRuntimeExports.jsx(HomeDecorFlow,{onGenerate:ir,isGenerating:at,onStepChange:st,onExportConfigChange:Gt=>{_t.current=Gt}}),et==="loading"&&jsxRuntimeExports.jsx("div",{className:"flex-1 flex flex-col items-center justify-center w-full min-h-0",children:jsxRuntimeExports.jsx(LoadingState,{count:ht||ut,progress:gt,partialImages:mt.map(Gt=>({...Gt,image:$t(Gt.image)}))})}),et==="results"&&jsxRuntimeExports.jsx("div",{className:"flex-1 flex flex-col items-center w-full min-h-0",children:jsxRuntimeExports.jsx(ImageResults,{images:lt.map(Gt=>({...Gt,image:$t(Gt.image)})),onReset:Vt,onFixImage:Jt,generationMetadata:bt.current?{...bt.current,expectedTotal:ht}:void 0,expectedTotal:ht,onRetryMissing:async Gt=>{const{error:Kt}=await invokeEdgeFunctionWithRetry("generate-image",{body:{action:"reconcile",jobId:Gt}});if(Kt){Ot({title:"Retry failed",description:"Could not restart missing images.",variant:"destructive"});return}vt(Gt),tt("loading"),ot(!0),ft(0),Ct.current=Date.now(),jt.current=0}})})]})]})}const defaultFashionViews$1=[{id:"front",name:"Front View",pose:"Classic catalog pose - facing camera directly, natural confident expression, one hand relaxed at side, weight slightly shifted to one leg",enabled:!0,isCustom:!1,prompt:`FRONT VIEW REQUIREMENTS: 769- Model faces camera DIRECTLY at 0° angle 770- FRAMING BY PRODUCT TYPE: 771 ⢠TOP/OUTFIT: Full head visible with 10% headroom above hair, frame from head to waist/hips 772 ⢠BOTTOM: Frame from waist to feet, shoes fully visible
773 ⢠SHOES: Frame from mid-calf to floor, both shoes fully visible 774- STUDIO: Flat seamless solid \${backgroundColor} background, uniform edge-to-edge, no cyclorama, no gradient, no vignette, soft even shadows on model only 775- MODEL: Same \${gender} model identity as anchor, \${ethnicity} ethnicity, \${skinTone} skin 776- CLOTHING SAFETY: Never shirtless, never pantless, always fully clothed with complementary neutral garments 777- VARIANTS: Change garment color ONLY to target hex, keep exact design/fabric/structure unchanged, background stays same 778- NO UPLOAD LEAKAGE: Do not copy jewelry/watches/shoes/pose from reference photo`},{id:"back",name:"Back View",pose:"Full body back view, model facing away from camera, shoulders relaxed, arms hanging naturally at sides, confident upright posture",enabled:!0,isCustom:!1,prompt:`BACK VIEW REQUIREMENTS: 779- Model faces AWAY from camera at 180° angle, back of head visible 780- FRAMING BY PRODUCT TYPE: 781 ⢠TOP/OUTFIT: Back of head fully visible with 10% headroom, frame from head to waist/hips 782 ⢠BOTTOM: Frame from waist to feet, shoes fully visible 783 ⢠SHOES: Frame from mid-calf to floor, both shoes fully visible 784- STUDIO: Flat seamless solid \${backgroundColor} background, uniform edge-to-edge, no cyclorama, no gradient, no vignette, soft even shadows on model only 785- MODEL: Same \${gender} model identity as anchor, \${ethnicity} ethnicity, \${skinTone} skin 786- CLOTHING SAFETY: Never shirtless, never pantless, always fully clothed with complementary neutral garments 787- VARIANTS: Change garment color ONLY to target hex, keep exact design/fabric/structure unchanged, background stays same 788- NO UPLOAD LEAKAGE: Do not copy jewelry/watches/shoes/pose from reference photo`},{id:"side",name:"Side View",pose:"90-degree side profile, model facing left or right, arms relaxed, natural upright posture, chin level",enabled:!0,isCustom:!1,prompt:`SIDE VIEW REQUIREMENTS: 789- Model at exact 90° SIDE PROFILE angle 790- FRAMING BY PRODUCT TYPE: 791 ⢠TOP/OUTFIT: Full head in profile visible with 10% headroom, frame from head to waist/hips 792 ⢠BOTTOM: Frame from waist to feet, shoes fully visible 793 ⢠SHOES: Frame from mid-calf to floor, both shoes fully visible 794- STUDIO: Flat seamless solid \${backgroundColor} background, uniform edge-to-edge, no cyclorama, no gradient, no vignette, soft even shadows on model only 795- MODEL: Same \${gender} model identity as anchor, \${ethnicity} ethnicity, \${skinTone} skin 796- CLOTHING SAFETY: Never shirtless, never pantless, always fully clothed with complementary neutral garments 797- VARIANTS: Change garment color ONLY to target hex, keep exact design/fabric/structure unchanged, background stays same 798- NO UPLOAD LEAKAGE: Do not copy jewelry/watches/shoes/pose from reference photo`},{id:"outdoor",name:"Outdoor View",pose:"Confident editorial fashion pose on an iconic urban street, natural movement, relaxed shoulders, engaging expression",enabled:!0,isCustom:!1,prompt:`OUTDOOR VIEW REQUIREMENTS: 799- Hyperrealistic street scene in \${city} during \${season} 800- Natural daylight, authentic urban environment, no phone, no text overlays 801- FRAMING BY PRODUCT TYPE: 802 ⢠TOP/OUTFIT: Full head visible with 10% headroom, frame from head to mid-thigh or full body 803 ⢠BOTTOM: Frame from waist to feet, feet on ground 804 ⢠SHOES: Frame from mid-calf to floor, both shoes on street 805- MODEL: Same \${gender} model identity as anchor, \${ethnicity} ethnicity, \${skinTone} skin 806- CLOTHING SAFETY: Never shirtless, never pantless, always fully clothed with complementary neutral garments 807- VARIANTS: Change garment color ONLY to target hex, keep exact design/fabric/structure unchanged 808- NO UPLOAD LEAKAGE: Do not copy jewelry/watches/shoes/pose from reference photo`}],defaultHomeDecorViews$1=[{id:"fullProduct",name:"Full Product",placement:"Studio shot",enabled:!0,isCustom:!1},{id:"lifestylePrimary",name:"Lifestyle Primary",placement:"Coffee table in living room",enabled:!0,isCustom:!1},{id:"lifestyleSecondary",name:"Lifestyle Secondary",placement:"Shelf in bedroom",enabled:!0,isCustom:!1}],defaultFashionDefaults={season:"summer"},STORAGE_KEY_FASHION$1="promptBuilder_fashionViews",STORAGE_KEY_HOMEDECOR$1="promptBuilder_homeDecorViews",STORAGE_KEY_FASHION_DEFAULTS$1="promptBuilder_fashionDefaults";function usePromptConfig(){const _=useQueryClient(),{data:j,isLoading:et,error:tt}=useQuery({queryKey:["prompt-configs"],queryFn:async()=>{const{data:{user:lt}}=await supabase.auth.getUser();if(!lt)return null;const{data:ct,error:ut}=await supabase.from("user_prompt_configs").select("config_type, config_data").eq("user_id",lt.id);if(ut)throw ut;return ct}}),rt=new Map;if(j)for(const lt of j)rt.set(lt.config_type,lt.config_data);const nt=rt.get("fashion_views")??defaultFashionViews$1,it=rt.get("home_decor_views")??defaultHomeDecorViews$1,st=rt.get("fashion_defaults")??defaultFashionDefaults;reactExports.useEffect(()=>{!et&&j&&(localStorage.setItem(STORAGE_KEY_FASHION$1,JSON.stringify(nt)),localStorage.setItem(STORAGE_KEY_HOMEDECOR$1,JSON.stringify(it)),localStorage.setItem(STORAGE_KEY_FASHION_DEFAULTS$1,JSON.stringify(st)))},[j,et,nt,it,st]);const at=useMutation({mutationFn:async({fashionViews:lt,homeDecorViews:ct,fashionDefaults:ut})=>{const{data:{user:dt}}=await supabase.auth.getUser();if(!dt)throw new Error("Not authenticated");const ht=[{user_id:dt.id,config_type:"fashion_views",config_data:lt},{user_id:dt.id,config_type:"home_decor_views",config_data:ct},{user_id:dt.id,config_type:"fashion_defaults",config_data:ut}],{error:pt}=await supabase.from("user_prompt_configs").upsert(ht,{onConflict:"user_id,c
808onfig_type"});if(pt)throw pt;localStorage.setItem(STORAGE_KEY_FASHION$1,JSON.stringify(lt)),localStorage.setItem(STORAGE_KEY_HOMEDECOR$1,JSON.stringify(ct)),localStorage.setItem(STORAGE_KEY_FASHION_DEFAULTS$1,JSON.stringify(ut))},onSuccess:()=>{_.invalidateQueries({queryKey:["prompt-configs"]})}}),ot=useMutation({mutationFn:async()=>{const{data:{user:lt}}=await supabase.auth.getUser();if(!lt)throw new Error("Not authenticated");const{error:ct}=await supabase.from("user_prompt_configs").delete().eq("user_id",lt.id);if(ct)throw ct;localStorage.removeItem(STORAGE_KEY_FASHION$1),localStorage.removeItem(STORAGE_KEY_HOMEDECOR$1),localStorage.removeItem(STORAGE_KEY_FASHION_DEFAULTS$1)},onSuccess:()=>{_.invalidateQueries({queryKey:["prompt-configs"]})}});return{fashionViews:nt,homeDecorViews:it,fashionDefaults:st,isLoading:et,error:tt,saveConfigs:at.mutateAsync,resetConfigs:ot.mutateAsync,isSaving:at.isPending,isResetting:ot.isPending,defaults:{fashionViews:defaultFashionViews$1,homeDecorViews:defaultHomeDecorViews$1,fashionDefaults:defaultFashionDefaults}}}const Card=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("div",{ref:et,className:cn("rounded-lg border bg-card text-card-foreground shadow-sm",_),...j}));Card.displayName="Card";const CardHeader=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("div",{ref:et,className:cn("flex flex-col space-y-1.5 p-6",_),...j}));CardHeader.displayName="CardHeader";const CardTitle=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("h3",{ref:et,className:cn("text-2xl font-semibold leading-none tracking-tight",_),...j}));CardTitle.displayName="CardTitle";const CardDescription=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("p",{ref:et,className:cn("text-sm text-muted-foreground",_),...j}));CardDescription.displayName="CardDescription";const CardContent=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("div",{ref:et,className:cn("p-6 pt-0",_),...j}));CardContent.displayName="CardContent";const CardFooter=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("div",{ref:et,className:cn("flex items-center p-6 pt-0",_),...j}));CardFooter.displayName="CardFooter";var TABS_NAME="Tabs",[createTabsContext,createTabsScope]=createContextScope(TABS_NAME,[createRovingFocusGroupScope]),useRovingFocusGroupScope=createRovingFocusGroupScope(),[TabsProvider,useTabsContext]=createTabsContext(TABS_NAME),Tabs$1=reactExports.forwardRef((_,j)=>{const{__scopeTabs:et,value:tt,onValueChange:rt,defaultValue:nt,orientation:it="horizontal",dir:st,activationMode:at="automatic",...ot}=_,lt=useDirection(st),[ct,ut]=useControllableState({prop:tt,onChange:rt,defaultProp:nt??"",caller:TABS_NAME});return jsxRuntimeExports.jsx(TabsProvider,{scope:et,baseId:useId(),value:ct,onValueChange:ut,orientation:it,dir:lt,activationMode:at,children:jsxRuntimeExports.jsx(Primitive.div,{dir:lt,"data-orientation":it,...ot,ref:j})})});Tabs$1.displayName=TABS_NAME;var TAB_LIST_NAME="TabsList",TabsList$1=reactExports.forwardRef((_,j)=>{const{__scopeTabs:et,loop:tt=!0,...rt}=_,nt=useTabsContext(TAB_LIST_NAME,et),it=useRovingFocusGroupScope(et);return jsxRuntimeExports.jsx(Root$6,{asChild:!0,...it,orientation:nt.orientation,dir:nt.dir,loop:tt,children:jsxRuntimeExports.jsx(Primitive.div,{role:"tablist","aria-orientation":nt.orientation,...rt,ref:j})})});TabsList$1.displayName=TAB_LIST_NAME;var TRIGGER_NAME$1="TabsTrigger",TabsTrigger$1=reactExports.forwardRef((_,j)=>{const{__scopeTabs:et,value:tt,disabled:rt=!1,...nt}=_,it=useTabsContext(TRIGGER_NAME$1,et),st=useRovingFocusGroupScope(et),at=makeTriggerId(it.baseId,tt),ot=makeContentId(it.baseId,tt),lt=tt===it.value;return jsxRuntimeExports.jsx(Item$1,{asChild:!0,...st,focusable:!rt,active:lt,children:jsxRuntimeExports.jsx(Primitive.button,{type:"button",role:"tab","aria-selected":lt,"aria-controls":ot,"data-state":lt?"active":"inactive","data-disabled":rt?"":void 0,disabled:rt,id:at,...nt,ref:j,onMouseDown:composeEventHandlers(_.onMouseDown,ct=>{!rt&&ct.button===0&&ct.ctrlKey===!1?it.onValueChange(tt):ct.preventDefault()}),onKeyDown:composeEventHandlers(_.onKeyDown,ct=>{[" ","Enter"].includes(ct.key)&&it.onValueChange(tt)}),onFocus:composeEventHandlers(_.onFocus,()=>{const ct=it.activationMode!=="manual";!lt&&!rt&&ct&&it.onValueChange(tt)})})})});TabsTrigger$1.displayName=TRIGGER_NAME$1;var CONTENT_NAME$1="TabsContent",TabsContent$1=reactExports.forwardRef((_,j)=>{const{__scopeTabs:et,value:tt,forceMount:rt,children:nt,...it}=_,st=useTabsContext(CONTENT_NAME$1,et),at=makeTriggerId(st.baseId,tt),ot=makeContentId(st.baseId,tt),lt=tt===st.value,ct=reactExports.useRef(lt);return reactExports.useEffect(()=>{const ut=requestAnimationFrame(()=>ct.current=!1);return()=>cancelAnimationFrame(ut)},[]),jsxRuntimeExports.jsx(Presence,{present:rt||lt,children:({present:ut})=>jsxRuntimeExports.jsx(Primitive.div,{"data-state":lt?"active":"inactive","data-orientation":st.orientation,role:"tabpanel","aria-labelledby":at,hidden:!ut,id:ot,tabIndex:0,...it,ref:j,style:{..._.style,animationDuration:ct.current?"0s":void 0},children:ut&&nt})})});TabsContent$1.displayName=CONTENT_NAME$1;function makeTriggerId(_,j){return`${_}-trigger-${j}`}function makeContentId(_,j){return`${_}-content-${j}`}var Root2$1=Tabs$1,List=TabsList$1,Trigger=TabsTrigger$1,Content=TabsContent$1;const Tabs=Root2$1,TabsList=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(List,{ref:et,className:cn("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",_),...j}));TabsList.displayName=List.displayName;const TabsTrigger=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Trigger,{ref:et,className:cn("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",_),...j}));TabsTrigger.displayName=Trigger.displayName;const TabsContent=reactExports.forwardRef(({className:_,...j},et)=>
vendor: 4,110 bytes, line 808
808jsxRuntimeExports.jsx(Content,{ref:et,className:cn("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",_),...j}));TabsContent.displayName=Content.displayName;var SWITCH_NAME="Switch",[createSwitchContext,createSwitchScope]=createContextScope(SWITCH_NAME),[SwitchProvider,useSwitchContext]=createSwitchContext(SWITCH_NAME),Switch$1=reactExports.forwardRef((_,j)=>{const{__scopeSwitch:et,name:tt,checked:rt,defaultChecked:nt,required:it,disabled:st,value:at="on",onCheckedChange:ot,form:lt,...ct}=_,[ut,dt]=reactExports.useState(null),ht=useComposedRefs$1(j,xt=>dt(xt)),pt=reactExports.useRef(!1),gt=ut?lt||!!ut.closest("form"):!0,[ft,mt]=useControllableState({prop:rt,defaultProp:nt??!1,onChange:ot,caller:SWITCH_NAME});return jsxRuntimeExports.jsxs(SwitchProvider,{scope:et,checked:ft,disabled:st,children:[jsxRuntimeExports.jsx(Primitive.button,{type:"button",role:"switch","aria-checked":ft,"aria-required":it,"data-state":getState(ft),"data-disabled":st?"":void 0,disabled:st,value:at,...ct,ref:ht,onClick:composeEventHandlers(_.onClick,xt=>{mt(yt=>!yt),gt&&(pt.current=xt.isPropagationStopped(),pt.current||xt.stopPropagation())})}),gt&&jsxRuntimeExports.jsx(SwitchBubbleInput,{control:ut,bubbles:!pt.current,name:tt,value:at,checked:ft,required:it,disabled:st,form:lt,style:{transform:"translateX(-100%)"}})]})});Switch$1.displayName=SWITCH_NAME;var THUMB_NAME="SwitchThumb",SwitchThumb=reactExports.forwardRef((_,j)=>{const{__scopeSwitch:et,...tt}=_,rt=useSwitchContext(THUMB_NAME,et);return jsxRuntimeExports.jsx(Primitive.span,{"data-state":getState(rt.checked),"data-disabled":rt.disabled?"":void 0,...tt,ref:j})});SwitchThumb.displayName=THUMB_NAME;var BUBBLE_INPUT_NAME="SwitchBubbleInput",SwitchBubbleInput=reactExports.forwardRef(({__scopeSwitch:_,control:j,checked:et,bubbles:tt=!0,...rt},nt)=>{const it=reactExports.useRef(null),st=useComposedRefs$1(it,nt),at=usePrevious(et),ot=useSize(j);return reactExports.useEffect(()=>{const lt=it.current;if(!lt)return;const ct=window.HTMLInputElement.prototype,dt=Object.getOwnPropertyDescriptor(ct,"checked").set;if(at!==et&&dt){const ht=new Event("click",{bubbles:tt});dt.call(lt,et),lt.dispatchEvent(ht)}},[at,et,tt]),jsxRuntimeExports.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:et,...rt,tabIndex:-1,ref:st,style:{...rt.style,...ot,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});SwitchBubbleInput.displayName=BUBBLE_INPUT_NAME;function getState(_){return _?"checked":"unchecked"}var Root=Switch$1,Thumb=SwitchThumb;const Switch=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Root,{className:cn("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",_),...j,ref:et,children:jsxRuntimeExports.jsx(Thumb,{className:cn("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));Switch.displayName=Root.displayName;const seasons=[{id:"summer",name:"Summer",description:"Bright sunlight, warm tones, summer fashion",icon:Sun},{id:"winter",name:"Winter",description:"Cool tones, cozy layers, winter atmosphere",icon:Snowflake},{id:"fall",name:"Fall",description:"Warm autumn colors, golden hour lighting",icon:Leaf},{id:"spring",name:"Spring",description:"Fresh colors, blooming nature, light clothing",icon:Flower2}],viewIcons={front:User,back:RotateCcw,side:ArrowRight,outdoor:MapPin},homeDecorIcons={fullProduct:Camera,lifestylePrimary:Sofa,lifestyleSecondary:Layers},defaultFashionViews=[{id:"front",name:"Front View",pose:"Classic catalog pose - facing camera directly, natural confident expression, one hand relaxed at side, weight slightly shifted to one leg",enabled:!0,isCu
808stom:!1,prompt:`FRONT VIEW REQUIREMENTS: 809- Model faces camera DIRECTLY at 0° angle 810- FRAMING BY PRODUCT TYPE: 811 ⢠TOP/OUTFIT: Full head visible with 10% headroom above hair, frame from head to waist/hips 812 ⢠BOTTOM: Frame from waist to feet, shoes fully visible 813 ⢠SHOES: Frame from mid-calf to floor, both shoes fully visible 814- STUDIO: Flat seamless solid \${backgroundColor} background, uniform edge-to-edge, no cyclorama, no gradient, no vignette, soft even shadows on model only 815- MODEL: Same \${gender} model identity as anchor, \${ethnicity} ethnicity, \${skinTone} skin 816- CLOTHING SAFETY: Never shirtless, never pantless, always fully clothed with complementary neutral garments 817- VARIANTS: Change garment color ONLY to target hex, keep exact design/fabric/structure unchanged, background stays same 818- NO UPLOAD LEAKAGE: Do not copy jewelry/watches/shoes/pose from reference photo`},{id:"back",name:"Back View",pose:"Full body back view, model facing away from camera, shoulders relaxed, arms hanging naturally at sides, confident upright posture",enabled:!0,isCustom:!1,prompt:`BACK VIEW REQUIREMENTS: 819- Model faces AWAY from camera at 180° angle, back of head visible 820- FRAMING BY PRODUCT TYPE: 821 ⢠TOP/OUTFIT: Back of head fully visible with 10% headroom, frame from head to waist/hips 822 ⢠BOTTOM: Frame from waist to feet, shoes fully visible 823 ⢠SHOES: Frame from mid-calf to floor, both shoes fully visible 824- STUDIO: Flat seamless solid \${backgroundColor} background, uniform edge-to-edge, no cyclorama, no gradient, no vignette, soft even shadows on model only 825- MODEL: Same \${gender} model identity as anchor, \${ethnicity} ethnicity, \${skinTone} skin 826- CLOTHING SAFETY: Never shirtless, never pantless, always fully clothed with complementary neutral garments 827- VARIANTS: Change garment color ONLY to target hex, keep exact design/fabric/structure unchanged, background stays same 828- NO UPLOAD LEAKAGE: Do not copy jewelry/watches/shoes/pose from reference photo`},{id:"side",name:"Side View",pose:"90-degree side profile, model facing left or right, arms relaxed, natural upright posture, chin level",enabled:!0,isCustom:!1,prompt:`SIDE VIEW REQUIREMENTS: 829- Model at exact 90° SIDE PROFILE angle 830- FRAMING BY PRODUCT TYPE: 831 ⢠TOP/OUTFIT: Full head in profile visible with 10% headroom, frame from head to waist/hips 832 ⢠BOTTOM: Frame from waist to feet, shoes fully visible 833 ⢠SHOES: Frame from mid-calf to floor, both shoes fully visible 834- STUDIO: Flat seamless solid \${backgroundColor} background, uniform edge-to-edge, no cyclorama, no gradient, no vignette, soft even shadows on model only 835- MODEL: Same \${gender} model identity as anchor, \${ethnicity} ethnicity, \${skinTone} skin 836- CLOTHING SAFETY: Never shirtless, never pantless, always fully clothed with complementary neutral garments 837- VARIANTS: Change garment color ONLY to target hex, keep exact design/fabric/structure unchanged, background stays same 838- NO UPLOAD LEAKAGE: Do not copy jewelry/watches/shoes/pose from reference photo`},{id:"outdoor",name:"Outdoor View",pose:"Confident editorial fashion pose on an iconic urban street, natural movement, relaxed shoulders, engaging expression",enabled:!0,isCustom:!1,prompt:`OUTDOOR VIEW REQUIREMENTS: 839- Hyperrealistic street scene in \${city} during \${season} 840- Natural daylight, authentic urban environment, no phone, no text overlays 841- FRAMING BY PRODUCT TYPE: 842 ⢠TOP/OUTFIT: Full head visible with 10% headroom, frame from head to mid-thigh or full body 843 ⢠BOTTOM: Frame from waist to feet, feet on ground 844 ⢠SHOES: Frame from mid-calf to floor, both shoes on street 845- MODEL: Same \${gender} model identity as anchor, \${ethnicity} ethnicity, \${skinTone} skin 846- CLOTHING SAFETY: Never shirtless, never pantless, always fully clothed with complementary neutral garments 847- VARIANTS: Change garment color ONLY to target hex, keep exact design/fabric/structure unchanged 848- NO UPLOAD LEAKAGE: Do not copy jewelry/watches/shoes/pose from reference photo`}],ALLOWED_FASHION_VIEW_IDS=new Set(["front","back","side","outdoor"]),defaultHomeDecorViews=[{id:"fullProduct",name:"Full Product",placement:"Studio shot",enabled:!0,isCu
848stom:!1},{id:"lifestylePrimary",name:"Lifestyle Primary",placement:"Coffee table in living room",enabled:!0,isCustom:!1},{id:"lifestyleSecondary",name:"Lifestyle Secondary",placement:"Shelf in bedroom",enabled:!0,isCustom:!1}],promptPlaceholders=[{placeholder:"${backgroundColor}",description:"Background color (hex code)"},{placeholder:"${modelAge}",description:"Model age (18-70)"},{placeholder:"${city}",description:"City name for outdoor shots"},{placeholder:"${modelDescription}",description:"Gender-based model description"},{placeholder:"${placement}",description:"Furniture placement for home decor"},{placeholder:"${season}",description:"Season (Summer, Winter, Fall, Spring)"}],STORAGE_KEY_FASHION="promptBuilder_fashionViews",STORAGE_KEY_HOMEDECOR="promptBuilder_homeDecorViews",STORAGE_KEY_FASHION_DEFAULTS="promptBuilder_fashionDefaults";function PromptBuilder(){var Nt;const{fashionViews:_,homeDecorViews:j,fashionDefaults:et,isLoading:tt,saveConfigs:rt,resetConfigs:nt,isSaving:it,isResetting:st,defaults:at}=usePromptConfig(),[ot,lt]=reactExports.useState(defaultFashionViews),[ct,ut]=reactExports.useState(defaultHomeDecorViews),[dt,ht]=reactExports.useState({season:"summer"}),[pt,gt]=reactExports.useState("fashion"),[ft,mt]=reactExports.useState(null),[xt,yt]=reactExports.useState(!1),[vt,bt]=reactExports.useState(new Set),[Et,_t]=reactExports.useState(!1),{toast:wt}=useToast();reactExports.useEffect(()=>{if(!tt&&!Et){const Mt=_.filter(Ht=>ALLOWED_FASHION_VIEW_IDS.has(Ht.id)),Vt=defaultFashionViews.map(Ht=>Mt.find(er=>er.id===Ht.id)||Ht);lt(Vt),ut(j),ht(et),_t(!0)}},[tt,Et,_,j,et]);const Rt=Mt=>{bt(Vt=>{const Ht=new Set(Vt);return Ht.has(Mt)?Ht.delete(Mt):Ht.add(Mt),Ht})},Ct=Mt=>{ALLOWED_FASHION_VIEW_IDS.has(Mt)&<(Vt=>Vt.map(Ht=>Ht.id===Mt?{...Ht,enabled:!Ht.enabled}:Ht))},jt=(Mt,Vt)=>{lt(Ht=>Ht.map(Qt=>Qt.id===Mt?{...Qt,pose:Vt}:Qt))},Dt=(Mt,Vt)=>{lt(Ht=>Ht.map(Qt=>Qt.id===Mt?{...Qt,prompt:Vt}:Qt))},It=Mt=>{ut(Vt=>Vt.map(Ht=>Ht.id===Mt?{...Ht,enabled:!Ht.enabled}:Ht))},Ot=(Mt,Vt)=>{ut(Ht=>Ht.map(Qt=>Qt.id===Mt?{...Qt,placement:Vt}:Qt))},At=(Mt,Vt)=>{ut(Ht=>Ht.map(Qt=>Qt.id===Mt?{...Qt,prompt:Vt}:Qt))},Tt=()=>{const Vt={id:`custom-${Date.now()}`,name:"Custom Lifestyle",placement:"Enter placement...",enabled:!0,isCustom:!0};ut([...ct,Vt])},kt=Mt=>{ut(Vt=>Vt.filter(Ht=>Ht.id!==Mt))};reactExports.useEffect(()=>{Et&&localStorage.setItem(STORAGE_KEY_FASHION,JSON.stringify(ot))},[ot,Et]),reactExports.useEffect(()=>{Et&&localStorage.setItem(STORAGE_KEY_HOMEDECOR,JSON.stringify(ct))},[ct,Et]),reactExports.useEffect(()=>{Et&&localStorage.setItem(STORAGE_KEY_FASHION_DEFAULTS,JSON.stringify(dt))},[dt,Et]);const St=async()=>{try{await rt({fashionViews:ot,homeDecorViews:ct,fashionDefaults:dt}),wt({title:"Configuration saved",description:"Your view and prompt configuration has been saved.",variant:"success"})}catch{wt({title:"Save failed",description:"Could not save configuration. Please try again.",variant:"destructive"})}},Pt=async()=>{try{await nt(),lt(at.fashionViews),ut(at.homeDecorViews),ht(at.fashionDefaults),localStorage.removeItem(STORAGE_KEY_FASHION),localStorage.removeItem(STORAGE_KEY_HOMEDECOR),localStorage.removeItem(STORAGE_KEY_FASHION_DEFAULTS),wt({title:"Reset complete",description:"All views have been restored to default configuration.",variant:"success"})}catch{wt({title:"Reset failed",description:"Could not reset configuration. Please try again.",variant:"destructive"})}},$t=(Mt,Vt)=>{var ir,Jt;const Ht=Vt==="fashion",Qt=Ht?viewIcons[Mt.id]||User:homeDecorIcons[Mt.id]||Package,er=vt.has(Mt.id);return jsxRuntimeExports.jsxs("div",{className:`group rounded-xl border transition-all duration-200 overflow-hidden ${Mt.enabled?"bg-card border-l-2 border-l-primary border-t-border border-r-border border-b-border shadow-sm hover:shadow-md":"bg-muted/20 border-border/40 opacity-60"}`,children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 px-4 py-3.5 cursor-pointer select-none",onClick:()=>Mt.enabled&&Rt(Mt.id),children:[jsxRuntimeExports.jsx(Switch,{checked:Mt.enabled,onCheckedChange:Gt=>{Gt&&Rt(Mt.id),Ht?Ct(Mt.id):It(Mt.id)},onClick:Gt=>Gt.stopPropagation()}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2.5 flex-1 min-w-0",children:[jsxRuntimeExports.jsx("div",{className:`flex items-center justify-center w-8 h-8 rounded-lg transition-colors ${Mt.enabled?"bg-primary/10 text-primary":"bg-muted text-muted-foreground"}`,children:jsxRuntimeExports.jsx(Qt,{className:"w-4 h-4"})}),jsxRuntimeExports.jsxs("div",{className:"flex-1 min-w-0",children:[jsxRuntimeExports.jsx("span",{className:`text-sm font-semibold block ${Mt.enabled?"text-foreground":"text-muted-foreground"}`,children:Mt.name}),!Ht&&"placement"in Mt&&jsxRuntimeExports.jsx("span",{className:"text-xs text-muted-foreground truncate block",children:Mt.placement})]}),"isCustom"in Mt&&Mt.isCustom&&jsxRuntimeExports.jsx(Badge,{variant:"outline",className:"text-[10px] px-1.5 py-0 h-5 border-accent/30 text-accent",children:"Custom"})]}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-1",children:[!Ht&&"isCustom"in Mt&&Mt.isCustom&&jsxRuntimeExports.jsx(Button,{variant:"ghost",size:"icon",onClick:Gt=>{Gt.stopPropagation(),kt(Mt.id)},className:"h-7 w-7 text-destructive/70 hover:text-destructive hover:bg-destructive/10",children:jsxRuntimeExports.jsx(Trash2,{className:"w-3.5 h-3.5"})}),Mt.enabled&&jsxRuntimeExports.jsx(ChevronDown,{className:`w-4 h-4 text-muted-foreground transition-transform duration-200 ${er?"rotate-180":""}`})]})]}),Mt.enabled&&jsxRuntimeExports.jsx("div",{className:`overflow-hidden transition-all duration-300 ease-in-out ${er?"max-h-[600px] opacity-100":"max-h-0 opacity-0"}`,children:jsxRuntimeExports.jsxs("div",{className:"px-4 pb-4 space-y-3 border-t border-border/30",children:[Ht&&"pose"in Mt&&jsxRuntimeExports.jsxs("div",{className:"pt-3",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground uppercase tracking-wider",children:"Pose Description"}),jsxRuntimeExports.jsx(Textarea,{value:Mt.pose,onChange:Gt=>jt(Mt.id,Gt.target.value),className:"mt-1.5 min-h-[80px] bg-secondary/50 border-border/50 focus:border-primary/50 text-sm",placeholder:"Describe the pose for this view..."})]}),!Ht&&"placement"in Mt&&jsxRuntimeExports.jsxs("div",{className:"pt-3",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground uppercase tracking-wider",children:"Placement"}),jsxRuntimeExports.jsx(Input,{value:Mt.placement,onChange:Gt=>Ot(Mt.id,Gt.target.value),className:"mt-1.5 bg-secondary/50 border-border/50 focus:border-primary/50",placeholder:"e.g. coffee table in living room"})]}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between mb-1.5",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground uppercase tracking-wider",children:"Custom Prompt"}),jsxRuntimeExports.jsx(Button,{variant:"ghost",size:"sm",onClick:()=>mt(ft===Mt.id?null:Mt.id),className:"h-7 text-xs gap-1 text-muted-foreground hover:text-foreground",children:ft===Mt.id?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(EyeOff,{className:"w-3 h-3"})," Hide"]}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Eye,{className:"w-3 h-3"})," Edit"]})})]}),ft===Mt.id&&jsxRuntimeExports.jsxs("div",{className:"space-y-1",children:[jsxRuntimeExports.jsx(Textarea,{value:Mt.prompt||"",onChange:Gt=>{const Kt=Gt.target.value.slice(0,800);Ht?Dt(Mt.id,Kt):At(Mt.id,Kt)},maxLength:800,className:"min-h-[120px] font-mono text-xs bg-secondary/50 border-border/50 focus:border-primary/50",placeholder:"Leave empty to use the default prompt. Use ${placeholder} syntax for dynamic values..."}),jsxRuntimeExports.jsxs("p",{className:`text-[10px] text-right ${(((ir=Mt.prompt)==null?void 0:ir.length)||0)>700?"text-destructive":"text-muted-foreground"}`,children:[((Jt=Mt.prompt)==null?void 0:Jt.length)||0," / 800"]})]})]})]})})]},Mt.id)};return tt||!Et?jsxRuntimeExports.jsx("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 py-8 flex items-center justify-center min-h-[400px]",children:jsxRuntimeExports.jsxs("div",{className:"flex flex-col items-center gap-3",children:[jsxRuntimeExports.jsx("div",{className:"w-8 h-8 border-2 border-primary border-t-transparent roun
848ded-full animate-spin"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground",children:"Loading your configuration..."})]})}):jsxRuntimeExports.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 py-8 pb-24",children:[jsxRuntimeExports.jsxs("div",{className:"mb-8",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center w-10 h-10 rounded-xl bg-primary/10",children:jsxRuntimeExports.jsx(WandSparkles,{className:"w-5 h-5 text-primary"})}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h1",{className:"text-2xl font-display font-bold text-foreground tracking-tight",children:"Prompt & Perspective Builder"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground",children:"Configure views, poses, and prompts used for generating product photos."})]})]}),jsxRuntimeExports.jsx("div",{className:"h-px bg-gradient-to-r from-primary/40 via-accent/30 to-transparent"})]}),jsxRuntimeExports.jsxs(Collapsible,{className:"mb-6",children:[jsxRuntimeExports.jsx(CollapsibleTrigger,{asChild:!0,children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 px-4 py-3 rounded-xl bg-primary/5 border border-primary/10 cursor-pointer hover:bg-primary/[0.08] transition-colors group",children:[jsxRuntimeExports.jsx(Info,{className:"w-4 h-4 text-primary shrink-0"}),jsxRuntimeExports.jsxs("div",{className:"flex-1 min-w-0",children:[jsxRuntimeExports.jsx("span",{className:"text-sm font-medium text-foreground",children:"Available Placeholders"}),jsxRuntimeExports.jsx("span",{className:"text-xs text-muted-foreground ml-2",children:"â dynamic values replaced during generation"})]}),jsxRuntimeExports.jsx(ChevronDown,{className:"w-4 h-4 text-muted-foreground transition-transform duration-200 group-data-[state=open]:rotate-180"})]})}),jsxRuntimeExports.jsx(CollapsibleContent,{children:jsxRuntimeExports.jsx("div",{className:"mt-2 px-4 py-3 rounded-xl bg-secondary/40 border border-border/50",children:jsxRuntimeExports.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-2.5",children:promptPlaceholders.map(Mt=>jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2 px-2.5 py-1.5 rounded-lg bg-background/60",children:[jsxRuntimeExports.jsx("code",{className:"text-[11px] font-mono font-semibold text-primary bg-primary/10 px-1.5 py-0.5 rounded",children:Mt.placeholder}),jsxRuntimeExports.jsx("span",{className:"text-xs text-muted-foreground",children:Mt.description})]},Mt.placeholder))})})})]}),jsxRuntimeExports.jsxs(Tabs,{value:pt,onValueChange:gt,className:"space-y-6",children:[jsxRuntimeExports.jsxs(TabsList,{className:"grid w-full max-w-sm grid-cols-2 bg-secondary/60 rounded-xl p-1 h-11",children:[jsxRuntimeExports.jsxs(TabsTrigger,{value:"fashion",className:"rounded-lg gap-2 data-[state=active]:bg-background data-[state=active]:shadow-sm text-sm font-medium",children:[jsxRuntimeExports.jsx(Shirt,{className:"w-4 h-4"}),"Fashion"]}),jsxRuntimeExports.jsxs(TabsTrigger,{value:"homeDecor",className:"rounded-lg gap-2 data-[state=active]:bg-background data-[state=active]:shadow-sm text-sm font-medium",children:[jsxRuntimeExports.jsx(Sofa,{className:"w-4 h-4"}),"Home Decor"]})]}),jsxRuntimeExports.jsxs(TabsContent,{value:"fashion",className:"space-y-5 animate-fade-in",children:[jsxRuntimeExports.jsx(Collapsible,{open:xt,onOpenChange:yt,children:jsxRuntimeExports.jsxs(Card,{className:"border-border/60 bg-card/80",children:[jsxRuntimeExports.jsx(CollapsibleTrigger,{asChild:!0,children:jsxRuntimeExports.jsxs(CardHeader,{className:"pb-3 cursor-pointer hover:bg-muted/20 transition-colors rounded-t-lg",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between",children:[jsxRuntimeExports.jsxs(CardTitle,{className:"flex items-center gap-2.5 text-sm font-semibold",children:[jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center w-7 h-7 rounded-lg bg-accent/10",children:jsxRuntimeExports.jsx(Settings,{className:"w-3.5 h-3.5 text-accent"})}),"Default Settings"]}),jsxRuntimeExports.jsx(ChevronDown,{className:`w-4 h-4 text-muted-foreground transition-transform duration-200 ${xt?"rotate-180":""}`})]}),jsxRuntimeExports.jsx(CardDescription,{className:"text-xs ml-9.5",children:"Default settings applied to all fashion photos."})]})}),jsxRuntimeExports.jsx(CollapsibleContent,{children:jsxRuntimeExports.jsx(CardContent,{className:"space-y-4 pt-0",children:jsxRuntimeExports.jsx("div",{className:"grid gap-4 sm:grid-cols-2",children:jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium uppercase tracking-wider text-muted-foreground mb-2 block",children:"Season"}),jsxRuntimeExports.jsxs(Select,{value:dt.season,onValueChange:Mt=>ht(Vt=>({...Vt,season:Mt})),children:[jsxRuntimeExports.jsx(SelectTrigger,{className:"bg-secondary/50 border-border/50",children:jsxRuntimeExports.jsx(SelectValue,{placeholder:"Select season"})}),jsxRuntimeExports.jsx(SelectContent,{children:seasons.map(Mt=>{const Vt=Mt.icon;return jsxRuntimeExports.jsx(SelectItem,{value:Mt.id,children:jsxRuntimeExports.jsxs("span",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Vt,{className:"w-3.5 h-3.5 text-muted-foreground"}),Mt.name]})}
848,Mt.id)})})]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground mt-1.5 italic",children:(Nt=seasons.find(Mt=>Mt.id===dt.season))==null?void 0:Nt.description})]})})})})]})}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2.5 mb-4",children:[jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center w-7 h-7 rounded-lg bg-primary/10",children:jsxRuntimeExports.jsx(Layers,{className:"w-3.5 h-3.5 text-primary"})}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h3",{className:"text-sm font-semibold text-foreground",children:"Active Views"}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:"Toggle views on/off and customize poses & prompts."})]})]}),jsxRuntimeExports.jsx("div",{className:"space-y-3",children:ot.map(Mt=>$t(Mt,"fashion"))})]})]}),jsxRuntimeExports.jsx(TabsContent,{value:"homeDecor",className:"space-y-5 animate-fade-in",children:jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between mb-4",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2.5",children:[jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center w-7 h-7 rounded-lg bg-primary/10",children:jsxRuntimeExports.jsx(Sofa,{className:"w-3.5 h-3.5 text-primary"})}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h3",{className:"text-sm font-semibold text-foreground",children:"Active Perspectives"}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:"Configure placements and prompts for home decor photos."})]})]}),jsxRuntimeExports.jsxs(Button,{onClick:Tt,variant:"outline",size:"sm",className:"gap-1.5 border-primary/30 text-primary hover:bg-primary/10 hover:text-primary hover:border-primary/50",children:[jsxRuntimeExports.jsx(Plus,{className:"w-3.5 h-3.5"}),"Add View"]})]}),jsxRuntimeExports.jsx("div",{className:"space-y-3",children:ct.map(Mt=>$t(Mt,"homeDecor"))})]})})]}),jsxRuntimeExports.jsx("div",{className:"sticky bottom-0 z-20 -mx-4 sm:-mx-6 lg:-mx-8 bg-background/90 backdrop-blur-md border-t border-border shadow-[0_-4px_20px_hsl(0_0%_0%/0.3)]",children:jsxRuntimeExports.jsxs("div",{className:"px-4 sm:px-6 lg:px-8 py-3 flex items-center justify-end gap-3",children:[jsxRuntimeExports.jsxs(Button,{variant:"outline",onClick:Pt,className:"gap-1.5",disabled:st||it,children:[jsxRuntimeExports.jsx(RotateCcw,{className:"w-3.5 h-3.5"}),st?"Resetting...":"Reset to Default"]}),jsxRuntimeExports.jsxs(Button,{onClick:St,className:"gap-1.5 bg-gradient-to-r from-primary to-accent hover:opacity-90 text-primary-foreground border-0",disabled:it||st,children:[jsxRuntimeExports.jsx(Check,{className:"w-3.5 h-3.5"}),it?"Saving...":"Save Configuration"]})]})})]})}var isCheckBoxInput=_=>_.type==="checkbox",isDateObject=_=>_ instanceof Date,isNullOrUndefined=_=>_==null;const isObjectType=_=>typeof _=="object";var isObject$9=_=>!isNullOrUndefined(_)&&!Array.isArray(_)&&isObjectType(_)&&!isDateObject(_),getEventValue=_=>isObject$9(_)&&_.target?isCheckBoxInput(_.target)?_.target.checked:_.target.value:_,getNodeParentName=_=>_.substring(0,_.search(/\.\d+(\.|$)/))||_,isNameInFieldArray=(_,j)=>_.has(getNodeParentName(j)),isPlainObject$2=_=>{const j=_.constructor&&_.constructor.prototype;return isObject$9(j)&&j.hasOwnProperty("isPrototypeOf")},isWeb=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function cloneObject(_){let j;const et=Array.isArray(_),tt=typeof FileList<"u"?_ instanceof FileList:!1;if(_ instanceof Date)j=new Date(_);else if(!(isWeb&&(_ instanceof Blob||tt))&&(et||isObject$9(_)))if(j=et?[]:{},!et&&!isPlainObject$2(_))j=_;else for(const rt in _)_.hasOwnProperty(rt)&&(j[rt]=cloneObject(_[rt]));else return _;return j}var isKey$4=_=>/^\w*$/.test(_),isUndefined=_=>_===void 0,compact=_=>Array.isArray(_)?_.filter(Boolean):[],stringToPath$2=_=>compact(_.replace(/["|']|\]/g,"").split(/\.|\[/)),get$3=(_,j,et)=>{if(!j||!isObject$9(_))return et;const tt=(isKey$4(j)?[j]:stringToPath$2(j)).reduce((rt,nt)=>isNullOrUndefined(rt)?rt:rt[nt],_);
848return isUndefined(tt)||tt===_?isUndefined(_[j])?et:_[j]:tt},isBoolean$2=_=>typeof _=="boolean",set=(_,j,et)=>{let tt=-1;const rt=isKey$4(j)?[j]:stringToPath$2(j),nt=rt.length,it=nt-1;for(;++tt<nt;){const st=rt[tt];let at=et;if(tt!==it){const ot=_[st];at=isObject$9(ot)||Array.isArray(ot)?ot:isNaN(+rt[tt+1])?{}:[]}if(st==="__proto__"||st==="constructor"||st==="prototype")return;_[st]=at,_=_[st]}};const EVENTS={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},VALIDATION_MODE={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},INPUT_VALIDATION_RULES={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},HookFormContext=React$1.createContext(null);HookFormContext.displayName="HookFormContext";var getProxyFormState=(_,j,et,tt=!0)=>{const rt={defaultValues:j._defaultValues};for(const nt in _)Object.defineProperty(rt,nt,{get:()=>{const it=nt;return j._proxyFormState[it]!==VALIDATION_MODE.all&&(j._proxyFormState[it]=!tt||VALIDATION_MODE.all),_[it]}});return rt};const useIsomorphicLayoutEffect=typeof window<"u"?React$1.useLayoutEffect:React$1.useEffect;var isString$2=_=>typeof _=="string",generateWatchOutput=(_,j,et,tt,rt)=>isString$2(_)?(tt&&j.watch.add(_),get$3(et,_,rt)):Array.isArray(_)?_.map(nt=>(tt&&j.watch.add(nt),get$3(et,nt))):(tt&&(j.watchAll=!0),et),isPrimitive=_=>isNullOrUndefined(_)||!isObjectType(_);function deepEqual$1(_,j,et=new WeakSet){if(isPrimitive(_)||isPrimitive(j))return _===j;if(isDateObject(_)&&isDateObject(j))return _.getTime()===j.getTime();const tt=Object.keys(_),rt=Object.keys(j);if(tt.length!==rt.length)return!1;if(et.has(_)||et.has(j))return!0;et.add(_),et.add(j);for(const nt of tt){const it=_[nt];if(!rt.includes(nt))return!1;if(nt!=="ref"){const st=j[nt];if(isDateObject(it)&&isDateObject(st)||isObject$9(it)&&isObject$9(st)||Array.isArray(it)&&Array.isArray(st)?!deepEqual$1(it,st,et):it!==st)return!1}}return!0}var appendErrors=(_,j,et,tt,rt)=>j?{...et[_],types:{...et[_]&&et[_].types?et[_].types:{},[tt]:rt||!0}}:{},convertToArrayPayload=_=>Array.isArray(_)?_:[_],createSubject=()=>{let _=[];return{get observers(){return _},next:rt=>{for(const nt of _)nt.next&&nt.next(rt)},subscribe:rt=>(_.push(rt),{unsubscribe:()=>{_=_.filter(nt=>nt!==rt)}}),unsubscribe:()=>{_=[]}}},isEmptyObject=_=>isObject$9(_)&&!Object.keys(_).length,isFileInput=_=>_.type==="file",isFunction$4=_=>typeof _=="function",isHTMLElement=_=>{if(!isWeb)return!1;const j=_?_.ownerDocument:0;return _ instanceof(j&&j.defaultView?j.defaultView.HTMLElement:HTMLElement)},isMultipleSelect=_=>_.type==="select-multiple",isRadioInput=_=>_.type==="radio",isRadioOrCheckbox=_=>isRadioInput(_)||isCheckBoxInput(_),live=_=>isHTMLElement(_)&&_.isConnected;function baseGet$4(_,j){const et=j.slice(0,-1).length;let tt=0;for(;tt<et;)_=isUndefined(_)?tt++:_[j[tt++]];return _}function isEmptyArray(_){for(const j in _)if(_.hasOwnProperty(j)&&!isUndefined(_[j]))return!1;return!0}function unset(_,j){const et=Array.isArray(j)?j:isKey$4(j)?[j]:stringToPath$2(j),tt=et.length===1?_:baseGet$4(_,et),rt=et.length-1,nt=et[rt];return tt&&delete tt[nt],rt!==0&&(isObject$9(tt)&&isEmptyObject(tt)||Array.isArray(tt)&&isEmptyArray(tt))&&unset(_,et.slice(0,-1)),_}var objectHasFunction=_=>{for(const j in _)if(isFunction$4(_[j]))return!0;return!1};function markFieldsDirty(_,j={}){const et=Array.isArray(_);if(isObject$9(_)||et)for(const tt in _)Array.isArray(_[tt])||isObject$9(_[tt])&&!objectHasFunction(_[tt])?(j[tt]=Array.isArray(_[tt])?[]:{},markFieldsDirty(_[tt],j[tt])):isNullOrUndefined(_[tt])||(j[tt]=!0);return j}function getDirtyFieldsFromDefaultValues(_,j,et){const tt=Array.isArray(_);if(isObject$9(_)||tt)for(const rt in _)Array.isArray(_[rt])||isObject$9(_[rt])&&!objectHasFunction(_[rt])?isUndefined(j)||isPrimitive(et[rt])?et[rt]=Array.isArray(_[rt])?markFieldsDirty(_[rt],[]):{...markFieldsDirty(_[rt])}:getDirtyFieldsFromDefaultValues(_[rt],isNullOrUndefined(j)?{}:j[rt],et[rt]):et[rt]=!deepEqual$1(_[rt],j[rt]);return et}var getDirtyFields=(_,j)=>getDirtyFieldsFromDefaultValues(_,j,markFieldsDirty(j));const defaultResult={value:!1,isValid:!1}
vendor: 7,567 bytes, line 848
848,validResult={value:!0,isValid:!0};var getCheckboxValue=_=>{if(Array.isArray(_)){if(_.length>1){const j=_.filter(et=>et&&et.checked&&!et.disabled).map(et=>et.value);return{value:j,isValid:!!j.length}}return _[0].checked&&!_[0].disabled?_[0].attributes&&!isUndefined(_[0].attributes.value)?isUndefined(_[0].value)||_[0].value===""?validResult:{value:_[0].value,isValid:!0}:validResult:defaultResult}return defaultResult},getFieldValueAs=(_,{valueAsNumber:j,valueAsDate:et,setValueAs:tt})=>isUndefined(_)?_:j?_===""?NaN:_&&+_:et&&isString$2(_)?new Date(_):tt?tt(_):_;const defaultReturn={isValid:!1,value:null};var getRadioValue=_=>Array.isArray(_)?_.reduce((j,et)=>et&&et.checked&&!et.disabled?{isValid:!0,value:et.value}:j,defaultReturn):defaultReturn;function getFieldValue(_){const j=_.ref;return isFileInput(j)?j.files:isRadioInput(j)?getRadioValue(_.refs).value:isMultipleSelect(j)?[...j.selectedOptions].map(({value:et})=>et):isCheckBoxInput(j)?getCheckboxValue(_.refs).value:getFieldValueAs(isUndefined(j.value)?_.ref.value:j.value,_)}var getResolverOptions=(_,j,et,tt)=>{const rt={};for(const nt of _){const it=get$3(j,nt);it&&set(rt,nt,it._f)}return{criteriaMode:et,names:[..._],fields:rt,shouldUseNativeValidation:tt}},isRegex=_=>_ instanceof RegExp,getRuleValue=_=>isUndefined(_)?_:isRegex(_)?_.source:isObject$9(_)?isRegex(_.value)?_.value.source:_.value:_,getValidationModes=_=>({isOnSubmit:!_||_===VALIDATION_MODE.onSubmit,isOnBlur:_===VALIDATION_MODE.onBlur,isOnChange:_===VALIDATION_MODE.onChange,isOnAll:_===VALIDATION_MODE.all,isOnTouch:_===VALIDATION_MODE.onTouched});const ASYNC_FUNCTION="AsyncFunction";var hasPromiseValidation=_=>!!_&&!!_.validate&&!!(isFunction$4(_.validate)&&_.validate.constructor.name===ASYNC_FUNCTION||isObject$9(_.validate)&&Object.values(_.validate).find(j=>j.constructor.name===ASYNC_FUNCTION)),hasValidation=_=>_.mount&&(_.required||_.min||_.max||_.maxLength||_.minLength||_.pattern||_.validate),isWatched=(_,j,et)=>!et&&(j.watchAll||j.watch.has(_)||[...j.watch].some(tt=>_.startsWith(tt)&&/^\.\w+/.test(_.slice(tt.length))));const iterateFieldsByAction=(_,j,et,tt)=>{for(const rt of et||Object.keys(_)){const nt=get$3(_,rt);if(nt){const{_f:it,...st}=nt;if(it){if(it.refs&&it.refs[0]&&j(it.refs[0],rt)&&!tt)return!0;if(it.ref&&j(it.ref,it.name)&&!tt)return!0;if(iterateFieldsByAction(st,j))break}else if(isObject$9(st)&&iterateFieldsByAction(st,j))break}}};function schemaErrorLookup(_,j,et){const tt=get$3(_,et);if(tt||isKey$4(et))return{error:tt,name:et};const rt=et.split(".");for(;rt.length;){const nt=rt.join("."),it=get$3(j,nt),st=get$3(_,nt);if(it&&!Array.isArray(it)&&et!==nt)return{name:et};if(st&&st.type)return{name:nt,error:st};if(st&&st.root&&st.root.type)return{name:`${nt}.root`,error:st.root};rt.pop()}return{name:et}}var shouldRenderFormState=(_,j,et,tt)=>{et(_);const{name:rt,...nt}=_;return isEmptyObject(nt)||Object.keys(nt).length>=Object.keys(j).length||Object.keys(nt).find(it=>j[it]===(!tt||VALIDATION_MODE.all))},shouldSubscribeByName=(_,j,et)=>!_||!j||_===j||convertToArrayPayload(_).some(tt=>tt&&(et?tt===j:tt.startsWith(j)||j.startsWith(tt))),skipValidation=(_,j,et,tt,rt)=>rt.isOnAll?!1:!et&&rt.isOnTouch?!(j||_):(et?tt.isOnBlur:rt.isOnBlur)?!_:(et?tt.isOnChange:rt.isOnChange)?_:!0,unsetEmptyArray=(_,j)=>!compact(get$3(_,j)).length&&unset(_,j),updateFieldArrayRootError=(_,j,et)=>{const tt=convertToArrayPayload(get$3(_,et));return set(tt,"root",j[et]),set(_,et,tt),_},isMessage=_=>isString$2(_);function getValidateError(_,j,et="validate"){if(isMessage(_)||Array.isArray(_)&&_.every(isMessage)||isBoolean$2(_)&&!_)return{type:et,message:isMessage(_)?_:"",ref:j}}var getValueAndMessage=_=>isObject$9(_)&&!isRegex(_)?_:{value:_,message:""},validateField=async(_,j,et,tt,rt,nt)=>{const{ref:it,refs:st,required:at,maxLength:ot,minLength:lt,min:ct,max:ut,pattern:dt,validate:ht,name:pt,valueAsNumber:gt,mount:ft}=_._f,mt=get$3(et,pt);if(!ft||j.has(pt))return{};const xt=st?st[0]:it,yt=jt=>{rt&&xt.reportValidity&&(xt.setCustomValidity(isBoolean$2(jt)?"":jt||""),xt.reportValidity())},vt={},bt=isRadioInput(it),Et=isCheckBoxInput(it),_t=bt||Et,wt=(gt||isFileInput(it))&&isUndefined(it.value)&&isUndefined(mt)||isHTMLElement(it)&&it.value===""||mt===""||Array.isArray(mt)&&!mt.length,Rt=appendErrors.bind(null,pt,tt,vt),Ct=(jt,Dt,It,Ot=INPUT_VALIDATION_RULES.maxLength,At=INPUT_VALIDATION_RULES.minLength)=>{const Tt=jt?Dt:It;vt[pt]={type:jt?Ot:At,message:Tt,ref:it,...Rt(jt?Ot:At,Tt)}};if(nt?!Array.isArray(mt)||!mt.length:at&&(!_t&&(wt||isNullOrUndefined(mt))||isBoolean$2(mt)&&!mt||Et&&!getCheckboxValue(st).isValid||bt&&!getRadioValue(st).isValid)){const{value:jt,message:Dt}=isMessage(at)?{value:!!at,message:at}:getValueAndMessage(at);if(jt&&(vt[pt]={type:INPUT_VALIDATION_RULES.required,message:Dt,ref:xt,...Rt(INPUT_VALIDATION_RULES.required,Dt)},!tt))return yt(Dt),vt}if(!wt&&(!isNullOrUndefined(ct)||!isNullOrUndefined(ut))){let jt,Dt;const It=getValueAndMessage(ut),Ot=getValueAndMessage(ct);if(!isNullOrUndefined(mt)&&!isNaN(mt)){const At=it.valueAsNumber||mt&&+mt;isNullOrUndefined(It.value)||(jt=At>It.value),isNullOrUndefined(Ot.value)||(Dt=At<Ot.value)}else{const At=it.valueAsDate||new Date(mt),Tt=Pt=>new Date(new Date().toDateString()+" "+Pt),kt=it.type=="time",St=it.type=="week";isString$2(It.value)&&mt&&(jt=kt?Tt(mt)>Tt(It.value):St?mt>It.value:At>new Date(It.value)),isString$2(Ot.value)&&mt&&(Dt=kt?Tt(mt)<Tt(Ot.value):St?mt<Ot.value:At<new Date(Ot.value))}if((jt||Dt)&&(Ct(!!jt,It.message,Ot.message,INPUT_VALIDATION_RULES.max,INPUT_VALIDATION_RULES.min),!tt))return yt(vt[pt].message),vt}if((ot||lt)&&!wt&&(isString$2(mt)||nt&&Array.isArray(mt))){const jt=getValueAndMessage(ot),Dt=getValueAndMessage(lt),It=!isNullOrUndefined(jt.value)&&mt.length>+jt.value,Ot=!isNullOrUndefined(Dt.value)&&mt.length<+Dt.value;if((It||Ot)&&(Ct(It,jt.message,Dt.message),!tt))return yt(vt[pt].message),vt}if(dt&&!wt&&isString$2(mt)){const{value:jt,message:Dt}=getValueAndMessage(dt);if(isRegex(jt)&&!mt.match(jt)&&(vt[pt]={type:INPUT_VALIDATION_RULES.pattern,message:Dt,ref:it,...Rt(INPUT_VALIDATION_RULES.pattern,Dt)},!tt))return yt(Dt),vt}if(ht){if(isFunction$4(ht)){const jt=await ht(mt,et),Dt=getValidateError(jt,xt);if(Dt&&(vt[pt]={...Dt,...Rt(INPUT_VALIDATION_RULES.validate,Dt.message)},!tt))return yt(Dt.message),vt}else if(isObject$9(ht)){let jt={};for(const Dt in ht){if(!isEmptyObject(jt)&&!tt)break;const It=getValidateError(await ht[Dt](mt,et),xt,Dt);It&&(jt={...It,...Rt(Dt,It.message)},yt(It.message),tt&&(vt[pt]=jt))}if(!isEmptyObject(jt)&&(vt[pt]={ref:xt,...jt},!tt))return vt}}return yt(!0),vt};const defaultOptions={mode:VALIDATION_MODE.onSubmit,reValidateMode:VALIDATION_MODE.onChange,shouldFocusError:!0};function createFormControl(_={}){let j={...defaultOptions,..._},et={submitCount:0,isDirty:!1,isReady:!1,isLoading:isFunction$4(j.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:j.errors||{},disabled:j.disabled||!1},tt={},rt=isObject$9(j.defaultValues)||isObject$9(j.values)?cloneObject(j.defaultValues||j.values)||{}:{},nt=j.shouldUnregister?{}:cloneObject(rt),it={action:!1,mount:!1,watch:!1},st={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},at,ot=0;const lt={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let ct={...lt};const ut={array:createSubject(),state:createSubject()},dt=j.criteriaMode===VALIDATION_MODE.all,ht=Lt=>Ut=>{clearTimeout(ot),ot=setTimeout(Lt,Ut)}
vendor: 1,202 bytes, line 848
848,pt=async Lt=>{if(!j.disabled&&(lt.isValid||ct.isValid||Lt)){const Ut=j.resolver?isEmptyObject((await Et()).errors):await wt(tt,!0);Ut!==et.isValid&&ut.state.next({isValid:Ut})}},gt=(Lt,Ut)=>{!j.disabled&&(lt.isValidating||lt.validatingFields||ct.isValidating||ct.validatingFields)&&((Lt||Array.from(st.mount)).forEach(Wt=>{Wt&&(Ut?set(et.validatingFields,Wt,Ut):unset(et.validatingFields,Wt))}),ut.state.next({validatingFields:et.validatingFields,isValidating:!isEmptyObject(et.validatingFields)}))},ft=(Lt,Ut=[],Wt,or,nr=!0,tr=!0)=>{if(or&&Wt&&!j.disabled){if(it.action=!0,tr&&Array.isArray(get$3(tt,Lt))){const rr=Wt(get$3(tt,Lt),or.argA,or.argB);nr&&set(tt,Lt,rr)}if(tr&&Array.isArray(get$3(et.errors,Lt))){const rr=Wt(get$3(et.errors,Lt),or.argA,or.argB);nr&&set(et.errors,Lt,rr),unsetEmptyArray(et.errors,Lt)}if((lt.touchedFields||ct.touchedFields)&&tr&&Array.isArray(get$3(et.touchedFields,Lt))){const rr=Wt(get$3(et.touchedFields,Lt),or.argA,or.argB);nr&&set(et.touchedFields,Lt,rr)}(lt.dirtyFields||ct.dirtyFields)&&(et.dirtyFields=getDirtyFields(rt,nt)),ut.state.next({name:Lt,isDirty:Ct(Lt,Ut),dirtyFields:et.dirtyFields,errors:et.errors,isValid:et.isValid})}else set(nt,Lt,Ut)},mt=(Lt,Ut)=>
vendor: 8,320 bytes, line 848
848{set(et.errors,Lt,Ut),ut.state.next({errors:et.errors})},xt=Lt=>{et.errors=Lt,ut.state.next({errors:et.errors,isValid:!1})},yt=(Lt,Ut,Wt,or)=>{const nr=get$3(tt,Lt);if(nr){const tr=get$3(nt,Lt,isUndefined(Wt)?get$3(rt,Lt):Wt);isUndefined(tr)||or&&or.defaultChecked||Ut?set(nt,Lt,Ut?tr:getFieldValue(nr._f)):It(Lt,tr),it.mount&&pt()}},vt=(Lt,Ut,Wt,or,nr)=>{let tr=!1,rr=!1;const cr={name:Lt};if(!j.disabled){if(!Wt||or){(lt.isDirty||ct.isDirty)&&(rr=et.isDirty,et.isDirty=cr.isDirty=Ct(),tr=rr!==cr.isDirty);const xr=deepEqual$1(get$3(rt,Lt),Ut);rr=!!get$3(et.dirtyFields,Lt),xr?unset(et.dirtyFields,Lt):set(et.dirtyFields,Lt,!0),cr.dirtyFields=et.dirtyFields,tr=tr||(lt.dirtyFields||ct.dirtyFields)&&rr!==!xr}if(Wt){const xr=get$3(et.touchedFields,Lt);xr||(set(et.touchedFields,Lt,Wt),cr.touchedFields=et.touchedFields,tr=tr||(lt.touchedFields||ct.touchedFields)&&xr!==Wt)}tr&&nr&&ut.state.next(cr)}return tr?cr:{}},bt=(Lt,Ut,Wt,or)=>{const nr=get$3(et.errors,Lt),tr=(lt.isValid||ct.isValid)&&isBoolean$2(Ut)&&et.isValid!==Ut;if(j.delayError&&Wt?(at=ht(()=>mt(Lt,Wt)),at(j.delayError)):(clearTimeout(ot),at=null,Wt?set(et.errors,Lt,Wt):unset(et.errors,Lt)),(Wt?!deepEqual$1(nr,Wt):nr)||!isEmptyObject(or)||tr){const rr={...or,...tr&&isBoolean$2(Ut)?{isValid:Ut}:{},errors:et.errors,name:Lt};et={...et,...rr},ut.state.next(rr)}},Et=async Lt=>{gt(Lt,!0);const Ut=await j.resolver(nt,j.context,getResolverOptions(Lt||st.mount,tt,j.criteriaMode,j.shouldUseNativeValidation));return gt(Lt),Ut},_t=async Lt=>{const{errors:Ut}=await Et(Lt);if(Lt)for(const Wt of Lt){const or=get$3(Ut,Wt);or?set(et.errors,Wt,or):unset(et.errors,Wt)}else et.errors=Ut;return Ut},wt=async(Lt,Ut,Wt={valid:!0})=>{for(const or in Lt){const nr=Lt[or];if(nr){const{_f:tr,...rr}=nr;if(tr){const cr=st.array.has(tr.name),xr=nr._f&&hasPromiseValidation(nr._f);xr&<.validatingFields&>([or],!0);const Pr=await validateField(nr,st.disabled,nt,dt,j.shouldUseNativeValidation&&!Ut,cr);if(xr&<.validatingFields&>([or]),Pr[tr.name]&&(Wt.valid=!1,Ut))break;!Ut&&(get$3(Pr,tr.name)?cr?updateFieldArrayRootError(et.errors,Pr,tr.name):set(et.errors,tr.name,Pr[tr.name]):unset(et.errors,tr.name))}!isEmptyObject(rr)&&await wt(rr,Ut,Wt)}}return Wt.valid},Rt=()=>{for(const Lt of st.unMount){const Ut=get$3(tt,Lt);Ut&&(Ut._f.refs?Ut._f.refs.every(Wt=>!live(Wt)):!live(Ut._f.ref))&&er(Lt)}st.unMount=new Set},Ct=(Lt,Ut)=>!j.disabled&&(Lt&&Ut&&set(nt,Lt,Ut),!deepEqual$1(Pt(),rt)),jt=(Lt,Ut,Wt)=>generateWatchOutput(Lt,st,{...it.mount?nt:isUndefined(Ut)?rt:isString$2(Lt)?{[Lt]:Ut}:Ut},Wt,Ut),Dt=Lt=>compact(get$3(it.mount?nt:rt,Lt,j.shouldUnregister?get$3(rt,Lt,[]):[])),It=(Lt,Ut,Wt={})=>{const or=get$3(tt,Lt);let nr=Ut;if(or){const tr=or._f;tr&&(!tr.disabled&&set(nt,Lt,getFieldValueAs(Ut,tr)),nr=isHTMLElement(tr.ref)&&isNullOrUndefined(Ut)?"":Ut,isMultipleSelect(tr.ref)?[...tr.ref.options].forEach(rr=>rr.selected=nr.includes(rr.value)):tr.refs?isCheckBoxInput(tr.ref)?tr.refs.forEach(rr=>{(!rr.defaultChecked||!rr.disabled)&&(Array.isArray(nr)?rr.checked=!!nr.find(cr=>cr===rr.value):rr.checked=nr===rr.value||!!nr)}):tr.refs.forEach(rr=>rr.checked=rr.value===nr):isFileInput(tr.ref)?tr.ref.value="":(tr.ref.value=nr,tr.ref.type||ut.state.next({name:Lt,values:cloneObject(nt)})))}(Wt.shouldDirty||Wt.shouldTouch)&&vt(Lt,nr,Wt.shouldTouch,Wt.shouldDirty,!0),Wt.shouldValidate&&St(Lt)},Ot=(Lt,Ut,Wt)=>{for(const or in Ut){if(!Ut.hasOwnProperty(or))return;const nr=Ut[or],tr=Lt+"."+or,rr=get$3(tt,tr);(st.array.has(Lt)||isObject$9(nr)||rr&&!rr._f)&&!isDateObject(nr)?Ot(tr,nr,Wt):It(tr,nr,Wt)}},At=(Lt,Ut,Wt={})=>{const or=get$3(tt,Lt),nr=st.array.has(Lt),tr=cloneObject(Ut);set(nt,Lt,tr),nr?(ut.array.next({name:Lt,values:cloneObject(nt)}),(lt.isDirty||lt.dirtyFields||ct.isDirty||ct.dirtyFields)&&Wt.shouldDirty&&ut.state.next({name:Lt,dirtyFields:getDirtyFields(rt,nt),isDirty:Ct(Lt,tr)})):or&&!or._f&&!isNullOrUndefined(tr)?Ot(Lt,tr,Wt):It(Lt,tr,Wt),isWatched(Lt,st)&&ut.state.next({...et,name:Lt}),ut.state.next({name:it.mount?Lt:void 0,values:cloneObject(nt)})},Tt=async Lt=>{it.mount=!0;const Ut=Lt.target;let Wt=Ut.name,or=!0;const nr=get$3(tt,Wt),tr=xr=>{or=Number.isNaN(xr)||isDateObject(xr)&&isNaN(xr.getTime())||deepEqual$1(xr,get$3(nt,Wt,xr))},rr=getValidationModes(j.mode),cr=getValidationModes(j.reValidateMode);if(nr){let xr,Pr;const Dr=Ut.type?getFieldValue(nr._f):getEventValue(Lt),Tr=Lt.type===EVENTS.BLUR||Lt.type===EVENTS.FOCUS_OUT,Xt=!hasValidation(nr._f)&&!j.resolver&&!get$3(et.errors,Wt)&&!nr._f.deps||skipValidation(Tr,get$3(et.touchedFields,Wt),et.isSubmitted,cr,rr),Rr=isWatched(Wt,st,Tr);set(nt,Wt,Dr),Tr?(nr._f.onBlur&&nr._f.onBlur(Lt),at&&at(0)):nr._f.onChange&&nr._f.onChange(Lt);const Vr=vt(Wt,Dr,Tr),Jr=!isEmptyObject(Vr)||Rr;if(!Tr&&ut.state.next({name:Wt,type:Lt.type,values:cloneObject(nt)}),Xt)return(lt.isValid||ct.isValid)&&(j.mode==="onBlur"?Tr&&pt():Tr||pt()),Jr&&ut.state.next({name:Wt,...Rr?{}:Vr});if(!Tr&&Rr&&ut.state.next({...et}),j.resolver){const{errors:Ir}=await Et([Wt]);if(tr(Dr),or){const Ur=schemaErrorLookup(et.errors,tt,Wt),$r=schemaErrorLookup(Ir,tt,Ur.name||Wt);xr=$r.error,Wt=$r.name,Pr=isEmptyObject(Ir)}}else gt([Wt],!0),xr=(await validateField(nr,st.disabled,nt,dt,j.shouldUseNativeValidation))[Wt],gt([Wt]),tr(Dr),or&&(xr?Pr=!1:(lt.isValid||ct.isValid)&&(Pr=await wt(tt,!0)));or&&(nr._f.deps&&St(nr._f.deps),bt(Wt,Pr,xr,Vr))}},kt=(Lt,Ut)=>{if(get$3(et.errors,Ut)&&Lt.focus)return Lt.focus(),1},St=async(Lt,Ut={})=>{let Wt,or;const nr=convertToArrayPayload(Lt);if(j.resolver){const tr=await _t(isUndefined(Lt)?Lt:nr);Wt=isEmptyObject(tr),or=Lt?!nr.some(rr=>get$3(tr,rr)):Wt}else Lt?(or=(await Promise.all(nr.map(async tr=>{const rr=get$3(tt,tr);return await wt(rr&&rr._f?{[tr]:rr}:rr)}))).every(Boolean),!(!or&&!et.isValid)&&pt()):or=Wt=await wt(tt);return ut.state.next({...!isString$2(Lt)||(lt.isValid||ct.isValid)&&Wt!==et.isValid?{}:{name:Lt},...j.resolver||!Lt?{isValid:Wt}:{},errors:et.errors}),Ut.shouldFocus&&!or&&iterateFieldsByAction(tt,kt,Lt?nr:st.mount),or},Pt=Lt=>{const Ut={...it.mount?nt:rt};return isUndefined(Lt)?Ut:isString$2(Lt)?get$3(Ut,Lt):Lt.map(Wt=>get$3(Ut,Wt))},$t=(Lt,Ut)=>({invalid:!!get$3((Ut||et).errors,Lt),isDirty:!!get$3((Ut||et).dirtyFields,Lt),error:get$3((Ut||et).errors,Lt),isValidating:!!get$3(et.validatingFields,Lt),isTouched:!!get$3((Ut||et).touchedFields,Lt)}),Nt=Lt=>{Lt&&convertToArrayPayload(Lt).forEach(Ut=>unset(et.errors,Ut)),ut.state.next({errors:Lt?et.errors:{}})},Mt=(Lt,Ut,Wt)=>{const or=(get$3(tt,Lt,{_f:{}})._f||{}).ref,nr=get$3(et.errors,Lt)||{},{ref:tr,message:rr,type:cr,...xr}=nr;set(et.errors,Lt,{...xr,...Ut,ref:or}),ut.state.next({name:Lt,errors:et.errors,isValid:!1}),Wt&&Wt.shouldFocus&&or&&or.focus&&or.focus()},Vt=(Lt,Ut)=>isFunction$4(Lt)?ut.state.subscribe({next:Wt=>"values"in Wt&&Lt(jt(void 0,Ut),Wt)}):jt(Lt,Ut,!0),Ht=Lt=>ut.state.subscribe({next:Ut=>{shouldSubscribeByName(Lt.name,Ut.name,Lt.exact)&&shouldRenderFormState(Ut,Lt.formState||lt,Yt,Lt.reRenderRoot)&&Lt.callback({values:{...nt},...et,...Ut,defaultValues:rt})}}).unsubscribe,Qt=Lt=>(it.mount=!0,ct={...ct,...Lt.formState},Ht({...Lt,formState:ct})),er=(Lt,Ut={})=>{for(const Wt of Lt?convertToArrayPayload(Lt):st.mount)st.mount.delete(Wt),st.array.delete(Wt),Ut.keepValue||(unset(tt,Wt),unset(nt,Wt)),!Ut.keepError&&unset(et.errors,Wt),!Ut.keepDirty&&unset(et.dirtyFields,Wt),!Ut.keepTouched&&unset(et.touchedFields,Wt),!Ut.keepIsValidating&&unset(et.validatingFields,Wt),!j.shouldUnregister&&!Ut.keepDefaultValue&&unset(rt,Wt);ut.state.next({values:cloneObject(nt)}),ut.state.next({...et,...Ut.keepDirty?{isDirty:Ct()}:{}}),!Ut.keepIsValid&&pt()},ir=({disabled:Lt,name:Ut})=>{(isBoolean$2(Lt)&&it.mount||Lt||st.disabled.has(Ut))&&(Lt?st.disabled.add(Ut):st.disabled.delete(Ut))},Jt=(Lt,Ut={})=>{let Wt=get$3(tt,Lt);const or=isBoolean$2(Ut.disabled)||isBoolean$2(j.disabled);return set(tt,Lt,{...Wt||{},_f:{...Wt&&Wt._f?Wt._f:{ref:{name:Lt}},name:Lt,mount:!0,...Ut}}),st.mount.add(Lt),Wt?ir({disabled:isBoolean$2(Ut.disabled)?Ut.disabled:j.disabled,name:Lt}):yt(Lt,!0,Ut.value),{...or?{disabled:Ut.disabled||j.disabled}:{},...j.progressive?{required:!!Ut.required,min:getRuleValue(Ut.min),max:getRuleValue(Ut.max),minLength:getRuleValue(Ut.minLength),maxLength:getRuleValue(Ut.maxLength),pattern:getRuleValue(Ut.pattern)}:{},name:Lt,onChange:Tt,onBlur:Tt,ref:nr=>
vendor: 4,717 bytes, line 848
848{if(nr){Jt(Lt,Ut),Wt=get$3(tt,Lt);const tr=isUndefined(nr.value)&&nr.querySelectorAll&&nr.querySelectorAll("input,select,textarea")[0]||nr,rr=isRadioOrCheckbox(tr),cr=Wt._f.refs||[];if(rr?cr.find(xr=>xr===tr):tr===Wt._f.ref)return;set(tt,Lt,{_f:{...Wt._f,...rr?{refs:[...cr.filter(live),tr,...Array.isArray(get$3(rt,Lt))?[{}]:[]],ref:{type:tr.type,name:Lt}}:{ref:tr}}}),yt(Lt,!1,void 0,tr)}else Wt=get$3(tt,Lt,{}),Wt._f&&(Wt._f.mount=!1),(j.shouldUnregister||Ut.shouldUnregister)&&!(isNameInFieldArray(st.array,Lt)&&it.action)&&st.unMount.add(Lt)}}},Gt=()=>j.shouldFocusError&&iterateFieldsByAction(tt,kt,st.mount),Kt=Lt=>{isBoolean$2(Lt)&&(ut.state.next({disabled:Lt}),iterateFieldsByAction(tt,(Ut,Wt)=>{const or=get$3(tt,Wt);or&&(Ut.disabled=or._f.disabled||Lt,Array.isArray(or._f.refs)&&or._f.refs.forEach(nr=>{nr.disabled=or._f.disabled||Lt}))},0,!1))},Bt=(Lt,Ut)=>async Wt=>{let or;Wt&&(Wt.preventDefault&&Wt.preventDefault(),Wt.persist&&Wt.persist());let nr=cloneObject(nt);if(ut.state.next({isSubmitting:!0}),j.resolver){const{errors:tr,values:rr}=await Et();et.errors=tr,nr=cloneObject(rr)}else await wt(tt);if(st.disabled.size)for(const tr of st.disabled)unset(nr,tr);if(unset(et.errors,"root"),isEmptyObject(et.errors)){ut.state.next({errors:{}});try{await Lt(nr,Wt)}catch(tr){or=tr}}else Ut&&await Ut({...et.errors},Wt),Gt(),setTimeout(Gt);if(ut.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:isEmptyObject(et.errors)&&!or,submitCount:et.submitCount+1,errors:et.errors}),or)throw or},Zt=(Lt,Ut={})=>{get$3(tt,Lt)&&(isUndefined(Ut.defaultValue)?At(Lt,cloneObject(get$3(rt,Lt))):(At(Lt,Ut.defaultValue),set(rt,Lt,cloneObject(Ut.defaultValue))),Ut.keepTouched||unset(et.touchedFields,Lt),Ut.keepDirty||(unset(et.dirtyFields,Lt),et.isDirty=Ut.defaultValue?Ct(Lt,cloneObject(get$3(rt,Lt))):Ct()),Ut.keepError||(unset(et.errors,Lt),lt.isValid&&pt()),ut.state.next({...et}))},qt=(Lt,Ut={})=>{const Wt=Lt?cloneObject(Lt):rt,or=cloneObject(Wt),nr=isEmptyObject(Lt),tr=nr?rt:or;if(Ut.keepDefaultValues||(rt=Wt),!Ut.keepValues){if(Ut.keepDirtyValues){const rr=new Set([...st.mount,...Object.keys(getDirtyFields(rt,nt))]);for(const cr of Array.from(rr))get$3(et.dirtyFields,cr)?set(tr,cr,get$3(nt,cr)):At(cr,get$3(tr,cr))}else{if(isWeb&&isUndefined(Lt))for(const rr of st.mount){const cr=get$3(tt,rr);if(cr&&cr._f){const xr=Array.isArray(cr._f.refs)?cr._f.refs[0]:cr._f.ref;if(isHTMLElement(xr)){const Pr=xr.closest("form");if(Pr){Pr.reset();break}}}}if(Ut.keepFieldsRef)for(const rr of st.mount)At(rr,get$3(tr,rr));else tt={}}nt=j.shouldUnregister?Ut.keepDefaultValues?cloneObject(rt):{}:cloneObject(tr),ut.array.next({values:{...tr}}),ut.state.next({values:{...tr}})}st={mount:Ut.keepDirtyValues?st.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},it.mount=!lt.isValid||!!Ut.keepIsValid||!!Ut.keepDirtyValues,it.watch=!!j.shouldUnregister,ut.state.next({submitCount:Ut.keepSubmitCount?et.submitCount:0,isDirty:nr?!1:Ut.keepDirty?et.isDirty:!!(Ut.keepDefaultValues&&!deepEqual$1(Lt,rt)),isSubmitted:Ut.keepIsSubmitted?et.isSubmitted:!1,dirtyFields:nr?{}:Ut.keepDirtyValues?Ut.keepDefaultValues&&nt?getDirtyFields(rt,nt):et.dirtyFields:Ut.keepDefaultValues&&Lt?getDirtyFields(rt,Lt):Ut.keepDirty?et.dirtyFields:{},touchedFields:Ut.keepTouched?et.touchedFields:{},errors:Ut.keepErrors?et.errors:{},isSubmitSuccessful:Ut.keepIsSubmitSuccessful?et.isSubmitSuccessful:!1,isSubmitting:!1})},lr=(Lt,Ut)=>qt(isFunction$4(Lt)?Lt(nt):Lt,Ut),ar=(Lt,Ut={})=>{const Wt=get$3(tt,Lt),or=Wt&&Wt._f;if(or){const nr=or.refs?or.refs[0]:or.ref;nr.focus&&(nr.focus(),Ut.shouldSelect&&isFunction$4(nr.select)&&nr.select())}},Yt=Lt=>{et={...et,...Lt}},gr={control:{register:Jt,unregister:er,getFieldState:$t,handleSubmit:Bt,setError:Mt,_subscribe:Ht,_runSchema:Et,_focusError:Gt,_getWatch:jt,_getDirty:Ct,_setValid:pt,_setFieldArray:ft,_setDisabledField:ir,_setErrors:xt,_getFieldArray:Dt,_reset:qt,_resetDefaultValues:()=>isFunction$4(j.defaultValues)&&j.defaultValues().then(Lt=>{lr(Lt,j.resetOptions),ut.state.next({isLoading:!1})}),_removeUnmounted:Rt,_disableForm:Kt,_subjects:ut,_proxyFormState:lt,get _fields(){return tt},get _formValues(){return nt},get _state(){return it},set _state(Lt){it=Lt},get _defaultValues(){return rt},get _names(){return st},set _names(Lt){st=Lt},get _formState(){return et},get _options(){return j},set _options(Lt){j={...j,...Lt}}},subscribe:Qt,trigger:St,register:Jt,handleSubmit:Bt,watch:Vt,setValue:At,getValues:Pt,reset:lr,resetField:Zt,clearErrors:Nt,unregister:er,setError:Mt,setFocus:ar,getFieldState:$t};return{...gr,formControl:gr}}function useForm(_={}){const j=React$1.useRef(void 0),et=React$1.useRef(void 0),[tt,rt]=React$1.use
848State({isDirty:!1,isValidating:!1,isLoading:isFunction$4(_.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:_.errors||{},disabled:_.disabled||!1,isReady:!1,defaultValues:isFunction$4(_.defaultValues)?void 0:_.defaultValues});if(!j.current)if(_.formControl)j.current={..._.formControl,formState:tt},_.defaultValues&&!isFunction$4(_.defaultValues)&&_.formControl.reset(_.defaultValues,_.resetOptions);else{const{formControl:it,...st}=createFormControl(_);j.current={...st,formState:tt}}const nt=j.current.control;return nt._options=_,useIsomorphicLayoutEffect(()=>{const it=nt._subscribe({formState:nt._proxyFormState,callback:()=>rt({...nt._formState}),reRenderRoot:!0});return rt(st=>({...st,isReady:!0})),nt._formState.isReady=!0,it},[nt]),React$1.useEffect(()=>nt._disableForm(_.disabled),[nt,_.disabled]),React$1.useEffect(()=>{_.mode&&(nt._options.mode=_.mode),_.reValidateMode&&(nt._options.reValidateMode=_.reValidateMode)},[nt,_.mode,_.reValidateMode]),React$1.useEffect(()=>{_.errors&&(nt._setErrors(_.errors),nt._focusError())},[nt,_.errors]),React$1.useEffect(()=>{_.shouldUnregister&&nt._subjects.state.next({values:nt._getWatch()})},[nt,_.shouldUnregister]),React$1.useEffect(()=>{if(nt._proxyFormState.isDirty){const it=nt._getDirty();it!==tt.isDirty&&nt._subjects.state.next({isDirty:it})}},[nt,tt.isDirty]),React$1.useEffect(()=>{_.values&&!deepEqual$1(_.values,et.current)?(nt._reset(_.values,{keepFieldsRef:!0,...nt._options.resetOptions}),et.current=_.values,rt(it=>({...it}))):nt._resetDefaultValues()},[nt,_.values]),React$1.useEffect(()=>{nt._state.mount||(nt._setValid(),nt._state.mount=!0),nt._state.watch&&(nt._state.watch=!1,nt._subjects.state.next({...nt._formState})),nt._removeUnmounted()}),j.current.formState=getProxyFormState(tt,nt),j.current}const s$1=(_,j,et)=>{if(_&&"reportValidity"in _){const tt=get$3(et,j);_.setCustomValidity(tt&&tt.message||""),_.reportValidity()}},o=(_,j)=>{for(const et in j.fields){const tt=j.fields[et];tt&&tt.ref&&"reportValidity"in tt.ref?s$1(tt.ref,et,_):tt.refs&&tt.refs.forEach(rt=>s$1(rt,et,_))}},r=(_,j)=>{j.shouldUseNativeValidation&&o(_,j);const et={};for(const tt in _){const rt=get$3(j.fields,tt),nt=Object.assign(_[tt]||{},{ref:rt&&rt.ref});if(i(j.names||Object.keys(_),tt)){const it=Object.assign({},get$3(et,tt));set(it,"root",nt),set(et,tt,it)}else set(et,tt,nt)}return et},i=(_,j)=>_.some(et=>et.startsWith(j+"."));var n$1=function(_,j){for(var et={};_.length;){var tt=_[0],rt=tt.code,nt=tt.message,it=tt.path.join(".");if(!et[it])if("unionErrors"in tt){var st=tt.unionErrors[0].errors[0];et[it]={message:st.message,type:st.code}}else et[it]={message:nt,type:rt};if("unionErrors"in tt&&tt.unionErrors.forEach(function(lt){return lt.errors.forEach(function(ct){return _.push(ct)})}
vendor: 2,760 bytes, line 848
848),j){var at=et[it].types,ot=at&&at[tt.code];et[it]=appendErrors(it,j,et,rt,ot?[].concat(ot,tt.message):tt.message)}_.shift()}return et},t$1=function(_,j,et){return et===void 0&&(et={}),function(tt,rt,nt){try{return Promise.resolve(function(it,st){try{var at=Promise.resolve(_[et.mode==="sync"?"parse":"parseAsync"](tt,j)).then(function(ot){return nt.shouldUseNativeValidation&&o({},nt),{errors:{},values:et.raw?tt:ot}})}catch(ot){return st(ot)}return at&&at.then?at.then(void 0,st):at}(0,function(it){if(function(st){return Array.isArray(st==null?void 0:st.errors)}(it))return{values:{},errors:r(n$1(it.errors,!nt.shouldUseNativeValidation&&nt.criteriaMode==="all"),nt)};throw it}))}catch(it){return Promise.reject(it)}}},util;(function(_){_.assertEqual=rt=>{};function j(rt){}_.assertIs=j;function et(rt){throw new Error}_.assertNever=et,_.arrayToEnum=rt=>{const nt={};for(const it of rt)nt[it]=it;return nt},_.getValidEnumValues=rt=>{const nt=_.objectKeys(rt).filter(st=>typeof rt[rt[st]]!="number"),it={};for(const st of nt)it[st]=rt[st];return _.objectValues(it)},_.objectValues=rt=>_.objectKeys(rt).map(function(nt){return rt[nt]}),_.objectKeys=typeof Object.keys=="function"?rt=>Object.keys(rt):rt=>{const nt=[];for(const it in rt)Object.prototype.hasOwnProperty.call(rt,it)&&nt.push(it);return nt},_.find=(rt,nt)=>{for(const it of rt)if(nt(it))return it},_.isInteger=typeof Number.isInteger=="function"?rt=>Number.isInteger(rt):rt=>typeof rt=="number"&&Number.isFinite(rt)&&Math.floor(rt)===rt;function tt(rt,nt=" | "){return rt.map(it=>typeof it=="string"?`'${it}'`:it).join(nt)}_.joinValues=tt,_.jsonStringifyReplacer=(rt,nt)=>typeof nt=="bigint"?nt.toString():nt})(util||(util={}));var objectUtil;(function(_){_.mergeShapes=(j,et)=>({...j,...et})})(objectUtil||(objectUtil={}));const ZodParsedType=util.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),getParsedType=_=>{switch(typeof _){case"undefined":return ZodParsedType.undefined;case"string":return ZodParsedType.string;case"number":return Number.isNaN(_)?ZodParsedType.nan:ZodParsedType.number;case"boolean":return ZodParsedType.boolean;case"function":return ZodParsedType.function;case"bigint":return ZodParsedType.bigint;case"symbol":return ZodParsedType.symbol;case"object":return Array.isArray(_)?ZodParsedType.array:_===null?ZodParsedType.null:_.then&&typeof _.then=="function"&&_.catch&&typeof _.catch=="function"?ZodParsedType.promise:typeof Map<"u"&&_ instanceof Map?ZodParsedType.map:typeof Set<"u"&&_ instanceof Set?ZodParsedType.set:typeof Date<"u"&&_ instanceof Date?ZodParsedType.date:ZodParsedType.object;default:return ZodParsedType.unknown}}
vendor: 6,573 bytes, line 848
848,ZodIssueCode=util.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class ZodError extends Error{get errors(){return this.issues}constructor(j){super(),this.issues=[],this.addIssue=tt=>{this.issues=[...this.issues,tt]},this.addIssues=(tt=[])=>{this.issues=[...this.issues,...tt]};const et=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,et):this.__proto__=et,this.name="ZodError",this.issues=j}format(j){const et=j||function(nt){return nt.message},tt={_errors:[]},rt=nt=>{for(const it of nt.issues)if(it.code==="invalid_union")it.unionErrors.map(rt);else if(it.code==="invalid_return_type")rt(it.returnTypeError);else if(it.code==="invalid_arguments")rt(it.argumentsError);else if(it.path.length===0)tt._errors.push(et(it));else{let st=tt,at=0;for(;at<it.path.length;){const ot=it.path[at];at===it.path.length-1?(st[ot]=st[ot]||{_errors:[]},st[ot]._errors.push(et(it))):st[ot]=st[ot]||{_errors:[]},st=st[ot],at++}}};return rt(this),tt}static assert(j){if(!(j instanceof ZodError))throw new Error(`Not a ZodError: ${j}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,util.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(j=et=>et.message){const et={},tt=[];for(const rt of this.issues)if(rt.path.length>0){const nt=rt.path[0];et[nt]=et[nt]||[],et[nt].push(j(rt))}else tt.push(j(rt));return{formErrors:tt,fieldErrors:et}}get formErrors(){return this.flatten()}}ZodError.create=_=>new ZodError(_);const errorMap=(_,j)=>{let et;switch(_.code){case ZodIssueCode.invalid_type:_.received===ZodParsedType.undefined?et="Required":et=`Expected ${_.expected}, received ${_.received}`;break;case ZodIssueCode.invalid_literal:et=`Invalid literal value, expected ${JSON.stringify(_.expected,util.jsonStringifyReplacer)}`;break;case ZodIssueCode.unrecognized_keys:et=`Unrecognized key(s) in object: ${util.joinValues(_.keys,", ")}`;break;case ZodIssueCode.invalid_union:et="Invalid input";break;case ZodIssueCode.invalid_union_discriminator:et=`Invalid discriminator value. Expected ${util.joinValues(_.options)}`;break;case ZodIssueCode.invalid_enum_value:et=`Invalid enum value. Expected ${util.joinValues(_.options)}, received '${_.received}'`;break;case ZodIssueCode.invalid_arguments:et="Invalid function arguments";break;case ZodIssueCode.invalid_return_type:et="Invalid function return type";break;case ZodIssueCode.invalid_date:et="Invalid date";break;case ZodIssueCode.invalid_string:typeof _.validation=="object"?"includes"in _.validation?(et=`Invalid input: must include "${_.validation.includes}"`,typeof _.validation.position=="number"&&(et=`${et} at one or more positions greater than or equal to ${_.validation.position}`)):"startsWith"in _.validation?et=`Invalid input: must start with "${_.validation.startsWith}"`:"endsWith"in _.validation?et=`Invalid input: must end with "${_.validation.endsWith}"`:util.assertNever(_.validation):_.validation!=="regex"?et=`Invalid ${_.validation}`:et="Invalid";break;case ZodIssueCode.too_small:_.type==="array"?et=`Array must contain ${_.exact?"exactly":_.inclusive?"at least":"more than"} ${_.minimum} element(s)`:_.type==="string"?et=`String must contain ${_.exact?"exactly":_.inclusive?"at least":"over"} ${_.minimum} character(s)`:_.type==="number"?et=`Number must be ${_.exact?"exactly equal to ":_.inclusive?"greater than or equal to ":"greater than "}${_.minimum}`:_.type==="bigint"?et=`Number must be ${_.exact?"exactly equal to ":_.inclusive?"greater than or equal to ":"greater than "}${_.minimum}`:_.type==="date"?et=`Date must be ${_.exact?"exactly equal to ":_.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(_.minimum))}`:et="Invalid input";break;case ZodIssueCode.too_big:_.type==="array"?et=`Array must contain ${_.exact?"exactly":_.inclusive?"at most":"less than"} ${_.maximum} element(s)`:_.type==="string"?et=`String must contain ${_.exact?"exactly":_.inclusive?"at most":"under"} ${_.maximum} character(s)`:_.type==="number"?et=`Number must be ${_.exact?"exactly":_.inclusive?"less than or equal to":"less than"} ${_.maximum}`:_.type==="bigint"?et=`BigInt must be ${_.exact?"exactly":_.inclusive?"less than or equal to":"less than"} ${_.maximum}`:_.type==="date"?et=`Date must be ${_.exact?"exactly":_.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(_.maximum))}`:et="Invalid input";break;case ZodIssueCode.custom:et="Invalid input";break;case ZodIssueCode.invalid_intersection_types:et="Intersection results could not be merged";break;case ZodIssueCode.not_multiple_of:et=`Number must be a multiple of ${_.multipleOf}`;break;case ZodIssueCode.not_finite:et="Number must be finite";break;default:et=j.defaultError,util.assertNever(_)}return{message:et}};let overrideErrorMap=errorMap;function getErrorMap(){return overrideErrorMap}const makeIssue=_=>{const{data:j,path:et,errorMaps:tt,issueData:rt}=_,nt=[...et,...rt.path||[]],it={...rt,path:nt};if(rt.message!==void 0)return{...rt,path:nt,message:rt.message};let st="";const at=tt.filter(ot=>!!ot).slice().reverse();for(const ot of at)st=ot(it,{data:j,defaultError:st}).message;return{...rt,path:nt,message:st}};function addIssueToContext(_,j){const et=getErrorMap(),tt=makeIssue({issueData:j,data:_.data,path:_.path,errorMaps:[_.common.contextualErrorMap,_.schemaErrorMap,et,et===errorMap?void 0:errorMap].filter(rt=>!!rt)});_.common.issues.push(tt)}class ParseStatus{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(j,et){const tt=[];for(const rt of et){if(rt.status==="aborted")return INVALID;rt.status==="dirty"&&j.dirty(),tt.push(rt.value)}return{status:j.value,value:tt}}static async mergeObjectAsync(j,et){const tt=[];for(const rt of et){const nt=await rt.key,it=await rt.value;tt.push({key:nt,value:it})}return ParseStatus.mergeObjectSync(j,tt)}static mergeObjectSync(j,et){const tt={};for(const rt of et){const{key:nt,value:it}=rt;if(nt.status==="aborted"||it.status==="aborted")return INVALID;nt.status==="dirty"&&j.dirty(),it.status==="dirty"&&j.dirty(),nt.value!=="__proto__"&&(typeof it.value<"u"||rt.alwaysSet)&&(tt[nt.value]=it.value)}return{status:j.value,value:tt}}}const INVALID=Object.freeze({status:"aborted"}),DIRTY=_=>({status:"dirty",value:_}),OK=_=>
vendor: 31,670 bytes, line 848
848({status:"valid",value:_}),isAborted=_=>_.status==="aborted",isDirty=_=>_.status==="dirty",isValid=_=>_.status==="valid",isAsync=_=>typeof Promise<"u"&&_ instanceof Promise;var errorUtil;(function(_){_.errToObj=j=>typeof j=="string"?{message:j}:j||{},_.toString=j=>typeof j=="string"?j:j==null?void 0:j.message})(errorUtil||(errorUtil={}));class ParseInputLazyPath{constructor(j,et,tt,rt){this._cachedPath=[],this.parent=j,this.data=et,this._path=tt,this._key=rt}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const handleResult=(_,j)=>{if(isValid(j))return{success:!0,data:j.value};if(!_.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const et=new ZodError(_.common.issues);return this._error=et,this._error}}};function processCreateParams(_){if(!_)return{};const{errorMap:j,invalid_type_error:et,required_error:tt,description:rt}=_;if(j&&(et||tt))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return j?{errorMap:j,description:rt}:{errorMap:(it,st)=>{const{message:at}=_;return it.code==="invalid_enum_value"?{message:at??st.defaultError}:typeof st.data>"u"?{message:at??tt??st.defaultError}:it.code!=="invalid_type"?{message:st.defaultError}:{message:at??et??st.defaultError}},description:rt}}class ZodType{get description(){return this._def.description}_getType(j){return getParsedType(j.data)}_getOrReturnCtx(j,et){return et||{common:j.parent.common,data:j.data,parsedType:getParsedType(j.data),schemaErrorMap:this._def.errorMap,path:j.path,parent:j.parent}}_processInputParams(j){return{status:new ParseStatus,ctx:{common:j.parent.common,data:j.data,parsedType:getParsedType(j.data),schemaErrorMap:this._def.errorMap,path:j.path,parent:j.parent}}}_parseSync(j){const et=this._parse(j);if(isAsync(et))throw new Error("Synchronous parse encountered promise.");return et}_parseAsync(j){const et=this._parse(j);return Promise.resolve(et)}parse(j,et){const tt=this.safeParse(j,et);if(tt.success)return tt.data;throw tt.error}safeParse(j,et){const tt={common:{issues:[],async:(et==null?void 0:et.async)??!1,contextualErrorMap:et==null?void 0:et.errorMap},path:(et==null?void 0:et.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:j,parsedType:getParsedType(j)},rt=this._parseSync({data:j,path:tt.path,parent:tt});return handleResult(tt,rt)}"~validate"(j){var tt,rt;const et={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:j,parsedType:getParsedType(j)};if(!this["~standard"].async)try{const nt=this._parseSync({data:j,path:[],parent:et});return isValid(nt)?{value:nt.value}:{issues:et.common.issues}}catch(nt){(rt=(tt=nt==null?void 0:nt.message)==null?void 0:tt.toLowerCase())!=null&&rt.includes("encountered")&&(this["~standard"].async=!0),et.common={issues:[],async:!0}}return this._parseAsync({data:j,path:[],parent:et}).then(nt=>isValid(nt)?{value:nt.value}:{issues:et.common.issues})}async parseAsync(j,et){const tt=await this.safeParseAsync(j,et);if(tt.success)return tt.data;throw tt.error}async safeParseAsync(j,et){const tt={common:{issues:[],contextualErrorMap:et==null?void 0:et.errorMap,async:!0},path:(et==null?void 0:et.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:j,parsedType:getParsedType(j)},rt=this._parse({data:j,path:tt.path,parent:tt}),nt=await(isAsync(rt)?rt:Promise.resolve(rt));return handleResult(tt,nt)}refine(j,et){const tt=rt=>typeof et=="string"||typeof et>"u"?{message:et}:typeof et=="function"?et(rt):et;return this._refinement((rt,nt)=>{const it=j(rt),st=()=>nt.addIssue({code:ZodIssueCode.custom,...tt(rt)});return typeof Promise<"u"&&it instanceof Promise?it.then(at=>at?!0:(st(),!1)):it?!0:(st(),!1)})}refinement(j,et){return this._refinement((tt,rt)=>j(tt)?!0:(rt.addIssue(typeof et=="function"?et(tt,rt):et),!1))}_refinement(j){return new ZodEffects({schema:this,typeName:ZodFirstPartyTypeKind.ZodEffects,effect:{type:"refinement",refinement:j}})}superRefine(j){return this._refinement(j)}constructor(j){this.spa=this.safeParseAsync,this._def=j,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:et=>this["~validate"](et)}}optional(){return ZodOptional.create(this,this._def)}nullable(){return ZodNullable.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ZodArray.create(this)}promise(){return ZodPromise.create(this,this._def)}or(j){return ZodUnion.create([this,j],this._def)}and(j){return ZodIntersection.create(this,j,this._def)}transform(j){return new ZodEffects({...processCreateParams(this._def),schema:this,typeName:ZodFirstPartyTypeKind.ZodEffects,effect:{type:"transform",transform:j}})}default(j){const et=typeof j=="function"?j:()=>j;return new ZodDefault({...processCreateParams(this._def),innerType:this,defaultValue:et,typeName:ZodFirstPartyTypeKind.ZodDefault})}brand(){return new ZodBranded({typeName:ZodFirstPartyTypeKind.ZodBranded,type:this,...processCreateParams(this._def)})}catch(j){const et=typeof j=="function"?j:()=>j;return new ZodCatch({...processCreateParams(this._def),innerType:this,catchValue:et,typeName:ZodFirstPartyTypeKind.ZodCatch})}describe(j){const et=this.constructor;return new et({...this._def,description:j})}pipe(j){return ZodPipeline.create(this,j)}readonly(){return ZodReadonly.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const cuidRegex=/^c[^\s-]{8,}$/i,cuid2Regex=/^[0-9a-z]+$/,ulidRegex=/^[0-9A-HJKMNP-TV-Z]{26}$/i,uuidRegex=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,nanoidRegex=/^[a-z0-9_-]{21}$/i,jwtRegex=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,durationRegex=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,emailRegex=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,_emojiRegex="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let emojiRegex;const ipv4Regex=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4CidrRegex=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6Regex=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,ipv6CidrRegex=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64Regex=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64urlRegex=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,dateRegexSource="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",dateRegex=new RegExp(`^${dateRegexSource}$`);function timeRegexSource(_){let j="[0-5]\\d";_.precision?j=`${j}\\.\\d{${_.precision}}`:_.precision==null&&(j=`${j}(\\.\\d+)?`);const et=_.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${j})${et}`}function timeRegex(_){return new RegExp(`^${timeRegexSource(_)}$`)}function datetimeRegex(_){let j=`${dateRegexSource}T${timeRegexSource(_)}`;const et=[];return et.push(_.local?"Z?":"Z"),_.offset&&et.push("([+-]\\d{2}:?\\d{2})"),j=`${j}(${et.join("|")})`,new RegExp(`^${j}$`)}function isValidIP(_,j){return!!((j==="v4"||!j)&&ipv4Regex.test(_)||(j==="v6"||!j)&&ipv6Regex.test(_))}function isValidJWT(_,j){if(!jwtRegex.test(_))return!1;try{const[et]=_.split(".");if(!et)return!1;const tt=et.replace(/-/g,"+").replace(/_/g,"/").padEnd(et.length+(4-et.length%4)%4,"="),rt=JSON.parse(atob(tt));return!(typeof rt!="object"||rt===null||"typ"in rt&&(rt==null?void 0:rt.typ)!=="JWT"||!rt.alg||j&&rt.alg!==j)}catch{return!1}}function isValidCidr(_,j){return!!((j==="v4"||!j)&&ipv4CidrRegex.test(_)||(j==="v6"||!j)&&ipv6CidrRegex.test(_))}class ZodString extends ZodType{_parse(j){if(this._def.coerce&&(j.data=String(j.data)),this._getType(j)!==ZodParsedType.string){const nt=this._getOrReturnCtx(j);return addIssueToContext(nt,{code:ZodIssueCode.invalid_type,expected:ZodParsedType.string,received:nt.parsedType}),INVALID}const tt=new ParseStatus;let rt;for(const nt of this._def.checks)if(nt.kind==="min")j.data.length<nt.value&&(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{code:ZodIssueCode.too_small,minimum:nt.value,type:"string",inclusive:!0,exact:!1,message:nt.message}),tt.dirty());else if(nt.kind==="max")j.data.length>nt.value&&(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{code:ZodIssueCode.too_big,maximum:nt.value,type:"string",inclusive:!0,exact:!1,message:nt.message}),tt.dirty());else if(nt.kind==="length"){const it=j.data.length>nt.value,st=j.data.length<nt.value;(it||st)&&(rt=this._getOrReturnCtx(j,rt),it?addIssueToContext(rt,{code:ZodIssueCode.too_big,maximum:nt.value,type:"string",inclusive:!0,exact:!0,message:nt.message}):st&&addIssueToContext(rt,{code:ZodIssueCode.too_small,minimum:nt.value,type:"string",inclusive:!0,exact:!0,message:nt.message}),tt.dirty())}else if(nt.kind==="email")emailRegex.test(j.data)||(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{validation:"email",code:ZodIssueCode.invalid_string,message:nt.message}),tt.dirty());else if(nt.kind==="emoji")emojiRegex||(emojiRegex=new RegExp(_emojiRegex,"u")),emojiRegex.test(j.data)||(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{validation:"emoji",code:ZodIssueCode.invalid_string,message:nt.message}),tt.dirty());else if(nt.kind==="uuid")uuidRegex.test(j.data)||(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{validation:"uuid",code:ZodIssueCode.invalid_string,message:nt.message}),tt.dirty());else if(nt.kind==="nanoid")nanoidRegex.test(j.data)||(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{validation:"nanoid",code:ZodIssueCode.invalid_string,message:nt.message}),tt.dirty());else if(nt.kind==="cuid")cuidRegex.test(j.data)||(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{validation:"cuid",code:ZodIssueCode.invalid_string,message:nt.message}),tt.dirty());else if(nt.kind==="cuid2")cuid2Regex.test(j.data)||(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{validation:"cuid2",code:ZodIssueCode.invalid_string,message:nt.message}),tt.dirty());else if(nt.kind==="ulid")ulidRegex.test(j.data)||(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{validation:"ulid",code:ZodIssueCode.invalid_string,message:nt.message}),tt.dirty());else if(nt.kind==="url")try{new URL(j.data)}catch{rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{validation:"url",code:ZodIssueCode.invalid_string,message:nt.message}),tt.dirty()}else nt.kind==="regex"?(nt.regex.lastIndex=0,nt.regex.test(j.data)||(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{validation:"regex",code:ZodIssueCode.invalid_string,message:nt.message}),tt.dirty())):nt.kind==="trim"?j.data=j.data.trim():nt.kind==="includes"?j.data.includes(nt.value,nt.position)||(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{code:ZodIssueCode.invalid_string,validation:{includes:nt.value,position:nt.position},message:nt.message}),tt.dirty()):nt.kind==="toLowerCase"?j.data=j.data.toLowerCase():nt.kind==="toUpperCase"?j.data=j.data.toUpperCase():nt.kind==="startsWith"?j.data.startsWith(nt.value)||(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{code:ZodIssueCode.invalid_string,validation:{startsWith:nt.value},message:nt.message}),tt.dirty()):nt.kind==="endsWith"?j.data.endsWith(nt.value)||(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{code:ZodIssueCode.invalid_string,validation:{endsWith:nt.value},message:nt.message}),tt.dirty()):nt.kind==="datetime"?datetimeRegex(nt).test(j.data)||(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{code:ZodIssueCode.invalid_string,validation:"datetime",message:nt.message}),tt.dirty()):nt.kind==="date"?dateRegex.test(j.data)||(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{code:ZodIssueCode.invalid_string,validation:"date",message:nt.message}),tt.dirty()):nt.kind==="time"?timeRegex(nt).test(j.data)||(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{code:ZodIssueCode.invalid_string,validation:"time",message:nt.message}),tt.dirty()):nt.kind==="duration"?durationRegex.test(j.data)||(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{validation:"duration",code:ZodIssueCode.invalid_string,message:nt.message}),tt.dirty()):nt.kind==="ip"?isValidIP(j.data,nt.version)||(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{validation:"ip",code:ZodIssueCode.invalid_string,message:nt.message}),tt.dirty()):nt.kind==="jwt"?isValidJWT(j.data,nt.alg)||(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{validation:"jwt",code:ZodIssueCode.invalid_string,message:nt.message}),tt.dirty()):nt.kind==="cidr"?isValidCidr(j.data,nt.version)||(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{validation:"cidr",code:ZodIssueCode.invalid_string,message:nt.message}),tt.dirty()):nt.kind==="base64"?base64Regex.test(j.data)||(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{validation:"base64",code:ZodIssueCode.invalid_string,message:nt.message}),tt.dirty()):nt.kind==="base64url"?base64urlRegex.test(j.data)||(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{validation:"base64url",code:ZodIssueCode.invalid_string,message:nt.message}),tt.dirty()):util.assertNever(nt);return{status:tt.value,value:j.data}}_regex(j,et,tt){return this.refinement(rt=>j.test(rt),{validation:et,code:ZodIssueCode.invalid_string,...errorUtil.errToObj(tt)})}_addCheck(j){return new ZodString({...this._def,checks:[...this._def.checks,j]})}email(j){return this._addCheck({kind:"email",...errorUtil.errToObj(j)})}url(j){return this._addCheck({kind:"url",...errorUtil.errToObj(j)})}emoji(j){return this._addCheck({kind:"emoji",...errorUtil.errToObj(j)})}uuid(j){return this._addCheck({kind:"uuid",...errorUtil.errToObj(j)})}nanoid(j){return this._addCheck({kind:"nanoid",...errorUtil.errToObj(j)})}cuid(j){return this._addCheck({kind:"cuid",...errorUtil.errToObj(j)})}cuid2(j){return this._addCheck({kind:"cuid2",...errorUtil.errToObj(j)})}ulid(j){return this._addCheck({kind:"ulid",...errorUtil.errToObj(j)})}base64(j){return this._addCheck({kind:"base64",...errorUtil.errToObj(j)})}base64url(j){return this._addCheck({kind:"base64url",...errorUtil.errToObj(j)})}jwt(j){return this._addCheck({kind:"jwt",...errorUtil.errToObj(j)})}ip(j){return this._addCheck({kind:"ip",...errorUtil.errToObj(j)})}cidr(j){return this._addCheck({kind:"cidr",...errorUtil.errToObj(j)})}datetime(j){return typeof j=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:j}):this._addCheck({kind:"datetime",precision:typeof(j==null?void 0:j.precision)>"u"?null:j==null?void 0:j.precision,offset:(j==null?void 0:j.offset)??!1,local:(j==null?void 0:j.local)??!1,...errorUtil.errToObj(j==null?void 0:j.message)})}date(j){return this._addCheck({kind:"date",message:j})}time(j){return typeof j=="string"?this._addCheck({kind:"time",precision:null,message:j}):this._addCheck({kind:"time",precision:typeof(j==null?void 0:j.precision)>"u"?null:j==null?void 0:j.precision,...errorUtil.errToObj(j==null?void 0:j.message)})}duration(j){return this._addCheck({kind:"duration",...errorUtil.errToObj(j)})}regex(j,et){return this._addCheck({kind:"regex",regex:j,...errorUtil.errToObj(et)})}includes(j,et){return this._addCheck({kind:"includes",value:j,position:et==null?void 0:et.position,...errorUtil.errToObj(et==null?void 0:et.message)})}startsWith(j,et){return this._addCheck({kind:"startsWith",value:j,...errorUtil.errToObj(et)})}endsWith(j,et){return this._addCheck({kind:"endsWith",value:j,...errorUtil.errToObj(et)})}min(j,et){return this._addCheck({kind:"min",value:j,...errorUtil.errToObj(et)})}max(j,et){return this._addCheck({kind:"max",value:j,...errorUtil.errToObj(et)})}length(j,et){return this._addCheck({kind:"length",value:j,...errorUtil.errToObj(et)})}nonempty(j){return this.min(1,errorUtil.errToObj(j))}trim(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(j=>j.kind==="datetime")}get isDate(){return!!this._def.checks.find(j=>j.kind==="date")}get isTime(){return!!this._def.checks.find(j=>j.kind==="time")}get isDuration(){return!!this._def.checks.find(j=>j.kind==="duration")}get isEmail(){return!!this._def.checks.find(j=>j.kind==="email")}get isURL(){return!!this._def.checks.find(j=>j.kind==="url")}get isEmoji(){return!!this._def.checks.find(j=>j.kind==="emoji")}get isUUID(){return!!this._def.checks.find(j=>j.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(j=>j.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(j=>j.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(j=>j.kind==="cuid2")}get isULID(){return!!this._def.checks.find(j=>j.kind==="ulid")}get isIP(){return!!this._def.checks.find(j=>j.kind==="ip")}get isCIDR(){return!!this._def.checks.find(j=>j.kind==="cidr")}get isBase64(){return!!this._def.checks.find(j=>j.kind==="base64")}get isBase64url(){return!!this._def.checks.find(j=>j.kind==="base64url")}get minLength(){let j=null;for(const et of this._def.checks)et.kind==="min"&&(j===null||et.value>j)&&(j=et.value);return j}get maxLength(){let j=null;for(const et of this._def.checks)et.kind==="max"&&(j===null||et.value<j)&&(j=et.value);return j}}ZodString.create=_=>new ZodString({checks:[],typeName:ZodFirstPartyTypeKind.ZodString,coerce:(_==null?void 0:_.coerce)??!1,...processCreateParams(_)});function floatSafeRemainder(_,j){const et=(_.toString().split(".")[1]||"").length,tt=(j.toString().split(".")[1]||"").length,rt=et>tt?et:tt,nt=Number.parseInt(_.toFixed(rt).replace(".","")),it=Number.parseInt(j.toFixed(rt).replace(".",""));return nt%it/10**rt}class ZodNumber extends ZodType{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(j){if(this._def.coerce&&(j.data=Number(j.data)),this._getType(j)!==ZodParsedType.number){const nt=this._getOrReturnCtx(j);return addIssueToContext(nt,{code:ZodIssueCode.invalid_type,expected:ZodParsedType.number,received:nt.parsedType}),INVALID}let tt;const rt=new ParseStatus;for(const nt of this._def.checks)nt.kind==="int"?util.isInteger(j.data)||(tt=this._getOrReturnCtx(j,tt),addIssueToContext(tt,{code:ZodIssueCode.invalid_type,expected:"integer",received:"float",message:nt.message}),rt.dirty()):nt.kind==="min"?(nt.inclusive?j.data<nt.value:j.data<=nt.value)&&(tt=this._getOrReturnCtx(j,tt),addIssueToContext(tt,{code:ZodIssueCode.too_small,minimum:nt.value,type:"number",inclusive:nt.inclusive,exact:!1,message:nt.message}),rt.dirty()):nt.kind==="max"?(nt.inclusive?j.data>nt.value:j.data>=nt.value)&&(tt=this._getOrReturnCtx(j,tt),addIssueToContext(tt,{code:ZodIssueCode.too_big,maximum:nt.value,type:"number",inclusive:nt.inclusive,exact:!1,message:nt.message}),rt.dirty()):nt.kind==="multipleOf"?floatSafeRemainder(j.data,nt.value)!==0&&(tt=this._getOrReturnCtx(j,tt),addIssueToContext(tt,{code:ZodIssueCode.not_multiple_of,multipleOf:nt.value,message:nt.message}),rt.dirty()):nt.kind==="finite"?Number.isFinite(j.data)||(tt=this._getOrReturnCtx(j,tt),addIssueToContext(tt,{code:ZodIssueCode.not_finite,message:nt.message}),rt.dirty()):util.assertNever(nt);return{status:rt.value,value:j.data}}gte(j,et){return this.setLimit("min",j,!0,errorUtil.toString(et))}gt(j,et){return this.setLimit("min",j,!1,errorUtil.toString(et))}lte(j,et){return this.setLimit("max",j,!0,errorUtil.toString(et))}lt(j,et){return this.setLimit("max",j,!1,errorUtil.toString(et))}setLimit(j,et,tt,rt){return new ZodNumber({...this._def,checks:[...this._def.checks,{kind:j,value:et,inclusive:tt,message:errorUtil.toString(rt)}]})}_addCheck(j){return new ZodNumber({...this._def,checks:[...this._def.checks,j]})}int(j){return this._addCheck({kind:"int",message:errorUtil.toString(j)})}positive(j){return this._addCheck({kind:"min",value:0,inclusive:!1,message:errorUtil.toString(j)})}negative(j){return this._addCheck({kind:"max",value:0,inclusive:!1,message:errorUtil.toString(j)})}nonpositive(j){return this._addCheck({kind:"max",value:0,inclusive:!0,message:errorUtil.toString(j)})}nonnegative(j){return this._addCheck({kind:"min",value:0,inclusive:!0,message:errorUtil.toString(j)})}multipleOf(j,et){return this._addCheck({kind:"multipleOf",value:j,message:errorUtil.toString(et)})}finite(j){return this._addCheck({kind:"finite",message:errorUtil.toString(j)})}safe(j){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:errorUtil.toString(j)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:errorUtil.toString(j)})}get minValue(){let j=null;for(const et of this._def.checks)et.kind==="min"&&(j===null||et.value>j)&&(j=et.value);return j}get maxValue(){let j=null;for(const et of this._def.checks)et.kind==="max"&&(j===null||et.value<j)&&(j=et.value);return j}get isInt(){return!!this._def.checks.find(j=>j.kind==="int"||j.kind==="multipleOf"&&util.isInteger(j.value))}get isFinite(){let j=null,et=null;for(const tt of this._def.checks){if(tt.kind==="finite"||tt.kind==="int"||tt.kind==="multipleOf")return!0;tt.kind==="min"?(et===null||tt.value>et)&&(et=tt.value):tt.kind==="max"&&(j===null||tt.value<j)&&(j=tt.value)}return Number.isFinite(et)&&Number.isFinite(j)}}ZodNumber.create=_=>new ZodNumber({checks:[],typeName:ZodFirstPartyTypeKind.ZodNumber,coerce:(_==null?void 0:_.coerce)||!1,...processCreateParams(_)});class ZodBigInt extends ZodType{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(j){if(this._def.coerce)try{j.data=BigInt(j.data)}catch{return this._getInvalidInput(j)}if(this._getType(j)!==ZodParsedType.bigint)return this._getInvalidInput(j);let tt;const rt=new ParseStatus;for(const nt of this._def.checks)nt.kind==="min"?(nt.inclusive?j.data<nt.value:j.data<=nt.value)&&(tt=this._getOrReturnCtx(j,tt),addIssueToContext(tt,{code:ZodIssueCode.too_small,type:"bigint",minimum:nt.value,inclusive:nt.inclusive,message:nt.message}),rt.dirty()):nt.kind==="max"?(nt.inclusive?j.data>nt.value:j.data>=nt.value)&&(tt=this._getOrReturnCtx(j,tt),addIssueToContext(tt,{code:ZodIssueCode.too_big,type:"bigint",maximum:nt.value,inclusive:nt.inclusive,message:nt.message}),rt.dirty()):nt.kind==="multipleOf"?j.data%nt.value!==BigInt(0)&&(tt=this._getOrReturnCtx(j,tt),addIssueToContext(tt,{code:ZodIssueCode.not_multiple_of,multipleOf:nt.value,message:nt.message}),rt.dirty()):util.assertNever(nt);return{status:rt.value,value:j.data}}_getInvalidInput(j){const et=this._getOrReturnCtx(j);return addIssueToContext(et,{code:ZodIssueCode.invalid_type,expected:ZodParsedType.bigint,received:et.parsedType}),INVALID}gte(j,et){return this.setLimit("min",j,!0,errorUtil.toString(et))}gt(j,et){return this.setLimit("min",j,!1,errorUtil.toString(et))}lte(j,et){return this.setLimit("max",j,!0,errorUtil.toString(et))}lt(j,et){return this.setLimit("max",j,!1,errorUtil.toString(et))}setLimit(j,et,tt,rt){return new ZodBigInt({...this._def,checks:[...this._def.checks,{kind:j,value:et,inclusive:tt,message:errorUtil.toString(rt)}]})}_addCheck(j){return new ZodBigInt({...this._def,checks:[...this._def.checks,j]})}positive(j){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:errorUtil.toString(j)})}negative(j){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:errorUtil.toString(j)})}nonpositive(j){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:errorUtil.toString(j)})}nonnegative(j){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:errorUtil.toString(j)})}multipleOf(j,et){return this._addCheck({kind:"multipleOf",value:j,message:errorUtil.toString(et)})}get minValue(){let j=null;for(const et of this._def.checks)et.kind==="min"&&(j===null||et.value>j)&&(j=et.value);return j}get maxValue(){let j=null;for(const et of this._def.checks)et.kind==="max"&&(j===null||et.value<j)&&(j=et.value);return j}}ZodBigInt.create=_=>new ZodBigInt({checks:[],typeName:ZodFirstPartyTypeKind.ZodBigInt,coerce:(_==null?void 0:_.coerce)??!1,...processCreateParams(_)});class ZodBoolean extends ZodType{_parse(j){if(this._def.coerce&&(j.data=!!j.data),this._getType(j)!==ZodParsedType.boolean){const tt=this._getOrReturnCtx(j);return addIssueToContext(tt,{code:ZodIssueCode.invalid_type,expected:ZodParsedType.boolean,received:tt.parsedType}),INVALID}return OK(j.data)}}ZodBoolean.create=_=>new ZodBoolean({typeName:ZodFirstPartyTypeKind.ZodBoolean,coerce:(_==null?void 0:_.coerce)||!1,...processCreateParams(_)});class ZodDate extends ZodType{_parse(j){if(this._def.coerce&&(j.data=new Date(j.data)),this._getType(j)!==ZodParsedType.date){const nt=this._getOrReturnCtx(j);return addIssueToContext(nt,{code:ZodIssueCode.invalid_type,expected:ZodParsedType.date,received:nt.parsedType}),INVALID}if(Number.isNaN(j.data.getTime())){const nt=this._getOrReturnCtx(j);return addIssueToContext(nt,{code:ZodIssueCode.invalid_date}),INVALID}const tt=new ParseStatus;let rt;for(const nt of this._def.checks)nt.kind==="min"?j.data.getTime()<nt.value&&(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{code:ZodIssueCode.too_small,message:nt.message,inclusive:!0,exact:!1,minimum:nt.value,type:"date"}),tt.dirty()):nt.kind==="max"?j.data.getTime()>nt.value&&(rt=this._getOrReturnCtx(j,rt),addIssueToContext(rt,{code:ZodIssueCode.too_big,message:nt.message,inclusive:!0,exact:!1,maximum:nt.value,type:"date"}),tt.dirty()):util.assertNever(nt);return{status:tt.value,value:new Date(j.data.getTime())}}_addCheck(j){return new ZodDate({...this._def,checks:[...this._def.checks,j]})}min(j,et){return this._addCheck({kind:"min",value:j.getTime(),message:errorUtil.toString(et)})}max(j,et){return this._addCheck({kind:"max",value:j.getTime(),message:errorUtil.toString(et)})}get minDate(){let j=null;for(const et of this._def.checks)et.kind==="min"&&(j===null||et.value>j)&&(j=et.value);return j!=null?new Date(j):null}get maxDate(){let j=null;for(const et of this._def.checks)et.kind==="max"&&(j===null||et.value<j)&&(j=et.value);return j!=null?new Date(j):null}}ZodDate.create=_=>new ZodDate({checks:[],coerce:(_==null?void 0:_.coerce)||!1,typeName:ZodFirstPartyTypeKind.ZodDate,...processCreateParams(_)});class ZodSymbol extends ZodType{_parse(j){if(this._getType(j)!==ZodParsedType.symbol){const tt=this._getOrReturnCtx(j);return addIssueToContext(tt,{code:ZodIssueCode.invalid_type,expected:ZodParsedType.symbol,received:tt.parsedType}),INVALID}return OK(j.data)}}ZodSymbol.create=_=>new ZodSymbol({typeName:ZodFirstPartyTypeKind.ZodSymbol,...processCreateParams(_)});class ZodUndefined extends ZodType{_parse(j){if(this._getType(j)!==ZodParsedType.undefined){const tt=this._getOrReturnCtx(j);return addIssueToContext(tt,{code:ZodIssueCode.invalid_type,expected:ZodParsedType.undefined,received:tt.parsedType}),INVALID}return OK(j.data)}}ZodUndefined.create=_=>new ZodUndefined({typeName:ZodFirstPartyTypeKind.ZodUndefined,...processCreateParams(_)});class ZodNull extends ZodType{_parse(j){if(this._getType(j)!==ZodParsedType.null){const tt=this._getOrReturnCtx(j);return addIssueToContext(tt,{code:ZodIssueCode.invalid_type,expected:ZodParsedType.null,received:tt.parsedType}),INVALID}return OK(j.data)}}ZodNull.create=_=>new ZodNull({typeName:ZodFirstPartyTypeKind.ZodNull,...processCreateParams(_)});class ZodAny extends ZodType{constructor(){super(...arguments),this._any=!0}_parse(j){return OK(j.data)}}ZodAny.create=_=>new ZodAny({typeName:ZodFirstPartyTypeKind.ZodAny,...processCreateParams(_)});class ZodUnknown extends ZodType{constructor(){super(...arguments),this._unknown=!0}_parse(j){return OK(j.data)}}ZodUnknown.create=_=>new ZodUnknown({typeName:ZodFirstPartyTypeKind.ZodUnknown,...processCreateParams(_)});class ZodNever extends ZodType{_parse(j){const et=this._getOrReturnCtx(j);return addIssueToContext(et,{code:ZodIssueCode.invalid_type,expected:ZodParsedType.never,received:et.parsedType}),INVALID}}ZodNever.create=_=>new ZodNever({typeName:ZodFirstPartyTypeKind.ZodNever,...processCreateParams(_)});class ZodVoid extends ZodType{_parse(j){if(this._getType(j)!==ZodParsedType.undefined){const tt=this._getOrReturnCtx(j);return addIssueToContext(tt,{code:ZodIssueCode.invalid_type,expected:ZodParsedType.void,received:tt.parsedType}),INVALID}return OK(j.data)}}ZodVoid.create=_=>new ZodVoid({typeName:ZodFirstPartyTypeKind.ZodVoid,...processCreateParams(_)});class ZodArray extends ZodType{_parse(j){const{ctx:et,status:tt}=this._processInputParams(j),rt=this._def;if(et.parsedType!==ZodParsedType.array)return addIssueToContext(et,{code:ZodIssueCode.invalid_type,expected:ZodParsedType.array,received:et.parsedType}),INVALID;if(rt.exactLength!==null){const it=et.data.length>rt.exactLength.value,st=et.data.length<rt.exactLength.value;(it||st)&&(addIssueToContext(et,{code:it?ZodIssueCode.too_big:ZodIssueCode.too_small,minimum:st?rt.exactLength.value:void 0,maximum:it?rt.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:rt.exactLength.message}),tt.dirty())}
vendor: 5,255 bytes, line 848
848if(rt.minLength!==null&&et.data.length<rt.minLength.value&&(addIssueToContext(et,{code:ZodIssueCode.too_small,minimum:rt.minLength.value,type:"array",inclusive:!0,exact:!1,message:rt.minLength.message}),tt.dirty()),rt.maxLength!==null&&et.data.length>rt.maxLength.value&&(addIssueToContext(et,{code:ZodIssueCode.too_big,maximum:rt.maxLength.value,type:"array",inclusive:!0,exact:!1,message:rt.maxLength.message}),tt.dirty()),et.common.async)return Promise.all([...et.data].map((it,st)=>rt.type._parseAsync(new ParseInputLazyPath(et,it,et.path,st)))).then(it=>ParseStatus.mergeArray(tt,it));const nt=[...et.data].map((it,st)=>rt.type._parseSync(new ParseInputLazyPath(et,it,et.path,st)));return ParseStatus.mergeArray(tt,nt)}get element(){return this._def.type}min(j,et){return new ZodArray({...this._def,minLength:{value:j,message:errorUtil.toString(et)}})}max(j,et){return new ZodArray({...this._def,maxLength:{value:j,message:errorUtil.toString(et)}})}length(j,et){return new ZodArray({...this._def,exactLength:{value:j,message:errorUtil.toString(et)}})}nonempty(j){return this.min(1,j)}}ZodArray.create=(_,j)=>new ZodArray({type:_,minLength:null,maxLength:null,exactLength:null,typeName:ZodFirstPartyTypeKind.ZodArray,...processCreateParams(j)});function deepPartialify(_){if(_ instanceof ZodObject){const j={};for(const et in _.shape){const tt=_.shape[et];j[et]=ZodOptional.create(deepPartialify(tt))}return new ZodObject({..._._def,shape:()=>j})}else return _ instanceof ZodArray?new ZodArray({..._._def,type:deepPartialify(_.element)}):_ instanceof ZodOptional?ZodOptional.create(deepPartialify(_.unwrap())):_ instanceof ZodNullable?ZodNullable.create(deepPartialify(_.unwrap())):_ instanceof ZodTuple?ZodTuple.create(_.items.map(j=>deepPartialify(j))):_}class ZodObject extends ZodType{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const j=this._def.shape(),et=util.objectKeys(j);return this._cached={shape:j,keys:et},this._cached}_parse(j){if(this._getType(j)!==ZodParsedType.object){const ot=this._getOrReturnCtx(j);return addIssueToContext(ot,{code:ZodIssueCode.invalid_type,expected:ZodParsedType.object,received:ot.parsedType}),INVALID}const{status:tt,ctx:rt}=this._processInputParams(j),{shape:nt,keys:it}=this._getCached(),st=[];if(!(this._def.catchall instanceof ZodNever&&this._def.unknownKeys==="strip"))for(const ot in rt.data)it.includes(ot)||st.push(ot);const at=[];for(const ot of it){const lt=nt[ot],ct=rt.data[ot];at.push({key:{status:"valid",value:ot},value:lt._parse(new ParseInputLazyPath(rt,ct,rt.path,ot)),alwaysSet:ot in rt.data})}if(this._def.catchall instanceof ZodNever){const ot=this._def.unknownKeys;if(ot==="passthrough")for(const lt of st)at.push({key:{status:"valid",value:lt},value:{status:"valid",value:rt.data[lt]}});else if(ot==="strict")st.length>0&&(addIssueToContext(rt,{code:ZodIssueCode.unrecognized_keys,keys:st}),tt.dirty());else if(ot!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const ot=this._def.catchall;for(const lt of st){const ct=rt.data[lt];at.push({key:{status:"valid",value:lt},value:ot._parse(new ParseInputLazyPath(rt,ct,rt.path,lt)),alwaysSet:lt in rt.data})}}return rt.common.async?Promise.resolve().then(async()=>{const ot=[];for(const lt of at){const ct=await lt.key,ut=await lt.value;ot.push({key:ct,value:ut,alwaysSet:lt.alwaysSet})}return ot}).then(ot=>ParseStatus.mergeObjectSync(tt,ot)):ParseStatus.mergeObjectSync(tt,at)}get shape(){return this._def.shape()}strict(j){return errorUtil.errToObj,new ZodObject({...this._def,unknownKeys:"strict",...j!==void 0?{errorMap:(et,tt)=>{var nt,it;const rt=((it=(nt=this._def).errorMap)==null?void 0:it.call(nt,et,tt).message)??tt.defaultError;return et.code==="unrecognized_keys"?{message:errorUtil.errToObj(j).message??rt}:{message:rt}}}:{}})}strip(){return new ZodObject({...this._def,unknownKeys:"strip"})}passthrough(){return new ZodObject({...this._def,unknownKeys:"passthrough"})}extend(j){return new ZodObject({...this._def,shape:()=>({...this._def.shape(),...j})})}merge(j){return new ZodObject({unknownKeys:j._def.unknownKeys,catchall:j._def.catchall,shape:()=>({...this._def.shape(),...j._def.shape()}),typeName:ZodFirstPartyTypeKind.ZodObject})}setKey(j,et){return this.augment({[j]:et})}catchall(j){return new ZodObject({...this._def,catchall:j})}pick(j){const et={};for(const tt of util.objectKeys(j))j[tt]&&this.shape[tt]&&(et[tt]=this.shape[tt]);return new ZodObject({...this._def,shape:()=>et})}omit(j){const et={};for(const tt of util.objectKeys(this.shape))j[tt]||(et[tt]=this.shape[tt]);return new ZodObject({...this._def,shape:()=>et})}deepPartial(){return deepPartialify(this)}partial(j){const et={};for(const tt of util.objectKeys(this.shape)){const rt=this.shape[tt];j&&!j[tt]?et[tt]=rt:et[tt]=rt.optional()}return new ZodObject({...this._def,shape:()=>et})}required(j){const et={};for(const tt of util.objectKeys(this.shape))if(j&&!j[tt])et[tt]=this.shape[tt];else{let nt=this.shape[tt];for(;nt instanceof ZodOptional;)nt=nt._def.innerType;et[tt]=nt}return new ZodObject({...this._def,shape:()=>et})}keyof(){return createZodEnum(util.objectKeys(this.shape))}}
vendor: 4,367 bytes, line 848
848ZodObject.create=(_,j)=>new ZodObject({shape:()=>_,unknownKeys:"strip",catchall:ZodNever.create(),typeName:ZodFirstPartyTypeKind.ZodObject,...processCreateParams(j)});ZodObject.strictCreate=(_,j)=>new ZodObject({shape:()=>_,unknownKeys:"strict",catchall:ZodNever.create(),typeName:ZodFirstPartyTypeKind.ZodObject,...processCreateParams(j)});ZodObject.lazycreate=(_,j)=>new ZodObject({shape:_,unknownKeys:"strip",catchall:ZodNever.create(),typeName:ZodFirstPartyTypeKind.ZodObject,...processCreateParams(j)});class ZodUnion extends ZodType{_parse(j){const{ctx:et}=this._processInputParams(j),tt=this._def.options;function rt(nt){for(const st of nt)if(st.result.status==="valid")return st.result;for(const st of nt)if(st.result.status==="dirty")return et.common.issues.push(...st.ctx.common.issues),st.result;const it=nt.map(st=>new ZodError(st.ctx.common.issues));return addIssueToContext(et,{code:ZodIssueCode.invalid_union,unionErrors:it}),INVALID}if(et.common.async)return Promise.all(tt.map(async nt=>{const it={...et,common:{...et.common,issues:[]},parent:null};return{result:await nt._parseAsync({data:et.data,path:et.path,parent:it}),ctx:it}})).then(rt);{let nt;const it=[];for(const at of tt){const ot={...et,common:{...et.common,issues:[]},parent:null},lt=at._parseSync({data:et.data,path:et.path,parent:ot});if(lt.status==="valid")return lt;lt.status==="dirty"&&!nt&&(nt={result:lt,ctx:ot}),ot.common.issues.length&&it.push(ot.common.issues)}if(nt)return et.common.issues.push(...nt.ctx.common.issues),nt.result;const st=it.map(at=>new ZodError(at));return addIssueToContext(et,{code:ZodIssueCode.invalid_union,unionErrors:st}),INVALID}}get options(){return this._def.options}}ZodUnion.create=(_,j)=>new ZodUnion({options:_,typeName:ZodFirstPartyTypeKind.ZodUnion,...processCreateParams(j)});function mergeValues(_,j){const et=getParsedType(_),tt=getParsedType(j);if(_===j)return{valid:!0,data:_};if(et===ZodParsedType.object&&tt===ZodParsedType.object){const rt=util.objectKeys(j),nt=util.objectKeys(_).filter(st=>rt.indexOf(st)!==-1),it={..._,...j};for(const st of nt){const at=mergeValues(_[st],j[st]);if(!at.valid)return{valid:!1};it[st]=at.data}return{valid:!0,data:it}}else if(et===ZodParsedType.array&&tt===ZodParsedType.array){if(_.length!==j.length)return{valid:!1};const rt=[];for(let nt=0;nt<_.length;nt++){const it=_[nt],st=j[nt],at=mergeValues(it,st);if(!at.valid)return{valid:!1};rt.push(at.data)}return{valid:!0,data:rt}}else return et===ZodParsedType.date&&tt===ZodParsedType.date&&+_==+j?{valid:!0,data:_}:{valid:!1}}class ZodIntersection extends ZodType{_parse(j){const{status:et,ctx:tt}=this._processInputParams(j),rt=(nt,it)=>{if(isAborted(nt)||isAborted(it))return INVALID;const st=mergeValues(nt.value,it.value);return st.valid?((isDirty(nt)||isDirty(it))&&et.dirty(),{status:et.value,value:st.data}):(addIssueToContext(tt,{code:ZodIssueCode.invalid_intersection_types}),INVALID)};return tt.common.async?Promise.all([this._def.left._parseAsync({data:tt.data,path:tt.path,parent:tt}),this._def.right._parseAsync({data:tt.data,path:tt.path,parent:tt})]).then(([nt,it])=>rt(nt,it)):rt(this._def.left._parseSync({data:tt.data,path:tt.path,parent:tt}),this._def.right._parseSync({data:tt.data,path:tt.path,parent:tt}))}}ZodIntersection.create=(_,j,et)=>new ZodIntersection({left:_,right:j,typeName:ZodFirstPartyTypeKind.ZodIntersection,...processCreateParams(et)});class ZodTuple extends ZodType{_parse(j){const{status:et,ctx:tt}=this._processInputParams(j);if(tt.parsedType!==ZodParsedType.array)return addIssueToContext(tt,{code:ZodIssueCode.invalid_type,expected:ZodParsedType.array,received:tt.parsedType}),INVALID;if(tt.data.length<this._def.items.length)return addIssueToContext(tt,{code:ZodIssueCode.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),INVALID;!this._def.rest&&tt.data.length>this._def.items.length&&(addIssueToContext(tt,{code:ZodIssueCode.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),et.dirty());const nt=[...tt.data].map((it,st)=>{const at=this._def.items[st]||this._def.rest;return at?at._parse(new ParseInputLazyPath(tt,it,tt.path,st)):null}).filter(it=>!!it);return tt.common.async?Promise.all(nt).then(it=>ParseStatus.mergeArray(et,it)):ParseStatus.mergeArray(et,nt)}get items(){return this._def.items}rest(j){return new ZodTuple({...this._def,rest:j})}}
vendor: 8,833 bytes, line 848
848ZodTuple.create=(_,j)=>{if(!Array.isArray(_))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ZodTuple({items:_,typeName:ZodFirstPartyTypeKind.ZodTuple,rest:null,...processCreateParams(j)})};class ZodMap extends ZodType{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(j){const{status:et,ctx:tt}=this._processInputParams(j);if(tt.parsedType!==ZodParsedType.map)return addIssueToContext(tt,{code:ZodIssueCode.invalid_type,expected:ZodParsedType.map,received:tt.parsedType}),INVALID;const rt=this._def.keyType,nt=this._def.valueType,it=[...tt.data.entries()].map(([st,at],ot)=>({key:rt._parse(new ParseInputLazyPath(tt,st,tt.path,[ot,"key"])),value:nt._parse(new ParseInputLazyPath(tt,at,tt.path,[ot,"value"]))}));if(tt.common.async){const st=new Map;return Promise.resolve().then(async()=>{for(const at of it){const ot=await at.key,lt=await at.value;if(ot.status==="aborted"||lt.status==="aborted")return INVALID;(ot.status==="dirty"||lt.status==="dirty")&&et.dirty(),st.set(ot.value,lt.value)}return{status:et.value,value:st}})}else{const st=new Map;for(const at of it){const ot=at.key,lt=at.value;if(ot.status==="aborted"||lt.status==="aborted")return INVALID;(ot.status==="dirty"||lt.status==="dirty")&&et.dirty(),st.set(ot.value,lt.value)}return{status:et.value,value:st}}}}ZodMap.create=(_,j,et)=>new ZodMap({valueType:j,keyType:_,typeName:ZodFirstPartyTypeKind.ZodMap,...processCreateParams(et)});class ZodSet extends ZodType{_parse(j){const{status:et,ctx:tt}=this._processInputParams(j);if(tt.parsedType!==ZodParsedType.set)return addIssueToContext(tt,{code:ZodIssueCode.invalid_type,expected:ZodParsedType.set,received:tt.parsedType}),INVALID;const rt=this._def;rt.minSize!==null&&tt.data.size<rt.minSize.value&&(addIssueToContext(tt,{code:ZodIssueCode.too_small,minimum:rt.minSize.value,type:"set",inclusive:!0,exact:!1,message:rt.minSize.message}),et.dirty()),rt.maxSize!==null&&tt.data.size>rt.maxSize.value&&(addIssueToContext(tt,{code:ZodIssueCode.too_big,maximum:rt.maxSize.value,type:"set",inclusive:!0,exact:!1,message:rt.maxSize.message}),et.dirty());const nt=this._def.valueType;function it(at){const ot=new Set;for(const lt of at){if(lt.status==="aborted")return INVALID;lt.status==="dirty"&&et.dirty(),ot.add(lt.value)}return{status:et.value,value:ot}}const st=[...tt.data.values()].map((at,ot)=>nt._parse(new ParseInputLazyPath(tt,at,tt.path,ot)));return tt.common.async?Promise.all(st).then(at=>it(at)):it(st)}min(j,et){return new ZodSet({...this._def,minSize:{value:j,message:errorUtil.toString(et)}})}max(j,et){return new ZodSet({...this._def,maxSize:{value:j,message:errorUtil.toString(et)}})}size(j,et){return this.min(j,et).max(j,et)}nonempty(j){return this.min(1,j)}}ZodSet.create=(_,j)=>new ZodSet({valueType:_,minSize:null,maxSize:null,typeName:ZodFirstPartyTypeKind.ZodSet,...processCreateParams(j)});class ZodLazy extends ZodType{get schema(){return this._def.getter()}_parse(j){const{ctx:et}=this._processInputParams(j);return this._def.getter()._parse({data:et.data,path:et.path,parent:et})}}ZodLazy.create=(_,j)=>new ZodLazy({getter:_,typeName:ZodFirstPartyTypeKind.ZodLazy,...processCreateParams(j)});class ZodLiteral extends ZodType{_parse(j){if(j.data!==this._def.value){const et=this._getOrReturnCtx(j);return addIssueToContext(et,{received:et.data,code:ZodIssueCode.invalid_literal,expected:this._def.value}),INVALID}return{status:"valid",value:j.data}}get value(){return this._def.value}}ZodLiteral.create=(_,j)=>new ZodLiteral({value:_,typeName:ZodFirstPartyTypeKind.ZodLiteral,...processCreateParams(j)});function createZodEnum(_,j){return new ZodEnum({values:_,typeName:ZodFirstPartyTypeKind.ZodEnum,...processCreateParams(j)})}class ZodEnum extends ZodType{_parse(j){if(typeof j.data!="string"){const et=this._getOrReturnCtx(j),tt=this._def.values;return addIssueToContext(et,{expected:util.joinValues(tt),received:et.parsedType,code:ZodIssueCode.invalid_type}),INVALID}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(j.data)){const et=this._getOrReturnCtx(j),tt=this._def.values;return addIssueToContext(et,{received:et.data,code:ZodIssueCode.invalid_enum_value,options:tt}),INVALID}return OK(j.data)}get options(){return this._def.values}get enum(){const j={};for(const et of this._def.values)j[et]=et;return j}get Values(){const j={};for(const et of this._def.values)j[et]=et;return j}get Enum(){const j={};for(const et of this._def.values)j[et]=et;return j}extract(j,et=this._def){return ZodEnum.create(j,{...this._def,...et})}exclude(j,et=this._def){return ZodEnum.create(this.options.filter(tt=>!j.includes(tt)),{...this._def,...et})}}ZodEnum.create=createZodEnum;class ZodNativeEnum extends ZodType{_parse(j){const et=util.getValidEnumValues(this._def.values),tt=this._getOrReturnCtx(j);if(tt.parsedType!==ZodParsedType.string&&tt.parsedType!==ZodParsedType.number){const rt=util.objectValues(et);return addIssueToContext(tt,{expected:util.joinValues(rt),received:tt.parsedType,code:ZodIssueCode.invalid_type}),INVALID}if(this._cache||(this._cache=new Set(util.getValidEnumValues(this._def.values))),!this._cache.has(j.data)){const rt=util.objectValues(et);return addIssueToContext(tt,{received:tt.data,code:ZodIssueCode.invalid_enum_value,options:rt}),INVALID}return OK(j.data)}get enum(){return this._def.values}}ZodNativeEnum.create=(_,j)=>new ZodNativeEnum({values:_,typeName:ZodFirstPartyTypeKind.ZodNativeEnum,...processCreateParams(j)});class ZodPromise extends ZodType{unwrap(){return this._def.type}_parse(j){const{ctx:et}=this._processInputParams(j);if(et.parsedType!==ZodParsedType.promise&&et.common.async===!1)return addIssueToContext(et,{code:ZodIssueCode.invalid_type,expected:ZodParsedType.promise,received:et.parsedType}),INVALID;const tt=et.parsedType===ZodParsedType.promise?et.data:Promise.resolve(et.data);return OK(tt.then(rt=>this._def.type.parseAsync(rt,{path:et.path,errorMap:et.common.contextualErrorMap})))}}ZodPromise.create=(_,j)=>new ZodPromise({type:_,typeName:ZodFirstPartyTypeKind.ZodPromise,...processCreateParams(j)});class ZodEffects extends ZodType{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ZodFirstPartyTypeKind.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(j){const{status:et,ctx:tt}=this._processInputParams(j),rt=this._def.effect||null,nt={addIssue:it=>{addIssueToContext(tt,it),it.fatal?et.abort():et.dirty()},get path(){return tt.path}};if(nt.addIssue=nt.addIssue.bind(nt),rt.type==="preprocess"){const it=rt.transform(tt.data,nt);if(tt.common.async)return Promise.resolve(it).then(async st=>{if(et.value==="aborted")return INVALID;const at=await this._def.schema._parseAsync({data:st,path:tt.path,parent:tt});return at.status==="aborted"?INVALID:at.status==="dirty"||et.value==="dirty"?DIRTY(at.value):at});{if(et.value==="aborted")return INVALID;const st=this._def.schema._parseSync({data:it,path:tt.path,parent:tt});return st.status==="aborted"?INVALID:st.status==="dirty"||et.value==="dirty"?DIRTY(st.value):st}}if(rt.type==="refinement"){const it=st=>{const at=rt.refinement(st,nt);if(tt.common.async)return Promise.resolve(at);if(at instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return st};if(tt.common.async===!1){const st=this._def.schema._parseSync({data:tt.data,path:tt.path,parent:tt});return st.status==="aborted"?INVALID:(st.status==="dirty"&&et.dirty(),it(st.value),{status:et.value,value:st.value})}else return this._def.schema._parseAsync({data:tt.data,path:tt.path,parent:tt}).then(st=>st.status==="aborted"?INVALID:(st.status==="dirty"&&et.dirty(),it(st.value).then(()=>({status:et.value,value:st.value}))))}if(rt.type==="transform")if(tt.common.async===!1){const it=this._def.schema._parseSync({data:tt.data,path:tt.path,parent:tt});if(!isValid(it))return INVALID;const st=rt.transform(it.value,nt);if(st instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:et.value,value:st}}else return this._def.schema._parseAsync({data:tt.data,path:tt.path,parent:tt}).then(it=>isValid(it)?Promise.resolve(rt.transform(it.value,nt)).then(st=>({status:et.value,value:st})):INVALID);util.assertNever(rt)}}ZodEffects.create=(_,j,et)=>new ZodEffects({schema:_,typeName:ZodFirstPartyTypeKind.ZodEffects,effect:j,...processCreateParams(et)});ZodEffects.createWithPreprocess=(_,j,et)=>new ZodEffects({schema:j,effect:{type:"preprocess",transform:_},typeName:ZodFirstPartyTypeKind.ZodEffects,...processCreateParams(et)});class ZodOptional extends ZodType{_parse(j){return this._getType(j)===ZodParsedType.undefined?OK(void 0):this._def.innerType._parse(j)}unwrap(){return this._def.innerType}}
848ZodOptional.create=(_,j)=>new ZodOptional({innerType:_,typeName:ZodFirstPartyTypeKind.ZodOptional,...processCreateParams(j)});class ZodNullable extends ZodType{_parse(j){return this._getType(j)===ZodParsedType.null?OK(null):this._def.innerType._parse(j)}unwrap(){return this._def.innerType}}ZodNullable.create=(_,j)=>new ZodNullable({innerType:_,typeName:ZodFirstPartyTypeKind.ZodNullable,...processCreateParams(j)});class ZodDefault extends ZodType{_parse(j){const{ctx:et}=this._processInputParams(j);let tt=et.data;return et.parsedType===ZodParsedType.undefined&&(tt=this._def.defaultValue()),this._def.innerType._parse({data:tt,path:et.path,parent:et})}removeDefault(){return this._def.innerType}}ZodDefault.create=(_,j)=>new ZodDefault({innerType:_,typeName:ZodFirstPartyTypeKind.ZodDefault,defaultValue:typeof j.default=="function"?j.default:()=>j.default,...processCreateParams(j)});class ZodCatch extends ZodType{_parse(j){const{ctx:et}=this._processInputParams(j),tt={...et,common:{...et.common,issues:[]}},rt=this._def.innerType._parse({data:tt.data,path:tt.path,parent:{...tt}});return isAsync(rt)?rt.then(nt=>({status:"valid",value:nt.status==="valid"?nt.value:this._def.catchValue({get error(){return new ZodError(tt.common.issues)},input:tt.data})})):{status:"valid",value:rt.status==="valid"?rt.value:this._def.catchValue({get error(){return new ZodError(tt.common.issues)},input:tt.data})}}removeCatch(){return this._def.innerType}}ZodCatch.create=(_,j)=>new ZodCatch({innerType:_,typeName:ZodFirstPartyTypeKind.ZodCatch,catchValue:typeof j.catch=="function"?j.catch:()=>j.catch,...processCreateParams(j)});class ZodNaN extends ZodType{_parse(j){if(this._getType(j)!==ZodParsedType.nan){const tt=this._getOrReturnCtx(j);return addIssueToContext(tt,{code:ZodIssueCode.invalid_type,expected:ZodParsedType.nan,received:tt.parsedType}),INVALID}return{status:"valid",value:j.data}}}ZodNaN.create=_=>new ZodNaN({typeName:ZodFirstPartyTypeKind.ZodNaN,...processCreateParams(_)});class ZodBranded extends ZodType{_parse(j){const{ctx:et}=this._processInputParams(j),tt=et.data;return this._def.type._parse({data:tt,path:et.path,parent:et})}unwrap(){return this._def.type}}class ZodPipeline extends ZodType{_parse(j){const{status:et,ctx:tt}=this._processInputParams(j);if(tt.common.async)return(async()=>{const nt=await this._def.in._parseAsync({data:tt.data,path:tt.path,parent:tt});return nt.status==="aborted"?INVALID:nt.status==="dirty"?(et.dirty(),DIRTY(nt.value)):this._def.out._parseAsync({data:nt.value,path:tt.path,parent:tt})})();{const rt=this._def.in._parseSync({data:tt.data,path:tt.path,parent:tt});return rt.status==="aborted"?INVALID:rt.status==="dirty"?(et.dirty(),{status:"dirty",value:rt.value}):this._def.out._parseSync({data:rt.value,path:tt.path,parent:tt})}}static create(j,et){return new ZodPipeline({in:j,out:et,typeName:ZodFirstPartyTypeKind.ZodPipeline})}}class ZodReadonly extends ZodType{_parse(j){const et=this._def.innerType._parse(j),tt=rt=>(isValid(rt)&&(rt.value=Object.freeze(rt.value)),rt);return isAsync(et)?et.then(rt=>tt(rt)):tt(et)}unwrap(){return this._def.innerType}}ZodReadonly.create=(_,j)=>new ZodReadonly({innerType:_,typeName:ZodFirstPartyTypeKind.ZodReadonly,...processCreateParams(j)});ZodObject.lazycreate;var ZodFirstPartyTypeKind;(function(_){_.ZodString="ZodString",_.ZodNumber="ZodNumber",_.ZodNaN="ZodNaN",_.ZodBigInt="ZodBigInt",_.ZodBoolean="ZodBoolean",_.ZodDate="ZodDate",_.ZodSymbol="ZodSymbol",_.ZodUndefined="ZodUndefined",_.ZodNull="ZodNull",_.ZodAny="ZodAny",_.ZodUnknown="ZodUnknown",_.ZodNever="ZodNever",_.ZodVoid="ZodVoid",_.ZodArray="ZodArray",_.ZodObject="ZodObject",_.ZodUnion="ZodUnion",_.ZodDiscriminatedUnion="ZodDiscriminatedUnion",_.ZodIntersection="ZodIntersection",_.ZodTuple="ZodTuple",_.ZodRecord="ZodRecord",_.ZodMap="ZodMap",_.ZodSet="ZodSet",_.ZodFunction="ZodFunction",_.ZodLazy="ZodLazy",_.ZodLiteral="ZodLiteral",_.ZodEnum="ZodEnum",_.ZodEffects="ZodEffects",_.ZodNativeEnum="ZodNativeEnum",_.ZodOptional="ZodOptional",_.ZodNullable="ZodNullable",_.ZodDefault="ZodDefault",_.ZodCatch="ZodCatch",_.ZodPromise="ZodPromise",_.ZodBranded="ZodBranded",_.ZodPipeline="ZodPipeline",_.ZodReadonly="ZodReadonly"})(ZodFirstPartyTypeKind||(ZodFirstPartyTypeKind={}));const stringType=ZodString.create;ZodNever.create;ZodArray.create;const objectType=ZodObject.create;ZodObject.strictCreate;ZodUnion.create;ZodIntersection.create;ZodTuple.create;const literalType=ZodLiteral.create;ZodEnum.create;ZodPromise.create;ZodOptional.create;ZodNullable.create;function ChangePasswordCard(){const{toast:_}=useToast(),[j,et]=reactExports.useState(""),[tt,rt]=reactExports.useState(""),[nt,it]=reactExports.useState(!1),[st,at]=reactExports.useState(!1),[ot,lt]=reactExports.useState(!1),ct=async ut=>{if(ut.preventDefault(),j.length<6){_({title:"Password too short",description:"Must be at least 6 characters.",variant:"destructive"});return}if(j!==tt){_({title:"Passwords don't match",description:"Please make sure both fields match.",variant:"destructive"});return}it(!0);try{const{error:dt}=await supabase.auth.updateUser({password:j});if(dt)throw dt;_({title:"Password updated",description:"Your password has been changed successfully.",variant:"success"}),et(""),rt("")}catch(dt){_({title:"Update failed",description:dt instanceof Error?dt.message:"Could not update password.",variant:"destructive"})}finally{it(!1)}};return jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-6 transition-all duration-200 hover:border-white/[0.1] border-l-2 border-l-logo-purple/40",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2.5 mb-1",children:[jsxRuntimeExports.jsx("div",{className:"p-1.5 rounded-md bg-gradient-to-br from-logo-purple/20 to-electric-blue/20",children:jsxRuntimeExports.jsx(Lock,{className:"w-4 h-4 text-logo-purple"})}),jsxRuntimeExports.jsx("h3",{className:"text-lg font-semibold text-foreground tracking-tight",children:"Security"})]}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground mb-6",children:"Change your account password."}),jsxRuntimeExports.jsxs("form",{onSubmit:ct,className:"space-y-4",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"new_password",className:"text-sm font-medium",children:"New password"}),jsxRuntimeExports.jsxs("div",{className:"relative",children:[jsxRuntimeExports.jsx(Input,{id:"new_password",type:st?"text":"password",placeholder:"Min. 6 characters",value:j,onChange:ut=>et(ut.target.value),className:"bg-white/[0.03] border-white/10 focus-visible:ring-primary/30 pr-10"}),jsxRuntimeExports.jsx("button",{type:"button",onClick:()=>at(!st),className:"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground transition-colors",children:st?jsxRuntimeExports.jsx(EyeOff,{className:"w-4 h-4"}):jsxRuntimeExports.jsx(Eye,{className:"w-4 h-4"})})]})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"confirm_password",className:"text-sm font-medium",children:"Confirm password"}),jsxRuntimeExports.jsxs("div",{className:"relative",children:[jsxRuntimeExports.jsx(Input,{id:"confirm_password",type:ot?"text":"password",placeholder:"Re-enter new password",value:tt,onCh
848ange:ut=>rt(ut.target.value),className:"bg-white/[0.03] border-white/10 focus-visible:ring-primary/30 pr-10"}),jsxRuntimeExports.jsx("button",{type:"button",onClick:()=>lt(!ot),className:"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground transition-colors",children:ot?jsxRuntimeExports.jsx(EyeOff,{className:"w-4 h-4"}):jsxRuntimeExports.jsx(Eye,{className:"w-4 h-4"})})]})]}),jsxRuntimeExports.jsxs(Button,{type:"submit",disabled:nt||!j||!tt,className:"mt-2 rounded-lg bg-gradient-to-r from-logo-purple to-electric-blue text-primary-foreground shadow-button hover:shadow-button-hover hover:opacity-90 transition-all",children:[nt?jsxRuntimeExports.jsx(LoaderCircle,{className:"w-4 h-4 animate-spin mr-2"}):jsxRuntimeExports.jsx(Check,{className:"w-4 h-4 mr-2"}),"Update password"]})]})]})}const profileSchema$1=objectType({full_name:stringType().max(100).nullable().or(literalType(""))});function Profile(){var Rt,Ct;const{profile:_,isLoading:j,updateProfile:et,updateAvatar:tt,isUpdatingProfile:rt,isUpdatingAvatar:nt}=useProfile(),{credits:it,isLoading:st}=useCredits(),{toast:at}=useToast(),[ot,lt]=reactExports.useState(!1),[ct,ut]=reactExports.useState(""),[dt,ht]=reactExports.useState(null),pt=reactExports.useRef(null),{data:gt}=useQuery({queryKey:["is-admin"],queryFn:async()=>{const{data:jt,error:Dt}=await supabase.rpc("is_admin");return Dt?!1:jt}});reactExports.useEffect(()=>{supabase.auth.getUser().then(({data:{user:jt}})=>{jt&&(ht(jt),ut(jt.email??""))})},[]);const ft=useForm({resolver:t$1(profileSchema$1),defaultValues:{full_name:(_==null?void 0:_.full_name)??""}});reactExports.useEffect(()=>{_&&ft.reset({full_name:_.full_name??""})},[_==null?void 0:_.id,_==null?void 0:_.full_name]);const mt=async jt=>{try{await et({full_name:jt.full_name||null}),at({title:"Profile updated",description:"Your info has been saved.",variant:"success"})}catch(Dt){at({title:"Update failed",description:Dt instanceof Error?Dt.message:"Could not update profile.",variant:"destructive"})}},xt=()=>{var jt;return(jt=pt.current)==null?void 0:jt.click()},yt=async jt=>{var Ot,At;const Dt=(Ot=jt.target.files)==null?void 0:Ot[0];if(!Dt||!dt)return;const It=((At=Dt.name.split(".").pop())==null?void 0:At.toLowerCase())||"jpg";if(!["jpeg","jpg","png","webp","gif"].includes(It)){at({title:"Invalid file",description:"Please use JPEG, PNG, WebP, or GIF.",variant:"destructive"});return}if(Dt.size>2*1024*1024){at({title:"File too large",description:"Avatar must be under 2MB.",variant:"destructive"});return}try{const Tt=`${dt.id}/avatar.${It}`,{error:kt}=await supabase.storage.from("avatars").upload(Tt,Dt,{upsert:!0});if(kt)throw kt;const{data:{publicUrl:St}}=supabase.storage.from("avatars").getPublicUrl(Tt);await tt(St),at({title:"Avatar updated",description:"Your profile photo has been saved.",variant:"success"})}catch(Tt){at({title:"Upload failed",description:Tt instanceof Error?Tt.message:"Could not upload avatar.",variant:"destructive"})}finally{jt.target.value=""}},vt=jt=>jt==="none"?"Free":jt.charAt(0).toUpperCase()+jt.slice(1),bt=jt=>{if(!jt)return null;try{return new Date(jt).toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric"})}catch{return jt}},Et=jt=>!jt||jt==="none"?"bg-muted-foreground/40":jt==="active"?"bg-emerald-500":jt==="trialing"?"bg-amber-500":"bg-muted-foreground/40";if(j&&!_)return jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center min-h-[40vh]",children:jsxRuntimeExports.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary"})});const _t=(_==null?void 0:_.full_name)||(ct==null?void 0:ct.split("@")[0])||((Rt=dt==null?void 0:dt.email)==null?void 0:Rt.split("@")[0])||"User",wt=((Ct=(_==null?void 0:_.full_name)||ct||(dt==null?void 0:dt.email))==null?void 0:Ct.charAt(0).toUpperCase())??"U";return jsxRuntimeExports.jsxs("div",{className:"container max-w-4xl mx-auto px-6 py-10",children:[jsxRuntimeExports.jsxs("div",{className:"mb-10 animate-fade-in",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[jsxRuntimeExports.jsx("div",{className:"p-2 rounded-lg bg-gradient-to-br from-logo-purple/20 to-electric-blue/20 border border-logo-purple/20",children:jsxRuntimeExports.jsx(User,{className:"w-5 h-5 text-logo-purple"})}),jsxRuntimeExports.jsx("h1",{className:"text-3xl font-semibold text-foreground tracking-tight font-display",children:"Profile"})]}),jsxRuntimeExports.jsx("div",{className:"h-0.5 w-16 rounded-full bg-gradient-to-r from-logo-purple to-electric-blue mt-1"}),jsxRuntimeExports.jsx("p",{className:"text-muted-foreground mt-3",children:"Manage your account and preferences."})]}),jsxRuntimeExports.jsxs("div",{className:"relative rounded-xl border border-white/[0.06] bg-white/[0.02] p-8 mb-8 overflow-hidden animate-fade-in",style:{animationDelay:"50ms"},children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-logo-purple/[0.03] via-trans
848parent to-electric-blue/[0.03] pointer-events-none"}),jsxRuntimeExports.jsxs("div",{className:"relative flex flex-col sm:flex-row items-center sm:items-start gap-6",children:[jsxRuntimeExports.jsxs("button",{type:"button",onClick:xt,disabled:nt,className:"relative group shrink-0 transition-transform duration-200 hover:scale-105",children:[jsxRuntimeExports.jsx("div",{className:"absolute -inset-1 rounded-full bg-gradient-to-br from-logo-purple to-electric-blue opacity-60 blur-[1px]"}),jsxRuntimeExports.jsxs(Avatar,{className:"relative h-28 w-28 rounded-full ring-2 ring-background shadow-lg",children:[jsxRuntimeExports.jsx(AvatarImage,{src:(_==null?void 0:_.avatar_url)??void 0,alt:"Avatar"}),jsxRuntimeExports.jsx(AvatarFallback,{className:"text-3xl bg-white/[0.06] text-foreground font-medium",children:wt})]}),jsxRuntimeExports.jsx("div",{className:"absolute bottom-1 right-1 w-4 h-4 rounded-full bg-emerald-500 border-2 border-background shadow-sm"}),jsxRuntimeExports.jsx("div",{className:"absolute inset-0 rounded-full bg-black/60 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity duration-200 z-10",style:{margin:"-4px"},children:nt?jsxRuntimeExports.jsx(LoaderCircle,{className:"w-8 h-8 text-white animate-spin"}):jsxRuntimeExports.jsx(Camera,{className:"w-8 h-8 text-white"})})]}),jsxRuntimeExports.jsx("input",{ref:pt,type:"file",accept:"image/jpeg,image/png,image/webp,image/gif",className:"hidden",onChange:yt}),jsxRuntimeExports.jsxs("div",{className:"flex-1 text-center sm:text-left",children:[jsxRuntimeExports.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-3",children:[jsxRuntimeExports.jsx("h2",{className:"text-2xl font-semibold text-foreground tracking-tight",children:_t}),gt&&jsxRuntimeExports.jsxs(Badge,{variant:"outline",className:"w-fit border-primary/30 text-foreground",children:[jsxRuntimeExports.jsx(Shield,{className:"w-3 h-3 mr-1"}),"Admin"]})]}),jsxRuntimeExports.jsx("p",{className:"text-muted-foreground text-sm mt-1",children:ct}),jsxRuntimeExports.jsxs("button",{type:"button",onClick:xt,disabled:nt,className:"mt-3 text-sm text-primary hover:text-primary/80 font-medium transition-colors inline-flex items-center gap-1.5",children:[jsxRuntimeExports.jsx(Camera,{className:"w-3.5 h-3.5"}),"Change photo"]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground/80 mt-1",children:"JPEG, PNG, WebP or GIF. Max 2MB."})]})]})]}),jsxRuntimeExports.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-6 transition-all duration-200 hover:border-white/[0.1] border-l-2 border-l-logo-purple/40 animate-fade-in",style:{animationDelay:"100ms"},children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2.5 mb-1",children:[jsxRuntimeExports.jsx("div",{className:"p-1.5 rounded-md bg-gradient-to-br from-logo-purple/20 to-electric-blue/20",children:jsxRuntimeExports.jsx(User,{className:"w-4 h-4 text-logo-purple"})}),jsxRuntimeExports.jsx("h3",{className:"text-lg font-semibold text-foreground tracking-tight",children:"Account"})]}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground mb-6",children:"Update your display name. Email cannot be changed."}),jsxRuntimeExports.jsxs("form",{onSubmit:ft.handleSubmit(mt),className:"space-y-4",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"full_name",className:"text-sm font-medium",children:"Display name"}),jsxRuntimeExports.jsx(Input,{id:"full_name",placeholder:"Your name",className:"bg-white/[0.03] border-white/10 focus-visible:ring-primary/30",...ft.register("full_name")}),ft.formState.errors.full_name&&jsxRuntimeExports.jsx("p",{className:"text-xs text-destructive",children:ft.formState.errors.full_name.message})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"email",className:"text-sm font-medium",children:"Email"}),jsxRuntimeExports.jsx(Input,{id:"email",type:"email",value:ct,disabled:!0,className:"opacity-60 cursor-not-allowed bg-white/[0.02]"})]}),jsxRuntimeExports.jsxs(Button,{type:"submit",disabled:rt,className:"mt-2 rounded-lg bg-gradient-to-r from-logo-purple to-electric-blue text-primary-foreground shadow-button hover:shadow-button-hover hover:opacity-90 transition-all",children:[rt?jsxRuntimeExports.jsx(LoaderCircle,{className:"w-4 h-4 animate-spin mr-2"}):jsxRuntimeExports.jsx(Check,{className:"w-4 h-4 mr-2"}),"Save changes"]})]})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-6",children:[jsxRuntimeExports.jsxs("div",{className:"relative rounded-xl border border-white/[0.06] bg-white/[0.02] p-6 transition-all duration-200 hover:border-white/[0.1] border-l-2 border-l-logo-purple/40 overflow-hidden animate-fade-in",style:{animationDelay:"150ms"},children:[jsxRuntimeExports.jsx("div",{className:"absolute top-1/2 left-1/3 -translate-x-1/2 -translate-y-1/2 w-32 h-32 bg-logo-purple/[0.06] rounded-full blur-3xl pointer-events-none"}),jsxRuntimeExports.jsxs("div",{className:"relative",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2.5 mb-1",children:[jsxRuntimeExports.jsx("div",{className:"p-1.5 rounded-md bg-gradient-to-br from-logo-purple/20 to-electric-blue/20",children:jsxRuntimeExports.jsx(Coins,{className:"w-4 h-4 text-logo-purple"})}),jsxRuntimeExports.jsx("h3",{className:"text-lg font-semibold text-foreground tracking-tight",children:"Credits"})]}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground mb-6",children:"Your balance for image generation."}),jsxRuntimeExports.jsxs("div",{className:"flex items-end justify-between gap-4",children:[jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("p",{className:"text-4xl font-bold tracking-tight",children:st?jsxRuntimeExports.jsx("span",{className:"text-muted-foreground",children:"..."}):_!=null&&_.is_unlimited?jsxRuntimeExports.jsxs("span",{className:"bg-gradient-to-r from-logo-purple to-electric-blue bg-clip-text text-transparent flex items-center gap-2",children:[jsxRuntimeExports.jsx(Sparkles,{className:"w-6 h-6 text-logo-purple"}),"Unlimited"]}):jsxRuntimeExports.jsx("span",{className:"bg-gradient-to-r from-logo-purple to-electric-blue bg-clip-text text-transparent",children:(it??0).toLocaleStr
848ing()})}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground mt-1.5",children:_!=null&&_.is_unlimited?"No limits on your account":"credits available"})]}),!(_!=null&&_.is_unlimited)&&jsxRuntimeExports.jsxs(Button,{onClick:()=>lt(!0),className:"rounded-lg shrink-0 bg-gradient-to-r from-logo-purple to-electric-blue text-primary-foreground shadow-button hover:shadow-button-hover hover:opacity-90 transition-all",children:[jsxRuntimeExports.jsx(Coins,{className:"w-4 h-4 mr-1.5"}),"Top Up"]})]}),!(_!=null&&_.is_unlimited)&&!st&&jsxRuntimeExports.jsx("div",{className:"mt-5",children:jsxRuntimeExports.jsx("div",{className:"h-1.5 w-full rounded-full bg-white/[0.06] overflow-hidden",children:jsxRuntimeExports.jsx("div",{className:"h-full rounded-full bg-gradient-to-r from-logo-purple to-electric-blue transition-all duration-700",style:{width:`${Math.min(100,Math.max(5,(it??0)/Math.max(it??1,100)*100))}%`}})})})]})]}),!gt&&jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-6 transition-all duration-200 hover:border-white/[0.1] border-l-2 border-l-logo-purple/40 animate-fade-in",style:{animationDelay:"200ms"},children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2.5 mb-1",children:[jsxRuntimeExports.jsx("div",{className:"p-1.5 rounded-md bg-gradient-to-br from-logo-purple/20 to-electric-blue/20",children:jsxRuntimeExports.jsx(CreditCard,{className:"w-4 h-4 text-logo-purple"})}),jsxRuntimeExports.jsx("h3",{className:"text-lg font-semibold text-foreground tracking-tight",children:"Plan"})]}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground mb-6",children:"Your subscription and billing."}),jsxRuntimeExports.jsxs("div",{className:"space-y-4",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between py-2 border-b border-white/[0.04]",children:[jsxRuntimeExports.jsx("span",{className:"text-sm text-muted-foreground",children:"Tier"}),jsxRuntimeExports.jsx(Badge,{variant:"outline",className:"font-medium border-logo-purple/30 text-foreground",children:vt((_==null?void 0:_.subscription_tier)??"none")})]}),(_==null?void 0:_.subscription_status)&&_.subscription_status!=="none"&&jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between py-2 border-b border-white/[0.04]",children:[jsxRuntimeExports.jsx("span",{className:"text-sm text-muted-foreground",children:"Status"}),jsxRuntimeExports.jsxs("span",{className:"font-medium capitalize text-foreground inline-flex items-center gap-2",children:[jsxRuntimeExports.jsx("span",{className:`w-2 h-2 rounded-full ${Et(_.subscription_status)}`}),_.subscription_status]})]}),(_==null?void 0:_.current_period_end)&&jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between py-2 border-b border-white/[0.04]",children:[jsxRuntimeExports.jsx("span",{className:"text-sm text-muted-foreground",children:"Period ends"}),jsxRuntimeExports.jsx("span",{className:"font-medium text-foreground",children:bt(_.current_period_end)})]}),(_==null?void 0:_.is_unlimited)&&jsxRuntimeExports.jsx("div",{className:"pt-1",children:jsxRuntimeExports.jsxs("span",{className:"text-sm font-medium bg-gradient-to-r from-logo-purple to-electric-blue bg-clip-text text-transparent inline-flex items-center gap-1.5",children:[jsxRuntimeExports.jsx(Sparkles,{className:"w-3.5 h-3.5 text-logo-purple"}),"Unlimited credits"]})})]})]})]})]}),jsxRuntimeExports.jsx("div",{className:"mt-6 animate-fade-in",style:{animationDelay:"250ms"},children:jsxRuntimeExports.jsx(ChangePasswordCard,{})}),jsxRuntimeExports.jsx(CreditTopUpModal,{open:ot,onOpenChange:lt})]})}var ROOT_NAME="AlertDialog",[createAlertDialogContext,createAlertDialogScope]=createContextScope(ROOT_NAME,[createDialogScope]),useDialogScope=createDialogScope(),AlertDialog$1=_=>{const{__scopeAlertDialog:j,...et}=_,tt=useDialogScope(j);return jsxRuntimeExports.jsx(Root$7,{...tt,...et,modal:!0})};AlertDialog$1.displayName=ROOT_NAME;var TRIGGER_NAME="AlertDialogTrigger",AlertDialogTrigger=reactExports.forwardRef((_,j)=>{const{__scopeAlertDialog:et,...tt}=_,rt=useDialogScope(et);return jsxRuntimeExports.jsx(Trigger$4,{...rt,...tt,ref:j})});AlertDialogTrigger.displayName=TRIGGER_NAME;var PORTAL_NAME="AlertDialogPortal",AlertDialogPortal$1=_=>{const{__scopeAlertDialog:j,...et}=_,tt=useDialogScope(j);return jsxRuntimeExports.jsx(Portal$3,{...tt,...et})};AlertDialogPortal$1.displayName=PORTAL_NAME;var OVERLAY_NAME="AlertDialogOverlay",AlertDialogOverlay$1=reactExports.forwardRef((_,j)=>{const{__scopeAlertDialog:et,...tt}=_,rt=useDialogScope(et);return jsxRuntimeExports.jsx(Overlay,{...rt,...tt,ref:j})});AlertDialogOverlay$1.displayName=OVERLAY_NAME;var CONTENT_NAME="AlertDialogContent",[AlertDialogContentProvider,useAlertDialogContentContext]=createAlertDialogContext(CONTENT_NAME),Slottable=createSlottable("AlertDialogContent"),AlertDialogContent$1=reactExports.forwardRef((_,j)=>{const{__scopeAlertDialog:et,children:tt,...rt}=_,nt=useDialogScope(et),it=reactExports.useRef(null),st=useComposedRefs$1(j,it),at=reactExports.useRef(null);return jsxRuntimeExports.jsx(WarningProvider,{contentName:CONTENT_NAME,titleName:TITLE_NAME,docsSlug:"alert-dialog",children:jsxRuntimeExports.jsx(AlertDialogContentProvider,{scope:et,cancelRef:at,children:jsxRuntimeExports.jsxs(Content$1,{role:"alertdialog",...nt,...rt,ref:st,onOpenAutoFocus:composeEventHandlers(rt.onOpenAutoFocus,ot=>{var lt;ot.preventDefault(),(lt=at.current)==null||lt.focus({preventScroll:!0})}),onPointerDownOutside:ot=>ot.preventDefault(),onInteractOutside:ot=>ot.preventDefault(),children:[jsxRuntimeExports.jsx(Slottable,{children:tt}),jsxRuntimeExports.jsx(DescriptionWarning,{contentRef:it})]})})})});AlertDialogContent$1.displayName=CONTENT_NAME;var TITLE_NAME="AlertDialogTitle",AlertDialogTitle$1=reactExports.forwardRef((_,j)=>{const{__scopeAlertDialog:et,...tt}=_,rt=useDialogScope(et);return jsxRuntimeExports.jsx(Title,{...rt,...tt,ref:j})});AlertDialogTitle$1.displayName=TITLE_NAME;var DESCRIPTION_NAME="AlertDialogDescription",AlertDialogDescription$1=reactExports.forwardRef((_,j)=>{const{__scopeAlertDialog:et,...tt}=_,rt=useDialogScope(et);return jsxRuntimeExports.jsx(Description,{...rt,...tt,ref:j})});AlertDialogDescription$1.displayName=DESCRIPTION_NAME;var ACTION_NAME="AlertDialogAction",AlertDialogAction$1=reactExports.forwardRef((_,j)=>{const{__scopeAlertDialog:et,...tt}=_,rt=useDialogScope(et);return jsxRuntimeExports.jsx(Close,{...rt,...tt,ref:j})});AlertDialogAction$1.displayName=ACTION_NAME;var CANCEL_NAME="AlertDialogCancel",AlertDialogCancel$1=reactExports.forwardRef((_,j)=>{const{__scopeAlertDialog:et,...tt}=_,{cancelRef:rt}=useAlertDialogContentContext(CANCEL_NAME,et),nt=useDialogScope(et),it=useComposedRefs$1(j,rt);return jsxRuntimeExports.jsx(Close,{...nt,...tt,ref:it})});AlertDialogCancel$1.displayName=CANCEL_NAME;var DescriptionWarning=({contentRef:_})=>{const j=`\`${CONTENT_NAME}\` requires a description for the component to be accessible for screen reader users. 849
850You can add a description to the \`${CONTENT_NAME}\` by passing a \`${DESCRIPTION_NAME}\` component as a child, which also benefits sighted users by adding visible context to the dialog. 851 852Alternatively, 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 \`${CONTENT_NAME}\`. 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. 853 854For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return reactExports.useEffect(()=>{var tt;document.getElementById((tt=_.current)==null?void 0:tt.getAttribute("aria-describedby"))||console.warn(j)},[j,_]),null},Root2=AlertDialog$1,Portal2=AlertDialogPortal$1,Overlay2=AlertDialogOverlay$1,Content2=AlertDialogContent$1,Action=AlertDialogAction$1,Cancel=AlertDialogCancel$1,Title2=AlertDialogTitle$1,Description2=AlertDialogDescription$1;const AlertDialog=Root2,AlertDialogPortal=Portal2,AlertDialogOverlay=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Overlay2,{className:cn("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",_),...j,ref:et}));AlertDialogOverlay.displayName=Overlay2.displayName;const AlertDialogContent=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsxs(AlertDialogPortal,{children:[jsxRuntimeExports.jsx(AlertDialogOverlay,{}),jsxRuntimeExports.jsx(Content2,{ref:et,className:cn("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",_),...j})]}));AlertDialogContent.displayName=Content2.displayName;const AlertDialogHeader=({className:_,...j})=>jsxRuntimeExports.jsx("div",{className:cn("flex flex-col space-y-2 text-center sm:text-left",_),...j});AlertDialogHeader.displayName="AlertDialogHeader";const AlertDialogFooter=({className:_,...j})=>jsxRuntimeExports.jsx("div",{className:cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",_),...j});AlertDialogFooter.displayName="AlertDialogFooter";const AlertDialogTitle=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Title2,{ref:et,className:cn("text-lg font-semibold",_),...j}));AlertDialogTitle.displayName=Title2.displayName;const AlertDialogDescription=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Description2,{ref:et,className:cn("text-sm text-muted-foreground",_),...j}));AlertDialogDescription.displayName=Description2.displayName;const AlertDialogAction=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Action,{ref:et,className:cn(buttonVariants(),_),...j}));AlertDialogAction.displayName=Action.displayName;const AlertDialogCancel=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx(Cancel,{ref:et,className:cn(buttonVariants({variant:"outline"}),"mt-2 sm:mt-0",_),...j}));AlertDialogCancel.displayName=Cancel.displayName;const NICHE_FILTERS=[{value:"all",label:"All",icon:LayoutGrid},{value:"fashion",label:"Fashion",icon:Shirt},{value:"homeDecor",label:"Home Decor",icon:Lamp}],IMAGES_PER_PAGE=20;function formatNiche(_){const j=(_==null?void 0:_.toLowerCase())??"";return j.includes("decor")||j.includes("home")?"Home Decor":j.includes("fashion")?"Fashion":_||"Product"}function nicheKey(_){const j=(_==null?void 0:_.toLowerCase())??"";return j.includes("fashion")?"fashion":j.includes("decor")||j.includes("home")?"decor":"other"}function formatDate(_){if(!_)return"";try{return new Date(_).toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric"})}catch{return _}}function extractStoragePath(_){try{const j="generated-images/",et=_.indexOf(j);if(et===-1)return null;let tt=_.substring(et+j.length);const rt=tt.indexOf("?");return rt!==-1&&(tt=tt.substring(0,rt)),tt||null}catch{return null}}function groupImages(_){const j=new Map,et=[];for(const tt of _)if(tt.parent_task_id){const rt=j.get(tt.parent_task_id)||[];rt.push(tt),j.set(tt.parent_task_id,rt)}else et.push(tt);return et.map(tt=>{const rt=(j.get(tt.id)||[]).sort((nt,it)=>new Date(nt.created_at).getTime()-new Date(it.created_at).getTime());return{root:tt,versions:[tt,...rt]}})}function ImageCard({group:_,selectedVersionIndex:j,onSelectVersion:et,onClick:tt,index:rt,isSelecting:nt,isSelected:it,onToggleSelect:st,onDelete:at,resolveUrl:ot}){const[lt,ct]=reactExports.useState(!1),[ut,dt]=reactExports.useState(!1),ht=_.versions[j]||_.root,pt=ht.variant_name&&ht.variant_name!=="Original"?`${ht.view_name} · ${ht.variant_name}
854`:ht.view_name,gt=nicheKey(ht.niche),ft=_.versions.length>1;return jsxRuntimeExports.jsxs("div",{style:{animationDelay:`${Math.min(rt*40,400)}ms`},className:"group relative aspect-square w-full overflow-hidden rounded-xl border border-border/60 bg-card transition-all duration-300 hover:border-primary/30 hover:shadow-lg hover:shadow-primary/5 hover:scale-[1.03] animate-fade-in opacity-0 [animation-fill-mode:forwards]",children:[nt&&jsxRuntimeExports.jsx("div",{className:"absolute top-2 left-2 z-20 cursor-pointer",onClick:mt=>{mt.stopPropagation(),st()},children:jsxRuntimeExports.jsx("div",{className:cn("flex h-6 w-6 items-center justify-center rounded-md border-2 transition-all duration-200",it?"bg-primary border-primary shadow-[0_0_8px_hsl(252,85%,62%,0.4)]":"bg-background/80 border-white/30 backdrop-blur-sm hover:border-primary/60"),children:it&&jsxRuntimeExports.jsx(Check,{className:"h-3.5 w-3.5 text-primary-foreground",strokeWidth:3})})}),jsxRuntimeExports.jsx("button",{type:"button",onClick:nt?st:tt,className:"absolute inset-0 z-10 focus:outline-none focus:ring-2 focus:ring-primary/50 rounded-xl"}),!lt&&!ut&&jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-muted loading-shimmer"}),ut&&jsxRuntimeExports.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-card",children:jsxRuntimeExports.jsx(Image$2,{className:"h-10 w-10 text-muted-foreground/30"})}),jsxRuntimeExports.jsx("img",{src:ot(ht.result_url),alt:pt,className:cn("h-full w-full object-cover transition-all duration-500",lt?"opacity-100 scale-100":"opacity-0 scale-105",it&&nt&&"brightness-75"),onLoad:()=>ct(!0),onError:()=>dt(!0)}),ft&&jsxRuntimeExports.jsx("div",{className:"absolute bottom-2 left-2 right-2 z-20 flex gap-1 justify-center",children:_.versions.map((mt,xt)=>jsxRuntimeExports.jsx("button",{onClick:yt=>{yt.stopPropagation(),et(xt)},className:cn("w-2.5 h-2.5 rounded-full transition-all",xt===j?"bg-primary scale-125":"bg-background/70 hover:bg-background"),title:xt===0?"Original":`Version ${xt+1}`},xt))}),jsxRuntimeExports.jsx("div",{className:"absolute top-2 right-2 z-10",children:jsxRuntimeExports.jsx("span",{className:cn("inline-flex items-center gap-1 rounded-full px-2 py-0.5 text-[10px] font-medium backdrop-blur-md border",gt==="fashion"?"bg-primary/20 text-primary-foreground border-primary/30":gt==="decor"?"bg-accent/20 text-accent-foreground border-accent/30":"bg-muted/60 text-muted-foreground border-border"),children:formatNiche(ht.niche)})}),!nt&&jsxRuntimeExports.jsx("div",{className:"absolute inset-x-0 bottom-0 z-10 bg-gradient-to-t from-black/80 via-black/40 to-transparent p-3 pt-10 opacity-0 translate-y-1 transition-all duration-300 group-hover:opacity-100 group-hover:translate-y-0",children:jsxRuntimeExports.jsxs("div",{className:"flex items-end justify-between",children:[jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsxs("p",{className:"truncate text-left text-xs font-medium text-white",children:[pt,ft&&jsxRuntimeExports.jsxs("span",{className:"ml-1 text-white/60",children:["(",j===0?"Original":`v${j+1}`,")"]})]}),jsxRuntimeExports.jsx("p",{className:"text-left text-[10px] text-white/60 mt-0.5",children:formatDate(ht.created_at)})]}),jsxRuntimeExports.jsx("button",{type:"button",onClick:mt=>{mt.stopPropagation(),at()},className:"relative z-20 flex h-7 w-7 items-center justify-center rounded-full bg-destructive/80 hover:bg-destructive text-destructive-foreground transition-colors",title:"Delete image",children:jsxRuntimeExports.jsx(Trash2,{className:"h-3.5 w-3.5"})})]})})]})}function StatsBar({images:_}){const j=_.filter(tt=>nicheKey(tt.niche)==="fashion").length,et=_.filter(tt=>nicheKey(tt.niche)==="decor").length;return jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-6 text-xs text-muted-foreground",children:[jsxRuntimeExports.jsxs("span",{className:"flex items-center gap-1.5",children:[jsxRuntimeExports.jsx("span",{className:"h-2 w-2 rounded-full bg-primary"}),jsxRuntimeExports.jsx("span",{className:"font-medium text-foreground",children:_.length})," total"]}),jsxRuntimeExports.jsxs("span",{className:"flex items-center gap-1.5",children:[jsxRuntimeExports.jsx("span",{className:"h-2 w-2 rounded-full bg-primary/60"}),jsxRuntimeExports.jsx("span",{className:"font-medium text-foreground",children:j})," fashion"]}),jsxRuntimeExports.jsxs("span",{className:"flex items-center gap-1.5",children:[jsxRuntimeExports.jsx("span",{className:"h-2 w-2 rounded-full bg-accent/60"}),jsxRuntimeExports.jsx("span",{className:"font-medium text-foreground",children:et})," home decor"]})]})}function Pagination({currentPage:_,totalPages:j,onPageChange:et}){if(j<=1)return null;const tt=[];for(let rt=1;rt<=j;rt++)rt===1||rt===j||rt>=_-1&&rt<=_+1?tt.push(rt):tt[tt.length-1]!=="..."&&tt.push("...");return jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-center gap-1.5 pt-8",children:[jsxRuntimeExports.jsx(Button,{variant:"ghost",size:"icon",className:"h-9 w-9",disabled:_===1,onClick:()=>et(_-1),children:jsxRuntimeExports.jsx(ChevronLeft,{className:"h-4 w-4"})}),tt.map((rt,nt)=>rt==="..."?jsxRuntimeExports.jsx("span",{className:"px-2 text-muted-foreground text-sm",children:"â¦"},`dots-${nt}`):jsxRuntimeExports.jsx(Button,{variant:rt===_?"default":"ghost",size:"icon",className:cn("h-9 w-9 text-sm",rt===_&&"bg-primary text-primary-foreground shadow-[0_0_12px_hsl(252,85%,62%,0.3)]"),onClick:()=>et(rt),children:rt},rt)),jsxRuntimeExports.jsx(Button,{variant:"ghost",size:"icon",className:"h-9 w-9",disabled:_===j,onClick:()=>et(_+1),children:jsxRuntimeExports.jsx(ChevronRight,{className:"h-4 w-4"})})]})}function MyImages(){const{images:_,isLoading:j,error:et,refetch:tt}=useUserImages(),{toast:rt}=useToast(),[nt,it]=reactExports.useState(null),[st,at]=reactExports.useState("all"),[ot,lt]=reactExports.useState(1),[ct,ut]=reactExports.useState(!1),[dt,ht]=reactExports.useState(new Set),[pt,gt]=reactExports.useState({}),[ft,mt]=reactExports.useState(null),[xt,yt]=reactExports.useState(!1),[vt,bt]=reactExports.useState(!1),[Et,_t]=reactExports.useState(!1),[wt,Rt]=reactExports.useState(null),[Ct,jt]=reactExports.useState(!1),Dt=reactExports.useMemo(()=>groupImages(_),[_]),It=reactExports.useMemo(()=>st==="all"?Dt:Dt.filter(Kt=>{const Bt=(Kt.root.niche??"").toLowerCase();return st==="fashion"?Bt.includes("fashion"):st==="homeDecor"?Bt.includes("decor")||Bt.includes("home"):!0}
854),[Dt,st]),Ot=Math.max(1,Math.ceil(It.length/IMAGES_PER_PAGE)),At=Math.min(ot,Ot),Tt=reactExports.useMemo(()=>{const Kt=(At-1)*IMAGES_PER_PAGE;return It.slice(Kt,Kt+IMAGES_PER_PAGE)},[It,At]),kt=reactExports.useMemo(()=>{const Kt=[];for(const Bt of Tt)for(const Zt of Bt.versions){const qt=extractPathFromUrl(Zt.result_url);qt&&Kt.push(qt)}return[...new Set(Kt)]},[Tt]),{signedMap:St}=useSignedUrls(kt),Pt=reactExports.useCallback(Kt=>{const Bt=extractPathFromUrl(Kt);return Bt&&St[Bt]||Kt},[St]),$t=nt?Tt.findIndex(Kt=>Kt.versions.some(Bt=>Bt.id===nt.id)):-1,Nt=$t>0,Mt=$t>=0&&$t<Tt.length-1,Vt=Kt=>{const Bt=Tt[$t+Kt];if(Bt){const Zt=pt[Bt.root.id]||0;it(Bt.versions[Zt]||Bt.root)}},Ht=Kt=>{const Bt=document.createElement("a");Bt.href=Pt(Kt.result_url),Bt.download=`snapshot-${Kt.id}.png`,Bt.target="_blank",Bt.rel="noopener noreferrer",Bt.click()},Qt=async()=>{if(!wt||!nt)return;jt(!0);const Kt=nt.job_id?_.filter(Zt=>Zt.job_id===nt.job_id):[nt];if(Kt.length===0){rt({title:"Nothing to export",description:"No images found for this job.",variant:"destructive"}),jt(!1);return}const Bt={connectionId:wt.connectionId,shopDomain:wt.shopDomain,productId:wt.productId,replacePhotos:wt.replacePhotos,images:Kt.map(Zt=>({imageUrl:extractPathFromUrl(Zt.result_url)??Zt.result_url,variantName:Zt.variant_name??"Original"}))};try{const{data:Zt,error:qt}=await invokeEdgeFunctionWithRetry("shopify-export-images",{body:Bt});if(qt||!(Zt!=null&&Zt.success)){const ar=(Zt==null?void 0:Zt.error)??(qt==null?void 0:qt.message)??"Unknown error";rt({title:"Export to Shopify failed",description:ar,variant:"destructive"});return}const lr=Zt.uploadedCount;rt({title:`Exported ${lr} image${lr!==1?"s":""} to Shopify`,variant:"success",action:jsxRuntimeExports.jsx(ToastAction,{altText:"View product on Shopify",asChild:!0,children:jsxRuntimeExports.jsx("a",{href:Zt.productAdminUrl,target:"_blank",rel:"noopener noreferrer",children:"View product"})})}),_t(!1)}catch(Zt){rt({title:"Export to Shopify failed",description:Zt instanceof Error?Zt.message:"Unexpected error",variant:"destructive"})}finally{jt(!1)}},er=reactExports.useCallback(Kt=>{ht(Bt=>{const Zt=new Set(Bt);return Zt.has(Kt)?Zt.delete(Kt):Zt.add(Kt),Zt})},[]),ir=reactExports.useCallback(()=>{ht(new Set(Tt.map(Kt=>Kt.root.id)))},[Tt]);reactExports.useCallback(()=>{ht(new Set)},[]);const Jt=reactExports.useCallback(()=>{ut(!1),ht(new Set)},[]),Gt=async Kt=>{bt(!0);try{const Bt=new Set(Kt);for(const sr of Dt)if(Bt.has(sr.root.id))for(const gr of sr.versions)Bt.add(gr.id);const Zt=Array.from(Bt),lr=_.filter(sr=>Zt.includes(sr.id)).map(sr=>extractStoragePath(sr.result_url)).filter(Boolean);if(lr.length>0){const{error:sr}=await supabase.storage.from("generated-images").remove(lr);sr&&console.error("[MyImages] Storage cleanup partial failure:",sr.message)}const ar=Zt.filter(sr=>{var gr;return(gr=_.find(Lt=>Lt.id===sr))==null?void 0:gr.parent_task_id}),Yt=Zt.filter(sr=>{var gr;return!((gr=_.find(Lt=>Lt.id===sr))!=null&&gr.parent_task_id)});if(ar.length>0&&await supabase.from("generation_tasks").delete().in("id",ar),Yt.length>0){const{error:sr}=await supabase.from("generation_tasks").delete().in("id",Yt);if(sr)throw sr}rt({title:"Deleted",description:`${Kt.length} image${Kt.length!==1?"s":""} removed.`}),Jt(),await tt()}catch(Bt){console.error("Delete error:",Bt),rt({title:"Error",description:Bt.message||"Failed to delete images.",variant:"destructive"})}finally{bt(!1),mt(null),yt(!1)}};return et?jsxRuntimeExports.jsx("div",{className:"container max-w-4xl mx-auto px-6 py-8",children:jsxRuntimeExports.jsx("p",{className:"text-destructive",children:"Failed to load your images. Please try again."})}):jsxRuntimeExports.jsxs("div",{className:"container max-w-6xl mx-auto px-6 py-8",children:[jsxRuntimeExports.jsxs("div",{className:"mb-8 flex items-start gap-4",children:[jsxRuntimeExports.jsx("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-xl bg-gradient-to-br from-primary/20 to-accent/20 border border-primary/10",children:jsxRuntimeExports.jsx(Image$2,{className:"h-6 w-6 text-primary"})}),jsxRuntimeExports.jsxs("div",{className:"flex-1",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntimeExports.jsx("h1",{className:"text-2xl font-semibold text-foreground tracking-tight font-display",children:"My Images"}),!j&&_.length>0&&jsxRuntimeExports.jsx(Badge,{variant:"secondary",className:"text-xs tabular-nums",children:_.length})]}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"All images you've generated. Click to view full size or download."})]}),!j&&_.length>0&&jsxRuntimeExports.jsx("div",{className:"flex items-center gap-2",children:ct?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Button,{variant:"ghost",size:"sm",onClick:ir,className:"text-xs",children:"Select All"}),jsxRuntimeExports.jsxs(Button,{variant:"destructive",size:"sm",disabled:dt.size===0,onClick:()=>yt(!0),className:"gap-1.5",children:[jsxRuntimeExports.jsx(Trash2,{className:"h-3.5 w-3.5"}),"Delete (",dt.size,")"]}),jsxRuntimeExports.jsx(Button,{variant:"ghost",size:"icon",className:"h-8 w-8",onClick:Jt,children:jsxRuntimeExports.jsx(X$1,{className:"h-4 w-4"})})]}):jsxRuntimeExports.jsxs(Button,{variant:"outline",size:"sm",onClick:()=>ut(!0),className:"gap-1.5 border-white/[0.08] hover:bg-white/[0.04]",children:[jsxRuntimeExports.jsx(SquareCheckBig,{className:"h-3.5 w-3.5"}),"Select"]})})]}),jsxRuntimeExports.jsx("div",{className:"h-px w-full bg-gradient-to-r from-primary/40 via-accent/20 to-transparent mb-6"}),!j&&_.length>0&&jsxRuntimeExports.jsx("div",{className:"mb-5",children:jsxRuntimeExports.jsx(StatsBar,{images:_})}),jsxRuntimeExports.jsxs(Tabs,{value:st,onValueChange:Kt=>{at(Kt),lt(1)},className:"w-full",children:[jsxRuntimeExports.jsx(TabsList,{className:"mb-6 bg-card border border-border/60 h-11 p-1",children:NICHE_FILTERS.map(Kt=>{const Bt=Kt.icon;return jsxRuntimeExports.jsxs(TabsTrigger,{value:Kt.value,className:"gap-1.5 data-[state=active]:bg-primary/10 data-[state=active]:text-primary data-[state=active]:border-primary/20 data-[state=active]:border transition-colors",children:[jsxRuntimeExports.jsx(Bt,{className:"h-3.5 w-3.5"}),Kt.label]},Kt.value)})}),NICHE_FILTERS.map(Kt=>jsxRuntimeExports.jsx(TabsContent,{value:Kt.value,className:"mt-0",children:j?jsxRuntimeExports.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 ga
854p-4",children:Array.from({length:10}).map((Bt,Zt)=>jsxRuntimeExports.jsx("div",{className:"aspect-square rounded-xl bg-muted loading-shimmer border border-border/40",style:{animationDelay:`${Zt*80}ms`}},Zt))}):It.length===0?jsxRuntimeExports.jsxs("div",{className:"flex min-h-[300px] flex-col items-center justify-center rounded-2xl border border-dashed border-border/60 bg-card/50 p-12 text-center",children:[jsxRuntimeExports.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-2xl bg-gradient-to-br from-primary/20 to-accent/20 border border-primary/10 mb-5",children:jsxRuntimeExports.jsx(Sparkles,{className:"h-8 w-8 text-primary"})}),jsxRuntimeExports.jsx("p",{className:"text-base font-medium text-foreground",children:"No images yet"}),jsxRuntimeExports.jsx("p",{className:"mt-2 text-sm text-muted-foreground max-w-sm",children:"Head to the Generator to create stunning product photos with AI â they'll appear here automatically."}),jsxRuntimeExports.jsx(Button,{asChild:!0,className:"mt-6 gap-2",variant:"default",size:"sm",children:jsxRuntimeExports.jsxs(Link,{to:"/app",children:[jsxRuntimeExports.jsx(Sparkles,{className:"h-4 w-4"}),"Start Generating"]})})]}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-4",children:Tt.map((Bt,Zt)=>{const qt=pt[Bt.root.id]||0,lr=Bt.versions[qt]||Bt.root;return jsxRuntimeExports.jsx(ImageCard,{group:Bt,selectedVersionIndex:qt,onSelectVersion:ar=>{gt(Yt=>({...Yt,[Bt.root.id]:ar}))},index:Zt,onClick:()=>it(lr),isSelecting:ct,isSelected:dt.has(Bt.root.id),onToggleSelect:()=>er(Bt.root.id),onDelete:()=>mt(lr),resolveUrl:Pt},Bt.root.id)})}),jsxRuntimeExports.jsx(Pagination,{currentPage:At,totalPages:Ot,onPageChange:lt}),It.length>IMAGES_PER_PAGE&&jsxRuntimeExports.jsxs("p",{className:"text-center text-xs text-muted-foreground mt-2",children:["Showing ",(At-1)*IMAGES_PER_PAGE+1,"â",Math.min(At*IMAGES_PER_PAGE,It.length)," of ",It.length]})]})},Kt.value))]}),jsxRuntimeExports.jsx(Dialog,{open:!!nt,onOpenChange:()=>{it(null),_t(!1),Rt(null)},children:jsxRuntimeExports.jsxs(DialogContent,{className:"w-full sm:max-w-2xl p-0 overflow-y-auto bg-background border-border/60 sm:rounded-2xl rounded-none max-h-screen sm:max-h-[90vh]",children:[jsxRuntimeExports.jsx("div",{className:"h-1 w-full bg-gradient-to-r from-primary via-accent to-primary/40"}),jsxRuntimeExports.jsx(DialogHeader,{className:"px-5 pt-4 pb-0",children:jsxRuntimeExports.jsx(DialogTitle,{className:"text-sm font-medium text-foreground flex items-center gap-2",children:nt&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[nt.variant_name&&nt.variant_name!=="Original"?`${nt.view_name} · ${nt.variant_name}`:nt.view_name,jsxRuntimeExports.jsx(Badge,{variant:"outline",className:"text-[10px] font-normal ml-auto",children:nt&&formatNiche(nt.niche)})]})})}),nt&&(()=>{const Kt=Dt.find(qt=>qt.versions.some(lr=>lr.id===nt.id)),Bt=Kt?Kt.versions.findIndex(qt=>qt.id===nt.id):0,Zt=Kt&&Kt.versions.length>1;return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsxs("div",{className:"relative w-full max-h-[70vh] overflow-hidden rounded-lg bg-card/50 group",children:[jsxRuntimeExports.jsx("img",{src:Pt(nt.result_url),alt:"",className:"h-full w-full object-cover"}),Nt&&jsxRuntimeExports.jsx("button",{onClick:()=>Vt(-1),className:"absolute left-2 top-1/2 -translate-y-1/2 flex h-9 w-9 items-center justify-center rounded-full bg-background/80 border border-border/60 text-foreground opacity-0 group-hover:opacity-100 transition-opacity hover:bg-muted",children:jsxRuntimeExports.jsx(ChevronLeft,{className:"h-5 w-5"})}),Mt&&jsxRuntimeExports.jsx("button",{onClick:()=>Vt(1),className:"absolute right-2 top-1/2 -translate-y-1/2 flex h-9 w-9 items-center justify-center rounded-full bg-background/80 border border-border/60 text-foreground opacity-0 group-hover:opacity-100 transition-opacity hover:bg-muted",children:jsxRuntimeExports.jsx(ChevronRight,{className:"h-5 w-5"})}),Tt.length>1&&jsxRuntimeExports.jsxs("span",{className:"absolute bottom-3 left-1/2 -translate-x-1/2 text-[11px] text-white/70 bg-black/50 rounded-full px-3 py-1 backdrop-blur-sm tabular-nums",children:[$t+1," / ",Tt.length]})]}),Zt&&Kt&&jsxRuntimeExports.jsx("div",{className:"flex gap-1.5 justify-center py-2",children:Kt.versions.map((qt,lr)=>jsxRuntimeExports.jsx("button",{onClick:()=>{it(qt),gt(ar=>({...ar,[Kt.root.id]:lr}))},className:cn("w-2.5 h-2.5 rounded-full transition-all",lr===Bt?"bg-primary scale-125":"bg-muted-foreground
854/30 hover:bg-muted-foreground/60"),title:lr===0?"Original":`Version ${lr+1}`},qt.id))}),jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between gap-4 px-5 py-4 border-t border-border/40",children:[jsxRuntimeExports.jsx("span",{className:"text-xs text-muted-foreground",children:formatDate(nt.created_at)}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsxs(Button,{size:"sm",variant:"ghost",onClick:()=>{mt(nt),it(null)},className:"gap-1.5 text-destructive hover:text-destructive hover:bg-destructive/10",children:[jsxRuntimeExports.jsx(Trash2,{className:"h-3.5 w-3.5"}),"Delete"]}),jsxRuntimeExports.jsxs(Button,{size:"sm",variant:"outline",onClick:()=>_t(!Et),className:"gap-2",children:[jsxRuntimeExports.jsx(ExternalLink,{className:"h-4 w-4"}),"Export to Shopify"]}),jsxRuntimeExports.jsxs(Button,{size:"sm",onClick:()=>Ht(nt),className:"gap-2 bg-gradient-to-r from-primary to-accent text-primary-foreground hover:opacity-90",children:[jsxRuntimeExports.jsx(Download,{className:"h-4 w-4"}),"Download"]})]})]}),Et&&jsxRuntimeExports.jsxs("div",{className:"px-5 pb-4 border-t border-border/40",children:[jsxRuntimeExports.jsx(ShopifyExportPanel,{onChange:Rt,defaultEnabled:!0}),jsxRuntimeExports.jsxs(Button,{className:"mt-3 w-full",disabled:!wt||Ct,onClick:Qt,children:[Ct?jsxRuntimeExports.jsx(LoaderCircle,{className:"h-4 w-4 animate-spin mr-2"}):null,Ct?"Exportingâ¦":`Export ${_.filter(qt=>qt.job_id===(nt==null?void 0:nt.job_id)).length} images`]})]})]})})()]})}),jsxRuntimeExports.jsx(AlertDialog,{open:!!ft,onOpenChange:()=>mt(null),children:jsxRuntimeExports.jsxs(AlertDialogContent,{children:[jsxRuntimeExports.jsxs(AlertDialogHeader,{children:[jsxRuntimeExports.jsx(AlertDialogTitle,{children:"Delete this image?"}),jsxRuntimeExports.jsx(AlertDialogDescription,{children:"This will permanently remove the image. This action cannot be undone."})]}),jsxRuntimeExports.jsxs(AlertDialogFooter,{children:[jsxRuntimeExports.jsx(AlertDialogCancel,{disabled:vt,children:"Cancel"}),jsxRuntimeExports.jsxs(AlertDialogAction,{disabled:vt,className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",onClick:()=>ft&&Gt([ft.id]),children:[vt?jsxRuntimeExports.jsx(LoaderCircle,{className:"h-4 w-4 animate-spin mr-2"}):null,"Delete"]})]})]})}),jsxRuntimeExports.jsx(AlertDialog,{open:xt,onOpenChange:yt,children:jsxRuntimeExports.jsxs(AlertDialogContent,{children:[jsxRuntimeExports.jsxs(AlertDialogHeader,{children:[jsxRuntimeExports.jsxs(AlertDialogTitle,{children:["Delete ",dt.size," images?"]}),jsxRuntimeExports.jsxs(AlertDialogDescription,{children:["This will permanently remove ",dt.size," selected image",dt.size!==1?"s":"",". This action cannot be undone."]})]}),jsxRuntimeExports.jsxs(AlertDialogFooter,{children:[jsxRuntimeExports.jsx(AlertDialogCancel,{disabled:vt,children:"Cancel"}),jsxRuntimeExports.jsxs(AlertDialogAction,{disabled:vt,className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",onClick:()=>Gt(Array.from(dt)),children:[vt?jsxRuntimeExports.jsx(LoaderCircle,{className:"h-4 w-4 animate-spin mr-2"}):null,"Delete ",dt.size," images"]})]})]})})]})}const emailSchema=stringType().email("Please enter a valid email address"),passwordSchema$1=stringType().min(6,"Password must be at least 6 characters");function Auth(){const[_,j]=reactExports.useState(!0),[et,tt]=reactExports.useState(""),[rt,nt]=reactExports.useState(""),[it,st]=reactExports.useState(!1),[at,ot]=reactExports.useState({}),{toast:lt}=useToast(),ct=useNavigate(),ut=async()=>{const gt=new URLSearchParams(window.location.search),ft=gt.get("shop"),mt=gt.get("link")==="1";let xt=!1;if(ft&&mt)try{const bt=await linkPendingShop(ft);xt=!0,lt({title:"Store connected",description:`${bt.shopName??bt.shopDomain} is now connected.`,variant:"success"})}catch(bt){lt({title:"Connection failed",description:bt instanceof Error?bt.message:"Could not link your Shopify store.",variant:"destructive"})}const{data:{user:yt}}=await supabase.auth.getUser();if(!yt){ct("/pricing",{replace:!0});return}await userHasSubscriptionAccess(yt.id)?ct(xt?"/integrations?connected=true":"/integrations",{replace:!0}):ct(xt?"/pricing?shopify_connected=1":"/pricing",{replace:!0})};reactExports.useEffect(()=>{const{data:{subscription:gt}}=supabase.auth.onAuthStateChange((ft,mt)=>{mt!=null&&mt.user&&ut()});return supabase.auth.getSession().then(({data:{session:ft}})=>{ft!=null&&ft.user&&ut()}),()=>gt.unsubscribe()},[ct]);const dt=()=>{const gt={},ft=emailSchema.safeParse(et);ft.success||(gt.email=ft.error.errors[0].message);const mt=passwordSchema$1.safeParse(rt);return mt.success||(gt.password=mt.error.errors[0].message),ot(gt),Object.keys(gt).length===0},ht=async()=>{const gt=et.trim(),ft=emailSchema.safeParse(gt);if(!ft.success){ot(mt=>({...mt,email:ft.error.errors[0].message})),lt({title:"Failed to send reset link",description:"Please enter a valid email address first.",variant:"destructive"});return}st(!0);try{const{error:mt}=await supabase.auth.resetPasswordForEmail(gt,{redirectTo:`${window.location.origin}/reset-password`});if(mt)throw mt;lt({title:"Reset link sent",description:"Check your inbox and click the link to reset your password.",variant:"success"})}
854catch(mt){const xt=mt&&typeof mt=="object"&&"code"in mt?String(mt.code):"",yt=mt instanceof Error?mt.message:"Something went wrong.";lt({title:"Reset failed",description:xt==="over_email_send_rate_limit"?"Too many reset emails sent. Wait a few minutes and try again.":yt,variant:"destructive"})}finally{st(!1)}},pt=async gt=>{var ft,mt,xt;if(gt.preventDefault(),!!dt()){st(!0);try{if(_){const{data:yt,error:vt}=await supabase.auth.signInWithPassword({email:et.trim(),password:rt});if(vt)throw vt;lt({title:"Welcome back!",description:"Successfully logged in.",variant:"success"}),yt.user&&await ut()}else{const{data:yt,error:vt}=await supabase.auth.signUp({email:et.trim(),password:rt,options:{emailRedirectTo:`${window.location.origin}/pricing`}});if(vt)throw vt;yt.session&&yt.user?(lt({title:"Account created!",description:"You can now start generating images.",variant:"success"}),await ut()):lt({title:"Check your email",description:"We've sent you a confirmation link. Click it to activate your account."})}}catch(yt){let vt=yt.message||"An error occurred";(ft=yt.message)!=null&&ft.includes("User already registered")?vt="This email address already exists. Log in or reset your password.":(mt=yt.message)!=null&&mt.includes("Invalid login credentials")?vt="Invalid credentials or the account doesn't exist. Try signing up or reset your password.":(xt=yt.message)!=null&&xt.includes("Email not confirmed")&&(vt="Please confirm your email before logging in."),lt({title:_?"Login failed":"Sign up failed",description:vt,variant:"destructive"})}finally{st(!1)}}};return jsxRuntimeExports.jsxs("div",{className:"min-h-screen bg-background flex flex-col",children:[jsxRuntimeExports.jsx("header",{className:"border-b border-border/50 bg-card/50 backdrop-blur-sm",children:jsxRuntimeExports.jsx("div",{className:"container max-w-5xl mx-auto px-4 py-4",children:jsxRuntimeExports.jsx("div",{className:"flex items-center space-x-3",children:jsxRuntimeExports.jsx("img",{src:snapshotLogo,alt:"SnapShot",className:"h-10 w-auto"})})})}),jsxRuntimeExports.jsx("main",{className:"flex-1 flex items-center justify-center px-4 py-12",children:jsxRuntimeExports.jsx("div",{className:"w-full max-w-md",children:jsxRuntimeExports.jsxs("div",{className:"bg-card border border-border rounded-2xl p-8 shadow-lg",children:[jsxRuntimeExports.jsxs("div",{className:"text-center mb-8",children:[jsxRuntimeExports.jsx("h2",{className:"text-2xl font-display font-semibold text-foreground mb-2",children:_?"Welcome back":"Create account"}),jsxRuntimeExports.jsx("p",{className:"text-muted-foreground font-body",children:_?"Sign in to generate stunning product images":"Start creating professional product photos"})]}),jsxRuntimeExports.jsxs("form",{onSubmit:pt,className:"space-y-5",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"email",className:"text-sm font-medium",children:"Email"}),jsxRuntimeExports.jsxs("div",{className:"relative",children:[jsxRuntimeExports.jsx(Mail,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-muted-foreground"}),jsxRuntimeExports.jsx(Input,{id:"email",type:"email",placeholder:"[email protected]",value:et,onChange:gt=>{tt(gt.target.value),ot(ft=>({...ft,email:void 0}))},className:`pl-11 h-12 ${at.email?"border-destructive":""}`,disabled:it})]}),at.email&&jsxRuntimeExports.jsx("p",{className:"text-sm text-destructive",children:at.email})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"password",className:"text-sm font-medium",children:"Password"}),jsxRuntimeExports.jsxs("div",{className:"relative",children:[jsxRuntimeExports.jsx(Lock,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-muted-foreground"}),jsxRuntimeExports.jsx(Input,{id:"password",type:"password",placeholder:"â¢â¢â¢â¢â¢â¢â¢â¢",value:rt,onChange:gt=>{nt(gt.target.value),ot(ft=>({...ft,password:void 0}))},className:`pl-11 h-12 ${at.password?"border-destructive":""}`,disabled:it})]}),at.password&&jsxRuntimeExports.jsx("p",{className:"text-sm text-destructive",children:at.password}),jsxRuntimeExports.jsx("div",{className:"flex justify-end",children:jsxRuntimeExports.jsx("button",{type:"button",onClick:ht,className:"text-sm text-muted-foreground hover:text-foreground transition-colors",disabled:it,children:"Forgot password?"})})]}),jsxRuntimeExports.jsx(Button,{type:"submit",disabled:it,className:"w-full h-12 text-base font-medium bg-primary text-primary-foreground hover:bg-primary/90 transition-colors duration-150 rounded-md",children:it?jsxRuntimeExports.jsxs("span",{className:"flex items-center space-x-2",children:[jsxRuntimeExports.jsxs("svg",{className:"animate-spin h-5 w-5",viewBox:"0 0 24 24",children:[jsxRuntimeExports.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",fill:"none"}),jsxRuntimeExports.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),jsxRuntimeExports.jsx("span",{children:_?"Signing in...":"Creating account..."})]}):jsxRuntimeExports.jsxs("span",{className:"flex items-center space-x-2",children:[jsxRuntimeExports.jsx("span",{children:_?"Sign in":"Create account"}),jsxRuntimeExports.jsx(ArrowRight,{className:"w-5 h-5"})]})})]}),jsxRuntimeExports.jsx("div",{className:"mt-6 text-center",children:jsxRuntimeExports.jsx("button",{type:"button",onClick:()=>{j(!_),ot({})},className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:_?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["Don't have an account?"," ",jsxRuntimeExports.jsx("span",{className:"font-medium text-accent",children:"Sign up"})]}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["Already have an account?"," ",jsxRuntimeExports.jsx("span",{className:"font-medium text-accent",children:"Sign in"})]})})})]})})})]})}const passwordSchema=stringType().min(6,"Password must be at least 6 characters");function readAuthParams(){const _=window.location.hash.startsWith("#")?window.location.hash.slice(1):window.location.hash,j=new URLSearchParams(window.location.search);for(const[et,tt]of new URLSearchParams(_))j.set(et,tt);return j}function clearAuthParamsFromUrl(){window.history.replaceState({},document.title,window.location.pathname)}function ResetPassword(){const[_,j]=reactExports.useState(""),[et,tt]=reactExports.useState(""),[rt,nt]=reactExports.useState(!1),[it,st]=reactExports.useState(null),[at,ot]=reactExports.useState(null),[lt,ct]=reactExports.useState({}),{toast:ut}=useToast(),dt=useNavigate();reactExports.useEffect(()=>{document.title="Reset Password | SnapShot"},[]),reactExports.useEffect(()=>{let ft=!1;const mt=async()=>{const yt=readAuthParams(),vt=yt.get("error_code")??yt.get("error"),bt=yt.get("error_description");if(vt){const wt=vt==="otp_expired"||bt!=null&&bt.includes("expired")?"This reset link has expired. Request a new one from the login page.":(bt==null?void 0:bt.replace(/\+/g," "))??"Could not open the reset link. Request a new one from the login page.";ft||(ot(wt),st(!1)),clearAuthParamsFromUrl();return}const Et=yt.get("code");if(Et){const{error:wt}=await supabase.auth.exchangeCodeForSession(Et);
854if(clearAuthParamsFromUrl(),wt){ft||(ot(/expired|invalid/i.test(wt.message)?"This reset link has expired or was already used. Request a new one from the login page.":wt.message),st(!1));return}}const{data:{session:_t}}=await supabase.auth.getSession();ft||st(!!_t)},{data:{subscription:xt}}=supabase.auth.onAuthStateChange((yt,vt)=>{(yt==="PASSWORD_RECOVERY"||yt==="SIGNED_IN"||yt==="INITIAL_SESSION")&&(st(!!vt),vt&&ot(null))});return mt(),()=>{ft=!0,xt.unsubscribe()}},[]);const ht=()=>{const ft={},mt=passwordSchema.safeParse(_);return mt.success||(ft.password=mt.error.errors[0].message),et!==_&&(ft.confirmPassword="Passwords do not match"),ct(ft),Object.keys(ft).length===0},pt=reactExports.useMemo(()=>it===!0&&!rt,[it,rt]),gt=async ft=>{if(ft.preventDefault(),!!ht()){nt(!0);try{const{error:mt}=await supabase.auth.updateUser({password:_});if(mt)throw mt;ut({title:"Password updated",description:"You can now use the app with your new password.",variant:"success"}),dt("/app",{replace:!0})}catch(mt){const xt=mt instanceof Error?mt.message:"Something went wrong.";ut({title:"Reset failed",description:xt,variant:"destructive"})}finally{nt(!1)}}};return jsxRuntimeExports.jsxs("div",{className:"min-h-screen bg-background flex flex-col",children:[jsxRuntimeExports.jsx("header",{className:"border-b border-border/50 bg-card/50 backdrop-blur-sm",children:jsxRuntimeExports.jsx("div",{className:"container max-w-5xl mx-auto px-4 py-4",children:jsxRuntimeExports.jsx("div",{className:"flex items-center space-x-3",children:jsxRuntimeExports.jsx("img",{src:snapshotLogo,alt:"SnapShot",className:"h-10 w-auto"})})})}),jsxRuntimeExports.jsx("main",{className:"flex-1 flex items-center justify-center px-4 py-12",children:jsxRuntimeExports.jsx("div",{className:"w-full max-w-md",children:jsxRuntimeExports.jsxs("div",{className:"bg-card border border-border rounded-2xl p-8 shadow-lg",children:[jsxRuntimeExports.jsxs("div",{className:"text-center mb-8",children:[jsxRuntimeExports.jsx("h2",{className:"text-2xl font-display font-semibold text-foreground mb-2",children:"New Password"}),jsxRuntimeExports.jsx("p",{className:"text-muted-foreground font-body",children:"Open the reset link from your email first. Then enter your new password below."})]}),it===null&&jsxRuntimeExports.jsx("div",{className:"mb-6 rounded-xl border border-border bg-muted/40 p-4 text-sm text-muted-foreground",children:"Verifying your reset link..."}),at&&jsxRuntimeExports.jsx("div",{className:"mb-6 rounded-xl border border-destructive/40 bg-destructive/10 p-4 text-sm text-destructive",children:at}),it===!1&&!at&&jsxRuntimeExports.jsx("div",{className:"mb-6 rounded-xl border border-border bg-muted/40 p-4 text-sm text-muted-foreground",children:"No reset session found. Click the link in your reset email, or request a new reset from the login page."}),jsxRuntimeExports.jsxs("form",{onSubmit:gt,className:"space-y-5",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"password",className:"text-sm font-medium",children:"New password"}),jsxRuntimeExports.jsxs("div",{className:"relative",children:[jsxRuntimeExports.jsx(Lock,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-muted-foreground"}),jsxRuntimeExports.jsx(Input,{id:"password",type:"password",placeholder:"â¢â¢â¢â¢â¢â¢â¢â¢",value:_,onChange:ft=>{j(ft.target.value),ct(mt=>({...mt,password:void 0}))},className:`pl-11 h-12 ${lt.password?"border-destructive":""}`,disabled:!pt})]}),lt.password&&jsxRuntimeExports.jsx("p",{className:"text-sm text-destructive",children:lt.password})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"confirmPassword",className:"text-sm font-medium",children:"Confirm password"}),jsxRuntimeExports.jsxs("div",{className:"relative",children:[jsxRuntimeExports.jsx(Lock,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-muted-foreground"}),jsxRuntimeExports.jsx(Input,{id:"confirmPassword",type:"password",placeholder:"â¢â¢â¢â¢â¢â¢â¢â¢",value:et,onChange:ft=>{tt(ft.target.value),ct(mt=>({...mt,confirmPassword:void 0}))},className:`pl-11 h-12 ${lt.confirmPassword?"border-destructive":""}`,disabled:!pt})]}),lt.confirmPassword&&jsxRuntimeExports.jsx("p",{className:"text-sm text-destructive",children:lt.confirmPassword})]}),jsxRuntimeExports.jsx(Button,{type:"submit",disabled:!pt,className:"w-full h-12 text-base font-medium bg-primary text-primary-foreground hover:bg-primary/90 transition-colors duration-150 rounded-md",children:rt?jsxRuntimeExports.jsxs("span",{className:"flex items-center space-x-2",children:[jsxRuntimeExports.jsxs("svg",{className:"animate-spin h-5 w-5",viewBox:"0 0 24 24",children:[jsxRuntimeExports.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",fill:"none"}),jsxRuntimeExports.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),jsxRuntimeExports.jsx("span",{children:"Saving..."})]}):jsxRuntimeExports.jsxs("span",{className:"flex items-center space-x-2",children:[jsxRuntimeExports.jsx("span",{children:"Save password"}),jsxRuntimeExports.jsx(ArrowRight,{className:"w-5 h-5"})]})}),jsxRuntimeExports.jsx(Button,{type:"button",variant:"ghost",className:"w-full",onClick:()=>dt("/auth",{replace:!0}),children:"Terug naar login"})]})]})})})]})}const Table=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("div",{className:"relative w-full overflow-auto",children:jsxRuntimeExports.jsx("table",{ref:et,className:cn("w-full caption-bottom text-sm",_),...j})}));Table.displayName="Table";const TableHeader=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("thead",{ref:et,className:cn("[&_tr]:border-b",_),...j}));TableHeader.displayName="TableHeader";const TableBody=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("tbody",{ref:et,className:cn("[&_tr:last-child]:border-0",_),...j}));TableBody.displayName="TableBody";const TableFooter=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("tfoot",{ref:et,className:cn("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",_),...j}));TableFooter.displayName="TableFooter";const TableRow=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("tr",{ref:et,className:cn("border-b transition-colors data-[state=selected]:bg-muted hover:bg-muted/50",_),...j}));TableRow.displayName="TableRow";const TableHead=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("th",{ref:et,className:cn("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",_),...j}));TableHead.displayName="TableHead";const TableCell=reactExports.forwardRef(({className:_,...j},et)=>jsxRuntimeExports.jsx("td",{ref:et,className:cn("p-4 align-middle [&:has([role=checkbox])]:pr-0",_),...j}));TableCell.displayName="TableCell";const TableCaption=reactExports.forwardRef(({className:_,...j},et)=>
vendor: 9,311 bytes, line 854
854jsxRuntimeExports.jsx("caption",{ref:et,className:cn("mt-4 text-sm text-muted-foreground",_),...j}));TableCaption.displayName="TableCaption";var isArray$f=Array.isArray,isArray_1=isArray$f,freeGlobal$1=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,_freeGlobal=freeGlobal$1,freeGlobal=_freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root$9=freeGlobal||freeSelf||Function("return this")(),_root=root$9,root$8=_root,Symbol$7=root$8.Symbol,_Symbol=Symbol$7,Symbol$6=_Symbol,objectProto$c=Object.prototype,hasOwnProperty$a=objectProto$c.hasOwnProperty,nativeObjectToString$1=objectProto$c.toString,symToStringTag$1=Symbol$6?Symbol$6.toStringTag:void 0;function getRawTag$1(_){var j=hasOwnProperty$a.call(_,symToStringTag$1),et=_[symToStringTag$1];try{_[symToStringTag$1]=void 0;var tt=!0}catch{}var rt=nativeObjectToString$1.call(_);return tt&&(j?_[symToStringTag$1]=et:delete _[symToStringTag$1]),rt}var _getRawTag=getRawTag$1,objectProto$b=Object.prototype,nativeObjectToString=objectProto$b.toString;function objectToString$1(_){return nativeObjectToString.call(_)}var _objectToString=objectToString$1,Symbol$5=_Symbol,getRawTag=_getRawTag,objectToString=_objectToString,nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$5?Symbol$5.toStringTag:void 0;function baseGetTag$9(_){return _==null?_===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(_)?getRawTag(_):objectToString(_)}var _baseGetTag=baseGetTag$9;function isObjectLike$9(_){return _!=null&&typeof _=="object"}var isObjectLike_1=isObjectLike$9,baseGetTag$8=_baseGetTag,isObjectLike$8=isObjectLike_1,symbolTag$1="[object Symbol]";function isSymbol$6(_){return typeof _=="symbol"||isObjectLike$8(_)&&baseGetTag$8(_)==symbolTag$1}var isSymbol_1=isSymbol$6,isArray$e=isArray_1,isSymbol$5=isSymbol_1,reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey$3(_,j){if(isArray$e(_))return!1;var et=typeof _;return et=="number"||et=="symbol"||et=="boolean"||_==null||isSymbol$5(_)?!0:reIsPlainProp.test(_)||!reIsDeepProp.test(_)||j!=null&&_ in Object(j)}var _isKey=isKey$3;function isObject$7(_){var j=typeof _;return _!=null&&(j=="object"||j=="function")}var isObject_1=isObject$7;const isObject$8=getDefaultExportFromCjs(isObject_1);var baseGetTag$7=_baseGetTag,isObject$6=isObject_1,asyncTag="[object AsyncFunction]",funcTag$1="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$2(_){if(!isObject$6(_))return!1;var j=baseGetTag$7(_);return j==funcTag$1||j==genTag||j==asyncTag||j==proxyTag}var isFunction_1=isFunction$2;const isFunction$3=getDefaultExportFromCjs(isFunction_1);var root$7=_root,coreJsData$1=root$7["__core-js_shared__"],_coreJsData=coreJsData$1,coreJsData=_coreJsData,maskSrcKey=function(){var _=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return _?"Symbol(src)_1."+_:""}();function isMasked$1(_){return!!maskSrcKey&&maskSrcKey in _}var _isMasked=isMasked$1,funcProto$2=Function.prototype,funcToString$2=funcProto$2.toString;function toSource$2(_){if(_!=null){try{return funcToString$2.call(_)}catch{}try{return _+""}catch{}}return""}var _toSource=toSource$2,isFunction$1=isFunction_1,isMasked=_isMasked,isObject$5=isObject_1,toSource$1=_toSource,reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$1=Function.prototype,objectProto$a=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$9=objectProto$a.hasOwnProperty,reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$9).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative$1(_){if(!isObject$5(_)||isMasked(_))return!1;var j=isFunction$1(_)?reIsNative:reIsHostCtor;return j.test(toSource$1(_))}var _baseIsNative=baseIsNative$1;function getValue$1(_,j){return _==null?void 0:_[j]}var _getValue=getValue$1,baseIsNative=_baseIsNative,getValue=_getValue;function getNative$7(_,j){var et=getValue(_,j);return baseIsNative(et)?et:void 0}var _getNative=getNative$7,getNative$6=_getNative,nativeCreate$4=getNative$6(Object,"create"),_nativeCreate=nativeCreate$4,nativeCreate$3=_nativeCreate;function hashClear$1(){this.__data__=nativeCreate$3?nativeCreate$3(null):{},this.size=0}var _hashClear=hashClear$1;function hashDelete$1(_){var j=this.has(_)&&delete this.__data__[_];return this.size-=j?1:0,j}var _hashDelete=hashDelete$1,nativeCreate$2=_nativeCreate,HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$9=Object.prototype,hasOwnProperty$8=objectProto$9.hasOwnProperty;function hashGet$1(_){var j=this.__data__;if(nativeCreate$2){var et=j[_];return et===HASH_UNDEFINED$2?void 0:et}return hasOwnProperty$8.call(j,_)?j[_]:void 0}var _hashGet=hashGet$1,nativeCreate$1=_nativeCreate,objectProto$8=Object.prototype,hasOwnProperty$7=objectProto$8.hasOwnProperty;function hashHas$1(_){var j=this.__data__;return nativeCreate$1?j[_]!==void 0:hasOwnProperty$7.call(j,_)}var _hashHas=hashHas$1,nativeCreate=_nativeCreate,HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet$1(_,j){var et=this.__data__;return this.size+=this.has(_)?0:1,et[_]=nativeCreate&&j===void 0?HASH_UNDEFINED$1:j,this}var _hashSet=hashSet$1,hashClear=_hashClear,hashDelete=_hashDelete,hashGet=_hashGet,hashHas=_hashHas,hashSet=_hashSet;function Hash$1(_){var j=-1,et=_==null?0:_.length;for(this.clear();++j<et;){var tt=_[j];this.set(tt[0],tt[1])}}Hash$1.prototype.clear=hashClear;Hash$1.prototype.delete=hashDelete;Hash$1.prototype.get=hashGet;Hash$1.prototype.has=hashHas;Hash$1.prototype.set=hashSet;var _Hash=Hash$1;function listCacheClear$1(){this.__data__=[],this.size=0}var _listCacheClear=listCacheClear$1;function eq$3(_,j){return _===j||_!==_&&j!==j}var eq_1=eq$3,eq$2=eq_1;function assocIndexOf$4(_,j){for(var et=_.length;et--;)if(eq$2(_[et][0],j))return et;return-1}var _assocIndexOf=assocIndexOf$4,assocIndexOf$3=_assocIndexOf,arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete$1(_){var j=this.__data__,et=assocIndexOf$3(j,_);if(et<0)return!1;var tt=j.length-1;return et==tt?j.pop():splice.call(j,et,1),--this.size,!0}var _listCacheDelete=listCacheDelete$1,assocIndexOf$2=_assocIndexOf;function listCacheGet$1(_){var j=this.__data__,et=assocIndexOf$2(j,_);return et<0?void 0:j[et][1]}var _listCacheGet=listCacheGet$1,assocIndexOf$1=_assocIndexOf;function listCacheHas$1(_){return assocIndexOf$1(this.__data__,_)>-1}var _listCacheHas=listCacheHas$1,assocIndexOf=_assocIndexOf;function listCacheSet$1(_,j){var et=this.__data__,tt=assocIndexOf(et,_);return tt<0?(++this.size,et.push([_,j])):et[tt][1]=j,this}var _listCacheSet=listCacheSet$1,listCacheClear=_listCacheClear,listCacheDelete=_listCacheDelete,listCacheGet=_listCacheGet,listCacheHas=_listCacheHas,listCacheSet=_listCacheSet;function ListCache$4(_){var j=-1,et=_==null?0:_.length;for(this.clear();++j<et;){var tt=_[j];this.set(tt[0],tt[1])}}ListCache$4.prototype.clear=listCacheClear;ListCache$4.prototype.delete=listCacheDelete;ListCache$4.prototype.get=listCacheGet;ListCache$4.prototype.has=listCacheHas;ListCache$4.prototype.set=listCacheSet;var _ListCache=ListCache$4,getNative$5=_getNative,root$6=_root,Map$4=getNative$5(root$6,"Map"),_Map=Map$4,Hash=_Hash,ListCache$3=_ListCache,Map$3=_Map;function mapCacheClear$1(){this.size=0,this.__data__={hash:new Hash,map:new(Map$3||ListCache$3),string:new Hash}}var _mapCacheClear=mapCacheClear$1;function isKeyable$1(_){var j=typeof _;return j=="string"||j=="number"||j=="symbol"||j=="boolean"?_!=="__proto__":_===null}var _isKeyable=isKeyable$1,isKeyable=_isKeyable;function getMapData$4(_,j){var et=_.__data__;return isKeyable(j)?et[typeof j=="string"?"string":"hash"]:et.map}var _getMapData=getMapData$4,getMapData$3=_getMapData;function mapCacheDelete$1(_){var j=getMapData$3(this,_).delete(_);return this.size-=j?1:0,j}var _mapCacheDelete=mapCacheDelete$1,getMapData$2=_getMapData;function mapCacheGet$1(_){return getMapData$2(this,_).get(_)}var _mapCacheGet=mapCacheGet$1,getMapData$1=_getMapData;function mapCacheHas$1(_){return getMapData$1(this,_).has(_)}var _mapCacheHas=mapCacheHas$1,getMapData=_getMapData;function mapCacheSet$1(_,j){var et=getMapData(this,_),tt=et.size;return et.set(_,j),this.size+=et.size==tt?0:1,this}var _mapCacheSet=mapCacheSet$1,mapCacheClear=_mapCacheClear,mapCacheDelete=_mapCacheDelete,mapCacheGet=_mapCacheGet,mapCacheHas=_mapCacheHas,mapCacheSet=_mapCacheSet;function MapCache$3(_){var j=-1,et=_==null?0:_.length;for(this.clear();++j<et;){var tt=_[j];this.set(tt[0],tt[1])}}MapCache$3.prototype.clear=mapCacheClear;MapCache$3.prototype.delete=mapCacheDelete;MapCache$3.prototype.get=mapCacheGet;MapCache$3.prototype.has=mapCacheHas;MapCache$3.prototype.set=mapCacheSet;var _MapCache=MapCache$3,MapCache$2=_MapCache,FUNC_ERROR_TEXT$2="Expected a function";function memoize$2(_,j){if(typeof _!="function"||j!=null&&typeof j!="function")throw new TypeError(FUNC_ERROR_TEXT$2);var et=function(){var tt=arguments,rt=j?j.apply(this,tt):tt[0],nt=et.cache;if(nt.has(rt))return nt.get(rt);var it=_.apply(this,tt);return et.cache=nt.set(rt,it)||nt,it};return et.cache=new(memoize$2.Cache||MapCache$2),et}memoize$2.Cache=MapCache$2;var memoize_1=memoize$2;
854const memoize$3=getDefaultExportFromCjs(memoize_1);var memoize$1=memoize_1,MAX_MEMOIZE_SIZE=500;function memoizeCapped$1(_){var j=memoize$1(_,function(tt){return et.size===MAX_MEMOIZE_SIZE&&et.clear(),tt}),et=j.cache;return j}var _memoizeCapped=memoizeCapped$1,memoizeCapped=_memoizeCapped,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath$1=memoizeCapped(function(_){var j=[];return _.charCodeAt(0)===46&&j.push(""),_.replace(rePropName,function(et,tt,rt,nt){j.push(rt?nt.replace(reEscapeChar,"$1"):tt||et)}),j}),_stringToPath=stringToPath$1;function arrayMap$3(_,j){for(var et=-1,tt=_==null?0:_.length,rt=Array(tt);++et<tt;)rt[et]=j(_[et],et,_);return rt}var _arrayMap=arrayMap$3,Symbol$4=_Symbol,arrayMap$2=_arrayMap,isArray$d=isArray_1,isSymbol$4=isSymbol_1,INFINITY$3=1/0,symbolProto$1=Symbol$4?Symbol$4.prototype:void 0,symbolToString=symbolProto$1?symbolProto$1.toString:void 0;function baseToString$1(_){if(typeof _=="string")return _;if(isArray$d(_))return arrayMap$2(_,baseToString$1)+"";if(isSymbol$4(_))return symbolToString?symbolToString.call(_):"";var j=_+"";return j=="0"&&1/_==-INFINITY$3?"-0":j}var _baseToString=baseToString$1,baseToString=_baseToString;function toString$3(_){return _==null?"":baseToString(_)}var toString_1=toString$3,isArray$c=isArray_1,isKey$2=_isKey,stringToPath=_stringToPath,toString$2=toString_1;function castPath$2(_,j){return isArray$c(_)?_:isKey$2(_,j)?[_]:stringToPath(toString$2(_))}var _castPath=castPath$2,isSymbol$3=isSymbol_1,INFINITY$2=1/0;function toKey$4(_){if(typeof _=="string"||isSymbol$3(_))return _;var j=_+"";return j=="0"&&1/_==-INFINITY$2?"-0":j}var _toKey=toKey$4,castPath$1=_castPath,toKey$3=_toKey;function baseGet$3(_,j){j=castPath$1(j,_);for(var et=0,tt=j.length;_!=null&&et<tt;)_=_[toKey$3(j[et++])];return et&&et==tt?_:void 0}var _baseGet=baseGet$3,baseGet$2=_baseGet;function get$1(_,j,et){var tt=_==null?void 0:baseGet$2(_,j);return tt===void 0?et:tt}var get_1=get$1;const get$2=getDefaultExportFromCjs(get_1);function isNil(_){return _==null}var isNil_1=isNil;const isNil$1=getDefaultExportFromCjs(isNil_1);var baseGetTag$6=_baseGetTag,isArray$b=isArray_1,isObjectLike$7=isObjectLike_1,stringTag$2="[object String]";function isString(_){return typeof _=="string"||!isArray$b(_)&&isObjectLike$7(_)&&baseGetTag$6(_)==stringTag$2}var isString_1=isString;const isString$1=getDefaultExportFromCjs(isString_1);var reactIs={exports:{}},reactIs_production_min={};/** 855 * @license React 856 * react-is.production.min.js 857 * 858 * Copyright (c) Facebook, Inc. and its affiliates. 859 * 860 * This source code is licensed under the MIT license found in the 861 * LICENSE file in the root directory of this source tree. 862 */var b=Symbol.for("react.element"),c$1=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),e=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),h=Symbol.for("react.context"),k$1=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),n=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),t=Symbol.for("react.offscreen"),u;u=Symbol.for("react.module.reference");function v(_){if(typeof _=="object"&&_!==null){var j=_.$$typeof;switch(j){case b:switch(_=_.type,_){case d:case f:case e:case m:case n:return _;default:switch(_=_&&_.$$typeof,_){case k$1:case h:case l:case q:case p:case g:return _;default:return j}}case c$1:return j}}}reactIs_production_min.ContextConsumer=h;reactIs_production_min.ContextProvider=g;reactIs_production_min.Element=b;reactIs_production_min.ForwardRef=l;reactIs_production_min.Fragment=d;reactIs_production_min.Lazy=q;reactIs_production_min.Memo=p;reactIs_production_min.Portal=c$1;reactIs_production_min.Profiler=f;reactIs_production_min.StrictMode=e;reactIs_production_min.Suspense=m;reactIs_production_min.SuspenseList=n;reactIs_production_min.isAsyncMode=function(){return!1};reactIs_production_min.isConcurrentMode=function(){return!1};reactIs_production_min.isContextConsumer=function(_){return v(_)===h};reactIs_production_min.isContextProvider=function(_){return v(_)===g};reactIs_production_min.isElement=function(_){return typeof _=="object"&&_!==null&&_.$$typeof===b};reactIs_production_min.isForwardRef=function(_){return v(_)===l};reactIs_production_min.isFragment=function(_){return v(_)===d};reactIs_production_min.isLazy=function(_){return v(_)===q};reactIs_production_min.isMemo=function(_){return v(_)===p};reactIs_production_min.isPortal=function(_){return v(_)===c$1};reactIs_production_min.isProfiler=function(_){return v(_)===f};reactIs_production_min.isStrictMode=function(_){return v(_)===e};reactIs_production_min.isSuspense=function(_){return v(_)===m};reactIs_production_min.isSuspenseList=function(_){return v(_)===n};reactIs_production_min.isValidElementType=function(_){return typeof _=="string"||typeof _=="function"||_===d||_===f||_===e||_===m||_===n||_===t||typeof _=="object"&&_!==null&&(_.$$typeof===q||_.$$typeof===p||_.$$typeof===g||_.$$typeof===h||_.$$typeof===l||_.$$typeof===u||_.getModuleId!==void 0)};reactIs_production_min.typeOf=v;reactIs.exports=reactIs_production_min;var reactIsExports=reactIs.exports,baseGetTag$5=_baseGetTag,isObjectLike$6=isObjectLike_1,numberTag$2="[object Number]";function isNumber$2(_){return typeof _=="number"||isObjectLike$6(_)&&baseGetTag$5(_)==numberTag$2}var isNumber_1=isNumber$2;const isNumber$3=getDefaultExportFromCjs(isNumber_1);var isNumber$1=isNumber_1;function isNaN$1(_){return isNumber$1(_)&&_!=+_}var _isNaN=isNaN$1;const isNan=getDefaultExportFromCjs(_isNaN);var mathSign=function _(j){return j===0?0:j>0?1:-1},isPercent=function _(j){return isString$1(j)&&j.indexOf("%")===j.length-1},isNumber=function _(j){return isNumber$3(j)&&!isNan(j)},isNullish=function _(j){return isNil$1(j)},isNumOrStr=function _(j){return isNumber(j)||isString$1(j)},idCounter=0,uniqueId=function _(j){var et=++idCounter;return"".concat(j||"").concat(et)},getPercentValue=function _(j,et){var tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,rt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!isNumber(j)&&!isString$1(j))return tt;var nt;if(isPercent(j)){var it=j.indexOf("%");nt=et*parseFloat(j.slice(0,it))/100}else nt=+j;return isNan(nt)&&(nt=tt),rt&&nt>et&&(nt=et),nt},getAnyElementOfObject=function _(j){if(!j)return null;var et=Object.keys(j);return et&&et.length?j[et[0]]:null},hasDuplicate=function _(j){if(!Array.isArray(j))return!1;for(var et=j.length,tt={},rt=0;rt<et;rt++)if(!tt[j[rt]])tt[j[rt]]=!0;else return!0;return!1},interpolateNumber$2=function _(j,et){return isNumber(j)&&isNumber(et)?function(tt){return j+tt*(et-j)}:function(){return et}};function findEntryInArray(_,j,et){return!_||!_.length?null:_.find(function(tt){return tt&&(typeof j=="function"?j(tt):get$2(tt,j))===et})}var compareValues=function _(j,et){return isNumber(j)&&isNumber(et)?j-et:isString$1(j)&&isString$1(et)?j.localeCompare(et):j instanceof Date&&et instanceof Date?j.getTime()-et.getTime():String(j).localeCompare(String(et))};function shallowEqual(_,j){for(var et in _)if({}.hasOwnProperty.call(_,et)&&(!{}.hasOwnProperty.call(j,et)||_[et]!==j[et]))return!1;for(var tt in j)if({}.hasOwnProperty.call(j,tt)&&!{}.hasOwnProperty.call(_,tt))return!1;return!0}function _typeof$L(_){"@babel/helpers - typeof";return _typeof$L=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$L(_)}var SVGContainerPropKeys=["viewBox","children"],SVGElementPropKeys=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRen
862dering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],PolyElementKeys=["points","pathLength"],FilteredElementKeyMap={svg:SVGContainerPropKeys,polygon:PolyElementKeys,polyline:PolyElementKeys},EventKeys=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxCl
862ick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],adaptEventHandlers=function _(j,et){if(!j||typeof j=="function"||typeof j=="boolean")return null;var tt=j;if(reactExports.isValidElement(j)&&(tt=j.props),!isObject$8(tt))return null;var rt={};return Object.keys(tt).forEach(function(nt){EventKeys.includes(nt)&&(rt[nt]=et||function(it){return tt[nt](tt,it)})}),rt},getEventHandlerOfChild=function _(j,et,tt){return function(rt){return j(et,tt,rt),null}},adaptEventsOfChild=function _(j,et,tt){if(!isObject$8(j)||_typeof$L(j)!=="object")return null;var rt=null;return Object.keys(j).forEach(function(nt){var it=j[nt];EventKeys.includes(nt)&&typeof it=="function"&&(rt||(rt={}),rt[nt]=getEventHandlerOfChild(it,et,tt))}),rt},_excluded$j=["children"],_excluded2$7=["children"];function _objectWithoutProperties$j(_,j){if(_==null)return{};var et=_objectWithoutPropertiesLoose$j(_,j),tt,rt;if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(rt=0;rt<nt.length;rt++)tt=nt[rt],!(j.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(_,tt)&&(et[tt]=_[tt])}return et}function _objectWithoutPropertiesLoose$j(_,j){if(_==null)return{};var et={};for(var tt in _)if(Object.prototype.hasOwnProperty.call(_,tt)){if(j.indexOf(tt)>=0)continue;et[tt]=_[tt]}return et}function _typeof$K(_){"@babel/helpers - typeof";return _typeof$K=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$K(_)}var REACT_BROWSER_EVENT_MAP={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"},getDisplayName=function _(j){return typeof j=="string"?j:j?j.displayName||j.name||"Component":""},lastChildren=null,lastResult=null,toArray=function _(j){if(j===lastChildren&&Array.isArray(lastResult))return lastResult;var et=[];return reactExports.Children.forEach(j,function(tt){isNil$1(tt)||(reactIsExports.isFragment(tt)?et=et.concat(_(tt.props.children)):et.push(tt))}),lastResult=et,lastChildren=j,et};function findAllByType(_,j){var et=[],tt=[];return Array.isArray(j)?tt=j.map(function(rt){return getDisplayName(rt)}):tt=[getDisplayName(j)],toArray(_).forEach(function(rt){var nt=get$2(rt,"type.displayName")||get$2(rt,"type.name");tt.indexOf(nt)!==-1&&et.push(rt)}),et}function findChildByType(_,j){var et=findAllByType(_,j);return et&&et[0]}var validateWidthHeight=function _(j){if(!j||!j.props)return!1;var et=j.props,tt=et.width,rt=et.height;return!(!isNumber(tt)||tt<=0||!isNumber(rt)||rt<=0)},SVG_TAGS=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],isSvgElement=function _(j){return j&&j.type&&isString$1(j.type)&&SVG_TAGS.indexOf(j.type)>=0},hasClipDot=function _(j){return j&&_typeof$K(j)==="object"&&"clipDot"in j},isValidSpreadableProp=function _(j,et,tt,rt){var nt,it=(nt=FilteredElementKeyMap==null?void 0:FilteredElementKeyMap[rt])!==null&&nt!==void 0?nt:[];return et.startsWith("data-")||!isFunction$3(j)&&(rt&&it.includes(et)||SVGElementPropKeys.includes(et))||tt&&EventKeys.includes(et)},filterProps=function _(j,et,tt){if(!j||typeof j=="function"||typeof j=="boolean")return null;var rt=j;if(reactExports.isValidElement(j)&&(rt=j.props),!isObject$8(rt))return null;var nt={};return Object.keys(rt).forEach(function(it){var st;isValidSpreadableProp((st=rt)===null||st===void 0?void 0:st[it],it,et,tt)&&(nt[it]=rt[it])}),nt},isChildrenEqual=function _(j,et){if(j===et)return!0;var tt=reactExports.Children.count(j);if(tt!==reactExports.Children.count(et))return!1;if(tt===0)return!0;
vendor: 4,108 bytes, line 862
862if(tt===1)return isSingleChildEqual(Array.isArray(j)?j[0]:j,Array.isArray(et)?et[0]:et);for(var rt=0;rt<tt;rt++){var nt=j[rt],it=et[rt];if(Array.isArray(nt)||Array.isArray(it)){if(!_(nt,it))return!1}else if(!isSingleChildEqual(nt,it))return!1}return!0},isSingleChildEqual=function _(j,et){if(isNil$1(j)&&isNil$1(et))return!0;if(!isNil$1(j)&&!isNil$1(et)){var tt=j.props||{},rt=tt.children,nt=_objectWithoutProperties$j(tt,_excluded$j),it=et.props||{},st=it.children,at=_objectWithoutProperties$j(it,_excluded2$7);return rt&&st?shallowEqual(nt,at)&&isChildrenEqual(rt,st):!rt&&!st?shallowEqual(nt,at):!1}return!1},renderByOrder=function _(j,et){var tt=[],rt={};return toArray(j).forEach(function(nt,it){if(isSvgElement(nt))tt.push(nt);else if(nt){var st=getDisplayName(nt.type),at=et[st]||{},ot=at.handler,lt=at.once;if(ot&&(!lt||!rt[st])){var ct=ot(nt,st,it);tt.push(ct),rt[st]=!0}}}),tt},getReactEventByType=function _(j){var et=j&&j.type;return et&&REACT_BROWSER_EVENT_MAP[et]?REACT_BROWSER_EVENT_MAP[et]:null},parseChildIndex=function _(j,et){return toArray(et).indexOf(j)},_excluded$i=["children","width","height","viewBox","className","style","title","desc"];function _extends$u(){return _extends$u=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$u.apply(this,arguments)}function _objectWithoutProperties$i(_,j){if(_==null)return{};var et=_objectWithoutPropertiesLoose$i(_,j),tt,rt;if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(rt=0;rt<nt.length;rt++)tt=nt[rt],!(j.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(_,tt)&&(et[tt]=_[tt])}return et}function _objectWithoutPropertiesLoose$i(_,j){if(_==null)return{};var et={};for(var tt in _)if(Object.prototype.hasOwnProperty.call(_,tt)){if(j.indexOf(tt)>=0)continue;et[tt]=_[tt]}return et}function Surface(_){var j=_.children,et=_.width,tt=_.height,rt=_.viewBox,nt=_.className,it=_.style,st=_.title,at=_.desc,ot=_objectWithoutProperties$i(_,_excluded$i),lt=rt||{width:et,height:tt,x:0,y:0},ct=clsx("recharts-surface",nt);return React$1.createElement("svg",_extends$u({},filterProps(ot,!0,"svg"),{className:ct,width:et,height:tt,style:it,viewBox:"".concat(lt.x," ").concat(lt.y," ").concat(lt.width," ").concat(lt.height)}),React$1.createElement("title",null,st),React$1.createElement("desc",null,at),j)}var _excluded$h=["children","className"];function _extends$t(){return _extends$t=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$t.apply(this,arguments)}function _objectWithoutProperties$h(_,j){if(_==null)return{};var et=_objectWithoutPropertiesLoose$h(_,j),tt,rt;if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(rt=0;rt<nt.length;rt++)tt=nt[rt],!(j.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(_,tt)&&(et[tt]=_[tt])}return et}function _objectWithoutPropertiesLoose$h(_,j){if(_==null)return{};var et={};for(var tt in _)if(Object.prototype.hasOwnProperty.call(_,tt)){if(j.indexOf(tt)>=0)continue;et[tt]=_[tt]}return et}var Layer=React$1.forwardRef(function(_,j){var et=_.children,tt=_.className,rt=_objectWithoutProperties$h(_,_excluded$h),nt=clsx("recharts-layer",tt);return React$1.createElement("g",_extends$t({className:nt},filterProps(rt,!0),{ref:j}),et)}),warn=function _(j,et){for(var tt=arguments.length,rt=new Array(tt>2?tt-2:0),nt=2;nt<tt;nt++)rt[nt-2]=arguments[nt]};function baseSlice$1(_,j,et){var tt=-1,rt=_.length;j<0&&(j=-j>rt?0:rt+j),et=et>rt?rt:et,et<0&&(et+=rt),rt=j>et?0:et-j>>>0,j>>>=0;for(var nt=Array(rt);++tt<rt;)nt[tt]=_[tt+j];return nt}var _baseSlice=baseSlice$1,baseSlice=_baseSlice;function castSlice$1(_,j,et){var tt=_.length;return et=et===void 0?tt:et,!j&&et>=tt?_:baseSlice(_,j,et)}var _castSlice=castSlice$1,rsAstralRange$1="\\ud800-\\udfff",rsComboMarksRange$1="\\u0300-\\u036f",reComboHalfMarksRange$1="\\ufe20-\\ufe2f",rsComboSymbol
862sRange$1="\\u20d0-\\u20ff",rsComboRange$1=rsComboMarksRange$1+reComboHalfMarksRange$1+rsComboSymbolsRange$1,rsVarRange$1="\\ufe0e\\ufe0f",rsZWJ$1="\\u200d",reHasUnicode=RegExp("["+rsZWJ$1+rsAstralRange$1+rsComboRange$1+rsVarRange$1+"]");function hasUnicode$2(_){return reHasUnicode.test(_)}var _hasUnicode=hasUnicode$2;function asciiToArray$1(_){return _.split("")}var _asciiToArray=asciiToArray$1,rsAstralRange="\\ud800-\\udfff",rsComboMarksRange="\\u0300-\\u036f",reComboHalfMarksRange="\\ufe20-\\ufe2f",rsComboSymbolsRange="\\u20d0-\\u20ff",rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsVarRange="\\ufe0e\\ufe0f",rsAstral="["+rsAstralRange+"]",rsCombo="["+rsComboRange+"]",rsFitz="\\ud83c[\\udffb-\\udfff]",rsModifier="(?:"+rsCombo+"|"+rsFitz+")",rsNonAstral="[^"+rsAstralRange+"]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",rsZWJ="\\u200d",reOptMod=rsModifier+"?",rsOptVar="["+rsVarRange+"]?",rsOptJoin="(?:"+rsZWJ+"(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")"+rsOptVar+reOptMod+")*",rsSeq=rsOptVar+reOptMod+rsOptJoin,rsSymbol="(?:"+[rsNonAstral+rsCombo+"?",rsCombo,rsRegional,rsSurrPair,rsAstral].join("|")+")",reUnicode=RegExp(rsFitz+"(?="+rsFitz+")|"+rsSymbol+rsSeq,"g");function unicodeToArray$1(_){return _.match(reUnicode)||[]}var _unicodeToArray=unicodeToArray$1,asciiToArray=_asciiToArray,hasUnicode$1=_hasUnicode,unicodeToArray=_unicodeToArray;function stringToArray$1(_){return hasUnicode$1(_)?unicodeToArray(_):asciiToArray(_)}var _stringToArray=stringToArray$1,castSlice=_castSlice,hasUnicode=_hasUnicode,stringToArray=_stringToArray,toString$1=toString_1;function createCaseFirst$1(_){return function(j){j=toString$1(j);var et=hasUnicode(j)?stringToArray(j):void 0,tt=et?et[0]:j.charAt(0),rt=et?castSlice(et,1).join(""):j.slice(1);return tt[_]()+rt}}var _createCaseFirst=createCaseFirst$1,createCaseFirst=_createCaseFirst,upperFirst=createCaseFirst("toUpperCase"),upperFirst_1=upperFirst;const upperFirst$1=getDefaultExportFromCjs(upperFirst_1);function constant$3(_){return function(){return _}}const cos=Math.cos,sin=Math.sin,sqrt$1=Math.sqrt,pi$1=Math.PI,tau$1=2*pi$1,pi=Math.PI,tau=2*pi,epsilon=1e-6,tauEpsilon=tau-epsilon;function append(_){this._+=_[0];for(let j=1,et=_.length;j<et;++j)this._+=arguments[j]+_[j]}
862function appendRound(_){let j=Math.floor(_);if(!(j>=0))throw new Error(`invalid digits: ${_}`);if(j>15)return append;const et=10**j;return function(tt){this._+=tt[0];for(let rt=1,nt=tt.length;rt<nt;++rt)this._+=Math.round(arguments[rt]*et)/et+tt[rt]}}class Path{constructor(j){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=j==null?append:appendRound(j)}moveTo(j,et){this._append`M${this._x0=this._x1=+j},${this._y0=this._y1=+et}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(j,et){this._append`L${this._x1=+j},${this._y1=+et}`}quadraticCurveTo(j,et,tt,rt){this._append`Q${+j},${+et},${this._x1=+tt},${this._y1=+rt}`}bezierCurveTo(j,et,tt,rt,nt,it){this._append`C${+j},${+et},${+tt},${+rt},${this._x1=+nt},${this._y1=+it}`}arcTo(j,et,tt,rt,nt){if(j=+j,et=+et,tt=+tt,rt=+rt,nt=+nt,nt<0)throw new Error(`negative radius: ${nt}`);let it=this._x1,st=this._y1,at=tt-j,ot=rt-et,lt=it-j,ct=st-et,ut=lt*lt+ct*ct;if(this._x1===null)this._append`M${this._x1=j},${this._y1=et}`;else if(ut>epsilon)if(!(Math.abs(ct*at-ot*lt)>epsilon)||!nt)this._append`L${this._x1=j},${this._y1=et}`;else{let dt=tt-it,ht=rt-st,pt=at*at+ot*ot,gt=dt*dt+ht*ht,ft=Math.sqrt(pt),mt=Math.sqrt(ut),xt=nt*Math.tan((pi-Math.acos((pt+ut-gt)/(2*ft*mt)))/2),yt=xt/mt,vt=xt/ft;Math.abs(yt-1)>epsilon&&this._append`L${j+yt*lt},${et+yt*ct}`,this._append`A${nt},${nt},0,0,${+(ct*dt>lt*ht)},${this._x1=j+vt*at},${this._y1=et+vt*ot}`}}arc(j,et,tt,rt,nt,it){if(j=+j,et=+et,tt=+tt,it=!!it,tt<0)throw new Error(`negative radius: ${tt}`);let st=tt*Math.cos(rt),at=tt*Math.sin(rt),ot=j+st,lt=et+at,ct=1^it,ut=it?rt-nt:nt-rt;this._x1===null?this._append`M${ot},${lt}`:(Math.abs(this._x1-ot)>epsilon||Math.abs(this._y1-lt)>epsilon)&&this._append`L${ot},${lt}`,tt&&(ut<0&&(ut=ut%tau+tau),ut>tauEpsilon?this._append`A${tt},${tt},0,1,${ct},${j-st},${et-at}A${tt},${tt},0,1,${ct},${this._x1=ot},${this._y1=lt}`:ut>epsilon&&this._append`A${tt},${tt},0,${+(ut>=pi)},${ct},${this._x1=j+tt*Math.cos(nt)},${this._y1=et+tt*Math.sin(nt)}`)}rect(j,et,tt,rt){this._append`M${this._x0=this._x1=+j},${this._y0=this._y1=+et}h${tt=+tt}v${+rt}h${-tt}Z`}toString(){return this._}}function withPath(_){let j=3;return _.digits=function(et){if(!arguments.length)return j;if(et==null)j=null;else{const tt=Math.floor(et);if(!(tt>=0))throw new RangeError(`invalid digits: ${et}`);j=tt}return _},()=>new Path(j)}function array(_){return typeof _=="object"&&"length"in _?_:Array.from(_)}function Linear(_){this._context=_}Linear.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(_,j){switch(_=+_,j=+j,this._point){case 0:this._point=1,this._line?this._context.lineTo(_,j):this._context.moveTo(_,j);break;case 1:this._point=2;default:this._context.lineTo(_,j);break}}};function curveLinear(_){return new Linear(_)}function x(_){return _[0]}function y(_){return _[1]}function shapeLine(_,j){var et=constant$3(!0),tt=null,rt=curveLinear,nt=null,it=withPath(st);_=typeof _=="function"?_:_===void 0?x:constant$3(_),j=typeof j=="function"?j:j===void 0?y:constant$3(j);function st(at){var ot,lt=(at=array(at)).length,ct,ut=!1,dt;for(tt==null&&(nt=rt(dt=it())),ot=0;ot<=lt;++ot)!(ot<lt&&et(ct=at[ot],ot,at))===ut&&((ut=!ut)?nt.lineStart():nt.lineEnd()),ut&&nt.point(+_(ct,ot,at),+j(ct,ot,at));if(dt)return nt=null,dt+""||null}return st.x=function(at){return arguments.length?(_=typeof at=="function"?at:constant$3(+at),st):_},st.y=function(at){return arguments.length?(j=typeof at=="function"?at:constant$3(+at),st):j},st.defined=function(at){return arguments.length?(et=typeof at=="function"?at:constant$3(!!at),st):et},st.curve=function(at){return arguments.length?(rt=at,tt!=null&&(nt=rt(tt)),st):rt},st.context=function(at){return arguments.length?(at==null?tt=nt=null:nt=rt(tt=at),st):tt},st}function shapeArea(_,j,et){var tt=null,rt=constant$3(!0),nt=null,it=curveLinear,st=null,at=withPath(ot);_=typeof _=="function"?_:_===void 0?x:constant$3(+_),j=typeof j=="function"?j:constant$3(j===void 0?0:+j),et=typeof et=="function"?et:et===void 0?y:constant$3(+et);function ot(ct){var ut,dt,ht,pt=(ct=array(ct)).length,gt,ft=!1,mt,xt=new Array(pt),yt=new Array(pt);for(nt==null&&(st=it(mt=at())),ut=0;ut<=pt;++ut){if(!(ut<pt&&rt(gt=ct[ut],ut,ct))===ft)if(ft=!ft)dt=ut,st.areaStart(),st.lineStart();else{for(st.lineEnd(),st.lineStart(),ht=ut-1;ht>=dt;--ht)st.point(xt[ht],yt[ht]);st.lineEnd(),st.areaEnd()}ft&&(xt[ut]=+_(gt,ut,ct),yt[ut]=+j(gt,ut,ct),st.point(tt?+tt(gt,ut,ct):xt[ut],et?+et(gt,ut,ct):yt[ut]))}if(mt)return st=null,mt+""||null}function lt(){return shapeLine().defined(rt).curve(it).context(nt)}return ot.x=function(ct){return arguments.length?(_=typeof ct=="function"?ct:constant$3(+ct),tt=null,ot):_},ot.x0=function(ct){return arguments.length?(_=typeof ct=="function"?ct:constant$3(+ct),ot):_},ot.x1=function(ct){return arguments.length?(tt=ct==null?null:typeof ct=="function"?ct:constant$3(+ct),ot):tt},ot.y=function(ct){return arguments.length?(j=typeof ct=="function"?ct:constant$3(+ct),et=null,ot):j},ot.y0=function(ct){return arguments.length?(j=typeof ct=="function"?ct:constant$3(+ct),ot):j},ot.y1=function(ct){return arguments.length?(et=ct==null?null:typeof ct=="function"?ct:constant$3(+ct),ot):et},ot.lineX0=ot.lineY0=function(){return lt().x(_).y(j)},ot.lineY1=function(){return lt().x(_).y(et)},ot.lineX1=function(){return lt().x(tt).y(j)},ot.defined=function(ct){return arguments.length?(rt=typeof ct=="function"?ct:constant$3(!!ct),ot):rt},ot.curve=function(ct){return arguments.length?(it=ct,nt!=null&&(st=it(nt)),ot):it},ot.context=function(ct){return arguments.length?(ct==null?nt=st=null:st=it(nt=ct),ot):nt},ot}class Bump{constructor(j,et){this._context=j,this._x=et}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(j,et){switch(j=+j,et=+et,this._point){case 0:{this._point=1,this._line?this._context.lineTo(j,et):this._context.moveTo(j,et);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+j)/2,this._y0,this._x0,et,j,et):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+et)/2,j,this._y0,j,et);break}}this._x0=j,this._y0=et}}function bumpX(_){return new Bump(_,!0)}function bumpY(_){return new Bump(_,!1)}const symbolCircle={draw(_,j){const et=sqrt$1(j/pi$1);_.moveTo(et,0),_.arc(0,0,et,0,tau$1)}},symbolCross={draw(_,j){const et=sqrt$1(j/5)/2;_.moveTo(-3*et,-et),_.lineTo(-et,-et),_.lineTo(-et,-3*et),_.lineTo(et,-3*et),_.lineTo(et,-et),_.lineTo(3*et,-et),_.lineTo(3*et,et),_.lineTo(et,et),_.lineTo(et,3*et),_.lineTo(-et,3*et),_.lineTo(-et,et),_.lineTo(-3*et,et),_.closePath()}},tan30=sqrt$1(1/3),tan30_2=tan30*2,symbolDiamond={draw(_,j){const et=sqrt$1(j/tan30_2),tt=et*tan30;_.moveTo(0,-et),_.lineTo(tt,0),_.lineTo(0,et),_.lineTo(-tt,0),_.closePath()}},symbolSquare={draw(_,j){const et=sqrt$1(j),tt=-et/2;_.rect(tt,tt,et,et)}},ka=.8908130915292852,kr=sin(pi$1/10)/sin(7*pi$1/10),kx=sin(tau$1/10)*kr,ky=-cos(tau$1/10)*kr,symbolStar={draw(_,j){const et=sqrt$1(j*ka),tt=kx*et,rt=ky*et;_.moveTo(0,-et),_.lineTo(tt,rt);for(let nt=1;nt<5;++nt){const it=tau$1*nt/5,st=cos(it),at=sin(it);_.lineTo(at*et,-st*et),_.lineTo(st*tt-at*rt,at*tt+st*rt)}_.closePath()}},sqrt3=sqrt$1(3),symbolTriangle={draw(_,j){const et=-sqrt$1(j/(sqrt3*3));_.moveTo(0,et*2),_.lineTo(-sqrt3*et,-et),_.lineTo(sqrt3*et,-et),_.closePath()}},c=-.5,s=sqrt$1(3)/2,k=1/sqrt$1(12),a=(k/2+1)*3,symbolWye={draw(_,j){const et=sqrt$1(j/a),tt=et/2,rt=et*k,nt=tt,it=et*k+et,st=-nt,at=it;_.moveTo(tt,rt),_.lineTo(nt,it),_.lineTo(st,at),_.lineTo(c*tt-s*rt,s*tt+c*rt),_.lineTo(c*nt-s*it,s*nt+c*it),_.lineTo(c*st-s*at,s*st+c*at),_.lineTo(c*tt+s*rt,c*rt-s*tt),_.lineTo(c*nt+s*it,c*it-s*nt),_.lineTo(c*st+s*at,c*at-s*st),_.closePath()}};function Symbol$3(_,j){let et=null,tt=withPath(rt);_=typeof _=="function"?_:constant$3(_||symbolCircle),j=typeof j=="function"?j:constant$3(j===void 0?64:+j);function rt(){let nt;if(et||(et=nt=tt()),_.apply(this,arguments).draw(et,+j.apply(this,arguments)),nt)return et=null,nt+""||null}return rt.type=function(nt){return arguments.length?(_=typeof nt=="function"?nt:constant$3(nt),rt):_},rt.size=function(nt){return arguments.length?(j=typeof nt=="function"?nt:constant$3(+nt),rt):j},rt.context=function(nt){return arguments.length?(et=nt??null,rt):et},rt}function noop$2(){}function point$2(_,j,et){_._context.bezierCurveTo((2*_._x0+_._x1)/3,(2*_._y0+_._y1)/3,(_._x0+2*_._x1)/3,(_._y0+2*_._y1)/3,(_._x0+4*_._x1+j)/6,(_._y0+4*_._y1+et)/6)}function Basis(_){this._context=_}Basis.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:point$2(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(_,j){switch(_=+_,j=+j,this._point){case 0:this._point=1,this._line?this._context.lineTo(_,j):this._context.moveTo(_,j);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:point$2(this,_,j);break}this._x0=this._x1,this._x1=_,this._y0=this._y1,this._y1=j}};function curveBasis(_){return new Basis(_)}function BasisClosed(_){this._context=_}BasisClosed.prototype={areaStart:noop$2,areaEnd:noop$2,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(_,j){switch(_=+_,j=+j,this._point){case 0:this._point=1,this._x2=_,this._y2=j;break;case 1:this._point=2,this._x3=_,this._y3=j;break;case 2:this._point=3,this._x4=_,this._y4=j,this._context.moveTo((this._x0+4*this._x1+_)/6,(this._y0+4*this._y1+j)/6);break;default:point$2(this,_,j);break}this._x0=this._x1,this._x1=_,this._y0=this._y1,this._y1=j}};function curveBasisClosed(_){return new BasisClosed(_)}function BasisOpen(_){this._context=_}BasisOpen.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(_,j){switch(_=+_,j=+j,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var et=(this._x0+4*this._x1+_)/6,tt=(this._y0+4*this._y1+j)/6;this._line?this._context.lineTo(et,tt):this._context.moveTo(et,tt);break;case 3:this._point=4;default:point$2(this,_,j);break}this._x0=this._x1,this._x1=_,this._y0=this._y1,this._y1=j}};function curveBasisOpen(_){return new BasisOpen(_)}function LinearClosed(_){this._context=_}LinearClosed.prototype={areaStart:noop$2,areaEnd:noop$2,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(_,j){_=+_,j=+j,this._point?this._context.lineTo(_,j):(this._point=1,this._context.moveTo(_,j))}};function curveLinearClosed(_){return new LinearClosed(_)}function sign(_){return _<0?-1:1}function slope3(_,j,et){var tt=_._x1-_._x0,rt=j-_._x1,nt=(_._y1-_._y0)/(tt||rt<0&&-0),it=(et-_._y1)/(rt||tt<0&&-0),st=(nt*rt+it*tt)/(tt+rt);
vendor: 4,387 bytes, line 862
862return(sign(nt)+sign(it))*Math.min(Math.abs(nt),Math.abs(it),.5*Math.abs(st))||0}function slope2(_,j){var et=_._x1-_._x0;return et?(3*(_._y1-_._y0)/et-j)/2:j}function point$1(_,j,et){var tt=_._x0,rt=_._y0,nt=_._x1,it=_._y1,st=(nt-tt)/3;_._context.bezierCurveTo(tt+st,rt+st*j,nt-st,it-st*et,nt,it)}function MonotoneX(_){this._context=_}MonotoneX.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:point$1(this,this._t0,slope2(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(_,j){var et=NaN;if(_=+_,j=+j,!(_===this._x1&&j===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(_,j):this._context.moveTo(_,j);break;case 1:this._point=2;break;case 2:this._point=3,point$1(this,slope2(this,et=slope3(this,_,j)),et);break;default:point$1(this,this._t0,et=slope3(this,_,j));break}this._x0=this._x1,this._x1=_,this._y0=this._y1,this._y1=j,this._t0=et}}};function MonotoneY(_){this._context=new ReflectContext(_)}(MonotoneY.prototype=Object.create(MonotoneX.prototype)).point=function(_,j){MonotoneX.prototype.point.call(this,j,_)};function ReflectContext(_){this._context=_}ReflectContext.prototype={moveTo:function(_,j){this._context.moveTo(j,_)},closePath:function(){this._context.closePath()},lineTo:function(_,j){this._context.lineTo(j,_)},bezierCurveTo:function(_,j,et,tt,rt,nt){this._context.bezierCurveTo(j,_,tt,et,nt,rt)}};function monotoneX(_){return new MonotoneX(_)}function monotoneY(_){return new MonotoneY(_)}function Natural(_){this._context=_}Natural.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var _=this._x,j=this._y,et=_.length;if(et)if(this._line?this._context.lineTo(_[0],j[0]):this._context.moveTo(_[0],j[0]),et===2)this._context.lineTo(_[1],j[1]);else for(var tt=controlPoints(_),rt=controlPoints(j),nt=0,it=1;it<et;++nt,++it)this._context.bezierCurveTo(tt[0][nt],rt[0][nt],tt[1][nt],rt[1][nt],_[it],j[it]);(this._line||this._line!==0&&et===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(_,j){this._x.push(+_),this._y.push(+j)}};function controlPoints(_){var j,et=_.length-1,tt,rt=new Array(et),nt=new Array(et),it=new Array(et);for(rt[0]=0,nt[0]=2,it[0]=_[0]+2*_[1],j=1;j<et-1;++j)rt[j]=1,nt[j]=4,it[j]=4*_[j]+2*_[j+1];for(rt[et-1]=2,nt[et-1]=7,it[et-1]=8*_[et-1]+_[et],j=1;j<et;++j)tt=rt[j]/nt[j-1],nt[j]-=tt,it[j]-=tt*it[j-1];for(rt[et-1]=it[et-1]/nt[et-1],j=et-2;j>=0;--j)rt[j]=(it[j]-rt[j+1])/nt[j];for(nt[et-1]=(_[et]+rt[et-1])/2,j=0;j<et-1;++j)nt[j]=2*_[j+1]-rt[j+1];return[rt,nt]}function curveNatural(_){return new Natural(_)}function Step(_,j){this._context=_,this._t=j}Step.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(_,j){switch(_=+_,j=+j,this._point){case 0:this._point=1,this._line?this._context.lineTo(_,j):this._context.moveTo(_,j);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,j),this._context.lineTo(_,j);else{var et=this._x*(1-this._t)+_*this._t;this._context.lineTo(et,this._y),this._context.lineTo(et,j)}break}}this._x=_,this._y=j}};function curveStep(_){return new Step(_,.5)}function stepBefore(_){return new Step(_,0)}function stepAfter(_){return new Step(_,1)}function stackOffsetNone(_,j){if((it=_.length)>1)for(var et=1,tt,rt,nt=_[j[0]],it,st=nt.length;et<it;++et)for(rt=nt,nt=_[j[et]],tt=0;tt<st;++tt)nt[tt][1]+=nt[tt][0]=isNaN(rt[tt][1])?rt[tt][0]:rt[tt][1]}function stackOrderNone(_){for(var j=_.length,et=new Array(j);--j>=0;)et[j]=j;return et}function stackValue(_,j){return _[j]}function stackSeries(_){const j=[];return j.key=_,j}function shapeStack(){var _=constant$3([]),j=stackOrderNone,et=stackOffsetNone,tt=stackValue;function rt(nt){var it=Array.from(_.apply(this,arguments),stackSeries
vendor: 9,942 bytes, lines 862-865
862),st,at=it.length,ot=-1,lt;for(const ct of nt)for(st=0,++ot;st<at;++st)(it[st][ot]=[0,+tt(ct,it[st].key,ot,nt)]).data=ct;for(st=0,lt=array(j(it));st<at;++st)it[lt[st]].index=st;return et(it,lt),it}return rt.keys=function(nt){return arguments.length?(_=typeof nt=="function"?nt:constant$3(Array.from(nt)),rt):_},rt.value=function(nt){return arguments.length?(tt=typeof nt=="function"?nt:constant$3(+nt),rt):tt},rt.order=function(nt){return arguments.length?(j=nt==null?stackOrderNone:typeof nt=="function"?nt:constant$3(Array.from(nt)),rt):j},rt.offset=function(nt){return arguments.length?(et=nt??stackOffsetNone,rt):et},rt}function stackOffsetExpand(_,j){if((tt=_.length)>0){for(var et,tt,rt=0,nt=_[0].length,it;rt<nt;++rt){for(it=et=0;et<tt;++et)it+=_[et][rt][1]||0;if(it)for(et=0;et<tt;++et)_[et][rt][1]/=it}stackOffsetNone(_,j)}}function stackOffsetSilhouette(_,j){if((rt=_.length)>0){for(var et=0,tt=_[j[0]],rt,nt=tt.length;et<nt;++et){for(var it=0,st=0;it<rt;++it)st+=_[it][et][1]||0;tt[et][1]+=tt[et][0]=-st/2}stackOffsetNone(_,j)}}function stackOffsetWiggle(_,j){if(!(!((it=_.length)>0)||!((nt=(rt=_[j[0]]).length)>0))){for(var et=0,tt=1,rt,nt,it;tt<nt;++tt){for(var st=0,at=0,ot=0;st<it;++st){for(var lt=_[j[st]],ct=lt[tt][1]||0,ut=lt[tt-1][1]||0,dt=(ct-ut)/2,ht=0;ht<st;++ht){var pt=_[j[ht]],gt=pt[tt][1]||0,ft=pt[tt-1][1]||0;dt+=gt-ft}at+=ct,ot+=dt*ct}rt[tt-1][1]+=rt[tt-1][0]=et,at&&(et-=ot/at)}rt[tt-1][1]+=rt[tt-1][0]=et,stackOffsetNone(_,j)}}function _typeof$J(_){"@babel/helpers - typeof";return _typeof$J=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$J(_)}var _excluded$g=["type","size","sizeType"];function _extends$s(){return _extends$s=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$s.apply(this,arguments)}function ownKeys$C(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$C(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$C(Object(et),!0).forEach(function(tt){_defineProperty$I(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$C(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$I(_,j,et){return j=_toPropertyKey$I(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$I(_){var j=_toPrimitive$I(_,"string");return _typeof$J(j)=="symbol"?j:j+""}function _toPrimitive$I(_,j){if(_typeof$J(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$J(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function _objectWithoutProperties$g(_,j){if(_==null)return{};var et=_objectWithoutPropertiesLoose$g(_,j),tt,rt;if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(rt=0;rt<nt.length;rt++)tt=nt[rt],!(j.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(_,tt)&&(et[tt]=_[tt])}return et}function _objectWithoutPropertiesLoose$g(_,j){if(_==null)return{};var et={};for(var tt in _)if(Object.prototype.hasOwnProperty.call(_,tt)){if(j.indexOf(tt)>=0)continue;et[tt]=_[tt]}return et}var symbolFactories={symbolCircle,symbolCross,symbolDiamond,symbolSquare,symbolStar,symbolTriangle,symbolWye},RADIAN$2=Math.PI/180,getSymbolFactory=function _(j){var et="symbol".concat(upperFirst$1(j));return symbolFactories[et]||symbolCircle},calculateAreaSize=function _(j,et,tt){if(et==="area")return j;switch(tt){case"cross":return 5*j*j/9;case"diamond":return .5*j*j/Math.sqrt(3);case"square":return j*j;case"star":{var rt=18*RADIAN$2;return 1.25*j*j*(Math.tan(rt)-Math.tan(rt*2)*Math.pow(Math.tan(rt),2))}case"triangle":return Math.sqrt(3)*j*j/4;case"wye":return(21-10*Math.sqrt(3))*j*j/8;default:return Math.PI*j*j/4}},registerSymbol=function _(j,et){symbolFactories["symbol".concat(upperFirst$1(j))]=et},Symbols=function _(j){var et=j.type,tt=et===void 0?"circle":et,rt=j.size,nt=rt===void 0?64:rt,it=j.sizeType,st=it===void 0?"area":it,at=_objectWithoutProperties$g(j,_excluded$g),ot=_objectSpread$C(_objectSpread$C({},at),{},{type:tt,size:nt,sizeType:st}),lt=function(){var gt=getSymbolFactory(tt),ft=Symbol$3().type(gt).size(calculateAreaSize(nt,st,tt));return ft()},ct=ot.className,ut=ot.cx,dt=ot.cy,ht=filterProps(ot,!0);return ut===+ut&&dt===+dt&&nt===+nt?React$1.createElement("path",_extends$s({},ht,{className:clsx("recharts-symbols",ct),transform:"translate(".concat(ut,", ").concat(dt,")"),d:lt()})):null};Symbols.registerSymbol=registerSymbol;function _typeof$I(_){"@babel/helpers - typeof";return _typeof$I=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$I(_)}function _extends$r(){return _extends$r=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$r.apply(this,arguments)}function ownKeys$B(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$B(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$B(Object(et),!0).forEach(function(tt){_defineProperty$H(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$B(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _classCallCheck$l(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$l(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$H(tt.key),tt)}}function _createClass$l(_,j,et){return j&&_defineProperties$l(_.prototype,j),Object.defineProperty(_,"prototype",{writable:!1}),_}function _callSuper$h(_,j,et){return j=_getPrototypeOf$i(j),_possibleConstructorReturn$i(_,_isNativeReflectConstruct$i()?Reflect.construct(j,et||[],_getPrototypeOf$i(_).constructor):j.apply(_,et))}function _possibleConstructorReturn$i(_,j){if(j&&(_typeof$I(j)==="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$i(_)}function _assertThisInitialized$i(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _isNativeReflectConstruct$i(){try{var _=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$i=function(){return!!_})()}function _getPrototypeOf$i(_){return _getPrototypeOf$i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(et){return et.__proto__||Object.getPrototypeOf(et)},_getPrototypeOf$i(_)}function _inherits$i(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&_setPrototypeOf$i(_,j)}function _setPrototypeOf$i(_,j){return _setPrototypeOf$i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(tt,rt){return tt.__proto__=rt,tt},_setPrototypeOf$i(_,j)}function _defineProperty$H(_,j,et){return j=_toPropertyKey$H(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$H(_){var j=_toPrimitive$H(_,"string");return _typeof$I(j)=="symbol"?j:j+""}function _toPrimitive$H(_,j){if(_typeof$I(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$I(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var SIZE=32,DefaultLegendContent=function(_){function j(){return _classCallCheck$l(this,j),_callSuper$h(this,j,arguments)}return _inherits$i(j,_),_createClass$l(j,[{key:"renderIcon",value:function(tt){var rt=this.props.inactiveColor,nt=SIZE/2,it=SIZE/6,st=SIZE/3,at=tt.inactive?rt:tt.color;if(tt.type==="plainline")return React$1.createElement("line",{strokeWidth:4,fill:"none",stroke:at,strokeDasharray:tt.payload.strokeDasharray,x1:0,y1:nt,x2:SIZE,y2:nt,className:"recharts-legend-icon"});if(tt.type==="line")return React$1.createElement("path",{strokeWidth:4,fill:"none",stroke:at,d:"M0,".concat(nt,"h").concat(st,` 863 A`).concat(it,",").concat(it,",0,1,1,").concat(2*st,",").concat(nt,` 864 H`).concat(SIZE,"M").concat(2*st,",").concat(nt,` 865 A`).concat(it,",").concat(it,",0,1,1,").concat(st,",").concat(nt),className:"recharts-legend-icon"});if(tt.type==="rect")return React$1.createElement("path",{stroke:"none",fill:at,d:"M0,".concat(SIZE/8,"h").concat(SIZE,"v").concat(SIZE*3/4,"h").concat(-SIZE,"z"),className:"recharts-legend-icon"});if(React$1.isValidElement(tt.legendIcon)){var ot=_objectSpread$B({},tt);return delete ot.legendIcon,React$1.cloneElement(tt.legendIcon,ot)}
865return React$1.createElement(Symbols,{fill:at,cx:nt,cy:nt,size:SIZE,sizeType:"diameter",type:tt.type})}},{key:"renderItems",value:function(){var tt=this,rt=this.props,nt=rt.payload,it=rt.iconSize,st=rt.layout,at=rt.formatter,ot=rt.inactiveColor,lt={x:0,y:0,width:SIZE,height:SIZE},ct={display:st==="horizontal"?"inline-block":"block",marginRight:10},ut={display:"inline-block",verticalAlign:"middle",marginRight:4};return nt.map(function(dt,ht){var pt=dt.formatter||at,gt=clsx(_defineProperty$H(_defineProperty$H({"recharts-legend-item":!0},"legend-item-".concat(ht),!0),"inactive",dt.inactive));if(dt.type==="none")return null;var ft=isFunction$3(dt.value)?null:dt.value;warn(!isFunction$3(dt.value),`The name property is also required when using a function for the dataKey of a chart's cartesian components. Ex: <Bar name="Name of my Data"/>`);var mt=dt.inactive?ot:dt.color;return React$1.createElement("li",_extends$r({className:gt,style:ct,key:"legend-item-".concat(ht)},adaptEventsOfChild(tt.props,dt,ht)),React$1.createElement(Surface,{width:it,height:it,viewBox:lt,style:ut},tt.renderIcon(dt)),React$1.createElement("span",{className:"recharts-legend-item-text",style:{color:mt}},pt?pt(ft,dt,ht):ft))})}},{key:"render",value:function(){var tt=this.props,rt=tt.payload,nt=tt.layout,it=tt.align;if(!rt||!rt.length)return null;var st={padding:0,margin:0,textAlign:nt==="horizontal"?it:"left"};return React$1.createElement("ul",{className:"recharts-default-legend",style:st},this.renderItems())}}])}(reactExports.PureComponent);_defineProperty$H(DefaultLegendContent,"displayName","Legend");_defineProperty$H(DefaultLegendContent,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var ListCache$2=_ListCache;function stackClear$1(){this.__data__=new ListCache$2,this.size=0}var _stackClear=stackClear$1;function stackDelete$1(_){var j=this.__data__,et=j.delete(_);return this.size=j.size,et}var _stackDelete=stackDelete$1;function stackGet$1(_){return this.__data__.get(_)}var _stackGet=stackGet$1;function stackHas$1(_){return this.__data__.has(_)}var _stackHas=stackHas$1,ListCache$1=_ListCache,Map$2=_Map,MapCache$1=_MapCache,LARGE_ARRAY_SIZE$1=200;function stackSet$1(_,j){var et=this.__data__;if(et instanceof ListCache$1){var tt=et.__data__;if(!Map$2||tt.length<LARGE_ARRAY_SIZE$1-1)return tt.push([_,j]),this.size=++et.size,this;et=this.__data__=new MapCache$1(tt)}return et.set(_,j),this.size=et.size,this}var _stackSet=stackSet$1,ListCache=_ListCache,stackClear=_stackClear,stackDelete=_stackDelete,stackGet=_stackGet,stackHas=_stackHas,stackSet=_stackSet;function Stack$2(_){var j=this.__data__=new ListCache(_);this.size=j.size}Stack$2.prototype.clear=stackClear;Stack$2.prototype.delete=stackDelete;Stack$2.prototype.get=stackGet;Stack$2.prototype.has=stackHas;Stack$2.prototype.set=stackSet;var _Stack=Stack$2,HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd$1(_){return this.__data__.set(_,HASH_UNDEFINED),this}var _setCacheAdd=setCacheAdd$1;function setCacheHas$1(_){return this.__data__.has(_)}var _setCacheHas=setCacheHas$1,MapCache=_MapCache,setCacheAdd=_setCacheAdd,setCacheHas=_setCac
vendor: 9,314 bytes, line 865
865heHas;function SetCache$2(_){var j=-1,et=_==null?0:_.length;for(this.__data__=new MapCache;++j<et;)this.add(_[j])}SetCache$2.prototype.add=SetCache$2.prototype.push=setCacheAdd;SetCache$2.prototype.has=setCacheHas;var _SetCache=SetCache$2;function arraySome$2(_,j){for(var et=-1,tt=_==null?0:_.length;++et<tt;)if(j(_[et],et,_))return!0;return!1}var _arraySome=arraySome$2;function cacheHas$2(_,j){return _.has(j)}var _cacheHas=cacheHas$2,SetCache$1=_SetCache,arraySome$1=_arraySome,cacheHas$1=_cacheHas,COMPARE_PARTIAL_FLAG$5=1,COMPARE_UNORDERED_FLAG$3=2;function equalArrays$2(_,j,et,tt,rt,nt){var it=et&COMPARE_PARTIAL_FLAG$5,st=_.length,at=j.length;if(st!=at&&!(it&&at>st))return!1;var ot=nt.get(_),lt=nt.get(j);if(ot&<)return ot==j&<==_;var ct=-1,ut=!0,dt=et&COMPARE_UNORDERED_FLAG$3?new SetCache$1:void 0;for(nt.set(_,j),nt.set(j,_);++ct<st;){var ht=_[ct],pt=j[ct];if(tt)var gt=it?tt(pt,ht,ct,j,_,nt):tt(ht,pt,ct,_,j,nt);if(gt!==void 0){if(gt)continue;ut=!1;break}if(dt){if(!arraySome$1(j,function(ft,mt){if(!cacheHas$1(dt,mt)&&(ht===ft||rt(ht,ft,et,tt,nt)))return dt.push(mt)})){ut=!1;break}}else if(!(ht===pt||rt(ht,pt,et,tt,nt))){ut=!1;break}}return nt.delete(_),nt.delete(j),ut}var _equalArrays=equalArrays$2,root$5=_root,Uint8Array$2=root$5.Uint8Array,_Uint8Array=Uint8Array$2;function mapToArray$1(_){var j=-1,et=Array(_.size);return _.forEach(function(tt,rt){et[++j]=[rt,tt]}),et}var _mapToArray=mapToArray$1;function setToArray$3(_){var j=-1,et=Array(_.size);return _.forEach(function(tt){et[++j]=tt}),et}var _setToArray=setToArray$3,Symbol$2=_Symbol,Uint8Array$1=_Uint8Array,eq$1=eq_1,equalArrays$1=_equalArrays,mapToArray=_mapToArray,setToArray$2=_setToArray,COMPARE_PARTIAL_FLAG$4=1,COMPARE_UNORDERED_FLAG$2=2,boolTag$2="[object Boolean]",dateTag$1="[object Date]",errorTag$1="[object Error]",mapTag$2="[object Map]",numberTag$1="[object Number]",regexpTag$1="[object RegExp]",setTag$2="[object Set]",stringTag$1="[object String]",symbolTag="[object Symbol]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$2="[object DataView]",symbolProto=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag$1(_,j,et,tt,rt,nt,it){switch(et){case dataViewTag$2:if(_.byteLength!=j.byteLength||_.byteOffset!=j.byteOffset)return!1;_=_.buffer,j=j.buffer;case arrayBufferTag$1:return!(_.byteLength!=j.byteLength||!nt(new Uint8Array$1(_),new Uint8Array$1(j)));case boolTag$2:case dateTag$1:case numberTag$1:return eq$1(+_,+j);case errorTag$1:return _.name==j.name&&_.message==j.message;case regexpTag$1:case stringTag$1:return _==j+"";case mapTag$2:var st=mapToArray;case setTag$2:var at=tt&COMPARE_PARTIAL_FLAG$4;if(st||(st=setToArray$2),_.size!=j.size&&!at)return!1;var ot=it.get(_);if(ot)return ot==j;tt|=COMPARE_UNORDERED_FLAG$2,it.set(_,j);var lt=equalArrays$1(st(_),st(j),tt,rt,nt,it);return it.delete(_),lt;case symbolTag:if(symbolValueOf)return symbolValueOf.call(_)==symbolValueOf.call(j)}return!1}var _equalByTag=equalByTag$1;function arrayPush$2(_,j){for(var et=-1,tt=j.length,rt=_.length;++et<tt;)_[rt+et]=j[et];return _}var _arrayPush=arrayPush$2,arrayPush$1=_arrayPush,isArray$a=isArray_1;function baseGetAllKeys$1(_,j,et){var tt=j(_);return isArray$a(_)?tt:arrayPush$1(tt,et(_))}var _baseGetAllKeys=baseGetAllKeys$1;function arrayFilter$1(_,j){for(var et=-1,tt=_==null?0:_.length,rt=0,nt=[];++et<tt;){var it=_[et];j(it,et,_)&&(nt[rt++]=it)}return nt}var _arrayFilter=arrayFilter$1;function stubArray$1(){return[]}var stubArray_1=stubArray$1,arrayFilter=_arrayFilter,stubArray=stubArray_1,objectProto$7=Object.prototype,propertyIsEnumerable$1=objectProto$7.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbols$1=nativeGetSymbols?function(_){return _==null?[]:(_=Object(_),arrayFilter(nativeGetSymbols(_),function(j){return propertyIsEnumerable$1.call(_,j)}))}:stubArray,_getSymbols=getSymbols$1;function baseTimes$1(_,j){for(var et=-1,tt=Array(_);++et<_;)tt[et]=j(et);return tt}var _baseTimes=baseTimes$1,baseGetTag$4=_baseGetTag,isObjectLike$5=isObjectLike_1,argsTag$2="[object Arguments]";function baseIsArguments$1(_){return isObjectLike$5(_)&&baseGetTag$4(_)==argsTag$2}var _baseIsArguments=baseIsArguments$1,baseIsArguments=_baseIsArguments,isObjectLike$4=isObjectLike_1,objectProto$6=Object.prototype,hasOwnProperty$6=objectProto$6.hasOwnProperty,propertyIsEnumerable=objectProto$6.propertyIsEnumerable,isArguments$3=baseIsArguments(function(){return arguments}())?baseIsArguments:function(_){return isObjectLike$4(_)&&hasOwnProperty$6.call(_,"callee")&&!propertyIsEnumerable.call(_,"callee")},isArguments_1=isArguments$3,isBuffer$2={exports:{}};function stubFalse(){return!1}var stubFalse_1=stubFalse;isBuffer$2.exports;(function(_,j){var et=_root,tt=stubFalse_1,rt=j&&!j.nodeType&&j,nt=rt&&!0&&_&&!_.nodeType&&_,it=nt&&nt.exports===rt,st=it?et.Buffer:void 0,at=st?st.isBuffer:void 0,ot=at||tt;_.exports=ot})(isBuffer$2,isBuffer$2.exports);var isBufferExports=isBuffer$2.exports,MAX_SAFE_INTEGER$2=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex$3(_,j){var et=typeof _;return j=j??MAX_SAFE_INTEGER$2,!!j&&(et=="number"||et!="symbol"&&reIsUint.test(_))&&_>-1&&_%1==0&&_<j}var _isIndex=isIndex$3,MAX_SAFE_INTEGER$1=9007199254740991;function isLength$3(_){return typeof _=="number"&&_>-1&&_%1==0&&_<=MAX_SAFE_INTEGER$1}var isLength_1=isLength$3,baseGetTag$3=_baseGetTag,isLength$2=isLength_1,isObjectLike$3=isObjectLike_1,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",boolTag$1="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",mapTag$1="[object Map]",numberTag="[object Number]",objectTag$3="[object Object]",regexpTag="[object RegExp]",setTag$1="[object Set]",stringTag="[object String]",weakMapTag$1="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0;typedArrayTags[argsTag$1]=typedArrayTags[arrayTag$1]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag$1]=typedArrayTags[dataViewTag$1]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag$1]=typedArrayTags[numberTag]=typedArrayTags[objectTag$3]=typedArrayTags[regexpTag]=typedArrayTags[setTag$1]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag$1]=!1;function baseIsTypedArray$1(_){return isObjectLike$3(_)&&isLength$2(_.length)&&!!typedArrayTags[baseGetTag$3(_)]}var _baseIsTypedArray=baseIsTypedArray$1;function baseUnary$2(_){return function(j){return _(j)}}var _baseUnary=baseUnary$2,_nodeUtil={exports:{}};_nodeUtil.exports;(function(_,j){var et=_freeGlobal,tt=j&&!j.nodeType&&j,rt=tt&&!0&&_&&!_.nodeType&&_,nt=rt&&rt.exports===tt,it=nt&&et.process,st=function(){try{var at=rt&&rt.require&&rt.require("util").types;return at||it&&it.binding&&it.binding("util")}catch{}}();_.exports=st})(_nodeUtil,_nodeUtil.exports);var _nodeUtilExports=_nodeUtil.exports,baseIsTypedArray=_baseIsTypedArray,baseUnary$1=_baseUnary,nodeUtil=_nodeUtilExports,nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray$3=nodeIsTypedArray?baseUnary$1(nodeIsTypedArray):baseIsTypedArray,isTypedArray_1=isTypedArray$3,baseTimes=_baseTimes,isArguments$2=isArguments_1,isArray$9=isArray_1,isBuffer$1=isBufferExports,isIndex$2=_isIndex,isTypedArray$2=isTypedArray_1,objectProto$5=Object.prototype,hasOwnProperty$5=objectProto$5.hasOwnProperty;function arrayLikeKeys$1(_,j){var et=isArray$9(_),tt=!et&&isArguments$2(_),rt=!et&&!tt&&isBuffer$1(_),nt=!et&&!tt&&!rt&&isTypedArray$2(_),it=et||tt||rt||nt,st=it?baseTimes(_.length,String):[],at=st.length;for(var ot in _)(j||hasOwnProperty$5.call(_,ot))&&!(it&&(ot=="length"||rt&&(ot=="offset"||ot=="parent")||nt&&(ot=="buffer"||ot=="byteLength"||ot=="byteOffset")||isIndex$2(ot,at)))&&st.push(ot);return st}var _arrayLikeKeys=arrayLikeKeys$1,objectProto$4=Object.prototype;function isPrototype$1(_){var j=_&&_.constructor,et=typeof j=="function"&&j.prototype||objectProto$4;return _===et}var _isPrototype=isPrototype$1;function overArg$2(_,j){return function(et){return _(j(et))}}var _overArg=overArg$2,overArg$1=_overArg,nativeKeys$1=overArg$1(Object.keys,Object),_nativeKeys=nativeKeys$1,isPrototype=_isPrototype,nativeKeys=_nativeKeys,objectProto$3=Object.prototype,hasOwnProperty$4=objectProto$3.hasOwnProperty;function baseKeys$1(_){if(!isPrototype(_))return nativeKeys(_);var j=[];for(var et in Object(_))hasOwnProperty$4.call(_,et)&&et!="constructor"&&j.push(et);return j}var _baseKeys=baseKeys$1,isFunction=isFunction_1,isLength$1=isLength_1;function isArrayLike$5(_){return _!=null&&isLength$1(_.length)&&!isFunction(_)}var isArrayLike_1=isArrayLike$5,arrayLikeKeys=_arrayLikeKeys,baseKeys=_baseKeys,isArrayLike$4=isArrayLike_1;function keys$5(_){return isArrayLike$4(_)?arrayLikeKeys(_):baseKeys(_)}
vendor: 7,737 bytes, line 865
865var keys_1=keys$5,baseGetAllKeys=_baseGetAllKeys,getSymbols=_getSymbols,keys$4=keys_1;function getAllKeys$1(_){return baseGetAllKeys(_,keys$4,getSymbols)}var _getAllKeys=getAllKeys$1,getAllKeys=_getAllKeys,COMPARE_PARTIAL_FLAG$3=1,objectProto$2=Object.prototype,hasOwnProperty$3=objectProto$2.hasOwnProperty;function equalObjects$1(_,j,et,tt,rt,nt){var it=et&COMPARE_PARTIAL_FLAG$3,st=getAllKeys(_),at=st.length,ot=getAllKeys(j),lt=ot.length;if(at!=lt&&!it)return!1;for(var ct=at;ct--;){var ut=st[ct];if(!(it?ut in j:hasOwnProperty$3.call(j,ut)))return!1}var dt=nt.get(_),ht=nt.get(j);if(dt&&ht)return dt==j&&ht==_;var pt=!0;nt.set(_,j),nt.set(j,_);for(var gt=it;++ct<at;){ut=st[ct];var ft=_[ut],mt=j[ut];if(tt)var xt=it?tt(mt,ft,ut,j,_,nt):tt(ft,mt,ut,_,j,nt);if(!(xt===void 0?ft===mt||rt(ft,mt,et,tt,nt):xt)){pt=!1;break}gt||(gt=ut=="constructor")}if(pt&&!gt){var yt=_.constructor,vt=j.constructor;yt!=vt&&"constructor"in _&&"constructor"in j&&!(typeof yt=="function"&&yt instanceof yt&&typeof vt=="function"&&vt instanceof vt)&&(pt=!1)}return nt.delete(_),nt.delete(j),pt}var _equalObjects=equalObjects$1,getNative$4=_getNative,root$4=_root,DataView$2=getNative$4(root$4,"DataView"),_DataView=DataView$2,getNative$3=_getNative,root$3=_root,Promise$2=getNative$3(root$3,"Promise"),_Promise=Promise$2,getNative$2=_getNative,root$2=_root,Set$3=getNative$2(root$2,"Set"),_Set=Set$3,getNative$1=_getNative,root$1=_root,WeakMap$2=getNative$1(root$1,"WeakMap"),_WeakMap=WeakMap$2,DataView$1=_DataView,Map$1=_Map,Promise$1=_Promise,Set$2=_Set,WeakMap$1=_WeakMap,baseGetTag$2=_baseGetTag,toSource=_toSource,mapTag="[object Map]",objectTag$2="[object Object]",promiseTag="[object Promise]",setTag="[object Set]",weakMapTag="[object WeakMap]",dataViewTag="[object DataView]",dataViewCtorString=toSource(DataView$1),mapCtorString=toSource(Map$1),promiseCtorString=toSource(Promise$1),setCtorString=toSource(Set$2),weakMapCtorString=toSource(WeakMap$1),getTag$2=baseGetTag$2;(DataView$1&&getTag$2(new DataView$1(new ArrayBuffer(1)))!=dataViewTag||Map$1&&getTag$2(new Map$1)!=mapTag||Promise$1&&getTag$2(Promise$1.resolve())!=promiseTag||Set$2&&getTag$2(new Set$2)!=setTag||WeakMap$1&&getTag$2(new WeakMap$1)!=weakMapTag)&&(getTag$2=function(_){var j=baseGetTag$2(_),et=j==objectTag$2?_.constructor:void 0,tt=et?toSource(et):"";if(tt)switch(tt){case dataViewCtorString:return dataViewTag;case mapCtorString:return mapTag;case promiseCtorString:return promiseTag;case setCtorString:return setTag;case weakMapCtorString:return weakMapTag}return j});var _getTag=getTag$2,Stack$1=_Stack,equalArrays=_equalArrays,equalByTag=_equalByTag,equalObjects=_equalObjects,getTag$1=_getTag,isArray$8=isArray_1,isBuffer=isBufferExports,isTypedArray$1=isTypedArray_1,COMPARE_PARTIAL_FLAG$2=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag$1="[object Object]",objectProto$1=Object.prototype,hasOwnProperty$2=objectProto$1.hasOwnProperty;function baseIsEqualDeep$1(_,j,et,tt,rt,nt){var it=isArray$8(_),st=isArray$8(j),at=it?arrayTag:getTag$1(_),ot=st?arrayTag:getTag$1(j);at=at==argsTag?objectTag$1:at,ot=ot==argsTag?objectTag$1:ot;var lt=at==objectTag$1,ct=ot==objectTag$1,ut=at==ot;if(ut&&isBuffer(_)){if(!isBuffer(j))return!1;it=!0,lt=!1}if(ut&&!lt)return nt||(nt=new Stack$1),it||isTypedArray$1(_)?equalArrays(_,j,et,tt,rt,nt):equalByTag(_,j,at,et,tt,rt,nt);if(!(et&COMPARE_PARTIAL_FLAG$2)){var dt=lt&&hasOwnProperty$2.call(_,"__wrapped__"),ht=ct&&hasOwnProperty$2.call(j,"__wrapped__");if(dt||ht){var pt=dt?_.value():_,gt=ht?j.value():j;return nt||(nt=new Stack$1),rt(pt,gt,et,tt,nt)}}return ut?(nt||(nt=new Stack$1),equalObjects(_,j,et,tt,rt,nt)):!1}var _baseIsEqualDeep=baseIsEqualDeep$1,baseIsEqualDeep=_baseIsEqualDeep,isObjectLike$2=isObjectLike_1;function baseIsEqual$3(_,j,et,tt,rt){return _===j?!0:_==null||j==null||!isObjectLike$2(_)&&!isObjectLike$2(j)?_!==_&&j!==j:baseIsEqualDeep(_,j,et,tt,baseIsEqual$3,rt)}var _baseIsEqual=baseIsEqual$3,Stack=_Stack,baseIsEqual$2=_baseIsEqual,COMPARE_PARTIAL_FLAG$1=1,COMPARE_UNORDERED_FLAG$1=2;function baseIsMatch$1(_,j,et,tt){var rt=et.length,nt=rt,it=!tt;if(_==null)return!nt;for(_=Object(_);rt--;){var st=et[rt];if(it&&st[2]?st[1]!==_[st[0]]:!(st[0]in _))return!1}for(;++rt<nt;){st=et[rt];var at=st[0],ot=_[at],lt=st[1];if(it&&st[2]){if(ot===void 0&&!(at in _))return!1}else{var ct=new Stack;if(tt)var ut=tt(ot,lt,at,_,j,ct);if(!(ut===void 0?baseIsEqual$2(lt,ot,COMPARE_PARTIAL_FLAG$1|COMPARE_UNORDERED_FLAG$1,tt,ct):ut))return!1}}return!0}var _baseIsMatch=baseIsMatch$1,isObject$4=isObject_1;function isStrictComparable$2(_){return _===_&&!isObject$4(_)}var _isStrictComparable=isStrictComparable$2,isStrictComparable$1=_isStrictComparable,keys$3=keys_1;function getMatchData$1(_){for(var j=keys$3(_),et=j.length;et--;){var tt=j[et],rt=_[tt];j[et]=[tt,rt,isStrictComparable$1(rt)]}return j}var _getMatchData=getMatchData$1;function matchesStrictComparable$2(_,j){return function(et){return et==null?!1:et[_]===j&&(j!==void 0||_ in Object(et))}}var _matchesStrictComparable=matchesStrictComparable$2,baseIsMatch=_baseIsMatch,getMatchData=_getMatchData,matchesStrictComparable$1=_matchesStrictComparable;function baseMatches$1(_){var j=getMatchData(_);return j.length==1&&j[0][2]?matchesStrictComparable$1(j[0][0],j[0][1]):function(et){return et===_||baseIsMatch(et,_,j)}}var _baseMatches=baseMatches$1;function baseHasIn$1(_,j){return _!=null&&j in Object(_)}var _baseHasIn=baseHasIn$1,castPath=_castPath,isArguments$1=isArguments_1,isArray$7=isArray_1,isIndex$1=_isIndex,isLength=isLength_1,toKey$2=_toKey;function hasPath$1(_,j,et){j=castPath(j,_);for(var tt=-1,rt=j.length,nt=!1;++tt<rt;){var it=toKey$2(j[tt]);if(!(nt=_!=null&&et(_,it)))break;_=_[it]}return nt||++tt!=rt?nt:(rt=_==null?0:_.length,!!rt&&isLength(rt)&&isIndex$1(it,rt)&&(isArray$7(_)||isArguments$1(_)))}var _hasPath=hasPath$1,baseHasIn=_baseHasIn,hasPath=_hasPath;function hasIn$1(_,j){return _!=null&&hasPath(_,j,baseHasIn)}var hasIn_1=hasIn$1,baseIsEqual$1=_baseIsEqual,get=get_1,hasIn=hasIn_1,isKey$1=_isKey,isStrictComparable=_isStrictComparable,matchesStrictComparable=_matchesStrictComparable,toKey$1=_toKey,COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function baseMatchesProperty$1(_,j){return isKey$1(_)&&isStrictComparable(j)?matchesStrictComparable(toKey$1(_),j):function(et){var tt=get(et,_);return tt===void 0&&tt===j?hasIn(et,_):baseIsEqual$1(j,tt,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG)}}var _baseMatchesProperty=baseMatchesProperty$1;function identity$b(_){return _}var identity_1=identity$b;function baseProperty$1(_){return function(j){return j==null?void 0:j[_]}}var _baseProperty=baseProperty$1,baseGet$1=_baseGet;function basePropertyDeep$1(_){return function(j){return baseGet$1(j,_)}}var _basePropertyDeep=basePropertyDeep$1,baseProperty=_baseProperty,basePropertyDeep=_basePropertyDeep,isKey=_isKey,toKey=_toKey;function property$1(_){return isKey(_)?baseProperty(toKey(_)):basePropertyDeep(_)}var property_1=property$1,baseMatches=_baseMatches,baseMatchesProperty=_baseMatchesProperty,identity$a=identity_1,isArray$6=isArray_1,property=property_1;function baseIteratee$a(_){return typeof _=="function"?_:_==null?identity$a:typeof _=="object"?isArray$6(_)?baseMatchesProperty(_[0],_[1]):baseMatches(_):property(_)}var _baseIteratee=baseIteratee$a;function baseFindIndex$2(_,j,et,tt){for(var rt=_.length,nt=et+(tt?1:-1);tt?nt--:++nt<rt;)if(j(_[nt],nt,_))return nt;return-1}var _baseFindIndex=baseFindIndex$2;function baseIsNaN$1(_){return _!==_}var _baseIsNaN=baseIsNaN$1;function strictIndexOf$1(_,j,et){for(var tt=et-1,rt=_.length;++tt<rt;)if(_[tt]===j)return tt;return-1}var _strictIndexOf=strictIndexOf$1,baseFindIndex$1=_baseFindIndex,baseIsNaN=_baseIsNaN,strictIndexOf=_strictIndexOf;
865function baseIndexOf$1(_,j,et){return j===j?strictIndexOf(_,j,et):baseFindIndex$1(_,baseIsNaN,et)}var _baseIndexOf=baseIndexOf$1,baseIndexOf=_baseIndexOf;function arrayIncludes$1(_,j){var et=_==null?0:_.length;return!!et&&baseIndexOf(_,j,0)>-1}var _arrayIncludes=arrayIncludes$1;function arrayIncludesWith$1(_,j,et){for(var tt=-1,rt=_==null?0:_.length;++tt<rt;)if(et(j,_[tt]))return!0;return!1}var _arrayIncludesWith=arrayIncludesWith$1;function noop$1(){}var noop_1=noop$1,Set$1=_Set,noop=noop_1,setToArray$1=_setToArray,INFINITY$1=1/0,createSet$1=Set$1&&1/setToArray$1(new Set$1([,-0]))[1]==INFINITY$1?function(_){return new Set$1(_)}:noop,_createSet=createSet$1,SetCache=_SetCache,arrayIncludes=_arrayIncludes,arrayIncludesWith=_arrayIncludesWith,cacheHas=_cacheHas,createSet=_createSet,setToArray=_setToArray,LARGE_ARRAY_SIZE=200;function baseUniq$1(_,j,et){var tt=-1,rt=arrayIncludes,nt=_.length,it=!0,st=[],at=st;if(et)it=!1,rt=arrayIncludesWith;else if(nt>=LARGE_ARRAY_SIZE){var ot=j?null:createSet(_);if(ot)return setToArray(ot);it=!1,rt=cacheHas,at=new SetCache}else at=j?[]:st;e:for(;++tt<nt;){var lt=_[tt],ct=j?j(lt):lt;if(lt=et||lt!==0?lt:0,it&&ct===ct){for(var ut=at.length;ut--;)if(at[ut]===ct)continue e;j&&at.push(ct),st.push(lt)}else rt(at,ct,et)||(at!==st&&at.push(ct),st.push(lt))}return st}var _baseUniq=baseUniq$1,baseIteratee$9=_baseIteratee,baseUniq=_baseUniq;function uniqBy(_,j){return _&&_.length?baseUniq(_,baseIteratee$9(j)):[]}var uniqBy_1=uniqBy;const uniqBy$1=getDefaultExportFromCjs(uniqBy_1);function getUniqPayload(_,j,et){return j===!0?uniqBy$1(_,et):isFunction$3(j)?uniqBy$1(_,j):_}function _typeof$H(_){"@babel/helpers - typeof";return _typeof$H=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$H(_)}var _excluded$f=["ref"];function ownKeys$A(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$A(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$A(Object(et),!0).forEach(function(tt){_defineProperty$G(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$A(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _classCallCheck$k(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$k(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$G(tt.key),tt)}}function _createClass$k(_,j,et){return j&&_defineProperties$k(_.prototype,j),et&&_defineProperties$k(_,et),Object.defineProperty(_,"prototype",{writable:!1}),_}function _callSuper$g(_,j,et){return j=_getPrototypeOf$h(j),_possibleConstructorReturn$h(_,_isNativeReflectConstruct$h()?Reflect.construct(j,et||[],_getPrototypeOf$h(_).constructor):j.apply(_,et))}function _possibleConstructorReturn$h(_,j){if(j&&(_typeof$H(j)==="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$h(_)}function _assertThisInitialized$h(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _isNativeReflectConstruct$h(){try{var _=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$h=function(){return!!_})()}function _getPrototypeOf$h(_){return _getPrototypeOf$h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(et){return et.__proto__||Object.getPrototypeOf(et)},_getPrototypeOf$h(_)}function _inherits$h(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&_setPrototypeOf$h(_,j)}function _setPrototypeOf$h(_,j){return _setPrototypeOf$h=Object.
vendor: 23,190 bytes, lines 865-866
865setPrototypeOf?Object.setPrototypeOf.bind():function(tt,rt){return tt.__proto__=rt,tt},_setPrototypeOf$h(_,j)}function _defineProperty$G(_,j,et){return j=_toPropertyKey$G(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$G(_){var j=_toPrimitive$G(_,"string");return _typeof$H(j)=="symbol"?j:j+""}function _toPrimitive$G(_,j){if(_typeof$H(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$H(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function _objectWithoutProperties$f(_,j){if(_==null)return{};var et=_objectWithoutPropertiesLoose$f(_,j),tt,rt;if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(rt=0;rt<nt.length;rt++)tt=nt[rt],!(j.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(_,tt)&&(et[tt]=_[tt])}return et}function _objectWithoutPropertiesLoose$f(_,j){if(_==null)return{};var et={};for(var tt in _)if(Object.prototype.hasOwnProperty.call(_,tt)){if(j.indexOf(tt)>=0)continue;et[tt]=_[tt]}return et}function defaultUniqBy$1(_){return _.value}function renderContent$1(_,j){if(React$1.isValidElement(_))return React$1.cloneElement(_,j);if(typeof _=="function")return React$1.createElement(_,j);j.ref;var et=_objectWithoutProperties$f(j,_excluded$f);return React$1.createElement(DefaultLegendContent,et)}var EPS$1=1,Legend=function(_){function j(){var et;_classCallCheck$k(this,j);for(var tt=arguments.length,rt=new Array(tt),nt=0;nt<tt;nt++)rt[nt]=arguments[nt];return et=_callSuper$g(this,j,[].concat(rt)),_defineProperty$G(et,"lastBoundingBox",{width:-1,height:-1}),et}return _inherits$h(j,_),_createClass$k(j,[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var tt=this.wrapperNode.getBoundingClientRect();return tt.height=this.wrapperNode.offsetHeight,tt.width=this.wrapperNode.offsetWidth,tt}return null}},{key:"updateBBox",value:function(){var tt=this.props.onBBoxUpdate,rt=this.getBBox();rt?(Math.abs(rt.width-this.lastBoundingBox.width)>EPS$1||Math.abs(rt.height-this.lastBoundingBox.height)>EPS$1)&&(this.lastBoundingBox.width=rt.width,this.lastBoundingBox.height=rt.height,tt&&tt(rt)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,tt&&tt(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?_objectSpread$A({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(tt){var rt=this.props,nt=rt.layout,it=rt.align,st=rt.verticalAlign,at=rt.margin,ot=rt.chartWidth,lt=rt.chartHeight,ct,ut;if(!tt||(tt.left===void 0||tt.left===null)&&(tt.right===void 0||tt.right===null))if(it==="center"&&nt==="vertical"){var dt=this.getBBoxSnapshot();ct={left:((ot||0)-dt.width)/2}}else ct=it==="right"?{right:at&&at.right||0}:{left:at&&at.left||0};if(!tt||(tt.top===void 0||tt.top===null)&&(tt.bottom===void 0||tt.bottom===null))if(st==="middle"){var ht=this.getBBoxSnapshot();ut={top:((lt||0)-ht.height)/2}}else ut=st==="bottom"?{bottom:at&&at.bottom||0}:{top:at&&at.top||0};return _objectSpread$A(_objectSpread$A({},ct),ut)}},{key:"render",value:function(){var tt=this,rt=this.props,nt=rt.content,it=rt.width,st=rt.height,at=rt.wrapperStyle,ot=rt.payloadUniqBy,lt=rt.payload,ct=_objectSpread$A(_objectSpread$A({position:"absolute",width:it||"auto",height:st||"auto"},this.getDefaultPosition(at)),at);return React$1.createElement("div",{className:"recharts-legend-wrapper",style:ct,ref:function(dt){tt.wrapperNode=dt}},renderContent$1(nt,_objectSpread$A(_objectSpread$A({},this.props),{},{payload:getUniqPayload(lt,ot,defaultUniqBy$1)})))}}],[{key:"getWithHeight",value:function(tt,rt){var nt=_objectSpread$A(_objectSpread$A({},this.defaultProps),tt.props),it=nt.layout;return it==="vertical"&&isNumber(tt.props.height)?{height:tt.props.height}:it==="horizontal"?{width:tt.props.width||rt}:null}}])}(reactExports.PureComponent);_defineProperty$G(Legend,"displayName","Legend");_defineProperty$G(Legend,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var Symbol$1=_Symbol,isArguments=isArguments_1,isArray$5=isArray_1,spreadableSymbol=Symbol$1?Symbol$1.isConcatSpreadable:void 0;function isFlattenable$1(_){return isArray$5(_)||isArguments(_)||!!(spreadableSymbol&&_&&_[spreadableSymbol])}var _isFlattenable=isFlattenable$1,arrayPush=_arrayPush,isFlattenable=_isFlattenable;function baseFlatten$2(_,j,et,tt,rt){var nt=-1,it=_.length;for(et||(et=isFlattenable),rt||(rt=[]);++nt<it;){var st=_[nt];j>0&&et(st)?j>1?baseFlatten$2(st,j-1,et,tt,rt):arrayPush(rt,st):tt||(rt[rt.length]=st)}return rt}var _baseFlatten=baseFlatten$2;function createBaseFor$1(_){return function(j,et,tt){for(var rt=-1,nt=Object(j),it=tt(j),st=it.length;st--;){var at=it[_?st:++rt];if(et(nt[at],at,nt)===!1)break}return j}}var _createBaseFor=createBaseFor$1,createBaseFor=_createBaseFor,baseFor$1=createBaseFor(),_baseFor=baseFor$1,baseFor=_baseFor,keys$2=keys_1;function baseForOwn$2(_,j){return _&&baseFor(_,j,keys$2)}var _baseForOwn=baseForOwn$2,isArrayLike$3=isArrayLike_1;function createBaseEach$1(_,j){return function(et,tt){if(et==null)return et;if(!isArrayLike$3(et))return _(et,tt);for(var rt=et.length,nt=j?rt:-1,it=Object(et);(j?nt--:++nt<rt)&&tt(it[nt],nt,it)!==!1;);return et}}var _createBaseEach=createBaseEach$1,baseForOwn$1=_baseForOwn,createBaseEach=_createBaseEach,baseEach$3=createBaseEach(baseForOwn$1),_baseEach=baseEach$3,baseEach$2=_baseEach,isArrayLike$2=isArrayLike_1;function baseMap$2(_,j){var et=-1,tt=isArrayLike$2(_)?Array(_.length):[];return baseEach$2(_,function(rt,nt,it){tt[++et]=j(rt,nt,it)}),tt}var _baseMap=baseMap$2;function baseSortBy$1(_,j){var et=_.length;for(_.sort(j);et--;)_[et]=_[et].value;return _}var _baseSortBy=baseSortBy$1,isSymbol$2=isSymbol_1;function compareAscending$1(_,j){if(_!==j){var et=_!==void 0,tt=_===null,rt=_===_,nt=isSymbol$2(_),it=j!==void 0,st=j===null,at=j===j,ot=isSymbol$2(j);if(!st&&!ot&&!nt&&_>j||nt&&it&&at&&!st&&!ot||tt&&it&&at||!et&&at||!rt)return 1;if(!tt&&!nt&&!ot&&_<j||ot&&et&&rt&&!tt&&!nt||st&&et&&rt||!it&&rt||!at)return-1}return 0}var _compareAscending=compareAscending$1,compareAscending=_compareAscending;function compareMultiple$1(_,j,et){for(var tt=-1,rt=_.criteria,nt=j.criteria,it=rt.length,st=et.length;++tt<it;){var at=compareAscending(rt[tt],nt[tt]);if(at){if(tt>=st)return at;var ot=et[tt];return at*(ot=="desc"?-1:1)}}return _.index-j.index}var _compareMultiple=compareMultiple$1,arrayMap$1=_arrayMap,baseGet=_baseGet,baseIteratee$8=_baseIteratee,baseMap$1=_baseMap,baseSortBy=_baseSortBy,baseUnary=_baseUnary,compareMultiple=_compareMultiple,identity$9=identity_1,isArray$4=isArray_1;function baseOrderBy$1(_,j,et){j.length?j=arrayMap$1(j,function(nt){return isArray$4(nt)?function(it){return baseGet(it,nt.length===1?nt[0]:nt)}:nt}):j=[identity$9];var tt=-1;j=arrayMap$1(j,baseUnary(baseIteratee$8));var rt=baseMap$1(_,function(nt,it,st){var at=arrayMap$1(j,function(ot){return ot(nt)});return{criteria:at,index:++tt,value:nt}});return baseSortBy(rt,function(nt,it){return compareMultiple(nt,it,et)})}var _baseOrderBy=baseOrderBy$1;function apply$1(_,j,et){switch(et.length){case 0:return _.call(j);case 1:return _.call(j,et[0]);case 2:return _.call(j,et[0],et[1]);case 3:return _.call(j,et[0],et[1],et[2])}return _.apply(j,et)}var _apply=apply$1,apply=_apply,nativeMax$3=Math.max;function overRest$1(_,j,et){return j=nativeMax$3(j===void 0?_.length-1:j,0),function(){for(var tt=arguments,rt=-1,nt=nativeMax$3(tt.length-j,0),it=Array(nt);++rt<nt;)it[rt]=tt[j+rt];rt=-1;for(var st=Array(j+1);++rt<j;)st[rt]=tt[rt];return st[j]=et(it),apply(_,this,st)}}var _overRest=overRest$1;function constant$2(_){return function(){return _}}var constant_1=constant$2,getNative=_getNative,defineProperty$2=function(){try{var _=getNative(Object,"defineProperty");return _({},"",{}),_}catch{}}(),_defineProperty$F=defineProperty$2,constant$1=constant_1,defineProperty$1=_defineProperty$F,identity$8=identity_1,baseSetToString$1=defineProperty$1?function(_,j){return defineProperty$1(_,"toString",{configurable:!0,enumerable:!1,value:constant$1(j),writable:!0})}:identity$8,_baseSetToString=baseSetToString$1,HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut$1(_){var j=0,et=0;return function(){var tt=nativeNow(),rt=HOT_SPAN-(tt-et);if(et=tt,rt>0){if(++j>=HOT_COUNT)return arguments[0]}else j=0;return _.apply(void 0,arguments)}}var _shortOut=shortOut$1,baseSetToString=_baseSetToString,shortOut=_shortOut,setToString$1=shortOut(baseSetToString),_setToString=setToString$1,identity$7=identity_1,overRest=_overRest,setToString=_setToString;function baseRest$1(_,j){return setToString(overRest(_,j,identity$7),_+"")}var _baseRest=baseRest$1,eq=eq_1,isArrayLike$1=isArrayLike_1,isIndex=_isIndex,isObject$3=isObject_1;function isIterateeCall$4(_,j,et){if(!isObject$3(et))return!1;var tt=typeof j;return(tt=="number"?isArrayLike$1(et)&&isIndex(j,et.length):tt=="string"&&j in et)?eq(et[j],_):!1}var _isIterateeCall=isIterateeCall$4,baseFlatten$1=_baseFlatten,baseOrderBy=_baseOrderBy,baseRest=_baseRest,isIterateeCall$3=_isIterateeCall,sortBy=baseRest(function(_,j){if(_==null)return[];var et=j.length;return et>1&&isIterateeCall$3(_,j[0],j[1])?j=[]:et>2&&isIterateeCall$3(j[0],j[1],j[2])&&(j=[j[0]]),baseOrderBy(_,baseFlatten$1(j,1),[])}),sortBy_1=sortBy;const sortBy$1=getDefaultExportFromCjs(sortBy_1);function _typeof$G(_){"@babel/helpers - typeof";return _typeof$G=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$G(_)}function _extends$q(){return _extends$q=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$q.apply(this,arguments)}function _slicedToArray$c(_,j){return _arrayWithHoles$d(_)||_iterableToArrayLimit$c(_,j)||_unsupportedIterableToArray$k(_,j)||_nonIterableRest$d()}function _nonIterableRest$d(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 866In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$k(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$k(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray$k(_,j)}}function _arrayLikeToArray$k(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}function _iterableToArrayLimit$c(_,j){var et=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(et!=null){var tt,rt,nt,it,st=[],at=!0,ot=!1;try{if(nt=(et=et.call(_)).next,j!==0)for(;!(at=(tt=nt.call(et)).done)&&(st.push(tt.value),st.length!==j);at=!0);}catch(lt){ot=!0,rt=lt}finally{try{if(!at&&et.return!=null&&(it=et.return(),Object(it)!==it))return}finally{if(ot)throw rt}}return st}}function _arrayWithHoles$d(_){if(Array.isArray(_))return _}function ownKeys$z(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$z(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$z(Object(et),!0).forEach(function(tt){_defineProperty$E(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$z(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$E(_,j,et){return j=_toPropertyKey$F(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$F(_){var j=_toPrimitive$F(_,"string");return _typeof$G(j)=="symbol"?j:j+""}function _toPrimitive$F(_,j){if(_typeof$G(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$G(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function defaultFormatter(_){return Array.isArray(_)&&isNumOrStr(_[0])&&isNumOrStr(_[1])?_.join(" ~ "):_}var DefaultTooltipContent=function _(j){var et=j.separator,tt=et===void 0?" : ":et,rt=j.contentStyle,nt=rt===void 0?{}:rt,it=j.itemStyle,st=it===void 0?{}:it,at=j.labelStyle,ot=at===void 0?{}:at,lt=j.payload,ct=j.formatter,ut=j.itemSorter,dt=j.wrapperClassName,ht=j.labelClassName,pt=j.label,gt=j.labelFormatter,ft=j.accessibilityLayer,mt=ft===void 0?!1:ft,xt=function(){if(lt&<.length){var jt={padding:0,margin:0},Dt=(ut?sortBy$1(lt,ut):lt).map(function(It,Ot){if(It.type==="none")return null;var At=_objectSpread$z({display:"block",paddingTop:4,paddingBottom:4,color:It.color||"#000"},st),Tt=It.formatter||ct||defaultFormatter,kt=It.value,St=It.name,Pt=kt,$t=St;if(Tt&&Pt!=null&&$t!=null){var Nt=Tt(kt,St,It,Ot,lt);if(Array.isArray(Nt)){var Mt=_slicedToArray$c(Nt,2);Pt=Mt[0],$t=Mt[1]}else Pt=Nt}return React$1.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(Ot),style:At},isNumOrStr($t)?React$1.createElement("span",{className:"recharts-tooltip-item-name"},$t):null,isNumOrStr($t)?React$1.createElement("span",{className:"recharts-tooltip-item-separator"},tt):null,React$1.createElement("span",{className:"recharts-tooltip-item-value"},Pt),React$1.createElement("span",{className:"recharts-tooltip-item-unit"},It.unit||""))});return React$1.createElement("ul",{className:"recharts-tooltip-item-list",style:jt},Dt)}return null},yt=_objectSpread$z({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},nt),vt=_objectSpread$z({margin:0},ot),bt=!isNil$1(pt),Et=bt?pt:"",_t=clsx("recharts-default-tooltip",dt),wt=clsx("recharts-tooltip-label",ht);bt&>&<!==void 0&<!==null&&(Et=gt(pt,lt));var Rt=mt?{role:"status","aria-live":"assertive"}:{};return React$1.createElement("div",_extends$q({className:_t,style:yt},Rt),React$1.createElement("p",{className:wt,style:vt},React$1.isValidElement(Et)?Et:"".concat(Et)),xt())};function _typeof$F(_){"@babel/helpers - typeof";return _typeof$F=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$F(_)}function _defineProperty$D(_,j,et){return j=_toPropertyKey$E(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$E(_){var j=_toPrimitive$E(_,"string");return _typeof$F(j)=="symbol"?j:j+""}function _toPrimitive$E(_,j){if(_typeof$F(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$F(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var CSS_CLASS_PREFIX="recharts-tooltip-wrapper",TOOLTIP_HIDDEN={visibility:"hidden"};function getTooltipCSSClassName(_){var j=_.coordinate,et=_.translateX,tt=_.translateY;return clsx(CSS_CLASS_PREFIX,_defineProperty$D(_defineProperty$D(_defineProperty$D(_defineProperty$D({},"".concat(CSS_CLASS_PREFIX,"-right"),isNumber(et)&&j&&isNumber(j.x)&&et>=j.x),"".concat(CSS_CLASS_PREFIX,"-left"),isNumber(et)&&j&&isNumber(j.x)&&et<j.x),"".concat(CSS_CLASS_PREFIX,"-bottom"),isNumber(tt)&&j&&isNumber(j.y)&&tt>=j.y),"".concat(CSS_CLASS_PREFIX,"-top"),isNumber(tt)&&j&&isNumber(j.y)&&tt<j.y))}function getTooltipTranslateXY(_){var j=_.allowEscapeViewBox,et=_.coordinate,tt=_.key,rt=_.offsetTopLeft,nt=_.position,it=_.reverseDirection,st=_.tooltipDimension,at=_.viewBox,ot=_.viewBoxDimension;if(nt&&isNumber(nt[tt]))return nt[tt];var lt=et[tt]-st-rt,ct=et[tt]+rt;if(j[tt])return it[tt]?lt:ct;if(it[tt]){var ut=lt,dt=at[tt];return ut<dt?Math.max(ct,at[tt]):Math.max(lt,at[tt])}var ht=ct+st,pt=at[tt]+ot;return ht>pt?Math.max(lt,at[tt]):Math.max(ct,at[tt])}function getTransformStyle(_){var j=_.translateX,et=_.translateY,tt=_.useTranslate3d;return{transform:tt?"translate3d(".concat(j,"px, ").concat(et,"px, 0)"):"translate(".concat(j,"px, ").concat(et,"px)")}}function getTooltipTranslate(_){var j=_.allowEscapeViewBox,et=_.coordinate,tt=_.offsetTopLeft,rt=_.position,nt=_.reverseDirection,it=_.tooltipBox,st=_.useTranslate3d,at=_.viewBox,ot,lt,ct;return it.height>0&&it.width>0&&et?(lt=getTooltipTranslateXY({allowEscapeViewBox:j,coordinate:et,key:"x",offsetTopLeft:tt,position:rt,reverseDirection:nt,tooltipDimension:it.width,viewBox:at,viewBoxDimension:at.width}),ct=getTooltipTranslateXY({allowEscapeViewBox:j,coordinate:et,key:"y",offsetTopLeft:tt,position:rt,reverseDirection:nt,tooltipDimension:it.height,viewBox:at,viewBoxDimension:at.height}),ot=getTransformStyle({translateX:lt,translateY:ct,useTranslate3d:st})):ot=TOOLTIP_HIDDEN,{cssProperties:ot,cssClasses:getTooltipCSSClassName({translateX:lt,translateY:ct,coordinate:et})}}function _typeof$E(_){"@babel/helpers - typeof";return _typeof$E=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$E(_)}function ownKeys$y(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$y(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$y(Object(et),!0).forEach(function(tt){_defineProperty$C(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$y(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _classCallCheck$j(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$j(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$D(tt.key),tt)}}function _createClass$j(_,j,et){return j&&_defineProperties$j(_.prototype,j),Object.defineProperty(_,"prototype",{writable:!1}),_}function _callSuper$f(_,j,et){return j=_getPrototypeOf$g(j),_possibleConstructorReturn$g(_,_isNativeReflectConstruct$g()?Reflect.construct(j,et||[],_getPrototypeOf$g(_).constructor):j.apply(_,et))}function _possibleConstructorReturn$g(_,j){if(j&&(_typeof$E(j)==="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$g(_)}function _assertThisInitialized$g(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _isNativeReflectConstruct$g(){try{var _=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$g=function(){return!!_})()}function _getPrototypeOf$g(_){return _getPrototypeOf$g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(et){return et.__proto__||Object.getPrototypeOf(et)},_getPrototypeOf$g(_)}function _inherits$g(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&_setPrototypeOf$g(_,j)}function _setPrototypeOf$g(_,j){return _setPrototypeOf$g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(tt,rt){return tt.__proto__=rt,tt},_setPrototypeOf$g(_,j)}function _defineProperty$C(_,j,et){return j=_toPropertyKey$D(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$D(_){var j=_toPrimitive$D(_,"string");return _typeof$E(j)=="symbol"?j:j+""}function _toPrimitive$D(_,j){if(_typeof$E(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$E(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var EPSILON=1,TooltipBoundingBox=function(_){function j(){var et;_classCallCheck$j(this,j);for(var tt=arguments.length,rt=new Array(tt),nt=0;nt<tt;nt++)rt[nt]=arguments[nt];return et=_callSuper$f(this,j,[].concat(rt)),_defineProperty$C(et,"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),_defineProperty$C(et,"handleKeyDown",function(it){if(it.key==="Escape"){var st,at,ot,lt;et.setState({dismissed:!0,dismissedAtCoordinate:{x:(st=(at=et.props.coordinate)===null||at===void 0?void 0:at.x)!==null&&st!==void 0?st:0,y:(ot=(lt=et.props.coordinate)===null||lt===void 0?void 0:lt.y)!==null&&ot!==void 0?ot:0}})}}),et}return _inherits$g(j,_),_createClass$j(j,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var tt=this.wrapperNode.getBoundingClientRect();(Math.abs(tt.width-this.state.lastBoundingBox.width)>EPSILON||Math.abs(tt.height-this.state.lastBoundingBox.height)>EPSILON)&&this.setState({lastBoundingBox:{width:tt.width,height:tt.height}})}else(this.state.lastBoundingBox.width!==-1||this.state.lastBoundingBox.height!==-1)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var tt,rt;this.props.active&&this.updateBBox(),this.state.dismissed&&(((tt=this.props.coordinate)===null||tt===void 0?void 0:tt.x)!==this.state.dismissedAtCoordinate.x||((rt=this.props.coordinate)===null||rt===void 0?void 0:rt.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var tt=this,rt=this.props,nt=rt.active,it=rt.allowEscapeViewBox,st=rt.animationDuration,at=rt.animationEasing,ot=rt.children,lt=rt.coordinate,ct=rt.hasPayload,ut=rt.isAnimationActive,dt=rt.offset,ht=rt.position,pt=rt.reverseDirection,gt=rt.useTranslate3d,ft=rt.viewBox,mt=rt.wrapperStyle,xt=getTooltipTranslate({allowEscapeViewBox:it,coordinate:lt,offsetTopLeft:dt,position:ht,reverseDirection:pt,tooltipBox:this.state.lastBoundingBox,useTranslate3d:gt,viewBox:ft}
866),yt=xt.cssClasses,vt=xt.cssProperties,bt=_objectSpread$y(_objectSpread$y({transition:ut&&nt?"transform ".concat(st,"ms ").concat(at):void 0},vt),{},{pointerEvents:"none",visibility:!this.state.dismissed&&nt&&ct?"visible":"hidden",position:"absolute",top:0,left:0},mt);return React$1.createElement("div",{tabIndex:-1,className:yt,style:bt,ref:function(_t){tt.wrapperNode=_t}},ot)}}])}(reactExports.PureComponent),parseIsSsrByDefault=function _(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},Global={isSsr:parseIsSsrByDefault(),get:function _(j){return Global[j]},set:function _(j,et){if(typeof j=="string")Global[j]=et;else{var tt=Object.keys(j);tt&&tt.length&&tt.forEach(function(rt){Global[rt]=j[rt]})}}};function _typeof$D(_){"@babel/helpers - typeof";return _typeof$D=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$D(_)}function ownKeys$x(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$x(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$x(Object(et),!0).forEach(function(tt){_defineProperty$B(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$x(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _classCallCheck$i(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$i(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$C(tt.key),tt)}}function _createClass$i(_,j,et){return j&&_defineProperties$i(_.prototype,j),Object.defineProperty(_,"prototype",{writable:!1}),_}function _callSuper$e(_,j,et){return j=_getPrototypeOf$f(j),_possibleConstructorReturn$f(_,_isNativeReflectConstruct$f()?Reflect.construct(j,et||[],_getPrototypeOf$f(_).constructor):j.apply(_,et))}function _possibleConstructorReturn$f(_,j){if(j&&(_typeof$D(j)==="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$f(_)}function _assertThisInitialized$f(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _isNativeReflectConstruct$f(){try{var _=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$f=function(){return!!_})()}function _getPrototypeOf$f(_){return _getPrototypeOf$f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(et){return et.__proto__||Object.getPrototypeOf(et)},_getPrototypeOf$f(_)}function _inherits$f(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&_setPrototypeOf$f(_,j)}function _setPrototypeOf$f(_,j){return _setPrototypeOf$f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(tt,rt){return tt.__proto__=rt,tt},_setPrototypeOf$f(_,j)}function _defineProperty$B(_,j,et){return j=_toPropertyKey$C(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$C(_){var j=_toPrimitive$C(_,"string");return _typeof$D(j)=="symbol"?j:j+""}function _toPrimitive$C(_,j){if(_typeof$D(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$D(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function defaultUniqBy(_){return _.dataKey}function renderContent(_,j){return React$1.isValidElement(_)?React$1.cloneElement(_,j):typeof _=="function"?React$1.createElement(_,j):React$1.createElement(DefaultTooltipContent,j)}var Tooltip=function(_){function j(){return _classCallCheck$i(this,j),_callSuper$e(this,j,arguments)}return _inherits$f(j,_),_createClass$i(j,[{key:"render",value:function(){var tt=this,rt=this.props,nt=rt.active,it=rt.allowEscapeViewBox,st=rt.animationDuration,at=rt.animationEasing,ot=rt.content,lt=rt.coordinate,ct=rt.filterNull,ut=rt.isAnimationActive,dt=rt.offset,ht=rt.payload,pt=rt.payloadUniqBy,gt=rt.position,ft=rt.reverseDirection,mt=rt.useTranslate3d,xt=rt.viewBox,yt=rt.wrapperStyle,vt=ht??[];ct&&vt.length&&(vt=getUniqPayload(ht.filter(function(Et){return Et.value!=null&&(Et.hide!==!0||tt.props.includeHidden)}),pt,defaultUniqBy));var bt=vt.length>0;return React$1.createElement(TooltipBoundingBox,{allowEscapeViewBox:it,animationDuration:st,animationEasing:at,isAnimationActive:ut,active:nt,coordinate:lt,hasPayload:bt,offset:dt,position:gt,reverseDirection:ft,useTranslate3d:mt,viewBox:xt,wrapperStyle:yt},renderContent(ot,_objectSpread$x(_objectSpread$x({},this.props),{},{payload:vt})))}}])}(reactExports.PureComponent);_defineProperty$B(Tooltip,"displayName","Tooltip");_defineProperty$B(Tooltip,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!Global.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var root=_root,now$1=function(){return root.Date.now()},now_1=now$1,reWhitespace=/\s/;function trimmedEndIndex$1(_){for(var j=_.length;j--&&reWhitespace.test(_.charAt(j)););return j}var _trimmedEndIndex=trimmedEndIndex$1,trimmedEndIndex=_trimmedEndIndex,reTrimStart=/^\s+/;function baseTrim$1(_){return _&&_.slice(0,trimmedEndIndex(_)+1).replace(reTrimStart,"")}var _baseTrim=baseTrim$1,baseTrim=_baseTrim,isObject$2=isObject_1,isSymbol$1=isSymbol_1,NAN=NaN,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber$2(_){if(typeof _=="number")return _;if(isSymbol$1(_))return NAN;if(isObject$2(_)){var j=typeof _.valueOf=="function"?_.valueOf():_;_=isObject$2(j)?j+"":j}if(typeof _!="string")return _===0?_:+_;_=baseTrim(_);var et=reIsBinary.test(_);return et||reIsOctal.test(_)?freeParseInt(_.slice(2),et?2:8):reIsBadHex.test(_)?NAN:+_}var toNumber_1=toNumber$2,isObject$1=isObject_1,now=now_1,toNumber$1=toNumber_1,FUNC_
vendor: 16,560 bytes, lines 866-872
866ERROR_TEXT$1="Expected a function",nativeMax$2=Math.max,nativeMin=Math.min;function debounce$1(_,j,et){var tt,rt,nt,it,st,at,ot=0,lt=!1,ct=!1,ut=!0;if(typeof _!="function")throw new TypeError(FUNC_ERROR_TEXT$1);j=toNumber$1(j)||0,isObject$1(et)&&(lt=!!et.leading,ct="maxWait"in et,nt=ct?nativeMax$2(toNumber$1(et.maxWait)||0,j):nt,ut="trailing"in et?!!et.trailing:ut);function dt(bt){var Et=tt,_t=rt;return tt=rt=void 0,ot=bt,it=_.apply(_t,Et),it}function ht(bt){return ot=bt,st=setTimeout(ft,j),lt?dt(bt):it}function pt(bt){var Et=bt-at,_t=bt-ot,wt=j-Et;return ct?nativeMin(wt,nt-_t):wt}function gt(bt){var Et=bt-at,_t=bt-ot;return at===void 0||Et>=j||Et<0||ct&&_t>=nt}function ft(){var bt=now();if(gt(bt))return mt(bt);st=setTimeout(ft,pt(bt))}function mt(bt){return st=void 0,ut&&tt?dt(bt):(tt=rt=void 0,it)}function xt(){st!==void 0&&clearTimeout(st),ot=0,tt=at=rt=st=void 0}function yt(){return st===void 0?it:mt(now())}function vt(){var bt=now(),Et=gt(bt);if(tt=arguments,rt=this,at=bt,Et){if(st===void 0)return ht(at);if(ct)return clearTimeout(st),st=setTimeout(ft,j),dt(at)}return st===void 0&&(st=setTimeout(ft,j)),it}return vt.cancel=xt,vt.flush=yt,vt}var debounce_1=debounce$1,debounce=debounce_1,isObject=isObject_1,FUNC_ERROR_TEXT="Expected a function";function throttle(_,j,et){var tt=!0,rt=!0;if(typeof _!="function")throw new TypeError(FUNC_ERROR_TEXT);return isObject(et)&&(tt="leading"in et?!!et.leading:tt,rt="trailing"in et?!!et.trailing:rt),debounce(_,j,{leading:tt,maxWait:j,trailing:rt})}var throttle_1=throttle;const throttle$1=getDefaultExportFromCjs(throttle_1);function _typeof$C(_){"@babel/helpers - typeof";return _typeof$C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$C(_)}function ownKeys$w(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$w(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$w(Object(et),!0).forEach(function(tt){_defineProperty$A(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$w(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$A(_,j,et){return j=_toPropertyKey$B(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$B(_){var j=_toPrimitive$B(_,"string");return _typeof$C(j)=="symbol"?j:j+""}function _toPrimitive$B(_,j){if(_typeof$C(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$C(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function _slicedToArray$b(_,j){return _arrayWithHoles$c(_)||_iterableToArrayLimit$b(_,j)||_unsupportedIterableToArray$j(_,j)||_nonIterableRest$c()}function _nonIterableRest$c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 867In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$j(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$j(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray$j(_,j)}}function _arrayLikeToArray$j(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}function _iterableToArrayLimit$b(_,j){var et=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(et!=null){var tt,rt,nt,it,st=[],at=!0,ot=!1;try{if(nt=(et=et.call(_)).next,j!==0)for(;!(at=(tt=nt.call(et)).done)&&(st.push(tt.value),st.length!==j);at=!0);}catch(lt){ot=!0,rt=lt}finally{try{if(!at&&et.return!=null&&(it=et.return(),Object(it)!==it))return}finally{if(ot)throw rt}}return st}}function _arrayWithHoles$c(_){if(Array.isArray(_))return _}var ResponsiveContainer=reactExports.forwardRef(function(_,j){var et=_.aspect,tt=_.initialDimension,rt=tt===void 0?{width:-1,height:-1}:tt,nt=_.width,it=nt===void 0?"100%":nt,st=_.height,at=st===void 0?"100%":st,ot=_.minWidth,lt=ot===void 0?0:ot,ct=_.minHeight,ut=_.maxHeight,dt=_.children,ht=_.debounce,pt=ht===void 0?0:ht,gt=_.id,ft=_.className,mt=_.onResize,xt=_.style,yt=xt===void 0?{}:xt,vt=reactExports.useRef(null),bt=reactExports.useRef();bt.current=mt,reactExports.useImperativeHandle(j,function(){return Object.defineProperty(vt.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),vt.current},configurable:!0})});var Et=reactExports.useState({containerWidth:rt.width,containerHeight:rt.height}),_t=_slicedToArray$b(Et,2),wt=_t[0],Rt=_t[1],Ct=reactExports.useCallback(function(Dt,It){Rt(function(Ot){var At=Math.round(Dt),Tt=Math.round(It);return Ot.containerWidth===At&&Ot.containerHeight===Tt?Ot:{containerWidth:At,containerHeight:Tt}})},[]);reactExports.useEffect(function(){var Dt=function(St){var Pt,$t=St[0].contentRect,Nt=$t.width,Mt=$t.height;Ct(Nt,Mt),(Pt=bt.current)===null||Pt===void 0||Pt.call(bt,Nt,Mt)};pt>0&&(Dt=throttle$1(Dt,pt,{trailing:!0,leading:!1}));var It=new ResizeObserver(Dt),Ot=vt.current.getBoundingClientRect(),At=Ot.width,Tt=Ot.height;return Ct(At,Tt),It.observe(vt.current),function(){It.disconnect()}},[Ct,pt]);var jt=reactExports.useMemo(function(){var Dt=wt.containerWidth,It=wt.containerHeight;if(Dt<0||It<0)return null;warn(isPercent(it)||isPercent(at),`The width(%s) and height(%s) are both fixed numbers, 868 maybe you don't need to use a ResponsiveContainer.`,it,at),warn(!et||et>0,"The aspect(%s) must be greater than zero.",et);var Ot=isPercent(it)?Dt:it,At=isPercent(at)?It:at;et&&et>0&&(Ot?At=Ot/et:At&&(Ot=At*et),ut&&At>ut&&(At=ut)),warn(Ot>0||At>0,`The width(%s) and height(%s) of chart should be greater than 0, 869 please check the style of container, or the props width(%s) and height(%s), 870 or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the 871 height and width.`,Ot,At,it,at,lt,ct,et);var Tt=!Array.isArray(dt)&&getDisplayName(dt.type).endsWith("Chart");return React$1.Children.map(dt,function(kt){return React$1.isValidElement(kt)?reactExports.cloneElement(kt,_objectSpread$w({width:Ot,height:At},Tt?{style:_objectSpread$w({height:"100%",width:"100%",maxHeight:At,maxWidth:Ot},kt.props.style)}:{})):kt})},[et,dt,at,ut,ct,lt,wt,it]);return React$1.createElement("div",{id:gt?"".concat(gt):void 0,className:clsx("recharts-responsive-container",ft),style:_objectSpread$w(_objectSpread$w({},yt),{},{width:it,height:at,minWidth:lt,minHeight:ct,maxHeight:ut}),ref:vt},jt)}),Cell=function _(j){return null};Cell.displayName="Cell";function _typeof$B(_){"@babel/helpers - typeof";return _typeof$B=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$B(_)}function ownKeys$v(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$v(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$v(Object(et),!0).forEach(function(tt){_defineProperty$z(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$v(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$z(_,j,et){return j=_toPropertyKey$A(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$A(_){var j=_toPrimitive$A(_,"string");return _typeof$B(j)=="symbol"?j:j+""}function _toPrimitive$A(_,j){if(_typeof$B(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$B(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var stringCache={widthCache:{},cacheCount:0},MAX_CACHE_NUM=2e3,SPAN_STYLE={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},MEASUREMENT_SPAN_ID="recharts_measurement_span";function removeInvalidKeys(_){var j=_objectSpread$v({},_);return Object.keys(j).forEach(function(et){j[et]||delete j[et]}),j}var getStringSize=function _(j){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(j==null||Global.isSsr)return{width:0,height:0};var tt=removeInvalidKeys(et),rt=JSON.stringify({text:j,copyStyle:tt});if(stringCache.widthCache[rt])return stringCache.widthCache[rt];try{var nt=document.getElementById(MEASUREMENT_SPAN_ID);nt||(nt=document.createElement("span"),nt.setAttribute("id",MEASUREMENT_SPAN_ID),nt.setAttribute("aria-hidden","true"),document.body.appendChild(nt));var it=_objectSpread$v(_objectSpread$v({},SPAN_STYLE),tt);Object.assign(nt.style,it),nt.textContent="".concat(j);var st=nt.getBoundingClientRect(),at={width:st.width,height:st.height};return stringCache.widthCache[rt]=at,++stringCache.cacheCount>MAX_CACHE_NUM&&(stringCache.cacheCount=0,stringCache.widthCache={}),at}catch{return{width:0,height:0}}},getOffset=function _(j){return{top:j.top+window.scrollY-document.documentElement.clientTop,left:j.left+window.scrollX-document.documentElement.clientLeft}};function _typeof$A(_){"@babel/helpers - typeof";return _typeof$A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$A(_)}function _slicedToArray$a(_,j){return _arrayWithHoles$b(_)||_iterableToArrayLimit$a(_,j)||_unsupportedIterableToArray$i(_,j)||_nonIterableRest$b()}function _nonIterableRest$b(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 872In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$i(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$i(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray$i(_,j)}}function _arrayLikeToArray$i(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}function _iterableToArrayLimit$a(_,j){var et=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(et!=null){var tt,rt,nt,it,st=[],at=!0,ot=!1;try{if(nt=(et=et.call(_)).next,j===0){if(Object(et)!==et)return;at=!1}else for(;!(at=(tt=nt.call(et)).done)&&(st.push(tt.value),st.length!==j);at=!0);}catch(lt){ot=!0,rt=lt}finally{try{if(!at&&et.return!=null&&(it=et.return(),Object(it)!==it))return}finally{if(ot)throw rt}}return st}}function _arrayWithHoles$b(_){if(Array.isArray(_))return _}function _classCallCheck$h(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$h(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$z(tt.key),tt)}}function _createClass$h(_,j,et){return j&&_defineProperties$h(_.prototype,j),et&&_defineProperties$h(_,et),Object.defineProperty(_,"prototype",{writable:!1}),_}function _toPropertyKey$z(_){var j=_toPrimitive$z(_,"string");return _typeof$A(j)=="symbol"?j:j+""}function _toPrimitive$z(_,j){if(_typeof$A(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j);if(_typeof$A(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(_)}var MULTIPLY_OR_DIVIDE_REGEX=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,ADD_OR_SUBTRACT_REGEX=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,CSS_LENGTH_UNIT_REGEX=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,NUM_SPLIT_REGEX=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,CONVERSION_RATES={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},FIXED_CSS_LENGTH_UNITS=Object.keys(CONVERSION_RATES),STR_NAN="NaN";function convertToPx(_,j){return _*CONVERSION_RATES[j]}var DecimalCSS=function(){function _(j,et){_classCallCheck$h(this,_),this.num=j,this.unit=et,this.num=j,this.unit=et,Number.isNaN(j)&&(this.unit=""),et!==""&&!CSS_LENGTH_UNIT_REGEX.test(et)&&(this.num=NaN,this.unit=""),FIXED_CSS_LENGTH_UNITS.includes(et)&&(this.num=convertToPx(j,et),this.unit="px")}return _createClass$h(_,[{key:"add",value:function(et){return this.unit!==et.unit?new _(NaN,""):new _(this.num+et.num,this.unit)}},{key:"subtract",value:function(et){return this.unit!==et.unit?new _(NaN,""):new _(this.num-et.num,this.unit)}},{key:"multiply",value:function(et){return this.unit!==""&&et.unit!==""&&this.unit!==et.unit?new _(NaN,""):new _(this.num*et.num,this.unit||et.unit)}},{key:"divide",value:function(et){return this.unit!==""&&et.unit!==""&&this.unit!==et.unit?new _(NaN,""):new _(this.num/et.num,this.unit||et.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],[{key:"parse",value:function(et){var tt,rt=(tt=NUM_SPLIT_REGEX.exec(et))!==null&&tt!==void 0?tt:[],nt=_slicedToArray$a(rt,3),it=nt[1],st=nt[2];return new _(parseFloat(it),st??"")}}])}();function calculateArithmetic(_){if(_.includes(STR_NAN))return STR_NAN;for(var j=_;j.includes("*")||j.includes("/");){var et,tt=(et=MULTIPLY_OR_DIVIDE_REGEX.exec(j))!==null&&et!==void 0?et:[],rt=_slicedToArray$a(tt,4),nt=rt[1],it=rt[2],st=rt[3],at=DecimalCSS.parse(nt??""),ot=DecimalCSS.parse(st??""),lt=it==="*"?at.multiply(ot):at.divide(ot);if(lt.isNaN())return STR_NAN;j=j.replace(MULTIPLY_OR_DIVIDE_REGEX,lt.toString())}for(;j.includes("+")||/.-\d+(?:\.\d+)?/.test(j);){var ct,ut=(ct=ADD_OR_SUBTRACT_REGEX.exec(j))!==null&&ct!==void 0?ct:[],dt=_slicedToArray$a(ut,4),ht=dt[1],pt=dt[2],gt=dt[3],ft=DecimalCSS.parse(ht??""),mt=DecimalCSS.parse(gt??""),xt=pt==="+"?ft.add(mt):ft.subtract(mt);if(xt.isNaN())return STR_NAN;j=j.replace(ADD_OR_SUBTRACT_REGEX,xt.toString())}return j}var PARENTHESES_REGEX=/\(([^()]*)\)/;function calculateParentheses(_){for(var j=_;j.includes("(");){var et=PARENTHESES_REGEX.exec(j),tt=_slicedToArray$a(et,2),rt=tt[1];j=j.replace(PARENTHESES_REGEX,calculateArithmetic(rt))}return j}function evaluateExpression(_){var j=_.replace(/\s+/g,"");return j=calculateParentheses(j),j=calculateArithmetic(j),j}function safeEvaluateExpression(_){try{return evaluateExpression(_)}catch{return STR_NAN}}function reduceCSSCalc(_){var j=safeEvaluateExpression(_.slice(5,-1));return j===STR_NAN?"":j}var _excluded$e=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],_excluded2$6=["dx","dy","angle","className","breakAll"];function _extends$p(){return _extends$p=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$p.apply(this,arguments)}function _objectWithoutProperties$e(_,j){if(_==null)return{};var et=_objectWithoutPropertiesLoose$e(_,j),tt,rt;if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(rt=0;rt<nt.length;rt++)tt=nt[rt],!(j.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(_,tt)&&(et[tt]=_[tt])}return et}function _objectWithoutPropertiesLoose$e(_,j){if(_==null)return{};var et={};for(var tt in _)if(Object.prototype.hasOwnProperty.call(_,tt)){if(j.indexOf(tt)>=0)continue;et[tt]=_[tt]}return et}function _slicedToArray$9(_,j){return _arrayWithHoles$a(_)||_iterableToArrayLimit$9(_,j)||_unsupportedIterableToArray$h(_,j)||_nonIterableRest$a()}function _nonIterableRest$a(){throw new TypeError(`Invalid attempt to de
872structure non-iterable instance. 873In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$h(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$h(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray$h(_,j)}}function _arrayLikeToArray$h(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}function _iterableToArrayLimit$9(_,j){var et=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(et!=null){var tt,rt,nt,it,st=[],at=!0,ot=!1;try{if(nt=(et=et.call(_)).next,j===0){if(Object(et)!==et)return;at=!1}else for(;!(at=(tt=nt.call(et)).done)&&(st.push(tt.value),st.length!==j);at=!0);}catch(lt){ot=!0,rt=lt}finally{try{if(!at&&et.return!=null&&(it=et.return(),Object(it)!==it))return}finally{if(ot)throw rt}}return st}}function _arrayWithHoles$a(_){if(Array.isArray(_))return _}var BREAKING_SPACES=/[ \f\n\r\t\v\u2028\u2029]+/,calculateWordWidths=function _(j){var et=j.children,tt=j.breakAll,rt=j.style;try{var nt=[];isNil$1(et)||(tt?nt=et.toString().split(""):nt=et.toString().split(BREAKING_SPACES));var it=nt.map(function(at){return{word:at,width:getStringSize(at,rt).width}}),st=tt?0:getStringSize(" ",rt).width;return{wordsWithComputedWidth:it,spaceWidth:st}}catch{return null}},calculateWordsByLines=function _(j,et,tt,rt,nt){var it=j.maxLines,st=j.children,at=j.style,ot=j.breakAll,lt=isNumber(it),ct=st,ut=function(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Ot.reduce(function(At,Tt){var kt=Tt.word,St=Tt.width,Pt=At[At.length-1];if(Pt&&(rt==null||nt||Pt.width+St+tt<Number(rt)))Pt.words.push(kt),Pt.width+=St+tt;else{var $t={words:[kt],width:St};At.push($t)}return At},[])},dt=ut(et),ht=function(Ot){return Ot.reduce(function(At,Tt){return At.width>Tt.width?At:Tt})};if(!lt)return dt;for(var pt="â¦",gt=function(Ot){var At=ct.slice(0,Ot),Tt=calculateWordWidths({breakAll:ot,style:at,children:At+pt}).wordsWithComputedWidth,kt=ut(Tt),St=kt.length>it||ht(kt).width>Number(rt);return[St,kt]},ft=0,mt=ct.length-1,xt=0,yt;ft<=mt&&xt<=ct.length-1;){var vt=Math.floor((ft+mt)/2),bt=vt-1,Et=gt(bt),_t=_slicedToArray$9(Et,2),wt=_t[0],Rt=_t[1],Ct=gt(vt),jt=_slicedToArray$9(Ct,1),Dt=jt[0];if(!wt&&!Dt&&(ft=vt+1),wt&&Dt&&(mt=vt-1),!wt&&Dt){yt=Rt;break}xt++}return yt||dt},getWordsWithoutCalculate=function _(j){var et=isNil$1(j)?[]:j.toString().split(BREAKING_SPACES);return[{words:et}]},getWordsByLines=function _(j){var et=j.width,tt=j.scaleToFit,rt=j.children,nt=j.style,it=j.breakAll,st=j.maxLines;if((et||tt)&&!Global.isSsr){var at,ot,lt=calculateWordWidths({breakAll:it,children:rt,style:nt});if(lt){var ct=lt.wordsWithComputedWidth,ut=lt.spaceWidth;at=ct,ot=ut}else return getWordsWithoutCalculate(rt);return calculateWordsByLines({breakAll:it,children:rt,maxLines:st,style:nt},at,ot,et,tt)}return getWordsWithoutCalculate(rt)},DEFAULT_FILL="#808080",Text=function _(j){var et=j.x,tt=et===void 0?0:et,rt=j.y,nt=rt===void 0?0:rt,it=j.lineHeight,st=it===void 0?"1em":it,at=j.capHeight,ot=at===void 0?"0.71em":at,lt=j.scaleToFit,ct=lt===void 0?!1:lt,ut=j.textAnchor,dt=ut===void 0?"start":ut,ht=j.verticalAnchor,pt=ht===void 0?"end":ht,gt=j.fill,ft=gt===void 0?DEFAULT_FILL:gt,mt=_objectWithoutProperties$e(j,_excluded$e),xt=reactExports.useMemo(function(){return getWordsByLines({breakAll:mt.breakAll,children:mt.children,maxLines:mt.maxLines,scaleToFit:ct,style:mt.style,width:mt.width})},[mt.breakAll,mt.children,mt.maxLines,ct,mt.style,mt.width]),yt=mt.dx,vt=mt.dy,bt=mt.angle,Et=mt.className,_t=mt.breakAll,wt=_objectWithoutProperties$e(mt,_excluded2$6);if(!isNumOrStr(tt)||!isNumOrStr(nt))return null;var Rt=tt+(isNumber(yt)?yt:0),Ct=nt+(isNumber(vt)?vt:0),jt;switch(pt){case"start":jt=reduceCSSCalc("calc(".concat(ot,")"));break;case"middle":jt=reduceCSSCalc("calc(".concat((xt.length-1)/2," * -").concat(st," + (").concat(ot," / 2))"));break;default:jt=reduceCSSCalc("calc(".concat(xt.length-1," * -").concat(st,")"));break}var Dt=[];
873if(ct){var It=xt[0].width,Ot=mt.width;Dt.push("scale(".concat((isNumber(Ot)?Ot/It:1)/It,")"))}return bt&&Dt.push("rotate(".concat(bt,", ").concat(Rt,", ").concat(Ct,")")),Dt.length&&(wt.transform=Dt.join(" ")),React$1.createElement("text",_extends$p({},filterProps(wt,!0),{x:Rt,y:Ct,className:clsx("recharts-text",Et),textAnchor:dt,fill:ft.includes("url")?DEFAULT_FILL:ft}),xt.map(function(At,Tt){var kt=At.words.join(_t?"":" ");return React$1.createElement("tspan",{x:Rt,dy:Tt===0?jt:st,key:"".concat(kt,"-").concat(Tt)},kt)}))};function ascending(_,j){return _==null||j==null?NaN:_<j?-1:_>j?1:_>=j?0:NaN}function descending(_,j){return _==null||j==null?NaN:j<_?-1:j>_?1:j>=_?0:NaN}function bisector(_){let j,et,tt;_.length!==2?(j=ascending,et=(st,at)=>ascending(_(st),at),tt=(st,at)=>_(st)-at):(j=_===ascending||_===descending?_:zero$1,et=_,tt=_);function rt(st,at,ot=0,lt=st.length){if(ot<lt){if(j(at,at)!==0)return lt;do{const ct=ot+lt>>>1;et(st[ct],at)<0?ot=ct+1:lt=ct}while(ot<lt)}return ot}function nt(st,at,ot=0,lt=st.length){if(ot<lt){if(j(at,at)!==0)return lt;do{const ct=ot+lt>>>1;et(st[ct],at)<=0?ot=ct+1:lt=ct}while(ot<lt)}return ot}function it(st,at,ot=0,lt=st.length){const ct=rt(st,at,ot,lt-1);return ct>ot&&tt(st[ct-1],at)>-tt(st[ct],at)?ct-1:ct}return{left:rt,center:it,right:nt}}function zero$1(){return 0}function number$2(_){return _===null?NaN:+_}function*numbers(_,j){for(let et of _)et!=null&&(et=+et)>=et&&(yield et)}const ascendingBisect=bisector(ascending),bisectRight=ascendingBisect.right;bisector(number$2).center;class InternMap extends Map{constructor(j,et=keyof){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:et}}),j!=null)for(const[tt,rt]of j)this.set(tt,rt)}get(j){return super.get(intern_get(this,j))}has(j){return super.has(intern_get(this,j))}set(j,et){return super.set(intern_set(this,j),et)}delete(j){return super.delete(intern_delete(this,j))}}function intern_get({_intern:_,_key:j},et){const tt=j(et);return _.has(tt)?_.get(tt):et}function intern_set({_intern:_,_key:j},et){const tt=j(et);return _.has(tt)?_.get(tt):(_.set(tt,et),et)}function intern_delete({_intern:_,_key:j},et){const tt=j(et);return _.has(tt)&&(et=_.get(tt),_.delete(tt)),et}function keyof(_){return _!==null&&typeof _=="object"?_.valueOf():_}function compareDefined(_=ascending){if(_===ascending)return ascendingDefined;if(typeof _!="function")throw new TypeError("compare is not a function");return(j,et)=>{const tt=_(j,et);return tt||tt===0?tt:(_(et,et)===0)-(_(j,j)===0)}}function ascendingDefined(_,j){return(_==null||!(_>=_))-(j==null||!(j>=j))||(_<j?-1:_>j?1:0)}const e10=Math.sqrt(50),e5=Math.sqrt(10),e2=Math.sqrt(2);function tickSpec(_,j,et){const tt=(j-_)/Math.max(0,et),rt=Math.floor(Math.log10(tt)),nt=tt/Math.pow(10,rt),it=nt>=e10?10:nt>=e5?5:nt>=e2?2:1;let st,at,ot;return rt<0?(ot=Math.pow(10,-rt)/it,st=Math.round(_*ot),at=Math.round(j*ot),st/ot<_&&++st,at/ot>j&&--at,ot=-ot):(ot=Math.pow(10,rt)*it,st=Math.round(_/ot),at=Math.round(j/ot),st*ot<_&&++st,at*ot>j&&--at),at<st&&.5<=et&&et<2?tickSpec(_,j,et*2):[st,at,ot]}function ticks(_,j,et){if(j=+j,_=+_,et=+et,!(et>0))return[];if(_===j)return[_];const tt=j<_,[rt,nt,it]=tt?tickSpec(j,_,et):tickSpec(_,j,et);if(!(nt>=rt))return[];const st=nt-rt+1,at=new Array(st);if(tt)if(it<0)for(let ot=0;ot<st;++ot)at[ot]=(nt-ot)/-it;else for(let ot=0;ot<st;++ot)at[ot]=(nt-ot)*it;else if(it<0)for(let ot=0;ot<st;++ot)at[ot]=(rt+ot)/-it;else for(let ot=0;ot<st;++ot)at[ot]=(rt+ot)*it;return at}function tickIncrement(_,j,et){return j=+j,_=+_,et=+et,tickSpec(_,j,et)[2]}function tickStep(_,j,et){j=+j,_=+_,et=+et;const tt=j<_,rt=tt?tickIncrement(j,_,et):tickIncrement(_,j,et);return(tt?-1:1)*(rt<0?1/-rt:rt)}function max$2(_,j){let et;for(const tt of _)tt!=null&&(et<tt||et===void 0&&tt>=tt)&&(et=tt);return et}function min$2(_,j){let et;for(const tt of _)tt!=null&&(et>tt||et===void 0&&tt>=tt)&&(et=tt);return et}function quickselect(_,j,et=0,tt=1/0,rt){if(j=Math.floor(j),et=Math.floor(Math.max(0,et)),tt=Math.floor(Math.min(_.length-1,tt)),!(et<=j&&j<=tt))return _;for(rt=rt===void 0?ascendingDefined:compareDefined(rt);tt>et;){if(tt-et>600){const at=tt-et+1,ot=j-et+1,lt=Math.log(at),ct=.5*Math.exp(2*lt/3),ut=.5*Math.sqrt(lt*ct*(at-ct)/at)*(ot-at/2<0?-1:1),dt=Math.max(et,Math.floor(j-ot*ct/at+ut)),ht=Math.min(tt,Math.floor(j+(at-ot)*ct/at+ut));quickselect(_,j,dt,ht,rt)}const nt=_[j];let it=et,st=tt;for(swap(_,et,j),rt(_[tt],nt)>0&&swap(_,et,tt);it<st;){for(swap(_,it,st),++it,--st;rt(_[it],nt)<0;)++it;for(;rt(_[st],nt)>0;)--st}rt(_[et],nt)===0?swap(_,et,st):(++st,swap(_,st,tt)),st<=j&&(et=st+1),j<=st&&(tt=st-1)}return _}function swap(_,j,et){const tt=_[j];_[j]=_[et],_[et]=tt}function quantile$1(_,j,et){if(_=Float64Array.from(numbers(_)),!(!(tt=_.length)||isNaN(j=+j))){if(j<=0||tt<2)return min$2(_);if(j>=1)return max$2(_);
873var tt,rt=(tt-1)*j,nt=Math.floor(rt),it=max$2(quickselect(_,nt).subarray(0,nt+1)),st=min$2(_.subarray(nt+1));return it+(st-it)*(rt-nt)}}function quantileSorted(_,j,et=number$2){if(!(!(tt=_.length)||isNaN(j=+j))){if(j<=0||tt<2)return+et(_[0],0,_);if(j>=1)return+et(_[tt-1],tt-1,_);var tt,rt=(tt-1)*j,nt=Math.floor(rt),it=+et(_[nt],nt,_),st=+et(_[nt+1],nt+1,_);return it+(st-it)*(rt-nt)}}function range$3(_,j,et){_=+_,j=+j,et=(rt=arguments.length)<2?(j=_,_=0,1):rt<3?1:+et;for(var tt=-1,rt=Math.max(0,Math.ceil((j-_)/et))|0,nt=new Array(rt);++tt<rt;)nt[tt]=_+tt*et;return nt}function initRange(_,j){switch(arguments.length){case 0:break;case 1:this.range(_);break;default:this.range(j).domain(_);break}return this}function initInterpolator(_,j){switch(arguments.length){case 0:break;case 1:{typeof _=="function"?this.interpolator(_):this.range(_);break}default:{this.domain(_),typeof j=="function"?this.interpolator(j):this.range(j);break}}return this}const implicit=Symbol("implicit");function ordinal(){var _=new InternMap,j=[],et=[],tt=implicit;function rt(nt){let it=_.get(nt);if(it===void 0){if(tt!==implicit)return tt;_.set(nt,it=j.push(nt)-1)}return et[it%et.length]}return rt.domain=function(nt){if(!arguments.length)return j.slice();j=[],_=new InternMap;for(const it of nt)_.has(it)||_.set(it,j.push(it)-1);return rt},rt.range=function(nt){return arguments.length?(et=Array.from(nt),rt):et.slice()},rt.unknown=function(nt){return arguments.length?(tt=nt,rt):tt},rt.copy=function(){return ordinal(j,et).unknown(tt)},initRange.apply(rt,arguments),rt}function band(){var _=ordinal().unknown(void 0),j=_.domain,et=_.range,tt=0,rt=1,nt,it,st=!1,at=0,ot=0,lt=.5;delete _.unknown;function ct(){var ut=j().length,dt=rt<tt,ht=dt?rt:tt,pt=dt?tt:rt;nt=(pt-ht)/Math.max(1,ut-at+ot*2),st&&(nt=Math.floor(nt)),ht+=(pt-ht-nt*(ut-at))*lt,it=nt*(1-at),st&&(ht=Math.round(ht),it=Math.round(it));var gt=range$3(ut).map(function(ft){return ht+nt*ft});return et(dt?gt.reverse():gt)}return _.domain=function(ut){return arguments.length?(j(ut),ct()):j()},_.range=function(ut){return arguments.length?([tt,rt]=ut,tt=+tt,rt=+rt,ct()):[tt,rt]},_.rangeRound=function(ut){return[tt,rt]=ut,tt=+tt,rt=+rt,st=!0,ct()},_.bandwidth=function(){return it},_.step=function(){return nt},_.round=function(ut){return arguments.length?(st=!!ut,ct()):st},_.padding=function(ut){return arguments.length?(at=Math.min(1,ot=+ut),ct()):at},_.paddingInner=function(ut){return arguments.length?(at=Math.min(1,ut),ct()):at},_.paddingOuter=function(ut){return arguments.length?(ot=+ut,ct()):ot},_.align=function(ut){return arguments.length?(lt=Math.max(0,Math.min(1,ut)),ct()):lt},_.copy=function(){return band(j(),[tt,rt]).round(st).paddingInner(at).paddingOuter(ot).align(lt)},initRange.apply(ct(),arguments)}function pointish(_){var j=_.copy;return _.padding=_.paddingOuter,delete _.paddingInner,delete _.paddingOuter,_.copy=function(){return pointish(j())},_}function point(){return pointish(band.apply(null,arguments).paddingInner(1))}function define(_,j,et){_.prototype=j.prototype=et,et.constructor=_}function extend(_,j){var et=Object.create(_.prototype);for(var tt in j)et[tt]=j[tt];return et}function Color(){}var darker=.7,brighter=1/darker,reI="\\s*([+-]?\\d+)\\s*",reN="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",reP="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",reHex=/^#([0-9a-f]{3,8})$/,reRgbInteger=new RegExp(`^rgb\\(${reI},${reI},${reI}\\)$`),reRgbPercent=new RegExp(`^rgb\\(${reP},${reP},${reP}\\)$`),reRgbaInteger=new RegExp(`^rgba\\(${reI},${reI},${reI},${reN}\\)$`),reRgbaPercent=new RegExp(`^rgba\\(${reP},${reP},${reP},${reN}\\)$`),reHslPercent=new RegExp(`^hsl\\(${reN},${reP},${reP}\\)$`),reHslaPercent=new RegExp(`^hsla\\(${reN},${reP},${reP},${reN}\\)$`),named={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};define(Color,color,{copy(_){return Object.assign(new this.constructor,this,_)},displayable(){return this.rgb().displayable()},hex:color_formatHex,formatHex:color_formatHex,formatHex8:color_formatHex8,formatHsl:color_formatHsl,formatRgb:color_formatRgb,toString:color_formatRgb});function color_formatHex(){return this.rgb().formatHex()}function color_formatHex8(){return this.rgb().formatHex8()}function color_formatHsl(){return hslConvert(this).formatHsl()}function color_formatRgb(){return this.rgb().formatRgb()}function color(_){var j,et;return _=(_+"").trim().toLowerCase(),(j=reHex.exec(_))?(et=j[1].length,j=parseInt(j[1],16),et===6?rgbn(j):et===3?new Rgb(j>>8&15|j>>4&240,j>>4&15|j&240,(j&15)<<4|j&15,1):et===8?rgba(j>>24&255,j>>16&255,j>>8&255,(j&255)/255):et===4?rgba(j>>12&15|j>>8&240,j>>8&15|j>>4&240,j>>4&15|j&240,((j&15)<<4|j&15)/255):null):(j=reRgbInteger.exec(_))?new Rgb(j[1],j[2],j[3],1):(j=reRgbPercent.exec(_))?new Rgb(j[1]*255/100,j[2]*255/100,j[3]*255/100,1):(j=reRgbaInteger.exec(_))?rgba(j[1],j[2],j[3],j[4]):(j=reRgbaPercent.exec(_))?rgba(j[1]*255/100,j[2]*255/100,j[3]*255/100,j[4]):(j=reHslPercent.exec(_))?hsla(j[1],j[2]/100,j[3]/100,1):(j=reHslaPercent.exec(_))?hsla(j[1],j[2]/100,j[3]/100,j[4]):named.hasOwnProperty(_)?rgbn(named[_]):_==="transparent"?new Rgb(NaN,NaN,NaN,0):null}function rgbn(_){return new Rgb(_>>16&255,_>>
vendor: 4,571 bytes, line 873
8738&255,_&255,1)}function rgba(_,j,et,tt){return tt<=0&&(_=j=et=NaN),new Rgb(_,j,et,tt)}function rgbConvert(_){return _ instanceof Color||(_=color(_)),_?(_=_.rgb(),new Rgb(_.r,_.g,_.b,_.opacity)):new Rgb}function rgb$1(_,j,et,tt){return arguments.length===1?rgbConvert(_):new Rgb(_,j,et,tt??1)}function Rgb(_,j,et,tt){this.r=+_,this.g=+j,this.b=+et,this.opacity=+tt}define(Rgb,rgb$1,extend(Color,{brighter(_){return _=_==null?brighter:Math.pow(brighter,_),new Rgb(this.r*_,this.g*_,this.b*_,this.opacity)},darker(_){return _=_==null?darker:Math.pow(darker,_),new Rgb(this.r*_,this.g*_,this.b*_,this.opacity)},rgb(){return this},clamp(){return new Rgb(clampi(this.r),clampi(this.g),clampi(this.b),clampa(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:rgb_formatHex,formatHex:rgb_formatHex,formatHex8:rgb_formatHex8,formatRgb:rgb_formatRgb,toString:rgb_formatRgb}));function rgb_formatHex(){return`#${hex(this.r)}${hex(this.g)}${hex(this.b)}`}function rgb_formatHex8(){return`#${hex(this.r)}${hex(this.g)}${hex(this.b)}${hex((isNaN(this.opacity)?1:this.opacity)*255)}`}function rgb_formatRgb(){const _=clampa(this.opacity);return`${_===1?"rgb(":"rgba("}${clampi(this.r)}, ${clampi(this.g)}, ${clampi(this.b)}${_===1?")":`, ${_})`}`}function clampa(_){return isNaN(_)?1:Math.max(0,Math.min(1,_))}function clampi(_){return Math.max(0,Math.min(255,Math.round(_)||0))}function hex(_){return _=clampi(_),(_<16?"0":"")+_.toString(16)}function hsla(_,j,et,tt){return tt<=0?_=j=et=NaN:et<=0||et>=1?_=j=NaN:j<=0&&(_=NaN),new Hsl(_,j,et,tt)}function hslConvert(_){if(_ instanceof Hsl)return new Hsl(_.h,_.s,_.l,_.opacity);if(_ instanceof Color||(_=color(_)),!_)return new Hsl;if(_ instanceof Hsl)return _;_=_.rgb();var j=_.r/255,et=_.g/255,tt=_.b/255,rt=Math.min(j,et,tt),nt=Math.max(j,et,tt),it=NaN,st=nt-rt,at=(nt+rt)/2;return st?(j===nt?it=(et-tt)/st+(et<tt)*6:et===nt?it=(tt-j)/st+2:it=(j-et)/st+4,st/=at<.5?nt+rt:2-nt-rt,it*=60):st=at>0&&at<1?0:it,new Hsl(it,st,at,_.opacity)}function hsl(_,j,et,tt){return arguments.length===1?hslConvert(_):new Hsl(_,j,et,tt??1)}function Hsl(_,j,et,tt){this.h=+_,this.s=+j,this.l=+et,this.opacity=+tt}define(Hsl,hsl,extend(Color,{brighter(_){return _=_==null?brighter:Math.pow(brighter,_),new Hsl(this.h,this.s,this.l*_,this.opacity)},darker(_){return _=_==null?darker:Math.pow(darker,_),new Hsl(this.h,this.s,this.l*_,this.opacity)},rgb(){var _=this.h%360+(this.h<0)*360,j=isNaN(_)||isNaN(this.s)?0:this.s,et=this.l,tt=et+(et<.5?et:1-et)*j,rt=2*et-tt;return new Rgb(hsl2rgb(_>=240?_-240:_+120,rt,tt),hsl2rgb(_,rt,tt),hsl2rgb(_<120?_+240:_-120,rt,tt),this.opacity)},clamp(){return new Hsl(clamph(this.h),clampt(this.s),clampt(this.l),clampa(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const _=clampa(this.opacity);return`${_===1?"hsl(":"hsla("}${clamph(this.h)}, ${clampt(this.s)*100}%, ${clampt(this.l)*100}%${_===1?")":`, ${_})`}`}}));function clamph(_){return _=(_||0)%360,_<0?_+360:_}function clampt(_){return Math.max(0,Math.min(1,_||0))}function hsl2rgb(_,j,et){return(_<60?j+(et-j)*_/60:_<180?et:_<240?j+(et-j)*(240-_)/60:j)*255}const constant=_=>()=>_;function linear$1(_,j){return function(et){return _+et*j}}function exponential(_,j,et){return _=Math.pow(_,et),j=Math.pow(j,et)-_,et=1/et,function(tt){return Math.pow(_+tt*j,et)}}function gamma(_){return(_=+_)==1?nogamma:function(j,et){return et-j?exponential(j,et,_):constant(isNaN(j)?et:j)}}function nogamma(_,j){var et=j-_;return et?linear$1(_,et):constant(isNaN(_)?j:_)}const rgb=function _(j){var et=gamma(j);function tt(rt,nt){var it=et((rt=rgb$1(rt)).r,(nt=rgb$1(nt)).r),st=et(rt.g,nt.g),at=et(rt.b,nt.b),ot=nogamma(rt.opacity,nt.opacity);return function(lt){return rt.r=it(lt),rt.g=st(lt),rt.b=at(lt),rt.opacity=ot(lt),rt+""}}return tt.gamma=_,tt}(1);function numberArray(_,j){j||(j=[]);var et=_?Math.min(j.length,_.length):0,tt=j.slice(),rt;return function(nt){for(rt=0;rt<et;++rt)tt[rt]=_[rt]*(1-nt)+j[rt]*nt;return tt}}function isNumberArray(_){return ArrayBuffer.isView(_)&&!(_ instanceof DataView)}function genericArray(_,j){var et=j?j.length:0,tt=_?Math.min(et,_.length):0,rt=new Array(tt),nt=new Array(et),it;for(it=0;it<tt;++it)rt[it]=interpolate(_[it],j[it]);for(;it<et;++it)nt[it]=j[it];return function(st){for(it=0;it<tt;++it)nt[it]=rt[it](st);return nt}}function date$1(_,j){var et=new Date;return _=+_,j=+j,function(tt){return et.setTime(_*(1-tt)+j*tt),et}}
vendor: 8,675 bytes, line 873
873function interpolateNumber$1(_,j){return _=+_,j=+j,function(et){return _*(1-et)+j*et}}function object(_,j){var et={},tt={},rt;(_===null||typeof _!="object")&&(_={}),(j===null||typeof j!="object")&&(j={});for(rt in j)rt in _?et[rt]=interpolate(_[rt],j[rt]):tt[rt]=j[rt];return function(nt){for(rt in et)tt[rt]=et[rt](nt);return tt}}var reA=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,reB=new RegExp(reA.source,"g");function zero(_){return function(){return _}}function one(_){return function(j){return _(j)+""}}function string(_,j){var et=reA.lastIndex=reB.lastIndex=0,tt,rt,nt,it=-1,st=[],at=[];for(_=_+"",j=j+"";(tt=reA.exec(_))&&(rt=reB.exec(j));)(nt=rt.index)>et&&(nt=j.slice(et,nt),st[it]?st[it]+=nt:st[++it]=nt),(tt=tt[0])===(rt=rt[0])?st[it]?st[it]+=rt:st[++it]=rt:(st[++it]=null,at.push({i:it,x:interpolateNumber$1(tt,rt)})),et=reB.lastIndex;return et<j.length&&(nt=j.slice(et),st[it]?st[it]+=nt:st[++it]=nt),st.length<2?at[0]?one(at[0].x):zero(j):(j=at.length,function(ot){for(var lt=0,ct;lt<j;++lt)st[(ct=at[lt]).i]=ct.x(ot);return st.join("")})}function interpolate(_,j){var et=typeof j,tt;return j==null||et==="boolean"?constant(j):(et==="number"?interpolateNumber$1:et==="string"?(tt=color(j))?(j=tt,rgb):string:j instanceof color?rgb:j instanceof Date?date$1:isNumberArray(j)?numberArray:Array.isArray(j)?genericArray:typeof j.valueOf!="function"&&typeof j.toString!="function"||isNaN(j)?object:interpolateNumber$1)(_,j)}function interpolateRound(_,j){return _=+_,j=+j,function(et){return Math.round(_*(1-et)+j*et)}}function piecewise(_,j){j===void 0&&(j=_,_=interpolate);for(var et=0,tt=j.length-1,rt=j[0],nt=new Array(tt<0?0:tt);et<tt;)nt[et]=_(rt,rt=j[++et]);return function(it){var st=Math.max(0,Math.min(tt-1,Math.floor(it*=tt)));return nt[st](it-st)}}function constants(_){return function(){return _}}function number$1(_){return+_}var unit=[0,1];function identity$6(_){return _}function normalize(_,j){return(j-=_=+_)?function(et){return(et-_)/j}:constants(isNaN(j)?NaN:.5)}function clamper(_,j){var et;return _>j&&(et=_,_=j,j=et),function(tt){return Math.max(_,Math.min(j,tt))}}function bimap(_,j,et){var tt=_[0],rt=_[1],nt=j[0],it=j[1];return rt<tt?(tt=normalize(rt,tt),nt=et(it,nt)):(tt=normalize(tt,rt),nt=et(nt,it)),function(st){return nt(tt(st))}}function polymap(_,j,et){var tt=Math.min(_.length,j.length)-1,rt=new Array(tt),nt=new Array(tt),it=-1;for(_[tt]<_[0]&&(_=_.slice().reverse(),j=j.slice().reverse());++it<tt;)rt[it]=normalize(_[it],_[it+1]),nt[it]=et(j[it],j[it+1]);return function(st){var at=bisectRight(_,st,1,tt)-1;return nt[at](rt[at](st))}}function copy$1(_,j){return j.domain(_.domain()).range(_.range()).interpolate(_.interpolate()).clamp(_.clamp()).unknown(_.unknown())}function transformer$2(){var _=unit,j=unit,et=interpolate,tt,rt,nt,it=identity$6,st,at,ot;function lt(){var ut=Math.min(_.length,j.length);return it!==identity$6&&(it=clamper(_[0],_[ut-1])),st=ut>2?polymap:bimap,at=ot=null,ct}function ct(ut){return ut==null||isNaN(ut=+ut)?nt:(at||(at=st(_.map(tt),j,et)))(tt(it(ut)))}return ct.invert=function(ut){return it(rt((ot||(ot=st(j,_.map(tt),interpolateNumber$1)))(ut)))},ct.domain=function(ut){return arguments.length?(_=Array.from(ut,number$1),lt()):_.slice()},ct.range=function(ut){return arguments.length?(j=Array.from(ut),lt()):j.slice()},ct.rangeRound=function(ut){return j=Array.from(ut),et=interpolateRound,lt()},ct.clamp=function(ut){return arguments.length?(it=ut?!0:identity$6,lt()):it!==identity$6},ct.interpolate=function(ut){return arguments.length?(et=ut,lt()):et},ct.unknown=function(ut){return arguments.length?(nt=ut,ct):nt},function(ut,dt){return tt=ut,rt=dt,lt()}}function continuous(){return transformer$2()(identity$6,identity$6)}function formatDecimal(_){return Math.abs(_=Math.round(_))>=1e21?_.toLocaleString("en").replace(/,/g,""):_.toString(10)}function formatDecimalParts(_,j){if((et=(_=j?_.toExponential(j-1):_.toExponential()).indexOf("e"))<0)return null;var et,tt=_.slice(0,et);return[tt.length>1?tt[0]+tt.slice(2):tt,+_.slice(et+1)]}function exponent(_){return _=formatDecimalParts(Math.abs(_)),_?_[1]:NaN}function formatGroup(_,j){return function(et,tt){for(var rt=et.length,nt=[],it=0,st=_[0],at=0;rt>0&&st>0&&(at+st+1>tt&&(st=Math.max(1,tt-at)),nt.push(et.substring(rt-=st,rt+st)),!((at+=st+1)>tt));)st=_[it=(it+1)%_.length];return nt.reverse().join(j)}}function formatNumerals(_){return function(j){return j.replace(/[0-9]/g,function(et){return _[+et]})}}var re=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function formatSpecifier(_){if(!(j=re.exec(_)))throw new Error("invalid format: "+_);var j;return new FormatSpecifier({fill:j[1],align:j[2],sign:j[3],symbol:j[4],zero:j[5],width:j[6],comma:j[7],precision:j[8]&&j[8].slice(1),trim:j[9],type:j[10]})}formatSpecifier.prototype=FormatSpecifier.prototype;function FormatSpecifier(_){this.fill=_.fill===void 0?" ":_.fill+"",this.align=_.align===void 0?">":_.align+"",this.sign=_.sign===void 0?"-":_.sign+"",this.symbol=_.symbol===void 0?"":_.symbol+"",this.zero=!!_.zero,this.width=_.width===void 0?void 0:+_.width,this.comma=!!_.comma,this.precision=_.precision===void 0?void 0:+_.precision,this.trim=!!_.trim,this.type=_.type===void 0?"":_.type+""}FormatSpecifier.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function formatTrim(_){e:for(var j=_.length,et=1,tt=-1,rt;et<j;++et)switch(_[et]){case".":tt=rt=et;break;case"0":tt===0&&(tt=et),rt=et;break;default:if(!+_[et])break e;tt>0&&(tt=0);break}return tt>0?_.slice(0,tt)+_.slice(rt+1):_}var prefixExponent;function formatPrefixAuto(_,j){var et=formatDecimalParts(_,j);if(!et)return _+"";var tt=et[0],rt=et[1],nt=rt-(prefixExponent=Math.max(-8,Math.min(8,Math.floor(rt/3)))*3)+1,it=tt.length;return nt===it?tt:nt>it?tt+new Array(nt-it+1).join("0"):nt>0?tt.slice(0,nt)+"."+tt.slice(nt):"0."+new Array(1-nt).join("0")+formatDecimalParts(_,Math.max(0,j+nt-1))[0]}function formatRounded(_,j){var et=formatDecimalParts(_,j);if(!et)return _+"";var tt=et[0],rt=et[1];return rt<0?"0."+new Array(-rt).join("0")+tt:tt.length>rt+1?tt.slice(0,rt+1)+"."+tt.slice(rt+1):tt+new Array(rt-tt.length+2).join("0")}const formatTypes={"%":(_,j)=>(_*100).toFixed(j),b:_=>Math.round(_).toString(2),c:_=>_+"",d:formatDecimal,e:(_,j)=>_.toExponential(j),f:(_,j)=>_.toFixed(j),g:(_,j)=>_.toPrecision(j),o:_=>Math.round(_).toString(8),p:(_,j)=>formatRounded(_*100,j),r:formatRounded,s:formatPrefixAuto,X:_=>Math.round(_).toString(16).toUpperCase(),x:_=>Math.round(_).toString(16)};function identity$5(_){return _}var map$3=Array.prototype.map,prefixes=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function formatLocale$1(_){var j=_.grouping===void 0||_.thousands===void 0?identity$5:formatGroup(map$3.call(_.grouping,Number),_.thousands+""),et=_.currency===void 0?"":_.currency[0]+"",tt=_.currency===void 0?"":_.currency[1]+"",rt=_.decimal===void 0?".":_.decimal+"",nt=_.numerals===void 0?identity$5:formatNumerals(map$3.call(_.numerals,String)),it=_.percent===void 0?"%":_.percent+"",st=_.minus===void 0?"â":_.minus+"",at=_.nan===void 0?"NaN":_.nan+"";function ot(ct){ct=formatSpecifier(ct);var ut=ct.fill,dt=ct.align,ht=ct.sign,pt=ct.symbol,gt=ct.zero,ft=ct.width,mt=ct.comma,xt=ct.precision,yt=ct.trim,vt=ct.type;vt==="n"?(mt=!0,vt="g"):formatTypes[vt]||(xt===void 0&&(xt=12),yt=!0,vt="g"),(gt||ut==="0"&&dt==="=")&&(gt=!0,ut="0",dt="=");var bt=pt==="$"?et:pt==="#"&&/[boxX]/.test(vt)?"0"+vt.toLowerCase():"",Et=pt==="$"?tt:/[%p]/.test(vt)?it:"",_t=formatTypes[vt],wt=/[defgprs%]/.test(vt);xt=xt===void 0?6:/[gprs]/.test(vt)?Math.max(1,Math.min(21,xt)):Math.max(0,Math.min(20,xt));function Rt(Ct){var jt=bt,Dt=Et,It,Ot,At;if(vt==="c")Dt=_t(Ct)+Dt,Ct="";else{Ct=+Ct;var Tt=Ct<0||1/Ct<0;if(Ct=isNaN(Ct)?at:_t(Math.abs(Ct),xt),yt&&(Ct=formatTrim(Ct)),Tt&&+Ct==0&&ht!=="+"&&(Tt=!1),jt=(Tt?ht==="("?ht:st:ht==="-"||ht==="("?"":ht)+jt,Dt=(vt==="s"?prefixes[8+prefixExponent/3]:"")+Dt+(Tt&&ht==="("?")":""),wt){for(It=-1,Ot=Ct.length;++It<Ot;)if(At=Ct.charCodeAt(It),48>At||At>57){Dt=(At===46?rt+Ct.slice(It+1):Ct.slice(It))+Dt,Ct=Ct.slice(0,It);break}}}mt&&!gt&&(Ct=j(Ct,1/0));var kt=jt.length+Ct.length+Dt.length,St=kt<ft?new Array(ft-kt+1).join(ut):"";switch(mt&>&&(Ct=j(St+Ct,St.length?ft-Dt.length:1/0),St=""),dt){case"<":Ct=jt+Ct+Dt+St;break;case"=":Ct=jt+St+Ct+Dt;break;case"^":Ct=St.slice(0,kt=St.length>>1)+jt+Ct+Dt+St.slice(kt);break;default:Ct=St+jt+Ct+Dt;break}return nt(Ct)}return Rt.toString=function(){return ct+""},Rt}
873function lt(ct,ut){var dt=ot((ct=formatSpecifier(ct),ct.type="f",ct)),ht=Math.max(-8,Math.min(8,Math.floor(exponent(ut)/3)))*3,pt=Math.pow(10,-ht),gt=prefixes[8+ht/3];return function(ft){return dt(pt*ft)+gt}}return{format:ot,formatPrefix:lt}}var locale$1,format,formatPrefix;defaultLocale$1({thousands:",",grouping:[3],currency:["$",""]});function defaultLocale$1(_){return locale$1=formatLocale$1(_),format=locale$1.format,formatPrefix=locale$1.formatPrefix,locale$1}function precisionFixed(_){return Math.max(0,-exponent(Math.abs(_)))}function precisionPrefix(_,j){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(exponent(j)/3)))*3-exponent(Math.abs(_)))}function precisionRound(_,j){return _=Math.abs(_),j=Math.abs(j)-_,Math.max(0,exponent(j)-exponent(_))+1}function tickFormat(_,j,et,tt){var rt=tickStep(_,j,et),nt;switch(tt=formatSpecifier(tt??",f"),tt.type){case"s":{var it=Math.max(Math.abs(_),Math.abs(j));return tt.precision==null&&!isNaN(nt=precisionPrefix(rt,it))&&(tt.precision=nt),formatPrefix(tt,it)}case"":case"e":case"g":case"p":case"r":{tt.precision==null&&!isNaN(nt=precisionRound(rt,Math.max(Math.abs(_),Math.abs(j))))&&(tt.precision=nt-(tt.type==="e"));break}case"f":case"%":{tt.precision==null&&!isNaN(nt=precisionFixed(rt))&&(tt.precision=nt-(tt.type==="%")*2);break}}return format(tt)}function linearish(_){var j=_.domain;return _.ticks=function(et){var tt=j();return ticks(tt[0],tt[tt.length-1],et??10)},_.tickFormat=function(et,tt){var rt=j();return tickFormat(rt[0],rt[rt.length-1],et??10,tt)},_.nice=function(et){et==null&&(et=10);var tt=j(),rt=0,nt=tt.length-1,it=tt[rt],st=tt[nt],at,ot,lt=10;for(st<it&&(ot=it,it=st,st=ot,ot=rt,rt=nt,nt=ot);lt-- >0;){if(ot=tickIncrement(it,st,et),ot===at)return tt[rt]=it,tt[nt]=st,j(tt);if(ot>0)it=Math.floor(it/ot)*ot,st=Math.ceil(st/ot)*ot;else if(ot<0)it=Math.ceil(it*ot)/ot,st=Math.floor(st*ot)/ot;else break;at=ot}return _},_}function linear(){var _=continuous();return _.copy=function(){return copy$1(_,linear())},initRange.apply(_,arguments),linearish(_)}function identity$4(_){var j;function et(tt){return tt==null||isNaN(tt=+tt)?j:tt}return et.invert=et,et.domain=et.range=function(tt){return arguments.length?(_=Array.from(tt,number$1),et):_.slice()},et.unknown=function(tt){return arguments.length?(j=tt,et):j},et.copy=function(){return identity$4(_).unknown(j)},_=arguments.length?Array.from(_,number$1):[0,1],linearish(et)}function nice(_,j){_=_.slice();var et=0,tt=_.length-1,rt=_[et],nt=_[tt],it;return nt<rt&&(it=et,et=tt,tt=it,it=rt,rt=nt,nt=it),_[et]=j.floor(rt),_[tt]=j.ceil(nt),_}function transformLog(_){return Math.log(_)}function transformExp(_){return Math.exp(_)}function transformLogn(_){return-Math.log(-_)}function transformExpn(_){return-Math.exp(-_)}function pow10(_){return isFinite(_)?+("1e"+_):_<0?0:_}function powp(_){return _===10?pow10:_===Math.E?Math.exp:j=>Math.pow(_,j)}function logp(_){return _===Math.E?Math.log:_===10&&Math.log10||_===2&&Math.log2||(_=Math.log(_),j=>Math.log(j)/_)}function reflect(_){return(j,et)=>-_(-j,et)}function loggish(_){const j=_(transformLog,transformExp),et=j.domain;let tt=10,rt,nt;function it(){return rt=logp(tt),nt=powp(tt),et()[0]<0?(rt=reflect(rt),nt=reflect(nt),_(transformLogn,transformExpn)):_(transformLog,transformExp),j}return j.base=function(st){return arguments.length?(tt=+st,it()):tt},j.domain=function(st){return arguments.length?(et(st),it()):et()},j.ticks=st=>{const at=et();let ot=at[0],lt=at[at.length-1];const ct=lt<ot;ct&&([ot,lt]=[lt,ot]);let ut=rt(ot),dt=rt(lt),ht,pt;const gt=st==null?10:+st;let ft=[];if(!(tt%1)&&dt-ut<gt){if(ut=Math.floor(ut),dt=Math.ceil(dt),ot>0){for(;ut<=dt;++ut)for(ht=1;ht<tt;++ht)if(pt=ut<0?ht/nt(-ut):ht*nt(ut),!(pt<ot)){if(pt>lt)break;ft.push(pt)}}else for(;ut<=dt;++ut)for(ht=tt-1;ht>=1;--ht)if(pt=ut>0?ht/nt(-ut):ht*nt(ut),!(pt<ot)){if(pt>lt)break;ft.push(pt)}ft.length*2<gt&&(ft=ticks(ot,lt,gt))}else ft=ticks(ut,dt,Math.min(dt-ut,gt)).map(nt);return ct?ft.reverse():ft},j.tickFormat=(st,at)=>{if(st==null&&(st=10),at==null&&(at=tt===10?"s":","),typeof at!="function"&&(!(tt%1)&&(at=formatSpecifier(at)).precision==null&&(at.trim=!0),at=format(at)),st===1/0)return at;const ot=Math.max(1,tt*st/j.ticks().length);return lt=>{let ct=lt/nt(Math.round(rt(lt)));return ct*tt<tt-.5&&(ct*=tt),ct<=ot?at(lt):""}},j.nice=()=>et(nice(et(),{floor:st=>nt(Math.floor(rt(st))),ceil:st=>nt(Math.ceil(rt(st)))})),j}function log(){const _=loggish(transformer$2()).domain([1,10]);return _.copy=()=>copy$1(_,log()).base(_.base()),initRange.apply(_,arguments),_}function transformSymlog(_){return function(j){return Math.sign(j)*Math.log1p(Math.abs(j/_))}}function transformSymexp(_){return function(j){return Math.sign(j)*Math.expm1(Math.abs(j))*_}}function symlogish(_){var j=1,et=_(transformSymlog(j),transformSymexp(j));return et.constant=function(tt){return arguments.length?_(transformSymlog(j=+tt),transformSymexp(j)):j},linearish(et)}function symlog(){var _=symlogish(transformer$2());return _.copy=function(){return copy$1(_,symlog()).constant(_.constant())},initRange.apply(_,arguments)}function transformPow(_){return function(j){return j<0?-Math.pow(-j,_):Math.pow(j,_)}}function transformSqrt(_){return _<0?-Math.sqrt(-_):Math.sqrt(_)}function transformSquare(_){return _<0?-_*_:_*_}function powish(_){var j=_(identity$6,identity$6),et=1;function tt(){return et===1?_(identity$6,identity$6):et===.5?_(transformSqrt,transformSquare):_(transformPow(et),transformPow(1/et))}return j.exponent=function(rt){return arguments.length?(et=+rt,tt()):et},linearish(j)}function pow(){var _=powish(transformer$2());return _.copy=function(){return copy$1(_,pow()).exponent(_.exponent())},initRange.apply(_,arguments),_}function sqrt(){return pow.apply(null,arguments).exponent(.5)}function square(_){return Math.sign(_)*_*_}function unsquare(_){return Math.sign(_)*Math.sqrt(Math.abs(_))}function radial(){var _=continuous(),j=[0,1],et=!1,tt;function rt(nt){var it=unsquare(_(nt));return isNaN(it)?tt:et?Math.round(it):it}return rt.invert=function(nt){return _.invert(square(nt))},rt.domain=function(nt){return arguments.length?(_.domain(nt),rt):_.domain()},rt.range=function(nt){return arguments.length?(_.range((j=Array.from(nt,number$1)).map(square)),rt):j.slice()},rt.rangeRound=function(nt){return rt.range(nt).round(!0)},rt.round=function(nt){return arguments.length?(et=!!nt,rt):et},rt.clamp=function(nt){return arguments.length?(_.clamp(nt),rt):_.clamp()},rt.unknown=function(nt){return arguments.length?(tt=nt,rt):tt},rt.copy=function(){return radial(_.domain(),j).round(et).clamp(_.clamp()).unknown(tt)},initRange.apply(rt,arguments),linearish(rt)}function quantile(){var _=[],j=[],et=[],tt;function rt(){var it=0,st=Math.max(1,j.length);for(et=new Array(st-1);++it<st;)et[it-1]=quantileSorted(_,it/st);return nt}function nt(it){return it==null||isNaN(it=+it)?tt:j[bisectRight(et,it)]}return nt.invertExtent=function(it){var st=j.indexOf(it);return st<0?[NaN,NaN]:[st>0?et[st-1]:_[0],st<et.length?et[st]:_[_.length-1]]},nt.domain=function(it){if(!arguments.length)return _.slice();_=[];for(let st of it)st!=null&&!isNaN(st=+st)&&_.push(st);return _.sort(ascending),rt()},nt.range=function(it){return arguments.length?(j=Array.from(it),rt()):j.slice()},nt.unknown=function(it){return arguments.length?(tt=it,nt):tt},nt.quantiles=function(){return et.slice()},nt.copy=function(){return quantile().domain(_).range(j).unknown(tt)},initRange.apply(nt,arguments)}function quantize(){var _=0,j=1,et=1,tt=[.5],rt=[0,1],nt;function it(at){return at!=null&&at<=at?rt[bisectRight(tt,at,0,et)]:nt}function st(){var at=-1;for(tt=new Array(et);++at<et;)tt[at]=((at+1)*j-(at-et)*_)/(et+1);return it}return it.domain=function(at){return arguments.length?([_,j]=at,_=+_,j=+j,st()):[_,j]},it.range=function(at){return arguments.length?(et=(rt=Array.from(at)).length-1,st()):rt.slice()},it.invertExtent=function(at){var ot=rt.indexOf(at);return ot<0?[NaN,NaN]:ot<1?[_,tt[0]]:ot>=et?[tt[et-1],j]:[tt[ot-1],tt[ot]]},it.unknown=function(at){return arguments.length&&(nt=at),it},it.thresholds=function(){return tt.slice()},it.copy=function(){return quantize().domain([_,j]).range(rt).unknown(nt)},initRange.apply(linearish(it),arguments)}function threshold(){var _=[.5],j=[0,1],et,tt=1;function rt(nt){return nt!=null&&nt<=nt?j[bisectRight(_,nt,0,tt)]:et}return rt.domain=function(nt){return arguments.length?(_=Array.from(nt),tt=Math.min(_.length,j.length-1),rt):_.slice()},rt.range=function(nt){return arguments.length?(j=Array.from(nt),tt=Math.min(_.length,j.length-1),rt):j.slice()},rt.invertExtent=function(nt){var it=j.indexOf(nt);return[_[it-1],_[it]]},rt.unknown=function(nt){return arguments.length?(et=nt,rt):et},rt.copy=function(){return threshold().domain(_).range(j).unknown(et)},initRange.apply(rt,arguments)}const t0=new Date,t1=new Date;function timeInterval(_,j,et,tt){function rt(nt){return _(nt=arguments.length===0?new Date:new Date(+nt)),nt}return rt.floor=nt=>(_(nt=new Date(+nt)),nt),rt.ceil=nt=>(_(nt=new Date(nt-1)),j(nt,1),_(nt),nt),rt.round=nt=>{const it=rt(nt),st=rt.ceil(nt);return nt-it<st-nt?it:st},rt.offset=(nt,it)=>(j(nt=new Date(+nt),it==null?1:Math.floor(it)),nt),rt.range=(nt,it,st)=>{const at=[];
vendor: 17,872 bytes, line 873
873if(nt=rt.ceil(nt),st=st==null?1:Math.floor(st),!(nt<it)||!(st>0))return at;let ot;do at.push(ot=new Date(+nt)),j(nt,st),_(nt);while(ot<nt&&nt<it);return at},rt.filter=nt=>timeInterval(it=>{if(it>=it)for(;_(it),!nt(it);)it.setTime(it-1)},(it,st)=>{if(it>=it)if(st<0)for(;++st<=0;)for(;j(it,-1),!nt(it););else for(;--st>=0;)for(;j(it,1),!nt(it););}),et&&(rt.count=(nt,it)=>(t0.setTime(+nt),t1.setTime(+it),_(t0),_(t1),Math.floor(et(t0,t1))),rt.every=nt=>(nt=Math.floor(nt),!isFinite(nt)||!(nt>0)?null:nt>1?rt.filter(tt?it=>tt(it)%nt===0:it=>rt.count(0,it)%nt===0):rt)),rt}const millisecond=timeInterval(()=>{},(_,j)=>{_.setTime(+_+j)},(_,j)=>j-_);millisecond.every=_=>(_=Math.floor(_),!isFinite(_)||!(_>0)?null:_>1?timeInterval(j=>{j.setTime(Math.floor(j/_)*_)},(j,et)=>{j.setTime(+j+et*_)},(j,et)=>(et-j)/_):millisecond);millisecond.range;const durationSecond=1e3,durationMinute=durationSecond*60,durationHour=durationMinute*60,durationDay=durationHour*24,durationWeek=durationDay*7,durationMonth=durationDay*30,durationYear=durationDay*365,second=timeInterval(_=>{_.setTime(_-_.getMilliseconds())},(_,j)=>{_.setTime(+_+j*durationSecond)},(_,j)=>(j-_)/durationSecond,_=>_.getUTCSeconds());second.range;const timeMinute=timeInterval(_=>{_.setTime(_-_.getMilliseconds()-_.getSeconds()*durationSecond)},(_,j)=>{_.setTime(+_+j*durationMinute)},(_,j)=>(j-_)/durationMinute,_=>_.getMinutes());timeMinute.range;const utcMinute=timeInterval(_=>{_.setUTCSeconds(0,0)},(_,j)=>{_.setTime(+_+j*durationMinute)},(_,j)=>(j-_)/durationMinute,_=>_.getUTCMinutes());utcMinute.range;const timeHour=timeInterval(_=>{_.setTime(_-_.getMilliseconds()-_.getSeconds()*durationSecond-_.getMinutes()*durationMinute)},(_,j)=>{_.setTime(+_+j*durationHour)},(_,j)=>(j-_)/durationHour,_=>_.getHours());timeHour.range;const utcHour=timeInterval(_=>{_.setUTCMinutes(0,0,0)},(_,j)=>{_.setTime(+_+j*durationHour)},(_,j)=>(j-_)/durationHour,_=>_.getUTCHours());utcHour.range;const timeDay=timeInterval(_=>_.setHours(0,0,0,0),(_,j)=>_.setDate(_.getDate()+j),(_,j)=>(j-_-(j.getTimezoneOffset()-_.getTimezoneOffset())*durationMinute)/durationDay,_=>_.getDate()-1);timeDay.range;const utcDay=timeInterval(_=>{_.setUTCHours(0,0,0,0)},(_,j)=>{_.setUTCDate(_.getUTCDate()+j)},(_,j)=>(j-_)/durationDay,_=>_.getUTCDate()-1);utcDay.range;const unixDay=timeInterval(_=>{_.setUTCHours(0,0,0,0)},(_,j)=>{_.setUTCDate(_.getUTCDate()+j)},(_,j)=>(j-_)/durationDay,_=>Math.floor(_/durationDay));unixDay.range;function timeWeekday(_){return timeInterval(j=>{j.setDate(j.getDate()-(j.getDay()+7-_)%7),j.setHours(0,0,0,0)},(j,et)=>{j.setDate(j.getDate()+et*7)},(j,et)=>(et-j-(et.getTimezoneOffset()-j.getTimezoneOffset())*durationMinute)/durationWeek)}const timeSunday=timeWeekday(0),timeMonday=timeWeekday(1),timeTuesday=timeWeekday(2),timeWednesday=timeWeekday(3),timeThursday=timeWeekday(4),timeFriday=timeWeekday(5),timeSaturday=timeWeekday(6);timeSunday.range;timeMonday.range;timeTuesday.range;timeWednesday.range;timeThursday.range;timeFriday.range;timeSaturday.range;function utcWeekday(_){return timeInterval(j=>{j.setUTCDate(j.getUTCDate()-(j.getUTCDay()+7-_)%7),j.setUTCHours(0,0,0,0)},(j,et)=>{j.setUTCDate(j.getUTCDate()+et*7)},(j,et)=>(et-j)/durationWeek)}const utcSunday=utcWeekday(0),utcMonday=utcWeekday(1),utcTuesday=utcWeekday(2),utcWednesday=utcWeekday(3),utcThursday=utcWeekday(4),utcFriday=utcWeekday(5),utcSaturday=utcWeekday(6);utcSunday.range;utcMonday.range;utcTuesday.range;utcWednesday.range;utcThursday.range;utcFriday.range;utcSaturday.range;const timeMonth=timeInterval(_=>{_.setDate(1),_.setHours(0,0,0,0)},(_,j)=>{_.setMonth(_.getMonth()+j)},(_,j)=>j.getMonth()-_.getMonth()+(j.getFullYear()-_.getFullYear())*12,_=>_.getMonth());timeMonth.range;const utcMonth=timeInterval(_=>{_.setUTCDate(1),_.setUTCHours(0,0,0,0)},(_,j)=>{_.setUTCMonth(_.getUTCMonth()+j)},(_,j)=>j.getUTCMonth()-_.getUTCMonth()+(j.getUTCFullYear()-_.getUTCFullYear())*12,_=>_.getUTCMonth());utcMonth.range;const timeYear=timeInterval(_=>{_.setMonth(0,1),_.setHours(0,0,0,0)},(_,j)=>{_.setFullYear(_.getFullYear()+j)},(_,j)=>j.getFullYear()-_.getFullYear(),_=>_.getFullYear());timeYear.every=_=>!isFinite(_=Math.floor(_))||!(_>0)?null:timeInterval(j=>{j.setFullYear(Math.floor(j.getFullYear()/_)*_),j.setMonth(0,1),j.setHours(0,0,0,0)},(j,et)=>{j.setFullYear(j.getFullYear()+et*_)});timeYear.range;const utcYear=timeInterval(_=>{_.setUTCMonth(0,1),_.setUTCHours(0,0,0,0)},(_,j)=>{_.setUTCFullYear(_.getUTCFullYear()+j)},(_,j)=>j.getUTCFullYear()-_.getUTCFullYear(),_=>_.getUTCFullYear());utcYear.every=_=>!isFinite(_=Math.floor(_))||!(_>0)?null:timeInterval(j=>{j.setUTCFullYear(Math.floor(j.getUTCFullYear()/_)*_),j.setUTCMonth(0,1),j.setUTCHours(0,0,0,0)},(j,et)=>{j.setUTCFullYear(j.getUTCFullYear()+et*_)});utcYear.range;function ticker(_,j,et,tt,rt,nt){const it=[[second,1,durationSecond],[second,5,5*durationSecond],[second,15,15*durationSecond],[second,30,30*durationSecond],[nt,1,durationMinute],[nt,5,5*durationMinute],[nt,15,15*durationMinute],[nt,30,30*durationMinute],[rt,1,durationHour],[rt,3,3*durationHour],[rt,6,6*durationHour],[rt,12,12*durationHour],[tt,1,durationDay],[tt,2,2*durationDay],[et,1,durationWeek],[j,1,durationMonth],[j,3,3*durationMonth],[_,1,durationYear]];function st(ot,lt,ct){const ut=lt<ot;ut&&([ot,lt]=[lt,ot]);const dt=ct&&typeof ct.range=="function"?ct:at(ot,lt,ct),ht=dt?dt.range(ot,+lt+1):[];return ut?ht.reverse():ht}function at(ot,lt,ct){const ut=Math.abs(lt-ot)/ct,dt=bisector(([,,gt])=>gt).right(it,ut);if(dt===it.length)return _.every(tickStep(ot/durationYear,lt/durationYear,ct));if(dt===0)return millisecond.every(Math.max(tickStep(ot,lt,ct),1));const[ht,pt]=it[ut/it[dt-1][2]<it[dt][2]/ut?dt-1:dt];return ht.every(pt)}return[st,at]}const[utcTicks,utcTickInterval]=ticker(utcYear,utcMonth,utcSunday,unixDay,utcHour,utcMinute),[timeTicks,timeTickInterval]=ticker(timeYear,timeMonth,timeSunday,timeDay,timeHour,timeMinute);function localDate(_){if(0<=_.y&&_.y<100){var j=new Date(-1,_.m,_.d,_.H,_.M,_.S,_.L);return j.setFullYear(_.y),j}return new Date(_.y,_.m,_.d,_.H,_.M,_.S,_.L)}function utcDate(_){if(0<=_.y&&_.y<100){var j=new Date(Date.UTC(-1,_.m,_.d,_.H,_.M,_.S,_.L));return j.setUTCFullYear(_.y),j}return new Date(Date.UTC(_.y,_.m,_.d,_.H,_.M,_.S,_.L))}function newDate(_,j,et){return{y:_,m:j,d:et,H:0,M:0,S:0,L:0}}function formatLocale(_){var j=_.dateTime,et=_.date,tt=_.time,rt=_.periods,nt=_.days,it=_.shortDays,st=_.months,at=_.shortMonths,ot=formatRe(rt),lt=formatLookup(rt),ct=formatRe(nt),ut=formatLookup(nt),dt=formatRe(it),ht=formatLookup(it),pt=formatRe(st),gt=formatLookup(st),ft=formatRe(at),mt=formatLookup(at),xt={a:Tt,A:kt,b:St,B:Pt,c:null,d:formatDayOfMonth,e:formatDayOfMonth,f:formatMicroseconds,g:formatYearISO,G:formatFullYearISO,H:formatHour24,I:formatHour12,j:formatDayOfYear,L:formatMilliseconds,m:formatMonthNumber,M:formatMinutes,p:$t,q:Nt,Q:formatUnixTimestamp,s:formatUnixTimestampSeconds,S:formatSeconds,u:formatWeekdayNumberMonday,U:formatWeekNumberSunday,V:formatWeekNumberISO,w:formatWeekdayNumberSunday,W:formatWeekNumberMonday,x:null,X:null,y:formatYear,Y:formatFullYear,Z:formatZone,"%":formatLiteralPercent},yt={a:Mt,A:Vt,b:Ht,B:Qt,c:null,d:formatUTCDayOfMonth,e:formatUTCDayOfMonth,f:formatUTCMicroseconds,g:formatUTCYearISO,G:formatUTCFullYearISO,H:formatUTCHour24,I:formatUTCHour12,j:formatUTCDayOfYear,L:formatUTCMilliseconds,m:formatUTCMonthNumber,M:formatUTCMinutes,p:er,q:ir,Q:formatUnixTimestamp,s:formatUnixTimestampSeconds,S:formatUTCSeconds,u:formatUTCWeekdayNumberMonday,U:formatUTCWeekNumberSunday,V:formatUTCWeekNumberISO,w:formatUTCWeekdayNumberSunday,W:formatUTCWeekNumberMonday,x:null,X:null,y:formatUTCYear,Y:formatUTCFullYear,Z:formatUTCZone,"%":formatLiteralPercent},vt={a:Rt,A:Ct,b:jt,B:Dt,c:It,d:parseDayOfMonth,e:parseDayOfMonth,f:parseMicroseconds,g:parseYear,G:parseFullYear,H:parseHour24,I:parseHour24,j:parseDayOfYear,L:parseMilliseconds,m:parseMonthNumber,M:parseMinutes,p:wt,q:parseQuarter,Q:parseUnixTimestamp,s:parseUnixTimestampSeconds,S:parseSeconds,u:parseWeekdayNumberMonday,U:parseWeekNumberSunday,V:parseWeekNumberISO,w:parseWeekdayNumberSunday,W:parseWeekNumberMonday,x:Ot,X:At,y:parseYear,Y:parseFullYear,Z:parseZone,"%":parseLiteralPercent};xt.x=bt(et,xt),xt.X=bt(tt,xt),xt.c=bt(j,xt),yt.x=bt(et,yt),yt.X=bt(tt,yt),yt.c=bt(j,yt);function bt(Jt,Gt){return function(Kt){var Bt=[],Zt=-1,qt=0,lr=Jt.length,ar,Yt,sr;for(Kt instanceof Date||(Kt=new Date(+Kt));++Zt<lr;)Jt.charCodeAt(Zt)===37&&(Bt.push(Jt.slice(qt,Zt)),(Yt=pads[ar=Jt.charAt(++Zt)])!=null?ar=Jt.charAt(++Zt):Yt=ar==="e"?" ":"0",(sr=Gt[ar])&&(ar=sr(Kt,Yt)),Bt.push(ar),qt=Zt+1);return Bt.push(Jt.slice(qt,Zt)),Bt.join("")}}function Et(Jt,Gt){return function(Kt){var Bt=newDate(1900,void 0,1),Zt=_t(Bt,Jt,Kt+="",0),qt,lr;if(Zt!=Kt.length)return null;if("Q"in Bt)return new Date(Bt.Q);if("s"in Bt)return new Date(Bt.s*1e3+("L"in Bt?Bt.L:0));if(Gt&&!("Z"in Bt)&&(Bt.Z=0),"p"in Bt&&(Bt.H=Bt.H%12+Bt.p*12),Bt.m===void 0&&(Bt.m="q"in Bt?Bt.q:0),"V"in Bt){if(Bt.V<1||Bt.V>53)return null;"w"in Bt||(Bt.w=1),"Z"in Bt?(qt=utcDate(newDate(Bt.y,0,1)),lr=qt.getUTCDay(),qt=lr>4||lr===0?utcMonday.ceil(qt):utcMonday(qt),qt=utcDay.offset(qt,(Bt.V-1)*7),Bt.y=qt.getUTCFullYear(),Bt.m=qt.getUTCMonth(),Bt.d=qt.getUTCDate()+(Bt.w+6)%7):(qt=localDate(newDate(Bt.y,0,1)),lr=qt.getDay(),qt=lr>4||lr===0?timeMonday.ceil(qt):timeMonday(qt),qt=timeDay.offset(qt,(Bt.V-1)*7),Bt.y=qt.getFullYear(),Bt.m=qt.getMonth(),Bt.d=qt.getDate()+(Bt.w+6)%7)}else("W"in Bt||"U"in Bt)&&("w"in Bt||(Bt.w="u"in Bt?Bt.u%7:"W"in Bt?1:0),lr="Z"in Bt?utcDate(newDate(Bt.y,0,1)).getUTCDay():localDate(newDate(Bt.y,0,1)).getDay(),Bt.m=0,Bt.d="W"in Bt?(Bt.w+6)%7+Bt.W*7-(lr+5)%7:Bt.w+Bt.U*7-(lr+6)%7);return"Z"in Bt?(Bt.H+=Bt.Z/100|0,Bt.M+=Bt.Z%100,utcDate(Bt)):localDate(Bt)}}function _t(Jt,Gt,Kt,Bt){for(var Zt=0,qt=Gt.length,lr=Kt.length,ar,Yt;Zt<qt;){if(Bt>=lr)return-1;if(ar=Gt.charCodeAt(Zt++),ar===37){if(ar=Gt.charAt(Zt++),Yt=vt[ar in pads?Gt.charAt(Zt++):ar],!Yt||(Bt=Yt(Jt,Kt,Bt))<0)return-1}else if(ar!=Kt.charCodeAt(Bt++))return-1}return Bt}function wt(Jt,Gt,Kt){var Bt=ot.exec(Gt.slice(Kt));return Bt?(Jt.p=lt.get(Bt[0].toLowerCase()),Kt+Bt[0].length):-1}function Rt(Jt,Gt,Kt){var Bt=dt.exec(Gt.slice(Kt));return Bt?(Jt.w=ht.get(Bt[0].toLowerCase()),Kt+Bt[0].length):-1}function Ct(Jt,Gt,Kt){var Bt=ct.exec(Gt.slice(Kt));return Bt?(Jt.w=ut.get(Bt[0].toLowerCase()),Kt+Bt[0].length):-1}function jt(Jt,Gt,Kt){var Bt=ft.exec(Gt.slice(Kt));return Bt?(Jt.m=mt.get(Bt[0].toLowerCase()),Kt+Bt[0].length):-1}function Dt(Jt,Gt,Kt){var Bt=pt.exec(Gt.slice(Kt));return Bt?(Jt.m=gt.get(Bt[0].toLowerCase()),Kt+Bt[0].length):-1}function It(Jt,Gt,Kt){return _t(Jt,j,Gt,Kt)}function Ot(Jt,Gt,Kt){return _t(Jt,et,Gt,Kt)}function At(Jt,Gt,Kt){return _t(Jt,tt,Gt,Kt)}function Tt(Jt){return it[Jt.getDay()]}function kt(Jt){return nt[Jt.getDay()]}function St(Jt){return at[Jt.getMonth()]}function Pt(Jt){return st[Jt.getMonth()]}function $t(Jt){return rt[+(Jt.getHours()>=12)]}function Nt(Jt){return 1+~~(Jt.getMonth()/3)}function Mt(Jt){return it[Jt.getUTCDay()]}function Vt(Jt){return nt[Jt.getUTCDay()]}function Ht(Jt){return at[Jt.getUTCMonth()]}function Qt(Jt){return st[Jt.getUTCMonth()]}function er(Jt){return rt[+(Jt.getUTCHours()>=12)]}function ir(Jt){return 1+~~(Jt.getUTCMonth()/3)}return{format:function(Jt){var Gt=bt(Jt+="",xt);return Gt.toString=function(){return Jt},Gt},parse:function(Jt){var Gt=Et(Jt+="",!1);return Gt.toString=function(){return Jt},Gt},utcFormat:function(Jt){var Gt=bt(Jt+="",yt);return Gt.toString=function(){return Jt},Gt},utcParse:function(Jt){var Gt=Et(Jt+="",!0);return Gt.toString=function(){return Jt},Gt}}}var pads={"-":"",_:" ",0:"0"},numberRe=/^\s*\d+/,percentRe=/^%/,requoteRe=/[\\^$*+?|[\]().{}]/g;function pad(_,j,et){var tt=_<0?"-":"",rt=(tt?-_:_)+"",nt=rt.length;return tt+(nt<et?new Array(et-nt+1).join(j)+rt:rt)}function requote(_){return _.replace(requoteRe,"\\$&")}function formatRe(_){return new RegExp("^(?:"+_.map(requote).join("|")+")","i")}function formatLookup(_){return new Map(_.map((j,et)=>[j.toLowerCase(),et]))}function parseWeekdayNumberSunday(_,j,et){var tt=numberRe.exec(j.slice(et,et+1));return tt?(_.w=+tt[0],et+tt[0].length):-1}function parseWeekdayNumberMonday(_,j,et){var tt=numberRe.exec(j.slice(et,et+1));return tt?(_.u=+tt[0],et+tt[0].length):-1}function parseWeekNumberSunday(_,j,et){var tt=numberRe.exec(j.slice(et,et+2));return tt?(_.U=+tt[0],et+tt[0].length):-1}function parseWeekNumberISO(_,j,et){var tt=numberRe.exec(j.slice(et,et+2));return tt?(_.V=+tt[0],et+tt[0].length):-1}function parseWeekNumberMonday(_,j,et){var tt=numberRe.exec(j.slice(et,et+2));return tt?(_.W=+tt[0],et+tt[0].length):-1}function parseFullYear(_,j,et){var tt=numberRe.exec(j.slice(et,et+4));return tt?(_.y=+tt[0],et+tt[0].length):-1}function parseYear(_,j,et){var tt=numberRe.exec(j.slice(et,et+2));return tt?(_.y=+tt[0]+(+tt[0]>68?1900:2e3),et+tt[0].length):-1}function parseZone(_,j,et){var tt=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(j.slice(et,et+6));return tt?(_.Z=tt[1]?0:-(tt[2]+(tt[3]||"00")),et+tt[0].length):-1}function parseQuarter(_,j,et){var tt=numberRe.exec(j.slice(et,et+1));return tt?(_.q=tt[0]*3-3,et+tt[0].length):-1}function parseMonthNumber(_,j,et){var tt=numberRe.exec(j.slice(et,et+2));return tt?(_.m=tt[0]-1,et+tt[0].length):-1}function parseDayOfMonth(_,j,et){var tt=numberRe.exec(j.slice(et,et+2));return tt?(_.d=+tt[0],et+tt[0].length):-1}function parseDayOfYear(_,j,et){var tt=numberRe.exec(j.slice(et,et+3));return tt?(_.m=0,_.d=+tt[0],et+tt[0].length):-1}function parseHour24(_,j,et){var tt=numberRe.exec(j.slice(et,et+2));return tt?(_.H=+tt[0],et+tt[0].length):-1}function parseMinutes(_,j,et){var tt=numberRe.exec(j.slice(et,et+2));return tt?(_.M=+tt[0],et+tt[0].length):-1}function parseSeconds(_,j,et){var tt=numberRe.exec(j.slice(et,et+2));return tt?(_.S=+tt[0],et+tt[0].length):-1}function parseMilliseconds(_,j,et){var tt=numberRe.exec(j.slice(et,et+3));return tt?(_.L=+tt[0],et+tt[0].length):-1}function parseMicroseconds(_,j,et){var tt=numberRe.exec(j.slice(et,et+6));return tt?(_.L=Math.floor(tt[0]/1e3),et+tt[0].length):-1}function parseLiteralPercent(_,j,et){var tt=percentRe.exec(j.slice(et,et+1));return tt?et+tt[0].length:-1}function parseUnixTimestamp(_,j,et){var tt=numberRe.exec(j.slice(et));return tt?(_.Q=+tt[0],et+tt[0].length):-1}function parseUnixTimestampSeconds(_,j,et){var tt=numberRe.exec(j.slice(et));return tt?(_.s=+tt[0],et+tt[0].length):-1}function formatDayOfMonth(_,j){return pad(_.getDate(),j,2)}function formatHour24(_,j){return pad(_.getHours(),j,2)}function formatHour12(_,j){return pad(_.getHours()%12||12,j,2)}function formatDayOfYear(_,j){return pad(1+timeDay.count(timeYear(_),_),j,3)}function formatMilliseconds(_,j){return pad(_.getMilliseconds(),j,3)}function formatMicroseconds(_,j){return formatMilliseconds(_,j)+"000"}function formatMonthNumber(_,j){return pad(_.getMonth()+1,j,2)}function formatMinutes(_,j){return pad(_.getMinutes(),j,2)}function formatSeconds(_,j){return pad(_.getSeconds(),j,2)}function formatWeekdayNumberMonday(_){var j=_.getDay();return j===0?7:j}function formatWeekNumberSunday(_,j){return pad(timeSunday.count(timeYear(_)-1,_),j,2)}function dISO(_){var j=_.getDay();return j>=4||j===0?timeThursday(_):timeThursday.ceil(_)}function formatWeekNumberISO(_,j){return _=dISO(_),pad(timeThursday.count(timeYear(_),_)+(timeYear(_).getDay()===4),j,2)}function formatWeekdayNumberSunday(_){return _.getDay()}function formatWeekNumberMonday(_,j){return pad(timeMonday.count(timeYear(_)-1,_),j,2)}function formatYear(_,j){return pad(_.getFullYear()%100,j,2)}function formatYearISO(_,j){return _=dISO(_),pad(_.getFullYear()%100,j,2)}function formatFullYear(_,j){return pad(_.getFullYear()%1e4,j,4)}function formatFullYearISO(_,j){var et=_.getDay();return _=et>=4||et===0?timeThursday(_):timeThursday.ceil(_),pad(_.getFullYear()%1e4,j,4)}function formatZone(_){var j=_.getTimezoneOffset();return(j>0?"-":(j*=-1,"+"))+pad(j/60|0,"0",2)+pad(j%60,"0",2)}function formatUTCDayOfMonth(_,j){return pad(_.getUTCDate(),j,2)}function formatUTCHour24(_,j){return pad(_.getUTCHours(),j,2)}function formatUTCHour12(_,j){return pad(_.getUTCHours()%12||12,j,2)}function formatUTCDayOfYear(_,j){return pad(1+utcDay.count(utcYear(_),_),j,3)}function formatUTCMilliseconds(_,j){return pad(_.getUTCMilliseconds(),j,3)}function formatUTCMicroseconds(_,j){return formatUTCMilliseconds(_,j)+"000"}function formatUTCMonthNumber(_,j){return pad(_.getUTCMonth()+1,j,2)}function formatUTCMinutes(_,j){return pad(_.getUTCMinutes(),j,2)}function formatUTCSeconds(_,j){return pad(_.getUTCSeconds(),j,2)}function formatUTCWeekdayNumberMonday(_){var j=_.getUTCDay();return j===0?7:j}function formatUTCWeekNumberSunday(_,j){return pad(utcSunday.count(utcYear(_)-1,_),j,2)}function UTCdISO(_){var j=_.getUTCDay();return j>=4||j===0?utcThursday(_):utcThursday.ceil(_)}function formatUTCWeekNumberISO(_,j){return _=UTCdISO(_),pad(utcThursday.count(utcYear(_),_)+(utcYear(_).getUTCDay()===4),j,2)}function formatUTCWeekdayNumberSunday(_){return _.getUTCDay()}function formatUTCWeekNumberMonday(_,j){return pad(utcMonday.count(utcYear(_)-1,_),j,2)}function formatUTCYear(_,j){return pad(_.getUTCFullYear()%100,j,2)}function formatUTCYearISO(_,j){return _=UTCdISO(_),pad(_.getUTCFullYear()%100,j,2)}function formatUTCFullYear(_,j){return pad(_.getUTCFullYear()%1e4,j,4)}function formatUTCFullYearISO(_,j){var et=_.getUTCDay();return _=et>=4||et===0?utcThursday(_):utcThursday.ceil(_),pad(_.getUTCFullYear()%1e4,j,4)}function formatUTCZone(){return"+0000"}function formatLiteralPercent(){return"%"}function formatUnixTimestamp(_){return+_}function formatUnixTimestampSeconds(_){return Math.floor(+_/1e3)}var locale,timeFormat,utcFormat;defaultLocale({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
873ay","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function defaultLocale(_){return locale=formatLocale(_),timeFormat=locale.format,locale.parse,utcFormat=locale.utcFormat,locale.utcParse,locale}function date(_){return new Date(_)}function number(_){return _ instanceof Date?+_:+new Date(+_)}function calendar(_,j,et,tt,rt,nt,it,st,at,ot){var lt=continuous(),ct=lt.invert,ut=lt.domain,dt=ot(".%L"),ht=ot(":%S"),pt=ot("%I:%M"),gt=ot("%I %p"),ft=ot("%a %d"),mt=ot("%b %d"),xt=ot("%B"),yt=ot("%Y");function vt(bt){return(at(bt)<bt?dt:st(bt)<bt?ht:it(bt)<bt?pt:nt(bt)<bt?gt:tt(bt)<bt?rt(bt)<bt?ft:mt:et(bt)<bt?xt:yt)(bt)}return lt.invert=function(bt){return new Date(ct(bt))},lt.domain=function(bt){return arguments.length?ut(Array.from(bt,number)):ut().map(date)},lt.ticks=function(bt){var Et=ut();return _(Et[0],Et[Et.length-1],bt??10)},lt.tickFormat=function(bt,Et){return Et==null?vt:ot(Et)},lt.nice=function(bt){var Et=ut();return(!bt||typeof bt.range!="function")&&(bt=j(Et[0],Et[Et.length-1],bt??10)),bt?ut(nice(Et,bt)):lt},lt.copy=function(){return copy$1(lt,calendar(_,j,et,tt,rt,nt,it,st,at,ot))},lt}function time(){return initRange.apply(calendar(timeTicks,timeTickInterval,timeYear,timeMonth,timeSunday,timeDay,timeHour,timeMinute,second,timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function utcTime(){return initRange.apply(calendar(utcTicks,utcTickInterval,utcYear,utcMonth,utcSunday,utcDay,utcHour,utcMinute,second,utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function transformer$1(){var _=0,j=1,et,tt,rt,nt,it=identity$6,st=!1,at;function ot(ct){return ct==null||isNaN(ct=+ct)?at:it(rt===0?.5:(ct=(nt(ct)-et)*rt,st?Math.max(0,Math.min(1,ct)):ct))}ot.domain=function(ct){return arguments.length?([_,j]=ct,et=nt(_=+_),tt=nt(j=+j),rt=et===tt?0:1/(tt-et),ot):[_,j]},ot.clamp=function(ct){return arguments.length?(st=!!ct,ot):st},ot.interpolator=function(ct){return arguments.length?(it=ct,ot):it};function lt(ct){return function(ut){var dt,ht;return arguments.length?([dt,ht]=ut,it=ct(dt,ht),ot):[it(0),it(1)]}}return ot.range=lt(interpolate),ot.rangeRound=lt(interpolateRound),ot.unknown=function(ct){return arguments.length?(at=ct,ot):at},function(ct){return nt=ct,et=ct(_),tt=ct(j),rt=et===tt?0:1/(tt-et),ot}}function copy(_,j){return j.domain(_.domain()).interpolator(_.interpolator()).clamp(_.clamp()).unknown(_.unknown())}function sequential(){var _=linearish(transformer$1()(identity$6));return _.copy=function(){return copy(_,sequential())},initInterpolator.apply(_,arguments)}function sequentialLog(){var _=loggish(transformer$1()).domain([1,10]);return _.copy=function(){return copy(_,sequentialLog()).base(_.base())},initInterpolator.apply(_,arguments)}function sequentialSymlog(){var _=symlogish(transformer$1());return _.copy=function(){return copy(_,sequentialSymlog()).constant(_.constant())},initInterpolator.apply(_,arguments)}function sequentialPow(){var _=powish(transformer$1());return _.copy=function(){return copy(_,sequentialPow()).exponent(_.exponent())},initInterpolator.apply(_,arguments)}function sequentialSqrt(){return sequentialPow.apply(null,arguments).exponent(.5)}function sequentialQuantile(){var _=[],j=identity$6;function et(tt){if(tt!=null&&!isNaN(tt=+tt))return j((bisectRight(_,tt,1)-1)/(_.length-1))}return et.domain=function(tt){if(!arguments.length)return _.slice();_=[];for(let rt of tt)rt!=null&&!isNaN(rt=+rt)&&_.push(rt);return _.sort(ascending),et},et.interpolator=function(tt){return arguments.length?(j=tt,et):j},et.range=function(){return _.map((tt,rt)=>j(rt/(_.length-1)))},et.quantiles=function(tt){return Array.from({length:tt+1},(rt,nt)=>quantile$1(_,nt/tt))},et.copy=function(){return sequentialQuantile(j).domain(_)},initInterpolator.apply(et,arguments)}function transformer(){var _=0,j=.5,et=1,tt=1,rt,nt,it,st,at,ot=identity$6,lt,ct=!1,ut;function dt(pt){return isNaN(pt=+pt)?ut:(pt=.5+((pt=+lt(pt))-nt)*(tt*pt<tt*nt?st:at),ot(ct?Math.max(0,Math.min(1,pt)):pt))}dt.domain=function(pt){return arguments.length?([_,j,et]=pt,rt=lt(_=+_),nt=lt(j=+j),it=lt(et
vendor: 81,765 bytes, lines 873-900
873=+et),st=rt===nt?0:.5/(nt-rt),at=nt===it?0:.5/(it-nt),tt=nt<rt?-1:1,dt):[_,j,et]},dt.clamp=function(pt){return arguments.length?(ct=!!pt,dt):ct},dt.interpolator=function(pt){return arguments.length?(ot=pt,dt):ot};function ht(pt){return function(gt){var ft,mt,xt;return arguments.length?([ft,mt,xt]=gt,ot=piecewise(pt,[ft,mt,xt]),dt):[ot(0),ot(.5),ot(1)]}}return dt.range=ht(interpolate),dt.rangeRound=ht(interpolateRound),dt.unknown=function(pt){return arguments.length?(ut=pt,dt):ut},function(pt){return lt=pt,rt=pt(_),nt=pt(j),it=pt(et),st=rt===nt?0:.5/(nt-rt),at=nt===it?0:.5/(it-nt),tt=nt<rt?-1:1,dt}}function diverging(){var _=linearish(transformer()(identity$6));return _.copy=function(){return copy(_,diverging())},initInterpolator.apply(_,arguments)}function divergingLog(){var _=loggish(transformer()).domain([.1,1,10]);return _.copy=function(){return copy(_,divergingLog()).base(_.base())},initInterpolator.apply(_,arguments)}function divergingSymlog(){var _=symlogish(transformer());return _.copy=function(){return copy(_,divergingSymlog()).constant(_.constant())},initInterpolator.apply(_,arguments)}function divergingPow(){var _=powish(transformer());return _.copy=function(){return copy(_,divergingPow()).exponent(_.exponent())},initInterpolator.apply(_,arguments)}function divergingSqrt(){return divergingPow.apply(null,arguments).exponent(.5)}const d3Scales=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:band,scaleDiverging:diverging,scaleDivergingLog:divergingLog,scaleDivergingPow:divergingPow,scaleDivergingSqrt:divergingSqrt,scaleDivergingSymlog:divergingSymlog,scaleIdentity:identity$4,scaleImplicit:implicit,scaleLinear:linear,scaleLog:log,scaleOrdinal:ordinal,scalePoint:point,scalePow:pow,scaleQuantile:quantile,scaleQuantize:quantize,scaleRadial:radial,scaleSequential:sequential,scaleSequentialLog:sequentialLog,scaleSequentialPow:sequentialPow,scaleSequentialQuantile:sequentialQuantile,scaleSequentialSqrt:sequentialSqrt,scaleSequentialSymlog:sequentialSymlog,scaleSqrt:sqrt,scaleSymlog:symlog,scaleThreshold:threshold,scaleTime:time,scaleUtc:utcTime,tickFormat},Symbol.toStringTag,{value:"Module"}));var isSymbol=isSymbol_1;function baseExtremum$4(_,j,et){for(var tt=-1,rt=_.length;++tt<rt;){var nt=_[tt],it=j(nt);if(it!=null&&(st===void 0?it===it&&!isSymbol(it):et(it,st)))var st=it,at=nt}return at}var _baseExtremum=baseExtremum$4;function baseGt$2(_,j){return _>j}var _baseGt=baseGt$2,baseExtremum$3=_baseExtremum,baseGt$1=_baseGt,identity$3=identity_1;function max(_){return _&&_.length?baseExtremum$3(_,identity$3,baseGt$1):void 0}var max_1=max;const max$1=getDefaultExportFromCjs(max_1);function baseLt$2(_,j){return _<j}var _baseLt=baseLt$2,baseExtremum$2=_baseExtremum,baseLt$1=_baseLt,identity$2=identity_1;function min(_){return _&&_.length?baseExtremum$2(_,identity$2,baseLt$1):void 0}var min_1=min;const min$1=getDefaultExportFromCjs(min_1);var arrayMap=_arrayMap,baseIteratee$7=_baseIteratee,baseMap=_baseMap,isArray$3=isArray_1;function map$2(_,j){var et=isArray$3(_)?arrayMap:baseMap;return et(_,baseIteratee$7(j))}var map_1=map$2,baseFlatten=_baseFlatten,map$1=map_1;function flatMap(_,j){return baseFlatten(map$1(_,j),1)}var flatMap_1=flatMap;const flatMap$1=getDefaultExportFromCjs(flatMap_1);var baseIsEqual=_baseIsEqual;function isEqual(_,j){return baseIsEqual(_,j)}var isEqual_1=isEqual;const isEqual$1=getDefaultExportFromCjs(isEqual_1);var MAX_DIGITS=1e9,defaults={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},Decimal,external=!0,decimalError="[DecimalError] ",invalidArgument=decimalError+"Invalid argument: ",exponentOutOfRange=decimalError+"Exponent out of range: ",mathfloor=Math.floor,mathpow=Math.pow,isDecimal=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,ONE,BASE=1e7,LOG_BASE=7,MAX_SAFE_INTEGER=9007199254740991,MAX_E=mathfloor(MAX_SAFE_INTEGER/LOG_BASE),P={};P.absoluteValue=P.abs=function(){var _=new this.constructor(this);return _.s&&(_.s=1),_};P.comparedTo=P.cmp=function(_){var j,et,tt,rt,nt=this;if(_=new nt.constructor(_),nt.s!==_.s)return nt.s||-_.s;if(nt.e!==_.e)return nt.e>_.e^nt.s<0?1:-1;for(tt=nt.d.length,rt=_.d.length,j=0,et=tt<rt?tt:rt;j<et;++j)if(nt.d[j]!==_.d[j])return nt.d[j]>_.d[j]^nt.s<0?1:-1;return tt===rt?0:tt>rt^nt.s<0?1:-1};P.decimalPlaces=P.dp=function(){var _=this,j=_.d.length-1,et=(j-_.e)*LOG_BASE;if(j=_.d[j],j)for(;j%10==0;j/=10)et--;return et<0?0:et};P.dividedBy=P.div=function(_){return divide(this,new this.constructor(_))};P.dividedToIntegerBy=P.idiv=function(_){var j=this,et=j.constructor;return round(divide(j,new et(_),0,1),et.precision)};P.equals=P.eq=function(_){return!this.cmp(_)};P.exponent=function(){return getBase10Exponent(this)};P.greaterThan=P.gt=function(_){return this.cmp(_)>0};P.greaterThanOrEqualTo=P.gte=function(_){return this.cmp(_)>=0};P.isInteger=P.isint=function(){return this.e>this.d.length-2};P.isNegative=P.isneg=function(){return this.s<0};P.isPositive=P.ispos=function(){return this.s>0};P.isZero=function(){return this.s===0};P.lessThan=P.lt=function(_){return this.cmp(_)<0};P.lessThanOrEqualTo=P.lte=function(_){return this.cmp(_)<1};P.logarithm=P.log=function(_){var j,et=this,tt=et.constructor,rt=tt.precision,nt=rt+5;if(_===void 0)_=new tt(10);else if(_=new tt(_),_.s<1||_.eq(ONE))throw Error(decimalError+"NaN");if(et.s<1)throw Error(decimalError+(et.s?"NaN":"-Infinity"));return et.eq(ONE)?new tt(0):(external=!1,j=divide(ln(et,nt),ln(_,nt),nt),external=!0,round(j,rt))};P.minus=P.sub=function(_){var j=this;return _=new j.constructor(_),j.s==_.s?subtract(j,_):add(j,(_.s=-_.s,_))};P.modulo=P.mod=function(_){var j,et=this,tt=et.constructor,rt=tt.precision;if(_=new tt(_),!_.s)throw Error(decimalError+"NaN");return et.s?(external=!1,j=divide(et,_,0,1).times(_),external=!0,et.minus(j)):round(new tt(et),rt)};P.naturalExponential=P.exp=function(){return exp(this)};P.naturalLogarithm=P.ln=function(){return ln(this)};P.negated=P.neg=function(){var _=new this.constructor(this);return _.s=-_.s||0,_};P.plus=P.add=function(_){var j=this;return _=new j.constructor(_),j.s==_.s?add(j,_):subtract(j,(_.s=-_.s,_))};P.precision=P.sd=function(_){var j,et,tt,rt=this;if(_!==void 0&&_!==!!_&&_!==1&&_!==0)throw Error(invalidArgument+_);if(j=getBase10Exponent(rt)+1,tt=rt.d.length-1,et=tt*LOG_BASE+1,tt=rt.d[tt],tt){for(;tt%10==0;tt/=10)et--;for(tt=rt.d[0];tt>=10;tt/=10)et++}return _&&j>et?j:et};P.squareRoot=P.sqrt=function(){var _,j,et,tt,rt,nt,it,st=this,at=st.constructor;if(st.s<1){if(!st.s)return new at(0);throw Error(decimalError+"NaN")}for(_=getBase10Exponent(st),external=!1,rt=Math.sqrt(+st),rt==0||rt==1/0?(j=digitsToString(st.d),(j.length+_)%2==0&&(j+="0"),rt=Math.sqrt(j),_=mathfloor((_+1)/2)-(_<0||_%2),rt==1/0?j="5e"+_:(j=rt.toExponential(),j=j.slice(0,j.indexOf("e")+1)+_),tt=new at(j)):tt=new at(rt.toString()),et=at.precision,rt=it=et+3;;)if(nt=tt,tt=nt.plus(divide(st,nt,it+2)).times(.5),digitsToString(nt.d).slice(0,it)===(j=digitsToString(tt.d)).slice(0,it)){if(j=j.slice(it-3,it+1),rt==it&&j=="4999"){if(round(nt,et+1,0),nt.times(nt).eq(st)){tt=nt;break}}else if(j!="9999")break;it+=4}return external=!0,round(tt,et)};P.times=P.mul=function(_){var j,et,tt,rt,nt,it,st,at,ot,lt=this,ct=lt.constructor,ut=lt.d,dt=(_=new ct(_)).d;if(!lt.s||!_.s)return new ct(0);for(_.s*=lt.s,et=lt.e+_.e,at=ut.length,ot=dt.length,at<ot&&(nt=ut,ut=dt,dt=nt,it=at,at=ot,ot=it),nt=[],it=at+ot,tt=it;tt--;)nt.push(0);for(tt=ot;--tt>=0;){for(j=0,rt=at+tt;rt>tt;)st=nt[rt]+dt[tt]*ut[rt-tt-1]+j,nt[rt--]=st%BASE|0,j=st/BASE|0;nt[rt]=(nt[rt]+j)%BASE|0}for(;!nt[--it];)nt.pop();return j?++et:nt.shift(),_.d=nt,_.e=et,external?round(_,ct.precision):_};P.toDecimalPlaces=P.todp=function(_,j){var et=this,tt=et.constructor;return et=new tt(et),_===void 0?et:(checkInt32(_,0,MAX_DIGITS),j===void 0?j=tt.rounding:checkInt32(j,0,8),round(et,_+getBase10Exponent(et)+1,j))};P.toExponential=function(_,j){var et,tt=this,rt=tt.constructor;return _===void 0?et=toString(tt,!0):(checkInt32(_,0,MAX_DIGITS),j===void 0?j=rt.rounding:checkInt32(j,0,8),tt=round(new rt(tt),_+1,j),et=toString(tt,!0,_+1)),et};P.toFixed=function(_,j){var et,tt,rt=this,nt=rt.constructor;return _===void 0?toString(rt):(checkInt32(_,0,MAX_DIGITS),j===void 0?j=nt.rounding:checkInt32(j,0,8),tt=round(new nt(rt),_+getBase10Exponent(rt)+1,j),et=toString(tt.abs(),!1,_+getBase10Exponent(tt)+1),rt.isneg()&&!rt.isZero()?"-"+et:et)};P.toInteger=P.toint=function(){var _=this,j=_.constructor;return round(new j(_),getBase10Exponent(_)+1,j.rounding)};P.toNumber=function(){return+this};P.toPower=P.pow=function(_){var j,et,tt,rt,nt,it,st=this,at=st.constructor,ot=12,lt=+(_=new at(_));if(!_.s)return new at(ONE);if(st=new at(st),!st.s){if(_.s<1)throw Error(decimalError+"Infinity");return st}if(st.eq(ONE))return st;if(tt=at.precision,_.eq(ONE))return round(st,tt);if(j=_.e,et=_.d.length-1,it=j>=et,nt=st.s,it){if((et=lt<0?-lt:lt)<=MAX_SAFE_INTEGER){for(rt=new at(ONE),j=Math.ceil(tt/LOG_BASE+4),external=!1;et%2&&(rt=rt.times(st),truncate(rt.d,j)),et=mathfloor(et/2),et!==0;)st=st.times(st),truncate(st.d,j);return external=!0,_.s<0?new at(ONE).div(rt):round(rt,tt)}}else if(nt<0)throw Error(decimalError+"NaN");return nt=nt<0&&_.d[Math.max(j,et)]&1?-1:1,st.s=1,external=!1,rt=_.times(ln(st,tt+ot)),external=!0,rt=exp(rt),rt.s=nt,rt};P.toPrecision=function(_,j){var et,tt,rt=this,nt=rt.constructor;return _===void 0?(et=getBase10Exponent(rt),tt=toString(rt,et<=nt.toExpNeg||et>=nt.toExpPos)):(checkInt32(_,1,MAX_DIGITS),j===void 0?j=nt.rounding:checkInt32(j,0,8),rt=round(new nt(rt),_,j),et=getBase10Exponent(rt),tt=toString(rt,_<=et||et<=nt.toExpNeg,_)),tt};P.toSignificantDigits=P.tosd=function(_,j){var et=this,tt=et.constructor;return _===void 0?(_=tt.precision,j=tt.rounding):(checkInt32(_,1,MAX_DIGITS),j===void 0?j=tt.rounding:checkInt32(j,0,8)),round(new tt(et),_,j)};P.toString=P.valueOf=P.val=P.toJSON=P[Symbol.for("nodejs.util.inspect.custom")]=function(){var _=this,j=getBase10Exponent(_),et=_.constructor;return toString(_,j<=et.toExpNeg||j>=et.toExpPos)};function add(_,j){var et,tt,rt,nt,it,st,at,ot,lt=_.constructor,ct=lt.precision;if(!_.s||!j.s)return j.s||(j=new lt(_)),external?round(j,ct):j;if(at=_.d,ot=j.d,it=_.e,rt=j.e,at=at.slice(),nt=it-rt,nt){for(nt<0?(tt=at,nt=-nt,st=ot.length):(tt=ot,rt=it,st=at.length),it=Math.ceil(ct/LOG_BASE),st=it>st?it+1:st+1,nt>st&&(nt=st,tt.length=1),tt.reverse();nt--;)tt.push(0);tt.reverse()}for(st=at.length,nt=ot.length,st-nt<0&&(nt=st,tt=ot,ot=at,at=tt),et=0;nt;)et=(at[--nt]=at[nt]+ot[nt]+et)/BASE|0,at[nt]%=BASE;for(et&&(at.unshift(et),++rt),st=at.length;at[--st]==0;)at.pop();return j.d=at,j.e=rt,external?round(j,ct):j}function checkInt32(_,j,et){if(_!==~~_||_<j||_>et)throw Error(invalidArgument+_)}function digitsToString(_){var j,et,tt,rt=_.length-1,nt="",it=_[0];if(rt>0){for(nt+=it,j=1;j<rt;j++)tt=_[j]+"",et=LOG_BASE-tt.length,et&&(nt+=getZeroString(et)),nt+=tt;it=_[j],tt=it+"",et=LOG_BASE-tt.length,et&&(nt+=getZeroString(et))}else if(it===0)return"0";for(;it%10===0;)it/=10;return nt+it}var divide=function(){function _(tt,rt){var nt,it=0,st=tt.length;for(tt=tt.slice();st--;)nt=tt[st]*rt+it,tt[st]=nt%BASE|0,it=nt/BASE|0;return it&&tt.unshift(it),tt}function j(tt,rt,nt,it){var st,at;if(nt!=it)at=nt>it?1:-1;else for(st=at=0;st<nt;st++)if(tt[st]!=rt[st]){at=tt[st]>rt[st]?1:-1;break}return at}function et(tt,rt,nt){for(var it=0;nt--;)tt[nt]-=it,it=tt[nt]<rt[nt]?1:0,tt[nt]=it*BASE+tt[nt]-rt[nt];for(;!tt[0]&&tt.length>1;)tt.shift()}return function(tt,rt,nt,it){var st,at,ot,lt,ct,ut,dt,ht,pt,gt,ft,mt,xt,yt,vt,bt,Et,_t,wt=tt.constructor,Rt=tt.s==rt.s?1:-1,Ct=tt.d,jt=rt.d;if(!tt.s)return new wt(tt);if(!rt.s)throw Error(decimalError+"Division by zero");for(at=tt.e-rt.e,Et=jt.length,vt=Ct.length,dt=new wt(Rt),ht=dt.d=[],ot=0;jt[ot]==(Ct[ot]||0);)++ot;if(jt[ot]>(Ct[ot]||0)&&--at,nt==null?mt=nt=wt.precision:it?mt=nt+(getBase10Exponent(tt)-getBase10Exponent(rt))+1:mt=nt,mt<0)return new wt(0);if(mt=mt/LOG_BASE+2|0,ot=0,Et==1)for(lt=0,jt=jt[0],mt++;(ot<vt||lt)&&mt--;ot++)xt=lt*BASE+(Ct[ot]||0),ht[ot]=xt/jt|0,lt=xt%jt|0;else{for(lt=BASE/(jt[0]+1)|0,lt>1&&(jt=_(jt,lt),Ct=_(Ct,lt),Et=jt.length,vt=Ct.length),yt=Et,pt=Ct.slice(0,Et),gt=pt.length;gt<Et;)pt[gt++]=0;_t=jt.slice(),_t.unshift(0),bt=jt[0],jt[1]>=BASE/2&&++bt;do lt=0,st=j(jt,pt,Et,gt),st<0?(ft=pt[0],Et!=gt&&(ft=ft*BASE+(pt[1]||0)),lt=ft/bt|0,lt>1?(lt>=BASE&&(lt=BASE-1),ct=_(jt,lt),ut=ct.length,gt=pt.length,st=j(ct,pt,ut,gt),st==1&&(lt--,et(ct,Et<ut?_t:jt,ut))):(lt==0&&(st=lt=1),ct=jt.slice()),ut=ct.length,ut<gt&&ct.unshift(0),et(pt,ct,gt),st==-1&&(gt=pt.length,st=j(jt,pt,Et,gt),st<1&&(lt++,et(pt,Et<gt?_t:jt,gt))),gt=pt.length):st===0&&(lt++,pt=[0]),ht[ot++]=lt,st&&pt[0]?pt[gt++]=Ct[yt]||0:(pt=[Ct[yt]],gt=1);while((yt++<vt||pt[0]!==void 0)&&mt--)}return ht[0]||ht.shift(),dt.e=at,round(dt,it?nt+getBase10Exponent(dt)+1:nt)}}();function exp(_,j){var et,tt,rt,nt,it,st,at=0,ot=0,lt=_.constructor,ct=lt.precision;if(getBase10Exponent(_)>16)throw Error(exponentOutOfRange+getBase10Exponent(_));if(!_.s)return new lt(ONE);for(j==null?(external=!1,st=ct):st=j,it=new lt(.03125);_.abs().gte(.1);)_=_.times(it),ot+=5;for(tt=Math.log(mathpow(2,ot))/Math.LN10*2+5|0,st+=tt,et=rt=nt=new lt(ONE),lt.precision=st;;){if(rt=round(rt.times(_),st),et=et.times(++at),it=nt.plus(divide(rt,et,st)),digitsToString(it.d).slice(0,st)===digitsToString(nt.d).slice(0,st)){for(;ot--;)nt=round(nt.times(nt),st);return lt.precision=ct,j==null?(external=!0,round(nt,ct)):nt}nt=it}}function getBase10Exponent(_){for(var j=_.e*LOG_BASE,et=_.d[0];et>=10;et/=10)j++;return j}function getLn10(_,j,et){if(j>_.LN10.sd())throw external=!0,et&&(_.precision=et),Error(decimalError+"LN10 precision limit exceeded");return round(new _(_.LN10),j)}function getZeroString(_){for(var j="";_--;)j+="0";return j}function ln(_,j){var et,tt,rt,nt,it,st,at,ot,lt,ct=1,ut=10,dt=_,ht=dt.d,pt=dt.constructor,gt=pt.precision;if(dt.s<1)throw Error(decimalError+(dt.s?"NaN":"-Infinity"));if(dt.eq(ONE))return new pt(0);if(j==null?(external=!1,ot=gt):ot=j,dt.eq(10))return j==null&&(external=!0),getLn10(pt,ot);if(ot+=ut,pt.precision=ot,et=digitsToString(ht),tt=et.charAt(0),nt=getBase10Exponent(dt),Math.abs(nt)<15e14){for(;tt<7&&tt!=1||tt==1&&et.charAt(1)>3;)dt=dt.times(_),et=digitsToString(dt.d),tt=et.charAt(0),ct++;nt=getBase10Exponent(dt),tt>1?(dt=new pt("0."+et),nt++):dt=new pt(tt+"."+et.slice(1))}else return at=getLn10(pt,ot+2,gt).times(nt+""),dt=ln(new pt(tt+"."+et.slice(1)),ot-ut).plus(at),pt.precision=gt,j==null?(external=!0,round(dt,gt)):dt;for(st=it=dt=divide(dt.minus(ONE),dt.plus(ONE),ot),lt=round(dt.times(dt),ot),rt=3;;){if(it=round(it.times(lt),ot),at=st.plus(divide(it,new pt(rt),ot)),digitsToString(at.d).slice(0,ot)===digitsToString(st.d).slice(0,ot))return st=st.times(2),nt!==0&&(st=st.plus(getLn10(pt,ot+2,gt).times(nt+""))),st=divide(st,new pt(ct),ot),pt.precision=gt,j==null?(external=!0,round(st,gt)):st;st=at,rt+=2}}function parseDecimal(_,j){var et,tt,rt;for((et=j.indexOf("."))>-1&&(j=j.replace(".","")),(tt=j.search(/e/i))>0?(et<0&&(et=tt),et+=+j.slice(tt+1),j=j.substring(0,tt)):et<0&&(et=j.length),tt=0;j.charCodeAt(tt)===48;)++tt;for(rt=j.length;j.charCodeAt(rt-1)===48;)--rt;if(j=j.slice(tt,rt),j){if(rt-=tt,et=et-tt-1,_.e=mathfloor(et/LOG_BASE),_.d=[],tt=(et+1)%LOG_BASE,et<0&&(tt+=LOG_BASE),tt<rt){for(tt&&_.d.push(+j.slice(0,tt)),rt-=LOG_BASE;tt<rt;)_.d.push(+j.slice(tt,tt+=LOG_BASE));j=j.slice(tt),tt=LOG_BASE-j.length}else tt-=rt;for(;tt--;)j+="0";if(_.d.push(+j),external&&(_.e>MAX_E||_.e<-MAX_E))throw Error(exponentOutOfRange+et)}else _.s=0,_.e=0,_.d=[0];return _}function round(_,j,et){var tt,rt,nt,it,st,at,ot,lt,ct=_.d;for(it=1,nt=ct[0];nt>=10;nt/=10)it++;if(tt=j-it,tt<0)tt+=LOG_BASE,rt=j,ot=ct[lt=0];else{if(lt=Math.ceil((tt+1)/LOG_BASE),nt=ct.length,lt>=nt)return _;for(ot=nt=ct[lt],it=1;nt>=10;nt/=10)it++;tt%=LOG_BASE,rt=tt-LOG_BASE+it}if(et!==void 0&&(nt=mathpow(10,it-rt-1),st=ot/nt%10|0,at=j<0||ct[lt+1]!==void 0||ot%nt,at=et<4?(st||at)&&(et==0||et==(_.s<0?3:2)):st>5||st==5&&(et==4||at||et==6&&(tt>0?rt>0?ot/mathpow(10,it-rt):0:ct[lt-1])%10&1||et==(_.s<0?8:7))),j<1||!ct[0])return at?(nt=getBase10Exponent(_),ct.length=1,j=j-nt-1,ct[0]=mathpow(10,(LOG_BASE-j%LOG_BASE)%LOG_BASE),_.e=mathfloor(-j/LOG_BASE)||0):(ct.length=1,ct[0]=_.e=_.s=0),_;if(tt==0?(ct.length=lt,nt=1,lt--):(ct.length=lt+1,nt=mathpow(10,LOG_BASE-tt),ct[lt]=rt>0?(ot/mathpow(10,it-rt)%mathpow(10,rt)|0)*nt:0),at)for(;;)if(lt==0){(ct[0]+=nt)==BASE&&(ct[0]=1,++_.e);break}else{if(ct[lt]+=nt,ct[lt]!=BASE)break;ct[lt--]=0,nt=1}for(tt=ct.length;ct[--tt]===0;)ct.pop();if(external&&(_.e>MAX_E||_.e<-MAX_E))throw Error(exponentOutOfRange+getBase10Exponent(_));return _}function subtract(_,j){var et,tt,rt,nt,it,st,at,ot,lt,ct,ut=_.constructor,dt=ut.precision;if(!_.s||!j.s)return j.s?j.s=-j.s:j=new ut(_),external?round(j,dt):j;if(at=_.d,ct=j.d,tt=j.e,ot=_.e,at=at.slice(),it=ot-tt,it){for(lt=it<0,lt?(et=at,it=-it,st=ct.length):(et=ct,tt=ot,st=at.length),rt=Math.max(Math.ceil(dt/LOG_BASE),st)+2,it>rt&&(it=rt,et.length=1),et.reverse(),rt=it;rt--;)et.push(0);et.reverse()}else{for(rt=at.length,st=ct.length,lt=rt<st,lt&&(st=rt),rt=0;rt<st;rt++)if(at[rt]!=ct[rt]){lt=at[rt]<ct[rt];break}it=0}for(lt&&(et=at,at=ct,ct=et,j.s=-j.s),st=at.length,rt=ct.length-st;rt>0;--rt)at[st++]=0;for(rt=ct.length;rt>it;){if(at[--rt]<ct[rt]){for(nt=rt;nt&&at[--nt]===0;)at[nt]=BASE-1;--at[nt],at[rt]+=BASE}at[rt]-=ct[rt]}for(;at[--st]===0;)at.pop();for(;at[0]===0;at.shift())--tt;return at[0]?(j.d=at,j.e=tt,external?round(j,dt):j):new ut(0)}function toString(_,j,et){var tt,rt=getBase10Exponent(_),nt=digitsToString(_.d),it=nt.length;return j?(et&&(tt=et-it)>0?nt=nt.charAt(0)+"."+nt.slice(1)+getZeroString(tt):it>1&&(nt=nt.charAt(0)+"."+nt.slice(1)),nt=nt+(rt<0?"e":"e+")+rt):rt<0?(nt="0."+getZeroString(-rt-1)+nt,et&&(tt=et-it)>0&&(nt+=getZeroString(tt))):rt>=it?(nt+=getZeroString(rt+1-it),et&&(tt=et-rt-1)>0&&(nt=nt+"."+getZeroString(tt))):((tt=rt+1)<it&&(nt=nt.slice(0,tt)+"."+nt.slice(tt)),et&&(tt=et-it)>0&&(rt+1===it&&(nt+="."),nt+=getZeroString(tt))),_.s<0?"-"+nt:nt}function truncate(_,j){if(_.length>j)return _.length=j,!0}function clone(_){var j,et,tt;function rt(nt){var it=this;if(!(it instanceof rt))return new rt(nt);if(it.constructor=rt,nt instanceof rt){it.s=nt.s,it.e=nt.e,it.d=(nt=nt.d)?nt.slice():nt;return}if(typeof nt=="number"){if(nt*0!==0)throw Error(invalidArgument+nt);if(nt>0)it.s=1;else if(nt<0)nt=-nt,it.s=-1;else{it.s=0,it.e=0,it.d=[0];return}if(nt===~~nt&&nt<1e7){it.e=0,it.d=[nt];return}return parseDecimal(it,nt.toString())}else if(typeof nt!="string")throw Error(invalidArgument+nt);if(nt.charCodeAt(0)===45?(nt=nt.slice(1),it.s=-1):it.s=1,isDecimal.test(nt))parseDecimal(it,nt);else throw Error(invalidArgument+nt)}if(rt.prototype=P,rt.ROUND_UP=0,rt.ROUND_DOWN=1,rt.ROUND_CEIL=2,rt.ROUND_FLOOR=3,rt.ROUND_HALF_UP=4,rt.ROUND_HALF_DOWN=5,rt.ROUND_HALF_EVEN=6,rt.ROUND_HALF_CEIL=7,rt.ROUND_HALF_FLOOR=8,rt.clone=clone,rt.config=rt.set=config,_===void 0&&(_={}),_)for(tt=["precision","rounding","toExpNeg","toExpPos","LN10"],j=0;j<tt.length;)_.hasOwnProperty(et=tt[j++])||(_[et]=this[et]);return rt.config(_),rt}function config(_){if(!_||typeof _!="object")throw Error(decimalError+"Object expected");var j,et,tt,rt=["precision",1,MAX_DIGITS,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(j=0;j<rt.length;j+=3)if((tt=_[et=rt[j]])!==void 0)if(mathfloor(tt)===tt&&tt>=rt[j+1]&&tt<=rt[j+2])this[et]=tt;else throw Error(invalidArgument+et+": "+tt);if((tt=_[et="LN10"])!==void 0)if(tt==Math.LN10)this[et]=new this(tt);else throw Error(invalidArgument+et+": "+tt);return this}var Decimal=clone(defaults);ONE=new Decimal(1);const Decimal$1=Decimal;function _toConsumableArray$a(_){return _arrayWithoutHoles$a(_)||_iterableToArray$b(_)||_unsupportedIterableToArray$g(_)||_nonIterableSpread$a()}function _nonIterableSpread$a(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 874In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$g(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$g(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray$g(_,j)}}function _iterableToArray$b(_){if(typeof Symbol<"u"&&Symbol.iterator in Object(_))return Array.from(_)}function _arrayWithoutHoles$a(_){if(Array.isArray(_))return _arrayLikeToArray$g(_)}function _arrayLikeToArray$g(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}var identity$1=function _(j){return j},PLACE_HOLDER={"@@functional/placeholder":!0},isPlaceHolder=function _(j){return j===PLACE_HOLDER},curry0=function _(j){return function et(){return arguments.length===0||arguments.length===1&&isPlaceHolder(arguments.length<=0?void 0:arguments[0])?et:j.apply(void 0,arguments)}},curryN=function _(j,et){return j===1?et:curry0(function(){for(var tt=arguments.length,rt=new Array(tt),nt=0;nt<tt;nt++)rt[nt]=arguments[nt];var it=rt.filter(function(st){return st!==PLACE_HOLDER}).length;return it>=j?et.apply(void 0,rt):_(j-it,curry0(function(){for(var st=arguments.length,at=new Array(st),ot=0;ot<st;ot++)at[ot]=arguments[ot];var lt=rt.map(function(ct){return isPlaceHolder(ct)?at.shift():ct});return et.apply(void 0,_toConsumableArray$a(lt).concat(at))}))})},curry=function _(j){return curryN(j.length,j)},range$2=function _(j,et){for(var tt=[],rt=j;rt<et;++rt)tt[rt-j]=rt;return tt},map=curry(function(_,j){return Array.isArray(j)?j.map(_):Object.keys(j).map(function(et){return j[et]}).map(_)}),compose=function _(){for(var j=arguments.length,et=new Array(j),tt=0;tt<j;tt++)et[tt]=arguments[tt];if(!et.length)return identity$1;var rt=et.reverse(),nt=rt[0],it=rt.slice(1);return function(){return it.reduce(function(st,at){return at(st)},nt.apply(void 0,arguments))}},reverse=function _(j){return Array.isArray(j)?j.reverse():j.split("").reverse.join("")},memoize=function _(j){var et=null,tt=null;return function(){for(var rt=arguments.length,nt=new Array(rt),it=0;it<rt;it++)nt[it]=arguments[it];return et&&nt.every(function(st,at){return st===et[at]})||(et=nt,tt=j.apply(void 0,nt)),tt}};function getDigitCount(_){var j;return _===0?j=1:j=Math.floor(new Decimal$1(_).abs().log(10).toNumber())+1,j}function rangeStep(_,j,et){for(var tt=new Decimal$1(_),rt=0,nt=[];tt.lt(j)&&rt<1e5;)nt.push(tt.toNumber()),tt=tt.add(et),rt++;return nt}var interpolateNumber=curry(function(_,j,et){var tt=+_,rt=+j;return tt+et*(rt-tt)}),uninterpolateNumber=curry(function(_,j,et){var tt=j-+_;return tt=tt||1/0,(et-_)/tt}),uninterpolateTruncation=curry(function(_,j,et){var tt=j-+_;return tt=tt||1/0,Math.max(0,Math.min(1,(et-_)/tt))});const Arithmetic={rangeStep,getDigitCount,interpolateNumber,uninterpolateNumber,uninterpolateTruncation};function _toConsumableArray$9(_){return _arrayWithoutHoles$9(_)||_iterableToArray$a(_)||_unsupportedIterableToArray$f(_)||_nonIterableSpread$9()}function _nonIterableSpread$9(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 875In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArray$a(_){if(typeof Symbol<"u"&&Symbol.iterator in Object(_))return Array.from(_)}function _arrayWithoutHoles$9(_){if(Array.isArray(_))return _arrayLikeToArray$f(_)}function _slicedToArray$8(_,j){return _arrayWithHoles$9(_)||_iterableToArrayLimit$8(_,j)||_unsupportedIterableToArray$f(_,j)||_nonIterableRest$9()}function _nonIterableRest$9(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 876In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$f(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$f(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray$f(_,j)}}function _arrayLikeToArray$f(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}function _iterableToArrayLimit$8(_,j){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(_)))){var et=[],tt=!0,rt=!1,nt=void 0;try{for(var it=_[Symbol.iterator](),st;!(tt=(st=it.next()).done)&&(et.push(st.value),!(j&&et.length===j));tt=!0);}catch(at){rt=!0,nt=at}finally{try{!tt&&it.return!=null&&it.return()}finally{if(rt)throw nt}}return et}}function _arrayWithHoles$9(_){if(Array.isArray(_))return _}function getValidInterval(_){var j=_slicedToArray$8(_,2),et=j[0],tt=j[1],rt=et,nt=tt;return et>tt&&(rt=tt,nt=et),[rt,nt]}function getFormatStep(_,j,et){if(_.lte(0))return new Decimal$1(0);var tt=Arithmetic.getDigitCount(_.toNumber()),rt=new Decimal$1(10).pow(tt),nt=_.div(rt),it=tt!==1?.05:.1,st=new Decimal$1(Math.ceil(nt.div(it).toNumber())).add(et).mul(it),at=st.mul(rt);return j?at:new Decimal$1(Math.ceil(at))}function getTickOfSingleValue(_,j,et){var tt=1,rt=new Decimal$1(_);if(!rt.isint()&&et){var nt=Math.abs(_);nt<1?(tt=new Decimal$1(10).pow(Arithmetic.getDigitCount(_)-1),rt=new Decimal$1(Math.floor(rt.div(tt).toNumber())).mul(tt)):nt>1&&(rt=new Decimal$1(Math.floor(_)))}else _===0?rt=new Decimal$1(Math.floor((j-1)/2)):et||(rt=new Decimal$1(Math.floor(_)));var it=Math.floor((j-1)/2),st=compose(map(function(at){return rt.add(new Decimal$1(at-it).mul(tt)).toNumber()}),range$2);return st(0,j)}function calculateStep(_,j,et,tt){var rt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((j-_)/(et-1)))return{step:new Decimal$1(0),tickMin:new Decimal$1(0),tickMax:new Decimal$1(0)};var nt=getFormatStep(new Decimal$1(j).sub(_).div(et-1),tt,rt),it;_<=0&&j>=0?it=new Decimal$1(0):(it=new Decimal$1(_).add(j).div(2),it=it.sub(new Decimal$1(it).mod(nt)));var st=Math.ceil(it.sub(_).div(nt).toNumber()),at=Math.ceil(new Decimal$1(j).sub(it).div(nt).toNumber()),ot=st+at+1;return ot>et?calculateStep(_,j,et,tt,rt+1):(ot<et&&(at=j>0?at+(et-ot):at,st=j>0?st:st+(et-ot)),{step:nt,tickMin:it.sub(new Decimal$1(st).mul(nt)),tickMax:it.add(new Decimal$1(at).mul(nt))})}function getNiceTickValuesFn(_){var j=_slicedToArray$8(_,2),et=j[0],tt=j[1],rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,it=Math.max(rt,2),st=getValidInterval([et,tt]),at=_slicedToArray$8(st,2),ot=at[0],lt=at[1];if(ot===-1/0||lt===1/0){var ct=lt===1/0?[ot].concat(_toConsumableArray$9(range$2(0,rt-1).map(function(){return 1/0}))):[].concat(_toConsumableArray$9(range$2(0,rt-1).map(function(){return-1/0})),[lt]);return et>tt?reverse(ct):ct}if(ot===lt)return getTickOfSingleValue(ot,rt,nt);var ut=calculateStep(ot,lt,it,nt),dt=ut.step,ht=ut.tickMin,pt=ut.tickMax,gt=Arithmetic.rangeStep(ht,pt.add(new Decimal$1(.1).mul(dt)),dt);return et>tt?reverse(gt):gt}function getTickValuesFixedDomainFn(_,j){var et=_slicedToArray$8(_,2),tt=et[0],rt=et[1],nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,it=getValidInterval([tt,rt]),st=_slicedToArray$8(it,2),at=st[0],ot=st[1];if(at===-1/0||ot===1/0)return[tt,rt];if(at===ot)return[at];var lt=Math.max(j,2),ct=getFormatStep(new Decimal$1(ot).sub(at).div(lt-1),nt,0),ut=[].concat(_toConsumableArray$9(Arithmetic.rangeStep(new Decimal$1(at),new Decimal$1(ot).sub(new Decimal$1(.99).mul(ct)),ct)),[ot]);return tt>rt?reverse(ut):ut}var getNiceTickValues=memoize(getNiceTickValuesFn),getTickValuesFixedDomain=memoize(getTickValuesFixedDomainFn),prefix="Invariant failed";function invariant(_,j){throw new Error(prefix)}var _excluded$d=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function _typeof$z(_){"@babel/helpers - typeof";return _typeof$z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$z(_)}function _extends$o(){return _extends$o=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$o.apply(this,arguments)}function _slicedToArray$7(_,j){return _arrayWithHoles$8(_)||_iterableToArrayLimit$7(_,j)||_unsupportedIterableToArray$e(_,j)||_nonIterableRest$8()}function _nonIterableRest$8(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 877In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$e(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$e(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray$e(_,j)}}function _arrayLikeToArray$e(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}function _iterableToArrayLimit$7(_,j){var et=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(et!=null){var tt,rt,nt,it,st=[],at=!0,ot=!1;try{if(nt=(et=et.call(_)).next,j!==0)for(;!(at=(tt=nt.call(et)).done)&&(st.push(tt.value),st.length!==j);at=!0);}catch(lt){ot=!0,rt=lt}finally{try{if(!at&&et.return!=null&&(it=et.return(),Object(it)!==it))return}finally{if(ot)throw rt}}return st}}function _arrayWithHoles$8(_){if(Array.isArray(_))return _}function _objectWithoutProperties$d(_,j){if(_==null)return{};var et=_objectWithoutPropertiesLoose$d(_,j),tt,rt;if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(rt=0;rt<nt.length;rt++)tt=nt[rt],!(j.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(_,tt)&&(et[tt]=_[tt])}return et}function _objectWithoutPropertiesLoose$d(_,j){if(_==null)return{};var et={};for(var tt in _)if(Object.prototype.hasOwnProperty.call(_,tt)){if(j.indexOf(tt)>=0)continue;et[tt]=_[tt]}return et}function _classCallCheck$g(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$g(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$y(tt.key),tt)}}function _createClass$g(_,j,et){return j&&_defineProperties$g(_.prototype,j),Object.defineProperty(_,"prototype",{writable:!1}),_}function _callSuper$d(_,j,et){return j=_getPrototypeOf$e(j),_possibleConstructorReturn$e(_,_isNativeReflectConstruct$e()?Reflect.construct(j,et||[],_getPrototypeOf$e(_).constructor):j.apply(_,et))}function _possibleConstructorReturn$e(_,j){if(j&&(_typeof$z(j)==="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$e(_)}function _assertThisInitialized$e(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _isNativeReflectConstruct$e(){try{var _=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$e=function(){return!!_})()}function _getPrototypeOf$e(_){return _getPrototypeOf$e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(et){return et.__proto__||Object.getPrototypeOf(et)},_getPrototypeOf$e(_)}function _inherits$e(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&_setPrototypeOf$e(_,j)}function _setPrototypeOf$e(_,j){return _setPrototypeOf$e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(tt,rt){return tt.__proto__=rt,tt},_setPrototypeOf$e(_,j)}function _defineProperty$y(_,j,et){return j=_toPropertyKey$y(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$y(_){var j=_toPrimitive$y(_,"string");return _typeof$z(j)=="symbol"?j:j+""}function _toPrimitive$y(_,j){if(_typeof$z(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$z(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var ErrorBar=function(_){function j(){return _classCallCheck$g(this,j),_callSuper$d(this,j,arguments)}return _inherits$e(j,_),_createClass$g(j,[{key:"render",value:function(){var tt=this.props,rt=tt.offset,nt=tt.layout,it=tt.width,st=tt.dataKey,at=tt.data,ot=tt.dataPointFormatter,lt=tt.xAxis,ct=tt.yAxis,ut=_objectWithoutProperties$d(tt,_excluded$d),dt=filterProps(ut,!1);this.props.direction==="x"&<.type!=="number"&&invariant();var ht=at.map(function(pt){var gt=ot(pt,st),ft=gt.x,mt=gt.y,xt=gt.value,yt=gt.errorVal;if(!yt)return null;var vt=[],bt,Et;if(Array.isArray(yt)){var _t=_slicedToArray$7(yt,2);bt=_t[0],Et=_t[1]}else bt=Et=yt;if(nt==="vertical"){var wt=lt.scale,Rt=mt+rt,Ct=Rt+it,jt=Rt-it,Dt=wt(xt-bt),It=wt(xt+Et);vt.push({x1:It,y1:Ct,x2:It,y2:jt}),vt.push({x1:Dt,y1:Rt,x2:It,y2:Rt}),vt.push({x1:Dt,y1:Ct,x2:Dt,y2:jt})}else if(nt==="horizontal"){var Ot=ct.scale,At=ft+rt,Tt=At-it,kt=At+it,St=Ot(xt-bt),Pt=Ot(xt+Et);vt.push({x1:Tt,y1:Pt,x2:kt,y2:Pt}),vt.push({x1:At,y1:St,x2:At,y2:Pt}),vt.push({x1:Tt,y1:St,x2:kt,y2:St})}return React$1.createElement(Layer,_extends$o({className:"recharts-errorBar",key:"bar-".concat(vt.map(function($t){return"".concat($t.x1,"-").concat($t.x2,"-").concat($t.y1,"-").concat($t.y2)}))},dt),vt.map(function($t){return React$1.createElement("line",_extends$o({},$t,{key:"line-".concat($t.x1,"-").concat($t.x2,"-").concat($t.y1,"-").concat($t.y2)}))}))});return React$1.createElement(Layer,{className:"recharts-errorBars"},ht)}}])}(React$1.Component);_defineProperty$y(ErrorBar,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"});_defineProperty$y(ErrorBar,"displayName","ErrorBar");function _typeof$y(_){"@babel/helpers - typeof";return _typeof$y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$y(_)}function ownKeys$u(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$u(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$u(Object(et),!0).forEach(function(tt){_defineProperty$x(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$u(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$x(_,j,et){return j=_toPropertyKey$x(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$x(_){var j=_toPrimitive$x(_,"string");return _typeof$y(j)=="symbol"?j:j+""}function _toPrimitive$x(_,j){if(_typeof$y(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$y(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var getLegendProps=function _(j){var et=j.children,tt=j.formattedGraphicalItems,rt=j.legendWidth,nt=j.legendContent,it=findChildByType(et,Legend);if(!it)return null;var st=Legend.defaultProps,at=st!==void 0?_objectSpread$u(_objectSpread$u({},st),it.props):{},ot;return it.props&&it.props.payload?ot=it.props&&it.props.payload:nt==="children"?ot=(tt||[]).reduce(function(lt,ct){var ut=ct.item,dt=ct.props,ht=dt.sectors||dt.data||[];return lt.concat(ht.map(function(pt){return{type:it.props.iconType||ut.props.legendType,value:pt.name,color:pt.fill,payload:pt}}))},[]):ot=(tt||[]).map(function(lt){var ct=lt.item,ut=ct.type.defaultProps,dt=ut!==void 0?_objectSpread$u(_objectSpread$u({},ut),ct.props):{},ht=dt.dataKey,pt=dt.name,gt=dt.legendType,ft=dt.hide;return{inactive:ft,dataKey:ht,type:at.iconType||gt||"square",color:getMainColorOfGraphicItem(ct),value:pt||ht,payload:dt}}),_objectSpread$u(_objectSpread$u(_objectSpread$u({},at),Legend.getWithHeight(it,rt)),{},{payload:ot,item:it})};function _typeof$x(_){"@babel/helpers - typeof";return _typeof$x=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$x(_)}function _toConsumableArray$8(_){return _arrayWithoutHoles$8(_)||_iterableToArray$9(_)||_unsupportedIterableToArray$d(_)||_nonIterableSpread$8()}function _nonIterableSpread$8(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 878In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$d(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$d(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray$d(_,j)}}function _iterableToArray$9(_){if(typeof Symbol<"u"&&_[Symbol.iterator]!=null||_["@@iterator"]!=null)return Array.from(_)}function _arrayWithoutHoles$8(_){if(Array.isArray(_))return _arrayLikeToArray$d(_)}function _arrayLikeToArray$d(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}function ownKeys$t(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$t(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$t(Object(et),!0).forEach(function(tt){_defineProperty$w(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$t(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$w(_,j,et){return j=_toPropertyKey$w(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$w(_){var j=_toPrimitive$w(_,"string");return _typeof$x(j)=="symbol"?j:j+""}function _toPrimitive$w(_,j){if(_typeof$x(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$x(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function getValueByDataKey(_,j,et){return isNil$1(_)||isNil$1(j)?et:isNumOrStr(j)?get$2(_,j,et):isFunction$3(j)?j(_):et}function getDomainOfDataByKey(_,j,et,tt){var rt=flatMap$1(_,function(st){return getValueByDataKey(st,j)});if(et==="number"){var nt=rt.filter(function(st){return isNumber(st)||parseFloat(st)});return nt.length?[min$1(nt),max$1(nt)]:[1/0,-1/0]}var it=tt?rt.filter(function(st){return!isNil$1(st)}):rt;return it.map(function(st){return isNumOrStr(st)||st instanceof Date?st:""})}var calculateActiveTickIndex=function _(j){var et,tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],rt=arguments.length>2?arguments[2]:void 0,nt=arguments.length>3?arguments[3]:void 0,it=-1,st=(et=tt==null?void 0:tt.length)!==null&&et!==void 0?et:0;if(st<=1)return 0;if(nt&&nt.axisType==="angleAxis"&&Math.abs(Math.abs(nt.range[1]-nt.range[0])-360)<=1e-6)for(var at=nt.range,ot=0;ot<st;ot++){var lt=ot>0?rt[ot-1].coordinate:rt[st-1].coordinate,ct=rt[ot].coordinate,ut=ot>=st-1?rt[0].coordinate:rt[ot+1].coordinate,dt=void 0;if(mathSign(ct-lt)!==mathSign(ut-ct)){var ht=[];if(mathSign(ut-ct)===mathSign(at[1]-at[0])){dt=ut;var pt=ct+at[1]-at[0];ht[0]=Math.min(pt,(pt+lt)/2),ht[1]=Math.max(pt,(pt+lt)/2)}else{dt=lt;var gt=ut+at[1]-at[0];ht[0]=Math.min(ct,(gt+ct)/2),ht[1]=Math.max(ct,(gt+ct)/2)}var ft=[Math.min(ct,(dt+ct)/2),Math.max(ct,(dt+ct)/2)];if(j>ft[0]&&j<=ft[1]||j>=ht[0]&&j<=ht[1]){it=rt[ot].index;break}}else{var mt=Math.min(lt,ut),xt=Math.max(lt,ut);if(j>(mt+ct)/2&&j<=(xt+ct)/2){it=rt[ot].index;break}}}else for(var yt=0;yt<st;yt++)if(yt===0&&j<=(tt[yt].coordinate+tt[yt+1].coordinate)/2||yt>0&&yt<st-1&&j>(tt[yt].coordinate+tt[yt-1].coordinate)/2&&j<=(tt[yt].coordinate+tt[yt+1].coordinate)/2||yt===st-1&&j>(tt[yt].coordinate+tt[yt-1].coordinate)/2){it=tt[yt].index;break}return it},getMainColorOfGraphicItem=function _(j){var et,tt=j,rt=tt.type.displayName,nt=(et=j.type)!==null&&et!==void 0&&et.defaultProps?_objectSpread$t(_objectSpread$t({},j.type.defaultProps),j.props):j.props,it=nt.stroke,st=nt.fill,at;switch(rt){case"Line":at=it;break;case"Area":case"Radar":at=it&&it!=="none"?it:st;break;default:at=st;break}return at},getBarSizeList=function _(j){var et=j.barSize,tt=j.totalSize,rt=j.stackGroups,nt=rt===void 0?{}:rt;if(!nt)return{};for(var it={},st=Object.keys(nt),at=0,ot=st.length;at<ot;at++)for(var lt=nt[st[at]].stackGroups,ct=Object.keys(lt),ut=0,dt=ct.length;ut<dt;ut++){var ht=lt[ct[ut]],pt=ht.items,gt=ht.cateAxisId,ft=pt.filter(function(Et){return getDisplayName(Et.type).indexOf("Bar")>=0});if(ft&&ft.length){var mt=ft[0].type.defaultProps,xt=mt!==void 0?_objectSpread$t(_objectSpread$t({},mt),ft[0].props):ft[0].props,yt=xt.barSize,vt=xt[gt];it[vt]||(it[vt]=[]);var bt=isNil$1(yt)?et:yt;it[vt].push({item:ft[0],stackList:ft.slice(1),barSize:isNil$1(bt)?void 0:getPercentValue(bt,tt,0)})}}return it},getBarPosition=function _(j){var et=j.barGap,tt=j.barCategoryGap,rt=j.bandSize,nt=j.sizeList,it=nt===void 0?[]:nt,st=j.maxBarSize,at=it.length;if(at<1)return null;var ot=getPercentValue(et,rt,0,!0),lt,ct=[];if(it[0].barSize===+it[0].barSize){var ut=!1,dt=rt/at,ht=it.reduce(function(yt,vt){return yt+vt.barSize||0},0);ht+=(at-1)*ot,ht>=rt&&(ht-=(at-1)*ot,ot=0),ht>=rt&&dt>0&&(ut=!0,dt*=.9,ht=at*dt);var pt=(rt-ht)/2>>0,gt={offset:pt-ot,size:0};lt=it.reduce(function(yt,vt){var bt={item:vt.item,position:{offset:gt.offset+gt.size+ot,size:ut?dt:vt.barSize}},Et=[].concat(_toConsumableArray$8(yt),[bt]);return gt=Et[Et.length-1].position,vt.stackList&&vt.stackList.length&&vt.stackList.forEach(function(_t){Et.push({item:_t,position:gt})}),Et},ct)}else{var ft=getPercentValue(tt,rt,0,!0);rt-2*ft-(at-1)*ot<=0&&(ot=0);var mt=(rt-2*ft-(at-1)*ot)/at;mt>1&&(mt>>=0);var xt=st===+st?Math.min(mt,st):mt;lt=it.reduce(function(yt,vt,bt){var Et=[].concat(_toConsumableArray$8(yt),[{item:vt.item,position:{offset:ft+(mt+ot)*bt+(mt-xt)/2,size:xt}}]);return vt.stackList&&vt.stackList.length&&vt.stackList.forEach(function(_t){Et.push({item:_t,position:Et[Et.length-1].position})}),Et},ct)}return lt},appendOffsetOfLegend=function _(j,et,tt,rt){var nt=tt.children,it=tt.width,st=tt.margin,at=it-(st.left||0)-(st.right||0),ot=getLegendProps({children:nt,legendWidth:at});if(ot){var lt=rt||{},ct=lt.width,ut=lt.height,dt=ot.align,ht=ot.verticalAlign,pt=ot.layout;if((pt==="vertical"||pt==="horizontal"&&ht==="middle")&&dt!=="center"&&isNumber(j[dt]))return _objectSpread$t(_objectSpread$t({},j),{},_defineProperty$w({},dt,j[dt]+(ct||0)));if((pt==="horizontal"||pt==="vertical"&&dt==="center")&&ht!=="middle"&&isNumber(j[ht]))return _objectSpread$t(_objectSpread$t({},j),{},_defineProperty$w({},ht,j[ht]+(ut||0)))}return j},isErrorBarRelevantForAxis=function _(j,et,tt){return isNil$1(et)?!0:j==="horizontal"?et==="yAxis":j==="vertical"||tt==="x"?et==="xAxis":tt==="y"?et==="yAxis":!0},getDomainOfErrorBars=function _(j,et,tt,rt,nt){var it=et.props.children,st=findAllByType(it,ErrorBar).filter(function(ot){return isErrorBarRelevantForAxis(rt,nt,ot.props.direction)});if(st&&st.length){var at=st.map(function(ot){return ot.props.dataKey});return j.reduce(function(ot,lt){var ct=getValueByDataKey(lt,tt);if(isNil$1(ct))return ot;var ut=Array.isArray(ct)?[min$1(ct),max$1(ct)]:[ct,ct],dt=at.reduce(function(ht,pt){var gt=getValueByDataKey(lt,pt,0),ft=ut[0]-Math.abs(Array.isArray(gt)?gt[0]:gt),mt=ut[1]+Math.abs(Array.isArray(gt)?gt[1]:gt);return[Math.min(ft,ht[0]),Math.max(mt,ht[1])]},[1/0,-1/0]);return[Math.min(dt[0],ot[0]),Math.max(dt[1],ot[1])]},[1/0,-1/0])}return null},parseErrorBarsOfAxis=function _(j,et,tt,rt,nt){var it=et.map(function(st){return getDomainOfErrorBars(j,st,tt,nt,rt)}).filter(function(st){return!isNil$1(st)});return it&&it.length?it.reduce(function(st,at){return[Math.min(st[0],at[0]),Math.max(st[1],at[1])]},[1/0,-1/0]):null},getDomainOfItemsWithSameAxis=function _(j,et,tt,rt,nt){var it=et.map(function(at){var ot=at.props.dataKey;return tt==="number"&&ot&&getDomainOfErrorBars(j,at,ot,rt)||getDomainOfDataByKey(j,ot,tt,nt)});if(tt==="number")return it.reduce(function(at,ot){return[Math.min(at[0],ot[0]),Math.max(at[1],ot[1])]},[1/0,-1/0]);var st={};return it.reduce(function(at,ot){for(var lt=0,ct=ot.length;lt<ct;lt++)st[ot[lt]]||(st[ot[lt]]=!0,at.push(ot[lt]));return at},[])},isCategoricalAxis=function _(j,et){return j==="horizontal"&&et==="xAxis"||j==="vertical"&&et==="yAxis"||j==="centric"&&et==="angleAxis"||j==="radial"&&et==="radiusAxis"},getCoordinatesOfGrid=function _(j,et,tt,rt){if(rt)return j.map(function(at){return at.coordinate});var nt,it,st=j.map(function(at){return at.coordinate===et&&(nt=!0),at.coordinate===tt&&(it=!0),at.coordinate});return nt||st.push(et),it||st.push(tt),st},getTicksOfAxis=function _(j,et,tt){if(!j)return null;var rt=j.scale,nt=j.duplicateDomain,it=j.type,st=j.range,at=j.realScaleType==="scaleBand"?rt.bandwidth()/2:2,ot=(et||tt)&&it==="category"&&rt.bandwidth?rt.bandwidth()/at:0;if(ot=j.axisType==="angleAxis"&&(st==null?void 0:st.length)>=2?mathSign(st[0]-st[1])*2*ot:ot,et&&(j.ticks||j.niceTicks)){var lt=(j.ticks||j.niceTicks).map(function(ct){var ut=nt?nt.indexOf(ct):ct;return{coordinate:rt(ut)+ot,value:ct,offset:ot}});return lt.filter(function(ct){return!isNan(ct.coordinate)})}return j.isCategorical&&j.categoricalDomain?j.categoricalDomain.map(function(ct,ut){return{coordinate:rt(ct)+ot,value:ct,index:ut,offset:ot}}):rt.ticks&&!tt?rt.ticks(j.tickCount).map(function(ct){return{coordinate:rt(ct)+ot,value:ct,offset:ot}}):rt.domain().map(function(ct,ut){return{coordinate:rt(ct)+ot,value:nt?nt[ct]:ct,index:ut,offset:ot}})},handlerWeakMap=new WeakMap,combineEventHandlers=function _(j,et){if(typeof et!="function")return j;handlerWeakMap.has(j)||handlerWeakMap.set(j,new WeakMap);var tt=handlerWeakMap.get(j);if(tt.has(et))return tt.get(et);var rt=function(){j.apply(void 0,arguments),et.apply(void 0,arguments)};return tt.set(et,rt),rt},parseScale=function _(j,et,tt){var rt=j.scale,nt=j.type,it=j.layout,st=j.axisType;if(rt==="auto")return it==="radial"&&st==="radiusAxis"?{scale:band(),realScaleType:"band"}:it==="radial"&&st==="angleAxis"?{scale:linear(),realScaleType:"linear"}:nt==="category"&&et&&(et.indexOf("LineChart")>=0||et.indexOf("AreaChart")>=0||et.indexOf("ComposedChart")>=0&&!tt)?{scale:point(),realScaleType:"point"}:nt==="category"?{scale:band(),realScaleType:"band"}:{scale:linear(),realScaleType:"linear"};if(isString$1(rt)){var at="scale".concat(upperFirst$1(rt));return{scale:(d3Scales[at]||point)(),realScaleType:d3Scales[at]?at:"point"}}return isFunction$3(rt)?{scale:rt}:{scale:point(),realScaleType:"point"}},EPS=1e-4,checkDomainOfScale=function _(j){var et=j.domain();if(!(!et||et.length<=2)){var tt=et.length,rt=j.range(),nt=Math.min(rt[0],rt[1])-EPS,it=Math.max(rt[0],rt[1])+EPS,st=j(et[0]),at=j(et[tt-1]);(st<nt||st>it||at<nt||at>it)&&j.domain([et[0],et[tt-1]])}},findPositionOfBar=function _(j,et){if(!j)return null;for(var tt=0,rt=j.length;tt<rt;tt++)if(j[tt].item===et)return j[tt].position;return null},truncateByDomain=function _(j,et){if(!et||et.length!==2||!isNumber(et[0])||!isNumber(et[1]))return j;var tt=Math.min(et[0],et[1]),rt=Math.max(et[0],et[1]),nt=[j[0],j[1]];return(!isNumber(j[0])||j[0]<tt)&&(nt[0]=tt),(!isNumber(j[1])||j[1]>rt)&&(nt[1]=rt),nt[0]>rt&&(nt[0]=rt),nt[1]<tt&&(nt[1]=tt),nt},offsetSign=function _(j){var et=j.length;if(!(et<=0))for(var tt=0,rt=j[0].length;tt<rt;++tt)for(var nt=0,it=0,st=0;st<et;++st){var at=isNan(j[st][tt][1])?j[st][tt][0]:j[st][tt][1];at>=0?(j[st][tt][0]=nt,j[st][tt][1]=nt+at,nt=j[st][tt][1]):(j[st][tt][0]=it,j[st][tt][1]=it+at,it=j[st][tt][1])}},offsetPositive=function _(j){var et=j.length;if(!(et<=0))for(var tt=0,rt=j[0].length;tt<rt;++tt)for(var nt=0,it=0;it<et;++it){var st=isNan(j[it][tt][1])?j[it][tt][0]:j[it][tt][1];st>=0?(j[it][tt][0]=nt,j[it][tt][1]=nt+st,nt=j[it][tt][1]):(j[it][tt][0]=0,j[it][tt][1]=0)}},STACK_OFFSET_MAP={sign:offsetSign,expand:stackOffsetExpand,none:stackOffsetNone,silhouette:stackOffsetSilhouette,wiggle:stackOffsetWiggle,positive:offsetPositive},getStackedData=function _(j,et,tt){var rt=et.map(function(st){return st.props.dataKey}),nt=STACK_OFFSET_MAP[tt],it=shapeStack().keys(rt).value(function(st,at){return+getValueByDataKey(st,at,0)}).order(stackOrderNone).offset(nt);return it(j)},getStackGroupsByAxisId=function _(j,et,tt,rt,nt,it){if(!j)return null;var st=it?et.reverse():et,at={},ot=st.reduce(function(ct,ut){var dt,ht=(dt=ut.type)!==null&&dt!==void 0&&dt.defaultProps?_objectSpread$t(_objectSpread$t({},ut.type.defaultProps),ut.props):ut.props,pt=ht.stackId,gt=ht.hide;if(gt)return ct;var ft=ht[tt],mt=ct[ft]||{hasStack:!1,stackGroups:{}};if(isNumOrStr(pt)){var xt=mt.stackGroups[pt]||{numericAxisId:tt,cateAxisId:rt,items:[]};xt.items.push(ut),mt.hasStack=!0,mt.stackGroups[pt]=xt}else mt.stackGroups[uniqueId("_stackId_")]={numericAxisId:tt,cateAxisId:rt,items:[ut]};return _objectSpread$t(_objectSpread$t({},ct),{},_defineProperty$w({},ft,mt))},at),lt={};return Object.keys(ot).reduce(function(ct,ut){var dt=ot[ut];if(dt.hasStack){var ht={};dt.stackGroups=Object.keys(dt.stackGroups).reduce(function(pt,gt){var ft=dt.stackGroups[gt];return _objectSpread$t(_objectSpread$t({},pt),{},_defineProperty$w({},gt,{numericAxisId:tt,cateAxisId:rt,items:ft.items,stackedData:getStackedData(j,ft.items,nt)}))},ht)}return _objectSpread$t(_objectSpread$t({},ct),{},_defineProperty$w({},ut,dt))},lt)},getTicksOfScale=function _(j,et){var tt=et.realScaleType,rt=et.type,nt=et.tickCount,it=et.originalDomain,st=et.allowDecimals,at=tt||et.scale;if(at!=="auto"&&at!=="linear")return null;if(nt&&rt==="number"&&it&&(it[0]==="auto"||it[1]==="auto")){var ot=j.domain();if(!ot.length)return null;var lt=getNiceTickValues(ot,nt,st);return j.domain([min$1(lt),max$1(lt)]),{niceTicks:lt}}if(nt&&rt==="number"){var ct=j.domain(),ut=getTickValuesFixedDomain(ct,nt,st);return{niceTicks:ut}}return null};function getCateCoordinateOfLine(_){var j=_.axis,et=_.ticks,tt=_.bandSize,rt=_.entry,nt=_.index,it=_.dataKey;if(j.type==="category"){if(!j.allowDuplicatedCategory&&j.dataKey&&!isNil$1(rt[j.dataKey])){var st=findEntryInArray(et,"value",rt[j.dataKey]);if(st)return st.coordinate+tt/2}return et[nt]?et[nt].coordinate+tt/2:null}var at=getValueByDataKey(rt,isNil$1(it)?j.dataKey:it);return isNil$1(at)?null:j.scale(at)}var getCateCoordinateOfBar=function _(j){var et=j.axis,tt=j.ticks,rt=j.offset,nt=j.bandSize,it=j.entry,st=j.index;if(et.type==="category")return tt[st]?tt[st].coordinate+rt:null;var at=getValueByDataKey(it,et.dataKey,et.domain[st]);return isNil$1(at)?null:et.scale(at)-nt/2+rt},getBaseValueOfBar=function _(j){var et=j.numericAxis,tt=et.scale.domain();if(et.type==="number"){var rt=Math.min(tt[0],tt[1]),nt=Math.max(tt[0],tt[1]);return rt<=0&&nt>=0?0:nt<0?nt:rt}return tt[0]},getStackedDataOfItem=function _(j,et){var tt,rt=(tt=j.type)!==null&&tt!==void 0&&tt.defaultProps?_objectSpread$t(_objectSpread$t({},j.type.defaultProps),j.props):j.props,nt=rt.stackId;if(isNumOrStr(nt)){var it=et[nt];if(it){var st=it.items.indexOf(j);return st>=0?it.stackedData[st]:null}}return null},getDomainOfSingle=function _(j){return j.reduce(function(et,tt){return[min$1(tt.concat([et[0]]).filter(isNumber)),max$1(tt.concat([et[1]]).filter(isNumber))]},[1/0,-1/0])},getDomainOfStackGroups=function _(j,et,tt){return Object.keys(j).reduce(function(rt,nt){var it=j[nt],st=it.stackedData,at=st.reduce(function(ot,lt){var ct=getDomainOfSingle(lt.slice(et,tt+1));return[Math.min(ot[0],ct[0]),Math.max(ot[1],ct[1])]},[1/0,-1/0]);return[Math.min(at[0],rt[0]),Math.max(at[1],rt[1])]},[1/0,-1/0]).map(function(rt){return rt===1/0||rt===-1/0?0:rt})},MIN_VALUE_REG=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,MAX_VALUE_REG=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,parseSpecifiedDomain=function _(j,et,tt){if(isFunction$3(j))return j(et,tt);if(!Array.isArray(j))return et;var rt=[];if(isNumber(j[0]))rt[0]=tt?j[0]:Math.min(j[0],et[0]);else if(MIN_VALUE_REG.test(j[0])){var nt=+MIN_VALUE_REG.exec(j[0])[1];rt[0]=et[0]-nt}else isFunction$3(j[0])?rt[0]=j[0](et[0]):rt[0]=et[0];if(isNumber(j[1]))rt[1]=tt?j[1]:Math.max(j[1],et[1]);else if(MAX_VALUE_REG.test(j[1])){var it=+MAX_VALUE_REG.exec(j[1])[1];rt[1]=et[1]+it}else isFunction$3(j[1])?rt[1]=j[1](et[1]):rt[1]=et[1];return rt},getBandSizeOfAxis=function _(j,et,tt){if(j&&j.scale&&j.scale.bandwidth){var rt=j.scale.bandwidth();if(!tt||rt>0)return rt}if(j&&et&&et.length>=2){for(var nt=sortBy$1(et,function(ct){return ct.coordinate}),it=1/0,st=1,at=nt.length;st<at;st++){var ot=nt[st],lt=nt[st-1];it=Math.min((ot.coordinate||0)-(lt.coordinate||0),it)}return it===1/0?0:it}return tt?void 0:0},parseDomainOfCategoryAxis=function _(j,et,tt){return!j||!j.length||isEqual$1(j,get$2(tt,"type.defaultProps.domain"))?et:j},getTooltipItem=function _(j,et){var tt=j.type.defaultProps?_objectSpread$t(_objectSpread$t({},j.type.defaultProps),j.props):j.props,rt=tt.dataKey,nt=tt.name,it=tt.unit,st=tt.formatter,at=tt.tooltipType,ot=tt.chartType,lt=tt.hide;return _objectSpread$t(_objectSpread$t({},filterProps(j,!1)),{},{dataKey:rt,unit:it,formatter:st,name:nt||rt,color:getMainColorOfGraphicItem(j),value:getValueByDataKey(et,rt),type:at,payload:et,chartType:ot,hide:lt})};function _typeof$w(_){"@babel/helpers - typeof";return _typeof$w=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$w(_)}function ownKeys$s(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$s(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$s(Object(et),!0).forEach(function(tt){_defineProperty$v(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$s(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$v(_,j,et){return j=_toPropertyKey$v(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$v(_){var j=_toPrimitive$v(_,"string");return _typeof$w(j)=="symbol"?j:j+""}function _toPrimitive$v(_,j){if(_typeof$w(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$w(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function _slicedToArray$6(_,j){return _arrayWithHoles$7(_)||_iterableToArrayLimit$6(_,j)||_unsupportedIterableToArray$c(_,j)||_nonIterableRest$7()}function _nonIterableRest$7(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 879In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$c(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$c(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray$c(_,j)}}function _arrayLikeToArray$c(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}function _iterableToArrayLimit$6(_,j){var et=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(et!=null){var tt,rt,nt,it,st=[],at=!0,ot=!1;try{if(nt=(et=et.call(_)).next,j!==0)for(;!(at=(tt=nt.call(et)).done)&&(st.push(tt.value),st.length!==j);at=!0);}catch(lt){ot=!0,rt=lt}finally{try{if(!at&&et.return!=null&&(it=et.return(),Object(it)!==it))return}finally{if(ot)throw rt}}return st}}function _arrayWithHoles$7(_){if(Array.isArray(_))return _}var RADIAN$1=Math.PI/180,radianToDegree=function _(j){return j*180/Math.PI},polarToCartesian=function _(j,et,tt,rt){return{x:j+Math.cos(-RADIAN$1*rt)*tt,y:et+Math.sin(-RADIAN$1*rt)*tt}},getMaxRadius=function _(j,et){var tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(j-(tt.left||0)-(tt.right||0)),Math.abs(et-(tt.top||0)-(tt.bottom||0)))/2},formatAxisMap$1=function _(j,et,tt,rt,nt){var it=j.width,st=j.height,at=j.startAngle,ot=j.endAngle,lt=getPercentValue(j.cx,it,it/2),ct=getPercentValue(j.cy,st,st/2),ut=getMaxRadius(it,st,tt),dt=getPercentValue(j.innerRadius,ut,0),ht=getPercentValue(j.outerRadius,ut,ut*.8),pt=Object.keys(et);return pt.reduce(function(gt,ft){var mt=et[ft],xt=mt.domain,yt=mt.reversed,vt;if(isNil$1(mt.range))rt==="angleAxis"?vt=[at,ot]:rt==="radiusAxis"&&(vt=[dt,ht]),yt&&(vt=[vt[1],vt[0]]);else{vt=mt.range;var bt=vt,Et=_slicedToArray$6(bt,2);at=Et[0],ot=Et[1]}var _t=parseScale(mt,nt),wt=_t.realScaleType,Rt=_t.scale;Rt.domain(xt).range(vt),checkDomainOfScale(Rt);var Ct=getTicksOfScale(Rt,_objectSpread$s(_objectSpread$s({},mt),{},{realScaleType:wt})),jt=_objectSpread$s(_objectSpread$s(_objectSpread$s({},mt),Ct),{},{range:vt,radius:ht,realScaleType:wt,scale:Rt,cx:lt,cy:ct,innerRadius:dt,outerRadius:ht,startAngle:at,endAngle:ot});return _objectSpread$s(_objectSpread$s({},gt),{},_defineProperty$v({},ft,jt))},{})},distanceBetweenPoints=function _(j,et){var tt=j.x,rt=j.y,nt=et.x,it=et.y;return Math.sqrt(Math.pow(tt-nt,2)+Math.pow(rt-it,2))},getAngleOfPoint=function _(j,et){var tt=j.x,rt=j.y,nt=et.cx,it=et.cy,st=distanceBetweenPoints({x:tt,y:rt},{x:nt,y:it});if(st<=0)return{radius:st};var at=(tt-nt)/st,ot=Math.acos(at);return rt>it&&(ot=2*Math.PI-ot),{radius:st,angle:radianToDegree(ot),angleInRadian:ot}},formatAngleOfSector=function _(j){var et=j.startAngle,tt=j.endAngle,rt=Math.floor(et/360),nt=Math.floor(tt/360),it=Math.min(rt,nt);return{startAngle:et-it*360,endAngle:tt-it*360}},reverseFormatAngleOfSetor=function _(j,et){var tt=et.startAngle,rt=et.endAngle,nt=Math.floor(tt/360),it=Math.floor(rt/360),st=Math.min(nt,it);return j+st*360},inRangeOfSector=function _(j,et){var tt=j.x,rt=j.y,nt=getAngleOfPoint({x:tt,y:rt},et),it=nt.radius,st=nt.angle,at=et.innerRadius,ot=et.outerRadius;if(it<at||it>ot)return!1;if(it===0)return!0;var lt=formatAngleOfSector(et),ct=lt.startAngle,ut=lt.endAngle,dt=st,ht;if(ct<=ut){for(;dt>ut;)dt-=360;for(;dt<ct;)dt+=360;ht=dt>=ct&&dt<=ut}else{for(;dt>ct;)dt-=360;for(;dt<ut;)dt+=360;ht=dt>=ut&&dt<=ct}return ht?_objectSpread$s(_objectSpread$s({},et),{},{radius:it,angle:reverseFormatAngleOfSetor(dt,et)}):null},getTickClassName=function _(j){return!reactExports.isValidElement(j)&&!isFunction$3(j)&&typeof j!="boolean"?j.className:""};function _typeof$v(_){"@babel/helpers - typeof";return _typeof$v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$v(_)}var _excluded$c=["offset"];function _toConsumableArray$7(_){return _arrayWithoutHoles$7(_)||_iterableToArray$8(_)||_unsupportedIterableToArray$b(_)||_nonIterableSpread$7()}function _nonIterableSpread$7(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 880In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$b(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$b(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray$b(_,j)}}function _iterableToArray$8(_){if(typeof Symbol<"u"&&_[Symbol.iterator]!=null||_["@@iterator"]!=null)return Array.from(_)}function _arrayWithoutHoles$7(_){if(Array.isArray(_))return _arrayLikeToArray$b(_)}function _arrayLikeToArray$b(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}function _objectWithoutProperties$c(_,j){if(_==null)return{};var et=_objectWithoutPropertiesLoose$c(_,j),tt,rt;if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(rt=0;rt<nt.length;rt++)tt=nt[rt],!(j.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(_,tt)&&(et[tt]=_[tt])}return et}function _objectWithoutPropertiesLoose$c(_,j){if(_==null)return{};var et={};for(var tt in _)if(Object.prototype.hasOwnProperty.call(_,tt)){if(j.indexOf(tt)>=0)continue;et[tt]=_[tt]}return et}function ownKeys$r(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$r(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$r(Object(et),!0).forEach(function(tt){_defineProperty$u(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$r(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$u(_,j,et){return j=_toPropertyKey$u(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$u(_){var j=_toPrimitive$u(_,"string");return _typeof$v(j)=="symbol"?j:j+""}function _toPrimitive$u(_,j){if(_typeof$v(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$v(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function _extends$n(){return _extends$n=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$n.apply(this,arguments)}var getLabel=function _(j){var et=j.value,tt=j.formatter,rt=isNil$1(j.children)?et:j.children;return isFunction$3(tt)?tt(rt):rt},getDeltaAngle$1=function _(j,et){var tt=mathSign(et-j),rt=Math.min(Math.abs(et-j),360);return tt*rt},renderRadialLabel=function _(j,et,tt){var rt=j.position,nt=j.viewBox,it=j.offset,st=j.className,at=nt,ot=at.cx,lt=at.cy,ct=at.innerRadius,ut=at.outerRadius,dt=at.startAngle,ht=at.endAngle,pt=at.clockWise,gt=(ct+ut)/2,ft=getDeltaAngle$1(dt,ht),mt=ft>=0?1:-1,xt,yt;rt==="insideStart"?(xt=dt+mt*it,yt=pt):rt==="insideEnd"?(xt=ht-mt*it,yt=!pt):rt==="end"&&(xt=ht+mt*it,yt=pt),yt=ft<=0?yt:!yt;var vt=polarToCartesian(ot,lt,gt,xt),bt=polarToCartesian(ot,lt,gt,xt+(yt?1:-1)*359),Et="M".concat(vt.x,",").concat(vt.y,` 881 A`).concat(gt,",").concat(gt,",0,1,").concat(yt?0:1,`, 882 `).concat(bt.x,",").concat(bt.y),_t=isNil$1(j.id)?uniqueId("recharts-radial-line-"):j.id;return React$1.createElement("text",_extends$n({},tt,{dominantBaseline:"central",className:clsx("recharts-radial-bar-label",st)}),React$1.createElement("defs",null,React$1.createElement("path",{id:_t,d:Et})),React$1.createElement("textPath",{xlinkHref:"#".concat(_t)},et))},getAttrsOfPolarLabel=function _(j){var et=j.viewBox,tt=j.offset,rt=j.position,nt=et,it=nt.cx,st=nt.cy,at=nt.innerRadius,ot=nt.outerRadius,lt=nt.startAngle,ct=nt.endAngle,ut=(lt+ct)/2;if(rt==="outside"){var dt=polarToCartesian(it,st,ot+tt,ut),ht=dt.x,pt=dt.y;return{x:ht,y:pt,textAnchor:ht>=it?"start":"end",verticalAnchor:"middle"}}if(rt==="center")return{x:it,y:st,textAnchor:"middle",verticalAnchor:"middle"};if(rt==="centerTop")return{x:it,y:st,textAnchor:"middle",verticalAnchor:"start"};if(rt==="centerBottom")return{x:it,y:st,textAnchor:"middle",verticalAnchor:"end"};var gt=(at+ot)/2,ft=polarToCartesian(it,st,gt,ut),mt=ft.x,xt=ft.y;return{x:mt,y:xt,textAnchor:"middle",verticalAnchor:"middle"}},getAttrsOfCartesianLabel=function _(j){var et=j.viewBox,tt=j.parentViewBox,rt=j.offset,nt=j.position,it=et,st=it.x,at=it.y,ot=it.width,lt=it.height,ct=lt>=0?1:-1,ut=ct*rt,dt=ct>0?"end":"start",ht=ct>0?"start":"end",pt=ot>=0?1:-1,gt=pt*rt,ft=pt>0?"end":"start",mt=pt>0?"start":"end";if(nt==="top"){var xt={x:st+ot/2,y:at-ct*rt,textAnchor:"middle",verticalAnchor:dt};return _objectSpread$r(_objectSpread$r({},xt),tt?{height:Math.max(at-tt.y,0),width:ot}:{})}if(nt==="bottom"){var yt={x:st+ot/2,y:at+lt+ut,textAnchor:"middle",verticalAnchor:ht};return _objectSpread$r(_objectSpread$r({},yt),tt?{height:Math.max(tt.y+tt.height-(at+lt),0),width:ot}:{})}if(nt==="left"){var vt={x:st-gt,y:at+lt/2,textAnchor:ft,verticalAnchor:"middle"};return _objectSpread$r(_objectSpread$r({},vt),tt?{width:Math.max(vt.x-tt.x,0),height:lt}:{})}if(nt==="right"){var bt={x:st+ot+gt,y:at+lt/2,textAnchor:mt,verticalAnchor:"middle"};return _objectSpread$r(_objectSpread$r({},bt),tt?{width:Math.max(tt.x+tt.width-bt.x,0),height:lt}:{})}var Et=tt?{width:ot,height:lt}:{};return nt==="insideLeft"?_objectSpread$r({x:st+gt,y:at+lt/2,textAnchor:mt,verticalAnchor:"middle"},Et):nt==="insideRight"?_objectSpread$r({x:st+ot-gt,y:at+lt/2,textAnchor:ft,verticalAnchor:"middle"},Et):nt==="insideTop"?_objectSpread$r({x:st+ot/2,y:at+ut,textAnchor:"middle",verticalAnchor:ht},Et):nt==="insideBottom"?_objectSpread$r({x:st+ot/2,y:at+lt-ut,textAnchor:"middle",verticalAnchor:dt},Et):nt==="insideTopLeft"?_objectSpread$r({x:st+gt,y:at+ut,textAnchor:mt,verticalAnchor:ht},Et):nt==="insideTopRight"?_objectSpread$r({x:st+ot-gt,y:at+ut,textAnchor:ft,verticalAnchor:ht},Et):nt==="insideBottomLeft"?_objectSpread$r({x:st+gt,y:at+lt-ut,textAnchor:mt,verticalAnchor:dt},Et):nt==="insideBottomRight"?_objectSpread$r({x:st+ot-gt,y:at+lt-ut,textAnchor:ft,verticalAnchor:dt},Et):isObject$8(nt)&&(isNumber(nt.x)||isPercent(nt.x))&&(isNumber(nt.y)||isPercent(nt.y))?_objectSpread$r({x:st+getPercentValue(nt.x,ot),y:at+getPercentValue(nt.y,lt),textAnchor:"end",verticalAnchor:"end"},Et):_objectSpread$r({x:st+ot/2,y:at+lt/2,textAnchor:"middle",verticalAnchor:"middle"},Et)},isPolar=function _(j){return"cx"in j&&isNumber(j.cx)};function Label(_){var j=_.offset,et=j===void 0?5:j,tt=_objectWithoutProperties$c(_,_excluded$c),rt=_objectSpread$r({offset:et},tt),nt=rt.viewBox,it=rt.position,st=rt.value,at=rt.children,ot=rt.content,lt=rt.className,ct=lt===void 0?"":lt,ut=rt.textBreakAll;if(!nt||isNil$1(st)&&isNil$1(at)&&!reactExports.isValidElement(ot)&&!isFunction$3(ot))return null;if(reactExports.isValidElement(ot))return reactExports.cloneElement(ot,rt);var dt;if(isFunction$3(ot)){if(dt=reactExports.createElement(ot,rt),reactExports.isValidElement(dt))return dt}else dt=getLabel(rt);var ht=isPolar(nt),pt=filterProps(rt,!0);if(ht&&(it==="insideStart"||it==="insideEnd"||it==="end"))return renderRadialLabel(rt,dt,pt);var gt=ht?getAttrsOfPolarLabel(rt):getAttrsOfCartesianLabel(rt);return React$1.createElement(Text,_extends$n({className:clsx("recharts-label",ct)},pt,gt,{breakAll:ut}),dt)}Label.displayName="Label";var parseViewBox=function _(j){var et=j.cx,tt=j.cy,rt=j.angle,nt=j.startAngle,it=j.endAngle,st=j.r,at=j.radius,ot=j.innerRadius,lt=j.outerRadius,ct=j.x,ut=j.y,dt=j.top,ht=j.left,pt=j.width,gt=j.height,ft=j.clockWise,mt=j.labelViewBox;if(mt)return mt;if(isNumber(pt)&&isNumber(gt)){if(isNumber(ct)&&isNumber(ut))return{x:ct,y:ut,width:pt,height:gt};if(isNumber(dt)&&isNumber(ht))return{x:dt,y:ht,width:pt,height:gt}}return isNumber(ct)&&isNumber(ut)?{x:ct,y:ut,width:0,height:0}:isNumber(et)&&isNumber(tt)?{cx:et,cy:tt,startAngle:nt||rt||0,endAngle:it||rt||0,innerRadius:ot||0,outerRadius:lt||at||st||0,clockWise:ft}:j.viewBox?j.viewBox:{}},parseLabel=function _(j,et){return j?j===!0?React$1.createElement(Label,{key:"label-implicit",viewBox:et}):isNumOrStr(j)?React$1.createElement(Label,{key:"label-implicit",viewBox:et,value:j}):reactExports.isValidElement(j)?j.type===Label?reactExports.cloneElement(j,{key:"label-implicit",viewBox:et}):React$1.createElement(Label,{key:"label-implicit",content:j,viewBox:et}):isFunction$3(j)?React$1.createElement(Label,{key:"label-implicit",content:j,viewBox:et}):isObject$8(j)?React$1.createElement(Label,_extends$n({viewBox:et},j,{key:"label-implicit"})):null:null},renderCallByParent$1=function _(j,et){var tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!j||!j.children&&tt&&!j.label)return null;var rt=j.children,nt=parseViewBox(j),it=findAllByType(rt,Label).map(function(at,ot){return reactExports.cloneElement(at,{viewBox:et||nt,key:"label-".concat(ot)})});if(!tt)return it;var st=parseLabel(j.label,et||nt);return[st].concat(_toConsumableArray$7(it))};Label.parseViewBox=parseViewBox;Label.renderCallByParent=renderCallByParent$1;function last(_){var j=_==null?0:_.length;return j?_[j-1]:void 0}var last_1=last;const last$1=getDefaultExportFromCjs(last_1);function _typeof$u(_){"@babel/helpers - typeof";return _typeof$u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$u(_)}var _excluded$b=["valueAccessor"],_excluded2$5=["data","dataKey","clockWise","id","textBreakAll"];function _toConsumableArray$6(_){return _arrayWithoutHoles$6(_)||_iterableToArray$7(_)||_unsupportedIterableToArray$a(_)||_nonIterableSpread$6()}function _nonIterableSpread$6(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 883In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$a(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$a(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray$a(_,j)}}function _iterableToArray$7(_){if(typeof Symbol<"u"&&_[Symbol.iterator]!=null||_["@@iterator"]!=null)return Array.from(_)}function _arrayWithoutHoles$6(_){if(Array.isArray(_))return _arrayLikeToArray$a(_)}function _arrayLikeToArray$a(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}function _extends$m(){return _extends$m=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$m.apply(this,arguments)}function ownKeys$q(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$q(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$q(Object(et),!0).forEach(function(tt){_defineProperty$t(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$q(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$t(_,j,et){return j=_toPropertyKey$t(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$t(_){var j=_toPrimitive$t(_,"string");return _typeof$u(j)=="symbol"?j:j+""}function _toPrimitive$t(_,j){if(_typeof$u(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$u(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function _objectWithoutProperties$b(_,j){if(_==null)return{};var et=_objectWithoutPropertiesLoose$b(_,j),tt,rt;if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(rt=0;rt<nt.length;rt++)tt=nt[rt],!(j.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(_,tt)&&(et[tt]=_[tt])}return et}function _objectWithoutPropertiesLoose$b(_,j){if(_==null)return{};var et={};for(var tt in _)if(Object.prototype.hasOwnProperty.call(_,tt)){if(j.indexOf(tt)>=0)continue;et[tt]=_[tt]}return et}var defaultAccessor=function _(j){return Array.isArray(j.value)?last$1(j.value):j.value};function LabelList(_){var j=_.valueAccessor,et=j===void 0?defaultAccessor:j,tt=_objectWithoutProperties$b(_,_excluded$b),rt=tt.data,nt=tt.dataKey,it=tt.clockWise,st=tt.id,at=tt.textBreakAll,ot=_objectWithoutProperties$b(tt,_excluded2$5);return!rt||!rt.length?null:React$1.createElement(Layer,{className:"recharts-label-list"},rt.map(function(lt,ct){var ut=isNil$1(nt)?et(lt,ct):getValueByDataKey(lt&<.payload,nt),dt=isNil$1(st)?{}:{id:"".concat(st,"-").concat(ct)};return React$1.createElement(Label,_extends$m({},filterProps(lt,!0),ot,dt,{parentViewBox:lt.parentViewBox,value:ut,textBreakAll:at,viewBox:Label.parseViewBox(isNil$1(it)?lt:_objectSpread$q(_objectSpread$q({},lt),{},{clockWise:it})),key:"label-".concat(ct),index:ct}))}))}LabelList.displayName="LabelList";function parseLabelList(_,j){return _?_===!0?React$1.createElement(LabelList,{key:"labelList-implicit",data:j}):React$1.isValidElement(_)||isFunction$3(_)?React$1.createElement(LabelList,{key:"labelList-implicit",data:j,content:_}):isObject$8(_)?React$1.createElement(LabelList,_extends$m({data:j},_,{key:"labelList-implicit"})):null:null}function renderCallByParent(_,j){var et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!_||!_.children&&et&&!_.label)return null;var tt=_.children,rt=findAllByType(tt,LabelList).map(function(it,st){return reactExports.cloneElement(it,{data:j,key:"labelList-".concat(st)})});if(!et)return rt;var nt=parseLabelList(_.label,j);return[nt].concat(_toConsumableArray$6(rt))}LabelList.renderCallByParent=renderCallByParent;function _typeof$t(_){"@babel/helpers - typeof";return _typeof$t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$t(_)}function _extends$l(){return _extends$l=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$l.apply(this,arguments)}function ownKeys$p(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$p(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$p(Object(et),!0).forEach(function(tt){_defineProperty$s(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$p(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$s(_,j,et){return j=_toPropertyKey$s(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$s(_){var j=_toPrimitive$s(_,"string");return _typeof$t(j)=="symbol"?j:j+""}function _toPrimitive$s(_,j){if(_typeof$t(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$t(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var getDeltaAngle=function _(j,et){var tt=mathSign(et-j),rt=Math.min(Math.abs(et-j),359.999);return tt*rt},getTangentCircle=function _(j){var et=j.cx,tt=j.cy,rt=j.radius,nt=j.angle,it=j.sign,st=j.isExternal,at=j.cornerRadius,ot=j.cornerIsExternal,lt=at*(st?1:-1)+rt,ct=Math.asin(at/lt)/RADIAN$1,ut=ot?nt:nt+it*ct,dt=polarToCartesian(et,tt,lt,ut),ht=polarToCartesian(et,tt,rt,ut),pt=ot?nt-it*ct:nt,gt=polarToCartesian(et,tt,lt*Math.cos(ct*RADIAN$1),pt);return{center:dt,circleTangency:ht,lineTangency:gt,theta:ct}},getSectorPath=function _(j){var et=j.cx,tt=j.cy,rt=j.innerRadius,nt=j.outerRadius,it=j.startAngle,st=j.endAngle,at=getDeltaAngle(it,st),ot=it+at,lt=polarToCartesian(et,tt,nt,it),ct=polarToCartesian(et,tt,nt,ot),ut="M ".concat(lt.x,",").concat(lt.y,` 884 A `).concat(nt,",").concat(nt,`,0, 885 `).concat(+(Math.abs(at)>180),",").concat(+(it>ot),`, 886 `).concat(ct.x,",").concat(ct.y,` 887 `);if(rt>0){var dt=polarToCartesian(et,tt,rt,it),ht=polarToCartesian(et,tt,rt,ot);ut+="L ".concat(ht.x,",").concat(ht.y,` 888 A `).concat(rt,",").concat(rt,`,0, 889 `).concat(+(Math.abs(at)>180),",").concat(+(it<=ot),`, 890 `).concat(dt.x,",").concat(dt.y," Z")}else ut+="L ".concat(et,",").concat(tt," Z");return ut},getSectorWithCorner=function _(j){var et=j.cx,tt=j.cy,rt=j.innerRadius,nt=j.outerRadius,it=j.cornerRadius,st=j.forceCornerRadius,at=j.cornerIsExternal,ot=j.startAngle,lt=j.endAngle,ct=mathSign(lt-ot),ut=getTangentCircle({cx:et,cy:tt,radius:nt,angle:ot,sign:ct,cornerRadius:it,cornerIsExternal:at}),dt=ut.circleTangency,ht=ut.lineTangency,pt=ut.theta,gt=getTangentCircle({cx:et,cy:tt,radius:nt,angle:lt,sign:-ct,cornerRadius:it,cornerIsExternal:at}),ft=gt.circleTangency,mt=gt.lineTangency,xt=gt.theta,yt=at?Math.abs(ot-lt):Math.abs(ot-lt)-pt-xt;if(yt<0)return st?"M ".concat(ht.x,",").concat(ht.y,` 891 a`).concat(it,",").concat(it,",0,0,1,").concat(it*2,`,0 892 a`).concat(it,",").concat(it,",0,0,1,").concat(-it*2,`,0 893 `):getSectorPath({cx:et,cy:tt,innerRadius:rt,outerRadius:nt,startAngle:ot,endAngle:lt});var vt="M ".concat(ht.x,",").concat(ht.y,` 894 A`).concat(it,",").concat(it,",0,0,").concat(+(ct<0),",").concat(dt.x,",").concat(dt.y,` 895 A`).concat(nt,",").concat(nt,",0,").concat(+(yt>180),",").concat(+(ct<0),",").concat(ft.x,",").concat(ft.y,` 896 A`).concat(it,",").concat(it,",0,0,").concat(+(ct<0),",").concat(mt.x,",").concat(mt.y,` 897 `);if(rt>0){var bt=getTangentCircle({cx:et,cy:tt,radius:rt,angle:ot,sign:ct,isExternal:!0,cornerRadius:it,cornerIsExternal:at}),Et=bt.circleTangency,_t=bt.lineTangency,wt=bt.theta,Rt=getTangentCircle({cx:et,cy:tt,radius:rt,angle:lt,sign:-ct,isExternal:!0,cornerRadius:it,cornerIsExternal:at}),Ct=Rt.circleTangency,jt=Rt.lineTangency,Dt=Rt.theta,It=at?Math.abs(ot-lt):Math.abs(ot-lt)-wt-Dt;if(It<0&&it===0)return"".concat(vt,"L").concat(et,",").concat(tt,"Z");vt+="L".concat(jt.x,",").concat(jt.y,` 898 A`).concat(it,",").concat(it,",0,0,").concat(+(ct<0),",").concat(Ct.x,",").concat(Ct.y,` 899 A`).concat(rt,",").concat(rt,",0,").concat(+(It>180),",").concat(+(ct>0),",").concat(Et.x,",").concat(Et.y,` 900 A`).concat(it,",").concat(it,",0,0,").concat(+(ct<0),",").concat(_t.x,",").concat(_t.y,"Z")}else vt+="L".concat(et,",").concat(tt,"Z");return vt},defaultProps$3={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},Sector=function _(j){var et=_objectSpread$p(_objectSpread$p({},defaultProps$3),j),tt=et.cx,rt=et.cy,nt=et.innerRadius,it=et.outerRadius,st=et.cornerRadius,at=et.forceCornerRadius,ot=et.cornerIsExternal,lt=et.startAngle,ct=et.endAngle,ut=et.className;if(it<nt||lt===ct)return null;var dt=clsx("recharts-sector",ut),ht=it-nt,pt=getPercentValue(st,ht,0,!0),gt;return pt>0&&Math.abs(lt-ct)<360?gt=getSectorWithCorner({cx:tt,cy:rt,innerRadius:nt,outerRadius:it,cornerRadius:Math.min(pt,ht/2),forceCornerRadius:at,cornerIsExternal:ot,startAngle:lt,endAngle:ct}):gt=getSectorPath({cx:tt,cy:rt,innerRadius:nt,outerRadius:it,startAngle:lt,endAngle:ct}),React$1.createElement("path",_extends$l({},filterProps(et,!0),{className:dt,d:gt,role:"img"}))};function _typeof$s(_){"@babel/helpers - typeof";return _typeof$s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$s(_)}function _extends$k(){return _extends$k=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$k.apply(this,arguments)}function ownKeys$o(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$o(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};
900j%2?ownKeys$o(Object(et),!0).forEach(function(tt){_defineProperty$r(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$o(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$r(_,j,et){return j=_toPropertyKey$r(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$r(_){var j=_toPrimitive$r(_,"string");return _typeof$s(j)=="symbol"?j:j+""}function _toPrimitive$r(_,j){if(_typeof$s(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$s(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var CURVE_FACTORIES={curveBasisClosed,curveBasisOpen,curveBasis,curveBumpX:bumpX,curveBumpY:bumpY,curveLinearClosed,curveLinear,curveMonotoneX:monotoneX,curveMonotoneY:monotoneY,curveNatural,curveStep,curveStepAfter:stepAfter,curveStepBefore:stepBefore},defined=function _(j){return j.x===+j.x&&j.y===+j.y},getX=function _(j){return j.x},getY=function _(j){return j.y},getCurveFactory=function _(j,et){if(isFunction$3(j))return j;var tt="curve".concat(upperFirst$1(j));return(tt==="curveMonotone"||tt==="curveBump")&&et?CURVE_FACTORIES["".concat(tt).concat(et==="vertical"?"Y":"X")]:CURVE_FACTORIES[tt]||curveLinear},getPath$1=function _(j){var et=j.type,tt=et===void 0?"linear":et,rt=j.points,nt=rt===void 0?[]:rt,it=j.baseLine,st=j.layout,at=j.connectNulls,ot=at===void 0?!1:at,lt=getCurveFactory(tt,st),ct=ot?nt.filter(function(pt){return defined(pt)}):nt,ut;if(Array.isArray(it)){var dt=ot?it.filter(function(pt){return defined(pt)}):it,ht=ct.map(function(pt,gt){return _objectSpread$o(_objectSpread$o({},pt),{},{base:dt[gt]})});return st==="vertical"?ut=shapeArea().y(getY).x1(getX).x0(function(pt){return pt.base.x}):ut=shapeArea().x(getX).y1(getY).y0(function(pt){return pt.base.y}),ut.defined(defined).curve(lt),ut(ht)}return st==="vertical"&&isNumber(it)?ut=shapeArea().y(getY).x1(getX).x0(it):isNumber(it)?ut=shapeArea().x(getX).y1(getY).y0(it):ut=shapeLine().x(getX).y(getY),ut.defined(defined).curve(lt),ut(ct)},Curve=function _(j){var et=j.className,tt=j.points,rt=j.path,nt=j.pathRef;if((!tt||!tt.length)&&!rt)return null;var it=tt&&tt.length?getPath$1(j):rt;return reactExports.createElement("path",_extends$k({},filterProps(j,!1),adaptEventHandlers(j),{className:clsx("recharts-curve",et),d:it,ref:nt}))},propTypes={exports:{}},ReactPropTypesSecret$1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ReactPropTypesSecret_1=ReactPropTypesSecret$1,ReactPropTypesSecret=ReactPropTypesSecret_1;function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction;var factoryWithThrowingShims=function(){function _(tt,rt,nt,it,st,at){if(at!==ReactPropTypesSecret){var ot=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw ot.name="Invariant Violation",ot}}_.isRequired=_;function j(){return _}var et={array:_,bigint:_,bool:_,func:_,number:_,object:_,string:_,symbol:_,any:_,arrayOf:j,element:_,elementType:_,instanceOf:j,node:_,objectOf:j,oneOf:j,oneOfType:j,shape:j,exact:j,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return et.PropTypes=et,et};propTypes.exports=factoryWithThrowingShims();var propTypesExports=propTypes.exports;const PropTypes=getDefaultExportFromCjs(propTypesExports);var getOwnPropertyNames=Object.getOwnPropertyNames,getOwnPropertySymbols=Object.getOwnPropertySymbols,hasOwnProperty$1=Object.prototype.hasOwnProperty;function combineComparators(_,j){return function(tt,rt,nt){return _(tt,rt,nt)&&j(tt,rt,nt)}}function createIsCircular(_){return function(et,tt,rt){if(!et||!tt||typeof et!="object"||typeof tt!="object")return _(et,tt,rt);var nt=rt.cache,it=nt.get(et),st=nt.get(tt);if(it&&st)return it===tt&&st===et;nt.set(et,tt),nt.set(tt,et);var at=_(et,tt,rt);return nt.delete(et),nt.delete(tt),at}}function getStrictProperties(_){return getOwnPropertyNames(_).concat(getOwnPropertySymbols(_))}var hasOwn=Object.hasOwn||function(_,j){return hasOwnProperty$1.call(_,j)};function sameValueZeroEqual(_,j){return _===j||!_&&!j&&_!==_&&j!==j}var PREACT_VNODE="__v",PREACT_OWNER="__o",REACT_OWNER="_owner",getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,keys$1=Object.keys;function areArraysEqual(_,j,et){var tt=_.length;if(j.length!==tt)return!1;for(;tt-- >0;)if(!et.equals(_[tt],j[tt],tt,tt,_,j,et))return!1;return!0}function areDatesEqual(_,j){return sameValueZeroEqual(_.getTime(),j.getTime())}function areErrorsEqual(_,j){return _.name===j.name&&_.message===j.message&&_.cause===j.cause&&_.stack===j.stack}function areFunctionsEqual(_,j){return _===j}function areMapsEqual(_,j,et){var tt=_.size;if(tt!==j.size)return!1;if(!tt)return!0;for(var rt=new Array(tt),nt=_.entries(),it,st,at=0;(it=nt.next())&&!it.done;){for(var ot=j.entries(),lt=!1,ct=0;(st=ot.next())&&!st.done;){if(rt[ct]){ct++;continue}var ut=it.value,dt=st.value;if(et.equals(ut[0],dt[0],at,ct,_,j,et)&&et.equals(ut[1],dt[1],ut[0],dt[0],_,j,et)){lt=rt[ct]=!0;break}ct++}if(!lt)return!1;at++}return!0}var areNumbersEqual=sameValueZeroEqual;function areObjectsEqual(_,j,et){var tt=keys$1(_),rt=tt.length;if(keys$1(j).length!==rt)return!1;for(;rt-- >0;)if(!isPropertyEqual(_,j,et,tt[rt]))return!1;return!0}function areObjectsEqualStrict(_,j,et){var tt=getStrictProperties(_),rt=tt.length;if(getStrictProperties(j).length!==rt)return!1;
900for(var nt,it,st;rt-- >0;)if(nt=tt[rt],!isPropertyEqual(_,j,et,nt)||(it=getOwnPropertyDescriptor(_,nt),st=getOwnPropertyDescriptor(j,nt),(it||st)&&(!it||!st||it.configurable!==st.configurable||it.enumerable!==st.enumerable||it.writable!==st.writable)))return!1;return!0}function arePrimitiveWrappersEqual(_,j){return sameValueZeroEqual(_.valueOf(),j.valueOf())}function areRegExpsEqual(_,j){return _.source===j.source&&_.flags===j.flags}function areSetsEqual(_,j,et){var tt=_.size;if(tt!==j.size)return!1;if(!tt)return!0;for(var rt=new Array(tt),nt=_.values(),it,st;(it=nt.next())&&!it.done;){for(var at=j.values(),ot=!1,lt=0;(st=at.next())&&!st.done;){if(!rt[lt]&&et.equals(it.value,st.value,it.value,st.value,_,j,et)){ot=rt[lt]=!0;break}lt++}if(!ot)return!1}return!0}function areTypedArraysEqual(_,j){var et=_.length;if(j.length!==et)return!1;for(;et-- >0;)if(_[et]!==j[et])return!1;return!0}function areUrlsEqual(_,j){return _.hostname===j.hostname&&_.pathname===j.pathname&&_.protocol===j.protocol&&_.port===j.port&&_.hash===j.hash&&_.username===j.username&&_.password===j.password}function isPropertyEqual(_,j,et,tt){return(tt===REACT_OWNER||tt===PREACT_OWNER||tt===PREACT_VNODE)&&(_.$$typeof||j.$$typeof)?!0:hasOwn(j,tt)&&et.equals(_[tt],j[tt],tt,tt,_,j,et)}var ARGUMENTS_TAG="[object Arguments]",BOOLEAN_TAG="[object Boolean]",DATE_TAG="[object Date]",ERROR_TAG="[object Error]",MAP_TAG="[object Map]",NUMBER_TAG="[object Number]",OBJECT_TAG="[object Object]",REG_EXP_TAG="[object RegExp]",SET_TAG="[object Set]",STRING_TAG="[object String]",URL_TAG="[object URL]",isArray$2=Array.isArray,isTypedArray=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,assign=Object.assign,getTag=Object.prototype.toString.call.bind(Object.prototype.toString);function createEqualityComparator(_){var j=_.areArraysEqual,et=_.areDatesEqual,tt=_.areErrorsEqual,rt=_.areFunctionsEqual,nt=_.areMapsEqual,it=_.areNumbersEqual,st=_.areObjectsEqual,at=_.arePrimitiveWrappersEqual,ot=_.areRegExpsEqual,lt=_.areSetsEqual,ct=_.areTypedArraysEqual,ut=_.areUrlsEqual;return function(ht,pt,gt){if(ht===pt)return!0;if(ht==null||pt==null)return!1;var ft=typeof ht;if(ft!==typeof pt)return!1;if(ft!=="object")return ft==="number"?it(ht,pt,gt):ft==="function"?rt(ht,pt,gt):!1;var mt=ht.constructor;if(mt!==pt.constructor)return!1;if(mt===Object)return st(ht,pt,gt);if(isArray$2(ht))return j(ht,pt,gt);if(isTypedArray!=null&&isTypedArray(ht))return ct(ht,pt,gt);if(mt===Date)return et(ht,pt,gt);if(mt===RegExp)return ot(ht,pt,gt);if(mt===Map)return nt(ht,pt,gt);if(mt===Set)return lt(ht,pt,gt);var xt=getTag(ht);return xt===DATE_TAG?et(ht,pt,gt):xt===REG_EXP_TAG?ot(ht,pt,gt):xt===MAP_TAG?nt(ht,pt,gt):xt===SET_TAG?lt(ht,pt,gt):xt===OBJECT_TAG?typeof ht.then!="function"&&typeof pt.then!="function"&&st(ht,pt,gt):xt===URL_TAG?ut(ht,pt,gt):xt===ERROR_TAG?tt(ht,pt,gt):xt===ARGUMENTS_TAG?st(ht,pt,gt):xt===BOOLEAN_TAG||xt===NUMBER_TAG||xt===STRING_TAG?at(ht,pt,gt):!1}}function createEqualityComparatorConfig(_){var j=_.circular,et=_.createCustomConfig,tt=_.strict,rt={areArraysEqual:tt?areObjectsEqualStrict:areArraysEqual,areDatesEqual,areErrorsEqual,areFunctionsEqual,areMapsEqual:tt?combineComparators(areMapsEqual,areObjectsEqualStrict):areMapsEqual,areNumbersEqual,areObjectsEqual:tt?areObjectsEqualStrict:areObjectsEqual,arePrimitiveWrappersEqual,areRegExpsEqual,areSetsEqual:tt?combineComparators(areSetsEqual,areObjectsEqualStrict):areSetsEqual,areTypedArraysEqual:tt?areObjectsEqualStrict:areTypedArraysEqual,areUrlsEqual};if(et&&(rt=assign({},rt,et(rt))),j){var nt=createIsCircular(rt.areArraysEqual),it=createIsCircular(rt.areMapsEqual),st=createIsCircular(rt.areObjectsEqual),at=createIsCircular(rt.areSetsEqual);rt=assign({},rt,{areArraysEqual:nt,areMapsEqual:it,areObjectsEqual:st,areSetsEqual:at})}return rt}function createInternalEqualityComparator(_){return function(j,et,tt,rt,nt,it,st){return _(j,et,st)}}function createIsEqual(_){var j=_.circular,et=_.comparator,tt=_.createState,rt=_.equals,nt=_.strict;if(tt)return function(at,ot){var lt=tt(),ct=lt.cache,ut=ct===void 0?j?new WeakMap:void 0:ct,dt=lt.meta;return et(at,ot,{cache:ut,equals:rt,meta:dt,strict:nt})};if(j)return function(at,ot){return et(at,ot,{cache:new WeakMap,equals:rt,meta:void 0,strict:nt})};var it={cache:void 0,equals:rt,meta:void 0,strict:nt};return function(at,ot){return et(at,ot,it)}}var deepEqual=createCustomEqual();createCustomEqual({strict:!0});createCustomEqual({circular:!0});createCustomEqual({circular:!0,strict:!0});createCustomEqual({createInternalComparator:function(){return sameValueZeroEqual}});createCustomEqual({strict:!0,createInternalComparator:function(){return sameValueZeroEqual}});createCustomEqual({circular:!0,createInternalComparator:function(){return sameValueZeroEqual}});createCustomEqual({circular:!0,createInternalComparator:function(){return sameValueZeroEqual},strict:!0});function createCustomEqual(_){_===void 0&&(_={});var j=_.circular,et=j===void 0?!1:j,tt=_.createInternalComparator,rt=_.createState,nt=_.strict,it=nt===void 0?!1:nt,
vendor: 4,606 bytes, lines 900-901
900st=createEqualityComparatorConfig(_),at=createEqualityComparator(st),ot=tt?tt(at):createInternalEqualityComparator(at);return createIsEqual({circular:et,comparator:at,createState:rt,equals:ot,strict:it})}function safeRequestAnimationFrame(_){typeof requestAnimationFrame<"u"&&requestAnimationFrame(_)}function setRafTimeout(_){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,et=-1,tt=function rt(nt){et<0&&(et=nt),nt-et>j?(_(nt),et=-1):safeRequestAnimationFrame(rt)};requestAnimationFrame(tt)}function _typeof$r(_){"@babel/helpers - typeof";return _typeof$r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$r(_)}function _toArray(_){return _arrayWithHoles$6(_)||_iterableToArray$6(_)||_unsupportedIterableToArray$9(_)||_nonIterableRest$6()}function _nonIterableRest$6(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 901In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$9(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$9(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray$9(_,j)}}function _arrayLikeToArray$9(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}function _iterableToArray$6(_){if(typeof Symbol<"u"&&_[Symbol.iterator]!=null||_["@@iterator"]!=null)return Array.from(_)}function _arrayWithHoles$6(_){if(Array.isArray(_))return _}function createAnimateManager(){var _={},j=function(){return null},et=!1,tt=function rt(nt){if(!et){if(Array.isArray(nt)){if(!nt.length)return;var it=nt,st=_toArray(it),at=st[0],ot=st.slice(1);if(typeof at=="number"){setRafTimeout(rt.bind(null,ot),at);return}rt(at),setRafTimeout(rt.bind(null,ot));return}_typeof$r(nt)==="object"&&(_=nt,j(_)),typeof nt=="function"&&nt()}};return{stop:function(){et=!0},start:function(nt){et=!1,tt(nt)},subscribe:function(nt){return j=nt,function(){j=function(){return null}}}}}function _typeof$q(_){"@babel/helpers - typeof";return _typeof$q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$q(_)}function ownKeys$n(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$n(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$n(Object(et),!0).forEach(function(tt){_defineProperty$q(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$n(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$q(_,j,et){return j=_toPropertyKey$q(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$q(_){var j=_toPrimitive$q(_,"string");return _typeof$q(j)==="symbol"?j:String(j)}function _toPrimitive$q(_,j){if(_typeof$q(_)!=="object"||_===null)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$q(tt)!=="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var getIntersectionKeys=function _(j,et){return[Object.keys(j),Object.keys(et)].reduce(function(tt,rt){return tt.filter(function(nt){return rt.includes(nt)})})},identity=function _(j){return j},getDashCase=function _(j){return j.replace(/([A-Z])/g,function(et){return"-".concat(et.toLowerCase())})},mapObject=function _(j,et){return Object.keys(et).reduce(function(tt,rt){return _objectSpread$n(_objectSpread$n({},tt),{},_defineProperty$q({},rt,j(rt,et[rt])))},{})},getTransitionVal=function _(j,et,tt){return j.map(function(rt){return"".concat(getDashCase(rt)," ").concat(et,"ms ").concat(tt)}).join(",")};function _slicedToArray$5(_,j){return _arrayWithHoles$5(_)||_iterableToArrayLimit$5(_,j)||_unsupportedIterableToArray$8(_,j)||_nonIterableRest$5()}function _nonIterableRest$5(){throw new TypeError(`Invalid attempt to de
901structure non-iterable instance. 902In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArrayLimit$5(_,j){var et=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(et!=null){var tt,rt,nt,it,st=[],at=!0,ot=!1;try{if(nt=(et=et.call(_)).next,j!==0)for(;!(at=(tt=nt.call(et)).done)&&(st.push(tt.value),st.length!==j);at=!0);}catch(lt){ot=!0,rt=lt}finally{try{if(!at&&et.return!=null&&(it=et.return(),Object(it)!==it))return}finally{if(ot)throw rt}}return st}}function _arrayWithHoles$5(_){if(Array.isArray(_))return _}function _toConsumableArray$5(_){return _arrayWithoutHoles$5(_)||_iterableToArray$5(_)||_unsupportedIterableToArray$8(_)||_nonIterableSpread$5()}function _nonIterableSpread$5(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 903In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$8(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$8(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray$8(_,j)}}function _iterableToArray$5(_){if(typeof Symbol<"u"&&_[Symbol.iterator]!=null||_["@@iterator"]!=null)return Array.from(_)}function _arrayWithoutHoles$5(_){if(Array.isArray(_))return _arrayLikeToArray$8(_)}function _arrayLikeToArray$8(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}var ACCURACY=1e-4,cubicBezierFactor=function _(j,et){return[0,3*j,3*et-6*j,3*j-3*et+1]},multyTime=function _(j,et){return j.map(function(tt,rt){return tt*Math.pow(et,rt)}).reduce(function(tt,rt){return tt+rt})},cubicBezier=function _(j,et){return function(tt){var rt=cubicBezierFactor(j,et);return multyTime(rt,tt)}},derivativeCubicBezier=function _(j,et){return function(tt){var rt=cubicBezierFactor(j,et),nt=[].concat(_toConsumableArray$5(rt.map(function(it,st){return it*st}).slice(1)),[0]);return multyTime(nt,tt)}},configBezier=function _(){for(var j=arguments.length,et=new Array(j),tt=0;tt<j;tt++)et[tt]=arguments[tt];var rt=et[0],nt=et[1],it=et[2],st=et[3];if(et.length===1)switch(et[0]){case"linear":rt=0,nt=0,it=1,st=1;break;case"ease":rt=.25,nt=.1,it=.25,st=1;break;case"ease-in":rt=.42,nt=0,it=1,st=1;break;case"ease-out":rt=.42,nt=0,it=.58,st=1;break;case"ease-in-out":rt=0,nt=0,it=.58,st=1;break;default:{var at=et[0].split("(");if(at[0]==="cubic-bezier"&&at[1].split(")")[0].split(",").length===4){var ot=at[1].split(")")[0].split(",").map(function(gt){return parseFloat(gt)}),lt=_slicedToArray$5(ot,4);rt=lt[0],nt=lt[1],it=lt[2],st=lt[3]}}}var ct=cubicBezier(rt,it),ut=cubicBezier(nt,st),dt=derivativeCubicBezier(rt,it),ht=function(ft){return ft>1?1:ft<0?0:ft},pt=function(ft){for(var mt=ft>1?1:ft,xt=mt,yt=0;yt<8;++yt){var vt=ct(xt)-mt,bt=dt(xt);if(Math.abs(vt-mt)<ACCURACY||bt<ACCURACY)return ut(xt);xt=ht(xt-vt/bt)}return ut(xt)};return pt.isStepper=!1,pt},configSpring=function _(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},et=j.stiff,tt=et===void 0?100:et,rt=j.damping,nt=rt===void 0?8:rt,it=j.dt,st=it===void 0?17:it,at=function(lt,ct,ut){var dt=-(lt-ct)*tt,ht=ut*nt,pt=ut+(dt-ht)*st/1e3,gt=ut*st/1e3+lt;return Math.abs(gt-ct)<ACCURACY&&Math.abs(pt)<ACCURACY?[ct,0]:[gt,pt]};return at.isStepper=!0,at.dt=st,at},configEasing=function _(){for(var j=arguments.length,et=new Array(j),tt=0;tt<j;tt++)et[tt]=arguments[tt];var rt=et[0];if(typeof rt=="string")switch(rt){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return configBezier(rt);case"spring":return configSpring();default:if(rt.split("(")[0]==="cubic-bezier")return configBezier(rt)}return typeof rt=="function"?rt:null};function _typeof$p(_){"@babel/helpers - typeof";return _typeof$p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$p(_)}function _toConsumableArray$4(_){return _arrayWithoutHoles$4(_)||_iterableToArray$4(_)||_unsupportedIterableToArray$7(_)||_nonIterableSpread$4()}function _nonIterableSpread$4(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 904In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArray$4(_){if(typeof Symbol<"u"&&_[Symbol.iterator]!=null||_["@@iterator"]!=null)return Array.from(_)}function _arrayWithoutHoles$4(_){if(Array.isArray(_))return _arrayLikeToArray$7(_)}function ownKeys$m(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$m(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};
vendor: 66,250 bytes, lines 904-919
904j%2?ownKeys$m(Object(et),!0).forEach(function(tt){_defineProperty$p(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$m(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$p(_,j,et){return j=_toPropertyKey$p(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$p(_){var j=_toPrimitive$p(_,"string");return _typeof$p(j)==="symbol"?j:String(j)}function _toPrimitive$p(_,j){if(_typeof$p(_)!=="object"||_===null)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$p(tt)!=="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function _slicedToArray$4(_,j){return _arrayWithHoles$4(_)||_iterableToArrayLimit$4(_,j)||_unsupportedIterableToArray$7(_,j)||_nonIterableRest$4()}function _nonIterableRest$4(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 905In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$7(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$7(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray$7(_,j)}}function _arrayLikeToArray$7(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}function _iterableToArrayLimit$4(_,j){var et=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(et!=null){var tt,rt,nt,it,st=[],at=!0,ot=!1;try{if(nt=(et=et.call(_)).next,j!==0)for(;!(at=(tt=nt.call(et)).done)&&(st.push(tt.value),st.length!==j);at=!0);}catch(lt){ot=!0,rt=lt}finally{try{if(!at&&et.return!=null&&(it=et.return(),Object(it)!==it))return}finally{if(ot)throw rt}}return st}}function _arrayWithHoles$4(_){if(Array.isArray(_))return _}var alpha=function _(j,et,tt){return j+(et-j)*tt},needContinue=function _(j){var et=j.from,tt=j.to;return et!==tt},calStepperVals=function _(j,et,tt){var rt=mapObject(function(nt,it){if(needContinue(it)){var st=j(it.from,it.to,it.velocity),at=_slicedToArray$4(st,2),ot=at[0],lt=at[1];return _objectSpread$m(_objectSpread$m({},it),{},{from:ot,velocity:lt})}return it},et);return tt<1?mapObject(function(nt,it){return needContinue(it)?_objectSpread$m(_objectSpread$m({},it),{},{velocity:alpha(it.velocity,rt[nt].velocity,tt),from:alpha(it.from,rt[nt].from,tt)}):it},et):_(j,rt,tt-1)};const configUpdate=function(_,j,et,tt,rt){var nt=getIntersectionKeys(_,j),it=nt.reduce(function(gt,ft){return _objectSpread$m(_objectSpread$m({},gt),{},_defineProperty$p({},ft,[_[ft],j[ft]]))},{}),st=nt.reduce(function(gt,ft){return _objectSpread$m(_objectSpread$m({},gt),{},_defineProperty$p({},ft,{from:_[ft],velocity:0,to:j[ft]}))},{}),at=-1,ot,lt,ct=function(){return null},ut=function(){return mapObject(function(ft,mt){return mt.from},st)},dt=function(){return!Object.values(st).filter(needContinue).length},ht=function(ft){ot||(ot=ft);var mt=ft-ot,xt=mt/et.dt;st=calStepperVals(et,st,xt),rt(_objectSpread$m(_objectSpread$m(_objectSpread$m({},_),j),ut())),ot=ft,dt()||(at=requestAnimationFrame(ct))},pt=function(ft){lt||(lt=ft);var mt=(ft-lt)/tt,xt=mapObject(function(vt,bt){return alpha.apply(void 0,_toConsumableArray$4(bt).concat([et(mt)]))},it);if(rt(_objectSpread$m(_objectSpread$m(_objectSpread$m({},_),j),xt)),mt<1)at=requestAnimationFrame(ct);else{var yt=mapObject(function(vt,bt){return alpha.apply(void 0,_toConsumableArray$4(bt).concat([et(1)]))},it);rt(_objectSpread$m(_objectSpread$m(_objectSpread$m({},_),j),yt))}};return ct=et.isStepper?ht:pt,function(){return requestAnimationFrame(ct),function(){cancelAnimationFrame(at)}}};function _typeof$o(_){"@babel/helpers - typeof";return _typeof$o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$o(_)}var _excluded$a=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function _objectWithoutProperties$a(_,j){if(_==null)return{};var et=_objectWithoutPropertiesLoose$a(_,j),tt,rt;if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(rt=0;rt<nt.length;rt++)tt=nt[rt],!(j.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(_,tt)&&(et[tt]=_[tt])}return et}function _objectWithoutPropertiesLoose$a(_,j){if(_==null)return{};var et={},tt=Object.keys(_),rt,nt;for(nt=0;nt<tt.length;nt++)rt=tt[nt],!(j.indexOf(rt)>=0)&&(et[rt]=_[rt]);return et}function _toConsumableArray$3(_){return _arrayWithoutHoles$3(_)||_iterableToArray$3(_)||_unsupportedIterableToArray$6(_)||_nonIterableSpread$3()}function _nonIterableSpread$3(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 906In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$6(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$6(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray$6(_,j)}}function _iterableToArray$3(_){if(typeof Symbol<"u"&&_[Symbol.iterator]!=null||_["@@iterator"]!=null)return Array.from(_)}function _arrayWithoutHoles$3(_){if(Array.isArray(_))return _arrayLikeToArray$6(_)}function _arrayLikeToArray$6(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}function ownKeys$l(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$l(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$l(Object(et),!0).forEach(function(tt){_defineProperty$o(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$l(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$o(_,j,et){return j=_toPropertyKey$o(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _classCallCheck$f(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$f(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$o(tt.key),tt)}}function _createClass$f(_,j,et){return j&&_defineProperties$f(_.prototype,j),Object.defineProperty(_,"prototype",{writable:!1}),_}function _toPropertyKey$o(_){var j=_toPrimitive$o(_,"string");return _typeof$o(j)==="symbol"?j:String(j)}function _toPrimitive$o(_,j){if(_typeof$o(_)!=="object"||_===null)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$o(tt)!=="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function _inherits$d(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&_setPrototypeOf$d(_,j)}function _setPrototypeOf$d(_,j){return _setPrototypeOf$d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(tt,rt){return tt.__proto__=rt,tt},_setPrototypeOf$d(_,j)}function _createSuper(_){var j=_isNativeReflectConstruct$d();return function(){var tt=_getPrototypeOf$d(_),rt;if(j){var nt=_getPrototypeOf$d(this).constructor;rt=Reflect.construct(tt,arguments,nt)}else rt=tt.apply(this,arguments);return _possibleConstructorReturn$d(this,rt)}}function _possibleConstructorReturn$d(_,j){if(j&&(_typeof$o(j)==="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$d(_)}function _assertThisInitialized$d(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _isNativeReflectConstruct$d(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _getPrototypeOf$d(_){return _getPrototypeOf$d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(et){return et.__proto__||Object.getPrototypeOf(et)},_getPrototypeOf$d(_)}var Animate=function(_){_inherits$d(et,_);var j=_createSuper(et);function et(tt,rt){var nt;_classCallCheck$f(this,et),nt=j.call(this,tt,rt);var it=nt.props,st=it.isActive,at=it.attributeName,ot=it.from,lt=it.to,ct=it.steps,ut=it.children,dt=it.duration;if(nt.handleStyleChange=nt.handleStyleChange.bind(_assertThisInitialized$d(nt)),nt.changeStyle=nt.changeStyle.bind(_assertThisInitialized$d(nt)),!st||dt<=0)return nt.state={style:{}},typeof ut=="function"&&(nt.state={style:lt}),_possibleConstructorReturn$d(nt);if(ct&&ct.length)nt.state={style:ct[0].style};else if(ot){if(typeof ut=="function")return nt.state={style:ot},_possibleConstructorReturn$d(nt);nt.state={style:at?_defineProperty$o({},at,ot):ot}}else nt.state={style:{}};return nt}return _createClass$f(et,[{key:"componentDidMount",value:function(){var rt=this.props,nt=rt.isActive,it=rt.canBegin;this.mounted=!0,!(!nt||!it)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(rt){var nt=this.props,it=nt.isActive,st=nt.canBegin,at=nt.attributeName,ot=nt.shouldReAnimate,lt=nt.to,ct=nt.from,ut=this.state.style;if(st){if(!it){var dt={style:at?_defineProperty$o({},at,lt):lt};this.state&&ut&&(at&&ut[at]!==lt||!at&&ut!==lt)&&this.setState(dt);return}if(!(deepEqual(rt.to,lt)&&rt.canBegin&&rt.isActive)){var ht=!rt.canBegin||!rt.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var pt=ht||ot?ct:rt.to;if(this.state&&ut){var gt={style:at?_defineProperty$o({},at,pt):pt};(at&&ut[at]!==pt||!at&&ut!==pt)&&this.setState(gt)}this.runAnimation(_objectSpread$l(_objectSpread$l({},this.props),{},{from:pt,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var rt=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),rt&&rt()}},{key:"handleStyleChange",value:function(rt){this.changeStyle(rt)}},{key:"changeStyle",value:function(rt){this.mounted&&this.setState({style:rt})}},{key:"runJSAnimation",value:function(rt){var nt=this,it=rt.from,st=rt.to,at=rt.duration,ot=rt.easing,lt=rt.begin,ct=rt.onAnimationEnd,ut=rt.onAnimationStart,dt=configUpdate(it,st,configEasing(ot),at,this.changeStyle),ht=function(){nt.stopJSAnimation=dt()};this.manager.start([ut,lt,ht,at,ct])}},{key:"runStepAnimation",value:function(rt){var nt=this,it=rt.steps,st=rt.begin,at=rt.onAnimationStart,ot=it[0],lt=ot.style,ct=ot.duration,ut=ct===void 0?0:ct,dt=function(pt,gt,ft){if(ft===0)return pt;var mt=gt.duration,xt=gt.easing,yt=xt===void 0?"ease":xt,vt=gt.style,bt=gt.properties,Et=gt.onAnimationEnd,_t=ft>0?it[ft-1]:gt,wt=bt||Object.keys(vt);if(typeof yt=="function"||yt==="spring")return[].concat(_toConsumableArray$3(pt),[nt.runJSAnimation.bind(nt,{from:_t.style,to:vt,duration:mt,easing:yt}),mt]);var Rt=getTransitionVal(wt,mt,yt),Ct=_objectSpread$l(_objectSpread$l(_objectSpread$l({},_t.style),vt),{},{transition:Rt});return[].concat(_toConsumableArray$3(pt),[Ct,mt,Et]).filter(identity)};return this.manager.start([at].concat(_toConsumableArray$3(it.reduce(dt,[lt,Math.max(ut,st)])),[rt.onAnimationEnd]))}},{key:"runAnimation",value:function(rt){this.manager||(this.manager=createAnimateManager());var nt=rt.begin,it=rt.duration,st=rt.attributeName,at=rt.to,ot=rt.easing,lt=rt.onAnimationStart,ct=rt.onAnimationEnd,ut=rt.steps,dt=rt.children,ht=this.manager;if(this.unSubscribe=ht.subscribe(this.handleStyleChange),typeof ot=="function"||typeof dt=="function"||ot==="spring"){this.runJSAnimation(rt);return}if(ut.length>1){this.runStepAnimation(rt);return}var pt=st?_defineProperty$o({},st,at):at,gt=getTransitionVal(Object.keys(pt),it,ot);ht.start([lt,nt,_objectSpread$l(_objectSpread$l({},pt),{},{transition:gt}),it,ct])}},{key:"render",value:function(){var rt=this.props,nt=rt.children;rt.begin;var it=rt.duration;rt.attributeName,rt.easing;var st=rt.isActive;rt.steps,rt.from,rt.to,rt.canBegin,rt.onAnimationEnd,rt.shouldReAnimate,rt.onAnimationReStart;var at=_objectWithoutProperties$a(rt,_excluded$a),ot=reactExports.Children.count(nt),lt=this.state.style;if(typeof nt=="function")return nt(lt);if(!st||ot===0||it<=0)return nt;var ct=function(dt){var ht=dt.props,pt=ht.style,gt=pt===void 0?{}:pt,ft=ht.className,mt=reactExports.cloneElement(dt,_objectSpread$l(_objectSpread$l({},at),{},{style:_objectSpread$l(_objectSpread$l({},gt),lt),className:ft}));return mt};return ot===1?ct(reactExports.Children.only(nt)):React$1.createElement("div",null,reactExports.Children.map(nt,function(ut){return ct(ut)}))}}]),et}(reactExports.PureComponent);Animate.displayName="Animate";Animate.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function _(){},onAnimationStart:function _(){}};Animate.propTypes={from:PropTypes.oneOfType([PropTypes.object,PropTypes.string]),to:PropTypes.oneOfType([PropTypes.object,PropTypes.string]),attributeName:PropTypes.string,duration:PropTypes.number,begin:PropTypes.number,easing:PropTypes.oneOfType([PropTypes.string,PropTypes.func]),steps:PropTypes.arrayOf(PropTypes.shape({duration:PropTypes.number.isRequired,style:PropTypes.object.isRequired,easing:PropTypes.oneOfType([PropTypes.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),PropTypes.func]),properties:PropTypes.arrayOf("string"),onAnimationEnd:PropTypes.func})),children:PropTypes.oneOfType([PropTypes.node,PropTypes.func]),isActive:PropTypes.bool,canBegin:PropTypes.bool,onAnimationEnd:PropTypes.func,shouldReAnimate:PropTypes.bool,onAnimationStart:PropTypes.func,onAnimationReStart:PropTypes.func};function _typeof$n(_){"@babel/helpers - typeof";return _typeof$n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$n(_)}function _extends$j(){return _extends$j=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$j.apply(this,arguments)}function _slicedToArray$3(_,j){return _arrayWithHoles$3(_)||_iterableToArrayLimit$3(_,j)||_unsupportedIterableToArray$5(_,j)||_nonIterableRest$3()}function _nonIterableRest$3(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 907In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$5(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$5(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray$5(_,j)}}function _arrayLikeToArray$5(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}function _iterableToArrayLimit$3(_,j){var et=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(et!=null){var tt,rt,nt,it,st=[],at=!0,ot=!1;try{if(nt=(et=et.call(_)).next,j!==0)for(;!(at=(tt=nt.call(et)).done)&&(st.push(tt.value),st.length!==j);at=!0);}catch(lt){ot=!0,rt=lt}finally{try{if(!at&&et.return!=null&&(it=et.return(),Object(it)!==it))return}finally{if(ot)throw rt}}return st}}function _arrayWithHoles$3(_){if(Array.isArray(_))return _}function ownKeys$k(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$k(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$k(Object(et),!0).forEach(function(tt){_defineProperty$n(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$k(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$n(_,j,et){return j=_toPropertyKey$n(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$n(_){var j=_toPrimitive$n(_,"string");return _typeof$n(j)=="symbol"?j:j+""}function _toPrimitive$n(_,j){if(_typeof$n(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$n(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var getRectanglePath=function _(j,et,tt,rt,nt){var it=Math.min(Math.abs(tt)/2,Math.abs(rt)/2),st=rt>=0?1:-1,at=tt>=0?1:-1,ot=rt>=0&&tt>=0||rt<0&&tt<0?1:0,lt;if(it>0&&nt instanceof Array){for(var ct=[0,0,0,0],ut=0,dt=4;ut<dt;ut++)ct[ut]=nt[ut]>it?it:nt[ut];lt="M".concat(j,",").concat(et+st*ct[0]),ct[0]>0&&(lt+="A ".concat(ct[0],",").concat(ct[0],",0,0,").concat(ot,",").concat(j+at*ct[0],",").concat(et)),lt+="L ".concat(j+tt-at*ct[1],",").concat(et),ct[1]>0&&(lt+="A ".concat(ct[1],",").concat(ct[1],",0,0,").concat(ot,`, 908 `).concat(j+tt,",").concat(et+st*ct[1])),lt+="L ".concat(j+tt,",").concat(et+rt-st*ct[2]),ct[2]>0&&(lt+="A ".concat(ct[2],",").concat(ct[2],",0,0,").concat(ot,`, 909 `).concat(j+tt-at*ct[2],",").concat(et+rt)),lt+="L ".concat(j+at*ct[3],",").concat(et+rt),ct[3]>0&&(lt+="A ".concat(ct[3],",").concat(ct[3],",0,0,").concat(ot,`, 910 `).concat(j,",").concat(et+rt-st*ct[3])),lt+="Z"}else if(it>0&&nt===+nt&&nt>0){var ht=Math.min(it,nt);lt="M ".concat(j,",").concat(et+st*ht,` 911 A `).concat(ht,",").concat(ht,",0,0,").concat(ot,",").concat(j+at*ht,",").concat(et,` 912 L `).concat(j+tt-at*ht,",").concat(et,` 913 A `).concat(ht,",").concat(ht,",0,0,").concat(ot,",").concat(j+tt,",").concat(et+st*ht,` 914 L `).concat(j+tt,",").concat(et+rt-st*ht,` 915 A `).concat(ht,",").concat(ht,",0,0,").concat(ot,",").concat(j+tt-at*ht,",").concat(et+rt,` 916 L `).concat(j+at*ht,",").concat(et+rt,` 917 A `).concat(ht,",").concat(ht,",0,0,").concat(ot,",").concat(j,",").concat(et+rt-st*ht," Z")}else lt="M ".concat(j,",").concat(et," h ").concat(tt," v ").concat(rt," h ").concat(-tt," Z");return lt},isInRectangle=function _(j,et){if(!j||!et)return!1;var tt=j.x,rt=j.y,nt=et.x,it=et.y,st=et.width,at=et.height;if(Math.abs(st)>0&&Math.abs(at)>0){var ot=Math.min(nt,nt+st),lt=Math.max(nt,nt+st),ct=Math.min(it,it+at),ut=Math.max(it,it+at);return tt>=ot&&tt<=lt&&rt>=ct&&rt<=ut}return!1},defaultProps$2={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Rectangle=function _(j){var et=_objectSpread$k(_objectSpread$k({},defaultProps$2),j),tt=reactExports.useRef(),rt=reactExports.useState(-1),nt=_slicedToArray$3(rt,2),it=nt[0],st=nt[1];reactExports.useEffect(function(){if(tt.current&&tt.current.getTotalLength)try{var yt=tt.current.getTotalLength();yt&&st(yt)}catch{}},[]);var at=et.x,ot=et.y,lt=et.width,ct=et.height,ut=et.radius,dt=et.className,ht=et.animationEasing,pt=et.animationDuration,gt=et.animationBegin,ft=et.isAnimationActive,mt=et.isUpdateAnimationActive;if(at!==+at||ot!==+ot||lt!==+lt||ct!==+ct||lt===0||ct===0)return null;var xt=clsx("recharts-rectangle",dt);return mt?React$1.createElement(Animate,{canBegin:it>0,from:{width:lt,height:ct,x:at,y:ot},to:{width:lt,height:ct,x:at,y:ot},duration:pt,animationEasing:ht,isActive:mt},function(yt){var vt=yt.width,bt=yt.height,Et=yt.x,_t=yt.y;return React$1.createElement(Animate,{canBegin:it>0,from:"0px ".concat(it===-1?1:it,"px"),to:"".concat(it,"px 0px"),attributeName:"strokeDasharray",begin:gt,duration:pt,isActive:ft,easing:ht},React$1.createElement("path",_extends$j({},filterProps(et,!0),{className:xt,d:getRectanglePath(Et,_t,vt,bt,ut),ref:tt})))}):React$1.createElement("path",_extends$j({},filterProps(et,!0),{className:xt,d:getRectanglePath(at,ot,lt,ct,ut)}))},_excluded$9=["points","className","baseLinePoints","connectNulls"];function _extends$i(){return _extends$i=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$i.apply(this,arguments)}function _objectWithoutProperties$9(_,j){if(_==null)return{};var et=_objectWithoutPropertiesLoose$9(_,j),tt,rt;if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(rt=0;rt<nt.length;rt++)tt=nt[rt],!(j.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(_,tt)&&(et[tt]=_[tt])}return et}function _objectWithoutPropertiesLoose$9(_,j){if(_==null)return{};var et={};for(var tt in _)if(Object.prototype.hasOwnProperty.call(_,tt)){if(j.indexOf(tt)>=0)continue;et[tt]=_[tt]}return et}function _toConsumableArray$2(_){return _arrayWithoutHoles$2(_)||_iterableToArray$2(_)||_unsupportedIterableToArray$4(_)||_nonIterableSpread$2()}function _nonIterableSpread$2(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 918In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$4(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$4(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray$4(_,j)}}function _iterableToArray$2(_){if(typeof Symbol<"u"&&_[Symbol.iterator]!=null||_["@@iterator"]!=null)return Array.from(_)}function _arrayWithoutHoles$2(_){if(Array.isArray(_))return _arrayLikeToArray$4(_)}function _arrayLikeToArray$4(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}var isValidatePoint=function _(j){return j&&j.x===+j.x&&j.y===+j.y},getParsedPoints=function _(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],et=[[]];return j.forEach(function(tt){isValidatePoint(tt)?et[et.length-1].push(tt):et[et.length-1].length>0&&et.push([])}),isValidatePoint(j[0])&&et[et.length-1].push(j[0]),et[et.length-1].length<=0&&(et=et.slice(0,-1)),et},getSinglePolygonPath=function _(j,et){var tt=getParsedPoints(j);et&&(tt=[tt.reduce(function(nt,it){return[].concat(_toConsumableArray$2(nt),_toConsumableArray$2(it))},[])]);var rt=tt.map(function(nt){return nt.reduce(function(it,st,at){return"".concat(it).concat(at===0?"M":"L").concat(st.x,",").concat(st.y)},"")}).join("");return tt.length===1?"".concat(rt,"Z"):rt},getRanglePath=function _(j,et,tt){var rt=getSinglePolygonPath(j,tt);return"".concat(rt.slice(-1)==="Z"?rt.slice(0,-1):rt,"L").concat(getSinglePolygonPath(et.reverse(),tt).slice(1))},Polygon=function _(j){var et=j.points,tt=j.className,rt=j.baseLinePoints,nt=j.connectNulls,it=_objectWithoutProperties$9(j,_excluded$9);if(!et||!et.length)return null;var st=clsx("recharts-polygon",tt);if(rt&&rt.length){var at=it.stroke&&it.stroke!=="none",ot=getRanglePath(et,rt,nt);return React$1.createElement("g",{className:st},React$1.createElement("path",_extends$i({},filterProps(it,!0),{fill:ot.slice(-1)==="Z"?it.fill:"none",stroke:"none",d:ot})),at?React$1.createElement("path",_extends$i({},filterProps(it,!0),{fill:"none",d:getSinglePolygonPath(et,nt)})):null,at?React$1.createElement("path",_extends$i({},filterProps(it,!0),{fill:"none",d:getSinglePolygonPath(rt,nt)})):null)}var lt=getSinglePolygonPath(et,nt);return React$1.createElement("path",_extends$i({},filterProps(it,!0),{fill:lt.slice(-1)==="Z"?it.fill:"none",className:st,d:lt}))};function _extends$h(){return _extends$h=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$h.apply(this,arguments)}var Dot=function _(j){var et=j.cx,tt=j.cy,rt=j.r,nt=j.className,it=clsx("recharts-dot",nt);return et===+et&&tt===+tt&&rt===+rt?reactExports.createElement("circle",_extends$h({},filterProps(j,!1),adaptEventHandlers(j),{className:it,cx:et,cy:tt,r:rt})):null};function _typeof$m(_){"@babel/helpers - typeof";return _typeof$m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$m(_)}var _excluded$8=["x","y","top","left","width","height","className"];function _extends$g(){return _extends$g=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$g.apply(this,arguments)}function ownKeys$j(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$j(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$j(Object(et),!0).forEach(function(tt){_defineProperty$m(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$j(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$m(_,j,et){return j=_toPropertyKey$m(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$m(_){var j=_toPrimitive$m(_,"string");return _typeof$m(j)=="symbol"?j:j+""}function _toPrimitive$m(_,j){if(_typeof$m(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$m(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function _objectWithoutProperties$8(_,j){if(_==null)return{};var et=_objectWithoutPropertiesLoose$8(_,j),tt,rt;if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(rt=0;rt<nt.length;rt++)tt=nt[rt],!(j.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(_,tt)&&(et[tt]=_[tt])}return et}function _objectWithoutPropertiesLoose$8(_,j){if(_==null)return{};var et={};for(var tt in _)if(Object.prototype.hasOwnProperty.call(_,tt)){if(j.indexOf(tt)>=0)continue;et[tt]=_[tt]}return et}var getPath=function _(j,et,tt,rt,nt,it){return"M".concat(j,",").concat(nt,"v").concat(rt,"M").concat(it,",").concat(et,"h").concat(tt)},Cross=function _(j){var et=j.x,tt=et===void 0?0:et,rt=j.y,nt=rt===void 0?0:rt,it=j.top,st=it===void 0?0:it,at=j.left,ot=at===void 0?0:at,lt=j.width,ct=lt===void 0?0:lt,ut=j.height,dt=ut===void 0?0:ut,ht=j.className,pt=_objectWithoutProperties$8(j,_excluded$8),gt=_objectSpread$j({x:tt,y:nt,top:st,left:ot,width:ct,height:dt},pt);return!isNumber(tt)||!isNumber(nt)||!isNumber(ct)||!isNumber(dt)||!isNumber(st)||!isNumber(ot)?null:React$1.createElement("path",_extends$g({},filterProps(gt,!0),{className:clsx("recharts-cross",ht),d:getPath(tt,nt,ct,dt,st,ot)}))},baseExtremum$1=_baseExtremum,baseGt=_baseGt,baseIteratee$6=_baseIteratee;function maxBy(_,j){return _&&_.length?baseExtremum$1(_,baseIteratee$6(j),baseGt):void 0}var maxBy_1=maxBy;const maxBy$1=getDefaultExportFromCjs(maxBy_1);var baseExtremum=_baseExtremum,baseIteratee$5=_baseIteratee,baseLt=_baseLt;function minBy(_,j){return _&&_.length?baseExtremum(_,baseIteratee$5(j),baseLt):void 0}var minBy_1=minBy;const minBy$1=getDefaultExportFromCjs(minBy_1);var _excluded$7=["cx","cy","angle","ticks","axisLine"],_excluded2$4=["ticks","tick","angle","tickFormatter","stroke"];function _typeof$l(_){"@babel/helpers - typeof";return _typeof$l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$l(_)}function _extends$f(){return _extends$f=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$f.apply(this,arguments)}function ownKeys$i(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$i(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$i(Object(et),!0).forEach(function(tt){_defineProperty$l(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$i(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _objectWithoutProperties$7(_,j){if(_==null)return{};var et=_objectWithoutPropertiesLoose$7(_,j),tt,rt;if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(rt=0;rt<nt.length;rt++)tt=nt[rt],!(j.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(_,tt)&&(et[tt]=_[tt])}return et}function _objectWithoutPropertiesLoose$7(_,j){if(_==null)return{};var et={};for(var tt in _)if(Object.prototype.hasOwnProperty.call(_,tt)){if(j.indexOf(tt)>=0)continue;et[tt]=_[tt]}return et}function _classCallCheck$e(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$e(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$l(tt.key),tt)}}function _createClass$e(_,j,et){return j&&_defineProperties$e(_.prototype,j),et&&_defineProperties$e(_,et),Object.defineProperty(_,"prototype",{writable:!1}),_}function _callSuper$c(_,j,et){return j=_getPrototypeOf$c(j),_possibleConstructorReturn$c(_,_isNativeReflectConstruct$c()?Reflect.construct(j,et||[],_getPrototypeOf$c(_).constructor):j.apply(_,et))}function _possibleConstructorReturn$c(_,j){if(j&&(_typeof$l(j)==="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$c(_)}function _assertThisInitialized$c(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _isNativeReflectConstruct$c(){try{var _=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$c=function(){return!!_})()}function _getPrototypeOf$c(_){return _getPrototypeOf$c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(et){return et.__proto__||Object.getPrototypeOf(et)},_getPrototypeOf$c(_)}function _inherits$c(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&_setPrototypeOf$c(_,j)}function _setPrototypeOf$c(_,j){return _setPrototypeOf$c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(tt,rt){return tt.__proto__=rt,tt},_setPrototypeOf$c(_,j)}function _defineProperty$l(_,j,et){return j=_toPropertyKey$l(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$l(_){var j=_toPrimitive$l(_,"string");return _typeof$l(j)=="symbol"?j:j+""}function _toPrimitive$l(_,j){if(_typeof$l(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$l(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var PolarRadiusAxis=function(_){function j(){return _classCallCheck$e(this,j),_callSuper$c(this,j,arguments)}return _inherits$c(j,_),_createClass$e(j,[{key:"getTickValueCoord",value:function(tt){var rt=tt.coordinate,nt=this.props,it=nt.angle,st=nt.cx,at=nt.cy;return polarToCartesian(st,at,rt,it)}},{key:"getTickTextAnchor",value:function(){var tt=this.props.orientation,rt;switch(tt){case"left":rt="end";break;case"right":rt="start";break;default:rt="middle";break}return rt}},{key:"getViewBox",value:function(){var tt=this.props,rt=tt.cx,nt=tt.cy,it=tt.angle,st=tt.ticks,at=maxBy$1(st,function(lt){return lt.coordinate||0}),ot=minBy$1(st,function(lt){return lt.coordinate||0});return{cx:rt,cy:nt,startAngle:it,endAngle:it,innerRadius:ot.coordinate||0,outerRadius:at.coordinate||0}}},{key:"renderAxisLine",value:function(){var tt=this.props,rt=tt.cx,nt=tt.cy,it=tt.angle,st=tt.ticks,at=tt.axisLine,ot=_objectWithoutProperties$7(tt,_excluded$7),lt=st.reduce(function(ht,pt){return[Math.min(ht[0],pt.coordinate),Math.max(ht[1],pt.coordinate)]},[1/0,-1/0]),ct=polarToCartesian(rt,nt,lt[0],it),ut=polarToCartesian(rt,nt,lt[1],it),dt=_objectSpread$i(_objectSpread$i(_objectSpread$i({},filterProps(ot,!1)),{},{fill:"none"},filterProps(at,!1)),{},{x1:ct.x,y1:ct.y,x2:ut.x,y2:ut.y});return React$1.createElement("line",_extends$f({className:"recharts-polar-radius-axis-line"},dt))}},{key:"renderTicks",value:function(){var tt=this,rt=this.props,nt=rt.ticks,it=rt.tick,st=rt.angle,at=rt.tickFormatter,ot=rt.stroke,lt=_objectWithoutProperties$7(rt,_excluded2$4),ct=this.getTickTextAnchor(),ut=filterProps(lt,!1),dt=filterProps(it,!1),ht=nt.map(function(pt,gt){var ft=tt.getTickValueCoord(pt),mt=_objectSpread$i(_objectSpread$i(_objectSpread$i(_objectSpread$i({textAnchor:ct,transform:"rotate(".concat(90-st,", ").concat(ft.x,", ").concat(ft.y,")")},ut),{},{stroke:"none",fill:ot},dt),{},{index:gt},ft),{},{payload:pt});return React$1.createElement(Layer,_extends$f({className:clsx("recharts-polar-radius-axis-tick",getTickClassName(it)),key:"tick-".concat(pt.coordinate)},adaptEventsOfChild(tt.props,pt,gt)),j.renderTickItem(it,mt,at?at(pt.value,gt):pt.value))});return React$1.createElement(Layer,{className:"recharts-polar-radius-axis-ticks"},ht)}},{key:"render",value:function(){var tt=this.props,rt=tt.ticks,nt=tt.axisLine,it=tt.tick;return!rt||!rt.length?null:React$1.createElement(Layer,{className:clsx("recharts-polar-radius-axis",this.props.className)},nt&&this.renderAxisLine(),it&&this.renderTicks(),Label.renderCallByParent(this.props,this.getViewBox()))}}],[{key:"renderTickItem",value:function(tt,rt,nt){var it;return React$1.isValidElement(tt)?it=React$1.cloneElement(tt,rt):isFunction$3(tt)?it=tt(rt):it=React$1.createElement(Text,_extends$f({},rt,{className:"recharts-polar-radius-axis-tick-value"}),nt),it}}])}(reactExports.PureComponent);_defineProperty$l(PolarRadiusAxis,"displayName","PolarRadiusAxis");_defineProperty$l(PolarRadiusAxis,"axisType","radiusAxis");_defineProperty$l(PolarRadiusAxis,"defaultProps",{type:"number",radiusAxisId:0,cx:0,cy:0,angle:0,orientation:"right",stroke:"#ccc",axisLine:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:"auto",allowDuplicatedCategory:!0});function _typeof$k(_){"@babel/helpers - typeof";return _typeof$k=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$k(_)}function _extends$e(){return _extends$e=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$e.apply(this,arguments)}function ownKeys$h(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$h(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$h(Object(et),!0).forEach(function(tt){_defineProperty$k(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$h(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _classCallCheck$d(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$d(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$k(tt.key),tt)}}function _createClass$d(_,j,et){return j&&_defineProperties$d(_.prototype,j),et&&_defineProperties$d(_,et),Object.defineProperty(_,"prototype",{writable:!1}),_}function _callSuper$b(_,j,et){return j=_getPrototypeOf$b(j),_possibleConstructorReturn$b(_,_isNativeReflectConstruct$b()?Reflect.construct(j,et||[],_getPrototypeOf$b(_).constructor):j.apply(_,et))}function _possibleConstructorReturn$b(_,j){if(j&&(_typeof$k(j)==="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$b(_)}function _assertThisInitialized$b(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _isNativeReflectConstruct$b(){try{var _=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$b=function(){return!!_})()}function _getPrototypeOf$b(_){return _getPrototypeOf$b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(et){return et.__proto__||Object.getPrototypeOf(et)},_getPrototypeOf$b(_)}function _inherits$b(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&_setPrototypeOf$b(_,j)}function _setPrototypeOf$b(_,j){return _setPrototypeOf$b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(tt,rt){return tt.__proto__=rt,tt},_setPrototypeOf$b(_,j)}function _defineProperty$k(_,j,et){return j=_toPropertyKey$k(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$k(_){var j=_toPrimitive$k(_,"string");return _typeof$k(j)=="symbol"?j:j+""}function _toPrimitive$k(_,j){if(_typeof$k(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$k(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var RADIAN=Math.PI/180,eps=1e-5,PolarAngleAxis=function(_){function j(){return _classCallCheck$d(this,j),_callSuper$b(this,j,arguments)}return _inherits$b(j,_),_createClass$d(j,[{key:"getTickLineCoord",value:function(tt){var rt=this.props,nt=rt.cx,it=rt.cy,st=rt.radius,at=rt.orientation,ot=rt.tickSize,lt=ot||8,ct=polarToCartesian(nt,it,st,tt.coordinate),ut=polarToCartesian(nt,it,st+(at==="inner"?-1:1)*lt,tt.coordinate);return{x1:ct.x,y1:ct.y,x2:ut.x,y2:ut.y}}},{key:"getTickTextAnchor",value:function(tt){var rt=this.props.orientation,nt=Math.cos(-tt.coordinate*RADIAN),it;return nt>eps?it=rt==="outer"?"start":"end":nt<-eps?it=rt==="outer"?"end":"start":it="middle",it}},{key:"renderAxisLine",value:function(){var tt=this.props,rt=tt.cx,nt=tt.cy,it=tt.radius,st=tt.axisLine,at=tt.axisLineType,ot=_objectSpread$h(_objectSpread$h({},filterProps(this.props,!1)),{},{fill:"none"},filterProps(st,!1));if(at==="circle")return React$1.createElement(Dot,_extends$e({className:"recharts-polar-angle-axis-line"},ot,{cx:rt,cy:nt,r:it}));var lt=this.props.ticks,ct=lt.map(function(ut){return polarToCartesian(rt,nt,it,ut.coordinate)});return React$1.createElement(Polygon,_extends$e({className:"recharts-polar-angle-axis-line"},ot,{points:ct}))}},{key:"renderTicks",value:function(){var tt=this,rt=this.props,nt=rt.ticks,it=rt.tick,st=rt.tickLine,at=rt.tickFormatter,ot=rt.stroke,lt=filterProps(this.props,!1),ct=filterProps(it,!1),ut=_objectSpread$h(_objectSpread$h({},lt),{},{fill:"none"},filterProps(st,!1)),dt=nt.map(function(ht,pt){var gt=tt.getTickLineCoord(ht),ft=tt.getTickTextAnchor(ht),mt=_objectSpread$h(_objectSpread$h(_objectSpread$h({textAnchor:ft},lt),{},{stroke:"none",fill:ot},ct),{},{index:pt,payload:ht,x:gt.x2,y:gt.y2});return React$1.createElement(Layer,_extends$e({className:clsx("recharts-polar-angle-axis-tick",getTickClassName(it)),key:"tick-".concat(ht.coordinate)},adaptEventsOfChild(tt.props,ht,pt)),st&&React$1.createElement("line",_extends$e({className:"recharts-polar-angle-axis-tick-line"},ut,gt)),it&&j.renderTickItem(it,mt,at?at(ht.value,pt):ht.value))});return React$1.createElement(Layer,{className:"recharts-polar-angle-axis-ticks"},dt)}},{key:"render",value:function(){var tt=this.props,rt=tt.ticks,nt=tt.radius,it=tt.axisLine;return nt<=0||!rt||!rt.length?null:React$1.createElement(Layer,{className:clsx("recharts-polar-angle-axis",this.props.className)},it&&this.renderAxisLine(),this.renderTicks())}}],[{key:"renderTickItem",value:function(tt,rt,nt){var it;return React$1.isValidElement(tt)?it=React$1.cloneElement(tt,rt):isFunction$3(tt)?it=tt(rt):it=React$1.createElement(Text,_extends$e({},rt,{className:"recharts-polar-angle-axis-tick-value"}),nt),it}}])}(reactExports.PureComponent);_defineProperty$k(PolarAngleAxis,"displayName","PolarAngleAxis");_defineProperty$k(PolarAngleAxis,"axisType","angleAxis");_defineProperty$k(PolarAngleAxis,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var overArg=_overArg,getPrototype$1=overArg(Object.getPrototypeOf,Object),_getPrototype=getPrototype$1,baseGetTag$1=_baseGetTag,getPrototype=_getPrototype,isObjectLike$1=isObjectLike_1,objectTag="[object Object]",funcProto=Function.prototype,objectProto=Object.prototype,funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject(_){if(!isObjectLike$1(_)||baseGetTag$1(_)!=objectTag)return!1;var j=getPrototype(_);if(j===null)return!0;var et=hasOwnProperty.call(j,"constructor")&&j.constructor;return typeof et=="function"&&et instanceof et&&funcToString.call(et)==objectCtorString}var isPlainObject_1=isPlainObject;const isPlainObject$1=getDefaultExportFromCjs(isPlainObject_1);var baseGetTag=_baseGetTag,isObjectLike=isObjectLike_1,boolTag="[object Boolean]";function isBoolean(_){return _===!0||_===!1||isObjectLike(_)&&baseGetTag(_)==boolTag}var isBoolean_1=isBoolean;const isBoolean$1=getDefaultExportFromCjs(isBoolean_1);function _typeof$j(_){"@babel/helpers - typeof";return _typeof$j=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$j(_)}function _extends$d(){return _extends$d=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$d.apply(this,arguments)}function _slicedToArray$2(_,j){return _arrayWithHoles$2(_)||_iterableToArrayLimit$2(_,j)||_unsupportedIterableToArray$3(_,j)||_nonIterableRest$2()}function _nonIterableRest$2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 919In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$3(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$3(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray$3(_,j)}}function _arrayLikeToArray$3(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}function _iterableToArrayLimit$2(_,j){var et=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(et!=null){var tt,rt,nt,it,st=[],at=!0,ot=!1;try{if(nt=(et=et.call(_)).next,j!==0)for(;!(at=(tt=nt.call(et)).done)&&(st.push(tt.value),st.length!==j);at=!0);}catch(lt){ot=!0,rt=lt}finally{try{if(!at&&et.return!=null&&(it=et.return(),Object(it)!==it))return}finally{if(ot)throw rt}}return st}}function _arrayWithHoles$2(_){if(Array.isArray(_))return _}function ownKeys$g(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$g(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$g(Object(et),!0).forEach(function(tt){_defineProperty$j(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$g(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$j(_,j,et){return j=_toPropertyKey$j(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$j(_){var j=_toPrimitive$j(_,"string");return _typeof$j(j)=="symbol"?j:j+""}function _toPrimitive$j(_,j){if(_typeof$j(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$j(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var getTrapezoidPath=function _(j,et,tt,rt,nt){var it=tt-rt,st;return st="M ".concat(j,",").concat(et),st+="L ".concat(j+tt,",").concat(et),st+="L ".concat(j+tt-it/2,",").concat(et+nt),st+="L ".concat(j+tt-it/2-rt,",").concat(et+nt),st+="L ".concat(j,",").concat(et," Z"),st},defaultProps$1={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Trapezoid=function _(j){var et=_objectSpread$g(_objectSpread$g({},defaultProps$1),j),tt=reactExports.useRef(),rt=reactExports.useState(-1),nt=_slicedToArray$2(rt,2),it=nt[0],st=nt[1];reactExports.useEffect(function(){if(tt.current&&tt.current.getTotalLength)try{var xt=tt.current.getTotalLength();xt&&st(xt)}catch{}},[]);var at=et.x,ot=et.y,lt=et.upperWidth,ct=et.lowerWidth,ut=et.height,dt=et.className,ht=et.animationEasing,pt=et.animationDuration,gt=et.animationBegin,ft=et.isUpdateAnimationActive;if(at!==+at||ot!==+ot||lt!==+lt||ct!==+ct||ut!==+ut||lt===0&&ct===0||ut===0)return null;var mt=clsx("recharts-trapezoid",dt);return ft?React$1.createElement(Animate,{canBegin:it>0,from:{upperWidth:0,lowerWidth:0,height:ut,x:at,y:ot},to:{upperWidth:lt,lowerWidth:ct,height:ut,x:at,y:ot},duration:pt,animationEasing:ht,isActive:ft},function(xt){var yt=xt.upperWidth,vt=xt.lowerWidth,bt=xt.height,Et=xt.x,_t=xt.y;return React$1.createElement(Animate,{canBegin:it>0,from:"0px ".concat(it===-1?1:it,"px"),to:"".concat(it,"px 0px"),attributeName:"strokeDasharray",begin:gt,duration:pt,easing:ht},React$1.createElement("path",_extends$d({},filterProps(et,!0),{className:mt,d:getTrapezoidPath(Et,_t,yt,vt,bt),ref:tt})))}):React$1.createElement("g",null,React$1.createElement("path",_extends$d({},filterProps(et,!0),{className:mt,d:getTrapezoidPath(at,ot,lt,ct,ut)})))},_excluded$6=["option","shapeType","propTransformer","activeClassName","isActive"];function _typeof$i(_){"@babel/helpers - typeof";return _typeof$i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$i(_)}function _objectWithoutProperties$6(_,j){if(_==null)return{};var et=_objectWithoutPropertiesLoose$6(_,j),tt,rt;if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(rt=0;rt<nt.length;rt++)tt=nt[rt],!(j.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(_,tt)&&(et[tt]=_[tt])}return et}function _objectWithoutPropertiesLoose$6(_,j){if(_==null)return{};var et={};for(var tt in _)if(Object.prototype.hasOwnProperty.call(_,tt)){if(j.indexOf(tt)>=0)continue;et[tt]=_[tt]}return et}function ownKeys$f(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$f(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$f(Object(et),!0).forEach(function(tt){_defineProperty$i(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$f(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$i(_,j,et){return j=_toPropertyKey$i(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$i(_){var j=_toPrimitive$i(_,"string");return _typeof$i(j)=="symbol"?j:j+""}function _toPrimitive$i(_,j){if(_typeof$i(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$i(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function defaultPropTransformer(_,j){return _objectSpread$f(_objectSpread$f({},j),_)}function isSymbolsProps(_,j){return _==="symbols"}function ShapeSelector(_){var j=_.shapeType,et=_.elementProps;switch(j){case"rectangle":return React$1.createElement(Rectangle,et);case"trapezoid":return React$1.createElement(Trapezoid,et);case"sector":return React$1.createElement(Sector,et);case"symbols":if(isSymbolsProps(j))return React$1.createElement(Symbols,et);break;default:return null}}function getPropsFromShapeOption(_){return reactExports.isValidElement(_)?_.props:_}function Shape(_){var j=_.option,et=_.shapeType,tt=_.propTransformer,rt=tt===void 0?defaultPropTransformer:tt,nt=_.activeClassName,it=nt===void 0?"recharts-active-shape":nt,st=_.isActive,at=_objectWithoutProperties$6(_,_excluded$6),ot;if(reactExports.isValidElement(j))ot=reactExports.cloneElement(j,_objectSpread$f(_objectSpread$f({},at),getPropsFromShapeOption(j)));else if(isFunction$3(j))ot=j(at);else if(isPlainObject$1(j)&&!isBoolean$1(j)){var lt=rt(j,at);ot=React$1.createElement(ShapeSelector,{shapeType:et,elementProps:lt})}else{var ct=at;ot=React$1.createElement(ShapeSelector,{shapeType:et,elementProps:ct})}return st?React$1.createElement(Layer,{className:it},ot):ot}function isFunnel(_,j){return j!=null&&"trapezoids"in _.props}function isPie(_,j){return j!=null&&"sectors"in _.props}function isScatter(_,j){return j!=null&&"points"in _.props}function compareFunnel(_,j){var et,tt,rt=_.x===(j==null||(et=j.labelViewBox)===null||et===void 0?void 0:et.x)||_.x===j.x,nt=_.y===(j==null||(tt=j.labelViewBox)===null||tt===void 0?void 0:tt.y)||_.y===j.y;return rt&&nt}function comparePie(_,j){var et=_.endAngle===j.endAngle,tt=_.startAngle===j.startAngle;return et&&tt}function compareScatter(_,j){var et=_.x===j.x,tt=_.y===j.y,rt=_.z===j.z;return et&&tt&&rt}function getComparisonFn(_,j){var et;return isFunnel(_,j)?et=compareFunnel:isPie(_,j)?et=comparePie:isScatter(_,j)&&(et=compareScatter),et}function getShapeDataKey(_,j){var et;return isFunnel(_,j)?et="trapezoids":isPie(_,j)?et="sectors":isScatter(_,j)&&(et="points"),et}function getActiveShapeTooltipPayload(_,j){if(isFunnel(_,j)){var et;return(et=j.tooltipPayload)===null||et===void 0||(et=et[0])===null||et===void 0||(et=et.payload)===null||et===void 0?void 0:et.payload}if(isPie(_,j)){var tt;return(tt=j.tooltipPayload)===null||tt===void 0||(tt=tt[0])===null||tt===void 0||(tt=tt.payload)===null||tt===void 0?void 0:tt.payload}return isScatter(_,j)?j.payload:{}}function getActiveShapeIndexForTooltip(_){var j=_.activeTooltipItem,et=_.graphicalItem,tt=_.itemData,rt=getShapeDataKey(et,j),nt=getActiveShapeTooltipPayload(et,j),it=tt.filter(function(at,ot){var lt=isEqual$1(nt,at),ct=et.props[rt].filter(function(ht){var pt=getComparisonFn(et,j);return pt(ht,j)}),ut=et.props[rt].indexOf(ct[ct.length-1]),dt=ot===ut;return lt&&dt}),st=tt.indexOf(it[it.length-1]);return st}var _Pie;function _typeof$h(_){"@babel/helpers - typeof";return _typeof$h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$h(_)}function _extends$c(){return _extends$c=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$c.apply(this,arguments)}function ownKeys$e(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$e(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$e(Object(et),!0).forEach(function(tt){_defineProperty$h(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$e(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _classCallCheck$c(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$c(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$h(tt.key),tt)}}function _createClass$c(_,j,et){return j&&_defineProperties$c(_.prototype,j),et&&_defineProperties$c(_,et),Object.defineProperty(_,"prototype",{writable:!1}),_}function _callSuper$a(_,j,et){return j=_getPrototypeOf$a(j),_possibleConstructorReturn$a(_,_isNativeReflectConstruct$a()?Reflect.construct(j,et||[],_getPrototypeOf$a(_).constructor):j.apply(_,et))}function _possibleConstructorReturn$a(_,j){if(j&&(_typeof$h(j)==="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$a(_)}function _assertThisInitialized$a(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _isNativeReflectConstruct$a(){try{var _=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$a=function(){return!!_})()}function _getPrototypeOf$a(_){return _getPrototypeOf$a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(et){return et.__proto__||Object.getPrototypeOf(et)},_getPrototypeOf$a(_)}function _inherits$a(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&_setPrototypeOf$a(_,j)}function _setPrototypeOf$a(_,j){return _setPrototypeOf$a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(tt,rt){return tt.__proto__=rt,tt},_setPrototypeOf$a(_,j)}function _defineProperty$h(_,j,et){return j=_toPropertyKey$h(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$h(_){var j=_toPrimitive$h(_,"string");return _typeof$h(j)=="symbol"?j:j+""}function _toPrimitive$h(_,j){if(_typeof$h(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$h(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var Pie=function(_){function j(et){var tt;return _classCallCheck$c(this,j),tt=_callSuper$a(this,j,[et]),_defineProperty$h(tt,"pieRef",null),_defineProperty$h(tt,"sectorRefs",[]),_defineProperty$h(tt,"id",uniqueId("recharts-pie-")),_defineProperty$h(tt,"handleAnimationEnd",function(){var rt=tt.props.onAnimationEnd;tt.setState({isAnimationFinished:!0}),isFunction$3(rt)&&rt()}),_defineProperty$h(tt,"handleAnimationStart",function(){var rt=tt.props.onAnimationStart;tt.setState({isAnimationFinished:!1}),isFunction$3(rt)&&rt()}),tt.state={isAnimationFinished:!et.isAnimationActive,prevIsAnimationActive:et.isAnimationActive,prevAnimationId:et.animationId,sectorToFocus:0},tt}return _inherits$a(j,_),_createClass$c(j,[{key:"isActiveIndex",value:function(tt){var rt=this.props.activeIndex;return Array.isArray(rt)?rt.indexOf(tt)!==-1:tt===rt}},{key:"hasActiveIndex",value:function(){var tt=this.props.activeIndex;return Array.isArray(tt)?tt.length!==0:tt||tt===0}},{key:"renderLabels",value:function(tt){var rt=this.props.isAnimationActive;if(rt&&!this.state.isAnimationFinished)return null;var nt=this.props,it=nt.label,st=nt.labelLine,at=nt.dataKey,ot=nt.valueKey,lt=filterProps(this.props,!1),ct=filterProps(it,!1),ut=filterProps(st,!1),dt=it&&it.offsetRadius||20,ht=tt.map(function(pt,gt){var ft=(pt.startAngle+pt.endAngle)/2,mt=polarToCartesian(pt.cx,pt.cy,pt.outerRadius+dt,ft),xt=_objectSpread$e(_objectSpread$e(_objectSpread$e(_objectSpread$e({},lt),pt),{},{stroke:"none"},ct),{},{index:gt,textAnchor:j.getTextAnchor(mt.x,pt.cx)},mt),yt=_objectSpread$e(_objectSpread$e(_objectSpread$e(_objectSpread$e({},lt),pt),{},{fill:"none",stroke:pt.fill},ut),{},{index:gt,points:[polarToCartesian(pt.cx,pt.cy,pt.outerRadius,ft),mt]}),vt=at;return isNil$1(at)&&isNil$1(ot)?vt="value":isNil$1(at)&&(vt=ot),React$1.createElement(Layer,{key:"label-".concat(pt.startAngle,"-").concat(pt.endAngle,"-").concat(pt.midAngle,"-").concat(gt)},st&&j.renderLabelLineItem(st,yt,"line"),j.renderLabelItem(it,xt,getValueByDataKey(pt,vt)))});return React$1.createElement(Layer,{className:"recharts-pie-labels"},ht)}},{key:"renderSectorsStatically",value:function(tt){var rt=this,nt=this.props,it=nt.activeShape,st=nt.blendStroke,at=nt.inactiveShape;return tt.map(function(ot,lt){if((ot==null?void 0:ot.startAngle)===0&&(ot==null?void 0:ot.endAngle)===0&&tt.length!==1)return null;var ct=rt.isActiveIndex(lt),ut=at&&rt.hasActiveIndex()?at:null,dt=ct?it:ut,ht=_objectSpread$e(_objectSpread$e({},ot),{},{stroke:st?ot.fill:ot.stroke,tabIndex:-1});return React$1.createElement(Layer,_extends$c({ref:function(gt){gt&&!rt.sectorRefs.includes(gt)&&rt.sectorRefs.push(gt)},tabIndex:-1,className:"recharts-pie-sector"},adaptEventsOfChild(rt.props,ot,lt),{key:"sector-".concat(ot==null?void 0:ot.startAngle,"-").concat(ot==null?void 0:ot.endAngle,"-").concat(ot.midAngle,"-").concat(lt)}),React$1.createElement(Shape,_extends$c({option:dt,isActive:ct,shapeType:"sector"},ht)))})}},{key:"renderSectorsWithAnimation",value:function(){var tt=this,rt=this.props,nt=rt.sectors,it=rt.isAnimationActive,st=rt.animationBegin,at=rt.animationDuration,ot=rt.animationEasing,lt=rt.animationId,ct=this.state,ut=ct.prevSectors,dt=ct.prevIsAnimationActive;return React$1.createElement(Animate,{begin:st,duration:at,isActive:it,easing:ot,from:{t:0},to:{t:1},key:"pie-".concat(lt,"-").concat(dt),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(ht){var pt=ht.t,gt=[],ft=nt&&nt[0],mt=ft.startAngle;return nt.forEach(function(xt,yt){var vt=ut&&ut[yt],bt=yt>0?get$2(xt,"paddingAngle",0):0;if(vt){var Et=interpolateNumber$2(vt.endAngle-vt.startAngle,xt.endAngle-xt.startAngle),_t=_objectSpread$e(_objectSpread$e({},xt),{},{startAngle:mt+bt,endAngle:mt+Et(pt)+bt});gt.push(_t),mt=_t.endAngle}else{var wt=xt.endAngle,Rt=xt.startAngle,Ct=interpolateNumber$2(0,wt-Rt),jt=Ct(pt),Dt=_objectSpread$e(_objectSpread$e({},xt),{},{startAngle:mt+bt,endAngle:mt+jt+bt});gt.push(Dt),mt=Dt.endAngle}}),React$1.createElement(Layer,null,tt.renderSectorsStatically(gt))})}},{key:"attachKeyboardHandlers",value:function(tt){var rt=this;tt.onkeydown=function(nt){if(!nt.altKey)switch(nt.key){case"ArrowLeft":{var it=++rt.state.sectorToFocus%rt.sectorRefs.length;rt.sectorRefs[it].focus(),rt.setState({sectorToFocus:it});break}case"ArrowRight":{var st=--rt.state.sectorToFocus<0?rt.sectorRefs.length-1:rt.state.sectorToFocus%rt.sectorRefs.length;rt.sectorRefs[st].focus(),rt.setState({sectorToFocus:st});break}case"Escape":{rt.sectorRefs[rt.state.sectorToFocus].blur(),rt.setState({sectorToFocus:0});break}}}}},{key:"renderSectors",value:function(){var tt=this.props,rt=tt.sectors,nt=tt.isAnimationActive,it=this.state.prevSectors;return nt&&rt&&rt.length&&(!it||!isEqual$1(it,rt))?this.renderSectorsWithAnimation():this.renderSectorsStatically(rt)}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var tt=this,rt=this.props,nt=rt.hide,it=rt.sectors,st=rt.className,at=rt.label,ot=rt.cx,lt=rt.cy,ct=rt.innerRadius,ut=rt.outerRadius,dt=rt.isAnimationActive,ht=this.state.isAnimationFinished;if(nt||!it||!it.length||!isNumber(ot)||!isNumber(lt)||!isNumber(ct)||!isNumber(ut))return null;var pt=clsx("recharts-pie",st);return React$1.createElement(Layer,{tabIndex:this.props.rootTabIndex,className:pt,ref:function(ft){tt.pieRef=ft}},this.renderSectors(),at&&this.renderLabels(it),Label.renderCallByParent(this.props,null,!1),(!dt||ht)&&LabelList.renderCallByParent(this.props,it,!1))}}],[{key:"getDerivedStateFromProps",value:function(tt,rt){return rt.prevIsAnimationActive!==tt.isAnimationActive?{prevIsAnimationActive:tt.isAnimationActive,prevAnimationId:tt.animationId,curSectors:tt.sectors,prevSectors:[],isAnimationFinished:!0}:tt.isAnimationActive&&tt.animationId!==rt.prevAnimationId?{prevAnimationId:tt.animationId,curSectors:tt.sectors,prevSectors:rt.curSectors,isAnimationFinished:!0}:tt.sectors!==rt.curSectors?{curSectors:tt.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(tt,rt){return tt>rt?"start":tt<rt?"end":"middle"}},{key:"renderLabelLineItem",value:function(tt,rt,nt){if(React$1.isValidElement(tt))return React$1.cloneElement(tt,rt);if(isFunction$3(tt))return tt(rt);var it=clsx("recharts-pie-label-line",typeof tt!="boolean"?tt.className:"");return React$1.createElement(Curve,_extends$c({},rt,{key:nt,type:"linear",className:it}))}},{key:"renderLabelItem",value:function(tt,rt,nt){if(React$1.isValidElement(tt))return React$1.cloneElement(tt,rt);var it=nt;if(isFunction$3(tt)&&(it=tt(rt),React$1.isValidElement(it)))return it;var st=clsx("recharts-pie-label-text",typeof tt!="boolean"&&!isFunction$3(tt)?tt.className:"");return React$1.createElement(Text,_extends$c({},rt,{alignmentBaseline:"middle",className:st}),it)}}])}(reactExports.PureComponent);_Pie=Pie;_defineProperty$h(Pie,"displayName","Pie");_defineProperty$h(Pie,"defaultProps",{stroke:"#fff",fill:"#808080",legendType:"rect",cx:"50%",cy:"50%",startAngle:0,endAngle:360,innerRadius:0,outerRadius:"80%",paddingAngle:0,labelLine:!0,hide:!1,minAngle:0,isAnimationActive:!Global.isSsr,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",blendStroke:!1,rootTabIndex:0});_defineProperty$h(Pie,"parseDeltaAngle",function(_,j){var et=mathSign(j-_),tt=Math.min(Math.abs(j-_),360);return et*tt});_defineProperty$h(Pie,"getRealPieData",function(_){var j=_.data,et=_.children,tt=filterProps(_,!1),rt=findAllByType(et,Cell);return j&&j.length?j.map(function(nt,it){return _objectSpread$e(_objectSpread$e(_objectSpread$e({payload:nt},tt),nt),rt&&rt[it]&&rt[it].props)}):rt&&rt.length?rt.map(function(nt){return _objectSpread$e(_objectSpread$e({},tt),nt.props)}):[]});_defineProperty$h(Pie,"parseCoordinateOfPie",function(_,j){var et=j.top,tt=j.left,rt=j.width,nt=j.height,it=getMaxRadius(rt,nt),st=tt+getPercentValue(_.cx,rt,rt/2),at=et+getPercentValue(_.cy,nt,nt/2),ot=getPercentValue(_.innerRadius,it,0),lt=getPercentValue(_.outerRadius,it,it*.8),ct=_.maxRadius||Math.sqrt(rt*rt+nt*nt)/2;return{cx:st,cy:at,innerRadius:ot,outerRadius:lt,maxRadius:ct}});_defineProperty$h(Pie,"getComposedData",function(_){var j=_.item,et=_.offset,tt=j.type.defaultProps!==void 0?_objectSpread$e(_objectSpread$e({},j.type.defaultProps),j.props):j.props,rt=_Pie.getRealPieData(tt);if(!rt||!rt.length)return null;var nt=tt.cornerRadius,it=tt.startAngle,st=tt.endAngle,at=tt.paddingAngle,ot=tt.dataKey,lt=tt.nameKey,ct=tt.valueKey,ut=tt.tooltipType,dt=Math.abs(tt.minAngle),ht=_Pie.parseCoordinateOfPie(tt,et),pt=_Pie.parseDeltaAngle(it,st),gt=Math.abs(pt),ft=ot;isNil$1(ot)&&isNil$1(ct)?(warn(!1,`Use "dataKey" to specify the value of pie,
920 the props "valueKey" will be deprecated in 1.1.0`),ft="value"):isNil$1(ot)&&(warn(!1,`Use "dataKey" to specify the value of pie, 921 the props "valueKey" will be deprecated in 1.1.0`),ft=ct);var mt=rt.filter(function(_t){return getValueByDataKey(_t,ft,0)!==0}).length,xt=(gt>=360?mt:mt-1)*at,yt=gt-mt*dt-xt,vt=rt.reduce(function(_t,wt){var Rt=getValueByDataKey(wt,ft,0);return _t+(isNumber(Rt)?Rt:0)},0),bt;if(vt>0){var Et;bt=rt.map(function(_t,wt){var Rt=getValueByDataKey(_t,ft,0),Ct=getValueByDataKey(_t,lt,wt),jt=(isNumber(Rt)?Rt:0)/vt,Dt;wt?Dt=Et.endAngle+mathSign(pt)*at*(Rt!==0?1:0):Dt=it;var It=Dt+mathSign(pt)*((Rt!==0?dt:0)+jt*yt),Ot=(Dt+It)/2,At=(ht.innerRadius+ht.outerRadius)/2,Tt=[{name:Ct,value:Rt,payload:_t,dataKey:ft,type:ut}],kt=polarToCartesian(ht.cx,ht.cy,At,Ot);return Et=_objectSpread$e(_objectSpread$e(_objectSpread$e({percent:jt,cornerRadius:nt,name:Ct,tooltipPayload:Tt,midAngle:Ot,middleRadius:At,tooltipPosition:kt},_t),ht),{},{value:getValueByDataKey(_t,ft),startAngle:Dt,endAngle:It,payload:_t,paddingAngle:mathSign(pt)*at}),Et})}return _objectSpread$e(_objectSpread$e({},ht),{},{sectors:bt,data:rt})});var nativeCeil=Math.ceil,nativeMax$1=Math.max;function baseRange$1(_,j,et,tt){for(var rt=-1,nt=nativeMax$1(nativeCeil((j-_)/(et||1)),0),it=Array(nt);nt--;)it[tt?nt:++rt]=_,_+=et;return it}var _baseRange=baseRange$1,toNumber=toNumber_1,INFINITY=1/0,MAX_INTEGER=17976931348623157e292;function toFinite$2(_){if(!_)return _===0?_:0;if(_=toNumber(_),_===INFINITY||_===-INFINITY){var j=_<0?-1:1;return j*MAX_INTEGER}return _===_?_:0}var toFinite_1=toFinite$2,baseRange=_baseRange,isIterateeCall$2=_isIterateeCall,toFinite$1=toFinite_1;function createRange$1(_){return function(j,et,tt){return tt&&typeof tt!="number"&&isIterateeCall$2(j,et,tt)&&(et=tt=void 0),j=toFinite$1(j),et===void 0?(et=j,j=0):et=toFinite$1(et),tt=tt===void 0?j<et?1:-1:toFinite$1(tt),baseRange(j,et,tt,_)}}var _createRange=createRange$1,createRange=_createRange,range=createRange(),range_1=range;const range$1=getDefaultExportFromCjs(range_1);function _typeof$g(_){"@babel/helpers - typeof";return _typeof$g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$g(_)}function ownKeys$d(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$d(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$d(Object(et),!0).forEach(function(tt){_defineProperty$g(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$d(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$g(_,j,et){return j=_toPropertyKey$g(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$g(_){var j=_toPrimitive$g(_,"string");return _typeof$g(j)=="symbol"?j:j+""}function _toPrimitive$g(_,j){if(_typeof$g(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$g(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var PREFIX_LIST=["Webkit","Moz","O","ms"],generatePrefixStyle=function _(j,et){var tt=j.replace(/(\w)/,function(nt){return nt.toUpperCase()}),rt=PREFIX_LIST.reduce(function(nt,it){return _objectSpread$d(_objectSpread$d({},nt),{},_defineProperty$g({},it+tt,et))},{});return rt[j]=et,rt};function _typeof$f(_){"@babel/helpers - typeof";return _typeof$f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$f(_)}function _extends$b(){return _extends$b=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$b.apply(this,arguments)}function ownKeys$c(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$c(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};
vendor: 36,787 bytes, line 921
921j%2?ownKeys$c(Object(et),!0).forEach(function(tt){_defineProperty$f(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$c(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _classCallCheck$b(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$b(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$f(tt.key),tt)}}function _createClass$b(_,j,et){return j&&_defineProperties$b(_.prototype,j),et&&_defineProperties$b(_,et),Object.defineProperty(_,"prototype",{writable:!1}),_}function _callSuper$9(_,j,et){return j=_getPrototypeOf$9(j),_possibleConstructorReturn$9(_,_isNativeReflectConstruct$9()?Reflect.construct(j,et||[],_getPrototypeOf$9(_).constructor):j.apply(_,et))}function _possibleConstructorReturn$9(_,j){if(j&&(_typeof$f(j)==="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$9(_)}function _assertThisInitialized$9(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _isNativeReflectConstruct$9(){try{var _=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$9=function(){return!!_})()}function _getPrototypeOf$9(_){return _getPrototypeOf$9=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(et){return et.__proto__||Object.getPrototypeOf(et)},_getPrototypeOf$9(_)}function _inherits$9(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&_setPrototypeOf$9(_,j)}function _setPrototypeOf$9(_,j){return _setPrototypeOf$9=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(tt,rt){return tt.__proto__=rt,tt},_setPrototypeOf$9(_,j)}function _defineProperty$f(_,j,et){return j=_toPropertyKey$f(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$f(_){var j=_toPrimitive$f(_,"string");return _typeof$f(j)=="symbol"?j:j+""}function _toPrimitive$f(_,j){if(_typeof$f(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$f(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var createScale=function _(j){var et=j.data,tt=j.startIndex,rt=j.endIndex,nt=j.x,it=j.width,st=j.travellerWidth;if(!et||!et.length)return{};var at=et.length,ot=point().domain(range$1(0,at)).range([nt,nt+it-st]),lt=ot.domain().map(function(ct){return ot(ct)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:ot(tt),endX:ot(rt),scale:ot,scaleValues:lt}},isTouch=function _(j){return j.changedTouches&&!!j.changedTouches.length},Brush=function(_){function j(et){var tt;return _classCallCheck$b(this,j),tt=_callSuper$9(this,j,[et]),_defineProperty$f(tt,"handleDrag",function(rt){tt.leaveTimer&&(clearTimeout(tt.leaveTimer),tt.leaveTimer=null),tt.state.isTravellerMoving?tt.handleTravellerMove(rt):tt.state.isSlideMoving&&tt.handleSlideDrag(rt)}),_defineProperty$f(tt,"handleTouchMove",function(rt){rt.changedTouches!=null&&rt.changedTouches.length>0&&tt.handleDrag(rt.changedTouches[0])}),_defineProperty$f(tt,"handleDragEnd",function(){tt.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var rt=tt.props,nt=rt.endIndex,it=rt.onDragEnd,st=rt.startIndex;it==null||it({endIndex:nt,startIndex:st})}),tt.detachDragEndListener()}),_defineProperty$f(tt,"handleLeaveWrapper",function(){(tt.state.isTravellerMoving||tt.state.isSlideMoving)&&(tt.leaveTimer=window.setTimeout(tt.handleDragEnd,tt.props.leaveTimeOut))}),_defineProperty$f(tt,"handleEnterSlideOrTraveller",function(){tt.setState({isTextActive:!0})}),_defineProperty$f(tt,"handleLeaveSlideOrTraveller",function(){tt.setState({isTextActive:!1})}),_defineProperty$f(tt,"handleSlideDragStart",function(rt){var nt=isTouch(rt)?rt.changedTouches[0]:rt;tt.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:nt.pageX}),tt.attachDragEndListener()}),tt.travellerDragStartHandlers={startX:tt.handleTravellerDragStart.bind(tt,"startX"),endX:tt.handleTravellerDragStart.bind(tt,"endX")},tt.state={},tt}return _inherits$9(j,_),_createClass$b(j,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(tt){var rt=tt.startX,nt=tt.endX,it=this.state.scaleValues,st=this.props,at=st.gap,ot=st.data,lt=ot.length-1,ct=Math.min(rt,nt),ut=Math.max(rt,nt),dt=j.getIndexInRange(it,ct),ht=j.getIndexInRange(it,ut);return{startIndex:dt-dt%at,endIndex:ht===lt?lt:ht-ht%at}}},{key:"getTextOfTick",value:function(tt){var rt=this.props,nt=rt.data,it=rt.tickFormatter,st=rt.dataKey,at=getValueByDataKey(nt[tt],st,tt);return isFunction$3(it)?it(at,tt):at}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(tt){var rt=this.state,nt=rt.slideMoveStartX,it=rt.startX,st=rt.endX,at=this.props,ot=at.x,lt=at.width,ct=at.travellerWidth,ut=at.startIndex,dt=at.endIndex,ht=at.onChange,pt=tt.pageX-nt;pt>0?pt=Math.min(pt,ot+lt-ct-st,ot+lt-ct-it):pt<0&&(pt=Math.max(pt,ot-it,ot-st));var gt=this.getIndex({startX:it+pt,endX:st+pt});(gt.startIndex!==ut||gt.endIndex!==dt)&&ht&&ht(gt),this.setState({startX:it+pt,endX:st+pt,slideMoveStartX:tt.pageX})}},{key:"handleTravellerDragStart",value:function(tt,rt){var nt=isTouch(rt)?rt.changedTouches[0]:rt;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:tt,brushMoveStartX:nt.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(tt){var rt=this.state,nt=rt.brushMoveStartX,it=rt.movingTravellerId,st=rt.endX,at=rt.startX,ot=this.state[it],lt=this.props,ct=lt.x,ut=lt.width,dt=lt.travellerWidth,ht=lt.onChange,pt=lt.gap,gt=lt.data,ft={startX:this.state.startX,endX:this.state.endX},mt=tt.pageX-nt;mt>0?mt=Math.min(mt,ct+ut-dt-ot):mt<0&&(mt=Math.max(mt,ct-ot)),ft[it]=ot+mt;var xt=this.getIndex(ft),yt=xt.startIndex,vt=xt.endIndex,bt=function(){var _t=gt.length-1;return it==="startX"&&(st>at?yt%pt===0:vt%pt===0)||st<at&&vt===_t||it==="endX"&&(st>at?vt%pt===0:yt%pt===0)||st>at&&vt===_t};this.setState(_defineProperty$f(_defineProperty$f({},it,ot+mt),"brushMoveStartX",tt.pageX),function(){ht&&bt()&&ht(xt)})}},{key:"handleTravellerMoveKeyboard",value:function(tt,rt){var nt=this,it=this.state,st=it.scaleValues,at=it.startX,ot=it.endX,lt=this.state[rt],ct=st.indexOf(lt);if(ct!==-1){var ut=ct+tt;if(!(ut===-1||ut>=st.length)){var dt=st[ut];rt==="startX"&&dt>=ot||rt==="endX"&&dt<=at||this.setState(_defineProperty$f({},rt,dt),function(){nt.props.onChange(nt.getIndex({startX:nt.state.startX,endX:nt.state.endX}))})}}}},{key:"renderBackground",value:function(){var tt=this.props,rt=tt.x,nt=tt.y,it=tt.width,st=tt.height,at=tt.fill,ot=tt.stroke;return React$1.createElement("rect",{stroke:ot,fill:at,x:rt,y:nt,width:it,height:st})}},{key:"renderPanorama",value:function(){var tt=this.props,rt=tt.x,nt=tt.y,it=tt.width,st=tt.height,at=tt.data,ot=tt.children,lt=tt.padding,ct=reactExports.Children.only(ot);return ct?React$1.cloneElement(ct,{x:rt,y:nt,width:it,height:st,margin:lt,compact:!0,data:at}):null}},{key:"renderTravellerLayer",value:function(tt,rt){var nt,it,st=this,at=this.props,ot=at.y,lt=at.travellerWidth,ct=at.height,ut=at.traveller,dt=at.ariaLabel,ht=at.data,pt=at.startIndex,gt=at.endIndex,ft=Math.max(tt,this.props.x),mt=_objectSpread$c(_objectSpread$c({},filterProps(this.props,!1)),{},{x:ft,y:ot,width:lt,height:ct}),xt=dt||"Min value: ".concat((nt=ht[pt])===null||nt===void 0?void 0:nt.name,", Max value: ").concat((it=ht[gt])===null||it===void 0?void 0:it.name);return React$1.createElement(Layer,{tabIndex:0,role:"slider","aria-label":xt,"aria-valuenow":tt,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[rt],onTouchStart:this.travellerDragStartHandlers[rt],onKeyDown:function(vt){["ArrowLeft","ArrowRight"].includes(vt.key)&&(vt.preventDefault(),vt.stopPropagation(),st.handleTravellerMoveKeyboard(vt.key==="ArrowRight"?1:-1,rt))},onFocus:function(){st.setState({isTravellerFocused:!0})},onBlur:function(){st.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},j.renderTraveller(ut,mt))}},{key:"renderSlide",value:function(tt,rt){var nt=this.props,it=nt.y,st=nt.height,at=nt.stroke,ot=nt.travellerWidth,lt=Math.min(tt,rt)+ot,ct=Math.max(Math.abs(rt-tt)-ot,0);return React$1.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:at,fillOpacity:.2,x:lt,y:it,width:ct,height:st})}},{key:"renderText",value:function(){var tt=this.props,rt=tt.startIndex,nt=tt.endIndex,it=tt.y,st=tt.height,at=tt.travellerWidth,ot=tt.stroke,lt=this.state,ct=lt.startX,ut=lt.endX,dt=5,ht={pointerEvents:"none",fill:ot};return React$1.createElement(Layer,{className:"recharts-brush-texts"},React$1.createElement(Text,_extends$b({textAnchor:"end",verticalAnchor:"middle",x:Math.min(ct,ut)-dt,y:it+st/2},ht),this.getTextOfTick(rt)),React$1.createElement(Text,_extends$b({textAnchor:"start",verticalAnchor:"middle",x:Math.max(ct,ut)+at+dt,y:it+st/2},ht),this.getTextOfTick(nt)))}},{key:"render",value:function(){var tt=this.props,rt=tt.data,nt=tt.className,it=tt.children,st=tt.x,at=tt.y,ot=tt.width,lt=tt.height,ct=tt.alwaysShowText,ut=this.state,dt=ut.startX,ht=ut.endX,pt=ut.isTextActive,gt=ut.isSlideMoving,ft=ut.isTravellerMoving,mt=ut.isTravellerFocused;if(!rt||!rt.length||!isNumber(st)||!isNumber(at)||!isNumber(ot)||!isNumber(lt)||ot<=0||lt<=0)return null;var xt=clsx("recharts-brush",nt),yt=React$1.Children.count(it)===1,vt=generatePrefixStyle("userSelect","none");return React$1.createElement(Layer,{className:xt,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:vt},this.renderBackground(),yt&&this.renderPanorama(),this.renderSlide(dt,ht),this.renderTravellerLayer(dt,"startX"),this.renderTravellerLayer(ht,"endX"),(pt||gt||ft||mt||ct)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(tt){var rt=tt.x,nt=tt.y,it=tt.width,st=tt.height,at=tt.stroke,ot=Math.floor(nt+st/2)-1;return React$1.createElement(React$1.Fragment,null,React$1.createElement("rect",{x:rt,y:nt,width:it,height:st,fill:at,stroke:"none"}),React$1.createElement("line",{x1:rt+1,y1:ot,x2:rt+it-1,y2:ot,fill:"none",stroke:"#fff"}),React$1.createElement("line",{x1:rt+1,y1:ot+2,x2:rt+it-1,y2:ot+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(tt,rt){var nt;return React$1.isValidElement(tt)?nt=React$1.cloneElement(tt,rt):isFunction$3(tt)?nt=tt(rt):nt=j.renderDefaultTraveller(rt),nt}},{key:"getDerivedStateFromProps",value:function(tt,rt){var nt=tt.data,it=tt.width,st=tt.x,at=tt.travellerWidth,ot=tt.updateId,lt=tt.startIndex,ct=tt.endIndex;if(nt!==rt.prevData||ot!==rt.prevUpdateId)return _objectSpread$c({prevData:nt,prevTravellerWidth:at,prevUpdateId:ot,prevX:st,prevWidth:it},nt&&nt.length?createScale({data:nt,width:it,x:st,travellerWidth:at,startIndex:lt,endIndex:ct}):{scale:null,scaleValues:null});if(rt.scale&&(it!==rt.prevWidth||st!==rt.prevX||at!==rt.prevTravellerWidth)){rt.scale.range([st,st+it-at]);var ut=rt.scale.domain().map(function(dt){return rt.scale(dt)});return{prevData:nt,prevTravellerWidth:at,prevUpdateId:ot,prevX:st,prevWidth:it,startX:rt.scale(tt.startIndex),endX:rt.scale(tt.endIndex),scaleValues:ut}}return null}},{key:"getIndexInRange",value:function(tt,rt){for(var nt=tt.length,it=0,st=nt-1;st-it>1;){var at=Math.floor((it+st)/2);tt[at]>rt?st=at:it=at}return rt>=tt[st]?st:it}}])}(reactExports.PureComponent);_defineProperty$f(Brush,"displayName","Brush");_defineProperty$f(Brush,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var baseEach$1=_baseEach;function baseSome$1(_,j){var et;return baseEach$1(_,function(tt,rt,nt){return et=j(tt,rt,nt),!et}),!!et}var _baseSome=baseSome$1,arraySome=_arraySome,baseIteratee$4=_baseIteratee,baseSome=_baseSome,isArray$1=isArray_1,isIterateeCall$1=_isIterateeCall;function some(_,j,et){var tt=isArray$1(_)?arraySome:baseSome;return et&&isIterateeCall$1(_,j,et)&&(j=void 0),tt(_,baseIteratee$4(j))}var some_1=some;const some$1=getDefaultExportFromCjs(some_1);var ifOverflowMatches=function _(j,et){var tt=j.alwaysShow,rt=j.ifOverflow;return tt&&(rt="extendDomain"),rt===et},defineProperty=_defineProperty$F;function baseAssignValue$1(_,j,et){j=="__proto__"&&defineProperty?defineProperty(_,j,{configurable:!0,enumerable:!0,value:et,writable:!0}):_[j]=et}var _baseAssignValue=baseAssignValue$1,baseAssignValue=_baseAssignValue,baseForOwn=_baseForOwn,baseIteratee$3=_baseIteratee;function mapValues(_,j){var et={};return j=baseIteratee$3(j),baseForOwn(_,function(tt,rt,nt){baseAssignValue(et,rt,j(tt,rt,nt))}),et}var mapValues_1=mapValues;const mapValues$1=getDefaultExportFromCjs(mapValues_1);function arrayEvery$1(_,j){for(var et=-1,tt=_==null?0:_.length;++et<tt;)if(!j(_[et],et,_))return!1;return!0}var _arrayEvery=arrayEvery$1,baseEach=_baseEach;function baseEvery$1(_,j){var et=!0;return baseEach(_,function(tt,rt,nt){return et=!!j(tt,rt,nt),et}),et}var _baseEvery=baseEvery$1,arrayEvery=_arrayEvery,baseEvery=_baseEvery,baseIteratee$2=_baseIteratee,isArray=isArray_1,isIterateeCall=_isIterateeCall;function every(_,j,et){var tt=isArray(_)?arrayEvery:baseEvery;return et&&isIterateeCall(_,j,et)&&(j=void 0),tt(_,baseIteratee$2(j))}var every_1=every;const every$1=getDefaultExportFromCjs(every_1);var _excluded$5=["x","y"];function _typeof$e(_){"@babel/helpers - typeof";return _typeof$e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$e(_)}function _extends$a(){return _extends$a=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$a.apply(this,arguments)}function ownKeys$b(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$b(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$b(Object(et),!0).forEach(function(tt){_defineProperty$e(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$b(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$e(_,j,et){return j=_toPropertyKey$e(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$e(_){var j=_toPrimitive$e(_,"string");return _typeof$e(j)=="symbol"?j:j+""}function _toPrimitive$e(_,j){if(_typeof$e(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$e(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function _objectWithoutProperties$5(_,j){if(_==null)return{};var et=_objectWithoutPropertiesLoose$5(_,j),tt,rt;if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(rt=0;rt<nt.length;rt++)tt=nt[rt],!(j.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(_,tt)&&(et[tt]=_[tt])}return et}function _objectWithoutPropertiesLoose$5(_,j){if(_==null)return{};var et={};for(var tt in _)if(Object.prototype.hasOwnProperty.call(_,tt)){if(j.indexOf(tt)>=0)continue;et[tt]=_[tt]}return et}function typeguardBarRectangleProps(_,j){var et=_.x,tt=_.y,rt=_objectWithoutProperties$5(_,_excluded$5),nt="".concat(et),it=parseInt(nt,10),st="".concat(tt),at=parseInt(st,10),ot="".concat(j.height||rt.height),lt=parseInt(ot,10),ct="".concat(j.width||rt.width),ut=parseInt(ct,10);return _objectSpread$b(_objectSpread$b(_objectSpread$b(_objectSpread$b(_objectSpread$b({},j),rt),it?{x:it}:{}),at?{y:at}:{}),{},{height:lt,width:ut,name:j.name,radius:j.radius})}function BarRectangle(_){return React$1.createElement(Shape,_extends$a({shapeType:"rectangle",propTransformer:typeguardBarRectangleProps,activeClassName:"recharts-active-bar"},_))}var minPointSizeCallback=function _(j){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(tt,rt){if(typeof j=="number")return j;var nt=isNumber(tt)||isNullish(tt);return nt?j(tt,rt):(nt||invariant(),et)}},_excluded$4=["value","background"],_Bar;function _typeof$d(_){"@babel/helpers - typeof";return _typeof$d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$d(_)}function _objectWithoutProperties$4(_,j){if(_==null)return{};var et=_objectWithoutPropertiesLoose$4(_,j),tt,rt;if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(rt=0;rt<nt.length;rt++)tt=nt[rt],!(j.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(_,tt)&&(et[tt]=_[tt])}return et}function _objectWithoutPropertiesLoose$4(_,j){if(_==null)return{};var et={};for(var tt in _)if(Object.prototype.hasOwnProperty.call(_,tt)){if(j.indexOf(tt)>=0)continue;et[tt]=_[tt]}return et}function _extends$9(){return _extends$9=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$9.apply(this,arguments)}function ownKeys$a(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$a(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$a(Object(et),!0).forEach(function(tt){_defineProperty$d(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$a(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _classCallCheck$a(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$a(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$d(tt.key),tt)}}function _createClass$a(_,j,et){return j&&_defineProperties$a(_.prototype,j),et&&_defineProperties$a(_,et),Object.defineProperty(_,"prototype",{writable:!1}),_}function _callSuper$8(_,j,et){return j=_getPrototypeOf$8(j),_possibleConstructorReturn$8(_,_isNativeReflectConstruct$8()?Reflect.construct(j,et||[],_getPrototypeOf$8(_).constructor):j.apply(_,et))}function _possibleConstructorReturn$8(_,j){if(j&&(_typeof$d(j)==="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$8(_)}function _assertThisInitialized$8(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _isNativeReflectConstruct$8(){try{var _=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$8=function(){return!!_})()}function _getPrototypeOf$8(_){return _getPrototypeOf$8=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(et){return et.__proto__||Object.getPrototypeOf(et)},_getPrototypeOf$8(_)}function _inherits$8(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&_setPrototypeOf$8(_,j)}function _setPrototypeOf$8(_,j){return _setPrototypeOf$8=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(tt,rt){return tt.__proto__=rt,tt},_setPrototypeOf$8(_,j)}function _defineProperty$d(_,j,et){return j=_toPropertyKey$d(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$d(_){var j=_toPrimitive$d(_,"string");return _typeof$d(j)=="symbol"?j:j+""}function _toPrimitive$d(_,j){if(_typeof$d(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$d(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var Bar=function(_){function j(){var et;_classCallCheck$a(this,j);for(var tt=arguments.length,rt=new Array(tt),nt=0;nt<tt;nt++)rt[nt]=arguments[nt];return et=_callSuper$8(this,j,[].concat(rt)),_defineProperty$d(et,"state",{isAnimationFinished:!1}),_defineProperty$d(et,"id",uniqueId("recharts-bar-")),_defineProperty$d(et,"handleAnimationEnd",function(){var it=et.props.onAnimationEnd;et.setState({isAnimationFinished:!0}),it&&it()}),_defineProperty$d(et,"handleAnimationStart",function(){var it=et.props.onAnimationStart;et.setState({isAnimationFinished:!1}),it&&it()}),et}return _inherits$8(j,_),_createClass$a(j,[{key:"renderRectanglesStatically",value:function(tt){var rt=this,nt=this.props,it=nt.shape,st=nt.dataKey,at=nt.activeIndex,ot=nt.activeBar,lt=filterProps(this.props,!1);return tt&&tt.map(function(ct,ut){var dt=ut===at,ht=dt?ot:it,pt=_objectSpread$a(_objectSpread$a(_objectSpread$a({},lt),ct),{},{isActive:dt,option:ht,index:ut,dataKey:st,onAnimationStart:rt.handleAnimationStart,onAnimationEnd:rt.handleAnimationEnd});return React$1.createElement(Layer,_extends$9({className:"recharts-bar-rectangle"},adaptEventsOfChild(rt.props,ct,ut),{key:"rectangle-".concat(ct==null?void 0:ct.x,"-").concat(ct==null?void 0:ct.y,"-").concat(ct==null?void 0:ct.value,"-").concat(ut)}),React$1.createElement(BarRectangle,pt))})}},{key:"renderRectanglesWithAnimation",value:function(){var tt=this,rt=this.props,nt=rt.data,it=rt.layout,st=rt.isAnimationActive,at=rt.animationBegin,ot=rt.animationDuration,lt=rt.animationEasing,ct=rt.animationId,ut=this.state.prevData;return React$1.createElement(Animate,{begin:at,duration:ot,isActive:st,easing:lt,from:{t:0},to:{t:1},key:"bar-".concat(ct),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(dt){var ht=dt.t,pt=nt.map(function(gt,ft){var mt=ut&&ut[ft];if(mt){var xt=interpolateNumber$2(mt.x,gt.x),yt=interpolateNumber$2(mt.y,gt.y),vt=interpolateNumber$2(mt.width,gt.width),bt=interpolateNumber$2(mt.height,gt.height);return _objectSpread$a(_objectSpread$a({},gt),{},{x:xt(ht),y:yt(ht),width:vt(ht),height:bt(ht)})}if(it==="horizontal"){var Et=interpolateNumber$2(0,gt.height),_t=Et(ht);return _objectSpread$a(_objectSpread$a({},gt),{},{y:gt.y+gt.height-_t,height:_t})}var wt=interpolateNumber$2(0,gt.width),Rt=wt(ht);return _objectSpread$a(_objectSpread$a({},gt),{},{width:Rt})});return React$1.createElement(Layer,null,tt.renderRectanglesStatically(pt))})}},{key:"renderRectangles",value:function(){var tt=this.props,rt=tt.data,nt=tt.isAnimationActive,it=this.state.prevData;return nt&&rt&&rt.length&&(!it||!isEqual$1(it,rt))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(rt)}},{key:"renderBackground",value:function(){var tt=this,rt=this.props,nt=rt.data,it=rt.dataKey,st=rt.activeIndex,at=filterProps(this.props.background,!1);return nt.map(function(ot,lt){ot.value;var ct=ot.background,ut=_objectWithoutProperties$4(ot,_excluded$4);if(!ct)return null;var dt=_objectSpread$a(_objectSpread$a(_objectSpread$a(_objectSpread$a(_objectSpread$a({},ut),{},{fill:"#eee"},ct),at),adaptEventsOfChild(tt.props,ot,lt)),{},{onAnimationStart:tt.handleAnimationStart,onAnimationEnd:tt.handleAnimationEnd,dataKey:it,index:lt,className:"recharts-bar-background-rectangle"});return React$1.createElement(BarRectangle,_extends$9({key:"background-bar-".concat(lt),option:tt.props.background,isActive:lt===st},dt))})}},{key:"renderErrorBar",value:function(tt,rt){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var nt=this.props,it=nt.data,st=nt.xAxis,at=nt.yAxis,ot=nt.layout,lt=nt.children,ct=findAllByType(lt,ErrorBar);if(!ct)return null;var ut=ot==="vertical"?it[0].height/2:it[0].width/2,dt=function(gt,ft){var mt=Array.isArray(gt.value)?gt.value[1]:gt.value;return{x:gt.x,y:gt.y,value:mt,errorVal:getValueByDataKey(gt,ft)}},ht={clipPath:tt?"url(#clipPath-".concat(rt,")"):null};return React$1.createElement(Layer,ht,ct.map(function(pt){return React$1.cloneElement(pt,{key:"error-bar-".concat(rt,"-").concat(pt.props.dataKey),data:it,xAxis:st,yAxis:at,layout:ot,offset:ut,dataPointFormatter:dt})}))}},{key:"render",value:function(){var tt=this.props,rt=tt.hide,nt=tt.data,it=tt.className,st=tt.xAxis,at=tt.yAxis,ot=tt.left,lt=tt.top,ct=tt.width,ut=tt.height,dt=tt.isAnimationActive,ht=tt.background,pt=tt.id;if(rt||!nt||!nt.length)return null;var gt=this.state.isAnimationFinished,ft=clsx("recharts-bar",it),mt=st&&st.allowDataOverflow,xt=at&&at.allowDataOverflow,yt=mt||xt,vt=isNil$1(pt)?this.id:pt;return React$1.createElement(Layer,{className:ft},mt||xt?React$1.createElement("defs",null,React$1.createElement("clipPath",{id:"clipPath-".concat(vt)},React$1.createElement("rect",{x:mt?ot:ot-ct/2,y:xt?lt:lt-ut/2,width:mt?ct:ct*2,height:xt?ut:ut*2}))):null,React$1.createElement(Layer,{className:"recharts-bar-rectangles",clipPath:yt?"url(#clipPath-".concat(vt,")"):null},ht?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(yt,vt),(!dt||gt)&&LabelList.renderCallByParent(this.props,nt))}}],[{key:"getDerivedStateFromProps",value:function(tt,rt){return tt.animationId!==rt.prevAnimationId?{prevAnimationId:tt.animationId,curData:tt.data,prevData:rt.curData}:tt.data!==rt.curData?{curData:tt.data}:null}}])}(reactExports.PureComponent);_Bar=Bar;_defineProperty$d(Bar,"displayName","Bar");_defineProperty$d(Bar,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!Global.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"});_defineProperty$d(Bar,"getComposedData",function(_){var j=_.props,et=_.item,tt=_.barPosition,rt=_.bandSize,nt=_.xAxis,it=_.yAxis,st=_.xAxisTicks,at=_.yAxisTicks,ot=_.stackedData,lt=_.dataStartIndex,ct=_.displayedData,ut=_.offset,dt=findPositionOfBar(tt,et);if(!dt)return null;var ht=j.layout,pt=et.type.defaultProps,gt=pt!==void 0?_objectSpread$a(_objectSpread$a({},pt),et.props):et.props,ft=gt.dataKey,mt=gt.children,xt=gt.minPointSize,yt=ht==="horizontal"?it:nt,vt=ot?yt.scale.domain():null,bt=getBaseValueOfBar({numericAxis:yt}),Et=findAllByType(mt,Cell),_t=ct.map(function(wt,Rt){var Ct,jt,Dt,It,Ot,At;ot?Ct=truncateByDomain(ot[lt+Rt],vt):(Ct=getValueByDataKey(wt,ft),Array.isArray(Ct)||(Ct=[bt,Ct]));var Tt=minPointSizeCallback(xt,_Bar.defaultProps.minPointSize)(Ct[1],Rt);if(ht==="horizontal"){var kt,St=[it.scale(Ct[0]),it.scale(Ct[1])],Pt=St[0],$t=St[1];jt=getCateCoordinateOfBar({axis:nt,ticks:st,bandSize:rt,offset:dt.offset,entry:wt,index:Rt}),Dt=(kt=$t??Pt)!==null&&kt!==void 0?kt:void 0,It=dt.size;var Nt=Pt-$t;if(Ot=Number.isNaN(Nt)?0:Nt,At={x:jt,y:it.y,width:It,height:it.height},Math.abs(Tt)>0&&Math.abs(Ot)<Math.abs(Tt)){var Mt=mathSign(Ot||Tt)*(Math.abs(Tt)-Math.abs(Ot));Dt-=Mt,Ot+=Mt}}else{var Vt=[nt.scale(Ct[0]),nt.scale(Ct[1])],Ht=Vt[0],Qt=Vt[1];if(jt=Ht,Dt=getCateCoordinateOfBar({axis:it,ticks:at,bandSize:rt,offset:dt.offset,entry:wt,index:Rt}),It=Qt-Ht,Ot=dt.size,At={x:nt.x,y:Dt,width:nt.width,height:Ot},Math.abs(Tt)>0&&Math.abs(It)<Math.abs(Tt)){var er=mathSign(It||Tt)*(Math.abs(Tt)-Math.abs(It));It+=er}}return _objectSpread$a(_objectSpread$a(_objectSpread$a({},wt),{},{x:jt,y:Dt,width:It,height:Ot,value:ot?Ct:Ct[1],payload:wt,background:At},Et&&Et[Rt]&&Et[Rt].props),{},{tooltipPayload:[getTooltipItem(et,wt)],tooltipPosition:{x:jt+It/2,y:Dt+Ot/2}})});return _objectSpread$a({data:_t,layout:ht},ut)});function _typeof$c(_){"@babel/helpers - typeof";return _typeof$c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$c(_)}function _classCallCheck$9(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$9(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$c(tt.key),tt)}}function _createClass$9(_,j,et){return j&&_defineProperties$9(_.prototype,j),et&&_defineProperties$9(_,et),Object.defineProperty(_,"prototype",{writable:!1}),_}function ownKeys$9(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$9(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$9(Object(et),!0).forEach(function(tt){_defineProperty$c(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$9(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$c(_,j,et){return j=_toPropertyKey$c(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$c(_){var j=_toPrimitive$c(_,"string");return _typeof$c(j)=="symbol"?j:j+""}function _toPrimitive$c(_,j){if(_typeof$c(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$c(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var formatAxisMap=function _(j,et,tt,rt,nt){var it=j.width,st=j.height,at=j.layout,ot=j.children,lt=Object.keys(et),ct={left:tt.left,leftMirror:tt.left,right:it-tt.right,rightMirror:it-tt.right,top:tt.top,topMirror:tt.top,bottom:st-tt.bottom,bottomMirror:st-tt.bottom},ut=!!findChildByType(ot,Bar);return lt.reduce(function(dt,ht){var pt=et[ht],gt=pt.orientation,ft=pt.domain,mt=pt.padding,xt=mt===void 0?{}:mt,yt=pt.mirror,vt=pt.reversed,bt="".concat(gt).concat(yt?"Mirror":""),Et,_t,wt,Rt,Ct;if(pt.type==="number"&&(pt.padding==="gap"||pt.padding==="no-gap")){var jt=ft[1]-ft[0],Dt=1/0,It=pt.categoricalDomain.sort(compareValues);if(It.forEach(function(Vt,Ht){Ht>0&&(Dt=Math.min((Vt||0)-(It[Ht-1]||0),Dt))}),Number.isFinite(Dt)){var Ot=Dt/jt,At=pt.layout==="vertical"?tt.height:tt.width;if(pt.padding==="gap"&&(Et=Ot*At/2),pt.padding==="no-gap"){var Tt=getPercentValue(j.barCategoryGap,Ot*At),kt=Ot*At/2;Et=kt-Tt-(kt-Tt)/At*Tt}}}rt==="xAxis"?_t=[tt.left+(xt.left||0)+(Et||0),tt.left+tt.width-(xt.right||0)-(Et||0)]:rt==="yAxis"?_t=at==="horizontal"?[tt.top+tt.height-(xt.bottom||0),tt.top+(xt.top||0)]:[tt.top+(xt.top||0)+(Et||0),tt.top+tt.height-(xt.bottom||0)-(Et||0)]:_t=pt.range,vt&&(_t=[_t[1],_t[0]]);var St=parseScale(pt,nt,ut),Pt=St.scale,$t=St.realScaleType;Pt.domain(ft).range(_t),checkDomainOfScale(Pt);var Nt=getTicksOfScale(Pt,_objectSpread$9(_objectSpread$9({},pt),{},{realScaleType:$t}));rt==="xAxis"?(Ct=gt==="top"&&!yt||gt==="bottom"&&yt,wt=tt.left,Rt=ct[bt]-Ct*pt.height):rt==="yAxis"&&(Ct=gt==="left"&&!yt||gt==="right"&&yt,wt=ct[bt]-Ct*pt.width,Rt=tt.top);var Mt=_objectSpread$9(_objectSpread$9(_objectSpread$9({},pt),Nt),{},{realScaleType:$t,x:wt,y:Rt,scale:Pt,width:rt==="xAxis"?tt.width:pt.width,height:rt==="yAxis"?tt.height:pt.height});return Mt.bandSize=getBandSizeOfAxis(Mt,Nt),!pt.hide&&rt==="xAxis"?ct[bt]+=(Ct?-1:1)*Mt.height:pt.hide||(ct[bt]+=(Ct?-1:1)*Mt.width),_objectSpread$9(_objectSpread$9({},dt),{},_defineProperty$c({},ht,Mt))},{})},rectWithPoints=function _(j,et){var tt=j.x,rt=j.y,nt=et.x,it=et.y;return{x:Math.min(tt,nt),y:Math.min(rt,it),width:Math.abs(nt-tt),height:Math.abs(it-rt)}},rectWithCoords=function _(j){var et=j.x1,tt=j.y1,rt=j.x2,nt=j.y2;return rectWithPoints({x:et,y:tt},{x:rt,y:nt})},ScaleHelper=function(){function _(j){_classCallCheck$9(this,_),this.scale=j}return _createClass$9(_,[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(et){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},rt=tt.bandAware,nt=tt.position;if(et!==void 0){if(nt)switch(nt){case"start":return this.scale(et);case"middle":{var it=this.bandwidth?this.bandwidth()/2:0;return this.scale(et)+it}case"end":{var st=this.bandwidth?this.bandwidth():0;return this.scale(et)+st}default:return this.scale(et)}if(rt){var at=this.bandwidth?this.bandwidth()/2:0;return this.scale(et)+at}return this.scale(et)}}},{key:"isInRange",value:function(et){var tt=this.range(),rt=tt[0],nt=tt[tt.length-1];return rt<=nt?et>=rt&&et<=nt:et>=nt&&et<=rt}}],[{key:"create",value:function(et){return new _(et)}}])}();_defineProperty$c(ScaleHelper,"EPS",1e-4);var createLabeledScales=function _(j){var et=Object.keys(j).reduce(function(tt,rt){return _objectSpread$9(_objectSpread$9({},tt),{},_defineProperty$c({},rt,ScaleHelper.create(j[rt])))},{});return _objectSpread$9(_objectSpread$9({},et),{},{apply:function(rt){var nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},it=nt.bandAware,st=nt.position;return mapValues$1(rt,function(at,ot){return et[ot].apply(at,{bandAware:it,position:st})})},isInRange:function(rt){return every$1(rt,function(nt,it){return et[it].isInRange(nt)})}})};function normalizeAngle(_){return(_%180+180)%180}var getAngledRectangleWidth=function _(j){var et=j.width,tt=j.height,rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,nt=normalizeAngle(rt),it=nt*Math.PI/180,st=Math.atan(tt/et),at=it>st&&it<Math.PI-st?tt/Math.sin(it):et/Math.cos(it);return Math.abs(at)},baseIteratee$1=_baseIteratee,isArrayLike=isArrayLike_1,keys=keys_1;function createFind$1(_){return function(j,et,tt){var rt=Object(j);if(!isArrayLike(j)){var nt=baseIteratee$1(et);j=keys(j),et=function(st){return nt(rt[st],st,rt)}}var it=_(j,et,tt);return it>-1?rt[nt?j[it]:it]:void 0}}var _createFind=createFind$1,toFinite=toFinite_1;function toInteger$1(_){var j=toFinite(_),et=j%1;return j===j?et?j-et:j:0}var toInteger_1=toInteger$1,baseFindIndex=_baseFindIndex,baseIteratee=_baseIteratee,toInteger=toInteger_1,nativeMax=Math.max;function findIndex$1(_,j,et){var tt=_==null?0:_.length;if(!tt)return-1;var rt=et==null?0:toInteger(et);return rt<0&&(rt=nativeMax(tt+rt,0)),baseFindIndex(_,baseIteratee(j),rt)}var findIndex_1=findIndex$1,createFind=_createFind,findIndex=findIndex_1,find=createFind(findIndex),find_1=find;const find$1=getDefaultExportFromCjs(find_1);var calculateViewBox=memoize$3(function(_){return{x:_.left,y:_.top,width:_.width,height:_.height}},function(_){return["l",_.left,"t",_.top,"w",_.width,"h",_.height].join("")}),XAxisContext=reactExports.createContext(void 0),YAxisContext=reactExports.createContext(void 0),ViewBoxContext=reactExports.createContext(void 0),OffsetContext=reactExports.createContext({}
921),ClipPathIdContext=reactExports.createContext(void 0),ChartHeightContext=reactExports.createContext(0),ChartWidthContext=reactExports.createContext(0),ChartLayoutContextProvider=function _(j){var et=j.state,tt=et.xAxisMap,rt=et.yAxisMap,nt=et.offset,it=j.clipPathId,st=j.children,at=j.width,ot=j.height,lt=calculateViewBox(nt);return React$1.createElement(XAxisContext.Provider,{value:tt},React$1.createElement(YAxisContext.Provider,{value:rt},React$1.createElement(OffsetContext.Provider,{value:nt},React$1.createElement(ViewBoxContext.Provider,{value:lt},React$1.createElement(ClipPathIdContext.Provider,{value:it},React$1.createElement(ChartHeightContext.Provider,{value:ot},React$1.createElement(ChartWidthContext.Provider,{value:at},st)))))))},useClipPathId=function _(){return reactExports.useContext(ClipPathIdContext)},useXAxisOrThrow=function _(j){var et=reactExports.useContext(XAxisContext);et==null&&invariant();var tt=et[j];return tt==null&&invariant(),tt},useArbitraryXAxis=function _(){var j=reactExports.useContext(XAxisContext);return getAnyElementOfObject(j)},useYAxisWithFiniteDomainOrRandom=function _(){var j=reactExports.useContext(YAxisContext),et=find$1(j,function(tt){return every$1(tt.domain,Number.isFinite)});return et||getAnyElementOfObject(j)},useYAxisOrThrow=function _(j){var et=reactExports.useContext(YAxisContext);et==null&&invariant();var tt=et[j];return tt==null&&invariant(),tt},useViewBox=function _(){var j=reactExports.useContext(ViewBoxContext);return j},useOffset=function _(){return reactExports.useContext(OffsetContext)},useChartWidth=function _(){return reactExports.useContext(ChartWidthContext)},useChartHeight=function _(){return reactExports.useContext(ChartHeightContext)};function _typeof$b(_){"@babel/helpers - typeof";return _typeof$b=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$b(_)}function _classCallCheck$8(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$8(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$b(tt.key),tt)}}function _createClass$8(_,j,et){return j&&_defineProperties$8(_.prototype,j),Object.defineProperty(_,"prototype",{writable:!1}),_}function _callSuper$7(_,j,et){return j=_getPrototypeOf$7(j),_possibleConstructorReturn$7(_,_isNativeReflectConstruct$7()?Reflect.construct(j,et||[],_getPrototypeOf$7(_).constructor):j.apply(_,et))}function _possibleConstructorReturn$7(_,j){if(j&&(_typeof$b(j)==="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$7(_)}function _assertThisInitialized$7(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _isNativeReflectConstruct$7(){try{var _=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$7=function(){return!!_})()}function _getPrototypeOf$7(_){return _getPrototypeOf$7=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(et){return et.__proto__||Object.getPrototypeOf(et)},_getPrototypeOf$7(_)}function _inherits$7(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&_setPrototypeOf$7(_,j)}function _setPrototypeOf$7(_,j){return _setPrototypeOf$7=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(tt,rt){return tt.__proto__=rt,tt},_setPrototypeOf$7(_,j)}function ownKeys$8(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$8(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};
vendor: 109,934 bytes, lines 921-925
921j%2?ownKeys$8(Object(et),!0).forEach(function(tt){_defineProperty$b(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$8(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$b(_,j,et){return j=_toPropertyKey$b(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$b(_){var j=_toPrimitive$b(_,"string");return _typeof$b(j)=="symbol"?j:j+""}function _toPrimitive$b(_,j){if(_typeof$b(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$b(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function _slicedToArray$1(_,j){return _arrayWithHoles$1(_)||_iterableToArrayLimit$1(_,j)||_unsupportedIterableToArray$2(_,j)||_nonIterableRest$1()}function _nonIterableRest$1(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 922In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$2(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$2(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray$2(_,j)}}function _arrayLikeToArray$2(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}function _iterableToArrayLimit$1(_,j){var et=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(et!=null){var tt,rt,nt,it,st=[],at=!0,ot=!1;try{if(nt=(et=et.call(_)).next,j!==0)for(;!(at=(tt=nt.call(et)).done)&&(st.push(tt.value),st.length!==j);at=!0);}catch(lt){ot=!0,rt=lt}finally{try{if(!at&&et.return!=null&&(it=et.return(),Object(it)!==it))return}finally{if(ot)throw rt}}return st}}function _arrayWithHoles$1(_){if(Array.isArray(_))return _}function _extends$8(){return _extends$8=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$8.apply(this,arguments)}var renderLine=function _(j,et){var tt;return React$1.isValidElement(j)?tt=React$1.cloneElement(j,et):isFunction$3(j)?tt=j(et):tt=React$1.createElement("line",_extends$8({},et,{className:"recharts-reference-line-line"})),tt},getEndPoints=function _(j,et,tt,rt,nt,it,st,at,ot){var lt=nt.x,ct=nt.y,ut=nt.width,dt=nt.height;if(tt){var ht=ot.y,pt=j.y.apply(ht,{position:it});if(ifOverflowMatches(ot,"discard")&&!j.y.isInRange(pt))return null;var gt=[{x:lt+ut,y:pt},{x:lt,y:pt}];return at==="left"?gt.reverse():gt}if(et){var ft=ot.x,mt=j.x.apply(ft,{position:it});if(ifOverflowMatches(ot,"discard")&&!j.x.isInRange(mt))return null;var xt=[{x:mt,y:ct+dt},{x:mt,y:ct}];return st==="top"?xt.reverse():xt}if(rt){var yt=ot.segment,vt=yt.map(function(bt){return j.apply(bt,{position:it})});return ifOverflowMatches(ot,"discard")&&some$1(vt,function(bt){return!j.isInRange(bt)})?null:vt}return null};function ReferenceLineImpl(_){var j=_.x,et=_.y,tt=_.segment,rt=_.xAxisId,nt=_.yAxisId,it=_.shape,st=_.className,at=_.alwaysShow,ot=useClipPathId(),lt=useXAxisOrThrow(rt),ct=useYAxisOrThrow(nt),ut=useViewBox();if(!ot||!ut)return null;warn(at===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var dt=createLabeledScales({x:lt.scale,y:ct.scale}),ht=isNumOrStr(j),pt=isNumOrStr(et),gt=tt&&tt.length===2,ft=getEndPoints(dt,ht,pt,gt,ut,_.position,lt.orientation,ct.orientation,_);if(!ft)return null;var mt=_slicedToArray$1(ft,2),xt=mt[0],yt=xt.x,vt=xt.y,bt=mt[1],Et=bt.x,_t=bt.y,wt=ifOverflowMatches(_,"hidden")?"url(#".concat(ot,")"):void 0,Rt=_objectSpread$8(_objectSpread$8({clipPath:wt},filterProps(_,!0)),{},{x1:yt,y1:vt,x2:Et,y2:_t});return React$1.createElement(Layer,{className:clsx("recharts-reference-line",st)},renderLine(it,Rt),Label.renderCallByParent(_,rectWithCoords({x1:yt,y1:vt,x2:Et,y2:_t})))}var ReferenceLine=function(_){function j(){return _classCallCheck$8(this,j),_callSuper$7(this,j,arguments)}return _inherits$7(j,_),_createClass$8(j,[{key:"render",value:function(){return React$1.createElement(ReferenceLineImpl,this.props)}}])}(React$1.Component);_defineProperty$b(ReferenceLine,"displayName","ReferenceLine");_defineProperty$b(ReferenceLine,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function _extends$7(){return _extends$7=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$7.apply(this,arguments)}function _typeof$a(_){"@babel/helpers - typeof";return _typeof$a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$a(_)}function ownKeys$7(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$7(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$7(Object(et),!0).forEach(function(tt){_defineProperty$a(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$7(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _classCallCheck$7(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$7(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$a(tt.key),tt)}}function _createClass$7(_,j,et){return j&&_defineProperties$7(_.prototype,j),Object.defineProperty(_,"prototype",{writable:!1}),_}function _callSuper$6(_,j,et){return j=_getPrototypeOf$6(j),_possibleConstructorReturn$6(_,_isNativeReflectConstruct$6()?Reflect.construct(j,et||[],_getPrototypeOf$6(_).constructor):j.apply(_,et))}function _possibleConstructorReturn$6(_,j){if(j&&(_typeof$a(j)==="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$6(_)}function _assertThisInitialized$6(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _isNativeReflectConstruct$6(){try{var _=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$6=function(){return!!_})()}function _getPrototypeOf$6(_){return _getPrototypeOf$6=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(et){return et.__proto__||Object.getPrototypeOf(et)},_getPrototypeOf$6(_)}function _inherits$6(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&_setPrototypeOf$6(_,j)}function _setPrototypeOf$6(_,j){return _setPrototypeOf$6=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(tt,rt){return tt.__proto__=rt,tt},_setPrototypeOf$6(_,j)}function _defineProperty$a(_,j,et){return j=_toPropertyKey$a(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$a(_){var j=_toPrimitive$a(_,"string");return _typeof$a(j)=="symbol"?j:j+""}function _toPrimitive$a(_,j){if(_typeof$a(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$a(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var getCoordinate=function _(j){var et=j.x,tt=j.y,rt=j.xAxis,nt=j.yAxis,it=createLabeledScales({x:rt.scale,y:nt.scale}),st=it.apply({x:et,y:tt},{bandAware:!0});return ifOverflowMatches(j,"discard")&&!it.isInRange(st)?null:st},ReferenceDot=function(_){function j(){return _classCallCheck$7(this,j),_callSuper$6(this,j,arguments)}return _inherits$6(j,_),_createClass$7(j,[{key:"render",value:function(){var tt=this.props,rt=tt.x,nt=tt.y,it=tt.r,st=tt.alwaysShow,at=tt.clipPathId,ot=isNumOrStr(rt),lt=isNumOrStr(nt);if(warn(st===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!ot||!lt)return null;var ct=getCoordinate(this.props);if(!ct)return null;var ut=ct.x,dt=ct.y,ht=this.props,pt=ht.shape,gt=ht.className,ft=ifOverflowMatches(this.props,"hidden")?"url(#".concat(at,")"):void 0,mt=_objectSpread$7(_objectSpread$7({clipPath:ft},filterProps(this.props,!0)),{},{cx:ut,cy:dt});return React$1.createElement(Layer,{className:clsx("recharts-reference-dot",gt)},j.renderDot(pt,mt),Label.renderCallByParent(this.props,{x:ut-it,y:dt-it,width:2*it,height:2*it}))}}])}(React$1.Component);_defineProperty$a(ReferenceDot,"displayName","ReferenceDot");_defineProperty$a(ReferenceDot,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1});_defineProperty$a(ReferenceDot,"renderDot",function(_,j){var et;return React$1.isValidElement(_)?et=React$1.cloneElement(_,j):isFunction$3(_)?et=_(j):et=React$1.createElement(Dot,_extends$7({},j,{cx:j.cx,cy:j.cy,className:"recharts-reference-dot-dot"})),et});function _extends$6(){return _extends$6=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$6.apply(this,arguments)}function _typeof$9(_){"@babel/helpers - typeof";return _typeof$9=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$9(_)}function ownKeys$6(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$6(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$6(Object(et),!0).forEach(function(tt){_defineProperty$9(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$6(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _classCallCheck$6(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$6(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$9(tt.key),tt)}}function _createClass$6(_,j,et){return j&&_defineProperties$6(_.prototype,j),Object.defineProperty(_,"prototype",{writable:!1}),_}function _callSuper$5(_,j,et){return j=_getPrototypeOf$5(j),_possibleConstructorReturn$5(_,_isNativeReflectConstruct$5()?Reflect.construct(j,et||[],_getPrototypeOf$5(_).constructor):j.apply(_,et))}function _possibleConstructorReturn$5(_,j){if(j&&(_typeof$9(j)==="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$5(_)}function _assertThisInitialized$5(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _isNativeReflectConstruct$5(){try{var _=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$5=function(){return!!_})()}function _getPrototypeOf$5(_){return _getPrototypeOf$5=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(et){return et.__proto__||Object.getPrototypeOf(et)},_getPrototypeOf$5(_)}function _inherits$5(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&_setPrototypeOf$5(_,j)}function _setPrototypeOf$5(_,j){return _setPrototypeOf$5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(tt,rt){return tt.__proto__=rt,tt},_setPrototypeOf$5(_,j)}function _defineProperty$9(_,j,et){return j=_toPropertyKey$9(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$9(_){var j=_toPrimitive$9(_,"string");return _typeof$9(j)=="symbol"?j:j+""}function _toPrimitive$9(_,j){if(_typeof$9(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$9(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var getRect=function _(j,et,tt,rt,nt){var it=nt.x1,st=nt.x2,at=nt.y1,ot=nt.y2,lt=nt.xAxis,ct=nt.yAxis;if(!lt||!ct)return null;var ut=createLabeledScales({x:lt.scale,y:ct.scale}),dt={x:j?ut.x.apply(it,{position:"start"}):ut.x.rangeMin,y:tt?ut.y.apply(at,{position:"start"}):ut.y.rangeMin},ht={x:et?ut.x.apply(st,{position:"end"}):ut.x.rangeMax,y:rt?ut.y.apply(ot,{position:"end"}):ut.y.rangeMax};return ifOverflowMatches(nt,"discard")&&(!ut.isInRange(dt)||!ut.isInRange(ht))?null:rectWithPoints(dt,ht)},ReferenceArea=function(_){function j(){return _classCallCheck$6(this,j),_callSuper$5(this,j,arguments)}return _inherits$5(j,_),_createClass$6(j,[{key:"render",value:function(){var tt=this.props,rt=tt.x1,nt=tt.x2,it=tt.y1,st=tt.y2,at=tt.className,ot=tt.alwaysShow,lt=tt.clipPathId;warn(ot===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var ct=isNumOrStr(rt),ut=isNumOrStr(nt),dt=isNumOrStr(it),ht=isNumOrStr(st),pt=this.props.shape;if(!ct&&!ut&&!dt&&!ht&&!pt)return null;var gt=getRect(ct,ut,dt,ht,this.props);if(!gt&&!pt)return null;var ft=ifOverflowMatches(this.props,"hidden")?"url(#".concat(lt,")"):void 0;return React$1.createElement(Layer,{className:clsx("recharts-reference-area",at)},j.renderRect(pt,_objectSpread$6(_objectSpread$6({clipPath:ft},filterProps(this.props,!0)),gt)),Label.renderCallByParent(this.props,gt))}}])}(React$1.Component);_defineProperty$9(ReferenceArea,"displayName","ReferenceArea");_defineProperty$9(ReferenceArea,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1});_defineProperty$9(ReferenceArea,"renderRect",function(_,j){var et;return React$1.isValidElement(_)?et=React$1.cloneElement(_,j):isFunction$3(_)?et=_(j):et=React$1.createElement(Rectangle,_extends$6({},j,{className:"recharts-reference-area-rect"})),et});function getEveryNthWithCondition(_,j,et){if(j<1)return[];if(j===1&&et===void 0)return _;for(var tt=[],rt=0;rt<_.length;rt+=j)tt.push(_[rt]);return tt}function getAngledTickWidth(_,j,et){var tt={width:_.width+j.width,height:_.height+j.height};return getAngledRectangleWidth(tt,et)}function getTickBoundaries(_,j,et){var tt=et==="width",rt=_.x,nt=_.y,it=_.width,st=_.height;return j===1?{start:tt?rt:nt,end:tt?rt+it:nt+st}:{start:tt?rt+it:nt+st,end:tt?rt:nt}}function isVisible(_,j,et,tt,rt){if(_*j<_*tt||_*j>_*rt)return!1;var nt=et();return _*(j-_*nt/2-tt)>=0&&_*(j+_*nt/2-rt)<=0}function getNumberIntervalTicks(_,j){return getEveryNthWithCondition(_,j+1)}function getEquidistantTicks(_,j,et,tt,rt){for(var nt=(tt||[]).slice(),it=j.start,st=j.end,at=0,ot=1,lt=it,ct=function(){var ht=tt==null?void 0:tt[at];if(ht===void 0)return{v:getEveryNthWithCondition(tt,ot)};var pt=at,gt,ft=function(){return gt===void 0&&(gt=et(ht,pt)),gt},mt=ht.coordinate,xt=at===0||isVisible(_,mt,ft,lt,st);xt||(at=0,lt=it,ot+=1),xt&&(lt=mt+_*(ft()/2+rt),at+=ot)},ut;ot<=nt.length;)if(ut=ct(),ut)return ut.v;return[]}function _typeof$8(_){"@babel/helpers - typeof";return _typeof$8=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$8(_)}function ownKeys$5(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$5(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$5(Object(et),!0).forEach(function(tt){_defineProperty$8(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$5(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$8(_,j,et){return j=_toPropertyKey$8(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$8(_){var j=_toPrimitive$8(_,"string");return _typeof$8(j)=="symbol"?j:j+""}function _toPrimitive$8(_,j){if(_typeof$8(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$8(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function getTicksEnd(_,j,et,tt,rt){for(var nt=(tt||[]).slice(),it=nt.length,st=j.start,at=j.end,ot=function(ut){var dt=nt[ut],ht,pt=function(){return ht===void 0&&(ht=et(dt,ut)),ht};if(ut===it-1){var gt=_*(dt.coordinate+_*pt()/2-at);nt[ut]=dt=_objectSpread$5(_objectSpread$5({},dt),{},{tickCoord:gt>0?dt.coordinate-gt*_:dt.coordinate})}else nt[ut]=dt=_objectSpread$5(_objectSpread$5({},dt),{},{tickCoord:dt.coordinate});var ft=isVisible(_,dt.tickCoord,pt,st,at);ft&&(at=dt.tickCoord-_*(pt()/2+rt),nt[ut]=_objectSpread$5(_objectSpread$5({},dt),{},{isShow:!0}))},lt=it-1;lt>=0;lt--)ot(lt);return nt}function getTicksStart(_,j,et,tt,rt,nt){var it=(tt||[]).slice(),st=it.length,at=j.start,ot=j.end;if(nt){var lt=tt[st-1],ct=et(lt,st-1),ut=_*(lt.coordinate+_*ct/2-ot);it[st-1]=lt=_objectSpread$5(_objectSpread$5({},lt),{},{tickCoord:ut>0?lt.coordinate-ut*_:lt.coordinate});var dt=isVisible(_,lt.tickCoord,function(){return ct},at,ot);dt&&(ot=lt.tickCoord-_*(ct/2+rt),it[st-1]=_objectSpread$5(_objectSpread$5({},lt),{},{isShow:!0}))}for(var ht=nt?st-1:st,pt=function(mt){var xt=it[mt],yt,vt=function(){return yt===void 0&&(yt=et(xt,mt)),yt};if(mt===0){var bt=_*(xt.coordinate-_*vt()/2-at);it[mt]=xt=_objectSpread$5(_objectSpread$5({},xt),{},{tickCoord:bt<0?xt.coordinate-bt*_:xt.coordinate})}else it[mt]=xt=_objectSpread$5(_objectSpread$5({},xt),{},{tickCoord:xt.coordinate});var Et=isVisible(_,xt.tickCoord,vt,at,ot);Et&&(at=xt.tickCoord+_*(vt()/2+rt),it[mt]=_objectSpread$5(_objectSpread$5({},xt),{},{isShow:!0}))},gt=0;gt<ht;gt++)pt(gt);return it}function getTicks(_,j,et){var tt=_.tick,rt=_.ticks,nt=_.viewBox,it=_.minTickGap,st=_.orientation,at=_.interval,ot=_.tickFormatter,lt=_.unit,ct=_.angle;if(!rt||!rt.length||!tt)return[];if(isNumber(at)||Global.isSsr)return getNumberIntervalTicks(rt,typeof at=="number"&&isNumber(at)?at:0);var ut=[],dt=st==="top"||st==="bottom"?"width":"height",ht=lt&&dt==="width"?getStringSize(lt,{fontSize:j,letterSpacing:et}):{width:0,height:0},pt=function(xt,yt){var vt=isFunction$3(ot)?ot(xt.value,yt):xt.value;return dt==="width"?getAngledTickWidth(getStringSize(vt,{fontSize:j,letterSpacing:et}),ht,ct):getStringSize(vt,{fontSize:j,letterSpacing:et})[dt]},gt=rt.length>=2?mathSign(rt[1].coordinate-rt[0].coordinate):1,ft=getTickBoundaries(nt,gt,dt);return at==="equidistantPreserveStart"?getEquidistantTicks(gt,ft,pt,rt,it):(at==="preserveStart"||at==="preserveStartEnd"?ut=getTicksStart(gt,ft,pt,rt,it,at==="preserveStartEnd"):ut=getTicksEnd(gt,ft,pt,rt,it),ut.filter(function(mt){return mt.isShow}))}var _excluded$3=["viewBox"],_excluded2$3=["viewBox"],_excluded3=["ticks"];function _typeof$7(_){"@babel/helpers - typeof";return _typeof$7=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$7(_)}function _extends$5(){return _extends$5=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$5.apply(this,arguments)}function ownKeys$4(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$4(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$4(Object(et),!0).forEach(function(tt){_defineProperty$7(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$4(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _objectWithoutProperties$3(_,j){if(_==null)return{};var et=_objectWithoutPropertiesLoose$3(_,j),tt,rt;if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(rt=0;rt<nt.length;rt++)tt=nt[rt],!(j.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(_,tt)&&(et[tt]=_[tt])}return et}function _objectWithoutPropertiesLoose$3(_,j){if(_==null)return{};var et={};for(var tt in _)if(Object.prototype.hasOwnProperty.call(_,tt)){if(j.indexOf(tt)>=0)continue;et[tt]=_[tt]}return et}function _classCallCheck$5(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$5(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$7(tt.key),tt)}}function _createClass$5(_,j,et){return j&&_defineProperties$5(_.prototype,j),et&&_defineProperties$5(_,et),Object.defineProperty(_,"prototype",{writable:!1}),_}function _callSuper$4(_,j,et){return j=_getPrototypeOf$4(j),_possibleConstructorReturn$4(_,_isNativeReflectConstruct$4()?Reflect.construct(j,et||[],_getPrototypeOf$4(_).constructor):j.apply(_,et))}function _possibleConstructorReturn$4(_,j){if(j&&(_typeof$7(j)==="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$4(_)}function _assertThisInitialized$4(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _isNativeReflectConstruct$4(){try{var _=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$4=function(){return!!_})()}function _getPrototypeOf$4(_){return _getPrototypeOf$4=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(et){return et.__proto__||Object.getPrototypeOf(et)},_getPrototypeOf$4(_)}function _inherits$4(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&_setPrototypeOf$4(_,j)}function _setPrototypeOf$4(_,j){return _setPrototypeOf$4=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(tt,rt){return tt.__proto__=rt,tt},_setPrototypeOf$4(_,j)}function _defineProperty$7(_,j,et){return j=_toPropertyKey$7(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$7(_){var j=_toPrimitive$7(_,"string");return _typeof$7(j)=="symbol"?j:j+""}function _toPrimitive$7(_,j){if(_typeof$7(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$7(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var CartesianAxis=function(_){function j(et){var tt;return _classCallCheck$5(this,j),tt=_callSuper$4(this,j,[et]),tt.state={fontSize:"",letterSpacing:""},tt}return _inherits$4(j,_),_createClass$5(j,[{key:"shouldComponentUpdate",value:function(tt,rt){var nt=tt.viewBox,it=_objectWithoutProperties$3(tt,_excluded$3),st=this.props,at=st.viewBox,ot=_objectWithoutProperties$3(st,_excluded2$3);return!shallowEqual(nt,at)||!shallowEqual(it,ot)||!shallowEqual(rt,this.state)}},{key:"componentDidMount",value:function(){var tt=this.layerReference;if(tt){var rt=tt.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];rt&&this.setState({fontSize:window.getComputedStyle(rt).fontSize,letterSpacing:window.getComputedStyle(rt).letterSpacing})}}},{key:"getTickLineCoord",value:function(tt){var rt=this.props,nt=rt.x,it=rt.y,st=rt.width,at=rt.height,ot=rt.orientation,lt=rt.tickSize,ct=rt.mirror,ut=rt.tickMargin,dt,ht,pt,gt,ft,mt,xt=ct?-1:1,yt=tt.tickSize||lt,vt=isNumber(tt.tickCoord)?tt.tickCoord:tt.coordinate;switch(ot){case"top":dt=ht=tt.coordinate,gt=it+ +!ct*at,pt=gt-xt*yt,mt=pt-xt*ut,ft=vt;break;case"left":pt=gt=tt.coordinate,ht=nt+ +!ct*st,dt=ht-xt*yt,ft=dt-xt*ut,mt=vt;break;case"right":pt=gt=tt.coordinate,ht=nt+ +ct*st,dt=ht+xt*yt,ft=dt+xt*ut,mt=vt;break;default:dt=ht=tt.coordinate,gt=it+ +ct*at,pt=gt+xt*yt,mt=pt+xt*ut,ft=vt;break}return{line:{x1:dt,y1:pt,x2:ht,y2:gt},tick:{x:ft,y:mt}}}},{key:"getTickTextAnchor",value:function(){var tt=this.props,rt=tt.orientation,nt=tt.mirror,it;switch(rt){case"left":it=nt?"start":"end";break;case"right":it=nt?"end":"start";break;default:it="middle";break}return it}},{key:"getTickVerticalAnchor",value:function(){var tt=this.props,rt=tt.orientation,nt=tt.mirror,it="end";switch(rt){case"left":case"right":it="middle";break;case"top":it=nt?"start":"end";break;default:it=nt?"end":"start";break}return it}},{key:"renderAxisLine",value:function(){var tt=this.props,rt=tt.x,nt=tt.y,it=tt.width,st=tt.height,at=tt.orientation,ot=tt.mirror,lt=tt.axisLine,ct=_objectSpread$4(_objectSpread$4(_objectSpread$4({},filterProps(this.props,!1)),filterProps(lt,!1)),{},{fill:"none"});if(at==="top"||at==="bottom"){var ut=+(at==="top"&&!ot||at==="bottom"&&ot);ct=_objectSpread$4(_objectSpread$4({},ct),{},{x1:rt,y1:nt+ut*st,x2:rt+it,y2:nt+ut*st})}else{var dt=+(at==="left"&&!ot||at==="right"&&ot);ct=_objectSpread$4(_objectSpread$4({},ct),{},{x1:rt+dt*it,y1:nt,x2:rt+dt*it,y2:nt+st})}return React$1.createElement("line",_extends$5({},ct,{className:clsx("recharts-cartesian-axis-line",get$2(lt,"className"))}))}},{key:"renderTicks",value:function(tt,rt,nt){var it=this,st=this.props,at=st.tickLine,ot=st.stroke,lt=st.tick,ct=st.tickFormatter,ut=st.unit,dt=getTicks(_objectSpread$4(_objectSpread$4({},this.props),{},{ticks:tt}),rt,nt),ht=this.getTickTextAnchor(),pt=this.getTickVerticalAnchor(),gt=filterProps(this.props,!1),ft=filterProps(lt,!1),mt=_objectSpread$4(_objectSpread$4({},gt),{},{fill:"none"},filterProps(at,!1)),xt=dt.map(function(yt,vt){var bt=it.getTickLineCoord(yt),Et=bt.line,_t=bt.tick,wt=_objectSpread$4(_objectSpread$4(_objectSpread$4(_objectSpread$4({textAnchor:ht,verticalAnchor:pt},gt),{},{stroke:"none",fill:ot},ft),_t),{},{index:vt,payload:yt,visibleTicksCount:dt.length,tickFormatter:ct});return React$1.createElement(Layer,_extends$5({className:"recharts-cartesian-axis-tick",key:"tick-".concat(yt.value,"-").concat(yt.coordinate,"-").concat(yt.tickCoord)},adaptEventsOfChild(it.props,yt,vt)),at&&React$1.createElement("line",_extends$5({},mt,Et,{className:clsx("recharts-cartesian-axis-tick-line",get$2(at,"className"))})),lt&&j.renderTickItem(lt,wt,"".concat(isFunction$3(ct)?ct(yt.value,vt):yt.value).concat(ut||"")))});return React$1.createElement("g",{className:"recharts-cartesian-axis-ticks"},xt)}},{key:"render",value:function(){var tt=this,rt=this.props,nt=rt.axisLine,it=rt.width,st=rt.height,at=rt.ticksGenerator,ot=rt.className,lt=rt.hide;if(lt)return null;var ct=this.props,ut=ct.ticks,dt=_objectWithoutProperties$3(ct,_excluded3),ht=ut;return isFunction$3(at)&&(ht=ut&&ut.length>0?at(this.props):at(dt)),it<=0||st<=0||!ht||!ht.length?null:React$1.createElement(Layer,{className:clsx("recharts-cartesian-axis",ot),ref:function(gt){tt.layerReference=gt}},nt&&this.renderAxisLine(),this.renderTicks(ht,this.state.fontSize,this.state.letterSpacing),Label.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(tt,rt,nt){var it,st=clsx(rt.className,"recharts-cartesian-axis-tick-value");return React$1.isValidElement(tt)?it=React$1.cloneElement(tt,_objectSpread$4(_objectSpread$4({},rt),{},{className:st})):isFunction$3(tt)?it=tt(_objectSpread$4(_objectSpread$4({},rt),{},{className:st})):it=React$1.createElement(Text,_extends$5({},rt,{className:"recharts-cartesian-axis-tick-value"}),nt),it}}])}(reactExports.Component);_defineProperty$7(CartesianAxis,"displayName","CartesianAxis");_defineProperty$7(CartesianAxis,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var _excluded$2=["x1","y1","x2","y2","key"],_excluded2$2=["offset"];function _typeof$6(_){"@babel/helpers - typeof";return _typeof$6=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$6(_)}function ownKeys$3(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$3(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$3(Object(et),!0).forEach(function(tt){_defineProperty$6(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$3(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$6(_,j,et){return j=_toPropertyKey$6(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$6(_){var j=_toPrimitive$6(_,"string");return _typeof$6(j)=="symbol"?j:j+""}function _toPrimitive$6(_,j){if(_typeof$6(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$6(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function _extends$4(){return _extends$4=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$4.apply(this,arguments)}function _objectWithoutProperties$2(_,j){if(_==null)return{};var et=_objectWithoutPropertiesLoose$2(_,j),tt,rt;if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(rt=0;rt<nt.length;rt++)tt=nt[rt],!(j.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(_,tt)&&(et[tt]=_[tt])}return et}function _objectWithoutPropertiesLoose$2(_,j){if(_==null)return{};var et={};for(var tt in _)if(Object.prototype.hasOwnProperty.call(_,tt)){if(j.indexOf(tt)>=0)continue;et[tt]=_[tt]}return et}var Background=function _(j){var et=j.fill;if(!et||et==="none")return null;var tt=j.fillOpacity,rt=j.x,nt=j.y,it=j.width,st=j.height,at=j.ry;return React$1.createElement("rect",{x:rt,y:nt,ry:at,width:it,height:st,stroke:"none",fill:et,fillOpacity:tt,className:"recharts-cartesian-grid-bg"})};function renderLineItem(_,j){var et;if(React$1.isValidElement(_))et=React$1.cloneElement(_,j);else if(isFunction$3(_))et=_(j);else{var tt=j.x1,rt=j.y1,nt=j.x2,it=j.y2,st=j.key,at=_objectWithoutProperties$2(j,_excluded$2),ot=filterProps(at,!1);ot.offset;var lt=_objectWithoutProperties$2(ot,_excluded2$2);et=React$1.createElement("line",_extends$4({},lt,{x1:tt,y1:rt,x2:nt,y2:it,fill:"none",key:st}))}return et}function HorizontalGridLines(_){var j=_.x,et=_.width,tt=_.horizontal,rt=tt===void 0?!0:tt,nt=_.horizontalPoints;if(!rt||!nt||!nt.length)return null;var it=nt.map(function(st,at){var ot=_objectSpread$3(_objectSpread$3({},_),{},{x1:j,y1:st,x2:j+et,y2:st,key:"line-".concat(at),index:at});return renderLineItem(rt,ot)});return React$1.createElement("g",{className:"recharts-cartesian-grid-horizontal"},it)}function VerticalGridLines(_){var j=_.y,et=_.height,tt=_.vertical,rt=tt===void 0?!0:tt,nt=_.verticalPoints;if(!rt||!nt||!nt.length)return null;var it=nt.map(function(st,at){var ot=_objectSpread$3(_objectSpread$3({},_),{},{x1:st,y1:j,x2:st,y2:j+et,key:"line-".concat(at),index:at});return renderLineItem(rt,ot)});return React$1.createElement("g",{className:"recharts-cartesian-grid-vertical"},it)}function HorizontalStripes(_){var j=_.horizontalFill,et=_.fillOpacity,tt=_.x,rt=_.y,nt=_.width,it=_.height,st=_.horizontalPoints,at=_.horizontal,ot=at===void 0?!0:at;if(!ot||!j||!j.length)return null;var lt=st.map(function(ut){return Math.round(ut+rt-rt)}).sort(function(ut,dt){return ut-dt});rt!==lt[0]&<.unshift(0);var ct=lt.map(function(ut,dt){var ht=!lt[dt+1],pt=ht?rt+it-ut:lt[dt+1]-ut;if(pt<=0)return null;var gt=dt%j.length;return React$1.createElement("rect",{key:"react-".concat(dt),y:ut,x:tt,height:pt,width:nt,stroke:"none",fill:j[gt],fillOpacity:et,className:"recharts-cartesian-grid-bg"})});return React$1.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},ct)}function VerticalStripes(_){var j=_.vertical,et=j===void 0?!0:j,tt=_.verticalFill,rt=_.fillOpacity,nt=_.x,it=_.y,st=_.width,at=_.height,ot=_.verticalPoints;if(!et||!tt||!tt.length)return null;var lt=ot.map(function(ut){return Math.round(ut+nt-nt)}).sort(function(ut,dt){return ut-dt});nt!==lt[0]&<.unshift(0);var ct=lt.map(function(ut,dt){var ht=!lt[dt+1],pt=ht?nt+st-ut:lt[dt+1]-ut;if(pt<=0)return null;var gt=dt%tt.length;return React$1.createElement("rect",{key:"react-".concat(dt),x:ut,y:it,width:pt,height:at,stroke:"none",fill:tt[gt],fillOpacity:rt,className:"recharts-cartesian-grid-bg"})});return React$1.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},ct)}var defaultVerticalCoordinatesGenerator=function _(j,et){var tt=j.xAxis,rt=j.width,nt=j.height,it=j.offset;return getCoordinatesOfGrid(getTicks(_objectSpread$3(_objectSpread$3(_objectSpread$3({},CartesianAxis.defaultProps),tt),{},{ticks:getTicksOfAxis(tt,!0),viewBox:{x:0,y:0,width:rt,height:nt}})),it.left,it.left+it.width,et)},defaultHorizontalCoordinatesGenerator=function _(j,et){var tt=j.yAxis,rt=j.width,nt=j.height,it=j.offset;return getCoordinatesOfGrid(getTicks(_objectSpread$3(_objectSpread$3(_objectSpread$3({},CartesianAxis.defaultProps),tt),{},{ticks:getTicksOfAxis(tt,!0),viewBox:{x:0,y:0,width:rt,height:nt}})),it.top,it.top+it.height,et)},defaultProps={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function CartesianGrid(_){var j,et,tt,rt,nt,it,st=useChartWidth(),at=useChartHeight(),ot=useOffset(),lt=_objectSpread$3(_objectSpread$3({},_),{},{stroke:(j=_.stroke)!==null&&j!==void 0?j:defaultProps.stroke,fill:(et=_.fill)!==null&&et!==void 0?et:defaultProps.fill,horizontal:(tt=_.horizontal)!==null&&tt!==void 0?tt:defaultProps.horizontal,horizontalFill:(rt=_.horizontalFill)!==null&&rt!==void 0?rt:defaultProps.horizontalFill,vertical:(nt=_.vertical)!==null&&nt!==void 0?nt:defaultProps.vertical,verticalFill:(it=_.verticalFill)!==null&&it!==void 0?it:defaultProps.verticalFill,x:isNumber(_.x)?_.x:ot.left,y:isNumber(_.y)?_.y:ot.top,width:isNumber(_.width)?_.width:ot.width,height:isNumber(_.height)?_.height:ot.height}),ct=lt.x,ut=lt.y,dt=lt.width,ht=lt.height,pt=lt.syncWithTicks,gt=lt.horizontalValues,ft=lt.verticalValues,mt=useArbitraryXAxis(),xt=useYAxisWithFiniteDomainOrRandom();if(!isNumber(dt)||dt<=0||!isNumber(ht)||ht<=0||!isNumber(ct)||ct!==+ct||!isNumber(ut)||ut!==+ut)return null;var yt=lt.verticalCoordinatesGenerator||defaultVerticalCoordinatesGenerator,vt=lt.horizontalCoordinatesGenerator||defaultHorizontalCoordinatesGenerator,bt=lt.horizontalPoints,Et=lt.verticalPoints;if((!bt||!bt.length)&&isFunction$3(vt)){var _t=gt&>.length,wt=vt({yAxis:xt?_objectSpread$3(_objectSpread$3({},xt),{},{ticks:_t?gt:xt.ticks}):void 0,width:st,height:at,offset:ot},_t?!0:pt);warn(Array.isArray(wt),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(_typeof$6(wt),"]")),Array.isArray(wt)&&(bt=wt)}if((!Et||!Et.length)&&isFunction$3(yt)){var Rt=ft&&ft.length,Ct=yt({xAxis:mt?_objectSpread$3(_objectSpread$3({},mt),{},{ticks:Rt?ft:mt.ticks}):void 0,width:st,height:at,offset:ot},Rt?!0:pt);warn(Array.isArray(Ct),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(_typeof$6(Ct),"]")),Array.isArray(Ct)&&(Et=Ct)}return React$1.createElement("g",{className:"recharts-cartesian-grid"},React$1.createElement(Background,{fill:lt.fill,fillOpacity:lt.fillOpacity,x:lt.x,y:lt.y,width:lt.width,height:lt.height,ry:lt.ry}),React$1.createElement(HorizontalGridLines,_extends$4({},lt,{offset:ot,horizontalPoints:bt,xAxis:mt,yAxis:xt})),React$1.createElement(VerticalGridLines,_extends$4({},lt,{offset:ot,verticalPoints:Et,xAxis:mt,yAxis:xt})),React$1.createElement(HorizontalStripes,_extends$4({},lt,{horizontalPoints:bt})),React$1.createElement(VerticalStripes,_extends$4({},lt,{verticalPoints:Et})))}CartesianGrid.displayName="CartesianGrid";var _excluded$1=["layout","type","stroke","connectNulls","isRange","ref"],_excluded2$1=["key"],_Area;function _typeof$5(_){"@babel/helpers - typeof";return _typeof$5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$5(_)}function _objectWithoutProperties$1(_,j){if(_==null)return{};var et=_objectWithoutPropertiesLoose$1(_,j),tt,rt;if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(rt=0;rt<nt.length;rt++)tt=nt[rt],!(j.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(_,tt)&&(et[tt]=_[tt])}return et}function _objectWithoutPropertiesLoose$1(_,j){if(_==null)return{};var et={};for(var tt in _)if(Object.prototype.hasOwnProperty.call(_,tt)){if(j.indexOf(tt)>=0)continue;et[tt]=_[tt]}return et}function _extends$3(){return _extends$3=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$3.apply(this,arguments)}function ownKeys$2(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$2(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$2(Object(et),!0).forEach(function(tt){_defineProperty$5(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$2(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _classCallCheck$4(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$4(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$5(tt.key),tt)}}function _createClass$4(_,j,et){return j&&_defineProperties$4(_.prototype,j),et&&_defineProperties$4(_,et),Object.defineProperty(_,"prototype",{writable:!1}),_}function _callSuper$3(_,j,et){return j=_getPrototypeOf$3(j),_possibleConstructorReturn$3(_,_isNativeReflectConstruct$3()?Reflect.construct(j,et||[],_getPrototypeOf$3(_).constructor):j.apply(_,et))}function _possibleConstructorReturn$3(_,j){if(j&&(_typeof$5(j)==="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$3(_)}function _assertThisInitialized$3(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _isNativeReflectConstruct$3(){try{var _=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$3=function(){return!!_})()}function _getPrototypeOf$3(_){return _getPrototypeOf$3=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(et){return et.__proto__||Object.getPrototypeOf(et)},_getPrototypeOf$3(_)}function _inherits$3(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&_setPrototypeOf$3(_,j)}function _setPrototypeOf$3(_,j){return _setPrototypeOf$3=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(tt,rt){return tt.__proto__=rt,tt},_setPrototypeOf$3(_,j)}function _defineProperty$5(_,j,et){return j=_toPropertyKey$5(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$5(_){var j=_toPrimitive$5(_,"string");return _typeof$5(j)=="symbol"?j:j+""}function _toPrimitive$5(_,j){if(_typeof$5(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$5(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var Area=function(_){function j(){var et;_classCallCheck$4(this,j);for(var tt=arguments.length,rt=new Array(tt),nt=0;nt<tt;nt++)rt[nt]=arguments[nt];return et=_callSuper$3(this,j,[].concat(rt)),_defineProperty$5(et,"state",{isAnimationFinished:!0}),_defineProperty$5(et,"id",uniqueId("recharts-area-")),_defineProperty$5(et,"handleAnimationEnd",function(){var it=et.props.onAnimationEnd;et.setState({isAnimationFinished:!0}),isFunction$3(it)&&it()}),_defineProperty$5(et,"handleAnimationStart",function(){var it=et.props.onAnimationStart;et.setState({isAnimationFinished:!1}),isFunction$3(it)&&it()}),et}return _inherits$3(j,_),_createClass$4(j,[{key:"renderDots",value:function(tt,rt,nt){var it=this.props.isAnimationActive,st=this.state.isAnimationFinished;if(it&&!st)return null;var at=this.props,ot=at.dot,lt=at.points,ct=at.dataKey,ut=filterProps(this.props,!1),dt=filterProps(ot,!0),ht=lt.map(function(gt,ft){var mt=_objectSpread$2(_objectSpread$2(_objectSpread$2({key:"dot-".concat(ft),r:3},ut),dt),{},{index:ft,cx:gt.x,cy:gt.y,dataKey:ct,value:gt.value,payload:gt.payload,points:lt});return j.renderDotItem(ot,mt)}),pt={clipPath:tt?"url(#clipPath-".concat(rt?"":"dots-").concat(nt,")"):null};return React$1.createElement(Layer,_extends$3({className:"recharts-area-dots"},pt),ht)}},{key:"renderHorizontalRect",value:function(tt){var rt=this.props,nt=rt.baseLine,it=rt.points,st=rt.strokeWidth,at=it[0].x,ot=it[it.length-1].x,lt=tt*Math.abs(at-ot),ct=max$1(it.map(function(ut){return ut.y||0}));return isNumber(nt)&&typeof nt=="number"?ct=Math.max(nt,ct):nt&&Array.isArray(nt)&&nt.length&&(ct=Math.max(max$1(nt.map(function(ut){return ut.y||0})),ct)),isNumber(ct)?React$1.createElement("rect",{x:at<ot?at:at-lt,y:0,width:lt,height:Math.floor(ct+(st?parseInt("".concat(st),10):1))}):null}},{key:"renderVerticalRect",value:function(tt){var rt=this.props,nt=rt.baseLine,it=rt.points,st=rt.strokeWidth,at=it[0].y,ot=it[it.length-1].y,lt=tt*Math.abs(at-ot),ct=max$1(it.map(function(ut){return ut.x||0}));return isNumber(nt)&&typeof nt=="number"?ct=Math.max(nt,ct):nt&&Array.isArray(nt)&&nt.length&&(ct=Math.max(max$1(nt.map(function(ut){return ut.x||0})),ct)),isNumber(ct)?React$1.createElement("rect",{x:0,y:at<ot?at:at-lt,width:ct+(st?parseInt("".concat(st),10):1),height:Math.floor(lt)}):null}},{key:"renderClipRect",value:function(tt){var rt=this.props.layout;return rt==="vertical"?this.renderVerticalRect(tt):this.renderHorizontalRect(tt)}},{key:"renderAreaStatically",value:function(tt,rt,nt,it){var st=this.props,at=st.layout,ot=st.type,lt=st.stroke,ct=st.connectNulls,ut=st.isRange;st.ref;var dt=_objectWithoutProperties$1(st,_excluded$1);return React$1.createElement(Layer,{clipPath:nt?"url(#clipPath-".concat(it,")"):null},React$1.createElement(Curve,_extends$3({},filterProps(dt,!0),{points:tt,connectNulls:ct,type:ot,baseLine:rt,layout:at,stroke:"none",className:"recharts-area-area"})),lt!=="none"&&React$1.createElement(Curve,_extends$3({},filterProps(this.props,!1),{className:"recharts-area-curve",layout:at,type:ot,connectNulls:ct,fill:"none",points:tt})),lt!=="none"&&ut&&React$1.createElement(Curve,_extends$3({},filterProps(this.props,!1),{className:"recharts-area-curve",layout:at,type:ot,connectNulls:ct,fill:"none",points:rt})))}},{key:"renderAreaWithAnimation",value:function(tt,rt){var nt=this,it=this.props,st=it.points,at=it.baseLine,ot=it.isAnimationActive,lt=it.animationBegin,ct=it.animationDuration,ut=it.animationEasing,dt=it.animationId,ht=this.state,pt=ht.prevPoints,gt=ht.prevBaseLine;return React$1.createElement(Animate,{begin:lt,duration:ct,isActive:ot,easing:ut,from:{t:0},to:{t:1},key:"area-".concat(dt),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(ft){var mt=ft.t;if(pt){var xt=pt.length/st.length,yt=st.map(function(_t,wt){var Rt=Math.floor(wt*xt);if(pt[Rt]){var Ct=pt[Rt],jt=interpolateNumber$2(Ct.x,_t.x),Dt=interpolateNumber$2(Ct.y,_t.y);return _objectSpread$2(_objectSpread$2({},_t),{},{x:jt(mt),y:Dt(mt)})}return _t}),vt;if(isNumber(at)&&typeof at=="number"){var bt=interpolateNumber$2(gt,at);vt=bt(mt)}else if(isNil$1(at)||isNan(at)){var Et=interpolateNumber$2(gt,0);vt=Et(mt)}else vt=at.map(function(_t,wt){var Rt=Math.floor(wt*xt);if(gt[Rt]){var Ct=gt[Rt],jt=interpolateNumber$2(Ct.x,_t.x),Dt=interpolateNumber$2(Ct.y,_t.y);return _objectSpread$2(_objectSpread$2({},_t),{},{x:jt(mt),y:Dt(mt)})}return _t});return nt.renderAreaStatically(yt,vt,tt,rt)}return React$1.createElement(Layer,null,React$1.createElement("defs",null,React$1.createElement("clipPath",{id:"animationClipPath-".concat(rt)},nt.renderClipRect(mt))),React$1.createElement(Layer,{clipPath:"url(#animationClipPath-".concat(rt,")")},nt.renderAreaStatically(st,at,tt,rt)))})}},{key:"renderArea",value:function(tt,rt){var nt=this.props,it=nt.points,st=nt.baseLine,at=nt.isAnimationActive,ot=this.state,lt=ot.prevPoints,ct=ot.prevBaseLine,ut=ot.totalLength;return at&&it&&it.length&&(!lt&&ut>0||!isEqual$1(lt,it)||!isEqual$1(ct,st))?this.renderAreaWithAnimation(tt,rt):this.renderAreaStatically(it,st,tt,rt)}},{key:"render",value:function(){var tt,rt=this.props,nt=rt.hide,it=rt.dot,st=rt.points,at=rt.className,ot=rt.top,lt=rt.left,ct=rt.xAxis,ut=rt.yAxis,dt=rt.width,ht=rt.height,pt=rt.isAnimationActive,gt=rt.id;if(nt||!st||!st.length)return null;var ft=this.state.isAnimationFinished,mt=st.length===1,xt=clsx("recharts-area",at),yt=ct&&ct.allowDataOverflow,vt=ut&&ut.allowDataOverflow,bt=yt||vt,Et=isNil$1(gt)?this.id:gt,_t=(tt=filterProps(it,!1))!==null&&tt!==void 0?tt:{r:3,strokeWidth:2},wt=_t.r,Rt=wt===void 0?3:wt,Ct=_t.strokeWidth,jt=Ct===void 0?2:Ct,Dt=hasClipDot(it)?it:{},It=Dt.clipDot,Ot=It===void 0?!0:It,At=Rt*2+jt;return React$1.createElement(Layer,{className:xt},yt||vt?React$1.createElement("defs",null,React$1.createElement("clipPath",{id:"clipPath-".concat(Et)},React$1.createElement("rect",{x:yt?lt:lt-dt/2,y:vt?ot:ot-ht/2,width:yt?dt:dt*2,height:vt?ht:ht*2})),!Ot&&React$1.createElement("clipPath",{id:"clipPath-dots-".concat(Et)},React$1.createElement("rect",{x:lt-At/2,y:ot-At/2,width:dt+At,height:ht+At}))):null,mt?null:this.renderArea(bt,Et),(it||mt)&&this.renderDots(bt,Ot,Et),(!pt||ft)&&LabelList.renderCallByParent(this.props,st))}}],[{key:"getDerivedStateFromProps",value:function(tt,rt){return tt.animationId!==rt.prevAnimationId?{prevAnimationId:tt.animationId,curPoints:tt.points,curBaseLine:tt.baseLine,prevPoints:rt.curPoints,prevBaseLine:rt.curBaseLine}:tt.points!==rt.curPoints||tt.baseLine!==rt.curBaseLine?{curPoints:tt.points,curBaseLine:tt.baseLine}:null}}])}(reactExports.PureComponent);_Area=Area;_defineProperty$5(Area,"displayName","Area");_defineProperty$5(Area,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!Global.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"});_defineProperty$5(Area,"getBaseValue",function(_,j,et,tt){var rt=_.layout,nt=_.baseValue,it=j.props.baseValue,st=it??nt;if(isNumber(st)&&typeof st=="number")return st;var at=rt==="horizontal"?tt:et,ot=at.scale.domain();if(at.type==="number"){var lt=Math.max(ot[0],ot[1]),ct=Math.min(ot[0],ot[1]);return st==="dataMin"?ct:st==="dataMax"||lt<0?lt:Math.max(Math.min(ot[0],ot[1]),0)}return st==="dataMin"?ot[0]:st==="dataMax"?ot[1]:ot[0]});_defineProperty$5(Area,"getComposedData",function(_){var j=_.props,et=_.item,tt=_.xAxis,rt=_.yAxis,nt=_.xAxisTicks,it=_.yAxisTicks,st=_.bandSize,at=_.dataKey,ot=_.stackedData,lt=_.dataStartIndex,ct=_.displayedData,ut=_.offset,dt=j.layout,ht=ot&&ot.length,pt=_Area.getBaseValue(j,et,tt,rt),gt=dt==="horizontal",ft=!1,mt=ct.map(function(yt,vt){var bt;ht?bt=ot[lt+vt]:(bt=getValueByDataKey(yt,at),Array.isArray(bt)?ft=!0:bt=[pt,bt]);var Et=bt[1]==null||ht&&getValueByDataKey(yt,at)==null;return gt?{x:getCateCoordinateOfLine({axis:tt,ticks:nt,bandSize:st,entry:yt,index:vt}),y:Et?null:rt.scale(bt[1]),value:bt,payload:yt}:{x:Et?null:tt.scale(bt[1]),y:getCateCoordinateOfLine({axis:rt,ticks:it,bandSize:st,entry:yt,index:vt}),value:bt,payload:yt}}),xt;return ht||ft?xt=mt.map(function(yt){var vt=Array.isArray(yt.value)?yt.value[0]:null;return gt?{x:yt.x,y:vt!=null&&yt.y!=null?rt.scale(vt):null}:{x:vt!=null?tt.scale(vt):null,y:yt.y}}):xt=gt?rt.scale(pt):tt.scale(pt),_objectSpread$2({points:mt,baseLine:xt,layout:dt,isRange:ft},ut)});_defineProperty$5(Area,"renderDotItem",function(_,j){var et;if(React$1.isValidElement(_))et=React$1.cloneElement(_,j);else if(isFunction$3(_))et=_(j);else{var tt=clsx("recharts-area-dot",typeof _!="boolean"?_.className:""),rt=j.key,nt=_objectWithoutProperties$1(j,_excluded2$1);et=React$1.createElement(Dot,_extends$3({},nt,{key:rt,className:tt}))}return et});function _typeof$4(_){"@babel/helpers - typeof";return _typeof$4=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$4(_)}function _classCallCheck$3(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$3(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$4(tt.key),tt)}}function _createClass$3(_,j,et){return j&&_defineProperties$3(_.prototype,j),Object.defineProperty(_,"prototype",{writable:!1}),_}function _callSuper$2(_,j,et){return j=_getPrototypeOf$2(j),_possibleConstructorReturn$2(_,_isNativeReflectConstruct$2()?Reflect.construct(j,et||[],_getPrototypeOf$2(_).constructor):j.apply(_,et))}function _possibleConstructorReturn$2(_,j){if(j&&(_typeof$4(j)==="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$2(_)}function _assertThisInitialized$2(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _isNativeReflectConstruct$2(){try{var _=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$2=function(){return!!_})()}function _getPrototypeOf$2(_){return _getPrototypeOf$2=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(et){return et.__proto__||Object.getPrototypeOf(et)},_getPrototypeOf$2(_)}function _inherits$2(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&_setPrototypeOf$2(_,j)}function _setPrototypeOf$2(_,j){return _setPrototypeOf$2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(tt,rt){return tt.__proto__=rt,tt},_setPrototypeOf$2(_,j)}function _defineProperty$4(_,j,et){return j=_toPropertyKey$4(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$4(_){var j=_toPrimitive$4(_,"string");return _typeof$4(j)=="symbol"?j:j+""}function _toPrimitive$4(_,j){if(_typeof$4(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$4(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function _extends$2(){return _extends$2=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$2.apply(this,arguments)}function XAxisImpl(_){var j=_.xAxisId,et=useChartWidth(),tt=useChartHeight(),rt=useXAxisOrThrow(j);return rt==null?null:reactExports.createElement(CartesianAxis,_extends$2({},rt,{className:clsx("recharts-".concat(rt.axisType," ").concat(rt.axisType),rt.className),viewBox:{x:0,y:0,width:et,height:tt},ticksGenerator:function(it){return getTicksOfAxis(it,!0)}}))}var XAxis=function(_){function j(){return _classCallCheck$3(this,j),_callSuper$2(this,j,arguments)}return _inherits$2(j,_),_createClass$3(j,[{key:"render",value:function(){return reactExports.createElement(XAxisImpl,this.props)}}])}(reactExports.Component);_defineProperty$4(XAxis,"displayName","XAxis");_defineProperty$4(XAxis,"defaultProps",{allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0});function _typeof$3(_){"@babel/helpers - typeof";return _typeof$3=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$3(_)}function _classCallCheck$2(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$2(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$3(tt.key),tt)}}function _createClass$2(_,j,et){return j&&_defineProperties$2(_.prototype,j),Object.defineProperty(_,"prototype",{writable:!1}),_}function _callSuper$1(_,j,et){return j=_getPrototypeOf$1(j),_possibleConstructorReturn$1(_,_isNativeReflectConstruct$1()?Reflect.construct(j,et||[],_getPrototypeOf$1(_).constructor):j.apply(_,et))}function _possibleConstructorReturn$1(_,j){if(j&&(_typeof$3(j)==="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$1(_)}function _assertThisInitialized$1(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _isNativeReflectConstruct$1(){try{var _=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$1=function(){return!!_})()}function _getPrototypeOf$1(_){return _getPrototypeOf$1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(et){return et.__proto__||Object.getPrototypeOf(et)},_getPrototypeOf$1(_)}function _inherits$1(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&_setPrototypeOf$1(_,j)}function _setPrototypeOf$1(_,j){return _setPrototypeOf$1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(tt,rt){return tt.__proto__=rt,tt},_setPrototypeOf$1(_,j)}function _defineProperty$3(_,j,et){return j=_toPropertyKey$3(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$3(_){var j=_toPrimitive$3(_,"string");return _typeof$3(j)=="symbol"?j:j+""}function _toPrimitive$3(_,j){if(_typeof$3(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$3(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function _extends$1(){return _extends$1=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends$1.apply(this,arguments)}var YAxisImpl=function _(j){var et=j.yAxisId,tt=useChartWidth(),rt=useChartHeight(),nt=useYAxisOrThrow(et);return nt==null?null:reactExports.createElement(CartesianAxis,_extends$1({},nt,{className:clsx("recharts-".concat(nt.axisType," ").concat(nt.axisType),nt.className),viewBox:{x:0,y:0,width:tt,height:rt},ticksGenerator:function(st){return getTicksOfAxis(st,!0)}}))},YAxis=function(_){function j(){return _classCallCheck$2(this,j),_callSuper$1(this,j,arguments)}return _inherits$1(j,_),_createClass$2(j,[{key:"render",value:function(){return reactExports.createElement(YAxisImpl,this.props)}}])}(reactExports.Component);_defineProperty$3(YAxis,"displayName","YAxis");_defineProperty$3(YAxis,"defaultProps",{allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1});function _toConsumableArray$1(_){return _arrayWithoutHoles$1(_)||_iterableToArray$1(_)||_unsupportedIterableToArray$1(_)||_nonIterableSpread$1()}function _nonIterableSpread$1(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 923In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$1(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray$1(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray$1(_,j)}}function _iterableToArray$1(_){if(typeof Symbol<"u"&&_[Symbol.iterator]!=null||_["@@iterator"]!=null)return Array.from(_)}function _arrayWithoutHoles$1(_){if(Array.isArray(_))return _arrayLikeToArray$1(_)}function _arrayLikeToArray$1(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}var detectReferenceElementsDomain=function _(j,et,tt,rt,nt){var it=findAllByType(j,ReferenceLine),st=findAllByType(j,ReferenceDot),at=[].concat(_toConsumableArray$1(it),_toConsumableArray$1(st)),ot=findAllByType(j,ReferenceArea),lt="".concat(rt,"Id"),ct=rt[0],ut=et;if(at.length&&(ut=at.reduce(function(pt,gt){if(gt.props[lt]===tt&&ifOverflowMatches(gt.props,"extendDomain")&&isNumber(gt.props[ct])){var ft=gt.props[ct];return[Math.min(pt[0],ft),Math.max(pt[1],ft)]}return pt},ut)),ot.length){var dt="".concat(ct,"1"),ht="".concat(ct,"2");ut=ot.reduce(function(pt,gt){if(gt.props[lt]===tt&&ifOverflowMatches(gt.props,"extendDomain")&&isNumber(gt.props[dt])&&isNumber(gt.props[ht])){var ft=gt.props[dt],mt=gt.props[ht];return[Math.min(pt[0],ft,mt),Math.max(pt[1],ft,mt)]}return pt},ut)}return nt&&nt.length&&(ut=nt.reduce(function(pt,gt){return isNumber(gt)?[Math.min(pt[0],gt),Math.max(pt[1],gt)]:pt},ut)),ut},eventemitter3={exports:{}};(function(_){var j=Object.prototype.hasOwnProperty,et="~";function tt(){}Object.create&&(tt.prototype=Object.create(null),new tt().__proto__||(et=!1));function rt(at,ot,lt){this.fn=at,this.context=ot,this.once=lt||!1}function nt(at,ot,lt,ct,ut){if(typeof lt!="function")throw new TypeError("The listener must be a function");var dt=new rt(lt,ct||at,ut),ht=et?et+ot:ot;return at._events[ht]?at._events[ht].fn?at._events[ht]=[at._events[ht],dt]:at._events[ht].push(dt):(at._events[ht]=dt,at._eventsCount++),at}function it(at,ot){--at._eventsCount===0?at._events=new tt:delete at._events[ot]}function st(){this._events=new tt,this._eventsCount=0}st.prototype.eventNames=function(){var ot=[],lt,ct;if(this._eventsCount===0)return ot;for(ct in lt=this._events)j.call(lt,ct)&&ot.push(et?ct.slice(1):ct);return Object.getOwnPropertySymbols?ot.concat(Object.getOwnPropertySymbols(lt)):ot},st.prototype.listeners=function(ot){var lt=et?et+ot:ot,ct=this._events[lt];if(!ct)return[];if(ct.fn)return[ct.fn];for(var ut=0,dt=ct.length,ht=new Array(dt);ut<dt;ut++)ht[ut]=ct[ut].fn;return ht},st.prototype.listenerCount=function(ot){var lt=et?et+ot:ot,ct=this._events[lt];return ct?ct.fn?1:ct.length:0},st.prototype.emit=function(ot,lt,ct,ut,dt,ht){var pt=et?et+ot:ot;if(!this._events[pt])return!1;var gt=this._events[pt],ft=arguments.length,mt,xt;if(gt.fn){switch(gt.once&&this.removeListener(ot,gt.fn,void 0,!0),ft){case 1:return gt.fn.call(gt.context),!0;case 2:return gt.fn.call(gt.context,lt),!0;case 3:return gt.fn.call(gt.context,lt,ct),!0;case 4:return gt.fn.call(gt.context,lt,ct,ut),!0;case 5:return gt.fn.call(gt.context,lt,ct,ut,dt),!0;case 6:return gt.fn.call(gt.context,lt,ct,ut,dt,ht),!0}for(xt=1,mt=new Array(ft-1);xt<ft;xt++)mt[xt-1]=arguments[xt];gt.fn.apply(gt.context,mt)}else{var yt=gt.length,vt;for(xt=0;xt<yt;xt++)switch(gt[xt].once&&this.removeListener(ot,gt[xt].fn,void 0,!0),ft){case 1:gt[xt].fn.call(gt[xt].context);break;case 2:gt[xt].fn.call(gt[xt].context,lt);break;case 3:gt[xt].fn.call(gt[xt].context,lt,ct);break;case 4:gt[xt].fn.call(gt[xt].context,lt,ct,ut);break;default:if(!mt)for(vt=1,mt=new Array(ft-1);vt<ft;vt++)mt[vt-1]=arguments[vt];gt[xt].fn.apply(gt[xt].context,mt)}}return!0},st.prototype.on=function(ot,lt,ct){return nt(this,ot,lt,ct,!1)},st.prototype.once=function(ot,lt,ct){return nt(this,ot,lt,ct,!0)},st.prototype.removeListener=function(ot,lt,ct,ut){var dt=et?et+ot:ot;if(!this._events[dt])return this;if(!lt)return it(this,dt),this;var ht=this._events[dt];if(ht.fn)ht.fn===lt&&(!ut||ht.once)&&(!ct||ht.context===ct)&&it(this,dt);else{for(var pt=0,gt=[],ft=ht.length;pt<ft;pt++)(ht[pt].fn!==lt||ut&&!ht[pt].once||ct&&ht[pt].context!==ct)&>.push(ht[pt]);gt.length?this._events[dt]=gt.length===1?gt[0]:gt:it(this,dt)}return this},st.prototype.removeAllListeners=function(ot){var lt;return ot?(lt=et?et+ot:ot,this._events[lt]&&it(this,lt)):(this._events=new tt,this._eventsCount=0),this},st.prototype.off=st.prototype.removeListener,st.prototype.addListener=st.prototype.on,st.prefixed=et,st.EventEmitter=st,_.exports=st})(eventemitter3);var eventemitter3Exports=eventemitter3.exports;const EventEmitter=getDefaultExportFromCjs(eventemitter3Exports);var eventCenter=new EventEmitter,SYNC_EVENT="recharts.syncMouseEvents";function _typeof$2(_){"@babel/helpers - typeof";return _typeof$2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$2(_)}function _classCallCheck$1(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties$1(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey$2(tt.key),tt)}}function _createClass$1(_,j,et){return j&&_defineProperties$1(_.prototype,j),Object.defineProperty(_,"prototype",{writable:!1}),_}function _defineProperty$2(_,j,et){return j=_toPropertyKey$2(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$2(_){var j=_toPrimitive$2(_,"string");return _typeof$2(j)=="symbol"?j:j+""}function _toPrimitive$2(_,j){if(_typeof$2(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j);if(_typeof$2(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(_)}var AccessibilityManager=function(){function _(){_classCallCheck$1(this,_),_defineProperty$2(this,"activeIndex",0),_defineProperty$2(this,"coordinateList",[]),_defineProperty$2(this,"layout","horizontal")}return _createClass$1(_,[{key:"setDetails",value:function(et){var tt,rt=et.coordinateList,nt=rt===void 0?null:rt,it=et.container,st=it===void 0?null:it,at=et.layout,ot=at===void 0?null:at,lt=et.offset,ct=lt===void 0?null:lt,ut=et.mouseHandlerCallback,dt=ut===void 0?null:ut;this.coordinateList=(tt=nt??this.coordinateList)!==null&&tt!==void 0?tt:[],this.container=st??this.container,this.layout=ot??this.layout,this.offset=ct??this.offset,this.mouseHandlerCallback=dt??this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(et){if(this.coordinateList.length!==0)switch(et.key){case"ArrowRight":{if(this.layout!=="horizontal")return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break}case"ArrowLeft":{if(this.layout!=="horizontal")return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse();break}}}},{key:"setIndex",value:function(et){this.activeIndex=et}},{key:"spoofMouse",value:function(){var et,tt;if(this.layout==="horizontal"&&this.coordinateList.length!==0){var rt=this.container.getBoundingClientRect(),nt=rt.x,it=rt.y,st=rt.height,at=this.coordinateList[this.activeIndex].coordinate,ot=((et=window)===null||et===void 0?void 0:et.scrollX)||0,lt=((tt=window)===null||tt===void 0?void 0:tt.scrollY)||0,ct=nt+at+ot,ut=it+this.offset.top+st/2+lt;this.mouseHandlerCallback({pageX:ct,pageY:ut})}}}])}();function isDomainSpecifiedByUser(_,j,et){if(et==="number"&&j===!0&&Array.isArray(_)){var tt=_==null?void 0:_[0],rt=_==null?void 0:_[1];if(tt&&rt&&isNumber(tt)&&isNumber(rt))return!0}return!1}function getCursorRectangle(_,j,et,tt){var rt=tt/2;return{stroke:"none",fill:"#ccc",x:_==="horizontal"?j.x-rt:et.left+.5,y:_==="horizontal"?et.top+.5:j.y-rt,width:_==="horizontal"?tt:et.width-1,height:_==="horizontal"?et.height-1:tt}}function getRadialCursorPoints(_){var j=_.cx,et=_.cy,tt=_.radius,rt=_.startAngle,nt=_.endAngle,it=polarToCartesian(j,et,tt,rt),st=polarToCartesian(j,et,tt,nt);return{points:[it,st],cx:j,cy:et,radius:tt,startAngle:rt,endAngle:nt}}function getCursorPoints(_,j,et){var tt,rt,nt,it;if(_==="horizontal")tt=j.x,nt=tt,rt=et.top,it=et.top+et.height;else if(_==="vertical")rt=j.y,it=rt,tt=et.left,nt=et.left+et.width;else if(j.cx!=null&&j.cy!=null)if(_==="centric"){var st=j.cx,at=j.cy,ot=j.innerRadius,lt=j.outerRadius,ct=j.angle,ut=polarToCartesian(st,at,ot,ct),dt=polarToCartesian(st,at,lt,ct);tt=ut.x,rt=ut.y,nt=dt.x,it=dt.y}else return getRadialCursorPoints(j);return[{x:tt,y:rt},{x:nt,y:it}]}function _typeof$1(_){"@babel/helpers - typeof";return _typeof$1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof$1(_)}function ownKeys$1(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread$1(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$1(Object(et),!0).forEach(function(tt){_defineProperty$1(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys$1(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty$1(_,j,et){return j=_toPropertyKey$1(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey$1(_){var j=_toPrimitive$1(_,"string");return _typeof$1(j)=="symbol"?j:j+""}function _toPrimitive$1(_,j){if(_typeof$1(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof$1(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}function Cursor(_){var j,et,tt=_.element,rt=_.tooltipEventType,nt=_.isActive,it=_.activeCoordinate,st=_.activePayload,at=_.offset,ot=_.activeTooltipIndex,lt=_.tooltipAxisBandSize,ct=_.layout,ut=_.chartName,dt=(j=tt.props.cursor)!==null&&j!==void 0?j:(et=tt.type.defaultProps)===null||et===void 0?void 0:et.cursor;if(!tt||!dt||!nt||!it||ut!=="ScatterChart"&&rt!=="axis")return null;var ht,pt=Curve;if(ut==="ScatterChart")ht=it,pt=Cross;else if(ut==="BarChart")ht=getCursorRectangle(ct,it,at,lt),pt=Rectangle;else if(ct==="radial"){var gt=getRadialCursorPoints(it),ft=gt.cx,mt=gt.cy,xt=gt.radius,yt=gt.startAngle,vt=gt.endAngle;ht={cx:ft,cy:mt,startAngle:yt,endAngle:vt,innerRadius:xt,outerRadius:xt},pt=Sector}else ht={points:getCursorPoints(ct,it,at)},pt=Curve;var bt=_objectSpread$1(_objectSpread$1(_objectSpread$1(_objectSpread$1({stroke:"#ccc",pointerEvents:"none"},at),ht),filterProps(dt,!1)),{},{payload:st,payloadIndex:ot,className:clsx("recharts-tooltip-cursor",dt.className)});return reactExports.isValidElement(dt)?reactExports.cloneElement(dt,bt):reactExports.createElement(pt,bt)}var _excluded=["item"],_excluded2=["children","className","width","height","style","compact","title","desc"];function _typeof(_){"@babel/helpers - typeof";return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},_typeof(_)}function _extends(){return _extends=Object.assign?Object.assign.bind():function(_){for(var j=1;j<arguments.length;j++){var et=arguments[j];for(var tt in et)Object.prototype.hasOwnProperty.call(et,tt)&&(_[tt]=et[tt])}return _},_extends.apply(this,arguments)}function _slicedToArray(_,j){return _arrayWithHoles(_)||_iterableToArrayLimit(_,j)||_unsupportedIterableToArray(_,j)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 924In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArrayLimit(_,j){var et=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(et!=null){var tt,rt,nt,it,st=[],at=!0,ot=!1;try{if(nt=(et=et.call(_)).next,j!==0)for(;!(at=(tt=nt.call(et)).done)&&(st.push(tt.value),st.length!==j);at=!0);}catch(lt){ot=!0,rt=lt}finally{try{if(!at&&et.return!=null&&(it=et.return(),Object(it)!==it))return}finally{if(ot)throw rt}}return st}}function _arrayWithHoles(_){if(Array.isArray(_))return _}function _objectWithoutProperties(_,j){if(_==null)return{};var et=_objectWithoutPropertiesLoose(_,j),tt,rt;if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(_);for(rt=0;rt<nt.length;rt++)tt=nt[rt],!(j.indexOf(tt)>=0)&&Object.prototype.propertyIsEnumerable.call(_,tt)&&(et[tt]=_[tt])}return et}function _objectWithoutPropertiesLoose(_,j){if(_==null)return{};var et={};for(var tt in _)if(Object.prototype.hasOwnProperty.call(_,tt)){if(j.indexOf(tt)>=0)continue;et[tt]=_[tt]}return et}function _classCallCheck(_,j){if(!(_ instanceof j))throw new TypeError("Cannot call a class as a function")}function _defineProperties(_,j){for(var et=0;et<j.length;et++){var tt=j[et];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(_,_toPropertyKey(tt.key),tt)}}function _createClass(_,j,et){return j&&_defineProperties(_.prototype,j),Object.defineProperty(_,"prototype",{writable:!1}),_}function _callSuper(_,j,et){return j=_getPrototypeOf(j),_possibleConstructorReturn(_,_isNativeReflectConstruct()?Reflect.construct(j,et||[],_getPrototypeOf(_).constructor):j.apply(_,et))}function _possibleConstructorReturn(_,j){if(j&&(_typeof(j)==="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(_)}function _assertThisInitialized(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function _isNativeReflectConstruct(){try{var _=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct=function(){return!!_})()}function _getPrototypeOf(_){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(et){return et.__proto__||Object.getPrototypeOf(et)},_getPrototypeOf(_)}function _inherits(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&_setPrototypeOf(_,j)}function _setPrototypeOf(_,j){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(tt,rt){return tt.__proto__=rt,tt},_setPrototypeOf(_,j)}function _toConsumableArray(_){return _arrayWithoutHoles(_)||_iterableToArray(_)||_unsupportedIterableToArray(_)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 925In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray(_,j){if(_){if(typeof _=="string")return _arrayLikeToArray(_,j);var et=Object.prototype.toString.call(_).slice(8,-1);if(et==="Object"&&_.constructor&&(et=_.constructor.name),et==="Map"||et==="Set")return Array.from(_);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return _arrayLikeToArray(_,j)}}function _iterableToArray(_){if(typeof Symbol<"u"&&_[Symbol.iterator]!=null||_["@@iterator"]!=null)return Array.from(_)}function _arrayWithoutHoles(_){if(Array.isArray(_))return _arrayLikeToArray(_)}function _arrayLikeToArray(_,j){(j==null||j>_.length)&&(j=_.length);for(var et=0,tt=new Array(j);et<j;et++)tt[et]=_[et];return tt}function ownKeys(_,j){var et=Object.keys(_);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(_);j&&(tt=tt.filter(function(rt){return Object.getOwnPropertyDescriptor(_,rt).enumerable})),et.push.apply(et,tt)}return et}function _objectSpread(_){for(var j=1;j<arguments.length;j++){var et=arguments[j]!=null?arguments[j]:{};j%2?ownKeys(Object(et),!0).forEach(function(tt){_defineProperty(_,tt,et[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(et)):ownKeys(Object(et)).forEach(function(tt){Object.defineProperty(_,tt,Object.getOwnPropertyDescriptor(et,tt))})}return _}function _defineProperty(_,j,et){return j=_toPropertyKey(j),j in _?Object.defineProperty(_,j,{value:et,enumerable:!0,configurable:!0,writable:!0}):_[j]=et,_}function _toPropertyKey(_){var j=_toPrimitive(_,"string");return _typeof(j)=="symbol"?j:j+""}function _toPrimitive(_,j){if(_typeof(_)!="object"||!_)return _;var et=_[Symbol.toPrimitive];if(et!==void 0){var tt=et.call(_,j||"default");if(_typeof(tt)!="object")return tt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(_)}var ORIENT_MAP={xAxis:["bottom","top"],yAxis:["left","right"]},FULL_WIDTH_AND_HEIGHT={width:"100%",height:"100%"},originCoordinate={x:0,y:0};function renderAsIs(_){return _}var calculateTooltipPos=function _(j,et){return et==="horizontal"?j.x:et==="vertical"?j.y:et==="centric"?j.angle:j.radius},getActiveCoordinate=function _(j,et,tt,rt){var nt=et.find(function(lt){return lt&<.index===tt});if(nt){if(j==="horizontal")return{x:nt.coordinate,y:rt.y};if(j==="vertical")return{x:rt.x,y:nt.coordinate};if(j==="centric"){var it=nt.coordinate,st=rt.radius;return _objectSpread(_objectSpread(_objectSpread({},rt),polarToCartesian(rt.cx,rt.cy,st,it)),{},{angle:it,radius:st})}var at=nt.coordinate,ot=rt.angle;return _objectSpread(_objectSpread(_objectSpread({},rt),polarToCartesian(rt.cx,rt.cy,at,ot)),{},{angle:ot,radius:at})}return originCoordinate},getDisplayedData=function _(j,et){var tt=et.graphicalItems,rt=et.dataStartIndex,nt=et.dataEndIndex,it=(tt??[]).reduce(function(st,at){var ot=at.props.data;return ot&&ot.length?[].concat(_toConsumableArray(st),_toConsumableArray(ot)):st},[]);return it.length>0?it:j&&j.length&&isNumber(rt)&&isNumber(nt)?j.slice(rt,nt+1):[]};function getDefaultDomainByAxisType(_){return _==="number"?[0,"auto"]:void 0}var getTooltipContent=function _(j,et,tt,rt){var nt=j.graphicalItems,it=j.tooltipAxis,st=getDisplayedData(et,j);return tt<0||!nt||!nt.length||tt>=st.length?null:nt.reduce(function(at,ot){var lt,ct=(lt=ot.props.data)!==null&<!==void 0?lt:et;ct&&j.dataStartIndex+j.dataEndIndex!==0&&j.dataEndIndex-j.dataStartIndex>=tt&&(ct=ct.slice(j.dataStartIndex,j.dataEndIndex+1));var ut;if(it.dataKey&&!it.allowDuplicatedCategory){var dt=ct===void 0?st:ct;ut=findEntryInArray(dt,it.dataKey,rt)}else ut=ct&&ct[tt]||st[tt];return ut?[].concat(_toConsumableArray(at),[getTooltipItem(ot,ut)]):at},[])},getTooltipData=function _(j,et,tt,rt){var nt=rt||{x:j.chartX,y:j.chartY},it=calculateTooltipPos(nt,tt),st=j.orderedTooltipTicks,at=j.tooltipAxis,ot=j.tooltipTicks,lt=calculateActiveTickIndex(it,st,ot,at);if(lt>=0&&ot){var ct=ot[lt]&&ot[lt].value,ut=getTooltipContent(j,et,lt,ct),dt=getActiveCoordinate(tt,st,lt,nt);return{activeTooltipIndex:lt,activeLabel:ct,activePayload:ut,activeCoordinate:dt}}return null},getAxisMapByAxes=function _(j,et){var tt=et.axes,rt=et.graphicalItems,nt=et.axisType,it=et.axisIdKey,st=et.stackGroups,at=et.dataStartIndex,ot=et.dataEndIndex,lt=j.layout,ct=j.children,ut=j.stackOffset,dt=isCategoricalAxis(lt,nt);return tt.reduce(function(ht,pt){var gt,ft=pt.type.defaultProps!==void 0?_objectSpread(_objectSpread({},pt.type.defaultProps),pt.props):pt.props,mt=ft.type,xt=ft.dataKey,yt=ft.allowDataOverflow,vt=ft.allowDuplicatedCategory,bt=ft.scale,Et=ft.ticks,_t=ft.includeHidden,wt=ft[it];if(ht[wt])return ht;var Rt=getDisplayedData(j.data,{graphicalItems:rt.filter(function(Nt){var Mt,Vt=it in Nt.props?Nt.props[it]:(Mt=Nt.type.defaultProps)===null||Mt===void 0?void 0:Mt[it];return Vt===wt}),dataStartIndex:at,dataEndIndex:ot}),Ct=Rt.length,jt,Dt,It;isDomainSpecifiedByUser(ft.domain,yt,mt)&&(jt=parseSpecifiedDomain(ft.domain,null,yt),dt&&(mt==="number"||bt!=="auto")&&(It=getDomainOfDataByKey(Rt,xt,"category")));var Ot=getDefaultDomainByAxisType(mt);if(!jt||jt.length===0){var At,Tt=(At=ft.domain)!==null&&At!==void 0?At:Ot;if(xt){if(jt=getDomainOfDataByKey(Rt,xt,mt),mt==="category"&&dt){var kt=hasDuplicate(jt);vt&&kt?(Dt=jt,jt=range$1(0,Ct)):vt||(jt=parseDomainOfCategoryAxis(Tt,jt,pt).reduce(function(Nt,Mt){return Nt.indexOf(Mt)>=0?Nt:[].concat(_toConsumableArray(Nt),[Mt])},[]))}else if(mt==="category")vt?jt=jt.filter(function(Nt){return Nt!==""&&!isNil$1(Nt)}):jt=parseDomainOfCategoryAxis(Tt,jt,pt).reduce(function(Nt,Mt){return Nt.indexOf(Mt)>=0||Mt===""||isNil$1(Mt)?Nt:[].concat(_toConsumableArray(Nt),[Mt])},[]);else if(mt==="number"){var St=parseErrorBarsOfAxis(Rt,rt.filter(function(Nt){var Mt,Vt,Ht=it in Nt.props?Nt.props[it]:(Mt=Nt.type.defaultProps)===null||Mt===void 0?void 0:Mt[it],Qt="hide"in Nt.props?Nt.props.hide:(Vt=Nt.type.defaultProps)===null||Vt===void 0?void 0:Vt.hide;return Ht===wt&&(_t||!Qt)}),xt,nt,lt);St&&(jt=St)}dt&&(mt==="number"||bt!=="auto")&&(It=getDomainOfDataByKey(Rt,xt,"category"))}else dt?jt=range$1(0,Ct):st&&st[wt]&&st[wt].hasStack&&mt==="number"?jt=ut==="expand"?[0,1]:getDomainOfStackGroups(st[wt].stackGroups,at,ot):jt=getDomainOfItemsWithSameAxis(Rt,rt.filter(function(Nt){var Mt=it in Nt.props?Nt.props[it]:Nt.type.defaultProps[it],Vt="hide"in Nt.props?Nt.props.hide:Nt.type.defaultProps.hide;return Mt===wt&&(_t||!Vt)}),mt,lt,!0);if(mt==="number")jt=detectReferenceElementsDomain(ct,jt,wt,nt,Et),Tt&&(jt=parseSpecifiedDomain(Tt,jt,yt));else if(mt==="category"&&Tt){var Pt=Tt,$t=jt.every(function(Nt){return Pt.indexOf(Nt)>=0});$t&&(jt=Pt)}}return _objectSpread(_objectSpread({},ht),{},_defineProperty({},wt,_objectSpread(_objectSpread({},ft),{},{axisType:nt,domain:jt,categoricalDomain:It,duplicateDomain:Dt,originalDomain:(gt=ft.domain)!==null&>!==void 0?gt:Ot,isCategorical:dt,layout:lt})))},{})},getAxisMapByItems=function _(j,et){var tt=et.graphicalItems,rt=et.Axis,nt=et.axisType,it=et.axisIdKey,st=et.stackGroups,at=et.dataStartIndex,ot=et.dataEndIndex,lt=j.layout,ct=j.children,ut=getDisplayedData(j.data,{graphicalItems:tt,dataStartIndex:at,dataEndIndex:ot}),dt=ut.length,ht=isCategoricalAxis(lt,nt),pt=-1;return tt.reduce(function(gt,ft){var mt=ft.type.defaultProps!==void 0?_objectSpread(_objectSpread({},ft.type.defaultProps),ft.props):ft.props,xt=mt[it],yt=getDefaultDomainByAxisType("number");if(!gt[xt]){pt++;var vt;return ht?vt=range$1(0,dt):st&&st[xt]&&st[xt].hasStack?(vt=getDomainOfStackGroups(st[xt].stackGroups,at,ot),vt=detectReferenceElementsDomain(ct,vt,xt,nt)):(vt=parseSpecifiedDomain(yt,getDomainOfItemsWithSameAxis(ut,tt.filter(function(bt){var Et,_t,wt=it in bt.props?bt.props[it]:(Et=bt.type.defaultProps)===null||Et===void 0?void 0:Et[it],Rt="hide"in bt.props?bt.props.hide:(_t=bt.type.defaultProps)===null||_t===void 0?void 0:_t.hide;return wt===xt&&!Rt}),"number",lt),rt.defaultProps.allowDataOverflow),vt=detectReferenceElementsDomain(ct,vt,xt,nt)),_objectSpread(_objectSpread({},gt),{},_defineProperty({},xt,_objectSpread(_objectSpread({axisType:nt},rt.defaultProps),{},{hide:!0,orientation:get$2(ORIENT_MAP,"".concat(nt,".").concat(pt%2),null),domain:vt,originalDomain:yt,isCategorical:ht,layout:lt})))}return gt},{})},getAxisMap=function _(j,et){var tt=et.axisType,rt=tt===void 0?"xAxis":tt,nt=et.AxisComp,it=et.graphicalItems,st=et.stackGroups,at=et.dataStartIndex,ot=et.dataEndIndex,lt=j.children,ct="".concat(rt,"Id"),ut=findAllByType(lt,nt),dt={};return ut&&ut.length?dt=getAxisMapByAxes(j,{axes:ut,graphicalItems:it,axisType:rt,axisIdKey:ct,stackGroups:st,dataStartIndex:at,dataEndIndex:ot}):it&&it.length&&(dt=getAxisMapByItems(j,{Axis:nt,graphicalItems:it,axisType:rt,axisIdKey:ct,stackGroups:st,dataStartIndex:at,dataEndIndex:ot})),dt},tooltipTicksGenerator=function _(j){var et=getAnyElementOfObject(j),tt=getTicksOfAxis(et,!1,!0);return{tooltipTicks:tt,orderedTooltipTicks:sortBy$1(tt,function(rt){return rt.coordinate}),tooltipAxis:et,tooltipAxisBandSize:getBandSizeOfAxis(et,tt)}},createDefaultState=function _(j){var et=j.children,tt=j.defaultShowTooltip,rt=findChildByType(et,Brush),nt=0,it=0;return j.data&&j.data.length!==0&&(it=j.data.length-1),rt&&rt.props&&(rt.props.startIndex>=0&&(nt=rt.props.startIndex),rt.props.endIndex>=0&&(it=rt.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:nt,dataEndIndex:it,activeTooltipIndex:-1,isTooltipActive:!!tt}},hasGraphicalBarItem=function _(j){return!j||!j.length?!1:j.some(function(et){var tt=getDisplayName(et&&et.type);return tt&&tt.indexOf("Bar")>=0})},getAxisNameByLayout=function _(j){return j==="horizontal"?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:j==="vertical"?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:j==="centric"?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},calculateOffset=function _(j,et){var tt=j.props,rt=j.graphicalItems,nt=j.xAxisMap,it=nt===void 0?{}:nt,st=j.yAxisMap,at=st===void 0?{}:st,ot=tt.width,lt=tt.height,ct=tt.children,ut=tt.margin||{},dt=findChildByType(ct,Brush),ht=findChildByType(ct,Legend),pt=Object.keys(at).reduce(function(vt,bt){var Et=at[bt],_t=Et.orientation;return!Et.mirror&&!Et.hide?_objectSpread(_objectSpread({},vt),{},_defineProperty({},_t,vt[_t]+Et.width)):vt},{left:ut.left||0,right:ut.right||0}),gt=Object.keys(it).reduce(function(vt,bt){var Et=it[bt],_t=Et.orientation;return!Et.mirror&&!Et.hide?_objectSpread(_objectSpread({},vt),{},_defineProperty({},_t,get$2(vt,"".concat(_t))+Et.height)):vt},{top:ut.top||0,bottom:ut.bottom||0}),ft=_objectSpread(_objectSpread({},gt),pt),mt=ft.bottom;dt&&(ft.bottom+=dt.props.height||Brush.defaultProps.height),ht&&et&&(ft=appendOffsetOfLegend(ft,rt,tt,et));var xt=ot-ft.left-ft.right,yt=lt-ft.top-ft.bottom;return _objectSpread(_objectSpread({brushBottom:mt},ft),{},{width:Math.max(xt,0),height:Math.max(yt,0)})},getCartesianAxisSize=function _(j,et){if(et==="xAxis")return j[et].width;if(et==="yAxis")return j[et].height},generateCategoricalChart=function _(j){var et=j.chartName,tt=j.GraphicalChild,rt=j.defaultTooltipEventType,nt=rt===void 0?"axis":rt,it=j.validateTooltipEventTypes,st=it===void 0?["axis"]:it,at=j.axisComponents,ot=j.legendContent,lt=j.formatAxisMap,ct=j.defaultProps,ut=function(ft,mt){var xt=mt.graphicalItems,yt=mt.stackGroups,vt=mt.offset,bt=mt.updateId,Et=mt.dataStartIndex,_t=mt.dataEndIndex,wt=ft.barSize,Rt=ft.layout,Ct=ft.barGap,jt=ft.barCategoryGap,Dt=ft.maxBarSize,It=getAxisNameByLayout(Rt),Ot=It.numericAxisName,At=It.cateAxisName,Tt=hasGraphicalBarItem(xt),kt=[];return xt.forEach(function(St,Pt){var $t=getDisplayedData(ft.data,{graphicalItems:[St],dataStartIndex:Et,dataEndIndex:_t}),Nt=St.type.defaultProps!==void 0?_objectSpread(_objectSpread({},St.type.defaultProps),St.props):St.props,Mt=Nt.dataKey,Vt=Nt.maxBarSize,Ht=Nt["".concat(Ot,"Id")],Qt=Nt["".concat(At,"Id")],er={},ir=at.reduce(function(Ut,Wt){var or=mt["".concat(Wt.axisType,"Map")],nr=Nt["".concat(Wt.axisType,"Id")];or&&or[nr]||Wt.axisType==="zAxis"||invariant();var tr=or[nr];return _objectSpread(_objectSpread({},Ut),{},_defineProperty(_defineProperty({},Wt.axisType,tr),"".concat(Wt.axisType,"Ticks"),getTicksOfAxis(tr)))},er),Jt=ir[At],Gt=ir["".concat(At,"Ticks")],Kt=yt&&yt[Ht]&&yt[Ht].hasStack&&getStackedDataOfItem(St,yt[Ht].stackGroups),Bt=getDisplayName(St.type).indexOf("Bar")>=0,Zt=getBandSizeOfAxis(Jt,Gt),qt=[],lr=Tt&&getBarSizeList({barSize:wt,stackGroups:yt,totalSize:getCartesianAxisSize(ir,At)});if(Bt){var ar,Yt,sr=isNil$1(Vt)?Dt:Vt,gr=(ar=(Yt=getBandSizeOfAxis(Jt,Gt,!0))!==null&&Yt!==void 0?Yt:sr)!==null&&ar!==void 0?ar:0;qt=getBarPosition({barGap:Ct,barCategoryGap:jt,bandSize:gr!==Zt?gr:Zt,sizeList:lr[Qt],maxBarSize:sr}),gr!==Zt&&(qt=qt.map(function(Ut){return _objectSpread(_objectSpread({},Ut),{},{position:_objectSpread(_objectSpread({},Ut.position),{},{offset:Ut.position.offset-gr/2})})}))}var Lt=St&&St.type&&St.type.getComposedData;Lt&&kt.push({props:_objectSpread(_objectSpread({},Lt(_objectSpread(_objectSpread({},ir),{},{displayedData:$t,props:ft,dataKey:Mt,item:St,bandSize:Zt,barPosition:qt,offset:vt,stackedData:Kt,layout:Rt,dataStartIndex:Et,dataEndIndex:_t}))),{},_defineProperty(_defineProperty(_defineProperty({key:St.key||"item-".concat(Pt)},Ot,ir[Ot]),At,ir[At]),"animationId",bt)),childIndex:parseChildIndex(St,ft.children),item:St})}),kt},dt=function(ft,mt){var xt=ft.props,yt=ft.dataStartIndex,vt=ft.dataEndIndex,bt=ft.updateId;if(!validateWidthHeight({props:xt}))return null;var Et=xt.children,_t=xt.layout,wt=xt.stackOffset,Rt=xt.data,Ct=xt.reverseStackOrder,jt=getAxisNameByLayout(_t),Dt=jt.numericAxisName,It=jt.cateAxisName,Ot=findAllByType(Et,tt),At=getStackGroupsByAxisId(Rt,Ot,"".concat(Dt,"Id"),"".concat(It,"Id"),wt,Ct),Tt=at.reduce(function(Nt,Mt){var Vt="".concat(Mt.axisType,"Map");return _objectSpread(_objectSpread({},Nt),{},_defineProperty({},Vt,getAxisMap(xt,_objectSpread(_objectSpread({},Mt),{},{graphicalItems:Ot,stackGroups:Mt.axisType===Dt&&At,dataStartIndex:yt,dataEndIndex:vt}))))},{}),kt=calculateOffset(_objectSpread(_objectSpread({},Tt),{},{props:xt,graphicalItems:Ot}),mt==null?void 0:mt.legendBBox);Object.keys(Tt).forEach(function(Nt){Tt[Nt]=lt(xt,Tt[Nt],kt,Nt.replace("Map",""),et)});var St=Tt["".concat(It,"Map")],Pt=tooltipTicksGenerator(St),$t=ut(xt,_objectSpread(_objectSpread({},Tt),{},{dataStartIndex:yt,dataEndIndex:vt,updateId:bt,graphicalItems:Ot,stackGroups:At,offset:kt}));return _objectSpread(_objectSpread({formattedGraphicalItems:$t,graphicalItems:Ot,offset:kt,stackGroups:At},Pt),Tt)},ht=function(gt){function ft(mt){var xt,yt,vt;return _classCallCheck(this,ft),vt=_callSuper(this,ft,[mt]),_defineProperty(vt,"eventEmitterSymbol",Symbol("rechartsEventEmitter")),_defineProperty(vt,"accessibilityManager",new AccessibilityManager),_defineProperty(vt,"handleLegendBBoxUpdate",function(bt){if(bt){var Et=vt.state,_t=Et.dataStartIndex,wt=Et.dataEndIndex,Rt=Et.updateId;vt.setState(_objectSpread({legendBBox:bt},dt({props:vt.props,dataStartIndex:_t,dataEndIndex:wt,updateId:Rt},_objectSpread(_objectSpread({},vt.state),{},{legendBBox:bt}))))}}),_defineProperty(vt,"handleReceiveSyncEvent",function(bt,Et,_t){if(vt.props.syncId===bt){if(_t===vt.eventEmitterSymbol&&typeof vt.props.syncMethod!="function")return;vt.applySyncEvent(Et)}}),_defineProperty(vt,"handleBrushChange",function(bt){var Et=bt.startIndex,_t=bt.endIndex;if(Et!==vt.state.dataStartIndex||_t!==vt.state.dataEndIndex){var wt=vt.state.updateId;vt.setState(function(){return _objectSpread({dataStartIndex:Et,dataEndIndex:_t},dt({props:vt.props,dataStartIndex:Et,dataEndIndex:_t,updateId:wt},vt.state))}),vt.triggerSyncEvent({dataStartIndex:Et,dataEndIndex:_t})}}),_defineProperty(vt,"handleMouseEnter",function(bt){var Et=vt.getMouseInfo(bt);if(Et){var _t=_objectSpread(_objectSpread({},Et),{},{isTooltipActive:!0});vt.setState(_t),vt.triggerSyncEvent(_t);var wt=vt.props.onMouseEnter;isFunction$3(wt)&&wt(_t,bt)}}),_defineProperty(vt,"triggeredAfterMouseMove",function(bt){var Et=vt.getMouseInfo(bt),_t=Et?_objectSpread(_objectSpread({},Et),{},{isTooltipActive:!0}):{isTooltipActive:!1};vt.setState(_t),vt.triggerSyncEvent(_t);var wt=vt.props.onMouseMove;isFunction$3(wt)&&wt(_t,bt)}),_defineProperty(vt,"handleItemMouseEnter",function(bt){vt.setState(function(){return{isTooltipActive:!0,activeItem:bt,activePayload:bt.tooltipPayload,activeCoordinate:bt.tooltipPosition||{x:bt.cx,y:bt.cy}}})}),_defineProperty(vt,"handleItemMouseLeave",function(){vt.setState(function(){return{isTooltipActive:!1}})}),_defineProperty(vt,"handleMouseMove",function(bt){bt.persist(),vt.throttleTriggeredAfterMouseMove(bt)}),_defineProperty(vt,"handleMouseLeave",function(bt){vt.throttleTriggeredAfterMouseMove.cancel();var Et={isTooltipActive:!1};vt.setState(Et),vt.triggerSyncEvent(Et);var _t=vt.props.onMouseLeave;isFunction$3(_t)&&_t(Et,bt)}),_defineProperty(vt,"handleOuterEvent",function(bt){var Et=getReactEventByType(bt),_t=get$2(vt.props,"".concat(Et));if(Et&&isFunction$3(_t)){var wt,Rt;/.*touch.*/i.test(Et)?Rt=vt.getMouseInfo(bt.changedTouches[0]):Rt=vt.getMouseInfo(bt),_t((wt=Rt)!==null&&wt!==void 0?wt:{},bt)}}),_defineProperty(vt,"handleClick",function(bt){var Et=vt.getMouseInfo(bt);if(Et){var _t=_objectSpread(_objectSpread({},Et),{},{isTooltipActive:!0});vt.setState(_t),vt.triggerSyncEvent(_t);var wt=vt.props.onClick;isFunction$3(wt)&&wt(_t,bt)}}),_defineProperty(vt,"handleMouseDown",function(bt){var Et=vt.props.onMouseDown;if(isFunction$3(Et)){var _t=vt.getMouseInfo(bt);Et(_t,bt)}}),_defineProperty(vt,"handleMouseUp",function(bt){var Et=vt.props.onMouseUp;if(isFunction$3(Et)){var _t=vt.getMouseInfo(bt);Et(_t,bt)}}),_defineProperty(vt,"handleTouchMove",function(bt){bt.changedTouches!=null&&bt.changedTouches.length>0&&vt.throttleTriggeredAfterMouseMove(bt.changedTouches[0])}),_defineProperty(vt,"handleTouchStart",function(bt){bt.changedTouches!=null&&bt.changedTouches.length>0&&vt.handleMouseDown(bt.changedTouches[0])}),_defineProperty(vt,"handleTouchEnd",function(bt){bt.changedTouches!=null&&bt.changedTouches.length>0&&vt.handleMouseUp(bt.changedTouches[0])}),_defineProperty(vt,"handleDoubleClick",function(bt){var Et=vt.props.onDoubleClick;if(isFunction$3(Et)){var _t=vt.getMouseInfo(bt);Et(_t,bt)}}),_defineProperty(vt,"handleContextMenu",function(bt){var Et=vt.props.onContextMenu;if(isFunction$3(Et)){var _t=vt.getMouseInfo(bt);Et(_t,bt)}}),_defineProperty(vt,"triggerSyncEvent",function(bt){vt.props.syncId!==void 0&&eventCenter.emit(SYNC_EVENT,vt.props.syncId,bt,vt.eventEmitterSymbol)}),_defineProperty(vt,"applySyncEvent",function(bt){var Et=vt.props,_t=Et.layout,wt=Et.syncMethod,Rt=vt.state.updateId,Ct=bt.dataStartIndex,jt=bt.dataEndIndex;if(bt.dataStartIndex!==void 0||bt.dataEndIndex!==void 0)vt.setState(_objectSpread({dataStartIndex:Ct,dataEndIndex:jt},dt({props:vt.props,dataStartIndex:Ct,dataEndIndex:jt,updateId:Rt},vt.state)));else if(bt.activeTooltipIndex!==void 0){var Dt=bt.chartX,It=bt.chartY,Ot=bt.activeTooltipIndex,At=vt.state,Tt=At.offset,kt=At.tooltipTicks;if(!Tt)return;if(typeof wt=="function")Ot=wt(kt,bt);else if(wt==="value"){Ot=-1;for(var St=0;St<kt.length;St++)if(kt[St].value===bt.activeLabel){Ot=St;break}}var Pt=_objectSpread(_objectSpread({},Tt),{},{x:Tt.left,y:Tt.top}),$t=Math.min(Dt,Pt.x+Pt.width),Nt=Math.min(It,Pt.y+Pt.height),Mt=kt[Ot]&&kt[Ot].value,Vt=getTooltipContent(vt.state,vt.props.data,Ot),Ht=kt[Ot]?{x:_t==="horizontal"?kt[Ot].coordinate:$t,y:_t==="horizontal"?Nt:kt[Ot].coordinate}:originCoordinate;vt.setState(_objectSpread(_objectSpread({},bt),{},{activeLabel:Mt,activeCoordinate:Ht,activePayload:Vt,activeTooltipIndex:Ot}))}else vt.setState(bt)}),_defineProperty(vt,"renderCursor",function(bt){var Et,_t=vt.state,wt=_t.isTooltipActive,Rt=_t.activeCoordinate,Ct=_t.activePayload,jt=_t.offset,Dt=_t.activeTooltipIndex,It=_t.tooltipAxisBandSize,Ot=vt.getTooltipEventType(),At=(Et=bt.props.active)!==null&&Et!==void 0?Et:wt,Tt=vt.props.layout,kt=bt.key||"_recharts-cursor";return React$1.createElement(Cursor,{key:kt,activeCoordinate:Rt,activePayload:Ct,activeTooltipIndex:Dt,chartName:et,element:bt,isActive:At,layout:Tt,offset:jt,tooltipAxisBandSize:It,tooltipEventType:Ot})}),_defineProperty(vt,"renderPolarAxis",function(bt,Et,_t){var wt=get$2(bt,"type.axisType"),Rt=get$2(vt.state,"".concat(wt,"Map")),Ct=bt.type.defaultProps,jt=Ct!==void 0?_objectSpread(_objectSpread({},Ct),bt.props):bt.props,Dt=Rt&&Rt[jt["".concat(wt,"Id")]];return reactExports.cloneElement(bt,_objectSpread(_objectSpread({},Dt),{},{className:clsx(wt,Dt.className),key:bt.key||"".concat(Et,"-").concat(_t),ticks:getTicksOfAxis(Dt,!0)}))}),_defineProperty(vt,"renderPolarGrid",function(bt){var Et=bt.props,_t=Et.radialLines,wt=Et.polarAngles,Rt=Et.polarRadius,Ct=vt.state,jt=Ct.radiusAxisMap,Dt=Ct.angleAxisMap,It=getAnyElementOfObject(jt),Ot=getAnyElementOfObject(Dt),At=Ot.cx,Tt=Ot.cy,kt=Ot.innerRadius,St=Ot.outerRadius;return reactExports.cloneElement(bt,{polarAngles:Array.isArray(wt)?wt:getTicksOfAxis(Ot,!0).map(function(Pt){return Pt.coordinate}),polarRadius:Array.isArray(Rt)?Rt:getTicksOfAxis(It,!0).map(function(Pt){return Pt.coordinate}),cx:At,cy:Tt,innerRadius:kt,outerRadius:St,key:bt.key||"polar-grid",radialLines:_t})}),_defineProperty(vt,"renderLegend",function(){var bt=vt.state.formattedGraphicalItems,Et=vt.props,_t=Et.children,wt=Et.width,Rt=Et.height,Ct=vt.props.margin||{},jt=wt-(Ct.left||0)-(Ct.right||0),Dt=getLegendProps({children:_t,formattedGraphicalItems:bt,legendWidth:jt,legendContent:ot});if(!Dt)return null;var It=Dt.item,Ot=_objectWithoutProperties(Dt,_excluded);return reactExports.cloneElement(It,_objectSpread(_objectSpread({},Ot),{},{chartWidth:wt,chartHeight:Rt,margin:Ct,onBBoxUpdate:vt.handleLegendBBoxUpdate}))}),_defineProperty(vt,"renderTooltip",function(){var bt,Et=vt.props,_t=Et.children,wt=Et.accessibilityLayer,Rt=findChildByType(_t,Tooltip);if(!Rt)return null;var Ct=vt.state,jt=Ct.isTooltipActive,Dt=Ct.activeCoordinate,It=Ct.activePayload,Ot=Ct.activeLabel,At=Ct.offset,Tt=(bt=Rt.props.active)!==null&&bt!==void 0?bt:jt;return reactExports.cloneElement(Rt,{viewBox:_objectSpread(_objectSpread({},At),{},{x:At.left,y:At.top}),active:Tt,label:Ot,payload:Tt?It:[],coordinate:Dt,accessibilityLayer:wt})}),_defineProperty(vt,"renderBrush",function(bt){var Et=vt.props,_t=Et.margin,wt=Et.data,Rt=vt.state,Ct=Rt.offset,jt=Rt.dataStartIndex,Dt=Rt.dataEndIndex,It=Rt.updateId;return reactExports.cloneElement(bt,{key:bt.key||"_recharts-brush",onChange:combineEventHandlers(vt.handleBrushChange,bt.props.onChange),data:wt,x:isNumber(bt.props.x)?bt.props.x:Ct.left,y:isNumber(bt.props.y)?bt.props.y:Ct.top+Ct.height+Ct.brushBottom-(_t.bottom||0),width:isNumber(bt.props.width)?bt.props.width:Ct.width,startIndex:jt,endIndex:Dt,updateId:"brush-".concat(It)})}),_defineProperty(vt,"renderReferenceElement",function(bt,Et,_t){if(!bt)return null;var wt=vt,Rt=wt.clipPathId,Ct=vt.state,jt=Ct.xAxisMap,Dt=Ct.yAxisMap,It=Ct.offset,Ot=bt.type.defaultProps||{},At=bt.props,Tt=At.xAxisId,kt=Tt===void 0?Ot.xAxisId:Tt,St=At.yAxisId,Pt=St===void 0?Ot.yAxisId:St;return reactExports.cloneElement(bt,{key:bt.key||"".concat(Et,"-").concat(_t),xAxis:jt[kt],yAxis:Dt[Pt],viewBox:{x:It.left,y:It.top,width:It.width,height:It.height},clipPathId:Rt})}),_defineProperty(vt,"renderActivePoints",function(bt){var Et=bt.item,_t=bt.activePoint,wt=bt.basePoint,Rt=bt.childIndex,Ct=bt.isRange,jt=[],Dt=Et.props.key,It=Et.item.type.defaultProps!==void 0?_objectSpread(_objectSpread({},Et.item.type.defaultProps),Et.item.props):Et.item.props,Ot=It.activeDot,At=It.dataKey,Tt=_objectSpread(_objectSpread({index:Rt,dataKey:At,cx:_t.x,cy:_t.y,r:4,fill:getMainColorOfGraphicItem(Et.item),strokeWidth:2,stroke:"#fff",payload:_t.payload,value:_t.value},filterProps(Ot,!1)),adaptEventHandlers(Ot));return jt.push(ft.renderActiveDot(Ot,Tt,"".concat(Dt,"-activePoint-").concat(Rt))),wt?jt.push(ft.renderActiveDot(Ot,_objectSpread(_objectSpread({},Tt),{},{cx:wt.x,cy:wt.y}),"".concat(Dt,"-basePoint-").concat(Rt))):Ct&&jt.push(null),jt}),_defineProperty(vt,"renderGraphicChild",function(bt,Et,_t){var wt=vt.filterFormatItem(bt,Et,_t);if(!wt)return null;var Rt=vt.getTooltipEventType(),Ct=vt.state,jt=Ct.isTooltipActive,Dt=Ct.tooltipAxis,It=Ct.activeTooltipIndex,Ot=Ct.activeLabel,At=vt.props.children,Tt=findChildByType(At,Tooltip),kt=wt.props,St=kt.points,Pt=kt.isRange,$t=kt.baseLine,Nt=wt.item.type.defaultProps!==void 0?_objectSpread(_objectSpread({},wt.item.type.defaultProps),wt.item.props):wt.item.props,Mt=Nt.activeDot,Vt=Nt.hide,Ht=Nt.activeBar,Qt=Nt.activeShape,er=!!(!Vt&&jt&&Tt&&(Mt||Ht||Qt)),ir={};Rt!=="axis"&&Tt&&Tt.props.trigger==="click"?ir={onClick:combineEventHandlers(vt.handleItemMouseEnter,bt.props.onClick)}:Rt!=="axis"&&(ir={onMouseLeave:combineEventHandlers(vt.handleItemMouseLeave,bt.props.onMouseLeave),onMouseEnter:combineEventHandlers(vt.handleItemMouseEnter,bt.props.onMouseEnter)});var Jt=reactExports.cloneElement(bt,_objectSpread(_objectSpread({},wt.props),ir));function Gt(Wt){return typeof Dt.dataKey=="function"?Dt.dataKey(Wt.payload):null}if(er)if(It>=0){var Kt,Bt;if(Dt.dataKey&&!Dt.allowDuplicatedCategory){var Zt=typeof Dt.dataKey=="function"?Gt:"payload.".concat(Dt.dataKey.toString());Kt=findEntryInArray(St,Zt,Ot),Bt=Pt&&$t&&findEntryInArray($t,Zt,Ot)}else Kt=St==null?void 0:St[It],Bt=Pt&&$t&&$t[It];if(Qt||Ht){var qt=bt.props.activeIndex!==void 0?bt.props.activeIndex:It;return[reactExports.cloneElement(bt,_objectSpread(_objectSpread(_objectSpread({},wt.props),ir),{},{activeIndex:qt})),null,null]}if(!isNil$1(Kt))return[Jt].concat(_toConsumableArray(vt.renderActivePoints({item:wt,activePoint:Kt,basePoint:Bt,childIndex:It,isRange:Pt})))}else{var lr,ar=(lr=vt.getItemByXY(vt.state.activeCoordinate))!==null&&lr!==void 0?lr:{graphicalItem:Jt},Yt=ar.graphicalItem,sr=Yt.item,gr=sr===void 0?bt:sr,Lt=Yt.childIndex,Ut=_objectSpread(_objectSpread(_objectSpread({},wt.props),ir),{},{activeIndex:Lt});return[reactExports.cloneElement(gr,Ut),null,null]}return Pt?[Jt,null,null]:[Jt,null]}),_defineProperty(vt,"renderCustomized",function(bt,Et,_t){return reactExports.cloneElement(bt,_objectSpread(_objectSpread({key:"recharts-customized-".concat(_t)},vt.props),vt.state))}),_defineProperty(vt,"renderMap",{CartesianGrid:{handler:renderAsIs,once:!0},ReferenceArea:{handler:vt.renderReferenceElement},ReferenceLine:{handler:renderAsIs},ReferenceDot:{handler:vt.renderReferenceElement},XAxis:{handler:renderAsIs},YAxis:{handler:renderAsIs},Brush:{handler:vt.renderBrush,once:!0},Bar:{handler:vt.renderGraphicChild},Line:{handler:vt.renderGraphicChild},Area:{handler:vt.renderGraphicChild},Radar:{handler:vt.renderGraphicChild},RadialBar:{handler:vt.renderGraphicChild},Scatter:{handler:vt.renderGraphicChild},Pie:{handler:vt.renderGraphicChild},Funnel:{handler:vt.renderGraphicChild},Tooltip:{handler:vt.renderCursor,once:!0},PolarGrid:{handler:vt.renderPolarGrid,once:!0},PolarAngleAxis:{handler:vt.renderPolarAxis},PolarRadiusAxis:{handler:vt.renderPolarAxis},Customized:{handler:vt.renderCustomized}}),vt.clipPathId="".concat((xt=mt.id)!==null&&xt!==void 0?xt:uniqueId("recharts"),"-clip"),vt.throttleTriggeredAfterMouseMove=throttle$1(vt.triggeredAfterMouseMove,(yt=mt.throttleDelay)!==null&&yt!==void 0?yt:1e3/60),vt.state={},vt}return _inherits(ft,gt),_createClass(ft,[{key:"componentDidMount",value:function(){var xt,yt;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(xt=this.props.margin.left)!==null&&xt!==void 0?xt:0,top:(yt=this.props.margin.top)!==null&&yt!==void 0?yt:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var xt=this.props,yt=xt.children,vt=xt.data,bt=xt.height,Et=xt.layout,_t=findChildByType(yt,Tooltip);if(_t){var wt=_t.props.defaultIndex;if(!(typeof wt!="number"||wt<0||wt>this.state.tooltipTicks.length-1)){var Rt=this.state.tooltipTicks[wt]&&this.state.tooltipTicks[wt].value,Ct=getTooltipContent(this.state,vt,wt,Rt),jt=this.state.tooltipTicks[wt].coordinate,Dt=(this.state.offset.top+bt)/2,It=Et==="horizontal",Ot=It?{x:jt,y:Dt}:{y:jt,x:Dt},At=this.state.formattedGraphicalItems.find(function(kt){var St=kt.item;return St.type.name==="Scatter"});At&&(Ot=_objectSpread(_objectSpread({},Ot),At.props.points[wt].tooltipPosition),Ct=At.props.points[wt].tooltipPayload);var Tt={activeTooltipIndex:wt,isTooltipActive:!0,activeLabel:Rt,activePayload:Ct,activeCoordinate:Ot};this.setState(Tt),this.renderCursor(_t),this.accessibilityManager.setIndex(wt)}}}},{key:"getSnapshotBeforeUpdate",value:function(xt,yt){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==yt.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==xt.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==xt.margin){var vt,bt;this.accessibilityManager.setDetails({offset:{left:(vt=this.props.margin.left)!==null&&vt!==void 0?vt:0,top:(bt=this.props.margin.top)!==null&&bt!==void 0?bt:0}})}return null}},{key:"componentDidUpdate",value:function(xt){isChildrenEqual([findChildByType(xt.children,Tooltip)],[findChildByType(this.props.children,Tooltip)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var xt=findChildByType(this.props.children,Tooltip);if(xt&&typeof xt.props.shared=="boolean"){var yt=xt.props.shared?"axis":"item";return st.indexOf(yt)>=0?yt:nt}return nt}},{key:"getMouseInfo",value:function(xt){if(!this.container)return null;var yt=this.container,vt=yt.getBoundingClientRect(),bt=getOffset(vt),Et={chartX:Math.round(xt.pageX-bt.left),chartY:Math.round(xt.pageY-bt.top)},_t=vt.width/yt.offsetWidth||1,wt=this.inRange(Et.chartX,Et.chartY,_t);if(!wt)return null;var Rt=this.state,Ct=Rt.xAxisMap,jt=Rt.yAxisMap,Dt=this.getTooltipEventType(),It=getTooltipData(this.state,this.props.data,this.props.layout,wt);if(Dt!=="axis"&&Ct&&jt){var Ot=getAnyElementOfObject(Ct).scale,At=getAnyElementOfObject(jt).scale,Tt=Ot&&Ot.invert?Ot.invert(Et.chartX):null,kt=At&&At.invert?At.invert(Et.chartY):null;return _objectSpread(_objectSpread({},Et),{},{xValue:Tt,yValue:kt},It)}return It?_objectSpread(_objectSpread({},Et),It):null}},{key:"inRange",value:function(xt,yt){var vt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,bt=this.props.layout,Et=xt/vt,_t=yt/vt;if(bt==="horizontal"||bt==="vertical"){var wt=this.state.offset,Rt=Et>=wt.left&&Et<=wt.left+wt.width&&_t>=wt.top&&_t<=wt.top+wt.height;return Rt?{x:Et,y:_t}:null}var Ct=this.state,jt=Ct.angleAxisMap,Dt=Ct.radiusAxisMap;if(jt&&Dt){var It=getAnyElementOfObject(jt);return inRangeOfSector({x:Et,y:_t},It)}return null}},{key:"parseEventsOfWrapper",value:function(){var xt=this.props.children,yt=this.getTooltipEventType(),vt=findChildByType(xt,Tooltip),bt={};vt&&yt==="axis"&&(vt.props.trigger==="click"?bt={onClick:this.handleClick}:bt={onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu});var Et=adaptEventHandlers(this.props,this.handleOuterEvent);return _objectSpread(_objectSpread({},Et),bt)}},{key:"addListener",value:function(){eventCenter.on(SYNC_EVENT,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){eventCenter.removeListener(SYNC_EVENT,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(xt,yt,vt){for(var bt=this.state.formattedGraphicalItems,Et=0,_t=bt.length;Et<_t;Et++){var wt=bt[Et];if(wt.item===xt||wt.props.key===xt.key||yt===getDisplayName(wt.item.type)&&vt===wt.childIndex)return wt}return null}},{key:"renderClipPath",value:function(){var xt=this.clipPathId,yt=this.state.offset,vt=yt.left,bt=yt.top,Et=yt.height,_t=yt.width;return React$1.createElement("defs",null,React$1.createElement("clipPath",{id:xt},React$1.createElement("rect",{x:vt,y:bt,height:Et,width:_t})))}},{key:"getXScales",value:function(){var xt=this.state.xAxisMap;return xt?Object.entries(xt).reduce(function(yt,vt){var bt=_slicedToArray(vt,2),Et=bt[0],_t=bt[1];return _objectSpread(_objectSpread({},yt),{},_defineProperty({},Et,_t.scale))},{}):null}},{key:"getYScales",value:function(){var xt=this.state.yAxisMap;return xt?Object.entries(xt).reduce(function(yt,vt){var bt=_slicedToArray(vt,2),Et=bt[0],_t=bt[1];return _objectSpread(_objectSpread({},yt),{},_defineProperty({},Et,_t.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(xt){var yt;return(yt=this.state.xAxisMap)===null||yt===void 0||(yt=yt[xt])===null||yt===void 0?void 0:yt.scale}},{key:"getYScaleByAxisId",value:function(xt){var yt;return(yt=this.state.yAxisMap)===null||yt===void 0||(yt=yt[xt])===null||yt===void 0?void 0:yt.scale}},{key:"getItemByXY",value:function(xt){var yt=this.state,vt=yt.formattedGraphicalItems,bt=yt.activeItem;if(vt&&vt.length)for(var Et=0,_t=vt.length;Et<_t;Et++){var wt=vt[Et],Rt=wt.props,Ct=wt.item,jt=Ct.type.defaultProps!==void 0?_objectSpread(_objectSpread({},Ct.type.defaultProps),Ct.props):Ct.props,Dt=getDisplayName(Ct.type);if(Dt==="Bar"){var It=(Rt.data||[]).find(function(kt){return isInRectangle(xt,kt)});if(It)return{graphicalItem:wt,payload:It}}else if(Dt==="RadialBar"){var Ot=(Rt.data||[]).find(function(kt){return inRangeOfSector(xt,kt)});if(Ot)return{graphicalItem:wt,payload:Ot}}else if(isFunnel(wt,bt)||isPie(wt,bt)||isScatter(wt,bt)){var At=getActiveShapeIndexForTooltip({graphicalItem:wt,activeTooltipItem:bt,itemData:jt.data}),Tt=jt.activeIndex===void 0?At:jt.activeIndex;return{graphicalItem:_objectSpread(_objectSpread({},wt),{},{childIndex:Tt}),payload:isScatter(wt,bt)?jt.data[At]:wt.props.data[At]}}}return null}},{key:"render",value:function(){var xt=this;if(!validateWidthHeight(this))return null;var yt=this.props,vt=yt.children,bt=yt.className,Et=yt.width,_t=yt.height,wt=yt.style,Rt=yt.compact,Ct=yt.title,jt=yt.desc,Dt=_objectWithoutProperties(yt,_excluded2),It=filterProps(Dt,!1);if(Rt)return React$1.createElement(ChartLayoutContextProvider,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},React$1.createElement(Surface,_extends({},It,{width:Et,height:_t,title:Ct,desc:jt}),this.renderClipPath(),renderByOrder(vt,this.renderMap)));if(this.props.accessibilityLayer){var Ot,At;It.tabIndex=(Ot=this.props.tabIndex)!==null&&Ot!==void 0?Ot:0,It.role=(At=this.props.role)!==null&&At!==void 0?At:"application",It.onKeyDown=function(kt){xt.accessibilityManager.keyboardEvent(kt)}
925,It.onFocus=function(){xt.accessibilityManager.focus()}}var Tt=this.parseEventsOfWrapper();return React$1.createElement(ChartLayoutContextProvider,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},React$1.createElement("div",_extends({className:clsx("recharts-wrapper",bt),style:_objectSpread({position:"relative",cursor:"default",width:Et,height:_t},wt)},Tt,{ref:function(St){xt.container=St}}),React$1.createElement(Surface,_extends({},It,{width:Et,height:_t,title:Ct,desc:jt,style:FULL_WIDTH_AND_HEIGHT}),this.renderClipPath(),renderByOrder(vt,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])}(reactExports.Component);_defineProperty(ht,"displayName",et),_defineProperty(ht,"defaultProps",_objectSpread({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},ct)),_defineProperty(ht,"getDerivedStateFromProps",function(gt,ft){var mt=gt.dataKey,xt=gt.data,yt=gt.children,vt=gt.width,bt=gt.height,Et=gt.layout,_t=gt.stackOffset,wt=gt.margin,Rt=ft.dataStartIndex,Ct=ft.dataEndIndex;if(ft.updateId===void 0){var jt=createDefaultState(gt);return _objectSpread(_objectSpread(_objectSpread({},jt),{},{updateId:0},dt(_objectSpread(_objectSpread({props:gt},jt),{},{updateId:0}),ft)),{},{prevDataKey:mt,prevData:xt,prevWidth:vt,prevHeight:bt,prevLayout:Et,prevStackOffset:_t,prevMargin:wt,prevChildren:yt})}if(mt!==ft.prevDataKey||xt!==ft.prevData||vt!==ft.prevWidth||bt!==ft.prevHeight||Et!==ft.prevLayout||_t!==ft.prevStackOffset||!shallowEqual(wt,ft.prevMargin)){var Dt=createDefaultState(gt),It={chartX:ft.chartX,chartY:ft.chartY,isTooltipActive:ft.isTooltipActive},Ot=_objectSpread(_objectSpread({},getTooltipData(ft,xt,Et)),{},{updateId:ft.updateId+1}),At=_objectSpread(_objectSpread(_objectSpread({},Dt),It),Ot);return _objectSpread(_objectSpread(_objectSpread({},At),dt(_objectSpread({props:gt},At),ft)),{},{prevDataKey:mt,prevData:xt,prevWidth:vt,prevHeight:bt,prevLayout:Et,prevStackOffset:_t,prevMargin:wt,prevChildren:yt})}if(!isChildrenEqual(yt,ft.prevChildren)){var Tt,kt,St,Pt,$t=findChildByType(yt,Brush),Nt=$t&&(Tt=(kt=$t.props)===null||kt===void 0?void 0:kt.startIndex)!==null&&Tt!==void 0?Tt:Rt,Mt=$t&&(St=(Pt=$t.props)===null||Pt===void 0?void 0:Pt.endIndex)!==null&&St!==void 0?St:Ct,Vt=Nt!==Rt||Mt!==Ct,Ht=!isNil$1(xt),Qt=Ht&&!Vt?ft.updateId:ft.updateId+1;return _objectSpread(_objectSpread({updateId:Qt},dt(_objectSpread(_objectSpread({props:gt},ft),{},{updateId:Qt,dataStartIndex:Nt,dataEndIndex:Mt}),ft)),{},{prevChildren:yt,dataStartIndex:Nt,dataEndIndex:Mt})}return null}),_defineProperty(ht,"renderActiveDot",function(gt,ft,mt){var xt;return reactExports.isValidElement(gt)?xt=reactExports.cloneElement(gt,ft):isFunction$3(gt)?xt=gt(ft):xt=React$1.createElement(Dot,ft),React$1.createElement(Layer,{className:"recharts-active-dot",key:mt},xt)});var pt=reactExports.forwardRef(function(ft,mt){return React$1.createElement(ht,_extends({},ft,{ref:mt}))});return pt.displayName=ht.displayName,pt},BarChart=generateCategoricalChart({chartName:"BarChart",GraphicalChild:Bar,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:XAxis},{axisType:"yAxis",AxisComp:YAxis}],formatAxisMap}),PieChart=generateCategoricalChart({chartName:"PieChart",GraphicalChild:Pie,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:PolarAngleAxis},{axisType:"radiusAxis",AxisComp:PolarRadiusAxis}],formatAxisMap:formatAxisMap$1,defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}}),AreaChart=generateCategoricalChart({chartName:"AreaChart",GraphicalChild:Area,axisComponents:[{axisType:"xAxis",AxisComp:XAxis},{axisType:"yAxis",AxisComp:YAxis}],formatAxisMap});const profileSchema=objectType({full_name:stringType().max(100).nullable().or(literalType(""))});function AdminProfileTab(){var yt;const{profile:_,isLoading:j,updateProfile:et,updateAvatar:tt,isUpdatingProfile:rt,isUpdatingAvatar:nt}=useProfile(),{credits:it,isLoading:st}=useCredits(),{toast:at}=useToast(),[ot,lt]=reactExports.useState(""),[ct,ut]=reactExports.useState(null),dt=reactExports.useRef(null);reactExports.useEffect(()=>{supabase.auth.getUser().then(({data:{user:vt}})=>{vt&&(ut(vt),lt(vt.email??""))})},[]);const ht=useForm({resolver:t$1(profileSchema),defaultValues:{full_name:(_==null?void 0:_.full_name)??""}});reactExports.useEffect(()=>{_&&ht.reset({full_name:_.full_name??""})},[_==null?void 0:_.id,_==null?void 0:_.full_name]);const pt=async vt=>{try{await et({full_name:vt.full_name||null}),at({title:"Profile updated",description:"Your info has been saved.",variant:"success"})}catch(bt){at({title:"Update failed",description:bt instanceof Error?bt.message:"Could not update profile.",variant:"destructive"})}},gt=()=>{var vt;return(vt=dt.current)==null?void 0:vt.click()},ft=async vt=>{var _t,wt;const bt=(_t=vt.target.files)==null?void 0:_t[0];if(!bt||!ct)return;const Et=((wt=bt.name.split(".").pop())==null?void 0:wt.toLowerCase())||"jpg";if(!["jpeg","jpg","png","webp","gif"].includes(Et)){at({title:"Invalid file",description:"Please use JPEG, PNG, WebP, or GIF.",variant:"destructive"});return}if(bt.size>2*1024*1024){at({title:"File too large",description:"Avatar must be under 2MB.",variant:"destructive"});return}try{const Rt=`${ct.id}/avatar.${Et}`,{error:Ct}=await supabase.storage.from("avatars").upload(Rt,bt,{upsert:!0});if(Ct)throw Ct;const{data:{publicUrl:jt}}=supabase.storage.from("avatars").getPublicUrl(Rt);await tt(jt),at({title:"Avatar updated",description:"Your profile photo has been saved.",variant:"success"})}catch(Rt){at({title:"Upload failed",description:Rt instanceof Error?Rt.message:"Could not upload avatar.",variant:"destructive"})}finally{vt.target.value=""}};if(j&&!_)return jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center min-h-[40vh]",children:jsxRuntimeExports.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary"})});const mt=(_==null?void 0:_.full_name)||(ot==null?void 0:ot.split("@")[0])||"User",xt=((yt=(_==null?void 0:_.full_name)||ot)==null?void 0:yt.charAt(0).toUpperCase())??"U";return jsxRuntimeExports.jsxs("div",{className:"space-y-8",children:[jsxRuntimeExports.jsxs("div",{className:"relative rounded-xl border border-white/[0.06] bg-white/[0.02] p-8 overflow-hidden",children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-logo-purple/[0.03] via-trans
925parent to-electric-blue/[0.03] pointer-events-none"}),jsxRuntimeExports.jsxs("div",{className:"relative flex flex-col sm:flex-row items-center sm:items-start gap-6",children:[jsxRuntimeExports.jsxs("button",{type:"button",onClick:gt,disabled:nt,className:"relative group shrink-0 transition-transform duration-200 hover:scale-105",children:[jsxRuntimeExports.jsx("div",{className:"absolute -inset-1 rounded-full bg-gradient-to-br from-logo-purple to-electric-blue opacity-60 blur-[1px]"}),jsxRuntimeExports.jsxs(Avatar,{className:"relative h-28 w-28 rounded-full ring-2 ring-background shadow-lg",children:[jsxRuntimeExports.jsx(AvatarImage,{src:(_==null?void 0:_.avatar_url)??void 0,alt:"Avatar"}),jsxRuntimeExports.jsx(AvatarFallback,{className:"text-3xl bg-white/[0.06] text-foreground font-medium",children:xt})]}),jsxRuntimeExports.jsx("div",{className:"absolute bottom-1 right-1 w-4 h-4 rounded-full bg-emerald-500 border-2 border-background shadow-sm"}),jsxRuntimeExports.jsx("div",{className:"absolute inset-0 rounded-full bg-black/60 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity duration-200 z-10",style:{margin:"-4px"},children:nt?jsxRuntimeExports.jsx(LoaderCircle,{className:"w-8 h-8 text-white animate-spin"}):jsxRuntimeExports.jsx(Camera,{className:"w-8 h-8 text-white"})})]}),jsxRuntimeExports.jsx("input",{ref:dt,type:"file",accept:"image/jpeg,image/png,image/webp,image/gif",className:"hidden",onChange:ft}),jsxRuntimeExports.jsxs("div",{className:"flex-1 text-center sm:text-left",children:[jsxRuntimeExports.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-3",children:[jsxRuntimeExports.jsx("h2",{className:"text-2xl font-semibold text-foreground tracking-tight",children:mt}),jsxRuntimeExports.jsx(Badge,{variant:"outline",className:"w-fit border-primary/30 text-foreground",children:"Admin"})]}),jsxRuntimeExports.jsx("p",{className:"text-muted-foreground text-sm mt-1",children:ot}),jsxRuntimeExports.jsxs("button",{type:"button",onClick:gt,disabled:nt,className:"mt-3 text-sm text-primary hover:text-primary/80 font-medium transition-colors inline-flex items-center gap-1.5",children:[jsxRuntimeExports.jsx(Camera,{className:"w-3.5 h-3.5"})," Change photo"]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground/80 mt-1",children:"JPEG, PNG, WebP or GIF. Max 2MB."})]})]})]}),jsxRuntimeExports.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-6 transition-all duration-200 hover:border-white/[0.1] border-l-2 border-l-logo-purple/40",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2.5 mb-1",children:[jsxRuntimeExports.jsx("div",{className:"p-1.5 rounded-md bg-gradient-to-br from-logo-purple/20 to-electric-blue/20",children:jsxRuntimeExports.jsx(User,{className:"w-4 h-4 text-logo-purple"})}),jsxRuntimeExports.jsx("h3",{className:"text-lg font-semibold text-foreground tracking-tight",children:"Account"})]}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground mb-6",children:"Update your display name. Email cannot be changed."}),jsxRuntimeExports.jsxs("form",{onSubmit:ht.handleSubmit(pt),className:"space-y-4",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"admin_full_name",className:"text-sm font-medium",children:"Display name"}),jsxRuntimeExports.jsx(Input,{id:"admin_full_name",placeholder:"Your name",className:"bg-white/[0.03] border-white/10 focus-visible:ring-primary/30",...ht.register("full_name")}),ht.formState.errors.full_name&&jsxRuntimeExports.jsx("p",{className:"text-xs text-destructive",children:ht.formState.errors.full_name.message})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"admin_email",className:"text-sm font-medium",children:"Email"}),jsxRuntimeExports.jsx(Input,{id:"admin_email",type:"email",value:ot,disabled:!0,className:"opacity-60 cursor-not-allowed bg-white/[0.02]"})]}),jsxRuntimeExports.jsxs(Button,{type:"submit",disabled:rt,className:"mt-2 rounded-lg bg-gradient-to-r from-logo-purple to-electric-blue text-primary-foreground shadow-button hover:shadow-button-hover hover:opacity-90 transition-all",children:[rt?jsxRuntimeExports.jsx(LoaderCircle,{className:"w-4 h-4 animate-spin mr-2"}):jsxRuntimeExports.jsx(Check,{className:"w-4 h-4 mr-2"}),"Save changes"]})]})]}),jsxRuntimeExports.jsxs("div",{className:"relative rounded-xl border border-white/[0.06] bg-white/[0.02] p-6 transition-all duration-200 hover:border-white/[0.1] border-l-2 border-l-logo-purple/40 overflow-hidden",children:[jsxRuntimeExports.jsx("div",{className:"absolute top-1/2 left-1/3 -translate-x-1/2 -translate-y-1/2 w-32 h-32 bg-logo-purple/[0.06] rounded-full blur-3xl pointer-events-none"}),jsxRuntimeExports.jsxs("div",{className:"relative",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2.5 mb-1",children:[jsxRuntimeExports.jsx("div",{className:"p-1.5 rounded-md bg-gradient-to-br from-logo-purple/20 to-electric-blue/20",children:jsxRuntimeExports.jsx(Coins,{className:"w-4 h-4 text-logo-purple"})}),jsxRuntimeExports.jsx("h3",{className:"text-lg font-semibold text-foreground tracking-tight",children:"Credits"})]}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground mb-6",children:"Your balance for image generation."}),jsxRuntimeExports.jsx("div",{className:"flex items-end justify-between gap-4",children:jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("p",{className:"text-4xl font-bold tracking-tight",children:st?jsxRuntimeExports.jsx("span",{className:"text-muted-foreground",children:"..."}):_!=null&&_.is_unlimited?jsxRuntimeExports.jsxs("span",{className:"bg-gradient-to-r from-logo-purple to-electric-blue bg-clip-text text-transparent flex items-center gap-2",children:[jsxRuntimeExports.jsx(Sparkles,{className:"w-6 h-6 text-logo-purple"})," Unlimited"]}):jsxRuntimeExports.jsx("span",{className:"bg-gradient-to-r from-logo-purple to-electric-blue bg-clip-text text-transparent",children:(it??0).toLocaleStr
925ing()})}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground mt-1.5",children:_!=null&&_.is_unlimited?"No limits on your account":"credits available"})]})}),!(_!=null&&_.is_unlimited)&&!st&&jsxRuntimeExports.jsx("div",{className:"mt-5",children:jsxRuntimeExports.jsx("div",{className:"h-1.5 w-full rounded-full bg-white/[0.06] overflow-hidden",children:jsxRuntimeExports.jsx("div",{className:"h-full rounded-full bg-gradient-to-r from-logo-purple to-electric-blue transition-all duration-700",style:{width:`${Math.min(100,Math.max(5,(it??0)/Math.max(it??1,100)*100))}%`}})})})]})]})]}),jsxRuntimeExports.jsx(ChangePasswordCard,{})]})}const PERIOD_OPTIONS=[{label:"7 days",value:7},{label:"30 days",value:30},{label:"90 days",value:90},{label:"1 year",value:365}],STATUS_COLORS={done:"#22c55e",failed:"#ef4444",running:"#f59e0b",pending:"#6b7280"},CHART_COLORS=["hsl(var(--primary))","#22c55e","#f59e0b","#ef4444","#8b5cf6","#06b6d4"],adminMenuItems=[{id:"analytics",title:"Analytics",icon:ChartColumn},{id:"users",title:"All Users",icon:Users},{id:"whitelist",title:"VIP Users",icon:Crown},{id:"jobs",title:"Jobs",icon:Layers},{id:"purchases",title:"Purchases",icon:ShoppingCart},{id:"profile",title:"Profile",icon:User}];function RealtimeDot({status:_}){const j=_==="SUBSCRIBED"?"bg-emerald-500":_==="CHANNEL_ERROR"?"bg-destructive":"bg-amber-500";return jsxRuntimeExports.jsxs("span",{className:"inline-flex items-center gap-1.5 text-xs text-muted-foreground",children:[jsxRuntimeExports.jsx("span",{className:cn("h-2 w-2 rounded-full animate-pulse",j)}),jsxRuntimeExports.jsx("span",{className:"capitalize",children:_.toLowerCase().replace("_"," ")})]})}function Admin(){var Vs,Gs,Us,zs,Hs,Ws,Ks;const[_,j]=reactExports.useState("analytics"),[et,tt]=reactExports.useState(null),[rt,nt]=reactExports.useState([]),[it,st]=reactExports.useState(!0),[at,ot]=reactExports.useState(null),[lt,ct]=reactExports.useState(!1),[ut,dt]=reactExports.useState(!0),[ht,pt]=reactExports.useState(""),[gt,ft]=reactExports.useState([]),[mt,xt]=reactExports.useState("disconnected"),[yt,vt]=reactExports.useState(null),[bt,Et]=reactExports.useState(""),[_t,wt]=reactExports.useState(null),[Rt,Ct]=reactExports.useState(!1),[jt,Dt]=reactExports.useState(null),[It,Ot]=reactExports.useState("1000"),[At,Tt]=reactExports.useState(!1),[kt,St]=reactExports.useState(null),[Pt,$t]=reactExports.useState(!1),[Nt,Mt]=reactExports.useState(null),[Vt,Ht]=reactExports.useState(""),[Qt,er]=reactExports.useState(!1),[ir,Jt]=reactExports.useState(""),[Gt,Kt]=reactExports.useState(""),[Bt,Zt]=reactExports.useState(!1),[qt,lr]=reactExports.useState(null),[ar,Yt]=reactExports.useState(30),[sr,gr]=reactExports.useState(null),[Lt,Ut]=reactExports.useState(!1),[Wt,or]=reactExports.useState([]),[nr,tr]=reactExports.useState(!1),[rr,cr]=reactExports.useState("all"),[xr,Pr]=reactExports.useState(""),[Dr,Tr]=reactExports.useState(!1),[Xt,Rr]=reactExports.useState(null),[Vr,Jr]=reactExports.useState([]),[Ir,Ur]=reactExports.useState(!1),[$r,br]=reactExports.useState([]),[qr,Mr]=reactExports.useState(!1),Lr=20,[sn,Sn]=reactExports.useState(1),[yn,vn]=reactExports.useState(1),[_n,Cr]=reactExports.useState(1),[wr,Br]=reactExports.useState(!1),[dr,Sr]=reactExports.useState({email:"",password:"",full_name:"",credits:"0",tier:"none"}),{toast:pr}=useToast(),jr=useNavigate(),Wr=reactExports.useCallback(async()=>{var Ft,ur,hr;st(!0);try{const[Er,Ar,yr]=await Promise.allSettled([supabase.rpc("get_admin_stats"),supabase.rpc("get_admin_profiles",{limit_count:250}),supabase.from("whitelisted_users").select("email, created_at, reason, created_by").order("created_at",{ascending:!1})]),Kr=[];Er.status==="fulfilled"?Er.value.error?Kr.push(Er.value.error.message):tt(Er.value.data):Kr.push(((Ft=Er.reason)==null?void 0:Ft.message)??"Stats fetch failed"),Ar.status==="fulfilled"?Ar.value.error?Kr.push(Ar.value.error.message):nt(Ar.value.data||[]):Kr.push(((ur=Ar.reason)==null?void 0:ur.message)??"Users fetch failed"),yr.status==="fulfilled"?yr.value.error?Kr.push(yr.value.error.message):ft(yr.value.data||[]):Kr.push(((hr=yr.reason)==null?void 0:hr.message)??"Whitelist fetch failed"),Kr.length>0&&(console.warn("Admin partial load errors:",Kr),pr({variant:"destructive",title:"Partial refresh failed",description:Kr[0]})),vt(new Date)}
925catch(Er){console.error("Admin Load Error:",Er),pr({variant:"destructive",title:"Admin refresh failed",description:(Er==null?void 0:Er.message)??"Unknown error"})}finally{st(!1)}},[]),Or=reactExports.useCallback(async Ft=>{Ut(!0);try{const{data:ur,error:hr}=await supabase.rpc("get_admin_analytics",{p_days:Ft});if(hr)throw hr;gr(ur)}catch(ur){console.error("Analytics fetch error:",ur)}finally{Ut(!1)}},[]),Hr=reactExports.useCallback(async(Ft,ur)=>{tr(!0);try{const{data:hr,error:Er}=await supabase.rpc("get_admin_jobs",{p_status:Ft==="all"?void 0:Ft,p_email:(ur==null?void 0:ur.trim())||void 0,p_limit:200});if(Er)throw Er;or(hr||[])}catch(hr){console.error("Jobs fetch error:",hr)}finally{tr(!1)}},[]),an=async Ft=>{Ur(!0);try{const{data:ur,error:hr}=await supabase.rpc("get_admin_job_tasks",{p_job_id:Ft});if(hr)throw hr;Jr(ur||[])}catch(ur){console.error("Tasks fetch error:",ur),Jr([])}finally{Ur(!1)}},Xr=async Ft=>{ot(`cancel-${Ft}`);try{const{data:ur,error:hr}=await supabase.rpc("admin_cancel_job",{p_job_id:Ft});if(hr)throw hr;const Er=ur;if(!(Er!=null&&Er.success))throw new Error((Er==null?void 0:Er.message)||"Failed");pr({title:"Job Cancelled",description:Er.message,variant:"success"}),or(Ar=>Ar.map(yr=>yr.id===Ft?{...yr,status:"failed"}:yr)),(Xt==null?void 0:Xt.id)===Ft&&Rr(Ar=>Ar&&{...Ar,status:"failed"})}catch(ur){pr({variant:"destructive",title:"Cancel Failed",description:ur.message})}finally{ot(null)}},Yr=Ft=>{Rr(Ft),Tr(!0),an(Ft.id)},Gr=reactExports.useCallback(async()=>{Mr(!0);try{const{data:Ft,error:ur}=await supabase.functions.invoke("admin-purchases",{method:"GET"});if(ur)throw ur;br((Ft==null?void 0:Ft.purchases)||[])}catch(Ft){console.error("Purchases fetch error:",Ft),pr({variant:"destructive",title:"Failed to load purchases",description:Ft.message})}finally{Mr(!1)}},[]);reactExports.useEffect(()=>{lt&&_==="analytics"&&Or(ar)},[lt,_,ar,Or]),reactExports.useEffect(()=>{lt&&_==="jobs"&&Hr(rr,xr)},[lt,_,rr,Hr]),reactExports.useEffect(()=>{lt&&_==="purchases"&&Gr()},[lt,_,Gr]),reactExports.useEffect(()=>{(async()=>{dt(!0);const{data:{user:ur}}=await supabase.auth.getUser();if(!ur){ct(!1),dt(!1);return}const{data:hr,error:Er}=await supabase.rpc("is_admin");ct(!Er&&!!hr),dt(!1)})()},[]),reactExports.useEffect(()=>{if(!lt)return;Wr();let Ft;const ur=()=>{Ft&&window.clearTimeout(Ft),Ft=window.setTimeout(()=>Wr(),400)},hr=supabase.channel("admin-dashboard-sync").on("postgres_changes",{event:"*",schema:"public",table:"profiles"},Ar=>{const yr=Ar.new;yr!=null&&yr.id&&nt(Kr=>Kr.map(mn=>{if(mn.id!==yr.id)return mn;const Rn={};return typeof yr.credits=="number"&&(Rn.credits=yr.credits),typeof yr.is_unlimited=="boolean"&&(Rn.is_unlimited=yr.is_unlimited),"full_name"in yr&&(Rn.full_name=yr.full_name),typeof yr.subscription_tier=="string"&&(Rn.subscription_tier=yr.subscription_tier),"subscription_status"in yr&&(Rn.subscription_status=yr.subscription_status),{...mn,...Rn}})),ur()}).on("postgres_changes",{event:"*",schema:"public",table:"whitelisted_users"},Ar=>{const yr=Ar.eventType,Kr=Ar.new,mn=Ar.old;if((yr==="INSERT"||yr==="UPDATE")&&(Kr!=null&&Kr.email)&&ft(Rn=>{const Ps=String(Kr.email).trim().toLowerCase(),Cs=Rn.filter(ro=>ro.email.trim().toLowerCase()!==Ps);return[{email:Ps,created_at:Kr.created_at??new Date().toISOString(),reason:Kr.reason??null,created_by:Kr.created_by??null},...Cs]}),yr==="DELETE"&&(mn!=null&&mn.email||Kr!=null&&Kr.email)){const Rn=String((mn==null?void 0:mn.email)??(Kr==null?void 0:Kr.email)).trim().toLowerCase();ft(Ps=>Ps.filter(Cs=>Cs.email.trim().toLowerCase()!==Rn))}ur()}).subscribe((Ar,yr)=>{xt(Ar),yr&&(console.error("Realtime subscribe error",yr),pr({variant:"destructive",title:"Realtime error",description:yr.message??"Connection failed"}))}),Er=window.setInterval(()=>Wr(),3e4);return()=>{Ft&&window.clearTimeout(Ft),window.clearInterval(Er),supabase.removeChannel(hr)}},[Wr,lt]);const pn=async(Ft,ur,hr)=>{ot(`${Ft}-credits`);try{const{data:Er,error:Ar}=await supabase.rpc("give_admin_credits",{target_email:ur,amount:hr});if(Ar)throw Ar;const yr=Er;
925if(yr!=null&&yr.success)pr({title:"Credits Added",description:`+${hr.toLocaleString()} to ${ur}`,variant:"success"}),nt(Kr=>Kr.map(mn=>mn.id===Ft?{...mn,credits:yr.new_balance}:mn));else throw new Error((yr==null?void 0:yr.message)||"Unknown error")}catch(Er){pr({variant:"destructive",title:"Failed to add credits",description:Er.message})}finally{ot(null)}},Zr=(Ft,ur)=>{Dt({id:Ft,email:ur}),Ot("1000"),Ct(!0)},un=()=>{if(!jt)return;const Ft=parseInt(It);if(isNaN(Ft)||Ft<=0){pr({variant:"destructive",title:"Invalid amount",description:"Enter a positive number."});return}Ct(!1),pn(jt.id,jt.email,Ft)},bn=async()=>{if(ht){ot("whitelist-add");try{const Ft=ht.trim().toLowerCase(),{data:ur,error:hr}=await supabase.functions.invoke("admin-whitelist",{body:{action:"add",email:Ft,grantCredits:1e6}});if(hr)throw hr;if(ur!=null&&ur.error)throw new Error(ur.error);ft(Er=>{const Ar=Er.filter(yr=>yr.email.trim().toLowerCase()!==Ft);return[{email:Ft,created_at:new Date().toISOString(),reason:null,created_by:"admin"},...Ar]}),nt(Er=>Er.map(Ar=>Ar.email.trim().toLowerCase()===Ft?{...Ar,credits:Math.max(Ar.credits,1e6)}:Ar)),pr({title:"User Whitelisted",description:`${Ft} granted VIP access.`,variant:"success"}),pt(""),Wr()}catch(Ft){pr({variant:"destructive",title:"Error",description:Ft.message})}finally{ot(null)}}},tn=Ft=>{St(Ft),Tt(!0)},rn=async()=>{if(!kt)return;Tt(!1);const Ft=kt;ot(`whitelist-remove:${Ft}`);try{const ur=Ft.trim().toLowerCase(),{data:hr,error:Er}=await supabase.functions.invoke("admin-whitelist",{body:{action:"remove",email:ur}});if(Er)throw Er;if(hr!=null&&hr.error)throw new Error(hr.error);ft(Ar=>Ar.filter(yr=>yr.email.trim().toLowerCase()!==ur)),pr({title:"Removed",description:`${Ft} removed from VIP list.`,variant:"success"}),Wr()}catch(ur){pr({variant:"destructive",title:"Error",description:ur.message})}finally{ot(null),St(null)}},on=Ft=>{Mt(Ft),Ht(String(Ft.credits)),er(Ft.is_unlimited),Jt(Ft.full_name??""),Kt(Ft.subscription_tier??"none"),$t(!0)},Tn=async()=>{if(!Nt)return;const Ft=parseInt(Vt);if(isNaN(Ft)||Ft<0){pr({variant:"destructive",title:"Invalid",description:"Enter a non-negative number."});return}ot(`${Nt.id}-set-credits`);try{const{data:ur,error:hr}=await supabase.rpc("admin_set_credits",{target_user_id:Nt.id,new_credits:Ft});if(hr)throw hr;const Er=ur;if(!(Er!=null&&Er.success))throw new Error((Er==null?void 0:Er.message)||"Failed");pr({title:"Credits Set",description:`${Nt.email} now has ${Ft.toLocaleString()} credits.`,variant:"success"}),nt(Ar=>Ar.map(yr=>yr.id===Nt.id?{...yr,credits:Er.new_balance}:yr)),Mt(Ar=>Ar&&{...Ar,credits:Er.new_balance})}catch(ur){pr({variant:"destructive",title:"Failed",description:ur.message})}finally{ot(null)}},cs=async()=>{if(Nt){ot(`${Nt.id}-update`);try{const{data:Ft,error:ur}=await supabase.rpc("admin_update_user",{target_user_id:Nt.id,p_is_unlimited:Qt,p_full_name:ir,p_subscription_tier:Gt||"none"});if(ur)throw ur;const hr=Ft;if(!(hr!=null&&hr.success))throw new Error((hr==null?void 0:hr.message)||"Failed");const Er={...Nt,is_unlimited:hr.user.is_unlimited,full_name:hr.user.full_name,subscription_tier:hr.user.subscription_tier};nt(Ar=>Ar.map(yr=>yr.id===Nt.id?{...yr,...Er}:yr)),Mt(Er),pr({title:"User Updated",description:`${Nt.email} profile saved.`,variant:"success"})}catch(Ft){pr({variant:"destructive",title:"Failed",description:Ft.message})}finally{ot(null)}}},nn=Ft=>{lr(Ft),Zt(!0)},en=async()=>{if(qt){Zt(!1),ot(`${qt.id}-delete`);try{const{data:Ft,error:ur}=await supabase.functions.invoke("admin-delete-user",{body:{user_id:qt.id}});if(ur)throw ur;const hr=Ft;if(hr!=null&&hr.error)throw new Error(hr.error);pr({title:"User Deleted",description:(hr==null?void 0:hr.message)||"User deleted",variant:"success"}),nt(Ar=>Ar.filter(yr=>yr.id!==qt.id));const Er=qt.email.trim().toLowerCase();ft(Ar=>Ar.filter(yr=>yr.email.trim().toLowerCase()!==Er)),(Nt==null?void 0:Nt.id)===qt.id&&($t(!1),Mt(null))}catch(Ft){pr({variant:"destructive",title:"Delete Failed",description:Ft.message})}finally{ot(null),lr(null)}}},kn=async()=>{const Ft=dr.email.trim().toLowerCase(),ur=dr.password;if(!Ft||!Ft.includes("@")){pr({variant:"destructive",title:"Invalid email",description:"Enter a valid email address."});return}if(!ur||ur.length<6){pr({variant:"destructive",title:"Weak password",description:"Password must be at least 6 characters."});return}ot("create-user");try{const{data:hr,error:Er}=await supabase.functions.invoke("admin-create-user",{body:{email:Ft,password:ur,full_name:dr.full_name||null,credits:parseInt(dr.credits)||0,tier:dr.tier||"none"}});if(Er)throw Er;if(hr!=null&&hr.error)throw new Error(hr.error);const Ar=hr==null?void 0:hr.user;pr({title:"User Created",description:`${Ft} has been added.`,variant:"success"}),Ar!=null&&Ar.id&&nt(yr=>[{id:Ar.id,email:Ft,credits:Ar.credits??0,is_unlimited:!1,full_name:Ar.full_name??null,subscription_tier:Ar.subscription_tier??"none",subscription_status:null,created_at:new Date().toISOString()},...yr]),Br(!1),Sr({email:"",password:"",full_name:"",credits:"0",tier:"none"}),Wr()}catch(hr){pr({variant:"destructive",title:"Create Failed",description:hr.message})}finally{ot(null)}},_s=reactExports.useMemo(()=>new Set(gt.map(Ft=>Ft.email.trim().toLowerCase())),[gt]),On=reactExports.useMemo(()=>{let Ft=rt;if(bt.trim()){const ur=bt.trim().toLowerCase();Ft=Ft.filter(hr=>hr.email.toLowerCase().includes(ur))}return _t!==null&&(Ft=[...Ft].sort((ur,hr)=>_t?ur.credits-hr.credits:hr.credits-ur.credits)),Ft},[rt,bt,_t]);reactExports.useEffect(()=>{Sn(1)},[bt,_t]),reactExports.useEffect(()=>{vn(1)},[rr,xr]);const Fn=Math.ceil(On.length/Lr),En=On.slice((sn-1)*Lr,sn*Lr),Ln=Math.ceil(Wt.length/Lr),Jn=Wt.slice((yn-1)*Lr,yn*Lr),An=Math.ceil($r.length/Lr),to=$r.slice((_n-1)*Lr,_n*Lr);return ut?jsxRuntimeExports.jsx("div",{className:"flex h-screen items-center justify-center bg-background",children:jsxRuntimeExports.jsx(LoaderCircle,{className:"h-8 w-8 animate-spin text-primary"})}):lt?jsxRuntimeExports.jsxs(SidebarProvider,{children:[jsxRuntimeExports.jsxs(Sidebar,{collapsible:"icon",className:"border-r border-white/[0.06]",children:[jsxRuntimeExports.jsx(SidebarHeader,{className:"p-4 pb-2",children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx("div",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10",children:jsxRuntimeExports.jsx(ShieldCheck,{className:"h-4 w-4 text-primary"})}),jsxRuntimeExports.jsx("span",{className:"font-display text-base font-semibold text-foreground tracking-tight group-data-[collapsible=icon]:hidden",children:"Admin"})]})}),jsxRuntimeExports.jsx(Separator$2,{className:"mx-3 w-auto opacity-40"}),jsxRuntimeExports.jsx(SidebarContent,{className:"pt-4",children:jsxRuntimeExports.jsx(SidebarGroup,{className:"p-3 pt-0",children:jsxRuntimeExports.jsx(SidebarGroupContent,{children:jsxRuntimeExports.jsx(SidebarMenu,{className:"gap-2",children:adminMenuItems.map(Ft=>{const ur=_===Ft.id;return jsxRuntimeExports.jsx(SidebarMenuItem,{children:jsxRuntimeExports.jsxs(SidebarMenuButton,{isActive:ur,tooltip:Ft.title,size:"lg",onClick:()=>j(Ft.id),className:cn("rounded-lg border transition-all duration-200 cursor-pointer","group-data-[collapsible=icon]:!h-11 group-data-[collapsible=icon]:!w-11 group-data-[collapsible=icon]:!p-0 group-data-[collapsible=icon]:justify-center",ur?"bg-white/[0.06] text-foreground border-white/10":"bg-white/[0.02] text-muted-foreground border-transparent hover:bg-white/[0.04] hover:text-foreground hover:border-white/5"),children:[jsxRuntimeExports.jsx(Ft.icon,{className:"w-5 h-5 shrink-0"}),jsxRuntimeExports.jsx("span",{className:"truncate text-[12px] font-medium tracking-tight opacity-90 group-data-[collapsible=icon]:hidden",children:Ft.title})]})},Ft.id)})})})})}),jsxRuntimeExports.jsxs(SidebarFooter,{className:"p-3 pt-2",children:[jsxRuntimeExports.jsx(Separator$2,{className:"mx-2 w-auto opacity-40 mb-3"}),jsxRuntimeExports.jsxs(SidebarMenuButton,{tooltip:"Back to App",onClick:()=>jr("/app"),className:"w-full rounded-lg border border-transparent bg-white/[0.02] text-muted-foreground hover:bg-white/[0.04] hover:text-foreground hover:border-white/5 transition-all duration-200 group-data-[collapsible=icon]:!h-11 group-data-[collapsible=icon]:!w-11 group-data-[collapsible=icon]:!p-0 group-data-[collapsible=icon]:justify-center",children:[jsxRuntimeExports.jsx(ArrowLeft,{className:"w-5 h-5 shrink-0"}),jsxRuntimeExports.jsx("span",{className:"truncate text-[12px] font-medium tracking-tight opacity-90 group-data-[collapsible=icon]:hidden",children:"Back to App"})]})]})]}),jsxRuntimeExports.jsxs(SidebarInset,{children:[jsxRuntimeExports.jsxs("header",{className:"flex items-center justify-between gap-4 border-b border-white/[0.06] px-6 py-3",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntimeExports.jsx(SidebarTrigger,{className:"-ml-1"}),jsxRuntimeExports.jsx(Separator$2,{orientation:"vertical",className:"h-5 opacity-40"}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h1",{className:"text-lg font-display font-semibold text-foreground capitalize tracking-tight",children:_==="whitelist"?"VIP Users":_==="profile"?"Profile":_}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(RealtimeDot,{status:mt}),yt&&jsxRuntimeExports.jsxs("span",{className:"text-[10px] text-muted-foreground
925/60",children:["Synced ",yt.toLocaleTimeString()]})]})]})]}),jsxRuntimeExports.jsxs(Button,{size:"sm",variant:"outline",onClick:()=>{Wr(),_==="analytics"&&Or(ar),_==="jobs"&&Hr(rr,xr),_==="purchases"&&Gr()},disabled:it||Lt||nr||qr,className:"border-white/[0.08] hover:bg-white/[0.04]",children:[jsxRuntimeExports.jsx(RefreshCw,{className:cn("h-4 w-4 mr-2",(it||Lt||nr||qr)&&"animate-spin")}),"Refresh"]})]}),jsxRuntimeExports.jsx("main",{className:"flex-1 p-6",children:jsxRuntimeExports.jsxs("div",{className:"max-w-6xl mx-auto space-y-6",children:[_==="analytics"&&jsxRuntimeExports.jsxs("div",{className:"space-y-5",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Filter,{className:"h-4 w-4 text-muted-foreground"}),jsxRuntimeExports.jsx("span",{className:"text-xs text-muted-foreground",children:"Period:"}),jsxRuntimeExports.jsx("div",{className:"flex gap-1",children:PERIOD_OPTIONS.map(Ft=>jsxRuntimeExports.jsx(Button,{size:"sm",variant:ar===Ft.value?"default":"outline",className:cn("h-7 text-xs px-3",ar!==Ft.value&&"border-white/[0.08] hover:bg-white/[0.04]"),onClick:()=>Yt(Ft.value),children:Ft.label},Ft.value))})]}),Lt&&jsxRuntimeExports.jsx(LoaderCircle,{className:"h-4 w-4 animate-spin text-muted-foreground"})]}),jsxRuntimeExports.jsxs("div",{className:"grid gap-3 grid-cols-2 lg:grid-cols-4",children:[jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-4",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between mb-2",children:[jsxRuntimeExports.jsx("span",{className:"text-[11px] font-medium text-muted-foreground",children:"Total Users"}),jsxRuntimeExports.jsx("div",{className:"flex h-7 w-7 items-center justify-center rounded-lg bg-primary/10",children:jsxRuntimeExports.jsx(UserCheck,{className:"h-3.5 w-3.5 text-primary"})})]}),jsxRuntimeExports.jsx("div",{className:"text-2xl font-display font-bold text-foreground tracking-tight",children:((sr==null?void 0:sr.total_users)??(et==null?void 0:et.total_users)??0).toLocaleString()}),jsxRuntimeExports.jsxs("p",{className:"text-[10px] text-muted-foreground/60 mt-0.5",children:["+",(sr==null?void 0:sr.period_new_users)??0," in ",ar,"d"]})]}),jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-4",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between mb-2",children:[jsxRuntimeExports.jsx("span",{className:"text-[11px] font-medium text-muted-foreground",children:"Generations"}),jsxRuntimeExports.jsx("div",{className:"flex h-7 w-7 items-center justify-center rounded-lg bg-accent/10",children:jsxRuntimeExports.jsx(Zap,{className:"h-3.5 w-3.5 text-accent"})})]}),jsxRuntimeExports.jsx("div",{className:"text-2xl font-display font-bold text-foreground tracking-tight",children:((sr==null?void 0:sr.period_jobs)??0).toLocaleString()}),jsxRuntimeExports.jsxs("p",{className:"text-[10px] text-muted-foreground/60 mt-0.5",children:[((sr==null?void 0:sr.total_jobs)??(et==null?void 0:et.total_jobs)??0).toLocaleString()," all-time"]})]}),jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-4",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between mb-2",children:[jsxRuntimeExports.jsx("span",{className:"text-[11px] font-medium text-muted-foreground",children:"Success Rate"}),jsxRuntimeExports.jsx("div",{className:"flex h-7 w-7 items-center justify-center rounded-lg bg-emerald-500/10",children:jsxRuntimeExports.jsx(CircleCheck,{className:"h-3.5 w-3.5 text-emerald-500"})})]}),jsxRuntimeExports.jsxs("div",{className:"text-2xl font-display font-bold text-foreground tracking-tight",children:[(sr==null?void 0:sr.success_rate)??0,"%"]}),jsxRuntimeExports.jsxs("p",{className:"text-[10px] text-muted-foreground/60 mt-0.5",children:[(sr==null?void 0:sr.period_jobs_failed)??0," failed in ",ar,"d"]})]}),jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-4",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between mb-2",children:[jsxRuntimeExports.jsx("span",{className:"text-[11px] font-medium text-muted-foreground",children:"Total Credit Balance"}),jsxRuntimeExports.jsx("div",{className:"flex h-7 w-7 items-center justify-center rounded-lg bg-amber-500/10",children:jsxRuntimeExports.jsx(Coins,{className:"h-3.5 w-3.5 text-amber-500"})})]}),jsxRuntimeExports.jsx("div",{className:"text-2xl font-display font-bold text-foreground tracking-tight",children:((sr==null?void 0:sr.total_credits)??(et==null?void 0:et.total_credits_distributed)??0).toLocaleStr
925ing()}),jsxRuntimeExports.jsxs("p",{className:"text-[10px] text-muted-foreground/60 mt-0.5",children:["Avg ",(sr==null?void 0:sr.avg_tasks_per_job)??0," tasks/job"]})]})]}),jsxRuntimeExports.jsxs("div",{className:"grid gap-3 grid-cols-3",children:[jsxRuntimeExports.jsxs("div",{className:"rounded-lg border border-white/[0.06] bg-white/[0.02] p-3 flex items-center gap-3",children:[jsxRuntimeExports.jsx("div",{className:"h-8 w-8 rounded-lg bg-emerald-500/10 flex items-center justify-center shrink-0",children:jsxRuntimeExports.jsx(CircleCheck,{className:"h-4 w-4 text-emerald-500"})}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("div",{className:"text-lg font-bold text-foreground tabular-nums",children:((sr==null?void 0:sr.period_jobs_done)??0).toLocaleString()}),jsxRuntimeExports.jsx("span",{className:"text-[10px] text-muted-foreground",children:"Completed"})]})]}),jsxRuntimeExports.jsxs("div",{className:"rounded-lg border border-white/[0.06] bg-white/[0.02] p-3 flex items-center gap-3",children:[jsxRuntimeExports.jsx("div",{className:"h-8 w-8 rounded-lg bg-destructive/10 flex items-center justify-center shrink-0",children:jsxRuntimeExports.jsx(CircleX,{className:"h-4 w-4 text-destructive"})}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("div",{className:"text-lg font-bold text-foreground tabular-nums",children:((sr==null?void 0:sr.period_jobs_failed)??0).toLocaleString()}),jsxRuntimeExports.jsx("span",{className:"text-[10px] text-muted-foreground",children:"Failed"})]})]}),jsxRuntimeExports.jsxs("div",{className:"rounded-lg border border-white/[0.06] bg-white/[0.02] p-3 flex items-center gap-3",children:[jsxRuntimeExports.jsx("div",{className:"h-8 w-8 rounded-lg bg-amber-500/10 flex items-center justify-center shrink-0",children:jsxRuntimeExports.jsx(Clock,{className:"h-4 w-4 text-amber-500"})}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("div",{className:"text-lg font-bold text-foreground tabular-nums",children:((sr==null?void 0:sr.period_jobs_running)??0).toLocaleString()}),jsxRuntimeExports.jsx("span",{className:"text-[10px] text-muted-foreground",children:"In Progress"})]})]})]}),jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-5",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between mb-4",children:[jsxRuntimeExports.jsxs("h3",{className:"text-sm font-medium text-foreground flex items-center gap-2",children:[jsxRuntimeExports.jsx(Activity,{className:"h-4 w-4 text-muted-foreground"}),"Daily Generations"]}),jsxRuntimeExports.jsxs("span",{className:"text-[10px] text-muted-foreground",children:["Last ",ar," days"]})]}),jsxRuntimeExports.jsx("div",{className:"h-[220px]",children:(((Vs=sr==null?void 0:sr.daily_jobs)==null?void 0:Vs.length)??0)>0?jsxRuntimeExports.jsx(ResponsiveContainer,{width:"100%",height:"100%",children:jsxRuntimeExports.jsxs(BarChart,{data:sr.daily_jobs,barGap:1,children:[jsxRuntimeExports.jsx(CartesianGrid,{strokeDasharray:"3 3",stroke:"rgba(255,255,255,0.04)"}),jsxRuntimeExports.jsx(XAxis,{dataKey:"day",tick:{fontSize:10,fill:"hsl(var(--muted-foreground))"},tickFormatter:Ft=>new Date(Ft).toLocaleDateString("en",{month:"short",day:"numeric"}),interval:Math.max(0,Math.floor((((Gs=sr==null?void 0:sr.daily_jobs)==null?void 0:Gs.length)??0)/8)-1),stroke:"rgba(255,255,255,0.06)"}),jsxRuntimeExports.jsx(YAxis,{tick:{fontSize:10,fill:"hsl(var(--muted-foreground))"},stroke:"rgba(255,255,255,0.06)",allowDecimals:!1}),jsxRuntimeExports.jsx(Tooltip,{contentStyle:{backgroundColor:"hsl(var(--popover))",border:"1px solid rgba(255,255,255,0.1)",borderRadius:8,fontSize:12,color:"hsl(var(--foreground))"},labelFormatter:Ft=>new Date(Ft).toLocaleDateString("en",{weekday:"short",month:"short",day:"numeric"})}),jsxRuntimeExports.jsx(Legend,{wrapperStyle:{fontSize:11}}),jsxRuntimeExports.jsx(Bar,{dataKey:"done",name:"Completed",fill:"#22c55e",radius:[2,2,0,0]}),jsxRuntimeExports.jsx(Bar,{dataKey:"failed",name:"Failed",fill:"#ef4444",radiu
925s:[2,2,0,0]})]})}):jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center h-full text-xs text-muted-foreground",children:"No generation data for this period"})})]}),jsxRuntimeExports.jsxs("div",{className:"grid gap-4 sm:grid-cols-5",children:[jsxRuntimeExports.jsxs("div",{className:"sm:col-span-3 rounded-xl border border-white/[0.06] bg-white/[0.02] p-5",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between mb-4",children:[jsxRuntimeExports.jsxs("h3",{className:"text-sm font-medium text-foreground flex items-center gap-2",children:[jsxRuntimeExports.jsx(TrendingUp,{className:"h-4 w-4 text-muted-foreground"}),"User Signups"]}),jsxRuntimeExports.jsxs(Badge,{variant:"outline",className:"text-[10px] border-white/[0.08]",children:["+",(sr==null?void 0:sr.period_new_users)??0," total"]})]}),jsxRuntimeExports.jsx("div",{className:"h-[200px]",children:(((Us=sr==null?void 0:sr.daily_signups)==null?void 0:Us.length)??0)>0?jsxRuntimeExports.jsx(ResponsiveContainer,{width:"100%",height:"100%",children:jsxRuntimeExports.jsxs(AreaChart,{data:sr.daily_signups,children:[jsxRuntimeExports.jsx("defs",{children:jsxRuntimeExports.jsxs("linearGradient",{id:"signupGrad",x1:"0",y1:"0",x2:"0",y2:"1",children:[jsxRuntimeExports.jsx("stop",{offset:"0%",stopColor:"hsl(var(--primary))",stopOpacity:.3}),jsxRuntimeExports.jsx("stop",{offset:"100%",stopColor:"hsl(var(--primary))",stopOpacity:0})]})}),jsxRuntimeExports.jsx(CartesianGrid,{strokeDasharray:"3 3",stroke:"rgba(255,255,255,0.04)"}),jsxRuntimeExports.jsx(XAxis,{dataKey:"day",tick:{fontSize:10,fill:"hsl(var(--muted-foreground))"},tickFormatter:Ft=>new Date(Ft).toLocaleDateString("en",{month:"short",day:"numeric"}),interval:Math.max(0,Math.floor((((zs=sr==null?void 0:sr.daily_signups)==null?void 0:zs.length)??0)/6)-1),stroke:"rgba(255,255,255,0.06)"}),jsxRuntimeExports.jsx(YAxis,{tick:{fontSize:10,fill:"hsl(var(--muted-foreground))"},stroke:"rgba(255,255,255,0.06)",allowDecimals:!1}),jsxRuntimeExports.jsx(Tooltip,{contentStyle:{backgroundColor:"hsl(var(--popover))",border:"1px solid rgba(255,255,255,0.1)",borderRadius:8,fontSize:12,color:"hsl(var(--foreground))"},labelFormatter:Ft=>new Date(Ft).toLocaleDateString("en",{weekday:"short",month:"short",day:"numeric"})}),jsxRuntimeExports.jsx(Area,{type:"monotone",dataKey:"count",name:"New Users",stroke:"hsl(var(--primary))",fill:"url(#signupGrad)",strokeWidth:2})]})}):jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center h-full text-xs text-muted-foreground",children:"No signup data for this period"})})]}),jsxRuntimeExports.jsxs("div",{className:"sm:col-span-2 rounded-xl border border-white/[0.06] bg-white/[0.02] p-5",children:[jsxRuntimeExports.jsx("h3",{className:"text-sm font-medium text-foreground mb-4",children:"Job Status Breakdown"}),jsxRuntimeExports.jsx("div",{className:"h-[200px]",children:(((Hs=sr==null?void 0:sr.job_status_breakdown)==null?void 0:Hs.length)??0)>0?jsxRuntimeExports.jsx(ResponsiveContainer,{width:"100%",height:"100%",children:jsxRuntimeExports.jsxs(PieChart,{children:[jsxRuntimeExports.jsx(Pie,{data:sr.job_status_breakdown,dataKey:"count",nameKey:"status",cx:"50%",cy:"50%",innerRadius:45,outerRadius:75,paddingAngle:3,strokeWidth:0,children:sr.job_status_breakdown.map((Ft,ur)=>jsxRuntimeExports.jsx(Cell,{fill:STATUS_COLORS[Ft.status]??CHART_COLORS[ur%CHART_COLORS.length]},Ft.status))}),jsxRuntimeExports.jsx(Tooltip,{contentStyle:{backgroundColor:"hsl(var(--popover))",border:"1px solid rgba(255,255,255,0.1)",borderRadius:8,fontSize:12,color:"hsl(var(--foreground))"}}),jsxRuntimeExports.jsx(Legend,{wrapperStyle:{fontSize:11},formatter:Ft=>jsxRuntimeExports.jsx("span",{className:"text-muted-foreground capitalize",children:Ft})})]})}):jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center h-full text-xs text-muted-foreground",children:"No job data"})})]})]}),jsxRuntimeExports.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-5",children:[jsxRuntimeExports.jsxs("h3",{className:"text-sm font-medium text-foreground mb-4 flex items-center gap-2",children:[jsxRuntimeExports.jsx(Crown,{className:"h-4 w-4 text-amber-500"}),"Top Users by Jobs"]}),jsxRuntimeExports.jsx("div",{className:"h-[220px]",children:(((Ws=sr==null?void 0:sr.top_users_by_jobs)==null?void 0:Ws.length)??0)>0?jsxRuntimeExports.jsx(ResponsiveContainer,{width:"100%",height:"100%",children:jsxRuntimeExports.jsxs(BarChart,{data:sr.top_users_by_jobs,layout:"vertical",margin:{left:10,right:16,top:0,bottom:0},children:[jsxRuntimeExports.jsx(CartesianGrid,{strokeDasharray:"3 3",stroke:"rgba(255,255,255,0.04)",horizontal:!1}),jsxRuntimeExports.jsx(XAxis,{type:"number",tick:{fontSize:10,fill:"hsl(var(--muted-foreground))"},stroke:"rgba(255,255,255,0.06)",allowDecimals:!1}),jsxRuntimeExports.jsx(YAxis,{type:"category",dataKey:"email",tick:{fontSize:10,fill:"hsl(var(--muted-foreground))"},width:120,stroke:"rgba(255,255,255,0.06)",tickFormatter:Ft=>Ft.length>18?Ft.slice(0,16)+"â¦":Ft}),jsxRuntimeExports.jsx(Tooltip,{contentStyle:{backgroundColor:"hsl(var(--popover))",border:"1px solid rgba(255,255,255,0.1)",borderRadius:8,fontSize:12,color:"hsl(var(--foreground))"},formatter:Ft=>
925[Ft.toLocaleString(),"Jobs"]}),jsxRuntimeExports.jsx(Bar,{dataKey:"jobs",fill:"hsl(var(--primary))",radius:[0,4,4,0],barSize:18})]})}):jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center h-full text-xs text-muted-foreground",children:"No data for this period"})})]}),jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-5",children:[jsxRuntimeExports.jsxs("h3",{className:"text-sm font-medium text-foreground mb-4 flex items-center gap-2",children:[jsxRuntimeExports.jsx(Coins,{className:"h-4 w-4 text-amber-500"}),"Credit Distribution"]}),jsxRuntimeExports.jsx("div",{className:"h-[220px]",children:(((Ks=sr==null?void 0:sr.credit_distribution)==null?void 0:Ks.length)??0)>0?jsxRuntimeExports.jsx(ResponsiveContainer,{width:"100%",height:"100%",children:jsxRuntimeExports.jsxs(BarChart,{data:sr.credit_distribution,children:[jsxRuntimeExports.jsx(CartesianGrid,{strokeDasharray:"3 3",stroke:"rgba(255,255,255,0.04)"}),jsxRuntimeExports.jsx(XAxis,{dataKey:"bucket",tick:{fontSize:10,fill:"hsl(var(--muted-foreground))"},stroke:"rgba(255,255,255,0.06)"}),jsxRuntimeExports.jsx(YAxis,{tick:{fontSize:10,fill:"hsl(var(--muted-foreground))"},stroke:"rgba(255,255,255,0.06)",allowDecimals:!1}),jsxRuntimeExports.jsx(Tooltip,{contentStyle:{backgroundColor:"hsl(var(--popover))",border:"1px solid rgba(255,255,255,0.1)",borderRadius:8,fontSize:12,color:"hsl(var(--foreground))"},formatter:Ft=>[Ft.toLocaleString(),"Users"]}),jsxRuntimeExports.jsx(Bar,{dataKey:"count",name:"Users",fill:"#8b5cf6",radius:[4,4,0,0],barSize:36})]})}):jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center h-full text-xs text-muted-foreground",children:"No credit data"})})]})]}),jsxRuntimeExports.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-5 space-y-3",children:[jsxRuntimeExports.jsx("h3",{className:"text-sm font-medium text-foreground",children:"Recent Users"}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[rt.slice(0,5).map(Ft=>jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between text-sm",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[jsxRuntimeExports.jsx("div",{className:"h-7 w-7 rounded-full bg-white/[0.06] flex items-center justify-center text-xs font-medium text-muted-foreground shrink-0",children:Ft.email.charAt(0).toUpperCase()}),jsxRuntimeExports.jsx("span",{className:"text-foreground/90 truncate text-xs",children:Ft.email})]}),jsxRuntimeExports.jsx("span",{className:"text-xs text-muted-foreground tabular-nums shrink-0",children:Ft.credits.toLocaleString()})]},Ft.id)),rt.length===0&&jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground py-4 text-center",children:"No users yet"})]})]}),jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] p-5 space-y-3",children:[jsxRuntimeExports.jsx("h3",{className:"text-sm font-medium text-foreground",children:"VIP Summary"}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[gt.slice(0,5).map(Ft=>{const ur=rt.find(hr=>hr.email.trim().toLowerCase()===Ft.email.trim().toLowerCase());return jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between text-sm",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[jsxRuntimeExports.jsx(Badge,{variant:"secondary",className:"bg-primary/15 text-primary text-[10px] shrink-0",children:"VIP"}),jsxRuntimeExports.jsx("span",{className:"text-foreground/90 truncate text-xs",children:Ft.email})]}),jsxRuntimeExports.jsx("span",{className:"text-xs text-muted-foreground tabular-nums shrink-0",children:((ur==null?void 0:ur.credits)??0).toLocaleString()})]},Ft.email)}),gt.length===0&&jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground py-4 text-center",children:"No VIP users yet"})]})]})]})]}),_==="users"&&jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] overflow-hidden",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between gap-4 p-4 border-b border-white/[0.06]",children:[jsxRuntimeExports.jsxs("h3",{className:"text-sm font-medium text-foreground",children:["User Database",jsxRuntimeExports.jsx("span",{className:"text-muted-foreground font-normal ml-2",children:et&&rt.length<(et.total_users??0)?`(showing ${On.length} of ${et.total_users})`:`(${On.length})`})]}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsxs("div",{className:"relative max-w-xs w-full",children:[jsxRuntimeExports.jsx(Search,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),jsxRuntimeExports.jsx(Input,{placeholder:"Search by email...",value:bt,onCh
925ange:Ft=>Et(Ft.target.value),className:"pl-9 h-8 text-xs bg-white/[0.02] border-white/[0.08]"})]}),jsxRuntimeExports.jsxs(Button,{size:"sm",className:"h-8 text-xs shrink-0",onClick:()=>{Sr({email:"",password:"",full_name:"",credits:"0",tier:"none"}),Br(!0)},children:[jsxRuntimeExports.jsx(UserPlus,{className:"h-3.5 w-3.5 mr-1.5"}),"Add User"]})]})]}),jsxRuntimeExports.jsxs(Table,{children:[jsxRuntimeExports.jsx(TableHeader,{children:jsxRuntimeExports.jsxs(TableRow,{className:"border-white/[0.06] hover:bg-transparent",children:[jsxRuntimeExports.jsx(TableHead,{className:"text-xs",children:"Email"}),jsxRuntimeExports.jsx(TableHead,{className:"text-xs",children:jsxRuntimeExports.jsxs("button",{onClick:()=>wt(Ft=>Ft===null?!1:Ft===!1?!0:null),className:"flex items-center gap-1 hover:text-foreground transition-colors",children:["Credits",jsxRuntimeExports.jsx(ArrowUpDown,{className:"h-3 w-3"})]})}),jsxRuntimeExports.jsx(TableHead,{className:"text-xs",children:"Status"}),jsxRuntimeExports.jsx(TableHead,{className:"text-xs",children:"Joined"}),jsxRuntimeExports.jsx(TableHead,{className:"text-xs text-right",children:"Actions"})]})}),jsxRuntimeExports.jsxs(TableBody,{children:[En.map(Ft=>{const ur=_s.has(Ft.email.trim().toLowerCase());return jsxRuntimeExports.jsxs(TableRow,{className:"border-white/[0.04] group",children:[jsxRuntimeExports.jsx(TableCell,{className:"text-sm",children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2.5 min-w-0",children:[jsxRuntimeExports.jsx("div",{className:"h-8 w-8 rounded-full bg-white/[0.06] flex items-center justify-center text-xs font-medium text-muted-foreground shrink-0",children:Ft.email.charAt(0).toUpperCase()}),jsxRuntimeExports.jsxs("div",{className:"min-w-0",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-1.5",children:[jsxRuntimeExports.jsx("span",{className:"truncate text-sm text-foreground",children:Ft.email}),ur&&jsxRuntimeExports.jsx(Badge,{variant:"secondary",className:"bg-primary/15 text-primary text-[10px] shrink-0",children:"VIP"}),Ft.is_unlimited&&jsxRuntimeExports.jsx(Badge,{variant:"secondary",className:"bg-amber-500/15 text-amber-500 text-[10px] shrink-0",children:jsxRuntimeExports.jsx(Infinity$1,{className:"h-3 w-3"})})]}),Ft.full_name&&jsxRuntimeExports.jsx("span",{className:"text-[11px] text-muted-foreground/70 truncate block",children:Ft.full_name})]})]})}),jsxRuntimeExports.jsx(TableCell,{children:jsxRuntimeExports.jsx("span",{className:"text-sm tabular-nums",children:Ft.credits.toLocaleString()})}),jsxRuntimeExports.jsx(TableCell,{children:jsxRuntimeExports.jsx(Badge,{variant:"outline",className:cn("text-[10px] font-normal border-white/[0.08]",Ft.subscription_tier!=="none"?"bg-emerald-500/10 text-emerald-400 border-emerald-500/20":"text-muted-foreground"),children:Ft.subscription_tier==="none"?"Free":Ft.subscription_tier})}),jsxRuntimeExports.jsx(TableCell,{className:"text-sm text-muted-foreground",children:new Date(Ft.created_at).toLocaleDateString()}),jsxRuntimeExports.jsx(TableCell,{className:"text-right",children:jsxRuntimeExports.jsxs("div",{className:"flex justify-end gap-1.5",children:[jsxRuntimeExports.jsx(Button,{size:"sm",variant:"outline",className:"h-7 text-xs border-white/[0.08] hover:bg-white/[0.04]",disabled:at===`${Ft.id}-credits`,onClick:()=>pn(Ft.id,Ft.email,100),children:"+100"}),jsxRuntimeExports.jsxs(DropdownMenu,{children:[jsxRuntimeExports.jsx(DropdownMenuTrigger,{asChild:!0,children:jsxRuntimeExports.jsx(Button,{size:"sm",variant:"ghost",className:"h-7 w-7 p-0 hover:bg-white/[0.06]",children:jsxRuntimeExports.jsx(Ellipsis,{className:"h-4 w-4"})})}),jsxRuntimeExports.jsxs(DropdownMenuContent,{align:"end",className:"w-48",children:[jsxRuntimeExports.jsxs(DropdownMenuItem,{onClick:()=>on(Ft),children:[jsxRuntimeExports.jsx(Eye,{className:"h-4 w-4 mr-2"}),"View / Edit"]}),jsxRuntimeExports.jsxs(DropdownMenuItem,{onClick:()=>Zr(Ft.id,Ft.email),children:[jsxRuntimeExports.jsx(Coins,{className:"h-4 w-4 mr-2"}),"Add Credits"]}),jsxRuntimeExports.jsx(DropdownMenuSeparator,{}),jsxRuntimeExports.jsxs(DropdownMenuItem,{onClick:()=>nn(Ft),className:"text-destructive focus:text-destructive",children:[jsxRuntimeExports.jsx(Trash2,{className:"h-4 w-4 mr-2"}),"Delete User"]})]})]})]})})]},Ft.id)}),En.length===0&&jsxRuntimeExports.jsx(TableRow,{children:jsxRuntimeExports.jsx(TableCell,{colSpan:5,className:"text-center text-muted-foreground py-8 text-sm",children:bt?"No users match your search.":"No users found."})})]})]}),Fn>1&&jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between pt-3",children:[jsxRuntimeExports.jsxs("span",{className:"text-xs text-muted-foreground",children:["Showing ",(sn-1)*Lr+1,"â",Math.min(sn*Lr,On.length)," of ",On.length]}),jsxRuntimeExports.jsxs("div",{className:"flex gap-2",children:[jsxRuntimeExports.jsx(Button,{size:"sm",variant:"outline",className:"h-7 text-xs border-white/[0.08]",disabled:sn<=1,onClick:()=>Sn(Ft=>Ft-1),children:"Previous"}),jsxRuntimeExports.jsx(Button,{size:"sm",variant:"outline",className:"h-7 text-xs border-white/[0.08]",disabled:sn>=Fn,onClick:()=>Sn(Ft=>Ft+1),children:"Next"})]})]})]}),_==="whitelist"&&jsxRuntimeExports.jsxs("div",{className:"space-y-5",children:[jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-primary/20 bg-primary/[0.04] p-5 space-y-3",children:[jsxRuntimeExports.jsxs("h3",{className:"text-sm font-medium text-foreground flex items-center gap-2",children:[jsxRuntimeExports.jsx(Plus,{className:"h-4 w-4 text-primary"}),"Grant VIP Access"]}),jsxRuntimeExports.jsxs("div",{className:"flex gap-3",children:[jsxRuntimeExports.jsx(Input,{placeholder:"[email protected]",value:ht,onChange:Ft=>
925pt(Ft.target.value),onKeyDown:Ft=>Ft.key==="Enter"&&bn(),className:"max-w-md bg-white/[0.02] border-white/[0.08]"}),jsxRuntimeExports.jsxs(Button,{onClick:bn,disabled:!!at||!ht.trim(),className:"bg-primary hover:bg-primary/90 shrink-0",children:[jsxRuntimeExports.jsx(Crown,{className:"h-4 w-4 mr-2"}),"Grant VIP (1M Credits)"]})]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:"Sets the user's balance to at least 1,000,000 credits."})]}),jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] overflow-hidden",children:[jsxRuntimeExports.jsx("div",{className:"p-4 border-b border-white/[0.06]",children:jsxRuntimeExports.jsxs("h3",{className:"text-sm font-medium text-foreground",children:["VIP Users",jsxRuntimeExports.jsxs("span",{className:"text-muted-foreground font-normal ml-2",children:["(",gt.length,")"]})]})}),jsxRuntimeExports.jsxs(Table,{children:[jsxRuntimeExports.jsx(TableHeader,{children:jsxRuntimeExports.jsxs(TableRow,{className:"border-white/[0.06] hover:bg-transparent",children:[jsxRuntimeExports.jsx(TableHead,{className:"text-xs",children:"Email"}),jsxRuntimeExports.jsx(TableHead,{className:"text-xs",children:"Balance"}),jsxRuntimeExports.jsx(TableHead,{className:"text-xs",children:"Added"}),jsxRuntimeExports.jsx(TableHead,{className:"text-xs text-right",children:"Actions"})]})}),jsxRuntimeExports.jsxs(TableBody,{children:[gt.map(Ft=>{const ur=rt.find(hr=>hr.email.trim().toLowerCase()===Ft.email.trim().toLowerCase());return jsxRuntimeExports.jsxs(TableRow,{className:"border-white/[0.04]",children:[jsxRuntimeExports.jsxs(TableCell,{children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx("span",{className:"text-sm text-foreground",children:Ft.email}),jsxRuntimeExports.jsx(Badge,{variant:"secondary",className:"bg-primary/15 text-primary text-[10px]",children:"VIP"})]}),Ft.reason&&jsxRuntimeExports.jsx("div",{className:"text-xs text-muted-foreground mt-0.5",children:Ft.reason})]}),jsxRuntimeExports.jsx(TableCell,{className:"text-sm tabular-nums",children:((ur==null?void 0:ur.credits)??0).toLocaleString()}),jsxRuntimeExports.jsx(TableCell,{className:"text-sm text-muted-foreground",children:new Date(Ft.created_at).toLocaleDateString()}),jsxRuntimeExports.jsx(TableCell,{className:"text-right",children:jsxRuntimeExports.jsxs("div",{className:"flex justify-end gap-1.5",children:[ur&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Button,{size:"sm",variant:"outline",className:"h-7 text-xs border-white/[0.08] hover:bg-white/[0.04]",onClick:()=>pn(ur.id,ur.email,1e5),children:"+100k"}),jsxRuntimeExports.jsx(Button,{size:"sm",variant:"outline",className:"h-7 text-xs border-white/[0.08] hover:bg-white/[0.04]",onClick:()=>Zr(ur.id,ur.email),children:"Custom"})]}),jsxRuntimeExports.jsx(Button,{size:"sm",variant:"destructive",className:"h-7 text-xs",onClick:()=>tn(Ft.email),disabled:at===`whitelist-remove:${Ft.email}`,children:"Remove"})]})})]},Ft.email)}),gt.length===0&&jsxRuntimeExports.jsx(TableRow,{children:jsxRuntimeExports.jsxs(TableCell,{colSpan:4,className:"text-center py-12",children:[jsxRuntimeExports.jsx(UserX,{className:"h-8 w-8 text-muted-foreground/40 mx-auto mb-3"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground",children:"No VIP users yet"}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground/60 mt-1",children:"Add one using the form above"})]})})]})]})]})]}),_==="jobs"&&jsxRuntimeExports.jsxs("div",{className:"space-y-5",children:[jsxRuntimeExports.jsxs("div",{className:"flex flex-col sm:flex-row items-start sm:items-center justify-between gap-3",children:[jsxRuntimeExports.jsx("div",{className:"flex items-center gap-2 flex-wrap",children:["all","pending","running","done","failed"].map(Ft=>jsxRuntimeExports.jsxs(Button,{size:"sm",variant:rr===Ft?"default":"outline",className:cn("h-7 text-xs capitalize",rr!==Ft&&"border-white/[0.08] hover:bg-white/[0.04]"),onClick:()=>cr(Ft),children:[Ft==="all"?"All":Ft,Ft!=="all"&&jsxRuntimeExports.jsx("span",{className:"ml-1.5 h-2 w-2 rounded-full inline-block",style:{background:STATUS_COLORS[Ft]||"#6b7280"}})]},Ft))}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2 w-full sm:w-auto",children:[jsxRuntimeExports.jsxs(Button,{size:"sm",variant:"outline",className:"h-8 text-xs border-amber-500/30 text-amber-400 hover:bg-amber-500/10",onClick:async()=>{try{const{data:Ft,error:ur}=await supabase.rpc("reap_stale_jobs",{max_age_minutes:60});if(ur)throw ur;const hr=Ft;pr({title:"Stale jobs reaped",description:`${(hr==null?void 0:hr.reaped_jobs)??0} jobs, ${(hr==null?void 0:hr.reaped_tasks)??0} tasks marked as failed`,variant:"success"}),Hr(rr,xr)}catch(Ft){pr({title:"Reap failed",description:Ft.message,variant:"destructive"})}},children:[jsxRuntimeExports.jsx(Skull,{className:"h-3.5 w-3.5"})," Reap Stale"]}),jsxRuntimeExports.jsxs("div",{className:"relative flex-1 sm:w-56",children:[jsxRuntimeExports.jsx(Search,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),jsxRuntimeExports.jsx(Input,{placeholder:"Search by email...",value:xr,onChange:Ft=>Pr(Ft.target.value),onKeyDown:Ft=>{Ft.key==="Enter"&&Hr(rr,xr)},className:"pl-9 h-8 text-xs bg-white/[0.02] border-white/[0.08]"})]}),jsxRuntimeExports.jsx(Button,{size:"sm",variant:"outline",className:"h-8 text-xs border-white/[0.08] hover:bg-white/[0.04]",onClick:()=>Hr(rr,xr),disabled:nr,children:nr?jsxRuntimeExports.jsx(LoaderCircle,{className:"h-3.5 w-3.5 animate-spin"}):jsxRuntimeExports.jsx(RefreshCw,{className:"h-3.5 w-3.5"})})]})]}),jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] overflow-hidden",children:[jsxRuntimeExports.jsxs(Table,{children:[jsxRuntimeExports.jsx(TableHeader,{children:jsxRuntimeExports.jsxs(TableRow,{className:"border-white/[0.06] hover:bg-transparent",children:[jsxRuntimeExports.jsx(TableHead,{className:"text-xs",children:"User"}),jsxRuntimeExports.jsx(TableHead,{className:"text-xs",children:"Status"}),jsxRuntimeExports.jsx(TableHead,{className:"text-xs",children:"Tasks"}),jsxRuntimeExports.jsx(TableHead,{className:"text-xs",children:"Niche"}),jsxRuntimeExports.jsx(TableHead,{className:"text-xs",children:"Created"}),jsxRuntimeExports.jsx(TableHead,{className:"text-xs text-right",children:"Actions"})]})}),jsxRuntimeExports.jsxs(TableBody,{children:[Jn.map(Ft=>{const ur=Ft.tasks_total>0?Math.round((Ft.tasks_done+Ft.tasks_failed)/Ft.tasks_total*100):0;return jsxRuntimeExports.jsxs(TableRow,{className:"border-white/[0.04] group",children:[jsxRuntimeExports.jsx(TableCell,{children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[jsxRuntimeExports.jsx("div",{className:"h-7 w-7 rounded-full bg-white/[0.06] flex items-center justify-center text-xs font-medium text-muted-foreground shrink-0",children:Ft.email.charAt(0).toUpperCase()}),jsxRuntimeExports.jsxs("div",{className:"min-w-0",children:[jsxRuntimeExports.jsx("span",{className:"text-sm text-foreground truncate block",children:Ft.email}),jsxRuntimeExports.jsx("span",{className:"text-[10px] text-muted-foreground
925/60 truncate block font-mono",children:Ft.id.slice(0,8)})]})]})}),jsxRuntimeExports.jsx(TableCell,{children:jsxRuntimeExports.jsxs(Badge,{variant:"outline",className:cn("text-[10px] font-normal border-white/[0.08] capitalize",Ft.status==="done"&&"bg-emerald-500/10 text-emerald-400 border-emerald-500/20",Ft.status==="failed"&&"bg-red-500/10 text-red-400 border-red-500/20",Ft.status==="running"&&"bg-amber-500/10 text-amber-400 border-amber-500/20",Ft.status==="pending"&&"bg-gray-500/10 text-gray-400 border-gray-500/20"),children:[Ft.status==="running"&&jsxRuntimeExports.jsx(LoaderCircle,{className:"h-3 w-3 animate-spin mr-1"}),Ft.status]})}),jsxRuntimeExports.jsx(TableCell,{children:jsxRuntimeExports.jsxs("div",{className:"space-y-1",children:[jsxRuntimeExports.jsxs("div",{className:"text-xs tabular-nums",children:[jsxRuntimeExports.jsx("span",{className:"text-emerald-400",children:Ft.tasks_done}),Ft.tasks_failed>0&&jsxRuntimeExports.jsxs("span",{className:"text-red-400 ml-1",children:["/ ",Ft.tasks_failed,"f"]}),jsxRuntimeExports.jsxs("span",{className:"text-muted-foreground",children:[" / ",Ft.tasks_total]})]}),jsxRuntimeExports.jsx("div",{className:"w-20 h-1 bg-white/[0.06] rounded-full overflow-hidden",children:jsxRuntimeExports.jsx("div",{className:"h-full rounded-full transition-all",style:{width:`${ur}%`,background:Ft.tasks_failed>0?"#ef4444":"#22c55e"}})})]})}),jsxRuntimeExports.jsx(TableCell,{className:"text-sm text-muted-foreground capitalize",children:Ft.niche||"â"}),jsxRuntimeExports.jsx(TableCell,{className:"text-sm text-muted-foreground",children:new Date(Ft.created_at).toLocaleString(void 0,{month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})}),jsxRuntimeExports.jsx(TableCell,{className:"text-right",children:jsxRuntimeExports.jsxs("div",{className:"flex justify-end gap-1.5",children:[jsxRuntimeExports.jsxs(Button,{size:"sm",variant:"outline",className:"h-7 text-xs border-white/[0.08] hover:bg-white/[0.04]",onClick:()=>Yr(Ft),children:[jsxRuntimeExports.jsx(Eye,{className:"h-3.5 w-3.5 mr-1"}),"Details"]}),(Ft.status==="pending"||Ft.status==="running")&&jsxRuntimeExports.jsx(Button,{size:"sm",variant:"destructive",className:"h-7 text-xs",onClick:()=>Xr(Ft.id),disabled:at===`cancel-${Ft.id}`,children:at===`cancel-${Ft.id}`?jsxRuntimeExports.jsx(LoaderCircle,{className:"h-3.5 w-3.5 animate-spin"}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(CircleStop,{className:"h-3.5 w-3.5 mr-1"}),"Cancel"]})})]})})]},Ft.id)}),Jn.length===0&&jsxRuntimeExports.jsx(TableRow,{children:jsxRuntimeExports.jsx(TableCell,{colSpan:6,className:"text-center py-12",children:nr?jsxRuntimeExports.jsx(LoaderCircle,{className:"h-6 w-6 animate-spin text-muted-foreground mx-auto"}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Layers,{className:"h-8 w-8 text-muted-foreground/40 mx-auto mb-3"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground",children:"No jobs found"}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground/60 mt-1",children:"Adjust filters or wait for new generations"})]})})})]})]}),Ln>1&&jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between pt-3",children:[jsxRuntimeExports.jsxs("span",{className:"text-xs text-muted-foreground",children:["Showing ",(yn-1)*Lr+1,"â",Math.min(yn*Lr,Wt.length)," of ",Wt.length]}),jsxRuntimeExports.jsxs("div",{className:"flex gap-2",children:[jsxRuntimeExports.jsx(Button,{size:"sm",variant:"outline",className:"h-7 text-xs border-white/[0.08]",disabled:yn<=1,onClick:()=>vn(Ft=>Ft-1),children:"Previous"}),jsxRuntimeExports.jsx(Button,{size:"sm",variant:"outline",className:"h-7 text-xs border-white/[0.08]",disabled:yn>=Ln,onClick:()=>vn(Ft=>Ft+1),children:"Next"})]})]})]})]}),_==="purchases"&&jsxRuntimeExports.jsxs("div",{className:"space-y-5",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between",children:[jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h3",{className:"text-sm font-medium text-foreground",children:"Recent Purchases"}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground mt-0.5",children:"Live overview of completed Stripe checkout sessions."})]}),jsxRuntimeExports.jsxs(Button,{size:"sm",variant:"outline",className:"h-8 text-xs border-white/[0.08]",onClick:Gr,disabled:qr,children:[qr?jsxRuntimeExports.jsx(LoaderCircle,{className:"h-3.5 w-3.5 animate-spin mr-1.5"}):jsxRuntimeExports.jsx(RefreshCw,{className:"h-3.5 w-3.5 mr-1.5"}),"Refetch Purchases"]})]}),jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-white/[0.06] overflow-hidden",children:[jsxRuntimeExports.jsxs(Table,{children:[jsxRuntimeExports.jsx(TableHeader,{children:jsxRuntimeExports.jsxs(TableRow,{className:"border-white/[0.06] hover:bg-transparent",children:[jsxRuntimeExports.jsx(TableHead,{className:"text-xs",children:"Customer"}),jsxRuntimeExports.jsx(TableHead,{className:"text-xs",children:"Package"}),jsxRuntimeExports.jsx(TableHead,{className:"text-xs",children:"Amount"}),jsxRuntimeExports.jsx(TableHead,{className:"text-xs",children:"Type"}),jsxRuntimeExports.jsx(TableHead,{className:"text-xs",children:"Status"}),jsxRuntimeExports.jsx(TableHead,{className:"text-xs",children:"Date"})]})}),jsxRuntimeExports.jsx(TableBody,{children:qr?jsxRuntimeExports.jsx(TableRow,{children:jsxRuntimeExports.jsx(TableCell,{colSpan:6,className:"text-center py-12",children:jsxRuntimeExports.jsx(LoaderCircle,{className:"h-6 w-6 animate-spin text-muted-foreground mx-auto"})})}):$r.length===0?jsxRuntimeExports.jsx(TableRow,{children:jsxRuntimeExports.jsxs(TableCell,{colSpan:6,className:"text-center py-12",children:[jsxRuntimeExports.jsx(ShoppingCart,{className:"h-8 w-8 text-muted-foreground
925/40 mx-auto mb-3"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground",children:"No purchases found"}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground/60 mt-1",children:"Completed Stripe checkouts will appear here"})]})}):to.map(Ft=>jsxRuntimeExports.jsxs(TableRow,{className:"border-white/[0.04]",children:[jsxRuntimeExports.jsx(TableCell,{children:jsxRuntimeExports.jsxs("div",{className:"min-w-0",children:[jsxRuntimeExports.jsx("span",{className:"text-sm text-foreground truncate block",children:Ft.email}),Ft.customer_name&&jsxRuntimeExports.jsx("span",{className:"text-[10px] text-muted-foreground/60 truncate block",children:Ft.customer_name})]})}),jsxRuntimeExports.jsx(TableCell,{children:jsxRuntimeExports.jsx("span",{className:"text-sm text-foreground",children:Ft.package})}),jsxRuntimeExports.jsx(TableCell,{children:jsxRuntimeExports.jsxs("span",{className:"text-sm font-medium text-foreground tabular-nums",children:[Ft.currency==="EUR"?"â¬":Ft.currency==="USD"?"$":Ft.currency,Ft.amount.toFixed(2)]})}),jsxRuntimeExports.jsx(TableCell,{children:jsxRuntimeExports.jsx(Badge,{variant:"outline",className:cn("text-[10px] border-white/[0.08]",Ft.mode==="subscription"?"bg-primary/10 text-primary border-primary/20":"bg-white/[0.04]"),children:Ft.mode==="subscription"?"Subscription":"One-time"})}),jsxRuntimeExports.jsx(TableCell,{children:jsxRuntimeExports.jsx(Badge,{variant:"outline",className:cn("text-[10px] border-white/[0.08]",Ft.status==="paid"?"bg-emerald-500/10 text-emerald-400 border-emerald-500/20":"bg-amber-500/10 text-amber-400 border-amber-500/20"),children:Ft.status})}),jsxRuntimeExports.jsx(TableCell,{children:jsxRuntimeExports.jsxs("span",{className:"text-xs text-muted-foreground tabular-nums",children:[new Date(Ft.created_at).toLocaleDateString()," ",new Date(Ft.created_at).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})]})})]},Ft.id))})]}),An>1&&jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between pt-3",children:[jsxRuntimeExports.jsxs("span",{className:"text-xs text-muted-foreground",children:["Showing ",(_n-1)*Lr+1,"â",Math.min(_n*Lr,$r.length)," of ",$r.length]}),jsxRuntimeExports.jsxs("div",{className:"flex gap-2",children:[jsxRuntimeExports.jsx(Button,{size:"sm",variant:"outline",className:"h-7 text-xs border-white/[0.08]",disabled:_n<=1,onClick:()=>Cr(Ft=>Ft-1),children:"Previous"}),jsxRuntimeExports.jsx(Button,{size:"sm",variant:"outline",className:"h-7 text-xs border-white/[0.08]",disabled:_n>=An,onClick:()=>Cr(Ft=>Ft+1),children:"Next"})]})]})]})]}),_==="profile"&&jsxRuntimeExports.jsx(AdminProfileTab,{})]})})]}),jsxRuntimeExports.jsx(Dialog,{open:Rt,onOpenChange:Ct,children:jsxRuntimeExports.jsxs(DialogContent,{className:"sm:max-w-md",children:[jsxRuntimeExports.jsxs(DialogHeader,{children:[jsxRuntimeExports.jsx(DialogTitle,{children:"Add Credits"}),jsxRuntimeExports.jsxs(DialogDescription,{children:["Add a custom credit amount to ",jsxRuntimeExports.jsx("span",{className:"font-medium text-foreground",children:jt==null?void 0:jt.email})]})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2 py-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"credit-amount",children:"Amount"}),jsxRuntimeExports.jsx(Input,{id:"credit-amount",type:"number",value:It,onChange:Ft=>Ot(Ft.target.value),onKeyDown:Ft=>Ft.key==="Enter"&&un(),min:1,placeholder:"1000",autoFocus:!0})]}),jsxRuntimeExports.jsxs(DialogFooter,{children:[jsxRuntimeExports.jsx(Button,{variant:"outline",onClick:()=>Ct(!1),children:"Cancel"}),jsxRuntimeExports.jsxs(Button,{onClick:un,children:[jsxRuntimeExports.jsx(Coins,{className:"h-4 w-4 mr-2"}),"Add ",parseInt(It)>0?parseInt(It).toLocaleString():0," Credits"]})]})]})}),jsxRuntimeExports.jsx(AlertDialog,{open:At,onOpenChange:Tt,children:jsxRuntimeExports.jsxs(AlertDialogContent,{children:[jsxRuntimeExports.jsxs(AlertDialogHeader,{children:[jsxRuntimeExports.jsx(AlertDialogTitle,{children:"Remove VIP Access?"}),jsxRuntimeExports.jsxs(AlertDialogDescription,{children:["This will remove ",jsxRuntimeExports.jsx("span",{className:"font-medium text-foreground",children:kt})," from the VIP list and revoke their unlimited status. Their existing credit balance will not be changed."]})]}),jsxRuntimeExports.jsxs(AlertDialogFooter,{children:[jsxRuntimeExports.jsx(AlertDialogCancel,{children:"Cancel"}),jsxRuntimeExports.jsx(AlertDialogAction,{onClick:rn,className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",children:"Remove VIP Access"})]})]})}),jsxRuntimeExports.jsx(Dialog,{open:Pt,onOpenChange:$t,children:jsxRuntimeExports.jsxs(DialogContent,{className:"sm:max-w-lg",children:[jsxRuntimeExports.jsxs(DialogHeader,{children:[jsxRuntimeExports.jsxs(DialogTitle,{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Pencil,{className:"h-4 w-4 text-muted-foreground"}),"Manage User"]}),jsxRuntimeExports.jsxs(DialogDescription,{children:[Nt==null?void 0:Nt.email,Nt&&jsxRuntimeExports.jsxs("span",{className:"text-muted-foreground
925/60 ml-2",children:["Joined ",new Date(Nt.created_at).toLocaleDateString()]})]})]}),Nt&&jsxRuntimeExports.jsxs("div",{className:"space-y-5 py-2",children:[jsxRuntimeExports.jsxs("div",{className:"rounded-lg border border-white/[0.06] bg-white/[0.02] p-4 space-y-3",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground",children:"Credits"}),jsxRuntimeExports.jsxs("span",{className:"text-xs text-muted-foreground/60",children:["Current: ",Nt.credits.toLocaleString()]})]}),jsxRuntimeExports.jsxs("div",{className:"flex gap-2",children:[jsxRuntimeExports.jsx(Input,{type:"number",value:Vt,onChange:Ft=>Ht(Ft.target.value),onKeyDown:Ft=>Ft.key==="Enter"&&Tn(),min:0,className:"bg-white/[0.02] border-white/[0.08]"}),jsxRuntimeExports.jsx(Button,{size:"sm",onClick:Tn,disabled:at===`${Nt.id}-set-credits`,className:"shrink-0",children:at===`${Nt.id}-set-credits`?jsxRuntimeExports.jsx(LoaderCircle,{className:"h-4 w-4 animate-spin"}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Save,{className:"h-3.5 w-3.5 mr-1.5"}),"Set"]})})]}),jsxRuntimeExports.jsx("div",{className:"flex gap-1.5",children:[0,100,1e3,1e4,1e5,1e6].map(Ft=>jsxRuntimeExports.jsx(Button,{size:"sm",variant:"outline",className:"h-6 text-[10px] border-white/[0.08] hover:bg-white/[0.04] px-2",onClick:()=>Ht(String(Ft)),children:Ft===0?"Reset":Ft.toLocaleString()},Ft))})]}),jsxRuntimeExports.jsxs("div",{className:"rounded-lg border border-white/[0.06] bg-white/[0.02] p-4 space-y-4",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs font-medium text-muted-foreground",children:"Profile"}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"edit-name",className:"text-xs",children:"Full Name"}),jsxRuntimeExports.jsx(Input,{id:"edit-name",value:ir,onChange:Ft=>Jt(Ft.target.value),placeholder:"No name set",className:"bg-white/[0.02] border-white/[0.08]"})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"edit-tier",className:"text-xs",children:"Subscription Tier"}),jsxRuntimeExports.jsxs("select",{id:"edit-tier",value:Gt,onChange:Ft=>Kt(Ft.target.value),className:"flex h-9 w-full rounded-md border border-white/[0.08] bg-white/[0.02] px-3 py-1 text-sm text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",children:[jsxRuntimeExports.jsx("option",{value:"none",children:"Free"}),jsxRuntimeExports.jsx("option",{value:"starter",children:"Starter"}),jsxRuntimeExports.jsx("option",{value:"pro",children:"Pro"}),jsxRuntimeExports.jsx("option",{value:"enterprise",children:"Enterprise"})]})]}),jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between",children:[jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"edit-unlimited",className:"text-xs",children:"Unlimited Mode"}),jsxRuntimeExports.jsx("p",{className:"text-[10px] text-muted-foreground/60 mt-0.5",children:"Bypass credit checks entirely"})]}),jsxRuntimeExports.jsx(Switch,{id:"edit-unlimited",checked:Qt,onCheckedChange:er})]})]})]}),jsxRuntimeExports.jsxs(DialogFooter,{className:"flex-col sm:flex-row gap-2",children:[jsxRuntimeExports.jsxs(Button,{variant:"destructive",size:"sm",className:"sm:mr-auto",onClick:()=>{Nt&&($t(!1),nn(Nt))},children:[jsxRuntimeExports.jsx(Trash2,{className:"h-3.5 w-3.5 mr-1.5"}),"Delete User"]}),jsxRuntimeExports.jsx(Button,{variant:"outline",onClick:()=>$t(!1),children:"Cancel"}),jsxRuntimeExports.jsxs(Button,{onClick:cs,disabled:at===`${Nt==null?void 0:Nt.id}-update`,children:[at===`${Nt==null?void 0:Nt.id}-update`?jsxRuntimeExports.jsx(LoaderCircle,{className:"h-4 w-4 animate-spin mr-2"}):jsxRuntimeExports.jsx(Save,{className:"h-4 w-4 mr-2"}),"Save Changes"]})]})]})}),jsxRuntimeExports.jsx(AlertDialog,{open:Bt,onOpenChange:Zt,children:jsxRuntimeExports.jsxs(AlertDialogContent,{children:[jsxRuntimeExports.jsxs(AlertDialogHeader,{children:[jsxRuntimeExports.jsx(AlertDialogTitle,{children:"Delete User Permanently?"}),jsxRuntimeExports.jsxs(AlertDialogDescription,{children:["This will permanently delete"," ",jsxRuntimeExports.jsx("span",{className:"font-medium text-foreground",children:qt==null?void 0:qt.email})," ","and all their data including profile, generation jobs, and images. This action cannot be undone."]})]}),jsxRuntimeExports.jsxs(AlertDialogFooter,{children:[jsxRuntimeExports.jsx(AlertDialogCancel,{children:"Cancel"}),jsxRuntimeExports.jsx(AlertDialogAction,{onClick:en,className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",children:"Delete Permanently"})]})]})}),jsxRuntimeExports.jsx(Dialog,{open:Dr,onOpenChange:Tr,children:jsxRuntimeExports.jsxs(DialogContent,{className:"sm:max-w-2xl max-h-[85vh] overflow-y-auto",children:[jsxRuntimeExports.jsxs(DialogHeader,{children:[jsxRuntimeExports.jsxs(DialogTitle,{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Layers,{className:"h-4 w-4 text-muted-foreground"}),"Job Details"]}
925),jsxRuntimeExports.jsx(DialogDescription,{children:Xt&&jsxRuntimeExports.jsx("span",{className:"font-mono text-xs",children:Xt.id})})]}),Xt&&jsxRuntimeExports.jsxs("div",{className:"space-y-4 py-2",children:[jsxRuntimeExports.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[jsxRuntimeExports.jsxs("div",{className:"rounded-lg border border-white/[0.06] bg-white/[0.02] p-3 space-y-1",children:[jsxRuntimeExports.jsx("span",{className:"text-[10px] text-muted-foreground uppercase tracking-wide",children:"User"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-foreground",children:Xt.email})]}),jsxRuntimeExports.jsxs("div",{className:"rounded-lg border border-white/[0.06] bg-white/[0.02] p-3 space-y-1",children:[jsxRuntimeExports.jsx("span",{className:"text-[10px] text-muted-foreground uppercase tracking-wide",children:"Status"}),jsxRuntimeExports.jsx("div",{children:jsxRuntimeExports.jsx(Badge,{variant:"outline",className:cn("text-[10px] font-normal border-white/[0.08] capitalize",Xt.status==="done"&&"bg-emerald-500/10 text-emerald-400 border-emerald-500/20",Xt.status==="failed"&&"bg-red-500/10 text-red-400 border-red-500/20",Xt.status==="running"&&"bg-amber-500/10 text-amber-400 border-amber-500/20"),children:Xt.status})})]}),jsxRuntimeExports.jsxs("div",{className:"rounded-lg border border-white/[0.06] bg-white/[0.02] p-3 space-y-1",children:[jsxRuntimeExports.jsx("span",{className:"text-[10px] text-muted-foreground uppercase tracking-wide",children:"Niche"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-foreground capitalize",children:Xt.niche||"â"})]}),jsxRuntimeExports.jsxs("div",{className:"rounded-lg border border-white/[0.06] bg-white/[0.02] p-3 space-y-1",children:[jsxRuntimeExports.jsx("span",{className:"text-[10px] text-muted-foreground uppercase tracking-wide",children:"Progress"}),jsxRuntimeExports.jsxs("p",{className:"text-sm tabular-nums",children:[jsxRuntimeExports.jsx("span",{className:"text-emerald-400",children:Xt.tasks_done}),Xt.tasks_failed>0&&jsxRuntimeExports.jsxs("span",{className:"text-red-400",children:[" / ",Xt.tasks_failed,"f"]}),jsxRuntimeExports.jsxs("span",{className:"text-muted-foreground",children:[" / ",Xt.tasks_total]})]})]}),jsxRuntimeExports.jsxs("div",{className:"rounded-lg border border-white/[0.06] bg-white/[0.02] p-3 space-y-1",children:[jsxRuntimeExports.jsx("span",{className:"text-[10px] text-muted-foreground uppercase tracking-wide",children:"Created"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-foreground",children:new Date(Xt.created_at).toLocaleString()})]}),jsxRuntimeExports.jsxs("div",{className:"rounded-lg border border-white/[0.06] bg-white/[0.02] p-3 space-y-1",children:[jsxRuntimeExports.jsx("span",{className:"text-[10px] text-muted-foreground uppercase tracking-wide",children:"Completed"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-foreground",children:Xt.completed_at?new Date(Xt.completed_at).toLocaleString():"â"})]})]}),Xt.config&&jsxRuntimeExports.jsxs("div",{className:"rounded-lg border border-white/[0.06] bg-white/[0.02] p-3 space-y-2",children:[jsxRuntimeExports.jsx("span",{className:"text-[10px] text-muted-foreground uppercase tracking-wide",children:"Config"}),jsxRuntimeExports.jsx("pre",{className:"text-xs text-foreground/80 whitespace-pre-wrap font-mono bg-black/20 rounded p-2 max-h-32 overflow-y-auto",children:JSON.stringify(Xt.config,null,2)})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between",children:[jsxRuntimeExports.jsx("span",{className:"text-xs font-medium text-foreground",children:"Tasks"}),Ir&&jsxRuntimeExports.jsx(LoaderCircle,{className:"h-3.5 w-3.5 animate-spin text-muted-foreground"})]}),Vr.length>0?jsxRuntimeExports.jsx("div",{className:"rounded-lg border border-white/[0.06] overflow-hidden",children:jsxRuntimeExports.jsxs(Table,{children:[jsxRuntimeExports.jsx(TableHeader,{children:jsxRuntimeExports.jsxs(TableRow,{className:"border-white/[0.06] hover:bg-transparent",children:[jsxRuntimeExports.jsx(TableHead,{className:"text-[10px]",children:"View"}),jsxRuntimeExports.jsx(TableHead,{className:"text-[10px]",children:"Variant"}),jsxRuntimeExports.jsx(TableHead,{className:"text-[10px]",children:"Status"}),jsxRuntimeExports.jsx(TableHead,{className:"text-[10px]",children:"Attempts"}),jsxRuntimeExports.jsx(TableHead,{className:"text-[10px]",children:"Result"})]})}),jsxRuntimeExports.jsx(TableBody,{children:Vr.map(Ft=>jsxRuntimeExports.jsxs(TableRow,{className:"border-white/[0.04]",children:[jsxRuntimeExports.jsxs(TableCell,{className:"text-xs capitalize",children:[Ft.is_base&&jsxRuntimeExports.jsx(Badge,{variant:"secondary",className:"bg-primary/15 text-primary text-[8px] mr-1.5",children:"BASE"}),Ft.view_name]}),jsxRuntimeExports.jsx(TableCell,{children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-1.5",children:[Ft.variant_color&&jsxRuntimeExports.jsx("span",{className:"h-3 w-3 rounded-full border border-white/[0.12] shrink-0",style:{background:Ft.variant_color}}),jsxRuntimeExports.jsx("span",{className:"text-xs",children:Ft.variant_name||"â"})]})}),jsxRuntimeExports.jsxs(TableCell,{children:[jsxRuntimeExports.jsx(Badge,{variant:"outline",className:cn("text-[9px] font-normal border-white/[0.08] capitalize",Ft.status==="done"&&"bg-emerald-500/10 text-emerald-400 border-emerald-500/20",Ft.status==="failed"&&"bg-red-500/10 text-red-400 border-red-500/20",Ft.status==="running"&&"bg-amber-500/10 text-amber-400 border-amber-500/20"),children:Ft.status}),Ft.last_error&&jsxRuntimeExports.jsx("p",{className:"text-[10px] text-red-400/80 mt-0.5 max-w-[200px] truncate",title:Ft.last_error,children:Ft.last_error})]}),jsxRuntimeExports.jsxs(TableCell,{className:"text-xs tabular-nums text-muted-foreground",children:[Ft.attempt_count,"/",Ft.max_attempts]}),jsxRuntimeExports.jsx(TableCell,{children:Ft.result_url?jsxRuntimeExports.jsxs("a",{href:Ft.result_url,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-primary hover:underline inline-flex items-center gap-1",children:["View ",jsxRuntimeExports.jsx(ExternalLink,{className:"h-3 w-3"})]}):jsxRuntimeExports.jsx("span",{className:"text-xs text-muted-foreground
925/50",children:"â"})})]},Ft.id))})]})}):Ir?null:jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground/60 text-center py-4",children:"No tasks found"})]})]}),jsxRuntimeExports.jsxs(DialogFooter,{children:[Xt&&(Xt.status==="pending"||Xt.status==="running")&&jsxRuntimeExports.jsxs(Button,{variant:"destructive",size:"sm",className:"mr-auto",onClick:()=>{Xr(Xt.id)},disabled:at===`cancel-${Xt.id}`,children:[at===`cancel-${Xt.id}`?jsxRuntimeExports.jsx(LoaderCircle,{className:"h-3.5 w-3.5 animate-spin mr-1.5"}):jsxRuntimeExports.jsx(CircleStop,{className:"h-3.5 w-3.5 mr-1.5"}),"Cancel Job"]}),jsxRuntimeExports.jsx(Button,{variant:"outline",onClick:()=>Tr(!1),children:"Close"})]})]})}),jsxRuntimeExports.jsx(Dialog,{open:wr,onOpenChange:Br,children:jsxRuntimeExports.jsxs(DialogContent,{className:"sm:max-w-md",children:[jsxRuntimeExports.jsxs(DialogHeader,{children:[jsxRuntimeExports.jsxs(DialogTitle,{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(UserPlus,{className:"h-4 w-4 text-muted-foreground"}),"Create New User"]}),jsxRuntimeExports.jsx(DialogDescription,{children:"Add a new user to the platform. They'll be able to log in immediately with these credentials."})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-4 py-2",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"new-user-email",className:"text-xs",children:"Email *"}),jsxRuntimeExports.jsx(Input,{id:"new-user-email",type:"email",value:dr.email,onChange:Ft=>Sr(ur=>({...ur,email:Ft.target.value})),placeholder:"[email protected]",className:"bg-white/[0.02] border-white/[0.08]",autoFocus:!0})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"new-user-password",className:"text-xs",children:"Password *"}),jsxRuntimeExports.jsxs("div",{className:"relative",children:[jsxRuntimeExports.jsx(KeyRound,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),jsxRuntimeExports.jsx(Input,{id:"new-user-password",type:"text",value:dr.password,onChange:Ft=>Sr(ur=>({...ur,password:Ft.target.value})),placeholder:"Min 6 characters",className:"pl-9 bg-white/[0.02] border-white/[0.08]"})]}),jsxRuntimeExports.jsx("p",{className:"text-[10px] text-muted-foreground/60",children:"Visible for admin convenience. User can reset later."})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"new-user-name",className:"text-xs",children:"Full Name"}),jsxRuntimeExports.jsx(Input,{id:"new-user-name",value:dr.full_name,onChange:Ft=>Sr(ur=>({...ur,full_name:Ft.target.value})),placeholder:"Optional",className:"bg-white/[0.02] border-white/[0.08]"})]}),jsxRuntimeExports.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"new-user-credits",className:"text-xs",children:"Starting Credits"}),jsxRuntimeExports.jsx(Input,{id:"new-user-credits",type:"number",value:dr.credits,onChange:Ft=>Sr(ur=>({...ur,credits:Ft.target.value})),min:0,className:"bg-white/[0.02] border-white/[0.08]"})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"new-user-tier",className:"text-xs",children:"Subscription Tier"}),jsxRuntimeExports.jsxs("select",{id:"new-user-tier",value:dr.tier,onChange:Ft=>Sr(ur=>({...ur,tier:Ft.target.value})),className:"flex h-9 w-full rounded-md border border-white/[0.08] bg-white/[0.02] px-3 py-1 text-sm text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",children:[jsxRuntimeExports.jsx("option",{value:"none",children:"Free"}),jsxRuntimeExports.jsx("option",{value:"starter",children:"Starter"}),jsxRuntimeExports.jsx("option",{value:"pro",children:"Pro"}),jsxRuntimeExports.jsx("option",{value:"enterprise",children:"Enterprise"})]})]})]})]}),jsxRuntimeExports.jsxs(DialogFooter,{children:[jsxRuntimeExports.jsx(Button,{variant:"outline",onClick:()=>Br(!1),children:"Cancel"}),jsxRuntimeExports.jsxs(Button,{onClick:kn,disabled:at==="create-user"||!dr.email.trim()||dr.password.length<6,children:[at==="create-user"?jsxRuntimeExports.jsx(LoaderCircle,{className:"h-4 w-4 animate-spin mr-2"}):jsxRuntimeExports.jsx(UserPlus,{className:"h-4 w-4 mr-2"}),"Create User"]})]})]})})]}):jsxRuntimeExports.jsx("div",{className:"flex h-screen items-center justify-center bg-background",children:jsxRuntimeExports.jsxs("div",{className:"w-full max-w-md rounded-2xl border border-white/[0.06] bg-white/[0.02] p-8 text-center space-y-5",children:[jsxRuntimeExports.jsx("div",{className:"mx-auto w-fit roun
925ded-full bg-destructive/10 p-3",children:jsxRuntimeExports.jsx(Lock,{className:"h-6 w-6 text-destructive"})}),jsxRuntimeExports.jsx("h2",{className:"text-xl font-semibold text-foreground",children:"Admin Access Required"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground",children:"You must be logged in as an administrator to access this dashboard."}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-2",children:[jsxRuntimeExports.jsx(Button,{className:"w-full",onClick:()=>jr("/admin/login"),children:"Log In"}),jsxRuntimeExports.jsx(Button,{variant:"ghost",className:"w-full text-muted-foreground",onClick:()=>jr("/"),children:"Back to Home"})]})]})})}function AdminLogin(){const[_,j]=reactExports.useState(""),[et,tt]=reactExports.useState(""),[rt,nt]=reactExports.useState(!1),{toast:it}=useToast(),st=useNavigate(),at=async ot=>{var lt;ot.preventDefault(),nt(!0);try{{const ct=_.trim(),ut=ct.toLowerCase()==="[email protected]";let dt=await supabase.auth.signInWithPassword({email:ct,password:et});if(dt.error)throw dt.error;const{data:ht,error:pt}=await supabase.rpc("is_admin"),gt=((lt=dt.data.user)==null?void 0:lt.email)==="[email protected]";if(pt){if(console.warn("is_admin RPC failed, falling back to email check:",pt),!gt)throw await supabase.auth.signOut(),new Error("Access denied. Admin privileges required.")}else if(!ht&&!gt)throw await supabase.auth.signOut(),new Error("Access denied. Admin privileges required.");it({title:"Welcome, Admin!",description:"Successfully logged in.",variant:"success"}),st("/admin",{replace:!0})}}catch(ct){it({title:"Login failed",description:ct.message||"Invalid credentials or insufficient privileges.",variant:"destructive"})}finally{nt(!1)}};return jsxRuntimeExports.jsxs("div",{className:"min-h-screen bg-background flex flex-col",children:[jsxRuntimeExports.jsx("header",{className:"border-b border-border/50 bg-card/50 backdrop-blur-sm",children:jsxRuntimeExports.jsx("div",{className:"container max-w-5xl mx-auto px-4 py-4",children:jsxRuntimeExports.jsxs("div",{className:"flex items-center space-x-3",children:[jsxRuntimeExports.jsx("div",{className:"w-10 h-10 rounded-xl bg-primary flex items-center justify-center",children:jsxRuntimeExports.jsx(ShieldCheck,{className:"w-5 h-5 text-primary-foreground"})}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h1",{className:"text-xl font-semibold text-foreground",children:"Admin Portal"}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:"Authorized Personnel Only"})]})]})})}),jsxRuntimeExports.jsx("main",{className:"flex-1 flex items-center justify-center px-4 py-12",children:jsxRuntimeExports.jsx("div",{className:"w-full max-w-md",children:jsxRuntimeExports.jsxs("div",{className:"bg-card border border-border rounded-2xl p-8 shadow-lg",children:[jsxRuntimeExports.jsxs("div",{className:"text-center mb-8",children:[jsxRuntimeExports.jsx("h2",{className:"text-2xl font-semibold text-foreground mb-2",children:"Admin Login"}),jsxRuntimeExports.jsx("p",{className:"text-muted-foreground",children:"Sign in with your admin credentials"})]}),jsxRuntimeExports.jsxs("form",{onSubmit:at,className:"space-y-5",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"email",className:"text-sm font-medium",children:"Email"}),jsxRuntimeExports.jsxs("div",{className:"relative",children:[jsxRuntimeExports.jsx(Mail,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-muted-foreground"}),jsxRuntimeExports.jsx(Input,{id:"email",type:"email",placeholder:"[email protected]",value:_,onChange:ot=>j(ot.target.value),className:"pl-11 h-12",disabled:rt,required:!0})]})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"password",className:"text-sm font-medium",children:"Password"}),jsxRuntimeExports.jsxs("div",{className:"relative",children:[jsxRuntimeExports.jsx(Lock,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-muted-foreground"}),jsxRuntimeExports.jsx(Input,{id:"password",type:"password",placeholder:"â¢â¢â¢â¢â¢â¢â¢â¢",value:et,onChange:ot=>tt(ot.target.value),className:"pl-11 h-12",disabled:rt,required:!0})]})]}),jsxRuntimeExports.jsx(Button,{type:"submit",disabled:rt,className:"w-full h-12 text-base font-medium",children:rt?jsxRuntimeExports.jsxs("span",{className:"flex items-center space-x-2",children:[jsxRuntimeExports.jsx(LoaderCircle,{className:"animate-spin h-5 w-5"}),jsxRuntimeExports.jsx("span",{children:"Signing in..."})]}):jsxRuntimeExports.jsxs("span",{className:"flex items-center space-x-2",children:[jsxRuntimeExports.jsx("span",{children:"Sign in"}),jsxRuntimeExports.jsx(ArrowRight,{className:"w-5 h-5"})]})})]})]})})})]})}const NotFound=()=>{const _=useLocation();return reactExports.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",_.pathname)},[_.pathname]),jsxRuntimeExports.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:jsxRuntimeExports.jsxs("div",{className:"text-center",children:[jsxRuntimeExports.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),jsxRuntimeExports.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),jsxRuntimeExports.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},PLANS=[{name:"Basic",monthlyPrice:10,yearlyPrice:100,images:75,description:"Perfect for hobbyists and trying out styles.",features:["75 credits/month","Standard quality (1K)","Basic Commercial License","Access to all styles"],priceIdMonth:STRIPE_PRICES.basic.month,priceIdYear:STRIPE_PRICES.basic.year},{name:"Starter",monthlyPrice:28.95,yearlyPrice:289.5,images:250,description:"Great for content creators and small brands.",features:["250 credits/month","HD quality available (2K)","Full Commercial License","Priority Support","Rollover unused credits"],popular:!0,priceIdMonth:STRIPE_PRICES.starter.month,priceIdYear:STRIPE_PRICES.starter.year},{name:"Advanced",monthlyPrice:49.95,yearlyPrice:499.5,images:500,description:"For professional photographers and agencies.",features:["500 credits/month","HD quality available (2K)","Bulk Generation Tools","Dedicated Account Manager","Rollover unused credits"],priceIdMonth:STRIPE_PRICES.advanced.month,priceIdYear:STRIPE_PRICES.advanced.year},{name:"Generator",monthlyPrice:124.95,yearlyPrice:1249.5,images:1e3,description:"Ultimate power for high-volume creation.",features:["1,000 credits/month","HD quality available (2K)","API Access (Coming Soon)","White-label options","Rollover unused credits"],priceIdMonth:STRIPE_PRICES.generator.month,priceIdYear:STRIPE_PRICES.generator.year}],HomepagePricing=()=>{const[_,j]=reactExports.useState(!1),[et,tt]=reactExports.useState(null),{toast:rt}=useToast(),nt=useNavigate(),it=async st=>{tt(st.name);try{const{data:{user:at}}=await supabase.auth.getUser();if(!at){nt("/auth");return}const ot=_?st.priceIdYear:st.priceIdMonth,{data:lt,error:ct}=await invokeEdgeFunctionWithRetry("create-checkout",{body:{priceId:ot,mode:"subscription",successUrl:`${window.location.origin}/app`,cancelUrl:window.location.href}});if(ct)throw new Error(ct.message||"Checkout failed");lt!=null&<.url&&(window.location.href=lt.url)}catch(at){console.error(at),rt({title:"Checkout Error",description:"Could not start checkout. Please try again.",variant:"destructive"}),supabase.auth.getUser().then(({data:{user:ot}})=>{ot||nt("/auth")})}finally{tt(null)}};return jsxRuntimeExports.jsx("section",{id:"pricing",className:"py-20 lg:py-28 bg-muted/30",children:jsxRuntimeExports.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[jsxRuntimeExports.jsxs("div",{className:"text-center mb-12 lg:mb-16",children:[jsxRuntimeExports.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-foreground mb-4",children:"Simple, transparent pricing"}),jsxRuntimeExports.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto mb-8",children:"Choose the perfect plan for your creative needs."}),jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-center gap-4 mb-8",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"billing-period",className:`text-sm ${_?"":"font-bold"}`,children:"Monthly"}),jsxRuntimeExports.jsx(Switch,{id:"billing-period",checked:_,onCheckedChange:j}),jsxRuntimeExports.jsxs(Label$2,{htmlFor:"billing-period",className:`text-sm ${_?"font-bold":""}`,children:["Yearly ",jsxRuntimeExports.jsx("span",{className:"text-xs text-green-600 font-normal ml-1",children:"(Save ~20%)"})]})]})]}),jsxRuntimeExports.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 max-w-7xl mx-auto",children:PLANS.map(st=>jsxRuntimeExports.jsxs("div",{className:`relative bg-card rounded-2xl border ${st.popular?"border-primary ring-2 ring-primary/20 shadow-card":"border-border"} hover:shadow-medium transition-smooth overflow-hidden flex flex-col`,children:[st.popular&&jsxRuntimeExports.jsx("div",{className:"absolute top-0 left-0 right-0 gradient-brand py-1 text-center",children:jsxRuntimeExports.jsx("span",{className:"text-xs font-semibold text-primary-foreground uppercase tracking-wider",children:"Most Popular"})}),jsxRuntimeExports.jsxs("div",{className:`p-6 ${st.popular?"pt-10":"pt-8"} flex-1 flex flex-col`,children:[jsxRuntimeExports.jsx("h3",{className:"text-xl font-bold text-foreground mb-2",children:st.name}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 mb-2",children:[jsxRuntimeExports.jsxs("span",{className:"text-3xl font-bold text-foreground",children:["$",_?st.yearlyPrice:st.monthlyPrice]}),jsxRuntimeExports.jsxs("span",{className:"text-muted-foreground text-sm",children:["/",_?"year":"month"]})]}),jsxRuntimeExports.jsxs("div",{className:"text-sm font-medium text-primary mb-4",children:[st.images.toLocaleStr
925ing()," credits / month"]}),jsxRuntimeExports.jsx("p",{className:"text-muted-foreground text-sm mb-6 min-h-[40px]",children:st.description}),jsxRuntimeExports.jsx("ul",{className:"space-y-3 mb-8 flex-1",children:st.features.map((at,ot)=>jsxRuntimeExports.jsxs("li",{className:"flex items-start gap-2",children:[jsxRuntimeExports.jsx(CircleCheck,{className:"w-4 h-4 text-primary flex-shrink-0 mt-0.5"}),jsxRuntimeExports.jsx("span",{className:"text-sm text-foreground/80",children:at})]},ot))}),jsxRuntimeExports.jsx(Button,{onClick:()=>it(st),disabled:et===st.name,className:`w-full ${st.popular?"gradient-brand border-0 shadow-soft hover:shadow-medium":""}`,variant:st.popular?"default":"outline",children:et===st.name?jsxRuntimeExports.jsx(LoaderCircle,{className:"w-4 h-4 animate-spin"}):"Choose Plan"})]})]},st.name))})]})})};function PricingPage(){const _=useNavigate(),[j,et]=useSearchParams(),{toast:tt}=useToast(),[rt,nt]=reactExports.useState(!1);return reactExports.useEffect(()=>{j.get("shopify_connected")==="1"&&(tt({title:"Store connected",description:"Your Shopify store is linked. Choose a plan to start exporting images.",variant:"success"}),et({},{replace:!0}))},[j,et,tt]),reactExports.useEffect(()=>{(async()=>{const{data:{user:st}}=await supabase.auth.getUser();if(!st){_("/auth",{replace:!0});return}const{data:at}=await supabase.rpc("get_user_profile",{user_id:st.id});if(at){const ot=typeof at=="string"?JSON.parse(at):at;if(ot.is_unlimited===!0||ot.subscription_tier&&ot.subscription_tier!=="none"){_("/app",{replace:!0});return}}nt(!0)})()},[_]),rt?jsxRuntimeExports.jsxs("div",{className:"min-h-screen bg-background flex flex-col",children:[jsxRuntimeExports.jsx("header",{className:"border-b border-border/50 bg-card/50 backdrop-blur-sm",children:jsxRuntimeExports.jsx("div",{className:"container max-w-5xl mx-auto px-4 py-4",children:jsxRuntimeExports.jsx("div",{className:"flex items-center space-x-3",children:jsxRuntimeExports.jsx("img",{src:snapshotLogo,alt:"SnapShot",className:"h-10 w-auto"})})})}),jsxRuntimeExports.jsxs("main",{className:"flex-1",children:[jsxRuntimeExports.jsxs("div",{className:"text-center pt-12 pb-4",children:[jsxRuntimeExports.jsx("h1",{className:"text-2xl font-display font-semibold text-foreground mb-2",children:"Choose a plan to continue"}),jsxRuntimeExports.jsx("p",{className:"text-muted-foreground",children:"Select a subscription plan to start generating images."})]}),jsxRuntimeExports.jsx(HomepagePricing,{})]})]}):jsxRuntimeExports.jsx("div",{className:"min-h-screen bg-background flex items-center justify-center",children:jsxRuntimeExports.jsx(LoaderCircle,{className:"w-8 h-8 animate-spin text-primary"})})}function useShopifyOAuthInitiate(){return useMutation({mutationFn:async _=>{const{data:j,error:et}=await supabase.functions.invoke("shopify-oauth-initiate",{body:_??{}});if(et)throw et;if(j!=null&&j.error)throw new Error(j.error);return j},onSuccess:_=>{window.location.href=_.authUrl}})}const OAUTH_ERROR_MESSAGES={hmac_invalid:"Shopify authorization could not be verified. Please try again.",invalid_state:"Authorization session expired. Please restart the connection.",state_expired:"Authorization session expired. Please restart the setup wizard.",invalid_shop:"The store domain does not match. Check your shop URL and try again.",missing_params:"Shopify did not return all required parameters. Please try again.",no_token:"Shopify did not return an access token. Please try again.",vault_error:"Could not store credentials securely. Please try again.",db_error:"Could not save the store connection. Please try again.",scope_mismatch:"Required permissions were not granted. Please approve all requested scopes.",token_exchange_failed:"Could not complete Shopify authorization. Please try again."};function getOAuthErrorMessage(_){return _?OAUTH_ERROR_MESSAGES[_]??"Connection failed. Please try again.":"Connection failed. Please try again."}const SUPABASE_URL=(typeof window<"u"?window.__SNAPSHOT_SUPABASE_URL__:void 0)??"https://phkwivrcuuvzpgzvvmkv.supabase.co",SHOPIFY_WIZARD={appName:"Snapshot",appUrl:"https://app.snapshotai.io",scopes:"read_products,write_products",redirectUrl:`${SUPABASE_URL.replace(/\/$/,"")}/functions/v1/shopify-oauth-callback`,devDashboardUrl:"https://dev.shopify.com/dashboard"},WIZARD_STEPS=[{id:1,label:"Dashboard"},{id:2,label:"Create App"},{id:3,label:"Configure URLs"},{id:4,label:"Set Permissions"},{id:5,label:"Get Credentials"}];function useShopifyMerchantOAuthInitiate(){return useMutation({mutationFn:async _=>{const{data:j,error:et}=await supabase.functions.invoke("shopify-merchant-oauth-initiate",{body:_});if(et)throw et;if(j!=null&&j.error)throw new Error(j.error);return j},onSuccess:_=>{window.location.href=_.authUrl}})}function CopyableField({label:_,value:j}){const{toast:et}=useToast(),tt=async()=>{try{await navigator.clipboard.writeText(j),et({title:"Copied",description:`${_} copied to clipboard.`})}catch{et({title:"Copy failed",description:"Could not copy to clipboard.",variant:"destructive"})}};return jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-2",children:[jsxRuntimeExports.jsx(Label$2,{className:"text-xs text-muted-foreground",children:_}),jsxRuntimeExports.jsxs("div",{className:"flex gap-2",children:[jsxRuntimeExports.jsx(Input,{readOnly:!0,value:j,className:"font-mono text-xs bg-black/20",onF
925ocus:rt=>rt.target.select()}),jsxRuntimeExports.jsx(Button,{type:"button",variant:"outline",size:"icon",className:"shrink-0",onClick:tt,children:jsxRuntimeExports.jsx(Copy,{className:"w-4 h-4"})})]})]})}function StepIndicator({currentStep:_}){return jsxRuntimeExports.jsx("div",{className:"flex items-center justify-between gap-1 overflow-x-auto pb-1",children:WIZARD_STEPS.map(j=>{const et=_>j.id,tt=_===j.id;return jsxRuntimeExports.jsxs("div",{className:"flex flex-col items-center gap-1 min-w-[4.5rem]",children:[jsxRuntimeExports.jsx("div",{className:cn("w-8 h-8 rounded-full flex items-center justify-center text-xs font-medium border transition-colors",et&&"bg-primary border-primary text-primary-foreground",tt&&!et&&"border-primary text-primary bg-primary/10",!et&&!tt&&"border-white/10 text-muted-foreground"),children:et?jsxRuntimeExports.jsx(Check,{className:"w-4 h-4"}):j.id}),jsxRuntimeExports.jsx("span",{className:cn("text-[10px] text-center leading-tight",tt?"text-foreground font-medium":"text-muted-foreground"),children:j.label})]},j.id)})})}function InstructionList({items:_}){return jsxRuntimeExports.jsx("ol",{className:"list-decimal list-inside space-y-2 text-sm text-muted-foreground",children:_.map(j=>jsxRuntimeExports.jsx("li",{children:j},j))})}const WIZARD_STEP_SCREENSHOTS={1:"Shopify Dev Dashboard with Create app button",2:"Create app from Dev Dashboard with app name field",3:"App URL configuration with embed disabled",4:"Scopes, redirect URL, and Release button",5:"Client ID and Secret in app Settings"};function StepScreenshot({step:_}){return jsxRuntimeExports.jsx("div",{className:"w-full self-start rounded-lg border border-white/[0.08] overflow-hidden max-h-[min(28rem,65vh)] overflow-y-auto",children:jsxRuntimeExports.jsx("img",{src:`/shopify-wizard/${_}.png`,alt:WIZARD_STEP_SCREENSHOTS[_]??`Wizard step ${_}`,className:"block w-full h-auto",loading:"lazy"})})}function ShopifyConnectWizard(){const{toast:_}=useToast(),j=useShopifyMerchantOAuthInitiate(),[et,tt]=reactExports.useState(1),[rt,nt]=reactExports.useState(""),[it,st]=reactExports.useState(""),[at,ot]=reactExports.useState(""),[lt,ct]=reactExports.useState(!1),[ut,dt]=reactExports.useState(null),ht=async()=>{const gt=normalizeShopDomain(rt);if(!gt){dt("Enter a valid store name, e.g. my-store");return}if(!it.trim()){dt("Client ID is required");return}if(!at.trim()){dt("Secret Key is required");return}dt(null);try{await j.mutateAsync({shopDomain:gt,clientId:it.trim(),clientSecret:at.trim()})}catch(ft){_({title:"Install failed",description:ft instanceof Error?ft.message:"Could not start Shopify authorization.",variant:"destructive"})}},pt=()=>{switch(et){case 1:return jsxRuntimeExports.jsxs("div",{className:"grid md:grid-cols-2 gap-6 items-start",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-4",children:[jsxRuntimeExports.jsx("h3",{className:"text-base font-semibold",children:"Go to Shopify Dev Dashboard"}),jsxRuntimeExports.jsx(InstructionList,{items:["Click the button below to open Shopify Dev Dashboard","Log in with your Shopify account",'Click the "Create app" button in the top right']}),jsxRuntimeExports.jsx(Button,{asChild:!0,className:"gap-2",children:jsxRuntimeExports.jsxs("a",{href:SHOPIFY_WIZARD.devDashboardUrl,target:"_blank",rel:"noopener noreferrer",children:[jsxRuntimeExports.jsx(ExternalLink,{className:"w-4 h-4"}),"Let's Create App"]})})]}),jsxRuntimeExports.jsx(StepScreenshot,{step:1})]});case 2:return jsxRuntimeExports.jsxs("div",{className:"grid md:grid-cols-2 gap-6 items-start",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-4",children:[jsxRuntimeExports.jsx("h3",{className:"text-base font-semibold",children:"Name your App"}),jsxRuntimeExports.jsx(InstructionList,{items:[`Enter your app name (e.g. "${SHOPIFY_WIZARD.appName}")`,'Click the "Create" button']}),jsxRuntimeExports.jsxs("div",{className:"rounded-lg border border-primary/20 bg-primary/5 px-4 py-3 text-sm text-muted-foreground",children:['You can name it anything. We recommend "',SHOPIFY_WIZARD.appName,'" for easy identification.']})]}),jsxRuntimeExports.jsx(StepScreenshot,{step:2})]});case 3:return jsxRuntimeExports.jsxs("div",{className:"grid md:grid-cols-2 gap-6 items-start",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-4",children:[jsxRuntimeExports.jsx("h3",{className:"text-base font-semibold",children:"Configure App URLs"}),jsxRuntimeExports.jsx(InstructionList,{items:["In the App URL field, copy and paste this URL",'Important: turn OFF "Embed app in Shopify admin"',"Leave Preferences
925URL empty (optional)"]}),jsxRuntimeExports.jsx(CopyableField,{label:"App URL",value:SHOPIFY_WIZARD.appUrl}),jsxRuntimeExports.jsxs("div",{className:"rounded-lg border border-amber-500/30 bg-amber-500/5 px-4 py-3 text-sm text-amber-200/90",children:["Make sure the embed checkbox is turned ",jsxRuntimeExports.jsx("strong",{children:"OFF"}),"."]})]}),jsxRuntimeExports.jsx(StepScreenshot,{step:3})]});case 4:return jsxRuntimeExports.jsxs("div",{className:"grid md:grid-cols-2 gap-6 items-start",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-4",children:[jsxRuntimeExports.jsx("h3",{className:"text-base font-semibold",children:"Set Scopes and Redirect URLs"}),jsxRuntimeExports.jsx(InstructionList,{items:["In the Scopes section, copy and paste these scopes","In the Redirect URLs section, copy and paste this URL",'Click "Release" at the bottom']}),jsxRuntimeExports.jsx(CopyableField,{label:"Scopes",value:SHOPIFY_WIZARD.scopes}),jsxRuntimeExports.jsx(CopyableField,{label:"Redirect URL",value:SHOPIFY_WIZARD.redirectUrl}),jsxRuntimeExports.jsx("div",{className:"rounded-lg border border-primary/20 bg-primary/5 px-4 py-3 text-sm text-muted-foreground",children:"Snapshot only needs product scopes for catalog read and image upload."})]}),jsxRuntimeExports.jsx(StepScreenshot,{step:4})]});case 5:return jsxRuntimeExports.jsxs("div",{className:"space-y-5",children:[jsxRuntimeExports.jsxs("div",{className:"grid md:grid-cols-2 gap-6 items-start",children:[jsxRuntimeExports.jsxs("div",{className:"space-y-4",children:[jsxRuntimeExports.jsx("h3",{className:"text-base font-semibold",children:"Copy Client ID and Secret"}),jsxRuntimeExports.jsx(InstructionList,{items:["Go to Settings in the left sidebar","Find the Credentials section",'Click "Client ID" copy button','Click "Secret" reveal and copy button','Paste below and click "Install App"']})]}),jsxRuntimeExports.jsx(StepScreenshot,{step:5})]}),jsxRuntimeExports.jsxs("div",{className:"rounded-xl border border-white/[0.08] bg-white/[0.02] p-5 space-y-4",children:[jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"wizard-shop",children:"Shop URL"}),jsxRuntimeExports.jsx(Input,{id:"wizard-shop",placeholder:"my-store",value:rt,onChange:gt=>{nt(gt.target.value),ut&&dt(null)},disabled:j.isPending,autoComplete:"off",spellCheck:!1}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:'For my-store.myshopify.com, enter "my-store"'})]}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"wizard-client-id",children:"Client ID"}),jsxRuntimeExports.jsx(Input,{id:"wizard-client-id",value:it,onChange:gt=>{st(gt.target.value),ut&&dt(null)},disabled:j.isPending,autoComplete:"off",spellCheck:!1})]}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-2",children:[jsxRuntimeExports.jsx(Label$2,{htmlFor:"wizard-secret",children:"Secret Key"}),jsxRuntimeExports.jsxs("div",{className:"relative",children:[jsxRuntimeExports.jsx(Input,{id:"wizard-secret",type:lt?"text":"password",value:at,onChange:gt=>{ot(gt.target.value),ut&&dt(null)},disabled:j.isPending,autoComplete:"off",spellCheck:!1,className:"pr-10"}),jsxRuntimeExports.jsx(Button,{type:"button",variant:"ghost",size:"icon",className:"absolute right-0 top-0 h-full px-3 text-muted-foreground",onClick:()=>ct(gt=>!gt),tabIndex:-1,children:lt?jsxRuntimeExports.jsx(EyeOff,{className:"w-4 h-4"}):jsxRuntimeExports.jsx(Eye,{className:"w-4 h-4"})})]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:"Example: shpss_xxxxxxxxxxxxxxxxxxxx"})]}),ut&&jsxRuntimeExports.jsx("p",{className:"text-xs text-destructive",children:ut}),jsxRuntimeExports.jsxs(Button,{className:"w-full gap-2",onClick:ht,disabled:j.isPending,children:[jsxRuntimeExports.jsx(Store,{className:"w-4 h-4"}),j.isPending?"Redirecting to Shopifyâ¦":"Install App"]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground text-center",children:"Setup completes after you authorize the app in Shopify."})]})]});default:return null}};return jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-6",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Store,{className:"w-5 h-5 text-primary"}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h2",{className:"text-lg font-semibold",children:"Store Connection"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground",children:"Create a custom Shopify app and connect your store to Snapshot"})]})]}),jsxRuntimeExports.jsx(StepIndicator,{currentStep:et}),jsxRuntimeExports.jsx("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] px-5 py-6",children:pt()}),jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between gap-4",children:[jsxRuntimeExports.jsxs(Button,{variant:"outline",size:"sm",className:"gap-2",onClick:()=>tt(gt=>Math.max(1,gt-1)),disabled:et===1||j.isPending,children:[jsxRuntimeExports.jsx(ArrowLeft,{className:"w-4 h-4"}),"Previous"]}),jsxRuntimeExports.jsx("div",{className:"flex gap-1.5",children:WIZARD_STEPS.map(gt=>jsxRuntimeExports.jsx("div",{className:cn("w-2 h-2 rounded-full transition-colors",et===gt.id?"bg-primary":"bg-white/15")},gt.id))}),jsxRuntimeExports.jsxs(Button,{variant:"outline",size:"sm",className:"gap-2",onClick:()=>tt(gt=>Math.min(5,gt+1)),disabled:et===5||j.isPending,children:["Next",jsxRuntimeExports.jsx(ArrowRight,{className:"w-4 h-4"})]})]})]})}function authMethodLabel(_){return _==="merchant_oauth"?"Custom App":_==="oauth"?"OAuth":_==="custom_token"?"Token":null}function Integrations(){const{connections:_,isLoading:j,disconnect:et,isDisconnecting:tt}=useShopifyConnections(),rt=useShopifyOAuthInitiate(),nt=useShopifyLinkPending(),{toast:it}=useToast(),[st,at]=useSearchParams(),[ot,lt]=reactExports.useState(null),[ct,ut]=reactExports.useState(null),[dt,ht]=reactExports.useState(!1);reactExports.useEffect(()=>{const mt=st.get("connected"),xt=st.get("error"),yt=st.get("shop"),vt=st.get("link")==="1";if(mt==="true"){it({title:"Store connected",description:"Your Shopify store is now linked.",variant:"success"}),at({},{replace:!0}),ht(!1);return}if(xt){it({title:"Connection failed",description:getOAuthErrorMessage(xt),variant:"destructive"}),at({},{replace:!0});return}yt&&vt&&nt.mutate(yt,{onSuccess:bt=>{it({title:"Store connected",description:`${bt.shopName??bt.shopDomain} is now connected.`,variant:"success"}),at({},{replace:!0})},onError:bt=>{it({title:"Connection failed",description:bt instanceof Error?bt.message:"Could not link store.",variant:"destructive"}),at({},{replace:!0})}})},[]);const pt=async mt=>{if(mt.auth_method==="merchant_oauth"){ht(!0),it({title:"Reconnect your store",description:"Complete the setup wizard with your app credentials."});return}ut(mt.id);try{await rt.mutateAsync({shopDomain:mt.shop_domain})}catch(xt){it({title:"Reconnect failed",description:xt instanceof Error?xt.message:"Could not start Shopify authorization.",variant:"destructive"}),ut(null)}},gt=mt=>{lt(mt.id),et(mt.id,{onSettled:()=>lt(null)})},ft=rt.isPending||nt.isPending;return jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-6 p-6 max-w-3xl mx-auto w-full",children:[jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h1",{className:"text-xl font-semibold tracking-tight",children:"Integrations"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Connect your Shopify store to export generated images to your products."})]}),j?jsxRuntimeExports.jsx("div",{className:"flex flex-col gap-3",children:[1,2].map(mt=>jsxRuntimeExports.jsx("div",{className:"h-20 rounded-lg bg-white/[0.03] animate-pulse"},mt))}):_.length===0?jsxRuntimeExports.jsx("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] px-6 py-6",children:jsxRuntimeExports.jsx(ShopifyConnectWizard,{})}):jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-4",children:[jsxRuntimeExports.jsx("div",{className:"flex flex-col gap-3",children:_.map(mt=>{const xt=authMethodLabel(mt.auth_method);return jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between rounded-lg border border-white/[0.06] bg-white/[0.02] px-4 py-4",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[jsxRuntimeExports.jsx(Store,{className:"w-5 h-5 text-muted-foreground shrink-0"}),jsxRuntimeExports.jsxs("div",{className:"min-w-0",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx("p",{className:"font-medium text-sm truncate",children:mt.shop_name??mt.shop_domain}),xt&&jsxRuntimeExports.jsx("span",{className:"text-[10px] uppercase tracking-wide text-muted-foreground border border-white/[0.08] rounded px-1.5 py-0.5",children:xt})]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground truncate",children:mt.shop_domain})]})]}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2 shrink-0 ml-4",children:[jsxRuntimeExports.jsx("span",{className:"text-xs text-emerald-400 font-medium hidden sm:inline",children:"Connected"}),jsxRuntimeExports.jsxs(Button,{variant:"ghost",size:"sm",className:"gap-1.5 text-muted-foreground",onClick:()=>pt(mt),disabled:ct===mt.id||ft,children:[jsxRuntimeExports.jsx(RefreshCw,{className:"w-3.5 h-3.5"}),ct===mt.id?"Redirectingâ¦":"Reconnect"]}),jsxRuntimeExports.jsxs(Button,{variant:"ghost",size:"sm",className:"gap-2 text-muted-foreground hover:text-destructive hover:bg-destructive/10",onClick:()=>gt(mt),disabled:ot===mt.id||tt,children:[jsxRuntimeExports.jsx(Unlink,{className:"w-4 h-4"}),ot===mt.id?"Disconnectingâ¦":"Disconnect"]})]})]},mt.id)})}),dt?jsxRuntimeExports.jsx("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] px-6 py-6",children:jsxRuntimeExports.jsx(ShopifyConnectWizard,{})}):jsxRuntimeExports.jsx(Button,{variant:"outline",size:"sm",className:"gap-2 self
925-start",onClick:()=>ht(!0),children:"Connect another store"})]})]})}const PRIVACY_POLICY_META={title:"Privacy Policy",effectiveDate:"June 13, 2026",lastUpdated:"June 13, 2026"},PRIVACY_POLICY_SECTIONS=[{number:1,title:"Introduction",blocks:[{type:"paragraph",text:'This Privacy Policy explains how SnapShot ("SnapShot", "we", "us", or "our") collects, uses, stores, shares, and protects personal data when merchants install or use the SnapShot Shopify app, website, dashboard, image generation tools, and related services (collectively, the "Services").'},{type:"paragraph",text:"SnapShot provides AI-powered product image generation services for Shopify merchants, including studio images, outdoor scenes, product views, color variants, model customization, and downloadable or exportable product photos."},{type:"paragraph",text:"This Privacy Policy is designed to support compliance with applicable privacy laws, including the General Data Protection Regulation (GDPR), UK GDPR, California privacy laws where applicable, and Shopify App Store privacy requirements."},{type:"paragraph",text:"By using SnapShot, you agree to the collection and use of information as described in this Privacy Policy."}]},{number:2,title:"Who We Are",blocks:[{type:"paragraph",text:"SnapShot is operated by Trivano Commerce LLC."},{type:"paragraph",text:"Email: [email protected]"},{type:"paragraph",text:"Website: https://snap-shot.ai"},{type:"paragraph",text:"For privacy questions, data access requests, deletion requests, or GDPR inquiries, contact us at [email protected]."}]},{number:3,title:"Scope of This Policy",blocks:[{type:"paragraph",text:"This Privacy Policy applies when you:"},{type:"list",items:["Install SnapShot on a Shopify store","Use the SnapShot app dashboard","Upload product images","Generate AI product images","Buy or use credits","Subscribe to a paid plan","Contact support","Visit our website"]},{type:"paragraph",text:"This Privacy Policy also explains how we handle data received through Shopify APIs and Shopify privacy webhooks."}]},{number:4,title:"Data We Collect",blocks:[{type:"subsection",title:"4.1 Shopify Store Data",blocks:[{type:"paragraph",text:"When you install SnapShot, we may access and process data from your Shopify store based on the permissions granted during installation. This may include:"},{type:"list",items:["Store name and URL","Shopify Shop ID","Store owner or account email address","App installation status and access scopes","Product titles, IDs, images, and media selected for generation or export","Product metadata required for image generation","Store settings needed to provide the app"]},{type:"paragraph",text:"We only access Shopify store data needed to operate SnapShot."}]},{type:"subsection",title:"4.2 Merchant Account Data",blocks:[{type:"paragraph",text:"We may collect information directly from merchants or users of the app, including:"},{type:"list",items:["Name and email address","Account identifier and login details","Company or store information","Subscription plan and billing status","Credit balance and usage history","Support communications","Usage preferences"]}]},{type:"subsection",title:"4.3 Uploaded Images and Generated Content",blocks:[{type:"paragraph",text:"When you use SnapShot, we may process:"},{type:"list",items:["Product images uploaded by you","Product images selected from your Shopify store","AI prompts and generation settings","Product type, view, format, model, background, and color variant selections","AI-generated, fixed, and regenerated images","Download and export history"]},{type:"paragraph",text:"You confirm you have all necessary rights, licenses, permissions, and authorizations to upload, process, and generate images from any content you provide through SnapShot."}]},{type:"subsection",title:"4.4 Billing and Payment Data",blocks:[{type:"paragraph",text:"SnapShot uses Stripe to process payments, subscriptions, and credit top-ups. We do not store full credit card numbers. Stripe processes payment card details under its own privacy and security terms. We may process:"},{type:"list",items:["Stripe customer ID and subscription status","Plan name and credit purchase history","Payment status and billing email","Invoice history","VAT or tax details where applicable"]}]},{type:"subsection",title:"4.5 Technical and Usage Data",blocks:[{type:"paragraph",text:"We may automatically collect:"},{type:"list",items:["IP address, browser type, device type, and operating system","App events, error logs, API logs, and performance logs","Generation status and credit usage","Feature usage and timestamps","Security and session logs"]},{type:"paragraph",text:"We use this data to operate, secure, improve, and debug SnapShot."}]},{type:"subsection",title:"4.6 Customer Data",blocks:[{type:"paragraph",text:"SnapShot is designed for product image generation and does not require access to Shopify customer data for its core functionality. If SnapShot ever processes Shopify customer data due to a merchant action, support request, export feature, or granted permission, we will process it only as needed to provide the service, comply with Shopify requirements, and support valid privacy requests."}]}]},{number:5,title:"How We Use Data",blocks:[{type:"paragraph",text:"We use collected data to:"},{type:"list",items:["Provide and operate SnapShot","Authenticate users and connect with Shopify stores","Generate, store, and display AI product images","Allow downloads and exports to Shopify","Manage credits and subscriptions","Process billing through Stripe","Provide customer support","Improve app quality and performance","Monitor errors, abuse, and security incidents","Prevent fraud and misuse","Comply with legal obligations","Respond to Shopify privacy webhooks and valid privacy requests"]},{type:"paragraph",text:"We do not sell merchant data, Shopify store data, uploaded images, or generated images."}]},{number:6,title:"AI Image Generation",blocks:[{type:"paragraph",text:"SnapShot uses AI image generation technology to create product images based on merchant input. To provide this service, we may send uploaded images, selected product images, prompts, generation settings, and related metadata to trusted third-party AI
925infrastructure providers."},{type:"paragraph",text:"These providers process information solely to provide SnapShot's image generation service. Where provider settings, contracts, or technical controls allow it, we restrict providers from using merchant content for unrelated purposes."},{type:"paragraph",text:"SnapShot does not use merchant-uploaded images, generated images, or Shopify product data to train proprietary AI models unless explicitly disclosed and agreed to by the user."},{type:"paragraph",text:"Generated images may be stored in your SnapShot account so you may view, download, fix, reuse, or export them."}]},{number:7,title:"Shopify API and App Store Compliance",blocks:[{type:"paragraph",text:"SnapShot uses Shopify APIs only for approved app functionality and only within the permissions granted by the merchant. We comply with Shopify Partner Program requirements, Shopify API License and Terms of Use, Shopify App Store requirements, and Shopify's requirements for handling merchant and customer data."},{type:"paragraph",text:"SnapShot will:"},{type:"list",items:["Use Shopify data only to provide or improve the app","Request only permissions needed for app functionality","Not sell Shopify merchant or customer data","Not use Shopify data for unrelated advertising","Protect data with reasonable technical and organizational safeguards","Respond to required Shopify privacy webhooks","Delete or anonymize data when required by Shopify or applicable law"]},{type:"paragraph",text:"If Shopify sends a valid data access, deletion, or redaction request through mandatory compliance webhooks, we will process the request according to Shopify requirements and applicable law."}]},{number:8,title:"Third-Party Service Providers",blocks:[{type:"paragraph",text:"SnapShot currently uses the following trusted third-party service providers to operate the Services:"},{type:"list",items:["Supabase â authentication, database, and storage","Stripe â billing and payment processing","Shopify â store integration and product synchronization","AI infrastructure and image generation providers (including providers specializing in fashion, home decor, and product photography)","Cloud hosting and storage providers","Analytics providers","Monitoring and error reporting services","Email and customer support providers","Security and fraud prevention tools"]},{type:"paragraph",text:"These providers may process information on our behalf only to perform services necessary for operating SnapShot. We require service providers to handle data with appropriate security and privacy controls."}]},{number:9,title:"GDPR Legal Bases",blocks:[{type:"paragraph",text:"For users in the European Economic Area, United Kingdom, or other GDPR-equivalent jurisdictions, we process personal data under the following legal bases:"},{type:"subsection",title:"Performance of a Contract",blocks:[{type:"paragraph",text:"We process data to provide SnapShot, including account access, image generation, billing, credits, support, and Shopify app functionality."}]},{type:"subsection",title:"Legitimate Interests",blocks:[{type:"paragraph",text:"We process data to secure the app, prevent fraud, debug errors, improve performance, understand usage, and maintain service reliability. These interests do not override your fundamental rights."}]},{type:"subsection",title:"Legal Obligation",blocks:[{type:"paragraph",text:"We process data when required for tax, accounting, legal compliance, Shopify compliance, or valid privacy requests."}]},{type:"subsection",title:"Consent",blocks:[{type:"paragraph",text:"Where required, we rely on consent for optional cookies, marketing communications, or certain analytics tools. You may withdraw consent at any time without affecting the lawfulness of prior processing."}]}]},{number:10,title:"Your Rights",blocks:[{type:"paragraph",text:"Depending on your location and applicable law, you may have the right to:"},{type:"list",items:["Access your personal data","Correct inaccurate or incomplete data","Request deletion of your data","Restrict or object to processing","Request data portability","Withdraw consent where applicable","Lodge a complaint with a data protection authority"]},{type:"paragraph",text:"To exercise any of these rights, contact us at [email protected]. We may need to verify your identity before completing a request."},{type:"paragraph",text:"If you are a customer of a Shopify merchant using SnapShot, please contact the merchant directly. The merchant controls the customer relationship. We will assist merchants and Shopify with valid requests where required."}]},{number:11,title:"Data Sharing",blocks:[{type:"paragraph",text:"We may share data with trusted service providers who help us operate SnapShot (see Section 8). We may al
925so disclose data when required by law, court order, legal process, Shopify compliance obligations, or to protect SnapShot, merchants, users, or the public."},{type:"paragraph",text:"In the event of a merger, acquisition, financing, or sale of assets, data may be transferred as part of that transaction. We will notify affected users where required by law."},{type:"paragraph",text:"We do not sell personal information to third parties."}]},{number:12,title:"International Data Transfers",blocks:[{type:"paragraph",text:"SnapShot may process and store data in countries outside your country of residence, including outside the European Economic Area. Where required, we use appropriate safeguards for international data transfers, such as data processing agreements, Standard Contractual Clauses, and service providers with appropriate security and privacy controls."}]},{number:13,title:"Data Retention",blocks:[{type:"paragraph",text:"We retain data only as long as needed to provide SnapShot, comply with legal obligations, resolve disputes, enforce agreements, prevent fraud, and maintain required business records. Specific retention periods are as follows:"},{type:"subsection",title:"Account Data",blocks:[{type:"paragraph",text:"Retained while your account is active. Following account deletion, personal account data is deleted or anonymized within 90 days, unless retention is required for legal, fraud prevention, or dispute resolution purposes."}]},{type:"subsection",title:"Shopify Store Data",blocks:[{type:"paragraph",text:"Following app uninstallation, Shopify store data is deleted or anonymized within 30 days, except where retention is required for legal, accounting, fraud prevention, security, or dispute resolution purposes."}]},{type:"subsection",title:"Billing and Payment Records",blocks:[{type:"paragraph",text:"Retained for a minimum of 7 years from the date of the transaction to comply with applicable tax and accounting obligations."}]},{type:"subsection",title:"Generated Images",blocks:[{type:"paragraph",text:"Retained in your dashboard until deleted by you, until account closure, or until applicable plan retention limits expire."}]},{type:"subsection",title:"Logs and Technical Data",blocks:[{type:"paragraph",text:"Security, performance, and error logs are retained for up to 90 days unless a longer period is required for active investigations, fraud prevention, or legal obligations."}]},{type:"subsection",title:"Support Communications",blocks:[{type:"paragraph",text:"Retained for up to 2 years from the date of the last interaction to support ongoing service quality and dispute resolution."}]},{type:"paragraph",text:"You may request deletion of your data at any time by contacting [email protected]. We will process your request within a reasonable period subject to any applicable legal retention obligations."}]},{number:14,title:"Shopify Mandatory Privacy Webhooks",blocks:[{type:"paragraph",text:"SnapShot supports Shopify's required privacy compliance workflows, including requests related to:"},{type:"list",items:["Customer data access","Customer data deletion","Shop data deletion"]},{type:"paragraph",text:"When we receive a valid Shopify privacy webhook, we will locate, delete, anonymize, or return applicable data according to Shopify's requirements and applicable privacy law."}]},{number:15,title:"Security",blocks:[{type:"paragraph",text:"We implement reasonable technical, organizational, and administrative safeguards to protect data from unauthorized access, disclosure, alteration, or destruction. These measures include:"},{type:"list",items:["Encrypted connections (TLS/HTTPS)","Access controls and role-based permissions","Authentication protections","Secure storage practices","Restricted internal access","Logging, monitoring, and alerting","Vendor security controls","Data minimization where practical"]},{type:"paragraph",text:"No online service is completely secure. We work to protect your data, but we cannot guarantee absolute security."}]},{number:16,title:"Cookies and Tracking",blocks:[{type:"paragraph",text:"SnapShot may use cookies and similar technologies to:"},{type:"list",items:["Keep users logged in","Remember preferences","Measure app usage and improve performance","Detect errors and prevent fraud"]},{type:"paragraph",text:"Where required by applicable law, we will request consent for optional cookies or tracking technologies. You may control cookies through your browser settings, although some features may not function correctly if cookies are disabled."}]},{number:17,title:"Marketing Communications",blocks:[{type:"paragraph",text:"We may send service-related emails such as account updates, billing notices, security alerts, and support messages. We may al
925so send marketing emails where permitted by law or where you have provided consent. You may unsubscribe from marketing emails at any time using the unsubscribe link in any email or by contacting [email protected]."}]},{number:18,title:"Children's Privacy",blocks:[{type:"paragraph",text:"SnapShot is intended for businesses, Shopify merchants, and users who are at least 16 years of age. We do not knowingly collect personal data from children under 16. If we become aware that personal data from a child has been collected, we will take reasonable steps to delete it promptly."}]},{number:19,title:"Merchant Responsibilities",blocks:[{type:"paragraph",text:"Merchants using SnapShot are responsible for:"},{type:"list",items:["Ensuring they hold all rights to upload product images and other content","Providing any legally required privacy notices to their own customers","Using SnapShot in compliance with applicable laws","Ensuring uploaded content does not violate third-party intellectual property or other rights","Responding to customer privacy requests where the merchant acts as data controller"]}]},{number:20,title:"Changes to This Privacy Policy",blocks:[{type:"paragraph",text:'We may update this Privacy Policy from time to time. When we update it, we will change the "Last Updated" date at the top of this document. If changes are material, we may notify users through the app, by email, or through another reasonable method. Continued use of SnapShot after any changes constitutes acceptance of the updated Privacy Policy.'}]},{number:21,title:"Contact",blocks:[{type:"paragraph",text:"For questions, privacy requests, data access or deletion requests, GDPR inquiries, or other data protection concerns, contact:"},{type:"paragraph",text:"SnapShot â operated by Trivano Commerce LLC"},{type:"paragraph",text:"Email: [email protected]"},{type:"paragraph",text:"Website: https://snap-shot.ai"}]}],EMAIL$1="[email protected]",WEBSITE$1="https://snap-shot.ai";function renderInlineText$1(_){return _.split(new RegExp(`(${EMAIL$1.replace(".","\\.")}|${WEBSITE$1.replace(/\./g,"\\.")})`,"g")).map((et,tt)=>et===EMAIL$1?jsxRuntimeExports.jsx("a",{href:`mailto:${EMAIL$1}`,className:"text-violet-400 hover:text-violet-300 hover:underline font-medium",children:EMAIL$1},tt):et===WEBSITE$1?jsxRuntimeExports.jsx("a",{href:WEBSITE$1,target:"_blank",rel:"noopener noreferrer",className:"text-violet-400 hover:text-violet-300 hover:underline font-medium",children:WEBSITE$1},tt):et)}function PolicyBlockRenderer$1({block:_}){switch(_.type){case"paragraph":return jsxRuntimeExports.jsx("p",{children:renderInlineText$1(_.text)});case"list":return jsxRuntimeExports.jsx("ul",{children:_.items.map(j=>jsxRuntimeExports.jsx("li",{children:renderInlineText$1(j)},j))});case"subsection":return jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h3",{children:_.title}),_.blocks.map((j,et)=>jsxRuntimeExports.jsx(PolicyBlockRenderer$1,{block:j},`${_.title}-${et}`))]});default:return null}}function PrivacyPolicy(){return reactExports.useEffect(()=>(document.title="Privacy Policy | SnapShot",()=>{document.title="SnapShot - Product Imagery Reimagined | AI Photography"}),[]),jsxRuntimeExports.jsxs("div",{className:"min-h-screen bg-background text-foreground flex flex-col",children:[jsxRuntimeExports.jsx("header",{className:"border-b border-border/50 bg-card/50 backdrop-blur-sm",children:jsxRuntimeExports.jsxs("div",{className:"container max-w-3xl mx-auto px-4 py-4 flex items-center justify-between",children:[jsxRuntimeExports.jsx(Link,{to:"/",className:"inline-flex items-center",children:jsxRuntimeExports.jsx("img",{src:snapshotLogo,alt:"SnapShot",className:"h-10 w-auto"})}),jsxRuntimeExports.jsx(Button,{asChild:!0,variant:"ghost",size:"sm",className:"gap-2 text-zinc-300 hover:text-foreground",children:jsxRuntimeExports.jsxs(Link,{to:"/",children:[jsxRuntimeExports.jsx(ArrowLeft,{className:"h-4 w-4"}),"Back to Homepage"]})})]})}),jsxRuntimeExports.jsxs("main",{className:"flex-1 container max-w-3xl mx-auto px-4 py-10 md:py-14",children:[jsxRuntimeExports.jsxs("div",{className:"mb-10",children:[jsxRuntimeExports.jsx("h1",{className:"text-3xl font-display font-semibold text-zinc-100 tracking-tight mb-3",children:PRIVACY_POLICY_META.title}),jsxRuntimeExports.jsxs("p",{className:"text-sm text-zinc-400",children:["Effective Date: ",PRIVACY_POLICY_META.effectiveDate]}),jsxRuntimeExports.jsxs("p",{className:"text-sm text-zinc-400",children:["Last Updated: ",PRIVACY_POLICY_META.lastUpdated]})]}),jsxRuntimeExports.jsx("article",{className:`prose prose-invert max-w-none 926 prose-headings:font-display prose-headings:text-zinc-100 prose-headings:font-semibold 927 prose-h2:text-2xl prose-h2:mt-10 prose-h2:mb-4 928 prose-h3:text-lg prose-h3:text-zinc-200 prose-h3:mt-6 prose-h3:mb-2 929 prose-p:text-zinc-300 prose-p:leading-relaxed 930 prose-li:text-zinc-300 prose-li:marker:text-zinc-500 931 prose-strong:text-zinc-100 932 prose-a:text-violet-400 prose-a:font-medium hover:prose-a:text-violet-300 hover:prose-a:underline`,children:PRIVACY_POLICY_SECTIONS.map(_=>jsxRuntimeExports.jsxs("section",{className:"mb-8",children:[jsxRuntimeExports.jsxs("h2",{children:[_.number,". ",_.title]}),_.blocks.map((j,et)=>jsxRuntimeExports.jsx(PolicyBlockRenderer$1,{block:j},`${_.number}-${et}`))]},_.number))})]}),jsxRuntimeExports.jsx("footer",{className:"border-t border-border/50 py-6 text-center",children:jsxRuntimeExports.jsxs("p",{className:"text-xs text-zinc-500",children:["© ",new Date().getFullYear()," SnapShot. All rights reserved."]})})]})}const TERMS_META={title:"Terms of Service",lastUpdated:"June 15, 2026"},TERMS_INTRO=[{type:"paragraph",text:'These Terms of Service ("Terms") govern your access to and use of SnapShot, including our Shopify app, website, dashboard, AI image generation tools, subscriptions, credits, and related services.'}
932,{type:"paragraph",text:"SnapShot is operated by:"},{type:"list",items:["Business name: Trivano Commerce LLC","Business address: 30 N North Gould Street, Sheridan, WY 82801, United States","Support email: [email protected]","Website: https://snap-shot.ai"]},{type:"paragraph",text:"By installing, accessing, or using SnapShot, you agree to these Terms. If you do not agree, do not use SnapShot."}],TERMS_SECTIONS=[{number:1,title:"About SnapShot",blocks:[{type:"paragraph",text:"SnapShot helps Shopify merchants generate AI powered product images, including fashion product images, home decor product images, studio images, outdoor images, product variants, different views, and downloadable product visuals."},{type:"paragraph",text:"SnapShot is built for business use by Shopify merchants, ecommerce operators, and approved users."}]},{number:2,title:"Shopify App Use",blocks:[{type:"paragraph",text:"SnapShot connects with Shopify stores through Shopify's app platform. By installing SnapShot on a Shopify store, you confirm that:"},{type:"list",items:["You are authorized to install apps on that store.","You are authorized to grant SnapShot the requested Shopify app permissions.","You will use SnapShot in compliance with Shopify's terms, Shopify's Partner and API rules, and applicable laws.","You will not use SnapShot in a way that harms Shopify, merchants, customers, or third parties."]},{type:"paragraph",text:"SnapShot only uses Shopify data as needed to provide the app's functionality, such as generating product images, managing exports, and operating the app."}]},{number:3,title:"Accounts",blocks:[{type:"paragraph",text:"To use SnapShot, you need an account or Shopify store connection."},{type:"paragraph",text:"You are responsible for:"},{type:"list",items:["Keeping your login details secure.","All activity under your account.","Making sure account information is accurate.","Not sharing access with unauthorized users."]},{type:"paragraph",text:"We may suspend or terminate access if we believe your account is used fraudulently, unlawfully, or in breach of these Terms."}]},{number:4,title:"Subscriptions, Credits, and Billing",blocks:[{type:"paragraph",text:"SnapShot operates with subscriptions and credits."},{type:"paragraph",text:"A subscription may include a monthly or annual credit allowance. Credits are used to generate images, fix images, create variants, or use other paid generation features."}
932,{type:"paragraph",text:"Additional credits may be purchased separately if your credit balance is low or empty."},{type:"paragraph",text:"Billing is handled through Stripe or Shopify billing, depending on the payment flow used. Payment terms, renewal terms, taxes, failed payments, and cancellation options are shown during checkout or inside your account."},{type:"paragraph",text:"You agree to pay all charges linked to your selected plan, credit purchases, and usage."}]},{number:5,title:"Credit Usage",blocks:[{type:"paragraph",text:"Credits are deducted when you use paid SnapShot features."},{type:"paragraph",text:"Credit cost may depend on:"},{type:"list",items:["Image quality setting","Number of images generated","Number of views selected","Number of color variants selected","Fix or regeneration requests","Other premium features"]},{type:"paragraph",text:"Credits have no cash value. Credits are not a bank balance, stored value account, or currency."},{type:"paragraph",text:"Unused subscription credits may expire at the end of the billing period unless stated otherwise in your plan terms."},{type:"paragraph",text:"Credit top ups may expire or remain available depending on the terms shown at purchase."}]},{number:6,title:"Refunds",blocks:[{type:"paragraph",text:"Unless required by law, payments are non refundable."},{type:"paragraph",text:"This includes:"},{type:"list",items:["Subscription fees","Credit purchases","Used credits","Generated outputs","Partial billing periods"]},{type:"paragraph",text:"If you believe there was a billing error, contact us at [email protected]"}]},{number:7,title:"AI Generated Images",blocks:[{type:"paragraph",text:"SnapShot uses AI systems to generate product images based on your uploaded content, selected settings, prompts, and app inputs."},{type:"paragraph",text:"AI generated results may vary. We work to provide consistent, high quality outputs, but we do not guarantee that every generated image will be perfect, error free, commercially suitable, or identical to your expectations."},{type:"paragraph",text:"You are responsible for reviewing generated images before using them in your store, ads, marketing, or public materials."}]},{number:8,title:"User Content",blocks:[{type:"paragraph",text:'You may upload images, product content, prompts, settings, and other materials to SnapShot ("User Content").'},{type:"paragraph",text:"You confirm that:"},{type:"list",items:["You own or have rights to use the User Content.","Your User Content does not infringe third party rights.","Your User Content does not violate privacy, publicity, intellectual property, or other laws.","Your User Content does not include illegal, harmful, or restricted material."]},{type:"paragraph",text:"You grant SnapShot a worldwide, non exclusive license to host, process, transform, reproduce, and display your User Content only as needed to provide, secure, improve, and support SnapShot."}]},{number:9,title:"Generated Content Rights",blocks:[{type:"paragraph",text:"Subject to your compliance with these Terms and payment of all required fees, you may use the images generated through SnapShot for your ecommerce, marketing, store, product listing, advertising, and business purposes."},{type:"paragraph",text:"You are responsible for making sure your use of generated images complies with applicable laws, platform rules, advertising rules, intellectual property rights, and Shopify policies."},{type:"paragraph",text:"SnapShot does not guarantee that generated images are free from third party claims."}]},{number:10,title:"Prohibited Use",blocks:[{type:"paragraph",text:"You may not use SnapShot to:"},{type:"list",items:["Break any law or regulation.","Infringe intellectual property rights.","Upload content you do not have permission to use.","Generate deceptive, illegal, harmful, hateful, abusive, or exploitative content.","Create content that impersonates a real person without rights or permission.","Attempt to bypass usage limits, payment systems, or credit rules.","Reverse engineer, scrape, overload, disrupt, or attack SnapShot.","Resell, sublicense, or provide SnapShot as a competing service without written permission.","Use SnapShot to violate Shopify's terms or platform rules."]},{type:"paragraph",text:"We may remove content, block generation, suspend accounts, or terminate access if we believe these Terms were violated."}]},{number:11,title:"Shopify Store Data",blocks:[{type:"paragraph",text:"SnapShot may access Shopify store data needed to provide app functionality, based on the permissions granted during installation."},{type:"paragraph",text:"This may include product data, product images, store information, app installation data, and related settings."},{type:"paragraph",text:"We use Shopify data only to operate SnapShot, provide requested features, support merchants, maintain security, and comply with legal or Shopify requirements."},{type:"paragraph",text:"For more information, review our Privacy Policy."}]},{number:12,title:"Third Party Services",blocks:[{type:"paragraph",text:"SnapShot uses third party services, including Shopify, Stripe, hosting providers, storage providers, AI infrastru
932cture providers, analytics tools, and support tools."},{type:"paragraph",text:"Your use of SnapShot may also be subject to the terms and policies of these third parties."},{type:"paragraph",text:"We are not responsible for third party services, outages, errors, or policy changes."}]},{number:13,title:"Service Availability",blocks:[{type:"paragraph",text:"We aim to keep SnapShot reliable and available. Still, the service may be unavailable, delayed, interrupted, or limited due to maintenance, updates, technical issues, third party outages, rate limits, abuse prevention, or events outside our control."},{type:"paragraph",text:"We do not guarantee uninterrupted or error free service."}]},{number:14,title:"Changes to SnapShot",blocks:[{type:"paragraph",text:"We may update, modify, add, remove, suspend, or discontinue features at any time."},{type:"paragraph",text:"We may also change credit costs, plan features, pricing, limits, supported image formats, generation settings, or integrations."},{type:"paragraph",text:"If changes materially affect paid subscriptions, we will provide notice where required."}]},{number:15,title:"Intellectual Property",blocks:[{type:"paragraph",text:"SnapShot, including the software, design, branding, interface, workflows, technology, documentation, and related materials, is owned by Trivano Commerce LLC or its licensors."},{type:"paragraph",text:"These Terms do not transfer ownership of SnapShot to you."},{type:"paragraph",text:"You may not copy, modify, distribute, sell, lease, reverse engineer, or create derivative works from SnapShot unless allowed by law or approved by us in writing."}]},{number:16,title:"Feedback",blocks:[{type:"paragraph",text:"If you submit feedback, ideas, suggestions, or improvements, you grant us the right to use them without restriction or compensation."}]},{number:17,title:"Confidentiality",blocks:[{type:"paragraph",text:"If either party receives non public business, technical, or commercial information from the other party, the receiving party must use reasonable care to protect it and use it only for the purpose of the relationship."},{type:"paragraph",text:"This does not apply to information that is public, already known, independently developed, or lawfully received from another source."}]},{number:18,title:"Disclaimer of Warranties",blocks:[{type:"paragraph",text:'SnapShot is provided "as is" and "as available."'},{type:"paragraph",text:"To the maximum extent permitted by law, we disclaim all warranties, including implied warranties of merchantability, fitness for a particular purpose, title, non infringement, availability, accuracy, and error free operation."},{type:"paragraph",text:"You use SnapShot at your own risk."}]},{number:19,title:"Limitation of Liability",blocks:[{type:"paragraph",text:"To the maximum extent permitted by law, Trivano Commerce LLC and its owners, officers, employees, contractors, partners, and service providers will not be liable for indirect, incidental, special, consequential, exemplary, or punitive damages."},{type:"paragraph",text:"This includes lost profits, lost revenue, lost data, lost business, store downtime, advertising losses, or reputational harm."},{type:"paragraph",text:"To the maximum extent permitted by law, our total liability for any claim related to SnapShot will not exceed the amount you paid to SnapShot in the three months before the event giving rise to the claim."}]},{number:20,title:"Indemnification",blocks:[{type:"paragraph",text:"You agree to defend, indemnify, and hold harmless Trivano Commerce LLC from claims, damages, losses, liabilities, costs, and expenses arising from:"},{type:"list",items:["Your use of SnapShot.","Your User Content.","Your generated content.","Your breach of these Terms.","Your violation of law.","Your violation of third party rights.","Your Shopify store activity connected to SnapShot."]}]},{number:21,title:"Suspension and Termination",blocks:[{type:"paragraph",text:"We may suspend or terminate your access to SnapShot if:"},{type:"list",items:["You breach these Terms.","Payment fails.","Your account creates security, legal, financial, or operational risk.","You misuse the service.","Required by law, Shopify, payment providers, or platform rules."]},{type:"paragraph",text:"You may stop using SnapShot at any time. You may uninstall the app from your Shopify store through Shopify."},{type:"paragraph",text:"Termination does not remove payment obligations already incurred."}]},{number:22,title:"Data After Termination",blocks:[{type:"paragraph",text:"After termination or uninstall, we may delete or anonymize store related data according to our Privacy Policy, Shopify requirements, and legal obligations."},{type:"paragraph",text:"Generated images, account data, billing records, logs, and support records may be retained where needed for legal, accounting, security, fraud prevention, dispute resolution, or operational purposes."}]},{number:23,title:"Governing Law",blocks:[{type:"paragraph",text:"These Terms are governed by the laws of the State of Wyoming, United States, without regard to conflict of law principles."}]},{number:24,title:"Disputes",blocks:[{type:"paragraph",text:"Before starting a formal claim, you agree to contact us at [email protected] and try to resolve the issue informally."}
932,{type:"paragraph",text:"If a dispute cannot be resolved informally, it will be handled in the state or federal courts located in Wyoming, unless applicable law requires another venue."}]},{number:25,title:"Changes to These Terms",blocks:[{type:"paragraph",text:"We may update these Terms from time to time."},{type:"paragraph",text:'When we update them, we will change the "Last updated" date. If changes are material, we may provide notice through the app, website, email, or another reasonable method.'},{type:"paragraph",text:"Your continued use of SnapShot after changes means you accept the updated Terms."}]},{number:26,title:"Contact",blocks:[{type:"paragraph",text:"For questions about these Terms, contact:"},{type:"paragraph",text:`Trivano Commerce LLC 93330 N North Gould Street 934Sheridan, WY 82801 935United States`},{type:"paragraph",text:"Support email: [email protected]"},{type:"paragraph",text:"Website: https://snap-shot.ai"}]}],EMAIL="[email protected]",WEBSITE="https://snap-shot.ai",PRIVACY_POLICY_PHRASE="Privacy Policy";function renderInlineText(_){return _.split(new RegExp(`(${EMAIL.replace(".","\\.")}|${WEBSITE.replace(/\./g,"\\.")}|${PRIVACY_POLICY_PHRASE})`,"g")).map((et,tt)=>et===EMAIL?jsxRuntimeExports.jsx("a",{href:`mailto:${EMAIL}`,className:"text-violet-400 hover:text-violet-300 hover:underline font-medium",children:EMAIL},tt):et===WEBSITE?jsxRuntimeExports.jsx("a",{href:WEBSITE,target:"_blank",rel:"noopener noreferrer",className:"text-violet-400 hover:text-violet-300 hover:underline font-medium",children:WEBSITE},tt):et===PRIVACY_POLICY_PHRASE?jsxRuntimeExports.jsx(Link,{to:"/privacy",className:"text-violet-400 hover:text-violet-300 hover:underline font-medium",children:PRIVACY_POLICY_PHRASE},tt):et)}function PolicyBlockRenderer({block:_}){switch(_.type){case"paragraph":return jsxRuntimeExports.jsx("p",{children:renderInlineText(_.text)});case"list":return jsxRuntimeExports.jsx("ul",{children:_.items.map(j=>jsxRuntimeExports.jsx("li",{children:renderInlineText(j)},j))});case"subsection":return jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h3",{children:_.title}),_.blocks.map((j,et)=>jsxRuntimeExports.jsx(PolicyBlockRenderer,{block:j},`${_.title}-${et}`))]});default:return null}}function TermsOfService(){return reactExports.useEffect(()=>(document.title="Terms of Service | SnapShot",()=>{document.title="SnapShot - Product Imagery Reimagined | AI Photography"}),[]),jsxRuntimeExports.jsxs("div",{className:"min-h-screen bg-background text-foreground flex flex-col",children:[jsxRuntimeExports.jsx("header",{className:"border-b border-border/50 bg-card/50 backdrop-blur-sm",children:jsxRuntimeExports.jsxs("div",{className:"container max-w-3xl mx-auto px-4 py-4 flex items-center justify-between",children:[jsxRuntimeExports.jsx(Link,{to:"/",className:"inline-flex items-center",children:jsxRuntimeExports.jsx("img",{src:snapshotLogo,alt:"SnapShot",className:"h-10 w-auto"})}),jsxRuntimeExports.jsx(Button,{asChild:!0,variant:"ghost",size:"sm",className:"gap-2 text-zinc-300 hover:text-foreground",children:jsxRuntimeExports.jsxs(Link,{to:"/",children:[jsxRuntimeExports.jsx(ArrowLeft,{className:"h-4 w-4"}),"Back to Homepage"]})})]})}),jsxRuntimeExports.jsxs("main",{className:"flex-1 container max-w-3xl mx-auto px-4 py-10 md:py-14",children:[jsxRuntimeExports.jsxs("div",{className:"mb-10",children:[jsxRuntimeExports.jsx("h1",{className:"text-3xl font-display font-semibold text-zinc-100 tracking-tight mb-3",children:TERMS_META.title}),jsxRuntimeExports.jsxs("p",{className:"text-sm text-zinc-400",children:["Last Updated: ",TERMS_META.lastUpdated]})]}),jsxRuntimeExports.jsxs("article",{className:`prose prose-invert max-w-none 936 prose-headings:font-display prose-headings:text-zinc-100 prose-headings:font-semibold 937 prose-h2:text-2xl prose-h2:mt-10 prose-h2:mb-4 938 prose-h3:text-lg prose-h3:text-zinc-200 prose-h3:mt-6 prose-h3:mb-2 939 prose-p:text-zinc-300 prose-p:leading-relaxed 940 prose-li:text-zinc-300 prose-li:marker:text-zinc-500 941 prose-strong:text-zinc-100 942 prose-a:text-violet-400 prose-a:font-medium hover:prose-a:text-violet-300 hover:prose-a:underline`,children:[TERMS_INTRO.map((_,j)=>jsxRuntimeExports.jsx(PolicyBlockRenderer,{block:_},`intro-${j}`)),TERMS_SECTIONS.map(_=>jsxRuntimeExports.jsxs("section",{className:"mb-8",children:[jsxRuntimeExports.jsxs("h2",{children:[_.number,". ",_.title]}),_.blocks.map((j,et)=>jsxRuntimeExports.jsx(PolicyBlockRenderer,{block:j},`${_.number}-${et}`))]},_.number))]})]}),jsxRuntimeExports.jsx("footer",{className:"border-t border-border/50 py-6 text-center",children:jsxRuntimeExports.jsxs("p",{className:"text-xs text-zinc-500",children:["© ",new Date().getFullYear()," SnapShot. All rights reserved."]})})]})}const queryClient=new QueryClient,App=()=>jsxRuntimeExports.jsx(QueryClientProvider,{client:queryClient,children:jsxRuntimeExports.jsxs(TooltipProvider,{children:[jsxRuntimeExports.jsx(Toaster,{}),jsxRuntimeExports.jsx(BrowserRouter,{children:jsxRuntimeExports.jsxs(Routes,{children:[jsxRuntimeExports.jsx(Route,{path:"/admin/login",element:jsxRuntimeExports.jsx(Adm
942inLogin,{})}),jsxRuntimeExports.jsx(Route,{path:"/admin",element:jsxRuntimeExports.jsx(RequireAdmin,{children:jsxRuntimeExports.jsx(Admin,{})})}),jsxRuntimeExports.jsx(Route,{path:"/",element:jsxRuntimeExports.jsx(Homepage,{})}),jsxRuntimeExports.jsx(Route,{path:"/auth",element:jsxRuntimeExports.jsx(Auth,{})}),jsxRuntimeExports.jsx(Route,{path:"/reset-password",element:jsxRuntimeExports.jsx(ResetPassword,{})}),jsxRuntimeExports.jsx(Route,{path:"/pricing",element:jsxRuntimeExports.jsx(PricingPage,{})}),jsxRuntimeExports.jsx(Route,{path:"/privacy",element:jsxRuntimeExports.jsx(PrivacyPolicy,{})}),jsxRuntimeExports.jsx(Route,{path:"/terms",element:jsxRuntimeExports.jsx(TermsOfService,{})}),jsxRuntimeExports.jsx(Route,{path:"/app",element:jsxRuntimeExports.jsx(RequireAuth,{children:jsxRuntimeExports.jsx(SidebarLayout,{children:jsxRuntimeExports.jsx(Generator,{})})})}),jsxRuntimeExports.jsx(Route,{path:"/prompt-builder",element:jsxRuntimeExports.jsx(RequireAuth,{children:jsxRuntimeExports.jsx(SidebarLayout,{children:jsxRuntimeExports.jsx(PromptBuilder,{})})})}),jsxRuntimeExports.jsx(Route,{path:"/profile",element:jsxRuntimeExports.jsx(RequireAuth,{children:jsxRuntimeExports.jsx(SidebarLayout,{children:jsxRuntimeExports.jsx(Profile,{})})})}),jsxRuntimeExports.jsx(Route,{path:"/my-images",element:jsxRuntimeExports.jsx(RequireAuth,{children:jsxRuntimeExports.jsx(SidebarLayout,{children:jsxRuntimeExports.jsx(MyImages,{})})})}),jsxRuntimeExports.jsx(Route,{path:"/integrations",element:jsxRuntimeExports.jsx(RequireAuth,{children:jsxRuntimeExports.jsx(SidebarLayout,{children:jsxRuntimeExports.jsx(Integrations,{})})})}),jsxRuntimeExports.jsx(Route,{path:"*",element:jsxRuntimeExports.jsx(NotFound,{})})]})})]})});createRoot(document.getElementById("root")).render(jsxRuntimeExports.jsx(App,{}));
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.