@oneb/ui-vue 0.0.74 → 0.0.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("../XMarkIcon-f94baa4c.cjs"),C={id:{type:String,required:!1},validation:{type:Object,required:!1}},w={id:{type:String,required:!1},label:{type:String,required:!1},name:{type:String,required:!1},hint:{type:String,required:!1,default:""},errors:{type:Array,required:!1}},F={name:{type:String,required:!1},errors:{type:Array,required:!1}},S={label:{type:String,required:!1}},$={id:{type:String,required:!1},name:{type:String,required:!1},placeholder:{type:String,default:""},icon:{type:[Function,Object]},type:{type:String,default:"text"},inputClass:{required:!1,type:[Array,String]},modelValue:{required:!1,type:[String,Number,Array,Boolean,Object,null]},autofocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},large:{type:Boolean,default:!1},invalid:{type:Boolean,required:!1,default:!1},options:{type:Array,required:!1,default:[]}},k=()=>e.inject("BaseForm",()=>({formId:e.computed(()=>{}),validation:e.computed(()=>{})}),!0),f=()=>e.inject("BaseFormField",()=>({inputId:e.computed(()=>{}),inputName:e.computed(()=>{}),hasError:e.computed(()=>!1)}),!0),N=["onSubmit","id"],q=e.defineComponent({__name:"OneForm",props:C,emits:["submit"],setup(d,{emit:l}){const o=d;e.provide("BaseForm",{formId:e.computed(()=>o.id),validation:e.computed(()=>o.validation)});const a=()=>{l("submit")};return(n,t)=>(e.openBlock(),e.createElementBlock("form",{onSubmit:e.withModifiers(a,["prevent"]),id:n.id,class:"space-y-3"},[e.renderSlot(n.$slots,"default")],40,N))}}),O=["for"],v=e.defineComponent({__name:"OneFormLabel",props:S,setup(d){const{inputId:l}=f();return(o,a)=>(e.openBlock(),e.createElementBlock("label",{for:e.unref(l),class:"block text-sm font-medium text-primary-content select-none"},[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.label),1)])],8,O))}}),_={key:0,class:"text-danger-content text-xs space-y-1"},h=e.defineComponent({__name:"OneFormFeedback",props:F,setup(d){const l=d,{validation:o}=k(),{inputName:a}=f(),n=e.computed(()=>a.value==null&&l.name==null?l.errors??[]:o.value==null?l.errors??[]:(o.value??{})[l.name||a.value]??l.errors??[]);return(t,u)=>n.value.length>0?(e.openBlock(),e.createElementBlock("div",_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,i=>(e.openBlock(),e.createElementBlock("div",{key:i},e.toDisplayString(i),1))),128))])):e.createCommentVNode("",!0)}});function I(d,l){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.8",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 010-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z"}),e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})])}function j(d,l){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.8",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.98 8.223A10.477 10.477 0 001.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 10-4.243-4.243m4.242 4.242L9.88 9.88"})])}const L=["id","disabled"],M=["selected"],A=["selected","value"],D=["name","id","value","placeholder","disabled","readonly"],z={key:2,class:"flex w-full space-x-3 items-center"},P=["type","name","id","disabled","readonly","checked"],T=["for"],X={key:3,class:"w-full space-y-1"},G=["name","id","value","disabled","readonly","checked"],H=["for"],J={key:4,class:"relative"},K={class:"absolute p-2 px-3 rounded-md h-full flex items-center select-none"},Q=["type","name","id","value","placeholder","disabled","readonly"],b=e.defineComponent({__name:"OneFormInput",props:$,emits:["update:modelValue"],setup(d,{emit:l}){const o=d,{inputId:a,inputName:n,hasError:t}=f(),u=e.ref(null),i=e.ref(!1);e.onMounted(()=>{o.autofocus&&u.value&&u.value.focus()});const B=e.computed(()=>o.modelValue!=null&&o.modelValue!==""),c=e.computed(()=>{if(o.id)return o.id;const r=(a==null?void 0:a.value)||"";return o.name?`${r}-${o.name}`:r||""}),g=()=>{l("update:modelValue","")},E=e.computed(()=>{const r={"shadow-sm":o.type!=="range","border-danger-base":t.value||o.invalid,"pl-10":o.icon!=null,"pr-10":o.type==="password","rounded-full":o.rounded,"rounded-md":!o.rounded,"text-lg":o.large,"py-2.5":o.large,"py-2":!o.large};return o.inputClass!=null&&(typeof o.inputClass=="string"?r[o.inputClass]=!0:o.inputClass instanceof Array&&o.inputClass.forEach(m=>{r[m]=!0})),r}),p=r=>{o.type==="checkbox"?l("update:modelValue",r.target.checked):l("update:modelValue",r.target.value)};return(r,m)=>r.type==="select"?(e.openBlock(),e.createElementBlock("select",{key:0,id:c.value,ref_key:"inputElement",ref:u,class:e.normalizeClass(["border border-primary-stroke px-3 w-full",{"border-danger-base":e.unref(t)||r.invalid,"text-secondary-content":r.modelValue===""||r.modelValue==null,"rounded-full":r.rounded,"rounded-md":!r.rounded,"text-lg":r.large,"py-2.5":r.large,"py-2":!r.large}]),disabled:r.disabled},[r.placeholder?(e.openBlock(),e.createElementBlock("option",{key:0,selected:r.modelValue===""||r.modelValue==null,disabled:"",hidden:""},e.toDisplayString(r.placeholder),9,M)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.options,s=>(e.openBlock(),e.createElementBlock("option",{selected:s.key===r.modelValue,key:s.key,value:s.key},e.toDisplayString(s.value),9,A))),128))],10,L)):r.type==="textarea"?(e.openBlock(),e.createElementBlock("textarea",{key:1,name:r.name||e.unref(n),id:c.value,value:r.modelValue,onInput:p,rows:"3",class:e.normalizeClass(["border border-primary-stroke px-3 w-full placeholder-gray-400",{"border-danger-base":e.unref(t),"rounded-3xl":r.rounded,"rounded-md":!r.rounded,"text-lg":r.large,"py-2.5":r.large,"py-2":!r.large}]),placeholder:r.placeholder,disabled:r.disabled,readonly:r.readonly,ref_key:"inputElement",ref:u},null,42,D)):r.type==="checkbox"?(e.openBlock(),e.createElementBlock("div",z,[e.createElementVNode("input",{type:r.type,name:r.name||e.unref(n),id:c.value,value:!0,onInput:p,disabled:r.disabled,readonly:r.readonly,class:e.normalizeClass(["rounded-md border border-primary-stroke px-2 py-2 shadow-sm",{"border-danger-base":e.unref(t)||r.invalid}]),checked:r.modelValue===!0,ref_key:"inputElement",ref:u},null,42,P),e.createElementVNode("label",{for:c.value,class:"text-primary-content select-none"},e.toDisplayString(r.placeholder),9,T)])):r.type==="radio"?(e.openBlock(),e.createElementBlock("div",X,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.options,(s,y)=>(e.openBlock(),e.createElementBlock("div",{key:s.key,class:"flex w-full space-x-3 items-center"},[e.createElementVNode("input",{type:"radio",name:r.name||e.unref(n),id:`${c.value}-${y}`,value:s.key,onInput:p,disabled:r.disabled,readonly:r.readonly,class:e.normalizeClass(["rounded-md border border-primary-stroke px-3 py-2 shadow-sm",{"border-danger-base":e.unref(t)||r.invalid}]),checked:s.key===r.modelValue,ref_for:!0,ref_key:"inputElement",ref:u},null,42,G),e.createElementVNode("label",{for:`${c.value}-${y}`,class:"text-primary-content select-none"},e.toDisplayString(s.value),9,H)]))),128))])):(e.openBlock(),e.createElementBlock("div",J,[e.createElementVNode("div",K,[r.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.icon),{key:0,class:"w-5 h-5 text-primary-content"})):e.createCommentVNode("",!0)]),e.createElementVNode("input",{type:i.value?"text":r.type,name:r.name||e.unref(n),id:c.value,value:r.modelValue,onInput:p,placeholder:r.placeholder,disabled:r.disabled,readonly:r.readonly,class:e.normalizeClass(["border border-primary-stroke w-full px-3 placeholder-gray-400",E.value]),ref_key:"inputElement",ref:u},null,42,Q),r.clearable&&B.value?(e.openBlock(),e.createElementBlock("div",{key:0,onClick:g,class:"absolute p-2 px-3 rounded-md h-full flex items-center right-0 top-0 hover:cursor-pointer select-none"},[e.createVNode(e.unref(V.render),{class:"w-5 h-5 text-secondary-content hover:text-primary-base"})])):r.type==="password"?(e.openBlock(),e.createElementBlock("div",{key:1,onClick:m[0]||(m[0]=s=>i.value=!i.value),class:"absolute p-2 px-3 rounded-md h-full flex items-center right-0 top-0 hover:cursor-pointer select-none"},[i.value?(e.openBlock(),e.createBlock(e.unref(j),{key:0,class:"w-5 h-5 text-primary-content hover:text-primary-base"})):(e.openBlock(),e.createBlock(e.unref(I),{key:1,class:"w-5 h-5 text-secondary-content hover:text-primary-base"}))])):e.createCommentVNode("",!0)]))}}),R={class:"space-y-1"},U={key:2,class:"text-xs text-secondary-content select-none"},W=e.defineComponent({__name:"OneFormField",props:w,setup(d){const l=d,{formId:o,validation:a}=k(),n=e.computed(()=>l.errors!=null&&l.errors.length>0?!0:l.name==null?!1:(a.value??{})[l.name]!=null);return e.provide("BaseFormField",{inputId:e.computed(()=>{const t=o.value||"form";if(l.id!=null)return`${t}-${l.id}`;if(l.name!=null)return`${t}-field-${l.name}`}),inputName:e.computed(()=>l.name),hasError:n}),(t,u)=>(e.openBlock(),e.createElementBlock("div",R,[t.label?(e.openBlock(),e.createBlock(v,{key:0,label:t.label},null,8,["label"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[e.createVNode(b)]),n.value?(e.openBlock(),e.createBlock(h,{key:1,errors:t.errors},null,8,["errors"])):t.hint.length>0?(e.openBlock(),e.createElementBlock("p",U,e.toDisplayString(t.hint),1)):e.createCommentVNode("",!0)]))}});exports.OneForm=q;exports.OneFormFeedback=h;exports.OneFormField=W;exports.OneFormInput=b;exports.OneFormLabel=v;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("../XMarkIcon-f94baa4c.cjs"),C={id:{type:String,required:!1},validation:{type:Object,required:!1}},w={id:{type:String,required:!1},label:{type:String,required:!1},name:{type:String,required:!1},hint:{type:String,required:!1,default:""},errors:{type:Array,required:!1}},F={name:{type:String,required:!1},errors:{type:Array,required:!1}},S={label:{type:String,required:!1}},$={id:{type:String,required:!1},name:{type:String,required:!1},placeholder:{type:String,default:""},icon:{type:[Function,Object]},type:{type:String,default:"text"},inputClass:{required:!1,type:[Array,String]},modelValue:{required:!1,type:[String,Number,Array,Boolean,Object,null]},autofocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},large:{type:Boolean,default:!1},invalid:{type:Boolean,required:!1,default:!1},options:{type:Array,required:!1,default:[]}},k=()=>e.inject("BaseForm",()=>({formId:e.computed(()=>{}),validation:e.computed(()=>{})}),!0),f=()=>e.inject("BaseFormField",()=>({inputId:e.computed(()=>{}),inputName:e.computed(()=>{}),hasError:e.computed(()=>!1)}),!0),N=["onSubmit","id"],q=e.defineComponent({__name:"OneForm",props:C,emits:["submit"],setup(d,{emit:l}){const o=d;e.provide("BaseForm",{formId:e.computed(()=>o.id),validation:e.computed(()=>o.validation)});const a=()=>{l("submit")};return(n,t)=>(e.openBlock(),e.createElementBlock("form",{onSubmit:e.withModifiers(a,["prevent"]),id:n.id,class:"space-y-3"},[e.renderSlot(n.$slots,"default")],40,N))}}),O=["for"],v=e.defineComponent({__name:"OneFormLabel",props:S,setup(d){const{inputId:l}=f();return(o,a)=>(e.openBlock(),e.createElementBlock("label",{for:e.unref(l),class:"block text-sm font-medium text-primary-content select-none"},[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.label),1)])],8,O))}}),_={key:0,class:"text-danger-content text-xs space-y-1"},h=e.defineComponent({__name:"OneFormFeedback",props:F,setup(d){const l=d,{validation:o}=k(),{inputName:a}=f(),n=e.computed(()=>a.value==null&&l.name==null?l.errors??[]:o.value==null?l.errors??[]:(o.value??{})[l.name||a.value]??l.errors??[]);return(t,i)=>n.value.length>0?(e.openBlock(),e.createElementBlock("div",_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,u=>(e.openBlock(),e.createElementBlock("div",{key:u},e.toDisplayString(u),1))),128))])):e.createCommentVNode("",!0)}});function I(d,l){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.8",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 010-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z"}),e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})])}function j(d,l){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.8",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.98 8.223A10.477 10.477 0 001.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 10-4.243-4.243m4.242 4.242L9.88 9.88"})])}const L=["id","disabled"],M=["selected"],A=["selected","value"],D=["name","id","value","placeholder","disabled","readonly"],z={key:2,class:"flex w-full space-x-3 items-center"},P=["type","name","id","disabled","readonly","checked"],T=["for"],X={key:3,class:"w-full space-y-1"},G=["name","id","value","disabled","readonly","checked"],H=["for"],J={key:4,class:"relative"},K={class:"absolute p-2 px-3 rounded-md h-full flex items-center select-none"},Q=["type","name","id","value","placeholder","disabled","readonly"],b=e.defineComponent({__name:"OneFormInput",props:$,emits:["update:modelValue"],setup(d,{emit:l}){const o=d,{inputId:a,inputName:n,hasError:t}=f(),i=e.ref(null),u=e.ref(!1);e.onMounted(()=>{o.autofocus&&i.value&&i.value.focus()});const B=e.computed(()=>o.modelValue!=null&&o.modelValue!==""),c=e.computed(()=>{if(o.id)return o.id;const r=(a==null?void 0:a.value)||"";return o.name?`${r}-${o.name}`:r||""}),g=()=>{l("update:modelValue","")},E=e.computed(()=>{const r={"shadow-sm":o.type!=="range","border-danger-base":t.value||o.invalid,"pl-10":o.icon!=null,"pr-10":o.type==="password","rounded-full":o.rounded,"rounded-md":!o.rounded,"text-lg":o.large,"py-2.5":o.large,"py-2":!o.large};return o.inputClass!=null&&(typeof o.inputClass=="string"?r[o.inputClass]=!0:o.inputClass instanceof Array&&o.inputClass.forEach(m=>{r[m]=!0})),r}),p=r=>{o.type==="checkbox"?l("update:modelValue",r.target.checked):l("update:modelValue",r.target.value)};return(r,m)=>r.type==="select"?(e.openBlock(),e.createElementBlock("select",{key:0,id:c.value,ref_key:"inputElement",ref:i,class:e.normalizeClass(["border border-primary-stroke px-3 w-full",{"border-danger-base":e.unref(t)||r.invalid,"text-secondary-content":r.modelValue===""||r.modelValue==null,"rounded-full":r.rounded,"rounded-md":!r.rounded,"text-lg":r.large,"py-2.5":r.large,"py-2":!r.large}]),disabled:r.disabled},[r.placeholder?(e.openBlock(),e.createElementBlock("option",{key:0,selected:r.modelValue===""||r.modelValue==null,disabled:"",hidden:""},e.toDisplayString(r.placeholder),9,M)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.options,s=>(e.openBlock(),e.createElementBlock("option",{selected:s.key===r.modelValue,key:s.key,value:s.key},e.toDisplayString(s.value),9,A))),128))],10,L)):r.type==="textarea"?(e.openBlock(),e.createElementBlock("textarea",{key:1,name:r.name||e.unref(n),id:c.value,value:r.modelValue,onInput:p,rows:"3",class:e.normalizeClass(["border border-primary-stroke px-3 w-full placeholder-gray-400",{"border-danger-base":e.unref(t),"rounded-3xl":r.rounded,"rounded-md":!r.rounded,"text-lg":r.large,"py-2.5":r.large,"py-2":!r.large}]),placeholder:r.placeholder,disabled:r.disabled,readonly:r.readonly,ref_key:"inputElement",ref:i},null,42,D)):r.type==="checkbox"?(e.openBlock(),e.createElementBlock("div",z,[e.createElementVNode("input",{type:r.type,name:r.name||e.unref(n),id:c.value,value:!0,onInput:p,disabled:r.disabled,readonly:r.readonly,class:e.normalizeClass(["rounded-md border border-primary-stroke px-2 py-2 shadow-sm",{"border-danger-base":e.unref(t)||r.invalid}]),checked:r.modelValue===!0,ref_key:"inputElement",ref:i},null,42,P),e.createElementVNode("label",{for:c.value,class:"text-primary-content select-none"},e.toDisplayString(r.placeholder),9,T)])):r.type==="radio"?(e.openBlock(),e.createElementBlock("div",X,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.options,(s,y)=>(e.openBlock(),e.createElementBlock("div",{key:s.key,class:"flex w-full space-x-3 items-center"},[e.createElementVNode("input",{type:"radio",name:r.name||e.unref(n),id:`${c.value}-${y}`,value:s.key,onInput:p,disabled:r.disabled,readonly:r.readonly,class:e.normalizeClass(["rounded-md border border-primary-stroke px-3 py-2 shadow-sm",{"border-danger-base":e.unref(t)||r.invalid}]),checked:s.key===r.modelValue,ref_for:!0,ref_key:"inputElement",ref:i},null,42,G),e.createElementVNode("label",{for:`${c.value}-${y}`,class:"text-primary-content select-none"},e.toDisplayString(s.value),9,H)]))),128))])):(e.openBlock(),e.createElementBlock("div",J,[e.createElementVNode("div",K,[r.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.icon),{key:0,class:"w-5 h-5 text-primary-content"})):e.createCommentVNode("",!0)]),e.createElementVNode("input",{type:u.value?"text":r.type,name:r.name||e.unref(n),id:c.value,value:r.modelValue,onInput:p,placeholder:r.placeholder,disabled:r.disabled,readonly:r.readonly,class:e.normalizeClass(["border border-primary-stroke w-full px-3 placeholder-gray-400 disabled:bg-gray-50",E.value]),ref_key:"inputElement",ref:i},null,42,Q),r.clearable&&B.value?(e.openBlock(),e.createElementBlock("div",{key:0,onClick:g,class:"absolute p-2 px-3 rounded-md h-full flex items-center right-0 top-0 hover:cursor-pointer select-none"},[e.createVNode(e.unref(V.render),{class:"w-5 h-5 text-secondary-content hover:text-primary-base"})])):r.type==="password"?(e.openBlock(),e.createElementBlock("div",{key:1,onClick:m[0]||(m[0]=s=>u.value=!u.value),class:"absolute p-2 px-3 rounded-md h-full flex items-center right-0 top-0 hover:cursor-pointer select-none"},[u.value?(e.openBlock(),e.createBlock(e.unref(j),{key:0,class:"w-5 h-5 text-primary-content hover:text-primary-base"})):(e.openBlock(),e.createBlock(e.unref(I),{key:1,class:"w-5 h-5 text-secondary-content hover:text-primary-base"}))])):e.createCommentVNode("",!0)]))}}),R={class:"space-y-1"},U={key:2,class:"text-xs text-secondary-content select-none"},W=e.defineComponent({__name:"OneFormField",props:w,setup(d){const l=d,{formId:o,validation:a}=k(),n=e.computed(()=>l.errors!=null&&l.errors.length>0?!0:l.name==null?!1:(a.value??{})[l.name]!=null);return e.provide("BaseFormField",{inputId:e.computed(()=>{const t=o.value||"form";if(l.id!=null)return`${t}-${l.id}`;if(l.name!=null)return`${t}-field-${l.name}`}),inputName:e.computed(()=>l.name),hasError:n}),(t,i)=>(e.openBlock(),e.createElementBlock("div",R,[t.label?(e.openBlock(),e.createBlock(v,{key:0,label:t.label},null,8,["label"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[e.createVNode(b)]),n.value?(e.openBlock(),e.createBlock(h,{key:1,errors:t.errors},null,8,["errors"])):t.hint.length>0?(e.openBlock(),e.createElementBlock("p",U,e.toDisplayString(t.hint),1)):e.createCommentVNode("",!0)]))}});exports.OneForm=q;exports.OneFormFeedback=h;exports.OneFormField=W;exports.OneFormInput=b;exports.OneFormLabel=v;
@@ -363,7 +363,7 @@ const x = ["id", "disabled"], ee = ["selected"], re = ["selected", "value"], le
363
363
  placeholder: e.placeholder,
364
364
  disabled: e.disabled,
365
365
  readonly: e.readonly,
366
- class: b(["border border-primary-stroke w-full px-3 placeholder-gray-400", A.value]),
366
+ class: b(["border border-primary-stroke w-full px-3 placeholder-gray-400 disabled:bg-gray-50", A.value]),
367
367
  ref_key: "inputElement",
368
368
  ref: c
369
369
  }, null, 42, pe),
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),q=require("../_plugin-vue_export-helper-f246444f.cjs"),A=require("../OneBrowserMenu-27c0a632.cjs"),T=require("../index-bdc4dd8e.cjs"),J=require("../XMarkIcon-f94baa4c.cjs");require("../common/index.cjs");const U={items:{required:!0,type:Array},slim:{type:Boolean,default:!0},app:{type:Object},news:{type:Object}},K={route:{required:!1,type:[Object,String]},routeName:{required:!1,type:String},handler:{required:!1,type:Function,default(){return()=>{}}},href:{type:String},app:{type:Object},label:{type:String,required:!0},icon:{type:[Function,Object]},exact:{type:Boolean,required:!1,default:!1},slim:{type:Boolean,default:!0}},Q={sidebarItems:U.items,logoSrc:{type:String},helpUrl:{type:String},app:{type:Object},user:{type:Object,required:!0},labels:{type:Object},apps:{type:Array},workspaces:{type:Array},workspace:{type:Object},yourApps:{type:Object},news:{type:Object},handlers:{type:Object},improveTariff:{type:Object}},Y=["href"],ee={class:"flex flex-nowrap items-center w-full h-[24px]"},te={key:0,class:"w-[44px] flex-shrink-0"},oe={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},le={class:"py-[8px] pl-0 pr-[8px]"},ne={class:"flex flex-nowrap items-center w-full h-[24px]"},se={key:0,class:"w-[44px] flex-shrink-0"},re={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},ae={class:"py-[8px] pl-0 pr-[8px]"},ce=e.defineComponent({__name:"OneSidebarLink",props:K,setup(s){const r=s,d=e.computed(()=>r.href!=null?r.href:!1),f=e.computed(()=>r.route!=null?r.route:r.routeName!=null?{name:r.routeName}:"/");return(n,m)=>{const a=e.resolveComponent("RouterLink");return d.value?(e.openBlock(),e.createElementBlock("a",{key:0,href:d.value,class:e.normalizeClass(["flex items-center rounded-lg text-sm font-medium hover:bg-primary-10-hover hover:text-primary-base transition-all text-[#525B66]",[n.slim?"w-[44px] h-[44px]":"h-[44px] w-full"]])},[e.createElementVNode("div",ee,[n.icon?(e.openBlock(),e.createElementBlock("div",te,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.icon),{class:"w-[24px] h-[24px] mx-auto"}))])):e.createCommentVNode("",!0),e.createElementVNode("div",oe,[e.createElementVNode("span",le,e.toDisplayString(n.label),1)])])],10,Y)):(e.openBlock(),e.createBlock(a,{key:1,to:f.value,class:e.normalizeClass(["flex items-center rounded-lg text-sm font-medium hover:bg-primary-10-hover hover:text-primary-base transition-all text-[#525B66]",[n.slim?"w-[44px] h-[44px]":"h-[44px] w-full"]]),"active-class":n.exact?"":"bg-primary-10 !text-primary-base","exact-active-class":n.exact?"bg-primary-10 !text-primary-base":"",exact:n.exact},{default:e.withCtx(()=>[e.createElementVNode("div",ne,[n.icon?(e.openBlock(),e.createElementBlock("div",se,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.icon),{class:"w-[24px] h-[24px] mx-auto"}))])):e.createCommentVNode("",!0),e.createElementVNode("div",re,[e.createElementVNode("span",ae,e.toDisplayString(n.label),1)])])]),_:1},8,["to","active-class","exact-active-class","exact","class"]))}}}),ie={},de={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},pe=e.createElementVNode("path",{d:"M9.27987 15.963H7.76282V9.97577C7.76282 9.67316 7.575 9.40658 7.29326 9.29851L6.7948 9.11839V8.57802V8.03766H8.10957C8.60081 8.03766 8.91867 8.12412 9.05592 8.30424C9.20763 8.48436 9.27987 8.8374 9.27987 9.36335V15.963Z",fill:"currentColor"},null,-1),me=e.createElementVNode("path",{d:"M15.7294 11.3876C16.2011 11.2795 16.7453 10.9769 16.7816 10.0547C16.7816 9.36299 16.5276 8.90188 16.1285 8.57766C15.6569 8.14537 14.9675 8.03729 14.3797 8.03729H11.4626V13.9309C11.4626 14.6802 11.6441 15.2061 12.0141 15.5087C12.3842 15.8113 13.0155 15.9626 13.8935 15.9626H14.9675C15.6859 15.9626 16.2374 15.7681 16.6365 15.3718C17.0428 14.9756 17.2388 14.4136 17.2388 13.6787C17.2388 12.7925 16.9993 11.6758 15.7294 11.3876ZM13.0228 9.42783L14.2564 9.39181C14.8296 9.39181 15.1199 9.68 15.1199 10.2492C15.1199 10.8184 14.8296 11.1066 14.2564 11.1066L13.0228 11.1426V9.42783ZM14.8079 14.5865H14.0024C13.6541 14.5865 13.4001 14.5289 13.2405 14.4064C13.0881 14.2911 13.0155 14.075 13.0155 13.7724V12.5259H14.8079C15.1344 12.5259 15.3666 12.6196 15.49 12.8069C15.6133 12.987 15.6786 13.2536 15.6786 13.6067C15.6859 14.2551 15.3956 14.5865 14.8079 14.5865Z",fill:"currentColor"},null,-1),ue=e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.6437 3H10.4761C10.462 3.00738 10.4468 3.00752 10.4317 3.00766L10.4237 3.00778L10.2163 3.01067L10.1771 3.01124C10.1389 3.01181 10.1006 3.01238 10.0624 3.01238C9.85585 3.01276 9.64939 3.01797 9.44293 3.02318C9.34618 3.02562 9.24943 3.02806 9.15267 3.03C9.04934 3.03209 8.94604 3.03642 8.84277 3.04075L8.7649 3.04397C8.68023 3.04733 8.59559 3.05152 8.51098 3.05656C8.48805 3.05791 8.46519 3.06072 8.44234 3.06353L8.41144 3.0672L8.41136 3.06733L8.41135 3.06733C8.36472 3.06357 8.31825 3.06706 8.27185 3.07055L8.2508 3.07211C8.17968 3.07719 8.10867 3.08303 8.03766 3.08888L7.99014 3.09278L7.93408 3.09722C7.88146 3.10132 7.82884 3.10543 7.77638 3.111C7.67642 3.12147 7.57658 3.13307 7.47685 3.14581L7.46711 3.14705C7.35956 3.16078 7.25195 3.17451 7.14491 3.19162C6.9685 3.21996 6.79301 3.25364 6.61912 3.29514C6.39508 3.34863 6.17474 3.41407 5.95992 3.49743C5.64582 3.6192 5.35134 3.77699 5.08051 3.97818C4.85418 4.14605 4.6417 4.33183 4.44509 4.5337C4.2703 4.71309 4.10878 4.90496 3.96183 5.1078C3.77344 5.36816 3.62514 5.65018 3.50915 5.94958C3.36896 6.31155 3.2788 6.68668 3.21499 7.06866C3.19851 7.1678 3.18411 7.26735 3.17082 7.36697C3.15756 7.46541 3.14628 7.56409 3.135 7.66276L3.13307 7.67973C3.12541 7.74641 3.11884 7.81305 3.11245 7.87981L3.11091 7.89541C3.10743 7.9302 3.10394 7.96508 3.10714 8.00012L3.10716 8.0001C3.09909 8.01985 3.09789 8.04067 3.0967 8.06145L3.09602 8.07249L3.07085 8.44649L3.07007 8.45985C3.06822 8.50323 3.06651 8.54661 3.0648 8.58999C3.06098 8.68709 3.05716 8.78418 3.05165 8.88117C3.04485 9.00132 3.04236 9.12161 3.03987 9.24188C3.03793 9.33581 3.03599 9.42973 3.03199 9.52356C3.02946 9.58278 3.02895 9.64209 3.02844 9.7014L3.02804 9.74445L3.02618 9.9482C3.02519 10.0655 3.02421 10.1828 3.02245 10.3001C3.02144 10.367 3.01875 10.4338 3.01605 10.5007L3.01316 10.5745L3.01312 10.5756C3.01256 10.5885 3.01199 10.6018 3 10.6107V13.3892C3.00108 13.3909 3.00237 13.3925 3.00365 13.3942L3.00366 13.3942C3.00655 13.3979 3.00944 13.4016 3.01007 13.4057C3.01249 13.4212 3.01389 13.4369 3.01427 13.4526L3.01611 13.5092L3.01611 13.5092C3.01871 13.5887 3.0213 13.6681 3.02293 13.7476C3.02474 13.8348 3.02545 13.922 3.02545 14.0092C3.0256 14.2458 3.03197 14.4823 3.03835 14.7188L3.03835 14.7188C3.04022 14.7885 3.0421 14.8582 3.04382 14.9279C3.04659 15.0408 3.05225 15.1535 3.05791 15.2663L3.06335 15.3769C3.06897 15.4952 3.07473 15.6135 3.08203 15.7318C3.08634 15.8018 3.09212 15.8717 3.0979 15.9417L3.0979 15.9417L3.10262 15.9992L3.10453 16.0229C3.10928 16.0819 3.11403 16.1408 3.12009 16.1996C3.13141 16.3108 3.14359 16.4219 3.15661 16.5328C3.16284 16.5864 3.1703 16.6399 3.17776 16.6933L3.185 16.7455C3.20654 16.9028 3.23441 17.0589 3.26627 17.2144C3.30583 17.4093 3.35558 17.602 3.4153 17.7917C3.50677 18.0804 3.62514 18.3571 3.77815 18.6188C3.87433 18.7833 3.98454 18.9379 4.10322 19.0866C4.38114 19.4348 4.70212 19.7464 5.05849 20.0138C5.34835 20.2318 5.66471 20.4005 6.00352 20.5279C6.22982 20.6131 6.46181 20.6788 6.69755 20.7318C6.88514 20.774 7.07435 20.8079 7.2645 20.8355C7.38593 20.8534 7.50793 20.8672 7.62989 20.881L7.6304 20.8811C7.7437 20.8937 7.8571 20.9052 7.97062 20.9156C8.03986 20.9219 8.10927 20.9264 8.17868 20.931L8.21137 20.9332C8.28755 20.9383 8.36371 20.943 8.43985 20.9478L8.54613 20.9545L8.556 20.9552C8.56163 20.9556 8.56727 20.956 8.57291 20.9562L8.71929 20.9621C8.81347 20.9658 8.90765 20.9695 9.0018 20.9736C9.21881 20.9828 9.43595 20.9864 9.65309 20.99L9.74613 20.9915L9.75798 20.9914C9.77405 20.9912 9.79026 20.9909 9.80497 21H14.0598C14.1664 20.9939 14.273 20.9919 14.3797 20.9899C14.4179 20.9892 14.4561 20.9885 14.4943 20.9876C14.7149 20.9825 14.9354 20.9772 15.156 20.9696C15.2421 20.9667 15.3282 20.9618 15.4143 20.9569C15.4551 20.9546 15.4958 20.9523 15.5366 20.9502L15.5761 20.9484C15.5941 20.9477 15.6121 20.947 15.6301 20.9459C15.6439 20.945 15.6578 20.9436 15.6716 20.9421L15.6898 20.9403L15.6899 20.9402C15.701 20.9399 15.7121 20.94 15.7231 20.9392L15.7557 20.9369C15.8318 20.9315 15.9079 20.9261 15.984 20.9202C15.9957 20.9194 16.0074 20.9185 16.0192 20.9176C16.081 20.913 16.1429 20.9083 16.2046 20.9021C16.272 20.8953 16.3393 20.8876 16.4066 20.8799C16.4414 20.8759 16.4763 20.8719 16.5111 20.868C16.6378 20.8539 16.7638 20.8353 16.8896 20.8154C17.0775 20.7859 17.2638 20.7493 17.4484 20.7044C17.6789 20.6482 17.905 20.5785 18.125 20.4897C18.4165 20.3719 18.6905 20.2225 18.9436 20.0355C19.3225 19.7539 19.6587 19.4279 19.952 19.0575C20.1845 18.7646 20.3725 18.4391 20.51 18.0914C20.609 17.8414 20.6842 17.5843 20.7426 17.3223C20.8039 17.0471 20.849 16.7692 20.8805 16.4891C20.8828 16.4688 20.8852 16.4484 20.8876 16.4281C20.8909 16.3996 20.8943 16.3711 20.8974 16.3426C20.9041 16.2803 20.9108 16.2181 20.9166 16.1558C20.9179 16.143 20.9176 16.13 20.9174 16.1171C20.9174 16.1122 20.9173 16.1073 20.9173 16.1025L20.9175 16.1023L20.9216 16.0734C20.9247 16.0521 20.9277 16.0308 20.9298 16.0094C20.9345 15.9583 20.9385 15.907 20.9419 15.8557C20.9481 15.7576 20.9542 15.6594 20.9595 15.5612C20.967 15.4207 20.974 15.2801 20.9806 15.1394C20.9829 15.0903 20.9838 15.0412 20.9846 14.992C20.9853 14.9473 20.9858 14.9026 20.9863 14.8579V14.8579C20.987 14.7953 20.9877 14.7328 20.9889 14.6702C20.9899 14.6211 20.9917 14.5721 20.9973 14.5231C21.0007 14.494 21.0001 14.4644 20.9995 14.4348C20.9993 14.4218 20.999 14.4088 20.9991 14.3959V9.63092L20.9991 9.60404L20.9991 9.55038L20.9991 9.53972C20.9989 9.51204 20.9988 9.48446 20.9941 9.45682C20.9908 9.4383 20.9906 9.4192 20.9904 9.40022V9.40019L20.9903 9.38995L20.9882 9.25341C20.9872 9.18265 20.9862 9.11189 20.9847 9.04114C20.9836 8.98836 20.9816 8.93561 20.9795 8.88285L20.9772 8.81995C20.9766 8.80494 20.9759 8.78993 20.9752 8.77493L20.9748 8.76634L20.9691 8.64082C20.9651 8.55088 20.9611 8.46094 20.956 8.37104C20.9522 8.30451 20.947 8.23805 20.9417 8.1716L20.9359 8.09682L20.9321 8.04666C20.9275 7.98535 20.9229 7.92405 20.9175 7.86274C20.9125 7.80634 20.9064 7.74993 20.9004 7.69354L20.9003 7.69313L20.897 7.66264C20.8931 7.62609 20.8889 7.58959 20.8846 7.5531L20.8845 7.55231L20.8803 7.51608C20.8416 7.18046 20.7858 6.84789 20.7029 6.52018C20.6311 6.23571 20.5375 5.95879 20.4129 5.6927C20.2939 5.43833 20.1468 5.20173 19.9745 4.98024C19.6752 4.5943 19.3289 4.25662 18.9357 3.9672C18.6895 3.78603 18.4233 3.64067 18.1406 3.52522C17.9042 3.42869 17.6608 3.35464 17.4126 3.29549C17.2386 3.25401 17.0631 3.22009 16.8865 3.192C16.7762 3.17443 16.6652 3.16021 16.5545 3.14604C16.4547 3.1333 16.3548 3.12195 16.2548 3.1114C16.1994 3.10556 16.1439 3.10111 16.0884 3.09667L16.0476 3.09338C15.9873 3.08847 15.9269 3.08378 15.8666 3.07909L15.8665 3.07909L15.7802 3.07236L15.7725 3.07169L15.7601 3.0707L15.6649 3.06539L15.6649 3.06539C15.5895 3.06113 15.5141 3.05688 15.4386 3.05333C15.316 3.0476 15.1933 3.04242 15.0707 3.03725L14.9361 3.03154C14.9137 3.03058 14.8914 3.02983 14.869 3.02942C14.7553 3.02747 14.6416 3.02471 14.5279 3.02195C14.3309 3.01717 14.1339 3.0124 13.9368 3.0118C13.8728 3.01162 13.8088 3.0106 13.7448 3.00958L13.6819 3.00861L13.677 3.00858C13.6653 3.00857 13.6535 3.00855 13.6437 3ZM19.1763 17.0579L19.1766 17.0517C19.1767 17.0471 19.1768 17.0425 19.1779 17.0381C19.2275 16.836 19.2624 16.631 19.291 16.4251C19.3098 16.2901 19.3268 16.1547 19.3375 16.0187C19.3417 15.9654 19.3464 15.9121 19.3511 15.8589C19.3586 15.774 19.3661 15.6892 19.3716 15.6042C19.3828 15.4301 19.391 15.2558 19.3987 15.0816C19.4046 14.9497 19.4094 14.8178 19.4117 14.6859L19.4153 14.4842C19.4205 14.2026 19.4257 13.9209 19.4268 13.6392C19.4297 12.9436 19.4306 12.248 19.4295 11.5523L19.4295 11.2777C19.4295 10.7542 19.4295 10.2306 19.4186 9.70709C19.4124 9.40296 19.4061 9.09888 19.3918 8.79501C19.3844 8.63644 19.3757 8.47787 19.3647 8.31947C19.3541 8.1655 19.3406 8.01182 19.3242 7.85844C19.3125 7.74723 19.2991 7.63627 19.284 7.52554C19.2621 7.36599 19.2346 7.20747 19.1999 7.05026C19.1657 6.89516 19.1232 6.74238 19.0697 6.59267C18.9916 6.37321 18.8802 6.16704 18.7395 5.98137C18.5884 5.78135 18.4163 5.59801 18.2263 5.43445C18.1883 5.40179 18.1494 5.37029 18.1105 5.33881L18.1104 5.33876L18.0812 5.3151C17.8793 5.15117 17.6528 5.03224 17.408 4.94664C17.207 4.87636 17.0007 4.82673 16.7919 4.78696C16.581 4.74669 16.3684 4.71721 16.155 4.69446C16.004 4.67833 15.8523 4.66544 15.7006 4.65444C15.5492 4.64344 15.3974 4.63568 15.2457 4.62792L15.2385 4.62756C15.1291 4.62194 15.0196 4.61762 14.91 4.61462L14.8134 4.61183C14.6511 4.60712 14.4888 4.6024 14.3265 4.60068C13.8657 4.59577 13.405 4.59101 12.9443 4.59016C12.2464 4.58885 11.5486 4.58938 10.8507 4.59177C10.5996 4.5923 10.3486 4.59439 10.0974 4.59647L10.0974 4.59647L9.8577 4.59841L9.82872 4.59862H9.82872C9.7489 4.59919 9.66907 4.59976 9.58934 4.60282C9.49703 4.60635 9.40468 4.60825 9.31233 4.61016L9.31231 4.61016L9.3123 4.61016C9.18105 4.61286 9.0498 4.61557 8.91869 4.62295C8.83304 4.62782 8.7474 4.63152 8.66175 4.63522C8.61777 4.63712 8.5738 4.63902 8.52981 4.64107C8.52362 4.64135 8.51744 4.64185 8.51126 4.64235L8.51126 4.64235L8.51126 4.64235L8.50306 4.64299L8.41244 4.64946C8.34449 4.65429 8.27653 4.65912 8.20857 4.66428L8.18781 4.66585C8.12337 4.67072 8.05892 4.67559 7.99463 4.68218C7.89227 4.69268 7.79008 4.70422 7.68806 4.71679C7.62913 4.72411 7.57031 4.73243 7.5115 4.74075L7.51148 4.74075L7.51141 4.74076C7.47952 4.74527 7.44763 4.74978 7.41572 4.75414C7.40685 4.75493 7.39794 4.75526 7.38904 4.75512L7.38907 4.75503L7.31739 4.76857L7.31738 4.76857C7.26453 4.7785 7.21167 4.78842 7.15898 4.79909C6.93749 4.84394 6.71967 4.90123 6.5096 4.98613C6.34776 5.05123 6.19426 5.1354 6.05234 5.23684C5.78124 5.43085 5.54562 5.66141 5.33918 5.92242C5.28924 5.98552 5.24069 6.04965 5.19677 6.11724C5.09636 6.27173 5.01967 6.43755 4.95864 6.61102C4.91632 6.73123 4.88184 6.85368 4.85186 6.97747C4.84793 6.99374 4.8434 7.00985 4.83887 7.02596L4.83887 7.02597L4.83261 7.04844L4.83272 7.0484L4.8298 7.06701C4.82771 7.08069 4.82563 7.09438 4.82265 7.10788C4.76979 7.35293 4.73521 7.60091 4.70752 7.84979C4.69096 7.99864 4.67853 8.148 4.66745 8.29738C4.65639 8.44663 4.64854 8.59619 4.64069 8.74569L4.64069 8.74569L4.64069 8.7457L4.64067 8.74609C4.63503 8.85329 4.63069 8.96055 4.62763 9.06786L4.62559 9.13807C4.62045 9.31366 4.61532 9.48925 4.61283 9.66486C4.608 10.0048 4.60357 10.3448 4.60262 10.6847C4.59962 11.7494 4.5969 12.8141 4.60737 13.8788C4.61072 14.2165 4.61777 14.5542 4.62607 14.8918C4.62673 14.9186 4.62753 14.9455 4.62877 14.9724L4.63381 15.0811C4.63926 15.199 4.64472 15.3169 4.65074 15.4347C4.65577 15.5308 4.66081 15.6268 4.66836 15.7227C4.67515 15.8081 4.68316 15.8934 4.69117 15.9787L4.70214 16.0968C4.71248 16.2104 4.7265 16.3235 4.74143 16.4366C4.7631 16.6007 4.79033 16.7638 4.82487 16.9256C4.85985 17.0897 4.90314 17.2516 4.95983 17.4096C5.02424 17.5893 5.10596 17.7603 5.21434 17.9181C5.29414 18.0342 5.38123 18.1452 5.47508 18.2503C5.64558 18.4412 5.83564 18.6105 6.0414 18.7625C6.1548 18.8463 6.27647 18.9182 6.4045 18.9772C6.5449 19.0421 6.69048 19.0925 6.83926 19.1339C7.11993 19.2121 7.40659 19.2588 7.69529 19.294C7.79514 19.3061 7.89529 19.3159 7.99546 19.3252L8.03116 19.3284L8.03143 19.3285L8.03148 19.3285C8.15306 19.3397 8.27467 19.3509 8.39647 19.359C8.56158 19.3699 8.72687 19.378 8.89219 19.3856C9.02176 19.3916 9.15144 19.3965 9.28109 19.399L9.45946 19.4025H9.4595H9.45953C9.71982 19.4078 9.98011 19.4131 10.2404 19.4145C11.3901 19.4206 12.5397 19.4191 13.6893 19.4158C13.9179 19.4151 14.1465 19.4106 14.375 19.4061C14.4976 19.4037 14.6201 19.4013 14.7426 19.3995C14.7627 19.3992 14.7829 19.3984 14.803 19.3976L14.9426 19.392C15.0681 19.387 15.1937 19.382 15.3192 19.3763C15.4286 19.3713 15.538 19.365 15.6474 19.3587C15.701 19.3556 15.7545 19.3513 15.808 19.3469C15.8726 19.3417 15.9372 19.3362 16.0018 19.33C16.0685 19.3236 16.1352 19.3168 16.2019 19.309C16.2973 19.2978 16.3927 19.2861 16.488 19.2738C16.5343 19.2678 16.5805 19.2613 16.6267 19.2547L16.687 19.2462C16.6871 19.2462 16.6871 19.2461 16.6871 19.246C16.7106 19.2413 16.7341 19.2367 16.7576 19.232C16.8085 19.2219 16.8595 19.2118 16.9104 19.2011C17.1251 19.1562 17.336 19.0987 17.5392 19.0149C17.6923 18.9519 17.8378 18.8717 17.9727 18.7758C18.2687 18.5653 18.5214 18.311 18.7414 18.0229C18.8499 17.8805 18.9401 17.725 19.01 17.5602C19.0583 17.4469 19.0978 17.3307 19.132 17.2125C19.138 17.1917 19.1435 17.1708 19.149 17.1498C19.1531 17.134 19.1572 17.1182 19.1616 17.1025C19.1644 17.0923 19.1679 17.0823 19.1713 17.0723C19.1729 17.0675 19.1746 17.0627 19.1762 17.058C19.1762 17.0579 19.1763 17.0579 19.1763 17.0579ZM3.12917 7.986L3.12916 7.98601L3.12903 7.98608C3.14334 7.97696 3.15765 7.96783 3.17163 7.95831C3.15771 7.96785 3.14344 7.97693 3.12917 7.986Z",fill:"currentColor"},null,-1),Ce=[pe,me,ue];function he(s,r){return e.openBlock(),e.createElementBlock("svg",de,Ce)}const W=q._export_sfc(ie,[["render",he]]);function fe(s,r){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.8",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.625 9.75a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375m-13.5 3.01c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.184-4.183a1.14 1.14 0 01.778-.332 48.294 48.294 0 005.83-.498c1.585-.233 2.708-1.626 2.708-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0012 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018z"})])}function we(s,r){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.8",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 21a9.004 9.004 0 008.716-6.747M12 21a9.004 9.004 0 01-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 017.843 4.582M12 3a8.997 8.997 0 00-7.843 4.582m15.686 0A11.953 11.953 0 0112 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0121 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0112 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 013 12c0-1.605.42-3.113 1.157-4.418"})])}function X(s,r){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.8",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.362 5.214A8.252 8.252 0 0112 21 8.25 8.25 0 016.038 7.048 8.287 8.287 0 009 9.6a8.983 8.983 0 013.361-6.867 8.21 8.21 0 003 2.48z"}),e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 18a3.75 3.75 0 00.495-7.467 5.99 5.99 0 00-1.925 3.546 5.974 5.974 0 01-2.133-1A3.75 3.75 0 0012 18z"})])}const ke=s=>(e.pushScopeId("data-v-7d2c4502"),s=s(),e.popScopeId(),s),ve={class:"h-full relative"},xe={class:"space-y-1 p-2 h-full relative"},_e={class:"absolute left-2 bottom-2 right-2"},ge={key:0,class:"ml-3 flex justify-between border rounded-lg p-2 bg-[#F5F5F5] mb-3 w-[220px]"},ye={class:"flex items-center space-x-2 text-[#525B66]"},be={class:"text-sm"},Le={class:"text-xs"},Be=["href"],Ve={class:"flex flex-nowrap items-center w-max h-[24px]"},Ne={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full text-[#525B66]"},Ee={class:"py-[8px] pl-0 pr-[8px]"},Se=["href"],$e={class:"flex flex-nowrap items-center w-max h-[24px]"},Oe={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},De={class:"py-[8px] pl-0 pr-[8px]"},je={key:3,class:"custom-select ml-3 w-full relative pt-3"},ze={class:"pl-2"},Me={key:0,class:"dropdown w-[220px] z-10 text-[#525B66]"},Ie=["onClick"],He={key:0,class:"mt-3 h-0 border-t border-secondary-stroke mb-3"},Ae={key:0,class:"tooltip-text"},Te={class:"flex flex-nowrap items-center w-full h-[24px]"},qe={class:"w-[44px] flex-shrink-0 relative"},Pe={key:0,class:"absolute top-0 right-1.5 w-2 h-2 bg-blue-600 text-white rounded-full animate-ping z-0"},Fe={key:1,class:"absolute top-0 right-1.5 w-2 h-2 bg-blue-500 text-white rounded-full z-10"},Ze={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},Re={class:"py-[8px] pl-0 pr-[8px]"},Ue=["href"],We={key:0,class:"tooltip-text"},Xe={class:"flex flex-nowrap items-center w-full h-[24px]"},Ge={class:"w-[44px] flex-shrink-0 relative"},Je={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},Ke={class:"py-[8px] pl-0 pr-[8px]"},Qe=ke(()=>e.createElementVNode("span",null,"Powered by OneB",-1)),Ye=e.defineComponent({__name:"OneSidebar",props:U,emits:["show-news","show-tariff","select-language"],setup(s,{emit:r}){var c,z,M;const d=s,f=e.computed(()=>{var o;return((o=d.news)==null?void 0:o.unseenCount)||0}),n=()=>{r("show-news")},m=e.ref(!1),a=e.ref((c=d.app)!=null&&c.availableLang&&((z=d.app)==null?void 0:z.availableLang.length)>0?(M=d.app)==null?void 0:M.availableLang.find(o=>{var p;return o.id==((p=d.app)==null?void 0:p.lang)}):null),I=()=>{m.value=!m.value},H=o=>{a.value=o,m.value=!1,r("select-language",o)},t=()=>{var o,p,u,C;console.log("Selected Plan URL:",(p=(o=d.app)==null?void 0:o.selectedPlan)==null?void 0:p.url),(C=(u=d.app)==null?void 0:u.selectedPlan)!=null&&C.url&&(window.location.href=d.app.selectedPlan.url)};return(o,p)=>{var u,C,w,k,v,x,_,g,y,b,L,B,V,N,E,S,$,O,D,l,h,j,P;return e.openBlock(),e.createElementBlock("div",ve,[e.createElementVNode("div",xe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.items,i=>(e.openBlock(),e.createBlock(ce,{key:i.label,icon:i.icon,label:i.label,route:i.route,href:i.href,"route-name":i.routeName,exact:i.exact||!1,slim:o.slim},null,8,["icon","label","route","href","route-name","exact","slim"]))),128)),e.createElementVNode("div",_e,[e.createElementVNode("div",{class:e.normalizeClass([o.slim?"hidden":"w-max"])},[(u=o.app)!=null&&u.selectedPlan?(e.openBlock(),e.createElementBlock("div",ge,[e.createElementVNode("div",ye,[e.createVNode(e.unref(X),{class:"w-[24px] h-[24px]"}),e.createElementVNode("div",null,[e.createElementVNode("p",be,e.toDisplayString(((C=o.app)==null?void 0:C.selectedPlan.name)||"Free"),1),e.createElementVNode("p",Le,e.toDisplayString(((w=o.app)==null?void 0:w.selectedPlan.title)||"Тарифний план"),1)])]),e.createElementVNode("div",null,[e.createVNode(T._sfc_main,{class:"text-[#525B66] hover:text-[#4089E0]",variant:"touch",icon:e.unref(A.render),onClick:t},null,8,["icon"])])])):e.createCommentVNode("",!0),(k=o.app)!=null&&k.terms?(e.openBlock(),e.createElementBlock("a",{key:1,href:(v=o.app)==null?void 0:v.terms.url,target:"_blank",class:"ml-3 flex items-center rounded-lg text-xs hover:underline font-extralight"},[e.createElementVNode("div",Ve,[e.createElementVNode("div",Ne,[e.createElementVNode("span",Ee,e.toDisplayString(((x=o.app)==null?void 0:x.terms.label)||"Terms"),1)])])],8,Be)):e.createCommentVNode("",!0),(_=o.app)!=null&&_.offer?(e.openBlock(),e.createElementBlock("a",{key:2,href:(g=o.app)==null?void 0:g.offer.url,target:"_blank",class:"ml-3 flex items-center rounded-lg text-xs hover:underline text-[#525B66] font-extralight"},[e.createElementVNode("div",$e,[e.createElementVNode("div",Oe,[e.createElementVNode("span",De,e.toDisplayString(((y=o.app)==null?void 0:y.offer.label)||"Offert"),1)])])],8,Se)):e.createCommentVNode("",!0),(L=(b=o.app)==null?void 0:b.availableLang)!=null&&L.length?(e.openBlock(),e.createElementBlock("div",je,[e.createElementVNode("div",{class:"select-box flex gap-x-3 text-xs text-[#525B66] cursor-pointer",onClick:I},[e.createVNode(e.unref(we),{class:"w-4"}),e.createTextVNode(" "+e.toDisplayString((B=a.value)==null?void 0:B.name)+" ",1),e.createElementVNode("span",ze,e.toDisplayString(m.value?"▲":"▼"),1)]),m.value?(e.openBlock(),e.createElementBlock("div",Me,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((V=o.app)==null?void 0:V.availableLang,i=>{var F,Z;return e.openBlock(),e.createElementBlock("div",{key:i.id,class:e.normalizeClass(["px-2",{"hover:bg-slate-200 rounded-lg cursor-pointer":i.id!==((F=a.value)==null?void 0:F.id),"text-gray-300":i.id===((Z=a.value)==null?void 0:Z.id)}]),onClick:R1=>{var R;return i.id!==((R=a.value)==null?void 0:R.id)&&H(i)}},e.toDisplayString(i.name),11,Ie)}),128))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2),o.slim?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",He)),e.createElementVNode("div",{class:e.normalizeClass(["flex",[o.slim?" grid":"w-max"]])},[o.news?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:e.normalizeClass(["text-[#525B66] flex items-center rounded-lg text-sm tooltip hover:bg-primary-10-hover hover:text-primary-base transition-all",[(o.slim,"w-[44px] h-[44px]")]]),onClick:n},[o.news.menuLabel?(e.openBlock(),e.createElementBlock("div",Ae,e.toDisplayString(o.news.menuLabel||"News"),1)):e.createCommentVNode("",!0),e.createElementVNode("div",Te,[e.createElementVNode("div",qe,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(W),{class:"w-[24px] h-[24px] mx-auto"})),f.value>0?(e.openBlock(),e.createElementBlock("span",Pe)):e.createCommentVNode("",!0),f.value>0?(e.openBlock(),e.createElementBlock("span",Fe)):e.createCommentVNode("",!0)]),e.createElementVNode("div",Ze,[e.createElementVNode("span",Re,e.toDisplayString(o.news.menuLabel||"News"),1)])])],2)):e.createCommentVNode("",!0),(N=o.app)!=null&&N.support?(e.openBlock(),e.createElementBlock("a",{key:1,href:(S=(E=o.app)==null?void 0:E.support)==null?void 0:S.url,target:"_blank",class:e.normalizeClass(["text-[#525B66] tooltip flex items-center rounded-lg text-sm hover:bg-primary-10-hover hover:text-primary-base transition-all",[(o.slim,"w-[44px] h-[44px]")]])},[(O=($=o.app)==null?void 0:$.support)!=null&&O.label?(e.openBlock(),e.createElementBlock("div",We,e.toDisplayString(((l=(D=o.app)==null?void 0:D.support)==null?void 0:l.label)||"Support"),1)):e.createCommentVNode("",!0),e.createElementVNode("div",Xe,[e.createElementVNode("div",Ge,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(fe)),{class:"w-[24px] h-[24px] mx-auto"}))]),e.createElementVNode("div",Je,[e.createElementVNode("span",Ke,e.toDisplayString(((j=(h=o.app)==null?void 0:h.support)==null?void 0:j.label)||"Support"),1)])])],10,Ue)):e.createCommentVNode("",!0)],2),e.createElementVNode("p",{class:e.normalizeClass([[o.slim?"hidden":"w-full"],"text-[8px] pl-3 text-[#979CA9] flex justify-between font-extralight"])},[Qe,e.createElementVNode("span",null,e.toDisplayString((P=o.app)==null?void 0:P.version),1)],2)])])])}}});const G=q._export_sfc(Ye,[["__scopeId","data-v-7d2c4502"]]);function e1(s,r){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.8",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})])}function t1(s,r){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.8",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z"})])}const o1=s=>(e.pushScopeId("data-v-ed4027f5"),s=s(),e.popScopeId(),s),l1={class:"h-full relative"},n1={class:"header h-[56px] flex items-center flex-nowrap fixed top-0 left-0 w-full z-50",style:{background:"rgba(245, 247, 251, 0.80)","backdrop-filter":"blur(5px)"}},s1={class:"p-2 flex-shrink-0"},r1={class:"w-10 h-10 flex items-center flex-shrink-0"},a1=["src"],c1={class:"whitespace-nowrap font-semibold text-xl"},i1={class:"text-xs whitespace-nowrap"},d1={class:"w-full"},p1={class:"w-full flex justify-end pr-3"},m1={class:"flex items-center space-x-1"},u1={key:0,class:"module-border-wrap flex justify-center items-center"},C1={class:"ml-2 hidden sm:flex"},h1=["href"],f1={class:"body w-full h-full"},w1={key:0},k1={key:0,class:"sm:w-[560px] w-full relative h-full"},v1={class:"h-full relative"},x1={class:"flex items-center p-3 space-x-1.5"},_1=o1(()=>e.createElementVNode("div",{class:"w-full font-medium"},"OneB News",-1)),g1={class:"overflow-auto",style:{height:"calc(100% - 62px)"}},y1={key:0,class:"p-5"},b1={key:1},L1={class:"p-4 text-gray text-center"},B1={key:2},V1={class:"p-3 space-y-1.5 rounded-lg",style:{"box-shadow":"0 0 6px #eaeaea"}},N1={key:0},E1={key:0,class:"text-xs px-2 py-1 rounded-md bg-green-600 text-white"},S1={key:1,class:"text-xs px-2 py-1 rounded-md bg-yellow-600 text-white"},$1={key:2,class:"text-xs px-2 py-1 rounded-md bg-blue-600 text-white"},O1={key:3,class:"text-xs px-2 py-1 rounded-md bg-gray-600 text-white"},D1={class:"text-lg font-medium"},j1={class:"text-sm text-gray-600"},z1={key:0},M1=["src"],I1={class:"text-sm whitespace-pre-wrap break-words"},H1={key:1},A1=["href"],T1={class:"text-sm flex items-center justify-between mt-1"},q1={class:"text-gray-800"},P1=["href"],F1=e.defineComponent({__name:"OneMainLayout",props:Q,emits:["load-news","load-tariff","open-tariff"],setup(s,{emit:r}){const d=s;let f=window.localStorage.getItem("sidebar-slim");window.document.body.offsetWidth<1024&&(window.localStorage.getItem("sidebar-slim")==null&&window.localStorage.setItem("sidebar-slim","1"),f="1");const n=e.ref(f==="1");e.watch(n,t=>{window.localStorage.setItem("sidebar-slim",String(t?1:0))});const m=()=>{window.document.body.offsetWidth<1024&&!n.value&&(n.value=!0)},a=e.ref(!1),I=()=>{a.value=!a.value,a.value&&r("load-news")},H=t=>{var c;(c=d.handlers)==null||c.onSetLang(t)};return(t,c)=>{var o,p,u,C,w,k,v,x,_,g,y,b,L,B,V,N,E,S,$,O,D;const z=e.resolveComponent("RouterLink"),M=e.resolveDirective("tooltip");return e.openBlock(),e.createElementBlock("div",l1,[e.createElementVNode("div",n1,[e.createElementVNode("div",s1,[e.createElementVNode("button",{onClick:c[0]||(c[0]=l=>n.value=!n.value),class:"w-[44px] h-[44px] p-[8px] flex items-center justify-center rounded hover:bg-secondary-10 hover:text-blue-600"},[e.createVNode(e.unref(e1),{class:"w-[24px] h-[24px]"})])]),e.createElementVNode("div",r1,[t.logoSrc!=null?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.logoSrc,class:"w-8 h-8 mx-auto",alt:"logo"},null,8,a1)):e.createCommentVNode("",!0)]),t.app!=null?(e.openBlock(),e.createBlock(z,{key:0,to:"/",class:"pl-2 max-w-xs"},{default:e.withCtx(()=>{var l,h;return[e.createElementVNode("div",c1,e.toDisplayString(t.app.name),1),e.createElementVNode("div",i1,e.toDisplayString((h=(l=t.app)==null?void 0:l.workspace)==null?void 0:h.name),1)]}),_:1})):e.createCommentVNode("",!0),e.createElementVNode("div",d1,[e.createElementVNode("div",p1,[e.createElementVNode("div",m1,[e.renderSlot(t.$slots,"before-header-menu",{},void 0,!0),t.improveTariff?(e.openBlock(),e.createElementBlock("div",u1,[e.createElementVNode("button",{type:"button",class:"cursor-pointer flex items-center h-full bg-[#FFF8E4] hover:bg-[#f2e3b8] rounded-full px-2 py-1 font-medium",onClick:c[1]||(c[1]=(...l)=>{var h,j;return((h=t.handlers)==null?void 0:h.onImproveTariff)&&((j=t.handlers)==null?void 0:j.onImproveTariff(...l))}),style:{"font-size":"10px"}},[e.createVNode(e.unref(X),{class:"h-4 w-4 text-[#e1a308f2]"}),e.createElementVNode("span",C1,e.toDisplayString((o=t.improveTariff)==null?void 0:o.label),1)])])):e.createCommentVNode("",!0),(u=(p=t.app)==null?void 0:p.help)!=null&&u.url?(e.openBlock(),e.createElementBlock("a",{key:1,href:(w=(C=t.app)==null?void 0:C.help)==null?void 0:w.url,target:"_blank",title:"Help",class:"p-1 rounded-md hover:bg-secondary-10 flex-shrink-0 hidden w-[44px] h-[44px] sm:flex items-center justify-center hover:text-blue-600"},[e.createVNode(e.unref(t1),{class:"text-secondary-base w-full p-1 hover:text-blue-600"})],8,h1)):e.createCommentVNode("",!0),((k=t.handlers)==null?void 0:k.onBrowse)!=null?(e.openBlock(),e.createBlock(A.OneBrowserMenu,{key:2,workspace:(v=t.app)==null?void 0:v.workspace,apps:((x=t.app)==null?void 0:x.apps)||[],"change-label":((_=t.labels)==null?void 0:_.change)||"Change","apps-title":((g=t.labels)==null?void 0:g.apps)||"Apps","on-app":(y=t.handlers)==null?void 0:y.onApp,"on-change":(b=t.handlers)==null?void 0:b.onChange,onOpen:(L=t.handlers)==null?void 0:L.onBrowse},null,8,["workspace","apps","change-label","apps-title","on-app","on-change","onOpen"])):e.createCommentVNode("",!0),e.createVNode(A._sfc_main$2,{user:t.user,app:t.app,"account-label":((B=t.labels)==null?void 0:B.account)||"Account","logout-label":((V=t.labels)==null?void 0:V.logout)||"Logout","version-label":((N=t.labels)==null?void 0:N.version)||"","on-account":(E=t.handlers)==null?void 0:E.onAccount,"on-logout":(S=t.handlers)==null?void 0:S.onLogout},null,8,["user","app","account-label","logout-label","version-label","on-account","on-logout"])])])])]),e.createElementVNode("div",{class:e.normalizeClass(["sidebar fixed top-[56px] left-0 overflow-hidden bg-white lg:bg-transparent transition-all z-50",[n.value?"w-0 lg:w-[60px]":"w-full lg:w-60"]]),style:{height:"calc(100% - 56px)"},onClick:m},[e.createVNode(G,{slim:n.value,app:t.app,items:t.sidebarItems,"with-news":t.news!=null,news:t.news,onShowNews:I,onSelectLanguage:H},null,8,["slim","app","items","with-news","news"])],2),e.createElementVNode("div",f1,[e.createElementVNode("div",{class:e.normalizeClass(["content transition-all pt-[56px] h-full",[n.value?"pl-0 lg:pl-[60px]":"pl-0 lg:pl-60"]])},[e.renderSlot(t.$slots,"default",{},void 0,!0)],2)]),t.news?(e.openBlock(),e.createElementBlock("div",w1,[a.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fixed top-0 left-0 h-screen w-screen bg-gray-100 bg-opacity-40 z-50",onClick:c[2]||(c[2]=e.withModifiers(l=>a.value=!1,["self"]))})):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["opacity-100 shadow-lg transition-all fixed top-0 left-0 h-screen overflow-hidden z-50 bg-white",[a.value?"sm:w-[560px] w-full":"w-0"]])},[a.value?(e.openBlock(),e.createElementBlock("div",k1,[e.createElementVNode("div",v1,[e.createElementVNode("div",x1,[e.createVNode(W,{class:"w-10 h-10"}),_1,e.createElementVNode("div",null,[e.createVNode(T._sfc_main,{variant:"touch",icon:e.unref(J.render),onClick:c[3]||(c[3]=l=>a.value=!1)},null,8,["icon"])])]),e.createElementVNode("div",g1,[t.news.isLoading&&(($=t.news.items)==null?void 0:$.length)===0?(e.openBlock(),e.createElementBlock("div",y1,[e.createVNode(T.SpinnerIcon,{class:"w-6 h-6 text-gray-600 mx-auto"})])):((O=t.news.items)==null?void 0:O.length)===0?(e.openBlock(),e.createElementBlock("div",b1,[e.createElementVNode("div",L1,e.toDisplayString(t.news.emptyText),1)])):((D=t.news.items)==null?void 0:D.length)>0?(e.openBlock(),e.createElementBlock("div",B1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.news.items,l=>(e.openBlock(),e.createElementBlock("div",{key:l.id,class:"p-3"},[e.createElementVNode("div",V1,[e.createElementVNode("div",null,[l.type?(e.openBlock(),e.createElementBlock("div",N1,[l.type===10?(e.openBlock(),e.createElementBlock("span",E1,"update")):l.type===11?(e.openBlock(),e.createElementBlock("span",S1,"warning")):l.type===12?(e.openBlock(),e.createElementBlock("span",$1,"notice")):l.type===13?(e.openBlock(),e.createElementBlock("span",O1,"ads")):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",D1,e.toDisplayString(l.title),1),e.createElementVNode("div",j1,e.toDisplayString(l.summary),1)]),l.image_url?(e.openBlock(),e.createElementBlock("div",z1,[e.createElementVNode("img",{src:l.image_url,alt:"",class:"w-full rounded-md"},null,8,M1)])):e.createCommentVNode("",!0),e.createElementVNode("div",I1,e.toDisplayString(l.body),1),l.video_url?(e.openBlock(),e.createElementBlock("div",H1,[e.createElementVNode("a",{href:l.video_url,target:"_blank",class:"text-blue-600 hover:text-blue-700 px-3 py-2 border rounded-md w-full block"},e.toDisplayString(t.news.openVideoText),9,A1)])):e.createCommentVNode("",!0),e.createElementVNode("div",T1,[e.createElementVNode("span",q1,e.toDisplayString(l.published),1),l.post_url?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.post_url,target:"_blank",class:"text-blue-600 hover:text-blue-700 block"},e.toDisplayString(t.news.moreText),9,P1)):e.createCommentVNode("",!0)])])]))),128))])):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0),e.withDirectives((e.openBlock(),e.createElementBlock("button",null,[e.createTextVNode("Hover over me")])),[[M,"This is a tooltip"]])])}}});const Z1=q._export_sfc(F1,[["__scopeId","data-v-ed4027f5"]]);exports.OneMainLayout=Z1;exports.OneSidebar=G;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),q=require("../_plugin-vue_export-helper-f246444f.cjs"),A=require("../OneBrowserMenu-27c0a632.cjs"),H=require("../index-bdc4dd8e.cjs"),J=require("../XMarkIcon-f94baa4c.cjs");require("../common/index.cjs");const U={items:{required:!0,type:Array},slim:{type:Boolean,default:!0},app:{type:Object},news:{type:Object}},K={route:{required:!1,type:[Object,String]},routeName:{required:!1,type:String},handler:{required:!1,type:Function,default(){return()=>{}}},href:{type:String},app:{type:Object},label:{type:String,required:!0},icon:{type:[Function,Object]},exact:{type:Boolean,required:!1,default:!1},slim:{type:Boolean,default:!0}},Q={sidebarItems:U.items,logoSrc:{type:String},helpUrl:{type:String},app:{type:Object},user:{type:Object,required:!0},labels:{type:Object},apps:{type:Array},workspaces:{type:Array},workspace:{type:Object},yourApps:{type:Object},news:{type:Object},handlers:{type:Object},improveTariff:{type:Object}},Y=["href"],ee={class:"flex flex-nowrap items-center w-full h-[24px]"},te={key:0,class:"w-[44px] flex-shrink-0"},oe={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},le={class:"py-[8px] pl-0 pr-[8px]"},ne={class:"flex flex-nowrap items-center w-full h-[24px]"},se={key:0,class:"w-[44px] flex-shrink-0"},re={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},ae={class:"py-[8px] pl-0 pr-[8px]"},ce=e.defineComponent({__name:"OneSidebarLink",props:K,setup(s){const r=s,d=e.computed(()=>r.href!=null?r.href:!1),f=e.computed(()=>r.route!=null?r.route:r.routeName!=null?{name:r.routeName}:"/");return(n,m)=>{const a=e.resolveComponent("RouterLink");return d.value?(e.openBlock(),e.createElementBlock("a",{key:0,href:d.value,class:e.normalizeClass(["flex items-center rounded-lg text-sm font-medium hover:bg-primary-10-hover hover:text-primary-base transition-all text-[#525B66]",[n.slim?"w-[44px] h-[44px]":"h-[44px] w-full"]])},[e.createElementVNode("div",ee,[n.icon?(e.openBlock(),e.createElementBlock("div",te,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.icon),{class:"w-[24px] h-[24px] mx-auto"}))])):e.createCommentVNode("",!0),e.createElementVNode("div",oe,[e.createElementVNode("span",le,e.toDisplayString(n.label),1)])])],10,Y)):(e.openBlock(),e.createBlock(a,{key:1,to:f.value,class:e.normalizeClass(["flex items-center rounded-lg text-sm font-medium hover:bg-primary-10-hover hover:text-primary-base transition-all text-[#525B66]",[n.slim?"w-[44px] h-[44px]":"h-[44px] w-full"]]),"active-class":n.exact?"":"bg-primary-10 !text-primary-base","exact-active-class":n.exact?"bg-primary-10 !text-primary-base":"",exact:n.exact},{default:e.withCtx(()=>[e.createElementVNode("div",ne,[n.icon?(e.openBlock(),e.createElementBlock("div",se,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.icon),{class:"w-[24px] h-[24px] mx-auto"}))])):e.createCommentVNode("",!0),e.createElementVNode("div",re,[e.createElementVNode("span",ae,e.toDisplayString(n.label),1)])])]),_:1},8,["to","active-class","exact-active-class","exact","class"]))}}}),ie={},de={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},pe=e.createElementVNode("path",{d:"M9.27987 15.963H7.76282V9.97577C7.76282 9.67316 7.575 9.40658 7.29326 9.29851L6.7948 9.11839V8.57802V8.03766H8.10957C8.60081 8.03766 8.91867 8.12412 9.05592 8.30424C9.20763 8.48436 9.27987 8.8374 9.27987 9.36335V15.963Z",fill:"currentColor"},null,-1),me=e.createElementVNode("path",{d:"M15.7294 11.3876C16.2011 11.2795 16.7453 10.9769 16.7816 10.0547C16.7816 9.36299 16.5276 8.90188 16.1285 8.57766C15.6569 8.14537 14.9675 8.03729 14.3797 8.03729H11.4626V13.9309C11.4626 14.6802 11.6441 15.2061 12.0141 15.5087C12.3842 15.8113 13.0155 15.9626 13.8935 15.9626H14.9675C15.6859 15.9626 16.2374 15.7681 16.6365 15.3718C17.0428 14.9756 17.2388 14.4136 17.2388 13.6787C17.2388 12.7925 16.9993 11.6758 15.7294 11.3876ZM13.0228 9.42783L14.2564 9.39181C14.8296 9.39181 15.1199 9.68 15.1199 10.2492C15.1199 10.8184 14.8296 11.1066 14.2564 11.1066L13.0228 11.1426V9.42783ZM14.8079 14.5865H14.0024C13.6541 14.5865 13.4001 14.5289 13.2405 14.4064C13.0881 14.2911 13.0155 14.075 13.0155 13.7724V12.5259H14.8079C15.1344 12.5259 15.3666 12.6196 15.49 12.8069C15.6133 12.987 15.6786 13.2536 15.6786 13.6067C15.6859 14.2551 15.3956 14.5865 14.8079 14.5865Z",fill:"currentColor"},null,-1),ue=e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.6437 3H10.4761C10.462 3.00738 10.4468 3.00752 10.4317 3.00766L10.4237 3.00778L10.2163 3.01067L10.1771 3.01124C10.1389 3.01181 10.1006 3.01238 10.0624 3.01238C9.85585 3.01276 9.64939 3.01797 9.44293 3.02318C9.34618 3.02562 9.24943 3.02806 9.15267 3.03C9.04934 3.03209 8.94604 3.03642 8.84277 3.04075L8.7649 3.04397C8.68023 3.04733 8.59559 3.05152 8.51098 3.05656C8.48805 3.05791 8.46519 3.06072 8.44234 3.06353L8.41144 3.0672L8.41136 3.06733L8.41135 3.06733C8.36472 3.06357 8.31825 3.06706 8.27185 3.07055L8.2508 3.07211C8.17968 3.07719 8.10867 3.08303 8.03766 3.08888L7.99014 3.09278L7.93408 3.09722C7.88146 3.10132 7.82884 3.10543 7.77638 3.111C7.67642 3.12147 7.57658 3.13307 7.47685 3.14581L7.46711 3.14705C7.35956 3.16078 7.25195 3.17451 7.14491 3.19162C6.9685 3.21996 6.79301 3.25364 6.61912 3.29514C6.39508 3.34863 6.17474 3.41407 5.95992 3.49743C5.64582 3.6192 5.35134 3.77699 5.08051 3.97818C4.85418 4.14605 4.6417 4.33183 4.44509 4.5337C4.2703 4.71309 4.10878 4.90496 3.96183 5.1078C3.77344 5.36816 3.62514 5.65018 3.50915 5.94958C3.36896 6.31155 3.2788 6.68668 3.21499 7.06866C3.19851 7.1678 3.18411 7.26735 3.17082 7.36697C3.15756 7.46541 3.14628 7.56409 3.135 7.66276L3.13307 7.67973C3.12541 7.74641 3.11884 7.81305 3.11245 7.87981L3.11091 7.89541C3.10743 7.9302 3.10394 7.96508 3.10714 8.00012L3.10716 8.0001C3.09909 8.01985 3.09789 8.04067 3.0967 8.06145L3.09602 8.07249L3.07085 8.44649L3.07007 8.45985C3.06822 8.50323 3.06651 8.54661 3.0648 8.58999C3.06098 8.68709 3.05716 8.78418 3.05165 8.88117C3.04485 9.00132 3.04236 9.12161 3.03987 9.24188C3.03793 9.33581 3.03599 9.42973 3.03199 9.52356C3.02946 9.58278 3.02895 9.64209 3.02844 9.7014L3.02804 9.74445L3.02618 9.9482C3.02519 10.0655 3.02421 10.1828 3.02245 10.3001C3.02144 10.367 3.01875 10.4338 3.01605 10.5007L3.01316 10.5745L3.01312 10.5756C3.01256 10.5885 3.01199 10.6018 3 10.6107V13.3892C3.00108 13.3909 3.00237 13.3925 3.00365 13.3942L3.00366 13.3942C3.00655 13.3979 3.00944 13.4016 3.01007 13.4057C3.01249 13.4212 3.01389 13.4369 3.01427 13.4526L3.01611 13.5092L3.01611 13.5092C3.01871 13.5887 3.0213 13.6681 3.02293 13.7476C3.02474 13.8348 3.02545 13.922 3.02545 14.0092C3.0256 14.2458 3.03197 14.4823 3.03835 14.7188L3.03835 14.7188C3.04022 14.7885 3.0421 14.8582 3.04382 14.9279C3.04659 15.0408 3.05225 15.1535 3.05791 15.2663L3.06335 15.3769C3.06897 15.4952 3.07473 15.6135 3.08203 15.7318C3.08634 15.8018 3.09212 15.8717 3.0979 15.9417L3.0979 15.9417L3.10262 15.9992L3.10453 16.0229C3.10928 16.0819 3.11403 16.1408 3.12009 16.1996C3.13141 16.3108 3.14359 16.4219 3.15661 16.5328C3.16284 16.5864 3.1703 16.6399 3.17776 16.6933L3.185 16.7455C3.20654 16.9028 3.23441 17.0589 3.26627 17.2144C3.30583 17.4093 3.35558 17.602 3.4153 17.7917C3.50677 18.0804 3.62514 18.3571 3.77815 18.6188C3.87433 18.7833 3.98454 18.9379 4.10322 19.0866C4.38114 19.4348 4.70212 19.7464 5.05849 20.0138C5.34835 20.2318 5.66471 20.4005 6.00352 20.5279C6.22982 20.6131 6.46181 20.6788 6.69755 20.7318C6.88514 20.774 7.07435 20.8079 7.2645 20.8355C7.38593 20.8534 7.50793 20.8672 7.62989 20.881L7.6304 20.8811C7.7437 20.8937 7.8571 20.9052 7.97062 20.9156C8.03986 20.9219 8.10927 20.9264 8.17868 20.931L8.21137 20.9332C8.28755 20.9383 8.36371 20.943 8.43985 20.9478L8.54613 20.9545L8.556 20.9552C8.56163 20.9556 8.56727 20.956 8.57291 20.9562L8.71929 20.9621C8.81347 20.9658 8.90765 20.9695 9.0018 20.9736C9.21881 20.9828 9.43595 20.9864 9.65309 20.99L9.74613 20.9915L9.75798 20.9914C9.77405 20.9912 9.79026 20.9909 9.80497 21H14.0598C14.1664 20.9939 14.273 20.9919 14.3797 20.9899C14.4179 20.9892 14.4561 20.9885 14.4943 20.9876C14.7149 20.9825 14.9354 20.9772 15.156 20.9696C15.2421 20.9667 15.3282 20.9618 15.4143 20.9569C15.4551 20.9546 15.4958 20.9523 15.5366 20.9502L15.5761 20.9484C15.5941 20.9477 15.6121 20.947 15.6301 20.9459C15.6439 20.945 15.6578 20.9436 15.6716 20.9421L15.6898 20.9403L15.6899 20.9402C15.701 20.9399 15.7121 20.94 15.7231 20.9392L15.7557 20.9369C15.8318 20.9315 15.9079 20.9261 15.984 20.9202C15.9957 20.9194 16.0074 20.9185 16.0192 20.9176C16.081 20.913 16.1429 20.9083 16.2046 20.9021C16.272 20.8953 16.3393 20.8876 16.4066 20.8799C16.4414 20.8759 16.4763 20.8719 16.5111 20.868C16.6378 20.8539 16.7638 20.8353 16.8896 20.8154C17.0775 20.7859 17.2638 20.7493 17.4484 20.7044C17.6789 20.6482 17.905 20.5785 18.125 20.4897C18.4165 20.3719 18.6905 20.2225 18.9436 20.0355C19.3225 19.7539 19.6587 19.4279 19.952 19.0575C20.1845 18.7646 20.3725 18.4391 20.51 18.0914C20.609 17.8414 20.6842 17.5843 20.7426 17.3223C20.8039 17.0471 20.849 16.7692 20.8805 16.4891C20.8828 16.4688 20.8852 16.4484 20.8876 16.4281C20.8909 16.3996 20.8943 16.3711 20.8974 16.3426C20.9041 16.2803 20.9108 16.2181 20.9166 16.1558C20.9179 16.143 20.9176 16.13 20.9174 16.1171C20.9174 16.1122 20.9173 16.1073 20.9173 16.1025L20.9175 16.1023L20.9216 16.0734C20.9247 16.0521 20.9277 16.0308 20.9298 16.0094C20.9345 15.9583 20.9385 15.907 20.9419 15.8557C20.9481 15.7576 20.9542 15.6594 20.9595 15.5612C20.967 15.4207 20.974 15.2801 20.9806 15.1394C20.9829 15.0903 20.9838 15.0412 20.9846 14.992C20.9853 14.9473 20.9858 14.9026 20.9863 14.8579V14.8579C20.987 14.7953 20.9877 14.7328 20.9889 14.6702C20.9899 14.6211 20.9917 14.5721 20.9973 14.5231C21.0007 14.494 21.0001 14.4644 20.9995 14.4348C20.9993 14.4218 20.999 14.4088 20.9991 14.3959V9.63092L20.9991 9.60404L20.9991 9.55038L20.9991 9.53972C20.9989 9.51204 20.9988 9.48446 20.9941 9.45682C20.9908 9.4383 20.9906 9.4192 20.9904 9.40022V9.40019L20.9903 9.38995L20.9882 9.25341C20.9872 9.18265 20.9862 9.11189 20.9847 9.04114C20.9836 8.98836 20.9816 8.93561 20.9795 8.88285L20.9772 8.81995C20.9766 8.80494 20.9759 8.78993 20.9752 8.77493L20.9748 8.76634L20.9691 8.64082C20.9651 8.55088 20.9611 8.46094 20.956 8.37104C20.9522 8.30451 20.947 8.23805 20.9417 8.1716L20.9359 8.09682L20.9321 8.04666C20.9275 7.98535 20.9229 7.92405 20.9175 7.86274C20.9125 7.80634 20.9064 7.74993 20.9004 7.69354L20.9003 7.69313L20.897 7.66264C20.8931 7.62609 20.8889 7.58959 20.8846 7.5531L20.8845 7.55231L20.8803 7.51608C20.8416 7.18046 20.7858 6.84789 20.7029 6.52018C20.6311 6.23571 20.5375 5.95879 20.4129 5.6927C20.2939 5.43833 20.1468 5.20173 19.9745 4.98024C19.6752 4.5943 19.3289 4.25662 18.9357 3.9672C18.6895 3.78603 18.4233 3.64067 18.1406 3.52522C17.9042 3.42869 17.6608 3.35464 17.4126 3.29549C17.2386 3.25401 17.0631 3.22009 16.8865 3.192C16.7762 3.17443 16.6652 3.16021 16.5545 3.14604C16.4547 3.1333 16.3548 3.12195 16.2548 3.1114C16.1994 3.10556 16.1439 3.10111 16.0884 3.09667L16.0476 3.09338C15.9873 3.08847 15.9269 3.08378 15.8666 3.07909L15.8665 3.07909L15.7802 3.07236L15.7725 3.07169L15.7601 3.0707L15.6649 3.06539L15.6649 3.06539C15.5895 3.06113 15.5141 3.05688 15.4386 3.05333C15.316 3.0476 15.1933 3.04242 15.0707 3.03725L14.9361 3.03154C14.9137 3.03058 14.8914 3.02983 14.869 3.02942C14.7553 3.02747 14.6416 3.02471 14.5279 3.02195C14.3309 3.01717 14.1339 3.0124 13.9368 3.0118C13.8728 3.01162 13.8088 3.0106 13.7448 3.00958L13.6819 3.00861L13.677 3.00858C13.6653 3.00857 13.6535 3.00855 13.6437 3ZM19.1763 17.0579L19.1766 17.0517C19.1767 17.0471 19.1768 17.0425 19.1779 17.0381C19.2275 16.836 19.2624 16.631 19.291 16.4251C19.3098 16.2901 19.3268 16.1547 19.3375 16.0187C19.3417 15.9654 19.3464 15.9121 19.3511 15.8589C19.3586 15.774 19.3661 15.6892 19.3716 15.6042C19.3828 15.4301 19.391 15.2558 19.3987 15.0816C19.4046 14.9497 19.4094 14.8178 19.4117 14.6859L19.4153 14.4842C19.4205 14.2026 19.4257 13.9209 19.4268 13.6392C19.4297 12.9436 19.4306 12.248 19.4295 11.5523L19.4295 11.2777C19.4295 10.7542 19.4295 10.2306 19.4186 9.70709C19.4124 9.40296 19.4061 9.09888 19.3918 8.79501C19.3844 8.63644 19.3757 8.47787 19.3647 8.31947C19.3541 8.1655 19.3406 8.01182 19.3242 7.85844C19.3125 7.74723 19.2991 7.63627 19.284 7.52554C19.2621 7.36599 19.2346 7.20747 19.1999 7.05026C19.1657 6.89516 19.1232 6.74238 19.0697 6.59267C18.9916 6.37321 18.8802 6.16704 18.7395 5.98137C18.5884 5.78135 18.4163 5.59801 18.2263 5.43445C18.1883 5.40179 18.1494 5.37029 18.1105 5.33881L18.1104 5.33876L18.0812 5.3151C17.8793 5.15117 17.6528 5.03224 17.408 4.94664C17.207 4.87636 17.0007 4.82673 16.7919 4.78696C16.581 4.74669 16.3684 4.71721 16.155 4.69446C16.004 4.67833 15.8523 4.66544 15.7006 4.65444C15.5492 4.64344 15.3974 4.63568 15.2457 4.62792L15.2385 4.62756C15.1291 4.62194 15.0196 4.61762 14.91 4.61462L14.8134 4.61183C14.6511 4.60712 14.4888 4.6024 14.3265 4.60068C13.8657 4.59577 13.405 4.59101 12.9443 4.59016C12.2464 4.58885 11.5486 4.58938 10.8507 4.59177C10.5996 4.5923 10.3486 4.59439 10.0974 4.59647L10.0974 4.59647L9.8577 4.59841L9.82872 4.59862H9.82872C9.7489 4.59919 9.66907 4.59976 9.58934 4.60282C9.49703 4.60635 9.40468 4.60825 9.31233 4.61016L9.31231 4.61016L9.3123 4.61016C9.18105 4.61286 9.0498 4.61557 8.91869 4.62295C8.83304 4.62782 8.7474 4.63152 8.66175 4.63522C8.61777 4.63712 8.5738 4.63902 8.52981 4.64107C8.52362 4.64135 8.51744 4.64185 8.51126 4.64235L8.51126 4.64235L8.51126 4.64235L8.50306 4.64299L8.41244 4.64946C8.34449 4.65429 8.27653 4.65912 8.20857 4.66428L8.18781 4.66585C8.12337 4.67072 8.05892 4.67559 7.99463 4.68218C7.89227 4.69268 7.79008 4.70422 7.68806 4.71679C7.62913 4.72411 7.57031 4.73243 7.5115 4.74075L7.51148 4.74075L7.51141 4.74076C7.47952 4.74527 7.44763 4.74978 7.41572 4.75414C7.40685 4.75493 7.39794 4.75526 7.38904 4.75512L7.38907 4.75503L7.31739 4.76857L7.31738 4.76857C7.26453 4.7785 7.21167 4.78842 7.15898 4.79909C6.93749 4.84394 6.71967 4.90123 6.5096 4.98613C6.34776 5.05123 6.19426 5.1354 6.05234 5.23684C5.78124 5.43085 5.54562 5.66141 5.33918 5.92242C5.28924 5.98552 5.24069 6.04965 5.19677 6.11724C5.09636 6.27173 5.01967 6.43755 4.95864 6.61102C4.91632 6.73123 4.88184 6.85368 4.85186 6.97747C4.84793 6.99374 4.8434 7.00985 4.83887 7.02596L4.83887 7.02597L4.83261 7.04844L4.83272 7.0484L4.8298 7.06701C4.82771 7.08069 4.82563 7.09438 4.82265 7.10788C4.76979 7.35293 4.73521 7.60091 4.70752 7.84979C4.69096 7.99864 4.67853 8.148 4.66745 8.29738C4.65639 8.44663 4.64854 8.59619 4.64069 8.74569L4.64069 8.74569L4.64069 8.7457L4.64067 8.74609C4.63503 8.85329 4.63069 8.96055 4.62763 9.06786L4.62559 9.13807C4.62045 9.31366 4.61532 9.48925 4.61283 9.66486C4.608 10.0048 4.60357 10.3448 4.60262 10.6847C4.59962 11.7494 4.5969 12.8141 4.60737 13.8788C4.61072 14.2165 4.61777 14.5542 4.62607 14.8918C4.62673 14.9186 4.62753 14.9455 4.62877 14.9724L4.63381 15.0811C4.63926 15.199 4.64472 15.3169 4.65074 15.4347C4.65577 15.5308 4.66081 15.6268 4.66836 15.7227C4.67515 15.8081 4.68316 15.8934 4.69117 15.9787L4.70214 16.0968C4.71248 16.2104 4.7265 16.3235 4.74143 16.4366C4.7631 16.6007 4.79033 16.7638 4.82487 16.9256C4.85985 17.0897 4.90314 17.2516 4.95983 17.4096C5.02424 17.5893 5.10596 17.7603 5.21434 17.9181C5.29414 18.0342 5.38123 18.1452 5.47508 18.2503C5.64558 18.4412 5.83564 18.6105 6.0414 18.7625C6.1548 18.8463 6.27647 18.9182 6.4045 18.9772C6.5449 19.0421 6.69048 19.0925 6.83926 19.1339C7.11993 19.2121 7.40659 19.2588 7.69529 19.294C7.79514 19.3061 7.89529 19.3159 7.99546 19.3252L8.03116 19.3284L8.03143 19.3285L8.03148 19.3285C8.15306 19.3397 8.27467 19.3509 8.39647 19.359C8.56158 19.3699 8.72687 19.378 8.89219 19.3856C9.02176 19.3916 9.15144 19.3965 9.28109 19.399L9.45946 19.4025H9.4595H9.45953C9.71982 19.4078 9.98011 19.4131 10.2404 19.4145C11.3901 19.4206 12.5397 19.4191 13.6893 19.4158C13.9179 19.4151 14.1465 19.4106 14.375 19.4061C14.4976 19.4037 14.6201 19.4013 14.7426 19.3995C14.7627 19.3992 14.7829 19.3984 14.803 19.3976L14.9426 19.392C15.0681 19.387 15.1937 19.382 15.3192 19.3763C15.4286 19.3713 15.538 19.365 15.6474 19.3587C15.701 19.3556 15.7545 19.3513 15.808 19.3469C15.8726 19.3417 15.9372 19.3362 16.0018 19.33C16.0685 19.3236 16.1352 19.3168 16.2019 19.309C16.2973 19.2978 16.3927 19.2861 16.488 19.2738C16.5343 19.2678 16.5805 19.2613 16.6267 19.2547L16.687 19.2462C16.6871 19.2462 16.6871 19.2461 16.6871 19.246C16.7106 19.2413 16.7341 19.2367 16.7576 19.232C16.8085 19.2219 16.8595 19.2118 16.9104 19.2011C17.1251 19.1562 17.336 19.0987 17.5392 19.0149C17.6923 18.9519 17.8378 18.8717 17.9727 18.7758C18.2687 18.5653 18.5214 18.311 18.7414 18.0229C18.8499 17.8805 18.9401 17.725 19.01 17.5602C19.0583 17.4469 19.0978 17.3307 19.132 17.2125C19.138 17.1917 19.1435 17.1708 19.149 17.1498C19.1531 17.134 19.1572 17.1182 19.1616 17.1025C19.1644 17.0923 19.1679 17.0823 19.1713 17.0723C19.1729 17.0675 19.1746 17.0627 19.1762 17.058C19.1762 17.0579 19.1763 17.0579 19.1763 17.0579ZM3.12917 7.986L3.12916 7.98601L3.12903 7.98608C3.14334 7.97696 3.15765 7.96783 3.17163 7.95831C3.15771 7.96785 3.14344 7.97693 3.12917 7.986Z",fill:"currentColor"},null,-1),Ce=[pe,me,ue];function he(s,r){return e.openBlock(),e.createElementBlock("svg",de,Ce)}const W=q._export_sfc(ie,[["render",he]]);function fe(s,r){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.8",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.625 9.75a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375m-13.5 3.01c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.184-4.183a1.14 1.14 0 01.778-.332 48.294 48.294 0 005.83-.498c1.585-.233 2.708-1.626 2.708-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0012 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018z"})])}function we(s,r){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.8",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 21a9.004 9.004 0 008.716-6.747M12 21a9.004 9.004 0 01-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 017.843 4.582M12 3a8.997 8.997 0 00-7.843 4.582m15.686 0A11.953 11.953 0 0112 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0121 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0112 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 013 12c0-1.605.42-3.113 1.157-4.418"})])}function X(s,r){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.8",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.362 5.214A8.252 8.252 0 0112 21 8.25 8.25 0 016.038 7.048 8.287 8.287 0 009 9.6a8.983 8.983 0 013.361-6.867 8.21 8.21 0 003 2.48z"}),e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 18a3.75 3.75 0 00.495-7.467 5.99 5.99 0 00-1.925 3.546 5.974 5.974 0 01-2.133-1A3.75 3.75 0 0012 18z"})])}const ke=s=>(e.pushScopeId("data-v-7d2c4502"),s=s(),e.popScopeId(),s),ve={class:"h-full relative"},xe={class:"space-y-1 p-2 h-full relative"},_e={class:"absolute left-2 bottom-2 right-2"},ge={key:0,class:"ml-3 flex justify-between border rounded-lg p-2 bg-[#F5F5F5] mb-3 w-[220px]"},ye={class:"flex items-center space-x-2 text-[#525B66]"},be={class:"text-sm"},Le={class:"text-xs"},Be=["href"],Ve={class:"flex flex-nowrap items-center w-max h-[24px]"},Ne={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full text-[#525B66]"},Ee={class:"py-[8px] pl-0 pr-[8px]"},Se=["href"],$e={class:"flex flex-nowrap items-center w-max h-[24px]"},Oe={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},De={class:"py-[8px] pl-0 pr-[8px]"},je={key:3,class:"custom-select ml-3 w-full relative pt-3"},ze={class:"pl-2"},Me={key:0,class:"dropdown w-[220px] z-10 text-[#525B66]"},Ie=["onClick"],Ae={key:0,class:"mt-3 h-0 border-t border-secondary-stroke mb-3"},He={key:0,class:"tooltip-text"},qe={class:"flex flex-nowrap items-center w-full h-[24px]"},Pe={class:"w-[44px] flex-shrink-0 relative"},Fe={key:0,class:"absolute top-0 right-1.5 w-2 h-2 bg-blue-600 text-white rounded-full animate-ping z-0"},Te={key:1,class:"absolute top-0 right-1.5 w-2 h-2 bg-blue-500 text-white rounded-full z-10"},Ze={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},Re={class:"py-[8px] pl-0 pr-[8px]"},Ue=["href"],We={key:0,class:"tooltip-text"},Xe={class:"flex flex-nowrap items-center w-full h-[24px]"},Ge={class:"w-[44px] flex-shrink-0 relative"},Je={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},Ke={class:"py-[8px] pl-0 pr-[8px]"},Qe=ke(()=>e.createElementVNode("span",null,"Powered by OneB",-1)),Ye=e.defineComponent({__name:"OneSidebar",props:U,emits:["show-news","show-tariff","select-language"],setup(s,{emit:r}){var c,z,w;const d=s,f=e.computed(()=>{var o;return((o=d.news)==null?void 0:o.unseenCount)||0}),n=()=>{r("show-news")},m=e.ref(!1),a=e.ref((c=d.app)!=null&&c.availableLang&&((z=d.app)==null?void 0:z.availableLang.length)>0?(w=d.app)==null?void 0:w.availableLang.find(o=>{var p;return o.id==((p=d.app)==null?void 0:p.lang)}):null),M=()=>{m.value=!m.value},I=o=>{a.value=o,m.value=!1,r("select-language",o)},t=()=>{var o,p,u,C;console.log("Selected Plan URL:",(p=(o=d.app)==null?void 0:o.selectedPlan)==null?void 0:p.url),(C=(u=d.app)==null?void 0:u.selectedPlan)!=null&&C.url&&(window.location.href=d.app.selectedPlan.url)};return(o,p)=>{var u,C,k,v,x,_,g,y,b,L,B,V,N,E,S,$,O,D,l,h,j,P,F;return e.openBlock(),e.createElementBlock("div",ve,[e.createElementVNode("div",xe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.items,i=>(e.openBlock(),e.createBlock(ce,{key:i.label,icon:i.icon,label:i.label,route:i.route,href:i.href,"route-name":i.routeName,exact:i.exact||!1,slim:o.slim},null,8,["icon","label","route","href","route-name","exact","slim"]))),128)),e.createElementVNode("div",_e,[e.createElementVNode("div",{class:e.normalizeClass([o.slim?"hidden":"w-max"])},[(u=o.app)!=null&&u.selectedPlan?(e.openBlock(),e.createElementBlock("div",ge,[e.createElementVNode("div",ye,[e.createVNode(e.unref(X),{class:"w-[24px] h-[24px]"}),e.createElementVNode("div",null,[e.createElementVNode("p",be,e.toDisplayString(((C=o.app)==null?void 0:C.selectedPlan.name)||"Free"),1),e.createElementVNode("p",Le,e.toDisplayString(((k=o.app)==null?void 0:k.selectedPlan.title)||"Тарифний план"),1)])]),e.createElementVNode("div",null,[e.createVNode(H._sfc_main,{class:"text-[#525B66] hover:text-[#4089E0]",variant:"touch",icon:e.unref(A.render),onClick:t},null,8,["icon"])])])):e.createCommentVNode("",!0),(v=o.app)!=null&&v.terms?(e.openBlock(),e.createElementBlock("a",{key:1,href:(x=o.app)==null?void 0:x.terms.url,target:"_blank",class:"ml-3 flex items-center rounded-lg text-xs hover:underline font-extralight"},[e.createElementVNode("div",Ve,[e.createElementVNode("div",Ne,[e.createElementVNode("span",Ee,e.toDisplayString(((_=o.app)==null?void 0:_.terms.label)||"Terms"),1)])])],8,Be)):e.createCommentVNode("",!0),(g=o.app)!=null&&g.offer?(e.openBlock(),e.createElementBlock("a",{key:2,href:(y=o.app)==null?void 0:y.offer.url,target:"_blank",class:"ml-3 flex items-center rounded-lg text-xs hover:underline text-[#525B66] font-extralight"},[e.createElementVNode("div",$e,[e.createElementVNode("div",Oe,[e.createElementVNode("span",De,e.toDisplayString(((b=o.app)==null?void 0:b.offer.label)||"Offert"),1)])])],8,Se)):e.createCommentVNode("",!0),(B=(L=o.app)==null?void 0:L.availableLang)!=null&&B.length?(e.openBlock(),e.createElementBlock("div",je,[e.createElementVNode("div",{class:"select-box flex gap-x-3 text-xs text-[#525B66] cursor-pointer",onClick:M},[e.createVNode(e.unref(we),{class:"w-4"}),e.createTextVNode(" "+e.toDisplayString((V=a.value)==null?void 0:V.name)+" ",1),e.createElementVNode("span",ze,e.toDisplayString(m.value?"▲":"▼"),1)]),m.value?(e.openBlock(),e.createElementBlock("div",Me,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((N=o.app)==null?void 0:N.availableLang,i=>{var T,Z;return e.openBlock(),e.createElementBlock("div",{key:i.id,class:e.normalizeClass(["px-2",{"hover:bg-slate-200 rounded-lg cursor-pointer":i.id!==((T=a.value)==null?void 0:T.id),"text-gray-300":i.id===((Z=a.value)==null?void 0:Z.id)}]),onClick:R1=>{var R;return i.id!==((R=a.value)==null?void 0:R.id)&&I(i)}},e.toDisplayString(i.name),11,Ie)}),128))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2),o.slim?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Ae)),e.createElementVNode("div",{class:e.normalizeClass(["flex",[o.slim?" grid":"w-max"]])},[o.news?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:e.normalizeClass(["text-[#525B66] flex items-center rounded-lg text-sm tooltip hover:bg-primary-10-hover hover:text-primary-base transition-all",[(o.slim,"w-[44px] h-[44px]")]]),onClick:n},[o.news.menuLabel?(e.openBlock(),e.createElementBlock("div",He,e.toDisplayString(o.news.menuLabel||"News"),1)):e.createCommentVNode("",!0),e.createElementVNode("div",qe,[e.createElementVNode("div",Pe,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(W),{class:"w-[24px] h-[24px] mx-auto"})),f.value>0?(e.openBlock(),e.createElementBlock("span",Fe)):e.createCommentVNode("",!0),f.value>0?(e.openBlock(),e.createElementBlock("span",Te)):e.createCommentVNode("",!0)]),e.createElementVNode("div",Ze,[e.createElementVNode("span",Re,e.toDisplayString(o.news.menuLabel||"News"),1)])])],2)):e.createCommentVNode("",!0),(E=o.app)!=null&&E.support?(e.openBlock(),e.createElementBlock("a",{key:1,href:($=(S=o.app)==null?void 0:S.support)==null?void 0:$.url,target:"_blank",class:e.normalizeClass(["text-[#525B66] tooltip flex items-center rounded-lg text-sm hover:bg-primary-10-hover hover:text-primary-base transition-all",[(o.slim,"w-[44px] h-[44px]")]])},[(D=(O=o.app)==null?void 0:O.support)!=null&&D.label?(e.openBlock(),e.createElementBlock("div",We,e.toDisplayString(((h=(l=o.app)==null?void 0:l.support)==null?void 0:h.label)||"Support"),1)):e.createCommentVNode("",!0),e.createElementVNode("div",Xe,[e.createElementVNode("div",Ge,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(fe)),{class:"w-[24px] h-[24px] mx-auto"}))]),e.createElementVNode("div",Je,[e.createElementVNode("span",Ke,e.toDisplayString(((P=(j=o.app)==null?void 0:j.support)==null?void 0:P.label)||"Support"),1)])])],10,Ue)):e.createCommentVNode("",!0)],2),e.createElementVNode("p",{class:e.normalizeClass([[o.slim?"hidden":"w-full"],"text-[8px] pl-3 text-[#979CA9] flex justify-between font-extralight"])},[Qe,e.createElementVNode("span",null,e.toDisplayString((F=o.app)==null?void 0:F.version),1)],2)])])])}}});const G=q._export_sfc(Ye,[["__scopeId","data-v-7d2c4502"]]);function e1(s,r){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.8",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})])}function t1(s,r){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.8",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z"})])}const o1=s=>(e.pushScopeId("data-v-907ec8fc"),s=s(),e.popScopeId(),s),l1={class:"h-full relative"},n1={class:"header h-[56px] flex items-center flex-nowrap fixed top-0 left-0 w-full z-50",style:{background:"rgba(245, 247, 251, 0.80)","backdrop-filter":"blur(5px)"}},s1={class:"p-2 flex-shrink-0"},r1={class:"w-10 h-10 flex items-center flex-shrink-0"},a1=["src"],c1={class:"whitespace-nowrap font-semibold text-xl"},i1={class:"text-xs whitespace-nowrap"},d1={class:"w-full"},p1={class:"w-full flex justify-end pr-3"},m1={class:"flex items-center space-x-1"},u1={key:0,class:"module-border-wrap flex justify-center items-center"},C1={class:"ml-2 hidden sm:flex"},h1=["href"],f1={class:"body w-full h-full"},w1={key:0},k1={key:0,class:"sm:w-[560px] w-full relative h-full"},v1={class:"h-full relative"},x1={class:"flex items-center p-3 space-x-1.5"},_1=o1(()=>e.createElementVNode("div",{class:"w-full font-medium"},"OneB News",-1)),g1={class:"overflow-auto",style:{height:"calc(100% - 62px)"}},y1={key:0,class:"p-5"},b1={key:1},L1={class:"p-4 text-gray text-center"},B1={key:2},V1={class:"p-3 space-y-1.5 rounded-lg",style:{"box-shadow":"0 0 6px #eaeaea"}},N1={key:0},E1={key:0,class:"text-xs px-2 py-1 rounded-md bg-green-600 text-white"},S1={key:1,class:"text-xs px-2 py-1 rounded-md bg-yellow-600 text-white"},$1={key:2,class:"text-xs px-2 py-1 rounded-md bg-blue-600 text-white"},O1={key:3,class:"text-xs px-2 py-1 rounded-md bg-gray-600 text-white"},D1={class:"text-lg font-medium"},j1={class:"text-sm text-gray-600"},z1={key:0},M1=["src"],I1={class:"text-sm whitespace-pre-wrap break-words"},A1={key:1},H1=["href"],q1={class:"text-sm flex items-center justify-between mt-1"},P1={class:"text-gray-800"},F1=["href"],T1=e.defineComponent({__name:"OneMainLayout",props:Q,emits:["load-news","load-tariff","open-tariff"],setup(s,{emit:r}){const d=s;let f=window.localStorage.getItem("sidebar-slim");window.document.body.offsetWidth<1024&&(window.localStorage.getItem("sidebar-slim")==null&&window.localStorage.setItem("sidebar-slim","1"),f="1");const n=e.ref(f==="1");e.watch(n,t=>{window.localStorage.setItem("sidebar-slim",String(t?1:0))});const m=()=>{window.document.body.offsetWidth<1024&&!n.value&&(n.value=!0)},a=e.ref(!1),M=()=>{a.value=!a.value,a.value&&r("load-news")},I=t=>{var c;(c=d.handlers)==null||c.onSetLang(t)};return(t,c)=>{var w,o,p,u,C,k,v,x,_,g,y,b,L,B,V,N,E,S,$,O,D;const z=e.resolveComponent("RouterLink");return e.openBlock(),e.createElementBlock("div",l1,[e.createElementVNode("div",n1,[e.createElementVNode("div",s1,[e.createElementVNode("button",{onClick:c[0]||(c[0]=l=>n.value=!n.value),class:"w-[44px] h-[44px] p-[8px] flex items-center justify-center rounded hover:bg-secondary-10 hover:text-blue-600"},[e.createVNode(e.unref(e1),{class:"w-[24px] h-[24px]"})])]),e.createElementVNode("div",r1,[t.logoSrc!=null?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.logoSrc,class:"w-8 h-8 mx-auto",alt:"logo"},null,8,a1)):e.createCommentVNode("",!0)]),t.app!=null?(e.openBlock(),e.createBlock(z,{key:0,to:"/",class:"pl-2 max-w-xs"},{default:e.withCtx(()=>{var l,h;return[e.createElementVNode("div",c1,e.toDisplayString(t.app.name),1),e.createElementVNode("div",i1,e.toDisplayString((h=(l=t.app)==null?void 0:l.workspace)==null?void 0:h.name),1)]}),_:1})):e.createCommentVNode("",!0),e.createElementVNode("div",d1,[e.createElementVNode("div",p1,[e.createElementVNode("div",m1,[e.renderSlot(t.$slots,"before-header-menu",{},void 0,!0),t.improveTariff?(e.openBlock(),e.createElementBlock("div",u1,[e.createElementVNode("button",{type:"button",class:"cursor-pointer flex items-center h-full bg-[#FFF8E4] hover:bg-[#f2e3b8] rounded-full px-2 py-1 font-medium",onClick:c[1]||(c[1]=(...l)=>{var h,j;return((h=t.handlers)==null?void 0:h.onImproveTariff)&&((j=t.handlers)==null?void 0:j.onImproveTariff(...l))}),style:{"font-size":"10px"}},[e.createVNode(e.unref(X),{class:"h-4 w-4 text-[#e1a308f2]"}),e.createElementVNode("span",C1,e.toDisplayString((w=t.improveTariff)==null?void 0:w.label),1)])])):e.createCommentVNode("",!0),(p=(o=t.app)==null?void 0:o.help)!=null&&p.url?(e.openBlock(),e.createElementBlock("a",{key:1,href:(C=(u=t.app)==null?void 0:u.help)==null?void 0:C.url,target:"_blank",title:"Help",class:"p-1 rounded-md hover:bg-secondary-10 flex-shrink-0 hidden w-[44px] h-[44px] sm:flex items-center justify-center hover:text-blue-600"},[e.createVNode(e.unref(t1),{class:"text-secondary-base w-full p-1 hover:text-blue-600"})],8,h1)):e.createCommentVNode("",!0),((k=t.handlers)==null?void 0:k.onBrowse)!=null?(e.openBlock(),e.createBlock(A.OneBrowserMenu,{key:2,workspace:(v=t.app)==null?void 0:v.workspace,apps:((x=t.app)==null?void 0:x.apps)||[],"change-label":((_=t.labels)==null?void 0:_.change)||"Change","apps-title":((g=t.labels)==null?void 0:g.apps)||"Apps","on-app":(y=t.handlers)==null?void 0:y.onApp,"on-change":(b=t.handlers)==null?void 0:b.onChange,onOpen:(L=t.handlers)==null?void 0:L.onBrowse},null,8,["workspace","apps","change-label","apps-title","on-app","on-change","onOpen"])):e.createCommentVNode("",!0),e.createVNode(A._sfc_main$2,{user:t.user,app:t.app,"account-label":((B=t.labels)==null?void 0:B.account)||"Account","logout-label":((V=t.labels)==null?void 0:V.logout)||"Logout","version-label":((N=t.labels)==null?void 0:N.version)||"","on-account":(E=t.handlers)==null?void 0:E.onAccount,"on-logout":(S=t.handlers)==null?void 0:S.onLogout},null,8,["user","app","account-label","logout-label","version-label","on-account","on-logout"])])])])]),e.createElementVNode("div",{class:e.normalizeClass(["sidebar fixed top-[56px] left-0 overflow-hidden bg-white lg:bg-transparent transition-all z-50",[n.value?"w-0 lg:w-[60px]":"w-full lg:w-60"]]),style:{height:"calc(100% - 56px)"},onClick:m},[e.createVNode(G,{slim:n.value,app:t.app,items:t.sidebarItems,"with-news":t.news!=null,news:t.news,onShowNews:M,onSelectLanguage:I},null,8,["slim","app","items","with-news","news"])],2),e.createElementVNode("div",f1,[e.createElementVNode("div",{class:e.normalizeClass(["content transition-all pt-[56px] h-full",[n.value?"pl-0 lg:pl-[60px]":"pl-0 lg:pl-60"]])},[e.renderSlot(t.$slots,"default",{},void 0,!0)],2)]),t.news?(e.openBlock(),e.createElementBlock("div",w1,[a.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fixed top-0 left-0 h-screen w-screen bg-gray-100 bg-opacity-40 z-50",onClick:c[2]||(c[2]=e.withModifiers(l=>a.value=!1,["self"]))})):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["opacity-100 shadow-lg transition-all fixed top-0 left-0 h-screen overflow-hidden z-50 bg-white",[a.value?"sm:w-[560px] w-full":"w-0"]])},[a.value?(e.openBlock(),e.createElementBlock("div",k1,[e.createElementVNode("div",v1,[e.createElementVNode("div",x1,[e.createVNode(W,{class:"w-10 h-10"}),_1,e.createElementVNode("div",null,[e.createVNode(H._sfc_main,{variant:"touch",icon:e.unref(J.render),onClick:c[3]||(c[3]=l=>a.value=!1)},null,8,["icon"])])]),e.createElementVNode("div",g1,[t.news.isLoading&&(($=t.news.items)==null?void 0:$.length)===0?(e.openBlock(),e.createElementBlock("div",y1,[e.createVNode(H.SpinnerIcon,{class:"w-6 h-6 text-gray-600 mx-auto"})])):((O=t.news.items)==null?void 0:O.length)===0?(e.openBlock(),e.createElementBlock("div",b1,[e.createElementVNode("div",L1,e.toDisplayString(t.news.emptyText),1)])):((D=t.news.items)==null?void 0:D.length)>0?(e.openBlock(),e.createElementBlock("div",B1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.news.items,l=>(e.openBlock(),e.createElementBlock("div",{key:l.id,class:"p-3"},[e.createElementVNode("div",V1,[e.createElementVNode("div",null,[l.type?(e.openBlock(),e.createElementBlock("div",N1,[l.type===10?(e.openBlock(),e.createElementBlock("span",E1,"update")):l.type===11?(e.openBlock(),e.createElementBlock("span",S1,"warning")):l.type===12?(e.openBlock(),e.createElementBlock("span",$1,"notice")):l.type===13?(e.openBlock(),e.createElementBlock("span",O1,"ads")):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",D1,e.toDisplayString(l.title),1),e.createElementVNode("div",j1,e.toDisplayString(l.summary),1)]),l.image_url?(e.openBlock(),e.createElementBlock("div",z1,[e.createElementVNode("img",{src:l.image_url,alt:"",class:"w-full rounded-md"},null,8,M1)])):e.createCommentVNode("",!0),e.createElementVNode("div",I1,e.toDisplayString(l.body),1),l.video_url?(e.openBlock(),e.createElementBlock("div",A1,[e.createElementVNode("a",{href:l.video_url,target:"_blank",class:"text-blue-600 hover:text-blue-700 px-3 py-2 border rounded-md w-full block"},e.toDisplayString(t.news.openVideoText),9,H1)])):e.createCommentVNode("",!0),e.createElementVNode("div",q1,[e.createElementVNode("span",P1,e.toDisplayString(l.published),1),l.post_url?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.post_url,target:"_blank",class:"text-blue-600 hover:text-blue-700 block"},e.toDisplayString(t.news.moreText),9,F1)):e.createCommentVNode("",!0)])])]))),128))])):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)])}}});const Z1=q._export_sfc(T1,[["__scopeId","data-v-907ec8fc"]]);exports.OneMainLayout=Z1;exports.OneSidebar=G;
@@ -1,10 +1,10 @@
1
- import { defineComponent as X, computed as J, resolveComponent as n1, openBlock as t, createElementBlock as l, normalizeClass as w, createElementVNode as e, createBlock as y, resolveDynamicComponent as E, createCommentVNode as n, toDisplayString as r, withCtx as a1, ref as U, Fragment as K, renderList as Q, createVNode as f, unref as g, createTextVNode as r1, pushScopeId as i1, popScopeId as p1, watch as C1, resolveDirective as f1, renderSlot as o1, withModifiers as w1, withDirectives as m1 } from "vue";
2
- import { _ as Y } from "../_plugin-vue_export-helper-dad06003.js";
3
- import { r as v1, O as x1, b as _1 } from "../OneBrowserMenu-e20f7ed0.js";
4
- import { _ as d1, S as b1 } from "../index-a17260e5.js";
5
- import { r as g1 } from "../XMarkIcon-51ef0691.js";
1
+ import { defineComponent as Q, computed as G, resolveComponent as n1, openBlock as t, createElementBlock as l, normalizeClass as w, createElementVNode as e, createBlock as y, resolveDynamicComponent as E, createCommentVNode as n, toDisplayString as r, withCtx as a1, ref as D, Fragment as J, renderList as K, createVNode as f, unref as g, createTextVNode as h1, pushScopeId as r1, popScopeId as i1, watch as C1, renderSlot as o1, withModifiers as f1 } from "vue";
2
+ import { _ as X } from "../_plugin-vue_export-helper-dad06003.js";
3
+ import { r as w1, O as m1, b as v1 } from "../OneBrowserMenu-e20f7ed0.js";
4
+ import { _ as p1, S as x1 } from "../index-a17260e5.js";
5
+ import { r as _1 } from "../XMarkIcon-51ef0691.js";
6
6
  import "../common/index.js";
7
- const c1 = {
7
+ const d1 = {
8
8
  items: {
9
9
  required: !0,
10
10
  type: Array
@@ -19,7 +19,7 @@ const c1 = {
19
19
  news: {
20
20
  type: Object
21
21
  }
22
- }, y1 = {
22
+ }, b1 = {
23
23
  route: {
24
24
  required: !1,
25
25
  type: [Object, String]
@@ -58,8 +58,8 @@ const c1 = {
58
58
  type: Boolean,
59
59
  default: !0
60
60
  }
61
- }, L1 = {
62
- sidebarItems: c1.items,
61
+ }, g1 = {
62
+ sidebarItems: d1.items,
63
63
  logoSrc: {
64
64
  type: String
65
65
  },
@@ -97,17 +97,17 @@ const c1 = {
97
97
  improveTariff: {
98
98
  type: Object
99
99
  }
100
- }, k1 = ["href"], $1 = { class: "flex flex-nowrap items-center w-full h-[24px]" }, S1 = {
100
+ }, y1 = ["href"], L1 = { class: "flex flex-nowrap items-center w-full h-[24px]" }, k1 = {
101
101
  key: 0,
102
102
  class: "w-[44px] flex-shrink-0"
103
- }, O1 = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, B1 = { class: "py-[8px] pl-0 pr-[8px]" }, j1 = { class: "flex flex-nowrap items-center w-full h-[24px]" }, M1 = {
103
+ }, $1 = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, S1 = { class: "py-[8px] pl-0 pr-[8px]" }, O1 = { class: "flex flex-nowrap items-center w-full h-[24px]" }, B1 = {
104
104
  key: 0,
105
105
  class: "w-[44px] flex-shrink-0"
106
- }, V1 = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, z1 = { class: "py-[8px] pl-0 pr-[8px]" }, A1 = /* @__PURE__ */ X({
106
+ }, j1 = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, M1 = { class: "py-[8px] pl-0 pr-[8px]" }, V1 = /* @__PURE__ */ Q({
107
107
  __name: "OneSidebarLink",
108
- props: y1,
108
+ props: b1,
109
109
  setup(p) {
110
- const d = p, C = J(() => d.href != null ? d.href : !1), L = J(() => d.route != null ? d.route : d.routeName != null ? { name: d.routeName } : "/");
110
+ const d = p, C = G(() => d.href != null ? d.href : !1), L = G(() => d.route != null ? d.route : d.routeName != null ? { name: d.routeName } : "/");
111
111
  return (i, v) => {
112
112
  const c = n1("RouterLink");
113
113
  return C.value ? (t(), l("a", {
@@ -115,15 +115,15 @@ const c1 = {
115
115
  href: C.value,
116
116
  class: w(["flex items-center rounded-lg text-sm font-medium hover:bg-primary-10-hover hover:text-primary-base transition-all text-[#525B66]", [i.slim ? "w-[44px] h-[44px]" : "h-[44px] w-full"]])
117
117
  }, [
118
- e("div", $1, [
119
- i.icon ? (t(), l("div", S1, [
118
+ e("div", L1, [
119
+ i.icon ? (t(), l("div", k1, [
120
120
  (t(), y(E(i.icon), { class: "w-[24px] h-[24px] mx-auto" }))
121
121
  ])) : n("", !0),
122
- e("div", O1, [
123
- e("span", B1, r(i.label), 1)
122
+ e("div", $1, [
123
+ e("span", S1, r(i.label), 1)
124
124
  ])
125
125
  ])
126
- ], 10, k1)) : (t(), y(c, {
126
+ ], 10, y1)) : (t(), y(c, {
127
127
  key: 1,
128
128
  to: L.value,
129
129
  class: w(["flex items-center rounded-lg text-sm font-medium hover:bg-primary-10-hover hover:text-primary-base transition-all text-[#525B66]", [i.slim ? "w-[44px] h-[44px]" : "h-[44px] w-full"]]),
@@ -132,12 +132,12 @@ const c1 = {
132
132
  exact: i.exact
133
133
  }, {
134
134
  default: a1(() => [
135
- e("div", j1, [
136
- i.icon ? (t(), l("div", M1, [
135
+ e("div", O1, [
136
+ i.icon ? (t(), l("div", B1, [
137
137
  (t(), y(E(i.icon), { class: "w-[24px] h-[24px] mx-auto" }))
138
138
  ])) : n("", !0),
139
- e("div", V1, [
140
- e("span", z1, r(i.label), 1)
139
+ e("div", j1, [
140
+ e("span", M1, r(i.label), 1)
141
141
  ])
142
142
  ])
143
143
  ]),
@@ -145,33 +145,33 @@ const c1 = {
145
145
  }, 8, ["to", "active-class", "exact-active-class", "exact", "class"]));
146
146
  };
147
147
  }
148
- }), H1 = {}, I1 = {
148
+ }), z1 = {}, A1 = {
149
149
  xmlns: "http://www.w3.org/2000/svg",
150
150
  width: "24",
151
151
  height: "24",
152
152
  viewBox: "0 0 24 24",
153
153
  fill: "none"
154
- }, N1 = /* @__PURE__ */ e("path", {
154
+ }, I1 = /* @__PURE__ */ e("path", {
155
155
  d: "M9.27987 15.963H7.76282V9.97577C7.76282 9.67316 7.575 9.40658 7.29326 9.29851L6.7948 9.11839V8.57802V8.03766H8.10957C8.60081 8.03766 8.91867 8.12412 9.05592 8.30424C9.20763 8.48436 9.27987 8.8374 9.27987 9.36335V15.963Z",
156
156
  fill: "currentColor"
157
- }, null, -1), P1 = /* @__PURE__ */ e("path", {
157
+ }, null, -1), H1 = /* @__PURE__ */ e("path", {
158
158
  d: "M15.7294 11.3876C16.2011 11.2795 16.7453 10.9769 16.7816 10.0547C16.7816 9.36299 16.5276 8.90188 16.1285 8.57766C15.6569 8.14537 14.9675 8.03729 14.3797 8.03729H11.4626V13.9309C11.4626 14.6802 11.6441 15.2061 12.0141 15.5087C12.3842 15.8113 13.0155 15.9626 13.8935 15.9626H14.9675C15.6859 15.9626 16.2374 15.7681 16.6365 15.3718C17.0428 14.9756 17.2388 14.4136 17.2388 13.6787C17.2388 12.7925 16.9993 11.6758 15.7294 11.3876ZM13.0228 9.42783L14.2564 9.39181C14.8296 9.39181 15.1199 9.68 15.1199 10.2492C15.1199 10.8184 14.8296 11.1066 14.2564 11.1066L13.0228 11.1426V9.42783ZM14.8079 14.5865H14.0024C13.6541 14.5865 13.4001 14.5289 13.2405 14.4064C13.0881 14.2911 13.0155 14.075 13.0155 13.7724V12.5259H14.8079C15.1344 12.5259 15.3666 12.6196 15.49 12.8069C15.6133 12.987 15.6786 13.2536 15.6786 13.6067C15.6859 14.2551 15.3956 14.5865 14.8079 14.5865Z",
159
159
  fill: "currentColor"
160
- }, null, -1), T1 = /* @__PURE__ */ e("path", {
160
+ }, null, -1), N1 = /* @__PURE__ */ e("path", {
161
161
  "fill-rule": "evenodd",
162
162
  "clip-rule": "evenodd",
163
163
  d: "M13.6437 3H10.4761C10.462 3.00738 10.4468 3.00752 10.4317 3.00766L10.4237 3.00778L10.2163 3.01067L10.1771 3.01124C10.1389 3.01181 10.1006 3.01238 10.0624 3.01238C9.85585 3.01276 9.64939 3.01797 9.44293 3.02318C9.34618 3.02562 9.24943 3.02806 9.15267 3.03C9.04934 3.03209 8.94604 3.03642 8.84277 3.04075L8.7649 3.04397C8.68023 3.04733 8.59559 3.05152 8.51098 3.05656C8.48805 3.05791 8.46519 3.06072 8.44234 3.06353L8.41144 3.0672L8.41136 3.06733L8.41135 3.06733C8.36472 3.06357 8.31825 3.06706 8.27185 3.07055L8.2508 3.07211C8.17968 3.07719 8.10867 3.08303 8.03766 3.08888L7.99014 3.09278L7.93408 3.09722C7.88146 3.10132 7.82884 3.10543 7.77638 3.111C7.67642 3.12147 7.57658 3.13307 7.47685 3.14581L7.46711 3.14705C7.35956 3.16078 7.25195 3.17451 7.14491 3.19162C6.9685 3.21996 6.79301 3.25364 6.61912 3.29514C6.39508 3.34863 6.17474 3.41407 5.95992 3.49743C5.64582 3.6192 5.35134 3.77699 5.08051 3.97818C4.85418 4.14605 4.6417 4.33183 4.44509 4.5337C4.2703 4.71309 4.10878 4.90496 3.96183 5.1078C3.77344 5.36816 3.62514 5.65018 3.50915 5.94958C3.36896 6.31155 3.2788 6.68668 3.21499 7.06866C3.19851 7.1678 3.18411 7.26735 3.17082 7.36697C3.15756 7.46541 3.14628 7.56409 3.135 7.66276L3.13307 7.67973C3.12541 7.74641 3.11884 7.81305 3.11245 7.87981L3.11091 7.89541C3.10743 7.9302 3.10394 7.96508 3.10714 8.00012L3.10716 8.0001C3.09909 8.01985 3.09789 8.04067 3.0967 8.06145L3.09602 8.07249L3.07085 8.44649L3.07007 8.45985C3.06822 8.50323 3.06651 8.54661 3.0648 8.58999C3.06098 8.68709 3.05716 8.78418 3.05165 8.88117C3.04485 9.00132 3.04236 9.12161 3.03987 9.24188C3.03793 9.33581 3.03599 9.42973 3.03199 9.52356C3.02946 9.58278 3.02895 9.64209 3.02844 9.7014L3.02804 9.74445L3.02618 9.9482C3.02519 10.0655 3.02421 10.1828 3.02245 10.3001C3.02144 10.367 3.01875 10.4338 3.01605 10.5007L3.01316 10.5745L3.01312 10.5756C3.01256 10.5885 3.01199 10.6018 3 10.6107V13.3892C3.00108 13.3909 3.00237 13.3925 3.00365 13.3942L3.00366 13.3942C3.00655 13.3979 3.00944 13.4016 3.01007 13.4057C3.01249 13.4212 3.01389 13.4369 3.01427 13.4526L3.01611 13.5092L3.01611 13.5092C3.01871 13.5887 3.0213 13.6681 3.02293 13.7476C3.02474 13.8348 3.02545 13.922 3.02545 14.0092C3.0256 14.2458 3.03197 14.4823 3.03835 14.7188L3.03835 14.7188C3.04022 14.7885 3.0421 14.8582 3.04382 14.9279C3.04659 15.0408 3.05225 15.1535 3.05791 15.2663L3.06335 15.3769C3.06897 15.4952 3.07473 15.6135 3.08203 15.7318C3.08634 15.8018 3.09212 15.8717 3.0979 15.9417L3.0979 15.9417L3.10262 15.9992L3.10453 16.0229C3.10928 16.0819 3.11403 16.1408 3.12009 16.1996C3.13141 16.3108 3.14359 16.4219 3.15661 16.5328C3.16284 16.5864 3.1703 16.6399 3.17776 16.6933L3.185 16.7455C3.20654 16.9028 3.23441 17.0589 3.26627 17.2144C3.30583 17.4093 3.35558 17.602 3.4153 17.7917C3.50677 18.0804 3.62514 18.3571 3.77815 18.6188C3.87433 18.7833 3.98454 18.9379 4.10322 19.0866C4.38114 19.4348 4.70212 19.7464 5.05849 20.0138C5.34835 20.2318 5.66471 20.4005 6.00352 20.5279C6.22982 20.6131 6.46181 20.6788 6.69755 20.7318C6.88514 20.774 7.07435 20.8079 7.2645 20.8355C7.38593 20.8534 7.50793 20.8672 7.62989 20.881L7.6304 20.8811C7.7437 20.8937 7.8571 20.9052 7.97062 20.9156C8.03986 20.9219 8.10927 20.9264 8.17868 20.931L8.21137 20.9332C8.28755 20.9383 8.36371 20.943 8.43985 20.9478L8.54613 20.9545L8.556 20.9552C8.56163 20.9556 8.56727 20.956 8.57291 20.9562L8.71929 20.9621C8.81347 20.9658 8.90765 20.9695 9.0018 20.9736C9.21881 20.9828 9.43595 20.9864 9.65309 20.99L9.74613 20.9915L9.75798 20.9914C9.77405 20.9912 9.79026 20.9909 9.80497 21H14.0598C14.1664 20.9939 14.273 20.9919 14.3797 20.9899C14.4179 20.9892 14.4561 20.9885 14.4943 20.9876C14.7149 20.9825 14.9354 20.9772 15.156 20.9696C15.2421 20.9667 15.3282 20.9618 15.4143 20.9569C15.4551 20.9546 15.4958 20.9523 15.5366 20.9502L15.5761 20.9484C15.5941 20.9477 15.6121 20.947 15.6301 20.9459C15.6439 20.945 15.6578 20.9436 15.6716 20.9421L15.6898 20.9403L15.6899 20.9402C15.701 20.9399 15.7121 20.94 15.7231 20.9392L15.7557 20.9369C15.8318 20.9315 15.9079 20.9261 15.984 20.9202C15.9957 20.9194 16.0074 20.9185 16.0192 20.9176C16.081 20.913 16.1429 20.9083 16.2046 20.9021C16.272 20.8953 16.3393 20.8876 16.4066 20.8799C16.4414 20.8759 16.4763 20.8719 16.5111 20.868C16.6378 20.8539 16.7638 20.8353 16.8896 20.8154C17.0775 20.7859 17.2638 20.7493 17.4484 20.7044C17.6789 20.6482 17.905 20.5785 18.125 20.4897C18.4165 20.3719 18.6905 20.2225 18.9436 20.0355C19.3225 19.7539 19.6587 19.4279 19.952 19.0575C20.1845 18.7646 20.3725 18.4391 20.51 18.0914C20.609 17.8414 20.6842 17.5843 20.7426 17.3223C20.8039 17.0471 20.849 16.7692 20.8805 16.4891C20.8828 16.4688 20.8852 16.4484 20.8876 16.4281C20.8909 16.3996 20.8943 16.3711 20.8974 16.3426C20.9041 16.2803 20.9108 16.2181 20.9166 16.1558C20.9179 16.143 20.9176 16.13 20.9174 16.1171C20.9174 16.1122 20.9173 16.1073 20.9173 16.1025L20.9175 16.1023L20.9216 16.0734C20.9247 16.0521 20.9277 16.0308 20.9298 16.0094C20.9345 15.9583 20.9385 15.907 20.9419 15.8557C20.9481 15.7576 20.9542 15.6594 20.9595 15.5612C20.967 15.4207 20.974 15.2801 20.9806 15.1394C20.9829 15.0903 20.9838 15.0412 20.9846 14.992C20.9853 14.9473 20.9858 14.9026 20.9863 14.8579V14.8579C20.987 14.7953 20.9877 14.7328 20.9889 14.6702C20.9899 14.6211 20.9917 14.5721 20.9973 14.5231C21.0007 14.494 21.0001 14.4644 20.9995 14.4348C20.9993 14.4218 20.999 14.4088 20.9991 14.3959V9.63092L20.9991 9.60404L20.9991 9.55038L20.9991 9.53972C20.9989 9.51204 20.9988 9.48446 20.9941 9.45682C20.9908 9.4383 20.9906 9.4192 20.9904 9.40022V9.40019L20.9903 9.38995L20.9882 9.25341C20.9872 9.18265 20.9862 9.11189 20.9847 9.04114C20.9836 8.98836 20.9816 8.93561 20.9795 8.88285L20.9772 8.81995C20.9766 8.80494 20.9759 8.78993 20.9752 8.77493L20.9748 8.76634L20.9691 8.64082C20.9651 8.55088 20.9611 8.46094 20.956 8.37104C20.9522 8.30451 20.947 8.23805 20.9417 8.1716L20.9359 8.09682L20.9321 8.04666C20.9275 7.98535 20.9229 7.92405 20.9175 7.86274C20.9125 7.80634 20.9064 7.74993 20.9004 7.69354L20.9003 7.69313L20.897 7.66264C20.8931 7.62609 20.8889 7.58959 20.8846 7.5531L20.8845 7.55231L20.8803 7.51608C20.8416 7.18046 20.7858 6.84789 20.7029 6.52018C20.6311 6.23571 20.5375 5.95879 20.4129 5.6927C20.2939 5.43833 20.1468 5.20173 19.9745 4.98024C19.6752 4.5943 19.3289 4.25662 18.9357 3.9672C18.6895 3.78603 18.4233 3.64067 18.1406 3.52522C17.9042 3.42869 17.6608 3.35464 17.4126 3.29549C17.2386 3.25401 17.0631 3.22009 16.8865 3.192C16.7762 3.17443 16.6652 3.16021 16.5545 3.14604C16.4547 3.1333 16.3548 3.12195 16.2548 3.1114C16.1994 3.10556 16.1439 3.10111 16.0884 3.09667L16.0476 3.09338C15.9873 3.08847 15.9269 3.08378 15.8666 3.07909L15.8665 3.07909L15.7802 3.07236L15.7725 3.07169L15.7601 3.0707L15.6649 3.06539L15.6649 3.06539C15.5895 3.06113 15.5141 3.05688 15.4386 3.05333C15.316 3.0476 15.1933 3.04242 15.0707 3.03725L14.9361 3.03154C14.9137 3.03058 14.8914 3.02983 14.869 3.02942C14.7553 3.02747 14.6416 3.02471 14.5279 3.02195C14.3309 3.01717 14.1339 3.0124 13.9368 3.0118C13.8728 3.01162 13.8088 3.0106 13.7448 3.00958L13.6819 3.00861L13.677 3.00858C13.6653 3.00857 13.6535 3.00855 13.6437 3ZM19.1763 17.0579L19.1766 17.0517C19.1767 17.0471 19.1768 17.0425 19.1779 17.0381C19.2275 16.836 19.2624 16.631 19.291 16.4251C19.3098 16.2901 19.3268 16.1547 19.3375 16.0187C19.3417 15.9654 19.3464 15.9121 19.3511 15.8589C19.3586 15.774 19.3661 15.6892 19.3716 15.6042C19.3828 15.4301 19.391 15.2558 19.3987 15.0816C19.4046 14.9497 19.4094 14.8178 19.4117 14.6859L19.4153 14.4842C19.4205 14.2026 19.4257 13.9209 19.4268 13.6392C19.4297 12.9436 19.4306 12.248 19.4295 11.5523L19.4295 11.2777C19.4295 10.7542 19.4295 10.2306 19.4186 9.70709C19.4124 9.40296 19.4061 9.09888 19.3918 8.79501C19.3844 8.63644 19.3757 8.47787 19.3647 8.31947C19.3541 8.1655 19.3406 8.01182 19.3242 7.85844C19.3125 7.74723 19.2991 7.63627 19.284 7.52554C19.2621 7.36599 19.2346 7.20747 19.1999 7.05026C19.1657 6.89516 19.1232 6.74238 19.0697 6.59267C18.9916 6.37321 18.8802 6.16704 18.7395 5.98137C18.5884 5.78135 18.4163 5.59801 18.2263 5.43445C18.1883 5.40179 18.1494 5.37029 18.1105 5.33881L18.1104 5.33876L18.0812 5.3151C17.8793 5.15117 17.6528 5.03224 17.408 4.94664C17.207 4.87636 17.0007 4.82673 16.7919 4.78696C16.581 4.74669 16.3684 4.71721 16.155 4.69446C16.004 4.67833 15.8523 4.66544 15.7006 4.65444C15.5492 4.64344 15.3974 4.63568 15.2457 4.62792L15.2385 4.62756C15.1291 4.62194 15.0196 4.61762 14.91 4.61462L14.8134 4.61183C14.6511 4.60712 14.4888 4.6024 14.3265 4.60068C13.8657 4.59577 13.405 4.59101 12.9443 4.59016C12.2464 4.58885 11.5486 4.58938 10.8507 4.59177C10.5996 4.5923 10.3486 4.59439 10.0974 4.59647L10.0974 4.59647L9.8577 4.59841L9.82872 4.59862H9.82872C9.7489 4.59919 9.66907 4.59976 9.58934 4.60282C9.49703 4.60635 9.40468 4.60825 9.31233 4.61016L9.31231 4.61016L9.3123 4.61016C9.18105 4.61286 9.0498 4.61557 8.91869 4.62295C8.83304 4.62782 8.7474 4.63152 8.66175 4.63522C8.61777 4.63712 8.5738 4.63902 8.52981 4.64107C8.52362 4.64135 8.51744 4.64185 8.51126 4.64235L8.51126 4.64235L8.51126 4.64235L8.50306 4.64299L8.41244 4.64946C8.34449 4.65429 8.27653 4.65912 8.20857 4.66428L8.18781 4.66585C8.12337 4.67072 8.05892 4.67559 7.99463 4.68218C7.89227 4.69268 7.79008 4.70422 7.68806 4.71679C7.62913 4.72411 7.57031 4.73243 7.5115 4.74075L7.51148 4.74075L7.51141 4.74076C7.47952 4.74527 7.44763 4.74978 7.41572 4.75414C7.40685 4.75493 7.39794 4.75526 7.38904 4.75512L7.38907 4.75503L7.31739 4.76857L7.31738 4.76857C7.26453 4.7785 7.21167 4.78842 7.15898 4.79909C6.93749 4.84394 6.71967 4.90123 6.5096 4.98613C6.34776 5.05123 6.19426 5.1354 6.05234 5.23684C5.78124 5.43085 5.54562 5.66141 5.33918 5.92242C5.28924 5.98552 5.24069 6.04965 5.19677 6.11724C5.09636 6.27173 5.01967 6.43755 4.95864 6.61102C4.91632 6.73123 4.88184 6.85368 4.85186 6.97747C4.84793 6.99374 4.8434 7.00985 4.83887 7.02596L4.83887 7.02597L4.83261 7.04844L4.83272 7.0484L4.8298 7.06701C4.82771 7.08069 4.82563 7.09438 4.82265 7.10788C4.76979 7.35293 4.73521 7.60091 4.70752 7.84979C4.69096 7.99864 4.67853 8.148 4.66745 8.29738C4.65639 8.44663 4.64854 8.59619 4.64069 8.74569L4.64069 8.74569L4.64069 8.7457L4.64067 8.74609C4.63503 8.85329 4.63069 8.96055 4.62763 9.06786L4.62559 9.13807C4.62045 9.31366 4.61532 9.48925 4.61283 9.66486C4.608 10.0048 4.60357 10.3448 4.60262 10.6847C4.59962 11.7494 4.5969 12.8141 4.60737 13.8788C4.61072 14.2165 4.61777 14.5542 4.62607 14.8918C4.62673 14.9186 4.62753 14.9455 4.62877 14.9724L4.63381 15.0811C4.63926 15.199 4.64472 15.3169 4.65074 15.4347C4.65577 15.5308 4.66081 15.6268 4.66836 15.7227C4.67515 15.8081 4.68316 15.8934 4.69117 15.9787L4.70214 16.0968C4.71248 16.2104 4.7265 16.3235 4.74143 16.4366C4.7631 16.6007 4.79033 16.7638 4.82487 16.9256C4.85985 17.0897 4.90314 17.2516 4.95983 17.4096C5.02424 17.5893 5.10596 17.7603 5.21434 17.9181C5.29414 18.0342 5.38123 18.1452 5.47508 18.2503C5.64558 18.4412 5.83564 18.6105 6.0414 18.7625C6.1548 18.8463 6.27647 18.9182 6.4045 18.9772C6.5449 19.0421 6.69048 19.0925 6.83926 19.1339C7.11993 19.2121 7.40659 19.2588 7.69529 19.294C7.79514 19.3061 7.89529 19.3159 7.99546 19.3252L8.03116 19.3284L8.03143 19.3285L8.03148 19.3285C8.15306 19.3397 8.27467 19.3509 8.39647 19.359C8.56158 19.3699 8.72687 19.378 8.89219 19.3856C9.02176 19.3916 9.15144 19.3965 9.28109 19.399L9.45946 19.4025H9.4595H9.45953C9.71982 19.4078 9.98011 19.4131 10.2404 19.4145C11.3901 19.4206 12.5397 19.4191 13.6893 19.4158C13.9179 19.4151 14.1465 19.4106 14.375 19.4061C14.4976 19.4037 14.6201 19.4013 14.7426 19.3995C14.7627 19.3992 14.7829 19.3984 14.803 19.3976L14.9426 19.392C15.0681 19.387 15.1937 19.382 15.3192 19.3763C15.4286 19.3713 15.538 19.365 15.6474 19.3587C15.701 19.3556 15.7545 19.3513 15.808 19.3469C15.8726 19.3417 15.9372 19.3362 16.0018 19.33C16.0685 19.3236 16.1352 19.3168 16.2019 19.309C16.2973 19.2978 16.3927 19.2861 16.488 19.2738C16.5343 19.2678 16.5805 19.2613 16.6267 19.2547L16.687 19.2462C16.6871 19.2462 16.6871 19.2461 16.6871 19.246C16.7106 19.2413 16.7341 19.2367 16.7576 19.232C16.8085 19.2219 16.8595 19.2118 16.9104 19.2011C17.1251 19.1562 17.336 19.0987 17.5392 19.0149C17.6923 18.9519 17.8378 18.8717 17.9727 18.7758C18.2687 18.5653 18.5214 18.311 18.7414 18.0229C18.8499 17.8805 18.9401 17.725 19.01 17.5602C19.0583 17.4469 19.0978 17.3307 19.132 17.2125C19.138 17.1917 19.1435 17.1708 19.149 17.1498C19.1531 17.134 19.1572 17.1182 19.1616 17.1025C19.1644 17.0923 19.1679 17.0823 19.1713 17.0723C19.1729 17.0675 19.1746 17.0627 19.1762 17.058C19.1762 17.0579 19.1763 17.0579 19.1763 17.0579ZM3.12917 7.986L3.12916 7.98601L3.12903 7.98608C3.14334 7.97696 3.15765 7.96783 3.17163 7.95831C3.15771 7.96785 3.14344 7.97693 3.12917 7.986Z",
164
164
  fill: "currentColor"
165
- }, null, -1), F1 = [
166
- N1,
167
- P1,
168
- T1
165
+ }, null, -1), P1 = [
166
+ I1,
167
+ H1,
168
+ N1
169
169
  ];
170
- function q1(p, d) {
171
- return t(), l("svg", I1, F1);
170
+ function T1(p, d) {
171
+ return t(), l("svg", A1, P1);
172
172
  }
173
- const u1 = /* @__PURE__ */ Y(H1, [["render", q1]]);
174
- function Z1(p, d) {
173
+ const c1 = /* @__PURE__ */ X(z1, [["render", T1]]);
174
+ function F1(p, d) {
175
175
  return t(), l("svg", {
176
176
  xmlns: "http://www.w3.org/2000/svg",
177
177
  fill: "none",
@@ -187,7 +187,7 @@ function Z1(p, d) {
187
187
  })
188
188
  ]);
189
189
  }
190
- function D1(p, d) {
190
+ function q1(p, d) {
191
191
  return t(), l("svg", {
192
192
  xmlns: "http://www.w3.org/2000/svg",
193
193
  fill: "none",
@@ -203,7 +203,7 @@ function D1(p, d) {
203
203
  })
204
204
  ]);
205
205
  }
206
- function h1(p, d) {
206
+ function u1(p, d) {
207
207
  return t(), l("svg", {
208
208
  xmlns: "http://www.w3.org/2000/svg",
209
209
  fill: "none",
@@ -224,57 +224,57 @@ function h1(p, d) {
224
224
  })
225
225
  ]);
226
226
  }
227
- const R1 = (p) => (i1("data-v-7d2c4502"), p = p(), p1(), p), E1 = { class: "h-full relative" }, U1 = { class: "space-y-1 p-2 h-full relative" }, W1 = { class: "absolute left-2 bottom-2 right-2" }, G1 = {
227
+ const Z1 = (p) => (r1("data-v-7d2c4502"), p = p(), i1(), p), R1 = { class: "h-full relative" }, E1 = { class: "space-y-1 p-2 h-full relative" }, D1 = { class: "absolute left-2 bottom-2 right-2" }, U1 = {
228
228
  key: 0,
229
229
  class: "ml-3 flex justify-between border rounded-lg p-2 bg-[#F5F5F5] mb-3 w-[220px]"
230
- }, J1 = { class: "flex items-center space-x-2 text-[#525B66]" }, K1 = { class: "text-sm" }, Q1 = { class: "text-xs" }, X1 = ["href"], Y1 = { class: "flex flex-nowrap items-center w-max h-[24px]" }, e0 = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full text-[#525B66]" }, t0 = { class: "py-[8px] pl-0 pr-[8px]" }, s0 = ["href"], l0 = { class: "flex flex-nowrap items-center w-max h-[24px]" }, o0 = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, n0 = { class: "py-[8px] pl-0 pr-[8px]" }, a0 = {
230
+ }, W1 = { class: "flex items-center space-x-2 text-[#525B66]" }, G1 = { class: "text-sm" }, J1 = { class: "text-xs" }, K1 = ["href"], Q1 = { class: "flex flex-nowrap items-center w-max h-[24px]" }, X1 = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full text-[#525B66]" }, Y1 = { class: "py-[8px] pl-0 pr-[8px]" }, e0 = ["href"], t0 = { class: "flex flex-nowrap items-center w-max h-[24px]" }, s0 = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, l0 = { class: "py-[8px] pl-0 pr-[8px]" }, o0 = {
231
231
  key: 3,
232
232
  class: "custom-select ml-3 w-full relative pt-3"
233
- }, r0 = { class: "pl-2" }, i0 = {
233
+ }, n0 = { class: "pl-2" }, a0 = {
234
234
  key: 0,
235
235
  class: "dropdown w-[220px] z-10 text-[#525B66]"
236
- }, p0 = ["onClick"], d0 = {
236
+ }, r0 = ["onClick"], i0 = {
237
237
  key: 0,
238
238
  class: "mt-3 h-0 border-t border-secondary-stroke mb-3"
239
- }, c0 = {
239
+ }, p0 = {
240
240
  key: 0,
241
241
  class: "tooltip-text"
242
- }, u0 = { class: "flex flex-nowrap items-center w-full h-[24px]" }, h0 = { class: "w-[44px] flex-shrink-0 relative" }, C0 = {
242
+ }, d0 = { class: "flex flex-nowrap items-center w-full h-[24px]" }, c0 = { class: "w-[44px] flex-shrink-0 relative" }, u0 = {
243
243
  key: 0,
244
244
  class: "absolute top-0 right-1.5 w-2 h-2 bg-blue-600 text-white rounded-full animate-ping z-0"
245
- }, f0 = {
245
+ }, h0 = {
246
246
  key: 1,
247
247
  class: "absolute top-0 right-1.5 w-2 h-2 bg-blue-500 text-white rounded-full z-10"
248
- }, w0 = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, m0 = { class: "py-[8px] pl-0 pr-[8px]" }, v0 = ["href"], x0 = {
248
+ }, C0 = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, f0 = { class: "py-[8px] pl-0 pr-[8px]" }, w0 = ["href"], m0 = {
249
249
  key: 0,
250
250
  class: "tooltip-text"
251
- }, _0 = { class: "flex flex-nowrap items-center w-full h-[24px]" }, b0 = { class: "w-[44px] flex-shrink-0 relative" }, g0 = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, y0 = { class: "py-[8px] pl-0 pr-[8px]" }, L0 = /* @__PURE__ */ R1(() => /* @__PURE__ */ e("span", null, "Powered by OneB", -1)), k0 = /* @__PURE__ */ X({
251
+ }, v0 = { class: "flex flex-nowrap items-center w-full h-[24px]" }, x0 = { class: "w-[44px] flex-shrink-0 relative" }, _0 = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, b0 = { class: "py-[8px] pl-0 pr-[8px]" }, g0 = /* @__PURE__ */ Z1(() => /* @__PURE__ */ e("span", null, "Powered by OneB", -1)), y0 = /* @__PURE__ */ Q({
252
252
  __name: "OneSidebar",
253
- props: c1,
253
+ props: d1,
254
254
  emits: ["show-news", "show-tariff", "select-language"],
255
255
  setup(p, { emit: d }) {
256
- var u, D, R;
257
- const C = p, L = J(() => {
256
+ var u, R, k;
257
+ const C = p, L = G(() => {
258
258
  var o;
259
259
  return ((o = C.news) == null ? void 0 : o.unseenCount) || 0;
260
260
  }), i = () => {
261
261
  d("show-news");
262
- }, v = U(!1), c = U((u = C.app) != null && u.availableLang && ((D = C.app) == null ? void 0 : D.availableLang.length) > 0 ? (R = C.app) == null ? void 0 : R.availableLang.find((o) => {
262
+ }, v = D(!1), c = D((u = C.app) != null && u.availableLang && ((R = C.app) == null ? void 0 : R.availableLang.length) > 0 ? (k = C.app) == null ? void 0 : k.availableLang.find((o) => {
263
263
  var m;
264
264
  return o.id == ((m = C.app) == null ? void 0 : m.lang);
265
- }) : null), W = () => {
265
+ }) : null), U = () => {
266
266
  v.value = !v.value;
267
- }, G = (o) => {
267
+ }, W = (o) => {
268
268
  c.value = o, v.value = !1, d("select-language", o);
269
269
  }, s = () => {
270
270
  var o, m, x, _;
271
271
  console.log("Selected Plan URL:", (m = (o = C.app) == null ? void 0 : o.selectedPlan) == null ? void 0 : m.url), (_ = (x = C.app) == null ? void 0 : x.selectedPlan) != null && _.url && (window.location.href = C.app.selectedPlan.url);
272
272
  };
273
273
  return (o, m) => {
274
- var x, _, k, $, S, O, B, j, M, V, z, A, H, I, N, P, T, F, q, a, b, Z, e1;
275
- return t(), l("div", E1, [
276
- e("div", U1, [
277
- (t(!0), l(K, null, Q(o.items, (h) => (t(), y(A1, {
274
+ var x, _, $, S, O, B, j, M, V, z, A, I, H, N, P, T, F, q, a, b, Z, Y, e1;
275
+ return t(), l("div", R1, [
276
+ e("div", E1, [
277
+ (t(!0), l(J, null, K(o.items, (h) => (t(), y(V1, {
278
278
  key: h.label,
279
279
  icon: h.icon,
280
280
  label: h.label,
@@ -284,76 +284,76 @@ const R1 = (p) => (i1("data-v-7d2c4502"), p = p(), p1(), p), E1 = { class: "h-fu
284
284
  exact: h.exact || !1,
285
285
  slim: o.slim
286
286
  }, null, 8, ["icon", "label", "route", "href", "route-name", "exact", "slim"]))), 128)),
287
- e("div", W1, [
287
+ e("div", D1, [
288
288
  e("div", {
289
289
  class: w([o.slim ? "hidden" : "w-max"])
290
290
  }, [
291
- (x = o.app) != null && x.selectedPlan ? (t(), l("div", G1, [
292
- e("div", J1, [
293
- f(g(h1), { class: "w-[24px] h-[24px]" }),
291
+ (x = o.app) != null && x.selectedPlan ? (t(), l("div", U1, [
292
+ e("div", W1, [
293
+ f(g(u1), { class: "w-[24px] h-[24px]" }),
294
294
  e("div", null, [
295
- e("p", K1, r(((_ = o.app) == null ? void 0 : _.selectedPlan.name) || "Free"), 1),
296
- e("p", Q1, r(((k = o.app) == null ? void 0 : k.selectedPlan.title) || "Тарифний план"), 1)
295
+ e("p", G1, r(((_ = o.app) == null ? void 0 : _.selectedPlan.name) || "Free"), 1),
296
+ e("p", J1, r((($ = o.app) == null ? void 0 : $.selectedPlan.title) || "Тарифний план"), 1)
297
297
  ])
298
298
  ]),
299
299
  e("div", null, [
300
- f(d1, {
300
+ f(p1, {
301
301
  class: "text-[#525B66] hover:text-[#4089E0]",
302
302
  variant: "touch",
303
- icon: g(v1),
303
+ icon: g(w1),
304
304
  onClick: s
305
305
  }, null, 8, ["icon"])
306
306
  ])
307
307
  ])) : n("", !0),
308
- ($ = o.app) != null && $.terms ? (t(), l("a", {
308
+ (S = o.app) != null && S.terms ? (t(), l("a", {
309
309
  key: 1,
310
- href: (S = o.app) == null ? void 0 : S.terms.url,
310
+ href: (O = o.app) == null ? void 0 : O.terms.url,
311
311
  target: "_blank",
312
312
  class: "ml-3 flex items-center rounded-lg text-xs hover:underline font-extralight"
313
313
  }, [
314
- e("div", Y1, [
315
- e("div", e0, [
316
- e("span", t0, r(((O = o.app) == null ? void 0 : O.terms.label) || "Terms"), 1)
314
+ e("div", Q1, [
315
+ e("div", X1, [
316
+ e("span", Y1, r(((B = o.app) == null ? void 0 : B.terms.label) || "Terms"), 1)
317
317
  ])
318
318
  ])
319
- ], 8, X1)) : n("", !0),
320
- (B = o.app) != null && B.offer ? (t(), l("a", {
319
+ ], 8, K1)) : n("", !0),
320
+ (j = o.app) != null && j.offer ? (t(), l("a", {
321
321
  key: 2,
322
- href: (j = o.app) == null ? void 0 : j.offer.url,
322
+ href: (M = o.app) == null ? void 0 : M.offer.url,
323
323
  target: "_blank",
324
324
  class: "ml-3 flex items-center rounded-lg text-xs hover:underline text-[#525B66] font-extralight"
325
325
  }, [
326
- e("div", l0, [
327
- e("div", o0, [
328
- e("span", n0, r(((M = o.app) == null ? void 0 : M.offer.label) || "Offert"), 1)
326
+ e("div", t0, [
327
+ e("div", s0, [
328
+ e("span", l0, r(((V = o.app) == null ? void 0 : V.offer.label) || "Offert"), 1)
329
329
  ])
330
330
  ])
331
- ], 8, s0)) : n("", !0),
332
- (z = (V = o.app) == null ? void 0 : V.availableLang) != null && z.length ? (t(), l("div", a0, [
331
+ ], 8, e0)) : n("", !0),
332
+ (A = (z = o.app) == null ? void 0 : z.availableLang) != null && A.length ? (t(), l("div", o0, [
333
333
  e("div", {
334
334
  class: "select-box flex gap-x-3 text-xs text-[#525B66] cursor-pointer",
335
- onClick: W
335
+ onClick: U
336
336
  }, [
337
- f(g(D1), { class: "w-4" }),
338
- r1(" " + r((A = c.value) == null ? void 0 : A.name) + " ", 1),
339
- e("span", r0, r(v.value ? "▲" : "▼"), 1)
337
+ f(g(q1), { class: "w-4" }),
338
+ h1(" " + r((I = c.value) == null ? void 0 : I.name) + " ", 1),
339
+ e("span", n0, r(v.value ? "▲" : "▼"), 1)
340
340
  ]),
341
- v.value ? (t(), l("div", i0, [
342
- (t(!0), l(K, null, Q((H = o.app) == null ? void 0 : H.availableLang, (h) => {
341
+ v.value ? (t(), l("div", a0, [
342
+ (t(!0), l(J, null, K((H = o.app) == null ? void 0 : H.availableLang, (h) => {
343
343
  var t1, s1;
344
344
  return t(), l("div", {
345
345
  key: h.id,
346
346
  class: w(["px-2", { "hover:bg-slate-200 rounded-lg cursor-pointer": h.id !== ((t1 = c.value) == null ? void 0 : t1.id), "text-gray-300": h.id === ((s1 = c.value) == null ? void 0 : s1.id) }]),
347
- onClick: (me) => {
347
+ onClick: (fe) => {
348
348
  var l1;
349
- return h.id !== ((l1 = c.value) == null ? void 0 : l1.id) && G(h);
349
+ return h.id !== ((l1 = c.value) == null ? void 0 : l1.id) && W(h);
350
350
  }
351
- }, r(h.name), 11, p0);
351
+ }, r(h.name), 11, r0);
352
352
  }), 128))
353
353
  ])) : n("", !0)
354
354
  ])) : n("", !0)
355
355
  ], 2),
356
- o.slim ? n("", !0) : (t(), l("div", d0)),
356
+ o.slim ? n("", !0) : (t(), l("div", i0)),
357
357
  e("div", {
358
358
  class: w(["flex", [o.slim ? " grid" : "w-max"]])
359
359
  }, [
@@ -363,39 +363,39 @@ const R1 = (p) => (i1("data-v-7d2c4502"), p = p(), p1(), p), E1 = { class: "h-fu
363
363
  class: w(["text-[#525B66] flex items-center rounded-lg text-sm tooltip hover:bg-primary-10-hover hover:text-primary-base transition-all", [(o.slim, "w-[44px] h-[44px]")]]),
364
364
  onClick: i
365
365
  }, [
366
- o.news.menuLabel ? (t(), l("div", c0, r(o.news.menuLabel || "News"), 1)) : n("", !0),
367
- e("div", u0, [
368
- e("div", h0, [
369
- (t(), y(E(u1), { class: "w-[24px] h-[24px] mx-auto" })),
370
- L.value > 0 ? (t(), l("span", C0)) : n("", !0),
371
- L.value > 0 ? (t(), l("span", f0)) : n("", !0)
366
+ o.news.menuLabel ? (t(), l("div", p0, r(o.news.menuLabel || "News"), 1)) : n("", !0),
367
+ e("div", d0, [
368
+ e("div", c0, [
369
+ (t(), y(E(c1), { class: "w-[24px] h-[24px] mx-auto" })),
370
+ L.value > 0 ? (t(), l("span", u0)) : n("", !0),
371
+ L.value > 0 ? (t(), l("span", h0)) : n("", !0)
372
372
  ]),
373
- e("div", w0, [
374
- e("span", m0, r(o.news.menuLabel || "News"), 1)
373
+ e("div", C0, [
374
+ e("span", f0, r(o.news.menuLabel || "News"), 1)
375
375
  ])
376
376
  ])
377
377
  ], 2)) : n("", !0),
378
- (I = o.app) != null && I.support ? (t(), l("a", {
378
+ (N = o.app) != null && N.support ? (t(), l("a", {
379
379
  key: 1,
380
- href: (P = (N = o.app) == null ? void 0 : N.support) == null ? void 0 : P.url,
380
+ href: (T = (P = o.app) == null ? void 0 : P.support) == null ? void 0 : T.url,
381
381
  target: "_blank",
382
382
  class: w(["text-[#525B66] tooltip flex items-center rounded-lg text-sm hover:bg-primary-10-hover hover:text-primary-base transition-all", [(o.slim, "w-[44px] h-[44px]")]])
383
383
  }, [
384
- (F = (T = o.app) == null ? void 0 : T.support) != null && F.label ? (t(), l("div", x0, r(((a = (q = o.app) == null ? void 0 : q.support) == null ? void 0 : a.label) || "Support"), 1)) : n("", !0),
385
- e("div", _0, [
386
- e("div", b0, [
387
- (t(), y(E(g(Z1)), { class: "w-[24px] h-[24px] mx-auto" }))
384
+ (q = (F = o.app) == null ? void 0 : F.support) != null && q.label ? (t(), l("div", m0, r(((b = (a = o.app) == null ? void 0 : a.support) == null ? void 0 : b.label) || "Support"), 1)) : n("", !0),
385
+ e("div", v0, [
386
+ e("div", x0, [
387
+ (t(), y(E(g(F1)), { class: "w-[24px] h-[24px] mx-auto" }))
388
388
  ]),
389
- e("div", g0, [
390
- e("span", y0, r(((Z = (b = o.app) == null ? void 0 : b.support) == null ? void 0 : Z.label) || "Support"), 1)
389
+ e("div", _0, [
390
+ e("span", b0, r(((Y = (Z = o.app) == null ? void 0 : Z.support) == null ? void 0 : Y.label) || "Support"), 1)
391
391
  ])
392
392
  ])
393
- ], 10, v0)) : n("", !0)
393
+ ], 10, w0)) : n("", !0)
394
394
  ], 2),
395
395
  e("p", {
396
396
  class: w([[o.slim ? "hidden" : "w-full"], "text-[8px] pl-3 text-[#979CA9] flex justify-between font-extralight"])
397
397
  }, [
398
- L0,
398
+ g0,
399
399
  e("span", null, r((e1 = o.app) == null ? void 0 : e1.version), 1)
400
400
  ], 2)
401
401
  ])
@@ -404,8 +404,8 @@ const R1 = (p) => (i1("data-v-7d2c4502"), p = p(), p1(), p), E1 = { class: "h-fu
404
404
  };
405
405
  }
406
406
  });
407
- const $0 = /* @__PURE__ */ Y(k0, [["__scopeId", "data-v-7d2c4502"]]);
408
- function S0(p, d) {
407
+ const L0 = /* @__PURE__ */ X(y0, [["__scopeId", "data-v-7d2c4502"]]);
408
+ function k0(p, d) {
409
409
  return t(), l("svg", {
410
410
  xmlns: "http://www.w3.org/2000/svg",
411
411
  fill: "none",
@@ -421,7 +421,7 @@ function S0(p, d) {
421
421
  })
422
422
  ]);
423
423
  }
424
- function O0(p, d) {
424
+ function $0(p, d) {
425
425
  return t(), l("svg", {
426
426
  xmlns: "http://www.w3.org/2000/svg",
427
427
  fill: "none",
@@ -437,78 +437,78 @@ function O0(p, d) {
437
437
  })
438
438
  ]);
439
439
  }
440
- const B0 = (p) => (i1("data-v-ed4027f5"), p = p(), p1(), p), j0 = { class: "h-full relative" }, M0 = {
440
+ const S0 = (p) => (r1("data-v-907ec8fc"), p = p(), i1(), p), O0 = { class: "h-full relative" }, B0 = {
441
441
  class: "header h-[56px] flex items-center flex-nowrap fixed top-0 left-0 w-full z-50",
442
442
  style: { background: "rgba(245, 247, 251, 0.80)", "backdrop-filter": "blur(5px)" }
443
- }, V0 = { class: "p-2 flex-shrink-0" }, z0 = { class: "w-10 h-10 flex items-center flex-shrink-0" }, A0 = ["src"], H0 = { class: "whitespace-nowrap font-semibold text-xl" }, I0 = { class: "text-xs whitespace-nowrap" }, N0 = { class: "w-full" }, P0 = { class: "w-full flex justify-end pr-3" }, T0 = { class: "flex items-center space-x-1" }, F0 = {
443
+ }, j0 = { class: "p-2 flex-shrink-0" }, M0 = { class: "w-10 h-10 flex items-center flex-shrink-0" }, V0 = ["src"], z0 = { class: "whitespace-nowrap font-semibold text-xl" }, A0 = { class: "text-xs whitespace-nowrap" }, I0 = { class: "w-full" }, H0 = { class: "w-full flex justify-end pr-3" }, N0 = { class: "flex items-center space-x-1" }, P0 = {
444
444
  key: 0,
445
445
  class: "module-border-wrap flex justify-center items-center"
446
- }, q0 = { class: "ml-2 hidden sm:flex" }, Z0 = ["href"], D0 = { class: "body w-full h-full" }, R0 = { key: 0 }, E0 = {
446
+ }, T0 = { class: "ml-2 hidden sm:flex" }, F0 = ["href"], q0 = { class: "body w-full h-full" }, Z0 = { key: 0 }, R0 = {
447
447
  key: 0,
448
448
  class: "sm:w-[560px] w-full relative h-full"
449
- }, U0 = { class: "h-full relative" }, W0 = { class: "flex items-center p-3 space-x-1.5" }, G0 = /* @__PURE__ */ B0(() => /* @__PURE__ */ e("div", { class: "w-full font-medium" }, "OneB News", -1)), J0 = {
449
+ }, E0 = { class: "h-full relative" }, D0 = { class: "flex items-center p-3 space-x-1.5" }, U0 = /* @__PURE__ */ S0(() => /* @__PURE__ */ e("div", { class: "w-full font-medium" }, "OneB News", -1)), W0 = {
450
450
  class: "overflow-auto",
451
451
  style: { height: "calc(100% - 62px)" }
452
- }, K0 = {
452
+ }, G0 = {
453
453
  key: 0,
454
454
  class: "p-5"
455
- }, Q0 = { key: 1 }, X0 = { class: "p-4 text-gray text-center" }, Y0 = { key: 2 }, ee = {
455
+ }, J0 = { key: 1 }, K0 = { class: "p-4 text-gray text-center" }, Q0 = { key: 2 }, X0 = {
456
456
  class: "p-3 space-y-1.5 rounded-lg",
457
457
  style: { "box-shadow": "0 0 6px #eaeaea" }
458
- }, te = { key: 0 }, se = {
458
+ }, Y0 = { key: 0 }, ee = {
459
459
  key: 0,
460
460
  class: "text-xs px-2 py-1 rounded-md bg-green-600 text-white"
461
- }, le = {
461
+ }, te = {
462
462
  key: 1,
463
463
  class: "text-xs px-2 py-1 rounded-md bg-yellow-600 text-white"
464
- }, oe = {
464
+ }, se = {
465
465
  key: 2,
466
466
  class: "text-xs px-2 py-1 rounded-md bg-blue-600 text-white"
467
- }, ne = {
467
+ }, le = {
468
468
  key: 3,
469
469
  class: "text-xs px-2 py-1 rounded-md bg-gray-600 text-white"
470
- }, ae = { class: "text-lg font-medium" }, re = { class: "text-sm text-gray-600" }, ie = { key: 0 }, pe = ["src"], de = { class: "text-sm whitespace-pre-wrap break-words" }, ce = { key: 1 }, ue = ["href"], he = { class: "text-sm flex items-center justify-between mt-1" }, Ce = { class: "text-gray-800" }, fe = ["href"], we = /* @__PURE__ */ X({
470
+ }, oe = { class: "text-lg font-medium" }, ne = { class: "text-sm text-gray-600" }, ae = { key: 0 }, re = ["src"], ie = { class: "text-sm whitespace-pre-wrap break-words" }, pe = { key: 1 }, de = ["href"], ce = { class: "text-sm flex items-center justify-between mt-1" }, ue = { class: "text-gray-800" }, he = ["href"], Ce = /* @__PURE__ */ Q({
471
471
  __name: "OneMainLayout",
472
- props: L1,
472
+ props: g1,
473
473
  emits: ["load-news", "load-tariff", "open-tariff"],
474
474
  setup(p, { emit: d }) {
475
475
  const C = p;
476
476
  let L = window.localStorage.getItem("sidebar-slim");
477
477
  window.document.body.offsetWidth < 1024 && (window.localStorage.getItem("sidebar-slim") == null && window.localStorage.setItem("sidebar-slim", "1"), L = "1");
478
- const i = U(L === "1");
478
+ const i = D(L === "1");
479
479
  C1(i, (s) => {
480
480
  window.localStorage.setItem("sidebar-slim", String(s ? 1 : 0));
481
481
  });
482
482
  const v = () => {
483
483
  window.document.body.offsetWidth < 1024 && !i.value && (i.value = !0);
484
- }, c = U(!1), W = () => {
484
+ }, c = D(!1), U = () => {
485
485
  c.value = !c.value, c.value && d("load-news");
486
- }, G = (s) => {
486
+ }, W = (s) => {
487
487
  var u;
488
488
  (u = C.handlers) == null || u.onSetLang(s);
489
489
  };
490
490
  return (s, u) => {
491
- var o, m, x, _, k, $, S, O, B, j, M, V, z, A, H, I, N, P, T, F, q;
492
- const D = n1("RouterLink"), R = f1("tooltip");
493
- return t(), l("div", j0, [
494
- e("div", M0, [
495
- e("div", V0, [
491
+ var k, o, m, x, _, $, S, O, B, j, M, V, z, A, I, H, N, P, T, F, q;
492
+ const R = n1("RouterLink");
493
+ return t(), l("div", O0, [
494
+ e("div", B0, [
495
+ e("div", j0, [
496
496
  e("button", {
497
497
  onClick: u[0] || (u[0] = (a) => i.value = !i.value),
498
498
  class: "w-[44px] h-[44px] p-[8px] flex items-center justify-center rounded hover:bg-secondary-10 hover:text-blue-600"
499
499
  }, [
500
- f(g(S0), { class: "w-[24px] h-[24px]" })
500
+ f(g(k0), { class: "w-[24px] h-[24px]" })
501
501
  ])
502
502
  ]),
503
- e("div", z0, [
503
+ e("div", M0, [
504
504
  s.logoSrc != null ? (t(), l("img", {
505
505
  key: 0,
506
506
  src: s.logoSrc,
507
507
  class: "w-8 h-8 mx-auto",
508
508
  alt: "logo"
509
- }, null, 8, A0)) : n("", !0)
509
+ }, null, 8, V0)) : n("", !0)
510
510
  ]),
511
- s.app != null ? (t(), y(D, {
511
+ s.app != null ? (t(), y(R, {
512
512
  key: 0,
513
513
  to: "/",
514
514
  class: "pl-2 max-w-xs"
@@ -516,17 +516,17 @@ const B0 = (p) => (i1("data-v-ed4027f5"), p = p(), p1(), p), j0 = { class: "h-fu
516
516
  default: a1(() => {
517
517
  var a, b;
518
518
  return [
519
- e("div", H0, r(s.app.name), 1),
520
- e("div", I0, r((b = (a = s.app) == null ? void 0 : a.workspace) == null ? void 0 : b.name), 1)
519
+ e("div", z0, r(s.app.name), 1),
520
+ e("div", A0, r((b = (a = s.app) == null ? void 0 : a.workspace) == null ? void 0 : b.name), 1)
521
521
  ];
522
522
  }),
523
523
  _: 1
524
524
  })) : n("", !0),
525
- e("div", N0, [
526
- e("div", P0, [
527
- e("div", T0, [
525
+ e("div", I0, [
526
+ e("div", H0, [
527
+ e("div", N0, [
528
528
  o1(s.$slots, "before-header-menu", {}, void 0, !0),
529
- s.improveTariff ? (t(), l("div", F0, [
529
+ s.improveTariff ? (t(), l("div", P0, [
530
530
  e("button", {
531
531
  type: "button",
532
532
  class: "cursor-pointer flex items-center h-full bg-[#FFF8E4] hover:bg-[#f2e3b8] rounded-full px-2 py-1 font-medium",
@@ -537,20 +537,20 @@ const B0 = (p) => (i1("data-v-ed4027f5"), p = p(), p1(), p), j0 = { class: "h-fu
537
537
  }),
538
538
  style: { "font-size": "10px" }
539
539
  }, [
540
- f(g(h1), { class: "h-4 w-4 text-[#e1a308f2]" }),
541
- e("span", q0, r((o = s.improveTariff) == null ? void 0 : o.label), 1)
540
+ f(g(u1), { class: "h-4 w-4 text-[#e1a308f2]" }),
541
+ e("span", T0, r((k = s.improveTariff) == null ? void 0 : k.label), 1)
542
542
  ])
543
543
  ])) : n("", !0),
544
- (x = (m = s.app) == null ? void 0 : m.help) != null && x.url ? (t(), l("a", {
544
+ (m = (o = s.app) == null ? void 0 : o.help) != null && m.url ? (t(), l("a", {
545
545
  key: 1,
546
- href: (k = (_ = s.app) == null ? void 0 : _.help) == null ? void 0 : k.url,
546
+ href: (_ = (x = s.app) == null ? void 0 : x.help) == null ? void 0 : _.url,
547
547
  target: "_blank",
548
548
  title: "Help",
549
549
  class: "p-1 rounded-md hover:bg-secondary-10 flex-shrink-0 hidden w-[44px] h-[44px] sm:flex items-center justify-center hover:text-blue-600"
550
550
  }, [
551
- f(g(O0), { class: "text-secondary-base w-full p-1 hover:text-blue-600" })
552
- ], 8, Z0)) : n("", !0),
553
- (($ = s.handlers) == null ? void 0 : $.onBrowse) != null ? (t(), y(x1, {
551
+ f(g($0), { class: "text-secondary-base w-full p-1 hover:text-blue-600" })
552
+ ], 8, F0)) : n("", !0),
553
+ (($ = s.handlers) == null ? void 0 : $.onBrowse) != null ? (t(), y(m1, {
554
554
  key: 2,
555
555
  workspace: (S = s.app) == null ? void 0 : S.workspace,
556
556
  apps: ((O = s.app) == null ? void 0 : O.apps) || [],
@@ -560,12 +560,12 @@ const B0 = (p) => (i1("data-v-ed4027f5"), p = p(), p1(), p), j0 = { class: "h-fu
560
560
  "on-change": (V = s.handlers) == null ? void 0 : V.onChange,
561
561
  onOpen: (z = s.handlers) == null ? void 0 : z.onBrowse
562
562
  }, null, 8, ["workspace", "apps", "change-label", "apps-title", "on-app", "on-change", "onOpen"])) : n("", !0),
563
- f(_1, {
563
+ f(v1, {
564
564
  user: s.user,
565
565
  app: s.app,
566
566
  "account-label": ((A = s.labels) == null ? void 0 : A.account) || "Account",
567
- "logout-label": ((H = s.labels) == null ? void 0 : H.logout) || "Logout",
568
- "version-label": ((I = s.labels) == null ? void 0 : I.version) || "",
567
+ "logout-label": ((I = s.labels) == null ? void 0 : I.logout) || "Logout",
568
+ "version-label": ((H = s.labels) == null ? void 0 : H.version) || "",
569
569
  "on-account": (N = s.handlers) == null ? void 0 : N.onAccount,
570
570
  "on-logout": (P = s.handlers) == null ? void 0 : P.onLogout
571
571
  }, null, 8, ["user", "app", "account-label", "logout-label", "version-label", "on-account", "on-logout"])
@@ -578,86 +578,86 @@ const B0 = (p) => (i1("data-v-ed4027f5"), p = p(), p1(), p), j0 = { class: "h-fu
578
578
  style: { height: "calc(100% - 56px)" },
579
579
  onClick: v
580
580
  }, [
581
- f($0, {
581
+ f(L0, {
582
582
  slim: i.value,
583
583
  app: s.app,
584
584
  items: s.sidebarItems,
585
585
  "with-news": s.news != null,
586
586
  news: s.news,
587
- onShowNews: W,
588
- onSelectLanguage: G
587
+ onShowNews: U,
588
+ onSelectLanguage: W
589
589
  }, null, 8, ["slim", "app", "items", "with-news", "news"])
590
590
  ], 2),
591
- e("div", D0, [
591
+ e("div", q0, [
592
592
  e("div", {
593
593
  class: w(["content transition-all pt-[56px] h-full", [i.value ? "pl-0 lg:pl-[60px]" : "pl-0 lg:pl-60"]])
594
594
  }, [
595
595
  o1(s.$slots, "default", {}, void 0, !0)
596
596
  ], 2)
597
597
  ]),
598
- s.news ? (t(), l("div", R0, [
598
+ s.news ? (t(), l("div", Z0, [
599
599
  c.value ? (t(), l("div", {
600
600
  key: 0,
601
601
  class: "fixed top-0 left-0 h-screen w-screen bg-gray-100 bg-opacity-40 z-50",
602
- onClick: u[2] || (u[2] = w1((a) => c.value = !1, ["self"]))
602
+ onClick: u[2] || (u[2] = f1((a) => c.value = !1, ["self"]))
603
603
  })) : n("", !0),
604
604
  e("div", {
605
605
  class: w(["opacity-100 shadow-lg transition-all fixed top-0 left-0 h-screen overflow-hidden z-50 bg-white", [c.value ? "sm:w-[560px] w-full" : "w-0"]])
606
606
  }, [
607
- c.value ? (t(), l("div", E0, [
608
- e("div", U0, [
609
- e("div", W0, [
610
- f(u1, { class: "w-10 h-10" }),
611
- G0,
607
+ c.value ? (t(), l("div", R0, [
608
+ e("div", E0, [
609
+ e("div", D0, [
610
+ f(c1, { class: "w-10 h-10" }),
611
+ U0,
612
612
  e("div", null, [
613
- f(d1, {
613
+ f(p1, {
614
614
  variant: "touch",
615
- icon: g(g1),
615
+ icon: g(_1),
616
616
  onClick: u[3] || (u[3] = (a) => c.value = !1)
617
617
  }, null, 8, ["icon"])
618
618
  ])
619
619
  ]),
620
- e("div", J0, [
621
- s.news.isLoading && ((T = s.news.items) == null ? void 0 : T.length) === 0 ? (t(), l("div", K0, [
622
- f(b1, { class: "w-6 h-6 text-gray-600 mx-auto" })
623
- ])) : ((F = s.news.items) == null ? void 0 : F.length) === 0 ? (t(), l("div", Q0, [
624
- e("div", X0, r(s.news.emptyText), 1)
625
- ])) : ((q = s.news.items) == null ? void 0 : q.length) > 0 ? (t(), l("div", Y0, [
626
- (t(!0), l(K, null, Q(s.news.items, (a) => (t(), l("div", {
620
+ e("div", W0, [
621
+ s.news.isLoading && ((T = s.news.items) == null ? void 0 : T.length) === 0 ? (t(), l("div", G0, [
622
+ f(x1, { class: "w-6 h-6 text-gray-600 mx-auto" })
623
+ ])) : ((F = s.news.items) == null ? void 0 : F.length) === 0 ? (t(), l("div", J0, [
624
+ e("div", K0, r(s.news.emptyText), 1)
625
+ ])) : ((q = s.news.items) == null ? void 0 : q.length) > 0 ? (t(), l("div", Q0, [
626
+ (t(!0), l(J, null, K(s.news.items, (a) => (t(), l("div", {
627
627
  key: a.id,
628
628
  class: "p-3"
629
629
  }, [
630
- e("div", ee, [
630
+ e("div", X0, [
631
631
  e("div", null, [
632
- a.type ? (t(), l("div", te, [
633
- a.type === 10 ? (t(), l("span", se, "update")) : a.type === 11 ? (t(), l("span", le, "warning")) : a.type === 12 ? (t(), l("span", oe, "notice")) : a.type === 13 ? (t(), l("span", ne, "ads")) : n("", !0)
632
+ a.type ? (t(), l("div", Y0, [
633
+ a.type === 10 ? (t(), l("span", ee, "update")) : a.type === 11 ? (t(), l("span", te, "warning")) : a.type === 12 ? (t(), l("span", se, "notice")) : a.type === 13 ? (t(), l("span", le, "ads")) : n("", !0)
634
634
  ])) : n("", !0),
635
- e("div", ae, r(a.title), 1),
636
- e("div", re, r(a.summary), 1)
635
+ e("div", oe, r(a.title), 1),
636
+ e("div", ne, r(a.summary), 1)
637
637
  ]),
638
- a.image_url ? (t(), l("div", ie, [
638
+ a.image_url ? (t(), l("div", ae, [
639
639
  e("img", {
640
640
  src: a.image_url,
641
641
  alt: "",
642
642
  class: "w-full rounded-md"
643
- }, null, 8, pe)
643
+ }, null, 8, re)
644
644
  ])) : n("", !0),
645
- e("div", de, r(a.body), 1),
646
- a.video_url ? (t(), l("div", ce, [
645
+ e("div", ie, r(a.body), 1),
646
+ a.video_url ? (t(), l("div", pe, [
647
647
  e("a", {
648
648
  href: a.video_url,
649
649
  target: "_blank",
650
650
  class: "text-blue-600 hover:text-blue-700 px-3 py-2 border rounded-md w-full block"
651
- }, r(s.news.openVideoText), 9, ue)
651
+ }, r(s.news.openVideoText), 9, de)
652
652
  ])) : n("", !0),
653
- e("div", he, [
654
- e("span", Ce, r(a.published), 1),
653
+ e("div", ce, [
654
+ e("span", ue, r(a.published), 1),
655
655
  a.post_url ? (t(), l("a", {
656
656
  key: 0,
657
657
  href: a.post_url,
658
658
  target: "_blank",
659
659
  class: "text-blue-600 hover:text-blue-700 block"
660
- }, r(s.news.moreText), 9, fe)) : n("", !0)
660
+ }, r(s.news.moreText), 9, he)) : n("", !0)
661
661
  ])
662
662
  ])
663
663
  ]))), 128))
@@ -666,18 +666,13 @@ const B0 = (p) => (i1("data-v-ed4027f5"), p = p(), p1(), p), j0 = { class: "h-fu
666
666
  ])
667
667
  ])) : n("", !0)
668
668
  ], 2)
669
- ])) : n("", !0),
670
- m1((t(), l("button", null, [
671
- r1("Hover over me")
672
- ])), [
673
- [R, "This is a tooltip"]
674
- ])
669
+ ])) : n("", !0)
675
670
  ]);
676
671
  };
677
672
  }
678
673
  });
679
- const Le = /* @__PURE__ */ Y(we, [["__scopeId", "data-v-ed4027f5"]]);
674
+ const ge = /* @__PURE__ */ X(Ce, [["__scopeId", "data-v-907ec8fc"]]);
680
675
  export {
681
- Le as OneMainLayout,
682
- $0 as OneSidebar
676
+ ge as OneMainLayout,
677
+ L0 as OneSidebar
683
678
  };
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .text9[data-v-4936d4e4]{font-size:9px}.h-browser[data-v-4936d4e4]{height:calc(100% - 75px)}.dropdown[data-v-7d2c4502]{position:absolute;background:white;border:1px solid #ccc;border-radius:5px;padding:10px;bottom:100%;left:0}.tooltip[data-v-7d2c4502]{position:relative}.tooltip-text[data-v-7d2c4502]{visibility:hidden;background-color:#000;color:#fff;text-align:center;padding:5px;border-radius:6px;position:absolute;z-index:1;bottom:125%;left:50%;transform:translate(-50%);opacity:0;transition:opacity .3s}.tooltip:hover .tooltip-text[data-v-7d2c4502]{visibility:visible;opacity:1}.module-border-wrap[data-v-ed4027f5]{border-radius:14px;position:relative;background:linear-gradient(to right,#e1a508,#e04040);padding:1px}@keyframes one-sp-ico-rot{to{transform:rotate(360deg)}}@keyframes one-sp-ico-dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}
1
+ .text9[data-v-4936d4e4]{font-size:9px}.h-browser[data-v-4936d4e4]{height:calc(100% - 75px)}.dropdown[data-v-7d2c4502]{position:absolute;background:white;border:1px solid #ccc;border-radius:5px;padding:10px;bottom:100%;left:0}.tooltip[data-v-7d2c4502]{position:relative}.tooltip-text[data-v-7d2c4502]{visibility:hidden;background-color:#000;color:#fff;text-align:center;padding:5px;border-radius:6px;position:absolute;z-index:1;bottom:125%;left:50%;transform:translate(-50%);opacity:0;transition:opacity .3s}.tooltip:hover .tooltip-text[data-v-7d2c4502]{visibility:visible;opacity:1}.module-border-wrap[data-v-907ec8fc]{border-radius:14px;position:relative;background:linear-gradient(to right,#e1a508,#e04040);padding:1px}@keyframes one-sp-ico-rot{to{transform:rotate(360deg)}}@keyframes one-sp-ico-dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneb/ui-vue",
3
- "version": "0.0.74",
3
+ "version": "0.0.75",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "files": [