viewgate-wrapper 1.11.30 → 1.11.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,21 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode('@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";body{margin:0!important;padding:0!important}:root{--vg-primary: #6366f1;--vg-primary-glow: rgba(99, 102, 241, .5);--vg-primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);--vg-bg-glass: rgba(255, 255, 255, .7);--vg-radius: 16px;--vg-font-main: "Inter", system-ui, sans-serif;--vg-font-alt: "Inter", system-ui, sans-serif;--placeholder-color: #94a3b8;--vg-glass-border: rgba(255, 255, 255, .3);--vg-shadow-premium: 0 20px 50px rgba(0, 0, 0, .1)}.vg-container,.vg-container *{box-sizing:border-box}.vg-container{font-family:var(--vg-font-main);-webkit-font-smoothing:antialiased}.vg-glassmorphism{background:var(--vg-bg-glass);backdrop-filter:blur(16px) saturate(180%);-webkit-backdrop-filter:blur(16px) saturate(180%);border:1px solid var(--vg-glass-border);box-shadow:0 8px 32px #0000001a;border-radius:var(--vg-radius);position:relative}.vg-button-primary{background:var(--vg-primary-gradient);color:#fff;border:none;padding:12px 24px;font-family:var(--vg-font-main);font-size:14px;font-weight:700;cursor:pointer;transition:all .2s ease;border-radius:99px;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 4px 12px #6366f14d}.vg-button-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #6366f166}.vg-button-primary:disabled,.vg-button-ghost:disabled{opacity:.5;cursor:not-allowed;filter:grayscale(.4);transform:none!important;box-shadow:none!important;pointer-events:none}.vg-button-ghost{background:#fffc;color:#1e293b;border:1px solid #e2e8f0;padding:10px 24px;font-family:var(--vg-font-main);font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;border-radius:99px;display:flex;align-items:center;justify-content:center;gap:8px}.vg-button-ghost:hover{background:#fff;border-color:#cbd5e1;box-shadow:0 4px 12px #0000000d}.vg-badge{background:#f1f5f9;color:#64748b;padding:4px 12px;font-size:11px;border-radius:99px;font-weight:600;display:inline-flex;align-items:center;gap:6px}.vg-textarea{width:100%;box-sizing:border-box;border:1px solid #e2e8f0;border-radius:12px;padding:12px;font-family:var(--vg-font-main);font-size:15px;color:#0f172a;resize:none;outline:none;background:#f8fafc;transition:all .2s ease}.vg-textarea:focus{background:#fff;border-color:var(--vg-primary);box-shadow:0 0 0 4px #6366f11a}@keyframes vg-fade-in{0%{opacity:0}to{opacity:1}}@keyframes vg-slide-in{0%{transform:translateY(30px) scale(.96);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}@keyframes vg-pop-in{0%{transform:scale(.6);opacity:0}70%{transform:scale(1.08);opacity:1}to{transform:scale(1);opacity:1}}@keyframes vg-slide-up-fade{0%{transform:translateY(12px) scale(.95);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.vg-animate-pop{animation:vg-pop-in .4s cubic-bezier(.34,1.56,.64,1) forwards}.vg-animate-slide-up{animation:vg-slide-up-fade .5s cubic-bezier(.22,1,.36,1) forwards}.vg-button-primary,.vg-button-ghost,.vg-pin-container,.vg-action-bar,.vg-glassmorphism{transition:all .3s cubic-bezier(.4,0,.2,1)}.vg-animate-slide{animation:vg-slide-in .5s cubic-bezier(.22,1,.36,1) forwards}.vg-animate-fade{animation:vg-fade-in .35s cubic-bezier(.22,1,.36,1) forwards}.vg-toasts{position:fixed;top:24px;right:24px;display:flex;flex-direction:column;gap:12px}.vg-toast{padding:12px 20px;display:flex;align-items:center;gap:12px;min-width:300px;border-radius:12px;box-shadow:0 10px 30px #0000001a;background:#fff}.vg-toast.success{border-left:6px solid #22c55e}.vg-toast.error{border-left:6px solid #ef4444}.vg-backdrop-blur{position:fixed;top:0;left:0;width:100%;height:100%;-webkit-backdrop-filter:blur(8px) grayscale(.2);backdrop-filter:blur(8px) grayscale(.2);background:#0000001a;pointer-events:none;transition:opacity .3s ease,clip-path .2s cubic-bezier(.19,1,.22,1)}.vg-selection-pulse{position:fixed;pointer-events:none;border:2px solid var(--vg-primary);border-radius:8px;box-shadow:0 0 0 0 var(--vg-primary-glow);animation:vg-pulse 2s infinite;transition:all .2s cubic-bezier(.19,1,.22,1)}@keyframes vg-pulse{0%{box-shadow:0 0 0 0 var(--vg-primary-glow)}70%{box-shadow:0 0 0 15px #6366f100}to{box-shadow:0 0 #6366f100}}.vg-selection-label{position:absolute;top:-40px;left:0;background:var(--vg-primary-gradient);color:#fff;padding:8px 16px;border-radius:20px;font-size:13px;font-weight:700;white-space:nowrap;box-shadow:0 4px 12px #6366f14d;display:flex;align-items:center;gap:8px}.vg-pin-container{transition:transform .2s ease}.vg-pin-container:hover{transform:scale(1.1);z-index:2147483645!important}.vg-formal-pin{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#f97316,#ea580c);border:3px solid white;box-shadow:0 4px 12px #ea580c66;display:flex;align-items:center;justify-content:center;color:#fff;transition:all .2s ease}.vg-formal-pin.modal-variant{background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 4px 12px #f59e0b66;border-style:dashed}.vg-formal-pin.ready{background:linear-gradient(135deg,#a855f7,#7e22ce);box-shadow:0 4px 12px #a855f766}.vg-formal-pin.completed{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 4px 12px #10b98166}.vg-formal-pin.backlog{background:linear-gradient(135deg,#94a3b8,#64748b);box-shadow:0 4px 12px #64748b66}.vg-formal-pin.bug{background:linear-gradient(135deg,#f43f5e,#e11d48);box-shadow:0 4px 12px #e11d4866}.vg-formal-pin.mixed{border:3px solid #ea580c;box-shadow:0 4px 15px #ea580c66}.vg-pin-tooltip{position:absolute;top:calc(100% + 12px);left:50%;transform:translate(-50%);padding:16px;border-radius:16px;background:#fff;color:#1e293b;width:320px;font-size:13px;box-shadow:0 10px 40px #00000040;opacity:0;visibility:hidden;pointer-events:none;transition:all .3s cubic-bezier(.19,1,.22,1);border:1px solid #e2e8f0;z-index:1000;overflow:hidden}.vg-tooltip-scroll{scrollbar-width:thin;scrollbar-color:rgba(99,102,241,.2) transparent;overflow-y:auto;overflow-x:hidden;padding-right:12px;scroll-behavior:smooth}.vg-tooltip-scroll::-webkit-scrollbar{width:4px}.vg-tooltip-scroll::-webkit-scrollbar-track{background:transparent}.vg-tooltip-scroll::-webkit-scrollbar-thumb{background:#6366f14d;border-radius:10px}.vg-tooltip-scroll::-webkit-scrollbar-thumb:hover{background:#6366f180}.vg-text-wrap{word-break:break-word;overflow-wrap:break-word;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;white-space:pre-wrap}.vg-line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-height:2.8em}.vg-pin-badge{position:absolute;top:-8px;right:-8px;background:#f43f5e;color:#fff;font-size:10px;font-weight:800;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid white;box-shadow:0 4px 12px #f43f5e66;z-index:2}.vg-pin-tooltip.vg-top{top:auto;bottom:calc(100% + 12px)}.vg-pin-tooltip.vg-tooltip-right{left:0;transform:translate(0)}.vg-pin-tooltip.vg-tooltip-left{left:auto;right:0;transform:translate(0)}.vg-pin-container:hover .vg-pin-tooltip.vg-tooltip-right,.vg-pin-container:hover .vg-pin-tooltip.vg-tooltip-left{transform:translate(0) translateY(-5px)}.vg-pin-container:hover .vg-pin-tooltip{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%) translateY(-5px)}.vg-action-bar{display:flex;gap:12px;padding:0;background:transparent;border:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.vg-custom-scrollbar::-webkit-scrollbar{width:6px}.vg-custom-scrollbar::-webkit-scrollbar-track{background:transparent}.vg-custom-scrollbar::-webkit-scrollbar-thumb{background:#6366f166;border-radius:10px;transition:all .2s ease}.vg-custom-scrollbar::-webkit-scrollbar-thumb:hover{background:#6366f1b3}.vg-spinner{border:3px solid rgba(99,102,241,.1);border-top:3px solid var(--vg-primary);border-radius:50%;width:32px;height:32px;animation:vg-spin .8s linear infinite}@keyframes vg-spin{to{transform:rotate(360deg)}}.vg-animate-spin{animation:vg-spin .8s linear infinite}.vg-cursor-pointer,.vg-cursor-pointer *{cursor:pointer!important}.vg-url-tag{position:relative;cursor:help;transition:all .2s ease}.vg-url-tag:hover{background:#f1f5f9!important;border-color:var(--vg-primary)!important}.vg-url-tooltip{position:fixed;left:0;top:0;background:#0f172a;color:#fff;padding:8px 14px;border-radius:10px;font-size:11px;font-weight:500;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease;box-shadow:0 10px 25px -5px #0006;z-index:2147483647;border:1px solid rgba(255,255,255,.1)}.vg-url-tooltip.visible{opacity:1}.vg-url-tooltip:after{content:"";position:absolute;left:50%;transform:translate(-50%);border-width:6px;border-style:solid}.vg-url-tooltip.vg-top:after{top:100%;border-color:#0f172a transparent transparent transparent}.vg-url-tooltip.vg-bottom:after{bottom:100%;border-color:transparent transparent #0f172a transparent}.vg-segmented-control{display:flex;background:#f1f5f9;padding:4px;border-radius:99px;position:relative;cursor:pointer;-webkit-user-select:none;user-select:none;border:4px solid #e2e8f0;width:100%;max-width:480px;margin:0 auto}.vg-segmented-slider{position:absolute;top:4px;bottom:4px;border-radius:99px;transition:all .35s cubic-bezier(.4,0,.2,1);z-index:1}.vg-segmented-item{position:relative;flex:1;padding:8px 4px;font-size:11px;font-weight:700;text-align:center;z-index:2;transition:all .35s ease;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:99px;color:#64748b;white-space:nowrap;min-width:0}.vg-segmented-item.active{color:#fff}.vg-glassmorphism.vg-animate-slide:last-child{margin-bottom:0!important}')),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
- (function(zA,C){typeof exports=="object"&&typeof module<"u"?C(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],C):(zA=typeof globalThis<"u"?globalThis:zA||self,C(zA.ViewGateWrapper={},zA.React,zA.ReactDOM))})(this,(function(zA,C,ac){"use strict";var sr={exports:{}},Ft={};var zn;function ic(){if(zn)return Ft;zn=1;var t=Symbol.for("react.transitional.element"),A=Symbol.for("react.fragment");function e(r,s,n){var o=null;if(n!==void 0&&(o=""+n),s.key!==void 0&&(o=""+s.key),"key"in s){n={};for(var a in s)a!=="key"&&(n[a]=s[a])}else n=s;return s=n.ref,{$$typeof:t,type:r,key:o,ref:s!==void 0?s:null,props:n}}return Ft.Fragment=A,Ft.jsx=e,Ft.jsxs=e,Ft}var xt={};var Zn;function cc(){return Zn||(Zn=1,process.env.NODE_ENV!=="production"&&(function(){function t(m){if(m==null)return null;if(typeof m=="function")return m.$$typeof===N?null:m.displayName||m.name||null;if(typeof m=="string")return m;switch(m){case x:return"Fragment";case p:return"Profiler";case U:return"StrictMode";case K:return"Suspense";case V:return"SuspenseList";case xA:return"Activity"}if(typeof m=="object")switch(typeof m.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),m.$$typeof){case w:return"Portal";case L:return m.displayName||"Context";case E:return(m._context.displayName||"Context")+".Consumer";case y:var D=m.render;return m=m.displayName,m||(m=D.displayName||D.name||"",m=m!==""?"ForwardRef("+m+")":"ForwardRef"),m;case AA:return D=m.displayName||null,D!==null?D:t(m.type)||"Memo";case S:D=m._payload,m=m._init;try{return t(m(D))}catch{}}return null}function A(m){return""+m}function e(m){try{A(m);var D=!1}catch{D=!0}if(D){D=console;var j=D.error,q=typeof Symbol=="function"&&Symbol.toStringTag&&m[Symbol.toStringTag]||m.constructor.name||"Object";return j.call(D,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",q),A(m)}}function r(m){if(m===x)return"<>";if(typeof m=="object"&&m!==null&&m.$$typeof===S)return"<...>";try{var D=t(m);return D?"<"+D+">":"<...>"}catch{return"<...>"}}function s(){var m=gA.A;return m===null?null:m.getOwner()}function n(){return Error("react-stack-top-frame")}function o(m){if(eA.call(m,"key")){var D=Object.getOwnPropertyDescriptor(m,"key").get;if(D&&D.isReactWarning)return!1}return m.key!==void 0}function a(m,D){function j(){WA||(WA=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",D))}j.isReactWarning=!0,Object.defineProperty(m,"key",{get:j,configurable:!0})}function i(){var m=t(this.type);return ie[m]||(ie[m]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),m=this.props.ref,m!==void 0?m:null}function B(m,D,j,q,Ee,be){var z=j.ref;return m={$$typeof:h,type:m,key:D,props:j,_owner:q},(z!==void 0?z:null)!==null?Object.defineProperty(m,"ref",{enumerable:!1,get:i}):Object.defineProperty(m,"ref",{enumerable:!1,value:null}),m._store={},Object.defineProperty(m._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(m,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(m,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ee}),Object.defineProperty(m,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:be}),Object.freeze&&(Object.freeze(m.props),Object.freeze(m)),m}function c(m,D,j,q,Ee,be){var z=D.children;if(z!==void 0)if(q)if(uA(z)){for(q=0;q<z.length;q++)g(z[q]);Object.freeze&&Object.freeze(z)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else g(z);if(eA.call(D,"key")){z=t(m);var GA=Object.keys(D).filter(function(ce){return ce!=="key"});q=0<GA.length?"{key: someKey, "+GA.join(": ..., ")+": ...}":"{key: someKey}",re[z+q]||(GA=0<GA.length?"{"+GA.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
2
+ (function(qA,Q){typeof exports=="object"&&typeof module<"u"?Q(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],Q):(qA=typeof globalThis<"u"?globalThis:qA||self,Q(qA.ViewGateWrapper={},qA.React,qA.ReactDOM))})(this,(function(qA,Q,bc){"use strict";var ws={exports:{}},It={};var ho;function vc(){if(ho)return It;ho=1;var t=Symbol.for("react.transitional.element"),A=Symbol.for("react.fragment");function e(s,r,n){var o=null;if(n!==void 0&&(o=""+n),r.key!==void 0&&(o=""+r.key),"key"in r){n={};for(var a in r)a!=="key"&&(n[a]=r[a])}else n=r;return r=n.ref,{$$typeof:t,type:s,key:o,ref:r!==void 0?r:null,props:n}}return It.Fragment=A,It.jsx=e,It.jsxs=e,It}var St={};var po;function Hc(){return po||(po=1,process.env.NODE_ENV!=="production"&&(function(){function t(U){if(U==null)return null;if(typeof U=="function")return U.$$typeof===vA?null:U.displayName||U.name||null;if(typeof U=="string")return U;switch(U){case F:return"Fragment";case m:return"Profiler";case y:return"StrictMode";case K:return"Suspense";case _:return"SuspenseList";case lA:return"Activity"}if(typeof U=="object")switch(typeof U.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),U.$$typeof){case C:return"Portal";case H:return U.displayName||"Context";case T:return(U._context.displayName||"Context")+".Consumer";case I:var k=U.render;return U=U.displayName,U||(U=k.displayName||k.name||"",U=U!==""?"ForwardRef("+U+")":"ForwardRef"),U;case W:return k=U.displayName||null,k!==null?k:t(U.type)||"Memo";case R:k=U._payload,U=U._init;try{return t(U(k))}catch{}}return null}function A(U){return""+U}function e(U){try{A(U);var k=!1}catch{k=!0}if(k){k=console;var z=k.error,q=typeof Symbol=="function"&&Symbol.toStringTag&&U[Symbol.toStringTag]||U.constructor.name||"Object";return z.call(k,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",q),A(U)}}function s(U){if(U===F)return"<>";if(typeof U=="object"&&U!==null&&U.$$typeof===R)return"<...>";try{var k=t(U);return k?"<"+k+">":"<...>"}catch{return"<...>"}}function r(){var U=N.A;return U===null?null:U.getOwner()}function n(){return Error("react-stack-top-frame")}function o(U){if(yA.call(U,"key")){var k=Object.getOwnPropertyDescriptor(U,"key").get;if(k&&k.isReactWarning)return!1}return U.key!==void 0}function a(U,k){function z(){X||(X=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",k))}z.isReactWarning=!0,Object.defineProperty(U,"key",{get:z,configurable:!0})}function c(){var U=t(this.type);return JA[U]||(JA[U]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),U=this.props.ref,U!==void 0?U:null}function g(U,k,z,q,YA,He){var AA=z.ref;return U={$$typeof:w,type:U,key:k,props:z,_owner:q},(AA!==void 0?AA:null)!==null?Object.defineProperty(U,"ref",{enumerable:!1,get:c}):Object.defineProperty(U,"ref",{enumerable:!1,value:null}),U._store={},Object.defineProperty(U._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(U,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(U,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:YA}),Object.defineProperty(U,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:He}),Object.freeze&&(Object.freeze(U.props),Object.freeze(U)),U}function l(U,k,z,q,YA,He){var AA=k.children;if(AA!==void 0)if(q)if($(AA)){for(q=0;q<AA.length;q++)B(AA[q]);Object.freeze&&Object.freeze(AA)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else B(AA);if(yA.call(k,"key")){AA=t(U);var DA=Object.keys(k).filter(function(MA){return MA!=="key"});q=0<DA.length?"{key: someKey, "+DA.join(": ..., ")+": ...}":"{key: someKey}",te[AA+q]||(DA=0<DA.length?"{"+DA.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
3
3
  let props = %s;
4
4
  <%s {...props} />
5
5
  React keys must be passed directly to JSX without using spread:
6
6
  let props = %s;
7
- <%s key={someKey} {...props} />`,q,z,GA,z),re[z+q]=!0)}if(z=null,j!==void 0&&(e(j),z=""+j),o(D)&&(e(D.key),z=""+D.key),"key"in D){j={};for(var HA in D)HA!=="key"&&(j[HA]=D[HA])}else j=D;return z&&a(j,typeof m=="function"?m.displayName||m.name||"Unknown":m),B(m,z,j,s(),Ee,be)}function g(m){f(m)?m._store&&(m._store.validated=1):typeof m=="object"&&m!==null&&m.$$typeof===S&&(m._payload.status==="fulfilled"?f(m._payload.value)&&m._payload.value._store&&(m._payload.value._store.validated=1):m._store&&(m._store.validated=1))}function f(m){return typeof m=="object"&&m!==null&&m.$$typeof===h}var u=C,h=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),E=Symbol.for("react.consumer"),L=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),V=Symbol.for("react.suspense_list"),AA=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),xA=Symbol.for("react.activity"),N=Symbol.for("react.client.reference"),gA=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,eA=Object.prototype.hasOwnProperty,uA=Array.isArray,W=console.createTask?console.createTask:function(){return null};u={react_stack_bottom_frame:function(m){return m()}};var WA,ie={},xe=u.react_stack_bottom_frame.bind(u,n)(),ye=W(r(n)),re={};xt.Fragment=x,xt.jsx=function(m,D,j){var q=1e4>gA.recentlyCreatedOwnerStacks++;return c(m,D,j,!1,q?Error("react-stack-top-frame"):xe,q?W(r(m)):ye)},xt.jsxs=function(m,D,j){var q=1e4>gA.recentlyCreatedOwnerStacks++;return c(m,D,j,!0,q?Error("react-stack-top-frame"):xe,q?W(r(m)):ye)}})()),xt}var $n;function lc(){return $n||($n=1,process.env.NODE_ENV==="production"?sr.exports=ic():sr.exports=cc()),sr.exports}var d=lc(),nr={exports:{}},fs={};var qn;function dc(){if(qn)return fs;qn=1;var t=C;function A(g,f){return g===f&&(g!==0||1/g===1/f)||g!==g&&f!==f}var e=typeof Object.is=="function"?Object.is:A,r=t.useState,s=t.useEffect,n=t.useLayoutEffect,o=t.useDebugValue;function a(g,f){var u=f(),h=r({inst:{value:u,getSnapshot:f}}),w=h[0].inst,x=h[1];return n(function(){w.value=u,w.getSnapshot=f,i(w)&&x({inst:w})},[g,u,f]),s(function(){return i(w)&&x({inst:w}),g(function(){i(w)&&x({inst:w})})},[g]),o(u),u}function i(g){var f=g.getSnapshot;g=g.value;try{var u=f();return!e(g,u)}catch{return!0}}function B(g,f){return f()}var c=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?B:a;return fs.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:c,fs}var hs={};var Ao;function Bc(){return Ao||(Ao=1,process.env.NODE_ENV!=="production"&&(function(){function t(u,h){return u===h&&(u!==0||1/u===1/h)||u!==u&&h!==h}function A(u,h){c||s.startTransition===void 0||(c=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var w=h();if(!g){var x=h();n(w,x)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),g=!0)}x=o({inst:{value:w,getSnapshot:h}});var U=x[0].inst,p=x[1];return i(function(){U.value=w,U.getSnapshot=h,e(U)&&p({inst:U})},[u,w,h]),a(function(){return e(U)&&p({inst:U}),u(function(){e(U)&&p({inst:U})})},[u]),B(w),w}function e(u){var h=u.getSnapshot;u=u.value;try{var w=h();return!n(u,w)}catch{return!0}}function r(u,h){return h()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var s=C,n=typeof Object.is=="function"?Object.is:t,o=s.useState,a=s.useEffect,i=s.useLayoutEffect,B=s.useDebugValue,c=!1,g=!1,f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?r:A;hs.useSyncExternalStore=s.useSyncExternalStore!==void 0?s.useSyncExternalStore:f,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),hs}var eo;function gc(){return eo||(eo=1,process.env.NODE_ENV==="production"?nr.exports=dc():nr.exports=Bc()),nr.exports}var to=gc();const ro=0,so=1,no=2,oo=3;var ao=Object.prototype.hasOwnProperty;function ws(t,A){var e,r;if(t===A)return!0;if(t&&A&&(e=t.constructor)===A.constructor){if(e===Date)return t.getTime()===A.getTime();if(e===RegExp)return t.toString()===A.toString();if(e===Array){if((r=t.length)===A.length)for(;r--&&ws(t[r],A[r]););return r===-1}if(!e||typeof t=="object"){r=0;for(e in t)if(ao.call(t,e)&&++r&&!ao.call(A,e)||!(e in A)||!ws(t[e],A[e]))return!1;return Object.keys(A).length===r}}return t!==t&&A!==A}const pe=new WeakMap,Qe=()=>{},LA=Qe(),ps=Object,_=t=>t===LA,de=t=>typeof t=="function",Se=(t,A)=>({...t,...A}),io=t=>de(t.then),Qs={},or={},Cs="undefined",yt=typeof window!=Cs,ms=typeof document!=Cs,uc=yt&&"Deno"in window,fc=()=>yt&&typeof window.requestAnimationFrame!=Cs,co=(t,A)=>{const e=pe.get(t);return[()=>!_(A)&&t.get(A)||Qs,r=>{if(!_(A)){const s=t.get(A);A in or||(or[A]=s),e[5](A,Se(s,r),s||Qs)}},e[6],()=>!_(A)&&A in or?or[A]:!_(A)&&t.get(A)||Qs]};let Us=!0;const hc=()=>Us,[Fs,xs]=yt&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Qe,Qe],wc=()=>{const t=ms&&document.visibilityState;return _(t)||t!=="hidden"},pc=t=>(ms&&document.addEventListener("visibilitychange",t),Fs("focus",t),()=>{ms&&document.removeEventListener("visibilitychange",t),xs("focus",t)}),Qc=t=>{const A=()=>{Us=!0,t()},e=()=>{Us=!1};return Fs("online",A),Fs("offline",e),()=>{xs("online",A),xs("offline",e)}},Cc={isOnline:hc,isVisible:wc},mc={initFocus:pc,initReconnect:Qc},lo=!C.useId,st=!yt||uc,Uc=t=>fc()?window.requestAnimationFrame(t):setTimeout(t,1),ys=st?C.useEffect:C.useLayoutEffect,Es=typeof navigator<"u"&&navigator.connection,Bo=!st&&Es&&(["slow-2g","2g"].includes(Es.effectiveType)||Es.saveData),ar=new WeakMap,Fc=t=>ps.prototype.toString.call(t),bs=(t,A)=>t===`[object ${A}]`;let xc=0;const vs=t=>{const A=typeof t,e=Fc(t),r=bs(e,"Date"),s=bs(e,"RegExp"),n=bs(e,"Object");let o,a;if(ps(t)===t&&!r&&!s){if(o=ar.get(t),o)return o;if(o=++xc+"~",ar.set(t,o),Array.isArray(t)){for(o="@",a=0;a<t.length;a++)o+=vs(t[a])+",";ar.set(t,o)}if(n){o="#";const i=ps.keys(t).sort();for(;!_(a=i.pop());)_(t[a])||(o+=a+":"+vs(t[a])+",");ar.set(t,o)}}else o=r?t.toJSON():A=="symbol"?t.toString():A=="string"?JSON.stringify(t):""+t;return o},Hs=t=>{if(de(t))try{t=t()}catch{t=""}const A=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?vs(t):"",[t,A]};let yc=0;const Is=()=>++yc;async function go(...t){const[A,e,r,s]=t,n=Se({populateCache:!0,throwOnError:!0},typeof s=="boolean"?{revalidate:s}:s||{});let o=n.populateCache;const a=n.rollbackOnError;let i=n.optimisticData;const B=f=>typeof a=="function"?a(f):a!==!1,c=n.throwOnError;if(de(e)){const f=e,u=[],h=A.keys();for(const w of h)!/^\$(inf|sub)\$/.test(w)&&f(A.get(w)._k)&&u.push(w);return Promise.all(u.map(g))}return g(e);async function g(f){const[u]=Hs(f);if(!u)return;const[h,w]=co(A,u),[x,U,p,E]=pe.get(A),L=()=>{const uA=x[u];return(de(n.revalidate)?n.revalidate(h().data,f):n.revalidate!==!1)&&(delete p[u],delete E[u],uA&&uA[0])?uA[0](no).then(()=>h().data):h().data};if(t.length<3)return L();let y=r,K,V=!1;const AA=Is();U[u]=[AA,0];const S=!_(i),xA=h(),N=xA.data,gA=xA._c,eA=_(gA)?N:gA;if(S&&(i=de(i)?i(eA,N):i,w({data:i,_c:eA})),de(y))try{y=y(eA)}catch(uA){K=uA,V=!0}if(y&&io(y))if(y=await y.catch(uA=>{K=uA,V=!0}),AA!==U[u][0]){if(V)throw K;return y}else V&&S&&B(K)&&(o=!0,w({data:eA,_c:LA}));if(o&&!V)if(de(o)){const uA=o(y,eA);w({data:uA,error:LA,_c:LA})}else w({data:y,error:LA,_c:LA});if(U[u][1]=Is(),Promise.resolve(L()).then(()=>{w({_c:LA})}),V){if(c)throw K;return}return y}}const uo=(t,A)=>{for(const e in t)t[e][0]&&t[e][0](A)},Ec=(t,A)=>{if(!pe.has(t)){const e=Se(mc,A),r=Object.create(null),s=go.bind(LA,t);let n=Qe;const o=Object.create(null),a=(c,g)=>{const f=o[c]||[];return o[c]=f,f.push(g),()=>f.splice(f.indexOf(g),1)},i=(c,g,f)=>{t.set(c,g);const u=o[c];if(u)for(const h of u)h(g,f)},B=()=>{if(!pe.has(t)&&(pe.set(t,[r,Object.create(null),Object.create(null),Object.create(null),s,i,a]),!st)){const c=e.initFocus(setTimeout.bind(LA,uo.bind(LA,r,ro))),g=e.initReconnect(setTimeout.bind(LA,uo.bind(LA,r,so)));n=()=>{c&&c(),g&&g(),pe.delete(t)}}};return B(),[t,s,B,n]}return[t,pe.get(t)[4]]},bc=(t,A,e,r,s)=>{const n=e.errorRetryCount,o=s.retryCount,a=~~((Math.random()+.5)*(1<<(o<8?o:8)))*e.errorRetryInterval;!_(n)&&o>n||setTimeout(r,a,s)},vc=ws,[fo,Hc]=Ec(new Map),Ic=Se({onLoadingSlow:Qe,onSuccess:Qe,onError:Qe,onErrorRetry:bc,onDiscarded:Qe,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Bo?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Bo?5e3:3e3,compare:vc,isPaused:()=>!1,cache:fo,mutate:Hc,fallback:{}},Cc),Sc=(t,A)=>{const e=Se(t,A);if(A){const{use:r,fallback:s}=t,{use:n,fallback:o}=A;r&&n&&(e.use=r.concat(n)),s&&o&&(e.fallback=Se(s,o))}return e},Lc=C.createContext({}),Tc="$inf$",ho=yt&&window.__SWR_DEVTOOLS_USE__,Kc=ho?window.__SWR_DEVTOOLS_USE__:[],Oc=()=>{ho&&(window.__SWR_DEVTOOLS_REACT__=C)},Dc=t=>de(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],Rc=()=>{const t=C.useContext(Lc);return C.useMemo(()=>Se(Ic,t),[t])},Mc=t=>(A,e,r)=>t(A,e&&((...n)=>{const[o]=Hs(A),[,,,a]=pe.get(fo);if(o.startsWith(Tc))return e(...n);const i=a[o];return _(i)?e(...n):(delete a[o],i)}),r),kc=Kc.concat(Mc),Gc=t=>function(...e){const r=Rc(),[s,n,o]=Dc(e),a=Sc(r,o);let i=t;const{use:B}=a,c=(B||[]).concat(kc);for(let g=c.length;g--;)i=c[g](i);return i(s,n||a.fetcher||null,a)},Vc=(t,A,e)=>{const r=A[t]||(A[t]=[]);return r.push(e),()=>{const s=r.indexOf(e);s>=0&&(r[s]=r[r.length-1],r.pop())}};Oc();const Ss=C.use||(t=>{switch(t.status){case"pending":throw t;case"fulfilled":return t.value;case"rejected":throw t.reason;default:throw t.status="pending",t.then(A=>{t.status="fulfilled",t.value=A},A=>{t.status="rejected",t.reason=A}),t}}),Ls={dedupe:!0},wo=Promise.resolve(LA),Nc=()=>Qe,po=Gc((t,A,e)=>{const{cache:r,compare:s,suspense:n,fallbackData:o,revalidateOnMount:a,revalidateIfStale:i,refreshInterval:B,refreshWhenHidden:c,refreshWhenOffline:g,keepPreviousData:f,strictServerPrefetchWarning:u}=e,[h,w,x,U]=pe.get(r),[p,E]=Hs(t),L=C.useRef(!1),y=C.useRef(!1),K=C.useRef(p),V=C.useRef(A),AA=C.useRef(e),S=()=>AA.current,xA=()=>S().isVisible()&&S().isOnline(),[N,gA,eA,uA]=co(r,p),W=C.useRef({}).current,WA=_(o)?_(e.fallback)?LA:e.fallback[p]:o,ie=(tA,fA)=>{for(const lA in W){const aA=lA;if(aA==="data"){if(!s(tA[aA],fA[aA])&&(!_(tA[aA])||!s(be,fA[aA])))return!1}else if(fA[aA]!==tA[aA])return!1}return!0},xe=!L.current,ye=C.useMemo(()=>{const tA=N(),fA=uA(),lA=iA=>{const XA=Se(iA);return delete XA._k,(()=>{if(!p||!A||S().isPaused())return!1;if(xe&&!_(a))return a;const At=_(WA)?XA.data:WA;return _(At)||i})()?{isValidating:!0,isLoading:!0,...XA}:XA},aA=lA(tA),hA=tA===fA?aA:lA(fA);let RA=aA;return[()=>{const iA=lA(N());return ie(iA,RA)?(RA.data=iA.data,RA.isLoading=iA.isLoading,RA.isValidating=iA.isValidating,RA.error=iA.error,RA):(RA=iA,iA)},()=>hA]},[r,p]),re=to.useSyncExternalStore(C.useCallback(tA=>eA(p,(fA,lA)=>{ie(lA,fA)||tA()}),[r,p]),ye[0],ye[1]),m=h[p]&&h[p].length>0,D=re.data,j=_(D)?WA&&io(WA)?Ss(WA):WA:D,q=re.error,Ee=C.useRef(j),be=f?_(D)?_(Ee.current)?j:Ee.current:D:j,z=p&&_(j),GA=C.useRef(null);!st&&to.useSyncExternalStore(Nc,()=>(GA.current=!1,GA),()=>(GA.current=!0,GA));const HA=GA.current;u&&HA&&!n&&z&&console.warn(`Missing pre-initiated data for serialized key "${p}" during server-side rendering. Data fetching should be initiated on the server and provided to SWR via fallback data. You can set "strictServerPrefetchWarning: false" to disable this warning.`);const ce=!p||!A||S().isPaused()||m&&!_(q)?!1:xe&&!_(a)?a:n?_(j)?!1:i:_(j)||i,OA=xe&&ce,is=_(re.isValidating)?OA:re.isValidating,VA=_(re.isLoading)?OA:re.isLoading,DA=C.useCallback(async tA=>{const fA=V.current;if(!p||!fA||y.current||S().isPaused())return!1;let lA,aA,hA=!0;const RA=tA||{},iA=!x[p]||!RA.dedupe,XA=()=>lo?!y.current&&p===K.current&&L.current:p===K.current,JA={isValidating:!1,isLoading:!1},At=()=>{gA(JA)},cs=()=>{const Z=x[p];Z&&Z[1]===aA&&delete x[p]},ls={isValidating:!0};_(N().data)&&(ls.isLoading=!0);try{if(iA&&(gA(ls),e.loadingTimeout&&_(N().data)&&setTimeout(()=>{hA&&XA()&&S().onLoadingSlow(p,e)},e.loadingTimeout),x[p]=[fA(E),Is()]),[lA,aA]=x[p],lA=await lA,iA&&setTimeout(cs,e.dedupingInterval),!x[p]||x[p][1]!==aA)return iA&&XA()&&S().onDiscarded(p),!1;JA.error=LA;const Z=w[p];if(!_(Z)&&(aA<=Z[0]||aA<=Z[1]||Z[1]===0))return At(),iA&&XA()&&S().onDiscarded(p),!1;const qA=N().data;JA.data=s(qA,lA)?qA:lA,iA&&XA()&&S().onSuccess(lA,p,e)}catch(Z){cs();const qA=S(),{shouldRetryOnError:Pe}=qA;qA.isPaused()||(JA.error=Z,iA&&XA()&&(qA.onError(Z,p,qA),(Pe===!0||de(Pe)&&Pe(Z))&&(!S().revalidateOnFocus||!S().revalidateOnReconnect||xA())&&qA.onErrorRetry(Z,p,qA,kn=>{const ve=h[p];ve&&ve[0]&&ve[0](oo,kn)},{retryCount:(RA.retryCount||0)+1,dedupe:!0})))}return hA=!1,At(),!0},[p,r]),_e=C.useCallback((...tA)=>go(r,K.current,...tA),[]);if(ys(()=>{V.current=A,AA.current=e,_(D)||(Ee.current=D)}),ys(()=>{if(!p)return;const tA=DA.bind(LA,Ls);let fA=0;S().revalidateOnFocus&&(fA=Date.now()+S().focusThrottleInterval);const aA=Vc(p,h,(hA,RA={})=>{if(hA==ro){const iA=Date.now();S().revalidateOnFocus&&iA>fA&&xA()&&(fA=iA+S().focusThrottleInterval,tA())}else if(hA==so)S().revalidateOnReconnect&&xA()&&tA();else{if(hA==no)return DA();if(hA==oo)return DA(RA)}});return y.current=!1,K.current=p,L.current=!0,gA({_k:E}),ce&&(x[p]||(_(j)||st?tA():Uc(tA))),()=>{y.current=!0,aA()}},[p]),ys(()=>{let tA;function fA(){const aA=de(B)?B(N().data):B;aA&&tA!==-1&&(tA=setTimeout(lA,aA))}function lA(){!N().error&&(c||S().isVisible())&&(g||S().isOnline())?DA(Ls).then(fA):fA()}return fA(),()=>{tA&&(clearTimeout(tA),tA=-1)}},[B,c,g,p]),C.useDebugValue(be),n){if(!lo&&st&&z)throw new Error("Fallback data is required when using Suspense in SSR.");z&&(V.current=A,AA.current=e,y.current=!1);const tA=U[p],fA=!_(tA)&&z?_e(tA):wo;if(Ss(fA),!_(q)&&z)throw q;const lA=z?DA(Ls):wo;!_(be)&&z&&(lA.status="fulfilled",lA.value=!0),Ss(lA)}return{mutate:_e,get data(){return W.data=!0,be},get error(){return W.error=!0,q},get isValidating(){return W.isValidating=!0,is},get isLoading(){return W.isLoading=!0,VA}}}),_c=({children:t})=>{const A=C.useRef(null),[e,r]=C.useState(null);return C.useEffect(()=>{if(A.current&&!A.current.shadowRoot){const s=A.current.attachShadow({mode:"open"});document.querySelectorAll("style[data-vite-dev-id], style:not([data-vite-dev-id])").forEach(a=>{(a.textContent?.includes(".vg-")||a.textContent?.includes("--vg-"))&&s.appendChild(a.cloneNode(!0))});const o=document.createElement("link");o.rel="stylesheet",o.href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap",s.appendChild(o),r(s)}},[]),d.jsx("div",{"data-vg-id":"49696d6b","data-source-path":"/src/components/ShadowRootWrapper.tsx:38",ref:A,id:"viewgate-shadow-host",style:{position:"relative",zIndex:2147483647},children:e&&ac.createPortal(t,e)})};const Qo=(...t)=>t.filter((A,e,r)=>!!A&&A.trim()!==""&&r.indexOf(A)===e).join(" ").trim();const Pc=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const jc=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(A,e,r)=>r?r.toUpperCase():e.toLowerCase());const Co=t=>{const A=jc(t);return A.charAt(0).toUpperCase()+A.slice(1)};var Wc={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const Xc=t=>{for(const A in t)if(A.startsWith("aria-")||A==="role"||A==="title")return!0;return!1};const Jc=C.forwardRef(({color:t="currentColor",size:A=24,strokeWidth:e=2,absoluteStrokeWidth:r,className:s="",children:n,iconNode:o,...a},i)=>C.createElement("svg",{ref:i,...Wc,width:A,height:A,stroke:t,strokeWidth:r?Number(e)*24/Number(A):e,className:Qo("lucide",s),...!n&&!Xc(a)&&{"aria-hidden":"true"},...a},[...o.map(([B,c])=>C.createElement(B,c)),...Array.isArray(n)?n:[n]]));const dA=(t,A)=>{const e=C.forwardRef(({className:r,...s},n)=>C.createElement(Jc,{ref:n,iconNode:A,className:Qo(`lucide-${Pc(Co(t))}`,`lucide-${t}`,r),...s}));return e.displayName=Co(t),e};const Et=dA("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);const Yc=dA("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const zc=dA("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);const Le=dA("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const mo=dA("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);const Zc=dA("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const $c=dA("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const ir=dA("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);const qc=dA("grip-vertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);const Al=dA("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);const Ts=dA("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);const el=dA("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);const cr=dA("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);const tl=dA("mouse-pointer-2",[["path",{d:"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z",key:"edeuup"}]]);const Uo=dA("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);const rl=dA("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);const sl=dA("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);const nl=dA("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);const Fo=dA("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);const Ks=dA("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);const ol=dA("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);const lr=dA("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),al={en:{enterMode:"Enter Feedback Mode",exitMode:"Exit Mode",completed:"Completed",feedbackHeader:"Feedback",selectedElement:"Selected element:",line:"Line",placeholder:"Tell us what you'd like to change...",cancel:"Cancel",send:"Send Feedback",submitting:"Submitting...",success:"Your feedback has been submitted successfully!",error:"Failed to submit feedback. Check backend connection.",successHeader:"Success",errorHeader:"Error",preview:"Preview",viewComments:"View Comments",close:"Close",observe:"Observe",pending:"Pending",readyForReview:"Ready for Review",noComments:"No comments found.",deleteConfirm:"Delete comment",completeConfirm:"Mark as completed?",confirmComplete:"The ticket will be marked as completed and archived.",markReady:"Mark as Ready for Review",reopen:"Reopen",reopenPlaceholder:"Add a new comment before confirming...",review:"Review",confirmDelete:"Are you sure you want to permanently delete this comment? This action cannot be undone.",markReadyConfirm:"Mark as Ready for Review?",confirmMarkReady:"Do you want to mark this comment as ready for review? it will be moved to the review state.",reopenConfirm:"Reopen comment",confirmReopen:"Do you want to set this comment back to pending status?",yes:"Yes, confirm",no:"No, cancel",deleteSuccess:"Comment deleted successfully.",updateSuccess:"Updated successfully.",navigating:"Redirecting to review...",selectToComment:"Click to comment",feedbackSubheader:"What would you like to improve here?",sendFeedback:"Send Comment",edit:"Edit",save:"Save",commentDetails:"Comment Details",annotations:"Comments",viewAll:"View All",exitConfirmTitle:"Close ViewGate?",exitConfirmMessage:"Are you sure you want to close ViewGate? Remember you can reopen it by pressing ALT once (Normal Mode) or holding it for 1 second (Backlog Mode).",backlog:"Backlog",low:"Low",medium:"Medium",high:"High",urgent:"Urgent",priority:"Priority",login:"Login with Google",authenticating:"Authenticating...",selectMember:"Select who you are to comment",asMember:"Commenting as",changeMember:"Change",focusAreas:"Focus Areas",frontend:"Frontend",backend:"Backend",ux:"UX/UI",figmaLink:"Figma Reference Link",figmaLinkPlaceholder:"https://www.figma.com/file/...",endpoint:"Related Backend Endpoint",selectEndpoint:"Select endpoint...",figmaNamePlaceholder:"e.g. Main Design, Modal, etc.",addLink:"Add another link",removeLink:"Remove",figmaPrimaryDesign:"Principal Design"},es:{enterMode:"Activar Modo Comentarios",exitMode:"Salir del Modo",completed:"Completado",feedbackHeader:"Comentarios",selectedElement:"Elemento seleccionado:",line:"Línea",placeholder:"Cuéntanos qué te gustaría cambiar...",cancel:"Cancelar",send:"Enviar Comentarios",submitting:"Enviando...",success:"¡Tus comentarios se han enviado con éxito!",error:"Error al enviar comentarios. Revisa la conexión con el servidor.",successHeader:"Éxito",errorHeader:"Error",preview:"Vista previa",viewComments:"Ver Comentarios",close:"Cerrar",observe:"Observar",pending:"Pendiente",readyForReview:"Listo para revisión",noComments:"No hay comentarios.",deleteConfirm:"Eliminar comentario",completeConfirm:"¿Completar ticket?",confirmComplete:"El ticket se marcará como completado y se archivará.",markReady:"Marcar como Listo para revisión",reopen:"Reabrir",reopenPlaceholder:"Agrega un nuevo comentario antes de confirmar...",review:"Revisar",confirmDelete:"¿Estás seguro de que deseas eliminar permanentemente este comentario? Esta acción no se puede deshacer.",markReadyConfirm:"¿Listo para revisión?",confirmMarkReady:"¿Deseas marcar este comentario como listo para revisión? Pasará al estado de revisión.",reopenConfirm:"Reabrir comentario",confirmReopen:"¿Deseas volver a poner este comentario en estado pendiente?",yes:"Sí, confirmar",no:"No, cancelar",deleteSuccess:"El comentario ha sido eliminado.",updateSuccess:"Actualizado correctamente.",navigating:"Redirigiendo a revisión...",selectToComment:"Haz clic para comentar",feedbackSubheader:"¿Qué te gustaría mejorar aquí?",sendFeedback:"Enviar Comentario",edit:"Editar",save:"Guardar",commentDetails:"Detalles del Comentario",annotations:"Comentarios",viewAll:"Ver Todos",exitConfirmTitle:"¿Cerrar ViewGate?",exitConfirmMessage:"¿Estás seguro de que deseas cerrar ViewGate? Recuerda que puedes volver a activarlo pulsando una vez la tecla ALT (Modo Normal) o manteniéndola pulsada 1 segundo (Modo Backlog).",backlog:"Backlog",low:"Baja",medium:"Media",high:"Alta",urgent:"Urgente",priority:"Prioridad",login:"Iniciar sesión con Google",authenticating:"Autenticando...",selectMember:"Selecciona quién eres para comentar",asMember:"Comentando como",changeMember:"Cambiar",focusAreas:"Áreas de Foco",frontend:"Frontend",backend:"Backend",ux:"UX/UI",figmaLink:"Link de Referencia Figma",figmaLinkPlaceholder:"https://www.figma.com/file/...",endpoint:"Endpoint de Backend Relacionado",selectEndpoint:"Seleccionar endpoint...",figmaNamePlaceholder:"ej. Diseño Principal, Modal, etc.",addLink:"Agregar otro link",removeLink:"Eliminar",figmaPrimaryDesign:"Diseño Principal"}},xo=C.createContext(void 0),yo=()=>{const t=C.useContext(xo);if(!t)throw new Error("useViewGate must be used within a ViewGateProvider");return t},bt="viewgate_enabled",il=()=>{if(typeof window>"u")return!1;const t=new URLSearchParams(window.location.search);return t.has("viewgate")||t.has("viewgate-backlog")?(sessionStorage.setItem(bt,"true"),!0):sessionStorage.getItem(bt)==="true"},cl=({children:t,language:A="es",apiKey:e,baseUrl:r="https://view-gate.vercel.app",dashboardUrl:s})=>{const n=s||(r==="https://view-gate.vercel.app"?"https://view-gate-dashboard.vercel.app":r),[o,a]=C.useState(!1),[i,B]=C.useState([]);C.useRef(0);const c=C.useRef(null),g=C.useRef(!1);C.useEffect(()=>{a(il());const w=U=>{U.key==="Alt"&&!U.repeat&&(U.preventDefault(),g.current=!1,c.current&&clearTimeout(c.current),c.current=setTimeout(()=>{const p=new URL(window.location.href);p.searchParams.delete("viewgate"),p.searchParams.set("viewgate-backlog","true"),window.history.replaceState({},"",p.toString()),a(!0),sessionStorage.setItem(bt,"true"),window.dispatchEvent(new PopStateEvent("popstate")),u(A==="es"?"Modo Backlog activado":"Backlog Mode activated","success"),g.current=!0,c.current=null},1e3))},x=U=>{if(U.key==="Alt"&&(U.preventDefault(),c.current)){clearTimeout(c.current),c.current=null;const p=new URL(window.location.href);p.searchParams.delete("viewgate-backlog"),p.searchParams.set("viewgate","true"),window.history.replaceState({},"",p.toString()),a(!0),sessionStorage.setItem(bt,"true"),window.dispatchEvent(new PopStateEvent("popstate")),u(A==="es"?"Modo Normal activado":"Normal Mode activated","success")}};return window.addEventListener("keydown",w),window.addEventListener("keyup",x),()=>{window.removeEventListener("keydown",w),window.removeEventListener("keyup",x)}},[A]);const f=()=>{if(sessionStorage.removeItem(bt),a(!1),typeof window<"u"){const w=new URL(window.location.href);w.searchParams.delete("viewgate"),window.history.replaceState({},"",w.toString())}},u=(w,x)=>{const U=Date.now();B(p=>[...p,{id:U,message:w,type:x}]),setTimeout(()=>{B(p=>p.filter(E=>E.id!==U))},4e3)},h=al[A];return d.jsxs(xo.Provider,{"data-vg-id":"89da3486","data-source-path":"/src/components/ViewGateProvider.tsx:367",value:{addToast:u,language:A,t:h,apiKey:e,baseUrl:r,dashboardUrl:n,disableViewGate:f,hasActiveToasts:i.length>0},children:[t,o&&d.jsx(_c,{"data-vg-id":"f1499d3a","data-source-path":"/src/components/ViewGateProvider.tsx:379",children:d.jsxs("div",{"data-vg-id":"1bedb79b","data-source-path":"/src/components/ViewGateProvider.tsx:380",className:"vg-container",children:[d.jsx(Xi,{"data-vg-id":"d3f262cb","data-source-path":"/src/components/ViewGateProvider.tsx:381"}),d.jsx("div",{"data-vg-id":"1bedb79d","data-source-path":"/src/components/ViewGateProvider.tsx:382",className:"vg-toasts",style:{zIndex:2147483647},children:i.map(w=>d.jsxs("div",{"data-vg-id":"1bedb79e","data-source-path":"/src/components/ViewGateProvider.tsx:384",className:`vg-toast vg-animate-slide ${w.type}`,children:[w.type==="success"?d.jsx(Le,{"data-vg-id":"c7ae3b26","data-source-path":"/src/components/ViewGateProvider.tsx:386",size:24,color:"#22c55e"}):d.jsx(zc,{"data-vg-id":"e7ad3c7b","data-source-path":"/src/components/ViewGateProvider.tsx:388",size:24,color:"#ef4444"}),d.jsxs("div",{"data-vg-id":"1bedb7a1","data-source-path":"/src/components/ViewGateProvider.tsx:390",children:[d.jsx("strong",{"data-vg-id":"29b8e973","data-source-path":"/src/components/ViewGateProvider.tsx:391",style:{display:"block",fontSize:"13px",color:"#0f172a",textTransform:"uppercase",marginBottom:"2px"},children:w.type==="success"?h.successHeader:h.errorHeader}),d.jsx("span",{"data-vg-id":"fbbd7821","data-source-path":"/src/components/ViewGateProvider.tsx:394",style:{fontSize:"14px",color:"#000000"},children:w.message})]})]},w.id))})]})})]})};class TA{constructor(A,e,r,s){this.left=A,this.top=e,this.width=r,this.height=s}add(A,e,r,s){return new TA(this.left+A,this.top+e,this.width+r,this.height+s)}static fromClientRect(A,e){return new TA(e.left+A.windowBounds.left,e.top+A.windowBounds.top,e.width,e.height)}static fromDOMRectList(A,e){const r=Array.from(e);let s=r.find(n=>n.width!==0);return s||(s=r.find(n=>n.height!==0)),!s&&r.length>0&&(s=r[0]),s?new TA(s.left+A.windowBounds.left,s.top+A.windowBounds.top,s.width,s.height):TA.EMPTY}}TA.EMPTY=new TA(0,0,0,0);const dr=(t,A)=>TA.fromClientRect(t,A.getBoundingClientRect()),ll=t=>{const A=t.body,e=t.documentElement;if(!A||!e)throw new Error("Unable to get document size");const r=Math.max(Math.max(A.scrollWidth,e.scrollWidth),Math.max(A.offsetWidth,e.offsetWidth),Math.max(A.clientWidth,e.clientWidth)),s=Math.max(Math.max(A.scrollHeight,e.scrollHeight),Math.max(A.offsetHeight,e.offsetHeight),Math.max(A.clientHeight,e.clientHeight));return new TA(0,0,r,s)};for(var Br=function(t){for(var A=[],e=0,r=t.length;e<r;){var s=t.charCodeAt(e++);if(s>=55296&&s<=56319&&e<r){var n=t.charCodeAt(e++);(n&64512)===56320?A.push(((s&1023)<<10)+(n&1023)+65536):(A.push(s),e--)}else A.push(s)}return A},pA=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var r=[],s=-1,n="";++s<e;){var o=t[s];o<=65535?r.push(o):(o-=65536,r.push((o>>10)+55296,o%1024+56320)),(s+1===e||r.length>16384)&&(n+=String.fromCharCode.apply(String,r),r.length=0)}return n},Eo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",dl=typeof Uint8Array>"u"?[]:new Uint8Array(256),gr=0;gr<Eo.length;gr++)dl[Eo.charCodeAt(gr)]=gr;for(var bo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vt=typeof Uint8Array>"u"?[]:new Uint8Array(256),ur=0;ur<bo.length;ur++)vt[bo.charCodeAt(ur)]=ur;for(var Bl=function(t){var A=t.length*.75,e=t.length,r,s=0,n,o,a,i;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var B=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),c=Array.isArray(B)?B:new Uint8Array(B);for(r=0;r<e;r+=4)n=vt[t.charCodeAt(r)],o=vt[t.charCodeAt(r+1)],a=vt[t.charCodeAt(r+2)],i=vt[t.charCodeAt(r+3)],c[s++]=n<<2|o>>4,c[s++]=(o&15)<<4|a>>2,c[s++]=(a&3)<<6|i&63;return B},gl=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},ul=function(t){for(var A=t.length,e=[],r=0;r<A;r+=4)e.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return e},je=5,Os=11,Ds=2,fl=Os-je,vo=65536>>je,hl=1<<je,Rs=hl-1,wl=1024>>je,pl=vo+wl,Ql=pl,Cl=32,ml=Ql+Cl,Ul=65536>>Os,Fl=1<<fl,xl=Fl-1,Ho=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},yl=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},El=function(t,A){var e=Bl(t),r=Array.isArray(e)?ul(e):new Uint32Array(e),s=Array.isArray(e)?gl(e):new Uint16Array(e),n=24,o=Ho(s,n/2,r[4]/2),a=r[5]===2?Ho(s,(n+r[4])/2):yl(r,Math.ceil((n+r[4])/4));return new bl(r[0],r[1],r[2],r[3],o,a)},bl=(function(){function t(A,e,r,s,n,o){this.initialValue=A,this.errorValue=e,this.highStart=r,this.highValueIndex=s,this.index=n,this.data=o}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>je],e=(e<<Ds)+(A&Rs),this.data[e];if(A<=65535)return e=this.index[vo+(A-55296>>je)],e=(e<<Ds)+(A&Rs),this.data[e];if(A<this.highStart)return e=ml-Ul+(A>>Os),e=this.index[e],e+=A>>je&xl,e=this.index[e],e=(e<<Ds)+(A&Rs),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),Io="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vl=typeof Uint8Array>"u"?[]:new Uint8Array(256),fr=0;fr<Io.length;fr++)vl[Io.charCodeAt(fr)]=fr;var Hl="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcs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ADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB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AMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeA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HgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLA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ABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKw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ABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQA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AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAB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AAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACU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AVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",So=50,Il=1,Lo=2,To=3,Sl=4,Ll=5,Ko=7,Oo=8,Do=9,Te=10,Ms=11,Ro=12,ks=13,Tl=14,Ht=15,Gs=16,hr=17,It=18,Kl=19,Mo=20,Vs=21,St=22,Ns=23,nt=24,ZA=25,Lt=26,Tt=27,ot=28,Ol=29,We=30,Dl=31,wr=32,pr=33,_s=34,Ps=35,js=36,Kt=37,Ws=38,Qr=39,Cr=40,Xs=41,ko=42,Rl=43,Ml=[9001,65288],Go="!",P="×",mr="÷",Js=El(Hl),Ce=[We,js],Ys=[Il,Lo,To,Ll],Vo=[Te,Oo],No=[Tt,Lt],kl=Ys.concat(Vo),_o=[Ws,Qr,Cr,_s,Ps],Gl=[Ht,ks],Vl=function(t,A){A===void 0&&(A="strict");var e=[],r=[],s=[];return t.forEach(function(n,o){var a=Js.get(n);if(a>So?(s.push(!0),a-=So):s.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(n)!==-1)return r.push(o),e.push(Gs);if(a===Sl||a===Ms){if(o===0)return r.push(o),e.push(We);var i=e[o-1];return kl.indexOf(i)===-1?(r.push(r[o-1]),e.push(i)):(r.push(o),e.push(We))}if(r.push(o),a===Dl)return e.push(A==="strict"?Vs:Kt);if(a===ko||a===Ol)return e.push(We);if(a===Rl)return n>=131072&&n<=196605||n>=196608&&n<=262141?e.push(Kt):e.push(We);e.push(a)}),[r,e,s]},zs=function(t,A,e,r){var s=r[e];if(Array.isArray(t)?t.indexOf(s)!==-1:t===s)for(var n=e;n<=r.length;){n++;var o=r[n];if(o===A)return!0;if(o!==Te)break}if(s===Te)for(var n=e;n>0;){n--;var a=r[n];if(Array.isArray(t)?t.indexOf(a)!==-1:t===a)for(var i=e;i<=r.length;){i++;var o=r[i];if(o===A)return!0;if(o!==Te)break}if(a!==Te)break}return!1},Po=function(t,A){for(var e=t;e>=0;){var r=A[e];if(r===Te)e--;else return r}return 0},Nl=function(t,A,e,r,s){if(e[r]===0)return P;var n=r-1;if(Array.isArray(s)&&s[n]===!0)return P;var o=n-1,a=n+1,i=A[n],B=o>=0?A[o]:0,c=A[a];if(i===Lo&&c===To)return P;if(Ys.indexOf(i)!==-1)return Go;if(Ys.indexOf(c)!==-1||Vo.indexOf(c)!==-1)return P;if(Po(n,A)===Oo)return mr;if(Js.get(t[n])===Ms||(i===wr||i===pr)&&Js.get(t[a])===Ms||i===Ko||c===Ko||i===Do||[Te,ks,Ht].indexOf(i)===-1&&c===Do||[hr,It,Kl,nt,ot].indexOf(c)!==-1||Po(n,A)===St||zs(Ns,St,n,A)||zs([hr,It],Vs,n,A)||zs(Ro,Ro,n,A))return P;if(i===Te)return mr;if(i===Ns||c===Ns)return P;if(c===Gs||i===Gs)return mr;if([ks,Ht,Vs].indexOf(c)!==-1||i===Tl||B===js&&Gl.indexOf(i)!==-1||i===ot&&c===js||c===Mo||Ce.indexOf(c)!==-1&&i===ZA||Ce.indexOf(i)!==-1&&c===ZA||i===Tt&&[Kt,wr,pr].indexOf(c)!==-1||[Kt,wr,pr].indexOf(i)!==-1&&c===Lt||Ce.indexOf(i)!==-1&&No.indexOf(c)!==-1||No.indexOf(i)!==-1&&Ce.indexOf(c)!==-1||[Tt,Lt].indexOf(i)!==-1&&(c===ZA||[St,Ht].indexOf(c)!==-1&&A[a+1]===ZA)||[St,Ht].indexOf(i)!==-1&&c===ZA||i===ZA&&[ZA,ot,nt].indexOf(c)!==-1)return P;if([ZA,ot,nt,hr,It].indexOf(c)!==-1)for(var g=n;g>=0;){var f=A[g];if(f===ZA)return P;if([ot,nt].indexOf(f)!==-1)g--;else break}if([Tt,Lt].indexOf(c)!==-1)for(var g=[hr,It].indexOf(i)!==-1?o:n;g>=0;){var f=A[g];if(f===ZA)return P;if([ot,nt].indexOf(f)!==-1)g--;else break}if(Ws===i&&[Ws,Qr,_s,Ps].indexOf(c)!==-1||[Qr,_s].indexOf(i)!==-1&&[Qr,Cr].indexOf(c)!==-1||[Cr,Ps].indexOf(i)!==-1&&c===Cr||_o.indexOf(i)!==-1&&[Mo,Lt].indexOf(c)!==-1||_o.indexOf(c)!==-1&&i===Tt||Ce.indexOf(i)!==-1&&Ce.indexOf(c)!==-1||i===nt&&Ce.indexOf(c)!==-1||Ce.concat(ZA).indexOf(i)!==-1&&c===St&&Ml.indexOf(t[a])===-1||Ce.concat(ZA).indexOf(c)!==-1&&i===It)return P;if(i===Xs&&c===Xs){for(var u=e[n],h=1;u>0&&(u--,A[u]===Xs);)h++;if(h%2!==0)return P}return i===wr&&c===pr?P:mr},_l=function(t,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var e=Vl(t,A.lineBreak),r=e[0],s=e[1],n=e[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(s=s.map(function(a){return[ZA,We,ko].indexOf(a)!==-1?Kt:a}));var o=A.wordBreak==="keep-all"?n.map(function(a,i){return a&&t[i]>=19968&&t[i]<=40959}):void 0;return[r,s,o]},Pl=(function(){function t(A,e,r,s){this.codePoints=A,this.required=e===Go,this.start=r,this.end=s}return t.prototype.slice=function(){return pA.apply(void 0,this.codePoints.slice(this.start,this.end))},t})(),jl=function(t,A){var e=Br(t),r=_l(e,A),s=r[0],n=r[1],o=r[2],a=e.length,i=0,B=0;return{next:function(){if(B>=a)return{done:!0,value:null};for(var c=P;B<a&&(c=Nl(e,n,s,++B,o))===P;);if(c!==P||B===a){var g=new Pl(e,c,i,B);return i=B,{value:g,done:!1}}return{done:!0,value:null}}}};const Wl=1,Xl=2,at=4,jo=8,Ur=10,Wo=47,Ot=92,Jl=9,Yl=32,Fr=34,Dt=61,zl=35,Zl=36,$l=37,xr=39,yr=40,Rt=41,ql=95,_A=45,Ad=33,ed=60,td=62,rd=64,sd=91,nd=93,od=61,ad=123,Er=63,id=125,Xo=124,cd=126,ld=128,Jo=65533,Zs=42,Xe=43,dd=44,Bd=58,gd=59,Mt=46,ud=0,fd=8,hd=11,wd=14,pd=31,Qd=127,Be=-1,Yo=48,zo=97,Zo=101,Cd=102,md=117,Ud=122,$o=65,qo=69,Aa=70,Fd=85,xd=90,KA=t=>t>=Yo&&t<=57,yd=t=>t>=55296&&t<=57343,it=t=>KA(t)||t>=$o&&t<=Aa||t>=zo&&t<=Cd,Ed=t=>t>=zo&&t<=Ud,bd=t=>t>=$o&&t<=xd,vd=t=>Ed(t)||bd(t),Hd=t=>t>=ld,br=t=>t===Ur||t===Jl||t===Yl,vr=t=>vd(t)||Hd(t)||t===ql,ea=t=>vr(t)||KA(t)||t===_A,Id=t=>t>=ud&&t<=fd||t===hd||t>=wd&&t<=pd||t===Qd,Ke=(t,A)=>t!==Ot?!1:A!==Ur,Hr=(t,A,e)=>t===_A?vr(A)||Ke(A,e):vr(t)?!0:!!(t===Ot&&Ke(t,A)),$s=(t,A,e)=>t===Xe||t===_A?KA(A)?!0:A===Mt&&KA(e):KA(t===Mt?A:t),Sd=t=>{let A=0,e=1;(t[A]===Xe||t[A]===_A)&&(t[A]===_A&&(e=-1),A++);const r=[];for(;KA(t[A]);)r.push(t[A++]);const s=r.length?parseInt(pA(...r),10):0;t[A]===Mt&&A++;const n=[];for(;KA(t[A]);)n.push(t[A++]);const o=n.length,a=o?parseInt(pA(...n),10):0;(t[A]===qo||t[A]===Zo)&&A++;let i=1;(t[A]===Xe||t[A]===_A)&&(t[A]===_A&&(i=-1),A++);const B=[];for(;KA(t[A]);)B.push(t[A++]);const c=B.length?parseInt(pA(...B),10):0;return e*(s+a*Math.pow(10,-o))*Math.pow(10,i*c)},Ld={type:2},Td={type:3},Kd={type:4},Od={type:13},Dd={type:8},Rd={type:21},Md={type:9},kd={type:10},Gd={type:11},Vd={type:12},Nd={type:14},Ir={type:23},_d={type:1},Pd={type:25},jd={type:24},Wd={type:26},Xd={type:27},Jd={type:28},Yd={type:29},zd={type:31},qs={type:32};class ta{constructor(){this._value=[]}write(A){this._value=this._value.concat(Br(A))}read(){const A=[];let e=this.consumeToken();for(;e!==qs;)A.push(e),e=this.consumeToken();return A}consumeToken(){const A=this.consumeCodePoint();switch(A){case Fr:return this.consumeStringToken(Fr);case zl:const e=this.peekCodePoint(0),r=this.peekCodePoint(1),s=this.peekCodePoint(2);if(ea(e)||Ke(r,s)){const u=Hr(e,r,s)?Xl:Wl;return{type:5,value:this.consumeName(),flags:u}}break;case Zl:if(this.peekCodePoint(0)===Dt)return this.consumeCodePoint(),Od;break;case xr:return this.consumeStringToken(xr);case yr:return Ld;case Rt:return Td;case Zs:if(this.peekCodePoint(0)===Dt)return this.consumeCodePoint(),Nd;break;case Xe:if($s(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case dd:return Kd;case _A:const n=A,o=this.peekCodePoint(0),a=this.peekCodePoint(1);if($s(n,o,a))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(Hr(n,o,a))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(o===_A&&a===td)return this.consumeCodePoint(),this.consumeCodePoint(),jd;break;case Mt:if($s(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Wo:if(this.peekCodePoint(0)===Zs)for(this.consumeCodePoint();;){let u=this.consumeCodePoint();if(u===Zs&&(u=this.consumeCodePoint(),u===Wo))return this.consumeToken();if(u===Be)return this.consumeToken()}break;case Bd:return Wd;case gd:return Xd;case ed:if(this.peekCodePoint(0)===Ad&&this.peekCodePoint(1)===_A&&this.peekCodePoint(2)===_A)return this.consumeCodePoint(),this.consumeCodePoint(),Pd;break;case rd:const i=this.peekCodePoint(0),B=this.peekCodePoint(1),c=this.peekCodePoint(2);if(Hr(i,B,c))return{type:7,value:this.consumeName()};break;case sd:return Jd;case Ot:if(Ke(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case nd:return Yd;case od:if(this.peekCodePoint(0)===Dt)return this.consumeCodePoint(),Dd;break;case ad:return Gd;case id:return Vd;case md:case Fd:const g=this.peekCodePoint(0),f=this.peekCodePoint(1);return g===Xe&&(it(f)||f===Er)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Xo:if(this.peekCodePoint(0)===Dt)return this.consumeCodePoint(),Md;if(this.peekCodePoint(0)===Xo)return this.consumeCodePoint(),Rd;break;case cd:if(this.peekCodePoint(0)===Dt)return this.consumeCodePoint(),kd;break;case Be:return qs}return br(A)?(this.consumeWhiteSpace(),zd):KA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):vr(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:pA(A)}}consumeCodePoint(){const A=this._value.shift();return typeof A>"u"?-1:A}reconsumeCodePoint(A){this._value.unshift(A)}peekCodePoint(A){return A>=this._value.length?-1:this._value[A]}consumeUnicodeRangeToken(){const A=[];let e=this.consumeCodePoint();for(;it(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();let r=!1;for(;e===Er&&A.length<6;)A.push(e),e=this.consumeCodePoint(),r=!0;if(r){const n=parseInt(pA(...A.map(a=>a===Er?Yo:a)),16),o=parseInt(pA(...A.map(a=>a===Er?Aa:a)),16);return{type:30,start:n,end:o}}const s=parseInt(pA(...A),16);if(this.peekCodePoint(0)===_A&&it(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();const n=[];for(;it(e)&&n.length<6;)n.push(e),e=this.consumeCodePoint();const o=parseInt(pA(...n),16);return{type:30,start:s,end:o}}else return{type:30,start:s,end:s}}consumeIdentLikeToken(){const A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===yr?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===yr?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}}consumeUrlToken(){const A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Be)return{type:22,value:""};const e=this.peekCodePoint(0);if(e===xr||e===Fr){const r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Be||this.peekCodePoint(0)===Rt)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Ir)}for(;;){const r=this.consumeCodePoint();if(r===Be||r===Rt)return{type:22,value:pA(...A)};if(br(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Be||this.peekCodePoint(0)===Rt?(this.consumeCodePoint(),{type:22,value:pA(...A)}):(this.consumeBadUrlRemnants(),Ir);if(r===Fr||r===xr||r===yr||Id(r))return this.consumeBadUrlRemnants(),Ir;if(r===Ot)if(Ke(r,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Ir;else A.push(r)}}consumeWhiteSpace(){for(;br(this.peekCodePoint(0));)this.consumeCodePoint()}consumeBadUrlRemnants(){for(;;){const A=this.consumeCodePoint();if(A===Rt||A===Be)return;Ke(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}}consumeStringSlice(A){let r="";for(;A>0;){const s=Math.min(5e4,A);r+=pA(...this._value.splice(0,s)),A-=s}return this._value.shift(),r}consumeStringToken(A){let e="",r=0;do{const s=this._value[r];if(s===Be||s===void 0||s===A)return e+=this.consumeStringSlice(r),{type:0,value:e};if(s===Ur)return this._value.splice(0,r),_d;if(s===Ot){const n=this._value[r+1];n!==Be&&n!==void 0&&(n===Ur?(e+=this.consumeStringSlice(r),r=-1,this._value.shift()):Ke(s,n)&&(e+=this.consumeStringSlice(r),e+=pA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)}consumeNumber(){const A=[];let e=at,r=this.peekCodePoint(0);for((r===Xe||r===_A)&&A.push(this.consumeCodePoint());KA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0);let s=this.peekCodePoint(1);if(r===Mt&&KA(s))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=jo;KA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0),s=this.peekCodePoint(1);const n=this.peekCodePoint(2);if((r===qo||r===Zo)&&((s===Xe||s===_A)&&KA(n)||KA(s)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=jo;KA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[Sd(A),e]}consumeNumericToken(){const[A,e]=this.consumeNumber(),r=this.peekCodePoint(0),s=this.peekCodePoint(1),n=this.peekCodePoint(2);if(Hr(r,s,n)){const o=this.consumeName();return{type:15,number:A,flags:e,unit:o}}return r===$l?(this.consumeCodePoint(),{type:16,number:A,flags:e}):{type:17,number:A,flags:e}}consumeEscapedCodePoint(){const A=this.consumeCodePoint();if(it(A)){let e=pA(A);for(;it(this.peekCodePoint(0))&&e.length<6;)e+=pA(this.consumeCodePoint());br(this.peekCodePoint(0))&&this.consumeCodePoint();const r=parseInt(e,16);return r===0||yd(r)||r>1114111?Jo:r}return A===Be?Jo:A}consumeName(){let A="";for(;;){const e=this.consumeCodePoint();if(ea(e))A+=pA(e);else if(Ke(e,this.peekCodePoint(0)))A+=pA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(e),A}}}class ct{constructor(A){this._tokens=A}static create(A){const e=new ta;return e.write(A),new ct(e.read())}static parseValue(A){return ct.create(A).parseComponentValue()}static parseValues(A){return ct.create(A).parseComponentValues()}parseComponentValue(){let A=this.consumeToken();for(;A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);const e=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")}parseComponentValues(){const A=[];for(;;){const e=this.consumeComponentValue();if(e.type===32)return A;A.push(e),A.push()}}consumeComponentValue(){const A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A}consumeSimpleBlock(A){const e={type:A,values:[]};let r=this.consumeToken();for(;;){if(r.type===32||$d(r,A))return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue()),r=this.consumeToken()}}consumeFunction(A){const e={name:A.value,values:[],type:18};for(;;){const r=this.consumeToken();if(r.type===32||r.type===3)return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue())}}consumeToken(){const A=this._tokens.shift();return typeof A>"u"?qs:A}reconsumeToken(A){this._tokens.unshift(A)}}const ge=t=>t.type===15,UA=t=>t.type===17,G=t=>t.type===20,Zd=t=>t.type===0,kt=(t,A)=>G(t)&&t.value===A,Sr=t=>t.type!==31,bA=t=>t.type!==31&&t.type!==4,se=t=>{const A=[];let e=[];return t.forEach(r=>{if(r.type===4){if(e.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(e),e=[];return}r.type!==31&&e.push(r)}),e.length&&A.push(e),A},$d=(t,A)=>A===11&&t.type===12||A===28&&t.type===29?!0:A===2&&t.type===3,BA=(t,A,e)=>Math.min(Math.max(t,A),e),PA=(t,A)=>[t[0]*A[0]+t[1]*A[1]+t[2]*A[2],t[3]*A[0]+t[4]*A[1]+t[5]*A[2],t[6]*A[0]+t[7]*A[1]+t[8]*A[2]],Oe=t=>PA([3.2409699419045226,-1.537383177570094,-.4986107602930034,-.9692436362808796,1.8759675015077202,.04155505740717559,.05563007969699366,-.20397695888897652,1.0569715142428786],t),An=t=>PA([.41239079926595934,.357584339383878,.1804807884018343,.21263900587151027,.715168678767756,.07219231536073371,.01933081871559182,.11919477979462598,.9505321522496607],t),Je=t=>t.map(A=>{const e=A<0?-1:1,r=Math.abs(A);return r>.0031308?e*(1.055*r**(1/2.4)-.055):12.92*A}),en=t=>t.map(A=>{const e=A<0?-1:1,r=Math.abs(A);return r<=.04045?A/12.92:e*((r+.055)/1.055)**2.4}),qd=t=>{const[A,e,r]=Je(Oe([t[0],t[1],t[2]]));return[A,e,r,t[3]]},AB=t=>{const[A,e,r]=Oe([t[0],t[1],t[2]]);return[BA(Math.round(A*255),0,255),BA(Math.round(e*255),0,255),BA(Math.round(r*255),0,255),t[3]]},De=t=>t.type===17||t.type===15,$=t=>t.type===16||De(t),eB=t=>t.type===18&&t.name==="calc",tB=(t,A=0)=>{const e=r=>{let s="";for(const n of r)if(n.type!==31){if(n.type===18)if(n.name==="calc"){const o=e(n.values);if(o===null)return null;s+=`(${o})`}else return null;else if(n.type===17)s+=n.number.toString();else if(n.type===15)n.unit==="px"?s+=n.number.toString():n.unit==="rem"||n.unit==="em"?s+=(n.number*16).toString():s+=n.number.toString();else if(n.type===16)s+=(n.number/100*A).toString();else if(n.type===6){const o=n.value;o==="+"||o==="-"||o==="*"||o==="/"?s+=` ${o} `:o==="("?s+="(":o===")"&&(s+=")")}}return s};try{const r=e(t.values);if(r===null||r.trim()==="")return null;const s=new Function("return "+r)();if(typeof s=="number"&&!isNaN(s))return{type:17,number:s,flags:at}}catch{return null}return null},ra=t=>t.length>1?[t[0],t[1]]:[t[0]],FA={type:17,number:0,flags:at},Ye={type:16,number:50,flags:at},ue={type:16,number:100,flags:at},Gt=(t,A,e)=>{const[r,s]=t;return[k(r,A),k(typeof s<"u"?s:r,e)]},k=(t,A)=>{if(t.type===16)return t.number/100*A;if(ge(t))switch(t.unit){case"rem":case"em":return 16*t.number;default:return t.number}return t.number},sa="deg",na="grad",oa="rad",aa="turn",lt={name:"angle",parse:(t,A)=>{if(A.type===15)switch(A.unit){case sa:return Math.PI*A.number/180;case na:return Math.PI/200*A.number;case oa:return A.number;case aa:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},ia=t=>t.type===15&&(t.unit===sa||t.unit===na||t.unit===oa||t.unit===aa),ca=t=>{switch(t.filter(G).map(e=>e.value).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[FA,FA];case"to top":case"bottom":return Ae(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[FA,ue];case"to right":case"left":return Ae(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[ue,ue];case"to bottom":case"top":return Ae(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[ue,FA];case"to left":case"right":return Ae(270)}return 0},Ae=t=>Math.PI*t/180,Re=t=>(255&t)===0,rA=t=>{const A=255&t,e=255&t>>8,r=255&t>>16,s=255&t>>24;return A<255?`rgba(${s},${r},${e},${A/255})`:`rgb(${s},${r},${e})`},ne=(t,A,e,r)=>(t<<24|A<<16|e<<8|Math.round(r*255)<<0)>>>0,Me=(t,A)=>{if(t.type===17)return t.number;if(t.type===16){const e=A===3?1:255;return A===3?t.number/100*e:Math.round(t.number/100*e)}return 0},ze=t=>(t[0].type===20?t[0].value:"unknown")==="from",rB=t=>ne(BA(Math.round(t[0]*255),0,255),BA(Math.round(t[1]*255),0,255),BA(Math.round(t[2]*255),0,255),BA(t[3],0,1)),tn=([t,A,e,r])=>{const s=Je([t,A,e]);return ne(BA(Math.round(s[0]*255),0,255),BA(Math.round(s[1]*255),0,255),BA(Math.round(s[2]*255),0,255),r)},Vt=t=>{const A=Oe([t[0],t[1],t[2]]);return tn([A[0],A[1],A[2],t[3]])},sB=(t,A)=>{if(ze(A.filter(bA)))throw new Error("Relative color not supported for lab()");const[e,r,s,n]=Lr(A),o=Je(Oe(Or([e,r,s])));return ne(BA(Math.round(o[0]*255),0,255),BA(Math.round(o[1]*255),0,255),BA(Math.round(o[2]*255),0,255),n)},nB=(t,A)=>{if(ze(A.filter(bA)))throw new Error("Relative color not supported for oklab()");const[e,r,s,n]=Lr(A),o=Je(Oe(Kr([e,r,s])));return ne(BA(Math.round(o[0]*255),0,255),BA(Math.round(o[1]*255),0,255),BA(Math.round(o[2]*255),0,255),n)},oB=(t,A)=>{if(ze(A.filter(bA)))throw new Error("Relative color not supported for oklch()");const[e,r,s,n]=ga(A),o=Je(Oe(Kr(Tr([e,r,s]))));return ne(BA(Math.round(o[0]*255),0,255),BA(Math.round(o[1]*255),0,255),BA(Math.round(o[2]*255),0,255),n)},aB=(t,A)=>{if(ze(A.filter(bA)))throw new Error("Relative color not supported for lch()");const[e,r,s,n]=Ba(A),o=Je(Oe(Or(Tr([e,r,s]))));return ne(BA(Math.round(o[0]*255),0,255),BA(Math.round(o[1]*255),0,255),BA(Math.round(o[2]*255),0,255),n)},la=(t,A)=>{const e=A.filter(bA),[r,s,n,o]=e,a=(r.type===17?Ae(r.number):lt.parse(t,r))/(Math.PI*2),i=$(s)?s.number/100:0,B=$(n)?n.number/100:0,c=typeof o<"u"&&$(o)?k(o,1):1;return[a,i,B,c]},da=(t,A)=>{if(ze(A))throw new Error("Relative color not supported for hsl()");const[e,r,s,n]=la(t,A),o=fa([e,r,s]);return ne(o[0]*255,o[1]*255,o[2]*255,r===0?1:n)},Ba=t=>{const A=t.filter(bA),e=$(A[0])?A[0].number:0,r=$(A[1])?A[1].number:0,s=UA(A[2])||ge(A[2])?A[2].number:0,n=typeof A[4]<"u"&&$(A[4])?k(A[4],1):1;return[e,r,s,n]},Lr=t=>{const A=t.filter(bA),e=A[0].type===16?A[0].number/100:UA(A[0])?A[0].number:0,r=A[1].type===16?A[1].number/100:UA(A[1])?A[1].number:0,s=UA(A[2])||ge(A[2])?A[2].number:0,n=typeof A[4]<"u"&&$(A[4])?k(A[4],1):1;return[e,r,s,n]},ga=t=>{const A=t.filter(bA),e=A[0].type===16?A[0].number/100:UA(A[0])?A[0].number:0,r=A[1].type===16?A[1].number/100:UA(A[1])?A[1].number:0,s=UA(A[2])||ge(A[2])?A[2].number:0,n=typeof A[4]<"u"&&$(A[4])?k(A[4],1):1;return[e,r,s,n]},ua=t=>PA([1.0479297925449969,.022946870601609652,-.05019226628920524,.02962780877005599,.9904344267538799,-.017073799063418826,-.009243040646204504,.015055191490298152,.7518742814281371],t),rn=t=>PA([.955473421488075,-.02309845494876471,.06325924320057072,-.0283697093338637,1.0099953980813041,.021041441191917323,.012314014864481998,-.020507649298898964,1.330365926242124],t),sn=(t,A,e)=>(e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(A-t)*e*6+t:e<1/2?A:e<2/3?(A-t)*6*(2/3-e)+t:t),fa=([t,A,e])=>{if(A===0)return[e*255,e*255,e*255];const r=e<=.5?e*(A+1):e+A-e*A,s=e*2-r,n=sn(s,r,t+1/3),o=sn(s,r,t),a=sn(s,r,t-1/3);return[n,o,a]},Tr=([t,A,e])=>(A<0&&(A=0),isNaN(e)&&(e=0),[t,A*Math.cos(e*Math.PI/180),A*Math.sin(e*Math.PI/180)]),Kr=t=>{const A=PA([1,.3963377773761749,.2158037573099136,1,-.1055613458156586,-.0638541728258133,1,-.0894841775298119,-1.2914855480194092],t),e=A.map(r=>r**3);return PA([1.2268798758459243,-.5578149944602171,.2813910456659647,-.0405757452148008,1.112286803280317,-.0717110580655164,-.0763729366746601,-.4214933324022432,1.5869240198367816],e)},Or=t=>{const A=(t[0]+16)/116,e=t[1]/500+A,r=A-t[2]/200,s=24389/27,n=24/116,o=[(e>n?e**3:(116*e-16)/s)*.3457/.3585,t[0]>8?A**3:t[0]/s,(r>n?r**3:(116*r-16)/s)*(1-.3457-.3585)/.3585];return rn([o[0],o[1],o[2]])},iB=(t,A)=>{const e=A.filter(bA);if(e.length===3){const[r,s,n]=e.map(Me),o=en([r/255,s/255,n/255]),[a,i,B]=An([o[0],o[1],o[2]]);return[a,i,B,1]}if(e.length===4){const[r,s,n,o]=e.map(Me),a=en([r/255,s/255,n/255]),[i,B,c]=An([a[0],a[1],a[2]]);return[i,B,c,o]}return[0,0,0,1]},cB=(t,A)=>{const[e,r,s,n]=la(t,A),o=en(fa([e,r,s])),[a,i,B]=An([o[0],o[1],o[2]]);return[a,i,B,n]},lB=(t,A)=>{const[e,r,s,n]=Lr(A),[o,a,i]=Or([e,r,s]);return[o,a,i,n]},dB=(t,A)=>{const[e,r,s,n]=Ba(A),[o,a,i]=Or(Tr([e,r,s]));return[o,a,i,n]},BB=(t,A)=>{const[e,r,s,n]=ga(A),[o,a,i]=Kr(Tr([e,r,s]));return[o,a,i,n]},gB=(t,A)=>{const[e,r,s,n]=Lr(A),[o,a,i]=Kr([e,r,s]);return[o,a,i,n]},uB=t=>rn([t[0],t[1],t[2]]),ha=t=>t,fB=t=>{const[A,e,r]=ua([t[0],t[2],t[3]]);return[A,e,r,t[3]]},wa=t=>Vt([t[0],t[1],t[2],t[3]]),hB=t=>{const A=uB([t[0],t[1],t[2]]);return Vt([A[0],A[1],A[2],t[3]])},wB=t=>PA([.4865709486482162,.26566769316909306,.1982172852343625,.2289745640697488,.6917385218365064,.079286914093745,0,.04511338185890264,1.043944368900976],t),pB=t=>PA([2.493496911941425,-.9313836179191239,-.40271078445071684,-.8294889695615747,1.7626640603183463,.023624685841943577,.03584583024378447,-.07617238926804182,.9568845240076872],t),QB=t=>t.map(A=>{const e=A<0?-1:1;return A*e<=.04045?A/12.92:e*((A+.055)/1.055)**2.4||0}),CB=t=>Je(t),mB=t=>{const A=QB([t[0],t[1],t[2]]);return wB([A[0],A[1],A[2]])},UB=t=>{const[A,e,r]=CB(pB([t[0],t[1],t[2]]));return[A,e,r,t[3]]},FB=t=>{const A=mB([t[0],t[1],t[2]]);return Vt([A[0],A[1],A[2],t[3]])},xB=t=>PA([2.0415879038107465,-.5650069742788596,-.34473135077832956,-.9692436362808795,1.8759675015077202,.04155505740717557,.013444280632031142,-.11836239223101838,1.0151749943912054],t),yB=t=>PA([.5766690429101305,.1855582379065463,.1882286462349947,.29734497525053605,.6273635662554661,.0752914584939978,.02703136138641234,.07068885253582723,.9913375368376388],t),EB=t=>{const A=t.map(e=>{const r=e<0?-1:1,s=Math.abs(e);return r*s**2.19921875});return[A[0],A[1],A[2]]},bB=t=>{const A=t.map(e=>{const r=e<0?-1:1,s=Math.abs(e);return r*s**.4547069271758437});return[A[0],A[1],A[2]]},vB=t=>{const[A,e,r]=bB(xB([t[0],t[1],t[2]]));return[A,e,r,t[3]]},HB=t=>{const A=Oe(yB(EB([t[0],t[1],t[2]])));return tn([A[0],A[1],A[2],t[3]])},IB=t=>PA([.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602],t),SB=t=>PA([1.3457868816471583,-.25557208737979464,-.05110186497554526,-.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452],t),LB=t=>t.map(A=>A<16/512?A/16:A**1.8),TB=t=>t.map(A=>A>1/512?A**(1/1.8):A*16),KB=t=>{const A=LB([t[0],t[1],t[2]]);return rn(IB([A[0],A[1],A[2]]))},OB=t=>{const[A,e,r]=TB(SB(ua([t[0],t[1],t[2]])));return[A,e,r,t[3]]},DB=t=>{const A=KB([t[0],t[1],t[2]]);return Vt([A[0],A[1],A[2],t[3]])},Dr=1.09929682680944,pa=.018053968510807,RB=t=>t.map(function(A){return A<pa*4.5?A/4.5:Math.pow((A+Dr-1)/Dr,1/.45)}),MB=t=>t.map(function(A){return A>=pa?Dr*Math.pow(A,.45)-(Dr-1):4.5*A}),kB=t=>PA([.6369580483012914,.14461690358620832,.1688809751641721,.2627002120112671,.6779980715188708,.05930171646986196,0,.028072693049087428,1.060985057710791],t),GB=t=>PA([1.716651187971268,-.355670783776392,-.25336628137366,-.666684351832489,1.616481236634939,.0157685458139111,.017639857445311,-.042770613257809,.942103121235474],t),VB=t=>{const A=RB([t[0],t[1],t[2]]);return kB([A[0],A[1],A[2]])},NB=t=>{const[A,e,r]=MB(GB([t[0],t[1],t[2]]));return[A,e,r,t[3]]},_B=t=>{const A=VB([t[0],t[1],t[2]]);return Vt([A[0],A[1],A[2],t[3]])},ke={name:"color",parse:(t,A)=>{if(A.type===18){const e=XB[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported color function "${A.name}"`);return e(t,A.values)}if(A.type===5){const[e,r,s,n]=Qa(A);return ne(e,r,s,n)}if(A.type===20){const e=fe[A.value.toUpperCase()];if(typeof e<"u")return e}return fe.TRANSPARENT}},Qa=t=>{if(t.value.length===3){const A=t.value.substring(0,1),e=t.value.substring(1,2),r=t.value.substring(2,3);return[parseInt(A+A,16),parseInt(e+e,16),parseInt(r+r,16),1]}if(t.value.length===4){const A=t.value.substring(0,1),e=t.value.substring(1,2),r=t.value.substring(2,3),s=t.value.substring(3,4);return[parseInt(A+A,16),parseInt(e+e,16),parseInt(r+r,16),parseInt(s+s,16)/255]}if(t.value.length===6){const A=t.value.substring(0,2),e=t.value.substring(2,4),r=t.value.substring(4,6);return[parseInt(A,16),parseInt(e,16),parseInt(r,16),1]}if(t.value.length===8){const A=t.value.substring(0,2),e=t.value.substring(2,4),r=t.value.substring(4,6),s=t.value.substring(6,8);return[parseInt(A,16),parseInt(e,16),parseInt(r,16),parseInt(s,16)/255]}return[0,0,0,1]},Ca=(t,A)=>{const e=A.filter(bA);if(ze(e))throw new Error("Relative color not supported for rgb()");if(e.length===3){const[r,s,n]=e.map(Me);return ne(r,s,n,1)}if(e.length===4){const[r,s,n,o]=e.map(Me);return ne(r,s,n,o)}if(e.length===5&&e[3].type===6&&e[3].value==="/"){const r=Me(e[0],0),s=Me(e[1],1),n=Me(e[2],2),o=Me(e[4],3);return ne(r,s,n,o)}return 0},PB=(t,A)=>{const e=A.filter(bA),r=e[0].type===20?e[0].value:"unknown";if(!ze(e)){const n=r,o=ma[n];if(typeof o>"u")throw new Error(`Attempting to parse an unsupported color space "${n}" for color() function`);const a=UA(e[1])?e[1].number:0,i=UA(e[2])?e[2].number:0,B=UA(e[3])?e[3].number:0,c=e.length>4&&e[4].type===6&&e[4].value==="/"&&UA(e[5])?e[5].number:1;return o([a,i,B,c])}else{const n=(p,E)=>{if(UA(E))return E.number;const L=K=>K==="r"||K==="x"?0:K==="g"||K==="y"?1:2;if(G(E)){const K=L(E.value);return p[K]}const y=K=>{const V=K.filter(bA);let AA="(";for(const S of V)AA+=S.type===18&&S.name==="calc"?y(S.values):UA(S)?S.number:S.type===6||G(S)?S.value:"";return AA+=")",AA};if(E.type===18){const K=E.values.filter(bA);if(E.name==="calc"){const V=y(K).replace(/r|x/,p[0].toString()).replace(/g|y/,p[1].toString()).replace(/b|z/,p[2].toString());return new Function("return "+V)()}}return null},o=e[1].type===18?e[1].name:G(e[1])||e[1].type===5?"rgb":"unknown",a=G(e[2])?e[2].value:"unknown";let i=e[1].type===18?e[1].values:G(e[1])?[e[1]]:[];if(G(e[1])){if(typeof fe[e[1].value.toUpperCase()]>"u")throw new Error("Attempting to use unknown color in relative color 'from'");{const E=dt(t,e[1].value),L=255&E,y=255&E>>8,K=255&E>>16;i=[{type:17,number:255&E>>24,flags:1},{type:17,number:K,flags:1},{type:17,number:y,flags:1},{type:17,number:L>1?L/255:L,flags:1}]}}else if(e[1].type===5){const[p,E,L,y]=Qa(e[1]);i=[{type:17,number:p,flags:1},{type:17,number:E,flags:1},{type:17,number:L,flags:1},{type:17,number:y>1?y/255:y,flags:1}]}if(i.length===0)throw new Error("Attempting to use unknown color in relative color 'from'");if(a==="unknown")throw new Error("Attempting to use unknown colorspace in relative color 'to'");const B=jB[o],c=WB[a],g=ma[a];if(typeof B>"u")throw new Error(`Attempting to parse an unsupported color space "${o}" for color() function`);if(typeof c>"u")throw new Error(`Attempting to parse an unsupported color space "${a}" for color() function`);const f=B(t,i),u=c(f),h=n(u,e[3]),w=n(u,e[4]),x=n(u,e[5]),U=e.length>6&&e[6].type===6&&e[6].value==="/"&&UA(e[7])?e[7].number:1;if(h===null||w===null||x===null)throw new Error("Invalid relative color in color() function");return g([h,w,x,U])}},ma={srgb:rB,"srgb-linear":tn,"display-p3":FB,"a98-rgb":HB,"prophoto-rgb":DB,xyz:wa,"xyz-d50":hB,"xyz-d65":wa,rec2020:_B},jB={rgb:iB,hsl:cB,lab:lB,lch:dB,oklab:gB,oklch:BB},WB={srgb:qd,"srgb-linear":AB,"display-p3":UB,"a98-rgb":vB,"prophoto-rgb":OB,xyz:ha,"xyz-d50":fB,"xyz-d65":ha,rec2020:NB},XB={hsl:da,hsla:da,rgb:Ca,rgba:Ca,lch:aB,oklch:oB,oklab:nB,lab:sB,color:PB},dt=(t,A)=>ke.parse(t,ct.create(A).parseComponentValue()),fe={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},JB={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:(t,A)=>A.map(e=>{if(G(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})},YB={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Rr=(t,A)=>{const e=ke.parse(t,A[0]),r=A[1];return r&&$(r)?{color:e,stop:r}:{color:e,stop:null}},Ua=(t,A)=>{const e=t[0],r=t[t.length-1];e.stop===null&&(e.stop=FA),r.stop===null&&(r.stop=ue);const s=[];let n=0;for(let a=0;a<t.length;a++){const i=t[a].stop;if(i!==null){const B=k(i,A);B>n?s.push(B):s.push(n),n=B}else s.push(null)}let o=null;for(let a=0;a<s.length;a++){const i=s[a];if(i===null)o===null&&(o=a);else if(o!==null){const B=a-o,c=s[o-1],g=(i-c)/(B+1);for(let f=1;f<=B;f++)s[o+f-1]=g*f;o=null}}return t.map(({color:a},i)=>({color:a,stop:Math.max(Math.min(1,s[i]/A),0)}))},zB=(t,A,e)=>{const r=A/2,s=e/2,n=k(t[0],A)-r,o=s-k(t[1],e);return(Math.atan2(o,n)+Math.PI*2)%(Math.PI*2)},ZB=(t,A,e)=>{const r=typeof t=="number"?t:zB(t,A,e),s=Math.abs(A*Math.sin(r))+Math.abs(e*Math.cos(r)),n=A/2,o=e/2,a=s/2,i=Math.sin(r-Math.PI/2)*a,B=Math.cos(r-Math.PI/2)*a;return[s,n-B,n+B,o-i,o+i]},oe=(t,A)=>Math.sqrt(t*t+A*A),Fa=(t,A,e,r,s)=>[[0,0],[0,A],[t,0],[t,A]].reduce((o,a)=>{const[i,B]=a,c=oe(e-i,r-B);return(s?c<o.optimumDistance:c>o.optimumDistance)?{optimumCorner:a,optimumDistance:c}:o},{optimumDistance:s?1/0:-1/0,optimumCorner:null}).optimumCorner,$B=(t,A,e,r,s)=>{let n=0,o=0;switch(t.size){case 0:t.shape===0?n=o=Math.min(Math.abs(A),Math.abs(A-r),Math.abs(e),Math.abs(e-s)):t.shape===1&&(n=Math.min(Math.abs(A),Math.abs(A-r)),o=Math.min(Math.abs(e),Math.abs(e-s)));break;case 2:if(t.shape===0)n=o=Math.min(oe(A,e),oe(A,e-s),oe(A-r,e),oe(A-r,e-s));else if(t.shape===1){const a=Math.min(Math.abs(e),Math.abs(e-s))/Math.min(Math.abs(A),Math.abs(A-r)),[i,B]=Fa(r,s,A,e,!0);n=oe(i-A,(B-e)/a),o=a*n}break;case 1:t.shape===0?n=o=Math.max(Math.abs(A),Math.abs(A-r),Math.abs(e),Math.abs(e-s)):t.shape===1&&(n=Math.max(Math.abs(A),Math.abs(A-r)),o=Math.max(Math.abs(e),Math.abs(e-s)));break;case 3:if(t.shape===0)n=o=Math.max(oe(A,e),oe(A,e-s),oe(A-r,e),oe(A-r,e-s));else if(t.shape===1){const a=Math.max(Math.abs(e),Math.abs(e-s))/Math.max(Math.abs(A),Math.abs(A-r)),[i,B]=Fa(r,s,A,e,!1);n=oe(i-A,(B-e)/a),o=a*n}break}return Array.isArray(t.size)&&(n=k(t.size[0],r),o=t.size.length===2?k(t.size[1],s):n),[n,o]},qB=(t,A)=>{let e=Ae(180);const r=[];return se(A).forEach((s,n)=>{if(n===0){const a=s[0];if(a.type===20&&a.value==="to"){e=ca(s);return}else if(ia(a)){e=lt.parse(t,a);return}}const o=Rr(t,s);r.push(o)}),{angle:e,stops:r,type:1}},Mr=(t,A)=>{let e=Ae(180);const r=[];return se(A).forEach((s,n)=>{if(n===0){const a=s[0];if(a.type===20&&["top","left","right","bottom"].indexOf(a.value)!==-1){e=ca(s);return}else if(ia(a)){e=(lt.parse(t,a)+Ae(270))%Ae(360);return}}const o=Rr(t,s);r.push(o)}),{angle:e,stops:r,type:1}},Ag=(t,A)=>{const e=Ae(180),r=[];let s=1;const n=0,o=3,a=[];return se(A).forEach((i,B)=>{const c=i[0];if(B===0){if(G(c)&&c.value==="linear"){s=1;return}else if(G(c)&&c.value==="radial"){s=2;return}}if(c.type===18){if(c.name==="from"){const g=ke.parse(t,c.values[0]);r.push({stop:FA,color:g})}else if(c.name==="to"){const g=ke.parse(t,c.values[0]);r.push({stop:ue,color:g})}else if(c.name==="color-stop"){const g=c.values.filter(bA);if(g.length===2){const f=ke.parse(t,g[1]),u=g[0];UA(u)&&r.push({stop:{type:16,number:u.number*100,flags:u.flags},color:f})}}}}),s===1?{angle:(e+Ae(180))%Ae(360),stops:r,type:s}:{size:o,shape:n,stops:r,position:a,type:s}},xa="closest-side",ya="farthest-side",Ea="closest-corner",ba="farthest-corner",va="circle",Ha="ellipse",Ia="cover",Sa="contain",eg=(t,A)=>{let e=0,r=3;const s=[],n=[];return se(A).forEach((o,a)=>{let i=!0;if(a===0){let B=!1;i=o.reduce((c,g)=>{if(B)if(G(g))switch(g.value){case"center":return n.push(Ye),c;case"top":case"left":return n.push(FA),c;case"right":case"bottom":return n.push(ue),c}else($(g)||De(g))&&n.push(g);else if(G(g))switch(g.value){case va:return e=0,!1;case Ha:return e=1,!1;case"at":return B=!0,!1;case xa:return r=0,!1;case Ia:case ya:return r=1,!1;case Sa:case Ea:return r=2,!1;case ba:return r=3,!1}else if(De(g)||$(g))return Array.isArray(r)||(r=[]),r.push(g),!1;return c},i)}if(i){const B=Rr(t,o);s.push(B)}}),{size:r,shape:e,stops:s,position:n,type:2}},kr=(t,A)=>{let e=0,r=3;const s=[],n=[];return se(A).forEach((o,a)=>{let i=!0;if(a===0?i=o.reduce((B,c)=>{if(G(c))switch(c.value){case"center":return n.push(Ye),!1;case"top":case"left":return n.push(FA),!1;case"right":case"bottom":return n.push(ue),!1}else if($(c)||De(c))return n.push(c),!1;return B},i):a===1&&(i=o.reduce((B,c)=>{if(G(c))switch(c.value){case va:return e=0,!1;case Ha:return e=1,!1;case Sa:case xa:return r=0,!1;case ya:return r=1,!1;case Ea:return r=2,!1;case Ia:case ba:return r=3,!1}else if(De(c)||$(c))return Array.isArray(r)||(r=[]),r.push(c),!1;return B},i)),i){const B=Rr(t,o);s.push(B)}}),{size:r,shape:e,stops:s,position:n,type:2}},tg=t=>t.type===1,rg=t=>t.type===2,nn={name:"image",parse:(t,A)=>{if(A.type===22){const e={url:A.value,type:0};return t.cache.addImage(A.value),e}if(A.type===18){const e=La[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported image function "${A.name}"`);return e(t,A.values)}throw new Error(`Unsupported image type ${A.type}`)}};function sg(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!La[t.name])}const La={"linear-gradient":qB,"-moz-linear-gradient":Mr,"-ms-linear-gradient":Mr,"-o-linear-gradient":Mr,"-webkit-linear-gradient":Mr,"radial-gradient":eg,"-moz-radial-gradient":kr,"-ms-radial-gradient":kr,"-o-radial-gradient":kr,"-webkit-radial-gradient":kr,"-webkit-gradient":Ag},ng={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>{if(A.length===0)return[];const e=A[0];return e.type===20&&e.value==="none"?[]:A.filter(r=>bA(r)&&sg(r)).map(r=>nn.parse(t,r))}},og={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:(t,A)=>A.map(e=>{if(G(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})},ag={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:(t,A)=>se(A).map(e=>e.map(r=>eB(r)?tB(r,0):$(r)?r:null).filter(r=>r!==null)).map(ra)},ig={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:(t,A)=>se(A).map(e=>e.filter(G).map(r=>r.value).join(" ")).map(cg)},cg=t=>{switch(t){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};var Bt;(function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"})(Bt||(Bt={}));const lg={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:(t,A)=>se(A).map(e=>e.filter(dg))},dg=t=>G(t)||$(t),Gr=t=>({name:`border-${t}-color`,initialValue:"transparent",prefix:!1,type:3,format:"color"}),Bg=Gr("top"),gg=Gr("right"),ug=Gr("bottom"),fg=Gr("left"),Vr=t=>({name:`border-radius-${t}`,initialValue:"0 0",prefix:!1,type:1,parse:(A,e)=>ra(e.filter($))}),hg=Vr("top-left"),wg=Vr("top-right"),pg=Vr("bottom-right"),Qg=Vr("bottom-left"),Nr=t=>({name:`border-${t}-style`,initialValue:"solid",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}),Cg=Nr("top"),mg=Nr("right"),Ug=Nr("bottom"),Fg=Nr("left"),_r=t=>({name:`border-${t}-width`,initialValue:"0",type:0,prefix:!1,parse:(A,e)=>ge(e)?e.number:0}),xg=_r("top"),yg=_r("right"),Eg=_r("bottom"),bg=_r("left"),on={type:0},an=t=>{const[A]=t;return A?G(A)?A.value==="farthest-side"?"farthest-side":"closest-side":$(A)?A:"closest-side":"closest-side"},Ta=t=>{let A=null,e=null;for(const r of t)if(G(r))switch(r.value){case"left":A=FA;break;case"right":A=ue;break;case"top":e=FA;break;case"bottom":e=ue;break;case"center":A===null?A=Ye:e===null&&(e=Ye);break}else $(r)&&(A===null?A=r:e===null&&(e=r));return{cx:A??Ye,cy:e??Ye}},vg=t=>{const A=[];for(const o of t)if(o.type!==31){if(G(o)&&o.value==="round")break;$(o)&&A.push(o)}const e=A[0]??FA,r=A[1]??e,s=A[2]??e,n=A[3]??r;return{type:1,top:e,right:r,bottom:s,left:n}},Hg=t=>{const A=t.filter(Sr),e=A.findIndex(n=>kt(n,"at")),r=e===-1?A:A.slice(0,e),s=e===-1?[]:A.slice(e+1);return{type:2,radius:an(r),...Ta(s)}},Ig=t=>{const A=t.filter(Sr),e=A.findIndex(n=>kt(n,"at")),r=e===-1?A:A.slice(0,e),s=e===-1?[]:A.slice(e+1);return{type:3,rx:an(r.slice(0,1)),ry:an(r.slice(1,2)),...Ta(s)}},Sg=t=>{const A=se(t),e=[];for(const r of A){if(r.length===1&&G(r[0]))continue;const s=r.filter($);s.length>=2&&e.push([s[0],s[1]])}return{type:4,points:e}},Lg=t=>{const A=t.find(e=>e.type===0);return A?{type:5,d:A.value}:on},Tg={name:"clip-path",initialValue:"none",prefix:!1,type:0,parse:(t,A)=>{if(G(A)&&A.value==="none")return on;if(A.type===18)switch(A.name){case"inset":return vg(A.values);case"circle":return Hg(A.values);case"ellipse":return Ig(A.values);case"polygon":return Sg(A.values);case"path":return Lg(A.values)}return on}},Kg={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Og={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:(t,A)=>A==="rtl"?1:0},Dg={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:(t,A)=>A.filter(G).reduce((e,r)=>e|Rg(r.value),0)},Rg=t=>{switch(t){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Mg={name:"float",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},kg={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:(t,A)=>A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0};var Pr;(function(t){t.NORMAL="normal",t.STRICT="strict"})(Pr||(Pr={}));const Gg={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>A==="strict"?Pr.STRICT:Pr.NORMAL},Vg={name:"line-height",initialValue:"normal",prefix:!1,type:4},Ka=(t,A)=>G(t)&&t.value==="normal"?1.2*A:t.type===17?A*t.number:$(t)?k(t,A):A,Ng={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:(t,A)=>A.type===20&&A.value==="none"?null:nn.parse(t,A)},_g={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:(t,A)=>A==="inside"?0:1},cn={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 52;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},jr=t=>({name:`margin-${t}`,initialValue:"0",prefix:!1,type:4}),Pg=jr("top"),jg=jr("right"),Wg=jr("bottom"),Xg=jr("left"),Jg={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:(t,A)=>A.filter(G).map(e=>{switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})},Yg={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>A==="break-word"?"break-word":"normal"},Wr=t=>({name:`padding-${t}`,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}),zg=Wr("top"),Zg=Wr("right"),$g=Wr("bottom"),qg=Wr("left"),Au={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},eu={name:"position",initialValue:"static",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},tu={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&kt(A[0],"none")?[]:se(A).map(e=>{const r={color:fe.TRANSPARENT,offsetX:FA,offsetY:FA,blur:FA};let s=0;for(let n=0;n<e.length;n++){const o=e[n];De(o)?(s===0?r.offsetX=o:s===1?r.offsetY=o:r.blur=o,s++):r.color=ke.parse(t,o)}return r})},ru={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},su={name:"transform",initialValue:"none",prefix:!0,type:0,parse:(t,A)=>{if(A.type===20&&A.value==="none")return null;if(A.type===18){const e=nu[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported transform function "${A.name}"`);return e(t,A.values)}return null}},nu={matrix:(t,A)=>{const e=A.filter(r=>r.type===17).map(r=>r.number);return e.length===6?e:null},matrix3d:(t,A)=>{const e=A.filter(B=>B.type===17).map(B=>B.number),[r,s,{},{},n,o,{},{},{},{},{},{},a,i]=e;return e.length===16?[r,s,n,o,a,i]:null},rotate:(t,A)=>{if(A.length!==1)return null;const e=A[0];let r=0;if(e.type===17&&e.number===0)r=0;else if(e.type===15)r=lt.parse(t,e);else return null;const s=Math.cos(r),n=Math.sin(r);return[s,n,-n,s,0,0]}},Oa={type:16,number:50,flags:at},ou=[Oa,Oa],au={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:(t,A)=>{const e=A.filter($);return e.length!==2?ou:[e[0],e[1]]}},iu={name:"rotate",initialValue:"none",prefix:!1,type:0,parse:(t,A)=>A.type===20&&A.value==="none"?null:A.type===17&&A.number===0?0:A.type===15?lt.parse(t,A)*180/Math.PI:null},cu={name:"visible",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"hidden":return 1;case"collapse":return 2;default:return 0}}};var Nt;(function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"})(Nt||(Nt={}));const lu={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"break-all":return Nt.BREAK_ALL;case"keep-all":return Nt.KEEP_ALL;default:return Nt.NORMAL}}},du={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>{if(A.type===20)return{auto:!0,order:0};if(UA(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},Da={name:"time",parse:(t,A)=>{if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},Bu={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:(t,A)=>UA(A)?A.number:1},gu={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},uu={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:(t,A)=>A.filter(G).map(e=>{switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(e=>e!==0)},fu={name:"text-decoration-style",initialValue:"solid",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"double":return 1;case"dotted":return 2;case"dashed":return 3;case"wavy":return 4;default:return 0}}},hu={name:"text-decoration-thickness",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>{if(G(A))switch(A.value){case"auto":return"auto";case"from-font":return"from-font"}return ge(A)?A.number:"auto"}},wu={name:"text-underline-offset",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>G(A)&&A.value==="auto"?"auto":ge(A)?A.number:"auto"},pu={name:"font-family",initialValue:"",prefix:!1,type:1,parse:(t,A)=>{const e=[],r=[];return A.forEach(s=>{switch(s.type){case 20:case 0:e.push(s.value);break;case 17:e.push(s.number.toString());break;case 4:r.push(e.join(" ")),e.length=0;break}}),e.length&&r.push(e.join(" ")),r.map(s=>s.indexOf(" ")===-1?s:`'${s}'`)}},Qu={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Cu={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:(t,A)=>UA(A)?A.number:G(A)&&A.value==="bold"?700:400},mu={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.filter(G).map(e=>e.value)},Uu={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},cA=(t,A)=>(t&A)!==0,Fu={name:"content",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>{if(A.length===0)return[];const e=A[0];return e.type===20&&e.value==="none"?[]:A}},xu={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return null;const e=A[0];if(e.type===20&&e.value==="none")return null;const r=[],s=A.filter(Sr);for(let n=0;n<s.length;n++){const o=s[n],a=s[n+1];if(o.type===20){const i=a&&UA(a)?a.number:1;r.push({counter:o.value,increment:i})}}return r}},yu={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return[];const e=[],r=A.filter(Sr);for(let s=0;s<r.length;s++){const n=r[s],o=r[s+1];if(G(n)&&n.value!=="none"){const a=o&&UA(o)?o.number:0;e.push({counter:n.value,reset:a})}}return e}},Eu={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:(t,A)=>A.filter(ge).map(e=>Da.parse(t,e))},bu={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return null;const e=A[0];if(e.type===20&&e.value==="none")return null;const r=[],s=A.filter(Zd);if(s.length%2!==0)return null;for(let n=0;n<s.length;n+=2){const o=s[n].value,a=s[n+1].value;r.push({open:o,close:a})}return r}},Ra=(t,A,e)=>{if(!t)return"";const r=t[Math.min(A,t.length-1)];return r?e?r.open:r.close:""},vu={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&kt(A[0],"none")?[]:se(A).map(e=>{const r={color:255,offsetX:FA,offsetY:FA,blur:FA,spread:FA,inset:!1};let s=0;for(let n=0;n<e.length;n++){const o=e[n];kt(o,"inset")?r.inset=!0:De(o)?(s===0?r.offsetX=o:s===1?r.offsetY=o:s===2?r.blur=o:r.spread=o,s++):r.color=ke.parse(t,o)}return r})},Hu={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:(t,A)=>{const e=[0,1,2],r=[];return A.filter(G).forEach(s=>{switch(s.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),e.forEach(s=>{r.indexOf(s)===-1&&r.push(s)}),r}},Iu={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Su={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:(t,A)=>ge(A)?A.number:0},Lu={name:"-webkit-line-clamp",initialValue:"none",prefix:!0,type:0,parse:(t,A)=>A.type===20&&A.value==="none"?0:A.type===17?Math.max(0,Math.floor(A.number)):0},Tu={name:"objectFit",initialValue:"fill",prefix:!1,type:1,parse:(t,A)=>A.filter(G).reduce((e,r)=>e|Ku(r.value),0)},Ku=t=>{switch(t){case"contain":return 2;case"cover":return 4;case"none":return 8;case"scale-down":return 16}return 0},Ou={name:"text-overflow",initialValue:"clip",prefix:!1,type:2,parse:(t,A)=>A==="ellipsis"?1:0};var $A;(function(t){t[t.AUTO=0]="AUTO",t[t.CRISP_EDGES=1]="CRISP_EDGES",t[t.PIXELATED=2]="PIXELATED",t[t.SMOOTH=3]="SMOOTH"})($A||($A={}));const Du={name:"image-rendering",initialValue:"auto",prefix:!1,type:2,parse:(t,A)=>{switch(A.toLowerCase()){case"crisp-edges":case"-webkit-crisp-edges":case"-moz-crisp-edges":return $A.CRISP_EDGES;case"pixelated":case"-webkit-optimize-contrast":return $A.PIXELATED;case"smooth":case"high-quality":return $A.SMOOTH;default:return $A.AUTO}}};class Ru{constructor(A,e){this.animationDuration=H(A,Eu,e.animationDuration),this.backgroundClip=H(A,JB,e.backgroundClip),this.backgroundColor=H(A,YB,e.backgroundColor),this.backgroundImage=H(A,ng,e.backgroundImage),this.backgroundOrigin=H(A,og,e.backgroundOrigin),this.backgroundPosition=H(A,ag,e.backgroundPosition),this.backgroundRepeat=H(A,ig,e.backgroundRepeat),this.backgroundSize=H(A,lg,e.backgroundSize),this.borderTopColor=H(A,Bg,e.borderTopColor),this.borderRightColor=H(A,gg,e.borderRightColor),this.borderBottomColor=H(A,ug,e.borderBottomColor),this.borderLeftColor=H(A,fg,e.borderLeftColor),this.borderTopLeftRadius=H(A,hg,e.borderTopLeftRadius),this.borderTopRightRadius=H(A,wg,e.borderTopRightRadius),this.borderBottomRightRadius=H(A,pg,e.borderBottomRightRadius),this.borderBottomLeftRadius=H(A,Qg,e.borderBottomLeftRadius),this.borderTopStyle=H(A,Cg,e.borderTopStyle),this.borderRightStyle=H(A,mg,e.borderRightStyle),this.borderBottomStyle=H(A,Ug,e.borderBottomStyle),this.borderLeftStyle=H(A,Fg,e.borderLeftStyle),this.borderTopWidth=H(A,xg,e.borderTopWidth),this.borderRightWidth=H(A,yg,e.borderRightWidth),this.borderBottomWidth=H(A,Eg,e.borderBottomWidth),this.borderLeftWidth=H(A,bg,e.borderLeftWidth),this.boxShadow=H(A,vu,e.boxShadow),this.clipPath=H(A,Tg,e.clipPath),this.color=H(A,Kg,e.color),this.direction=H(A,Og,e.direction),this.display=H(A,Dg,e.display),this.float=H(A,Mg,e.cssFloat),this.fontFamily=H(A,pu,e.fontFamily),this.fontSize=H(A,Qu,e.fontSize),this.fontStyle=H(A,Uu,e.fontStyle),this.fontVariant=H(A,mu,e.fontVariant),this.fontWeight=H(A,Cu,e.fontWeight),this.letterSpacing=H(A,kg,e.letterSpacing),this.lineBreak=H(A,Gg,e.lineBreak),this.lineHeight=H(A,Vg,e.lineHeight),this.listStyleImage=H(A,Ng,e.listStyleImage),this.listStylePosition=H(A,_g,e.listStylePosition),this.listStyleType=H(A,cn,e.listStyleType),this.marginTop=H(A,Pg,e.marginTop),this.marginRight=H(A,jg,e.marginRight),this.marginBottom=H(A,Wg,e.marginBottom),this.marginLeft=H(A,Xg,e.marginLeft),this.opacity=H(A,Bu,e.opacity);const r=H(A,Jg,e.overflow);this.overflowX=r[0],this.overflowY=r[r.length>1?1:0],this.overflowWrap=H(A,Yg,e.overflowWrap),this.paddingTop=H(A,zg,e.paddingTop),this.paddingRight=H(A,Zg,e.paddingRight),this.paddingBottom=H(A,$g,e.paddingBottom),this.paddingLeft=H(A,qg,e.paddingLeft),this.paintOrder=H(A,Hu,e.paintOrder),this.position=H(A,eu,e.position),this.textAlign=H(A,Au,e.textAlign),this.textDecorationColor=H(A,gu,e.textDecorationColor??e.color),this.textDecorationLine=H(A,uu,e.textDecorationLine??e.textDecoration),this.textDecorationStyle=H(A,fu,e.textDecorationStyle),this.textDecorationThickness=H(A,hu,e.textDecorationThickness),this.textUnderlineOffset=H(A,wu,e.textUnderlineOffset),this.textShadow=H(A,tu,e.textShadow),this.textTransform=H(A,ru,e.textTransform),this.textOverflow=H(A,Ou,e.textOverflow),this.transform=H(A,su,e.transform),this.transformOrigin=H(A,au,e.transformOrigin),this.rotate=H(A,iu,e.rotate),this.visibility=H(A,cu,e.visibility),this.webkitTextStrokeColor=H(A,Iu,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=H(A,Su,e.webkitTextStrokeWidth),this.webkitLineClamp=H(A,Lu,e.webkitLineClamp),this.wordBreak=H(A,lu,e.wordBreak),this.zIndex=H(A,du,e.zIndex),this.objectFit=H(A,Tu,e.objectFit),this.imageRendering=H(A,Du,e.imageRendering)}isVisible(){return this.display>0&&this.opacity>0&&this.visibility===0}isTransparent(){return Re(this.backgroundColor)}isTransformed(){return this.transform!==null||this.rotate!==null}isPositioned(){return this.position!==0}isPositionedWithZIndex(){return this.isPositioned()&&!this.zIndex.auto}isFloating(){return this.float!==0}isInlineLevel(){return cA(this.display,4)||cA(this.display,33554432)||cA(this.display,268435456)||cA(this.display,536870912)||cA(this.display,67108864)||cA(this.display,134217728)}}class Mu{constructor(A,e){this.content=H(A,Fu,e.content),this.quotes=H(A,bu,e.quotes)}}class Ma{constructor(A,e){this.counterIncrement=H(A,xu,e.counterIncrement),this.counterReset=H(A,yu,e.counterReset)}}const H=(t,A,e)=>{const r=new ta,s=e!==null&&typeof e<"u"?e.toString():A.initialValue;r.write(s);const n=new ct(r.read());switch(A.type){case 2:const o=n.parseComponentValue();return A.parse(t,G(o)?o.value:A.initialValue);case 0:return A.parse(t,n.parseComponentValue());case 1:return A.parse(t,n.parseComponentValues());case 4:return n.parseComponentValue();case 3:switch(A.format){case"angle":return lt.parse(t,n.parseComponentValue());case"color":return ke.parse(t,n.parseComponentValue());case"image":return nn.parse(t,n.parseComponentValue());case"length":const a=n.parseComponentValue();return De(a)?a:FA;case"length-percentage":const i=n.parseComponentValue();return $(i)?i:FA;case"time":return Da.parse(t,n.parseComponentValue())}break}},me=t=>t.nodeType===Node.ELEMENT_NODE,ka=t=>t.nodeType===Node.TEXT_NODE,gt=t=>typeof t.className=="object",_t=t=>me(t)&&typeof t.style<"u"&&!gt(t),ku=t=>t.tagName==="LI",Gu=t=>t.tagName==="OL",Ga=t=>!gt(t)&&t.tagName.indexOf("-")>0,Vu="data-html2canvas-debug",Nu=t=>{if(typeof t.getAttribute!="function")return 0;switch(t.getAttribute(Vu)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},ln=(t,A)=>{const e=Nu(t);return e===1||A===e};class Va{static normalizeElement(A,e){const r={};return _t(A)&&(e.animationDuration.some(s=>s>0)&&(r.animationDuration=A.style.animationDuration,A.style.animationDuration="0s"),e.transform!==null&&(r.transform=A.style.transform,A.style.transform="translate(0, 0)"),e.rotate!==null&&(r.rotate=A.style.rotate,A.style.rotate="0deg",r.transform===void 0&&(r.transform=A.style.transform,A.style.transform="translate(0, 0)"))),r}static restoreElement(A,e){_t(A)&&(e.animationDuration!==void 0&&(A.style.animationDuration=e.animationDuration),e.transform!==void 0&&(A.style.transform=e.transform),e.rotate!==void 0&&(A.style.rotate=e.rotate))}}class he{constructor(A,e,r={}){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,ln(e,3))debugger;this.styles=new Ru(A,A.config.window.getComputedStyle(e,null)),r.normalizeDom!==!1&&_t(e)&&(this.originalStyles=Va.normalizeElement(e,this.styles),this.originalElement=e),this.bounds=dr(this.context,e),ln(e,4)&&(this.flags|=16)}restore(){this.originalStyles&&this.originalElement&&(Va.restoreElement(this.originalElement,this.originalStyles),this.originalStyles=void 0,this.originalElement=void 0)}restoreTree(){this.restore();for(const A of this.elements)A.restoreTree()}}for(var _u="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAg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ACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZU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AAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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var Pu=function(t){var A=t.length*.75,e=t.length,r,s=0,n,o,a,i;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var B=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),c=Array.isArray(B)?B:new Uint8Array(B);for(r=0;r<e;r+=4)n=Pt[t.charCodeAt(r)],o=Pt[t.charCodeAt(r+1)],a=Pt[t.charCodeAt(r+2)],i=Pt[t.charCodeAt(r+3)],c[s++]=n<<2|o>>4,c[s++]=(o&15)<<4|a>>2,c[s++]=(a&3)<<6|i&63;return B},ju=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},Wu=function(t){for(var A=t.length,e=[],r=0;r<A;r+=4)e.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return e},Ze=5,dn=11,Bn=2,Xu=dn-Ze,_a=65536>>Ze,Ju=1<<Ze,gn=Ju-1,Yu=1024>>Ze,zu=_a+Yu,Zu=zu,$u=32,qu=Zu+$u,Af=65536>>dn,ef=1<<Xu,tf=ef-1,Pa=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},rf=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},sf=function(t,A){var e=Pu(t),r=Array.isArray(e)?Wu(e):new Uint32Array(e),s=Array.isArray(e)?ju(e):new Uint16Array(e),n=24,o=Pa(s,n/2,r[4]/2),a=r[5]===2?Pa(s,(n+r[4])/2):rf(r,Math.ceil((n+r[4])/4));return new nf(r[0],r[1],r[2],r[3],o,a)},nf=(function(){function t(A,e,r,s,n,o){this.initialValue=A,this.errorValue=e,this.highStart=r,this.highValueIndex=s,this.index=n,this.data=o}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>Ze],e=(e<<Bn)+(A&gn),this.data[e];if(A<=65535)return e=this.index[_a+(A-55296>>Ze)],e=(e<<Bn)+(A&gn),this.data[e];if(A<this.highStart)return e=qu-Af+(A>>dn),e=this.index[e],e+=A>>Ze&tf,e=this.index[e],e=(e<<Bn)+(A&gn),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),ja="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",of=typeof Uint8Array>"u"?[]:new Uint8Array(256),Jr=0;Jr<ja.length;Jr++)of[ja.charCodeAt(Jr)]=Jr;var af=1,un=2,fn=3,Wa=4,Xa=5,cf=7,Ja=8,hn=9,wn=10,Ya=11,za=12,Za=13,$a=14,pn=15,lf=function(t){for(var A=[],e=0,r=t.length;e<r;){var s=t.charCodeAt(e++);if(s>=55296&&s<=56319&&e<r){var n=t.charCodeAt(e++);(n&64512)===56320?A.push(((s&1023)<<10)+(n&1023)+65536):(A.push(s),e--)}else A.push(s)}return A},df=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var r=[],s=-1,n="";++s<e;){var o=t[s];o<=65535?r.push(o):(o-=65536,r.push((o>>10)+55296,o%1024+56320)),(s+1===e||r.length>16384)&&(n+=String.fromCharCode.apply(String,r),r.length=0)}return n},Bf=sf(_u),ee="×",Qn="÷",gf=function(t){return Bf.get(t)},uf=function(t,A,e){var r=e-2,s=A[r],n=A[e-1],o=A[e];if(n===un&&o===fn)return ee;if(n===un||n===fn||n===Wa||o===un||o===fn||o===Wa)return Qn;if(n===Ja&&[Ja,hn,Ya,za].indexOf(o)!==-1||(n===Ya||n===hn)&&(o===hn||o===wn)||(n===za||n===wn)&&o===wn||o===Za||o===Xa||o===cf||n===af)return ee;if(n===Za&&o===$a){for(;s===Xa;)s=A[--r];if(s===$a)return ee}if(n===pn&&o===pn){for(var a=0;s===pn;)a++,s=A[--r];if(a%2===0)return ee}return Qn},ff=function(t){var A=lf(t),e=A.length,r=0,s=0,n=A.map(gf);return{next:function(){if(r>=e)return{done:!0,value:null};for(var o=ee;r<e&&(o=uf(A,n,++r))===ee;);if(o!==ee||r===e){var a=df.apply(null,A.slice(s,r));return s=r,{value:a,done:!1}}return{done:!0,value:null}}}},hf=function(t){for(var A=ff(t),e=[],r;!(r=A.next()).done;)r.value&&e.push(r.value.slice());return e};const wf=t=>{if(t.createRange){const e=t.createRange();if(e.getBoundingClientRect){const r=t.createElement("boundtest");r.style.height="123px",r.style.display="block",t.body.appendChild(r),e.selectNode(r);const s=e.getBoundingClientRect(),n=Math.round(s.height);if(t.body.removeChild(r),n===123)return!0}}return!1},pf=t=>{const A=t.createElement("boundtest");A.style.width="50px",A.style.display="block",A.style.fontSize="12px",A.style.letterSpacing="0px",A.style.wordSpacing="0px",t.body.appendChild(A);const e=t.createRange();A.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";const r=A.firstChild,s=Br(r.data).map(i=>pA(i));let n=0,o={};const a=s.every((i,B)=>{e.setStart(r,n),e.setEnd(r,n+i.length);const c=e.getBoundingClientRect();n+=i.length;const g=c.x>o.x||c.y>o.y;return o=c,B===0?!0:g});return t.body.removeChild(A),a},Qf=()=>typeof new Image().crossOrigin<"u",Cf=()=>typeof new XMLHttpRequest().responseType=="string",mf=t=>{const A=new Image,e=t.createElement("canvas"),r=e.getContext("2d");if(!r)return!1;A.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(A,0,0),e.toDataURL()}catch{return!1}return!0},qa=t=>t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255,Uf=t=>{const A=t.createElement("canvas"),e=100;A.width=e,A.height=e;const r=A.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,e,e);const s=new Image,n=A.toDataURL();s.src=n;const o=Cn(e,e,0,0,s);return r.fillStyle="red",r.fillRect(0,0,e,e),Ai(o).then(a=>{r.drawImage(a,0,0);const i=r.getImageData(0,0,e,e).data;r.fillStyle="red",r.fillRect(0,0,e,e);const B=t.createElement("div");return B.style.backgroundImage=`url(${n})`,B.style.height=`${e}px`,qa(i)?Ai(Cn(e,e,0,0,B)):Promise.reject(!1)}).then(a=>(r.drawImage(a,0,0),qa(r.getImageData(0,0,e,e).data))).catch(()=>!1)},Cn=(t,A,e,r,s)=>{const n="http://www.w3.org/2000/svg",o=document.createElementNS(n,"svg"),a=document.createElementNS(n,"foreignObject");return o.setAttributeNS(null,"width",t.toString()),o.setAttributeNS(null,"height",A.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",e.toString()),a.setAttributeNS(null,"y",r.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(a),a.appendChild(s),o},Ai=t=>new Promise((A,e)=>{const r=new Image;r.onload=()=>A(r),r.onerror=e,r.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(t))}`}),vA={get SUPPORT_RANGE_BOUNDS(){const t=wf(document);return Object.defineProperty(vA,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){const t=vA.SUPPORT_RANGE_BOUNDS&&pf(document);return Object.defineProperty(vA,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){const t=mf(document);return Object.defineProperty(vA,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){const t=typeof Array.from=="function"&&typeof window.fetch=="function"?Uf(document):Promise.resolve(!1);return Object.defineProperty(vA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){const t=Qf();return Object.defineProperty(vA,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){const t=Cf();return Object.defineProperty(vA,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){const t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(vA,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){const t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(vA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}};class $e{constructor(A,e){this.text=A,this.bounds=e}}const Ff=(t,A,e,r)=>{const s=Ef(A,e),n=[];let o=0;return s.forEach(a=>{if(e.textDecorationLine.length||a.trim().length>0)if(vA.SUPPORT_RANGE_BOUNDS){const i=ei(r,o,a.length).getClientRects();if(i.length>1){const B=Yr(a);let c=0;B.forEach(g=>{n.push(new $e(g,TA.fromDOMRectList(t,ei(r,c+o,g.length).getClientRects()))),c+=g.length})}else n.push(new $e(a,TA.fromDOMRectList(t,i)))}else{const i=r.splitText(a.length);n.push(new $e(a,xf(t,r))),r=i}else vA.SUPPORT_RANGE_BOUNDS||(r=r.splitText(a.length));o+=a.length}),n},xf=(t,A)=>{const e=A.ownerDocument;if(e){const r=e.createElement("html2canvaswrapper");r.appendChild(A.cloneNode(!0));const s=A.parentNode;if(s){s.replaceChild(r,A);const n=dr(t,r);return r.firstChild&&s.replaceChild(r.firstChild,r),n}}return TA.EMPTY},ei=(t,A,e)=>{const r=t.ownerDocument;if(!r)throw new Error("Node has no owner document");const s=r.createRange();return s.setStart(t,A),s.setEnd(t,A+e),s},Yr=t=>{if(vA.SUPPORT_NATIVE_TEXT_SEGMENTATION){const A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(t)).map(e=>e.segment)}return hf(t)},yf=(t,A)=>{if(vA.SUPPORT_NATIVE_TEXT_SEGMENTATION){const e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(t)).map(r=>r.segment)}return vf(t,A)},Ef=(t,A)=>A.letterSpacing!==0?Yr(t):yf(t,A),bf=[32,160,4961,65792,65793,4153,4241],vf=(t,A)=>{const e=jl(t,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),r=[];let s;for(;!(s=e.next()).done;)if(s.value){const n=s.value.slice(),o=Br(n);let a="";o.forEach(i=>{bf.indexOf(i)===-1?a+=pA(i):(a.length&&r.push(a),r.push(pA(i)),a="")}),a.length&&r.push(a)}return r};class Hf{constructor(A,e,r){this.text=If(e.data,r.textTransform),this.textBounds=Ff(A,this.text,r,e)}}const If=(t,A)=>{switch(A){case 1:return t.toLowerCase();case 3:return t.replace(Sf,Lf);case 2:return t.toUpperCase();default:return t}},Sf=/(^|\s|:|-|\(|\))([a-z])/g,Lf=(t,A,e)=>t.length>0?A+e.toUpperCase():t;class ti extends he{constructor(A,e){super(A,e),this.src=e.currentSrc||e.src,this.intrinsicWidth=e.naturalWidth,this.intrinsicHeight=e.naturalHeight,this.context.cache.addImage(this.src)}}class ri extends he{constructor(A,e){super(A,e),this.canvas=e,this.intrinsicWidth=e.width,this.intrinsicHeight=e.height}}class si extends he{constructor(A,e){super(A,e);const r=new XMLSerializer,s=dr(A,e);e.setAttribute("width",`${s.width}px`),e.setAttribute("height",`${s.height}px`),this.svg=`data:image/svg+xml,${encodeURIComponent(r.serializeToString(e))}`,this.intrinsicWidth=e.width.baseVal.value,this.intrinsicHeight=e.height.baseVal.value,this.context.cache.addImage(this.svg)}}class ni extends he{constructor(A,e){super(A,e),this.value=e.value}}class mn extends he{constructor(A,e){super(A,e),this.start=e.start,this.reversed=typeof e.reversed=="boolean"&&e.reversed===!0}}const Tf=[{type:15,flags:0,unit:"px",number:3}],Kf=[{type:16,flags:0,number:50}],Of=t=>t.width>t.height?new TA(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new TA(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t,Df=t=>{const A=t.type===Mf?new Array(t.value.length+1).join("•"):t.value;return A.length===0?t.placeholder||"":A},Rf=t=>t.value.length===0&&!!t.placeholder,zr="checkbox",Zr="radio",Mf="password",oi=707406591,kf=1970632191;class jt extends he{constructor(A,e){switch(super(A,e),this.type=e.type.toLowerCase(),this.checked=e.checked,this.value=Df(e),this.isPlaceholder=Rf(e),(this.type===zr||this.type===Zr)&&(this.styles.backgroundColor=3739148031,this.styles.borderTopColor=this.styles.borderRightColor=this.styles.borderBottomColor=this.styles.borderLeftColor=2779096575,this.styles.borderTopWidth=this.styles.borderRightWidth=this.styles.borderBottomWidth=this.styles.borderLeftWidth=1,this.styles.borderTopStyle=this.styles.borderRightStyle=this.styles.borderBottomStyle=this.styles.borderLeftStyle=1,this.styles.backgroundClip=[0],this.styles.backgroundOrigin=[0],this.bounds=Of(this.bounds)),this.type){case zr:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=Tf;break;case Zr:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=Kf;break}}}class ai extends he{constructor(A,e){super(A,e);const r=e.options[e.selectedIndex||0];this.value=r&&r.text||""}}class ii extends he{constructor(A,e){super(A,e),this.value=e.value}}class ci extends he{constructor(A,e,r){super(A,e),this.src=e.src,this.width=parseInt(e.width,10)||0,this.height=parseInt(e.height,10)||0,this.backgroundColor=this.styles.backgroundColor,this.parseTreeFn=r;try{if(e.contentWindow&&e.contentWindow.document&&e.contentWindow.document.documentElement&&this.parseTreeFn){this.tree=this.parseTreeFn(A,e.contentWindow.document.documentElement);const s=e.contentWindow.document.documentElement?dt(A,getComputedStyle(e.contentWindow.document.documentElement).backgroundColor):fe.TRANSPARENT,n=e.contentWindow.document.body?dt(A,getComputedStyle(e.contentWindow.document.body).backgroundColor):fe.TRANSPARENT;this.backgroundColor=Re(s)?Re(n)?this.styles.backgroundColor:n:s}}catch{}}}const Gf=["OL","UL","MENU"],$r=(t,A,e,r)=>{for(let s=A.firstChild,n;s;s=n)if(n=s.nextSibling,ka(s)&&s.data.length>0)e.textNodes.push(new Hf(t,s,e.styles));else if(me(s))if(Wt(s)&&s.assignedNodes)s.assignedNodes().forEach(o=>$r(t,o,e,r));else{const o=li(t,s);o.styles.isVisible()&&(Vf(s,o,r)?o.flags|=4:Nf(o.styles)&&(o.flags|=2),Gf.indexOf(s.tagName)!==-1&&(o.flags|=8),e.elements.push(o),s.slot,s.shadowRoot?$r(t,s.shadowRoot,o,r):!qr(s)&&!Bi(s)&&!As(s)&&$r(t,s,o,r))}},li=(t,A)=>Fn(A)?new ti(t,A):gi(A)?new ri(t,A):Bi(A)?new si(t,A):ku(A)?new ni(t,A):Gu(A)?new mn(t,A):_f(A)?new jt(t,A):As(A)?new ai(t,A):qr(A)?new ii(t,A):fi(A)?new ci(t,A,di):new he(t,A),di=(t,A)=>{const e=li(t,A);return e.flags|=4,$r(t,A,e,e),e},Vf=(t,A,e)=>A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||Un(t)&&e.styles.isTransparent(),Nf=t=>t.isPositioned()||t.isFloating()?!0:cA(t.display,268435456)||cA(t.display,33554432)||cA(t.display,536870912)||cA(t.display,134217728),_f=t=>t.tagName==="INPUT",Pf=t=>t.tagName==="HTML",Bi=t=>t.tagName==="svg",Un=t=>t.tagName==="BODY",gi=t=>t.tagName==="CANVAS",ui=t=>t.tagName==="VIDEO",Fn=t=>t.tagName==="IMG",fi=t=>t.tagName==="IFRAME",xn=t=>t.tagName==="STYLE",hi=t=>t.tagName==="SCRIPT",qr=t=>t.tagName==="TEXTAREA",As=t=>t.tagName==="SELECT",Wt=t=>t.tagName==="SLOT";class jf{constructor(){this.counters={}}getCounterValue(A){const e=this.counters[A];return e&&e.length?e[e.length-1]:1}getCounterValues(A){const e=this.counters[A];return e||[]}pop(A){A.forEach(e=>this.counters[e].pop())}parse(A){const e=A.counterIncrement,r=A.counterReset;let s=!0;e!==null&&e.forEach(o=>{const a=this.counters[o.counter];a&&o.increment!==0&&(s=!1,a.length||a.push(1),a[Math.max(0,a.length-1)]+=o.increment)});const n=[];return s&&r.forEach(o=>{let a=this.counters[o.counter];n.push(o.counter),a||(a=this.counters[o.counter]=[]),a.push(o.reset)}),n}}const wi={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},pi={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Wf={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Xf={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},ut=(t,A,e,r,s,n)=>t<A||t>e?Jt(t,s,n.length>0):r.integers.reduce((o,a,i)=>{for(;t>=a;)t-=a,o+=r.values[i];return o},"")+n,Qi=(t,A,e,r)=>{let s="";do e||t--,s=r(t)+s,t/=A;while(t*A>=A);return s},QA=(t,A,e,r,s)=>{const n=e-A+1;return(t<0?"-":"")+(Qi(Math.abs(t),n,r,o=>pA(Math.floor(o%n)+A))+s)},qe=(t,A,e=". ")=>{const r=A.length;return Qi(Math.abs(t),r,!1,s=>A[Math.floor(s%r)])+e},ft=1,Ge=2,Ve=4,Xt=8,Ue=(t,A,e,r,s,n)=>{if(t<-9999||t>9999)return Jt(t,4,s.length>0);let o=Math.abs(t),a=s;if(o===0)return A[0]+a;for(let i=0;o>0&&i<=4;i++){const B=o%10;B===0&&cA(n,ft)&&a!==""?a=A[B]+a:B>1||B===1&&i===0||B===1&&i===1&&cA(n,Ge)||B===1&&i===1&&cA(n,Ve)&&t>100||B===1&&i>1&&cA(n,Xt)?a=A[B]+(i>0?e[i-1]:"")+a:B===1&&i>0&&(a=e[i-1]+a),o=Math.floor(o/10)}return(t<0?r:"")+a},Ci="十百千萬",mi="拾佰仟萬",Ui="マイナス",yn="마이너스",Jt=(t,A,e)=>{const r=e?". ":"",s=e?"、":"",n=e?", ":"",o=e?" ":"";switch(A){case 0:return"•"+o;case 1:return"◦"+o;case 2:return"◾"+o;case 5:const a=QA(t,48,57,!0,r);return a.length<4?`0${a}`:a;case 4:return qe(t,"〇一二三四五六七八九",s);case 6:return ut(t,1,3999,wi,3,r).toLowerCase();case 7:return ut(t,1,3999,wi,3,r);case 8:return QA(t,945,969,!1,r);case 9:return QA(t,97,122,!1,r);case 10:return QA(t,65,90,!1,r);case 11:return QA(t,1632,1641,!0,r);case 12:case 49:return ut(t,1,9999,pi,3,r);case 35:return ut(t,1,9999,pi,3,r).toLowerCase();case 13:return QA(t,2534,2543,!0,r);case 14:case 30:return QA(t,6112,6121,!0,r);case 15:return qe(t,"子丑寅卯辰巳午未申酉戌亥",s);case 16:return qe(t,"甲乙丙丁戊己庚辛壬癸",s);case 17:case 48:return Ue(t,"零一二三四五六七八九",Ci,"負",s,Ge|Ve|Xt);case 47:return Ue(t,"零壹貳參肆伍陸柒捌玖",mi,"負",s,ft|Ge|Ve|Xt);case 42:return Ue(t,"零一二三四五六七八九",Ci,"负",s,Ge|Ve|Xt);case 41:return Ue(t,"零壹贰叁肆伍陆柒捌玖",mi,"负",s,ft|Ge|Ve|Xt);case 26:return Ue(t,"〇一二三四五六七八九","十百千万",Ui,s,0);case 25:return Ue(t,"零壱弐参四伍六七八九","拾百千万",Ui,s,ft|Ge|Ve);case 31:return Ue(t,"영일이삼사오육칠팔구","십백천만",yn,n,ft|Ge|Ve);case 33:return Ue(t,"零一二三四五六七八九","十百千萬",yn,n,0);case 32:return Ue(t,"零壹貳參四五六七八九","拾百千",yn,n,ft|Ge|Ve);case 18:return QA(t,2406,2415,!0,r);case 20:return ut(t,1,19999,Xf,3,r);case 21:return QA(t,2790,2799,!0,r);case 22:return QA(t,2662,2671,!0,r);case 52:return ut(t,1,10999,Wf,3,r);case 23:return qe(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return qe(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return QA(t,3302,3311,!0,r);case 28:return qe(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",s);case 29:return qe(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",s);case 34:return QA(t,3792,3801,!0,r);case 37:return QA(t,6160,6169,!0,r);case 38:return QA(t,4160,4169,!0,r);case 39:return QA(t,2918,2927,!0,r);case 40:return QA(t,1776,1785,!0,r);case 43:return QA(t,3046,3055,!0,r);case 44:return QA(t,3174,3183,!0,r);case 45:return QA(t,3664,3673,!0,r);case 46:return QA(t,3872,3881,!0,r);default:return QA(t,48,57,!0,r)}},En="data-html2canvas-ignore",Jf=t=>{let A=t;for(;A;){if(A.parentNode&&A.parentNode.host)return A.parentNode;const e=A.getRootNode();if(e&&e!==A.ownerDocument&&e.host)return e;A=A.parentNode}return null};class Fi{constructor(A,e,r){if(this.context=A,this.options=r,this.scrolledElements=[],this.referenceElement=e,this.counters=new jf,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");if(!this.options.iframeContainer){const s=Jf(e);s&&(this.options.iframeContainer=s)}this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}toIFrame(A,e){const r=Yf(A,e,this.options.iframeContainer);if(!r.contentWindow)throw new Error("Unable to find iframe window");const s=A.defaultView.pageXOffset,n=A.defaultView.pageYOffset,o=r.contentWindow,a=o.document,i=$f(r).then(async()=>{this.scrolledElements.forEach(th),o&&(o.scrollTo(e.left,e.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==e.top||o.scrollX!==e.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-e.left,o.scrollY-e.top,0,0)));const f=this.options.onclone,u=this.clonedReferenceElement;if(typeof u>"u")throw new Error(`Error finding the ${this.referenceElement.nodeName} in the cloned document`);return a.fonts&&a.fonts.ready&&await a.fonts.ready,/(AppleWebKit)/g.test(navigator.userAgent)&&await Zf(a),typeof f=="function"?Promise.resolve().then(()=>f(a,u)).then(()=>r):r}),B=a.baseURI;a.open();const c=Ah(document.doctype)+"<html></html>";try{const f=this.referenceElement.ownerDocument?.defaultView,u=f&&f.trustedTypes;let h=u?.getPolicy?.("html2canvas-pro");!h&&u&&(h=u.createPolicy("html2canvas-pro",{createHTML:w=>w})),h?a.write(h.createHTML(c)):a.write(c)}catch{a.write(c)}eh(this.referenceElement.ownerDocument,s,n),a.close();const g=a.adoptNode(this.documentElement);return ah(g,B),a.replaceChild(g,a.documentElement),i}createElementClone(A){if(ln(A,2))debugger;if(gi(A))return this.createCanvasClone(A);if(ui(A))return this.createVideoClone(A);if(xn(A))return this.createStyleClone(A);const e=A.cloneNode(!1);return Fn(e)&&(Fn(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),e.loading==="lazy"&&(e.loading="eager")),Ga(e)&&!gt(e)?this.createCustomElementClone(e):e}createCustomElementClone(A){const e=document.createElement("div");if(e.className=A.className,bn(A.style,e),A.shadowRoot)try{e.attachShadow({mode:"open"})}catch(r){this.context.logger.error("Failed to attach shadow root to custom element clone:",r)}return e}createStyleClone(A){try{const r=A.sheet;if(r&&r.cssRules){const s=[].slice.call(r.cssRules,0).reduce((o,a)=>a&&typeof a.cssText=="string"?o+a.cssText:o,""),n=A.cloneNode(!1);return n.textContent=s,this.options.cspNonce&&(n.nonce=this.options.cspNonce),n}}catch(r){if(this.context.logger.error("Unable to access cssRules property",r),r.name!=="SecurityError")throw r}const e=A.cloneNode(!1);return this.options.cspNonce&&(e.nonce=this.options.cspNonce),e}createCanvasClone(A){if(this.options.inlineImages&&A.ownerDocument){const r=A.ownerDocument.createElement("img");try{return r.src=A.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}const e=A.cloneNode(!1);try{e.width=A.width,e.height=A.height;const r=A.getContext("2d"),s=e.getContext("2d",{willReadFrequently:!0});if(s)if(!this.options.allowTaint&&r)s.putImageData(r.getImageData(0,0,A.width,A.height),0,0);else{const n=A.getContext("webgl2")??A.getContext("webgl");n&&n.getContextAttributes()?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A),s.drawImage(A,0,0)}return e}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return e}createVideoClone(A){const e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;const r=e.getContext("2d");try{return r&&(r.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||r.getImageData(0,0,e.width,e.height)),e}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}const s=A.ownerDocument.createElement("canvas");return s.width=A.offsetWidth,s.height=A.offsetHeight,s}appendChildNode(A,e,r){(!me(e)||!hi(e)&&!e.hasAttribute(En)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(e)))&&(!this.options.copyStyles||!me(e)||!xn(e))&&A.appendChild(this.cloneNode(e,r))}shouldCloneChild(A){return!me(A)||!hi(A)&&!A.hasAttribute(En)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(A))}shouldCloneStyleElement(A){return!this.options.copyStyles||!me(A)||!xn(A)}safeAppendClonedChild(A,e,r){this.shouldCloneChild(e)&&this.shouldCloneStyleElement(e)&&A.appendChild(this.cloneNode(e,r))}cloneAssignedNodes(A,e,r){A.forEach(s=>{this.safeAppendClonedChild(e,s,r)})}cloneSlotFallbackContent(A,e,r){for(let s=A.firstChild;s;s=s.nextSibling)this.safeAppendClonedChild(e,s,r)}cloneSlotElement(A,e,r){if(!Wt(A))return;const s=A;if(typeof s.assignedNodes!="function"){this.context.logger.warn("HTMLSlotElement.assignedNodes is not available",A),this.cloneSlotFallbackContent(A,e,r);return}const n=s.assignedNodes();if(!n||!Array.isArray(n)){this.context.logger.warn("assignedNodes() did not return a valid array",A),this.cloneSlotFallbackContent(A,e,r);return}n.length>0?this.cloneAssignedNodes(n,e,r):this.cloneSlotFallbackContent(A,e,r)}cloneShadowDOMChildren(A,e,r){for(let s=A.firstChild;s;s=s.nextSibling)me(s)&&Wt(s)?this.cloneSlotElement(s,e,r):this.safeAppendClonedChild(e,s,r)}cloneLightDOMChildren(A,e,r){for(let s=A.firstChild;s;s=s.nextSibling)this.appendChildNode(e,s,r)}cloneSlotElementAsLightDOM(A,e,r){if(!Wt(A))return;const s=A;if(typeof s.assignedNodes!="function"){for(let o=A.firstChild;o;o=o.nextSibling)this.appendChildNode(e,o,r);return}const n=s.assignedNodes();if(n&&Array.isArray(n)&&n.length>0)n.forEach(o=>this.appendChildNode(e,o,r));else for(let o=A.firstChild;o;o=o.nextSibling)this.appendChildNode(e,o,r)}cloneShadowDOMAsLightDOM(A,e,r){for(let s=A.firstChild;s;s=s.nextSibling)me(s)&&Wt(s)?this.cloneSlotElementAsLightDOM(s,e,r):this.appendChildNode(e,s,r)}cloneChildNodes(A,e,r){A.shadowRoot&&e.shadowRoot?(this.cloneShadowDOMChildren(A.shadowRoot,e.shadowRoot,r),this.cloneLightDOMChildren(A,e,r)):A.shadowRoot&&!e.shadowRoot?this.cloneShadowDOMAsLightDOM(A.shadowRoot,e,r):this.cloneLightDOMChildren(A,e,r)}cloneNode(A,e){if(ka(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);const r=A.ownerDocument.defaultView;if(r&&me(A)&&(_t(A)||gt(A))){const s=this.createElementClone(A);s.style.transitionProperty="none";const n=r.getComputedStyle(A),o=r.getComputedStyle(A,":before"),a=r.getComputedStyle(A,":after");this.referenceElement===A&&_t(s)&&(this.clonedReferenceElement=s),Un(s)&&nh(s,this.options.cspNonce);const i=this.counters.parse(new Ma(this.context,n)),B=this.resolvePseudoContent(A,s,o,Yt.BEFORE);Ga(A)&&(e=!0),ui(A)||this.cloneChildNodes(A,s,e),B&&s.insertBefore(B,s.firstChild);const c=this.resolvePseudoContent(A,s,a,Yt.AFTER);return c&&s.appendChild(c),this.counters.pop(i),(n&&(this.options.copyStyles||gt(A))&&!fi(A)||e)&&bn(n,s),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([s,A.scrollLeft,A.scrollTop]),(qr(A)||As(A))&&(qr(s)||As(s))&&(s.value=A.value),s}return A.cloneNode(!1)}resolvePseudoContent(A,e,r,s){if(!r)return;const n=r.content,o=e.ownerDocument;if(!o||!n||n==="none"||n==="-moz-alt-content"||r.display==="none")return;this.counters.parse(new Ma(this.context,r));const a=new Mu(this.context,r),i=o.createElement("html2canvaspseudoelement");bn(r,i),a.content.forEach(c=>{if(c.type===0)i.appendChild(o.createTextNode(c.value));else if(c.type===22){const g=o.createElement("img");g.src=c.value,g.style.opacity="1",i.appendChild(g)}else if(c.type===18){if(c.name==="attr"){const g=c.values.filter(G);g.length&&i.appendChild(o.createTextNode(A.getAttribute(g[0].value)||""))}else if(c.name==="counter"){const[g,f]=c.values.filter(bA);if(g&&G(g)){const u=this.counters.getCounterValue(g.value),h=f&&G(f)?cn.parse(this.context,f.value):3;i.appendChild(o.createTextNode(Jt(u,h,!1)))}}else if(c.name==="counters"){const[g,f,u]=c.values.filter(bA);if(g&&G(g)){const h=this.counters.getCounterValues(g.value),w=u&&G(u)?cn.parse(this.context,u.value):3,x=f&&f.type===0?f.value:"",U=h.map(p=>Jt(p,w,!1)).join(x);i.appendChild(o.createTextNode(U))}}}else if(c.type===20)switch(c.value){case"open-quote":i.appendChild(o.createTextNode(Ra(a.quotes,this.quoteDepth++,!0)));break;case"close-quote":i.appendChild(o.createTextNode(Ra(a.quotes,--this.quoteDepth,!1)));break;default:i.appendChild(o.createTextNode(c.value))}}),i.className=`${vn} ${Hn}`;const B=s===Yt.BEFORE?` ${vn}`:` ${Hn}`;return gt(e)?e.className.baseValue+=B:e.className+=B,i}static destroy(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1}}var Yt;(function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"})(Yt||(Yt={}));const Yf=(t,A,e)=>{const r=t.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=A.width.toString(),r.height=A.height.toString(),r.scrolling="no",r.setAttribute(En,"true"),(e||t.body).appendChild(r),r},zf=t=>new Promise(A=>{if(t.complete){A();return}if(!t.src){A();return}t.onload=A,t.onerror=A}),Zf=t=>Promise.all([].slice.call(t.images,0).map(zf)),$f=t=>new Promise((A,e)=>{const r=t.contentWindow;if(!r)return e("No window assigned for iframe");const s=r.document;r.onload=t.onload=()=>{r.onload=t.onload=null;const n=setInterval(()=>{s.body.childNodes.length>0&&s.readyState==="complete"&&(clearInterval(n),A(t))},50)}}),qf=["all","d","content"],bn=(t,A)=>{for(let e=t.length-1;e>=0;e--){const r=t.item(e);qf.indexOf(r)===-1&&!r.startsWith("--")&&A.style.setProperty(r,t.getPropertyValue(r))}return A},Ah=t=>{let A="";return t&&(A+="<!DOCTYPE ",t.name&&(A+=t.name),t.internalSubset&&(A+=" "+t.internalSubset.replace(/"/g,"&quot;").replace(/>/g,"&gt;")),t.publicId?(A+=' PUBLIC "'+t.publicId.replace(/"/g,"&quot;")+'"',t.systemId&&(A+=' "'+t.systemId.replace(/"/g,"&quot;")+'"')):t.systemId&&(A+=' SYSTEM "'+t.systemId.replace(/"/g,"&quot;")+'"'),A+=">"),A},eh=(t,A,e)=>{t&&t.defaultView&&(A!==t.defaultView.pageXOffset||e!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(A,e)},th=([t,A,e])=>{t.scrollLeft=A,t.scrollTop=e},rh=":before",sh=":after",vn="___html2canvas___pseudoelement_before",Hn="___html2canvas___pseudoelement_after",xi=`{
7
+ <%s key={someKey} {...props} />`,q,AA,DA,AA),te[AA+q]=!0)}if(AA=null,z!==void 0&&(e(z),AA=""+z),o(k)&&(e(k.key),AA=""+k.key),"key"in k){z={};for(var ge in k)ge!=="key"&&(z[ge]=k[ge])}else z=k;return AA&&a(z,typeof U=="function"?U.displayName||U.name||"Unknown":U),g(U,AA,z,r(),YA,He)}function B(U){f(U)?U._store&&(U._store.validated=1):typeof U=="object"&&U!==null&&U.$$typeof===R&&(U._payload.status==="fulfilled"?f(U._payload.value)&&U._payload.value._store&&(U._payload.value._store.validated=1):U._store&&(U._store.validated=1))}function f(U){return typeof U=="object"&&U!==null&&U.$$typeof===w}var h=Q,w=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),F=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),T=Symbol.for("react.consumer"),H=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),lA=Symbol.for("react.activity"),vA=Symbol.for("react.client.reference"),N=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,yA=Object.prototype.hasOwnProperty,$=Array.isArray,HA=console.createTask?console.createTask:function(){return null};h={react_stack_bottom_frame:function(U){return U()}};var X,JA={},ie=h.react_stack_bottom_frame.bind(h,n)(),_e=HA(s(n)),te={};St.Fragment=F,St.jsx=function(U,k,z){var q=1e4>N.recentlyCreatedOwnerStacks++;return l(U,k,z,!1,q?Error("react-stack-top-frame"):ie,q?HA(s(U)):_e)},St.jsxs=function(U,k,z){var q=1e4>N.recentlyCreatedOwnerStacks++;return l(U,k,z,!0,q?Error("react-stack-top-frame"):ie,q?HA(s(U)):_e)}})()),St}var wo;function Ic(){return wo||(wo=1,process.env.NODE_ENV==="production"?ws.exports=vc():ws.exports=Hc()),ws.exports}var i=Ic(),ms={exports:{}},Dr={};var mo;function Sc(){if(mo)return Dr;mo=1;var t=Q;function A(B,f){return B===f&&(B!==0||1/B===1/f)||B!==B&&f!==f}var e=typeof Object.is=="function"?Object.is:A,s=t.useState,r=t.useEffect,n=t.useLayoutEffect,o=t.useDebugValue;function a(B,f){var h=f(),w=s({inst:{value:h,getSnapshot:f}}),C=w[0].inst,F=w[1];return n(function(){C.value=h,C.getSnapshot=f,c(C)&&F({inst:C})},[B,h,f]),r(function(){return c(C)&&F({inst:C}),B(function(){c(C)&&F({inst:C})})},[B]),o(h),h}function c(B){var f=B.getSnapshot;B=B.value;try{var h=f();return!e(B,h)}catch{return!0}}function g(B,f){return f()}var l=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:a;return Dr.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:l,Dr}var Rr={};var Co;function Lc(){return Co||(Co=1,process.env.NODE_ENV!=="production"&&(function(){function t(h,w){return h===w&&(h!==0||1/h===1/w)||h!==h&&w!==w}function A(h,w){l||r.startTransition===void 0||(l=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var C=w();if(!B){var F=w();n(C,F)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),B=!0)}F=o({inst:{value:C,getSnapshot:w}});var y=F[0].inst,m=F[1];return c(function(){y.value=C,y.getSnapshot=w,e(y)&&m({inst:y})},[h,C,w]),a(function(){return e(y)&&m({inst:y}),h(function(){e(y)&&m({inst:y})})},[h]),g(C),C}function e(h){var w=h.getSnapshot;h=h.value;try{var C=w();return!n(h,C)}catch{return!0}}function s(h,w){return w()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var r=Q,n=typeof Object.is=="function"?Object.is:t,o=r.useState,a=r.useEffect,c=r.useLayoutEffect,g=r.useDebugValue,l=!1,B=!1,f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?s:A;Rr.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:f,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Rr}var Qo;function Tc(){return Qo||(Qo=1,process.env.NODE_ENV==="production"?ms.exports=Sc():ms.exports=Lc()),ms.exports}var xo=Tc();const Uo=0,Fo=1,yo=2,Eo=3;var bo=Object.prototype.hasOwnProperty;function kr(t,A){var e,s;if(t===A)return!0;if(t&&A&&(e=t.constructor)===A.constructor){if(e===Date)return t.getTime()===A.getTime();if(e===RegExp)return t.toString()===A.toString();if(e===Array){if((s=t.length)===A.length)for(;s--&&kr(t[s],A[s]););return s===-1}if(!e||typeof t=="object"){s=0;for(e in t)if(bo.call(t,e)&&++s&&!bo.call(A,e)||!(e in A)||!kr(t[e],A[e]))return!1;return Object.keys(A).length===s}}return t!==t&&A!==A}const xe=new WeakMap,Ue=()=>{},RA=Ue(),Gr=Object,P=t=>t===RA,ue=t=>typeof t=="function",Le=(t,A)=>({...t,...A}),vo=t=>ue(t.then),Mr={},Cs={},Vr="undefined",Lt=typeof window!=Vr,Nr=typeof document!=Vr,Oc=Lt&&"Deno"in window,Kc=()=>Lt&&typeof window.requestAnimationFrame!=Vr,Ho=(t,A)=>{const e=xe.get(t);return[()=>!P(A)&&t.get(A)||Mr,s=>{if(!P(A)){const r=t.get(A);A in Cs||(Cs[A]=r),e[5](A,Le(r,s),r||Mr)}},e[6],()=>!P(A)&&A in Cs?Cs[A]:!P(A)&&t.get(A)||Mr]};let _r=!0;const Dc=()=>_r,[Pr,jr]=Lt&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Ue,Ue],Rc=()=>{const t=Nr&&document.visibilityState;return P(t)||t!=="hidden"},kc=t=>(Nr&&document.addEventListener("visibilitychange",t),Pr("focus",t),()=>{Nr&&document.removeEventListener("visibilitychange",t),jr("focus",t)}),Gc=t=>{const A=()=>{_r=!0,t()},e=()=>{_r=!1};return Pr("online",A),Pr("offline",e),()=>{jr("online",A),jr("offline",e)}},Mc={isOnline:Dc,isVisible:Rc},Vc={initFocus:kc,initReconnect:Gc},Io=!Q.useId,nt=!Lt||Oc,Nc=t=>Kc()?window.requestAnimationFrame(t):setTimeout(t,1),Wr=nt?Q.useEffect:Q.useLayoutEffect,Xr=typeof navigator<"u"&&navigator.connection,So=!nt&&Xr&&(["slow-2g","2g"].includes(Xr.effectiveType)||Xr.saveData),Qs=new WeakMap,_c=t=>Gr.prototype.toString.call(t),zr=(t,A)=>t===`[object ${A}]`;let Pc=0;const Jr=t=>{const A=typeof t,e=_c(t),s=zr(e,"Date"),r=zr(e,"RegExp"),n=zr(e,"Object");let o,a;if(Gr(t)===t&&!s&&!r){if(o=Qs.get(t),o)return o;if(o=++Pc+"~",Qs.set(t,o),Array.isArray(t)){for(o="@",a=0;a<t.length;a++)o+=Jr(t[a])+",";Qs.set(t,o)}if(n){o="#";const c=Gr.keys(t).sort();for(;!P(a=c.pop());)P(t[a])||(o+=a+":"+Jr(t[a])+",");Qs.set(t,o)}}else o=s?t.toJSON():A=="symbol"?t.toString():A=="string"?JSON.stringify(t):""+t;return o},Yr=t=>{if(ue(t))try{t=t()}catch{t=""}const A=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?Jr(t):"",[t,A]};let jc=0;const Zr=()=>++jc;async function Lo(...t){const[A,e,s,r]=t,n=Le({populateCache:!0,throwOnError:!0},typeof r=="boolean"?{revalidate:r}:r||{});let o=n.populateCache;const a=n.rollbackOnError;let c=n.optimisticData;const g=f=>typeof a=="function"?a(f):a!==!1,l=n.throwOnError;if(ue(e)){const f=e,h=[],w=A.keys();for(const C of w)!/^\$(inf|sub)\$/.test(C)&&f(A.get(C)._k)&&h.push(C);return Promise.all(h.map(B))}return B(e);async function B(f){const[h]=Yr(f);if(!h)return;const[w,C]=Ho(A,h),[F,y,m,T]=xe.get(A),H=()=>{const $=F[h];return(ue(n.revalidate)?n.revalidate(w().data,f):n.revalidate!==!1)&&(delete m[h],delete T[h],$&&$[0])?$[0](yo).then(()=>w().data):w().data};if(t.length<3)return H();let I=s,K,_=!1;const W=Zr();y[h]=[W,0];const R=!P(c),lA=w(),vA=lA.data,N=lA._c,yA=P(N)?vA:N;if(R&&(c=ue(c)?c(yA,vA):c,C({data:c,_c:yA})),ue(I))try{I=I(yA)}catch($){K=$,_=!0}if(I&&vo(I))if(I=await I.catch($=>{K=$,_=!0}),W!==y[h][0]){if(_)throw K;return I}else _&&R&&g(K)&&(o=!0,C({data:yA,_c:RA}));if(o&&!_)if(ue(o)){const $=o(I,yA);C({data:$,error:RA,_c:RA})}else C({data:I,error:RA,_c:RA});if(y[h][1]=Zr(),Promise.resolve(H()).then(()=>{C({_c:RA})}),_){if(l)throw K;return}return I}}const To=(t,A)=>{for(const e in t)t[e][0]&&t[e][0](A)},Wc=(t,A)=>{if(!xe.has(t)){const e=Le(Vc,A),s=Object.create(null),r=Lo.bind(RA,t);let n=Ue;const o=Object.create(null),a=(l,B)=>{const f=o[l]||[];return o[l]=f,f.push(B),()=>f.splice(f.indexOf(B),1)},c=(l,B,f)=>{t.set(l,B);const h=o[l];if(h)for(const w of h)w(B,f)},g=()=>{if(!xe.has(t)&&(xe.set(t,[s,Object.create(null),Object.create(null),Object.create(null),r,c,a]),!nt)){const l=e.initFocus(setTimeout.bind(RA,To.bind(RA,s,Uo))),B=e.initReconnect(setTimeout.bind(RA,To.bind(RA,s,Fo)));n=()=>{l&&l(),B&&B(),xe.delete(t)}}};return g(),[t,r,g,n]}return[t,xe.get(t)[4]]},Xc=(t,A,e,s,r)=>{const n=e.errorRetryCount,o=r.retryCount,a=~~((Math.random()+.5)*(1<<(o<8?o:8)))*e.errorRetryInterval;!P(n)&&o>n||setTimeout(s,a,r)},zc=kr,[Oo,Jc]=Wc(new Map),Yc=Le({onLoadingSlow:Ue,onSuccess:Ue,onError:Ue,onErrorRetry:Xc,onDiscarded:Ue,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:So?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:So?5e3:3e3,compare:zc,isPaused:()=>!1,cache:Oo,mutate:Jc,fallback:{}},Mc),Zc=(t,A)=>{const e=Le(t,A);if(A){const{use:s,fallback:r}=t,{use:n,fallback:o}=A;s&&n&&(e.use=s.concat(n)),r&&o&&(e.fallback=Le(r,o))}return e},$c=Q.createContext({}),qc="$inf$",Ko=Lt&&window.__SWR_DEVTOOLS_USE__,Al=Ko?window.__SWR_DEVTOOLS_USE__:[],el=()=>{Ko&&(window.__SWR_DEVTOOLS_REACT__=Q)},tl=t=>ue(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],Do=()=>{const t=Q.useContext($c);return Q.useMemo(()=>Le(Yc,t),[t])},sl=t=>(A,e,s)=>t(A,e&&((...n)=>{const[o]=Yr(A),[,,,a]=xe.get(Oo);if(o.startsWith(qc))return e(...n);const c=a[o];return P(c)?e(...n):(delete a[o],c)}),s),rl=Al.concat(sl),nl=t=>function(...e){const s=Do(),[r,n,o]=tl(e),a=Zc(s,o);let c=t;const{use:g}=a,l=(g||[]).concat(rl);for(let B=l.length;B--;)c=l[B](c);return c(r,n||a.fetcher||null,a)},ol=(t,A,e)=>{const s=A[t]||(A[t]=[]);return s.push(e),()=>{const r=s.indexOf(e);r>=0&&(s[r]=s[s.length-1],s.pop())}};el();const $r=Q.use||(t=>{switch(t.status){case"pending":throw t;case"fulfilled":return t.value;case"rejected":throw t.reason;default:throw t.status="pending",t.then(A=>{t.status="fulfilled",t.value=A},A=>{t.status="rejected",t.reason=A}),t}}),qr={dedupe:!0},Ro=Promise.resolve(RA),al=()=>Ue,ko=nl((t,A,e)=>{const{cache:s,compare:r,suspense:n,fallbackData:o,revalidateOnMount:a,revalidateIfStale:c,refreshInterval:g,refreshWhenHidden:l,refreshWhenOffline:B,keepPreviousData:f,strictServerPrefetchWarning:h}=e,[w,C,F,y]=xe.get(s),[m,T]=Yr(t),H=Q.useRef(!1),I=Q.useRef(!1),K=Q.useRef(m),_=Q.useRef(A),W=Q.useRef(e),R=()=>W.current,lA=()=>R().isVisible()&&R().isOnline(),[vA,N,yA,$]=Ho(s,m),HA=Q.useRef({}).current,X=P(o)?P(e.fallback)?RA:e.fallback[m]:o,JA=(eA,fA)=>{for(const hA in HA){const dA=hA;if(dA==="data"){if(!r(eA[dA],fA[dA])&&(!P(eA[dA])||!r(He,fA[dA])))return!1}else if(fA[dA]!==eA[dA])return!1}return!0},ie=!H.current,_e=Q.useMemo(()=>{const eA=vA(),fA=$(),hA=BA=>{const VA=Le(BA);return delete VA._k,(()=>{if(!m||!A||R().isPaused())return!1;if(ie&&!P(a))return a;const ZA=P(X)?VA.data:X;return P(ZA)||c})()?{isValidating:!0,isLoading:!0,...VA}:VA},dA=hA(eA),se=eA===fA?dA:hA(fA);let aA=dA;return[()=>{const BA=hA(vA());return JA(BA,aA)?(aA.data=BA.data,aA.isLoading=BA.isLoading,aA.isValidating=BA.isValidating,aA.error=BA.error,aA):(aA=BA,BA)},()=>se]},[s,m]),te=xo.useSyncExternalStore(Q.useCallback(eA=>yA(m,(fA,hA)=>{JA(hA,fA)||eA()}),[s,m]),_e[0],_e[1]),U=w[m]&&w[m].length>0,k=te.data,z=P(k)?X&&vo(X)?$r(X):X:k,q=te.error,YA=Q.useRef(z),He=f?P(k)?P(YA.current)?z:YA.current:k:z,AA=m&&P(z),DA=Q.useRef(null);!nt&&xo.useSyncExternalStore(al,()=>(DA.current=!1,DA),()=>(DA.current=!0,DA));const ge=DA.current;h&&ge&&!n&&AA&&console.warn(`Missing pre-initiated data for serialized key "${m}" during server-side rendering. Data fetching should be initiated on the server and provided to SWR via fallback data. You can set "strictServerPrefetchWarning: false" to disable this warning.`);const MA=!m||!A||R().isPaused()||U&&!P(q)?!1:ie&&!P(a)?a:n?P(z)?!1:c:P(z)||c,Ce=ie&&MA,PA=P(te.isValidating)?Ce:te.isValidating,Qt=P(te.isLoading)?Ce:te.isLoading,IA=Q.useCallback(async eA=>{const fA=_.current;if(!m||!fA||I.current||R().isPaused())return!1;let hA,dA,se=!0;const aA=eA||{},BA=!F[m]||!aA.dedupe,VA=()=>Io?!I.current&&m===K.current&&H.current:m===K.current,Pe={isValidating:!1,isLoading:!1},ZA=()=>{N(Pe)},ds=()=>{const re=F[m];re&&re[1]===dA&&delete F[m]},oo={isValidating:!0};P(vA().data)&&(oo.isLoading=!0);try{if(BA&&(N(oo),e.loadingTimeout&&P(vA().data)&&setTimeout(()=>{se&&VA()&&R().onLoadingSlow(m,e)},e.loadingTimeout),F[m]=[fA(T),Zr()]),[hA,dA]=F[m],hA=await hA,BA&&setTimeout(ds,e.dedupingInterval),!F[m]||F[m][1]!==dA)return BA&&VA()&&R().onDiscarded(m),!1;Pe.error=RA;const re=C[m];if(!P(re)&&(dA<=re[0]||dA<=re[1]||re[1]===0))return ZA(),BA&&VA()&&R().onDiscarded(m),!1;const tA=vA().data;Pe.data=r(tA,hA)?tA:hA,BA&&VA()&&R().onSuccess(hA,m,e)}catch(re){ds();const tA=R(),{shouldRetryOnError:Ut}=tA;tA.isPaused()||(Pe.error=re,BA&&VA()&&(tA.onError(re,m,tA),(Ut===!0||ue(Ut)&&Ut(re))&&(!R().revalidateOnFocus||!R().revalidateOnReconnect||lA())&&tA.onErrorRetry(re,m,tA,SA=>{const Ft=w[m];Ft&&Ft[0]&&Ft[0](Eo,SA)},{retryCount:(aA.retryCount||0)+1,dedupe:!0})))}return se=!1,ZA(),!0},[m,s]),et=Q.useCallback((...eA)=>Lo(s,K.current,...eA),[]);if(Wr(()=>{_.current=A,W.current=e,P(k)||(YA.current=k)}),Wr(()=>{if(!m)return;const eA=IA.bind(RA,qr);let fA=0;R().revalidateOnFocus&&(fA=Date.now()+R().focusThrottleInterval);const dA=ol(m,w,(se,aA={})=>{if(se==Uo){const BA=Date.now();R().revalidateOnFocus&&BA>fA&&lA()&&(fA=BA+R().focusThrottleInterval,eA())}else if(se==Fo)R().revalidateOnReconnect&&lA()&&eA();else{if(se==yo)return IA();if(se==Eo)return IA(aA)}});return I.current=!1,K.current=m,H.current=!0,N({_k:T}),MA&&(F[m]||(P(z)||nt?eA():Nc(eA))),()=>{I.current=!0,dA()}},[m]),Wr(()=>{let eA;function fA(){const dA=ue(g)?g(vA().data):g;dA&&eA!==-1&&(eA=setTimeout(hA,dA))}function hA(){!vA().error&&(l||R().isVisible())&&(B||R().isOnline())?IA(qr).then(fA):fA()}return fA(),()=>{eA&&(clearTimeout(eA),eA=-1)}},[g,l,B,m]),Q.useDebugValue(He),n){if(!Io&&nt&&AA)throw new Error("Fallback data is required when using Suspense in SSR.");AA&&(_.current=A,W.current=e,I.current=!1);const eA=y[m],fA=!P(eA)&&AA?et(eA):Ro;if($r(fA),!P(q)&&AA)throw q;const hA=AA?IA(qr):Ro;!P(He)&&AA&&(hA.status="fulfilled",hA.value=!0),$r(hA)}return{mutate:et,get data(){return HA.data=!0,He},get error(){return HA.error=!0,q},get isValidating(){return HA.isValidating=!0,PA},get isLoading(){return HA.isLoading=!0,Qt}}}),il=({children:t})=>{const A=Q.useRef(null),[e,s]=Q.useState(null);return Q.useEffect(()=>{if(A.current&&!A.current.shadowRoot){const r=A.current.attachShadow({mode:"open"});document.querySelectorAll("style[data-vite-dev-id], style:not([data-vite-dev-id])").forEach(a=>{(a.textContent?.includes(".vg-")||a.textContent?.includes("--vg-"))&&r.appendChild(a.cloneNode(!0))});const o=document.createElement("link");o.rel="stylesheet",o.href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap",r.appendChild(o),s(r)}},[]),i.jsx("div",{"data-vg-id":"49696d6b","data-source-path":"/src/components/ShadowRootWrapper.tsx:38",ref:A,id:"viewgate-shadow-host",style:{position:"relative",zIndex:2147483647},children:e&&bc.createPortal(t,e)})};const Go=(...t)=>t.filter((A,e,s)=>!!A&&A.trim()!==""&&s.indexOf(A)===e).join(" ").trim();const cl=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const ll=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(A,e,s)=>s?s.toUpperCase():e.toLowerCase());const Mo=t=>{const A=ll(t);return A.charAt(0).toUpperCase()+A.slice(1)};var dl={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const Bl=t=>{for(const A in t)if(A.startsWith("aria-")||A==="role"||A==="title")return!0;return!1};const gl=Q.forwardRef(({color:t="currentColor",size:A=24,strokeWidth:e=2,absoluteStrokeWidth:s,className:r="",children:n,iconNode:o,...a},c)=>Q.createElement("svg",{ref:c,...dl,width:A,height:A,stroke:t,strokeWidth:s?Number(e)*24/Number(A):e,className:Go("lucide",r),...!n&&!Bl(a)&&{"aria-hidden":"true"},...a},[...o.map(([g,l])=>Q.createElement(g,l)),...Array.isArray(n)?n:[n]]));const iA=(t,A)=>{const e=Q.forwardRef(({className:s,...r},n)=>Q.createElement(gl,{ref:n,iconNode:A,className:Go(`lucide-${cl(Mo(t))}`,`lucide-${t}`,s),...r}));return e.displayName=Mo(t),e};const Tt=iA("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);const ul=iA("camera",[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);const Vo=iA("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const fl=iA("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);const je=iA("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const No=iA("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);const An=iA("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const hl=iA("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const Te=iA("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);const pl=iA("grip-vertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);const xs=iA("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);const en=iA("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);const tn=iA("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);const wl=iA("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);const Us=iA("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);const ml=iA("mouse-pointer-2",[["path",{d:"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z",key:"edeuup"}]]);const Ot=iA("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);const Cl=iA("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);const Ql=iA("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);const xl=iA("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);const Fs=iA("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);const Ul=iA("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const Kt=iA("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Fl={en:{enterMode:"Enter Feedback Mode",exitMode:"Exit Mode",completed:"Completed",feedbackHeader:"Feedback",selectedElement:"Selected element:",line:"Line",placeholder:"Tell us what you'd like to change...",cancel:"Cancel",send:"Send Feedback",submitting:"Submitting...",success:"Your feedback has been submitted successfully!",error:"Failed to submit feedback. Check backend connection.",successHeader:"Success",errorHeader:"Error",preview:"Preview",viewComments:"View Comments",close:"Close",observe:"Observe",pending:"Pending",readyForReview:"Ready for Review",noComments:"No comments found.",deleteConfirm:"Delete comment",completeConfirm:"Mark as completed?",confirmComplete:"The ticket will be marked as completed and archived.",markReady:"Mark as Ready for Review",reopen:"Reopen",reopenPlaceholder:"Add a new comment before confirming...",review:"Review",confirmDelete:"Are you sure you want to permanently delete this comment? This action cannot be undone.",markReadyConfirm:"Mark as Ready for Review?",confirmMarkReady:"Do you want to mark this comment as ready for review? it will be moved to the review state.",reopenConfirm:"Reopen comment",confirmReopen:"Do you want to set this comment back to pending status?",yes:"Yes, confirm",no:"No, cancel",deleteSuccess:"Comment deleted successfully.",updateSuccess:"Updated successfully.",navigating:"Redirecting to review...",selectToComment:"Click to comment",feedbackSubheader:"What would you like to improve here?",sendFeedback:"Send Comment",edit:"Edit",save:"Save",commentDetails:"Comment Details",annotations:"Comments",viewAll:"View All",exitConfirmTitle:"Close ViewGate?",exitConfirmMessage:"Are you sure you want to close ViewGate? Remember you can reopen it by pressing ALT once (Normal Mode) or holding it for 1 second (Backlog Mode).",backlog:"Backlog",low:"Low",medium:"Medium",high:"High",urgent:"Urgent",priority:"Priority",login:"Login with Google",authenticating:"Authenticating...",selectMember:"Select who you are to comment",asMember:"Commenting as",changeMember:"Change",focusAreas:"Focus Areas",frontend:"Frontend",backend:"Backend",ux:"UX/UI",figmaLink:"Figma Reference Link",figmaLinkPlaceholder:"https://www.figma.com/file/...",endpoint:"Related Backend Endpoint",selectEndpoint:"Select endpoint...",figmaNamePlaceholder:"e.g. Main Design, Modal, etc.",addLink:"Add another link",removeLink:"Remove",figmaPrimaryDesign:"Principal Design"},es:{enterMode:"Activar Modo Comentarios",exitMode:"Salir del Modo",completed:"Completado",feedbackHeader:"Comentarios",selectedElement:"Elemento seleccionado:",line:"Línea",placeholder:"Cuéntanos qué te gustaría cambiar...",cancel:"Cancelar",send:"Enviar Comentarios",submitting:"Enviando...",success:"¡Tus comentarios se han enviado con éxito!",error:"Error al enviar comentarios. Revisa la conexión con el servidor.",successHeader:"Éxito",errorHeader:"Error",preview:"Vista previa",viewComments:"Ver Comentarios",close:"Cerrar",observe:"Observar",pending:"Pendiente",readyForReview:"Listo para revisión",noComments:"No hay comentarios.",deleteConfirm:"Eliminar comentario",completeConfirm:"¿Completar ticket?",confirmComplete:"El ticket se marcará como completado y se archivará.",markReady:"Marcar como Listo para revisión",reopen:"Reabrir",reopenPlaceholder:"Agrega un nuevo comentario antes de confirmar...",review:"Revisar",confirmDelete:"¿Estás seguro de que deseas eliminar permanentemente este comentario? Esta acción no se puede deshacer.",markReadyConfirm:"¿Listo para revisión?",confirmMarkReady:"¿Deseas marcar este comentario como listo para revisión? Pasará al estado de revisión.",reopenConfirm:"Reabrir comentario",confirmReopen:"¿Deseas volver a poner este comentario en estado pendiente?",yes:"Sí, confirmar",no:"No, cancelar",deleteSuccess:"El comentario ha sido eliminado.",updateSuccess:"Actualizado correctamente.",navigating:"Redirigiendo a revisión...",selectToComment:"Haz clic para comentar",feedbackSubheader:"¿Qué te gustaría mejorar aquí?",sendFeedback:"Enviar Comentario",edit:"Editar",save:"Guardar",commentDetails:"Detalles del Comentario",annotations:"Comentarios",viewAll:"Ver Todos",exitConfirmTitle:"¿Cerrar ViewGate?",exitConfirmMessage:"¿Estás seguro de que deseas cerrar ViewGate? Recuerda que puedes volver a activarlo pulsando una vez la tecla ALT (Modo Normal) o manteniéndola pulsada 1 segundo (Modo Backlog).",backlog:"Backlog",low:"Baja",medium:"Media",high:"Alta",urgent:"Urgente",priority:"Prioridad",login:"Iniciar sesión con Google",authenticating:"Autenticando...",selectMember:"Selecciona quién eres para comentar",asMember:"Comentando como",changeMember:"Cambiar",focusAreas:"Áreas de Foco",frontend:"Frontend",backend:"Backend",ux:"UX/UI",figmaLink:"Link de Referencia Figma",figmaLinkPlaceholder:"https://www.figma.com/file/...",endpoint:"Endpoint de Backend Relacionado",selectEndpoint:"Seleccionar endpoint...",figmaNamePlaceholder:"ej. Diseño Principal, Modal, etc.",addLink:"Agregar otro link",removeLink:"Eliminar",figmaPrimaryDesign:"Diseño Principal"}},_o=Q.createContext(void 0),Po=()=>{const t=Q.useContext(_o);if(!t)throw new Error("useViewGate must be used within a ViewGateProvider");return t},Dt="viewgate_enabled",yl=()=>{if(typeof window>"u")return!1;const t=new URLSearchParams(window.location.search);return t.has("viewgate")||t.has("viewgate-backlog")?(sessionStorage.setItem(Dt,"true"),!0):sessionStorage.getItem(Dt)==="true"},El=({children:t,language:A="es",apiKey:e,baseUrl:s="https://view-gate.vercel.app",dashboardUrl:r})=>{const n=r||(s==="https://view-gate.vercel.app"?"https://view-gate-dashboard.vercel.app":s.includes("localhost:5000")?s.replace("5000","3000"):s),[o,a]=Q.useState(!1),[c,g]=Q.useState([]);Q.useRef(0);const l=Q.useRef(null),B=Q.useRef(!1);Q.useEffect(()=>{a(yl());const C=y=>{y.key==="Alt"&&!y.repeat&&(y.preventDefault(),B.current=!1,l.current&&clearTimeout(l.current),l.current=setTimeout(()=>{const m=new URL(window.location.href);m.searchParams.delete("viewgate"),m.searchParams.set("viewgate-backlog","true"),window.history.replaceState({},"",m.toString()),a(!0),sessionStorage.setItem(Dt,"true"),window.dispatchEvent(new PopStateEvent("popstate")),h(A==="es"?"Modo Backlog activado":"Backlog Mode activated","success"),B.current=!0,l.current=null},1e3))},F=y=>{if(y.key==="Alt"&&(y.preventDefault(),l.current)){clearTimeout(l.current),l.current=null;const m=new URL(window.location.href);m.searchParams.delete("viewgate-backlog"),m.searchParams.set("viewgate","true"),window.history.replaceState({},"",m.toString()),a(!0),sessionStorage.setItem(Dt,"true"),window.dispatchEvent(new PopStateEvent("popstate")),h(A==="es"?"Modo Normal activado":"Normal Mode activated","success")}};return window.addEventListener("keydown",C),window.addEventListener("keyup",F),()=>{window.removeEventListener("keydown",C),window.removeEventListener("keyup",F)}},[A]);const f=()=>{if(sessionStorage.removeItem(Dt),a(!1),typeof window<"u"){const C=new URL(window.location.href);C.searchParams.delete("viewgate"),window.history.replaceState({},"",C.toString())}},h=(C,F)=>{const y=Date.now();g(m=>[...m,{id:y,message:C,type:F}]),setTimeout(()=>{g(m=>m.filter(T=>T.id!==y))},4e3)},w=Fl[A];return i.jsxs(_o.Provider,{"data-vg-id":"89da3486","data-source-path":"/src/components/ViewGateProvider.tsx:371",value:{addToast:h,language:A,t:w,apiKey:e,baseUrl:s,dashboardUrl:n,disableViewGate:f,hasActiveToasts:c.length>0},children:[t,o&&i.jsx(il,{"data-vg-id":"f1499d3a","data-source-path":"/src/components/ViewGateProvider.tsx:383",children:i.jsxs("div",{"data-vg-id":"1bedb79b","data-source-path":"/src/components/ViewGateProvider.tsx:384",className:"vg-container",children:[i.jsx(dc,{"data-vg-id":"d3f262cb","data-source-path":"/src/components/ViewGateProvider.tsx:385"}),i.jsx("div",{"data-vg-id":"1bedb79d","data-source-path":"/src/components/ViewGateProvider.tsx:386",className:"vg-toasts",style:{zIndex:2147483647},children:c.map(C=>i.jsxs("div",{"data-vg-id":"1bedb79e","data-source-path":"/src/components/ViewGateProvider.tsx:388",className:`vg-toast vg-animate-slide ${C.type}`,children:[C.type==="success"?i.jsx(je,{"data-vg-id":"c7ae3b26","data-source-path":"/src/components/ViewGateProvider.tsx:390",size:24,color:"#22c55e"}):C.type==="warning"?i.jsx(Ul,{"data-vg-id":"137eb473","data-source-path":"/src/components/ViewGateProvider.tsx:392",size:24,color:"#f59e0b"}):i.jsx(fl,{"data-vg-id":"e7ad3c7c","data-source-path":"/src/components/ViewGateProvider.tsx:394",size:24,color:"#ef4444"}),i.jsxs("div",{"data-vg-id":"61c93bb7","data-source-path":"/src/components/ViewGateProvider.tsx:396",children:[i.jsx("strong",{"data-vg-id":"29b8e974","data-source-path":"/src/components/ViewGateProvider.tsx:397",style:{display:"block",fontSize:"13px",color:"#0f172a",textTransform:"uppercase",marginBottom:"2px"},children:C.type==="success"?w.successHeader:C.type==="warning"?A==="es"?"Aviso":"Warning":w.errorHeader}),i.jsx("span",{"data-vg-id":"fbbd7822","data-source-path":"/src/components/ViewGateProvider.tsx:400",style:{fontSize:"14px",color:"#000000"},children:C.message})]})]},C.id))})]})})]})};class kA{constructor(A,e,s,r){this.left=A,this.top=e,this.width=s,this.height=r}add(A,e,s,r){return new kA(this.left+A,this.top+e,this.width+s,this.height+r)}static fromClientRect(A,e){return new kA(e.left+A.windowBounds.left,e.top+A.windowBounds.top,e.width,e.height)}static fromDOMRectList(A,e){const s=Array.from(e);let r=s.find(n=>n.width!==0);return r||(r=s.find(n=>n.height!==0)),!r&&s.length>0&&(r=s[0]),r?new kA(r.left+A.windowBounds.left,r.top+A.windowBounds.top,r.width,r.height):kA.EMPTY}}kA.EMPTY=new kA(0,0,0,0);const ys=(t,A)=>kA.fromClientRect(t,A.getBoundingClientRect()),bl=t=>{const A=t.body,e=t.documentElement;if(!A||!e)throw new Error("Unable to get document size");const s=Math.max(Math.max(A.scrollWidth,e.scrollWidth),Math.max(A.offsetWidth,e.offsetWidth),Math.max(A.clientWidth,e.clientWidth)),r=Math.max(Math.max(A.scrollHeight,e.scrollHeight),Math.max(A.offsetHeight,e.offsetHeight),Math.max(A.clientHeight,e.clientHeight));return new kA(0,0,s,r)};for(var Es=function(t){for(var A=[],e=0,s=t.length;e<s;){var r=t.charCodeAt(e++);if(r>=55296&&r<=56319&&e<s){var n=t.charCodeAt(e++);(n&64512)===56320?A.push(((r&1023)<<10)+(n&1023)+65536):(A.push(r),e--)}else A.push(r)}return A},mA=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var s=[],r=-1,n="";++r<e;){var o=t[r];o<=65535?s.push(o):(o-=65536,s.push((o>>10)+55296,o%1024+56320)),(r+1===e||s.length>16384)&&(n+=String.fromCharCode.apply(String,s),s.length=0)}return n},jo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vl=typeof Uint8Array>"u"?[]:new Uint8Array(256),bs=0;bs<jo.length;bs++)vl[jo.charCodeAt(bs)]=bs;for(var Wo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Rt=typeof Uint8Array>"u"?[]:new Uint8Array(256),vs=0;vs<Wo.length;vs++)Rt[Wo.charCodeAt(vs)]=vs;for(var Hl=function(t){var A=t.length*.75,e=t.length,s,r=0,n,o,a,c;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var g=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),l=Array.isArray(g)?g:new Uint8Array(g);for(s=0;s<e;s+=4)n=Rt[t.charCodeAt(s)],o=Rt[t.charCodeAt(s+1)],a=Rt[t.charCodeAt(s+2)],c=Rt[t.charCodeAt(s+3)],l[r++]=n<<2|o>>4,l[r++]=(o&15)<<4|a>>2,l[r++]=(a&3)<<6|c&63;return g},Il=function(t){for(var A=t.length,e=[],s=0;s<A;s+=2)e.push(t[s+1]<<8|t[s]);return e},Sl=function(t){for(var A=t.length,e=[],s=0;s<A;s+=4)e.push(t[s+3]<<24|t[s+2]<<16|t[s+1]<<8|t[s]);return e},We=5,sn=11,rn=2,Ll=sn-We,Xo=65536>>We,Tl=1<<We,nn=Tl-1,Ol=1024>>We,Kl=Xo+Ol,Dl=Kl,Rl=32,kl=Dl+Rl,Gl=65536>>sn,Ml=1<<Ll,Vl=Ml-1,zo=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},Nl=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},_l=function(t,A){var e=Hl(t),s=Array.isArray(e)?Sl(e):new Uint32Array(e),r=Array.isArray(e)?Il(e):new Uint16Array(e),n=24,o=zo(r,n/2,s[4]/2),a=s[5]===2?zo(r,(n+s[4])/2):Nl(s,Math.ceil((n+s[4])/4));return new Pl(s[0],s[1],s[2],s[3],o,a)},Pl=(function(){function t(A,e,s,r,n,o){this.initialValue=A,this.errorValue=e,this.highStart=s,this.highValueIndex=r,this.index=n,this.data=o}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>We],e=(e<<rn)+(A&nn),this.data[e];if(A<=65535)return e=this.index[Xo+(A-55296>>We)],e=(e<<rn)+(A&nn),this.data[e];if(A<this.highStart)return e=kl-Gl+(A>>sn),e=this.index[e],e+=A>>We&Vl,e=this.index[e],e=(e<<rn)+(A&nn),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),Jo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",jl=typeof Uint8Array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9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywH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IggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAH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AMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwAD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AB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAU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0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcA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AAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFU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ABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgA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EAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlAC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gAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",Yo=50,Xl=1,Zo=2,$o=3,zl=4,Jl=5,qo=7,Aa=8,ea=9,Oe=10,on=11,ta=12,an=13,Yl=14,kt=15,cn=16,Is=17,Gt=18,Zl=19,sa=20,ln=21,Mt=22,dn=23,ot=24,Ae=25,Vt=26,Nt=27,at=28,$l=29,Xe=30,ql=31,Ss=32,Ls=33,Bn=34,gn=35,un=36,_t=37,fn=38,Ts=39,Os=40,hn=41,ra=42,Ad=43,ed=[9001,65288],na="!",j="×",Ks="÷",pn=_l(Wl),Fe=[Xe,un],wn=[Xl,Zo,$o,Jl],oa=[Oe,Aa],aa=[Nt,Vt],td=wn.concat(oa),ia=[fn,Ts,Os,Bn,gn],sd=[kt,an],rd=function(t,A){A===void 0&&(A="strict");var e=[],s=[],r=[];return t.forEach(function(n,o){var a=pn.get(n);if(a>Yo?(r.push(!0),a-=Yo):r.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(n)!==-1)return s.push(o),e.push(cn);if(a===zl||a===on){if(o===0)return s.push(o),e.push(Xe);var c=e[o-1];return td.indexOf(c)===-1?(s.push(s[o-1]),e.push(c)):(s.push(o),e.push(Xe))}if(s.push(o),a===ql)return e.push(A==="strict"?ln:_t);if(a===ra||a===$l)return e.push(Xe);if(a===Ad)return n>=131072&&n<=196605||n>=196608&&n<=262141?e.push(_t):e.push(Xe);e.push(a)}),[s,e,r]},mn=function(t,A,e,s){var r=s[e];if(Array.isArray(t)?t.indexOf(r)!==-1:t===r)for(var n=e;n<=s.length;){n++;var o=s[n];if(o===A)return!0;if(o!==Oe)break}if(r===Oe)for(var n=e;n>0;){n--;var a=s[n];if(Array.isArray(t)?t.indexOf(a)!==-1:t===a)for(var c=e;c<=s.length;){c++;var o=s[c];if(o===A)return!0;if(o!==Oe)break}if(a!==Oe)break}return!1},ca=function(t,A){for(var e=t;e>=0;){var s=A[e];if(s===Oe)e--;else return s}return 0},nd=function(t,A,e,s,r){if(e[s]===0)return j;var n=s-1;if(Array.isArray(r)&&r[n]===!0)return j;var o=n-1,a=n+1,c=A[n],g=o>=0?A[o]:0,l=A[a];if(c===Zo&&l===$o)return j;if(wn.indexOf(c)!==-1)return na;if(wn.indexOf(l)!==-1||oa.indexOf(l)!==-1)return j;if(ca(n,A)===Aa)return Ks;if(pn.get(t[n])===on||(c===Ss||c===Ls)&&pn.get(t[a])===on||c===qo||l===qo||c===ea||[Oe,an,kt].indexOf(c)===-1&&l===ea||[Is,Gt,Zl,ot,at].indexOf(l)!==-1||ca(n,A)===Mt||mn(dn,Mt,n,A)||mn([Is,Gt],ln,n,A)||mn(ta,ta,n,A))return j;if(c===Oe)return Ks;if(c===dn||l===dn)return j;if(l===cn||c===cn)return Ks;if([an,kt,ln].indexOf(l)!==-1||c===Yl||g===un&&sd.indexOf(c)!==-1||c===at&&l===un||l===sa||Fe.indexOf(l)!==-1&&c===Ae||Fe.indexOf(c)!==-1&&l===Ae||c===Nt&&[_t,Ss,Ls].indexOf(l)!==-1||[_t,Ss,Ls].indexOf(c)!==-1&&l===Vt||Fe.indexOf(c)!==-1&&aa.indexOf(l)!==-1||aa.indexOf(c)!==-1&&Fe.indexOf(l)!==-1||[Nt,Vt].indexOf(c)!==-1&&(l===Ae||[Mt,kt].indexOf(l)!==-1&&A[a+1]===Ae)||[Mt,kt].indexOf(c)!==-1&&l===Ae||c===Ae&&[Ae,at,ot].indexOf(l)!==-1)return j;if([Ae,at,ot,Is,Gt].indexOf(l)!==-1)for(var B=n;B>=0;){var f=A[B];if(f===Ae)return j;if([at,ot].indexOf(f)!==-1)B--;else break}if([Nt,Vt].indexOf(l)!==-1)for(var B=[Is,Gt].indexOf(c)!==-1?o:n;B>=0;){var f=A[B];if(f===Ae)return j;if([at,ot].indexOf(f)!==-1)B--;else break}if(fn===c&&[fn,Ts,Bn,gn].indexOf(l)!==-1||[Ts,Bn].indexOf(c)!==-1&&[Ts,Os].indexOf(l)!==-1||[Os,gn].indexOf(c)!==-1&&l===Os||ia.indexOf(c)!==-1&&[sa,Vt].indexOf(l)!==-1||ia.indexOf(l)!==-1&&c===Nt||Fe.indexOf(c)!==-1&&Fe.indexOf(l)!==-1||c===ot&&Fe.indexOf(l)!==-1||Fe.concat(Ae).indexOf(c)!==-1&&l===Mt&&ed.indexOf(t[a])===-1||Fe.concat(Ae).indexOf(l)!==-1&&c===Gt)return j;if(c===hn&&l===hn){for(var h=e[n],w=1;h>0&&(h--,A[h]===hn);)w++;if(w%2!==0)return j}return c===Ss&&l===Ls?j:Ks},od=function(t,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var e=rd(t,A.lineBreak),s=e[0],r=e[1],n=e[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(r=r.map(function(a){return[Ae,Xe,ra].indexOf(a)!==-1?_t:a}));var o=A.wordBreak==="keep-all"?n.map(function(a,c){return a&&t[c]>=19968&&t[c]<=40959}):void 0;return[s,r,o]},ad=(function(){function t(A,e,s,r){this.codePoints=A,this.required=e===na,this.start=s,this.end=r}return t.prototype.slice=function(){return mA.apply(void 0,this.codePoints.slice(this.start,this.end))},t})(),id=function(t,A){var e=Es(t),s=od(e,A),r=s[0],n=s[1],o=s[2],a=e.length,c=0,g=0;return{next:function(){if(g>=a)return{done:!0,value:null};for(var l=j;g<a&&(l=nd(e,n,r,++g,o))===j;);if(l!==j||g===a){var B=new ad(e,l,c,g);return c=g,{value:B,done:!1}}return{done:!0,value:null}}}};const cd=1,ld=2,it=4,la=8,Ds=10,da=47,Pt=92,dd=9,Bd=32,Rs=34,jt=61,gd=35,ud=36,fd=37,ks=39,Gs=40,Wt=41,hd=95,WA=45,pd=33,wd=60,md=62,Cd=64,Qd=91,xd=93,Ud=61,Fd=123,Ms=63,yd=125,Ba=124,Ed=126,bd=128,ga=65533,Cn=42,ze=43,vd=44,Hd=58,Id=59,Xt=46,Sd=0,Ld=8,Td=11,Od=14,Kd=31,Dd=127,fe=-1,ua=48,fa=97,ha=101,Rd=102,kd=117,Gd=122,pa=65,wa=69,ma=70,Md=85,Vd=90,GA=t=>t>=ua&&t<=57,Nd=t=>t>=55296&&t<=57343,ct=t=>GA(t)||t>=pa&&t<=ma||t>=fa&&t<=Rd,_d=t=>t>=fa&&t<=Gd,Pd=t=>t>=pa&&t<=Vd,jd=t=>_d(t)||Pd(t),Wd=t=>t>=bd,Vs=t=>t===Ds||t===dd||t===Bd,Ns=t=>jd(t)||Wd(t)||t===hd,Ca=t=>Ns(t)||GA(t)||t===WA,Xd=t=>t>=Sd&&t<=Ld||t===Td||t>=Od&&t<=Kd||t===Dd,Ke=(t,A)=>t!==Pt?!1:A!==Ds,_s=(t,A,e)=>t===WA?Ns(A)||Ke(A,e):Ns(t)?!0:!!(t===Pt&&Ke(t,A)),Qn=(t,A,e)=>t===ze||t===WA?GA(A)?!0:A===Xt&&GA(e):GA(t===Xt?A:t),zd=t=>{let A=0,e=1;(t[A]===ze||t[A]===WA)&&(t[A]===WA&&(e=-1),A++);const s=[];for(;GA(t[A]);)s.push(t[A++]);const r=s.length?parseInt(mA(...s),10):0;t[A]===Xt&&A++;const n=[];for(;GA(t[A]);)n.push(t[A++]);const o=n.length,a=o?parseInt(mA(...n),10):0;(t[A]===wa||t[A]===ha)&&A++;let c=1;(t[A]===ze||t[A]===WA)&&(t[A]===WA&&(c=-1),A++);const g=[];for(;GA(t[A]);)g.push(t[A++]);const l=g.length?parseInt(mA(...g),10):0;return e*(r+a*Math.pow(10,-o))*Math.pow(10,c*l)},Jd={type:2},Yd={type:3},Zd={type:4},$d={type:13},qd={type:8},AB={type:21},eB={type:9},tB={type:10},sB={type:11},rB={type:12},nB={type:14},Ps={type:23},oB={type:1},aB={type:25},iB={type:24},cB={type:26},lB={type:27},dB={type:28},BB={type:29},gB={type:31},xn={type:32};class Qa{constructor(){this._value=[]}write(A){this._value=this._value.concat(Es(A))}read(){const A=[];let e=this.consumeToken();for(;e!==xn;)A.push(e),e=this.consumeToken();return A}consumeToken(){const A=this.consumeCodePoint();switch(A){case Rs:return this.consumeStringToken(Rs);case gd:const e=this.peekCodePoint(0),s=this.peekCodePoint(1),r=this.peekCodePoint(2);if(Ca(e)||Ke(s,r)){const h=_s(e,s,r)?ld:cd;return{type:5,value:this.consumeName(),flags:h}}break;case ud:if(this.peekCodePoint(0)===jt)return this.consumeCodePoint(),$d;break;case ks:return this.consumeStringToken(ks);case Gs:return Jd;case Wt:return Yd;case Cn:if(this.peekCodePoint(0)===jt)return this.consumeCodePoint(),nB;break;case ze:if(Qn(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case vd:return Zd;case WA:const n=A,o=this.peekCodePoint(0),a=this.peekCodePoint(1);if(Qn(n,o,a))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(_s(n,o,a))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(o===WA&&a===md)return this.consumeCodePoint(),this.consumeCodePoint(),iB;break;case Xt:if(Qn(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case da:if(this.peekCodePoint(0)===Cn)for(this.consumeCodePoint();;){let h=this.consumeCodePoint();if(h===Cn&&(h=this.consumeCodePoint(),h===da))return this.consumeToken();if(h===fe)return this.consumeToken()}break;case Hd:return cB;case Id:return lB;case wd:if(this.peekCodePoint(0)===pd&&this.peekCodePoint(1)===WA&&this.peekCodePoint(2)===WA)return this.consumeCodePoint(),this.consumeCodePoint(),aB;break;case Cd:const c=this.peekCodePoint(0),g=this.peekCodePoint(1),l=this.peekCodePoint(2);if(_s(c,g,l))return{type:7,value:this.consumeName()};break;case Qd:return dB;case Pt:if(Ke(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case xd:return BB;case Ud:if(this.peekCodePoint(0)===jt)return this.consumeCodePoint(),qd;break;case Fd:return sB;case yd:return rB;case kd:case Md:const B=this.peekCodePoint(0),f=this.peekCodePoint(1);return B===ze&&(ct(f)||f===Ms)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Ba:if(this.peekCodePoint(0)===jt)return this.consumeCodePoint(),eB;if(this.peekCodePoint(0)===Ba)return this.consumeCodePoint(),AB;break;case Ed:if(this.peekCodePoint(0)===jt)return this.consumeCodePoint(),tB;break;case fe:return xn}return Vs(A)?(this.consumeWhiteSpace(),gB):GA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):Ns(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:mA(A)}}consumeCodePoint(){const A=this._value.shift();return typeof A>"u"?-1:A}reconsumeCodePoint(A){this._value.unshift(A)}peekCodePoint(A){return A>=this._value.length?-1:this._value[A]}consumeUnicodeRangeToken(){const A=[];let e=this.consumeCodePoint();for(;ct(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();let s=!1;for(;e===Ms&&A.length<6;)A.push(e),e=this.consumeCodePoint(),s=!0;if(s){const n=parseInt(mA(...A.map(a=>a===Ms?ua:a)),16),o=parseInt(mA(...A.map(a=>a===Ms?ma:a)),16);return{type:30,start:n,end:o}}const r=parseInt(mA(...A),16);if(this.peekCodePoint(0)===WA&&ct(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();const n=[];for(;ct(e)&&n.length<6;)n.push(e),e=this.consumeCodePoint();const o=parseInt(mA(...n),16);return{type:30,start:r,end:o}}else return{type:30,start:r,end:r}}consumeIdentLikeToken(){const A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===Gs?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Gs?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}}consumeUrlToken(){const A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===fe)return{type:22,value:""};const e=this.peekCodePoint(0);if(e===ks||e===Rs){const s=this.consumeStringToken(this.consumeCodePoint());return s.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===fe||this.peekCodePoint(0)===Wt)?(this.consumeCodePoint(),{type:22,value:s.value}):(this.consumeBadUrlRemnants(),Ps)}for(;;){const s=this.consumeCodePoint();if(s===fe||s===Wt)return{type:22,value:mA(...A)};if(Vs(s))return this.consumeWhiteSpace(),this.peekCodePoint(0)===fe||this.peekCodePoint(0)===Wt?(this.consumeCodePoint(),{type:22,value:mA(...A)}):(this.consumeBadUrlRemnants(),Ps);if(s===Rs||s===ks||s===Gs||Xd(s))return this.consumeBadUrlRemnants(),Ps;if(s===Pt)if(Ke(s,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Ps;else A.push(s)}}consumeWhiteSpace(){for(;Vs(this.peekCodePoint(0));)this.consumeCodePoint()}consumeBadUrlRemnants(){for(;;){const A=this.consumeCodePoint();if(A===Wt||A===fe)return;Ke(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}}consumeStringSlice(A){let s="";for(;A>0;){const r=Math.min(5e4,A);s+=mA(...this._value.splice(0,r)),A-=r}return this._value.shift(),s}consumeStringToken(A){let e="",s=0;do{const r=this._value[s];if(r===fe||r===void 0||r===A)return e+=this.consumeStringSlice(s),{type:0,value:e};if(r===Ds)return this._value.splice(0,s),oB;if(r===Pt){const n=this._value[s+1];n!==fe&&n!==void 0&&(n===Ds?(e+=this.consumeStringSlice(s),s=-1,this._value.shift()):Ke(r,n)&&(e+=this.consumeStringSlice(s),e+=mA(this.consumeEscapedCodePoint()),s=-1))}s++}while(!0)}consumeNumber(){const A=[];let e=it,s=this.peekCodePoint(0);for((s===ze||s===WA)&&A.push(this.consumeCodePoint());GA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());s=this.peekCodePoint(0);let r=this.peekCodePoint(1);if(s===Xt&&GA(r))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=la;GA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());s=this.peekCodePoint(0),r=this.peekCodePoint(1);const n=this.peekCodePoint(2);if((s===wa||s===ha)&&((r===ze||r===WA)&&GA(n)||GA(r)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=la;GA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[zd(A),e]}consumeNumericToken(){const[A,e]=this.consumeNumber(),s=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(_s(s,r,n)){const o=this.consumeName();return{type:15,number:A,flags:e,unit:o}}return s===fd?(this.consumeCodePoint(),{type:16,number:A,flags:e}):{type:17,number:A,flags:e}}consumeEscapedCodePoint(){const A=this.consumeCodePoint();if(ct(A)){let e=mA(A);for(;ct(this.peekCodePoint(0))&&e.length<6;)e+=mA(this.consumeCodePoint());Vs(this.peekCodePoint(0))&&this.consumeCodePoint();const s=parseInt(e,16);return s===0||Nd(s)||s>1114111?ga:s}return A===fe?ga:A}consumeName(){let A="";for(;;){const e=this.consumeCodePoint();if(Ca(e))A+=mA(e);else if(Ke(e,this.peekCodePoint(0)))A+=mA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(e),A}}}class lt{constructor(A){this._tokens=A}static create(A){const e=new Qa;return e.write(A),new lt(e.read())}static parseValue(A){return lt.create(A).parseComponentValue()}static parseValues(A){return lt.create(A).parseComponentValues()}parseComponentValue(){let A=this.consumeToken();for(;A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);const e=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")}parseComponentValues(){const A=[];for(;;){const e=this.consumeComponentValue();if(e.type===32)return A;A.push(e),A.push()}}consumeComponentValue(){const A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A}consumeSimpleBlock(A){const e={type:A,values:[]};let s=this.consumeToken();for(;;){if(s.type===32||fB(s,A))return e;this.reconsumeToken(s),e.values.push(this.consumeComponentValue()),s=this.consumeToken()}}consumeFunction(A){const e={name:A.value,values:[],type:18};for(;;){const s=this.consumeToken();if(s.type===32||s.type===3)return e;this.reconsumeToken(s),e.values.push(this.consumeComponentValue())}}consumeToken(){const A=this._tokens.shift();return typeof A>"u"?xn:A}reconsumeToken(A){this._tokens.unshift(A)}}const he=t=>t.type===15,UA=t=>t.type===17,V=t=>t.type===20,uB=t=>t.type===0,zt=(t,A)=>V(t)&&t.value===A,js=t=>t.type!==31,OA=t=>t.type!==31&&t.type!==4,ce=t=>{const A=[];let e=[];return t.forEach(s=>{if(s.type===4){if(e.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(e),e=[];return}s.type!==31&&e.push(s)}),e.length&&A.push(e),A},fB=(t,A)=>A===11&&t.type===12||A===28&&t.type===29?!0:A===2&&t.type===3,uA=(t,A,e)=>Math.min(Math.max(t,A),e),XA=(t,A)=>[t[0]*A[0]+t[1]*A[1]+t[2]*A[2],t[3]*A[0]+t[4]*A[1]+t[5]*A[2],t[6]*A[0]+t[7]*A[1]+t[8]*A[2]],De=t=>XA([3.2409699419045226,-1.537383177570094,-.4986107602930034,-.9692436362808796,1.8759675015077202,.04155505740717559,.05563007969699366,-.20397695888897652,1.0569715142428786],t),Un=t=>XA([.41239079926595934,.357584339383878,.1804807884018343,.21263900587151027,.715168678767756,.07219231536073371,.01933081871559182,.11919477979462598,.9505321522496607],t),Je=t=>t.map(A=>{const e=A<0?-1:1,s=Math.abs(A);return s>.0031308?e*(1.055*s**(1/2.4)-.055):12.92*A}),Fn=t=>t.map(A=>{const e=A<0?-1:1,s=Math.abs(A);return s<=.04045?A/12.92:e*((s+.055)/1.055)**2.4}),hB=t=>{const[A,e,s]=Je(De([t[0],t[1],t[2]]));return[A,e,s,t[3]]},pB=t=>{const[A,e,s]=De([t[0],t[1],t[2]]);return[uA(Math.round(A*255),0,255),uA(Math.round(e*255),0,255),uA(Math.round(s*255),0,255),t[3]]},Re=t=>t.type===17||t.type===15,Z=t=>t.type===16||Re(t),wB=t=>t.type===18&&t.name==="calc",mB=(t,A=0)=>{const e=s=>{let r="";for(const n of s)if(n.type!==31){if(n.type===18)if(n.name==="calc"){const o=e(n.values);if(o===null)return null;r+=`(${o})`}else return null;else if(n.type===17)r+=n.number.toString();else if(n.type===15)n.unit==="px"?r+=n.number.toString():n.unit==="rem"||n.unit==="em"?r+=(n.number*16).toString():r+=n.number.toString();else if(n.type===16)r+=(n.number/100*A).toString();else if(n.type===6){const o=n.value;o==="+"||o==="-"||o==="*"||o==="/"?r+=` ${o} `:o==="("?r+="(":o===")"&&(r+=")")}}return r};try{const s=e(t.values);if(s===null||s.trim()==="")return null;const r=new Function("return "+s)();if(typeof r=="number"&&!isNaN(r))return{type:17,number:r,flags:it}}catch{return null}return null},xa=t=>t.length>1?[t[0],t[1]]:[t[0]],FA={type:17,number:0,flags:it},Ye={type:16,number:50,flags:it},pe={type:16,number:100,flags:it},Jt=(t,A,e)=>{const[s,r]=t;return[G(s,A),G(typeof r<"u"?r:s,e)]},G=(t,A)=>{if(t.type===16)return t.number/100*A;if(he(t))switch(t.unit){case"rem":case"em":return 16*t.number;default:return t.number}return t.number},Ua="deg",Fa="grad",ya="rad",Ea="turn",dt={name:"angle",parse:(t,A)=>{if(A.type===15)switch(A.unit){case Ua:return Math.PI*A.number/180;case Fa:return Math.PI/200*A.number;case ya:return A.number;case Ea:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},ba=t=>t.type===15&&(t.unit===Ua||t.unit===Fa||t.unit===ya||t.unit===Ea),va=t=>{switch(t.filter(V).map(e=>e.value).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[FA,FA];case"to top":case"bottom":return ne(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[FA,pe];case"to right":case"left":return ne(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[pe,pe];case"to bottom":case"top":return ne(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[pe,FA];case"to left":case"right":return ne(270)}return 0},ne=t=>Math.PI*t/180,ke=t=>(255&t)===0,rA=t=>{const A=255&t,e=255&t>>8,s=255&t>>16,r=255&t>>24;return A<255?`rgba(${r},${s},${e},${A/255})`:`rgb(${r},${s},${e})`},le=(t,A,e,s)=>(t<<24|A<<16|e<<8|Math.round(s*255)<<0)>>>0,Ge=(t,A)=>{if(t.type===17)return t.number;if(t.type===16){const e=A===3?1:255;return A===3?t.number/100*e:Math.round(t.number/100*e)}return 0},Ze=t=>(t[0].type===20?t[0].value:"unknown")==="from",CB=t=>le(uA(Math.round(t[0]*255),0,255),uA(Math.round(t[1]*255),0,255),uA(Math.round(t[2]*255),0,255),uA(t[3],0,1)),yn=([t,A,e,s])=>{const r=Je([t,A,e]);return le(uA(Math.round(r[0]*255),0,255),uA(Math.round(r[1]*255),0,255),uA(Math.round(r[2]*255),0,255),s)},Yt=t=>{const A=De([t[0],t[1],t[2]]);return yn([A[0],A[1],A[2],t[3]])},QB=(t,A)=>{if(Ze(A.filter(OA)))throw new Error("Relative color not supported for lab()");const[e,s,r,n]=Ws(A),o=Je(De(Js([e,s,r])));return le(uA(Math.round(o[0]*255),0,255),uA(Math.round(o[1]*255),0,255),uA(Math.round(o[2]*255),0,255),n)},xB=(t,A)=>{if(Ze(A.filter(OA)))throw new Error("Relative color not supported for oklab()");const[e,s,r,n]=Ws(A),o=Je(De(zs([e,s,r])));return le(uA(Math.round(o[0]*255),0,255),uA(Math.round(o[1]*255),0,255),uA(Math.round(o[2]*255),0,255),n)},UB=(t,A)=>{if(Ze(A.filter(OA)))throw new Error("Relative color not supported for oklch()");const[e,s,r,n]=La(A),o=Je(De(zs(Xs([e,s,r]))));return le(uA(Math.round(o[0]*255),0,255),uA(Math.round(o[1]*255),0,255),uA(Math.round(o[2]*255),0,255),n)},FB=(t,A)=>{if(Ze(A.filter(OA)))throw new Error("Relative color not supported for lch()");const[e,s,r,n]=Sa(A),o=Je(De(Js(Xs([e,s,r]))));return le(uA(Math.round(o[0]*255),0,255),uA(Math.round(o[1]*255),0,255),uA(Math.round(o[2]*255),0,255),n)},Ha=(t,A)=>{const e=A.filter(OA),[s,r,n,o]=e,a=(s.type===17?ne(s.number):dt.parse(t,s))/(Math.PI*2),c=Z(r)?r.number/100:0,g=Z(n)?n.number/100:0,l=typeof o<"u"&&Z(o)?G(o,1):1;return[a,c,g,l]},Ia=(t,A)=>{if(Ze(A))throw new Error("Relative color not supported for hsl()");const[e,s,r,n]=Ha(t,A),o=Oa([e,s,r]);return le(o[0]*255,o[1]*255,o[2]*255,s===0?1:n)},Sa=t=>{const A=t.filter(OA),e=Z(A[0])?A[0].number:0,s=Z(A[1])?A[1].number:0,r=UA(A[2])||he(A[2])?A[2].number:0,n=typeof A[4]<"u"&&Z(A[4])?G(A[4],1):1;return[e,s,r,n]},Ws=t=>{const A=t.filter(OA),e=A[0].type===16?A[0].number/100:UA(A[0])?A[0].number:0,s=A[1].type===16?A[1].number/100:UA(A[1])?A[1].number:0,r=UA(A[2])||he(A[2])?A[2].number:0,n=typeof A[4]<"u"&&Z(A[4])?G(A[4],1):1;return[e,s,r,n]},La=t=>{const A=t.filter(OA),e=A[0].type===16?A[0].number/100:UA(A[0])?A[0].number:0,s=A[1].type===16?A[1].number/100:UA(A[1])?A[1].number:0,r=UA(A[2])||he(A[2])?A[2].number:0,n=typeof A[4]<"u"&&Z(A[4])?G(A[4],1):1;return[e,s,r,n]},Ta=t=>XA([1.0479297925449969,.022946870601609652,-.05019226628920524,.02962780877005599,.9904344267538799,-.017073799063418826,-.009243040646204504,.015055191490298152,.7518742814281371],t),En=t=>XA([.955473421488075,-.02309845494876471,.06325924320057072,-.0283697093338637,1.0099953980813041,.021041441191917323,.012314014864481998,-.020507649298898964,1.330365926242124],t),bn=(t,A,e)=>(e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(A-t)*e*6+t:e<1/2?A:e<2/3?(A-t)*6*(2/3-e)+t:t),Oa=([t,A,e])=>{if(A===0)return[e*255,e*255,e*255];const s=e<=.5?e*(A+1):e+A-e*A,r=e*2-s,n=bn(r,s,t+1/3),o=bn(r,s,t),a=bn(r,s,t-1/3);return[n,o,a]},Xs=([t,A,e])=>(A<0&&(A=0),isNaN(e)&&(e=0),[t,A*Math.cos(e*Math.PI/180),A*Math.sin(e*Math.PI/180)]),zs=t=>{const A=XA([1,.3963377773761749,.2158037573099136,1,-.1055613458156586,-.0638541728258133,1,-.0894841775298119,-1.2914855480194092],t),e=A.map(s=>s**3);return XA([1.2268798758459243,-.5578149944602171,.2813910456659647,-.0405757452148008,1.112286803280317,-.0717110580655164,-.0763729366746601,-.4214933324022432,1.5869240198367816],e)},Js=t=>{const A=(t[0]+16)/116,e=t[1]/500+A,s=A-t[2]/200,r=24389/27,n=24/116,o=[(e>n?e**3:(116*e-16)/r)*.3457/.3585,t[0]>8?A**3:t[0]/r,(s>n?s**3:(116*s-16)/r)*(1-.3457-.3585)/.3585];return En([o[0],o[1],o[2]])},yB=(t,A)=>{const e=A.filter(OA);if(e.length===3){const[s,r,n]=e.map(Ge),o=Fn([s/255,r/255,n/255]),[a,c,g]=Un([o[0],o[1],o[2]]);return[a,c,g,1]}if(e.length===4){const[s,r,n,o]=e.map(Ge),a=Fn([s/255,r/255,n/255]),[c,g,l]=Un([a[0],a[1],a[2]]);return[c,g,l,o]}return[0,0,0,1]},EB=(t,A)=>{const[e,s,r,n]=Ha(t,A),o=Fn(Oa([e,s,r])),[a,c,g]=Un([o[0],o[1],o[2]]);return[a,c,g,n]},bB=(t,A)=>{const[e,s,r,n]=Ws(A),[o,a,c]=Js([e,s,r]);return[o,a,c,n]},vB=(t,A)=>{const[e,s,r,n]=Sa(A),[o,a,c]=Js(Xs([e,s,r]));return[o,a,c,n]},HB=(t,A)=>{const[e,s,r,n]=La(A),[o,a,c]=zs(Xs([e,s,r]));return[o,a,c,n]},IB=(t,A)=>{const[e,s,r,n]=Ws(A),[o,a,c]=zs([e,s,r]);return[o,a,c,n]},SB=t=>En([t[0],t[1],t[2]]),Ka=t=>t,LB=t=>{const[A,e,s]=Ta([t[0],t[2],t[3]]);return[A,e,s,t[3]]},Da=t=>Yt([t[0],t[1],t[2],t[3]]),TB=t=>{const A=SB([t[0],t[1],t[2]]);return Yt([A[0],A[1],A[2],t[3]])},OB=t=>XA([.4865709486482162,.26566769316909306,.1982172852343625,.2289745640697488,.6917385218365064,.079286914093745,0,.04511338185890264,1.043944368900976],t),KB=t=>XA([2.493496911941425,-.9313836179191239,-.40271078445071684,-.8294889695615747,1.7626640603183463,.023624685841943577,.03584583024378447,-.07617238926804182,.9568845240076872],t),DB=t=>t.map(A=>{const e=A<0?-1:1;return A*e<=.04045?A/12.92:e*((A+.055)/1.055)**2.4||0}),RB=t=>Je(t),kB=t=>{const A=DB([t[0],t[1],t[2]]);return OB([A[0],A[1],A[2]])},GB=t=>{const[A,e,s]=RB(KB([t[0],t[1],t[2]]));return[A,e,s,t[3]]},MB=t=>{const A=kB([t[0],t[1],t[2]]);return Yt([A[0],A[1],A[2],t[3]])},VB=t=>XA([2.0415879038107465,-.5650069742788596,-.34473135077832956,-.9692436362808795,1.8759675015077202,.04155505740717557,.013444280632031142,-.11836239223101838,1.0151749943912054],t),NB=t=>XA([.5766690429101305,.1855582379065463,.1882286462349947,.29734497525053605,.6273635662554661,.0752914584939978,.02703136138641234,.07068885253582723,.9913375368376388],t),_B=t=>{const A=t.map(e=>{const s=e<0?-1:1,r=Math.abs(e);return s*r**2.19921875});return[A[0],A[1],A[2]]},PB=t=>{const A=t.map(e=>{const s=e<0?-1:1,r=Math.abs(e);return s*r**.4547069271758437});return[A[0],A[1],A[2]]},jB=t=>{const[A,e,s]=PB(VB([t[0],t[1],t[2]]));return[A,e,s,t[3]]},WB=t=>{const A=De(NB(_B([t[0],t[1],t[2]])));return yn([A[0],A[1],A[2],t[3]])},XB=t=>XA([.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602],t),zB=t=>XA([1.3457868816471583,-.25557208737979464,-.05110186497554526,-.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452],t),JB=t=>t.map(A=>A<16/512?A/16:A**1.8),YB=t=>t.map(A=>A>1/512?A**(1/1.8):A*16),ZB=t=>{const A=JB([t[0],t[1],t[2]]);return En(XB([A[0],A[1],A[2]]))},$B=t=>{const[A,e,s]=YB(zB(Ta([t[0],t[1],t[2]])));return[A,e,s,t[3]]},qB=t=>{const A=ZB([t[0],t[1],t[2]]);return Yt([A[0],A[1],A[2],t[3]])},Ys=1.09929682680944,Ra=.018053968510807,Ag=t=>t.map(function(A){return A<Ra*4.5?A/4.5:Math.pow((A+Ys-1)/Ys,1/.45)}),eg=t=>t.map(function(A){return A>=Ra?Ys*Math.pow(A,.45)-(Ys-1):4.5*A}),tg=t=>XA([.6369580483012914,.14461690358620832,.1688809751641721,.2627002120112671,.6779980715188708,.05930171646986196,0,.028072693049087428,1.060985057710791],t),sg=t=>XA([1.716651187971268,-.355670783776392,-.25336628137366,-.666684351832489,1.616481236634939,.0157685458139111,.017639857445311,-.042770613257809,.942103121235474],t),rg=t=>{const A=Ag([t[0],t[1],t[2]]);return tg([A[0],A[1],A[2]])},ng=t=>{const[A,e,s]=eg(sg([t[0],t[1],t[2]]));return[A,e,s,t[3]]},og=t=>{const A=rg([t[0],t[1],t[2]]);return Yt([A[0],A[1],A[2],t[3]])},Me={name:"color",parse:(t,A)=>{if(A.type===18){const e=lg[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported color function "${A.name}"`);return e(t,A.values)}if(A.type===5){const[e,s,r,n]=ka(A);return le(e,s,r,n)}if(A.type===20){const e=we[A.value.toUpperCase()];if(typeof e<"u")return e}return we.TRANSPARENT}},ka=t=>{if(t.value.length===3){const A=t.value.substring(0,1),e=t.value.substring(1,2),s=t.value.substring(2,3);return[parseInt(A+A,16),parseInt(e+e,16),parseInt(s+s,16),1]}if(t.value.length===4){const A=t.value.substring(0,1),e=t.value.substring(1,2),s=t.value.substring(2,3),r=t.value.substring(3,4);return[parseInt(A+A,16),parseInt(e+e,16),parseInt(s+s,16),parseInt(r+r,16)/255]}if(t.value.length===6){const A=t.value.substring(0,2),e=t.value.substring(2,4),s=t.value.substring(4,6);return[parseInt(A,16),parseInt(e,16),parseInt(s,16),1]}if(t.value.length===8){const A=t.value.substring(0,2),e=t.value.substring(2,4),s=t.value.substring(4,6),r=t.value.substring(6,8);return[parseInt(A,16),parseInt(e,16),parseInt(s,16),parseInt(r,16)/255]}return[0,0,0,1]},Ga=(t,A)=>{const e=A.filter(OA);if(Ze(e))throw new Error("Relative color not supported for rgb()");if(e.length===3){const[s,r,n]=e.map(Ge);return le(s,r,n,1)}if(e.length===4){const[s,r,n,o]=e.map(Ge);return le(s,r,n,o)}if(e.length===5&&e[3].type===6&&e[3].value==="/"){const s=Ge(e[0],0),r=Ge(e[1],1),n=Ge(e[2],2),o=Ge(e[4],3);return le(s,r,n,o)}return 0},ag=(t,A)=>{const e=A.filter(OA),s=e[0].type===20?e[0].value:"unknown";if(!Ze(e)){const n=s,o=Ma[n];if(typeof o>"u")throw new Error(`Attempting to parse an unsupported color space "${n}" for color() function`);const a=UA(e[1])?e[1].number:0,c=UA(e[2])?e[2].number:0,g=UA(e[3])?e[3].number:0,l=e.length>4&&e[4].type===6&&e[4].value==="/"&&UA(e[5])?e[5].number:1;return o([a,c,g,l])}else{const n=(m,T)=>{if(UA(T))return T.number;const H=K=>K==="r"||K==="x"?0:K==="g"||K==="y"?1:2;if(V(T)){const K=H(T.value);return m[K]}const I=K=>{const _=K.filter(OA);let W="(";for(const R of _)W+=R.type===18&&R.name==="calc"?I(R.values):UA(R)?R.number:R.type===6||V(R)?R.value:"";return W+=")",W};if(T.type===18){const K=T.values.filter(OA);if(T.name==="calc"){const _=I(K).replace(/r|x/,m[0].toString()).replace(/g|y/,m[1].toString()).replace(/b|z/,m[2].toString());return new Function("return "+_)()}}return null},o=e[1].type===18?e[1].name:V(e[1])||e[1].type===5?"rgb":"unknown",a=V(e[2])?e[2].value:"unknown";let c=e[1].type===18?e[1].values:V(e[1])?[e[1]]:[];if(V(e[1])){if(typeof we[e[1].value.toUpperCase()]>"u")throw new Error("Attempting to use unknown color in relative color 'from'");{const T=Bt(t,e[1].value),H=255&T,I=255&T>>8,K=255&T>>16;c=[{type:17,number:255&T>>24,flags:1},{type:17,number:K,flags:1},{type:17,number:I,flags:1},{type:17,number:H>1?H/255:H,flags:1}]}}else if(e[1].type===5){const[m,T,H,I]=ka(e[1]);c=[{type:17,number:m,flags:1},{type:17,number:T,flags:1},{type:17,number:H,flags:1},{type:17,number:I>1?I/255:I,flags:1}]}if(c.length===0)throw new Error("Attempting to use unknown color in relative color 'from'");if(a==="unknown")throw new Error("Attempting to use unknown colorspace in relative color 'to'");const g=ig[o],l=cg[a],B=Ma[a];if(typeof g>"u")throw new Error(`Attempting to parse an unsupported color space "${o}" for color() function`);if(typeof l>"u")throw new Error(`Attempting to parse an unsupported color space "${a}" for color() function`);const f=g(t,c),h=l(f),w=n(h,e[3]),C=n(h,e[4]),F=n(h,e[5]),y=e.length>6&&e[6].type===6&&e[6].value==="/"&&UA(e[7])?e[7].number:1;if(w===null||C===null||F===null)throw new Error("Invalid relative color in color() function");return B([w,C,F,y])}},Ma={srgb:CB,"srgb-linear":yn,"display-p3":MB,"a98-rgb":WB,"prophoto-rgb":qB,xyz:Da,"xyz-d50":TB,"xyz-d65":Da,rec2020:og},ig={rgb:yB,hsl:EB,lab:bB,lch:vB,oklab:IB,oklch:HB},cg={srgb:hB,"srgb-linear":pB,"display-p3":GB,"a98-rgb":jB,"prophoto-rgb":$B,xyz:Ka,"xyz-d50":LB,"xyz-d65":Ka,rec2020:ng},lg={hsl:Ia,hsla:Ia,rgb:Ga,rgba:Ga,lch:FB,oklch:UB,oklab:xB,lab:QB,color:ag},Bt=(t,A)=>Me.parse(t,lt.create(A).parseComponentValue()),we={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},dg={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:(t,A)=>A.map(e=>{if(V(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})},Bg={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Zs=(t,A)=>{const e=Me.parse(t,A[0]),s=A[1];return s&&Z(s)?{color:e,stop:s}:{color:e,stop:null}},Va=(t,A)=>{const e=t[0],s=t[t.length-1];e.stop===null&&(e.stop=FA),s.stop===null&&(s.stop=pe);const r=[];let n=0;for(let a=0;a<t.length;a++){const c=t[a].stop;if(c!==null){const g=G(c,A);g>n?r.push(g):r.push(n),n=g}else r.push(null)}let o=null;for(let a=0;a<r.length;a++){const c=r[a];if(c===null)o===null&&(o=a);else if(o!==null){const g=a-o,l=r[o-1],B=(c-l)/(g+1);for(let f=1;f<=g;f++)r[o+f-1]=B*f;o=null}}return t.map(({color:a},c)=>({color:a,stop:Math.max(Math.min(1,r[c]/A),0)}))},gg=(t,A,e)=>{const s=A/2,r=e/2,n=G(t[0],A)-s,o=r-G(t[1],e);return(Math.atan2(o,n)+Math.PI*2)%(Math.PI*2)},ug=(t,A,e)=>{const s=typeof t=="number"?t:gg(t,A,e),r=Math.abs(A*Math.sin(s))+Math.abs(e*Math.cos(s)),n=A/2,o=e/2,a=r/2,c=Math.sin(s-Math.PI/2)*a,g=Math.cos(s-Math.PI/2)*a;return[r,n-g,n+g,o-c,o+c]},de=(t,A)=>Math.sqrt(t*t+A*A),Na=(t,A,e,s,r)=>[[0,0],[0,A],[t,0],[t,A]].reduce((o,a)=>{const[c,g]=a,l=de(e-c,s-g);return(r?l<o.optimumDistance:l>o.optimumDistance)?{optimumCorner:a,optimumDistance:l}:o},{optimumDistance:r?1/0:-1/0,optimumCorner:null}).optimumCorner,fg=(t,A,e,s,r)=>{let n=0,o=0;switch(t.size){case 0:t.shape===0?n=o=Math.min(Math.abs(A),Math.abs(A-s),Math.abs(e),Math.abs(e-r)):t.shape===1&&(n=Math.min(Math.abs(A),Math.abs(A-s)),o=Math.min(Math.abs(e),Math.abs(e-r)));break;case 2:if(t.shape===0)n=o=Math.min(de(A,e),de(A,e-r),de(A-s,e),de(A-s,e-r));else if(t.shape===1){const a=Math.min(Math.abs(e),Math.abs(e-r))/Math.min(Math.abs(A),Math.abs(A-s)),[c,g]=Na(s,r,A,e,!0);n=de(c-A,(g-e)/a),o=a*n}break;case 1:t.shape===0?n=o=Math.max(Math.abs(A),Math.abs(A-s),Math.abs(e),Math.abs(e-r)):t.shape===1&&(n=Math.max(Math.abs(A),Math.abs(A-s)),o=Math.max(Math.abs(e),Math.abs(e-r)));break;case 3:if(t.shape===0)n=o=Math.max(de(A,e),de(A,e-r),de(A-s,e),de(A-s,e-r));else if(t.shape===1){const a=Math.max(Math.abs(e),Math.abs(e-r))/Math.max(Math.abs(A),Math.abs(A-s)),[c,g]=Na(s,r,A,e,!1);n=de(c-A,(g-e)/a),o=a*n}break}return Array.isArray(t.size)&&(n=G(t.size[0],s),o=t.size.length===2?G(t.size[1],r):n),[n,o]},hg=(t,A)=>{let e=ne(180);const s=[];return ce(A).forEach((r,n)=>{if(n===0){const a=r[0];if(a.type===20&&a.value==="to"){e=va(r);return}else if(ba(a)){e=dt.parse(t,a);return}}const o=Zs(t,r);s.push(o)}),{angle:e,stops:s,type:1}},$s=(t,A)=>{let e=ne(180);const s=[];return ce(A).forEach((r,n)=>{if(n===0){const a=r[0];if(a.type===20&&["top","left","right","bottom"].indexOf(a.value)!==-1){e=va(r);return}else if(ba(a)){e=(dt.parse(t,a)+ne(270))%ne(360);return}}const o=Zs(t,r);s.push(o)}),{angle:e,stops:s,type:1}},pg=(t,A)=>{const e=ne(180),s=[];let r=1;const n=0,o=3,a=[];return ce(A).forEach((c,g)=>{const l=c[0];if(g===0){if(V(l)&&l.value==="linear"){r=1;return}else if(V(l)&&l.value==="radial"){r=2;return}}if(l.type===18){if(l.name==="from"){const B=Me.parse(t,l.values[0]);s.push({stop:FA,color:B})}else if(l.name==="to"){const B=Me.parse(t,l.values[0]);s.push({stop:pe,color:B})}else if(l.name==="color-stop"){const B=l.values.filter(OA);if(B.length===2){const f=Me.parse(t,B[1]),h=B[0];UA(h)&&s.push({stop:{type:16,number:h.number*100,flags:h.flags},color:f})}}}}),r===1?{angle:(e+ne(180))%ne(360),stops:s,type:r}:{size:o,shape:n,stops:s,position:a,type:r}},_a="closest-side",Pa="farthest-side",ja="closest-corner",Wa="farthest-corner",Xa="circle",za="ellipse",Ja="cover",Ya="contain",wg=(t,A)=>{let e=0,s=3;const r=[],n=[];return ce(A).forEach((o,a)=>{let c=!0;if(a===0){let g=!1;c=o.reduce((l,B)=>{if(g)if(V(B))switch(B.value){case"center":return n.push(Ye),l;case"top":case"left":return n.push(FA),l;case"right":case"bottom":return n.push(pe),l}else(Z(B)||Re(B))&&n.push(B);else if(V(B))switch(B.value){case Xa:return e=0,!1;case za:return e=1,!1;case"at":return g=!0,!1;case _a:return s=0,!1;case Ja:case Pa:return s=1,!1;case Ya:case ja:return s=2,!1;case Wa:return s=3,!1}else if(Re(B)||Z(B))return Array.isArray(s)||(s=[]),s.push(B),!1;return l},c)}if(c){const g=Zs(t,o);r.push(g)}}),{size:s,shape:e,stops:r,position:n,type:2}},qs=(t,A)=>{let e=0,s=3;const r=[],n=[];return ce(A).forEach((o,a)=>{let c=!0;if(a===0?c=o.reduce((g,l)=>{if(V(l))switch(l.value){case"center":return n.push(Ye),!1;case"top":case"left":return n.push(FA),!1;case"right":case"bottom":return n.push(pe),!1}else if(Z(l)||Re(l))return n.push(l),!1;return g},c):a===1&&(c=o.reduce((g,l)=>{if(V(l))switch(l.value){case Xa:return e=0,!1;case za:return e=1,!1;case Ya:case _a:return s=0,!1;case Pa:return s=1,!1;case ja:return s=2,!1;case Ja:case Wa:return s=3,!1}else if(Re(l)||Z(l))return Array.isArray(s)||(s=[]),s.push(l),!1;return g},c)),c){const g=Zs(t,o);r.push(g)}}),{size:s,shape:e,stops:r,position:n,type:2}},mg=t=>t.type===1,Cg=t=>t.type===2,vn={name:"image",parse:(t,A)=>{if(A.type===22){const e={url:A.value,type:0};return t.cache.addImage(A.value),e}if(A.type===18){const e=Za[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported image function "${A.name}"`);return e(t,A.values)}throw new Error(`Unsupported image type ${A.type}`)}};function Qg(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!Za[t.name])}const Za={"linear-gradient":hg,"-moz-linear-gradient":$s,"-ms-linear-gradient":$s,"-o-linear-gradient":$s,"-webkit-linear-gradient":$s,"radial-gradient":wg,"-moz-radial-gradient":qs,"-ms-radial-gradient":qs,"-o-radial-gradient":qs,"-webkit-radial-gradient":qs,"-webkit-gradient":pg},xg={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>{if(A.length===0)return[];const e=A[0];return e.type===20&&e.value==="none"?[]:A.filter(s=>OA(s)&&Qg(s)).map(s=>vn.parse(t,s))}},Ug={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:(t,A)=>A.map(e=>{if(V(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})},Fg={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:(t,A)=>ce(A).map(e=>e.map(s=>wB(s)?mB(s,0):Z(s)?s:null).filter(s=>s!==null)).map(xa)},yg={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:(t,A)=>ce(A).map(e=>e.filter(V).map(s=>s.value).join(" ")).map(Eg)},Eg=t=>{switch(t){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};var gt;(function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"})(gt||(gt={}));const bg={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:(t,A)=>ce(A).map(e=>e.filter(vg))},vg=t=>V(t)||Z(t),Ar=t=>({name:`border-${t}-color`,initialValue:"transparent",prefix:!1,type:3,format:"color"}),Hg=Ar("top"),Ig=Ar("right"),Sg=Ar("bottom"),Lg=Ar("left"),er=t=>({name:`border-radius-${t}`,initialValue:"0 0",prefix:!1,type:1,parse:(A,e)=>xa(e.filter(Z))}),Tg=er("top-left"),Og=er("top-right"),Kg=er("bottom-right"),Dg=er("bottom-left"),tr=t=>({name:`border-${t}-style`,initialValue:"solid",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}),Rg=tr("top"),kg=tr("right"),Gg=tr("bottom"),Mg=tr("left"),sr=t=>({name:`border-${t}-width`,initialValue:"0",type:0,prefix:!1,parse:(A,e)=>he(e)?e.number:0}),Vg=sr("top"),Ng=sr("right"),_g=sr("bottom"),Pg=sr("left"),Hn={type:0},In=t=>{const[A]=t;return A?V(A)?A.value==="farthest-side"?"farthest-side":"closest-side":Z(A)?A:"closest-side":"closest-side"},$a=t=>{let A=null,e=null;for(const s of t)if(V(s))switch(s.value){case"left":A=FA;break;case"right":A=pe;break;case"top":e=FA;break;case"bottom":e=pe;break;case"center":A===null?A=Ye:e===null&&(e=Ye);break}else Z(s)&&(A===null?A=s:e===null&&(e=s));return{cx:A??Ye,cy:e??Ye}},jg=t=>{const A=[];for(const o of t)if(o.type!==31){if(V(o)&&o.value==="round")break;Z(o)&&A.push(o)}const e=A[0]??FA,s=A[1]??e,r=A[2]??e,n=A[3]??s;return{type:1,top:e,right:s,bottom:r,left:n}},Wg=t=>{const A=t.filter(js),e=A.findIndex(n=>zt(n,"at")),s=e===-1?A:A.slice(0,e),r=e===-1?[]:A.slice(e+1);return{type:2,radius:In(s),...$a(r)}},Xg=t=>{const A=t.filter(js),e=A.findIndex(n=>zt(n,"at")),s=e===-1?A:A.slice(0,e),r=e===-1?[]:A.slice(e+1);return{type:3,rx:In(s.slice(0,1)),ry:In(s.slice(1,2)),...$a(r)}},zg=t=>{const A=ce(t),e=[];for(const s of A){if(s.length===1&&V(s[0]))continue;const r=s.filter(Z);r.length>=2&&e.push([r[0],r[1]])}return{type:4,points:e}},Jg=t=>{const A=t.find(e=>e.type===0);return A?{type:5,d:A.value}:Hn},Yg={name:"clip-path",initialValue:"none",prefix:!1,type:0,parse:(t,A)=>{if(V(A)&&A.value==="none")return Hn;if(A.type===18)switch(A.name){case"inset":return jg(A.values);case"circle":return Wg(A.values);case"ellipse":return Xg(A.values);case"polygon":return zg(A.values);case"path":return Jg(A.values)}return Hn}},Zg={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},$g={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:(t,A)=>A==="rtl"?1:0},qg={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:(t,A)=>A.filter(V).reduce((e,s)=>e|Au(s.value),0)},Au=t=>{switch(t){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},eu={name:"float",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},tu={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:(t,A)=>A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0};var rr;(function(t){t.NORMAL="normal",t.STRICT="strict"})(rr||(rr={}));const su={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>A==="strict"?rr.STRICT:rr.NORMAL},ru={name:"line-height",initialValue:"normal",prefix:!1,type:4},qa=(t,A)=>V(t)&&t.value==="normal"?1.2*A:t.type===17?A*t.number:Z(t)?G(t,A):A,nu={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:(t,A)=>A.type===20&&A.value==="none"?null:vn.parse(t,A)},ou={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:(t,A)=>A==="inside"?0:1},Sn={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 52;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},nr=t=>({name:`margin-${t}`,initialValue:"0",prefix:!1,type:4}),au=nr("top"),iu=nr("right"),cu=nr("bottom"),lu=nr("left"),du={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:(t,A)=>A.filter(V).map(e=>{switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})},Bu={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>A==="break-word"?"break-word":"normal"},or=t=>({name:`padding-${t}`,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}),gu=or("top"),uu=or("right"),fu=or("bottom"),hu=or("left"),pu={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},wu={name:"position",initialValue:"static",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},mu={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&zt(A[0],"none")?[]:ce(A).map(e=>{const s={color:we.TRANSPARENT,offsetX:FA,offsetY:FA,blur:FA};let r=0;for(let n=0;n<e.length;n++){const o=e[n];Re(o)?(r===0?s.offsetX=o:r===1?s.offsetY=o:s.blur=o,r++):s.color=Me.parse(t,o)}return s})},Cu={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Qu={name:"transform",initialValue:"none",prefix:!0,type:0,parse:(t,A)=>{if(A.type===20&&A.value==="none")return null;if(A.type===18){const e=xu[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported transform function "${A.name}"`);return e(t,A.values)}return null}},xu={matrix:(t,A)=>{const e=A.filter(s=>s.type===17).map(s=>s.number);return e.length===6?e:null},matrix3d:(t,A)=>{const e=A.filter(g=>g.type===17).map(g=>g.number),[s,r,{},{},n,o,{},{},{},{},{},{},a,c]=e;return e.length===16?[s,r,n,o,a,c]:null},rotate:(t,A)=>{if(A.length!==1)return null;const e=A[0];let s=0;if(e.type===17&&e.number===0)s=0;else if(e.type===15)s=dt.parse(t,e);else return null;const r=Math.cos(s),n=Math.sin(s);return[r,n,-n,r,0,0]}},Ai={type:16,number:50,flags:it},Uu=[Ai,Ai],Fu={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:(t,A)=>{const e=A.filter(Z);return e.length!==2?Uu:[e[0],e[1]]}},yu={name:"rotate",initialValue:"none",prefix:!1,type:0,parse:(t,A)=>A.type===20&&A.value==="none"?null:A.type===17&&A.number===0?0:A.type===15?dt.parse(t,A)*180/Math.PI:null},Eu={name:"visible",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"hidden":return 1;case"collapse":return 2;default:return 0}}};var Zt;(function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"})(Zt||(Zt={}));const bu={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"break-all":return Zt.BREAK_ALL;case"keep-all":return Zt.KEEP_ALL;default:return Zt.NORMAL}}},vu={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>{if(A.type===20)return{auto:!0,order:0};if(UA(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},ei={name:"time",parse:(t,A)=>{if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},Hu={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:(t,A)=>UA(A)?A.number:1},Iu={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Su={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:(t,A)=>A.filter(V).map(e=>{switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(e=>e!==0)},Lu={name:"text-decoration-style",initialValue:"solid",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"double":return 1;case"dotted":return 2;case"dashed":return 3;case"wavy":return 4;default:return 0}}},Tu={name:"text-decoration-thickness",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>{if(V(A))switch(A.value){case"auto":return"auto";case"from-font":return"from-font"}return he(A)?A.number:"auto"}},Ou={name:"text-underline-offset",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>V(A)&&A.value==="auto"?"auto":he(A)?A.number:"auto"},Ku={name:"font-family",initialValue:"",prefix:!1,type:1,parse:(t,A)=>{const e=[],s=[];return A.forEach(r=>{switch(r.type){case 20:case 0:e.push(r.value);break;case 17:e.push(r.number.toString());break;case 4:s.push(e.join(" ")),e.length=0;break}}),e.length&&s.push(e.join(" ")),s.map(r=>r.indexOf(" ")===-1?r:`'${r}'`)}},Du={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Ru={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:(t,A)=>UA(A)?A.number:V(A)&&A.value==="bold"?700:400},ku={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.filter(V).map(e=>e.value)},Gu={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},cA=(t,A)=>(t&A)!==0,Mu={name:"content",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>{if(A.length===0)return[];const e=A[0];return e.type===20&&e.value==="none"?[]:A}},Vu={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return null;const e=A[0];if(e.type===20&&e.value==="none")return null;const s=[],r=A.filter(js);for(let n=0;n<r.length;n++){const o=r[n],a=r[n+1];if(o.type===20){const c=a&&UA(a)?a.number:1;s.push({counter:o.value,increment:c})}}return s}},Nu={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return[];const e=[],s=A.filter(js);for(let r=0;r<s.length;r++){const n=s[r],o=s[r+1];if(V(n)&&n.value!=="none"){const a=o&&UA(o)?o.number:0;e.push({counter:n.value,reset:a})}}return e}},_u={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:(t,A)=>A.filter(he).map(e=>ei.parse(t,e))},Pu={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return null;const e=A[0];if(e.type===20&&e.value==="none")return null;const s=[],r=A.filter(uB);if(r.length%2!==0)return null;for(let n=0;n<r.length;n+=2){const o=r[n].value,a=r[n+1].value;s.push({open:o,close:a})}return s}},ti=(t,A,e)=>{if(!t)return"";const s=t[Math.min(A,t.length-1)];return s?e?s.open:s.close:""},ju={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&zt(A[0],"none")?[]:ce(A).map(e=>{const s={color:255,offsetX:FA,offsetY:FA,blur:FA,spread:FA,inset:!1};let r=0;for(let n=0;n<e.length;n++){const o=e[n];zt(o,"inset")?s.inset=!0:Re(o)?(r===0?s.offsetX=o:r===1?s.offsetY=o:r===2?s.blur=o:s.spread=o,r++):s.color=Me.parse(t,o)}return s})},Wu={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:(t,A)=>{const e=[0,1,2],s=[];return A.filter(V).forEach(r=>{switch(r.value){case"stroke":s.push(1);break;case"fill":s.push(0);break;case"markers":s.push(2);break}}),e.forEach(r=>{s.indexOf(r)===-1&&s.push(r)}),s}},Xu={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},zu={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:(t,A)=>he(A)?A.number:0},Ju={name:"-webkit-line-clamp",initialValue:"none",prefix:!0,type:0,parse:(t,A)=>A.type===20&&A.value==="none"?0:A.type===17?Math.max(0,Math.floor(A.number)):0},Yu={name:"objectFit",initialValue:"fill",prefix:!1,type:1,parse:(t,A)=>A.filter(V).reduce((e,s)=>e|Zu(s.value),0)},Zu=t=>{switch(t){case"contain":return 2;case"cover":return 4;case"none":return 8;case"scale-down":return 16}return 0},$u={name:"text-overflow",initialValue:"clip",prefix:!1,type:2,parse:(t,A)=>A==="ellipsis"?1:0};var ee;(function(t){t[t.AUTO=0]="AUTO",t[t.CRISP_EDGES=1]="CRISP_EDGES",t[t.PIXELATED=2]="PIXELATED",t[t.SMOOTH=3]="SMOOTH"})(ee||(ee={}));const qu={name:"image-rendering",initialValue:"auto",prefix:!1,type:2,parse:(t,A)=>{switch(A.toLowerCase()){case"crisp-edges":case"-webkit-crisp-edges":case"-moz-crisp-edges":return ee.CRISP_EDGES;case"pixelated":case"-webkit-optimize-contrast":return ee.PIXELATED;case"smooth":case"high-quality":return ee.SMOOTH;default:return ee.AUTO}}};class Af{constructor(A,e){this.animationDuration=b(A,_u,e.animationDuration),this.backgroundClip=b(A,dg,e.backgroundClip),this.backgroundColor=b(A,Bg,e.backgroundColor),this.backgroundImage=b(A,xg,e.backgroundImage),this.backgroundOrigin=b(A,Ug,e.backgroundOrigin),this.backgroundPosition=b(A,Fg,e.backgroundPosition),this.backgroundRepeat=b(A,yg,e.backgroundRepeat),this.backgroundSize=b(A,bg,e.backgroundSize),this.borderTopColor=b(A,Hg,e.borderTopColor),this.borderRightColor=b(A,Ig,e.borderRightColor),this.borderBottomColor=b(A,Sg,e.borderBottomColor),this.borderLeftColor=b(A,Lg,e.borderLeftColor),this.borderTopLeftRadius=b(A,Tg,e.borderTopLeftRadius),this.borderTopRightRadius=b(A,Og,e.borderTopRightRadius),this.borderBottomRightRadius=b(A,Kg,e.borderBottomRightRadius),this.borderBottomLeftRadius=b(A,Dg,e.borderBottomLeftRadius),this.borderTopStyle=b(A,Rg,e.borderTopStyle),this.borderRightStyle=b(A,kg,e.borderRightStyle),this.borderBottomStyle=b(A,Gg,e.borderBottomStyle),this.borderLeftStyle=b(A,Mg,e.borderLeftStyle),this.borderTopWidth=b(A,Vg,e.borderTopWidth),this.borderRightWidth=b(A,Ng,e.borderRightWidth),this.borderBottomWidth=b(A,_g,e.borderBottomWidth),this.borderLeftWidth=b(A,Pg,e.borderLeftWidth),this.boxShadow=b(A,ju,e.boxShadow),this.clipPath=b(A,Yg,e.clipPath),this.color=b(A,Zg,e.color),this.direction=b(A,$g,e.direction),this.display=b(A,qg,e.display),this.float=b(A,eu,e.cssFloat),this.fontFamily=b(A,Ku,e.fontFamily),this.fontSize=b(A,Du,e.fontSize),this.fontStyle=b(A,Gu,e.fontStyle),this.fontVariant=b(A,ku,e.fontVariant),this.fontWeight=b(A,Ru,e.fontWeight),this.letterSpacing=b(A,tu,e.letterSpacing),this.lineBreak=b(A,su,e.lineBreak),this.lineHeight=b(A,ru,e.lineHeight),this.listStyleImage=b(A,nu,e.listStyleImage),this.listStylePosition=b(A,ou,e.listStylePosition),this.listStyleType=b(A,Sn,e.listStyleType),this.marginTop=b(A,au,e.marginTop),this.marginRight=b(A,iu,e.marginRight),this.marginBottom=b(A,cu,e.marginBottom),this.marginLeft=b(A,lu,e.marginLeft),this.opacity=b(A,Hu,e.opacity);const s=b(A,du,e.overflow);this.overflowX=s[0],this.overflowY=s[s.length>1?1:0],this.overflowWrap=b(A,Bu,e.overflowWrap),this.paddingTop=b(A,gu,e.paddingTop),this.paddingRight=b(A,uu,e.paddingRight),this.paddingBottom=b(A,fu,e.paddingBottom),this.paddingLeft=b(A,hu,e.paddingLeft),this.paintOrder=b(A,Wu,e.paintOrder),this.position=b(A,wu,e.position),this.textAlign=b(A,pu,e.textAlign),this.textDecorationColor=b(A,Iu,e.textDecorationColor??e.color),this.textDecorationLine=b(A,Su,e.textDecorationLine??e.textDecoration),this.textDecorationStyle=b(A,Lu,e.textDecorationStyle),this.textDecorationThickness=b(A,Tu,e.textDecorationThickness),this.textUnderlineOffset=b(A,Ou,e.textUnderlineOffset),this.textShadow=b(A,mu,e.textShadow),this.textTransform=b(A,Cu,e.textTransform),this.textOverflow=b(A,$u,e.textOverflow),this.transform=b(A,Qu,e.transform),this.transformOrigin=b(A,Fu,e.transformOrigin),this.rotate=b(A,yu,e.rotate),this.visibility=b(A,Eu,e.visibility),this.webkitTextStrokeColor=b(A,Xu,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=b(A,zu,e.webkitTextStrokeWidth),this.webkitLineClamp=b(A,Ju,e.webkitLineClamp),this.wordBreak=b(A,bu,e.wordBreak),this.zIndex=b(A,vu,e.zIndex),this.objectFit=b(A,Yu,e.objectFit),this.imageRendering=b(A,qu,e.imageRendering)}isVisible(){return this.display>0&&this.opacity>0&&this.visibility===0}isTransparent(){return ke(this.backgroundColor)}isTransformed(){return this.transform!==null||this.rotate!==null}isPositioned(){return this.position!==0}isPositionedWithZIndex(){return this.isPositioned()&&!this.zIndex.auto}isFloating(){return this.float!==0}isInlineLevel(){return cA(this.display,4)||cA(this.display,33554432)||cA(this.display,268435456)||cA(this.display,536870912)||cA(this.display,67108864)||cA(this.display,134217728)}}class ef{constructor(A,e){this.content=b(A,Mu,e.content),this.quotes=b(A,Pu,e.quotes)}}class si{constructor(A,e){this.counterIncrement=b(A,Vu,e.counterIncrement),this.counterReset=b(A,Nu,e.counterReset)}}const b=(t,A,e)=>{const s=new Qa,r=e!==null&&typeof e<"u"?e.toString():A.initialValue;s.write(r);const n=new lt(s.read());switch(A.type){case 2:const o=n.parseComponentValue();return A.parse(t,V(o)?o.value:A.initialValue);case 0:return A.parse(t,n.parseComponentValue());case 1:return A.parse(t,n.parseComponentValues());case 4:return n.parseComponentValue();case 3:switch(A.format){case"angle":return dt.parse(t,n.parseComponentValue());case"color":return Me.parse(t,n.parseComponentValue());case"image":return vn.parse(t,n.parseComponentValue());case"length":const a=n.parseComponentValue();return Re(a)?a:FA;case"length-percentage":const c=n.parseComponentValue();return Z(c)?c:FA;case"time":return ei.parse(t,n.parseComponentValue())}break}},ye=t=>t.nodeType===Node.ELEMENT_NODE,ri=t=>t.nodeType===Node.TEXT_NODE,ut=t=>typeof t.className=="object",$t=t=>ye(t)&&typeof t.style<"u"&&!ut(t),tf=t=>t.tagName==="LI",sf=t=>t.tagName==="OL",ni=t=>!ut(t)&&t.tagName.indexOf("-")>0,rf="data-html2canvas-debug",nf=t=>{if(typeof t.getAttribute!="function")return 0;switch(t.getAttribute(rf)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Ln=(t,A)=>{const e=nf(t);return e===1||A===e};class oi{static normalizeElement(A,e){const s={};return $t(A)&&(e.animationDuration.some(r=>r>0)&&(s.animationDuration=A.style.animationDuration,A.style.animationDuration="0s"),e.transform!==null&&(s.transform=A.style.transform,A.style.transform="translate(0, 0)"),e.rotate!==null&&(s.rotate=A.style.rotate,A.style.rotate="0deg",s.transform===void 0&&(s.transform=A.style.transform,A.style.transform="translate(0, 0)"))),s}static restoreElement(A,e){$t(A)&&(e.animationDuration!==void 0&&(A.style.animationDuration=e.animationDuration),e.transform!==void 0&&(A.style.transform=e.transform),e.rotate!==void 0&&(A.style.rotate=e.rotate))}}class me{constructor(A,e,s={}){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,Ln(e,3))debugger;this.styles=new Af(A,A.config.window.getComputedStyle(e,null)),s.normalizeDom!==!1&&$t(e)&&(this.originalStyles=oi.normalizeElement(e,this.styles),this.originalElement=e),this.bounds=ys(this.context,e),Ln(e,4)&&(this.flags|=16)}restore(){this.originalStyles&&this.originalElement&&(oi.restoreElement(this.originalElement,this.originalStyles),this.originalStyles=void 0,this.originalElement=void 0)}restoreTree(){this.restore();for(const A of this.elements)A.restoreTree()}}for(var of="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTY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AAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIA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4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",ai="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qt=typeof Uint8Array>"u"?[]:new Uint8Array(256),ar=0;ar<ai.length;ar++)qt[ai.charCodeAt(ar)]=ar;for(var af=function(t){var A=t.length*.75,e=t.length,s,r=0,n,o,a,c;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var g=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),l=Array.isArray(g)?g:new Uint8Array(g);for(s=0;s<e;s+=4)n=qt[t.charCodeAt(s)],o=qt[t.charCodeAt(s+1)],a=qt[t.charCodeAt(s+2)],c=qt[t.charCodeAt(s+3)],l[r++]=n<<2|o>>4,l[r++]=(o&15)<<4|a>>2,l[r++]=(a&3)<<6|c&63;return g},cf=function(t){for(var A=t.length,e=[],s=0;s<A;s+=2)e.push(t[s+1]<<8|t[s]);return e},lf=function(t){for(var A=t.length,e=[],s=0;s<A;s+=4)e.push(t[s+3]<<24|t[s+2]<<16|t[s+1]<<8|t[s]);return e},$e=5,Tn=11,On=2,df=Tn-$e,ii=65536>>$e,Bf=1<<$e,Kn=Bf-1,gf=1024>>$e,uf=ii+gf,ff=uf,hf=32,pf=ff+hf,wf=65536>>Tn,mf=1<<df,Cf=mf-1,ci=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},Qf=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},xf=function(t,A){var e=af(t),s=Array.isArray(e)?lf(e):new Uint32Array(e),r=Array.isArray(e)?cf(e):new Uint16Array(e),n=24,o=ci(r,n/2,s[4]/2),a=s[5]===2?ci(r,(n+s[4])/2):Qf(s,Math.ceil((n+s[4])/4));return new Uf(s[0],s[1],s[2],s[3],o,a)},Uf=(function(){function t(A,e,s,r,n,o){this.initialValue=A,this.errorValue=e,this.highStart=s,this.highValueIndex=r,this.index=n,this.data=o}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>$e],e=(e<<On)+(A&Kn),this.data[e];if(A<=65535)return e=this.index[ii+(A-55296>>$e)],e=(e<<On)+(A&Kn),this.data[e];if(A<this.highStart)return e=pf-wf+(A>>Tn),e=this.index[e],e+=A>>$e&Cf,e=this.index[e],e=(e<<On)+(A&Kn),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t})(),li="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ff=typeof Uint8Array>"u"?[]:new Uint8Array(256),ir=0;ir<li.length;ir++)Ff[li.charCodeAt(ir)]=ir;var yf=1,Dn=2,Rn=3,di=4,Bi=5,Ef=7,gi=8,kn=9,Gn=10,ui=11,fi=12,hi=13,pi=14,Mn=15,bf=function(t){for(var A=[],e=0,s=t.length;e<s;){var r=t.charCodeAt(e++);if(r>=55296&&r<=56319&&e<s){var n=t.charCodeAt(e++);(n&64512)===56320?A.push(((r&1023)<<10)+(n&1023)+65536):(A.push(r),e--)}else A.push(r)}return A},vf=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var s=[],r=-1,n="";++r<e;){var o=t[r];o<=65535?s.push(o):(o-=65536,s.push((o>>10)+55296,o%1024+56320)),(r+1===e||s.length>16384)&&(n+=String.fromCharCode.apply(String,s),s.length=0)}return n},Hf=xf(of),oe="×",Vn="÷",If=function(t){return Hf.get(t)},Sf=function(t,A,e){var s=e-2,r=A[s],n=A[e-1],o=A[e];if(n===Dn&&o===Rn)return oe;if(n===Dn||n===Rn||n===di||o===Dn||o===Rn||o===di)return Vn;if(n===gi&&[gi,kn,ui,fi].indexOf(o)!==-1||(n===ui||n===kn)&&(o===kn||o===Gn)||(n===fi||n===Gn)&&o===Gn||o===hi||o===Bi||o===Ef||n===yf)return oe;if(n===hi&&o===pi){for(;r===Bi;)r=A[--s];if(r===pi)return oe}if(n===Mn&&o===Mn){for(var a=0;r===Mn;)a++,r=A[--s];if(a%2===0)return oe}return Vn},Lf=function(t){var A=bf(t),e=A.length,s=0,r=0,n=A.map(If);return{next:function(){if(s>=e)return{done:!0,value:null};for(var o=oe;s<e&&(o=Sf(A,n,++s))===oe;);if(o!==oe||s===e){var a=vf.apply(null,A.slice(r,s));return r=s,{value:a,done:!1}}return{done:!0,value:null}}}},Tf=function(t){for(var A=Lf(t),e=[],s;!(s=A.next()).done;)s.value&&e.push(s.value.slice());return e};const Of=t=>{if(t.createRange){const e=t.createRange();if(e.getBoundingClientRect){const s=t.createElement("boundtest");s.style.height="123px",s.style.display="block",t.body.appendChild(s),e.selectNode(s);const r=e.getBoundingClientRect(),n=Math.round(r.height);if(t.body.removeChild(s),n===123)return!0}}return!1},Kf=t=>{const A=t.createElement("boundtest");A.style.width="50px",A.style.display="block",A.style.fontSize="12px",A.style.letterSpacing="0px",A.style.wordSpacing="0px",t.body.appendChild(A);const e=t.createRange();A.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";const s=A.firstChild,r=Es(s.data).map(c=>mA(c));let n=0,o={};const a=r.every((c,g)=>{e.setStart(s,n),e.setEnd(s,n+c.length);const l=e.getBoundingClientRect();n+=c.length;const B=l.x>o.x||l.y>o.y;return o=l,g===0?!0:B});return t.body.removeChild(A),a},Df=()=>typeof new Image().crossOrigin<"u",Rf=()=>typeof new XMLHttpRequest().responseType=="string",kf=t=>{const A=new Image,e=t.createElement("canvas"),s=e.getContext("2d");if(!s)return!1;A.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{s.drawImage(A,0,0),e.toDataURL()}catch{return!1}return!0},wi=t=>t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255,Gf=t=>{const A=t.createElement("canvas"),e=100;A.width=e,A.height=e;const s=A.getContext("2d");if(!s)return Promise.reject(!1);s.fillStyle="rgb(0, 255, 0)",s.fillRect(0,0,e,e);const r=new Image,n=A.toDataURL();r.src=n;const o=Nn(e,e,0,0,r);return s.fillStyle="red",s.fillRect(0,0,e,e),mi(o).then(a=>{s.drawImage(a,0,0);const c=s.getImageData(0,0,e,e).data;s.fillStyle="red",s.fillRect(0,0,e,e);const g=t.createElement("div");return g.style.backgroundImage=`url(${n})`,g.style.height=`${e}px`,wi(c)?mi(Nn(e,e,0,0,g)):Promise.reject(!1)}).then(a=>(s.drawImage(a,0,0),wi(s.getImageData(0,0,e,e).data))).catch(()=>!1)},Nn=(t,A,e,s,r)=>{const n="http://www.w3.org/2000/svg",o=document.createElementNS(n,"svg"),a=document.createElementNS(n,"foreignObject");return o.setAttributeNS(null,"width",t.toString()),o.setAttributeNS(null,"height",A.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",e.toString()),a.setAttributeNS(null,"y",s.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(a),a.appendChild(r),o},mi=t=>new Promise((A,e)=>{const s=new Image;s.onload=()=>A(s),s.onerror=e,s.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(t))}`}),KA={get SUPPORT_RANGE_BOUNDS(){const t=Of(document);return Object.defineProperty(KA,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){const t=KA.SUPPORT_RANGE_BOUNDS&&Kf(document);return Object.defineProperty(KA,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){const t=kf(document);return Object.defineProperty(KA,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){const t=typeof Array.from=="function"&&typeof window.fetch=="function"?Gf(document):Promise.resolve(!1);return Object.defineProperty(KA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){const t=Df();return Object.defineProperty(KA,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){const t=Rf();return Object.defineProperty(KA,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){const t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(KA,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){const t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(KA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}};class qe{constructor(A,e){this.text=A,this.bounds=e}}const Mf=(t,A,e,s)=>{const r=_f(A,e),n=[];let o=0;return r.forEach(a=>{if(e.textDecorationLine.length||a.trim().length>0)if(KA.SUPPORT_RANGE_BOUNDS){const c=Ci(s,o,a.length).getClientRects();if(c.length>1){const g=cr(a);let l=0;g.forEach(B=>{n.push(new qe(B,kA.fromDOMRectList(t,Ci(s,l+o,B.length).getClientRects()))),l+=B.length})}else n.push(new qe(a,kA.fromDOMRectList(t,c)))}else{const c=s.splitText(a.length);n.push(new qe(a,Vf(t,s))),s=c}else KA.SUPPORT_RANGE_BOUNDS||(s=s.splitText(a.length));o+=a.length}),n},Vf=(t,A)=>{const e=A.ownerDocument;if(e){const s=e.createElement("html2canvaswrapper");s.appendChild(A.cloneNode(!0));const r=A.parentNode;if(r){r.replaceChild(s,A);const n=ys(t,s);return s.firstChild&&r.replaceChild(s.firstChild,s),n}}return kA.EMPTY},Ci=(t,A,e)=>{const s=t.ownerDocument;if(!s)throw new Error("Node has no owner document");const r=s.createRange();return r.setStart(t,A),r.setEnd(t,A+e),r},cr=t=>{if(KA.SUPPORT_NATIVE_TEXT_SEGMENTATION){const A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(t)).map(e=>e.segment)}return Tf(t)},Nf=(t,A)=>{if(KA.SUPPORT_NATIVE_TEXT_SEGMENTATION){const e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(t)).map(s=>s.segment)}return jf(t,A)},_f=(t,A)=>A.letterSpacing!==0?cr(t):Nf(t,A),Pf=[32,160,4961,65792,65793,4153,4241],jf=(t,A)=>{const e=id(t,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),s=[];let r;for(;!(r=e.next()).done;)if(r.value){const n=r.value.slice(),o=Es(n);let a="";o.forEach(c=>{Pf.indexOf(c)===-1?a+=mA(c):(a.length&&s.push(a),s.push(mA(c)),a="")}),a.length&&s.push(a)}return s};class Wf{constructor(A,e,s){this.text=Xf(e.data,s.textTransform),this.textBounds=Mf(A,this.text,s,e)}}const Xf=(t,A)=>{switch(A){case 1:return t.toLowerCase();case 3:return t.replace(zf,Jf);case 2:return t.toUpperCase();default:return t}},zf=/(^|\s|:|-|\(|\))([a-z])/g,Jf=(t,A,e)=>t.length>0?A+e.toUpperCase():t;class Qi extends me{constructor(A,e){super(A,e),this.src=e.currentSrc||e.src,this.intrinsicWidth=e.naturalWidth,this.intrinsicHeight=e.naturalHeight,this.context.cache.addImage(this.src)}}class xi extends me{constructor(A,e){super(A,e),this.canvas=e,this.intrinsicWidth=e.width,this.intrinsicHeight=e.height}}class Ui extends me{constructor(A,e){super(A,e);const s=new XMLSerializer,r=ys(A,e);e.setAttribute("width",`${r.width}px`),e.setAttribute("height",`${r.height}px`),this.svg=`data:image/svg+xml,${encodeURIComponent(s.serializeToString(e))}`,this.intrinsicWidth=e.width.baseVal.value,this.intrinsicHeight=e.height.baseVal.value,this.context.cache.addImage(this.svg)}}class Fi extends me{constructor(A,e){super(A,e),this.value=e.value}}class _n extends me{constructor(A,e){super(A,e),this.start=e.start,this.reversed=typeof e.reversed=="boolean"&&e.reversed===!0}}const Yf=[{type:15,flags:0,unit:"px",number:3}],Zf=[{type:16,flags:0,number:50}],$f=t=>t.width>t.height?new kA(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new kA(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t,qf=t=>{const A=t.type===eh?new Array(t.value.length+1).join("•"):t.value;return A.length===0?t.placeholder||"":A},Ah=t=>t.value.length===0&&!!t.placeholder,lr="checkbox",dr="radio",eh="password",yi=707406591,th=1970632191;class As extends me{constructor(A,e){switch(super(A,e),this.type=e.type.toLowerCase(),this.checked=e.checked,this.value=qf(e),this.isPlaceholder=Ah(e),(this.type===lr||this.type===dr)&&(this.styles.backgroundColor=3739148031,this.styles.borderTopColor=this.styles.borderRightColor=this.styles.borderBottomColor=this.styles.borderLeftColor=2779096575,this.styles.borderTopWidth=this.styles.borderRightWidth=this.styles.borderBottomWidth=this.styles.borderLeftWidth=1,this.styles.borderTopStyle=this.styles.borderRightStyle=this.styles.borderBottomStyle=this.styles.borderLeftStyle=1,this.styles.backgroundClip=[0],this.styles.backgroundOrigin=[0],this.bounds=$f(this.bounds)),this.type){case lr:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=Yf;break;case dr:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=Zf;break}}}class Ei extends me{constructor(A,e){super(A,e);const s=e.options[e.selectedIndex||0];this.value=s&&s.text||""}}class bi extends me{constructor(A,e){super(A,e),this.value=e.value}}class vi extends me{constructor(A,e,s){super(A,e),this.src=e.src,this.width=parseInt(e.width,10)||0,this.height=parseInt(e.height,10)||0,this.backgroundColor=this.styles.backgroundColor,this.parseTreeFn=s;try{if(e.contentWindow&&e.contentWindow.document&&e.contentWindow.document.documentElement&&this.parseTreeFn){this.tree=this.parseTreeFn(A,e.contentWindow.document.documentElement);const r=e.contentWindow.document.documentElement?Bt(A,getComputedStyle(e.contentWindow.document.documentElement).backgroundColor):we.TRANSPARENT,n=e.contentWindow.document.body?Bt(A,getComputedStyle(e.contentWindow.document.body).backgroundColor):we.TRANSPARENT;this.backgroundColor=ke(r)?ke(n)?this.styles.backgroundColor:n:r}}catch{}}}const sh=["OL","UL","MENU"],Br=(t,A,e,s)=>{for(let r=A.firstChild,n;r;r=n)if(n=r.nextSibling,ri(r)&&r.data.length>0)e.textNodes.push(new Wf(t,r,e.styles));else if(ye(r))if(es(r)&&r.assignedNodes)r.assignedNodes().forEach(o=>Br(t,o,e,s));else{const o=Hi(t,r);o.styles.isVisible()&&(rh(r,o,s)?o.flags|=4:nh(o.styles)&&(o.flags|=2),sh.indexOf(r.tagName)!==-1&&(o.flags|=8),e.elements.push(o),r.slot,r.shadowRoot?Br(t,r.shadowRoot,o,s):!gr(r)&&!Si(r)&&!ur(r)&&Br(t,r,o,s))}},Hi=(t,A)=>jn(A)?new Qi(t,A):Li(A)?new xi(t,A):Si(A)?new Ui(t,A):tf(A)?new Fi(t,A):sf(A)?new _n(t,A):oh(A)?new As(t,A):ur(A)?new Ei(t,A):gr(A)?new bi(t,A):Oi(A)?new vi(t,A,Ii):new me(t,A),Ii=(t,A)=>{const e=Hi(t,A);return e.flags|=4,Br(t,A,e,e),e},rh=(t,A,e)=>A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||Pn(t)&&e.styles.isTransparent(),nh=t=>t.isPositioned()||t.isFloating()?!0:cA(t.display,268435456)||cA(t.display,33554432)||cA(t.display,536870912)||cA(t.display,134217728),oh=t=>t.tagName==="INPUT",ah=t=>t.tagName==="HTML",Si=t=>t.tagName==="svg",Pn=t=>t.tagName==="BODY",Li=t=>t.tagName==="CANVAS",Ti=t=>t.tagName==="VIDEO",jn=t=>t.tagName==="IMG",Oi=t=>t.tagName==="IFRAME",Wn=t=>t.tagName==="STYLE",Ki=t=>t.tagName==="SCRIPT",gr=t=>t.tagName==="TEXTAREA",ur=t=>t.tagName==="SELECT",es=t=>t.tagName==="SLOT";class ih{constructor(){this.counters={}}getCounterValue(A){const e=this.counters[A];return e&&e.length?e[e.length-1]:1}getCounterValues(A){const e=this.counters[A];return e||[]}pop(A){A.forEach(e=>this.counters[e].pop())}parse(A){const e=A.counterIncrement,s=A.counterReset;let r=!0;e!==null&&e.forEach(o=>{const a=this.counters[o.counter];a&&o.increment!==0&&(r=!1,a.length||a.push(1),a[Math.max(0,a.length-1)]+=o.increment)});const n=[];return r&&s.forEach(o=>{let a=this.counters[o.counter];n.push(o.counter),a||(a=this.counters[o.counter]=[]),a.push(o.reset)}),n}}const Di={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Ri={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},ch={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},lh={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},ft=(t,A,e,s,r,n)=>t<A||t>e?ss(t,r,n.length>0):s.integers.reduce((o,a,c)=>{for(;t>=a;)t-=a,o+=s.values[c];return o},"")+n,ki=(t,A,e,s)=>{let r="";do e||t--,r=s(t)+r,t/=A;while(t*A>=A);return r},CA=(t,A,e,s,r)=>{const n=e-A+1;return(t<0?"-":"")+(ki(Math.abs(t),n,s,o=>mA(Math.floor(o%n)+A))+r)},At=(t,A,e=". ")=>{const s=A.length;return ki(Math.abs(t),s,!1,r=>A[Math.floor(r%s)])+e},ht=1,Ve=2,Ne=4,ts=8,Ee=(t,A,e,s,r,n)=>{if(t<-9999||t>9999)return ss(t,4,r.length>0);let o=Math.abs(t),a=r;if(o===0)return A[0]+a;for(let c=0;o>0&&c<=4;c++){const g=o%10;g===0&&cA(n,ht)&&a!==""?a=A[g]+a:g>1||g===1&&c===0||g===1&&c===1&&cA(n,Ve)||g===1&&c===1&&cA(n,Ne)&&t>100||g===1&&c>1&&cA(n,ts)?a=A[g]+(c>0?e[c-1]:"")+a:g===1&&c>0&&(a=e[c-1]+a),o=Math.floor(o/10)}return(t<0?s:"")+a},Gi="十百千萬",Mi="拾佰仟萬",Vi="マイナス",Xn="마이너스",ss=(t,A,e)=>{const s=e?". ":"",r=e?"、":"",n=e?", ":"",o=e?" ":"";switch(A){case 0:return"•"+o;case 1:return"◦"+o;case 2:return"◾"+o;case 5:const a=CA(t,48,57,!0,s);return a.length<4?`0${a}`:a;case 4:return At(t,"〇一二三四五六七八九",r);case 6:return ft(t,1,3999,Di,3,s).toLowerCase();case 7:return ft(t,1,3999,Di,3,s);case 8:return CA(t,945,969,!1,s);case 9:return CA(t,97,122,!1,s);case 10:return CA(t,65,90,!1,s);case 11:return CA(t,1632,1641,!0,s);case 12:case 49:return ft(t,1,9999,Ri,3,s);case 35:return ft(t,1,9999,Ri,3,s).toLowerCase();case 13:return CA(t,2534,2543,!0,s);case 14:case 30:return CA(t,6112,6121,!0,s);case 15:return At(t,"子丑寅卯辰巳午未申酉戌亥",r);case 16:return At(t,"甲乙丙丁戊己庚辛壬癸",r);case 17:case 48:return Ee(t,"零一二三四五六七八九",Gi,"負",r,Ve|Ne|ts);case 47:return Ee(t,"零壹貳參肆伍陸柒捌玖",Mi,"負",r,ht|Ve|Ne|ts);case 42:return Ee(t,"零一二三四五六七八九",Gi,"负",r,Ve|Ne|ts);case 41:return Ee(t,"零壹贰叁肆伍陆柒捌玖",Mi,"负",r,ht|Ve|Ne|ts);case 26:return Ee(t,"〇一二三四五六七八九","十百千万",Vi,r,0);case 25:return Ee(t,"零壱弐参四伍六七八九","拾百千万",Vi,r,ht|Ve|Ne);case 31:return Ee(t,"영일이삼사오육칠팔구","십백천만",Xn,n,ht|Ve|Ne);case 33:return Ee(t,"零一二三四五六七八九","十百千萬",Xn,n,0);case 32:return Ee(t,"零壹貳參四五六七八九","拾百千",Xn,n,ht|Ve|Ne);case 18:return CA(t,2406,2415,!0,s);case 20:return ft(t,1,19999,lh,3,s);case 21:return CA(t,2790,2799,!0,s);case 22:return CA(t,2662,2671,!0,s);case 52:return ft(t,1,10999,ch,3,s);case 23:return At(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return At(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return CA(t,3302,3311,!0,s);case 28:return At(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",r);case 29:return At(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",r);case 34:return CA(t,3792,3801,!0,s);case 37:return CA(t,6160,6169,!0,s);case 38:return CA(t,4160,4169,!0,s);case 39:return CA(t,2918,2927,!0,s);case 40:return CA(t,1776,1785,!0,s);case 43:return CA(t,3046,3055,!0,s);case 44:return CA(t,3174,3183,!0,s);case 45:return CA(t,3664,3673,!0,s);case 46:return CA(t,3872,3881,!0,s);default:return CA(t,48,57,!0,s)}},zn="data-html2canvas-ignore",dh=t=>{let A=t;for(;A;){if(A.parentNode&&A.parentNode.host)return A.parentNode;const e=A.getRootNode();if(e&&e!==A.ownerDocument&&e.host)return e;A=A.parentNode}return null};class Ni{constructor(A,e,s){if(this.context=A,this.options=s,this.scrolledElements=[],this.referenceElement=e,this.counters=new ih,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");if(!this.options.iframeContainer){const r=dh(e);r&&(this.options.iframeContainer=r)}this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}toIFrame(A,e){const s=Bh(A,e,this.options.iframeContainer);if(!s.contentWindow)throw new Error("Unable to find iframe window");const r=A.defaultView.pageXOffset,n=A.defaultView.pageYOffset,o=s.contentWindow,a=o.document,c=fh(s).then(async()=>{this.scrolledElements.forEach(mh),o&&(o.scrollTo(e.left,e.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==e.top||o.scrollX!==e.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-e.left,o.scrollY-e.top,0,0)));const f=this.options.onclone,h=this.clonedReferenceElement;if(typeof h>"u")throw new Error(`Error finding the ${this.referenceElement.nodeName} in the cloned document`);return a.fonts&&a.fonts.ready&&await a.fonts.ready,/(AppleWebKit)/g.test(navigator.userAgent)&&await uh(a),typeof f=="function"?Promise.resolve().then(()=>f(a,h)).then(()=>s):s}),g=a.baseURI;a.open();const l=ph(document.doctype)+"<html></html>";try{const f=this.referenceElement.ownerDocument?.defaultView,h=f&&f.trustedTypes;let w=h?.getPolicy?.("html2canvas-pro");!w&&h&&(w=h.createPolicy("html2canvas-pro",{createHTML:C=>C})),w?a.write(w.createHTML(l)):a.write(l)}catch{a.write(l)}wh(this.referenceElement.ownerDocument,r,n),a.close();const B=a.adoptNode(this.documentElement);return Fh(B,g),a.replaceChild(B,a.documentElement),c}createElementClone(A){if(Ln(A,2))debugger;if(Li(A))return this.createCanvasClone(A);if(Ti(A))return this.createVideoClone(A);if(Wn(A))return this.createStyleClone(A);const e=A.cloneNode(!1);return jn(e)&&(jn(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),e.loading==="lazy"&&(e.loading="eager")),ni(e)&&!ut(e)?this.createCustomElementClone(e):e}createCustomElementClone(A){const e=document.createElement("div");if(e.className=A.className,Jn(A.style,e),A.shadowRoot)try{e.attachShadow({mode:"open"})}catch(s){this.context.logger.error("Failed to attach shadow root to custom element clone:",s)}return e}createStyleClone(A){try{const s=A.sheet;if(s&&s.cssRules){const r=[].slice.call(s.cssRules,0).reduce((o,a)=>a&&typeof a.cssText=="string"?o+a.cssText:o,""),n=A.cloneNode(!1);return n.textContent=r,this.options.cspNonce&&(n.nonce=this.options.cspNonce),n}}catch(s){if(this.context.logger.error("Unable to access cssRules property",s),s.name!=="SecurityError")throw s}const e=A.cloneNode(!1);return this.options.cspNonce&&(e.nonce=this.options.cspNonce),e}createCanvasClone(A){if(this.options.inlineImages&&A.ownerDocument){const s=A.ownerDocument.createElement("img");try{return s.src=A.toDataURL(),s}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}const e=A.cloneNode(!1);try{e.width=A.width,e.height=A.height;const s=A.getContext("2d"),r=e.getContext("2d",{willReadFrequently:!0});if(r)if(!this.options.allowTaint&&s)r.putImageData(s.getImageData(0,0,A.width,A.height),0,0);else{const n=A.getContext("webgl2")??A.getContext("webgl");n&&n.getContextAttributes()?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A),r.drawImage(A,0,0)}return e}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return e}createVideoClone(A){const e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;const s=e.getContext("2d");try{return s&&(s.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||s.getImageData(0,0,e.width,e.height)),e}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}const r=A.ownerDocument.createElement("canvas");return r.width=A.offsetWidth,r.height=A.offsetHeight,r}appendChildNode(A,e,s){(!ye(e)||!Ki(e)&&!e.hasAttribute(zn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(e)))&&(!this.options.copyStyles||!ye(e)||!Wn(e))&&A.appendChild(this.cloneNode(e,s))}shouldCloneChild(A){return!ye(A)||!Ki(A)&&!A.hasAttribute(zn)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(A))}shouldCloneStyleElement(A){return!this.options.copyStyles||!ye(A)||!Wn(A)}safeAppendClonedChild(A,e,s){this.shouldCloneChild(e)&&this.shouldCloneStyleElement(e)&&A.appendChild(this.cloneNode(e,s))}cloneAssignedNodes(A,e,s){A.forEach(r=>{this.safeAppendClonedChild(e,r,s)})}cloneSlotFallbackContent(A,e,s){for(let r=A.firstChild;r;r=r.nextSibling)this.safeAppendClonedChild(e,r,s)}cloneSlotElement(A,e,s){if(!es(A))return;const r=A;if(typeof r.assignedNodes!="function"){this.context.logger.warn("HTMLSlotElement.assignedNodes is not available",A),this.cloneSlotFallbackContent(A,e,s);return}const n=r.assignedNodes();if(!n||!Array.isArray(n)){this.context.logger.warn("assignedNodes() did not return a valid array",A),this.cloneSlotFallbackContent(A,e,s);return}n.length>0?this.cloneAssignedNodes(n,e,s):this.cloneSlotFallbackContent(A,e,s)}cloneShadowDOMChildren(A,e,s){for(let r=A.firstChild;r;r=r.nextSibling)ye(r)&&es(r)?this.cloneSlotElement(r,e,s):this.safeAppendClonedChild(e,r,s)}cloneLightDOMChildren(A,e,s){for(let r=A.firstChild;r;r=r.nextSibling)this.appendChildNode(e,r,s)}cloneSlotElementAsLightDOM(A,e,s){if(!es(A))return;const r=A;if(typeof r.assignedNodes!="function"){for(let o=A.firstChild;o;o=o.nextSibling)this.appendChildNode(e,o,s);return}const n=r.assignedNodes();if(n&&Array.isArray(n)&&n.length>0)n.forEach(o=>this.appendChildNode(e,o,s));else for(let o=A.firstChild;o;o=o.nextSibling)this.appendChildNode(e,o,s)}cloneShadowDOMAsLightDOM(A,e,s){for(let r=A.firstChild;r;r=r.nextSibling)ye(r)&&es(r)?this.cloneSlotElementAsLightDOM(r,e,s):this.appendChildNode(e,r,s)}cloneChildNodes(A,e,s){A.shadowRoot&&e.shadowRoot?(this.cloneShadowDOMChildren(A.shadowRoot,e.shadowRoot,s),this.cloneLightDOMChildren(A,e,s)):A.shadowRoot&&!e.shadowRoot?this.cloneShadowDOMAsLightDOM(A.shadowRoot,e,s):this.cloneLightDOMChildren(A,e,s)}cloneNode(A,e){if(ri(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);const s=A.ownerDocument.defaultView;if(s&&ye(A)&&($t(A)||ut(A))){const r=this.createElementClone(A);r.style.transitionProperty="none";const n=s.getComputedStyle(A),o=s.getComputedStyle(A,":before"),a=s.getComputedStyle(A,":after");this.referenceElement===A&&$t(r)&&(this.clonedReferenceElement=r),Pn(r)&&xh(r,this.options.cspNonce);const c=this.counters.parse(new si(this.context,n)),g=this.resolvePseudoContent(A,r,o,rs.BEFORE);ni(A)&&(e=!0),Ti(A)||this.cloneChildNodes(A,r,e),g&&r.insertBefore(g,r.firstChild);const l=this.resolvePseudoContent(A,r,a,rs.AFTER);return l&&r.appendChild(l),this.counters.pop(c),(n&&(this.options.copyStyles||ut(A))&&!Oi(A)||e)&&Jn(n,r),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([r,A.scrollLeft,A.scrollTop]),(gr(A)||ur(A))&&(gr(r)||ur(r))&&(r.value=A.value),r}return A.cloneNode(!1)}resolvePseudoContent(A,e,s,r){if(!s)return;const n=s.content,o=e.ownerDocument;if(!o||!n||n==="none"||n==="-moz-alt-content"||s.display==="none")return;this.counters.parse(new si(this.context,s));const a=new ef(this.context,s),c=o.createElement("html2canvaspseudoelement");Jn(s,c),a.content.forEach(l=>{if(l.type===0)c.appendChild(o.createTextNode(l.value));else if(l.type===22){const B=o.createElement("img");B.src=l.value,B.style.opacity="1",c.appendChild(B)}else if(l.type===18){if(l.name==="attr"){const B=l.values.filter(V);B.length&&c.appendChild(o.createTextNode(A.getAttribute(B[0].value)||""))}else if(l.name==="counter"){const[B,f]=l.values.filter(OA);if(B&&V(B)){const h=this.counters.getCounterValue(B.value),w=f&&V(f)?Sn.parse(this.context,f.value):3;c.appendChild(o.createTextNode(ss(h,w,!1)))}}else if(l.name==="counters"){const[B,f,h]=l.values.filter(OA);if(B&&V(B)){const w=this.counters.getCounterValues(B.value),C=h&&V(h)?Sn.parse(this.context,h.value):3,F=f&&f.type===0?f.value:"",y=w.map(m=>ss(m,C,!1)).join(F);c.appendChild(o.createTextNode(y))}}}else if(l.type===20)switch(l.value){case"open-quote":c.appendChild(o.createTextNode(ti(a.quotes,this.quoteDepth++,!0)));break;case"close-quote":c.appendChild(o.createTextNode(ti(a.quotes,--this.quoteDepth,!1)));break;default:c.appendChild(o.createTextNode(l.value))}}),c.className=`${Yn} ${Zn}`;const g=r===rs.BEFORE?` ${Yn}`:` ${Zn}`;return ut(e)?e.className.baseValue+=g:e.className+=g,c}static destroy(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1}}var rs;(function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"})(rs||(rs={}));const Bh=(t,A,e)=>{const s=t.createElement("iframe");return s.className="html2canvas-container",s.style.visibility="hidden",s.style.position="fixed",s.style.left="-10000px",s.style.top="0px",s.style.border="0",s.width=A.width.toString(),s.height=A.height.toString(),s.scrolling="no",s.setAttribute(zn,"true"),(e||t.body).appendChild(s),s},gh=t=>new Promise(A=>{if(t.complete){A();return}if(!t.src){A();return}t.onload=A,t.onerror=A}),uh=t=>Promise.all([].slice.call(t.images,0).map(gh)),fh=t=>new Promise((A,e)=>{const s=t.contentWindow;if(!s)return e("No window assigned for iframe");const r=s.document;s.onload=t.onload=()=>{s.onload=t.onload=null;const n=setInterval(()=>{r.body.childNodes.length>0&&r.readyState==="complete"&&(clearInterval(n),A(t))},50)}}),hh=["all","d","content"],Jn=(t,A)=>{for(let e=t.length-1;e>=0;e--){const s=t.item(e);hh.indexOf(s)===-1&&!s.startsWith("--")&&A.style.setProperty(s,t.getPropertyValue(s))}return A},ph=t=>{let A="";return t&&(A+="<!DOCTYPE ",t.name&&(A+=t.name),t.internalSubset&&(A+=" "+t.internalSubset.replace(/"/g,"&quot;").replace(/>/g,"&gt;")),t.publicId?(A+=' PUBLIC "'+t.publicId.replace(/"/g,"&quot;")+'"',t.systemId&&(A+=' "'+t.systemId.replace(/"/g,"&quot;")+'"')):t.systemId&&(A+=' SYSTEM "'+t.systemId.replace(/"/g,"&quot;")+'"'),A+=">"),A},wh=(t,A,e)=>{t&&t.defaultView&&(A!==t.defaultView.pageXOffset||e!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(A,e)},mh=([t,A,e])=>{t.scrollLeft=A,t.scrollTop=e},Ch=":before",Qh=":after",Yn="___html2canvas___pseudoelement_before",Zn="___html2canvas___pseudoelement_after",_i=`{
8
8
  content: "" !important;
9
9
  display: none !important;
10
- }`,nh=(t,A)=>{oh(t,`.${vn}${rh}${xi}
11
- .${Hn}${sh}${xi}`,A)},oh=(t,A,e)=>{const r=t.ownerDocument;if(r){const s=r.createElement("style");s.textContent=A,e&&(s.nonce=e),t.appendChild(s)}},ah=(t,A)=>{const e=t.ownerDocument.createElement("base");e.href=A;const r=t.getElementsByTagName("head").item(0);r?.insertBefore(e,r?.firstChild??null)};class I{constructor(A,e){this.type=0,this.x=A,this.y=e}add(A,e){return new I(this.x+A,this.y+e)}}const ht=(t,A,e)=>new I(t.x+(A.x-t.x)*e,t.y+(A.y-t.y)*e);class Fe{constructor(A,e,r,s){this.type=1,this.start=A,this.startControl=e,this.endControl=r,this.end=s}subdivide(A,e){const r=ht(this.start,this.startControl,A),s=ht(this.startControl,this.endControl,A),n=ht(this.endControl,this.end,A),o=ht(r,s,A),a=ht(s,n,A),i=ht(o,a,A);return e?new Fe(this.start,r,o,i):new Fe(i,a,n,this.end)}add(A,e){return new Fe(this.start.add(A,e),this.startControl.add(A,e),this.endControl.add(A,e),this.end.add(A,e))}reverse(){return new Fe(this.end,this.endControl,this.startControl,this.start)}}const jA=t=>t.type===1;class ih{constructor(A){const e=A.styles,r=A.bounds;let[s,n]=Gt(e.borderTopLeftRadius,r.width,r.height),[o,a]=Gt(e.borderTopRightRadius,r.width,r.height),[i,B]=Gt(e.borderBottomRightRadius,r.width,r.height),[c,g]=Gt(e.borderBottomLeftRadius,r.width,r.height);const f=[];f.push((s+o)/r.width),f.push((c+i)/r.width),f.push((n+g)/r.height),f.push((a+B)/r.height);const u=Math.max(...f);u>1&&(s/=u,n/=u,o/=u,a/=u,i/=u,B/=u,c/=u,g/=u);const h=r.width-o,w=r.height-B,x=r.width-i,U=r.height-g,p=e.borderTopWidth,E=e.borderRightWidth,L=e.borderBottomWidth,y=e.borderLeftWidth,K=k(e.paddingTop,A.bounds.width),V=k(e.paddingRight,A.bounds.width),AA=k(e.paddingBottom,A.bounds.width),S=k(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||n>0?oA(r.left+y/3,r.top+p/3,s-y/3,n-p/3,Y.TOP_LEFT):new I(r.left+y/3,r.top+p/3),this.topRightBorderDoubleOuterBox=s>0||n>0?oA(r.left+h,r.top+p/3,o-E/3,a-p/3,Y.TOP_RIGHT):new I(r.left+r.width-E/3,r.top+p/3),this.bottomRightBorderDoubleOuterBox=i>0||B>0?oA(r.left+x,r.top+w,i-E/3,B-L/3,Y.BOTTOM_RIGHT):new I(r.left+r.width-E/3,r.top+r.height-L/3),this.bottomLeftBorderDoubleOuterBox=c>0||g>0?oA(r.left+y/3,r.top+U,c-y/3,g-L/3,Y.BOTTOM_LEFT):new I(r.left+y/3,r.top+r.height-L/3),this.topLeftBorderDoubleInnerBox=s>0||n>0?oA(r.left+y*2/3,r.top+p*2/3,s-y*2/3,n-p*2/3,Y.TOP_LEFT):new I(r.left+y*2/3,r.top+p*2/3),this.topRightBorderDoubleInnerBox=s>0||n>0?oA(r.left+h,r.top+p*2/3,o-E*2/3,a-p*2/3,Y.TOP_RIGHT):new I(r.left+r.width-E*2/3,r.top+p*2/3),this.bottomRightBorderDoubleInnerBox=i>0||B>0?oA(r.left+x,r.top+w,i-E*2/3,B-L*2/3,Y.BOTTOM_RIGHT):new I(r.left+r.width-E*2/3,r.top+r.height-L*2/3),this.bottomLeftBorderDoubleInnerBox=c>0||g>0?oA(r.left+y*2/3,r.top+U,c-y*2/3,g-L*2/3,Y.BOTTOM_LEFT):new I(r.left+y*2/3,r.top+r.height-L*2/3),this.topLeftBorderStroke=s>0||n>0?oA(r.left+y/2,r.top+p/2,s-y/2,n-p/2,Y.TOP_LEFT):new I(r.left+y/2,r.top+p/2),this.topRightBorderStroke=s>0||n>0?oA(r.left+h,r.top+p/2,o-E/2,a-p/2,Y.TOP_RIGHT):new I(r.left+r.width-E/2,r.top+p/2),this.bottomRightBorderStroke=i>0||B>0?oA(r.left+x,r.top+w,i-E/2,B-L/2,Y.BOTTOM_RIGHT):new I(r.left+r.width-E/2,r.top+r.height-L/2),this.bottomLeftBorderStroke=c>0||g>0?oA(r.left+y/2,r.top+U,c-y/2,g-L/2,Y.BOTTOM_LEFT):new I(r.left+y/2,r.top+r.height-L/2),this.topLeftBorderBox=s>0||n>0?oA(r.left,r.top,s,n,Y.TOP_LEFT):new I(r.left,r.top),this.topRightBorderBox=o>0||a>0?oA(r.left+h,r.top,o,a,Y.TOP_RIGHT):new I(r.left+r.width,r.top),this.bottomRightBorderBox=i>0||B>0?oA(r.left+x,r.top+w,i,B,Y.BOTTOM_RIGHT):new I(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=c>0||g>0?oA(r.left,r.top+U,c,g,Y.BOTTOM_LEFT):new I(r.left,r.top+r.height),this.topLeftPaddingBox=s>0||n>0?oA(r.left+y,r.top+p,Math.max(0,s-y),Math.max(0,n-p),Y.TOP_LEFT):new I(r.left+y,r.top+p),this.topRightPaddingBox=o>0||a>0?oA(r.left+Math.min(h,r.width-E),r.top+p,h>r.width+E?0:Math.max(0,o-E),Math.max(0,a-p),Y.TOP_RIGHT):new I(r.left+r.width-E,r.top+p),this.bottomRightPaddingBox=i>0||B>0?oA(r.left+Math.min(x,r.width-y),r.top+Math.min(w,r.height-L),Math.max(0,i-E),Math.max(0,B-L),Y.BOTTOM_RIGHT):new I(r.left+r.width-E,r.top+r.height-L),this.bottomLeftPaddingBox=c>0||g>0?oA(r.left+y,r.top+Math.min(U,r.height-L),Math.max(0,c-y),Math.max(0,g-L),Y.BOTTOM_LEFT):new I(r.left+y,r.top+r.height-L),this.topLeftContentBox=s>0||n>0?oA(r.left+y+S,r.top+p+K,Math.max(0,s-(y+S)),Math.max(0,n-(p+K)),Y.TOP_LEFT):new I(r.left+y+S,r.top+p+K),this.topRightContentBox=o>0||a>0?oA(r.left+Math.min(h,r.width+y+S),r.top+p+K,h>r.width+y+S?0:o-y+S,a-(p+K),Y.TOP_RIGHT):new I(r.left+r.width-(E+V),r.top+p+K),this.bottomRightContentBox=i>0||B>0?oA(r.left+Math.min(x,r.width-(y+S)),r.top+Math.min(w,r.height+p+K),Math.max(0,i-(E+V)),B-(L+AA),Y.BOTTOM_RIGHT):new I(r.left+r.width-(E+V),r.top+r.height-(L+AA)),this.bottomLeftContentBox=c>0||g>0?oA(r.left+y+S,r.top+U,Math.max(0,c-(y+S)),g-(L+AA),Y.BOTTOM_LEFT):new I(r.left+y+S,r.top+r.height-(L+AA))}}var Y;(function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Y||(Y={}));const oA=(t,A,e,r,s)=>{const n=4*((Math.sqrt(2)-1)/3),o=e*n,a=r*n,i=t+e,B=A+r;switch(s){case Y.TOP_LEFT:return new Fe(new I(t,B),new I(t,B-a),new I(i-o,A),new I(i,A));case Y.TOP_RIGHT:return new Fe(new I(t,A),new I(t+o,A),new I(i,B-a),new I(i,B));case Y.BOTTOM_RIGHT:return new Fe(new I(i,A),new I(i,A+a),new I(t+o,B),new I(t,B));case Y.BOTTOM_LEFT:default:return new Fe(new I(i,B),new I(i-o,B),new I(t,A+a),new I(t,A))}},es=t=>[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox],ch=t=>[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox],ts=t=>[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox];class yi{constructor(A,e,r){this.offsetX=A,this.offsetY=e,this.matrix=r,this.type=0,this.target=6}}class rs{constructor(A,e){this.path=A,this.target=e,this.type=1}}class lh{constructor(A){this.opacity=A,this.type=2,this.target=6}}class zt{constructor(A){this.applyClip=A,this.type=3,this.target=6}}const dh=t=>t.type===0,Ei=t=>t.type===1,Bh=t=>t.type===2,gh=t=>t.type===3,bi=(t,A)=>t.length===A.length?t.some((e,r)=>e===A[r]):!1,uh=(t,A,e,r,s)=>t.map((n,o)=>{switch(o){case 0:return n.add(A,e);case 1:return n.add(A+r,e);case 2:return n.add(A+r,e+s);case 3:return n.add(A,e+s)}return n});class vi{constructor(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}}class Hi{constructor(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new ih(this.container),this.container.styles.opacity<1&&this.effects.push(new lh(this.container.styles.opacity)),this.container.styles.rotate!==null){const r=this.container.styles.transformOrigin,s=this.container.bounds.left+k(r[0],this.container.bounds.width),n=this.container.bounds.top+k(r[1],this.container.bounds.height),a=this.container.styles.rotate*Math.PI/180,i=Math.cos(a),B=Math.sin(a),c=[i,B,-B,i,0,0];this.effects.push(new yi(s,n,c))}if(this.container.styles.transform!==null){const r=this.container.styles.transformOrigin,s=this.container.bounds.left+k(r[0],this.container.bounds.width),n=this.container.bounds.top+k(r[1],this.container.bounds.height),o=this.container.styles.transform;this.effects.push(new yi(s,n,o))}if(this.container.styles.overflowX!==0){const r=es(this.curves),s=ts(this.curves);bi(r,s)?this.effects.push(new rs(r,6)):(this.effects.push(new rs(r,2)),this.effects.push(new rs(s,4)))}if(this.container.styles.clipPath.type!==0){const r=fh(this.container.styles.clipPath,this.container.bounds);r&&this.effects.push(r)}}getEffects(A){let e=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent;const s=this.effects.slice(0);for(;r;){const n=r.effects.filter(o=>!Ei(o));if(e||r.container.styles.position!==0||!r.parent){if(e=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){const o=es(r.curves),a=ts(r.curves);bi(o,a)||s.unshift(new rs(a,6))}s.unshift(...n)}else s.unshift(...n);r=r.parent}return s.filter(n=>cA(n.target,A))}}const Ii=(t,A,e,r,s)=>t==="closest-side"?Math.min(A-e,r-A):t==="farthest-side"?Math.max(A-e,r-A):k(t,s),fh=(t,A)=>{const{left:e,top:r,width:s,height:n}=A;switch(t.type){case 1:{const o=k(t.left,s),a=k(t.top,n),i=e+o,B=r+a,c=Math.max(0,s-o-k(t.right,s)),g=Math.max(0,n-a-k(t.bottom,n));return new zt(f=>{f.beginPath(),f.rect(i,B,c,g),f.clip()})}case 2:{const o=e+k(t.cx,s),a=r+k(t.cy,n);let i;return t.radius==="closest-side"?i=Math.min(o-e,a-r,e+s-o,r+n-a):t.radius==="farthest-side"?i=Math.max(o-e,a-r,e+s-o,r+n-a):i=k(t.radius,Math.sqrt(s*s+n*n)/Math.SQRT2),new zt(B=>{B.beginPath(),B.arc(o,a,Math.max(0,i),0,Math.PI*2),B.clip()})}case 3:{const o=e+k(t.cx,s),a=r+k(t.cy,n),i=Ii(t.rx,o,e,e+s,s),B=Ii(t.ry,a,r,r+n,n);return new zt(c=>{c.beginPath(),c.ellipse(o,a,Math.max(0,i),Math.max(0,B),0,0,Math.PI*2),c.clip()})}case 4:{const o=t.points.map(([a,i])=>[e+k(a,s),r+k(i,n)]);return new zt(a=>{if(a.beginPath(),o.length>0){a.moveTo(o[0][0],o[0][1]);for(let i=1;i<o.length;i++)a.lineTo(o[i][0],o[i][1]);a.closePath()}a.clip()})}case 5:{const{d:o}=t;return new zt(a=>{try{const i=a.getTransform();a.translate(e,r),a.clip(new Path2D(o)),a.setTransform(i)}catch{}})}case 0:return null;default:return null}},In=(t,A,e,r)=>{t.container.elements.forEach(s=>{const n=cA(s.flags,4),o=cA(s.flags,2),a=new Hi(s,t);cA(s.styles.display,2048)&&r.push(a);const i=cA(s.flags,8)?[]:r;if(n||o){const B=n||s.styles.isPositioned()?e:A,c=new vi(a);if(s.styles.isPositioned()||s.styles.opacity<1||s.styles.isTransformed()){const g=s.styles.zIndex.order;if(g<0){let f=0;B.negativeZIndex.some((u,h)=>g>u.element.container.styles.zIndex.order?(f=h,!1):f>0),B.negativeZIndex.splice(f,0,c)}else if(g>0){let f=0;B.positiveZIndex.some((u,h)=>g>=u.element.container.styles.zIndex.order?(f=h+1,!1):f>0),B.positiveZIndex.splice(f,0,c)}else B.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else s.styles.isFloating()?B.nonPositionedFloats.push(c):B.nonPositionedInlineLevel.push(c);In(a,c,n?c:e,i)}else s.styles.isInlineLevel()?A.inlineLevel.push(a):A.nonInlineLevel.push(a),In(a,A,e,i);cA(s.flags,8)&&Si(s,i)})},Si=(t,A)=>{let e=t instanceof mn?t.start:1;const r=t instanceof mn?t.reversed:!1;for(let s=0;s<A.length;s++){const n=A[s];n.container instanceof ni&&typeof n.container.value=="number"&&n.container.value!==0&&(e=n.container.value),n.listValue=Jt(e,n.container.styles.listStyleType,!0),e+=r?-1:1}},hh=t=>{const A=new Hi(t,null),e=new vi(A),r=[];return In(A,e,e,r),Si(A.container,r),e},Li=t=>{const A=t.bounds,e=t.styles;return A.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},Zt=t=>{const A=t.styles,e=t.bounds,r=k(A.paddingLeft,e.width),s=k(A.paddingRight,e.width),n=k(A.paddingTop,e.width),o=k(A.paddingBottom,e.width);return e.add(r+A.borderLeftWidth,n+A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth+r+s),-(A.borderTopWidth+A.borderBottomWidth+n+o))},wh=(t,A)=>t===0?A.bounds:t===2?Zt(A):Li(A),ph=(t,A)=>t===0?A.bounds:t===2?Zt(A):Li(A),Sn=(t,A,e)=>{const r=wh(pt(t.styles.backgroundOrigin,A),t),s=ph(pt(t.styles.backgroundClip,A),t),n=Qh(pt(t.styles.backgroundSize,A),e,r);let[o,a]=n;const i=Gt(pt(t.styles.backgroundPosition,A),r.width-o,r.height-a),B=Ch(pt(t.styles.backgroundRepeat,A),i,n,r,s),c=Math.round(r.left+i[0]),g=Math.round(r.top+i[1]);return o=Math.max(1,o),a=Math.max(1,a),[B,c,g,o,a]},wt=t=>G(t)&&t.value===Bt.AUTO,ss=t=>typeof t=="number",Qh=(t,[A,e,r],s)=>{const[n,o]=t;if(!n)return[0,0];if($(n)&&o&&$(o))return[k(n,s.width),k(o,s.height)];const a=ss(r);if(G(n)&&(n.value===Bt.CONTAIN||n.value===Bt.COVER))return ss(r)?s.width/s.height<r!=(n.value===Bt.COVER)?[s.width,s.width/r]:[s.height*r,s.height]:[s.width,s.height];const i=ss(A),B=ss(e),c=i||B;if(wt(n)&&(!o||wt(o))){if(i&&B)return[A,e];if(!a&&!c)return[s.width,s.height];if(c&&a){const w=i?A:e*r,x=B?e:A/r;return[w,x]}const u=i?A:s.width,h=B?e:s.height;return[u,h]}if(a){let u=0,h=0;return $(n)?u=k(n,s.width):$(o)&&(h=k(o,s.height)),wt(n)?u=h*r:(!o||wt(o))&&(h=u/r),[u,h]}let g=null,f=null;if($(n)?g=k(n,s.width):o&&$(o)&&(f=k(o,s.height)),g!==null&&(!o||wt(o))&&(f=i&&B?g/A*e:s.height),f!==null&&wt(n)&&(g=i&&B?f/e*A:s.width),g!==null&&f!==null)return[g,f];throw new Error("Unable to calculate background-size for element")},pt=(t,A)=>{const e=t[A];return typeof e>"u"?t[0]:e},Ch=(t,[A,e],[r,s],n,o)=>{switch(t){case 2:return[new I(Math.round(n.left),Math.round(n.top+e)),new I(Math.round(n.left+n.width),Math.round(n.top+e)),new I(Math.round(n.left+n.width),Math.round(s+n.top+e)),new I(Math.round(n.left),Math.round(s+n.top+e))];case 3:return[new I(Math.round(n.left+A),Math.round(n.top)),new I(Math.round(n.left+A+r),Math.round(n.top)),new I(Math.round(n.left+A+r),Math.round(n.height+n.top)),new I(Math.round(n.left+A),Math.round(n.height+n.top))];case 1:return[new I(Math.round(n.left+A),Math.round(n.top+e)),new I(Math.round(n.left+A+r),Math.round(n.top+e)),new I(Math.round(n.left+A+r),Math.round(n.top+e+s)),new I(Math.round(n.left+A),Math.round(n.top+e+s))];default:return[new I(Math.round(o.left),Math.round(o.top)),new I(Math.round(o.left+o.width),Math.round(o.top)),new I(Math.round(o.left+o.width),Math.round(o.height+o.top)),new I(Math.round(o.left),Math.round(o.height+o.top))]}},mh="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Ti="Hidden Text";class Uh{constructor(A){this._data={},this._document=A}parseMetrics(A,e){const r=this._document.createElement("div"),s=this._document.createElement("img"),n=this._document.createElement("span"),o=this._document.body;r.style.visibility="hidden",r.style.fontFamily=A,r.style.fontSize=e,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",o.appendChild(r),s.src=mh,s.width=1,s.height=1,s.style.margin="0",s.style.padding="0",s.style.verticalAlign="baseline",n.style.fontFamily=A,n.style.fontSize=e,n.style.margin="0",n.style.padding="0",n.appendChild(this._document.createTextNode(Ti)),r.appendChild(n),r.appendChild(s);const a=s.offsetTop-n.offsetTop+2;r.removeChild(n),r.appendChild(this._document.createTextNode(Ti)),r.style.lineHeight="normal",s.style.verticalAlign="super";const i=s.offsetTop-r.offsetTop+2;return o.removeChild(r),{baseline:a,middle:i}}getMetrics(A,e){const r=`${A} ${e}`;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(A,e)),this._data[r]}}class Ki{constructor(A,e){this.context=A,this.options=e}}class Fh{constructor(A){this.ctx=A.ctx,this.context=A.context,this.canvas=A.canvas}async renderBackgroundImage(A){let e=A.styles.backgroundImage.length-1;for(const r of A.styles.backgroundImage.slice(0).reverse())r.type===0?await this.renderBackgroundURLImage(A,r,e):tg(r)?this.renderLinearGradient(A,r,e):rg(r)&&this.renderRadialGradient(A,r,e),e--}async renderBackgroundURLImage(A,e,r){let s;const n=e.url;try{s=await this.context.cache.match(n)}catch{this.context.logger.error(`Error loading background-image ${n}`)}if(s){const o=isNaN(s.width)||s.width===0?1:s.width,a=isNaN(s.height)||s.height===0?1:s.height,[i,B,c,g,f]=Sn(A,r,[o,a,o/a]),u=this.ctx.createPattern(this.resizeImage(s,g,f,A.styles.imageRendering),"repeat");this.renderRepeat(i,u,B,c)}}renderLinearGradient(A,e,r){const[s,n,o,a,i]=Sn(A,r,[null,null,null]),[B,c,g,f,u]=ZB(e.angle,a,i),w=(this.canvas.ownerDocument??document).createElement("canvas");w.width=a,w.height=i;const x=w.getContext("2d"),U=x.createLinearGradient(c,f,g,u);if(Ua(e.stops,B||1).forEach(p=>U.addColorStop(p.stop,rA(p.color))),x.fillStyle=U,x.fillRect(0,0,a,i),a>0&&i>0){const p=this.ctx.createPattern(w,"repeat");this.renderRepeat(s,p,n,o)}}renderRadialGradient(A,e,r){const[s,n,o,a,i]=Sn(A,r,[null,null,null]),B=e.position.length===0?[Ye]:e.position,c=k(B[0],a),g=k(B[B.length-1],i);let[f,u]=$B(e,c,g,a,i);if((f===0||u===0)&&(f=Math.max(f,.01),u=Math.max(u,.01)),f>0&&u>0){const h=this.ctx.createRadialGradient(n+c,o+g,0,n+c,o+g,f);if(Ua(e.stops,f*2).forEach(w=>h.addColorStop(w.stop,rA(w.color))),this.path(s),this.ctx.fillStyle=h,f!==u){const w=A.bounds.left+.5*A.bounds.width,x=A.bounds.top+.5*A.bounds.height,U=u/f,p=1/U;this.ctx.save(),this.ctx.translate(w,x),this.ctx.transform(1,0,0,U,0,0),this.ctx.translate(-w,-x),this.ctx.fillRect(n,p*(o-x)+x,a,i*p),this.ctx.restore()}else this.ctx.fill()}}renderRepeat(A,e,r,s){this.path(A),this.ctx.fillStyle=e,this.ctx.translate(r,s),this.ctx.fill(),this.ctx.translate(-r,-s)}resizeImage(A,e,r,s){const o=(this.canvas.ownerDocument??document).createElement("canvas");o.width=Math.max(1,e),o.height=Math.max(1,r);const a=o.getContext("2d");return s===$A.PIXELATED||s===$A.CRISP_EDGES?(this.context.logger.debug("Disabling image smoothing for background image due to CSS image-rendering"),a.imageSmoothingEnabled=!1):s===$A.SMOOTH?(this.context.logger.debug("Enabling image smoothing for background image due to CSS image-rendering: smooth"),a.imageSmoothingEnabled=!0):a.imageSmoothingEnabled=this.ctx.imageSmoothingEnabled,this.ctx.imageSmoothingQuality&&(a.imageSmoothingQuality=this.ctx.imageSmoothingQuality),a.drawImage(A,0,0,A.width,A.height,0,0,e,r),o}path(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()}formatPath(A){A.forEach((e,r)=>{const s=jA(e)?e.start:e;r===0?this.ctx.moveTo(s.x,s.y):this.ctx.lineTo(s.x,s.y),jA(e)&&this.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})}}const Oi=(t,A)=>{switch(A){case 0:return te(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return te(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return te(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);default:return te(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},xh=(t,A)=>{switch(A){case 0:return te(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return te(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return te(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);default:return te(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},yh=(t,A)=>{switch(A){case 0:return te(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return te(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return te(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);default:return te(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},Eh=(t,A)=>{switch(A){case 0:return ns(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return ns(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return ns(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);default:return ns(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},ns=(t,A)=>{const e=[];return jA(t)?e.push(t.subdivide(.5,!1)):e.push(t),jA(A)?e.push(A.subdivide(.5,!0)):e.push(A),e},te=(t,A,e,r)=>{const s=[];return jA(t)?s.push(t.subdivide(.5,!1)):s.push(t),jA(e)?s.push(e.subdivide(.5,!0)):s.push(e),jA(r)?s.push(r.subdivide(.5,!0).reverse()):s.push(r),jA(A)?s.push(A.subdivide(.5,!1).reverse()):s.push(A),s};class bh{constructor(A,e){this.ctx=A.ctx,this.pathCallbacks=e}async renderSolidBorder(A,e,r){this.pathCallbacks.path(Oi(r,e)),this.ctx.fillStyle=rA(A),this.ctx.fill()}async renderDoubleBorder(A,e,r,s){if(e<3){await this.renderSolidBorder(A,r,s);return}const n=xh(s,r);this.pathCallbacks.path(n),this.ctx.fillStyle=rA(A),this.ctx.fill();const o=yh(s,r);this.pathCallbacks.path(o),this.ctx.fill()}async renderDashedDottedBorder(A,e,r,s,n){this.ctx.save();const o=Eh(s,r),a=Oi(s,r);n===2&&(this.pathCallbacks.path(a),this.ctx.clip());let i,B,c,g;jA(a[0])?(i=a[0].start.x,B=a[0].start.y):(i=a[0].x,B=a[0].y),jA(a[1])?(c=a[1].end.x,g=a[1].end.y):(c=a[1].x,g=a[1].y);let f;r===0||r===2?f=Math.abs(i-c):f=Math.abs(B-g),this.ctx.beginPath(),n===3?this.pathCallbacks.formatPath(o):this.pathCallbacks.formatPath(a.slice(0,2));let u=e<3?e*3:e*2,h=e<3?e*2:e;n===3&&(u=e,h=e);let w=!0;if(f<=u*2)w=!1;else if(f<=u*2+h){const x=f/(2*u+h);u*=x,h*=x}else{const x=Math.floor((f+h)/(u+h)),U=(f-x*u)/(x-1),p=(f-(x+1)*u)/x;h=p<=0||Math.abs(h-U)<Math.abs(h-p)?U:p}if(w&&(n===3?this.ctx.setLineDash([0,u+h]):this.ctx.setLineDash([u,h])),n===3?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=e*2+1.1,this.ctx.strokeStyle=rA(A),this.ctx.stroke(),this.ctx.setLineDash([]),n===2){if(jA(a[0])){const x=a[3],U=a[0];this.ctx.beginPath(),this.pathCallbacks.formatPath([new I(x.end.x,x.end.y),new I(U.start.x,U.start.y)]),this.ctx.stroke()}if(jA(a[1])){const x=a[1],U=a[2];this.ctx.beginPath(),this.pathCallbacks.formatPath([new I(x.end.x,x.end.y),new I(U.start.x,U.start.y)]),this.ctx.stroke()}}this.ctx.restore()}}class vh{constructor(A,e){this.activeEffects=[],this.ctx=A.ctx,this.pathCallback=e}applyEffects(A){for(;this.activeEffects.length;)this.popEffect();A.forEach(e=>this.applyEffect(e))}applyEffect(A){this.ctx.save(),Bh(A)?this.ctx.globalAlpha=A.opacity:dh(A)?(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)):Ei(A)?(this.pathCallback.path(A.path),this.ctx.clip()):gh(A)&&A.applyClip(this.ctx),this.activeEffects.push(A)}popEffect(){this.activeEffects.pop(),this.ctx.restore()}getActiveEffectCount(){return this.activeEffects.length}hasActiveEffects(){return this.activeEffects.length>0}}const Hh=["-apple-system","system-ui"],Ih=/[\u2E80-\u2FFF\u3000-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uAC00-\uD7AF\uF900-\uFAFF\uFF01-\uFFEF]/,Sh=t=>Ih.test(t),Lh=()=>{if(typeof navigator>"u")return null;const t=navigator.userAgent,A=/iPhone|iPad|iPod/.test(t),e=/Macintosh/.test(t)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1;if(!A&&!e)return null;const r=[/(?:iPhone|CPU(?:\siPhone)?)\sOS\s(\d+)[\._](\d+)/,/Version\/(\d+)\.(\d+)/];for(const s of r){const n=t.match(s);if(n&&n[1])return parseInt(n[1],10)}return null},Th=t=>{const A=Lh();return A!==null&&A>=15&&A<17?t.map(e=>Hh.indexOf(e)!==-1?'-apple-system, "Helvetica Neue", Arial, sans-serif':e):t};class Kh{constructor(A){this.ctx=A.ctx,this.options=A.options}iterateLettersWithLetterSpacing(A,e,r,s){const n=Yr(A.text),o=A.bounds.top+r;let a=A.bounds.left;for(const i of n){if(Sh(i)){const B=this.ctx.textBaseline;this.ctx.textBaseline="ideographic",s(i,a,o),this.ctx.textBaseline=B}else s(i,a,o);a+=this.ctx.measureText(i).width+e}}renderTextWithLetterSpacing(A,e,r){e===0?this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+r):this.iterateLettersWithLetterSpacing(A,e,r,(s,n,o)=>{this.ctx.fillText(s,n,o)})}renderTextBoundWithPaintOrder(A,e,r){r.forEach(s=>{switch(s){case 0:this.ctx.fillStyle=rA(e.color),this.renderTextWithLetterSpacing(A,e.letterSpacing,e.fontSize.number);break;case 1:e.webkitTextStrokeWidth&&A.text.trim().length&&(this.ctx.strokeStyle=rA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(A.text,A.bounds.left,A.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(A,e.letterSpacing,e.fontSize.number,(n,o,a)=>this.ctx.strokeText(n,o,a)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}})}renderTextDecoration(A,e){this.ctx.fillStyle=rA(e.textDecorationColor||e.color);let r=1;typeof e.textDecorationThickness=="number"?r=e.textDecorationThickness:e.textDecorationThickness==="from-font"&&(r=Math.max(1,Math.floor(e.fontSize.number*.05)));let s=0;typeof e.textUnderlineOffset=="number"&&(s=e.textUnderlineOffset);const n=e.textDecorationStyle;e.textDecorationLine.forEach(o=>{let a=0;switch(o){case 1:a=A.top+A.height-r+s;break;case 2:a=A.top;break;case 3:a=A.top+(A.height/2-r/2);break;default:return}this.drawDecorationLine(A.left,a,A.width,r,n)})}drawDecorationLine(A,e,r,s,n){switch(n){case 0:this.ctx.fillRect(A,e,r,s);break;case 1:const o=Math.max(1,s);this.ctx.fillRect(A,e,r,s),this.ctx.fillRect(A,e+s+o,r,s);break;case 2:this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash([s,s*2]),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(A,e+s/2),this.ctx.lineTo(A+r,e+s/2),this.ctx.stroke(),this.ctx.restore();break;case 3:this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash([s*3,s*2]),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(A,e+s/2),this.ctx.lineTo(A+r,e+s/2),this.ctx.stroke(),this.ctx.restore();break;case 4:this.ctx.save(),this.ctx.beginPath(),this.ctx.lineWidth=s,this.ctx.strokeStyle=this.ctx.fillStyle;const a=s*2,i=s*4;let B=A;for(this.ctx.moveTo(B,e+s/2);B<A+r;){const c=Math.min(B+i/2,A+r);if(this.ctx.quadraticCurveTo(B+i/4,e+s/2-a,c,e+s/2),B=c,B<A+r){const g=Math.min(B+i/2,A+r);this.ctx.quadraticCurveTo(B+i/4,e+s/2+a,g,e+s/2),B=g}}this.ctx.stroke(),this.ctx.restore();break;default:this.ctx.fillRect(A,e,r,s)}}truncateTextWithEllipsis(A,e,r){const n=this.ctx.measureText("…").width,o=Yr(A);if(r===0){const a=c=>this.ctx.measureText(o.slice(0,c).join("")).width+n<=e;let i=0,B=o.length;for(;i<B;){const c=i+B+1>>1;a(c)?i=c:B=c-1}return o.slice(0,i).join("")+"…"}else{let a=n;const i=[];for(const B of o){const c=this.ctx.measureText(B).width;if(a+c>e)break;i.push(B),a+=c+r}return i.join("")+"…"}}createFontStyle(A){const e=A.fontVariant.filter(n=>n==="normal"||n==="small-caps").join(""),r=Th(A.fontFamily).join(", "),s=ge(A.fontSize)?`${A.fontSize.number}${A.fontSize.unit}`:`${A.fontSize.number}px`;return[[A.fontStyle,e,A.fontWeight,s,r].join(" "),r,s]}async renderTextNode(A,e,r){const[s]=this.createFontStyle(e);this.ctx.font=s,this.ctx.direction=e.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic";const n=e.paintOrder,o=e.fontSize.number*1.5;if(e.webkitLineClamp>0&&(e.display&2)!==0&&e.overflowY===1&&A.textBounds.length>0){const g=[];let f=[],u=A.textBounds[0].bounds.top;A.textBounds.forEach(w=>{Math.abs(w.bounds.top-u)>=o*.5?(f.length>0&&g.push(f),f=[w],u=w.bounds.top):f.push(w)}),f.length>0&&g.push(f);const h=e.webkitLineClamp;if(g.length>h){for(let x=0;x<h-1;x++)g[x].forEach(U=>{this.renderTextBoundWithPaintOrder(U,e,n)});const w=g[h-1];if(w&&w.length>0&&r){const x=w.map(y=>y.text).join(""),U=w[0],p=r.width-(U.bounds.left-r.left),E=this.truncateTextWithEllipsis(x,p,e.letterSpacing),L=new $e(E,U.bounds);n.forEach(y=>{switch(y){case 0:this.ctx.fillStyle=rA(e.color),e.letterSpacing===0?this.ctx.fillText(E,U.bounds.left,U.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(L,e.letterSpacing,e.fontSize.number,(K,V,AA)=>this.ctx.fillText(K,V,AA));break;case 1:e.webkitTextStrokeWidth&&E.trim().length&&(this.ctx.strokeStyle=rA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(E,U.bounds.left,U.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(L,e.letterSpacing,e.fontSize.number,(K,V,AA)=>this.ctx.strokeText(K,V,AA)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}})}return}}const i=e.textOverflow===1&&r&&e.overflowX===1&&A.textBounds.length>0;let B=!1,c="";if(i){const g=A.textBounds[0].bounds.top;if(A.textBounds.every(u=>Math.abs(u.bounds.top-g)<o*.5)){let u=A.textBounds.map(x=>x.text).join("");u=u.replace(/\s+/g," ").trim();const h=this.ctx.measureText(u).width,w=r.width;h>w&&(B=!0,c=this.truncateTextWithEllipsis(u,w,e.letterSpacing))}}if(B){const g=A.textBounds[0],f=new $e(c,g.bounds);n.forEach(u=>{switch(u){case 0:{this.ctx.fillStyle=rA(e.color),e.letterSpacing===0?this.ctx.fillText(c,g.bounds.left,g.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(f,e.letterSpacing,e.fontSize.number,(w,x,U)=>this.ctx.fillText(w,x,U));const h=e.textShadow;h.length&&c.trim().length&&(h.slice(0).reverse().forEach(w=>{this.ctx.shadowColor=rA(w.color),this.ctx.shadowOffsetX=w.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=w.offsetY.number*this.options.scale,this.ctx.shadowBlur=w.blur.number,e.letterSpacing===0?this.ctx.fillText(c,g.bounds.left,g.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(f,e.letterSpacing,e.fontSize.number,(x,U,p)=>this.ctx.fillText(x,U,p))}),this.ctx.shadowColor="",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0);break}case 1:e.webkitTextStrokeWidth&&c.trim().length&&(this.ctx.strokeStyle=rA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(c,g.bounds.left,g.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(f,e.letterSpacing,e.fontSize.number,(h,w,x)=>this.ctx.strokeText(h,w,x)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}});return}A.textBounds.forEach(g=>{n.forEach(f=>{switch(f){case 0:{this.ctx.fillStyle=rA(e.color),this.renderTextWithLetterSpacing(g,e.letterSpacing,e.fontSize.number);const u=e.textShadow;u.length&&g.text.trim().length&&(u.slice(0).reverse().forEach(h=>{this.ctx.shadowColor=rA(h.color),this.ctx.shadowOffsetX=h.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=h.offsetY.number*this.options.scale,this.ctx.shadowBlur=h.blur.number,this.renderTextWithLetterSpacing(g,e.letterSpacing,e.fontSize.number)}),this.ctx.shadowColor="",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0),e.textDecorationLine.length&&this.renderTextDecoration(g.bounds,e);break}case 1:{if(e.webkitTextStrokeWidth&&g.text.trim().length){this.ctx.strokeStyle=rA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round";const u=e.fontSize.number;e.letterSpacing===0?this.ctx.strokeText(g.text,g.bounds.left,g.bounds.top+u):this.iterateLettersWithLetterSpacing(g,e.letterSpacing,u,(h,w,x)=>this.ctx.strokeText(h,w,x)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter"}break}}})})}}const Oh=1e4;class Ln extends Ki{constructor(A,e){super(A,e),this.canvas=e.canvas?e.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),e.canvas||(this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=`${e.width}px`,this.canvas.style.height=`${e.height}px`),this.fontMetrics=new Uh(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x,-e.y),this.ctx.textBaseline="bottom",e.imageSmoothing!==void 0&&(this.ctx.imageSmoothingEnabled=e.imageSmoothing),e.imageSmoothingQuality&&(this.ctx.imageSmoothingQuality=e.imageSmoothingQuality),this.backgroundRenderer=new Fh({ctx:this.ctx,context:this.context,canvas:this.canvas,options:{width:e.width,height:e.height,scale:e.scale}}),this.borderRenderer=new bh({ctx:this.ctx},{path:r=>this.path(r),formatPath:r=>this.formatPath(r)}),this.effectsRenderer=new vh({ctx:this.ctx},{path:r=>this.path(r)}),this.textRenderer=new Kh({ctx:this.ctx,context:this.context,options:{scale:e.scale}}),this.context.logger.debug(`Canvas renderer initialized (${e.width}x${e.height}) with scale ${e.scale}`)}async renderStack(A){A.element.container.styles.isVisible()&&await this.renderStackContent(A)}async renderNode(A){if(cA(A.container.flags,16))debugger;A.container.styles.isVisible()&&(await this.renderNodeBackgroundAndBorders(A),await this.renderNodeContent(A))}renderReplacedElement(A,e,r){const s=r.naturalWidth||A.intrinsicWidth,n=r.naturalHeight||A.intrinsicHeight;if(r&&s>0&&n>0){const o=Zt(A),a=ts(e);this.path(a),this.ctx.save(),this.ctx.clip();let i=0,B=0,c=s,g=n,f=o.left,u=o.top,h=o.width,w=o.height;const{objectFit:x}=A.styles,U=h/w,p=c/g;if(x===2)p>U?(w=h/p,u+=(o.height-w)/2):(h=w*p,f+=(o.width-h)/2);else if(x===4)p>U?(c=g*U,i+=(s-c)/2):(g=c/U,B+=(n-g)/2);else if(x===8)c>h?(i+=(c-h)/2,c=h):(f+=(h-c)/2,h=c),g>w?(B+=(g-w)/2,g=w):(u+=(w-g)/2,w=g);else if(x===16){const E=p>U?h:w*p,L=c>h?c:h;E<L?p>U?(w=h/p,u+=(o.height-w)/2):(h=w*p,f+=(o.width-h)/2):(c>h?(i+=(c-h)/2,c=h):(f+=(h-c)/2,h=c),g>w?(B+=(g-w)/2,g=w):(u+=(w-g)/2,w=g))}this.ctx.drawImage(r,i,B,c,g,f,u,h,w),this.ctx.restore()}}async renderNodeContent(A){this.effectsRenderer.applyEffects(A.getEffects(4));const e=A.container,r=A.curves,s=e.styles,n=Zt(e);for(const o of e.textNodes)await this.textRenderer.renderTextNode(o,s,n);if(e instanceof ti)try{const o=await this.context.cache.match(e.src),a=this.ctx.imageSmoothingEnabled;s.imageRendering===$A.PIXELATED||s.imageRendering===$A.CRISP_EDGES?(this.context.logger.debug(`Disabling image smoothing for ${e.src} due to CSS image-rendering: ${s.imageRendering===$A.PIXELATED?"pixelated":"crisp-edges"}`),this.ctx.imageSmoothingEnabled=!1):s.imageRendering===$A.SMOOTH&&(this.context.logger.debug(`Enabling image smoothing for ${e.src} due to CSS image-rendering: smooth`),this.ctx.imageSmoothingEnabled=!0),this.renderReplacedElement(e,r,o),this.ctx.imageSmoothingEnabled=a}catch{this.context.logger.error(`Error loading image ${e.src}`)}if(e instanceof ri&&this.renderReplacedElement(e,r,e.canvas),e instanceof si)try{const o=await this.context.cache.match(e.svg);this.renderReplacedElement(e,r,o)}catch{this.context.logger.error(`Error loading svg ${e.svg.substring(0,255)}`)}if(e instanceof ci&&e.tree){const a=await new Ln(this.context,{scale:this.options.scale,backgroundColor:e.backgroundColor,x:0,y:0,width:e.width,height:e.height}).render(e.tree);e.width&&e.height&&this.ctx.drawImage(a,0,0,e.width,e.height,e.bounds.left,e.bounds.top,e.bounds.width,e.bounds.height)}if(e instanceof jt){const o=Math.min(e.bounds.width,e.bounds.height);e.type===zr?e.checked&&(this.ctx.save(),this.path([new I(e.bounds.left+o*.39363,e.bounds.top+o*.79),new I(e.bounds.left+o*.16,e.bounds.top+o*.5549),new I(e.bounds.left+o*.27347,e.bounds.top+o*.44071),new I(e.bounds.left+o*.39694,e.bounds.top+o*.5649),new I(e.bounds.left+o*.72983,e.bounds.top+o*.23),new I(e.bounds.left+o*.84,e.bounds.top+o*.34085),new I(e.bounds.left+o*.39363,e.bounds.top+o*.79)]),this.ctx.fillStyle=rA(oi),this.ctx.fill(),this.ctx.restore()):e.type===Zr&&e.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(e.bounds.left+o/2,e.bounds.top+o/2,o/4,0,Math.PI*2,!0),this.ctx.fillStyle=rA(oi),this.ctx.fill(),this.ctx.restore())}if(Dh(e)&&e.value.length){const[o,a,i]=this.textRenderer.createFontStyle(s),{baseline:B}=this.fontMetrics.getMetrics(a,i);this.ctx.font=o;const c=e instanceof jt&&e.isPlaceholder;this.ctx.fillStyle=rA(c?kf:s.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Mh(e.styles.textAlign);const g=Zt(e);let f=0;switch(e.styles.textAlign){case 1:f+=g.width/2;break;case 2:f+=g.width;break}let u=0;if(e instanceof jt){const w=k(s.fontSize,0);u=(g.height-w)/2}const h=g.add(f,u,0,0);this.ctx.save(),this.path([new I(g.left,g.top),new I(g.left+g.width,g.top),new I(g.left+g.width,g.top+g.height),new I(g.left,g.top+g.height)]),this.ctx.clip(),this.textRenderer.renderTextWithLetterSpacing(new $e(e.value,h),s.letterSpacing,B),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(cA(e.styles.display,2048)){if(e.styles.listStyleImage!==null){const o=e.styles.listStyleImage;if(o.type===0){let a;const i=o.url;try{a=await this.context.cache.match(i),this.ctx.drawImage(a,e.bounds.left-(a.width+10),e.bounds.top)}catch{this.context.logger.error(`Error loading list-style-image ${i}`)}}}else if(A.listValue&&e.styles.listStyleType!==-1){const[o]=this.textRenderer.createFontStyle(s);this.ctx.font=o,this.ctx.fillStyle=rA(s.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right";const a=new TA(e.bounds.left,e.bounds.top+k(e.styles.paddingTop,e.bounds.width),e.bounds.width,Ka(s.lineHeight,s.fontSize.number)/2+1);this.textRenderer.renderTextWithLetterSpacing(new $e(A.listValue,a),s.letterSpacing,Ka(s.lineHeight,s.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}}}async renderStackContent(A){if(cA(A.element.container.flags,16))debugger;await this.renderNodeBackgroundAndBorders(A.element);for(const e of A.negativeZIndex)await this.renderStack(e);await this.renderNodeContent(A.element);for(const e of A.nonInlineLevel)await this.renderNode(e);for(const e of A.nonPositionedFloats)await this.renderStack(e);for(const e of A.nonPositionedInlineLevel)await this.renderStack(e);for(const e of A.inlineLevel)await this.renderNode(e);for(const e of A.zeroOrAutoZIndexOrTransformedOrOpacity)await this.renderStack(e);for(const e of A.positiveZIndex)await this.renderStack(e)}mask(A){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.options.width,0),this.ctx.lineTo(this.options.width,this.options.height),this.ctx.lineTo(0,this.options.height),this.ctx.lineTo(0,0),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()}path(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()}formatPath(A){A.forEach((e,r)=>{const s=jA(e)?e.start:e;r===0?this.ctx.moveTo(s.x,s.y):this.ctx.lineTo(s.x,s.y),jA(e)&&this.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})}async renderNodeBackgroundAndBorders(A){this.effectsRenderer.applyEffects(A.getEffects(2));const e=A.container.styles,r=!Re(e.backgroundColor)||e.backgroundImage.length,s=[{style:e.borderTopStyle,color:e.borderTopColor,width:e.borderTopWidth},{style:e.borderRightStyle,color:e.borderRightColor,width:e.borderRightWidth},{style:e.borderBottomStyle,color:e.borderBottomColor,width:e.borderBottomWidth},{style:e.borderLeftStyle,color:e.borderLeftColor,width:e.borderLeftWidth}],n=Rh(pt(e.backgroundClip,0),A.curves);(r||e.boxShadow.length)&&(this.ctx.save(),this.path(n),this.ctx.clip(),Re(e.backgroundColor)||(this.ctx.fillStyle=rA(e.backgroundColor),this.ctx.fill()),await this.backgroundRenderer.renderBackgroundImage(A.container),this.ctx.restore(),e.boxShadow.slice(0).reverse().forEach(a=>{this.ctx.save();const i=es(A.curves),B=a.inset?0:Oh,c=uh(i,-B+(a.inset?1:-1)*a.spread.number,(a.inset?1:-1)*a.spread.number,a.spread.number*(a.inset?-2:2),a.spread.number*(a.inset?-2:2));a.inset?(this.path(i),this.ctx.clip(),this.mask(c)):(this.mask(i),this.ctx.clip(),this.path(c)),this.ctx.shadowOffsetX=a.offsetX.number+B,this.ctx.shadowOffsetY=a.offsetY.number,this.ctx.shadowColor=rA(a.color),this.ctx.shadowBlur=a.blur.number,this.ctx.fillStyle=a.inset?rA(a.color):"rgba(0,0,0,1)",this.ctx.fill(),this.ctx.restore()}));let o=0;for(const a of s)a.style!==0&&!Re(a.color)&&a.width>0&&(a.style===2?await this.borderRenderer.renderDashedDottedBorder(a.color,a.width,o,A.curves,2):a.style===3?await this.borderRenderer.renderDashedDottedBorder(a.color,a.width,o,A.curves,3):a.style===4?await this.borderRenderer.renderDoubleBorder(a.color,a.width,o,A.curves):await this.borderRenderer.renderSolidBorder(a.color,o,A.curves)),o++}async render(A){this.options.backgroundColor&&(this.ctx.fillStyle=rA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height));const e=hh(A);return await this.renderStack(e),this.effectsRenderer.applyEffects([]),this.canvas}}const Dh=t=>t instanceof ii||t instanceof ai?!0:t instanceof jt&&t.type!==Zr&&t.type!==zr,Rh=(t,A)=>{switch(t){case 0:return es(A);case 2:return ch(A);default:return ts(A)}},Mh=t=>{switch(t){case 1:return"center";case 2:return"right";default:return"left"}};class kh extends Ki{constructor(A,e){super(A,e),this.canvas=e.canvas?e.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=e,this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=`${e.width}px`,this.canvas.style.height=`${e.height}px`,this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x,-e.y),this.context.logger.debug(`EXPERIMENTAL ForeignObject renderer initialized (${e.width}x${e.height} at ${e.x},${e.y}) with scale ${e.scale}`)}async render(A){const e=Cn(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),r=await Gh(e);return this.options.backgroundColor&&(this.ctx.fillStyle=rA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(r,-this.options.x*this.options.scale,-this.options.y*this.options.scale),this.canvas}}const Gh=t=>new Promise((A,e)=>{const r=new Image;r.onload=()=>{A(r)},r.onerror=e,r.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(t))}`});class Di{constructor({id:A,enabled:e}){this.id=A,this.enabled=e,this.start=Date.now()}debug(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug(this.id,`${this.getTime()}ms`,...A):this.info(...A))}getTime(){return Date.now()-this.start}info(...A){this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info(this.id,`${this.getTime()}ms`,...A)}warn(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn(this.id,`${this.getTime()}ms`,...A):this.info(...A))}error(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error(this.id,`${this.getTime()}ms`,...A):this.info(...A))}}Di.instances={};class Vh{constructor(A,e){if(this.context=A,this._options=e,this._cache=new Map,this._pendingOperations=new Map,this.maxSize=e.maxCacheSize??100,this.maxSize<1)throw new Error("Cache maxSize must be at least 1");this.maxSize>1e4&&this.context.logger.warn(`Cache maxSize ${this.maxSize} is very large and may cause memory issues. Consider using a smaller value (recommended: 100-1000).`)}addImage(A){const e=this._pendingOperations.get(A);if(e)return e;if(this.has(A)){const r=this._cache.get(A);return r&&(r.lastAccessed=Date.now()),Promise.resolve()}if(Kn(A)||jh(A)){const r=this._addImageInternal(A);return this._pendingOperations.set(A,r),r.finally(()=>{this._pendingOperations.delete(A)}),r}return Promise.resolve()}async _addImageInternal(A){const e=this._options.imageTimeout??15e3,r=new Promise((n,o)=>{setTimeout(()=>{o(new Error(`Image load timeout after ${e}ms: ${A}`))},e)}),s=Promise.race([this.loadImage(A),r]);s.catch(n=>{this.context.logger.error(`Failed to load image ${A}: ${n instanceof Error?n.message:"Unknown error"}`)}),this.set(A,s)}match(A){const e=this._cache.get(A);if(e)return e.lastAccessed=Date.now(),e.value}set(A,e){if(this._cache.has(A)){const r=this._cache.get(A);r.value=e,r.lastAccessed=Date.now();return}this._cache.size>=this.maxSize&&this.evictLRU(),this._cache.set(A,{value:e,lastAccessed:Date.now()})}evictLRU(){let A=null,e=1/0;for(const[r,s]of this._cache.entries())s.lastAccessed<e&&(e=s.lastAccessed,A=r);A&&(this._cache.delete(A),this.context.logger.debug(`Cache: Evicted LRU entry: ${A}`))}size(){return this._cache.size}getMaxSize(){return this.maxSize}clear(){this._cache.clear()}async loadImage(A){const e=this.context.originChecker,r=i=>e.isSameOrigin(i),s=typeof this._options.customIsSameOrigin=="function"?await this._options.customIsSameOrigin(A,r):r(A),n=!Tn(A)&&this._options.useCORS===!0&&vA.SUPPORT_CORS_IMAGES&&!s,o=!Tn(A)&&!s&&!Kn(A)&&typeof this._options.proxy=="string"&&vA.SUPPORT_CORS_XHR&&!n;if(!s&&this._options.allowTaint===!1&&!Tn(A)&&!Kn(A)&&!o&&!n)return;let a=A;return o&&(a=await this.proxy(a)),this.context.logger.debug(`Added image ${A.substring(0,256)}`),await new Promise((i,B)=>{const c=new Image;c.onload=()=>i(c),c.onerror=B,(Wh(a)||n)&&(c.crossOrigin="anonymous"),c.src=a,c.complete===!0&&setTimeout(()=>i(c),500),this._options.imageTimeout>0&&setTimeout(()=>B(`Timed out (${this._options.imageTimeout}ms) loading image`),this._options.imageTimeout)})}has(A){return this._cache.has(A)}keys(){return Promise.resolve(Object.keys(this._cache))}proxy(A){const e=this._options.proxy;if(!e)throw new Error("No proxy defined");const r=A.substring(0,256);return new Promise((s,n)=>{const o=vA.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;a.onload=()=>{if(a.status===200)if(o==="text")s(a.response);else{const B=new FileReader;B.addEventListener("load",()=>s(B.result),!1),B.addEventListener("error",c=>n(c),!1),B.readAsDataURL(a.response)}else n(`Failed to proxy resource ${r} with status code ${a.status}`)},a.onerror=n;const i=e.indexOf("?")>-1?"&":"?";if(a.open("GET",`${e}${i}url=${encodeURIComponent(A)}&responseType=${o}`),o!=="text"&&a instanceof XMLHttpRequest&&(a.responseType=o),this._options.imageTimeout){const B=this._options.imageTimeout;a.timeout=B,a.ontimeout=()=>n(`Timed out (${B}ms) proxying ${r}`)}a.send()})}}const Nh=/^data:image\/svg\+xml/i,_h=/^data:image\/.*;base64,/i,Ph=/^data:image\/.*/i,jh=t=>vA.SUPPORT_SVG_DRAWING||!Xh(t),Tn=t=>Ph.test(t),Wh=t=>_h.test(t),Kn=t=>t.substr(0,4)==="blob",Xh=t=>t.substr(-3).toLowerCase()==="svg"||Nh.test(t);class Jh{constructor(A){if(!A||!A.document)throw new Error("Valid window object required for OriginChecker");if(!A.location||!A.location.href)throw new Error("Window object must have valid location");this.link=A.document.createElement("a"),this.origin=this.getOrigin(A.location.href)}getOrigin(A){return this.link.href=A,this.link.href=this.link.href,this.link.protocol+this.link.hostname+this.link.port}isSameOrigin(A){return this.getOrigin(A)===this.origin}getContextOrigin(){return this.origin}}class os{constructor(A,e,r){this.windowBounds=e,this.instanceName=`#${os.instanceCount++}`,this.config=r,this.logger=new Di({id:this.instanceName,enabled:A.logging}),this.originChecker=new Jh(r.window),this.cache=A.cache??r.cache??new Vh(this,A)}}os.instanceCount=1;class $t{constructor(A={}){if(this.window=A.window||(typeof window<"u"?window:null),!this.window)throw new Error("Window object is required but not available");this.cspNonce=A.cspNonce,this.cache=A.cache}static fromElement(A,e={}){const r=A.ownerDocument;if(!r)throw new Error("Element is not attached to a document");const s=r.defaultView;if(!s)throw new Error("Document is not attached to a window");return new $t({window:s,...e})}clone(A={}){return new $t({window:A.window||this.window,cspNonce:A.cspNonce??this.cspNonce,cache:A.cache??this.cache})}}function Yh(t){console.warn("[html2canvas-pro] setDefaultConfig is deprecated. Pass configuration to html2canvas directly.")}class zh{constructor(A={}){this.config={maxImageTimeout:3e5,allowDataUrls:!0,...A}}validateUrl(A,e="general"){if(!A||typeof A!="string")return{valid:!1,error:"URL must be a non-empty string"};if(A.startsWith("data:"))return this.config.allowDataUrls?{valid:!0,sanitized:A}:{valid:!1,error:"Data URLs are not allowed"};if(A.startsWith("blob:"))return{valid:!0,sanitized:A};try{const r=new URL(A);if(!["http:","https:"].includes(r.protocol))return{valid:!1,error:`Protocol ${r.protocol} is not allowed. Only http and https are permitted.`};if(e==="proxy"&&this.config.allowedProxyDomains&&this.config.allowedProxyDomains.length>0){const s=r.hostname.toLowerCase();if(!this.config.allowedProxyDomains.some(o=>{const a=o.toLowerCase();return s===a||s.endsWith("."+a)}))return{valid:!1,error:`Proxy domain ${r.hostname} is not in the allowed list`}}if(e==="proxy"){if(!this.config.allowLocalhostProxy){const s=r.hostname.toLowerCase();if(s==="localhost"||s==="127.0.0.1"||s==="::1")return{valid:!1,error:"Localhost is not allowed for proxy URLs"};if(this.isPrivateIP(s))return{valid:!1,error:"Private IP addresses are not allowed for proxy URLs"};if(s.startsWith("169.254.")||s.startsWith("fe80:"))return{valid:!1,error:"Link-local addresses are not allowed for proxy URLs"}}return{valid:!0,sanitized:A,requiresRuntimeCheck:!0}}return{valid:!0,sanitized:A}}catch(r){return{valid:!1,error:`Invalid URL format: ${r instanceof Error?r.message:"Unknown error"}`}}}isPrivateIP(A){return[/^0\./,/^10\./,/^100\.(6[4-9]|[7-9][0-9]|1[0-1][0-9]|12[0-7])\./,/^127\./,/^169\.254\./,/^172\.(1[6-9]|2[0-9]|3[0-1])\./,/^192\.0\.0\./,/^192\.0\.2\./,/^192\.168\./,/^198\.(1[8-9])\./,/^198\.51\.100\./,/^203\.0\.113\./,/^2(2[4-9]|3[0-9])\./,/^24[0-9]\./,/^255\.255\.255\.255$/].some(r=>r.test(A))?!0:A.includes(":")?this.isPrivateIPv6(A):!1}isPrivateIPv6(A){const s=A.toLowerCase().trim().replace(/^\[|\]$/g,"").split("%")[0];if(/^(0:){7}1$/.test(s)||s==="::1"||/^(0:){7}0$/.test(s)||s==="::")return!0;const n=this.expandIPv6(s);if(!n)return this.isPrivateIPv6Prefix(s);const o=parseInt(n.substring(0,2),16);if(o>=252&&o<=253)return!0;if(o===254){const a=parseInt(n.substring(2,4),16);if(a>=128&&a<=191)return!0}return o===255}expandIPv6(A){try{if(A.includes("::")){const e=A.split("::");if(e.length>2)return null;const r=e[0]?e[0].split(":"):[],s=e[1]?e[1].split(":"):[],n=8-r.length-s.length;if(n<0)return null;const o=Array(n).fill("0000");return[...r,...o,...s].map(i=>i.padStart(4,"0")).join(":")}else{const e=A.split(":");return e.length!==8?null:e.map(r=>r.padStart(4,"0")).join(":")}}catch{return null}}isPrivateIPv6Prefix(A){return!!(/^fc[0-9a-f]{0,2}:?/i.test(A)||/^fd[0-9a-f]{0,2}:?/i.test(A)||/^fe[89ab][0-9a-f]:?/i.test(A)||/^ff[0-9a-f]{0,2}:?/i.test(A))}validateCspNonce(A){return!A||typeof A!="string"?{valid:!1,error:"CSP nonce must be a non-empty string"}:A.length<16?{valid:!1,error:"CSP nonce is too short (minimum 16 characters recommended)"}:/^[A-Za-z0-9+/=_-]+$/.test(A)?{valid:!0,sanitized:A}:{valid:!1,error:"CSP nonce contains invalid characters"}}validateImageTimeout(A){return typeof A!="number"||isNaN(A)?{valid:!1,error:"Image timeout must be a number"}:A<0?{valid:!1,error:"Image timeout cannot be negative"}:this.config.maxImageTimeout&&A>this.config.maxImageTimeout?{valid:!1,error:`Image timeout ${A}ms exceeds maximum allowed ${this.config.maxImageTimeout}ms`}:{valid:!0,sanitized:A}}validateDimensions(A,e){if(typeof A!="number"||typeof e!="number")return{valid:!1,error:"Dimensions must be numbers"};if(isNaN(A)||isNaN(e))return{valid:!1,error:"Dimensions cannot be NaN"};if(A<=0||e<=0)return{valid:!1,error:"Dimensions must be positive"};const r=32767;return A>r||e>r?{valid:!1,error:`Dimensions exceed maximum allowed (${r}px)`}:{valid:!0,sanitized:{width:A,height:e}}}validateScale(A){return typeof A!="number"||isNaN(A)?{valid:!1,error:"Scale must be a number"}:A<=0?{valid:!1,error:"Scale must be positive"}:A>10?{valid:!1,error:"Scale factor too large (maximum 10x)"}:{valid:!0,sanitized:A}}validateElement(A){return A?typeof A!="object"?{valid:!1,error:"Element must be an object"}:typeof HTMLElement<"u"&&A instanceof HTMLElement?A.ownerDocument?{valid:!0}:{valid:!1,error:"Element must be attached to a document"}:A.ownerDocument?A.ownerDocument.defaultView?{valid:!0}:{valid:!1,error:"Document must be attached to a window (ownerDocument.defaultView required)"}:{valid:!1,error:"Element must be attached to a document (ownerDocument required)"}:{valid:!1,error:"Element is required"}}validateOptions(A){const e=[],r=A.proxy;if(r!=null&&typeof r=="string"&&r.length>0){const s=this.validateUrl(r,"proxy");s.valid||e.push(`Proxy: ${s.error}`)}if(A.imageTimeout!==void 0){const s=this.validateImageTimeout(A.imageTimeout);s.valid||e.push(`Image timeout: ${s.error}`)}if(A.width!==void 0||A.height!==void 0){const s=A.width??800,n=A.height??600,o=this.validateDimensions(s,n);o.valid||e.push(`Dimensions: ${o.error}`)}if(A.scale!==void 0){const s=this.validateScale(A.scale);s.valid||e.push(`Scale: ${s.error}`)}if(A.cspNonce!==void 0){const s=this.validateCspNonce(A.cspNonce);s.valid||e.push(`CSP nonce: ${s.error}`)}if(this.config.customValidator){const s=this.config.customValidator(A,"options");s.valid||e.push(`Custom validation: ${s.error}`)}return e.length>0?{valid:!1,error:e.join("; ")}:{valid:!0}}}function Zh(t={}){return new zh({allowDataUrls:!0,maxImageTimeout:3e5,...t})}class $h{constructor(A,e=!0){this.context=A,this.activeMetrics=new Map,this.completedMetrics=[],this.enabled=e,this.getTime=typeof performance<"u"&&typeof performance.now=="function"?()=>performance.now():()=>Date.now()}start(A,e){this.enabled&&(this.activeMetrics.has(A)&&this.context?.logger.warn(`Performance metric '${A}' already started. Overwriting.`),this.activeMetrics.set(A,{name:A,startTime:this.getTime(),metadata:e}))}end(A){if(!this.enabled)return;const e=this.activeMetrics.get(A);if(!e){this.context?.logger.warn(`Performance metric '${A}' not found. Was start() called?`);return}return e.endTime=this.getTime(),e.duration=e.endTime-e.startTime,this.completedMetrics.push(e),this.activeMetrics.delete(A),this.context?.logger.debug(`⏱️ ${A}: ${e.duration.toFixed(2)}ms`,e.metadata),e}measure(A,e,r){this.start(A,r);try{const s=e();return this.end(A),s}catch(s){throw this.end(A),s}}async measureAsync(A,e,r){this.start(A,r);try{const s=await e();return this.end(A),s}catch(s){throw this.end(A),s}}getMetrics(){return[...this.completedMetrics]}getMetric(A){return this.completedMetrics.find(e=>e.name===A)}getSummary(){const A=this.completedMetrics.reduce((r,s)=>r+(s.duration||0),0),e=this.completedMetrics.map(r=>({name:r.name,duration:r.duration||0,percentage:A>0?((r.duration||0)/A*100).toFixed(1)+"%":"0%"}));return{totalDuration:A,metrics:this.getMetrics(),breakdown:e}}logSummary(){if(!this.enabled||this.completedMetrics.length===0||!this.context)return;const A=this.getSummary();this.context.logger.info(`
12
- 📊 Performance Summary (Total: ${A.totalDuration.toFixed(2)}ms):`),A.breakdown.sort((e,r)=>r.duration-e.duration).forEach(e=>{this.context.logger.info(` ${e.name.padEnd(20)} ${e.duration.toFixed(2).padStart(8)}ms ${e.percentage.padStart(6)}`)})}clear(){this.activeMetrics.clear(),this.completedMetrics.splice(0)}isEnabled(){return this.enabled}getActiveMetrics(){return Array.from(this.activeMetrics.keys())}}const Ri=(t,A={},e)=>{const r=e||$t.fromElement(t,{cspNonce:A.cspNonce,cache:A.cache});return ew(t,A,r)},qh=t=>{console.warn('[html2canvas-pro] setCspNonce is deprecated. Pass cspNonce in options instead: html2canvas(element, { cspNonce: "..." })'),typeof window<"u"&&Yh(new $t({window,cspNonce:t}))};Ri.setCspNonce=qh;const Aw=t=>{["scale","width","height","imageTimeout","x","y","windowWidth","windowHeight","scrollX","scrollY"].forEach(e=>{const r=t[e];if(r!=null&&typeof r!="number"){const s=Number(r);Number.isNaN(s)||(t[e]=s)}})},ew=async(t,A,e)=>{if(Aw(A),!A.skipValidation){const eA=A.validator||Zh(),uA=eA.validateElement(t);if(!uA.valid)throw new Error(uA.error);const W=eA.validateOptions(A);if(!W.valid)throw new Error(`Invalid options: ${W.error}`)}if(!t||typeof t!="object")throw new Error("Invalid element provided as first argument");const r=t.ownerDocument;if(!r)throw new Error("Element is not attached to a Document");const s=r.defaultView;if(!s)throw new Error("Document is not attached to a Window");const n={allowTaint:A.allowTaint??!1,imageTimeout:A.imageTimeout??15e3,proxy:A.proxy,useCORS:A.useCORS??!1,customIsSameOrigin:A.customIsSameOrigin},o={logging:A.logging??!0,cache:A.cache??e.cache,...n},a=800,i=600,B=0,c=s,g={windowWidth:A.windowWidth??c.innerWidth??a,windowHeight:A.windowHeight??c.innerHeight??i,scrollX:A.scrollX??c.pageXOffset??B,scrollY:A.scrollY??c.pageYOffset??B},f=new TA(g.scrollX,g.scrollY,g.windowWidth,g.windowHeight),u=new os(o,f,e),h=A.enablePerformanceMonitoring??A.logging??!1,w=new $h(u,h);w.start("total",{width:g.windowWidth,height:g.windowHeight});const x=A.foreignObjectRendering??!1,U={allowTaint:A.allowTaint??!1,onclone:A.onclone,ignoreElements:A.ignoreElements,iframeContainer:A.iframeContainer,inlineImages:x,copyStyles:x,cspNonce:A.cspNonce??e.cspNonce};u.logger.debug(`Starting document clone with size ${f.width}x${f.height} scrolled to ${-f.left},${-f.top}`),w.start("clone");const p=new Fi(u,t,U),E=p.clonedReferenceElement;if(!E)throw new Error("Unable to find element in cloned iframe");const L=await p.toIFrame(r,f);w.end("clone");const{width:y,height:K,left:V,top:AA}=Un(E)||Pf(E)?ll(E.ownerDocument):dr(u,E),S=tw(u,E,A.backgroundColor),xA={canvas:A.canvas,backgroundColor:S,scale:A.scale??s.devicePixelRatio??1,x:(A.x??0)+V,y:(A.y??0)+AA,width:A.width??Math.ceil(y),height:A.height??Math.ceil(K),imageSmoothing:A.imageSmoothing,imageSmoothingQuality:A.imageSmoothingQuality};let N,gA;try{return x?(u.logger.debug("Document cloned, using foreign object rendering"),w.start("render-foreignobject"),N=await new kh(u,xA).render(E),w.end("render-foreignobject")):(u.logger.debug(`Document cloned, element located at ${V},${AA} with size ${y}x${K} using computed rendering`),u.logger.debug("Starting DOM parsing"),w.start("parse"),gA=di(u,E),w.end("parse"),S===gA.styles.backgroundColor&&(gA.styles.backgroundColor=fe.TRANSPARENT),u.logger.debug(`Starting renderer for element at ${xA.x},${xA.y} with size ${xA.width}x${xA.height}`),w.start("render"),N=await new Ln(u,xA).render(gA),w.end("render")),w.start("cleanup"),(A.removeContainer??!0)&&(Fi.destroy(L)||u.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),w.end("cleanup"),w.end("total"),u.logger.debug("Finished rendering"),h&&w.logSummary(),N}finally{gA&&gA.restoreTree()}},tw=(t,A,e)=>{const r=A.ownerDocument,s=r.documentElement?dt(t,getComputedStyle(r.documentElement).backgroundColor):fe.TRANSPARENT,n=r.body?dt(t,getComputedStyle(r.body).backgroundColor):fe.TRANSPARENT,o=typeof e=="string"?dt(t,e):e===null?fe.TRANSPARENT:4294967295;return A===r.documentElement?Re(s)?Re(n)?o:n:s:o},qt=2147483647,Mi=qt-1,Ar=qt-1,rw=qt-10,sw=qt-5,nw=qt-15,ae="data-vg-pin-id",ow=()=>{const t=window.innerWidth;return t<768?"mobile":t<1024?"tablet":"desktop"},ki=(t,A)=>{if(!t)return"";try{const e=new Date(t);return isNaN(e.getTime())?"":new Intl.DateTimeFormat(A==="es"?"es-ES":"en-US",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1}).format(e)}catch{return""}},Gi=({url:t,className:A,style:e,tooltipStyle:r,onHover:s})=>{const n=C.useRef(null),o=()=>{if(!n.current||!s)return;const B=n.current.getBoundingClientRect(),c=B.top,g=window.innerHeight-B.bottom,f=c<140&&g>c?"bottom":"top";s({url:t,x:B.left+B.width/2,y:f==="top"?B.top:B.bottom,direction:f})},a=B=>B.toLowerCase().replace(/\/$/g,"").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g,"/:id"),i=()=>{try{const B=a(window.location.pathname),c=new URL(t),g=a(c.pathname);return B===g||B.startsWith(g)||g.startsWith(B)}catch{return!1}};return d.jsxs("div",{ref:n,className:`vg-url-tag ${A||""}`,style:{...e,opacity:i()?1:.6,borderColor:i()?"var(--vg-primary)":"#e2e8f0"},onMouseEnter:o,onMouseMove:o,onMouseLeave:()=>s?.(null),children:[d.jsx(ir,{"data-vg-id":"353251b6","data-source-path":"/src/components/ViewGateOverlay.tsx:147",size:e?.fontSize?parseInt(e.fontSize)+1:10}),d.jsx("span",{"data-vg-id":"1b724dd0","data-source-path":"/src/components/ViewGateOverlay.tsx:148",style:{maxWidth:e?.maxWidth||"150px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:new URL(t).pathname})]})},er=t=>{const A=[],e=[],r=[];let s=t;for(;s&&s.nodeType===Node.ELEMENT_NODE;){if(s.id&&!s.id.startsWith("vg-")&&!s.id.includes(":")){A.unshift(`#${s.id}`),r.unshift(`${s.localName}#${s.id}`);break}let n=s.localName;const o=Array.from(s.parentNode?.children||[]).indexOf(s),a=`${s.localName}[${o}]`;r.unshift(a);const i=s.getAttribute("data-testid")||s.getAttribute("data-qa");if(i&&e.push(`[data-testid="${i}"]`),s.getAttribute("placeholder"),s.getAttribute("aria-label"),s.getAttribute("role"),s.getAttribute("name"),s.getAttribute("title"),i){n=`[${s.hasAttribute("data-testid")?"data-testid":"data-qa"}="${i}"]`,A.unshift(n);break}const B=Array.from(s.parentNode?.children||[]).filter(c=>c.localName===s?.localName);if(B.length>1){const c=B.indexOf(s)+1;n+=`:nth-of-type(${c})`}A.unshift(n),s=s.parentElement}return{selector:A.join(" > "),fallbacks:e,vgPath:r.join(" > ")}},Vi=t=>{const{vgPath:A}=er(t);return{vgPath:A,classHash:t.className,parentTag:t.parentElement?.tagName.toLowerCase(),neighborCount:t.parentElement?.children.length,ariaLabel:t.getAttribute("aria-label")||t.getAttribute("title")||void 0,role:t.getAttribute("role")||void 0,name:t.getAttribute("name")||void 0,type:t.getAttribute("type")||void 0,placeholder:t.getAttribute("placeholder")||void 0,testId:t.getAttribute("data-testid")||t.getAttribute("data-qa")||void 0,textSnippet:(t.innerText||"").slice(0,50).trim()}},aw=(()=>{let t=null,A=null;return e=>{if(!e||typeof window>"u"||typeof document>"u")return e;if(e.includes("oklch")||e.includes("oklab")||e.includes("lab(")||e.includes("lch(")||e.includes("color("))try{if(t||(t=document.createElement("canvas"),t.width=1,t.height=1),A||(A=t.getContext("2d",{willReadFrequently:!0})),A){A.fillStyle="#000000",A.fillStyle=e;const n=A.fillStyle;if(n&&!n.includes("oklch")&&!n.includes("oklab"))return n}const r=document.createElement("div");r.style.color=e,document.body.appendChild(r);const s=getComputedStyle(r).color;return document.body.removeChild(r),s&&!s.includes("oklch")?s:"rgb(0,0,0)"}catch{return"rgb(0,0,0)"}return e}})(),iw=t=>{const A=window.getComputedStyle(t),e={};return["display","position","margin","padding","font-size","color","background-color","width","height","z-index"].forEach(s=>{const n=A.getPropertyValue(s);e[s]=aw(n)}),e},cw=t=>{const e=Object.keys(t).find(n=>n.startsWith("__reactFiber$")||n.startsWith("__reactInternalInstance$"));if(!e)return"";const r=[];let s=t[e];for(;s;){const n=s.type;if(typeof n=="function"){const o=n.displayName||n.name;o&&!o.includes("ViewGate")&&!r.includes(o)&&r.unshift(o)}s=s.return}return r.join(" > ")||"Generic Component"},On=t=>{if(!t||t.id==="viewgate-ui"||t.id==="viewgate-shadow-host"||t.closest("#viewgate-shadow-host"))return!1;if(t.getAttribute("role")==="dialog"||t.getAttribute("aria-modal")==="true"||t.classList.contains("modal")||t.classList.contains("modal-content"))return!0;const A=window.getComputedStyle(t),e=t.getBoundingClientRect(),r=t.getAttribute("role");if(r&&["listbox","menu","combobox","tooltip","option"].includes(r)||e.width<120&&e.height<120)return!1;const n=parseInt(A.zIndex)||0,o=A.position==="fixed"||A.position==="absolute",a=e.width>window.innerWidth*.4&&e.height>window.innerHeight*.4,i=Math.abs(e.left+e.width/2-window.innerWidth/2)<50,B=t.getAttribute("class")||"",c=B.toLowerCase().includes("modal")||B.toLowerCase().includes("dialog");return!!(o&&n>=100&&(a||i||c))},Ne=t=>{if(!t.isConnected)return!1;const A=window.getComputedStyle(t);if(A.display==="none"||A.visibility==="hidden"||A.opacity==="0")return t.tagName!=="BODY"&&t.tagName,!1;if(t.offsetWidth===0||t.offsetHeight===0)return!1;let e=t.parentElement;for(;e;){const s=window.getComputedStyle(e);if(s.display==="none"||s.visibility==="hidden"||s.opacity==="0")return!1;e=e.parentElement}const r=t.getBoundingClientRect();return!(r.width===0||r.height===0)},Ni=(t,A=document)=>{const e=A.querySelector(t);if(e)return e;const r=A.querySelectorAll("*");for(const s of Array.from(r)){const n=s.shadowRoot;if(n){const o=Ni(t,n);if(o)return o}}return null},_i=(t,A)=>{let e=document.elementFromPoint(t,A);for(;e&&e.shadowRoot;){const r=e.shadowRoot.elementFromPoint(t,A);if(!r||r===e)break;e=r}return e},lw=t=>{if(!t.tag)return null;const A=Array.from(document.getElementsByTagName(t.tag));let e=null,r=0;for(const s of A){if(!as(s,t))continue;let n=0;const o=s.getAttribute("placeholder"),a=t.attributes?.placeholder||t.fingerprint?.placeholder;a&&o===a&&(n+=6);const i=s.getAttribute("type"),B=t.attributes?.type||t.fingerprint?.type;if(B&&i===B&&(n+=2),s.innerText?.trim()===t.text.trim()&&(n+=5),t.fingerprint?.vgPath){const{vgPath:c}=er(s);(c===t.vgPath||t.fingerprint?.vgPath===c)&&(n+=10)}n>r&&n>=7&&(r=n,e=s)}return e},as=(t,A)=>{if(t.tagName.toLowerCase()!==A.tag.toLowerCase())return!1;const e=t.getAttribute("placeholder"),r=A.attributes?.placeholder||A.fingerprint?.placeholder;if(r&&e&&r!==e)return!1;const s=t.getAttribute("type"),n=A.attributes?.type||A.fingerprint?.type;return!(n&&s&&n!==s)},Pi=(t,A)=>{if(A){const o=Array.from(document.querySelectorAll(`[${ae}="${A}"]`));if(o.length>0){const a=o.filter(i=>as(i,t));if(a.length===0)o.forEach(i=>i.removeAttribute(ae));else{const i=a.find(c=>{const{vgPath:g}=er(c);return g===t.vgPath||t.fingerprint?.vgPath===g}),B=i&&Ne(i)?i:a.find(c=>!(!Ne(c)||t.metadata?.isModal&&!c.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')));return B?(o.forEach(c=>{c!==B&&c.removeAttribute(ae)}),B):null}}}const r=(t.selector?Array.from(document.querySelectorAll(t.selector)):[]).filter(o=>as(o,t));let s=r.find(o=>{const{vgPath:a}=er(o);return a===t.vgPath||t.fingerprint?.vgPath===a})||r[0]||null;if(s&&Ne(s))if(t.metadata?.isModal&&!s.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content'))s=null;else return s;if(t.fallbackSelectors)for(const o of t.fallbackSelectors){const a=Ni(o);if(a&&as(a,t)&&Ne(a)){if(t.metadata?.isModal&&!a.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content'))continue;return a}}const n=lw(t);return n&&Ne(n)?t.metadata?.isModal&&!n.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')?null:n:null},Dn=t=>({tag:t.tagName.toLowerCase(),text:(t.innerText||t.getAttribute("placeholder")||"").slice(0,50).trim(),role:t.getAttribute("role")||void 0,type:t.getAttribute("type")||void 0}),ji=t=>{if(!t)return"";let A=t.replace(/<path[^>]*d="([^"]{50,})"[^>]*\/?>/gi,(e,r)=>e.replace(r,`${r.substring(0,20)}...[STRIPPED_${r.length}]`));return A=A.replace(/<polygon[^>]*points="([^"]{50,})"[^>]*\/?>/gi,(e,r)=>e.replace(r,`${r.substring(0,20)}...[STRIPPED_${r.length}]`)),A},dw=t=>{const A=t.parentElement;if(!A)return;const e=Array.from(A.children).filter(o=>o!==t).slice(0,5).map(o=>Dn(o)),r=Array.from(A.children),s=r.indexOf(t);let n="middle";return s===0&&(n="start"),s===r.length-1&&(n="end"),{target:{...Dn(t),location:`${n} of ${A.tagName.toLowerCase()}`},parent:Dn(A),siblings:e}},Wi=(t,A)=>{const e=t.getAttribute("data-vg-id")||void 0;let r;const n=Object.keys(t).find(U=>U.startsWith("__reactFiber$")||U.startsWith("__reactInternalInstance$"));if(n){let U=t[n];for(;U;){if(U._debugSource){const{fileName:p,lineNumber:E,columnNumber:L}=U._debugSource;r=`${p}:${E}${L?":"+L:""}`;break}U=U.return}}const o=Vi(t),a={vgId:e?1:0,fiber:r?.8:0,fingerprint:.5+(o.testId?.3:0)+(o.ariaLabel?.1:0)};let i=t.getAttribute("data-source-path")||r||"unknown:0";const B=cw(t),{selector:c,fallbacks:g,vgPath:f}=er(t),u={};["placeholder","aria-label","name","type","alt","title","value","role","data-testid"].forEach(U=>{const p=t.getAttribute(U);p&&(u[U]=p)});const h=(()=>{let U=t;for(;U&&U!==document.body;){if(On(U))return!0;U=U.parentElement}return!1})();let w;h&&A&&!A.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')&&(w=Wi(A));const x=`${t.tagName.toLowerCase()}-${(t.innerText||"").slice(0,20).replace(/\s+/g,"_")}-${c.split(" > ").slice(-1)}`;return{tag:t.tagName.toLowerCase(),id:t.id||"",classes:t.className||"",text:(t.innerText||"").slice(0,100).trim(),selector:c,vgPath:f,vgId:e,outerHtml:ji(t.outerHTML),parentContext:t.parentElement?`<${t.parentElement.tagName.toLowerCase()} ${Array.from(t.parentElement.attributes).map(U=>`${U.name}="${U.value}"`).join(" ").slice(0,500)}>`:"N/A",componentPath:B,signature:x,source:i,attributes:u,confidence:a,fallbackSelectors:[...new Set(g)].slice(0,5),domPath:[],viewportSize:{width:window.innerWidth,height:window.innerHeight},uiContext:dw(t),fingerprint:Vi(t),metadata:{hint:`Edit ${i.split(":")[0]} at line ${i.split(":")[1]||"?"}`,computedStyles:iw(t),viewportBreakpoint:ow(),outerHtml:ji(t.outerHTML).slice(0,2e3),scrollPosition:{x:window.scrollX,y:window.scrollY},isModal:h,triggerReference:w}}},Xi=()=>{const{addToast:t,language:A,t:e,apiKey:r,baseUrl:s,dashboardUrl:n,disableViewGate:o,hasActiveToasts:a}=yo(),[i,B]=C.useState(typeof window<"u"?window.location.pathname+window.location.search:"/"),c=C.useMemo(()=>typeof window>"u"?!1:window.location.href.includes("viewgate-backlog"),[i]);C.useEffect(()=>{const l=()=>B(window.location.pathname+window.location.search);window.addEventListener("popstate",l);const F=window.history.pushState,Q=window.history.replaceState;return window.history.pushState=function(...b){F.apply(this,b),setTimeout(l,0)},window.history.replaceState=function(...b){Q.apply(this,b),setTimeout(l,0)},()=>{window.removeEventListener("popstate",l),window.history.pushState=F,window.history.replaceState=Q}},[]);const[g,f]=C.useState(!1),[u,h]=C.useState("medium"),[w,x]=C.useState("medium"),[U,p]=C.useState("all"),[E,L]=C.useState(null),[y,K]=C.useState(null),[V,AA]=C.useState(""),[S,xA]=C.useState(!1),[N,gA]=C.useState([]),[eA,uA]=C.useState([{name:e.figmaPrimaryDesign,link:""}]),[W,WA]=C.useState([]),[ie,xe]=C.useState([]),[ye,re]=C.useState(!1),[m,D]=C.useState(""),[j,q]=C.useState(!1),[Ee,be]=C.useState("down");C.useRef(null);const[z,GA]=C.useState(!1),[HA,ce]=C.useState(!1),[OA,is]=C.useState([]),[VA,DA]=C.useState(null),[_e,Mn]=C.useState(""),[tA,fA]=C.useState(!1),[lA,aA]=C.useState({}),[hA,RA]=C.useState(null),[iA,XA]=C.useState(!1),[JA,At]=C.useState(null),[cs,ls]=C.useState([]),[Z,qA]=C.useState(()=>{if(typeof window>"u")return null;const l=localStorage.getItem("vg_selected_member");return l?JSON.parse(l):null}),[Pe,kn]=C.useState(!1),[ve,fw]=C.useState(!1),[ds,hw]=C.useState(!1),[Ji,ww]=C.useState(!1),Yi=C.useCallback(()=>{!r||!s||Pe||fetch(`${s}/api/projects/members`,{headers:{"x-api-key":r}}).then(l=>l.json()).then(l=>{Array.isArray(l)&&(ls(l),kn(!0))}).catch(l=>console.error("Failed to fetch project members",l))},[r,s,Pe]),zi=C.useCallback(()=>{!r||!s||ds||fetch(`${s}/api/projects/settings-check`,{headers:{"x-api-key":r}}).then(l=>l.json()).then(l=>{typeof l.isFigmaConnected=="boolean"&&re(l.isFigmaConnected),typeof l.hasEndpoints=="boolean"&&ww(l.hasEndpoints),hw(!0)}).catch(l=>console.error("Failed to fetch project settings-check",l))},[r,s,ds]),Gn=C.useCallback(()=>{!r||!s||ve||fetch(`${s}/api/projects/endpoints`,{headers:{"x-api-key":r}}).then(l=>l.json()).then(l=>{l.endpoints&&Array.isArray(l.endpoints)?xe(l.endpoints):Array.isArray(l)&&xe(l),typeof l.isFigmaConnected=="boolean"&&re(l.isFigmaConnected),fw(!0)}).catch(l=>console.error("Failed to fetch project endpoints",l))},[r,s,ve]);C.useEffect(()=>{g&&(Pe||Yi(),ds||zi())},[g,Pe,Yi,ds,zi]),C.useEffect(()=>{j&&!ve&&Gn()},[j,ve,Gn]),C.useEffect(()=>{if(N.length===0)return;const l=["frontend"];Ji&&l.push("backend"),ye&&l.push("ux");const F=N.filter(Q=>l.includes(Q));F.length!==N.length&&gA(F)},[ie.length,ye,N]);const pw=l=>{qA(l),localStorage.setItem("vg_selected_member",JSON.stringify(l))},Zi=C.useCallback(async l=>{const Q=await fetch(l,{headers:{"x-api-key":r}});if(!Q.ok){const b=await Q.json().catch(()=>({}));throw new Error(b.message||b.error||"Fetch failed")}return Q.json()},[r]),Qw=C.useMemo(()=>c?"backlog":"pending,todo,in_progress,review,ready_for_review,bug_fixing",[c]),{data:Bs,isLoading:Zw}=po(r?`${s}/api/projects/active-sprint`:null,Zi,{revalidateOnFocus:!0,revalidateOnMount:!0,dedupingInterval:6e4}),{data:tr,isLoading:et,mutate:Qt}=po(r&&(Bs||c)?`${s}/api/annotations?status=${Qw}`:null,Zi,{refreshInterval:3e4,revalidateOnFocus:!0,dedupingInterval:5e3}),[tt,$i]=C.useState(null),qi=C.useRef(OA);qi.current=OA;const[MA,gs]=C.useState(null),Ac=C.useRef(null),[Ct,Cw]=C.useState([]),ec=C.useMemo(()=>{const l=(m||"").toLowerCase().trim();return l?ie.filter(F=>{const Q=F.path&&F.path.toLowerCase().includes(l),b=F.description&&F.description.toLowerCase().includes(l),R=F.method&&F.method.toLowerCase().includes(l);return Q||b||R}):ie},[ie,m]),tc=C.useMemo(()=>{const l={},F=A==="es"?"Seleccionados":"Selected";return ec.forEach(Q=>{const b=`${Q.method}|${Q.path}`;W.includes(b)&&(l[F]||(l[F]={name:F,endpoints:[]}),l[F].endpoints.push(Q));const O=(Q.path||"").split("/").filter(nA=>nA&&!["api","v1.0","v2","rest"].includes(nA.toLowerCase()));let M=O.length>0?O[0]:"General";M=M.replace(/([a-z])([A-Z])/g,"$1 $2"),M=M.replace(/([A-Z])([A-Z][a-z])/g,"$1 $2"),M=M.charAt(0).toUpperCase()+M.slice(1),l[M]||(l[M]={name:M,endpoints:[]});const T=l[M];T&&T.endpoints.push(Q)}),Object.values(l).sort((Q,b)=>Q.name===F?-1:b.name===F||Q.name==="General"?1:b.name==="General"?-1:Q.name.localeCompare(b.name))},[ec,W,A]),Vn=C.useMemo(()=>{let l=Array.isArray(OA)?OA:[];if(hA){const Q=Ct.find(b=>b.annotations&&Array.isArray(b.annotations)&&b.annotations.some(R=>R._id===hA));Q?l=Q.annotations:l=l.filter(b=>b._id===hA)}return l=l.filter(Q=>Q.status!=="completed"&&Q.status!=="done"),window.location.href.includes("viewgate-backlog")||(MA==="pending"?l=l.filter(Q=>Q.status!=="ready_for_review"):MA==="ready"&&(l=l.filter(Q=>Q.status==="ready_for_review"))),U!=="all"&&(l=l.filter(Q=>(Q.priority||"medium")===U)),l},[hA,OA,Ct,MA,U]);C.useEffect(()=>{hA&&Vn.length===0&&!et&&RA(null)},[hA,Vn.length,et]);const[mt,mw]=C.useState(()=>{if(typeof window>"u")return{bottom:30,right:30};const l=localStorage.getItem("vg-bar-pos");return l?JSON.parse(l):{bottom:30,right:30}}),[rr,rc]=C.useState(!1),He=C.useRef(null),Uw=l=>{l.preventDefault(),l.stopPropagation();const F=l.currentTarget.parentElement?.getBoundingClientRect();F&&(rc(!0),He.current={x:l.clientX,y:l.clientY,bottom:mt.bottom,right:mt.right,width:F.width,height:F.height})};C.useEffect(()=>{if(!rr)return;const l=Q=>{if(rr&&He.current){const b=Q.clientX-He.current.x,R=Q.clientY-He.current.y;let O=He.current.bottom-R,M=He.current.right-b;const T=10;O=Math.max(T,Math.min(window.innerHeight-He.current.height-T,O)),M=Math.max(T,Math.min(window.innerWidth-He.current.width-T,M)),mw({bottom:O,right:M})}},F=()=>{rr&&(rc(!1),localStorage.setItem("vg-bar-pos",JSON.stringify(mt)),He.current=null)};return window.addEventListener("mousemove",l),window.addEventListener("mouseup",F),()=>{window.removeEventListener("mousemove",l),window.removeEventListener("mouseup",F)}},[rr,mt]);const[Nn,_n]=C.useState(null),[sc,nc]=C.useState(""),[$w,qw]=C.useState({}),Pn=C.useRef(null),Ut=C.useRef(null),jn=C.useRef(null),us=C.useRef(!1),oc=C.useCallback(()=>{typeof window>"u"||us.current||(Ut.current&&cancelAnimationFrame(Ut.current),Ut.current=requestAnimationFrame(()=>{Ut.current=null,us.current=!0,jn.current;const l=qi.current,F=Array.isArray(l)?l:[],Q=new Set(F.map(J=>J._id));document.querySelectorAll(`[${ae}]`).forEach(J=>{const NA=J.getAttribute(ae);NA&&!Q.has(NA)&&J.removeAttribute(ae)});const R=Array.from(document.querySelectorAll('[role="dialog"], [aria-modal="true"], .modal, .modal-backdrop, .fixed.inset-0')).find(J=>On(J)&&Ne(J)),O=!!R,M=new Map,T=new Map;F.forEach(J=>{if(!J||!J.reference)return;try{const sA=()=>{const wA=window.location.pathname.toLowerCase().replace(/\/$/g,"").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g,"/:id"),mA=new URLSearchParams(window.location.search);mA.delete("viewgate"),mA.sort();const v=mA.toString();return v?`${wA}?${v}`:wA},X=wA=>{try{const mA=new URL(wA),v=mA.pathname.toLowerCase().replace(/\/$/g,"").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g,"/:id"),EA=new URLSearchParams(mA.search);EA.delete("viewgate"),EA.sort();const rt=EA.toString();return rt?`${v}?${rt}`:v}catch{return""}},le=sA(),we=X(J.url);if(le!==we)return}catch{return}const NA=!!J.reference.metadata?.isModal,Ie=J.reference.metadata?.triggerReference;let CA=Pi(J.reference,J._id),kA=!1;if(Ie){const sA=Pi(Ie);sA&&Ne(sA)&&(CA=sA,kA=!0)}if(!CA||!Ne(CA))return;let IA=!1;if(O?IA=R.contains(CA):kA?IA=!0:IA=!NA,!IA)return;const SA=CA.getAttribute(ae);SA!==J._id&&(document.querySelectorAll(`[${ae}="${J._id}"]`).forEach(sA=>{sA.removeAttribute(ae)}),SA||CA.setAttribute(ae,J._id));const yA=kA?M:T;yA.has(CA)||yA.set(CA,{anns:[]}),yA.get(CA).anns.push(J)});const nA=[],YA=(J,NA)=>{J.forEach((Ie,CA)=>{const{anns:kA}=Ie,IA=CA.getBoundingClientRect(),SA=IA.left+IA.width/2,yA=IA.top+IA.height/2;if(SA>=0&&SA<=window.innerWidth&&yA>=0&&yA<=window.innerHeight){const sA=document.elementFromPoint(SA,yA),X=document.getElementById("viewgate-shadow-host");if(sA&&!CA.contains(sA)&&sA!==X&&!X?.contains(sA))return}nA.push({id:kA[0]._id+(NA?"_trig":""),element:CA,rect:IA,annotations:kA.sort((sA,X)=>new Date(X.timestamp||X.createdAt).getTime()-new Date(sA.timestamp||sA.createdAt).getTime()),isModal:!!kA[0].reference?.metadata?.isModal,isTriggerPin:NA})})};YA(M,!0),YA(T,!1),Cw(nA),us.current=!1}))},[JA]);C.useEffect(()=>{if(tr){const l=Array.isArray(tr)?tr:tr?.data||[];if(Array.isArray(l)){const F=l.reduce((Q,b)=>Q.find(O=>O._id===b._id)?Q:Q.concat([b]),[]);is(F)}}else et||is([])},[tr,et]),C.useEffect(()=>{At(Bs||null)},[Bs]),C.useEffect(()=>{HA&&OA.length===0&&!et&&ce(!1)},[HA,OA.length,et]),C.useEffect(()=>{let l=null;const F=()=>{us.current||oc()},Q=new MutationObserver(O=>{O.some(T=>T.type!=="attributes"||T.attributeName!==ae&&!T.target.parentElement?.closest("#viewgate-shadow-host"))&&(l&&clearTimeout(l),l=setTimeout(F,32))});jn.current=Q;const b=new ResizeObserver(()=>F()),R=()=>F();return F(),Q.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}),b.observe(document.documentElement),window.addEventListener("scroll",R,{capture:!0,passive:!0}),()=>{l&&clearTimeout(l),Q.disconnect(),b.disconnect(),window.removeEventListener("scroll",R,!0),Ut.current&&cancelAnimationFrame(Ut.current),jn.current=null}},[g,OA,oc,HA,hA,i]);const Wn=C.useCallback(l=>{let F=l;for(;F&&F!==document.body;){if(On(F))return F;F=F.parentElement}return null},[]);C.useEffect(()=>{const l=F=>{const Q=F.target;Q&&(Wn(Q)||(Ac.current=Q))};return window.addEventListener("mousedown",l,!0),()=>window.removeEventListener("mousedown",l,!0)},[Wn]),C.useEffect(()=>{Pn.current=document.getElementById("viewgate-shadow-host")},[]);const Xn=C.useCallback(l=>{if(!g||y)return;const F=_i(l.clientX,l.clientY);if(!F||Pn.current?.contains(F)||F.closest(".vg-no-capture")){L(null);return}const Q=F.getBoundingClientRect();L({tag:F.tagName.toLowerCase(),source:F.getAttribute("data-source-path")||"unknown:0",rect:Q,element:F,previewText:(F.innerText||"").slice(0,100)||(F.getAttribute("placeholder")||"").slice(0,100)||F.tagName.toLowerCase(),semanticReference:{...Wi(F,Ac.current),normalizedOffset:{x:(l.clientX-Q.left)/Q.width,y:(l.clientY-Q.top)/Q.height}}})},[g,y]),Jn=C.useCallback(async l=>{if(!g||y)return;const F=_i(l.clientX,l.clientY);if(!(!F||Pn.current?.contains(F)||F.closest(".vg-no-capture"))&&E){l.preventDefault(),l.stopPropagation(),GA(!0);try{await new Promise(X=>requestAnimationFrame(X)),await new Promise(X=>setTimeout(X,80));const Q=E.element,b=Q.getBoundingClientRect(),O=Wn(Q)||document.documentElement,M=O.getBoundingClientRect(),T=window.devicePixelRatio||1,nA=Math.max(T,3),YA=Array.from(O.querySelectorAll("img"));await Promise.all(YA.map(X=>{const le=X.getBoundingClientRect();return le.bottom>-200&&le.top<window.innerHeight+200&&(X.loading==="lazy"&&(X.loading="eager"),!X.complete)?new Promise(we=>{X.onload=we,X.onerror=we}):Promise.resolve()})).catch(()=>{});const J=O===document.documentElement||O===document.body,NA=J?window.scrollX||window.pageXOffset:O.scrollLeft,Ie=J?window.scrollY||window.pageYOffset:O.scrollTop,CA=b.left-M.left+NA,kA=b.top-M.top+Ie,IA=await Ri(O,{scale:nA,useCORS:!0,logging:!1,backgroundColor:null,allowTaint:!0,imageTimeout:2e4,scrollX:0,scrollY:0,windowWidth:document.documentElement.offsetWidth,windowHeight:document.documentElement.offsetHeight,onclone:X=>{const le=[];document.querySelectorAll("*").forEach((wA,mA)=>{const v=wA;if(v.shadowRoot){const EA=`sh-${mA}`;v.setAttribute("data-vg-capture-id",EA),le.push({original:v,id:EA})}}),le.forEach(({original:wA,id:mA})=>{const v=X.querySelector(`[data-vg-capture-id="${mA}"]`);if(v&&wA.shadowRoot)try{const EA=wA.shadowRoot.cloneNode(!0);v.innerHTML="",Array.from(EA.childNodes).forEach(rt=>{v.appendChild(X.importNode(rt,!0))})}catch(EA){console.warn("[ViewGate] Shadow DOM flatting failed",EA)}}),X.querySelectorAll('input[type="password"]').forEach(wA=>{wA.value="••••••••"}),X.querySelectorAll("[data-vg-mask]").forEach(wA=>{const mA=wA;mA.style.filter="blur(10px) grayscale(1)",mA.style.opacity="0.7",["INPUT","TEXTAREA"].includes(mA.tagName)||(mA.innerText="• REDACTED •")});const we=X.getElementById("viewgate-shadow-host");we&&(we.style.display="none"),X.querySelectorAll(".vg-selection-overlay").forEach(wA=>{wA.style.display="none"}),document.querySelectorAll("[data-vg-capture-id]").forEach(wA=>wA.removeAttribute("data-vg-capture-id"))},ignoreElements:X=>X.id==="viewgate-shadow-host"||X.classList.contains("vg-no-capture")||X.classList.contains("vg-selection-overlay")}),SA=document.createElement("canvas"),yA=SA.getContext("2d"),sA=24;if(SA.width=(b.width+sA*2)*nA,SA.height=(b.height+sA*2)*nA,yA){yA.imageSmoothingEnabled=!0,yA.imageSmoothingQuality="high";const X=(CA-sA)*nA,le=(kA-sA)*nA,we=(b.width+sA*2)*nA,wA=(b.height+sA*2)*nA;yA.drawImage(IA,X,le,we,wA,0,0,SA.width,SA.height),SA.toBlob(async mA=>{if(mA){const v=new FileReader;v.onloadend=()=>{K({...E,visualPreview:v.result})},v.readAsDataURL(mA)}else K(E)},"image/webp",.98)}}catch(Q){console.error("[ViewGate] Capture Error:",Q),K(E)}finally{GA(!1),L(null)}}},[g,E,y]);C.useEffect(()=>{const l=F=>{if(F.key==="Escape"){y?K(null):HA?ce(!1):g&&f(!1);return}const b=(()=>{let M=document.activeElement;for(;M&&M.shadowRoot&&M.shadowRoot.activeElement;)M=M.shadowRoot.activeElement;return M})();if(["input","textarea"].includes((b?.tagName||"").toLowerCase())||b?.isContentEditable)return;const O=F.key.toLowerCase();if(O==="c"&&!F.ctrlKey&&!F.metaKey&&!y&&!HA){if(!(JA&&JA.status!=="closed")&&!c&&!g){t(A==="es"?"No hay un sprint activo. No se pueden generar comentarios.":"No active sprint found. Cannot generate comments.","error");return}f(T=>!T)}O==="v"&&!y&&(OA.length>0||HA)&&(ce(M=>!M),HA||f(!1))};return g&&!y?document.body.classList.add("vg-cursor-pointer"):document.body.classList.remove("vg-cursor-pointer"),window.addEventListener("keydown",l),window.addEventListener("mousemove",Xn,!0),window.addEventListener("click",Jn,!0),()=>{document.body.classList.remove("vg-cursor-pointer"),window.removeEventListener("keydown",l),window.removeEventListener("mousemove",Xn,!0),window.removeEventListener("click",Jn,!0)}},[g,y,HA,OA,Xn,Jn]);const Fw=async()=>{if(!y||!V.trim())return;if(N.includes("backend")&&W.length===0){t(A==="es"?"Selecciona al menos un endpoint de backend":"Select at least one backend endpoint","error");return}if(N.includes("ux")&&eA.some(M=>!M.name.trim()||!M.link.trim())){t(A==="es"?"Todos los diseños de Figma deben tener nombre y link":"All Figma designs must have a name and link","error");return}if(!Z){t(A==="es"?"Selecciona un usuario para comentar":"Please select a user to comment","error");return}xA(!0);const{semanticReference:l}=y,[F,Q]=(l.source||"").split(":"),R={filePath:F,line:parseInt(Q||"0"),url:window.location.href,title:V.length>50?V.substring(0,50)+"...":V,message:V,status:c?"backlog":"pending",priority:u,type:y.visualPreview&&!c&&Bs?.status==="active"?"bug":"task",screenshot:y.visualPreview,componentName:l.componentPath||y.tag,reference:{...l,viewport:{width:window.innerWidth,height:window.innerHeight},timestamp:new Date().toISOString()},focusAreas:N,figmaReference:N.includes("ux")?eA:void 0,backendEndpoints:N.includes("backend")?W:[]};Z&&(R.creator={name:Z.name,email:Z.email,avatar:Z.avatar});try{const O=await fetch(`${s}/api/annotations`,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify(R)});if(!O.ok){const M=await O.json().catch(()=>({}));throw new Error(M.message||M.error||"Backend failed")}t(e.success,"success"),K(null),AA(""),gA([]),uA([{name:e.figmaPrimaryDesign,link:""}]),WA([]),f(!1),Qt()}catch(O){console.error(O);const M=O.message&&O.message!=="Backend failed"?O.message:e.error;t(M,"error")}finally{xA(!1)}};return d.jsx("div",{"data-vg-id":"ef883ffc","data-source-path":"/src/components/ViewGateOverlay.tsx:1914",className:"vg-container",children:d.jsxs("div",{"data-vg-id":"ef883ffd","data-source-path":"/src/components/ViewGateOverlay.tsx:1915",className:"vg-no-capture",children:[d.jsxs("div",{style:{position:"fixed",bottom:`${mt.bottom}px`,right:`${mt.right}px`,zIndex:Mi,display:"flex",alignItems:"center",gap:"8px",transition:rr?"none":"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},id:"viewgate-ui",children:[d.jsx("div",{onMouseDown:Uw,style:{width:"24px",height:"40px",borderRadius:"10px",backgroundColor:"rgba(255, 255, 255, 0.85)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"grab",color:"#1e293b",opacity:g?0:1,visibility:g?"hidden":"visible",transition:"all 0.2s",border:"1px solid rgba(0,0,0,0.1)",boxShadow:"0 2px 8px rgba(0,0,0,0.05)"},onMouseEnter:l=>{l.currentTarget.style.backgroundColor="white",l.currentTarget.style.color="#000000"},onMouseLeave:l=>{l.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.85)",l.currentTarget.style.color="#1e293b"},className:"vg-animate-slide-up",children:d.jsx(qc,{"data-vg-id":"3dbe6a11","data-source-path":"/src/components/ViewGateOverlay.tsx:1962",size:16})}),d.jsxs("div",{"data-vg-id":"ef883fff","data-source-path":"/src/components/ViewGateOverlay.tsx:1965",className:"vg-action-bar vg-animate-slide-up",style:{transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:[d.jsx("button",{onClick:()=>{if(!JA&&!c&&!g){t(A==="es"?"No hay un sprint activo. No se pueden generar comentarios.":"No active sprint found. Cannot generate comments.","error");return}f(!g)},className:"vg-button-primary vg-animate-pop",style:{padding:"12px 24px",background:g?"#ef4444":!JA&&!c?"#94a3b8":void 0,cursor:!JA&&!c&&!g?"not-allowed":"pointer",opacity:!JA&&!c&&!g?.7:1},title:!JA&&!c&&!g?A==="es"?"Requiere sprint activo":"Requires active sprint":"",children:d.jsxs("div",{"data-vg-id":"ef884000","data-source-path":"/src/components/ViewGateOverlay.tsx:1983",style:{display:"flex",alignItems:"center",gap:"10px"},children:[g?d.jsx(lr,{"data-vg-id":"c6b55a88","data-source-path":"/src/components/ViewGateOverlay.tsx:1984",size:20,className:"vg-animate-pop"}):d.jsx(cr,{"data-vg-id":"adf5e015","data-source-path":"/src/components/ViewGateOverlay.tsx:1984",size:20,className:"vg-animate-pop"}),d.jsx("span",{"data-vg-id":"52d76c41","data-source-path":"/src/components/ViewGateOverlay.tsx:1985",children:g?e.exitMode:e.enterMode})]})}),OA.length>0&&d.jsxs("button",{onClick:()=>{ce(!HA),f(!1),K(null)},className:"vg-button-ghost vg-animate-pop",style:{animationDelay:"0.1s"},children:[d.jsx($c,{"data-vg-id":"cd7341f7","data-source-path":"/src/components/ViewGateOverlay.tsx:1998",size:20}),d.jsx("span",{"data-vg-id":"52d76c43","data-source-path":"/src/components/ViewGateOverlay.tsx:1999",children:e.viewComments})]}),d.jsx("button",{onClick:l=>{l.stopPropagation(),DA({title:e.exitConfirmTitle||"Close ViewGate?",message:e.exitConfirmMessage||"Are you sure you want to close ViewGate?",type:"danger",onConfirm:()=>o()})},className:"vg-button-ghost vg-animate-pop",style:{width:"40px",height:"40px",minWidth:"40px",padding:"0",animationDelay:"0.2s",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"12px",backgroundColor:"rgba(255, 255, 255, 0.8)",color:"#64748b",border:"1px solid rgba(0,0,0,0.05)"},onMouseEnter:l=>{l.currentTarget.style.color="#ef4444",l.currentTarget.style.backgroundColor="white",l.currentTarget.style.borderColor="rgba(239, 68, 68, 0.2)",l.currentTarget.style.transform="scale(1.05)"},onMouseLeave:l=>{l.currentTarget.style.color="#64748b",l.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.8)",l.currentTarget.style.borderColor="rgba(0,0,0,0.05)",l.currentTarget.style.transform="scale(1)"},title:e.close||"Cerrar ViewGate",children:d.jsx(lr,{"data-vg-id":"ff5f5d2","data-source-path":"/src/components/ViewGateOverlay.tsx:2041",size:20,strokeWidth:2.5})})]})]}),z&&d.jsx("div",{"data-vg-id":"17fbf7a","data-source-path":"/src/components/ViewGateOverlay.tsx:2048",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(255,255,255,0.6)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:Mi+1,cursor:"wait"},children:d.jsxs("div",{"data-vg-id":"17fbf7b","data-source-path":"/src/components/ViewGateOverlay.tsx:2054",className:"vg-glassmorphism",style:{padding:"30px 50px",display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"},children:[d.jsx("div",{"data-vg-id":"17fbf7c","data-source-path":"/src/components/ViewGateOverlay.tsx:2055",className:"vg-spinner"}),d.jsx("span",{"data-vg-id":"52d76c48","data-source-path":"/src/components/ViewGateOverlay.tsx:2056",style:{fontWeight:600,fontSize:"14px",color:"#000000"},children:"Capturando..."})]})}),g&&!y&&d.jsx("div",{className:"vg-backdrop-blur",style:{opacity:1,clipPath:E?`polygon(
10
+ }`,xh=(t,A)=>{Uh(t,`.${Yn}${Ch}${_i}
11
+ .${Zn}${Qh}${_i}`,A)},Uh=(t,A,e)=>{const s=t.ownerDocument;if(s){const r=s.createElement("style");r.textContent=A,e&&(r.nonce=e),t.appendChild(r)}},Fh=(t,A)=>{const e=t.ownerDocument.createElement("base");e.href=A;const s=t.getElementsByTagName("head").item(0);s?.insertBefore(e,s?.firstChild??null)};class S{constructor(A,e){this.type=0,this.x=A,this.y=e}add(A,e){return new S(this.x+A,this.y+e)}}const pt=(t,A,e)=>new S(t.x+(A.x-t.x)*e,t.y+(A.y-t.y)*e);class be{constructor(A,e,s,r){this.type=1,this.start=A,this.startControl=e,this.endControl=s,this.end=r}subdivide(A,e){const s=pt(this.start,this.startControl,A),r=pt(this.startControl,this.endControl,A),n=pt(this.endControl,this.end,A),o=pt(s,r,A),a=pt(r,n,A),c=pt(o,a,A);return e?new be(this.start,s,o,c):new be(c,a,n,this.end)}add(A,e){return new be(this.start.add(A,e),this.startControl.add(A,e),this.endControl.add(A,e),this.end.add(A,e))}reverse(){return new be(this.end,this.endControl,this.startControl,this.start)}}const zA=t=>t.type===1;class yh{constructor(A){const e=A.styles,s=A.bounds;let[r,n]=Jt(e.borderTopLeftRadius,s.width,s.height),[o,a]=Jt(e.borderTopRightRadius,s.width,s.height),[c,g]=Jt(e.borderBottomRightRadius,s.width,s.height),[l,B]=Jt(e.borderBottomLeftRadius,s.width,s.height);const f=[];f.push((r+o)/s.width),f.push((l+c)/s.width),f.push((n+B)/s.height),f.push((a+g)/s.height);const h=Math.max(...f);h>1&&(r/=h,n/=h,o/=h,a/=h,c/=h,g/=h,l/=h,B/=h);const w=s.width-o,C=s.height-g,F=s.width-c,y=s.height-B,m=e.borderTopWidth,T=e.borderRightWidth,H=e.borderBottomWidth,I=e.borderLeftWidth,K=G(e.paddingTop,A.bounds.width),_=G(e.paddingRight,A.bounds.width),W=G(e.paddingBottom,A.bounds.width),R=G(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=r>0||n>0?oA(s.left+I/3,s.top+m/3,r-I/3,n-m/3,J.TOP_LEFT):new S(s.left+I/3,s.top+m/3),this.topRightBorderDoubleOuterBox=r>0||n>0?oA(s.left+w,s.top+m/3,o-T/3,a-m/3,J.TOP_RIGHT):new S(s.left+s.width-T/3,s.top+m/3),this.bottomRightBorderDoubleOuterBox=c>0||g>0?oA(s.left+F,s.top+C,c-T/3,g-H/3,J.BOTTOM_RIGHT):new S(s.left+s.width-T/3,s.top+s.height-H/3),this.bottomLeftBorderDoubleOuterBox=l>0||B>0?oA(s.left+I/3,s.top+y,l-I/3,B-H/3,J.BOTTOM_LEFT):new S(s.left+I/3,s.top+s.height-H/3),this.topLeftBorderDoubleInnerBox=r>0||n>0?oA(s.left+I*2/3,s.top+m*2/3,r-I*2/3,n-m*2/3,J.TOP_LEFT):new S(s.left+I*2/3,s.top+m*2/3),this.topRightBorderDoubleInnerBox=r>0||n>0?oA(s.left+w,s.top+m*2/3,o-T*2/3,a-m*2/3,J.TOP_RIGHT):new S(s.left+s.width-T*2/3,s.top+m*2/3),this.bottomRightBorderDoubleInnerBox=c>0||g>0?oA(s.left+F,s.top+C,c-T*2/3,g-H*2/3,J.BOTTOM_RIGHT):new S(s.left+s.width-T*2/3,s.top+s.height-H*2/3),this.bottomLeftBorderDoubleInnerBox=l>0||B>0?oA(s.left+I*2/3,s.top+y,l-I*2/3,B-H*2/3,J.BOTTOM_LEFT):new S(s.left+I*2/3,s.top+s.height-H*2/3),this.topLeftBorderStroke=r>0||n>0?oA(s.left+I/2,s.top+m/2,r-I/2,n-m/2,J.TOP_LEFT):new S(s.left+I/2,s.top+m/2),this.topRightBorderStroke=r>0||n>0?oA(s.left+w,s.top+m/2,o-T/2,a-m/2,J.TOP_RIGHT):new S(s.left+s.width-T/2,s.top+m/2),this.bottomRightBorderStroke=c>0||g>0?oA(s.left+F,s.top+C,c-T/2,g-H/2,J.BOTTOM_RIGHT):new S(s.left+s.width-T/2,s.top+s.height-H/2),this.bottomLeftBorderStroke=l>0||B>0?oA(s.left+I/2,s.top+y,l-I/2,B-H/2,J.BOTTOM_LEFT):new S(s.left+I/2,s.top+s.height-H/2),this.topLeftBorderBox=r>0||n>0?oA(s.left,s.top,r,n,J.TOP_LEFT):new S(s.left,s.top),this.topRightBorderBox=o>0||a>0?oA(s.left+w,s.top,o,a,J.TOP_RIGHT):new S(s.left+s.width,s.top),this.bottomRightBorderBox=c>0||g>0?oA(s.left+F,s.top+C,c,g,J.BOTTOM_RIGHT):new S(s.left+s.width,s.top+s.height),this.bottomLeftBorderBox=l>0||B>0?oA(s.left,s.top+y,l,B,J.BOTTOM_LEFT):new S(s.left,s.top+s.height),this.topLeftPaddingBox=r>0||n>0?oA(s.left+I,s.top+m,Math.max(0,r-I),Math.max(0,n-m),J.TOP_LEFT):new S(s.left+I,s.top+m),this.topRightPaddingBox=o>0||a>0?oA(s.left+Math.min(w,s.width-T),s.top+m,w>s.width+T?0:Math.max(0,o-T),Math.max(0,a-m),J.TOP_RIGHT):new S(s.left+s.width-T,s.top+m),this.bottomRightPaddingBox=c>0||g>0?oA(s.left+Math.min(F,s.width-I),s.top+Math.min(C,s.height-H),Math.max(0,c-T),Math.max(0,g-H),J.BOTTOM_RIGHT):new S(s.left+s.width-T,s.top+s.height-H),this.bottomLeftPaddingBox=l>0||B>0?oA(s.left+I,s.top+Math.min(y,s.height-H),Math.max(0,l-I),Math.max(0,B-H),J.BOTTOM_LEFT):new S(s.left+I,s.top+s.height-H),this.topLeftContentBox=r>0||n>0?oA(s.left+I+R,s.top+m+K,Math.max(0,r-(I+R)),Math.max(0,n-(m+K)),J.TOP_LEFT):new S(s.left+I+R,s.top+m+K),this.topRightContentBox=o>0||a>0?oA(s.left+Math.min(w,s.width+I+R),s.top+m+K,w>s.width+I+R?0:o-I+R,a-(m+K),J.TOP_RIGHT):new S(s.left+s.width-(T+_),s.top+m+K),this.bottomRightContentBox=c>0||g>0?oA(s.left+Math.min(F,s.width-(I+R)),s.top+Math.min(C,s.height+m+K),Math.max(0,c-(T+_)),g-(H+W),J.BOTTOM_RIGHT):new S(s.left+s.width-(T+_),s.top+s.height-(H+W)),this.bottomLeftContentBox=l>0||B>0?oA(s.left+I+R,s.top+y,Math.max(0,l-(I+R)),B-(H+W),J.BOTTOM_LEFT):new S(s.left+I+R,s.top+s.height-(H+W))}}var J;(function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(J||(J={}));const oA=(t,A,e,s,r)=>{const n=4*((Math.sqrt(2)-1)/3),o=e*n,a=s*n,c=t+e,g=A+s;switch(r){case J.TOP_LEFT:return new be(new S(t,g),new S(t,g-a),new S(c-o,A),new S(c,A));case J.TOP_RIGHT:return new be(new S(t,A),new S(t+o,A),new S(c,g-a),new S(c,g));case J.BOTTOM_RIGHT:return new be(new S(c,A),new S(c,A+a),new S(t+o,g),new S(t,g));case J.BOTTOM_LEFT:default:return new be(new S(c,g),new S(c-o,g),new S(t,A+a),new S(t,A))}},fr=t=>[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox],Eh=t=>[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox],hr=t=>[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox];class Pi{constructor(A,e,s){this.offsetX=A,this.offsetY=e,this.matrix=s,this.type=0,this.target=6}}class pr{constructor(A,e){this.path=A,this.target=e,this.type=1}}class bh{constructor(A){this.opacity=A,this.type=2,this.target=6}}class ns{constructor(A){this.applyClip=A,this.type=3,this.target=6}}const vh=t=>t.type===0,ji=t=>t.type===1,Hh=t=>t.type===2,Ih=t=>t.type===3,Wi=(t,A)=>t.length===A.length?t.some((e,s)=>e===A[s]):!1,Sh=(t,A,e,s,r)=>t.map((n,o)=>{switch(o){case 0:return n.add(A,e);case 1:return n.add(A+s,e);case 2:return n.add(A+s,e+r);case 3:return n.add(A,e+r)}return n});class Xi{constructor(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}}class zi{constructor(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new yh(this.container),this.container.styles.opacity<1&&this.effects.push(new bh(this.container.styles.opacity)),this.container.styles.rotate!==null){const s=this.container.styles.transformOrigin,r=this.container.bounds.left+G(s[0],this.container.bounds.width),n=this.container.bounds.top+G(s[1],this.container.bounds.height),a=this.container.styles.rotate*Math.PI/180,c=Math.cos(a),g=Math.sin(a),l=[c,g,-g,c,0,0];this.effects.push(new Pi(r,n,l))}if(this.container.styles.transform!==null){const s=this.container.styles.transformOrigin,r=this.container.bounds.left+G(s[0],this.container.bounds.width),n=this.container.bounds.top+G(s[1],this.container.bounds.height),o=this.container.styles.transform;this.effects.push(new Pi(r,n,o))}if(this.container.styles.overflowX!==0){const s=fr(this.curves),r=hr(this.curves);Wi(s,r)?this.effects.push(new pr(s,6)):(this.effects.push(new pr(s,2)),this.effects.push(new pr(r,4)))}if(this.container.styles.clipPath.type!==0){const s=Lh(this.container.styles.clipPath,this.container.bounds);s&&this.effects.push(s)}}getEffects(A){let e=[2,3].indexOf(this.container.styles.position)===-1,s=this.parent;const r=this.effects.slice(0);for(;s;){const n=s.effects.filter(o=>!ji(o));if(e||s.container.styles.position!==0||!s.parent){if(e=[2,3].indexOf(s.container.styles.position)===-1,s.container.styles.overflowX!==0){const o=fr(s.curves),a=hr(s.curves);Wi(o,a)||r.unshift(new pr(a,6))}r.unshift(...n)}else r.unshift(...n);s=s.parent}return r.filter(n=>cA(n.target,A))}}const Ji=(t,A,e,s,r)=>t==="closest-side"?Math.min(A-e,s-A):t==="farthest-side"?Math.max(A-e,s-A):G(t,r),Lh=(t,A)=>{const{left:e,top:s,width:r,height:n}=A;switch(t.type){case 1:{const o=G(t.left,r),a=G(t.top,n),c=e+o,g=s+a,l=Math.max(0,r-o-G(t.right,r)),B=Math.max(0,n-a-G(t.bottom,n));return new ns(f=>{f.beginPath(),f.rect(c,g,l,B),f.clip()})}case 2:{const o=e+G(t.cx,r),a=s+G(t.cy,n);let c;return t.radius==="closest-side"?c=Math.min(o-e,a-s,e+r-o,s+n-a):t.radius==="farthest-side"?c=Math.max(o-e,a-s,e+r-o,s+n-a):c=G(t.radius,Math.sqrt(r*r+n*n)/Math.SQRT2),new ns(g=>{g.beginPath(),g.arc(o,a,Math.max(0,c),0,Math.PI*2),g.clip()})}case 3:{const o=e+G(t.cx,r),a=s+G(t.cy,n),c=Ji(t.rx,o,e,e+r,r),g=Ji(t.ry,a,s,s+n,n);return new ns(l=>{l.beginPath(),l.ellipse(o,a,Math.max(0,c),Math.max(0,g),0,0,Math.PI*2),l.clip()})}case 4:{const o=t.points.map(([a,c])=>[e+G(a,r),s+G(c,n)]);return new ns(a=>{if(a.beginPath(),o.length>0){a.moveTo(o[0][0],o[0][1]);for(let c=1;c<o.length;c++)a.lineTo(o[c][0],o[c][1]);a.closePath()}a.clip()})}case 5:{const{d:o}=t;return new ns(a=>{try{const c=a.getTransform();a.translate(e,s),a.clip(new Path2D(o)),a.setTransform(c)}catch{}})}case 0:return null;default:return null}},$n=(t,A,e,s)=>{t.container.elements.forEach(r=>{const n=cA(r.flags,4),o=cA(r.flags,2),a=new zi(r,t);cA(r.styles.display,2048)&&s.push(a);const c=cA(r.flags,8)?[]:s;if(n||o){const g=n||r.styles.isPositioned()?e:A,l=new Xi(a);if(r.styles.isPositioned()||r.styles.opacity<1||r.styles.isTransformed()){const B=r.styles.zIndex.order;if(B<0){let f=0;g.negativeZIndex.some((h,w)=>B>h.element.container.styles.zIndex.order?(f=w,!1):f>0),g.negativeZIndex.splice(f,0,l)}else if(B>0){let f=0;g.positiveZIndex.some((h,w)=>B>=h.element.container.styles.zIndex.order?(f=w+1,!1):f>0),g.positiveZIndex.splice(f,0,l)}else g.zeroOrAutoZIndexOrTransformedOrOpacity.push(l)}else r.styles.isFloating()?g.nonPositionedFloats.push(l):g.nonPositionedInlineLevel.push(l);$n(a,l,n?l:e,c)}else r.styles.isInlineLevel()?A.inlineLevel.push(a):A.nonInlineLevel.push(a),$n(a,A,e,c);cA(r.flags,8)&&Yi(r,c)})},Yi=(t,A)=>{let e=t instanceof _n?t.start:1;const s=t instanceof _n?t.reversed:!1;for(let r=0;r<A.length;r++){const n=A[r];n.container instanceof Fi&&typeof n.container.value=="number"&&n.container.value!==0&&(e=n.container.value),n.listValue=ss(e,n.container.styles.listStyleType,!0),e+=s?-1:1}},Th=t=>{const A=new zi(t,null),e=new Xi(A),s=[];return $n(A,e,e,s),Yi(A.container,s),e},Zi=t=>{const A=t.bounds,e=t.styles;return A.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},os=t=>{const A=t.styles,e=t.bounds,s=G(A.paddingLeft,e.width),r=G(A.paddingRight,e.width),n=G(A.paddingTop,e.width),o=G(A.paddingBottom,e.width);return e.add(s+A.borderLeftWidth,n+A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth+s+r),-(A.borderTopWidth+A.borderBottomWidth+n+o))},Oh=(t,A)=>t===0?A.bounds:t===2?os(A):Zi(A),Kh=(t,A)=>t===0?A.bounds:t===2?os(A):Zi(A),qn=(t,A,e)=>{const s=Oh(mt(t.styles.backgroundOrigin,A),t),r=Kh(mt(t.styles.backgroundClip,A),t),n=Dh(mt(t.styles.backgroundSize,A),e,s);let[o,a]=n;const c=Jt(mt(t.styles.backgroundPosition,A),s.width-o,s.height-a),g=Rh(mt(t.styles.backgroundRepeat,A),c,n,s,r),l=Math.round(s.left+c[0]),B=Math.round(s.top+c[1]);return o=Math.max(1,o),a=Math.max(1,a),[g,l,B,o,a]},wt=t=>V(t)&&t.value===gt.AUTO,wr=t=>typeof t=="number",Dh=(t,[A,e,s],r)=>{const[n,o]=t;if(!n)return[0,0];if(Z(n)&&o&&Z(o))return[G(n,r.width),G(o,r.height)];const a=wr(s);if(V(n)&&(n.value===gt.CONTAIN||n.value===gt.COVER))return wr(s)?r.width/r.height<s!=(n.value===gt.COVER)?[r.width,r.width/s]:[r.height*s,r.height]:[r.width,r.height];const c=wr(A),g=wr(e),l=c||g;if(wt(n)&&(!o||wt(o))){if(c&&g)return[A,e];if(!a&&!l)return[r.width,r.height];if(l&&a){const C=c?A:e*s,F=g?e:A/s;return[C,F]}const h=c?A:r.width,w=g?e:r.height;return[h,w]}if(a){let h=0,w=0;return Z(n)?h=G(n,r.width):Z(o)&&(w=G(o,r.height)),wt(n)?h=w*s:(!o||wt(o))&&(w=h/s),[h,w]}let B=null,f=null;if(Z(n)?B=G(n,r.width):o&&Z(o)&&(f=G(o,r.height)),B!==null&&(!o||wt(o))&&(f=c&&g?B/A*e:r.height),f!==null&&wt(n)&&(B=c&&g?f/e*A:r.width),B!==null&&f!==null)return[B,f];throw new Error("Unable to calculate background-size for element")},mt=(t,A)=>{const e=t[A];return typeof e>"u"?t[0]:e},Rh=(t,[A,e],[s,r],n,o)=>{switch(t){case 2:return[new S(Math.round(n.left),Math.round(n.top+e)),new S(Math.round(n.left+n.width),Math.round(n.top+e)),new S(Math.round(n.left+n.width),Math.round(r+n.top+e)),new S(Math.round(n.left),Math.round(r+n.top+e))];case 3:return[new S(Math.round(n.left+A),Math.round(n.top)),new S(Math.round(n.left+A+s),Math.round(n.top)),new S(Math.round(n.left+A+s),Math.round(n.height+n.top)),new S(Math.round(n.left+A),Math.round(n.height+n.top))];case 1:return[new S(Math.round(n.left+A),Math.round(n.top+e)),new S(Math.round(n.left+A+s),Math.round(n.top+e)),new S(Math.round(n.left+A+s),Math.round(n.top+e+r)),new S(Math.round(n.left+A),Math.round(n.top+e+r))];default:return[new S(Math.round(o.left),Math.round(o.top)),new S(Math.round(o.left+o.width),Math.round(o.top)),new S(Math.round(o.left+o.width),Math.round(o.height+o.top)),new S(Math.round(o.left),Math.round(o.height+o.top))]}},kh="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",$i="Hidden Text";class Gh{constructor(A){this._data={},this._document=A}parseMetrics(A,e){const s=this._document.createElement("div"),r=this._document.createElement("img"),n=this._document.createElement("span"),o=this._document.body;s.style.visibility="hidden",s.style.fontFamily=A,s.style.fontSize=e,s.style.margin="0",s.style.padding="0",s.style.whiteSpace="nowrap",o.appendChild(s),r.src=kh,r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",n.style.fontFamily=A,n.style.fontSize=e,n.style.margin="0",n.style.padding="0",n.appendChild(this._document.createTextNode($i)),s.appendChild(n),s.appendChild(r);const a=r.offsetTop-n.offsetTop+2;s.removeChild(n),s.appendChild(this._document.createTextNode($i)),s.style.lineHeight="normal",r.style.verticalAlign="super";const c=r.offsetTop-s.offsetTop+2;return o.removeChild(s),{baseline:a,middle:c}}getMetrics(A,e){const s=`${A} ${e}`;return typeof this._data[s]>"u"&&(this._data[s]=this.parseMetrics(A,e)),this._data[s]}}class qi{constructor(A,e){this.context=A,this.options=e}}class Mh{constructor(A){this.ctx=A.ctx,this.context=A.context,this.canvas=A.canvas}async renderBackgroundImage(A){let e=A.styles.backgroundImage.length-1;for(const s of A.styles.backgroundImage.slice(0).reverse())s.type===0?await this.renderBackgroundURLImage(A,s,e):mg(s)?this.renderLinearGradient(A,s,e):Cg(s)&&this.renderRadialGradient(A,s,e),e--}async renderBackgroundURLImage(A,e,s){let r;const n=e.url;try{r=await this.context.cache.match(n)}catch{this.context.logger.error(`Error loading background-image ${n}`)}if(r){const o=isNaN(r.width)||r.width===0?1:r.width,a=isNaN(r.height)||r.height===0?1:r.height,[c,g,l,B,f]=qn(A,s,[o,a,o/a]),h=this.ctx.createPattern(this.resizeImage(r,B,f,A.styles.imageRendering),"repeat");this.renderRepeat(c,h,g,l)}}renderLinearGradient(A,e,s){const[r,n,o,a,c]=qn(A,s,[null,null,null]),[g,l,B,f,h]=ug(e.angle,a,c),C=(this.canvas.ownerDocument??document).createElement("canvas");C.width=a,C.height=c;const F=C.getContext("2d"),y=F.createLinearGradient(l,f,B,h);if(Va(e.stops,g||1).forEach(m=>y.addColorStop(m.stop,rA(m.color))),F.fillStyle=y,F.fillRect(0,0,a,c),a>0&&c>0){const m=this.ctx.createPattern(C,"repeat");this.renderRepeat(r,m,n,o)}}renderRadialGradient(A,e,s){const[r,n,o,a,c]=qn(A,s,[null,null,null]),g=e.position.length===0?[Ye]:e.position,l=G(g[0],a),B=G(g[g.length-1],c);let[f,h]=fg(e,l,B,a,c);if((f===0||h===0)&&(f=Math.max(f,.01),h=Math.max(h,.01)),f>0&&h>0){const w=this.ctx.createRadialGradient(n+l,o+B,0,n+l,o+B,f);if(Va(e.stops,f*2).forEach(C=>w.addColorStop(C.stop,rA(C.color))),this.path(r),this.ctx.fillStyle=w,f!==h){const C=A.bounds.left+.5*A.bounds.width,F=A.bounds.top+.5*A.bounds.height,y=h/f,m=1/y;this.ctx.save(),this.ctx.translate(C,F),this.ctx.transform(1,0,0,y,0,0),this.ctx.translate(-C,-F),this.ctx.fillRect(n,m*(o-F)+F,a,c*m),this.ctx.restore()}else this.ctx.fill()}}renderRepeat(A,e,s,r){this.path(A),this.ctx.fillStyle=e,this.ctx.translate(s,r),this.ctx.fill(),this.ctx.translate(-s,-r)}resizeImage(A,e,s,r){const o=(this.canvas.ownerDocument??document).createElement("canvas");o.width=Math.max(1,e),o.height=Math.max(1,s);const a=o.getContext("2d");return r===ee.PIXELATED||r===ee.CRISP_EDGES?(this.context.logger.debug("Disabling image smoothing for background image due to CSS image-rendering"),a.imageSmoothingEnabled=!1):r===ee.SMOOTH?(this.context.logger.debug("Enabling image smoothing for background image due to CSS image-rendering: smooth"),a.imageSmoothingEnabled=!0):a.imageSmoothingEnabled=this.ctx.imageSmoothingEnabled,this.ctx.imageSmoothingQuality&&(a.imageSmoothingQuality=this.ctx.imageSmoothingQuality),a.drawImage(A,0,0,A.width,A.height,0,0,e,s),o}path(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()}formatPath(A){A.forEach((e,s)=>{const r=zA(e)?e.start:e;s===0?this.ctx.moveTo(r.x,r.y):this.ctx.lineTo(r.x,r.y),zA(e)&&this.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})}}const Ac=(t,A)=>{switch(A){case 0:return ae(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return ae(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return ae(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);default:return ae(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},Vh=(t,A)=>{switch(A){case 0:return ae(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return ae(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return ae(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);default:return ae(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},Nh=(t,A)=>{switch(A){case 0:return ae(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return ae(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return ae(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);default:return ae(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},_h=(t,A)=>{switch(A){case 0:return mr(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return mr(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return mr(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);default:return mr(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},mr=(t,A)=>{const e=[];return zA(t)?e.push(t.subdivide(.5,!1)):e.push(t),zA(A)?e.push(A.subdivide(.5,!0)):e.push(A),e},ae=(t,A,e,s)=>{const r=[];return zA(t)?r.push(t.subdivide(.5,!1)):r.push(t),zA(e)?r.push(e.subdivide(.5,!0)):r.push(e),zA(s)?r.push(s.subdivide(.5,!0).reverse()):r.push(s),zA(A)?r.push(A.subdivide(.5,!1).reverse()):r.push(A),r};class Ph{constructor(A,e){this.ctx=A.ctx,this.pathCallbacks=e}async renderSolidBorder(A,e,s){this.pathCallbacks.path(Ac(s,e)),this.ctx.fillStyle=rA(A),this.ctx.fill()}async renderDoubleBorder(A,e,s,r){if(e<3){await this.renderSolidBorder(A,s,r);return}const n=Vh(r,s);this.pathCallbacks.path(n),this.ctx.fillStyle=rA(A),this.ctx.fill();const o=Nh(r,s);this.pathCallbacks.path(o),this.ctx.fill()}async renderDashedDottedBorder(A,e,s,r,n){this.ctx.save();const o=_h(r,s),a=Ac(r,s);n===2&&(this.pathCallbacks.path(a),this.ctx.clip());let c,g,l,B;zA(a[0])?(c=a[0].start.x,g=a[0].start.y):(c=a[0].x,g=a[0].y),zA(a[1])?(l=a[1].end.x,B=a[1].end.y):(l=a[1].x,B=a[1].y);let f;s===0||s===2?f=Math.abs(c-l):f=Math.abs(g-B),this.ctx.beginPath(),n===3?this.pathCallbacks.formatPath(o):this.pathCallbacks.formatPath(a.slice(0,2));let h=e<3?e*3:e*2,w=e<3?e*2:e;n===3&&(h=e,w=e);let C=!0;if(f<=h*2)C=!1;else if(f<=h*2+w){const F=f/(2*h+w);h*=F,w*=F}else{const F=Math.floor((f+w)/(h+w)),y=(f-F*h)/(F-1),m=(f-(F+1)*h)/F;w=m<=0||Math.abs(w-y)<Math.abs(w-m)?y:m}if(C&&(n===3?this.ctx.setLineDash([0,h+w]):this.ctx.setLineDash([h,w])),n===3?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=e*2+1.1,this.ctx.strokeStyle=rA(A),this.ctx.stroke(),this.ctx.setLineDash([]),n===2){if(zA(a[0])){const F=a[3],y=a[0];this.ctx.beginPath(),this.pathCallbacks.formatPath([new S(F.end.x,F.end.y),new S(y.start.x,y.start.y)]),this.ctx.stroke()}if(zA(a[1])){const F=a[1],y=a[2];this.ctx.beginPath(),this.pathCallbacks.formatPath([new S(F.end.x,F.end.y),new S(y.start.x,y.start.y)]),this.ctx.stroke()}}this.ctx.restore()}}class jh{constructor(A,e){this.activeEffects=[],this.ctx=A.ctx,this.pathCallback=e}applyEffects(A){for(;this.activeEffects.length;)this.popEffect();A.forEach(e=>this.applyEffect(e))}applyEffect(A){this.ctx.save(),Hh(A)?this.ctx.globalAlpha=A.opacity:vh(A)?(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)):ji(A)?(this.pathCallback.path(A.path),this.ctx.clip()):Ih(A)&&A.applyClip(this.ctx),this.activeEffects.push(A)}popEffect(){this.activeEffects.pop(),this.ctx.restore()}getActiveEffectCount(){return this.activeEffects.length}hasActiveEffects(){return this.activeEffects.length>0}}const Wh=["-apple-system","system-ui"],Xh=/[\u2E80-\u2FFF\u3000-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uAC00-\uD7AF\uF900-\uFAFF\uFF01-\uFFEF]/,zh=t=>Xh.test(t),Jh=()=>{if(typeof navigator>"u")return null;const t=navigator.userAgent,A=/iPhone|iPad|iPod/.test(t),e=/Macintosh/.test(t)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1;if(!A&&!e)return null;const s=[/(?:iPhone|CPU(?:\siPhone)?)\sOS\s(\d+)[\._](\d+)/,/Version\/(\d+)\.(\d+)/];for(const r of s){const n=t.match(r);if(n&&n[1])return parseInt(n[1],10)}return null},Yh=t=>{const A=Jh();return A!==null&&A>=15&&A<17?t.map(e=>Wh.indexOf(e)!==-1?'-apple-system, "Helvetica Neue", Arial, sans-serif':e):t};class Zh{constructor(A){this.ctx=A.ctx,this.options=A.options}iterateLettersWithLetterSpacing(A,e,s,r){const n=cr(A.text),o=A.bounds.top+s;let a=A.bounds.left;for(const c of n){if(zh(c)){const g=this.ctx.textBaseline;this.ctx.textBaseline="ideographic",r(c,a,o),this.ctx.textBaseline=g}else r(c,a,o);a+=this.ctx.measureText(c).width+e}}renderTextWithLetterSpacing(A,e,s){e===0?this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+s):this.iterateLettersWithLetterSpacing(A,e,s,(r,n,o)=>{this.ctx.fillText(r,n,o)})}renderTextBoundWithPaintOrder(A,e,s){s.forEach(r=>{switch(r){case 0:this.ctx.fillStyle=rA(e.color),this.renderTextWithLetterSpacing(A,e.letterSpacing,e.fontSize.number);break;case 1:e.webkitTextStrokeWidth&&A.text.trim().length&&(this.ctx.strokeStyle=rA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(A.text,A.bounds.left,A.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(A,e.letterSpacing,e.fontSize.number,(n,o,a)=>this.ctx.strokeText(n,o,a)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}})}renderTextDecoration(A,e){this.ctx.fillStyle=rA(e.textDecorationColor||e.color);let s=1;typeof e.textDecorationThickness=="number"?s=e.textDecorationThickness:e.textDecorationThickness==="from-font"&&(s=Math.max(1,Math.floor(e.fontSize.number*.05)));let r=0;typeof e.textUnderlineOffset=="number"&&(r=e.textUnderlineOffset);const n=e.textDecorationStyle;e.textDecorationLine.forEach(o=>{let a=0;switch(o){case 1:a=A.top+A.height-s+r;break;case 2:a=A.top;break;case 3:a=A.top+(A.height/2-s/2);break;default:return}this.drawDecorationLine(A.left,a,A.width,s,n)})}drawDecorationLine(A,e,s,r,n){switch(n){case 0:this.ctx.fillRect(A,e,s,r);break;case 1:const o=Math.max(1,r);this.ctx.fillRect(A,e,s,r),this.ctx.fillRect(A,e+r+o,s,r);break;case 2:this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash([r,r*2]),this.ctx.lineWidth=r,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(A,e+r/2),this.ctx.lineTo(A+s,e+r/2),this.ctx.stroke(),this.ctx.restore();break;case 3:this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash([r*3,r*2]),this.ctx.lineWidth=r,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(A,e+r/2),this.ctx.lineTo(A+s,e+r/2),this.ctx.stroke(),this.ctx.restore();break;case 4:this.ctx.save(),this.ctx.beginPath(),this.ctx.lineWidth=r,this.ctx.strokeStyle=this.ctx.fillStyle;const a=r*2,c=r*4;let g=A;for(this.ctx.moveTo(g,e+r/2);g<A+s;){const l=Math.min(g+c/2,A+s);if(this.ctx.quadraticCurveTo(g+c/4,e+r/2-a,l,e+r/2),g=l,g<A+s){const B=Math.min(g+c/2,A+s);this.ctx.quadraticCurveTo(g+c/4,e+r/2+a,B,e+r/2),g=B}}this.ctx.stroke(),this.ctx.restore();break;default:this.ctx.fillRect(A,e,s,r)}}truncateTextWithEllipsis(A,e,s){const n=this.ctx.measureText("…").width,o=cr(A);if(s===0){const a=l=>this.ctx.measureText(o.slice(0,l).join("")).width+n<=e;let c=0,g=o.length;for(;c<g;){const l=c+g+1>>1;a(l)?c=l:g=l-1}return o.slice(0,c).join("")+"…"}else{let a=n;const c=[];for(const g of o){const l=this.ctx.measureText(g).width;if(a+l>e)break;c.push(g),a+=l+s}return c.join("")+"…"}}createFontStyle(A){const e=A.fontVariant.filter(n=>n==="normal"||n==="small-caps").join(""),s=Yh(A.fontFamily).join(", "),r=he(A.fontSize)?`${A.fontSize.number}${A.fontSize.unit}`:`${A.fontSize.number}px`;return[[A.fontStyle,e,A.fontWeight,r,s].join(" "),s,r]}async renderTextNode(A,e,s){const[r]=this.createFontStyle(e);this.ctx.font=r,this.ctx.direction=e.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic";const n=e.paintOrder,o=e.fontSize.number*1.5;if(e.webkitLineClamp>0&&(e.display&2)!==0&&e.overflowY===1&&A.textBounds.length>0){const B=[];let f=[],h=A.textBounds[0].bounds.top;A.textBounds.forEach(C=>{Math.abs(C.bounds.top-h)>=o*.5?(f.length>0&&B.push(f),f=[C],h=C.bounds.top):f.push(C)}),f.length>0&&B.push(f);const w=e.webkitLineClamp;if(B.length>w){for(let F=0;F<w-1;F++)B[F].forEach(y=>{this.renderTextBoundWithPaintOrder(y,e,n)});const C=B[w-1];if(C&&C.length>0&&s){const F=C.map(I=>I.text).join(""),y=C[0],m=s.width-(y.bounds.left-s.left),T=this.truncateTextWithEllipsis(F,m,e.letterSpacing),H=new qe(T,y.bounds);n.forEach(I=>{switch(I){case 0:this.ctx.fillStyle=rA(e.color),e.letterSpacing===0?this.ctx.fillText(T,y.bounds.left,y.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(H,e.letterSpacing,e.fontSize.number,(K,_,W)=>this.ctx.fillText(K,_,W));break;case 1:e.webkitTextStrokeWidth&&T.trim().length&&(this.ctx.strokeStyle=rA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(T,y.bounds.left,y.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(H,e.letterSpacing,e.fontSize.number,(K,_,W)=>this.ctx.strokeText(K,_,W)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}})}return}}const c=e.textOverflow===1&&s&&e.overflowX===1&&A.textBounds.length>0;let g=!1,l="";if(c){const B=A.textBounds[0].bounds.top;if(A.textBounds.every(h=>Math.abs(h.bounds.top-B)<o*.5)){let h=A.textBounds.map(F=>F.text).join("");h=h.replace(/\s+/g," ").trim();const w=this.ctx.measureText(h).width,C=s.width;w>C&&(g=!0,l=this.truncateTextWithEllipsis(h,C,e.letterSpacing))}}if(g){const B=A.textBounds[0],f=new qe(l,B.bounds);n.forEach(h=>{switch(h){case 0:{this.ctx.fillStyle=rA(e.color),e.letterSpacing===0?this.ctx.fillText(l,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(f,e.letterSpacing,e.fontSize.number,(C,F,y)=>this.ctx.fillText(C,F,y));const w=e.textShadow;w.length&&l.trim().length&&(w.slice(0).reverse().forEach(C=>{this.ctx.shadowColor=rA(C.color),this.ctx.shadowOffsetX=C.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=C.offsetY.number*this.options.scale,this.ctx.shadowBlur=C.blur.number,e.letterSpacing===0?this.ctx.fillText(l,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(f,e.letterSpacing,e.fontSize.number,(F,y,m)=>this.ctx.fillText(F,y,m))}),this.ctx.shadowColor="",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0);break}case 1:e.webkitTextStrokeWidth&&l.trim().length&&(this.ctx.strokeStyle=rA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round",e.letterSpacing===0?this.ctx.strokeText(l,B.bounds.left,B.bounds.top+e.fontSize.number):this.iterateLettersWithLetterSpacing(f,e.letterSpacing,e.fontSize.number,(w,C,F)=>this.ctx.strokeText(w,C,F)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter");break}});return}A.textBounds.forEach(B=>{n.forEach(f=>{switch(f){case 0:{this.ctx.fillStyle=rA(e.color),this.renderTextWithLetterSpacing(B,e.letterSpacing,e.fontSize.number);const h=e.textShadow;h.length&&B.text.trim().length&&(h.slice(0).reverse().forEach(w=>{this.ctx.shadowColor=rA(w.color),this.ctx.shadowOffsetX=w.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=w.offsetY.number*this.options.scale,this.ctx.shadowBlur=w.blur.number,this.renderTextWithLetterSpacing(B,e.letterSpacing,e.fontSize.number)}),this.ctx.shadowColor="",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0),e.textDecorationLine.length&&this.renderTextDecoration(B.bounds,e);break}case 1:{if(e.webkitTextStrokeWidth&&B.text.trim().length){this.ctx.strokeStyle=rA(e.webkitTextStrokeColor),this.ctx.lineWidth=e.webkitTextStrokeWidth,this.ctx.lineJoin=typeof window<"u"&&window.chrome?"miter":"round";const h=e.fontSize.number;e.letterSpacing===0?this.ctx.strokeText(B.text,B.bounds.left,B.bounds.top+h):this.iterateLettersWithLetterSpacing(B,e.letterSpacing,h,(w,C,F)=>this.ctx.strokeText(w,C,F)),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter"}break}}})})}}const $h=1e4;class Ao extends qi{constructor(A,e){super(A,e),this.canvas=e.canvas?e.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),e.canvas||(this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=`${e.width}px`,this.canvas.style.height=`${e.height}px`),this.fontMetrics=new Gh(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x,-e.y),this.ctx.textBaseline="bottom",e.imageSmoothing!==void 0&&(this.ctx.imageSmoothingEnabled=e.imageSmoothing),e.imageSmoothingQuality&&(this.ctx.imageSmoothingQuality=e.imageSmoothingQuality),this.backgroundRenderer=new Mh({ctx:this.ctx,context:this.context,canvas:this.canvas,options:{width:e.width,height:e.height,scale:e.scale}}),this.borderRenderer=new Ph({ctx:this.ctx},{path:s=>this.path(s),formatPath:s=>this.formatPath(s)}),this.effectsRenderer=new jh({ctx:this.ctx},{path:s=>this.path(s)}),this.textRenderer=new Zh({ctx:this.ctx,context:this.context,options:{scale:e.scale}}),this.context.logger.debug(`Canvas renderer initialized (${e.width}x${e.height}) with scale ${e.scale}`)}async renderStack(A){A.element.container.styles.isVisible()&&await this.renderStackContent(A)}async renderNode(A){if(cA(A.container.flags,16))debugger;A.container.styles.isVisible()&&(await this.renderNodeBackgroundAndBorders(A),await this.renderNodeContent(A))}renderReplacedElement(A,e,s){const r=s.naturalWidth||A.intrinsicWidth,n=s.naturalHeight||A.intrinsicHeight;if(s&&r>0&&n>0){const o=os(A),a=hr(e);this.path(a),this.ctx.save(),this.ctx.clip();let c=0,g=0,l=r,B=n,f=o.left,h=o.top,w=o.width,C=o.height;const{objectFit:F}=A.styles,y=w/C,m=l/B;if(F===2)m>y?(C=w/m,h+=(o.height-C)/2):(w=C*m,f+=(o.width-w)/2);else if(F===4)m>y?(l=B*y,c+=(r-l)/2):(B=l/y,g+=(n-B)/2);else if(F===8)l>w?(c+=(l-w)/2,l=w):(f+=(w-l)/2,w=l),B>C?(g+=(B-C)/2,B=C):(h+=(C-B)/2,C=B);else if(F===16){const T=m>y?w:C*m,H=l>w?l:w;T<H?m>y?(C=w/m,h+=(o.height-C)/2):(w=C*m,f+=(o.width-w)/2):(l>w?(c+=(l-w)/2,l=w):(f+=(w-l)/2,w=l),B>C?(g+=(B-C)/2,B=C):(h+=(C-B)/2,C=B))}this.ctx.drawImage(s,c,g,l,B,f,h,w,C),this.ctx.restore()}}async renderNodeContent(A){this.effectsRenderer.applyEffects(A.getEffects(4));const e=A.container,s=A.curves,r=e.styles,n=os(e);for(const o of e.textNodes)await this.textRenderer.renderTextNode(o,r,n);if(e instanceof Qi)try{const o=await this.context.cache.match(e.src),a=this.ctx.imageSmoothingEnabled;r.imageRendering===ee.PIXELATED||r.imageRendering===ee.CRISP_EDGES?(this.context.logger.debug(`Disabling image smoothing for ${e.src} due to CSS image-rendering: ${r.imageRendering===ee.PIXELATED?"pixelated":"crisp-edges"}`),this.ctx.imageSmoothingEnabled=!1):r.imageRendering===ee.SMOOTH&&(this.context.logger.debug(`Enabling image smoothing for ${e.src} due to CSS image-rendering: smooth`),this.ctx.imageSmoothingEnabled=!0),this.renderReplacedElement(e,s,o),this.ctx.imageSmoothingEnabled=a}catch{this.context.logger.error(`Error loading image ${e.src}`)}if(e instanceof xi&&this.renderReplacedElement(e,s,e.canvas),e instanceof Ui)try{const o=await this.context.cache.match(e.svg);this.renderReplacedElement(e,s,o)}catch{this.context.logger.error(`Error loading svg ${e.svg.substring(0,255)}`)}if(e instanceof vi&&e.tree){const a=await new Ao(this.context,{scale:this.options.scale,backgroundColor:e.backgroundColor,x:0,y:0,width:e.width,height:e.height}).render(e.tree);e.width&&e.height&&this.ctx.drawImage(a,0,0,e.width,e.height,e.bounds.left,e.bounds.top,e.bounds.width,e.bounds.height)}if(e instanceof As){const o=Math.min(e.bounds.width,e.bounds.height);e.type===lr?e.checked&&(this.ctx.save(),this.path([new S(e.bounds.left+o*.39363,e.bounds.top+o*.79),new S(e.bounds.left+o*.16,e.bounds.top+o*.5549),new S(e.bounds.left+o*.27347,e.bounds.top+o*.44071),new S(e.bounds.left+o*.39694,e.bounds.top+o*.5649),new S(e.bounds.left+o*.72983,e.bounds.top+o*.23),new S(e.bounds.left+o*.84,e.bounds.top+o*.34085),new S(e.bounds.left+o*.39363,e.bounds.top+o*.79)]),this.ctx.fillStyle=rA(yi),this.ctx.fill(),this.ctx.restore()):e.type===dr&&e.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(e.bounds.left+o/2,e.bounds.top+o/2,o/4,0,Math.PI*2,!0),this.ctx.fillStyle=rA(yi),this.ctx.fill(),this.ctx.restore())}if(qh(e)&&e.value.length){const[o,a,c]=this.textRenderer.createFontStyle(r),{baseline:g}=this.fontMetrics.getMetrics(a,c);this.ctx.font=o;const l=e instanceof As&&e.isPlaceholder;this.ctx.fillStyle=rA(l?th:r.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=ep(e.styles.textAlign);const B=os(e);let f=0;switch(e.styles.textAlign){case 1:f+=B.width/2;break;case 2:f+=B.width;break}let h=0;if(e instanceof As){const C=G(r.fontSize,0);h=(B.height-C)/2}const w=B.add(f,h,0,0);this.ctx.save(),this.path([new S(B.left,B.top),new S(B.left+B.width,B.top),new S(B.left+B.width,B.top+B.height),new S(B.left,B.top+B.height)]),this.ctx.clip(),this.textRenderer.renderTextWithLetterSpacing(new qe(e.value,w),r.letterSpacing,g),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(cA(e.styles.display,2048)){if(e.styles.listStyleImage!==null){const o=e.styles.listStyleImage;if(o.type===0){let a;const c=o.url;try{a=await this.context.cache.match(c),this.ctx.drawImage(a,e.bounds.left-(a.width+10),e.bounds.top)}catch{this.context.logger.error(`Error loading list-style-image ${c}`)}}}else if(A.listValue&&e.styles.listStyleType!==-1){const[o]=this.textRenderer.createFontStyle(r);this.ctx.font=o,this.ctx.fillStyle=rA(r.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right";const a=new kA(e.bounds.left,e.bounds.top+G(e.styles.paddingTop,e.bounds.width),e.bounds.width,qa(r.lineHeight,r.fontSize.number)/2+1);this.textRenderer.renderTextWithLetterSpacing(new qe(A.listValue,a),r.letterSpacing,qa(r.lineHeight,r.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}}}async renderStackContent(A){if(cA(A.element.container.flags,16))debugger;await this.renderNodeBackgroundAndBorders(A.element);for(const e of A.negativeZIndex)await this.renderStack(e);await this.renderNodeContent(A.element);for(const e of A.nonInlineLevel)await this.renderNode(e);for(const e of A.nonPositionedFloats)await this.renderStack(e);for(const e of A.nonPositionedInlineLevel)await this.renderStack(e);for(const e of A.inlineLevel)await this.renderNode(e);for(const e of A.zeroOrAutoZIndexOrTransformedOrOpacity)await this.renderStack(e);for(const e of A.positiveZIndex)await this.renderStack(e)}mask(A){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.options.width,0),this.ctx.lineTo(this.options.width,this.options.height),this.ctx.lineTo(0,this.options.height),this.ctx.lineTo(0,0),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()}path(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()}formatPath(A){A.forEach((e,s)=>{const r=zA(e)?e.start:e;s===0?this.ctx.moveTo(r.x,r.y):this.ctx.lineTo(r.x,r.y),zA(e)&&this.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})}async renderNodeBackgroundAndBorders(A){this.effectsRenderer.applyEffects(A.getEffects(2));const e=A.container.styles,s=!ke(e.backgroundColor)||e.backgroundImage.length,r=[{style:e.borderTopStyle,color:e.borderTopColor,width:e.borderTopWidth},{style:e.borderRightStyle,color:e.borderRightColor,width:e.borderRightWidth},{style:e.borderBottomStyle,color:e.borderBottomColor,width:e.borderBottomWidth},{style:e.borderLeftStyle,color:e.borderLeftColor,width:e.borderLeftWidth}],n=Ap(mt(e.backgroundClip,0),A.curves);(s||e.boxShadow.length)&&(this.ctx.save(),this.path(n),this.ctx.clip(),ke(e.backgroundColor)||(this.ctx.fillStyle=rA(e.backgroundColor),this.ctx.fill()),await this.backgroundRenderer.renderBackgroundImage(A.container),this.ctx.restore(),e.boxShadow.slice(0).reverse().forEach(a=>{this.ctx.save();const c=fr(A.curves),g=a.inset?0:$h,l=Sh(c,-g+(a.inset?1:-1)*a.spread.number,(a.inset?1:-1)*a.spread.number,a.spread.number*(a.inset?-2:2),a.spread.number*(a.inset?-2:2));a.inset?(this.path(c),this.ctx.clip(),this.mask(l)):(this.mask(c),this.ctx.clip(),this.path(l)),this.ctx.shadowOffsetX=a.offsetX.number+g,this.ctx.shadowOffsetY=a.offsetY.number,this.ctx.shadowColor=rA(a.color),this.ctx.shadowBlur=a.blur.number,this.ctx.fillStyle=a.inset?rA(a.color):"rgba(0,0,0,1)",this.ctx.fill(),this.ctx.restore()}));let o=0;for(const a of r)a.style!==0&&!ke(a.color)&&a.width>0&&(a.style===2?await this.borderRenderer.renderDashedDottedBorder(a.color,a.width,o,A.curves,2):a.style===3?await this.borderRenderer.renderDashedDottedBorder(a.color,a.width,o,A.curves,3):a.style===4?await this.borderRenderer.renderDoubleBorder(a.color,a.width,o,A.curves):await this.borderRenderer.renderSolidBorder(a.color,o,A.curves)),o++}async render(A){this.options.backgroundColor&&(this.ctx.fillStyle=rA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height));const e=Th(A);return await this.renderStack(e),this.effectsRenderer.applyEffects([]),this.canvas}}const qh=t=>t instanceof bi||t instanceof Ei?!0:t instanceof As&&t.type!==dr&&t.type!==lr,Ap=(t,A)=>{switch(t){case 0:return fr(A);case 2:return Eh(A);default:return hr(A)}},ep=t=>{switch(t){case 1:return"center";case 2:return"right";default:return"left"}};class tp extends qi{constructor(A,e){super(A,e),this.canvas=e.canvas?e.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=e,this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=`${e.width}px`,this.canvas.style.height=`${e.height}px`,this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x,-e.y),this.context.logger.debug(`EXPERIMENTAL ForeignObject renderer initialized (${e.width}x${e.height} at ${e.x},${e.y}) with scale ${e.scale}`)}async render(A){const e=Nn(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),s=await sp(e);return this.options.backgroundColor&&(this.ctx.fillStyle=rA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(s,-this.options.x*this.options.scale,-this.options.y*this.options.scale),this.canvas}}const sp=t=>new Promise((A,e)=>{const s=new Image;s.onload=()=>{A(s)},s.onerror=e,s.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(t))}`});class ec{constructor({id:A,enabled:e}){this.id=A,this.enabled=e,this.start=Date.now()}debug(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug(this.id,`${this.getTime()}ms`,...A):this.info(...A))}getTime(){return Date.now()-this.start}info(...A){this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info(this.id,`${this.getTime()}ms`,...A)}warn(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn(this.id,`${this.getTime()}ms`,...A):this.info(...A))}error(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error(this.id,`${this.getTime()}ms`,...A):this.info(...A))}}ec.instances={};class rp{constructor(A,e){if(this.context=A,this._options=e,this._cache=new Map,this._pendingOperations=new Map,this.maxSize=e.maxCacheSize??100,this.maxSize<1)throw new Error("Cache maxSize must be at least 1");this.maxSize>1e4&&this.context.logger.warn(`Cache maxSize ${this.maxSize} is very large and may cause memory issues. Consider using a smaller value (recommended: 100-1000).`)}addImage(A){const e=this._pendingOperations.get(A);if(e)return e;if(this.has(A)){const s=this._cache.get(A);return s&&(s.lastAccessed=Date.now()),Promise.resolve()}if(to(A)||ip(A)){const s=this._addImageInternal(A);return this._pendingOperations.set(A,s),s.finally(()=>{this._pendingOperations.delete(A)}),s}return Promise.resolve()}async _addImageInternal(A){const e=this._options.imageTimeout??15e3,s=new Promise((n,o)=>{setTimeout(()=>{o(new Error(`Image load timeout after ${e}ms: ${A}`))},e)}),r=Promise.race([this.loadImage(A),s]);r.catch(n=>{this.context.logger.error(`Failed to load image ${A}: ${n instanceof Error?n.message:"Unknown error"}`)}),this.set(A,r)}match(A){const e=this._cache.get(A);if(e)return e.lastAccessed=Date.now(),e.value}set(A,e){if(this._cache.has(A)){const s=this._cache.get(A);s.value=e,s.lastAccessed=Date.now();return}this._cache.size>=this.maxSize&&this.evictLRU(),this._cache.set(A,{value:e,lastAccessed:Date.now()})}evictLRU(){let A=null,e=1/0;for(const[s,r]of this._cache.entries())r.lastAccessed<e&&(e=r.lastAccessed,A=s);A&&(this._cache.delete(A),this.context.logger.debug(`Cache: Evicted LRU entry: ${A}`))}size(){return this._cache.size}getMaxSize(){return this.maxSize}clear(){this._cache.clear()}async loadImage(A){const e=this.context.originChecker,s=c=>e.isSameOrigin(c),r=typeof this._options.customIsSameOrigin=="function"?await this._options.customIsSameOrigin(A,s):s(A),n=!eo(A)&&this._options.useCORS===!0&&KA.SUPPORT_CORS_IMAGES&&!r,o=!eo(A)&&!r&&!to(A)&&typeof this._options.proxy=="string"&&KA.SUPPORT_CORS_XHR&&!n;if(!r&&this._options.allowTaint===!1&&!eo(A)&&!to(A)&&!o&&!n)return;let a=A;return o&&(a=await this.proxy(a)),this.context.logger.debug(`Added image ${A.substring(0,256)}`),await new Promise((c,g)=>{const l=new Image;l.onload=()=>c(l),l.onerror=g,(cp(a)||n)&&(l.crossOrigin="anonymous"),l.src=a,l.complete===!0&&setTimeout(()=>c(l),500),this._options.imageTimeout>0&&setTimeout(()=>g(`Timed out (${this._options.imageTimeout}ms) loading image`),this._options.imageTimeout)})}has(A){return this._cache.has(A)}keys(){return Promise.resolve(Object.keys(this._cache))}proxy(A){const e=this._options.proxy;if(!e)throw new Error("No proxy defined");const s=A.substring(0,256);return new Promise((r,n)=>{const o=KA.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;a.onload=()=>{if(a.status===200)if(o==="text")r(a.response);else{const g=new FileReader;g.addEventListener("load",()=>r(g.result),!1),g.addEventListener("error",l=>n(l),!1),g.readAsDataURL(a.response)}else n(`Failed to proxy resource ${s} with status code ${a.status}`)},a.onerror=n;const c=e.indexOf("?")>-1?"&":"?";if(a.open("GET",`${e}${c}url=${encodeURIComponent(A)}&responseType=${o}`),o!=="text"&&a instanceof XMLHttpRequest&&(a.responseType=o),this._options.imageTimeout){const g=this._options.imageTimeout;a.timeout=g,a.ontimeout=()=>n(`Timed out (${g}ms) proxying ${s}`)}a.send()})}}const np=/^data:image\/svg\+xml/i,op=/^data:image\/.*;base64,/i,ap=/^data:image\/.*/i,ip=t=>KA.SUPPORT_SVG_DRAWING||!lp(t),eo=t=>ap.test(t),cp=t=>op.test(t),to=t=>t.substr(0,4)==="blob",lp=t=>t.substr(-3).toLowerCase()==="svg"||np.test(t);class dp{constructor(A){if(!A||!A.document)throw new Error("Valid window object required for OriginChecker");if(!A.location||!A.location.href)throw new Error("Window object must have valid location");this.link=A.document.createElement("a"),this.origin=this.getOrigin(A.location.href)}getOrigin(A){return this.link.href=A,this.link.href=this.link.href,this.link.protocol+this.link.hostname+this.link.port}isSameOrigin(A){return this.getOrigin(A)===this.origin}getContextOrigin(){return this.origin}}class Cr{constructor(A,e,s){this.windowBounds=e,this.instanceName=`#${Cr.instanceCount++}`,this.config=s,this.logger=new ec({id:this.instanceName,enabled:A.logging}),this.originChecker=new dp(s.window),this.cache=A.cache??s.cache??new rp(this,A)}}Cr.instanceCount=1;class as{constructor(A={}){if(this.window=A.window||(typeof window<"u"?window:null),!this.window)throw new Error("Window object is required but not available");this.cspNonce=A.cspNonce,this.cache=A.cache}static fromElement(A,e={}){const s=A.ownerDocument;if(!s)throw new Error("Element is not attached to a document");const r=s.defaultView;if(!r)throw new Error("Document is not attached to a window");return new as({window:r,...e})}clone(A={}){return new as({window:A.window||this.window,cspNonce:A.cspNonce??this.cspNonce,cache:A.cache??this.cache})}}function Bp(t){console.warn("[html2canvas-pro] setDefaultConfig is deprecated. Pass configuration to html2canvas directly.")}class gp{constructor(A={}){this.config={maxImageTimeout:3e5,allowDataUrls:!0,...A}}validateUrl(A,e="general"){if(!A||typeof A!="string")return{valid:!1,error:"URL must be a non-empty string"};if(A.startsWith("data:"))return this.config.allowDataUrls?{valid:!0,sanitized:A}:{valid:!1,error:"Data URLs are not allowed"};if(A.startsWith("blob:"))return{valid:!0,sanitized:A};try{const s=new URL(A);if(!["http:","https:"].includes(s.protocol))return{valid:!1,error:`Protocol ${s.protocol} is not allowed. Only http and https are permitted.`};if(e==="proxy"&&this.config.allowedProxyDomains&&this.config.allowedProxyDomains.length>0){const r=s.hostname.toLowerCase();if(!this.config.allowedProxyDomains.some(o=>{const a=o.toLowerCase();return r===a||r.endsWith("."+a)}))return{valid:!1,error:`Proxy domain ${s.hostname} is not in the allowed list`}}if(e==="proxy"){if(!this.config.allowLocalhostProxy){const r=s.hostname.toLowerCase();if(r==="localhost"||r==="127.0.0.1"||r==="::1")return{valid:!1,error:"Localhost is not allowed for proxy URLs"};if(this.isPrivateIP(r))return{valid:!1,error:"Private IP addresses are not allowed for proxy URLs"};if(r.startsWith("169.254.")||r.startsWith("fe80:"))return{valid:!1,error:"Link-local addresses are not allowed for proxy URLs"}}return{valid:!0,sanitized:A,requiresRuntimeCheck:!0}}return{valid:!0,sanitized:A}}catch(s){return{valid:!1,error:`Invalid URL format: ${s instanceof Error?s.message:"Unknown error"}`}}}isPrivateIP(A){return[/^0\./,/^10\./,/^100\.(6[4-9]|[7-9][0-9]|1[0-1][0-9]|12[0-7])\./,/^127\./,/^169\.254\./,/^172\.(1[6-9]|2[0-9]|3[0-1])\./,/^192\.0\.0\./,/^192\.0\.2\./,/^192\.168\./,/^198\.(1[8-9])\./,/^198\.51\.100\./,/^203\.0\.113\./,/^2(2[4-9]|3[0-9])\./,/^24[0-9]\./,/^255\.255\.255\.255$/].some(s=>s.test(A))?!0:A.includes(":")?this.isPrivateIPv6(A):!1}isPrivateIPv6(A){const r=A.toLowerCase().trim().replace(/^\[|\]$/g,"").split("%")[0];if(/^(0:){7}1$/.test(r)||r==="::1"||/^(0:){7}0$/.test(r)||r==="::")return!0;const n=this.expandIPv6(r);if(!n)return this.isPrivateIPv6Prefix(r);const o=parseInt(n.substring(0,2),16);if(o>=252&&o<=253)return!0;if(o===254){const a=parseInt(n.substring(2,4),16);if(a>=128&&a<=191)return!0}return o===255}expandIPv6(A){try{if(A.includes("::")){const e=A.split("::");if(e.length>2)return null;const s=e[0]?e[0].split(":"):[],r=e[1]?e[1].split(":"):[],n=8-s.length-r.length;if(n<0)return null;const o=Array(n).fill("0000");return[...s,...o,...r].map(c=>c.padStart(4,"0")).join(":")}else{const e=A.split(":");return e.length!==8?null:e.map(s=>s.padStart(4,"0")).join(":")}}catch{return null}}isPrivateIPv6Prefix(A){return!!(/^fc[0-9a-f]{0,2}:?/i.test(A)||/^fd[0-9a-f]{0,2}:?/i.test(A)||/^fe[89ab][0-9a-f]:?/i.test(A)||/^ff[0-9a-f]{0,2}:?/i.test(A))}validateCspNonce(A){return!A||typeof A!="string"?{valid:!1,error:"CSP nonce must be a non-empty string"}:A.length<16?{valid:!1,error:"CSP nonce is too short (minimum 16 characters recommended)"}:/^[A-Za-z0-9+/=_-]+$/.test(A)?{valid:!0,sanitized:A}:{valid:!1,error:"CSP nonce contains invalid characters"}}validateImageTimeout(A){return typeof A!="number"||isNaN(A)?{valid:!1,error:"Image timeout must be a number"}:A<0?{valid:!1,error:"Image timeout cannot be negative"}:this.config.maxImageTimeout&&A>this.config.maxImageTimeout?{valid:!1,error:`Image timeout ${A}ms exceeds maximum allowed ${this.config.maxImageTimeout}ms`}:{valid:!0,sanitized:A}}validateDimensions(A,e){if(typeof A!="number"||typeof e!="number")return{valid:!1,error:"Dimensions must be numbers"};if(isNaN(A)||isNaN(e))return{valid:!1,error:"Dimensions cannot be NaN"};if(A<=0||e<=0)return{valid:!1,error:"Dimensions must be positive"};const s=32767;return A>s||e>s?{valid:!1,error:`Dimensions exceed maximum allowed (${s}px)`}:{valid:!0,sanitized:{width:A,height:e}}}validateScale(A){return typeof A!="number"||isNaN(A)?{valid:!1,error:"Scale must be a number"}:A<=0?{valid:!1,error:"Scale must be positive"}:A>10?{valid:!1,error:"Scale factor too large (maximum 10x)"}:{valid:!0,sanitized:A}}validateElement(A){return A?typeof A!="object"?{valid:!1,error:"Element must be an object"}:typeof HTMLElement<"u"&&A instanceof HTMLElement?A.ownerDocument?{valid:!0}:{valid:!1,error:"Element must be attached to a document"}:A.ownerDocument?A.ownerDocument.defaultView?{valid:!0}:{valid:!1,error:"Document must be attached to a window (ownerDocument.defaultView required)"}:{valid:!1,error:"Element must be attached to a document (ownerDocument required)"}:{valid:!1,error:"Element is required"}}validateOptions(A){const e=[],s=A.proxy;if(s!=null&&typeof s=="string"&&s.length>0){const r=this.validateUrl(s,"proxy");r.valid||e.push(`Proxy: ${r.error}`)}if(A.imageTimeout!==void 0){const r=this.validateImageTimeout(A.imageTimeout);r.valid||e.push(`Image timeout: ${r.error}`)}if(A.width!==void 0||A.height!==void 0){const r=A.width??800,n=A.height??600,o=this.validateDimensions(r,n);o.valid||e.push(`Dimensions: ${o.error}`)}if(A.scale!==void 0){const r=this.validateScale(A.scale);r.valid||e.push(`Scale: ${r.error}`)}if(A.cspNonce!==void 0){const r=this.validateCspNonce(A.cspNonce);r.valid||e.push(`CSP nonce: ${r.error}`)}if(this.config.customValidator){const r=this.config.customValidator(A,"options");r.valid||e.push(`Custom validation: ${r.error}`)}return e.length>0?{valid:!1,error:e.join("; ")}:{valid:!0}}}function up(t={}){return new gp({allowDataUrls:!0,maxImageTimeout:3e5,...t})}class fp{constructor(A,e=!0){this.context=A,this.activeMetrics=new Map,this.completedMetrics=[],this.enabled=e,this.getTime=typeof performance<"u"&&typeof performance.now=="function"?()=>performance.now():()=>Date.now()}start(A,e){this.enabled&&(this.activeMetrics.has(A)&&this.context?.logger.warn(`Performance metric '${A}' already started. Overwriting.`),this.activeMetrics.set(A,{name:A,startTime:this.getTime(),metadata:e}))}end(A){if(!this.enabled)return;const e=this.activeMetrics.get(A);if(!e){this.context?.logger.warn(`Performance metric '${A}' not found. Was start() called?`);return}return e.endTime=this.getTime(),e.duration=e.endTime-e.startTime,this.completedMetrics.push(e),this.activeMetrics.delete(A),this.context?.logger.debug(`⏱️ ${A}: ${e.duration.toFixed(2)}ms`,e.metadata),e}measure(A,e,s){this.start(A,s);try{const r=e();return this.end(A),r}catch(r){throw this.end(A),r}}async measureAsync(A,e,s){this.start(A,s);try{const r=await e();return this.end(A),r}catch(r){throw this.end(A),r}}getMetrics(){return[...this.completedMetrics]}getMetric(A){return this.completedMetrics.find(e=>e.name===A)}getSummary(){const A=this.completedMetrics.reduce((s,r)=>s+(r.duration||0),0),e=this.completedMetrics.map(s=>({name:s.name,duration:s.duration||0,percentage:A>0?((s.duration||0)/A*100).toFixed(1)+"%":"0%"}));return{totalDuration:A,metrics:this.getMetrics(),breakdown:e}}logSummary(){if(!this.enabled||this.completedMetrics.length===0||!this.context)return;const A=this.getSummary();this.context.logger.info(`
12
+ 📊 Performance Summary (Total: ${A.totalDuration.toFixed(2)}ms):`),A.breakdown.sort((e,s)=>s.duration-e.duration).forEach(e=>{this.context.logger.info(` ${e.name.padEnd(20)} ${e.duration.toFixed(2).padStart(8)}ms ${e.percentage.padStart(6)}`)})}clear(){this.activeMetrics.clear(),this.completedMetrics.splice(0)}isEnabled(){return this.enabled}getActiveMetrics(){return Array.from(this.activeMetrics.keys())}}const so=(t,A={},e)=>{const s=e||as.fromElement(t,{cspNonce:A.cspNonce,cache:A.cache});return wp(t,A,s)},hp=t=>{console.warn('[html2canvas-pro] setCspNonce is deprecated. Pass cspNonce in options instead: html2canvas(element, { cspNonce: "..." })'),typeof window<"u"&&Bp(new as({window,cspNonce:t}))};so.setCspNonce=hp;const pp=t=>{["scale","width","height","imageTimeout","x","y","windowWidth","windowHeight","scrollX","scrollY"].forEach(e=>{const s=t[e];if(s!=null&&typeof s!="number"){const r=Number(s);Number.isNaN(r)||(t[e]=r)}})},wp=async(t,A,e)=>{if(pp(A),!A.skipValidation){const yA=A.validator||up(),$=yA.validateElement(t);if(!$.valid)throw new Error($.error);const HA=yA.validateOptions(A);if(!HA.valid)throw new Error(`Invalid options: ${HA.error}`)}if(!t||typeof t!="object")throw new Error("Invalid element provided as first argument");const s=t.ownerDocument;if(!s)throw new Error("Element is not attached to a Document");const r=s.defaultView;if(!r)throw new Error("Document is not attached to a Window");const n={allowTaint:A.allowTaint??!1,imageTimeout:A.imageTimeout??15e3,proxy:A.proxy,useCORS:A.useCORS??!1,customIsSameOrigin:A.customIsSameOrigin},o={logging:A.logging??!0,cache:A.cache??e.cache,...n},a=800,c=600,g=0,l=r,B={windowWidth:A.windowWidth??l.innerWidth??a,windowHeight:A.windowHeight??l.innerHeight??c,scrollX:A.scrollX??l.pageXOffset??g,scrollY:A.scrollY??l.pageYOffset??g},f=new kA(B.scrollX,B.scrollY,B.windowWidth,B.windowHeight),h=new Cr(o,f,e),w=A.enablePerformanceMonitoring??A.logging??!1,C=new fp(h,w);C.start("total",{width:B.windowWidth,height:B.windowHeight});const F=A.foreignObjectRendering??!1,y={allowTaint:A.allowTaint??!1,onclone:A.onclone,ignoreElements:A.ignoreElements,iframeContainer:A.iframeContainer,inlineImages:F,copyStyles:F,cspNonce:A.cspNonce??e.cspNonce};h.logger.debug(`Starting document clone with size ${f.width}x${f.height} scrolled to ${-f.left},${-f.top}`),C.start("clone");const m=new Ni(h,t,y),T=m.clonedReferenceElement;if(!T)throw new Error("Unable to find element in cloned iframe");const H=await m.toIFrame(s,f);C.end("clone");const{width:I,height:K,left:_,top:W}=Pn(T)||ah(T)?bl(T.ownerDocument):ys(h,T),R=mp(h,T,A.backgroundColor),lA={canvas:A.canvas,backgroundColor:R,scale:A.scale??r.devicePixelRatio??1,x:(A.x??0)+_,y:(A.y??0)+W,width:A.width??Math.ceil(I),height:A.height??Math.ceil(K),imageSmoothing:A.imageSmoothing,imageSmoothingQuality:A.imageSmoothingQuality};let vA,N;try{return F?(h.logger.debug("Document cloned, using foreign object rendering"),C.start("render-foreignobject"),vA=await new tp(h,lA).render(T),C.end("render-foreignobject")):(h.logger.debug(`Document cloned, element located at ${_},${W} with size ${I}x${K} using computed rendering`),h.logger.debug("Starting DOM parsing"),C.start("parse"),N=Ii(h,T),C.end("parse"),R===N.styles.backgroundColor&&(N.styles.backgroundColor=we.TRANSPARENT),h.logger.debug(`Starting renderer for element at ${lA.x},${lA.y} with size ${lA.width}x${lA.height}`),C.start("render"),vA=await new Ao(h,lA).render(N),C.end("render")),C.start("cleanup"),(A.removeContainer??!0)&&(Ni.destroy(H)||h.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),C.end("cleanup"),C.end("total"),h.logger.debug("Finished rendering"),w&&C.logSummary(),vA}finally{N&&N.restoreTree()}},mp=(t,A,e)=>{const s=A.ownerDocument,r=s.documentElement?Bt(t,getComputedStyle(s.documentElement).backgroundColor):we.TRANSPARENT,n=s.body?Bt(t,getComputedStyle(s.body).backgroundColor):we.TRANSPARENT,o=typeof e=="string"?Bt(t,e):e===null?we.TRANSPARENT:4294967295;return A===s.documentElement?ke(r)?ke(n)?o:n:r:o},is=2147e6,tc=is,Ct=is,Cp=is-100,Qp=is-50,xp=is-150,Be="data-vg-pin-id",Up=()=>{const t=window.innerWidth;return t<768?"mobile":t<1024?"tablet":"desktop"},sc=(t,A)=>{if(!t)return"";try{const e=new Date(t);return isNaN(e.getTime())?"":new Intl.DateTimeFormat(A==="es"?"es-ES":"en-US",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1}).format(e)}catch{return""}},rc=({url:t,className:A,style:e,tooltipStyle:s,onHover:r})=>{const n=Q.useRef(null),o=()=>{if(!n.current||!r)return;const g=n.current.getBoundingClientRect(),l=g.top,B=window.innerHeight-g.bottom,f=l<140&&B>l?"bottom":"top";r({url:t,x:g.left+g.width/2,y:f==="top"?g.top:g.bottom,direction:f})},a=g=>g.toLowerCase().replace(/\/$/g,"").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g,"/:id"),c=()=>{try{const g=a(window.location.pathname),l=new URL(t),B=a(l.pathname);return g===B||g.startsWith(B)||B.startsWith(g)}catch{return!1}};return i.jsxs("div",{ref:n,className:`vg-url-tag ${A||""}`,style:{...e,opacity:c()?1:.6,borderColor:c()?"var(--vg-primary)":"#e2e8f0"},onMouseEnter:o,onMouseMove:o,onMouseLeave:()=>r?.(null),children:[i.jsx(Te,{"data-vg-id":"353251b6","data-source-path":"/src/components/ViewGateOverlay.tsx:149",size:e?.fontSize?parseInt(e.fontSize)+1:10}),i.jsx("span",{"data-vg-id":"1b724dd0","data-source-path":"/src/components/ViewGateOverlay.tsx:150",style:{maxWidth:e?.maxWidth||"150px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:new URL(t).pathname})]})},cs=t=>{const A=[],e=[],s=[];let r=t,n=!1;for(;r&&r.nodeType===Node.ELEMENT_NODE;){const o=r.localName.toLowerCase();let a=1,c=r.previousElementSibling;for(;c;)c.localName.toLowerCase()===o&&a++,c=c.previousElementSibling;const g=o==="body"||o==="head"||o==="html"?o:`${o}:nth-of-type(${a})`;if(s.unshift(g),!n){const l=r.getAttribute("data-testid")||r.getAttribute("data-qa");if(l){const B=r.hasAttribute("data-testid")?"data-testid":"data-qa";e.push(`[${B}="${l}"]`)}r.id&&!r.id.startsWith("vg-")&&!r.id.includes(":")?(A.unshift(`#${r.id}`),n=!0):l?(A.unshift(`[${r.hasAttribute("data-testid")?"data-testid":"data-qa"}="${l}"]`),n=!0):A.unshift(g)}if(r=r.parentElement,o==="html")break}return{selector:A.join(" > "),fallbacks:e,vgPath:s.join(" > ")}},nc=t=>{const{vgPath:A}=cs(t);return{vgPath:A,classHash:t.className,parentTag:t.parentElement?.tagName.toLowerCase(),neighborCount:t.parentElement?.children.length,ariaLabel:t.getAttribute("aria-label")||t.getAttribute("title")||void 0,role:t.getAttribute("role")||void 0,name:t.getAttribute("name")||void 0,type:t.getAttribute("type")||void 0,placeholder:t.getAttribute("placeholder")||void 0,testId:t.getAttribute("data-testid")||t.getAttribute("data-qa")||void 0,textSnippet:(t.innerText||"").slice(0,50).trim()}},Fp=(()=>{let t=null,A=null;return e=>{if(!e||typeof window>"u"||typeof document>"u")return e;if(e.includes("oklch")||e.includes("oklab")||e.includes("lab(")||e.includes("lch(")||e.includes("color("))try{if(t||(t=document.createElement("canvas"),t.width=1,t.height=1),A||(A=t.getContext("2d",{willReadFrequently:!0})),A){A.fillStyle="#000000",A.fillStyle=e;const n=A.fillStyle;if(n&&!n.includes("oklch")&&!n.includes("oklab"))return n}const s=document.createElement("div");s.style.color=e,document.body.appendChild(s);const r=getComputedStyle(s).color;return document.body.removeChild(s),r&&!r.includes("oklch")?r:"rgb(0,0,0)"}catch{return"rgb(0,0,0)"}return e}})(),yp=t=>{const A=window.getComputedStyle(t),e={};return["display","position","margin","padding","font-size","color","background-color","width","height","z-index"].forEach(r=>{const n=A.getPropertyValue(r);e[r]=Fp(n)}),e},Ep=t=>{const e=Object.keys(t).find(n=>n.startsWith("__reactFiber$")||n.startsWith("__reactInternalInstance$"));if(!e)return"";const s=[];let r=t[e];for(;r;){const n=r.type;if(typeof n=="function"){const o=n.displayName||n.name;o&&!o.includes("ViewGate")&&!s.includes(o)&&s.unshift(o)}r=r.return}return s.join(" > ")||"Generic Component"},Qr=t=>{if(!t||t.id==="viewgate-ui"||t.id==="viewgate-shadow-host"||t.closest("#viewgate-shadow-host"))return!1;if(t.getAttribute("role")==="dialog"||t.getAttribute("aria-modal")==="true"||t.classList.contains("modal")||t.classList.contains("modal-content"))return!0;const A=window.getComputedStyle(t),e=t.getBoundingClientRect(),s=t.getAttribute("role");if(s&&["listbox","menu","combobox","tooltip","option"].includes(s)||e.width<120&&e.height<120)return!1;const n=parseInt(A.zIndex)||0,o=A.position==="fixed"||A.position==="absolute",a=e.width>window.innerWidth*.4&&e.height>window.innerHeight*.4,c=Math.abs(e.left+e.width/2-window.innerWidth/2)<50,g=t.getAttribute("class")||"",l=g.toLowerCase().includes("modal")||g.toLowerCase().includes("dialog");return!!(o&&n>=100&&(a||c||l))},xr=t=>{let A=t;for(;A&&A!==document.body;){if(Qr(A))return A;A=A.parentElement}return null},ve=t=>{if(!t.isConnected)return!1;const A=window.getComputedStyle(t);if(A.display==="none"||A.visibility==="hidden"||A.opacity==="0")return t.tagName!=="BODY"&&t.tagName,!1;if(t.offsetWidth===0||t.offsetHeight===0)return!1;let e=t.parentElement;for(;e;){const r=window.getComputedStyle(e);if(r.display==="none"||r.visibility==="hidden"||r.opacity==="0")return!1;e=e.parentElement}const s=t.getBoundingClientRect();return!(s.width===0||s.height===0)},oc=(t,A=document)=>{const e=A.querySelector(t);if(e)return e;const s=A.querySelectorAll("*");for(const r of Array.from(s)){const n=r.shadowRoot;if(n){const o=oc(t,n);if(o)return o}}return null},ac=(t,A)=>{let e=document.elementFromPoint(t,A);for(;e&&e.shadowRoot;){const s=e.shadowRoot.elementFromPoint(t,A);if(!s||s===e)break;e=s}return e},bp=t=>{if(!t.tag)return null;const A=Array.from(document.getElementsByTagName(t.tag));let e=null,s=0;for(const r of A){if(!ls(r,t))continue;let n=0;const o=r.getAttribute("placeholder"),a=t.attributes?.placeholder||t.fingerprint?.placeholder;a&&o===a&&(n+=6);const c=r.getAttribute("type"),g=t.attributes?.type||t.fingerprint?.type;if(g&&c===g&&(n+=2),r.innerText?.trim()===t.text.trim()&&(n+=5),t.fingerprint?.vgPath){const{vgPath:l}=cs(r);(l===t.vgPath||t.fingerprint?.vgPath===l)&&(n+=10)}n>s&&n>=7&&(s=n,e=r)}return e},ls=(t,A)=>{if(t.tagName.toLowerCase()!==A.tag.toLowerCase())return!1;const e=t.getAttribute("placeholder"),s=A.attributes?.placeholder||A.fingerprint?.placeholder;if(s&&e&&s!==e)return!1;const r=t.getAttribute("type"),n=A.attributes?.type||A.fingerprint?.type;return!(n&&r&&n!==r)},ic=(t,A)=>{if(A){const o=Array.from(document.querySelectorAll(`[${Be}="${A}"]`));if(o.length>0){const a=o.filter(c=>ls(c,t));if(a.length===0)o.forEach(c=>c.removeAttribute(Be));else{const c=a.find(l=>{const{vgPath:B}=cs(l);return B===t.vgPath||t.fingerprint?.vgPath===B}),g=c&&ve(c)?c:a.find(l=>!(!ve(l)||t.metadata?.isModal&&!l.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')));return g?(o.forEach(l=>{l!==g&&l.removeAttribute(Be)}),g):null}}}if(t.vgPath)try{const o=document.querySelector(t.vgPath);if(o&&ls(o,t)&&ve(o)&&(!t.metadata?.isModal||xr(o)))return o}catch{}const s=(t.selector?Array.from(document.querySelectorAll(t.selector)):[]).filter(o=>ls(o,t));let r=s.find(o=>{const{vgPath:a}=cs(o);return a===t.vgPath||t.fingerprint?.vgPath===a})||s[0]||null;if(r&&ve(r))if(t.metadata?.isModal&&!xr(r))r=null;else return r;if(t.fallbackSelectors)for(const o of t.fallbackSelectors){const a=oc(o);if(a&&ls(a,t)&&ve(a)){if(t.metadata?.isModal&&!xr(a))continue;return a}}const n=bp(t);return n&&ve(n)?t.metadata?.isModal&&!xr(n)?null:n:null},ro=t=>({tag:t.tagName.toLowerCase(),text:(t.innerText||t.getAttribute("placeholder")||"").slice(0,50).trim(),role:t.getAttribute("role")||void 0,type:t.getAttribute("type")||void 0}),cc=t=>{if(!t)return"";let A=t.replace(/<path[^>]*d="([^"]{50,})"[^>]*\/?>/gi,(e,s)=>e.replace(s,`${s.substring(0,20)}...[STRIPPED_${s.length}]`));return A=A.replace(/<polygon[^>]*points="([^"]{50,})"[^>]*\/?>/gi,(e,s)=>e.replace(s,`${s.substring(0,20)}...[STRIPPED_${s.length}]`)),A},vp=t=>{const A=t.parentElement;if(!A)return;const e=Array.from(A.children).filter(o=>o!==t).slice(0,5).map(o=>ro(o)),s=Array.from(A.children),r=s.indexOf(t);let n="middle";return r===0&&(n="start"),r===s.length-1&&(n="end"),{target:{...ro(t),location:`${n} of ${A.tagName.toLowerCase()}`},parent:ro(A),siblings:e}},lc=(t,A)=>{const e=t.getAttribute("data-vg-id")||void 0;let s;const n=Object.keys(t).find(y=>y.startsWith("__reactFiber$")||y.startsWith("__reactInternalInstance$"));if(n){let y=t[n];for(;y;){if(y._debugSource){const{fileName:m,lineNumber:T,columnNumber:H}=y._debugSource;s=`${m}:${T}${H?":"+H:""}`;break}y=y.return}}const o=nc(t),a={vgId:e?1:0,fiber:s?.8:0,fingerprint:.5+(o.testId?.3:0)+(o.ariaLabel?.1:0)};let c=t.getAttribute("data-source-path")||s||"unknown:0";const g=Ep(t),{selector:l,fallbacks:B,vgPath:f}=cs(t),h={};["placeholder","aria-label","name","type","alt","title","value","role","data-testid"].forEach(y=>{const m=t.getAttribute(y);m&&(h[y]=m)});const w=(()=>{let y=t;for(;y&&y!==document.body;){if(Qr(y))return!0;y=y.parentElement}return!1})();let C;w&&A&&!A.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')&&(C=lc(A));const F=`${t.tagName.toLowerCase()}-${(t.innerText||"").slice(0,20).replace(/\s+/g,"_")}-${l.split(" > ").slice(-1)}`;return{tag:t.tagName.toLowerCase(),id:t.id||"",classes:t.className||"",text:(t.innerText||"").slice(0,100).trim(),selector:l,vgPath:f,vgId:e,outerHtml:cc(t.outerHTML),parentContext:t.parentElement?`<${t.parentElement.tagName.toLowerCase()} ${Array.from(t.parentElement.attributes).map(y=>`${y.name}="${y.value}"`).join(" ").slice(0,500)}>`:"N/A",componentPath:g,signature:F,source:c,attributes:h,confidence:a,fallbackSelectors:[...new Set(B)].slice(0,5),domPath:[],viewportSize:{width:window.innerWidth,height:window.innerHeight},uiContext:vp(t),fingerprint:nc(t),metadata:{hint:`Edit ${c.split(":")[0]} at line ${c.split(":")[1]||"?"}`,computedStyles:yp(t),viewportBreakpoint:Up(),outerHtml:cc(t.outerHTML).slice(0,2e3),scrollPosition:{x:window.scrollX,y:window.scrollY},isModal:w,triggerReference:C}}},dc=()=>{const{mutate:t}=Do(),{addToast:A,language:e,t:s,apiKey:r,baseUrl:n,dashboardUrl:o,disableViewGate:a,hasActiveToasts:c}=Po(),[g,l]=Q.useState(typeof window<"u"?window.location.pathname+window.location.search:"/"),B=Q.useMemo(()=>typeof window>"u"?!1:window.location.href.includes("viewgate-backlog"),[g]);Q.useEffect(()=>{const d=()=>l(window.location.pathname+window.location.search);window.addEventListener("popstate",d);const u=window.history.pushState,p=window.history.replaceState;return window.history.pushState=function(...x){u.apply(this,x),setTimeout(d,0)},window.history.replaceState=function(...x){p.apply(this,x),setTimeout(d,0)},()=>{window.removeEventListener("popstate",d),window.history.pushState=u,window.history.replaceState=p}},[]);const[f,h]=Q.useState(!1),[w,C]=Q.useState("medium"),[F,y]=Q.useState("medium"),[m,T]=Q.useState("all"),[H,I]=Q.useState(null),[K,_]=Q.useState(null),[W,R]=Q.useState(""),[lA,vA]=Q.useState(!1),[N,yA]=Q.useState([]),[$,HA]=Q.useState([{name:s.figmaPrimaryDesign,link:""}]),[X,JA]=Q.useState([]),[ie,_e]=Q.useState([]),[te,U]=Q.useState(!1),[k,z]=Q.useState(""),[q,YA]=Q.useState(!1),[He,AA]=Q.useState("down");Q.useRef(null);const[DA,ge]=Q.useState(!1),[MA,Ce]=Q.useState(!1),[PA,Qt]=Q.useState([]),[IA,et]=Q.useState(null),[xt,eA]=Q.useState(""),[fA,hA]=Q.useState(!1),[dA,se]=Q.useState({}),[aA,BA]=Q.useState(null),[VA,Pe]=Q.useState(!1),[ZA,ds]=Q.useState(null),[oo,re]=Q.useState([]),[tA,Ut]=Q.useState(()=>typeof window>"u"?null:sessionStorage.getItem("vg_token")),[SA,Ft]=Q.useState(()=>{if(typeof window>"u")return null;const d=sessionStorage.getItem("vg_user");return d?JSON.parse(d):null}),[Bs,Bc]=Q.useState(()=>typeof window>"u"?null:sessionStorage.getItem("vg_role")),[fw,hw]=Q.useState(!1),[gs,Lp]=Q.useState(!1),[Ur,Tp]=Q.useState(!1),[gc,Op]=Q.useState(!1),[Fr,ao]=Q.useState(!0),uc=()=>{const p=window.screenX+(window.outerWidth-500)/2,x=window.screenY+(window.outerHeight-600)/2,E=`${o}/login?redirectTo=auth-success&origin=${encodeURIComponent(window.location.origin)}`;window.open(E,"viewgate-login",`width=500,height=600,left=${p},top=${x}`)};Q.useEffect(()=>{const d=u=>{if(u.data?.type?.startsWith("VIEWGATE_")&&console.log("[VIEWGATE_WRAPPER] Received message:",u.data.type,u.data),u.data?.type==="VIEWGATE_AUTH_SUCCESS"||u.data?.type==="VIEWGATE_SILENT_AUTH"){const{token:p,user:x,role:E,error:D}=u.data;if(console.log("[VIEWGATE_WRAPPER] Auth process:",{type:u.data.type,hasToken:!!p,hasUser:!!x}),D==="NO_SESSION")return;if(p&&p!==sessionStorage.getItem("vg_token")||!p&&sessionStorage.getItem("vg_token")){console.log("[VIEWGATE_WRAPPER] Session sync detected change, clearing caches");const O=n;t(L=>typeof L=="string"&&O&&L.startsWith(O),void 0,{revalidate:!0}),Qt([])}p?(Ut(p),sessionStorage.setItem("vg_token",p),x&&(Ft(x),Bc(E||x.role||"dev"),sessionStorage.setItem("vg_user",JSON.stringify(x)),(E||x.role)&&sessionStorage.setItem("vg_role",E||x.role)),u.data.type==="VIEWGATE_AUTH_SUCCESS"&&A(e==="es"?"Sesión iniciada correctamente":"Logged in successfully","success")):console.warn("[VIEWGATE_WRAPPER] Auth message received but token was missing")}if(u.data?.type==="VIEWGATE_LOGOUT"){if(console.log("[VIEWGATE_WRAPPER] Logout message received"),sessionStorage.getItem("vg_token")){console.log("[VIEWGATE_WRAPPER] Protective logout: Ignoring logout since we have a valid manual session.");return}console.log("[VIEWGATE_WRAPPER] Logout confirmed"),Ut(null),Ft(null),Bc(null),ao(!1),sessionStorage.removeItem("vg_token"),sessionStorage.removeItem("vg_user"),sessionStorage.removeItem("vg_role");const x=n;t(E=>typeof E=="string"&&x&&E.startsWith(x),void 0,{revalidate:!1}),Qt([]),ds(null),h(!1),_(null),R(""),Ce(!1)}};return window.addEventListener("message",d),()=>window.removeEventListener("message",d)},[e,A]);const fc=Q.useCallback(()=>{if(!r||!n||Ur)return;const d={"x-api-key":r};tA&&(d.Authorization=`Bearer ${tA}`),fetch(`${n}/api/projects/settings-check`,{headers:d}).then(u=>u.json()).then(u=>{typeof u.isFigmaConnected=="boolean"&&U(u.isFigmaConnected),typeof u.hasEndpoints=="boolean"&&Op(u.hasEndpoints),Tp(!0)}).catch(u=>console.error("Failed to fetch project settings-check",u))},[r,n,Ur]),yr=Q.useCallback(()=>{if(!r||!n||gs)return;const d={"x-api-key":r};tA&&(d.Authorization=`Bearer ${tA}`),fetch(`${n}/api/projects/endpoints`,{headers:d}).then(u=>u.json()).then(u=>{u.endpoints&&Array.isArray(u.endpoints)?_e(u.endpoints):Array.isArray(u)&&_e(u),typeof u.isFigmaConnected=="boolean"&&U(u.isFigmaConnected),Lp(!0)}).catch(u=>console.error("Failed to fetch project endpoints",u))},[r,n,gs]);Q.useEffect(()=>{f&&(Ur||fc())},[f,Ur,fc]),Q.useEffect(()=>{q&&!gs&&yr()},[q,gs,yr]),Q.useEffect(()=>{if(N.length===0)return;const d=["frontend"];gc&&d.push("backend"),te&&d.push("ux");const u=N.filter(p=>d.includes(p));u.length!==N.length&&yA(u)},[ie.length,te,N]);const hc=Q.useCallback(async d=>{const u={"x-api-key":r};tA&&(u.Authorization=`Bearer ${tA}`);const p=await fetch(d,{headers:u});if(!p.ok){p.status===403&&ao(!1);const x=await p.json().catch(()=>({})),E=new Error(x.message||x.error||"Fetch failed");throw E.status=p.status,E}return ao(!0),p.json()},[r,tA]),Kp=Q.useMemo(()=>B?"backlog":"pending,todo,in_progress,review,ready_for_review,bug_fixing",[B]),{data:Er,isLoading:br,error:pc}=ko(r?`${n}/api/projects/active-sprint`:null,hc,{revalidateOnFocus:!0,revalidateOnMount:!0,dedupingInterval:6e4}),{data:us,isLoading:tt,mutate:vr}=ko(r&&(Er||B)?`${n}/api/annotations?status=${Kp}`:null,hc,{refreshInterval:3e4,revalidateOnFocus:!0,dedupingInterval:5e3}),[st,wc]=Q.useState(null),mc=Q.useRef(PA);mc.current=PA;const[NA,Hr]=Q.useState(null),Cc=Q.useRef(null),[yt,Dp]=Q.useState([]),Qc=Q.useMemo(()=>{const d=(k||"").toLowerCase().trim();return d?ie.filter(u=>{const p=u.path&&u.path.toLowerCase().includes(d),x=u.description&&u.description.toLowerCase().includes(d),E=u.method&&u.method.toLowerCase().includes(d);return p||x||E}):ie},[ie,k]),xc=Q.useMemo(()=>{const d={},u=e==="es"?"Seleccionados":"Selected";return Qc.forEach(p=>{const x=`${p.method}|${p.path}`;X.includes(x)&&(d[u]||(d[u]={name:u,endpoints:[]}),d[u].endpoints.push(p));const D=(p.path||"").split("/").filter(gA=>gA&&!["api","v1.0","v2","rest"].includes(gA.toLowerCase()));let O=D.length>0?D[0]:"General";O=O.replace(/([a-z])([A-Z])/g,"$1 $2"),O=O.replace(/([A-Z])([A-Z][a-z])/g,"$1 $2"),O=O.charAt(0).toUpperCase()+O.slice(1),d[O]||(d[O]={name:O,endpoints:[]});const L=d[O];L&&L.endpoints.push(p)}),Object.values(d).sort((p,x)=>p.name===u?-1:x.name===u||p.name==="General"?1:x.name==="General"?-1:p.name.localeCompare(x.name))},[Qc,X,e]),Ir=Q.useMemo(()=>{let d=Array.isArray(PA)?PA:[];if(aA){const p=yt.find(x=>x.annotations&&Array.isArray(x.annotations)&&x.annotations.some(E=>E._id===aA));p?d=p.annotations:d=d.filter(x=>x._id===aA)}return d=d.filter(p=>p.status!=="completed"&&p.status!=="done"),window.location.href.includes("viewgate-backlog")||(NA==="pending"?d=d.filter(p=>p.status!=="ready_for_review"):NA==="ready"&&(d=d.filter(p=>p.status==="ready_for_review"))),m!=="all"&&(d=d.filter(p=>(p.priority||"medium")===m)),d},[aA,PA,yt,NA,m]);Q.useEffect(()=>{aA&&Ir.length===0&&!tt&&BA(null)},[aA,Ir.length,tt]);const[Et,Rp]=Q.useState(()=>{if(typeof window>"u")return{bottom:30,right:30};const d=localStorage.getItem("vg-bar-pos");return d?JSON.parse(d):{bottom:30,right:30}}),[fs,Uc]=Q.useState(!1),Ie=Q.useRef(null),kp=d=>{d.preventDefault(),d.stopPropagation();const u=d.currentTarget.parentElement?.getBoundingClientRect();u&&(Uc(!0),Ie.current={x:d.clientX,y:d.clientY,bottom:Et.bottom,right:Et.right,width:u.width,height:u.height})};Q.useEffect(()=>{if(!fs)return;const d=p=>{if(fs&&Ie.current){const x=p.clientX-Ie.current.x,E=p.clientY-Ie.current.y;let D=Ie.current.bottom-E,O=Ie.current.right-x;const L=10;D=Math.max(L,Math.min(window.innerHeight-Ie.current.height-L,D)),O=Math.max(L,Math.min(window.innerWidth-Ie.current.width-L,O)),Rp({bottom:D,right:O})}},u=()=>{fs&&(Uc(!1),localStorage.setItem("vg-bar-pos",JSON.stringify(Et)),Ie.current=null)};return window.addEventListener("mousemove",d),window.addEventListener("mouseup",u),()=>{window.removeEventListener("mousemove",d),window.removeEventListener("mouseup",u)}},[fs,Et]);const[bt,Sr]=Q.useState(null),[Fc,yc]=Q.useState(""),[Qe,io]=Q.useState([]),[rt,hs]=Q.useState([]),[vt,Lr]=Q.useState([]),[ps,Tr]=Q.useState(!1);Q.useEffect(()=>{bt&&Lr(X)},[X,bt]);const[pw,ww]=Q.useState({}),co=Q.useRef(null),Ht=Q.useRef(null),lo=Q.useRef(null),Or=Q.useRef(!1),Ec=Q.useCallback(()=>{typeof window>"u"||Or.current||(Ht.current&&cancelAnimationFrame(Ht.current),Ht.current=requestAnimationFrame(()=>{Ht.current=null,Or.current=!0,lo.current;const d=mc.current,u=Array.isArray(d)?d:[],p=new Set(u.map(M=>M._id));document.querySelectorAll(`[${Be}]`).forEach(M=>{const pA=M.getAttribute(Be);pA&&!p.has(pA)&&M.removeAttribute(Be)});const x=Array.from(document.querySelectorAll('[role="dialog"], [aria-modal="true"], [class*="modal" i], [class*="dialog" i], .fixed, .modal-backdrop, .fixed.inset-0')),E=x.find(M=>Qr(M)&&ve(M));let D=!!E;console.log("[ViewGate Debug] Modal Detection:",{potentialModals:x.length,activeModal:E,isAnyModalOpen:D});const O=new Map;u.forEach(M=>{if(!M||!M.reference)return;try{const bA=()=>{const Y=window.location.pathname.toLowerCase().replace(/\/$/g,"").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g,"/:id"),_A=new URLSearchParams(window.location.search);_A.delete("viewgate"),_A.sort();const jA=_A.toString();return jA?`${Y}?${jA}`:Y},xA=Y=>{try{const _A=new URL(Y),jA=_A.pathname.toLowerCase().replace(/\/$/g,"").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g,"/:id"),wA=new URLSearchParams(_A.search);wA.delete("viewgate"),wA.sort();const TA=wA.toString();return TA?`${jA}?${TA}`:jA}catch{return""}},LA=bA(),Se=xA(M.url);if(LA!==Se)return}catch{return}const pA=!!M.reference.metadata?.isModal;let sA=ic(M.reference,M._id);if(console.log(`[ViewGate Debug] Processing Pin [${M._id}]:`,{isModalTarget:pA,targetEl:sA,isVisible:sA?ve(sA):!1}),!sA||!ve(sA))return;let nA=!1;if(pA?(nA=!0,D=!0,console.log(`[ViewGate Debug] Pin [${M._id}] Modal Open Check: isModalTarget=true`)):(nA=!D,console.log(`[ViewGate Debug] Pin [${M._id}] No Modal Check: !isAnyModalOpen=${nA}`)),!nA)return;const QA=sA.getAttribute(Be);QA!==M._id&&(document.querySelectorAll(`[${Be}="${M._id}"]`).forEach(bA=>{bA.removeAttribute(Be)}),QA||sA.setAttribute(Be,M._id));const EA=O;EA.has(sA)||EA.set(sA,{anns:[]}),EA.get(sA).anns.push(M)});const L=[];(M=>{M.forEach((pA,sA)=>{const{anns:nA}=pA,QA=sA.getBoundingClientRect(),EA=QA.left+QA.width/2,bA=QA.top+QA.height/2;if(EA>=0&&EA<=window.innerWidth&&bA>=0&&bA<=window.innerHeight){const xA=document.elementFromPoint(EA,bA),LA=document.getElementById("viewgate-shadow-host");if(xA&&!sA.contains(xA)&&xA!==LA&&!LA?.contains(xA))return}L.push({id:nA[0]._id,element:sA,rect:QA,annotations:nA.sort((xA,LA)=>new Date(LA.timestamp||LA.createdAt).getTime()-new Date(xA.timestamp||xA.createdAt).getTime()),isModal:!!nA[0].reference?.metadata?.isModal})})})(O),Dp(L),Or.current=!1}))},[ZA]);Q.useEffect(()=>{if(us){const d=Array.isArray(us)?us:us?.data||[];if(Array.isArray(d)){const u=d.reduce((p,x)=>p.find(D=>D._id===x._id)?p:p.concat([x]),[]);Qt(u)}}else tt||Qt([])},[us,tt]),Q.useEffect(()=>{ds(Er||null)},[Er]),Q.useEffect(()=>{MA&&PA.length===0&&!tt&&Ce(!1)},[MA,PA.length,tt]),Q.useEffect(()=>{let d=null;const u=()=>{Or.current||Ec()},p=new MutationObserver(D=>{D.some(L=>L.type!=="attributes"||L.attributeName!==Be&&!L.target.parentElement?.closest("#viewgate-shadow-host"))&&(d&&clearTimeout(d),d=setTimeout(()=>{u(),setTimeout(u,350)},32))});lo.current=p;const x=new ResizeObserver(()=>u()),E=()=>u();return u(),p.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}),x.observe(document.documentElement),window.addEventListener("scroll",E,{capture:!0,passive:!0}),()=>{d&&clearTimeout(d),p.disconnect(),x.disconnect(),window.removeEventListener("scroll",E,!0),Ht.current&&cancelAnimationFrame(Ht.current),lo.current=null}},[f,PA,Ec,MA,aA,g]);const Bo=Q.useCallback(d=>{let u=d;for(;u&&u!==document.body;){if(Qr(u))return u;u=u.parentElement}return null},[]);Q.useEffect(()=>{const d=u=>{const p=u.target;p&&(Bo(p)||(Cc.current=p))};return window.addEventListener("mousedown",d,!0),()=>window.removeEventListener("mousedown",d,!0)},[Bo]),Q.useEffect(()=>{co.current=document.getElementById("viewgate-shadow-host")},[]);const go=Q.useCallback(d=>{if(!f||K)return;const u=ac(d.clientX,d.clientY);if(!u||co.current?.contains(u)||u.closest(".vg-no-capture")){I(null);return}const p=u.getBoundingClientRect();I({tag:u.tagName.toLowerCase(),source:u.getAttribute("data-source-path")||"unknown:0",rect:p,element:u,previewText:(u.innerText||"").slice(0,100)||(u.getAttribute("placeholder")||"").slice(0,100)||u.tagName.toLowerCase(),semanticReference:{...lc(u,Cc.current),normalizedOffset:{x:(d.clientX-p.left)/p.width,y:(d.clientY-p.top)/p.height}}})},[f,K]),uo=Q.useCallback(async d=>{if(!f||K)return;const u=ac(d.clientX,d.clientY);if(!(!u||co.current?.contains(u)||u.closest(".vg-no-capture"))&&H){const p=H;let x=p.element;Bo(x);let E=p.semanticReference,D=p.tag;d.preventDefault(),d.stopPropagation(),ge(!0);try{await new Promise(Y=>requestAnimationFrame(Y)),await new Promise(Y=>setTimeout(Y,80));const O=x.getBoundingClientRect(),L=document.documentElement,gA=window.devicePixelRatio||1,M=Math.max(gA,3),pA=Array.from(L.querySelectorAll("img"));await Promise.all(pA.map(Y=>{const _A=Y.getBoundingClientRect();return _A.bottom>-200&&_A.top<window.innerHeight+200&&(Y.loading==="lazy"&&(Y.loading="eager"),!Y.complete)?new Promise(jA=>{Y.onload=jA,Y.onerror=jA}):Promise.resolve()})).catch(()=>{});const sA=window.scrollX||window.pageXOffset,nA=window.scrollY||window.pageYOffset,QA=O.left,EA=O.top,bA=await so(L,{scale:M,useCORS:!0,logging:!1,backgroundColor:null,allowTaint:!0,imageTimeout:2e4,x:sA,y:nA,width:window.innerWidth,height:window.innerHeight,windowWidth:document.documentElement.scrollWidth,windowHeight:document.documentElement.scrollHeight,onclone:Y=>{const _A=[];document.querySelectorAll("*").forEach((wA,TA)=>{const v=wA;if(v.shadowRoot){const $A=`sh-${TA}`;v.setAttribute("data-vg-capture-id",$A),_A.push({original:v,id:$A})}}),_A.forEach(({original:wA,id:TA})=>{const v=Y.querySelector(`[data-vg-capture-id="${TA}"]`);if(v&&wA.shadowRoot)try{const $A=wA.shadowRoot.cloneNode(!0);v.innerHTML="",Array.from($A.childNodes).forEach(Kr=>{v.appendChild(Y.importNode(Kr,!0))})}catch($A){console.warn("[ViewGate] Shadow DOM flatting failed",$A)}}),Y.querySelectorAll('input[type="password"]').forEach(wA=>{wA.value="••••••••"}),Y.querySelectorAll("[data-vg-mask]").forEach(wA=>{const TA=wA;TA.style.filter="blur(10px) grayscale(1)",TA.style.opacity="0.7",["INPUT","TEXTAREA"].includes(TA.tagName)||(TA.innerText="• REDACTED •")});const jA=Y.getElementById("viewgate-shadow-host");jA&&(jA.style.display="none"),Y.querySelectorAll(".vg-selection-overlay").forEach(wA=>{wA.style.display="none"}),document.querySelectorAll("[data-vg-capture-id]").forEach(wA=>wA.removeAttribute("data-vg-capture-id"))},ignoreElements:Y=>Y.id==="viewgate-shadow-host"||Y.classList.contains("vg-no-capture")||Y.classList.contains("vg-selection-overlay")}),xA=document.createElement("canvas"),LA=xA.getContext("2d"),Se=24;if(xA.width=(O.width+Se*2)*M,xA.height=(O.height+Se*2)*M,LA){LA.imageSmoothingEnabled=!0,LA.imageSmoothingQuality="high";const Y=(QA-Se)*M,_A=(EA-Se)*M;LA.drawImage(bA,-Y,-_A,bA.width,bA.height),xA.toBlob(async jA=>{const wA={...p,element:x,rect:x.getBoundingClientRect(),semanticReference:E,tag:D};if(jA){const TA=new FileReader;TA.onloadend=()=>{_({...wA,visualPreview:TA.result})},TA.readAsDataURL(jA)}else _(wA)},"image/webp",.98)}}catch(O){console.error("[ViewGate] Capture Error:",O),_(H)}finally{ge(!1),I(null)}}},[f,H,K]);Q.useEffect(()=>{const d=u=>{const x=(()=>{let O=document.activeElement;for(;O&&O.shadowRoot&&O.shadowRoot.activeElement;)O=O.shadowRoot.activeElement;return O})();if(["input","textarea"].includes((x?.tagName||"").toLowerCase())||x?.isContentEditable)return;const D=u.key.toLowerCase();if(!tA){(D==="c"||D==="v")&&A(e==="es"?"Debes iniciar sesión en el Dashboard para usar ViewGate":"Log in to the Dashboard to use ViewGate","warning");return}if(u.key==="Escape"){K?_(null):MA?Ce(!1):f&&h(!1);return}if(D==="c"&&!u.ctrlKey&&!u.metaKey&&!K&&!MA){if(!Fr){A(e==="es"?"Acceso denegado a este proyecto":"No project access","error");return}if(Bs==="client"){A(e==="es"?"Acceso de solo lectura (Backlog)":"Read-only access (Backlog)","warning");return}if(br&&!f){if(pc?.status===403||!Fr){const gA=pc?.message||(e==="es"?"Acceso denegado a este proyecto":"No project access");A(gA,"error");return}A(e==="es"?"Verificando información del sprint...":"Checking sprint info...","warning");return}if(!(ZA&&ZA.status!=="closed")&&!B&&!f){A(e==="es"?"No hay un sprint activo. No se pueden generar comentarios.":"No active sprint found. Cannot generate comments.","error");return}h(L=>!L)}if(D==="v"&&!K){if(!Fr){A(e==="es"?"Acceso denegado a este proyecto":"No project access","error");return}(PA.length>0||MA)&&(Ce(O=>!O),MA||h(!1))}};return f&&!K?document.body.classList.add("vg-cursor-pointer"):document.body.classList.remove("vg-cursor-pointer"),window.addEventListener("keydown",d),window.addEventListener("mousemove",go,!0),window.addEventListener("click",uo,!0),()=>{document.body.classList.remove("vg-cursor-pointer"),window.removeEventListener("keydown",d),window.removeEventListener("mousemove",go,!0),window.removeEventListener("click",uo,!0)}},[f,K,MA,PA,go,uo,tA,Bs]);const Gp=async()=>{if(!K||!W.trim())return;if(N.includes("backend")&&X.length===0){A(e==="es"?"Selecciona al menos un endpoint de backend":"Select at least one backend endpoint","error");return}if(N.includes("ux")&&$.some(O=>!O.name.trim()||!O.link.trim())){A(e==="es"?"Todos los diseños de Figma deben tener nombre y link":"All Figma designs must have a name and link","error");return}if(!SA){A(e==="es"?"Selecciona un usuario para comentar":"Please select a user to comment","error");return}vA(!0);const{semanticReference:d}=K,[u,p]=(d.source||"").split(":"),E={filePath:u,line:parseInt(p||"0"),url:window.location.href,title:W.length>50?W.substring(0,50)+"...":W,message:W,status:B?"backlog":"pending",priority:w,type:K.visualPreview&&!B&&Er?.status==="active"?"bug":"task",screenshot:K.visualPreview,componentName:d.componentPath||K.tag,reference:{...d,viewport:{width:window.innerWidth,height:window.innerHeight},timestamp:new Date().toISOString()},focusAreas:N,figmaReference:N.includes("ux")?$:void 0,backendEndpoints:N.includes("backend")?X:[]};SA&&(E.creator={name:SA.name,email:SA.email,avatar:SA.avatar});try{const D=await fetch(`${n}/api/annotations`,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":r,Authorization:tA?`Bearer ${tA}`:""},body:JSON.stringify(E)});if(!D.ok){const O=await D.json().catch(()=>({}));throw new Error(O.message||O.error||"Backend failed")}A(s.success,"success"),_(null),R(""),yA([]),HA([{name:s.figmaPrimaryDesign,link:""}]),JA([]),h(!1),vr()}catch(D){console.error(D);const O=D.message&&D.message!=="Backend failed"?D.message:s.error;A(O,"error")}finally{vA(!1)}},Mp=async d=>{ge(!0);try{const u=ic(d.reference,d._id);if(!u){A(e==="es"?"No se pudo encontrar el elemento original para la captura":"Could not find the original element for capture","error"),ge(!1);return}u.scrollIntoView({behavior:"smooth",block:"center"}),await new Promise(nA=>setTimeout(nA,600));const p=u.style.outline,x=u.style.transition;u.style.transition="outline 0.3s ease",u.style.outline="4px solid #10b981",u.style.outlineOffset="4px",await new Promise(nA=>setTimeout(nA,400)),u.style.outline=p,u.style.transition=x,await new Promise(nA=>requestAnimationFrame(nA)),await new Promise(nA=>setTimeout(nA,50));const E=u.getBoundingClientRect(),D=document.documentElement,O=window.devicePixelRatio||1,L=Math.max(O,3),gA=await so(D,{scale:L,useCORS:!0,logging:!1,backgroundColor:null,allowTaint:!0,imageTimeout:2e4,x:window.scrollX,y:window.scrollY,width:window.innerWidth,height:window.innerHeight,windowWidth:document.documentElement.scrollWidth,windowHeight:document.documentElement.scrollHeight,onclone:nA=>{const QA=nA.getElementById("viewgate-shadow-host");QA&&(QA.style.display="none"),nA.querySelectorAll(".vg-selection-overlay, .vg-formal-pin").forEach(EA=>{EA.style.display="none"})}}),M=document.createElement("canvas"),pA=M.getContext("2d"),sA=32;if(M.width=(E.width+sA*2)*L,M.height=(E.height+sA*2)*L,pA){pA.imageSmoothingEnabled=!0,pA.imageSmoothingQuality="high";const nA=(E.left-sA)*L,QA=(E.top-sA)*L;pA.drawImage(gA,-nA,-QA,gA.width,gA.height);const EA=M.toDataURL("image/webp",.95),bA=await fetch(`${n}/api/tickets/${d._id}`,{method:"PATCH",headers:{"Content-Type":"application/json",Authorization:tA?`Bearer ${tA}`:""},body:JSON.stringify({status:"completed",resolvedScreenshot:EA})});if(!bA.ok){const xA=await bA.json().catch(()=>({}));throw new Error(xA.message||xA.error||"API failed")}A(e==="es"?"¡Ticket resuelto con éxito!":"Ticket resolved successfully!","success"),vr()}u.style.outline=p,u.style.transition=x}catch(u){console.error("[ViewGate] Resolve with evidence failed:",u),A(e==="es"?`Error: ${u.message}`:`Error: ${u.message}`,"error")}finally{ge(!1)}};return i.jsx("div",{"data-vg-id":"ef883ffc","data-source-path":"/src/components/ViewGateOverlay.tsx:2202",className:"vg-container",children:i.jsxs("div",{"data-vg-id":"ef883ffd","data-source-path":"/src/components/ViewGateOverlay.tsx:2203",className:"vg-no-capture",children:[i.jsxs("div",{style:{position:"fixed",bottom:`${Et.bottom}px`,right:`${Et.right}px`,zIndex:tc,display:"flex",alignItems:"center",gap:"8px",transition:fs?"none":"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},id:"viewgate-ui",children:[i.jsx("div",{onMouseDown:kp,style:{width:"24px",height:"40px",borderRadius:"10px",backgroundColor:"rgba(255, 255, 255, 0.85)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"grab",color:"#1e293b",opacity:f?0:1,visibility:f?"hidden":"visible",transition:"all 0.2s",border:"1px solid rgba(0,0,0,0.1)",boxShadow:"0 2px 8px rgba(0,0,0,0.05)"},onMouseEnter:d=>{d.currentTarget.style.backgroundColor="white",d.currentTarget.style.color="#000000"},onMouseLeave:d=>{d.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.85)",d.currentTarget.style.color="#1e293b"},className:"vg-animate-slide-up",children:i.jsx(pl,{"data-vg-id":"3dbe6a11","data-source-path":"/src/components/ViewGateOverlay.tsx:2250",size:16})}),i.jsxs("div",{"data-vg-id":"ef883fff","data-source-path":"/src/components/ViewGateOverlay.tsx:2253",className:"vg-action-bar vg-animate-slide-up",style:{transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:[tA?Fr?i.jsxs(i.Fragment,{children:[Bs!=="client"&&i.jsx("button",{onClick:()=>{if(br&&!f){A(e==="es"?"Sincronizando con el servidor...":"Syncing with server...","warning");return}if(!ZA&&!B&&!f){A(e==="es"?"No hay un sprint activo. No se pueden generar comentarios.":"No active sprint found. Cannot generate comments.","error");return}h(!f)},className:"vg-button-primary vg-animate-pop",style:{padding:"12px 24px",background:f?"#ef4444":!ZA&&!B?"#94a3b8":void 0,cursor:!ZA&&!B&&!f?"not-allowed":"pointer",opacity:!ZA&&!B&&!f?.7:1},title:!ZA&&!B&&!f?e==="es"?"Requiere sprint activo":"Requires active sprint":"",children:i.jsxs("div",{"data-vg-id":"ef884001","data-source-path":"/src/components/ViewGateOverlay.tsx:2292",style:{display:"flex",alignItems:"center",gap:"10px"},children:[br&&!f?i.jsx(tn,{"data-vg-id":"edca6150","data-source-path":"/src/components/ViewGateOverlay.tsx:2294",size:20,className:"vg-animate-spin"}):f?i.jsx(Kt,{"data-vg-id":"ff5f5cf","data-source-path":"/src/components/ViewGateOverlay.tsx:2296",size:20,className:"vg-animate-pop"}):i.jsx(Us,{"data-vg-id":"10c621c4","data-source-path":"/src/components/ViewGateOverlay.tsx:2298",size:20,className:"vg-animate-pop"}),i.jsx("span",{"data-vg-id":"52d76c43","data-source-path":"/src/components/ViewGateOverlay.tsx:2300",children:br&&!f?e==="es"?"Cargando...":"Loading...":f?s.exitMode:s.enterMode})]})}),PA.length>0&&i.jsxs("button",{onClick:()=>{Ce(!MA),h(!1),_(null)},className:"vg-button-ghost vg-animate-pop",style:{animationDelay:"0.1s"},children:[i.jsx(hl,{"data-vg-id":"cd7341f9","data-source-path":"/src/components/ViewGateOverlay.tsx:2318",size:20}),i.jsx("span",{"data-vg-id":"52d76c45","data-source-path":"/src/components/ViewGateOverlay.tsx:2319",children:s.viewComments})]})]}):i.jsx("div",{"data-vg-id":"ef884000","data-source-path":"/src/components/ViewGateOverlay.tsx:2256",style:{padding:"8px 16px",background:"#fee2e2",color:"#b91c1c",borderRadius:"20px",fontSize:"12px",fontWeight:600,border:"1px solid #fecaca",whiteSpace:"nowrap"},children:e==="es"?"Acceso denegado a este proyecto":"No project access"}):i.jsxs("button",{onClick:uc,className:"vg-button-primary vg-animate-pop",style:{padding:"12px 24px",backgroundColor:"#1E293B",backgroundImage:"linear-gradient(135deg, #1e293b 0%, #334155 100%)",boxShadow:"0 4px 12px rgba(0,0,0,0.15)",border:"1px solid rgba(255,255,255,0.1)",display:"flex",alignItems:"center",gap:"10px"},children:[i.jsx("img",{"data-vg-id":"a398709","data-source-path":"/src/components/ViewGateOverlay.tsx:2339",src:"https://www.gstatic.com/images/branding/product/1x/gsa_512dp.png",style:{width:"18px",height:"18px"},alt:"G"}),i.jsx("span",{"data-vg-id":"52d76c47","data-source-path":"/src/components/ViewGateOverlay.tsx:2340",style:{fontWeight:700},children:e==="es"?"Iniciar Sesión":"Login to ViewGate"})]}),i.jsx("button",{onClick:d=>{d.stopPropagation(),et({title:s.exitConfirmTitle||"Close ViewGate?",message:s.exitConfirmMessage||"Are you sure you want to close ViewGate?",type:"danger",onConfirm:()=>a()})},className:"vg-button-ghost vg-animate-pop",style:{width:"40px",height:"40px",minWidth:"40px",padding:"0",animationDelay:"0.2s",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"12px",backgroundColor:"rgba(255, 255, 255, 0.8)",color:"#64748b",border:"1px solid rgba(0,0,0,0.05)"},onMouseEnter:d=>{d.currentTarget.style.color="#ef4444",d.currentTarget.style.backgroundColor="white",d.currentTarget.style.borderColor="rgba(239, 68, 68, 0.2)",d.currentTarget.style.transform="scale(1.05)"},onMouseLeave:d=>{d.currentTarget.style.color="#64748b",d.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.8)",d.currentTarget.style.borderColor="rgba(0,0,0,0.05)",d.currentTarget.style.transform="scale(1)"},title:s.close||"Cerrar ViewGate",children:i.jsx(Kt,{"data-vg-id":"ff5f5d6","data-source-path":"/src/components/ViewGateOverlay.tsx:2384",size:20,strokeWidth:2.5})})]}),i.jsx("iframe",{src:`${o}/silent-auth`,style:{display:"none",width:0,height:0,border:"none"},title:"viewgate-silent-auth"})]}),DA&&i.jsx("div",{"data-vg-id":"17fbf7e","data-source-path":"/src/components/ViewGateOverlay.tsx:2398",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(255,255,255,0.6)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:tc+1,cursor:"wait"},children:i.jsxs("div",{"data-vg-id":"17fbf7f","data-source-path":"/src/components/ViewGateOverlay.tsx:2404",className:"vg-glassmorphism",style:{padding:"30px 50px",display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"},children:[i.jsx("div",{"data-vg-id":"17fbf95","data-source-path":"/src/components/ViewGateOverlay.tsx:2405",className:"vg-spinner"}),i.jsx("span",{"data-vg-id":"52d76c61","data-source-path":"/src/components/ViewGateOverlay.tsx:2406",style:{fontWeight:600,fontSize:"14px",color:"#000000"},children:"Capturando..."})]})}),f&&!K&&i.jsx("div",{className:"vg-backdrop-blur",style:{opacity:1,clipPath:H?`polygon(
13
13
  0% 0%, 0% 100%, 100% 100%, 100% 0%, 0% 0%,
14
- ${E.rect.left}px ${E.rect.top}px,
15
- ${E.rect.right}px ${E.rect.top}px,
16
- ${E.rect.right}px ${E.rect.bottom}px,
17
- ${E.rect.left}px ${E.rect.bottom}px,
18
- ${E.rect.left}px ${E.rect.top}px
19
- )`:"none",zIndex:rw}}),g&&E&&!y&&!z&&d.jsx("div",{className:"vg-selection-pulse",style:{top:E.rect.top-4,left:E.rect.left-4,width:E.rect.width+8,height:E.rect.height+8,zIndex:sw},children:d.jsxs("div",{className:"vg-selection-label",style:{...E.rect.top<60?E.rect.bottom>window.innerHeight-60?{top:"8px",bottom:"auto"}:{top:"100%",marginTop:"8px",bottom:"auto"}:{top:"-40px",bottom:"auto"},...E.rect.left+200>window.innerWidth?{left:"auto",right:"0"}:{left:"0",right:"auto"}},children:[d.jsx(tl,{"data-vg-id":"f840c8b5","data-source-path":"/src/components/ViewGateOverlay.tsx:2108",size:16}),d.jsxs("div",{"data-vg-id":"17fbf7f","data-source-path":"/src/components/ViewGateOverlay.tsx:2109",style:{display:"flex",flexDirection:"column"},children:[d.jsx("span",{"data-vg-id":"52d76c60","data-source-path":"/src/components/ViewGateOverlay.tsx:2110",style:{fontWeight:700},children:e.selectToComment}),d.jsxs("span",{"data-vg-id":"52d76c61","data-source-path":"/src/components/ViewGateOverlay.tsx:2111",style:{fontSize:"10px",opacity:.8,fontFamily:"monospace"},children:[Math.round(E.rect.width)," × ",Math.round(E.rect.height)]})]})]})}),y&&!Z&&d.jsx("div",{"data-vg-id":"17fbf97","data-source-path":"/src/components/ViewGateOverlay.tsx:2121",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(15, 23, 42, 0.4)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:Ar},children:d.jsxs("div",{"data-vg-id":"17fbf98","data-source-path":"/src/components/ViewGateOverlay.tsx:2126",className:"vg-glassmorphism vg-animate-slide",style:{width:"90%",maxWidth:"480px",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",overflow:"hidden"},children:[d.jsxs("div",{"data-vg-id":"17fbf99","data-source-path":"/src/components/ViewGateOverlay.tsx:2134",style:{padding:"32px 24px 24px",textAlign:"center",borderBottom:"1px solid rgba(0,0,0,0.05)"},children:[d.jsx("div",{"data-vg-id":"17fbf9a","data-source-path":"/src/components/ViewGateOverlay.tsx:2135",style:{width:"48px",height:"48px",background:"var(--vg-primary-gradient)",borderRadius:"14px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 16px",color:"white",boxShadow:"0 4px 12px rgba(99, 102, 241, 0.2)"},children:d.jsx(ol,{"data-vg-id":"25353425","data-source-path":"/src/components/ViewGateOverlay.tsx:2140",size:24})}),d.jsx("h2",{"data-vg-id":"efa6bb67","data-source-path":"/src/components/ViewGateOverlay.tsx:2142",style:{margin:"0 0 8px 0",fontSize:"22px",fontWeight:800,color:"#0f172a"},children:A==="es"?"¿Quién eres?":"Who are you?"}),d.jsx("p",{"data-vg-id":"1000dede","data-source-path":"/src/components/ViewGateOverlay.tsx:2145",style:{margin:0,color:"#64748b",fontSize:"14px"},children:A==="es"?"Selecciona tu perfil para continuar":"Select your profile to continue"})]}),d.jsx("div",{"data-vg-id":"17fbf9e","data-source-path":"/src/components/ViewGateOverlay.tsx:2150",className:"vg-custom-scrollbar",style:{padding:"24px",maxHeight:"400px",overflowY:"auto"},children:d.jsx("div",{"data-vg-id":"17fbfb4","data-source-path":"/src/components/ViewGateOverlay.tsx:2151",style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(130px, 1fr))",gap:"12px"},children:cs.map(l=>d.jsxs("div",{"data-vg-id":"17fbfb5","data-source-path":"/src/components/ViewGateOverlay.tsx:2157",onClick:()=>pw(l),style:{padding:"12px",borderRadius:"12px",border:"1px solid #e2e8f0",cursor:"pointer",display:"flex",flexDirection:"column",alignItems:"center",gap:"10px",transition:"all 0.2s",background:"white",textAlign:"center"},onMouseEnter:F=>{F.currentTarget.style.borderColor="#6366f1",F.currentTarget.style.background="#f5f7ff",F.currentTarget.style.transform="translateY(-2px)"},onMouseLeave:F=>{F.currentTarget.style.borderColor="#e2e8f0",F.currentTarget.style.background="white",F.currentTarget.style.transform="translateY(0)"},children:[l.avatar?d.jsx("img",{"data-vg-id":"a398744","data-source-path":"/src/components/ViewGateOverlay.tsx:2177",src:l.avatar,style:{width:"48px",height:"48px",borderRadius:"50%",border:"2px solid white",boxShadow:"0 2px 8px rgba(0,0,0,0.1)"},alt:""}):d.jsx("div",{"data-vg-id":"17fbfb7","data-source-path":"/src/components/ViewGateOverlay.tsx:2179",style:{width:"48px",height:"48px",borderRadius:"50%",background:"#6366f1",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"18px",fontWeight:800},children:l.name?.[0]}),d.jsx("span",{"data-vg-id":"52d76c83","data-source-path":"/src/components/ViewGateOverlay.tsx:2183",style:{fontSize:"13px",fontWeight:700,color:"#1e293b"},children:l.name})]},l.email))})}),d.jsx("div",{"data-vg-id":"17fbfb9","data-source-path":"/src/components/ViewGateOverlay.tsx:2191",style:{padding:"16px 24px 24px",borderTop:"1px solid rgba(0,0,0,0.05)",backgroundColor:"#f8fafc"},children:d.jsx("button",{onClick:()=>{K(null),f(!1)},className:"vg-button-ghost",style:{width:"100%",padding:"12px"},children:e.cancel})})]})}),y&&Z&&d.jsx("div",{"data-vg-id":"17fbfba","data-source-path":"/src/components/ViewGateOverlay.tsx:2209",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(15, 23, 42, 0.4)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:Ar},children:d.jsxs("div",{"data-vg-id":"17fbfbb","data-source-path":"/src/components/ViewGateOverlay.tsx:2214",className:"vg-glassmorphism vg-animate-slide",style:{width:"90%",maxWidth:"700px",maxHeight:"92vh",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",overflow:"hidden"},children:[d.jsxs("div",{"data-vg-id":"17fbfbc","data-source-path":"/src/components/ViewGateOverlay.tsx:2224",style:{padding:"24px 24px 16px",textAlign:"center",borderBottom:"1px solid rgba(0,0,0,0.05)",flexShrink:0,position:"relative"},children:[Z&&d.jsxs("div",{"data-vg-id":"17fbfbd","data-source-path":"/src/components/ViewGateOverlay.tsx:2226",onClick:()=>qA(null),title:e.changeMember,className:"vg-animate-pop",style:{position:"absolute",top:"20px",right:"20px",display:"flex",alignItems:"center",gap:"8px",padding:"4px 8px",borderRadius:"20px",background:"white",border:"1px solid #e2e8f0",cursor:"pointer",boxShadow:"0 2px 6px rgba(0,0,0,0.05)",transition:"all 0.2s",zIndex:10},onMouseEnter:l=>{l.currentTarget.style.borderColor="#6366f1",l.currentTarget.style.transform="translateY(-1px)"},onMouseLeave:l=>{l.currentTarget.style.borderColor="#e2e8f0",l.currentTarget.style.transform="translateY(0)"},children:[d.jsx("span",{"data-vg-id":"52d76c9e","data-source-path":"/src/components/ViewGateOverlay.tsx:2249",style:{fontSize:"10px",fontWeight:800,color:"#64748b",textTransform:"uppercase"},children:Z.name.split(" ")[0]}),Z.avatar?d.jsx("img",{"data-vg-id":"a398762","data-source-path":"/src/components/ViewGateOverlay.tsx:2253",src:Z.avatar,style:{width:"24px",height:"24px",borderRadius:"50%"},alt:""}):d.jsx("div",{"data-vg-id":"17fbfd5","data-source-path":"/src/components/ViewGateOverlay.tsx:2255",style:{width:"24px",height:"24px",borderRadius:"50%",background:"#6366f1",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"10px",fontWeight:700},children:Z.name?.[0]})]}),d.jsx("div",{"data-vg-id":"17fbfd6","data-source-path":"/src/components/ViewGateOverlay.tsx:2261",style:{width:"40px",height:"40px",background:"var(--vg-primary-gradient)",borderRadius:"10px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 12px",color:"white",boxShadow:"0 4px 12px rgba(99, 102, 241, 0.2)"},children:d.jsx(cr,{"data-vg-id":"10c62224","data-source-path":"/src/components/ViewGateOverlay.tsx:2266",size:20})}),d.jsx("h2",{"data-vg-id":"efa6bba3","data-source-path":"/src/components/ViewGateOverlay.tsx:2268",style:{margin:"0 0 4px 0",fontSize:"20px",fontWeight:800,color:"#0f172a"},children:e.feedbackHeader}),d.jsx("p",{"data-vg-id":"1000df1a","data-source-path":"/src/components/ViewGateOverlay.tsx:2269",style:{margin:0,color:"#64748b",fontSize:"14px"},children:e.feedbackSubheader})]}),d.jsxs("div",{"data-vg-id":"17fbfda","data-source-path":"/src/components/ViewGateOverlay.tsx:2273",className:"vg-custom-scrollbar",style:{flex:1,overflowY:"auto",padding:"24px",display:"flex",flexDirection:"column"},children:[y.visualPreview&&d.jsx("div",{"data-vg-id":"17fbfdb","data-source-path":"/src/components/ViewGateOverlay.tsx:2282",style:{marginBottom:"24px",borderRadius:"12px",width:"100%",display:"flex",justifyContent:"center",margin:"0 auto 24px auto",boxShadow:"0 4px 25px rgba(0,0,0,0.12)",backgroundColor:"#f8fafc",border:"1px solid #e2e8f0",padding:"8px"},children:d.jsx("img",{src:y.visualPreview,alt:"Preview",style:{maxWidth:"100%",maxHeight:"45vh",objectFit:"contain",display:"block",borderRadius:"8px"}})}),d.jsx("textarea",{className:"vg-textarea",value:V,onChange:l=>AA(l.target.value),rows:4,placeholder:e.placeholder,autoFocus:!0,style:{fontSize:"15px",padding:"16px",marginBottom:"24px",minHeight:"120px"}}),d.jsxs("div",{"data-vg-id":"17fbfdc","data-source-path":"/src/components/ViewGateOverlay.tsx:2319",style:{marginBottom:"24px"},children:[d.jsx("label",{"data-vg-id":"18bd4b2f","data-source-path":"/src/components/ViewGateOverlay.tsx:2320",style:{fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",display:"block"},children:e.priority}),d.jsx("div",{"data-vg-id":"17fbff3","data-source-path":"/src/components/ViewGateOverlay.tsx:2323",style:{display:"flex",gap:"8px"},children:["low","medium","high","urgent"].map(l=>d.jsx("button",{onClick:()=>h(l),style:{flex:1,padding:"12px 6px",borderRadius:"8px",fontSize:"13px",fontWeight:700,border:"1px solid",borderColor:u===l?l==="low"?"#10b981":l==="medium"?"#6366f1":l==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:u===l?l==="low"?"#ecfdf5":l==="medium"?"#eef2ff":l==="high"?"#fffbeb":"#fef2f2":"white",color:u===l?l==="low"?"#059669":l==="medium"?"#4338ca":l==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:e[l]},l))})]}),d.jsxs("div",{"data-vg-id":"17fbff4","data-source-path":"/src/components/ViewGateOverlay.tsx:2350",style:{marginBottom:"24px"},children:[d.jsx("label",{"data-vg-id":"18bd4b32","data-source-path":"/src/components/ViewGateOverlay.tsx:2351",style:{fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",display:"block"},children:e.focusAreas}),d.jsx("div",{"data-vg-id":"17fbff6","data-source-path":"/src/components/ViewGateOverlay.tsx:2354",style:{display:"flex",gap:"8px",marginBottom:N.length>0?"12px":"0"},children:[{id:"frontend",label:e.frontend,icon:d.jsx(Al,{"data-vg-id":"377c172a","data-source-path":"/src/components/ViewGateOverlay.tsx:2356",size:14}),color:"#10b981",bg:"#ecfdf5",border:"#d1fae5"},{id:"backend",label:e.backend,icon:d.jsx(ir,{"data-vg-id":"7117e5bc","data-source-path":"/src/components/ViewGateOverlay.tsx:2357",size:14}),color:"#6366f1",bg:"#eef2ff",border:"#e0e7ff"},{id:"ux",label:e.ux,icon:d.jsx(Uo,{"data-vg-id":"de424781","data-source-path":"/src/components/ViewGateOverlay.tsx:2358",size:14}),color:"#d946ef",bg:"#fdf4ff",border:"#f5d0fe"}].filter(l=>l.id==="backend"?Ji:l.id==="ux"?ye:!0).map(l=>{const F=N.includes(l.id);return d.jsxs("button",{onClick:()=>{F?gA(N.filter(Q=>Q!==l.id)):(gA([...N,l.id]),l.id==="backend"&&Gn())},style:{flex:1,padding:"10px 4px",borderRadius:"8px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:F?l.color:"#e2e8f0",backgroundColor:F?l.bg:"white",color:F?l.color:"#64748b",cursor:"pointer",transition:"all 0.2s",display:"flex",alignItems:"center",justifyContent:"center",gap:"6px"},children:[l.icon,l.label]},l.id)})}),N.includes("ux")&&d.jsxs("div",{"data-vg-id":"17fbffa","data-source-path":"/src/components/ViewGateOverlay.tsx:2405",className:"vg-animate-slide",style:{marginBottom:"16px"},children:[d.jsxs("div",{"data-vg-id":"17fbffb","data-source-path":"/src/components/ViewGateOverlay.tsx:2406",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"8px"},children:[d.jsxs("div",{"data-vg-id":"17fc011","data-source-path":"/src/components/ViewGateOverlay.tsx:2407",style:{display:"flex",alignItems:"center",gap:"6px"},children:[d.jsx(Ts,{"data-vg-id":"38884e0d","data-source-path":"/src/components/ViewGateOverlay.tsx:2408",size:14,style:{color:"#d946ef"}}),d.jsx("span",{"data-vg-id":"52d76cde","data-source-path":"/src/components/ViewGateOverlay.tsx:2409",style:{fontSize:"11px",fontWeight:800,color:"#64748b",textTransform:"uppercase",letterSpacing:"0.05em"},children:e.figmaLink})]}),d.jsxs("button",{"data-vg-id":"23e21f77","data-source-path":"/src/components/ViewGateOverlay.tsx:2413",onClick:()=>uA([...eA,{name:"",link:""}]),style:{background:"rgba(217, 70, 239, 0.1)",border:"1px solid rgba(217, 70, 239, 0.2)",color:"#d946ef",borderRadius:"6px",padding:"4px 8px",fontSize:"10px",fontWeight:800,display:"flex",alignItems:"center",gap:"4px",cursor:"pointer",transition:"all 0.2s"},onMouseEnter:l=>l.currentTarget.style.background="rgba(217, 70, 239, 0.15)",onMouseLeave:l=>l.currentTarget.style.background="rgba(217, 70, 239, 0.1)",children:[d.jsx(rl,{"data-vg-id":"11a60c70","data-source-path":"/src/components/ViewGateOverlay.tsx:2432",size:10})," ",e.addLink]})]}),d.jsx("div",{"data-vg-id":"17fc016","data-source-path":"/src/components/ViewGateOverlay.tsx:2436",style:{display:"flex",flexDirection:"column",gap:"8px"},children:eA.map((l,F)=>d.jsxs("div",{"data-vg-id":"17fc017","data-source-path":"/src/components/ViewGateOverlay.tsx:2438",style:{display:"flex",gap:"6px",alignItems:"flex-start"},className:"vg-animate-slide",children:[d.jsxs("div",{"data-vg-id":"17fc018","data-source-path":"/src/components/ViewGateOverlay.tsx:2439",style:{flex:1,display:"flex",flexDirection:"column",gap:"4px"},children:[d.jsx("input",{"data-vg-id":"a993bac0","data-source-path":"/src/components/ViewGateOverlay.tsx:2440",type:"text",className:"vg-textarea",style:{padding:"8px 10px",fontSize:"11px",minHeight:"auto",borderRadius:"8px",border:"1px solid rgba(0,0,0,0.05)"},placeholder:e.figmaNamePlaceholder,value:l.name,onChange:Q=>{const b=[...eA];b[F]&&(b[F].name=Q.target.value,uA(b))}}),d.jsx("input",{"data-vg-id":"a993bac1","data-source-path":"/src/components/ViewGateOverlay.tsx:2454",type:"text",className:"vg-textarea",style:{padding:"8px 10px",fontSize:"11px",minHeight:"auto",borderRadius:"8px",border:"1px solid rgba(0,0,0,0.05)"},placeholder:e.figmaLinkPlaceholder,value:l.link,onChange:Q=>{const b=[...eA];b[F]&&(b[F].link=Q.target.value,uA(b))}})]}),eA.length>1&&d.jsx("button",{"data-vg-id":"23e21f93","data-source-path":"/src/components/ViewGateOverlay.tsx:2470",onClick:()=>uA(eA.filter((Q,b)=>b!==F)),style:{background:"rgba(239, 68, 68, 0.05)",border:"1px solid rgba(239, 68, 68, 0.1)",color:"#ef4444",borderRadius:"8px",padding:"10px",cursor:"pointer",transition:"all 0.2s",display:"flex",alignItems:"center",justifyContent:"center"},onMouseEnter:Q=>Q.currentTarget.style.background="rgba(239, 68, 68, 0.1)",onMouseLeave:Q=>Q.currentTarget.style.background="rgba(239, 68, 68, 0.05)",children:d.jsx(Ks,{"data-vg-id":"e1375dac","data-source-path":"/src/components/ViewGateOverlay.tsx:2487",size:14})})]},F))})]}),ie.length>0&&N.includes("backend")&&d.jsxs("div",{"data-vg-id":"17fc032","data-source-path":"/src/components/ViewGateOverlay.tsx:2499",className:"vg-animate-slide",style:{marginBottom:"16px"},children:[d.jsxs("div",{"data-vg-id":"17fc033","data-source-path":"/src/components/ViewGateOverlay.tsx:2500",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"8px"},children:[d.jsxs("div",{"data-vg-id":"17fc034","data-source-path":"/src/components/ViewGateOverlay.tsx:2501",style:{display:"flex",alignItems:"center",gap:"6px"},children:[d.jsx(ir,{"data-vg-id":"7117e5f9","data-source-path":"/src/components/ViewGateOverlay.tsx:2502",size:14,style:{color:"#6366f1"}}),d.jsx("span",{"data-vg-id":"52d76d01","data-source-path":"/src/components/ViewGateOverlay.tsx:2503",style:{fontSize:"11px",fontWeight:700,color:"#64748b"},children:e.endpoint})]}),W.length>0&&d.jsxs("span",{"data-vg-id":"52d76d02","data-source-path":"/src/components/ViewGateOverlay.tsx:2506",style:{fontSize:"10px",background:"#eef2ff",color:"#6366f1",padding:"2px 8px",borderRadius:"12px",fontWeight:700},children:[W.length," ",A==="es"?"seleccionados":"selected"]})]}),d.jsxs("button",{"data-vg-id":"23e21f9b","data-source-path":"/src/components/ViewGateOverlay.tsx:2512",onClick:()=>q(!0),className:"vg-input-like-button",style:{width:"100%",padding:"12px 16px",fontSize:"13px",borderRadius:"12px",background:"#f8fafc",border:"1px solid #e2e8f0",display:"flex",alignItems:"center",justifyContent:"space-between",cursor:"pointer",transition:"all 0.2s",textAlign:"left",color:W.length>0?"#0f172a":"#94a3b8"},children:[d.jsx("div",{"data-vg-id":"17fc039","data-source-path":"/src/components/ViewGateOverlay.tsx:2531",style:{display:"flex",gap:"4px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:W.length>0?W.slice(0,2).map(l=>{const F=l.split("|"),Q=F.length>1?F[0]:"",b=F.length>1?F[1]:l;return d.jsxs("span",{"data-vg-id":"52d76d1a","data-source-path":"/src/components/ViewGateOverlay.tsx:2538",style:{background:"rgba(99, 102, 241, 0.1)",color:"#6366f1",padding:"1px 6px",borderRadius:"4px",fontSize:"11px",fontWeight:600},children:[Q&&d.jsx("span",{"data-vg-id":"52d76d1b","data-source-path":"/src/components/ViewGateOverlay.tsx:2546",style:{opacity:.6,marginRight:"4px"},children:Q}),(b||"").split("/").pop()||b]},l)}).concat(W.length>2?[d.jsxs("span",{"data-vg-id":"52d76d1c","data-source-path":"/src/components/ViewGateOverlay.tsx:2550",children:["+",W.length-2]},"more")]:[]):e.selectEndpoint}),d.jsx(Yc,{"data-vg-id":"c71f9a06","data-source-path":"/src/components/ViewGateOverlay.tsx:2553",size:14,style:{color:"#64748b"}})]})]})]})]}),d.jsxs("div",{"data-vg-id":"17fc053","data-source-path":"/src/components/ViewGateOverlay.tsx:2562",style:{padding:"16px 24px 24px",borderTop:"1px solid rgba(0,0,0,0.05)",display:"flex",gap:"12px",flexShrink:0,backgroundColor:"rgba(255,255,255,0.02)",backdropFilter:"blur(2px)"},children:[d.jsx("button",{onClick:()=>{S||(K(null),f(!1))},className:"vg-button-ghost",disabled:S,style:{flex:1,padding:"12px"},children:e.cancel}),d.jsx("button",{onClick:Fw,className:"vg-button-primary",disabled:S||!V.trim()||N.includes("backend")&&W.length===0||N.includes("ux")&&eA.some(l=>!l.name.trim()||!l.link.trim()),style:{flex:2,opacity:S||!V.trim()||N.includes("backend")&&W.length===0||N.includes("ux")&&eA.some(l=>!l.name.trim()||!l.link.trim())?.6:1,cursor:S||!V.trim()||N.includes("backend")&&W.length===0||N.includes("ux")&&eA.some(l=>!l.name.trim()||!l.link.trim())?"not-allowed":"pointer"},children:d.jsxs("div",{"data-vg-id":"17fc054","data-source-path":"/src/components/ViewGateOverlay.tsx:2600",style:{display:"flex",alignItems:"center",gap:"8px"},children:[S?d.jsx("div",{"data-vg-id":"17fc055","data-source-path":"/src/components/ViewGateOverlay.tsx:2601",className:"vg-spinner",style:{width:"16px",height:"16px",borderWidth:"2px"}}):d.jsx(Fo,{"data-vg-id":"a3fd5c03","data-source-path":"/src/components/ViewGateOverlay.tsx:2601",size:18}),d.jsx("span",{"data-vg-id":"52d76d22","data-source-path":"/src/components/ViewGateOverlay.tsx:2602",children:S?e.submitting:e.sendFeedback||"Send Comment"})]})})]})]})}),HA&&d.jsx("div",{"data-vg-id":"17fc058","data-source-path":"/src/components/ViewGateOverlay.tsx:2612",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(15, 23, 42, 0.6)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:Ar},children:d.jsxs("div",{"data-vg-id":"17fc06e","data-source-path":"/src/components/ViewGateOverlay.tsx:2618",className:"vg-glassmorphism vg-animate-slide",style:{padding:"32px",width:"820px",maxHeight:"85vh",display:"flex",flexDirection:"column",transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:[d.jsxs("div",{"data-vg-id":"17fc06f","data-source-path":"/src/components/ViewGateOverlay.tsx:2623",style:{display:"flex",flexDirection:"column",gap:"16px",marginBottom:"24px"},children:[d.jsxs("div",{"data-vg-id":"17fc070","data-source-path":"/src/components/ViewGateOverlay.tsx:2624",style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[d.jsx("h2",{"data-vg-id":"efa6bc3c","data-source-path":"/src/components/ViewGateOverlay.tsx:2625",style:{margin:0,fontSize:"20px",fontWeight:800,color:"#0f172a",whiteSpace:"nowrap"},children:hA?e.commentDetails:e.annotations}),d.jsxs("div",{"data-vg-id":"17fc072","data-source-path":"/src/components/ViewGateOverlay.tsx:2628",style:{display:"flex",alignItems:"center",gap:"12px"},children:[Z?d.jsxs("div",{"data-vg-id":"17fc073","data-source-path":"/src/components/ViewGateOverlay.tsx:2630",style:{display:"flex",alignItems:"center",gap:"8px",padding:"4px 12px",background:"rgba(99, 102, 241, 0.1)",borderRadius:"20px"},children:[Z.avatar?d.jsx("img",{"data-vg-id":"a398802","data-source-path":"/src/components/ViewGateOverlay.tsx:2632",src:Z.avatar,style:{width:"20px",height:"20px",borderRadius:"50%"},alt:""}):d.jsx("div",{"data-vg-id":"17fc075","data-source-path":"/src/components/ViewGateOverlay.tsx:2634",style:{width:"20px",height:"20px",borderRadius:"50%",background:"#6366f1",color:"white",fontSize:"10px",display:"flex",alignItems:"center",justifyContent:"center"},children:Z.name?.[0]}),d.jsx("span",{"data-vg-id":"52d76d41","data-source-path":"/src/components/ViewGateOverlay.tsx:2638",style:{fontSize:"12px",fontWeight:600,color:"#4338ca",cursor:"pointer"},onClick:()=>qA(null),title:A==="es"?"Click para cambiar":"Click to change",children:Z.name})]}):d.jsx("div",{"data-vg-id":"17fc077","data-source-path":"/src/components/ViewGateOverlay.tsx:2647",style:{fontSize:"12px",color:"#64748b",fontWeight:600},children:A==="es"?"Sin usuario":"No user selected"}),d.jsx("button",{className:"vg-button-ghost",style:{padding:"8px",borderRadius:"50%"},onClick:()=>{ce(!1),RA(null),gs(null),p("all")},children:d.jsx(lr,{"data-vg-id":"eec8c441","data-source-path":"/src/components/ViewGateOverlay.tsx:2656",size:20})})]})]}),d.jsx("div",{"data-vg-id":"2e782f7b","data-source-path":"/src/components/ViewGateOverlay.tsx:2660",style:{display:"flex",flexDirection:"column",gap:"8px",alignItems:"center",width:"100%"},children:(()=>{const l=Array.isArray(OA)?OA:[],F=hA?Ct.find(T=>T.annotations?.some(nA=>nA._id===hA)):null,b=(F?F.annotations:l).filter(T=>T.status!=="completed"&&T.status!=="done"),R=b.filter(T=>T.status!=="ready_for_review").length,O=b.filter(T=>T.status==="ready_for_review").length,M=b.length;return M<=0?M===0?null:d.jsxs("div",{"data-vg-id":"2e782f7c","data-source-path":"/src/components/ViewGateOverlay.tsx:2674",style:{display:"flex",gap:"8px",opacity:.9},children:[R>0&&d.jsxs("div",{"data-vg-id":"2e782f7d","data-source-path":"/src/components/ViewGateOverlay.tsx:2676",className:"vg-badge",style:{background:"#fff7ed",color:"#c2410c",border:"1px solid #ffedd5",fontSize:"11px",padding:"2px 8px"},children:[R," ",R===1?"pendiente":"pendientes"]}),O>0&&d.jsxs("div",{"data-vg-id":"2e782f7e","data-source-path":"/src/components/ViewGateOverlay.tsx:2681",className:"vg-badge",style:{background:"#f3e8ff",color:"#a855f7",border:"1px solid #e9d5ff",fontSize:"11px",padding:"2px 8px"},children:[O," ",A==="es"?O===1?"Listo para revisión":"Listos para revisión":"ready for review"]})]}):d.jsxs(d.Fragment,{children:[!c&&d.jsxs("div",{"data-vg-id":"2e782f7f","data-source-path":"/src/components/ViewGateOverlay.tsx:2692",className:"vg-segmented-control",style:{marginBottom:"4px"},children:[d.jsx("div",{className:"vg-segmented-slider",style:{left:MA===null?"4px":MA==="pending"?"calc(4px + (100% - 8px) / 3)":"calc(4px + 2 * (100% - 8px) / 3)",width:"calc((100% - 8px) / 3)",background:MA===null?"var(--vg-primary)":MA==="pending"?"#ea580c":"#a855f7",boxShadow:MA===null?"0 4px 12px rgba(99, 102, 241, 0.3)":MA==="pending"?"0 4px 12px rgba(234, 88, 12, 0.3)":"0 4px 12px rgba(168, 85, 247, 0.3)"}}),d.jsxs("div",{onClick:()=>gs(null),className:`vg-segmented-item ${MA===null?"active":""}`,children:[e.viewAll||"Todos"," (",M,")"]}),d.jsxs("div",{onClick:()=>gs("pending"),className:`vg-segmented-item ${MA==="pending"?"active":""}`,children:[A==="es"?R===1?"Pendiente":"Pendientes":"Pending"," (",R,")"]}),d.jsxs("div",{onClick:()=>gs("ready"),className:`vg-segmented-item ${MA==="ready"?"active":""}`,children:[A==="es"?"Listo para revisión":"Ready for Review"," (",O,")"]})]}),d.jsxs("div",{"data-vg-id":"2e782f80","data-source-path":"/src/components/ViewGateOverlay.tsx:2723",style:{display:"flex",gap:"6px",justifyContent:"center",flexWrap:"wrap",marginTop:c?"0":"4px"},children:[d.jsxs("button",{onClick:()=>p("all"),style:{padding:"8px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:U==="all"?"var(--vg-primary)":"#e2e8f0",backgroundColor:U==="all"?"var(--vg-primary)":"transparent",color:U==="all"?"white":"#64748b",cursor:"pointer",transition:"all 0.2s"},children:[e.viewAll||"Todos"," (",b.filter(T=>c?!0:MA==="pending"?T.status!=="ready_for_review":MA==="ready"?T.status==="ready_for_review":!0).length,")"]}),["low","medium","high","urgent"].map(T=>{const nA=b.filter(YA=>c?!0:MA==="pending"?YA.status!=="ready_for_review":MA==="ready"?YA.status==="ready_for_review":!0).filter(YA=>(YA.priority||"medium")===T).length;return nA===0&&U!==T?null:d.jsxs("button",{onClick:()=>p(T),style:{padding:"8px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:U===T?T==="low"?"#10b981":T==="medium"?"#6366f1":T==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:U===T?T==="low"?"#ecfdf5":T==="medium"?"#eef2ff":T==="high"?"#fffbeb":"#fef2f2":"transparent",color:U===T?T==="low"?"#059669":T==="medium"?"#4338ca":T==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:[e[T]," (",nA,")"]},T)})]})]})})()})]}),d.jsx("div",{style:{flex:1,overflowY:"auto",paddingRight:"10px",overflowX:"hidden"},className:"vg-custom-scrollbar",children:et?d.jsx("div",{"data-vg-id":"2e782f81","data-source-path":"/src/components/ViewGateOverlay.tsx:2789",style:{display:"flex",justifyContent:"center",padding:"40px"},children:d.jsx("div",{"data-vg-id":"2e782f82","data-source-path":"/src/components/ViewGateOverlay.tsx:2790",className:"vg-spinner"})}):Vn.map((l,F)=>d.jsxs("div",{className:"vg-glassmorphism vg-animate-slide",style:{padding:"20px",marginBottom:"16px",border:"1px solid rgba(0,0,0,0.05)",background:"rgba(255,255,255,0.5)",animationDelay:`${F*.05}s`},children:[d.jsxs("div",{"data-vg-id":"2e782f83","data-source-path":"/src/components/ViewGateOverlay.tsx:2805",style:{display:"flex",justifyContent:"space-between",marginBottom:"16px",alignItems:"center"},children:[d.jsxs("div",{"data-vg-id":"2e782f99","data-source-path":"/src/components/ViewGateOverlay.tsx:2806",style:{display:"flex",gap:"12px",alignItems:"center"},children:[d.jsx("span",{"data-vg-id":"8161c2f","data-source-path":"/src/components/ViewGateOverlay.tsx:2807",style:{fontSize:"12px",color:"#000000",fontWeight:600},children:ki(l.timestamp||l.createdAt||l.reference?.timestamp,A)}),d.jsx("div",{"data-vg-id":"2e782f9b","data-source-path":"/src/components/ViewGateOverlay.tsx:2810",onClick:Q=>{Q.stopPropagation();const b=l.key||`VG-${l._id.slice(-6).toUpperCase()}`;navigator.clipboard.writeText(b);const R=Q.currentTarget;R.innerText="¡Copiado!",R.style.color="#22c55e",setTimeout(()=>{R.innerText=b,R.style.color=c?"#64748b":"#6366f1"},1500)},style:{fontSize:"10px",fontFamily:"monospace",color:c?"#64748b":"#6366f1",background:c?"rgba(100, 116, 139, 0.1)":"rgba(99, 102, 241, 0.1)",padding:"2px 6px",borderRadius:"4px",cursor:"pointer",fontWeight:900,transition:"all 0.2s"},title:A==="es"?"Click para copiar":"Click to copy",children:l.key||`VG-${l._id.slice(-6).toUpperCase()}`}),l.reference?.metadata?.isModal&&d.jsx("span",{"data-vg-id":"8161c31","data-source-path":"/src/components/ViewGateOverlay.tsx:2839",className:"vg-badge",style:{fontSize:"10px",background:c?"#f1f5f9":l.status==="completed"||l.status==="done"?"#ecfdf5":l.status==="ready_for_review"?"#f3e8ff":"#fef3c7",color:c?"#64748b":l.status==="completed"||l.status==="done"?"#059669":l.status==="ready_for_review"?"#a855f7":"#92400e",border:"none",padding:"2px 6px"},children:"MODAL"}),l.url&&d.jsx(Gi,{url:l.url,onHover:$i,style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"11px",color:"#64748b",background:"#f8fafc",padding:"2px 8px",borderRadius:"6px",border:"1px solid #e2e8f0",maxWidth:"220px"}})]}),l.status==="completed"?d.jsxs("span",{"data-vg-id":"8161c32","data-source-path":"/src/components/ViewGateOverlay.tsx:2867",className:"vg-badge",style:{backgroundColor:"#ecfdf5",color:"#059669",border:"1px solid #d1fae5"},children:[d.jsx(Le,{"data-vg-id":"a75c1a43","data-source-path":"/src/components/ViewGateOverlay.tsx:2868",size:14})," ",e.completed||(A==="es"?"Listo para revisión":"Ready for Review")]}):l.status==="ready_for_review"?d.jsxs("span",{"data-vg-id":"8161c34","data-source-path":"/src/components/ViewGateOverlay.tsx:2871",className:"vg-badge",style:{backgroundColor:"#f3e8ff",color:"#a855f7",border:"1px solid #e9d5ff"},children:[d.jsx(Le,{"data-vg-id":"a75c1a45","data-source-path":"/src/components/ViewGateOverlay.tsx:2872",size:14})," ",e.readyForReview]}):l.status==="bug_fixing"?d.jsxs("span",{"data-vg-id":"8161c36","data-source-path":"/src/components/ViewGateOverlay.tsx:2875",className:"vg-badge",style:{backgroundColor:"#fff1f2",color:"#e11d48",border:"1px solid #ffe4e6"},children:[d.jsx(Et,{"data-vg-id":"3b8b17e5","data-source-path":"/src/components/ViewGateOverlay.tsx:2876",size:14})," ","Bug Fixing"]}):d.jsxs("span",{"data-vg-id":"8161c4d","data-source-path":"/src/components/ViewGateOverlay.tsx:2879",className:"vg-badge",style:{backgroundColor:c||l.status==="backlog"?"#f1f5f9":"#fff7ed",color:c||l.status==="backlog"?"#64748b":"#ea580c",border:c||l.status==="backlog"?"1px solid #e2e8f0":"1px solid #ffedd5"},children:[d.jsx(mo,{"data-vg-id":"62dc6c16","data-source-path":"/src/components/ViewGateOverlay.tsx:2884",size:14}),c||l.status==="backlog"?e.backlog:e.pending]})]}),(l.screenshot||l.reference?.previewUrl)&&d.jsx("div",{"data-vg-id":"2e782fba","data-source-path":"/src/components/ViewGateOverlay.tsx:2891",style:{margin:"0 0 20px 0",borderRadius:"8px",overflow:"hidden",maxWidth:"100%",maxHeight:"280px",border:"1px solid #e2e8f0",backgroundColor:"#f8fafc",display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsx("img",{"data-vg-id":"3cf759ed","data-source-path":"/src/components/ViewGateOverlay.tsx:2903",src:l.screenshot||l.reference?.previewUrl,alt:"Visual Preview",style:{maxWidth:"100%",maxHeight:"280px",objectFit:"contain",display:"block"}})}),Nn===l._id?d.jsx("textarea",{className:"vg-textarea",value:sc,onChange:Q=>nc(Q.target.value),rows:3,autoFocus:!0,style:{marginBottom:"16px",minHeight:"80px"}}):d.jsxs("div",{"data-vg-id":"2e782fbc","data-source-path":"/src/components/ViewGateOverlay.tsx:2926",style:{marginBottom:"20px"},children:[d.jsx("div",{"data-vg-id":"2e782fbd","data-source-path":"/src/components/ViewGateOverlay.tsx:2927",style:{display:"flex",alignItems:"center",gap:"8px",marginBottom:"8px"},children:d.jsxs("div",{"data-vg-id":"2e782fbe","data-source-path":"/src/components/ViewGateOverlay.tsx:2928",style:{fontSize:"10px",fontWeight:800,color:l.priority==="low"?"#059669":l.priority==="urgent"?"#b91c1c":l.priority==="high"?"#b45309":"#4338ca",backgroundColor:l.priority==="low"?"#ecfdf5":l.priority==="urgent"?"#fef2f2":l.priority==="high"?"#fffbeb":"#eef2ff",padding:"4px 10px",borderRadius:"6px",letterSpacing:"0.5px",border:"1px solid",borderColor:l.priority==="low"?"#d1fae5":l.priority==="urgent"?"#fee2e2":l.priority==="high"?"#fef3c7":"#e0e7ff"},children:[e.priority,": ",e[l.priority||"medium"]]})}),d.jsx("p",{"data-vg-id":"f01af89e","data-source-path":"/src/components/ViewGateOverlay.tsx:2942",className:"vg-text-wrap",style:{margin:"0",fontSize:"16px",color:"#1e293b",lineHeight:1.6},children:l.message})]}),d.jsxs("div",{"data-vg-id":"2e782fc0","data-source-path":"/src/components/ViewGateOverlay.tsx:2946",style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"12px",borderTop:"1px solid #f1f5f9",paddingTop:"16px"},children:[d.jsx("div",{"data-vg-id":"2e782fc1","data-source-path":"/src/components/ViewGateOverlay.tsx:2948",style:{display:"flex",gap:"6px"},children:Nn!==l._id&&d.jsxs(d.Fragment,{children:[d.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px"},onClick:()=>{_n(l._id),nc(l.message),x(l.priority||"medium")},title:e.edit,children:d.jsx(Uo,{"data-vg-id":"ea06994f","data-source-path":"/src/components/ViewGateOverlay.tsx:2961",size:16})}),d.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px",color:"#ef4444"},onClick:()=>{DA({title:e.deleteConfirm,message:e.confirmDelete,type:"danger",onConfirm:async()=>{try{(await fetch(`${s}/api/annotations/${l._id}`,{method:"DELETE",headers:{"x-api-key":r}})).ok&&(Qt(),t(e.deleteSuccess,"success"))}catch{t(e.error,"error")}finally{DA(null)}}})},title:A==="es"?"Eliminar":"Delete",children:d.jsx(Ks,{"data-vg-id":"45b441bd","data-source-path":"/src/components/ViewGateOverlay.tsx:2991",size:16})})]})}),d.jsx("div",{"data-vg-id":"2e782fd9","data-source-path":"/src/components/ViewGateOverlay.tsx:2998",style:{display:"flex",gap:"8px"},children:Nn===l._id?d.jsxs(d.Fragment,{children:[d.jsx("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px"},onClick:async()=>{try{const Q=l.status==="ready_for_review"?l.originalStatus||(l.screenshot?"bug_fixing":"pending"):l.status,b=l.type==="bug"||l.originalStatus==="bug_fixing"||l.status==="bug_fixing";(await fetch(`${s}/api/annotations/${l._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({message:sc,priority:w,status:Q,type:b?"bug":"task"})})).ok&&(_n(null),Qt(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}},children:e.save}),d.jsx("div",{"data-vg-id":"2e782fda","data-source-path":"/src/components/ViewGateOverlay.tsx:3031",style:{display:"flex",gap:"4px",marginLeft:"12px"},children:["low","medium","high","urgent"].map(Q=>d.jsx("button",{onClick:()=>x(Q),style:{padding:"8px 12px",borderRadius:"6px",fontSize:"12px",fontWeight:800,border:"1px solid",borderColor:w===Q?Q==="low"?"#10b981":Q==="medium"?"#6366f1":Q==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:w===Q?Q==="low"?"#ecfdf5":Q==="medium"?"#eef2ff":Q==="high"?"#fffbeb":"#fef2f2":"white",color:w===Q?Q==="low"?"#059669":Q==="medium"?"#4338ca":Q==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:e[Q]},Q))}),d.jsx("button",{"data-vg-id":"5861bcd8","data-source-path":"/src/components/ViewGateOverlay.tsx:3054",className:"vg-button-ghost vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",marginLeft:"auto"},onClick:()=>_n(null),children:e.cancel})]}):d.jsxs(d.Fragment,{children:[!c&&(l.status==="pending"||!["ready_for_review","completed","done"].includes(l.status||""))&&d.jsxs("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",whiteSpace:"nowrap"},onClick:()=>{DA({title:e.markReadyConfirm,message:e.confirmMarkReady,type:"success",onConfirm:async()=>{try{(await fetch(`${s}/api/annotations/${l._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({status:"ready_for_review"})})).ok&&(Qt(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{DA(null)}}})},children:[d.jsx(Fo,{"data-vg-id":"dbae09cf","data-source-path":"/src/components/ViewGateOverlay.tsx:3087",size:14})," ",e.markReady]}),!c&&l.status==="ready_for_review"&&d.jsxs("div",{"data-vg-id":"2e782fdd","data-source-path":"/src/components/ViewGateOverlay.tsx:3091",style:{display:"flex",gap:"8px"},children:[d.jsxs("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px 12px",fontSize:"13px",whiteSpace:"nowrap"},onClick:()=>{Mn(""),DA({title:e.reopenConfirm,message:e.confirmReopen,type:"success",showInput:!0,onConfirm:async Q=>{try{const b=l.originalStatus||(l.screenshot?"bug_fixing":"pending"),R=l.type==="bug"||l.originalStatus==="bug_fixing"||l.status==="bug_fixing";(await fetch(`${s}/api/annotations/${l._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({status:b,message:Q,type:R?"bug":"task"})})).ok&&(Qt(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{DA(null)}}})},children:[d.jsx(sl,{"data-vg-id":"51a0f8e9","data-source-path":"/src/components/ViewGateOverlay.tsx:3128",size:14})," ",e.reopen]}),d.jsxs("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",background:"#22c55e",borderColor:"#22c55e",whiteSpace:"nowrap"},onClick:()=>{DA({title:e.completeConfirm,message:e.confirmComplete,type:"success",onConfirm:async()=>{try{(await fetch(`${s}/api/annotations/${l._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r},body:JSON.stringify({status:"completed"})})).ok&&(Qt(),t(e.updateSuccess,"success"))}catch{t(e.error,"error")}finally{DA(null)}}})},children:[d.jsx(Le,{"data-vg-id":"a75c1a84","data-source-path":"/src/components/ViewGateOverlay.tsx:3158",size:14})," ",e.completed]})]})]})})]})]},l._id))},hA||"all")]})}),VA&&d.jsx("div",{"data-vg-id":"2e782fe0","data-source-path":"/src/components/ViewGateOverlay.tsx:3177",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(11, 15, 25, 0.7)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:Ar+100},children:d.jsxs("div",{"data-vg-id":"2e782ff6","data-source-path":"/src/components/ViewGateOverlay.tsx:3182",className:"vg-glassmorphism vg-animate-slide",style:{padding:"40px",width:"420px",textAlign:"center",border:"1px solid rgba(255, 255, 255, 0.1)",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.5)"},children:[d.jsx("div",{"data-vg-id":"2e782ff7","data-source-path":"/src/components/ViewGateOverlay.tsx:3189",style:{width:"64px",height:"64px",background:VA.type==="danger"?"rgba(239, 68, 68, 0.1)":"rgba(99, 102, 241, 0.1)",borderRadius:"20px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 24px",color:VA.type==="danger"?"#ef4444":"#6366f1",transform:"rotate(-5deg)"},children:VA.type==="danger"?d.jsx(Ks,{"data-vg-id":"45b441dd","data-source-path":"/src/components/ViewGateOverlay.tsx:3198",size:32}):d.jsx(Le,{"data-vg-id":"a75c1a9e","data-source-path":"/src/components/ViewGateOverlay.tsx:3198",size:32})}),d.jsx("h3",{"data-vg-id":"53ec510","data-source-path":"/src/components/ViewGateOverlay.tsx:3200",style:{margin:"0 0 12px 0",fontSize:"20px",fontWeight:800,color:"#000000",letterSpacing:"-0.02em"},children:VA.title}),d.jsx("p",{"data-vg-id":"f01af8da","data-source-path":"/src/components/ViewGateOverlay.tsx:3201",style:{margin:"0 0 24px 0",fontSize:"15px",color:"#000000",lineHeight:1.6},children:VA.message}),VA.showInput&&d.jsx("textarea",{className:"vg-textarea",placeholder:e.reopenPlaceholder,value:_e,onChange:l=>Mn(l.target.value),rows:3,autoFocus:!0,style:{marginBottom:"24px",minHeight:"80px",textAlign:"left"}}),d.jsxs("div",{"data-vg-id":"2e782ffc","data-source-path":"/src/components/ViewGateOverlay.tsx:3215",style:{display:"flex",gap:"16px"},children:[d.jsx("button",{className:"vg-button-ghost",style:{flex:1,height:"44px"},onClick:()=>!iA&&DA(null),disabled:iA,children:e.no}),d.jsx("button",{className:"vg-button-primary",style:{flex:1,height:"44px",backgroundColor:VA.type==="danger"?"#ef4444":void 0,backgroundImage:VA.type==="danger"?"none":void 0,display:"flex",alignItems:"center",justifyContent:"center",gap:"8px",opacity:VA.showInput&&!_e.trim()?.5:1,cursor:VA.showInput&&!_e.trim()?"not-allowed":"pointer"},disabled:iA||VA.showInput&&!_e.trim(),onClick:async()=>{XA(!0);try{await VA.onConfirm(_e)}catch(l){console.error("Confirmation error:",l)}finally{XA(!1)}},children:iA?d.jsx(el,{"data-vg-id":"a4b735cb","data-source-path":"/src/components/ViewGateOverlay.tsx:3251",size:18,className:"vg-animate-spin"}):e.yes})]})]})}),!HA&&!g&&Ct.map((l,F)=>{const{rect:Q,annotations:b,isModal:R}=l,O=b[0],M=b.length,T=b.some(v=>v.status==="ready_for_review"),nA=b.some(v=>v.status==="completed"||v.status==="done"),YA=b.some(v=>v.status!=="ready_for_review"&&v.status!=="completed"&&v.status!=="done"),J=nA&&!T&&!YA,NA=T&&!YA&&!nA,Ie=(T||nA)&&!YA,CA=(T||nA)&&YA,kA=b.filter(v=>v.status!=="ready_for_review"&&v.status!=="completed"&&v.status!=="done").length,IA=b.filter(v=>v.status==="ready_for_review").length,SA=b.filter(v=>v.status==="completed"||v.status==="done").length,yA=b.some(v=>v.status==="bug_fixing"||v.type==="bug"||v.originalStatus==="bug_fixing"),sA=yA&&!NA&&!J?"#f43f5e":kA>0?c?"#64748b":"#ea580c":IA>0?"#a855f7":"#10b981",X=Ct.some(v=>v.element===l.element&&v.isTriggerPin),le=Ct.some(v=>v.element===l.element&&!v.isTriggerPin),wA=X&&le?l.isTriggerPin?-18:18:0,mA=Q.top===0&&Q.left===0&&Q.width>window.innerWidth*.9;return d.jsxs("div",{className:"vg-pin-container vg-animate-pop",style:{position:"fixed",top:Math.max(20,Math.min(window.innerHeight-52,Q.top-20)),left:mA?Math.max(20,Q.left+40+wA):Math.max(20,Math.min(window.innerWidth-52,Q.left+Q.width/2-16+wA)),width:"32px",height:"32px",cursor:"pointer",transition:"all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275)",zIndex:nw},onMouseEnter:v=>{const EA=v.currentTarget.getBoundingClientRect(),rt=window.innerHeight-EA.bottom,xw=EA.top;rt<250&&xw>rt?aA(Yn=>({...Yn,[l.id]:"vg-top"})):aA(Yn=>({...Yn,[l.id]:""}))},onWheel:v=>{const EA=v.currentTarget.querySelector(".vg-tooltip-scroll");EA&&EA.scrollBy({top:v.deltaY,behavior:"smooth"})},onClick:()=>{ce(!0),RA(O._id)},children:[d.jsxs("div",{"data-vg-id":"2e782ffe","data-source-path":"/src/components/ViewGateOverlay.tsx:3326",className:`vg-pin-tooltip ${lA[l.id]||""} ${mA||Q.left<160?"vg-tooltip-right":Q.left>window.innerWidth-160?"vg-tooltip-left":""}`,style:{padding:"16px"},children:[d.jsxs("div",{"data-vg-id":"2e782fff","data-source-path":"/src/components/ViewGateOverlay.tsx:3327",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"12px"},children:[d.jsxs("div",{"data-vg-id":"2e783015","data-source-path":"/src/components/ViewGateOverlay.tsx:3328",style:{display:"flex",alignItems:"center",gap:"8px",flexWrap:"wrap"},children:[l.isTriggerPin?d.jsx(Ts,{"data-vg-id":"d881617b","data-source-path":"/src/components/ViewGateOverlay.tsx:3330",size:14,color:sA}):d.jsx(cr,{"data-vg-id":"7fe176a","data-source-path":"/src/components/ViewGateOverlay.tsx:3332",size:14,color:sA}),d.jsxs("div",{"data-vg-id":"2e783018","data-source-path":"/src/components/ViewGateOverlay.tsx:3334",style:{display:"flex",gap:"4px"},children:[kA>0&&d.jsxs("span",{"data-vg-id":"8161cae","data-source-path":"/src/components/ViewGateOverlay.tsx:3336",className:"vg-badge",style:{fontSize:"10px",background:c?"#f1f5f9":"#fff7ed",color:c?"#64748b":"#c2410c"},children:[kA," ",c||O.status==="backlog"?"Backlog":A==="es"?kA===1?e.pending:"Pendientes":"pending"]}),IA>0&&d.jsxs("span",{"data-vg-id":"8161caf","data-source-path":"/src/components/ViewGateOverlay.tsx:3345",style:{fontSize:"10px",fontWeight:700,color:"#a855f7",background:"#f3e8ff",padding:"2px 6px",borderRadius:"6px"},children:[IA," ",A==="es"?IA===1?"Listo para revisión":"Listos para revisión":"ready for review"]}),SA>0&&d.jsxs("span",{"data-vg-id":"8161cb0","data-source-path":"/src/components/ViewGateOverlay.tsx:3357",style:{fontSize:"10px",fontWeight:700,color:"#059669",background:"#ecfdf5",padding:"2px 6px",borderRadius:"6px"},children:[SA," ",A==="es"?SA===1?"Completado":"Completados":"completed"]}),b.some(v=>v.status==="bug_fixing")&&d.jsx("span",{"data-vg-id":"8161cb1","data-source-path":"/src/components/ViewGateOverlay.tsx:3369",style:{fontSize:"10px",fontWeight:700,color:"#e11d48",background:"#fff1f2",padding:"2px 6px",borderRadius:"6px"},children:"BUG"})]})]}),R&&d.jsx("span",{"data-vg-id":"8161cb2","data-source-path":"/src/components/ViewGateOverlay.tsx:3383",className:"vg-badge",style:{fontSize:"10px",background:c?"#f1f5f9":CA?`linear-gradient(90deg, #ea580c 50%, ${nA?"#10b981":"#a855f7"} 50%)`:kA>0?"#fff7ed":J?"#ecfdf5":"#f3e8ff",color:c?"#64748b":CA?"#ffffff":kA>0?"#c2410c":J?"#059669":"#a855f7",border:"none",fontWeight:800,textShadow:CA&&!c?"0 1px 2px rgba(0,0,0,0.2)":"none"},children:"MODAL"})]}),d.jsx("div",{"data-vg-id":"2e78301e","data-source-path":"/src/components/ViewGateOverlay.tsx:3395",className:"vg-tooltip-scroll",style:{maxHeight:"180px",overflowY:"auto"},children:b.map((v,EA)=>d.jsxs("div",{"data-vg-id":"2e783034","data-source-path":"/src/components/ViewGateOverlay.tsx:3397",style:{padding:"10px 0",borderTop:EA===0?"none":"1px solid #f1f5f9",display:"flex",gap:"12px",alignItems:"flex-start"},children:[d.jsxs("div",{"data-vg-id":"2e783035","data-source-path":"/src/components/ViewGateOverlay.tsx:3404",style:{flex:1,display:"flex",flexDirection:"column",gap:"4px"},children:[d.jsx("span",{"data-vg-id":"8161ccb","data-source-path":"/src/components/ViewGateOverlay.tsx:3405",style:{fontSize:"10px",fontWeight:600,color:"#64748b"},children:ki(v.timestamp||v.createdAt,A)}),v.url&&d.jsx(Gi,{url:v.url,onHover:$i,style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"9px",color:"#6366f1",opacity:.8,background:"rgba(99, 102, 241, 0.05)",padding:"2px 6px",borderRadius:"4px",maxWidth:"120px"},tooltipStyle:{fontSize:"9px"}}),d.jsx("div",{"data-vg-id":"2e783037","data-source-path":"/src/components/ViewGateOverlay.tsx:3427",className:"vg-line-clamp-2",style:{fontSize:"13px",color:"#1e293b",lineHeight:1.4,fontWeight:500},children:v.message.length>100?v.message.slice(0,97)+"...":v.message})]}),d.jsxs("div",{"data-vg-id":"2e783038","data-source-path":"/src/components/ViewGateOverlay.tsx:3431",style:{flexShrink:0,marginTop:"2px",display:"flex",flexDirection:"column",gap:"4px",alignItems:"flex-end"},children:[d.jsx("div",{"data-vg-id":"2e783039","data-source-path":"/src/components/ViewGateOverlay.tsx:3432",style:{fontSize:"8px",fontWeight:800,color:v.priority==="low"?"#059669":v.priority==="urgent"?"#b91c1c":v.priority==="high"?"#b45309":"#4338ca",backgroundColor:v.priority==="low"?"#ecfdf5":v.priority==="urgent"?"#fef2f2":v.priority==="high"?"#fffbeb":"#eef2ff",padding:"2px 6px",borderRadius:"4px",textTransform:"uppercase",border:"1px solid",borderColor:v.priority==="low"?"#d1fae5":v.priority==="urgent"?"#fee2e2":v.priority==="high"?"#fef3c7":"#e0e7ff"},children:e[v.priority||"medium"]}),v.status==="completed"||v.status==="done"?d.jsxs("span",{"data-vg-id":"8161ccf","data-source-path":"/src/components/ViewGateOverlay.tsx:3446",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:"#059669",background:"#ecfdf5",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:"1px solid #d1fae5"},children:[d.jsx(Le,{"data-vg-id":"a75c1ae0","data-source-path":"/src/components/ViewGateOverlay.tsx:3459",size:10}),e.completed]}):v.status==="ready_for_review"?d.jsxs("span",{"data-vg-id":"8161cd1","data-source-path":"/src/components/ViewGateOverlay.tsx:3463",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:"#a855f7",background:"#f3e8ff",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:"1px solid #e9d5ff"},children:[v.type==="bug"||v.status==="bug_fixing"||v.originalStatus==="bug_fixing"?d.jsx(Et,{"data-vg-id":"3b8b1880","data-source-path":"/src/components/ViewGateOverlay.tsx:3476",size:10}):d.jsx(Le,{"data-vg-id":"a75c1af8","data-source-path":"/src/components/ViewGateOverlay.tsx:3476",size:10}),e.readyForReview]}):v.status==="bug_fixing"?d.jsxs("span",{"data-vg-id":"8161ce9","data-source-path":"/src/components/ViewGateOverlay.tsx:3480",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:"#e11d48",background:"#fff1f2",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:"1px solid #ffe4e6"},children:[d.jsx(Et,{"data-vg-id":"3b8b1898","data-source-path":"/src/components/ViewGateOverlay.tsx:3493",size:10}),"Bug Fixing"]}):d.jsxs("span",{"data-vg-id":"8161ceb","data-source-path":"/src/components/ViewGateOverlay.tsx:3497",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:c||v.status==="backlog"?"#64748b":"#ea580c",background:c||v.status==="backlog"?"#f1f5f9":"#fff7ed",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:c||v.status==="backlog"?"1px solid #e2e8f0":"1px solid #ffedd5"},children:[d.jsx(mo,{"data-vg-id":"62dc6cb4","data-source-path":"/src/components/ViewGateOverlay.tsx:3510",size:10}),c||v.status==="backlog"?e.backlog:e.pending]})]})]},v._id))})]}),d.jsxs("div",{"data-vg-id":"2e783058","data-source-path":"/src/components/ViewGateOverlay.tsx:3520",className:`vg-formal-pin ${J?"completed":NA||Ie?"ready":yA?"bug":CA?"mixed":c?"backlog":""} ${l.isTriggerPin?"modal-variant":""}`,style:{position:"relative",background:yA&&!NA&&!J?"linear-gradient(135deg, #f43f5e 0%, #e11d48 100%)":NA?"linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)":CA?nA?"linear-gradient(135deg, #10b981 0%, #059669 100%)":"linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)":void 0},children:[NA||J||Ie?yA&&!J?d.jsx(Et,{"data-vg-id":"3b8b189c","data-source-path":"/src/components/ViewGateOverlay.tsx:3527",size:18}):d.jsx(Le,{"data-vg-id":"a75c1aff","data-source-path":"/src/components/ViewGateOverlay.tsx:3527",size:18}):yA?d.jsx(Et,{"data-vg-id":"3b8b189e","data-source-path":"/src/components/ViewGateOverlay.tsx:3527",size:18}):l.isTriggerPin?d.jsx(Ts,{"data-vg-id":"d88161c1","data-source-path":"/src/components/ViewGateOverlay.tsx:3527",size:16}):R?d.jsx(Zc,{"data-vg-id":"5c2be0c2","data-source-path":"/src/components/ViewGateOverlay.tsx:3527",size:16}):d.jsx(cr,{"data-vg-id":"7fe17c6","data-source-path":"/src/components/ViewGateOverlay.tsx:3527",size:16}),M>1&&d.jsx("div",{"data-vg-id":"2e783074","data-source-path":"/src/components/ViewGateOverlay.tsx:3530",className:"vg-pin-badge vg-animate-pop",children:M})]})]},`group-${l.id}`)}),d.jsx("div",{className:`vg-url-tooltip ${tt?"visible":""} ${tt?.direction==="bottom"?"vg-bottom":"vg-top"}`,style:{transform:tt?`translate(-50%, ${tt.direction==="top"?"-110%":"10%"})`:"translate(-50%, 0)",left:tt?.x||0,top:tt?.y||0},children:tt?.url}),j&&d.jsx("div",{"data-vg-id":"2e783075","data-source-path":"/src/components/ViewGateOverlay.tsx:3555",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(0, 0, 0, 0.75)",backdropFilter:"blur(16px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:Ar+100,animation:"vg-fade-in 0.3s ease-out"},onClick:l=>{l.target===l.currentTarget&&q(!1)},children:d.jsxs("div",{"data-vg-id":"2e783076","data-source-path":"/src/components/ViewGateOverlay.tsx:3564",className:"vg-glassmorphism vg-animate-pop",style:{width:"95%",maxWidth:"800px",height:"85vh",maxHeight:"850px",display:"flex",flexDirection:"column",overflow:"hidden",boxShadow:"0 50px 100px rgba(0,0,0,0.6)",borderRadius:"32px",border:"1px solid rgba(255, 255, 255, 0.15)",backgroundColor:"rgba(255, 255, 255, 0.98)"},children:[d.jsxs("div",{"data-vg-id":"2e783077","data-source-path":"/src/components/ViewGateOverlay.tsx:3577",style:{padding:"32px 40px",borderBottom:"1px solid rgba(0,0,0,0.06)",display:"flex",alignItems:"center",justifyContent:"space-between",background:"white"},children:[d.jsxs("div",{"data-vg-id":"2e783078","data-source-path":"/src/components/ViewGateOverlay.tsx:3578",children:[d.jsx("h3",{"data-vg-id":"53ec58f","data-source-path":"/src/components/ViewGateOverlay.tsx:3579",style:{margin:0,fontSize:"24px",fontWeight:900,letterSpacing:"-0.03em",color:"#0f172a"},children:A==="es"?"Selector de Endpoints":"Endpoint Selector"}),d.jsx("p",{"data-vg-id":"f01af959","data-source-path":"/src/components/ViewGateOverlay.tsx:3582",style:{margin:"6px 0 0 0",fontSize:"14px",color:"#64748b",fontWeight:500},children:A==="es"?"Asocia múltiples rutas backend a este ticket para mayor precisión":"Associate multiple backend routes to this ticket for better precision"})]}),d.jsx("button",{"data-vg-id":"5861bd78","data-source-path":"/src/components/ViewGateOverlay.tsx:3586",onClick:()=>q(!1),className:"vg-close-pill",style:{width:"40px",height:"40px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"14px",background:"#f1f5f9",color:"#64748b",border:"none",cursor:"pointer",transition:"all 0.2s"},onMouseEnter:l=>{l.currentTarget.style.background="#e2e8f0",l.currentTarget.style.color="#0f172a"},onMouseLeave:l=>{l.currentTarget.style.background="#f1f5f9",l.currentTarget.style.color="#64748b"},children:d.jsx(lr,{"data-vg-id":"eec8c558","data-source-path":"/src/components/ViewGateOverlay.tsx:3593",size:20,strokeWidth:2.5})})]}),d.jsx("div",{"data-vg-id":"2e783092","data-source-path":"/src/components/ViewGateOverlay.tsx:3597",style:{padding:"24px 40px",borderBottom:"1px solid rgba(0,0,0,0.06)",background:"#fcfcfc"},children:d.jsxs("div",{"data-vg-id":"2e783093","data-source-path":"/src/components/ViewGateOverlay.tsx:3598",style:{position:"relative"},children:[d.jsx(nl,{"data-vg-id":"8f7bad27","data-source-path":"/src/components/ViewGateOverlay.tsx:3599",size:20,style:{position:"absolute",left:"16px",top:"50%",transform:"translateY(-50%)",color:"#94a3b8"}}),d.jsx("input",{"data-vg-id":"88e38ace","data-source-path":"/src/components/ViewGateOverlay.tsx:3600",type:"text",placeholder:A==="es"?"Buscar rutas, métodos o descripciones...":"Search routes, methods, or descriptions...",value:m,onChange:l=>D(l.target.value),className:"vg-textarea",style:{padding:"14px 16px 14px 50px",fontSize:"16px",minHeight:"auto",borderRadius:"16px",border:"1px solid #e2e8f0",backgroundColor:"white",boxShadow:"0 2px 8px rgba(0,0,0,0.04)"},autoFocus:!0})]})}),d.jsx("div",{"data-vg-id":"2e783096","data-source-path":"/src/components/ViewGateOverlay.tsx:3620",style:{flex:1,overflowY:"auto",overflowX:"hidden",padding:"24px 40px"},className:"vg-custom-scrollbar",children:ve?tc.length>0?d.jsx("div",{"data-vg-id":"2e78309a","data-source-path":"/src/components/ViewGateOverlay.tsx:3627",style:{display:"flex",flexDirection:"column",gap:"0px"},children:tc.map(l=>{const F=l.name===(A==="es"?"Seleccionados":"Selected");return d.jsxs("div",{"data-vg-id":"2e78333b","data-source-path":"/src/components/ViewGateOverlay.tsx:3631",style:{marginBottom:"32px"},children:[d.jsxs("div",{"data-vg-id":"2e78333c","data-source-path":"/src/components/ViewGateOverlay.tsx:3632",style:{display:"flex",alignItems:"center",gap:"12px",marginBottom:"16px",padding:"0 4px"},children:[d.jsx("span",{"data-vg-id":"8161fd2","data-source-path":"/src/components/ViewGateOverlay.tsx:3633",style:{fontSize:"11px",fontWeight:900,textTransform:"uppercase",letterSpacing:"0.1em",color:F?"#10b981":"#6366f1",backgroundColor:F?"rgba(10, 185, 129, 0.08)":"rgba(99, 102, 241, 0.08)",padding:"4px 10px",borderRadius:"6px",border:"1px solid",borderColor:F?"rgba(10, 185, 129, 0.1)":"rgba(99, 102, 241, 0.1)"},children:l.name}),d.jsx("div",{"data-vg-id":"2e78333e","data-source-path":"/src/components/ViewGateOverlay.tsx:3647",style:{flex:1,height:"1px",background:`linear-gradient(90deg, ${F?"rgba(16, 185, 129, 0.15)":"rgba(99, 102, 241, 0.15)"} 0%, transparent 100%)`}})]}),d.jsx("div",{"data-vg-id":"2e78333f","data-source-path":"/src/components/ViewGateOverlay.tsx:3654",style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(340px, 1fr))",gap:"12px"},children:l.endpoints.map(Q=>{const b=`${Q.method}|${Q.path}`,R=W.includes(b);return d.jsxs("div",{"data-vg-id":"2e783340","data-source-path":"/src/components/ViewGateOverlay.tsx:3663",onClick:()=>{WA(R?W.filter(O=>O!==b):[...W,b])},style:{padding:"16px 20px",borderRadius:"18px",cursor:"pointer",transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",background:R?"#f5f7ff":"#ffffff",border:"1px solid",borderColor:R?"rgba(99, 102, 241, 0.2)":"#f1f5f9",display:"flex",alignItems:"center",gap:"16px",boxShadow:R?"0 4px 12px rgba(99, 102, 241, 0.08)":"none"},onMouseEnter:O=>{R||(O.currentTarget.style.background="#f8fafc",O.currentTarget.style.borderColor="#e2e8f0")},onMouseLeave:O=>{R||(O.currentTarget.style.background="#ffffff",O.currentTarget.style.borderColor="#f1f5f9")},children:[d.jsx("div",{"data-vg-id":"2e783341","data-source-path":"/src/components/ViewGateOverlay.tsx:3695",style:{width:"24px",height:"24px",borderRadius:"8px",border:"2px solid",borderColor:R?"#6366f1":"#cbd5e1",backgroundColor:R?"#6366f1":"white",display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s",flexShrink:0},children:R&&d.jsx("div",{"data-vg-id":"2e783342","data-source-path":"/src/components/ViewGateOverlay.tsx:3708",style:{color:"white",fontSize:"14px",fontWeight:900},children:"✓"})}),d.jsxs("div",{"data-vg-id":"2e783343","data-source-path":"/src/components/ViewGateOverlay.tsx:3710",style:{flex:1,minWidth:0},children:[d.jsxs("div",{"data-vg-id":"2e783344","data-source-path":"/src/components/ViewGateOverlay.tsx:3711",style:{display:"flex",alignItems:"center",gap:"10px"},children:[d.jsx("span",{"data-vg-id":"8161fef","data-source-path":"/src/components/ViewGateOverlay.tsx:3712",style:{fontSize:"11px",fontWeight:800,padding:"3px 8px",borderRadius:"8px",background:Q.method==="GET"?"#dcfce7":"#fee2e2",color:Q.method==="GET"?"#166534":"#991b1b",flexShrink:0},children:Q.method}),d.jsx("span",{"data-vg-id":"8161ff0","data-source-path":"/src/components/ViewGateOverlay.tsx:3723",style:{fontWeight:700,color:R?"#4338ca":"#1e293b",fontSize:"14px",wordBreak:"break-all"},children:Q.path})]}),Q.description&&d.jsx("div",{"data-vg-id":"2e78335c","data-source-path":"/src/components/ViewGateOverlay.tsx:3733",style:{fontSize:"12px",color:"#64748b",marginTop:"6px",wordBreak:"break-word",fontWeight:450,lineHeight:1.4},children:Q.description})]})]},b)})})]},l.name)})}):d.jsxs("div",{"data-vg-id":"2e78335d","data-source-path":"/src/components/ViewGateOverlay.tsx:3754",style:{padding:"80px 20px",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center"},children:[d.jsx("div",{"data-vg-id":"2e78335e","data-source-path":"/src/components/ViewGateOverlay.tsx:3755",style:{width:"80px",height:"80px",borderRadius:"24px",backgroundColor:"#f1f5f9",display:"flex",alignItems:"center",justifyContent:"center",marginBottom:"24px"},children:d.jsx(ir,{"data-vg-id":"b1e4c61b","data-source-path":"/src/components/ViewGateOverlay.tsx:3756",size:40,style:{color:"#94a3b8"}})}),d.jsx("p",{"data-vg-id":"f01afc3f","data-source-path":"/src/components/ViewGateOverlay.tsx:3758",style:{color:"#0f172a",fontSize:"18px",fontWeight:800,margin:"0 0 8px 0"},children:A==="es"?"No encontramos lo que buscas":"No results found"}),d.jsx("p",{"data-vg-id":"f01afc40","data-source-path":"/src/components/ViewGateOverlay.tsx:3761",style:{color:"#64748b",fontSize:"15px",margin:0},children:A==="es"?"Intenta buscar con otros términos o revisa la sincronización":"Try searching with different terms or check synchronization"})]}):d.jsxs("div",{"data-vg-id":"2e783097","data-source-path":"/src/components/ViewGateOverlay.tsx:3622",style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"100px 0",gap:"20px"},children:[d.jsx("div",{"data-vg-id":"2e783098","data-source-path":"/src/components/ViewGateOverlay.tsx:3623",className:"vg-spinner",style:{width:"40px",height:"40px",border:"3px solid rgba(99, 102, 241, 0.1)",borderTopColor:"#6366f1"}}),d.jsx("p",{"data-vg-id":"f01af978","data-source-path":"/src/components/ViewGateOverlay.tsx:3624",style:{color:"#64748b",fontSize:"15px",fontWeight:600},children:A==="es"?"Cargando endpoints...":"Loading endpoints..."})]})}),d.jsxs("div",{"data-vg-id":"2e783362","data-source-path":"/src/components/ViewGateOverlay.tsx:3768",style:{padding:"24px 40px",borderTop:"1px solid rgba(0,0,0,0.06)",background:"white",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"20px"},children:[d.jsxs("div",{"data-vg-id":"2e783363","data-source-path":"/src/components/ViewGateOverlay.tsx:3769",style:{display:"flex",alignItems:"center",gap:"12px"},children:[d.jsxs("div",{"data-vg-id":"2e783379","data-source-path":"/src/components/ViewGateOverlay.tsx:3770",style:{padding:"6px 12px",background:"#f1f5f9",borderRadius:"10px",fontSize:"14px",fontWeight:700,color:"#475569"},children:[W.length," ",A==="es"?"seleccionados":"selected"]}),W.length>0&&d.jsx("button",{"data-vg-id":"5861c077","data-source-path":"/src/components/ViewGateOverlay.tsx:3774",onClick:()=>WA([]),style:{background:"none",border:"none",color:"#6366f1",fontSize:"14px",fontWeight:700,cursor:"pointer",padding:"4px 8px"},children:A==="es"?"Desmarcar todos":"Deselect all"})]}),d.jsx("div",{"data-vg-id":"2e78337b","data-source-path":"/src/components/ViewGateOverlay.tsx:3782",style:{display:"flex",gap:"12px"},children:d.jsx("button",{"data-vg-id":"5861c079","data-source-path":"/src/components/ViewGateOverlay.tsx:3783",onClick:()=>q(!1),style:{minWidth:"160px",padding:"14px 28px",borderRadius:"16px",fontSize:"15px",fontWeight:850,border:"none",background:"var(--vg-primary-gradient)",color:"white",cursor:"pointer",boxShadow:"0 10px 25px -5px rgba(99, 102, 241, 0.45)",transition:"all 0.2s",display:"flex",alignItems:"center",justifyContent:"center"},onMouseEnter:l=>{l.currentTarget.style.transform="translateY(-2px)",l.currentTarget.style.boxShadow="0 15px 30px -5px rgba(99, 102, 241, 0.6)"},onMouseLeave:l=>{l.currentTarget.style.transform="translateY(0)",l.currentTarget.style.boxShadow="0 10px 25px -5px rgba(99, 102, 241, 0.45)"},children:A==="es"?"Confirmar Selección":"Confirm Selection"})})]})]})})]})})};function Rn(t,A,e){if(!A.endsWith(".tsx")&&!A.endsWith(".jsx")||A.includes("node_modules"))return t;const r=B=>B.replace(/\\/g,"/"),s=r(A).replace(r(e),""),n=B=>{let c=0;for(let g=0;g<B.length;g++)c=Math.imul(31,c)+B.charCodeAt(g)|0;return(c>>>0).toString(16)};let o=0;return t.split(`
20
- `).map((B,c)=>{const g=c+1;return B.replace(/(^|[^a-zA-Z0-9])<([a-zA-Z][a-zA-Z0-9\.]*)(?=[ \t\n\/\>])/g,(f,u,h)=>{if(f.includes("data-source-path")||f.includes("data-vg-id")||h==="Fragment"||h==="React.Fragment")return f;o++;const w=n(`${s}:${h}:${o}`);return`${u}<${h} data-vg-id="${w}" data-source-path="${s}:${g}"`})}).join(`
21
- `)}function Bw(){return{name:"vite-plugin-viewgate",enforce:"pre",transform(t,A){return{code:Rn(t,A,process.cwd()),map:null}}}}function gw(t){const A=this.resourcePath;return A?(this.getOptions&&this.getOptions(),Rn(t,A,process.cwd())):t}function uw(t){return gw.call(this,t)}zA.ViewGate=cl,zA.ViewGateOverlay=Xi,zA.transformSourcePaths=Rn,zA.useViewGate=yo,zA.viewgateNextLoader=uw,zA.viewgatePlugin=Bw,Object.defineProperty(zA,Symbol.toStringTag,{value:"Module"})}));
14
+ ${H.rect.left}px ${H.rect.top}px,
15
+ ${H.rect.right}px ${H.rect.top}px,
16
+ ${H.rect.right}px ${H.rect.bottom}px,
17
+ ${H.rect.left}px ${H.rect.bottom}px,
18
+ ${H.rect.left}px ${H.rect.top}px
19
+ )`:"none",zIndex:Cp}}),f&&H&&!K&&!DA&&i.jsx("div",{className:"vg-selection-pulse",style:{top:H.rect.top-4,left:H.rect.left-4,width:H.rect.width+8,height:H.rect.height+8,zIndex:Qp},children:i.jsxs("div",{className:"vg-selection-label",style:{...H.rect.top<60?H.rect.bottom>window.innerHeight-60?{top:"8px",bottom:"auto"}:{top:"100%",marginTop:"8px",bottom:"auto"}:{top:"-40px",bottom:"auto"},...H.rect.left+200>window.innerWidth?{left:"auto",right:"0"}:{left:"0",right:"auto"}},children:[i.jsx(ml,{"data-vg-id":"f840c8ce","data-source-path":"/src/components/ViewGateOverlay.tsx:2458",size:16}),i.jsxs("div",{"data-vg-id":"17fbf98","data-source-path":"/src/components/ViewGateOverlay.tsx:2459",style:{display:"flex",flexDirection:"column"},children:[i.jsx("span",{"data-vg-id":"52d76c64","data-source-path":"/src/components/ViewGateOverlay.tsx:2460",style:{fontWeight:700},children:s.selectToComment}),i.jsxs("span",{"data-vg-id":"52d76c65","data-source-path":"/src/components/ViewGateOverlay.tsx:2461",style:{fontSize:"10px",opacity:.8,fontFamily:"monospace"},children:[Math.round(H.rect.width)," × ",Math.round(H.rect.height)]})]})]})}),K&&!tA&&i.jsx("div",{"data-vg-id":"17fbf9b","data-source-path":"/src/components/ViewGateOverlay.tsx:2471",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(15, 23, 42, 0.4)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:Ct},children:i.jsxs("div",{"data-vg-id":"17fbf9c","data-source-path":"/src/components/ViewGateOverlay.tsx:2476",className:"vg-glassmorphism vg-animate-slide",style:{width:"90%",maxWidth:"440px",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",overflow:"hidden",padding:"40px 32px"},children:[i.jsxs("div",{"data-vg-id":"17fbf9d","data-source-path":"/src/components/ViewGateOverlay.tsx:2485",style:{textAlign:"center",marginBottom:"32px"},children:[i.jsx("div",{"data-vg-id":"17fbf9e","data-source-path":"/src/components/ViewGateOverlay.tsx:2486",style:{width:"64px",height:"64px",background:"var(--vg-primary-gradient)",borderRadius:"20px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 20px",color:"white",boxShadow:"0 8px 16px rgba(99, 102, 241, 0.2)"},children:i.jsx(wl,{"data-vg-id":"422a5ede","data-source-path":"/src/components/ViewGateOverlay.tsx:2491",size:32})}),i.jsx("h2",{"data-vg-id":"efa6bb80","data-source-path":"/src/components/ViewGateOverlay.tsx:2493",style:{margin:"0 0 12px 0",fontSize:"24px",fontWeight:800,color:"#0f172a",letterSpacing:"-0.02em"},children:e==="es"?"Acceso Requerido":"Authentication Required"}),i.jsx("p",{"data-vg-id":"1000def7","data-source-path":"/src/components/ViewGateOverlay.tsx:2496",style:{margin:0,color:"#64748b",fontSize:"15px",lineHeight:1.6},children:e==="es"?"Para dejar comentarios, debes iniciar sesión con tu cuenta de ViewGate.":"To leave feedback, please sign in with your ViewGate account."})]}),i.jsxs("button",{onClick:uc,className:"vg-button-primary",style:{width:"100%",padding:"14px",display:"flex",alignItems:"center",justifyContent:"center",gap:"12px",fontSize:"15px",fontWeight:700,marginBottom:"16px"},children:[i.jsxs("svg",{"data-vg-id":"1bc8d104","data-source-path":"/src/components/ViewGateOverlay.tsx:2518",width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor",children:[i.jsx("path",{"data-vg-id":"9b950dc8","data-source-path":"/src/components/ViewGateOverlay.tsx:2519",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),i.jsx("path",{"data-vg-id":"9b950dc9","data-source-path":"/src/components/ViewGateOverlay.tsx:2520",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),i.jsx("path",{"data-vg-id":"9b950dca","data-source-path":"/src/components/ViewGateOverlay.tsx:2521",d:"M5.84 14.1c-.22-.66-.35-1.36-.35-2.1s.13-1.44.35-2.1V7.06H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.94l3.66-2.84z",fill:"#FBBC05"}),i.jsx("path",{"data-vg-id":"9b950dcb","data-source-path":"/src/components/ViewGateOverlay.tsx:2522",d:"M12 5.38c1.62 0 3.06.56 4.21 1.66l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.06l3.66 2.84c.87-2.6 3.3-4.52 6.16-4.52z",fill:"#EA4335"})]}),e==="es"?"Continuar con Google":"Continue with Google"]}),i.jsx("button",{onClick:()=>{_(null),h(!1)},className:"vg-button-ghost",style:{width:"100%",padding:"12px",fontSize:"14px"},children:s.cancel}),i.jsx("div",{"data-vg-id":"17fbfbc","data-source-path":"/src/components/ViewGateOverlay.tsx:2538",style:{marginTop:"24px",textAlign:"center"},children:i.jsx("p",{"data-vg-id":"1000defe","data-source-path":"/src/components/ViewGateOverlay.tsx:2539",style:{fontSize:"11px",color:"#94a3b8",margin:0},children:e==="es"?"Tu sesión se sincronizará con el Dashboard principal.":"Your session will be synced with the main Dashboard."})})]})}),K&&SA&&i.jsx("div",{"data-vg-id":"17fbfd3","data-source-path":"/src/components/ViewGateOverlay.tsx:2551",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(15, 23, 42, 0.4)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:Ct},children:i.jsxs("div",{"data-vg-id":"17fbfd4","data-source-path":"/src/components/ViewGateOverlay.tsx:2556",className:"vg-glassmorphism vg-animate-slide",style:{width:"90%",maxWidth:"700px",maxHeight:"92vh",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",overflow:"hidden"},children:[i.jsxs("div",{"data-vg-id":"17fbfd5","data-source-path":"/src/components/ViewGateOverlay.tsx:2566",style:{padding:"24px 24px 16px",textAlign:"center",borderBottom:"1px solid rgba(0,0,0,0.05)",flexShrink:0,position:"relative"},children:[SA&&i.jsxs("div",{"data-vg-id":"17fbfd6","data-source-path":"/src/components/ViewGateOverlay.tsx:2568",className:"vg-profile-info-card",style:{position:"absolute",top:"20px",right:"20px",display:"flex",alignItems:"center",gap:"8px",padding:"4px 8px",borderRadius:"20px",background:"white",border:"1px solid #e2e8f0",boxShadow:"0 2px 6px rgba(0,0,0,0.05)",zIndex:10},children:[i.jsx("span",{"data-vg-id":"52d76ca2","data-source-path":"/src/components/ViewGateOverlay.tsx:2585",style:{fontSize:"10px",fontWeight:800,color:"#64748b",textTransform:"uppercase"},children:SA.name.split(" ")[0]}),SA.avatar?i.jsx("img",{"data-vg-id":"a398766","data-source-path":"/src/components/ViewGateOverlay.tsx:2589",src:SA.avatar,style:{width:"24px",height:"24px",borderRadius:"50%"},alt:""}):i.jsx("div",{"data-vg-id":"17fbfd9","data-source-path":"/src/components/ViewGateOverlay.tsx:2591",style:{width:"24px",height:"24px",borderRadius:"50%",background:"#6366f1",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"10px",fontWeight:700},children:SA.name?.[0]})]}),i.jsx("div",{"data-vg-id":"17fbfda","data-source-path":"/src/components/ViewGateOverlay.tsx:2597",style:{width:"40px",height:"40px",background:"var(--vg-primary-gradient)",borderRadius:"10px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 12px",color:"white",boxShadow:"0 4px 12px rgba(99, 102, 241, 0.2)"},children:i.jsx(Us,{"data-vg-id":"10c62228","data-source-path":"/src/components/ViewGateOverlay.tsx:2602",size:20})}),i.jsx("h2",{"data-vg-id":"efa6bba7","data-source-path":"/src/components/ViewGateOverlay.tsx:2604",style:{margin:"0 0 4px 0",fontSize:"20px",fontWeight:800,color:"#0f172a"},children:s.feedbackHeader}),i.jsx("p",{"data-vg-id":"1000df33","data-source-path":"/src/components/ViewGateOverlay.tsx:2605",style:{margin:0,color:"#64748b",fontSize:"14px"},children:s.feedbackSubheader})]}),i.jsxs("div",{"data-vg-id":"17fbff3","data-source-path":"/src/components/ViewGateOverlay.tsx:2609",className:"vg-custom-scrollbar",style:{flex:1,overflowY:"auto",padding:"24px",display:"flex",flexDirection:"column"},children:[K.visualPreview&&i.jsx("div",{"data-vg-id":"17fbff4","data-source-path":"/src/components/ViewGateOverlay.tsx:2618",style:{marginBottom:"24px",borderRadius:"12px",width:"100%",display:"flex",justifyContent:"center",margin:"0 auto 24px auto",boxShadow:"0 4px 25px rgba(0,0,0,0.12)",backgroundColor:"#f8fafc",border:"1px solid #e2e8f0",padding:"8px"},children:i.jsx("img",{src:K.visualPreview,alt:"Preview",style:{maxWidth:"100%",maxHeight:"45vh",objectFit:"contain",display:"block",borderRadius:"8px"}})}),i.jsx("textarea",{className:"vg-textarea",value:W,onChange:d=>R(d.target.value),rows:4,placeholder:s.placeholder,autoFocus:!0,style:{fontSize:"15px",padding:"16px",marginBottom:"24px",minHeight:"120px"}}),i.jsxs("div",{"data-vg-id":"17fbff5","data-source-path":"/src/components/ViewGateOverlay.tsx:2655",style:{marginBottom:"24px"},children:[i.jsx("label",{"data-vg-id":"18bd4b33","data-source-path":"/src/components/ViewGateOverlay.tsx:2656",style:{fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",display:"block"},children:s.priority}),i.jsx("div",{"data-vg-id":"17fbff7","data-source-path":"/src/components/ViewGateOverlay.tsx:2659",style:{display:"flex",gap:"8px"},children:["low","medium","high","urgent"].map(d=>i.jsx("button",{onClick:()=>C(d),style:{flex:1,padding:"12px 6px",borderRadius:"8px",fontSize:"13px",fontWeight:700,border:"1px solid",borderColor:w===d?d==="low"?"#10b981":d==="medium"?"#6366f1":d==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:w===d?d==="low"?"#ecfdf5":d==="medium"?"#eef2ff":d==="high"?"#fffbeb":"#fef2f2":"white",color:w===d?d==="low"?"#059669":d==="medium"?"#4338ca":d==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:s[d]},d))})]}),i.jsxs("div",{"data-vg-id":"17fbff8","data-source-path":"/src/components/ViewGateOverlay.tsx:2686",style:{marginBottom:"24px"},children:[i.jsx("label",{"data-vg-id":"18bd4b36","data-source-path":"/src/components/ViewGateOverlay.tsx:2687",style:{fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",display:"block"},children:s.focusAreas}),i.jsx("div",{"data-vg-id":"17fbffa","data-source-path":"/src/components/ViewGateOverlay.tsx:2690",style:{display:"flex",gap:"8px",marginBottom:N.length>0?"12px":"0"},children:[{id:"frontend",label:s.frontend,icon:i.jsx(xs,{"data-vg-id":"377c172e","data-source-path":"/src/components/ViewGateOverlay.tsx:2692",size:14}),color:"#10b981",bg:"#ecfdf5",border:"#d1fae5"},{id:"backend",label:s.backend,icon:i.jsx(Te,{"data-vg-id":"7117e5d5","data-source-path":"/src/components/ViewGateOverlay.tsx:2693",size:14}),color:"#6366f1",bg:"#eef2ff",border:"#e0e7ff"},{id:"ux",label:s.ux,icon:i.jsx(Ot,{"data-vg-id":"de42479a","data-source-path":"/src/components/ViewGateOverlay.tsx:2694",size:14}),color:"#d946ef",bg:"#fdf4ff",border:"#f5d0fe"}].filter(d=>d.id==="backend"?gc:d.id==="ux"?te:!0).map(d=>{const u=N.includes(d.id);return i.jsxs("button",{onClick:()=>{u?yA(N.filter(p=>p!==d.id)):(yA([...N,d.id]),d.id==="backend"&&yr())},style:{flex:1,padding:"10px 4px",borderRadius:"8px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:u?d.color:"#e2e8f0",backgroundColor:u?d.bg:"white",color:u?d.color:"#64748b",cursor:"pointer",transition:"all 0.2s",display:"flex",alignItems:"center",justifyContent:"center",gap:"6px"},children:[d.icon,d.label]},d.id)})}),N.includes("ux")&&i.jsxs("div",{"data-vg-id":"17fc013","data-source-path":"/src/components/ViewGateOverlay.tsx:2741",className:"vg-animate-slide",style:{marginBottom:"16px"},children:[i.jsxs("div",{"data-vg-id":"17fc014","data-source-path":"/src/components/ViewGateOverlay.tsx:2742",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"8px"},children:[i.jsxs("div",{"data-vg-id":"17fc015","data-source-path":"/src/components/ViewGateOverlay.tsx:2743",style:{display:"flex",alignItems:"center",gap:"6px"},children:[i.jsx(en,{"data-vg-id":"38884e11","data-source-path":"/src/components/ViewGateOverlay.tsx:2744",size:14,style:{color:"#d946ef"}}),i.jsx("span",{"data-vg-id":"52d76ce2","data-source-path":"/src/components/ViewGateOverlay.tsx:2745",style:{fontSize:"11px",fontWeight:800,color:"#64748b",textTransform:"uppercase",letterSpacing:"0.05em"},children:s.figmaLink})]}),i.jsxs("button",{"data-vg-id":"23e21f7b","data-source-path":"/src/components/ViewGateOverlay.tsx:2749",onClick:()=>HA([...$,{name:"",link:""}]),style:{background:"rgba(217, 70, 239, 0.1)",border:"1px solid rgba(217, 70, 239, 0.2)",color:"#d946ef",borderRadius:"6px",padding:"4px 8px",fontSize:"10px",fontWeight:800,display:"flex",alignItems:"center",gap:"4px",cursor:"pointer",transition:"all 0.2s"},onMouseEnter:d=>d.currentTarget.style.background="rgba(217, 70, 239, 0.15)",onMouseLeave:d=>d.currentTarget.style.background="rgba(217, 70, 239, 0.1)",children:[i.jsx(Cl,{"data-vg-id":"11a60c74","data-source-path":"/src/components/ViewGateOverlay.tsx:2768",size:10})," ",s.addLink]})]}),i.jsx("div",{"data-vg-id":"17fc01a","data-source-path":"/src/components/ViewGateOverlay.tsx:2772",style:{display:"flex",flexDirection:"column",gap:"8px"},children:$.map((d,u)=>i.jsxs("div",{"data-vg-id":"17fc030","data-source-path":"/src/components/ViewGateOverlay.tsx:2774",style:{display:"flex",gap:"6px",alignItems:"flex-start"},className:"vg-animate-slide",children:[i.jsxs("div",{"data-vg-id":"17fc031","data-source-path":"/src/components/ViewGateOverlay.tsx:2775",style:{flex:1,display:"flex",flexDirection:"column",gap:"4px"},children:[i.jsx("input",{"data-vg-id":"a993bad9","data-source-path":"/src/components/ViewGateOverlay.tsx:2776",type:"text",className:"vg-textarea",style:{padding:"8px 10px",fontSize:"11px",minHeight:"auto",borderRadius:"8px",border:"1px solid rgba(0,0,0,0.05)"},placeholder:s.figmaNamePlaceholder,value:d.name,onChange:p=>{const x=[...$];x[u]&&(x[u].name=p.target.value,HA(x))}}),i.jsx("input",{"data-vg-id":"a993bada","data-source-path":"/src/components/ViewGateOverlay.tsx:2790",type:"text",className:"vg-textarea",style:{padding:"8px 10px",fontSize:"11px",minHeight:"auto",borderRadius:"8px",border:"1px solid rgba(0,0,0,0.05)"},placeholder:s.figmaLinkPlaceholder,value:d.link,onChange:p=>{const x=[...$];x[u]&&(x[u].link=p.target.value,HA(x))}})]}),$.length>1&&i.jsx("button",{"data-vg-id":"23e21f97","data-source-path":"/src/components/ViewGateOverlay.tsx:2806",onClick:()=>HA($.filter((p,x)=>x!==u)),style:{background:"rgba(239, 68, 68, 0.05)",border:"1px solid rgba(239, 68, 68, 0.1)",color:"#ef4444",borderRadius:"8px",padding:"10px",cursor:"pointer",transition:"all 0.2s",display:"flex",alignItems:"center",justifyContent:"center"},onMouseEnter:p=>p.currentTarget.style.background="rgba(239, 68, 68, 0.1)",onMouseLeave:p=>p.currentTarget.style.background="rgba(239, 68, 68, 0.05)",children:i.jsx(Fs,{"data-vg-id":"e1375db0","data-source-path":"/src/components/ViewGateOverlay.tsx:2823",size:14})})]},u))})]}),ie.length>0&&N.includes("backend")&&i.jsxs("div",{"data-vg-id":"17fc036","data-source-path":"/src/components/ViewGateOverlay.tsx:2835",className:"vg-animate-slide",style:{marginBottom:"16px"},children:[i.jsxs("div",{"data-vg-id":"17fc037","data-source-path":"/src/components/ViewGateOverlay.tsx:2836",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"8px"},children:[i.jsxs("div",{"data-vg-id":"17fc038","data-source-path":"/src/components/ViewGateOverlay.tsx:2837",style:{display:"flex",alignItems:"center",gap:"6px"},children:[i.jsx(Te,{"data-vg-id":"7117e5fd","data-source-path":"/src/components/ViewGateOverlay.tsx:2838",size:14,style:{color:"#6366f1"}}),i.jsx("span",{"data-vg-id":"52d76d1a","data-source-path":"/src/components/ViewGateOverlay.tsx:2839",style:{fontSize:"11px",fontWeight:700,color:"#64748b"},children:s.endpoint})]}),X.length>0&&i.jsxs("span",{"data-vg-id":"52d76d1b","data-source-path":"/src/components/ViewGateOverlay.tsx:2842",style:{fontSize:"10px",background:"#eef2ff",color:"#6366f1",padding:"2px 8px",borderRadius:"12px",fontWeight:700},children:[X.length," ",e==="es"?"seleccionados":"selected"]})]}),i.jsxs("button",{"data-vg-id":"23e21fb4","data-source-path":"/src/components/ViewGateOverlay.tsx:2848",onClick:()=>YA(!0),className:"vg-input-like-button",style:{width:"100%",padding:"12px 16px",fontSize:"13px",borderRadius:"12px",background:"#f8fafc",border:"1px solid #e2e8f0",display:"flex",alignItems:"center",justifyContent:"space-between",cursor:"pointer",transition:"all 0.2s",textAlign:"left",color:X.length>0?"#0f172a":"#94a3b8"},children:[i.jsx("div",{"data-vg-id":"17fc052","data-source-path":"/src/components/ViewGateOverlay.tsx:2867",style:{display:"flex",gap:"4px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:X.length>0?X.slice(0,2).map(d=>{const u=d.split("|"),p=u.length>1?u[0]:"",x=u.length>1?u[1]:d;return i.jsxs("span",{"data-vg-id":"52d76d1e","data-source-path":"/src/components/ViewGateOverlay.tsx:2874",style:{background:"rgba(99, 102, 241, 0.1)",color:"#6366f1",padding:"1px 6px",borderRadius:"4px",fontSize:"11px",fontWeight:600},children:[p&&i.jsx("span",{"data-vg-id":"52d76d1f","data-source-path":"/src/components/ViewGateOverlay.tsx:2882",style:{opacity:.6,marginRight:"4px"},children:p}),(x||"").split("/").pop()||x]},d)}).concat(X.length>2?[i.jsxs("span",{"data-vg-id":"52d76d20","data-source-path":"/src/components/ViewGateOverlay.tsx:2886",children:["+",X.length-2]},"more")]:[]):s.selectEndpoint}),i.jsx(Vo,{"data-vg-id":"c71f9a0a","data-source-path":"/src/components/ViewGateOverlay.tsx:2889",size:14,style:{color:"#64748b"}})]})]})]})]}),i.jsxs("div",{"data-vg-id":"17fc057","data-source-path":"/src/components/ViewGateOverlay.tsx:2898",style:{padding:"16px 24px 24px",borderTop:"1px solid rgba(0,0,0,0.05)",display:"flex",gap:"12px",flexShrink:0,backgroundColor:"rgba(255,255,255,0.02)",backdropFilter:"blur(2px)"},children:[i.jsx("button",{onClick:()=>{lA||(_(null),h(!1))},className:"vg-button-ghost",disabled:lA,style:{flex:1,padding:"12px"},children:s.cancel}),i.jsx("button",{onClick:Gp,className:"vg-button-primary",disabled:lA||!W.trim()||N.includes("backend")&&X.length===0||N.includes("ux")&&$.some(d=>!d.name.trim()||!d.link.trim()),style:{flex:2,opacity:lA||!W.trim()||N.includes("backend")&&X.length===0||N.includes("ux")&&$.some(d=>!d.name.trim()||!d.link.trim())?.6:1,cursor:lA||!W.trim()||N.includes("backend")&&X.length===0||N.includes("ux")&&$.some(d=>!d.name.trim()||!d.link.trim())?"not-allowed":"pointer"},children:i.jsxs("div",{"data-vg-id":"17fc058","data-source-path":"/src/components/ViewGateOverlay.tsx:2936",style:{display:"flex",alignItems:"center",gap:"8px"},children:[lA?i.jsx("div",{"data-vg-id":"17fc06e","data-source-path":"/src/components/ViewGateOverlay.tsx:2937",className:"vg-spinner",style:{width:"16px",height:"16px",borderWidth:"2px"}}):i.jsx(xl,{"data-vg-id":"a3fd5c1c","data-source-path":"/src/components/ViewGateOverlay.tsx:2937",size:18}),i.jsx("span",{"data-vg-id":"52d76d3b","data-source-path":"/src/components/ViewGateOverlay.tsx:2938",children:lA?s.submitting:s.sendFeedback||"Send Comment"})]})})]})]})}),MA&&i.jsx("div",{"data-vg-id":"17fc071","data-source-path":"/src/components/ViewGateOverlay.tsx:2948",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(15, 23, 42, 0.6)",backdropFilter:"blur(4px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:Ct},children:i.jsxs("div",{"data-vg-id":"17fc072","data-source-path":"/src/components/ViewGateOverlay.tsx:2954",className:"vg-glassmorphism vg-animate-slide",style:{padding:"32px",width:"820px",maxHeight:"85vh",display:"flex",flexDirection:"column",transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:[i.jsxs("div",{"data-vg-id":"17fc073","data-source-path":"/src/components/ViewGateOverlay.tsx:2959",style:{display:"flex",flexDirection:"column",gap:"16px",marginBottom:"24px"},children:[i.jsxs("div",{"data-vg-id":"17fc074","data-source-path":"/src/components/ViewGateOverlay.tsx:2960",style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[i.jsx("h2",{"data-vg-id":"efa6bc40","data-source-path":"/src/components/ViewGateOverlay.tsx:2961",style:{margin:0,fontSize:"20px",fontWeight:800,color:"#0f172a",whiteSpace:"nowrap"},children:aA?s.commentDetails:s.annotations}),i.jsxs("div",{"data-vg-id":"17fc076","data-source-path":"/src/components/ViewGateOverlay.tsx:2964",style:{display:"flex",alignItems:"center",gap:"12px"},children:[SA?i.jsxs("div",{"data-vg-id":"17fc077","data-source-path":"/src/components/ViewGateOverlay.tsx:2966",style:{display:"flex",alignItems:"center",gap:"8px",padding:"4px 12px",background:"rgba(99, 102, 241, 0.1)",borderRadius:"20px"},children:[SA.avatar?i.jsx("img",{"data-vg-id":"3cf759ac","data-source-path":"/src/components/ViewGateOverlay.tsx:2968",src:SA.avatar,style:{width:"20px",height:"20px",borderRadius:"50%"},alt:""}):i.jsx("div",{"data-vg-id":"2e782f7b","data-source-path":"/src/components/ViewGateOverlay.tsx:2970",style:{width:"20px",height:"20px",borderRadius:"50%",background:"#6366f1",color:"white",fontSize:"10px",display:"flex",alignItems:"center",justifyContent:"center"},children:SA.name?.[0]}),i.jsx("span",{"data-vg-id":"8161c11","data-source-path":"/src/components/ViewGateOverlay.tsx:2974",style:{fontSize:"12px",fontWeight:600,color:"#4338ca"},children:SA.name})]}):i.jsx("div",{"data-vg-id":"2e782f7d","data-source-path":"/src/components/ViewGateOverlay.tsx:2981",style:{fontSize:"12px",color:"#64748b",fontWeight:600},children:e==="es"?"Sin usuario":"No user selected"}),i.jsx("button",{className:"vg-button-ghost",style:{padding:"8px",borderRadius:"50%"},onClick:()=>{Ce(!1),BA(null),Hr(null),T("all")},children:i.jsx(Kt,{"data-vg-id":"eec8c445","data-source-path":"/src/components/ViewGateOverlay.tsx:2990",size:20})})]})]}),i.jsx("div",{"data-vg-id":"2e782f7f","data-source-path":"/src/components/ViewGateOverlay.tsx:2994",style:{display:"flex",flexDirection:"column",gap:"8px",alignItems:"center",width:"100%"},children:(()=>{const d=Array.isArray(PA)?PA:[],u=aA?yt.find(L=>L.annotations?.some(gA=>gA._id===aA)):null,x=(u?u.annotations:d).filter(L=>L.status!=="completed"&&L.status!=="done"),E=x.filter(L=>L.status!=="ready_for_review").length,D=x.filter(L=>L.status==="ready_for_review").length,O=x.length;return O<=0?O===0?null:i.jsxs("div",{"data-vg-id":"2e782f80","data-source-path":"/src/components/ViewGateOverlay.tsx:3008",style:{display:"flex",gap:"8px",opacity:.9},children:[E>0&&i.jsxs("div",{"data-vg-id":"2e782f81","data-source-path":"/src/components/ViewGateOverlay.tsx:3010",className:"vg-badge",style:{background:"#fff7ed",color:"#c2410c",border:"1px solid #ffedd5",fontSize:"11px",padding:"2px 8px"},children:[E," ",E===1?"pendiente":"pendientes"]}),D>0&&i.jsxs("div",{"data-vg-id":"2e782f82","data-source-path":"/src/components/ViewGateOverlay.tsx:3015",className:"vg-badge",style:{background:"#f3e8ff",color:"#a855f7",border:"1px solid #e9d5ff",fontSize:"11px",padding:"2px 8px"},children:[D," ",e==="es"?D===1?"Listo para revisión":"Listos para revisión":"ready for review"]})]}):i.jsxs(i.Fragment,{children:[!B&&i.jsxs("div",{"data-vg-id":"2e782f83","data-source-path":"/src/components/ViewGateOverlay.tsx:3026",className:"vg-segmented-control",style:{marginBottom:"4px"},children:[i.jsx("div",{className:"vg-segmented-slider",style:{left:NA===null?"4px":NA==="pending"?"calc(4px + (100% - 8px) / 3)":"calc(4px + 2 * (100% - 8px) / 3)",width:"calc((100% - 8px) / 3)",background:NA===null?"var(--vg-primary)":NA==="pending"?"#ea580c":"#a855f7",boxShadow:NA===null?"0 4px 12px rgba(99, 102, 241, 0.3)":NA==="pending"?"0 4px 12px rgba(234, 88, 12, 0.3)":"0 4px 12px rgba(168, 85, 247, 0.3)"}}),i.jsxs("div",{onClick:()=>Hr(null),className:`vg-segmented-item ${NA===null?"active":""}`,children:[s.viewAll||"Todos"," (",O,")"]}),i.jsxs("div",{onClick:()=>Hr("pending"),className:`vg-segmented-item ${NA==="pending"?"active":""}`,children:[e==="es"?E===1?"Pendiente":"Pendientes":"Pending"," (",E,")"]}),i.jsxs("div",{onClick:()=>Hr("ready"),className:`vg-segmented-item ${NA==="ready"?"active":""}`,children:[e==="es"?"Listo para revisión":"Ready for Review"," (",D,")"]})]}),i.jsxs("div",{"data-vg-id":"2e782f99","data-source-path":"/src/components/ViewGateOverlay.tsx:3057",style:{display:"flex",gap:"6px",justifyContent:"center",flexWrap:"wrap",marginTop:B?"0":"4px"},children:[i.jsxs("button",{onClick:()=>T("all"),style:{padding:"8px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:m==="all"?"var(--vg-primary)":"#e2e8f0",backgroundColor:m==="all"?"var(--vg-primary)":"transparent",color:m==="all"?"white":"#64748b",cursor:"pointer",transition:"all 0.2s"},children:[s.viewAll||"Todos"," (",x.filter(L=>B?!0:NA==="pending"?L.status!=="ready_for_review":NA==="ready"?L.status==="ready_for_review":!0).length,")"]}),["low","medium","high","urgent"].map(L=>{const gA=x.filter(M=>B?!0:NA==="pending"?M.status!=="ready_for_review":NA==="ready"?M.status==="ready_for_review":!0).filter(M=>(M.priority||"medium")===L).length;return gA===0&&m!==L?null:i.jsxs("button",{onClick:()=>T(L),style:{padding:"8px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:700,border:"1px solid",borderColor:m===L?L==="low"?"#10b981":L==="medium"?"#6366f1":L==="high"?"#f59e0b":"#ef4444":"#e2e8f0",backgroundColor:m===L?L==="low"?"#ecfdf5":L==="medium"?"#eef2ff":L==="high"?"#fffbeb":"#fef2f2":"transparent",color:m===L?L==="low"?"#059669":L==="medium"?"#4338ca":L==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"uppercase"},children:[s[L]," (",gA,")"]},L)})]})]})})()})]}),i.jsx("div",{style:{flex:1,overflowY:"auto",paddingRight:"10px",overflowX:"hidden"},className:"vg-custom-scrollbar",children:tt?i.jsx("div",{"data-vg-id":"2e782f9a","data-source-path":"/src/components/ViewGateOverlay.tsx:3123",style:{display:"flex",justifyContent:"center",padding:"40px"},children:i.jsx("div",{"data-vg-id":"2e782f9b","data-source-path":"/src/components/ViewGateOverlay.tsx:3124",className:"vg-spinner"})}):Ir.map((d,u)=>i.jsxs("div",{className:"vg-glassmorphism vg-animate-slide",style:{padding:"20px",marginBottom:"16px",border:"1px solid rgba(0,0,0,0.05)",background:"rgba(255,255,255,0.5)",animationDelay:`${u*.05}s`},children:[i.jsxs("div",{"data-vg-id":"2e782f9c","data-source-path":"/src/components/ViewGateOverlay.tsx:3139",style:{display:"flex",justifyContent:"space-between",marginBottom:"16px",alignItems:"center"},children:[i.jsxs("div",{"data-vg-id":"2e782f9d","data-source-path":"/src/components/ViewGateOverlay.tsx:3140",style:{display:"flex",gap:"12px",alignItems:"center"},children:[i.jsx("span",{"data-vg-id":"8161c33","data-source-path":"/src/components/ViewGateOverlay.tsx:3141",style:{fontSize:"12px",color:"#000000",fontWeight:600},children:sc(d.timestamp||d.createdAt||d.reference?.timestamp,e)}),i.jsx("div",{"data-vg-id":"2e782f9f","data-source-path":"/src/components/ViewGateOverlay.tsx:3144",onClick:p=>{p.stopPropagation();const x=d.key||`VG-${d._id.slice(-6).toUpperCase()}`;navigator.clipboard.writeText(x);const E=p.currentTarget;E.innerText="¡Copiado!",E.style.color="#22c55e",setTimeout(()=>{E.innerText=x,E.style.color=B?"#64748b":"#6366f1"},1500)},style:{fontSize:"10px",fontFamily:"monospace",color:B?"#64748b":"#6366f1",background:B?"rgba(100, 116, 139, 0.1)":"rgba(99, 102, 241, 0.1)",padding:"2px 6px",borderRadius:"4px",cursor:"pointer",fontWeight:900,transition:"all 0.2s"},title:e==="es"?"Click para copiar":"Click to copy",children:d.key||`VG-${d._id.slice(-6).toUpperCase()}`}),d.reference?.metadata?.isModal&&i.jsx("span",{"data-vg-id":"8161c35","data-source-path":"/src/components/ViewGateOverlay.tsx:3173",className:"vg-badge",style:{fontSize:"10px",background:B?"#f1f5f9":d.status==="completed"||d.status==="done"?"#ecfdf5":d.status==="ready_for_review"?"#f3e8ff":"#fef3c7",color:B?"#64748b":d.status==="completed"||d.status==="done"?"#059669":d.status==="ready_for_review"?"#a855f7":"#92400e",border:"none",padding:"2px 6px"},children:"MODAL"}),d.creator&&i.jsx("div",{"data-vg-id":"2e782fa1","data-source-path":"/src/components/ViewGateOverlay.tsx:3182",style:{display:"flex",alignItems:"center",background:"#f8fafc",padding:"2px",borderRadius:"50%",border:"1px solid #e2e8f0",marginLeft:"4px"},children:d.creator.avatar?i.jsx("img",{"data-vg-id":"3cf759d4","data-source-path":"/src/components/ViewGateOverlay.tsx:3192",src:d.creator.avatar,style:{width:"16px",height:"16px",borderRadius:"50%"},alt:""}):i.jsx("div",{"data-vg-id":"2e782fb8","data-source-path":"/src/components/ViewGateOverlay.tsx:3194",style:{width:"16px",height:"16px",borderRadius:"50%",background:"#6366f1",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"8px",fontWeight:700},children:d.creator.name?.[0]})}),d.url&&i.jsx(rc,{url:d.url,onHover:wc,style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"11px",color:"#64748b",background:"#f8fafc",padding:"2px 8px",borderRadius:"6px",border:"1px solid #e2e8f0",maxWidth:"220px"}}),(d.focusAreas?.length>0?d.focusAreas:[...d.backendEndpoints?.length>0?["backend"]:[],...d.figmaReference?.length>0?["ux"]:[]]).map(p=>i.jsxs("span",{"data-vg-id":"8161c4e","data-source-path":"/src/components/ViewGateOverlay.tsx:3220",style:{fontSize:"10px",fontWeight:800,textTransform:"uppercase",padding:"4px 10px",borderRadius:"24px",background:p==="frontend"?"linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%)":p==="backend"?"linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%)":"linear-gradient(135deg, #fdf4ff 0%, #fae8ff 100%)",color:p==="frontend"?"#059669":p==="backend"?"#4f46e5":"#c026d3",display:"flex",alignItems:"center",gap:"4px",border:`1px solid ${p==="frontend"?"#a7f3d0":p==="backend"?"#c7d2fe":"#fbcfe8"}`,boxShadow:p==="frontend"?"0 2px 4px rgba(5, 150, 105, 0.05)":p==="backend"?"0 2px 4px rgba(79, 70, 229, 0.05)":"0 2px 4px rgba(192, 38, 211, 0.05)",letterSpacing:"0.02em"},children:[p==="frontend"?i.jsx(xs,{"data-vg-id":"b806bee7","data-source-path":"/src/components/ViewGateOverlay.tsx:3228",size:11,strokeWidth:2.5}):p==="backend"?i.jsx(Te,{"data-vg-id":"b1e4c277","data-source-path":"/src/components/ViewGateOverlay.tsx:3228",size:11,strokeWidth:2.5}):i.jsx(Ot,{"data-vg-id":"ea069934","data-source-path":"/src/components/ViewGateOverlay.tsx:3228",size:11,strokeWidth:2.5}),p==="frontend"?"Frontend":p==="backend"?"Backend":"UX / UI"]},p))]}),d.status==="completed"?i.jsxs("span",{"data-vg-id":"8161c52","data-source-path":"/src/components/ViewGateOverlay.tsx:3234",className:"vg-badge",style:{backgroundColor:"#ecfdf5",color:"#059669",border:"1px solid #d1fae5"},children:[i.jsx(je,{"data-vg-id":"a75c1a63","data-source-path":"/src/components/ViewGateOverlay.tsx:3235",size:14})," ",s.completed||(e==="es"?"Listo para revisión":"Ready for Review")]}):d.status==="ready_for_review"?i.jsxs("span",{"data-vg-id":"8161c54","data-source-path":"/src/components/ViewGateOverlay.tsx:3238",className:"vg-badge",style:{backgroundColor:"#f3e8ff",color:"#a855f7",border:"1px solid #e9d5ff"},children:[i.jsx(je,{"data-vg-id":"a75c1a65","data-source-path":"/src/components/ViewGateOverlay.tsx:3239",size:14})," ",s.readyForReview]}):d.status==="bug_fixing"?i.jsxs("span",{"data-vg-id":"8161c56","data-source-path":"/src/components/ViewGateOverlay.tsx:3242",className:"vg-badge",style:{backgroundColor:"#fff1f2",color:"#e11d48",border:"1px solid #ffe4e6"},children:[i.jsx(Tt,{"data-vg-id":"3b8b181a","data-source-path":"/src/components/ViewGateOverlay.tsx:3243",size:14})," ","Bug Fixing"]}):i.jsxs("span",{"data-vg-id":"8161c6d","data-source-path":"/src/components/ViewGateOverlay.tsx:3246",className:"vg-badge",style:{backgroundColor:B||d.status==="backlog"?"#f1f5f9":"#fff7ed",color:B||d.status==="backlog"?"#64748b":"#ea580c",border:B||d.status==="backlog"?"1px solid #e2e8f0":"1px solid #ffedd5"},children:[i.jsx(No,{"data-vg-id":"62dc6c36","data-source-path":"/src/components/ViewGateOverlay.tsx:3251",size:14}),B||d.status==="backlog"?s.backlog:s.pending]})]}),(d.screenshot||d.reference?.previewUrl)&&i.jsx("div",{"data-vg-id":"2e782fda","data-source-path":"/src/components/ViewGateOverlay.tsx:3258",style:{margin:"0 0 20px 0",borderRadius:"8px",overflow:"hidden",maxWidth:"100%",maxHeight:"280px",border:"1px solid #e2e8f0",backgroundColor:"#f8fafc",display:"flex",alignItems:"center",justifyContent:"center"},children:i.jsx("img",{"data-vg-id":"3cf75a0d","data-source-path":"/src/components/ViewGateOverlay.tsx:3270",src:d.screenshot||d.reference?.previewUrl,alt:"Visual Preview",style:{maxWidth:"100%",maxHeight:"280px",objectFit:"contain",display:"block"}})}),i.jsxs("div",{"data-vg-id":"2e782fdc","data-source-path":"/src/components/ViewGateOverlay.tsx:3283",style:{marginBottom:"20px"},children:[i.jsx("div",{"data-vg-id":"2e782fdd","data-source-path":"/src/components/ViewGateOverlay.tsx:3284",style:{display:"flex",alignItems:"center",gap:"8px",marginBottom:"8px"},children:i.jsxs("div",{"data-vg-id":"2e782fde","data-source-path":"/src/components/ViewGateOverlay.tsx:3285",style:{fontSize:"10px",fontWeight:800,color:d.priority==="low"?"#059669":d.priority==="urgent"?"#b91c1c":d.priority==="high"?"#b45309":"#4338ca",backgroundColor:d.priority==="low"?"#ecfdf5":d.priority==="urgent"?"#fef2f2":d.priority==="high"?"#fffbeb":"#eef2ff",padding:"4px 10px",borderRadius:"6px",letterSpacing:"0.5px",border:"1px solid",borderColor:d.priority==="low"?"#d1fae5":d.priority==="urgent"?"#fee2e2":d.priority==="high"?"#fef3c7":"#e0e7ff"},children:[s.priority,": ",s[d.priority||"medium"]]})}),i.jsx("p",{"data-vg-id":"f01af8be","data-source-path":"/src/components/ViewGateOverlay.tsx:3299",className:"vg-text-wrap",style:{margin:"0",fontSize:"16px",color:"#1e293b",lineHeight:1.6},children:d.message}),d.figmaReference?.length>0&&i.jsxs("div",{"data-vg-id":"2e782fe0","data-source-path":"/src/components/ViewGateOverlay.tsx:3304",style:{marginTop:"16px",display:"flex",flexDirection:"column",gap:"8px",padding:"12px",background:"#faf5ff",borderRadius:"12px",border:"1px solid #fae8ff"},children:[i.jsxs("div",{"data-vg-id":"2e782ff6","data-source-path":"/src/components/ViewGateOverlay.tsx:3305",style:{display:"flex",alignItems:"center",gap:"6px",marginBottom:"4px"},children:[i.jsx(Ot,{"data-vg-id":"ea06996f","data-source-path":"/src/components/ViewGateOverlay.tsx:3306",size:14,style:{color:"#d946ef"}}),i.jsx("span",{"data-vg-id":"8161c8d","data-source-path":"/src/components/ViewGateOverlay.tsx:3307",style:{fontSize:"11px",fontWeight:800,color:"#a21caf",textTransform:"uppercase",letterSpacing:"0.05em"},children:e==="es"?"Diseños Figma":"Figma Designs"})]}),d.figmaReference.map((p,x)=>i.jsxs("a",{"data-vg-id":"ef479849","data-source-path":"/src/components/ViewGateOverlay.tsx:3310",href:p.link,target:"_blank",rel:"noreferrer",className:"vg-animate-pop",style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 14px",background:"#ffffff",border:"1px solid #f5d0fe",borderRadius:"10px",fontSize:"13px",color:"#c026d3",textDecoration:"none",transition:"all 0.2s",boxShadow:"0 2px 4px rgba(217, 70, 239, 0.05)"},onMouseEnter:E=>{E.currentTarget.style.transform="translateY(-2px)",E.currentTarget.style.boxShadow="0 4px 12px rgba(217, 70, 239, 0.15)",E.currentTarget.style.borderColor="#d946ef"},onMouseLeave:E=>{E.currentTarget.style.transform="translateY(0)",E.currentTarget.style.boxShadow="0 2px 4px rgba(217, 70, 239, 0.05)",E.currentTarget.style.borderColor="#f5d0fe"},children:[i.jsxs("div",{"data-vg-id":"2e782ffa","data-source-path":"/src/components/ViewGateOverlay.tsx:3318",style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.jsx("div",{"data-vg-id":"2e782ffb","data-source-path":"/src/components/ViewGateOverlay.tsx:3319",style:{width:"24px",height:"24px",borderRadius:"6px",background:"rgba(217, 70, 239, 0.1)",display:"flex",alignItems:"center",justifyContent:"center"},children:i.jsx(xs,{"data-vg-id":"b806bf29","data-source-path":"/src/components/ViewGateOverlay.tsx:3320",size:12,strokeWidth:3})}),i.jsx("span",{"data-vg-id":"8161c92","data-source-path":"/src/components/ViewGateOverlay.tsx:3322",style:{fontWeight:700},children:p.name||"Figma Reference"})]}),i.jsx(An,{"data-vg-id":"5c2be04e","data-source-path":"/src/components/ViewGateOverlay.tsx:3324",size:14,style:{opacity:.5}})]},x))]}),d.backendEndpoints?.length>0&&i.jsxs("div",{"data-vg-id":"2e782fff","data-source-path":"/src/components/ViewGateOverlay.tsx:3331",style:{marginTop:"16px",display:"flex",flexDirection:"column",gap:"8px",padding:"12px",background:"#f5f8ff",borderRadius:"12px",border:"1px solid #e0e7ff"},children:[i.jsxs("div",{"data-vg-id":"2e783015","data-source-path":"/src/components/ViewGateOverlay.tsx:3332",style:{display:"flex",alignItems:"center",gap:"6px",marginBottom:"4px"},children:[i.jsx(Te,{"data-vg-id":"b1e4c2d2","data-source-path":"/src/components/ViewGateOverlay.tsx:3333",size:14,style:{color:"#4f46e5"}}),i.jsx("span",{"data-vg-id":"8161cac","data-source-path":"/src/components/ViewGateOverlay.tsx:3334",style:{fontSize:"11px",fontWeight:800,color:"#3730a3",textTransform:"uppercase",letterSpacing:"0.05em"},children:"Backend Endpoints"})]}),i.jsx("div",{"data-vg-id":"2e783018","data-source-path":"/src/components/ViewGateOverlay.tsx:3336",style:{display:"flex",flexWrap:"wrap",gap:"8px"},children:d.backendEndpoints.map(p=>{const x=p.split("|"),E=x.length>1?x[0]:"";let D=x.length>1?x[1]||"":p||"",O="#4f46e5",L="#e0e7ff";return E==="GET"?(O="#059669",L="#d1fae5"):E==="POST"?(O="#ea580c",L="#ffedd5"):E==="PUT"?(O="#0284c7",L="#e0f2fe"):E==="DELETE"&&(O="#e11d48",L="#ffe4e6"),i.jsxs("div",{"data-vg-id":"2e783019","data-source-path":"/src/components/ViewGateOverlay.tsx:3351",className:"vg-animate-slide",style:{fontSize:"12px",padding:"6px 12px",background:"#ffffff",color:"#4f46e5",borderRadius:"8px",border:"1px solid #c7d2fe",display:"flex",alignItems:"center",gap:"8px",boxShadow:"0 2px 4px rgba(79, 70, 229, 0.05)"},children:[E&&i.jsx("span",{"data-vg-id":"8161caf","data-source-path":"/src/components/ViewGateOverlay.tsx:3357",style:{fontWeight:800,color:O,background:L,padding:"2px 6px",borderRadius:"4px",fontSize:"10px"},children:E}),i.jsx("span",{"data-vg-id":"8161cb0","data-source-path":"/src/components/ViewGateOverlay.tsx:3358",style:{fontWeight:600,fontFamily:"monospace",letterSpacing:"-0.02em",color:"#1e293b"},children:D})]},p)})})]})]}),i.jsxs("div",{"data-vg-id":"2e78301c","data-source-path":"/src/components/ViewGateOverlay.tsx:3368",style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"12px",borderTop:"1px solid #f1f5f9",paddingTop:"16px"},children:[i.jsx("div",{"data-vg-id":"2e78301d","data-source-path":"/src/components/ViewGateOverlay.tsx:3370",style:{display:"flex",gap:"6px"},children:Bs!=="client"&&i.jsxs(i.Fragment,{children:[i.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px"},onClick:()=>{const p=d.backendEndpoints||[],x=d.focusAreas&&d.focusAreas.length>0?d.focusAreas:[...p.length>0?["backend"]:[],...d.figmaReference&&d.figmaReference.length>0?["ux"]:[]];Sr(d._id),yc(d.message),y(d.priority||"medium"),io(x),hs(d.figmaReference&&d.figmaReference.length>0?d.figmaReference:[{name:s.figmaPrimaryDesign,link:""}]),Lr(p),JA(p)},title:s.edit,children:i.jsx(Ot,{"data-vg-id":"ea069996","data-source-path":"/src/components/ViewGateOverlay.tsx:3394",size:16})}),i.jsx("button",{className:"vg-button-ghost vg-animate-pop",style:{padding:"8px",minWidth:"36px",color:"#ef4444"},onClick:()=>{et({title:s.deleteConfirm,message:s.confirmDelete,type:"danger",onConfirm:async()=>{try{(await fetch(`${n}/api/annotations/${d._id}`,{method:"DELETE",headers:{"x-api-key":r}})).ok&&(vr(),A(s.deleteSuccess,"success"))}catch{A(s.error,"error")}finally{et(null)}}})},title:e==="es"?"Eliminar":"Delete",children:i.jsx(Fs,{"data-vg-id":"45b44219","data-source-path":"/src/components/ViewGateOverlay.tsx:3424",size:16})})]})}),i.jsxs("div",{"data-vg-id":"2e783035","data-source-path":"/src/components/ViewGateOverlay.tsx:3430",style:{display:"flex",gap:"8px"},children:[Bs!=="client"&&d.status==="ready_for_review"&&i.jsxs("button",{onClick:()=>Mp(d),className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",whiteSpace:"nowrap",background:"linear-gradient(135deg, #059669 0%, #10b981 100%)",boxShadow:"0 4px 12px rgba(5, 150, 69, 0.2)",display:"flex",alignItems:"center",gap:"8px",fontWeight:700},disabled:DA,children:[DA?i.jsx(tn,{"data-vg-id":"a4b73604","data-source-path":"/src/components/ViewGateOverlay.tsx:3448",size:14,className:"vg-animate-spin"}):i.jsx(ul,{"data-vg-id":"41e603c7","data-source-path":"/src/components/ViewGateOverlay.tsx:3448",size:14}),e==="es"?"Resolver con Evidencia":"Resolve & Capture"]}),i.jsxs("a",{href:`${(o||"").replace(/\/$/,"")}/${B||d.status==="backlog"?"backlog":"board"}?search=${d.key||(d._id?"VG-"+d._id.slice(-6).toUpperCase():"TICKET")}`,target:"_blank",rel:"noopener noreferrer",className:"vg-button-primary vg-animate-pop",style:{padding:"8px 16px",fontSize:"13px",whiteSpace:"nowrap",textDecoration:"none",display:"flex",alignItems:"center",gap:"8px",cursor:"pointer"},children:[i.jsx(An,{"data-vg-id":"5c2be088","data-source-path":"/src/components/ViewGateOverlay.tsx:3468",size:14}),e==="es"?"Ver en Dashboard":"View in Dashboard"]})]})]})]},d._id))},aA||"all")]})}),IA&&i.jsx("div",{"data-vg-id":"2e783039","data-source-path":"/src/components/ViewGateOverlay.tsx:3484",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(11, 15, 25, 0.7)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:Ct+100},children:i.jsxs("div",{"data-vg-id":"2e78303a","data-source-path":"/src/components/ViewGateOverlay.tsx:3489",className:"vg-glassmorphism vg-animate-slide",style:{padding:"40px",width:"420px",textAlign:"center",border:"1px solid rgba(255, 255, 255, 0.1)",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.5)"},children:[i.jsx("div",{"data-vg-id":"2e78303b","data-source-path":"/src/components/ViewGateOverlay.tsx:3496",style:{width:"64px",height:"64px",background:IA.type==="danger"?"rgba(239, 68, 68, 0.1)":"rgba(99, 102, 241, 0.1)",borderRadius:"20px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 24px",color:IA.type==="danger"?"#ef4444":"#6366f1",transform:"rotate(-5deg)"},children:IA.type==="danger"?i.jsx(Fs,{"data-vg-id":"45b44221","data-source-path":"/src/components/ViewGateOverlay.tsx:3505",size:32}):i.jsx(je,{"data-vg-id":"a75c1ae2","data-source-path":"/src/components/ViewGateOverlay.tsx:3505",size:32})}),i.jsx("h3",{"data-vg-id":"53ec569","data-source-path":"/src/components/ViewGateOverlay.tsx:3507",style:{margin:"0 0 12px 0",fontSize:"20px",fontWeight:800,color:"#000000",letterSpacing:"-0.02em"},children:IA.title}),i.jsx("p",{"data-vg-id":"f01af933","data-source-path":"/src/components/ViewGateOverlay.tsx:3508",style:{margin:"0 0 24px 0",fontSize:"15px",color:"#000000",lineHeight:1.6},children:IA.message}),IA.showInput&&i.jsx("textarea",{className:"vg-textarea",placeholder:s.reopenPlaceholder,value:xt,onChange:d=>eA(d.target.value),rows:3,autoFocus:!0,style:{marginBottom:"24px",minHeight:"80px",textAlign:"left"}}),i.jsxs("div",{"data-vg-id":"2e783055","data-source-path":"/src/components/ViewGateOverlay.tsx:3522",style:{display:"flex",gap:"16px"},children:[i.jsx("button",{className:"vg-button-ghost",style:{flex:1,height:"44px"},onClick:()=>!VA&&et(null),disabled:VA,children:s.no}),i.jsx("button",{className:"vg-button-primary",style:{flex:1,height:"44px",backgroundColor:IA.type==="danger"?"#ef4444":void 0,backgroundImage:IA.type==="danger"?"none":void 0,display:"flex",alignItems:"center",justifyContent:"center",gap:"8px",opacity:IA.showInput&&!xt.trim()?.5:1,cursor:IA.showInput&&!xt.trim()?"not-allowed":"pointer"},disabled:VA||IA.showInput&&!xt.trim(),onClick:async()=>{Pe(!0);try{await IA.onConfirm(xt)}catch(d){console.error("Confirmation error:",d)}finally{Pe(!1)}},children:VA?i.jsx(tn,{"data-vg-id":"a4b73624","data-source-path":"/src/components/ViewGateOverlay.tsx:3558",size:18,className:"vg-animate-spin"}):s.yes})]})]})}),!MA&&!f&&tA&&yt.map((d,u)=>{const{rect:p,annotations:x,isModal:E}=d,D=x[0],O=x.length,L=x.some(v=>v.status==="ready_for_review"),gA=x.some(v=>v.status==="completed"||v.status==="done"),M=x.some(v=>v.status!=="ready_for_review"&&v.status!=="completed"&&v.status!=="done"),pA=gA&&!L&&!M,sA=L&&!M&&!gA,nA=(L||gA)&&!M,QA=(L||gA)&&M,EA=x.filter(v=>v.status!=="ready_for_review"&&v.status!=="completed"&&v.status!=="done").length,bA=x.filter(v=>v.status==="ready_for_review").length,xA=x.filter(v=>v.status==="completed"||v.status==="done").length,LA=x.some(v=>v.status==="bug_fixing"||v.type==="bug"||v.originalStatus==="bug_fixing"),Se=LA&&!sA&&!pA?"#f43f5e":EA>0?B?"#64748b":"#ea580c":bA>0?"#a855f7":"#10b981",Y=yt.some(v=>v.element===d.element&&v.isTriggerPin),_A=yt.some(v=>v.element===d.element&&!v.isTriggerPin),wA=Y&&_A?d.isTriggerPin?-18:18:0,TA=p.top===0&&p.left===0&&p.width>window.innerWidth*.9;return i.jsxs("div",{className:"vg-pin-container vg-animate-pop",style:{position:"fixed",top:Math.max(20,Math.min(window.innerHeight-52,p.top-20)),left:TA?Math.max(20,p.left+40+wA):Math.max(20,Math.min(window.innerWidth-52,p.left+p.width/2-16+wA)),width:"32px",height:"32px",cursor:"pointer",transition:"all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275)",zIndex:xp},onMouseEnter:v=>{const $A=v.currentTarget.getBoundingClientRect(),Kr=window.innerHeight-$A.bottom,Vp=$A.top;Kr<250&&Vp>Kr?se(fo=>({...fo,[d.id]:"vg-top"})):se(fo=>({...fo,[d.id]:""}))},onWheel:v=>{const $A=v.currentTarget.querySelector(".vg-tooltip-scroll");$A&&$A.scrollBy({top:v.deltaY,behavior:"smooth"})},onClick:()=>{Ce(!0),BA(D._id)},children:[i.jsxs("div",{"data-vg-id":"2e783057","data-source-path":"/src/components/ViewGateOverlay.tsx:3633",className:`vg-pin-tooltip ${dA[d.id]||""} ${TA||p.left<160?"vg-tooltip-right":p.left>window.innerWidth-160?"vg-tooltip-left":""}`,style:{padding:"16px"},children:[i.jsxs("div",{"data-vg-id":"2e783058","data-source-path":"/src/components/ViewGateOverlay.tsx:3634",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"12px"},children:[i.jsxs("div",{"data-vg-id":"2e783059","data-source-path":"/src/components/ViewGateOverlay.tsx:3635",style:{display:"flex",alignItems:"center",gap:"8px",flexWrap:"wrap"},children:[d.isTriggerPin?i.jsx(en,{"data-vg-id":"d88161bf","data-source-path":"/src/components/ViewGateOverlay.tsx:3637",size:14,color:Se}):i.jsx(Us,{"data-vg-id":"7fe17ae","data-source-path":"/src/components/ViewGateOverlay.tsx:3639",size:14,color:Se}),i.jsxs("div",{"data-vg-id":"2e78305c","data-source-path":"/src/components/ViewGateOverlay.tsx:3641",style:{display:"flex",gap:"4px"},children:[EA>0&&i.jsxs("span",{"data-vg-id":"8161d07","data-source-path":"/src/components/ViewGateOverlay.tsx:3643",className:"vg-badge",style:{fontSize:"10px",background:B?"#f1f5f9":"#fff7ed",color:B?"#64748b":"#c2410c"},children:[EA," ",B||D.status==="backlog"?"Backlog":e==="es"?EA===1?s.pending:"Pendientes":"pending"]}),bA>0&&i.jsxs("span",{"data-vg-id":"8161d08","data-source-path":"/src/components/ViewGateOverlay.tsx:3652",style:{fontSize:"10px",fontWeight:700,color:"#a855f7",background:"#f3e8ff",padding:"2px 6px",borderRadius:"6px"},children:[bA," ",e==="es"?bA===1?"Listo para revisión":"Listos para revisión":"ready for review"]}),xA>0&&i.jsxs("span",{"data-vg-id":"8161d09","data-source-path":"/src/components/ViewGateOverlay.tsx:3664",style:{fontSize:"10px",fontWeight:700,color:"#059669",background:"#ecfdf5",padding:"2px 6px",borderRadius:"6px"},children:[xA," ",e==="es"?xA===1?"Completado":"Completados":"completed"]}),x.some(v=>v.status==="bug_fixing")&&i.jsx("span",{"data-vg-id":"8161d0a","data-source-path":"/src/components/ViewGateOverlay.tsx:3676",style:{fontSize:"10px",fontWeight:700,color:"#e11d48",background:"#fff1f2",padding:"2px 6px",borderRadius:"6px"},children:"BUG"})]})]}),E&&i.jsx("span",{"data-vg-id":"8161d0b","data-source-path":"/src/components/ViewGateOverlay.tsx:3690",className:"vg-badge",style:{fontSize:"10px",background:B?"#f1f5f9":QA?`linear-gradient(90deg, #ea580c 50%, ${gA?"#10b981":"#a855f7"} 50%)`:EA>0?"#fff7ed":pA?"#ecfdf5":"#f3e8ff",color:B?"#64748b":QA?"#ffffff":EA>0?"#c2410c":pA?"#059669":"#a855f7",border:"none",fontWeight:800,textShadow:QA&&!B?"0 1px 2px rgba(0,0,0,0.2)":"none"},children:"MODAL"})]}),i.jsx("div",{"data-vg-id":"2e783077","data-source-path":"/src/components/ViewGateOverlay.tsx:3702",className:"vg-tooltip-scroll",style:{maxHeight:"180px",overflowY:"auto"},children:x.map((v,$A)=>i.jsxs("div",{"data-vg-id":"2e783078","data-source-path":"/src/components/ViewGateOverlay.tsx:3704",style:{padding:"10px 0",borderTop:$A===0?"none":"1px solid #f1f5f9",display:"flex",gap:"12px",alignItems:"flex-start"},children:[i.jsxs("div",{"data-vg-id":"2e783079","data-source-path":"/src/components/ViewGateOverlay.tsx:3711",style:{flex:1,display:"flex",flexDirection:"column",gap:"4px"},children:[i.jsxs("div",{"data-vg-id":"2e78307a","data-source-path":"/src/components/ViewGateOverlay.tsx:3712",style:{display:"flex",alignItems:"center",gap:"6px"},children:[i.jsx("span",{"data-vg-id":"8161d10","data-source-path":"/src/components/ViewGateOverlay.tsx:3713",style:{fontSize:"10px",fontWeight:600,color:"#64748b"},children:sc(v.timestamp||v.createdAt,e)}),v.creator&&i.jsx("div",{"data-vg-id":"2e783091","data-source-path":"/src/components/ViewGateOverlay.tsx:3717",style:{marginLeft:"4px"},children:v.creator.avatar?i.jsx("img",{"data-vg-id":"3cf75ac4","data-source-path":"/src/components/ViewGateOverlay.tsx:3719",src:v.creator.avatar,style:{width:"14px",height:"14px",borderRadius:"50%"},alt:""}):i.jsx("div",{"data-vg-id":"2e783093","data-source-path":"/src/components/ViewGateOverlay.tsx:3721",style:{width:"14px",height:"14px",borderRadius:"50%",background:"#6366f1",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"7px",fontWeight:700},children:v.creator.name?.[0]})})]}),v.url&&i.jsx(rc,{url:v.url,onHover:wc,style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"9px",color:"#6366f1",opacity:.8,background:"rgba(99, 102, 241, 0.05)",padding:"2px 6px",borderRadius:"4px",maxWidth:"120px"},tooltipStyle:{fontSize:"9px"}}),i.jsx("div",{"data-vg-id":"2e783094","data-source-path":"/src/components/ViewGateOverlay.tsx:3747",className:"vg-line-clamp-2",style:{fontSize:"13px",color:"#1e293b",lineHeight:1.4,fontWeight:500},children:v.message.length>100?v.message.slice(0,97)+"...":v.message})]}),i.jsxs("div",{"data-vg-id":"2e783095","data-source-path":"/src/components/ViewGateOverlay.tsx:3751",style:{flexShrink:0,marginTop:"2px",display:"flex",flexDirection:"column",gap:"4px",alignItems:"flex-end"},children:[i.jsx("div",{"data-vg-id":"2e783096","data-source-path":"/src/components/ViewGateOverlay.tsx:3752",style:{fontSize:"8px",fontWeight:800,color:v.priority==="low"?"#059669":v.priority==="urgent"?"#b91c1c":v.priority==="high"?"#b45309":"#4338ca",backgroundColor:v.priority==="low"?"#ecfdf5":v.priority==="urgent"?"#fef2f2":v.priority==="high"?"#fffbeb":"#eef2ff",padding:"2px 6px",borderRadius:"4px",textTransform:"uppercase",border:"1px solid",borderColor:v.priority==="low"?"#d1fae5":v.priority==="urgent"?"#fee2e2":v.priority==="high"?"#fef3c7":"#e0e7ff"},children:s[v.priority||"medium"]}),v.status==="completed"||v.status==="done"?i.jsxs("span",{"data-vg-id":"8161d2c","data-source-path":"/src/components/ViewGateOverlay.tsx:3766",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:"#059669",background:"#ecfdf5",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:"1px solid #d1fae5"},children:[i.jsx(je,{"data-vg-id":"a75c1b3d","data-source-path":"/src/components/ViewGateOverlay.tsx:3779",size:10}),s.completed]}):v.status==="ready_for_review"?i.jsxs("span",{"data-vg-id":"8161d2e","data-source-path":"/src/components/ViewGateOverlay.tsx:3783",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:"#a855f7",background:"#f3e8ff",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:"1px solid #e9d5ff"},children:[v.type==="bug"||v.status==="bug_fixing"||v.originalStatus==="bug_fixing"?i.jsx(Tt,{"data-vg-id":"3b8b18dd","data-source-path":"/src/components/ViewGateOverlay.tsx:3796",size:10}):i.jsx(je,{"data-vg-id":"a75c1de0","data-source-path":"/src/components/ViewGateOverlay.tsx:3796",size:10}),s.readyForReview]}):v.status==="bug_fixing"?i.jsxs("span",{"data-vg-id":"8161fd1","data-source-path":"/src/components/ViewGateOverlay.tsx:3800",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:"#e11d48",background:"#fff1f2",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:"1px solid #ffe4e6"},children:[i.jsx(Tt,{"data-vg-id":"3b8b1b80","data-source-path":"/src/components/ViewGateOverlay.tsx:3813",size:10}),"Bug Fixing"]}):i.jsxs("span",{"data-vg-id":"8161fd3","data-source-path":"/src/components/ViewGateOverlay.tsx:3817",style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"8px",fontWeight:800,color:B||v.status==="backlog"?"#64748b":"#ea580c",background:B||v.status==="backlog"?"#f1f5f9":"#fff7ed",padding:"2px 6px",borderRadius:"6px",textTransform:"uppercase",border:B||v.status==="backlog"?"1px solid #e2e8f0":"1px solid #ffedd5"},children:[i.jsx(No,{"data-vg-id":"62dc6f9c","data-source-path":"/src/components/ViewGateOverlay.tsx:3830",size:10}),B||v.status==="backlog"?s.backlog:s.pending]})]})]},v._id))})]}),i.jsxs("div",{"data-vg-id":"2e783340","data-source-path":"/src/components/ViewGateOverlay.tsx:3840",className:`vg-formal-pin ${pA?"completed":sA||nA?"ready":LA?"bug":QA?"mixed":B?"backlog":""} ${d.isTriggerPin?"modal-variant":""}`,style:{position:"relative",background:LA&&!sA&&!pA?"linear-gradient(135deg, #f43f5e 0%, #e11d48 100%)":sA?"linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)":QA?gA?"linear-gradient(135deg, #10b981 0%, #059669 100%)":"linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)":void 0},children:[sA||pA||nA?LA&&!pA?i.jsx(Tt,{"data-vg-id":"3b8b1b84","data-source-path":"/src/components/ViewGateOverlay.tsx:3847",size:18}):i.jsx(je,{"data-vg-id":"a75c1de7","data-source-path":"/src/components/ViewGateOverlay.tsx:3847",size:18}):LA?i.jsx(Tt,{"data-vg-id":"3b8b1b86","data-source-path":"/src/components/ViewGateOverlay.tsx:3847",size:18}):d.isTriggerPin?i.jsx(en,{"data-vg-id":"d88164a9","data-source-path":"/src/components/ViewGateOverlay.tsx:3847",size:16}):E?i.jsx(An,{"data-vg-id":"5c2be3aa","data-source-path":"/src/components/ViewGateOverlay.tsx:3847",size:16}):i.jsx(Us,{"data-vg-id":"7fe1aae","data-source-path":"/src/components/ViewGateOverlay.tsx:3847",size:16}),O>1&&i.jsx("div",{"data-vg-id":"2e78335c","data-source-path":"/src/components/ViewGateOverlay.tsx:3850",className:"vg-pin-badge vg-animate-pop",children:O})]})]},`group-${d.id}`)}),i.jsx("div",{className:`vg-url-tooltip ${st?"visible":""} ${st?.direction==="bottom"?"vg-bottom":"vg-top"}`,style:{transform:st?`translate(-50%, ${st.direction==="top"?"-110%":"10%"})`:"translate(-50%, 0)",left:st?.x||0,top:st?.y||0},children:st?.url}),q&&i.jsx("div",{"data-vg-id":"2e78335d","data-source-path":"/src/components/ViewGateOverlay.tsx:3875",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(0, 0, 0, 0.75)",backdropFilter:"blur(16px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:Ct+100,animation:"vg-fade-in 0.3s ease-out"},onClick:d=>{d.target===d.currentTarget&&YA(!1)},children:i.jsxs("div",{"data-vg-id":"2e78335e","data-source-path":"/src/components/ViewGateOverlay.tsx:3884",className:"vg-glassmorphism vg-animate-pop",style:{width:"95%",maxWidth:"800px",height:"85vh",maxHeight:"850px",display:"flex",flexDirection:"column",overflow:"hidden",boxShadow:"0 50px 100px rgba(0,0,0,0.6)",borderRadius:"32px",border:"1px solid rgba(255, 255, 255, 0.15)",backgroundColor:"rgba(255, 255, 255, 0.98)"},children:[i.jsxs("div",{"data-vg-id":"2e78335f","data-source-path":"/src/components/ViewGateOverlay.tsx:3897",style:{padding:"32px 40px",borderBottom:"1px solid rgba(0,0,0,0.06)",display:"flex",alignItems:"center",justifyContent:"space-between",background:"white"},children:[i.jsxs("div",{"data-vg-id":"2e783360","data-source-path":"/src/components/ViewGateOverlay.tsx:3898",children:[i.jsx("h3",{"data-vg-id":"53ec877","data-source-path":"/src/components/ViewGateOverlay.tsx:3899",style:{margin:0,fontSize:"24px",fontWeight:900,letterSpacing:"-0.03em",color:"#0f172a"},children:e==="es"?"Selector de Endpoints":"Endpoint Selector"}),i.jsx("p",{"data-vg-id":"f01afc41","data-source-path":"/src/components/ViewGateOverlay.tsx:3902",style:{margin:"6px 0 0 0",fontSize:"14px",color:"#64748b",fontWeight:500},children:e==="es"?"Asocia múltiples rutas backend a este ticket para mayor precisión":"Associate multiple backend routes to this ticket for better precision"})]}),i.jsx("button",{"data-vg-id":"5861c060","data-source-path":"/src/components/ViewGateOverlay.tsx:3906",onClick:()=>YA(!1),className:"vg-close-pill",style:{width:"40px",height:"40px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"14px",background:"#f1f5f9",color:"#64748b",border:"none",cursor:"pointer",transition:"all 0.2s"},onMouseEnter:d=>{d.currentTarget.style.background="#e2e8f0",d.currentTarget.style.color="#0f172a"},onMouseLeave:d=>{d.currentTarget.style.background="#f1f5f9",d.currentTarget.style.color="#64748b"},children:i.jsx(Kt,{"data-vg-id":"eec8c840","data-source-path":"/src/components/ViewGateOverlay.tsx:3913",size:20,strokeWidth:2.5})})]}),i.jsx("div",{"data-vg-id":"2e78337a","data-source-path":"/src/components/ViewGateOverlay.tsx:3917",style:{padding:"24px 40px",borderBottom:"1px solid rgba(0,0,0,0.06)",background:"#fcfcfc"},children:i.jsxs("div",{"data-vg-id":"2e78337b","data-source-path":"/src/components/ViewGateOverlay.tsx:3918",style:{position:"relative"},children:[i.jsx(Ql,{"data-vg-id":"8f7bb00f","data-source-path":"/src/components/ViewGateOverlay.tsx:3919",size:20,style:{position:"absolute",left:"16px",top:"50%",transform:"translateY(-50%)",color:"#94a3b8"}}),i.jsx("input",{"data-vg-id":"88e38db6","data-source-path":"/src/components/ViewGateOverlay.tsx:3920",type:"text",placeholder:e==="es"?"Buscar rutas, métodos o descripciones...":"Search routes, methods, or descriptions...",value:k,onChange:d=>z(d.target.value),className:"vg-textarea",style:{padding:"14px 16px 14px 50px",fontSize:"16px",minHeight:"auto",borderRadius:"16px",border:"1px solid #e2e8f0",backgroundColor:"white",boxShadow:"0 2px 8px rgba(0,0,0,0.04)"},autoFocus:!0})]})}),i.jsx("div",{"data-vg-id":"2e78337e","data-source-path":"/src/components/ViewGateOverlay.tsx:3940",style:{flex:1,overflowY:"auto",overflowX:"hidden",padding:"24px 40px"},className:"vg-custom-scrollbar",children:gs?xc.length>0?i.jsx("div",{"data-vg-id":"2e783382","data-source-path":"/src/components/ViewGateOverlay.tsx:3947",style:{display:"flex",flexDirection:"column",gap:"0px"},children:xc.map(d=>{const u=d.name===(e==="es"?"Seleccionados":"Selected");return i.jsxs("div",{"data-vg-id":"2e783398","data-source-path":"/src/components/ViewGateOverlay.tsx:3951",style:{marginBottom:"32px"},children:[i.jsxs("div",{"data-vg-id":"2e783399","data-source-path":"/src/components/ViewGateOverlay.tsx:3952",style:{display:"flex",alignItems:"center",gap:"12px",marginBottom:"16px",padding:"0 4px"},children:[i.jsx("span",{"data-vg-id":"816202f","data-source-path":"/src/components/ViewGateOverlay.tsx:3953",style:{fontSize:"11px",fontWeight:900,textTransform:"uppercase",letterSpacing:"0.1em",color:u?"#10b981":"#6366f1",backgroundColor:u?"rgba(10, 185, 129, 0.08)":"rgba(99, 102, 241, 0.08)",padding:"4px 10px",borderRadius:"6px",border:"1px solid",borderColor:u?"rgba(10, 185, 129, 0.1)":"rgba(99, 102, 241, 0.1)"},children:d.name}),i.jsx("div",{"data-vg-id":"2e78339b","data-source-path":"/src/components/ViewGateOverlay.tsx:3967",style:{flex:1,height:"1px",background:`linear-gradient(90deg, ${u?"rgba(16, 185, 129, 0.15)":"rgba(99, 102, 241, 0.15)"} 0%, transparent 100%)`}})]}),i.jsx("div",{"data-vg-id":"2e78339c","data-source-path":"/src/components/ViewGateOverlay.tsx:3974",style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(340px, 1fr))",gap:"12px"},children:d.endpoints.map(p=>{const x=`${p.method}|${p.path}`,E=X.includes(x);return i.jsxs("div",{"data-vg-id":"2e78339d","data-source-path":"/src/components/ViewGateOverlay.tsx:3983",onClick:()=>{JA(E?X.filter(D=>D!==x):[...X,x])},style:{padding:"16px 20px",borderRadius:"18px",cursor:"pointer",transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",background:E?"#f5f7ff":"#ffffff",border:"1px solid",borderColor:E?"rgba(99, 102, 241, 0.2)":"#f1f5f9",display:"flex",alignItems:"center",gap:"16px",boxShadow:E?"0 4px 12px rgba(99, 102, 241, 0.08)":"none"},onMouseEnter:D=>{E||(D.currentTarget.style.background="#f8fafc",D.currentTarget.style.borderColor="#e2e8f0")},onMouseLeave:D=>{E||(D.currentTarget.style.background="#ffffff",D.currentTarget.style.borderColor="#f1f5f9")},children:[i.jsx("div",{"data-vg-id":"2e78339e","data-source-path":"/src/components/ViewGateOverlay.tsx:4015",style:{width:"24px",height:"24px",borderRadius:"8px",border:"2px solid",borderColor:E?"#6366f1":"#cbd5e1",backgroundColor:E?"#6366f1":"white",display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s",flexShrink:0},children:E&&i.jsx("div",{"data-vg-id":"2e78339f","data-source-path":"/src/components/ViewGateOverlay.tsx:4028",style:{color:"white",fontSize:"14px",fontWeight:900},children:"✓"})}),i.jsxs("div",{"data-vg-id":"2e7833a0","data-source-path":"/src/components/ViewGateOverlay.tsx:4030",style:{flex:1,minWidth:0},children:[i.jsxs("div",{"data-vg-id":"2e7833a1","data-source-path":"/src/components/ViewGateOverlay.tsx:4031",style:{display:"flex",alignItems:"center",gap:"10px"},children:[i.jsx("span",{"data-vg-id":"816204c","data-source-path":"/src/components/ViewGateOverlay.tsx:4032",style:{fontSize:"11px",fontWeight:800,padding:"3px 8px",borderRadius:"8px",background:p.method==="GET"?"#dcfce7":"#fee2e2",color:p.method==="GET"?"#166534":"#991b1b",flexShrink:0},children:p.method}),i.jsx("span",{"data-vg-id":"816204d","data-source-path":"/src/components/ViewGateOverlay.tsx:4043",style:{fontWeight:700,color:E?"#4338ca":"#1e293b",fontSize:"14px",wordBreak:"break-all"},children:p.path})]}),p.description&&i.jsx("div",{"data-vg-id":"2e7833b9","data-source-path":"/src/components/ViewGateOverlay.tsx:4053",style:{fontSize:"12px",color:"#64748b",marginTop:"6px",wordBreak:"break-word",fontWeight:450,lineHeight:1.4},children:p.description})]})]},x)})})]},d.name)})}):i.jsxs("div",{"data-vg-id":"2e7833ba","data-source-path":"/src/components/ViewGateOverlay.tsx:4074",style:{padding:"80px 20px",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center"},children:[i.jsx("div",{"data-vg-id":"2e7833bb","data-source-path":"/src/components/ViewGateOverlay.tsx:4075",style:{width:"80px",height:"80px",borderRadius:"24px",backgroundColor:"#f1f5f9",display:"flex",alignItems:"center",justifyContent:"center",marginBottom:"24px"},children:i.jsx(Te,{"data-vg-id":"b1e4c678","data-source-path":"/src/components/ViewGateOverlay.tsx:4076",size:40,style:{color:"#94a3b8"}})}),i.jsx("p",{"data-vg-id":"f01afc9c","data-source-path":"/src/components/ViewGateOverlay.tsx:4078",style:{color:"#0f172a",fontSize:"18px",fontWeight:800,margin:"0 0 8px 0"},children:e==="es"?"No encontramos lo que buscas":"No results found"}),i.jsx("p",{"data-vg-id":"f01afc9d","data-source-path":"/src/components/ViewGateOverlay.tsx:4081",style:{color:"#64748b",fontSize:"15px",margin:0},children:e==="es"?"Intenta buscar con otros términos o revisa la sincronización":"Try searching with different terms or check synchronization"})]}):i.jsxs("div",{"data-vg-id":"2e78337f","data-source-path":"/src/components/ViewGateOverlay.tsx:3942",style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"100px 0",gap:"20px"},children:[i.jsx("div",{"data-vg-id":"2e783380","data-source-path":"/src/components/ViewGateOverlay.tsx:3943",className:"vg-spinner",style:{width:"40px",height:"40px",border:"3px solid rgba(99, 102, 241, 0.1)",borderTopColor:"#6366f1"}}),i.jsx("p",{"data-vg-id":"f01afc60","data-source-path":"/src/components/ViewGateOverlay.tsx:3944",style:{color:"#64748b",fontSize:"15px",fontWeight:600},children:e==="es"?"Cargando endpoints...":"Loading endpoints..."})]})}),i.jsxs("div",{"data-vg-id":"2e7833bf","data-source-path":"/src/components/ViewGateOverlay.tsx:4088",style:{padding:"24px 40px",borderTop:"1px solid rgba(0,0,0,0.06)",background:"white",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"20px"},children:[i.jsxs("div",{"data-vg-id":"2e7833c0","data-source-path":"/src/components/ViewGateOverlay.tsx:4089",style:{display:"flex",alignItems:"center",gap:"12px"},children:[i.jsxs("div",{"data-vg-id":"2e7833d6","data-source-path":"/src/components/ViewGateOverlay.tsx:4090",style:{padding:"6px 12px",background:"#f1f5f9",borderRadius:"10px",fontSize:"14px",fontWeight:700,color:"#475569"},children:[X.length," ",e==="es"?"seleccionados":"selected"]}),X.length>0&&i.jsx("button",{"data-vg-id":"5861c0d4","data-source-path":"/src/components/ViewGateOverlay.tsx:4094",onClick:()=>{JA([]),bt&&Lr([])},style:{background:"none",border:"none",color:"#6366f1",fontSize:"14px",fontWeight:700,cursor:"pointer",padding:"4px 8px"},children:e==="es"?"Desmarcar todos":"Deselect all"})]}),i.jsx("div",{"data-vg-id":"2e7833d8","data-source-path":"/src/components/ViewGateOverlay.tsx:4105",style:{display:"flex",gap:"12px"},children:i.jsx("button",{"data-vg-id":"5861c0d6","data-source-path":"/src/components/ViewGateOverlay.tsx:4106",onClick:()=>{bt&&Lr(X),YA(!1)},style:{minWidth:"160px",padding:"14px 28px",borderRadius:"16px",fontSize:"15px",fontWeight:850,border:"none",background:"var(--vg-primary-gradient)",color:"white",cursor:"pointer",boxShadow:"0 10px 25px -5px rgba(99, 102, 241, 0.45)",transition:"all 0.2s",display:"flex",alignItems:"center",justifyContent:"center"},onMouseEnter:d=>{d.currentTarget.style.transform="translateY(-2px)",d.currentTarget.style.boxShadow="0 15px 30px -5px rgba(99, 102, 241, 0.6)"},onMouseLeave:d=>{d.currentTarget.style.transform="translateY(0)",d.currentTarget.style.boxShadow="0 10px 25px -5px rgba(99, 102, 241, 0.45)"},children:e==="es"?"Confirmar Selección":"Confirm Selection"})})]})]})}),bt&&(()=>{const d=Ir.find(u=>u._id===bt);return d?i.jsx("div",{"data-vg-id":"2e7833da","data-source-path":"/src/components/ViewGateOverlay.tsx:4143",className:"vg-animate-fade",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(11, 15, 25, 0.4)",backdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:Ct+50},children:i.jsxs("div",{"data-vg-id":"2e7833db","data-source-path":"/src/components/ViewGateOverlay.tsx:4149",className:"vg-glassmorphism vg-animate-slide",style:{width:"600px",maxWidth:"90vw",maxHeight:"90vh",overflowY:"auto",background:"#ffffff",borderRadius:"24px",padding:"32px",boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",gap:"24px"},children:[i.jsxs("div",{"data-vg-id":"2e7833dc","data-source-path":"/src/components/ViewGateOverlay.tsx:4160",style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[i.jsx("h2",{"data-vg-id":"530b172","data-source-path":"/src/components/ViewGateOverlay.tsx:4161",style:{margin:0,fontSize:"20px",fontWeight:800,color:"#1e293b"},children:e==="es"?"Editar Comentario":"Edit Comment"}),i.jsx("button",{"data-vg-id":"5861c0db","data-source-path":"/src/components/ViewGateOverlay.tsx:4164",onClick:()=>Sr(null),style:{background:"none",border:"none",cursor:"pointer",color:"#94a3b8"},children:i.jsx(Kt,{"data-vg-id":"eec8c8a6","data-source-path":"/src/components/ViewGateOverlay.tsx:4165",size:24})})]}),i.jsxs("div",{"data-vg-id":"2e7833f5","data-source-path":"/src/components/ViewGateOverlay.tsx:4169",style:{display:"flex",flexDirection:"column",gap:"16px"},children:[i.jsxs("div",{"data-vg-id":"2e7833f6","data-source-path":"/src/components/ViewGateOverlay.tsx:4170",children:[i.jsx("label",{"data-vg-id":"feec105a","data-source-path":"/src/components/ViewGateOverlay.tsx:4171",style:{display:"block",fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",textTransform:"uppercase",letterSpacing:"0.5px"},children:s.priority}),i.jsx("div",{"data-vg-id":"2e7833f8","data-source-path":"/src/components/ViewGateOverlay.tsx:4172",style:{display:"flex",gap:"8px"},children:["low","medium","high","urgent"].map(u=>i.jsx("button",{onClick:()=>y(u),style:{flex:1,padding:"10px 12px",borderRadius:"12px",fontSize:"13px",fontWeight:800,border:"2px solid",borderColor:F===u?u==="low"?"#10b981":u==="medium"?"#6366f1":u==="high"?"#f59e0b":"#ef4444":"#f1f5f9",backgroundColor:F===u?u==="low"?"#ecfdf5":u==="medium"?"#eef2ff":u==="high"?"#fffbeb":"#fef2f2":"white",color:F===u?u==="low"?"#059669":u==="medium"?"#4338ca":u==="high"?"#b45309":"#b91c1c":"#64748b",cursor:"pointer",transition:"all 0.2s",textTransform:"capitalize"},children:s[u]},u))})]}),i.jsxs("div",{"data-vg-id":"2e7833f9","data-source-path":"/src/components/ViewGateOverlay.tsx:4191",children:[i.jsx("label",{"data-vg-id":"feec105d","data-source-path":"/src/components/ViewGateOverlay.tsx:4192",style:{display:"block",fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",textTransform:"uppercase",letterSpacing:"0.5px"},children:e==="es"?"Mensaje":"Message"}),i.jsx("textarea",{className:"vg-textarea",value:Fc,onChange:u=>yc(u.target.value),rows:5,style:{minHeight:"120px",fontSize:"15px"}})]}),i.jsxs("div",{"data-vg-id":"2e7833fb","data-source-path":"/src/components/ViewGateOverlay.tsx:4202",children:[i.jsx("label",{"data-vg-id":"feec105f","data-source-path":"/src/components/ViewGateOverlay.tsx:4203",style:{display:"block",fontSize:"12px",fontWeight:700,color:"#64748b",marginBottom:"8px",textTransform:"uppercase",letterSpacing:"0.5px"},children:"Focus Areas"}),i.jsx("div",{"data-vg-id":"2e7833fd","data-source-path":"/src/components/ViewGateOverlay.tsx:4204",style:{display:"flex",gap:"12px"},children:[{id:"frontend",label:s.frontend,icon:i.jsx(xs,{"data-vg-id":"b806c32b","data-source-path":"/src/components/ViewGateOverlay.tsx:4206",size:16}),color:"#10b981",bg:"#ecfdf5",outline:"#a7f3d0"},{id:"backend",label:s.backend,icon:i.jsx(Te,{"data-vg-id":"b1e4c6d0","data-source-path":"/src/components/ViewGateOverlay.tsx:4207",size:16}),color:"#6366f1",bg:"#eef2ff",outline:"#c7d2fe"},{id:"ux",label:s.ux,icon:i.jsx(Ot,{"data-vg-id":"ea069d8d","data-source-path":"/src/components/ViewGateOverlay.tsx:4208",size:16}),color:"#d946ef",bg:"#fdf4ff",outline:"#fae8ff"}].map(u=>{const p=Qe.includes(u.id);return i.jsxs("button",{onClick:()=>{p?io(Qe.filter(x=>x!==u.id)):(io([...Qe,u.id]),u.id==="backend"&&vt.length===0&&yr())},style:{flex:1,padding:"12px",borderRadius:"16px",fontSize:"13px",fontWeight:800,border:"2px solid",borderColor:p?u.color:"#f1f5f9",backgroundColor:p?u.bg:"white",color:p?u.color:"#64748b",cursor:"pointer",transition:"all 0.2s",display:"flex",alignItems:"center",justifyContent:"center",gap:"8px",boxShadow:p?`0 4px 12px ${u.outline}`:"none"},children:[u.icon," ",u.label]},u.id)})})]}),Qe.includes("ux")&&i.jsxs("div",{"data-vg-id":"2e783416","data-source-path":"/src/components/ViewGateOverlay.tsx:4237",className:"vg-animate-slide",style:{padding:"20px",background:"rgba(217, 70, 239, 0.04)",borderRadius:"20px",border:"1px solid rgba(217, 70, 239, 0.15)"},children:[i.jsxs("div",{"data-vg-id":"2e783417","data-source-path":"/src/components/ViewGateOverlay.tsx:4238",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"16px"},children:[i.jsx("span",{"data-vg-id":"81620ad","data-source-path":"/src/components/ViewGateOverlay.tsx:4239",style:{fontSize:"12px",fontWeight:800,color:"#d946ef",textTransform:"uppercase",letterSpacing:"0.5px"},children:s.figmaLink}),i.jsxs("button",{"data-vg-id":"5861c116","data-source-path":"/src/components/ViewGateOverlay.tsx:4240",onClick:()=>hs([...rt,{name:"",link:""}]),style:{background:"rgba(217, 70, 239, 0.1)",border:"none",color:"#d946ef",borderRadius:"8px",padding:"6px 12px",fontSize:"12px",fontWeight:800,cursor:"pointer",transition:"all 0.2s"},children:["+ ",s.addLink]})]}),i.jsx("div",{"data-vg-id":"2e78341a","data-source-path":"/src/components/ViewGateOverlay.tsx:4247",style:{display:"flex",flexDirection:"column",gap:"12px"},children:rt.map((u,p)=>i.jsxs("div",{"data-vg-id":"2e78341b","data-source-path":"/src/components/ViewGateOverlay.tsx:4249",style:{display:"flex",gap:"8px",alignItems:"center"},children:[i.jsxs("div",{"data-vg-id":"2e78341c","data-source-path":"/src/components/ViewGateOverlay.tsx:4250",style:{flex:1,display:"flex",gap:"8px"},children:[i.jsx("input",{"data-vg-id":"88e38e56","data-source-path":"/src/components/ViewGateOverlay.tsx:4251",className:"vg-textarea",style:{flex:1,padding:"10px 14px",fontSize:"13px",minHeight:"auto",borderRadius:"12px"},placeholder:s.figmaNamePlaceholder,value:u.name,onChange:x=>{const E=[...rt];E[p]&&(E[p].name=x.target.value),hs(E)}}),i.jsx("input",{"data-vg-id":"88e38e6c","data-source-path":"/src/components/ViewGateOverlay.tsx:4260",className:"vg-textarea",style:{flex:2,padding:"10px 14px",fontSize:"13px",minHeight:"auto",borderRadius:"12px"},placeholder:s.figmaLinkPlaceholder,value:u.link,onChange:x=>{const E=[...rt];E[p]&&(E[p].link=x.target.value),hs(E)}})]}),rt.length>1&&i.jsx("button",{"data-vg-id":"5861c131","data-source-path":"/src/components/ViewGateOverlay.tsx:4271",onClick:()=>hs(rt.filter((x,E)=>E!==p)),style:{background:"none",border:"none",color:"#ef4444",cursor:"pointer",padding:"8px",borderRadius:"8px",display:"flex"},children:i.jsx(Fs,{"data-vg-id":"45b4461a","data-source-path":"/src/components/ViewGateOverlay.tsx:4271",size:18})})]},p))})]}),Qe.includes("backend")&&i.jsxs("div",{"data-vg-id":"2e783436","data-source-path":"/src/components/ViewGateOverlay.tsx:4280",className:"vg-animate-slide",style:{padding:"20px",background:"rgba(99, 102, 241, 0.04)",borderRadius:"20px",border:"1px solid rgba(99, 102, 241, 0.15)"},children:[i.jsx("span",{"data-vg-id":"81620cc","data-source-path":"/src/components/ViewGateOverlay.tsx:4281",style:{display:"block",fontSize:"12px",fontWeight:800,color:"#6366f1",textTransform:"uppercase",letterSpacing:"0.5px",marginBottom:"16px"},children:"Backend Endpoints"}),i.jsxs("button",{"data-vg-id":"5861c135","data-source-path":"/src/components/ViewGateOverlay.tsx:4282",onClick:()=>{JA(vt),YA(!0)},className:"vg-input-like-button",style:{cursor:"pointer",width:"100%",padding:"14px 20px",fontSize:"14px",borderRadius:"16px",background:"#ffffff",border:"1px solid #e0e7ff",display:"flex",alignItems:"center",justifyContent:"space-between",color:"#6366f1",fontWeight:700,boxShadow:"0 4px 6px -1px rgba(99, 102, 241, 0.1)"},children:[i.jsxs("div",{"data-vg-id":"2e783439","data-source-path":"/src/components/ViewGateOverlay.tsx:4290",style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.jsx(Te,{"data-vg-id":"b1e4c6f6","data-source-path":"/src/components/ViewGateOverlay.tsx:4291",size:18}),vt.length>0?`${vt.length} ${e==="es"?"seleccionados":"selected"}`:s.selectEndpoint]}),i.jsx(Vo,{"data-vg-id":"1cd39107","data-source-path":"/src/components/ViewGateOverlay.tsx:4294",size:18})]})]})]}),i.jsxs("div",{"data-vg-id":"2e78343c","data-source-path":"/src/components/ViewGateOverlay.tsx:4300",style:{display:"flex",justifyContent:"flex-end",gap:"12px",marginTop:"16px",paddingTop:"24px",borderTop:"1px solid #f1f5f9"},children:[i.jsx("button",{"data-vg-id":"5861c14f","data-source-path":"/src/components/ViewGateOverlay.tsx:4301",className:"vg-button-ghost",style:{padding:"12px 24px",fontSize:"14px",borderRadius:"12px",color:"#64748b",fontWeight:700},onClick:()=>{Sr(null),JA([])},children:s.cancel}),i.jsxs("button",{className:"vg-button-primary vg-animate-pop",style:{padding:"12px 32px",fontSize:"15px",borderRadius:"12px",background:"var(--vg-primary-gradient)",fontWeight:800,boxShadow:"0 10px 25px -5px rgba(99, 102, 241, 0.45)",opacity:ps?.7:1,cursor:ps?"not-allowed":"pointer",display:"flex",alignItems:"center",gap:"8px"},disabled:ps,onClick:async()=>{if(!ps)try{Tr(!0);const u=d.status==="ready_for_review"?d.originalStatus||(d.screenshot?"bug_fixing":"pending"):d.status,p=d.type==="bug"||d.originalStatus==="bug_fixing"||d.status==="bug_fixing";if(Qe.includes("backend")&&vt.length===0){A(e==="es"?"Selecciona al menos un endpoint o remueve el Focus Area de Backend":"Select at least one endpoint or remove the Backend Focus Area","error"),Tr(!1);return}const x=rt.filter(D=>D.link&&D.link.trim()!=="");if(Qe.includes("ux")&&x.length===0){A(e==="es"?"Añade al menos un enlace de Figma o remueve el Focus Area de UX":"Add at least one Figma link or remove the UX Focus Area","error"),Tr(!1);return}const E=await fetch(`${n}/api/annotations/${d._id}`,{method:"PATCH",headers:{"Content-Type":"application/json","x-api-key":r,Authorization:tA?`Bearer ${tA}`:""},body:JSON.stringify({message:Fc,priority:F,focusAreas:Qe,figmaReference:Qe.includes("ux")?x:[],backendEndpoints:Qe.includes("backend")?vt:[],status:u,type:p?"bug":"task"})});if(E.ok)Sr(null),JA([]),vr(),A(s.updateSuccess,"success");else{const D=await E.json().catch(()=>({}));A(D.message||D.error||s.error,"error")}}catch{A(s.error,"error")}finally{Tr(!1)}},children:[ps?i.jsx("div",{"data-vg-id":"2e783453","data-source-path":"/src/components/ViewGateOverlay.tsx:4380",className:"vg-spinner",style:{width:"16px",height:"16px",borderTopColor:"white"}}):null,s.save]})]})]})}):null})()]})})};function no(t,A,e){if(!A.endsWith(".tsx")&&!A.endsWith(".jsx")||A.includes("node_modules"))return t;const s=g=>g.replace(/\\/g,"/"),r=s(A).replace(s(e),""),n=g=>{let l=0;for(let B=0;B<g.length;B++)l=Math.imul(31,l)+g.charCodeAt(B)|0;return(l>>>0).toString(16)};let o=0;return t.split(`
20
+ `).map((g,l)=>{const B=l+1;return g.replace(/(^|[^a-zA-Z0-9])<([a-zA-Z][a-zA-Z0-9\.]*)(?=[ \t\n\/\>])/g,(f,h,w)=>{if(f.includes("data-source-path")||f.includes("data-vg-id")||w==="Fragment"||w==="React.Fragment")return f;o++;const C=n(`${r}:${w}:${o}`);return`${h}<${w} data-vg-id="${C}" data-source-path="${r}:${B}"`})}).join(`
21
+ `)}function Hp(){return{name:"vite-plugin-viewgate",enforce:"pre",transform(t,A){return{code:no(t,A,process.cwd()),map:null}}}}function Ip(t){const A=this.resourcePath;return A?(this.getOptions&&this.getOptions(),no(t,A,process.cwd())):t}function Sp(t){return Ip.call(this,t)}qA.ViewGate=El,qA.ViewGateOverlay=dc,qA.transformSourcePaths=no,qA.useViewGate=Po,qA.viewgateNextLoader=Sp,qA.viewgatePlugin=Hp,Object.defineProperty(qA,Symbol.toStringTag,{value:"Module"})}));