1"use strict";(self.webpackChunkkeyso=self.webpackChunkkeyso||[]).push([[4355],{44355:(e,t,i)=>{i.r(t),i.d(t,{default:()=>L});var r=i(6934),l={class:"modal-col mb-3"},n={class:"modal-row label"},o={class:"modal-col"},a={class:"label"},s={class:"modal-col"},c={class:"right"},d={style:{color:"#717B85"}},m={class:"modal-row"},u=["max"],f={class:"modal-col mb-3"},p={class:"modal-row label"},v={class:"modal-col"},g={class:"label"},y={class:"modal-col"},V={class:"right"},h={class:"modal-col mb-3"},E={class:"modal-row label gap-1"},N={class:"modal-col"},b={class:"label"},_={class:"modal-col"},C={class:"right"};var w=i(92537),A=i(68623),M=i(31631);const k={components:{ReportLimits:w.A},mixins:[M.A],data:function(){return{limits:{analysis:{limit:0,usedLimit:0},recordsPerReport:{limit:0},recordsExportPerReport:{limit:0}}}},created:function(){var e=this;this.$emitter.on(A.q.KS_LIMITS_LOADED,function(t){return e.limits=t})}};const L=(0,i(66262).A)(k,[["render",function(e,t,i,w,A,M){var k=(0,r.resolveComponent)("report-limits");return(0,r.openBlock)(),(0,r.createBlock)(k,null,{default:(0,r.withCtx)(function(){return[(0,r.createElementVNode)("div",l,[(0,r.createElementVNode)("div",n,[(0,r.createElementVNode)("div",o,[(0,r.createElementVNode)("div",a,(0,r.toDisplayString)(e.$tm("lang.limitModal.check_top.total")),1)]),(0,r.createElementVNode)("div",s,[(0,r.createElementVNode)("div",c,[(0,r.createTextVNode)((0,r.toDisplayString)(A.limits.analysis.usedLimit.formatMoney(0," "," "))+"/",1),(0,r.createElementVNode)("span",d,(0,r.toDisplayString)(A.limits.analysis.limit.formatMoney(0," "," ")),1)])])]),(0,r.createElementVNode)("div",m,[(0,r.withDirectives)((0,r.createElementVNode)("input",{type:"range",min:"0",max:A.limits.analysis.limit,step:"1","onUpdate:modelValue":t[0]||(t[0]=function(e){return A.limits.analysis.usedLimit=e}),style:{width:"100%"}},null,8,u),[[r.vModelText,A.limits.analysis.usedLimit]])])]),(0,r.createElementVNode)("div",f,[(0,r.createElementVNode)("div",p,[(0,r.createElementVNode)("div",v,[(0,r.createElementVNode)("div",g,(0,r.toDisplayString)(e.$t("lang.limitModal.yandex_direct.records_per_report_limit")),1)]),(0,r.createElementVNode)("div",y,[(0,r.createElementVNode)("div",V,(0,r.toDisplayString)(e.isUnlimit(A.limits.recordsPerReport.limit)?e.$t("lang.limitModal.unlimit"):A.limits.recordsPerReport.limit.formatMoney(0," "," ")),1)])])]),(0,r.createElementVNode)("div",h,[(0,r.createElementVNode)("div",E,[(0,r.createElementVNode)("div",N,[(0,r.createElementVNode)("div",b,(0,r.toDisplayString)(e.$t("lang.limitModal.yandex_direct.max_export_rows")),1)]),(0,r.createElementVNode)("div",_,[(0,r.createElementVNode)("div",C,(0,r.toDisplayString)(A.limits.recordsExportPerReport.limit.formatMoney(0," "," ")),1)])])])]}),_:1})}],["__scopeId","data-v-5a4d92ca"]])},92537:(e,t,i)=>{i.d(t,{A:()=>N});var r=i(6934),l={key:0},n={class:"grid report_limits__content_container"},o={class:"col"},a={class:"flex justify-content-between align-content-center"},s={class:"label"},c={class:"value"},d={class:"grid grid-nogutter"},m={class:"col"},u={class:"grid grid-nogutter"},f={class:"col"};var p=i(68623),v=i(91445),g=i(84720),y=i(71476),V=i(2389),h=i(32705);const E={mixins:[y.A,V.A],props:{buyLimitsOnCorp:{type:Boolean,required:!1,default:!0}},data:function(){return{loading:!1,tariff:"",limits:{},errorMessage:null}},computed:{getApiUrl:function(){return this.$config.API_URL+"/limits/all"},getCurrentUser:function(){return this.$store.getters.USER},getCurrentTariffLabel:function(){return this.getCurrentUser.currentTariff.label},isCorpTariff:function(){var e,t;return 5===(null===(e=this.getCurrentUser)||void 0===e||null===(t=e.currentTariff)||void 0===t?void 0:t.number)},isBuyLimitsMode:function(){return this.buyLimitsOnCorp&&this.isCorpTariff},upTariffLabel:function(){return this.isBuyLimitsMode?this.$t("lang.limitModal.buy_limits"):this.$t("lang.limitModal.up_tariff")}},methods:{tariffInfoAction:function(){5!==this.getCurrentUser.currentTariff.number?window.open("/tarif#details__title","_blank"):window.open("/tarif#individual__title","_blank")},upTariffAction:function(){this.isBuyLimitsMode?this.onOpenVerbox():window.open("/tarif","_blank")},onOpen:function(e){var t=this;this.$refs.overlay.isOpen?this.$refs.overlay.hide():(this.$refs.overlay.show(e),this.tariff=this.getCurrentUser.currentTariff.label,this.loading=!0,h.A.getLimits().then(function(e){t.limits=e,t.$emitter.emit(p.q.KS_LIMITS_LOADED,e)}).catch(function(e){return t.alertError(e)}).finally(function(){return t.loading=!1}))}},components:{Button:v.A,AdaptersOverlayPanel:g.A}};const N=(0,i(66262).A)(E,[["render",function(e,t,i,p,v,g){var y=(0,r.resolve
1Component)("Button"),V=(0,r.resolveComponent)("AdaptersOverlayPanel");return g.getCurrentUser?((0,r.openBlock)(),(0,r.createElementBlock)("div",l,[(0,r.createVNode)(y,{onClick:g.onOpen,class:"p-button-extra-sm",label:e.$t("lang.report.limits"),severity:"secondary",text:"",icon:"pi pi-sliders-h"},null,8,["onClick","label"]),(0,r.createVNode)(V,{ref:"overlay",loading:v.loading,errorMessage:v.errorMessage},{default:(0,r.withCtx)(function(){return[(0,r.createElementVNode)("div",n,[(0,r.createElementVNode)("div",o,[(0,r.createElementVNode)("div",a,[(0,r.createElementVNode)("div",null,[(0,r.createElementVNode)("div",s,(0,r.toDisplayString)(e.$t("lang.limitModal.tariff_label")),1),(0,r.createElementVNode)("div",c,(0,r.toDisplayString)(g.getCurrentTariffLabel),1)]),(0,r.createElementVNode)("i",{class:"pi pi-question-circle cursor-pointer",onClick:t[0]||(t[0]=function(){return g.tariffInfoAction&&g.tariffInfoAction.apply(g,arguments)})})])])]),(0,r.createElementVNode)("div",d,[(0,r.createElementVNode)("div",m,[(0,r.renderSlot)(e.$slots,"default",{},void 0,!0)])]),(0,r.createElementVNode)("div",u,[(0,r.createElementVNode)("div",f,[(0,r.createCommentVNode)(" Ðопап инÑÑÑÑменÑа Ð¼Ð¾Ð¶ÐµÑ Ð·Ð°Ð¼ÐµÐ½Ð¸ÑÑ ÐºÐ½Ð¾Ð¿ÐºÑ Ñвоими "),(0,r.renderSlot)(e.$slots,"actions",{},function(){return[(0,r.createVNode)(y,{label:g.upTariffLabel,onClick:g.upTariffAction,size:"small",class:"white-space-nowrap"},null,8,["label","onClick"])]},!0)])])]}),_:3},8,["loading","errorMessage"])])):(0,r.createCommentVNode)("v-if",!0)}],["__scopeId","data-v-c5eba33a"]])}}]); 2//# sourceMappingURL=4355.2dd705e062020047e142.min.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.