1import{$ as e,Ct as t,M as n,R as r,_t as i,d as a,dt as o,it as s,mt as c,ot as l,pt as u,w as d,xt as f,yt as p}from"./CQbOBmnV.js";import"./muRYUUST.js";function m(e){return l()?(o(e),!0):!1}var h=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var g=Object.prototype.toString,_=e=>g.call(e)===`[object Object]`,v=()=>{};function y(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}var b=e=>e();function x(e=b,t={}){let{initialState:n=`active`}=t,r=w(n===`active`);function i(){r.value=!1}function a(){r.value=!0}return{isActive:u(r),pause:i,resume:a,eventFilter:(...t)=>{r.value&&e(...t)}}}function S(e){return e||d()}function C(e){return Array.isArray(e)?e:[e]}function w(...e){if(e.length!==1)return p(...e);let t=e[0];return typeof t==`function`?u(s(()=>({get:t,set:v}))):c(t)}function T(t,n,r={}){let{eventFilter:i=b,...a}=r;return e(t,y(i,n),a)}function E(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=x(r,{initialState:i});return{stop:T(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function D(e,t=!0,i){S()?r(e,i):t?e():n(e)}function O(t,n,r){return e(t,n,{...r,immediate:!0})}var k=h?window:void 0;h&&window.document,h&&window.navigator,h&&window.location;function A(e){let t=f(e);return t?.$el??t}function j(...e){let n=[],r=()=>{n.forEach(e=>e()),n.length=0},i=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),o=a(()=>{let t=C(f(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0}),s=O(()=>[o.value?.map(e=>A(e))??[k].filter(e=>e!=null),C(f(o.value?e[1]:e[0])),C(t(o.value?e[2]:e[1])),f(o.value?e[3]:e[2])],([e,t,a,o])=>{if(r(),!e?.length||!t?.length||!a?.length)return;let s=_(o)?{...o}:o;n.push(...e.flatMap(e=>t.flatMap(t=>a.map(n=>i(e,t,n,s)))))},{flush:`post`});return m(r),()=>{s(),r()}}var M=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{},N=`__vueuse_ssr_handlers__`,P=F();function F(){return N in M||(M[N]=M[N]||{}),M[N]}function I(e,t){return P[e]||t}function L(e){return e==null?`any`:e instanceof Set?`set`:e instanceof Map?`map`:e instanceof Date?`date`:typeof e==`boolean`?`boolean`:typeof e==`string`?`string`:typeof e==`object`?`object`:Number.isNaN(e)?`any`:`number`}var R={boolean:{read:e=>e===`true`,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},z=`vueuse-storage`;function B(t,r,o,s={}){let{flush:l=`pre`,deep:u=!0,listenToStorageChanges:d=!0,writeDefaults:p=!0,mergeDefaults:m=!1,shallow:h,window:g=k,eventFilter:_,onError:v=e=>{console.error(e)},initOnMounted:y}=s,b=(h?i:c)(typeof r==`function`?r():r),x=a(()=>f(t));if(!o)try{o=I(`getDefaultStorage`,()=>k?.localStorage)()}catch(e){v(e)}if(!o)return b;let S=f(r),C=L(S),w=s.serializer??R[C],{pause:T,resume:O}=E(b,()=>M(b.value),{flush:l,deep:u,eventFilter:_});e(x,()=>P(),{flush:l}),g&&d&&D(()=>{o instanceof Storage?j(g,`storage`,P,{passive:!0}):j(g,z,F),y&&P()}),y||P();function A(e,t){if(g){let n={key:x.value,oldValue:e,newValue:t,storageArea:o};g.dispatchEvent(o instanceof Storage?new StorageEvent(`storage`,n):new CustomEvent(z,{detail:n}))}}function M(e){try{let t=o.getItem(x.value);if(e==null)A(t,null),o.removeItem(x.value);else{let n=w.write(e);t!==n&&(o.setItem(x.value,n),A(t,n))}}catch(e){v(e)}}function N(e){let t=e?e.newValue:o.getItem(x.value);if(t==null)return p&&S!=null&&o.setItem(x.value,w.write(S)),S;if(!e&&m){let e=w.read(t);return typeof m==`function`?m(e,S):C===`object`&&!Array.isArray(e)?{...S,...e}:e}return typeof t==`string`?w.read(t):t}function P(e){if(!(e&&e.storageArea!==o)){if(e&&e.key==null){b.value=S;return}if(!(e&&e.key!==x.value)){T();try{e?.newValue!==w.write(b.value)&&(b.value=N(e))}catch(e){v(e)}finally{e?n(O):O()}}}}function F(e){P(e.detail)}return b}var V=function(e,t){return e-t},H=(e,t,n=`sottraendo`)=>{let r=0;return n==`sottraendo`?r=V(e,t):n==`minuendo`&&(r=V(t,sprezzoAttuale)),r.toPrecision(4)},U=(e,t)=>V(e,t)/t*100,W=(e,t,n=`sottraendo`)=>{let r=0;n==`sottraendo`?r=V(e,t):n==`minuendo`&&(r=V(t,e));let i=r/(t*1)*100;return new Intl.NumberFormat(`it-IT`,{maximumSignificantDigits:3}).format(i)},G=(e,t,n=`sottraendo`)=>{let r=0;n==`sottraendo`?r=V(e,t):n==`minuendo`&&(r=V(t,e));let i=r/(e*1)*100;return new Intl.NumberFormat(`it-IT`,{maximumSignificantDigits:3}).format(i)};export{j as a,U as i,G as n,B as o,H as r,W as t};
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.