plano/_static/theme.js
2026-04-16 20:17:24 +00:00

3 lines
No EOL
56 KiB
JavaScript
Executable file

(()=>{var e={122(e){e.exports=function(){var e={686:function(e,t,n){"use strict";n.d(t,{default:function(){return x}});var r=n(279),i=n.n(r),o=n(370),a=n.n(o),l=n(817),s=n.n(l);function c(e){try{return document.execCommand(e)}catch(e){return!1}}var u=function(e){var t=s()(e);return c("cut"),t},f=function(e,t){var n,r,i,o=(n="rtl"===document.documentElement.getAttribute("dir"),(r=document.createElement("textarea")).style.fontSize="12pt",r.style.border="0",r.style.padding="0",r.style.margin="0",r.style.position="absolute",r.style[n?"right":"left"]="-9999px",i=window.pageYOffset||document.documentElement.scrollTop,r.style.top="".concat(i,"px"),r.setAttribute("readonly",""),r.value=e,r);t.container.appendChild(o);var a=s()(o);return c("copy"),o.remove(),a},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof e?n=f(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==e?void 0:e.type)?n=f(e.value,t):(n=s()(e),c("copy")),n};function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var _=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,i=e.target,o=e.text;if("copy"!==n&&"cut"!==n)throw Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==i)if(i&&"object"===p(i)&&1===i.nodeType){if("copy"===n&&i.hasAttribute("disabled"))throw Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(i.hasAttribute("readonly")||i.hasAttribute("disabled")))throw Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}else throw Error('Invalid "target" value, use a valid Element');return o?d(o,{container:r}):i?"cut"===n?u(i):d(i,{container:r}):void 0};function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t){var n="data-clipboard-".concat(e);if(t.hasAttribute(n))return t.getAttribute(n)}var x=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),e&&g(o,e);var t,n,r,i=(t=function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,r,i=m(o);return r=t?Reflect.construct(i,arguments,m(this).constructor):i.apply(this,arguments),e=this,(n=r)&&("object"===h(n)||"function"==typeof n)?n:function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)});function o(e,t){var n;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return(n=i.call(this)).resolveOptions(t),n.listenClick(e),n}return n=[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===h(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=a()(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||"copy",r=_({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(r?"success":"error",{action:n,text:r,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return v("action",e)}},{key:"defaultTarget",value:function(e){var t=v("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return v("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],r=[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return d(e,t)}},{key:"cut",value:function(e){return u(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t=!!document.queryCommandSupported;return("string"==typeof e?[e]:e).forEach(function(e){t=t&&!!document.queryCommandSupported(e)}),t}}],n&&y(o.prototype,n),r&&y(o,r),o}(i())},828:function(e){if("u">typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,n){var r=n(828);function i(e,t,n,r,i){var a=o.apply(this,arguments);return e.addEventListener(n,a,i),{destroy:function(){e.removeEventListener(n,a,i)}}}function o(e,t,n,i){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&i.call(e,n)}}e.exports=function(e,t,n,r,o){return"function"==typeof e.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,function(e){return i(e,t,n,r,o)}))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var r=n(879),i=n(438);e.exports=function(e,t,n){var o,a,l,s,c,u,f,d,p;if(!e&&!t&&!n)throw Error("Missing required arguments");if(!r.string(t))throw TypeError("Second argument must be a String");if(!r.fn(n))throw TypeError("Third argument must be a Function");if(r.node(e)){return o=e,a=t,l=n,o.addEventListener(a,l),{destroy:function(){o.removeEventListener(a,l)}}}if(r.nodeList(e)){return s=e,c=t,u=n,Array.prototype.forEach.call(s,function(e){e.addEventListener(c,u)}),{destroy:function(){Array.prototype.forEach.call(s,function(e){e.removeEventListener(c,u)})}}}if(r.string(e)){return f=e,d=t,p=n,i(document.body,f,d,p)}throw TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var o=0,a=r.length;o<a;o++)r[o].fn!==t&&r[o].fn._!==t&&i.push(r[o]);return i.length?n[e]=i:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}return n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n(686)}().default}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.rv=()=>"1.7.11",n.ruid="bundler=rspack@1.7.11",(()=>{"use strict";let e,t,r,i,o;function a(e,t){return null!==t.getItem(e)}function l(e,t){let n=t.getItem(e);if(void 0!==n)return JSON.parse(n)}function s(e,t,n){n.setItem(e,JSON.stringify(t))}var c,u,f,d,p,_,h=!1,y=!1,g=[],m=-1,v=!1;function x(e){let t=g.indexOf(e);-1!==t&&t>m&&g.splice(t,1)}function b(){y||h||v||(h=!0,queueMicrotask(w))}function w(){h=!1,y=!0;for(let e=0;e<g.length;e++)g[e](),m=e;g.length=0,m=-1,y=!1}var E=!0;function S(e,t){let n,r,i=!0,o=u(()=>{let o=e(),a=JSON.stringify(o);if(!i&&("object"==typeof o||o!==n)){let e="object"==typeof n?JSON.parse(r):n;queueMicrotask(()=>{t(o,e)})}n=o,r=a,i=!1});return()=>f(o)}async function A(e){v=!0;try{await e(),await Promise.resolve()}finally{v=!1,b()}}var O=[],k=[],j=[];function C(e,t){"function"==typeof t?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(t)):(t=e,k.push(t))}function $(e){O.push(e)}function M(e,t,n){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(n)}function T(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach(([n,r])=>{(void 0===t||t.includes(n))&&(r.forEach(e=>e()),delete e._x_attributeCleanups[n])})}var L=new MutationObserver(D),N=!1;function P(){L.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),N=!0}function R(){let e,t;e=L.takeRecords(),q.push(()=>e.length>0&&D(e)),t=q.length,queueMicrotask(()=>{if(q.length===t)for(;q.length>0;)q.shift()()}),L.disconnect(),N=!1}var q=[];function I(e){if(!N)return e();R();let t=e();return P(),t}var z=!1,B=[];function D(e){if(z){B=B.concat(e);return}let t=[],n=new Set,r=new Map,i=new Map;for(let o=0;o<e.length;o++)if(!e[o].target._x_ignoreMutationObserver&&("childList"===e[o].type&&(e[o].removedNodes.forEach(e=>{1!==e.nodeType||e._x_marker&&n.add(e)}),e[o].addedNodes.forEach(e=>{1!==e.nodeType||(n.has(e)?n.delete(e):e._x_marker||t.push(e))})),"attributes"===e[o].type)){let t=e[o].target,n=e[o].attributeName,a=e[o].oldValue,l=()=>{r.has(t)||r.set(t,[]),r.get(t).push({name:n,value:t.getAttribute(n)})},s=()=>{i.has(t)||i.set(t,[]),i.get(t).push(n)};t.hasAttribute(n)&&null===a?l():t.hasAttribute(n)?(s(),l()):s()}for(let e of(i.forEach((e,t)=>{T(t,e)}),r.forEach((e,t)=>{O.forEach(n=>n(t,e))}),n))t.some(t=>t.contains(e))||k.forEach(t=>t(e));for(let e of t)e.isConnected&&j.forEach(t=>t(e));t=null,n=null,r=null,i=null}function F(e){return W(H(e))}function U(e,t,n){return e._x_dataStack=[t,...H(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter(e=>e!==t)}}function H(e){return e._x_dataStack?e._x_dataStack:"function"==typeof ShadowRoot&&e instanceof ShadowRoot?H(e.host):e.parentNode?H(e.parentNode):[]}function W(e){return new Proxy({objects:e},J)}var J={ownKeys:({objects:e})=>Array.from(new Set(e.flatMap(e=>Object.keys(e)))),has:({objects:e},t)=>t!=Symbol.unscopables&&e.some(e=>Object.prototype.hasOwnProperty.call(e,t)||Reflect.has(e,t)),get:({objects:e},t,n)=>"toJSON"==t?V:Reflect.get(e.find(e=>Reflect.has(e,t))||{},t,n),set({objects:e},t,n,r){let i;for(let n of e)if(i=function e(t,n){return null===t||t===Object.prototype?null:Object.prototype.hasOwnProperty.call(t,n)?t:e(Object.getPrototypeOf(t),n)}(n,t))break;i||(i=e[e.length-1]);let o=Object.getOwnPropertyDescriptor(i,t);return o?.set&&o?.get?o.set.call(r,n)||!0:Reflect.set(i,t,n)}};function V(){return Reflect.ownKeys(this).reduce((e,t)=>(e[t]=Reflect.get(this,t),e),{})}function Z(e){let t=(n,r="")=>{Object.entries(Object.getOwnPropertyDescriptors(n)).forEach(([i,{value:o,enumerable:a}])=>{if(!1===a||void 0===o||"object"==typeof o&&null!==o&&o.__v_skip)return;let l=""===r?i:`${r}.${i}`;if("object"==typeof o&&null!==o&&o._x_interceptor)n[i]=o.initialize(e,l,i);else"object"!=typeof o||Array.isArray(o)||null===o||o===n||o instanceof Element||t(o,l)})};return t(e)}function K(e,t=()=>{}){let n={initialValue:void 0,_x_interceptor:!0,initialize(t,n,r){return e(this.initialValue,()=>{var e;return e=t,n.split(".").reduce((e,t)=>e[t],e)},e=>(function e(t,n,r){if("string"==typeof n&&(n=n.split(".")),1===n.length)t[n[0]]=r;else if(0!==n.length)return t[n[0]]||(t[n[0]]={}),e(t[n[0]],n.slice(1),r);else throw error})(t,n,e),n,r)}};return t(n),e=>{if("object"==typeof e&&null!==e&&e._x_interceptor){let t=n.initialize.bind(n);n.initialize=(r,i,o)=>(n.initialValue=e.initialize(r,i,o),t(r,i,o))}else n.initialValue=e;return n}}var Y={};function X(e,t){let n=function(e){let[t,n]=eg(e),r={interceptor:K,...t};return C(e,n),r}(t);return Object.entries(Y).forEach(([r,i])=>{Object.defineProperty(e,`$${r}`,{get:()=>i(t,n),enumerable:!1})}),e}function G(e,t,n,...r){try{return n(...r)}catch(n){Q(n,e,t)}}function Q(...e){return ee(...e)}var ee=function(e,t,n){e=Object.assign(e??{message:"No error message given."},{el:t,expression:n}),console.warn(`Alpine Expression Error: ${e.message}
${n?'Expression: "'+n+'"\n\n':""}`,t),setTimeout(()=>{throw e},0)},et=!0;function en(e){let t=et;et=!1;let n=e();return et=t,n}function er(e,t,n={}){let r;return ei(e,t)(e=>r=e,n),r}function ei(...e){return eo(...e)}var eo=()=>{},ea={};function el(e,t,n,r,i){if(et&&"function"==typeof t){let o=t.apply(n,r);o instanceof Promise?o.then(t=>el(e,t,n,r)).catch(e=>Q(e,i,t)):e(o)}else"object"==typeof t&&t instanceof Promise?t.then(t=>e(t)):e(t)}var es="x-";function ec(e=""){return es+e}var eu={};function ef(e,t){return eu[e]=t,{before(t){if(!eu[t])return void console.warn(String.raw`Cannot find directive \`${t}\`. \`${e}\` will use the default order of execution`);let n=eA.indexOf(t);eA.splice(n>=0?n:eA.indexOf("DEFAULT"),0,e)}}}function ed(e,t,n){var r,i;if(t=Array.from(t),e._x_virtualDirectives){let n=Object.entries(e._x_virtualDirectives).map(([e,t])=>({name:e,value:t})),r=ep(n);n=n.map(e=>r.find(t=>t.name===e.name)?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e),t=t.concat(n)}let o={};return t.map(ev((e,t)=>o[e]=t)).filter(ew).map((r=o,i=n,({name:e,value:t})=>{e===t&&(t="");let n=e.match(eE()),o=e.match(/:([a-zA-Z0-9\-_:]+)/),a=e.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],l=i||r[e]||e;return{type:n?n[1]:null,value:o?o[1]:null,modifiers:a.map(e=>e.replace(".","")),expression:t,original:l}})).sort(eO).map(t=>(function(e,t){let n=eu[t.type]||(()=>{}),[r,i]=eg(e);M(e,t.original,i);let o=()=>{e._x_ignore||e._x_ignoreSelf||(n.inline&&n.inline(e,t,r),n=n.bind(n,e,t,r),e_?eh.get(ey).push(n):n())};return o.runCleanups=i,o})(e,t))}function ep(e){return Array.from(e).map(ev()).filter(e=>!ew(e))}var e_=!1,eh=new Map,ey=Symbol();function eg(e){let t,n=[],[r,i]=(t=()=>{},[n=>{let r=u(n);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(e=>e())}),e._x_effects.add(r),t=()=>{void 0!==r&&(e._x_effects.delete(r),f(r))},r},()=>{t()}]);return n.push(i),[{Alpine:tp,effect:r,cleanup:e=>n.push(e),evaluateLater:ei.bind(ei,e),evaluate:er.bind(er,e)},()=>n.forEach(e=>e())]}var em=(e,t)=>({name:n,value:r})=>(n.startsWith(e)&&(n=n.replace(e,t)),{name:n,value:r});function ev(e=()=>{}){return({name:t,value:n})=>{let{name:r,value:i}=ex.reduce((e,t)=>t(e),{name:t,value:n});return r!==t&&e(r,t),{name:r,value:i}}}var ex=[];function eb(e){ex.push(e)}function ew({name:e}){return eE().test(e)}var eE=()=>RegExp(`^${es}([^:^.]+)\\b`),eS="DEFAULT",eA=["ignore","ref","data","id","anchor","bind","init","for","model","modelable","transition","show","if",eS,"teleport"];function eO(e,t){let n=-1===eA.indexOf(e.type)?eS:e.type,r=-1===eA.indexOf(t.type)?eS:t.type;return eA.indexOf(n)-eA.indexOf(r)}function ek(e,t,n={},r={}){return e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0,...r}))}function ej(e,t){if("function"==typeof ShadowRoot&&e instanceof ShadowRoot)return void Array.from(e.children).forEach(e=>ej(e,t));let n=!1;if(t(e,()=>n=!0),n)return;let r=e.firstElementChild;for(;r;)ej(r,t,!1),r=r.nextElementSibling}function eC(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var e$=!1,eM=[],eT=[];function eL(){return eM.map(e=>e())}function eN(){return eM.concat(eT).map(e=>e())}function eP(e){eM.push(e)}function eR(e){eT.push(e)}function eq(e,t=!1){return eI(e,e=>{if((t?eN():eL()).some(t=>e.matches(t)))return!0})}function eI(e,t){return e?t(e)?e:e._x_teleportBack?eI(e._x_teleportBack,t):e.parentNode instanceof ShadowRoot?eI(e.parentNode.host,t):e.parentElement?eI(e.parentElement,t):void 0:void 0}var ez=[],eB=1;function eD(e,t=ej,n=()=>{}){if(!eI(e,e=>e._x_ignore)){let r,i;e_=!0,ey=r=Symbol(),eh.set(r,[]),(()=>{t(e,(e,t)=>{!e._x_marker&&(n(e,t),ez.forEach(n=>n(e,t)),ed(e,e.attributes).forEach(e=>e()),e._x_ignore||(e._x_marker=eB++),e._x_ignore&&t())})})(i=()=>{for(;eh.get(r).length;)eh.get(r).shift()();eh.delete(r)}),e_=!1,i()}}function eF(e,t=ej){t(e,e=>{for(e._x_effects?.forEach(x);e._x_cleanups?.length;)e._x_cleanups.pop()();T(e),delete e._x_marker})}var eU=[],eH=!1;function eW(e=()=>{}){return queueMicrotask(()=>{eH||setTimeout(()=>{eJ()})}),new Promise(t=>{eU.push(()=>{e(),t()})})}function eJ(){for(eH=!1;eU.length;)eU.shift()()}function eV(e,t){if(Array.isArray(t))return eK(e,t.join(" "));if("object"==typeof t&&null!==t){var n,r;let i,o,a,l;return n=e,i=Object.entries(r=t).flatMap(([e,t])=>!!t&&eZ(e)).filter(Boolean),o=Object.entries(r).flatMap(([e,t])=>!t&&eZ(e)).filter(Boolean),a=[],l=[],o.forEach(e=>{n.classList.contains(e)&&(n.classList.remove(e),l.push(e))}),i.forEach(e=>{n.classList.contains(e)||(n.classList.add(e),a.push(e))}),()=>{l.forEach(e=>n.classList.add(e)),a.forEach(e=>n.classList.remove(e))}}return"function"==typeof t?eV(e,t()):eK(e,t)}function eZ(e){return e.split(/\s/).filter(Boolean)}function eK(e,t){var n;return n=eZ(t=!0===t?t="":t||"").filter(t=>!e.classList.contains(t)).filter(Boolean),e.classList.add(...n),()=>{e.classList.remove(...n)}}function eY(e,t){var n,r,i;let o,a;return"object"==typeof t&&null!==t?(n=e,o={},Object.entries(t).forEach(([e,t])=>{o[e]=n.style[e],e.startsWith("--")||(e=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()),n.style.setProperty(e,t)}),setTimeout(()=>{0===n.style.length&&n.removeAttribute("style")}),()=>{eY(n,o)}):(r=e,i=t,a=r.getAttribute("style",i),r.setAttribute("style",i),()=>{r.setAttribute("style",a||"")})}function eX(e,t=()=>{}){let n=!1;return function(){n?t.apply(this,arguments):(n=!0,e.apply(this,arguments))}}function eG(e,t,n={}){e._x_transition||(e._x_transition={enter:{during:n,start:n,end:n},leave:{during:n,start:n,end:n},in(n=()=>{},r=()=>{}){eQ(e,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},n,r)},out(n=()=>{},r=()=>{}){eQ(e,t,{during:this.leave.during,start:this.leave.start,end:this.leave.end},n,r)}})}function eQ(e,t,{during:n,start:r,end:i}={},o=()=>{},a=()=>{}){var l,s;let c,u,f,d,p,_,h;if(e._x_transitioning&&e._x_transitioning.cancel(),0===Object.keys(n).length&&0===Object.keys(r).length&&0===Object.keys(i).length){o(),a();return}l=e,s={start(){c=t(e,r)},during(){u=t(e,n)},before:o,end(){c(),f=t(e,i)},after:a,cleanup(){u(),f()}},h=eX(()=>{I(()=>{d=!0,p||s.before(),_||(s.end(),eJ()),s.after(),l.isConnected&&s.cleanup(),delete l._x_transitioning})}),l._x_transitioning={beforeCancels:[],beforeCancel(e){this.beforeCancels.push(e)},cancel:eX(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();h()}),finish:h},I(()=>{s.start(),s.during()}),eH=!0,requestAnimationFrame(()=>{if(d)return;let e=1e3*Number(getComputedStyle(l).transitionDuration.replace(/,.*/,"").replace("s","")),t=1e3*Number(getComputedStyle(l).transitionDelay.replace(/,.*/,"").replace("s",""));0===e&&(e=1e3*Number(getComputedStyle(l).animationDuration.replace("s",""))),I(()=>{s.before()}),p=!0,requestAnimationFrame(()=>{d||(I(()=>{s.end()}),eJ(),setTimeout(l._x_transitioning.finish,e+t),_=!0)})})}function e0(e,t,n){if(-1===e.indexOf(t))return n;let r=e[e.indexOf(t)+1];if(!r||"scale"===t&&isNaN(r))return n;if("duration"===t||"delay"===t){let e=r.match(/([0-9]+)ms/);if(e)return e[1]}return"origin"===t&&["top","right","left","center","bottom"].includes(e[e.indexOf(t)+2])?[r,e[e.indexOf(t)+2]].join(" "):r}ef("transition",(e,{value:t,modifiers:n,expression:r},{evaluate:i})=>{var o,a,l,s,c,u;let f,d,p,_,h,y,g,m,v,x,b,w,E,S;"function"==typeof r&&(r=i(r)),!1!==r&&(r&&"boolean"!=typeof r?(o=e,a=r,l=t,eG(o,eV,""),({enter:e=>{o._x_transition.enter.during=e},"enter-start":e=>{o._x_transition.enter.start=e},"enter-end":e=>{o._x_transition.enter.end=e},leave:e=>{o._x_transition.leave.during=e},"leave-start":e=>{o._x_transition.leave.start=e},"leave-end":e=>{o._x_transition.leave.end=e}})[l](a)):(s=e,c=n,u=t,eG(s,eY),d=(f=!c.includes("in")&&!c.includes("out")&&!u)||c.includes("in")||["enter"].includes(u),p=f||c.includes("out")||["leave"].includes(u),c.includes("in")&&!f&&(c=c.filter((e,t)=>t<c.indexOf("out"))),c.includes("out")&&!f&&(c=c.filter((e,t)=>t>c.indexOf("out"))),h=(_=!c.includes("opacity")&&!c.includes("scale"))||c.includes("opacity"),y=_||c.includes("scale"),g=+!h,m=y?e0(c,"scale",95)/100:1,v=e0(c,"delay",0)/1e3,x=e0(c,"origin","center"),b="opacity, transform",w=e0(c,"duration",150)/1e3,E=e0(c,"duration",75)/1e3,S="cubic-bezier(0.4, 0.0, 0.2, 1)",d&&(s._x_transition.enter.during={transformOrigin:x,transitionDelay:`${v}s`,transitionProperty:b,transitionDuration:`${w}s`,transitionTimingFunction:S},s._x_transition.enter.start={opacity:g,transform:`scale(${m})`},s._x_transition.enter.end={opacity:1,transform:"scale(1)"}),p&&(s._x_transition.leave.during={transformOrigin:x,transitionDelay:`${v}s`,transitionProperty:b,transitionDuration:`${E}s`,transitionTimingFunction:S},s._x_transition.leave.start={opacity:1,transform:"scale(1)"},s._x_transition.leave.end={opacity:g,transform:`scale(${m})`})))}),window.Element.prototype._x_toggleAndCascadeWithTransitions=function(e,t,n,r){let i="visible"===document.visibilityState?requestAnimationFrame:setTimeout;t?e._x_transition&&(e._x_transition.enter||e._x_transition.leave)?e._x_transition.enter&&(Object.entries(e._x_transition.enter.during).length||Object.entries(e._x_transition.enter.start).length||Object.entries(e._x_transition.enter.end).length)?e._x_transition.in(n):i(n):e._x_transition?e._x_transition.in(n):i(n):(e._x_hidePromise=e._x_transition?new Promise((t,n)=>{e._x_transition.out(()=>{},()=>t(r)),e._x_transitioning&&e._x_transitioning.beforeCancel(()=>n({isFromCancelledTransition:!0}))}):Promise.resolve(r),queueMicrotask(()=>{let t=function e(t){let n=t.parentNode;if(n)return n._x_hidePromise?n:e(n)}(e);t?(t._x_hideChildren||(t._x_hideChildren=[]),t._x_hideChildren.push(e)):i(()=>{let t=e=>{let n=Promise.all([e._x_hidePromise,...(e._x_hideChildren||[]).map(t)]).then(([e])=>e?.());return delete e._x_hidePromise,delete e._x_hideChildren,n};t(e).catch(e=>{if(!e.isFromCancelledTransition)throw e})})}))};var e1=!1;function e2(e,t=()=>{}){return(...n)=>e1?t(...n):e(...n)}var e3=[];function e5(e){e3.push(e)}var e6=!1;function e8(e){let t=u;u=(e,n)=>{let r=t(e);return f(r),()=>{}},e(),u=t}function e9(e,t,n,r=[]){var i,o,a,l,s,u,f,d,p,_;switch(!e._x_bindings&&(e._x_bindings=c({})),e._x_bindings[t]=n,t=r.includes("camel")?t.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase()):t){case"value":!function(e,t){if(tr(e))void 0===e.attributes.value&&(e.value=t);else if(tn(e))Number.isInteger(t)?e.value=t:Array.isArray(t)||"boolean"==typeof t||[null,void 0].includes(t)?Array.isArray(t)?e.checked=t.some(t=>t==e.value):e.checked=!!t:e.value=String(t);else if("SELECT"===e.tagName){var n;let r;n=e,r=[].concat(t).map(e=>e+""),Array.from(n.options).forEach(e=>{e.selected=r.includes(e.value)})}else{if(e.value===t)return;e.value=void 0===t?"":t}}(e,n);break;case"style":i=e,o=n,i._x_undoAddedStyles&&i._x_undoAddedStyles(),i._x_undoAddedStyles=eY(i,o);break;case"class":a=e,l=n,a._x_undoAddedClasses&&a._x_undoAddedClasses(),a._x_undoAddedClasses=eV(a,l);break;case"selected":case"checked":e7(s=e,u=t,f=n),d=s,p=u,_=f,d[p]!==_&&(d[p]=_);break;default:e7(e,t,n)}}function e7(e,t,n){var r,i,o,a;[null,void 0,!1].includes(n)&&!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(t)?e.removeAttribute(t):(r=t,te.has(r)&&(n=t),i=e,o=t,a=n,i.getAttribute(o)!=a&&i.setAttribute(o,a))}function e4(e){return!![1,"1","true","on","yes",!0].includes(e)||![0,"0","false","off","no",!1].includes(e)&&(e?!!e:null)}var te=new Set(["allowfullscreen","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","inert","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","shadowrootclonable","shadowrootdelegatesfocus","shadowrootserializable"]);function tt(e,t,n){let r=e.getAttribute(t);return null===r?"function"==typeof n?n():n:""===r||(te.has(t)?!![t,"true"].includes(r):r)}function tn(e){return"checkbox"===e.type||"ui-checkbox"===e.localName||"ui-switch"===e.localName}function tr(e){return"radio"===e.type||"ui-radio"===e.localName}function ti(e,t){let n;return function(){let r=this,i=arguments;clearTimeout(n),n=setTimeout(function(){n=null,e.apply(r,i)},t)}}function to(e,t){let n;return function(){let r=arguments;n||(e.apply(this,r),n=!0,setTimeout(()=>n=!1,t))}}function ta({get:e,set:t},{get:n,set:r}){let i,o=!0,a=u(()=>{let a=e(),l=n();if(o)r(tl(a)),o=!1;else{let e=JSON.stringify(a),n=JSON.stringify(l);e!==i?r(tl(a)):e!==n&&t(tl(l))}i=JSON.stringify(e()),JSON.stringify(n())});return()=>{f(a)}}function tl(e){return"object"==typeof e?JSON.parse(JSON.stringify(e)):e}var ts={},tc=!1,tu={};function tf(e,t,n){let r=[];for(;r.length;)r.pop()();let i=Object.entries(t).map(([e,t])=>({name:e,value:t})),o=ep(i);return ed(e,i=i.map(e=>o.find(t=>t.name===e.name)?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e),n).map(e=>{r.push(e.runCleanups),e()}),()=>{for(;r.length;)r.pop()()}}var td={},tp={get reactive(){return c},get release(){return f},get effect(){return u},get raw(){return d},get transaction(){return A},version:"3.15.11",flushAndStopDeferringMutations:function(){z=!1,D(B),B=[]},dontAutoEvaluateFunctions:en,disableEffectScheduling:function(e){E=!1,e(),E=!0},startObservingMutations:P,stopObservingMutations:R,setReactivityEngine:function(e){c=e.reactive,f=e.release,u=t=>e.effect(t,{scheduler:e=>{E?(g.includes(e)||g.push(e),b()):e()}}),d=e.raw},onAttributeRemoved:M,onAttributesAdded:$,closestDataStack:H,skipDuringClone:e2,onlyDuringClone:function(e){return(...t)=>e1&&e(...t)},addRootSelector:eP,addInitSelector:eR,setErrorHandler:function(e){ee=e},interceptClone:e5,addScopeToNode:U,deferMutations:function(){z=!0},mapAttributes:eb,evaluateLater:ei,interceptInit:function(e){ez.push(e)},initInterceptors:Z,injectMagics:X,setEvaluator:function(e){eo=e},setRawEvaluator:function(e){p=e},mergeProxies:W,extractProp:function(e,t,n,r=!0){if(e._x_bindings&&void 0!==e._x_bindings[t])return e._x_bindings[t];if(e._x_inlineBindings&&void 0!==e._x_inlineBindings[t]){let n=e._x_inlineBindings[t];return n.extract=r,en(()=>er(e,n.expression))}return tt(e,t,n)},findClosest:eI,onElRemoved:C,closestRoot:eq,destroyTree:eF,interceptor:K,transition:eQ,setStyles:eY,mutateDom:I,directive:ef,entangle:ta,throttle:to,debounce:ti,evaluate:er,evaluateRaw:function(...e){return p(...e)},initTree:eD,nextTick:eW,prefixed:ec,prefix:function(e){es=e},plugin:function(e){(Array.isArray(e)?e:[e]).forEach(e=>e(tp))},magic:function(e,t){Y[e]=t},store:function(e,t){if(tc||(ts=c(ts),tc=!0),void 0===t)return ts[e];ts[e]=t,Z(ts[e]),"object"==typeof t&&null!==t&&t.hasOwnProperty("init")&&"function"==typeof t.init&&ts[e].init()},start:function(){e$&&eC("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),e$=!0,document.body||eC("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),ek(document,"alpine:init"),ek(document,"alpine:initializing"),P(),j.push(e=>eD(e,ej)),C(e=>eF(e)),$((e,t)=>{ed(e,t).forEach(e=>e())}),Array.from(document.querySelectorAll(eN().join(","))).filter(e=>!eq(e.parentElement,!0)).forEach(e=>{eD(e)}),ek(document,"alpine:initialized"),setTimeout(()=>{[["ui","dialog",["[x-dialog], [x-popover]"]],["anchor","anchor",["[x-anchor]"]],["sort","sort",["[x-sort]"]]].forEach(([e,t,n])=>{Object.keys(eu).includes(t)||n.some(t=>{if(document.querySelector(t))return eC(`found "${t}", but missing ${e} plugin`),!0})})})},clone:function(e,t){t._x_dataStack||(t._x_dataStack=e._x_dataStack),e1=!0,e6=!0,e8(()=>{let e;e=!1,eD(t,(t,n)=>{ej(t,(t,r)=>{if(e&&eL().some(e=>t.matches(e)))return r();e=!0,n(t,r)})})}),e1=!1,e6=!1},cloneNode:function(e,t){e3.forEach(n=>n(e,t)),e1=!0,e8(()=>{eD(t,(e,t)=>{t(e,()=>{})})}),e1=!1},bound:function(e,t,n){return e._x_bindings&&void 0!==e._x_bindings[t]?e._x_bindings[t]:tt(e,t,n)},$data:F,watch:S,walk:ej,data:function(e,t){td[e]=t},bind:function(e,t){let n="function"!=typeof t?()=>t:t;return e instanceof Element?tf(e,n()):(tu[e]=n,()=>{})}},t_=Object.freeze({});Object.freeze([]);var th=Object.prototype.hasOwnProperty,ty=Array.isArray,tg=e=>"symbol"==typeof e,tm=e=>null!==e&&"object"==typeof e,tv=Object.prototype.toString,tx=e=>{let t;return(t=e,tv.call(t)).slice(8,-1)},tb=e=>"string"==typeof e&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,tw=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},tE=/-(\w)/g;tw(e=>e.replace(tE,(e,t)=>t?t.toUpperCase():""));var tS=/\B([A-Z])/g;tw(e=>e.replace(tS,"-$1").toLowerCase());var tA=tw(e=>e.charAt(0).toUpperCase()+e.slice(1));tw(e=>e?`on${tA(e)}`:"");var tO=(e,t)=>e!==t&&(e==e||t==t),tk=new WeakMap,tj=[],tC=Symbol("iterate"),t$=Symbol("Map key iterate"),tM=0;function tT(e){let{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}var tL=!0,tN=[];function tP(){let e=tN.pop();tL=void 0===e||e}function tR(e,t,n){if(!tL||void 0===_)return;let r=tk.get(e);r||tk.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=new Set),!i.has(_)&&(i.add(_),_.deps.push(i),_.options.onTrack&&_.options.onTrack({effect:_,target:e,type:t,key:n}))}function tq(e,t,n,r,i,o){let a=tk.get(e);if(!a)return;let l=new Set,s=e=>{e&&e.forEach(e=>{(e!==_||e.allowRecurse)&&l.add(e)})};if("clear"===t)a.forEach(s);else if("length"===n&&ty(e))a.forEach((e,t)=>{("length"===t||t>=r)&&s(e)});else switch(void 0!==n&&s(a.get(n)),t){case"add":if(ty(e))tb(n)&&s(a.get("length"));else{let t;s(a.get(tC));"[object Map]"===(t=e,tv.call(t))&&s(a.get(t$))}break;case"delete":if(!ty(e)){let t;s(a.get(tC));"[object Map]"===(t=e,tv.call(t))&&s(a.get(t$))}break;case"set":let c;"[object Map]"===(c=e,tv.call(c))&&s(a.get(tC))}l.forEach(a=>{a.options.onTrigger&&a.options.onTrigger({effect:a,target:e,key:n,type:t,newValue:r,oldValue:i,oldTarget:o}),a.options.scheduler?a.options.scheduler(a):a()})}var tI=function(e){let t=Object.create(null),n=e.split(",");for(let e=0;e<n.length;e++)t[n[e]]=!0;return e=>!!t[e]}("__proto__,__v_isRef,__isVue"),tz=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(tg)),tB=tU(),tD=tU(!0),tF=(o={},["includes","indexOf","lastIndexOf"].forEach(e=>{o[e]=function(...t){let n=nu(this);for(let e=0,t=this.length;e<t;e++)tR(n,"get",e+"");let r=n[e](...t);return -1===r||!1===r?n[e](...t.map(nu)):r}}),["push","pop","shift","unshift","splice"].forEach(e=>{o[e]=function(...t){tN.push(tL),tL=!1;let n=nu(this)[e].apply(this,t);return tP(),n}}),o);function tU(e=!1,t=!1){return function(n,r,i){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_raw"===r&&i===(e?t?na:no:t?ni:nr).get(n))return n;let o=ty(n);if(!e&&o&&th.call(tF,r))return Reflect.get(tF,r,i);let a=Reflect.get(n,r,i);return(tg(r)?tz.has(r):tI(r))||(e||tR(n,"get",r),t)?a:nf(a)?o&&tb(r)?a:a.value:tm(a)?e?ns(a):nl(a):a}}var tH={get:tB,set:function(e=!1){return function(t,n,r,i){let o=t[n];if(!e&&(r=nu(r),o=nu(o),!ty(t)&&nf(o)&&!nf(r)))return o.value=r,!0;let a=ty(t)&&tb(n)?Number(n)<t.length:th.call(t,n),l=Reflect.set(t,n,r,i);return t===nu(i)&&(a?tO(r,o)&&tq(t,"set",n,r,o):tq(t,"add",n,r)),l}}(),deleteProperty:function(e,t){let n=th.call(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&tq(e,"delete",t,void 0,r),i},has:function(e,t){let n=Reflect.has(e,t);return tg(t)&&tz.has(t)||tR(e,"has",t),n},ownKeys:function(e){return tR(e,"iterate",ty(e)?"length":tC),Reflect.ownKeys(e)}},tW={get:tD,set:(e,t)=>(console.warn(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0),deleteProperty:(e,t)=>(console.warn(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0)},tJ=e=>tm(e)?nl(e):e,tV=e=>tm(e)?ns(e):e,tZ=e=>e;function tK(e,t,n=!1,r=!1){let i=nu(e=e.__v_raw),o=nu(t);t!==o&&(n||tR(i,"get",t)),n||tR(i,"get",o);let{has:a}=Reflect.getPrototypeOf(i),l=r?tZ:n?tV:tJ;return a.call(i,t)?l(e.get(t)):a.call(i,o)?l(e.get(o)):void(e!==i&&e.get(t))}function tY(e,t=!1){let n=this.__v_raw,r=nu(n),i=nu(e);return e!==i&&(t||tR(r,"has",e)),t||tR(r,"has",i),e===i?n.has(e):n.has(e)||n.has(i)}function tX(e,t=!1){return e=e.__v_raw,t||tR(nu(e),"iterate",tC),Reflect.get(e,"size",e)}function tG(e){e=nu(e);let t=nu(this);return Reflect.getPrototypeOf(t).has.call(t,e)||(t.add(e),tq(t,"add",e,e)),this}function tQ(e,t){t=nu(t);let n=nu(this),{has:r,get:i}=Reflect.getPrototypeOf(n),o=r.call(n,e);o?nn(n,r,e):(e=nu(e),o=r.call(n,e));let a=i.call(n,e);return n.set(e,t),o?tO(t,a)&&tq(n,"set",e,t,a):tq(n,"add",e,t),this}function t0(e){let t=nu(this),{has:n,get:r}=Reflect.getPrototypeOf(t),i=n.call(t,e);i?nn(t,n,e):(e=nu(e),i=n.call(t,e));let o=r?r.call(t,e):void 0,a=t.delete(e);return i&&tq(t,"delete",e,void 0,o),a}function t1(){let e,t=nu(this),n=0!==t.size,r="[object Map]"===(e=t,tv.call(e))?new Map(t):new Set(t),i=t.clear();return n&&tq(t,"clear",void 0,void 0,r),i}function t2(e,t){return function(n,r){let i=this,o=i.__v_raw,a=nu(o),l=t?tZ:e?tV:tJ;return e||tR(a,"iterate",tC),o.forEach((e,t)=>n.call(r,l(e),l(t),i))}}function t3(e,t,n){return function(...r){let i,o=this.__v_raw,a=nu(o),l="[object Map]"===(i=a,tv.call(i)),s="entries"===e||e===Symbol.iterator&&l,c=o[e](...r),u=n?tZ:t?tV:tJ;return t||tR(a,"iterate","keys"===e&&l?t$:tC),{next(){let{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function t5(e){return function(...t){{let n=t[0]?`on key "${t[0]}" `:"";console.warn(`${tA(e)} operation ${n}failed: target is readonly.`,nu(this))}return"delete"!==e&&this}}var[t6,t8,t9,t7]=(e={get(e){return tK(this,e)},get size(){return tX(this)},has:tY,add:tG,set:tQ,delete:t0,clear:t1,forEach:t2(!1,!1)},t={get(e){return tK(this,e,!1,!0)},get size(){return tX(this)},has:tY,add:tG,set:tQ,delete:t0,clear:t1,forEach:t2(!1,!0)},r={get(e){return tK(this,e,!0)},get size(){return tX(this,!0)},has(e){return tY.call(this,e,!0)},add:t5("add"),set:t5("set"),delete:t5("delete"),clear:t5("clear"),forEach:t2(!0,!1)},i={get(e){return tK(this,e,!0,!0)},get size(){return tX(this,!0)},has(e){return tY.call(this,e,!0)},add:t5("add"),set:t5("set"),delete:t5("delete"),clear:t5("clear"),forEach:t2(!0,!0)},["keys","values","entries",Symbol.iterator].forEach(n=>{e[n]=t3(n,!1,!1),r[n]=t3(n,!0,!1),t[n]=t3(n,!1,!0),i[n]=t3(n,!0,!0)}),[e,r,t,i]);function t4(e,t){let n=t?e?t7:t9:e?t8:t6;return(t,r,i)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(th.call(n,r)&&r in t?n:t,r,i)}var ne={get:t4(!1,!1)},nt={get:t4(!0,!1)};function nn(e,t,n){let r=nu(n);if(r!==n&&t.call(e,r)){let t=tx(e);console.warn(`Reactive ${t} contains both the raw and reactive versions of the same object${"Map"===t?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}var nr=new WeakMap,ni=new WeakMap,no=new WeakMap,na=new WeakMap;function nl(e){return e&&e.__v_isReadonly?e:nc(e,!1,tH,ne,nr)}function ns(e){return nc(e,!0,tW,nt,no)}function nc(e,t,n,r,i){if(!tm(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;let o=i.get(e);if(o)return o;let a=e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(tx(e));if(0===a)return e;let l=new Proxy(e,2===a?r:n);return i.set(e,l),l}function nu(e){return e&&nu(e.__v_raw)||e}function nf(e){return!!(e&&!0===e.__v_isRef)}Y.nextTick=()=>eW,Y.dispatch=e=>ek.bind(ek,e),Y.watch=(e,{evaluateLater:t,cleanup:n})=>(e,r)=>{let i=t(e);n(S(()=>{let e;return i(t=>e=t),e},r))},Y.store=function(){return ts},Y.data=e=>F(e),Y.root=e=>eq(e),Y.refs=e=>{let t;return e._x_refs_proxy||(e._x_refs_proxy=W((t=[],eI(e,e=>{e._x_refs&&t.push(e._x_refs)}),t))),e._x_refs_proxy};var nd={};function np(e){return nd[e]||(nd[e]=0),++nd[e]}function n_(e,t,n){Y[t]=r=>eC(`You can't use [$${t}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${n}`,r)}Y.id=(e,{cleanup:t})=>(n,r=null)=>(function(e,t,n,r){if(e._x_id||(e._x_id={}),e._x_id[t])return e._x_id[t];let i=r();return e._x_id[t]=i,n(()=>{delete e._x_id[t]}),i})(e,`${n}${r?`-${r}`:""}`,t,()=>{let t=eI(e,e=>{if(e._x_ids&&e._x_ids[n])return!0}),i=t?t._x_ids[n]:np(n);return r?`${n}-${i}-${r}`:`${n}-${i}`}),e5((e,t)=>{e._x_id&&(t._x_id=e._x_id)}),Y.el=e=>e,n_("Focus","focus","focus"),n_("Persist","persist","persist"),ef("modelable",(e,{expression:t},{effect:n,evaluateLater:r,cleanup:i})=>{let o=r(t),a=()=>{let e;return o(t=>e=t),e},l=r(`${t} = __placeholder`),s=e=>l(()=>{},{scope:{__placeholder:e}});s(a()),queueMicrotask(()=>{if(!e._x_model)return;e._x_removeModelListeners.default();let t=e._x_model.get,n=e._x_model.setWithModifiers;i(ta({get:()=>t(),set(e){n(e)}},{get:()=>a(),set(e){s(e)}}))})}),ef("teleport",(e,{modifiers:t,expression:n},{cleanup:r})=>{"template"!==e.tagName.toLowerCase()&&eC("x-teleport can only be used on a <template> tag",e);let i=ny(n),o=e.content.cloneNode(!0).firstElementChild;e._x_teleport=o,o._x_teleportBack=e,e.setAttribute("data-teleport-template",!0),o.setAttribute("data-teleport-target",!0),e._x_forwardEvents&&e._x_forwardEvents.forEach(t=>{o.addEventListener(t,t=>{t.stopPropagation(),e.dispatchEvent(new t.constructor(t.type,t))})}),U(o,{},e);let a=(e,t,n)=>{n.includes("prepend")?t.parentNode.insertBefore(e,t):n.includes("append")?t.parentNode.insertBefore(e,t.nextSibling):t.appendChild(e)};I(()=>{a(o,i,t),e2(()=>{eD(o)})()}),e._x_teleportPutBack=()=>{let r=ny(n);I(()=>{a(e._x_teleport,r,t)})},r(()=>I(()=>{o.remove(),eF(o)}))});var nh=document.createElement("div");function ny(e){let t=e2(()=>document.querySelector(e),()=>nh)();return t||eC(`Cannot find x-teleport element for selector: "${e}"`),t}var ng=()=>{};function nm(e,t,n,r){let i=e,o=e=>r(e),a={},l=(e,t)=>n=>t(e,n);return n.includes("dot")&&(t=t.replace(/-/g,".")),n.includes("camel")&&(t=t.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())),n.includes("capture")&&(a.capture=!0),n.includes("window")&&(i=window),n.includes("document")&&(i=document),n.includes("passive")&&(a.passive="false"!==n[n.indexOf("passive")+1]),o=nv(n,o),n.includes("prevent")&&(o=l(o,(e,t)=>{t.preventDefault(),e(t)})),n.includes("stop")&&(o=l(o,(e,t)=>{t.stopPropagation(),e(t)})),n.includes("once")&&(o=l(o,(e,n)=>{e(n),i.removeEventListener(t,o,a)})),(n.includes("away")||n.includes("outside"))&&(i=document,o=l(o,(t,n)=>{e.contains(n.target)||!1===n.target.isConnected||e.offsetWidth<1&&e.offsetHeight<1||!1!==e._x_isShown&&t(n)})),n.includes("self")&&(o=l(o,(t,n)=>{n.target===e&&t(n)})),"submit"===t&&(o=l(o,(e,t)=>{t.target._x_pendingModelUpdates&&t.target._x_pendingModelUpdates.forEach(e=>e()),e(t)})),(["keydown","keyup"].includes(t)||nb(t))&&(o=l(o,(e,t)=>{!function(e,t){let n=t.filter(e=>!["window","document","prevent","stop","once","capture","self","away","outside","passive","preserve-scroll","blur","change","lazy"].includes(e));if(n.includes("debounce")){let e=n.indexOf("debounce");n.splice(e,nx((n[e+1]||"invalid-wait").split("ms")[0])?2:1)}if(n.includes("throttle")){let e=n.indexOf("throttle");n.splice(e,nx((n[e+1]||"invalid-wait").split("ms")[0])?2:1)}if(0===n.length||1===n.length&&nw(e.key).includes(n[0]))return!1;let r=["ctrl","shift","alt","meta","cmd","super"].filter(e=>n.includes(e));return n=n.filter(e=>!r.includes(e)),!(r.length>0&&r.filter(t=>(("cmd"===t||"super"===t)&&(t="meta"),e[`${t}Key`])).length===r.length&&(nb(e.type)||nw(e.key).includes(n[0])))&&!0}(t,n)&&e(t)})),i.addEventListener(t,o,a),()=>{i.removeEventListener(t,o,a)}}function nv(e,t){if(e.includes("debounce")){let n=e[e.indexOf("debounce")+1]||"invalid-wait";t=ti(t,nx(n.split("ms")[0])?Number(n.split("ms")[0]):250)}if(e.includes("throttle")){let n=e[e.indexOf("throttle")+1]||"invalid-wait";t=to(t,nx(n.split("ms")[0])?Number(n.split("ms")[0]):250)}return t}function nx(e){return!Array.isArray(e)&&!isNaN(e)}function nb(e){return["contextmenu","click","mouse"].some(t=>e.includes(t))}function nw(e){var t;if(!e)return[];e=[" ","_"].includes(t=e)?t:t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase();let n={ctrl:"control",slash:"/",space:" ",spacebar:" ",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",comma:",",equal:"=",minus:"-",underscore:"_"};return n[e]=e,Object.keys(n).map(t=>{if(n[t]===e)return t}).filter(e=>e)}function nE(e,t,n,r){return I(()=>{if(n instanceof CustomEvent&&void 0!==n.detail)return null!==n.detail&&void 0!==n.detail?n.detail:n.target.value;if(tn(e))if(!Array.isArray(r))return n.target.checked;else{let e=null;return e=t.includes("number")?nS(n.target.value):t.includes("boolean")?e4(n.target.value):n.target.value,n.target.checked?r.includes(e)?r:r.concat([e]):r.filter(t=>t!=e)}if("select"===e.tagName.toLowerCase()&&e.multiple)return t.includes("number")?Array.from(n.target.selectedOptions).map(e=>nS(e.value||e.text)):t.includes("boolean")?Array.from(n.target.selectedOptions).map(e=>e4(e.value||e.text)):Array.from(n.target.selectedOptions).map(e=>e.value||e.text);{let i;return(i=tr(e)?n.target.checked?n.target.value:r:n.target.value,t.includes("number"))?nS(i):t.includes("boolean")?e4(i):t.includes("trim")?i.trim():i}})}function nS(e){var t;let n=e?parseFloat(e):null;return Array.isArray(t=n)||isNaN(t)?e:n}function nA(e){return null!==e&&"object"==typeof e&&"function"==typeof e.get&&"function"==typeof e.set}ng.inline=(e,{modifiers:t},{cleanup:n})=>{t.includes("self")?e._x_ignoreSelf=!0:e._x_ignore=!0,n(()=>{t.includes("self")?delete e._x_ignoreSelf:delete e._x_ignore})},ef("ignore",ng),ef("effect",e2((e,{expression:t},{effect:n})=>{n(ei(e,t))})),ef("model",(e,{modifiers:t,expression:n},{effect:r,cleanup:i})=>{let o,a,l=e;t.includes("parent")&&(l=eI(e,t=>t!==e));let s=ei(l,n);o="string"==typeof n?ei(l,`${n} = __placeholder`):"function"==typeof n&&"string"==typeof n()?ei(l,`${n()} = __placeholder`):()=>{};let c=()=>{let e;return s(t=>e=t),nA(e)?e.get():e},u=e=>{let t;s(e=>t=e),nA(t)?t.set(e):o(()=>{},{scope:{__placeholder:e}})};"string"==typeof n&&"radio"===e.type&&I(()=>{e.hasAttribute("name")||e.setAttribute("name",n)});let f=t.includes("change")||t.includes("lazy"),d=t.includes("blur"),p=t.includes("enter");if(e1)a=()=>{};else if(f||d||p){let n=[],r=n=>u(nE(e,t,n,c()));if(f&&n.push(nm(e,"change",t,r)),d&&(n.push(nm(e,"blur",t,r)),e.form)){let t=e.form,n=()=>r({target:e});t._x_pendingModelUpdates||(t._x_pendingModelUpdates=[]),t._x_pendingModelUpdates.push(n),i(()=>{t._x_pendingModelUpdates&&t._x_pendingModelUpdates.splice(t._x_pendingModelUpdates.indexOf(n),1)})}p&&n.push(nm(e,"keydown",t,e=>{"Enter"===e.key&&r(e)})),a=()=>n.forEach(e=>e())}else{let n="select"===e.tagName.toLowerCase()||["checkbox","radio"].includes(e.type)?"change":"input";a=nm(e,n,t,n=>{u(nE(e,t,n,c()))})}if(t.includes("fill")&&([void 0,null,""].includes(c())||tn(e)&&Array.isArray(c())||"select"===e.tagName.toLowerCase()&&e.multiple)&&u(nE(e,t,{target:e},c())),e._x_removeModelListeners||(e._x_removeModelListeners={}),e._x_removeModelListeners.default=a,i(()=>e._x_removeModelListeners.default()),e.form){let n=nm(e.form,"reset",[],n=>{eW(()=>e._x_model&&e._x_model.set(nE(e,t,{target:e},c())))});i(()=>n())}e._x_model={get:()=>c(),set(e){u(e)},setWithModifiers:nv(t,u)},e._x_forceModelUpdate=t=>{void 0===t&&"string"==typeof n&&n.match(/\./)&&(t=""),I(()=>{tn(e)?Array.isArray(t)?e.checked=t.some(t=>t==e.value):e.checked=!!t:tr(e)?"boolean"==typeof t?e.checked=e4(e.value)===t:e.checked=e.value==t:e9(e,"value",t)})},r(()=>{let n=c();t.includes("unintrusive")&&document.activeElement.isSameNode(e)||e._x_forceModelUpdate(n)})}),ef("cloak",e=>queueMicrotask(()=>I(()=>e.removeAttribute(ec("cloak"))))),eR(()=>`[${ec("init")}]`),ef("init",e2((e,{expression:t},{evaluate:n})=>"string"==typeof t?!!t.trim()&&n(t,{},!1):n(t,{},!1))),ef("text",(e,{expression:t},{effect:n,evaluateLater:r})=>{let i=r(t);n(()=>{i(t=>{I(()=>{e.textContent=t})})})}),ef("html",(e,{expression:t},{effect:n,evaluateLater:r})=>{let i=r(t);n(()=>{i(t=>{I(()=>{e.innerHTML=t??"",e._x_ignoreSelf=!0,eD(e),delete e._x_ignoreSelf})})})}),eb(em(":",ec("bind:")));var nO=(e,{value:t,modifiers:n,expression:r,original:i},{effect:o,cleanup:a})=>{if(!t){let t={};Object.entries(tu).forEach(([e,n])=>{Object.defineProperty(t,e,{get:()=>(...e)=>n(...e)})}),ei(e,r)(t=>{tf(e,t,i)},{scope:t});return}if("key"===t)return void(e._x_keyExpression=r);if(e._x_inlineBindings&&e._x_inlineBindings[t]&&e._x_inlineBindings[t].extract)return;let l=ei(e,r);o(()=>l(i=>{void 0===i&&"string"==typeof r&&r.match(/\./)&&(i=""),I(()=>e9(e,t,i,n))})),a(()=>{e._x_undoAddedClasses&&e._x_undoAddedClasses(),e._x_undoAddedStyles&&e._x_undoAddedStyles()})};function nk(){}function nj(e,t,n){ef(t,r=>eC(`You can't use [x-${t}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${n}`,r))}nO.inline=(e,{value:t,modifiers:n,expression:r})=>{t&&(e._x_inlineBindings||(e._x_inlineBindings={}),e._x_inlineBindings[t]={expression:r,extract:!1})},ef("bind",nO),eP(()=>`[${ec("data")}]`),ef("data",(e,{expression:t},{cleanup:n})=>{var r;if(r=e,e1&&(e6||r.hasAttribute("data-has-alpine-state")))return;t=""===t?"{}":t;let i={};X(i,e);let o={};Object.entries(td).forEach(([e,t])=>{Object.defineProperty(o,e,{get:()=>(...e)=>t.bind(i)(...e),enumerable:!1})});let a=er(e,t,{scope:o});(void 0===a||!0===a)&&(a={}),X(a,e);let l=c(a);Z(l);let s=U(e,l);l.init&&er(e,l.init),n(()=>{l.destroy&&er(e,l.destroy),s()})}),e5((e,t)=>{e._x_dataStack&&(t._x_dataStack=e._x_dataStack,t.setAttribute("data-has-alpine-state",!0))}),ef("show",(e,{modifiers:t,expression:n},{effect:r})=>{let i,o=ei(e,n);e._x_doHide||(e._x_doHide=()=>{I(()=>{e.style.setProperty("display","none",t.includes("important")?"important":void 0)})}),e._x_doShow||(e._x_doShow=()=>{I(()=>{1===e.style.length&&"none"===e.style.display?e.removeAttribute("style"):e.style.removeProperty("display")})});let a=()=>{e._x_doHide(),e._x_isShown=!1},l=()=>{e._x_doShow(),e._x_isShown=!0},s=eX(e=>e?l():a(),t=>{"function"==typeof e._x_toggleAndCascadeWithTransitions?e._x_toggleAndCascadeWithTransitions(e,t,l,a):t?setTimeout(l):a()}),c=!0;r(()=>o(e=>{(c||e!==i)&&(t.includes("immediate")&&(e?setTimeout(l):a()),s(e),i=e,c=!1)}))}),ef("for",(e,{expression:t},{effect:n,cleanup:r})=>{let i=function(e){let t=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,n=e.match(/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/);if(!n)return;let r={};r.items=n[2].trim();let i=n[1].replace(/^\s*\(|\)\s*$/g,"").trim(),o=i.match(t);return o?(r.item=i.replace(t,"").trim(),r.index=o[1].trim(),o[2]&&(r.collection=o[2].trim())):r.item=i,r}(t),o=ei(e,i.items),a=ei(e,e._x_keyExpression||"index");e._x_lookup=new Map,n(()=>{var t,n,r,l;return t=e,n=i,r=o,l=a,void r(e=>{var r,i;Array.isArray(r=e)||isNaN(r)||(e=Array.from({length:e},(e,t)=>t+1)),void 0===e&&(e=[]),e instanceof Set&&(e=Array.from(e)),e instanceof Map&&(e=Array.from(e));let o=t._x_lookup,a=new Map;t._x_lookup=a;let s="object"==typeof(i=e)&&!Array.isArray(i),u=Object.entries(e).map(([r,i])=>{var c,u,f,d;let p,_;s||(r=parseInt(r));let h=(c=n,u=i,f=r,d=e,_={},/^\[.*\]$/.test(c.item)&&Array.isArray(u)?c.item.replace("[","").replace("]","").split(",").map(e=>e.trim()).forEach((e,t)=>{_[e]=u[t]}):/^\{.*\}$/.test(c.item)&&!Array.isArray(u)&&"object"==typeof u?c.item.replace("{","").replace("}","").split(",").map(e=>e.trim()).forEach(e=>{_[e]=u[e]}):_[c.item]=u,c.index&&(_[c.index]=f),c.collection&&(_[c.collection]=d),_);return l(e=>{"object"==typeof e&&eC("x-for key cannot be an object, it must be a string or an integer",t),o.has(e)&&(a.set(e,o.get(e)),o.delete(e)),p=e},{scope:{index:r,...h}}),[p,h]});I(()=>{o.forEach(e=>{eF(e),e.remove()});let e=new Set,n=t;u.forEach(([r,i])=>{if(a.has(r)){let e=a.get(r);e._x_refreshXForScope(i),n.nextElementSibling!==e&&(n.nextElementSibling&&e.replaceWith(n.nextElementSibling),n.after(e)),n=e,e._x_currentIfEl&&(e.nextElementSibling!==e._x_currentIfEl&&n.after(e._x_currentIfEl),n=e._x_currentIfEl);return}t.content.children.length>1&&eC("x-for templates require a single root element, additional elements will be ignored.",t);let o=document.importNode(t.content,!0).firstElementChild,l=c(i);U(o,l,t),o._x_refreshXForScope=e=>{Object.entries(e).forEach(([e,t])=>{l[e]=t})},a.set(r,o),e.add(o),n.after(o),n=o}),e2(()=>e.forEach(e=>eD(e)))()})})}),r(()=>{e._x_lookup.forEach(e=>I(()=>{eF(e),e.remove()})),delete e._x_lookup})}),nk.inline=(e,{expression:t},{cleanup:n})=>{let r=eq(e);r&&(r._x_refs||(r._x_refs={}),r._x_refs[t]=e,n(()=>delete r._x_refs[t]))},ef("ref",nk),ef("if",(e,{expression:t},{effect:n,cleanup:r})=>{"template"!==e.tagName.toLowerCase()&&eC("x-if can only be used on a <template> tag",e);let i=ei(e,t);n(()=>i(t=>{t?(()=>{if(e._x_currentIfEl)return e._x_currentIfEl;let t=e.content.cloneNode(!0).firstElementChild;return U(t,{},e),I(()=>{e.after(t),e2(()=>eD(t))()}),e._x_currentIfEl=t,e._x_undoIf=()=>{I(()=>{eF(t),t.remove()}),delete e._x_currentIfEl}})():e._x_undoIf&&(e._x_undoIf(),delete e._x_undoIf)})),r(()=>e._x_undoIf&&e._x_undoIf())}),ef("id",(e,{expression:t},{evaluate:n})=>{n(t).forEach(t=>{!e._x_ids&&(e._x_ids={}),!e._x_ids[t]&&(e._x_ids[t]=np(t))})}),e5((e,t)=>{e._x_ids&&(t._x_ids=e._x_ids)}),eb(em("@",ec("on:"))),ef("on",e2((e,{value:t,modifiers:n,expression:r},{cleanup:i})=>{let o=r?ei(e,r):()=>{};"template"===e.tagName.toLowerCase()&&(e._x_forwardEvents||(e._x_forwardEvents=[]),e._x_forwardEvents.includes(t)||e._x_forwardEvents.push(t));let a=nm(e,t,n,e=>{o(()=>{},{scope:{$event:e},params:[e]})});i(()=>a())})),nj("Collapse","collapse","collapse"),nj("Intersect","intersect","intersect"),nj("Focus","trap","focus"),nj("Mask","mask","mask"),tp.setEvaluator(function(e,t){var n,r,i,o,a;let l,s={};X(s,e);let c=[s,...H(e)],u="function"==typeof t?(n=c,r=t,(e=()=>{},{scope:t={},params:i=[],context:o}={})=>{et?el(e,r.apply(W([t,...n]),i)):el(e,r,W([t,...n]),i)}):(i=c,l=function(e,t){if(ea[e])return ea[e];let n=Object.getPrototypeOf(async function(){}).constructor,r=/^[\n\s]*if.*\(.*\)/.test(e.trim())||/^(let|const)\s/.test(e.trim())?`(async()=>{ ${e} })()`:e,i=(()=>{try{let t=new n(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`);return Object.defineProperty(t,"name",{value:`[Alpine] ${e}`}),t}catch(n){return Q(n,t,e),Promise.resolve()}})();return ea[e]=i,i}(o=t,a=e),(e=()=>{},{scope:t={},params:n=[],context:r}={})=>{l.result=void 0,l.finished=!1;let s=W([t,...i]);if("function"==typeof l){let t=l.call(r,l,s).catch(e=>Q(e,a,o));l.finished?(el(e,l.result,s,n,a),l.result=void 0):t.then(t=>{el(e,t,s,n,a)}).catch(e=>Q(e,a,o)).finally(()=>l.result=void 0)}});return G.bind(null,e,t,u)}),tp.setRawEvaluator(function(e,t,n={}){let r={};X(r,e);let i=[r,...H(e)],o=W([n.scope??{},...i]),a=n.params??[];if(t.includes("await")){let e=Object.getPrototypeOf(async function(){}).constructor,r=/^[\n\s]*if.*\(.*\)/.test(t.trim())||/^(let|const)\s/.test(t.trim())?`(async()=>{ ${t} })()`:t;return new e(["scope"],`with (scope) { let __result = ${r}; return __result }`).call(n.context,o)}{let e=/^[\n\s]*if.*\(.*\)/.test(t.trim())||/^(let|const)\s/.test(t.trim())?`(()=>{ ${t} })()`:t,r=Function(["scope"],`with (scope) { let __result = ${e}; return __result }`).call(n.context,o);return"function"==typeof r&&et?r.apply(o,a):r}}),tp.setReactivityEngine({reactive:nl,effect:function(e,t=t_){var n,r,i;let o;(n=e)&&!0===n._isEffect&&(e=e.raw);let a=(r=e,i=t,(o=function(){if(!o.active)return r();if(!tj.includes(o)){tT(o);try{return tN.push(tL),tL=!0,tj.push(o),_=o,r()}finally{tj.pop(),tP(),_=tj[tj.length-1]}}}).id=tM++,o.allowRecurse=!!i.allowRecurse,o._isEffect=!0,o.active=!0,o.raw=r,o.deps=[],o.options=i,o);return t.lazy||a(),a},release:function(e){e.active&&(tT(e),e.options.onStop&&e.options.onStop(),e.active=!1)},raw:nu});var nC=n(122),n$=n.n(nC);let nM='<button class="copy z-20 inline-flex h-6 w-6 items-center justify-center rounded-md border border-border bg-background opacity-0 focus:opacity-100 text-sm font-medium transition-all hover:bg-muted absolute right-4 top-4 tooltipped tooltipped-n" data-tooltip="Copy code" type="button"><span class="sr-only">Copy code</span><svg xmlns="http://www.w3.org/2000/svg" height="24" width="24" viewBox="0 96 960 960" fill="currentColor" stroke="none" class="copy-icon h-[14px] w-[14px] transition-all transform scale-100 absolute"><path d="M200 976q-33 0-56.5-23.5T120 896V376q0-17 11.5-28.5T160 336q17 0 28.5 11.5T200 376v520h400q17 0 28.5 11.5T640 936q0 17-11.5 28.5T600 976H200Zm160-160q-33 0-56.5-23.5T280 736V256q0-33 23.5-56.5T360 176h360q33 0 56.5 23.5T800 256v480q0 33-23.5 56.5T720 816H360Zm0-80h360V256H360v480Zm0 0V256v480Z"/></svg><svg xmlns="http://www.w3.org/2000/svg" height="24" width="24" viewBox="0 96 960 960" fill="currentColor" stroke="none" class="copy-success-icon h-[14px] w-[14px] transition-all transform scale-0 absolute"><path d="M382 799q-8 0-15-2.5t-13-8.5L182 616q-11-11-10.5-28.5T183 559q11-11 28-11t28 11l143 143 339-339q11-11 28.5-11t28.5 11q11 11 11 28.5T778 420L410 788q-6 6-13 8.5t-15 2.5Z"/></svg></button>';function nT(e,t){e.classList.remove("scale-100"),t.classList.add("scale-100"),e.classList.add("scale-0"),t.classList.remove("scale-0")}window.Alpine=tp,tp.plugin([function(e){e.directive("intersect",e.skipDuringClone((e,{value:t,expression:n,modifiers:r},{evaluateLater:i,cleanup:o})=>{let a=i(n),l=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting!==("leave"===t)&&(a(),r.includes("once")&&l.disconnect())})},{rootMargin:function(e){let t="0px 0px 0px 0px",n=e.indexOf("margin");if(-1===n)return t;let r=[];for(let t=1;t<5;t++)r.push(function(e){let t=e.match(/^(-?[0-9]+)(px|%)?$/);return t?t[1]+(t[2]||"px"):void 0}(e[n+t]||""));return(r=r.filter(e=>void 0!==e)).length?r.join(" ").trim():t}(r),threshold:function(e){if(e.includes("full"))return .99;if(e.includes("half"))return .5;if(!e.includes("threshold"))return 0;let t=e[e.indexOf("threshold")+1];return"100"===t?1:"0"===t?0:Number(`.${t}`)}(r)});l.observe(e),o(()=>{l.disconnect()})}))},function(e){let t=()=>{let t,n;try{n=localStorage}catch(t){console.error(t),console.warn("Alpine: $persist is using temporary storage since localStorage is unavailable.");let e=new Map;n={getItem:e.get.bind(e),setItem:e.set.bind(e)}}return e.interceptor((r,i,o,c,u)=>{let f=t||`_x_${c}`,d=a(f,n)?l(f,n):r;return o(d),e.effect(()=>{let e=i();s(f,e,n),o(e)}),d},e=>{e.as=n=>(t=n,e),e.using=t=>(n=t,e)})};Object.defineProperty(e,"$persist",{get:()=>t()}),e.magic("persist",t),e.persist=(t,{get:n,set:r},i=localStorage)=>{r(a(t,i)?l(t,i):n()),e.effect(()=>{let e=n();s(t,e,i),r(e)})}}]),tp.start(),window.addEventListener("DOMContentLoaded",()=>{let e;(e=document.querySelectorAll(".highlight, .literal-block"))&&(e.forEach(e=>{if(e.closest(".cell_output"))return;if(e.matches("pre.literal-block")){let t=document.createElement("div");t.className="literal-block-copy-wrapper",e.parentNode.insertBefore(t,e),t.appendChild(e),t.insertAdjacentHTML("beforeend",nM);return}let t=e.querySelector("pre");t?t.insertAdjacentHTML("beforeend",nM):e.insertAdjacentHTML("beforeend",nM)}),new(n$())("button.copy",{target:e=>e.parentElement}).on("success",({trigger:e})=>{let t=e.getAttribute("data-tooltip"),n=e.querySelector(".copy-icon"),r=e.querySelector(".copy-success-icon");nT(n,r),e.setAttribute("data-tooltip","Copied!"),setTimeout(()=>{nT(r,n),e.setAttribute("data-tooltip",t)},2e3)}))})})()})();