1import{O as e}from"./B36yyN6n.js";import{Dt as t,Et as n,Ft as r,Nt as i,Pt as a,R as o,St as s,Tt as c,U as l,bt as u,kt as d,pt as f,w as p,wt as m,xt as h,z as g}from"./B9pVQlp5.js";var _=typeof window<`u`,v,y=e=>v=e,b=Symbol();function x(e){return e&&typeof e==`object`&&Object.prototype.toString.call(e)===`[object Object]`&&typeof e.toJSON!=`function`}var S=typeof window==`object`&&window.window===window?window:typeof self==`object`&&self.self===self?self:typeof global==`object`&&global.global===global?global:typeof globalThis==`object`?globalThis:{HTMLElement:null};function C(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([``,e],{type:e.type}):e}function w(e,t,n){let r=new XMLHttpRequest;r.open(`GET`,e),r.responseType=`blob`,r.onload=function(){k(r.response,t,n)},r.onerror=function(){console.error(`could not download file`)},r.send()}function T(e){let t=new XMLHttpRequest;t.open(`HEAD`,e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function E(e){try{e.dispatchEvent(new MouseEvent(`click`))}catch{let t=new MouseEvent(`click`,{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});e.dispatchEvent(t)}}var D=typeof navigator==`object`?navigator:{userAgent:``},O=/Macintosh/.test(D.userAgent)&&/AppleWebKit/.test(D.userAgent)&&!/Safari/.test(D.userAgent),k=_?typeof HTMLAnchorElement<`u`&&`download`in HTMLAnchorElement.prototype&&!O?A:`msSaveOrOpenBlob`in D?j:M:()=>{};function A(e,t=`download`,n){let r=document.createElement(`a`);r.download=t,r.rel=`noopener`,typeof e==`string`?(r.href=e,r.origin===location.origin?E(r):T(r.href)?w(e,t,n):(r.target=`_blank`,E(r))):(r.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){E(r)},0))}function j(e,t=`download`,n){if(typeof e==`string`){if(T(e))w(e,t,n);else{let t=document.createElement(`a`);t.href=e,t.target=`_blank`,setTimeout(function(){E(t)})}}else navigator.msSaveOrOpenBlob(C(e,n),t)}function M(e,t,n,r){if(r=r||open(``,`_blank`),r&&(r.document.title=r.document.body.innerText=`downloading...`),typeof e==`string`)return w(e,t,n);let i=e.type===`application/octet-stream`,a=/constructor/i.test(String(S.HTMLElement))||`safari`in S,o=/CriOS\/[\d]+/.test(navigator.userAgent);if((o||i&&a||O)&&typeof FileReader<`u`){let t=new FileReader;t.onloadend=function(){let e=t.result;if(typeof e!=`string`)throw r=null,Error(`Wrong reader.result type`);e=o?e:e.replace(/^data:[^;]*;/,`data:attachment/file;`),r?r.location.href=e:location.assign(e),r=null},t.readAsDataURL(e)}else{let t=URL.createObjectURL(e);r?r.location.assign(t):location.href=t,r=null,setTimeout(function(){URL.revokeObjectURL(t)},4e4)}}var{assign:ee}=Object;function N(){let e=u(!0),t=e.run(()=>d({})),n=[],r=[],i=c({install(e){y(i),i._a=e,e.provide(b,i),e.config.globalProperties.$pinia=i,r.forEach(e=>n.push(e)),r=[]},use(e){return this._a?n.push(e):r.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}var P=()=>{};function F(e,t,r,i=P){e.add(t);let a=()=>{e.delete(t)&&i()};return!r&&h()&&n(a),a}function I(e,...t){e.forEach(e=>{e(...t)})}var L=e=>e(),R=Symbol(),z=Symbol();function B(e,t){e instanceof Map&&t instanceof Map?t.forEach((t,n)=>e.set(n,t)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(let n in t){if(!Object.hasOwn(t,n))continue;let r=t[n],i=e[n];e[n]=x(i)&&x(r)&&Object.hasOwn(e,n)&&!m(r)&&!s(r)?B(i,r):r}return e}var V=Symbol();function H(e){return!e||typeof e!=`object`||!Object.hasOwn(e,V)}var{assign:U}=Object;function W(e){return!!(m(e)&&e.effect)}function G(e,t,n,i){let{state:a,actions:o,getters:s}=t,l=n.state.value[e],u;function d(){return l||(n.state.value[e]=a?a():{}),U(r(n.state.value[e]),o,Object.keys(s||{}).reduce((t,r)=>(t[r]=c(p(()=>{y(n);let t=n._s.get(e);return s[r].call(t,t)})),t),{}))}return u=K(e,d,t,n,i,!0),u}function K(e,n,r={},a,o,c){let d,p=U({actions:{}},r),h={deep:!0},g,_,v=new Set,b=new Set,x,S=a.state.value[e];!c&&!S&&(a.state.value[e]={});let C;function w(t){let n;g=_=!1,typeof t==`function`?(t(a.state.value[e]),n={type:`patch function`,storeId:e,events:x}):(B(a.state.value[e],t),n={type:`patch object`,payload:t,storeId:e,events:x});let r=C=Symbol();l().then(()=>{C===r&&(g=!0)}),_=!0,I(v,n,a.state.value[e])}let T=c?function(){let{state:e}=r,t=e?e():{};this.$patch(e=>{U(e,t)})}:P;function E(){d.stop(),v.clear(),b.clear(),a._s.delete(e)}let D=(t,n=``)=>{if(R in t)return t[z]=n,t;let r=function(){y(a);let n=Array.from(arguments),i=new Set,o=new Set;function s(e){i.add(e)}function c(e){o.add(e)}I(b,{args:n,name:r[z],store:k,after:s,onError:c});let l;try{l=t.apply(this&&this.$id===e?this:k,n)}catch(e){throw I(o,e),e}return l instanceof Promise?l.then(e=>(I(i,e),e)).catch(e=>(I(o,e),Promise.reject(e))):(I(i,l),l)};return r[R]=!0,r[z]=n,r},O={_p:a,$id:e,$onAction:F.bind(null,b),$patch:w,$reset:T,$subscribe(t,n={}){if(v.has(t))return P;let r=F(v,t,n.detached,()=>i()),i=d.run(()=>f(()=>a.state.value[e],r=>{(n.flush===`sync`?_:g)&&t({storeId:e,type:`direct`,events:x},r)},U({},h,n)));return r},$dispose:E},k=t(O);a._s.set(e,k);let A=(a._a&&a._a.runWithContext||L)(()=>a._e.run(()=>(d=u()).run(()=>n({action:D}))));for(let t in A){let n=A[t];
1m(n)&&!W(n)||s(n)?c||(S&&H(n)&&(m(n)?n.value=S[t]:((n instanceof Set||n instanceof Map)&&n.clear(),B(n,S[t]))),a.state.value[e][t]=n):typeof n==`function`&&(A[t]=D(n,t),p.actions[t]=n)}return U(k,A),U(i(k),A),Object.defineProperty(k,"$state",{get:()=>a.state.value[e],set:e=>{w(t=>{U(t,e)})}}),a._p.forEach(e=>{let t=d.run(()=>e({store:k,app:a._a,pinia:a,options:p}));U(k,t)}),S&&c&&r.hydrate&&r.hydrate(k.$state,S),g=!0,_=!0,k}function q(e,t,n){let r,i=typeof t==`function`;r=i?n:t;function a(n,a){let s=o();return n=n||(s?g(b,null):null),n&&y(n),n=v,n._s.has(e)||(i?K(e,t,r,n):G(e,r,n)),n._s.get(e)}return a.$id=e,a}function J(e,t){return Array.isArray(t)?t.reduce((t,n)=>(t[n]=function(){return e(this.$pinia)[n]},t),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(){let n=e(this.$pinia),i=t[r];return typeof i==`function`?i.call(this,n):n[i]},n),{})}function Y(e,t){return Array.isArray(t)?t.reduce((t,n)=>(t[n]={get(){return e(this.$pinia)[n]},set(t){return e(this.$pinia)[n]=t}},t),{}):Object.keys(t).reduce((n,r)=>(n[r]={get(){return e(this.$pinia)[t[r]]},set(n){return e(this.$pinia)[t[r]]=n}},n),{})}function X(e){let t=i(e),n={};for(let r in t){let i=t[r];i!=null&&i.effect?n[r]=p({get:()=>e[r],set(t){e[r]=t}}):(m(i)||s(i))&&(n[r]=a(e,r))}return n}var Z=q(`global`,{state:()=>({pageType:`Local`,popup:``,mobileMenu:!1,isMobile:!1,regions:[],shorts:[],showRegionSelector:!1,newsletterInfo:{},currentArticleMeta:{tags:[],categories:[]}}),actions:{setCurrentArticleMeta(e){this.currentArticleMeta=e},setPageType(e){this.pageType=e},setPopup(e){this.popup=e},setMobileMenu(e){this.mobileMenu=e},setIsMobile(e){this.isMobile=e},setRegions(e){this.regions=e},setShowRegionSelector(e){this.showRegionSelector=e},setShorts(e){this.shorts=e},setNewsletterInfo(e){this.newsletterInfo=e}}}),Q=class{constructor(t,n,r,i){e(this,`id`,void 0),e(this,`name`,void 0),e(this,`type`,void 0),e(this,`slug`,void 0),this.id=t,this.name=n,this.type=r,this.slug=i,this.id=t,this.name=n,this.type=r,this.slug=i}},$={data(){return{mode:null}},beforeUnmount(){window.matchMedia(`(prefers-color-scheme: dark)`).removeEventListener(`change`,this.updateMode)},methods:{updateMode(){this.mode=window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}},mounted(){this.updateMode(),window.matchMedia(`(prefers-color-scheme: dark)`).addEventListener(`change`,this.updateMode)}};export{q as a,y as c,N as i,H as l,Q as n,J as o,Z as r,Y as s,$ as t,X as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.