PageSourceSearch

https://imperial-mf.ru/_nuxt/CZqCHNJ9.js

js imperial-mf.ru collected 2026-10-07 13:19:52 UTC 5,984 bytes, 1 lines download raw bytes

1import{d as T,q as P,u as R,s as E,ab as U,ac as N,Q as H,ad as I,a1 as A,a4 as L,ae as F,af as z,P as D,r as V,ag as B,ah as W,g as f,ai as M,x,aj as $,ak as j,al as Q,am as G,an as J,ao as K,ap as X,h as Y,A as Z,B as ee,o as te}from"./CWoPGWPY.js";const ae=(...t)=>t.find(r=>r!==void 0);function O(t){let r=t.replace(/[\u0000-\u001F\s]+/g,"");for(;r.toLowerCase().startsWith("view-source:");)r=r.slice(12);const o=r.indexOf(":");return o>0&&Q(r.slice(0,o+1))?null:t}function ne(t){const r=t.componentName||"NuxtLink";function o(e){return typeof e=="string"&&e.startsWith("#")}function S(e,s,d){const a=d??t.trailingSlash;if(!e||a!=="append"&&a!=="remove")return e;if(typeof e=="string")return _(e,a);const i="path"in e&&e.path!==void 0?e.path:s(e).path;return{...e,name:void 0,path:_(i,a)}}function k(e){const s=P(),d=G(),a=x(()=>!!f(e.target)&&f(e.target)!=="_self"),i=x(()=>{const c=f(e.to)||f(e.href)||"";return typeof c=="string"&&j(c,{acceptRelative:!0})}),C=L("RouterLink"),p=C&&typeof C!="string"?C.useLink:void 0,v=x(()=>{if(f(e.external))return!0;const c=f(e.to)||f(e.href)||"";return typeof c=="object"?!1:c===""||i.value}),l=x(()=>{const c=f(e.to)||f(e.href)||"";return v.value?c:S(c,s.resolve,f(e.trailingSlash))}),m=v.value?void 0:p?.({...e,to:l,viewTransition:f(e.viewTransition)}),y=x(()=>{const c=f(e.trailingSlash)??t.trailingSlash;if(!l.value||i.value||o(l.value)){const h=l.value;return typeof h=="string"?O(h):h}if(v.value){const h=typeof l.value=="object"&&"path"in l.value?B(l.value):l.value,b=typeof h=="object"?s.resolve(h).href:h,u=typeof b=="string"?O(b):b;return u===null?null:_(u,c)}return typeof l.value=="object"?s.resolve(l.value)?.href??null:_($(d.app.baseURL,l.value),c)});return{to:l,hasTarget:a,isAbsoluteUrl:i,isExternal:v,href:y,isActive:m?.isActive??x(()=>l.value===s.currentRoute.value.path),isExactActive:m?.isExactActive??x(()=>l.value===s.currentRoute.value.path),route:m?.route??x(()=>s.resolve(l.value)),async navigate(c){y.value!==null&&await M(y.value,{replace:f(e.replace),external:v.value||a.value})}}}return T({name:r,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:k,setup(e,{slots:s}){const d=P(),{to:a,href:i,navigate:C,isExternal:p,hasTarget:v,isAbsoluteUrl:l}=k(e),m=D(!1),y=V(null),c=u=>{y.value=e.custom?u?.$el?.nextElementSibling:u?.$el};function h(u){return!m.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===u:e.prefetchOn?.[u]??t.prefetchOn?.[u])&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!ie()}async function b(u=R()){if(m.value||i.value===null)return;m.value=!0;const g=typeof a.value=="string"?a.value:p.value?B(a.value):d.resolve(a.value).fullPath,n=p.value?new URL(g,window.location.href).href:g;await Promise.all([u.hooks.callHook("link:prefetch",n)?.catch(()=>{}),!p.value&&!v.value&&W(a.value,d).catch(()=>{})])}if(h("visibility")){const u=R();let g,n=null;E(()=>{const w=re();U(()=>{g=N(()=>{y?.value?.tagName&&(n=w.observe(y.value,async()=>{n?.(),n=null,await b(u)}))})})}),H(()=>{g&&I(g),n?.(),n=null})}return()=>{if(!p.value&&!v.value&&!o(a.value)){const n={ref:c,to:a.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};
1return e.custom||(h("interaction")&&(n.onPointerenter=b.bind(null,void 0),n.onFocus=b.bind(null,void 0)),m.value&&(n.class=e.prefetchedClass||t.prefetchedClass),n.rel=e.rel||void 0),A(L("RouterLink"),n,s.default)}const u=e.target||null,g=ae(e.noRel?"":e.rel,t.externalRelAttribute,l.value||v.value?"noopener noreferrer":"")||null;return e.custom?s.default?s.default({href:i.value,navigate:C,prefetch:b,get route(){if(!i.value)return;const n=new URL(i.value,window.location.href);return{path:n.pathname,fullPath:n.pathname,get query(){return F(n.search)},hash:n.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:i.value}},rel:g,target:u,isExternal:p.value||v.value,isActive:!1,isExactActive:!1}):null:A("a",{ref:y,href:i.value||null,rel:g,target:u,onClick:async n=>{if(!(p.value||v.value)){n.preventDefault();try{const w=z(i.value??"");return await(e.replace?d.replace(w):d.push(w))}finally{if(o(a.value)){const w=a.value.slice(1);let q=w;try{q=decodeURIComponent(w)}catch{}document.getElementById(q)?.focus()}}}}},s.default?.())}}})}const ce=ne(X);function _(t,r){const o=r==="append"?J:K;return j(t)&&!t.startsWith("http")?t:o(t,!0)}function re(){const t=R();if(t._observer)return t._observer;let r=null;const o=new Map,S=(e,s)=>(r||=new IntersectionObserver(d=>{for(const a of d){const i=o.get(a.target);(a.isIntersecting||a.intersectionRatio>0)&&i&&i()}}),o.set(e,s),r.observe(e),()=>{o.delete(e),r?.unobserve(e),o.size===0&&(r?.disconnect(),r=null)});return t._observer={observe:S}}const le=/2g/;function ie(){const t=navigator.connection;return!!(t&&(t.saveData||le.test(t.effectiveType)))}const ue=T({__name:"Container",props:{noPadding:{type:Boolean}},setup(t){return(r,o)=>(te(),Y("div",{class:ee([[!t.noPadding&&"px-4 sm:px-[30px] lg:px-12 3xl:px-20"],"max-w-full mx-auto w-[1920px]"])},[Z(r.$slots,"default")],2))}}),fe=Object.assign(ue,{__name:"UiContainer"});export{fe as _,ce as a};

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.