pages-template-requisitionadd-requisitionadd.86ed7636.js 62 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-template-requisitionadd-requisitionadd","pages-template-GetDesignChanges-GetDesignChanges~pages-template-GetSafeQualityCheckDTO-GetSafeQualit~f0e30c60"],{"0384":function(n,t,e){"use strict";var i=e("0634"),o=e.n(i);o.a},"0634":function(n,t,e){var i=e("300e");"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var o=e("4f06").default;o("756afa16",i,!0,{sourceMap:!1,shadowMode:!1})},"0c47":function(n,t,e){var i=e("da84"),o=e("d44e");o(i.JSON,"JSON",!0)},1136:function(n,t,e){"use strict";var i=e("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.getUnitUser=r,t.getUnit=s,t.GetUserDepartment=a,t.selectProject=u,t.showImage=c,t.getMaterialTree=l,t.GetContracts=f,t.getSupplierNameAndType=d,t.GetEngineeringContracts=h,t.GetContract=p,t.GetWorkFlowProcedureList=m,t.WorkFlowAudit=g,t.WorkFlowSave=v,t.GetMaterialList=w;var o=i(e("7ce4"));function r(n){return(0,o.default)({url:"/common/GetUnitUser",method:"get",params:{projectid:n}})}function s(n){return(0,o.default)({url:"/common/getunit",method:"get",params:{projectid:n}})}function a(n){return(0,o.default)({url:"/common/GetUserDepartment",method:"get",params:{usercode:n}})}function u(){return(0,o.default)({url:"/common/GetProjectList",method:"get"})}function c(n){return(0,o.default)({url:"/common/ShowImg",method:"get",params:{code:n}})}function l(n){return(0,o.default)({url:"/common/GetMaterialTree",method:"get",params:{classCode:n}})}function f(n,t){return(0,o.default)({url:"/common/GetContracts",method:"get",params:{projectcode:n,searchValue:t}})}function d(n,t){return(0,o.default)({url:"/common/GetSupplierNameAndType",method:"get",params:{supplierCode:n,supplierTypeCode:t}})}function h(n,t){return(0,o.default)({url:"/common/GetEngineeringContracts",method:"get",params:{projectcode:n,searchValue:t}})}function p(n){return(0,o.default)({url:"/Common/GetContract",method:"get",params:{contractCode:n}})}function m(n,t,e){return(0,o.default)({url:"/Common/GetWorkFlowProcedureList",method:"get",params:{procedureName:n,projectCode:t,activity:e}})}function g(n,t){return(0,o.default)({url:"/Common/WorkFlowAudit",method:"get",params:{userCode:n,procedureCode:t}})}function v(n){return(0,o.default)({url:"/Common/WorkFlowSave",method:"POST",data:n})}function w(n){return(0,o.default)({url:"/Common/GetMaterialList",method:"get",params:{name:n}})}},"1e42":function(n,t,e){var i=e("a898");"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var o=e("4f06").default;o("6d79d540",i,!0,{sourceMap:!1,shadowMode:!1})},"23dc":function(n,t,e){var i=e("d44e");i(Math,"Math",!0)},"2aa5":function(n,t,e){"use strict";e.r(t);var i=e("abb7"),o=e("9461");for(var r in o)"default"!==r&&function(n){e.d(t,n,(function(){return o[n]}))}(r);e("7573");var s,a=e("f0c5"),u=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,"3f87abbd",null,!1,i["a"],s);t["default"]=u.exports},"300e":function(n,t,e){var i=e("24fb");t=i(!1),t.push([n.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n /* �ϴ� str */.imglistbx[data-v-da58d0dc]{width:100%;height:100%}.imglistItem[data-v-da58d0dc]{position:relative;float:left;margin-bottom:%?20?%;border-radius:%?10?%}.column3[data-v-da58d0dc]{width:33.3333%;height:%?200?%}.column4[data-v-da58d0dc]{width:25%;height:%?220?%}.itemImg[data-v-da58d0dc]{width:70%;height:100%;margin:0 auto;display:block;border-radius:%?10?%}.cancelBtn[data-v-da58d0dc]{position:absolute;top:%?-10?%;right:%?10?%}\n /* �ϴ��ؼ� */.uploadControl[data-v-da58d0dc]{font-size:%?50?%;color:#888;background-color:#eee;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\n /* �ϴ� str end*/.clear[data-v-da58d0dc]{clear:both}.font13[data-v-da58d0dc]{font-size:12px;overflow:hidden}.iconSize[data-v-da58d0dc]{font-size:90px}",""]),n.exports=t},"456c":function(n,t,e){"use strict";e.r(t);var i=e("9ed6"),o=e.n(i);for(var r in i)"default"!==r&&function(n){e.d(t,n,(function(){return i[n]}))}(r);t["default"]=o.a},"4f59":function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={name:"UniSection",props:{type:{type:String,default:""},title:{type:String,default:""},subTitle:{type:String,default:""}},data:function(){return{}},watch:{title:function(n){uni.report&&""!==n&&uni.report("title",n)}},methods:{onClick:function(){this.$emit("click")}}};t.default=i},"5fbb":function(n,t,e){"use strict";e.r(t);var i=e("8216"),o=e("89c3");for(var r in o)"default"!==r&&function(n){e.d(t,n,(function(){return o[n]}))}(r);e("a4fd");var s,a=e("f0c5"),u=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,"af1e8bec",null,!1,i["a"],s);t["default"]=u.exports},"6dec":function(n,t,e){"use strict";var i=e("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.GetQianzhengDropDown=r,t.InsertRequisition=s,t.UpdateRequisition=a,t.GetRelationContract=u,t.GetRequisitionList=c,t.GetRequistionDetail=l,t.SelectRequisitionList=f,t.GetRelationRequistionContract=d;var o=i(e("7ce4"));function r(n){return(0,o.default)({url:"/Requisition/GetQianzhengDropDown",method:"GET",params:{type:n}})}function s(n){return(0,o.default)({url:"/Requisition/InsertRequisition",method:"POST",data:n})}function a(n){return(0,o.default)({url:"/Requisition/UpdateRequisition",method:"POST",data:n})}function u(n,t){return(0,o.default)({url:"/Requisition/GetRelationContract",method:"get",params:{projectCode:n,search:t}})}function c(n,t){return(0,o.default)({url:"/Requisition/GetRequisitionList",method:"get",params:{projectCode:n,type:t}})}function l(n){return(0,o.default)({url:"/Requisition/GetRequistionDetail",method:"get",params:{reqisitionCode:n}})}function f(n,t,e){return(0,o.default)({url:"/Requisition/SelectRequisitionList",method:"get",params:{projectCode:n,requisitionType:t,searchValue:e}})}function d(n){return(0,o.default)({url:"/Requisition/GetRelationRequistionContract",method:"get",params:{projectCode:n}})}},"6f80":function(n,t,e){"use strict";e.r(t);var i=e("f3bf"),o=e("456c");for(var r in o)"default"!==r&&function(n){e.d(t,n,(function(){return o[n]}))}(r);e("0384");var s,a=e("f0c5"),u=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,"da58d0dc",null,!1,i["a"],s);t["default"]=u.exports},7458:function(n,t,e){var i=e("9fda");"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var o=e("4f06").default;o("4b948e15",i,!0,{sourceMap:!1,shadowMode:!1})},7573:function(n,t,e){"use strict";var i=e("7458"),o=e.n(i);o.a},8216:function(n,t,e){"use strict";e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return r})),e.d(t,"a",(function(){return i}));var i={uniForms:e("ff3c").default,gUpfile:e("6f80").default,uniSection:e("2aa5").default,uniList:e("5470").default,uniListItem:e("552f").default},o=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("v-uni-view",[e("uni-forms",{ref:"form",attrs:{labelPosition:"left",labelAlign:"left"},on:{submit:function(t){arguments[0]=t=n.$handleEvent(t),n.submitForm.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"uni-form-item uni-column"},[e("v-uni-view",{staticClass:"title"},[e("v-uni-text",{staticClass:"uni-form-item__title"},[n._v("申请单名称")])],1),e("v-uni-view",{staticClass:"uni-input-wrapper"},[e("v-uni-input",{staticClass:"uni-input",attrs:{focus:!0,placeholder:"请填写申请单名称",name:"requisitionName"},model:{value:n.requisitionName,callback:function(t){n.requisitionName=t},expression:"requisitionName"}})],1)],1),e("v-uni-view",{staticClass:"uni-form-item uni-column"},[e("v-uni-view",{staticClass:"title"},[e("v-uni-text",{staticClass:"uni-form-item__title"},[n._v("申请日期")])],1),e("v-uni-view",{staticClass:"uni-input-wrapper",staticStyle:{"justify-content":"left"}},[e("v-uni-picker",{staticStyle:{width:"100%"},attrs:{mode:"date",value:n.date,start:n.startDate,end:n.endDate,name:"requisitionDate"},on:{change:function(t){arguments[0]=t=n.$handleEvent(t),n.bindDateChange.apply(void 0,arguments)}},model:{value:n.requisitionDate,callback:function(t){n.requisitionDate=t},expression:"requisitionDate"}},[e("v-uni-view",{staticClass:"uni-input"},[n._v(n._s(n.date))])],1)],1)],1),e("v-uni-view",{staticClass:"uni-form-item uni-column"},[e("v-uni-view",{staticClass:"title"},[e("v-uni-text",{staticClass:"uni-form-item__title"},[n._v(n._s(n.qianzhengName))])],1),e("v-uni-view",{staticClass:"uni-input-wrapper",staticStyle:{"justify-content":"left"}},[e("v-uni-picker",{staticStyle:{width:"100%"},attrs:{mode:"selector",value:n.index,range:n.array,"range-key":"name",name:"changeType"},on:{change:function(t){arguments[0]=t=n.$handleEvent(t),n.bindPickerChange.apply(void 0,arguments)}},model:{value:n.changeType,callback:function(t){n.changeType=t},expression:"changeType"}},[e("v-uni-view",{staticClass:"uni-input"},[n._v(n._s(n.array.length>0?n.array[n.index]:""))])],1)],1)],1),e("v-uni-view",{staticClass:"uni-form-item uni-column"},[e("v-uni-view",{staticClass:"title"},[e("v-uni-text",{staticClass:"uni-form-item__title"},[n._v("原因")])],1),e("v-uni-view",{staticClass:"uni-textarea"},[e("v-uni-textarea",{attrs:{focus:!0,placeholder:"请输入原因","auto-height":"true",name:"requisitionReason"},model:{value:n.requisitionReason,callback:function(t){n.requisitionReason=t},expression:"requisitionReason"}})],1)],1),e("v-uni-view",{staticClass:"uni-form-item uni-column"},[e("v-uni-view",{staticClass:"title"},[e("v-uni-text",{staticClass:"uni-form-item__title"},[n._v("备注")])],1),e("v-uni-view",{staticClass:"uni-textarea"},[e("v-uni-textarea",{attrs:{focus:!0,placeholder:"请写备注","auto-height":"true",name:"remark"},model:{value:n.remark,callback:function(t){n.remark=t},expression:"remark"}})],1)],1),e("v-uni-view",{staticClass:"uni-form-item uni-column"},[e("v-uni-view",{staticClass:"title",staticStyle:{"background-color":"#efefef"}},[e("v-uni-text",{staticClass:"uni-form-item__title"},[n._v("上传文件")])],1),e("v-uni-view",{staticClass:"content"},[e("g-upfile",{ref:"gUpfile",attrs:{mode:n.imgList,control:n.control,columnNum:n.columnNum,maxCount:n.maxCount,maxFileSize:2e4},on:{chooseFile:function(t){arguments[0]=t=n.$handleEvent(t),n.chooseFile.apply(void 0,arguments)},imgDelete:function(t){arguments[0]=t=n.$handleEvent(t),n.imgDelete.apply(void 0,arguments)},limitFileSizeList:function(t){arguments[0]=t=n.$handleEvent(t),n.limitFileSizeList.apply(void 0,arguments)},limitFileTypeList:function(t){arguments[0]=t=n.$handleEvent(t),n.limitFileTypeList.apply(void 0,arguments)}}})],1)],1),e("uni-section",{attrs:{title:"关联合同",type:"line"}},[e("v-uni-button",{attrs:{type:"default",size:"mini"},on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.openWindow.apply(void 0,arguments)}}},[n._v("添加关联合同")])],1),e("v-uni-view",{staticClass:"uni-form-item uni-column"},[e("uni-list",{staticStyle:{"background-color":"#EFEFEF"}},[e("uni-list-item",[e("v-uni-view",{staticClass:"header-slot-box",attrs:{slot:"header"},slot:"header"},[n._v("合同编号")]),e("v-uni-view",{staticClass:"body-slot-box",attrs:{slot:"body"},slot:"body"},[n._v("合同名称")]),e("v-uni-view",{staticClass:"footer-slot-box",attrs:{slot:"footer"},slot:"footer"},[n._v("暂估金额")])],1)],1),e("uni-list",n._l(n.contractList,(function(t,i){return e("uni-list-item",{key:i},[e("v-uni-view",{staticClass:"header-slot-box",attrs:{slot:"header"},slot:"header"},[n._v(n._s(t.contractID))]),e("v-uni-view",{staticClass:"body-slot-box",attrs:{slot:"body"},slot:"body"},[n._v(n._s(t.contractName))]),e("v-uni-view",{staticClass:"footer-slot-box",staticStyle:{"flex-direction":"row","justify-content":"center"},attrs:{slot:"footer"},slot:"footer"},[e("v-uni-input",{staticClass:"uni-input",staticStyle:{width:"50px"},attrs:{type:"digit",focus:!0},model:{value:t.estimateCash,callback:function(e){n.$set(t,"estimateCash",e)},expression:"item.estimateCash"}}),e("v-uni-button",{staticClass:"mini-btn",attrs:{type:"default",size:"mini"},on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.delRow(i)}}},[n._v("删除")])],1)],1)})),1)],1),e("v-uni-view",{staticStyle:{"margin-bottom":"120px"}}),e("v-uni-view",{staticClass:"uni-btn-v uni-column"},[e("v-uni-button",{staticStyle:{"border-radius":"15px"},attrs:{type:"primary","form-type":"submit"}},[n._v("提交")])],1)],1)],1)},r=[]},"89c3":function(n,t,e){"use strict";e.r(t);var i=e("b8af"),o=e.n(i);for(var r in i)"default"!==r&&function(n){e.d(t,n,(function(){return i[n]}))}(r);t["default"]=o.a},"944a":function(n,t,e){var i=e("746f");i("toStringTag")},9461:function(n,t,e){"use strict";e.r(t);var i=e("4f59"),o=e.n(i);for(var r in i)"default"!==r&&function(n){e.d(t,n,(function(){return i[n]}))}(r);t["default"]=o.a},"9ed6":function(n,t,e){"use strict";(function(n){e("4160"),e("c975"),e("baa5"),e("fb6a"),e("a434"),e("a9e3"),e("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={props:{control:{type:Boolean,default:!0},deleteBtn:{type:Boolean,default:!0},columnNum:{type:[Number,String],default:4},maxCount:{type:Number,default:4},allowFileType:{type:[Array],default:function(){return[".jpg",".png",".gif",".zip",".rar",".docx",".doc"]}},maxFileSize:{type:Number,default:0},mode:{type:Array,default:function(){return[]}}},data:function(){return{imgList:[],showList:[],showControl:!0,files:[],extensionNames:[],invaliadFiles:[]}},watch:{mode:function(n){this.init(n)},showList:function(){this.showList.length>=this.maxCount?this.showControl=!1:this.showControl=!0}},created:function(){this.init(this.mode)},methods:{init:function(n){0==this.mode.length?this.showList=this.imgList:this.showList=n},uploadImg:function(){var t=this;uni.chooseFile({count:this.maxCount,extension:this.allowFileType,success:function(e){var i=t;n.info("chooseImageRes:",e);var o=e.tempFilePaths,r=e.tempFiles,s=[],a=[];r.forEach((function(n,t){if(0!=i.maxFileSize&&n.size/1024>i.maxFileSize&&s.push(n.name),i.allowFileType.length>0){var e=n.name.lastIndexOf("."),o=n.name.substr(e);-1==i.allowFileType.indexOf(o)&&a.push(n.name)}})),a.length>0?i.$emit("limitFileTypeList",a,i.allowFileType):(i.$emit("limitFileTypeList",a,i.allowFileType),s.length>0?i.$emit("limitFileSizeList",s):(i.$emit("limitFileSizeList",s),o=o.slice(0,t.maxCount-t.showList.length),r.forEach((function(n,e){i.files.push(n);var o=n.name.lastIndexOf("."),r=n.name.substr(o);t.extensionNames.push(r)})),o.forEach((function(n){t.imgList.push(n)})),t.$emit("chooseFile",t.imgList,o)))}})},deleteImg:function(t){n.info("deleteImg",t),n.info("this.imgList",this.imgList),n.info("this.files",this.files),n.info("this.extensionNames",this.extensionNames);var e=this.imgList;if(e.splice(t,1),this.files.splice(t,1),this.extensionNames.splice(t,1),this.mode.length>0){var i=this.showList;i.splice(t,1)}this.$emit("imgDelete",this.handleImg(),t)},previewImage:function(n){var t=this.handleImg();uni.previewImage({current:t[n],urls:t})},handleImg:function(){return this.mode.length>0?this.showList:this.imgList}}};t.default=i}).call(this,e("5a52")["default"])},"9fda":function(n,t,e){var i=e("24fb");t=i(!1),t.push([n.i,".uni-section[data-v-3f87abbd]{position:relative;\ndisplay:-webkit-box;display:-webkit-flex;display:flex;\nmargin-top:10px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:0 10px;height:50px;background-color:#f8f8f8;\n\nfont-weight:400}\n.uni-section__head[data-v-3f87abbd]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-right:10px}.line[data-v-3f87abbd]{height:15px;background-color:silver;border-radius:5px;width:3px}.circle[data-v-3f87abbd]{width:8px;height:8px;border-top-right-radius:50px;border-top-left-radius:50px;border-bottom-left-radius:50px;border-bottom-right-radius:50px;background-color:silver}.uni-section__content[data-v-3f87abbd]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-webkit-flex:1;flex:1;color:#333}.uni-section__content-title[data-v-3f87abbd]{font-size:14px;color:#333}.distraction[data-v-3f87abbd]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.uni-section__content-sub[data-v-3f87abbd]{font-size:12px;color:#999}",""]),n.exports=t},a4fd:function(n,t,e){"use strict";var i=e("1e42"),o=e.n(i);o.a},a898:function(n,t,e){var i=e("24fb");t=i(!1),t.push([n.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* 头条小程序组件内不能引入字体 */\nuni-page-body[data-v-af1e8bec]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;box-sizing:border-box;background-color:#efeff4;min-height:100%;height:auto}uni-view[data-v-af1e8bec]{font-size:14px;line-height:inherit}.uni-form-item__title[data-v-af1e8bec]{font-size:16px;line-height:24px}.uni-input-wrapper[data-v-af1e8bec]{\ndisplay:-webkit-box;display:-webkit-flex;display:flex;\npadding:8px 13px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#fff}.title[data-v-af1e8bec]{background-color:#efefef}.uni-input[data-v-af1e8bec]{height:28px;line-height:28px;font-size:15px;padding:0;-webkit-box-flex:1;-webkit-flex:1;flex:1;background-color:#fff}.uni-icon[data-v-af1e8bec]{font-family:uniicons;font-size:24px;font-weight:400;font-style:normal;width:24px;height:24px;line-height:24px;color:#999}.uni-eye-active[data-v-af1e8bec]{color:#007aff}.uni-btn-v[data-v-af1e8bec]{position:fixed;bottom:0;width:100%}.header-slot-box[data-v-af1e8bec]{font-size:15px;margin:5px 5px;width:20%;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.body-slot-box[data-v-af1e8bec]{font-size:15px;margin:5px 5px;width:40%;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.footer-slot-box[data-v-af1e8bec]{font-size:15px;margin:5px 5px;width:40%;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.uni-textarea uni-textarea[data-v-af1e8bec]{font-size:15px}.content[data-v-af1e8bec]{padding:%?40?%;background-color:#fff}\n/* 上传控件 */.uploadControl[data-v-af1e8bec]{border:%?1?% solid #eee;border-radius:%?10?%;width:%?130?%;display:block;height:%?130?%;text-align:center;line-height:%?130?%;font-size:%?30?%;color:#888;background-color:#eee}body.?%PAGE?%[data-v-af1e8bec]{background-color:#efeff4}",""]),n.exports=t},abb7:function(n,t,e){"use strict";var i;e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return r})),e.d(t,"a",(function(){return i}));var o=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("v-uni-view",{staticClass:"uni-section",attrs:{nvue:!0}},[n.type?e("v-uni-view",{staticClass:"uni-section__head"},[e("v-uni-view",{staticClass:"uni-section__head-tag",class:n.type})],1):n._e(),e("v-uni-view",{staticClass:"uni-section__content"},[e("v-uni-text",{staticClass:"uni-section__content-title",class:{distraction:!n.subTitle}},[n._v(n._s(n.title))]),n.subTitle?e("v-uni-text",{staticClass:"uni-section__content-sub"},[n._v(n._s(n.subTitle))]):n._e()],1),n._t("default")],2)},r=[]},ad26:function(n,t,e){var i;e("a4d3"),e("e01a"),e("d28b"),e("944a"),e("c975"),e("26e9"),e("fb6a"),e("ace4"),e("0c47"),e("23dc"),e("d3b7"),e("ac1f"),e("25f0"),e("3ca3"),e("5319"),e("841c"),e("fb2c"),e("9a8c"),e("a975"),e("735e"),e("c1ac"),e("d139"),e("3a7b"),e("d5d6"),e("82f8"),e("e91f"),e("60bd"),e("5f96"),e("3280"),e("3fcc"),e("ca91"),e("25a1"),e("cd26"),e("3c5d"),e("2954"),e("649e"),e("219c"),e("170b"),e("b39a"),e("72f7"),e("ddb0"),function(o){"use strict";var r,s,a,u=9e15,c=1e9,l="0123456789abcdef",f="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",d="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",h={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-u,maxE:u,crypto:!1},p=!0,m="[DecimalError] ",g=m+"Invalid argument: ",v=m+"Precision limit exceeded",w=m+"crypto unavailable",b=Math.floor,x=Math.pow,y=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,N=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,C=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,k=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,S=1e7,q=7,_=9007199254740991,L=f.length-1,E=d.length-1,T={name:"[object Decimal]"};function F(n){var t,e,i,o=n.length-1,r="",s=n[0];if(o>0){for(r+=s,t=1;t<o;t++)i=n[t]+"",e=q-i.length,e&&(r+=U(e)),r+=i;s=n[t],i=s+"",e=q-i.length,e&&(r+=U(e))}else if(0===s)return"0";for(;s%10===0;)s/=10;return r+s}function D(n,t,e){if(n!==~~n||n<t||n>e)throw Error(g+n)}function R(n,t,e,i){var o,r,s,a;for(r=n[0];r>=10;r/=10)--t;return--t<0?(t+=q,o=0):(o=Math.ceil((t+1)/q),t%=q),r=x(10,q-t),a=n[o]%r|0,null==i?t<3?(0==t?a=a/100|0:1==t&&(a=a/10|0),s=e<4&&99999==a||e>3&&49999==a||5e4==a||0==a):s=(e<4&&a+1==r||e>3&&a+1==r/2)&&(n[o+1]/r/100|0)==x(10,t-2)-1||(a==r/2||0==a)&&0==(n[o+1]/r/100|0):t<4?(0==t?a=a/1e3|0:1==t?a=a/100|0:2==t&&(a=a/10|0),s=(i||e<4)&&9999==a||!i&&e>3&&4999==a):s=((i||e<4)&&a+1==r||!i&&e>3&&a+1==r/2)&&(n[o+1]/r/1e3|0)==x(10,t-3)-1,s}function O(n,t,e){for(var i,o,r=[0],s=0,a=n.length;s<a;){for(o=r.length;o--;)r[o]*=t;for(r[0]+=l.indexOf(n.charAt(s++)),i=0;i<r.length;i++)r[i]>e-1&&(void 0===r[i+1]&&(r[i+1]=0),r[i+1]+=r[i]/e|0,r[i]%=e)}return r.reverse()}function M(n,t){var e,i,o=t.d.length;o<32?(e=Math.ceil(o/3),i=(1/nn(4,e)).toString()):(e=16,i="2.3283064365386962890625e-10"),n.precision+=e,t=Y(n,1,t.times(i),new n(1));for(var r=e;r--;){var s=t.times(t);t=s.times(s).minus(s).times(8).plus(1)}return n.precision-=e,t}T.absoluteValue=T.abs=function(){var n=new this.constructor(this);return n.s<0&&(n.s=1),I(n)},T.ceil=function(){return I(new this.constructor(this),this.e+1,2)},T.comparedTo=T.cmp=function(n){var t,e,i,o,r=this,s=r.d,a=(n=new r.constructor(n)).d,u=r.s,c=n.s;if(!s||!a)return u&&c?u!==c?u:s===a?0:!s^u<0?1:-1:NaN;if(!s[0]||!a[0])return s[0]?u:a[0]?-c:0;if(u!==c)return u;if(r.e!==n.e)return r.e>n.e^u<0?1:-1;for(i=s.length,o=a.length,t=0,e=i<o?i:o;t<e;++t)if(s[t]!==a[t])return s[t]>a[t]^u<0?1:-1;return i===o?0:i>o^u<0?1:-1},T.cosine=T.cos=function(){var n,t,e=this,i=e.constructor;return e.d?e.d[0]?(n=i.precision,t=i.rounding,i.precision=n+Math.max(e.e,e.sd())+q,i.rounding=1,e=M(i,tn(i,e)),i.precision=n,i.rounding=t,I(2==a||3==a?e.neg():e,n,t,!0)):new i(1):new i(NaN)},T.cubeRoot=T.cbrt=function(){var n,t,e,i,o,r,s,a,u,c,l=this,f=l.constructor;if(!l.isFinite()||l.isZero())return new f(l);for(p=!1,r=l.s*x(l.s*l,1/3),r&&Math.abs(r)!=1/0?i=new f(r.toString()):(e=F(l.d),n=l.e,(r=(n-e.length+1)%3)&&(e+=1==r||-2==r?"0":"00"),r=x(e,1/3),n=b((n+1)/3)-(n%3==(n<0?-1:2)),r==1/0?e="5e"+n:(e=r.toExponential(),e=e.slice(0,e.indexOf("e")+1)+n),i=new f(e),i.s=l.s),s=(n=f.precision)+3;;)if(a=i,u=a.times(a).times(a),c=u.plus(l),i=j(c.plus(l).times(a),c.plus(u),s+2,1),F(a.d).slice(0,s)===(e=F(i.d)).slice(0,s)){if(e=e.slice(s-3,s+1),"9999"!=e&&(o||"4999"!=e)){+e&&(+e.slice(1)||"5"!=e.charAt(0))||(I(i,n+1,1),t=!i.times(i).times(i).eq(l));break}if(!o&&(I(a,n+1,0),a.times(a).times(a).eq(l))){i=a;break}s+=4,o=1}return p=!0,I(i,n,f.rounding,t)},T.decimalPlaces=T.dp=function(){var n,t=this.d,e=NaN;if(t){if(n=t.length-1,e=(n-b(this.e/q))*q,n=t[n],n)for(;n%10==0;n/=10)e--;e<0&&(e=0)}return e},T.dividedBy=T.div=function(n){return j(this,new this.constructor(n))},T.dividedToIntegerBy=T.divToInt=function(n){var t=this,e=t.constructor;return I(j(t,new e(n),0,1,1),e.precision,e.rounding)},T.equals=T.eq=function(n){return 0===this.cmp(n)},T.floor=function(){return I(new this.constructor(this),this.e+1,3)},T.greaterThan=T.gt=function(n){return this.cmp(n)>0},T.greaterThanOrEqualTo=T.gte=function(n){var t=this.cmp(n);return 1==t||0===t},T.hyperbolicCosine=T.cosh=function(){var n,t,e,i,o,r=this,s=r.constructor,a=new s(1);if(!r.isFinite())return new s(r.s?1/0:NaN);if(r.isZero())return a;e=s.precision,i=s.rounding,s.precision=e+Math.max(r.e,r.sd())+4,s.rounding=1,o=r.d.length,o<32?(n=Math.ceil(o/3),t=(1/nn(4,n)).toString()):(n=16,t="2.3283064365386962890625e-10"),r=Y(s,1,r.times(t),new s(1),!0);for(var u,c=n,l=new s(8);c--;)u=r.times(r),r=a.minus(u.times(l.minus(u.times(l))));return I(r,s.precision=e,s.rounding=i,!0)},T.hyperbolicSine=T.sinh=function(){var n,t,e,i,o=this,r=o.constructor;if(!o.isFinite()||o.isZero())return new r(o);if(t=r.precision,e=r.rounding,r.precision=t+Math.max(o.e,o.sd())+4,r.rounding=1,i=o.d.length,i<3)o=Y(r,2,o,o,!0);else{n=1.4*Math.sqrt(i),n=n>16?16:0|n,o=o.times(1/nn(5,n)),o=Y(r,2,o,o,!0);for(var s,a=new r(5),u=new r(16),c=new r(20);n--;)s=o.times(o),o=o.times(a.plus(s.times(u.times(s).plus(c))))}return r.precision=t,r.rounding=e,I(o,t,e,!0)},T.hyperbolicTangent=T.tanh=function(){var n,t,e=this,i=e.constructor;return e.isFinite()?e.isZero()?new i(e):(n=i.precision,t=i.rounding,i.precision=n+7,i.rounding=1,j(e.sinh(),e.cosh(),i.precision=n,i.rounding=t)):new i(e.s)},T.inverseCosine=T.acos=function(){var n,t=this,e=t.constructor,i=t.abs().cmp(1),o=e.precision,r=e.rounding;return-1!==i?0===i?t.isNeg()?$(e,o,r):new e(0):new e(NaN):t.isZero()?$(e,o+4,r).times(.5):(e.precision=o+6,e.rounding=1,t=t.asin(),n=$(e,o+4,r).times(.5),e.precision=o,e.rounding=r,n.minus(t))},T.inverseHyperbolicCosine=T.acosh=function(){var n,t,e=this,i=e.constructor;return e.lte(1)?new i(e.eq(1)?0:NaN):e.isFinite()?(n=i.precision,t=i.rounding,i.precision=n+Math.max(Math.abs(e.e),e.sd())+4,i.rounding=1,p=!1,e=e.times(e).minus(1).sqrt().plus(e),p=!0,i.precision=n,i.rounding=t,e.ln()):new i(e)},T.inverseHyperbolicSine=T.asinh=function(){var n,t,e=this,i=e.constructor;return!e.isFinite()||e.isZero()?new i(e):(n=i.precision,t=i.rounding,i.precision=n+2*Math.max(Math.abs(e.e),e.sd())+6,i.rounding=1,p=!1,e=e.times(e).plus(1).sqrt().plus(e),p=!0,i.precision=n,i.rounding=t,e.ln())},T.inverseHyperbolicTangent=T.atanh=function(){var n,t,e,i,o=this,r=o.constructor;return o.isFinite()?o.e>=0?new r(o.abs().eq(1)?o.s/0:o.isZero()?o:NaN):(n=r.precision,t=r.rounding,i=o.sd(),Math.max(i,n)<2*-o.e-1?I(new r(o),n,t,!0):(r.precision=e=i-o.e,o=j(o.plus(1),new r(1).minus(o),e+n,1),r.precision=n+4,r.rounding=1,o=o.ln(),r.precision=n,r.rounding=t,o.times(.5))):new r(NaN)},T.inverseSine=T.asin=function(){var n,t,e,i,o=this,r=o.constructor;return o.isZero()?new r(o):(t=o.abs().cmp(1),e=r.precision,i=r.rounding,-1!==t?0===t?(n=$(r,e+4,i).times(.5),n.s=o.s,n):new r(NaN):(r.precision=e+6,r.rounding=1,o=o.div(new r(1).minus(o.times(o)).sqrt().plus(1)).atan(),r.precision=e,r.rounding=i,o.times(2)))},T.inverseTangent=T.atan=function(){var n,t,e,i,o,r,s,a,u,c=this,l=c.constructor,f=l.precision,d=l.rounding;if(c.isFinite()){if(c.isZero())return new l(c);if(c.abs().eq(1)&&f+4<=E)return s=$(l,f+4,d).times(.25),s.s=c.s,s}else{if(!c.s)return new l(NaN);if(f+4<=E)return s=$(l,f+4,d).times(.5),s.s=c.s,s}for(l.precision=a=f+10,l.rounding=1,e=Math.min(28,a/q+2|0),n=e;n;--n)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(p=!1,t=Math.ceil(a/q),i=1,u=c.times(c),s=new l(c),o=c;-1!==n;)if(o=o.times(u),r=s.minus(o.div(i+=2)),o=o.times(u),s=r.plus(o.div(i+=2)),void 0!==s.d[t])for(n=t;s.d[n]===r.d[n]&&n--;);return e&&(s=s.times(2<<e-1)),p=!0,I(s,l.precision=f,l.rounding=d,!0)},T.isFinite=function(){return!!this.d},T.isInteger=T.isInt=function(){return!!this.d&&b(this.e/q)>this.d.length-2},T.isNaN=function(){return!this.s},T.isNegative=T.isNeg=function(){return this.s<0},T.isPositive=T.isPos=function(){return this.s>0},T.isZero=function(){return!!this.d&&0===this.d[0]},T.lessThan=T.lt=function(n){return this.cmp(n)<0},T.lessThanOrEqualTo=T.lte=function(n){return this.cmp(n)<1},T.logarithm=T.log=function(n){var t,e,i,o,r,s,a,u,c=this,l=c.constructor,f=l.precision,d=l.rounding,h=5;if(null==n)n=new l(10),t=!0;else{if(n=new l(n),e=n.d,n.s<0||!e||!e[0]||n.eq(1))return new l(NaN);t=n.eq(10)}if(e=c.d,c.s<0||!e||!e[0]||c.eq(1))return new l(e&&!e[0]?-1/0:1!=c.s?NaN:e?0:1/0);if(t)if(e.length>1)r=!0;else{for(o=e[0];o%10===0;)o/=10;r=1!==o}if(p=!1,a=f+h,s=W(c,a),i=t?P(l,a+10):W(n,a),u=j(s,i,a,1),R(u.d,o=f,d))do{if(a+=10,s=W(c,a),i=t?P(l,a+10):W(n,a),u=j(s,i,a,1),!r){+F(u.d).slice(o+1,o+15)+1==1e14&&(u=I(u,f+1,0));break}}while(R(u.d,o+=10,d));return p=!0,I(u,f,d)},T.minus=T.sub=function(n){var t,e,i,o,r,s,a,u,c,l,f,d,h=this,m=h.constructor;if(n=new m(n),!h.d||!n.d)return h.s&&n.s?h.d?n.s=-n.s:n=new m(n.d||h.s!==n.s?h:NaN):n=new m(NaN),n;if(h.s!=n.s)return n.s=-n.s,h.plus(n);if(c=h.d,d=n.d,a=m.precision,u=m.rounding,!c[0]||!d[0]){if(d[0])n.s=-n.s;else{if(!c[0])return new m(3===u?-0:0);n=new m(h)}return p?I(n,a,u):n}if(e=b(n.e/q),l=b(h.e/q),c=c.slice(),r=l-e,r){for(f=r<0,f?(t=c,r=-r,s=d.length):(t=d,e=l,s=c.length),i=Math.max(Math.ceil(a/q),s)+2,r>i&&(r=i,t.length=1),t.reverse(),i=r;i--;)t.push(0);t.reverse()}else{for(i=c.length,s=d.length,f=i<s,f&&(s=i),i=0;i<s;i++)if(c[i]!=d[i]){f=c[i]<d[i];break}r=0}for(f&&(t=c,c=d,d=t,n.s=-n.s),s=c.length,i=d.length-s;i>0;--i)c[s++]=0;for(i=d.length;i>r;){if(c[--i]<d[i]){for(o=i;o&&0===c[--o];)c[o]=S-1;--c[o],c[i]+=S}c[i]-=d[i]}for(;0===c[--s];)c.pop();for(;0===c[0];c.shift())--e;return c[0]?(n.d=c,n.e=A(c,e),p?I(n,a,u):n):new m(3===u?-0:0)},T.modulo=T.mod=function(n){var t,e=this,i=e.constructor;return n=new i(n),!e.d||!n.s||n.d&&!n.d[0]?new i(NaN):!n.d||e.d&&!e.d[0]?I(new i(e),i.precision,i.rounding):(p=!1,9==i.modulo?(t=j(e,n.abs(),0,3,1),t.s*=n.s):t=j(e,n,0,i.modulo,1),t=t.times(n),p=!0,e.minus(t))},T.naturalExponential=T.exp=function(){return H(this)},T.naturalLogarithm=T.ln=function(){return W(this)},T.negated=T.neg=function(){var n=new this.constructor(this);return n.s=-n.s,I(n)},T.plus=T.add=function(n){var t,e,i,o,r,s,a,u,c,l,f=this,d=f.constructor;if(n=new d(n),!f.d||!n.d)return f.s&&n.s?f.d||(n=new d(n.d||f.s===n.s?f:NaN)):n=new d(NaN),n;if(f.s!=n.s)return n.s=-n.s,f.minus(n);if(c=f.d,l=n.d,a=d.precision,u=d.rounding,!c[0]||!l[0])return l[0]||(n=new d(f)),p?I(n,a,u):n;if(r=b(f.e/q),i=b(n.e/q),c=c.slice(),o=r-i,o){for(o<0?(e=c,o=-o,s=l.length):(e=l,i=r,s=c.length),r=Math.ceil(a/q),s=r>s?r+1:s+1,o>s&&(o=s,e.length=1),e.reverse();o--;)e.push(0);e.reverse()}for(s=c.length,o=l.length,s-o<0&&(o=s,e=l,l=c,c=e),t=0;o;)t=(c[--o]=c[o]+l[o]+t)/S|0,c[o]%=S;for(t&&(c.unshift(t),++i),s=c.length;0==c[--s];)c.pop();return n.d=c,n.e=A(c,i),p?I(n,a,u):n},T.precision=T.sd=function(n){var t,e=this;if(void 0!==n&&n!==!!n&&1!==n&&0!==n)throw Error(g+n);return e.d?(t=G(e.d),n&&e.e+1>t&&(t=e.e+1)):t=NaN,t},T.round=function(){var n=this,t=n.constructor;return I(new t(n),n.e+1,t.rounding)},T.sine=T.sin=function(){var n,t,e=this,i=e.constructor;return e.isFinite()?e.isZero()?new i(e):(n=i.precision,t=i.rounding,i.precision=n+Math.max(e.e,e.sd())+q,i.rounding=1,e=X(i,tn(i,e)),i.precision=n,i.rounding=t,I(a>2?e.neg():e,n,t,!0)):new i(NaN)},T.squareRoot=T.sqrt=function(){var n,t,e,i,o,r,s=this,a=s.d,u=s.e,c=s.s,l=s.constructor;if(1!==c||!a||!a[0])return new l(!c||c<0&&(!a||a[0])?NaN:a?s:1/0);for(p=!1,c=Math.sqrt(+s),0==c||c==1/0?(t=F(a),(t.length+u)%2==0&&(t+="0"),c=Math.sqrt(t),u=b((u+1)/2)-(u<0||u%2),c==1/0?t="5e"+u:(t=c.toExponential(),t=t.slice(0,t.indexOf("e")+1)+u),i=new l(t)):i=new l(c.toString()),e=(u=l.precision)+3;;)if(r=i,i=r.plus(j(s,r,e+2,1)).times(.5),F(r.d).slice(0,e)===(t=F(i.d)).slice(0,e)){if(t=t.slice(e-3,e+1),"9999"!=t&&(o||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(I(i,u+1,1),n=!i.times(i).eq(s));break}if(!o&&(I(r,u+1,0),r.times(r).eq(s))){i=r;break}e+=4,o=1}return p=!0,I(i,u,l.rounding,n)},T.tangent=T.tan=function(){var n,t,e=this,i=e.constructor;return e.isFinite()?e.isZero()?new i(e):(n=i.precision,t=i.rounding,i.precision=n+10,i.rounding=1,e=e.sin(),e.s=1,e=j(e,new i(1).minus(e.times(e)).sqrt(),n+10,0),i.precision=n,i.rounding=t,I(2==a||4==a?e.neg():e,n,t,!0)):new i(NaN)},T.times=T.mul=function(n){var t,e,i,o,r,s,a,u,c,l=this,f=l.constructor,d=l.d,h=(n=new f(n)).d;if(n.s*=l.s,!d||!d[0]||!h||!h[0])return new f(!n.s||d&&!d[0]&&!h||h&&!h[0]&&!d?NaN:d&&h?0*n.s:n.s/0);for(e=b(l.e/q)+b(n.e/q),u=d.length,c=h.length,u<c&&(r=d,d=h,h=r,s=u,u=c,c=s),r=[],s=u+c,i=s;i--;)r.push(0);for(i=c;--i>=0;){for(t=0,o=u+i;o>i;)a=r[o]+h[i]*d[o-i-1]+t,r[o--]=a%S|0,t=a/S|0;r[o]=(r[o]+t)%S|0}for(;!r[--s];)r.pop();return t?++e:r.shift(),n.d=r,n.e=A(r,e),p?I(n,f.precision,f.rounding):n},T.toBinary=function(n,t){return en(this,2,n,t)},T.toDecimalPlaces=T.toDP=function(n,t){var e=this,i=e.constructor;return e=new i(e),void 0===n?e:(D(n,0,c),void 0===t?t=i.rounding:D(t,0,8),I(e,n+e.e+1,t))},T.toExponential=function(n,t){var e,i=this,o=i.constructor;return void 0===n?e=z(i,!0):(D(n,0,c),void 0===t?t=o.rounding:D(t,0,8),i=I(new o(i),n+1,t),e=z(i,!0,n+1)),i.isNeg()&&!i.isZero()?"-"+e:e},T.toFixed=function(n,t){var e,i,o=this,r=o.constructor;return void 0===n?e=z(o):(D(n,0,c),void 0===t?t=r.rounding:D(t,0,8),i=I(new r(o),n+o.e+1,t),e=z(i,!1,n+i.e+1)),o.isNeg()&&!o.isZero()?"-"+e:e},T.toFraction=function(n){var t,e,i,o,r,s,a,u,c,l,f,d,h=this,m=h.d,v=h.constructor;if(!m)return new v(h);if(c=e=new v(1),i=u=new v(0),t=new v(i),r=t.e=G(m)-h.e-1,s=r%q,t.d[0]=x(10,s<0?q+s:s),null==n)n=r>0?t:c;else{if(a=new v(n),!a.isInt()||a.lt(c))throw Error(g+a);n=a.gt(t)?r>0?t:c:a}for(p=!1,a=new v(F(m)),l=v.precision,v.precision=r=m.length*q*2;;){if(f=j(a,t,0,1,1),o=e.plus(f.times(i)),1==o.cmp(n))break;e=i,i=o,o=c,c=u.plus(f.times(o)),u=o,o=t,t=a.minus(f.times(o)),a=o}return o=j(n.minus(e),i,0,1,1),u=u.plus(o.times(c)),e=e.plus(o.times(i)),u.s=c.s=h.s,d=j(c,i,r,1).minus(h).abs().cmp(j(u,e,r,1).minus(h).abs())<1?[c,i]:[u,e],v.precision=l,p=!0,d},T.toHexadecimal=T.toHex=function(n,t){return en(this,16,n,t)},T.toNearest=function(n,t){var e=this,i=e.constructor;if(e=new i(e),null==n){if(!e.d)return e;n=new i(1),t=i.rounding}else{if(n=new i(n),void 0===t?t=i.rounding:D(t,0,8),!e.d)return n.s?e:n;if(!n.d)return n.s&&(n.s=e.s),n}return n.d[0]?(p=!1,e=j(e,n,0,t,1).times(n),p=!0,I(e)):(n.s=e.s,e=n),e},T.toNumber=function(){return+this},T.toOctal=function(n,t){return en(this,8,n,t)},T.toPower=T.pow=function(n){var t,e,i,o,r,s,a=this,u=a.constructor,c=+(n=new u(n));if(!a.d||!n.d||!a.d[0]||!n.d[0])return new u(x(+a,c));if(a=new u(a),a.eq(1))return a;if(i=u.precision,r=u.rounding,n.eq(1))return I(a,i,r);if(t=b(n.e/q),t>=n.d.length-1&&(e=c<0?-c:c)<=_)return o=Z(u,a,e,i),n.s<0?new u(1).div(o):I(o,i,r);if(s=a.s,s<0){if(t<n.d.length-1)return new u(NaN);if(0==(1&n.d[t])&&(s=1),0==a.e&&1==a.d[0]&&1==a.d.length)return a.s=s,a}return e=x(+a,c),t=0!=e&&isFinite(e)?new u(e+"").e:b(c*(Math.log("0."+F(a.d))/Math.LN10+a.e+1)),t>u.maxE+1||t<u.minE-1?new u(t>0?s/0:0):(p=!1,u.rounding=a.s=1,e=Math.min(12,(t+"").length),o=H(n.times(W(a,i+e)),i),o.d&&(o=I(o,i+5,1),R(o.d,i,r)&&(t=i+10,o=I(H(n.times(W(a,t+e)),t),t+5,1),+F(o.d).slice(i+1,i+15)+1==1e14&&(o=I(o,i+1,0)))),o.s=s,p=!0,u.rounding=r,I(o,i,r))},T.toPrecision=function(n,t){var e,i=this,o=i.constructor;return void 0===n?e=z(i,i.e<=o.toExpNeg||i.e>=o.toExpPos):(D(n,1,c),void 0===t?t=o.rounding:D(t,0,8),i=I(new o(i),n,t),e=z(i,n<=i.e||i.e<=o.toExpNeg,n)),i.isNeg()&&!i.isZero()?"-"+e:e},T.toSignificantDigits=T.toSD=function(n,t){var e=this,i=e.constructor;return void 0===n?(n=i.precision,t=i.rounding):(D(n,1,c),void 0===t?t=i.rounding:D(t,0,8)),I(new i(e),n,t)},T.toString=function(){var n=this,t=n.constructor,e=z(n,n.e<=t.toExpNeg||n.e>=t.toExpPos);return n.isNeg()&&!n.isZero()?"-"+e:e},T.truncated=T.trunc=function(){return I(new this.constructor(this),this.e+1,1)},T.valueOf=T.toJSON=function(){var n=this,t=n.constructor,e=z(n,n.e<=t.toExpNeg||n.e>=t.toExpPos);return n.isNeg()?"-"+e:e};var j=function(){function n(n,t,e){var i,o=0,r=n.length;for(n=n.slice();r--;)i=n[r]*t+o,n[r]=i%e|0,o=i/e|0;return o&&n.unshift(o),n}function t(n,t,e,i){var o,r;if(e!=i)r=e>i?1:-1;else for(o=r=0;o<e;o++)if(n[o]!=t[o]){r=n[o]>t[o]?1:-1;break}return r}function e(n,t,e,i){for(var o=0;e--;)n[e]-=o,o=n[e]<t[e]?1:0,n[e]=o*i+n[e]-t[e];for(;!n[0]&&n.length>1;)n.shift()}return function(i,o,r,a,u,c){var l,f,d,h,p,m,g,v,w,x,y,N,C,k,_,L,E,T,F,D,R=i.constructor,O=i.s==o.s?1:-1,M=i.d,j=o.d;if(!M||!M[0]||!j||!j[0])return new R(i.s&&o.s&&(M?!j||M[0]!=j[0]:j)?M&&0==M[0]||!j?0*O:O/0:NaN);for(c?(p=1,f=i.e-o.e):(c=S,p=q,f=b(i.e/p)-b(o.e/p)),F=j.length,E=M.length,w=new R(O),x=w.d=[],d=0;j[d]==(M[d]||0);d++);if(j[d]>(M[d]||0)&&f--,null==r?(k=r=R.precision,a=R.rounding):k=u?r+(i.e-o.e)+1:r,k<0)x.push(1),m=!0;else{if(k=k/p+2|0,d=0,1==F){for(h=0,j=j[0],k++;(d<E||h)&&k--;d++)_=h*c+(M[d]||0),x[d]=_/j|0,h=_%j|0;m=h||d<E}else{for(h=c/(j[0]+1)|0,h>1&&(j=n(j,h,c),M=n(M,h,c),F=j.length,E=M.length),L=F,y=M.slice(0,F),N=y.length;N<F;)y[N++]=0;D=j.slice(),D.unshift(0),T=j[0],j[1]>=c/2&&++T;do{h=0,l=t(j,y,F,N),l<0?(C=y[0],F!=N&&(C=C*c+(y[1]||0)),h=C/T|0,h>1?(h>=c&&(h=c-1),g=n(j,h,c),v=g.length,N=y.length,l=t(g,y,v,N),1==l&&(h--,e(g,F<v?D:j,v,c))):(0==h&&(l=h=1),g=j.slice()),v=g.length,v<N&&g.unshift(0),e(y,g,N,c),-1==l&&(N=y.length,l=t(j,y,F,N),l<1&&(h++,e(y,F<N?D:j,N,c))),N=y.length):0===l&&(h++,y=[0]),x[d++]=h,l&&y[0]?y[N++]=M[L]||0:(y=[M[L]],N=1)}while((L++<E||void 0!==y[0])&&k--);m=void 0!==y[0]}x[0]||x.shift()}if(1==p)w.e=f,s=m;else{for(d=1,h=x[0];h>=10;h/=10)d++;w.e=d+f*p-1,I(w,u?r+w.e+1:r,a,m)}return w}}();function I(n,t,e,i){var o,r,s,a,u,c,l,f,d,h=n.constructor;n:if(null!=t){if(f=n.d,!f)return n;for(o=1,a=f[0];a>=10;a/=10)o++;if(r=t-o,r<0)r+=q,s=t,l=f[d=0],u=l/x(10,o-s-1)%10|0;else if(d=Math.ceil((r+1)/q),a=f.length,d>=a){if(!i)break n;for(;a++<=d;)f.push(0);l=u=0,o=1,r%=q,s=r-q+1}else{for(l=a=f[d],o=1;a>=10;a/=10)o++;r%=q,s=r-q+o,u=s<0?0:l/x(10,o-s-1)%10|0}if(i=i||t<0||void 0!==f[d+1]||(s<0?l:l%x(10,o-s-1)),c=e<4?(u||i)&&(0==e||e==(n.s<0?3:2)):u>5||5==u&&(4==e||i||6==e&&(r>0?s>0?l/x(10,o-s):0:f[d-1])%10&1||e==(n.s<0?8:7)),t<1||!f[0])return f.length=0,c?(t-=n.e+1,f[0]=x(10,(q-t%q)%q),n.e=-t||0):f[0]=n.e=0,n;if(0==r?(f.length=d,a=1,d--):(f.length=d+1,a=x(10,q-r),f[d]=s>0?(l/x(10,o-s)%x(10,s)|0)*a:0),c)for(;;){if(0==d){for(r=1,s=f[0];s>=10;s/=10)r++;for(s=f[0]+=a,a=1;s>=10;s/=10)a++;r!=a&&(n.e++,f[0]==S&&(f[0]=1));break}if(f[d]+=a,f[d]!=S)break;f[d--]=0,a=1}for(r=f.length;0===f[--r];)f.pop()}return p&&(n.e>h.maxE?(n.d=null,n.e=NaN):n.e<h.minE&&(n.e=0,n.d=[0])),n}function z(n,t,e){if(!n.isFinite())return Q(n);var i,o=n.e,r=F(n.d),s=r.length;return t?(e&&(i=e-s)>0?r=r.charAt(0)+"."+r.slice(1)+U(i):s>1&&(r=r.charAt(0)+"."+r.slice(1)),r=r+(n.e<0?"e":"e+")+n.e):o<0?(r="0."+U(-o-1)+r,e&&(i=e-s)>0&&(r+=U(i))):o>=s?(r+=U(o+1-s),e&&(i=e-o-1)>0&&(r=r+"."+U(i))):((i=o+1)<s&&(r=r.slice(0,i)+"."+r.slice(i)),e&&(i=e-s)>0&&(o+1===s&&(r+="."),r+=U(i))),r}function A(n,t){var e=n[0];for(t*=q;e>=10;e/=10)t++;return t}function P(n,t,e){if(t>L)throw p=!0,e&&(n.precision=e),Error(v);return I(new n(f),t,1,!0)}function $(n,t,e){if(t>E)throw Error(v);return I(new n(d),t,e,!0)}function G(n){var t=n.length-1,e=t*q+1;if(t=n[t],t){for(;t%10==0;t/=10)e--;for(t=n[0];t>=10;t/=10)e++}return e}function U(n){for(var t="";n--;)t+="0";return t}function Z(n,t,e,i){var o,r=new n(1),s=Math.ceil(i/q+4);for(p=!1;;){if(e%2&&(r=r.times(t),on(r.d,s)&&(o=!0)),e=b(e/2),0===e){e=r.d.length-1,o&&0===r.d[e]&&++r.d[e];break}t=t.times(t),on(t.d,s)}return p=!0,r}function B(n){return 1&n.d[n.d.length-1]}function V(n,t,e){for(var i,o=new n(t[0]),r=0;++r<t.length;){if(i=new n(t[r]),!i.s){o=i;break}o[e](i)&&(o=i)}return o}function H(n,t){var e,i,o,r,s,a,u,c=0,l=0,f=0,d=n.constructor,h=d.rounding,m=d.precision;if(!n.d||!n.d[0]||n.e>17)return new d(n.d?n.d[0]?n.s<0?0:1/0:1:n.s?n.s<0?0:n:NaN);null==t?(p=!1,u=m):u=t,a=new d(.03125);while(n.e>-2)n=n.times(a),f+=5;for(i=Math.log(x(2,f))/Math.LN10*2+5|0,u+=i,e=r=s=new d(1),d.precision=u;;){if(r=I(r.times(n),u,1),e=e.times(++l),a=s.plus(j(r,e,u,1)),F(a.d).slice(0,u)===F(s.d).slice(0,u)){o=f;while(o--)s=I(s.times(s),u,1);if(null!=t)return d.precision=m,s;if(!(c<3&&R(s.d,u-i,h,c)))return I(s,d.precision=m,h,p=!0);d.precision=u+=10,e=r=a=new d(1),l=0,c++}s=a}}function W(n,t){var e,i,o,r,s,a,u,c,l,f,d,h=1,m=10,g=n,v=g.d,w=g.constructor,b=w.rounding,x=w.precision;if(g.s<0||!v||!v[0]||!g.e&&1==v[0]&&1==v.length)return new w(v&&!v[0]?-1/0:1!=g.s?NaN:v?0:g);if(null==t?(p=!1,l=x):l=t,w.precision=l+=m,e=F(v),i=e.charAt(0),!(Math.abs(r=g.e)<15e14))return c=P(w,l+2,x).times(r+""),g=W(new w(i+"."+e.slice(1)),l-m).plus(c),w.precision=x,null==t?I(g,x,b,p=!0):g;while(i<7&&1!=i||1==i&&e.charAt(1)>3)g=g.times(n),e=F(g.d),i=e.charAt(0),h++;for(r=g.e,i>1?(g=new w("0."+e),r++):g=new w(i+"."+e.slice(1)),f=g,u=s=g=j(g.minus(1),g.plus(1),l,1),d=I(g.times(g),l,1),o=3;;){if(s=I(s.times(d),l,1),c=u.plus(j(s,new w(o),l,1)),F(c.d).slice(0,l)===F(u.d).slice(0,l)){if(u=u.times(2),0!==r&&(u=u.plus(P(w,l+2,x).times(r+""))),u=j(u,new w(h),l,1),null!=t)return w.precision=x,u;if(!R(u.d,l-m,b,a))return I(u,w.precision=x,b,p=!0);w.precision=l+=m,c=s=g=j(f.minus(1),f.plus(1),l,1),d=I(g.times(g),l,1),o=a=1}u=c,o+=2}}function Q(n){return String(n.s*n.s/0)}function J(n,t){var e,i,o;for((e=t.indexOf("."))>-1&&(t=t.replace(".","")),(i=t.search(/e/i))>0?(e<0&&(e=i),e+=+t.slice(i+1),t=t.substring(0,i)):e<0&&(e=t.length),i=0;48===t.charCodeAt(i);i++);for(o=t.length;48===t.charCodeAt(o-1);--o);if(t=t.slice(i,o),t){if(o-=i,n.e=e=e-i-1,n.d=[],i=(e+1)%q,e<0&&(i+=q),i<o){for(i&&n.d.push(+t.slice(0,i)),o-=q;i<o;)n.d.push(+t.slice(i,i+=q));t=t.slice(i),i=q-t.length}else i-=o;for(;i--;)t+="0";n.d.push(+t),p&&(n.e>n.constructor.maxE?(n.d=null,n.e=NaN):n.e<n.constructor.minE&&(n.e=0,n.d=[0]))}else n.e=0,n.d=[0];return n}function K(n,t){var e,i,o,s,a,u,c,l,f;if("Infinity"===t||"NaN"===t)return+t||(n.s=NaN),n.e=NaN,n.d=null,n;if(N.test(t))e=16,t=t.toLowerCase();else if(y.test(t))e=2;else{if(!C.test(t))throw Error(g+t);e=8}for(s=t.search(/p/i),s>0?(c=+t.slice(s+1),t=t.substring(2,s)):t=t.slice(2),s=t.indexOf("."),a=s>=0,i=n.constructor,a&&(t=t.replace(".",""),u=t.length,s=u-s,o=Z(i,new i(e),s,2*s)),l=O(t,e,S),f=l.length-1,s=f;0===l[s];--s)l.pop();return s<0?new i(0*n.s):(n.e=A(l,f),n.d=l,p=!1,a&&(n=j(n,o,4*u)),c&&(n=n.times(Math.abs(c)<54?x(2,c):r.pow(2,c))),p=!0,n)}function X(n,t){var e,i=t.d.length;if(i<3)return Y(n,2,t,t);e=1.4*Math.sqrt(i),e=e>16?16:0|e,t=t.times(1/nn(5,e)),t=Y(n,2,t,t);for(var o,r=new n(5),s=new n(16),a=new n(20);e--;)o=t.times(t),t=t.times(r.plus(o.times(s.times(o).minus(a))));return t}function Y(n,t,e,i,o){var r,s,a,u,c=n.precision,l=Math.ceil(c/q);for(p=!1,u=e.times(e),a=new n(i);;){if(s=j(a.times(u),new n(t++*t++),c,1),a=o?i.plus(s):i.minus(s),i=j(s.times(u),new n(t++*t++),c,1),s=a.plus(i),void 0!==s.d[l]){for(r=l;s.d[r]===a.d[r]&&r--;);if(-1==r)break}r=a,a=i,i=s,s=r}return p=!0,s.d.length=l+1,s}function nn(n,t){var e=n;while(--t)e*=n;return e}function tn(n,t){var e,i=t.s<0,o=$(n,n.precision,1),r=o.times(.5);if(t=t.abs(),t.lte(r))return a=i?4:1,t;if(e=t.divToInt(o),e.isZero())a=i?3:2;else{if(t=t.minus(e.times(o)),t.lte(r))return a=B(e)?i?2:3:i?4:1,t;a=B(e)?i?1:4:i?3:2}return t.minus(o).abs()}function en(n,t,e,i){var o,r,a,u,f,d,h,p,m,g=n.constructor,v=void 0!==e;if(v?(D(e,1,c),void 0===i?i=g.rounding:D(i,0,8)):(e=g.precision,i=g.rounding),n.isFinite()){for(h=z(n),a=h.indexOf("."),v?(o=2,16==t?e=4*e-3:8==t&&(e=3*e-2)):o=t,a>=0&&(h=h.replace(".",""),m=new g(1),m.e=h.length-a,m.d=O(z(m),10,o),m.e=m.d.length),p=O(h,10,o),r=f=p.length;0==p[--f];)p.pop();if(p[0]){if(a<0?r--:(n=new g(n),n.d=p,n.e=r,n=j(n,m,e,i,0,o),p=n.d,r=n.e,d=s),a=p[e],u=o/2,d=d||void 0!==p[e+1],d=i<4?(void 0!==a||d)&&(0===i||i===(n.s<0?3:2)):a>u||a===u&&(4===i||d||6===i&&1&p[e-1]||i===(n.s<0?8:7)),p.length=e,d)for(;++p[--e]>o-1;)p[e]=0,e||(++r,p.unshift(1));for(f=p.length;!p[f-1];--f);for(a=0,h="";a<f;a++)h+=l.charAt(p[a]);if(v){if(f>1)if(16==t||8==t){for(a=16==t?4:3,--f;f%a;f++)h+="0";for(p=O(h,o,t),f=p.length;!p[f-1];--f);for(a=1,h="1.";a<f;a++)h+=l.charAt(p[a])}else h=h.charAt(0)+"."+h.slice(1);h=h+(r<0?"p":"p+")+r}else if(r<0){for(;++r;)h="0"+h;h="0."+h}else if(++r>f)for(r-=f;r--;)h+="0";else r<f&&(h=h.slice(0,r)+"."+h.slice(r))}else h=v?"0p+0":"0";h=(16==t?"0x":2==t?"0b":8==t?"0o":"")+h}else h=Q(n);return n.s<0?"-"+h:h}function on(n,t){if(n.length>t)return n.length=t,!0}function rn(n){return new this(n).abs()}function sn(n){return new this(n).acos()}function an(n){return new this(n).acosh()}function un(n,t){return new this(n).plus(t)}function cn(n){return new this(n).asin()}function ln(n){return new this(n).asinh()}function fn(n){return new this(n).atan()}function dn(n){return new this(n).atanh()}function hn(n,t){n=new this(n),t=new this(t);var e,i=this.precision,o=this.rounding,r=i+4;return n.s&&t.s?n.d||t.d?!t.d||n.isZero()?(e=t.s<0?$(this,i,o):new this(0),e.s=n.s):!n.d||t.isZero()?(e=$(this,r,1).times(.5),e.s=n.s):t.s<0?(this.precision=r,this.rounding=1,e=this.atan(j(n,t,r,1)),t=$(this,r,1),this.precision=i,this.rounding=o,e=n.s<0?e.minus(t):e.plus(t)):e=this.atan(j(n,t,r,1)):(e=$(this,r,1).times(t.s>0?.25:.75),e.s=n.s):e=new this(NaN),e}function pn(n){return new this(n).cbrt()}function mn(n){return I(n=new this(n),n.e+1,2)}function gn(n){if(!n||"object"!==typeof n)throw Error(m+"Object expected");var t,e,i,o=!0===n.defaults,r=["precision",1,c,"rounding",0,8,"toExpNeg",-u,0,"toExpPos",0,u,"maxE",0,u,"minE",-u,0,"modulo",0,9];for(t=0;t<r.length;t+=3)if(e=r[t],o&&(this[e]=h[e]),void 0!==(i=n[e])){if(!(b(i)===i&&i>=r[t+1]&&i<=r[t+2]))throw Error(g+e+": "+i);this[e]=i}if(e="crypto",o&&(this[e]=h[e]),void 0!==(i=n[e])){if(!0!==i&&!1!==i&&0!==i&&1!==i)throw Error(g+e+": "+i);if(i){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(w);this[e]=!0}else this[e]=!1}return this}function vn(n){return new this(n).cos()}function wn(n){return new this(n).cosh()}function bn(n){var t,e,i;function o(n){var t,e,i,r=this;if(!(r instanceof o))return new o(n);if(r.constructor=o,n instanceof o)return r.s=n.s,void(p?!n.d||n.e>o.maxE?(r.e=NaN,r.d=null):n.e<o.minE?(r.e=0,r.d=[0]):(r.e=n.e,r.d=n.d.slice()):(r.e=n.e,r.d=n.d?n.d.slice():n.d));if(i=typeof n,"number"===i){if(0===n)return r.s=1/n<0?-1:1,r.e=0,void(r.d=[0]);if(n<0?(n=-n,r.s=-1):r.s=1,n===~~n&&n<1e7){for(t=0,e=n;e>=10;e/=10)t++;return void(p?t>o.maxE?(r.e=NaN,r.d=null):t<o.minE?(r.e=0,r.d=[0]):(r.e=t,r.d=[n]):(r.e=t,r.d=[n]))}return 0*n!==0?(n||(r.s=NaN),r.e=NaN,void(r.d=null)):J(r,n.toString())}if("string"!==i)throw Error(g+n);return 45===(e=n.charCodeAt(0))?(n=n.slice(1),r.s=-1):(43===e&&(n=n.slice(1)),r.s=1),k.test(n)?J(r,n):K(r,n)}if(o.prototype=T,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.EUCLID=9,o.config=o.set=gn,o.clone=bn,o.isDecimal=kn,o.abs=rn,o.acos=sn,o.acosh=an,o.add=un,o.asin=cn,o.asinh=ln,o.atan=fn,o.atanh=dn,o.atan2=hn,o.cbrt=pn,o.ceil=mn,o.cos=vn,o.cosh=wn,o.div=xn,o.exp=yn,o.floor=Nn,o.hypot=Cn,o.ln=Sn,o.log=qn,o.log10=Ln,o.log2=_n,o.max=En,o.min=Tn,o.mod=Fn,o.mul=Dn,o.pow=Rn,o.random=On,o.round=Mn,o.sign=jn,o.sin=In,o.sinh=zn,o.sqrt=An,o.sub=Pn,o.tan=$n,o.tanh=Gn,o.trunc=Un,void 0===n&&(n={}),n&&!0!==n.defaults)for(i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],t=0;t<i.length;)n.hasOwnProperty(e=i[t++])||(n[e]=this[e]);return o.config(n),o}function xn(n,t){return new this(n).div(t)}function yn(n){return new this(n).exp()}function Nn(n){return I(n=new this(n),n.e+1,3)}function Cn(){var n,t,e=new this(0);for(p=!1,n=0;n<arguments.length;)if(t=new this(arguments[n++]),t.d)e.d&&(e=e.plus(t.times(t)));else{if(t.s)return p=!0,new this(1/0);e=t}return p=!0,e.sqrt()}function kn(n){return n instanceof r||n&&"[object Decimal]"===n.name||!1}function Sn(n){return new this(n).ln()}function qn(n,t){return new this(n).log(t)}function _n(n){return new this(n).log(2)}function Ln(n){return new this(n).log(10)}function En(){return V(this,arguments,"lt")}function Tn(){return V(this,arguments,"gt")}function Fn(n,t){return new this(n).mod(t)}function Dn(n,t){return new this(n).mul(t)}function Rn(n,t){return new this(n).pow(t)}function On(n){var t,e,i,o,r=0,s=new this(1),a=[];if(void 0===n?n=this.precision:D(n,1,c),i=Math.ceil(n/q),this.crypto)if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(i));r<i;)o=t[r],o>=429e7?t[r]=crypto.getRandomValues(new Uint32Array(1))[0]:a[r++]=o%1e7;else{if(!crypto.randomBytes)throw Error(w);for(t=crypto.randomBytes(i*=4);r<i;)o=t[r]+(t[r+1]<<8)+(t[r+2]<<16)+((127&t[r+3])<<24),o>=214e7?crypto.randomBytes(4).copy(t,r):(a.push(o%1e7),r+=4);r=i/4}else for(;r<i;)a[r++]=1e7*Math.random()|0;for(i=a[--r],n%=q,i&&n&&(o=x(10,q-n),a[r]=(i/o|0)*o);0===a[r];r--)a.pop();if(r<0)e=0,a=[0];else{for(e=-1;0===a[0];e-=q)a.shift();for(i=1,o=a[0];o>=10;o/=10)i++;i<q&&(e-=q-i)}return s.e=e,s.d=a,s}function Mn(n){return I(n=new this(n),n.e+1,this.rounding)}function jn(n){return n=new this(n),n.d?n.d[0]?n.s:0*n.s:n.s||NaN}function In(n){return new this(n).sin()}function zn(n){return new this(n).sinh()}function An(n){return new this(n).sqrt()}function Pn(n,t){return new this(n).sub(t)}function $n(n){return new this(n).tan()}function Gn(n){return new this(n).tanh()}function Un(n){return I(n=new this(n),n.e+1,1)}r=bn(h),r["default"]=r.Decimal=r,f=new r(f),d=new r(d),i=function(){return r}.call(t,e,t,n),void 0===i||(n.exports=i)}()},b8af:function(n,t,e){"use strict";(function(n){var i=e("4ea4");e("4160"),e("a15b"),e("a434"),e("b680"),e("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;i(e("f062"));var o=e("6dec"),r=e("1136"),s=e("ad26"),a={data:function(){return{needFormCach:!1,requisitionName:"",requisitionDate:this.$util.getDate({format:!0}),requisitionType:0,qianzhengName:"签证类型",changeType:"",userCode:this.$store.state.user.userCode,personName:this.$store.state.user.userName,unitCode:this.$store.state.departmentCode,unitCodeName:this.$store.state.departmentName,requisitionReason:"",remark:"",contractList:[],imageList:[],countIndex:5,count:[1,2,3,4,5],array:[],index:0,date:this.$util.getDate({format:!0}),startDate:this.$util.getDate("start"),endDate:this.$util.getDate("end"),control:!0,columnNum:3,imgList:[],urlList:[],maxCount:5}},onLoad:function(){n.info("onLoad"),n.info(uni.getStorageSync("storage_state")),this.$util.persistLogin(this),"1"==this.$util.getQuery("type")?(uni.setNavigationBarTitle({title:"变更申请单添加"}),this.qianzhengName="设计变更类型"):(uni.setNavigationBarTitle({title:"签证申请单添加"}),this.qianzhengName="签证类型")},onUnload:function(){this.imageList=[],this.countIndex=5},created:function(){n.info("created"),this.GetDropDown(),this.needFormCach&&this.getTemp(this)},updated:function(){},methods:{input:function(n,t,e){this.$refs[n].setValue(t,e)},submitForm:function(t){n.info("submitForm");var e=this;if(""!==this.requisitionName)if(this.requisitionName.length>50)uni.showToast({icon:"none",title:"申请单名称不能多于50字",duration:3e3});else if(""!==this.requisitionDate)if(""!==this.changeType)if(""!==this.requisitionReason)if(this.requisitionReason.length>500)uni.showToast({icon:"none",title:"原因不能超过500字",duration:3e3});else if(""!==this.remark&&this.remark.length>500)uni.showToast({icon:"none",title:"签备注不能超过500字",duration:3e3});else if(this.$util.isEmpty(this.userCode)||this.$util.isEmpty(this.unitCode))uni.showToast({icon:"none",title:"登录人信息丢失,请重新登录再操作",duration:4e3});else{var i=this.$util.getQuery("type")-0,r={requisitionName:this.requisitionName,requisitionDate:this.requisitionDate,changeType:this.changeType,requisitionReason:this.requisitionReason,remark:this.remark,person:this.userCode,unitCode:this.unitCode,projectCode:this.$util.getState(this,"projectCode"),requisitionType:i},a=this.contractList,u=[];if(a.forEach((function(n,t,e){u.push({requisitionCode:"",contractCode:n.contractCode,estimateCash:new s.Decimal(n.estimateCash).toFixed(2)-0})})),n.info("【list】"),n.info(u),u.length<=0)uni.showToast({title:"请添加关联合同",icon:"none",duration:3e3});else{var c={Requisition:r,List:u};(0,o.InsertRequisition)(c).then((function(t){n.info("提交应答"),n.info(t),t?(e.uploadFileToServe(t),uni.navigateTo({url:"/pages/template/requisitionlist/requisitionlist?type="+i})):uni.showToast({title:"添加失败,重新操作",icon:"none",duration:3e3})}))}}else uni.showToast({icon:"none",title:"原因不能为空",duration:3e3});else uni.showToast({icon:"none",title:"签证类型不能为空",duration:3e3});else uni.showToast({icon:"none",title:"申请日期不能为空",duration:3e3});else uni.showToast({icon:"none",title:"请填写申请单名称",duration:3e3})},bindPickerChange:function(t){this.index=t.detail.value,this.changeType=this.array[this.index],n.info(this.changeType)},bindDateChange:function(t){this.date=t.detail.value,this.requisitionDate=this.date,n.info(this.date)},countChange:function(n){this.countIndex=n.detail.value},GetDropDown:function(){var t=this,e=this.$util.getQuery("type")-0;(0,o.GetQianzhengDropDown)(e).then((function(e){n.info(e),e.forEach((function(n,e,i){t.$set(t.array,e,n)})),t.changeType=t.array[0]}))},GetDepartment:function(){var t=this;(0,r.GetUserDepartment)("100340").then((function(e){n.info(e),t.unitCodeName=e}))},openWindow:function(){var t=this;n.info("监听事件外部this"),n.info(this),this.saveTemp(t),uni.$once("fire",(function(e){n.info("监听fire子页面的传值",e),t.contractList=[],e.forEach((function(n,e,i){t.$set(t.contractList,e,n)})),uni.setStorage({key:"contractList",data:t.contractList}),t.getTemp(t),t.needFormCach=!0,n.info("监听子页面的传值结束")})),uni.navigateTo({url:"/pages/template/GetRelationContract/GetRelationContract"})},getTemp:function(n){uni.getStorageSync("requisitionName")&&(n.requisitionName=uni.getStorageSync("requisitionName"),n.requisitionDate=uni.getStorageSync("requisitionDate"),n.requisitionReason=uni.getStorageSync("requisitionReason"),n.changeType=uni.getStorageSync("changeType"),n.remark=uni.getStorageSync("remark"),n.imageList=uni.getStorageSync("imageList"),n.contractList=uni.getStorageSync("contractList"))},saveTemp:function(n){uni.setStorage({key:"requisitionName",data:n.requisitionName}),uni.setStorage({key:"requisitionDate",data:n.requisitionDate}),uni.setStorage({key:"changeType",data:n.changeType}),uni.setStorage({key:"requisitionReason",data:n.requisitionReason}),uni.setStorage({key:"remark",data:n.remark}),uni.setStorage({key:"imageList",data:n.imageList})},delRow:function(t){n.info(t),n.info(this.contractList[t]),this.contractList.splice(t,1)},chooseFile:function(t,e){n.log("上传图片_list:",t),n.log("上传图片_v:",e),this.urlList=t,n.info("urlList",this.urlList)},imgDelete:function(t,e){n.log("删除图片_list:",t),n.log("删除图片_eq:",e),this.urlList=t,n.info("urlList",this.urlList)},limitFileSizeList:function(t){n.info("limitFileSizeList:",t),t&&t.length>0&&uni.showModal({title:"警告",content:t.join()+" 文件大小超过2000KB",showCancel:!1})},limitFileTypeList:function(t,e){n.info("limitFileTypeList:",t),n.info("limitFileTypeList:",e),t&&t.length>0&&uni.showModal({title:"警告",content:t.join()+" 文件类型必须是"+e.join(),showCancel:!1})},uploadFileToServe:function(t){var e=this,i=e.urlList;if(i&&!(i.length<=0))for(var o=0;o<i.length;o++)uni.uploadFile({url:"/api/Common/UploadImage",filePath:i[o],name:"file",formData:{createPerson:e.$store.state.user.userCode,masterCode:t,attachMentType:"RequisitionAttach"},headers:{"Content-Type":"multipart/form-data; boundary = "+(new Date).getTime()},success:function(t){n.log("图片上传:",t.data)}})}}};t.default=a}).call(this,e("5a52")["default"])},f062:function(n,t,e){(function(t){var i;function o(){var n=0,t=plus.ios.import("PHPhotoLibrary"),e=t.authorizationStatus();return n=0===e?null:3==e?1:0,plus.ios.deleteObject(t),n}function r(){var n=0,t=plus.ios.import("AVCaptureDevice"),e=t.authorizationStatusForMediaType("vide");return n=0===e?null:3==e?1:0,plus.ios.deleteObject(t),n}function s(){var n=0,t=plus.ios.import("CLLocationManager"),e=t.locationServicesEnabled(),i=t.authorizationStatus();return n=e?0===i?null:3===i||4===i?1:0:2,plus.ios.deleteObject(t),n}function a(){var n=0,e=plus.ios.import("UIApplication"),i=e.sharedApplication(),o=0;if(i.currentUserNotificationSettings){var r=i.currentUserNotificationSettings();o=r.plusGetAttribute("types"),0==o?(n=0,t.log("推送权限没有开启")):(n=1,t.log("已经开启推送功能!")),plus.ios.deleteObject(r)}else o=i.enabledRemoteNotificationTypes(),0==o?(n=3,t.log("推送权限没有开启!")):(n=4,t.log("已经开启推送功能!"));return plus.ios.deleteObject(i),plus.ios.deleteObject(e),n}function u(){var n=0,t=plus.ios.import("CNContactStore"),e=t.authorizationStatusForEntityType(0);return n=0===e?null:3==e?1:0,plus.ios.deleteObject(t),n}function c(){var n=null,e=plus.ios.import("AVAudioSession"),i=e.sharedInstance(),o=i.recordPermission();return t.log("permissionStatus:"+o),n=1970168948===o?null:1735552628===o?1:0,plus.ios.deleteObject(e),n}function l(){var n=null,e=plus.ios.import("EKEventStore"),i=e.authorizationStatusForEntityType(0);return 3==i?(n=1,t.log("日历权限已经开启")):t.log("日历权限没有开启"),plus.ios.deleteObject(e),n}function f(){var n=null,e=plus.ios.import("EKEventStore"),i=e.authorizationStatusForEntityType(1);return 3==i?(n=1,t.log("备忘录权限已经开启")):t.log("备忘录权限没有开启"),plus.ios.deleteObject(e),n}function d(n){return new Promise((function(t,e){switch(n){case"push":t(a());break;case"location":t(s());break;case"record":t(c());break;case"camera":t(r());break;case"album":t(o());break;case"contact":t(u());break;case"calendar":t(l());break;case"memo":t(f());break;default:t(0);break}}))}function h(n){return new Promise((function(e,i){plus.android.requestPermissions([n],(function(n){for(var i=0,o=0;o<n.granted.length;o++){var r=n.granted[o];t.log("已获取的权限:"+r),i=1}for(o=0;o<n.deniedPresent.length;o++){var s=n.deniedPresent[o];t.log("拒绝本次申请的权限:"+s),i=0}for(o=0;o<n.deniedAlways.length;o++){var a=n.deniedAlways[o];t.log("永久拒绝申请的权限:"+a),i=-1}e(i)}),(function(n){t.log("result error: "+n.message),e({code:n.code,message:n.message})}))}))}function p(){if(m.isIOS){var n=plus.ios.import("UIApplication"),t=n.sharedApplication(),e=plus.ios.import("NSURL"),i=e.URLWithString("app-settings:");t.openURL(i),plus.ios.deleteObject(i),plus.ios.deleteObject(e),plus.ios.deleteObject(t)}else{var o=plus.android.importClass("android.content.Intent"),r=plus.android.importClass("android.provider.Settings"),s=plus.android.importClass("android.net.Uri"),a=plus.android.runtimeMainActivity(),u=new o;u.setAction(r.ACTION_APPLICATION_DETAILS_SETTINGS);var c=s.fromParts("package",a.getPackageName(),null);u.setData(c),a.startActivity(u)}}e("d3b7");var m={get isIOS(){return"boolean"===typeof i?i:i="ios"===uni.getSystemInfoSync().platform},requestIOS:d,requestAndroid:h,gotoAppSetting:p};n.exports=m}).call(this,e("5a52")["default"])},f3bf:function(n,t,e){"use strict";var i;e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return r})),e.d(t,"a",(function(){return i}));var o=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("v-uni-view",{staticClass:"imglistbx"},[n._l(n.showList,(function(t,i){return e("v-uni-view",{key:i,class:["imglistItem",3==n.columnNum?"column3":"column4"],staticStyle:{"justify-content":"center","text-align":"center"}},[".jpg"==n.extensionNames[i]||".gif"==n.extensionNames[i]||".png"==n.extensionNames[i]?e("v-uni-image",{staticClass:"itemImg",attrs:{src:t,mode:"aspectFill"},on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.previewImage(i)}}}):e("i",{staticClass:"fa fa-file-archive-o iconSize",attrs:{"aria-hidden":"true",mode:"aspectFill"}}),e("v-uni-view",{staticClass:"font13"},[n._v(n._s(n.files[i].name))]),n.deleteBtn?e("v-uni-icon",{staticClass:"cancelBtn",attrs:{size:"18",type:"cancel"},on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.deleteImg(i)}}}):n._e()],1)})),n.control&&n.showControl?e("v-uni-view",{class:["imglistItem",3==n.columnNum?"column3":"column4"],on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.uploadImg.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"itemImg uploadControl"},[n._v("+")])],1):n._e(),e("v-uni-view",{staticClass:"clear"})],2)},r=[]},fb2c:function(n,t,e){var i=e("74e8");i("Uint32",(function(n){return function(t,e,i){return n(this,t,e,i)}}))}}]);