PageSourceSearch

https://cloud.tera.coop/custom_apps/calendar/js/calendar-defaultVe…_pinia_dist_pinia_mjs.js?v=15ba2d15a2d0827c

js tera.coop collected 2026-10-02 05:53:37 UTC 6,554 bytes, 2 lines download raw bytes

1"use strict";(self.rspackChunkcalendar=self.rspackChunkcalendar||[]).push([["defaultVendors-node_modules_pinia_dist_pinia_mjs"],{10810(e,t,n){let o;var r,a,i=n(20641),l=n(50953);let c="u">typeof window,s=e=>o=e,u=Symbol();function f(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}(r=a||(a={})).direct="direct",r.patchObject="patch object",r.patchFunction="patch function";let p="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:"object"==typeof globalThis?globalThis:{HTMLElement:null};function d(e,t,n){let o=new XMLHttpRequest;o.open("GET",e),o.responseType="blob",o.onload=function(){w(o.response,t,n)},o.onerror=function(){console.error("could not download file")},o.send()}function h(e){let t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function y(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){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)}}let b="object"==typeof navigator?navigator:{userAgent:""},g=/Macintosh/.test(b.userAgent)&&/AppleWebKit/.test(b.userAgent)&&!/Safari/.test(b.userAgent),w=c?"u">typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!g?function(e,t="download",n){let o=document.createElement("a");o.download=t,o.rel="noopener","string"==typeof e?(o.href=e,o.origin!==location.origin?h(o.href)?d(e,t,n):(o.target="_blank",y(o)):y(o)):(o.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(o.href)},4e4),setTimeout(function(){y(o)},0))}:"msSaveOrOpenBlob"in b?function(e,t="download",n){if("string"==typeof e)if(h(e))d(e,t,n);else{let t=document.createElement("a");t.href=e,t.target="_blank",setTimeout(function(){y(t)})}else navigator.msSaveOrOpenBlob(function(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([String.fromCharCode(65279),e],{type:e.type}):e}(e,n),t)}:function(e,t,n,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return d(e,t,n);let r="application/octet-stream"===e.type,a=/constructor/i.test(String(p.HTMLElement))||"safari"in p,i=/CriOS\/[\d]+/.test(navigator.userAgent);if((i||r&&a||g)&&"u">typeof FileReader){let t=new FileReader;t.onloadend=function(){let e=t.result;if("string"!=typeof e)throw o=null,Error("Wrong reader.result type");e=i?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location.assign(e),o=null},t.readAsDataURL(e)}else{let t=URL.createObjectURL(e);o?o.location.assign(t):location.href=t,o=null,setTimeout(function(){URL.revokeObjectURL(t)},4e4)}}:()=>{},{assign:m}=Object;function v(){let e=(0,l.uY)(!0),t=e.run(()=>(0,l.KR)({})),n=[],o=[],r=(0,l.IG)({install(e){s(r),r._a=e,e.provide(u,r),e.config.globalProperties.$pinia=r,o.forEach(e=>n.push(e)),o=[]},use(e){return this._a?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}let j=()=>{};function S(e,t,n,o=j){e.add(t);let r=()=>{e.delete(t)&&o()};return!n&&(0,l.o5)()&&(0,l.jr)(r),r}function _(e,...t){e.forEach(e=>{e(...t)})}let O=Symbol(),E=Symbol();function L(e,t){for(let n in 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),t){if(!t.hasOwnProperty(n))continue;let o=t[n],r=e[n];f(r)&&f(o)&&e.hasOwnProperty(n)&&!(0,l.i9)(o)&&!(0,l.g8)(o)?e[n]=L(r,o):e[n]=o}return e}let R=Symbol(),{assign:A}=Object;function T(e,t,n={},o,r,c){let u,p,d,h,y,b=A({actions:{}},n),g={deep:!0},w=new Set,m=new Set,v=o.state.value[e];function k(t){let n;p=d=!1,"function"==typeof t?(t(o.state.value[e]),n={type:a.patchFunction,storeId:e,events:h}):(L(o.state.value[e],t),n={type:a.patchObject,payload:t,storeId:e,events:h});let r=y=Symbol();(0,i.dY)().then(()=>{y===r&&(p=!0)}),d=!0,_(w,n,o.state.value[e])}c||v||(o.state.value[e]={}),(0,l.KR)({});let $=c?function(){let{state:e}=n,t=e?e():{};this.$patch(e=>{A(e,t)})}:j,M=(t,n="")=>{if(O in t)return t[E]=n,t;let r=function(){let n;s(o);let a=Array.from(arguments),i=new Set,l=new Set;_(m,{args:a,name:r[E],store:U,after:function(e){i.add(e)},onError:function(e){l.add(e)}});try{n=t.apply(this&&this.$id===e?this:U,a)}catch(e){throw _(l,e),e}return n instanceof Promise?n.then(e=>(_(i,e),e)).catch(e=>(_(l,e),Promise.reject(e))):(_(i,n),n)};
1return r[O]=!0,r[E]=n,r},P={_p:o,$id:e,$onAction:S.bind(null,m),$patch:k,$reset:$,$subscribe(t,n={}){let r=S(w,t,n.detached,()=>l()),l=u.run(()=>(0,i.wB)(()=>o.state.value[e],o=>{("sync"===n.flush?d:p)&&t({storeId:e,type:a.direct,events:h},o)},A({},g,n)));return r},$dispose:function(){u.stop(),w.clear(),m.clear(),o._s.delete(e)}},U=(0,l.Kh)(P);o._s.set(e,U);let H=(o._a&&o._a.runWithContext||(e=>e()))(()=>o._e.run(()=>(u=(0,l.uY)()).run(()=>t({action:M}))));for(let t in H){let n=H[t];if((0,l.i9)(n)&&(!(0,l.i9)(n)||!n.effect)||(0,l.g8)(n))c||(!v||f(n)&&Object.prototype.hasOwnProperty.call(n,R)||((0,l.i9)(n)?n.value=v[t]:L(n,v[t])),o.state.value[e][t]=n);else if("function"==typeof n){let e=M(n,t);H[t]=e,b.actions[t]=n}}return A(U,H),A((0,l.ux)(U),H),Object.defineProperty(U,"$state",{get:()=>o.state.value[e],set:e=>{k(t=>{A(t,e)})}}),o._p.forEach(e=>{A(U,u.run(()=>e({store:U,app:o._a,pinia:o,options:b})))}),v&&c&&n.hydrate&&n.hydrate(U.$state,v),p=!0,d=!0,U}function k(e,t,n){let r,a="function"==typeof t;function c(n,c){let f=(0,i.PS)();return(n=n||(f?(0,i.WQ)(u,null):null))&&s(n),(n=o)._s.has(e)||(a?T(e,t,r,n):function(e,t,n){let{state:o,actions:r,getters:a}=t,c=n.state.value[e];T(e,function(){return c||(n.state.value[e]=o?o():{}),A((0,l.QW)(n.state.value[e]),r,Object.keys(a||{}).reduce((t,o)=>(t[o]=(0,l.IG)((0,i.EW)(()=>{s(n);let t=n._s.get(e);return a[o].call(t,t)})),t),{}))},t,n,void 0,!0)}(e,r,n)),n._s.get(e)}return r=a?n:t,c.$id=e,c}function $(...e){return e.reduce((e,t)=>(e[t.$id+"Store"]=function(){return t(this.$pinia)},e),{})}function M(e,t){return Array.isArray(t)?t.reduce((t,n)=>(t[n]=function(){return e(this.$pinia)[n]},t),{}):Object.keys(t).reduce((n,o)=>(n[o]=function(){let n=e(this.$pinia),r=t[o];return"function"==typeof r?r.call(this,n):n[r]},n),{})}n.d(t,{aH:()=>M,createPinia:()=>v,n2:()=>$,nY:()=>k})}}]);
2//# sourceMappingURL=calendar-defaultVendors-node_modules_pinia_dist_pinia_mjs.js.map?v=15ba2d15a2d0827c

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.