PageSourceSearch

https://cdn.smotrim.ru/static/assets/_nuxt/C6KvaKxe.js

js smotrim.ru collected 2026-10-01 06:50:08 UTC 2,365 bytes, 1 lines download raw bytes

1import{c as v}from"./DjPk_H1L.js";import{u as b}from"./pMB6nrfu.js";import{u as _}from"./BdQnm6Gr.js";import{P as V}from"./CRli9saa.js";import{i as h}from"./BOEWfbY4.js";import{j as c,bv as q,Q as p,ay as A,bu as B,c as w,o as I,v as R,z as x,g as f}from"./n3ZE3m4N.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="150caa64-0125-418b-8056-849158bfd27e",e._sentryDebugIdIdentifier="sentry-dbid-150caa64-0125-418b-8056-849158bfd27e")}catch{}})();function C({type:e,defaultValue:t,modelValue:o}){const r=o||t;return o!==void 0||t!==void 0?Array.isArray(r)?"multiple":"single":e??"single"}function D({type:e,defaultValue:t,modelValue:o}){return e||C({type:e,defaultValue:t,modelValue:o})}function E({type:e,defaultValue:t}){return t!==void 0?t:e==="single"?void 0:[]}function S(e,t){const o=c(()=>D(e)),r=q(e,"modelValue",t,{defaultValue:E(e),passive:e.modelValue===void 0,deep:!0});function i(a){if(o.value==="single")r.value=p(a,r.value)?void 0:a;else{const n=Array.isArray(r.value)?[...r.value||[]]:[r.value].filter(Boolean);if(h(n,a)){const l=n.findIndex(u=>p(u,a));n.splice(l,1)}else n.push(a);r.value=n}}const s=c(()=>o.value==="single");return{modelValue:r,changeModelValue:i,isSingle:s}}const[Q,T]=v("AccordionRoot");var M=A({__name:"AccordionRoot",props:{collapsible:{type:Boolean,required:!1,default:!1},disabled:{type:Boolean,required:!1,default:!1},dir:{type:String,required:!1},orientation:{type:String,required:!1,default:"vertical"},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},type:{type:String,required:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const o=e,r=t,{dir:i,disabled:s,unmountOnHide:a}=B(o),n=b(i),{modelValue:l,changeModelValue:u,isSingle:m}=S(o,r),{forwardRef:y,currentElement:g}=_();return T({disabled:s,direction:n,orientation:o.orientation,parentElement:g,isSingle:m,collapsible:o.collapsible,modelValue:l,changeModelValue:u,unmountOnHide:a}),(d,O)=>(I(),w(f(V),{ref:f(y),"as-child":d.asChild,as:d.as},{default:R(()=>[x(d.$slots,"default",{modelValue:f(l)})]),_:3},8,["as-child","as"]))}}),$=M;export{$ as A,Q as i};

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.