@oneb/ui-vue 0.0.89 → 0.0.90

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("../OneBrowserMenu-3650ed5d.cjs"),H=require("../_plugin-vue_export-helper-f246444f.cjs"),F=require("../index-668faddf.cjs"),ue=require("../XMarkIcon-f94baa4c.cjs");require("../common/index.cjs");const de={items:{required:!0,type:Array},slim:{type:Boolean,default:!0},app:{type:Object},minimizedWidth:{type:String,default:"4rem"},width:{type:String,default:"16rem"},minimized:{type:Boolean,default:!1},hoverable:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!0},news:{type:Object}},he={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},labelTop:{type:String,required:!0},icon:{type:[Function,Object]},exact:{type:Boolean,required:!1,default:!1},slim:{type:Boolean,default:!0},open:{type:Boolean,default:!1},subItems:{type:Array,required:!1}},Ce={sidebarItems:de.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}};function fe(a,i){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 ve(a,i){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 ke(a,i){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 we(a,i){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 xe=["href"],ye={class:"flex flex-nowrap items-center w-full h-[24px]"},be={key:0,class:"w-[44px] flex-shrink-0"},ge={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},Be={class:"py-[8px] pl-0 pr-0"},_e={key:1,style:{"font-size":"10px"},class:"text-[#979CA9] uppercase px-2 pt-2 font-medium"},Ve={class:"flex flex-nowrap items-center w-full h-[24px]"},Ee={key:0,class:"w-[44px] flex-shrink-0"},Ne={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},Le={class:"py-[8px] pl-0 pr-0"},$e={key:1,class:"p-3"},Se={class:"flex flex-nowrap items-center w-full h-[24px] mb-0.5"},De={key:0,class:"w-[44px] flex-shrink-0"},ze={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},Me={class:"py-[8px] pl-0 pr-0"},Oe={key:1,class:"p-3"},je=["href"],Ie={class:"flex items-center justify-between min-w-full h-[24px]"},Te={class:"text-xs"},Ae={key:0,class:"pr-3"},Fe={class:"text-xs"},He={key:0,class:"pr-3"},Pe=e.defineComponent({__name:"OneSidebarLink",props:he,emits:["update-collapsed"],setup(a,{emit:i}){const l=a,r=e.computed(()=>l.href??!1),h=e.computed(()=>u(l)),u=t=>t.route?t.route:t.routeName?{name:t.routeName}:"",s=e.ref(l.open),C=()=>{s.value=!s.value},g=t=>{l.subItems&&l.subItems.length>0&&(t.preventDefault(),C())};return(t,d)=>{const B=e.resolveComponent("RouterLink");return e.openBlock(),e.createElementBlock(e.Fragment,null,[r.value?(e.openBlock(),e.createElementBlock("a",{key:0,href:r.value,class:e.normalizeClass(["flex items-center relative rounded-lg text-sm font-medium hover:bg-primary-10-hover hover:text-primary-base transition-all text-[#525B66] mb-0.5",[t.slim?"w-[44px] h-[44px]":"h-[44px] w-full"]]),onClick:g},[e.createElementVNode("div",ye,[t.icon?(e.openBlock(),e.createElementBlock("div",be,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon),{class:"w-[24px] h-[24px] mx-auto"}))])):e.createCommentVNode("",!0),e.createElementVNode("div",ge,[e.createElementVNode("span",Be,e.toDisplayString(t.label),1)]),l.subItems&&l.subItems.length>0?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["ml-auto",[t.slim?"hidden":""]])},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.value?e.unref(v.render):e.unref(v.render$1)),{class:"w-[16px] h-[16px]"}))],2)):e.createCommentVNode("",!0)])],10,xe)):e.createCommentVNode("",!0),t.labelTop&&!t.slim?(e.openBlock(),e.createElementBlock("p",_e,e.toDisplayString(t.labelTop),1)):e.createCommentVNode("",!0),!r.value&&h.value?(e.openBlock(),e.createBlock(B,{key:2,to:h.value,class:e.normalizeClass(["relative flex items-center cursor-pointer rounded-lg text-sm font-medium hover:bg-primary-10-hover hover:text-primary-base transition-all text-[#525B66] mb-0.5",[t.slim?"w-[44px] h-[44px]":"h-[44px] w-full"]]),"active-class":"bg-primary-10 !text-primary-base","exact-active-class":"bg-primary-10 !text-primary-base",exact:t.exact,onClick:e.withModifiers(g,["prevent"])},{default:e.withCtx(()=>[e.createElementVNode("div",Ve,[t.icon?(e.openBlock(),e.createElementBlock("div",Ee,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon),{class:"w-[24px] h-[24px] mx-auto"}))])):e.createCommentVNode("",!0),e.createElementVNode("div",Ne,[e.createElementVNode("span",Le,e.toDisplayString(t.label),1)]),l.subItems&&l.subItems.length>0&&!t.slim?(e.openBlock(),e.createElementBlock("div",$e,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.value?e.unref(v.render):e.unref(v.render$1)),{class:"w-[16px] h-[16px]"}))])):e.createCommentVNode("",!0)])]),_:1},8,["to","exact","class"])):e.createCommentVNode("",!0),!r.value&&!h.value?(e.openBlock(),e.createElementBlock("span",{key:3,onClick:e.withModifiers(g,["prevent"]),class:e.normalizeClass([[t.slim?"w-[44px] h-[44px]":"h-[44px] w-full"],"mb-0.5 relative flex items-center cursor-pointer rounded-lg text-sm font-medium hover:bg-primary-10-hover hover:text-primary-base transition-all text-[#525B66]"])},[e.createElementVNode("div",Se,[t.icon?(e.openBlock(),e.createElementBlock("div",De,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon),{class:"w-[24px] h-[24px] mx-auto"}))])):e.createCommentVNode("",!0),e.createElementVNode("div",ze,[e.createElementVNode("span",Me,e.toDisplayString(t.label),1)]),l.subItems&&l.subItems.length>0&&!t.slim?(e.openBlock(),e.createElementBlock("div",Oe,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.value?e.unref(v.render):e.unref(v.render$1)),{class:"w-[16px] h-[16px]"}))])):e.createCommentVNode("",!0)])],2)):e.createCommentVNode("",!0),s.value&&l.subItems?(e.openBlock(),e.createElementBlock("div",{key:4,class:e.normalizeClass([t.slim?"hidden":"pl-[36px] pr-3"])},[e.createElementVNode("div",{class:e.normalizeClass([(t.slim,"")])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.subItems,p=>(e.openBlock(),e.createElementBlock("div",{key:p.label,class:e.normalizeClass([(t.slim,"")])},[p.href?(e.openBlock(),e.createElementBlock("a",{key:0,href:p.href,class:"flex items-center mb-0.5rounded-lg p-2 text-sm font-medium hover:bg-primary-10-hover hover:text-primary-base transition-all text-[#525B66]"},[e.createElementVNode("div",Ie,[e.createElementVNode("span",Te,e.toDisplayString(p.label),1),p.icon?(e.openBlock(),e.createElementBlock("div",Ae,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(p.icon),{class:"w-[20px] h-[20px] mx-auto"}))])):e.createCommentVNode("",!0)])],8,je)):(e.openBlock(),e.createBlock(B,{key:1,to:u(p),class:"flex items-center rounded-lg p-2 text-sm font-medium hover:bg-primary-10-hover mb-0.5 hover:text-primary-base transition-all text-[#525B66]",exact:t.exact,"active-class":"bg-primary-10 !text-primary-base","exact-active-class":"bg-primary-10 !text-primary-base"},{default:e.withCtx(()=>[e.createElementVNode("span",Fe,e.toDisplayString(p.label),1),p.icon?(e.openBlock(),e.createElementBlock("div",He,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(p.icon),{class:"w-[20px] h-[20px] mx-auto"}))])):e.createCommentVNode("",!0)]),_:2},1032,["to","exact"]))],2))),128))],2)],2)):e.createCommentVNode("",!0)],64)}}}),qe={},We={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function Re(a,i){return e.openBlock(),e.createElementBlock("svg",We,i[0]||(i[0]=[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),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),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)]))}const pe=H._export_sfc(qe,[["render",Re]]),ie=a=>{if(Array.isArray(a))return a.map(e.unref);const i=e.unref(a);return Array.isArray(i)?i:[i]},Ue=(a,i)=>{let l;const r=h=>{h.forEach(u=>{const s=e.unref(u);if(s){if(!(s instanceof Element))throw console.error("Vuestic: Trying to observe non-HTMLElement",{target:s,array:a}),new Error("Vuestic: Unable to observe non-HTMLElement");s&&(l==null||l.observe(s))}})};return e.watch(a,h=>{l==null||l.disconnect(),r(ie(h))}),e.onMounted(()=>{l=new ResizeObserver(i),r(ie(a))}),e.onBeforeUnmount(()=>l==null?void 0:l.disconnect()),l},Ze=a=>{const i=e.ref(null);return Ue([a],()=>{var l;i.value=((l=a.value)==null?void 0:l.clientWidth)??null}),e.watchEffect(()=>{var l;i.value=((l=a.value)==null?void 0:l.clientWidth)??null}),i},Xe=["href"],Ge={class:"relative rounded-lg bg-[#FFF8E4] px-2 py-3"},Je={class:"w-[44px] mx-auto"},Ke={class:"text-center text-xs pt-2"},Qe={key:1,class:"flex justify-between border rounded-lg p-2 bg-[#F5F5F5] mb-3 w-full"},Ye={class:"flex items-center space-x-2 text-[#525B66]"},e1={class:"w-[24px] mx-auto"},t1={class:"text-sm"},o1={class:"text-xs"},l1=["href"],n1={class:"flex flex-nowrap items-center w-max h-[24px]"},r1={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full text-[#525B66]"},s1={class:"py-[8px] pl-0 pr-[8px]"},a1=["href"],c1={class:"flex flex-nowrap items-center w-max h-[24px]"},i1={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},d1={class:"py-[8px] pl-0 pr-[8px]"},p1={key:4,class:"custom-select ml-3 w-full relative pt-3"},m1={class:"pl-2"},u1={key:0,class:"dropdown w-[220px] z-10 text-[#525B66]"},h1=["onClick"],C1={key:0,class:"mt-3 h-0 border-t border-secondary-stroke mb-3"},f1={class:"flex flex-nowrap items-center w-full h-[24px]"},v1={class:"w-[44px] flex-shrink-0 relative"},k1={key:0,class:"absolute top-0 right-1.5 w-2 h-2 bg-blue-600 text-white rounded-full animate-ping z-0"},w1={key:1,class:"absolute top-0 right-1.5 w-2 h-2 bg-blue-500 text-white rounded-full z-10"},x1={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},y1={class:"py-[8px] pl-0 pr-[8px]"},b1=["href"],g1={class:"flex flex-nowrap items-center w-full h-[24px]"},B1={class:"w-[44px] flex-shrink-0 relative"},_1={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},V1={class:"py-[8px] pl-0 pr-[8px]"},E1=e.defineComponent({__name:"OneSidebar",props:de,emits:["show-news","show-tariff","select-language","update-collapsed","update:modelValue"],setup(a,{emit:i}){var N,L,$;const l=i,r=a,h=e.computed(()=>{var o;return((o=r.news)==null?void 0:o.unseenCount)||0}),u=()=>{l("show-news")},s=e.ref(!1),C=e.ref(r.hoverable);e.watch(r,()=>{r.modelValue?C.value=!0:C.value=!1}),r.modelValue&&(C.value=!0);const g=e.shallowRef(),t=e.computed(()=>""),d=e.computed(()=>"");e.computed(()=>p.value?r.minimizedWidth:r.width);const B=o=>{s.value=C.value&&o},p=e.computed(()=>C.value&&!s.value),f=e.computed(()=>!!p.value),_=e.ref(),V=Ze(_),E=e.computed(()=>r.modelValue===!0||V.value===null?!0:V.value>0),O=e.ref(),j=()=>p.value?r.minimizedWidth:r.width;e.watchEffect(()=>{const o=j();setTimeout(()=>{O.value=o})});const k=e.ref(!1),w=e.ref((N=r.app)!=null&&N.availableLang&&((L=r.app)==null?void 0:L.availableLang.length)>0?($=r.app)==null?void 0:$.availableLang.find(o=>{var m;return o.id==((m=r.app)==null?void 0:m.lang)}):null),I=()=>{k.value=!k.value},T=o=>{w.value=o,k.value=!1,l("select-language",o)},A=()=>{var o,m,x,y;console.log("Selected Plan URL:",(m=(o=r.app)==null?void 0:o.selectedPlan)==null?void 0:m.url),(y=(x=r.app)==null?void 0:x.selectedPlan)!=null&&y.url&&(window.location.href=r.app.selectedPlan.url)};return(o,m)=>{var x,y,S,D,z,n,b,M,P,q,W,R,U,Z,X,G,J,K,Q,Y,ee,te,oe,le,ne,re;return e.openBlock(),e.createElementBlock("aside",{ref_key:"rootElement",ref:g,class:e.normalizeClass(["oneb-sidebar space-y-1 pt-[56px] p-2 cont",t.value]),style:e.normalizeStyle(d.value),onMouseenter:m[0]||(m[0]=c=>B(!0)),onMouseleave:m[1]||(m[1]=c=>B(!1))},[e.withDirectives(e.createElementVNode("div",{class:"overflow-y-auto top-[56px] left-0 overflow-hidden bg-white lg:bg-transparent transition-all z-50",ref_key:"menu",ref:_},[e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.items,c=>(e.openBlock(),e.createBlock(Pe,{key:c.label,labelTop:c.labelTop,subItemsVisible:c==null?void 0:c.subItemsVisible,subItems:c.subItems,open:c.open,icon:c.icon,label:c.label,route:c.route,href:c.href,slim:f.value,"route-name":c.routeName,exact:c.exact||!1},null,8,["labelTop","subItemsVisible","subItems","open","icon","label","route","href","slim","route-name","exact"]))),128))])],512),[[e.vShow,E.value]]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",{class:e.normalizeClass([f.value?"hidden":"w-full"])},[(x=o.app)!=null&&x.offerPlan?(e.openBlock(),e.createElementBlock("a",{key:0,href:(y=o.app)==null?void 0:y.offerPlan.url,class:"relative w-full border rounded-lg p-[1px] bg-[#FFF8E4] mb-3 block",target:"_blank",rel:"noopener noreferrer"},[m[2]||(m[2]=e.createElementVNode("div",{class:"absolute inset-0 rounded-lg bg-gradient-to-r from-[#E1A508] via-red-500 to-[#E04040]"},null,-1)),e.createElementVNode("div",Ge,[e.createElementVNode("div",Je,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent((S=o.app)==null?void 0:S.offerPlan.icon),{class:"w-[24px] h-[24px] mx-auto"}))]),e.createElementVNode("p",Ke,e.toDisplayString((D=o.app)==null?void 0:D.offerPlan.title)+" «"+e.toDisplayString((z=o.app)==null?void 0:z.offerPlan.name)+"» "+e.toDisplayString((n=o.app)==null?void 0:n.offerPlan.title1),1)])],8,Xe)):e.createCommentVNode("",!0),(b=o.app)!=null&&b.selectedPlan?(e.openBlock(),e.createElementBlock("div",Qe,[e.createElementVNode("div",Ye,[e.createElementVNode("div",e1,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent((M=o.app)==null?void 0:M.selectedPlan.icon),{class:"w-[24px] h-[24px]"}))]),e.createElementVNode("div",null,[e.createElementVNode("p",t1,e.toDisplayString(((P=o.app)==null?void 0:P.selectedPlan.name)||"Free"),1),e.createElementVNode("p",o1,e.toDisplayString(((q=o.app)==null?void 0:q.selectedPlan.title)||"Тарифний план"),1)])]),e.createElementVNode("div",null,[e.createVNode(F._sfc_main,{class:"text-[#525B66] hover:text-[#4089E0]",variant:"touch",icon:e.unref(v.render$2),onClick:A},null,8,["icon"])])])):e.createCommentVNode("",!0),(W=o.app)!=null&&W.terms?(e.openBlock(),e.createElementBlock("a",{key:2,href:(R=o.app)==null?void 0:R.terms.url,target:"_blank",class:"ml-3 flex items-center rounded-lg text-xs hover:underline font-extralight"},[e.createElementVNode("div",n1,[e.createElementVNode("div",r1,[e.createElementVNode("span",s1,e.toDisplayString(((U=o.app)==null?void 0:U.terms.label)||"Terms"),1)])])],8,l1)):e.createCommentVNode("",!0),(Z=o.app)!=null&&Z.offer?(e.openBlock(),e.createElementBlock("a",{key:3,href:(X=o.app)==null?void 0:X.offer.url,target:"_blank",class:"ml-3 flex items-center rounded-lg text-xs hover:underline text-[#525B66] font-extralight"},[e.createElementVNode("div",c1,[e.createElementVNode("div",i1,[e.createElementVNode("span",d1,e.toDisplayString(((G=o.app)==null?void 0:G.offer.label)||"Offert"),1)])])],8,a1)):e.createCommentVNode("",!0),(K=(J=o.app)==null?void 0:J.availableLang)!=null&&K.length?(e.openBlock(),e.createElementBlock("div",p1,[e.createElementVNode("div",{class:"select-box flex gap-x-3 text-xs text-[#525B66] cursor-pointer",onClick:I},[e.createVNode(e.unref(ke),{class:"w-4"}),e.createTextVNode(" "+e.toDisplayString((Q=w.value)==null?void 0:Q.name)+" ",1),e.createElementVNode("span",m1,e.toDisplayString(k.value?"▲":"▼"),1)]),k.value?(e.openBlock(),e.createElementBlock("div",u1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Y=o.app)==null?void 0:Y.availableLang,c=>{var se,ae;return e.openBlock(),e.createElementBlock("div",{key:c.id,class:e.normalizeClass(["px-2",{"hover:bg-slate-200 rounded-lg cursor-pointer":c.id!==((se=w.value)==null?void 0:se.id),"text-gray-300":c.id===((ae=w.value)==null?void 0:ae.id)}]),onClick:vt=>{var ce;return c.id!==((ce=w.value)==null?void 0:ce.id)&&T(c)}},e.toDisplayString(c.name),11,h1)}),128))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2),f.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",C1)),e.createElementVNode("div",{class:e.normalizeClass(["flex",[o.slim?" grid":"grid"]])},[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",[f.value?"w-[44px] h-[44px]":"w-full h-[44px]"]]),onClick:u},[e.createElementVNode("div",f1,[e.createElementVNode("div",v1,[e.createElementVNode("div",null,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(pe),{class:"w-[24px] h-[24px] mx-auto"}))]),h.value>0?(e.openBlock(),e.createElementBlock("span",k1)):e.createCommentVNode("",!0),h.value>0?(e.openBlock(),e.createElementBlock("span",w1)):e.createCommentVNode("",!0)]),e.createElementVNode("div",x1,[e.createElementVNode("span",y1,e.toDisplayString(o.news.menuLabel||"News"),1)])])],2)):e.createCommentVNode("",!0),(ee=o.app)!=null&&ee.support?(e.openBlock(),e.createElementBlock("a",{key:1,href:(oe=(te=o.app)==null?void 0:te.support)==null?void 0:oe.url,class:e.normalizeClass(["text-[#525B66] flex items-center rounded-lg text-sm tooltip hover:bg-primary-10-hover hover:text-primary-base transition-all",[f.value?"w-[44px] h-[44px]":"w-full h-[44px]"]])},[e.createElementVNode("div",g1,[e.createElementVNode("div",B1,[e.createElementVNode("div",null,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(ve)),{class:"w-[24px] h-[24px] mx-auto"}))])]),e.createElementVNode("div",_1,[e.createElementVNode("span",V1,e.toDisplayString(((ne=(le=o.app)==null?void 0:le.support)==null?void 0:ne.label)||"Support"),1)])])],10,b1)):e.createCommentVNode("",!0)],2),e.createElementVNode("p",{class:e.normalizeClass([[f.value?"hidden":"w-full"],"text-[8px] pl-3 text-[#979CA9] flex justify-between font-extralight"])},[m[3]||(m[3]=e.createElementVNode("span",null,"Powered by OneB",-1)),e.createElementVNode("span",null,e.toDisplayString((re=o.app)==null?void 0:re.version),1)],2)],512),[[e.vShow,E.value]])],38)}}});const me=H._export_sfc(E1,[["__scopeId","data-v-22abc011"]]),N1={class:"h-full relative"},L1={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)"}},$1={class:"p-2 flex-shrink-0"},S1={class:"w-10 h-10 flex items-center flex-shrink-0"},D1=["src"],z1={class:"whitespace-nowrap font-semibold text-xl"},M1={class:"text-xs whitespace-nowrap"},O1={class:"w-full"},j1={class:"w-full flex justify-end pr-3"},I1={class:"flex items-center space-x-1"},T1={key:0,class:"module-border-wrap flex justify-center items-center"},A1={class:"h-4 w-4"},F1={class:"ml-2 hidden sm:flex"},H1=["href"],P1={class:"flex h-full"},q1={class:"content transition-all pt-[56px]"},W1={key:0},R1={key:0,class:"sm:w-[560px] w-full relative h-full"},U1={class:"h-full relative"},Z1={class:"flex items-center p-3 space-x-1.5"},X1={class:"overflow-auto",style:{height:"calc(100% - 62px)"}},G1={key:0,class:"p-5"},J1={key:1},K1={class:"p-4 text-gray text-center"},Q1={key:2},Y1={class:"p-3 space-y-1.5 rounded-lg",style:{"box-shadow":"0 0 6px #eaeaea"}},et={key:0},tt={key:0,class:"text-xs px-2 py-1 rounded-md bg-green-600 text-white"},ot={key:1,class:"text-xs px-2 py-1 rounded-md bg-yellow-600 text-white"},lt={key:2,class:"text-xs px-2 py-1 rounded-md bg-blue-600 text-white"},nt={key:3,class:"text-xs px-2 py-1 rounded-md bg-gray-600 text-white"},rt={class:"text-lg font-medium"},st={class:"text-sm text-gray-600"},at={key:0},ct=["src"],it={class:"text-sm whitespace-pre-wrap break-words"},dt={key:1},pt=["href"],mt={class:"text-sm flex items-center justify-between mt-1"},ut={class:"text-gray-800"},ht=["href"],Ct=e.defineComponent({__name:"OneMainLayout",props:Ce,emits:["load-news","load-tariff","open-tariff"],setup(a,{emit:i}){const l=i,r=a;let h=window.localStorage.getItem("sidebar-slim");window.document.body.offsetWidth<1024&&(window.localStorage.getItem("sidebar-slim")==null&&window.localStorage.setItem("sidebar-slim","1"),h="1");const u=e.ref(h==="1");e.ref(!0),e.watch(u,t=>{window.localStorage.setItem("sidebar-slim",String(t?1:0))});const s=e.ref(!1),C=()=>{s.value=!s.value,s.value&&l("load-news")},g=t=>{var d;(d=r.handlers)==null||d.onSetLang(t)};return(t,d)=>{var p,f,_,V,E,O,j,k,w,I,T,A,N,L,$,o,m,x,y,S,D,z;const B=e.resolveComponent("RouterLink");return e.openBlock(),e.createElementBlock("div",N1,[e.createElementVNode("div",L1,[e.createElementVNode("div",$1,[e.createElementVNode("button",{onClick:d[0]||(d[0]=n=>u.value=!u.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(fe),{class:"w-[24px] h-[24px]"})])]),e.createElementVNode("div",S1,[t.logoSrc!=null?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.logoSrc,class:"w-8 h-8 mx-auto",alt:"logo"},null,8,D1)):e.createCommentVNode("",!0)]),t.app!=null?(e.openBlock(),e.createBlock(B,{key:0,to:"/",class:"pl-2 max-w-xs"},{default:e.withCtx(()=>{var n,b;return[e.createElementVNode("div",z1,e.toDisplayString(t.app.name),1),e.createElementVNode("div",M1,e.toDisplayString((b=(n=t.app)==null?void 0:n.workspace)==null?void 0:b.name),1)]}),_:1})):e.createCommentVNode("",!0),e.createElementVNode("div",O1,[e.createElementVNode("div",j1,[e.createElementVNode("div",I1,[e.renderSlot(t.$slots,"before-header-menu",{},void 0,!0),t.improveTariff?(e.openBlock(),e.createElementBlock("div",T1,[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:d[1]||(d[1]=(...n)=>{var b,M;return((b=t.handlers)==null?void 0:b.onImproveTariff)&&((M=t.handlers)==null?void 0:M.onImproveTariff(...n))}),style:{"font-size":"10px"}},[e.createElementVNode("div",A1,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent((p=t.improveTariff)==null?void 0:p.icon),{class:"h-4 w-4 mx-auto"}))]),e.createElementVNode("span",F1,e.toDisplayString((f=t.improveTariff)==null?void 0:f.label),1)])])):e.createCommentVNode("",!0),(V=(_=t.app)==null?void 0:_.help)!=null&&V.url?(e.openBlock(),e.createElementBlock("a",{key:1,href:(O=(E=t.app)==null?void 0:E.help)==null?void 0:O.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(we),{class:"text-secondary-base w-full p-1 hover:text-blue-600"})],8,H1)):e.createCommentVNode("",!0),((j=t.handlers)==null?void 0:j.onBrowse)!=null?(e.openBlock(),e.createBlock(v.OneBrowserMenu,{key:2,workspace:(k=t.app)==null?void 0:k.workspace,apps:((w=t.app)==null?void 0:w.apps)||[],"change-label":((I=t.labels)==null?void 0:I.change)||"Change","apps-title":((T=t.labels)==null?void 0:T.apps)||"Apps","on-app":(A=t.handlers)==null?void 0:A.onApp,"on-change":(N=t.handlers)==null?void 0:N.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(v._sfc_main$2,{user:t.user,app:t.app,"account-label":(($=t.labels)==null?void 0:$.account)||"Account","logout-label":((o=t.labels)==null?void 0:o.logout)||"Logout","version-label":((m=t.labels)==null?void 0:m.version)||"","on-account":(x=t.handlers)==null?void 0:x.onAccount,"on-logout":(y=t.handlers)==null?void 0:y.onLogout},null,8,["user","app","account-label","logout-label","version-label","on-account","on-logout"])])])])]),e.createElementVNode("div",P1,[e.createElementVNode("div",null,[e.createVNode(me,{slim:u.value,app:t.app,items:t.sidebarItems,"with-news":t.news!=null,news:t.news,modelValue:u.value,"onUpdate:modelValue":d[2]||(d[2]=n=>u.value=n),onShowNews:C,onSelectLanguage:g,onUpdateCollapsed:d[3]||(d[3]=n=>u.value=!u.value)},null,8,["slim","app","items","with-news","news","modelValue"])]),e.createElementVNode("div",{class:e.normalizeClass([[u.value?"":"hidden lg:block"],"body w-full overflow-y-auto"])},[e.createElementVNode("div",q1,[e.renderSlot(t.$slots,"default",{},void 0,!0)])],2)]),t.news?(e.openBlock(),e.createElementBlock("div",W1,[s.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:d[4]||(d[4]=e.withModifiers(n=>s.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",[s.value?"sm:w-[560px] w-full":"w-0"]])},[s.value?(e.openBlock(),e.createElementBlock("div",R1,[e.createElementVNode("div",U1,[e.createElementVNode("div",Z1,[e.createVNode(pe,{class:"w-10 h-10"}),d[6]||(d[6]=e.createElementVNode("div",{class:"w-full font-medium"},"OneB News",-1)),e.createElementVNode("div",null,[e.createVNode(F._sfc_main,{variant:"touch",icon:e.unref(ue.render),onClick:d[5]||(d[5]=n=>s.value=!1)},null,8,["icon"])])]),e.createElementVNode("div",X1,[t.news.isLoading&&((S=t.news.items)==null?void 0:S.length)===0?(e.openBlock(),e.createElementBlock("div",G1,[e.createVNode(F.SpinnerIcon,{class:"w-6 h-6 text-gray-600 mx-auto"})])):((D=t.news.items)==null?void 0:D.length)===0?(e.openBlock(),e.createElementBlock("div",J1,[e.createElementVNode("div",K1,e.toDisplayString(t.news.emptyText),1)])):((z=t.news.items)==null?void 0:z.length)>0?(e.openBlock(),e.createElementBlock("div",Q1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.news.items,n=>(e.openBlock(),e.createElementBlock("div",{key:n.id,class:"p-3"},[e.createElementVNode("div",Y1,[e.createElementVNode("div",null,[n.type?(e.openBlock(),e.createElementBlock("div",et,[n.type===10?(e.openBlock(),e.createElementBlock("span",tt,"update")):n.type===11?(e.openBlock(),e.createElementBlock("span",ot,"warning")):n.type===12?(e.openBlock(),e.createElementBlock("span",lt,"notice")):n.type===13?(e.openBlock(),e.createElementBlock("span",nt,"ads")):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",rt,e.toDisplayString(n.title),1),e.createElementVNode("div",st,e.toDisplayString(n.summary),1)]),n.image_url?(e.openBlock(),e.createElementBlock("div",at,[e.createElementVNode("img",{src:n.image_url,alt:"",class:"w-full rounded-md"},null,8,ct)])):e.createCommentVNode("",!0),e.createElementVNode("div",it,e.toDisplayString(n.body),1),n.video_url?(e.openBlock(),e.createElementBlock("div",dt,[e.createElementVNode("a",{href:n.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,pt)])):e.createCommentVNode("",!0),e.createElementVNode("div",mt,[e.createElementVNode("span",ut,e.toDisplayString(n.published),1),n.post_url?(e.openBlock(),e.createElementBlock("a",{key:0,href:n.post_url,target:"_blank",class:"text-blue-600 hover:text-blue-700 block"},e.toDisplayString(t.news.moreText),9,ht)):e.createCommentVNode("",!0)])])]))),128))])):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)])}}});const ft=H._export_sfc(Ct,[["__scopeId","data-v-8d16a165"]]);exports.OneMainLayout=ft;exports.OneSidebar=me;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),v=require("../OneBrowserMenu-3650ed5d.cjs"),H=require("../_plugin-vue_export-helper-f246444f.cjs"),P=require("../index-668faddf.cjs"),he=require("../XMarkIcon-f94baa4c.cjs");require("../common/index.cjs");const pe={items:{required:!0,type:Array},slim:{type:Boolean,default:!0},app:{type:Object},minimizedWidth:{type:String,default:"4rem"},width:{type:String,default:"16rem"},minimized:{type:Boolean,default:!1},hoverable:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!0},news:{type:Object}},Ce={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},labelTop:{type:String,required:!0},icon:{type:[Function,Object]},exact:{type:Boolean,required:!1,default:!1},slim:{type:Boolean,default:!0},open:{type:Boolean,default:!1},subItems:{type:Array,required:!1}},fe={sidebarItems:pe.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}};function ve(a,i){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 ke(a,i){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(a,i){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 xe(a,i){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 ye=["href"],ge={class:"flex flex-nowrap items-center w-full h-[24px]"},be={key:0,class:"w-[44px] flex-shrink-0"},Be={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},_e={class:"py-[8px] pl-0 pr-0"},Ve={key:1,style:{"font-size":"10px"},class:"text-[#979CA9] uppercase px-2 pt-2 font-medium"},Ee={class:"flex flex-nowrap items-center w-full h-[24px]"},Ne={key:0,class:"w-[44px] flex-shrink-0"},Le={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},$e={class:"py-[8px] pl-0 pr-0"},Se={key:1,class:"p-3"},De={class:"flex flex-nowrap items-center w-full h-[24px] mb-0.5"},ze={key:0,class:"w-[44px] flex-shrink-0"},Me={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},Oe={class:"py-[8px] pl-0 pr-0"},je={key:1,class:"p-3"},Ie=["href"],Te={class:"flex items-center justify-between min-w-full h-[24px]"},Ae={class:"text-xs"},Pe={key:0,class:"pr-3"},He={class:"text-xs"},Fe={key:0,class:"pr-3"},qe=e.defineComponent({__name:"OneSidebarLink",props:Ce,emits:["update-collapsed"],setup(a,{emit:i}){const l=a,r=e.computed(()=>l.href??!1),h=e.computed(()=>u(l)),u=t=>t.route?t.route:t.routeName?{name:t.routeName}:"",s=e.ref(l.open),C=()=>{s.value=!s.value},b=t=>{l.subItems&&l.subItems.length>0&&(t.preventDefault(),C())};return(t,d)=>{const B=e.resolveComponent("RouterLink");return e.openBlock(),e.createElementBlock(e.Fragment,null,[r.value?(e.openBlock(),e.createElementBlock("a",{key:0,href:r.value,class:e.normalizeClass(["flex items-center relative rounded-lg text-sm font-medium hover:bg-primary-10-hover hover:text-primary-base transition-all text-[#525B66] mb-0.5",[t.slim?"w-[44px] h-[44px]":"h-[44px] w-full"]]),onClick:b},[e.createElementVNode("div",ge,[t.icon?(e.openBlock(),e.createElementBlock("div",be,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon),{class:"w-[24px] h-[24px] mx-auto"}))])):e.createCommentVNode("",!0),e.createElementVNode("div",Be,[e.createElementVNode("span",_e,e.toDisplayString(t.label),1)]),l.subItems&&l.subItems.length>0?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["ml-auto",[t.slim?"hidden":""]])},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.value?e.unref(v.render):e.unref(v.render$1)),{class:"w-[16px] h-[16px]"}))],2)):e.createCommentVNode("",!0)])],10,ye)):e.createCommentVNode("",!0),t.labelTop&&!t.slim?(e.openBlock(),e.createElementBlock("p",Ve,e.toDisplayString(t.labelTop),1)):e.createCommentVNode("",!0),!r.value&&h.value?(e.openBlock(),e.createBlock(B,{key:2,to:h.value,class:e.normalizeClass(["relative flex items-center cursor-pointer rounded-lg text-sm font-medium hover:bg-primary-10-hover hover:text-primary-base transition-all text-[#525B66] mb-0.5",[t.slim?"w-[44px] h-[44px]":"h-[44px] w-full"]]),"active-class":"bg-primary-10 !text-primary-base","exact-active-class":"bg-primary-10 !text-primary-base",exact:t.exact,onClick:e.withModifiers(b,["prevent"])},{default:e.withCtx(()=>[e.createElementVNode("div",Ee,[t.icon?(e.openBlock(),e.createElementBlock("div",Ne,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon),{class:"w-[24px] h-[24px] mx-auto"}))])):e.createCommentVNode("",!0),e.createElementVNode("div",Le,[e.createElementVNode("span",$e,e.toDisplayString(t.label),1)]),l.subItems&&l.subItems.length>0&&!t.slim?(e.openBlock(),e.createElementBlock("div",Se,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.value?e.unref(v.render):e.unref(v.render$1)),{class:"w-[16px] h-[16px]"}))])):e.createCommentVNode("",!0)])]),_:1},8,["to","exact","class"])):e.createCommentVNode("",!0),!r.value&&!h.value?(e.openBlock(),e.createElementBlock("span",{key:3,onClick:e.withModifiers(b,["prevent"]),class:e.normalizeClass([[t.slim?"w-[44px] h-[44px]":"h-[44px] w-full"],"mb-0.5 relative flex items-center cursor-pointer rounded-lg text-sm font-medium hover:bg-primary-10-hover hover:text-primary-base transition-all text-[#525B66]"])},[e.createElementVNode("div",De,[t.icon?(e.openBlock(),e.createElementBlock("div",ze,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon),{class:"w-[24px] h-[24px] mx-auto"}))])):e.createCommentVNode("",!0),e.createElementVNode("div",Me,[e.createElementVNode("span",Oe,e.toDisplayString(t.label),1)]),l.subItems&&l.subItems.length>0&&!t.slim?(e.openBlock(),e.createElementBlock("div",je,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.value?e.unref(v.render):e.unref(v.render$1)),{class:"w-[16px] h-[16px]"}))])):e.createCommentVNode("",!0)])],2)):e.createCommentVNode("",!0),s.value&&l.subItems?(e.openBlock(),e.createElementBlock("div",{key:4,class:e.normalizeClass([t.slim?"hidden":"pl-[36px] pr-3"])},[e.createElementVNode("div",{class:e.normalizeClass([(t.slim,"")])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.subItems,p=>(e.openBlock(),e.createElementBlock("div",{key:p.label,class:e.normalizeClass([(t.slim,"")])},[p.href?(e.openBlock(),e.createElementBlock("a",{key:0,href:p.href,class:"flex items-center mb-0.5rounded-lg p-2 text-sm font-medium hover:bg-primary-10-hover hover:text-primary-base transition-all text-[#525B66]"},[e.createElementVNode("div",Te,[e.createElementVNode("span",Ae,e.toDisplayString(p.label),1),p.icon?(e.openBlock(),e.createElementBlock("div",Pe,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(p.icon),{class:"w-[20px] h-[20px] mx-auto"}))])):e.createCommentVNode("",!0)])],8,Ie)):(e.openBlock(),e.createBlock(B,{key:1,to:u(p),class:"flex items-center rounded-lg p-2 text-sm font-medium hover:bg-primary-10-hover mb-0.5 hover:text-primary-base transition-all text-[#525B66]",exact:t.exact,"active-class":"bg-primary-10 !text-primary-base","exact-active-class":"bg-primary-10 !text-primary-base"},{default:e.withCtx(()=>[e.createElementVNode("span",He,e.toDisplayString(p.label),1),p.icon?(e.openBlock(),e.createElementBlock("div",Fe,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(p.icon),{class:"w-[20px] h-[20px] mx-auto"}))])):e.createCommentVNode("",!0)]),_:2},1032,["to","exact"]))],2))),128))],2)],2)):e.createCommentVNode("",!0)],64)}}}),We={},Re={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function Ue(a,i){return e.openBlock(),e.createElementBlock("svg",Re,i[0]||(i[0]=[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),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),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)]))}const me=H._export_sfc(We,[["render",Ue]]),de=a=>{if(Array.isArray(a))return a.map(e.unref);const i=e.unref(a);return Array.isArray(i)?i:[i]},Ze=(a,i)=>{let l;const r=h=>{h.forEach(u=>{const s=e.unref(u);if(s){if(!(s instanceof Element))throw console.error("Vuestic: Trying to observe non-HTMLElement",{target:s,array:a}),new Error("Vuestic: Unable to observe non-HTMLElement");s&&(l==null||l.observe(s))}})};return e.watch(a,h=>{l==null||l.disconnect(),r(de(h))}),e.onMounted(()=>{l=new ResizeObserver(i),r(de(a))}),e.onBeforeUnmount(()=>l==null?void 0:l.disconnect()),l},Xe=a=>{const i=e.ref(null);return Ze([a],()=>{var l;i.value=((l=a.value)==null?void 0:l.clientWidth)??null}),e.watchEffect(()=>{var l;i.value=((l=a.value)==null?void 0:l.clientWidth)??null}),i},Ge=["href"],Je={class:"relative rounded-lg bg-[#FFF8E4] px-2 py-3"},Ke={class:"w-[44px] mx-auto"},Qe={class:"text-center text-xs pt-2"},Ye={key:1,class:"flex justify-between border rounded-lg p-2 bg-[#F5F5F5] mb-3 w-full"},e1={class:"flex items-center space-x-2 text-[#525B66]"},t1={class:"w-[24px] mx-auto"},o1={class:"text-sm"},l1={class:"text-xs"},n1=["href"],r1={class:"flex flex-nowrap items-center w-max h-[24px]"},s1={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full text-[#525B66]"},a1={class:"py-[8px] pl-0 pr-[8px]"},c1=["href"],i1={class:"flex flex-nowrap items-center w-max h-[24px]"},d1={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},p1={class:"py-[8px] pl-0 pr-[8px]"},m1={key:4,class:"custom-select ml-3 w-full relative pt-3"},u1={class:"pl-2"},h1={key:0,class:"dropdown w-[220px] z-10 text-[#525B66]"},C1=["onClick"],f1={key:0,class:"mt-3 h-0 border-t border-secondary-stroke mb-3"},v1={class:"flex flex-nowrap items-center w-full h-[24px]"},k1={class:"w-[44px] flex-shrink-0 relative"},w1={key:0,class:"absolute top-0 right-1.5 w-2 h-2 bg-blue-600 text-white rounded-full animate-ping z-0"},x1={key:1,class:"absolute top-0 right-1.5 w-2 h-2 bg-blue-500 text-white rounded-full z-10"},y1={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},g1={class:"py-[8px] pl-0 pr-[8px]"},b1=["href"],B1={class:"flex flex-nowrap items-center w-full h-[24px]"},_1={class:"w-[44px] flex-shrink-0 relative"},V1={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full"},E1={class:"py-[8px] pl-0 pr-[8px]"},N1=e.defineComponent({__name:"OneSidebar",props:pe,emits:["show-news","show-tariff","select-language","update-collapsed","update:modelValue"],setup(a,{emit:i}){var N,L,$;const l=i,r=a,h=e.computed(()=>{var o;return((o=r.news)==null?void 0:o.unseenCount)||0}),u=()=>{l("show-news")},s=e.ref(!1),C=e.ref(r.hoverable);e.watch(r,()=>{r.modelValue?C.value=!0:C.value=!1}),r.modelValue&&(C.value=!0);const b=e.shallowRef(),t=e.computed(()=>""),d=e.computed(()=>"");e.computed(()=>p.value?r.minimizedWidth:r.width);const B=o=>{s.value=C.value&&o},p=e.computed(()=>C.value&&!s.value),f=e.computed(()=>!!p.value),_=e.ref(),V=Xe(_),E=e.computed(()=>r.modelValue===!0||V.value===null?!0:V.value>0),O=e.ref(),j=()=>p.value?r.minimizedWidth:r.width;e.watchEffect(()=>{const o=j();setTimeout(()=>{O.value=o})});const k=e.ref(!1),w=e.ref((N=r.app)!=null&&N.availableLang&&((L=r.app)==null?void 0:L.availableLang.length)>0?($=r.app)==null?void 0:$.availableLang.find(o=>{var m;return o.id==((m=r.app)==null?void 0:m.lang)}):null),I=()=>{k.value=!k.value},T=o=>{w.value=o,k.value=!1,l("select-language",o)},A=()=>{var o,m,x,y;console.log("Selected Plan URL:",(m=(o=r.app)==null?void 0:o.selectedPlan)==null?void 0:m.url),(y=(x=r.app)==null?void 0:x.selectedPlan)!=null&&y.url&&(window.location.href=r.app.selectedPlan.url)};return(o,m)=>{var x,y,S,D,z,n,g,M,F,q,W,R,U,Z,X,G,J,K,Q,Y,ee,te,oe,le,ne,re,se;return e.openBlock(),e.createElementBlock("aside",{ref_key:"rootElement",ref:b,class:e.normalizeClass(["oneb-sidebar space-y-1 pt-[56px] p-2 cont",t.value]),style:e.normalizeStyle(d.value),onMouseenter:m[0]||(m[0]=c=>B(!0)),onMouseleave:m[1]||(m[1]=c=>B(!1))},[e.withDirectives(e.createElementVNode("div",{class:"overflow-y-auto top-[56px] left-0 overflow-hidden bg-white lg:bg-transparent transition-all z-50",ref_key:"menu",ref:_},[e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.items,c=>(e.openBlock(),e.createBlock(qe,{key:c.label,labelTop:c.labelTop,subItemsVisible:c==null?void 0:c.subItemsVisible,subItems:c.subItems,open:c.open,icon:c.icon,label:c.label,route:c.route,href:c.href,slim:f.value,"route-name":c.routeName,exact:c.exact||!1},null,8,["labelTop","subItemsVisible","subItems","open","icon","label","route","href","slim","route-name","exact"]))),128))])],512),[[e.vShow,E.value]]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",{class:e.normalizeClass([f.value?"hidden":"w-full"])},[(x=o.app)!=null&&x.offerPlan?(e.openBlock(),e.createElementBlock("a",{key:0,href:(y=o.app)==null?void 0:y.offerPlan.url,class:"relative w-full border rounded-lg p-[1px] bg-[#FFF8E4] mb-3 block",target:"_blank",rel:"noopener noreferrer"},[m[2]||(m[2]=e.createElementVNode("div",{class:"absolute inset-0 rounded-lg bg-gradient-to-r from-[#E1A508] via-red-500 to-[#E04040]"},null,-1)),e.createElementVNode("div",Je,[e.createElementVNode("div",Ke,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent((S=o.app)==null?void 0:S.offerPlan.icon),{class:"w-[24px] h-[24px] mx-auto"}))]),e.createElementVNode("p",Qe,e.toDisplayString((D=o.app)==null?void 0:D.offerPlan.title)+" «"+e.toDisplayString((z=o.app)==null?void 0:z.offerPlan.name)+"» "+e.toDisplayString((n=o.app)==null?void 0:n.offerPlan.title1),1)])],8,Ge)):e.createCommentVNode("",!0),(g=o.app)!=null&&g.selectedPlan&&((M=o.app)!=null&&M.selectedPlan.name)?(e.openBlock(),e.createElementBlock("div",Ye,[e.createElementVNode("div",e1,[e.createElementVNode("div",t1,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent((F=o.app)==null?void 0:F.selectedPlan.icon),{class:"w-[24px] h-[24px]"}))]),e.createElementVNode("div",null,[e.createElementVNode("p",o1,e.toDisplayString(((q=o.app)==null?void 0:q.selectedPlan.name)||""),1),e.createElementVNode("p",l1,e.toDisplayString(((W=o.app)==null?void 0:W.selectedPlan.title)||""),1)])]),e.createElementVNode("div",null,[e.createVNode(P._sfc_main,{class:"text-[#525B66] hover:text-[#4089E0]",variant:"touch",icon:e.unref(v.render$2),onClick:A},null,8,["icon"])])])):e.createCommentVNode("",!0),(R=o.app)!=null&&R.terms?(e.openBlock(),e.createElementBlock("a",{key:2,href:(U=o.app)==null?void 0:U.terms.url,target:"_blank",class:"ml-3 flex items-center rounded-lg text-xs hover:underline font-extralight"},[e.createElementVNode("div",r1,[e.createElementVNode("div",s1,[e.createElementVNode("span",a1,e.toDisplayString(((Z=o.app)==null?void 0:Z.terms.label)||"Terms"),1)])])],8,n1)):e.createCommentVNode("",!0),(X=o.app)!=null&&X.offer?(e.openBlock(),e.createElementBlock("a",{key:3,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",i1,[e.createElementVNode("div",d1,[e.createElementVNode("span",p1,e.toDisplayString(((J=o.app)==null?void 0:J.offer.label)||"Offert"),1)])])],8,c1)):e.createCommentVNode("",!0),(Q=(K=o.app)==null?void 0:K.availableLang)!=null&&Q.length?(e.openBlock(),e.createElementBlock("div",m1,[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((Y=w.value)==null?void 0:Y.name)+" ",1),e.createElementVNode("span",u1,e.toDisplayString(k.value?"▲":"▼"),1)]),k.value?(e.openBlock(),e.createElementBlock("div",h1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ee=o.app)==null?void 0:ee.availableLang,c=>{var ae,ce;return e.openBlock(),e.createElementBlock("div",{key:c.id,class:e.normalizeClass(["px-2",{"hover:bg-slate-200 rounded-lg cursor-pointer":c.id!==((ae=w.value)==null?void 0:ae.id),"text-gray-300":c.id===((ce=w.value)==null?void 0:ce.id)}]),onClick:kt=>{var ie;return c.id!==((ie=w.value)==null?void 0:ie.id)&&T(c)}},e.toDisplayString(c.name),11,C1)}),128))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2),f.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",f1)),e.createElementVNode("div",{class:e.normalizeClass(["flex",[o.slim?" grid":"grid"]])},[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",[f.value?"w-[44px] h-[44px]":"w-full h-[44px]"]]),onClick:u},[e.createElementVNode("div",v1,[e.createElementVNode("div",k1,[e.createElementVNode("div",null,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(me),{class:"w-[24px] h-[24px] mx-auto"}))]),h.value>0?(e.openBlock(),e.createElementBlock("span",w1)):e.createCommentVNode("",!0),h.value>0?(e.openBlock(),e.createElementBlock("span",x1)):e.createCommentVNode("",!0)]),e.createElementVNode("div",y1,[e.createElementVNode("span",g1,e.toDisplayString(o.news.menuLabel||"News"),1)])])],2)):e.createCommentVNode("",!0),(te=o.app)!=null&&te.support?(e.openBlock(),e.createElementBlock("a",{key:1,href:(le=(oe=o.app)==null?void 0:oe.support)==null?void 0:le.url,class:e.normalizeClass(["text-[#525B66] flex items-center rounded-lg text-sm tooltip hover:bg-primary-10-hover hover:text-primary-base transition-all",[f.value?"w-[44px] h-[44px]":"w-full h-[44px]"]])},[e.createElementVNode("div",B1,[e.createElementVNode("div",_1,[e.createElementVNode("div",null,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(ke)),{class:"w-[24px] h-[24px] mx-auto"}))])]),e.createElementVNode("div",V1,[e.createElementVNode("span",E1,e.toDisplayString(((re=(ne=o.app)==null?void 0:ne.support)==null?void 0:re.label)||"Support"),1)])])],10,b1)):e.createCommentVNode("",!0)],2),e.createElementVNode("p",{class:e.normalizeClass([[f.value?"hidden":"w-full"],"text-[8px] pl-3 text-[#979CA9] flex justify-between font-extralight"])},[m[3]||(m[3]=e.createElementVNode("span",null,"Powered by OneB",-1)),e.createElementVNode("span",null,e.toDisplayString((se=o.app)==null?void 0:se.version),1)],2)],512),[[e.vShow,E.value]])],38)}}});const ue=H._export_sfc(N1,[["__scopeId","data-v-0cc118c1"]]),L1={class:"h-full relative"},$1={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"},D1={class:"w-10 h-10 flex items-center flex-shrink-0"},z1=["src"],M1={class:"whitespace-nowrap font-semibold text-xl"},O1={class:"text-xs whitespace-nowrap"},j1={class:"w-full"},I1={class:"w-full flex justify-end pr-3"},T1={class:"flex items-center space-x-1"},A1={key:0,class:"module-border-wrap flex justify-center items-center"},P1={class:"h-4 w-4"},H1={class:"ml-2 hidden sm:flex"},F1=["href"],q1={class:"flex h-full"},W1={class:"content transition-all pt-[56px]"},R1={key:0},U1={key:0,class:"sm:w-[560px] w-full relative h-full"},Z1={class:"h-full relative"},X1={class:"flex items-center p-3 space-x-1.5"},G1={class:"overflow-auto",style:{height:"calc(100% - 62px)"}},J1={key:0,class:"p-5"},K1={key:1},Q1={class:"p-4 text-gray text-center"},Y1={key:2},et={class:"p-3 space-y-1.5 rounded-lg",style:{"box-shadow":"0 0 6px #eaeaea"}},tt={key:0},ot={key:0,class:"text-xs px-2 py-1 rounded-md bg-green-600 text-white"},lt={key:1,class:"text-xs px-2 py-1 rounded-md bg-yellow-600 text-white"},nt={key:2,class:"text-xs px-2 py-1 rounded-md bg-blue-600 text-white"},rt={key:3,class:"text-xs px-2 py-1 rounded-md bg-gray-600 text-white"},st={class:"text-lg font-medium"},at={class:"text-sm text-gray-600"},ct={key:0},it=["src"],dt={class:"text-sm whitespace-pre-wrap break-words"},pt={key:1},mt=["href"],ut={class:"text-sm flex items-center justify-between mt-1"},ht={class:"text-gray-800"},Ct=["href"],ft=e.defineComponent({__name:"OneMainLayout",props:fe,emits:["load-news","load-tariff","open-tariff"],setup(a,{emit:i}){const l=i,r=a;let h=window.localStorage.getItem("sidebar-slim");window.document.body.offsetWidth<1024&&(window.localStorage.getItem("sidebar-slim")==null&&window.localStorage.setItem("sidebar-slim","1"),h="1");const u=e.ref(h==="1");e.ref(!0),e.watch(u,t=>{window.localStorage.setItem("sidebar-slim",String(t?1:0))});const s=e.ref(!1),C=()=>{s.value=!s.value,s.value&&l("load-news")},b=t=>{var d;(d=r.handlers)==null||d.onSetLang(t)};return(t,d)=>{var p,f,_,V,E,O,j,k,w,I,T,A,N,L,$,o,m,x,y,S,D,z;const B=e.resolveComponent("RouterLink");return e.openBlock(),e.createElementBlock("div",L1,[e.createElementVNode("div",$1,[e.createElementVNode("div",S1,[e.createElementVNode("button",{onClick:d[0]||(d[0]=n=>u.value=!u.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(ve),{class:"w-[24px] h-[24px]"})])]),e.createElementVNode("div",D1,[t.logoSrc!=null?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.logoSrc,class:"w-8 h-8 mx-auto",alt:"logo"},null,8,z1)):e.createCommentVNode("",!0)]),t.app!=null?(e.openBlock(),e.createBlock(B,{key:0,to:"/",class:"pl-2 max-w-xs"},{default:e.withCtx(()=>{var n,g;return[e.createElementVNode("div",M1,e.toDisplayString(t.app.name),1),e.createElementVNode("div",O1,e.toDisplayString((g=(n=t.app)==null?void 0:n.workspace)==null?void 0:g.name),1)]}),_:1})):e.createCommentVNode("",!0),e.createElementVNode("div",j1,[e.createElementVNode("div",I1,[e.createElementVNode("div",T1,[e.renderSlot(t.$slots,"before-header-menu",{},void 0,!0),t.improveTariff?(e.openBlock(),e.createElementBlock("div",A1,[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:d[1]||(d[1]=(...n)=>{var g,M;return((g=t.handlers)==null?void 0:g.onImproveTariff)&&((M=t.handlers)==null?void 0:M.onImproveTariff(...n))}),style:{"font-size":"10px"}},[e.createElementVNode("div",P1,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent((p=t.improveTariff)==null?void 0:p.icon),{class:"h-4 w-4 mx-auto"}))]),e.createElementVNode("span",H1,e.toDisplayString((f=t.improveTariff)==null?void 0:f.label),1)])])):e.createCommentVNode("",!0),(V=(_=t.app)==null?void 0:_.help)!=null&&V.url?(e.openBlock(),e.createElementBlock("a",{key:1,href:(O=(E=t.app)==null?void 0:E.help)==null?void 0:O.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(xe),{class:"text-secondary-base w-full p-1 hover:text-blue-600"})],8,F1)):e.createCommentVNode("",!0),((j=t.handlers)==null?void 0:j.onBrowse)!=null?(e.openBlock(),e.createBlock(v.OneBrowserMenu,{key:2,workspace:(k=t.app)==null?void 0:k.workspace,apps:((w=t.app)==null?void 0:w.apps)||[],"change-label":((I=t.labels)==null?void 0:I.change)||"Change","apps-title":((T=t.labels)==null?void 0:T.apps)||"Apps","on-app":(A=t.handlers)==null?void 0:A.onApp,"on-change":(N=t.handlers)==null?void 0:N.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(v._sfc_main$2,{user:t.user,app:t.app,"account-label":(($=t.labels)==null?void 0:$.account)||"Account","logout-label":((o=t.labels)==null?void 0:o.logout)||"Logout","version-label":((m=t.labels)==null?void 0:m.version)||"","on-account":(x=t.handlers)==null?void 0:x.onAccount,"on-logout":(y=t.handlers)==null?void 0:y.onLogout},null,8,["user","app","account-label","logout-label","version-label","on-account","on-logout"])])])])]),e.createElementVNode("div",q1,[e.createElementVNode("div",null,[e.createVNode(ue,{slim:u.value,app:t.app,items:t.sidebarItems,"with-news":t.news!=null,news:t.news,modelValue:u.value,"onUpdate:modelValue":d[2]||(d[2]=n=>u.value=n),onShowNews:C,onSelectLanguage:b,onUpdateCollapsed:d[3]||(d[3]=n=>u.value=!u.value)},null,8,["slim","app","items","with-news","news","modelValue"])]),e.createElementVNode("div",{class:e.normalizeClass([[u.value?"":"hidden lg:block"],"body w-full overflow-y-auto"])},[e.createElementVNode("div",W1,[e.renderSlot(t.$slots,"default",{},void 0,!0)])],2)]),t.news?(e.openBlock(),e.createElementBlock("div",R1,[s.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:d[4]||(d[4]=e.withModifiers(n=>s.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",[s.value?"sm:w-[560px] w-full":"w-0"]])},[s.value?(e.openBlock(),e.createElementBlock("div",U1,[e.createElementVNode("div",Z1,[e.createElementVNode("div",X1,[e.createVNode(me,{class:"w-10 h-10"}),d[6]||(d[6]=e.createElementVNode("div",{class:"w-full font-medium"},"OneB News",-1)),e.createElementVNode("div",null,[e.createVNode(P._sfc_main,{variant:"touch",icon:e.unref(he.render),onClick:d[5]||(d[5]=n=>s.value=!1)},null,8,["icon"])])]),e.createElementVNode("div",G1,[t.news.isLoading&&((S=t.news.items)==null?void 0:S.length)===0?(e.openBlock(),e.createElementBlock("div",J1,[e.createVNode(P.SpinnerIcon,{class:"w-6 h-6 text-gray-600 mx-auto"})])):((D=t.news.items)==null?void 0:D.length)===0?(e.openBlock(),e.createElementBlock("div",K1,[e.createElementVNode("div",Q1,e.toDisplayString(t.news.emptyText),1)])):((z=t.news.items)==null?void 0:z.length)>0?(e.openBlock(),e.createElementBlock("div",Y1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.news.items,n=>(e.openBlock(),e.createElementBlock("div",{key:n.id,class:"p-3"},[e.createElementVNode("div",et,[e.createElementVNode("div",null,[n.type?(e.openBlock(),e.createElementBlock("div",tt,[n.type===10?(e.openBlock(),e.createElementBlock("span",ot,"update")):n.type===11?(e.openBlock(),e.createElementBlock("span",lt,"warning")):n.type===12?(e.openBlock(),e.createElementBlock("span",nt,"notice")):n.type===13?(e.openBlock(),e.createElementBlock("span",rt,"ads")):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",st,e.toDisplayString(n.title),1),e.createElementVNode("div",at,e.toDisplayString(n.summary),1)]),n.image_url?(e.openBlock(),e.createElementBlock("div",ct,[e.createElementVNode("img",{src:n.image_url,alt:"",class:"w-full rounded-md"},null,8,it)])):e.createCommentVNode("",!0),e.createElementVNode("div",dt,e.toDisplayString(n.body),1),n.video_url?(e.openBlock(),e.createElementBlock("div",pt,[e.createElementVNode("a",{href:n.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,mt)])):e.createCommentVNode("",!0),e.createElementVNode("div",ut,[e.createElementVNode("span",ht,e.toDisplayString(n.published),1),n.post_url?(e.openBlock(),e.createElementBlock("a",{key:0,href:n.post_url,target:"_blank",class:"text-blue-600 hover:text-blue-700 block"},e.toDisplayString(t.news.moreText),9,Ct)):e.createCommentVNode("",!0)])])]))),128))])):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)])}}});const vt=H._export_sfc(ft,[["__scopeId","data-v-8d16a165"]]);exports.OneMainLayout=vt;exports.OneSidebar=ue;
@@ -1,10 +1,10 @@
1
- import { openBlock as s, createElementBlock as l, createElementVNode as e, defineComponent as s1, computed as $, ref as _, resolveComponent as M1, Fragment as U, normalizeClass as x, createBlock as m, resolveDynamicComponent as g, createCommentVNode as n, toDisplayString as i, unref as b, withModifiers as e1, withCtx as t1, renderList as Q, watch as l1, onMounted as T1, onBeforeUnmount as z1, watchEffect as O1, shallowRef as E1, normalizeStyle as H1, withDirectives as $1, vShow as S1, createVNode as S, createTextVNode as P1, renderSlot as B1 } from "vue";
2
- import { r as X, c as Y, d as F1, O as N1, b as W1 } from "../OneBrowserMenu-8cf71483.js";
1
+ import { openBlock as s, createElementBlock as l, createElementVNode as e, defineComponent as s1, computed as $, ref as _, resolveComponent as O1, Fragment as U, normalizeClass as x, createBlock as m, resolveDynamicComponent as g, createCommentVNode as n, toDisplayString as i, unref as b, withModifiers as e1, withCtx as t1, renderList as Q, watch as l1, onMounted as z1, onBeforeUnmount as P1, watchEffect as j1, shallowRef as E1, normalizeStyle as H1, withDirectives as S1, vShow as B1, createVNode as S, createTextVNode as F1, renderSlot as V1 } from "vue";
2
+ import { r as X, c as Y, d as N1, O as W1, b as q1 } from "../OneBrowserMenu-8cf71483.js";
3
3
  import { _ as o1 } from "../_plugin-vue_export-helper-dad06003.js";
4
- import { _ as j1, S as q1 } from "../index-ab76dea6.js";
5
- import { r as R1 } from "../XMarkIcon-51ef0691.js";
4
+ import { _ as A1, S as R1 } from "../index-ab76dea6.js";
5
+ import { r as U1 } from "../XMarkIcon-51ef0691.js";
6
6
  import "../common/index.js";
7
- const A1 = {
7
+ const I1 = {
8
8
  items: {
9
9
  required: !0,
10
10
  type: Array
@@ -24,7 +24,7 @@ const A1 = {
24
24
  news: {
25
25
  type: Object
26
26
  }
27
- }, U1 = {
27
+ }, Z1 = {
28
28
  route: {
29
29
  required: !1,
30
30
  type: [Object, String]
@@ -76,8 +76,8 @@ const A1 = {
76
76
  required: !1
77
77
  // Не обов'язковий, бо може бути відсутнім
78
78
  }
79
- }, Z1 = {
80
- sidebarItems: A1.items,
79
+ }, D1 = {
80
+ sidebarItems: I1.items,
81
81
  logoSrc: {
82
82
  type: String
83
83
  },
@@ -116,7 +116,7 @@ const A1 = {
116
116
  type: Object
117
117
  }
118
118
  };
119
- function D1(u, h) {
119
+ function G1(u, h) {
120
120
  return s(), l("svg", {
121
121
  xmlns: "http://www.w3.org/2000/svg",
122
122
  fill: "none",
@@ -132,7 +132,7 @@ function D1(u, h) {
132
132
  })
133
133
  ]);
134
134
  }
135
- function G1(u, h) {
135
+ function J1(u, h) {
136
136
  return s(), l("svg", {
137
137
  xmlns: "http://www.w3.org/2000/svg",
138
138
  fill: "none",
@@ -148,7 +148,7 @@ function G1(u, h) {
148
148
  })
149
149
  ]);
150
150
  }
151
- function J1(u, h) {
151
+ function K1(u, h) {
152
152
  return s(), l("svg", {
153
153
  xmlns: "http://www.w3.org/2000/svg",
154
154
  fill: "none",
@@ -164,7 +164,7 @@ function J1(u, h) {
164
164
  })
165
165
  ]);
166
166
  }
167
- function K1(u, h) {
167
+ function Q1(u, h) {
168
168
  return s(), l("svg", {
169
169
  xmlns: "http://www.w3.org/2000/svg",
170
170
  fill: "none",
@@ -180,34 +180,34 @@ function K1(u, h) {
180
180
  })
181
181
  ]);
182
182
  }
183
- const Q1 = ["href"], X1 = { class: "flex flex-nowrap items-center w-full h-[24px]" }, Y1 = {
183
+ const X1 = ["href"], Y1 = { class: "flex flex-nowrap items-center w-full h-[24px]" }, ee = {
184
184
  key: 0,
185
185
  class: "w-[44px] flex-shrink-0"
186
- }, ee = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, te = { class: "py-[8px] pl-0 pr-0" }, se = {
186
+ }, te = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, se = { class: "py-[8px] pl-0 pr-0" }, le = {
187
187
  key: 1,
188
188
  style: { "font-size": "10px" },
189
189
  class: "text-[#979CA9] uppercase px-2 pt-2 font-medium"
190
- }, le = { class: "flex flex-nowrap items-center w-full h-[24px]" }, oe = {
190
+ }, oe = { class: "flex flex-nowrap items-center w-full h-[24px]" }, ne = {
191
191
  key: 0,
192
192
  class: "w-[44px] flex-shrink-0"
193
- }, ne = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, ae = { class: "py-[8px] pl-0 pr-0" }, re = {
193
+ }, ae = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, re = { class: "py-[8px] pl-0 pr-0" }, ie = {
194
194
  key: 1,
195
195
  class: "p-3"
196
- }, ie = { class: "flex flex-nowrap items-center w-full h-[24px] mb-0.5" }, pe = {
196
+ }, pe = { class: "flex flex-nowrap items-center w-full h-[24px] mb-0.5" }, de = {
197
197
  key: 0,
198
198
  class: "w-[44px] flex-shrink-0"
199
- }, de = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, ue = { class: "py-[8px] pl-0 pr-0" }, ce = {
199
+ }, ue = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, ce = { class: "py-[8px] pl-0 pr-0" }, he = {
200
200
  key: 1,
201
201
  class: "p-3"
202
- }, he = ["href"], fe = { class: "flex items-center justify-between min-w-full h-[24px]" }, me = { class: "text-xs" }, ve = {
202
+ }, fe = ["href"], me = { class: "flex items-center justify-between min-w-full h-[24px]" }, ve = { class: "text-xs" }, Ce = {
203
203
  key: 0,
204
204
  class: "pr-3"
205
- }, Ce = { class: "text-xs" }, we = {
205
+ }, we = { class: "text-xs" }, xe = {
206
206
  key: 0,
207
207
  class: "pr-3"
208
- }, xe = /* @__PURE__ */ s1({
208
+ }, be = /* @__PURE__ */ s1({
209
209
  __name: "OneSidebarLink",
210
- props: U1,
210
+ props: Z1,
211
211
  emits: ["update-collapsed"],
212
212
  setup(u, { emit: h }) {
213
213
  const a = u, p = $(() => a.href ?? !1), y = $(() => w(a)), w = (t) => t.route ? t.route : t.routeName ? { name: t.routeName } : "", d = _(a.open), L = () => {
@@ -216,7 +216,7 @@ const Q1 = ["href"], X1 = { class: "flex flex-nowrap items-center w-full h-[24px
216
216
  a.subItems && a.subItems.length > 0 && (t.preventDefault(), L());
217
217
  };
218
218
  return (t, f) => {
219
- const I = M1("RouterLink");
219
+ const I = O1("RouterLink");
220
220
  return s(), l(U, null, [
221
221
  p.value ? (s(), l("a", {
222
222
  key: 0,
@@ -224,12 +224,12 @@ const Q1 = ["href"], X1 = { class: "flex flex-nowrap items-center w-full h-[24px
224
224
  class: x(["flex items-center relative rounded-lg text-sm font-medium hover:bg-primary-10-hover hover:text-primary-base transition-all text-[#525B66] mb-0.5", [t.slim ? "w-[44px] h-[44px]" : "h-[44px] w-full"]]),
225
225
  onClick: A
226
226
  }, [
227
- e("div", X1, [
228
- t.icon ? (s(), l("div", Y1, [
227
+ e("div", Y1, [
228
+ t.icon ? (s(), l("div", ee, [
229
229
  (s(), m(g(t.icon), { class: "w-[24px] h-[24px] mx-auto" }))
230
230
  ])) : n("", !0),
231
- e("div", ee, [
232
- e("span", te, i(t.label), 1)
231
+ e("div", te, [
232
+ e("span", se, i(t.label), 1)
233
233
  ]),
234
234
  a.subItems && a.subItems.length > 0 ? (s(), l("div", {
235
235
  key: 1,
@@ -238,8 +238,8 @@ const Q1 = ["href"], X1 = { class: "flex flex-nowrap items-center w-full h-[24px
238
238
  (s(), m(g(d.value ? b(X) : b(Y)), { class: "w-[16px] h-[16px]" }))
239
239
  ], 2)) : n("", !0)
240
240
  ])
241
- ], 10, Q1)) : n("", !0),
242
- t.labelTop && !t.slim ? (s(), l("p", se, i(t.labelTop), 1)) : n("", !0),
241
+ ], 10, X1)) : n("", !0),
242
+ t.labelTop && !t.slim ? (s(), l("p", le, i(t.labelTop), 1)) : n("", !0),
243
243
  !p.value && y.value ? (s(), m(I, {
244
244
  key: 2,
245
245
  to: y.value,
@@ -250,14 +250,14 @@ const Q1 = ["href"], X1 = { class: "flex flex-nowrap items-center w-full h-[24px
250
250
  onClick: e1(A, ["prevent"])
251
251
  }, {
252
252
  default: t1(() => [
253
- e("div", le, [
254
- t.icon ? (s(), l("div", oe, [
253
+ e("div", oe, [
254
+ t.icon ? (s(), l("div", ne, [
255
255
  (s(), m(g(t.icon), { class: "w-[24px] h-[24px] mx-auto" }))
256
256
  ])) : n("", !0),
257
- e("div", ne, [
258
- e("span", ae, i(t.label), 1)
257
+ e("div", ae, [
258
+ e("span", re, i(t.label), 1)
259
259
  ]),
260
- a.subItems && a.subItems.length > 0 && !t.slim ? (s(), l("div", re, [
260
+ a.subItems && a.subItems.length > 0 && !t.slim ? (s(), l("div", ie, [
261
261
  (s(), m(g(d.value ? b(X) : b(Y)), { class: "w-[16px] h-[16px]" }))
262
262
  ])) : n("", !0)
263
263
  ])
@@ -269,14 +269,14 @@ const Q1 = ["href"], X1 = { class: "flex flex-nowrap items-center w-full h-[24px
269
269
  onClick: e1(A, ["prevent"]),
270
270
  class: x([[t.slim ? "w-[44px] h-[44px]" : "h-[44px] w-full"], "mb-0.5 relative flex items-center cursor-pointer rounded-lg text-sm font-medium hover:bg-primary-10-hover hover:text-primary-base transition-all text-[#525B66]"])
271
271
  }, [
272
- e("div", ie, [
273
- t.icon ? (s(), l("div", pe, [
272
+ e("div", pe, [
273
+ t.icon ? (s(), l("div", de, [
274
274
  (s(), m(g(t.icon), { class: "w-[24px] h-[24px] mx-auto" }))
275
275
  ])) : n("", !0),
276
- e("div", de, [
277
- e("span", ue, i(t.label), 1)
276
+ e("div", ue, [
277
+ e("span", ce, i(t.label), 1)
278
278
  ]),
279
- a.subItems && a.subItems.length > 0 && !t.slim ? (s(), l("div", ce, [
279
+ a.subItems && a.subItems.length > 0 && !t.slim ? (s(), l("div", he, [
280
280
  (s(), m(g(d.value ? b(X) : b(Y)), { class: "w-[16px] h-[16px]" }))
281
281
  ])) : n("", !0)
282
282
  ])
@@ -297,13 +297,13 @@ const Q1 = ["href"], X1 = { class: "flex flex-nowrap items-center w-full h-[24px
297
297
  href: v.href,
298
298
  class: "flex items-center mb-0.5rounded-lg p-2 text-sm font-medium hover:bg-primary-10-hover hover:text-primary-base transition-all text-[#525B66]"
299
299
  }, [
300
- e("div", fe, [
301
- e("span", me, i(v.label), 1),
302
- v.icon ? (s(), l("div", ve, [
300
+ e("div", me, [
301
+ e("span", ve, i(v.label), 1),
302
+ v.icon ? (s(), l("div", Ce, [
303
303
  (s(), m(g(v.icon), { class: "w-[20px] h-[20px] mx-auto" }))
304
304
  ])) : n("", !0)
305
305
  ])
306
- ], 8, he)) : (s(), m(I, {
306
+ ], 8, fe)) : (s(), m(I, {
307
307
  key: 1,
308
308
  to: w(v),
309
309
  class: "flex items-center rounded-lg p-2 text-sm font-medium hover:bg-primary-10-hover mb-0.5 hover:text-primary-base transition-all text-[#525B66]",
@@ -312,8 +312,8 @@ const Q1 = ["href"], X1 = { class: "flex flex-nowrap items-center w-full h-[24px
312
312
  "exact-active-class": "bg-primary-10 !text-primary-base"
313
313
  }, {
314
314
  default: t1(() => [
315
- e("span", Ce, i(v.label), 1),
316
- v.icon ? (s(), l("div", we, [
315
+ e("span", we, i(v.label), 1),
316
+ v.icon ? (s(), l("div", xe, [
317
317
  (s(), m(g(v.icon), { class: "w-[20px] h-[20px] mx-auto" }))
318
318
  ])) : n("", !0)
319
319
  ]),
@@ -325,15 +325,15 @@ const Q1 = ["href"], X1 = { class: "flex flex-nowrap items-center w-full h-[24px
325
325
  ], 64);
326
326
  };
327
327
  }
328
- }), be = {}, ye = {
328
+ }), ye = {}, ge = {
329
329
  xmlns: "http://www.w3.org/2000/svg",
330
330
  width: "24",
331
331
  height: "24",
332
332
  viewBox: "0 0 24 24",
333
333
  fill: "none"
334
334
  };
335
- function ge(u, h) {
336
- return s(), l("svg", ye, h[0] || (h[0] = [
335
+ function _e(u, h) {
336
+ return s(), l("svg", ge, h[0] || (h[0] = [
337
337
  e("path", {
338
338
  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",
339
339
  fill: "currentColor"
@@ -350,12 +350,12 @@ function ge(u, h) {
350
350
  }, null, -1)
351
351
  ]));
352
352
  }
353
- const I1 = /* @__PURE__ */ o1(be, [["render", ge]]), V1 = (u) => {
353
+ const T1 = /* @__PURE__ */ o1(ye, [["render", _e]]), M1 = (u) => {
354
354
  if (Array.isArray(u))
355
355
  return u.map(b);
356
356
  const h = b(u);
357
357
  return Array.isArray(h) ? h : [h];
358
- }, _e = (u, h) => {
358
+ }, Le = (u, h) => {
359
359
  let a;
360
360
  const p = (y) => {
361
361
  y.forEach((w) => {
@@ -371,43 +371,43 @@ const I1 = /* @__PURE__ */ o1(be, [["render", ge]]), V1 = (u) => {
371
371
  });
372
372
  };
373
373
  return l1(u, (y) => {
374
- a == null || a.disconnect(), p(V1(y));
375
- }), T1(() => {
376
- a = new ResizeObserver(h), p(V1(u));
377
- }), z1(() => a == null ? void 0 : a.disconnect()), a;
378
- }, Le = (u) => {
374
+ a == null || a.disconnect(), p(M1(y));
375
+ }), z1(() => {
376
+ a = new ResizeObserver(h), p(M1(u));
377
+ }), P1(() => a == null ? void 0 : a.disconnect()), a;
378
+ }, ke = (u) => {
379
379
  const h = _(null);
380
- return _e([u], () => {
380
+ return Le([u], () => {
381
381
  var a;
382
382
  h.value = ((a = u.value) == null ? void 0 : a.clientWidth) ?? null;
383
- }), O1(() => {
383
+ }), j1(() => {
384
384
  var a;
385
385
  h.value = ((a = u.value) == null ? void 0 : a.clientWidth) ?? null;
386
386
  }), h;
387
- }, ke = ["href"], $e = { class: "relative rounded-lg bg-[#FFF8E4] px-2 py-3" }, Se = { class: "w-[44px] mx-auto" }, Be = { class: "text-center text-xs pt-2" }, Ve = {
387
+ }, $e = ["href"], Se = { class: "relative rounded-lg bg-[#FFF8E4] px-2 py-3" }, Be = { class: "w-[44px] mx-auto" }, Ve = { class: "text-center text-xs pt-2" }, Me = {
388
388
  key: 1,
389
389
  class: "flex justify-between border rounded-lg p-2 bg-[#F5F5F5] mb-3 w-full"
390
- }, Me = { class: "flex items-center space-x-2 text-[#525B66]" }, Oe = { class: "w-[24px] mx-auto" }, je = { class: "text-sm" }, Ae = { class: "text-xs" }, Ie = ["href"], Te = { class: "flex flex-nowrap items-center w-max h-[24px]" }, ze = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full text-[#525B66]" }, Ee = { class: "py-[8px] pl-0 pr-[8px]" }, He = ["href"], Pe = { class: "flex flex-nowrap items-center w-max h-[24px]" }, Fe = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, Ne = { class: "py-[8px] pl-0 pr-[8px]" }, We = {
390
+ }, Oe = { class: "flex items-center space-x-2 text-[#525B66]" }, je = { class: "w-[24px] mx-auto" }, Ae = { class: "text-sm" }, Ie = { class: "text-xs" }, Te = ["href"], ze = { class: "flex flex-nowrap items-center w-max h-[24px]" }, Pe = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full text-[#525B66]" }, Ee = { class: "py-[8px] pl-0 pr-[8px]" }, He = ["href"], Fe = { class: "flex flex-nowrap items-center w-max h-[24px]" }, Ne = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, We = { class: "py-[8px] pl-0 pr-[8px]" }, qe = {
391
391
  key: 4,
392
392
  class: "custom-select ml-3 w-full relative pt-3"
393
- }, qe = { class: "pl-2" }, Re = {
393
+ }, Re = { class: "pl-2" }, Ue = {
394
394
  key: 0,
395
395
  class: "dropdown w-[220px] z-10 text-[#525B66]"
396
- }, Ue = ["onClick"], Ze = {
396
+ }, Ze = ["onClick"], De = {
397
397
  key: 0,
398
398
  class: "mt-3 h-0 border-t border-secondary-stroke mb-3"
399
- }, De = { class: "flex flex-nowrap items-center w-full h-[24px]" }, Ge = { class: "w-[44px] flex-shrink-0 relative" }, Je = {
399
+ }, Ge = { class: "flex flex-nowrap items-center w-full h-[24px]" }, Je = { class: "w-[44px] flex-shrink-0 relative" }, Ke = {
400
400
  key: 0,
401
401
  class: "absolute top-0 right-1.5 w-2 h-2 bg-blue-600 text-white rounded-full animate-ping z-0"
402
- }, Ke = {
402
+ }, Qe = {
403
403
  key: 1,
404
404
  class: "absolute top-0 right-1.5 w-2 h-2 bg-blue-500 text-white rounded-full z-10"
405
- }, Qe = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, Xe = { class: "py-[8px] pl-0 pr-[8px]" }, Ye = ["href"], e0 = { class: "flex flex-nowrap items-center w-full h-[24px]" }, t0 = { class: "w-[44px] flex-shrink-0 relative" }, s0 = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, l0 = { class: "py-[8px] pl-0 pr-[8px]" }, o0 = /* @__PURE__ */ s1({
405
+ }, Xe = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, Ye = { class: "py-[8px] pl-0 pr-[8px]" }, e0 = ["href"], t0 = { class: "flex flex-nowrap items-center w-full h-[24px]" }, s0 = { class: "w-[44px] flex-shrink-0 relative" }, l0 = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, o0 = { class: "py-[8px] pl-0 pr-[8px]" }, n0 = /* @__PURE__ */ s1({
406
406
  __name: "OneSidebar",
407
- props: A1,
407
+ props: I1,
408
408
  emits: ["show-news", "show-tariff", "select-language", "update-collapsed", "update:modelValue"],
409
409
  setup(u, { emit: h }) {
410
- var H, P, F;
410
+ var E, H, F;
411
411
  const a = h, p = u, y = $(() => {
412
412
  var o;
413
413
  return ((o = p.news) == null ? void 0 : o.unseenCount) || 0;
@@ -421,14 +421,14 @@ const I1 = /* @__PURE__ */ o1(be, [["render", ge]]), V1 = (u) => {
421
421
  $(() => v.value ? p.minimizedWidth : p.width);
422
422
  const I = (o) => {
423
423
  d.value = L.value && o;
424
- }, v = $(() => L.value && !d.value), k = $(() => !!v.value), T = _(), z = Le(T), E = $(() => p.modelValue === !0 || z.value === null ? !0 : z.value > 0), Z = _(), D = () => v.value ? p.minimizedWidth : p.width;
425
- O1(() => {
424
+ }, v = $(() => L.value && !d.value), k = $(() => !!v.value), T = _(), z = ke(T), P = $(() => p.modelValue === !0 || z.value === null ? !0 : z.value > 0), Z = _(), D = () => v.value ? p.minimizedWidth : p.width;
425
+ j1(() => {
426
426
  const o = D();
427
427
  setTimeout(() => {
428
428
  Z.value = o;
429
429
  });
430
430
  });
431
- const B = _(!1), V = _((H = p.app) != null && H.availableLang && ((P = p.app) == null ? void 0 : P.availableLang.length) > 0 ? (F = p.app) == null ? void 0 : F.availableLang.find((o) => {
431
+ const B = _(!1), V = _((E = p.app) != null && E.availableLang && ((H = p.app) == null ? void 0 : H.availableLang.length) > 0 ? (F = p.app) == null ? void 0 : F.availableLang.find((o) => {
432
432
  var C;
433
433
  return o.id == ((C = p.app) == null ? void 0 : C.lang);
434
434
  }) : null), G = () => {
@@ -440,7 +440,7 @@ const I1 = /* @__PURE__ */ o1(be, [["render", ge]]), V1 = (u) => {
440
440
  console.log("Selected Plan URL:", (C = (o = p.app) == null ? void 0 : o.selectedPlan) == null ? void 0 : C.url), (O = (M = p.app) == null ? void 0 : M.selectedPlan) != null && O.url && (window.location.href = p.app.selectedPlan.url);
441
441
  };
442
442
  return (o, C) => {
443
- var M, O, N, W, q, r, j, R, n1, a1, r1, i1, p1, d1, u1, c1, h1, f1, m1, v1, C1, w1, x1, b1, y1, g1;
443
+ var M, O, N, W, q, r, j, R, n1, a1, r1, i1, p1, d1, u1, c1, h1, f1, m1, v1, C1, w1, x1, b1, y1, g1, _1;
444
444
  return s(), l("aside", {
445
445
  ref_key: "rootElement",
446
446
  ref: A,
@@ -449,13 +449,13 @@ const I1 = /* @__PURE__ */ o1(be, [["render", ge]]), V1 = (u) => {
449
449
  onMouseenter: C[0] || (C[0] = (c) => I(!0)),
450
450
  onMouseleave: C[1] || (C[1] = (c) => I(!1))
451
451
  }, [
452
- $1(e("div", {
452
+ S1(e("div", {
453
453
  class: "overflow-y-auto top-[56px] left-0 overflow-hidden bg-white lg:bg-transparent transition-all z-50",
454
454
  ref_key: "menu",
455
455
  ref: T
456
456
  }, [
457
457
  e("div", null, [
458
- (s(!0), l(U, null, Q(o.items, (c) => (s(), m(xe, {
458
+ (s(!0), l(U, null, Q(o.items, (c) => (s(), m(be, {
459
459
  key: c.label,
460
460
  labelTop: c.labelTop,
461
461
  subItemsVisible: c == null ? void 0 : c.subItemsVisible,
@@ -471,9 +471,9 @@ const I1 = /* @__PURE__ */ o1(be, [["render", ge]]), V1 = (u) => {
471
471
  }, null, 8, ["labelTop", "subItemsVisible", "subItems", "open", "icon", "label", "route", "href", "slim", "route-name", "exact"]))), 128))
472
472
  ])
473
473
  ], 512), [
474
- [S1, E.value]
474
+ [B1, P.value]
475
475
  ]),
476
- $1(e("div", null, [
476
+ S1(e("div", null, [
477
477
  e("div", {
478
478
  class: x([k.value ? "hidden" : "w-full"])
479
479
  }, [
@@ -485,81 +485,81 @@ const I1 = /* @__PURE__ */ o1(be, [["render", ge]]), V1 = (u) => {
485
485
  rel: "noopener noreferrer"
486
486
  }, [
487
487
  C[2] || (C[2] = e("div", { class: "absolute inset-0 rounded-lg bg-gradient-to-r from-[#E1A508] via-red-500 to-[#E04040]" }, null, -1)),
488
- e("div", $e, [
489
- e("div", Se, [
488
+ e("div", Se, [
489
+ e("div", Be, [
490
490
  (s(), m(g((N = o.app) == null ? void 0 : N.offerPlan.icon), { class: "w-[24px] h-[24px] mx-auto" }))
491
491
  ]),
492
- e("p", Be, i((W = o.app) == null ? void 0 : W.offerPlan.title) + " «" + i((q = o.app) == null ? void 0 : q.offerPlan.name) + "» " + i((r = o.app) == null ? void 0 : r.offerPlan.title1), 1)
492
+ e("p", Ve, i((W = o.app) == null ? void 0 : W.offerPlan.title) + " «" + i((q = o.app) == null ? void 0 : q.offerPlan.name) + "» " + i((r = o.app) == null ? void 0 : r.offerPlan.title1), 1)
493
493
  ])
494
- ], 8, ke)) : n("", !0),
495
- (j = o.app) != null && j.selectedPlan ? (s(), l("div", Ve, [
496
- e("div", Me, [
497
- e("div", Oe, [
498
- (s(), m(g((R = o.app) == null ? void 0 : R.selectedPlan.icon), { class: "w-[24px] h-[24px]" }))
494
+ ], 8, $e)) : n("", !0),
495
+ (j = o.app) != null && j.selectedPlan && ((R = o.app) != null && R.selectedPlan.name) ? (s(), l("div", Me, [
496
+ e("div", Oe, [
497
+ e("div", je, [
498
+ (s(), m(g((n1 = o.app) == null ? void 0 : n1.selectedPlan.icon), { class: "w-[24px] h-[24px]" }))
499
499
  ]),
500
500
  e("div", null, [
501
- e("p", je, i(((n1 = o.app) == null ? void 0 : n1.selectedPlan.name) || "Free"), 1),
502
- e("p", Ae, i(((a1 = o.app) == null ? void 0 : a1.selectedPlan.title) || "Тарифний план"), 1)
501
+ e("p", Ae, i(((a1 = o.app) == null ? void 0 : a1.selectedPlan.name) || ""), 1),
502
+ e("p", Ie, i(((r1 = o.app) == null ? void 0 : r1.selectedPlan.title) || ""), 1)
503
503
  ])
504
504
  ]),
505
505
  e("div", null, [
506
- S(j1, {
506
+ S(A1, {
507
507
  class: "text-[#525B66] hover:text-[#4089E0]",
508
508
  variant: "touch",
509
- icon: b(F1),
509
+ icon: b(N1),
510
510
  onClick: K
511
511
  }, null, 8, ["icon"])
512
512
  ])
513
513
  ])) : n("", !0),
514
- (r1 = o.app) != null && r1.terms ? (s(), l("a", {
514
+ (i1 = o.app) != null && i1.terms ? (s(), l("a", {
515
515
  key: 2,
516
- href: (i1 = o.app) == null ? void 0 : i1.terms.url,
516
+ href: (p1 = o.app) == null ? void 0 : p1.terms.url,
517
517
  target: "_blank",
518
518
  class: "ml-3 flex items-center rounded-lg text-xs hover:underline font-extralight"
519
519
  }, [
520
- e("div", Te, [
521
- e("div", ze, [
522
- e("span", Ee, i(((p1 = o.app) == null ? void 0 : p1.terms.label) || "Terms"), 1)
520
+ e("div", ze, [
521
+ e("div", Pe, [
522
+ e("span", Ee, i(((d1 = o.app) == null ? void 0 : d1.terms.label) || "Terms"), 1)
523
523
  ])
524
524
  ])
525
- ], 8, Ie)) : n("", !0),
526
- (d1 = o.app) != null && d1.offer ? (s(), l("a", {
525
+ ], 8, Te)) : n("", !0),
526
+ (u1 = o.app) != null && u1.offer ? (s(), l("a", {
527
527
  key: 3,
528
- href: (u1 = o.app) == null ? void 0 : u1.offer.url,
528
+ href: (c1 = o.app) == null ? void 0 : c1.offer.url,
529
529
  target: "_blank",
530
530
  class: "ml-3 flex items-center rounded-lg text-xs hover:underline text-[#525B66] font-extralight"
531
531
  }, [
532
- e("div", Pe, [
533
- e("div", Fe, [
534
- e("span", Ne, i(((c1 = o.app) == null ? void 0 : c1.offer.label) || "Offert"), 1)
532
+ e("div", Fe, [
533
+ e("div", Ne, [
534
+ e("span", We, i(((h1 = o.app) == null ? void 0 : h1.offer.label) || "Offert"), 1)
535
535
  ])
536
536
  ])
537
537
  ], 8, He)) : n("", !0),
538
- (f1 = (h1 = o.app) == null ? void 0 : h1.availableLang) != null && f1.length ? (s(), l("div", We, [
538
+ (m1 = (f1 = o.app) == null ? void 0 : f1.availableLang) != null && m1.length ? (s(), l("div", qe, [
539
539
  e("div", {
540
540
  class: "select-box flex gap-x-3 text-xs text-[#525B66] cursor-pointer",
541
541
  onClick: G
542
542
  }, [
543
- S(b(J1), { class: "w-4" }),
544
- P1(" " + i((m1 = V.value) == null ? void 0 : m1.name) + " ", 1),
545
- e("span", qe, i(B.value ? "▲" : "▼"), 1)
543
+ S(b(K1), { class: "w-4" }),
544
+ F1(" " + i((v1 = V.value) == null ? void 0 : v1.name) + " ", 1),
545
+ e("span", Re, i(B.value ? "▲" : "▼"), 1)
546
546
  ]),
547
- B.value ? (s(), l("div", Re, [
548
- (s(!0), l(U, null, Q((v1 = o.app) == null ? void 0 : v1.availableLang, (c) => {
549
- var _1, L1;
547
+ B.value ? (s(), l("div", Ue, [
548
+ (s(!0), l(U, null, Q((C1 = o.app) == null ? void 0 : C1.availableLang, (c) => {
549
+ var L1, k1;
550
550
  return s(), l("div", {
551
551
  key: c.id,
552
- class: x(["px-2", { "hover:bg-slate-200 rounded-lg cursor-pointer": c.id !== ((_1 = V.value) == null ? void 0 : _1.id), "text-gray-300": c.id === ((L1 = V.value) == null ? void 0 : L1.id) }]),
553
- onClick: (G0) => {
554
- var k1;
555
- return c.id !== ((k1 = V.value) == null ? void 0 : k1.id) && J(c);
552
+ class: x(["px-2", { "hover:bg-slate-200 rounded-lg cursor-pointer": c.id !== ((L1 = V.value) == null ? void 0 : L1.id), "text-gray-300": c.id === ((k1 = V.value) == null ? void 0 : k1.id) }]),
553
+ onClick: (J0) => {
554
+ var $1;
555
+ return c.id !== (($1 = V.value) == null ? void 0 : $1.id) && J(c);
556
556
  }
557
- }, i(c.name), 11, Ue);
557
+ }, i(c.name), 11, Ze);
558
558
  }), 128))
559
559
  ])) : n("", !0)
560
560
  ])) : n("", !0)
561
561
  ], 2),
562
- k.value ? n("", !0) : (s(), l("div", Ze)),
562
+ k.value ? n("", !0) : (s(), l("div", De)),
563
563
  e("div", {
564
564
  class: x(["flex", [o.slim ? " grid" : "grid"]])
565
565
  }, [
@@ -569,82 +569,82 @@ const I1 = /* @__PURE__ */ o1(be, [["render", ge]]), V1 = (u) => {
569
569
  class: x(["text-[#525B66] flex items-center rounded-lg text-sm tooltip hover:bg-primary-10-hover hover:text-primary-base transition-all", [k.value ? "w-[44px] h-[44px]" : "w-full h-[44px]"]]),
570
570
  onClick: w
571
571
  }, [
572
- e("div", De, [
573
- e("div", Ge, [
572
+ e("div", Ge, [
573
+ e("div", Je, [
574
574
  e("div", null, [
575
- (s(), m(g(I1), { class: "w-[24px] h-[24px] mx-auto" }))
575
+ (s(), m(g(T1), { class: "w-[24px] h-[24px] mx-auto" }))
576
576
  ]),
577
- y.value > 0 ? (s(), l("span", Je)) : n("", !0),
578
- y.value > 0 ? (s(), l("span", Ke)) : n("", !0)
577
+ y.value > 0 ? (s(), l("span", Ke)) : n("", !0),
578
+ y.value > 0 ? (s(), l("span", Qe)) : n("", !0)
579
579
  ]),
580
- e("div", Qe, [
581
- e("span", Xe, i(o.news.menuLabel || "News"), 1)
580
+ e("div", Xe, [
581
+ e("span", Ye, i(o.news.menuLabel || "News"), 1)
582
582
  ])
583
583
  ])
584
584
  ], 2)) : n("", !0),
585
- (C1 = o.app) != null && C1.support ? (s(), l("a", {
585
+ (w1 = o.app) != null && w1.support ? (s(), l("a", {
586
586
  key: 1,
587
- href: (x1 = (w1 = o.app) == null ? void 0 : w1.support) == null ? void 0 : x1.url,
587
+ href: (b1 = (x1 = o.app) == null ? void 0 : x1.support) == null ? void 0 : b1.url,
588
588
  class: x(["text-[#525B66] flex items-center rounded-lg text-sm tooltip hover:bg-primary-10-hover hover:text-primary-base transition-all", [k.value ? "w-[44px] h-[44px]" : "w-full h-[44px]"]])
589
589
  }, [
590
- e("div", e0, [
591
- e("div", t0, [
590
+ e("div", t0, [
591
+ e("div", s0, [
592
592
  e("div", null, [
593
- (s(), m(g(b(G1)), { class: "w-[24px] h-[24px] mx-auto" }))
593
+ (s(), m(g(b(J1)), { class: "w-[24px] h-[24px] mx-auto" }))
594
594
  ])
595
595
  ]),
596
- e("div", s0, [
597
- e("span", l0, i(((y1 = (b1 = o.app) == null ? void 0 : b1.support) == null ? void 0 : y1.label) || "Support"), 1)
596
+ e("div", l0, [
597
+ e("span", o0, i(((g1 = (y1 = o.app) == null ? void 0 : y1.support) == null ? void 0 : g1.label) || "Support"), 1)
598
598
  ])
599
599
  ])
600
- ], 10, Ye)) : n("", !0)
600
+ ], 10, e0)) : n("", !0)
601
601
  ], 2),
602
602
  e("p", {
603
603
  class: x([[k.value ? "hidden" : "w-full"], "text-[8px] pl-3 text-[#979CA9] flex justify-between font-extralight"])
604
604
  }, [
605
605
  C[3] || (C[3] = e("span", null, "Powered by OneB", -1)),
606
- e("span", null, i((g1 = o.app) == null ? void 0 : g1.version), 1)
606
+ e("span", null, i((_1 = o.app) == null ? void 0 : _1.version), 1)
607
607
  ], 2)
608
608
  ], 512), [
609
- [S1, E.value]
609
+ [B1, P.value]
610
610
  ])
611
611
  ], 38);
612
612
  };
613
613
  }
614
614
  });
615
- const n0 = /* @__PURE__ */ o1(o0, [["__scopeId", "data-v-22abc011"]]), a0 = { class: "h-full relative" }, r0 = {
615
+ const a0 = /* @__PURE__ */ o1(n0, [["__scopeId", "data-v-0cc118c1"]]), r0 = { class: "h-full relative" }, i0 = {
616
616
  class: "header h-[56px] flex items-center flex-nowrap fixed top-0 left-0 w-full z-50",
617
617
  style: { background: "rgba(245, 247, 251, 0.80)", "backdrop-filter": "blur(5px)" }
618
- }, i0 = { class: "p-2 flex-shrink-0" }, p0 = { class: "w-10 h-10 flex items-center flex-shrink-0" }, d0 = ["src"], u0 = { class: "whitespace-nowrap font-semibold text-xl" }, c0 = { class: "text-xs whitespace-nowrap" }, h0 = { class: "w-full" }, f0 = { class: "w-full flex justify-end pr-3" }, m0 = { class: "flex items-center space-x-1" }, v0 = {
618
+ }, p0 = { class: "p-2 flex-shrink-0" }, d0 = { class: "w-10 h-10 flex items-center flex-shrink-0" }, u0 = ["src"], c0 = { class: "whitespace-nowrap font-semibold text-xl" }, h0 = { class: "text-xs whitespace-nowrap" }, f0 = { class: "w-full" }, m0 = { class: "w-full flex justify-end pr-3" }, v0 = { class: "flex items-center space-x-1" }, C0 = {
619
619
  key: 0,
620
620
  class: "module-border-wrap flex justify-center items-center"
621
- }, C0 = { class: "h-4 w-4" }, w0 = { class: "ml-2 hidden sm:flex" }, x0 = ["href"], b0 = { class: "flex h-full" }, y0 = { class: "content transition-all pt-[56px]" }, g0 = { key: 0 }, _0 = {
621
+ }, w0 = { class: "h-4 w-4" }, x0 = { class: "ml-2 hidden sm:flex" }, b0 = ["href"], y0 = { class: "flex h-full" }, g0 = { class: "content transition-all pt-[56px]" }, _0 = { key: 0 }, L0 = {
622
622
  key: 0,
623
623
  class: "sm:w-[560px] w-full relative h-full"
624
- }, L0 = { class: "h-full relative" }, k0 = { class: "flex items-center p-3 space-x-1.5" }, $0 = {
624
+ }, k0 = { class: "h-full relative" }, $0 = { class: "flex items-center p-3 space-x-1.5" }, S0 = {
625
625
  class: "overflow-auto",
626
626
  style: { height: "calc(100% - 62px)" }
627
- }, S0 = {
627
+ }, B0 = {
628
628
  key: 0,
629
629
  class: "p-5"
630
- }, B0 = { key: 1 }, V0 = { class: "p-4 text-gray text-center" }, M0 = { key: 2 }, O0 = {
630
+ }, V0 = { key: 1 }, M0 = { class: "p-4 text-gray text-center" }, O0 = { key: 2 }, j0 = {
631
631
  class: "p-3 space-y-1.5 rounded-lg",
632
632
  style: { "box-shadow": "0 0 6px #eaeaea" }
633
- }, j0 = { key: 0 }, A0 = {
633
+ }, A0 = { key: 0 }, I0 = {
634
634
  key: 0,
635
635
  class: "text-xs px-2 py-1 rounded-md bg-green-600 text-white"
636
- }, I0 = {
636
+ }, T0 = {
637
637
  key: 1,
638
638
  class: "text-xs px-2 py-1 rounded-md bg-yellow-600 text-white"
639
- }, T0 = {
639
+ }, z0 = {
640
640
  key: 2,
641
641
  class: "text-xs px-2 py-1 rounded-md bg-blue-600 text-white"
642
- }, z0 = {
642
+ }, P0 = {
643
643
  key: 3,
644
644
  class: "text-xs px-2 py-1 rounded-md bg-gray-600 text-white"
645
- }, E0 = { class: "text-lg font-medium" }, H0 = { class: "text-sm text-gray-600" }, P0 = { key: 0 }, F0 = ["src"], N0 = { class: "text-sm whitespace-pre-wrap break-words" }, W0 = { key: 1 }, q0 = ["href"], R0 = { class: "text-sm flex items-center justify-between mt-1" }, U0 = { class: "text-gray-800" }, Z0 = ["href"], D0 = /* @__PURE__ */ s1({
645
+ }, E0 = { class: "text-lg font-medium" }, H0 = { class: "text-sm text-gray-600" }, F0 = { key: 0 }, N0 = ["src"], W0 = { class: "text-sm whitespace-pre-wrap break-words" }, q0 = { key: 1 }, R0 = ["href"], U0 = { class: "text-sm flex items-center justify-between mt-1" }, Z0 = { class: "text-gray-800" }, D0 = ["href"], G0 = /* @__PURE__ */ s1({
646
646
  __name: "OneMainLayout",
647
- props: Z1,
647
+ props: D1,
648
648
  emits: ["load-news", "load-tariff", "open-tariff"],
649
649
  setup(u, { emit: h }) {
650
650
  const a = h, p = u;
@@ -661,25 +661,25 @@ const n0 = /* @__PURE__ */ o1(o0, [["__scopeId", "data-v-22abc011"]]), a0 = { cl
661
661
  (f = p.handlers) == null || f.onSetLang(t);
662
662
  };
663
663
  return (t, f) => {
664
- var v, k, T, z, E, Z, D, B, V, G, J, K, H, P, F, o, C, M, O, N, W, q;
665
- const I = M1("RouterLink");
666
- return s(), l("div", a0, [
667
- e("div", r0, [
668
- e("div", i0, [
664
+ var v, k, T, z, P, Z, D, B, V, G, J, K, E, H, F, o, C, M, O, N, W, q;
665
+ const I = O1("RouterLink");
666
+ return s(), l("div", r0, [
667
+ e("div", i0, [
668
+ e("div", p0, [
669
669
  e("button", {
670
670
  onClick: f[0] || (f[0] = (r) => w.value = !w.value),
671
671
  class: "w-[44px] h-[44px] p-[8px] flex items-center justify-center rounded hover:bg-secondary-10 hover:text-blue-600"
672
672
  }, [
673
- S(b(D1), { class: "w-[24px] h-[24px]" })
673
+ S(b(G1), { class: "w-[24px] h-[24px]" })
674
674
  ])
675
675
  ]),
676
- e("div", p0, [
676
+ e("div", d0, [
677
677
  t.logoSrc != null ? (s(), l("img", {
678
678
  key: 0,
679
679
  src: t.logoSrc,
680
680
  class: "w-8 h-8 mx-auto",
681
681
  alt: "logo"
682
- }, null, 8, d0)) : n("", !0)
682
+ }, null, 8, u0)) : n("", !0)
683
683
  ]),
684
684
  t.app != null ? (s(), m(I, {
685
685
  key: 0,
@@ -689,17 +689,17 @@ const n0 = /* @__PURE__ */ o1(o0, [["__scopeId", "data-v-22abc011"]]), a0 = { cl
689
689
  default: t1(() => {
690
690
  var r, j;
691
691
  return [
692
- e("div", u0, i(t.app.name), 1),
693
- e("div", c0, i((j = (r = t.app) == null ? void 0 : r.workspace) == null ? void 0 : j.name), 1)
692
+ e("div", c0, i(t.app.name), 1),
693
+ e("div", h0, i((j = (r = t.app) == null ? void 0 : r.workspace) == null ? void 0 : j.name), 1)
694
694
  ];
695
695
  }),
696
696
  _: 1
697
697
  })) : n("", !0),
698
- e("div", h0, [
699
- e("div", f0, [
700
- e("div", m0, [
701
- B1(t.$slots, "before-header-menu", {}, void 0, !0),
702
- t.improveTariff ? (s(), l("div", v0, [
698
+ e("div", f0, [
699
+ e("div", m0, [
700
+ e("div", v0, [
701
+ V1(t.$slots, "before-header-menu", {}, void 0, !0),
702
+ t.improveTariff ? (s(), l("div", C0, [
703
703
  e("button", {
704
704
  type: "button",
705
705
  class: "cursor-pointer flex items-center h-full bg-[#FFF8E4] hover:bg-[#f2e3b8] rounded-full px-2 py-1 font-medium",
@@ -710,32 +710,32 @@ const n0 = /* @__PURE__ */ o1(o0, [["__scopeId", "data-v-22abc011"]]), a0 = { cl
710
710
  }),
711
711
  style: { "font-size": "10px" }
712
712
  }, [
713
- e("div", C0, [
713
+ e("div", w0, [
714
714
  (s(), m(g((v = t.improveTariff) == null ? void 0 : v.icon), { class: "h-4 w-4 mx-auto" }))
715
715
  ]),
716
- e("span", w0, i((k = t.improveTariff) == null ? void 0 : k.label), 1)
716
+ e("span", x0, i((k = t.improveTariff) == null ? void 0 : k.label), 1)
717
717
  ])
718
718
  ])) : n("", !0),
719
719
  (z = (T = t.app) == null ? void 0 : T.help) != null && z.url ? (s(), l("a", {
720
720
  key: 1,
721
- href: (Z = (E = t.app) == null ? void 0 : E.help) == null ? void 0 : Z.url,
721
+ href: (Z = (P = t.app) == null ? void 0 : P.help) == null ? void 0 : Z.url,
722
722
  target: "_blank",
723
723
  title: "Help",
724
724
  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"
725
725
  }, [
726
- S(b(K1), { class: "text-secondary-base w-full p-1 hover:text-blue-600" })
727
- ], 8, x0)) : n("", !0),
728
- ((D = t.handlers) == null ? void 0 : D.onBrowse) != null ? (s(), m(N1, {
726
+ S(b(Q1), { class: "text-secondary-base w-full p-1 hover:text-blue-600" })
727
+ ], 8, b0)) : n("", !0),
728
+ ((D = t.handlers) == null ? void 0 : D.onBrowse) != null ? (s(), m(W1, {
729
729
  key: 2,
730
730
  workspace: (B = t.app) == null ? void 0 : B.workspace,
731
731
  apps: ((V = t.app) == null ? void 0 : V.apps) || [],
732
732
  "change-label": ((G = t.labels) == null ? void 0 : G.change) || "Change",
733
733
  "apps-title": ((J = t.labels) == null ? void 0 : J.apps) || "Apps",
734
734
  "on-app": (K = t.handlers) == null ? void 0 : K.onApp,
735
- "on-change": (H = t.handlers) == null ? void 0 : H.onChange,
736
- onOpen: (P = t.handlers) == null ? void 0 : P.onBrowse
735
+ "on-change": (E = t.handlers) == null ? void 0 : E.onChange,
736
+ onOpen: (H = t.handlers) == null ? void 0 : H.onBrowse
737
737
  }, null, 8, ["workspace", "apps", "change-label", "apps-title", "on-app", "on-change", "onOpen"])) : n("", !0),
738
- S(W1, {
738
+ S(q1, {
739
739
  user: t.user,
740
740
  app: t.app,
741
741
  "account-label": ((F = t.labels) == null ? void 0 : F.account) || "Account",
@@ -748,9 +748,9 @@ const n0 = /* @__PURE__ */ o1(o0, [["__scopeId", "data-v-22abc011"]]), a0 = { cl
748
748
  ])
749
749
  ])
750
750
  ]),
751
- e("div", b0, [
751
+ e("div", y0, [
752
752
  e("div", null, [
753
- S(n0, {
753
+ S(a0, {
754
754
  slim: w.value,
755
755
  app: t.app,
756
756
  items: t.sidebarItems,
@@ -766,12 +766,12 @@ const n0 = /* @__PURE__ */ o1(o0, [["__scopeId", "data-v-22abc011"]]), a0 = { cl
766
766
  e("div", {
767
767
  class: x([[w.value ? "" : "hidden lg:block"], "body w-full overflow-y-auto"])
768
768
  }, [
769
- e("div", y0, [
770
- B1(t.$slots, "default", {}, void 0, !0)
769
+ e("div", g0, [
770
+ V1(t.$slots, "default", {}, void 0, !0)
771
771
  ])
772
772
  ], 2)
773
773
  ]),
774
- t.news ? (s(), l("div", g0, [
774
+ t.news ? (s(), l("div", _0, [
775
775
  d.value ? (s(), l("div", {
776
776
  key: 0,
777
777
  class: "fixed top-0 left-0 h-screen w-screen bg-gray-100 bg-opacity-40 z-50",
@@ -780,60 +780,60 @@ const n0 = /* @__PURE__ */ o1(o0, [["__scopeId", "data-v-22abc011"]]), a0 = { cl
780
780
  e("div", {
781
781
  class: x(["opacity-100 shadow-lg transition-all fixed top-0 left-0 h-screen overflow-hidden z-50 bg-white", [d.value ? "sm:w-[560px] w-full" : "w-0"]])
782
782
  }, [
783
- d.value ? (s(), l("div", _0, [
784
- e("div", L0, [
785
- e("div", k0, [
786
- S(I1, { class: "w-10 h-10" }),
783
+ d.value ? (s(), l("div", L0, [
784
+ e("div", k0, [
785
+ e("div", $0, [
786
+ S(T1, { class: "w-10 h-10" }),
787
787
  f[6] || (f[6] = e("div", { class: "w-full font-medium" }, "OneB News", -1)),
788
788
  e("div", null, [
789
- S(j1, {
789
+ S(A1, {
790
790
  variant: "touch",
791
- icon: b(R1),
791
+ icon: b(U1),
792
792
  onClick: f[5] || (f[5] = (r) => d.value = !1)
793
793
  }, null, 8, ["icon"])
794
794
  ])
795
795
  ]),
796
- e("div", $0, [
797
- t.news.isLoading && ((N = t.news.items) == null ? void 0 : N.length) === 0 ? (s(), l("div", S0, [
798
- S(q1, { class: "w-6 h-6 text-gray-600 mx-auto" })
799
- ])) : ((W = t.news.items) == null ? void 0 : W.length) === 0 ? (s(), l("div", B0, [
800
- e("div", V0, i(t.news.emptyText), 1)
801
- ])) : ((q = t.news.items) == null ? void 0 : q.length) > 0 ? (s(), l("div", M0, [
796
+ e("div", S0, [
797
+ t.news.isLoading && ((N = t.news.items) == null ? void 0 : N.length) === 0 ? (s(), l("div", B0, [
798
+ S(R1, { class: "w-6 h-6 text-gray-600 mx-auto" })
799
+ ])) : ((W = t.news.items) == null ? void 0 : W.length) === 0 ? (s(), l("div", V0, [
800
+ e("div", M0, i(t.news.emptyText), 1)
801
+ ])) : ((q = t.news.items) == null ? void 0 : q.length) > 0 ? (s(), l("div", O0, [
802
802
  (s(!0), l(U, null, Q(t.news.items, (r) => (s(), l("div", {
803
803
  key: r.id,
804
804
  class: "p-3"
805
805
  }, [
806
- e("div", O0, [
806
+ e("div", j0, [
807
807
  e("div", null, [
808
- r.type ? (s(), l("div", j0, [
809
- r.type === 10 ? (s(), l("span", A0, "update")) : r.type === 11 ? (s(), l("span", I0, "warning")) : r.type === 12 ? (s(), l("span", T0, "notice")) : r.type === 13 ? (s(), l("span", z0, "ads")) : n("", !0)
808
+ r.type ? (s(), l("div", A0, [
809
+ r.type === 10 ? (s(), l("span", I0, "update")) : r.type === 11 ? (s(), l("span", T0, "warning")) : r.type === 12 ? (s(), l("span", z0, "notice")) : r.type === 13 ? (s(), l("span", P0, "ads")) : n("", !0)
810
810
  ])) : n("", !0),
811
811
  e("div", E0, i(r.title), 1),
812
812
  e("div", H0, i(r.summary), 1)
813
813
  ]),
814
- r.image_url ? (s(), l("div", P0, [
814
+ r.image_url ? (s(), l("div", F0, [
815
815
  e("img", {
816
816
  src: r.image_url,
817
817
  alt: "",
818
818
  class: "w-full rounded-md"
819
- }, null, 8, F0)
819
+ }, null, 8, N0)
820
820
  ])) : n("", !0),
821
- e("div", N0, i(r.body), 1),
822
- r.video_url ? (s(), l("div", W0, [
821
+ e("div", W0, i(r.body), 1),
822
+ r.video_url ? (s(), l("div", q0, [
823
823
  e("a", {
824
824
  href: r.video_url,
825
825
  target: "_blank",
826
826
  class: "text-blue-600 hover:text-blue-700 px-3 py-2 border rounded-md w-full block"
827
- }, i(t.news.openVideoText), 9, q0)
827
+ }, i(t.news.openVideoText), 9, R0)
828
828
  ])) : n("", !0),
829
- e("div", R0, [
830
- e("span", U0, i(r.published), 1),
829
+ e("div", U0, [
830
+ e("span", Z0, i(r.published), 1),
831
831
  r.post_url ? (s(), l("a", {
832
832
  key: 0,
833
833
  href: r.post_url,
834
834
  target: "_blank",
835
835
  class: "text-blue-600 hover:text-blue-700 block"
836
- }, i(t.news.moreText), 9, Z0)) : n("", !0)
836
+ }, i(t.news.moreText), 9, D0)) : n("", !0)
837
837
  ])
838
838
  ])
839
839
  ]))), 128))
@@ -847,8 +847,8 @@ const n0 = /* @__PURE__ */ o1(o0, [["__scopeId", "data-v-22abc011"]]), a0 = { cl
847
847
  };
848
848
  }
849
849
  });
850
- const t9 = /* @__PURE__ */ o1(D0, [["__scopeId", "data-v-8d16a165"]]);
850
+ const s9 = /* @__PURE__ */ o1(G0, [["__scopeId", "data-v-8d16a165"]]);
851
851
  export {
852
- t9 as OneMainLayout,
853
- n0 as OneSidebar
852
+ s9 as OneMainLayout,
853
+ a0 as OneSidebar
854
854
  };
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-22abc011]{position:absolute;background:white;border:1px solid #ccc;border-radius:5px;padding:10px;bottom:100%;left:0}.tooltip[data-v-22abc011]{position:relative}.tooltip-text[data-v-22abc011]{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-22abc011]{visibility:visible;opacity:1}.cont[data-v-22abc011]{display:flex;flex-direction:column;height:100vh;justify-content:space-between}.overflow-y-auto[data-v-22abc011]::-webkit-scrollbar{width:2px}.overflow-y-auto[data-v-22abc011]::-webkit-scrollbar-track{background-color:#f1f1f1;border-radius:10px}.overflow-y-auto[data-v-22abc011]::-webkit-scrollbar-thumb{background-color:#888;border-radius:10px}.overflow-y-auto[data-v-22abc011]::-webkit-scrollbar-thumb:hover{background-color:#555}.module-border-wrap[data-v-8d16a165]{border-radius:14px;position:relative;background:linear-gradient(to right,#e1a508,#e04040);padding:1px}.overflow-y-auto[data-v-8d16a165]::-webkit-scrollbar{width:2px}.overflow-y-auto[data-v-8d16a165]::-webkit-scrollbar-track{background-color:#f1f1f1;border-radius:10px}.overflow-y-auto[data-v-8d16a165]::-webkit-scrollbar-thumb{background-color:#888;border-radius:10px}.overflow-y-auto[data-v-8d16a165]::-webkit-scrollbar-thumb:hover{background-color:#555}@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-0cc118c1]{position:absolute;background:white;border:1px solid #ccc;border-radius:5px;padding:10px;bottom:100%;left:0}.tooltip[data-v-0cc118c1]{position:relative}.tooltip-text[data-v-0cc118c1]{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-0cc118c1]{visibility:visible;opacity:1}.cont[data-v-0cc118c1]{display:flex;flex-direction:column;height:100vh;justify-content:space-between}.overflow-y-auto[data-v-0cc118c1]::-webkit-scrollbar{width:2px}.overflow-y-auto[data-v-0cc118c1]::-webkit-scrollbar-track{background-color:#f1f1f1;border-radius:10px}.overflow-y-auto[data-v-0cc118c1]::-webkit-scrollbar-thumb{background-color:#888;border-radius:10px}.overflow-y-auto[data-v-0cc118c1]::-webkit-scrollbar-thumb:hover{background-color:#555}.module-border-wrap[data-v-8d16a165]{border-radius:14px;position:relative;background:linear-gradient(to right,#e1a508,#e04040);padding:1px}.overflow-y-auto[data-v-8d16a165]::-webkit-scrollbar{width:2px}.overflow-y-auto[data-v-8d16a165]::-webkit-scrollbar-track{background-color:#f1f1f1;border-radius:10px}.overflow-y-auto[data-v-8d16a165]::-webkit-scrollbar-thumb{background-color:#888;border-radius:10px}.overflow-y-auto[data-v-8d16a165]::-webkit-scrollbar-thumb:hover{background-color:#555}@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.89",
3
+ "version": "0.0.90",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "files": [