PageSourceSearch

https://elfmec.ru/_nuxt/BDDUuFba.js

js elfmec.ru collected 2026-10-08 13:47:28 UTC 6,903 bytes, 1 lines download raw bytes

1import{An as e,Cn as t,H as n,Ht as r,J as i,Mn as a,Tn as o,_n as s,bn as c,dn as l,fn as u,g as d,hn as f,jn as p,tt as m,yn as h}from"./2opt8qvw.js";import{n as g}from"./CHj9txXo.js";import{t as _}from"./oYpxkJcW.js";var v=typeof window<`u`,y,b=e=>y=e,x=Symbol();function S(e){return e&&typeof e==`object`&&Object.prototype.toString.call(e)===`[object Object]`&&typeof e.toJSON!=`function`}var C=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 w(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 T(e,t,n){let r=new XMLHttpRequest;r.open(`GET`,e),r.responseType=`blob`,r.onload=function(){A(r.response,t,n)},r.onerror=function(){console.error(`could not download file`)},r.send()}function E(e){let t=new XMLHttpRequest;t.open(`HEAD`,e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function D(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 O=typeof navigator==`object`?navigator:{userAgent:``},k=/Macintosh/.test(O.userAgent)&&/AppleWebKit/.test(O.userAgent)&&!/Safari/.test(O.userAgent),A=v?typeof HTMLAnchorElement<`u`&&`download`in HTMLAnchorElement.prototype&&!k?j:`msSaveOrOpenBlob`in O?M:N:()=>{};function j(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?D(r):E(r.href)?T(e,t,n):(r.target=`_blank`,D(r))):(r.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){D(r)},0))}function M(e,t=`download`,n){if(typeof e==`string`){if(E(e))T(e,t,n);else{let t=document.createElement(`a`);t.href=e,t.target=`_blank`,setTimeout(function(){D(t)})}}else navigator.msSaveOrOpenBlob(w(e,n),t)}function N(e,t,n,r){if(r||=open(``,`_blank`),r&&(r.document.title=r.document.body.innerText=`downloading...`),typeof e==`string`)return T(e,t,n);let i=e.type===`application/octet-stream`,a=/constructor/i.test(String(C.HTMLElement))||`safari`in C,o=/CriOS\/[\d]+/.test(navigator.userAgent);if((o||i&&a||k)&&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:P}=Object;function F(){let e=l(!0),t=e.run(()=>o({})),n=[],r=[],i=h({install(e){b(i),i._a=e,e.provide(x,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 I=()=>{};function L(e,t,n,r=I){e.add(t);let i=()=>{e.delete(t)&&r()};return!n&&u()&&c(i),i}function R(e,...t){e.forEach(e=>{e(...t)})}var z=e=>e(),B=Symbol(),V=Symbol();function H(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]=S(i)&&S(r)&&Object.hasOwn(e,n)&&!s(r)&&!f(r)?H(i,r):r}return e}var U=Symbol();function W(e){return!e||typeof e!=`object`||!Object.hasOwn(e,U)}var{assign:G}=Object;function K(e){return!!(s(e)&&e.effect)}function q(e,t,n,r){let{state:i,actions:o,getters:s}=t,c=n.state.value[e],l;function u(){return c||(n.state.value[e]=i?i():{}),G(a(n.state.value[e]),o,Object.keys(s||{}).reduce((t,r)=>(t[r]=h(d(()=>{b(n);let t=n._s.get(e);return s[r].call(t,t)})),t),{}))}return l=J(e,u,t,n,r,!0),l}function J(n,i,a={},o,c,u){let d,p=G({actions:{}},a),h={deep:!0},g,_,v=new Set,y=new Set,x,S=o.state.value[n];!u&&!S&&(o.state.value[n]={});let C;function w(e){let t;g=_=!1,typeof e==`function`?(e(o.state.value[n]),t={type:`patch function`,storeId:n,events:x}):(H(o.state.value[n],e),t={type:`patch object`,payload:e,storeId:n,events:x});let r=C=Symbol();m().then(()=>{C===r&&(g=!0)}),_=!0,R(v,t,o.state.value[n])}let T=u?function(){let{state:e}=a,t=e?e():{};this.$patch(e=>{G(e,t)})}:I;function E(){d.stop(),v.clear(),y.clear(),o._s.delete(n)}let D=(e,t=``)=>{if(B in e)return e[V]=t,e;let r=function(){b(o);let t=Array.from(arguments),i=new Set,a=new Set;function s(e){i.add(e)}function c(e){a.add(e)}R(y,{args:t,name:r[V],store:k,after:s,onError:c});let l;try{l=e.apply(this&&this.$id===n?this:k,t)}catch(e){throw R(a,e),e}return l instanceof Promise?l.then(e=>(R(i,e),e)).catch(e=>(R(a,e),Promise.reject(e))):(R(i,l),l)};return r[B]=!0,r[V]=t,r},O={_p:o,$id:n,$onAction:L.bind(null,y),$patch:w,$reset:T,$subscribe(e,t={}){if(v.has(e))return I;let i=L(v,e,t.detached,()=>a()),a=d.run(()=>r(()=>o.state.value[n],r=>{(t.flush===`sync`?_:g)&&e({storeId:n,type:`direct`,events:x},r)},G({},h,t)));return i},$dispose:E},k=t(O);o._s.set(n,k);let A=(o._a&&o._a.runWithContext||z)(()=>o._e.run(()=>(d=l()).run(()=>i({action:D}))));for(let e in A){let t=A[e];s(t)&&!K(t)||f(t)?u||(S&&W(t)&&(s(t)?t.value=S[e]:((t instanceof Set||t instanceof Map)&&t.clear(),H(t,S[e]))),o.state.value[n][e]=t):typeof t==`function`&&(A[e]=D(t,e),p.actions[e]=t)}return G(k,A),G(e(k),A),Object.defineProperty(k,"$state",{get:()=>o.state.value[n],set:e=>{w(t=>{G(t,e)})}}
1),o._p.forEach(e=>{let t=d.run(()=>e({store:k,app:o._a,pinia:o,options:p}));G(k,t)}),S&&u&&a.hydrate&&a.hydrate(k.$state,S),g=!0,_=!0,k}function Y(e,t,r){let a,o=typeof t==`function`;a=o?r:t;function s(r,s){let c=n();return r||=c?i(x,null):null,r&&b(r),r=y,r._s.has(e)||(o?J(e,t,a,r):q(e,a,r)),r._s.get(e)}return s.$id=e,s}function X(t){let n=e(t),r={};for(let e in n){let i=n[e];i?.effect?r[e]=d({get:()=>t[e],set(n){t[e]=n}}):(s(i)||f(i))&&(r[e]=p(t,e))}return r}var Z=Y(`sections`,{state:()=>({sections:null,loading:!1,lastFetchTime:null}),getters:{getSections:e=>e.sections?.filter(e=>e?.zones?.length!==0)||[]},actions:{async fetchSections(e={}){let{force:t=!1,maxAge:n=3e5}=e,r=Date.now();if(!(t||!this.sections||!this.lastFetchTime||r-this.lastFetchTime>n))return;let i=_();this.loading=!0;try{let e=await g.raw(`/api/sections`);e._data&&(this.sections=e._data,this.lastFetchTime=r),i.value=e.headers.get(`x-cms-offline`)===`true`}catch(e){console.error(`Failed to fetch sections:`,e),this.sections=this.sections??[],this.lastFetchTime=r,i.value=!0}finally{this.loading=!1}},async refreshSections(){return this.fetchSections({force:!0})},clearCache(){this.sections=null,this.lastFetchTime=null}}});export{X as a,W as i,F as n,b as r,Z 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.