"use strict";(self["webpackChunkcloud_fonts"]=self["webpackChunkcloud_fonts"]||[]).push([[739],{2726:function(e,t,a){a.r(t),a.d(t,{default:function(){return _}});var o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"commercial-guide"},[a("header",{on:{mousedown:e.$FontCommonMixinDragWidget}},[a("SvgIcon",{attrs:{"svg-name":"svg-docer2","class-name":"svg-docer2"}}),a("span",[e._v("商用字体授权操作提醒")])],1),a("div",{staticClass:"commercial-guide__body"},[a("p",{staticClass:"commercial-guide__text"},[a("span",[e._v("为确保您购买的字体商用授权可正常应用于相应商业活动，我们强烈建议您 "),a("KwButton",{directives:[{name:"docer-collect",rawName:"v-docer-collect.display.click",value:{type:"popup_operationbtn_",params:{belong_page:"authority_pay_page",button_name:"text chain"}},expression:"{\n            type: 'popup_operationbtn_',\n            params: {\n              belong_page: 'authority_pay_page',\n              button_name: 'text chain',\n            },\n          }",modifiers:{display:!0,click:!0}}],on:{click:e.getCommercialAuth}},[e._v("点击此处")]),e._v("获取商用字体使用书，以保护您的合法权益。")],1)]),a("div",[a("KwButton",{directives:[{name:"docer-collect",rawName:"v-docer-collect.display.click",value:{type:"popup_operationbtn_",params:{belong_page:"authority_pay_page",button_name:"receive_authority_btn"}},expression:"{\n          type: 'popup_operationbtn_',\n          params: {\n            belong_page: 'authority_pay_page',\n            button_name: 'receive_authority_btn',\n          },\n        }",modifiers:{display:!0,click:!0}}],staticClass:"commercial-guide__button",attrs:{type:e.ClientInfo.name,size:"middle"},nativeOn:{click:function(t){return e.getCommercialAuth(t)}}},[e._v("获取商用字体使用书")])],1),e.templateUrl?a("KwButton",{directives:[{name:"docer-collect",rawName:"v-docer-collect.display.click",value:{type:"popup_operationbtn_",params:{belong_page:"authority_pay_page",button_name:"check_authority_btn"}},expression:"{\n        type: 'popup_operationbtn_',\n        params: {\n          belong_page: 'authority_pay_page',\n          button_name: 'check_authority_btn',\n        },\n      }",modifiers:{display:!0,click:!0}}],on:{click:e.downloadTemplate}},[e._v("查看商用使用书模板")]):e._e()],1)])},n=[],i=a(624),l=a(5027),r=a(3104),p=a(563),c=a(775),s={extends:c.A,data(){return{templateUrl:""}},methods:{$FontCommonMixinDragWidget(){i.A.dragWidget()},getCommercialAuth(){i.A.gotoCommercialAuthPage(),i.A.closeGuide()},downloadTemplate(){i.A.downloadCommercialCertificateTemplate({url:this.templateUrl}),this.$progressDialog()},downloadEvent(e){this.$progressDialog({percent:"finish"===e.type?100:e.percent}),"finish"===e.type&&this.toast("商用使用书模板已下载至桌面")},getTemplateUrl(){var e=this;p.b.get("font").templateUrl().then((function(t){t&&"ok"===t.result&&t.data&&(e.templateUrl=t.data)}))}},mounted(){r.Z.$on(l.Ur.CloudFonts.certificateTemplateDownloadEvent,this.downloadEvent),this.getTemplateUrl()},beforeDestroy(){r.Z.$off(l.Ur.CloudFonts.certificateTemplateDownloadEvent)}},m=s,u=a(1656),d=(0,u.A)(m,o,n,!1,null,null,null),_=d.exports}}]);