(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["placeholder-detail~record-form~record-form-list~record-history~status-log-list~view-code"],{"01c8":function(t,e,i){"use strict";var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.isRecordDetailForAIFill||t.aiAuditInfo.isNeedAIAudit?i("div",{staticClass:"container"},[i("div",{staticClass:"top"},[i("img",{staticClass:"ai-audit-icon",attrs:{src:t.aiAuditIcon}}),i("span",{staticClass:"title"},[t._v(t._s(t.aiAuditTitle))]),i("i",{staticClass:"info-icon clifont",class:t.isRecordDetailForAIFill?"anticon-cli-angle-right":"anticon-about",on:{click:t.showTip}})]),t.aiAuditInfo.aiAuditText?i("span",{staticClass:"text"},[t._v(t._s(t.aiAuditInfo.aiAuditText))]):t._e(),i("Modal",{ref:"modal",attrs:{content:t.scanPara.content,tip:t.scanPara.tip,showCancel:t.scanPara.showCancel,"confirm-name":t.scanPara.confirmName,"cancel-name":t.scanPara.cancelName,"confirm-content":t.scanPara.confirmContent,"cancel-content":t.scanPara.cancelContent,"confirm-style":t.scanPara.confirmStyle}})],1):t._e()},n=[],l=i("9ab4"),s=i("1b40"),a=i("cf19"),c=i("4a75"),r=i("ecb3");const d={content:"仅支持在微信小程序中操作",tip:`请使用微信扫一扫`,showCancel:!1,confirmName:"我知道了",cancelName:"",confirmContent:"",cancelContent:""};let u=class extends s["d"]{constructor(){super(...arguments),this.scanPara=Object(c["a"])({},d),this.aiAuditIcon=a["b"]}get aiAuditInfo(){var t;return this.isRecordDetailForAIFill?{isNeedAIAudit:!0,aiAuditText:""}:Object(a["d"])({imageData:this.imageData,fromRecordDetail:this.isRecordDetail,compData:this.compData,aiAuditFormRuleConfig:null===(t=this.rulesConfig)||void 0===t?void 0:t.ai_audit_form})}showTip(){this.$refs.modal.showModal()}};Object(l["a"])([Object(s["c"])({type:Array,default:()=>[]})],u.prototype,"imageData",void 0),Object(l["a"])([Object(s["c"])({type:Boolean,default:!1})],u.prototype,"isRecordDetail",void 0),Object(l["a"])([Object(s["c"])({type:Object,default:()=>{}})],u.prototype,"compData",void 0),Object(l["a"])([Object(s["c"])({type:Object,default:()=>{}})],u.prototype,"rulesConfig",void 0),Object(l["a"])([Object(s["c"])({type:Boolean,default:!1})],u.prototype,"isRecordDetailForAIFill",void 0),Object(l["a"])([Object(s["c"])({type:String,default:a["a"]})],u.prototype,"aiAuditTitle",void 0),u=Object(l["a"])([Object(s["a"])({components:{Modal:r["a"]}})],u);var p=u,h=p,_=(i("6cad"),i("2877")),f=Object(_["a"])(h,o,n,!1,null,"4448708c",null);e["a"]=f.exports},"027e":function(t,e,i){},"0577":function(t,e,i){},"2b46":function(t,e,i){"use strict";i.d(e,"h",(function(){return r})),i.d(e,"b",(function(){return f})),i.d(e,"f",(function(){return v})),i.d(e,"c",(function(){return E})),i.d(e,"e",(function(){return b})),i.d(e,"a",(function(){return g})),i.d(e,"g",(function(){return O})),i.d(e,"d",(function(){return I}));i("13d5");var o=i("a607"),n=i("08f7"),l=(i("a719"),i("76a4")),s=i("b6f3"),a=(i("dfe4"),i("d197")),c=i("d55e");const r=({isOpenAIImageFill:t,isOpenAIChecklistFill:e,scene:i="ai_img"})=>"ai_fill"===i||t&&e?a["D"].ALL:t?a["D"].NON_CHECK_ITEM:e?a["D"].CHECK_ITEM:void 0,d=({options:t,scene:e=""})=>r({isOpenAIImageFill:Object(c["a"])(t,"ai_image_fill_field"),isOpenAIChecklistFill:Object(c["a"])(t,"ai_checklist_fill"),scene:e||(Object(c["a"])(t,"ai_fill_field")?"ai_fill":"")}),u=({recordInfo:t,scene:e="",filterImage:i=!1})=>{const l={},s={},a={},c={},{groups:r,tpl_groups:u}=t||{};let p,h="";return"recordDetail"===e?(p=u,h="fields"):(p=r,h="components"),Object(o["a"])(p,t=>{Object(o["a"])(null===t||void 0===t?void 0:t[h],t=>{const{tpl_component:r,options:u}=t||{};if("image"===r){const e=d({options:u});e&&(s[null===t||void 0===t?void 0:t.id]=e)}if(!i||"image"===r)if(l[null===t||void 0===t?void 0:t.id]=null===t||void 0===t?void 0:t.title,"checklist"===r){const i="recordDetail"===e?Object(n["a"])(t,"tpl_option.option_checklist_entries"):Object(n["a"])(t,"options.checklist_entries");var p;if(Object(o["a"])(i,t=>{c[null===t||void 0===t?void 0:t.id]={name:null===t||void 0===t?void 0:t.name,value:null===t||void 0===t?void 0:t.value}}),"recordDetail"===e)Object(o["a"])(null===t||void 0===t?void 0:t.value,t=>{a[null===t||void 0===t?void 0:t.option_id]={title:null===t||void 0===t?void 0:t.title,entriesMap:c}});else Object(o["a"])(null===t||void 0===t||null===(p=t.options)||void 0===p?void 0:p.checklist,t=>{a[null===t||void 0===t?void 0:t.id]={title:null===t||void 0===t?void 0:t.value,entriesMap:c}})}else if("matrix"===r){var h,_;const i="recordDetail"===e?null===t||void 0===t||null===(h=t.field_use_options)||void 0===h?void 0:h.item:null===t||void 0===t||null===(_=t.options)||void 0===_?void 0:_.item;Object(o["a"])(i,t=>{l[null===t||void 0===t?void 0:t.id]=null===t||void 0===t?void 0:t.value})}})}),{fillDataFieldTitleMap:l,optionValueMap:a,aiFillImageParseTypeMap:s}},p=(t,e)=>{if(!e)return!1;if(e===a["D"].ALL)return!0;const{tpl_component:i,type:o,target_type:n}=t||{},l="checklist"===i||"checklist"===o||"checklist_option"===n;return l?e===a["D"].CHECK_ITEM:e===a["D"].NON_CHECK_ITEM},h=({rulesConfig:t,compId:e,scene:i="ai_img"})=>{const{ai_image_fill_form:o,ai_auto_form:n}=t||{};let l=[];if("ai_img"===i){const t=Object(c["c"])(o,e);l=(null===t||void 0===t?void 0:t.config_data)||[]}else{var s,a;l=(null===n||void 0===n||null===(s=n.config_list)||void 0===s||null===(a=s[0])||void 0===a?void 0:a.config_data)||[]}return l},_=t=>({isOpenAIImageFill:Object(c["a"])(t,"ai_image_fill_field"),isOpenAIChecklistFill:Object(c["a"])(t,"ai_checklist_fill"),isOpenIntelligentFormFill:Object(c["a"])(t,"ai_fill_field")}),f=({rulesConfig:t,compData:e,openAIFillDetail:i})=>{const{tpl_component:o,type:n,id:l,uuid:a,options:c}=e||{};if("image"!==o&&"image"!==n)return!1;const d=i||_(c),{isOpenAIImageFill:u,isOpenAIChecklistFill:f,isOpenIntelligentFormFill:v}=d||{};if(!u&&!f&&!v)return!1;const E=v?"ai_fill":"ai_img",b=h({rulesConfig:t,compId:l||a,scene:E});if(null===b||void 0===b||!b.length)return!1;const m=r({isOpenAIImageFill:u,isOpenAIChecklistFill:f,scene:E});return Object(s["a"])(b,t=>{var e;const i=(null===t||void 0===t||null===(e=t.ai_component_config)||void 0===e?void 0:e.config_list)||[];return"ai_fill"===E?i.length>0:Object(s["a"])(i,t=>p(t,m))})},v=t=>Object(c["a"])(t,"ai_image_fill_field")||Object(c["a"])(t,"ai_checklist_fill"),E=t=>Object(c["a"])(t,"ai_fill_field"),b=t=>E(t)||v(t),m=t=>{const{expansion_content:e,rules_config:i}=t||{};let o=!1,n=!1;if(e){const{ai_auto_form:t,ai_image_fill_form:i}=e||{};o=1===+(null===t||void 0===t?void 0:t.status),n=1===+(null===i||void 0===i?void 0:i.status)}else{var l;const{ai_auto_form:t,ai_image_fill_form:e}=i||{};o=1===+(null===t||void 0===t?void 0:t.status),n=(null===e||void 0===e||null===(l=e.config_list)||void 0===l?void 0:l.length)>0}return{isOpenIntelligentFormFill:o,isOpenAIParse:n,isOpenAIFill:o||n}},g=({recordInfo:t,fillDataFieldTitleMap:e,aiFillImageParseTypeMap:i,returnChecklistImageIdMap:n=!1,isOpenAIFill:l,isOpenIntelligentFormFill:s})=>{const{rules_config:a}=t||{},{ai_image_fill_form:c,ai_auto_form:r}=a||{},d=void 0===l||void 0===s,h=d?m(t):{},_=null!==l&&void 0!==l?l:h.isOpenAIFill,f=null!==s&&void 0!==s?s:h.isOpenIntelligentFormFill,v={},E={},b={};if(!_)return v;e&&i||({fillDataFieldTitleMap:e,aiFillImageParseTypeMap:i}=u({recordInfo:t,filterImage:!0})||{});let g=[];f&&(g=(null===r||void 0===r?void 0:r.config_list)||[]);const{config_list:C=[]}=c||{},O=[...g,...C];return Object(o["a"])(O,t=>{var l,s;const{image_fill_config:a,config_data:c}=t||{},r=null===a||void 0===a?void 0:a.field_id,d=(null===(l=e)||void 0===l?void 0:l[r])||"图片",u=null===(s=i)||void 0===s?void 0:s[r];Object(o["a"])(c,t=>{var e;const i=(null===t||void 0===t||null===(e=t.ai_component_config)||void 0===e?void 0:e.config_list)||[];Object(o["a"])(i,t=>{const{field_id:e,target_type:i,option_id:o}=t||{},l="checklist_option"===i,s="matrix_option"===i,a=p(t,u);if(a)if(v[e]||(v[e]=l?{}:""),l)v[e][o]=v[e][o]?"图片":d,n&&(E[e]||(E[e]={}),E[e][o]=r);else if(s){const{isOccupied:t,imageId:i}=b[e]||{},o=t||i&&i!==r;b[e]={isOccupied:o,imageId:r},v[e]=o?"图片":d}else v[e]=v[e]?"图片":d})})}),n?{aiFillCompMap:v,checklistImageIdMap:E}:v},C=["checklist","group"],O=({aiFillCompMap:t,comp:e})=>{const{type:i,tpl_component:o,id:n,uuid:s}=e||{},a=i||o,c=n||s,r=null===t||void 0===t?void 0:t[c];if(!r||Object(l["a"])(C,a))return"";switch(a){case"radio":case"checkbox":return`AI会根据${r}自动勾选`;default:return`AI会根据${r}自动填充`}},R=t=>{const{ai_auto_form:e,ai_image_fill_form:i}=t||{};return+((null===e||void 0===e?void 0:e.check_item_fill_mode)||(null===i||void 0===i?void 0:i.check_item_fill_mode))},I=({type:t="checklist",compId:e,rulesConfig:i,aiFillCompMap:o})=>{if("checklist"===t&&1!==R(i))return null===o||void 0===o?void 0:o[e]}},"2bdb":function(t,e,i){},"40fe":function(t,e,i){"use strict";var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:"ql-snow "+(t.hasExpand?"hasExpand":"")+" "+(t.isExpand?"isExpand":""),style:t.style},[i("div",{ref:"d_wrapper",staticClass:"d_wrapper richContent",style:t.hasExpand&&!t.isExpand?"max-height: "+this.$$u(t.maxH):""},[i("text-module",{attrs:{data:t.item,parsePhone:!0}})],1),t.hasExpand?[i("div",{staticClass:"action",class:"font-size-16-"+t.currentFontSize,on:{click:t.handleExpand}},[t._v(" "+t._s(t.isExpand?"收起":"展开")+" ")])]:t._e()],2)},n=[],l=i("9ab4"),s=i("1b40"),a=i("9f69");const c=240;let r=class extends s["d"]{constructor(){super(...arguments),this.hasExpand=!1,this.isExpand=!1,this.hasSetFold=!1,this.style="",this.maxH=0}created(){this.hasSetFold=1===parseInt(this.$$getValue(this,"compData.options.fold.0.value","0"),10);const t=+this.$$getValue(this.compData,"options.fold_height.0.value"),e=this.$$getValue(this.compData,"options.style.0.value"),i=this.$$getValue(this,"compData.description","");this.item={attribute_list:[{content_html:{value:i}}]},this.style=e,this.maxH=t||c,this.autoGetHeight()}autoGetHeight(){if(!this.hasSetFold)return;let t=0;const{maxH:e}=this,i=()=>{setTimeout(()=>{t+=1;const{height:o}=window.getComputedStyle(this.$refs.d_wrapper),n=o.replace(/px/,"");+ne},50)};i()}handleExpand(){this.$$appStore.h5QueryString.frompc&&(this.isExpand=!this.isExpand)}};Object(l["a"])([Object(s["c"])({type:Object,default:()=>{}})],r.prototype,"compData",void 0),Object(l["a"])([Object(s["c"])({type:Object,default:()=>{}})],r.prototype,"item",void 0),Object(l["a"])([Object(s["c"])({type:String,default:"1"})],r.prototype,"currentFontSize",void 0),r=Object(l["a"])([Object(s["a"])({components:{TextModule:a["a"]}})],r);var d=r,u=d,p=(i("4198"),i("ba77"),i("2877")),h=Object(p["a"])(u,o,n,!1,null,"2c13b63d",null);e["a"]=h.exports},4198:function(t,e,i){"use strict";i("027e")},"448a":function(t,e,i){"use strict";var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.visible?i("div",{staticClass:"wrapper"},[i("transition",{attrs:{name:"fade"}},[t.show?i("div",{staticClass:"mask",on:{click:t.maskClick}}):t._e()]),i("transition",{attrs:{name:"slide-fade"},on:{"after-leave":t.afterLeave}},[t.show?i("div",{staticClass:"container"},[i("div",{staticClass:"content"},[i("div",{staticClass:"title"},[t._v(" "+t._s(t.phoneText)+" 可能是一个电话号码,你可以 ")]),i("a",{staticClass:"item",staticStyle:{"text-decoration":"none"},attrs:{href:"tel:"+t.phoneText},on:{click:t.onCall}},[t._v(" 呼叫 ")]),i("div",{staticClass:"item",on:{click:t.onCopy}},[t._v(" 复制号码 ")]),i("div",{staticClass:"item",on:{click:t.linkAddPhoneContact}},[t._v("添加到手机通讯录")])]),i("div",{staticClass:"cancel",on:{click:t.cancel}},[t._v(" 取消 ")])]):t._e()])],1):t._e()},n=[],l=i("9ab4"),s=i("1b40");let a=class extends s["d"]{constructor(){super(...arguments),this.visible=!1,this.show=!1,this.phoneText=""}onVisibleChange(t){t?this.$emit("onShow"):this.$emit("onHide")}linkAddPhoneContact(){this.show=!1}cancel(){this.show=!1}maskClick(){this.show=!1}onCall(){this.show=!1}afterLeave(){this.visible=!1,this.phoneText=""}onCopy(){this.show=!1,this.$$setClipboardData({data:this.phoneText})}open(t){this.phoneText=t,this.visible=!0,this.$nextTick(()=>{this.show=!0})}};Object(l["a"])([Object(s["e"])("visible")],a.prototype,"onVisibleChange",null),a=Object(l["a"])([s["a"]],a);var c=a,r=c,d=(i("8309"),i("2877")),u=Object(d["a"])(r,o,n,!1,null,"009587ea",null);e["a"]=u.exports},"4bd9":function(t,e,i){},"5f94":function(t,e,i){},"6cad":function(t,e,i){"use strict";i("0577")},"74b8":function(t,e,i){"use strict";i("5f94")},"74bf":function(t,e,i){"use strict";i("2bdb")},8309:function(t,e,i){"use strict";i("4bd9")},9097:function(t,e,i){},"93cc":function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var o=i("dfe4");const n=t=>t.replace(/([A-Z])/g,"-$1").toLowerCase(),l=t=>Object(o["a"])(Object.entries(t),([t,e])=>`${n(t)}: ${e}`).join("; "),s=({item:t,showBgColor:e=!1,showBorderColor:i=!1,isBold:o=!0,pd:n=0,returnStr:s=!1})=>{var a;const c=(null===t||void 0===t||null===(a=t.field_style)||void 0===a?void 0:a.font_color)||(null===t||void 0===t?void 0:t.color);if(!c)return{};const r={};if(r.color=c,o&&(r.fontWeight="bold"),e&&(r.backgroundColor=c+"1a",n&&(r.borderRadius="4px",r.padding=n+"px")),i){const e=null===t||void 0===t?void 0:t.selected;r.borderColor=e?c:"transparent"}return s?l(r):r}},"9f69":function(t,e,i){"use strict";var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:"__code-text-component-content "+(t.isHeaderRichText?"isHeaderRichText":""),on:{click:t.handleClick}},[i("div",{class:"x-html "+(t.isDarkBgColor?"is-dark-bg-color":"")+" "+(t.isColorExtend?"is-color-extend":""),domProps:{innerHTML:t._s(t.html)}}),i("LikePhone",{ref:"likePhone"}),i("Modal",{ref:"wechatWorkBenchTipModal",attrs:{content:"该链接内容仅支持在微信中打开",tip:"请使用微信扫一扫",showCancel:!1,"confirm-name":"我知道了"}}),t.isH5?i("preview",{ref:"preview",attrs:{imageArr:t.previewImageArr}}):t._e()],1)},n=[],l=(i("caad"),i("9ab4")),s=i("1b40"),a=i("005c"),c=i("4a75"),r=i("131c"),d=i("07f0"),u=i("d197");const p=t=>t.replace(/<(\w+)>\s*<\/\1>/g,""),h=new RegExp([""","&","'","<",">","`"].join("|"),"gi"),_=t=>t.replace(h,""),f=t=>t.replace(/\s+/g,"").replace(/ /g,""),v=t=>t.replace(/
/g,"");function E(t,e){let i=0,o="",n=!1,l=!1,s=!1,a=-1,c=-1;for(let u=0;u"===r?n=!1:"&"!==r||n?";"===r&&l?l=!1:n||l||(d=!0,i++):l=!0,d&&s||(o+=r),d&&(1===i&&(c=u),s||(a=u)),i>e&&!s&&(s=!0)}let[r,d]=[o.substring(0,a),o.substring(a)];return d=v(d),d=f(d),d=_(d),d=p(d),o=r+d,{isTextOverflow:s,truncatedHTML:s?o:t,lastTextIndex:a,firstTextIndex:c}}var b=E;function m(t,e,i){const o=t.split("");return o.splice(e,0,i),o.join("")}var g=m;function C(t,e=0){let i=t.lastIndexOf("
"),o=t.indexOf("",e);-1===i&&(i=1/0),-1===o&&(o=1/0);const n=Math.min(i,o);return n===1/0?-1:n}var O=C,R=i("6022"),I=i("6f26"),T=i("2173"),A=i("448a"),j=i("1157"),w=i.n(j),L=i("ecb3"),y=i("3c61");const M=["margin","padding","marginLeft","marginRight","marginBottom","marginTop","paddingLeft","paddingRight","paddingBottom","width","minWidth","maxWidth","height","maxHeight","minHeight","fontSize","lineHeight","borderLeftWidth","borderTopWidth","borderBottomWidth","borderRightWidth","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","left","top","right","bottom"],S=t=>{try{const e=[...t.childNodes],i=[];while(e.length){const t=e.shift();t.nodeType===t.TEXT_NODE?t.wholeText&&i.push(t):e.unshift(...t.childNodes)}return i}catch(e){return console.error(e),[]}};function x(t){return"string"===typeof t&&(t=t.replace(/^\s*|\s*$/g,""),u["E"].test(t)||/^\d{2,6}-\d{3,16}$/.test(t))}function N(t,e){const{isDisableTableLink:i,parsePhone:o,parsePhoneInRichText:n}=e,l=document.createElement("div"),s=(t,e)=>{const i=t.style[e].split(" ");t.style[e]=i.map(t=>/(px|pt)/g.test(t)?1===parseInt(t,10)?"1px":"px"===Object(c["l"])(t)?Object(c["N"])(t)+"rem":Object(c["N"])(Object(c["M"])(t))+"rem":t).join(" ")},d=t=>{const e=t.getAttribute("style");if(e){const i=e.match(/url\(['"]?(.*?)['"]?\)/);if(i&&i.length&&!Object(r["E"])(i[1],"x-oss-process")){let e=i[1];Object(r["E"])(i[1],""")&&(e=i[1].replace(/"/g,'"')),t.setAttribute("style",t.getAttribute("style").replace(e,`${e}${Object(r["E"])(e,"?")?"&":"?"}x-oss-process=image/resize,w_750/format,gif/sharpen,100/quality,Q_80/interlace,1/auto-orient,1/`))}}};l.innerHTML=t;let p=[];Object(a["b"])("*",l).forEach(t=>{var e;M.forEach(e=>{t.style[e]&&s(t,e)}),d(t);const l=t.tagName.toLowerCase(),a=!i&&"table"===l,c=Object(r["E"])(["title-tpl100","title-tpl110"],null===t||void 0===t||null===(e=t.dataset)||void 0===e?void 0:e.key),u="p"===l&&n&&!t.closest("table")&&!t.closest("section")&&!o;(a||"section"===l&&t.className.indexOf("stylelib-wrapper")>-1&&!c||"p"===l&&o||u)&&(p=p.concat(S(t)))});const h=t=>/\d/.test(t),_=t=>{const e=new RegExp(u["E"],"g"),i=[" "," "," "," ","\\s"].join("|"),o=new RegExp(`^(${i})*|(${i})*$`,"gi");t=t.replace(o,"");const n=document.createElement("span");function l(t){const e=document.createElement("a");return e.setAttribute("href","tel:"+t),e.setAttribute("isLikePhone","1"),e.setAttribute("likePhoneText",t),e.innerText=t,e}if(/^\d{2,6}-\d{3,16}$/.test(t)){const e=l(t);return n.appendChild(e),n}let s,a=0;const c=t.length;function r(t){const e=document.createElement("span");e.innerText=t,n.appendChild(e)}while(null!==(s=e.exec(t))){const i=s.index,o=e.lastIndex;if(i>a&&r(t.slice(a,i)),i-1>=0&&h(t[i-1])||o{const e=t.textContent;if(x(e)){var i;if(w()(t).closest("a").length)return;const o=_(e);null===t||void 0===t||null===(i=t.parentNode)||void 0===i||i.replaceChild(o,t)}}),l.innerHTML.replace(/\u00a0/gi," ").replace(/\u2002/gi," ").replace(/\u2003/gi," ").replace(/\u3000/gi," ")}const{domain:k}=y["a"];let D=class extends s["d"]{constructor(){super(...arguments),this.html="",this.foldHTML="",this.unfoldHTML="",this.hasFoldFeature=!1,this.isFold=!1,this.isEnableToMina=!1,this.previewImageArr=[],this.scrollStorageKey=""}isDisableTableLink(){const t=Object(r["B"])(this.codeData,"qrcode_record.create_time",0),e="online"===Object(d["b"])()?u["O"]:u["P"];return t>e}init(){var t,e,i;const o=null===(t=this.data)||void 0===t||null===(e=t.attribute_list)||void 0===e||null===(i=e[0])||void 0===i?void 0:i.content_html;if(!o)return;let n=o.value;if(this.isWechat)this.html=n;else if(this.isH5){try{const t=(n||"").replace(//gi,""),e=w()("");e.html(t);const i=w()(e.children().get(0));0===(i.attr("data-key")||"").indexOf("navigator-")&&(e.find(".placeholder-edit-nav").each((t,e)=>{const i=w()(e);if("none"===i.css("display")){const t=i.parents("a-link");t.length&&i.remove()}}),n=e.html().replace(//gi,""))}catch(l){console.error(l)}this.initTextFold(n);const t=Object(r["B"])(this.codeData,"qrcode_record.id","");this.scrollStorageKey="nav-scroll-top-"+t,n=this.hasFoldFeature?this.unfoldHTML:N(n,{isDisableTableLink:this.isDisableTableLink(),parsePhone:this.parsePhone,parsePhoneInRichText:this.parsePhoneInRichText}),this.html=n;try{const t=window.sessionStorage.getItem(this.scrollStorageKey);t&&this.$nextTick(()=>{window.scroll(0,parseInt(t,10))}),window.sessionStorage.removeItem(this.scrollStorageKey)}catch(l){console.error(l)}}this.isEnableToMina=Object(a["r"])()}onIsFoldChange(t){this.html=t?this.foldHTML:this.unfoldHTML}initTextFold(t){const e=this.data.id,i=/data-is-fold="true"/.test(t);if(!i)return;let{isTextOverflow:o,truncatedHTML:n,lastTextIndex:l}=b(t,50);if(!o)return;const s=` ... 展开`;let a=g(n,O(n,l),s);a=N(a,{isDisableTableLink:this.isDisableTableLink(),parsePhone:this.parsePhone,parsePhoneInRichText:this.parsePhoneInRichText});const c=` 收起`;let r=g(t,O(t,l),c);r=N(r,{isDisableTableLink:this.isDisableTableLink(),parsePhone:this.parsePhone,parsePhoneInRichText:this.parsePhoneInRichText}),this.hasFoldFeature=!0,this.isFold=!0,this.unfoldHTML=r,this.foldHTML=a}created(){}toggleFold(){this.hasFoldFeature&&(this.isFold=!this.isFold)}mounted(){this.init()}refreshData(){this.$$appStore.codePreviewCompCanFresh&&this.init()}goHistory(){this.$$appStore.h5QueryString.frompc?this.$$go("/pages/record-history/main",{isPaidUser:this.isPaidUser}):this.showTip("recordCheck","recordCheck")}showTip(t,e){this.$emit("showTip",t,e)}gotoRecord(t){const{log_msg:e}=this.codeData,i=this.$$getValue(e,"data_list",[]);let o={};Object(c["j"])(i,e=>{e.tpl_id===+t&&(o=e)}),this.$$appStore.h5QueryString.frompc?o.id?this.$$go("/pages/record-form/main",{org_id:o.org_id,tpl_id:o.tpl_id,token:encodeURIComponent(JSON.stringify(o.record_tpl_token||{}))}):this.$$go("/pages/record-form/main",{noTpl:!0}):this.showTip("",+t)}redirectCode(t,e,i){if(!t)return;const o=this.$$getValue(this.$$appStore,"h5QueryString.frompc",0),n=this.$$getValue(this.$$appStore,"h5QueryString.withscroll",""),l=this.$$getValue(this.$$appStore,"h5QueryString.istplpreview",""),s=100,a=o?Object(c["a"])({frompc:1,msg:1,noimgprev:1,nomapjump:1,nocompjump:1,noScanCount:1,noscroll:1,...n?{withscroll:1}:{},...l?{istplpreview:1}:{},_time:Date.now(),bodypb:8,bodypt:s,noRecordList:1},null===i||void 0===i?void 0:i.mixinParams):Object(c["a"])({},null===i||void 0===i?void 0:i.mixinParams);if("summary"===this.dataType&&"batch_qrcode"===e||1===+e)window.location.href="/recent-batch-code?qrcode_route="+t;else if(6===+e||5===+e||17===+e)this.isH5?/weixin:\/\//.test(t)?window.location.href=t:window.open(t):this.openRedirectUrl(t);else if(7===+e)this.$emit("showTip","listToMina",parseInt(t,10));else if(8===+e)this.$emit("showTip","recordCheck","recordCheck");else if(2===+e){const e=t.split("|");window.location.href=`/recent-batch-code?qrcode_route=${e[3]}&batch_id=${e[1]}&batchIdx=${e[4]}`}else if(10===+e){if(Object(r["A"])("linkType",t)===u["C"].SHORT_LINK)return void(this.isEnableToMina?this.$emit("showTip","toOtherMinaByShortLink","toOtherMinaByShortLink",{shortLink:encodeURIComponent(t.slice(0,t.indexOf("?")))}):this.$emit("showTip","otherMinaNotWx"));const e=t.split("|");if(!e[1])return void this.$$toast("小程序跳转失败,请联系二维码制作者设置小程序原始ID",5e3,!1,"65%");this.isEnableToMina?this.$emit("showToOtherMinaTip","是否跳转至小程序",e[1],Object(c["t"])(e[2])):this.$emit("showTip","otherMinaNotWx")}else 19===+e?this.$emit("showTip","H5NotSupport","H5NotSupport",{title:"视频号仅支持在微信小程序中查看"}):window.location.href=`/?url=${t}&${Object(r["e"])(a)}`}async openRedirectUrl(t){if(this.isH5)return;const e=this.$$getValue(t.split("://"),"1");if(e){const i=new RegExp("^qr[0-9][0-9].cn/[ABCDEF].{5}$").test(e),o=new RegExp("^qr[0-9][0-9].cn/[HIJ].{5}$").test(e);if(i){const e=await R["d"].getQrcodeTypeUrl(t);if(!e)return void this.showModal(t);const{data:i,status:o}=e;if(!i||0===o)return void this.showModal(t);if(this.$$getValue(i,"url"))if("jump"===Object(r["B"])(i,"type"))this.$$go("/webview/pages/webview/webview?q="+encodeURIComponent(this.$$getValue(i,"url")));else{const e=t.substring(t.length-6,t.length);e&&(t="https://c3.cli.im/"+e,this.$$go("/webview/pages/webview/webview?q="+encodeURIComponent(t)))}else this.showModal(t)}else if(o){const e=t.substring(t.length-6,t.length);e&&(t="https://c3.cli.im/"+e,this.$$go("/webview/pages/webview/webview?q="+encodeURIComponent(t)))}else this.showModal(t)}}showModal(t){this.$$showModal({title:"这是一个外部链接",content:"小程序暂不支持打开外部链接,复制链接后在浏览器中粘贴查看",confirmText:"复制链接",confirmColor:"#586C94",success({confirm:e}){e&&wx.setClipboardData({data:t})}})}getALinkList(t){if("A"!==t.tagName&&-1===Object(r["B"])(t,"classList.value","").indexOf("__code-text-component-content")){const e=t.parentNode;return this.getALinkList(e)}return"A"===t.tagName?t:""}linkClickLog(t,e,i){const o=t,n=Object(r["A"])("list_name",o)||"",l=+e;let s=Object(r["B"])(this.codeData,"qrcode_record.id","");s=""+s;const a=Object(r["B"])(this.codeData,"qrcode_record.coding","");if(0===l)R["b"].logClick(148,124e3,n+"-活码",{qrCodeId:s,coding:a});else if(1===l)R["b"].logClick(148,124001,n+"-模板",{qrCodeId:s,coding:a});else if(2===l)R["b"].logClick(148,124002,n+"-批次",{qrCodeId:s,coding:a});else if(3===l)R["b"].logClick(148,124003,n+"-子码",{qrCodeId:s,coding:a});else if(4===l)R["b"].logClick(148,124004,n+"-目录汇总",{qrCodeId:s,coding:a});else if(5===l)R["b"].logClick(148,124005,n+"-旧版活码",{qrCodeId:s,coding:a});else if(6===l)R["b"].logClick(148,124006,n+"-网址",{qrCodeId:s,coding:a});else if(7===l)R["b"].logClick(148,124007,n+"-表单",{qrCodeId:s,coding:a,recordId:i});else if(8===l)R["b"].logClick(148,124008,n+"-记录汇总",{qrCodeId:s,coding:a});else if(9===l){let t=i;t.indexOf("tel:")>-1&&(t=t.replace("tel:","")),R["b"].logClick(148,124009,t+"-电话",{qrCodeId:s,coding:a})}else if(10===l){const t=i,e=t.split("|");R["b"].logClick(148,124010,n+"-其他小程序",{qrCodeId:s,coding:a,appid:e[0],ghid:e[1],path:e[2]})}}previewStyleLibImg(t,e,i){if(!t)return;const o=w()(t).attr("data-stylelib-backgroundimage"),n=t.getAttribute("data-stylelib-table-image");if("navlink:"===e.toLowerCase()&&Object(c["v"])(i,"stylelib-image")&&("default"===o||"image"===o)||"image"===n){const i=w()(t).attr("style"),o=/background-image:\s*url\((.*?)\);/,l=o.exec(i);let s="",a="";if(l&&l[1]&&(s=l[1]),"image"===n&&(s=e),s.startsWith("//"))a="https:"+s;else if(s.startsWith('"//')&&s.endsWith('"')){const t=s.slice(1,-1);a="https:"+t}else a=s.startsWith('"')&&s.endsWith('"')?s.slice(1,-1):s;if(a.includes("?x-oss-process")&&"image"!==n){const t=a.replace(/\?.*$/,"");a=t}this.previewImageArr=[],this.previewImageArr.push(a),setTimeout(()=>{this.$refs.preview.openPreview(parseInt("0",10))},100)}}async toLink(t){let e;if(this.isEnableToMina=Object(a["r"])(),Object(c["j"])(["plat","qrcode_directory","batch_template","form","form_summary","audit","qrcode_analytics","state","task"],i=>{const o=`navLink:${i}?`;t.substr(0,o.length)===o&&(e=i)}),e){const i=Object(r["bb"])(Object(r["i"])(t),!0),{type:o}=i;if(Object(c["v"])(["120","130","140","150"],o)){i.type=o.substr(0,o.length-1);const{codeData:n}=this.$$appStore,l=Object(r["B"])(n,"org_msg.id",""),s=Object(r["B"])(n,"org_msg.build_module_weburl_time",""),a=Object(r["B"])(n,"org_msg.build_module_weburl_publickey","");this.$$toast("加载中...");let c=await Object(T["c"])(k.decodeUrl+"/api/qrcode/buildModuleWebUrl",{module_type:e,wx_urlscheme:1,org_id:l,build_module_weburl_time:s,build_module_weburl_publickey:a});const d=Object(r["B"])(c,"data.wx_url_scheme.fetchUrl");d&&(t=`navLink:${e}||${d}?${encodeURIComponent(Object(r["U"])(i,!0))}`)}}if(Object(c["f"])("final link",t),t=decodeURIComponent(t),"navlink:"!==t.toLowerCase())if("navLink:"===t.slice(0,8)||"navlink:"===t.slice(0,8)){const e={};let i=t.substr("navLink:".length);const o=Object(r["s"])("type",i);if(!o||Object(c["A"])(+o))return void this.$emit("showTip","errorLink");if(Object(c["v"])([6,10,17],+o)){const t=Object(r["w"])(i),e=Object(r["j"])(t,2);i=i.slice(0,i.indexOf("?")),Object(c["x"])(e)&&e.length>0&&(i=`${i}?${e.join("&")}`)}else{if(Object(c["v"])([12,13,14,15],+o)){const t=Object(r["w"])(i),e=Object(r["j"])(t,2);i=i.slice(0,i.indexOf("?")),Object(c["x"])(e)&&e.length>0&&(i=`${i}?${e.join("&")}`);const o=i.split("|");let n="";if(o&&o[2]){const t=o[2];n=t}if(n)if(this.isEnableToMina||Object(a["p"])()){const t=await Object(T["a"])(n),e=Object(r["B"])(t,"data.urlScheme","");w()("").attr("href",e)[0].click()}else this.$refs.wechatWorkBenchTipModal.showModal();else this.$refs.wechatWorkBenchTipModal.showModal();return}if(Object(c["v"])([4],+o))i=Object(r["f"])(i),i=i.slice(0,i.indexOf("?"));else if(Object(c["v"])([16],+o)){i=i.slice(0,i.indexOf("?"));const o=Object(r["A"])("package_id",t);o&&Object(c["a"])(e,{package_id:o})}else i=i.slice(0,i.indexOf("?"))}this.redirectCode(i,o,{mixinParams:e}),this.linkClickLog(t.substr("navLink:".length),o,i)}else if("tel:"===t.slice(0,4)){let e=t;const i=t.substr("tel:".length);e.indexOf("?")>-1&&(e=e.slice(0,e.indexOf("?")),this.linkClickLog(i,9,e)),window.open(e)}else if("navMap:"===t.slice(0,7)||"navmap:"===t.slice(0,7)){const e=t.substr("navMap:".length);let i=0,o=0;if(Object(c["j"])(e.split("&"),t=>{const e=t.split("=");"lat"===e[0]?i=parseFloat(e[1]):"log"===e[0]&&(o=parseFloat(e[1]))}),Number.isNaN(i)||Number.isNaN(o))return;this.$$showLocation({latitude:i,longitude:o})}else/weixin:\/\//.test(t)?window.location.href=t:window.open(t)}handleClick(t){const e=[this.openUrl.bind(this),this.toggleFold.bind(this)];try{for(const i of e)if(i(t),!t.bubbles||t.cancelBubble)break}catch(i){console.error(i)}}async openUrl(t){const{target:{dataset:{tag:e,src:i}}}=t,{target:o}=t;if(this.isH5){try{let e=t.target;if(e.classList.contains("stylelib-list-text-fold-wrap")||e.closest(".stylelib-list-text-fold-wrap")){const t=w()(e).closest(".stylelib-list-item").find(".stylelib-list-text-fold-content");t.css("display","none"===t.css("display")?"block":"none");const i=w()(e).closest(".stylelib-list-item").find("span"),o="block"===t.css("display");i.css("transform",o?"scaleX(1.8) translateY(-1px) rotate(270deg)":"scaleX(1.8) translateY(-1px) rotate(90deg)")}}catch(n){console.error(n)}try{window.sessionStorage.setItem(this.scrollStorageKey,""+window.scrollY)}catch(n){console.error(n)}const e="1"===o.getAttribute("isLikePhone");if(e)return t.stopPropagation(),t.preventDefault(),void this.$refs.likePhone.open(o.getAttribute("likePhoneText"));const i="URLScheme"===o.getAttribute("data-type"),l=o.getAttribute("data-urlscheme-fetch"),s=o.getAttribute("data-urlscheme-jump");if(i&&l&&s){if(t.stopPropagation(),t.preventDefault(),this.isEnableToMina||Object(a["p"])()){const t=await Object(T["a"])(l),e=Object(r["B"])(t,"data.urlScheme","");window.location.href=e}else window.location.href=s;return}const d=this.getALinkList(o);if(d&&"A"===d.tagName){const e=d;t.preventDefault(),t.stopPropagation();let i=w()(e).attr("href");const o=w()(e).attr("class");let n=w()(e).find("[data-stylelib-backgroundimage]"),l=w()(e).find("[data-stylelib-backgroundimage]").get(n.length-1);this.previewStyleLibImg(l,i,o),Object(c["f"])("original link",i),await this.toLink(i)}else if(o.getAttribute("data-stylelib-table-image")){const t=o.getAttribute("data-cke-saved-src");this.previewStyleLibImg(o,t,["stylelib-image"])}else d||t.preventDefault()}else if("a"===e){const t=["pro.cli.im","cli.im","biz.cli.im","view2.doc.nears.cn","onlineview.doc.nears.cn","c3.cli.im","targurl2.clewm.net","targurl.clewm.net"].map(t=>t.replace(/\./g,"\\.")),e=new RegExp("^tel:.+$"),o=new RegExp(`^https://(${t.join("|")})(/.*)?$`);if(e.test(i))return void this.$$makePhoneCall({phoneNumber:i.substr("tel:".length)});if(o.test(i))return void this.$$go("/webview/pages/webview/webview?q="+encodeURIComponent(i));this.$$showModal({title:"这是一个外部链接",content:"小程序暂不支持打开外部链接,复制链接后在浏览器中粘贴查看",confirmText:"复制链接",confirmColor:"#586C94",success({confirm:t}){t&&wx.setClipboardData({data:i})}})}}};Object(l["a"])([Object(s["c"])({type:Object,default:()=>({})})],D.prototype,"data",void 0),Object(l["a"])([Object(s["c"])({type:Object,default:()=>({})})],D.prototype,"codeData",void 0),Object(l["a"])([Object(s["c"])({type:Number,default:()=>1})],D.prototype,"isPaidUser",void 0),Object(l["a"])([Object(s["c"])({type:String,default:"qrcode"})],D.prototype,"dataType",void 0),Object(l["a"])([Object(s["c"])({type:Boolean,default:!1})],D.prototype,"isDarkBgColor",void 0),Object(l["a"])([Object(s["c"])({type:Boolean,default:!1})],D.prototype,"isColorExtend",void 0),Object(l["a"])([Object(s["c"])({type:Boolean,default:!1})],D.prototype,"parsePhone",void 0),Object(l["a"])([Object(s["c"])({type:Boolean,default:!1})],D.prototype,"isHeaderRichText",void 0),Object(l["a"])([Object(s["c"])({type:Boolean,default:!1})],D.prototype,"parsePhoneInRichText",void 0),Object(l["a"])([Object(s["e"])("isFold")],D.prototype,"onIsFoldChange",null),Object(l["a"])([Object(s["e"])("data")],D.prototype,"refreshData",null),D=Object(l["a"])([Object(s["a"])({components:{LikePhone:A["a"],Preview:I["a"],Modal:L["a"]}})],D);var $=D,P=$,B=(i("74bf"),i("2877")),F=Object(B["a"])(P,o,n,!1,null,null,null);e["a"]=F.exports},ba77:function(t,e,i){"use strict";i("9097")},cf19:function(t,e,i){"use strict";i.d(e,"a",(function(){return l})),i.d(e,"b",(function(){return s})),i.d(e,"c",(function(){return _})),i.d(e,"d",(function(){return f}));var o=i("d55e");const n={SUCCESS:1,REJECTED:2,FAILED:3},l="AI图片校验已开启",s="https://gstatic.clewm.net/caoliao-resource/260120/85d5a2_310da0cd.png",a=t=>{var e,i;return 1===+(null===t||void 0===t||null===(e=t.ai_audit)||void 0===e||null===(i=e[0])||void 0===i?void 0:i.value)},c=t=>{const{no_pass_processor:e,title:i,ai_prompt:o}=(null===t||void 0===t?void 0:t.ai_audit)||{},{allow_upload:n,close_notify:l}=e||{};return{isUploadProhibited:1===+n,closeNotify:1===+l,auditTitle:i,auditPrompt:o}},r=t=>t?"图片要求:"+t:"",d=t=>{const{compData:e,aiAuditFormRuleConfig:i}=t||{},n=a(null===e||void 0===e?void 0:e.options);if(!n)return{isNeedAIAudit:!1};const l=Object(o["b"])(i,null===e||void 0===e?void 0:e.id),s=c(l),{auditTitle:d}=s;return{isNeedAIAudit:n,...s,aiAuditText:r(d)}},u={AUDITING:1,PARSING:2},p={[u.AUDITING]:"AI校验中...",[u.PARSING]:"AI解析中..."},h={[n.SUCCESS]:{manual:"人工审核通过",ai:"AI校验通过",common:"通过"},[n.REJECTED]:{manual:"人工审核不通过",ai:"AI校验不通过",common:"不通过"},[n.FAILED]:{manual:"人工审核失败",ai:"AI校验失败",common:"失败"}},_=({imageItem:t,isNeedAIAudit:e})=>{var i,o,l;const{from_ai_fill_scene:s=!1,ai_audit_result:a,ai_audit_step:c}=t||{},{audit_status:r,reason:d,fix_audit_status:_,fix_audit_remark:f,title:v}=a||{},E=_||r;if(!e&&!E&&!s)return{};if(null!==t&&void 0!==t&&t.uploading)return{text:p[c||u.AUDITING]};const b=null===(i=h[r])||void 0===i?void 0:i.ai,m=null===(o=h[_])||void 0===o?void 0:o.manual;let g=b;+E!==n.SUCCESS&&v&&(g+=":要求上传"+v),d&&(g+=g===b?":"+d:","+d);const C=f?`${m}:${f}`:"",O=g&&!g.endsWith("。")?"。":"",R=g+O+C;let I="cli-close-o",T=!0;if(E)switch(+E){case n.REJECTED:case n.FAILED:I="cli-close-o",T=!0;break;case n.SUCCESS:I="cli-check-o",T=!1;break;default:break}return{text:m||b,icon:I,isError:T,reason:R,aiReason:g,manualReason:C,commonText:null===(l=h[E])||void 0===l?void 0:l.common}},f=({imageData:t,fromRecordDetail:e=!1,compData:i={},aiAuditFormRuleConfig:o={}})=>{const n={isNeedAIAudit:!1,aiAuditText:""},l=(null===t||void 0===t?void 0:t.length)||0;if(e){const e=null===t||void 0===t?void 0:t[l-1],i=null===e||void 0===e?void 0:e.ai_audit_result;if(!i)return n;const{title:o,requirement_config:s}=i||{},{title:a,content_text:c}=(null===s||void 0===s?void 0:s.must_include)||{},d=a||c;return{isNeedAIAudit:!0,aiAuditText:r(o||d||"请拍摄图片")}}const{isNeedAIAudit:s,aiAuditText:a}=d({compData:i,aiAuditFormRuleConfig:o});return{isNeedAIAudit:s,aiAuditText:a}}},cfe1:function(t,e,i){"use strict";i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return l})),i.d(e,"b",(function(){return a}));var o=i("131c");function n(t,e){var i,o,n,l,s,a,c,r,d;const u="number"===(null===t||void 0===t?void 0:t.type)||"number"===(null===t||void 0===t?void 0:t.tpl_component);if(!u)return!1;const p=""+(null!==(i=null!==(o=null!==(n=null===t||void 0===t?void 0:t.id)&&void 0!==n?n:null===t||void 0===t?void 0:t.uuid)&&void 0!==o?o:null===t||void 0===t?void 0:t._id)&&void 0!==i?i:""),h=null!==(l=null!==(s=null===e||void 0===e?void 0:e[p])&&void 0!==s?s:null!=(null===t||void 0===t?void 0:t.id)?null===e||void 0===e?void 0:e[String(t.id)]:void 0)&&void 0!==l?l:null!==t&&void 0!==t&&t.uuid?null===e||void 0===e?void 0:e[t.uuid]:void 0;if(h&&(null!==(a=h.calculationType)&&void 0!==a?a:h.result_type))return!0;const _=null===t||void 0===t||null===(c=t.options)||void 0===c||null===(r=c.open_formula)||void 0===r||null===(d=r[0])||void 0===d?void 0:d.value;if(!_)return!1;if("1"===_||1===_)return!0;try{var f;const t="string"===typeof _?JSON.parse(_):_;return!(!t||!(null!==(f=t.calculationType)&&void 0!==f?f:t.result_type))}catch{return!1}}function l(t,e){var i,n;if(null===e||void 0===e||!e.enabled||null===e||void 0===e||null===(i=e.colors)||void 0===i||!i.length)return;const l=e.breaks||[],s=e.colors||[],a=Number(t);if(Object(o["J"])(a))return s[0];const c=Object(o["n"])(l,t=>a=0?s[c]:null!==(n=s[l.length])&&void 0!==n?n:s[s.length-1]}function s(t){if(null===t||void 0===t||!t.length)return null;for(let l=0;lString(t.id)===String(d)),e=(null===t||void 0===t||null===(p=t.field_style)||void 0===p||null===(h=p.font_color)||void 0===h?void 0:h.trim())||"";return e}if("number"===c){var _,f,v,E,b,m;const i=null===a||void 0===a||null===(_=a.field_style)||void 0===_||null===(f=_.font_color)||void 0===f?void 0:f.trim();if(i)return i;const o=null===a||void 0===a?void 0:a.record_result_field_id,n=null!==(v=null!==(E=null===a||void 0===a?void 0:a.record_result_value_txt)&&void 0!==E?E:null===t||void 0===t?void 0:t.log_result)&&void 0!==v?v:"",s=o?null===e||void 0===e||null===(b=e.field_style_config)||void 0===b||null===(m=b.font_color)||void 0===m?void 0:m[String(o)]:void 0;return l(n,s)||""}}const g=s(null===t||void 0===t?void 0:t.tpl_groups);if(!g)return"";const{id:C,type:O,value:R,options:I}=g,T=null!==(n=null!==R&&void 0!==R?R:null===t||void 0===t?void 0:t.log_result)&&void 0!==n?n:"";if("radio"===O){var A,j,w,L;const t=R,e=(I||[]).find(e=>{var i;return String(null===e||void 0===e?void 0:e.id)===String(t)||String(null===e||void 0===e||null===(i=e.value_v1)||void 0===i?void 0:i.value)===String(t)}),i=(null===e||void 0===e||null===(A=e.field_style)||void 0===A||null===(j=A.font_color)||void 0===j?void 0:j.trim())||(null===e||void 0===e||null===(w=e.field_attribs)||void 0===w||null===(L=w.font_color)||void 0===L?void 0:L.trim())||"";return i}if("number"===O){var y,M;const t=C?null===e||void 0===e||null===(y=e.field_style_config)||void 0===y||null===(M=y.font_color)||void 0===M?void 0:M[String(C)]:void 0;return l(T,t)||""}return""}},d55e:function(t,e,i){"use strict";i.d(e,"c",(function(){return n})),i.d(e,"b",(function(){return l})),i.d(e,"a",(function(){return s}));var o=i("300c");const n=(t,e)=>Object(o["a"])(null===t||void 0===t?void 0:t.config_list,t=>{var i;return(null===t||void 0===t||null===(i=t.image_fill_config)||void 0===i?void 0:i.field_id)===e&&e}),l=(t,e)=>{var i;const o=n(t,e);return(null===o||void 0===o||null===(i=o.config_data)||void 0===i?void 0:i[0])||{}},s=(t,e)=>{var i,o;return 1===+(null===t||void 0===t||null===(i=t[e])||void 0===i||null===(o=i[0])||void 0===o?void 0:o.value)}},e8db:function(t,e,i){"use strict";i.d(e,"d",(function(){return o})),i.d(e,"c",(function(){return l})),i.d(e,"b",(function(){return s})),i.d(e,"a",(function(){return a}));i("13d5");const o={ID_CARD:"ocr_id_card",BANK_CARD:"ocr_bank_card",DRIVING_LICENSE:"ocr_driving_license",VEHICLE_LICENSE:"ocr_vehicle_license",CAR_NUMBER:"ocr_car_number",CAR_VIN:"ocr_car_vin",SPECIAL_OPERATE:"ocr_special_operate",BUSINESS_LICENSE:"ocr_business_license",WAY_BILL:"ocr_way_bill",INVOICE:"ocr_invoice",DIPLOMA_CERT:"ocr_diploma_cert",DEGREE_CERT:"ocr_degree_cert",ELECTRIC_METER:"ocr_electric_meter",DASHBOARD_MILE:"ocr_dashboard_mile",GENERAL_CERT:"ocr_general_cert",WATER_METER:"ocr_water_meter",HYGROTHER_MOGRAP:"ocr_hygrother_mograp",GAS_METER:"ocr_gas_meter",PRESSURE_METER:"ocr_pressure_meter",GENERAL_METER:"ocr_general_meter",DIGITAL_METER:"ocr_digital_meter",MECHANICAL_ROLLER_METER:"ocr_roll_meter",POINTER_METER:"ocr_pointer_meter",LIQUID_COLUMN_METER:"ocr_liquid_column_meter"},n={[o.ID_CARD]:"身份证",[o.BANK_CARD]:"银行卡",[o.DRIVING_LICENSE]:"驾驶证",[o.VEHICLE_LICENSE]:"行驶证",[o.CAR_NUMBER]:"车牌",[o.CAR_VIN]:"车辆vin码",[o.SPECIAL_OPERATE]:"特种作业证",[o.BUSINESS_LICENSE]:"营业执照",[o.WAY_BILL]:"快递面单",[o.INVOICE]:"增值税发票",[o.DIPLOMA_CERT]:"毕业证",[o.DEGREE_CERT]:"学位证",[o.ELECTRIC_METER]:"电表",[o.DASHBOARD_MILE]:"仪表盘里程数",[o.GENERAL_CERT]:"自定义",[o.WATER_METER]:"水表",[o.HYGROTHER_MOGRAP]:"温湿度计",[o.GAS_METER]:"燃气表",[o.PRESSURE_METER]:"压力表",[o.GENERAL_METER]:"自定义仪表读数",[o.DIGITAL_METER]:"电子屏仪表",[o.MECHANICAL_ROLLER_METER]:"机械滚轮仪表",[o.POINTER_METER]:"指针仪表",[o.LIQUID_COLUMN_METER]:"液柱仪表"},l=(o.ID_CARD,o.BANK_CARD,o.DRIVING_LICENSE,o.VEHICLE_LICENSE,o.CAR_NUMBER,o.CAR_VIN,o.SPECIAL_OPERATE,o.BUSINESS_LICENSE,o.WAY_BILL,o.INVOICE,o.DIPLOMA_CERT,o.DEGREE_CERT,o.ELECTRIC_METER,o.DASHBOARD_MILE,o.GENERAL_CERT,o.WATER_METER,o.HYGROTHER_MOGRAP,o.GAS_METER,o.PRESSURE_METER,o.GENERAL_METER,o.DIGITAL_METER,o.MECHANICAL_ROLLER_METER,o.POINTER_METER,o.LIQUID_COLUMN_METER,Object.keys(n).reduce((t,e)=>(t[e]=n[e]+"识别",t),{}),o.ID_CARD,o.BANK_CARD,o.DRIVING_LICENSE,o.VEHICLE_LICENSE,o.CAR_NUMBER,o.CAR_VIN,o.SPECIAL_OPERATE,o.BUSINESS_LICENSE,o.WAY_BILL,o.INVOICE,o.DIPLOMA_CERT,o.DEGREE_CERT,o.ELECTRIC_METER,o.DASHBOARD_MILE,o.GENERAL_CERT,o.WATER_METER,o.HYGROTHER_MOGRAP,o.GAS_METER,o.PRESSURE_METER,o.GENERAL_METER,o.DIGITAL_METER,o.MECHANICAL_ROLLER_METER,o.POINTER_METER,o.LIQUID_COLUMN_METER,o.ID_CARD,o.BANK_CARD,o.DRIVING_LICENSE,o.VEHICLE_LICENSE,o.CAR_NUMBER,o.CAR_VIN,o.BUSINESS_LICENSE,o.SPECIAL_OPERATE,o.WAY_BILL,o.DIPLOMA_CERT,o.DEGREE_CERT,o.ELECTRIC_METER,o.DASHBOARD_MILE,o.GENERAL_CERT,o.WATER_METER,o.HYGROTHER_MOGRAP,o.GAS_METER,o.PRESSURE_METER,o.GENERAL_METER,o.DIGITAL_METER,o.MECHANICAL_ROLLER_METER,o.POINTER_METER,o.LIQUID_COLUMN_METER,[o.ID_CARD,o.BANK_CARD,o.DRIVING_LICENSE,o.VEHICLE_LICENSE,o.CAR_NUMBER,o.CAR_VIN,o.SPECIAL_OPERATE,o.BUSINESS_LICENSE,o.WAY_BILL,o.DIPLOMA_CERT,o.DEGREE_CERT,o.ELECTRIC_METER,o.DASHBOARD_MILE,o.GENERAL_CERT,o.WATER_METER,o.HYGROTHER_MOGRAP,o.GAS_METER,o.PRESSURE_METER,o.GENERAL_METER,o.DIGITAL_METER,o.MECHANICAL_ROLLER_METER,o.POINTER_METER,o.LIQUID_COLUMN_METER]),s=[o.DIGITAL_METER,o.MECHANICAL_ROLLER_METER,o.POINTER_METER,o.LIQUID_COLUMN_METER],a=[o.ELECTRIC_METER,o.DASHBOARD_MILE,o.WATER_METER,o.HYGROTHER_MOGRAP,o.GAS_METER,o.PRESSURE_METER];o.SPECIAL_OPERATE,o.WAY_BILL,o.DIPLOMA_CERT,o.DEGREE_CERT,o.GENERAL_CERT,o.ID_CARD,o.BANK_CARD,o.DRIVING_LICENSE,o.VEHICLE_LICENSE,o.CAR_NUMBER,o.CAR_VIN,o.BUSINESS_LICENSE},ecb3:function(t,e,i){"use strict";var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"modal-bg",on:{click:function(e){return e.stopPropagation(),t.hideModal.apply(null,arguments)}}},[i("div",{class:{"modal-content":!0,"modal-center":t.centered},style:{width:t.$$u(t.width)},on:{click:function(t){t.stopPropagation()}}},[i("div",{staticClass:"modal-title"},[t._v(" "+t._s(t.content)+" "),i("div",{staticClass:"modal-tip",style:t.tip?"":"display:none;",domProps:{innerHTML:t._s(t.tip)}})]),t._t("default"),t.showCancel||t.confirmContent||t.confirmName?i("div",{staticClass:"modal-handle"},[t.showCancel?i("div",{staticClass:"vhtml-content"},[t.cancelContent?i("div",{staticClass:"vhtml-content",domProps:{innerHTML:t._s(t.cancelContent)},on:{click:t.cancelModal}}):i("div",{staticClass:"cancel-btn",on:{click:t.cancelModal}},[t._v(" "+t._s(t.cancelName)+" ")])]):t._e(),t.confirmContent&&!t.slotContent?i("div",{staticClass:"vhtml-content",domProps:{innerHTML:t._s(t.confirmContent)}}):t._e(),t.slotContent?i("div",{staticClass:"vhtml-content"},[t._t("confirmSlot")],2):t._e(),t.slotContent||t.noConfirmBtn?t._e():i("div",{staticClass:"confirm-btn",style:t.confirmStyle,on:{click:t.onConfirm}},[t._v(" "+t._s(t.confirmName)+" ")])]):t._e()],2)])},n=[],l=i("9ab4"),s=i("1b40");let a=class extends s["d"]{constructor(){super(...arguments),this.name="Modal",this.show=!1}showModal(t){this.show=!0,t&&t()}onConfirm(){this.$emit("onConfirm"),this.hideModal()}hideModal(){this.show=!1}cancelModal(){this.$emit("onCancel"),this.hideModal()}created(){this.show=this.defaultShow}};Object(l["a"])([Object(s["c"])({type:Boolean,default:!1})],a.prototype,"defaultShow",void 0),Object(l["a"])([Object(s["c"])({type:Boolean,default:!1})],a.prototype,"slotContent",void 0),Object(l["a"])([Object(s["c"])({type:String,default:""})],a.prototype,"content",void 0),Object(l["a"])([Object(s["c"])({type:String,default:""})],a.prototype,"tip",void 0),Object(l["a"])([Object(s["c"])({type:String,default:"取消"})],a.prototype,"cancelName",void 0),Object(l["a"])([Object(s["c"])({type:String,default:"确认"})],a.prototype,"confirmName",void 0),Object(l["a"])([Object(s["c"])({type:Boolean,default:!0})],a.prototype,"showCancel",void 0),Object(l["a"])([Object(s["c"])({type:String,default:""})],a.prototype,"confirmContent",void 0),Object(l["a"])([Object(s["c"])({type:String,default:""})],a.prototype,"cancelContent",void 0),Object(l["a"])([Object(s["c"])({type:String,default:""})],a.prototype,"confirmStyle",void 0),Object(l["a"])([Object(s["c"])({type:Boolean,default:!1})],a.prototype,"centered",void 0),Object(l["a"])([Object(s["c"])({type:Number,default:310})],a.prototype,"width",void 0),Object(l["a"])([Object(s["c"])({type:Boolean,default:!1})],a.prototype,"noConfirmBtn",void 0),Object(l["a"])([Object(s["b"])("click")],a.prototype,"showModal",null),Object(l["a"])([Object(s["b"])("onHide")],a.prototype,"hideModal",null),a=Object(l["a"])([Object(s["a"])({})],a);var c=a,r=c,d=(i("74b8"),i("2877")),u=Object(d["a"])(r,o,n,!1,null,null,null);e["a"]=u.exports},facd:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));const o=t=>!isNaN(parseFloat(t))&&isFinite(t),n=t=>o(t)?Number(t):t}}]);