icegl-three-vue-tres/dist/js/@css-render.54dS4MjS1725721021019.js
2024-09-07 23:02:26 +08:00

2 lines
1.9 KiB
JavaScript

import{i as t}from"./@vue._6MD2XyK1725721021019.js";function n(t){let n,e=".",c="__",o="--";if(t){let n=t.blockPrefix;n&&(e=n),n=t.elementPrefix,n&&(c=n),n=t.modifierPrefix,n&&(o=n)}const r={install(t){n=t.c;const e=t.context;e.bem={},e.bem.b=null,e.bem.els=null}};return Object.assign(r,{cB:(...t)=>n(function(t){let n,c;return{before(t){n=t.bem.b,c=t.bem.els,t.bem.els=null},after(t){t.bem.b=n,t.bem.els=c},$:({context:n,props:c})=>(t="string"==typeof t?t:t({context:n,props:c}),n.bem.b=t,"".concat((null==c?void 0:c.bPrefix)||e).concat(n.bem.b))}}(t[0]),t[1],t[2]),cE:(...t)=>n(function(t){let n;return{before(t){n=t.bem.els},after(t){t.bem.els=n},$:({context:n,props:o})=>(t="string"==typeof t?t:t({context:n,props:o}),n.bem.els=t.split(",").map((t=>t.trim())),n.bem.els.map((t=>"".concat((null==o?void 0:o.bPrefix)||e).concat(n.bem.b).concat(c).concat(t))).join(", "))}}(t[0]),t[1],t[2]),cM:(...t)=>{return n((r=t[0],{$({context:t,props:n}){const s=(r="string"==typeof r?r:r({context:t,props:n})).split(",").map((t=>t.trim()));function l(r){return s.map((s=>"&".concat((null==n?void 0:n.bPrefix)||e).concat(t.bem.b).concat(void 0!==r?"".concat(c).concat(r):"").concat(o).concat(s))).join(", ")}const i=t.bem.els;return null!==i?l(i[0]):l()}}),t[1],t[2]);var r},cNotM:(...t)=>{return n((r=t[0],{$({context:t,props:n}){r="string"==typeof r?r:r({context:t,props:n});const s=t.bem.els;return"&:not(".concat((null==n?void 0:n.bPrefix)||e).concat(t.bem.b).concat(null!==s&&s.length>0?"".concat(c).concat(s[0]):"").concat(o).concat(r,")")}}),t[1],t[2]);var r}}),r}const e="undefined"!=typeof document;function c(){if(e)return;const n=t("@css-render/vue3-ssr",null);return null!==n?{adapter:(t,e)=>function(t,n,e){const{styles:c,ids:o}=e;o.has(t)||null!==c&&(o.add(t),c.push(function(t,n){return'<style cssr-id="'.concat(t,'">\n').concat(n,"\n</style>")}(t,n)))}(t,e,n),context:n}:void 0}export{n as p,c as u};