1(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-72c03b94"],{"05c0":function(t,a,e){"use strict";var i=e("2b0e"),s=e("c474"),r=e("463c"),n=e("7ee0"),p=e("9e62"),l=e("7562"),o=e("0831"),c=e("d882"),h=e("f249"),d=e("e277"),u=e("2f79");const m={role:"tooltip"};a["a"]=i["default"].extend({name:"QTooltip",mixins:[s["a"],r["a"],n["a"],p["c"],l["a"]],props:{maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{default:"jump-down"},transitionHide:{default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:u["d"]},self:{type:String,default:"top middle",validator:u["d"]},offset:{type:Array,default:()=>[14,14],validator:u["c"]},scrollTarget:{default:void 0},delay:{type:Number,default:0},hideDelay:{type:Number,default:0}},computed:{anchorOrigin(){return Object(u["a"])(this.anchor,this.$q.lang.rtl)},selfOrigin(){return Object(u["a"])(this.self,this.$q.lang.rtl)},hideOnRouteChange(){return!0!==this.persistent}},methods:{__show(t){this.__showPortal(),this.__registerTick(()=>{this.observer=new MutationObserver(()=>this.updatePosition()),this.observer.observe(this.__portal.$el,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),this.updatePosition(),this.__configureScrollTarget()}),void 0===this.unwatch&&(this.unwatch=this.$watch(()=>this.$q.screen.width+"|"+this.$q.screen.height+"|"+this.self+"|"+this.anchor+"|"+this.$q.lang.rtl,this.updatePosition)),this.__registerTimeout(()=>{this.__showPortal(!0),this.$emit("show",t)},300)},__hide(t){this.__removeTick(),this.__anchorCleanup(),this.__hidePortal(),this.__registerTimeout(()=>{this.__hidePortal(!0),this.$emit("hide",t)},300)},__anchorCleanup(){void 0!==this.observer&&(this.observer.disconnect(),this.observer=void 0),void 0!==this.unwatch&&(this.unwatch(),this.unwatch=void 0),this.__unconfigureScrollTarget(),Object(c["b"])(this,"tooltipTemp")},updatePosition(){if(void 0===this.anchorEl||void 0===this.__portal)return;const t=this.__portal.$el;8!==t.nodeType?Object(u["b"])({el:t,offset:this.offset,anchorEl:this.anchorEl,anchorOrigin:this.anchorOrigin,selfOrigin:this.selfOrigin,maxHeight:this.maxHeight,maxWidth:this.maxWidth}):setTimeout(this.updatePosition,25)},__delayShow(t){if(!0===this.$q.platform.is.mobile){Object(h["a"])(),document.body.classList.add("non-selectable");const t=this.anchorEl,a=["touchmove","touchcancel","touchend","click"].map(a=>[t,a,"__delayHide","passiveCapture"]);Object(c["a"])(this,"tooltipTemp",a)}this.__registerTimeout(()=>{this.show(t)},this.delay)},__delayHide(t){!0===this.$q.platform.is.mobile&&(Object(c["b"])(this,"tooltipTemp"),Object(h["a"])(),setTimeout(()=>{document.body.classList.remove("non-selectable")},10)),this.__registerTimeout(()=>{this.hide(t)},this.hideDelay)},__configureAnchorEl(){if(!0===this.noParentEvent||void 0===this.anchorEl)return;const t=!0===this.$q.platform.is.mobile?[[this.anchorEl,"touchstart","__delayShow","passive"]]:[[this.anchorEl,"mouseenter","__delayShow","passive"],[this.anchorEl,"mouseleave","__delayHide","passive"]];Object(c["a"])(this,"anchor",t)},__unconfigureScrollTarget(){void 0!==this.__scrollTarget&&(this.__changeScrollEvent(this.__scrollTarget),this.__scrollTarget=void 0)},__configureScrollTarget(){if(void 0!==this.anchorEl||void 0!==this.scrollTarget){this.__scrollTarget=Object(o["c"])(this.anchorEl,this.scrollTarget);const t=!0===this.noParentEvent?this.updatePosition:this.hide;this.__changeScrollEvent(this.__scrollTarget,t)}},__renderPortal(t){return t("transition",{props:{...this.transitionProps}},[!0===this.showing?t("div",{staticClass:"q-tooltip q-tooltip--style q-position-engine no-pointer-events",class:this.contentClass,style:this.contentStyle,attrs:m},Object(d["c"])(this,"default")):null])}},created(){this.__useTick("__registerTick","__removeTick"),this.__useTimeout("__registerTimeout")},mounted(){this.__processModelChange(this.value)}})},"079eb":function(t,a,e){"use strict";e("14d9");var i=e("2b0e"),s=e("e277"),r=e("87e8"),n=e("8716"),p=e("0016");a["a"]=i["default"].extend({name:"QBreadcrumbsEl",mixins:[r["a"],n["a"]],props:{label:String,icon:String},computed:{iconClass(){return"q-breadcrumbs__el-icon"+(void 0!==this.label?" q-breadcrumbs__el-icon--with-label":"")},renderData(){return{staticClass:"q-breadcrumbs__el q-link flex inline items-center relative-position "+(!0!==this.disable?"q-link--focusable"+this.linkClass:"q-breadcrumbs__el--disabled"),attrs:this.linkAttrs,on:{...this.qListeners,click:this.__navigateOnClick}}}},beforeCreate(){this.fallbackTag="span"},render(t){const a=[];return void 0!==this.icon&&a.push(t(p["a"],{class:this.iconClass,props:{name:this.icon}})),void 0!==this.label&&a.push(this.label),t(this.linkTag,this.renderData,Object(s["a"])(a,this,"default"))}})},2568:function(t,a,e){"use strict";e("e9c4");var i=e("2f62");a["a"]={methods:{...Object(i["b"])("Affiliate",["ActionSetAffiliates","ActionSetAffiliateSelect","ActionSetFilterAffiliate","ActionSetDialogAffiliate","ActionSetDialogUploadBonusAffiliate","ActionSetDialogAffiliatePause","ActionSetDialogMediaKit","ActionSetAffiliateBonus","ActionSetFilterAffiliateBonus"]),async getAffiliates(t,a){let e;e=this.filterAffiliate?this.filterAffiliate+"%26":"",e+=t||"page=1",e+=a||"%26perPage="+(localStorage.getItem("rowsPerPage")||"%26perPage=10"),this.onLoading(!0);try{const{data:t,status:a}=await this.$http.get("/redirect?app=affiliate&path=/api/get/affiliate/search?"+e);200===a&&(this.ActionSetAffiliates(t.data),this.ActionSetPagination(t))}catch(i){i.response&&500===i.response.status?this.errorNotify(this.$t("problem_try_again_later")):this.errorNotify(i)}finally{this.onLoading(!1)}},async createAffiliateBonus(t){this.onLoading(!0);try{const{status:a}=await this.$http.post("/redirect",{app:"conversorphp",path:"/api/transaction/addBonusToTransaction/",params:`{"data":${JSON.stringify(t)}}`});200===a&&(this.getAffiliateBonus(),this.successNotify("Bônus adicionado com sucesso!"),this.ActionSetDialogAffiliate(!1))}catch(a){a.response&&500===a.response.status?this.errorNotify(this.$t("problem_try_again_later")):this.errorNotify(a)}finally{this.onLoading(!1)}},async getAffiliateBonus(t,a){let e;e=this.filterAffiliateBonus?""+this.filterAffiliateBonus:"",e+=a||"%26perPage
1%3D"+(localStorage.getItem("rowsPerPage")||"%26perPage%3D10"),e+=t||"%26page%3D1",this.onLoading(!0);try{const{data:t,status:a}=await this.$http.get("/redirect?app=affiliate&path=/api/commission/bonusList/%3F"+e);200===a&&(this.ActionSetAffiliateBonus(t.data),this.ActionSetPagination(t))}catch(i){i.response&&500===i.response.status?this.errorNotify(this.$t("problem_try_again_later")):this.errorNotify(i)}finally{this.onLoading(!1)}},async editAffiliateBonus(t,a){this.onLoading(!0);try{const{status:e}=await this.$http.put("/redirect",{app:"conversorphp",path:"/api/transaction/updateBonus/"+t,params:`{"data":${JSON.stringify(a)}}`});200===e&&(this.getAffiliateBonus(),this.successNotify("Bônus alterado com sucesso!"),this.ActionSetDialogAffiliate(!1))}catch(e){e.response&&500===e.response.status?this.errorNotify(this.$t("problem_try_again_later")):this.errorNotify(e)}finally{this.onLoading(!1)}},async deleteAffiliateBonus(t){this.onLoading(!0);try{const{data:a,status:e}=await this.$http.delete("/redirect?app=CONVERSORPHP&path=/api/transaction/deleteBonus/"+t);200===e&&(this.ActionSetAffiliateBonus(a.data),this.ActionSetPagination(a),this.successNotify("Bônus removido com sucesso!"))}catch(a){a.response&&500===a.response.status?this.errorNotify(this.$t("problem_try_again_later")):this.errorNotify(a)}finally{this.onLoading(!1)}}},computed:{columns(){return[{name:"id",required:!0,label:"ID",align:"left",field:"id",sortable:!0},{name:"name",align:"left",label:"Nome",field:"name",sortable:!0},{name:"referer_name",align:"left",label:this.$t("origin_partner"),field:t=>t.referer_name?t.referer_name:"--",sortable:!0},{align:"left",name:"status",label:"Status",field:"status"},{align:"center",name:"comercial_manager_id",label:this.$t("commercial"),field:"comercial_manager_id"},{align:"center",name:"service_manager_id",label:this.$t("service"),field:"service_manager_id"},{name:"created_at",align:"center",label:this.$t("date_registered"),field:"created_at"},{name:"email",align:"left",label:"Email",field:"email"},{name:"action",align:"center",label:this.$t("actions"),field:"id"}]},...Object(i["c"])("Affiliate",["affiliates","affiliateSelect","filterAffiliate","dialogAffiliate","dialogUploadBonusAffiliate","dialogAffiliatePause","dialogMediaKit","affiliateBonus","filterAffiliateBonus"])}}},"4f0a":function(t,a,e){"use strict";var i=function(){var t=this,a=t._self._c;return a("div",[a("q-select",{ref:"selectRequest",attrs:{options:t.optionsFilter,label:t.label,dense:t.dense,multiple:t.multiple,"option-label":t.optionLabel,"option-value":t.optionValue,outlined:t.outlined,loading:t.loading,"use-input":"","input-debounce":"2","use-chips":t.useChips,"emit-value":t.emitValue,rules:t.rules},on:{filter:t.filterFn},scopedSlots:t._u([t.value&&t.displayCloseAll?{key:"append",fn:function(){return[a("q-icon",{staticClass:"cursor-pointer",attrs:{name:"mdi-close"},on:{click:function(a){a.stopPropagation(),t.value=null}}})]},proxy:!0}:null],null,!0),model:{value:t.value,callback:function(a){t.value=a},expression:"value"}})],1)},s=[],r=(e("e9f5"),e("910d"),e("f665"),e("7d54"),{name:"SelectRequest",props:{sort:{type:Boolean,default:!1},vModel:[Object,Array,String,Number],label:{type:String,default:""},dense:{type:Boolean,default:!1},displayCloseAll:{type:Boolean,default:!0},outlined:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},useChips:{type:Boolean,default:!1},endpoint:{type:String,default:null,require:!0},optionLabel:{type:String,default:"label"},optionValue:{type:String,default:"value"},clearable:{type:Boolean,default:!1},emitValue:{type:Boolean,default:!1},rules:{type:Array,default:()=>[]},formatLabelAffiliate:{type:Boolean,default:!1},formatLabelAdvertiser:{type:Boolean,default:!1},formatLabelCampaign:{type:Boolean,default:!1},formatLabelAffiliateCampaign:{type:Boolean,default:!1},formatLabelChannel:{type:Boolean,default:!1}},data(){return{value:null,loading:!1,options:[],optionsFilter:[]}},methods:{async getRequest(){if(this.loading=!0,!this.endpoint)throw"endpoint not null";try{const{data:t,status:a}=await this.$http.get(this.endpoint);200===a&&(this.options=t,this.sort&&this.options.sort((t,a)=>{const e=(t[this.optionLabel]||"").toString().toLowerCase(),i=(a[this.optionLabel]||"").toString().toLowerCase();return e.localeCompare(i)}
1),this.formatLabelAffiliate&&this.options.forEach((function(t,a,e){e[a].name=`${e[a].name} (ID: ${e[a].id})`})),this.formatLabelAdvertiser&&this.options.forEach((function(t,a,e){e[a].trademark=`${e[a].trademark} (ID: ${e[a].id})`})),this.formatLabelCampaign&&this.options.forEach((function(t,a,e){e[a].name=`${e[a].name} (ID: ${e[a].id})`})),this.formatLabelAffiliateCampaign&&this.options.forEach((function(t,a,e){e[a].campaign_name=`${e[a].campaign_name} (ID: ${e[a].campaign_id})`})),this.formatLabelChannel&&this.options.forEach((function(t,a,e){e[a].name=`${e[a].name} (ID: ${e[a].id})`})))}catch(t){t.response&&500===t.response.status?this.errorNotify(this.$t("problem_try_again_later")):this.errorNotify(t)}finally{this.loading=!1}},filterFn(t,a){a(()=>{const a=t.toLocaleLowerCase();a||(this.optionsFilter=this.options),this.optionsFilter=this.options.filter(t=>t[this.optionLabel].toLocaleLowerCase().indexOf(a)>-1)})},emitData(){this.$emit("update",this.value)},clearValue(){this.vModel&&null!=this.vModel&&void 0!=this.vModel?this.value=this.options.find(t=>t.id==this.vModel):this.value=null}},watch:{value:"emitData",vModel(){null!=this.vModel&&0!=this.vModel.length||(this.$refs.selectRequest.value=null)},endpoint(){this.getRequest()}},created(){this.getRequest()},mounted(){this.vModel&&(this.value=this.vModel)}}),n=r,p=e("2877"),l=e("ddd8"),o=e("0016"),c=e("93dc"),h=e.n(c),d=Object(p["a"])(n,i,s,!1,null,null,null);a["a"]=d.exports;h()(d,"components",{QSelect:l["a"],QIcon:o["a"]})},"54e1":function(t,a,e){"use strict";e("14d9");var i=e("2b0e"),s=e("b7fa"),r=e("87e8"),n=e("e277");const p={role:"alert"};a["a"]=i["default"].extend({name:"QBanner",mixins:[r["a"],s["a"]],props:{inlineActions:Boolean,dense:Boolean,rounded:Boolean},render(t){const a=Object(n["c"])(this,"action"),e=[t("div",{staticClass:"q-banner__avatar col-auto row items-center self-start"},Object(n["c"])(this,"avatar")),t("div",{staticClass:"q-banner__content col text-body2"},Object(n["c"])(this,"default"))];return void 0!==a&&e.push(t("div",{staticClass:"q-banner__actions row items-center justify-end",class:"col-"+(!0===this.inlineActions?"auto":"all")},a)),t("div",{staticClass:"q-banner row items-center",class:{"q-banner--top-padding":void 0!==a&&!this.inlineActions,"q-banner--dense":this.dense,"q-banner--dark q-dark":this.isDark,"rounded-borders":this.rounded},attrs:p,on:{...this.qListeners}},e)}})},"630c":function(t,a,e){"use strict";e.r(a);var i=function(){var t=this,a=t._self._c;return a("q-page",[a("q-card",{staticClass:"justify-center",attrs:{flat:""}},[a("q-card-section",[a("q-toolbar-title",{staticClass:"text-5 q-mr-auto q-ma-sm"},[t._v(t._s(t.$t("deeplink_api")))]),a("q-breadcrumbs",{staticClass:"q-mr-auto q-ma-sm"},[a("q-breadcrumbs-el",{attrs:{label:t.$t("dashboard"),to:"/ "}}),a("q-breadcrumbs-el",{attrs:{label:t.$t("deeplink_api"),exact:""}})],1)],1),a("q-card-section",[a("q-banner",{staticClass:"bg-info text-white q-mb-md",attrs:{rounded:""}},[a("q-item",[a("q-item-section",{attrs:{top:"",avatar:""}},[a("q-icon",{attrs:{name:"mdi-information-outline",size:"lg"}})],1),a("q-item-section",[a("q-item-label",{staticClass:"text-white",attrs:{caption:"",lines:"3"}},[t._v(" Clique "),a("a",{staticClass:"q-mt-md",staticStyle:{"text-decoration":"none"},attrs:{href:"https://drive.google.com/file/d/1y4L5MMj5c1cCwEDLN1mzmtpcGzU3X8Si/view",target:"_blank"}},[a("strong",[t._v("aqui")])]),t._v(" para saber mais. ")])],1)],1)],1)],1),a("q-card-section",{staticClass:"row q-col-gutter-md"},[a("div",{staticClass:"col-6"},[a("select-request",{attrs:{"v-model":t.affiliateData.id,outlined:"",endpoint:"/redirect?app=affiliate&path=/api/get/affiliate/search?status=3","option-label":"name","option-value":"id",label:t.$t("affiliate_id"),clearable:"",formatLabelAffiliate:!0},on:{update:a=>t.affiliateData.id=null===a?0:a.id}})],1),a("div",{staticClass:"col-6"},[a("q-input",{attrs:{outlined:"",readonly:"",type:"text",label:"Token"},scopedSlots:t._u([{key:"append",fn:function(){return[a("q-btn",{attrs:{color:"primary","no-caps":"",unelevated:"",icon:"mdi-content-copy"},on:{click:function(a){return t.copyData(t.affiliateData.token)}}},[a("q-tooltip",{attrs:{"content-class":"bg-secondary text-white","content-style":"font-size: 12px"}},[t._v(" Copiar Token ")])],1)]},proxy:!0}]),model:{value:t.affiliateData.token,callback:function(a){t.$set(t.affiliateData,"token",a)},expression:"affiliateData.token"}})],1),a("div",{staticClass:"col-6"},[a("q-select",{attrs:{disable:!t.wasAffiliateSelected,outlined:"",clearable:"","option-value":"id","option-label":"name",label:t.$t("select_channel"),options:t.affiliateChannels},on:{input:a=>t.channelID=a?a.id:null,clear:a=>t.channel=null},model:{value:t.channel,callback:function(a){t.channel=a},expression:"channel"}})],1),a("div",{staticClass:"col-6"},[a("q-input",{attrs:{outlined:"",readonly:"",type:"text",label:t.$t("channel_id")},model:{value:t.channelID,callback:function(a){t.channelID=a},expression:"channelID"}})],1),a("div",{staticClass:"col-6"},[a("q-select",{attrs:{disable:!t.wasAffiliateSelected,outlined:"",clearable:"","option-value":"campaign_id","option-label":"campaign_name",label:t.$t("select_campaign"),options:t.affiliateCampaigns},on:{input:a=>t.campaignID=a?a.campaign_id:null,clear:a=>t.campaign=null},model:{value:t.campaign,callback:function(a){t.campaign=a},expression:"campaign"}})],1),a("div",{staticClass:"col-6"},[a("q-input",{attrs:{outlined:"",readonly:"",type:"text",label:t.$t("campaign_id")},model:{value:t.campaignID,callback:function(a){t.campaignID=a},expression:"campaignID"}})],1),a("div",{staticClass:"col-12"},[a("div",{staticClass:"col-12"},[a("q-input",{attrs:{outlined:"",type:"text",label:"URL",clearable:""},on:{input:t.validateAndEncodeUrl,clear:a=>t.encodedUrl=""},model:{value:t.url,callback:function(a){t.url=a},expression:"url"}})],1)]),a("div",{staticClass:"col-12"},[a("q-input",{attrs:{outlined:"",readonly:"",type:"text",value:t.getApiLink,label:t.$t("shortned_link_api_generator")},scopedSlots:t._u([{key:"append",fn:function(){return[a("q-btn",{attrs:{color:"primary","no-caps":"",unelevated:"",icon:"mdi-content-copy"},on:{click:function(a){return t.copyData(t.getApiLink)}}},[a("q-tooltip",{attrs:{"content-class":"bg-secondary text-white","content-style":"font-size: 12px"}},[t._v(" Copiar API ")])],1)]},proxy:!0}])})],1),a("div",{staticClass:"col-12"},[a("q-input",{attrs:{outlined:"",readonly:"",type:"text",value:t.getApiLinkAutoRedirect,label:t.$t("auto_redirect_api_generator")},scopedSlots:t._u([{key:"append",fn:function(){return[a("q-btn",{attrs:{color:"primary","no-caps":"",unelevated:"",icon:"mdi-content-copy"},on:{click:function(a){return t.copyData(t.getApiLinkAutoRedirect)}}},[a("q-tooltip",{attrs:{"content-class":"bg-secondary text-white","content-style":"font-size: 12px"}},[t._v(" Copiar API ")])],1)]},proxy:!0}])})],1)])],1)],1)},s=[],r=(e("88a7"),e("271a"),e("5494"),e("663b")),n=e("b161"),p=e("2568"),l=e("4f0a");const o="https://data.afilio.com.br";var c={name:"DeeplinkAPIPage",components:{SelectRequest:l["a"]},mixins:[r["a"],p["a"],n["a"]],watch:{"affiliateData.id"(){this.retrieveAffiliateData(this.affiliateData.id)}},data(){return{apiDataUrl:o,optionsDisplay:["CSV","JSON"],channel:null,channelID:null,campaign:null,campaignID:null,url:null,encodedUrl:null,affiliateData:{email:null,id:null,token:null},affiliateChannels:[],affiliateCampaigns:[],wasAffiliateSelected:!1}},computed:{getApiLink:{get(){return this.channelID&&this.encodedUrl&&this.campaignID?`${this.apiDataUrl}/deeplink?token=${this.affiliateData.token}&canalid=${this.channelID}&affid=${this.affiliateData.id}&progID=${this.campaignID}&url=${this.encodedUrl}`:null}},getApiLinkAutoRedirect:{get(){return this.channelID&&this.encodedUrl&&this.campaignID?`${this.apiDataUrl}/v3/deeplink?token=${this.affiliateData.token}&canalid=${this.channelID}&affid=${this.affiliateData.id}&progID=${this.campaignID}&url=${this.encodedUrl}`:null}}},methods:{async validateAndEncodeUrl(t){""==t&&(this.encodedUrl="");try{var a=new URL(t);return void("https:"==a.protocol&&(this.encodedUrl=encodeURIComponent(a.toString())))}catch(e){return}},retrieveAffiliateData(t){t?this.setupAffiliateData(t):(this.affiliateChannels=[],this.affiliateCampaigns=[],this.wasAffiliateSelected=!1,this.channel=null,this.campaign=null,this.channelID=null,this.campaignID=null,this.affiliateData={email:null,id:null,token:null})},async setupAffiliateData(t){this.onLoading(!0);try{const{data:a,status:e}=await this.getAffiliateData(t);200===e&&(this.affiliateData=a,this.wasAffiliateSelected=!0,this.channel=null,this.setupAffiliate
1Channels(t),this.setupAffiliateCampaigns(t))}catch(a){a.response&&500===a.response.status?this.errorNotify(this.$t("problem_try_again_later")):this.errorNotify(a)}finally{this.onLoading(!1)}},async setupAffiliateChannels(t){this.onLoading(!0);try{const{data:a,status:e}=await this.getAffiliateSiteActiveListByID(t);200==e&&(this.affiliateChannels=a)}catch(a){a.response&&500===a.response.status?this.errorNotify(this.$t("problem_try_again_later")):this.errorNotify(a)}},async setupAffiliateCampaigns(t){this.onLoading(!0);try{const{data:a,status:e}=await this.getCampaignListAffiliate(t);200===e&&(this.affiliateCampaigns=a)}catch(a){this.errorNotify(a)}finally{this.onLoading(!1)}}}},h=c,d=e("2877"),u=e("9989"),m=e("f09f"),f=e("a370"),g=e("6ac5"),y=e("ead5"),$=e("079eb"),_=e("54e1"),v=e("66e5"),b=e("4074"),C=e("0016"),w=e("0170"),A=e("27f9"),S=e("9c40"),D=e("05c0"),q=e("ddd8"),L=e("93dc"),B=e.n(L),k=Object(d["a"])(h,i,s,!1,null,null,null);a["default"]=k.exports;B()(k,"components",{QPage:u["a"],QCard:m["a"],QCardSection:f["a"],QToolbarTitle:g["a"],QBreadcrumbs:y["a"],QBreadcrumbsEl:$["a"],QBanner:_["a"],QItem:v["a"],QItemSection:b["a"],QIcon:C["a"],QItemLabel:w["a"],QInput:A["a"],QBtn:S["a"],QTooltip:D["a"],QSelect:q["a"]})},"663b":function(t,a,e){"use strict";const i="AFFILIATE";a["a"]={methods:{async listActiveCampaigns(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/affiliate/${t}`)},async getAffiliateData(t){const a=t?"/api/get/affiliate/"+t:"/api/v2/get/affiliate";return await this.$http.get(`/redirect?app=${i}&path=${a}`)},async getAffiliateSiteData(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/affiliate/edit/site/${t}`)},async getAffiliateSiteTips(){const{data:t,status:a}=await this.$http.get(`/redirect?app=${i}&path=/api/get/affiliate/list_site_type`);if(200===a||201===a){const e=t.sort((t,a)=>t.site_type.localeCompare(a.site_type,"pt-BR",{sensitivity:"base"}));return{data:e,status:a}}return{data:t,status:a}},async getAffiliateSiteCategoryFilter(){return await this.$http.get(`/redirect?app=${i}&path=/api/get/affiliate/filter_site_categories`)},async getAffiliateSiteCategory(){return await this.$http.get(`/redirect?app=${i}&path=/api/get/affiliate/filter_site_categories`)},async getAffiliateSettings(t){return await this.$http.get(`/v2/redirect?app=${i}&path=/api/affiliate_settings/${t}`)},async getAffiliatePaymentInfos(t){return await this.$http.get(`/v2/redirect?app=${i}&path=/api/get/affiliate/payment_infos/list/${t}`)},async editAffiliateData(t,a){return t?await this.$http.put("v2/redirect",{app:i,path:"/api/edit/affiliate/"+t,params:{data:a}}):await this.$http.post("/v2/redirect",{app:i,path:"/api/v2/edit/affiliate",params:{data:a}})},async getAffiliateDataPayment(t){const a=t?"/api/get/affiliate/payment_infos/list/"+t:"/api/v2/get/affiliate/payment_infos";return await this.$http.get(`/redirect?app=${i}&path=${a}`)},async editAffiliateDataPayment(t,a){const e="afiliado"==this.user.profile?"/api/v2/edit/affiliate/payment_infos/"+t:"/api/edit/affiliate/payment_infos/"+t;return await this.$http.put("v2/redirect",{app:i,path:e,params:{data:a}})},async editAffiliateAccessEmail(t,a){return await this.$http.put("v2/affiliate/settings/email",{email:a,affiliate_id:t})},async updateAffiliateStatus(t,a,e={}){return await this.$http.put("v2/redirect",{app:i,path:"/api/edit/affiliate/status/"+t,params:{data:{status:a,...e}}})},async createAffiliateDataPayment(t){let a="afiliado"==this.user.profile?"/api/v2/create/affiliate/payment_info/":"/api/create/affiliate/payment_info";return await this.$http.post("v2/redirect",{app:i,path:a,params:{data:t}})},async editAffiliateChannel(t,a){const e="afiliado"==this.user.profile?"/api/v2/edit/affiliate/site/"+t:"/api/edit/affiliate/site/"+t;return await this.$http.put("v2/redirect",{app:i,path:e,params:{data:a}})},async createAffiliateChannel(t){const a="afiliado"==this.user.profile?"/api/v2/create/affiliate/site":"/api/create/affiliate/site";return await this.$http.post("v2/redirect",{app:i,path:a,params:{data:t}})},async inactiveAffiliateChannel(t){return await this.$http.delete(`v2/redirect?app=${i}&path=/api/v2/delete/affiliate/site/${t}`)},async getAffiliateOptinEmails(t){const a=t?"/api/optin_email/get_by_affiliate/"+t:"/api/v2/get/affiliate/optin_email";return await this.$http.get(`v2/redirect?app=${i}&path=${a}`)},async updateAffiliateOptinEmails(t){const a=t.affiliateId?"/api/optin_email/":"/api/v2/optin_email/";return await this.$http.post("v2/redirect",{app:i,path:a,params:{data:t}})},async updateAffiliatePassword(t,a,e){const i=t?"/edit/user/resetaffiliatepass/"+t:"/edit/user/resetpass",s=t?{password:a}:{password:a,current_password:e};return await this.$http.put(i,s)},async getAffiliateSiteActiveList(){return await this.$http.get(`/redirect?app=${i}&path=/api/v2/get/affiliate/site_active/filter`)},async filterAffiliateSiteActive(){return await this.$http.get(`v2/redirect?app=${i}&path=/api/v2/get/affiliate/site_active/filter`)},async createPasswordReset(t){return await this.$http.post("/create/user/reset",{email:t})},async getAllSites(){return await this.$http.get(`v2/redirect?app=${i}&path=/api/affiliate/site/filter`)},async getAffiliateSiteActiveListByID(t){return await this.$http.get(`v2/redirect?app=${i}&path=/api/get/affiliate/site_active/list/${t}`)},async createNewAffiliateAccess(t){return await this.$http.post("/v2/affiliate/settings/users",t)},async deleteAffiliateAccess(t){return await this.$http.delete("/v2/affiliate/settings/users/"+t)}
1,async editAffiliateComercialManager(t,a){try{this.onLoading(!0);const{data:e,status:s}=await this.$http.put("/v2/redirect",{app:i,path:"/api/edit/affiliate/comercial_manager",params:{data:{affiliate_id:t,comercial_manager_id:a}}});200==s&&this.successNotify(e.message)}catch(e){e.response&&500===e.response.status?this.errorNotify(this.$t("problem_try_again_later")):this.errorNotify(e)}finally{this.onLoading(!1)}},async editAffiliateServiceManager(t,a){try{this.onLoading(!0);const{data:e,status:s}=await this.$http.put("/v2/redirect",{app:i,path:"/api/edit/affiliate/service_manager",params:{data:{affiliate_id:t,service_manager_id:a}}});200==s&&this.successNotify(e.message)}catch(e){e.response&&500===e.response.status?this.errorNotify(this.$t("problem_try_again_later")):this.errorNotify(e)}finally{this.onLoading(!1)}},async getAffiliateDataForDeletion(){return await this.$http.get(`/v2/redirect?app=${i}&path=/api/affiliate_delete/`)},async affiliateRequestExclusion(){return await this.$http.delete(`/v2/redirect?app=${i}&path=/api/affiliate_delete/request`)},async affiliateRequestExclusionNoComission(){return await this.$http.delete(`/v2/redirect?app=${i}&path=/api/affiliate_delete/no_comission`)},async requestPayment(){return await this.$http.get(`/v2/redirect?app=${i}&path=/api/affiliate_delete/request/payment`)},async editCap(t){if(null===t.initialValue.sale_limit&&null===t.initialValue.sale_limit_metric){this.onLoading(!0);try{const{status:a}=await this.$http.post("/v2/redirect",{app:"conversorphp",path:"/api/sale-cap/add",params:{data:{site_id:t.value.site_id,campaign_id:t.value.id,sale_limit:+t.value.sale_limit,sale_limit_metric:t.value.sale_limit_metric}}});200!==a&&201!==a||this.successNotify("CAP adicionado com sucesso!")}catch(a){t.value.sale_limit=t.initialValue.sale_limit,t.value.sale_limit_metric=t.initialValue.sale_limit_metric,a.response&&500===a.response.status?this.errorNotify(this.$t("problem_try_again_later")):this.errorNotify(a)}finally{this.onLoading(!1)}}else try{const{status:a}=await this.$http.put("/v2/redirect",{app:"conversorphp",path:"/api/sale-cap/update/"+t.value.site_id,params:{data:{site_id:t.value.site_id,campaign_id:t.value.id,sale_limit:+t.value.sale_limit,sale_limit_metric:t.value.sale_limit_metric}}});200!==a&&201!==a||this.successNotify("CAP atualizado com sucesso!")}catch(a){t.value.sale_limit=t.initialValue.sale_limit,t.value.sale_limit_metric=t.initialValue.sale_limit_metric,a.response&&500===a.response.status?this.errorNotify(this.$t("problem_try_again_later")):this.errorNotify(a)}finally{this.onLoading(!1)}},async delCap(t){this.onLoading(!0);try{const{status:a}=await this.$http.delete("/redirect?app=CONVERSORPHP&path=/api/sale-cap/remove/"+t.value.site_id+"/"+t.value.id);200!==a&&201!==a||(t.initialValue.sale_limit=null,t.initialValue.sale_limit_metric=null,t.value.sale_limit=null,t.value.sale_limit_metric=null,this.successNotify("CAP removido com sucesso!"))}catch(a){t.value.sale_limit=t.initialValue.sale_limit,t.value.sale_limit_metric=t.initialValue.sale_limit_metric,a.response&&500===a.response.status?this.errorNotify(this.$t("problem_try_again_later")):this.errorNotify(a)}finally{this.onLoading(!1)}},async listSaleCapAffiliate(){return await this.$http.get("/redirect?app=CONVERSORPHP&path=/api/sale-cap/list/affiliate")},async getBonusType(){return await this.$http.get("redirect?app=AFFILIATE&path=/api/commission/bonusType")},async getDashboardSummaryAffiliate(t){return await this.$http.get("redirect?app=REPORT&path=/api/dashboard/summaryAffiliate?"+t)},async getDashboardCampaignsAffiliate(t){return await this.$http.get("redirect?app=REPORT&path=/api/dashboard/campaignsAffiliate?"+t)},async getDashboardExclusiveCampaigns(){return await this.$http.get("redirect?app=ADVERTISER&path=/api/campaign/exclusive")},async getCampaignsHigherCommission(){return await this.$http.get("redirect?app=ADVERTISER&path=/api/dashboard/campaignsCommissionHigher")},async getCampaignsConvertMore(t){return await this.$http.get("redirect?app=REPORT&path=/api/dashboard/campaignsConvertMore?"+t)},async getTransactionsByDayAffiliate(t){return await this.$http.get("redirect?app=REPORT&path=/api/dashboard/transactionsByDayAffiliate?"+t)},async getAllSitesActive(){return await this.$http.get("/v2/redirect?app=AFFILIATE&path=/api/v2/affiliate/site/list")},async getAffiliateHistoryCommentaries(t){return await this.$http.get(`/v2/redirect?app=${i}&path=/api/affiliate/history/commentary/${t}`)},async createAffiliateHistoryCommentary(t){return await this.$http.post("v2/redirect",{app:i,path:"/api/affiliate/history/commentary",params:{data:t}})},async updateAffiliateHistoryCommentary(t,a){return await this.$http.put("v2/redirect",{app:i,path:"/api/affiliate/history/commentary/"+t,params:{data:{text:a}}})},async deleteAffiliateHistoryCommentary(t){return await this.$http.delete(`v2/redirect?app=${i}&path=/api/affiliate/history/commentary/${t}`)}}}},"6ac5":function(t,a,e){"use strict";var i=e("2b0e"),s=e("87e8"),r=e("e277");a["a"]=i["default"].extend({name:"QToolbarTitle",mixins:[s["a"]],props:{shrink:Boolean},computed:{classes(){return"q-toolbar__title ellipsis"+(!0===this.shrink?" col-shrink":"")}},render(t){return t("div",{class:this.classes,on:{...this.qListeners}},Object(r["c"])(this,"default"))}})},9989:function(t,a,e){"use strict";var i=e("2b0e"),s=e("87e8"),r=e("e277");a["a"]=i["default"].extend({name:"QPage",mixins:[s["a"]],inject:{pageContainer:{default(){console.error("QPage needs to be child of QPageContainer")}},layout:{}},props:{padding:Boolean,styleFn:Function},computed:{style(){const t=(!0===this.layout.header.space?this.layout.header.size:0)+(!0===this.layout.footer.space?this.layout.footer.size:0);if("function"===typeof this.styleFn){const a=!0===this.layout.container?this.layout.containerHeight:this.$q.screen.height;return this.styleFn(t,a)}return{minHeight:!0===this.layout.container?this.layout.containerHeight-t+"px":0===this.$q.screen.height?`calc(100vh - ${t}px)`:this.$q.screen.height-t+"px"}}
1,classes(){if(!0===this.padding)return"q-layout-padding"}},render(t){return t("main",{staticClass:"q-page",style:this.style,class:this.classes,on:{...this.qListeners}},Object(r["c"])(this,"default"))}})},b161:function(t,a,e){"use strict";const i="ADVERTISER";a["a"]={methods:{async listActiveCampaigns(){return await this.$http.get(`/redirect?app=${i}&path=/api/campaign/allactive`)},async listActiveCampaignsAdv(){return await this.$http.get(`/redirect?app=${i}&path=/api/campaign/allactive`)},async listActiveUnrestrictedCampaigns(){return await this.$http.get(`/redirect?app=${i}&path=/api/campaign/allactiveunrestricted`)},async listCampaigns(){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign`)},async listCampaignsByAdvertiser(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/advertiser/${t}`)},async listCampaignsCategories(){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/category`)},async getSegmentationsList(){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/segmentation`)},async ListCampaignCommissions(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/comission/list/${t}`)},async listCampaignsCommissionsByType(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/comission/affiliate/${t}`)},async listCampaignsBySite(t){return this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/list/site/${t}`)},async listCommissionsByCampaign(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/comission/list/${t}`)},async listCommissionChannels(t){return await this.$http.get(`/redirect?app=${i}&path=/api/campaign/comissioncanais/${t}`)},async listCommissionGroupDivisionByCampaign(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/comission_group_division/list/${t}`)},async searchCampaign(t,a,e){let s;return s=void 0===e||null==e||""===e?"":e+"%26",s+=t||"page=1",s+=a?"%26"+a:"%26perPage=10",await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/search/v2?${s}`)},async listCampaignRevenues(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/invoice/${t}`)},async listPaymentPeriod(){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/payment_period/list/`)},async listSiteApprovedInCampaign(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/approved/list/site/${t}`)},async listSitesInCampaign(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/list/site/${t}`)},async listSitesCampaignDeeplinkEnabled(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/list/site_active/${t}`)},async listSiteApprovedDetailsByCampaign(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/site/approved/list/details/${t}`)},async listSitesDetailsByCampaign(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/site/list/details/${t}`)},async listAllSitesDetailsByCampaign(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/site/list/details_all_sites/${t}`)},async listCampaignsWithChannelsApproved(t){return await this.$http.get(`/redirect?app=${i}&path=/api/v2/campaign/bychannels/approved/${t}`)},async participateSiteInCampaign(t,a){return await this.$http.post("v2/redirect",{app:i,path:"/api/campaign/site/request",params:{data:{campaign_id:t,site_id:a}}})},async relatedSites(t,a){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/site/list/details/${t}/${a}`)},async createCampaignService(t){return await this.$http.post("v2/redirect",{app:""+i,path:"/api/create/campaign",params:{data:t}})},async getAdvertiserDetails(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/advertiser/details/${t}`)},async getAdvertiserById(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/advertiser/${t}`)},async listAdvertisers(){return await this.$http.get(`/redirect?app=${i}&path=/api/get/advertiser`)},async getComissionGroup(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/commissioning_group/list/${t}`)},async getGroupByCampaign(t){return await this.$http.get(`/redirect?app=${i}&path=/api/schedule_commission/list_groups/${t}`)},async getChannelByComissionGroup(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/commissioning_group/site/list/${t}`)},async listSiteCampaignsDeeplinkEnabled(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/list/site_active/${t}`)},async listSiteCampaigns(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/list/site/${t}`)},async listComissionSchedule(t){return await this.$http.get(`v2/redirect?app=${i}&path=/api/schedule_commission/list_schedules/${t}`)},async getComissionScheduleByID(t){return await this.$http.get(`v2/redirect?app=${i}&path=/api/schedule_commission/${t}`)},async listChannelsByCommissionGroup(t){return await this.$http.get(`v2/redirect?app=${i}&path=/api/schedule_commission/sites_by_group/${t}`)},async cancelScheduleByID(t){return await this.$http.post(`v2/redirect?app=${i}&path=/api/schedule_commission/cancel`,{params:{data:{id:t}}})},async listSiteApprovedCampaigns(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/approved/affiliate/site/${t}`)},async getCampaign(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/${t}`)},async getCampaignDetails(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/details/${t}`)},async listCampaign(){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign`)},async listRevenues(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/invoice/${t}`)},async updateCustomInvoice(t){return await this.$http.post("/v2/redirect",{app:i,path:"/api/campaign/save_custom_invoice",params:{data:t}})},async deleteInvoice(t){return await this.$http.delete(`v2/redirect?app=${i}&path=/api/delete/campaign/custom_invoice/${t}`)},async deleteComissionGroupById(t){return await this.$http.delete(`v2/redirect?app=${i}&path=/api/delete/campaign/commissioning_group/${t}`)},async deleteComissionSchedule(t){return await this.$http.delete(`v2/redirect?app=${i}&path=/api/delete/schedule_commission/${t}`)},async listCampaignByAdvertiser(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/advertiser/${t}`)},async editCampaignDetalhamento(t,a){return await this.$http.put("v2/redirect",{app:i,path:"/api/edit/campaign/"+t,params:{data:a}})},async editCampaign(t,a){return await this.$http.put("v2/redirect",{app:i,path:"/api/edit/campaign/deeplink/"+t,params:{data:a}})},async editCampaignController(t,a,e,s,r,n){return await this.$http.put("v2/redirect",{app:i,path:"/api/edit/session_controle_campaign/"+t,params:{data:{advertiser_id:`"${a}"`,comercial_manager_id:`"${e}"`,operational_manager_id:`"${s}"`,status:`"${r}"`,network_manager_id:`"${n}"`}}})},async editControlCampaign(t,a){return await this.$http.put("v2/redirect",{app:i,path:"/api/edit/session_controle_campaign/"+t,params:{data:a}})}
1,async listSitesApprovedDetailsByCampaign(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/site/approved/list/details/${t}`)},async editCommissionGroup(t,a){return await this.$http.put("v2/redirect",{app:i,path:"/api/edit/campaign/comission/"+a,params:{data:t}})},async editCommissionSchedule(t){return await this.$http.put("v2/redirect",{app:i,path:"/api/schedule_commission/"+t.id,params:{data:{title:t.title,comission_group_id:t.comission_group_id,date:t.date,site_id_list:t.site_id_list}}})},async deleteSiteFromComissionGroup(t,a,e){return await this.$http.put("/v2/redirect",{app:i,path:"/api/delete/site/commissioning_group/",params:{data:{campaign_id:t,comission_group_id:a,site_id:e}}})},async changeComissionGroupNameById(t,a,e){return await this.$http.put("v2/redirect",{app:i,path:"/api/edit/commissioning_group/"+a,params:{data:{campaign_id:t,name:e}}})},async deleteComission(t){return await this.$http.delete(`v2/redirect?app=${i}&path=/api/delete/campaign/comission/${t}`)},async getComissionRuleOptions(){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/comission_rule/options`)},async listComissionRules(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/comission_rule/list/${t}`)},async createComissionRule(t){return await this.$http.post("/v2/redirect",{app:i,path:"/api/create/campaign/comission_rule",params:{data:t}})},async editComissionRule(t,a){return await this.$http.put("v2/redirect",{app:i,path:"/api/edit/campaign/comission_rule/"+t,params:{data:a}})},async reorderComissionRules(t,a){return await this.$http.put("v2/redirect",{app:i,path:"/api/edit/campaign/comission_rule/priority/"+t,params:{data:{rule_ids:a}}})},async deleteComissionRule(t){return await this.$http.delete(`v2/redirect?app=${i}&path=/api/delete/campaign/comission_rule/${t}`)},async createSiteInComissionGroupById(t,a){return await this.$http.post("/v2/redirect",{app:i,path:"/api/create/site/commissioning_group",params:{data:{comission_group_id:t,site_id:a}}})},async createAdvertiser(t){return await this.$http.post("/v2/redirect",{app:i,path:"/api/create/advertiser",params:{data:t}})},async updateAdvertiser(t,a){return await this.$http.put("/v2/redirect",{app:i,path:"/api/edit/advertiser/"+t,params:{data:a}})},async updateAccessEmail(t,a,e){return await this.$http.put("/update/user/"+t,{name:e,email:a})},async createCommission(t){return await this.$http.post("/v2/redirect",{app:i,path:"/api/create/campaign/comission",params:{data:t}})},async editCommissionGroupDivision(t,a,e){return await this.$http.put("v2/redirect",{app:i,path:"/api/edit/comission_group_division/"+t,params:{data:{value:a,comission_value:e}}})},async createCommissionGroup(t,a){return await this.$http.post("/v2/redirect",{app:i,path:"/api/create/commissioning_group",params:{data:{campaign_id:t,name:a}}})},async createCommissionSchedule(t){return await this.$http.post("/v2/redirect",{app:i,path:"/api/schedule_commission",params:{data:t}})},async getSiteByCommissionGroup(t,a){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/site/commissioning_group?campaign_id=${t}%26comission_group_id=${a}`)},async getSitesCampaignRelatedByAffiliate(t){return await this.$http.get(`/redirect?app=${i}&path=/api/v2/get/campaign/related/affiliate/${t}`)},async getAllCampaigns(){return await this.$http.get(`/v2/redirect?app=${i}&path=/api/get/campaign/all`)},async getCampaignListAffiliate(t){const a="afiliado"==this.user.profile?"/api/v2/get/campaign/list/affiliate/"+t:"/api/get/campaign/list/affiliate/"+t;return await this.$http.get(`v2/redirect?app=${i}&path=${a}`)},async getCampaignHistoric(t){return await this.$http.get(`v2/redirect?app=${i}&path=/api/logs/campaingChangeLog/${t}`)},async updateAdvertiserStatus(t,a){return await this.$http.put(`v2/redirect?app=${i}&path=/api/advertiser/status/${t}`,{params:{data:{status:a}}})},async updateAdvertiserLevel(t,a){return await this.$http.put(`v2/redirect?app=${i}&path=/api/advertiser/level/${t}`,{params:{data:{level:a}}})},async getGeneralCGDEData(t){return await this.$http.get(`v2/redirect?app=${i}&path=/api/get/general_comission_group_affiliate_comissioning/${t}`)},async listCampaignRules(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/rules/${t}`)},async createTokenAdvertiser(t){return await this.$http.get(`/redirect?app=${i}&path=/api/advertisers/generate/api_key?advertiser_id=${t}`)},async getRefererKeyByAdvertiserId(t){return await this.$http.get(`/redirect?app=${i}&path=/api/advertiser/id/${t}/referer_key`)},async requestSiteParticipationInCampaignsLot(t,a){return await this.$http.post("/v2/redirect",{app:i,path:"/api/campaign/site/request/lot",params:{data:{site_id:t,campaigns:a}}})},async listCampaignsForSiteActive(t){return await this.$http.get(`/v2/redirect?app=${i}&path=/api/listCampaignsForSiteActive/${t}`)},async listCampaignCoupons(t){return await this.$http.get(`/redirect?app=${i}&path=/api/get/campaign/coupon/list/${t}`)},async createCampaignCoupon(t){return await this.$http.post("/v2/redirect",{app:i,path:"/api/create/campaign/coupon",params:{data:t}})},async updateCampaignCoupon(t,a){return await this.$http.put("/v2/redirect",{app:i,path:"/api/edit/campaign/coupon/"+t,params:{data:a}})},async toggleCampaignCouponStatus(t,a){return await this.$http.put("/v2/redirect",{app:i,path:"/api/edit/campaign/coupon/status/"+t,params:{data:{status:a}}})}}}},ead5:function(t,a,e){"use strict";e("caad"),e("14d9"),e("e9f5"),e("910d"),e("7d54");var i=e("2b0e"),s=e("99b6"),r=e("e277"),n=e("87e8");const p=[!0,""];a["a"]=i["default"].extend({name:"QBreadcrumbs",mixins:[n["a"],s["a"]],props:{separator:{type:String,default:"/"},separatorColor:String,activeColor:{type:String,default:"primary"},gutter:{type:String,validator:t=>["none","xs","sm","md","lg","xl"].includes(t),default:"sm"}},computed:{classes(){return`${this.alignClass}${"none"===this.gutter?"":" q-gutter-"+this.gutter}`},sepClass(){return this.separatorColor?" text-"+this.separatorColor:""},activeClass(){return" text-"+this.activeColor}},render(t){const a=Object(r["c"])(this,"default");if(void 0===a)return;let e=1;const i=[],s=a.filter(t=>void 0!==t.tag&&t.tag.endsWith("-QBreadcrumbsEl")).length,n=void 0!==this.$scopedSlots.separator?this.$scopedSlots.separator:()=>this.separator;return a.forEach(a=>{if(void 0!==a.tag&&a.tag.endsWith("-QBreadcrumbsEl")){const r=e<s,l=p.includes(a.componentOptions.propsData.disable),o=!0===r?!0!==l?this.activeClass:"":" q-breadcrumbs--last";e++,i.push(t("div",{staticClass:"flex items-center"+o},[a])),!0===r&&i.push(t("div",{staticClass:"q-breadcrumbs__separator"+this.sepClass},n()))}else i.push(a)}),t("div",{staticClass:"q-breadcrumbs",on:{...this.qListeners}},[t("div",{staticClass:"flex items-center",class:this.classes},i)])}})}}]); 2//# sourceMappingURL=chunk-72c03b94.c475def8.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.