hyperframes 0.7.43 → 0.7.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +302 -87
- package/dist/studio/assets/{index-Drb3FuD6.js → index-8c83yScV.js} +1 -1
- package/dist/studio/assets/{index-Dqugm4lQ.js → index-BiZvHXPu.js} +1 -1
- package/dist/studio/assets/{index-C-0DP25T.js → index-BtAysyap.js} +3 -3
- package/dist/studio/index.html +1 -1
- package/package.json +1 -1
|
@@ -46,7 +46,7 @@ var Cle=Object.defineProperty;var Ele=(t,e,n)=>e in t?Cle(t,e,{enumerable:!0,con
|
|
|
46
46
|
`+be[P].replace(" at new "," at ");return h.displayName&&He.includes("<anonymous>")&&(He=He.replace("<anonymous>",h.displayName)),He}while(1<=P&&0<=L);break}}}finally{Ke=!1,Error.prepareStackTrace=O}return(O=h?h.displayName||h.name:"")?Ge(O):""}function ye(h,p){switch(h.tag){case 26:case 27:case 5:return Ge(h.type);case 16:return Ge("Lazy");case 13:return h.child!==p&&p!==null?Ge("Suspense Fallback"):Ge("Suspense");case 19:return Ge("SuspenseList");case 0:case 15:return ft(h.type,!1);case 11:return ft(h.type.render,!1);case 1:return ft(h.type,!0);case 31:return Ge("Activity");default:return""}}function ve(h){try{var p="",O=null;do p+=ye(h,O),O=h,h=h.return;while(h);return p}catch(P){return`
|
|
47
47
|
Error generating stack: `+P.message+`
|
|
48
48
|
`+P.stack}}var Se=Object.prototype.hasOwnProperty,Be=t.unstable_scheduleCallback,Ze=t.unstable_cancelCallback,Ye=t.unstable_shouldYield,ht=t.unstable_requestPaint,Ue=t.unstable_now,tt=t.unstable_getCurrentPriorityLevel,St=t.unstable_ImmediatePriority,Tt=t.unstable_UserBlockingPriority,nt=t.unstable_NormalPriority,vt=t.unstable_LowPriority,Xt=t.unstable_IdlePriority,Pt=t.log,It=t.unstable_setDisableYieldValue,At=null,mt=null;function ut(h){if(typeof Pt=="function"&&It(h),mt&&typeof mt.setStrictMode=="function")try{mt.setStrictMode(At,h)}catch{}}var _e=Math.clz32?Math.clz32:Vt,Qe=Math.log,qe=Math.LN2;function Vt(h){return h>>>=0,h===0?32:31-(Qe(h)/qe|0)|0}var Mt=256,qt=262144,Oe=4194304;function we(h){var p=h&42;if(p!==0)return p;switch(h&-h){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return h&261888;case 262144:case 524288:case 1048576:case 2097152:return h&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return h&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return h}}function Ve(h,p,O){var P=h.pendingLanes;if(P===0)return 0;var L=0,V=h.suspendedLanes,J=h.pingedLanes;h=h.warmLanes;var ce=P&134217727;return ce!==0?(P=ce&~V,P!==0?L=we(P):(J&=ce,J!==0?L=we(J):O||(O=ce&~h,O!==0&&(L=we(O))))):(ce=P&~V,ce!==0?L=we(ce):J!==0?L=we(J):O||(O=P&~h,O!==0&&(L=we(O)))),L===0?0:p!==0&&p!==L&&(p&V)===0&&(V=L&-L,O=p&-p,V>=O||V===32&&(O&4194048)!==0)?p:L}function Te(h,p){return(h.pendingLanes&~(h.suspendedLanes&~h.pingedLanes)&p)===0}function $t(h,p){switch(h){case 1:case 2:case 4:case 8:case 64:return p+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return p+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function dn(){var h=Oe;return Oe<<=1,(Oe&62914560)===0&&(Oe=4194304),h}function $n(h){for(var p=[],O=0;31>O;O++)p.push(h);return p}function bn(h,p){h.pendingLanes|=p,p!==268435456&&(h.suspendedLanes=0,h.pingedLanes=0,h.warmLanes=0)}function Yn(h,p,O,P,L,V){var J=h.pendingLanes;h.pendingLanes=O,h.suspendedLanes=0,h.pingedLanes=0,h.warmLanes=0,h.expiredLanes&=O,h.entangledLanes&=O,h.errorRecoveryDisabledLanes&=O,h.shellSuspendCounter=0;var ce=h.entanglements,be=h.expirationTimes,De=h.hiddenUpdates;for(O=J&~O;0<O;){var He=31-_e(O),Xe=1<<He;ce[He]=0,be[He]=-1;var Ne=De[He];if(Ne!==null)for(De[He]=null,He=0;He<Ne.length;He++){var Le=Ne[He];Le!==null&&(Le.lane&=-536870913)}O&=~Xe}P!==0&&ar(h,P,0),V!==0&&L===0&&h.tag!==0&&(h.suspendedLanes|=V&~(J&~p))}function ar(h,p,O){h.pendingLanes|=p,h.suspendedLanes&=~p;var P=31-_e(p);h.entangledLanes|=p,h.entanglements[P]=h.entanglements[P]|1073741824|O&261930}function $r(h,p){var O=h.entangledLanes|=p;for(h=h.entanglements;O;){var P=31-_e(O),L=1<<P;L&p|h[P]&p&&(h[P]|=p),O&=~L}}function or(h,p){var O=p&-p;return O=(O&42)!==0?1:kn(O),(O&(h.suspendedLanes|p))!==0?0:O}function kn(h){switch(h){case 2:h=1;break;case 8:h=4;break;case 32:h=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:h=128;break;case 268435456:h=134217728;break;default:h=0}return h}function An(h){return h&=-h,2<h?8<h?(h&134217727)!==0?32:268435456:8:2}function bt(){var h=ne.p;return h!==0?h:(h=window.event,h===void 0?32:cI(h.type))}function xr(h,p){var O=ne.p;try{return ne.p=h,p()}finally{ne.p=O}}var tn=Math.random().toString(36).slice(2),mn="__reactFiber$"+tn,Nn="__reactProps$"+tn,Hn="__reactContainer$"+tn,dr="__reactEvents$"+tn,zt="__reactListeners$"+tn,We="__reactHandles$"+tn,Ut="__reactResources$"+tn,gn="__reactMarker$"+tn;function br(h){delete h[mn],delete h[Nn],delete h[dr],delete h[zt],delete h[We]}function Ur(h){var p=h[mn];if(p)return p;for(var O=h.parentNode;O;){if(p=O[Hn]||O[mn]){if(O=p.alternate,p.child!==null||O!==null&&O.child!==null)for(h=U9(h);h!==null;){if(O=h[mn])return O;h=U9(h)}return p}h=O,O=h.parentNode}return null}function qn(h){if(h=h[mn]||h[Hn]){var p=h.tag;if(p===5||p===6||p===13||p===31||p===26||p===27||p===3)return h}return null}function Mi(h){var p=h.tag;if(p===5||p===26||p===27||p===6)return h.stateNode;throw Error(r(33))}function Bn(h){var p=h[Ut];return p||(p=h[Ut]={hoistableStyles:new Map,hoistableScripts:new Map}),p}function wn(h){h[gn]=!0}var xi=new Set,Rt={};function Ht(h,p){Kn(h,p),Kn(h+"Capture",p)}function Kn(h,p){for(Rt[h]=p,h=0;h<p.length;h++)xi.add(p[h])}var yt=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Zn={},$e={};function dt(h){return Se.call($e,h)?!0:Se.call(Zn,h)?!1:yt.test(h)?$e[h]=!0:(Zn[h]=!0,!1)}function Kt(h,p,O){if(dt(p))if(O===null)h.removeAttribute(p);else{switch(typeof O){case"undefined":case"function":case"symbol":h.removeAttribute(p);return;case"boolean":var P=p.toLowerCase().slice(0,5);if(P!=="data-"&&P!=="aria-"){h.removeAttribute(p);return}}h.setAttribute(p,""+O)}}function vn(h,p,O){if(O===null)h.removeAttribute(p);else{switch(typeof O){case"undefined":case"function":case"symbol":case"boolean":h.removeAttribute(p);return}h.setAttribute(p,""+O)}}function un(h,p,O,P){if(P===null)h.removeAttribute(O);else{switch(typeof P){case"undefined":case"function":case"symbol":case"boolean":h.removeAttribute(O);return}h.setAttributeNS(p,O,""+P)}}function zn(h){switch(typeof h){case"bigint":case"boolean":case"number":case"string":case"undefined":return h;case"object":return h;default:return""}}function lr(h){var p=h.type;return(h=h.nodeName)&&h.toLowerCase()==="input"&&(p==="checkbox"||p==="radio")}function js(h,p,O){var P=Object.getOwnPropertyDescriptor(h.constructor.prototype,p);if(!h.hasOwnProperty(p)&&typeof P<"u"&&typeof P.get=="function"&&typeof P.set=="function"){var L=P.get,V=P.set;return Object.defineProperty(h,p,{configurable:!0,get:function(){return L.call(this)},set:function(J){O=""+J,V.call(this,J)}}),Object.defineProperty(h,p,{enumerable:P.enumerable}),{getValue:function(){return O},setValue:function(J){O=""+J},stopTracking:function(){h._valueTracker=null,delete h[p]}}}}function ws(h){if(!h._valueTracker){var p=lr(h)?"checked":"value";h._valueTracker=js(h,p,""+h[p])}}function Fs(h){if(!h)return!1;var p=h._valueTracker;if(!p)return!0;var O=p.getValue(),P="";return h&&(P=lr(h)?h.checked?"true":"false":h.value),h=P,h!==O?(p.setValue(h),!0):!1}function Js(h){if(h=h||(typeof document<"u"?document:void 0),typeof h>"u")return null;try{return h.activeElement||h.body}catch{return h.body}}var mu=/[\n"\\]/g;function bi(h){return h.replace(mu,function(p){return"\\"+p.charCodeAt(0).toString(16)+" "})}function Pa(h,p,O,P,L,V,J,ce){h.name="",J!=null&&typeof J!="function"&&typeof J!="symbol"&&typeof J!="boolean"?h.type=J:h.removeAttribute("type"),p!=null?J==="number"?(p===0&&h.value===""||h.value!=p)&&(h.value=""+zn(p)):h.value!==""+zn(p)&&(h.value=""+zn(p)):J!=="submit"&&J!=="reset"||h.removeAttribute("value"),p!=null?fe(h,J,zn(p)):O!=null?fe(h,J,zn(O)):P!=null&&h.removeAttribute("value"),L==null&&V!=null&&(h.defaultChecked=!!V),L!=null&&(h.checked=L&&typeof L!="function"&&typeof L!="symbol"),ce!=null&&typeof ce!="function"&&typeof ce!="symbol"&&typeof ce!="boolean"?h.name=""+zn(ce):h.removeAttribute("name")}function lt(h,p,O,P,L,V,J,ce){if(V!=null&&typeof V!="function"&&typeof V!="symbol"&&typeof V!="boolean"&&(h.type=V),p!=null||O!=null){if(!(V!=="submit"&&V!=="reset"||p!=null)){ws(h);return}O=O!=null?""+zn(O):"",p=p!=null?""+zn(p):O,ce||p===h.value||(h.value=p),h.defaultValue=p}P=P??L,P=typeof P!="function"&&typeof P!="symbol"&&!!P,h.checked=ce?h.checked:!!P,h.defaultChecked=!!P,J!=null&&typeof J!="function"&&typeof J!="symbol"&&typeof J!="boolean"&&(h.name=J),ws(h)}function fe(h,p,O){p==="number"&&Js(h.ownerDocument)===h||h.defaultValue===""+O||(h.defaultValue=""+O)}function ke(h,p,O,P){if(h=h.options,p){p={};for(var L=0;L<O.length;L++)p["$"+O[L]]=!0;for(O=0;O<h.length;O++)L=p.hasOwnProperty("$"+h[O].value),h[O].selected!==L&&(h[O].selected=L),L&&P&&(h[O].defaultSelected=!0)}else{for(O=""+zn(O),p=null,L=0;L<h.length;L++){if(h[L].value===O){h[L].selected=!0,P&&(h[L].defaultSelected=!0);return}p!==null||h[L].disabled||(p=h[L])}p!==null&&(p.selected=!0)}}function at(h,p,O){if(p!=null&&(p=""+zn(p),p!==h.value&&(h.value=p),O==null)){h.defaultValue!==p&&(h.defaultValue=p);return}h.defaultValue=O!=null?""+zn(O):""}function xt(h,p,O,P){if(p==null){if(P!=null){if(O!=null)throw Error(r(92));if(re(P)){if(1<P.length)throw Error(r(93));P=P[0]}O=P}O==null&&(O=""),p=O}O=zn(p),h.defaultValue=O,P=h.textContent,P===O&&P!==""&&P!==null&&(h.value=P),ws(h)}function nn(h,p){if(p){var O=h.firstChild;if(O&&O===h.lastChild&&O.nodeType===3){O.nodeValue=p;return}}h.textContent=p}var Sn=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Br(h,p,O){var P=p.indexOf("--")===0;O==null||typeof O=="boolean"||O===""?P?h.setProperty(p,""):p==="float"?h.cssFloat="":h[p]="":P?h.setProperty(p,O):typeof O!="number"||O===0||Sn.has(p)?p==="float"?h.cssFloat=O:h[p]=(""+O).trim():h[p]=O+"px"}function cr(h,p,O){if(p!=null&&typeof p!="object")throw Error(r(62));if(h=h.style,O!=null){for(var P in O)!O.hasOwnProperty(P)||p!=null&&p.hasOwnProperty(P)||(P.indexOf("--")===0?h.setProperty(P,""):P==="float"?h.cssFloat="":h[P]="");for(var L in p)P=p[L],p.hasOwnProperty(L)&&O[L]!==P&&Br(h,L,P)}else for(var V in p)p.hasOwnProperty(V)&&Br(h,V,p[V])}function Ai(h){if(h.indexOf("-")===-1)return!1;switch(h){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 ss=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),sc=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Gr(h){return sc.test(""+h)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":h}function Ma(){}var Vr=null;function Qi(h){return h=h.target||h.srcElement||window,h.correspondingUseElement&&(h=h.correspondingUseElement),h.nodeType===3?h.parentNode:h}var kr=null,Wi=null;function gu(h){var p=qn(h);if(p&&(h=p.stateNode)){var O=h[Nn]||null;e:switch(h=p.stateNode,p.type){case"input":if(Pa(h,O.value,O.defaultValue,O.defaultValue,O.checked,O.defaultChecked,O.type,O.name),p=O.name,O.type==="radio"&&p!=null){for(O=h;O.parentNode;)O=O.parentNode;for(O=O.querySelectorAll('input[name="'+bi(""+p)+'"][type="radio"]'),p=0;p<O.length;p++){var P=O[p];if(P!==h&&P.form===h.form){var L=P[Nn]||null;if(!L)throw Error(r(90));Pa(P,L.value,L.defaultValue,L.defaultValue,L.checked,L.defaultChecked,L.type,L.name)}}for(p=0;p<O.length;p++)P=O[p],P.form===h.form&&Fs(P)}break e;case"textarea":at(h,O.value,O.defaultValue);break e;case"select":p=O.value,p!=null&&ke(h,!!O.multiple,p,!1)}}}var xm=!1;function Ed(h,p,O){if(xm)return h(p,O);xm=!0;try{var P=h(p);return P}finally{if(xm=!1,(kr!==null||Wi!==null)&&(pb(),kr&&(p=kr,h=Wi,Wi=kr=null,gu(p),h)))for(p=0;p<h.length;p++)gu(h[p])}}function Qh(h,p){var O=h.stateNode;if(O===null)return null;var P=O[Nn]||null;if(P===null)return null;O=P[p];e:switch(p){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(P=!P.disabled)||(h=h.type,P=!(h==="button"||h==="input"||h==="select"||h==="textarea")),h=!P;break e;default:h=!1}if(h)return null;if(O&&typeof O!="function")throw Error(r(231,p,typeof O));return O}var Da=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),bm=!1;if(Da)try{var yu={};Object.defineProperty(yu,"passive",{get:function(){bm=!0}}),window.addEventListener("test",yu,yu),window.removeEventListener("test",yu,yu)}catch{bm=!1}var gt=null,Am=null,Hh=null;function A2(){if(Hh)return Hh;var h,p=Am,O=p.length,P,L="value"in gt?gt.value:gt.textContent,V=L.length;for(h=0;h<O&&p[h]===L[h];h++);var J=O-h;for(P=1;P<=J&&p[O-P]===L[V-P];P++);return Hh=L.slice(h,1<P?1-P:void 0)}function kd(h){var p=h.keyCode;return"charCode"in h?(h=h.charCode,h===0&&p===13&&(h=13)):h=p,h===10&&(h=13),32<=h||h===13?h:0}function Td(){return!0}function v2(){return!1}function as(h){function p(O,P,L,V,J){this._reactName=O,this._targetInst=L,this.type=P,this.nativeEvent=V,this.target=J,this.currentTarget=null;for(var ce in h)h.hasOwnProperty(ce)&&(O=h[ce],this[ce]=O?O(V):V[ce]);return this.isDefaultPrevented=(V.defaultPrevented!=null?V.defaultPrevented:V.returnValue===!1)?Td:v2,this.isPropagationStopped=v2,this}return f(p.prototype,{preventDefault:function(){this.defaultPrevented=!0;var O=this.nativeEvent;O&&(O.preventDefault?O.preventDefault():typeof O.returnValue!="unknown"&&(O.returnValue=!1),this.isDefaultPrevented=Td)},stopPropagation:function(){var O=this.nativeEvent;O&&(O.stopPropagation?O.stopPropagation():typeof O.cancelBubble!="unknown"&&(O.cancelBubble=!0),this.isPropagationStopped=Td)},persist:function(){},isPersistent:Td}),p}var ac={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(h){return h.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Zh=as(ac),xu=f({},ac,{view:0,detail:0}),Ew=as(xu),vm,Pd,bu,Md=f({},xu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Dd,button:0,buttons:0,relatedTarget:function(h){return h.relatedTarget===void 0?h.fromElement===h.srcElement?h.toElement:h.fromElement:h.relatedTarget},movementX:function(h){return"movementX"in h?h.movementX:(h!==bu&&(bu&&h.type==="mousemove"?(vm=h.screenX-bu.screenX,Pd=h.screenY-bu.screenY):Pd=vm=0,bu=h),vm)},movementY:function(h){return"movementY"in h?h.movementY:Pd}}),Sm=as(Md),kw=f({},Md,{dataTransfer:0}),Tw=as(kw),Om=f({},xu,{relatedTarget:0}),wm=as(Om),Pw=f({},ac,{animationName:0,elapsedTime:0,pseudoElement:0}),Cm=as(Pw),Mw=f({},ac,{clipboardData:function(h){return"clipboardData"in h?h.clipboardData:window.clipboardData}}),Dw=as(Mw),S2=f({},ac,{data:0}),O2=as(S2),Nw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_w={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"},Iw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function zh(h){var p=this.nativeEvent;return p.getModifierState?p.getModifierState(h):(h=Iw[h])?!!p[h]:!1}function Dd(){return zh}var Rw=f({},xu,{key:function(h){if(h.key){var p=Nw[h.key]||h.key;if(p!=="Unidentified")return p}return h.type==="keypress"?(h=kd(h),h===13?"Enter":String.fromCharCode(h)):h.type==="keydown"||h.type==="keyup"?_w[h.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Dd,charCode:function(h){return h.type==="keypress"?kd(h):0},keyCode:function(h){return h.type==="keydown"||h.type==="keyup"?h.keyCode:0},which:function(h){return h.type==="keypress"?kd(h):h.type==="keydown"||h.type==="keyup"?h.keyCode:0}}),Y=as(Rw),C=f({},Md,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),y=as(C),E=f({},xu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Dd}),N=as(E),Z=f({},ac,{propertyName:0,elapsedTime:0,pseudoElement:0}),ee=as(Z),ae=f({},Md,{deltaX:function(h){return"deltaX"in h?h.deltaX:"wheelDeltaX"in h?-h.wheelDeltaX:0},deltaY:function(h){return"deltaY"in h?h.deltaY:"wheelDeltaY"in h?-h.wheelDeltaY:"wheelDelta"in h?-h.wheelDelta:0},deltaZ:0,deltaMode:0}),ue=as(ae),de=f({},ac,{newState:0,oldState:0}),xe=as(de),Ie=[9,13,27,32],Je=Da&&"CompositionEvent"in window,rt=null;Da&&"documentMode"in document&&(rt=document.documentMode);var wt=Da&&"TextEvent"in window&&!rt,Tn=Da&&(!Je||rt&&8<rt&&11>=rt),pr=" ",an=!1;function ur(h,p){switch(h){case"keyup":return Ie.indexOf(p.keyCode)!==-1;case"keydown":return p.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function yl(h){return h=h.detail,typeof h=="object"&&"data"in h?h.data:null}var $s=!1;function w2(h,p){switch(h){case"compositionend":return yl(p);case"keypress":return p.which!==32?null:(an=!0,pr);case"textInput":return h=p.data,h===pr&&an?null:h;default:return null}}function C2(h,p){if($s)return h==="compositionend"||!Je&&ur(h,p)?(h=A2(),Hh=Am=gt=null,$s=!1,h):null;switch(h){case"paste":return null;case"keypress":if(!(p.ctrlKey||p.altKey||p.metaKey)||p.ctrlKey&&p.altKey){if(p.char&&1<p.char.length)return p.char;if(p.which)return String.fromCharCode(p.which)}return null;case"compositionend":return Tn&&p.locale!=="ko"?null:p.data;default:return null}}var E2={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 Em(h){var p=h&&h.nodeName&&h.nodeName.toLowerCase();return p==="input"?!!E2[h.type]:p==="textarea"}function km(h,p,O,P){kr?Wi?Wi.push(P):Wi=[P]:kr=P,p=vb(p,"onChange"),0<p.length&&(O=new Zh("onChange","change",null,O,P),h.push({event:O,listeners:p}))}var Au=null,vu=null;function k2(h){_9(h,0)}function Xh(h){var p=Mi(h);if(Fs(p))return h}function Tm(h,p){if(h==="change")return p}var Pm=!1;if(Da){var Nd;if(Da){var _d="oninput"in document;if(!_d){var Mm=document.createElement("div");Mm.setAttribute("oninput","return;"),_d=typeof Mm.oninput=="function"}Nd=_d}else Nd=!1;Pm=Nd&&(!document.documentMode||9<document.documentMode)}function Dm(){Au&&(Au.detachEvent("onpropertychange",Nm),vu=Au=null)}function Nm(h){if(h.propertyName==="value"&&Xh(vu)){var p=[];km(p,vu,h,Qi(h)),Ed(k2,p)}}function T2(h,p,O){h==="focusin"?(Dm(),Au=p,vu=O,Au.attachEvent("onpropertychange",Nm)):h==="focusout"&&Dm()}function P2(h){if(h==="selectionchange"||h==="keyup"||h==="keydown")return Xh(vu)}function M2(h,p){if(h==="click")return Xh(p)}function D2(h,p){if(h==="input"||h==="change")return Xh(p)}function N2(h,p){return h===p&&(h!==0||1/h===1/p)||h!==h&&p!==p}var Cs=typeof Object.is=="function"?Object.is:N2;function Su(h,p){if(Cs(h,p))return!0;if(typeof h!="object"||h===null||typeof p!="object"||p===null)return!1;var O=Object.keys(h),P=Object.keys(p);if(O.length!==P.length)return!1;for(P=0;P<O.length;P++){var L=O[P];if(!Se.call(p,L)||!Cs(h[L],p[L]))return!1}return!0}function _m(h){for(;h&&h.firstChild;)h=h.firstChild;return h}function Im(h,p){var O=_m(h);h=0;for(var P;O;){if(O.nodeType===3){if(P=h+O.textContent.length,h<=p&&P>=p)return{node:O,offset:p-h};h=P}e:{for(;O;){if(O.nextSibling){O=O.nextSibling;break e}O=O.parentNode}O=void 0}O=_m(O)}}function Rm(h,p){return h&&p?h===p?!0:h&&h.nodeType===3?!1:p&&p.nodeType===3?Rm(h,p.parentNode):"contains"in h?h.contains(p):h.compareDocumentPosition?!!(h.compareDocumentPosition(p)&16):!1:!1}function Lm(h){h=h!=null&&h.ownerDocument!=null&&h.ownerDocument.defaultView!=null?h.ownerDocument.defaultView:window;for(var p=Js(h.document);p instanceof h.HTMLIFrameElement;){try{var O=typeof p.contentWindow.location.href=="string"}catch{O=!1}if(O)h=p.contentWindow;else break;p=Js(h.document)}return p}function Id(h){var p=h&&h.nodeName&&h.nodeName.toLowerCase();return p&&(p==="input"&&(h.type==="text"||h.type==="search"||h.type==="tel"||h.type==="url"||h.type==="password")||p==="textarea"||h.contentEditable==="true")}var _2=Da&&"documentMode"in document&&11>=document.documentMode,oc=null,Lw=null,jm=null,jw=!1;function o_(h,p,O){var P=O.window===O?O.document:O.nodeType===9?O:O.ownerDocument;jw||oc==null||oc!==Js(P)||(P=oc,"selectionStart"in P&&Id(P)?P={start:P.selectionStart,end:P.selectionEnd}:(P=(P.ownerDocument&&P.ownerDocument.defaultView||window).getSelection(),P={anchorNode:P.anchorNode,anchorOffset:P.anchorOffset,focusNode:P.focusNode,focusOffset:P.focusOffset}),jm&&Su(jm,P)||(jm=P,P=vb(Lw,"onSelect"),0<P.length&&(p=new Zh("onSelect","select",null,p,O),h.push({event:p,listeners:P}),p.target=oc)))}function Uh(h,p){var O={};return O[h.toLowerCase()]=p.toLowerCase(),O["Webkit"+h]="webkit"+p,O["Moz"+h]="moz"+p,O}var Rd={animationend:Uh("Animation","AnimationEnd"),animationiteration:Uh("Animation","AnimationIteration"),animationstart:Uh("Animation","AnimationStart"),transitionrun:Uh("Transition","TransitionRun"),transitionstart:Uh("Transition","TransitionStart"),transitioncancel:Uh("Transition","TransitionCancel"),transitionend:Uh("Transition","TransitionEnd")},Fw={},l_={};Da&&(l_=document.createElement("div").style,"AnimationEvent"in window||(delete Rd.animationend.animation,delete Rd.animationiteration.animation,delete Rd.animationstart.animation),"TransitionEvent"in window||delete Rd.transitionend.transition);function Gh(h){if(Fw[h])return Fw[h];if(!Rd[h])return h;var p=Rd[h],O;for(O in p)if(p.hasOwnProperty(O)&&O in l_)return Fw[h]=p[O];return h}var c_=Gh("animationend"),u_=Gh("animationiteration"),h_=Gh("animationstart"),soe=Gh("transitionrun"),aoe=Gh("transitionstart"),ooe=Gh("transitioncancel"),f_=Gh("transitionend"),d_=new Map,$w="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");$w.push("scrollEnd");function Bo(h,p){d_.set(h,p),Ht(p,[h])}var I2=typeof reportError=="function"?reportError:function(h){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var p=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h),error:h});if(!window.dispatchEvent(p))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",h);return}console.error(h)},lo=[],Ld=0,Bw=0;function R2(){for(var h=Ld,p=Bw=Ld=0;p<h;){var O=lo[p];lo[p++]=null;var P=lo[p];lo[p++]=null;var L=lo[p];lo[p++]=null;var V=lo[p];if(lo[p++]=null,P!==null&&L!==null){var J=P.pending;J===null?L.next=L:(L.next=J.next,J.next=L),P.pending=L}V!==0&&p_(O,L,V)}}function L2(h,p,O,P){lo[Ld++]=h,lo[Ld++]=p,lo[Ld++]=O,lo[Ld++]=P,Bw|=P,h.lanes|=P,h=h.alternate,h!==null&&(h.lanes|=P)}function Vw(h,p,O,P){return L2(h,p,O,P),j2(h)}function Wh(h,p){return L2(h,null,null,p),j2(h)}function p_(h,p,O){h.lanes|=O;var P=h.alternate;P!==null&&(P.lanes|=O);for(var L=!1,V=h.return;V!==null;)V.childLanes|=O,P=V.alternate,P!==null&&(P.childLanes|=O),V.tag===22&&(h=V.stateNode,h===null||h._visibility&1||(L=!0)),h=V,V=V.return;return h.tag===3?(V=h.stateNode,L&&p!==null&&(L=31-_e(O),h=V.hiddenUpdates,P=h[L],P===null?h[L]=[p]:P.push(p),p.lane=O|536870912),V):null}function j2(h){if(50<s1)throw s1=0,Y4=null,Error(r(185));for(var p=h.return;p!==null;)h=p,p=h.return;return h.tag===3?h.stateNode:null}var jd={};function loe(h,p,O,P){this.tag=h,this.key=O,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=p,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=P,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Na(h,p,O,P){return new loe(h,p,O,P)}function Qw(h){return h=h.prototype,!(!h||!h.isReactComponent)}function lc(h,p){var O=h.alternate;return O===null?(O=Na(h.tag,p,h.key,h.mode),O.elementType=h.elementType,O.type=h.type,O.stateNode=h.stateNode,O.alternate=h,h.alternate=O):(O.pendingProps=p,O.type=h.type,O.flags=0,O.subtreeFlags=0,O.deletions=null),O.flags=h.flags&65011712,O.childLanes=h.childLanes,O.lanes=h.lanes,O.child=h.child,O.memoizedProps=h.memoizedProps,O.memoizedState=h.memoizedState,O.updateQueue=h.updateQueue,p=h.dependencies,O.dependencies=p===null?null:{lanes:p.lanes,firstContext:p.firstContext},O.sibling=h.sibling,O.index=h.index,O.ref=h.ref,O.refCleanup=h.refCleanup,O}function m_(h,p){h.flags&=65011714;var O=h.alternate;return O===null?(h.childLanes=0,h.lanes=p,h.child=null,h.subtreeFlags=0,h.memoizedProps=null,h.memoizedState=null,h.updateQueue=null,h.dependencies=null,h.stateNode=null):(h.childLanes=O.childLanes,h.lanes=O.lanes,h.child=O.child,h.subtreeFlags=0,h.deletions=null,h.memoizedProps=O.memoizedProps,h.memoizedState=O.memoizedState,h.updateQueue=O.updateQueue,h.type=O.type,p=O.dependencies,h.dependencies=p===null?null:{lanes:p.lanes,firstContext:p.firstContext}),h}function F2(h,p,O,P,L,V){var J=0;if(P=h,typeof h=="function")Qw(h)&&(J=1);else if(typeof h=="string")J=dle(h,O,F.current)?26:h==="html"||h==="head"||h==="body"?27:5;else e:switch(h){case j:return h=Na(31,O,p,L),h.elementType=j,h.lanes=V,h;case g:return Yh(O.children,L,V,p);case v:J=8,L|=24;break;case A:return h=Na(12,O,p,L|2),h.elementType=A,h.lanes=V,h;case M:return h=Na(13,O,p,L),h.elementType=M,h.lanes=V,h;case _:return h=Na(19,O,p,L),h.elementType=_,h.lanes=V,h;default:if(typeof h=="object"&&h!==null)switch(h.$$typeof){case k:J=10;break e;case w:J=9;break e;case T:J=11;break e;case D:J=14;break e;case I:J=16,P=null;break e}J=29,O=Error(r(130,h===null?"null":typeof h,"")),P=null}return p=Na(J,O,p,L),p.elementType=h,p.type=P,p.lanes=V,p}function Yh(h,p,O,P){return h=Na(7,h,P,p),h.lanes=O,h}function Hw(h,p,O){return h=Na(6,h,null,p),h.lanes=O,h}function g_(h){var p=Na(18,null,null,0);return p.stateNode=h,p}function Zw(h,p,O){return p=Na(4,h.children!==null?h.children:[],h.key,p),p.lanes=O,p.stateNode={containerInfo:h.containerInfo,pendingChildren:null,implementation:h.implementation},p}var y_=new WeakMap;function co(h,p){if(typeof h=="object"&&h!==null){var O=y_.get(h);return O!==void 0?O:(p={value:h,source:p,stack:ve(p)},y_.set(h,p),p)}return{value:h,source:p,stack:ve(p)}}var Fd=[],$d=0,$2=null,Fm=0,uo=[],ho=0,Ou=null,xl=1,bl="";function cc(h,p){Fd[$d++]=Fm,Fd[$d++]=$2,$2=h,Fm=p}function x_(h,p,O){uo[ho++]=xl,uo[ho++]=bl,uo[ho++]=Ou,Ou=h;var P=xl;h=bl;var L=32-_e(P)-1;P&=~(1<<L),O+=1;var V=32-_e(p)+L;if(30<V){var J=L-L%5;V=(P&(1<<J)-1).toString(32),P>>=J,L-=J,xl=1<<32-_e(p)+L|O<<L|P,bl=V+h}else xl=1<<V|O<<L|P,bl=h}function zw(h){h.return!==null&&(cc(h,1),x_(h,1,0))}function Xw(h){for(;h===$2;)$2=Fd[--$d],Fd[$d]=null,Fm=Fd[--$d],Fd[$d]=null;for(;h===Ou;)Ou=uo[--ho],uo[ho]=null,bl=uo[--ho],uo[ho]=null,xl=uo[--ho],uo[ho]=null}function b_(h,p){uo[ho++]=xl,uo[ho++]=bl,uo[ho++]=Ou,xl=p.id,bl=p.overflow,Ou=h}var os=null,Qr=null,Ln=!1,wu=null,fo=!1,Uw=Error(r(519));function Cu(h){var p=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw $m(co(p,h)),Uw}function A_(h){var p=h.stateNode,O=h.type,P=h.memoizedProps;switch(p[mn]=h,p[Nn]=P,O){case"dialog":Mn("cancel",p),Mn("close",p);break;case"iframe":case"object":case"embed":Mn("load",p);break;case"video":case"audio":for(O=0;O<o1.length;O++)Mn(o1[O],p);break;case"source":Mn("error",p);break;case"img":case"image":case"link":Mn("error",p),Mn("load",p);break;case"details":Mn("toggle",p);break;case"input":Mn("invalid",p),lt(p,P.value,P.defaultValue,P.checked,P.defaultChecked,P.type,P.name,!0);break;case"select":Mn("invalid",p);break;case"textarea":Mn("invalid",p),xt(p,P.value,P.defaultValue,P.children)}O=P.children,typeof O!="string"&&typeof O!="number"&&typeof O!="bigint"||p.textContent===""+O||P.suppressHydrationWarning===!0||j9(p.textContent,O)?(P.popover!=null&&(Mn("beforetoggle",p),Mn("toggle",p)),P.onScroll!=null&&Mn("scroll",p),P.onScrollEnd!=null&&Mn("scrollend",p),P.onClick!=null&&(p.onclick=Ma),p=!0):p=!1,p||Cu(h,!0)}function v_(h){for(os=h.return;os;)switch(os.tag){case 5:case 31:case 13:fo=!1;return;case 27:case 3:fo=!0;return;default:os=os.return}}function Bd(h){if(h!==os)return!1;if(!Ln)return v_(h),Ln=!0,!1;var p=h.tag,O;if((O=p!==3&&p!==27)&&((O=p===5)&&(O=h.type,O=!(O!=="form"&&O!=="button")||h6(h.type,h.memoizedProps)),O=!O),O&&Qr&&Cu(h),v_(h),p===13){if(h=h.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(r(317));Qr=X9(h)}else if(p===31){if(h=h.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(r(317));Qr=X9(h)}else p===27?(p=Qr,$u(h.type)?(h=g6,g6=null,Qr=h):Qr=p):Qr=os?mo(h.stateNode.nextSibling):null;return!0}function qh(){Qr=os=null,Ln=!1}function Gw(){var h=wu;return h!==null&&(ra===null?ra=h:ra.push.apply(ra,h),wu=null),h}function $m(h){wu===null?wu=[h]:wu.push(h)}var Ww=G(null),Kh=null,uc=null;function Eu(h,p,O){H(Ww,p._currentValue),p._currentValue=O}function hc(h){h._currentValue=Ww.current,R(Ww)}function Yw(h,p,O){for(;h!==null;){var P=h.alternate;if((h.childLanes&p)!==p?(h.childLanes|=p,P!==null&&(P.childLanes|=p)):P!==null&&(P.childLanes&p)!==p&&(P.childLanes|=p),h===O)break;h=h.return}}function qw(h,p,O,P){var L=h.child;for(L!==null&&(L.return=h);L!==null;){var V=L.dependencies;if(V!==null){var J=L.child;V=V.firstContext;e:for(;V!==null;){var ce=V;V=L;for(var be=0;be<p.length;be++)if(ce.context===p[be]){V.lanes|=O,ce=V.alternate,ce!==null&&(ce.lanes|=O),Yw(V.return,O,h),P||(J=null);break e}V=ce.next}}else if(L.tag===18){if(J=L.return,J===null)throw Error(r(341));J.lanes|=O,V=J.alternate,V!==null&&(V.lanes|=O),Yw(J,O,h),J=null}else J=L.child;if(J!==null)J.return=L;else for(J=L;J!==null;){if(J===h){J=null;break}if(L=J.sibling,L!==null){L.return=J.return,J=L;break}J=J.return}L=J}}function Vd(h,p,O,P){h=null;for(var L=p,V=!1;L!==null;){if(!V){if((L.flags&524288)!==0)V=!0;else if((L.flags&262144)!==0)break}if(L.tag===10){var J=L.alternate;if(J===null)throw Error(r(387));if(J=J.memoizedProps,J!==null){var ce=L.type;Cs(L.pendingProps.value,J.value)||(h!==null?h.push(ce):h=[ce])}}else if(L===ie.current){if(J=L.alternate,J===null)throw Error(r(387));J.memoizedState.memoizedState!==L.memoizedState.memoizedState&&(h!==null?h.push(f1):h=[f1])}L=L.return}h!==null&&qw(p,h,O,P),p.flags|=262144}function B2(h){for(h=h.firstContext;h!==null;){if(!Cs(h.context._currentValue,h.memoizedValue))return!0;h=h.next}return!1}function Jh(h){Kh=h,uc=null,h=h.dependencies,h!==null&&(h.firstContext=null)}function ls(h){return S_(Kh,h)}function V2(h,p){return Kh===null&&Jh(h),S_(h,p)}function S_(h,p){var O=p._currentValue;if(p={context:p,memoizedValue:O,next:null},uc===null){if(h===null)throw Error(r(308));uc=p,h.dependencies={lanes:0,firstContext:p},h.flags|=524288}else uc=uc.next=p;return O}var coe=typeof AbortController<"u"?AbortController:function(){var h=[],p=this.signal={aborted:!1,addEventListener:function(O,P){h.push(P)}};this.abort=function(){p.aborted=!0,h.forEach(function(O){return O()})}},uoe=t.unstable_scheduleCallback,hoe=t.unstable_NormalPriority,Di={$$typeof:k,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Kw(){return{controller:new coe,data:new Map,refCount:0}}function Bm(h){h.refCount--,h.refCount===0&&uoe(hoe,function(){h.controller.abort()})}var Vm=null,Jw=0,Qd=0,Hd=null;function foe(h,p){if(Vm===null){var O=Vm=[];Jw=0,Qd=n6(),Hd={status:"pending",value:void 0,then:function(P){O.push(P)}}}return Jw++,p.then(O_,O_),p}function O_(){if(--Jw===0&&Vm!==null){Hd!==null&&(Hd.status="fulfilled");var h=Vm;Vm=null,Qd=0,Hd=null;for(var p=0;p<h.length;p++)(0,h[p])()}}function doe(h,p){var O=[],P={status:"pending",value:null,reason:null,then:function(L){O.push(L)}};return h.then(function(){P.status="fulfilled",P.value=p;for(var L=0;L<O.length;L++)(0,O[L])(p)},function(L){for(P.status="rejected",P.reason=L,L=0;L<O.length;L++)(0,O[L])(void 0)}),P}var w_=W.S;W.S=function(h,p){o9=Ue(),typeof p=="object"&&p!==null&&typeof p.then=="function"&&foe(h,p),w_!==null&&w_(h,p)};var ef=G(null);function e4(){var h=ef.current;return h!==null?h:Tr.pooledCache}function Q2(h,p){p===null?H(ef,ef.current):H(ef,p.pool)}function C_(){var h=e4();return h===null?null:{parent:Di._currentValue,pool:h}}var Zd=Error(r(460)),t4=Error(r(474)),H2=Error(r(542)),Z2={then:function(){}};function E_(h){return h=h.status,h==="fulfilled"||h==="rejected"}function k_(h,p,O){switch(O=h[O],O===void 0?h.push(p):O!==p&&(p.then(Ma,Ma),p=O),p.status){case"fulfilled":return p.value;case"rejected":throw h=p.reason,P_(h),h;default:if(typeof p.status=="string")p.then(Ma,Ma);else{if(h=Tr,h!==null&&100<h.shellSuspendCounter)throw Error(r(482));h=p,h.status="pending",h.then(function(P){if(p.status==="pending"){var L=p;L.status="fulfilled",L.value=P}},function(P){if(p.status==="pending"){var L=p;L.status="rejected",L.reason=P}})}switch(p.status){case"fulfilled":return p.value;case"rejected":throw h=p.reason,P_(h),h}throw nf=p,Zd}}function tf(h){try{var p=h._init;return p(h._payload)}catch(O){throw O!==null&&typeof O=="object"&&typeof O.then=="function"?(nf=O,Zd):O}}var nf=null;function T_(){if(nf===null)throw Error(r(459));var h=nf;return nf=null,h}function P_(h){if(h===Zd||h===H2)throw Error(r(483))}var zd=null,Qm=0;function z2(h){var p=Qm;return Qm+=1,zd===null&&(zd=[]),k_(zd,h,p)}function Hm(h,p){p=p.props.ref,h.ref=p!==void 0?p:null}function X2(h,p){throw p.$$typeof===d?Error(r(525)):(h=Object.prototype.toString.call(p),Error(r(31,h==="[object Object]"?"object with keys {"+Object.keys(p).join(", ")+"}":h)))}function M_(h){function p(Ce,Ae){if(h){var Me=Ce.deletions;Me===null?(Ce.deletions=[Ae],Ce.flags|=16):Me.push(Ae)}}function O(Ce,Ae){if(!h)return null;for(;Ae!==null;)p(Ce,Ae),Ae=Ae.sibling;return null}function P(Ce){for(var Ae=new Map;Ce!==null;)Ce.key!==null?Ae.set(Ce.key,Ce):Ae.set(Ce.index,Ce),Ce=Ce.sibling;return Ae}function L(Ce,Ae){return Ce=lc(Ce,Ae),Ce.index=0,Ce.sibling=null,Ce}function V(Ce,Ae,Me){return Ce.index=Me,h?(Me=Ce.alternate,Me!==null?(Me=Me.index,Me<Ae?(Ce.flags|=67108866,Ae):Me):(Ce.flags|=67108866,Ae)):(Ce.flags|=1048576,Ae)}function J(Ce){return h&&Ce.alternate===null&&(Ce.flags|=67108866),Ce}function ce(Ce,Ae,Me,ze){return Ae===null||Ae.tag!==6?(Ae=Hw(Me,Ce.mode,ze),Ae.return=Ce,Ae):(Ae=L(Ae,Me),Ae.return=Ce,Ae)}function be(Ce,Ae,Me,ze){var Qt=Me.type;return Qt===g?He(Ce,Ae,Me.props.children,ze,Me.key):Ae!==null&&(Ae.elementType===Qt||typeof Qt=="object"&&Qt!==null&&Qt.$$typeof===I&&tf(Qt)===Ae.type)?(Ae=L(Ae,Me.props),Hm(Ae,Me),Ae.return=Ce,Ae):(Ae=F2(Me.type,Me.key,Me.props,null,Ce.mode,ze),Hm(Ae,Me),Ae.return=Ce,Ae)}function De(Ce,Ae,Me,ze){return Ae===null||Ae.tag!==4||Ae.stateNode.containerInfo!==Me.containerInfo||Ae.stateNode.implementation!==Me.implementation?(Ae=Zw(Me,Ce.mode,ze),Ae.return=Ce,Ae):(Ae=L(Ae,Me.children||[]),Ae.return=Ce,Ae)}function He(Ce,Ae,Me,ze,Qt){return Ae===null||Ae.tag!==7?(Ae=Yh(Me,Ce.mode,ze,Qt),Ae.return=Ce,Ae):(Ae=L(Ae,Me),Ae.return=Ce,Ae)}function Xe(Ce,Ae,Me){if(typeof Ae=="string"&&Ae!==""||typeof Ae=="number"||typeof Ae=="bigint")return Ae=Hw(""+Ae,Ce.mode,Me),Ae.return=Ce,Ae;if(typeof Ae=="object"&&Ae!==null){switch(Ae.$$typeof){case m:return Me=F2(Ae.type,Ae.key,Ae.props,null,Ce.mode,Me),Hm(Me,Ae),Me.return=Ce,Me;case x:return Ae=Zw(Ae,Ce.mode,Me),Ae.return=Ce,Ae;case I:return Ae=tf(Ae),Xe(Ce,Ae,Me)}if(re(Ae)||Q(Ae))return Ae=Yh(Ae,Ce.mode,Me,null),Ae.return=Ce,Ae;if(typeof Ae.then=="function")return Xe(Ce,z2(Ae),Me);if(Ae.$$typeof===k)return Xe(Ce,V2(Ce,Ae),Me);X2(Ce,Ae)}return null}function Ne(Ce,Ae,Me,ze){var Qt=Ae!==null?Ae.key:null;if(typeof Me=="string"&&Me!==""||typeof Me=="number"||typeof Me=="bigint")return Qt!==null?null:ce(Ce,Ae,""+Me,ze);if(typeof Me=="object"&&Me!==null){switch(Me.$$typeof){case m:return Me.key===Qt?be(Ce,Ae,Me,ze):null;case x:return Me.key===Qt?De(Ce,Ae,Me,ze):null;case I:return Me=tf(Me),Ne(Ce,Ae,Me,ze)}if(re(Me)||Q(Me))return Qt!==null?null:He(Ce,Ae,Me,ze,null);if(typeof Me.then=="function")return Ne(Ce,Ae,z2(Me),ze);if(Me.$$typeof===k)return Ne(Ce,Ae,V2(Ce,Me),ze);X2(Ce,Me)}return null}function Le(Ce,Ae,Me,ze,Qt){if(typeof ze=="string"&&ze!==""||typeof ze=="number"||typeof ze=="bigint")return Ce=Ce.get(Me)||null,ce(Ae,Ce,""+ze,Qt);if(typeof ze=="object"&&ze!==null){switch(ze.$$typeof){case m:return Ce=Ce.get(ze.key===null?Me:ze.key)||null,be(Ae,Ce,ze,Qt);case x:return Ce=Ce.get(ze.key===null?Me:ze.key)||null,De(Ae,Ce,ze,Qt);case I:return ze=tf(ze),Le(Ce,Ae,Me,ze,Qt)}if(re(ze)||Q(ze))return Ce=Ce.get(Me)||null,He(Ae,Ce,ze,Qt,null);if(typeof ze.then=="function")return Le(Ce,Ae,Me,z2(ze),Qt);if(ze.$$typeof===k)return Le(Ce,Ae,Me,V2(Ae,ze),Qt);X2(Ae,ze)}return null}function Dt(Ce,Ae,Me,ze){for(var Qt=null,Jn=null,Lt=Ae,yn=Ae=0,In=null;Lt!==null&&yn<Me.length;yn++){Lt.index>yn?(In=Lt,Lt=null):In=Lt.sibling;var er=Ne(Ce,Lt,Me[yn],ze);if(er===null){Lt===null&&(Lt=In);break}h&&Lt&&er.alternate===null&&p(Ce,Lt),Ae=V(er,Ae,yn),Jn===null?Qt=er:Jn.sibling=er,Jn=er,Lt=In}if(yn===Me.length)return O(Ce,Lt),Ln&&cc(Ce,yn),Qt;if(Lt===null){for(;yn<Me.length;yn++)Lt=Xe(Ce,Me[yn],ze),Lt!==null&&(Ae=V(Lt,Ae,yn),Jn===null?Qt=Lt:Jn.sibling=Lt,Jn=Lt);return Ln&&cc(Ce,yn),Qt}for(Lt=P(Lt);yn<Me.length;yn++)In=Le(Lt,Ce,yn,Me[yn],ze),In!==null&&(h&&In.alternate!==null&&Lt.delete(In.key===null?yn:In.key),Ae=V(In,Ae,yn),Jn===null?Qt=In:Jn.sibling=In,Jn=In);return h&&Lt.forEach(function(Zu){return p(Ce,Zu)}),Ln&&cc(Ce,yn),Qt}function Jt(Ce,Ae,Me,ze){if(Me==null)throw Error(r(151));for(var Qt=null,Jn=null,Lt=Ae,yn=Ae=0,In=null,er=Me.next();Lt!==null&&!er.done;yn++,er=Me.next()){Lt.index>yn?(In=Lt,Lt=null):In=Lt.sibling;var Zu=Ne(Ce,Lt,er.value,ze);if(Zu===null){Lt===null&&(Lt=In);break}h&&Lt&&Zu.alternate===null&&p(Ce,Lt),Ae=V(Zu,Ae,yn),Jn===null?Qt=Zu:Jn.sibling=Zu,Jn=Zu,Lt=In}if(er.done)return O(Ce,Lt),Ln&&cc(Ce,yn),Qt;if(Lt===null){for(;!er.done;yn++,er=Me.next())er=Xe(Ce,er.value,ze),er!==null&&(Ae=V(er,Ae,yn),Jn===null?Qt=er:Jn.sibling=er,Jn=er);return Ln&&cc(Ce,yn),Qt}for(Lt=P(Lt);!er.done;yn++,er=Me.next())er=Le(Lt,Ce,yn,er.value,ze),er!==null&&(h&&er.alternate!==null&&Lt.delete(er.key===null?yn:er.key),Ae=V(er,Ae,yn),Jn===null?Qt=er:Jn.sibling=er,Jn=er);return h&&Lt.forEach(function(wle){return p(Ce,wle)}),Ln&&cc(Ce,yn),Qt}function Sr(Ce,Ae,Me,ze){if(typeof Me=="object"&&Me!==null&&Me.type===g&&Me.key===null&&(Me=Me.props.children),typeof Me=="object"&&Me!==null){switch(Me.$$typeof){case m:e:{for(var Qt=Me.key;Ae!==null;){if(Ae.key===Qt){if(Qt=Me.type,Qt===g){if(Ae.tag===7){O(Ce,Ae.sibling),ze=L(Ae,Me.props.children),ze.return=Ce,Ce=ze;break e}}else if(Ae.elementType===Qt||typeof Qt=="object"&&Qt!==null&&Qt.$$typeof===I&&tf(Qt)===Ae.type){O(Ce,Ae.sibling),ze=L(Ae,Me.props),Hm(ze,Me),ze.return=Ce,Ce=ze;break e}O(Ce,Ae);break}else p(Ce,Ae);Ae=Ae.sibling}Me.type===g?(ze=Yh(Me.props.children,Ce.mode,ze,Me.key),ze.return=Ce,Ce=ze):(ze=F2(Me.type,Me.key,Me.props,null,Ce.mode,ze),Hm(ze,Me),ze.return=Ce,Ce=ze)}return J(Ce);case x:e:{for(Qt=Me.key;Ae!==null;){if(Ae.key===Qt)if(Ae.tag===4&&Ae.stateNode.containerInfo===Me.containerInfo&&Ae.stateNode.implementation===Me.implementation){O(Ce,Ae.sibling),ze=L(Ae,Me.children||[]),ze.return=Ce,Ce=ze;break e}else{O(Ce,Ae);break}else p(Ce,Ae);Ae=Ae.sibling}ze=Zw(Me,Ce.mode,ze),ze.return=Ce,Ce=ze}return J(Ce);case I:return Me=tf(Me),Sr(Ce,Ae,Me,ze)}if(re(Me))return Dt(Ce,Ae,Me,ze);if(Q(Me)){if(Qt=Q(Me),typeof Qt!="function")throw Error(r(150));return Me=Qt.call(Me),Jt(Ce,Ae,Me,ze)}if(typeof Me.then=="function")return Sr(Ce,Ae,z2(Me),ze);if(Me.$$typeof===k)return Sr(Ce,Ae,V2(Ce,Me),ze);X2(Ce,Me)}return typeof Me=="string"&&Me!==""||typeof Me=="number"||typeof Me=="bigint"?(Me=""+Me,Ae!==null&&Ae.tag===6?(O(Ce,Ae.sibling),ze=L(Ae,Me),ze.return=Ce,Ce=ze):(O(Ce,Ae),ze=Hw(Me,Ce.mode,ze),ze.return=Ce,Ce=ze),J(Ce)):O(Ce,Ae)}return function(Ce,Ae,Me,ze){try{Qm=0;var Qt=Sr(Ce,Ae,Me,ze);return zd=null,Qt}catch(Lt){if(Lt===Zd||Lt===H2)throw Lt;var Jn=Na(29,Lt,null,Ce.mode);return Jn.lanes=ze,Jn.return=Ce,Jn}finally{}}}var rf=M_(!0),D_=M_(!1),ku=!1;function n4(h){h.updateQueue={baseState:h.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function r4(h,p){h=h.updateQueue,p.updateQueue===h&&(p.updateQueue={baseState:h.baseState,firstBaseUpdate:h.firstBaseUpdate,lastBaseUpdate:h.lastBaseUpdate,shared:h.shared,callbacks:null})}function Tu(h){return{lane:h,tag:0,payload:null,callback:null,next:null}}function Pu(h,p,O){var P=h.updateQueue;if(P===null)return null;if(P=P.shared,(ir&2)!==0){var L=P.pending;return L===null?p.next=p:(p.next=L.next,L.next=p),P.pending=p,p=j2(h),p_(h,null,O),p}return L2(h,P,p,O),j2(h)}function Zm(h,p,O){if(p=p.updateQueue,p!==null&&(p=p.shared,(O&4194048)!==0)){var P=p.lanes;P&=h.pendingLanes,O|=P,p.lanes=O,$r(h,O)}}function i4(h,p){var O=h.updateQueue,P=h.alternate;if(P!==null&&(P=P.updateQueue,O===P)){var L=null,V=null;if(O=O.firstBaseUpdate,O!==null){do{var J={lane:O.lane,tag:O.tag,payload:O.payload,callback:null,next:null};V===null?L=V=J:V=V.next=J,O=O.next}while(O!==null);V===null?L=V=p:V=V.next=p}else L=V=p;O={baseState:P.baseState,firstBaseUpdate:L,lastBaseUpdate:V,shared:P.shared,callbacks:P.callbacks},h.updateQueue=O;return}h=O.lastBaseUpdate,h===null?O.firstBaseUpdate=p:h.next=p,O.lastBaseUpdate=p}var s4=!1;function zm(){if(s4){var h=Hd;if(h!==null)throw h}}function Xm(h,p,O,P){s4=!1;var L=h.updateQueue;ku=!1;var V=L.firstBaseUpdate,J=L.lastBaseUpdate,ce=L.shared.pending;if(ce!==null){L.shared.pending=null;var be=ce,De=be.next;be.next=null,J===null?V=De:J.next=De,J=be;var He=h.alternate;He!==null&&(He=He.updateQueue,ce=He.lastBaseUpdate,ce!==J&&(ce===null?He.firstBaseUpdate=De:ce.next=De,He.lastBaseUpdate=be))}if(V!==null){var Xe=L.baseState;J=0,He=De=be=null,ce=V;do{var Ne=ce.lane&-536870913,Le=Ne!==ce.lane;if(Le?(_n&Ne)===Ne:(P&Ne)===Ne){Ne!==0&&Ne===Qd&&(s4=!0),He!==null&&(He=He.next={lane:0,tag:ce.tag,payload:ce.payload,callback:null,next:null});e:{var Dt=h,Jt=ce;Ne=p;var Sr=O;switch(Jt.tag){case 1:if(Dt=Jt.payload,typeof Dt=="function"){Xe=Dt.call(Sr,Xe,Ne);break e}Xe=Dt;break e;case 3:Dt.flags=Dt.flags&-65537|128;case 0:if(Dt=Jt.payload,Ne=typeof Dt=="function"?Dt.call(Sr,Xe,Ne):Dt,Ne==null)break e;Xe=f({},Xe,Ne);break e;case 2:ku=!0}}Ne=ce.callback,Ne!==null&&(h.flags|=64,Le&&(h.flags|=8192),Le=L.callbacks,Le===null?L.callbacks=[Ne]:Le.push(Ne))}else Le={lane:Ne,tag:ce.tag,payload:ce.payload,callback:ce.callback,next:null},He===null?(De=He=Le,be=Xe):He=He.next=Le,J|=Ne;if(ce=ce.next,ce===null){if(ce=L.shared.pending,ce===null)break;Le=ce,ce=Le.next,Le.next=null,L.lastBaseUpdate=Le,L.shared.pending=null}}while(!0);He===null&&(be=Xe),L.baseState=be,L.firstBaseUpdate=De,L.lastBaseUpdate=He,V===null&&(L.shared.lanes=0),Iu|=J,h.lanes=J,h.memoizedState=Xe}}function N_(h,p){if(typeof h!="function")throw Error(r(191,h));h.call(p)}function __(h,p){var O=h.callbacks;if(O!==null)for(h.callbacks=null,h=0;h<O.length;h++)N_(O[h],p)}var Xd=G(null),U2=G(0);function I_(h,p){h=Ac,H(U2,h),H(Xd,p),Ac=h|p.baseLanes}function a4(){H(U2,Ac),H(Xd,Xd.current)}function o4(){Ac=U2.current,R(Xd),R(U2)}var _a=G(null),po=null;function Mu(h){var p=h.alternate;H(vi,vi.current&1),H(_a,h),po===null&&(p===null||Xd.current!==null||p.memoizedState!==null)&&(po=h)}function l4(h){H(vi,vi.current),H(_a,h),po===null&&(po=h)}function R_(h){h.tag===22?(H(vi,vi.current),H(_a,h),po===null&&(po=h)):Du()}function Du(){H(vi,vi.current),H(_a,_a.current)}function Ia(h){R(_a),po===h&&(po=null),R(vi)}var vi=G(0);function G2(h){for(var p=h;p!==null;){if(p.tag===13){var O=p.memoizedState;if(O!==null&&(O=O.dehydrated,O===null||p6(O)||m6(O)))return p}else if(p.tag===19&&(p.memoizedProps.revealOrder==="forwards"||p.memoizedProps.revealOrder==="backwards"||p.memoizedProps.revealOrder==="unstable_legacy-backwards"||p.memoizedProps.revealOrder==="together")){if((p.flags&128)!==0)return p}else if(p.child!==null){p.child.return=p,p=p.child;continue}if(p===h)break;for(;p.sibling===null;){if(p.return===null||p.return===h)return null;p=p.return}p.sibling.return=p.return,p=p.sibling}return null}var fc=0,pn=null,Ar=null,Ni=null,W2=!1,Ud=!1,sf=!1,Y2=0,Um=0,Gd=null,poe=0;function oi(){throw Error(r(321))}function c4(h,p){if(p===null)return!1;for(var O=0;O<p.length&&O<h.length;O++)if(!Cs(h[O],p[O]))return!1;return!0}function u4(h,p,O,P,L,V){return fc=V,pn=p,p.memoizedState=null,p.updateQueue=null,p.lanes=0,W.H=h===null||h.memoizedState===null?x7:C4,sf=!1,V=O(P,L),sf=!1,Ud&&(V=j_(p,O,P,L)),L_(h),V}function L_(h){W.H=Ym;var p=Ar!==null&&Ar.next!==null;if(fc=0,Ni=Ar=pn=null,W2=!1,Um=0,Gd=null,p)throw Error(r(300));h===null||_i||(h=h.dependencies,h!==null&&B2(h)&&(_i=!0))}function j_(h,p,O,P){pn=h;var L=0;do{if(Ud&&(Gd=null),Um=0,Ud=!1,25<=L)throw Error(r(301));if(L+=1,Ni=Ar=null,h.updateQueue!=null){var V=h.updateQueue;V.lastEffect=null,V.events=null,V.stores=null,V.memoCache!=null&&(V.memoCache.index=0)}W.H=b7,V=p(O,P)}while(Ud);return V}function moe(){var h=W.H,p=h.useState()[0];return p=typeof p.then=="function"?Gm(p):p,h=h.useState()[0],(Ar!==null?Ar.memoizedState:null)!==h&&(pn.flags|=1024),p}function h4(){var h=Y2!==0;return Y2=0,h}function f4(h,p,O){p.updateQueue=h.updateQueue,p.flags&=-2053,h.lanes&=~O}function d4(h){if(W2){for(h=h.memoizedState;h!==null;){var p=h.queue;p!==null&&(p.pending=null),h=h.next}W2=!1}fc=0,Ni=Ar=pn=null,Ud=!1,Um=Y2=0,Gd=null}function Bs(){var h={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ni===null?pn.memoizedState=Ni=h:Ni=Ni.next=h,Ni}function Si(){if(Ar===null){var h=pn.alternate;h=h!==null?h.memoizedState:null}else h=Ar.next;var p=Ni===null?pn.memoizedState:Ni.next;if(p!==null)Ni=p,Ar=h;else{if(h===null)throw pn.alternate===null?Error(r(467)):Error(r(310));Ar=h,h={memoizedState:Ar.memoizedState,baseState:Ar.baseState,baseQueue:Ar.baseQueue,queue:Ar.queue,next:null},Ni===null?pn.memoizedState=Ni=h:Ni=Ni.next=h}return Ni}function q2(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Gm(h){var p=Um;return Um+=1,Gd===null&&(Gd=[]),h=k_(Gd,h,p),p=pn,(Ni===null?p.memoizedState:Ni.next)===null&&(p=p.alternate,W.H=p===null||p.memoizedState===null?x7:C4),h}function K2(h){if(h!==null&&typeof h=="object"){if(typeof h.then=="function")return Gm(h);if(h.$$typeof===k)return ls(h)}throw Error(r(438,String(h)))}function p4(h){var p=null,O=pn.updateQueue;if(O!==null&&(p=O.memoCache),p==null){var P=pn.alternate;P!==null&&(P=P.updateQueue,P!==null&&(P=P.memoCache,P!=null&&(p={data:P.data.map(function(L){return L.slice()}),index:0})))}if(p==null&&(p={data:[],index:0}),O===null&&(O=q2(),pn.updateQueue=O),O.memoCache=p,O=p.data[p.index],O===void 0)for(O=p.data[p.index]=Array(h),P=0;P<h;P++)O[P]=$;return p.index++,O}function dc(h,p){return typeof p=="function"?p(h):p}function J2(h){var p=Si();return m4(p,Ar,h)}function m4(h,p,O){var P=h.queue;if(P===null)throw Error(r(311));P.lastRenderedReducer=O;var L=h.baseQueue,V=P.pending;if(V!==null){if(L!==null){var J=L.next;L.next=V.next,V.next=J}p.baseQueue=L=V,P.pending=null}if(V=h.baseState,L===null)h.memoizedState=V;else{p=L.next;var ce=J=null,be=null,De=p,He=!1;do{var Xe=De.lane&-536870913;if(Xe!==De.lane?(_n&Xe)===Xe:(fc&Xe)===Xe){var Ne=De.revertLane;if(Ne===0)be!==null&&(be=be.next={lane:0,revertLane:0,gesture:null,action:De.action,hasEagerState:De.hasEagerState,eagerState:De.eagerState,next:null}),Xe===Qd&&(He=!0);else if((fc&Ne)===Ne){De=De.next,Ne===Qd&&(He=!0);continue}else Xe={lane:0,revertLane:De.revertLane,gesture:null,action:De.action,hasEagerState:De.hasEagerState,eagerState:De.eagerState,next:null},be===null?(ce=be=Xe,J=V):be=be.next=Xe,pn.lanes|=Ne,Iu|=Ne;Xe=De.action,sf&&O(V,Xe),V=De.hasEagerState?De.eagerState:O(V,Xe)}else Ne={lane:Xe,revertLane:De.revertLane,gesture:De.gesture,action:De.action,hasEagerState:De.hasEagerState,eagerState:De.eagerState,next:null},be===null?(ce=be=Ne,J=V):be=be.next=Ne,pn.lanes|=Xe,Iu|=Xe;De=De.next}while(De!==null&&De!==p);if(be===null?J=V:be.next=ce,!Cs(V,h.memoizedState)&&(_i=!0,He&&(O=Hd,O!==null)))throw O;h.memoizedState=V,h.baseState=J,h.baseQueue=be,P.lastRenderedState=V}return L===null&&(P.lanes=0),[h.memoizedState,P.dispatch]}function g4(h){var p=Si(),O=p.queue;if(O===null)throw Error(r(311));O.lastRenderedReducer=h;var P=O.dispatch,L=O.pending,V=p.memoizedState;if(L!==null){O.pending=null;var J=L=L.next;do V=h(V,J.action),J=J.next;while(J!==L);Cs(V,p.memoizedState)||(_i=!0),p.memoizedState=V,p.baseQueue===null&&(p.baseState=V),O.lastRenderedState=V}return[V,P]}function F_(h,p,O){var P=pn,L=Si(),V=Ln;if(V){if(O===void 0)throw Error(r(407));O=O()}else O=p();var J=!Cs((Ar||L).memoizedState,O);if(J&&(L.memoizedState=O,_i=!0),L=L.queue,b4(V_.bind(null,P,L,h),[h]),L.getSnapshot!==p||J||Ni!==null&&Ni.memoizedState.tag&1){if(P.flags|=2048,Wd(9,{destroy:void 0},B_.bind(null,P,L,O,p),null),Tr===null)throw Error(r(349));V||(fc&127)!==0||$_(P,p,O)}return O}function $_(h,p,O){h.flags|=16384,h={getSnapshot:p,value:O},p=pn.updateQueue,p===null?(p=q2(),pn.updateQueue=p,p.stores=[h]):(O=p.stores,O===null?p.stores=[h]:O.push(h))}function B_(h,p,O,P){p.value=O,p.getSnapshot=P,Q_(p)&&H_(h)}function V_(h,p,O){return O(function(){Q_(p)&&H_(h)})}function Q_(h){var p=h.getSnapshot;h=h.value;try{var O=p();return!Cs(h,O)}catch{return!0}}function H_(h){var p=Wh(h,2);p!==null&&ia(p,h,2)}function y4(h){var p=Bs();if(typeof h=="function"){var O=h;if(h=O(),sf){ut(!0);try{O()}finally{ut(!1)}}}return p.memoizedState=p.baseState=h,p.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:dc,lastRenderedState:h},p}function Z_(h,p,O,P){return h.baseState=O,m4(h,Ar,typeof P=="function"?P:dc)}function goe(h,p,O,P,L){if(nb(h))throw Error(r(485));if(h=p.action,h!==null){var V={payload:L,action:h,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(J){V.listeners.push(J)}};W.T!==null?O(!0):V.isTransition=!1,P(V),O=p.pending,O===null?(V.next=p.pending=V,z_(p,V)):(V.next=O.next,p.pending=O.next=V)}}function z_(h,p){var O=p.action,P=p.payload,L=h.state;if(p.isTransition){var V=W.T,J={};W.T=J;try{var ce=O(L,P),be=W.S;be!==null&&be(J,ce),X_(h,p,ce)}catch(De){x4(h,p,De)}finally{V!==null&&J.types!==null&&(V.types=J.types),W.T=V}}else try{V=O(L,P),X_(h,p,V)}catch(De){x4(h,p,De)}}function X_(h,p,O){O!==null&&typeof O=="object"&&typeof O.then=="function"?O.then(function(P){U_(h,p,P)},function(P){return x4(h,p,P)}):U_(h,p,O)}function U_(h,p,O){p.status="fulfilled",p.value=O,G_(p),h.state=O,p=h.pending,p!==null&&(O=p.next,O===p?h.pending=null:(O=O.next,p.next=O,z_(h,O)))}function x4(h,p,O){var P=h.pending;if(h.pending=null,P!==null){P=P.next;do p.status="rejected",p.reason=O,G_(p),p=p.next;while(p!==P)}h.action=null}function G_(h){h=h.listeners;for(var p=0;p<h.length;p++)(0,h[p])()}function W_(h,p){return p}function Y_(h,p){if(Ln){var O=Tr.formState;if(O!==null){e:{var P=pn;if(Ln){if(Qr){t:{for(var L=Qr,V=fo;L.nodeType!==8;){if(!V){L=null;break t}if(L=mo(L.nextSibling),L===null){L=null;break t}}V=L.data,L=V==="F!"||V==="F"?L:null}if(L){Qr=mo(L.nextSibling),P=L.data==="F!";break e}}Cu(P)}P=!1}P&&(p=O[0])}}return O=Bs(),O.memoizedState=O.baseState=p,P={pending:null,lanes:0,dispatch:null,lastRenderedReducer:W_,lastRenderedState:p},O.queue=P,O=m7.bind(null,pn,P),P.dispatch=O,P=y4(!1),V=w4.bind(null,pn,!1,P.queue),P=Bs(),L={state:p,dispatch:null,action:h,pending:null},P.queue=L,O=goe.bind(null,pn,L,V,O),L.dispatch=O,P.memoizedState=h,[p,O,!1]}function q_(h){var p=Si();return K_(p,Ar,h)}function K_(h,p,O){if(p=m4(h,p,W_)[0],h=J2(dc)[0],typeof p=="object"&&p!==null&&typeof p.then=="function")try{var P=Gm(p)}catch(J){throw J===Zd?H2:J}else P=p;p=Si();var L=p.queue,V=L.dispatch;return O!==p.memoizedState&&(pn.flags|=2048,Wd(9,{destroy:void 0},yoe.bind(null,L,O),null)),[P,V,h]}function yoe(h,p){h.action=p}function J_(h){var p=Si(),O=Ar;if(O!==null)return K_(p,O,h);Si(),p=p.memoizedState,O=Si();var P=O.queue.dispatch;return O.memoizedState=h,[p,P,!1]}function Wd(h,p,O,P){return h={tag:h,create:O,deps:P,inst:p,next:null},p=pn.updateQueue,p===null&&(p=q2(),pn.updateQueue=p),O=p.lastEffect,O===null?p.lastEffect=h.next=h:(P=O.next,O.next=h,h.next=P,p.lastEffect=h),h}function e7(){return Si().memoizedState}function eb(h,p,O,P){var L=Bs();pn.flags|=h,L.memoizedState=Wd(1|p,{destroy:void 0},O,P===void 0?null:P)}function tb(h,p,O,P){var L=Si();P=P===void 0?null:P;var V=L.memoizedState.inst;Ar!==null&&P!==null&&c4(P,Ar.memoizedState.deps)?L.memoizedState=Wd(p,V,O,P):(pn.flags|=h,L.memoizedState=Wd(1|p,V,O,P))}function t7(h,p){eb(8390656,8,h,p)}function b4(h,p){tb(2048,8,h,p)}function xoe(h){pn.flags|=4;var p=pn.updateQueue;if(p===null)p=q2(),pn.updateQueue=p,p.events=[h];else{var O=p.events;O===null?p.events=[h]:O.push(h)}}function n7(h){var p=Si().memoizedState;return xoe({ref:p,nextImpl:h}),function(){if((ir&2)!==0)throw Error(r(440));return p.impl.apply(void 0,arguments)}}function r7(h,p){return tb(4,2,h,p)}function i7(h,p){return tb(4,4,h,p)}function s7(h,p){if(typeof p=="function"){h=h();var O=p(h);return function(){typeof O=="function"?O():p(null)}}if(p!=null)return h=h(),p.current=h,function(){p.current=null}}function a7(h,p,O){O=O!=null?O.concat([h]):null,tb(4,4,s7.bind(null,p,h),O)}function A4(){}function o7(h,p){var O=Si();p=p===void 0?null:p;var P=O.memoizedState;return p!==null&&c4(p,P[1])?P[0]:(O.memoizedState=[h,p],h)}function l7(h,p){var O=Si();p=p===void 0?null:p;var P=O.memoizedState;if(p!==null&&c4(p,P[1]))return P[0];if(P=h(),sf){ut(!0);try{h()}finally{ut(!1)}}return O.memoizedState=[P,p],P}function v4(h,p,O){return O===void 0||(fc&1073741824)!==0&&(_n&261930)===0?h.memoizedState=p:(h.memoizedState=O,h=c9(),pn.lanes|=h,Iu|=h,O)}function c7(h,p,O,P){return Cs(O,p)?O:Xd.current!==null?(h=v4(h,O,P),Cs(h,p)||(_i=!0),h):(fc&42)===0||(fc&1073741824)!==0&&(_n&261930)===0?(_i=!0,h.memoizedState=O):(h=c9(),pn.lanes|=h,Iu|=h,p)}function u7(h,p,O,P,L){var V=ne.p;ne.p=V!==0&&8>V?V:8;var J=W.T,ce={};W.T=ce,w4(h,!1,p,O);try{var be=L(),De=W.S;if(De!==null&&De(ce,be),be!==null&&typeof be=="object"&&typeof be.then=="function"){var He=doe(be,P);Wm(h,p,He,ja(h))}else Wm(h,p,P,ja(h))}catch(Xe){Wm(h,p,{then:function(){},status:"rejected",reason:Xe},ja())}finally{ne.p=V,J!==null&&ce.types!==null&&(J.types=ce.types),W.T=J}}function boe(){}function S4(h,p,O,P){if(h.tag!==5)throw Error(r(476));var L=h7(h).queue;u7(h,L,p,se,O===null?boe:function(){return f7(h),O(P)})}function h7(h){var p=h.memoizedState;if(p!==null)return p;p={memoizedState:se,baseState:se,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:dc,lastRenderedState:se},next:null};var O={};return p.next={memoizedState:O,baseState:O,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:dc,lastRenderedState:O},next:null},h.memoizedState=p,h=h.alternate,h!==null&&(h.memoizedState=p),p}function f7(h){var p=h7(h);p.next===null&&(p=h.alternate.memoizedState),Wm(h,p.next.queue,{},ja())}function O4(){return ls(f1)}function d7(){return Si().memoizedState}function p7(){return Si().memoizedState}function Aoe(h){for(var p=h.return;p!==null;){switch(p.tag){case 24:case 3:var O=ja();h=Tu(O);var P=Pu(p,h,O);P!==null&&(ia(P,p,O),Zm(P,p,O)),p={cache:Kw()},h.payload=p;return}p=p.return}}function voe(h,p,O){var P=ja();O={lane:P,revertLane:0,gesture:null,action:O,hasEagerState:!1,eagerState:null,next:null},nb(h)?g7(p,O):(O=Vw(h,p,O,P),O!==null&&(ia(O,h,P),y7(O,p,P)))}function m7(h,p,O){var P=ja();Wm(h,p,O,P)}function Wm(h,p,O,P){var L={lane:P,revertLane:0,gesture:null,action:O,hasEagerState:!1,eagerState:null,next:null};if(nb(h))g7(p,L);else{var V=h.alternate;if(h.lanes===0&&(V===null||V.lanes===0)&&(V=p.lastRenderedReducer,V!==null))try{var J=p.lastRenderedState,ce=V(J,O);if(L.hasEagerState=!0,L.eagerState=ce,Cs(ce,J))return L2(h,p,L,0),Tr===null&&R2(),!1}catch{}finally{}if(O=Vw(h,p,L,P),O!==null)return ia(O,h,P),y7(O,p,P),!0}return!1}function w4(h,p,O,P){if(P={lane:2,revertLane:n6(),gesture:null,action:P,hasEagerState:!1,eagerState:null,next:null},nb(h)){if(p)throw Error(r(479))}else p=Vw(h,O,P,2),p!==null&&ia(p,h,2)}function nb(h){var p=h.alternate;return h===pn||p!==null&&p===pn}function g7(h,p){Ud=W2=!0;var O=h.pending;O===null?p.next=p:(p.next=O.next,O.next=p),h.pending=p}function y7(h,p,O){if((O&4194048)!==0){var P=p.lanes;P&=h.pendingLanes,O|=P,p.lanes=O,$r(h,O)}}var Ym={readContext:ls,use:K2,useCallback:oi,useContext:oi,useEffect:oi,useImperativeHandle:oi,useLayoutEffect:oi,useInsertionEffect:oi,useMemo:oi,useReducer:oi,useRef:oi,useState:oi,useDebugValue:oi,useDeferredValue:oi,useTransition:oi,useSyncExternalStore:oi,useId:oi,useHostTransitionStatus:oi,useFormState:oi,useActionState:oi,useOptimistic:oi,useMemoCache:oi,useCacheRefresh:oi};Ym.useEffectEvent=oi;var x7={readContext:ls,use:K2,useCallback:function(h,p){return Bs().memoizedState=[h,p===void 0?null:p],h},useContext:ls,useEffect:t7,useImperativeHandle:function(h,p,O){O=O!=null?O.concat([h]):null,eb(4194308,4,s7.bind(null,p,h),O)},useLayoutEffect:function(h,p){return eb(4194308,4,h,p)},useInsertionEffect:function(h,p){eb(4,2,h,p)},useMemo:function(h,p){var O=Bs();p=p===void 0?null:p;var P=h();if(sf){ut(!0);try{h()}finally{ut(!1)}}return O.memoizedState=[P,p],P},useReducer:function(h,p,O){var P=Bs();if(O!==void 0){var L=O(p);if(sf){ut(!0);try{O(p)}finally{ut(!1)}}}else L=p;return P.memoizedState=P.baseState=L,h={pending:null,lanes:0,dispatch:null,lastRenderedReducer:h,lastRenderedState:L},P.queue=h,h=h.dispatch=voe.bind(null,pn,h),[P.memoizedState,h]},useRef:function(h){var p=Bs();return h={current:h},p.memoizedState=h},useState:function(h){h=y4(h);var p=h.queue,O=m7.bind(null,pn,p);return p.dispatch=O,[h.memoizedState,O]},useDebugValue:A4,useDeferredValue:function(h,p){var O=Bs();return v4(O,h,p)},useTransition:function(){var h=y4(!1);return h=u7.bind(null,pn,h.queue,!0,!1),Bs().memoizedState=h,[!1,h]},useSyncExternalStore:function(h,p,O){var P=pn,L=Bs();if(Ln){if(O===void 0)throw Error(r(407));O=O()}else{if(O=p(),Tr===null)throw Error(r(349));(_n&127)!==0||$_(P,p,O)}L.memoizedState=O;var V={value:O,getSnapshot:p};return L.queue=V,t7(V_.bind(null,P,V,h),[h]),P.flags|=2048,Wd(9,{destroy:void 0},B_.bind(null,P,V,O,p),null),O},useId:function(){var h=Bs(),p=Tr.identifierPrefix;if(Ln){var O=bl,P=xl;O=(P&~(1<<32-_e(P)-1)).toString(32)+O,p="_"+p+"R_"+O,O=Y2++,0<O&&(p+="H"+O.toString(32)),p+="_"}else O=poe++,p="_"+p+"r_"+O.toString(32)+"_";return h.memoizedState=p},useHostTransitionStatus:O4,useFormState:Y_,useActionState:Y_,useOptimistic:function(h){var p=Bs();p.memoizedState=p.baseState=h;var O={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return p.queue=O,p=w4.bind(null,pn,!0,O),O.dispatch=p,[h,p]},useMemoCache:p4,useCacheRefresh:function(){return Bs().memoizedState=Aoe.bind(null,pn)},useEffectEvent:function(h){var p=Bs(),O={impl:h};return p.memoizedState=O,function(){if((ir&2)!==0)throw Error(r(440));return O.impl.apply(void 0,arguments)}}},C4={readContext:ls,use:K2,useCallback:o7,useContext:ls,useEffect:b4,useImperativeHandle:a7,useInsertionEffect:r7,useLayoutEffect:i7,useMemo:l7,useReducer:J2,useRef:e7,useState:function(){return J2(dc)},useDebugValue:A4,useDeferredValue:function(h,p){var O=Si();return c7(O,Ar.memoizedState,h,p)},useTransition:function(){var h=J2(dc)[0],p=Si().memoizedState;return[typeof h=="boolean"?h:Gm(h),p]},useSyncExternalStore:F_,useId:d7,useHostTransitionStatus:O4,useFormState:q_,useActionState:q_,useOptimistic:function(h,p){var O=Si();return Z_(O,Ar,h,p)},useMemoCache:p4,useCacheRefresh:p7};C4.useEffectEvent=n7;var b7={readContext:ls,use:K2,useCallback:o7,useContext:ls,useEffect:b4,useImperativeHandle:a7,useInsertionEffect:r7,useLayoutEffect:i7,useMemo:l7,useReducer:g4,useRef:e7,useState:function(){return g4(dc)},useDebugValue:A4,useDeferredValue:function(h,p){var O=Si();return Ar===null?v4(O,h,p):c7(O,Ar.memoizedState,h,p)},useTransition:function(){var h=g4(dc)[0],p=Si().memoizedState;return[typeof h=="boolean"?h:Gm(h),p]},useSyncExternalStore:F_,useId:d7,useHostTransitionStatus:O4,useFormState:J_,useActionState:J_,useOptimistic:function(h,p){var O=Si();return Ar!==null?Z_(O,Ar,h,p):(O.baseState=h,[h,O.queue.dispatch])},useMemoCache:p4,useCacheRefresh:p7};b7.useEffectEvent=n7;function E4(h,p,O,P){p=h.memoizedState,O=O(P,p),O=O==null?p:f({},p,O),h.memoizedState=O,h.lanes===0&&(h.updateQueue.baseState=O)}var k4={enqueueSetState:function(h,p,O){h=h._reactInternals;var P=ja(),L=Tu(P);L.payload=p,O!=null&&(L.callback=O),p=Pu(h,L,P),p!==null&&(ia(p,h,P),Zm(p,h,P))},enqueueReplaceState:function(h,p,O){h=h._reactInternals;var P=ja(),L=Tu(P);L.tag=1,L.payload=p,O!=null&&(L.callback=O),p=Pu(h,L,P),p!==null&&(ia(p,h,P),Zm(p,h,P))},enqueueForceUpdate:function(h,p){h=h._reactInternals;var O=ja(),P=Tu(O);P.tag=2,p!=null&&(P.callback=p),p=Pu(h,P,O),p!==null&&(ia(p,h,O),Zm(p,h,O))}};function A7(h,p,O,P,L,V,J){return h=h.stateNode,typeof h.shouldComponentUpdate=="function"?h.shouldComponentUpdate(P,V,J):p.prototype&&p.prototype.isPureReactComponent?!Su(O,P)||!Su(L,V):!0}function v7(h,p,O,P){h=p.state,typeof p.componentWillReceiveProps=="function"&&p.componentWillReceiveProps(O,P),typeof p.UNSAFE_componentWillReceiveProps=="function"&&p.UNSAFE_componentWillReceiveProps(O,P),p.state!==h&&k4.enqueueReplaceState(p,p.state,null)}function af(h,p){var O=p;if("ref"in p){O={};for(var P in p)P!=="ref"&&(O[P]=p[P])}if(h=h.defaultProps){O===p&&(O=f({},O));for(var L in h)O[L]===void 0&&(O[L]=h[L])}return O}function S7(h){I2(h)}function O7(h){console.error(h)}function w7(h){I2(h)}function rb(h,p){try{var O=h.onUncaughtError;O(p.value,{componentStack:p.stack})}catch(P){setTimeout(function(){throw P})}}function C7(h,p,O){try{var P=h.onCaughtError;P(O.value,{componentStack:O.stack,errorBoundary:p.tag===1?p.stateNode:null})}catch(L){setTimeout(function(){throw L})}}function T4(h,p,O){return O=Tu(O),O.tag=3,O.payload={element:null},O.callback=function(){rb(h,p)},O}function E7(h){return h=Tu(h),h.tag=3,h}function k7(h,p,O,P){var L=O.type.getDerivedStateFromError;if(typeof L=="function"){var V=P.value;h.payload=function(){return L(V)},h.callback=function(){C7(p,O,P)}}var J=O.stateNode;J!==null&&typeof J.componentDidCatch=="function"&&(h.callback=function(){C7(p,O,P),typeof L!="function"&&(Ru===null?Ru=new Set([this]):Ru.add(this));var ce=P.stack;this.componentDidCatch(P.value,{componentStack:ce!==null?ce:""})})}function Soe(h,p,O,P,L){if(O.flags|=32768,P!==null&&typeof P=="object"&&typeof P.then=="function"){if(p=O.alternate,p!==null&&Vd(p,O,L,!0),O=_a.current,O!==null){switch(O.tag){case 31:case 13:return po===null?mb():O.alternate===null&&li===0&&(li=3),O.flags&=-257,O.flags|=65536,O.lanes=L,P===Z2?O.flags|=16384:(p=O.updateQueue,p===null?O.updateQueue=new Set([P]):p.add(P),J4(h,P,L)),!1;case 22:return O.flags|=65536,P===Z2?O.flags|=16384:(p=O.updateQueue,p===null?(p={transitions:null,markerInstances:null,retryQueue:new Set([P])},O.updateQueue=p):(O=p.retryQueue,O===null?p.retryQueue=new Set([P]):O.add(P)),J4(h,P,L)),!1}throw Error(r(435,O.tag))}return J4(h,P,L),mb(),!1}if(Ln)return p=_a.current,p!==null?((p.flags&65536)===0&&(p.flags|=256),p.flags|=65536,p.lanes=L,P!==Uw&&(h=Error(r(422),{cause:P}),$m(co(h,O)))):(P!==Uw&&(p=Error(r(423),{cause:P}),$m(co(p,O))),h=h.current.alternate,h.flags|=65536,L&=-L,h.lanes|=L,P=co(P,O),L=T4(h.stateNode,P,L),i4(h,L),li!==4&&(li=2)),!1;var V=Error(r(520),{cause:P});if(V=co(V,O),i1===null?i1=[V]:i1.push(V),li!==4&&(li=2),p===null)return!0;P=co(P,O),O=p;do{switch(O.tag){case 3:return O.flags|=65536,h=L&-L,O.lanes|=h,h=T4(O.stateNode,P,h),i4(O,h),!1;case 1:if(p=O.type,V=O.stateNode,(O.flags&128)===0&&(typeof p.getDerivedStateFromError=="function"||V!==null&&typeof V.componentDidCatch=="function"&&(Ru===null||!Ru.has(V))))return O.flags|=65536,L&=-L,O.lanes|=L,L=E7(L),k7(L,h,O,P),i4(O,L),!1}O=O.return}while(O!==null);return!1}var P4=Error(r(461)),_i=!1;function cs(h,p,O,P){p.child=h===null?D_(p,null,O,P):rf(p,h.child,O,P)}function T7(h,p,O,P,L){O=O.render;var V=p.ref;if("ref"in P){var J={};for(var ce in P)ce!=="ref"&&(J[ce]=P[ce])}else J=P;return Jh(p),P=u4(h,p,O,J,V,L),ce=h4(),h!==null&&!_i?(f4(h,p,L),pc(h,p,L)):(Ln&&ce&&zw(p),p.flags|=1,cs(h,p,P,L),p.child)}function P7(h,p,O,P,L){if(h===null){var V=O.type;return typeof V=="function"&&!Qw(V)&&V.defaultProps===void 0&&O.compare===null?(p.tag=15,p.type=V,M7(h,p,V,P,L)):(h=F2(O.type,null,P,p,p.mode,L),h.ref=p.ref,h.return=p,p.child=h)}if(V=h.child,!j4(h,L)){var J=V.memoizedProps;if(O=O.compare,O=O!==null?O:Su,O(J,P)&&h.ref===p.ref)return pc(h,p,L)}return p.flags|=1,h=lc(V,P),h.ref=p.ref,h.return=p,p.child=h}function M7(h,p,O,P,L){if(h!==null){var V=h.memoizedProps;if(Su(V,P)&&h.ref===p.ref)if(_i=!1,p.pendingProps=P=V,j4(h,L))(h.flags&131072)!==0&&(_i=!0);else return p.lanes=h.lanes,pc(h,p,L)}return M4(h,p,O,P,L)}function D7(h,p,O,P){var L=P.children,V=h!==null?h.memoizedState:null;if(h===null&&p.stateNode===null&&(p.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),P.mode==="hidden"){if((p.flags&128)!==0){if(V=V!==null?V.baseLanes|O:O,h!==null){for(P=p.child=h.child,L=0;P!==null;)L=L|P.lanes|P.childLanes,P=P.sibling;P=L&~V}else P=0,p.child=null;return N7(h,p,V,O,P)}if((O&536870912)!==0)p.memoizedState={baseLanes:0,cachePool:null},h!==null&&Q2(p,V!==null?V.cachePool:null),V!==null?I_(p,V):a4(),R_(p);else return P=p.lanes=536870912,N7(h,p,V!==null?V.baseLanes|O:O,O,P)}else V!==null?(Q2(p,V.cachePool),I_(p,V),Du(),p.memoizedState=null):(h!==null&&Q2(p,null),a4(),Du());return cs(h,p,L,O),p.child}function qm(h,p){return h!==null&&h.tag===22||p.stateNode!==null||(p.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),p.sibling}function N7(h,p,O,P,L){var V=e4();return V=V===null?null:{parent:Di._currentValue,pool:V},p.memoizedState={baseLanes:O,cachePool:V},h!==null&&Q2(p,null),a4(),R_(p),h!==null&&Vd(h,p,P,!0),p.childLanes=L,null}function ib(h,p){return p=ab({mode:p.mode,children:p.children},h.mode),p.ref=h.ref,h.child=p,p.return=h,p}function _7(h,p,O){return rf(p,h.child,null,O),h=ib(p,p.pendingProps),h.flags|=2,Ia(p),p.memoizedState=null,h}function Ooe(h,p,O){var P=p.pendingProps,L=(p.flags&128)!==0;if(p.flags&=-129,h===null){if(Ln){if(P.mode==="hidden")return h=ib(p,P),p.lanes=536870912,qm(null,h);if(l4(p),(h=Qr)?(h=z9(h,fo),h=h!==null&&h.data==="&"?h:null,h!==null&&(p.memoizedState={dehydrated:h,treeContext:Ou!==null?{id:xl,overflow:bl}:null,retryLane:536870912,hydrationErrors:null},O=g_(h),O.return=p,p.child=O,os=p,Qr=null)):h=null,h===null)throw Cu(p);return p.lanes=536870912,null}return ib(p,P)}var V=h.memoizedState;if(V!==null){var J=V.dehydrated;if(l4(p),L)if(p.flags&256)p.flags&=-257,p=_7(h,p,O);else if(p.memoizedState!==null)p.child=h.child,p.flags|=128,p=null;else throw Error(r(558));else if(_i||Vd(h,p,O,!1),L=(O&h.childLanes)!==0,_i||L){if(P=Tr,P!==null&&(J=or(P,O),J!==0&&J!==V.retryLane))throw V.retryLane=J,Wh(h,J),ia(P,h,J),P4;mb(),p=_7(h,p,O)}else h=V.treeContext,Qr=mo(J.nextSibling),os=p,Ln=!0,wu=null,fo=!1,h!==null&&b_(p,h),p=ib(p,P),p.flags|=4096;return p}return h=lc(h.child,{mode:P.mode,children:P.children}),h.ref=p.ref,p.child=h,h.return=p,h}function sb(h,p){var O=p.ref;if(O===null)h!==null&&h.ref!==null&&(p.flags|=4194816);else{if(typeof O!="function"&&typeof O!="object")throw Error(r(284));(h===null||h.ref!==O)&&(p.flags|=4194816)}}function M4(h,p,O,P,L){return Jh(p),O=u4(h,p,O,P,void 0,L),P=h4(),h!==null&&!_i?(f4(h,p,L),pc(h,p,L)):(Ln&&P&&zw(p),p.flags|=1,cs(h,p,O,L),p.child)}function I7(h,p,O,P,L,V){return Jh(p),p.updateQueue=null,O=j_(p,P,O,L),L_(h),P=h4(),h!==null&&!_i?(f4(h,p,V),pc(h,p,V)):(Ln&&P&&zw(p),p.flags|=1,cs(h,p,O,V),p.child)}function R7(h,p,O,P,L){if(Jh(p),p.stateNode===null){var V=jd,J=O.contextType;typeof J=="object"&&J!==null&&(V=ls(J)),V=new O(P,V),p.memoizedState=V.state!==null&&V.state!==void 0?V.state:null,V.updater=k4,p.stateNode=V,V._reactInternals=p,V=p.stateNode,V.props=P,V.state=p.memoizedState,V.refs={},n4(p),J=O.contextType,V.context=typeof J=="object"&&J!==null?ls(J):jd,V.state=p.memoizedState,J=O.getDerivedStateFromProps,typeof J=="function"&&(E4(p,O,J,P),V.state=p.memoizedState),typeof O.getDerivedStateFromProps=="function"||typeof V.getSnapshotBeforeUpdate=="function"||typeof V.UNSAFE_componentWillMount!="function"&&typeof V.componentWillMount!="function"||(J=V.state,typeof V.componentWillMount=="function"&&V.componentWillMount(),typeof V.UNSAFE_componentWillMount=="function"&&V.UNSAFE_componentWillMount(),J!==V.state&&k4.enqueueReplaceState(V,V.state,null),Xm(p,P,V,L),zm(),V.state=p.memoizedState),typeof V.componentDidMount=="function"&&(p.flags|=4194308),P=!0}else if(h===null){V=p.stateNode;var ce=p.memoizedProps,be=af(O,ce);V.props=be;var De=V.context,He=O.contextType;J=jd,typeof He=="object"&&He!==null&&(J=ls(He));var Xe=O.getDerivedStateFromProps;He=typeof Xe=="function"||typeof V.getSnapshotBeforeUpdate=="function",ce=p.pendingProps!==ce,He||typeof V.UNSAFE_componentWillReceiveProps!="function"&&typeof V.componentWillReceiveProps!="function"||(ce||De!==J)&&v7(p,V,P,J),ku=!1;var Ne=p.memoizedState;V.state=Ne,Xm(p,P,V,L),zm(),De=p.memoizedState,ce||Ne!==De||ku?(typeof Xe=="function"&&(E4(p,O,Xe,P),De=p.memoizedState),(be=ku||A7(p,O,be,P,Ne,De,J))?(He||typeof V.UNSAFE_componentWillMount!="function"&&typeof V.componentWillMount!="function"||(typeof V.componentWillMount=="function"&&V.componentWillMount(),typeof V.UNSAFE_componentWillMount=="function"&&V.UNSAFE_componentWillMount()),typeof V.componentDidMount=="function"&&(p.flags|=4194308)):(typeof V.componentDidMount=="function"&&(p.flags|=4194308),p.memoizedProps=P,p.memoizedState=De),V.props=P,V.state=De,V.context=J,P=be):(typeof V.componentDidMount=="function"&&(p.flags|=4194308),P=!1)}else{V=p.stateNode,r4(h,p),J=p.memoizedProps,He=af(O,J),V.props=He,Xe=p.pendingProps,Ne=V.context,De=O.contextType,be=jd,typeof De=="object"&&De!==null&&(be=ls(De)),ce=O.getDerivedStateFromProps,(De=typeof ce=="function"||typeof V.getSnapshotBeforeUpdate=="function")||typeof V.UNSAFE_componentWillReceiveProps!="function"&&typeof V.componentWillReceiveProps!="function"||(J!==Xe||Ne!==be)&&v7(p,V,P,be),ku=!1,Ne=p.memoizedState,V.state=Ne,Xm(p,P,V,L),zm();var Le=p.memoizedState;J!==Xe||Ne!==Le||ku||h!==null&&h.dependencies!==null&&B2(h.dependencies)?(typeof ce=="function"&&(E4(p,O,ce,P),Le=p.memoizedState),(He=ku||A7(p,O,He,P,Ne,Le,be)||h!==null&&h.dependencies!==null&&B2(h.dependencies))?(De||typeof V.UNSAFE_componentWillUpdate!="function"&&typeof V.componentWillUpdate!="function"||(typeof V.componentWillUpdate=="function"&&V.componentWillUpdate(P,Le,be),typeof V.UNSAFE_componentWillUpdate=="function"&&V.UNSAFE_componentWillUpdate(P,Le,be)),typeof V.componentDidUpdate=="function"&&(p.flags|=4),typeof V.getSnapshotBeforeUpdate=="function"&&(p.flags|=1024)):(typeof V.componentDidUpdate!="function"||J===h.memoizedProps&&Ne===h.memoizedState||(p.flags|=4),typeof V.getSnapshotBeforeUpdate!="function"||J===h.memoizedProps&&Ne===h.memoizedState||(p.flags|=1024),p.memoizedProps=P,p.memoizedState=Le),V.props=P,V.state=Le,V.context=be,P=He):(typeof V.componentDidUpdate!="function"||J===h.memoizedProps&&Ne===h.memoizedState||(p.flags|=4),typeof V.getSnapshotBeforeUpdate!="function"||J===h.memoizedProps&&Ne===h.memoizedState||(p.flags|=1024),P=!1)}return V=P,sb(h,p),P=(p.flags&128)!==0,V||P?(V=p.stateNode,O=P&&typeof O.getDerivedStateFromError!="function"?null:V.render(),p.flags|=1,h!==null&&P?(p.child=rf(p,h.child,null,L),p.child=rf(p,null,O,L)):cs(h,p,O,L),p.memoizedState=V.state,h=p.child):h=pc(h,p,L),h}function L7(h,p,O,P){return qh(),p.flags|=256,cs(h,p,O,P),p.child}var D4={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function N4(h){return{baseLanes:h,cachePool:C_()}}function _4(h,p,O){return h=h!==null?h.childLanes&~O:0,p&&(h|=La),h}function j7(h,p,O){var P=p.pendingProps,L=!1,V=(p.flags&128)!==0,J;if((J=V)||(J=h!==null&&h.memoizedState===null?!1:(vi.current&2)!==0),J&&(L=!0,p.flags&=-129),J=(p.flags&32)!==0,p.flags&=-33,h===null){if(Ln){if(L?Mu(p):Du(),(h=Qr)?(h=z9(h,fo),h=h!==null&&h.data!=="&"?h:null,h!==null&&(p.memoizedState={dehydrated:h,treeContext:Ou!==null?{id:xl,overflow:bl}:null,retryLane:536870912,hydrationErrors:null},O=g_(h),O.return=p,p.child=O,os=p,Qr=null)):h=null,h===null)throw Cu(p);return m6(h)?p.lanes=32:p.lanes=536870912,null}var ce=P.children;return P=P.fallback,L?(Du(),L=p.mode,ce=ab({mode:"hidden",children:ce},L),P=Yh(P,L,O,null),ce.return=p,P.return=p,ce.sibling=P,p.child=ce,P=p.child,P.memoizedState=N4(O),P.childLanes=_4(h,J,O),p.memoizedState=D4,qm(null,P)):(Mu(p),I4(p,ce))}var be=h.memoizedState;if(be!==null&&(ce=be.dehydrated,ce!==null)){if(V)p.flags&256?(Mu(p),p.flags&=-257,p=R4(h,p,O)):p.memoizedState!==null?(Du(),p.child=h.child,p.flags|=128,p=null):(Du(),ce=P.fallback,L=p.mode,P=ab({mode:"visible",children:P.children},L),ce=Yh(ce,L,O,null),ce.flags|=2,P.return=p,ce.return=p,P.sibling=ce,p.child=P,rf(p,h.child,null,O),P=p.child,P.memoizedState=N4(O),P.childLanes=_4(h,J,O),p.memoizedState=D4,p=qm(null,P));else if(Mu(p),m6(ce)){if(J=ce.nextSibling&&ce.nextSibling.dataset,J)var De=J.dgst;J=De,P=Error(r(419)),P.stack="",P.digest=J,$m({value:P,source:null,stack:null}),p=R4(h,p,O)}else if(_i||Vd(h,p,O,!1),J=(O&h.childLanes)!==0,_i||J){if(J=Tr,J!==null&&(P=or(J,O),P!==0&&P!==be.retryLane))throw be.retryLane=P,Wh(h,P),ia(J,h,P),P4;p6(ce)||mb(),p=R4(h,p,O)}else p6(ce)?(p.flags|=192,p.child=h.child,p=null):(h=be.treeContext,Qr=mo(ce.nextSibling),os=p,Ln=!0,wu=null,fo=!1,h!==null&&b_(p,h),p=I4(p,P.children),p.flags|=4096);return p}return L?(Du(),ce=P.fallback,L=p.mode,be=h.child,De=be.sibling,P=lc(be,{mode:"hidden",children:P.children}),P.subtreeFlags=be.subtreeFlags&65011712,De!==null?ce=lc(De,ce):(ce=Yh(ce,L,O,null),ce.flags|=2),ce.return=p,P.return=p,P.sibling=ce,p.child=P,qm(null,P),P=p.child,ce=h.child.memoizedState,ce===null?ce=N4(O):(L=ce.cachePool,L!==null?(be=Di._currentValue,L=L.parent!==be?{parent:be,pool:be}:L):L=C_(),ce={baseLanes:ce.baseLanes|O,cachePool:L}),P.memoizedState=ce,P.childLanes=_4(h,J,O),p.memoizedState=D4,qm(h.child,P)):(Mu(p),O=h.child,h=O.sibling,O=lc(O,{mode:"visible",children:P.children}),O.return=p,O.sibling=null,h!==null&&(J=p.deletions,J===null?(p.deletions=[h],p.flags|=16):J.push(h)),p.child=O,p.memoizedState=null,O)}function I4(h,p){return p=ab({mode:"visible",children:p},h.mode),p.return=h,h.child=p}function ab(h,p){return h=Na(22,h,null,p),h.lanes=0,h}function R4(h,p,O){return rf(p,h.child,null,O),h=I4(p,p.pendingProps.children),h.flags|=2,p.memoizedState=null,h}function F7(h,p,O){h.lanes|=p;var P=h.alternate;P!==null&&(P.lanes|=p),Yw(h.return,p,O)}function L4(h,p,O,P,L,V){var J=h.memoizedState;J===null?h.memoizedState={isBackwards:p,rendering:null,renderingStartTime:0,last:P,tail:O,tailMode:L,treeForkCount:V}:(J.isBackwards=p,J.rendering=null,J.renderingStartTime=0,J.last=P,J.tail=O,J.tailMode=L,J.treeForkCount=V)}function $7(h,p,O){var P=p.pendingProps,L=P.revealOrder,V=P.tail;P=P.children;var J=vi.current,ce=(J&2)!==0;if(ce?(J=J&1|2,p.flags|=128):J&=1,H(vi,J),cs(h,p,P,O),P=Ln?Fm:0,!ce&&h!==null&&(h.flags&128)!==0)e:for(h=p.child;h!==null;){if(h.tag===13)h.memoizedState!==null&&F7(h,O,p);else if(h.tag===19)F7(h,O,p);else if(h.child!==null){h.child.return=h,h=h.child;continue}if(h===p)break e;for(;h.sibling===null;){if(h.return===null||h.return===p)break e;h=h.return}h.sibling.return=h.return,h=h.sibling}switch(L){case"forwards":for(O=p.child,L=null;O!==null;)h=O.alternate,h!==null&&G2(h)===null&&(L=O),O=O.sibling;O=L,O===null?(L=p.child,p.child=null):(L=O.sibling,O.sibling=null),L4(p,!1,L,O,V,P);break;case"backwards":case"unstable_legacy-backwards":for(O=null,L=p.child,p.child=null;L!==null;){if(h=L.alternate,h!==null&&G2(h)===null){p.child=L;break}h=L.sibling,L.sibling=O,O=L,L=h}L4(p,!0,O,null,V,P);break;case"together":L4(p,!1,null,null,void 0,P);break;default:p.memoizedState=null}return p.child}function pc(h,p,O){if(h!==null&&(p.dependencies=h.dependencies),Iu|=p.lanes,(O&p.childLanes)===0)if(h!==null){if(Vd(h,p,O,!1),(O&p.childLanes)===0)return null}else return null;if(h!==null&&p.child!==h.child)throw Error(r(153));if(p.child!==null){for(h=p.child,O=lc(h,h.pendingProps),p.child=O,O.return=p;h.sibling!==null;)h=h.sibling,O=O.sibling=lc(h,h.pendingProps),O.return=p;O.sibling=null}return p.child}function j4(h,p){return(h.lanes&p)!==0?!0:(h=h.dependencies,!!(h!==null&&B2(h)))}function woe(h,p,O){switch(p.tag){case 3:U(p,p.stateNode.containerInfo),Eu(p,Di,h.memoizedState.cache),qh();break;case 27:case 5:me(p);break;case 4:U(p,p.stateNode.containerInfo);break;case 10:Eu(p,p.type,p.memoizedProps.value);break;case 31:if(p.memoizedState!==null)return p.flags|=128,l4(p),null;break;case 13:var P=p.memoizedState;if(P!==null)return P.dehydrated!==null?(Mu(p),p.flags|=128,null):(O&p.child.childLanes)!==0?j7(h,p,O):(Mu(p),h=pc(h,p,O),h!==null?h.sibling:null);Mu(p);break;case 19:var L=(h.flags&128)!==0;if(P=(O&p.childLanes)!==0,P||(Vd(h,p,O,!1),P=(O&p.childLanes)!==0),L){if(P)return $7(h,p,O);p.flags|=128}if(L=p.memoizedState,L!==null&&(L.rendering=null,L.tail=null,L.lastEffect=null),H(vi,vi.current),P)break;return null;case 22:return p.lanes=0,D7(h,p,O,p.pendingProps);case 24:Eu(p,Di,h.memoizedState.cache)}return pc(h,p,O)}function B7(h,p,O){if(h!==null)if(h.memoizedProps!==p.pendingProps)_i=!0;else{if(!j4(h,O)&&(p.flags&128)===0)return _i=!1,woe(h,p,O);_i=(h.flags&131072)!==0}else _i=!1,Ln&&(p.flags&1048576)!==0&&x_(p,Fm,p.index);switch(p.lanes=0,p.tag){case 16:e:{var P=p.pendingProps;if(h=tf(p.elementType),p.type=h,typeof h=="function")Qw(h)?(P=af(h,P),p.tag=1,p=R7(null,p,h,P,O)):(p.tag=0,p=M4(null,p,h,P,O));else{if(h!=null){var L=h.$$typeof;if(L===T){p.tag=11,p=T7(null,p,h,P,O);break e}else if(L===D){p.tag=14,p=P7(null,p,h,P,O);break e}}throw p=q(h)||h,Error(r(306,p,""))}}return p;case 0:return M4(h,p,p.type,p.pendingProps,O);case 1:return P=p.type,L=af(P,p.pendingProps),R7(h,p,P,L,O);case 3:e:{if(U(p,p.stateNode.containerInfo),h===null)throw Error(r(387));P=p.pendingProps;var V=p.memoizedState;L=V.element,r4(h,p),Xm(p,P,null,O);var J=p.memoizedState;if(P=J.cache,Eu(p,Di,P),P!==V.cache&&qw(p,[Di],O,!0),zm(),P=J.element,V.isDehydrated)if(V={element:P,isDehydrated:!1,cache:J.cache},p.updateQueue.baseState=V,p.memoizedState=V,p.flags&256){p=L7(h,p,P,O);break e}else if(P!==L){L=co(Error(r(424)),p),$m(L),p=L7(h,p,P,O);break e}else{switch(h=p.stateNode.containerInfo,h.nodeType){case 9:h=h.body;break;default:h=h.nodeName==="HTML"?h.ownerDocument.body:h}for(Qr=mo(h.firstChild),os=p,Ln=!0,wu=null,fo=!0,O=D_(p,null,P,O),p.child=O;O;)O.flags=O.flags&-3|4096,O=O.sibling}else{if(qh(),P===L){p=pc(h,p,O);break e}cs(h,p,P,O)}p=p.child}return p;case 26:return sb(h,p),h===null?(O=q9(p.type,null,p.pendingProps,null))?p.memoizedState=O:Ln||(O=p.type,h=p.pendingProps,P=Sb(te.current).createElement(O),P[mn]=p,P[Nn]=h,us(P,O,h),wn(P),p.stateNode=P):p.memoizedState=q9(p.type,h.memoizedProps,p.pendingProps,h.memoizedState),null;case 27:return me(p),h===null&&Ln&&(P=p.stateNode=G9(p.type,p.pendingProps,te.current),os=p,fo=!0,L=Qr,$u(p.type)?(g6=L,Qr=mo(P.firstChild)):Qr=L),cs(h,p,p.pendingProps.children,O),sb(h,p),h===null&&(p.flags|=4194304),p.child;case 5:return h===null&&Ln&&((L=P=Qr)&&(P=ele(P,p.type,p.pendingProps,fo),P!==null?(p.stateNode=P,os=p,Qr=mo(P.firstChild),fo=!1,L=!0):L=!1),L||Cu(p)),me(p),L=p.type,V=p.pendingProps,J=h!==null?h.memoizedProps:null,P=V.children,h6(L,V)?P=null:J!==null&&h6(L,J)&&(p.flags|=32),p.memoizedState!==null&&(L=u4(h,p,moe,null,null,O),f1._currentValue=L),sb(h,p),cs(h,p,P,O),p.child;case 6:return h===null&&Ln&&((h=O=Qr)&&(O=tle(O,p.pendingProps,fo),O!==null?(p.stateNode=O,os=p,Qr=null,h=!0):h=!1),h||Cu(p)),null;case 13:return j7(h,p,O);case 4:return U(p,p.stateNode.containerInfo),P=p.pendingProps,h===null?p.child=rf(p,null,P,O):cs(h,p,P,O),p.child;case 11:return T7(h,p,p.type,p.pendingProps,O);case 7:return cs(h,p,p.pendingProps,O),p.child;case 8:return cs(h,p,p.pendingProps.children,O),p.child;case 12:return cs(h,p,p.pendingProps.children,O),p.child;case 10:return P=p.pendingProps,Eu(p,p.type,P.value),cs(h,p,P.children,O),p.child;case 9:return L=p.type._context,P=p.pendingProps.children,Jh(p),L=ls(L),P=P(L),p.flags|=1,cs(h,p,P,O),p.child;case 14:return P7(h,p,p.type,p.pendingProps,O);case 15:return M7(h,p,p.type,p.pendingProps,O);case 19:return $7(h,p,O);case 31:return Ooe(h,p,O);case 22:return D7(h,p,O,p.pendingProps);case 24:return Jh(p),P=ls(Di),h===null?(L=e4(),L===null&&(L=Tr,V=Kw(),L.pooledCache=V,V.refCount++,V!==null&&(L.pooledCacheLanes|=O),L=V),p.memoizedState={parent:P,cache:L},n4(p),Eu(p,Di,L)):((h.lanes&O)!==0&&(r4(h,p),Xm(p,null,null,O),zm()),L=h.memoizedState,V=p.memoizedState,L.parent!==P?(L={parent:P,cache:P},p.memoizedState=L,p.lanes===0&&(p.memoizedState=p.updateQueue.baseState=L),Eu(p,Di,P)):(P=V.cache,Eu(p,Di,P),P!==L.cache&&qw(p,[Di],O,!0))),cs(h,p,p.pendingProps.children,O),p.child;case 29:throw p.pendingProps}throw Error(r(156,p.tag))}function mc(h){h.flags|=4}function F4(h,p,O,P,L){if((p=(h.mode&32)!==0)&&(p=!1),p){if(h.flags|=16777216,(L&335544128)===L)if(h.stateNode.complete)h.flags|=8192;else if(d9())h.flags|=8192;else throw nf=Z2,t4}else h.flags&=-16777217}function V7(h,p){if(p.type!=="stylesheet"||(p.state.loading&4)!==0)h.flags&=-16777217;else if(h.flags|=16777216,!nI(p))if(d9())h.flags|=8192;else throw nf=Z2,t4}function ob(h,p){p!==null&&(h.flags|=4),h.flags&16384&&(p=h.tag!==22?dn():536870912,h.lanes|=p,Jd|=p)}function Km(h,p){if(!Ln)switch(h.tailMode){case"hidden":p=h.tail;for(var O=null;p!==null;)p.alternate!==null&&(O=p),p=p.sibling;O===null?h.tail=null:O.sibling=null;break;case"collapsed":O=h.tail;for(var P=null;O!==null;)O.alternate!==null&&(P=O),O=O.sibling;P===null?p||h.tail===null?h.tail=null:h.tail.sibling=null:P.sibling=null}}function Hr(h){var p=h.alternate!==null&&h.alternate.child===h.child,O=0,P=0;if(p)for(var L=h.child;L!==null;)O|=L.lanes|L.childLanes,P|=L.subtreeFlags&65011712,P|=L.flags&65011712,L.return=h,L=L.sibling;else for(L=h.child;L!==null;)O|=L.lanes|L.childLanes,P|=L.subtreeFlags,P|=L.flags,L.return=h,L=L.sibling;return h.subtreeFlags|=P,h.childLanes=O,p}function Coe(h,p,O){var P=p.pendingProps;switch(Xw(p),p.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Hr(p),null;case 1:return Hr(p),null;case 3:return O=p.stateNode,P=null,h!==null&&(P=h.memoizedState.cache),p.memoizedState.cache!==P&&(p.flags|=2048),hc(Di),X(),O.pendingContext&&(O.context=O.pendingContext,O.pendingContext=null),(h===null||h.child===null)&&(Bd(p)?mc(p):h===null||h.memoizedState.isDehydrated&&(p.flags&256)===0||(p.flags|=1024,Gw())),Hr(p),null;case 26:var L=p.type,V=p.memoizedState;return h===null?(mc(p),V!==null?(Hr(p),V7(p,V)):(Hr(p),F4(p,L,null,P,O))):V?V!==h.memoizedState?(mc(p),Hr(p),V7(p,V)):(Hr(p),p.flags&=-16777217):(h=h.memoizedProps,h!==P&&mc(p),Hr(p),F4(p,L,h,P,O)),null;case 27:if(Ee(p),O=te.current,L=p.type,h!==null&&p.stateNode!=null)h.memoizedProps!==P&&mc(p);else{if(!P){if(p.stateNode===null)throw Error(r(166));return Hr(p),null}h=F.current,Bd(p)?A_(p):(h=G9(L,P,O),p.stateNode=h,mc(p))}return Hr(p),null;case 5:if(Ee(p),L=p.type,h!==null&&p.stateNode!=null)h.memoizedProps!==P&&mc(p);else{if(!P){if(p.stateNode===null)throw Error(r(166));return Hr(p),null}if(V=F.current,Bd(p))A_(p);else{var J=Sb(te.current);switch(V){case 1:V=J.createElementNS("http://www.w3.org/2000/svg",L);break;case 2:V=J.createElementNS("http://www.w3.org/1998/Math/MathML",L);break;default:switch(L){case"svg":V=J.createElementNS("http://www.w3.org/2000/svg",L);break;case"math":V=J.createElementNS("http://www.w3.org/1998/Math/MathML",L);break;case"script":V=J.createElement("div"),V.innerHTML="<script><\/script>",V=V.removeChild(V.firstChild);break;case"select":V=typeof P.is=="string"?J.createElement("select",{is:P.is}):J.createElement("select"),P.multiple?V.multiple=!0:P.size&&(V.size=P.size);break;default:V=typeof P.is=="string"?J.createElement(L,{is:P.is}):J.createElement(L)}}V[mn]=p,V[Nn]=P;e:for(J=p.child;J!==null;){if(J.tag===5||J.tag===6)V.appendChild(J.stateNode);else if(J.tag!==4&&J.tag!==27&&J.child!==null){J.child.return=J,J=J.child;continue}if(J===p)break e;for(;J.sibling===null;){if(J.return===null||J.return===p)break e;J=J.return}J.sibling.return=J.return,J=J.sibling}p.stateNode=V;e:switch(us(V,L,P),L){case"button":case"input":case"select":case"textarea":P=!!P.autoFocus;break e;case"img":P=!0;break e;default:P=!1}P&&mc(p)}}return Hr(p),F4(p,p.type,h===null?null:h.memoizedProps,p.pendingProps,O),null;case 6:if(h&&p.stateNode!=null)h.memoizedProps!==P&&mc(p);else{if(typeof P!="string"&&p.stateNode===null)throw Error(r(166));if(h=te.current,Bd(p)){if(h=p.stateNode,O=p.memoizedProps,P=null,L=os,L!==null)switch(L.tag){case 27:case 5:P=L.memoizedProps}h[mn]=p,h=!!(h.nodeValue===O||P!==null&&P.suppressHydrationWarning===!0||j9(h.nodeValue,O)),h||Cu(p,!0)}else h=Sb(h).createTextNode(P),h[mn]=p,p.stateNode=h}return Hr(p),null;case 31:if(O=p.memoizedState,h===null||h.memoizedState!==null){if(P=Bd(p),O!==null){if(h===null){if(!P)throw Error(r(318));if(h=p.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(r(557));h[mn]=p}else qh(),(p.flags&128)===0&&(p.memoizedState=null),p.flags|=4;Hr(p),h=!1}else O=Gw(),h!==null&&h.memoizedState!==null&&(h.memoizedState.hydrationErrors=O),h=!0;if(!h)return p.flags&256?(Ia(p),p):(Ia(p),null);if((p.flags&128)!==0)throw Error(r(558))}return Hr(p),null;case 13:if(P=p.memoizedState,h===null||h.memoizedState!==null&&h.memoizedState.dehydrated!==null){if(L=Bd(p),P!==null&&P.dehydrated!==null){if(h===null){if(!L)throw Error(r(318));if(L=p.memoizedState,L=L!==null?L.dehydrated:null,!L)throw Error(r(317));L[mn]=p}else qh(),(p.flags&128)===0&&(p.memoizedState=null),p.flags|=4;Hr(p),L=!1}else L=Gw(),h!==null&&h.memoizedState!==null&&(h.memoizedState.hydrationErrors=L),L=!0;if(!L)return p.flags&256?(Ia(p),p):(Ia(p),null)}return Ia(p),(p.flags&128)!==0?(p.lanes=O,p):(O=P!==null,h=h!==null&&h.memoizedState!==null,O&&(P=p.child,L=null,P.alternate!==null&&P.alternate.memoizedState!==null&&P.alternate.memoizedState.cachePool!==null&&(L=P.alternate.memoizedState.cachePool.pool),V=null,P.memoizedState!==null&&P.memoizedState.cachePool!==null&&(V=P.memoizedState.cachePool.pool),V!==L&&(P.flags|=2048)),O!==h&&O&&(p.child.flags|=8192),ob(p,p.updateQueue),Hr(p),null);case 4:return X(),h===null&&a6(p.stateNode.containerInfo),Hr(p),null;case 10:return hc(p.type),Hr(p),null;case 19:if(R(vi),P=p.memoizedState,P===null)return Hr(p),null;if(L=(p.flags&128)!==0,V=P.rendering,V===null)if(L)Km(P,!1);else{if(li!==0||h!==null&&(h.flags&128)!==0)for(h=p.child;h!==null;){if(V=G2(h),V!==null){for(p.flags|=128,Km(P,!1),h=V.updateQueue,p.updateQueue=h,ob(p,h),p.subtreeFlags=0,h=O,O=p.child;O!==null;)m_(O,h),O=O.sibling;return H(vi,vi.current&1|2),Ln&&cc(p,P.treeForkCount),p.child}h=h.sibling}P.tail!==null&&Ue()>fb&&(p.flags|=128,L=!0,Km(P,!1),p.lanes=4194304)}else{if(!L)if(h=G2(V),h!==null){if(p.flags|=128,L=!0,h=h.updateQueue,p.updateQueue=h,ob(p,h),Km(P,!0),P.tail===null&&P.tailMode==="hidden"&&!V.alternate&&!Ln)return Hr(p),null}else 2*Ue()-P.renderingStartTime>fb&&O!==536870912&&(p.flags|=128,L=!0,Km(P,!1),p.lanes=4194304);P.isBackwards?(V.sibling=p.child,p.child=V):(h=P.last,h!==null?h.sibling=V:p.child=V,P.last=V)}return P.tail!==null?(h=P.tail,P.rendering=h,P.tail=h.sibling,P.renderingStartTime=Ue(),h.sibling=null,O=vi.current,H(vi,L?O&1|2:O&1),Ln&&cc(p,P.treeForkCount),h):(Hr(p),null);case 22:case 23:return Ia(p),o4(),P=p.memoizedState!==null,h!==null?h.memoizedState!==null!==P&&(p.flags|=8192):P&&(p.flags|=8192),P?(O&536870912)!==0&&(p.flags&128)===0&&(Hr(p),p.subtreeFlags&6&&(p.flags|=8192)):Hr(p),O=p.updateQueue,O!==null&&ob(p,O.retryQueue),O=null,h!==null&&h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(O=h.memoizedState.cachePool.pool),P=null,p.memoizedState!==null&&p.memoizedState.cachePool!==null&&(P=p.memoizedState.cachePool.pool),P!==O&&(p.flags|=2048),h!==null&&R(ef),null;case 24:return O=null,h!==null&&(O=h.memoizedState.cache),p.memoizedState.cache!==O&&(p.flags|=2048),hc(Di),Hr(p),null;case 25:return null;case 30:return null}throw Error(r(156,p.tag))}function Eoe(h,p){switch(Xw(p),p.tag){case 1:return h=p.flags,h&65536?(p.flags=h&-65537|128,p):null;case 3:return hc(Di),X(),h=p.flags,(h&65536)!==0&&(h&128)===0?(p.flags=h&-65537|128,p):null;case 26:case 27:case 5:return Ee(p),null;case 31:if(p.memoizedState!==null){if(Ia(p),p.alternate===null)throw Error(r(340));qh()}return h=p.flags,h&65536?(p.flags=h&-65537|128,p):null;case 13:if(Ia(p),h=p.memoizedState,h!==null&&h.dehydrated!==null){if(p.alternate===null)throw Error(r(340));qh()}return h=p.flags,h&65536?(p.flags=h&-65537|128,p):null;case 19:return R(vi),null;case 4:return X(),null;case 10:return hc(p.type),null;case 22:case 23:return Ia(p),o4(),h!==null&&R(ef),h=p.flags,h&65536?(p.flags=h&-65537|128,p):null;case 24:return hc(Di),null;case 25:return null;default:return null}}function Q7(h,p){switch(Xw(p),p.tag){case 3:hc(Di),X();break;case 26:case 27:case 5:Ee(p);break;case 4:X();break;case 31:p.memoizedState!==null&&Ia(p);break;case 13:Ia(p);break;case 19:R(vi);break;case 10:hc(p.type);break;case 22:case 23:Ia(p),o4(),h!==null&&R(ef);break;case 24:hc(Di)}}function Jm(h,p){try{var O=p.updateQueue,P=O!==null?O.lastEffect:null;if(P!==null){var L=P.next;O=L;do{if((O.tag&h)===h){P=void 0;var V=O.create,J=O.inst;P=V(),J.destroy=P}O=O.next}while(O!==L)}}catch(ce){gr(p,p.return,ce)}}function Nu(h,p,O){try{var P=p.updateQueue,L=P!==null?P.lastEffect:null;if(L!==null){var V=L.next;P=V;do{if((P.tag&h)===h){var J=P.inst,ce=J.destroy;if(ce!==void 0){J.destroy=void 0,L=p;var be=O,De=ce;try{De()}catch(He){gr(L,be,He)}}}P=P.next}while(P!==V)}}catch(He){gr(p,p.return,He)}}function H7(h){var p=h.updateQueue;if(p!==null){var O=h.stateNode;try{__(p,O)}catch(P){gr(h,h.return,P)}}}function Z7(h,p,O){O.props=af(h.type,h.memoizedProps),O.state=h.memoizedState;try{O.componentWillUnmount()}catch(P){gr(h,p,P)}}function e1(h,p){try{var O=h.ref;if(O!==null){switch(h.tag){case 26:case 27:case 5:var P=h.stateNode;break;case 30:P=h.stateNode;break;default:P=h.stateNode}typeof O=="function"?h.refCleanup=O(P):O.current=P}}catch(L){gr(h,p,L)}}function Al(h,p){var O=h.ref,P=h.refCleanup;if(O!==null)if(typeof P=="function")try{P()}catch(L){gr(h,p,L)}finally{h.refCleanup=null,h=h.alternate,h!=null&&(h.refCleanup=null)}else if(typeof O=="function")try{O(null)}catch(L){gr(h,p,L)}else O.current=null}function z7(h){var p=h.type,O=h.memoizedProps,P=h.stateNode;try{e:switch(p){case"button":case"input":case"select":case"textarea":O.autoFocus&&P.focus();break e;case"img":O.src?P.src=O.src:O.srcSet&&(P.srcset=O.srcSet)}}catch(L){gr(h,h.return,L)}}function $4(h,p,O){try{var P=h.stateNode;Goe(P,h.type,O,p),P[Nn]=p}catch(L){gr(h,h.return,L)}}function X7(h){return h.tag===5||h.tag===3||h.tag===26||h.tag===27&&$u(h.type)||h.tag===4}function B4(h){e:for(;;){for(;h.sibling===null;){if(h.return===null||X7(h.return))return null;h=h.return}for(h.sibling.return=h.return,h=h.sibling;h.tag!==5&&h.tag!==6&&h.tag!==18;){if(h.tag===27&&$u(h.type)||h.flags&2||h.child===null||h.tag===4)continue e;h.child.return=h,h=h.child}if(!(h.flags&2))return h.stateNode}}function V4(h,p,O){var P=h.tag;if(P===5||P===6)h=h.stateNode,p?(O.nodeType===9?O.body:O.nodeName==="HTML"?O.ownerDocument.body:O).insertBefore(h,p):(p=O.nodeType===9?O.body:O.nodeName==="HTML"?O.ownerDocument.body:O,p.appendChild(h),O=O._reactRootContainer,O!=null||p.onclick!==null||(p.onclick=Ma));else if(P!==4&&(P===27&&$u(h.type)&&(O=h.stateNode,p=null),h=h.child,h!==null))for(V4(h,p,O),h=h.sibling;h!==null;)V4(h,p,O),h=h.sibling}function lb(h,p,O){var P=h.tag;if(P===5||P===6)h=h.stateNode,p?O.insertBefore(h,p):O.appendChild(h);else if(P!==4&&(P===27&&$u(h.type)&&(O=h.stateNode),h=h.child,h!==null))for(lb(h,p,O),h=h.sibling;h!==null;)lb(h,p,O),h=h.sibling}function U7(h){var p=h.stateNode,O=h.memoizedProps;try{for(var P=h.type,L=p.attributes;L.length;)p.removeAttributeNode(L[0]);us(p,P,O),p[mn]=h,p[Nn]=O}catch(V){gr(h,h.return,V)}}var gc=!1,Ii=!1,Q4=!1,G7=typeof WeakSet=="function"?WeakSet:Set,Yi=null;function koe(h,p){if(h=h.containerInfo,c6=Pb,h=Lm(h),Id(h)){if("selectionStart"in h)var O={start:h.selectionStart,end:h.selectionEnd};else e:{O=(O=h.ownerDocument)&&O.defaultView||window;var P=O.getSelection&&O.getSelection();if(P&&P.rangeCount!==0){O=P.anchorNode;var L=P.anchorOffset,V=P.focusNode;P=P.focusOffset;try{O.nodeType,V.nodeType}catch{O=null;break e}var J=0,ce=-1,be=-1,De=0,He=0,Xe=h,Ne=null;t:for(;;){for(var Le;Xe!==O||L!==0&&Xe.nodeType!==3||(ce=J+L),Xe!==V||P!==0&&Xe.nodeType!==3||(be=J+P),Xe.nodeType===3&&(J+=Xe.nodeValue.length),(Le=Xe.firstChild)!==null;)Ne=Xe,Xe=Le;for(;;){if(Xe===h)break t;if(Ne===O&&++De===L&&(ce=J),Ne===V&&++He===P&&(be=J),(Le=Xe.nextSibling)!==null)break;Xe=Ne,Ne=Xe.parentNode}Xe=Le}O=ce===-1||be===-1?null:{start:ce,end:be}}else O=null}O=O||{start:0,end:0}}else O=null;for(u6={focusedElem:h,selectionRange:O},Pb=!1,Yi=p;Yi!==null;)if(p=Yi,h=p.child,(p.subtreeFlags&1028)!==0&&h!==null)h.return=p,Yi=h;else for(;Yi!==null;){switch(p=Yi,V=p.alternate,h=p.flags,p.tag){case 0:if((h&4)!==0&&(h=p.updateQueue,h=h!==null?h.events:null,h!==null))for(O=0;O<h.length;O++)L=h[O],L.ref.impl=L.nextImpl;break;case 11:case 15:break;case 1:if((h&1024)!==0&&V!==null){h=void 0,O=p,L=V.memoizedProps,V=V.memoizedState,P=O.stateNode;try{var Dt=af(O.type,L);h=P.getSnapshotBeforeUpdate(Dt,V),P.__reactInternalSnapshotBeforeUpdate=h}catch(Jt){gr(O,O.return,Jt)}}break;case 3:if((h&1024)!==0){if(h=p.stateNode.containerInfo,O=h.nodeType,O===9)d6(h);else if(O===1)switch(h.nodeName){case"HEAD":case"HTML":case"BODY":d6(h);break;default:h.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((h&1024)!==0)throw Error(r(163))}if(h=p.sibling,h!==null){h.return=p.return,Yi=h;break}Yi=p.return}}function W7(h,p,O){var P=O.flags;switch(O.tag){case 0:case 11:case 15:xc(h,O),P&4&&Jm(5,O);break;case 1:if(xc(h,O),P&4)if(h=O.stateNode,p===null)try{h.componentDidMount()}catch(J){gr(O,O.return,J)}else{var L=af(O.type,p.memoizedProps);p=p.memoizedState;try{h.componentDidUpdate(L,p,h.__reactInternalSnapshotBeforeUpdate)}catch(J){gr(O,O.return,J)}}P&64&&H7(O),P&512&&e1(O,O.return);break;case 3:if(xc(h,O),P&64&&(h=O.updateQueue,h!==null)){if(p=null,O.child!==null)switch(O.child.tag){case 27:case 5:p=O.child.stateNode;break;case 1:p=O.child.stateNode}try{__(h,p)}catch(J){gr(O,O.return,J)}}break;case 27:p===null&&P&4&&U7(O);case 26:case 5:xc(h,O),p===null&&P&4&&z7(O),P&512&&e1(O,O.return);break;case 12:xc(h,O);break;case 31:xc(h,O),P&4&&K7(h,O);break;case 13:xc(h,O),P&4&&J7(h,O),P&64&&(h=O.memoizedState,h!==null&&(h=h.dehydrated,h!==null&&(O=Loe.bind(null,O),nle(h,O))));break;case 22:if(P=O.memoizedState!==null||gc,!P){p=p!==null&&p.memoizedState!==null||Ii,L=gc;var V=Ii;gc=P,(Ii=p)&&!V?bc(h,O,(O.subtreeFlags&8772)!==0):xc(h,O),gc=L,Ii=V}break;case 30:break;default:xc(h,O)}}function Y7(h){var p=h.alternate;p!==null&&(h.alternate=null,Y7(p)),h.child=null,h.deletions=null,h.sibling=null,h.tag===5&&(p=h.stateNode,p!==null&&br(p)),h.stateNode=null,h.return=null,h.dependencies=null,h.memoizedProps=null,h.memoizedState=null,h.pendingProps=null,h.stateNode=null,h.updateQueue=null}var Wr=null,ea=!1;function yc(h,p,O){for(O=O.child;O!==null;)q7(h,p,O),O=O.sibling}function q7(h,p,O){if(mt&&typeof mt.onCommitFiberUnmount=="function")try{mt.onCommitFiberUnmount(At,O)}catch{}switch(O.tag){case 26:Ii||Al(O,p),yc(h,p,O),O.memoizedState?O.memoizedState.count--:O.stateNode&&(O=O.stateNode,O.parentNode.removeChild(O));break;case 27:Ii||Al(O,p);var P=Wr,L=ea;$u(O.type)&&(Wr=O.stateNode,ea=!1),yc(h,p,O),c1(O.stateNode),Wr=P,ea=L;break;case 5:Ii||Al(O,p);case 6:if(P=Wr,L=ea,Wr=null,yc(h,p,O),Wr=P,ea=L,Wr!==null)if(ea)try{(Wr.nodeType===9?Wr.body:Wr.nodeName==="HTML"?Wr.ownerDocument.body:Wr).removeChild(O.stateNode)}catch(V){gr(O,p,V)}else try{Wr.removeChild(O.stateNode)}catch(V){gr(O,p,V)}break;case 18:Wr!==null&&(ea?(h=Wr,H9(h.nodeType===9?h.body:h.nodeName==="HTML"?h.ownerDocument.body:h,O.stateNode),op(h)):H9(Wr,O.stateNode));break;case 4:P=Wr,L=ea,Wr=O.stateNode.containerInfo,ea=!0,yc(h,p,O),Wr=P,ea=L;break;case 0:case 11:case 14:case 15:Nu(2,O,p),Ii||Nu(4,O,p),yc(h,p,O);break;case 1:Ii||(Al(O,p),P=O.stateNode,typeof P.componentWillUnmount=="function"&&Z7(O,p,P)),yc(h,p,O);break;case 21:yc(h,p,O);break;case 22:Ii=(P=Ii)||O.memoizedState!==null,yc(h,p,O),Ii=P;break;default:yc(h,p,O)}}function K7(h,p){if(p.memoizedState===null&&(h=p.alternate,h!==null&&(h=h.memoizedState,h!==null))){h=h.dehydrated;try{op(h)}catch(O){gr(p,p.return,O)}}}function J7(h,p){if(p.memoizedState===null&&(h=p.alternate,h!==null&&(h=h.memoizedState,h!==null&&(h=h.dehydrated,h!==null))))try{op(h)}catch(O){gr(p,p.return,O)}}function Toe(h){switch(h.tag){case 31:case 13:case 19:var p=h.stateNode;return p===null&&(p=h.stateNode=new G7),p;case 22:return h=h.stateNode,p=h._retryCache,p===null&&(p=h._retryCache=new G7),p;default:throw Error(r(435,h.tag))}}function cb(h,p){var O=Toe(h);p.forEach(function(P){if(!O.has(P)){O.add(P);var L=joe.bind(null,h,P);P.then(L,L)}})}function ta(h,p){var O=p.deletions;if(O!==null)for(var P=0;P<O.length;P++){var L=O[P],V=h,J=p,ce=J;e:for(;ce!==null;){switch(ce.tag){case 27:if($u(ce.type)){Wr=ce.stateNode,ea=!1;break e}break;case 5:Wr=ce.stateNode,ea=!1;break e;case 3:case 4:Wr=ce.stateNode.containerInfo,ea=!0;break e}ce=ce.return}if(Wr===null)throw Error(r(160));q7(V,J,L),Wr=null,ea=!1,V=L.alternate,V!==null&&(V.return=null),L.return=null}if(p.subtreeFlags&13886)for(p=p.child;p!==null;)e9(p,h),p=p.sibling}var Vo=null;function e9(h,p){var O=h.alternate,P=h.flags;switch(h.tag){case 0:case 11:case 14:case 15:ta(p,h),na(h),P&4&&(Nu(3,h,h.return),Jm(3,h),Nu(5,h,h.return));break;case 1:ta(p,h),na(h),P&512&&(Ii||O===null||Al(O,O.return)),P&64&&gc&&(h=h.updateQueue,h!==null&&(P=h.callbacks,P!==null&&(O=h.shared.hiddenCallbacks,h.shared.hiddenCallbacks=O===null?P:O.concat(P))));break;case 26:var L=Vo;if(ta(p,h),na(h),P&512&&(Ii||O===null||Al(O,O.return)),P&4){var V=O!==null?O.memoizedState:null;if(P=h.memoizedState,O===null)if(P===null)if(h.stateNode===null){e:{P=h.type,O=h.memoizedProps,L=L.ownerDocument||L;t:switch(P){case"title":V=L.getElementsByTagName("title")[0],(!V||V[gn]||V[mn]||V.namespaceURI==="http://www.w3.org/2000/svg"||V.hasAttribute("itemprop"))&&(V=L.createElement(P),L.head.insertBefore(V,L.querySelector("head > title"))),us(V,P,O),V[mn]=h,wn(V),P=V;break e;case"link":var J=eI("link","href",L).get(P+(O.href||""));if(J){for(var ce=0;ce<J.length;ce++)if(V=J[ce],V.getAttribute("href")===(O.href==null||O.href===""?null:O.href)&&V.getAttribute("rel")===(O.rel==null?null:O.rel)&&V.getAttribute("title")===(O.title==null?null:O.title)&&V.getAttribute("crossorigin")===(O.crossOrigin==null?null:O.crossOrigin)){J.splice(ce,1);break t}}V=L.createElement(P),us(V,P,O),L.head.appendChild(V);break;case"meta":if(J=eI("meta","content",L).get(P+(O.content||""))){for(ce=0;ce<J.length;ce++)if(V=J[ce],V.getAttribute("content")===(O.content==null?null:""+O.content)&&V.getAttribute("name")===(O.name==null?null:O.name)&&V.getAttribute("property")===(O.property==null?null:O.property)&&V.getAttribute("http-equiv")===(O.httpEquiv==null?null:O.httpEquiv)&&V.getAttribute("charset")===(O.charSet==null?null:O.charSet)){J.splice(ce,1);break t}}V=L.createElement(P),us(V,P,O),L.head.appendChild(V);break;default:throw Error(r(468,P))}V[mn]=h,wn(V),P=V}h.stateNode=P}else tI(L,h.type,h.stateNode);else h.stateNode=J9(L,P,h.memoizedProps);else V!==P?(V===null?O.stateNode!==null&&(O=O.stateNode,O.parentNode.removeChild(O)):V.count--,P===null?tI(L,h.type,h.stateNode):J9(L,P,h.memoizedProps)):P===null&&h.stateNode!==null&&$4(h,h.memoizedProps,O.memoizedProps)}break;case 27:ta(p,h),na(h),P&512&&(Ii||O===null||Al(O,O.return)),O!==null&&P&4&&$4(h,h.memoizedProps,O.memoizedProps);break;case 5:if(ta(p,h),na(h),P&512&&(Ii||O===null||Al(O,O.return)),h.flags&32){L=h.stateNode;try{nn(L,"")}catch(Dt){gr(h,h.return,Dt)}}P&4&&h.stateNode!=null&&(L=h.memoizedProps,$4(h,L,O!==null?O.memoizedProps:L)),P&1024&&(Q4=!0);break;case 6:if(ta(p,h),na(h),P&4){if(h.stateNode===null)throw Error(r(162));P=h.memoizedProps,O=h.stateNode;try{O.nodeValue=P}catch(Dt){gr(h,h.return,Dt)}}break;case 3:if(Cb=null,L=Vo,Vo=Ob(p.containerInfo),ta(p,h),Vo=L,na(h),P&4&&O!==null&&O.memoizedState.isDehydrated)try{op(p.containerInfo)}catch(Dt){gr(h,h.return,Dt)}Q4&&(Q4=!1,t9(h));break;case 4:P=Vo,Vo=Ob(h.stateNode.containerInfo),ta(p,h),na(h),Vo=P;break;case 12:ta(p,h),na(h);break;case 31:ta(p,h),na(h),P&4&&(P=h.updateQueue,P!==null&&(h.updateQueue=null,cb(h,P)));break;case 13:ta(p,h),na(h),h.child.flags&8192&&h.memoizedState!==null!=(O!==null&&O.memoizedState!==null)&&(hb=Ue()),P&4&&(P=h.updateQueue,P!==null&&(h.updateQueue=null,cb(h,P)));break;case 22:L=h.memoizedState!==null;var be=O!==null&&O.memoizedState!==null,De=gc,He=Ii;if(gc=De||L,Ii=He||be,ta(p,h),Ii=He,gc=De,na(h),P&8192)e:for(p=h.stateNode,p._visibility=L?p._visibility&-2:p._visibility|1,L&&(O===null||be||gc||Ii||of(h)),O=null,p=h;;){if(p.tag===5||p.tag===26){if(O===null){be=O=p;try{if(V=be.stateNode,L)J=V.style,typeof J.setProperty=="function"?J.setProperty("display","none","important"):J.display="none";else{ce=be.stateNode;var Xe=be.memoizedProps.style,Ne=Xe!=null&&Xe.hasOwnProperty("display")?Xe.display:null;ce.style.display=Ne==null||typeof Ne=="boolean"?"":(""+Ne).trim()}}catch(Dt){gr(be,be.return,Dt)}}}else if(p.tag===6){if(O===null){be=p;try{be.stateNode.nodeValue=L?"":be.memoizedProps}catch(Dt){gr(be,be.return,Dt)}}}else if(p.tag===18){if(O===null){be=p;try{var Le=be.stateNode;L?Z9(Le,!0):Z9(be.stateNode,!1)}catch(Dt){gr(be,be.return,Dt)}}}else if((p.tag!==22&&p.tag!==23||p.memoizedState===null||p===h)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===h)break e;for(;p.sibling===null;){if(p.return===null||p.return===h)break e;O===p&&(O=null),p=p.return}O===p&&(O=null),p.sibling.return=p.return,p=p.sibling}P&4&&(P=h.updateQueue,P!==null&&(O=P.retryQueue,O!==null&&(P.retryQueue=null,cb(h,O))));break;case 19:ta(p,h),na(h),P&4&&(P=h.updateQueue,P!==null&&(h.updateQueue=null,cb(h,P)));break;case 30:break;case 21:break;default:ta(p,h),na(h)}}function na(h){var p=h.flags;if(p&2){try{for(var O,P=h.return;P!==null;){if(X7(P)){O=P;break}P=P.return}if(O==null)throw Error(r(160));switch(O.tag){case 27:var L=O.stateNode,V=B4(h);lb(h,V,L);break;case 5:var J=O.stateNode;O.flags&32&&(nn(J,""),O.flags&=-33);var ce=B4(h);lb(h,ce,J);break;case 3:case 4:var be=O.stateNode.containerInfo,De=B4(h);V4(h,De,be);break;default:throw Error(r(161))}}catch(He){gr(h,h.return,He)}h.flags&=-3}p&4096&&(h.flags&=-4097)}function t9(h){if(h.subtreeFlags&1024)for(h=h.child;h!==null;){var p=h;t9(p),p.tag===5&&p.flags&1024&&p.stateNode.reset(),h=h.sibling}}function xc(h,p){if(p.subtreeFlags&8772)for(p=p.child;p!==null;)W7(h,p.alternate,p),p=p.sibling}function of(h){for(h=h.child;h!==null;){var p=h;switch(p.tag){case 0:case 11:case 14:case 15:Nu(4,p,p.return),of(p);break;case 1:Al(p,p.return);var O=p.stateNode;typeof O.componentWillUnmount=="function"&&Z7(p,p.return,O),of(p);break;case 27:c1(p.stateNode);case 26:case 5:Al(p,p.return),of(p);break;case 22:p.memoizedState===null&&of(p);break;case 30:of(p);break;default:of(p)}h=h.sibling}}function bc(h,p,O){for(O=O&&(p.subtreeFlags&8772)!==0,p=p.child;p!==null;){var P=p.alternate,L=h,V=p,J=V.flags;switch(V.tag){case 0:case 11:case 15:bc(L,V,O),Jm(4,V);break;case 1:if(bc(L,V,O),P=V,L=P.stateNode,typeof L.componentDidMount=="function")try{L.componentDidMount()}catch(De){gr(P,P.return,De)}if(P=V,L=P.updateQueue,L!==null){var ce=P.stateNode;try{var be=L.shared.hiddenCallbacks;if(be!==null)for(L.shared.hiddenCallbacks=null,L=0;L<be.length;L++)N_(be[L],ce)}catch(De){gr(P,P.return,De)}}O&&J&64&&H7(V),e1(V,V.return);break;case 27:U7(V);case 26:case 5:bc(L,V,O),O&&P===null&&J&4&&z7(V),e1(V,V.return);break;case 12:bc(L,V,O);break;case 31:bc(L,V,O),O&&J&4&&K7(L,V);break;case 13:bc(L,V,O),O&&J&4&&J7(L,V);break;case 22:V.memoizedState===null&&bc(L,V,O),e1(V,V.return);break;case 30:break;default:bc(L,V,O)}p=p.sibling}}function H4(h,p){var O=null;h!==null&&h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(O=h.memoizedState.cachePool.pool),h=null,p.memoizedState!==null&&p.memoizedState.cachePool!==null&&(h=p.memoizedState.cachePool.pool),h!==O&&(h!=null&&h.refCount++,O!=null&&Bm(O))}function Z4(h,p){h=null,p.alternate!==null&&(h=p.alternate.memoizedState.cache),p=p.memoizedState.cache,p!==h&&(p.refCount++,h!=null&&Bm(h))}function Qo(h,p,O,P){if(p.subtreeFlags&10256)for(p=p.child;p!==null;)n9(h,p,O,P),p=p.sibling}function n9(h,p,O,P){var L=p.flags;switch(p.tag){case 0:case 11:case 15:Qo(h,p,O,P),L&2048&&Jm(9,p);break;case 1:Qo(h,p,O,P);break;case 3:Qo(h,p,O,P),L&2048&&(h=null,p.alternate!==null&&(h=p.alternate.memoizedState.cache),p=p.memoizedState.cache,p!==h&&(p.refCount++,h!=null&&Bm(h)));break;case 12:if(L&2048){Qo(h,p,O,P),h=p.stateNode;try{var V=p.memoizedProps,J=V.id,ce=V.onPostCommit;typeof ce=="function"&&ce(J,p.alternate===null?"mount":"update",h.passiveEffectDuration,-0)}catch(be){gr(p,p.return,be)}}else Qo(h,p,O,P);break;case 31:Qo(h,p,O,P);break;case 13:Qo(h,p,O,P);break;case 23:break;case 22:V=p.stateNode,J=p.alternate,p.memoizedState!==null?V._visibility&2?Qo(h,p,O,P):t1(h,p):V._visibility&2?Qo(h,p,O,P):(V._visibility|=2,Yd(h,p,O,P,(p.subtreeFlags&10256)!==0||!1)),L&2048&&H4(J,p);break;case 24:Qo(h,p,O,P),L&2048&&Z4(p.alternate,p);break;default:Qo(h,p,O,P)}}function Yd(h,p,O,P,L){for(L=L&&((p.subtreeFlags&10256)!==0||!1),p=p.child;p!==null;){var V=h,J=p,ce=O,be=P,De=J.flags;switch(J.tag){case 0:case 11:case 15:Yd(V,J,ce,be,L),Jm(8,J);break;case 23:break;case 22:var He=J.stateNode;J.memoizedState!==null?He._visibility&2?Yd(V,J,ce,be,L):t1(V,J):(He._visibility|=2,Yd(V,J,ce,be,L)),L&&De&2048&&H4(J.alternate,J);break;case 24:Yd(V,J,ce,be,L),L&&De&2048&&Z4(J.alternate,J);break;default:Yd(V,J,ce,be,L)}p=p.sibling}}function t1(h,p){if(p.subtreeFlags&10256)for(p=p.child;p!==null;){var O=h,P=p,L=P.flags;switch(P.tag){case 22:t1(O,P),L&2048&&H4(P.alternate,P);break;case 24:t1(O,P),L&2048&&Z4(P.alternate,P);break;default:t1(O,P)}p=p.sibling}}var n1=8192;function qd(h,p,O){if(h.subtreeFlags&n1)for(h=h.child;h!==null;)r9(h,p,O),h=h.sibling}function r9(h,p,O){switch(h.tag){case 26:qd(h,p,O),h.flags&n1&&h.memoizedState!==null&&ple(O,Vo,h.memoizedState,h.memoizedProps);break;case 5:qd(h,p,O);break;case 3:case 4:var P=Vo;Vo=Ob(h.stateNode.containerInfo),qd(h,p,O),Vo=P;break;case 22:h.memoizedState===null&&(P=h.alternate,P!==null&&P.memoizedState!==null?(P=n1,n1=16777216,qd(h,p,O),n1=P):qd(h,p,O));break;default:qd(h,p,O)}}function i9(h){var p=h.alternate;if(p!==null&&(h=p.child,h!==null)){p.child=null;do p=h.sibling,h.sibling=null,h=p;while(h!==null)}}function r1(h){var p=h.deletions;if((h.flags&16)!==0){if(p!==null)for(var O=0;O<p.length;O++){var P=p[O];Yi=P,a9(P,h)}i9(h)}if(h.subtreeFlags&10256)for(h=h.child;h!==null;)s9(h),h=h.sibling}function s9(h){switch(h.tag){case 0:case 11:case 15:r1(h),h.flags&2048&&Nu(9,h,h.return);break;case 3:r1(h);break;case 12:r1(h);break;case 22:var p=h.stateNode;h.memoizedState!==null&&p._visibility&2&&(h.return===null||h.return.tag!==13)?(p._visibility&=-3,ub(h)):r1(h);break;default:r1(h)}}function ub(h){var p=h.deletions;if((h.flags&16)!==0){if(p!==null)for(var O=0;O<p.length;O++){var P=p[O];Yi=P,a9(P,h)}i9(h)}for(h=h.child;h!==null;){switch(p=h,p.tag){case 0:case 11:case 15:Nu(8,p,p.return),ub(p);break;case 22:O=p.stateNode,O._visibility&2&&(O._visibility&=-3,ub(p));break;default:ub(p)}h=h.sibling}}function a9(h,p){for(;Yi!==null;){var O=Yi;switch(O.tag){case 0:case 11:case 15:Nu(8,O,p);break;case 23:case 22:if(O.memoizedState!==null&&O.memoizedState.cachePool!==null){var P=O.memoizedState.cachePool.pool;P!=null&&P.refCount++}break;case 24:Bm(O.memoizedState.cache)}if(P=O.child,P!==null)P.return=O,Yi=P;else e:for(O=h;Yi!==null;){P=Yi;var L=P.sibling,V=P.return;if(Y7(P),P===O){Yi=null;break e}if(L!==null){L.return=V,Yi=L;break e}Yi=V}}}var Poe={getCacheForType:function(h){var p=ls(Di),O=p.data.get(h);return O===void 0&&(O=h(),p.data.set(h,O)),O},cacheSignal:function(){return ls(Di).controller.signal}},Moe=typeof WeakMap=="function"?WeakMap:Map,ir=0,Tr=null,Pn=null,_n=0,mr=0,Ra=null,_u=!1,Kd=!1,z4=!1,Ac=0,li=0,Iu=0,lf=0,X4=0,La=0,Jd=0,i1=null,ra=null,U4=!1,hb=0,o9=0,fb=1/0,db=null,Ru=null,Hi=0,Lu=null,ep=null,vc=0,G4=0,W4=null,l9=null,s1=0,Y4=null;function ja(){return(ir&2)!==0&&_n!==0?_n&-_n:W.T!==null?n6():bt()}function c9(){if(La===0)if((_n&536870912)===0||Ln){var h=qt;qt<<=1,(qt&3932160)===0&&(qt=262144),La=h}else La=536870912;return h=_a.current,h!==null&&(h.flags|=32),La}function ia(h,p,O){(h===Tr&&(mr===2||mr===9)||h.cancelPendingCommit!==null)&&(tp(h,0),ju(h,_n,La,!1)),bn(h,O),((ir&2)===0||h!==Tr)&&(h===Tr&&((ir&2)===0&&(lf|=O),li===4&&ju(h,_n,La,!1)),vl(h))}function u9(h,p,O){if((ir&6)!==0)throw Error(r(327));var P=!O&&(p&127)===0&&(p&h.expiredLanes)===0||Te(h,p),L=P?_oe(h,p):K4(h,p,!0),V=P;do{if(L===0){Kd&&!P&&ju(h,p,0,!1);break}else{if(O=h.current.alternate,V&&!Doe(O)){L=K4(h,p,!1),V=!1;continue}if(L===2){if(V=p,h.errorRecoveryDisabledLanes&V)var J=0;else J=h.pendingLanes&-536870913,J=J!==0?J:J&536870912?536870912:0;if(J!==0){p=J;e:{var ce=h;L=i1;var be=ce.current.memoizedState.isDehydrated;if(be&&(tp(ce,J).flags|=256),J=K4(ce,J,!1),J!==2){if(z4&&!be){ce.errorRecoveryDisabledLanes|=V,lf|=V,L=4;break e}V=ra,ra=L,V!==null&&(ra===null?ra=V:ra.push.apply(ra,V))}L=J}if(V=!1,L!==2)continue}}if(L===1){tp(h,0),ju(h,p,0,!0);break}e:{switch(P=h,V=L,V){case 0:case 1:throw Error(r(345));case 4:if((p&4194048)!==p)break;case 6:ju(P,p,La,!_u);break e;case 2:ra=null;break;case 3:case 5:break;default:throw Error(r(329))}if((p&62914560)===p&&(L=hb+300-Ue(),10<L)){if(ju(P,p,La,!_u),Ve(P,0,!0)!==0)break e;vc=p,P.timeoutHandle=V9(h9.bind(null,P,O,ra,db,U4,p,La,lf,Jd,_u,V,"Throttled",-0,0),L);break e}h9(P,O,ra,db,U4,p,La,lf,Jd,_u,V,null,-0,0)}}break}while(!0);vl(h)}function h9(h,p,O,P,L,V,J,ce,be,De,He,Xe,Ne,Le){if(h.timeoutHandle=-1,Xe=p.subtreeFlags,Xe&8192||(Xe&16785408)===16785408){Xe={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ma},r9(p,V,Xe);var Dt=(V&62914560)===V?hb-Ue():(V&4194048)===V?o9-Ue():0;if(Dt=mle(Xe,Dt),Dt!==null){vc=V,h.cancelPendingCommit=Dt(b9.bind(null,h,p,V,O,P,L,J,ce,be,He,Xe,null,Ne,Le)),ju(h,V,J,!De);return}}b9(h,p,V,O,P,L,J,ce,be)}function Doe(h){for(var p=h;;){var O=p.tag;if((O===0||O===11||O===15)&&p.flags&16384&&(O=p.updateQueue,O!==null&&(O=O.stores,O!==null)))for(var P=0;P<O.length;P++){var L=O[P],V=L.getSnapshot;L=L.value;try{if(!Cs(V(),L))return!1}catch{return!1}}if(O=p.child,p.subtreeFlags&16384&&O!==null)O.return=p,p=O;else{if(p===h)break;for(;p.sibling===null;){if(p.return===null||p.return===h)return!0;p=p.return}p.sibling.return=p.return,p=p.sibling}}return!0}function ju(h,p,O,P){p&=~X4,p&=~lf,h.suspendedLanes|=p,h.pingedLanes&=~p,P&&(h.warmLanes|=p),P=h.expirationTimes;for(var L=p;0<L;){var V=31-_e(L),J=1<<V;P[V]=-1,L&=~J}O!==0&&ar(h,O,p)}function pb(){return(ir&6)===0?(a1(0),!1):!0}function q4(){if(Pn!==null){if(mr===0)var h=Pn.return;else h=Pn,uc=Kh=null,d4(h),zd=null,Qm=0,h=Pn;for(;h!==null;)Q7(h.alternate,h),h=h.return;Pn=null}}function tp(h,p){var O=h.timeoutHandle;O!==-1&&(h.timeoutHandle=-1,qoe(O)),O=h.cancelPendingCommit,O!==null&&(h.cancelPendingCommit=null,O()),vc=0,q4(),Tr=h,Pn=O=lc(h.current,null),_n=p,mr=0,Ra=null,_u=!1,Kd=Te(h,p),z4=!1,Jd=La=X4=lf=Iu=li=0,ra=i1=null,U4=!1,(p&8)!==0&&(p|=p&32);var P=h.entangledLanes;if(P!==0)for(h=h.entanglements,P&=p;0<P;){var L=31-_e(P),V=1<<L;p|=h[L],P&=~V}return Ac=p,R2(),O}function f9(h,p){pn=null,W.H=Ym,p===Zd||p===H2?(p=T_(),mr=3):p===t4?(p=T_(),mr=4):mr=p===P4?8:p!==null&&typeof p=="object"&&typeof p.then=="function"?6:1,Ra=p,Pn===null&&(li=1,rb(h,co(p,h.current)))}function d9(){var h=_a.current;return h===null?!0:(_n&4194048)===_n?po===null:(_n&62914560)===_n||(_n&536870912)!==0?h===po:!1}function p9(){var h=W.H;return W.H=Ym,h===null?Ym:h}function m9(){var h=W.A;return W.A=Poe,h}function mb(){li=4,_u||(_n&4194048)!==_n&&_a.current!==null||(Kd=!0),(Iu&134217727)===0&&(lf&134217727)===0||Tr===null||ju(Tr,_n,La,!1)}function K4(h,p,O){var P=ir;ir|=2;var L=p9(),V=m9();(Tr!==h||_n!==p)&&(db=null,tp(h,p)),p=!1;var J=li;e:do try{if(mr!==0&&Pn!==null){var ce=Pn,be=Ra;switch(mr){case 8:q4(),J=6;break e;case 3:case 2:case 9:case 6:_a.current===null&&(p=!0);var De=mr;if(mr=0,Ra=null,np(h,ce,be,De),O&&Kd){J=0;break e}break;default:De=mr,mr=0,Ra=null,np(h,ce,be,De)}}Noe(),J=li;break}catch(He){f9(h,He)}while(!0);return p&&h.shellSuspendCounter++,uc=Kh=null,ir=P,W.H=L,W.A=V,Pn===null&&(Tr=null,_n=0,R2()),J}function Noe(){for(;Pn!==null;)g9(Pn)}function _oe(h,p){var O=ir;ir|=2;var P=p9(),L=m9();Tr!==h||_n!==p?(db=null,fb=Ue()+500,tp(h,p)):Kd=Te(h,p);e:do try{if(mr!==0&&Pn!==null){p=Pn;var V=Ra;t:switch(mr){case 1:mr=0,Ra=null,np(h,p,V,1);break;case 2:case 9:if(E_(V)){mr=0,Ra=null,y9(p);break}p=function(){mr!==2&&mr!==9||Tr!==h||(mr=7),vl(h)},V.then(p,p);break e;case 3:mr=7;break e;case 4:mr=5;break e;case 7:E_(V)?(mr=0,Ra=null,y9(p)):(mr=0,Ra=null,np(h,p,V,7));break;case 5:var J=null;switch(Pn.tag){case 26:J=Pn.memoizedState;case 5:case 27:var ce=Pn;if(J?nI(J):ce.stateNode.complete){mr=0,Ra=null;var be=ce.sibling;if(be!==null)Pn=be;else{var De=ce.return;De!==null?(Pn=De,gb(De)):Pn=null}break t}}mr=0,Ra=null,np(h,p,V,5);break;case 6:mr=0,Ra=null,np(h,p,V,6);break;case 8:q4(),li=6;break e;default:throw Error(r(462))}}Ioe();break}catch(He){f9(h,He)}while(!0);return uc=Kh=null,W.H=P,W.A=L,ir=O,Pn!==null?0:(Tr=null,_n=0,R2(),li)}function Ioe(){for(;Pn!==null&&!Ye();)g9(Pn)}function g9(h){var p=B7(h.alternate,h,Ac);h.memoizedProps=h.pendingProps,p===null?gb(h):Pn=p}function y9(h){var p=h,O=p.alternate;switch(p.tag){case 15:case 0:p=I7(O,p,p.pendingProps,p.type,void 0,_n);break;case 11:p=I7(O,p,p.pendingProps,p.type.render,p.ref,_n);break;case 5:d4(p);default:Q7(O,p),p=Pn=m_(p,Ac),p=B7(O,p,Ac)}h.memoizedProps=h.pendingProps,p===null?gb(h):Pn=p}function np(h,p,O,P){uc=Kh=null,d4(p),zd=null,Qm=0;var L=p.return;try{if(Soe(h,L,p,O,_n)){li=1,rb(h,co(O,h.current)),Pn=null;return}}catch(V){if(L!==null)throw Pn=L,V;li=1,rb(h,co(O,h.current)),Pn=null;return}p.flags&32768?(Ln||P===1?h=!0:Kd||(_n&536870912)!==0?h=!1:(_u=h=!0,(P===2||P===9||P===3||P===6)&&(P=_a.current,P!==null&&P.tag===13&&(P.flags|=16384))),x9(p,h)):gb(p)}function gb(h){var p=h;do{if((p.flags&32768)!==0){x9(p,_u);return}h=p.return;var O=Coe(p.alternate,p,Ac);if(O!==null){Pn=O;return}if(p=p.sibling,p!==null){Pn=p;return}Pn=p=h}while(p!==null);li===0&&(li=5)}function x9(h,p){do{var O=Eoe(h.alternate,h);if(O!==null){O.flags&=32767,Pn=O;return}if(O=h.return,O!==null&&(O.flags|=32768,O.subtreeFlags=0,O.deletions=null),!p&&(h=h.sibling,h!==null)){Pn=h;return}Pn=h=O}while(h!==null);li=6,Pn=null}function b9(h,p,O,P,L,V,J,ce,be){h.cancelPendingCommit=null;do yb();while(Hi!==0);if((ir&6)!==0)throw Error(r(327));if(p!==null){if(p===h.current)throw Error(r(177));if(V=p.lanes|p.childLanes,V|=Bw,Yn(h,O,V,J,ce,be),h===Tr&&(Pn=Tr=null,_n=0),ep=p,Lu=h,vc=O,G4=V,W4=L,l9=P,(p.subtreeFlags&10256)!==0||(p.flags&10256)!==0?(h.callbackNode=null,h.callbackPriority=0,Foe(nt,function(){return w9(),null})):(h.callbackNode=null,h.callbackPriority=0),P=(p.flags&13878)!==0,(p.subtreeFlags&13878)!==0||P){P=W.T,W.T=null,L=ne.p,ne.p=2,J=ir,ir|=4;try{koe(h,p,O)}finally{ir=J,ne.p=L,W.T=P}}Hi=1,A9(),v9(),S9()}}function A9(){if(Hi===1){Hi=0;var h=Lu,p=ep,O=(p.flags&13878)!==0;if((p.subtreeFlags&13878)!==0||O){O=W.T,W.T=null;var P=ne.p;ne.p=2;var L=ir;ir|=4;try{e9(p,h);var V=u6,J=Lm(h.containerInfo),ce=V.focusedElem,be=V.selectionRange;if(J!==ce&&ce&&ce.ownerDocument&&Rm(ce.ownerDocument.documentElement,ce)){if(be!==null&&Id(ce)){var De=be.start,He=be.end;if(He===void 0&&(He=De),"selectionStart"in ce)ce.selectionStart=De,ce.selectionEnd=Math.min(He,ce.value.length);else{var Xe=ce.ownerDocument||document,Ne=Xe&&Xe.defaultView||window;if(Ne.getSelection){var Le=Ne.getSelection(),Dt=ce.textContent.length,Jt=Math.min(be.start,Dt),Sr=be.end===void 0?Jt:Math.min(be.end,Dt);!Le.extend&&Jt>Sr&&(J=Sr,Sr=Jt,Jt=J);var Ce=Im(ce,Jt),Ae=Im(ce,Sr);if(Ce&&Ae&&(Le.rangeCount!==1||Le.anchorNode!==Ce.node||Le.anchorOffset!==Ce.offset||Le.focusNode!==Ae.node||Le.focusOffset!==Ae.offset)){var Me=Xe.createRange();Me.setStart(Ce.node,Ce.offset),Le.removeAllRanges(),Jt>Sr?(Le.addRange(Me),Le.extend(Ae.node,Ae.offset)):(Me.setEnd(Ae.node,Ae.offset),Le.addRange(Me))}}}}for(Xe=[],Le=ce;Le=Le.parentNode;)Le.nodeType===1&&Xe.push({element:Le,left:Le.scrollLeft,top:Le.scrollTop});for(typeof ce.focus=="function"&&ce.focus(),ce=0;ce<Xe.length;ce++){var ze=Xe[ce];ze.element.scrollLeft=ze.left,ze.element.scrollTop=ze.top}}Pb=!!c6,u6=c6=null}finally{ir=L,ne.p=P,W.T=O}}h.current=p,Hi=2}}function v9(){if(Hi===2){Hi=0;var h=Lu,p=ep,O=(p.flags&8772)!==0;if((p.subtreeFlags&8772)!==0||O){O=W.T,W.T=null;var P=ne.p;ne.p=2;var L=ir;ir|=4;try{W7(h,p.alternate,p)}finally{ir=L,ne.p=P,W.T=O}}Hi=3}}function S9(){if(Hi===4||Hi===3){Hi=0,ht();var h=Lu,p=ep,O=vc,P=l9;(p.subtreeFlags&10256)!==0||(p.flags&10256)!==0?Hi=5:(Hi=0,ep=Lu=null,O9(h,h.pendingLanes));var L=h.pendingLanes;if(L===0&&(Ru=null),An(O),p=p.stateNode,mt&&typeof mt.onCommitFiberRoot=="function")try{mt.onCommitFiberRoot(At,p,void 0,(p.current.flags&128)===128)}catch{}if(P!==null){p=W.T,L=ne.p,ne.p=2,W.T=null;try{for(var V=h.onRecoverableError,J=0;J<P.length;J++){var ce=P[J];V(ce.value,{componentStack:ce.stack})}}finally{W.T=p,ne.p=L}}(vc&3)!==0&&yb(),vl(h),L=h.pendingLanes,(O&261930)!==0&&(L&42)!==0?h===Y4?s1++:(s1=0,Y4=h):s1=0,a1(0)}}function O9(h,p){(h.pooledCacheLanes&=p)===0&&(p=h.pooledCache,p!=null&&(h.pooledCache=null,Bm(p)))}function yb(){return A9(),v9(),S9(),w9()}function w9(){if(Hi!==5)return!1;var h=Lu,p=G4;G4=0;var O=An(vc),P=W.T,L=ne.p;try{ne.p=32>O?32:O,W.T=null,O=W4,W4=null;var V=Lu,J=vc;if(Hi=0,ep=Lu=null,vc=0,(ir&6)!==0)throw Error(r(331));var ce=ir;if(ir|=4,s9(V.current),n9(V,V.current,J,O),ir=ce,a1(0,!1),mt&&typeof mt.onPostCommitFiberRoot=="function")try{mt.onPostCommitFiberRoot(At,V)}catch{}return!0}finally{ne.p=L,W.T=P,O9(h,p)}}function C9(h,p,O){p=co(O,p),p=T4(h.stateNode,p,2),h=Pu(h,p,2),h!==null&&(bn(h,2),vl(h))}function gr(h,p,O){if(h.tag===3)C9(h,h,O);else for(;p!==null;){if(p.tag===3){C9(p,h,O);break}else if(p.tag===1){var P=p.stateNode;if(typeof p.type.getDerivedStateFromError=="function"||typeof P.componentDidCatch=="function"&&(Ru===null||!Ru.has(P))){h=co(O,h),O=E7(2),P=Pu(p,O,2),P!==null&&(k7(O,P,p,h),bn(P,2),vl(P));break}}p=p.return}}function J4(h,p,O){var P=h.pingCache;if(P===null){P=h.pingCache=new Moe;var L=new Set;P.set(p,L)}else L=P.get(p),L===void 0&&(L=new Set,P.set(p,L));L.has(O)||(z4=!0,L.add(O),h=Roe.bind(null,h,p,O),p.then(h,h))}function Roe(h,p,O){var P=h.pingCache;P!==null&&P.delete(p),h.pingedLanes|=h.suspendedLanes&O,h.warmLanes&=~O,Tr===h&&(_n&O)===O&&(li===4||li===3&&(_n&62914560)===_n&&300>Ue()-hb?(ir&2)===0&&tp(h,0):X4|=O,Jd===_n&&(Jd=0)),vl(h)}function E9(h,p){p===0&&(p=dn()),h=Wh(h,p),h!==null&&(bn(h,p),vl(h))}function Loe(h){var p=h.memoizedState,O=0;p!==null&&(O=p.retryLane),E9(h,O)}function joe(h,p){var O=0;switch(h.tag){case 31:case 13:var P=h.stateNode,L=h.memoizedState;L!==null&&(O=L.retryLane);break;case 19:P=h.stateNode;break;case 22:P=h.stateNode._retryCache;break;default:throw Error(r(314))}P!==null&&P.delete(p),E9(h,O)}function Foe(h,p){return Be(h,p)}var xb=null,rp=null,e6=!1,bb=!1,t6=!1,Fu=0;function vl(h){h!==rp&&h.next===null&&(rp===null?xb=rp=h:rp=rp.next=h),bb=!0,e6||(e6=!0,Boe())}function a1(h,p){if(!t6&&bb){t6=!0;do for(var O=!1,P=xb;P!==null;){if(h!==0){var L=P.pendingLanes;if(L===0)var V=0;else{var J=P.suspendedLanes,ce=P.pingedLanes;V=(1<<31-_e(42|h)+1)-1,V&=L&~(J&~ce),V=V&201326741?V&201326741|1:V?V|2:0}V!==0&&(O=!0,M9(P,V))}else V=_n,V=Ve(P,P===Tr?V:0,P.cancelPendingCommit!==null||P.timeoutHandle!==-1),(V&3)===0||Te(P,V)||(O=!0,M9(P,V));P=P.next}while(O);t6=!1}}function $oe(){k9()}function k9(){bb=e6=!1;var h=0;Fu!==0&&Yoe()&&(h=Fu);for(var p=Ue(),O=null,P=xb;P!==null;){var L=P.next,V=T9(P,p);V===0?(P.next=null,O===null?xb=L:O.next=L,L===null&&(rp=O)):(O=P,(h!==0||(V&3)!==0)&&(bb=!0)),P=L}Hi!==0&&Hi!==5||a1(h),Fu!==0&&(Fu=0)}function T9(h,p){for(var O=h.suspendedLanes,P=h.pingedLanes,L=h.expirationTimes,V=h.pendingLanes&-62914561;0<V;){var J=31-_e(V),ce=1<<J,be=L[J];be===-1?((ce&O)===0||(ce&P)!==0)&&(L[J]=$t(ce,p)):be<=p&&(h.expiredLanes|=ce),V&=~ce}if(p=Tr,O=_n,O=Ve(h,h===p?O:0,h.cancelPendingCommit!==null||h.timeoutHandle!==-1),P=h.callbackNode,O===0||h===p&&(mr===2||mr===9)||h.cancelPendingCommit!==null)return P!==null&&P!==null&&Ze(P),h.callbackNode=null,h.callbackPriority=0;if((O&3)===0||Te(h,O)){if(p=O&-O,p===h.callbackPriority)return p;switch(P!==null&&Ze(P),An(O)){case 2:case 8:O=Tt;break;case 32:O=nt;break;case 268435456:O=Xt;break;default:O=nt}return P=P9.bind(null,h),O=Be(O,P),h.callbackPriority=p,h.callbackNode=O,p}return P!==null&&P!==null&&Ze(P),h.callbackPriority=2,h.callbackNode=null,2}function P9(h,p){if(Hi!==0&&Hi!==5)return h.callbackNode=null,h.callbackPriority=0,null;var O=h.callbackNode;if(yb()&&h.callbackNode!==O)return null;var P=_n;return P=Ve(h,h===Tr?P:0,h.cancelPendingCommit!==null||h.timeoutHandle!==-1),P===0?null:(u9(h,P,p),T9(h,Ue()),h.callbackNode!=null&&h.callbackNode===O?P9.bind(null,h):null)}function M9(h,p){if(yb())return null;u9(h,p,!0)}function Boe(){Koe(function(){(ir&6)!==0?Be(St,$oe):k9()})}function n6(){if(Fu===0){var h=Qd;h===0&&(h=Mt,Mt<<=1,(Mt&261888)===0&&(Mt=256)),Fu=h}return Fu}function D9(h){return h==null||typeof h=="symbol"||typeof h=="boolean"?null:typeof h=="function"?h:Gr(""+h)}function N9(h,p){var O=p.ownerDocument.createElement("input");return O.name=p.name,O.value=p.value,h.id&&O.setAttribute("form",h.id),p.parentNode.insertBefore(O,p),h=new FormData(h),O.parentNode.removeChild(O),h}function Voe(h,p,O,P,L){if(p==="submit"&&O&&O.stateNode===L){var V=D9((L[Nn]||null).action),J=P.submitter;J&&(p=(p=J[Nn]||null)?D9(p.formAction):J.getAttribute("formAction"),p!==null&&(V=p,J=null));var ce=new Zh("action","action",null,P,L);h.push({event:ce,listeners:[{instance:null,listener:function(){if(P.defaultPrevented){if(Fu!==0){var be=J?N9(L,J):new FormData(L);S4(O,{pending:!0,data:be,method:L.method,action:V},null,be)}}else typeof V=="function"&&(ce.preventDefault(),be=J?N9(L,J):new FormData(L),S4(O,{pending:!0,data:be,method:L.method,action:V},V,be))},currentTarget:L}]})}}for(var r6=0;r6<$w.length;r6++){var i6=$w[r6],Qoe=i6.toLowerCase(),Hoe=i6[0].toUpperCase()+i6.slice(1);Bo(Qoe,"on"+Hoe)}Bo(c_,"onAnimationEnd"),Bo(u_,"onAnimationIteration"),Bo(h_,"onAnimationStart"),Bo("dblclick","onDoubleClick"),Bo("focusin","onFocus"),Bo("focusout","onBlur"),Bo(soe,"onTransitionRun"),Bo(aoe,"onTransitionStart"),Bo(ooe,"onTransitionCancel"),Bo(f_,"onTransitionEnd"),Kn("onMouseEnter",["mouseout","mouseover"]),Kn("onMouseLeave",["mouseout","mouseover"]),Kn("onPointerEnter",["pointerout","pointerover"]),Kn("onPointerLeave",["pointerout","pointerover"]),Ht("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ht("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ht("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ht("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ht("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ht("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var o1="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(" "),Zoe=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(o1));function _9(h,p){p=(p&4)!==0;for(var O=0;O<h.length;O++){var P=h[O],L=P.event;P=P.listeners;e:{var V=void 0;if(p)for(var J=P.length-1;0<=J;J--){var ce=P[J],be=ce.instance,De=ce.currentTarget;if(ce=ce.listener,be!==V&&L.isPropagationStopped())break e;V=ce,L.currentTarget=De;try{V(L)}catch(He){I2(He)}L.currentTarget=null,V=be}else for(J=0;J<P.length;J++){if(ce=P[J],be=ce.instance,De=ce.currentTarget,ce=ce.listener,be!==V&&L.isPropagationStopped())break e;V=ce,L.currentTarget=De;try{V(L)}catch(He){I2(He)}L.currentTarget=null,V=be}}}}function Mn(h,p){var O=p[dr];O===void 0&&(O=p[dr]=new Set);var P=h+"__bubble";O.has(P)||(I9(p,h,2,!1),O.add(P))}function s6(h,p,O){var P=0;p&&(P|=4),I9(O,h,P,p)}var Ab="_reactListening"+Math.random().toString(36).slice(2);function a6(h){if(!h[Ab]){h[Ab]=!0,xi.forEach(function(O){O!=="selectionchange"&&(Zoe.has(O)||s6(O,!1,h),s6(O,!0,h))});var p=h.nodeType===9?h:h.ownerDocument;p===null||p[Ab]||(p[Ab]=!0,s6("selectionchange",!1,p))}}function I9(h,p,O,P){switch(cI(p)){case 2:var L=xle;break;case 8:L=ble;break;default:L=v6}O=L.bind(null,p,O,h),L=void 0,!bm||p!=="touchstart"&&p!=="touchmove"&&p!=="wheel"||(L=!0),P?L!==void 0?h.addEventListener(p,O,{capture:!0,passive:L}):h.addEventListener(p,O,!0):L!==void 0?h.addEventListener(p,O,{passive:L}):h.addEventListener(p,O,!1)}function o6(h,p,O,P,L){var V=P;if((p&1)===0&&(p&2)===0&&P!==null)e:for(;;){if(P===null)return;var J=P.tag;if(J===3||J===4){var ce=P.stateNode.containerInfo;if(ce===L)break;if(J===4)for(J=P.return;J!==null;){var be=J.tag;if((be===3||be===4)&&J.stateNode.containerInfo===L)return;J=J.return}for(;ce!==null;){if(J=Ur(ce),J===null)return;if(be=J.tag,be===5||be===6||be===26||be===27){P=V=J;continue e}ce=ce.parentNode}}P=P.return}Ed(function(){var De=V,He=Qi(O),Xe=[];e:{var Ne=d_.get(h);if(Ne!==void 0){var Le=Zh,Dt=h;switch(h){case"keypress":if(kd(O)===0)break e;case"keydown":case"keyup":Le=Y;break;case"focusin":Dt="focus",Le=wm;break;case"focusout":Dt="blur",Le=wm;break;case"beforeblur":case"afterblur":Le=wm;break;case"click":if(O.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Le=Sm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Le=Tw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Le=N;break;case c_:case u_:case h_:Le=Cm;break;case f_:Le=ee;break;case"scroll":case"scrollend":Le=Ew;break;case"wheel":Le=ue;break;case"copy":case"cut":case"paste":Le=Dw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Le=y;break;case"toggle":case"beforetoggle":Le=xe}var Jt=(p&4)!==0,Sr=!Jt&&(h==="scroll"||h==="scrollend"),Ce=Jt?Ne!==null?Ne+"Capture":null:Ne;Jt=[];for(var Ae=De,Me;Ae!==null;){var ze=Ae;if(Me=ze.stateNode,ze=ze.tag,ze!==5&&ze!==26&&ze!==27||Me===null||Ce===null||(ze=Qh(Ae,Ce),ze!=null&&Jt.push(l1(Ae,ze,Me))),Sr)break;Ae=Ae.return}0<Jt.length&&(Ne=new Le(Ne,Dt,null,O,He),Xe.push({event:Ne,listeners:Jt}))}}if((p&7)===0){e:{if(Ne=h==="mouseover"||h==="pointerover",Le=h==="mouseout"||h==="pointerout",Ne&&O!==Vr&&(Dt=O.relatedTarget||O.fromElement)&&(Ur(Dt)||Dt[Hn]))break e;if((Le||Ne)&&(Ne=He.window===He?He:(Ne=He.ownerDocument)?Ne.defaultView||Ne.parentWindow:window,Le?(Dt=O.relatedTarget||O.toElement,Le=De,Dt=Dt?Ur(Dt):null,Dt!==null&&(Sr=s(Dt),Jt=Dt.tag,Dt!==Sr||Jt!==5&&Jt!==27&&Jt!==6)&&(Dt=null)):(Le=null,Dt=De),Le!==Dt)){if(Jt=Sm,ze="onMouseLeave",Ce="onMouseEnter",Ae="mouse",(h==="pointerout"||h==="pointerover")&&(Jt=y,ze="onPointerLeave",Ce="onPointerEnter",Ae="pointer"),Sr=Le==null?Ne:Mi(Le),Me=Dt==null?Ne:Mi(Dt),Ne=new Jt(ze,Ae+"leave",Le,O,He),Ne.target=Sr,Ne.relatedTarget=Me,ze=null,Ur(He)===De&&(Jt=new Jt(Ce,Ae+"enter",Dt,O,He),Jt.target=Me,Jt.relatedTarget=Sr,ze=Jt),Sr=ze,Le&&Dt)t:{for(Jt=zoe,Ce=Le,Ae=Dt,Me=0,ze=Ce;ze;ze=Jt(ze))Me++;ze=0;for(var Qt=Ae;Qt;Qt=Jt(Qt))ze++;for(;0<Me-ze;)Ce=Jt(Ce),Me--;for(;0<ze-Me;)Ae=Jt(Ae),ze--;for(;Me--;){if(Ce===Ae||Ae!==null&&Ce===Ae.alternate){Jt=Ce;break t}Ce=Jt(Ce),Ae=Jt(Ae)}Jt=null}else Jt=null;Le!==null&&R9(Xe,Ne,Le,Jt,!1),Dt!==null&&Sr!==null&&R9(Xe,Sr,Dt,Jt,!0)}}e:{if(Ne=De?Mi(De):window,Le=Ne.nodeName&&Ne.nodeName.toLowerCase(),Le==="select"||Le==="input"&&Ne.type==="file")var Jn=Tm;else if(Em(Ne))if(Pm)Jn=D2;else{Jn=P2;var Lt=T2}else Le=Ne.nodeName,!Le||Le.toLowerCase()!=="input"||Ne.type!=="checkbox"&&Ne.type!=="radio"?De&&Ai(De.elementType)&&(Jn=Tm):Jn=M2;if(Jn&&(Jn=Jn(h,De))){km(Xe,Jn,O,He);break e}Lt&&Lt(h,Ne,De),h==="focusout"&&De&&Ne.type==="number"&&De.memoizedProps.value!=null&&fe(Ne,"number",Ne.value)}switch(Lt=De?Mi(De):window,h){case"focusin":(Em(Lt)||Lt.contentEditable==="true")&&(oc=Lt,Lw=De,jm=null);break;case"focusout":jm=Lw=oc=null;break;case"mousedown":jw=!0;break;case"contextmenu":case"mouseup":case"dragend":jw=!1,o_(Xe,O,He);break;case"selectionchange":if(_2)break;case"keydown":case"keyup":o_(Xe,O,He)}var yn;if(Je)e:{switch(h){case"compositionstart":var In="onCompositionStart";break e;case"compositionend":In="onCompositionEnd";break e;case"compositionupdate":In="onCompositionUpdate";break e}In=void 0}else $s?ur(h,O)&&(In="onCompositionEnd"):h==="keydown"&&O.keyCode===229&&(In="onCompositionStart");In&&(Tn&&O.locale!=="ko"&&($s||In!=="onCompositionStart"?In==="onCompositionEnd"&&$s&&(yn=A2()):(gt=He,Am="value"in gt?gt.value:gt.textContent,$s=!0)),Lt=vb(De,In),0<Lt.length&&(In=new O2(In,h,null,O,He),Xe.push({event:In,listeners:Lt}),yn?In.data=yn:(yn=yl(O),yn!==null&&(In.data=yn)))),(yn=wt?w2(h,O):C2(h,O))&&(In=vb(De,"onBeforeInput"),0<In.length&&(Lt=new O2("onBeforeInput","beforeinput",null,O,He),Xe.push({event:Lt,listeners:In}),Lt.data=yn)),Voe(Xe,h,De,O,He)}_9(Xe,p)})}function l1(h,p,O){return{instance:h,listener:p,currentTarget:O}}function vb(h,p){for(var O=p+"Capture",P=[];h!==null;){var L=h,V=L.stateNode;if(L=L.tag,L!==5&&L!==26&&L!==27||V===null||(L=Qh(h,O),L!=null&&P.unshift(l1(h,L,V)),L=Qh(h,p),L!=null&&P.push(l1(h,L,V))),h.tag===3)return P;h=h.return}return[]}function zoe(h){if(h===null)return null;do h=h.return;while(h&&h.tag!==5&&h.tag!==27);return h||null}function R9(h,p,O,P,L){for(var V=p._reactName,J=[];O!==null&&O!==P;){var ce=O,be=ce.alternate,De=ce.stateNode;if(ce=ce.tag,be!==null&&be===P)break;ce!==5&&ce!==26&&ce!==27||De===null||(be=De,L?(De=Qh(O,V),De!=null&&J.unshift(l1(O,De,be))):L||(De=Qh(O,V),De!=null&&J.push(l1(O,De,be)))),O=O.return}J.length!==0&&h.push({event:p,listeners:J})}var Xoe=/\r\n?/g,Uoe=/\u0000|\uFFFD/g;function L9(h){return(typeof h=="string"?h:""+h).replace(Xoe,`
|
|
49
|
-
`).replace(Uoe,"")}function j9(h,p){return p=L9(p),L9(h)===p}function vr(h,p,O,P,L,V){switch(O){case"children":typeof P=="string"?p==="body"||p==="textarea"&&P===""||nn(h,P):(typeof P=="number"||typeof P=="bigint")&&p!=="body"&&nn(h,""+P);break;case"className":vn(h,"class",P);break;case"tabIndex":vn(h,"tabindex",P);break;case"dir":case"role":case"viewBox":case"width":case"height":vn(h,O,P);break;case"style":cr(h,P,V);break;case"data":if(p!=="object"){vn(h,"data",P);break}case"src":case"href":if(P===""&&(p!=="a"||O!=="href")){h.removeAttribute(O);break}if(P==null||typeof P=="function"||typeof P=="symbol"||typeof P=="boolean"){h.removeAttribute(O);break}P=Gr(""+P),h.setAttribute(O,P);break;case"action":case"formAction":if(typeof P=="function"){h.setAttribute(O,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof V=="function"&&(O==="formAction"?(p!=="input"&&vr(h,p,"name",L.name,L,null),vr(h,p,"formEncType",L.formEncType,L,null),vr(h,p,"formMethod",L.formMethod,L,null),vr(h,p,"formTarget",L.formTarget,L,null)):(vr(h,p,"encType",L.encType,L,null),vr(h,p,"method",L.method,L,null),vr(h,p,"target",L.target,L,null)));if(P==null||typeof P=="symbol"||typeof P=="boolean"){h.removeAttribute(O);break}P=Gr(""+P),h.setAttribute(O,P);break;case"onClick":P!=null&&(h.onclick=Ma);break;case"onScroll":P!=null&&Mn("scroll",h);break;case"onScrollEnd":P!=null&&Mn("scrollend",h);break;case"dangerouslySetInnerHTML":if(P!=null){if(typeof P!="object"||!("__html"in P))throw Error(r(61));if(O=P.__html,O!=null){if(L.children!=null)throw Error(r(60));h.innerHTML=O}}break;case"multiple":h.multiple=P&&typeof P!="function"&&typeof P!="symbol";break;case"muted":h.muted=P&&typeof P!="function"&&typeof P!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(P==null||typeof P=="function"||typeof P=="boolean"||typeof P=="symbol"){h.removeAttribute("xlink:href");break}O=Gr(""+P),h.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",O);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":P!=null&&typeof P!="function"&&typeof P!="symbol"?h.setAttribute(O,""+P):h.removeAttribute(O);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":P&&typeof P!="function"&&typeof P!="symbol"?h.setAttribute(O,""):h.removeAttribute(O);break;case"capture":case"download":P===!0?h.setAttribute(O,""):P!==!1&&P!=null&&typeof P!="function"&&typeof P!="symbol"?h.setAttribute(O,P):h.removeAttribute(O);break;case"cols":case"rows":case"size":case"span":P!=null&&typeof P!="function"&&typeof P!="symbol"&&!isNaN(P)&&1<=P?h.setAttribute(O,P):h.removeAttribute(O);break;case"rowSpan":case"start":P==null||typeof P=="function"||typeof P=="symbol"||isNaN(P)?h.removeAttribute(O):h.setAttribute(O,P);break;case"popover":Mn("beforetoggle",h),Mn("toggle",h),Kt(h,"popover",P);break;case"xlinkActuate":un(h,"http://www.w3.org/1999/xlink","xlink:actuate",P);break;case"xlinkArcrole":un(h,"http://www.w3.org/1999/xlink","xlink:arcrole",P);break;case"xlinkRole":un(h,"http://www.w3.org/1999/xlink","xlink:role",P);break;case"xlinkShow":un(h,"http://www.w3.org/1999/xlink","xlink:show",P);break;case"xlinkTitle":un(h,"http://www.w3.org/1999/xlink","xlink:title",P);break;case"xlinkType":un(h,"http://www.w3.org/1999/xlink","xlink:type",P);break;case"xmlBase":un(h,"http://www.w3.org/XML/1998/namespace","xml:base",P);break;case"xmlLang":un(h,"http://www.w3.org/XML/1998/namespace","xml:lang",P);break;case"xmlSpace":un(h,"http://www.w3.org/XML/1998/namespace","xml:space",P);break;case"is":Kt(h,"is",P);break;case"innerText":case"textContent":break;default:(!(2<O.length)||O[0]!=="o"&&O[0]!=="O"||O[1]!=="n"&&O[1]!=="N")&&(O=ss.get(O)||O,Kt(h,O,P))}}function l6(h,p,O,P,L,V){switch(O){case"style":cr(h,P,V);break;case"dangerouslySetInnerHTML":if(P!=null){if(typeof P!="object"||!("__html"in P))throw Error(r(61));if(O=P.__html,O!=null){if(L.children!=null)throw Error(r(60));h.innerHTML=O}}break;case"children":typeof P=="string"?nn(h,P):(typeof P=="number"||typeof P=="bigint")&&nn(h,""+P);break;case"onScroll":P!=null&&Mn("scroll",h);break;case"onScrollEnd":P!=null&&Mn("scrollend",h);break;case"onClick":P!=null&&(h.onclick=Ma);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Rt.hasOwnProperty(O))e:{if(O[0]==="o"&&O[1]==="n"&&(L=O.endsWith("Capture"),p=O.slice(2,L?O.length-7:void 0),V=h[Nn]||null,V=V!=null?V[O]:null,typeof V=="function"&&h.removeEventListener(p,V,L),typeof P=="function")){typeof V!="function"&&V!==null&&(O in h?h[O]=null:h.hasAttribute(O)&&h.removeAttribute(O)),h.addEventListener(p,P,L);break e}O in h?h[O]=P:P===!0?h.setAttribute(O,""):Kt(h,O,P)}}}function us(h,p,O){switch(p){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Mn("error",h),Mn("load",h);var P=!1,L=!1,V;for(V in O)if(O.hasOwnProperty(V)){var J=O[V];if(J!=null)switch(V){case"src":P=!0;break;case"srcSet":L=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,p));default:vr(h,p,V,J,O,null)}}L&&vr(h,p,"srcSet",O.srcSet,O,null),P&&vr(h,p,"src",O.src,O,null);return;case"input":Mn("invalid",h);var ce=V=J=L=null,be=null,De=null;for(P in O)if(O.hasOwnProperty(P)){var He=O[P];if(He!=null)switch(P){case"name":L=He;break;case"type":J=He;break;case"checked":be=He;break;case"defaultChecked":De=He;break;case"value":V=He;break;case"defaultValue":ce=He;break;case"children":case"dangerouslySetInnerHTML":if(He!=null)throw Error(r(137,p));break;default:vr(h,p,P,He,O,null)}}lt(h,V,ce,be,De,J,L,!1);return;case"select":Mn("invalid",h),P=J=V=null;for(L in O)if(O.hasOwnProperty(L)&&(ce=O[L],ce!=null))switch(L){case"value":V=ce;break;case"defaultValue":J=ce;break;case"multiple":P=ce;default:vr(h,p,L,ce,O,null)}p=V,O=J,h.multiple=!!P,p!=null?ke(h,!!P,p,!1):O!=null&&ke(h,!!P,O,!0);return;case"textarea":Mn("invalid",h),V=L=P=null;for(J in O)if(O.hasOwnProperty(J)&&(ce=O[J],ce!=null))switch(J){case"value":P=ce;break;case"defaultValue":L=ce;break;case"children":V=ce;break;case"dangerouslySetInnerHTML":if(ce!=null)throw Error(r(91));break;default:vr(h,p,J,ce,O,null)}xt(h,P,L,V);return;case"option":for(be in O)if(O.hasOwnProperty(be)&&(P=O[be],P!=null))switch(be){case"selected":h.selected=P&&typeof P!="function"&&typeof P!="symbol";break;default:vr(h,p,be,P,O,null)}return;case"dialog":Mn("beforetoggle",h),Mn("toggle",h),Mn("cancel",h),Mn("close",h);break;case"iframe":case"object":Mn("load",h);break;case"video":case"audio":for(P=0;P<o1.length;P++)Mn(o1[P],h);break;case"image":Mn("error",h),Mn("load",h);break;case"details":Mn("toggle",h);break;case"embed":case"source":case"link":Mn("error",h),Mn("load",h);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(De in O)if(O.hasOwnProperty(De)&&(P=O[De],P!=null))switch(De){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,p));default:vr(h,p,De,P,O,null)}return;default:if(Ai(p)){for(He in O)O.hasOwnProperty(He)&&(P=O[He],P!==void 0&&l6(h,p,He,P,O,void 0));return}}for(ce in O)O.hasOwnProperty(ce)&&(P=O[ce],P!=null&&vr(h,p,ce,P,O,null))}function Goe(h,p,O,P){switch(p){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var L=null,V=null,J=null,ce=null,be=null,De=null,He=null;for(Le in O){var Xe=O[Le];if(O.hasOwnProperty(Le)&&Xe!=null)switch(Le){case"checked":break;case"value":break;case"defaultValue":be=Xe;default:P.hasOwnProperty(Le)||vr(h,p,Le,null,P,Xe)}}for(var Ne in P){var Le=P[Ne];if(Xe=O[Ne],P.hasOwnProperty(Ne)&&(Le!=null||Xe!=null))switch(Ne){case"type":V=Le;break;case"name":L=Le;break;case"checked":De=Le;break;case"defaultChecked":He=Le;break;case"value":J=Le;break;case"defaultValue":ce=Le;break;case"children":case"dangerouslySetInnerHTML":if(Le!=null)throw Error(r(137,p));break;default:Le!==Xe&&vr(h,p,Ne,Le,P,Xe)}}Pa(h,J,ce,be,De,He,V,L);return;case"select":Le=J=ce=Ne=null;for(V in O)if(be=O[V],O.hasOwnProperty(V)&&be!=null)switch(V){case"value":break;case"multiple":Le=be;default:P.hasOwnProperty(V)||vr(h,p,V,null,P,be)}for(L in P)if(V=P[L],be=O[L],P.hasOwnProperty(L)&&(V!=null||be!=null))switch(L){case"value":Ne=V;break;case"defaultValue":ce=V;break;case"multiple":J=V;default:V!==be&&vr(h,p,L,V,P,be)}p=ce,O=J,P=Le,Ne!=null?ke(h,!!O,Ne,!1):!!P!=!!O&&(p!=null?ke(h,!!O,p,!0):ke(h,!!O,O?[]:"",!1));return;case"textarea":Le=Ne=null;for(ce in O)if(L=O[ce],O.hasOwnProperty(ce)&&L!=null&&!P.hasOwnProperty(ce))switch(ce){case"value":break;case"children":break;default:vr(h,p,ce,null,P,L)}for(J in P)if(L=P[J],V=O[J],P.hasOwnProperty(J)&&(L!=null||V!=null))switch(J){case"value":Ne=L;break;case"defaultValue":Le=L;break;case"children":break;case"dangerouslySetInnerHTML":if(L!=null)throw Error(r(91));break;default:L!==V&&vr(h,p,J,L,P,V)}at(h,Ne,Le);return;case"option":for(var Dt in O)if(Ne=O[Dt],O.hasOwnProperty(Dt)&&Ne!=null&&!P.hasOwnProperty(Dt))switch(Dt){case"selected":h.selected=!1;break;default:vr(h,p,Dt,null,P,Ne)}for(be in P)if(Ne=P[be],Le=O[be],P.hasOwnProperty(be)&&Ne!==Le&&(Ne!=null||Le!=null))switch(be){case"selected":h.selected=Ne&&typeof Ne!="function"&&typeof Ne!="symbol";break;default:vr(h,p,be,Ne,P,Le)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Jt in O)Ne=O[Jt],O.hasOwnProperty(Jt)&&Ne!=null&&!P.hasOwnProperty(Jt)&&vr(h,p,Jt,null,P,Ne);for(De in P)if(Ne=P[De],Le=O[De],P.hasOwnProperty(De)&&Ne!==Le&&(Ne!=null||Le!=null))switch(De){case"children":case"dangerouslySetInnerHTML":if(Ne!=null)throw Error(r(137,p));break;default:vr(h,p,De,Ne,P,Le)}return;default:if(Ai(p)){for(var Sr in O)Ne=O[Sr],O.hasOwnProperty(Sr)&&Ne!==void 0&&!P.hasOwnProperty(Sr)&&l6(h,p,Sr,void 0,P,Ne);for(He in P)Ne=P[He],Le=O[He],!P.hasOwnProperty(He)||Ne===Le||Ne===void 0&&Le===void 0||l6(h,p,He,Ne,P,Le);return}}for(var Ce in O)Ne=O[Ce],O.hasOwnProperty(Ce)&&Ne!=null&&!P.hasOwnProperty(Ce)&&vr(h,p,Ce,null,P,Ne);for(Xe in P)Ne=P[Xe],Le=O[Xe],!P.hasOwnProperty(Xe)||Ne===Le||Ne==null&&Le==null||vr(h,p,Xe,Ne,P,Le)}function F9(h){switch(h){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Woe(){if(typeof performance.getEntriesByType=="function"){for(var h=0,p=0,O=performance.getEntriesByType("resource"),P=0;P<O.length;P++){var L=O[P],V=L.transferSize,J=L.initiatorType,ce=L.duration;if(V&&ce&&F9(J)){for(J=0,ce=L.responseEnd,P+=1;P<O.length;P++){var be=O[P],De=be.startTime;if(De>ce)break;var He=be.transferSize,Xe=be.initiatorType;He&&F9(Xe)&&(be=be.responseEnd,J+=He*(be<ce?1:(ce-De)/(be-De)))}if(--P,p+=8*(V+J)/(L.duration/1e3),h++,10<h)break}}if(0<h)return p/h/1e6}return navigator.connection&&(h=navigator.connection.downlink,typeof h=="number")?h:5}var c6=null,u6=null;function Sb(h){return h.nodeType===9?h:h.ownerDocument}function $9(h){switch(h){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function B9(h,p){if(h===0)switch(p){case"svg":return 1;case"math":return 2;default:return 0}return h===1&&p==="foreignObject"?0:h}function h6(h,p){return h==="textarea"||h==="noscript"||typeof p.children=="string"||typeof p.children=="number"||typeof p.children=="bigint"||typeof p.dangerouslySetInnerHTML=="object"&&p.dangerouslySetInnerHTML!==null&&p.dangerouslySetInnerHTML.__html!=null}var f6=null;function Yoe(){var h=window.event;return h&&h.type==="popstate"?h===f6?!1:(f6=h,!0):(f6=null,!1)}var V9=typeof setTimeout=="function"?setTimeout:void 0,qoe=typeof clearTimeout=="function"?clearTimeout:void 0,Q9=typeof Promise=="function"?Promise:void 0,Koe=typeof queueMicrotask=="function"?queueMicrotask:typeof Q9<"u"?function(h){return Q9.resolve(null).then(h).catch(Joe)}:V9;function Joe(h){setTimeout(function(){throw h})}function $u(h){return h==="head"}function H9(h,p){var O=p,P=0;do{var L=O.nextSibling;if(h.removeChild(O),L&&L.nodeType===8)if(O=L.data,O==="/$"||O==="/&"){if(P===0){h.removeChild(L),op(p);return}P--}else if(O==="$"||O==="$?"||O==="$~"||O==="$!"||O==="&")P++;else if(O==="html")c1(h.ownerDocument.documentElement);else if(O==="head"){O=h.ownerDocument.head,c1(O);for(var V=O.firstChild;V;){var J=V.nextSibling,ce=V.nodeName;V[gn]||ce==="SCRIPT"||ce==="STYLE"||ce==="LINK"&&V.rel.toLowerCase()==="stylesheet"||O.removeChild(V),V=J}}else O==="body"&&c1(h.ownerDocument.body);O=L}while(O);op(p)}function Z9(h,p){var O=h;h=0;do{var P=O.nextSibling;if(O.nodeType===1?p?(O._stashedDisplay=O.style.display,O.style.display="none"):(O.style.display=O._stashedDisplay||"",O.getAttribute("style")===""&&O.removeAttribute("style")):O.nodeType===3&&(p?(O._stashedText=O.nodeValue,O.nodeValue=""):O.nodeValue=O._stashedText||""),P&&P.nodeType===8)if(O=P.data,O==="/$"){if(h===0)break;h--}else O!=="$"&&O!=="$?"&&O!=="$~"&&O!=="$!"||h++;O=P}while(O)}function d6(h){var p=h.firstChild;for(p&&p.nodeType===10&&(p=p.nextSibling);p;){var O=p;switch(p=p.nextSibling,O.nodeName){case"HTML":case"HEAD":case"BODY":d6(O),br(O);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(O.rel.toLowerCase()==="stylesheet")continue}h.removeChild(O)}}function ele(h,p,O,P){for(;h.nodeType===1;){var L=O;if(h.nodeName.toLowerCase()!==p.toLowerCase()){if(!P&&(h.nodeName!=="INPUT"||h.type!=="hidden"))break}else if(P){if(!h[gn])switch(p){case"meta":if(!h.hasAttribute("itemprop"))break;return h;case"link":if(V=h.getAttribute("rel"),V==="stylesheet"&&h.hasAttribute("data-precedence"))break;if(V!==L.rel||h.getAttribute("href")!==(L.href==null||L.href===""?null:L.href)||h.getAttribute("crossorigin")!==(L.crossOrigin==null?null:L.crossOrigin)||h.getAttribute("title")!==(L.title==null?null:L.title))break;return h;case"style":if(h.hasAttribute("data-precedence"))break;return h;case"script":if(V=h.getAttribute("src"),(V!==(L.src==null?null:L.src)||h.getAttribute("type")!==(L.type==null?null:L.type)||h.getAttribute("crossorigin")!==(L.crossOrigin==null?null:L.crossOrigin))&&V&&h.hasAttribute("async")&&!h.hasAttribute("itemprop"))break;return h;default:return h}}else if(p==="input"&&h.type==="hidden"){var V=L.name==null?null:""+L.name;if(L.type==="hidden"&&h.getAttribute("name")===V)return h}else return h;if(h=mo(h.nextSibling),h===null)break}return null}function tle(h,p,O){if(p==="")return null;for(;h.nodeType!==3;)if((h.nodeType!==1||h.nodeName!=="INPUT"||h.type!=="hidden")&&!O||(h=mo(h.nextSibling),h===null))return null;return h}function z9(h,p){for(;h.nodeType!==8;)if((h.nodeType!==1||h.nodeName!=="INPUT"||h.type!=="hidden")&&!p||(h=mo(h.nextSibling),h===null))return null;return h}function p6(h){return h.data==="$?"||h.data==="$~"}function m6(h){return h.data==="$!"||h.data==="$?"&&h.ownerDocument.readyState!=="loading"}function nle(h,p){var O=h.ownerDocument;if(h.data==="$~")h._reactRetry=p;else if(h.data!=="$?"||O.readyState!=="loading")p();else{var P=function(){p(),O.removeEventListener("DOMContentLoaded",P)};O.addEventListener("DOMContentLoaded",P),h._reactRetry=P}}function mo(h){for(;h!=null;h=h.nextSibling){var p=h.nodeType;if(p===1||p===3)break;if(p===8){if(p=h.data,p==="$"||p==="$!"||p==="$?"||p==="$~"||p==="&"||p==="F!"||p==="F")break;if(p==="/$"||p==="/&")return null}}return h}var g6=null;function X9(h){h=h.nextSibling;for(var p=0;h;){if(h.nodeType===8){var O=h.data;if(O==="/$"||O==="/&"){if(p===0)return mo(h.nextSibling);p--}else O!=="$"&&O!=="$!"&&O!=="$?"&&O!=="$~"&&O!=="&"||p++}h=h.nextSibling}return null}function U9(h){h=h.previousSibling;for(var p=0;h;){if(h.nodeType===8){var O=h.data;if(O==="$"||O==="$!"||O==="$?"||O==="$~"||O==="&"){if(p===0)return h;p--}else O!=="/$"&&O!=="/&"||p++}h=h.previousSibling}return null}function G9(h,p,O){switch(p=Sb(O),h){case"html":if(h=p.documentElement,!h)throw Error(r(452));return h;case"head":if(h=p.head,!h)throw Error(r(453));return h;case"body":if(h=p.body,!h)throw Error(r(454));return h;default:throw Error(r(451))}}function c1(h){for(var p=h.attributes;p.length;)h.removeAttributeNode(p[0]);br(h)}var go=new Map,W9=new Set;function Ob(h){return typeof h.getRootNode=="function"?h.getRootNode():h.nodeType===9?h:h.ownerDocument}var Sc=ne.d;ne.d={f:rle,r:ile,D:sle,C:ale,L:ole,m:lle,X:ule,S:cle,M:hle};function rle(){var h=Sc.f(),p=pb();return h||p}function ile(h){var p=qn(h);p!==null&&p.tag===5&&p.type==="form"?f7(p):Sc.r(h)}var ip=typeof document>"u"?null:document;function Y9(h,p,O){var P=ip;if(P&&typeof p=="string"&&p){var L=bi(p);L='link[rel="'+h+'"][href="'+L+'"]',typeof O=="string"&&(L+='[crossorigin="'+O+'"]'),W9.has(L)||(W9.add(L),h={rel:h,crossOrigin:O,href:p},P.querySelector(L)===null&&(p=P.createElement("link"),us(p,"link",h),wn(p),P.head.appendChild(p)))}}function sle(h){Sc.D(h),Y9("dns-prefetch",h,null)}function ale(h,p){Sc.C(h,p),Y9("preconnect",h,p)}function ole(h,p,O){Sc.L(h,p,O);var P=ip;if(P&&h&&p){var L='link[rel="preload"][as="'+bi(p)+'"]';p==="image"&&O&&O.imageSrcSet?(L+='[imagesrcset="'+bi(O.imageSrcSet)+'"]',typeof O.imageSizes=="string"&&(L+='[imagesizes="'+bi(O.imageSizes)+'"]')):L+='[href="'+bi(h)+'"]';var V=L;switch(p){case"style":V=sp(h);break;case"script":V=ap(h)}go.has(V)||(h=f({rel:"preload",href:p==="image"&&O&&O.imageSrcSet?void 0:h,as:p},O),go.set(V,h),P.querySelector(L)!==null||p==="style"&&P.querySelector(u1(V))||p==="script"&&P.querySelector(h1(V))||(p=P.createElement("link"),us(p,"link",h),wn(p),P.head.appendChild(p)))}}function lle(h,p){Sc.m(h,p);var O=ip;if(O&&h){var P=p&&typeof p.as=="string"?p.as:"script",L='link[rel="modulepreload"][as="'+bi(P)+'"][href="'+bi(h)+'"]',V=L;switch(P){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":V=ap(h)}if(!go.has(V)&&(h=f({rel:"modulepreload",href:h},p),go.set(V,h),O.querySelector(L)===null)){switch(P){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(O.querySelector(h1(V)))return}P=O.createElement("link"),us(P,"link",h),wn(P),O.head.appendChild(P)}}}function cle(h,p,O){Sc.S(h,p,O);var P=ip;if(P&&h){var L=Bn(P).hoistableStyles,V=sp(h);p=p||"default";var J=L.get(V);if(!J){var ce={loading:0,preload:null};if(J=P.querySelector(u1(V)))ce.loading=5;else{h=f({rel:"stylesheet",href:h,"data-precedence":p},O),(O=go.get(V))&&y6(h,O);var be=J=P.createElement("link");wn(be),us(be,"link",h),be._p=new Promise(function(De,He){be.onload=De,be.onerror=He}),be.addEventListener("load",function(){ce.loading|=1}),be.addEventListener("error",function(){ce.loading|=2}),ce.loading|=4,wb(J,p,P)}J={type:"stylesheet",instance:J,count:1,state:ce},L.set(V,J)}}}function ule(h,p){Sc.X(h,p);var O=ip;if(O&&h){var P=Bn(O).hoistableScripts,L=ap(h),V=P.get(L);V||(V=O.querySelector(h1(L)),V||(h=f({src:h,async:!0},p),(p=go.get(L))&&x6(h,p),V=O.createElement("script"),wn(V),us(V,"link",h),O.head.appendChild(V)),V={type:"script",instance:V,count:1,state:null},P.set(L,V))}}function hle(h,p){Sc.M(h,p);var O=ip;if(O&&h){var P=Bn(O).hoistableScripts,L=ap(h),V=P.get(L);V||(V=O.querySelector(h1(L)),V||(h=f({src:h,async:!0,type:"module"},p),(p=go.get(L))&&x6(h,p),V=O.createElement("script"),wn(V),us(V,"link",h),O.head.appendChild(V)),V={type:"script",instance:V,count:1,state:null},P.set(L,V))}}function q9(h,p,O,P){var L=(L=te.current)?Ob(L):null;if(!L)throw Error(r(446));switch(h){case"meta":case"title":return null;case"style":return typeof O.precedence=="string"&&typeof O.href=="string"?(p=sp(O.href),O=Bn(L).hoistableStyles,P=O.get(p),P||(P={type:"style",instance:null,count:0,state:null},O.set(p,P)),P):{type:"void",instance:null,count:0,state:null};case"link":if(O.rel==="stylesheet"&&typeof O.href=="string"&&typeof O.precedence=="string"){h=sp(O.href);var V=Bn(L).hoistableStyles,J=V.get(h);if(J||(L=L.ownerDocument||L,J={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},V.set(h,J),(V=L.querySelector(u1(h)))&&!V._p&&(J.instance=V,J.state.loading=5),go.has(h)||(O={rel:"preload",as:"style",href:O.href,crossOrigin:O.crossOrigin,integrity:O.integrity,media:O.media,hrefLang:O.hrefLang,referrerPolicy:O.referrerPolicy},go.set(h,O),V||fle(L,h,O,J.state))),p&&P===null)throw Error(r(528,""));return J}if(p&&P!==null)throw Error(r(529,""));return null;case"script":return p=O.async,O=O.src,typeof O=="string"&&p&&typeof p!="function"&&typeof p!="symbol"?(p=ap(O),O=Bn(L).hoistableScripts,P=O.get(p),P||(P={type:"script",instance:null,count:0,state:null},O.set(p,P)),P):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,h))}}function sp(h){return'href="'+bi(h)+'"'}function u1(h){return'link[rel="stylesheet"]['+h+"]"}function K9(h){return f({},h,{"data-precedence":h.precedence,precedence:null})}function fle(h,p,O,P){h.querySelector('link[rel="preload"][as="style"]['+p+"]")?P.loading=1:(p=h.createElement("link"),P.preload=p,p.addEventListener("load",function(){return P.loading|=1}),p.addEventListener("error",function(){return P.loading|=2}),us(p,"link",O),wn(p),h.head.appendChild(p))}function ap(h){return'[src="'+bi(h)+'"]'}function h1(h){return"script[async]"+h}function J9(h,p,O){if(p.count++,p.instance===null)switch(p.type){case"style":var P=h.querySelector('style[data-href~="'+bi(O.href)+'"]');if(P)return p.instance=P,wn(P),P;var L=f({},O,{"data-href":O.href,"data-precedence":O.precedence,href:null,precedence:null});return P=(h.ownerDocument||h).createElement("style"),wn(P),us(P,"style",L),wb(P,O.precedence,h),p.instance=P;case"stylesheet":L=sp(O.href);var V=h.querySelector(u1(L));if(V)return p.state.loading|=4,p.instance=V,wn(V),V;P=K9(O),(L=go.get(L))&&y6(P,L),V=(h.ownerDocument||h).createElement("link"),wn(V);var J=V;return J._p=new Promise(function(ce,be){J.onload=ce,J.onerror=be}),us(V,"link",P),p.state.loading|=4,wb(V,O.precedence,h),p.instance=V;case"script":return V=ap(O.src),(L=h.querySelector(h1(V)))?(p.instance=L,wn(L),L):(P=O,(L=go.get(V))&&(P=f({},O),x6(P,L)),h=h.ownerDocument||h,L=h.createElement("script"),wn(L),us(L,"link",P),h.head.appendChild(L),p.instance=L);case"void":return null;default:throw Error(r(443,p.type))}else p.type==="stylesheet"&&(p.state.loading&4)===0&&(P=p.instance,p.state.loading|=4,wb(P,O.precedence,h));return p.instance}function wb(h,p,O){for(var P=O.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),L=P.length?P[P.length-1]:null,V=L,J=0;J<P.length;J++){var ce=P[J];if(ce.dataset.precedence===p)V=ce;else if(V!==L)break}V?V.parentNode.insertBefore(h,V.nextSibling):(p=O.nodeType===9?O.head:O,p.insertBefore(h,p.firstChild))}function y6(h,p){h.crossOrigin==null&&(h.crossOrigin=p.crossOrigin),h.referrerPolicy==null&&(h.referrerPolicy=p.referrerPolicy),h.title==null&&(h.title=p.title)}function x6(h,p){h.crossOrigin==null&&(h.crossOrigin=p.crossOrigin),h.referrerPolicy==null&&(h.referrerPolicy=p.referrerPolicy),h.integrity==null&&(h.integrity=p.integrity)}var Cb=null;function eI(h,p,O){if(Cb===null){var P=new Map,L=Cb=new Map;L.set(O,P)}else L=Cb,P=L.get(O),P||(P=new Map,L.set(O,P));if(P.has(h))return P;for(P.set(h,null),O=O.getElementsByTagName(h),L=0;L<O.length;L++){var V=O[L];if(!(V[gn]||V[mn]||h==="link"&&V.getAttribute("rel")==="stylesheet")&&V.namespaceURI!=="http://www.w3.org/2000/svg"){var J=V.getAttribute(p)||"";J=h+J;var ce=P.get(J);ce?ce.push(V):P.set(J,[V])}}return P}function tI(h,p,O){h=h.ownerDocument||h,h.head.insertBefore(O,p==="title"?h.querySelector("head > title"):null)}function dle(h,p,O){if(O===1||p.itemProp!=null)return!1;switch(h){case"meta":case"title":return!0;case"style":if(typeof p.precedence!="string"||typeof p.href!="string"||p.href==="")break;return!0;case"link":if(typeof p.rel!="string"||typeof p.href!="string"||p.href===""||p.onLoad||p.onError)break;switch(p.rel){case"stylesheet":return h=p.disabled,typeof p.precedence=="string"&&h==null;default:return!0}case"script":if(p.async&&typeof p.async!="function"&&typeof p.async!="symbol"&&!p.onLoad&&!p.onError&&p.src&&typeof p.src=="string")return!0}return!1}function nI(h){return!(h.type==="stylesheet"&&(h.state.loading&3)===0)}function ple(h,p,O,P){if(O.type==="stylesheet"&&(typeof P.media!="string"||matchMedia(P.media).matches!==!1)&&(O.state.loading&4)===0){if(O.instance===null){var L=sp(P.href),V=p.querySelector(u1(L));if(V){p=V._p,p!==null&&typeof p=="object"&&typeof p.then=="function"&&(h.count++,h=Eb.bind(h),p.then(h,h)),O.state.loading|=4,O.instance=V,wn(V);return}V=p.ownerDocument||p,P=K9(P),(L=go.get(L))&&y6(P,L),V=V.createElement("link"),wn(V);var J=V;J._p=new Promise(function(ce,be){J.onload=ce,J.onerror=be}),us(V,"link",P),O.instance=V}h.stylesheets===null&&(h.stylesheets=new Map),h.stylesheets.set(O,p),(p=O.state.preload)&&(O.state.loading&3)===0&&(h.count++,O=Eb.bind(h),p.addEventListener("load",O),p.addEventListener("error",O))}}var b6=0;function mle(h,p){return h.stylesheets&&h.count===0&&Tb(h,h.stylesheets),0<h.count||0<h.imgCount?function(O){var P=setTimeout(function(){if(h.stylesheets&&Tb(h,h.stylesheets),h.unsuspend){var V=h.unsuspend;h.unsuspend=null,V()}},6e4+p);0<h.imgBytes&&b6===0&&(b6=62500*Woe());var L=setTimeout(function(){if(h.waitingForImages=!1,h.count===0&&(h.stylesheets&&Tb(h,h.stylesheets),h.unsuspend)){var V=h.unsuspend;h.unsuspend=null,V()}},(h.imgBytes>b6?50:800)+p);return h.unsuspend=O,function(){h.unsuspend=null,clearTimeout(P),clearTimeout(L)}}:null}function Eb(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Tb(this,this.stylesheets);else if(this.unsuspend){var h=this.unsuspend;this.unsuspend=null,h()}}}var kb=null;function Tb(h,p){h.stylesheets=null,h.unsuspend!==null&&(h.count++,kb=new Map,p.forEach(gle,h),kb=null,Eb.call(h))}function gle(h,p){if(!(p.state.loading&4)){var O=kb.get(h);if(O)var P=O.get(null);else{O=new Map,kb.set(h,O);for(var L=h.querySelectorAll("link[data-precedence],style[data-precedence]"),V=0;V<L.length;V++){var J=L[V];(J.nodeName==="LINK"||J.getAttribute("media")!=="not all")&&(O.set(J.dataset.precedence,J),P=J)}P&&O.set(null,P)}L=p.instance,J=L.getAttribute("data-precedence"),V=O.get(J)||P,V===P&&O.set(null,L),O.set(J,L),this.count++,P=Eb.bind(this),L.addEventListener("load",P),L.addEventListener("error",P),V?V.parentNode.insertBefore(L,V.nextSibling):(h=h.nodeType===9?h.head:h,h.insertBefore(L,h.firstChild)),p.state.loading|=4}}var f1={$$typeof:k,Provider:null,Consumer:null,_currentValue:se,_currentValue2:se,_threadCount:0};function yle(h,p,O,P,L,V,J,ce,be){this.tag=1,this.containerInfo=h,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=$n(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$n(0),this.hiddenUpdates=$n(null),this.identifierPrefix=P,this.onUncaughtError=L,this.onCaughtError=V,this.onRecoverableError=J,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=be,this.incompleteTransitions=new Map}function rI(h,p,O,P,L,V,J,ce,be,De,He,Xe){return h=new yle(h,p,O,J,be,De,He,Xe,ce),p=1,V===!0&&(p|=24),V=Na(3,null,null,p),h.current=V,V.stateNode=h,p=Kw(),p.refCount++,h.pooledCache=p,p.refCount++,V.memoizedState={element:P,isDehydrated:O,cache:p},n4(V),h}function iI(h){return h?(h=jd,h):jd}function sI(h,p,O,P,L,V){L=iI(L),P.context===null?P.context=L:P.pendingContext=L,P=Tu(p),P.payload={element:O},V=V===void 0?null:V,V!==null&&(P.callback=V),O=Pu(h,P,p),O!==null&&(ia(O,h,p),Zm(O,h,p))}function aI(h,p){if(h=h.memoizedState,h!==null&&h.dehydrated!==null){var O=h.retryLane;h.retryLane=O!==0&&O<p?O:p}}function A6(h,p){aI(h,p),(h=h.alternate)&&aI(h,p)}function oI(h){if(h.tag===13||h.tag===31){var p=Wh(h,67108864);p!==null&&ia(p,h,67108864),A6(h,67108864)}}function lI(h){if(h.tag===13||h.tag===31){var p=ja();p=kn(p);var O=Wh(h,p);O!==null&&ia(O,h,p),A6(h,p)}}var Pb=!0;function xle(h,p,O,P){var L=W.T;W.T=null;var V=ne.p;try{ne.p=2,v6(h,p,O,P)}finally{ne.p=V,W.T=L}}function ble(h,p,O,P){var L=W.T;W.T=null;var V=ne.p;try{ne.p=8,v6(h,p,O,P)}finally{ne.p=V,W.T=L}}function v6(h,p,O,P){if(Pb){var L=S6(P);if(L===null)o6(h,p,P,Mb,O),uI(h,P);else if(vle(L,h,p,O,P))P.stopPropagation();else if(uI(h,P),p&4&&-1<Ale.indexOf(h)){for(;L!==null;){var V=qn(L);if(V!==null)switch(V.tag){case 3:if(V=V.stateNode,V.current.memoizedState.isDehydrated){var J=we(V.pendingLanes);if(J!==0){var ce=V;for(ce.pendingLanes|=2,ce.entangledLanes|=2;J;){var be=1<<31-_e(J);ce.entanglements[1]|=be,J&=~be}vl(V),(ir&6)===0&&(fb=Ue()+500,a1(0))}}break;case 31:case 13:ce=Wh(V,2),ce!==null&&ia(ce,V,2),pb(),A6(V,2)}if(V=S6(P),V===null&&o6(h,p,P,Mb,O),V===L)break;L=V}L!==null&&P.stopPropagation()}else o6(h,p,P,null,O)}}function S6(h){return h=Qi(h),O6(h)}var Mb=null;function O6(h){if(Mb=null,h=Ur(h),h!==null){var p=s(h);if(p===null)h=null;else{var O=p.tag;if(O===13){if(h=a(p),h!==null)return h;h=null}else if(O===31){if(h=o(p),h!==null)return h;h=null}else if(O===3){if(p.stateNode.current.memoizedState.isDehydrated)return p.tag===3?p.stateNode.containerInfo:null;h=null}else p!==h&&(h=null)}}return Mb=h,null}function cI(h){switch(h){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(tt()){case St:return 2;case Tt:return 8;case nt:case vt:return 32;case Xt:return 268435456;default:return 32}default:return 32}}var w6=!1,Bu=null,Vu=null,Qu=null,d1=new Map,p1=new Map,Hu=[],Ale="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function uI(h,p){switch(h){case"focusin":case"focusout":Bu=null;break;case"dragenter":case"dragleave":Vu=null;break;case"mouseover":case"mouseout":Qu=null;break;case"pointerover":case"pointerout":d1.delete(p.pointerId);break;case"gotpointercapture":case"lostpointercapture":p1.delete(p.pointerId)}}function m1(h,p,O,P,L,V){return h===null||h.nativeEvent!==V?(h={blockedOn:p,domEventName:O,eventSystemFlags:P,nativeEvent:V,targetContainers:[L]},p!==null&&(p=qn(p),p!==null&&oI(p)),h):(h.eventSystemFlags|=P,p=h.targetContainers,L!==null&&p.indexOf(L)===-1&&p.push(L),h)}function vle(h,p,O,P,L){switch(p){case"focusin":return Bu=m1(Bu,h,p,O,P,L),!0;case"dragenter":return Vu=m1(Vu,h,p,O,P,L),!0;case"mouseover":return Qu=m1(Qu,h,p,O,P,L),!0;case"pointerover":var V=L.pointerId;return d1.set(V,m1(d1.get(V)||null,h,p,O,P,L)),!0;case"gotpointercapture":return V=L.pointerId,p1.set(V,m1(p1.get(V)||null,h,p,O,P,L)),!0}return!1}function hI(h){var p=Ur(h.target);if(p!==null){var O=s(p);if(O!==null){if(p=O.tag,p===13){if(p=a(O),p!==null){h.blockedOn=p,xr(h.priority,function(){lI(O)});return}}else if(p===31){if(p=o(O),p!==null){h.blockedOn=p,xr(h.priority,function(){lI(O)});return}}else if(p===3&&O.stateNode.current.memoizedState.isDehydrated){h.blockedOn=O.tag===3?O.stateNode.containerInfo:null;return}}}h.blockedOn=null}function Db(h){if(h.blockedOn!==null)return!1;for(var p=h.targetContainers;0<p.length;){var O=S6(h.nativeEvent);if(O===null){O=h.nativeEvent;var P=new O.constructor(O.type,O);Vr=P,O.target.dispatchEvent(P),Vr=null}else return p=qn(O),p!==null&&oI(p),h.blockedOn=O,!1;p.shift()}return!0}function fI(h,p,O){Db(h)&&O.delete(p)}function Sle(){w6=!1,Bu!==null&&Db(Bu)&&(Bu=null),Vu!==null&&Db(Vu)&&(Vu=null),Qu!==null&&Db(Qu)&&(Qu=null),d1.forEach(fI),p1.forEach(fI)}function Nb(h,p){h.blockedOn===p&&(h.blockedOn=null,w6||(w6=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Sle)))}var _b=null;function dI(h){_b!==h&&(_b=h,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){_b===h&&(_b=null);for(var p=0;p<h.length;p+=3){var O=h[p],P=h[p+1],L=h[p+2];if(typeof P!="function"){if(O6(P||O)===null)continue;break}var V=qn(O);V!==null&&(h.splice(p,3),p-=3,S4(V,{pending:!0,data:L,method:O.method,action:P},P,L))}}))}function op(h){function p(be){return Nb(be,h)}Bu!==null&&Nb(Bu,h),Vu!==null&&Nb(Vu,h),Qu!==null&&Nb(Qu,h),d1.forEach(p),p1.forEach(p);for(var O=0;O<Hu.length;O++){var P=Hu[O];P.blockedOn===h&&(P.blockedOn=null)}for(;0<Hu.length&&(O=Hu[0],O.blockedOn===null);)hI(O),O.blockedOn===null&&Hu.shift();if(O=(h.ownerDocument||h).$$reactFormReplay,O!=null)for(P=0;P<O.length;P+=3){var L=O[P],V=O[P+1],J=L[Nn]||null;if(typeof V=="function")J||dI(O);else if(J){var ce=null;if(V&&V.hasAttribute("formAction")){if(L=V,J=V[Nn]||null)ce=J.formAction;else if(O6(L)!==null)continue}else ce=J.action;typeof ce=="function"?O[P+1]=ce:(O.splice(P,3),P-=3),dI(O)}}}function pI(){function h(V){V.canIntercept&&V.info==="react-transition"&&V.intercept({handler:function(){return new Promise(function(J){return L=J})},focusReset:"manual",scroll:"manual"})}function p(){L!==null&&(L(),L=null),P||setTimeout(O,20)}function O(){if(!P&&!navigation.transition){var V=navigation.currentEntry;V&&V.url!=null&&navigation.navigate(V.url,{state:V.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var P=!1,L=null;return navigation.addEventListener("navigate",h),navigation.addEventListener("navigatesuccess",p),navigation.addEventListener("navigateerror",p),setTimeout(O,100),function(){P=!0,navigation.removeEventListener("navigate",h),navigation.removeEventListener("navigatesuccess",p),navigation.removeEventListener("navigateerror",p),L!==null&&(L(),L=null)}}}function C6(h){this._internalRoot=h}Ib.prototype.render=C6.prototype.render=function(h){var p=this._internalRoot;if(p===null)throw Error(r(409));var O=p.current,P=ja();sI(O,P,h,p,null,null)},Ib.prototype.unmount=C6.prototype.unmount=function(){var h=this._internalRoot;if(h!==null){this._internalRoot=null;var p=h.containerInfo;sI(h.current,2,null,h,null,null),pb(),p[Hn]=null}};function Ib(h){this._internalRoot=h}Ib.prototype.unstable_scheduleHydration=function(h){if(h){var p=bt();h={blockedOn:null,target:h,priority:p};for(var O=0;O<Hu.length&&p!==0&&p<Hu[O].priority;O++);Hu.splice(O,0,h),O===0&&hI(h)}};var mI=e.version;if(mI!=="19.2.6")throw Error(r(527,mI,"19.2.6"));ne.findDOMNode=function(h){var p=h._reactInternals;if(p===void 0)throw typeof h.render=="function"?Error(r(188)):(h=Object.keys(h).join(","),Error(r(268,h)));return h=c(p),h=h!==null?u(h):null,h=h===null?null:h.stateNode,h};var Ole={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:W,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Rb=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Rb.isDisabled&&Rb.supportsFiber)try{At=Rb.inject(Ole),mt=Rb}catch{}}return y1.createRoot=function(h,p){if(!i(h))throw Error(r(299));var O=!1,P="",L=S7,V=O7,J=w7;return p!=null&&(p.unstable_strictMode===!0&&(O=!0),p.identifierPrefix!==void 0&&(P=p.identifierPrefix),p.onUncaughtError!==void 0&&(L=p.onUncaughtError),p.onCaughtError!==void 0&&(V=p.onCaughtError),p.onRecoverableError!==void 0&&(J=p.onRecoverableError)),p=rI(h,1,!1,null,null,O,P,null,L,V,J,pI),h[Hn]=p.current,a6(h),new C6(p)},y1.hydrateRoot=function(h,p,O){if(!i(h))throw Error(r(299));var P=!1,L="",V=S7,J=O7,ce=w7,be=null;return O!=null&&(O.unstable_strictMode===!0&&(P=!0),O.identifierPrefix!==void 0&&(L=O.identifierPrefix),O.onUncaughtError!==void 0&&(V=O.onUncaughtError),O.onCaughtError!==void 0&&(J=O.onCaughtError),O.onRecoverableError!==void 0&&(ce=O.onRecoverableError),O.formState!==void 0&&(be=O.formState)),p=rI(h,1,!0,p,O??null,P,L,be,V,J,ce,pI),p.context=iI(null),O=p.current,P=ja(),P=kn(P),L=Tu(P),L.callback=null,Pu(O,L,P),O=P,p.current.lanes=O,bn(p,O),vl(p),h[Hn]=p.current,a6(h),new Ib(p)},y1.version="19.2.6",y1}var CI;function Ile(){if(CI)return T6.exports;CI=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),T6.exports=_le(),T6.exports}var Rle=Ile();function My(){return typeof crypto<"u"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():`${Date.now()}-${Math.random().toString(36).slice(2)}`}function a8(){try{return typeof localStorage>"u"?null:localStorage}catch{return null}}function XZ(){try{return typeof sessionStorage>"u"?null:sessionStorage}catch{return null}}const UZ="hyperframes-studio:anonymousId",GZ="hf-studio-anon-id";let cf=null;function Lle(){try{const t=typeof window>"u"?void 0:window.__HF_CLI_DISTINCT_ID;return typeof t=="string"&&t.length>0?t:null}catch{return null}}function N6(t,e){for(const n of[UZ,GZ])try{t.setItem(n,e)}catch{}}function WZ(){if(cf)return cf;const t=a8(),e=Lle();if(e)return cf=e,t&&N6(t,e),e;if(t){let r=null;try{r=t.getItem(UZ)??t.getItem(GZ)}catch{}if(r)return cf=r,N6(t,r),r}else return cf="anonymous",cf;const n=My();return cf=n,N6(t,n),n}const jle="hyperframes-studio:telemetryDisabled",YZ="hyperframes-studio:telemetryNoticeShown";function qZ(){return WZ()}function Fle(){var t;return((t=a8())==null?void 0:t.getItem(jle))==="1"}function $le(){var t;return((t=a8())==null?void 0:t.getItem(YZ))==="1"}function Ble(){var t;try{(t=a8())==null||t.setItem(YZ,"1")}catch{}}const KZ="hyperframes-studio:sessionStartFired";function Vle(){var t;return((t=XZ())==null?void 0:t.getItem(KZ))==="1"}function Qle(){var t;try{(t=XZ())==null||t.setItem(KZ,"1")}catch{}}const Hle={user_agent:"",language:"",screen_width:0,screen_height:0,device_pixel_ratio:0,timezone_offset_minutes:0,is_mobile:!1,studio_version:"dev"};let lp=null;function Zle(){if(lp)return lp;if(typeof navigator>"u"||typeof window>"u")return lp=Hle,lp;const t=navigator.userAgent,e=window.screen;return lp={user_agent:t,language:navigator.language,screen_width:e.width,screen_height:e.height,device_pixel_ratio:window.devicePixelRatio,timezone_offset_minutes:new Date().getTimezoneOffset(),is_mobile:/Android|iPhone|iPad/i.test(t),studio_version:"0.7.43"},lp}const JZ="phc_zjjbX0PnWxERXrMHhkEJWj9A9BhGVLRReICgsfTMmpx",zle="https://us.i.posthog.com",Xle=1e3;let Av=[],_6=null,jb=null;function Ule(){return typeof navigator<"u"&&navigator.doNotTrack==="1"}function Gle(){return JZ.startsWith("phc_")}function Wle(){try{return!1}catch{return!1}}function Yle(){try{return!1}catch{return!1}}function qle(){return jb!==null||(jb=Gle()&&!Wle()&&!Yle()&&!Fle()&&!Ule()),jb}function X0(t,e={}){if(!qle())return;const n=Zle();Av.push({event:t,properties:{...e,...n},timestamp:new Date().toISOString()}),_6===null&&(_6=setTimeout(()=>{_6=null,KE()},Xle)),Jle()}function KE(){if(Av.length===0)return;const t=qZ(),e=Av.map(n=>({event:n.event,properties:{...n.properties,$ip:null},distinct_id:t,timestamp:n.timestamp}));Av=[],Kle(`${zle}/batch/`,JSON.stringify({api_key:JZ,batch:e}))}function Kle(t,e){try{fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},body:e,keepalive:!0}).catch(()=>{});return}catch{}try{navigator.sendBeacon(t,new Blob([e],{type:"application/json"}))}catch{}}function Jle(){$le()||(Ble(),console.info("%c[HyperFrames]%c Anonymous studio usage analytics enabled. Disable: localStorage.setItem('hyperframes-studio:telemetryDisabled','1') (then reload).","color:#7c3aed;font-weight:bold","color:inherit"))}typeof window<"u"&&(window.addEventListener("pagehide",()=>KE(),{capture:!0}),window.addEventListener("visibilitychange",()=>{typeof document<"u"&&document.visibilityState==="hidden"&&KE()}));function ece(t){X0("studio_session_start",{has_project:t.has_project})}function tce(t){X0("studio_render_start",{fps:t.fps,quality:t.quality,format:t.format,resolution:t.resolution,composition:t.composition})}function nce(){var t,e;try{const n=navigator,i=[`ua=${((t=n.userAgentData)==null?void 0:t.platform)??navigator.platform??"unknown"}`,`screen=${screen.width}x${screen.height}@${devicePixelRatio}x`,`lang=${navigator.language}`];return n.deviceMemory&&i.push(`mem=${n.deviceMemory}GB`),(e=n.connection)!=null&&e.effectiveType&&i.push(`net=${n.connection.effectiveType}`),navigator.hardwareConcurrency&&i.push(`cpu=${navigator.hardwareConcurrency}cores`),i.join(" ")}catch{return""}}function EI(t){X0("studio_razor_split",{mode:t.mode,count:t.count})}function Fb(t){X0("studio_expanded_clip_edit",{action:t.action})}function rce(t){X0("survey sent",{$survey_id:"studio_experience",$survey_response:t.rating,...t.comment?{$survey_response_2:t.comment}:{},doctor_summary:nce(),source:"studio"})}function ez(t){return`hf-studio-hidden-renders:${t}`}function kI(t){try{const e=window.localStorage.getItem(ez(t)),n=e?JSON.parse(e):[];return new Set(Array.isArray(n)?n.filter(r=>typeof r=="string"):[])}catch{return new Set}}function ice(t,e){try{window.localStorage.setItem(ez(t),JSON.stringify([...e].slice(-200)))}catch{}}function sce(t){const[e,n]=b.useState([]),[r,i]=b.useState(null),[s,a]=b.useState(null),o=b.useRef(null),l=b.useRef(null),c=b.useCallback(A=>{var w;A&&l.current!==A||((w=o.current)==null||w.close(),o.current=null,l.current=null)},[]),u=b.useCallback(async()=>{if(t)try{const A=await fetch(`/api/projects/${t}/renders`);if(!A.ok){i(`Couldn't load render history (server error ${A.status}).`);return}const w=await A.json();if(i(null),Array.isArray(w.renders)){const k=kI(t);n(T=>{const M=new Set(T.map(D=>D.id)),_=w.renders.filter(D=>!M.has(D.id)&&!k.has(D.id)).map(D=>({id:D.id,status:D.status==="failed"?"failed":"complete",progress:100,filename:D.filename,createdAt:D.createdAt,durationMs:D.durationMs}));return[...T,..._]})}}catch{i("Couldn't load render history. Is the studio server running?")}},[t]);b.useEffect(()=>{u()},[u]);const f=b.useCallback(async(A={})=>{if(!t)return;const w=A.fps??30,k=A.quality??"standard",T=A.format??"mp4",M=A.resolution,_=A.composition;tce({fps:w,quality:k,format:T,resolution:M,composition:_});const D=Date.now(),I={fps:w,quality:k,format:T,telemetryDistinctId:qZ()};M&&M!=="auto"&&(I.resolution=M),_&&(I.composition=_);let j;try{j=await fetch(`/api/projects/${t}/render`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(I)})}catch{const re={id:My(),status:"failed",progress:0,error:"Could not reach render server. Use `hyperframes render` from the CLI instead.",filename:"Export failed",createdAt:D};n(W=>[...W,re]);return}if(!j.ok){const re={id:My(),status:"failed",progress:0,error:`Server error (${j.status}). Check the terminal for details.`,filename:"Export failed",createdAt:D};n(W=>[...W,re]);return}const{jobId:$}=await j.json(),Q={mp4:".mp4",webm:".webm",mov:".mov"}[T]??".mp4",z={id:$,status:"rendering",progress:0,filename:`${$}${Q}`,createdAt:D};n(re=>[...re,z]),l.current=$;const q=new EventSource(`/api/render/${$}/progress`);return o.current=q,q.addEventListener("progress",re=>{try{const W=JSON.parse(re.data),ne=W.status==="complete"||W.status==="failed"||W.status==="cancelled";n(se=>se.map(he=>he.id===$?{...he,progress:W.progress??he.progress,stage:W.stage??W.message??he.stage,status:ne?W.status:he.status,durationMs:W.status==="complete"?Date.now()-D:void 0,error:W.error??he.error}:he)),ne&&c($)}catch{}}),q.onerror=()=>{q.close(),n(re=>re.map(W=>W.id===$&&W.status==="rendering"?{...W,status:"failed",error:"Connection lost. Is the render server running?"}:W)),l.current=null},$},[t,c]),d=b.useCallback(async A=>{a(null),c(A),n(w=>w.map(k=>k.id===A&&k.status==="rendering"?{...k,status:"cancelled"}:k));try{const w=await fetch(`/api/render/${A}/cancel`,{method:"POST"});if(!w.ok&&w.status!==404){a("Couldn't cancel on the server — the render may still be running.");return}if(w.ok){const k=await w.json().catch(()=>null);k!=null&&k.status&&k.status!=="cancelled"&&u()}}catch{a("Couldn't reach the server to cancel — the render may still be running.")}},[c,u]),m=b.useCallback(async A=>{a(null),c(A);try{if(!(await fetch(`/api/render/${A}`,{method:"DELETE"})).ok){a("Couldn't delete the render — it's still on disk.");return}}catch{a("Couldn't reach the server to delete the render.");return}n(w=>w.filter(k=>k.id!==A))},[c]),x=b.useCallback(()=>{n(A=>{const w=A.filter(k=>k.status!=="rendering");if(t&&w.length>0){const k=kI(t);for(const T of w)k.add(T.id);ice(t,k)}return A.filter(k=>k.status==="rendering")})},[t]),g=b.useCallback(()=>a(null),[]);b.useEffect(()=>()=>{var A;(A=o.current)==null||A.close(),o.current=null},[t]);const v=e.some(A=>A.status==="rendering");return b.useMemo(()=>({jobs:e,isRendering:v,loadError:r,actionError:s,dismissActionError:g,reloadRenders:u,deleteRender:m,cancelRender:d,clearCompleted:x,startRender:f}),[e,v,r,s,g,u,m,d,x,f])}const ace="modulepreload",oce=function(t){return"/"+t},TI={},o8=function(e,n,r){let i=Promise.resolve();if(n&&n.length>0){let a=function(c){return Promise.all(c.map(u=>Promise.resolve(u).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=a(n.map(c=>{if(c=oce(c),c in TI)return;TI[c]=!0;const u=c.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${f}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":ace,u||(d.as="script"),d.crossOrigin="",d.href=c,l&&d.setAttribute("nonce",l),document.head.appendChild(d),u)return new Promise((m,x)=>{d.addEventListener("load",m),d.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${c}`)))})}))}function s(a){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=a,window.dispatchEvent(o),!o.defaultPrevented)throw a}return i.then(a=>{for(const o of a||[])o.status==="rejected"&&s(o.reason);return e().catch(s)})};function lce(t){if(typeof t!="object"||t===null)return!0;const e=t;return e.isLoaded===!0||typeof e.totalFrames=="number"&&e.totalFrames>0}function wr(t){b.useEffect(t,[])}const tz={primary:["bg-white text-neutral-950 font-medium","shadow-btn-primary","enabled:hover:bg-neutral-200","enabled:active:scale-[0.97]"].join(" "),secondary:["bg-transparent text-neutral-300 font-medium","border border-border","enabled:hover:bg-surface-hover enabled:hover:text-white enabled:hover:border-border-strong","enabled:active:scale-[0.98]"].join(" "),danger:["bg-accent-red text-white font-medium","enabled:hover:bg-red-600","enabled:active:scale-[0.97]"].join(" "),ghost:["bg-transparent text-neutral-400","enabled:hover:bg-surface-hover enabled:hover:text-white","enabled:active:scale-[0.98]"].join(" ")},cce={sm:"h-7 px-2.5 text-xs gap-1.5 rounded-button",md:"h-8 px-3 text-sm gap-1.5 rounded-button",lg:"h-9 px-4 text-base gap-2 rounded-button"},jc=b.forwardRef(({variant:t="secondary",size:e="md",loading:n,icon:r,children:i,className:s="",disabled:a,...o},l)=>S.jsxs("button",{ref:l,disabled:a||n,className:["inline-flex items-center justify-center","transition-all duration-press ease-standard","disabled:opacity-40 disabled:cursor-not-allowed","select-none cursor-pointer","outline-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-studio-accent",tz[t],cce[e],s].join(" "),...o,children:[n?S.jsxs("svg",{className:"animate-spin h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",children:[S.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),S.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}):r?S.jsx("span",{className:"flex-shrink-0",children:r}):null,i&&S.jsx("span",{children:i})]}));jc.displayName="Button";const uce={sm:"min-w-7 min-h-7 rounded-button",md:"min-w-8 min-h-8 rounded-button",lg:"min-w-9 min-h-9 rounded-button"},hce=b.forwardRef(({icon:t,size:e="md",variant:n="ghost",className:r="",...i},s)=>S.jsx("button",{ref:s,className:["inline-flex items-center justify-center","transition-all duration-press ease-standard","disabled:opacity-40 disabled:cursor-not-allowed","select-none cursor-pointer","outline-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-studio-accent",tz[n],uce[e],r].join(" "),...i,children:t}));hce.displayName="IconButton";function PI({title:t,detail:e,mono:n,size:r=64,progress:i}){const s=typeof i=="number"&&Number.isFinite(i)?Math.min(1,Math.max(0,i)):void 0,a=Math.round(r*1.16);return S.jsxs("div",{className:"hf-loader",role:"status",draggable:!1,children:[S.jsx("div",{className:"hf-loader-mark-frame",style:{width:a,height:a},draggable:!1,children:S.jsxs("svg",{className:"hf-loader-mark",width:r,height:r,viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[S.jsx("g",{className:"hf-loader-mark__mark",transform:"translate(50 50)",children:S.jsx("g",{className:"hf-loader-mark__core",transform:"scale(1)",opacity:".92",children:S.jsxs("g",{transform:"translate(-50 -50)",children:[S.jsx("path",{d:"M10.1851 57.8021L33.1145 73.8313C36.2202 75.9978 41.5173 73.5433 42.4816 69.4984L51.7611 30.4271C52.7253 26.3822 48.5802 23.9277 44.4602 26.0942L13.917 42.1235C6.96677 45.7676 4.97564 54.1579 10.1851 57.8021Z",fill:"url(#hf-loader-grad-left)"}),S.jsx("path",{d:"M87.5129 57.5141L56.9696 73.5433C52.8371 75.7098 48.7046 73.2553 49.6688 69.2104L58.9483 30.1391C59.9125 26.0942 65.2097 23.6397 68.3154 25.8062L91.2447 41.8354C96.4668 45.4796 94.4631 53.8699 87.5129 57.5141Z",fill:"url(#hf-loader-grad-right)"})]})})}),S.jsxs("defs",{children:[S.jsxs("linearGradient",{id:"hf-loader-grad-left",x1:"48.5676",y1:"25",x2:"44.7804",y2:"71.9384",gradientUnits:"userSpaceOnUse",children:[S.jsx("stop",{stopColor:"#06E3FA"}),S.jsx("stop",{offset:"1",stopColor:"#4FDB5E"})]}),S.jsxs("linearGradient",{id:"hf-loader-grad-right",x1:"54.8282",y1:"73.8392",x2:"72.0989",y2:"32.8932",gradientUnits:"userSpaceOnUse",children:[S.jsx("stop",{stopColor:"#06E3FA"}),S.jsx("stop",{offset:"1",stopColor:"#4FDB5E"})]})]})]})}),S.jsx("div",{className:"hf-loader-title",children:t}),e&&S.jsx("div",{className:"hf-loader-detail",children:e}),s!==void 0&&S.jsx("div",{className:"hf-loader-progress",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.round(s*100),children:S.jsx("div",{className:"hf-loader-progress__fill",style:{transform:`scaleX(${s})`}})}),n&&S.jsx("div",{className:"hf-loader-mono",children:n})]})}var wx=zZ();const MI=28,$b=8;function Un({label:t,children:e,delay:n=400,side:r="top"}){const[i,s]=b.useState(!1),[a,o]=b.useState({x:0,y:0}),[l,c]=b.useState(r),u=b.useRef(null),f=b.useRef(null),d=b.useId(),m=b.useCallback(()=>{u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{const g=f.current;if(!g)return;const A=(g.firstElementChild??g).getBoundingClientRect();if(A.width===0&&A.height===0)return;let w=r;r==="top"&&A.top-MI-6<$b?w="bottom":r==="bottom"&&A.bottom+MI+6>window.innerHeight-$b&&(w="top");const k=Math.min(Math.max(A.left+A.width/2,$b),window.innerWidth-$b);c(w),o({x:k,y:w==="top"?A.top-6:A.bottom+6}),s(!0)},n)},[n,r]),x=b.useCallback(()=>{u.current&&(clearTimeout(u.current),u.current=null),s(!1)},[]);return b.useEffect(()=>{if(!i)return;const g=v=>{v.key==="Escape"&&x()};return document.addEventListener("keydown",g),()=>document.removeEventListener("keydown",g)},[i,x]),S.jsxs(S.Fragment,{children:[S.jsx("span",{ref:f,onPointerEnter:m,onPointerLeave:x,onFocus:m,onBlur:x,"aria-describedby":i?d:void 0,className:"contents",children:e}),i&&wx.createPortal(S.jsx("div",{className:"fixed z-[200] pointer-events-none",style:{left:a.x,top:a.y,transform:l==="top"?"translate(-50%, -100%)":"translate(-50%, 0)"},children:S.jsx("div",{role:"tooltip",id:d,className:"px-2 py-1 rounded-md bg-neutral-800 border border-neutral-700/50 text-[10px] font-medium text-neutral-200 whitespace-nowrap shadow-lg",children:t})}),document.body)]})}const fce=3,dce=3;function DI(t){return typeof t=="object"&&t!==null}function pce(t){if(!(t instanceof CustomEvent))return null;const e=t.detail;if(!DI(e))return null;const n=e.state;return DI(n)?n.loading===!0&&n.ready!==!0:null}const mce=400;function gce(t){const e=t.shadowRoot;if(!e)return;const n=e.querySelector(".hfp-container"),r=e.querySelector(".hfp-iframe");n==null||n.style.setProperty("pointer-events","auto"),r==null||r.style.setProperty("pointer-events","auto")}function yce(t){const e=t.tagName.toLowerCase();return e==="video"||e==="audio"}function NI(t,e){try{const n=t.contentWindow,r=t.contentDocument;if(!n||!r)return e;for(const s of r.querySelectorAll("video, audio"))if(yce(s)&&!s.error&&s.networkState!==dce&&s.readyState<fce)return!0;const i=n.__hfLottie;if(i!=null&&i.length){for(const s of i)if(!lce(s))return!0}return!1}catch{return e}}const JE=b.forwardRef(({projectId:t,directUrl:e,onLoad:n,onCompositionLoadingChange:r,portrait:i,style:s,suppressLoadingOverlay:a},o)=>{const l=b.useRef(null),c=b.useRef(0),u=b.useRef(null),f=b.useRef(null),[d,m]=b.useState(!1),[x,g]=b.useState(!1),[v,A]=b.useState(!1),[w,k]=b.useState(!1),[T,M]=b.useState(!0),[_,D]=b.useState(!0);b.useEffect(()=>{if(!T){D(!0);return}const $=setTimeout(()=>D(!1),mce);return()=>clearTimeout($)},[T]),wr(()=>{const $=l.current;if(!$)return;let B=!1,Q;return o8(()=>import("./hyperframes-player-BBrKzTGd.js"),[]).then(()=>{if(B)return;const z=document.createElement("hyperframes-player"),q=e||`/api/projects/${t}/preview`;if(z.setAttribute("shader-capture-scale","1"),z.setAttribute("shader-loading","player"),z.setAttribute("src",q),z.setAttribute("width",String(i?1080:1920)),z.setAttribute("height",String(i?1920:1080)),z.style.width="100%",z.style.height="100%",z.style.display="block",z.style.background="transparent",$.appendChild(z),z.shadowRoot){const G=document.createElement("style");G.textContent=".hfp-container{overflow:visible}.hfp-iframe{box-shadow:0 0 0 1px rgba(255,255,255,0.08),0 4px 32px rgba(0,0,0,.7)}",z.shadowRoot.appendChild(G)}gce(z);const re=z.iframeElement;typeof o=="function"?o(re):o&&(o.current=re);const W=G=>G.stopImmediatePropagation();z.addEventListener("click",W,{capture:!0});const ne=G=>{const R=pce(G);R!==null&&k(R)};z.addEventListener("shadertransitionstate",ne);const se=()=>{M(!1)},he=()=>{M(!1)};z.addEventListener("ready",se),z.addEventListener("error",he);const oe=()=>{if(c.current++,k(!1),M(!0),c.current>1){$.classList.remove("preview-revealing"),$.offsetWidth,$.classList.add("preview-revealing");const H=()=>$.classList.remove("preview-revealing");$.addEventListener("animationend",H,{once:!0})}n(),u.current&&clearInterval(u.current);let R=c.current>1?!1:NI(re,!1);if(R){m(!0);let H=0;u.current=setInterval(()=>{H+=1,R=NI(re,R),(!R||H>100)&&(u.current&&clearInterval(u.current),u.current=null,m(!1))},100)}else m(!1)};re.addEventListener("load",oe),Q=()=>{if(re.removeEventListener("load",oe),z.removeEventListener("click",W,{capture:!0}),z.removeEventListener("shadertransitionstate",ne),z.removeEventListener("ready",se),z.removeEventListener("error",he),u.current&&clearInterval(u.current),u.current=null,$.removeChild(z),typeof o!="function"){if(o){const G=o;G.current===re&&(G.current=null)}}}}),()=>{B=!0,Q==null||Q()}}),b.useEffect(()=>{if(f.current&&(clearTimeout(f.current),f.current=null),d){g(!0),A(!1);return}return A(!0),f.current=setTimeout(()=>{g(!1),A(!1),f.current=null},240),()=>{f.current&&(clearTimeout(f.current),f.current=null)}},[d]);const I=!a&&!_&&T,j=x&&!w&&!I;return b.useEffect(()=>{r==null||r(I||j)},[r,I,j]),S.jsxs("div",{className:"relative w-full h-full max-w-full max-h-full overflow-hidden flex items-center justify-center",style:s,children:[S.jsx("div",{ref:l,className:"w-full h-full"}),I&&S.jsx("div",{className:"absolute inset-0 bg-black flex items-center justify-center z-30 select-none","data-hyperframes-ignore":"","data-testid":"composition-loading-overlay",draggable:!1,onDragStart:$=>$.preventDefault(),onMouseDown:$=>$.preventDefault(),onPointerDown:$=>$.preventDefault(),children:S.jsx(PI,{title:"Loading composition",detail:"Preparing the Studio preview.",size:56})}),j&&S.jsx("div",{className:"absolute inset-0 bg-black flex items-center justify-center z-20 select-none","data-hyperframes-ignore":"",draggable:!1,style:{opacity:v?0:1,pointerEvents:v?"none":"auto",transition:"opacity 240ms ease-out"},onDragStart:$=>$.preventDefault(),onMouseDown:$=>$.preventDefault(),onPointerDown:$=>$.preventDefault(),children:S.jsx(PI,{title:"Preparing preview assets",detail:"Waiting for media and motion assets before playback starts.",size:56})})]})});JE.displayName="Player";function Ec(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nz(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*!
|
|
49
|
+
`).replace(Uoe,"")}function j9(h,p){return p=L9(p),L9(h)===p}function vr(h,p,O,P,L,V){switch(O){case"children":typeof P=="string"?p==="body"||p==="textarea"&&P===""||nn(h,P):(typeof P=="number"||typeof P=="bigint")&&p!=="body"&&nn(h,""+P);break;case"className":vn(h,"class",P);break;case"tabIndex":vn(h,"tabindex",P);break;case"dir":case"role":case"viewBox":case"width":case"height":vn(h,O,P);break;case"style":cr(h,P,V);break;case"data":if(p!=="object"){vn(h,"data",P);break}case"src":case"href":if(P===""&&(p!=="a"||O!=="href")){h.removeAttribute(O);break}if(P==null||typeof P=="function"||typeof P=="symbol"||typeof P=="boolean"){h.removeAttribute(O);break}P=Gr(""+P),h.setAttribute(O,P);break;case"action":case"formAction":if(typeof P=="function"){h.setAttribute(O,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof V=="function"&&(O==="formAction"?(p!=="input"&&vr(h,p,"name",L.name,L,null),vr(h,p,"formEncType",L.formEncType,L,null),vr(h,p,"formMethod",L.formMethod,L,null),vr(h,p,"formTarget",L.formTarget,L,null)):(vr(h,p,"encType",L.encType,L,null),vr(h,p,"method",L.method,L,null),vr(h,p,"target",L.target,L,null)));if(P==null||typeof P=="symbol"||typeof P=="boolean"){h.removeAttribute(O);break}P=Gr(""+P),h.setAttribute(O,P);break;case"onClick":P!=null&&(h.onclick=Ma);break;case"onScroll":P!=null&&Mn("scroll",h);break;case"onScrollEnd":P!=null&&Mn("scrollend",h);break;case"dangerouslySetInnerHTML":if(P!=null){if(typeof P!="object"||!("__html"in P))throw Error(r(61));if(O=P.__html,O!=null){if(L.children!=null)throw Error(r(60));h.innerHTML=O}}break;case"multiple":h.multiple=P&&typeof P!="function"&&typeof P!="symbol";break;case"muted":h.muted=P&&typeof P!="function"&&typeof P!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(P==null||typeof P=="function"||typeof P=="boolean"||typeof P=="symbol"){h.removeAttribute("xlink:href");break}O=Gr(""+P),h.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",O);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":P!=null&&typeof P!="function"&&typeof P!="symbol"?h.setAttribute(O,""+P):h.removeAttribute(O);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":P&&typeof P!="function"&&typeof P!="symbol"?h.setAttribute(O,""):h.removeAttribute(O);break;case"capture":case"download":P===!0?h.setAttribute(O,""):P!==!1&&P!=null&&typeof P!="function"&&typeof P!="symbol"?h.setAttribute(O,P):h.removeAttribute(O);break;case"cols":case"rows":case"size":case"span":P!=null&&typeof P!="function"&&typeof P!="symbol"&&!isNaN(P)&&1<=P?h.setAttribute(O,P):h.removeAttribute(O);break;case"rowSpan":case"start":P==null||typeof P=="function"||typeof P=="symbol"||isNaN(P)?h.removeAttribute(O):h.setAttribute(O,P);break;case"popover":Mn("beforetoggle",h),Mn("toggle",h),Kt(h,"popover",P);break;case"xlinkActuate":un(h,"http://www.w3.org/1999/xlink","xlink:actuate",P);break;case"xlinkArcrole":un(h,"http://www.w3.org/1999/xlink","xlink:arcrole",P);break;case"xlinkRole":un(h,"http://www.w3.org/1999/xlink","xlink:role",P);break;case"xlinkShow":un(h,"http://www.w3.org/1999/xlink","xlink:show",P);break;case"xlinkTitle":un(h,"http://www.w3.org/1999/xlink","xlink:title",P);break;case"xlinkType":un(h,"http://www.w3.org/1999/xlink","xlink:type",P);break;case"xmlBase":un(h,"http://www.w3.org/XML/1998/namespace","xml:base",P);break;case"xmlLang":un(h,"http://www.w3.org/XML/1998/namespace","xml:lang",P);break;case"xmlSpace":un(h,"http://www.w3.org/XML/1998/namespace","xml:space",P);break;case"is":Kt(h,"is",P);break;case"innerText":case"textContent":break;default:(!(2<O.length)||O[0]!=="o"&&O[0]!=="O"||O[1]!=="n"&&O[1]!=="N")&&(O=ss.get(O)||O,Kt(h,O,P))}}function l6(h,p,O,P,L,V){switch(O){case"style":cr(h,P,V);break;case"dangerouslySetInnerHTML":if(P!=null){if(typeof P!="object"||!("__html"in P))throw Error(r(61));if(O=P.__html,O!=null){if(L.children!=null)throw Error(r(60));h.innerHTML=O}}break;case"children":typeof P=="string"?nn(h,P):(typeof P=="number"||typeof P=="bigint")&&nn(h,""+P);break;case"onScroll":P!=null&&Mn("scroll",h);break;case"onScrollEnd":P!=null&&Mn("scrollend",h);break;case"onClick":P!=null&&(h.onclick=Ma);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Rt.hasOwnProperty(O))e:{if(O[0]==="o"&&O[1]==="n"&&(L=O.endsWith("Capture"),p=O.slice(2,L?O.length-7:void 0),V=h[Nn]||null,V=V!=null?V[O]:null,typeof V=="function"&&h.removeEventListener(p,V,L),typeof P=="function")){typeof V!="function"&&V!==null&&(O in h?h[O]=null:h.hasAttribute(O)&&h.removeAttribute(O)),h.addEventListener(p,P,L);break e}O in h?h[O]=P:P===!0?h.setAttribute(O,""):Kt(h,O,P)}}}function us(h,p,O){switch(p){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Mn("error",h),Mn("load",h);var P=!1,L=!1,V;for(V in O)if(O.hasOwnProperty(V)){var J=O[V];if(J!=null)switch(V){case"src":P=!0;break;case"srcSet":L=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,p));default:vr(h,p,V,J,O,null)}}L&&vr(h,p,"srcSet",O.srcSet,O,null),P&&vr(h,p,"src",O.src,O,null);return;case"input":Mn("invalid",h);var ce=V=J=L=null,be=null,De=null;for(P in O)if(O.hasOwnProperty(P)){var He=O[P];if(He!=null)switch(P){case"name":L=He;break;case"type":J=He;break;case"checked":be=He;break;case"defaultChecked":De=He;break;case"value":V=He;break;case"defaultValue":ce=He;break;case"children":case"dangerouslySetInnerHTML":if(He!=null)throw Error(r(137,p));break;default:vr(h,p,P,He,O,null)}}lt(h,V,ce,be,De,J,L,!1);return;case"select":Mn("invalid",h),P=J=V=null;for(L in O)if(O.hasOwnProperty(L)&&(ce=O[L],ce!=null))switch(L){case"value":V=ce;break;case"defaultValue":J=ce;break;case"multiple":P=ce;default:vr(h,p,L,ce,O,null)}p=V,O=J,h.multiple=!!P,p!=null?ke(h,!!P,p,!1):O!=null&&ke(h,!!P,O,!0);return;case"textarea":Mn("invalid",h),V=L=P=null;for(J in O)if(O.hasOwnProperty(J)&&(ce=O[J],ce!=null))switch(J){case"value":P=ce;break;case"defaultValue":L=ce;break;case"children":V=ce;break;case"dangerouslySetInnerHTML":if(ce!=null)throw Error(r(91));break;default:vr(h,p,J,ce,O,null)}xt(h,P,L,V);return;case"option":for(be in O)if(O.hasOwnProperty(be)&&(P=O[be],P!=null))switch(be){case"selected":h.selected=P&&typeof P!="function"&&typeof P!="symbol";break;default:vr(h,p,be,P,O,null)}return;case"dialog":Mn("beforetoggle",h),Mn("toggle",h),Mn("cancel",h),Mn("close",h);break;case"iframe":case"object":Mn("load",h);break;case"video":case"audio":for(P=0;P<o1.length;P++)Mn(o1[P],h);break;case"image":Mn("error",h),Mn("load",h);break;case"details":Mn("toggle",h);break;case"embed":case"source":case"link":Mn("error",h),Mn("load",h);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(De in O)if(O.hasOwnProperty(De)&&(P=O[De],P!=null))switch(De){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,p));default:vr(h,p,De,P,O,null)}return;default:if(Ai(p)){for(He in O)O.hasOwnProperty(He)&&(P=O[He],P!==void 0&&l6(h,p,He,P,O,void 0));return}}for(ce in O)O.hasOwnProperty(ce)&&(P=O[ce],P!=null&&vr(h,p,ce,P,O,null))}function Goe(h,p,O,P){switch(p){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var L=null,V=null,J=null,ce=null,be=null,De=null,He=null;for(Le in O){var Xe=O[Le];if(O.hasOwnProperty(Le)&&Xe!=null)switch(Le){case"checked":break;case"value":break;case"defaultValue":be=Xe;default:P.hasOwnProperty(Le)||vr(h,p,Le,null,P,Xe)}}for(var Ne in P){var Le=P[Ne];if(Xe=O[Ne],P.hasOwnProperty(Ne)&&(Le!=null||Xe!=null))switch(Ne){case"type":V=Le;break;case"name":L=Le;break;case"checked":De=Le;break;case"defaultChecked":He=Le;break;case"value":J=Le;break;case"defaultValue":ce=Le;break;case"children":case"dangerouslySetInnerHTML":if(Le!=null)throw Error(r(137,p));break;default:Le!==Xe&&vr(h,p,Ne,Le,P,Xe)}}Pa(h,J,ce,be,De,He,V,L);return;case"select":Le=J=ce=Ne=null;for(V in O)if(be=O[V],O.hasOwnProperty(V)&&be!=null)switch(V){case"value":break;case"multiple":Le=be;default:P.hasOwnProperty(V)||vr(h,p,V,null,P,be)}for(L in P)if(V=P[L],be=O[L],P.hasOwnProperty(L)&&(V!=null||be!=null))switch(L){case"value":Ne=V;break;case"defaultValue":ce=V;break;case"multiple":J=V;default:V!==be&&vr(h,p,L,V,P,be)}p=ce,O=J,P=Le,Ne!=null?ke(h,!!O,Ne,!1):!!P!=!!O&&(p!=null?ke(h,!!O,p,!0):ke(h,!!O,O?[]:"",!1));return;case"textarea":Le=Ne=null;for(ce in O)if(L=O[ce],O.hasOwnProperty(ce)&&L!=null&&!P.hasOwnProperty(ce))switch(ce){case"value":break;case"children":break;default:vr(h,p,ce,null,P,L)}for(J in P)if(L=P[J],V=O[J],P.hasOwnProperty(J)&&(L!=null||V!=null))switch(J){case"value":Ne=L;break;case"defaultValue":Le=L;break;case"children":break;case"dangerouslySetInnerHTML":if(L!=null)throw Error(r(91));break;default:L!==V&&vr(h,p,J,L,P,V)}at(h,Ne,Le);return;case"option":for(var Dt in O)if(Ne=O[Dt],O.hasOwnProperty(Dt)&&Ne!=null&&!P.hasOwnProperty(Dt))switch(Dt){case"selected":h.selected=!1;break;default:vr(h,p,Dt,null,P,Ne)}for(be in P)if(Ne=P[be],Le=O[be],P.hasOwnProperty(be)&&Ne!==Le&&(Ne!=null||Le!=null))switch(be){case"selected":h.selected=Ne&&typeof Ne!="function"&&typeof Ne!="symbol";break;default:vr(h,p,be,Ne,P,Le)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Jt in O)Ne=O[Jt],O.hasOwnProperty(Jt)&&Ne!=null&&!P.hasOwnProperty(Jt)&&vr(h,p,Jt,null,P,Ne);for(De in P)if(Ne=P[De],Le=O[De],P.hasOwnProperty(De)&&Ne!==Le&&(Ne!=null||Le!=null))switch(De){case"children":case"dangerouslySetInnerHTML":if(Ne!=null)throw Error(r(137,p));break;default:vr(h,p,De,Ne,P,Le)}return;default:if(Ai(p)){for(var Sr in O)Ne=O[Sr],O.hasOwnProperty(Sr)&&Ne!==void 0&&!P.hasOwnProperty(Sr)&&l6(h,p,Sr,void 0,P,Ne);for(He in P)Ne=P[He],Le=O[He],!P.hasOwnProperty(He)||Ne===Le||Ne===void 0&&Le===void 0||l6(h,p,He,Ne,P,Le);return}}for(var Ce in O)Ne=O[Ce],O.hasOwnProperty(Ce)&&Ne!=null&&!P.hasOwnProperty(Ce)&&vr(h,p,Ce,null,P,Ne);for(Xe in P)Ne=P[Xe],Le=O[Xe],!P.hasOwnProperty(Xe)||Ne===Le||Ne==null&&Le==null||vr(h,p,Xe,Ne,P,Le)}function F9(h){switch(h){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Woe(){if(typeof performance.getEntriesByType=="function"){for(var h=0,p=0,O=performance.getEntriesByType("resource"),P=0;P<O.length;P++){var L=O[P],V=L.transferSize,J=L.initiatorType,ce=L.duration;if(V&&ce&&F9(J)){for(J=0,ce=L.responseEnd,P+=1;P<O.length;P++){var be=O[P],De=be.startTime;if(De>ce)break;var He=be.transferSize,Xe=be.initiatorType;He&&F9(Xe)&&(be=be.responseEnd,J+=He*(be<ce?1:(ce-De)/(be-De)))}if(--P,p+=8*(V+J)/(L.duration/1e3),h++,10<h)break}}if(0<h)return p/h/1e6}return navigator.connection&&(h=navigator.connection.downlink,typeof h=="number")?h:5}var c6=null,u6=null;function Sb(h){return h.nodeType===9?h:h.ownerDocument}function $9(h){switch(h){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function B9(h,p){if(h===0)switch(p){case"svg":return 1;case"math":return 2;default:return 0}return h===1&&p==="foreignObject"?0:h}function h6(h,p){return h==="textarea"||h==="noscript"||typeof p.children=="string"||typeof p.children=="number"||typeof p.children=="bigint"||typeof p.dangerouslySetInnerHTML=="object"&&p.dangerouslySetInnerHTML!==null&&p.dangerouslySetInnerHTML.__html!=null}var f6=null;function Yoe(){var h=window.event;return h&&h.type==="popstate"?h===f6?!1:(f6=h,!0):(f6=null,!1)}var V9=typeof setTimeout=="function"?setTimeout:void 0,qoe=typeof clearTimeout=="function"?clearTimeout:void 0,Q9=typeof Promise=="function"?Promise:void 0,Koe=typeof queueMicrotask=="function"?queueMicrotask:typeof Q9<"u"?function(h){return Q9.resolve(null).then(h).catch(Joe)}:V9;function Joe(h){setTimeout(function(){throw h})}function $u(h){return h==="head"}function H9(h,p){var O=p,P=0;do{var L=O.nextSibling;if(h.removeChild(O),L&&L.nodeType===8)if(O=L.data,O==="/$"||O==="/&"){if(P===0){h.removeChild(L),op(p);return}P--}else if(O==="$"||O==="$?"||O==="$~"||O==="$!"||O==="&")P++;else if(O==="html")c1(h.ownerDocument.documentElement);else if(O==="head"){O=h.ownerDocument.head,c1(O);for(var V=O.firstChild;V;){var J=V.nextSibling,ce=V.nodeName;V[gn]||ce==="SCRIPT"||ce==="STYLE"||ce==="LINK"&&V.rel.toLowerCase()==="stylesheet"||O.removeChild(V),V=J}}else O==="body"&&c1(h.ownerDocument.body);O=L}while(O);op(p)}function Z9(h,p){var O=h;h=0;do{var P=O.nextSibling;if(O.nodeType===1?p?(O._stashedDisplay=O.style.display,O.style.display="none"):(O.style.display=O._stashedDisplay||"",O.getAttribute("style")===""&&O.removeAttribute("style")):O.nodeType===3&&(p?(O._stashedText=O.nodeValue,O.nodeValue=""):O.nodeValue=O._stashedText||""),P&&P.nodeType===8)if(O=P.data,O==="/$"){if(h===0)break;h--}else O!=="$"&&O!=="$?"&&O!=="$~"&&O!=="$!"||h++;O=P}while(O)}function d6(h){var p=h.firstChild;for(p&&p.nodeType===10&&(p=p.nextSibling);p;){var O=p;switch(p=p.nextSibling,O.nodeName){case"HTML":case"HEAD":case"BODY":d6(O),br(O);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(O.rel.toLowerCase()==="stylesheet")continue}h.removeChild(O)}}function ele(h,p,O,P){for(;h.nodeType===1;){var L=O;if(h.nodeName.toLowerCase()!==p.toLowerCase()){if(!P&&(h.nodeName!=="INPUT"||h.type!=="hidden"))break}else if(P){if(!h[gn])switch(p){case"meta":if(!h.hasAttribute("itemprop"))break;return h;case"link":if(V=h.getAttribute("rel"),V==="stylesheet"&&h.hasAttribute("data-precedence"))break;if(V!==L.rel||h.getAttribute("href")!==(L.href==null||L.href===""?null:L.href)||h.getAttribute("crossorigin")!==(L.crossOrigin==null?null:L.crossOrigin)||h.getAttribute("title")!==(L.title==null?null:L.title))break;return h;case"style":if(h.hasAttribute("data-precedence"))break;return h;case"script":if(V=h.getAttribute("src"),(V!==(L.src==null?null:L.src)||h.getAttribute("type")!==(L.type==null?null:L.type)||h.getAttribute("crossorigin")!==(L.crossOrigin==null?null:L.crossOrigin))&&V&&h.hasAttribute("async")&&!h.hasAttribute("itemprop"))break;return h;default:return h}}else if(p==="input"&&h.type==="hidden"){var V=L.name==null?null:""+L.name;if(L.type==="hidden"&&h.getAttribute("name")===V)return h}else return h;if(h=mo(h.nextSibling),h===null)break}return null}function tle(h,p,O){if(p==="")return null;for(;h.nodeType!==3;)if((h.nodeType!==1||h.nodeName!=="INPUT"||h.type!=="hidden")&&!O||(h=mo(h.nextSibling),h===null))return null;return h}function z9(h,p){for(;h.nodeType!==8;)if((h.nodeType!==1||h.nodeName!=="INPUT"||h.type!=="hidden")&&!p||(h=mo(h.nextSibling),h===null))return null;return h}function p6(h){return h.data==="$?"||h.data==="$~"}function m6(h){return h.data==="$!"||h.data==="$?"&&h.ownerDocument.readyState!=="loading"}function nle(h,p){var O=h.ownerDocument;if(h.data==="$~")h._reactRetry=p;else if(h.data!=="$?"||O.readyState!=="loading")p();else{var P=function(){p(),O.removeEventListener("DOMContentLoaded",P)};O.addEventListener("DOMContentLoaded",P),h._reactRetry=P}}function mo(h){for(;h!=null;h=h.nextSibling){var p=h.nodeType;if(p===1||p===3)break;if(p===8){if(p=h.data,p==="$"||p==="$!"||p==="$?"||p==="$~"||p==="&"||p==="F!"||p==="F")break;if(p==="/$"||p==="/&")return null}}return h}var g6=null;function X9(h){h=h.nextSibling;for(var p=0;h;){if(h.nodeType===8){var O=h.data;if(O==="/$"||O==="/&"){if(p===0)return mo(h.nextSibling);p--}else O!=="$"&&O!=="$!"&&O!=="$?"&&O!=="$~"&&O!=="&"||p++}h=h.nextSibling}return null}function U9(h){h=h.previousSibling;for(var p=0;h;){if(h.nodeType===8){var O=h.data;if(O==="$"||O==="$!"||O==="$?"||O==="$~"||O==="&"){if(p===0)return h;p--}else O!=="/$"&&O!=="/&"||p++}h=h.previousSibling}return null}function G9(h,p,O){switch(p=Sb(O),h){case"html":if(h=p.documentElement,!h)throw Error(r(452));return h;case"head":if(h=p.head,!h)throw Error(r(453));return h;case"body":if(h=p.body,!h)throw Error(r(454));return h;default:throw Error(r(451))}}function c1(h){for(var p=h.attributes;p.length;)h.removeAttributeNode(p[0]);br(h)}var go=new Map,W9=new Set;function Ob(h){return typeof h.getRootNode=="function"?h.getRootNode():h.nodeType===9?h:h.ownerDocument}var Sc=ne.d;ne.d={f:rle,r:ile,D:sle,C:ale,L:ole,m:lle,X:ule,S:cle,M:hle};function rle(){var h=Sc.f(),p=pb();return h||p}function ile(h){var p=qn(h);p!==null&&p.tag===5&&p.type==="form"?f7(p):Sc.r(h)}var ip=typeof document>"u"?null:document;function Y9(h,p,O){var P=ip;if(P&&typeof p=="string"&&p){var L=bi(p);L='link[rel="'+h+'"][href="'+L+'"]',typeof O=="string"&&(L+='[crossorigin="'+O+'"]'),W9.has(L)||(W9.add(L),h={rel:h,crossOrigin:O,href:p},P.querySelector(L)===null&&(p=P.createElement("link"),us(p,"link",h),wn(p),P.head.appendChild(p)))}}function sle(h){Sc.D(h),Y9("dns-prefetch",h,null)}function ale(h,p){Sc.C(h,p),Y9("preconnect",h,p)}function ole(h,p,O){Sc.L(h,p,O);var P=ip;if(P&&h&&p){var L='link[rel="preload"][as="'+bi(p)+'"]';p==="image"&&O&&O.imageSrcSet?(L+='[imagesrcset="'+bi(O.imageSrcSet)+'"]',typeof O.imageSizes=="string"&&(L+='[imagesizes="'+bi(O.imageSizes)+'"]')):L+='[href="'+bi(h)+'"]';var V=L;switch(p){case"style":V=sp(h);break;case"script":V=ap(h)}go.has(V)||(h=f({rel:"preload",href:p==="image"&&O&&O.imageSrcSet?void 0:h,as:p},O),go.set(V,h),P.querySelector(L)!==null||p==="style"&&P.querySelector(u1(V))||p==="script"&&P.querySelector(h1(V))||(p=P.createElement("link"),us(p,"link",h),wn(p),P.head.appendChild(p)))}}function lle(h,p){Sc.m(h,p);var O=ip;if(O&&h){var P=p&&typeof p.as=="string"?p.as:"script",L='link[rel="modulepreload"][as="'+bi(P)+'"][href="'+bi(h)+'"]',V=L;switch(P){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":V=ap(h)}if(!go.has(V)&&(h=f({rel:"modulepreload",href:h},p),go.set(V,h),O.querySelector(L)===null)){switch(P){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(O.querySelector(h1(V)))return}P=O.createElement("link"),us(P,"link",h),wn(P),O.head.appendChild(P)}}}function cle(h,p,O){Sc.S(h,p,O);var P=ip;if(P&&h){var L=Bn(P).hoistableStyles,V=sp(h);p=p||"default";var J=L.get(V);if(!J){var ce={loading:0,preload:null};if(J=P.querySelector(u1(V)))ce.loading=5;else{h=f({rel:"stylesheet",href:h,"data-precedence":p},O),(O=go.get(V))&&y6(h,O);var be=J=P.createElement("link");wn(be),us(be,"link",h),be._p=new Promise(function(De,He){be.onload=De,be.onerror=He}),be.addEventListener("load",function(){ce.loading|=1}),be.addEventListener("error",function(){ce.loading|=2}),ce.loading|=4,wb(J,p,P)}J={type:"stylesheet",instance:J,count:1,state:ce},L.set(V,J)}}}function ule(h,p){Sc.X(h,p);var O=ip;if(O&&h){var P=Bn(O).hoistableScripts,L=ap(h),V=P.get(L);V||(V=O.querySelector(h1(L)),V||(h=f({src:h,async:!0},p),(p=go.get(L))&&x6(h,p),V=O.createElement("script"),wn(V),us(V,"link",h),O.head.appendChild(V)),V={type:"script",instance:V,count:1,state:null},P.set(L,V))}}function hle(h,p){Sc.M(h,p);var O=ip;if(O&&h){var P=Bn(O).hoistableScripts,L=ap(h),V=P.get(L);V||(V=O.querySelector(h1(L)),V||(h=f({src:h,async:!0,type:"module"},p),(p=go.get(L))&&x6(h,p),V=O.createElement("script"),wn(V),us(V,"link",h),O.head.appendChild(V)),V={type:"script",instance:V,count:1,state:null},P.set(L,V))}}function q9(h,p,O,P){var L=(L=te.current)?Ob(L):null;if(!L)throw Error(r(446));switch(h){case"meta":case"title":return null;case"style":return typeof O.precedence=="string"&&typeof O.href=="string"?(p=sp(O.href),O=Bn(L).hoistableStyles,P=O.get(p),P||(P={type:"style",instance:null,count:0,state:null},O.set(p,P)),P):{type:"void",instance:null,count:0,state:null};case"link":if(O.rel==="stylesheet"&&typeof O.href=="string"&&typeof O.precedence=="string"){h=sp(O.href);var V=Bn(L).hoistableStyles,J=V.get(h);if(J||(L=L.ownerDocument||L,J={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},V.set(h,J),(V=L.querySelector(u1(h)))&&!V._p&&(J.instance=V,J.state.loading=5),go.has(h)||(O={rel:"preload",as:"style",href:O.href,crossOrigin:O.crossOrigin,integrity:O.integrity,media:O.media,hrefLang:O.hrefLang,referrerPolicy:O.referrerPolicy},go.set(h,O),V||fle(L,h,O,J.state))),p&&P===null)throw Error(r(528,""));return J}if(p&&P!==null)throw Error(r(529,""));return null;case"script":return p=O.async,O=O.src,typeof O=="string"&&p&&typeof p!="function"&&typeof p!="symbol"?(p=ap(O),O=Bn(L).hoistableScripts,P=O.get(p),P||(P={type:"script",instance:null,count:0,state:null},O.set(p,P)),P):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,h))}}function sp(h){return'href="'+bi(h)+'"'}function u1(h){return'link[rel="stylesheet"]['+h+"]"}function K9(h){return f({},h,{"data-precedence":h.precedence,precedence:null})}function fle(h,p,O,P){h.querySelector('link[rel="preload"][as="style"]['+p+"]")?P.loading=1:(p=h.createElement("link"),P.preload=p,p.addEventListener("load",function(){return P.loading|=1}),p.addEventListener("error",function(){return P.loading|=2}),us(p,"link",O),wn(p),h.head.appendChild(p))}function ap(h){return'[src="'+bi(h)+'"]'}function h1(h){return"script[async]"+h}function J9(h,p,O){if(p.count++,p.instance===null)switch(p.type){case"style":var P=h.querySelector('style[data-href~="'+bi(O.href)+'"]');if(P)return p.instance=P,wn(P),P;var L=f({},O,{"data-href":O.href,"data-precedence":O.precedence,href:null,precedence:null});return P=(h.ownerDocument||h).createElement("style"),wn(P),us(P,"style",L),wb(P,O.precedence,h),p.instance=P;case"stylesheet":L=sp(O.href);var V=h.querySelector(u1(L));if(V)return p.state.loading|=4,p.instance=V,wn(V),V;P=K9(O),(L=go.get(L))&&y6(P,L),V=(h.ownerDocument||h).createElement("link"),wn(V);var J=V;return J._p=new Promise(function(ce,be){J.onload=ce,J.onerror=be}),us(V,"link",P),p.state.loading|=4,wb(V,O.precedence,h),p.instance=V;case"script":return V=ap(O.src),(L=h.querySelector(h1(V)))?(p.instance=L,wn(L),L):(P=O,(L=go.get(V))&&(P=f({},O),x6(P,L)),h=h.ownerDocument||h,L=h.createElement("script"),wn(L),us(L,"link",P),h.head.appendChild(L),p.instance=L);case"void":return null;default:throw Error(r(443,p.type))}else p.type==="stylesheet"&&(p.state.loading&4)===0&&(P=p.instance,p.state.loading|=4,wb(P,O.precedence,h));return p.instance}function wb(h,p,O){for(var P=O.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),L=P.length?P[P.length-1]:null,V=L,J=0;J<P.length;J++){var ce=P[J];if(ce.dataset.precedence===p)V=ce;else if(V!==L)break}V?V.parentNode.insertBefore(h,V.nextSibling):(p=O.nodeType===9?O.head:O,p.insertBefore(h,p.firstChild))}function y6(h,p){h.crossOrigin==null&&(h.crossOrigin=p.crossOrigin),h.referrerPolicy==null&&(h.referrerPolicy=p.referrerPolicy),h.title==null&&(h.title=p.title)}function x6(h,p){h.crossOrigin==null&&(h.crossOrigin=p.crossOrigin),h.referrerPolicy==null&&(h.referrerPolicy=p.referrerPolicy),h.integrity==null&&(h.integrity=p.integrity)}var Cb=null;function eI(h,p,O){if(Cb===null){var P=new Map,L=Cb=new Map;L.set(O,P)}else L=Cb,P=L.get(O),P||(P=new Map,L.set(O,P));if(P.has(h))return P;for(P.set(h,null),O=O.getElementsByTagName(h),L=0;L<O.length;L++){var V=O[L];if(!(V[gn]||V[mn]||h==="link"&&V.getAttribute("rel")==="stylesheet")&&V.namespaceURI!=="http://www.w3.org/2000/svg"){var J=V.getAttribute(p)||"";J=h+J;var ce=P.get(J);ce?ce.push(V):P.set(J,[V])}}return P}function tI(h,p,O){h=h.ownerDocument||h,h.head.insertBefore(O,p==="title"?h.querySelector("head > title"):null)}function dle(h,p,O){if(O===1||p.itemProp!=null)return!1;switch(h){case"meta":case"title":return!0;case"style":if(typeof p.precedence!="string"||typeof p.href!="string"||p.href==="")break;return!0;case"link":if(typeof p.rel!="string"||typeof p.href!="string"||p.href===""||p.onLoad||p.onError)break;switch(p.rel){case"stylesheet":return h=p.disabled,typeof p.precedence=="string"&&h==null;default:return!0}case"script":if(p.async&&typeof p.async!="function"&&typeof p.async!="symbol"&&!p.onLoad&&!p.onError&&p.src&&typeof p.src=="string")return!0}return!1}function nI(h){return!(h.type==="stylesheet"&&(h.state.loading&3)===0)}function ple(h,p,O,P){if(O.type==="stylesheet"&&(typeof P.media!="string"||matchMedia(P.media).matches!==!1)&&(O.state.loading&4)===0){if(O.instance===null){var L=sp(P.href),V=p.querySelector(u1(L));if(V){p=V._p,p!==null&&typeof p=="object"&&typeof p.then=="function"&&(h.count++,h=Eb.bind(h),p.then(h,h)),O.state.loading|=4,O.instance=V,wn(V);return}V=p.ownerDocument||p,P=K9(P),(L=go.get(L))&&y6(P,L),V=V.createElement("link"),wn(V);var J=V;J._p=new Promise(function(ce,be){J.onload=ce,J.onerror=be}),us(V,"link",P),O.instance=V}h.stylesheets===null&&(h.stylesheets=new Map),h.stylesheets.set(O,p),(p=O.state.preload)&&(O.state.loading&3)===0&&(h.count++,O=Eb.bind(h),p.addEventListener("load",O),p.addEventListener("error",O))}}var b6=0;function mle(h,p){return h.stylesheets&&h.count===0&&Tb(h,h.stylesheets),0<h.count||0<h.imgCount?function(O){var P=setTimeout(function(){if(h.stylesheets&&Tb(h,h.stylesheets),h.unsuspend){var V=h.unsuspend;h.unsuspend=null,V()}},6e4+p);0<h.imgBytes&&b6===0&&(b6=62500*Woe());var L=setTimeout(function(){if(h.waitingForImages=!1,h.count===0&&(h.stylesheets&&Tb(h,h.stylesheets),h.unsuspend)){var V=h.unsuspend;h.unsuspend=null,V()}},(h.imgBytes>b6?50:800)+p);return h.unsuspend=O,function(){h.unsuspend=null,clearTimeout(P),clearTimeout(L)}}:null}function Eb(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Tb(this,this.stylesheets);else if(this.unsuspend){var h=this.unsuspend;this.unsuspend=null,h()}}}var kb=null;function Tb(h,p){h.stylesheets=null,h.unsuspend!==null&&(h.count++,kb=new Map,p.forEach(gle,h),kb=null,Eb.call(h))}function gle(h,p){if(!(p.state.loading&4)){var O=kb.get(h);if(O)var P=O.get(null);else{O=new Map,kb.set(h,O);for(var L=h.querySelectorAll("link[data-precedence],style[data-precedence]"),V=0;V<L.length;V++){var J=L[V];(J.nodeName==="LINK"||J.getAttribute("media")!=="not all")&&(O.set(J.dataset.precedence,J),P=J)}P&&O.set(null,P)}L=p.instance,J=L.getAttribute("data-precedence"),V=O.get(J)||P,V===P&&O.set(null,L),O.set(J,L),this.count++,P=Eb.bind(this),L.addEventListener("load",P),L.addEventListener("error",P),V?V.parentNode.insertBefore(L,V.nextSibling):(h=h.nodeType===9?h.head:h,h.insertBefore(L,h.firstChild)),p.state.loading|=4}}var f1={$$typeof:k,Provider:null,Consumer:null,_currentValue:se,_currentValue2:se,_threadCount:0};function yle(h,p,O,P,L,V,J,ce,be){this.tag=1,this.containerInfo=h,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=$n(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$n(0),this.hiddenUpdates=$n(null),this.identifierPrefix=P,this.onUncaughtError=L,this.onCaughtError=V,this.onRecoverableError=J,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=be,this.incompleteTransitions=new Map}function rI(h,p,O,P,L,V,J,ce,be,De,He,Xe){return h=new yle(h,p,O,J,be,De,He,Xe,ce),p=1,V===!0&&(p|=24),V=Na(3,null,null,p),h.current=V,V.stateNode=h,p=Kw(),p.refCount++,h.pooledCache=p,p.refCount++,V.memoizedState={element:P,isDehydrated:O,cache:p},n4(V),h}function iI(h){return h?(h=jd,h):jd}function sI(h,p,O,P,L,V){L=iI(L),P.context===null?P.context=L:P.pendingContext=L,P=Tu(p),P.payload={element:O},V=V===void 0?null:V,V!==null&&(P.callback=V),O=Pu(h,P,p),O!==null&&(ia(O,h,p),Zm(O,h,p))}function aI(h,p){if(h=h.memoizedState,h!==null&&h.dehydrated!==null){var O=h.retryLane;h.retryLane=O!==0&&O<p?O:p}}function A6(h,p){aI(h,p),(h=h.alternate)&&aI(h,p)}function oI(h){if(h.tag===13||h.tag===31){var p=Wh(h,67108864);p!==null&&ia(p,h,67108864),A6(h,67108864)}}function lI(h){if(h.tag===13||h.tag===31){var p=ja();p=kn(p);var O=Wh(h,p);O!==null&&ia(O,h,p),A6(h,p)}}var Pb=!0;function xle(h,p,O,P){var L=W.T;W.T=null;var V=ne.p;try{ne.p=2,v6(h,p,O,P)}finally{ne.p=V,W.T=L}}function ble(h,p,O,P){var L=W.T;W.T=null;var V=ne.p;try{ne.p=8,v6(h,p,O,P)}finally{ne.p=V,W.T=L}}function v6(h,p,O,P){if(Pb){var L=S6(P);if(L===null)o6(h,p,P,Mb,O),uI(h,P);else if(vle(L,h,p,O,P))P.stopPropagation();else if(uI(h,P),p&4&&-1<Ale.indexOf(h)){for(;L!==null;){var V=qn(L);if(V!==null)switch(V.tag){case 3:if(V=V.stateNode,V.current.memoizedState.isDehydrated){var J=we(V.pendingLanes);if(J!==0){var ce=V;for(ce.pendingLanes|=2,ce.entangledLanes|=2;J;){var be=1<<31-_e(J);ce.entanglements[1]|=be,J&=~be}vl(V),(ir&6)===0&&(fb=Ue()+500,a1(0))}}break;case 31:case 13:ce=Wh(V,2),ce!==null&&ia(ce,V,2),pb(),A6(V,2)}if(V=S6(P),V===null&&o6(h,p,P,Mb,O),V===L)break;L=V}L!==null&&P.stopPropagation()}else o6(h,p,P,null,O)}}function S6(h){return h=Qi(h),O6(h)}var Mb=null;function O6(h){if(Mb=null,h=Ur(h),h!==null){var p=s(h);if(p===null)h=null;else{var O=p.tag;if(O===13){if(h=a(p),h!==null)return h;h=null}else if(O===31){if(h=o(p),h!==null)return h;h=null}else if(O===3){if(p.stateNode.current.memoizedState.isDehydrated)return p.tag===3?p.stateNode.containerInfo:null;h=null}else p!==h&&(h=null)}}return Mb=h,null}function cI(h){switch(h){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(tt()){case St:return 2;case Tt:return 8;case nt:case vt:return 32;case Xt:return 268435456;default:return 32}default:return 32}}var w6=!1,Bu=null,Vu=null,Qu=null,d1=new Map,p1=new Map,Hu=[],Ale="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function uI(h,p){switch(h){case"focusin":case"focusout":Bu=null;break;case"dragenter":case"dragleave":Vu=null;break;case"mouseover":case"mouseout":Qu=null;break;case"pointerover":case"pointerout":d1.delete(p.pointerId);break;case"gotpointercapture":case"lostpointercapture":p1.delete(p.pointerId)}}function m1(h,p,O,P,L,V){return h===null||h.nativeEvent!==V?(h={blockedOn:p,domEventName:O,eventSystemFlags:P,nativeEvent:V,targetContainers:[L]},p!==null&&(p=qn(p),p!==null&&oI(p)),h):(h.eventSystemFlags|=P,p=h.targetContainers,L!==null&&p.indexOf(L)===-1&&p.push(L),h)}function vle(h,p,O,P,L){switch(p){case"focusin":return Bu=m1(Bu,h,p,O,P,L),!0;case"dragenter":return Vu=m1(Vu,h,p,O,P,L),!0;case"mouseover":return Qu=m1(Qu,h,p,O,P,L),!0;case"pointerover":var V=L.pointerId;return d1.set(V,m1(d1.get(V)||null,h,p,O,P,L)),!0;case"gotpointercapture":return V=L.pointerId,p1.set(V,m1(p1.get(V)||null,h,p,O,P,L)),!0}return!1}function hI(h){var p=Ur(h.target);if(p!==null){var O=s(p);if(O!==null){if(p=O.tag,p===13){if(p=a(O),p!==null){h.blockedOn=p,xr(h.priority,function(){lI(O)});return}}else if(p===31){if(p=o(O),p!==null){h.blockedOn=p,xr(h.priority,function(){lI(O)});return}}else if(p===3&&O.stateNode.current.memoizedState.isDehydrated){h.blockedOn=O.tag===3?O.stateNode.containerInfo:null;return}}}h.blockedOn=null}function Db(h){if(h.blockedOn!==null)return!1;for(var p=h.targetContainers;0<p.length;){var O=S6(h.nativeEvent);if(O===null){O=h.nativeEvent;var P=new O.constructor(O.type,O);Vr=P,O.target.dispatchEvent(P),Vr=null}else return p=qn(O),p!==null&&oI(p),h.blockedOn=O,!1;p.shift()}return!0}function fI(h,p,O){Db(h)&&O.delete(p)}function Sle(){w6=!1,Bu!==null&&Db(Bu)&&(Bu=null),Vu!==null&&Db(Vu)&&(Vu=null),Qu!==null&&Db(Qu)&&(Qu=null),d1.forEach(fI),p1.forEach(fI)}function Nb(h,p){h.blockedOn===p&&(h.blockedOn=null,w6||(w6=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Sle)))}var _b=null;function dI(h){_b!==h&&(_b=h,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){_b===h&&(_b=null);for(var p=0;p<h.length;p+=3){var O=h[p],P=h[p+1],L=h[p+2];if(typeof P!="function"){if(O6(P||O)===null)continue;break}var V=qn(O);V!==null&&(h.splice(p,3),p-=3,S4(V,{pending:!0,data:L,method:O.method,action:P},P,L))}}))}function op(h){function p(be){return Nb(be,h)}Bu!==null&&Nb(Bu,h),Vu!==null&&Nb(Vu,h),Qu!==null&&Nb(Qu,h),d1.forEach(p),p1.forEach(p);for(var O=0;O<Hu.length;O++){var P=Hu[O];P.blockedOn===h&&(P.blockedOn=null)}for(;0<Hu.length&&(O=Hu[0],O.blockedOn===null);)hI(O),O.blockedOn===null&&Hu.shift();if(O=(h.ownerDocument||h).$$reactFormReplay,O!=null)for(P=0;P<O.length;P+=3){var L=O[P],V=O[P+1],J=L[Nn]||null;if(typeof V=="function")J||dI(O);else if(J){var ce=null;if(V&&V.hasAttribute("formAction")){if(L=V,J=V[Nn]||null)ce=J.formAction;else if(O6(L)!==null)continue}else ce=J.action;typeof ce=="function"?O[P+1]=ce:(O.splice(P,3),P-=3),dI(O)}}}function pI(){function h(V){V.canIntercept&&V.info==="react-transition"&&V.intercept({handler:function(){return new Promise(function(J){return L=J})},focusReset:"manual",scroll:"manual"})}function p(){L!==null&&(L(),L=null),P||setTimeout(O,20)}function O(){if(!P&&!navigation.transition){var V=navigation.currentEntry;V&&V.url!=null&&navigation.navigate(V.url,{state:V.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var P=!1,L=null;return navigation.addEventListener("navigate",h),navigation.addEventListener("navigatesuccess",p),navigation.addEventListener("navigateerror",p),setTimeout(O,100),function(){P=!0,navigation.removeEventListener("navigate",h),navigation.removeEventListener("navigatesuccess",p),navigation.removeEventListener("navigateerror",p),L!==null&&(L(),L=null)}}}function C6(h){this._internalRoot=h}Ib.prototype.render=C6.prototype.render=function(h){var p=this._internalRoot;if(p===null)throw Error(r(409));var O=p.current,P=ja();sI(O,P,h,p,null,null)},Ib.prototype.unmount=C6.prototype.unmount=function(){var h=this._internalRoot;if(h!==null){this._internalRoot=null;var p=h.containerInfo;sI(h.current,2,null,h,null,null),pb(),p[Hn]=null}};function Ib(h){this._internalRoot=h}Ib.prototype.unstable_scheduleHydration=function(h){if(h){var p=bt();h={blockedOn:null,target:h,priority:p};for(var O=0;O<Hu.length&&p!==0&&p<Hu[O].priority;O++);Hu.splice(O,0,h),O===0&&hI(h)}};var mI=e.version;if(mI!=="19.2.6")throw Error(r(527,mI,"19.2.6"));ne.findDOMNode=function(h){var p=h._reactInternals;if(p===void 0)throw typeof h.render=="function"?Error(r(188)):(h=Object.keys(h).join(","),Error(r(268,h)));return h=c(p),h=h!==null?u(h):null,h=h===null?null:h.stateNode,h};var Ole={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:W,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Rb=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Rb.isDisabled&&Rb.supportsFiber)try{At=Rb.inject(Ole),mt=Rb}catch{}}return y1.createRoot=function(h,p){if(!i(h))throw Error(r(299));var O=!1,P="",L=S7,V=O7,J=w7;return p!=null&&(p.unstable_strictMode===!0&&(O=!0),p.identifierPrefix!==void 0&&(P=p.identifierPrefix),p.onUncaughtError!==void 0&&(L=p.onUncaughtError),p.onCaughtError!==void 0&&(V=p.onCaughtError),p.onRecoverableError!==void 0&&(J=p.onRecoverableError)),p=rI(h,1,!1,null,null,O,P,null,L,V,J,pI),h[Hn]=p.current,a6(h),new C6(p)},y1.hydrateRoot=function(h,p,O){if(!i(h))throw Error(r(299));var P=!1,L="",V=S7,J=O7,ce=w7,be=null;return O!=null&&(O.unstable_strictMode===!0&&(P=!0),O.identifierPrefix!==void 0&&(L=O.identifierPrefix),O.onUncaughtError!==void 0&&(V=O.onUncaughtError),O.onCaughtError!==void 0&&(J=O.onCaughtError),O.onRecoverableError!==void 0&&(ce=O.onRecoverableError),O.formState!==void 0&&(be=O.formState)),p=rI(h,1,!0,p,O??null,P,L,be,V,J,ce,pI),p.context=iI(null),O=p.current,P=ja(),P=kn(P),L=Tu(P),L.callback=null,Pu(O,L,P),O=P,p.current.lanes=O,bn(p,O),vl(p),h[Hn]=p.current,a6(h),new Ib(p)},y1.version="19.2.6",y1}var CI;function Ile(){if(CI)return T6.exports;CI=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),T6.exports=_le(),T6.exports}var Rle=Ile();function My(){return typeof crypto<"u"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():`${Date.now()}-${Math.random().toString(36).slice(2)}`}function a8(){try{return typeof localStorage>"u"?null:localStorage}catch{return null}}function XZ(){try{return typeof sessionStorage>"u"?null:sessionStorage}catch{return null}}const UZ="hyperframes-studio:anonymousId",GZ="hf-studio-anon-id";let cf=null;function Lle(){try{const t=typeof window>"u"?void 0:window.__HF_CLI_DISTINCT_ID;return typeof t=="string"&&t.length>0?t:null}catch{return null}}function N6(t,e){for(const n of[UZ,GZ])try{t.setItem(n,e)}catch{}}function WZ(){if(cf)return cf;const t=a8(),e=Lle();if(e)return cf=e,t&&N6(t,e),e;if(t){let r=null;try{r=t.getItem(UZ)??t.getItem(GZ)}catch{}if(r)return cf=r,N6(t,r),r}else return cf="anonymous",cf;const n=My();return cf=n,N6(t,n),n}const jle="hyperframes-studio:telemetryDisabled",YZ="hyperframes-studio:telemetryNoticeShown";function qZ(){return WZ()}function Fle(){var t;return((t=a8())==null?void 0:t.getItem(jle))==="1"}function $le(){var t;return((t=a8())==null?void 0:t.getItem(YZ))==="1"}function Ble(){var t;try{(t=a8())==null||t.setItem(YZ,"1")}catch{}}const KZ="hyperframes-studio:sessionStartFired";function Vle(){var t;return((t=XZ())==null?void 0:t.getItem(KZ))==="1"}function Qle(){var t;try{(t=XZ())==null||t.setItem(KZ,"1")}catch{}}const Hle={user_agent:"",language:"",screen_width:0,screen_height:0,device_pixel_ratio:0,timezone_offset_minutes:0,is_mobile:!1,studio_version:"dev"};let lp=null;function Zle(){if(lp)return lp;if(typeof navigator>"u"||typeof window>"u")return lp=Hle,lp;const t=navigator.userAgent,e=window.screen;return lp={user_agent:t,language:navigator.language,screen_width:e.width,screen_height:e.height,device_pixel_ratio:window.devicePixelRatio,timezone_offset_minutes:new Date().getTimezoneOffset(),is_mobile:/Android|iPhone|iPad/i.test(t),studio_version:"0.7.44"},lp}const JZ="phc_zjjbX0PnWxERXrMHhkEJWj9A9BhGVLRReICgsfTMmpx",zle="https://us.i.posthog.com",Xle=1e3;let Av=[],_6=null,jb=null;function Ule(){return typeof navigator<"u"&&navigator.doNotTrack==="1"}function Gle(){return JZ.startsWith("phc_")}function Wle(){try{return!1}catch{return!1}}function Yle(){try{return!1}catch{return!1}}function qle(){return jb!==null||(jb=Gle()&&!Wle()&&!Yle()&&!Fle()&&!Ule()),jb}function X0(t,e={}){if(!qle())return;const n=Zle();Av.push({event:t,properties:{...e,...n},timestamp:new Date().toISOString()}),_6===null&&(_6=setTimeout(()=>{_6=null,KE()},Xle)),Jle()}function KE(){if(Av.length===0)return;const t=qZ(),e=Av.map(n=>({event:n.event,properties:{...n.properties,$ip:null},distinct_id:t,timestamp:n.timestamp}));Av=[],Kle(`${zle}/batch/`,JSON.stringify({api_key:JZ,batch:e}))}function Kle(t,e){try{fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},body:e,keepalive:!0}).catch(()=>{});return}catch{}try{navigator.sendBeacon(t,new Blob([e],{type:"application/json"}))}catch{}}function Jle(){$le()||(Ble(),console.info("%c[HyperFrames]%c Anonymous studio usage analytics enabled. Disable: localStorage.setItem('hyperframes-studio:telemetryDisabled','1') (then reload).","color:#7c3aed;font-weight:bold","color:inherit"))}typeof window<"u"&&(window.addEventListener("pagehide",()=>KE(),{capture:!0}),window.addEventListener("visibilitychange",()=>{typeof document<"u"&&document.visibilityState==="hidden"&&KE()}));function ece(t){X0("studio_session_start",{has_project:t.has_project})}function tce(t){X0("studio_render_start",{fps:t.fps,quality:t.quality,format:t.format,resolution:t.resolution,composition:t.composition})}function nce(){var t,e;try{const n=navigator,i=[`ua=${((t=n.userAgentData)==null?void 0:t.platform)??navigator.platform??"unknown"}`,`screen=${screen.width}x${screen.height}@${devicePixelRatio}x`,`lang=${navigator.language}`];return n.deviceMemory&&i.push(`mem=${n.deviceMemory}GB`),(e=n.connection)!=null&&e.effectiveType&&i.push(`net=${n.connection.effectiveType}`),navigator.hardwareConcurrency&&i.push(`cpu=${navigator.hardwareConcurrency}cores`),i.join(" ")}catch{return""}}function EI(t){X0("studio_razor_split",{mode:t.mode,count:t.count})}function Fb(t){X0("studio_expanded_clip_edit",{action:t.action})}function rce(t){X0("survey sent",{$survey_id:"studio_experience",$survey_response:t.rating,...t.comment?{$survey_response_2:t.comment}:{},doctor_summary:nce(),source:"studio"})}function ez(t){return`hf-studio-hidden-renders:${t}`}function kI(t){try{const e=window.localStorage.getItem(ez(t)),n=e?JSON.parse(e):[];return new Set(Array.isArray(n)?n.filter(r=>typeof r=="string"):[])}catch{return new Set}}function ice(t,e){try{window.localStorage.setItem(ez(t),JSON.stringify([...e].slice(-200)))}catch{}}function sce(t){const[e,n]=b.useState([]),[r,i]=b.useState(null),[s,a]=b.useState(null),o=b.useRef(null),l=b.useRef(null),c=b.useCallback(A=>{var w;A&&l.current!==A||((w=o.current)==null||w.close(),o.current=null,l.current=null)},[]),u=b.useCallback(async()=>{if(t)try{const A=await fetch(`/api/projects/${t}/renders`);if(!A.ok){i(`Couldn't load render history (server error ${A.status}).`);return}const w=await A.json();if(i(null),Array.isArray(w.renders)){const k=kI(t);n(T=>{const M=new Set(T.map(D=>D.id)),_=w.renders.filter(D=>!M.has(D.id)&&!k.has(D.id)).map(D=>({id:D.id,status:D.status==="failed"?"failed":"complete",progress:100,filename:D.filename,createdAt:D.createdAt,durationMs:D.durationMs}));return[...T,..._]})}}catch{i("Couldn't load render history. Is the studio server running?")}},[t]);b.useEffect(()=>{u()},[u]);const f=b.useCallback(async(A={})=>{if(!t)return;const w=A.fps??30,k=A.quality??"standard",T=A.format??"mp4",M=A.resolution,_=A.composition;tce({fps:w,quality:k,format:T,resolution:M,composition:_});const D=Date.now(),I={fps:w,quality:k,format:T,telemetryDistinctId:qZ()};M&&M!=="auto"&&(I.resolution=M),_&&(I.composition=_);let j;try{j=await fetch(`/api/projects/${t}/render`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(I)})}catch{const re={id:My(),status:"failed",progress:0,error:"Could not reach render server. Use `hyperframes render` from the CLI instead.",filename:"Export failed",createdAt:D};n(W=>[...W,re]);return}if(!j.ok){const re={id:My(),status:"failed",progress:0,error:`Server error (${j.status}). Check the terminal for details.`,filename:"Export failed",createdAt:D};n(W=>[...W,re]);return}const{jobId:$}=await j.json(),Q={mp4:".mp4",webm:".webm",mov:".mov"}[T]??".mp4",z={id:$,status:"rendering",progress:0,filename:`${$}${Q}`,createdAt:D};n(re=>[...re,z]),l.current=$;const q=new EventSource(`/api/render/${$}/progress`);return o.current=q,q.addEventListener("progress",re=>{try{const W=JSON.parse(re.data),ne=W.status==="complete"||W.status==="failed"||W.status==="cancelled";n(se=>se.map(he=>he.id===$?{...he,progress:W.progress??he.progress,stage:W.stage??W.message??he.stage,status:ne?W.status:he.status,durationMs:W.status==="complete"?Date.now()-D:void 0,error:W.error??he.error}:he)),ne&&c($)}catch{}}),q.onerror=()=>{q.close(),n(re=>re.map(W=>W.id===$&&W.status==="rendering"?{...W,status:"failed",error:"Connection lost. Is the render server running?"}:W)),l.current=null},$},[t,c]),d=b.useCallback(async A=>{a(null),c(A),n(w=>w.map(k=>k.id===A&&k.status==="rendering"?{...k,status:"cancelled"}:k));try{const w=await fetch(`/api/render/${A}/cancel`,{method:"POST"});if(!w.ok&&w.status!==404){a("Couldn't cancel on the server — the render may still be running.");return}if(w.ok){const k=await w.json().catch(()=>null);k!=null&&k.status&&k.status!=="cancelled"&&u()}}catch{a("Couldn't reach the server to cancel — the render may still be running.")}},[c,u]),m=b.useCallback(async A=>{a(null),c(A);try{if(!(await fetch(`/api/render/${A}`,{method:"DELETE"})).ok){a("Couldn't delete the render — it's still on disk.");return}}catch{a("Couldn't reach the server to delete the render.");return}n(w=>w.filter(k=>k.id!==A))},[c]),x=b.useCallback(()=>{n(A=>{const w=A.filter(k=>k.status!=="rendering");if(t&&w.length>0){const k=kI(t);for(const T of w)k.add(T.id);ice(t,k)}return A.filter(k=>k.status==="rendering")})},[t]),g=b.useCallback(()=>a(null),[]);b.useEffect(()=>()=>{var A;(A=o.current)==null||A.close(),o.current=null},[t]);const v=e.some(A=>A.status==="rendering");return b.useMemo(()=>({jobs:e,isRendering:v,loadError:r,actionError:s,dismissActionError:g,reloadRenders:u,deleteRender:m,cancelRender:d,clearCompleted:x,startRender:f}),[e,v,r,s,g,u,m,d,x,f])}const ace="modulepreload",oce=function(t){return"/"+t},TI={},o8=function(e,n,r){let i=Promise.resolve();if(n&&n.length>0){let a=function(c){return Promise.all(c.map(u=>Promise.resolve(u).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=a(n.map(c=>{if(c=oce(c),c in TI)return;TI[c]=!0;const u=c.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${f}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":ace,u||(d.as="script"),d.crossOrigin="",d.href=c,l&&d.setAttribute("nonce",l),document.head.appendChild(d),u)return new Promise((m,x)=>{d.addEventListener("load",m),d.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${c}`)))})}))}function s(a){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=a,window.dispatchEvent(o),!o.defaultPrevented)throw a}return i.then(a=>{for(const o of a||[])o.status==="rejected"&&s(o.reason);return e().catch(s)})};function lce(t){if(typeof t!="object"||t===null)return!0;const e=t;return e.isLoaded===!0||typeof e.totalFrames=="number"&&e.totalFrames>0}function wr(t){b.useEffect(t,[])}const tz={primary:["bg-white text-neutral-950 font-medium","shadow-btn-primary","enabled:hover:bg-neutral-200","enabled:active:scale-[0.97]"].join(" "),secondary:["bg-transparent text-neutral-300 font-medium","border border-border","enabled:hover:bg-surface-hover enabled:hover:text-white enabled:hover:border-border-strong","enabled:active:scale-[0.98]"].join(" "),danger:["bg-accent-red text-white font-medium","enabled:hover:bg-red-600","enabled:active:scale-[0.97]"].join(" "),ghost:["bg-transparent text-neutral-400","enabled:hover:bg-surface-hover enabled:hover:text-white","enabled:active:scale-[0.98]"].join(" ")},cce={sm:"h-7 px-2.5 text-xs gap-1.5 rounded-button",md:"h-8 px-3 text-sm gap-1.5 rounded-button",lg:"h-9 px-4 text-base gap-2 rounded-button"},jc=b.forwardRef(({variant:t="secondary",size:e="md",loading:n,icon:r,children:i,className:s="",disabled:a,...o},l)=>S.jsxs("button",{ref:l,disabled:a||n,className:["inline-flex items-center justify-center","transition-all duration-press ease-standard","disabled:opacity-40 disabled:cursor-not-allowed","select-none cursor-pointer","outline-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-studio-accent",tz[t],cce[e],s].join(" "),...o,children:[n?S.jsxs("svg",{className:"animate-spin h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",children:[S.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),S.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}):r?S.jsx("span",{className:"flex-shrink-0",children:r}):null,i&&S.jsx("span",{children:i})]}));jc.displayName="Button";const uce={sm:"min-w-7 min-h-7 rounded-button",md:"min-w-8 min-h-8 rounded-button",lg:"min-w-9 min-h-9 rounded-button"},hce=b.forwardRef(({icon:t,size:e="md",variant:n="ghost",className:r="",...i},s)=>S.jsx("button",{ref:s,className:["inline-flex items-center justify-center","transition-all duration-press ease-standard","disabled:opacity-40 disabled:cursor-not-allowed","select-none cursor-pointer","outline-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-studio-accent",tz[n],uce[e],r].join(" "),...i,children:t}));hce.displayName="IconButton";function PI({title:t,detail:e,mono:n,size:r=64,progress:i}){const s=typeof i=="number"&&Number.isFinite(i)?Math.min(1,Math.max(0,i)):void 0,a=Math.round(r*1.16);return S.jsxs("div",{className:"hf-loader",role:"status",draggable:!1,children:[S.jsx("div",{className:"hf-loader-mark-frame",style:{width:a,height:a},draggable:!1,children:S.jsxs("svg",{className:"hf-loader-mark",width:r,height:r,viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[S.jsx("g",{className:"hf-loader-mark__mark",transform:"translate(50 50)",children:S.jsx("g",{className:"hf-loader-mark__core",transform:"scale(1)",opacity:".92",children:S.jsxs("g",{transform:"translate(-50 -50)",children:[S.jsx("path",{d:"M10.1851 57.8021L33.1145 73.8313C36.2202 75.9978 41.5173 73.5433 42.4816 69.4984L51.7611 30.4271C52.7253 26.3822 48.5802 23.9277 44.4602 26.0942L13.917 42.1235C6.96677 45.7676 4.97564 54.1579 10.1851 57.8021Z",fill:"url(#hf-loader-grad-left)"}),S.jsx("path",{d:"M87.5129 57.5141L56.9696 73.5433C52.8371 75.7098 48.7046 73.2553 49.6688 69.2104L58.9483 30.1391C59.9125 26.0942 65.2097 23.6397 68.3154 25.8062L91.2447 41.8354C96.4668 45.4796 94.4631 53.8699 87.5129 57.5141Z",fill:"url(#hf-loader-grad-right)"})]})})}),S.jsxs("defs",{children:[S.jsxs("linearGradient",{id:"hf-loader-grad-left",x1:"48.5676",y1:"25",x2:"44.7804",y2:"71.9384",gradientUnits:"userSpaceOnUse",children:[S.jsx("stop",{stopColor:"#06E3FA"}),S.jsx("stop",{offset:"1",stopColor:"#4FDB5E"})]}),S.jsxs("linearGradient",{id:"hf-loader-grad-right",x1:"54.8282",y1:"73.8392",x2:"72.0989",y2:"32.8932",gradientUnits:"userSpaceOnUse",children:[S.jsx("stop",{stopColor:"#06E3FA"}),S.jsx("stop",{offset:"1",stopColor:"#4FDB5E"})]})]})]})}),S.jsx("div",{className:"hf-loader-title",children:t}),e&&S.jsx("div",{className:"hf-loader-detail",children:e}),s!==void 0&&S.jsx("div",{className:"hf-loader-progress",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.round(s*100),children:S.jsx("div",{className:"hf-loader-progress__fill",style:{transform:`scaleX(${s})`}})}),n&&S.jsx("div",{className:"hf-loader-mono",children:n})]})}var wx=zZ();const MI=28,$b=8;function Un({label:t,children:e,delay:n=400,side:r="top"}){const[i,s]=b.useState(!1),[a,o]=b.useState({x:0,y:0}),[l,c]=b.useState(r),u=b.useRef(null),f=b.useRef(null),d=b.useId(),m=b.useCallback(()=>{u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{const g=f.current;if(!g)return;const A=(g.firstElementChild??g).getBoundingClientRect();if(A.width===0&&A.height===0)return;let w=r;r==="top"&&A.top-MI-6<$b?w="bottom":r==="bottom"&&A.bottom+MI+6>window.innerHeight-$b&&(w="top");const k=Math.min(Math.max(A.left+A.width/2,$b),window.innerWidth-$b);c(w),o({x:k,y:w==="top"?A.top-6:A.bottom+6}),s(!0)},n)},[n,r]),x=b.useCallback(()=>{u.current&&(clearTimeout(u.current),u.current=null),s(!1)},[]);return b.useEffect(()=>{if(!i)return;const g=v=>{v.key==="Escape"&&x()};return document.addEventListener("keydown",g),()=>document.removeEventListener("keydown",g)},[i,x]),S.jsxs(S.Fragment,{children:[S.jsx("span",{ref:f,onPointerEnter:m,onPointerLeave:x,onFocus:m,onBlur:x,"aria-describedby":i?d:void 0,className:"contents",children:e}),i&&wx.createPortal(S.jsx("div",{className:"fixed z-[200] pointer-events-none",style:{left:a.x,top:a.y,transform:l==="top"?"translate(-50%, -100%)":"translate(-50%, 0)"},children:S.jsx("div",{role:"tooltip",id:d,className:"px-2 py-1 rounded-md bg-neutral-800 border border-neutral-700/50 text-[10px] font-medium text-neutral-200 whitespace-nowrap shadow-lg",children:t})}),document.body)]})}const fce=3,dce=3;function DI(t){return typeof t=="object"&&t!==null}function pce(t){if(!(t instanceof CustomEvent))return null;const e=t.detail;if(!DI(e))return null;const n=e.state;return DI(n)?n.loading===!0&&n.ready!==!0:null}const mce=400;function gce(t){const e=t.shadowRoot;if(!e)return;const n=e.querySelector(".hfp-container"),r=e.querySelector(".hfp-iframe");n==null||n.style.setProperty("pointer-events","auto"),r==null||r.style.setProperty("pointer-events","auto")}function yce(t){const e=t.tagName.toLowerCase();return e==="video"||e==="audio"}function NI(t,e){try{const n=t.contentWindow,r=t.contentDocument;if(!n||!r)return e;for(const s of r.querySelectorAll("video, audio"))if(yce(s)&&!s.error&&s.networkState!==dce&&s.readyState<fce)return!0;const i=n.__hfLottie;if(i!=null&&i.length){for(const s of i)if(!lce(s))return!0}return!1}catch{return e}}const JE=b.forwardRef(({projectId:t,directUrl:e,onLoad:n,onCompositionLoadingChange:r,portrait:i,style:s,suppressLoadingOverlay:a},o)=>{const l=b.useRef(null),c=b.useRef(0),u=b.useRef(null),f=b.useRef(null),[d,m]=b.useState(!1),[x,g]=b.useState(!1),[v,A]=b.useState(!1),[w,k]=b.useState(!1),[T,M]=b.useState(!0),[_,D]=b.useState(!0);b.useEffect(()=>{if(!T){D(!0);return}const $=setTimeout(()=>D(!1),mce);return()=>clearTimeout($)},[T]),wr(()=>{const $=l.current;if(!$)return;let B=!1,Q;return o8(()=>import("./hyperframes-player-BBrKzTGd.js"),[]).then(()=>{if(B)return;const z=document.createElement("hyperframes-player"),q=e||`/api/projects/${t}/preview`;if(z.setAttribute("shader-capture-scale","1"),z.setAttribute("shader-loading","player"),z.setAttribute("src",q),z.setAttribute("width",String(i?1080:1920)),z.setAttribute("height",String(i?1920:1080)),z.style.width="100%",z.style.height="100%",z.style.display="block",z.style.background="transparent",$.appendChild(z),z.shadowRoot){const G=document.createElement("style");G.textContent=".hfp-container{overflow:visible}.hfp-iframe{box-shadow:0 0 0 1px rgba(255,255,255,0.08),0 4px 32px rgba(0,0,0,.7)}",z.shadowRoot.appendChild(G)}gce(z);const re=z.iframeElement;typeof o=="function"?o(re):o&&(o.current=re);const W=G=>G.stopImmediatePropagation();z.addEventListener("click",W,{capture:!0});const ne=G=>{const R=pce(G);R!==null&&k(R)};z.addEventListener("shadertransitionstate",ne);const se=()=>{M(!1)},he=()=>{M(!1)};z.addEventListener("ready",se),z.addEventListener("error",he);const oe=()=>{if(c.current++,k(!1),M(!0),c.current>1){$.classList.remove("preview-revealing"),$.offsetWidth,$.classList.add("preview-revealing");const H=()=>$.classList.remove("preview-revealing");$.addEventListener("animationend",H,{once:!0})}n(),u.current&&clearInterval(u.current);let R=c.current>1?!1:NI(re,!1);if(R){m(!0);let H=0;u.current=setInterval(()=>{H+=1,R=NI(re,R),(!R||H>100)&&(u.current&&clearInterval(u.current),u.current=null,m(!1))},100)}else m(!1)};re.addEventListener("load",oe),Q=()=>{if(re.removeEventListener("load",oe),z.removeEventListener("click",W,{capture:!0}),z.removeEventListener("shadertransitionstate",ne),z.removeEventListener("ready",se),z.removeEventListener("error",he),u.current&&clearInterval(u.current),u.current=null,$.removeChild(z),typeof o!="function"){if(o){const G=o;G.current===re&&(G.current=null)}}}}),()=>{B=!0,Q==null||Q()}}),b.useEffect(()=>{if(f.current&&(clearTimeout(f.current),f.current=null),d){g(!0),A(!1);return}return A(!0),f.current=setTimeout(()=>{g(!1),A(!1),f.current=null},240),()=>{f.current&&(clearTimeout(f.current),f.current=null)}},[d]);const I=!a&&!_&&T,j=x&&!w&&!I;return b.useEffect(()=>{r==null||r(I||j)},[r,I,j]),S.jsxs("div",{className:"relative w-full h-full max-w-full max-h-full overflow-hidden flex items-center justify-center",style:s,children:[S.jsx("div",{ref:l,className:"w-full h-full"}),I&&S.jsx("div",{className:"absolute inset-0 bg-black flex items-center justify-center z-30 select-none","data-hyperframes-ignore":"","data-testid":"composition-loading-overlay",draggable:!1,onDragStart:$=>$.preventDefault(),onMouseDown:$=>$.preventDefault(),onPointerDown:$=>$.preventDefault(),children:S.jsx(PI,{title:"Loading composition",detail:"Preparing the Studio preview.",size:56})}),j&&S.jsx("div",{className:"absolute inset-0 bg-black flex items-center justify-center z-20 select-none","data-hyperframes-ignore":"",draggable:!1,style:{opacity:v?0:1,pointerEvents:v?"none":"auto",transition:"opacity 240ms ease-out"},onDragStart:$=>$.preventDefault(),onMouseDown:$=>$.preventDefault(),onPointerDown:$=>$.preventDefault(),children:S.jsx(PI,{title:"Preparing preview assets",detail:"Waiting for media and motion assets before playback starts.",size:56})})]})});JE.displayName="Player";function Ec(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nz(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*!
|
|
50
50
|
* GSAP 3.15.0
|
|
51
51
|
* https://gsap.com
|
|
52
52
|
*
|
|
@@ -67,7 +67,7 @@ Error generating stack: `+P.message+`
|
|
|
67
67
|
* Copyright 2008-2026, GreenSock. All rights reserved.
|
|
68
68
|
* Subject to the terms at https://gsap.com/standard-license
|
|
69
69
|
* @author: Jack Doyle, jack@greensock.com
|
|
70
|
-
*/var jue=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,Fue=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,$ue=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig,Bue=/(^[#\.][a-z]|[a-y][a-z])/i,Vue=Math.PI/180,Vb=Math.sin,Qb=Math.cos,tl=Math.abs,Pc=Math.sqrt,Hb=Math.atan2,qI=1e8,KI=function(e){return typeof e=="string"},Kz=function(e){return typeof e=="number"},JI=1e5,Li=function(e){return Math.round(e*JI)/JI||0},eR=function(e){return e.closed=Math.abs(e[0]-e[e.length-2])<.001&&Math.abs(e[1]-e[e.length-1])<.001},Que=function(e,n,r){var i=e.length,s=~~(r*i);if(e[s]>n){for(;--s&&e[s]>n;);s<0&&(s=0)}else for(;e[++s]<n&&s<i;);return s<i?s:i-1};function Hue(t){t=KI(t)&&Bue.test(t)&&document.querySelector(t)||t;var e=t.getAttribute?t:0,n;return e&&(t=t.getAttribute("d"))?(e._gsPath||(e._gsPath={}),n=e._gsPath[t],n&&!n._dirty?n:e._gsPath[t]=Ic(t)):t?KI(t)?Ic(t):Kz(t[0])?[t]:t:console.warn("Expecting a <path> element or an SVG path data string")}function tg(t){var e=0,n;for(t.reverse();e<t.length;e+=2)n=t[e],t[e]=t[e+1],t[e+1]=n;t.reversed=!t.reversed}var Zue=function(e,n){var r=document.createElementNS("http://www.w3.org/2000/svg","path"),i=[].slice.call(e.attributes),s=i.length,a;for(n=","+n+",";--s>-1;)a=i[s].nodeName.toLowerCase(),n.indexOf(","+a+",")<0&&r.setAttributeNS(null,a,i[s].nodeValue);return r},zue={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"},Xue=function(e,n){for(var r=n?n.split(","):[],i={},s=r.length;--s>-1;)i[r[s]]=+e.getAttribute(r[s])||0;return i};function Jz(t,e){var n=t.tagName.toLowerCase(),r=.552284749831,i,s,a,o,l,c,u,f,d,m,x,g,v,A,w,k,T,M,_,D,I,j;return n==="path"||!t.getBBox?t:(c=Zue(t,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),j=Xue(t,zue[n]),n==="rect"?(o=j.rx,l=j.ry||o,s=j.x,a=j.y,m=j.width-o*2,x=j.height-l*2,o||l?(g=s+o*(1-r),v=s+o,A=v+m,w=A+o*r,k=A+o,T=a+l*(1-r),M=a+l,_=M+x,D=_+l*r,I=_+l,i="M"+k+","+M+" V"+_+" C"+[k,D,w,I,A,I,A-(A-v)/3,I,v+(A-v)/3,I,v,I,g,I,s,D,s,_,s,_-(_-M)/3,s,M+(_-M)/3,s,M,s,T,g,a,v,a,v+(A-v)/3,a,A-(A-v)/3,a,A,a,w,a,k,T,k,M].join(",")+"z"):i="M"+(s+m)+","+a+" v"+x+" h"+-m+" v"+-x+" h"+m+"z"):n==="circle"||n==="ellipse"?(n==="circle"?(o=l=j.r,f=o*r):(o=j.rx,l=j.ry,f=l*r),s=j.cx,a=j.cy,u=o*r,i="M"+(s+o)+","+a+" C"+[s+o,a+f,s+u,a+l,s,a+l,s-u,a+l,s-o,a+f,s-o,a,s-o,a-f,s-u,a-l,s,a-l,s+u,a-l,s+o,a-f,s+o,a].join(",")+"z"):n==="line"?i="M"+j.x1+","+j.y1+" L"+j.x2+","+j.y2:(n==="polyline"||n==="polygon")&&(d=(t.getAttribute("points")+"").match(Fue)||[],s=d.shift(),a=d.shift(),i="M"+s+","+a+" L"+d.join(","),n==="polygon"&&(i+=","+s+","+a+"z")),c.setAttribute("d",Mf(c._gsRawPath=Ic(i))),e&&t.parentNode&&(t.parentNode.insertBefore(c,t),t.parentNode.removeChild(t)),c)}function eX(t,e,n){e=e||0,t.samples||(t.samples=[],t.lookup=[]);var r=~~t.resolution||12,i=1/r,s=t.length,a=t[e],o=t[e+1],l=e?e/6*r:0,c=t.samples,u=t.lookup,f=(e?t.minLength:qI)||qI,d=c[l+n*r-1],m=e?c[l-1]:0,x,g,v,A,w,k,T,M,_,D,I,j,$,B,Q,z,q;for(c.length=u.length=0,g=e+2;g<s;g+=6){if(v=t[g+4]-a,A=t[g+2]-a,w=t[g]-a,M=t[g+5]-o,_=t[g+3]-o,D=t[g+1]-o,k=T=I=j=0,tl(v)<.01&&tl(M)<.01&&tl(w)+tl(D)<.01)t.length>8&&(t.splice(g,6),g-=6,s-=6);else for(x=1;x<=r;x++)B=i*x,$=1-B,k=T-(T=(B*B*v+3*$*(B*A+$*w))*B),I=j-(j=(B*B*M+3*$*(B*_+$*D))*B),z=Pc(I*I+k*k),z<f&&(f=z),m+=z,c[l++]=m;a+=v,o+=M}if(d)for(d-=m;l<c.length;l++)c[l]+=d;if(c.length&&f){if(t.totalLength=q=c[c.length-1]||0,t.minLength=f,q/f<9999)for(z=Q=0,x=0;x<q;x+=f)u[z++]=c[Q]<x?++Q:Q}else t.totalLength=c[0]=0;return e?m-c[e/2-1]:m}function tX(t,e){var n,r,i;for(i=n=r=0;i<t.length;i++)t[i].resolution=12,n+=eX(t[i]),r+=t[i].length;return t.totalPoints=r,t.totalLength=n,t}function Uue(t,e,n,r,i,s,a,o,l){if(!(t===o&&e===l)){n=tl(n),r=tl(r);var c=i%360*Vue,u=Qb(c),f=Vb(c),d=Math.PI,m=d*2,x=(t-o)/2,g=(e-l)/2,v=u*x+f*g,A=-f*x+u*g,w=v*v,k=A*A,T=w/(n*n)+k/(r*r);T>1&&(n=Pc(T)*n,r=Pc(T)*r);var M=n*n,_=r*r,D=(M*_-M*k-_*w)/(M*k+_*w);D<0&&(D=0);var I=(s===a?-1:1)*Pc(D),j=I*(n*A/r),$=I*-(r*v/n),B=(t+o)/2,Q=(e+l)/2,z=B+(u*j-f*$),q=Q+(f*j+u*$),re=(v-j)/n,W=(A-$)/r,ne=(-v-j)/n,se=(-A-$)/r,he=re*re+W*W,oe=(W<0?-1:1)*Math.acos(re/Pc(he)),G=(re*se-W*ne<0?-1:1)*Math.acos((re*ne+W*se)/Pc(he*(ne*ne+se*se)));isNaN(G)&&(G=d),!a&&G>0?G-=m:a&&G<0&&(G+=m),oe%=m,G%=m;var R=Math.ceil(tl(G)/(m/4)),H=[],F=G/R,K=4/3*Vb(F/2)/(1+Qb(F/2)),te=u*n,ie=f*n,U=f*-r,X=u*r,me;for(me=0;me<R;me++)i=oe+me*F,v=Qb(i),A=Vb(i),re=Qb(i+=F),W=Vb(i),H.push(v-K*A,A+K*v,re+K*W,W-K*re,re,W);for(me=0;me<H.length;me+=2)v=H[me],A=H[me+1],H[me]=v*te+A*U+z,H[me+1]=v*ie+A*X+q;return H[me-2]=o,H[me-1]=l,H}}function Ic(t){var e=(t+"").replace($ue,function(j){var $=+j;return $<1e-4&&$>-1e-4?0:$}).match(jue)||[],n=[],r=0,i=0,s=2/3,a=e.length,o=0,l="ERROR: malformed path: "+t,c,u,f,d,m,x,g,v,A,w,k,T,M,_,D,I=function($,B,Q,z){w=(Q-$)/3,k=(z-B)/3,g.push($+w,B+k,Q-w,z-k,Q,z)};if(!t||!isNaN(e[0])||isNaN(e[1]))return console.log(l),n;for(c=0;c<a;c++)if(M=m,isNaN(e[c])?(m=e[c].toUpperCase(),x=m!==e[c]):c--,f=+e[c+1],d=+e[c+2],x&&(f+=r,d+=i),c||(v=f,A=d),m==="M")g&&(g.length<8?n.length-=1:o+=g.length,eR(g)),r=v=f,i=A=d,g=[f,d],n.push(g),c+=2,m="L";else if(m==="C")g||(g=[0,0]),x||(r=i=0),g.push(f,d,r+e[c+3]*1,i+e[c+4]*1,r+=e[c+5]*1,i+=e[c+6]*1),c+=6;else if(m==="S")w=r,k=i,(M==="C"||M==="S")&&(w+=r-g[g.length-4],k+=i-g[g.length-3]),x||(r=i=0),g.push(w,k,f,d,r+=e[c+3]*1,i+=e[c+4]*1),c+=4;else if(m==="Q")w=r+(f-r)*s,k=i+(d-i)*s,x||(r=i=0),r+=e[c+3]*1,i+=e[c+4]*1,g.push(w,k,r+(f-r)*s,i+(d-i)*s,r,i),c+=4;else if(m==="T")w=r-g[g.length-4],k=i-g[g.length-3],g.push(r+w,i+k,f+(r+w*1.5-f)*s,d+(i+k*1.5-d)*s,r=f,i=d),c+=2;else if(m==="H")I(r,i,r=f,i),c+=1;else if(m==="V")I(r,i,r,i=f+(x?i-r:0)),c+=1;else if(m==="L"||m==="Z")m==="Z"&&(f=v,d=A,g.closed=!0),(m==="L"||tl(r-f)>.5||tl(i-d)>.5)&&(I(r,i,f,d),m==="L"&&(c+=2)),r=f,i=d;else if(m==="A"){if(_=e[c+4],D=e[c+5],w=e[c+6],k=e[c+7],u=7,_.length>1&&(_.length<3?(k=w,w=D,u--):(k=D,w=_.substr(2),u-=2),D=_.charAt(1),_=_.charAt(0)),T=Uue(r,i,+e[c+1],+e[c+2],+e[c+3],+_,+D,(x?r:0)+w*1,(x?i:0)+k*1),c+=u,T)for(u=0;u<T.length;u++)g.push(T[u]);r=g[g.length-2],i=g[g.length-1]}else console.log(l);return c=g.length,c<6?(n.pop(),c=0):eR(g),n.totalPoints=o+c,n}function Gue(t,e){t.samples||eX(t);for(var n=t.samples,r=t.lookup,i=t.resolution,s=t.totalLength,a=t.slice(0,2),o=[],l=t.length-4,c=6,u=.2,f=0,d=0,m,x,g,v,A,w,k,T,M,_,D,I,j,$;c<l;c+=6)Math.abs(Hb(t[c+1]-t[c-1],t[c]-t[c-2])-Hb(t[c+3]-t[c+1],t[c+2]-t[c]))>u&&o.push(c);if(o.push(t.length-2),l=o.length,a.nonSmooth=I=[1],e>l)for(e-=l,A=0;A<l;A++){for(j=o[A],$=Math.round(j/6*i),M=n[$-1]-f,x=Math.round(n[$-1]/s*e)-d,d+=x,w=1/(x+1),k=1;k<=x;k++)_=f+M*k*w,c=r.length?r[_<s?~~(_/t.minLength):r.length-1]||0:Que(n,_,_/s),g=c?n[c-1]:0,v=n[c],v<_&&(g=v,v=n[++c]),m=1/i*((_-g)/(v-g)+c%i)||0,T=1-m,c=~~(c/i)*6,D=t[c],a.push(Li((m*m*(t[c+6]-D)+3*T*(m*(t[c+4]-D)+T*(t[c+2]-D)))*m+D),Li((m*m*(t[c+7]-(D=t[c+1]))+3*T*(m*(t[c+5]-D)+T*(t[c+3]-D)))*m+D));I[a.length]=1,a.push(t[j],t[j+1]),f+=M}return c=t.length-2,t.closed&&Math.abs(Hb(t[c+1]-t[c-1],t[c]-t[c-2])-Hb(t[3]-t[1],t[2]-t[0]))<=u&&(I[0]=I[I.length-1]=0),a}function Wue(t,e){tl(t[0]-t[2])<1e-4&&tl(t[1]-t[3])<1e-4&&(t=t.slice(2));var n=t.length-2,r=+t[0],i=+t[1],s=+t[2],a=+t[3],o=[r,i,r,i],l=s-r,c=a-i,u=t.nonSmooth||[],f=Math.abs(t[n]-r)<.001&&Math.abs(t[n+1]-i)<.001,d,m,x,g,v,A,w,k,T,M,_,D,I,j,$;if(!n)return[r,i,r,i,r,i,r,i];for(f&&(t.push(s,a),s=r,a=i,r=t[n-2],i=t[n-1],t.unshift(r,i),n+=4,u=[0,0].concat(u)),e=e||e===0?+e:1,x=2;x<n;x+=2)if(d=r,m=i,r=s,i=a,s=+t[x+2],a=+t[x+3],!(r===s&&i===a)){if(g=l,v=c,l=s-r,c=a-i,u[x]){o.push(r-(r-d)/4,i-(i-m)/4,r,i,r+(s-r)/4,i+(a-i)/4);continue}A=Pc(g*g+v*v),w=Pc(l*l+c*c),k=Pc(Math.pow(l/w+g/A,2)+Math.pow(c/w+v/A,2)),T=(A+w)*e*.25/k,M=r-(r-d)*(A?T/A:0),_=r+(s-r)*(w?T/w:0),D=r-(M+((_-M)*(A*3/(A+w)+.5)/4||0)),I=i-(i-m)*(A?T/A:0),j=i+(a-i)*(w?T/w:0),$=i-(I+((j-I)*(A*3/(A+w)+.5)/4||0)),o.push(Li(M+D),Li(I+$),Li(r),Li(i),Li(_+D),Li(j+$))}return r!==s||i!==a||o.length<4?o.push(Li(s),Li(a),Li(s),Li(a)):o.length-=2,o.length===2?o.push(r,i,r,i,r,i):f&&(o.splice(0,6),o.length-=6),o.closed=f,o}function Mf(t){Kz(t[0])&&(t=[t]);var e="",n=t.length,r,i,s,a;for(i=0;i<n;i++){for(a=t[i],e+="M"+Li(a[0])+","+Li(a[1])+" C",r=a.length,s=2;s<r;s++)e+=Li(a[s++])+","+Li(a[s++])+" "+Li(a[s++])+","+Li(a[s++])+" "+Li(a[s++])+","+Li(a[s])+" ";a.closed&&(e+="z")}return e}function pS(){return pS=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},pS.apply(this,arguments)}var vo,EP,ng,nX,rg,rX,iX=function(){return vo||typeof window<"u"&&(vo=window.gsap)&&vo.registerPlugin&&vo},Q6=function(e){return typeof e=="function"},mS=Math.atan2,tR=Math.cos,nR=Math.sin,Yf=Math.sqrt,h8=Math.PI,rR=h8*2,Yue=h8*.3,que=h8*.7,kP=1e20,$y=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,Kue=/(^[#.][a-z]|[a-y][a-z])/i,Jue=/[achlmqstvz]/i,oh=function(e){return console&&console.warn(e)},Sl=function(e){return Math.round(e*1e5)/1e5||0},iR=function(e){var n=e.length,r=0,i=0,s;for(s=0;s<n;s++)r+=e[s++],i+=e[s];return[r/(n/2),i/(n/2)]},Wp=function(e){var n=e.length,r=e[0],i=r,s=e[1],a=s,o,l,c;for(c=6;c<n;c+=6)o=e[c],l=e[c+1],o>r?r=o:o<i&&(i=o),l>s?s=l:l<a&&(a=l);return e.centerX=(r+i)/2,e.centerY=(s+a)/2,e.size=(r-i)*(s-a)},Xg=function(e,n){n===void 0&&(n=3);for(var r=e.length,i=e[0][0],s=i,a=e[0][1],o=a,l=1/n,c,u,f,d,m,x,g,v,A,w,k,T,M,_,D,I;--r>-1;)for(m=e[r],c=m.length,d=6;d<c;d+=6)for(A=m[d],w=m[d+1],k=m[d+2]-A,_=m[d+3]-w,T=m[d+4]-A,D=m[d+5]-w,M=m[d+6]-A,I=m[d+7]-w,x=n;--x>-1;)g=l*x,v=1-g,u=(g*g*M+3*v*(g*T+v*k))*g+A,f=(g*g*I+3*v*(g*D+v*_))*g+w,u>i?i=u:u<s&&(s=u),f>a?a=f:f<o&&(o=f);return e.centerX=(i+s)/2,e.centerY=(a+o)/2,e.left=s,e.width=i-s,e.top=o,e.height=a-o,e.size=(i-s)*(a-o)},sX=function(e,n){return n.length-e.length},sR=function(e,n){var r=e.size||Wp(e),i=n.size||Wp(n);return Math.abs(i-r)<(r+i)/20?n.centerX-e.centerX||n.centerY-e.centerY:i-r},aR=function(e,n){var r=e.slice(0),i=e.length,s=i-2,a,o;for(n=n|0,a=0;a<i;a++)o=(a+n)%s,e[a++]=r[o],e[a]=r[o+1]},H6=function(e,n,r,i,s){var a=e.length,o=0,l=a-2,c,u,f,d;for(r*=6,u=0;u<a;u+=6)c=(u+r)%l,d=e[c]-(n[u]-i),f=e[c+1]-(n[u+1]-s),o+=Yf(f*f+d*d);return o},ehe=function(e,n,r){var i=e.length,s=iR(e),a=iR(n),o=a[0]-s[0],l=a[1]-s[1],c=H6(e,n,0,o,l),u=0,f,d,m;for(m=6;m<i;m+=6)d=H6(e,n,m/6,o,l),d<c&&(c=d,u=m);if(r)for(f=e.slice(0),tg(f),m=6;m<i;m+=6)d=H6(f,n,m/6,o,l),d<c&&(c=d,u=-m);return u/6},the=function(e,n,r){for(var i=e.length,s=kP,a=0,o=0,l,c,u,f,d,m;--i>-1;)for(l=e[i],m=l.length,d=0;d<m;d+=6)c=l[d]-n,u=l[d+1]-r,f=Yf(c*c+u*u),f<s&&(s=f,a=l[d],o=l[d+1]);return[a,o]},nhe=function(e,n,r,i,s,a){var o=n.length,l=0,c=Math.min(e.size||Wp(e),n[r].size||Wp(n[r]))*i,u=kP,f=e.centerX+s,d=e.centerY+a,m,x,g,v,A;for(x=r;x<o&&(m=n[x].size||Wp(n[x]),!(m<c));x++)g=n[x].centerX-f,v=n[x].centerY-d,A=Yf(g*g+v*v),A<u&&(l=x,u=A);return A=n[l],n.splice(l,1),A},rhe=function(e,n,r){r===void 0&&(r=1);for(var i=e[n],s=e[n+1],a=e[n+2],o=e[n+3],l=e[n+4],c=e[n+5],u=e[n+6],f=e[n+7],d,m,x,g,v,A,w,k,T;r-- >0;)d=1-1/(r+2),m=i+(a-i)*d,x=a+(l-a)*d,g=s+(o-s)*d,v=o+(c-o)*d,A=m+(x-m)*d,w=g+(v-g)*d,k=l+(u-l)*d,T=c+(f-c)*d,x+=(k-x)*d,v+=(T-v)*d,e.splice(n+2,4,a=Sl(m),o=Sl(g),l=Sl(A),c=Sl(w),u=Sl(A+(x-A)*d),f=Sl(w+(v-w)*d),Sl(x),Sl(v),Sl(k),Sl(T))},ihe=function(e){for(var n=e.length,r=-kP,i;n--;)e[n]>r&&(r=e[n],i=n);return i},wv=function(e,n){for(var r=[],i=[],s=e.length-2,a=0;a<s;a+=6)r.push(Math.pow(e[a]-e[a+6],2)+Math.pow(e[a+1]-e[a+7],2));for(;n--;)a=ihe(r),i[a]=s=(i[a]||0)+1,r[a]*=s/(s+1);for(a=r.length;a--;)i[a]&&rhe(e,a*6,i[a])},p5=function(e,n){return n||tX(e),Math.max(4,Math.round(e.totalLength/4))},oR=function(e){return e.slice(0).sort(sX)},aX=function(e){for(var n=e[0],r=e[1],i=2;i<e.length;i+=2)if(Math.abs(e[i]-n)>.01||Math.abs(e[i+1]-r)>.01)return!1;return!0},Z6=function(e,n){n=n||{};var r=n,i=r.redraw,s=r.points,a=r.maxSegments,o=a===void 0?999:a,l=0,c=e,u=Array.isArray(s)?s:0,f,d,m,x,g;if(i=i!==!1,i)tX(e);else for(e.totalPoints=0,d=e.length;d--;)e.totalPoints+=e[d].length;for(u?(c=oR(e),u=oR(u),g=u[0].totalLength/Math.round(u[0].length/6)):((!s||s==="auto")&&(s=p5(e,i),i||(s-=Math.round(e.totalPoints/6))),s=Math.max(i?10:4,Math.min(999,s))),d=0;d<c.length;d++){if(m=c[d],f=Math.max(i?10:4,u?Math.round(u[d]?u[d].length/6:c[d].totalLength/g||0):Math.round((l/s+(i?m.totalLength/e.totalLength:m.length/e.totalPoints))*s)-l),!(d>=o||u&&(!u[d]||aX(u[d]))))if(i){var v;x=Wue(Gue(m,f),n.curviness),m.length=0,(v=m).push.apply(v,x)}else wv(m,f);l+=f}return e},m5=function(e,n,r,i,s){var a=n.length-e.length,o=a>0?n:e,l=a>0?e:n,c=0,u=i==="complexity"?sX:sR,f=i==="position"?0:typeof i=="number"?i:.8,d=l.length,m=typeof r=="object"&&r.push?r.slice(0):[r],x=m[0]==="reverse"||m[0]<0,g=r==="log",v,A,w,k,T,M,_;if(l[0]){if(o.length>1&&(e.sort(u),n.sort(u),o.size||Xg(o),l.size||Xg(l),M=o.centerX-l.centerX,_=o.centerY-l.centerY,u===sR))for(d=0;d<l.length;d++)o.splice(d,0,nhe(l[d],o,d,f,M,_));if(a)for(a<0&&(a=-a),o[0].length>l[0].length&&wv(l[0],(o[0].length-l[0].length)/6|0),d=l.length;c<a;)k=o[d].size||Wp(o[d]),w=the(l,o[d].centerX,o[d].centerY),k=w[0],T=w[1],l[d++]=[k,T,k,T,k,T,k,T],l.totalPoints+=8,c++;for(d=0;d<e.length;d++)v=n[d],A=e[d],a=v.length-A.length,a<0?wv(v,-a/6|0):a>0&&wv(A,a/6|0),x&&s!==!1&&!A.reversed&&tg(A),r=m[d]||m[d]===0?m[d]:"auto",r&&(A.closed||Math.abs(A[0]-A[A.length-2])<.5&&Math.abs(A[1]-A[A.length-1])<.5?r==="auto"||r==="log"?(m[d]=r=ehe(A,v,!d||s===!1),r<0&&(x=!0,tg(A),r=-r),aR(A,r*6)):r!=="reverse"&&(d&&r<0&&tg(A),aR(A,(r<0?-r:r)*6)):!x&&(r==="auto"&&Math.abs(v[0]-A[0])+Math.abs(v[1]-A[1])+Math.abs(v[v.length-2]-A[A.length-2])+Math.abs(v[v.length-1]-A[A.length-1])>Math.abs(v[0]-A[A.length-2])+Math.abs(v[1]-A[A.length-1])+Math.abs(v[v.length-2]-A[0])+Math.abs(v[v.length-1]-A[1])||r%2)?(tg(A),m[d]=-1,x=!0):r==="auto"?m[d]=0:r==="reverse"&&(m[d]=-1),A.closed!==v.closed&&(A.closed=v.closed=!1));return g&&oh("shapeIndex:["+m.join(",")+"]"),e.shapeIndex=m,m}},lR=function(e,n,r,i,s){var a=Ic(e[0]),o=Ic(e[1]);m5(a,o,n||n===0?n:"auto",r,s)&&(e[0]=Mf(a),e[1]=Mf(o),(i==="log"||i===!0)&&oh('precompile:["'+e[0]+'","'+e[1]+'"]'))},she=function(e,n){if(!n)return e;var r=e.match($y)||[],i=r.length,s="",a,o,l;for(n==="reverse"?(o=i-1,a=-2):(o=((parseInt(n,10)||0)*2+1+i*100)%i,a=2),l=0;l<i;l+=2)s+=r[o-1]+","+r[o]+" ",o=(o+a)%i;return s},cR=function(e,n){var r=0,i=parseFloat(e[0]),s=parseFloat(e[1]),a=i+","+s+" ",o=.999999,l,c,u,f,d,m,x;for(u=e.length,l=n*.5/(u*.5-1),c=0;c<u-2;c+=2){if(r+=l,m=parseFloat(e[c+2]),x=parseFloat(e[c+3]),r>o)for(d=1/(Math.floor(r)+1),f=1;r>o;)a+=(i+(m-i)*d*f).toFixed(2)+","+(s+(x-s)*d*f).toFixed(2)+" ",r--,f++;a+=m+","+x+" ",i=m,s=x}return a},g5=function(e){var n=e[0].match($y)||[],r=e[1].match($y)||[],i=r.length-n.length;i>0?e[0]=cR(n,i):e[1]=cR(r,-i)},ahe=function(e){return isNaN(e)?g5:function(n){g5(n),n[1]=she(n[1],parseInt(e,10))}},ohe=function(e,n,r){var i=typeof e=="string",s,a;return(!i||Kue.test(e)||(e.match($y)||[]).length<3)&&(s=EP(e)[0],s?(a=(s.nodeName+"").toUpperCase(),n&&a!=="PATH"&&(s=Jz(s,!1),a="PATH"),e=s.getAttribute(a==="PATH"?"d":"points")||"",s===r&&(e=s.getAttributeNS(null,"data-original")||e)):(oh("WARNING: invalid morph to: "+e),e=!1)),e},uR=function(e){for(var n=e.length,r,i,s,a,o,l,c,u;--n>-1;)for(r=e[n],u=r.cpData=r.cpData||[],u.length=0,c=r.length-2,l=0;l<c;l+=6)i=r[l]-r[l+2],s=r[l+1]-r[l+3],a=r[l+6]-r[l+4],o=r[l+7]-r[l+5],u[l+2]=mS(s,i),u[l+3]=Yf(i*i+s*s),u[l+4]=mS(o,a),u[l+5]=Yf(a*a+o*o);return e},hR=function(e){var n=e.trim().split(" "),r=~e.indexOf("left")?0:~e.indexOf("right")?100:isNaN(parseFloat(n[0]))?50:parseFloat(n[0]),i=~e.indexOf("top")?0:~e.indexOf("bottom")?100:isNaN(parseFloat(n[1]))?50:parseFloat(n[1]);return{x:r/100,y:i/100}},oX=function(e){return e!==e%h8?e+(e<0?rR:-rR):e},fR="Use MorphSVGPlugin.convertToPath() to convert to a path before morphing.",lhe=function(e,n,r,i){var s=this._origin,a=this._eOrigin,o=e[r]-s.x,l=e[r+1]-s.y,c=Yf(o*o+l*l),u=mS(l,o),f,d;return o=n[r]-a.x,l=n[r+1]-a.y,f=mS(l,o)-u,d=oX(f),!i&&ng&&Math.abs(d+ng.ca)<Yue&&(i=ng),this._anchorPT=ng={_next:this._anchorPT,t:e,sa:u,ca:i&&d*i.ca<0&&Math.abs(d)>que?f:d,sl:c,cl:Yf(o*o+l*l)-c,i:r}},dR=function(e){vo=iX(),rg=rg||vo&&vo.plugins.morphSVG,vo&&rg?(EP=vo.utils.toArray,rX=vo.core.reverting||function(){},rg.prototype._tweenRotation=lhe,nX=1):e&&oh("Please gsap.registerPlugin(MorphSVGPlugin)")},_p={version:"3.15.0",name:"morphSVG",rawVars:1,register:function(e,n){vo=e,rg=n,dR()},init:function(e,n,r,i,s){if(nX||dR(1),!n)return oh("invalid shape"),!1;Q6(n)&&(n=n.call(r,i,e,s));var a,o,l,c,u,f,d,m,x,g,v,A,w,k,T,M,_,D,I,j;if(typeof n=="string"||n.getBBox||n[0])n={shape:n};else if(typeof n=="object"){a={};for(o in n)a[o]=Q6(n[o])&&o!=="render"?n[o].call(r,i,e,s):n[o];n=a}var $=e.nodeType?window.getComputedStyle(e):{},B=$.fill+"",Q=!(B==="none"||(B.match($y)||[])[3]==="0"||$.fillRule==="evenodd"),z=n.smooth,q=(n.origin||"50 50").split(",");if(z===!0||z==="auto"?z={}:typeof z=="number"&&(z={points:z}),a=(e.nodeName+"").toUpperCase(),u=a==="POLYLINE"||a==="POLYGON",a!=="PATH"&&!u&&!n.prop)return oh("Cannot morph a <"+a+"> element. "+fR),!1;if(o=a==="PATH"?"d":"points",!n.prop&&!Q6(e.setAttribute))return!1;if(c=ohe(n.shape||n.d||n.points||"",o==="d",e),u&&Jue.test(c))return oh("A <"+a+"> cannot accept path data. "+fR),!1;if(f=n.shapeIndex||n.shapeIndex===0?n.shapeIndex:"auto",d=n.map||_p.defaultMap,this._prop=n.prop,this._render=n.render||_p.defaultRender,this._apply="updateTarget"in n?n.updateTarget:_p.defaultUpdateTarget,this._rnd=Math.pow(10,isNaN(n.precision)?2:+n.precision),this._tween=r,c){if(this._target=e,_=typeof n.precompile=="object",g=this._original=this._prop?e[this._prop]:e.getAttribute(o),!this._prop&&!e.getAttributeNS(null,"data-original")&&e.setAttributeNS(null,"data-original",g),o==="d"||this._prop){if(g=Ic(_?n.precompile[0]:g),v=Ic(_?n.precompile[1]:c),z){for(w=g.length;--w;)aX(g[w])&&g.splice(w,1);Z6(g,pS({},z,{points:+z.points||Math.max(p5(g),p5(v)),maxSegments:v.length})),Z6(v,z.redraw===!1?z:pS({},z,{points:g}))}if(!_&&!m5(g,v,f,d,Q))return!1;for((n.precompile==="log"||n.precompile===!0)&&oh('precompile:["'+Mf(g)+'","'+Mf(v)+'"]'),I=(n.type||_p.defaultType)!=="linear",j=n.curveMode||I,uR(g),uR(v),I&&(g.size||Xg(g),v.size||Xg(v),D=hR(q[0]),this._origin=g.origin={x:g.left+D.x*g.width,y:g.top+D.y*g.height},q[1]&&(D=hR(q[1])),this._eOrigin={x:v.left+D.x*v.width,y:v.top+D.y*v.height}),this._rawPath=e._gsRawPath=g,w=g.length;--w>-1;){for(T=g[w],M=v[w],m=T.cpData,x=M.cpData,k=T.length,ng=0,A=0;A<k;A+=6)(M[A]!==T[A]||M[A+1]!==T[A+1])&&(I?l=this._tweenRotation(T,M,A):(l=this.add(T,A,T[A],M[A],0,0,0,0,0,1),l=this.add(T,A+1,T[A+1],M[A+1],0,0,0,0,0,1)||l));for(A=0;A<k;A+=2)j&&(m[A]!==x[A]||m[A+1]!==x[A+1])&&m[A+1]&&x[A+1]?this._controlPT={_next:this._controlPT,i:A,j:w,ai:A%6>3?A+2:A-2,sa:m[A],ca:oX(x[A]-m[A]),sl:m[A+1],cl:x[A+1]-m[A+1]}:(M[A]!==T[A]&&(l=this.add(T,A,T[A],M[A],0,0,0,0,0,1)),M[A+1]!==T[A+1]&&(l=this.add(T,A+1,T[A+1],M[A+1],0,0,0,0,0,1)||l))}}else l=this.add(e,"setAttribute",e.getAttribute(o)+"",c+"",i,s,0,ahe(f),o);I&&(this.add(this._origin,"x",this._origin.x,this._eOrigin.x,0,0,0,0,0,1),l=this.add(this._origin,"y",this._origin.y,this._eOrigin.y,0,0,0,0,0,1)),l&&(this._props.push("morphSVG"),l.end=z&&z.persist!==!1?Mf(v):c,l.endProp=o)}return 1},render:function(e,n){for(var r=n._rawPath,i=n._controlPT,s=n._anchorPT,a=n._rnd,o=n._target,l=n._pt,c,u,f,d,m,x,g,v,A;l;)l.r(e,l.d),l=l._next;if(e===1&&n._apply)for(l=n._pt;l;)l.end&&(n._prop?o[n._prop]=l.end:o.setAttribute(l.endProp,l.end)),l=l._next;else if(r){for(;s;)m=s.sa+e*s.ca,d=s.sl+e*s.cl,s.t[s.i]=n._origin.x+tR(m)*d,s.t[s.i+1]=n._origin.y+nR(m)*d,s=s._next;for(;i;)f=r[i.j],x=i.i,m=i.sa+e*i.ca,v=nR(m),A=tR(m),d=i.sl+e*i.cl,f[x]=f[i.ai]-A*d,f[x+1]=f[i.ai+1]-v*d,i=i._next;if(!e&&rX()&&(r=Ic(n._original)),o._gsRawPath=r,n._apply){for(c="",u=" ",g=0;g<r.length;g++){for(f=r[g],d=f.length,c+="M"+(f[0]*a|0)/a+u+(f[1]*a|0)/a+" C",x=2;x<d;x++)c+=(f[x]*a|0)/a+u;f.closed&&(c+="z")}n._prop?o[n._prop]=c:o.setAttribute("d",c)}}n._render&&r&&n._render.call(n._tween,r,o)},kill:function(e){this._pt=this._rawPath=0},getRawPath:Hue,stringToRawPath:Ic,rawPathToString:Mf,smoothRawPath:Z6,normalizeStrings:function(e,n,r){var i=r.shapeIndex,s=r.map,a=[e,n];return lR(a,i,s),a},pathFilter:lR,pointsFilter:g5,getTotalSize:Xg,equalizeSegmentQuantity:m5,convertToPath:function(e,n){return EP(e).map(function(r){return Jz(r,n!==!1)})},defaultType:"linear",defaultUpdateTarget:!0,defaultMap:"size"};iX()&&vo.registerPlugin(_p);const Ex=30;function Fi(t){if(!Number.isFinite(t)||t<0)return"0:00";const e=Math.floor(t/60),n=Math.floor(t%60);return`${e}:${n.toString().padStart(2,"0")}`}function y5(t,e=Ex){return!Number.isFinite(t)||t<=0||!Number.isFinite(e)||e<=0?0:Math.round(t*e)}function lX(t,e=Ex){return!Number.isFinite(t)||t<=0||!Number.isFinite(e)||e<=0?0:t/e}function x5(t,e,n=Ex){const r=y5(t,n),i=Math.max(0,r+e);return lX(i,n)}function cX(t,e,n=Ex){const r=y5(t,n),i=y5(e,n);return`${r}f / ${i}f`}function uX(t){return Number.isFinite(t)&&t>0}function pR(t,e){const n=Math.max(0,Number.isFinite(e)?e:0),r=Math.max(0,Number.isFinite(t)?t:0);return n>0?Math.min(r,n):r}function Cv(t){if(!t)return 0;try{const e=Number(t.getDuration());return uX(e)?e:0}catch{return 0}}function che(t){return{now:()=>t.performance.now(),requestAnimationFrame:e=>t.requestAnimationFrame(e),cancelAnimationFrame:e=>t.cancelAnimationFrame(e)}}function uhe(t,e,n,r=()=>1){var m;const i=Math.max(0,Number.isFinite(e)?e:0);let s=pR(Number(((m=t.getTime)==null?void 0:m.call(t))??0),i),a=!1,o=0,l=s,c=n.now();const u=x=>{var g;if(s=pR(x,i),typeof t.renderSeek=="function"){t.renderSeek(s);return}(g=t.seek)==null||g.call(t,s)},f=()=>{o&&(n.cancelAnimationFrame(o),o=0)},d=x=>{if(!a)return;const g=Math.max(.1,Number(r())||1),v=(x-c)/1e3*g;if(u(l+v),s>=i){a=!1,o=0;return}o=n.requestAnimationFrame(d)};return{play:()=>{a||i<=0||(s>=i&&u(0),a=!0,l=s,c=n.now(),f(),o=n.requestAnimationFrame(d))},pause:()=>{a=!1,f()},seek:(x,g)=>{if(u(x),g!=null&&g.keepPlaying){a&&(l=s,c=n.now());return}a=!1,f()},getTime:()=>s,getDuration:()=>i,isPlaying:()=>a}}function Zb(t,e){var n;(n=t.current)==null||n.adapter.pause(),t.current=null,e.current=!1}function hhe(t){const{cache:e,warned:n,bestAdapter:r,effectiveDuration:i,docDuration:s}=t,a=e.current;if((a==null?void 0:a.player)===r&&a.duration===i)return a.adapter;a==null||a.adapter.pause(),n.current||(n.current=!0,console.warn(`[useTimelinePlayer] Selected adapter duration (${Cv(r)}s) does not cover the document duration (${s}s); falling back to seek-driven playback, which never starts media elements or WebAudio. Audio will not play in preview — extend the GSAP timeline to cover the declared data-duration.`));const o=uhe(r,i,t.clock,t.getPlaybackRate);return e.current={player:r,duration:i,adapter:o},o}function mR(t){return{play:()=>t.play(),pause:()=>t.pause(),seek:(e,n)=>{const r=!(n!=null&&n.keepPlaying);r&&t.pause(),t.seek(e),r&&t.pause()},getTime:()=>t.time(),getDuration:()=>t.duration(),isPlaying:()=>t.isActive()}}function gR(t){if(!t)return 0;const e=Number.parseFloat(t.getAttribute("data-duration")??"")||Number.parseFloat(t.getAttribute("data-hf-authored-duration")??"");return uX(e)?e:0}function f8(t){return!!t.closest(["[data-hyperframes-ignore]","[data-hyperframes-picker-ignore]","[data-hf-ignore]","[data-hf-color-grading-canvas]"].join(","))}function fhe(t){if(!t)return 0;const e=gR(t.querySelector("[data-composition-id]"));if(e>0)return e;let n=0;for(const r of Array.from(t.querySelectorAll("[data-start]"))){if(f8(r))continue;const i=Number.parseFloat(r.getAttribute("data-start")??""),s=gR(r);!Number.isFinite(i)||i<0||s<=0||(n=Math.max(n,i+s))}return n}function b5(t){var n;const e=((n=t.ownerDocument.defaultView)==null?void 0:n.HTMLElement)??globalThis.HTMLElement;return typeof e<"u"&&t instanceof e}function hX(t){const e=t.ownerDocument.defaultView??window,n=e.HTMLMediaElement??globalThis.HTMLMediaElement,r=e.HTMLImageElement??globalThis.HTMLImageElement;if(t instanceof n||t instanceof r)return t;const i=t.querySelector("video, audio, img");return i instanceof n||i instanceof r?i:null}function fX(t,e){const n=e.getAttribute("data-playback-start")?"playback-start":e.getAttribute("data-media-start")?"media-start":void 0,r=e.getAttribute("data-playback-start")??e.getAttribute("data-media-start");if(r!=null){const f=parseFloat(r);Number.isFinite(f)&&(t.playbackStart=f)}n&&(t.playbackStartAttr=n);const i=hX(e);if(!i)return;t.tag=i.tagName.toLowerCase();const s=i.getAttribute("src");s&&(t.src=s);const o=(i.ownerDocument.defaultView??window).HTMLMediaElement??globalThis.HTMLMediaElement;if(typeof o>"u"||!(i instanceof o))return;const l=e.getAttribute("data-source-duration")??i.getAttribute("data-source-duration"),c=l?parseFloat(l):i.duration;Number.isFinite(c)&&c>0&&(t.sourceDuration=c);const u=i.defaultPlaybackRate;Number.isFinite(u)&&u>0&&(t.playbackRate=u)}function kx(t){var i,s,a;const e=(i=t.label)==null?void 0:i.trim();if(e)return e;const n=(s=t.id)==null?void 0:s.trim();if(n)return n;const r=(a=t.tag)==null?void 0:a.trim().toLowerCase();return r?`${r} clip`:"Timeline clip"}const dhe=new Set(["base","link","meta","noscript","script","style","template"]);function yR(t){return t.trim().replace(/[_-]+/g," ").replace(/\s+/g," ").replace(/\b\w/g,e=>e.toUpperCase())}function phe(t){const e=t.getAttribute("data-timeline-label")??t.getAttribute("data-label")??t.getAttribute("aria-label");if(e!=null&&e.trim())return e.trim();if(t.id.trim())return yR(t.id);const n=t.className.split(/\s+/).filter(Boolean),r=n.find(i=>i!=="clip")??n[0];return r?yR(r):kx({tag:t.tagName})}function qf(t){if(b5(t)&&t.id)return`#${CSS.escape(t.id)}`;const e=t.getAttribute("data-composition-id");if(e)return`[data-composition-id="${CSS.escape(e)}"]`;if(b5(t)){const n=t.className.split(/\s+/).filter(Boolean),r=n.find(i=>i!=="clip")??n[0];if(r)return`.${CSS.escape(r)}`}}function By(t){var n;const e=(n=t.parentElement)==null?void 0:n.closest("[data-composition-id]");return(e==null?void 0:e.getAttribute("data-composition-file"))??(e==null?void 0:e.getAttribute("data-composition-src"))??void 0}function Vy(t,e,n){if(!(!n||n.startsWith("#")||n.startsWith("[data-composition-id=")))try{const i=Array.from(t.querySelectorAll(n)).indexOf(e);return i>=0?i:void 0}catch{return}}function gS(t){const e=t.sourceFile??"index.html";return t.domId?`${e}#${t.domId}`:t.selector?`${e}:${t.selector}:${t.selectorIndex??0}`:`${e}:${t.id}:${t.fallbackIndex}`}function Qy(t){var r;const e=((r=t.preferredId)==null?void 0:r.trim())||gS({id:t.label,fallbackIndex:t.fallbackIndex,domId:t.domId,selector:t.selector,selectorIndex:t.selectorIndex,sourceFile:t.sourceFile}),n=gS({id:e,fallbackIndex:t.fallbackIndex,domId:t.domId,selector:t.selector,selectorIndex:t.selectorIndex,sourceFile:t.sourceFile});return{id:e,key:n}}function A5(t){return t.key??t.id}function mhe(t){const e=t.querySelector("[data-composition-id]");return Array.from(t.querySelectorAll("[data-start]")).filter(n=>n!==e&&!f8(n))}function xR(t,e){return Math.abs(t-e)<.001}function ghe(t,e){var a;const n=(a=e.tagName)==null?void 0:a.toLowerCase();if(n&&t.tagName.toLowerCase()!==n)return!1;const r=Number.parseFloat(t.getAttribute("data-start")??"");if(Number.isFinite(r)&&!xR(r,e.start))return!1;const i=Number.parseFloat(t.getAttribute("data-duration")??"");if(Number.isFinite(i)&&!xR(i,e.duration))return!1;const s=Number.parseInt(t.getAttribute("data-track-index")??"",10);return!(Number.isFinite(s)&&s!==e.track)}function yhe(t,e){return t.getElementById(e)??t.querySelector(`[data-composition-id="${CSS.escape(e)}"]`)??t.querySelector(`.${CSS.escape(e)}`)??null}function xhe(t,e,n,r=new Set){const i=e.id?yhe(t,e.id):null;if(i&&!r.has(i))return i;const s=mhe(t).filter(o=>!r.has(o)),a=s.find(o=>ghe(o,e));return a||(s[n]??null)}function bhe(t,e){if(!b5(e)||f8(e)||e.parentElement!==t)return!1;const n=e.tagName.toLowerCase();return dhe.has(n)||e.hasAttribute("data-start")||e.hasAttribute("data-track-index")?!1:!!qf(e)}function Ahe(t,e){t.documentElement&&(t.documentElement.style.overflow="hidden",t.documentElement.style.margin="0"),t.body&&(t.body.style.overflow="hidden",t.body.style.margin="0"),e.scrollTo({top:0,left:0,behavior:"auto"})}function vhe(t){const e=/data-composition-id=["']([^"']+)["']/gi,n=new Set,r=Array.from(t.querySelectorAll("style, script"));for(const a of r){const o=a.textContent||"";if(!o)continue;let l;for(;(l=e.exec(o))!==null;){const c=(l[1]||"").trim();c&&n.add(c)}}if(n.size===0)return;const i=new Set,s=Array.from(t.querySelectorAll("[data-composition-id]"));for(const a of s){const o=a.getAttribute("data-composition-id");o&&i.add(o)}for(const a of n){if(a==="root"||i.has(a))continue;const o=t.getElementById(`${a}-layer`)||t.getElementById(`${a}-comp`)||t.getElementById(a);o&&(o.getAttribute("data-composition-id")||o.setAttribute("data-composition-id",a))}}function She(t){return t instanceof HTMLElement}function dX(t){const e=t.getRootNode();return typeof ShadowRoot<"u"&&e instanceof ShadowRoot&&She(e.host)?e.host:null}function pX(t,e,n){var r;(r=t.contentWindow)==null||r.postMessage({source:"hf-parent",type:"control",action:e,...n},"*")}function mX(t,e){return t||e>1}function Ohe(t,e){if(t)try{const n=dX(t);if(n&&typeof n.muted=="boolean"){n.muted=e;return}pX(t,"set-muted",{muted:e})}catch{}}function whe(t,e){if(!t)return;const n=Number.isFinite(e)&&e>0?e:1;try{const r=dX(t);if(r&&typeof r.playbackRate=="number"){r.playbackRate=n;return}pX(t,"set-playback-rate",{playbackRate:n})}catch{}}const Che=.25;let Ug=null,Yp=null,Gg=null,Wg=null;function Ehe(t,e){if(e){const n=t.getElementById(e);if(n instanceof HTMLAudioElement)return n}return t.querySelector("audio[data-timeline-role='music']")??t.querySelector("audio")}function khe(t,e){Ug&&Ug!==t&&Hy(),Gg===null&&(Gg=t.muted),Wg===null&&(Wg=t.volume),Ug=t;try{t.muted=!1,t.volume=Che,Math.abs(t.currentTime-e)>.04&&(t.currentTime=e),t.paused&&t.play().catch(()=>{})}catch{}Yp&&clearTimeout(Yp),Yp=setTimeout(Hy,140)}function The(t,e,n){if(!t)return;if(e===null){Hy();return}let r=null;try{r=t.contentDocument}catch{return}if(!r)return;const i=Ehe(r,n);i&&khe(i,e)}function Hy(){Yp&&(clearTimeout(Yp),Yp=null);const t=Ug;if(Ug=null,!!t){try{t.pause(),Gg!==null&&(t.muted=Gg),Wg!==null&&(t.volume=Wg)}catch{}Gg=null,Wg=null}}function Phe(t,e,n,r){const i=new Set(n.map(f=>f.id)),s=t.querySelector("[data-composition-id]"),a=s==null?void 0:s.getAttribute("data-composition-id"),o=t.querySelectorAll("[data-composition-id][data-start]"),l=[];o.forEach(f=>{var $,B,Q,z,q,re,W,ne,se;const d=f,m=d.getAttribute("data-composition-id");if(!m||m===a||i.has(d.id)||i.has(m))return;const x=d.getAttribute("data-start")??"0";let g=parseFloat(x);if(isNaN(g)){const he=t.getElementById(x)||t.querySelector(`[data-composition-id="${CSS.escape(x)}"]`);if(he){const oe=he.getAttribute("data-start")??"0";let G=parseFloat(oe);if(isNaN(G)){const F=t.getElementById(oe)||t.querySelector(`[data-composition-id="${CSS.escape(oe)}"]`),K=parseFloat((F==null?void 0:F.getAttribute("data-start"))??"0")||0,te=F==null?void 0:F.getAttribute("data-composition-id"),ie=parseFloat((F==null?void 0:F.getAttribute("data-duration"))??"")||(te?((Q=(B=($=e.__timelines)==null?void 0:$[te])==null?void 0:B.duration)==null?void 0:Q.call(B))??0:0);G=K+ie}const R=he.getAttribute("data-composition-id"),H=parseFloat(he.getAttribute("data-duration")??"")||(R?((re=(q=(z=e.__timelines)==null?void 0:z[R])==null?void 0:q.duration)==null?void 0:re.call(q))??0:0);g=G+H}else g=0}let v=parseFloat(d.getAttribute("data-duration")??"");if((isNaN(v)||v<=0)&&(v=((se=(ne=(W=e.__timelines)==null?void 0:W[m])==null?void 0:ne.duration)==null?void 0:se.call(ne))??0),!Number.isFinite(v)||v<=0||(Number.isFinite(g)||(g=0),Number.isFinite(r)&&r>0&&(g>=r||(v=Math.min(v,Math.max(0,r-g)),v<=0))))return;const A=d.getAttribute("data-track-index"),w=A!=null?parseInt(A,10):0,k=d.getAttribute("data-composition-src")||d.getAttribute("data-composition-file"),T=qf(d),M=By(d),_=Vy(t,d,T),D=kx({id:d.id||m||null,label:d.getAttribute("data-timeline-label")??d.getAttribute("data-label"),tag:d.tagName}),I=Qy({preferredId:d.id||m||null,label:D,fallbackIndex:l.length,domId:d.id||void 0,selector:T,selectorIndex:_,sourceFile:M}),j={id:I.id,label:D,key:I.key,tag:d.tagName.toLowerCase(),start:g,duration:v,track:isNaN(w)?0:w,domId:d.id||void 0,hfId:d.getAttribute("data-hf-id")||void 0,selector:T,selectorIndex:_,sourceFile:M};if(k)j.compositionSrc=k;else{const he=d.querySelector("video[src]");he&&(j.src=he.getAttribute("src")||void 0,j.tag="video")}l.push(j)});let c=!1;const u=n.map(f=>{if(f.compositionSrc)return f;const d=t.getElementById(f.id)??t.querySelector(`[data-composition-id="${CSS.escape(f.id)}"]`);if(!d)return f;const m=d.getAttribute("data-composition-src")||d.getAttribute("data-composition-file");return m?(c=!0,{...f,compositionSrc:m}):f});return{missing:l,updatedEls:u,patched:c}}const bR=t=>{let e;const n=new Set,r=(c,u)=>{const f=typeof c=="function"?c(e):c;if(!Object.is(f,e)){const d=e;e=u??(typeof f!="object"||f===null)?f:Object.assign({},e,f),n.forEach(m=>m(e,d))}},i=()=>e,o={setState:r,getState:i,getInitialState:()=>l,subscribe:c=>(n.add(c),()=>n.delete(c))},l=e=t(r,i,o);return o},Mhe=(t=>t?bR(t):bR),Dhe=t=>t;function Nhe(t,e=Dhe){const n=Lb.useSyncExternalStore(t.subscribe,Lb.useCallback(()=>e(t.getState()),[t,e]),Lb.useCallback(()=>e(t.getInitialState()),[t,e]));return Lb.useDebugValue(n),n}const AR=t=>{const e=Mhe(t),n=r=>Nhe(e,r);return Object.assign(n,e),n},gX=(t=>t?AR(t):AR),yX="hf-studio-ui-preferences";function vR(t){return typeof t=="object"&&t!==null}function xX(){if(typeof window>"u")return null;try{return window.localStorage}catch{return null}}function bX(t){if(!t)return{};try{const e=t.getItem(yX);if(!e)return{};const n=JSON.parse(e);if(!vR(n))return{};const r={};if(typeof n.leftCollapsed=="boolean"&&(r.leftCollapsed=n.leftCollapsed),typeof n.timelineVisible=="boolean"&&(r.timelineVisible=n.timelineVisible),typeof n.timelineHeight=="number"&&Number.isFinite(n.timelineHeight)&&(r.timelineHeight=n.timelineHeight),typeof n.playbackRate=="number"&&Number.isFinite(n.playbackRate)&&(r.playbackRate=n.playbackRate),typeof n.audioMuted=="boolean"&&(r.audioMuted=n.audioMuted),vR(n.previewZoom)){const{zoomPercent:i,panX:s,panY:a}=n.previewZoom;typeof i=="number"&&Number.isFinite(i)&&typeof s=="number"&&Number.isFinite(s)&&typeof a=="number"&&Number.isFinite(a)&&(r.previewZoom={zoomPercent:i,panX:s,panY:a})}return Array.isArray(n.recentBlocks)&&(r.recentBlocks=n.recentBlocks.filter(i=>typeof i=="string")),typeof n.snapEnabled=="boolean"&&(r.snapEnabled=n.snapEnabled),typeof n.gridVisible=="boolean"&&(r.gridVisible=n.gridVisible),typeof n.gridSpacing=="number"&&Number.isFinite(n.gridSpacing)&&(r.gridSpacing=n.gridSpacing),typeof n.snapToGrid=="boolean"&&(r.snapToGrid=n.snapToGrid),r}catch{return{}}}function Xc(t=xX()){return bX(t)}function Kf(t,e=xX()){if(e)try{const n={...bX(e),...t};e.setItem(yX,JSON.stringify(n))}catch{}}const z6=new Set,Xs={notify:t=>z6.forEach(e=>e(t)),subscribe:t=>(z6.add(t),()=>z6.delete(t))},pe=gX((t,e)=>({isPlaying:!1,currentTime:0,duration:0,timelineReady:!1,beatDragging:!1,elements:[],selectedElementId:null,playbackRate:Xc().playbackRate??1,audioMuted:Xc().audioMuted??!1,loopEnabled:!1,zoomMode:"fit",manualZoomPercent:100,inPoint:null,outPoint:null,activeTool:"select",setActiveTool:n=>t({activeTool:n}),selectedKeyframes:new Set,toggleSelectedKeyframe:n=>t(r=>{const i=new Set(r.selectedKeyframes);return i.has(n)?i.delete(n):i.add(n),{selectedKeyframes:i}}),clearSelectedKeyframes:()=>t({selectedKeyframes:new Set}),activeKeyframePct:null,setActiveKeyframePct:n=>t({activeKeyframePct:n}),motionPathArmed:!1,setMotionPathArmed:n=>t({motionPathArmed:n}),motionPathCreateAvailable:!1,setMotionPathCreateAvailable:n=>t({motionPathCreateAvailable:n}),autoKeyframeEnabled:!0,setAutoKeyframeEnabled:n=>t({autoKeyframeEnabled:n}),cropMode:!1,setCropMode:n=>t({cropMode:n}),cropAvailable:!1,setCropAvailable:n=>t(n?{cropAvailable:!0}:{cropAvailable:!1,cropMode:!1}),selectedElementIds:new Set,toggleSelectedElementId:n=>t(r=>{const i=new Set(r.selectedElementIds);return i.has(n)?i.delete(n):i.add(n),{selectedElementIds:i}}),clearSelectedElementIds:()=>t({selectedElementIds:new Set}),keyframeCache:new Map,setKeyframeCache:(n,r)=>t(i=>{const s=new Map(i.keyframeCache);return r?s.set(n,r):s.delete(n),{keyframeCache:s}}),requestedSeekTime:null,requestSeek:n=>t({requestedSeekTime:n}),clearSeekRequest:()=>t({requestedSeekTime:null}),lintFindingsByElement:new Map,setLintFindingsByElement:n=>t({lintFindingsByElement:n}),beatAnalysis:null,setBeatAnalysis:n=>t({beatAnalysis:n}),beatEdits:null,setBeatEdits:n=>t({beatEdits:n}),beatUndo:[],beatRedo:[],beatPersist:null,setBeatPersist:n=>t({beatPersist:n}),commitBeatEdits:(n,r)=>{var i,s;t(a=>({beatEdits:n,beatUndo:[...a.beatUndo,{restore:a.beatEdits,at:Date.now(),label:r}],beatRedo:[]})),(s=(i=e()).beatPersist)==null||s.call(i)},undoBeatEdits:()=>{var i,s;const n=e(),r=n.beatUndo[n.beatUndo.length-1];return r?(t({beatEdits:r.restore,beatUndo:n.beatUndo.slice(0,-1),beatRedo:[...n.beatRedo,{restore:n.beatEdits,at:r.at,label:r.label}]}),(s=(i=e()).beatPersist)==null||s.call(i),r.label):null},resetBeatHistory:()=>t({beatUndo:[],beatRedo:[]}),redoBeatEdits:()=>{var i,s;const n=e(),r=n.beatRedo[n.beatRedo.length-1];return r?(t({beatEdits:r.restore,beatRedo:n.beatRedo.slice(0,-1),beatUndo:[...n.beatUndo,{restore:n.beatEdits,at:r.at,label:r.label}]}),(s=(i=e()).beatPersist)==null||s.call(i),r.label):null},clipManifest:null,setClipManifest:n=>t({clipManifest:n}),clipParentMap:new Map,setClipParentMap:n=>t({clipParentMap:n}),domClipChildren:[],setDomClipChildren:n=>t({domClipChildren:n}),setIsPlaying:n=>{e().isPlaying!==n&&t({isPlaying:n})},setPlaybackRate:n=>{Kf({playbackRate:n}),t({playbackRate:n})},setAudioMuted:n=>{Kf({audioMuted:n}),t({audioMuted:n})},setLoopEnabled:n=>t({loopEnabled:n}),setZoomMode:n=>t({zoomMode:n}),setInPoint:n=>t(r=>{const i=n!==null&&Number.isFinite(n)?n:null;return{inPoint:i,outPoint:i!==null&&r.outPoint!==null&&i>=r.outPoint?null:r.outPoint,loopEnabled:i!==null?!0:r.loopEnabled}}),setOutPoint:n=>t(r=>{const i=n!==null&&Number.isFinite(n)?n:null;return{outPoint:i,inPoint:i!==null&&r.inPoint!==null&&i<=r.inPoint?null:r.inPoint,loopEnabled:i!==null?!0:r.loopEnabled}}),setManualZoomPercent:n=>t({manualZoomPercent:Math.max(10,Math.min(2e3,Math.round(n)))}),setCurrentTime:n=>t({currentTime:Number.isFinite(n)?n:0}),setDuration:n=>t({duration:Number.isFinite(n)?n:0}),setTimelineReady:n=>t({timelineReady:n}),setBeatDragging:n=>t({beatDragging:n}),setElements:n=>t({elements:n}),setSelectedElementId:n=>t(r=>n!==r.selectedElementId?{selectedElementId:n,activeKeyframePct:null,motionPathArmed:!1}:{selectedElementId:n}),updateElement:(n,r)=>t(i=>({elements:i.elements.map(s=>(s.key??s.id)===n?{...s,...r}:s)})),reset:()=>t({isPlaying:!1,currentTime:0,duration:0,timelineReady:!1,beatDragging:!1,elements:[],selectedElementId:null,inPoint:null,outPoint:null,activeTool:"select",selectedKeyframes:new Set,selectedElementIds:new Set,keyframeCache:new Map,beatAnalysis:null,beatEdits:null,beatUndo:[],beatRedo:[],beatPersist:null,clipManifest:null,clipParentMap:new Map,domClipChildren:[]})}));function _he(){try{return!1}catch{return!1}}_he()&&typeof window<"u"&&(window.__playerStore=pe);const AX="phc_zjjbX0PnWxERXrMHhkEJWj9A9BhGVLRReICgsfTMmpx",vX="https://us.i.posthog.com",Ihe=3e4,Rhe=5e3;let Hf=[],Yg=null;function SX(){return WZ()}function Lhe(){try{return localStorage.getItem("hf-studio-telemetry-opt-out")!=="1"}catch{return!0}}function jhe(){var t,e;return{studio_version:"0.7.43",screen_width:(t=window.screen)==null?void 0:t.width,screen_height:(e=window.screen)==null?void 0:e.height,viewport_width:window.innerWidth,viewport_height:window.innerHeight,user_agent:navigator.userAgent,url_hash:location.hash.replace(/#project\//,"")}}function Ft(t,e={}){Lhe()&&(Hf.push({event:`studio:${t}`,properties:{...jhe(),...e},timestamp:new Date().toISOString()}),Yg||(Yg=setInterval(Fhe,Ihe)))}async function Fhe(){if(Hf.length===0)return;const t=Hf.map(r=>({event:r.event,properties:{...r.properties,$ip:null},distinct_id:SX(),timestamp:r.timestamp}));Hf=[];const e=new AbortController,n=setTimeout(()=>e.abort(),Rhe);try{await fetch(`${vX}/batch/`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({api_key:AX,batch:t}),signal:e.signal})}catch{}finally{clearTimeout(n)}}function OX(){if(Yg&&(clearInterval(Yg),Yg=null),Hf.length===0)return;const t=Hf.map(n=>({event:n.event,properties:{...n.properties,$ip:null},distinct_id:SX(),timestamp:n.timestamp}));Hf=[];const e=JSON.stringify({api_key:AX,batch:t});try{navigator.sendBeacon(`${vX}/batch/`,e)}catch{}}typeof window<"u"&&window.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&OX()});const $he=[{title:"Playback",hints:[{key:"Space",label:"Play / Pause"},{key:"J",label:"Play backward"},{key:"K",label:"Stop"},{key:"L",label:"Play forward"},{key:"M",label:"Toggle mute"},{key:"⇧L",label:"Toggle loop"},{key:"←/→",label:"Step 1 frame"},{key:"⇧←/⇧→",label:"Step 10 frames"},{key:"F",label:"Toggle fullscreen"}]},{title:"Keyframes",hints:[{key:"K",label:"Add keyframe at playhead"},{key:"Del",label:"Delete selected keyframe"},{key:"H",label:"Toggle hold / bezier"},{key:"U",label:"Expand / collapse properties"},{key:"R",label:"Record gesture"}]},{title:"Editing",hints:[{key:"⌘Z",label:"Undo"},{key:"⌘⇧Z",label:"Redo"},{key:"⌘C",label:"Copy element"},{key:"⌘V",label:"Paste element"},{key:"⌘X",label:"Cut element"},{key:"S",label:"Split clip at playhead"},{key:"⌘G",label:"Group elements"},{key:"⌘⇧G",label:"Ungroup"},{key:"Del",label:"Delete selected element"}]},{title:"Gesture recording modifiers",hints:[{key:"Drag",label:"Record x / y position"},{key:"Scroll",label:"Record z depth"},{key:"⇧ Drag",label:"Record rotationX / rotationY"},{key:"⌥ Drag",label:"Record rotation"},{key:"⌘ Drag↕",label:"Record opacity"},{key:"⌘ Scroll",label:"Record scale"}]},{title:"Canvas",hints:[{key:"Drag",label:"Move element / add keyframe"},{key:"⌥ Drag",label:"Move entire animation path"},{key:"⇧ Drag",label:"Uniform resize"}]},{title:"Crop",hints:[{key:"DblClick",label:"Crop selected element"},{key:"Drag edge",label:"Adjust crop side"},{key:"Drag frame",label:"Move crop window"},{key:"Esc",label:"Exit crop (or click outside)"}]},{title:"Panels",hints:[{key:"⌘1",label:"Compositions tab"},{key:"⌘2",label:"Assets tab"}]},{title:"Work area",hints:[{key:"I",label:"Set in-point"},{key:"⇧I",label:"Clear in-point"},{key:"O",label:"Set out-point"},{key:"⇧O",label:"Clear out-point"},{key:"A",label:"Jump to in-point"},{key:"E",label:"Jump to out-point"}]}],Bhe=b.memo(function({disabled:e,duration:n,inPoint:r,outPoint:i,setInPoint:s,setOutPoint:a,onSeek:o}){const[l,c]=b.useState(!1),[u,f]=b.useState(""),d=b.useRef(null);b.useEffect(()=>{if(!l)return;const v=A=>{d.current&&!d.current.contains(A.target)&&c(!1)};return document.addEventListener("mousedown",v),()=>{document.removeEventListener("mousedown",v)}},[l]);const m=b.useCallback(()=>{if(e)return;const v=Number.parseInt(u,10);!Number.isFinite(v)||n<=0||o(Math.min(n,lX(Math.max(0,v))))},[e,n,u,o]),x=b.useCallback(v=>{v.preventDefault(),m()},[m]),g=b.useCallback(v=>{v.key==="Enter"&&(v.preventDefault(),m())},[m]);return S.jsxs("div",{ref:d,className:"relative flex-shrink-0",children:[S.jsx(Un,{label:"Shortcuts and tools",children:S.jsx("button",{type:"button",onClick:()=>c(v=>!v),className:`w-6 h-6 flex items-center justify-center rounded border transition-colors ${l?"border-neutral-600 text-neutral-200 bg-neutral-800":"border-neutral-800 text-neutral-600 hover:text-neutral-300 hover:border-neutral-600"}`,"aria-label":"Shortcuts and tools","aria-expanded":l,children:S.jsxs("svg",{width:"11",height:"11",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[S.jsx("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2"}),S.jsx("path",{d:"M6 8h.01M10 8h.01M14 8h.01M18 8h.01M6 12h.01M10 12h.01M14 12h.01M18 12h.01M8 16h8"})]})})}),l&&S.jsxs("div",{className:"absolute bottom-full right-0 mb-2 z-50 rounded-lg shadow-xl min-w-[220px] overflow-y-auto",style:{background:"#161618",border:"1px solid rgba(255,255,255,0.08)",maxHeight:"min(280px, calc(100vh - 80px))"},children:[S.jsxs("div",{className:"px-3 pt-3 pb-2.5",children:[S.jsx("p",{className:"text-[9px] font-medium text-neutral-500 uppercase tracking-wider mb-1.5",children:"Jump to frame"}),S.jsxs("form",{onSubmit:x,className:"flex items-center gap-1.5",children:[S.jsx("input",{value:u,onChange:v=>f(v.target.value),disabled:e,inputMode:"numeric",pattern:"[0-9]*","aria-label":"Jump to frame",placeholder:"frame number",className:"h-6 flex-1 rounded border border-neutral-700 bg-neutral-900 px-2 text-[10px] font-mono tabular-nums text-neutral-200 outline-none transition-colors placeholder:text-neutral-600 focus:border-studio-accent/60",onKeyDown:g,onBlur:m}),S.jsx(Un,{label:"Jump to frame",children:S.jsx("button",{type:"submit",disabled:e,className:"h-6 px-2 rounded border border-neutral-700 text-[10px] text-neutral-300 transition-colors hover:border-neutral-500 hover:bg-neutral-800 disabled:opacity-40",children:"Go"})})]})]}),S.jsx("div",{style:{borderTop:"1px solid rgba(255,255,255,0.06)"}}),S.jsxs("div",{className:"px-3 pt-2.5 pb-2",children:[S.jsx("p",{className:"text-[9px] font-medium text-neutral-500 uppercase tracking-wider mb-1.5",children:"Work area"}),S.jsxs("div",{className:"flex flex-col gap-1",children:[S.jsxs("div",{className:"flex items-center justify-between gap-2",children:[S.jsxs("div",{className:"flex items-center gap-2",children:[S.jsx("span",{className:"font-mono text-[10px] rounded border border-neutral-700 px-1.5 py-0.5 text-neutral-300 min-w-[20px] text-center",style:{background:"rgba(255,255,255,0.05)"},children:"I"}),S.jsx("span",{className:"text-[10px] text-neutral-400",children:"In-point"})]}),S.jsx("div",{className:"flex items-center gap-1.5",children:r!==null?S.jsxs(S.Fragment,{children:[S.jsx("span",{className:"font-mono text-[10px] text-neutral-300",children:Fi(r)}),S.jsx(Un,{label:"Clear in-point",children:S.jsx("button",{type:"button",onClick:()=>s(null),className:"w-4 h-4 flex items-center justify-center rounded text-neutral-500 hover:text-neutral-200 transition-colors","aria-label":"Clear in-point",children:S.jsx("svg",{width:"8",height:"8",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:S.jsx("path",{d:"M18 6L6 18M6 6l12 12"})})})})]}):S.jsx("span",{className:"text-[10px] text-neutral-600",children:"—"})})]}),S.jsxs("div",{className:"flex items-center justify-between gap-2",children:[S.jsxs("div",{className:"flex items-center gap-2",children:[S.jsx("span",{className:"font-mono text-[10px] rounded border border-neutral-700 px-1.5 py-0.5 text-neutral-300 min-w-[20px] text-center",style:{background:"rgba(255,255,255,0.05)"},children:"O"}),S.jsx("span",{className:"text-[10px] text-neutral-400",children:"Out-point"})]}),S.jsx("div",{className:"flex items-center gap-1.5",children:i!==null?S.jsxs(S.Fragment,{children:[S.jsx("span",{className:"font-mono text-[10px] text-neutral-300",children:Fi(i)}),S.jsx(Un,{label:"Clear out-point",children:S.jsx("button",{type:"button",onClick:()=>a(null),className:"w-4 h-4 flex items-center justify-center rounded text-neutral-500 hover:text-neutral-200 transition-colors","aria-label":"Clear out-point",children:S.jsx("svg",{width:"8",height:"8",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:S.jsx("path",{d:"M18 6L6 18M6 6l12 12"})})})})]}):S.jsx("span",{className:"text-[10px] text-neutral-600",children:"—"})})]})]})]}),S.jsx("div",{style:{borderTop:"1px solid rgba(255,255,255,0.06)"}}),S.jsx("div",{className:"px-3 pt-2.5 pb-3 flex flex-col gap-3",children:$he.map(v=>S.jsxs("div",{children:[S.jsx("p",{className:"text-[9px] font-medium text-neutral-500 uppercase tracking-wider mb-1.5",children:v.title}),S.jsx("div",{className:"flex flex-col gap-1",children:v.hints.map(A=>S.jsxs("div",{className:"flex items-center gap-3",children:[S.jsx("span",{className:"font-mono text-[10px] rounded border border-neutral-700 px-1.5 py-0.5 text-neutral-300 min-w-[36px] text-center",style:{background:"rgba(255,255,255,0.05)"},children:A.key}),S.jsx("span",{className:"text-[10px] text-neutral-400",children:A.label})]},A.key))})]},v.title))})]})]})}),Vhe=[.25,.5,1,1.5,2],Qhe=b.memo(function({playbackRate:e,setPlaybackRate:n,disabled:r}){const[i,s]=b.useState(!1),a=b.useRef(null);return b.useEffect(()=>{if(!i)return;const o=l=>{a.current&&!a.current.contains(l.target)&&s(!1)};return document.addEventListener("mousedown",o),()=>{document.removeEventListener("mousedown",o)}},[i]),S.jsxs("div",{ref:a,className:"relative flex-shrink-0",children:[S.jsx(Un,{label:"Playback speed",children:S.jsx("button",{type:"button",onClick:()=>s(o=>!o),disabled:r,className:"w-10 px-2 py-1 rounded-md text-[10px] font-mono tabular-nums transition-colors",style:{color:"#71717A",background:"rgba(255,255,255,0.04)"},children:e===1?"1x":`${e}x`})}),i&&S.jsx("div",{className:"absolute bottom-full right-0 mb-1.5 rounded-lg shadow-xl z-50 min-w-[56px] overflow-hidden",style:{background:"#161618",border:"1px solid rgba(255,255,255,0.08)"},children:Vhe.map(o=>S.jsxs("button",{onClick:()=>{Ft("playback",{action:"speed_change",rate:o}),n(o),s(!1)},className:"block w-full px-3 py-1.5 text-[11px] text-left font-mono tabular-nums transition-colors",style:{color:o===e?"#FAFAFA":"#71717A",background:o===e?"rgba(255,255,255,0.06)":"transparent"},onMouseEnter:l=>{o!==e&&(l.currentTarget.style.background="rgba(255,255,255,0.04)")},onMouseLeave:l=>{o!==e&&(l.currentTarget.style.background="transparent")},children:[o,"x"]},o))})]})}),Hhe=8;function SR(t,e,n){if(!Number.isFinite(n)||n<=0)return 0;const r=(t-e)/n,i=Math.max(0,Math.min(1,r)),s=Math.min(.5,Hhe/n);return i<=s?0:i>=1-s?1:i}function zb(t,e,n){t.current&&(t.current.style.width=`${n}%`),e.current&&(e.current.style.left=`${n}%`)}function Zhe(t,e,n,r){const i=b.useCallback(a=>{if(n)return;const o=t.seekBarRef.current;if(!o||r<=0)return;const l=o.getBoundingClientRect(),c=SR(a,l.left,l.width);zb(t.progressFillRef,t.progressThumbRef,c*100),e(c*r)},[n,r,e,t]),s=b.useCallback(a=>{if(a.button!==0)return;a.preventDefault(),a.currentTarget.focus(),t.isDraggingRef.current=!0;const o=a.currentTarget,l=a.pointerId;try{o.setPointerCapture(l)}catch{}i(a.clientX);let c=0,u=a.clientX;const f=g=>{if(g.pointerId!==l||!t.isDraggingRef.current)return;u=g.clientX;const v=t.seekBarRef.current,A=t.durationRef.current;if(v&&A>0){const w=v.getBoundingClientRect(),k=SR(g.clientX,w.left,w.width)*100;zb(t.progressFillRef,t.progressThumbRef,k)}c||(c=requestAnimationFrame(()=>{c=0,t.isDraggingRef.current&&i(u)}))},d=()=>{t.isDraggingRef.current=!1,c&&(cancelAnimationFrame(c),c=0),i(u);try{o.releasePointerCapture(l)}catch{}o.removeEventListener("pointermove",f),o.removeEventListener("pointerup",m),o.removeEventListener("pointercancel",m),window.removeEventListener("pointerup",m),window.removeEventListener("pointercancel",m),document.removeEventListener("visibilitychange",x),window.removeEventListener("blur",d),o.blur()},m=g=>{g.pointerId===l&&d()},x=()=>{document.visibilityState==="hidden"&&d()};o.addEventListener("pointermove",f),o.addEventListener("pointerup",m),o.addEventListener("pointercancel",m),window.addEventListener("pointerup",m),window.addEventListener("pointercancel",m),document.addEventListener("visibilitychange",x),window.addEventListener("blur",d)},[i,t]);return wr(()=>{const a=c=>{t.currentTimeRef.current=c;const u=t.durationRef.current,f=u>0?Math.min(100,c/u*100):0;zb(t.progressFillRef,t.progressThumbRef,f),t.timeDisplayRef.current&&(t.timeDisplayRef.current.textContent=t.timeDisplayModeRef.current==="frame"?cX(c,u):Fi(c)),t.sliderRef.current&&t.sliderRef.current.setAttribute("aria-valuenow",String(Math.round(c)))},o=Xs.subscribe(a);a(pe.getState().currentTime);const l=setInterval(()=>{const c=pe.getState().currentTime,u=pe.getState().duration;u>0&&c>0&&zb(t.progressFillRef,t.progressThumbRef,Math.min(100,c/u*100))},500);return()=>{o(),clearInterval(l)}}),{handlePointerDown:s}}dS.registerPlugin(_p);const OR="M87.5129 57.5141L56.9696 73.5433C52.8371 75.7098 48.7046 73.2553 49.6688 69.2104L58.9483 30.1391C59.9125 26.0942 65.2097 23.6397 68.3154 25.8062L91.2447 41.8354C96.4668 45.4796 94.4631 53.8699 87.5129 57.5141Z",wR="M56 28H67V71H56Z M73 28H84V71H73Z";function zhe({playing:t}){const e=b.useRef(null),n=b.useRef(!0);return b.useEffect(()=>{var o;const r=e.current;if(!r)return;const i=t?wR:OR,s=typeof window<"u"&&((o=window.matchMedia)==null?void 0:o.call(window,"(prefers-reduced-motion: reduce)").matches);if(n.current||s){n.current=!1,dS.set(r,{morphSVG:i});return}const a=dS.to(r,{duration:.28,ease:"power2.inOut",morphSVG:i});return()=>{a.kill()}},[t]),S.jsx("span",{className:"relative inline-flex h-3 w-3 items-center justify-center","aria-hidden":"true",children:S.jsx("svg",{width:"12",height:"12",viewBox:"46 21 54 56",fill:"#FAFAFA",children:S.jsx("path",{ref:e,d:t?wR:OR})})})}const Xhe=b.memo(function({audioMuted:e,audioAutoMuted:n,effectiveAudioMuted:r,controlsDisabled:i,setAudioMuted:s}){const a=n?"Audio muted above 1x speed":e?"Unmute audio":"Mute audio";return S.jsx(Un,{label:a,children:S.jsx("button",{type:"button",onClick:()=>{n||(Ft("playback",{action:"mute_toggle",muted:!e}),s(!e))},disabled:i||n,"aria-label":a,"aria-pressed":r,className:`h-7 w-7 flex-shrink-0 flex items-center justify-center rounded-md border transition-colors disabled:pointer-events-none ${r?"text-studio-accent bg-studio-accent/10 border-studio-accent/30":"border-neutral-700 text-neutral-400 hover:border-neutral-500 hover:bg-neutral-800"} ${n?"opacity-70":""}`,children:S.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[S.jsx("path",{d:"M11 5 6 9H3v6h3l5 4V5Z"}),r?S.jsxs(S.Fragment,{children:[S.jsx("path",{d:"m19 9-6 6"}),S.jsx("path",{d:"m13 9 6 6"})]}):S.jsxs(S.Fragment,{children:[S.jsx("path",{d:"M15.5 8.5a5 5 0 0 1 0 7"}),S.jsx("path",{d:"M18.5 5.5a9 9 0 0 1 0 13"})]})]})})})}),Uhe=b.memo(function({loopEnabled:e,disabled:n,setLoopEnabled:r}){return S.jsx(Un,{label:"Loop playback",children:S.jsx("button",{type:"button",onClick:()=>{Ft("playback",{action:"loop_toggle",enabled:!e}),r(!e)},disabled:n,className:`h-7 w-7 flex items-center justify-center rounded-md border transition-colors ${e?"text-studio-accent bg-studio-accent/10 border-studio-accent/30":"border-neutral-700 text-neutral-400 hover:border-neutral-500 hover:bg-neutral-800"}`,"aria-label":e?"Disable loop playback":"Enable loop playback","aria-pressed":e,children:S.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[S.jsx("path",{d:"M17 2l4 4-4 4"}),S.jsx("path",{d:"M3 11V9a4 4 0 0 1 4-4h14"}),S.jsx("path",{d:"M7 22l-4-4 4-4"}),S.jsx("path",{d:"M21 13v2a4 4 0 0 1-4 4H3"})]})})})}),Ghe=b.memo(function({isFullscreen:e,onToggleFullscreen:n}){return S.jsx(Un,{label:e?"Exit fullscreen (F)":"Enter fullscreen (F)",children:S.jsx("button",{type:"button",onClick:()=>{Ft("playback",{action:"fullscreen_toggle",active:!e}),n()},className:`h-7 w-7 flex-shrink-0 flex items-center justify-center rounded-md border transition-colors ${e?"text-studio-accent bg-studio-accent/10 border-studio-accent/30":"border-neutral-700 text-neutral-400 hover:border-neutral-500 hover:bg-neutral-800"}`,"aria-label":e?"Exit fullscreen":"Enter fullscreen",children:S.jsx("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:e?S.jsxs(S.Fragment,{children:[S.jsx("path",{d:"M8 3v3a2 2 0 0 1-2 2H3"}),S.jsx("path",{d:"M21 8h-3a2 2 0 0 1-2-2V3"}),S.jsx("path",{d:"M3 16h3a2 2 0 0 1 2 2v3"}),S.jsx("path",{d:"M16 21v-3a2 2 0 0 1 2-2h3"})]}):S.jsxs(S.Fragment,{children:[S.jsx("path",{d:"M8 3H5a2 2 0 0 0-2 2v3"}),S.jsx("path",{d:"M21 8V5a2 2 0 0 0-2-2h-3"}),S.jsx("path",{d:"M3 16v3a2 2 0 0 0 2 2h3"}),S.jsx("path",{d:"M16 21h3a2 2 0 0 0 2-2v-3"})]})})})})});function CR({position:t,duration:e}){return e<=0?null:S.jsx("div",{className:"absolute z-[3] pointer-events-none",style:{left:`${Math.min(100,t/e*100)}%`,top:"50%",transform:"translate(-50%, -50%)",width:"2px",height:"10px",background:"#3CE6AC",borderRadius:"1px"}})}function Whe({inPoint:t,outPoint:e,duration:n}){return t===null&&e===null||n<=0?null:S.jsxs(S.Fragment,{children:[S.jsx("div",{className:"absolute top-0 bottom-0 pointer-events-none",style:{left:`${t!==null?Math.min(100,t/n*100):0}%`,right:`${e!==null?100-Math.min(100,e/n*100):0}%`,background:"rgba(60,230,172,0.15)"}}),t!==null&&S.jsx(CR,{position:t,duration:n}),e!==null&&S.jsx(CR,{position:e,duration:n})]})}const Yhe=b.memo(function({disabled:e,duration:n,inPoint:r,outPoint:i,progressFillRef:s,progressThumbRef:a,seekBarRef:o,sliderRef:l,onPointerDown:c,onKeyDown:u}){return S.jsx("div",{ref:f=>{o.current=f,l.current=f},role:"slider",tabIndex:e?-1:0,"aria-label":"Seek","aria-disabled":e||void 0,"aria-valuemin":0,"aria-valuemax":Math.round(n),"aria-valuenow":0,className:`min-w-[96px] flex-1 h-6 flex items-center group outline-none focus-visible:ring-1 focus-visible:ring-white/30 focus-visible:rounded ${e?"cursor-not-allowed opacity-50":"cursor-pointer"}`,style:{touchAction:"none"},onPointerDown:c,onKeyDown:u,children:S.jsxs("div",{className:"w-full rounded-full relative",style:{background:"rgba(255,255,255,0.15)",height:"3px"},children:[S.jsx(Whe,{inPoint:r,outPoint:i,duration:n}),S.jsx("div",{ref:s,className:"absolute top-0 bottom-0 left-0 z-[1] rounded-full",style:{background:"linear-gradient(90deg, var(--hf-accent, #3CE6AC), #2BBFA0)"}}),S.jsx("div",{ref:a,className:"absolute top-1/2 z-[4] w-3 h-3 rounded-full -translate-y-1/2 -translate-x-1/2 transition-transform group-hover:scale-125",style:{background:"var(--hf-accent, #3CE6AC)",boxShadow:"0 0 6px rgba(60,230,172,0.4), 0 1px 4px rgba(0,0,0,0.4)"}})]})})}),qhe=b.memo(function({onTogglePlay:e,onSeek:n,disabled:r=!1,isFullscreen:i=!1,onToggleFullscreen:s}){const a=pe(he=>he.isPlaying),o=pe(he=>he.duration),l=pe(he=>he.timelineReady),c=pe(he=>he.playbackRate),u=pe(he=>he.audioMuted),f=pe(he=>he.loopEnabled),d=pe.getState().setPlaybackRate,m=pe.getState().setAudioMuted,x=pe.getState().setLoopEnabled,g=pe(he=>he.inPoint),v=pe(he=>he.outPoint),A=pe.getState().setInPoint,w=pe.getState().setOutPoint,[k,T]=b.useState("time"),M=b.useRef(null),_=b.useRef(null),D=b.useRef(null),I=b.useRef(null),j=b.useRef(null),$=b.useRef(!1),B=b.useRef(0),Q=b.useRef(k);Q.current=k;const z=b.useRef(o);z.current=o;const q=r||!l,re=c>1,W=mX(u,c);b.useEffect(()=>{if(!D.current)return;const he=B.current;D.current.textContent=k==="frame"?cX(he,o):Fi(he)},[o,k]);const{handlePointerDown:ne}=Zhe({seekBarRef:I,progressFillRef:M,progressThumbRef:_,sliderRef:j,timeDisplayRef:D,isDraggingRef:$,durationRef:z,currentTimeRef:B,timeDisplayModeRef:Q},n,r,o),se=b.useCallback(he=>{if(r||!l||o<=0)return;const oe=he.shiftKey?10:1;he.key==="ArrowLeft"?(he.preventDefault(),n(x5(B.current,-oe))):he.key==="ArrowRight"&&(he.preventDefault(),n(Math.min(o,x5(B.current,oe))))},[r,l,o,n]);return S.jsxs("div",{className:"px-4 py-2 flex flex-wrap items-center gap-x-2 gap-y-1","aria-disabled":r||void 0,style:{borderTop:"1px solid rgba(255,255,255,0.04)",paddingBottom:"calc(0.5rem + env(safe-area-inset-bottom))"},children:[S.jsx(Un,{label:a?"Pause":"Play",children:S.jsx("button",{type:"button","aria-label":a?"Pause":"Play",onClick:()=>{Ft("playback",{action:a?"pause":"play"}),e()},disabled:q,className:"flex-shrink-0 w-8 h-8 flex items-center justify-center rounded-lg disabled:opacity-30 disabled:pointer-events-none transition-colors",style:{background:"rgba(255,255,255,0.06)"},children:S.jsx(zhe,{playing:a})})}),S.jsx(Un,{label:k==="time"?"Switch to frame display":"Switch to time display",children:S.jsxs("button",{type:"button",onClick:()=>T(he=>he==="time"?"frame":"time"),disabled:r,className:"font-mono text-[11px] tabular-nums flex-shrink-0 w-[118px] text-left transition-colors disabled:pointer-events-none hover:opacity-80",style:{color:"#A1A1AA",cursor:"pointer"},children:[S.jsx("span",{ref:D,children:Fi(0)}),k==="time"?S.jsxs(S.Fragment,{children:[S.jsx("span",{style:{color:"#3F3F46",margin:"0 2px"},children:"/"}),S.jsx("span",{style:{color:"#52525B"},children:Fi(o)})]}):null]})}),S.jsx(Yhe,{disabled:r,duration:o,inPoint:g,outPoint:v,progressFillRef:M,progressThumbRef:_,seekBarRef:I,sliderRef:j,onPointerDown:ne,onKeyDown:se}),S.jsx(Xhe,{audioMuted:u,audioAutoMuted:re,effectiveAudioMuted:W,controlsDisabled:q,setAudioMuted:m}),S.jsx(Qhe,{playbackRate:c,setPlaybackRate:d,disabled:r}),S.jsx(Uhe,{loopEnabled:f,disabled:r,setLoopEnabled:x}),s&&S.jsx(Ghe,{isFullscreen:i,onToggleFullscreen:s}),S.jsx(Bhe,{disabled:r,duration:o,inPoint:g,outPoint:v,setInPoint:A,setOutPoint:w,onSeek:n})]})}),Khe=new Set(["audio","music","sfx","sound","narration"]),Jhe=/\.(aac|flac|m4a|mp3|ogg|opus|wav)(?:[?#].*)?$/i,efe=/\b(music|bgm|soundtrack|background[-_]?music)\b/i;function tfe(t){if(!t)return!1;const e=t.tag.trim().toLowerCase();return Khe.has(e)?!0:!!(t.src&&Jhe.test(t.src))}function qo(t){if(!t||!tfe(t))return!1;if(t.timelineRole==="music")return!0;if(t.timelineRole&&t.timelineRole!=="music")return!1;const e=t.domId??t.id??"";return efe.test(e)}let X6=null;function nfe(){return X6||(X6=o8(()=>import("./index-Drb3FuD6.js").then(t=>t.i),[]).then(t=>(t.default??t)||null).catch(()=>null)),X6}const U6=1024,ER=512,rfe=.05;function wX(t,e,n){const r=Math.floor(e*rfe),i=Math.floor(n*e),s=Math.max(0,i-r),a=Math.min(t.length,i+r);let o=0;for(let l=s;l<a;l++){const c=t[l]??0;o+=c*c}return Math.sqrt(o/Math.max(a-s,1))}function CX(t,e){return!t.channelData||t.peak<=0?.5:Math.min(1,wX(t.channelData,t.sampleRate,e)/t.peak)}async function ife(t){const e=t.getChannelData(0),n=t.sampleRate,r=[];for(let a=0;a<e.length-U6;a+=ER){let o=0;for(let l=0;l<U6;l++){const c=e[a+l];o+=c*c}r.push(o/U6)}const i=[],s=20;for(let a=s;a<r.length-s;a++){let o=0;for(let u=a-s;u<a+s;u++)o+=r[u];o/=s*2;const l=o*1.5,c=r[a];if(c>l&&c>(r[a-1]??0)&&c>(r[a+1]??0)){const u=a*ER/n;(i.length===0||u-i[i.length-1]>.1)&&i.push(Math.round(u*1e3)/1e3)}}return i}function sfe(t){if(t.length<4)return null;const e=[];for(let s=1;s<t.length;s++)e.push(t[s]-t[s-1]);const n=[...e].sort((s,a)=>s-a),r=Math.floor(n.length/2),i=n.length%2===0?(n[r-1]+n[r])/2:n[r];return i<=0?null:Math.round(60/i*10)/10}function G6(t){let e=t;for(;e>120;)e/=2;for(;e<60;)e*=2;return e}function afe(t,e){const n=[t/2,t,t*2];let r=t,i=Number.POSITIVE_INFINITY;for(const s of n){if(s<=0)continue;const a=Math.abs(s-e);a<i&&(i=a,r=s)}return r}function ofe(t,e,n){if(t.length===0||e<=0||n<=0)return t;const r=60/e;if(r<.125)return t;const i=r*.25;let s=0,a=-1;for(const l of t.slice(0,10)){const c=(l%r+r)%r;let u=0;for(const f of t){const d=(f%r+r)%r;Math.min(Math.abs(d-c),r-Math.abs(d-c))<i&&u++}u>a&&(a=u,s=c)}const o=[];for(let l=s;l<=n+.001;l+=r)o.push(Math.round(l*1e3)/1e3);return o}function lfe(t,e,n){if(t.length===0)return{times:t,strengths:[],peak:1e-6};const r=t.map(l=>wX(e,n,l)),i=Math.max(...r,1e-6),s=i*.12,a=[],o=[];for(let l=0;l<t.length;l++)r[l]>=s&&(a.push(t[l]),o.push(Math.min(1,r[l]/i)));return{times:a,strengths:o,peak:i}}async function cfe(t){const e=t.getChannelData(0),n=t.sampleRate,r=t.duration,i=await ife(t),s=sfe(i);let a=null;try{const d=await nfe();d&&(a=d(t))}catch{}let o=s,l="uncertain",c=null;if(s!==null&&a!==null){const d=Math.abs(G6(s)-G6(a))/G6(a);d<.05?(o=afe(a,s),l="high",c=o):d<.1?(o=Math.round((s+a)/2),l="low",c=o):(o=s,l="uncertain")}else s!==null?(o=s,l="low",c=s):a!==null&&(o=a,l="low",c=a);const u=c!==null?ofe(i,c,r):i,f=lfe(u,e,n);return{beatTimes:f.times,beatStrengths:f.strengths,bpm:o,bpmConfidence:l,channelData:e,sampleRate:n,peak:f.peak}}async function ufe(t){const e=new AudioContext;try{const r=await(await fetch(t)).arrayBuffer(),i=await e.decodeAudioData(r);return cfe(i)}finally{await e.close()}}function EX(t){if(!t||/^(blob:|data:)/i.test(t))return null;let e=null;const n="/preview/",r=t.indexOf(n);if(r!==-1){let i=t.slice(r+n.length);const s=i.search(/[?#]/);s!==-1&&(i=i.slice(0,s)),i.startsWith("comp/")&&(i=i.slice(5)),e=i?decodeURIComponent(i):null}if(!e)try{e=decodeURIComponent(new URL(t,"http://_").pathname)}catch{e=t}return e?(e=e.replace(/^\/+/,""),e||null):null}function kR(t){const e=EX(t);return e?`beats/${e}.json`:null}function hfe(t,e,n){const r=t.map((s,a)=>({time:Math.round(s*1e3)/1e3,strength:Math.round((e[a]??.5)*1e3)/1e3}));return`${JSON.stringify({version:1,audio:n,beats:r},null,2)}
|
|
70
|
+
*/var jue=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,Fue=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,$ue=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig,Bue=/(^[#\.][a-z]|[a-y][a-z])/i,Vue=Math.PI/180,Vb=Math.sin,Qb=Math.cos,tl=Math.abs,Pc=Math.sqrt,Hb=Math.atan2,qI=1e8,KI=function(e){return typeof e=="string"},Kz=function(e){return typeof e=="number"},JI=1e5,Li=function(e){return Math.round(e*JI)/JI||0},eR=function(e){return e.closed=Math.abs(e[0]-e[e.length-2])<.001&&Math.abs(e[1]-e[e.length-1])<.001},Que=function(e,n,r){var i=e.length,s=~~(r*i);if(e[s]>n){for(;--s&&e[s]>n;);s<0&&(s=0)}else for(;e[++s]<n&&s<i;);return s<i?s:i-1};function Hue(t){t=KI(t)&&Bue.test(t)&&document.querySelector(t)||t;var e=t.getAttribute?t:0,n;return e&&(t=t.getAttribute("d"))?(e._gsPath||(e._gsPath={}),n=e._gsPath[t],n&&!n._dirty?n:e._gsPath[t]=Ic(t)):t?KI(t)?Ic(t):Kz(t[0])?[t]:t:console.warn("Expecting a <path> element or an SVG path data string")}function tg(t){var e=0,n;for(t.reverse();e<t.length;e+=2)n=t[e],t[e]=t[e+1],t[e+1]=n;t.reversed=!t.reversed}var Zue=function(e,n){var r=document.createElementNS("http://www.w3.org/2000/svg","path"),i=[].slice.call(e.attributes),s=i.length,a;for(n=","+n+",";--s>-1;)a=i[s].nodeName.toLowerCase(),n.indexOf(","+a+",")<0&&r.setAttributeNS(null,a,i[s].nodeValue);return r},zue={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"},Xue=function(e,n){for(var r=n?n.split(","):[],i={},s=r.length;--s>-1;)i[r[s]]=+e.getAttribute(r[s])||0;return i};function Jz(t,e){var n=t.tagName.toLowerCase(),r=.552284749831,i,s,a,o,l,c,u,f,d,m,x,g,v,A,w,k,T,M,_,D,I,j;return n==="path"||!t.getBBox?t:(c=Zue(t,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),j=Xue(t,zue[n]),n==="rect"?(o=j.rx,l=j.ry||o,s=j.x,a=j.y,m=j.width-o*2,x=j.height-l*2,o||l?(g=s+o*(1-r),v=s+o,A=v+m,w=A+o*r,k=A+o,T=a+l*(1-r),M=a+l,_=M+x,D=_+l*r,I=_+l,i="M"+k+","+M+" V"+_+" C"+[k,D,w,I,A,I,A-(A-v)/3,I,v+(A-v)/3,I,v,I,g,I,s,D,s,_,s,_-(_-M)/3,s,M+(_-M)/3,s,M,s,T,g,a,v,a,v+(A-v)/3,a,A-(A-v)/3,a,A,a,w,a,k,T,k,M].join(",")+"z"):i="M"+(s+m)+","+a+" v"+x+" h"+-m+" v"+-x+" h"+m+"z"):n==="circle"||n==="ellipse"?(n==="circle"?(o=l=j.r,f=o*r):(o=j.rx,l=j.ry,f=l*r),s=j.cx,a=j.cy,u=o*r,i="M"+(s+o)+","+a+" C"+[s+o,a+f,s+u,a+l,s,a+l,s-u,a+l,s-o,a+f,s-o,a,s-o,a-f,s-u,a-l,s,a-l,s+u,a-l,s+o,a-f,s+o,a].join(",")+"z"):n==="line"?i="M"+j.x1+","+j.y1+" L"+j.x2+","+j.y2:(n==="polyline"||n==="polygon")&&(d=(t.getAttribute("points")+"").match(Fue)||[],s=d.shift(),a=d.shift(),i="M"+s+","+a+" L"+d.join(","),n==="polygon"&&(i+=","+s+","+a+"z")),c.setAttribute("d",Mf(c._gsRawPath=Ic(i))),e&&t.parentNode&&(t.parentNode.insertBefore(c,t),t.parentNode.removeChild(t)),c)}function eX(t,e,n){e=e||0,t.samples||(t.samples=[],t.lookup=[]);var r=~~t.resolution||12,i=1/r,s=t.length,a=t[e],o=t[e+1],l=e?e/6*r:0,c=t.samples,u=t.lookup,f=(e?t.minLength:qI)||qI,d=c[l+n*r-1],m=e?c[l-1]:0,x,g,v,A,w,k,T,M,_,D,I,j,$,B,Q,z,q;for(c.length=u.length=0,g=e+2;g<s;g+=6){if(v=t[g+4]-a,A=t[g+2]-a,w=t[g]-a,M=t[g+5]-o,_=t[g+3]-o,D=t[g+1]-o,k=T=I=j=0,tl(v)<.01&&tl(M)<.01&&tl(w)+tl(D)<.01)t.length>8&&(t.splice(g,6),g-=6,s-=6);else for(x=1;x<=r;x++)B=i*x,$=1-B,k=T-(T=(B*B*v+3*$*(B*A+$*w))*B),I=j-(j=(B*B*M+3*$*(B*_+$*D))*B),z=Pc(I*I+k*k),z<f&&(f=z),m+=z,c[l++]=m;a+=v,o+=M}if(d)for(d-=m;l<c.length;l++)c[l]+=d;if(c.length&&f){if(t.totalLength=q=c[c.length-1]||0,t.minLength=f,q/f<9999)for(z=Q=0,x=0;x<q;x+=f)u[z++]=c[Q]<x?++Q:Q}else t.totalLength=c[0]=0;return e?m-c[e/2-1]:m}function tX(t,e){var n,r,i;for(i=n=r=0;i<t.length;i++)t[i].resolution=12,n+=eX(t[i]),r+=t[i].length;return t.totalPoints=r,t.totalLength=n,t}function Uue(t,e,n,r,i,s,a,o,l){if(!(t===o&&e===l)){n=tl(n),r=tl(r);var c=i%360*Vue,u=Qb(c),f=Vb(c),d=Math.PI,m=d*2,x=(t-o)/2,g=(e-l)/2,v=u*x+f*g,A=-f*x+u*g,w=v*v,k=A*A,T=w/(n*n)+k/(r*r);T>1&&(n=Pc(T)*n,r=Pc(T)*r);var M=n*n,_=r*r,D=(M*_-M*k-_*w)/(M*k+_*w);D<0&&(D=0);var I=(s===a?-1:1)*Pc(D),j=I*(n*A/r),$=I*-(r*v/n),B=(t+o)/2,Q=(e+l)/2,z=B+(u*j-f*$),q=Q+(f*j+u*$),re=(v-j)/n,W=(A-$)/r,ne=(-v-j)/n,se=(-A-$)/r,he=re*re+W*W,oe=(W<0?-1:1)*Math.acos(re/Pc(he)),G=(re*se-W*ne<0?-1:1)*Math.acos((re*ne+W*se)/Pc(he*(ne*ne+se*se)));isNaN(G)&&(G=d),!a&&G>0?G-=m:a&&G<0&&(G+=m),oe%=m,G%=m;var R=Math.ceil(tl(G)/(m/4)),H=[],F=G/R,K=4/3*Vb(F/2)/(1+Qb(F/2)),te=u*n,ie=f*n,U=f*-r,X=u*r,me;for(me=0;me<R;me++)i=oe+me*F,v=Qb(i),A=Vb(i),re=Qb(i+=F),W=Vb(i),H.push(v-K*A,A+K*v,re+K*W,W-K*re,re,W);for(me=0;me<H.length;me+=2)v=H[me],A=H[me+1],H[me]=v*te+A*U+z,H[me+1]=v*ie+A*X+q;return H[me-2]=o,H[me-1]=l,H}}function Ic(t){var e=(t+"").replace($ue,function(j){var $=+j;return $<1e-4&&$>-1e-4?0:$}).match(jue)||[],n=[],r=0,i=0,s=2/3,a=e.length,o=0,l="ERROR: malformed path: "+t,c,u,f,d,m,x,g,v,A,w,k,T,M,_,D,I=function($,B,Q,z){w=(Q-$)/3,k=(z-B)/3,g.push($+w,B+k,Q-w,z-k,Q,z)};if(!t||!isNaN(e[0])||isNaN(e[1]))return console.log(l),n;for(c=0;c<a;c++)if(M=m,isNaN(e[c])?(m=e[c].toUpperCase(),x=m!==e[c]):c--,f=+e[c+1],d=+e[c+2],x&&(f+=r,d+=i),c||(v=f,A=d),m==="M")g&&(g.length<8?n.length-=1:o+=g.length,eR(g)),r=v=f,i=A=d,g=[f,d],n.push(g),c+=2,m="L";else if(m==="C")g||(g=[0,0]),x||(r=i=0),g.push(f,d,r+e[c+3]*1,i+e[c+4]*1,r+=e[c+5]*1,i+=e[c+6]*1),c+=6;else if(m==="S")w=r,k=i,(M==="C"||M==="S")&&(w+=r-g[g.length-4],k+=i-g[g.length-3]),x||(r=i=0),g.push(w,k,f,d,r+=e[c+3]*1,i+=e[c+4]*1),c+=4;else if(m==="Q")w=r+(f-r)*s,k=i+(d-i)*s,x||(r=i=0),r+=e[c+3]*1,i+=e[c+4]*1,g.push(w,k,r+(f-r)*s,i+(d-i)*s,r,i),c+=4;else if(m==="T")w=r-g[g.length-4],k=i-g[g.length-3],g.push(r+w,i+k,f+(r+w*1.5-f)*s,d+(i+k*1.5-d)*s,r=f,i=d),c+=2;else if(m==="H")I(r,i,r=f,i),c+=1;else if(m==="V")I(r,i,r,i=f+(x?i-r:0)),c+=1;else if(m==="L"||m==="Z")m==="Z"&&(f=v,d=A,g.closed=!0),(m==="L"||tl(r-f)>.5||tl(i-d)>.5)&&(I(r,i,f,d),m==="L"&&(c+=2)),r=f,i=d;else if(m==="A"){if(_=e[c+4],D=e[c+5],w=e[c+6],k=e[c+7],u=7,_.length>1&&(_.length<3?(k=w,w=D,u--):(k=D,w=_.substr(2),u-=2),D=_.charAt(1),_=_.charAt(0)),T=Uue(r,i,+e[c+1],+e[c+2],+e[c+3],+_,+D,(x?r:0)+w*1,(x?i:0)+k*1),c+=u,T)for(u=0;u<T.length;u++)g.push(T[u]);r=g[g.length-2],i=g[g.length-1]}else console.log(l);return c=g.length,c<6?(n.pop(),c=0):eR(g),n.totalPoints=o+c,n}function Gue(t,e){t.samples||eX(t);for(var n=t.samples,r=t.lookup,i=t.resolution,s=t.totalLength,a=t.slice(0,2),o=[],l=t.length-4,c=6,u=.2,f=0,d=0,m,x,g,v,A,w,k,T,M,_,D,I,j,$;c<l;c+=6)Math.abs(Hb(t[c+1]-t[c-1],t[c]-t[c-2])-Hb(t[c+3]-t[c+1],t[c+2]-t[c]))>u&&o.push(c);if(o.push(t.length-2),l=o.length,a.nonSmooth=I=[1],e>l)for(e-=l,A=0;A<l;A++){for(j=o[A],$=Math.round(j/6*i),M=n[$-1]-f,x=Math.round(n[$-1]/s*e)-d,d+=x,w=1/(x+1),k=1;k<=x;k++)_=f+M*k*w,c=r.length?r[_<s?~~(_/t.minLength):r.length-1]||0:Que(n,_,_/s),g=c?n[c-1]:0,v=n[c],v<_&&(g=v,v=n[++c]),m=1/i*((_-g)/(v-g)+c%i)||0,T=1-m,c=~~(c/i)*6,D=t[c],a.push(Li((m*m*(t[c+6]-D)+3*T*(m*(t[c+4]-D)+T*(t[c+2]-D)))*m+D),Li((m*m*(t[c+7]-(D=t[c+1]))+3*T*(m*(t[c+5]-D)+T*(t[c+3]-D)))*m+D));I[a.length]=1,a.push(t[j],t[j+1]),f+=M}return c=t.length-2,t.closed&&Math.abs(Hb(t[c+1]-t[c-1],t[c]-t[c-2])-Hb(t[3]-t[1],t[2]-t[0]))<=u&&(I[0]=I[I.length-1]=0),a}function Wue(t,e){tl(t[0]-t[2])<1e-4&&tl(t[1]-t[3])<1e-4&&(t=t.slice(2));var n=t.length-2,r=+t[0],i=+t[1],s=+t[2],a=+t[3],o=[r,i,r,i],l=s-r,c=a-i,u=t.nonSmooth||[],f=Math.abs(t[n]-r)<.001&&Math.abs(t[n+1]-i)<.001,d,m,x,g,v,A,w,k,T,M,_,D,I,j,$;if(!n)return[r,i,r,i,r,i,r,i];for(f&&(t.push(s,a),s=r,a=i,r=t[n-2],i=t[n-1],t.unshift(r,i),n+=4,u=[0,0].concat(u)),e=e||e===0?+e:1,x=2;x<n;x+=2)if(d=r,m=i,r=s,i=a,s=+t[x+2],a=+t[x+3],!(r===s&&i===a)){if(g=l,v=c,l=s-r,c=a-i,u[x]){o.push(r-(r-d)/4,i-(i-m)/4,r,i,r+(s-r)/4,i+(a-i)/4);continue}A=Pc(g*g+v*v),w=Pc(l*l+c*c),k=Pc(Math.pow(l/w+g/A,2)+Math.pow(c/w+v/A,2)),T=(A+w)*e*.25/k,M=r-(r-d)*(A?T/A:0),_=r+(s-r)*(w?T/w:0),D=r-(M+((_-M)*(A*3/(A+w)+.5)/4||0)),I=i-(i-m)*(A?T/A:0),j=i+(a-i)*(w?T/w:0),$=i-(I+((j-I)*(A*3/(A+w)+.5)/4||0)),o.push(Li(M+D),Li(I+$),Li(r),Li(i),Li(_+D),Li(j+$))}return r!==s||i!==a||o.length<4?o.push(Li(s),Li(a),Li(s),Li(a)):o.length-=2,o.length===2?o.push(r,i,r,i,r,i):f&&(o.splice(0,6),o.length-=6),o.closed=f,o}function Mf(t){Kz(t[0])&&(t=[t]);var e="",n=t.length,r,i,s,a;for(i=0;i<n;i++){for(a=t[i],e+="M"+Li(a[0])+","+Li(a[1])+" C",r=a.length,s=2;s<r;s++)e+=Li(a[s++])+","+Li(a[s++])+" "+Li(a[s++])+","+Li(a[s++])+" "+Li(a[s++])+","+Li(a[s])+" ";a.closed&&(e+="z")}return e}function pS(){return pS=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},pS.apply(this,arguments)}var vo,EP,ng,nX,rg,rX,iX=function(){return vo||typeof window<"u"&&(vo=window.gsap)&&vo.registerPlugin&&vo},Q6=function(e){return typeof e=="function"},mS=Math.atan2,tR=Math.cos,nR=Math.sin,Yf=Math.sqrt,h8=Math.PI,rR=h8*2,Yue=h8*.3,que=h8*.7,kP=1e20,$y=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,Kue=/(^[#.][a-z]|[a-y][a-z])/i,Jue=/[achlmqstvz]/i,oh=function(e){return console&&console.warn(e)},Sl=function(e){return Math.round(e*1e5)/1e5||0},iR=function(e){var n=e.length,r=0,i=0,s;for(s=0;s<n;s++)r+=e[s++],i+=e[s];return[r/(n/2),i/(n/2)]},Wp=function(e){var n=e.length,r=e[0],i=r,s=e[1],a=s,o,l,c;for(c=6;c<n;c+=6)o=e[c],l=e[c+1],o>r?r=o:o<i&&(i=o),l>s?s=l:l<a&&(a=l);return e.centerX=(r+i)/2,e.centerY=(s+a)/2,e.size=(r-i)*(s-a)},Xg=function(e,n){n===void 0&&(n=3);for(var r=e.length,i=e[0][0],s=i,a=e[0][1],o=a,l=1/n,c,u,f,d,m,x,g,v,A,w,k,T,M,_,D,I;--r>-1;)for(m=e[r],c=m.length,d=6;d<c;d+=6)for(A=m[d],w=m[d+1],k=m[d+2]-A,_=m[d+3]-w,T=m[d+4]-A,D=m[d+5]-w,M=m[d+6]-A,I=m[d+7]-w,x=n;--x>-1;)g=l*x,v=1-g,u=(g*g*M+3*v*(g*T+v*k))*g+A,f=(g*g*I+3*v*(g*D+v*_))*g+w,u>i?i=u:u<s&&(s=u),f>a?a=f:f<o&&(o=f);return e.centerX=(i+s)/2,e.centerY=(a+o)/2,e.left=s,e.width=i-s,e.top=o,e.height=a-o,e.size=(i-s)*(a-o)},sX=function(e,n){return n.length-e.length},sR=function(e,n){var r=e.size||Wp(e),i=n.size||Wp(n);return Math.abs(i-r)<(r+i)/20?n.centerX-e.centerX||n.centerY-e.centerY:i-r},aR=function(e,n){var r=e.slice(0),i=e.length,s=i-2,a,o;for(n=n|0,a=0;a<i;a++)o=(a+n)%s,e[a++]=r[o],e[a]=r[o+1]},H6=function(e,n,r,i,s){var a=e.length,o=0,l=a-2,c,u,f,d;for(r*=6,u=0;u<a;u+=6)c=(u+r)%l,d=e[c]-(n[u]-i),f=e[c+1]-(n[u+1]-s),o+=Yf(f*f+d*d);return o},ehe=function(e,n,r){var i=e.length,s=iR(e),a=iR(n),o=a[0]-s[0],l=a[1]-s[1],c=H6(e,n,0,o,l),u=0,f,d,m;for(m=6;m<i;m+=6)d=H6(e,n,m/6,o,l),d<c&&(c=d,u=m);if(r)for(f=e.slice(0),tg(f),m=6;m<i;m+=6)d=H6(f,n,m/6,o,l),d<c&&(c=d,u=-m);return u/6},the=function(e,n,r){for(var i=e.length,s=kP,a=0,o=0,l,c,u,f,d,m;--i>-1;)for(l=e[i],m=l.length,d=0;d<m;d+=6)c=l[d]-n,u=l[d+1]-r,f=Yf(c*c+u*u),f<s&&(s=f,a=l[d],o=l[d+1]);return[a,o]},nhe=function(e,n,r,i,s,a){var o=n.length,l=0,c=Math.min(e.size||Wp(e),n[r].size||Wp(n[r]))*i,u=kP,f=e.centerX+s,d=e.centerY+a,m,x,g,v,A;for(x=r;x<o&&(m=n[x].size||Wp(n[x]),!(m<c));x++)g=n[x].centerX-f,v=n[x].centerY-d,A=Yf(g*g+v*v),A<u&&(l=x,u=A);return A=n[l],n.splice(l,1),A},rhe=function(e,n,r){r===void 0&&(r=1);for(var i=e[n],s=e[n+1],a=e[n+2],o=e[n+3],l=e[n+4],c=e[n+5],u=e[n+6],f=e[n+7],d,m,x,g,v,A,w,k,T;r-- >0;)d=1-1/(r+2),m=i+(a-i)*d,x=a+(l-a)*d,g=s+(o-s)*d,v=o+(c-o)*d,A=m+(x-m)*d,w=g+(v-g)*d,k=l+(u-l)*d,T=c+(f-c)*d,x+=(k-x)*d,v+=(T-v)*d,e.splice(n+2,4,a=Sl(m),o=Sl(g),l=Sl(A),c=Sl(w),u=Sl(A+(x-A)*d),f=Sl(w+(v-w)*d),Sl(x),Sl(v),Sl(k),Sl(T))},ihe=function(e){for(var n=e.length,r=-kP,i;n--;)e[n]>r&&(r=e[n],i=n);return i},wv=function(e,n){for(var r=[],i=[],s=e.length-2,a=0;a<s;a+=6)r.push(Math.pow(e[a]-e[a+6],2)+Math.pow(e[a+1]-e[a+7],2));for(;n--;)a=ihe(r),i[a]=s=(i[a]||0)+1,r[a]*=s/(s+1);for(a=r.length;a--;)i[a]&&rhe(e,a*6,i[a])},p5=function(e,n){return n||tX(e),Math.max(4,Math.round(e.totalLength/4))},oR=function(e){return e.slice(0).sort(sX)},aX=function(e){for(var n=e[0],r=e[1],i=2;i<e.length;i+=2)if(Math.abs(e[i]-n)>.01||Math.abs(e[i+1]-r)>.01)return!1;return!0},Z6=function(e,n){n=n||{};var r=n,i=r.redraw,s=r.points,a=r.maxSegments,o=a===void 0?999:a,l=0,c=e,u=Array.isArray(s)?s:0,f,d,m,x,g;if(i=i!==!1,i)tX(e);else for(e.totalPoints=0,d=e.length;d--;)e.totalPoints+=e[d].length;for(u?(c=oR(e),u=oR(u),g=u[0].totalLength/Math.round(u[0].length/6)):((!s||s==="auto")&&(s=p5(e,i),i||(s-=Math.round(e.totalPoints/6))),s=Math.max(i?10:4,Math.min(999,s))),d=0;d<c.length;d++){if(m=c[d],f=Math.max(i?10:4,u?Math.round(u[d]?u[d].length/6:c[d].totalLength/g||0):Math.round((l/s+(i?m.totalLength/e.totalLength:m.length/e.totalPoints))*s)-l),!(d>=o||u&&(!u[d]||aX(u[d]))))if(i){var v;x=Wue(Gue(m,f),n.curviness),m.length=0,(v=m).push.apply(v,x)}else wv(m,f);l+=f}return e},m5=function(e,n,r,i,s){var a=n.length-e.length,o=a>0?n:e,l=a>0?e:n,c=0,u=i==="complexity"?sX:sR,f=i==="position"?0:typeof i=="number"?i:.8,d=l.length,m=typeof r=="object"&&r.push?r.slice(0):[r],x=m[0]==="reverse"||m[0]<0,g=r==="log",v,A,w,k,T,M,_;if(l[0]){if(o.length>1&&(e.sort(u),n.sort(u),o.size||Xg(o),l.size||Xg(l),M=o.centerX-l.centerX,_=o.centerY-l.centerY,u===sR))for(d=0;d<l.length;d++)o.splice(d,0,nhe(l[d],o,d,f,M,_));if(a)for(a<0&&(a=-a),o[0].length>l[0].length&&wv(l[0],(o[0].length-l[0].length)/6|0),d=l.length;c<a;)k=o[d].size||Wp(o[d]),w=the(l,o[d].centerX,o[d].centerY),k=w[0],T=w[1],l[d++]=[k,T,k,T,k,T,k,T],l.totalPoints+=8,c++;for(d=0;d<e.length;d++)v=n[d],A=e[d],a=v.length-A.length,a<0?wv(v,-a/6|0):a>0&&wv(A,a/6|0),x&&s!==!1&&!A.reversed&&tg(A),r=m[d]||m[d]===0?m[d]:"auto",r&&(A.closed||Math.abs(A[0]-A[A.length-2])<.5&&Math.abs(A[1]-A[A.length-1])<.5?r==="auto"||r==="log"?(m[d]=r=ehe(A,v,!d||s===!1),r<0&&(x=!0,tg(A),r=-r),aR(A,r*6)):r!=="reverse"&&(d&&r<0&&tg(A),aR(A,(r<0?-r:r)*6)):!x&&(r==="auto"&&Math.abs(v[0]-A[0])+Math.abs(v[1]-A[1])+Math.abs(v[v.length-2]-A[A.length-2])+Math.abs(v[v.length-1]-A[A.length-1])>Math.abs(v[0]-A[A.length-2])+Math.abs(v[1]-A[A.length-1])+Math.abs(v[v.length-2]-A[0])+Math.abs(v[v.length-1]-A[1])||r%2)?(tg(A),m[d]=-1,x=!0):r==="auto"?m[d]=0:r==="reverse"&&(m[d]=-1),A.closed!==v.closed&&(A.closed=v.closed=!1));return g&&oh("shapeIndex:["+m.join(",")+"]"),e.shapeIndex=m,m}},lR=function(e,n,r,i,s){var a=Ic(e[0]),o=Ic(e[1]);m5(a,o,n||n===0?n:"auto",r,s)&&(e[0]=Mf(a),e[1]=Mf(o),(i==="log"||i===!0)&&oh('precompile:["'+e[0]+'","'+e[1]+'"]'))},she=function(e,n){if(!n)return e;var r=e.match($y)||[],i=r.length,s="",a,o,l;for(n==="reverse"?(o=i-1,a=-2):(o=((parseInt(n,10)||0)*2+1+i*100)%i,a=2),l=0;l<i;l+=2)s+=r[o-1]+","+r[o]+" ",o=(o+a)%i;return s},cR=function(e,n){var r=0,i=parseFloat(e[0]),s=parseFloat(e[1]),a=i+","+s+" ",o=.999999,l,c,u,f,d,m,x;for(u=e.length,l=n*.5/(u*.5-1),c=0;c<u-2;c+=2){if(r+=l,m=parseFloat(e[c+2]),x=parseFloat(e[c+3]),r>o)for(d=1/(Math.floor(r)+1),f=1;r>o;)a+=(i+(m-i)*d*f).toFixed(2)+","+(s+(x-s)*d*f).toFixed(2)+" ",r--,f++;a+=m+","+x+" ",i=m,s=x}return a},g5=function(e){var n=e[0].match($y)||[],r=e[1].match($y)||[],i=r.length-n.length;i>0?e[0]=cR(n,i):e[1]=cR(r,-i)},ahe=function(e){return isNaN(e)?g5:function(n){g5(n),n[1]=she(n[1],parseInt(e,10))}},ohe=function(e,n,r){var i=typeof e=="string",s,a;return(!i||Kue.test(e)||(e.match($y)||[]).length<3)&&(s=EP(e)[0],s?(a=(s.nodeName+"").toUpperCase(),n&&a!=="PATH"&&(s=Jz(s,!1),a="PATH"),e=s.getAttribute(a==="PATH"?"d":"points")||"",s===r&&(e=s.getAttributeNS(null,"data-original")||e)):(oh("WARNING: invalid morph to: "+e),e=!1)),e},uR=function(e){for(var n=e.length,r,i,s,a,o,l,c,u;--n>-1;)for(r=e[n],u=r.cpData=r.cpData||[],u.length=0,c=r.length-2,l=0;l<c;l+=6)i=r[l]-r[l+2],s=r[l+1]-r[l+3],a=r[l+6]-r[l+4],o=r[l+7]-r[l+5],u[l+2]=mS(s,i),u[l+3]=Yf(i*i+s*s),u[l+4]=mS(o,a),u[l+5]=Yf(a*a+o*o);return e},hR=function(e){var n=e.trim().split(" "),r=~e.indexOf("left")?0:~e.indexOf("right")?100:isNaN(parseFloat(n[0]))?50:parseFloat(n[0]),i=~e.indexOf("top")?0:~e.indexOf("bottom")?100:isNaN(parseFloat(n[1]))?50:parseFloat(n[1]);return{x:r/100,y:i/100}},oX=function(e){return e!==e%h8?e+(e<0?rR:-rR):e},fR="Use MorphSVGPlugin.convertToPath() to convert to a path before morphing.",lhe=function(e,n,r,i){var s=this._origin,a=this._eOrigin,o=e[r]-s.x,l=e[r+1]-s.y,c=Yf(o*o+l*l),u=mS(l,o),f,d;return o=n[r]-a.x,l=n[r+1]-a.y,f=mS(l,o)-u,d=oX(f),!i&&ng&&Math.abs(d+ng.ca)<Yue&&(i=ng),this._anchorPT=ng={_next:this._anchorPT,t:e,sa:u,ca:i&&d*i.ca<0&&Math.abs(d)>que?f:d,sl:c,cl:Yf(o*o+l*l)-c,i:r}},dR=function(e){vo=iX(),rg=rg||vo&&vo.plugins.morphSVG,vo&&rg?(EP=vo.utils.toArray,rX=vo.core.reverting||function(){},rg.prototype._tweenRotation=lhe,nX=1):e&&oh("Please gsap.registerPlugin(MorphSVGPlugin)")},_p={version:"3.15.0",name:"morphSVG",rawVars:1,register:function(e,n){vo=e,rg=n,dR()},init:function(e,n,r,i,s){if(nX||dR(1),!n)return oh("invalid shape"),!1;Q6(n)&&(n=n.call(r,i,e,s));var a,o,l,c,u,f,d,m,x,g,v,A,w,k,T,M,_,D,I,j;if(typeof n=="string"||n.getBBox||n[0])n={shape:n};else if(typeof n=="object"){a={};for(o in n)a[o]=Q6(n[o])&&o!=="render"?n[o].call(r,i,e,s):n[o];n=a}var $=e.nodeType?window.getComputedStyle(e):{},B=$.fill+"",Q=!(B==="none"||(B.match($y)||[])[3]==="0"||$.fillRule==="evenodd"),z=n.smooth,q=(n.origin||"50 50").split(",");if(z===!0||z==="auto"?z={}:typeof z=="number"&&(z={points:z}),a=(e.nodeName+"").toUpperCase(),u=a==="POLYLINE"||a==="POLYGON",a!=="PATH"&&!u&&!n.prop)return oh("Cannot morph a <"+a+"> element. "+fR),!1;if(o=a==="PATH"?"d":"points",!n.prop&&!Q6(e.setAttribute))return!1;if(c=ohe(n.shape||n.d||n.points||"",o==="d",e),u&&Jue.test(c))return oh("A <"+a+"> cannot accept path data. "+fR),!1;if(f=n.shapeIndex||n.shapeIndex===0?n.shapeIndex:"auto",d=n.map||_p.defaultMap,this._prop=n.prop,this._render=n.render||_p.defaultRender,this._apply="updateTarget"in n?n.updateTarget:_p.defaultUpdateTarget,this._rnd=Math.pow(10,isNaN(n.precision)?2:+n.precision),this._tween=r,c){if(this._target=e,_=typeof n.precompile=="object",g=this._original=this._prop?e[this._prop]:e.getAttribute(o),!this._prop&&!e.getAttributeNS(null,"data-original")&&e.setAttributeNS(null,"data-original",g),o==="d"||this._prop){if(g=Ic(_?n.precompile[0]:g),v=Ic(_?n.precompile[1]:c),z){for(w=g.length;--w;)aX(g[w])&&g.splice(w,1);Z6(g,pS({},z,{points:+z.points||Math.max(p5(g),p5(v)),maxSegments:v.length})),Z6(v,z.redraw===!1?z:pS({},z,{points:g}))}if(!_&&!m5(g,v,f,d,Q))return!1;for((n.precompile==="log"||n.precompile===!0)&&oh('precompile:["'+Mf(g)+'","'+Mf(v)+'"]'),I=(n.type||_p.defaultType)!=="linear",j=n.curveMode||I,uR(g),uR(v),I&&(g.size||Xg(g),v.size||Xg(v),D=hR(q[0]),this._origin=g.origin={x:g.left+D.x*g.width,y:g.top+D.y*g.height},q[1]&&(D=hR(q[1])),this._eOrigin={x:v.left+D.x*v.width,y:v.top+D.y*v.height}),this._rawPath=e._gsRawPath=g,w=g.length;--w>-1;){for(T=g[w],M=v[w],m=T.cpData,x=M.cpData,k=T.length,ng=0,A=0;A<k;A+=6)(M[A]!==T[A]||M[A+1]!==T[A+1])&&(I?l=this._tweenRotation(T,M,A):(l=this.add(T,A,T[A],M[A],0,0,0,0,0,1),l=this.add(T,A+1,T[A+1],M[A+1],0,0,0,0,0,1)||l));for(A=0;A<k;A+=2)j&&(m[A]!==x[A]||m[A+1]!==x[A+1])&&m[A+1]&&x[A+1]?this._controlPT={_next:this._controlPT,i:A,j:w,ai:A%6>3?A+2:A-2,sa:m[A],ca:oX(x[A]-m[A]),sl:m[A+1],cl:x[A+1]-m[A+1]}:(M[A]!==T[A]&&(l=this.add(T,A,T[A],M[A],0,0,0,0,0,1)),M[A+1]!==T[A+1]&&(l=this.add(T,A+1,T[A+1],M[A+1],0,0,0,0,0,1)||l))}}else l=this.add(e,"setAttribute",e.getAttribute(o)+"",c+"",i,s,0,ahe(f),o);I&&(this.add(this._origin,"x",this._origin.x,this._eOrigin.x,0,0,0,0,0,1),l=this.add(this._origin,"y",this._origin.y,this._eOrigin.y,0,0,0,0,0,1)),l&&(this._props.push("morphSVG"),l.end=z&&z.persist!==!1?Mf(v):c,l.endProp=o)}return 1},render:function(e,n){for(var r=n._rawPath,i=n._controlPT,s=n._anchorPT,a=n._rnd,o=n._target,l=n._pt,c,u,f,d,m,x,g,v,A;l;)l.r(e,l.d),l=l._next;if(e===1&&n._apply)for(l=n._pt;l;)l.end&&(n._prop?o[n._prop]=l.end:o.setAttribute(l.endProp,l.end)),l=l._next;else if(r){for(;s;)m=s.sa+e*s.ca,d=s.sl+e*s.cl,s.t[s.i]=n._origin.x+tR(m)*d,s.t[s.i+1]=n._origin.y+nR(m)*d,s=s._next;for(;i;)f=r[i.j],x=i.i,m=i.sa+e*i.ca,v=nR(m),A=tR(m),d=i.sl+e*i.cl,f[x]=f[i.ai]-A*d,f[x+1]=f[i.ai+1]-v*d,i=i._next;if(!e&&rX()&&(r=Ic(n._original)),o._gsRawPath=r,n._apply){for(c="",u=" ",g=0;g<r.length;g++){for(f=r[g],d=f.length,c+="M"+(f[0]*a|0)/a+u+(f[1]*a|0)/a+" C",x=2;x<d;x++)c+=(f[x]*a|0)/a+u;f.closed&&(c+="z")}n._prop?o[n._prop]=c:o.setAttribute("d",c)}}n._render&&r&&n._render.call(n._tween,r,o)},kill:function(e){this._pt=this._rawPath=0},getRawPath:Hue,stringToRawPath:Ic,rawPathToString:Mf,smoothRawPath:Z6,normalizeStrings:function(e,n,r){var i=r.shapeIndex,s=r.map,a=[e,n];return lR(a,i,s),a},pathFilter:lR,pointsFilter:g5,getTotalSize:Xg,equalizeSegmentQuantity:m5,convertToPath:function(e,n){return EP(e).map(function(r){return Jz(r,n!==!1)})},defaultType:"linear",defaultUpdateTarget:!0,defaultMap:"size"};iX()&&vo.registerPlugin(_p);const Ex=30;function Fi(t){if(!Number.isFinite(t)||t<0)return"0:00";const e=Math.floor(t/60),n=Math.floor(t%60);return`${e}:${n.toString().padStart(2,"0")}`}function y5(t,e=Ex){return!Number.isFinite(t)||t<=0||!Number.isFinite(e)||e<=0?0:Math.round(t*e)}function lX(t,e=Ex){return!Number.isFinite(t)||t<=0||!Number.isFinite(e)||e<=0?0:t/e}function x5(t,e,n=Ex){const r=y5(t,n),i=Math.max(0,r+e);return lX(i,n)}function cX(t,e,n=Ex){const r=y5(t,n),i=y5(e,n);return`${r}f / ${i}f`}function uX(t){return Number.isFinite(t)&&t>0}function pR(t,e){const n=Math.max(0,Number.isFinite(e)?e:0),r=Math.max(0,Number.isFinite(t)?t:0);return n>0?Math.min(r,n):r}function Cv(t){if(!t)return 0;try{const e=Number(t.getDuration());return uX(e)?e:0}catch{return 0}}function che(t){return{now:()=>t.performance.now(),requestAnimationFrame:e=>t.requestAnimationFrame(e),cancelAnimationFrame:e=>t.cancelAnimationFrame(e)}}function uhe(t,e,n,r=()=>1){var m;const i=Math.max(0,Number.isFinite(e)?e:0);let s=pR(Number(((m=t.getTime)==null?void 0:m.call(t))??0),i),a=!1,o=0,l=s,c=n.now();const u=x=>{var g;if(s=pR(x,i),typeof t.renderSeek=="function"){t.renderSeek(s);return}(g=t.seek)==null||g.call(t,s)},f=()=>{o&&(n.cancelAnimationFrame(o),o=0)},d=x=>{if(!a)return;const g=Math.max(.1,Number(r())||1),v=(x-c)/1e3*g;if(u(l+v),s>=i){a=!1,o=0;return}o=n.requestAnimationFrame(d)};return{play:()=>{a||i<=0||(s>=i&&u(0),a=!0,l=s,c=n.now(),f(),o=n.requestAnimationFrame(d))},pause:()=>{a=!1,f()},seek:(x,g)=>{if(u(x),g!=null&&g.keepPlaying){a&&(l=s,c=n.now());return}a=!1,f()},getTime:()=>s,getDuration:()=>i,isPlaying:()=>a}}function Zb(t,e){var n;(n=t.current)==null||n.adapter.pause(),t.current=null,e.current=!1}function hhe(t){const{cache:e,warned:n,bestAdapter:r,effectiveDuration:i,docDuration:s}=t,a=e.current;if((a==null?void 0:a.player)===r&&a.duration===i)return a.adapter;a==null||a.adapter.pause(),n.current||(n.current=!0,console.warn(`[useTimelinePlayer] Selected adapter duration (${Cv(r)}s) does not cover the document duration (${s}s); falling back to seek-driven playback, which never starts media elements or WebAudio. Audio will not play in preview — extend the GSAP timeline to cover the declared data-duration.`));const o=uhe(r,i,t.clock,t.getPlaybackRate);return e.current={player:r,duration:i,adapter:o},o}function mR(t){return{play:()=>t.play(),pause:()=>t.pause(),seek:(e,n)=>{const r=!(n!=null&&n.keepPlaying);r&&t.pause(),t.seek(e),r&&t.pause()},getTime:()=>t.time(),getDuration:()=>t.duration(),isPlaying:()=>t.isActive()}}function gR(t){if(!t)return 0;const e=Number.parseFloat(t.getAttribute("data-duration")??"")||Number.parseFloat(t.getAttribute("data-hf-authored-duration")??"");return uX(e)?e:0}function f8(t){return!!t.closest(["[data-hyperframes-ignore]","[data-hyperframes-picker-ignore]","[data-hf-ignore]","[data-hf-color-grading-canvas]"].join(","))}function fhe(t){if(!t)return 0;const e=gR(t.querySelector("[data-composition-id]"));if(e>0)return e;let n=0;for(const r of Array.from(t.querySelectorAll("[data-start]"))){if(f8(r))continue;const i=Number.parseFloat(r.getAttribute("data-start")??""),s=gR(r);!Number.isFinite(i)||i<0||s<=0||(n=Math.max(n,i+s))}return n}function b5(t){var n;const e=((n=t.ownerDocument.defaultView)==null?void 0:n.HTMLElement)??globalThis.HTMLElement;return typeof e<"u"&&t instanceof e}function hX(t){const e=t.ownerDocument.defaultView??window,n=e.HTMLMediaElement??globalThis.HTMLMediaElement,r=e.HTMLImageElement??globalThis.HTMLImageElement;if(t instanceof n||t instanceof r)return t;const i=t.querySelector("video, audio, img");return i instanceof n||i instanceof r?i:null}function fX(t,e){const n=e.getAttribute("data-playback-start")?"playback-start":e.getAttribute("data-media-start")?"media-start":void 0,r=e.getAttribute("data-playback-start")??e.getAttribute("data-media-start");if(r!=null){const f=parseFloat(r);Number.isFinite(f)&&(t.playbackStart=f)}n&&(t.playbackStartAttr=n);const i=hX(e);if(!i)return;t.tag=i.tagName.toLowerCase();const s=i.getAttribute("src");s&&(t.src=s);const o=(i.ownerDocument.defaultView??window).HTMLMediaElement??globalThis.HTMLMediaElement;if(typeof o>"u"||!(i instanceof o))return;const l=e.getAttribute("data-source-duration")??i.getAttribute("data-source-duration"),c=l?parseFloat(l):i.duration;Number.isFinite(c)&&c>0&&(t.sourceDuration=c);const u=i.defaultPlaybackRate;Number.isFinite(u)&&u>0&&(t.playbackRate=u)}function kx(t){var i,s,a;const e=(i=t.label)==null?void 0:i.trim();if(e)return e;const n=(s=t.id)==null?void 0:s.trim();if(n)return n;const r=(a=t.tag)==null?void 0:a.trim().toLowerCase();return r?`${r} clip`:"Timeline clip"}const dhe=new Set(["base","link","meta","noscript","script","style","template"]);function yR(t){return t.trim().replace(/[_-]+/g," ").replace(/\s+/g," ").replace(/\b\w/g,e=>e.toUpperCase())}function phe(t){const e=t.getAttribute("data-timeline-label")??t.getAttribute("data-label")??t.getAttribute("aria-label");if(e!=null&&e.trim())return e.trim();if(t.id.trim())return yR(t.id);const n=t.className.split(/\s+/).filter(Boolean),r=n.find(i=>i!=="clip")??n[0];return r?yR(r):kx({tag:t.tagName})}function qf(t){if(b5(t)&&t.id)return`#${CSS.escape(t.id)}`;const e=t.getAttribute("data-composition-id");if(e)return`[data-composition-id="${CSS.escape(e)}"]`;if(b5(t)){const n=t.className.split(/\s+/).filter(Boolean),r=n.find(i=>i!=="clip")??n[0];if(r)return`.${CSS.escape(r)}`}}function By(t){var n;const e=(n=t.parentElement)==null?void 0:n.closest("[data-composition-id]");return(e==null?void 0:e.getAttribute("data-composition-file"))??(e==null?void 0:e.getAttribute("data-composition-src"))??void 0}function Vy(t,e,n){if(!(!n||n.startsWith("#")||n.startsWith("[data-composition-id=")))try{const i=Array.from(t.querySelectorAll(n)).indexOf(e);return i>=0?i:void 0}catch{return}}function gS(t){const e=t.sourceFile??"index.html";return t.domId?`${e}#${t.domId}`:t.selector?`${e}:${t.selector}:${t.selectorIndex??0}`:`${e}:${t.id}:${t.fallbackIndex}`}function Qy(t){var r;const e=((r=t.preferredId)==null?void 0:r.trim())||gS({id:t.label,fallbackIndex:t.fallbackIndex,domId:t.domId,selector:t.selector,selectorIndex:t.selectorIndex,sourceFile:t.sourceFile}),n=gS({id:e,fallbackIndex:t.fallbackIndex,domId:t.domId,selector:t.selector,selectorIndex:t.selectorIndex,sourceFile:t.sourceFile});return{id:e,key:n}}function A5(t){return t.key??t.id}function mhe(t){const e=t.querySelector("[data-composition-id]");return Array.from(t.querySelectorAll("[data-start]")).filter(n=>n!==e&&!f8(n))}function xR(t,e){return Math.abs(t-e)<.001}function ghe(t,e){var a;const n=(a=e.tagName)==null?void 0:a.toLowerCase();if(n&&t.tagName.toLowerCase()!==n)return!1;const r=Number.parseFloat(t.getAttribute("data-start")??"");if(Number.isFinite(r)&&!xR(r,e.start))return!1;const i=Number.parseFloat(t.getAttribute("data-duration")??"");if(Number.isFinite(i)&&!xR(i,e.duration))return!1;const s=Number.parseInt(t.getAttribute("data-track-index")??"",10);return!(Number.isFinite(s)&&s!==e.track)}function yhe(t,e){return t.getElementById(e)??t.querySelector(`[data-composition-id="${CSS.escape(e)}"]`)??t.querySelector(`.${CSS.escape(e)}`)??null}function xhe(t,e,n,r=new Set){const i=e.id?yhe(t,e.id):null;if(i&&!r.has(i))return i;const s=mhe(t).filter(o=>!r.has(o)),a=s.find(o=>ghe(o,e));return a||(s[n]??null)}function bhe(t,e){if(!b5(e)||f8(e)||e.parentElement!==t)return!1;const n=e.tagName.toLowerCase();return dhe.has(n)||e.hasAttribute("data-start")||e.hasAttribute("data-track-index")?!1:!!qf(e)}function Ahe(t,e){t.documentElement&&(t.documentElement.style.overflow="hidden",t.documentElement.style.margin="0"),t.body&&(t.body.style.overflow="hidden",t.body.style.margin="0"),e.scrollTo({top:0,left:0,behavior:"auto"})}function vhe(t){const e=/data-composition-id=["']([^"']+)["']/gi,n=new Set,r=Array.from(t.querySelectorAll("style, script"));for(const a of r){const o=a.textContent||"";if(!o)continue;let l;for(;(l=e.exec(o))!==null;){const c=(l[1]||"").trim();c&&n.add(c)}}if(n.size===0)return;const i=new Set,s=Array.from(t.querySelectorAll("[data-composition-id]"));for(const a of s){const o=a.getAttribute("data-composition-id");o&&i.add(o)}for(const a of n){if(a==="root"||i.has(a))continue;const o=t.getElementById(`${a}-layer`)||t.getElementById(`${a}-comp`)||t.getElementById(a);o&&(o.getAttribute("data-composition-id")||o.setAttribute("data-composition-id",a))}}function She(t){return t instanceof HTMLElement}function dX(t){const e=t.getRootNode();return typeof ShadowRoot<"u"&&e instanceof ShadowRoot&&She(e.host)?e.host:null}function pX(t,e,n){var r;(r=t.contentWindow)==null||r.postMessage({source:"hf-parent",type:"control",action:e,...n},"*")}function mX(t,e){return t||e>1}function Ohe(t,e){if(t)try{const n=dX(t);if(n&&typeof n.muted=="boolean"){n.muted=e;return}pX(t,"set-muted",{muted:e})}catch{}}function whe(t,e){if(!t)return;const n=Number.isFinite(e)&&e>0?e:1;try{const r=dX(t);if(r&&typeof r.playbackRate=="number"){r.playbackRate=n;return}pX(t,"set-playback-rate",{playbackRate:n})}catch{}}const Che=.25;let Ug=null,Yp=null,Gg=null,Wg=null;function Ehe(t,e){if(e){const n=t.getElementById(e);if(n instanceof HTMLAudioElement)return n}return t.querySelector("audio[data-timeline-role='music']")??t.querySelector("audio")}function khe(t,e){Ug&&Ug!==t&&Hy(),Gg===null&&(Gg=t.muted),Wg===null&&(Wg=t.volume),Ug=t;try{t.muted=!1,t.volume=Che,Math.abs(t.currentTime-e)>.04&&(t.currentTime=e),t.paused&&t.play().catch(()=>{})}catch{}Yp&&clearTimeout(Yp),Yp=setTimeout(Hy,140)}function The(t,e,n){if(!t)return;if(e===null){Hy();return}let r=null;try{r=t.contentDocument}catch{return}if(!r)return;const i=Ehe(r,n);i&&khe(i,e)}function Hy(){Yp&&(clearTimeout(Yp),Yp=null);const t=Ug;if(Ug=null,!!t){try{t.pause(),Gg!==null&&(t.muted=Gg),Wg!==null&&(t.volume=Wg)}catch{}Gg=null,Wg=null}}function Phe(t,e,n,r){const i=new Set(n.map(f=>f.id)),s=t.querySelector("[data-composition-id]"),a=s==null?void 0:s.getAttribute("data-composition-id"),o=t.querySelectorAll("[data-composition-id][data-start]"),l=[];o.forEach(f=>{var $,B,Q,z,q,re,W,ne,se;const d=f,m=d.getAttribute("data-composition-id");if(!m||m===a||i.has(d.id)||i.has(m))return;const x=d.getAttribute("data-start")??"0";let g=parseFloat(x);if(isNaN(g)){const he=t.getElementById(x)||t.querySelector(`[data-composition-id="${CSS.escape(x)}"]`);if(he){const oe=he.getAttribute("data-start")??"0";let G=parseFloat(oe);if(isNaN(G)){const F=t.getElementById(oe)||t.querySelector(`[data-composition-id="${CSS.escape(oe)}"]`),K=parseFloat((F==null?void 0:F.getAttribute("data-start"))??"0")||0,te=F==null?void 0:F.getAttribute("data-composition-id"),ie=parseFloat((F==null?void 0:F.getAttribute("data-duration"))??"")||(te?((Q=(B=($=e.__timelines)==null?void 0:$[te])==null?void 0:B.duration)==null?void 0:Q.call(B))??0:0);G=K+ie}const R=he.getAttribute("data-composition-id"),H=parseFloat(he.getAttribute("data-duration")??"")||(R?((re=(q=(z=e.__timelines)==null?void 0:z[R])==null?void 0:q.duration)==null?void 0:re.call(q))??0:0);g=G+H}else g=0}let v=parseFloat(d.getAttribute("data-duration")??"");if((isNaN(v)||v<=0)&&(v=((se=(ne=(W=e.__timelines)==null?void 0:W[m])==null?void 0:ne.duration)==null?void 0:se.call(ne))??0),!Number.isFinite(v)||v<=0||(Number.isFinite(g)||(g=0),Number.isFinite(r)&&r>0&&(g>=r||(v=Math.min(v,Math.max(0,r-g)),v<=0))))return;const A=d.getAttribute("data-track-index"),w=A!=null?parseInt(A,10):0,k=d.getAttribute("data-composition-src")||d.getAttribute("data-composition-file"),T=qf(d),M=By(d),_=Vy(t,d,T),D=kx({id:d.id||m||null,label:d.getAttribute("data-timeline-label")??d.getAttribute("data-label"),tag:d.tagName}),I=Qy({preferredId:d.id||m||null,label:D,fallbackIndex:l.length,domId:d.id||void 0,selector:T,selectorIndex:_,sourceFile:M}),j={id:I.id,label:D,key:I.key,tag:d.tagName.toLowerCase(),start:g,duration:v,track:isNaN(w)?0:w,domId:d.id||void 0,hfId:d.getAttribute("data-hf-id")||void 0,selector:T,selectorIndex:_,sourceFile:M};if(k)j.compositionSrc=k;else{const he=d.querySelector("video[src]");he&&(j.src=he.getAttribute("src")||void 0,j.tag="video")}l.push(j)});let c=!1;const u=n.map(f=>{if(f.compositionSrc)return f;const d=t.getElementById(f.id)??t.querySelector(`[data-composition-id="${CSS.escape(f.id)}"]`);if(!d)return f;const m=d.getAttribute("data-composition-src")||d.getAttribute("data-composition-file");return m?(c=!0,{...f,compositionSrc:m}):f});return{missing:l,updatedEls:u,patched:c}}const bR=t=>{let e;const n=new Set,r=(c,u)=>{const f=typeof c=="function"?c(e):c;if(!Object.is(f,e)){const d=e;e=u??(typeof f!="object"||f===null)?f:Object.assign({},e,f),n.forEach(m=>m(e,d))}},i=()=>e,o={setState:r,getState:i,getInitialState:()=>l,subscribe:c=>(n.add(c),()=>n.delete(c))},l=e=t(r,i,o);return o},Mhe=(t=>t?bR(t):bR),Dhe=t=>t;function Nhe(t,e=Dhe){const n=Lb.useSyncExternalStore(t.subscribe,Lb.useCallback(()=>e(t.getState()),[t,e]),Lb.useCallback(()=>e(t.getInitialState()),[t,e]));return Lb.useDebugValue(n),n}const AR=t=>{const e=Mhe(t),n=r=>Nhe(e,r);return Object.assign(n,e),n},gX=(t=>t?AR(t):AR),yX="hf-studio-ui-preferences";function vR(t){return typeof t=="object"&&t!==null}function xX(){if(typeof window>"u")return null;try{return window.localStorage}catch{return null}}function bX(t){if(!t)return{};try{const e=t.getItem(yX);if(!e)return{};const n=JSON.parse(e);if(!vR(n))return{};const r={};if(typeof n.leftCollapsed=="boolean"&&(r.leftCollapsed=n.leftCollapsed),typeof n.timelineVisible=="boolean"&&(r.timelineVisible=n.timelineVisible),typeof n.timelineHeight=="number"&&Number.isFinite(n.timelineHeight)&&(r.timelineHeight=n.timelineHeight),typeof n.playbackRate=="number"&&Number.isFinite(n.playbackRate)&&(r.playbackRate=n.playbackRate),typeof n.audioMuted=="boolean"&&(r.audioMuted=n.audioMuted),vR(n.previewZoom)){const{zoomPercent:i,panX:s,panY:a}=n.previewZoom;typeof i=="number"&&Number.isFinite(i)&&typeof s=="number"&&Number.isFinite(s)&&typeof a=="number"&&Number.isFinite(a)&&(r.previewZoom={zoomPercent:i,panX:s,panY:a})}return Array.isArray(n.recentBlocks)&&(r.recentBlocks=n.recentBlocks.filter(i=>typeof i=="string")),typeof n.snapEnabled=="boolean"&&(r.snapEnabled=n.snapEnabled),typeof n.gridVisible=="boolean"&&(r.gridVisible=n.gridVisible),typeof n.gridSpacing=="number"&&Number.isFinite(n.gridSpacing)&&(r.gridSpacing=n.gridSpacing),typeof n.snapToGrid=="boolean"&&(r.snapToGrid=n.snapToGrid),r}catch{return{}}}function Xc(t=xX()){return bX(t)}function Kf(t,e=xX()){if(e)try{const n={...bX(e),...t};e.setItem(yX,JSON.stringify(n))}catch{}}const z6=new Set,Xs={notify:t=>z6.forEach(e=>e(t)),subscribe:t=>(z6.add(t),()=>z6.delete(t))},pe=gX((t,e)=>({isPlaying:!1,currentTime:0,duration:0,timelineReady:!1,beatDragging:!1,elements:[],selectedElementId:null,playbackRate:Xc().playbackRate??1,audioMuted:Xc().audioMuted??!1,loopEnabled:!1,zoomMode:"fit",manualZoomPercent:100,inPoint:null,outPoint:null,activeTool:"select",setActiveTool:n=>t({activeTool:n}),selectedKeyframes:new Set,toggleSelectedKeyframe:n=>t(r=>{const i=new Set(r.selectedKeyframes);return i.has(n)?i.delete(n):i.add(n),{selectedKeyframes:i}}),clearSelectedKeyframes:()=>t({selectedKeyframes:new Set}),activeKeyframePct:null,setActiveKeyframePct:n=>t({activeKeyframePct:n}),motionPathArmed:!1,setMotionPathArmed:n=>t({motionPathArmed:n}),motionPathCreateAvailable:!1,setMotionPathCreateAvailable:n=>t({motionPathCreateAvailable:n}),autoKeyframeEnabled:!0,setAutoKeyframeEnabled:n=>t({autoKeyframeEnabled:n}),cropMode:!1,setCropMode:n=>t({cropMode:n}),cropAvailable:!1,setCropAvailable:n=>t(n?{cropAvailable:!0}:{cropAvailable:!1,cropMode:!1}),selectedElementIds:new Set,toggleSelectedElementId:n=>t(r=>{const i=new Set(r.selectedElementIds);return i.has(n)?i.delete(n):i.add(n),{selectedElementIds:i}}),clearSelectedElementIds:()=>t({selectedElementIds:new Set}),keyframeCache:new Map,setKeyframeCache:(n,r)=>t(i=>{const s=new Map(i.keyframeCache);return r?s.set(n,r):s.delete(n),{keyframeCache:s}}),requestedSeekTime:null,requestSeek:n=>t({requestedSeekTime:n}),clearSeekRequest:()=>t({requestedSeekTime:null}),lintFindingsByElement:new Map,setLintFindingsByElement:n=>t({lintFindingsByElement:n}),beatAnalysis:null,setBeatAnalysis:n=>t({beatAnalysis:n}),beatEdits:null,setBeatEdits:n=>t({beatEdits:n}),beatUndo:[],beatRedo:[],beatPersist:null,setBeatPersist:n=>t({beatPersist:n}),commitBeatEdits:(n,r)=>{var i,s;t(a=>({beatEdits:n,beatUndo:[...a.beatUndo,{restore:a.beatEdits,at:Date.now(),label:r}],beatRedo:[]})),(s=(i=e()).beatPersist)==null||s.call(i)},undoBeatEdits:()=>{var i,s;const n=e(),r=n.beatUndo[n.beatUndo.length-1];return r?(t({beatEdits:r.restore,beatUndo:n.beatUndo.slice(0,-1),beatRedo:[...n.beatRedo,{restore:n.beatEdits,at:r.at,label:r.label}]}),(s=(i=e()).beatPersist)==null||s.call(i),r.label):null},resetBeatHistory:()=>t({beatUndo:[],beatRedo:[]}),redoBeatEdits:()=>{var i,s;const n=e(),r=n.beatRedo[n.beatRedo.length-1];return r?(t({beatEdits:r.restore,beatRedo:n.beatRedo.slice(0,-1),beatUndo:[...n.beatUndo,{restore:n.beatEdits,at:r.at,label:r.label}]}),(s=(i=e()).beatPersist)==null||s.call(i),r.label):null},clipManifest:null,setClipManifest:n=>t({clipManifest:n}),clipParentMap:new Map,setClipParentMap:n=>t({clipParentMap:n}),domClipChildren:[],setDomClipChildren:n=>t({domClipChildren:n}),setIsPlaying:n=>{e().isPlaying!==n&&t({isPlaying:n})},setPlaybackRate:n=>{Kf({playbackRate:n}),t({playbackRate:n})},setAudioMuted:n=>{Kf({audioMuted:n}),t({audioMuted:n})},setLoopEnabled:n=>t({loopEnabled:n}),setZoomMode:n=>t({zoomMode:n}),setInPoint:n=>t(r=>{const i=n!==null&&Number.isFinite(n)?n:null;return{inPoint:i,outPoint:i!==null&&r.outPoint!==null&&i>=r.outPoint?null:r.outPoint,loopEnabled:i!==null?!0:r.loopEnabled}}),setOutPoint:n=>t(r=>{const i=n!==null&&Number.isFinite(n)?n:null;return{outPoint:i,inPoint:i!==null&&r.inPoint!==null&&i<=r.inPoint?null:r.inPoint,loopEnabled:i!==null?!0:r.loopEnabled}}),setManualZoomPercent:n=>t({manualZoomPercent:Math.max(10,Math.min(2e3,Math.round(n)))}),setCurrentTime:n=>t({currentTime:Number.isFinite(n)?n:0}),setDuration:n=>t({duration:Number.isFinite(n)?n:0}),setTimelineReady:n=>t({timelineReady:n}),setBeatDragging:n=>t({beatDragging:n}),setElements:n=>t({elements:n}),setSelectedElementId:n=>t(r=>n!==r.selectedElementId?{selectedElementId:n,activeKeyframePct:null,motionPathArmed:!1}:{selectedElementId:n}),updateElement:(n,r)=>t(i=>({elements:i.elements.map(s=>(s.key??s.id)===n?{...s,...r}:s)})),reset:()=>t({isPlaying:!1,currentTime:0,duration:0,timelineReady:!1,beatDragging:!1,elements:[],selectedElementId:null,inPoint:null,outPoint:null,activeTool:"select",selectedKeyframes:new Set,selectedElementIds:new Set,keyframeCache:new Map,beatAnalysis:null,beatEdits:null,beatUndo:[],beatRedo:[],beatPersist:null,clipManifest:null,clipParentMap:new Map,domClipChildren:[]})}));function _he(){try{return!1}catch{return!1}}_he()&&typeof window<"u"&&(window.__playerStore=pe);const AX="phc_zjjbX0PnWxERXrMHhkEJWj9A9BhGVLRReICgsfTMmpx",vX="https://us.i.posthog.com",Ihe=3e4,Rhe=5e3;let Hf=[],Yg=null;function SX(){return WZ()}function Lhe(){try{return localStorage.getItem("hf-studio-telemetry-opt-out")!=="1"}catch{return!0}}function jhe(){var t,e;return{studio_version:"0.7.44",screen_width:(t=window.screen)==null?void 0:t.width,screen_height:(e=window.screen)==null?void 0:e.height,viewport_width:window.innerWidth,viewport_height:window.innerHeight,user_agent:navigator.userAgent,url_hash:location.hash.replace(/#project\//,"")}}function Ft(t,e={}){Lhe()&&(Hf.push({event:`studio:${t}`,properties:{...jhe(),...e},timestamp:new Date().toISOString()}),Yg||(Yg=setInterval(Fhe,Ihe)))}async function Fhe(){if(Hf.length===0)return;const t=Hf.map(r=>({event:r.event,properties:{...r.properties,$ip:null},distinct_id:SX(),timestamp:r.timestamp}));Hf=[];const e=new AbortController,n=setTimeout(()=>e.abort(),Rhe);try{await fetch(`${vX}/batch/`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({api_key:AX,batch:t}),signal:e.signal})}catch{}finally{clearTimeout(n)}}function OX(){if(Yg&&(clearInterval(Yg),Yg=null),Hf.length===0)return;const t=Hf.map(n=>({event:n.event,properties:{...n.properties,$ip:null},distinct_id:SX(),timestamp:n.timestamp}));Hf=[];const e=JSON.stringify({api_key:AX,batch:t});try{navigator.sendBeacon(`${vX}/batch/`,e)}catch{}}typeof window<"u"&&window.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&OX()});const $he=[{title:"Playback",hints:[{key:"Space",label:"Play / Pause"},{key:"J",label:"Play backward"},{key:"K",label:"Stop"},{key:"L",label:"Play forward"},{key:"M",label:"Toggle mute"},{key:"⇧L",label:"Toggle loop"},{key:"←/→",label:"Step 1 frame"},{key:"⇧←/⇧→",label:"Step 10 frames"},{key:"F",label:"Toggle fullscreen"}]},{title:"Keyframes",hints:[{key:"K",label:"Add keyframe at playhead"},{key:"Del",label:"Delete selected keyframe"},{key:"H",label:"Toggle hold / bezier"},{key:"U",label:"Expand / collapse properties"},{key:"R",label:"Record gesture"}]},{title:"Editing",hints:[{key:"⌘Z",label:"Undo"},{key:"⌘⇧Z",label:"Redo"},{key:"⌘C",label:"Copy element"},{key:"⌘V",label:"Paste element"},{key:"⌘X",label:"Cut element"},{key:"S",label:"Split clip at playhead"},{key:"⌘G",label:"Group elements"},{key:"⌘⇧G",label:"Ungroup"},{key:"Del",label:"Delete selected element"}]},{title:"Gesture recording modifiers",hints:[{key:"Drag",label:"Record x / y position"},{key:"Scroll",label:"Record z depth"},{key:"⇧ Drag",label:"Record rotationX / rotationY"},{key:"⌥ Drag",label:"Record rotation"},{key:"⌘ Drag↕",label:"Record opacity"},{key:"⌘ Scroll",label:"Record scale"}]},{title:"Canvas",hints:[{key:"Drag",label:"Move element / add keyframe"},{key:"⌥ Drag",label:"Move entire animation path"},{key:"⇧ Drag",label:"Uniform resize"}]},{title:"Crop",hints:[{key:"DblClick",label:"Crop selected element"},{key:"Drag edge",label:"Adjust crop side"},{key:"Drag frame",label:"Move crop window"},{key:"Esc",label:"Exit crop (or click outside)"}]},{title:"Panels",hints:[{key:"⌘1",label:"Compositions tab"},{key:"⌘2",label:"Assets tab"}]},{title:"Work area",hints:[{key:"I",label:"Set in-point"},{key:"⇧I",label:"Clear in-point"},{key:"O",label:"Set out-point"},{key:"⇧O",label:"Clear out-point"},{key:"A",label:"Jump to in-point"},{key:"E",label:"Jump to out-point"}]}],Bhe=b.memo(function({disabled:e,duration:n,inPoint:r,outPoint:i,setInPoint:s,setOutPoint:a,onSeek:o}){const[l,c]=b.useState(!1),[u,f]=b.useState(""),d=b.useRef(null);b.useEffect(()=>{if(!l)return;const v=A=>{d.current&&!d.current.contains(A.target)&&c(!1)};return document.addEventListener("mousedown",v),()=>{document.removeEventListener("mousedown",v)}},[l]);const m=b.useCallback(()=>{if(e)return;const v=Number.parseInt(u,10);!Number.isFinite(v)||n<=0||o(Math.min(n,lX(Math.max(0,v))))},[e,n,u,o]),x=b.useCallback(v=>{v.preventDefault(),m()},[m]),g=b.useCallback(v=>{v.key==="Enter"&&(v.preventDefault(),m())},[m]);return S.jsxs("div",{ref:d,className:"relative flex-shrink-0",children:[S.jsx(Un,{label:"Shortcuts and tools",children:S.jsx("button",{type:"button",onClick:()=>c(v=>!v),className:`w-6 h-6 flex items-center justify-center rounded border transition-colors ${l?"border-neutral-600 text-neutral-200 bg-neutral-800":"border-neutral-800 text-neutral-600 hover:text-neutral-300 hover:border-neutral-600"}`,"aria-label":"Shortcuts and tools","aria-expanded":l,children:S.jsxs("svg",{width:"11",height:"11",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[S.jsx("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2"}),S.jsx("path",{d:"M6 8h.01M10 8h.01M14 8h.01M18 8h.01M6 12h.01M10 12h.01M14 12h.01M18 12h.01M8 16h8"})]})})}),l&&S.jsxs("div",{className:"absolute bottom-full right-0 mb-2 z-50 rounded-lg shadow-xl min-w-[220px] overflow-y-auto",style:{background:"#161618",border:"1px solid rgba(255,255,255,0.08)",maxHeight:"min(280px, calc(100vh - 80px))"},children:[S.jsxs("div",{className:"px-3 pt-3 pb-2.5",children:[S.jsx("p",{className:"text-[9px] font-medium text-neutral-500 uppercase tracking-wider mb-1.5",children:"Jump to frame"}),S.jsxs("form",{onSubmit:x,className:"flex items-center gap-1.5",children:[S.jsx("input",{value:u,onChange:v=>f(v.target.value),disabled:e,inputMode:"numeric",pattern:"[0-9]*","aria-label":"Jump to frame",placeholder:"frame number",className:"h-6 flex-1 rounded border border-neutral-700 bg-neutral-900 px-2 text-[10px] font-mono tabular-nums text-neutral-200 outline-none transition-colors placeholder:text-neutral-600 focus:border-studio-accent/60",onKeyDown:g,onBlur:m}),S.jsx(Un,{label:"Jump to frame",children:S.jsx("button",{type:"submit",disabled:e,className:"h-6 px-2 rounded border border-neutral-700 text-[10px] text-neutral-300 transition-colors hover:border-neutral-500 hover:bg-neutral-800 disabled:opacity-40",children:"Go"})})]})]}),S.jsx("div",{style:{borderTop:"1px solid rgba(255,255,255,0.06)"}}),S.jsxs("div",{className:"px-3 pt-2.5 pb-2",children:[S.jsx("p",{className:"text-[9px] font-medium text-neutral-500 uppercase tracking-wider mb-1.5",children:"Work area"}),S.jsxs("div",{className:"flex flex-col gap-1",children:[S.jsxs("div",{className:"flex items-center justify-between gap-2",children:[S.jsxs("div",{className:"flex items-center gap-2",children:[S.jsx("span",{className:"font-mono text-[10px] rounded border border-neutral-700 px-1.5 py-0.5 text-neutral-300 min-w-[20px] text-center",style:{background:"rgba(255,255,255,0.05)"},children:"I"}),S.jsx("span",{className:"text-[10px] text-neutral-400",children:"In-point"})]}),S.jsx("div",{className:"flex items-center gap-1.5",children:r!==null?S.jsxs(S.Fragment,{children:[S.jsx("span",{className:"font-mono text-[10px] text-neutral-300",children:Fi(r)}),S.jsx(Un,{label:"Clear in-point",children:S.jsx("button",{type:"button",onClick:()=>s(null),className:"w-4 h-4 flex items-center justify-center rounded text-neutral-500 hover:text-neutral-200 transition-colors","aria-label":"Clear in-point",children:S.jsx("svg",{width:"8",height:"8",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:S.jsx("path",{d:"M18 6L6 18M6 6l12 12"})})})})]}):S.jsx("span",{className:"text-[10px] text-neutral-600",children:"—"})})]}),S.jsxs("div",{className:"flex items-center justify-between gap-2",children:[S.jsxs("div",{className:"flex items-center gap-2",children:[S.jsx("span",{className:"font-mono text-[10px] rounded border border-neutral-700 px-1.5 py-0.5 text-neutral-300 min-w-[20px] text-center",style:{background:"rgba(255,255,255,0.05)"},children:"O"}),S.jsx("span",{className:"text-[10px] text-neutral-400",children:"Out-point"})]}),S.jsx("div",{className:"flex items-center gap-1.5",children:i!==null?S.jsxs(S.Fragment,{children:[S.jsx("span",{className:"font-mono text-[10px] text-neutral-300",children:Fi(i)}),S.jsx(Un,{label:"Clear out-point",children:S.jsx("button",{type:"button",onClick:()=>a(null),className:"w-4 h-4 flex items-center justify-center rounded text-neutral-500 hover:text-neutral-200 transition-colors","aria-label":"Clear out-point",children:S.jsx("svg",{width:"8",height:"8",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:S.jsx("path",{d:"M18 6L6 18M6 6l12 12"})})})})]}):S.jsx("span",{className:"text-[10px] text-neutral-600",children:"—"})})]})]})]}),S.jsx("div",{style:{borderTop:"1px solid rgba(255,255,255,0.06)"}}),S.jsx("div",{className:"px-3 pt-2.5 pb-3 flex flex-col gap-3",children:$he.map(v=>S.jsxs("div",{children:[S.jsx("p",{className:"text-[9px] font-medium text-neutral-500 uppercase tracking-wider mb-1.5",children:v.title}),S.jsx("div",{className:"flex flex-col gap-1",children:v.hints.map(A=>S.jsxs("div",{className:"flex items-center gap-3",children:[S.jsx("span",{className:"font-mono text-[10px] rounded border border-neutral-700 px-1.5 py-0.5 text-neutral-300 min-w-[36px] text-center",style:{background:"rgba(255,255,255,0.05)"},children:A.key}),S.jsx("span",{className:"text-[10px] text-neutral-400",children:A.label})]},A.key))})]},v.title))})]})]})}),Vhe=[.25,.5,1,1.5,2],Qhe=b.memo(function({playbackRate:e,setPlaybackRate:n,disabled:r}){const[i,s]=b.useState(!1),a=b.useRef(null);return b.useEffect(()=>{if(!i)return;const o=l=>{a.current&&!a.current.contains(l.target)&&s(!1)};return document.addEventListener("mousedown",o),()=>{document.removeEventListener("mousedown",o)}},[i]),S.jsxs("div",{ref:a,className:"relative flex-shrink-0",children:[S.jsx(Un,{label:"Playback speed",children:S.jsx("button",{type:"button",onClick:()=>s(o=>!o),disabled:r,className:"w-10 px-2 py-1 rounded-md text-[10px] font-mono tabular-nums transition-colors",style:{color:"#71717A",background:"rgba(255,255,255,0.04)"},children:e===1?"1x":`${e}x`})}),i&&S.jsx("div",{className:"absolute bottom-full right-0 mb-1.5 rounded-lg shadow-xl z-50 min-w-[56px] overflow-hidden",style:{background:"#161618",border:"1px solid rgba(255,255,255,0.08)"},children:Vhe.map(o=>S.jsxs("button",{onClick:()=>{Ft("playback",{action:"speed_change",rate:o}),n(o),s(!1)},className:"block w-full px-3 py-1.5 text-[11px] text-left font-mono tabular-nums transition-colors",style:{color:o===e?"#FAFAFA":"#71717A",background:o===e?"rgba(255,255,255,0.06)":"transparent"},onMouseEnter:l=>{o!==e&&(l.currentTarget.style.background="rgba(255,255,255,0.04)")},onMouseLeave:l=>{o!==e&&(l.currentTarget.style.background="transparent")},children:[o,"x"]},o))})]})}),Hhe=8;function SR(t,e,n){if(!Number.isFinite(n)||n<=0)return 0;const r=(t-e)/n,i=Math.max(0,Math.min(1,r)),s=Math.min(.5,Hhe/n);return i<=s?0:i>=1-s?1:i}function zb(t,e,n){t.current&&(t.current.style.width=`${n}%`),e.current&&(e.current.style.left=`${n}%`)}function Zhe(t,e,n,r){const i=b.useCallback(a=>{if(n)return;const o=t.seekBarRef.current;if(!o||r<=0)return;const l=o.getBoundingClientRect(),c=SR(a,l.left,l.width);zb(t.progressFillRef,t.progressThumbRef,c*100),e(c*r)},[n,r,e,t]),s=b.useCallback(a=>{if(a.button!==0)return;a.preventDefault(),a.currentTarget.focus(),t.isDraggingRef.current=!0;const o=a.currentTarget,l=a.pointerId;try{o.setPointerCapture(l)}catch{}i(a.clientX);let c=0,u=a.clientX;const f=g=>{if(g.pointerId!==l||!t.isDraggingRef.current)return;u=g.clientX;const v=t.seekBarRef.current,A=t.durationRef.current;if(v&&A>0){const w=v.getBoundingClientRect(),k=SR(g.clientX,w.left,w.width)*100;zb(t.progressFillRef,t.progressThumbRef,k)}c||(c=requestAnimationFrame(()=>{c=0,t.isDraggingRef.current&&i(u)}))},d=()=>{t.isDraggingRef.current=!1,c&&(cancelAnimationFrame(c),c=0),i(u);try{o.releasePointerCapture(l)}catch{}o.removeEventListener("pointermove",f),o.removeEventListener("pointerup",m),o.removeEventListener("pointercancel",m),window.removeEventListener("pointerup",m),window.removeEventListener("pointercancel",m),document.removeEventListener("visibilitychange",x),window.removeEventListener("blur",d),o.blur()},m=g=>{g.pointerId===l&&d()},x=()=>{document.visibilityState==="hidden"&&d()};o.addEventListener("pointermove",f),o.addEventListener("pointerup",m),o.addEventListener("pointercancel",m),window.addEventListener("pointerup",m),window.addEventListener("pointercancel",m),document.addEventListener("visibilitychange",x),window.addEventListener("blur",d)},[i,t]);return wr(()=>{const a=c=>{t.currentTimeRef.current=c;const u=t.durationRef.current,f=u>0?Math.min(100,c/u*100):0;zb(t.progressFillRef,t.progressThumbRef,f),t.timeDisplayRef.current&&(t.timeDisplayRef.current.textContent=t.timeDisplayModeRef.current==="frame"?cX(c,u):Fi(c)),t.sliderRef.current&&t.sliderRef.current.setAttribute("aria-valuenow",String(Math.round(c)))},o=Xs.subscribe(a);a(pe.getState().currentTime);const l=setInterval(()=>{const c=pe.getState().currentTime,u=pe.getState().duration;u>0&&c>0&&zb(t.progressFillRef,t.progressThumbRef,Math.min(100,c/u*100))},500);return()=>{o(),clearInterval(l)}}),{handlePointerDown:s}}dS.registerPlugin(_p);const OR="M87.5129 57.5141L56.9696 73.5433C52.8371 75.7098 48.7046 73.2553 49.6688 69.2104L58.9483 30.1391C59.9125 26.0942 65.2097 23.6397 68.3154 25.8062L91.2447 41.8354C96.4668 45.4796 94.4631 53.8699 87.5129 57.5141Z",wR="M56 28H67V71H56Z M73 28H84V71H73Z";function zhe({playing:t}){const e=b.useRef(null),n=b.useRef(!0);return b.useEffect(()=>{var o;const r=e.current;if(!r)return;const i=t?wR:OR,s=typeof window<"u"&&((o=window.matchMedia)==null?void 0:o.call(window,"(prefers-reduced-motion: reduce)").matches);if(n.current||s){n.current=!1,dS.set(r,{morphSVG:i});return}const a=dS.to(r,{duration:.28,ease:"power2.inOut",morphSVG:i});return()=>{a.kill()}},[t]),S.jsx("span",{className:"relative inline-flex h-3 w-3 items-center justify-center","aria-hidden":"true",children:S.jsx("svg",{width:"12",height:"12",viewBox:"46 21 54 56",fill:"#FAFAFA",children:S.jsx("path",{ref:e,d:t?wR:OR})})})}const Xhe=b.memo(function({audioMuted:e,audioAutoMuted:n,effectiveAudioMuted:r,controlsDisabled:i,setAudioMuted:s}){const a=n?"Audio muted above 1x speed":e?"Unmute audio":"Mute audio";return S.jsx(Un,{label:a,children:S.jsx("button",{type:"button",onClick:()=>{n||(Ft("playback",{action:"mute_toggle",muted:!e}),s(!e))},disabled:i||n,"aria-label":a,"aria-pressed":r,className:`h-7 w-7 flex-shrink-0 flex items-center justify-center rounded-md border transition-colors disabled:pointer-events-none ${r?"text-studio-accent bg-studio-accent/10 border-studio-accent/30":"border-neutral-700 text-neutral-400 hover:border-neutral-500 hover:bg-neutral-800"} ${n?"opacity-70":""}`,children:S.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[S.jsx("path",{d:"M11 5 6 9H3v6h3l5 4V5Z"}),r?S.jsxs(S.Fragment,{children:[S.jsx("path",{d:"m19 9-6 6"}),S.jsx("path",{d:"m13 9 6 6"})]}):S.jsxs(S.Fragment,{children:[S.jsx("path",{d:"M15.5 8.5a5 5 0 0 1 0 7"}),S.jsx("path",{d:"M18.5 5.5a9 9 0 0 1 0 13"})]})]})})})}),Uhe=b.memo(function({loopEnabled:e,disabled:n,setLoopEnabled:r}){return S.jsx(Un,{label:"Loop playback",children:S.jsx("button",{type:"button",onClick:()=>{Ft("playback",{action:"loop_toggle",enabled:!e}),r(!e)},disabled:n,className:`h-7 w-7 flex items-center justify-center rounded-md border transition-colors ${e?"text-studio-accent bg-studio-accent/10 border-studio-accent/30":"border-neutral-700 text-neutral-400 hover:border-neutral-500 hover:bg-neutral-800"}`,"aria-label":e?"Disable loop playback":"Enable loop playback","aria-pressed":e,children:S.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[S.jsx("path",{d:"M17 2l4 4-4 4"}),S.jsx("path",{d:"M3 11V9a4 4 0 0 1 4-4h14"}),S.jsx("path",{d:"M7 22l-4-4 4-4"}),S.jsx("path",{d:"M21 13v2a4 4 0 0 1-4 4H3"})]})})})}),Ghe=b.memo(function({isFullscreen:e,onToggleFullscreen:n}){return S.jsx(Un,{label:e?"Exit fullscreen (F)":"Enter fullscreen (F)",children:S.jsx("button",{type:"button",onClick:()=>{Ft("playback",{action:"fullscreen_toggle",active:!e}),n()},className:`h-7 w-7 flex-shrink-0 flex items-center justify-center rounded-md border transition-colors ${e?"text-studio-accent bg-studio-accent/10 border-studio-accent/30":"border-neutral-700 text-neutral-400 hover:border-neutral-500 hover:bg-neutral-800"}`,"aria-label":e?"Exit fullscreen":"Enter fullscreen",children:S.jsx("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:e?S.jsxs(S.Fragment,{children:[S.jsx("path",{d:"M8 3v3a2 2 0 0 1-2 2H3"}),S.jsx("path",{d:"M21 8h-3a2 2 0 0 1-2-2V3"}),S.jsx("path",{d:"M3 16h3a2 2 0 0 1 2 2v3"}),S.jsx("path",{d:"M16 21v-3a2 2 0 0 1 2-2h3"})]}):S.jsxs(S.Fragment,{children:[S.jsx("path",{d:"M8 3H5a2 2 0 0 0-2 2v3"}),S.jsx("path",{d:"M21 8V5a2 2 0 0 0-2-2h-3"}),S.jsx("path",{d:"M3 16v3a2 2 0 0 0 2 2h3"}),S.jsx("path",{d:"M16 21h3a2 2 0 0 0 2-2v-3"})]})})})})});function CR({position:t,duration:e}){return e<=0?null:S.jsx("div",{className:"absolute z-[3] pointer-events-none",style:{left:`${Math.min(100,t/e*100)}%`,top:"50%",transform:"translate(-50%, -50%)",width:"2px",height:"10px",background:"#3CE6AC",borderRadius:"1px"}})}function Whe({inPoint:t,outPoint:e,duration:n}){return t===null&&e===null||n<=0?null:S.jsxs(S.Fragment,{children:[S.jsx("div",{className:"absolute top-0 bottom-0 pointer-events-none",style:{left:`${t!==null?Math.min(100,t/n*100):0}%`,right:`${e!==null?100-Math.min(100,e/n*100):0}%`,background:"rgba(60,230,172,0.15)"}}),t!==null&&S.jsx(CR,{position:t,duration:n}),e!==null&&S.jsx(CR,{position:e,duration:n})]})}const Yhe=b.memo(function({disabled:e,duration:n,inPoint:r,outPoint:i,progressFillRef:s,progressThumbRef:a,seekBarRef:o,sliderRef:l,onPointerDown:c,onKeyDown:u}){return S.jsx("div",{ref:f=>{o.current=f,l.current=f},role:"slider",tabIndex:e?-1:0,"aria-label":"Seek","aria-disabled":e||void 0,"aria-valuemin":0,"aria-valuemax":Math.round(n),"aria-valuenow":0,className:`min-w-[96px] flex-1 h-6 flex items-center group outline-none focus-visible:ring-1 focus-visible:ring-white/30 focus-visible:rounded ${e?"cursor-not-allowed opacity-50":"cursor-pointer"}`,style:{touchAction:"none"},onPointerDown:c,onKeyDown:u,children:S.jsxs("div",{className:"w-full rounded-full relative",style:{background:"rgba(255,255,255,0.15)",height:"3px"},children:[S.jsx(Whe,{inPoint:r,outPoint:i,duration:n}),S.jsx("div",{ref:s,className:"absolute top-0 bottom-0 left-0 z-[1] rounded-full",style:{background:"linear-gradient(90deg, var(--hf-accent, #3CE6AC), #2BBFA0)"}}),S.jsx("div",{ref:a,className:"absolute top-1/2 z-[4] w-3 h-3 rounded-full -translate-y-1/2 -translate-x-1/2 transition-transform group-hover:scale-125",style:{background:"var(--hf-accent, #3CE6AC)",boxShadow:"0 0 6px rgba(60,230,172,0.4), 0 1px 4px rgba(0,0,0,0.4)"}})]})})}),qhe=b.memo(function({onTogglePlay:e,onSeek:n,disabled:r=!1,isFullscreen:i=!1,onToggleFullscreen:s}){const a=pe(he=>he.isPlaying),o=pe(he=>he.duration),l=pe(he=>he.timelineReady),c=pe(he=>he.playbackRate),u=pe(he=>he.audioMuted),f=pe(he=>he.loopEnabled),d=pe.getState().setPlaybackRate,m=pe.getState().setAudioMuted,x=pe.getState().setLoopEnabled,g=pe(he=>he.inPoint),v=pe(he=>he.outPoint),A=pe.getState().setInPoint,w=pe.getState().setOutPoint,[k,T]=b.useState("time"),M=b.useRef(null),_=b.useRef(null),D=b.useRef(null),I=b.useRef(null),j=b.useRef(null),$=b.useRef(!1),B=b.useRef(0),Q=b.useRef(k);Q.current=k;const z=b.useRef(o);z.current=o;const q=r||!l,re=c>1,W=mX(u,c);b.useEffect(()=>{if(!D.current)return;const he=B.current;D.current.textContent=k==="frame"?cX(he,o):Fi(he)},[o,k]);const{handlePointerDown:ne}=Zhe({seekBarRef:I,progressFillRef:M,progressThumbRef:_,sliderRef:j,timeDisplayRef:D,isDraggingRef:$,durationRef:z,currentTimeRef:B,timeDisplayModeRef:Q},n,r,o),se=b.useCallback(he=>{if(r||!l||o<=0)return;const oe=he.shiftKey?10:1;he.key==="ArrowLeft"?(he.preventDefault(),n(x5(B.current,-oe))):he.key==="ArrowRight"&&(he.preventDefault(),n(Math.min(o,x5(B.current,oe))))},[r,l,o,n]);return S.jsxs("div",{className:"px-4 py-2 flex flex-wrap items-center gap-x-2 gap-y-1","aria-disabled":r||void 0,style:{borderTop:"1px solid rgba(255,255,255,0.04)",paddingBottom:"calc(0.5rem + env(safe-area-inset-bottom))"},children:[S.jsx(Un,{label:a?"Pause":"Play",children:S.jsx("button",{type:"button","aria-label":a?"Pause":"Play",onClick:()=>{Ft("playback",{action:a?"pause":"play"}),e()},disabled:q,className:"flex-shrink-0 w-8 h-8 flex items-center justify-center rounded-lg disabled:opacity-30 disabled:pointer-events-none transition-colors",style:{background:"rgba(255,255,255,0.06)"},children:S.jsx(zhe,{playing:a})})}),S.jsx(Un,{label:k==="time"?"Switch to frame display":"Switch to time display",children:S.jsxs("button",{type:"button",onClick:()=>T(he=>he==="time"?"frame":"time"),disabled:r,className:"font-mono text-[11px] tabular-nums flex-shrink-0 w-[118px] text-left transition-colors disabled:pointer-events-none hover:opacity-80",style:{color:"#A1A1AA",cursor:"pointer"},children:[S.jsx("span",{ref:D,children:Fi(0)}),k==="time"?S.jsxs(S.Fragment,{children:[S.jsx("span",{style:{color:"#3F3F46",margin:"0 2px"},children:"/"}),S.jsx("span",{style:{color:"#52525B"},children:Fi(o)})]}):null]})}),S.jsx(Yhe,{disabled:r,duration:o,inPoint:g,outPoint:v,progressFillRef:M,progressThumbRef:_,seekBarRef:I,sliderRef:j,onPointerDown:ne,onKeyDown:se}),S.jsx(Xhe,{audioMuted:u,audioAutoMuted:re,effectiveAudioMuted:W,controlsDisabled:q,setAudioMuted:m}),S.jsx(Qhe,{playbackRate:c,setPlaybackRate:d,disabled:r}),S.jsx(Uhe,{loopEnabled:f,disabled:r,setLoopEnabled:x}),s&&S.jsx(Ghe,{isFullscreen:i,onToggleFullscreen:s}),S.jsx(Bhe,{disabled:r,duration:o,inPoint:g,outPoint:v,setInPoint:A,setOutPoint:w,onSeek:n})]})}),Khe=new Set(["audio","music","sfx","sound","narration"]),Jhe=/\.(aac|flac|m4a|mp3|ogg|opus|wav)(?:[?#].*)?$/i,efe=/\b(music|bgm|soundtrack|background[-_]?music)\b/i;function tfe(t){if(!t)return!1;const e=t.tag.trim().toLowerCase();return Khe.has(e)?!0:!!(t.src&&Jhe.test(t.src))}function qo(t){if(!t||!tfe(t))return!1;if(t.timelineRole==="music")return!0;if(t.timelineRole&&t.timelineRole!=="music")return!1;const e=t.domId??t.id??"";return efe.test(e)}let X6=null;function nfe(){return X6||(X6=o8(()=>import("./index-8c83yScV.js").then(t=>t.i),[]).then(t=>(t.default??t)||null).catch(()=>null)),X6}const U6=1024,ER=512,rfe=.05;function wX(t,e,n){const r=Math.floor(e*rfe),i=Math.floor(n*e),s=Math.max(0,i-r),a=Math.min(t.length,i+r);let o=0;for(let l=s;l<a;l++){const c=t[l]??0;o+=c*c}return Math.sqrt(o/Math.max(a-s,1))}function CX(t,e){return!t.channelData||t.peak<=0?.5:Math.min(1,wX(t.channelData,t.sampleRate,e)/t.peak)}async function ife(t){const e=t.getChannelData(0),n=t.sampleRate,r=[];for(let a=0;a<e.length-U6;a+=ER){let o=0;for(let l=0;l<U6;l++){const c=e[a+l];o+=c*c}r.push(o/U6)}const i=[],s=20;for(let a=s;a<r.length-s;a++){let o=0;for(let u=a-s;u<a+s;u++)o+=r[u];o/=s*2;const l=o*1.5,c=r[a];if(c>l&&c>(r[a-1]??0)&&c>(r[a+1]??0)){const u=a*ER/n;(i.length===0||u-i[i.length-1]>.1)&&i.push(Math.round(u*1e3)/1e3)}}return i}function sfe(t){if(t.length<4)return null;const e=[];for(let s=1;s<t.length;s++)e.push(t[s]-t[s-1]);const n=[...e].sort((s,a)=>s-a),r=Math.floor(n.length/2),i=n.length%2===0?(n[r-1]+n[r])/2:n[r];return i<=0?null:Math.round(60/i*10)/10}function G6(t){let e=t;for(;e>120;)e/=2;for(;e<60;)e*=2;return e}function afe(t,e){const n=[t/2,t,t*2];let r=t,i=Number.POSITIVE_INFINITY;for(const s of n){if(s<=0)continue;const a=Math.abs(s-e);a<i&&(i=a,r=s)}return r}function ofe(t,e,n){if(t.length===0||e<=0||n<=0)return t;const r=60/e;if(r<.125)return t;const i=r*.25;let s=0,a=-1;for(const l of t.slice(0,10)){const c=(l%r+r)%r;let u=0;for(const f of t){const d=(f%r+r)%r;Math.min(Math.abs(d-c),r-Math.abs(d-c))<i&&u++}u>a&&(a=u,s=c)}const o=[];for(let l=s;l<=n+.001;l+=r)o.push(Math.round(l*1e3)/1e3);return o}function lfe(t,e,n){if(t.length===0)return{times:t,strengths:[],peak:1e-6};const r=t.map(l=>wX(e,n,l)),i=Math.max(...r,1e-6),s=i*.12,a=[],o=[];for(let l=0;l<t.length;l++)r[l]>=s&&(a.push(t[l]),o.push(Math.min(1,r[l]/i)));return{times:a,strengths:o,peak:i}}async function cfe(t){const e=t.getChannelData(0),n=t.sampleRate,r=t.duration,i=await ife(t),s=sfe(i);let a=null;try{const d=await nfe();d&&(a=d(t))}catch{}let o=s,l="uncertain",c=null;if(s!==null&&a!==null){const d=Math.abs(G6(s)-G6(a))/G6(a);d<.05?(o=afe(a,s),l="high",c=o):d<.1?(o=Math.round((s+a)/2),l="low",c=o):(o=s,l="uncertain")}else s!==null?(o=s,l="low",c=s):a!==null&&(o=a,l="low",c=a);const u=c!==null?ofe(i,c,r):i,f=lfe(u,e,n);return{beatTimes:f.times,beatStrengths:f.strengths,bpm:o,bpmConfidence:l,channelData:e,sampleRate:n,peak:f.peak}}async function ufe(t){const e=new AudioContext;try{const r=await(await fetch(t)).arrayBuffer(),i=await e.decodeAudioData(r);return cfe(i)}finally{await e.close()}}function EX(t){if(!t||/^(blob:|data:)/i.test(t))return null;let e=null;const n="/preview/",r=t.indexOf(n);if(r!==-1){let i=t.slice(r+n.length);const s=i.search(/[?#]/);s!==-1&&(i=i.slice(0,s)),i.startsWith("comp/")&&(i=i.slice(5)),e=i?decodeURIComponent(i):null}if(!e)try{e=decodeURIComponent(new URL(t,"http://_").pathname)}catch{e=t}return e?(e=e.replace(/^\/+/,""),e||null):null}function kR(t){const e=EX(t);return e?`beats/${e}.json`:null}function hfe(t,e,n){const r=t.map((s,a)=>({time:Math.round(s*1e3)/1e3,strength:Math.round((e[a]??.5)*1e3)/1e3}));return`${JSON.stringify({version:1,audio:n,beats:r},null,2)}
|
|
71
71
|
`}function kX(t){try{const e=JSON.parse(t);if(!e||e.version!==1||!Array.isArray(e.beats))return null;const n=[],r=[];for(const i of e.beats)if(i&&typeof i.time=="number"&&Number.isFinite(i.time)){n.push(i.time);const s=typeof i.strength=="number"&&Number.isFinite(i.strength)?i.strength:.5;r.push(Math.max(0,Math.min(1,s)))}return{times:n,strengths:r}}catch{return null}}const TP=b.createContext(null);function Tx(){const t=b.useContext(TP);if(!t)throw new Error("useFileManagerContext must be used within FileManagerProvider");return t}function ffe(){return b.useContext(TP)}function dfe({value:{editingFile:t,setEditingFile:e,projectDir:n,fileTree:r,fileTreeLoaded:i,setFileTree:s,editingPathRef:a,projectIdRef:o,saveRafRef:l,importedFontAssetsRef:c,readProjectFile:u,writeProjectFile:f,readOptionalProjectFile:d,updateEditingFileContent:m,revealSourceOffset:x,openSourceForSelection:g,handleFileSelect:v,handleContentChange:A,refreshFileTree:w,uploadProjectFiles:k,handleCreateFile:T,handleCreateFolder:M,handleDeleteFile:_,handleRenameFile:D,handleDuplicateFile:I,handleMoveFile:j,handleImportFiles:$,handleImportFonts:B,compositions:Q,assets:z,fontAssets:q},children:re}){const W=b.useMemo(()=>({editingFile:t,setEditingFile:e,projectDir:n,fileTree:r,fileTreeLoaded:i,setFileTree:s,editingPathRef:a,projectIdRef:o,saveRafRef:l,importedFontAssetsRef:c,readProjectFile:u,writeProjectFile:f,readOptionalProjectFile:d,updateEditingFileContent:m,revealSourceOffset:x,openSourceForSelection:g,handleFileSelect:v,handleContentChange:A,refreshFileTree:w,uploadProjectFiles:k,handleCreateFile:T,handleCreateFolder:M,handleDeleteFile:_,handleRenameFile:D,handleDuplicateFile:I,handleMoveFile:j,handleImportFiles:$,handleImportFonts:B,compositions:Q,assets:z,fontAssets:q}),[t,e,n,r,i,s,a,o,l,c,u,f,d,m,x,g,v,A,w,k,T,M,_,D,I,j,$,B,Q,z,q]);return S.jsx(TP,{value:W,children:re})}const pfe=.015;function Ko(t,e){return Math.abs(t-e)<pfe}function d8(t,e){return t&&e&&t.src===e?t:null}function PP(t,e,n,r){const i=d8(n,r),s=(i==null?void 0:i.removed)??[],a=[];for(let o=0;o<t.length;o++){const l=t[o];s.some(c=>Ko(c,l))||a.push({time:l,strength:e[o]??.5})}if(i)for(const o of i.added)a.some(l=>Ko(l.time,o.time))||a.push(o);return a.sort((o,l)=>o.time-l.time),{times:a.map(o=>o.time),strengths:a.map(o=>o.strength)}}function TX(t,e){const n=d8(t,e);return n?{...n,added:[...n.added],removed:[...n.removed]}:{src:e,added:[],removed:[]}}function PX(t,e,n,r=[]){const i=d8(t,e);if(r.some(l=>Ko(l,n.time))&&!((i==null?void 0:i.removed)??[]).some(l=>Ko(l,n.time))||((i==null?void 0:i.added)??[]).some(l=>Ko(l.time,n.time)))return t;const a=TX(t,e),o=a.removed.findIndex(l=>Ko(l,n.time));return o>=0?(a.removed.splice(o,1),a):(a.added.push(n),a)}function MX(t,e,n,r){const i=d8(t,e),s=((i==null?void 0:i.added)??[]).some(u=>Ko(u.time,r)),a=n.find(u=>Ko(u,r)),o=a!==void 0&&((i==null?void 0:i.removed)??[]).some(u=>Ko(u,a));if(!s&&(a===void 0||o))return t;const l=TX(t,e),c=l.added.findIndex(u=>Ko(u.time,r));return c>=0?(l.added.splice(c,1),l):(a!==void 0&&!l.removed.some(u=>Ko(u,a))&&l.removed.push(a),l)}function mfe(t,e,n,r,i){const s=MX(t,e,n,r);return PX(s,e,i,n)??s}const Ip=new Map,gfe=4,yfe=350;function xfe(t,e){for(Ip.set(t,e);Ip.size>gfe;){const n=Ip.keys().next().value;if(n===void 0)break;Ip.delete(n)}}async function bfe(t,e,n){if(!t)return{...e,hasFile:!1};try{const r=await n.readOptionalProjectFile(t),i=r?kX(r):null;if(i&&i.times.length>0)return{times:i.times,strengths:i.strengths,hasFile:!0}}catch{}return{...e,hasFile:!1}}function Afe(){const t=pe(u=>u.elements),e=pe(u=>u.setBeatAnalysis),n=pe(u=>u.setBeatEdits),r=pe(u=>u.setBeatPersist),i=pe(u=>u.resetBeatHistory),s=ffe(),a=s==null?void 0:s.readOptionalProjectFile,o=s==null?void 0:s.writeProjectFile,l=b.useRef(null);l.current=a&&o?{readOptionalProjectFile:a,writeProjectFile:o}:null;const c=b.useMemo(()=>{const u=t.find(f=>qo(f));return(u==null?void 0:u.src)??null},[t]);b.useEffect(()=>{if(!c){e(null),n(null),i();return}if(!l.current){e(null),n(null),i();return}let u=!1;const f=kR(c),d=l.current;return(async()=>{if(!f||!d)return;let m=!1;try{const g=await d.readOptionalProjectFile(f),v=g?kX(g):null;m=!!(v&&v.times.length>0)}catch{}if(u)return;if(!m){e(null);return}let x=Ip.get(c);x||(x=ufe(c),xfe(c,x));try{const g=await x,v={times:g.beatTimes,strengths:g.beatStrengths},{times:A,strengths:w}=await bfe(f,v,d);if(u)return;n(null),i(),e({...g,beatTimes:A,beatStrengths:w})}catch{u||(e(null),Ip.delete(c))}})(),()=>{u=!0}},[c,e,n,i]),b.useEffect(()=>{const u=kR(c);if(!c||!u||!l.current){r(null);return}const f=l.current,d=EX(c)??"audio";let m=null,x=null;const g=()=>{if(x===null)return;const A=x;x=null,f.writeProjectFile(u,A).catch(()=>{})};return r(()=>{const A=pe.getState(),w=A.beatAnalysis;if(!w)return;const k=PP(w.beatTimes,w.beatStrengths,A.beatEdits,c);x=hfe(k.times,k.strengths,d),m&&clearTimeout(m),m=setTimeout(()=>{m=null,g()},yfe)}),()=>{m&&clearTimeout(m),g(),r(null)}},[c,r])}function vfe(t,e,n){if(!t||!e)return null;const r=PP(t.beatTimes,t.beatStrengths,n,e.src??null),i=e.playbackStart??0,s=i+e.duration,a=e.start-i,o=[],l=[];return r.times.forEach((c,u)=>{c>=i&&c<=s&&(o.push(Math.round((c+a)*1e3)/1e3),l.push(r.strengths[u]??1))}),{...t,beatTimes:o,beatStrengths:l}}function p8(){const t=pe.getState(),e=t.elements.find(qo),n=t.beatAnalysis;return!e||!n||!e.src?null:{s:t,music:e,analysis:n,src:e.src}}function yS(t,e,n){return e+(n-t)}function MP(t){return t.duration>0?t.duration:t.sourceDuration&&t.sourceDuration>0?t.sourceDuration:Number.POSITIVE_INFINITY}function Sfe(t){const e=p8();return e?t>=e.music.start&&t<=e.music.start+MP(e.music):!1}function Ofe(t){const e=p8();if(!e)return;const n=e.music.playbackStart??0,r=yS(e.music.start,n,t);if(r<n||r>n+MP(e.music))return;const i=CX(e.analysis,r),s=PX(e.s.beatEdits,e.src,{time:r,strength:i},e.analysis.beatTimes);s!==e.s.beatEdits&&e.s.commitBeatEdits(s,"add beat")}function wfe(t){const e=p8();if(!e)return;const n=yS(e.music.start,e.music.playbackStart??0,t),r=MX(e.s.beatEdits,e.src,e.analysis.beatTimes,n);r!==e.s.beatEdits&&e.s.commitBeatEdits(r,"delete beat")}function Cfe(t,e){const n=p8();if(!n)return;const r=n.music.playbackStart??0,i=yS(n.music.start,r,t),s=yS(n.music.start,r,e),a=Math.max(r,Math.min(r+MP(n.music),s)),o=CX(n.analysis,a),l=mfe(n.s.beatEdits,n.src,n.analysis.beatTimes,i,{time:a,strength:o});l!==n.s.beatEdits&&n.s.commitBeatEdits(l,"move beat")}function TR(t){return t.tagName||t.kind||"div"}function DX(t){const{clip:e,fallbackIndex:n,doc:r}=t;let i=t.hostEl??null;const s=kx({id:e.id,label:e.label,tag:TR(e)});let a,o,l,c,u;i&&(a=i.id||void 0,u=i.getAttribute("data-hf-id")||void 0,o=qf(i),l=r&&o?Vy(r,i,o):void 0,c=By(i));const f=Qy({preferredId:e.id,label:s,fallbackIndex:n,domId:a,selector:o,selectorIndex:l,sourceFile:c}),d={id:f.id,label:s,key:f.key,tag:TR(e),start:e.start,duration:e.duration,track:e.track,domId:a,hfId:u,selector:o,selectorIndex:l,sourceFile:c};if(i){fX(d,i),i.hasAttribute("data-hidden")&&(d.hidden=!0);const m=i.getAttribute("data-timeline-role");m&&(d.timelineRole=m)}if(e.assetUrl&&(d.src=e.assetUrl),e.kind==="composition"&&e.compositionId){let m=e.compositionSrc;if(m||(i=(r==null?void 0:r.querySelector(`[data-composition-id="${CSS.escape(e.compositionId)}"]`))??i,m=(i==null?void 0:i.getAttribute("data-composition-src"))??(i==null?void 0:i.getAttribute("data-composition-file"))??null),m)d.compositionSrc=m;else if(i){const x=i.querySelector("video[src]");x&&(d.src=x.getAttribute("src")||void 0,d.tag="video")}if(i){d.domId=i.id||void 0,d.hfId=i.getAttribute("data-hf-id")||void 0,d.selector=qf(i),d.selectorIndex=r&&d.selector?Vy(r,i,d.selector):void 0,d.sourceFile=By(i);const x=Qy({preferredId:e.id,label:s,fallbackIndex:n,domId:d.domId,selector:d.selector,selectorIndex:d.selectorIndex,sourceFile:d.sourceFile});d.id=x.id,d.key=x.key}}return d}function NX(t,e,n=[]){if(!Number.isFinite(e)||e<=0)return[];const r=t.querySelector("[data-composition-id]");if(!r)return[];const i=new Set(n.map(A5)),s=n.reduce((o,l)=>Math.max(o,Number.isFinite(l.track)?l.track:0),-1),a=[];for(const o of Array.from(r.children)){if(!bhe(r,o))continue;const l=qf(o);if(!l)continue;const c=Vy(t,o,l),u=By(o),f=phe(o),d=Qy({preferredId:o.id||null,label:f,fallbackIndex:n.length+a.length,domId:o.id||void 0,selector:l,selectorIndex:c,sourceFile:u});i.has(d.key)||i.has(d.id)||a.push({domId:o.id||void 0,hfId:o.getAttribute("data-hf-id")||void 0,duration:e,id:d.id,key:d.key,label:f,selector:l,selectorIndex:c,sourceFile:u,start:0,tag:o.tagName.toLowerCase(),timingSource:"implicit",track:s+1+a.length})}return a}function _X(t,e){const n=t.querySelector("[data-composition-id]"),r=t.querySelectorAll("[data-start]"),i=[];let s=0;return r.forEach(a=>{if(a===n||f8(a))return;const o=a,l=o.getAttribute("data-start");if(l==null)return;const c=parseFloat(l);if(isNaN(c)||Number.isFinite(e)&&e>0&&c>=e)return;const u=o.tagName.toLowerCase();let f=0;const d=o.getAttribute("data-duration");if(d!=null&&(f=parseFloat(d)),(isNaN(f)||f<=0)&&(f=Math.max(0,e-c)),Number.isFinite(e)&&e>0&&(f=Math.min(f,Math.max(0,e-c))),!Number.isFinite(f)||f<=0)return;const m=o.getAttribute("data-track-index"),x=m!=null?parseInt(m,10):s++,g=o.getAttribute("data-composition-id"),v=qf(o),A=By(o),w=Vy(t,o,v),k=kx({id:o.id||g||null,label:o.getAttribute("data-timeline-label")??o.getAttribute("data-label"),tag:u}),T=Qy({preferredId:o.id||g||null,label:k,fallbackIndex:i.length,domId:o.id||void 0,selector:v,selectorIndex:w,sourceFile:A}),M={id:T.id,label:k,key:T.key,tag:u,start:c,duration:f,track:isNaN(x)?0:x,domId:o.id||void 0,hfId:o.getAttribute("data-hf-id")||void 0,selector:v,selectorIndex:w,sourceFile:A,timingSource:"authored"},_=hX(o);if(_){_.tagName==="IMG"&&(M.tag="img");const j=o.getAttribute("data-volume")??_.getAttribute("data-volume");j&&(M.volume=parseFloat(j)),fX(M,o);const $=_.src||void 0;$&&(M.src=$)}o.hasAttribute("data-timeline-locked")&&(M.timelineLocked=!0),o.hasAttribute("data-hidden")&&(M.hidden=!0);const D=o.getAttribute("data-timeline-role");D&&(M.timelineRole=D);const I=o.getAttribute("data-composition-src")||o.getAttribute("data-composition-file");if(I)M.compositionSrc=I;else if(g&&g!==(n==null?void 0:n.getAttribute("data-composition-id"))){const j=o.querySelector("video[src]");j&&(M.src=j.getAttribute("src")||void 0,M.tag="video")}i.push(M)}),[...i,...NX(t,e,i)]}function Efe(t,e,n,r){const i=Number.isFinite(n)?n:0,s=Number.isFinite(r)?r:0;if(t.length===0||e.length>=t.length||s>i)return e;const a=new Set(e.map(A5)),o=t.filter(l=>!a.has(A5(l)));return o.length===0?e:[...e,...o]}function kfe(t){const e=t.match(/\/preview\/comp\/(.+?)(?:\?|$)/);return e?decodeURIComponent(e[1]):void 0}function Tfe(t){if(!Number.isFinite(t.rootDuration)||t.rootDuration<=0)return null;const e=kfe(t.iframeSrc);return{id:t.compositionId,label:kx({id:t.compositionId,tag:t.tagName}),key:gS({id:t.compositionId,fallbackIndex:0,selector:t.selector,selectorIndex:t.selectorIndex,sourceFile:e}),tag:t.tagName.toLowerCase()||"div",start:0,duration:t.rootDuration,track:0,compositionSrc:e,selector:t.selector,selectorIndex:t.selectorIndex,sourceFile:e}}function Pfe(t,e){let n=e.get(t);if(!n)return null;const r=new Set;for(r.add(t);e.has(n);){if(r.has(n))return n;r.add(n);const i=e.get(n);if(!i)return n;n=i}return n}function Mfe(t){const e=t.lastIndexOf("#");return e>=0?t.slice(e+1):t}function IX(t,e,n){if(!t)return null;const r=Mfe(t);if(n.has(r))return r;if(n.has(t))return t;const i=e.find(s=>s.label===t||s.label===r);return i!=null&&i.id&&n.has(i.id)?i.id:null}function Dfe(t,e){return Number.isFinite(e)&&e>=t.start&&e<t.start+t.duration}function Nfe(t,e,n){let r=0,i=e.get(t);const s=new Set;for(s.add(t);i;){if(s.has(i))return r;s.add(i),n.has(i)&&(r+=1),i=e.get(i)}return r}function _fe(t,e,n){const r=new Set(n.values()),i=new Set;for(const o of e)!o.id||!r.has(o.id)||!Dfe(o,t)||i.add(o.id);let s=null,a=-1;for(const o of i){const l=Nfe(o,n,i);l<=a||(s=o,a=l)}return s}function Ife({selectedElementId:t,isPlaying:e,currentTime:n,manifest:r,parentMap:i}){const s=IX(t,r,i);return s||(e?null:_fe(n,r,i))}function qg(t,e){return e.size===0?t:t.filter(n=>!e.has(n.domId??n.id))}function Rfe(t,e,n){const r=t.start+t.duration;if(t.start>=n||r<=e)return null;const i=Math.max(t.start,e),s=Math.min(r,n)-i;return s>0?{start:i,duration:s}:null}function Lfe(t,e,n){const r=[];for(const i of t){const s=Rfe(i,e.start,e.end);if(!s)continue;const a=DX({clip:i,fallbackIndex:r.length}),o=i.id??void 0,l=i.id?`#${i.id}`:void 0,c=gS({id:a.id,fallbackIndex:r.length,domId:o,selector:l,selectorIndex:a.selectorIndex,sourceFile:n.sourceFile});r.push({...a,key:c,start:s.start,duration:s.duration,track:e.track+r.length,expandedParentStart:n.start,domId:o,selector:l,sourceFile:n.sourceFile,timingSource:"authored"})}return r}function jfe(t,e,n){return t.filter(r=>r.parentId===e).map(r=>({id:r.id,label:r.label,start:n.start,duration:n.duration,track:n.track,kind:"element",tagName:null,compositionId:null,parentCompositionId:n.id??null,compositionSrc:n.compositionSrc??null,assetUrl:null}))}function Ffe(t,e,n,r,i,s=[]){const a=t.find(d=>d.id===r||d.domId===r);if(!a)return qg(t,n);const o=(()=>{const d=e.filter(m=>m.id!=null&&n.get(m.id)===i);return d.length>0?d:jfe(s,i,a)})();if(o.length===0)return qg(t,n);const l=e.find(d=>d.id===i),c={start:(l==null?void 0:l.start)??a.start,sourceFile:(l==null?void 0:l.compositionSrc)??a.compositionSrc??void 0},u=a.key??a.id,f=Lfe(o,{start:a.start,end:a.start+a.duration,track:a.track},c);return f.length===0?qg(t,n):t.filter(d=>(d.key??d.id)===u||!n.has(d.domId??d.id)).flatMap(d=>(d.key??d.id)===u?f:[d])}function RX(){const t=pe(c=>c.elements),e=pe(c=>c.clipManifest),n=pe(c=>c.clipParentMap),r=pe(c=>c.domClipChildren),i=pe(c=>c.selectedElementId),s=pe(c=>c.isPlaying),a=pe(c=>c.currentTime),{rawId:o,selectedRawId:l}=b.useMemo(()=>!e||e.length===0||n.size===0?{rawId:null,selectedRawId:null}:{rawId:Ife({selectedElementId:i,isPlaying:s,currentTime:a,manifest:e,parentMap:n}),selectedRawId:IX(i,e,n)},[e,n,i,s,a]);return b.useMemo(()=>{if(!e||e.length===0||n.size===0)return t;if(!o)return qg(t,n);const c=l?n.get(o):o;if(!c)return qg(t,n);const u=Pfe(o,n)??c;return Ffe(t,e,n,u,c,r)},[t,e,n,r,o,l])}function sn(t){return Math.round(t*1e3)/1e3}function Ja(t){return Math.round(t*100)/100}const Rp=Ja;function Zy(t,e,n){return Math.min(Math.max(t,e),n)}const PR=.55,Xb=40,MR=12;function DR(t,e,n){const r=(i,s,a)=>{if(a<i+Xb){const o=Math.max(0,1-(a-i)/Xb);return-Math.round(MR*o)}if(a>s-Xb){const o=Math.max(0,1-(s-a)/Xb);return Math.round(MR*o)}return 0};return{x:r(t.left,t.right,e),y:r(t.top,t.bottom,n)}}function $fe(t,e,n){const r=(t.currentScrollLeft??0)-(t.originScrollLeft??0),i=(t.currentScrollTop??0)-(t.originScrollTop??0),s=(e-t.originClientX+r)/Math.max(t.pixelsPerSecond,1),a=(n-t.originClientY+i)/Math.max(t.trackHeight,1),o=Math.round(a),l=Math.max(0,t.trackOrder.indexOf(t.track)),c=l+o,u=Zy(c,0,Math.max(0,t.trackOrder.length-1)),f=Math.min(...t.trackOrder),d=Math.max(...t.trackOrder);let m=t.trackOrder[u]??t.track;const x=l===0,g=l===t.trackOrder.length-1;return x&&c<0&&l+a<=-PR?m=f-1:g&&c>t.trackOrder.length-1&&l+a>=t.trackOrder.length-1+PR&&(m=d+1),{start:Zy(Rp(t.start+s),0,Math.max(0,t.maxStart)),track:m}}function Bfe(t,e,n){const r=Math.max(.05,t.minDuration??.1),i=(n-t.originClientX)/Math.max(t.pixelsPerSecond,1);if(e==="end"){const m=Zy(Rp(t.duration+i),r,Math.max(r,t.maxEnd-t.start));return{start:t.start,duration:m,playbackStart:t.playbackStart}}const s=Math.max(.1,t.playbackRate??1),a=t.playbackStart!=null?t.playbackStart/s:Number.POSITIVE_INFINITY,o=-Math.min(t.start-t.minStart,a),l=t.duration-r,c=Zy(i,o,l),u=Rp(t.start+c),f=Rp(t.duration-c),d=t.playbackStart!=null?Rp(Math.max(0,t.playbackStart+c*s)):void 0;return{start:u,duration:f,playbackStart:d}}function Vfe(t){if(t.compositionSrc||t.playbackStartAttr!=null||t.sourceDuration!=null&&Number.isFinite(t.sourceDuration)&&t.sourceDuration>0)return!0;const e=t.tag.toLowerCase();return["video","audio","img"].includes(e)}function Qfe(t){return!!(t.domId||t.selector)}function NR(t){if(t.timingSource==="implicit"||t.timelineLocked)return{canMove:!1,canTrimStart:!1,canTrimEnd:!1};const e=Qfe(t),n=Number.isFinite(t.duration)&&t.duration>0,r=Vfe(t);return{canMove:e&&(r||n),canTrimEnd:e&&n,canTrimStart:e&&n}}function Hfe(t){if(t.capabilities.canMove)return null;const e=Math.max(0,t.width),n=Zy(t.offsetX,0,e),r=Math.max(0,t.handleWidth);return n<=r&&!t.capabilities.canTrimStart?"resize-start":n>=Math.max(0,e-r)&&!t.capabilities.canTrimEnd?"resize-end":"move"}function Zfe(t,e){return{start:t.start,end:t.start+t.duration,anchorX:e.anchorX,anchorY:e.anchorY}}function zfe({rangeStart:t,rangeEnd:e,elements:n,prompt:r}){const i=Math.min(t,e),s=Math.max(t,e),a=n.map(o=>`- #${o.id} (${o.tag}) — ${Fi(o.start)} to ${Fi(o.start+o.duration)}, track ${o.track}`).join(`
|
|
72
72
|
`);return`Edit the following HyperFrames composition:
|
|
73
73
|
|
|
@@ -87,7 +87,7 @@ Preserve all other elements and timing outside this range.`}function _R(t){retur
|
|
|
87
87
|
`).map((c,u)=>u===0?c:a+c).join(`
|
|
88
88
|
`);return`${t.slice(0,r)}
|
|
89
89
|
${a}${o}${t.slice(r)}`}function Tde({scrollRef:t,ppsRef:e,durationRef:n,trackOrderRef:r,onFileDrop:i,onAssetDrop:s,onBlockDrop:a}){const[o,l]=b.useState(!1),c=b.useCallback(f=>{const d=f.dataTransfer.files.length>0,m=Array.from(f.dataTransfer.types),x=m.includes(xS),g=m.includes(Kg);!d&&!x&&!g||(f.preventDefault(),(x||g)&&(f.dataTransfer.dropEffect="copy"),l(!0))},[]),u=b.useCallback(f=>{f.preventDefault(),l(!1);const d=t.current,m=d==null?void 0:d.getBoundingClientRect(),x={rectLeft:(m==null?void 0:m.left)??0,rectTop:(m==null?void 0:m.top)??0,scrollLeft:(d==null?void 0:d.scrollLeft)??0,scrollTop:(d==null?void 0:d.scrollTop)??0,pixelsPerSecond:e.current,duration:n.current,trackHeight:qp,trackOrder:r.current};if(i&&f.dataTransfer.files.length>0){i(Array.from(f.dataTransfer.files),d&&m?W6(x,f.clientX,f.clientY):void 0);return}const g=f.dataTransfer.getData(xS);if(g&&s&&d&&m){try{const A=JSON.parse(g);A.path&&s(A.path,W6(x,f.clientX,f.clientY))}catch{}return}const v=f.dataTransfer.getData(Kg);if(v&&a&&d&&m)try{const A=JSON.parse(v);A.name&&a(A.name,W6(x,f.clientX,f.clientY))}catch{}},[s,a,i,t,e,n,r]);return{isDragOver:o,setIsDragOver:l,handleAssetDragOver:c,handleAssetDrop:u}}function Pde({isDragOver:t,onFileDrop:e,onDragOver:n,onDragLeave:r,onDrop:i}){return S.jsxs("div",{className:`h-full border-t bg-[#0a0a0b] flex flex-col select-none transition-colors duration-150 ${t?"border-studio-accent/50 bg-studio-accent/[0.03]":"border-neutral-800/50"}`,onDragOver:n,onDragLeave:r,onDrop:i,children:[S.jsx("div",{className:"flex-shrink-0 border-b border-neutral-800/40 flex items-end relative",style:{height:Zf,paddingLeft:ui},children:[0,10,20,30,40,50].map(s=>S.jsxs("div",{className:"flex flex-col items-center",style:{position:"absolute",left:ui+s*14},children:[S.jsx("span",{className:"text-[9px] text-neutral-600 font-mono tabular-nums leading-none mb-0.5",children:`${Math.floor(s/60)}:${(s%60).toString().padStart(2,"0")}`}),S.jsx("div",{className:"w-px h-[5px] bg-neutral-700/40"})]},s))}),S.jsx("div",{className:"flex-1 flex items-center justify-center",children:S.jsx("div",{className:`flex items-center gap-3 px-6 py-3 border border-dashed rounded-lg transition-colors duration-150 ${t?"border-studio-accent/60 bg-studio-accent/[0.06]":"border-neutral-700/50"}`,children:t?S.jsxs(S.Fragment,{children:[S.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-studio-accent flex-shrink-0",children:[S.jsx("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),S.jsx("polyline",{points:"7 10 12 15 17 10"}),S.jsx("line",{x1:"12",y1:"15",x2:"12",y2:"3"})]}),S.jsx("span",{className:"text-[13px] text-studio-accent",children:"Drop media files to import"})]}):S.jsxs(S.Fragment,{children:[S.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-neutral-600 flex-shrink-0",children:[S.jsx("rect",{x:"2",y:"2",width:"20",height:"20",rx:"2"}),S.jsx("path",{d:"M7 2v20"}),S.jsx("path",{d:"M17 2v20"}),S.jsx("path",{d:"M2 7h20"}),S.jsx("path",{d:"M2 17h20"})]}),S.jsx("span",{className:"text-[13px] text-neutral-500",children:e?"Drop media here or describe your video to start":"Describe your video to start creating"})]})})})]})}const Mde=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M244,56v48a12,12,0,0,1-12,12H184a12,12,0,1,1,0-24H201.1l-19-17.38c-.13-.12-.26-.24-.38-.37A76,76,0,1,0,127,204h1a75.53,75.53,0,0,0,52.15-20.72,12,12,0,0,1,16.49,17.45A99.45,99.45,0,0,1,128,228h-1.37A100,100,0,1,1,198.51,57.06L220,76.72V56a12,12,0,0,1,24,0Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"}),b.createElement("path",{d:"M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1-5.66-13.66l17-17-10.55-9.65-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,1,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60l10.93,10L226.34,50.3A8,8,0,0,1,240,56Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M238,56v48a6,6,0,0,1-6,6H184a6,6,0,0,1,0-12h32.55l-30.38-27.8c-.06-.06-.12-.13-.19-.19a82,82,0,1,0-1.7,117.65,6,6,0,0,1,8.24,8.73A93.46,93.46,0,0,1,128,222h-1.28A94,94,0,1,1,194.37,61.4L226,90.35V56a6,6,0,1,1,12,0Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M236,56v48a4,4,0,0,1-4,4H184a4,4,0,0,1,0-8h37.7L187.53,68.69l-.13-.12a84,84,0,1,0-1.75,120.51,4,4,0,0,1,5.5,5.82A91.43,91.43,0,0,1,128,220h-1.26A92,92,0,1,1,193,62.84l35,32.05V56a4,4,0,1,1,8,0Z"}))]]),Dde=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M228,128a100,100,0,0,1-98.66,100H128a99.39,99.39,0,0,1-68.62-27.29,12,12,0,0,1,16.48-17.45,76,76,0,1,0-1.57-109c-.13.13-.25.25-.39.37L54.89,92H72a12,12,0,0,1,0,24H24a12,12,0,0,1-12-12V56a12,12,0,0,1,24,0V76.72L57.48,57.06A100,100,0,0,1,228,128Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"}),b.createElement("path",{d:"M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L44.59,96H72a8,8,0,0,1,0,16H24a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0V85.8L60.25,60A96,96,0,0,1,224,128Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L60.63,81.29l17,17A8,8,0,0,1,72,112H24a8,8,0,0,1-8-8V56A8,8,0,0,1,29.66,50.3L49.31,70,60.25,60A96,96,0,0,1,224,128Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M222,128a94,94,0,0,1-92.74,94H128a93.43,93.43,0,0,1-64.5-25.65,6,6,0,1,1,8.24-8.72A82,82,0,1,0,70,70l-.19.19L39.44,98H72a6,6,0,0,1,0,12H24a6,6,0,0,1-6-6V56a6,6,0,0,1,12,0V90.34L61.63,61.4A94,94,0,0,1,222,128Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L44.59,96H72a8,8,0,0,1,0,16H24a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0V85.8L60.25,60A96,96,0,0,1,224,128Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M220,128a92,92,0,0,1-90.77,92H128a91.47,91.47,0,0,1-63.13-25.1,4,4,0,1,1,5.5-5.82A84,84,0,1,0,68.6,68.57l-.13.12L34.3,100H72a4,4,0,0,1,0,8H24a4,4,0,0,1-4-4V56a4,4,0,0,1,8,0V94.89l35-32A92,92,0,0,1,220,128Z"}))]]),Nde=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H69l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L69,116H216A12,12,0,0,1,228,128Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M112,56V200L40,128Z",opacity:"0.2"}),b.createElement("path",{d:"M216,120H120V56a8,8,0,0,0-13.66-5.66l-72,72a8,8,0,0,0,0,11.32l72,72A8,8,0,0,0,120,200V136h96a8,8,0,0,0,0-16ZM104,180.69,51.31,128,104,75.31Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H120v64a8,8,0,0,1-13.66,5.66l-72-72a8,8,0,0,1,0-11.32l72-72A8,8,0,0,1,120,56v64h96A8,8,0,0,1,224,128Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H54.49l61.75,61.76a6,6,0,1,1-8.48,8.48l-72-72a6,6,0,0,1,0-8.48l72-72a6,6,0,0,1,8.48,8.48L54.49,122H216A6,6,0,0,1,222,128Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H49.66l65.17,65.17a4,4,0,0,1-5.66,5.66l-72-72a4,4,0,0,1,0-5.66l72-72a4,4,0,0,1,5.66,5.66L49.66,124H216A4,4,0,0,1,220,128Z"}))]]),_de=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M87.51,64.49a12,12,0,0,1,0-17l32-32a12,12,0,0,1,17,0l32,32a12,12,0,0,1-17,17L140,53V96a12,12,0,0,1-24,0V53L104.49,64.49A12,12,0,0,1,87.51,64.49Zm64,127L140,203V160a12,12,0,0,0-24,0v43l-11.51-11.52a12,12,0,0,0-17,17l32,32a12,12,0,0,0,17,0l32-32a12,12,0,0,0-17-17Zm89-72-32-32a12,12,0,0,0-17,17L203,116H160a12,12,0,0,0,0,24h43l-11.52,11.51a12,12,0,0,0,17,17l32-32A12,12,0,0,0,240.49,119.51ZM53,140H96a12,12,0,0,0,0-24H53l11.52-11.51a12,12,0,1,0-17-17l-32,32a12,12,0,0,0,0,17l32,32a12,12,0,1,0,17-17Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M232,128,128,232,24,128,128,24Z",opacity:"0.2"}),b.createElement("path",{d:"M90.34,61.66a8,8,0,0,1,0-11.32l32-32a8,8,0,0,1,11.32,0l32,32a8,8,0,0,1-11.32,11.32L136,43.31V96a8,8,0,0,1-16,0V43.31L101.66,61.66A8,8,0,0,1,90.34,61.66Zm64,132.68L136,212.69V160a8,8,0,0,0-16,0v52.69l-18.34-18.35a8,8,0,0,0-11.32,11.32l32,32a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Zm83.32-72-32-32a8,8,0,0,0-11.32,11.32L212.69,120H160a8,8,0,0,0,0,16h52.69l-18.35,18.34a8,8,0,0,0,11.32,11.32l32-32A8,8,0,0,0,237.66,122.34ZM43.31,136H96a8,8,0,0,0,0-16H43.31l18.35-18.34A8,8,0,0,0,50.34,90.34l-32,32a8,8,0,0,0,0,11.32l32,32a8,8,0,0,0,11.32-11.32Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M96,136H64v24a8,8,0,0,1-13.66,5.66l-32-32a8,8,0,0,1,0-11.32l32-32A8,8,0,0,1,64,96v24H96a8,8,0,0,1,0,16Zm0-72h24V96a8,8,0,0,0,16,0V64h24a8,8,0,0,0,5.66-13.66l-32-32a8,8,0,0,0-11.32,0l-32,32A8,8,0,0,0,96,64Zm141.66,58.34-32-32A8,8,0,0,0,192,96v24H160a8,8,0,0,0,0,16h32v24a8,8,0,0,0,13.66,5.66l32-32A8,8,0,0,0,237.66,122.34ZM160,192H136V160a8,8,0,0,0-16,0v32H96a8,8,0,0,0-5.66,13.66l32,32a8,8,0,0,0,11.32,0l32-32A8,8,0,0,0,160,192Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M91.76,60.24a6,6,0,0,1,0-8.48l32-32a6,6,0,0,1,8.48,0l32,32a6,6,0,1,1-8.48,8.48L134,38.49V96a6,6,0,0,1-12,0V38.49L100.24,60.24A6,6,0,0,1,91.76,60.24Zm64,135.52L134,217.51V160a6,6,0,0,0-12,0v57.51l-21.76-21.75a6,6,0,0,0-8.48,8.48l32,32a6,6,0,0,0,8.48,0l32-32a6,6,0,0,0-8.48-8.48Zm80.48-72-32-32a6,6,0,0,0-8.48,8.48L217.51,122H160a6,6,0,0,0,0,12h57.51l-21.75,21.76a6,6,0,1,0,8.48,8.48l32-32A6,6,0,0,0,236.24,123.76ZM38.49,134H96a6,6,0,0,0,0-12H38.49l21.75-21.76a6,6,0,0,0-8.48-8.48l-32,32a6,6,0,0,0,0,8.48l32,32a6,6,0,0,0,8.48-8.48Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M90.34,61.66a8,8,0,0,1,0-11.32l32-32a8,8,0,0,1,11.32,0l32,32a8,8,0,0,1-11.32,11.32L136,43.31V96a8,8,0,0,1-16,0V43.31L101.66,61.66A8,8,0,0,1,90.34,61.66Zm64,132.68L136,212.69V160a8,8,0,0,0-16,0v52.69l-18.34-18.35a8,8,0,0,0-11.32,11.32l32,32a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Zm83.32-72-32-32a8,8,0,0,0-11.32,11.32L212.69,120H160a8,8,0,0,0,0,16h52.69l-18.35,18.34a8,8,0,0,0,11.32,11.32l32-32A8,8,0,0,0,237.66,122.34ZM43.31,136H96a8,8,0,0,0,0-16H43.31l18.35-18.34A8,8,0,0,0,50.34,90.34l-32,32a8,8,0,0,0,0,11.32l32,32a8,8,0,0,0,11.32-11.32Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M93.17,58.83a4,4,0,0,1,0-5.66l32-32a4,4,0,0,1,5.66,0l32,32a4,4,0,0,1-5.66,5.66L132,33.66V96a4,4,0,0,1-8,0V33.66L98.83,58.83A4,4,0,0,1,93.17,58.83Zm64,138.34L132,222.34V160a4,4,0,0,0-8,0v62.34L98.83,197.17a4,4,0,0,0-5.66,5.66l32,32a4,4,0,0,0,5.66,0l32-32a4,4,0,0,0-5.66-5.66Zm77.66-72-32-32a4,4,0,0,0-5.66,5.66L222.34,124H160a4,4,0,0,0,0,8h62.34l-25.17,25.17a4,4,0,0,0,5.66,5.66l32-32A4,4,0,0,0,234.83,125.17ZM33.66,132H96a4,4,0,0,0,0-8H33.66L58.83,98.83a4,4,0,0,0-5.66-5.66l-32,32a4,4,0,0,0,0,5.66l32,32a4,4,0,1,0,5.66-5.66Z"}))]]),Ide=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,52H182.42L170,33.34A12,12,0,0,0,160,28H96a12,12,0,0,0-10,5.34L73.57,52H48A28,28,0,0,0,20,80V192a28,28,0,0,0,28,28H208a28,28,0,0,0,28-28V80A28,28,0,0,0,208,52Zm4,140a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4H80a12,12,0,0,0,10-5.34L102.42,52h51.15L166,70.66A12,12,0,0,0,176,76h32a4,4,0,0,1,4,4ZM128,84a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,84Zm0,72a24,24,0,1,1,24-24A24,24,0,0,1,128,156Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,64H176L160,40H96L80,64H48A16,16,0,0,0,32,80V192a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V80A16,16,0,0,0,208,64ZM128,168a36,36,0,1,1,36-36A36,36,0,0,1,128,168Z",opacity:"0.2"}),b.createElement("path",{d:"M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H80a8,8,0,0,0,6.66-3.56L100.28,48h55.43l13.63,20.44A8,8,0,0,0,176,72h32a8,8,0,0,1,8,8ZM128,88a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,88Zm0,72a28,28,0,1,1,28-28A28,28,0,0,1,128,160Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56Zm-44,76a36,36,0,1,1-36-36A36,36,0,0,1,164,132Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,58H179.21L165,36.67A6,6,0,0,0,160,34H96a6,6,0,0,0-5,2.67L76.78,58H48A22,22,0,0,0,26,80V192a22,22,0,0,0,22,22H208a22,22,0,0,0,22-22V80A22,22,0,0,0,208,58Zm10,134a10,10,0,0,1-10,10H48a10,10,0,0,1-10-10V80A10,10,0,0,1,48,70H80a6,6,0,0,0,5-2.67L99.21,46h57.57L171,67.33A6,6,0,0,0,176,70h32a10,10,0,0,1,10,10ZM128,90a42,42,0,1,0,42,42A42,42,0,0,0,128,90Zm0,72a30,30,0,1,1,30-30A30,30,0,0,1,128,162Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H80a8,8,0,0,0,6.66-3.56L100.28,48h55.43l13.63,20.44A8,8,0,0,0,176,72h32a8,8,0,0,1,8,8ZM128,88a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,88Zm0,72a28,28,0,1,1,28-28A28,28,0,0,1,128,160Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,60H178.13L163.32,37.78A4,4,0,0,0,160,36H96a4,4,0,0,0-3.32,1.78L77.85,60H48A20,20,0,0,0,28,80V192a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V80A20,20,0,0,0,208,60Zm12,132a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V80A12,12,0,0,1,48,68H80a4,4,0,0,0,3.33-1.78L98.13,44h59.72l14.82,22.22A4,4,0,0,0,176,68h32a12,12,0,0,1,12,12ZM128,92a40,40,0,1,0,40,40A40,40,0,0,0,128,92Zm0,72a32,32,0,1,1,32-32A32,32,0,0,1,128,164Z"}))]]),Rde=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),b.createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),Lde=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"}),b.createElement("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"}))]]),jde=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),b.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),Fde=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M172,164a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,164Zm-12-52H96a12,12,0,0,0,0,24h64a12,12,0,0,0,0-24Zm60-64V216a20,20,0,0,1-20,20H56a20,20,0,0,1-20-20V48A20,20,0,0,1,56,28H90.53a51.88,51.88,0,0,1,74.94,0H200A20,20,0,0,1,220,48ZM100.29,60h55.42a28,28,0,0,0-55.42,0ZM196,52H178.59A52.13,52.13,0,0,1,180,64v8a12,12,0,0,1-12,12H88A12,12,0,0,1,76,72V64a52.13,52.13,0,0,1,1.41-12H60V212H196Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,48V216a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H96a39.83,39.83,0,0,0-8,24v8h80V64a39.83,39.83,0,0,0-8-24h40A8,8,0,0,1,208,48Z",opacity:"0.2"}),b.createElement("path",{d:"M168,152a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,152Zm-8-40H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16Zm56-64V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V48A16,16,0,0,1,56,32H92.26a47.92,47.92,0,0,1,71.48,0H200A16,16,0,0,1,216,48ZM96,64h64a32,32,0,0,0-64,0ZM200,48H173.25A47.93,47.93,0,0,1,176,64v8a8,8,0,0,1-8,8H88a8,8,0,0,1-8-8V64a47.93,47.93,0,0,1,2.75-16H56V216H200Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,32H163.74a47.92,47.92,0,0,0-71.48,0H56A16,16,0,0,0,40,48V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V48A16,16,0,0,0,200,32Zm-72,0a32,32,0,0,1,32,32H96A32,32,0,0,1,128,32Zm32,128H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M166,152a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,152Zm-6-38H96a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12Zm54-66V216a14,14,0,0,1-14,14H56a14,14,0,0,1-14-14V48A14,14,0,0,1,56,34H93.17a45.91,45.91,0,0,1,69.66,0H200A14,14,0,0,1,214,48ZM94,64v2h68V64a34,34,0,0,0-68,0ZM202,48a2,2,0,0,0-2-2H170.33A45.77,45.77,0,0,1,174,64v8a6,6,0,0,1-6,6H88a6,6,0,0,1-6-6V64a45.77,45.77,0,0,1,3.67-18H56a2,2,0,0,0-2,2V216a2,2,0,0,0,2,2H200a2,2,0,0,0,2-2Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M168,152a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,152Zm-8-40H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16Zm56-64V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V48A16,16,0,0,1,56,32H92.26a47.92,47.92,0,0,1,71.48,0H200A16,16,0,0,1,216,48ZM96,64h64a32,32,0,0,0-64,0ZM200,48H173.25A47.93,47.93,0,0,1,176,64v8a8,8,0,0,1-8,8H88a8,8,0,0,1-8-8V64a47.93,47.93,0,0,1,2.75-16H56V216H200Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M164,152a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,152Zm-4-36H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8Zm52-68V216a12,12,0,0,1-12,12H56a12,12,0,0,1-12-12V48A12,12,0,0,1,56,36H94.08a44,44,0,0,1,67.84,0H200A12,12,0,0,1,212,48ZM92,64v4h72V64a36,36,0,0,0-72,0ZM204,48a4,4,0,0,0-4-4H167.17A43.71,43.71,0,0,1,172,64v8a4,4,0,0,1-4,4H88a4,4,0,0,1-4-4V64a43.71,43.71,0,0,1,4.83-20H56a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H200a4,4,0,0,0,4-4Z"}))]]),$de=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm68-84a12,12,0,0,1-12,12H128a12,12,0,0,1-12-12V72a12,12,0,0,1,24,0v44h44A12,12,0,0,1,196,128Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),b.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm56,112H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm62-90a6,6,0,0,1-6,6H128a6,6,0,0,1-6-6V72a6,6,0,0,1,12,0v50h50A6,6,0,0,1,190,128Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm60-92a4,4,0,0,1-4,4H128a4,4,0,0,1-4-4V72a4,4,0,0,1,8,0v52h52A4,4,0,0,1,188,128Z"}))]]),Bde=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,28H88A12,12,0,0,0,76,40V76H40A12,12,0,0,0,28,88V216a12,12,0,0,0,12,12H168a12,12,0,0,0,12-12V180h36a12,12,0,0,0,12-12V40A12,12,0,0,0,216,28ZM156,204H52V100H156Zm48-48H180V88a12,12,0,0,0-12-12H100V52H204Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,40V168H168V88H88V40Z",opacity:"0.2"}),b.createElement("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Zm-8,128H176V88a8,8,0,0,0-8-8H96V48H208Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,34H88a6,6,0,0,0-6,6V82H40a6,6,0,0,0-6,6V216a6,6,0,0,0,6,6H168a6,6,0,0,0,6-6V174h42a6,6,0,0,0,6-6V40A6,6,0,0,0,216,34ZM162,210H46V94H162Zm48-48H174V88a6,6,0,0,0-6-6H94V46H210Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,36H88a4,4,0,0,0-4,4V84H40a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H168a4,4,0,0,0,4-4V172h44a4,4,0,0,0,4-4V40A4,4,0,0,0,216,36ZM164,212H44V92H164Zm48-48H172V88a4,4,0,0,0-4-4H92V44H212Z"}))]]),Vde=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M244,192a12,12,0,0,1-12,12H204v28a12,12,0,0,1-24,0V204H64a12,12,0,0,1-12-12V76H24a12,12,0,0,1,0-24H52V24a12,12,0,0,1,24,0V180H232A12,12,0,0,1,244,192ZM104,76h76v76a12,12,0,0,0,24,0V64a12,12,0,0,0-12-12H104a12,12,0,0,0,0,24Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M192,64V192H64V64Z",opacity:"0.2"}),b.createElement("path",{d:"M240,192a8,8,0,0,1-8,8H200v32a8,8,0,0,1-16,0V200H64a8,8,0,0,1-8-8V72H24a8,8,0,0,1,0-16H56V24a8,8,0,0,1,16,0V184H232A8,8,0,0,1,240,192ZM96,72h88v88a8,8,0,0,0,16,0V64a8,8,0,0,0-8-8H96a8,8,0,0,0,0,16Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM120,80h48a8,8,0,0,1,8,8v48a8,8,0,0,1-16,0V96H120a8,8,0,0,1,0-16Zm72,96H176v16a8,8,0,0,1-16,0V176H88a8,8,0,0,1-8-8V96H64a8,8,0,0,1,0-16H80V64a8,8,0,0,1,16,0v96h96a8,8,0,0,1,0,16Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M238,192a6,6,0,0,1-6,6H198v34a6,6,0,0,1-12,0V198H64a6,6,0,0,1-6-6V70H24a6,6,0,0,1,0-12H58V24a6,6,0,0,1,12,0V186H232A6,6,0,0,1,238,192ZM96,70h90v90a6,6,0,0,0,12,0V64a6,6,0,0,0-6-6H96a6,6,0,0,0,0,12Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M240,192a8,8,0,0,1-8,8H200v32a8,8,0,0,1-16,0V200H64a8,8,0,0,1-8-8V72H24a8,8,0,0,1,0-16H56V24a8,8,0,0,1,16,0V184H232A8,8,0,0,1,240,192ZM96,72h88v88a8,8,0,0,0,16,0V64a8,8,0,0,0-8-8H96a8,8,0,0,0,0,16Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M236,192a4,4,0,0,1-4,4H196v36a4,4,0,0,1-8,0V196H64a4,4,0,0,1-4-4V68H24a4,4,0,0,1,0-8H60V24a4,4,0,0,1,8,0V188H232A4,4,0,0,1,236,192ZM96,68h92v92a4,4,0,0,0,8,0V64a4,4,0,0,0-4-4H96a4,4,0,0,0,0,8Z"}))]]),Qde=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),b.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"}))]]),Hde=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),b.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z"}))]]),Zde=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Z"}))]]),zde=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M180.49,143.51a12,12,0,0,1,0,17l-24,24a12,12,0,0,1-17-17L155,152l-15.52-15.51a12,12,0,1,1,17-17Zm-64-24a12,12,0,0,0-17,0l-24,24a12,12,0,0,0,0,17l24,24a12,12,0,0,0,17-17L101,152l15.52-15.51A12,12,0,0,0,116.49,119.51ZM220,88V216a20,20,0,0,1-20,20H56a20,20,0,0,1-20-20V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.52l56,56A12,12,0,0,1,220,88ZM160,57V80h23Zm36,155V104H148a12,12,0,0,1-12-12V44H60V212Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),b.createElement("path",{d:"M181.66,146.34a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32Zm-72-24a8,8,0,0,0-11.32,0l-24,24a8,8,0,0,0,0,11.32l24,24a8,8,0,0,0,11.32-11.32L91.31,152l18.35-18.34A8,8,0,0,0,109.66,122.34ZM216,88V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31Zm40,136V96H152a8,8,0,0,1-8-8V40H56V216H200Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34Zm-104,88a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L91.31,152Zm72-12.68-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32l24,24A8,8,0,0,1,181.66,157.66ZM152,88V44l44,44Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M180.24,147.76a6,6,0,0,1,0,8.48l-24,24a6,6,0,0,1-8.48-8.48L167.51,152l-19.75-19.76a6,6,0,1,1,8.48-8.48Zm-72-24a6,6,0,0,0-8.48,0l-24,24a6,6,0,0,0,0,8.48l24,24a6,6,0,1,0,8.48-8.48L88.49,152l19.75-19.76A6,6,0,0,0,108.24,123.76ZM214,88V216a14,14,0,0,1-14,14H56a14,14,0,0,1-14-14V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.25,1.76l56,56A6,6,0,0,1,214,88Zm-56-6h35.52L158,46.48Zm44,134V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2V216a2,2,0,0,0,2,2H200A2,2,0,0,0,202,216Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M181.66,146.34a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32Zm-72-24a8,8,0,0,0-11.32,0l-24,24a8,8,0,0,0,0,11.32l24,24a8,8,0,0,0,11.32-11.32L91.31,152l18.35-18.34A8,8,0,0,0,109.66,122.34ZM216,88V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31Zm40,136V96H152a8,8,0,0,1-8-8V40H56V216H200Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M178.83,149.17a4,4,0,0,1,0,5.66l-24,24a4,4,0,0,1-5.66-5.66L170.34,152l-21.17-21.17a4,4,0,1,1,5.66-5.66Zm-72-24a4,4,0,0,0-5.66,0l-24,24a4,4,0,0,0,0,5.66l24,24a4,4,0,1,0,5.66-5.66L85.66,152l21.17-21.17A4,4,0,0,0,106.83,125.17ZM212,88V216a12,12,0,0,1-12,12H56a12,12,0,0,1-12-12V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88Zm-56-4h42.34L156,41.65Zm48,132V92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H200A4,4,0,0,0,204,216Z"}))]]),Xde=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M48,180c0,8.67,5.5,16,12,16a10.27,10.27,0,0,0,7.33-3.43,12,12,0,1,1,17.34,16.6A34,34,0,0,1,60,220C40.15,220,24,202,24,180s16.15-40,36-40a34,34,0,0,1,24.67,10.83,12,12,0,1,1-17.34,16.6A10.27,10.27,0,0,0,60,164C53.5,164,48,171.31,48,180Zm97.51-5.71c-5.12-3.45-11.32-5.24-16.8-6.82a79.5,79.5,0,0,1-7.91-2.59c2.45-1.18,9.71-1.3,16.07.33A12,12,0,0,0,143,142a69,69,0,0,0-12-1.86c-9.93-.66-18,1.08-24.1,5.17a24.45,24.45,0,0,0-10.69,17.76c-1.1,8.74,2.49,16.27,10.11,21.19,4.78,3.09,10.36,4.7,15.75,6.26,3,.89,7.94,2.3,9.88,3.53a2.48,2.48,0,0,1-.21.71c-1.37,1.55-9.58,1.79-16.39-.06a12,12,0,1,0-6.46,23.11A63.75,63.75,0,0,0,125.1,220c6.46,0,13.73-1.17,19.73-5.15a24.73,24.73,0,0,0,10.95-18C157,187.53,153.33,179.53,145.51,174.27Zm68,0c-5.12-3.45-11.32-5.24-16.8-6.82a79.5,79.5,0,0,1-7.91-2.59c2.45-1.18,9.71-1.3,16.07.33A12,12,0,0,0,211,142a69,69,0,0,0-12-1.86c-9.93-.66-18,1.08-24.1,5.17a24.45,24.45,0,0,0-10.69,17.76c-1.1,8.74,2.49,16.27,10.11,21.19,4.78,3.09,10.36,4.7,15.75,6.26,3,.89,7.94,2.3,9.88,3.53a2.48,2.48,0,0,1-.21.71c-1.37,1.55-9.58,1.79-16.39-.06a12,12,0,1,0-6.46,23.11A63.75,63.75,0,0,0,193.1,220c6.46,0,13.73-1.17,19.73-5.15a24.73,24.73,0,0,0,10.95-18C225,187.53,221.33,179.53,213.51,174.27ZM36,108V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.51l56,56A12,12,0,0,1,220,88v20a12,12,0,1,1-24,0v-4H148a12,12,0,0,1-12-12V44H60v64a12,12,0,1,1-24,0ZM160,80h23L160,57Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),b.createElement("path",{d:"M48,180c0,11,7.18,20,16,20a14.2,14.2,0,0,0,10.22-4.66A8,8,0,1,1,85.77,206.4,30,30,0,0,1,64,216c-17.65,0-32-16.15-32-36s14.35-36,32-36a30,30,0,0,1,21.77,9.6,8,8,0,1,1-11.55,11.06A14.24,14.24,0,0,0,64,160C55.18,160,48,169,48,180Zm79.6-8.69c-4-1.16-8.14-2.35-10.45-3.84-1.26-.81-1.23-1-1.12-1.9a4.54,4.54,0,0,1,2-3.67c4.6-3.12,15.35-1.73,19.83-.56a8,8,0,0,0,4.07-15.48c-2.12-.55-21-5.22-32.83,2.76a20.55,20.55,0,0,0-9,14.95c-2,15.88,13.64,20.41,23,23.11,12.07,3.49,13.13,4.92,12.78,7.59-.31,2.41-1.26,3.34-2.14,3.93-4.6,3.06-15.17,1.56-19.55.36a8,8,0,0,0-4.3,15.41,61.23,61.23,0,0,0,15.18,2c5.83,0,12.3-1,17.49-4.46a20.82,20.82,0,0,0,9.19-15.23C154,179,137.48,174.17,127.6,171.31Zm64,0c-4-1.16-8.14-2.35-10.45-3.84-1.25-.81-1.23-1-1.12-1.9a4.54,4.54,0,0,1,2-3.67c4.6-3.12,15.34-1.73,19.82-.56a8,8,0,0,0,4.07-15.48c-2.11-.55-21-5.22-32.83,2.76a20.58,20.58,0,0,0-8.95,14.95c-2,15.88,13.65,20.41,23,23.11,12.06,3.49,13.12,4.92,12.78,7.59-.31,2.41-1.26,3.34-2.15,3.93-4.6,3.06-15.16,1.56-19.54.36A8,8,0,0,0,173.93,214a61.34,61.34,0,0,0,15.19,2c5.82,0,12.3-1,17.49-4.46a20.81,20.81,0,0,0,9.18-15.23C218,179,201.48,174.17,191.59,171.31ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,1,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.68L160,51.31Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M48,180c0,11,7.18,20,16,20a14.18,14.18,0,0,0,10.06-4.5,8.2,8.2,0,0,1,10.9-.91,8,8,0,0,1,.81,11.81A30,30,0,0,1,64,216c-17.65,0-32-16.15-32-36s14.35-36,32-36a30,30,0,0,1,21.38,9.19,8.26,8.26,0,0,1,.74,11.09,8,8,0,0,1-11.9.38A14.2,14.2,0,0,0,64,160C55.18,160,48,169,48,180Zm79.6-8.69c-4-1.16-8.14-2.35-10.45-3.84-1.26-.81-1.23-1-1.12-1.9a4.54,4.54,0,0,1,2-3.67c4.6-3.12,15.35-1.73,19.83-.56a8,8,0,0,0,4.07-15.48c-2.12-.55-21-5.22-32.83,2.76a20.55,20.55,0,0,0-9,14.95c-2,15.88,13.64,20.41,23,23.11,12.07,3.49,13.13,4.92,12.78,7.59-.31,2.41-1.26,3.34-2.14,3.93-4.6,3.06-15.17,1.56-19.55.36a8,8,0,0,0-4.3,15.41,61.23,61.23,0,0,0,15.18,2c5.83,0,12.3-1,17.49-4.46a20.82,20.82,0,0,0,9.19-15.23C154,179,137.48,174.17,127.6,171.31Zm64,0c-4-1.16-8.14-2.35-10.45-3.84-1.25-.81-1.23-1-1.12-1.9a4.54,4.54,0,0,1,2-3.67c4.6-3.12,15.34-1.73,19.82-.56a8,8,0,0,0,4.07-15.48c-2.11-.55-21-5.22-32.83,2.76a20.58,20.58,0,0,0-8.95,14.95c-2,15.88,13.65,20.41,23,23.11,12.06,3.49,13.12,4.92,12.78,7.59-.31,2.41-1.26,3.34-2.15,3.93-4.6,3.06-15.16,1.56-19.54.36A8,8,0,0,0,173.93,214a61.34,61.34,0,0,0,15.19,2c5.82,0,12.3-1,17.49-4.46a20.81,20.81,0,0,0,9.18-15.23C218,179,201.48,174.17,191.59,171.31ZM40,116V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v28a4,4,0,0,1-4,4H44A4,4,0,0,1,40,116ZM152,88h44L152,44Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M46,180c0,12.13,8.07,22,18,22a16.21,16.21,0,0,0,11.66-5.28,6,6,0,0,1,8.67,8.3A28.09,28.09,0,0,1,64,214c-16.54,0-30-15.25-30-34s13.46-34,30-34a28.09,28.09,0,0,1,20.33,9,6,6,0,0,1-8.67,8.3A16.21,16.21,0,0,0,64,158C54.07,158,46,167.86,46,180Zm81-6.77c-10.85-3.13-13.4-4.69-13-7.91a6.56,6.56,0,0,1,2.88-5.08c5.59-3.79,17.66-1.82,21.44-.84a6,6,0,1,0,3.06-11.6c-2-.53-20.09-5-31.2,2.48a18.62,18.62,0,0,0-8.09,13.54c-1.79,14.19,12.27,18.25,21.57,20.94,12.12,3.5,14.78,5.33,14.21,9.76a6.89,6.89,0,0,1-3,5.34c-5.6,3.73-17.48,1.64-21.18.62A6,6,0,1,0,110.48,212a59.29,59.29,0,0,0,14.67,2c5.49,0,11.55-.95,16.36-4.14a18.89,18.89,0,0,0,8.31-13.81C151.83,180.39,136.92,176.08,127,173.22Zm64,0c-10.85-3.13-13.41-4.69-13-7.91a6.59,6.59,0,0,1,2.88-5.08c5.6-3.79,17.65-1.83,21.44-.84a6,6,0,0,0,3.07-11.6c-2-.54-20.1-5-31.21,2.48a18.64,18.64,0,0,0-8.08,13.54c-1.8,14.19,12.26,18.25,21.57,20.94,12.12,3.5,14.77,5.33,14.2,9.76a6.85,6.85,0,0,1-3,5.34c-5.61,3.73-17.48,1.64-21.19.62A6,6,0,0,0,174.47,212a59.41,59.41,0,0,0,14.68,2c5.49,0,11.54-.95,16.36-4.14a18.89,18.89,0,0,0,8.31-13.81C215.83,180.39,200.91,176.08,191,173.22ZM202,94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2v72a6,6,0,1,1-12,0V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.24,1.76l56,56A6,6,0,0,1,214,88v24a6,6,0,1,1-12,0ZM193.5,82,158,46.48V82Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M48,180c0,11,7.18,20,16,20a14.24,14.24,0,0,0,10.22-4.66A8,8,0,1,1,85.77,206.4,30,30,0,0,1,64,216c-17.65,0-32-16.15-32-36s14.35-36,32-36a30,30,0,0,1,21.77,9.6,8,8,0,1,1-11.55,11.06A14.24,14.24,0,0,0,64,160C55.18,160,48,169,48,180Zm79.6-8.69c-4-1.16-8.14-2.35-10.45-3.84-1.26-.81-1.23-1-1.12-1.9a4.54,4.54,0,0,1,2-3.67c4.6-3.12,15.34-1.73,19.83-.56a8,8,0,0,0,4.07-15.48c-2.12-.55-21-5.22-32.83,2.76a20.55,20.55,0,0,0-9,14.95c-2,15.88,13.64,20.41,23,23.11,12.07,3.49,13.13,4.92,12.78,7.59-.31,2.41-1.26,3.34-2.14,3.93-4.6,3.06-15.17,1.56-19.55.36a8,8,0,0,0-4.3,15.41,61.23,61.23,0,0,0,15.18,2c5.83,0,12.3-1,17.49-4.46a20.82,20.82,0,0,0,9.19-15.23C154,179,137.48,174.17,127.6,171.31Zm64,0c-4-1.16-8.14-2.35-10.45-3.84-1.25-.81-1.23-1-1.12-1.9a4.54,4.54,0,0,1,2-3.67c4.6-3.12,15.34-1.73,19.82-.56a8,8,0,0,0,4.07-15.48c-2.11-.55-21-5.22-32.83,2.76a20.58,20.58,0,0,0-8.95,14.95c-2,15.88,13.65,20.41,23,23.11,12.06,3.49,13.12,4.92,12.78,7.59-.31,2.41-1.26,3.34-2.15,3.93-4.6,3.06-15.16,1.56-19.54.36A8,8,0,0,0,173.93,214a61.34,61.34,0,0,0,15.19,2c5.82,0,12.3-1,17.49-4.46a20.81,20.81,0,0,0,9.18-15.23C218,179,201.48,174.17,191.59,171.31ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,1,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.68L160,51.31Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M44,180c0,13.23,9,24,20,24a18.15,18.15,0,0,0,13.11-5.9,4,4,0,0,1,5.78,5.54A26.13,26.13,0,0,1,64,212c-15.44,0-28-14.36-28-32s12.56-32,28-32a26.13,26.13,0,0,1,18.89,8.36,4,4,0,0,1-5.78,5.54A18.15,18.15,0,0,0,64,156C53,156,44,166.77,44,180Zm82.49-4.85c-10.53-3-15.08-4.91-14.43-10.08a8.57,8.57,0,0,1,3.75-6.49c6.26-4.23,18.77-2.24,23.07-1.11a4,4,0,0,0,2-7.74,61.11,61.11,0,0,0-10.47-1.61c-8.12-.54-14.54.75-19.1,3.82a16.63,16.63,0,0,0-7.22,12.13c-1.58,12.49,10.46,16,20.14,18.77,11.25,3.25,16.47,5.49,15.63,11.94a8.93,8.93,0,0,1-3.9,6.75c-6.28,4.17-18.61,2.05-22.83.88a4,4,0,1,0-2.15,7.7A57.79,57.79,0,0,0,125.19,212c5.18,0,10.83-.86,15.22-3.77a17,17,0,0,0,7.43-12.41C149.64,181.84,136.26,178,126.49,175.15Zm64,0c-10.53-3-15.08-4.91-14.43-10.08a8.57,8.57,0,0,1,3.75-6.49c6.26-4.23,18.77-2.24,23.07-1.11a4,4,0,0,0,2-7.74,61.33,61.33,0,0,0-10.48-1.61c-8.11-.54-14.54.75-19.09,3.82a16.63,16.63,0,0,0-7.22,12.13c-1.59,12.49,10.46,16,20.14,18.77,11.25,3.25,16.46,5.49,15.63,11.94a8.93,8.93,0,0,1-3.9,6.75c-6.28,4.17-18.61,2.05-22.83.88a4,4,0,1,0-2.15,7.7A57.7,57.7,0,0,0,189.19,212c5.17,0,10.83-.86,15.22-3.77a17,17,0,0,0,7.43-12.41C213.63,181.84,200.26,178,190.49,175.15ZM204,92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4v72a4,4,0,0,1-8,0V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88v24a4,4,0,0,1-8,0Zm-5.65-8L156,41.65V84Z"}))]]),Ude=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M48,128a12,12,0,0,0,12-12V44h76V92a12,12,0,0,0,12,12h48v12a12,12,0,0,0,24,0V88a12,12,0,0,0-3.51-8.49l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40v76A12,12,0,0,0,48,128ZM183,80H160V57ZM68,160v48a12,12,0,0,1-24,0V196H32v12a12,12,0,0,1-24,0V160a12,12,0,0,1,24,0v12H44V160a12,12,0,0,1,24,0Zm60,0a12,12,0,0,1-12,12h-4v36a12,12,0,0,1-24,0V172H84a12,12,0,0,1,0-24h32A12,12,0,0,1,128,160Zm72,0v48a12,12,0,0,1-24,0v-9.36l-.11.16a12,12,0,0,1-19.78,0l-.11-.16V208a12,12,0,0,1-24,0V160a12,12,0,0,1,21.89-6.8L166,170.82l12.11-17.62A12,12,0,0,1,200,160Zm56,48a12,12,0,0,1-12,12H220a12,12,0,0,1-12-12V160a12,12,0,0,1,24,0v36h12A12,12,0,0,1,256,208Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),b.createElement("path",{d:"M216,120V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v80a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48v24a8,8,0,0,0,16,0ZM160,51.31,188.69,80H160ZM68,160v48a8,8,0,0,1-16,0V192H32v16a8,8,0,0,1-16,0V160a8,8,0,0,1,16,0v16H52V160a8,8,0,0,1,16,0Zm56,0a8,8,0,0,1-8,8h-8v40a8,8,0,0,1-16,0V168H84a8,8,0,0,1,0-16h32A8,8,0,0,1,124,160Zm72,0v48a8,8,0,0,1-16,0V184l-9.6,12.8a8,8,0,0,1-12.8,0L148,184v24a8,8,0,0,1-16,0V160a8,8,0,0,1,14.4-4.8L164,178.67l17.6-23.47A8,8,0,0,1,196,160Zm56,48a8,8,0,0,1-8,8H216a8,8,0,0,1-8-8V160a8,8,0,0,1,16,0v40h20A8,8,0,0,1,252,208Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M44,128H212a4,4,0,0,0,4-4V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v84A4,4,0,0,0,44,128ZM152,44l44,44H152ZM68,160v48a8,8,0,0,1-16,0V192H32v16a8,8,0,0,1-16,0V160a8,8,0,0,1,16,0v16H52V160a8,8,0,0,1,16,0Zm56,0a8,8,0,0,1-8,8h-8v40a8,8,0,0,1-16,0V168H84a8,8,0,0,1,0-16h32A8,8,0,0,1,124,160Zm72,0v48a8,8,0,0,1-16,0V184l-9.6,12.8a8,8,0,0,1-12.8,0L148,184v24a8,8,0,0,1-16,0V160a8,8,0,0,1,14.4-4.8L164,178.67l17.6-23.47A8,8,0,0,1,196,160Zm56,48a8,8,0,0,1-8,8H216a8,8,0,0,1-8-8V160a8,8,0,0,1,16,0v40h20A8,8,0,0,1,252,208Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M214,120V88a6,6,0,0,0-1.76-4.24l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v80a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50v26a6,6,0,0,0,12,0ZM158,46.48,193.52,82H158ZM66,160v48a6,6,0,0,1-12,0V190H30v18a6,6,0,0,1-12,0V160a6,6,0,0,1,12,0v18H54V160a6,6,0,0,1,12,0Zm56,0a6,6,0,0,1-6,6H106v42a6,6,0,0,1-12,0V166H84a6,6,0,0,1,0-12h32A6,6,0,0,1,122,160Zm72,0v48a6,6,0,0,1-12,0V178l-13.2,17.6a6,6,0,0,1-9.6,0L146,178v30a6,6,0,0,1-12,0V160a6,6,0,0,1,10.8-3.6L164,182l19.2-25.6A6,6,0,0,1,194,160Zm56,48a6,6,0,0,1-6,6H216a6,6,0,0,1-6-6V160a6,6,0,0,1,12,0v42h22A6,6,0,0,1,250,208Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,120V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v80a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48v24a8,8,0,0,0,16,0ZM160,51.31,188.69,80H160ZM68,160v48a8,8,0,0,1-16,0V192H32v16a8,8,0,0,1-16,0V160a8,8,0,0,1,16,0v16H52V160a8,8,0,0,1,16,0Zm56,0a8,8,0,0,1-8,8h-8v40a8,8,0,0,1-16,0V168H84a8,8,0,0,1,0-16h32A8,8,0,0,1,124,160Zm72,0v48a8,8,0,0,1-16,0V184l-9.6,12.8a8,8,0,0,1-12.8,0L148,184v24a8,8,0,0,1-16,0V160a8,8,0,0,1,14.4-4.8L164,178.67l17.6-23.47A8,8,0,0,1,196,160Zm56,48a8,8,0,0,1-8,8H216a8,8,0,0,1-8-8V160a8,8,0,0,1,16,0v40h20A8,8,0,0,1,252,208Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M212,88a4,4,0,0,0-1.17-2.83l-2-2h0l-54-54A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v80a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52v28a4,4,0,0,0,8,0ZM156,41.65,198.34,84H156ZM64,160v48a4,4,0,0,1-8,0V188H28v20a4,4,0,0,1-8,0V160a4,4,0,0,1,8,0v20H56V160a4,4,0,0,1,8,0Zm56,0a4,4,0,0,1-4,4H104v44a4,4,0,0,1-8,0V164H84a4,4,0,0,1,0-8h32A4,4,0,0,1,120,160Zm72,0v48a4,4,0,0,1-8,0V172l-16.8,22.4a4,4,0,0,1-6.4,0L144,172v36a4,4,0,0,1-8,0V160a4,4,0,0,1,7.2-2.4L164,185.33l20.8-27.73A4,4,0,0,1,192,160Zm56,48a4,4,0,0,1-4,4H216a4,4,0,0,1-4-4V160a4,4,0,0,1,8,0v44h24A4,4,0,0,1,248,208Z"}))]]),Gde=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M120,140H104a12,12,0,0,0-12,12v56a12,12,0,0,0,24,0v-4h4a32,32,0,0,0,0-64Zm0,40h-4V164h4a8,8,0,0,1,0,16Zm104,20.87a12,12,0,0,1-3.33,8.3A34,34,0,0,1,196,220c-19.85,0-36-17.94-36-40s16.15-40,36-40a33.39,33.39,0,0,1,18.71,5.8,12,12,0,1,1-13.42,19.89A9.39,9.39,0,0,0,196,164c-6.5,0-12,7.33-12,16s5.5,16,12,16a9,9,0,0,0,2.7-.42A12,12,0,0,1,208,176h4a12,12,0,0,1,12,12ZM80,152v38a30,30,0,0,1-60,0,12,12,0,0,1,24,0,6,6,0,0,0,12,0V152a12,12,0,0,1,24,0ZM48,120a12,12,0,0,0,12-12V44h76V92a12,12,0,0,0,12,12h48v4a12,12,0,0,0,24,0V88a12,12,0,0,0-3.51-8.48l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40v68A12,12,0,0,0,48,120ZM160,57l23,23H160Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),b.createElement("path",{d:"M120,144H104a8,8,0,0,0-8,8v56a8,8,0,0,0,16,0v-8h8a28,28,0,0,0,0-56Zm0,40h-8V160h8a12,12,0,0,1,0,24Zm96,0v16.87a8,8,0,0,1-2.22,5.53A30.06,30.06,0,0,1,192,216c-17.64,0-32-16.15-32-36s14.36-36,32-36a29.38,29.38,0,0,1,16.48,5.12,8,8,0,0,1-9,13.26A13.21,13.21,0,0,0,192,160c-8.82,0-16,9-16,20s7.18,20,16,20a13.63,13.63,0,0,0,8-2.71V192a8,8,0,0,1,0-16h8A8,8,0,0,1,216,184ZM80,152v38a26,26,0,0,1-52,0,8,8,0,0,1,16,0,10,10,0,0,0,20,0V152a8,8,0,0,1,16,0ZM213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48v16a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM160,80V51.31L188.69,80Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M44,120H212a4,4,0,0,0,4-4V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76A4,4,0,0,0,44,120ZM152,44l44,44H152ZM120,144H104a8,8,0,0,0-8,8v55.73a8.17,8.17,0,0,0,7.47,8.25,8,8,0,0,0,8.53-8v-8h7.4c15.24,0,28.13-11.92,28.59-27.15A28,28,0,0,0,120,144Zm-.35,40H112V160h8a12,12,0,0,1,11.94,13.16A12.23,12.23,0,0,1,119.65,184ZM216,200.87a8,8,0,0,1-2.26,5.57A30,30,0,0,1,192,216c-17.64,0-32-16.15-32-36s14.36-36,32-36a29.36,29.36,0,0,1,16.09,4.86,8.21,8.21,0,0,1,3,10.64,8,8,0,0,1-11.55,2.88A13.21,13.21,0,0,0,192,160c-8.82,0-16,9-16,20s7.18,20,16,20a13.63,13.63,0,0,0,8-2.71V192a8,8,0,0,1-8-8.53,8.17,8.17,0,0,1,8.25-7.47H208a8,8,0,0,1,8,8ZM80,152v37.41c0,14.22-11.18,26.26-25.41,26.58A26,26,0,0,1,28,190.37,8.17,8.17,0,0,1,35.31,182,8,8,0,0,1,44,190.22a8.89,8.89,0,0,0,4,8c7.85,4.82,16-.75,16-8.2V152.27A8.17,8.17,0,0,1,71.47,144,8,8,0,0,1,80,152Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M120,146H104a6,6,0,0,0-6,6v56a6,6,0,0,0,12,0V198h10a26,26,0,0,0,0-52Zm0,40H110V158h10a14,14,0,0,1,0,28Zm94-2v16.87a6,6,0,0,1-1.67,4.15A28.06,28.06,0,0,1,192,214c-16.54,0-30-15.25-30-34s13.46-34,30-34a27.43,27.43,0,0,1,15.36,4.77,6,6,0,0,1-6.72,9.95A15.25,15.25,0,0,0,192,158c-9.93,0-18,9.87-18,22s8.07,22,18,22a15.75,15.75,0,0,0,10-3.73V190h-2a6,6,0,0,1,0-12h8A6,6,0,0,1,214,184ZM78,152v38a24,24,0,0,1-48,0,6,6,0,0,1,12,0,12,12,0,0,0,24,0V152a6,6,0,0,1,12,0ZM212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50v18a6,6,0,0,0,12,0V88A6,6,0,0,0,212.24,83.76ZM158,82V46.48L193.52,82Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M120,144H104a8,8,0,0,0-8,8v56a8,8,0,0,0,16,0v-8h8a28,28,0,0,0,0-56Zm0,40h-8V160h8a12,12,0,0,1,0,24Zm96,0v16.87a8,8,0,0,1-2.22,5.53A30.06,30.06,0,0,1,192,216c-17.65,0-32-16.15-32-36s14.35-36,32-36a29.38,29.38,0,0,1,16.48,5.12,8,8,0,0,1-9,13.26A13.21,13.21,0,0,0,192,160c-8.82,0-16,9-16,20s7.18,20,16,20a13.63,13.63,0,0,0,8-2.71V192a8,8,0,0,1,0-16h8A8,8,0,0,1,216,184ZM80,152v38a26,26,0,0,1-52,0,8,8,0,0,1,16,0,10,10,0,0,0,20,0V152a8,8,0,0,1,16,0ZM213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48v16a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM160,80V51.31L188.69,80Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M120,148H104a4,4,0,0,0-4,4v56a4,4,0,0,0,8,0V196h12a24,24,0,0,0,0-48Zm0,40H108V156h12a16,16,0,0,1,0,32Zm92-4v16.87a4,4,0,0,1-1.11,2.77A26.11,26.11,0,0,1,192,212c-15.44,0-28-14.36-28-32s12.56-32,28-32a25.41,25.41,0,0,1,14.24,4.43,4,4,0,1,1-4.48,6.63A17.45,17.45,0,0,0,192,156c-11,0-20,10.77-20,24s9,24,20,24a17.87,17.87,0,0,0,12-4.82V188h-4a4,4,0,0,1,0-8h8A4,4,0,0,1,212,184ZM76,152v38a22,22,0,0,1-44,0,4,4,0,0,1,8,0,14,14,0,0,0,28,0V152a4,4,0,0,1,8,0ZM210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52v20a4,4,0,0,0,8,0V88A4,4,0,0,0,210.83,85.17ZM156,84V41.65L198.34,84Z"}))]]),Wde=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216.49,79.51l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40v68a12,12,0,0,0,24,0V44h76V92a12,12,0,0,0,12,12h48V212H180a12,12,0,0,0,0,24h20a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.51ZM160,57l23,23H160Zm-4.22,139.85a24.75,24.75,0,0,1-10.95,18.06c-6,4-13.27,5.15-19.73,5.15a63.75,63.75,0,0,1-16.23-2.21,12,12,0,0,1,6.46-23.12c6.81,1.86,15,1.61,16.39.06a2.48,2.48,0,0,0,.21-.71c-1.94-1.23-6.83-2.64-9.88-3.52-5.39-1.56-11-3.18-15.75-6.27-7.62-4.92-11.21-12.45-10.11-21.2a24.45,24.45,0,0,1,10.69-17.75c6.06-4.09,14.17-5.84,24.1-5.18A68.53,68.53,0,0,1,143,142a12,12,0,0,1-6.1,23.21c-6.36-1.63-13.62-1.51-16.07-.33a79.5,79.5,0,0,0,7.91,2.59c5.48,1.58,11.68,3.37,16.8,6.82C153.33,179.55,157,187.55,155.78,196.82ZM84,152v38a30,30,0,0,1-60,0,12,12,0,0,1,24,0,6,6,0,0,0,12,0V152a12,12,0,0,1,24,0Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216H176a8,8,0,0,0,0,16h24a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160Zm-12.19,145a20.82,20.82,0,0,1-9.19,15.23C133.43,215,127,216,121.13,216A61.14,61.14,0,0,1,106,214a8,8,0,1,1,4.3-15.41c4.38,1.2,15,2.7,19.55-.36.88-.59,1.83-1.52,2.14-3.93.35-2.67-.71-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.11a20.56,20.56,0,0,1,9-14.95c11.84-8,30.71-3.31,32.83-2.76a8,8,0,0,1-4.07,15.48c-4.49-1.17-15.23-2.56-19.83.56a4.54,4.54,0,0,0-2,3.67c-.12.9-.14,1.09,1.11,1.9,2.31,1.49,6.45,2.68,10.45,3.84C133.49,174.17,150.05,179,147.81,196.31ZM80,152v38a26,26,0,0,1-52,0,8,8,0,0,1,16,0,10,10,0,0,0,20,0V152a8,8,0,0,1,16,0Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76a4,4,0,0,0,4,4H164a4,4,0,0,1,4,4V228a4,4,0,0,0,4,4h28a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Zm-4.19,108.31a20.82,20.82,0,0,1-9.19,15.23C133.43,215,127,216,121.13,216a61.34,61.34,0,0,1-15.19-2,8,8,0,0,1,4.31-15.41c4.38,1.2,15,2.7,19.55-.36.88-.59,1.83-1.52,2.14-3.93.34-2.67-.72-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.11a20.58,20.58,0,0,1,9-14.95c11.85-8,30.72-3.31,32.84-2.76a8,8,0,0,1-4.07,15.48c-4.49-1.17-15.23-2.56-19.83.56a4.57,4.57,0,0,0-2,3.67c-.11.9-.13,1.09,1.12,1.9,2.31,1.49,6.45,2.68,10.45,3.84C133.49,174.17,150,179,147.81,196.31ZM80,152v37.41c0,14.22-11.18,26.26-25.41,26.58A26,26,0,0,1,28,190.37,8.17,8.17,0,0,1,35.31,182,8,8,0,0,1,44,190.22a8.89,8.89,0,0,0,4,8c7.85,4.82,16-.75,16-8.2V152.27A8.17,8.17,0,0,1,71.47,144,8,8,0,0,1,80,152Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216a2,2,0,0,1-2,2H176a6,6,0,0,0,0,12h24a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM145.83,196.06a18.89,18.89,0,0,1-8.31,13.81c-4.82,3.19-10.87,4.14-16.36,4.14a58.89,58.89,0,0,1-14.68-2,6,6,0,0,1,3.23-11.56c3.71,1,15.58,3.11,21.19-.62a6.85,6.85,0,0,0,3-5.34c.58-4.43-2.08-6.26-14.2-9.76-9.31-2.69-23.37-6.75-21.57-20.94a18.61,18.61,0,0,1,8.08-13.54c11.11-7.49,29.18-3,31.21-2.48a6,6,0,0,1-3.06,11.6c-3.78-1-15.85-3-21.45.84a6.59,6.59,0,0,0-2.88,5.08c-.41,3.22,2.14,4.78,13,7.91C132.92,176.09,147.84,180.4,145.83,196.06ZM78,152v38a24,24,0,0,1-48,0,6,6,0,0,1,12,0,12,12,0,0,0,24,0V152a6,6,0,0,1,12,0Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216H176a8,8,0,0,0,0,16h24a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160Zm-12.19,145a20.82,20.82,0,0,1-9.19,15.23C133.43,215,127,216,121.13,216a61.34,61.34,0,0,1-15.19-2,8,8,0,0,1,4.31-15.41c4.38,1.2,15,2.7,19.55-.36.88-.59,1.83-1.52,2.14-3.93.34-2.67-.71-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.11a20.56,20.56,0,0,1,9-14.95c11.84-8,30.71-3.31,32.83-2.76a8,8,0,0,1-4.07,15.48c-4.49-1.17-15.23-2.56-19.83.56a4.54,4.54,0,0,0-2,3.67c-.12.9-.14,1.09,1.11,1.9,2.31,1.49,6.45,2.68,10.45,3.84C133.49,174.17,150.05,179,147.81,196.31ZM80,152v38a26,26,0,0,1-52,0,8,8,0,0,1,16,0,10,10,0,0,0,20,0V152a8,8,0,0,1,16,0Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216a4,4,0,0,1-4,4H176a4,4,0,0,0,0,8h24a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM143.84,195.8a17,17,0,0,1-7.43,12.41c-4.39,2.91-10,3.77-15.22,3.77A57.89,57.89,0,0,1,107,210.11a4,4,0,0,1,2.15-7.7c4.22,1.17,16.56,3.29,22.83-.88a8.94,8.94,0,0,0,3.91-6.75c.83-6.45-4.38-8.69-15.64-11.94-9.68-2.8-21.72-6.28-20.14-18.77a16.66,16.66,0,0,1,7.22-12.13c4.56-3.07,11-4.36,19.1-3.82a61.33,61.33,0,0,1,10.48,1.61,4,4,0,0,1-2.05,7.74c-4.29-1.13-16.81-3.12-23.06,1.11a8.51,8.51,0,0,0-3.75,6.49c-.66,5.17,3.89,7,14.42,10.08C132.26,178,145.64,181.84,143.84,195.8ZM76,152v38a22,22,0,0,1-44,0,4,4,0,0,1,8,0,14,14,0,0,0,28,0V152a4,4,0,0,1,8,0Z"}))]]),Yde=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M151.78,196.8a24.73,24.73,0,0,1-10.95,18c-6,4-13.27,5.15-19.73,5.15a63.75,63.75,0,0,1-16.23-2.21,12,12,0,1,1,6.46-23.11c6.81,1.85,15,1.61,16.39.06a2.48,2.48,0,0,0,.21-.71c-1.94-1.23-6.83-2.64-9.88-3.53-5.39-1.56-11-3.17-15.75-6.26-7.63-4.92-11.21-12.45-10.11-21.19a24.45,24.45,0,0,1,10.69-17.76c6.06-4.09,14.17-5.83,24.1-5.17A69,69,0,0,1,139,142a12,12,0,0,1-6.1,23.21c-6.36-1.63-13.62-1.51-16.07-.33a79.5,79.5,0,0,0,7.91,2.59c5.47,1.58,11.68,3.37,16.8,6.82C149.33,179.53,153,187.53,151.78,196.8ZM68,140a12,12,0,0,0-12,12v38a6,6,0,0,1-12,0,12,12,0,0,0-24,0,30,30,0,0,0,60,0V152A12,12,0,0,0,68,140Zm138.75,40,15-21a12,12,0,0,0-19.53-14L192,159.34,181.76,145a12,12,0,0,0-19.53,14l15,21-15,21A12,12,0,1,0,181.76,215L192,200.62,202.23,215A12,12,0,0,0,221.76,201ZM36,108V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.51l56,56A12,12,0,0,1,220,88v20a12,12,0,1,1-24,0v-4H148a12,12,0,0,1-12-12V44H60v64a12,12,0,1,1-24,0ZM160,80h23L160,57Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),b.createElement("path",{d:"M147.81,196.31a20.82,20.82,0,0,1-9.19,15.23C133.43,215,127,216,121.13,216A60.43,60.43,0,0,1,106,214a8,8,0,1,1,4.3-15.41c4.38,1.21,15,2.71,19.55-.35.88-.6,1.83-1.52,2.14-3.93.34-2.67-.72-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.12a20.58,20.58,0,0,1,9-14.94c11.85-8,30.72-3.31,32.84-2.76a8,8,0,0,1-4.07,15.48c-4.49-1.17-15.23-2.56-19.83.56a4.54,4.54,0,0,0-2,3.67c-.12.9-.14,1.08,1.11,1.9,2.31,1.49,6.45,2.68,10.45,3.84C133.49,174.17,150,179,147.81,196.31ZM72,144a8,8,0,0,0-8,8v38a10,10,0,0,1-20,0,8,8,0,0,0-16,0,26,26,0,0,0,52,0V152A8,8,0,0,0,72,144Zm140.65,1.49a8,8,0,0,0-11.16,1.86L188,166.24l-13.49-18.89a8,8,0,0,0-13,9.3L178.17,180l-16.68,23.35a8,8,0,0,0,13,9.3L188,193.76l13.49,18.89a8,8,0,0,0,13-9.3L197.83,180l16.68-23.35A8,8,0,0,0,212.65,145.49ZM216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-27.31-8L160,51.31V80Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76a4,4,0,0,0,4,4H212a4,4,0,0,0,4-4V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Zm-4.19,108.31a20.82,20.82,0,0,1-9.19,15.23C133.43,215,127,216,121.13,216a60.63,60.63,0,0,1-15.19-2,8,8,0,0,1,4.31-15.41c4.38,1.21,15,2.71,19.55-.35.88-.6,1.83-1.52,2.14-3.93.34-2.67-.72-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.12a20.58,20.58,0,0,1,9-14.94c11.85-8,30.72-3.31,32.84-2.76a8,8,0,0,1-4.07,15.48c-4.49-1.17-15.23-2.56-19.83.56a4.57,4.57,0,0,0-2,3.67c-.11.9-.13,1.08,1.12,1.9,2.31,1.49,6.45,2.68,10.45,3.84C133.49,174.17,150,179,147.81,196.31ZM80,152v37.4c0,14.23-11.18,26.27-25.41,26.59A26,26,0,0,1,28,190.37,8.17,8.17,0,0,1,35.31,182,8,8,0,0,1,44,190.22a8.89,8.89,0,0,0,4,8c7.85,4.82,16-.76,16-8.2V152.27A8.17,8.17,0,0,1,71.47,144,8,8,0,0,1,80,152Zm134.51,4.65L197.83,180l16.68,23.35a8,8,0,0,1-13,9.3L188,193.76l-13.49,18.89a8,8,0,1,1-13-9.3L178.17,180l-16.68-23.35a8,8,0,0,1,13-9.3L188,166.24l13.49-18.89a8,8,0,0,1,13,9.3Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M145.83,196.05a18.89,18.89,0,0,1-8.31,13.81c-4.82,3.19-10.87,4.14-16.36,4.14a59.41,59.41,0,0,1-14.68-2,6,6,0,0,1,3.23-11.56c3.71,1,15.58,3.11,21.19-.62a6.85,6.85,0,0,0,3-5.34c.58-4.43-2.08-6.26-14.2-9.76-9.31-2.69-23.37-6.75-21.57-20.94a18.61,18.61,0,0,1,8.08-13.54c11.11-7.49,29.18-3,31.21-2.48a6,6,0,0,1-3.06,11.6c-3.79-1-15.85-2.95-21.45.84a6.59,6.59,0,0,0-2.88,5.08c-.41,3.22,2.14,4.78,13,7.91C132.92,176.08,147.84,180.39,145.83,196.05ZM72,146a6,6,0,0,0-6,6v38a12,12,0,0,1-24,0,6,6,0,0,0-12,0,24,24,0,0,0,48,0V152A6,6,0,0,0,72,146Zm139.49,1.12a6,6,0,0,0-8.37,1.39L188,169.67,172.88,148.5a6,6,0,0,0-9.76,7L180.63,180,163.12,204.5a6,6,0,1,0,9.76,7L188,190.31l15.12,21.16a6,6,0,1,0,9.76-7L195.37,180l17.51-24.51A6,6,0,0,0,211.49,147.11ZM214,88v24a6,6,0,1,1-12,0V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2v72a6,6,0,1,1-12,0V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.25,1.76l56,56A6,6,0,0,1,214,88Zm-20.49-6L158,46.48V82Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M147.81,196.31a20.82,20.82,0,0,1-9.19,15.23C133.43,215,127,216,121.13,216a60.63,60.63,0,0,1-15.19-2,8,8,0,0,1,4.31-15.41c4.38,1.21,15,2.71,19.55-.35.88-.6,1.83-1.52,2.14-3.93.34-2.67-.72-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.11a20.58,20.58,0,0,1,9-14.95c11.85-8,30.72-3.31,32.84-2.76a8,8,0,0,1-4.07,15.48c-4.49-1.17-15.23-2.56-19.83.56a4.54,4.54,0,0,0-2,3.67c-.12.9-.14,1.08,1.11,1.9,2.31,1.49,6.45,2.68,10.45,3.84C133.49,174.17,150,179,147.81,196.31ZM72,144a8,8,0,0,0-8,8v38a10,10,0,0,1-20,0,8,8,0,0,0-16,0,26,26,0,0,0,52,0V152A8,8,0,0,0,72,144Zm140.65,1.49a8,8,0,0,0-11.16,1.86L188,166.24l-13.49-18.89a8,8,0,0,0-13,9.3L178.17,180l-16.68,23.35a8,8,0,0,0,13,9.3L188,193.76l13.49,18.89a8,8,0,0,0,13-9.3L197.83,180l16.68-23.35A8,8,0,0,0,212.65,145.49ZM216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-27.31-8L160,51.31V80Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M143.84,195.8a17,17,0,0,1-7.43,12.41c-4.39,2.91-10,3.77-15.22,3.77A57.89,57.89,0,0,1,107,210.11a4,4,0,1,1,2.15-7.7c4.22,1.17,16.56,3.29,22.83-.88a8.94,8.94,0,0,0,3.91-6.75c.83-6.45-4.38-8.69-15.64-11.94-9.68-2.8-21.72-6.28-20.14-18.77a16.66,16.66,0,0,1,7.22-12.13c4.56-3.07,11-4.36,19.1-3.82a61.33,61.33,0,0,1,10.48,1.61,4,4,0,0,1-2.05,7.74c-4.29-1.13-16.81-3.12-23.06,1.11a8.51,8.51,0,0,0-3.75,6.49c-.66,5.17,3.89,7,14.42,10.08C132.26,178,145.64,181.84,143.84,195.8ZM72,148a4,4,0,0,0-4,4v38a14,14,0,0,1-28,0,4,4,0,0,0-8,0,22,22,0,0,0,44,0V152A4,4,0,0,0,72,148Zm138.32.75a4,4,0,0,0-5.58.92L188,173.12l-16.75-23.45a4,4,0,0,0-6.51,4.66L183.08,180l-18.34,25.67a4,4,0,0,0,.93,5.58,4,4,0,0,0,5.58-.92L188,186.88l16.74,23.45A4,4,0,0,0,208,212a3.91,3.91,0,0,0,2.32-.75,4,4,0,0,0,.93-5.58L192.92,180l18.33-25.67A4,4,0,0,0,210.32,148.75ZM212,88v24a4,4,0,0,1-8,0V92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4v72a4,4,0,0,1-8,0V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88Zm-13.66-4L156,41.65V84Z"}))]]),qde=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M100,152v56a12,12,0,0,1-24,0V190.07l-6.17,8.81a12,12,0,0,1-19.66,0L44,190.07V208a12,12,0,0,1-24,0V152a12,12,0,0,1,21.83-6.88L60,171.07l18.17-25.95A12,12,0,0,1,100,152Zm84,28a40,40,0,0,1-40,40H128a12,12,0,0,1-12-12V152a12,12,0,0,1,12-12h16A40,40,0,0,1,184,180Zm-24,0a16,16,0,0,0-16-16h-4v32h4A16,16,0,0,0,160,180Zm60-92V224a12,12,0,0,1-24,0V104H148a12,12,0,0,1-12-12V44H60v64a12,12,0,0,1-24,0V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.52l56,56A12,12,0,0,1,220,88Zm-60-8h23L160,57Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V224a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM144,144H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h16a36,36,0,0,0,0-72Zm0,56h-8V160h8a20,20,0,0,1,0,40Zm-40-48v56a8,8,0,0,1-16,0V177.38L74.55,196.59a8,8,0,0,1-13.1,0L48,177.38V208a8,8,0,0,1-16,0V152a8,8,0,0,1,14.55-4.59L68,178.05l21.45-30.64A8,8,0,0,1,104,152Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76a4,4,0,0,0,4,4H196a4,4,0,0,1,4,4V224a8,8,0,0,0,9.19,7.91,8.15,8.15,0,0,0,6.81-8.16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Zm-8,56H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h15.32c19.66,0,36.21-15.48,36.67-35.13A36,36,0,0,0,144,144Zm-.49,56H136V160h8a20,20,0,0,1,20,20.77C163.58,191.59,154.34,200,143.51,200ZM104,152v55.73A8.17,8.17,0,0,1,96.53,216,8,8,0,0,1,88,208V177.38l-13.32,19a8.3,8.3,0,0,1-4.2,3.2,8,8,0,0,1-9-3L48,177.38v30.35A8.17,8.17,0,0,1,40.53,216,8,8,0,0,1,32,208V152.31a8.27,8.27,0,0,1,4.56-7.53,8,8,0,0,1,10,2.63L68,178.05l21.27-30.39a8.28,8.28,0,0,1,8.06-3.55A8,8,0,0,1,104,152Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V224a6,6,0,0,0,12,0V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM144,146H128a6,6,0,0,0-6,6v56a6,6,0,0,0,6,6h16a34,34,0,0,0,0-68Zm0,56H134V158h10a22,22,0,0,1,0,44Zm-42-50v56a6,6,0,0,1-12,0V171L72.92,195.44a6,6,0,0,1-9.84,0L46,171v37a6,6,0,0,1-12,0V152a6,6,0,0,1,10.92-3.44l23.08,33,23.08-33A6,6,0,0,1,102,152Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V224a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM144,144H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h16a36,36,0,0,0,0-72Zm0,56h-8V160h8a20,20,0,0,1,0,40Zm-40-48v56a8,8,0,0,1-16,0V177.38L74.55,196.59a8,8,0,0,1-13.1,0L48,177.38V208a8,8,0,0,1-16,0V152a8,8,0,0,1,14.55-4.59L68,178.05l21.45-30.64A8,8,0,0,1,104,152Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V224a4,4,0,0,0,8,0V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM144,148H128a4,4,0,0,0-4,4v56a4,4,0,0,0,4,4h16a32,32,0,0,0,0-64Zm0,56H132V156h12a24,24,0,0,1,0,48Zm-44-52v56a4,4,0,0,1-8,0V164.69l-20.72,29.6a4,4,0,0,1-6.56,0L44,164.69V208a4,4,0,0,1-8,0V152a4,4,0,0,1,7.28-2.29L68,185l24.72-35.31A4,4,0,0,1,100,152Z"}))]]),Kde=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216.49,79.51l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.51ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Zm104-60a12,12,0,0,1-12,12H140v12a12,12,0,0,1-24,0V164H104a12,12,0,0,1,0-24h12V128a12,12,0,0,1,24,0v12h12A12,12,0,0,1,164,152Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-40-64a8,8,0,0,1-8,8H136v16a8,8,0,0,1-16,0V160H104a8,8,0,0,1,0-16h16V128a8,8,0,0,1,16,0v16h16A8,8,0,0,1,160,152Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,160H136v16a8,8,0,0,1-16,0V160H104a8,8,0,0,1,0-16h16V128a8,8,0,0,1,16,0v16h16a8,8,0,0,1,0,16Zm0-72V43.31L196.69,88Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Zm-42-66a6,6,0,0,1-6,6H134v18a6,6,0,0,1-12,0V158H104a6,6,0,0,1,0-12h18V128a6,6,0,0,1,12,0v18h18A6,6,0,0,1,158,152Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-40-64a8,8,0,0,1-8,8H136v16a8,8,0,0,1-16,0V160H104a8,8,0,0,1,0-16h16V128a8,8,0,0,1,16,0v16h16A8,8,0,0,1,160,152Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Zm-44-68a4,4,0,0,1-4,4H132v20a4,4,0,0,1-8,0V156H104a4,4,0,0,1,0-8h20V128a4,4,0,0,1,8,0v20h20A4,4,0,0,1,156,152Z"}))]]),Jde=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M56,140H40a12,12,0,0,0-12,12v56a12,12,0,0,0,24,0v-4h4a32,32,0,0,0,0-64Zm0,40H52V164h4a8,8,0,0,1,0,16Zm176,20.87a12,12,0,0,1-3.33,8.3A34,34,0,0,1,204,220c-19.85,0-36-17.95-36-40s16.15-40,36-40a33.39,33.39,0,0,1,18.71,5.8,12,12,0,1,1-13.42,19.89A9.39,9.39,0,0,0,204,164c-6.5,0-12,7.33-12,16s5.5,16,12,16a9,9,0,0,0,2.7-.42A12,12,0,0,1,216,176h4a12,12,0,0,1,12,12ZM160,152v56a12,12,0,0,1-8.34,11.43A12.15,12.15,0,0,1,148,220a12,12,0,0,1-9.76-5L120,189.44V208a12,12,0,0,1-24,0V152a12,12,0,0,1,21.76-7L136,170.55V152a12,12,0,0,1,24,0ZM48,120a12,12,0,0,0,12-12V44h76V92a12,12,0,0,0,12,12h48v4a12,12,0,0,0,24,0V88a12,12,0,0,0-3.51-8.49l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40v68A12,12,0,0,0,48,120ZM160,57l23,23H160Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),b.createElement("path",{d:"M60,144H44a8,8,0,0,0-8,8v56a8,8,0,0,0,16,0v-8h8a28,28,0,0,0,0-56Zm0,40H52V160h8a12,12,0,0,1,0,24Zm164,16.87a8,8,0,0,1-2.22,5.53A30.06,30.06,0,0,1,200,216c-17.64,0-32-16.15-32-36s14.36-36,32-36a29.45,29.45,0,0,1,16.48,5.11,8,8,0,0,1-9,13.27A13.21,13.21,0,0,0,200,160c-8.82,0-16,9-16,20s7.18,20,16,20a13.57,13.57,0,0,0,8-2.72V192a8,8,0,0,1,0-16h8a8,8,0,0,1,8,8ZM156,152v56a8,8,0,0,1-5.56,7.62A7.91,7.91,0,0,1,148,216a8,8,0,0,1-6.51-3.35L116,177v31a8,8,0,0,1-16,0V152a8,8,0,0,1,14.51-4.65L140,183V152a8,8,0,0,1,16,0ZM48,120a8,8,0,0,0,8-8V40h88V88a8,8,0,0,0,8,8h48v16a8,8,0,0,0,16,0V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72A8,8,0,0,0,48,120ZM160,51.31,188.69,80H160Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M44,120H212a4,4,0,0,0,4-4V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76A4,4,0,0,0,44,120ZM152,44l44,44H152ZM60,144H44a8,8,0,0,0-8,8v55.72A8.17,8.17,0,0,0,43.47,216,8,8,0,0,0,52,208v-8h7.4c15.24,0,28.14-11.92,28.59-27.15A28,28,0,0,0,60,144Zm-.35,40H52V160h8a12,12,0,0,1,12,13.16A12.25,12.25,0,0,1,59.65,184ZM224,200.87a8,8,0,0,1-2.26,5.57A30.07,30.07,0,0,1,200,216c-17.64,0-32-16.15-32-36s14.36-36,32-36a29.36,29.36,0,0,1,16.09,4.86,8.21,8.21,0,0,1,3,10.64,8,8,0,0,1-11.55,2.88A13.21,13.21,0,0,0,200,160c-8.82,0-16,9-16,20s7.18,20,16,20a13.57,13.57,0,0,0,8-2.72V192a8,8,0,0,1-8-8.53,8.17,8.17,0,0,1,8.25-7.47H216a8,8,0,0,1,8,8ZM156,152v55.76a8.22,8.22,0,0,1-4.12,7.24,8,8,0,0,1-10.39-2.35L116,177v30.76a8.17,8.17,0,0,1-7.47,8.26,8,8,0,0,1-8.53-8V152.31a8.27,8.27,0,0,1,4.53-7.52,8,8,0,0,1,10,2.56L140,183V152.27a8.17,8.17,0,0,1,7.47-8.25A8,8,0,0,1,156,152Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M60,146H44a6,6,0,0,0-6,6v56a6,6,0,0,0,12,0V198H60a26,26,0,0,0,0-52Zm0,40H50V158H60a14,14,0,0,1,0,28Zm162,14.87a6,6,0,0,1-1.67,4.15A28.06,28.06,0,0,1,200,214c-16.54,0-30-15.25-30-34s13.46-34,30-34a27.43,27.43,0,0,1,15.36,4.77,6,6,0,0,1-6.72,9.95A15.25,15.25,0,0,0,200,158c-9.93,0-18,9.87-18,22s8.07,22,18,22a15.75,15.75,0,0,0,10-3.73V190h-2a6,6,0,0,1,0-12h8a6,6,0,0,1,6,6ZM154,152v56a6,6,0,0,1-4.17,5.71A5.78,5.78,0,0,1,148,214a6,6,0,0,1-4.88-2.51L114,170.72V208a6,6,0,0,1-12,0V152a6,6,0,0,1,10.88-3.49L142,189.28V152a6,6,0,0,1,12,0ZM48,118a6,6,0,0,0,6-6V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50v18a6,6,0,0,0,12,0V88a6,6,0,0,0-1.76-4.24l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72A6,6,0,0,0,48,118ZM158,46.48,193.52,82H158Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M60,144H44a8,8,0,0,0-8,8v56a8,8,0,0,0,16,0v-8h8a28,28,0,0,0,0-56Zm0,40H52V160h8a12,12,0,0,1,0,24Zm164,16.87a8,8,0,0,1-2.22,5.53A30.06,30.06,0,0,1,200,216c-17.65,0-32-16.15-32-36s14.35-36,32-36a29.45,29.45,0,0,1,16.48,5.11,8,8,0,0,1-9,13.27A13.21,13.21,0,0,0,200,160c-8.82,0-16,9-16,20s7.18,20,16,20a13.57,13.57,0,0,0,8-2.72V192a8,8,0,0,1,0-16h8a8,8,0,0,1,8,8ZM156,152v56a8,8,0,0,1-5.56,7.62A7.91,7.91,0,0,1,148,216a8,8,0,0,1-6.51-3.35L116,177v31a8,8,0,0,1-16,0V152a8,8,0,0,1,14.51-4.65L140,183V152a8,8,0,0,1,16,0ZM48,120a8,8,0,0,0,8-8V40h88V88a8,8,0,0,0,8,8h48v16a8,8,0,0,0,16,0V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72A8,8,0,0,0,48,120ZM160,51.31,188.69,80H160Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M60,148H44a4,4,0,0,0-4,4v56a4,4,0,0,0,8,0V196H60a24,24,0,0,0,0-48Zm0,40H48V156H60a16,16,0,0,1,0,32Zm160,12.87a4,4,0,0,1-1.11,2.77A26.11,26.11,0,0,1,200,212c-15.44,0-28-14.36-28-32s12.56-32,28-32a25.41,25.41,0,0,1,14.24,4.43,4,4,0,1,1-4.48,6.63A17.45,17.45,0,0,0,200,156c-11,0-20,10.77-20,24s9,24,20,24a17.87,17.87,0,0,0,12-4.82V188h-4a4,4,0,0,1,0-8h8a4,4,0,0,1,4,4ZM152,152v56a4,4,0,0,1-2.78,3.81A3.93,3.93,0,0,1,148,212a4,4,0,0,1-3.25-1.67L112,164.48V208a4,4,0,0,1-8,0V152a4,4,0,0,1,7.25-2.33L144,195.52V152a4,4,0,0,1,8,0Zm52-40a4,4,0,0,0,8,0V88a4,4,0,0,0-1.17-2.83l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52ZM156,84V41.65L198.34,84Z"}))]]),epe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M48,120a12,12,0,0,0,12-12V44h76V92a12,12,0,0,0,12,12h48v4a12,12,0,1,0,24,0V88a12,12,0,0,0-3.51-8.48l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40v68A12,12,0,0,0,48,120ZM183,80H160V57ZM87.78,196.8a24.72,24.72,0,0,1-10.94,18c-6,4-13.27,5.15-19.74,5.15a63.75,63.75,0,0,1-16.23-2.21,12,12,0,1,1,6.46-23.11c6.82,1.85,15,1.61,16.39.06a2.48,2.48,0,0,0,.21-.71c-1.94-1.23-6.82-2.64-9.88-3.53-5.39-1.56-11-3.17-15.75-6.26-7.62-4.92-11.21-12.45-10.1-21.19a24.44,24.44,0,0,1,10.68-17.76c6.07-4.09,14.17-5.82,24.1-5.17A69,69,0,0,1,75,142a12,12,0,0,1-6.1,23.21c-6.35-1.63-13.61-1.51-16.07-.33a79.69,79.69,0,0,0,7.92,2.59c5.47,1.58,11.67,3.37,16.8,6.82C85.33,179.53,89,187.53,87.78,196.8ZM155.3,156l-20,56a12,12,0,0,1-22.6,0l-20-56A12,12,0,1,1,115.3,148L124,172.3,132.7,148A12,12,0,1,1,155.3,156ZM224,188v12.87a12,12,0,0,1-3.33,8.3A34,34,0,0,1,196,220c-19.85,0-36-17.94-36-40s16.15-40,36-40a33.39,33.39,0,0,1,18.71,5.8,12,12,0,1,1-13.42,19.89A9.39,9.39,0,0,0,196,164c-6.5,0-12,7.33-12,16s5.5,16,12,16a9,9,0,0,0,2.7-.42A12,12,0,0,1,208,176h4A12,12,0,0,1,224,188Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,1,0,16,0V40h88V88a8,8,0,0,0,8,8h48v16a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160Zm-72.18,145a20.82,20.82,0,0,1-9.19,15.23C73.44,215,67,216,61.14,216A61.23,61.23,0,0,1,46,214a8,8,0,0,1,4.3-15.41c4.38,1.2,14.95,2.7,19.55-.36.88-.59,1.83-1.52,2.14-3.93.35-2.67-.71-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.11a20.55,20.55,0,0,1,9-14.95c11.84-8,30.72-3.31,32.83-2.76a8,8,0,0,1-4.07,15.48c-4.48-1.17-15.23-2.56-19.83.56a4.54,4.54,0,0,0-2,3.67c-.11.9-.14,1.09,1.12,1.9,2.31,1.49,6.44,2.68,10.45,3.84C73.5,174.17,90.06,179,87.82,196.31Zm63.72-41.62-20,56a8,8,0,0,1-15.07,0l-20-56a8,8,0,1,1,15.06-5.38L124,184.21l12.46-34.9a8,8,0,0,1,15.07,5.38ZM216,184v16.87a8,8,0,0,1-2.22,5.53A30.06,30.06,0,0,1,192,216c-17.64,0-32-16.15-32-36s14.36-36,32-36a29.38,29.38,0,0,1,16.48,5.12,8,8,0,0,1-8.95,13.26A13.27,13.27,0,0,0,192,160c-8.82,0-16,9-16,20s7.18,20,16,20a13.38,13.38,0,0,0,8-2.71V192a8,8,0,0,1,0-16h8A8,8,0,0,1,216,184Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76a4,4,0,0,0,4,4H212a4,4,0,0,0,4-4V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44ZM87.82,196.31a20.82,20.82,0,0,1-9.19,15.23C73.44,215,67,216,61.14,216A61.23,61.23,0,0,1,46,214a8,8,0,0,1,4.3-15.41c4.38,1.2,14.95,2.7,19.55-.36.88-.59,1.83-1.52,2.14-3.93.35-2.67-.71-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.11a20.55,20.55,0,0,1,9-14.95c11.84-8,30.72-3.31,32.83-2.76a8,8,0,0,1-4.07,15.48c-4.48-1.17-15.23-2.56-19.83.56a4.54,4.54,0,0,0-2,3.67c-.11.9-.14,1.09,1.12,1.9,2.31,1.49,6.44,2.68,10.45,3.84C73.5,174.17,90.06,179,87.82,196.31Zm63.72-41.62-19.9,55.72a8.25,8.25,0,0,1-6.5,5.51,8,8,0,0,1-8.67-5.23L96.59,155a8.21,8.21,0,0,1,4.5-10.45,8,8,0,0,1,10.45,4.76L124,184.21l12.46-34.9a8,8,0,0,1,15.07,5.38ZM216,184v16.87a8,8,0,0,1-2.26,5.57A30,30,0,0,1,192,216c-17.64,0-32-16.15-32-36s14.36-36,32-36a29.36,29.36,0,0,1,16.09,4.86,8.22,8.22,0,0,1,3,10.64,8,8,0,0,1-11.54,2.88A13.27,13.27,0,0,0,192,160c-8.82,0-16,9-16,20s7.18,20,16,20a13.38,13.38,0,0,0,8-2.71V192a8,8,0,0,1-8-8.53,8.18,8.18,0,0,1,8.26-7.47H208A8,8,0,0,1,216,184Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M212.24,83.75l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50v18a6,6,0,1,0,12,0V88A6,6,0,0,0,212.24,83.75ZM158,46.48,193.52,82H158ZM85.83,196.05a18.85,18.85,0,0,1-8.3,13.81C72.71,213.05,66.66,214,61.16,214a59.38,59.38,0,0,1-14.67-2,6,6,0,0,1,3.23-11.56c3.71,1,15.58,3.11,21.19-.62a6.85,6.85,0,0,0,3-5.34c.57-4.43-2.08-6.26-14.2-9.76-9.31-2.69-23.37-6.75-21.57-20.94a18.61,18.61,0,0,1,8.08-13.54c11.11-7.49,29.18-3,31.2-2.48a6,6,0,0,1-3,11.6c-3.79-1-15.85-2.95-21.45.84a6.59,6.59,0,0,0-2.88,5.08c-.41,3.22,2.14,4.78,13,7.91C72.93,176.08,87.85,180.39,85.83,196.05Zm63.82-42-20,56a6,6,0,0,1-11.3,0l-20-56a6,6,0,1,1,11.3-4L124,190.15,138.35,150a6,6,0,0,1,11.3,4ZM214,184v16.87a6,6,0,0,1-1.67,4.15A28.06,28.06,0,0,1,192,214c-16.54,0-30-15.25-30-34s13.46-34,30-34a27.43,27.43,0,0,1,15.36,4.77,6,6,0,0,1-6.72,10A15.25,15.25,0,0,0,192,158c-9.92,0-18,9.87-18,22s8.08,22,18,22a15.7,15.7,0,0,0,10-3.74V190h-2a6,6,0,0,1,0-12h8A6,6,0,0,1,214,184Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M87.82,196.31a20.82,20.82,0,0,1-9.19,15.23C73.44,215,67,216,61.14,216A61.23,61.23,0,0,1,46,214a8,8,0,0,1,4.3-15.41c4.38,1.2,14.95,2.7,19.55-.36.88-.59,1.83-1.52,2.14-3.93.35-2.67-.71-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.11a20.55,20.55,0,0,1,9-14.95c11.84-8,30.72-3.31,32.83-2.76a8,8,0,0,1-4.07,15.48c-4.48-1.17-15.23-2.56-19.83.56a4.54,4.54,0,0,0-2,3.67c-.11.9-.14,1.09,1.12,1.9,2.31,1.49,6.44,2.68,10.45,3.84C73.5,174.17,90.06,179,87.82,196.31ZM216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,1,1-16,0V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.65,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31Zm-13.3,64.47a8,8,0,0,0-10.23,4.84L124,184.21l-12.47-34.9a8,8,0,1,0-15.06,5.38l20,56a8,8,0,0,0,15.07,0l20-56A8,8,0,0,0,146.7,144.47ZM208,176h-8a8,8,0,0,0,0,16v5.29a13.38,13.38,0,0,1-8,2.71c-8.82,0-16-9-16-20s7.18-20,16-20a13.27,13.27,0,0,1,7.53,2.38,8,8,0,0,0,8.95-13.26A29.38,29.38,0,0,0,192,144c-17.64,0-32,16.15-32,36s14.36,36,32,36a30.06,30.06,0,0,0,21.78-9.6,8,8,0,0,0,2.22-5.53V184A8,8,0,0,0,208,176Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72a4,4,0,1,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52v20a4,4,0,0,0,8,0V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM83.85,195.8a17,17,0,0,1-7.43,12.41C72,211.12,66.38,212,61.2,212A57.89,57.89,0,0,1,47,210.11a4,4,0,1,1,2.15-7.7c4.22,1.17,16.56,3.29,22.83-.88a8.94,8.94,0,0,0,3.91-6.75c.83-6.45-4.38-8.69-15.64-11.94-9.68-2.8-21.72-6.28-20.14-18.77a16.66,16.66,0,0,1,7.22-12.13c4.56-3.07,11-4.36,19.1-3.82a61.11,61.11,0,0,1,10.47,1.61,4,4,0,0,1-2,7.74c-4.29-1.13-16.81-3.12-23.06,1.11a8.51,8.51,0,0,0-3.75,6.49c-.66,5.17,3.89,7,14.42,10.08C72.27,178,85.65,181.84,83.85,195.8Zm63.92-42.45-20,56a4,4,0,0,1-7.53,0l-20-56a4,4,0,1,1,7.53-2.7L124,196.11l16.23-45.46a4,4,0,1,1,7.53,2.7ZM212,184v16.87a4,4,0,0,1-1.11,2.77A26.11,26.11,0,0,1,192,212c-15.44,0-28-14.36-28-32s12.56-32,28-32a25.41,25.41,0,0,1,14.24,4.43,4,4,0,1,1-4.48,6.63A17.43,17.43,0,0,0,192,156c-11,0-20,10.77-20,24s9,24,20,24a17.87,17.87,0,0,0,12-4.82V188h-4a4,4,0,0,1,0-8h8A4,4,0,0,1,212,184Z"}))]]),tpe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216.49,79.51l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40v68a12,12,0,0,0,24,0V44h76V92a12,12,0,0,0,12,12h48V212H180a12,12,0,0,0,0,24h20a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.51ZM160,57l23,23H160Zm-4.22,139.85a24.75,24.75,0,0,1-10.95,18.06c-6,4-13.27,5.15-19.73,5.15a63.75,63.75,0,0,1-16.23-2.21,12,12,0,0,1,6.46-23.12c6.81,1.86,15,1.61,16.39.06a2.48,2.48,0,0,0,.21-.71c-1.94-1.23-6.83-2.64-9.88-3.52-5.39-1.56-11-3.18-15.75-6.27-7.62-4.92-11.21-12.45-10.11-21.2a24.45,24.45,0,0,1,10.69-17.75c6.06-4.09,14.17-5.83,24.1-5.18A68.53,68.53,0,0,1,143,142a12,12,0,0,1-6.1,23.21c-6.36-1.63-13.62-1.51-16.07-.33a79.5,79.5,0,0,0,7.91,2.59c5.48,1.58,11.68,3.37,16.8,6.82C153.33,179.55,157,187.55,155.78,196.82ZM92,152a12,12,0,0,1-12,12H72v44a12,12,0,0,1-24,0V164H40a12,12,0,0,1,0-24H80A12,12,0,0,1,92,152Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216H176a8,8,0,0,0,0,16h24a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160Zm-12.19,145a20.82,20.82,0,0,1-9.19,15.23C133.43,215,127,216,121.13,216A61.14,61.14,0,0,1,106,214a8,8,0,1,1,4.3-15.41c4.38,1.2,15,2.7,19.55-.36.88-.59,1.83-1.52,2.14-3.93.35-2.67-.71-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.11a20.56,20.56,0,0,1,9-14.95c11.84-8,30.71-3.31,32.83-2.76a8,8,0,0,1-4.07,15.48c-4.49-1.17-15.23-2.56-19.83.56a4.54,4.54,0,0,0-2,3.67c-.12.9-.14,1.09,1.11,1.9,2.31,1.49,6.45,2.68,10.45,3.84C133.49,174.17,150.05,179,147.81,196.31ZM88,152a8,8,0,0,1-8,8H68v48a8,8,0,0,1-16,0V160H40a8,8,0,0,1,0-16H80A8,8,0,0,1,88,152Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76a4,4,0,0,0,4,4H164a4,4,0,0,1,4,4V228a4,4,0,0,0,4,4h28a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Zm-4.19,108.31a20.82,20.82,0,0,1-9.19,15.23C133.43,215,127,216,121.13,216A61.14,61.14,0,0,1,106,214a8,8,0,1,1,4.3-15.41c4.38,1.2,15,2.7,19.55-.36.88-.59,1.83-1.52,2.14-3.93.35-2.67-.71-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.11a20.56,20.56,0,0,1,9-14.95c11.84-8,30.71-3.31,32.83-2.76a8,8,0,0,1-4.07,15.48c-4.49-1.17-15.23-2.56-19.83.56a4.54,4.54,0,0,0-2,3.67c-.12.9-.14,1.09,1.11,1.9,2.31,1.49,6.45,2.68,10.45,3.84C133.49,174.17,150.05,179,147.81,196.31ZM88,152.53A8.17,8.17,0,0,1,79.73,160H68v47.73A8.17,8.17,0,0,1,60.53,216,8,8,0,0,1,52,208V160H40.27A8.17,8.17,0,0,1,32,152.53,8,8,0,0,1,40,144H80A8,8,0,0,1,88,152.53Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216a2,2,0,0,1-2,2H176a6,6,0,0,0,0,12h24a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM145.83,196.06a18.89,18.89,0,0,1-8.31,13.81c-4.82,3.19-10.87,4.14-16.36,4.14a58.89,58.89,0,0,1-14.68-2,6,6,0,0,1,3.23-11.56c3.71,1,15.58,3.11,21.19-.62a6.85,6.85,0,0,0,3-5.34c.58-4.43-2.08-6.26-14.2-9.76-9.31-2.69-23.37-6.75-21.57-20.94a18.61,18.61,0,0,1,8.08-13.54c11.11-7.49,29.18-3,31.21-2.48a6,6,0,0,1-3.06,11.6c-3.78-1-15.85-3-21.45.84a6.59,6.59,0,0,0-2.88,5.08c-.41,3.22,2.14,4.78,13,7.91C132.92,176.09,147.84,180.4,145.83,196.06ZM86,152a6,6,0,0,1-6,6H66v50a6,6,0,0,1-12,0V158H40a6,6,0,0,1,0-12H80A6,6,0,0,1,86,152Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M147.81,196.31a20.82,20.82,0,0,1-9.19,15.23C133.43,215,127,216,121.13,216a61.34,61.34,0,0,1-15.19-2,8,8,0,0,1,4.31-15.41c4.38,1.2,15,2.7,19.55-.36.88-.59,1.83-1.52,2.14-3.93.34-2.67-.71-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.11a20.56,20.56,0,0,1,9-14.95c11.84-8,30.71-3.31,32.83-2.76a8,8,0,0,1-4.07,15.48c-4.49-1.17-15.23-2.56-19.83.56a4.54,4.54,0,0,0-2,3.67c-.12.9-.14,1.09,1.11,1.9,2.31,1.49,6.45,2.68,10.45,3.84C133.49,174.17,150.05,179,147.81,196.31ZM216,88V216a16,16,0,0,1-16,16H176a8,8,0,0,1,0-16h24V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31ZM80,144H40a8,8,0,0,0,0,16H52v48a8,8,0,0,0,16,0V160H80a8,8,0,0,0,0-16Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216a4,4,0,0,1-4,4H176a4,4,0,0,0,0,8h24a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM143.84,195.8a17,17,0,0,1-7.43,12.41c-4.39,2.91-10,3.77-15.22,3.77A57.89,57.89,0,0,1,107,210.11a4,4,0,0,1,2.15-7.7c4.22,1.17,16.56,3.29,22.83-.88a8.94,8.94,0,0,0,3.91-6.75c.83-6.45-4.38-8.69-15.64-11.94-9.68-2.8-21.72-6.28-20.14-18.77a16.66,16.66,0,0,1,7.22-12.13c4.56-3.07,11-4.36,19.1-3.82a61.33,61.33,0,0,1,10.48,1.61,4,4,0,0,1-2.05,7.74c-4.29-1.13-16.81-3.12-23.06,1.11a8.51,8.51,0,0,0-3.75,6.49c-.66,5.17,3.89,7,14.42,10.08C132.26,178,145.64,181.84,143.84,195.8ZM84,152a4,4,0,0,1-4,4H64v52a4,4,0,0,1-8,0V156H40a4,4,0,0,1,0-8H80A4,4,0,0,1,84,152Z"}))]]),npe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M221.76,201A12,12,0,1,1,202.23,215L192,200.62,181.76,215A12,12,0,1,1,162.23,201l15-21-15-21a12,12,0,0,1,19.53-14L192,159.34,202.23,145a12,12,0,0,1,19.53,14l-15,21Zm-80.25-26.73c-5.12-3.45-11.33-5.24-16.8-6.82a79.5,79.5,0,0,1-7.91-2.59c2.45-1.18,9.71-1.3,16.07.33A12,12,0,0,0,139,142a69,69,0,0,0-12-1.86c-9.93-.66-18,1.08-24.1,5.17a24.45,24.45,0,0,0-10.69,17.76c-1.1,8.74,2.48,16.27,10.11,21.19,4.78,3.09,10.36,4.7,15.75,6.26,3,.89,7.94,2.3,9.88,3.53a2.48,2.48,0,0,1-.21.71c-1.37,1.55-9.58,1.79-16.39-.06a12,12,0,1,0-6.46,23.11A63.75,63.75,0,0,0,121.1,220c6.46,0,13.73-1.17,19.73-5.15a24.73,24.73,0,0,0,10.95-18C153,187.53,149.33,179.53,141.51,174.27ZM76,140H36a12,12,0,0,0,0,24h8v44a12,12,0,0,0,24,0V164h8a12,12,0,0,0,0-24ZM36,108V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.51l56,56A12,12,0,0,1,220,88v20a12,12,0,1,1-24,0v-4H148a12,12,0,0,1-12-12V44H60v64a12,12,0,1,1-24,0ZM160,80h23L160,57Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),b.createElement("path",{d:"M214.51,156.65,197.83,180l16.68,23.35a8,8,0,0,1-13,9.3L188,193.76l-13.49,18.89a8,8,0,1,1-13-9.3L178.17,180l-16.68-23.35a8,8,0,0,1,13-9.3L188,166.24l13.49-18.89a8,8,0,0,1,13,9.3ZM123.6,171.31c-4-1.16-8.14-2.35-10.45-3.84-1.25-.82-1.23-1-1.11-1.9a4.54,4.54,0,0,1,2-3.67c4.6-3.12,15.34-1.73,19.83-.56A8,8,0,0,0,138,145.86c-2.12-.55-21-5.22-32.84,2.76a20.58,20.58,0,0,0-9,14.94c-2,15.89,13.65,20.42,23,23.12,12.06,3.49,13.12,4.92,12.78,7.59-.31,2.41-1.26,3.33-2.14,3.93-4.6,3.06-15.17,1.56-19.55.35A8,8,0,1,0,106,214a60.43,60.43,0,0,0,15.18,2c5.82,0,12.3-1,17.49-4.46a20.82,20.82,0,0,0,9.19-15.23C150,179,133.49,174.17,123.6,171.31ZM80,144H40a8,8,0,0,0,0,16H52v48a8,8,0,0,0,16,0V160H80a8,8,0,0,0,0-16ZM216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-27.31-8L160,51.31V80Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76a4,4,0,0,0,4,4H212a4,4,0,0,0,4-4V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Zm62.51,68.65L197.83,180l16.68,23.35a8,8,0,0,1-13,9.3L188,193.76l-13.49,18.89a8,8,0,1,1-13-9.3L178.17,180l-16.68-23.35a8,8,0,0,1,2.3-11.46,8.19,8.19,0,0,1,10.88,2.38L188,166.24l13.49-18.89a8,8,0,0,1,13,9.3Zm-66.7,39.66a20.82,20.82,0,0,1-9.19,15.23C133.43,215,127,216,121.13,216A60.43,60.43,0,0,1,106,214a8,8,0,1,1,4.3-15.41c4.38,1.21,15,2.71,19.55-.35.88-.6,1.83-1.52,2.14-3.93.34-2.67-.72-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.12a20.58,20.58,0,0,1,9-14.94c11.85-8,30.72-3.31,32.84-2.76a8,8,0,0,1-4.07,15.48c-4.49-1.17-15.23-2.56-19.83.56a4.54,4.54,0,0,0-2,3.67c-.12.9-.14,1.08,1.11,1.9,2.31,1.49,6.45,2.68,10.45,3.84C133.49,174.17,150,179,147.81,196.31ZM88,152.53A8.18,8.18,0,0,1,79.73,160H68v47.72A8.18,8.18,0,0,1,60.53,216,8,8,0,0,1,52,208V160H40.27A8.18,8.18,0,0,1,32,152.53,8,8,0,0,1,40,144H80A8,8,0,0,1,88,152.53Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M212.88,155.48,195.37,180l17.51,24.51a6,6,0,1,1-9.76,7L188,190.31l-15.12,21.16a6,6,0,1,1-9.76-7L180.63,180l-17.51-24.51a6,6,0,0,1,9.76-7L188,169.67l15.12-21.17a6,6,0,1,1,9.76,7Zm-89.83,17.74c-10.86-3.13-13.41-4.69-13-7.91a6.59,6.59,0,0,1,2.88-5.08c5.6-3.79,17.66-1.83,21.45-.84a6,6,0,0,0,3.06-11.6c-2-.53-20.1-5-31.21,2.48a18.61,18.61,0,0,0-8.08,13.54c-1.8,14.19,12.26,18.25,21.57,20.94,12.12,3.5,14.78,5.33,14.2,9.76a6.85,6.85,0,0,1-3,5.34c-5.61,3.73-17.48,1.64-21.19.62A6,6,0,0,0,106.48,212a59.41,59.41,0,0,0,14.68,2c5.49,0,11.54-.95,16.36-4.14a18.89,18.89,0,0,0,8.31-13.81C147.84,180.39,132.92,176.08,123.05,173.22ZM80,146H40a6,6,0,0,0,0,12H54v50a6,6,0,0,0,12,0V158H80a6,6,0,0,0,0-12ZM214,88v24a6,6,0,1,1-12,0V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2v72a6,6,0,1,1-12,0V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.25,1.76l56,56A6,6,0,0,1,214,88Zm-20.49-6L158,46.48V82Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M214.51,156.65,197.83,180l16.68,23.35a8,8,0,0,1-13,9.3L188,193.76l-13.49,18.89a8,8,0,1,1-13-9.3L178.17,180l-16.68-23.35a8,8,0,0,1,13-9.3L188,166.24l13.49-18.89a8,8,0,0,1,13,9.3ZM123.6,171.31c-4-1.16-8.14-2.35-10.45-3.84-1.25-.82-1.23-1-1.11-1.9a4.54,4.54,0,0,1,2-3.67c4.6-3.12,15.34-1.73,19.83-.56A8,8,0,0,0,138,145.86c-2.12-.55-21-5.22-32.84,2.76a20.58,20.58,0,0,0-9,14.95c-2,15.88,13.65,20.41,23,23.11,12.06,3.49,13.12,4.92,12.78,7.59-.31,2.41-1.26,3.33-2.14,3.93-4.6,3.06-15.17,1.56-19.55.35A8,8,0,0,0,105.94,214a60.63,60.63,0,0,0,15.19,2c5.82,0,12.3-1,17.49-4.46a20.82,20.82,0,0,0,9.19-15.23C150,179,133.49,174.17,123.6,171.31ZM80,144H40a8,8,0,0,0,0,16H52v48a8,8,0,0,0,16,0V160H80a8,8,0,0,0,0-16ZM216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-27.31-8L160,51.31V80Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M211.25,154.33,192.92,180l18.33,25.67a4,4,0,0,1-.93,5.58A3.91,3.91,0,0,1,208,212a4,4,0,0,1-3.26-1.67L188,186.88l-16.75,23.45a4,4,0,0,1-6.51-4.66L183.08,180l-18.34-25.67a4,4,0,0,1,6.51-4.66L188,173.12l16.74-23.45a4,4,0,0,1,6.51,4.66Zm-88.76,20.82c-10.53-3-15.08-4.91-14.42-10.08a8.51,8.51,0,0,1,3.75-6.49c6.25-4.23,18.77-2.24,23.06-1.11a4,4,0,0,0,2.05-7.74,61.33,61.33,0,0,0-10.48-1.61c-8.12-.54-14.54.75-19.1,3.82a16.66,16.66,0,0,0-7.22,12.13c-1.58,12.49,10.46,16,20.14,18.77,11.26,3.25,16.47,5.49,15.64,11.94a8.94,8.94,0,0,1-3.91,6.75c-6.27,4.17-18.61,2.05-22.83.88a4,4,0,1,0-2.15,7.7A57.89,57.89,0,0,0,121.19,212c5.18,0,10.83-.86,15.22-3.77a17,17,0,0,0,7.43-12.41C145.64,181.84,132.26,178,122.49,175.15ZM80,148H40a4,4,0,0,0,0,8H56v52a4,4,0,0,0,8,0V156H80a4,4,0,0,0,0-8ZM212,88v24a4,4,0,0,1-8,0V92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4v72a4,4,0,0,1-8,0V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88Zm-13.66-4L156,41.65V84Z"}))]]),rpe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M48,120a12,12,0,0,0,12-12V44h76V92a12,12,0,0,0,12,12h48v4a12,12,0,0,0,24,0V88a12,12,0,0,0-3.51-8.49l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40v68A12,12,0,0,0,48,120ZM183,80H160V57Zm-25.27,79-15,21,15,21A12,12,0,1,1,138.24,215L128,200.65,117.76,215A12,12,0,1,1,98.24,201l15-21-15-21A12,12,0,1,1,117.76,145L128,159.35,138.24,145A12,12,0,1,1,157.76,159ZM92,152a12,12,0,0,1-12,12H72v44a12,12,0,0,1-24,0V164H40a12,12,0,0,1,0-24H80A12,12,0,0,1,92,152Zm136,0a12,12,0,0,1-12,12h-8v44a12,12,0,0,1-24,0V164h-8a12,12,0,0,1,0-24h40A12,12,0,0,1,228,152Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),b.createElement("path",{d:"M48,120a8,8,0,0,0,8-8V40h88V88a8,8,0,0,0,8,8h48v16a8,8,0,0,0,16,0V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72A8,8,0,0,0,48,120ZM160,51.31,188.69,80H160Zm-5.49,105.34L137.83,180l16.68,23.35a8,8,0,0,1-13,9.3L128,193.76l-13.49,18.89a8,8,0,1,1-13-9.3L118.17,180l-16.68-23.35a8,8,0,1,1,13-9.3L128,166.24l13.49-18.89a8,8,0,0,1,13,9.3ZM92,152a8,8,0,0,1-8,8H72v48a8,8,0,0,1-16,0V160H44a8,8,0,0,1,0-16H84A8,8,0,0,1,92,152Zm128,0a8,8,0,0,1-8,8H200v48a8,8,0,0,1-16,0V160H172a8,8,0,0,1,0-16h40A8,8,0,0,1,220,152Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M154.31,156.92,137.83,180l16.53,23.14a8.18,8.18,0,0,1-1.22,11,8,8,0,0,1-11.65-1.48L128,193.76l-13.49,18.89a8,8,0,0,1-11.64,1.49,8.17,8.17,0,0,1-1.23-11L118.17,180l-16.48-23.08a8.22,8.22,0,0,1,1.46-11.28,8,8,0,0,1,11.36,1.71L128,166.24l13.49-18.89a8,8,0,0,1,11.36-1.71A8.22,8.22,0,0,1,154.31,156.92ZM84,144H44.27A8.18,8.18,0,0,0,36,151.47,8,8,0,0,0,44,160H56v47.73A8.17,8.17,0,0,0,63.47,216,8,8,0,0,0,72,208V160H83.73A8.18,8.18,0,0,0,92,152.53,8,8,0,0,0,84,144Zm128,0H172.27a8.18,8.18,0,0,0-8.25,7.47,8,8,0,0,0,8,8.53h12v47.73a8.17,8.17,0,0,0,7.47,8.25,8,8,0,0,0,8.53-8V160h11.73a8.18,8.18,0,0,0,8.25-7.47A8,8,0,0,0,212,144ZM40,116V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v28a4,4,0,0,1-4,4H44A4,4,0,0,1,40,116ZM152,88h44L152,44Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M48,118a6,6,0,0,0,6-6V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50v18a6,6,0,0,0,12,0V88a6,6,0,0,0-1.76-4.24l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72A6,6,0,0,0,48,118ZM158,46.48,193.52,82H158Zm-5.12,109L135.37,180l17.51,24.51a6,6,0,1,1-9.76,7L128,190.32l-15.12,21.17a6,6,0,0,1-9.76-7L120.63,180l-17.51-24.51a6,6,0,1,1,9.76-7L128,169.68l15.12-21.17a6,6,0,0,1,9.76,7ZM90,152a6,6,0,0,1-6,6H70v50a6,6,0,0,1-12,0V158H44a6,6,0,0,1,0-12H84A6,6,0,0,1,90,152Zm128,0a6,6,0,0,1-6,6H198v50a6,6,0,0,1-12,0V158H172a6,6,0,0,1,0-12h40A6,6,0,0,1,218,152Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M48,120a8,8,0,0,0,8-8V40h88V88a8,8,0,0,0,8,8h48v16a8,8,0,0,0,16,0V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72A8,8,0,0,0,48,120ZM160,51.31,188.69,80H160Zm-5.49,105.34L137.83,180l16.68,23.35a8,8,0,0,1-13,9.3L128,193.76l-13.49,18.89a8,8,0,1,1-13-9.3L118.17,180l-16.68-23.35a8,8,0,1,1,13-9.3L128,166.24l13.49-18.89a8,8,0,0,1,13,9.3ZM92,152a8,8,0,0,1-8,8H72v48a8,8,0,0,1-16,0V160H44a8,8,0,0,1,0-16H84A8,8,0,0,1,92,152Zm128,0a8,8,0,0,1-8,8H200v48a8,8,0,0,1-16,0V160H172a8,8,0,0,1,0-16h40A8,8,0,0,1,220,152Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M204,112a4,4,0,0,0,8,0V88a4,4,0,0,0-1.17-2.83l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52ZM156,41.65,198.34,84H156Zm-4.75,112.67L132.92,180l18.33,25.67a4,4,0,1,1-6.5,4.65L128,186.88l-16.75,23.44a4,4,0,1,1-6.5-4.65L123.08,180l-18.33-25.68a4,4,0,1,1,6.5-4.65L128,173.12l16.75-23.45a4,4,0,1,1,6.5,4.65ZM88,152a4,4,0,0,1-4,4H68v52a4,4,0,0,1-8,0V156H44a4,4,0,0,1,0-8H84A4,4,0,0,1,88,152Zm128,0a4,4,0,0,1-4,4H196v52a4,4,0,0,1-8,0V156H172a4,4,0,0,1,0-8h40A4,4,0,0,1,216,152Z"}))]]),ipe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216.49,79.51l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40v68a12,12,0,0,0,24,0V44h76V92a12,12,0,0,0,12,12h48V212a12,12,0,0,0,0,24h4a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.51ZM160,57l23,23H160Zm-1.91,84.69a12,12,0,0,0-11.92-.15L126.5,152.44A20,20,0,0,0,108,140H48a20,20,0,0,0-20,20v48a20,20,0,0,0,20,20h60a20,20,0,0,0,18.5-12.44l19.67,10.93A12,12,0,0,0,164,216V152A12,12,0,0,0,158.09,141.66ZM104,204H52V164h52Zm36-8.39-12-6.67v-9.88l12-6.67Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,88H152V32Zm-88,72a8,8,0,0,0-8-8H48a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V196l32,20V152l-32,20Z",opacity:"0.2"}),b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM155.88,145a8,8,0,0,0-8.12.22l-19.95,12.46A16,16,0,0,0,112,144H48a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h64a16,16,0,0,0,15.81-13.68l19.95,12.46A8,8,0,0,0,160,216V152A8,8,0,0,0,155.88,145ZM112,208H48V160h64v48Zm32-6.43-16-10V176.43l16-10Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM155.88,145a8,8,0,0,0-8.12.22l-19.95,12.46A16,16,0,0,0,112,144H48a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h64a16,16,0,0,0,15.81-13.68l19.95,12.46A8,8,0,0,0,160,216V152A8,8,0,0,0,155.88,145ZM144,201.57l-16-10V176.43l16-10Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216a2,2,0,0,1-2,2h-8a6,6,0,0,0,0,12h8a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158Zm-3.09,100.27a6,6,0,0,0-6.09.16L126,161.17V160a14,14,0,0,0-14-14H48a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h64a14,14,0,0,0,14-14v-1.17l22.82,14.26A6,6,0,0,0,158,216V152A6,6,0,0,0,154.91,146.75ZM114,208a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V160a2,2,0,0,1,2-2h64a2,2,0,0,1,2,2Zm32-2.83-20-12.5V175.33l20-12.5Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM155.88,145a8,8,0,0,0-8.12.22l-19.95,12.46A16,16,0,0,0,112,144H48a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h64a16,16,0,0,0,15.81-13.68l19.95,12.46A8,8,0,0,0,160,216V152A8,8,0,0,0,155.88,145ZM112,208H48V160h64v48Zm32-6.43-16-10V176.43l16-10Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216a4,4,0,0,1-4,4h-8a4,4,0,0,0,0,8h8a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM153.94,148.5a4,4,0,0,0-4.06.11L124,164.78V160a12,12,0,0,0-12-12H48a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12v-4.78l25.88,16.17A4,4,0,0,0,152,220a4.06,4.06,0,0,0,1.94-.5A4,4,0,0,0,156,216V152A4,4,0,0,0,153.94,148.5ZM116,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V160a4,4,0,0,1,4-4h64a4,4,0,0,1,4,4Zm32,.78-24-15V174.22l24-15Z"}))]]),spe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,36H40A20,20,0,0,0,20,56V200a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A20,20,0,0,0,216,36ZM44,100h72v56H44Zm96-24V60h24V76Zm-24,0H92V60h24Zm0,104v16H92V180Zm24,0h24v16H140Zm0-24V100h72v56Zm72-80H188V60h24ZM68,60V76H44V60ZM44,180H68v16H44Zm144,16V180h24v16Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M32,176H224v24a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8ZM216,48H40a8,8,0,0,0-8,8V80H224V56A8,8,0,0,0,216,48Z",opacity:"0.2"}),b.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM40,88h80v80H40Zm96-16V56h32V72Zm-16,0H88V56h32Zm0,112v16H88V184Zm16,0h32v16H136Zm0-16V88h80v80Zm80-96H184V56h32ZM72,56V72H40V56ZM40,184H72v16H40Zm176,16H184V184h32v16Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM184,56h32V72H184ZM72,200H40V184H72ZM72,72H40V56H72Zm48,128H88V184h32Zm0-128H88V56h32Zm48,128H136V184h32Zm0-128H136V56h32Zm48,128H184V184h32v16Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,42H40A14,14,0,0,0,26,56V200a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42ZM38,86h84v84H38Zm96-12V54h36V74Zm-12,0H86V54h36Zm0,108v20H86V182Zm12,0h36v20H134Zm0-12V86h84v84ZM218,56V74H182V54h34A2,2,0,0,1,218,56ZM40,54H74V74H38V56A2,2,0,0,1,40,54ZM38,200V182H74v20H40A2,2,0,0,1,38,200Zm178,2H182V182h36v18A2,2,0,0,1,216,202Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM40,88h80v80H40Zm96-16V56h32V72Zm-16,0H88V56h32Zm0,112v16H88V184Zm16,0h32v16H136Zm0-16V88h80v80Zm80-96H184V56h32ZM72,56V72H40V56ZM40,184H72v16H40Zm176,16H184V184h32v16Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,44H40A12,12,0,0,0,28,56V200a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44ZM36,84h88v88H36Zm96-8V52h40V76Zm-8,0H84V52h40Zm0,104v24H84V180Zm8,0h40v24H132Zm0-8V84h88v88ZM220,56V76H180V52h36A4,4,0,0,1,220,56ZM40,52H76V76H36V56A4,4,0,0,1,40,52ZM36,200V180H76v24H40A4,4,0,0,1,36,200Zm180,4H180V180h40v20A4,4,0,0,1,216,204Z"}))]]),ape=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,68H132L105.33,48a20.12,20.12,0,0,0-12-4H40A20,20,0,0,0,20,64V200a20,20,0,0,0,20,20H216.89A19.13,19.13,0,0,0,236,200.89V88A20,20,0,0,0,216,68Zm-4,128H44V68H92l28.8,21.6A12,12,0,0,0,128,92h84Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M224,88V200.89a7.11,7.11,0,0,1-7.11,7.11H40a8,8,0,0,1-8-8V64a8,8,0,0,1,8-8H93.33a8,8,0,0,1,4.8,1.6L128,80h88A8,8,0,0,1,224,88Z",opacity:"0.2"}),b.createElement("path",{d:"M216,72H130.67L102.93,51.2a16.12,16.12,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V200a16,16,0,0,0,16,16H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72Zm0,128H40V64H93.33L123.2,86.4A8,8,0,0,0,128,88h88Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M232,88V200.89A15.13,15.13,0,0,1,216.89,216H40a16,16,0,0,1-16-16V64A16,16,0,0,1,40,48H93.33a16.12,16.12,0,0,1,9.6,3.2L130.67,72H216A16,16,0,0,1,232,88Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,74H130L101.73,52.8a14,14,0,0,0-8.4-2.8H40A14,14,0,0,0,26,64V200a14,14,0,0,0,14,14H216.89A13.12,13.12,0,0,0,230,200.89V88A14,14,0,0,0,216,74Zm2,126.89a1.11,1.11,0,0,1-1.11,1.11H40a2,2,0,0,1-2-2V64a2,2,0,0,1,2-2H93.33a2,2,0,0,1,1.2.4L124.4,84.8A6,6,0,0,0,128,86h88a2,2,0,0,1,2,2Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,72H130.67L102.93,51.2a16.12,16.12,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V200a16,16,0,0,0,16,16H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72Zm0,128H40V64H93.33L123.2,86.4A8,8,0,0,0,128,88h88Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,76H129.33l-28.8-21.6a12.05,12.05,0,0,0-7.2-2.4H40A12,12,0,0,0,28,64V200a12,12,0,0,0,12,12H216.89A11.12,11.12,0,0,0,228,200.89V88A12,12,0,0,0,216,76Zm4,124.89a3.12,3.12,0,0,1-3.11,3.11H40a4,4,0,0,1-4-4V64a4,4,0,0,1,4-4H93.33a4,4,0,0,1,2.4.8L125.6,83.2a4,4,0,0,0,2.4.8h88a4,4,0,0,1,4,4Z"}))]]),ope=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,68H132L105.33,48a20.12,20.12,0,0,0-12-4H40A20,20,0,0,0,20,64V200a20,20,0,0,0,20,20H216.89A19.13,19.13,0,0,0,236,200.89V88A20,20,0,0,0,216,68Zm-4,128H44V68H92l28.8,21.6A12,12,0,0,0,128,92h84Zm-84-88a12,12,0,0,1,12,12v12h12a12,12,0,0,1,0,24H140v12a12,12,0,0,1-24,0V156H104a12,12,0,0,1,0-24h12V120A12,12,0,0,1,128,108Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M224,88V200.89a7.11,7.11,0,0,1-7.11,7.11H40a8,8,0,0,1-8-8V64a8,8,0,0,1,8-8H93.33a8,8,0,0,1,4.8,1.6L128,80h88A8,8,0,0,1,224,88Z",opacity:"0.2"}),b.createElement("path",{d:"M216,72H130.67L102.93,51.2a16.12,16.12,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V200a16,16,0,0,0,16,16H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72Zm0,128H40V64H93.33L123.2,86.4A8,8,0,0,0,128,88h88Zm-56-56a8,8,0,0,1-8,8H136v16a8,8,0,0,1-16,0V152H104a8,8,0,0,1,0-16h16V120a8,8,0,0,1,16,0v16h16A8,8,0,0,1,160,144Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,72H130.67L102.93,51.2a16.12,16.12,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V200a16,16,0,0,0,16,16H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72Zm-64,80H136v16a8,8,0,0,1-16,0V152H104a8,8,0,0,1,0-16h16V120a8,8,0,0,1,16,0v16h16a8,8,0,0,1,0,16Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,74H130L101.73,52.8a14,14,0,0,0-8.4-2.8H40A14,14,0,0,0,26,64V200a14,14,0,0,0,14,14H216.89A13.12,13.12,0,0,0,230,200.89V88A14,14,0,0,0,216,74Zm2,126.89a1.11,1.11,0,0,1-1.11,1.11H40a2,2,0,0,1-2-2V64a2,2,0,0,1,2-2H93.33a2,2,0,0,1,1.2.4L124.4,84.8A6,6,0,0,0,128,86h88a2,2,0,0,1,2,2ZM158,144a6,6,0,0,1-6,6H134v18a6,6,0,0,1-12,0V150H104a6,6,0,0,1,0-12h18V120a6,6,0,0,1,12,0v18h18A6,6,0,0,1,158,144Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,72H130.67L102.93,51.2a16.12,16.12,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V200a16,16,0,0,0,16,16H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72Zm0,128H40V64H93.33L123.2,86.4A8,8,0,0,0,128,88h88Zm-56-56a8,8,0,0,1-8,8H136v16a8,8,0,0,1-16,0V152H104a8,8,0,0,1,0-16h16V120a8,8,0,0,1,16,0v16h16A8,8,0,0,1,160,144Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,76H129.33l-28.8-21.6a12.05,12.05,0,0,0-7.2-2.4H40A12,12,0,0,0,28,64V200a12,12,0,0,0,12,12H216.89A11.12,11.12,0,0,0,228,200.89V88A12,12,0,0,0,216,76Zm4,124.89a3.12,3.12,0,0,1-3.11,3.11H40a4,4,0,0,1-4-4V64a4,4,0,0,1,4-4H93.33a4,4,0,0,1,2.4.8L125.6,83.2a4,4,0,0,0,2.4.8h88a4,4,0,0,1,4,4ZM156,144a4,4,0,0,1-4,4H132v20a4,4,0,0,1-8,0V148H104a4,4,0,0,1,0-8h20V120a4,4,0,0,1,8,0v20h20A4,4,0,0,1,156,144Z"}))]]),lpe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm92-27.21v-1.58l14-17.51a12,12,0,0,0,2.23-10.59A111.75,111.75,0,0,0,225,71.89,12,12,0,0,0,215.89,66L193.61,63.5l-1.11-1.11L190,40.1A12,12,0,0,0,184.11,31a111.67,111.67,0,0,0-27.23-11.27A12,12,0,0,0,146.3,22L128.79,36h-1.58L109.7,22a12,12,0,0,0-10.59-2.23A111.75,111.75,0,0,0,71.89,31.05,12,12,0,0,0,66,40.11L63.5,62.39,62.39,63.5,40.1,66A12,12,0,0,0,31,71.89,111.67,111.67,0,0,0,19.77,99.12,12,12,0,0,0,22,109.7l14,17.51v1.58L22,146.3a12,12,0,0,0-2.23,10.59,111.75,111.75,0,0,0,11.29,27.22A12,12,0,0,0,40.11,190l22.28,2.48,1.11,1.11L66,215.9A12,12,0,0,0,71.89,225a111.67,111.67,0,0,0,27.23,11.27A12,12,0,0,0,109.7,234l17.51-14h1.58l17.51,14a12,12,0,0,0,10.59,2.23A111.75,111.75,0,0,0,184.11,225a12,12,0,0,0,5.91-9.06l2.48-22.28,1.11-1.11L215.9,190a12,12,0,0,0,9.06-5.91,111.67,111.67,0,0,0,11.27-27.23A12,12,0,0,0,234,146.3Zm-24.12-4.89a70.1,70.1,0,0,1,0,8.2,12,12,0,0,0,2.61,8.22l12.84,16.05A86.47,86.47,0,0,1,207,166.86l-20.43,2.27a12,12,0,0,0-7.65,4,69,69,0,0,1-5.8,5.8,12,12,0,0,0-4,7.65L166.86,207a86.47,86.47,0,0,1-10.49,4.35l-16.05-12.85a12,12,0,0,0-7.5-2.62c-.24,0-.48,0-.72,0a70.1,70.1,0,0,1-8.2,0,12.06,12.06,0,0,0-8.22,2.6L99.63,211.33A86.47,86.47,0,0,1,89.14,207l-2.27-20.43a12,12,0,0,0-4-7.65,69,69,0,0,1-5.8-5.8,12,12,0,0,0-7.65-4L49,166.86a86.47,86.47,0,0,1-4.35-10.49l12.84-16.05a12,12,0,0,0,2.61-8.22,70.1,70.1,0,0,1,0-8.2,12,12,0,0,0-2.61-8.22L44.67,99.63A86.47,86.47,0,0,1,49,89.14l20.43-2.27a12,12,0,0,0,7.65-4,69,69,0,0,1,5.8-5.8,12,12,0,0,0,4-7.65L89.14,49a86.47,86.47,0,0,1,10.49-4.35l16.05,12.85a12.06,12.06,0,0,0,8.22,2.6,70.1,70.1,0,0,1,8.2,0,12,12,0,0,0,8.22-2.6l16.05-12.85A86.47,86.47,0,0,1,166.86,49l2.27,20.43a12,12,0,0,0,4,7.65,69,69,0,0,1,5.8,5.8,12,12,0,0,0,7.65,4L207,89.14a86.47,86.47,0,0,1,4.35,10.49l-12.84,16.05A12,12,0,0,0,195.88,123.9Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M207.86,123.18l16.78-21a99.14,99.14,0,0,0-10.07-24.29l-26.7-3a81,81,0,0,0-6.81-6.81l-3-26.71a99.43,99.43,0,0,0-24.3-10l-21,16.77a81.59,81.59,0,0,0-9.64,0l-21-16.78A99.14,99.14,0,0,0,77.91,41.43l-3,26.7a81,81,0,0,0-6.81,6.81l-26.71,3a99.43,99.43,0,0,0-10,24.3l16.77,21a81.59,81.59,0,0,0,0,9.64l-16.78,21a99.14,99.14,0,0,0,10.07,24.29l26.7,3a81,81,0,0,0,6.81,6.81l3,26.71a99.43,99.43,0,0,0,24.3,10l21-16.77a81.59,81.59,0,0,0,9.64,0l21,16.78a99.14,99.14,0,0,0,24.29-10.07l3-26.7a81,81,0,0,0,6.81-6.81l26.71-3a99.43,99.43,0,0,0,10-24.3l-16.77-21A81.59,81.59,0,0,0,207.86,123.18ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),b.createElement("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8.06,8.06,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8.06,8.06,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162ZM214,130.84c.06-1.89.06-3.79,0-5.68L229.33,106a6,6,0,0,0,1.11-5.29A105.34,105.34,0,0,0,219.76,74.9a6,6,0,0,0-4.53-3l-24.45-2.71q-1.93-2.07-4-4l-2.72-24.46a6,6,0,0,0-3-4.53,105.65,105.65,0,0,0-25.77-10.66A6,6,0,0,0,150,26.68l-19.2,15.37c-1.89-.06-3.79-.06-5.68,0L106,26.67a6,6,0,0,0-5.29-1.11A105.34,105.34,0,0,0,74.9,36.24a6,6,0,0,0-3,4.53L69.23,65.22q-2.07,1.94-4,4L40.76,72a6,6,0,0,0-4.53,3,105.65,105.65,0,0,0-10.66,25.77A6,6,0,0,0,26.68,106l15.37,19.2c-.06,1.89-.06,3.79,0,5.68L26.67,150.05a6,6,0,0,0-1.11,5.29A105.34,105.34,0,0,0,36.24,181.1a6,6,0,0,0,4.53,3l24.45,2.71q1.94,2.07,4,4L72,215.24a6,6,0,0,0,3,4.53,105.65,105.65,0,0,0,25.77,10.66,6,6,0,0,0,5.29-1.11L125.16,214c1.89.06,3.79.06,5.68,0l19.21,15.38a6,6,0,0,0,3.75,1.31,6.2,6.2,0,0,0,1.54-.2,105.34,105.34,0,0,0,25.76-10.68,6,6,0,0,0,3-4.53l2.71-24.45q2.07-1.93,4-4l24.46-2.72a6,6,0,0,0,4.53-3,105.49,105.49,0,0,0,10.66-25.77,6,6,0,0,0-1.11-5.29Zm-3.1,41.63-23.64,2.63a6,6,0,0,0-3.82,2,75.14,75.14,0,0,1-6.31,6.31,6,6,0,0,0-2,3.82l-2.63,23.63A94.28,94.28,0,0,1,155.14,218l-18.57-14.86a6,6,0,0,0-3.75-1.31h-.36a78.07,78.07,0,0,1-8.92,0,6,6,0,0,0-4.11,1.3L100.87,218a94.13,94.13,0,0,1-17.34-7.17L80.9,187.21a6,6,0,0,0-2-3.82,75.14,75.14,0,0,1-6.31-6.31,6,6,0,0,0-3.82-2l-23.63-2.63A94.28,94.28,0,0,1,38,155.14l14.86-18.57a6,6,0,0,0,1.3-4.11,78.07,78.07,0,0,1,0-8.92,6,6,0,0,0-1.3-4.11L38,100.87a94.13,94.13,0,0,1,7.17-17.34L68.79,80.9a6,6,0,0,0,3.82-2,75.14,75.14,0,0,1,6.31-6.31,6,6,0,0,0,2-3.82l2.63-23.63A94.28,94.28,0,0,1,100.86,38l18.57,14.86a6,6,0,0,0,4.11,1.3,78.07,78.07,0,0,1,8.92,0,6,6,0,0,0,4.11-1.3L155.13,38a94.13,94.13,0,0,1,17.34,7.17l2.63,23.64a6,6,0,0,0,2,3.82,75.14,75.14,0,0,1,6.31,6.31,6,6,0,0,0,3.82,2l23.63,2.63A94.28,94.28,0,0,1,218,100.86l-14.86,18.57a6,6,0,0,0-1.3,4.11,78.07,78.07,0,0,1,0,8.92,6,6,0,0,0,1.3,4.11L218,155.13A94.13,94.13,0,0,1,210.85,172.47Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm83.93-32.49q.13-3.51,0-7l15.83-19.79a4,4,0,0,0,.75-3.53A103.64,103.64,0,0,0,218,75.9a4,4,0,0,0-3-2l-25.19-2.8c-1.58-1.71-3.24-3.37-4.95-4.95L182.07,41a4,4,0,0,0-2-3A104,104,0,0,0,154.82,27.5a4,4,0,0,0-3.53.74L131.51,44.07q-3.51-.14-7,0L104.7,28.24a4,4,0,0,0-3.53-.75A103.64,103.64,0,0,0,75.9,38a4,4,0,0,0-2,3l-2.8,25.19c-1.71,1.58-3.37,3.24-4.95,4.95L41,73.93a4,4,0,0,0-3,2A104,104,0,0,0,27.5,101.18a4,4,0,0,0,.74,3.53l15.83,19.78q-.14,3.51,0,7L28.24,151.3a4,4,0,0,0-.75,3.53A103.64,103.64,0,0,0,38,180.1a4,4,0,0,0,3,2l25.19,2.8c1.58,1.71,3.24,3.37,4.95,4.95l2.8,25.2a4,4,0,0,0,2,3,104,104,0,0,0,25.28,10.46,4,4,0,0,0,3.53-.74l19.78-15.83q3.51.13,7,0l19.79,15.83a4,4,0,0,0,2.5.88,4,4,0,0,0,1-.13A103.64,103.64,0,0,0,180.1,218a4,4,0,0,0,2-3l2.8-25.19c1.71-1.58,3.37-3.24,4.95-4.95l25.2-2.8a4,4,0,0,0,3-2,104,104,0,0,0,10.46-25.28,4,4,0,0,0-.74-3.53Zm.17,42.83-24.67,2.74a4,4,0,0,0-2.55,1.32,76.2,76.2,0,0,1-6.48,6.48,4,4,0,0,0-1.32,2.55l-2.74,24.66a95.45,95.45,0,0,1-19.64,8.15l-19.38-15.51a4,4,0,0,0-2.5-.87h-.24a73.67,73.67,0,0,1-9.16,0,4,4,0,0,0-2.74.87l-19.37,15.5a95.33,95.33,0,0,1-19.65-8.13l-2.74-24.67a4,4,0,0,0-1.32-2.55,76.2,76.2,0,0,1-6.48-6.48,4,4,0,0,0-2.55-1.32l-24.66-2.74a95.45,95.45,0,0,1-8.15-19.64l15.51-19.38a4,4,0,0,0,.87-2.74,77.76,77.76,0,0,1,0-9.16,4,4,0,0,0-.87-2.74l-15.5-19.37A95.33,95.33,0,0,1,43.9,81.66l24.67-2.74a4,4,0,0,0,2.55-1.32,76.2,76.2,0,0,1,6.48-6.48,4,4,0,0,0,1.32-2.55l2.74-24.66a95.45,95.45,0,0,1,19.64-8.15l19.38,15.51a4,4,0,0,0,2.74.87,73.67,73.67,0,0,1,9.16,0,4,4,0,0,0,2.74-.87l19.37-15.5a95.33,95.33,0,0,1,19.65,8.13l2.74,24.67a4,4,0,0,0,1.32,2.55,76.2,76.2,0,0,1,6.48,6.48,4,4,0,0,0,2.55,1.32l24.66,2.74a95.45,95.45,0,0,1,8.15,19.64l-15.51,19.38a4,4,0,0,0-.87,2.74,77.76,77.76,0,0,1,0,9.16,4,4,0,0,0,.87,2.74l15.5,19.37A95.33,95.33,0,0,1,212.1,174.34Z"}))]]),cpe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,36H56A20,20,0,0,0,36,56V200a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V56A20,20,0,0,0,200,36Zm-4,80H140V60h56ZM116,60v56H60V60ZM60,140h56v56H60Zm80,56V140h56v56Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,56V200a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H200A8,8,0,0,1,208,56Z",opacity:"0.2"}),b.createElement("path",{d:"M200,40H56A16,16,0,0,0,40,56V200a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,80H136V56h64ZM120,56v64H56V56ZM56,136h64v64H56Zm144,64H136V136h64v64Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,56v60a4,4,0,0,1-4,4H136V44a4,4,0,0,1,4-4h60A16,16,0,0,1,216,56ZM116,40H56A16,16,0,0,0,40,56v60a4,4,0,0,0,4,4h76V44A4,4,0,0,0,116,40Zm96,96H136v76a4,4,0,0,0,4,4h60a16,16,0,0,0,16-16V140A4,4,0,0,0,212,136ZM40,140v60a16,16,0,0,0,16,16h60a4,4,0,0,0,4-4V136H44A4,4,0,0,0,40,140Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,42H56A14,14,0,0,0,42,56V200a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V56A14,14,0,0,0,200,42Zm2,14v66H134V54h66A2,2,0,0,1,202,56ZM56,54h66v68H54V56A2,2,0,0,1,56,54ZM54,200V134h68v68H56A2,2,0,0,1,54,200Zm146,2H134V134h68v66A2,2,0,0,1,200,202Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,40H56A16,16,0,0,0,40,56V200a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,80H136V56h64ZM120,56v64H56V56ZM56,136h64v64H56Zm144,64H136V136h64v64Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,44H56A12,12,0,0,0,44,56V200a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V56A12,12,0,0,0,200,44Zm4,12v68H132V52h68A4,4,0,0,1,204,56ZM56,52h68v72H52V56A4,4,0,0,1,56,52ZM52,200V132h72v72H56A4,4,0,0,1,52,200Zm148,4H132V132h72v68A4,4,0,0,1,200,204Z"}))]]),upe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M144,96a16,16,0,1,1,16,16A16,16,0,0,1,144,96Zm92-40V200a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56ZM44,60v79.72l33.86-33.86a20,20,0,0,1,28.28,0L147.31,147l17.18-17.17a20,20,0,0,1,28.28,0L212,149.09V60Zm0,136H162.34L92,125.66l-48,48Zm168,0V183l-33.37-33.37L164.28,164l32,32Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M224,56V178.06l-39.72-39.72a8,8,0,0,0-11.31,0L147.31,164,97.66,114.34a8,8,0,0,0-11.32,0L32,168.69V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"}),b.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V158.75l-26.07-26.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L40,149.37V56ZM40,172l52-52,80,80H40Zm176,28H194.63l-36-36,20-20L216,181.38V200ZM144,100a12,12,0,1,1,12,12A12,12,0,0,1,144,100Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM156,88a12,12,0,1,1-12,12A12,12,0,0,1,156,88Zm60,112H40V160.69l46.34-46.35a8,8,0,0,1,11.32,0h0L165,181.66a8,8,0,0,0,11.32-11.32l-17.66-17.65L173,138.34a8,8,0,0,1,11.31,0L216,170.07V200Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,42H40A14,14,0,0,0,26,56V200a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42ZM40,54H216a2,2,0,0,1,2,2V163.57L188.53,134.1a14,14,0,0,0-19.8,0l-21.42,21.42L101.9,110.1a14,14,0,0,0-19.8,0L38,154.2V56A2,2,0,0,1,40,54ZM38,200V171.17l52.58-52.58a2,2,0,0,1,2.84,0L176.83,202H40A2,2,0,0,1,38,200Zm178,2H193.8l-38-38,21.41-21.42a2,2,0,0,1,2.83,0l38,38V200A2,2,0,0,1,216,202ZM146,100a10,10,0,1,1,10,10A10,10,0,0,1,146,100Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V158.75l-26.07-26.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L40,149.37V56ZM40,172l52-52,80,80H40Zm176,28H194.63l-36-36,20-20L216,181.38V200ZM144,100a12,12,0,1,1,12,12A12,12,0,0,1,144,100Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,44H40A12,12,0,0,0,28,56V200a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44ZM40,52H216a4,4,0,0,1,4,4V168.4l-32.89-32.89a12,12,0,0,0-17,0l-22.83,22.83-46.82-46.83a12,12,0,0,0-17,0L36,159V56A4,4,0,0,1,40,52ZM36,200V170.34l53.17-53.17a4,4,0,0,1,5.66,0L181.66,204H40A4,4,0,0,1,36,200Zm180,4H193l-40-40,22.83-22.83a4,4,0,0,1,5.66,0L220,179.71V200A4,4,0,0,1,216,204ZM148,100a8,8,0,1,1,8,8A8,8,0,0,1,148,100Z"}))]]),hpe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M219.71,117.38a12,12,0,0,0-7.25-8.52L161.28,88.39l10.59-70.61a12,12,0,0,0-20.64-10l-112,120a12,12,0,0,0,4.31,19.33l51.18,20.47L84.13,238.22a12,12,0,0,0,20.64,10l112-120A12,12,0,0,0,219.71,117.38ZM113.6,203.55l6.27-41.77a12,12,0,0,0-7.41-12.92L68.74,131.37,142.4,52.45l-6.27,41.77a12,12,0,0,0,7.41,12.92l43.72,17.49Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M96,240l16-80L48,136,160,16,144,96l64,24Z",opacity:"0.2"}),b.createElement("path",{d:"M215.79,118.17a8,8,0,0,0-5-5.66L153.18,90.9l14.66-73.33a8,8,0,0,0-13.69-7l-112,120a8,8,0,0,0,3,13l57.63,21.61L88.16,238.43a8,8,0,0,0,13.69,7l112-120A8,8,0,0,0,215.79,118.17ZM109.37,214l10.47-52.38a8,8,0,0,0-5-9.06L62,132.71l84.62-90.66L136.16,94.43a8,8,0,0,0,5,9.06l52.8,19.8Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M213.85,125.46l-112,120a8,8,0,0,1-13.69-7l14.66-73.33L45.19,143.49a8,8,0,0,1-3-13l112-120a8,8,0,0,1,13.69,7L153.18,90.9l57.63,21.61a8,8,0,0,1,3,12.95Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M213.84,118.63a6,6,0,0,0-3.73-4.25L150.88,92.17l15-75a6,6,0,0,0-10.27-5.27l-112,120a6,6,0,0,0,2.28,9.71l59.23,22.21-15,75a6,6,0,0,0,3.14,6.52A6.07,6.07,0,0,0,96,246a6,6,0,0,0,4.39-1.91l112-120A6,6,0,0,0,213.84,118.63ZM106,220.46l11.85-59.28a6,6,0,0,0-3.77-6.8l-55.6-20.85,91.46-98L138.12,94.82a6,6,0,0,0,3.77,6.8l55.6,20.85Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M215.79,118.17a8,8,0,0,0-5-5.66L153.18,90.9l14.66-73.33a8,8,0,0,0-13.69-7l-112,120a8,8,0,0,0,3,13l57.63,21.61L88.16,238.43a8,8,0,0,0,13.69,7l112-120A8,8,0,0,0,215.79,118.17ZM109.37,214l10.47-52.38a8,8,0,0,0-5-9.06L62,132.71l84.62-90.66L136.16,94.43a8,8,0,0,0,5,9.06l52.8,19.8Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M211.89,119.09a4,4,0,0,0-2.49-2.84l-60.81-22.8,15.33-76.67a4,4,0,0,0-6.84-3.51l-112,120a4,4,0,0,0-1,3.64,4,4,0,0,0,2.49,2.84l60.81,22.8L92.08,239.22a4,4,0,0,0,6.84,3.51l112-120A4,4,0,0,0,211.89,119.09ZM102.68,227l13.24-66.2a4,4,0,0,0-2.52-4.53L55,134.36,153.32,29l-13.24,66.2a4,4,0,0,0,2.52,4.53L201,121.64Z"}))]]),fpe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,36H160a20,20,0,0,0-20,20v88a12,12,0,0,1-24,0V56A20,20,0,0,0,96,36H56A20,20,0,0,0,36,56v88a92,92,0,0,0,92,92h.71c50.34-.38,91.3-42.1,91.3-93V56A20,20,0,0,0,200,36Zm-4,24V84H164V60ZM92,60V84H60V60Zm36.52,152H128a68,68,0,0,1-68-68V108H92v36a36,36,0,0,0,72,0V108h32v35C196,180.77,165.73,211.72,128.52,212Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M104,56V96H48V56a8,8,0,0,1,8-8H96A8,8,0,0,1,104,56Zm96-8H160a8,8,0,0,0-8,8V96h56V56A8,8,0,0,0,200,48Z",opacity:"0.2"}),b.createElement("path",{d:"M200,40H160a16,16,0,0,0-16,16v88a16,16,0,0,1-32,0V56A16,16,0,0,0,96,40H56A16,16,0,0,0,40,56v88a88,88,0,0,0,88,88h.67c48.15-.36,87.33-40.29,87.33-89V56A16,16,0,0,0,200,40Zm0,16V88H160V56ZM96,56V88H56V56Zm32.55,160A72,72,0,0,1,56,144V104H96v40a32,32,0,0,0,64,0V104h40v39C200,183,168,215.71,128.55,216Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,40H160a16,16,0,0,0-16,16v88a16,16,0,0,1-32,0V56A16,16,0,0,0,96,40H56A16,16,0,0,0,40,56v88a88,88,0,0,0,88,88h.67c48.15-.36,87.33-40.29,87.33-89V56A16,16,0,0,0,200,40Zm0,16V96H160V56ZM96,56V96H56V56Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,42H160a14,14,0,0,0-14,14v88a18,18,0,0,1-36,0V56A14,14,0,0,0,96,42H56A14,14,0,0,0,42,56v88a86,86,0,0,0,86,86h.65c47.06-.35,85.35-39.38,85.35-87V56A14,14,0,0,0,200,42ZM160,54h40a2,2,0,0,1,2,2V90H158V56A2,2,0,0,1,160,54ZM56,54H96a2,2,0,0,1,2,2V90H54V56A2,2,0,0,1,56,54Zm72.56,164H128a74,74,0,0,1-74-74V102H98v42a30,30,0,0,0,60,0V102h44v41C202,184.05,169.06,217.7,128.56,218Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,40H160a16,16,0,0,0-16,16v88a16,16,0,0,1-32,0V56A16,16,0,0,0,96,40H56A16,16,0,0,0,40,56v88a88,88,0,0,0,88,88h.67c48.15-.36,87.33-40.29,87.33-89V56A16,16,0,0,0,200,40Zm0,16V88H160V56ZM96,56V88H56V56Zm32.55,160A72,72,0,0,1,56,144V104H96v40a32,32,0,0,0,64,0V104h40v39C200,183,168,215.71,128.55,216Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,44H160a12,12,0,0,0-12,12v88a20,20,0,0,1-40,0V56A12,12,0,0,0,96,44H56A12,12,0,0,0,44,56v88a84,84,0,0,0,84,84h.64c46-.34,83.36-38.47,83.36-85V56A12,12,0,0,0,200,44Zm-40,8h40a4,4,0,0,1,4,4V92H156V56A4,4,0,0,1,160,52ZM56,52H96a4,4,0,0,1,4,4V92H52V56A4,4,0,0,1,56,52Zm72.58,168H128a76,76,0,0,1-76-76V100h48v44a28,28,0,0,0,56,0V100h48v43C204,185.15,170.17,219.69,128.58,220Z"}))]]),dpe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),b.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H72a8,8,0,0,1,0-16H184a8,8,0,0,1,0,16Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128Z"}))]]),ppe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M211.45,52.51l-80-24A12,12,0,0,0,116,40V140.22A52,52,0,1,0,140,184V104.13l64.55,19.36A12,12,0,0,0,220,112V64A12,12,0,0,0,211.45,52.51ZM88,212a28,28,0,1,1,28-28A28,28,0,0,1,88,212ZM196,95.87l-56-16.8V56.13l56,16.8Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M128,184a40,40,0,1,1-40-40A40,40,0,0,1,128,184Z",opacity:"0.2"}),b.createElement("path",{d:"M210.3,56.34l-80-24A8,8,0,0,0,120,40V148.26A48,48,0,1,0,136,184V98.75l69.7,20.91A8,8,0,0,0,216,112V64A8,8,0,0,0,210.3,56.34ZM88,216a32,32,0,1,1,32-32A32,32,0,0,1,88,216ZM200,101.25l-64-19.2V50.75L200,70Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M210.3,56.34l-80-24A8,8,0,0,0,120,40V148.26A48,48,0,1,0,136,184V98.75l69.7,20.91A8,8,0,0,0,216,112V64A8,8,0,0,0,210.3,56.34Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M209.72,58.25l-80-24A6,6,0,0,0,122,40V153.05A46,46,0,1,0,134,184V96.06l72.28,21.69A6,6,0,0,0,214,112V64A6,6,0,0,0,209.72,58.25ZM88,218a34,34,0,1,1,34-34A34,34,0,0,1,88,218ZM202,103.94l-68-20.4V48.06l68,20.4Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M210.3,56.34l-80-24A8,8,0,0,0,120,40V148.26A48,48,0,1,0,136,184V98.75l69.7,20.91A8,8,0,0,0,216,112V64A8,8,0,0,0,210.3,56.34ZM88,216a32,32,0,1,1,32-32A32,32,0,0,1,88,216ZM200,101.25l-64-19.2V50.75L200,70Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M209.15,60.17l-80-24A4,4,0,0,0,124,40V158.75A44,44,0,1,0,132,184V93.38l74.85,22.45A4,4,0,0,0,212,112V64A4,4,0,0,0,209.15,60.17ZM88,220a36,36,0,1,1,36-36A36,36,0,0,1,88,220ZM204,106.62,132,85V45.38L204,67Z"}))]]),mpe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M203.57,51A107.9,107.9,0,0,0,20,128c0,44.72,27.6,82.25,72,97.94A36,36,0,0,0,140,192a12,12,0,0,1,12-12h46.21a35.79,35.79,0,0,0,35.1-28A108.6,108.6,0,0,0,236,127.09,107.23,107.23,0,0,0,203.57,51Zm6.34,95.67a11.91,11.91,0,0,1-11.7,9.3H152a36,36,0,0,0-36,36,12,12,0,0,1-16,11.3c-16.65-5.88-30.65-15.76-40.48-28.56A76,76,0,0,1,44,128a84,84,0,0,1,83.13-84H128a84.35,84.35,0,0,1,84,83.29A84.72,84.72,0,0,1,209.91,146.71ZM144,76a16,16,0,1,1-16-16A16,16,0,0,1,144,76Zm-44,24A16,16,0,1,1,84,84,16,16,0,0,1,100,100Zm0,56a16,16,0,1,1-16-16A16,16,0,0,1,100,156Zm88-56a16,16,0,1,1-16-16A16,16,0,0,1,188,100Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M224,127.17a96.48,96.48,0,0,1-2.39,22.18A24,24,0,0,1,198.21,168H152a24,24,0,0,0-24,24,24,24,0,0,1-32,22.61C58.73,201.44,32,169.81,32,128a96,96,0,0,1,95-96C179.84,31.47,223.55,74.35,224,127.17Z",opacity:"0.2"}),b.createElement("path",{d:"M200.77,53.89A103.27,103.27,0,0,0,128,24h-1.07A104,104,0,0,0,24,128c0,43,26.58,79.06,69.36,94.17A32,32,0,0,0,136,192a16,16,0,0,1,16-16h46.21a31.81,31.81,0,0,0,31.2-24.88,104.43,104.43,0,0,0,2.59-24A103.28,103.28,0,0,0,200.77,53.89Zm13,93.71A15.89,15.89,0,0,1,198.21,160H152a32,32,0,0,0-32,32,16,16,0,0,1-21.31,15.07C62.49,194.3,40,164,40,128a88,88,0,0,1,87.09-88h.9a88.35,88.35,0,0,1,88,87.25A88.86,88.86,0,0,1,213.81,147.6ZM140,76a12,12,0,1,1-12-12A12,12,0,0,1,140,76ZM96,100A12,12,0,1,1,84,88,12,12,0,0,1,96,100Zm0,56a12,12,0,1,1-12-12A12,12,0,0,1,96,156Zm88-56a12,12,0,1,1-12-12A12,12,0,0,1,184,100Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200.77,53.89A103.27,103.27,0,0,0,128,24h-1.07A104,104,0,0,0,24,128c0,43,26.58,79.06,69.36,94.17A32,32,0,0,0,136,192a16,16,0,0,1,16-16h46.21a31.81,31.81,0,0,0,31.2-24.88,104.43,104.43,0,0,0,2.59-24A103.28,103.28,0,0,0,200.77,53.89ZM84,168a12,12,0,1,1,12-12A12,12,0,0,1,84,168Zm0-56a12,12,0,1,1,12-12A12,12,0,0,1,84,112Zm44-24a12,12,0,1,1,12-12A12,12,0,0,1,128,88Zm44,24a12,12,0,1,1,12-12A12,12,0,0,1,172,112Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M199.37,55.31A101.32,101.32,0,0,0,128,26h-1A102,102,0,0,0,26,128c0,42.09,26.07,77.44,68,92.26A30.21,30.21,0,0,0,104.11,222,30.06,30.06,0,0,0,134,192a18,18,0,0,1,18-18h46.21a29.82,29.82,0,0,0,29.25-23.31A102.71,102.71,0,0,0,230,127.11,101.25,101.25,0,0,0,199.37,55.31ZM215.76,148a17.89,17.89,0,0,1-17.55,14H152a30,30,0,0,0-30,30,18,18,0,0,1-24,17C61,195.86,38,164.85,38,128a90,90,0,0,1,89.07-90H128a90.34,90.34,0,0,1,90,89.22A90.46,90.46,0,0,1,215.76,148ZM138,76a10,10,0,1,1-10-10A10,10,0,0,1,138,76ZM94,100A10,10,0,1,1,84,90,10,10,0,0,1,94,100Zm0,56a10,10,0,1,1-10-10A10,10,0,0,1,94,156Zm88-56a10,10,0,1,1-10-10A10,10,0,0,1,182,100Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200.77,53.89A103.27,103.27,0,0,0,128,24h-1.07A104,104,0,0,0,24,128c0,43,26.58,79.06,69.36,94.17A32,32,0,0,0,136,192a16,16,0,0,1,16-16h46.21a31.81,31.81,0,0,0,31.2-24.88,104.43,104.43,0,0,0,2.59-24A103.28,103.28,0,0,0,200.77,53.89Zm13,93.71A15.89,15.89,0,0,1,198.21,160H152a32,32,0,0,0-32,32,16,16,0,0,1-21.31,15.07C62.49,194.3,40,164,40,128a88,88,0,0,1,87.09-88h.9a88.35,88.35,0,0,1,88,87.25A88.86,88.86,0,0,1,213.81,147.6ZM140,76a12,12,0,1,1-12-12A12,12,0,0,1,140,76ZM96,100A12,12,0,1,1,84,88,12,12,0,0,1,96,100Zm0,56a12,12,0,1,1-12-12A12,12,0,0,1,96,156Zm88-56a12,12,0,1,1-12-12A12,12,0,0,1,184,100Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M198,56.74A99.31,99.31,0,0,0,128,28h-1A100,100,0,0,0,28,128c0,41.22,25.55,75.85,66.69,90.38a28.34,28.34,0,0,0,9.42,1.63A28,28,0,0,0,132,192a20,20,0,0,1,20-20h46.21a27.84,27.84,0,0,0,27.3-21.76,100.37,100.37,0,0,0,2.49-23.1A99.26,99.26,0,0,0,198,56.74Zm19.74,91.72A19.89,19.89,0,0,1,198.21,164H152a28,28,0,0,0-28,28,20,20,0,0,1-26.64,18.83C59.51,197.46,36,165.72,36,128a92,92,0,0,1,91.05-92H128a92,92,0,0,1,89.72,112.46ZM136,76a8,8,0,1,1-8-8A8,8,0,0,1,136,76ZM92,100a8,8,0,1,1-8-8A8,8,0,0,1,92,100Zm0,56a8,8,0,1,1-8-8A8,8,0,0,1,92,156Zm88-56a8,8,0,1,1-8-8A8,8,0,0,1,180,100Z"}))]]),gpe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,164a36.07,36.07,0,0,0-33.94,24H72a28,28,0,0,1,0-56h96a44,44,0,0,0,0-88H72a12,12,0,0,0,0,24h96a20,20,0,0,1,0,40H72a52,52,0,0,0,0,104h94.06A36,36,0,1,0,200,164Zm0,48a12,12,0,1,1,12-12A12,12,0,0,1,200,212Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M224,200a24,24,0,1,1-24-24A24,24,0,0,1,224,200Z",opacity:"0.2"}),b.createElement("path",{d:"M200,168a32.06,32.06,0,0,0-31,24H72a32,32,0,0,1,0-64h96a40,40,0,0,0,0-80H72a8,8,0,0,0,0,16h96a24,24,0,0,1,0,48H72a48,48,0,0,0,0,96h97a32,32,0,1,0,31-40Zm0,48a16,16,0,1,1,16-16A16,16,0,0,1,200,216Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M228,200a28,28,0,0,1-54.83,8H72a48,48,0,0,1,0-96h96a24,24,0,0,0,0-48H72a8,8,0,0,1,0-16h96a40,40,0,0,1,0,80H72a32,32,0,0,0,0,64H173.17A28,28,0,0,1,228,200Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,170a30.05,30.05,0,0,0-29.4,24H72a34,34,0,0,1,0-68h96a38,38,0,0,0,0-76H72a6,6,0,0,0,0,12h96a26,26,0,0,1,0,52H72a46,46,0,0,0,0,92h98.6A30,30,0,1,0,200,170Zm0,48a18,18,0,1,1,18-18A18,18,0,0,1,200,218Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,168a32.06,32.06,0,0,0-31,24H72a32,32,0,0,1,0-64h96a40,40,0,0,0,0-80H72a8,8,0,0,0,0,16h96a24,24,0,0,1,0,48H72a48,48,0,0,0,0,96h97a32,32,0,1,0,31-40Zm0,48a16,16,0,1,1,16-16A16,16,0,0,1,200,216Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,172a28,28,0,0,0-27.71,24H72a36,36,0,0,1,0-72h96a36,36,0,0,0,0-72H72a4,4,0,0,0,0,8h96a28,28,0,0,1,0,56H72a44,44,0,0,0,0,88H172.29A28,28,0,1,0,200,172Zm0,48a20,20,0,1,1,20-20A20,20,0,0,1,200,220Z"}))]]),ype=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M230.14,70.54,185.46,25.85a20,20,0,0,0-28.29,0L33.86,149.17A19.85,19.85,0,0,0,28,163.31V208a20,20,0,0,0,20,20H92.69a19.86,19.86,0,0,0,14.14-5.86L230.14,98.82a20,20,0,0,0,0-28.28ZM91,204H52V165l84-84,39,39ZM192,103,153,64l18.34-18.34,39,39Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z",opacity:"0.2"}),b.createElement("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM192,108.68,147.31,64l24-24L216,84.68Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M225.9,74.78,181.21,30.09a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H92.69a13.94,13.94,0,0,0,9.9-4.1L225.9,94.58a14,14,0,0,0,0-19.8ZM94.1,209.41a2,2,0,0,1-1.41.59H48a2,2,0,0,1-2-2V163.31a2,2,0,0,1,.59-1.41L136,72.48,183.51,120ZM217.41,86.1,192,111.51,144.49,64,169.9,38.58a2,2,0,0,1,2.83,0l44.68,44.69a2,2,0,0,1,0,2.83Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L133.17,61.17h0L39.52,154.83A11.9,11.9,0,0,0,36,163.31V208a12,12,0,0,0,12,12H92.69a12,12,0,0,0,8.48-3.51L224.48,93.17a12,12,0,0,0,0-17Zm-129,134.63A4,4,0,0,1,92.69,212H48a4,4,0,0,1-4-4V163.31a4,4,0,0,1,1.17-2.83L136,69.65,186.34,120ZM218.83,87.51,192,114.34,141.66,64l26.82-26.83a4,4,0,0,1,5.66,0l44.69,44.68a4,4,0,0,1,0,5.66Z"}))]]),xpe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),b.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z"}))]]),bpe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M238.78,183.79,98.28,87.65A40.18,40.18,0,0,0,100,76a40,40,0,1,0-15.29,31.45l30,20.56-30,20.56a40,40,0,1,0,3.57,59.74h0A39.73,39.73,0,0,0,100,180a40.18,40.18,0,0,0-1.72-11.66L136,142.54l89.22,61.06a12,12,0,0,0,13.56-19.81ZM71.31,191.33h0A16,16,0,1,1,76,180,16,16,0,0,1,71.31,191.33ZM48.69,87.3a16,16,0,1,1,22.62,0h0A16,16,0,0,1,48.69,87.3Zm112.82,23.24a12,12,0,0,1,3.13-16.68L225.22,52.4a12,12,0,0,1,13.56,19.81l-60.59,41.46a12,12,0,0,1-16.68-3.13Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M40.2,95.8a28,28,0,1,1,39.6,0A28,28,0,0,1,40.2,95.8Zm0,64.4a28,28,0,1,0,39.6,0A28,28,0,0,0,40.2,160.2Z",opacity:"0.2"}),b.createElement("path",{d:"M157.73,113.13A8,8,0,0,1,159.82,102L227.48,55.7a8,8,0,0,1,9,13.21l-67.67,46.3a7.92,7.92,0,0,1-4.51,1.4A8,8,0,0,1,157.73,113.13Zm80.87,85.09a8,8,0,0,1-11.12,2.08L136,137.7,93.49,166.78a36,36,0,1,1-9-13.19L121.83,128,84.44,102.41a35.86,35.86,0,1,1,9-13.19l143,97.87A8,8,0,0,1,238.6,198.22ZM80,180a20,20,0,1,0-5.86,14.14A19.85,19.85,0,0,0,80,180ZM74.14,90.13a20,20,0,1,0-28.28,0A19.85,19.85,0,0,0,74.14,90.13Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M236.52,187.09l-143-97.87a36,36,0,1,0-14.38,17.27l21.39,21.69L79.15,149.54l0,0a35.91,35.91,0,1,0,14.38,17.27l26.91-18.41L170,198.64a32.26,32.26,0,0,0,22.7,9.37,31.52,31.52,0,0,0,4.11-.27l.28,0,36.27-6.11a8,8,0,0,0,3.19-14.5Zm-162.38-97A20,20,0,1,1,80,76,20,20,0,0,1,74.14,90.13Zm0,104A20,20,0,1,1,80,180,20,20,0,0,1,74.14,194.15Zm61-101.5L169.94,57.4a32.19,32.19,0,0,1,26.84-9.14l.28,0,36,6.07a8.21,8.21,0,0,1,6.09,4.42,8,8,0,0,1-2.67,10.12l-69.93,47.85a4,4,0,0,1-4.51,0l-26.31-18A4,4,0,0,1,135.18,92.65Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M159.38,112a6,6,0,0,1,1.57-8.34l67.66-46.31a6,6,0,0,1,6.78,9.91l-67.67,46.3a6,6,0,0,1-8.34-1.56ZM237,197.09a6,6,0,0,1-8.34,1.56L136,135.27,91,166.06A34,34,0,1,1,84,156a1.8,1.8,0,0,0,.19.2L125.37,128,84.23,99.84,84,100a34,34,0,1,1,7-10.1l144.38,98.8A6,6,0,0,1,237,197.09ZM75.56,91.55a22,22,0,1,0-31.12,0,21.88,21.88,0,0,0,31.12,0ZM82,180a22,22,0,1,0-6.44,15.56h0A21.88,21.88,0,0,0,82,180Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M157.73,113.13A8,8,0,0,1,159.82,102L227.48,55.7a8,8,0,0,1,9,13.21l-67.67,46.3a7.92,7.92,0,0,1-4.51,1.4A8,8,0,0,1,157.73,113.13Zm80.87,85.09a8,8,0,0,1-11.12,2.08L136,137.7,93.49,166.78a36,36,0,1,1-9-13.19L121.83,128,84.44,102.41a35.86,35.86,0,1,1,9-13.19l143,97.87A8,8,0,0,1,238.6,198.22ZM80,180a20,20,0,1,0-5.86,14.14A19.85,19.85,0,0,0,80,180ZM74.14,90.13a20,20,0,1,0-28.28,0A19.85,19.85,0,0,0,74.14,90.13Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M161,110.87a4,4,0,0,1,1.05-5.56L229.74,59a4,4,0,0,1,4.52,6.61l-67.67,46.3a4,4,0,0,1-5.56-1ZM235.3,196a4,4,0,0,1-5.56,1L136,132.85,88.47,165.38a32,32,0,1,1-5.84-8c.45.45.89.92,1.31,1.4l45-30.78-45-30.78c-.42.48-.86,1-1.31,1.4a31.86,31.86,0,1,1,5.84-8l49.69,34h0l96.09,65.76A4,4,0,0,1,235.3,196ZM77,93a24.42,24.42,0,0,0,2.82-3.38s0,0,0,0l0,0A24,24,0,1,0,77,93ZM84,180a23.75,23.75,0,0,0-4.15-13.49l0-.06,0,0A24.5,24.5,0,0,0,77,163,24,24,0,1,0,77,197h0A23.85,23.85,0,0,0,84,180Z"}))]]),Ape=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,28H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28Zm-4,176H52V52H204Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,48V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",opacity:"0.2"}),b.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm0,176H48V48H208V208Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34Zm2,174a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm0,176H48V48H208V208Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36Zm4,172a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Z"}))]]),vpe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,36H56A20,20,0,0,0,36,56V200a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V56A20,20,0,0,0,200,36Zm-4,24v56H60V60ZM60,196V140H196v56Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,56V200a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H200A8,8,0,0,1,208,56Z",opacity:"0.2"}),b.createElement("path",{d:"M200,40H56A16,16,0,0,0,40,56V200a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,16v64H56V56Zm0,144H56V136H200v64Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,56v60a4,4,0,0,1-4,4H44a4,4,0,0,1-4-4V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Zm-4,80H44a4,4,0,0,0-4,4v60a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V140A4,4,0,0,0,212,136Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,42H56A14,14,0,0,0,42,56V200a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V56A14,14,0,0,0,200,42ZM56,54H200a2,2,0,0,1,2,2v66H54V56A2,2,0,0,1,56,54ZM200,202H56a2,2,0,0,1-2-2V134H202v66A2,2,0,0,1,200,202Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,40H56A16,16,0,0,0,40,56V200a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,16v64H56V56Zm0,144H56V136H200v64Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,44H56A12,12,0,0,0,44,56V200a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V56A12,12,0,0,0,200,44ZM56,52H200a4,4,0,0,1,4,4v68H52V56A4,4,0,0,1,56,52ZM200,204H56a4,4,0,0,1-4-4V132H204v68A4,4,0,0,1,200,204Z"}))]]),Spe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M234.36,170A12,12,0,0,1,230,186.37l-96,56a12,12,0,0,1-12.1,0l-96-56a12,12,0,0,1,12.09-20.74l90,52.48L218,165.63A12,12,0,0,1,234.36,170ZM218,117.63,128,170.11,38.05,117.63A12,12,0,0,0,26,138.37l96,56a12,12,0,0,0,12.1,0l96-56A12,12,0,0,0,218,117.63ZM20,80a12,12,0,0,1,6-10.37l96-56a12.06,12.06,0,0,1,12.1,0l96,56a12,12,0,0,1,0,20.74l-96,56a12,12,0,0,1-12.1,0l-96-56A12,12,0,0,1,20,80Zm35.82,0L128,122.11,200.18,80,128,37.89Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M224,80l-96,56L32,80l96-56Z",opacity:"0.2"}),b.createElement("path",{d:"M230.91,172A8,8,0,0,1,228,182.91l-96,56a8,8,0,0,1-8.06,0l-96-56A8,8,0,0,1,36,169.09l92,53.65,92-53.65A8,8,0,0,1,230.91,172ZM220,121.09l-92,53.65L36,121.09A8,8,0,0,0,28,134.91l96,56a8,8,0,0,0,8.06,0l96-56A8,8,0,1,0,220,121.09ZM24,80a8,8,0,0,1,4-6.91l96-56a8,8,0,0,1,8.06,0l96,56a8,8,0,0,1,0,13.82l-96,56a8,8,0,0,1-8.06,0l-96-56A8,8,0,0,1,24,80Zm23.88,0L128,126.74,208.12,80,128,33.26Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M220,169.09l-92,53.65L36,169.09A8,8,0,0,0,28,182.91l96,56a8,8,0,0,0,8.06,0l96-56A8,8,0,1,0,220,169.09Z"}),b.createElement("path",{d:"M220,121.09l-92,53.65L36,121.09A8,8,0,0,0,28,134.91l96,56a8,8,0,0,0,8.06,0l96-56A8,8,0,1,0,220,121.09Z"}),b.createElement("path",{d:"M28,86.91l96,56a8,8,0,0,0,8.06,0l96-56a8,8,0,0,0,0-13.82l-96-56a8,8,0,0,0-8.06,0l-96,56a8,8,0,0,0,0,13.82Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M229.18,173a6,6,0,0,1-2.16,8.2l-96,56a6,6,0,0,1-6,0l-96-56a6,6,0,0,1,6-10.36l93,54.23,93-54.23A6,6,0,0,1,229.18,173ZM221,122.82l-93,54.23L35,122.82a6,6,0,0,0-6,10.36l96,56a6,6,0,0,0,6,0l96-56a6,6,0,0,0-6-10.36ZM26,80a6,6,0,0,1,3-5.18l96-56a6,6,0,0,1,6,0l96,56a6,6,0,0,1,0,10.36l-96,56a6,6,0,0,1-6,0l-96-56A6,6,0,0,1,26,80Zm17.91,0L128,129.05,212.09,80,128,31Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M230.91,172A8,8,0,0,1,228,182.91l-96,56a8,8,0,0,1-8.06,0l-96-56A8,8,0,0,1,36,169.09l92,53.65,92-53.65A8,8,0,0,1,230.91,172ZM220,121.09l-92,53.65L36,121.09A8,8,0,0,0,28,134.91l96,56a8,8,0,0,0,8.06,0l96-56A8,8,0,1,0,220,121.09ZM24,80a8,8,0,0,1,4-6.91l96-56a8,8,0,0,1,8.06,0l96,56a8,8,0,0,1,0,13.82l-96,56a8,8,0,0,1-8.06,0l-96-56A8,8,0,0,1,24,80Zm23.88,0L128,126.74,208.12,80,128,33.26Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M227.45,174a4,4,0,0,1-1.44,5.48l-96,56a4,4,0,0,1-4,0l-96-56a4,4,0,0,1,4-6.92l94,54.83,94-54.83A4,4,0,0,1,227.45,174ZM222,124.54l-94,54.83L34,124.54a4,4,0,0,0-4,6.92l96,56a4,4,0,0,0,4,0l96-56a4,4,0,0,0-4-6.92ZM28,80a4,4,0,0,1,2-3.46l96-56a4,4,0,0,1,4,0l96,56a4,4,0,0,1,0,6.92l-96,56a4,4,0,0,1-4,0l-96-56A4,4,0,0,1,28,80Zm11.94,0L128,131.37,216.06,80,128,28.63Z"}))]]),Ope=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M90.86,50.89a12,12,0,0,0-21.72,0l-64,136a12,12,0,0,0,21.71,10.22L42.44,164h75.12l15.58,33.11a12,12,0,0,0,21.72-10.22ZM53.74,140,80,84.18,106.27,140ZM200,84c-13.85,0-24.77,3.86-32.45,11.48a12,12,0,1,0,16.9,17c3-3,8.26-4.52,15.55-4.52,11,0,20,7.18,20,16v4.39A47.28,47.28,0,0,0,200,124c-24.26,0-44,17.94-44,40s19.74,40,44,40a47.18,47.18,0,0,0,22-5.38A12,12,0,0,0,244,192V124C244,101.94,224.26,84,200,84Zm0,96c-11,0-20-7.18-20-16s9-16,20-16,20,7.18,20,16S211,180,200,180Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M232,164c0,15.46-14.33,28-32,28s-32-12.54-32-28,14.33-28,32-28S232,148.54,232,164ZM34.82,152h90.36L80,56Z",opacity:"0.2"}),b.createElement("path",{d:"M87.24,52.59a8,8,0,0,0-14.48,0l-64,136a8,8,0,1,0,14.48,6.81L39.9,160h80.2l16.66,35.4a8,8,0,1,0,14.48-6.81ZM47.43,144,80,74.79,112.57,144ZM200,96c-12.76,0-22.73,3.47-29.63,10.32a8,8,0,0,0,11.26,11.36c3.8-3.77,10-5.68,18.37-5.68,13.23,0,24,9,24,20v3.22A42.76,42.76,0,0,0,200,128c-22.06,0-40,16.15-40,36s17.94,36,40,36a42.73,42.73,0,0,0,24-7.25,8,8,0,0,0,16-.75V132C240,112.15,222.06,96,200,96Zm0,88c-13.23,0-24-9-24-20s10.77-20,24-20,24,9,24,20S213.23,184,200,184Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,156c0,6.5-7.33,12-16,12s-16-5.5-16-12,7.33-12,16-12S200,149.5,200,156ZM232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM143.37,172.88l-44-104a8,8,0,0,0-14.74,0l-44,104a8,8,0,0,0,14.74,6.24L66.84,152h50.32l11.47,27.12a8,8,0,0,0,14.74-6.24ZM216,124c0-15.44-14.36-28-32-28a34.86,34.86,0,0,0-20.78,6.68,8,8,0,0,0,9.56,12.83A18.84,18.84,0,0,1,184,112c8.56,0,15.8,5.36,16,11.76v8A35.24,35.24,0,0,0,184,128c-17.64,0-32,12.56-32,28s14.36,28,32,28a35.13,35.13,0,0,0,16.93-4.26A8,8,0,0,0,216,176ZM73.61,136h36.78L92,92.53Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M85.43,53.45a6,6,0,0,0-10.86,0l-64,136a6,6,0,1,0,10.86,5.11L38.63,158h82.74l17.2,36.55a6,6,0,1,0,10.86-5.11ZM44.28,146,80,70.09,115.72,146ZM200,98c-12.21,0-21.71,3.28-28.23,9.74a6,6,0,0,0,8.46,8.52c4.18-4.15,10.84-6.26,19.77-6.26,14.34,0,26,9.87,26,22v7.24A40.36,40.36,0,0,0,200,130c-20.95,0-38,15.25-38,34s17.05,34,38,34a40.36,40.36,0,0,0,26-9.24V192a6,6,0,0,0,12,0V132C238,113.25,221,98,200,98Zm0,88c-14.34,0-26-9.87-26-22s11.66-22,26-22,26,9.87,26,22S214.34,186,200,186Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M87.24,52.59a8,8,0,0,0-14.48,0l-64,136a8,8,0,1,0,14.48,6.81L39.9,160h80.2l16.66,35.4a8,8,0,1,0,14.48-6.81ZM47.43,144,80,74.79,112.57,144ZM200,96c-12.76,0-22.73,3.47-29.63,10.32a8,8,0,0,0,11.26,11.36c3.8-3.77,10-5.68,18.37-5.68,13.23,0,24,9,24,20v3.22A42.76,42.76,0,0,0,200,128c-22.06,0-40,16.15-40,36s17.94,36,40,36a42.73,42.73,0,0,0,24-7.25,8,8,0,0,0,16-.75V132C240,112.15,222.06,96,200,96Zm0,88c-13.23,0-24-9-24-20s10.77-20,24-20,24,9,24,20S213.23,184,200,184Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M83.62,54.3a4,4,0,0,0-7.24,0l-64,136a4,4,0,0,0,7.24,3.4L37.36,156h85.28l17.74,37.7a4,4,0,1,0,7.24-3.4ZM41.13,148,80,65.39,118.87,148ZM200,100c-11.67,0-20.69,3.08-26.82,9.16a4,4,0,1,0,5.64,5.68c4.57-4.54,11.7-6.84,21.18-6.84,15.44,0,28,10.77,28,24v11.92A37.78,37.78,0,0,0,200,132c-19.85,0-36,14.35-36,32s16.15,32,36,32a37.78,37.78,0,0,0,28-11.92V192a4,4,0,0,0,8,0V132C236,114.36,219.85,100,200,100Zm0,88c-15.44,0-28-10.77-28-24s12.56-24,28-24,28,10.77,28,24S215.44,188,200,188Z"}))]]),wpe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M212,56V88a12,12,0,0,1-24,0V68H140V188h20a12,12,0,0,1,0,24H96a12,12,0,0,1,0-24h20V68H68V88a12,12,0,0,1-24,0V56A12,12,0,0,1,56,44H200A12,12,0,0,1,212,56Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,56V184a16,16,0,0,1-16,16H72a16,16,0,0,1-16-16V56Z",opacity:"0.2"}),b.createElement("path",{d:"M208,56V88a8,8,0,0,1-16,0V64H136V192h24a8,8,0,0,1,0,16H96a8,8,0,0,1,0-16h24V64H64V88a8,8,0,0,1-16,0V56a8,8,0,0,1,8-8H200A8,8,0,0,1,208,56Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,96a8,8,0,0,1-16,0V88H136v88h12a8,8,0,0,1,0,16H108a8,8,0,0,1,0-16h12V88H88v8a8,8,0,0,1-16,0V80a8,8,0,0,1,8-8h96a8,8,0,0,1,8,8Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M206,56V88a6,6,0,0,1-12,0V62H134V194h26a6,6,0,0,1,0,12H96a6,6,0,0,1,0-12h26V62H62V88a6,6,0,0,1-12,0V56a6,6,0,0,1,6-6H200A6,6,0,0,1,206,56Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,56V88a8,8,0,0,1-16,0V64H136V192h24a8,8,0,0,1,0,16H96a8,8,0,0,1,0-16h24V64H64V88a8,8,0,0,1-16,0V56a8,8,0,0,1,8-8H200A8,8,0,0,1,208,56Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M204,56V88a4,4,0,0,1-8,0V60H132V196h28a4,4,0,0,1,0,8H96a4,4,0,0,1,0-8h28V60H60V88a4,4,0,0,1-8,0V56a4,4,0,0,1,4-4H200A4,4,0,0,1,204,56Z"}))]]),Cpe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"}),b.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z"}))]]),Epe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"}),b.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]),kpe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M60,96v64a12,12,0,0,1-24,0V96a12,12,0,0,1,24,0ZM88,20A12,12,0,0,0,76,32V224a12,12,0,0,0,24,0V32A12,12,0,0,0,88,20Zm40,32a12,12,0,0,0-12,12V192a12,12,0,0,0,24,0V64A12,12,0,0,0,128,52Zm40,32a12,12,0,0,0-12,12v64a12,12,0,0,0,24,0V96A12,12,0,0,0,168,84Zm40-16a12,12,0,0,0-12,12v96a12,12,0,0,0,24,0V80A12,12,0,0,0,208,68Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,96v64H48V96Z",opacity:"0.2"}),b.createElement("path",{d:"M56,96v64a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0ZM88,24a8,8,0,0,0-8,8V224a8,8,0,0,0,16,0V32A8,8,0,0,0,88,24Zm40,32a8,8,0,0,0-8,8V192a8,8,0,0,0,16,0V64A8,8,0,0,0,128,56Zm40,32a8,8,0,0,0-8,8v64a8,8,0,0,0,16,0V96A8,8,0,0,0,168,88Zm40-16a8,8,0,0,0-8,8v96a8,8,0,0,0,16,0V80A8,8,0,0,0,208,72Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM72,152a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32,32a8,8,0,0,1-16,0V72a8,8,0,0,1,16,0Zm32-16a8,8,0,0,1-16,0V88a8,8,0,0,1,16,0Zm32-16a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32,8a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M54,96v64a6,6,0,0,1-12,0V96a6,6,0,0,1,12,0ZM88,26a6,6,0,0,0-6,6V224a6,6,0,0,0,12,0V32A6,6,0,0,0,88,26Zm40,32a6,6,0,0,0-6,6V192a6,6,0,0,0,12,0V64A6,6,0,0,0,128,58Zm40,32a6,6,0,0,0-6,6v64a6,6,0,0,0,12,0V96A6,6,0,0,0,168,90Zm40-16a6,6,0,0,0-6,6v96a6,6,0,0,0,12,0V80A6,6,0,0,0,208,74Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M56,96v64a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0ZM88,24a8,8,0,0,0-8,8V224a8,8,0,0,0,16,0V32A8,8,0,0,0,88,24Zm40,32a8,8,0,0,0-8,8V192a8,8,0,0,0,16,0V64A8,8,0,0,0,128,56Zm40,32a8,8,0,0,0-8,8v64a8,8,0,0,0,16,0V96A8,8,0,0,0,168,88Zm40-16a8,8,0,0,0-8,8v96a8,8,0,0,0,16,0V80A8,8,0,0,0,208,72Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M52,96v64a4,4,0,0,1-8,0V96a4,4,0,0,1,8,0ZM88,28a4,4,0,0,0-4,4V224a4,4,0,0,0,8,0V32A4,4,0,0,0,88,28Zm40,32a4,4,0,0,0-4,4V192a4,4,0,0,0,8,0V64A4,4,0,0,0,128,60Zm40,32a4,4,0,0,0-4,4v64a4,4,0,0,0,8,0V96A4,4,0,0,0,168,92Zm40-16a4,4,0,0,0-4,4v96a4,4,0,0,0,8,0V80A4,4,0,0,0,208,76Z"}))]]),Tpe=new Map([["bold",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",b.createElement(b.Fragment,null,b.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),b.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["fill",b.createElement(b.Fragment,null,b.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",b.createElement(b.Fragment,null,b.createElement("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"}))],["regular",b.createElement(b.Fragment,null,b.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["thin",b.createElement(b.Fragment,null,b.createElement("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]]),Ppe=b.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),Zt=b.forwardRef((t,e)=>{const{alt:n,color:r,size:i,weight:s,mirrored:a,children:o,weights:l,...c}=t,{color:u="currentColor",size:f,weight:d="regular",mirrored:m=!1,...x}=b.useContext(Ppe);return b.createElement("svg",{ref:e,xmlns:"http://www.w3.org/2000/svg",width:i??f,height:i??f,fill:r??u,viewBox:"0 0 256 256",transform:a||m?"scale(-1, 1)":void 0,...x,...c},!!n&&b.createElement("title",null,n),o,l.get(s??d))});Zt.displayName="IconBase";const VX=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Mde}));VX.displayName="ArrowClockwiseIcon";const Mpe=VX,QX=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Dde}));QX.displayName="ArrowCounterClockwiseIcon";const Dpe=QX,HX=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Nde}));HX.displayName="ArrowLeftIcon";const Npe=HX,ZX=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:_de}));ZX.displayName="ArrowsOutCardinalIcon";const _pe=ZX,zX=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Ide}));zX.displayName="CameraIcon";const Ipe=zX,bS=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Rde}));bS.displayName="CaretRightIcon";const IP=bS,XX=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Lde}));XX.displayName="CheckIcon";const Rpe=XX,UX=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:jde}));UX.displayName="CheckCircleIcon";const GX=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Fde}));GX.displayName="ClipboardTextIcon";const Lpe=GX,WX=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:$de}));WX.displayName="ClockIcon";const jpe=WX,YX=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Bde}));YX.displayName="CopyIcon";const Fpe=YX,qX=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Vde}));qX.displayName="CropIcon";const $pe=qX,KX=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Qde}));KX.displayName="EyeIcon";const RP=KX,JX=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Hde}));JX.displayName="EyeSlashIcon";const eU=JX,tU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Zde}));tU.displayName="FileIcon";const Bpe=tU,nU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:zde}));nU.displayName="FileCodeIcon";const Vpe=nU,rU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Xde}));rU.displayName="FileCssIcon";const Qpe=rU,iU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Ude}));iU.displayName="FileHtmlIcon";const Hpe=iU,sU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Gde}));sU.displayName="FileJpgIcon";const Zpe=sU,aU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Wde}));aU.displayName="FileJsIcon";const zpe=aU,oU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Yde}));oU.displayName="FileJsxIcon";const Xpe=oU,lU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:qde}));lU.displayName="FileMdIcon";const Upe=lU,cU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Kde}));cU.displayName="FilePlusIcon";const ZR=cU,uU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Jde}));uU.displayName="FilePngIcon";const Gpe=uU,hU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:epe}));hU.displayName="FileSvgIcon";const Wpe=hU,fU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:tpe}));fU.displayName="FileTsIcon";const Ype=fU,dU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:npe}));dU.displayName="FileTsxIcon";const qpe=dU,pU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:rpe}));pU.displayName="FileTxtIcon";const Kpe=pU,mU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:ipe}));mU.displayName="FileVideoIcon";const Jpe=mU,gU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:spe}));gU.displayName="FilmStripIcon";const e0e=gU,yU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:ape}));yU.displayName="FolderSimpleIcon";const t0e=yU,xU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:ope}));xU.displayName="FolderSimplePlusIcon";const bU=xU,AU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:lpe}));AU.displayName="GearIcon";const n0e=AU,vU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:cpe}));vU.displayName="GridFourIcon";const r0e=vU,SU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:upe}));SU.displayName="ImageIcon";const i0e=SU,OU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:hpe}));OU.displayName="LightningIcon";const s0e=OU,wU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:fpe}));wU.displayName="MagnetStraightIcon";const a0e=wU,CU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:dpe}));CU.displayName="MinusIcon";const o0e=CU,EU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:ppe}));EU.displayName="MusicNoteIcon";const l0e=EU,kU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:mpe}));kU.displayName="PaletteIcon";const c0e=kU,TU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:gpe}));TU.displayName="PathIcon";const u0e=TU,PU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:ype}));PU.displayName="PencilSimpleIcon";const h0e=PU,MU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:xpe}));MU.displayName="PlusIcon";const DU=MU,NU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:bpe}));NU.displayName="ScissorsIcon";const f0e=NU,_U=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Ape}));_U.displayName="SquareIcon";const d0e=_U,IU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:vpe}));IU.displayName="SquareSplitVerticalIcon";const p0e=IU,RU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Spe}));RU.displayName="StackIcon";const m0e=RU,LU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Ope}));LU.displayName="TextAaIcon";const g0e=LU,jU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:wpe}));jU.displayName="TextTIcon";const y0e=jU,FU=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Cpe}));FU.displayName="TrashIcon";const x0e=FU,kv=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Epe}));kv.displayName="WarningIcon";const $U=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:kpe}));$U.displayName="WaveformIcon";const b0e=$U,LP=b.forwardRef((t,e)=>b.createElement(Zt,{ref:e,...t,weights:Tpe}));LP.displayName="XIcon";const A0e=LP,Jg=14,Y6=12;function BU(t,e){return t.length<2?!0:(t[t.length-1]-t[0])/(t.length-1)*e<5}const v0e=b.memo(function({beatTimes:e,beatStrengths:n,pps:r,highlightTime:i}){return!e||BU(e,r)?null:S.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{zIndex:0},children:e.map((s,a)=>{const o=i!=null&&Math.abs(s-i)<.001,l=Math.pow(Math.min(1,(n==null?void 0:n[a])??.5),2.2),c=o?1:.06+l*.16;return S.jsx("div",{className:"absolute top-0 bottom-0",style:{left:s*r,width:o?2:1,background:`rgba(34,197,94,${c.toFixed(3)})`,boxShadow:o?"0 0 6px rgba(34,197,94,0.9)":void 0,zIndex:o?1:void 0}},`${s}-${a}`)})})}),S0e=b.memo(function({beatTimes:e,beatStrengths:n,pps:r}){const[i,s]=b.useState(null),a=b.useRef(null);if(!e||BU(e,r))return null;const o=Jg/2;return S.jsx("div",{className:"absolute left-0 right-0 pointer-events-none",style:{top:Ev,height:Jg,background:"rgba(0,0,0,0.28)",zIndex:11},children:e.map((l,c)=>{const u=Math.pow(Math.min(1,(n==null?void 0:n[c])??.5),2.2),f=1.5+u*2.5,d=.25+u*.75,m=(i==null?void 0:i.index)===c?i.dx:0,x=l*r+m;return S.jsx("div",{className:"absolute select-none",title:"Drag to move · double-click to delete",draggable:!1,style:{left:x-Y6/2,top:0,width:Y6,height:Jg,cursor:"ew-resize",pointerEvents:"auto",touchAction:"none"},onPointerDown:g=>{g.preventDefault(),g.stopPropagation(),g.currentTarget.setPointerCapture(g.pointerId),a.current={index:c,startX:g.clientX,origTime:l},s({index:c,dx:0}),pe.getState().setBeatDragging(!0),pe.getState().requestSeek(Math.max(0,l))},onPointerMove:g=>{const v=a.current;if(!v||v.index!==c)return;g.preventDefault();const A=g.clientX-v.startX;s({index:c,dx:A}),pe.getState().requestSeek(Math.max(0,v.origTime+A/r))},onPointerUp:g=>{var w,k;const v=a.current;if(a.current=null,s(null),pe.getState().setBeatDragging(!1),(k=(w=g.currentTarget).hasPointerCapture)!=null&&k.call(w,g.pointerId)&&g.currentTarget.releasePointerCapture(g.pointerId),!v||v.index!==c)return;const A=g.clientX-v.startX;if(Math.abs(A)>2){const T=Math.max(0,v.origTime+A/r);Cfe(v.origTime,T),pe.getState().requestSeek(T)}},onDoubleClick:g=>{g.stopPropagation(),wfe(l),pe.getState().requestSeek(Math.max(0,l))},children:S.jsx("div",{className:"absolute",style:{left:Y6/2-f,top:o-f,width:f*2,height:f*2,borderRadius:"50%",background:`rgba(34,197,94,${d.toFixed(3)})`,pointerEvents:"none"}})},`${l}-${c}`)})})}),zR=b.memo(function({el:e,pps:n,clipY:r,isSelected:i,isHovered:s,isDragging:a=!1,hasCustomContent:o,capabilities:l,theme:c=LX,isComposition:u,onHoverStart:f,onHoverEnd:d,onPointerDown:m,onResizeStart:x,onClick:g,onDoubleClick:v,onContextMenu:A,children:w}){const k=e.start*n,T=Math.max(e.duration*n,4),M=Yfe({isHovered:s,isSelected:i,isDragging:a}),_=e.label||e.id||e.tag,D=M>.01&&(T>=32||i),I=T>=40||i,j=!o&&(T>=40||i),$=e.start.toFixed(1),B=(e.start+e.duration).toFixed(1),Q=["timeline-clip","absolute",o?"overflow-visible":"overflow-hidden",i?"is-selected":"",s?"is-hovered":"",a?"is-dragging":"",j?"":"is-micro"].filter(q=>q.length>0).join(" "),z={left:k,width:T,top:r,bottom:r,borderRadius:c.clipRadius,zIndex:a?20:i?10:s?5:1,cursor:l.canMove?"grab":"default",transform:a?"translateY(-1px)":void 0};return S.jsxs("div",{"data-clip":"true","data-el-id":e.key??e.id,"data-clip-start":e.start,"data-clip-end":e.start+e.duration,"data-clip-hidden":e.hidden?"true":void 0,className:Q,style:z,title:u?`${e.compositionSrc} • Double-click to open`:`${_} • ${e.start.toFixed(1)}s – ${(e.start+e.duration).toFixed(1)}s`,onPointerEnter:f,onPointerLeave:d,onPointerDown:m,onClick:g,onDoubleClick:v,onContextMenu:A,children:[D&&l.canTrimStart&&S.jsx("div",{"aria-hidden":"true",onPointerDown:q=>x==null?void 0:x("start",q),style:{position:"absolute",left:0,top:0,bottom:0,width:14,cursor:"col-resize",zIndex:4},children:S.jsx("div",{className:"timeline-clip__handle-bar",style:{position:"absolute",left:4,top:6,bottom:6,width:2,borderRadius:1,background:"rgba(255, 255, 255, 0.55)",opacity:M*.6}})}),D&&l.canTrimEnd&&S.jsx("div",{"aria-hidden":"true",onPointerDown:q=>x==null?void 0:x("end",q),style:{position:"absolute",right:0,top:0,bottom:0,width:14,cursor:"col-resize",zIndex:4},children:S.jsx("div",{className:"timeline-clip__handle-bar",style:{position:"absolute",right:4,top:6,bottom:6,width:2,borderRadius:1,background:"rgba(255, 255, 255, 0.55)",opacity:M*.6}})}),I&&S.jsx("span",{className:"timeline-clip__label",children:_}),j&&S.jsxs("span",{className:"timeline-clip__timecode",children:[$,"-",B,"s"]}),w]})}),VU=4,O0e=.1,XR=.5,w0e=(t,e,n)=>Math.max(e,Math.min(n,t));function QU(t,e,n){const r=n>0?(e[n-1]??0)+XR:0,i=n<e.length-1?(e[n+1]??100)-XR:100;return r>i?(r+i)/2:w0e(t,r,i)}function C0e(t){const e=t.pointerUpX-t.pointerDownX;if(Math.abs(e)<VU||t.clipWidthPx<=0)return{kind:"click"};const n=t.draggedClipPct+e/t.clipWidthPx*100,r=QU(n,t.sortedClipPcts,t.draggedIndex);return Math.abs(r-t.draggedClipPct)<O0e?{kind:"noop"}:{kind:"move",toClipPct:r}}function E0e(t){if(t.clipWidthPx<=0)return t.draggedClipPct;const e=t.pointerMoveX-t.pointerDownX;return QU(t.draggedClipPct+e/t.clipWidthPx*100,t.sortedClipPcts,t.draggedIndex)}const k0e=.8,T0e=-5,P0e=105,M0e=b.memo(function({keyframesData:e,clipWidthPx:n,clipHeightPx:r,beatsActive:i,accentColor:s,isSelected:a,currentPercentage:o,elementId:l,selectedKeyframes:c,onClickKeyframe:u,onShiftClickKeyframe:f,onContextMenuKeyframe:d,onMoveKeyframe:m,suppressClickRef:x}){const g=b.useRef(null),[v,A]=b.useState(null),w=()=>{x&&(x.current=!0,requestAnimationFrame(()=>{x.current=!1}))};if(n<20)return null;const k=Math.round(r*(i?.45:k0e)),T=k/2,M=i?Jg+(r-Jg)/2:r/2,_=e.keyframes.filter(B=>B.percentage>=T0e&&B.percentage<=P0e).sort((B,Q)=>B.percentage-Q.percentage),D=_.map(B=>B.percentage),I=a?s:"#a3a3a3",j=a?.4:.25,$=a&&!!m;return S.jsxs("div",{className:"absolute inset-0",style:{zIndex:5,pointerEvents:"none"},children:[_.map((B,Q)=>{if(Q===0)return null;const z=_[Q-1],q=Math.max(0,Math.min(n,z.percentage/100*n)),re=Math.max(0,Math.min(n,B.percentage/100*n));return re-q<1?null:S.jsx("div",{className:"absolute",style:{left:q,top:M,width:re-q,height:2,transform:"translateY(-1px)",background:I,opacity:j,borderRadius:1}},`line-${Q}-${z.percentage}-${B.percentage}`)}),_.map((B,Q)=>{const z=`${l}:${B.percentage}`,re=((v==null?void 0:v.kfKey)===z?v.clipPct:B.percentage)/100*n-T,W=c.has(z),ne=a&&Math.abs(B.percentage-o)<.5,se=W||ne,he=se?s:"#a3a3a3",oe=H=>{var F,K;H.button===0&&(H.stopPropagation(),$&&((K=(F=H.currentTarget).setPointerCapture)==null||K.call(F,H.pointerId),g.current={kfKey:z,startX:H.clientX,fromClipPct:B.percentage,moved:!1}))},G=H=>{const F=g.current;!F||F.kfKey!==z||(!F.moved&&Math.abs(H.clientX-F.startX)>=VU&&(F.moved=!0),F.moved&&A({kfKey:z,clipPct:E0e({pointerDownX:F.startX,pointerMoveX:H.clientX,clipWidthPx:n,draggedClipPct:F.fromClipPct,draggedIndex:Q,sortedClipPcts:D})}))},R=H=>{var te,ie;const F=g.current;if(!F||F.kfKey!==z){if(H.button!==0)return;w(),H.shiftKey?f==null||f(l,B.percentage):u==null||u(B.percentage);return}H.stopPropagation(),g.current=null,A(null),(ie=(te=H.currentTarget).releasePointerCapture)==null||ie.call(te,H.pointerId),w();const K=C0e({pointerDownX:F.startX,pointerUpX:H.clientX,clipWidthPx:n,draggedClipPct:F.fromClipPct,draggedIndex:Q,sortedClipPcts:D});K.kind==="click"||K.kind==="noop"?H.shiftKey?f==null||f(l,B.percentage):u==null||u(B.percentage):K.kind==="move"&&K.toClipPct!=null&&(m==null||m(l,F.fromClipPct,K.toClipPct),u==null||u(K.toClipPct))};return S.jsx("button",{type:"button",className:"absolute",style:{left:re,top:M,transform:"translateY(-50%)",width:k,height:k,zIndex:se?2:1,pointerEvents:"auto",background:"none",border:"none",cursor:$?"ew-resize":"pointer",padding:0,touchAction:"none"},onPointerDown:oe,onPointerMove:G,onPointerUp:R,onContextMenu:H=>{H.preventDefault(),H.stopPropagation(),d==null||d(H,l,B.percentage)},title:`${B.percentage}%`,children:S.jsxs("svg",{width:k,height:k,viewBox:"0 0 10 10",children:[W&&S.jsx("path",{d:"M5 0L10 5L5 10L0 5Z",fill:"none",stroke:s,strokeWidth:"0.8",opacity:.5}),S.jsx("path",{d:"M5 1L9 5L5 9L1 5Z",fill:he,opacity:W||ne?1:.55})]})},`${Q}-${B.percentage}`)})]})}),D0e=b.memo(function({major:e,minor:n,pps:r,trackContentWidth:i,totalH:s,effectiveDuration:a,majorTickInterval:o,theme:l,beatAnalysis:c}){const u=(c==null?void 0:c.beatTimes)??[],f=(c==null?void 0:c.beatStrengths)??[],d=u.length>1?(u[u.length-1]-u[0])/(u.length-1):null,m=d!==null&&d*r>=5;return S.jsxs(S.Fragment,{children:[S.jsxs("svg",{className:"absolute pointer-events-none",style:{left:ui,width:i,zIndex:0},height:s,children:[e.map(x=>{const g=x*r;return S.jsx("line",{x1:g,y1:Zf,x2:g,y2:s,stroke:l.tickMinor,strokeWidth:"1"},`g-${x}`)}),m&&u.map((x,g)=>{const v=x*r,w=.08+Math.pow(Math.min(1,f[g]??.5),2.2)*.62;return S.jsx("line",{x1:v,y1:0,x2:v,y2:s,stroke:`rgba(34, 197, 94, ${w.toFixed(3)})`,strokeWidth:"1"},`b-${x}-${g}`)})]}),S.jsxs("div",{className:"relative overflow-hidden",style:{height:Zf,marginLeft:ui,width:i,background:l.gutterBackground,borderBottom:`1px solid ${l.rulerBorder}`},children:[n.map(x=>S.jsx("div",{className:"absolute bottom-0",style:{left:x*r},children:S.jsx("div",{className:"w-px h-2",style:{background:l.tickMinor}})},`m-${x}`)),e.map(x=>S.jsxs("div",{className:"absolute top-0",style:{left:x*r},children:[S.jsx("span",{className:"absolute font-mono tabular-nums leading-none whitespace-nowrap",style:{color:l.tickText,left:5,top:5,fontSize:10},children:rde(x,a,o)}),S.jsx("div",{className:"w-px",style:{height:Zf,background:l.tickMajor}})]},`M-${x}`))]})]})});function N0e({color:t="var(--hf-accent, #3CE6AC)",glowColor:e="rgba(60,230,172,0.14)"}){return S.jsxs(S.Fragment,{children:[S.jsx("div",{"aria-hidden":"true",className:"absolute top-0 bottom-0",style:{left:"50%",width:13,transform:"translateX(-50%)",background:`radial-gradient(closest-side, ${e}, transparent)`}}),S.jsx("div",{className:"absolute top-0 bottom-0",style:{left:"50%",width:1,marginLeft:-.5,background:t,boxShadow:`0 0 6px ${e}`}}),S.jsx("div",{className:"absolute",style:{left:"50%",top:1,transform:"translateX(-50%)"},children:S.jsx("div",{style:{width:9,height:9,borderRadius:2,background:t,boxShadow:`0 1px 3px rgba(0,0,0,0.55), 0 0 5px ${e}`,transform:"rotate(45deg)"}})})]})}const _0e={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1},I0e="VITE_STUDIO_ENABLE_PREVIEW_MANUAL_DRAGGING",R0e="VITE_STUDIO_ENABLE_INSPECTOR_PANELS",L0e=new Set(["1","true","yes","on","enabled"]),j0e=new Set(["0","false","no","off","disabled"]);function Rh(t,e,n){for(const r of e){const i=t[r];if(typeof i=="boolean")return i;if(typeof i!="string")continue;const s=i.trim().toLowerCase();if(s){if(L0e.has(s))return!0;if(j0e.has(s))return!1}}return n}const F0e=typeof window<"u"?window.__HF_STUDIO_ENV__??{}:{},Lh={..._0e??{},...F0e},$0e=Rh(Lh,[I0e,"VITE_STUDIO_PREVIEW_MANUAL_EDITING_ENABLED"],!0),rs=Rh(Lh,[R0e,"VITE_STUDIO_INSPECTOR_PANELS_ENABLED"],!0),q6=Rh(Lh,["VITE_STUDIO_ENABLE_BLOCKS_PANEL","VITE_STUDIO_BLOCKS_PANEL_ENABLED"],!0),S5=Rh(Lh,["VITE_STUDIO_ENABLE_GSAP_PANEL","VITE_STUDIO_GSAP_PANEL_ENABLED"],!0),Ga=Rh(Lh,["VITE_STUDIO_ENABLE_KEYFRAMES","VITE_STUDIO_KEYFRAMES_ENABLED"],!0),HU=Rh(Lh,["VITE_STUDIO_ENABLE_RAZOR_TOOL","VITE_STUDIO_RAZOR_TOOL_ENABLED"],!0),O5=rs,Px=Rh(Lh,["VITE_STUDIO_SDK_CUTOVER_ENABLED"],!1),jP=Rh(Lh,["VITE_STUDIO_SDK_RESOLVER_SHADOW_ENABLED"],!0),UR="Manual editing is temporarily disabled";function Ms(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function GR(t,e){return e==='"'?t.replace(/"/g,"""):t.replace(/'/g,"'")}function FP(t){return t.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}function B0e(t){return t.replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")}function V0e(t){const e=[];let n="",r=null,i=!1,s=0;for(const a of t){if(i){n+=a,a===";"&&(i=!1);continue}if(a==="&"){i=!0,n+=a;continue}if(r){n+=a,a===r&&(r=null);continue}if(a==='"'||a==="'"){r=a,n+=a;continue}if(a==="("){s+=1,n+=a;continue}if(a===")"){s=Math.max(0,s-1),n+=a;continue}if(a===";"&&s===0){e.push(n),n="";continue}n+=a}return n&&e.push(n),e}function Q0e(t,e,n,r){const s=new RegExp(`(<[^>]*\\bid=(["'])${Ms(e)}\\2[^>]*)>`,"i").exec(t);if(!s)return t;const a=s[1];return ZU(t,a,n,r)}function ZU(t,e,n,r){if(!e)return t;const i=/\bstyle=(["'])([\s\S]*?)\1/.exec(e);if(i){const s=i[2],a=i[1],o=new Map;for(const u of V0e(s)){const f=u.indexOf(":");if(f<0)continue;const d=u.slice(0,f).trim(),m=u.slice(f+1).trim();d&&o.set(d,m)}r===null?o.delete(n):o.set(n,r);const l=Array.from(o.entries()).map(([u,f])=>`${u}: ${GR(f,a)}`).join("; "),c=e.replace(i[0],`style=${a}${l}${a}`);return t.replace(e,c)}else{if(r===null)return t;const s=/\s*\/$/.test(e),o=`${s?e.replace(/\s*\/$/,""):e} style="${n}: ${GR(r,'"')}"${s?" /":""}`;return t.replace(e,o)}}function H0e(t,e,n,r){const i=wh(t,e);if(!i)return t;const s=ZU(i.tag,i.tag,n,r);return ey(t,i,s)}function ey(t,e,n){return`${t.slice(0,e.start)}${n}${t.slice(e.end)}`}function K6(t,e,n){const i=new RegExp(`(<[^>]*\\b${e}=(["'])${Ms(n)}\\2[^>]*)>`,"i").exec(t);return(i==null?void 0:i.index)==null?null:{tag:i[1],start:i.index,end:i.index+i[1].length}}function Z0e(t,e){var l;const n=(l=e.selector)==null?void 0:l.match(/^\.([a-zA-Z0-9_-]+)$/);if(!n)return null;const r=n[1],i=new RegExp(`(<[^>]*\\bclass=(["'])[^"']*\\b${Ms(r)}\\b[^"']*\\2[^>]*)>`,"gi"),s=e.selectorIndex??0;let a,o=0;for(;(a=i.exec(t))!==null;){if(o===s&&a.index!=null)return{tag:a[1],start:a.index,end:a.index+a[1].length};o+=1}return null}function wh(t,e){if(e.hfId){const r=K6(t,"data-hf-id",e.hfId);if(r)return r}if(e.id){const r=K6(t,"id",e.id);if(r)return r}if(!e.selector)return null;const n=e.selector.match(/^\[data-composition-id="([^"]+)"\]$/);if(n){const r=K6(t,"data-composition-id",n[1]);if(r)return r}return Z0e(t,e)}function WR(t,e,n){const r=wh(t,e);if(!r)return;const i=n.startsWith("data-")?n:`data-${n}`,s=new RegExp(`\\b${i}=(["'])([^"']*)\\1`).exec(r.tag);return(s==null?void 0:s[2])!=null?B0e(s[2]):void 0}function zU(t,e){const n=wh(t,e);return n==null?void 0:n.tag}function z0e(t,e,n,r){const i=wh(t,e);if(!i)return t;const s=n.startsWith("data-")?n:`data-${n}`,a=new RegExp(`\\b${Ms(s)}=(["'])([^"']*)\\1`),o=i.tag;if(r===null){if(!new RegExp(`\\b${Ms(s)}(?:=(["'])[^"']*\\1)?`).test(o))return t;const f=new RegExp(`\\s+${Ms(s)}(?:=(["'])[^"']*\\1)?`),d=o.replace(f,"");return ey(t,i,d)}const l=FP(r);if(a.test(o)){const u=o.replace(a,`${s}="${l}"`);return ey(t,i,u)}const c=o+` ${s}="${l}"`;return ey(t,i,c)}function X0e(t,e,n,r){const s=new RegExp(`(<[^>]*\\bid=(["'])${Ms(e)}\\2[^>]*)>`,"i").exec(t);if(!s)return t;const a=s[1],o=n.startsWith("data-")?n:`data-${n}`,l=new RegExp(`\\b${Ms(o)}=(["'])([^"']*)\\1`);if(r===null){if(!new RegExp(`\\b${Ms(o)}(?:=(["'])[^"']*\\1)?`).test(a))return t;const f=new RegExp(`\\s+${Ms(o)}(?:=(["'])[^"']*\\1)?`),d=a.replace(f,"");return t.replace(a,d)}const c=FP(r);if(l.test(a)){const u=a.replace(l,`${o}="${c}"`);return t.replace(a,u)}else{const u=a+` ${o}="${c}"`;return t.replace(a,u)}}function U0e(t,e,n){const i=new RegExp(`(<([a-z0-9-]+)[^>]*\\bid=(["'])${Ms(e)}\\3[^>]*>)`,"i").exec(t);if(!i||i.index==null)return t;const s=i[1],a=i[2],o=i.index+s.length,l=XU(t,a,o);return l<0?t:`${t.slice(0,o)}${n}${t.slice(l)}`}function XU(t,e,n){const r=new RegExp(`</?${Ms(e)}\\b[^>]*>`,"gi");r.lastIndex=n;let i=1,s;for(;(s=r.exec(t))!==null;){const a=s[0];if(a.startsWith("</")){if(i-=1,i===0)return s.index;continue}a.endsWith("/>")||(i+=1)}return-1}const G0e=new Set(["loop","muted","autoplay","playsinline","controls","default","defer","disabled","hidden","nomodule","open","readonly","required","reversed","selected"]);function UU(t,e,n,r){if(!e)return t;if(G0e.has(n)){const l=Ms(n),c=new RegExp(`(?:^|\\s)${l}(?:\\s|=|$)`).test(e);if(r===null||r===""||r==="false"){if(!c)return t;const f=new RegExp(`\\s+${l}(?:=(["'])[^"']*\\1)?`),d=e.replace(f,"");return t.replace(e,d)}if(c)return t;const u=e+` ${n}`;return t.replace(e,u)}const s=new RegExp(`\\b${Ms(n)}=(["'])([^"']*)\\1`);if(r===null){if(!s.test(e))return t;const l=new RegExp(`\\s+${Ms(n)}=(["'])[^"']*\\1`),c=e.replace(l,"");return t.replace(e,c)}const a=FP(r);if(s.test(e)){const l=e.replace(s,`${n}="${a}"`);return t.replace(e,l)}const o=e+` ${n}="${a}"`;return t.replace(e,o)}function W0e(t,e,n,r){const s=new RegExp(`(<[^>]*\\bid=(["'])${Ms(e)}\\2[^>]*)>`,"i").exec(t);return s?UU(t,s[1],n,r):t}function Y0e(t,e,n,r){const i=wh(t,e);if(!i)return t;const s=UU(i.tag,i.tag,n,r);return ey(t,i,s)}function q0e(t,e,n){const r=wh(t,e);if(!r)return t;const i=/^<([a-z0-9-]+)/i.exec(r.tag),s=i==null?void 0:i[1];if(!s)return t;const a=XU(t,s,r.end+1);return a<0?t:`${t.slice(0,r.end+1)}${n}${t.slice(a)}`}function K0e(t,e,n){switch(n.type){case"inline-style":return Q0e(t,e,n.property,n.value);case"attribute":return X0e(t,e,n.property,n.value);case"html-attribute":return W0e(t,e,n.property,n.value);case"text-content":return n.value!==null?U0e(t,e,n.value):t;default:return t}}function vp(t,e,n){if(e.id){const r=K0e(t,e.id,n);if(r!==t||!e.selector)return r}switch(n.type){case"inline-style":return H0e(t,e,n.property,n.value);case"attribute":return z0e(t,e,n.property,n.value);case"html-attribute":return Y0e(t,e,n.property,n.value);case"text-content":return n.value!==null?q0e(t,e,n.value):t;default:return t}}async function ol({label:t,kind:e,coalesceKey:n,files:r,readFile:i,writeFile:s,recordEdit:a}){const o={};for(const[u,f]of Object.entries(r)){const d=await i(u);d!==f&&(o[u]={before:d,after:f})}const l=Object.keys(o);if(l.length===0)return[];const c=[];try{for(const u of l)await s(u,o[u].after),c.push(u);await a({label:t,kind:e,coalesceKey:n,files:o})}catch(u){try{for(const f of c.reverse())await s(f,o[f].before)}catch(f){throw new AggregateError([u,f],"Failed to save project files and rollback did not complete")}throw u}return l}function y8(t){return t.domId?{id:t.domId,hfId:t.hfId,selector:t.selector,selectorIndex:t.selectorIndex}:t.hfId?{hfId:t.hfId,selector:t.selector,selectorIndex:t.selectorIndex}:t.selector?{selector:t.selector,selectorIndex:t.selectorIndex}:null}function GU(t,e){try{const n=t==null?void 0:t.contentDocument;return n?e.domId?n.getElementById(e.domId):e.selector?n.querySelectorAll(e.selector)[e.selectorIndex??0]??null:null:null}catch{return null}}function YR(t,e,n){try{const r=GU(t,e);if(!r)return;for(const[i,s]of n)r.setAttribute(i,s)}catch{}}function J0e(t,e,n,r){if(r.playbackStart!=null)return{attrName:n.playbackStartAttr==="playback-start"?"playback-start":"media-start",value:r.playbackStart};const i=r.start-n.start;if(i===0)return null;const s=WR(t,e,"playback-start")??WR(t,e,"media-start"),a=s!=null?parseFloat(s):void 0;return a==null||!Number.isFinite(a)?null:{attrName:n.playbackStartAttr==="playback-start"?"playback-start":"media-start",value:Math.max(0,a+i*Math.max(n.playbackRate??1,.1))}}async function eme(t){const e=t.element.sourceFile||t.activeCompPath||"index.html",n=await Hl(t.projectId,e),r=y8(t.element);if(!r)throw new Error(`Timeline element ${t.element.id} is missing a patchable target`);const i=t.buildPatches(n,r);if(i===n)throw new Error(`Unable to patch timeline element ${t.element.id} in ${e}`);t.pendingTimelineEditPathRef.current.add(e),t.domEditSaveTimestampRef.current=Date.now(),await ol({projectId:t.projectId,label:t.label,kind:"timeline",coalesceKey:t.coalesceKey,files:{[e]:i},readFile:async()=>n,writeFile:t.writeProjectFile,recordEdit:t.recordEdit}),t.domEditSaveTimestampRef.current=Date.now()}async function Hl(t,e){if(e.includes("\0")||e.includes(".."))throw new Error(`Unsafe path: ${e}`);const n=await fetch(`/api/projects/${t}/files/${encodeURIComponent(e)}`);if(!n.ok)throw new Error(`Failed to read ${e}`);const r=await n.json();if(typeof r.content!="string")throw new Error(`Missing file contents for ${e}`);return r.content}async function tme(t,e,n,r){if(r===0||!n)return;const i=await fetch(`/api/projects/${t}/gsap-mutations/${encodeURIComponent(e)}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:"shift-positions",targetSelector:`#${n}`,delta:r})});if(!i.ok){const s=await i.json().catch(()=>null);throw new Error((s==null?void 0:s.error)??"shift-positions failed")}}async function nme(t,e,n,r,i,s,a){if(!n||i<=0||a<=0||r===s&&i===a)return;const o=await fetch(`/api/projects/${t}/gsap-mutations/${encodeURIComponent(e)}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:"scale-positions",targetSelector:`#${n}`,oldStart:r,oldDuration:i,newStart:s,newDuration:a})});if(!o.ok){const l=await o.json().catch(()=>null);throw new Error((l==null?void 0:l.error)??"scale-positions failed")}}const AS=.03;function rme(t,e,n){return t>=e+AS&&t<=e+n-AS}function x8(t){return!t.timelineLocked&&t.timingSource!=="implicit"&&!t.compositionSrc&&!!t.duration&&Number.isFinite(t.duration)}function WU(t,e){return x8(t)&&rme(e,t.start,t.duration)}function ime(t,e){return t.filter(n=>WU(n,e))}const $P=b.createContext(null);function sme(){const t=b.useContext($P);if(!t)throw new Error("useTimelineEditContext must be used within TimelineEditProvider");return t}function YU(){return b.useContext($P)??{}}function ame({value:t,children:e}){const n=b.useMemo(()=>t,[t.onMoveElement,t.onResizeElement,t.onToggleTrackHidden,t.onBlockedEditAttempt,t.onSplitElement,t.onRazorSplit,t.onRazorSplitAll,t.onDeleteKeyframe,t.onDeleteAllKeyframes,t.onChangeKeyframeEase,t.onMoveKeyframeToPlayhead,t.onMoveKeyframe,t.onToggleKeyframeAtPlayhead]);return S.jsx($P.Provider,{value:n,children:e})}function ome({element:t}){const e=pe(n=>n.lintFindingsByElement.get(t.key??t.id));return!e||e.count===0?null:S.jsx("span",{className:"absolute w-1.5 h-1.5 rounded-full bg-amber-400",style:{top:7,right:7},title:e.messages.join(`
|
|
90
|
-
`)})}const lme=b.memo(function({major:e,minor:n,pps:r,trackContentWidth:i,totalH:s,effectiveDuration:a,majorTickInterval:o,rangeSelection:l,theme:c,displayTrackOrder:u,trackOrder:f,tracks:d,trackStyles:m,selectedElementId:x,hoveredClip:g,draggedClip:v,resizingClip:A,blockedClipRef:w,suppressClickRef:k,scrollRef:T,renderClipContent:M,renderClipOverlay:_,playheadRef:D,onDrillDown:I,onSelectElement:j,setHoveredClip:$,setShowPopover:B,setRangeSelection:Q,setResizingClip:z,setDraggedClip:q,setSelectedElementId:re,syncClipDragAutoScroll:W,shiftClickClipRef:ne,getPreviewElement:se,getTrackStyle:he,keyframeCache:oe,selectedKeyframes:G,currentTime:R,onClickKeyframe:H,onShiftClickKeyframe:F,onContextMenuKeyframe:K,onMoveKeyframe:te,onContextMenuClip:ie,beatAnalysis:U}){const{onResizeElement:X,onMoveElement:me,onToggleTrackHidden:Ee,onRazorSplit:Re,onRazorSplitAll:Fe}=YU(),Ge=pe(Se=>Se.beatDragging),Ke=(v==null?void 0:v.element)??null,ft=(v==null?void 0:v.started)===!0&&Ke?qfe({element:Ke,draggedElementId:Ke.key??Ke.id,previewStart:v.previewStart,previewTrack:v.previewTrack}):null,ye=(v==null?void 0:v.started)===!0&&ft&&T.current?{left:v.pointerClientX-T.current.getBoundingClientRect().left+T.current.scrollLeft-v.pointerOffsetX,top:v.pointerClientY-T.current.getBoundingClientRect().top+T.current.scrollTop-v.pointerOffsetY}:null,ve=(Se,Be)=>S.jsxs(S.Fragment,{children:[_==null?void 0:_(Se),!M&&S.jsx(ome,{element:Se}),M&&S.jsx("div",{className:"absolute inset-0 overflow-hidden",children:M(Se,Be)})]});return S.jsxs("div",{className:"relative",style:{height:s,width:ui+i},children:[S.jsx(D0e,{major:e,minor:n,pps:r,trackContentWidth:i,totalH:s,effectiveDuration:a,majorTickInterval:o,theme:c,beatAnalysis:U}),u.map(Se=>{var St,Tt;const Be=((St=d.find(([nt])=>nt===Se))==null?void 0:St[1])??[],Ze=m.get(Se)??he(""),Ye=(v==null?void 0:v.started)===!0&&!f.includes(Se)&&Be.length===0,ht=u.indexOf(Se)%2===0?c.rowBackground:"#0D0E12",Ue=(((Tt=U==null?void 0:U.beatTimes)==null?void 0:Tt.length)??0)>=2&&(x?Be.some(nt=>(nt.key??nt.id)===x):Be.some(qo)),tt=Be.length>0&&Be.every(nt=>nt.hidden===!0);return S.jsxs("div",{className:"relative flex",style:{height:qp,background:ht,borderBottom:`1px solid ${c.rowBorder}`},children:[S.jsx("div",{className:"sticky left-0 z-[12] flex-shrink-0 flex items-center justify-center",style:{width:ui,background:c.gutterBackground,borderRight:`1px solid ${c.gutterBorder}`},children:S.jsx("button",{type:"button","aria-label":tt?`Show track ${Se}`:`Hide track ${Se}`,title:tt?`Show track ${Se}`:`Hide track ${Se}`,className:`flex h-6 w-6 items-center justify-center rounded border-0 bg-transparent p-0 transition-colors focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-[-1px] focus-visible:outline-[#3CE6AC] ${tt?"text-[#3CE6AC] hover:text-white":"text-white/35 hover:text-white/75"}`,onPointerDown:nt=>{nt.stopPropagation()},onClick:nt=>{nt.stopPropagation(),Ee==null||Ee(Se,!tt)},children:tt?S.jsx(eU,{size:14,weight:"bold","aria-hidden":"true"}):S.jsx(RP,{size:14,weight:"bold","aria-hidden":"true"})})}),S.jsxs("div",{style:{width:i,opacity:tt?.35:1,transition:"opacity 120ms ease"},className:"relative",children:[S.jsx(v0e,{beatTimes:U==null?void 0:U.beatTimes,beatStrengths:U==null?void 0:U.beatStrengths,pps:r,highlightTime:v!=null&&v.started?v.snapBeatTime:null}),Ue&&S.jsx(S0e,{beatTimes:U==null?void 0:U.beatTimes,beatStrengths:U==null?void 0:U.beatStrengths,pps:r}),Ye&&S.jsx("div",{className:"absolute inset-0 flex items-center",style:{paddingLeft:16,color:Ze.label,fontSize:11,letterSpacing:"0.06em",textTransform:"uppercase",opacity:.5},children:"New track"}),Be.map(nt=>{const vt=he(nt.tag),Xt=nt.key??nt.id,Pt=NR(nt),It=x===Xt,At=!!nt.compositionSrc,mt=Xt;if((v==null?void 0:v.started)===!0&&((Ke==null?void 0:Ke.key)??(Ke==null?void 0:Ke.id))===Xt)return null;const _e=se(nt);return S.jsxs(zR,{onContextMenu:Qe=>{Qe.preventDefault(),ie==null||ie(Qe,nt)},el:_e,pps:r,clipY:Ev,isSelected:It,isHovered:g===mt,isDragging:!1,hasCustomContent:!!M,capabilities:Pt,theme:c,isComposition:At,onHoverStart:()=>$(mt),onHoverEnd:()=>$(null),onResizeStart:(Qe,qe)=>{qe.button!==0||qe.shiftKey||!X||Qe==="start"&&!Pt.canTrimStart||Qe==="end"&&!Pt.canTrimEnd||(qe.stopPropagation(),w.current=null,B(!1),Q(null),z({element:nt,edge:Qe,originClientX:qe.clientX,previewStart:nt.start,previewDuration:nt.duration,previewPlaybackStart:nt.playbackStart,started:!1}))},onPointerDown:(Qe=>{var qt,Oe;if(Qe.button!==0||pe.getState().activeTool==="razor")return;if(Qe.shiftKey){ne.current={element:nt,anchorX:Qe.clientX,anchorY:Qe.clientY};return}const Vt=Qe.currentTarget.getBoundingClientRect(),Mt=Hfe({width:Vt.width,offsetX:Qe.clientX-Vt.left,handleWidth:Kfe,capabilities:Pt});if(Mt&&(Mt==="move"&&me||Mt!=="move"&&X)){w.current={element:nt,intent:Mt,originClientX:Qe.clientX,originClientY:Qe.clientY,started:!1};return}!me||!Pt.canMove||(w.current=null,B(!1),Q(null),q({element:nt,originClientX:Qe.clientX,originClientY:Qe.clientY,originScrollLeft:((qt=T.current)==null?void 0:qt.scrollLeft)??0,originScrollTop:((Oe=T.current)==null?void 0:Oe.scrollTop)??0,pointerClientX:Qe.clientX,pointerClientY:Qe.clientY,pointerOffsetX:Qe.clientX-Vt.left,pointerOffsetY:Qe.clientY-Vt.top,previewStart:nt.start,previewTrack:nt.track,snapBeatTime:null,started:!1}),W(Qe.clientX,Qe.clientY))}),onClick:Qe=>{if(Qe.stopPropagation(),k.current)return;const{activeTool:qe}=pe.getState();if(qe==="razor"&&Re){const Mt=Qe.currentTarget.getBoundingClientRect(),qt=Qe.clientX-Mt.left,Oe=_e.start+qt/r,we=Math.max(_e.start+AS,Math.min(_e.start+_e.duration-AS,Oe));Qe.shiftKey&&Fe?Fe(we):Re(nt,we);return}const Vt=It?null:nt;re(Vt?Xt:null),j==null||j(Vt)},onDoubleClick:Qe=>{Qe.stopPropagation(),!k.current&&At&&I&&I(nt)},children:[ve(_e,vt),Ga&&(oe==null?void 0:oe.get(Xt))&&S.jsx(M0e,{keyframesData:oe.get(Xt),clipWidthPx:Math.max(_e.duration*r,4),clipHeightPx:qp-2*Ev,beatsActive:Ue,accentColor:vt.accent,isSelected:It,currentPercentage:_e.duration>0?(R-_e.start)/_e.duration*100:0,elementId:Xt,selectedKeyframes:G,onClickKeyframe:Qe=>H==null?void 0:H(_e,Qe),onShiftClickKeyframe:F,onContextMenuKeyframe:K,onMoveKeyframe:te,suppressClickRef:k})]},mt)})]})]},Se)}),ft&&ye&&S.jsx("div",{className:"absolute pointer-events-none",style:{top:ye.top,left:ye.left,width:Math.max(ft.duration*r,4),height:qp-Ev*2,zIndex:40},children:S.jsx(zR,{el:{...ft,start:0},pps:r,clipY:0,isSelected:x===(ft.key??ft.id),isHovered:!1,isDragging:!0,hasCustomContent:!!M,capabilities:NR(ft),theme:c,isComposition:!!ft.compositionSrc,onHoverStart:()=>{},onHoverEnd:()=>{},onResizeStart:()=>{},onClick:()=>{},onDoubleClick:()=>{},children:ve(ft,he(ft.tag))})}),l&&S.jsx("div",{className:"absolute pointer-events-none",style:{left:ui+Math.min(l.start,l.end)*r,width:Math.abs(l.end-l.start)*r,top:Zf,bottom:0,backgroundColor:"rgba(59, 130, 246, 0.12)",borderLeft:"1px solid rgba(59, 130, 246, 0.4)",borderRight:"1px solid rgba(59, 130, 246, 0.4)",zIndex:50}}),S.jsx("div",{ref:D,className:"absolute top-0 bottom-0 pointer-events-none",style:{left:`${ui}px`,zIndex:100,display:Ge?"none":void 0},children:S.jsx(N0e,{})})]})});function qU(t){const e=b.useRef(null),n=b.useCallback(r=>{var i;r instanceof KeyboardEvent&&r.key!=="Escape"||r instanceof MouseEvent&&((i=e.current)!=null&&i.contains(r.target))||t()},[t]);return b.useEffect(()=>(document.addEventListener("mousedown",n),document.addEventListener("keydown",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("keydown",n)}),[n]),e}const KU=b.memo(function({state:e,onClose:n,onDelete:r,onDeleteAll:i,onMoveToPlayhead:s}){const a=qU(n),o=200,l=s?100:70,c=e.y+l-window.innerHeight,u=e.x+o>window.innerWidth?e.x-o:e.x,f=c>0?e.y-c-8:e.y;return wx.createPortal(S.jsxs("div",{ref:a,className:"fixed z-50 bg-neutral-900 border border-neutral-700 rounded-md shadow-lg py-1 min-w-[180px]",style:{left:u,top:f},children:[s&&S.jsx("button",{type:"button",className:"w-full flex items-center gap-2 px-3 py-1.5 text-xs text-neutral-200 hover:bg-neutral-800 cursor-pointer text-left",onClick:()=>{s(e.elementId,e.percentage),n()},children:"Move to Playhead"}),S.jsx("button",{type:"button",className:"w-full flex items-center gap-2 px-3 py-1.5 text-xs text-red-400 hover:bg-neutral-800 cursor-pointer text-left",onClick:()=>{r(e.elementId,e.percentage),n()},children:"Delete Keyframe"}),S.jsx("button",{type:"button",className:"w-full flex items-center gap-2 px-3 py-1.5 text-xs text-red-400 hover:bg-neutral-800 cursor-pointer text-left",onClick:()=>{i(e.elementId),n()},children:"Delete All Keyframes"})]}),document.body)}),JU=8,Ub=[];function vS(t,e,n){let r=t,i=n;for(const s of e){const a=Math.abs(s-t);a<i&&(i=a,r=s)}return r}function cme(t,e,n,r,i){if(n.length===0)return{start:t,beat:null};const s=JU/Math.max(r,1),a=vS(t,n,s),o=vS(t+e,n,s),l=a!==t,c=o!==t+e;let u=t,f=null;l&&(!c||Math.abs(a-t)<=Math.abs(o-(t+e)))?(u=a,f=a):c&&(u=o-e,f=o);const d=Math.max(0,i-e),m=Math.max(0,Math.min(d,Math.round(u*1e3)/1e3));return f!=null&&Math.abs(m-u)>1e-6&&(f=null),{start:m,beat:f}}function ume({scrollRef:t,ppsRef:e,durationRef:n,trackOrderRef:r,onMoveElement:i,onResizeElement:s,onBlockedEditAttempt:a,setShowPopover:o,setRangeSelectionRef:l}){const c=pe(R=>R.updateElement),u=pe(R=>{var H;return((H=R.beatAnalysis)==null?void 0:H.beatTimes)??Ub}),f=pe(R=>{var H;return((H=R.beatAnalysis)==null?void 0:H.beatStrengths)??Ub}),d=pe(R=>R.beatEdits),m=pe(R=>{var H;return((H=R.elements.find(qo))==null?void 0:H.start)??0}),x=pe(R=>{var H;return((H=R.elements.find(qo))==null?void 0:H.playbackStart)??0}),g=pe(R=>{var H;return((H=R.elements.find(qo))==null?void 0:H.duration)??0}),v=pe(R=>{var H;return((H=R.elements.find(qo))==null?void 0:H.src)??null}),A=b.useMemo(()=>{if(u===Ub||g===0)return Ub;const R=PP(u,f,d,v),H=x+g,F=m-x;return R.times.filter(K=>K>=x&&K<=H).map(K=>Math.round((K+F)*1e3)/1e3)},[u,f,d,v,m,x,g]),w=b.useRef([]);w.current=A;const[k,T]=b.useState(null),M=b.useRef(null);M.current=k;const[_,D]=b.useState(null),I=b.useRef(null);I.current=_;const j=b.useRef(null),$=b.useRef(!1),B=b.useRef(i);B.current=i;const Q=b.useRef(s);Q.current=s;const z=b.useRef(0),q=b.useRef(null),re=b.useCallback((R,H,F)=>{const K=t.current,te=$fe({start:R.element.start,track:R.element.track,duration:R.element.duration,originClientX:R.originClientX,originClientY:R.originClientY,originScrollLeft:R.originScrollLeft,originScrollTop:R.originScrollTop,currentScrollLeft:(K==null?void 0:K.scrollLeft)??R.originScrollLeft,currentScrollTop:(K==null?void 0:K.scrollTop)??R.originScrollTop,pixelsPerSecond:e.current,trackHeight:qp,maxStart:Math.max(0,n.current-R.element.duration),trackOrder:r.current},H,F),ie=qo(R.element)?{start:te.start,beat:null}:cme(te.start,R.element.duration,w.current,e.current,n.current);return{...R,started:!0,pointerClientX:H,pointerClientY:F,previewStart:ie.start,previewTrack:te.track,snapBeatTime:ie.beat}},[t,e,n,r]),W=b.useCallback(()=>{q.current=null,z.current&&(cancelAnimationFrame(z.current),z.current=0)},[]),ne=b.useCallback(()=>{z.current=0;const R=M.current,H=q.current,F=t.current;if(!R||!H||!F)return;const K=F.getBoundingClientRect(),te=DR(K,H.clientX,H.clientY);if(te.x===0&&te.y===0)return;const ie=Math.max(0,F.scrollWidth-F.clientWidth),U=Math.max(0,F.scrollHeight-F.clientHeight),X=Math.max(0,Math.min(ie,F.scrollLeft+te.x)),me=Math.max(0,Math.min(U,F.scrollTop+te.y));X===F.scrollLeft&&me===F.scrollTop||(F.scrollLeft=X,F.scrollTop=me,T(Ee=>Ee&&re(Ee,H.clientX,H.clientY)),z.current=requestAnimationFrame(ne))},[t,re]),se=b.useCallback((R,H)=>{q.current={clientX:R,clientY:H};const F=t.current;if(!F)return;const K=F.getBoundingClientRect(),te=DR(K,R,H);if(te.x===0&&te.y===0){z.current&&(cancelAnimationFrame(z.current),z.current=0);return}z.current||(z.current=requestAnimationFrame(ne))},[t,ne]),he=b.useRef(re);he.current=re;const oe=b.useRef(se);oe.current=se;const G=b.useRef(W);return G.current=W,wr(()=>{const R=()=>{requestAnimationFrame(()=>{$.current=!1})},H=K=>{var me,Ee,Re;const te=M.current,ie=I.current,U=j.current;if(ie){const Fe=Math.abs(K.clientX-ie.originClientX);if(!ie.started&&Fe<2)return;o(!1),(me=l.current)==null||me.call(l,null);const Ge=ie.element.sourceDuration!=null?Math.max(0,(ie.element.sourceDuration-(ie.element.playbackStart??0))/Math.max(ie.element.playbackRate??1,.1)):Number.POSITIVE_INFINITY,Ke=ie.element.tag.toLowerCase(),ft=Ke==="audio"||Ke==="video",ye=Math.max(ie.element.playbackRate??1,.1),ve=Math.min(n.current,ie.element.start+Ge);let Se=Bfe({start:ie.element.start,duration:ie.element.duration,originClientX:ie.originClientX,pixelsPerSecond:e.current,minStart:0,maxEnd:ve,playbackStart:ie.edge==="start"&&ft?ie.element.playbackStart??0:ie.element.playbackStart,playbackRate:ie.element.playbackRate},ie.edge,K.clientX);const Be=w.current;if(Be.length>0&&!qo(ie.element)){const Ze=JU/Math.max(e.current,1);if(ie.edge==="end"){const Ye=Se.start+Se.duration,ht=vS(Ye,Be,Ze),Ue=Math.round((ht-Se.start)*1e3)/1e3;ht!==Ye&&ht<=ve+1e-6&&Ue>=.05&&(Se={...Se,duration:Ue})}else{const Ye=vS(Se.start,Be,Ze),ht=Se.start-Ye,Ue=Se.playbackStart!=null?Se.playbackStart/ye:Number.POSITIVE_INFINITY,tt=Math.round((Se.duration+ht)*1e3)/1e3;Ye!==Se.start&&Ye>=0&&ht<=Ue+1e-6&&tt>=.05&&(Se={...Se,start:Ye,duration:tt,playbackStart:Se.playbackStart!=null?Math.round(Math.max(0,Se.playbackStart-ht*ye)*1e3)/1e3:void 0})}}D(Ze=>Ze&&{...Ze,started:!0,previewStart:Se.start,previewDuration:Se.duration,previewPlaybackStart:Se.playbackStart});return}if(U){const Fe=Math.hypot(K.clientX-U.originClientX,K.clientY-U.originClientY),Ge=U.intent==="move"?4:2;if(!U.started&&Fe<Ge)return;U.started||(U.started=!0,j.current=U,$.current=!0,o(!1),(Ee=l.current)==null||Ee.call(l,null),a==null||a(U.element,U.intent));return}if(!te)return;const X=Math.hypot(K.clientX-te.originClientX,K.clientY-te.originClientY);!te.started&&X<4||(o(!1),(Re=l.current)==null||Re.call(l,null),T(Fe=>Fe&&he.current(Fe,K.clientX,K.clientY)),oe.current(K.clientX,K.clientY))},F=()=>{var X,me;G.current();const K=I.current;if(K){if(I.current=null,D(null),!K.started||($.current=!0,R(),!(K.previewStart!==K.element.start||K.previewDuration!==K.element.duration||K.previewPlaybackStart!==K.element.playbackStart)))return;c(K.element.key??K.element.id,{start:K.previewStart,duration:K.previewDuration,playbackStart:K.previewPlaybackStart}),Promise.resolve((X=Q.current)==null?void 0:X.call(Q,K.element,{start:K.previewStart,duration:K.previewDuration,playbackStart:K.previewPlaybackStart})).catch(Re=>{c(K.element.key??K.element.id,{start:K.element.start,duration:K.element.duration,playbackStart:K.element.playbackStart}),console.error("[Timeline] Failed to persist clip resize",Re)});return}const te=j.current;if(te){if(j.current=null,!te.started)return;R();return}const ie=M.current;!ie||(M.current=null,T(null),!ie.started)||($.current=!0,R(),!(ie.previewStart!==ie.element.start||ie.previewTrack!==ie.element.track))||(c(ie.element.key??ie.element.id,{start:ie.previewStart,track:ie.previewTrack}),Promise.resolve((me=B.current)==null?void 0:me.call(B,ie.element,{start:ie.previewStart,track:ie.previewTrack})).catch(Ee=>{c(ie.element.key??ie.element.id,{start:ie.element.start,track:ie.element.track}),console.error("[Timeline] Failed to persist clip move",Ee)}))};return window.addEventListener("pointermove",H),window.addEventListener("pointerup",F),window.addEventListener("pointercancel",F),()=>{G.current(),window.removeEventListener("pointermove",H),window.removeEventListener("pointerup",F),window.removeEventListener("pointercancel",F)}}),{draggedClip:k,setDraggedClip:T,resizingClip:_,setResizingClip:D,blockedClipRef:j,suppressClickRef:$,syncClipDragAutoScroll:se,stopClipDragAutoScroll:W}}const hme=b.memo(function({x:e,y:n,element:r,currentTime:i,onClose:s,onSplit:a,onDelete:o}){const l=qU(s),c=200,f=n+80-window.innerHeight,d=e+c>window.innerWidth?e-c:e,m=f>0?n-f-8:n,x=x8(r)&&["video","audio","img"].includes(r.tag),g=x&&i>r.start&&i<r.start+r.duration,v=x?g?`Split at ${i.toFixed(2)}s`:"Split (move playhead inside clip)":null;return wx.createPortal(S.jsxs("div",{ref:l,className:"fixed z-50 bg-neutral-900 border border-neutral-700 rounded-md shadow-lg py-1 min-w-[180px]",style:{left:d,top:m},children:[v&&S.jsxs(S.Fragment,{children:[S.jsxs("button",{type:"button",className:`w-full flex items-center justify-between px-3 py-1.5 text-xs text-left ${g?"text-neutral-300 hover:bg-neutral-800 cursor-pointer":"text-neutral-600 cursor-not-allowed"}`,disabled:!g,onClick:()=>{g&&(a(r,i),s())},children:[S.jsx("span",{children:v}),S.jsx("span",{className:"text-neutral-500 text-[10px] ml-3",children:"S"})]}),S.jsx("div",{className:"my-1 border-t border-neutral-700/60"})]}),S.jsxs("button",{type:"button",className:"w-full flex items-center justify-between px-3 py-1.5 text-xs text-red-400 hover:bg-neutral-800 cursor-pointer text-left",onClick:()=>{o(r),s()},children:[S.jsx("span",{children:"Delete"}),S.jsx("span",{className:"text-neutral-500 text-[10px] ml-3",children:"⌫"})]})]}),document.body)});function fme({theme:t}){return S.jsx("div",{className:"absolute bottom-2 right-3 pointer-events-none z-20",children:S.jsxs("div",{className:"flex items-center gap-1.5 px-2 py-1 rounded-md border",style:{background:"rgba(17,23,35,0.84)",borderColor:t.gutterBorder},children:[S.jsx("kbd",{className:"text-[9px] font-mono px-1 py-0.5 rounded",style:{color:t.textSecondary,background:"rgba(255,255,255,0.06)"},children:"Shift"}),S.jsx("span",{className:"text-[9px]",style:{color:t.textSecondary},children:"+ drag/click to edit range"})]})})}function dme(t){const e=YU(),{onMoveElement:n,onResizeElement:r,onBlockedEditAttempt:i,onSplitElement:s}=t;return b.useMemo(()=>({...e,onMoveElement:n??e.onMoveElement,onResizeElement:r??e.onResizeElement,onBlockedEditAttempt:i??e.onBlockedEditAttempt,onSplitElement:s??e.onSplitElement}),[e,n,r,i,s])}const pme=b.memo(function({onSeek:e,onDrillDown:n,renderClipContent:r,renderClipOverlay:i,onFileDrop:s,onAssetDrop:a,onBlockDrop:o,onDeleteElement:l,onMoveElement:c,onResizeElement:u,onBlockedEditAttempt:f,onSplitElement:d,onSelectElement:m,theme:x}={}){const{onMoveElement:g,onResizeElement:v,onBlockedEditAttempt:A,onSplitElement:w,onRazorSplitAll:k,onDeleteKeyframe:T,onDeleteAllKeyframes:M,onChangeKeyframeEase:_,onMoveKeyframeToPlayhead:D,onMoveKeyframe:I}=dme({onMoveElement:c,onResizeElement:u,onBlockedEditAttempt:f,onSplitElement:d}),j=b.useMemo(()=>({...LX,...x}),[x]);Afe();const $=pe($e=>$e.elements),B=RX(),Q=pe($e=>$e.beatAnalysis),z=pe($e=>$e.elements.find(qo)??null),q=pe($e=>$e.beatEdits),re=b.useMemo(()=>vfe(Q,z,q),[Q,z,q]),W=pe($e=>$e.duration),ne=pe($e=>$e.timelineReady),se=pe($e=>$e.selectedElementId),he=pe($e=>$e.setSelectedElementId),oe=pe($e=>$e.currentTime),{zoomMode:G,manualZoomPercent:R,setZoomMode:H,setManualZoomPercent:F}=jX(),K=b.useRef(null),te=b.useRef(null),ie=b.useRef(null),U=pe($e=>$e.activeTool),[X,me]=b.useState(null),Ee=b.useRef(!1),[Re,Fe]=b.useState(!1),[Ge,Ke]=b.useState(null);wr(()=>{const $e=vn=>vn.key==="Shift"&&Fe(!0),dt=vn=>vn.key==="Shift"&&Fe(!1),Kt=()=>Fe(!1);return window.addEventListener("keydown",$e),window.addEventListener("keyup",dt),window.addEventListener("blur",Kt),()=>{window.removeEventListener("keydown",$e),window.removeEventListener("keyup",dt),window.removeEventListener("blur",Kt)}});const[ft,ye]=b.useState(!1),[ve,Se]=b.useState(!0),[Be,Ze]=b.useState(null),[Ye,ht]=b.useState(null),[Ue,tt]=b.useState(0),St=b.useRef(null),Tt=b.useRef(0),nt=b.useCallback(()=>{const $e=ie.current;Se($e?ade($e.scrollHeight,$e.clientHeight):!0)},[]),vt=b.useCallback(()=>{Tt.current&&cancelAnimationFrame(Tt.current),Tt.current=requestAnimationFrame(()=>{Tt.current=0,nt()})},[nt]),Xt=b.useCallback($e=>{te.current=$e},[]),Pt=b.useCallback($e=>{if(St.current&&(St.current.disconnect(),St.current=null),ie.current=$e,!$e)return;const dt=()=>{tt($e.clientWidth),vt()};dt(),St.current=new ResizeObserver(dt),St.current.observe($e)},[vt]);wr(()=>()=>{var $e;($e=St.current)==null||$e.disconnect(),Tt.current&&cancelAnimationFrame(Tt.current)});const It=b.useMemo(()=>{const $e=Number.isFinite(W)?W:0;if($.length===0)return $e;const dt=Math.max(...$.map(vn=>vn.start+vn.duration)),Kt=Math.max($e,dt);return Number.isFinite(Kt)?Kt:$e},[$,W]),At=b.useMemo(()=>{const $e=new Map;for(const dt of B){const Kt=$e.get(dt.track)??[];Kt.push(dt),$e.set(dt.track,Kt)}return Array.from($e.entries()).sort(([dt],[Kt])=>dt-Kt)},[B]),mt=b.useMemo(()=>{var dt;const $e=new Map;for(const[Kt,vn]of At)$e.set(Kt,VR(((dt=vn[0])==null?void 0:dt.tag)??""));return $e},[At]),ut=b.useMemo(()=>At.map(([$e])=>$e),[At]),_e=b.useRef(ut);_e.current=ut;const Qe=b.useRef(100),qe=b.useRef(It);qe.current=It;const Vt=b.useRef(null),{draggedClip:Mt,setDraggedClip:qt,resizingClip:Oe,setResizingClip:we,blockedClipRef:Ve,suppressClickRef:Te,syncClipDragAutoScroll:$t}=ume({scrollRef:ie,ppsRef:Qe,durationRef:qe,trackOrderRef:_e,onMoveElement:g,onResizeElement:v,onBlockedEditAttempt:A,setShowPopover:ye,setRangeSelectionRef:Vt}),dn=b.useMemo(()=>!(Mt!=null&&Mt.started)||ut.length===0||ut.includes(Mt.previewTrack)?ut:[...ut,Mt.previewTrack].sort(($e,dt)=>$e-dt),[Mt,ut]),$n=sde(dn.length),bn=pe($e=>$e.keyframeCache),Yn=pe($e=>$e.selectedKeyframes),ar=pe($e=>$e.toggleSelectedKeyframe),$r=b.useMemo(()=>B.find($e=>($e.key??$e.id)===se)??null,[B,se]),or=b.useRef($r);or.current=$r;const kn=Ue>ui&&It>0?(Ue-ui-2)/It:100,An=pde(kn,G,R);Qe.current=An;const bt=Math.max(0,It*An),xr=b.useMemo(()=>B.map($e=>`${$e.key??$e.id}:${$e.start}:${$e.duration}:${$e.track}`).join("|"),[B]),tn=b.useRef(G);tn.current=G;const mn=b.useRef(R);mn.current=R;const Nn=b.useRef(kn);Nn.current=kn;const{seekFromX:Hn,autoScrollDuringDrag:dr,dragScrollRaf:zt}=gde({playheadRef:K,scrollRef:ie,ppsRef:Qe,durationRef:qe,isDragging:Ee,currentTime:oe,zoomMode:G,zoomModeRef:tn,manualZoomPercentRef:mn,fitPps:kn,fitPpsRef:Nn,effectiveDuration:It,pps:An,timelineReady:ne,elementsLength:B.length,setZoomMode:H,setManualZoomPercent:F,onSeek:e});Sde({scrollRef:ie,currentTime:oe,clipStateVersion:xr});const{rangeSelection:We,setRangeSelection:Ut,shiftClickClipRef:gn,handlePointerDown:br,handlePointerMove:Ur,handlePointerUp:qn}=lde({scrollRef:ie,ppsRef:Qe,effectiveDuration:It,pps:An,onSeek:e,seekFromX:Hn,autoScrollDuringDrag:dr,dragScrollRaf:zt,isDragging:Ee,setShowPopover:ye});Vt.current=Ut;const Mi=b.useRef(or.current);b.useEffect(()=>{const $e=Mi.current,dt=or.current;Mi.current=dt,$e&&!dt&&(ye(!1),Ut(null))});const{major:Bn,minor:wn}=b.useMemo(()=>nde(It,An),[It,An]),xi=Bn.length>=2?Bn[1]-Bn[0]:It;b.useEffect(()=>{nt()},[nt,ne,B.length,$n]);const Rt=b.useCallback($e=>Oe&&(Oe.element.key??Oe.element.id)===($e.key??$e.id)?{...$e,start:Oe.previewStart,duration:Oe.previewDuration,playbackStart:Oe.previewPlaybackStart}:$e,[Oe]),{isDragOver:Ht,setIsDragOver:Kn,handleAssetDragOver:yt,handleAssetDrop:Zn}=Tde({scrollRef:ie,ppsRef:Qe,durationRef:qe,trackOrderRef:_e,onFileDrop:s,onAssetDrop:a,onBlockDrop:o});return!ne||B.length===0?S.jsx(Pde,{isDragOver:Ht,onFileDrop:!!s,onDragOver:yt,onDragLeave:()=>Kn(!1),onDrop:Zn}):S.jsxs("div",{ref:Xt,"aria-label":"Timeline",className:`relative border-t select-none h-full overflow-hidden ${U==="razor"||Re?"cursor-crosshair":"cursor-default"}`,onMouseMove:$e=>{if(U==="razor"&&ie.current){const dt=ie.current.getBoundingClientRect();Ke($e.clientX-dt.left+ie.current.scrollLeft)}},onMouseLeave:()=>Ke(null),style:{touchAction:"pan-x pan-y",background:j.shellBackground,borderColor:j.shellBorder},children:[S.jsxs("div",{ref:Pt,tabIndex:-1,className:`${G==="fit"?"overflow-x-hidden":"overflow-x-auto"} overflow-y-auto h-full outline-none`,onDragOver:yt,onDragLeave:()=>Kn(!1),onDrop:Zn,onPointerDown:$e=>{if(U==="razor"&&$e.shiftKey&&$e.button===0&&ie.current){const dt=ie.current.getBoundingClientRect(),Kt=$e.clientX-dt.left+ie.current.scrollLeft-ui,vn=Math.max(0,Kt/An);k==null||k(vn);return}br($e)},onPointerMove:Ur,onPointerUp:qn,onLostPointerCapture:qn,children:[S.jsx(lme,{major:Bn,minor:wn,pps:An,trackContentWidth:bt,totalH:$n,effectiveDuration:It,majorTickInterval:xi,rangeSelection:We,theme:j,displayTrackOrder:dn,trackOrder:ut,tracks:At,trackStyles:mt,selectedElementId:se,hoveredClip:X,draggedClip:Mt,resizingClip:Oe,blockedClipRef:Ve,suppressClickRef:Te,scrollRef:ie,renderClipContent:r,renderClipOverlay:i,playheadRef:K,onDrillDown:n,onSelectElement:m,setHoveredClip:me,setShowPopover:ye,setRangeSelection:Ut,setResizingClip:we,setDraggedClip:qt,setSelectedElementId:he,syncClipDragAutoScroll:$t,shiftClickClipRef:gn,getPreviewElement:Rt,getTrackStyle:VR,keyframeCache:bn,selectedKeyframes:Yn,currentTime:oe,beatAnalysis:re,onClickKeyframe:($e,dt)=>{pe.getState().clearSelectedKeyframes();const Kt=$e.key??$e.id;he(Kt),m==null||m($e),ar(`${Kt}:${dt}`);const vn=$e.start+dt/100*$e.duration;e==null||e(vn);const un=bn==null?void 0:bn.get(Kt),zn=un==null?void 0:un.keyframes.find(lr=>Math.abs(lr.percentage-dt)<.5);pe.getState().setActiveKeyframePct((zn==null?void 0:zn.tweenPercentage)??null)},onShiftClickKeyframe:($e,dt)=>{ar(`${$e}:${dt}`)},onMoveKeyframe:I,onContextMenuKeyframe:($e,dt,Kt)=>{const vn=B.find(lr=>(lr.key??lr.id)===dt);vn&&(he(dt),m==null||m(vn));const un=bn.get(dt),zn=un==null?void 0:un.keyframes.find(lr=>Math.abs(lr.percentage-Kt)<.2);Ze({x:$e.clientX+4,y:$e.clientY+2,elementId:dt,percentage:Kt,tweenPercentage:zn==null?void 0:zn.tweenPercentage,currentEase:(zn==null?void 0:zn.ease)??(un==null?void 0:un.ease)})},onContextMenuClip:($e,dt)=>{$e.preventDefault(),he(dt.key??dt.id),m==null||m(dt),ht({x:$e.clientX,y:$e.clientY,element:dt})}}),U==="razor"&&Ge!==null&&S.jsx("div",{className:"absolute top-0 bottom-0 pointer-events-none z-10",style:{left:Ge,width:1,background:"rgba(239,68,68,0.7)"}})]}),ve&&!ft&&!We&&S.jsx(fme,{theme:j}),ft&&We&&S.jsx(Ufe,{rangeStart:We.start,rangeEnd:We.end,anchorX:We.anchorX,anchorY:We.anchorY,onClose:()=>{ye(!1),Ut(null)}}),Be&&S.jsx(KU,{state:Be,onClose:()=>Ze(null),onDelete:($e,dt)=>T==null?void 0:T($e,dt),onDeleteAll:$e=>M==null?void 0:M($e),onChangeEase:($e,dt,Kt)=>_==null?void 0:_($e,dt,Kt),onMoveToPlayhead:D?($e,dt)=>D($e,dt):void 0,onCopyProperties:($e,dt)=>{const Kt=bn.get($e),vn=Kt==null?void 0:Kt.keyframes.find(un=>un.percentage===dt);vn&&navigator.clipboard.writeText(JSON.stringify(vn.properties,null,2))}}),Ye&&S.jsx(hme,{x:Ye.x,y:Ye.y,element:Ye.element,currentTime:oe,onClose:()=>ht(null),onSplit:($e,dt)=>w==null?void 0:w($e,dt),onDelete:$e=>l==null?void 0:l($e)})]})}),qR=66,KR=6,mme=b.memo(function({videoSrc:e,label:n,labelColor:r,duration:i=5}){const[s,a]=b.useState(0),[o,l]=b.useState(!1),[c,u]=b.useState([]),[f,d]=b.useState(16/9),m=b.useRef(null),x=b.useRef(null),g=b.useRef(!1),v=b.useCallback(k=>{var _,D,I;if((_=m.current)==null||_.disconnect(),(D=x.current)==null||D.disconnect(),!k)return;const T=((I=k.parentElement)==null?void 0:I.clientWidth)||k.clientWidth;a(T),m.current=new IntersectionObserver(([j])=>{var $;j.isIntersecting&&(l(!0),($=m.current)==null||$.disconnect())},{rootMargin:"200px"}),m.current.observe(k);const M=k.parentElement||k;x.current=new ResizeObserver(([j])=>{a(j.contentRect.width)}),x.current.observe(M)},[]);wr(()=>()=>{var k,T;(k=m.current)==null||k.disconnect(),(T=x.current)==null||T.disconnect()}),b.useEffect(()=>{if(!o||g.current)return;g.current=!0;const k=document.createElement("video");k.crossOrigin="anonymous",k.muted=!0,k.preload="auto";const T=document.createElement("canvas"),M=T.getContext("2d");if(!M){g.current=!1;return}const _=[],D=Math.min(.4,i*.05);for(let B=0;B<KR;B++){const Q=B/(KR-1)*i;_.push(Math.max(Q,D))}let I=0,j=!1;const $=()=>{if(j||I>=_.length){j||(k.src="",k.load());return}k.currentTime=_[I]};return k.addEventListener("loadedmetadata",()=>{if(k.videoWidth>0&&k.videoHeight>0){d(k.videoWidth/k.videoHeight);const B=qR*2,Q=Math.round(B*(k.videoWidth/k.videoHeight));T.width=Q,T.height=B}$()}),k.addEventListener("seeked",()=>{if(j)return;M.drawImage(k,0,0,T.width,T.height);const B=T.toDataURL("image/jpeg",.6);u(Q=>[...Q,B]),I++,$()}),k.addEventListener("error",()=>{}),k.src=e,k.load(),()=>{j=!0,g.current=!1,u([]),k.src="",k.load()}},[o,e,i]);const A=Math.round(qR*f),w=s>0?Math.max(1,Math.ceil(s/A)):1;return S.jsxs("div",{ref:v,className:"absolute inset-0 overflow-hidden",children:[o&&c.length>0&&S.jsx("div",{className:"absolute inset-0 flex",children:Array.from({length:w}).map((k,T)=>{const M=c[T%c.length];return S.jsx("div",{className:"flex-shrink-0 h-full relative overflow-hidden bg-neutral-900",style:{width:A},children:S.jsx("img",{src:M,alt:"",draggable:!1,className:"absolute inset-0 w-full h-full object-cover"})},T)})}),o&&c.length===0&&S.jsx("div",{className:"absolute inset-0 animate-pulse",style:{background:"linear-gradient(90deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.02) 100%)"}}),n&&S.jsx("div",{className:"absolute bottom-0 left-0 right-0 z-10 px-1.5 pb-0.5 pt-3",style:{background:"linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%)"},children:S.jsx("span",{className:"text-[9px] font-semibold truncate block leading-tight",style:{color:r,textShadow:"0 1px 2px rgba(0,0,0,0.9)"},children:n})})]})}),gme=66,yme="v3";function eG({previewUrl:t,seekTime:e=2,duration:n=5,selector:r,selectorIndex:i,origin:s}){const a=t.replace("/preview/comp/","/thumbnail/").replace(/\/preview$/,"/thumbnail/index.html"),o=e+n/2,l=new URL(a,s);return l.searchParams.set("t",o.toFixed(2)),l.searchParams.set("v",yme),r&&(l.searchParams.set("selector",r),i!=null&&i>0&&l.searchParams.set("selectorIndex",String(i))),l.toString()}const J6=b.memo(function({previewUrl:e,label:n,labelColor:r,selector:i,selectorIndex:s,seekTime:a=2,duration:o=5}){const[l,c]=b.useState(0),[u,f]=b.useState(!1),[d,m]=b.useState(16/9),x=b.useRef(null),g=b.useCallback(k=>{var _,D;if((_=x.current)==null||_.disconnect(),!k)return;const T=((D=k.parentElement)==null?void 0:D.clientWidth)||k.clientWidth;c(T);const M=k.parentElement||k;x.current=new ResizeObserver(([I])=>{c(I.contentRect.width)}),x.current.observe(M)},[]);wr(()=>()=>{var k;(k=x.current)==null||k.disconnect()});const v=eG({previewUrl:e,seekTime:a,duration:o,selector:i,selectorIndex:s,origin:window.location.origin}),A=Math.max(48,Math.round(gme*d)),w=l>0?Math.max(1,Math.ceil(l/A)):1;return S.jsxs("div",{ref:g,className:"absolute inset-0 overflow-hidden",children:[S.jsx("img",{src:v,alt:"",draggable:!1,loading:"eager",onLoad:k=>{const T=k.currentTarget;T.naturalWidth>0&&T.naturalHeight>0&&m(T.naturalWidth/T.naturalHeight),f(!0)},className:"hidden"}),u&&S.jsx("div",{className:"absolute inset-0 flex",style:{animation:"hf-thumb-fade 200ms ease-out",mixBlendMode:"lighten"},children:Array.from({length:w}).map((k,T)=>S.jsx("div",{className:"relative h-full flex-shrink-0 overflow-hidden",style:{width:A},children:S.jsx("img",{src:v,alt:"",draggable:!1,className:"absolute inset-0 h-full w-full object-cover",style:{opacity:.7}})},T))}),n&&S.jsx("div",{className:"absolute left-3 top-0 bottom-0 flex items-center",style:{zIndex:10},children:S.jsx("span",{className:"block max-w-full truncate text-[10px] font-semibold leading-none",style:{color:r,textShadow:u?"0 1px 4px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.6)":"none"},children:n})})]})});let xme=0;const JR={isEditMode:!1,model:null,selectedSegmentIds:new Set,selectedGroupId:null,sourceFilePath:null},Gn=gX((t,e)=>({...JR,setEditMode:n=>t({isEditMode:n}),setModel:n=>t({model:n}),setSourceFilePath:n=>t({sourceFilePath:n}),selectSegment:(n,r=!1)=>t(i=>{if(r){const s=new Set(i.selectedSegmentIds);return s.has(n)?s.delete(n):s.add(n),{selectedSegmentIds:s,selectedGroupId:null}}return{selectedSegmentIds:new Set([n]),selectedGroupId:null}}),selectGroup:n=>{var i;const r=(i=e().model)==null?void 0:i.groups.get(n);r&&t({selectedSegmentIds:new Set(r.segmentIds),selectedGroupId:n})},selectAll:()=>t(n=>n.model?{selectedSegmentIds:new Set(n.model.segments.keys()),selectedGroupId:null}:{}),clearSelection:()=>{const{selectedSegmentIds:n,selectedGroupId:r}=e();n.size===0&&r===null||t({selectedSegmentIds:new Set,selectedGroupId:null})},updateSegmentStyle:(n,r)=>t(i=>{if(!i.model)return{};const s=i.model.segments.get(n);if(!s)return{};const a=new Map(i.model.segments);return a.set(n,{...s,style:{...s.style,...r}}),{model:{...i.model,segments:a}}}),updateSegmentText:(n,r)=>t(i=>{if(!i.model)return{};const s=i.model.segments.get(n);if(!s)return{};const a=new Map(i.model.segments);return a.set(n,{...s,text:r}),{model:{...i.model,segments:a}}}),updateSegmentTiming:(n,r,i)=>t(s=>{if(!s.model)return{};const a=s.model.segments.get(n);if(!a)return{};const o=new Map(s.model.segments);return o.set(n,{...a,start:r,end:i}),{model:{...s.model,segments:o}}}),updateGroupStyle:(n,r)=>t(i=>{if(!i.model)return{};const s=i.model.groups.get(n);if(!s)return{};const a=new Map(i.model.groups);return a.set(n,{...s,style:{...s.style,...r}}),{model:{...i.model,groups:a}}}),updateGroupContainer:(n,r)=>t(i=>{if(!i.model)return{};const s=i.model.groups.get(n);if(!s)return{};const a=new Map(i.model.groups);return a.set(n,{...s,containerStyle:{...s.containerStyle,...r}}),{model:{...i.model,groups:a}}}),updateGroupAnimation:(n,r,i)=>t(s=>{if(!s.model)return{};const a=s.model.groups.get(n);if(!a)return{};const o=new Map(s.model.groups),l=a.animation[r],c=l!==null?{...l,...i}:i;return o.set(n,{...a,animation:{...a.animation,[r]:c}}),{model:{...s.model,groups:o}}}),splitGroup:(n,r)=>t(i=>{if(!i.model)return{};const s=i.model.groups.get(n);if(!s)return{};const a=s.segmentIds.indexOf(r);if(a<=0)return{};const o=s.segmentIds.slice(0,a),l=s.segmentIds.slice(a),c=`group-split-${xme++}`,u=new Map(i.model.groups);u.set(n,{...s,segmentIds:o}),u.set(c,{...s,id:c,segmentIds:l});const f=i.model.groupOrder.indexOf(n),d=[...i.model.groupOrder];d.splice(f+1,0,c);const m=new Map(i.model.segments);return l.forEach((x,g)=>{const v=m.get(x);v&&m.set(x,{...v,groupIndex:g})}),{model:{...i.model,groups:u,segments:m,groupOrder:d}}}),mergeGroups:(n,r)=>t(i=>{if(!i.model)return{};const s=i.model.groups.get(n),a=i.model.groups.get(r);if(!s||!a)return{};const o=[...s.segmentIds,...a.segmentIds],l=new Map(i.model.groups);l.set(n,{...s,segmentIds:o}),l.delete(r);const c=i.model.groupOrder.filter(d=>d!==r),u=new Map(i.model.segments);a.segmentIds.forEach((d,m)=>{const x=u.get(d);x&&u.set(d,{...x,groupIndex:s.segmentIds.length+m})});const f=i.selectedGroupId===r?null:i.selectedGroupId;return{model:{...i.model,groups:l,segments:u,groupOrder:c},selectedGroupId:f}}),updateSelectedStyle:n=>t(r=>{if(!r.model||r.selectedSegmentIds.size===0)return{};const i=new Map(r.model.segments);for(const s of r.selectedSegmentIds){const a=i.get(s);a&&i.set(s,{...a,style:{...a.style,...n}})}return{model:{...r.model,segments:i}}}),applyAnimationToAll:n=>t(r=>{if(!r.model)return{};const i=new Map(r.model.groups);for(const[s,a]of i)i.set(s,{...a,animation:n});return{model:{...r.model,groups:i}}}),reset:()=>t({...JR,selectedSegmentIds:new Set})})),bme=new Set(["ArrowLeft","ArrowRight"]),Ame=["input","textarea","select","button","a[href]","[contenteditable='true']","[role='button']","[role='checkbox']","[role='combobox']","[role='menuitem']","[role='radio']","[role='slider']","[role='spinbutton']","[role='switch']","[role='textbox']"].join(",");function vme(t){if(!t||typeof t!="object")return!1;const e=t;return typeof e.closest!="function"?!1:e.closest.call(t,Ame)!==null}function Sme(t,e={isCaptionEditMode:!1,selectedCaptionSegmentCount:0}){return t.metaKey||t.ctrlKey||t.altKey||vme(t.target)?!0:bme.has(t.code)&&e.isCaptionEditMode&&e.selectedCaptionSegmentCount>0}const eL=[1,2,4];function Ome({iframeRef:t,shuttleDirectionRef:e,shuttleSpeedIndexRef:n,iframeShortcutCleanupRef:r,getAdapter:i,play:s,playBackward:a,pause:o,seek:l}){const c=b.useRef(new Set),u=b.useRef(()=>{}),f=b.useRef(()=>{}),d=b.useCallback(w=>{const k=i(),T=(k==null?void 0:k.getTime())??pe.getState().currentTime;l(x5(T,w,Ex))},[i,l]),m=b.useCallback(w=>{e.current===w?n.current=Math.min(n.current+1,eL.length-1):n.current=0;const k=eL[n.current];pe.getState().setPlaybackRate(k),w==="forward"?s():a(k)},[s,a,e,n]),x=b.useCallback(()=>{pe.getState().isPlaying?o():s()},[s,o]),g=b.useCallback(w=>{var M,_,D;if(w.defaultPrevented)return;const k=Gn.getState();if(Sme(w,{isCaptionEditMode:k.isEditMode,selectedCaptionSegmentCount:k.selectedSegmentIds.size}))return;const T=w.key.toLowerCase();if(c.current.add(T),w.code==="Space"){w.preventDefault(),x();return}if(w.code==="ArrowLeft"){w.preventDefault(),d(w.shiftKey?-10:-1);return}if(w.code==="ArrowRight"){w.preventDefault(),d(w.shiftKey?10:1);return}if(!w.repeat){if(T==="m"){w.preventDefault();const I=pe.getState();I.playbackRate<=1&&I.setAudioMuted(!I.audioMuted);return}if(T==="l"&&w.shiftKey){w.preventDefault();const I=pe.getState();I.setLoopEnabled(!I.loopEnabled);return}if(T==="k"){w.preventDefault(),o();return}if(T==="j"){if(w.preventDefault(),c.current.has("k")){d(-1);return}m("backward");return}if(T==="l"){if(w.preventDefault(),c.current.has("k")){d(1);return}m("forward");return}if(T==="i"){w.preventDefault();const I=((M=i())==null?void 0:M.getTime())??pe.getState().currentTime;pe.getState().setInPoint(w.shiftKey?null:I);return}if(T==="o"){w.preventDefault();const I=((_=i())==null?void 0:_.getTime())??pe.getState().currentTime;pe.getState().setOutPoint(w.shiftKey?null:I);return}if(T==="a"){w.preventDefault(),l(pe.getState().inPoint??0,{keepPlaying:!0});return}if(T==="e"){w.preventDefault();const{outPoint:I}=pe.getState();l(I??((D=i())==null?void 0:D.getDuration())??pe.getState().duration,{keepPlaying:!0});return}}},[o,m,d,x,i,l]),v=b.useCallback(w=>{c.current.delete(w.key.toLowerCase())},[]);u.current=g,f.current=v;const A=b.useCallback(()=>{var _,D,I;(_=r.current)==null||_.call(r),r.current=null;let w=null,k=null;try{w=((D=t.current)==null?void 0:D.contentWindow)??null,k=((I=t.current)==null?void 0:I.contentDocument)??null}catch{return}if(!w&&!k)return;const T=j=>u.current(j),M=j=>f.current(j);try{w==null||w.addEventListener("keydown",T,!0),w==null||w.addEventListener("keyup",M,!0)}catch{}k==null||k.addEventListener("keydown",T,!0),k==null||k.addEventListener("keyup",M,!0),r.current=()=>{try{w==null||w.removeEventListener("keydown",T,!0),w==null||w.removeEventListener("keyup",M,!0)}catch{}k==null||k.removeEventListener("keydown",T,!0),k==null||k.removeEventListener("keyup",M,!0)}},[t,r]);return{playbackKeyDownRef:u,playbackKeyUpRef:f,attachIframeShortcutListeners:A,togglePlay:x}}function wme({iframeRef:t,probeIntervalRef:e,pendingSeekRef:n,isRefreshingRef:r,getAdapter:i,syncTimelineElements:s,setDuration:a,setCurrentTime:o,setTimelineReady:l,setIsPlaying:c,attachIframeShortcutListeners:u,applyPreviewAudioState:f}){const d=b.useCallback(w=>{var z,q;if(!w.clips||w.clips.length===0)return;pe.getState().setClipManifest(w.clips);const k=new Set(w.clips.map(re=>re.compositionId).filter(Boolean)),T=w.clips.filter(re=>!re.parentCompositionId||!k.has(re.parentCompositionId));let M=null;try{M=((z=t.current)==null?void 0:z.contentDocument)??null}catch{M=null}try{const re=(q=t.current)==null?void 0:q.contentWindow,W=re==null?void 0:re.__clipTree,ne=new Map;if(W){const he=oe=>{for(const G of oe)G.id&&G.parentId&&ne.set(G.id,G.parentId),G.children.length>0&&he(G.children)};he(W.roots)}const se=[];if(M)for(const he of w.clips){if(he.kind!=="composition"||!he.id)continue;const oe=M.getElementById(he.id);if(!oe)continue;const G=he.id,R=oe.querySelector("[data-hf-inner-root]")??oe,H=(F,K)=>{for(const te of Array.from(F.children)){if(!te.id){H(te,K);continue}const ie=te.hasAttribute("data-hf-group");se.push({id:te.id,parentId:K,hostId:G,label:ie&&te.getAttribute("data-hf-group")||te.id}),ne.set(te.id,K),ie&&H(te,te.id)}};H(R,G)}pe.getState().setClipParentMap(ne),pe.getState().setDomClipChildren(se)}catch{}const _=new Set,D=T.map((re,W)=>{const ne=M?xhe(M,re,W,_):null;return ne&&_.add(ne),DX({clip:re,fallbackIndex:W,doc:M,hostEl:ne})}),I=w.durationInFrames/30,j=Number.isFinite(I)&&I<7200?I:0,$=j>0?j:pe.getState().duration,B=$>0?D.filter(re=>re.start<$).map(re=>({...re,duration:Math.min(re.duration,$-re.start)})).filter(re=>re.duration>0):D,Q=M&&$>0?[...B,...NX(M,$,B)]:B;Q.length>0&&s(Q,j>0?j:void 0)},[t,s]),m=b.useCallback(()=>{try{const w=t.current,k=w==null?void 0:w.contentDocument,T=w==null?void 0:w.contentWindow;if(!k||!T)return;const M=pe.getState().elements,_=pe.getState().duration,{missing:D,updatedEls:I,patched:j}=Phe(k,T,M,_);if(D.length>0||j){const $=new Set(I.map(Q=>Q.id)),B=D.filter(Q=>!$.has(Q.id));s([...I,...B])}}catch{}},[t,s]),x=b.useCallback(()=>{const w=i();if(!w||w.getDuration()<=0)return!1;w.pause();const k=pe.getState().requestedSeekTime,T=n.current??k;n.current=null,k!=null&&pe.getState().clearSeekRequest();const M=T!=null?Math.min(T,w.getDuration()):0;w.seek(M),Xs.notify(M);const _=w.getDuration();Number.isFinite(_)&&_>0&&_<7200&&_!==pe.getState().duration&&a(_),o(M),r.current||l(!0),r.current=!1,c(!1);try{const D=t.current,I=D==null?void 0:D.contentDocument,j=D==null?void 0:D.contentWindow;I&&j&&(Ahe(I,j),vhe(I),u());const $=j==null?void 0:j.__clipManifest;if($&&$.clips.length>0&&d($),m(),f(),pe.getState().elements.length===0&&I){const B=_X(I,w.getDuration());B.length>0&&s(B)}if(pe.getState().elements.length===0&&I){const B=I.querySelector("[data-composition-id]"),Q=w.getDuration();if(B&&Q>0){const z=Tfe({compositionId:B.getAttribute("data-composition-id")||"composition",tagName:B.tagName||"div",rootDuration:Q,iframeSrc:(D==null?void 0:D.src)||"",selector:qf(B)});z&&s([z])}}}catch{}return!0},[i,a,o,l,c,d,m,s,u,f,t,r,n]),g=b.useCallback(()=>{if(f(),e.current&&clearInterval(e.current),x())return;const w=t.current;let k=!1;const T=()=>{k||x()&&(k=!0,window.removeEventListener("message",M),e.current&&clearInterval(e.current))},M=_=>{if(_.source&&w&&_.source!==w.contentWindow)return;const D=_.data;(D==null?void 0:D.source)==="hf-preview"&&((D==null?void 0:D.type)==="state"||(D==null?void 0:D.type)==="timeline")&&T()};window.addEventListener("message",M),e.current=setTimeout(()=>{k||T(),window.removeEventListener("message",M)},5e3)},[x,t,e,f]);return{processTimelineMessage:d,processTimelineMessageRef:{current:d},enrichMissingCompositions:m,enrichMissingCompositionsRef:{current:m},initializeAdapter:x,onIframeLoad:g}}function Cme(t,e){const n=pe.getState(),r=n.elements.find(qo);if(!r||n.audioMuted)return;const i=e-r.start,s=i>=0&&i<=r.duration?(r.playbackStart??0)+i:null;The(t,s,r.domId??r.id)}const w5=new Map,eC=new Map,C5=new Set;let up=null;async function Eme(){if(up===!1)return null;if(up)return up;try{return up=await o8(()=>import("./index-Dqugm4lQ.js"),[]),up}catch{return up=!1,null}}function BP(t){try{return new URL(t,window.location.href).href}catch{return t}}async function kme(t){const e=await Eme();if(!e)return null;const n=new e.Input({source:new e.UrlSource(t),formats:e.ALL_FORMATS});try{const r=await n.getDurationFromMetadata();if(r==null||!Number.isFinite(r)||r<=0)return null;const i=await n.getPrimaryVideoTrack(),s=await n.getAudioTracks();return{duration:r,width:i==null?void 0:i.displayWidth,height:i==null?void 0:i.displayHeight,hasVideo:i!=null,hasAudio:s.length>0}}catch{return null}finally{n.dispose()}}function tG(t){return w5.get(BP(t))}function Tme(t){return t.map(e=>{const n=e.tag.toLowerCase();if(!e.src||e.sourceDuration!=null||n!=="audio"&&n!=="video")return e;const r=tG(e.src);return r!=null&&r.duration&&r.duration>0?{...e,sourceDuration:r.duration}:e})}async function Pme(t,e){const n=t.filter(r=>r.src&&r.sourceDuration==null&&["video","audio"].includes(r.tag.toLowerCase())&&!tG(r.src)&&!C5.has(BP(r.src)));n.length!==0&&await Promise.allSettled(n.map(async r=>{const i=await Mme(r.src);i&&e(r.key??r.id,i.duration)}))}async function Mme(t){const e=BP(t),n=w5.get(e);if(n)return n;if(C5.has(e))return null;let r=eC.get(e);return r||(r=kme(e).then(i=>(eC.delete(e),i?w5.set(e,i):C5.add(e),i)),eC.set(e,r),r)}function Dme(t){return t.keepPlaying&&!t.wasReverseShuttle&&t.storeWasPlaying&&(t.duration<=0||t.nextTime<t.duration)}function Nme(t){return!t.keepPlaying||t.wasReverseShuttle}function _me(t,e){return e.length!==t.length?!0:e.some((n,r)=>{const i=t[r];return!i||n.id!==i.id||n.start!==i.start||n.duration!==i.duration||n.track!==i.track||n.sourceDuration!==i.sourceDuration})}function Ime(){const t=b.useRef(null),e=b.useRef(0),n=b.useRef(void 0),r=b.useRef(null),i=b.useRef(!1),s=b.useRef(0),a=b.useRef(null),o=b.useRef(0),l=b.useRef(null),c=b.useRef(0),u=b.useRef(null),f=b.useRef(!1),{setIsPlaying:d,setCurrentTime:m,setDuration:x,setTimelineReady:g,setElements:v}=pe.getState(),A=b.useCallback((H,F)=>{const K=pe.getState(),te=F??K.duration,ie=Tme(Efe(K.elements,H,K.duration,te));_me(K.elements,ie)&&v(ie),Number.isFinite(F)&&(F??0)>0&&F!==K.duration&&x(F??0),K.timelineReady||g(!0),Pme(ie,(U,X)=>{pe.setState(me=>{const Ee=me.elements.findIndex(Fe=>(Fe.key??Fe.id)===U);if(Ee===-1||me.elements[Ee].sourceDuration!=null)return{};const Re=me.elements.slice();return Re[Ee]={...me.elements[Ee],sourceDuration:X},{elements:Re}})})},[v,g,x]),w=b.useCallback(()=>{var H,F;try{const K=t.current,te=K==null?void 0:K.contentWindow;if(!K||!te)return null;const ie=te.__player&&typeof te.__player.play=="function"?te.__player:null,U=fhe(K.contentDocument),X=Cv(ie);if(X>0&&U<=X)return Zb(u,f),ie;let me=null;if(te.__timeline){const Fe=mR(te.__timeline),Ge=Cv(Fe);if(Ge>0&&U<=Ge)return Zb(u,f),Fe;Ge>0&&(me??(me=Fe))}if(te.__timelines){const Fe=Object.keys(te.__timelines);if(Fe.length>0){const Ge=(F=(H=K==null?void 0:K.contentDocument)==null?void 0:H.querySelector("[data-composition-id]"))==null?void 0:F.getAttribute("data-composition-id"),Ke=Ge&&Ge in te.__timelines?Ge:Fe[Fe.length-1],ft=mR(te.__timelines[Ke]),ye=Cv(ft);if(ye>0&&U<=ye)return Zb(u,f),ft;ye>0&&(me??(me=ft))}}const Ee=ie??me,Re=Math.max(pe.getState().duration,U,X);return Ee&&Re>0&&("renderSeek"in Ee||typeof Ee.seek=="function")?hhe({cache:u,warned:f,bestAdapter:Ee,effectiveDuration:Re,docDuration:U,clock:che(te),getPlaybackRate:()=>pe.getState().playbackRate}):Ee}catch{return null}},[]),k=b.useCallback(()=>{cancelAnimationFrame(s.current)},[]),T=b.useCallback(()=>{const H=()=>{const F=w();if(F){const K=F.getTime(),te=F.getDuration(),ie=te>0?Math.min(K,te):K;Xs.notify(ie);const{inPoint:U,outPoint:X}=pe.getState(),me=X!==null?Math.min(X,te):te,Ee=U!==null?U:0,Re=Ee<me?me:te,Fe=Ee<me?Ee:0;if(ie>=Re){if(pe.getState().loopEnabled&&te>0){F.seek(Fe,{keepPlaying:!0}),Xs.notify(Fe),F.play(),d(!0),e.current=requestAnimationFrame(H);return}F.isPlaying()&&F.pause(),m(ie),d(!1),cancelAnimationFrame(e.current);return}}e.current=requestAnimationFrame(H)};e.current=requestAnimationFrame(H)},[w,m,d]),M=b.useCallback(()=>{cancelAnimationFrame(e.current)},[]),_=b.useCallback(H=>{const F=t.current;if(F){whe(F,H);try{const K=F.contentWindow;if(K!=null&&K.__timelines)for(const te of Object.values(K.__timelines))te&&typeof te.timeScale=="function"&&te.timeScale(H)}catch{}}},[]),D=b.useCallback(H=>{const{audioMuted:F,playbackRate:K}=pe.getState(),te=H??K;Ohe(t.current,mX(F,te))},[]),I=b.useCallback(()=>{M(),k(),Hy();const H=w();H&&(H.getTime()>=H.getDuration()&&H.seek(pe.getState().inPoint??0),_(pe.getState().playbackRate),D(),H.play(),a.current="forward",d(!0),T())},[w,d,T,_,D,M,k]),j=b.useCallback(H=>{M(),k();const F=w();if(!F)return;const K=Math.max(0,F.getDuration()),te=F.getTime()<=0&&K>0?K:F.getTime();F.pause(),te!==F.getTime()&&F.seek(te);const ie=Math.max(.1,Math.min(4,H));_(ie),D(ie);let U=te,X=performance.now();const me=Ee=>{const Re=(Ee-X)/1e3*ie;let Fe=U-Re;const{inPoint:Ge,outPoint:Ke}=pe.getState(),ft=Ke!==null?Math.min(Ke,K):K,ye=Ge!==null?Ge:0,ve=ye<ft?ft:K,Se=ye<ft?ye:0;if(Fe<=Se)if(pe.getState().loopEnabled&&K>0)U=ve,X=Ee,Fe=ve;else{F.seek(Se),Xs.notify(Se),m(Se),d(!1),a.current=null,s.current=0;return}F.seek(Math.max(0,Fe)),Xs.notify(Math.max(0,Fe)),d(!0),s.current=requestAnimationFrame(me)};d(!0),a.current="backward",s.current=requestAnimationFrame(me)},[w,m,d,_,D,M,k]),$=b.useCallback(()=>{k();const H=w();H&&(H.pause(),m(H.getTime()),d(!1),a.current=null,o.current=0,M())},[w,m,d,M,k]),B=b.useCallback((H,F)=>{const K=a.current==="backward";k();const te=w();if(!te)return r.current=Math.max(0,H),!1;const ie=Math.max(0,te.getDuration()),U=Math.max(0,ie>0?Math.min(ie,H):H),X=(F==null?void 0:F.keepPlaying)===!0,me=Dme({keepPlaying:X,wasReverseShuttle:K,storeWasPlaying:pe.getState().isPlaying,duration:ie,nextTime:U});return te.seek(U,F),Xs.notify(U),m(U),!me&&!X&&Cme(t.current,U),me?(M(),_(pe.getState().playbackRate),D(),te.play(),d(!0),a.current="forward",o.current=0,T()):Nme({keepPlaying:X,wasReverseShuttle:K})&&(M(),pe.getState().isPlaying&&d(!1),a.current=null,o.current=0),!0},[w,r,m,d,T,M,k,_,D,a,o]);b.useEffect(()=>pe.subscribe((H,F)=>{H.requestedSeekTime!==null&&H.requestedSeekTime!==F.requestedSeekTime&&(B(H.requestedSeekTime),pe.getState().clearSeekRequest())}),[B]);const{playbackKeyDownRef:Q,playbackKeyUpRef:z,attachIframeShortcutListeners:q,togglePlay:re}=Ome({iframeRef:t,shuttleDirectionRef:a,shuttleSpeedIndexRef:o,iframeShortcutCleanupRef:l,getAdapter:w,play:I,playBackward:j,pause:$,seek:B}),{processTimelineMessageRef:W,enrichMissingCompositionsRef:ne,onIframeLoad:se}=wme({iframeRef:t,probeIntervalRef:n,pendingSeekRef:r,isRefreshingRef:i,getAdapter:w,syncTimelineElements:A,setDuration:x,setCurrentTime:m,setTimelineReady:g,setIsPlaying:d,attachIframeShortcutListeners:q,applyPreviewAudioState:D}),he=b.useCallback(()=>{const H=w();r.current=H?H.getTime():pe.getState().currentTime??0,i.current=!0,M(),k(),d(!1)},[w,M,d,k]),oe=b.useCallback(()=>{const H=t.current;if(!H)return;he();const F=H.src,K=new URL(F,window.location.origin);K.searchParams.set("_t",String(Date.now())),H.src=K.toString()},[he]),G=b.useRef(w);G.current=w,wr(()=>{const H=ie=>Q.current(ie),F=ie=>z.current(ie),K=ie=>{const U=ie.data,X=t.current;if(!(ie.source&&X&&ie.source!==X.contentWindow)){if((U==null?void 0:U.source)==="hf-preview"&&(U==null?void 0:U.type)==="state")try{if(pe.getState().elements.length===0){const Ee=X==null?void 0:X.contentWindow,Re=Ee==null?void 0:Ee.__clipManifest;Re&&Re.clips.length>0&&W.current(Re)}Date.now()-c.current>500&&ne.current()}catch{}if((U==null?void 0:U.source)==="hf-preview"&&(U==null?void 0:U.type)==="timeline"&&Array.isArray(U.clips)&&(c.current=Date.now(),W.current(U),ne.current(),pe.getState().elements.length===0))try{const me=X==null?void 0:X.contentDocument,Ee=w();if(me&&Ee){const Re=_X(me,Ee.getDuration());Re.length>0&&A(Re)}}catch{}}},te=()=>{var ie;if(document.hidden&&pe.getState().isPlaying){const U=(ie=G.current)==null?void 0:ie.call(G);U&&(U.pause(),d(!1),M())}};return window.addEventListener("keydown",H,!0),window.addEventListener("keyup",F,!0),window.addEventListener("message",K),document.addEventListener("visibilitychange",te),()=>{var ie;window.removeEventListener("keydown",H,!0),window.removeEventListener("keyup",F,!0),(ie=l.current)==null||ie.call(l),l.current=null,window.removeEventListener("message",K),document.removeEventListener("visibilitychange",te),M(),k(),Hy(),Zb(u,f),n.current&&clearInterval(n.current)}});const R=b.useCallback(()=>{M(),k(),n.current&&clearInterval(n.current),pe.getState().reset()},[M,k]);return b.useEffect(()=>pe.subscribe((H,F)=>{const K=H.playbackRate!==F.playbackRate,te=H.audioMuted!==F.audioMuted;!K&&!te||(K&&_(H.playbackRate),D())}),[_,D]),{iframeRef:t,play:I,pause:$,togglePlay:re,seek:B,onIframeLoad:se,refreshPlayer:oe,saveSeekPosition:he,resetPlayer:R}}const tL='button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), summary, [contenteditable="true"], [tabindex]:not([tabindex="-1"])';function nG({open:t,onClose:e,containerRef:n,canClose:r}){const i=b.useRef(null),s=b.useRef(r);s.current=r;const a=b.useRef(e);a.current=e;const o=b.useCallback(()=>{const l=s.current;l&&!l()||a.current()},[]);return b.useEffect(()=>{var d;const l=document.activeElement;i.current=l instanceof HTMLElement?l:null;const c=n.current;(d=(c==null?void 0:c.querySelector(tL))??c)==null||d.focus();const f=m=>{if(m.key==="Escape"){m.stopPropagation(),o();return}if(m.key!=="Tab")return;const x=n.current;if(!x)return;const g=Array.from(x.querySelectorAll(tL));if(g.length===0)return;const v=g[0],A=g[g.length-1],w=document.activeElement;m.shiftKey&&(w===v||!x.contains(w))?(m.preventDefault(),A.focus()):!m.shiftKey&&(w===A||!x.contains(w))&&(m.preventDefault(),v.focus())};return document.addEventListener("keydown",f,!0),()=>{var m;document.removeEventListener("keydown",f,!0),(m=i.current)==null||m.focus(),i.current=null}},[t,n,o]),{requestClose:o}}function nL({findings:t,projectId:e,projectDir:n,title:r="HyperFrame Lint Results",promptIntro:i="Fix these HyperFrames lint issues",onClose:s}){const a=t.filter(v=>v.severity==="error"),o=t.filter(v=>v.severity==="warning"),l=t.length>0,[c,u]=b.useState(!1),[f,d]=b.useState(!1),m=b.useRef(null),{requestClose:x}=nG({open:!0,onClose:s,containerRef:m}),g=async()=>{const v=t.map(T=>{let M=`[${T.severity}] ${T.message}`;return T.file&&(M+=`
|
|
90
|
+
`)})}const lme=b.memo(function({major:e,minor:n,pps:r,trackContentWidth:i,totalH:s,effectiveDuration:a,majorTickInterval:o,rangeSelection:l,theme:c,displayTrackOrder:u,trackOrder:f,tracks:d,trackStyles:m,selectedElementId:x,hoveredClip:g,draggedClip:v,resizingClip:A,blockedClipRef:w,suppressClickRef:k,scrollRef:T,renderClipContent:M,renderClipOverlay:_,playheadRef:D,onDrillDown:I,onSelectElement:j,setHoveredClip:$,setShowPopover:B,setRangeSelection:Q,setResizingClip:z,setDraggedClip:q,setSelectedElementId:re,syncClipDragAutoScroll:W,shiftClickClipRef:ne,getPreviewElement:se,getTrackStyle:he,keyframeCache:oe,selectedKeyframes:G,currentTime:R,onClickKeyframe:H,onShiftClickKeyframe:F,onContextMenuKeyframe:K,onMoveKeyframe:te,onContextMenuClip:ie,beatAnalysis:U}){const{onResizeElement:X,onMoveElement:me,onToggleTrackHidden:Ee,onRazorSplit:Re,onRazorSplitAll:Fe}=YU(),Ge=pe(Se=>Se.beatDragging),Ke=(v==null?void 0:v.element)??null,ft=(v==null?void 0:v.started)===!0&&Ke?qfe({element:Ke,draggedElementId:Ke.key??Ke.id,previewStart:v.previewStart,previewTrack:v.previewTrack}):null,ye=(v==null?void 0:v.started)===!0&&ft&&T.current?{left:v.pointerClientX-T.current.getBoundingClientRect().left+T.current.scrollLeft-v.pointerOffsetX,top:v.pointerClientY-T.current.getBoundingClientRect().top+T.current.scrollTop-v.pointerOffsetY}:null,ve=(Se,Be)=>S.jsxs(S.Fragment,{children:[_==null?void 0:_(Se),!M&&S.jsx(ome,{element:Se}),M&&S.jsx("div",{className:"absolute inset-0 overflow-hidden",children:M(Se,Be)})]});return S.jsxs("div",{className:"relative",style:{height:s,width:ui+i},children:[S.jsx(D0e,{major:e,minor:n,pps:r,trackContentWidth:i,totalH:s,effectiveDuration:a,majorTickInterval:o,theme:c,beatAnalysis:U}),u.map(Se=>{var St,Tt;const Be=((St=d.find(([nt])=>nt===Se))==null?void 0:St[1])??[],Ze=m.get(Se)??he(""),Ye=(v==null?void 0:v.started)===!0&&!f.includes(Se)&&Be.length===0,ht=u.indexOf(Se)%2===0?c.rowBackground:"#0D0E12",Ue=(((Tt=U==null?void 0:U.beatTimes)==null?void 0:Tt.length)??0)>=2&&(x?Be.some(nt=>(nt.key??nt.id)===x):Be.some(qo)),tt=Be.length>0&&Be.every(nt=>nt.hidden===!0);return S.jsxs("div",{className:"relative flex",style:{height:qp,background:ht,borderBottom:`1px solid ${c.rowBorder}`},children:[S.jsx("div",{className:"sticky left-0 z-[12] flex-shrink-0 flex items-center justify-center",style:{width:ui,background:c.gutterBackground,borderRight:`1px solid ${c.gutterBorder}`},children:S.jsx("button",{type:"button","aria-label":tt?`Show track ${Se}`:`Hide track ${Se}`,title:tt?`Show track ${Se}`:`Hide track ${Se}`,className:`flex h-6 w-6 items-center justify-center rounded border-0 bg-transparent p-0 transition-colors focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-[-1px] focus-visible:outline-[#3CE6AC] ${tt?"text-[#3CE6AC] hover:text-white":"text-white/35 hover:text-white/75"}`,onPointerDown:nt=>{nt.stopPropagation()},onClick:nt=>{nt.stopPropagation(),Ee==null||Ee(Se,!tt)},children:tt?S.jsx(eU,{size:14,weight:"bold","aria-hidden":"true"}):S.jsx(RP,{size:14,weight:"bold","aria-hidden":"true"})})}),S.jsxs("div",{style:{width:i,opacity:tt?.35:1,transition:"opacity 120ms ease"},className:"relative",children:[S.jsx(v0e,{beatTimes:U==null?void 0:U.beatTimes,beatStrengths:U==null?void 0:U.beatStrengths,pps:r,highlightTime:v!=null&&v.started?v.snapBeatTime:null}),Ue&&S.jsx(S0e,{beatTimes:U==null?void 0:U.beatTimes,beatStrengths:U==null?void 0:U.beatStrengths,pps:r}),Ye&&S.jsx("div",{className:"absolute inset-0 flex items-center",style:{paddingLeft:16,color:Ze.label,fontSize:11,letterSpacing:"0.06em",textTransform:"uppercase",opacity:.5},children:"New track"}),Be.map(nt=>{const vt=he(nt.tag),Xt=nt.key??nt.id,Pt=NR(nt),It=x===Xt,At=!!nt.compositionSrc,mt=Xt;if((v==null?void 0:v.started)===!0&&((Ke==null?void 0:Ke.key)??(Ke==null?void 0:Ke.id))===Xt)return null;const _e=se(nt);return S.jsxs(zR,{onContextMenu:Qe=>{Qe.preventDefault(),ie==null||ie(Qe,nt)},el:_e,pps:r,clipY:Ev,isSelected:It,isHovered:g===mt,isDragging:!1,hasCustomContent:!!M,capabilities:Pt,theme:c,isComposition:At,onHoverStart:()=>$(mt),onHoverEnd:()=>$(null),onResizeStart:(Qe,qe)=>{qe.button!==0||qe.shiftKey||!X||Qe==="start"&&!Pt.canTrimStart||Qe==="end"&&!Pt.canTrimEnd||(qe.stopPropagation(),w.current=null,B(!1),Q(null),z({element:nt,edge:Qe,originClientX:qe.clientX,previewStart:nt.start,previewDuration:nt.duration,previewPlaybackStart:nt.playbackStart,started:!1}))},onPointerDown:(Qe=>{var qt,Oe;if(Qe.button!==0||pe.getState().activeTool==="razor")return;if(Qe.shiftKey){ne.current={element:nt,anchorX:Qe.clientX,anchorY:Qe.clientY};return}const Vt=Qe.currentTarget.getBoundingClientRect(),Mt=Hfe({width:Vt.width,offsetX:Qe.clientX-Vt.left,handleWidth:Kfe,capabilities:Pt});if(Mt&&(Mt==="move"&&me||Mt!=="move"&&X)){w.current={element:nt,intent:Mt,originClientX:Qe.clientX,originClientY:Qe.clientY,started:!1};return}!me||!Pt.canMove||(w.current=null,B(!1),Q(null),q({element:nt,originClientX:Qe.clientX,originClientY:Qe.clientY,originScrollLeft:((qt=T.current)==null?void 0:qt.scrollLeft)??0,originScrollTop:((Oe=T.current)==null?void 0:Oe.scrollTop)??0,pointerClientX:Qe.clientX,pointerClientY:Qe.clientY,pointerOffsetX:Qe.clientX-Vt.left,pointerOffsetY:Qe.clientY-Vt.top,previewStart:nt.start,previewTrack:nt.track,snapBeatTime:null,started:!1}),W(Qe.clientX,Qe.clientY))}),onClick:Qe=>{if(Qe.stopPropagation(),k.current)return;const{activeTool:qe}=pe.getState();if(qe==="razor"&&Re){const Mt=Qe.currentTarget.getBoundingClientRect(),qt=Qe.clientX-Mt.left,Oe=_e.start+qt/r,we=Math.max(_e.start+AS,Math.min(_e.start+_e.duration-AS,Oe));Qe.shiftKey&&Fe?Fe(we):Re(nt,we);return}const Vt=It?null:nt;re(Vt?Xt:null),j==null||j(Vt)},onDoubleClick:Qe=>{Qe.stopPropagation(),!k.current&&At&&I&&I(nt)},children:[ve(_e,vt),Ga&&(oe==null?void 0:oe.get(Xt))&&S.jsx(M0e,{keyframesData:oe.get(Xt),clipWidthPx:Math.max(_e.duration*r,4),clipHeightPx:qp-2*Ev,beatsActive:Ue,accentColor:vt.accent,isSelected:It,currentPercentage:_e.duration>0?(R-_e.start)/_e.duration*100:0,elementId:Xt,selectedKeyframes:G,onClickKeyframe:Qe=>H==null?void 0:H(_e,Qe),onShiftClickKeyframe:F,onContextMenuKeyframe:K,onMoveKeyframe:te,suppressClickRef:k})]},mt)})]})]},Se)}),ft&&ye&&S.jsx("div",{className:"absolute pointer-events-none",style:{top:ye.top,left:ye.left,width:Math.max(ft.duration*r,4),height:qp-Ev*2,zIndex:40},children:S.jsx(zR,{el:{...ft,start:0},pps:r,clipY:0,isSelected:x===(ft.key??ft.id),isHovered:!1,isDragging:!0,hasCustomContent:!!M,capabilities:NR(ft),theme:c,isComposition:!!ft.compositionSrc,onHoverStart:()=>{},onHoverEnd:()=>{},onResizeStart:()=>{},onClick:()=>{},onDoubleClick:()=>{},children:ve(ft,he(ft.tag))})}),l&&S.jsx("div",{className:"absolute pointer-events-none",style:{left:ui+Math.min(l.start,l.end)*r,width:Math.abs(l.end-l.start)*r,top:Zf,bottom:0,backgroundColor:"rgba(59, 130, 246, 0.12)",borderLeft:"1px solid rgba(59, 130, 246, 0.4)",borderRight:"1px solid rgba(59, 130, 246, 0.4)",zIndex:50}}),S.jsx("div",{ref:D,className:"absolute top-0 bottom-0 pointer-events-none",style:{left:`${ui}px`,zIndex:100,display:Ge?"none":void 0},children:S.jsx(N0e,{})})]})});function qU(t){const e=b.useRef(null),n=b.useCallback(r=>{var i;r instanceof KeyboardEvent&&r.key!=="Escape"||r instanceof MouseEvent&&((i=e.current)!=null&&i.contains(r.target))||t()},[t]);return b.useEffect(()=>(document.addEventListener("mousedown",n),document.addEventListener("keydown",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("keydown",n)}),[n]),e}const KU=b.memo(function({state:e,onClose:n,onDelete:r,onDeleteAll:i,onMoveToPlayhead:s}){const a=qU(n),o=200,l=s?100:70,c=e.y+l-window.innerHeight,u=e.x+o>window.innerWidth?e.x-o:e.x,f=c>0?e.y-c-8:e.y;return wx.createPortal(S.jsxs("div",{ref:a,className:"fixed z-50 bg-neutral-900 border border-neutral-700 rounded-md shadow-lg py-1 min-w-[180px]",style:{left:u,top:f},children:[s&&S.jsx("button",{type:"button",className:"w-full flex items-center gap-2 px-3 py-1.5 text-xs text-neutral-200 hover:bg-neutral-800 cursor-pointer text-left",onClick:()=>{s(e.elementId,e.percentage),n()},children:"Move to Playhead"}),S.jsx("button",{type:"button",className:"w-full flex items-center gap-2 px-3 py-1.5 text-xs text-red-400 hover:bg-neutral-800 cursor-pointer text-left",onClick:()=>{r(e.elementId,e.percentage),n()},children:"Delete Keyframe"}),S.jsx("button",{type:"button",className:"w-full flex items-center gap-2 px-3 py-1.5 text-xs text-red-400 hover:bg-neutral-800 cursor-pointer text-left",onClick:()=>{i(e.elementId),n()},children:"Delete All Keyframes"})]}),document.body)}),JU=8,Ub=[];function vS(t,e,n){let r=t,i=n;for(const s of e){const a=Math.abs(s-t);a<i&&(i=a,r=s)}return r}function cme(t,e,n,r,i){if(n.length===0)return{start:t,beat:null};const s=JU/Math.max(r,1),a=vS(t,n,s),o=vS(t+e,n,s),l=a!==t,c=o!==t+e;let u=t,f=null;l&&(!c||Math.abs(a-t)<=Math.abs(o-(t+e)))?(u=a,f=a):c&&(u=o-e,f=o);const d=Math.max(0,i-e),m=Math.max(0,Math.min(d,Math.round(u*1e3)/1e3));return f!=null&&Math.abs(m-u)>1e-6&&(f=null),{start:m,beat:f}}function ume({scrollRef:t,ppsRef:e,durationRef:n,trackOrderRef:r,onMoveElement:i,onResizeElement:s,onBlockedEditAttempt:a,setShowPopover:o,setRangeSelectionRef:l}){const c=pe(R=>R.updateElement),u=pe(R=>{var H;return((H=R.beatAnalysis)==null?void 0:H.beatTimes)??Ub}),f=pe(R=>{var H;return((H=R.beatAnalysis)==null?void 0:H.beatStrengths)??Ub}),d=pe(R=>R.beatEdits),m=pe(R=>{var H;return((H=R.elements.find(qo))==null?void 0:H.start)??0}),x=pe(R=>{var H;return((H=R.elements.find(qo))==null?void 0:H.playbackStart)??0}),g=pe(R=>{var H;return((H=R.elements.find(qo))==null?void 0:H.duration)??0}),v=pe(R=>{var H;return((H=R.elements.find(qo))==null?void 0:H.src)??null}),A=b.useMemo(()=>{if(u===Ub||g===0)return Ub;const R=PP(u,f,d,v),H=x+g,F=m-x;return R.times.filter(K=>K>=x&&K<=H).map(K=>Math.round((K+F)*1e3)/1e3)},[u,f,d,v,m,x,g]),w=b.useRef([]);w.current=A;const[k,T]=b.useState(null),M=b.useRef(null);M.current=k;const[_,D]=b.useState(null),I=b.useRef(null);I.current=_;const j=b.useRef(null),$=b.useRef(!1),B=b.useRef(i);B.current=i;const Q=b.useRef(s);Q.current=s;const z=b.useRef(0),q=b.useRef(null),re=b.useCallback((R,H,F)=>{const K=t.current,te=$fe({start:R.element.start,track:R.element.track,duration:R.element.duration,originClientX:R.originClientX,originClientY:R.originClientY,originScrollLeft:R.originScrollLeft,originScrollTop:R.originScrollTop,currentScrollLeft:(K==null?void 0:K.scrollLeft)??R.originScrollLeft,currentScrollTop:(K==null?void 0:K.scrollTop)??R.originScrollTop,pixelsPerSecond:e.current,trackHeight:qp,maxStart:Math.max(0,n.current-R.element.duration),trackOrder:r.current},H,F),ie=qo(R.element)?{start:te.start,beat:null}:cme(te.start,R.element.duration,w.current,e.current,n.current);return{...R,started:!0,pointerClientX:H,pointerClientY:F,previewStart:ie.start,previewTrack:te.track,snapBeatTime:ie.beat}},[t,e,n,r]),W=b.useCallback(()=>{q.current=null,z.current&&(cancelAnimationFrame(z.current),z.current=0)},[]),ne=b.useCallback(()=>{z.current=0;const R=M.current,H=q.current,F=t.current;if(!R||!H||!F)return;const K=F.getBoundingClientRect(),te=DR(K,H.clientX,H.clientY);if(te.x===0&&te.y===0)return;const ie=Math.max(0,F.scrollWidth-F.clientWidth),U=Math.max(0,F.scrollHeight-F.clientHeight),X=Math.max(0,Math.min(ie,F.scrollLeft+te.x)),me=Math.max(0,Math.min(U,F.scrollTop+te.y));X===F.scrollLeft&&me===F.scrollTop||(F.scrollLeft=X,F.scrollTop=me,T(Ee=>Ee&&re(Ee,H.clientX,H.clientY)),z.current=requestAnimationFrame(ne))},[t,re]),se=b.useCallback((R,H)=>{q.current={clientX:R,clientY:H};const F=t.current;if(!F)return;const K=F.getBoundingClientRect(),te=DR(K,R,H);if(te.x===0&&te.y===0){z.current&&(cancelAnimationFrame(z.current),z.current=0);return}z.current||(z.current=requestAnimationFrame(ne))},[t,ne]),he=b.useRef(re);he.current=re;const oe=b.useRef(se);oe.current=se;const G=b.useRef(W);return G.current=W,wr(()=>{const R=()=>{requestAnimationFrame(()=>{$.current=!1})},H=K=>{var me,Ee,Re;const te=M.current,ie=I.current,U=j.current;if(ie){const Fe=Math.abs(K.clientX-ie.originClientX);if(!ie.started&&Fe<2)return;o(!1),(me=l.current)==null||me.call(l,null);const Ge=ie.element.sourceDuration!=null?Math.max(0,(ie.element.sourceDuration-(ie.element.playbackStart??0))/Math.max(ie.element.playbackRate??1,.1)):Number.POSITIVE_INFINITY,Ke=ie.element.tag.toLowerCase(),ft=Ke==="audio"||Ke==="video",ye=Math.max(ie.element.playbackRate??1,.1),ve=Math.min(n.current,ie.element.start+Ge);let Se=Bfe({start:ie.element.start,duration:ie.element.duration,originClientX:ie.originClientX,pixelsPerSecond:e.current,minStart:0,maxEnd:ve,playbackStart:ie.edge==="start"&&ft?ie.element.playbackStart??0:ie.element.playbackStart,playbackRate:ie.element.playbackRate},ie.edge,K.clientX);const Be=w.current;if(Be.length>0&&!qo(ie.element)){const Ze=JU/Math.max(e.current,1);if(ie.edge==="end"){const Ye=Se.start+Se.duration,ht=vS(Ye,Be,Ze),Ue=Math.round((ht-Se.start)*1e3)/1e3;ht!==Ye&&ht<=ve+1e-6&&Ue>=.05&&(Se={...Se,duration:Ue})}else{const Ye=vS(Se.start,Be,Ze),ht=Se.start-Ye,Ue=Se.playbackStart!=null?Se.playbackStart/ye:Number.POSITIVE_INFINITY,tt=Math.round((Se.duration+ht)*1e3)/1e3;Ye!==Se.start&&Ye>=0&&ht<=Ue+1e-6&&tt>=.05&&(Se={...Se,start:Ye,duration:tt,playbackStart:Se.playbackStart!=null?Math.round(Math.max(0,Se.playbackStart-ht*ye)*1e3)/1e3:void 0})}}D(Ze=>Ze&&{...Ze,started:!0,previewStart:Se.start,previewDuration:Se.duration,previewPlaybackStart:Se.playbackStart});return}if(U){const Fe=Math.hypot(K.clientX-U.originClientX,K.clientY-U.originClientY),Ge=U.intent==="move"?4:2;if(!U.started&&Fe<Ge)return;U.started||(U.started=!0,j.current=U,$.current=!0,o(!1),(Ee=l.current)==null||Ee.call(l,null),a==null||a(U.element,U.intent));return}if(!te)return;const X=Math.hypot(K.clientX-te.originClientX,K.clientY-te.originClientY);!te.started&&X<4||(o(!1),(Re=l.current)==null||Re.call(l,null),T(Fe=>Fe&&he.current(Fe,K.clientX,K.clientY)),oe.current(K.clientX,K.clientY))},F=()=>{var X,me;G.current();const K=I.current;if(K){if(I.current=null,D(null),!K.started||($.current=!0,R(),!(K.previewStart!==K.element.start||K.previewDuration!==K.element.duration||K.previewPlaybackStart!==K.element.playbackStart)))return;c(K.element.key??K.element.id,{start:K.previewStart,duration:K.previewDuration,playbackStart:K.previewPlaybackStart}),Promise.resolve((X=Q.current)==null?void 0:X.call(Q,K.element,{start:K.previewStart,duration:K.previewDuration,playbackStart:K.previewPlaybackStart})).catch(Re=>{c(K.element.key??K.element.id,{start:K.element.start,duration:K.element.duration,playbackStart:K.element.playbackStart}),console.error("[Timeline] Failed to persist clip resize",Re)});return}const te=j.current;if(te){if(j.current=null,!te.started)return;R();return}const ie=M.current;!ie||(M.current=null,T(null),!ie.started)||($.current=!0,R(),!(ie.previewStart!==ie.element.start||ie.previewTrack!==ie.element.track))||(c(ie.element.key??ie.element.id,{start:ie.previewStart,track:ie.previewTrack}),Promise.resolve((me=B.current)==null?void 0:me.call(B,ie.element,{start:ie.previewStart,track:ie.previewTrack})).catch(Ee=>{c(ie.element.key??ie.element.id,{start:ie.element.start,track:ie.element.track}),console.error("[Timeline] Failed to persist clip move",Ee)}))};return window.addEventListener("pointermove",H),window.addEventListener("pointerup",F),window.addEventListener("pointercancel",F),()=>{G.current(),window.removeEventListener("pointermove",H),window.removeEventListener("pointerup",F),window.removeEventListener("pointercancel",F)}}),{draggedClip:k,setDraggedClip:T,resizingClip:_,setResizingClip:D,blockedClipRef:j,suppressClickRef:$,syncClipDragAutoScroll:se,stopClipDragAutoScroll:W}}const hme=b.memo(function({x:e,y:n,element:r,currentTime:i,onClose:s,onSplit:a,onDelete:o}){const l=qU(s),c=200,f=n+80-window.innerHeight,d=e+c>window.innerWidth?e-c:e,m=f>0?n-f-8:n,x=x8(r)&&["video","audio","img"].includes(r.tag),g=x&&i>r.start&&i<r.start+r.duration,v=x?g?`Split at ${i.toFixed(2)}s`:"Split (move playhead inside clip)":null;return wx.createPortal(S.jsxs("div",{ref:l,className:"fixed z-50 bg-neutral-900 border border-neutral-700 rounded-md shadow-lg py-1 min-w-[180px]",style:{left:d,top:m},children:[v&&S.jsxs(S.Fragment,{children:[S.jsxs("button",{type:"button",className:`w-full flex items-center justify-between px-3 py-1.5 text-xs text-left ${g?"text-neutral-300 hover:bg-neutral-800 cursor-pointer":"text-neutral-600 cursor-not-allowed"}`,disabled:!g,onClick:()=>{g&&(a(r,i),s())},children:[S.jsx("span",{children:v}),S.jsx("span",{className:"text-neutral-500 text-[10px] ml-3",children:"S"})]}),S.jsx("div",{className:"my-1 border-t border-neutral-700/60"})]}),S.jsxs("button",{type:"button",className:"w-full flex items-center justify-between px-3 py-1.5 text-xs text-red-400 hover:bg-neutral-800 cursor-pointer text-left",onClick:()=>{o(r),s()},children:[S.jsx("span",{children:"Delete"}),S.jsx("span",{className:"text-neutral-500 text-[10px] ml-3",children:"⌫"})]})]}),document.body)});function fme({theme:t}){return S.jsx("div",{className:"absolute bottom-2 right-3 pointer-events-none z-20",children:S.jsxs("div",{className:"flex items-center gap-1.5 px-2 py-1 rounded-md border",style:{background:"rgba(17,23,35,0.84)",borderColor:t.gutterBorder},children:[S.jsx("kbd",{className:"text-[9px] font-mono px-1 py-0.5 rounded",style:{color:t.textSecondary,background:"rgba(255,255,255,0.06)"},children:"Shift"}),S.jsx("span",{className:"text-[9px]",style:{color:t.textSecondary},children:"+ drag/click to edit range"})]})})}function dme(t){const e=YU(),{onMoveElement:n,onResizeElement:r,onBlockedEditAttempt:i,onSplitElement:s}=t;return b.useMemo(()=>({...e,onMoveElement:n??e.onMoveElement,onResizeElement:r??e.onResizeElement,onBlockedEditAttempt:i??e.onBlockedEditAttempt,onSplitElement:s??e.onSplitElement}),[e,n,r,i,s])}const pme=b.memo(function({onSeek:e,onDrillDown:n,renderClipContent:r,renderClipOverlay:i,onFileDrop:s,onAssetDrop:a,onBlockDrop:o,onDeleteElement:l,onMoveElement:c,onResizeElement:u,onBlockedEditAttempt:f,onSplitElement:d,onSelectElement:m,theme:x}={}){const{onMoveElement:g,onResizeElement:v,onBlockedEditAttempt:A,onSplitElement:w,onRazorSplitAll:k,onDeleteKeyframe:T,onDeleteAllKeyframes:M,onChangeKeyframeEase:_,onMoveKeyframeToPlayhead:D,onMoveKeyframe:I}=dme({onMoveElement:c,onResizeElement:u,onBlockedEditAttempt:f,onSplitElement:d}),j=b.useMemo(()=>({...LX,...x}),[x]);Afe();const $=pe($e=>$e.elements),B=RX(),Q=pe($e=>$e.beatAnalysis),z=pe($e=>$e.elements.find(qo)??null),q=pe($e=>$e.beatEdits),re=b.useMemo(()=>vfe(Q,z,q),[Q,z,q]),W=pe($e=>$e.duration),ne=pe($e=>$e.timelineReady),se=pe($e=>$e.selectedElementId),he=pe($e=>$e.setSelectedElementId),oe=pe($e=>$e.currentTime),{zoomMode:G,manualZoomPercent:R,setZoomMode:H,setManualZoomPercent:F}=jX(),K=b.useRef(null),te=b.useRef(null),ie=b.useRef(null),U=pe($e=>$e.activeTool),[X,me]=b.useState(null),Ee=b.useRef(!1),[Re,Fe]=b.useState(!1),[Ge,Ke]=b.useState(null);wr(()=>{const $e=vn=>vn.key==="Shift"&&Fe(!0),dt=vn=>vn.key==="Shift"&&Fe(!1),Kt=()=>Fe(!1);return window.addEventListener("keydown",$e),window.addEventListener("keyup",dt),window.addEventListener("blur",Kt),()=>{window.removeEventListener("keydown",$e),window.removeEventListener("keyup",dt),window.removeEventListener("blur",Kt)}});const[ft,ye]=b.useState(!1),[ve,Se]=b.useState(!0),[Be,Ze]=b.useState(null),[Ye,ht]=b.useState(null),[Ue,tt]=b.useState(0),St=b.useRef(null),Tt=b.useRef(0),nt=b.useCallback(()=>{const $e=ie.current;Se($e?ade($e.scrollHeight,$e.clientHeight):!0)},[]),vt=b.useCallback(()=>{Tt.current&&cancelAnimationFrame(Tt.current),Tt.current=requestAnimationFrame(()=>{Tt.current=0,nt()})},[nt]),Xt=b.useCallback($e=>{te.current=$e},[]),Pt=b.useCallback($e=>{if(St.current&&(St.current.disconnect(),St.current=null),ie.current=$e,!$e)return;const dt=()=>{tt($e.clientWidth),vt()};dt(),St.current=new ResizeObserver(dt),St.current.observe($e)},[vt]);wr(()=>()=>{var $e;($e=St.current)==null||$e.disconnect(),Tt.current&&cancelAnimationFrame(Tt.current)});const It=b.useMemo(()=>{const $e=Number.isFinite(W)?W:0;if($.length===0)return $e;const dt=Math.max(...$.map(vn=>vn.start+vn.duration)),Kt=Math.max($e,dt);return Number.isFinite(Kt)?Kt:$e},[$,W]),At=b.useMemo(()=>{const $e=new Map;for(const dt of B){const Kt=$e.get(dt.track)??[];Kt.push(dt),$e.set(dt.track,Kt)}return Array.from($e.entries()).sort(([dt],[Kt])=>dt-Kt)},[B]),mt=b.useMemo(()=>{var dt;const $e=new Map;for(const[Kt,vn]of At)$e.set(Kt,VR(((dt=vn[0])==null?void 0:dt.tag)??""));return $e},[At]),ut=b.useMemo(()=>At.map(([$e])=>$e),[At]),_e=b.useRef(ut);_e.current=ut;const Qe=b.useRef(100),qe=b.useRef(It);qe.current=It;const Vt=b.useRef(null),{draggedClip:Mt,setDraggedClip:qt,resizingClip:Oe,setResizingClip:we,blockedClipRef:Ve,suppressClickRef:Te,syncClipDragAutoScroll:$t}=ume({scrollRef:ie,ppsRef:Qe,durationRef:qe,trackOrderRef:_e,onMoveElement:g,onResizeElement:v,onBlockedEditAttempt:A,setShowPopover:ye,setRangeSelectionRef:Vt}),dn=b.useMemo(()=>!(Mt!=null&&Mt.started)||ut.length===0||ut.includes(Mt.previewTrack)?ut:[...ut,Mt.previewTrack].sort(($e,dt)=>$e-dt),[Mt,ut]),$n=sde(dn.length),bn=pe($e=>$e.keyframeCache),Yn=pe($e=>$e.selectedKeyframes),ar=pe($e=>$e.toggleSelectedKeyframe),$r=b.useMemo(()=>B.find($e=>($e.key??$e.id)===se)??null,[B,se]),or=b.useRef($r);or.current=$r;const kn=Ue>ui&&It>0?(Ue-ui-2)/It:100,An=pde(kn,G,R);Qe.current=An;const bt=Math.max(0,It*An),xr=b.useMemo(()=>B.map($e=>`${$e.key??$e.id}:${$e.start}:${$e.duration}:${$e.track}`).join("|"),[B]),tn=b.useRef(G);tn.current=G;const mn=b.useRef(R);mn.current=R;const Nn=b.useRef(kn);Nn.current=kn;const{seekFromX:Hn,autoScrollDuringDrag:dr,dragScrollRaf:zt}=gde({playheadRef:K,scrollRef:ie,ppsRef:Qe,durationRef:qe,isDragging:Ee,currentTime:oe,zoomMode:G,zoomModeRef:tn,manualZoomPercentRef:mn,fitPps:kn,fitPpsRef:Nn,effectiveDuration:It,pps:An,timelineReady:ne,elementsLength:B.length,setZoomMode:H,setManualZoomPercent:F,onSeek:e});Sde({scrollRef:ie,currentTime:oe,clipStateVersion:xr});const{rangeSelection:We,setRangeSelection:Ut,shiftClickClipRef:gn,handlePointerDown:br,handlePointerMove:Ur,handlePointerUp:qn}=lde({scrollRef:ie,ppsRef:Qe,effectiveDuration:It,pps:An,onSeek:e,seekFromX:Hn,autoScrollDuringDrag:dr,dragScrollRaf:zt,isDragging:Ee,setShowPopover:ye});Vt.current=Ut;const Mi=b.useRef(or.current);b.useEffect(()=>{const $e=Mi.current,dt=or.current;Mi.current=dt,$e&&!dt&&(ye(!1),Ut(null))});const{major:Bn,minor:wn}=b.useMemo(()=>nde(It,An),[It,An]),xi=Bn.length>=2?Bn[1]-Bn[0]:It;b.useEffect(()=>{nt()},[nt,ne,B.length,$n]);const Rt=b.useCallback($e=>Oe&&(Oe.element.key??Oe.element.id)===($e.key??$e.id)?{...$e,start:Oe.previewStart,duration:Oe.previewDuration,playbackStart:Oe.previewPlaybackStart}:$e,[Oe]),{isDragOver:Ht,setIsDragOver:Kn,handleAssetDragOver:yt,handleAssetDrop:Zn}=Tde({scrollRef:ie,ppsRef:Qe,durationRef:qe,trackOrderRef:_e,onFileDrop:s,onAssetDrop:a,onBlockDrop:o});return!ne||B.length===0?S.jsx(Pde,{isDragOver:Ht,onFileDrop:!!s,onDragOver:yt,onDragLeave:()=>Kn(!1),onDrop:Zn}):S.jsxs("div",{ref:Xt,"aria-label":"Timeline",className:`relative border-t select-none h-full overflow-hidden ${U==="razor"||Re?"cursor-crosshair":"cursor-default"}`,onMouseMove:$e=>{if(U==="razor"&&ie.current){const dt=ie.current.getBoundingClientRect();Ke($e.clientX-dt.left+ie.current.scrollLeft)}},onMouseLeave:()=>Ke(null),style:{touchAction:"pan-x pan-y",background:j.shellBackground,borderColor:j.shellBorder},children:[S.jsxs("div",{ref:Pt,tabIndex:-1,className:`${G==="fit"?"overflow-x-hidden":"overflow-x-auto"} overflow-y-auto h-full outline-none`,onDragOver:yt,onDragLeave:()=>Kn(!1),onDrop:Zn,onPointerDown:$e=>{if(U==="razor"&&$e.shiftKey&&$e.button===0&&ie.current){const dt=ie.current.getBoundingClientRect(),Kt=$e.clientX-dt.left+ie.current.scrollLeft-ui,vn=Math.max(0,Kt/An);k==null||k(vn);return}br($e)},onPointerMove:Ur,onPointerUp:qn,onLostPointerCapture:qn,children:[S.jsx(lme,{major:Bn,minor:wn,pps:An,trackContentWidth:bt,totalH:$n,effectiveDuration:It,majorTickInterval:xi,rangeSelection:We,theme:j,displayTrackOrder:dn,trackOrder:ut,tracks:At,trackStyles:mt,selectedElementId:se,hoveredClip:X,draggedClip:Mt,resizingClip:Oe,blockedClipRef:Ve,suppressClickRef:Te,scrollRef:ie,renderClipContent:r,renderClipOverlay:i,playheadRef:K,onDrillDown:n,onSelectElement:m,setHoveredClip:me,setShowPopover:ye,setRangeSelection:Ut,setResizingClip:we,setDraggedClip:qt,setSelectedElementId:he,syncClipDragAutoScroll:$t,shiftClickClipRef:gn,getPreviewElement:Rt,getTrackStyle:VR,keyframeCache:bn,selectedKeyframes:Yn,currentTime:oe,beatAnalysis:re,onClickKeyframe:($e,dt)=>{pe.getState().clearSelectedKeyframes();const Kt=$e.key??$e.id;he(Kt),m==null||m($e),ar(`${Kt}:${dt}`);const vn=$e.start+dt/100*$e.duration;e==null||e(vn);const un=bn==null?void 0:bn.get(Kt),zn=un==null?void 0:un.keyframes.find(lr=>Math.abs(lr.percentage-dt)<.5);pe.getState().setActiveKeyframePct((zn==null?void 0:zn.tweenPercentage)??null)},onShiftClickKeyframe:($e,dt)=>{ar(`${$e}:${dt}`)},onMoveKeyframe:I,onContextMenuKeyframe:($e,dt,Kt)=>{const vn=B.find(lr=>(lr.key??lr.id)===dt);vn&&(he(dt),m==null||m(vn));const un=bn.get(dt),zn=un==null?void 0:un.keyframes.find(lr=>Math.abs(lr.percentage-Kt)<.2);Ze({x:$e.clientX+4,y:$e.clientY+2,elementId:dt,percentage:Kt,tweenPercentage:zn==null?void 0:zn.tweenPercentage,currentEase:(zn==null?void 0:zn.ease)??(un==null?void 0:un.ease)})},onContextMenuClip:($e,dt)=>{$e.preventDefault(),he(dt.key??dt.id),m==null||m(dt),ht({x:$e.clientX,y:$e.clientY,element:dt})}}),U==="razor"&&Ge!==null&&S.jsx("div",{className:"absolute top-0 bottom-0 pointer-events-none z-10",style:{left:Ge,width:1,background:"rgba(239,68,68,0.7)"}})]}),ve&&!ft&&!We&&S.jsx(fme,{theme:j}),ft&&We&&S.jsx(Ufe,{rangeStart:We.start,rangeEnd:We.end,anchorX:We.anchorX,anchorY:We.anchorY,onClose:()=>{ye(!1),Ut(null)}}),Be&&S.jsx(KU,{state:Be,onClose:()=>Ze(null),onDelete:($e,dt)=>T==null?void 0:T($e,dt),onDeleteAll:$e=>M==null?void 0:M($e),onChangeEase:($e,dt,Kt)=>_==null?void 0:_($e,dt,Kt),onMoveToPlayhead:D?($e,dt)=>D($e,dt):void 0,onCopyProperties:($e,dt)=>{const Kt=bn.get($e),vn=Kt==null?void 0:Kt.keyframes.find(un=>un.percentage===dt);vn&&navigator.clipboard.writeText(JSON.stringify(vn.properties,null,2))}}),Ye&&S.jsx(hme,{x:Ye.x,y:Ye.y,element:Ye.element,currentTime:oe,onClose:()=>ht(null),onSplit:($e,dt)=>w==null?void 0:w($e,dt),onDelete:$e=>l==null?void 0:l($e)})]})}),qR=66,KR=6,mme=b.memo(function({videoSrc:e,label:n,labelColor:r,duration:i=5}){const[s,a]=b.useState(0),[o,l]=b.useState(!1),[c,u]=b.useState([]),[f,d]=b.useState(16/9),m=b.useRef(null),x=b.useRef(null),g=b.useRef(!1),v=b.useCallback(k=>{var _,D,I;if((_=m.current)==null||_.disconnect(),(D=x.current)==null||D.disconnect(),!k)return;const T=((I=k.parentElement)==null?void 0:I.clientWidth)||k.clientWidth;a(T),m.current=new IntersectionObserver(([j])=>{var $;j.isIntersecting&&(l(!0),($=m.current)==null||$.disconnect())},{rootMargin:"200px"}),m.current.observe(k);const M=k.parentElement||k;x.current=new ResizeObserver(([j])=>{a(j.contentRect.width)}),x.current.observe(M)},[]);wr(()=>()=>{var k,T;(k=m.current)==null||k.disconnect(),(T=x.current)==null||T.disconnect()}),b.useEffect(()=>{if(!o||g.current)return;g.current=!0;const k=document.createElement("video");k.crossOrigin="anonymous",k.muted=!0,k.preload="auto";const T=document.createElement("canvas"),M=T.getContext("2d");if(!M){g.current=!1;return}const _=[],D=Math.min(.4,i*.05);for(let B=0;B<KR;B++){const Q=B/(KR-1)*i;_.push(Math.max(Q,D))}let I=0,j=!1;const $=()=>{if(j||I>=_.length){j||(k.src="",k.load());return}k.currentTime=_[I]};return k.addEventListener("loadedmetadata",()=>{if(k.videoWidth>0&&k.videoHeight>0){d(k.videoWidth/k.videoHeight);const B=qR*2,Q=Math.round(B*(k.videoWidth/k.videoHeight));T.width=Q,T.height=B}$()}),k.addEventListener("seeked",()=>{if(j)return;M.drawImage(k,0,0,T.width,T.height);const B=T.toDataURL("image/jpeg",.6);u(Q=>[...Q,B]),I++,$()}),k.addEventListener("error",()=>{}),k.src=e,k.load(),()=>{j=!0,g.current=!1,u([]),k.src="",k.load()}},[o,e,i]);const A=Math.round(qR*f),w=s>0?Math.max(1,Math.ceil(s/A)):1;return S.jsxs("div",{ref:v,className:"absolute inset-0 overflow-hidden",children:[o&&c.length>0&&S.jsx("div",{className:"absolute inset-0 flex",children:Array.from({length:w}).map((k,T)=>{const M=c[T%c.length];return S.jsx("div",{className:"flex-shrink-0 h-full relative overflow-hidden bg-neutral-900",style:{width:A},children:S.jsx("img",{src:M,alt:"",draggable:!1,className:"absolute inset-0 w-full h-full object-cover"})},T)})}),o&&c.length===0&&S.jsx("div",{className:"absolute inset-0 animate-pulse",style:{background:"linear-gradient(90deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.02) 100%)"}}),n&&S.jsx("div",{className:"absolute bottom-0 left-0 right-0 z-10 px-1.5 pb-0.5 pt-3",style:{background:"linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%)"},children:S.jsx("span",{className:"text-[9px] font-semibold truncate block leading-tight",style:{color:r,textShadow:"0 1px 2px rgba(0,0,0,0.9)"},children:n})})]})}),gme=66,yme="v3";function eG({previewUrl:t,seekTime:e=2,duration:n=5,selector:r,selectorIndex:i,origin:s}){const a=t.replace("/preview/comp/","/thumbnail/").replace(/\/preview$/,"/thumbnail/index.html"),o=e+n/2,l=new URL(a,s);return l.searchParams.set("t",o.toFixed(2)),l.searchParams.set("v",yme),r&&(l.searchParams.set("selector",r),i!=null&&i>0&&l.searchParams.set("selectorIndex",String(i))),l.toString()}const J6=b.memo(function({previewUrl:e,label:n,labelColor:r,selector:i,selectorIndex:s,seekTime:a=2,duration:o=5}){const[l,c]=b.useState(0),[u,f]=b.useState(!1),[d,m]=b.useState(16/9),x=b.useRef(null),g=b.useCallback(k=>{var _,D;if((_=x.current)==null||_.disconnect(),!k)return;const T=((D=k.parentElement)==null?void 0:D.clientWidth)||k.clientWidth;c(T);const M=k.parentElement||k;x.current=new ResizeObserver(([I])=>{c(I.contentRect.width)}),x.current.observe(M)},[]);wr(()=>()=>{var k;(k=x.current)==null||k.disconnect()});const v=eG({previewUrl:e,seekTime:a,duration:o,selector:i,selectorIndex:s,origin:window.location.origin}),A=Math.max(48,Math.round(gme*d)),w=l>0?Math.max(1,Math.ceil(l/A)):1;return S.jsxs("div",{ref:g,className:"absolute inset-0 overflow-hidden",children:[S.jsx("img",{src:v,alt:"",draggable:!1,loading:"eager",onLoad:k=>{const T=k.currentTarget;T.naturalWidth>0&&T.naturalHeight>0&&m(T.naturalWidth/T.naturalHeight),f(!0)},className:"hidden"}),u&&S.jsx("div",{className:"absolute inset-0 flex",style:{animation:"hf-thumb-fade 200ms ease-out",mixBlendMode:"lighten"},children:Array.from({length:w}).map((k,T)=>S.jsx("div",{className:"relative h-full flex-shrink-0 overflow-hidden",style:{width:A},children:S.jsx("img",{src:v,alt:"",draggable:!1,className:"absolute inset-0 h-full w-full object-cover",style:{opacity:.7}})},T))}),n&&S.jsx("div",{className:"absolute left-3 top-0 bottom-0 flex items-center",style:{zIndex:10},children:S.jsx("span",{className:"block max-w-full truncate text-[10px] font-semibold leading-none",style:{color:r,textShadow:u?"0 1px 4px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.6)":"none"},children:n})})]})});let xme=0;const JR={isEditMode:!1,model:null,selectedSegmentIds:new Set,selectedGroupId:null,sourceFilePath:null},Gn=gX((t,e)=>({...JR,setEditMode:n=>t({isEditMode:n}),setModel:n=>t({model:n}),setSourceFilePath:n=>t({sourceFilePath:n}),selectSegment:(n,r=!1)=>t(i=>{if(r){const s=new Set(i.selectedSegmentIds);return s.has(n)?s.delete(n):s.add(n),{selectedSegmentIds:s,selectedGroupId:null}}return{selectedSegmentIds:new Set([n]),selectedGroupId:null}}),selectGroup:n=>{var i;const r=(i=e().model)==null?void 0:i.groups.get(n);r&&t({selectedSegmentIds:new Set(r.segmentIds),selectedGroupId:n})},selectAll:()=>t(n=>n.model?{selectedSegmentIds:new Set(n.model.segments.keys()),selectedGroupId:null}:{}),clearSelection:()=>{const{selectedSegmentIds:n,selectedGroupId:r}=e();n.size===0&&r===null||t({selectedSegmentIds:new Set,selectedGroupId:null})},updateSegmentStyle:(n,r)=>t(i=>{if(!i.model)return{};const s=i.model.segments.get(n);if(!s)return{};const a=new Map(i.model.segments);return a.set(n,{...s,style:{...s.style,...r}}),{model:{...i.model,segments:a}}}),updateSegmentText:(n,r)=>t(i=>{if(!i.model)return{};const s=i.model.segments.get(n);if(!s)return{};const a=new Map(i.model.segments);return a.set(n,{...s,text:r}),{model:{...i.model,segments:a}}}),updateSegmentTiming:(n,r,i)=>t(s=>{if(!s.model)return{};const a=s.model.segments.get(n);if(!a)return{};const o=new Map(s.model.segments);return o.set(n,{...a,start:r,end:i}),{model:{...s.model,segments:o}}}),updateGroupStyle:(n,r)=>t(i=>{if(!i.model)return{};const s=i.model.groups.get(n);if(!s)return{};const a=new Map(i.model.groups);return a.set(n,{...s,style:{...s.style,...r}}),{model:{...i.model,groups:a}}}),updateGroupContainer:(n,r)=>t(i=>{if(!i.model)return{};const s=i.model.groups.get(n);if(!s)return{};const a=new Map(i.model.groups);return a.set(n,{...s,containerStyle:{...s.containerStyle,...r}}),{model:{...i.model,groups:a}}}),updateGroupAnimation:(n,r,i)=>t(s=>{if(!s.model)return{};const a=s.model.groups.get(n);if(!a)return{};const o=new Map(s.model.groups),l=a.animation[r],c=l!==null?{...l,...i}:i;return o.set(n,{...a,animation:{...a.animation,[r]:c}}),{model:{...s.model,groups:o}}}),splitGroup:(n,r)=>t(i=>{if(!i.model)return{};const s=i.model.groups.get(n);if(!s)return{};const a=s.segmentIds.indexOf(r);if(a<=0)return{};const o=s.segmentIds.slice(0,a),l=s.segmentIds.slice(a),c=`group-split-${xme++}`,u=new Map(i.model.groups);u.set(n,{...s,segmentIds:o}),u.set(c,{...s,id:c,segmentIds:l});const f=i.model.groupOrder.indexOf(n),d=[...i.model.groupOrder];d.splice(f+1,0,c);const m=new Map(i.model.segments);return l.forEach((x,g)=>{const v=m.get(x);v&&m.set(x,{...v,groupIndex:g})}),{model:{...i.model,groups:u,segments:m,groupOrder:d}}}),mergeGroups:(n,r)=>t(i=>{if(!i.model)return{};const s=i.model.groups.get(n),a=i.model.groups.get(r);if(!s||!a)return{};const o=[...s.segmentIds,...a.segmentIds],l=new Map(i.model.groups);l.set(n,{...s,segmentIds:o}),l.delete(r);const c=i.model.groupOrder.filter(d=>d!==r),u=new Map(i.model.segments);a.segmentIds.forEach((d,m)=>{const x=u.get(d);x&&u.set(d,{...x,groupIndex:s.segmentIds.length+m})});const f=i.selectedGroupId===r?null:i.selectedGroupId;return{model:{...i.model,groups:l,segments:u,groupOrder:c},selectedGroupId:f}}),updateSelectedStyle:n=>t(r=>{if(!r.model||r.selectedSegmentIds.size===0)return{};const i=new Map(r.model.segments);for(const s of r.selectedSegmentIds){const a=i.get(s);a&&i.set(s,{...a,style:{...a.style,...n}})}return{model:{...r.model,segments:i}}}),applyAnimationToAll:n=>t(r=>{if(!r.model)return{};const i=new Map(r.model.groups);for(const[s,a]of i)i.set(s,{...a,animation:n});return{model:{...r.model,groups:i}}}),reset:()=>t({...JR,selectedSegmentIds:new Set})})),bme=new Set(["ArrowLeft","ArrowRight"]),Ame=["input","textarea","select","button","a[href]","[contenteditable='true']","[role='button']","[role='checkbox']","[role='combobox']","[role='menuitem']","[role='radio']","[role='slider']","[role='spinbutton']","[role='switch']","[role='textbox']"].join(",");function vme(t){if(!t||typeof t!="object")return!1;const e=t;return typeof e.closest!="function"?!1:e.closest.call(t,Ame)!==null}function Sme(t,e={isCaptionEditMode:!1,selectedCaptionSegmentCount:0}){return t.metaKey||t.ctrlKey||t.altKey||vme(t.target)?!0:bme.has(t.code)&&e.isCaptionEditMode&&e.selectedCaptionSegmentCount>0}const eL=[1,2,4];function Ome({iframeRef:t,shuttleDirectionRef:e,shuttleSpeedIndexRef:n,iframeShortcutCleanupRef:r,getAdapter:i,play:s,playBackward:a,pause:o,seek:l}){const c=b.useRef(new Set),u=b.useRef(()=>{}),f=b.useRef(()=>{}),d=b.useCallback(w=>{const k=i(),T=(k==null?void 0:k.getTime())??pe.getState().currentTime;l(x5(T,w,Ex))},[i,l]),m=b.useCallback(w=>{e.current===w?n.current=Math.min(n.current+1,eL.length-1):n.current=0;const k=eL[n.current];pe.getState().setPlaybackRate(k),w==="forward"?s():a(k)},[s,a,e,n]),x=b.useCallback(()=>{pe.getState().isPlaying?o():s()},[s,o]),g=b.useCallback(w=>{var M,_,D;if(w.defaultPrevented)return;const k=Gn.getState();if(Sme(w,{isCaptionEditMode:k.isEditMode,selectedCaptionSegmentCount:k.selectedSegmentIds.size}))return;const T=w.key.toLowerCase();if(c.current.add(T),w.code==="Space"){w.preventDefault(),x();return}if(w.code==="ArrowLeft"){w.preventDefault(),d(w.shiftKey?-10:-1);return}if(w.code==="ArrowRight"){w.preventDefault(),d(w.shiftKey?10:1);return}if(!w.repeat){if(T==="m"){w.preventDefault();const I=pe.getState();I.playbackRate<=1&&I.setAudioMuted(!I.audioMuted);return}if(T==="l"&&w.shiftKey){w.preventDefault();const I=pe.getState();I.setLoopEnabled(!I.loopEnabled);return}if(T==="k"){w.preventDefault(),o();return}if(T==="j"){if(w.preventDefault(),c.current.has("k")){d(-1);return}m("backward");return}if(T==="l"){if(w.preventDefault(),c.current.has("k")){d(1);return}m("forward");return}if(T==="i"){w.preventDefault();const I=((M=i())==null?void 0:M.getTime())??pe.getState().currentTime;pe.getState().setInPoint(w.shiftKey?null:I);return}if(T==="o"){w.preventDefault();const I=((_=i())==null?void 0:_.getTime())??pe.getState().currentTime;pe.getState().setOutPoint(w.shiftKey?null:I);return}if(T==="a"){w.preventDefault(),l(pe.getState().inPoint??0,{keepPlaying:!0});return}if(T==="e"){w.preventDefault();const{outPoint:I}=pe.getState();l(I??((D=i())==null?void 0:D.getDuration())??pe.getState().duration,{keepPlaying:!0});return}}},[o,m,d,x,i,l]),v=b.useCallback(w=>{c.current.delete(w.key.toLowerCase())},[]);u.current=g,f.current=v;const A=b.useCallback(()=>{var _,D,I;(_=r.current)==null||_.call(r),r.current=null;let w=null,k=null;try{w=((D=t.current)==null?void 0:D.contentWindow)??null,k=((I=t.current)==null?void 0:I.contentDocument)??null}catch{return}if(!w&&!k)return;const T=j=>u.current(j),M=j=>f.current(j);try{w==null||w.addEventListener("keydown",T,!0),w==null||w.addEventListener("keyup",M,!0)}catch{}k==null||k.addEventListener("keydown",T,!0),k==null||k.addEventListener("keyup",M,!0),r.current=()=>{try{w==null||w.removeEventListener("keydown",T,!0),w==null||w.removeEventListener("keyup",M,!0)}catch{}k==null||k.removeEventListener("keydown",T,!0),k==null||k.removeEventListener("keyup",M,!0)}},[t,r]);return{playbackKeyDownRef:u,playbackKeyUpRef:f,attachIframeShortcutListeners:A,togglePlay:x}}function wme({iframeRef:t,probeIntervalRef:e,pendingSeekRef:n,isRefreshingRef:r,getAdapter:i,syncTimelineElements:s,setDuration:a,setCurrentTime:o,setTimelineReady:l,setIsPlaying:c,attachIframeShortcutListeners:u,applyPreviewAudioState:f}){const d=b.useCallback(w=>{var z,q;if(!w.clips||w.clips.length===0)return;pe.getState().setClipManifest(w.clips);const k=new Set(w.clips.map(re=>re.compositionId).filter(Boolean)),T=w.clips.filter(re=>!re.parentCompositionId||!k.has(re.parentCompositionId));let M=null;try{M=((z=t.current)==null?void 0:z.contentDocument)??null}catch{M=null}try{const re=(q=t.current)==null?void 0:q.contentWindow,W=re==null?void 0:re.__clipTree,ne=new Map;if(W){const he=oe=>{for(const G of oe)G.id&&G.parentId&&ne.set(G.id,G.parentId),G.children.length>0&&he(G.children)};he(W.roots)}const se=[];if(M)for(const he of w.clips){if(he.kind!=="composition"||!he.id)continue;const oe=M.getElementById(he.id);if(!oe)continue;const G=he.id,R=oe.querySelector("[data-hf-inner-root]")??oe,H=(F,K)=>{for(const te of Array.from(F.children)){if(!te.id){H(te,K);continue}const ie=te.hasAttribute("data-hf-group");se.push({id:te.id,parentId:K,hostId:G,label:ie&&te.getAttribute("data-hf-group")||te.id}),ne.set(te.id,K),ie&&H(te,te.id)}};H(R,G)}pe.getState().setClipParentMap(ne),pe.getState().setDomClipChildren(se)}catch{}const _=new Set,D=T.map((re,W)=>{const ne=M?xhe(M,re,W,_):null;return ne&&_.add(ne),DX({clip:re,fallbackIndex:W,doc:M,hostEl:ne})}),I=w.durationInFrames/30,j=Number.isFinite(I)&&I<7200?I:0,$=j>0?j:pe.getState().duration,B=$>0?D.filter(re=>re.start<$).map(re=>({...re,duration:Math.min(re.duration,$-re.start)})).filter(re=>re.duration>0):D,Q=M&&$>0?[...B,...NX(M,$,B)]:B;Q.length>0&&s(Q,j>0?j:void 0)},[t,s]),m=b.useCallback(()=>{try{const w=t.current,k=w==null?void 0:w.contentDocument,T=w==null?void 0:w.contentWindow;if(!k||!T)return;const M=pe.getState().elements,_=pe.getState().duration,{missing:D,updatedEls:I,patched:j}=Phe(k,T,M,_);if(D.length>0||j){const $=new Set(I.map(Q=>Q.id)),B=D.filter(Q=>!$.has(Q.id));s([...I,...B])}}catch{}},[t,s]),x=b.useCallback(()=>{const w=i();if(!w||w.getDuration()<=0)return!1;w.pause();const k=pe.getState().requestedSeekTime,T=n.current??k;n.current=null,k!=null&&pe.getState().clearSeekRequest();const M=T!=null?Math.min(T,w.getDuration()):0;w.seek(M),Xs.notify(M);const _=w.getDuration();Number.isFinite(_)&&_>0&&_<7200&&_!==pe.getState().duration&&a(_),o(M),r.current||l(!0),r.current=!1,c(!1);try{const D=t.current,I=D==null?void 0:D.contentDocument,j=D==null?void 0:D.contentWindow;I&&j&&(Ahe(I,j),vhe(I),u());const $=j==null?void 0:j.__clipManifest;if($&&$.clips.length>0&&d($),m(),f(),pe.getState().elements.length===0&&I){const B=_X(I,w.getDuration());B.length>0&&s(B)}if(pe.getState().elements.length===0&&I){const B=I.querySelector("[data-composition-id]"),Q=w.getDuration();if(B&&Q>0){const z=Tfe({compositionId:B.getAttribute("data-composition-id")||"composition",tagName:B.tagName||"div",rootDuration:Q,iframeSrc:(D==null?void 0:D.src)||"",selector:qf(B)});z&&s([z])}}}catch{}return!0},[i,a,o,l,c,d,m,s,u,f,t,r,n]),g=b.useCallback(()=>{if(f(),e.current&&clearInterval(e.current),x())return;const w=t.current;let k=!1;const T=()=>{k||x()&&(k=!0,window.removeEventListener("message",M),e.current&&clearInterval(e.current))},M=_=>{if(_.source&&w&&_.source!==w.contentWindow)return;const D=_.data;(D==null?void 0:D.source)==="hf-preview"&&((D==null?void 0:D.type)==="state"||(D==null?void 0:D.type)==="timeline")&&T()};window.addEventListener("message",M),e.current=setTimeout(()=>{k||T(),window.removeEventListener("message",M)},5e3)},[x,t,e,f]);return{processTimelineMessage:d,processTimelineMessageRef:{current:d},enrichMissingCompositions:m,enrichMissingCompositionsRef:{current:m},initializeAdapter:x,onIframeLoad:g}}function Cme(t,e){const n=pe.getState(),r=n.elements.find(qo);if(!r||n.audioMuted)return;const i=e-r.start,s=i>=0&&i<=r.duration?(r.playbackStart??0)+i:null;The(t,s,r.domId??r.id)}const w5=new Map,eC=new Map,C5=new Set;let up=null;async function Eme(){if(up===!1)return null;if(up)return up;try{return up=await o8(()=>import("./index-BiZvHXPu.js"),[]),up}catch{return up=!1,null}}function BP(t){try{return new URL(t,window.location.href).href}catch{return t}}async function kme(t){const e=await Eme();if(!e)return null;const n=new e.Input({source:new e.UrlSource(t),formats:e.ALL_FORMATS});try{const r=await n.getDurationFromMetadata();if(r==null||!Number.isFinite(r)||r<=0)return null;const i=await n.getPrimaryVideoTrack(),s=await n.getAudioTracks();return{duration:r,width:i==null?void 0:i.displayWidth,height:i==null?void 0:i.displayHeight,hasVideo:i!=null,hasAudio:s.length>0}}catch{return null}finally{n.dispose()}}function tG(t){return w5.get(BP(t))}function Tme(t){return t.map(e=>{const n=e.tag.toLowerCase();if(!e.src||e.sourceDuration!=null||n!=="audio"&&n!=="video")return e;const r=tG(e.src);return r!=null&&r.duration&&r.duration>0?{...e,sourceDuration:r.duration}:e})}async function Pme(t,e){const n=t.filter(r=>r.src&&r.sourceDuration==null&&["video","audio"].includes(r.tag.toLowerCase())&&!tG(r.src)&&!C5.has(BP(r.src)));n.length!==0&&await Promise.allSettled(n.map(async r=>{const i=await Mme(r.src);i&&e(r.key??r.id,i.duration)}))}async function Mme(t){const e=BP(t),n=w5.get(e);if(n)return n;if(C5.has(e))return null;let r=eC.get(e);return r||(r=kme(e).then(i=>(eC.delete(e),i?w5.set(e,i):C5.add(e),i)),eC.set(e,r),r)}function Dme(t){return t.keepPlaying&&!t.wasReverseShuttle&&t.storeWasPlaying&&(t.duration<=0||t.nextTime<t.duration)}function Nme(t){return!t.keepPlaying||t.wasReverseShuttle}function _me(t,e){return e.length!==t.length?!0:e.some((n,r)=>{const i=t[r];return!i||n.id!==i.id||n.start!==i.start||n.duration!==i.duration||n.track!==i.track||n.sourceDuration!==i.sourceDuration})}function Ime(){const t=b.useRef(null),e=b.useRef(0),n=b.useRef(void 0),r=b.useRef(null),i=b.useRef(!1),s=b.useRef(0),a=b.useRef(null),o=b.useRef(0),l=b.useRef(null),c=b.useRef(0),u=b.useRef(null),f=b.useRef(!1),{setIsPlaying:d,setCurrentTime:m,setDuration:x,setTimelineReady:g,setElements:v}=pe.getState(),A=b.useCallback((H,F)=>{const K=pe.getState(),te=F??K.duration,ie=Tme(Efe(K.elements,H,K.duration,te));_me(K.elements,ie)&&v(ie),Number.isFinite(F)&&(F??0)>0&&F!==K.duration&&x(F??0),K.timelineReady||g(!0),Pme(ie,(U,X)=>{pe.setState(me=>{const Ee=me.elements.findIndex(Fe=>(Fe.key??Fe.id)===U);if(Ee===-1||me.elements[Ee].sourceDuration!=null)return{};const Re=me.elements.slice();return Re[Ee]={...me.elements[Ee],sourceDuration:X},{elements:Re}})})},[v,g,x]),w=b.useCallback(()=>{var H,F;try{const K=t.current,te=K==null?void 0:K.contentWindow;if(!K||!te)return null;const ie=te.__player&&typeof te.__player.play=="function"?te.__player:null,U=fhe(K.contentDocument),X=Cv(ie);if(X>0&&U<=X)return Zb(u,f),ie;let me=null;if(te.__timeline){const Fe=mR(te.__timeline),Ge=Cv(Fe);if(Ge>0&&U<=Ge)return Zb(u,f),Fe;Ge>0&&(me??(me=Fe))}if(te.__timelines){const Fe=Object.keys(te.__timelines);if(Fe.length>0){const Ge=(F=(H=K==null?void 0:K.contentDocument)==null?void 0:H.querySelector("[data-composition-id]"))==null?void 0:F.getAttribute("data-composition-id"),Ke=Ge&&Ge in te.__timelines?Ge:Fe[Fe.length-1],ft=mR(te.__timelines[Ke]),ye=Cv(ft);if(ye>0&&U<=ye)return Zb(u,f),ft;ye>0&&(me??(me=ft))}}const Ee=ie??me,Re=Math.max(pe.getState().duration,U,X);return Ee&&Re>0&&("renderSeek"in Ee||typeof Ee.seek=="function")?hhe({cache:u,warned:f,bestAdapter:Ee,effectiveDuration:Re,docDuration:U,clock:che(te),getPlaybackRate:()=>pe.getState().playbackRate}):Ee}catch{return null}},[]),k=b.useCallback(()=>{cancelAnimationFrame(s.current)},[]),T=b.useCallback(()=>{const H=()=>{const F=w();if(F){const K=F.getTime(),te=F.getDuration(),ie=te>0?Math.min(K,te):K;Xs.notify(ie);const{inPoint:U,outPoint:X}=pe.getState(),me=X!==null?Math.min(X,te):te,Ee=U!==null?U:0,Re=Ee<me?me:te,Fe=Ee<me?Ee:0;if(ie>=Re){if(pe.getState().loopEnabled&&te>0){F.seek(Fe,{keepPlaying:!0}),Xs.notify(Fe),F.play(),d(!0),e.current=requestAnimationFrame(H);return}F.isPlaying()&&F.pause(),m(ie),d(!1),cancelAnimationFrame(e.current);return}}e.current=requestAnimationFrame(H)};e.current=requestAnimationFrame(H)},[w,m,d]),M=b.useCallback(()=>{cancelAnimationFrame(e.current)},[]),_=b.useCallback(H=>{const F=t.current;if(F){whe(F,H);try{const K=F.contentWindow;if(K!=null&&K.__timelines)for(const te of Object.values(K.__timelines))te&&typeof te.timeScale=="function"&&te.timeScale(H)}catch{}}},[]),D=b.useCallback(H=>{const{audioMuted:F,playbackRate:K}=pe.getState(),te=H??K;Ohe(t.current,mX(F,te))},[]),I=b.useCallback(()=>{M(),k(),Hy();const H=w();H&&(H.getTime()>=H.getDuration()&&H.seek(pe.getState().inPoint??0),_(pe.getState().playbackRate),D(),H.play(),a.current="forward",d(!0),T())},[w,d,T,_,D,M,k]),j=b.useCallback(H=>{M(),k();const F=w();if(!F)return;const K=Math.max(0,F.getDuration()),te=F.getTime()<=0&&K>0?K:F.getTime();F.pause(),te!==F.getTime()&&F.seek(te);const ie=Math.max(.1,Math.min(4,H));_(ie),D(ie);let U=te,X=performance.now();const me=Ee=>{const Re=(Ee-X)/1e3*ie;let Fe=U-Re;const{inPoint:Ge,outPoint:Ke}=pe.getState(),ft=Ke!==null?Math.min(Ke,K):K,ye=Ge!==null?Ge:0,ve=ye<ft?ft:K,Se=ye<ft?ye:0;if(Fe<=Se)if(pe.getState().loopEnabled&&K>0)U=ve,X=Ee,Fe=ve;else{F.seek(Se),Xs.notify(Se),m(Se),d(!1),a.current=null,s.current=0;return}F.seek(Math.max(0,Fe)),Xs.notify(Math.max(0,Fe)),d(!0),s.current=requestAnimationFrame(me)};d(!0),a.current="backward",s.current=requestAnimationFrame(me)},[w,m,d,_,D,M,k]),$=b.useCallback(()=>{k();const H=w();H&&(H.pause(),m(H.getTime()),d(!1),a.current=null,o.current=0,M())},[w,m,d,M,k]),B=b.useCallback((H,F)=>{const K=a.current==="backward";k();const te=w();if(!te)return r.current=Math.max(0,H),!1;const ie=Math.max(0,te.getDuration()),U=Math.max(0,ie>0?Math.min(ie,H):H),X=(F==null?void 0:F.keepPlaying)===!0,me=Dme({keepPlaying:X,wasReverseShuttle:K,storeWasPlaying:pe.getState().isPlaying,duration:ie,nextTime:U});return te.seek(U,F),Xs.notify(U),m(U),!me&&!X&&Cme(t.current,U),me?(M(),_(pe.getState().playbackRate),D(),te.play(),d(!0),a.current="forward",o.current=0,T()):Nme({keepPlaying:X,wasReverseShuttle:K})&&(M(),pe.getState().isPlaying&&d(!1),a.current=null,o.current=0),!0},[w,r,m,d,T,M,k,_,D,a,o]);b.useEffect(()=>pe.subscribe((H,F)=>{H.requestedSeekTime!==null&&H.requestedSeekTime!==F.requestedSeekTime&&(B(H.requestedSeekTime),pe.getState().clearSeekRequest())}),[B]);const{playbackKeyDownRef:Q,playbackKeyUpRef:z,attachIframeShortcutListeners:q,togglePlay:re}=Ome({iframeRef:t,shuttleDirectionRef:a,shuttleSpeedIndexRef:o,iframeShortcutCleanupRef:l,getAdapter:w,play:I,playBackward:j,pause:$,seek:B}),{processTimelineMessageRef:W,enrichMissingCompositionsRef:ne,onIframeLoad:se}=wme({iframeRef:t,probeIntervalRef:n,pendingSeekRef:r,isRefreshingRef:i,getAdapter:w,syncTimelineElements:A,setDuration:x,setCurrentTime:m,setTimelineReady:g,setIsPlaying:d,attachIframeShortcutListeners:q,applyPreviewAudioState:D}),he=b.useCallback(()=>{const H=w();r.current=H?H.getTime():pe.getState().currentTime??0,i.current=!0,M(),k(),d(!1)},[w,M,d,k]),oe=b.useCallback(()=>{const H=t.current;if(!H)return;he();const F=H.src,K=new URL(F,window.location.origin);K.searchParams.set("_t",String(Date.now())),H.src=K.toString()},[he]),G=b.useRef(w);G.current=w,wr(()=>{const H=ie=>Q.current(ie),F=ie=>z.current(ie),K=ie=>{const U=ie.data,X=t.current;if(!(ie.source&&X&&ie.source!==X.contentWindow)){if((U==null?void 0:U.source)==="hf-preview"&&(U==null?void 0:U.type)==="state")try{if(pe.getState().elements.length===0){const Ee=X==null?void 0:X.contentWindow,Re=Ee==null?void 0:Ee.__clipManifest;Re&&Re.clips.length>0&&W.current(Re)}Date.now()-c.current>500&&ne.current()}catch{}if((U==null?void 0:U.source)==="hf-preview"&&(U==null?void 0:U.type)==="timeline"&&Array.isArray(U.clips)&&(c.current=Date.now(),W.current(U),ne.current(),pe.getState().elements.length===0))try{const me=X==null?void 0:X.contentDocument,Ee=w();if(me&&Ee){const Re=_X(me,Ee.getDuration());Re.length>0&&A(Re)}}catch{}}},te=()=>{var ie;if(document.hidden&&pe.getState().isPlaying){const U=(ie=G.current)==null?void 0:ie.call(G);U&&(U.pause(),d(!1),M())}};return window.addEventListener("keydown",H,!0),window.addEventListener("keyup",F,!0),window.addEventListener("message",K),document.addEventListener("visibilitychange",te),()=>{var ie;window.removeEventListener("keydown",H,!0),window.removeEventListener("keyup",F,!0),(ie=l.current)==null||ie.call(l),l.current=null,window.removeEventListener("message",K),document.removeEventListener("visibilitychange",te),M(),k(),Hy(),Zb(u,f),n.current&&clearInterval(n.current)}});const R=b.useCallback(()=>{M(),k(),n.current&&clearInterval(n.current),pe.getState().reset()},[M,k]);return b.useEffect(()=>pe.subscribe((H,F)=>{const K=H.playbackRate!==F.playbackRate,te=H.audioMuted!==F.audioMuted;!K&&!te||(K&&_(H.playbackRate),D())}),[_,D]),{iframeRef:t,play:I,pause:$,togglePlay:re,seek:B,onIframeLoad:se,refreshPlayer:oe,saveSeekPosition:he,resetPlayer:R}}const tL='button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), summary, [contenteditable="true"], [tabindex]:not([tabindex="-1"])';function nG({open:t,onClose:e,containerRef:n,canClose:r}){const i=b.useRef(null),s=b.useRef(r);s.current=r;const a=b.useRef(e);a.current=e;const o=b.useCallback(()=>{const l=s.current;l&&!l()||a.current()},[]);return b.useEffect(()=>{var d;const l=document.activeElement;i.current=l instanceof HTMLElement?l:null;const c=n.current;(d=(c==null?void 0:c.querySelector(tL))??c)==null||d.focus();const f=m=>{if(m.key==="Escape"){m.stopPropagation(),o();return}if(m.key!=="Tab")return;const x=n.current;if(!x)return;const g=Array.from(x.querySelectorAll(tL));if(g.length===0)return;const v=g[0],A=g[g.length-1],w=document.activeElement;m.shiftKey&&(w===v||!x.contains(w))?(m.preventDefault(),A.focus()):!m.shiftKey&&(w===A||!x.contains(w))&&(m.preventDefault(),v.focus())};return document.addEventListener("keydown",f,!0),()=>{var m;document.removeEventListener("keydown",f,!0),(m=i.current)==null||m.focus(),i.current=null}},[t,n,o]),{requestClose:o}}function nL({findings:t,projectId:e,projectDir:n,title:r="HyperFrame Lint Results",promptIntro:i="Fix these HyperFrames lint issues",onClose:s}){const a=t.filter(v=>v.severity==="error"),o=t.filter(v=>v.severity==="warning"),l=t.length>0,[c,u]=b.useState(!1),[f,d]=b.useState(!1),m=b.useRef(null),{requestClose:x}=nG({open:!0,onClose:s,containerRef:m}),g=async()=>{const v=t.map(T=>{let M=`[${T.severity}] ${T.message}`;return T.file&&(M+=`
|
|
91
91
|
File: ${T.file}`),T.fixHint&&(M+=`
|
|
92
92
|
Fix: ${T.fixHint}`),M}),A=n?`Project path: ${n}
|
|
93
93
|
|