(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-common"],{"005c":function(t,e,r){"use strict";r.d(e,"a",(function(){return c})),r.d(e,"b",(function(){return i})),r.d(e,"d",(function(){return u})),r.d(e,"c",(function(){return s})),r.d(e,"e",(function(){return l})),r.d(e,"f",(function(){return b})),r.d(e,"w",(function(){return v})),r.d(e,"x",(function(){return _})),r.d(e,"k",(function(){return m})),r.d(e,"m",(function(){return g})),r.d(e,"i",(function(){return O})),r.d(e,"l",(function(){return j})),r.d(e,"t",(function(){return y})),r.d(e,"o",(function(){return w})),r.d(e,"v",(function(){return C})),r.d(e,"n",(function(){return E})),r.d(e,"g",(function(){return T})),r.d(e,"y",(function(){return k})),r.d(e,"h",(function(){return x})),r.d(e,"r",(function(){return A})),r.d(e,"p",(function(){return R})),r.d(e,"s",(function(){return S})),r.d(e,"q",(function(){return L})),r.d(e,"u",(function(){return D})),r.d(e,"j",(function(){return M}));var n=r("3835"),o=(r("ac1f"),r("1276"),r("d3b7"),r("159b"),r("466d"),r("5319"),r("a9e3"),r("3c61")),a=r("4a75");function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.document;return e.querySelector(t)}function i(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.document,r=[],n=e.querySelectorAll(t),o=0;o1&&void 0!==arguments[1]?arguments[1]:300;t.style.opacity="0",setTimeout((function(){t.style.display="none"}),e)}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"block";t.style.display=e,setTimeout((function(){t.style.opacity="1"}))}function l(t,e){return t?t.currentStyle?t.currentStyle[e]:getComputedStyle(t,null)[e]:""}function d(t){if(!t)return 0;var e=l(t,"height"),r=parseInt(e,10);if(!isNaN(r)&&"auto"!==e)return r;var n=t.offsetHeight;if(n>0)return n;var o=t.getBoundingClientRect().height;if(o>0)return o;var a=t.scrollHeight;if(a>0)return a;var c=t.clientHeight;return c>0?c:0}var p=function(t){return t.scrollTop},f=function(t){return t.scrollHeight},h=function(t){return t.clientHeight},b=function(t){var e=p(t),r=f(t),n=h(t);return e+n>=r},v=function(t){var e=t.split("?")[1];if(!e)return{};var r=e.split("&"),o={};return r.forEach((function(t){var e=t.split("="),r=Object(n["a"])(e,2),a=r[0],c=r[1];null!=a&&""!==a&&(o[a]=c)})),o},_=function(t){return localStorage.setItem("__h5-openid",t)},m=function(){return localStorage.getItem("__h5-openid")||""},g=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!!o["a"].h5QueryString[t.toLocaleLowerCase()]},O=function(t){var e=document.createElement("textarea");e.style.cssText="position:absolute;left:-10000px;top:-10000px;",e.value=t,document.body.appendChild(e),e.select();try{document.execCommand("copy")}catch(r){console.error(r)}document.body.removeChild(e)},j=function(t){var e,r=Object(a["p"])(),n=r.no_min_height;if("1"===n)return null;var o=document.querySelector(".__code_module-content"),c=document.querySelector(".__code_bottom-content"),i=document.querySelector("#__empty-container"),u=document.querySelector(".__empty-container-bottom"),s=document.querySelector(".__reviewWrapper"),l=document.querySelector("#__write-msg-btn"),p=document.querySelector(".code-bottom-normal-actions-wrapper"),f=document.querySelector(".fixedBottomContainer"),h=null!==(e=null===t||void 0===t?void 0:t.totalHeight)&&void 0!==e?e:document.documentElement.clientHeight;if(!o||!c||s&&!l)return 0;var b=t&&t.isOnePageContent?d(p):0,v=d(c)-b,_=d(i),m=d(u),g=d(f),O=h-v-_-m-g;return O-1.5},y=function(){var t=navigator.userAgent;return!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)},w=function(){var t=navigator.userAgent;return t.indexOf("Android")>-1||t.indexOf("Adr")>-1},C=function(){var t=navigator.userAgent;return t.indexOf("OpenHarmony")>-1},E=function(){var t=navigator.userAgent,e=t.replace(/^.*OS ([\d_]+) like.*$/,"$1").replace(/_/g,".");return t===e?"":e},T=function(){var t=navigator.userAgent,e=t.match(/Android ([/\d/.]+)/i);return e?e[1]:""},k=function(){var t=navigator.userAgent,e=t.match(/MicroMessenger\/([/\d/.]+)/i);if(e){var r=!!t.match(/WxWork/i);return r?"":e[1]}return""},I=function(){var t=navigator.userAgent,e=t.match(/WxWork\/([/\d/.]+)/i);return e?e[1]:""},x=function(t,e){if(t===e)return!0;var r=t.split("."),n=e.split("."),o=Math.max(r.length,n.length);if(r.lengthd){i=!0;break}}return i},A=function(){var t=y()?x(E(),"10.3"):x(T(),"5.0");return!!k()&&x(k(),"7.0.12")&&t},R=function(){var t=[" qq","mqqbrowser","huaweibrowser","safari","miuibrowser","wxwork"],e=!1;return t.forEach((function(t){navigator.userAgent.toLowerCase().indexOf(t)>-1&&(e=!0)})),e},S=function(){var t=navigator.userAgent,e=t.match(/wxwork\//i);return!!e},L=function(){var t=!!I()&&x(I(),"3.0.36");return t},D=function(){var t=navigator.userAgent,e=t.indexOf("Macintosh")>-1;return e};function M(){var t=!1,e=setInterval((function(){!t&&document.body.scrollHeight>window.innerHeight&&0===window.scrollY&&(t=!0,clearInterval(e),setTimeout((function(){window.scrollBy(0,1),setTimeout((function(){return window.scrollBy(0,-1)}),50)}),200))}),300);setTimeout((function(){return clearInterval(e)}),3e4)}},"03d1":function(t,e,r){"use strict";var n=r("d4ec"),o=r("bee2"),a=(r("4de4"),r("d3b7"),r("ac1f"),r("5319"),r("f1d0")),c=r("e9b6"),i=r("1ddc"),u=r("08f7"),s=r("76ac"),l=r("dfe4"),d=r("b6f3"),p=r("0c6d"),f=r("8262"),h=r("1565"),b=r("77ed"),v=function(){function t(e){var r=this,o=e.data,c=e.project,s=e.dpr,d=e.windowWidth,p=e.windowHeight,f=e.imageStyle1Margin,h=e.isLowQuality,v=void 0!==h&&h,_=e.encodedUserId,m=void 0===_?"":_;Object(n["a"])(this,t),this.data=null,this.project=null,this.originDpr=1,this.originWindowWidth=0,this.originWindowHeight=0,this.imageStyle1Margin=0,this.computedDpr=1,this.computedWindowWidth=0,this.computedWindowHeight=0,this.images=[],this.isLowQuality=!1,this.encodedUserId="",this.imageStyle=a["h"].IMAGE_STYLE_1,this.imageAppearance="",this.prewType=a["j"].TILE,this.carouselStyle=a["e"].CAROUSEL_STYLE_1,this.data=o,this.project=c,this.originDpr=s,this.originWindowWidth=d,this.originWindowHeight=p,this.imageStyle1Margin=f,this.isLowQuality=v,this.encodedUserId=m,this.computeDpr(),this.computeWindowWidth(),this.computeWindowHeight();var g=this.computedWindowWidth,O=this.computedWindowHeight,j=Object(u["a"])(o,"attribute_list",[]),y=Object(i["a"])(j,(function(t){var e=t.deleteFlag,r=t.type,n=Object(u["a"])(t,"image_url.value");return!e&&"loadingItem"!==r&&!!n}));this.images=Object(l["a"])(y,(function(t,e){var n;if(0===e&&(r.imageStyle=Object(u["a"])(t,"image_style.value",a["h"].IMAGE_STYLE_1),r.prewType=Object(u["a"])(t,"prew_type.value",a["j"].TILE),r.carouselStyle=Object(u["a"])(t,"carousel_style.value",a["e"].CAROUSEL_STYLE_1),null!==t&&void 0!==t&&null!==(n=t.image_appearance)&&void 0!==n&&n.value))try{var o;r.imageAppearance=JSON.parse(null===t||void 0===t||null===(o=t.image_appearance)||void 0===o?void 0:o.value)}catch(p){console.error(p)}var i=r.imageStyle,s=r.prewType,l=r.imageAppearance,d=r.carouselStyle;return new b["b"]({data:t,project:c,imageStyle:i,imageAppearance:l,prewType:s,carouselStyle:d,isFirst:0===e,isSingle:1===y.length,isLast:y.length===e+1,computedWindowWidth:g,computedWindowHeight:O,imageStyle1Margin:f,isLowQuality:v,encodedUserId:m})}))}return Object(o["a"])(t,[{key:"computeDpr",value:function(){var t=this.originDpr;this.computedDpr=Object(p["a"])(t)}},{key:"computeWindowWidth",value:function(){var t=this.project,e=this.computedDpr,r=this.originWindowWidth;this.computedWindowWidth=Object(f["a"])({project:t,computedDpr:e,originWindowWidth:r})}},{key:"computeWindowHeight",value:function(){var t=this.project,e=this.computedDpr,r=this.originWindowHeight;this.computedWindowHeight=Object(h["a"])({project:t,computedDpr:e,originWindowHeight:r})}}],[{key:"hasNoSize",value:function(t){var e=Object(u["a"])(t,"attribute_list",[]);return Object(d["a"])(e,(function(t){return b["b"].hasNoSize(t)}))}},{key:"addOssSuffix",value:function(t,e){return b["b"].addOssSuffix(t,e)}},{key:"getComputedUrl",value:function(t){var e=Object(l["a"])(t.data,(function(e){if(e.value&&1!==e.status)return b["b"].getComputedUrl({data:e.value,windowWidth:t.windowWidth})})).filter((function(t){return!!t}));return t.type?Object(l["a"])(e,(function(t){return t.url})):Object(l["a"])(e,(function(t){return t.previewUrl}))}},{key:"getComputedImages",value:function(t){return Object(l["a"])(t.data,(function(e){if(e.value&&1!==e.status)return b["b"].getComputedImage({data:e.value,windowWidth:t.windowWidth})})).filter((function(t){return!!t}))}},{key:"initColors",value:function(t){var e=t.themeColor,r=t.textColor,n=t.hasRecord;return n&&!e&&(e="f4f4f4",r="000000"),e=(e||"").replace("#",""),r=(r||"").replace("#",""),{themeColor:e,textColor:r}}},{key:"getSwiperDotColors",value:function(e){var r=e.themeColor,n=e.textColor,o=e.project,i=e.position,u=e.imageStyle,l=e.hasTitle,d=e.hasRecord,p=e.hasRichText,f=e.isGradient,h=e.isColorExtend,b=e.imageAppearances,v=t.initColors({themeColor:r,textColor:n,hasRecord:d});r=v.themeColor,n=v.textColor;var _,m=!!r&&!Object(s["a"])(r),g=Object(s["a"])(n),O=m&&!g;_=o===a["k"].CONSOLE||u===a["h"].IMAGE_STYLE_1||(null===b||void 0===b?void 0:b.position)===c["a"].CENTER||(null===b||void 0===b?void 0:b.position)===c["a"].TOP_CENTER||u===a["h"].IMAGE_STYLE_3&&l||d||f&&O||h?i===a["i"].TOP_MODULE||h:!p;var j="",y="";return j="#07C160",y="rgba(0, 0, 0, 0.15)","ffdf22"===r.toLocaleLowerCase()&&(j="#07C160"),{activeColor:j,defaultColor:y,bgUseThemeColor:_}}}]),t}();e["a"]=v},"07f0":function(t,e,r){"use strict";r.d(e,"b",(function(){return c})),r.d(e,"a",(function(){return i}));var n=r("131c"),o="online",a={net:"net",online:"online",com:"com",exp:"exp"},c=function(){return"production"===o?"online":a[o]||""},i=function(t){Object(n["E"])(["com","net","online","onlineTest","exp"],t)||console.error("环境必须是com、net、online、onlineTest、exp中的一种")}},"08f7":function(t,e,r){"use strict";r("ac1f"),r("1276");var n=r("f64c"),o=r("a607");function a(t,e,r){if(!e)return null==t?Object(n["a"])(r)?t:r:t;var c=a(t,null,{}),i=e.split("."),u=i.length;return Object(o["a"])(i,(function(t,e){c=a(c[t],null,e!==u-1?{}:r)})),c}e["a"]=a},"0be6":function(t,e,r){"use strict";r("d9e2");e["a"]=function(t,e){if(!t)return-1;var r=t.length>>>0;if("function"!==typeof e)throw new TypeError("predicate must be a function");var n=arguments[1],o=0;while(o=3?e=3:t>=2&&(e=2),e}},"0cbb":function(t,e,r){"use strict";r("d3b7");e["a"]=function(t){return"[object String]"===Object.prototype.toString.call(t)}},1:function(t,e){},1137:function(t,e,r){"use strict";r("d3b7");e["a"]=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},1241:function(t,e,r){"use strict";var n=r("3049");e["a"]=function(t){var e=t.cmpData,r=t.cmpDataType,o=t.hiddenCmpVisibleMap;return Object(n["a"])({cmpData:e,cmpDataType:r})&&!(null!==o&&void 0!==o&&o[null===e||void 0===e?void 0:e.id])}},"131c":function(t,e,r){"use strict";r.d(e,"c",(function(){return n["a"]})),r.d(e,"g",(function(){return a})),r.d(e,"h",(function(){return c["a"]})),r.d(e,"i",(function(){return i})),r.d(e,"l",(function(){return u["a"]})),r.d(e,"o",(function(){return o["a"]})),r.d(e,"B",(function(){return s["a"]})),r.d(e,"E",(function(){return l["a"]})),r.d(e,"F",(function(){return d["a"]})),r.d(e,"G",(function(){return p["a"]})),r.d(e,"I",(function(){return f["a"]})),r.d(e,"J",(function(){return h["a"]})),r.d(e,"N",(function(){return b["a"]})),r.d(e,"O",(function(){return v["a"]})),r.d(e,"Q",(function(){return g})),r.d(e,"R",(function(){return O})),r.d(e,"S",(function(){return j["a"]})),r.d(e,"T",(function(){return y})),r.d(e,"U",(function(){return C})),r.d(e,"W",(function(){return E["a"]})),r.d(e,"Z",(function(){return T["a"]})),r.d(e,"ab",(function(){return k})),r.d(e,"bb",(function(){return I})),r.d(e,"n",(function(){return x["a"]})),r.d(e,"k",(function(){return A})),r.d(e,"p",(function(){return S})),r.d(e,"a",(function(){return q})),r.d(e,"y",(function(){return U})),r.d(e,"b",(function(){return P})),r.d(e,"L",(function(){return W})),r.d(e,"e",(function(){return G})),r.d(e,"z",(function(){return Q})),r.d(e,"s",(function(){return Y})),r.d(e,"w",(function(){return X})),r.d(e,"j",(function(){return z})),r.d(e,"A",(function(){return V})),r.d(e,"f",(function(){return K})),r.d(e,"m",(function(){return J["a"]})),r.d(e,"K",(function(){return $["a"]})),r.d(e,"D",(function(){return Z["a"]})),r.d(e,"d",(function(){return tt})),r.d(e,"Y",(function(){return _t})),r.d(e,"V",(function(){return mt})),r.d(e,"u",(function(){return gt["a"]})),r.d(e,"r",(function(){return Ot})),r.d(e,"X",(function(){return jt["a"]})),r.d(e,"q",(function(){return Ct})),r.d(e,"v",(function(){return Et})),r.d(e,"t",(function(){return Tt})),r.d(e,"x",(function(){return kt})),r.d(e,"C",(function(){return It["a"]})),r.d(e,"H",(function(){return At})),r.d(e,"P",(function(){return Rt["a"]})),r.d(e,"M",(function(){return Mt}));var n=r("d2a4"),o=r("a607"),a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=[];if(t){var n=[];Object(o["a"])(t,(function(t){n.push(t),n.length>=e&&(r.push(n),n=[])})),n.length&&r.push(n)}return r},c=r("d6ad"),i=function(t){var e="";try{e=decodeURIComponent(t)}catch(r){console.error(r)}return e},u=r("1ddc"),s=r("08f7"),l=r("76a4"),d=r("a719"),p=r("1137"),f=r("1894"),h=r("cb9b"),b=r("0cbb"),v=r("f64c"),_=(r("76ac"),r("8033")),m=r.n(_),g=function(t){var e=m.a.fromHex(t),r=e.toHsvArray(),n=e.toRgbObject();return n.r===n.g&&n.g===n.b?n.r>240?"#06ae56":"#222":(r[1]<=30?r[0]>=0&&r[0]<=40||r[0]>=320&&r[0]<=360?(r[1]=50,r[2]=75):r[0]>=160&&r[0]<=260?(r[1]=50,r[2]=65):r[0]>40&&r[0]<160?(r[1]=40,r[2]=65):(r[1]=50,r[2]=55):r[2]>=0&&r[2]<=30?r[2]+=30:r[2]-=30,m.a.fromHsvArray(r).toHex())},O=function(t){var e=m.a.fromHex(t),r=e.toHsvArray(),n=e.toRgbObject();return n.r===n.g&&n.g===n.b?n.r>240?"#2aad67":"#333":(r[1]<=30?r[0]>=0&&r[0]<=40||r[0]>=320&&r[0]<=360?(r[1]=50,r[2]=90):r[0]>=160&&r[0]<=260?(r[1]=50,r[2]=80):r[0]>40&&r[0]<160?(r[1]=40,r[2]=80):(r[1]=50,r[2]=70):r[2]>=0&&r[2]<=15?r[2]+=15:r[2]-=15,m.a.fromHsvArray(r).toHex())},j=r("dfe4"),y=function(){},w=(r("99af"),r("a15b"),r("d3b7"),function(t){return"[object Boolean]"===Object.prototype.toString.call(t)}),C=function(t,e){var r;w(e)&&(e={noEncode:e});var n=null!==(r=e)&&void 0!==r?r:{},a=n.noEncode,c=n.mode;t=t||{};var i=[],u=function(t){var e=t.key,r=t.value;i.push("".concat(e,"=").concat(a?r:encodeURIComponent(r)))};return Object(o["a"])(t,(function(t,e){"string"!==c?null!=t&&(Object(d["a"])(t)?Object(o["a"])(t,(function(t){u({key:e,value:t})})):u({key:e,value:t})):u({key:e,value:t})})),i.join("&")},E=r("5af5"),T=r("b6f3"),k=function(t,e,r){null==e&&(e=1500);var n,o=0;return function(){for(var a=this,c=arguments.length,i=new Array(c),u=0;ue?(clearTimeout(n),t.apply(this,i),o=s):r&&(clearTimeout(n),n=setTimeout((function(){t.apply(a,i),o=(new Date).getTime()}),e-(s-o)))}},I=(r("ac1f"),r("1276"),r("fb6a"),r("5319"),function(t,e){var r=t.indexOf("?");r>-1&&(t=t.substr(r+1));var n={};return t&&Object(o["a"])(t.split("&"),(function(t){var r,o=t.split("="),a=o[0]||"";try{r=o.slice(1).join("=")}catch(u){r=o[1]||""}r=r.replace(/\+/g,"%20"),r=e?r:i(r);var c=n[a];null==c?n[a]=r:Object(d["a"])(c)?c.push(r):n[a]=[c,r]})),n}),x=r("0be6"),A=(r("b64b"),function(t){var e=Object.keys(t),r=e.length,n=new Array(r);while(r--)n[r]=[e[r],t[e[r]]];return n});r("d228"),r("28ec"),r("00b4");function R(t){var e="qrcode";return Object(b["a"])(t)&&(t=Object(s["a"])(t.split("?"),"0",""),/\/sy\//.test(t)&&(e="summary"),/^https?:\/\//i.test(t)||(t="https://"+t),(/\/pq\//.test(t)||5===t.split("/").length&&"e"===t.split("/")[4].charAt(0))&&(e="placeholderQrcode"),/^https?:\/\/(hqr\.cn|id\.qr46\.cn|test\.hqr\.cn)\//i.test(t)&&(e="gs1")),e}var S=R,L=(r("2ca0"),r("466d"),"https://gstatic.clewm.net/caoliao-resource/260316/a766f0_8a80a200.png"),D="https://gstatic.clewm.net/caoliao-resource/260227/a766f0_540647ce.png",M="https://gstatic.clewm.net/caoliao-resource/260126/0f1350_8d27217e.png",N="https://gstatic.clewm.net/caoliao-resource/260126/0f1350_6ffd8910.png";function H(t){if(Object(b["a"])(t)&&t){var e=i(t);if(e.startsWith("tel:"))return{key:"phone",label:"电话",icon_url:N};if(e.startsWith("navLink:")){var r=e.match(/[?&]type=([^&]*)/);if(!r)return;var n=r[1];if("10"===n)return{key:"miniprogram",label:"小程序",icon_url:L};if("7"===n)return{key:"caoliaoform",label:"表单",icon_url:D};if(Object(l["a"])([0,12,13,14,15,20,22,120,130,140,150,200],+n)){var o=e.match(/[?&]list_name=([^&]*)/),a=o?i(o[1]):"草料二维码";return{key:"caoliao",label:a,icon_url:M}}}try{var c=e.match(/#小程序:\/\/([^/]+)/);if(!c)return;var u=decodeURIComponent(c[1])||c[1];return{key:"miniprogram",label:u,icon_url:L}}catch(s){console.error("Error parsing miniprogram label from URL:",s)}}}r("5530"),r("3ca3"),r("ddb0"),r("9861"),r("498a"),r("a4d3"),r("e01a"),r("2b3d"),r("25f0"),r("7db0");var q="https://gstatic.clewm.net/caoliao-resource/260323/a766f0_7f586520.png",P=/^#小程序:\/\/\S+\/\S+/,B=function(t,e){var r,n,o,a,c,i,u,s=null!==(r=null===(n=t.title)||void 0===n?void 0:n.trim())&&void 0!==r?r:"";if(s)return s;var l="".concat(null!==(o=null===(a=t.extra)||void 0===a?void 0:a.formCode)&&void 0!==o?o:"").trim();if(l)return"表单编号:".concat(l);var d=null!==(c=null===(i=t.description)||void 0===i?void 0:i.trim())&&void 0!==c?c:"";return d||(null!==(u=null===e||void 0===e?void 0:e.label)&&void 0!==u?u:"未命名链接")};function U(t){var e,r,n=(null!==(e=t.url)&&void 0!==e?e:"").trim(),o=H(n);return{displayTitle:B(t,o),iconUrl:null!==(r=t.favicon)&&void 0!==r?r:"",platformInfo:o}}r("be7d");var F,W=function(t){return"[object Object]"===Object.prototype.toString.call(t)},G=(r("d81d"),r("4de4"),function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.keepFalsy,n=void 0!==r&&r;return n?Object.keys(t).filter((function(e){return void 0!==t[e]&&null!==t[e]&&""!==t[e]})).map((function(e){return"".concat(e,"=").concat(t[e])})).join("&"):Object.keys(t).filter((function(e){return t[e]})).map((function(e){return"".concat(e,"=").concat(t[e])})).join("&")}),Q=function(t,e){var r=Object(s["a"])(t,"form_component_id"),n=Object(s["a"])(t,"form_component_title"),o=Object(s["a"])(t,"form_component_title_label_text"),a=Object(s["a"])(t,"form_component_uuid"),c=Object(s["a"])(t,"form_field_id"),i={id:r,title:n,labelText:o,uuid:a,fieldId:c};return e?i[e]:i},Y=(r("4d63"),r("c607"),r("2c3e"),function(t,e){if(e.indexOf("?")>-1){var r=e.slice(e.indexOf("?")),n=r.split("&"),o="";if(n)for(var a=n.length-1;a>=0;a--)if(n[a].indexOf("".concat(t,"="))>-1){o=n[a];break}return o?o.slice(o.indexOf("=")+1):""}return""}),X=function(t){var e=[];if(t.indexOf("?")>-1){var r=t.slice(t.indexOf("?")+1),n=r.split("&");e=n}return e},z=function(t,e){var r=Object(c["a"])(t);while(--e>=0)r.pop();return r},V=function(t,e){var r=new RegExp("(^|\\?|&)".concat(t,"=([^&]*)(&|$)")),n=e.match(r);return null!=n?unescape(n[2]):""},K=function(t){var e=/^(https?:\/\/[^/]+)(\/.*)$/,r=t.match(e),n=r?r[1]:"",o=r?r[2]:"";return o.startsWith("/cli/")&&(o=o.replace("/cli/","/sy/")),[n,o].join("")},J=r("300c"),$=(r("0c6d"),r("8262"),r("1565"),r("e548"),r("6260")),Z=r("1ca8"),tt=(r("a9e3"),function(t){if(!Number(t))return{};var e=(new Date).getTime(),r=1e3*Number(t)-e,n=r/1e3/60/60/24,o=n>1?Math.floor(n):Math.ceil(n);return{hasExpired:r<0,restExpiredDay:o}}),et=(r("26d1"),r("eee2"),r("ade3")),rt=(r("b0c0"),r("e9c4"),r("8a79"),r("f1d0")),nt=r("6b40");function ot(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",r=arguments.length>2?arguments[2]:void 0,n=r||{},o=n.isShowSameYear,a=void 0===o||o,c=n.isShowSecond,i=void 0!==c&&c,u="",s="",l="";Object(d["a"])(e)?(u=e[0],s=e[1],l=e[2]):(u=e,s=e);var p=new Date(t),f=String(p.getMinutes());Number(f)<10&&(f="0".concat(p.getMinutes()));var h=String(p.getSeconds());Number(h)<10&&(h="0".concat(p.getSeconds()));var b=(new Date).getFullYear()===p.getFullYear(),v=!a&&b?"":"".concat(p.getFullYear()).concat(u),_="".concat(v).concat(p.getMonth()+1).concat(s).concat(p.getDate()).concat(l," ").concat(p.getHours(),":").concat(f).concat(i?":".concat(h):"");return _}var at=function(t,e){var r;try{r=JSON.parse(t),r.from_state_text!==r.state_text&&(r.is_change_state=1,r.from_state_text||(r.is_change_state=2)),r.formatUpdateTime=ot(1e3*e,["年","月","日"],{isShowSameYear:!1})}catch(n){console.error(n)}return r},ct=function(t){var e,r=Object(s["a"])(t,"tpl_type",0),a=Object(s["a"])(t,"tpl_groups"),c={},i={};return 7===r&&Object(s["a"])(a,"length")&&Object(o["a"])(a,(function(r){Object(o["a"])(r.fields,(function(r){"textarea"===Object(s["a"])(r,"type")?Object(s["a"])(r,"options.append_data",0)>0?c.textarea=r.value||"":Object(s["a"])(r,"options.append_data")||(e=at(Object(s["a"])(r,"value"),t.add_time_timestamp)):"image"===Object(s["a"])(r,"type")&&Object(s["a"])(r,"options.append_data",0)>0?c.imgs=r.value||[]:"address"===Object(s["a"])(r,"type")&&(i=r.raw_value)}))})),e&&Object(n["a"])(e,{remark:c,addressData:i}),e},it=function(t){var e=ot(1e3*t,["年","月","日"],{isShowSameYear:!1}),r=e.split(" "),n=(new Date).toLocaleDateString(),o=Date.parse(n)/1e3,a=Math.floor(parseInt(String(o-t),10)/60/60/24);return-1===a?r[0]="今天":0===a&&(r[0]="昨天"),e.indexOf("年")>-1&&(r[1]=""),r},ut=function(t){var e,r,n,o=t.recordData;if((null===o||void 0===o?void 0:o.tpl_type)===rt["m"].APPLY){var a=null===o||void 0===o||null===(e=o.tpl_groups)||void 0===e||null===(r=e[0])||void 0===r?void 0:r.fields,c=null===(n=Object(u["a"])(a,(function(t){return"text"===t.type})))||void 0===n?void 0:n[0];try{var i=JSON.parse((null===c||void 0===c?void 0:c.value)||"{}"),s=i.apply_value;nt["b"][s]&&(o.name=nt["b"][s])}catch(l){console.error(l)}}},st={TPL_DESC:"tpl_desc",RECORD:"record"},lt=(F={},Object(et["a"])(F,st.RECORD,{tpl_type:"tpl_type",tpl_groups:"tpl_groups",fields:"fields"}),Object(et["a"])(F,st.TPL_DESC,{tpl_type:"type",tpl_groups:"groups",fields:"components"}),F),dt=function(t){var e=t.recordData,r=t.from,n=void 0===r?st.RECORD:r,o=lt[n],a=o.tpl_type,c=o.tpl_groups,i=o.fields;if((null===e||void 0===e?void 0:e[a])===rt["m"].APPLY){var s,l,d,p=null===e||void 0===e||null===(s=e[c])||void 0===s||null===(l=s[0])||void 0===l?void 0:l[i],f=null===(d=Object(u["a"])(p,(function(t){return"text"===t.type})))||void 0===d?void 0:d[0];null!==f&&void 0!==f&&f.value&&!Object(b["a"])(null===f||void 0===f?void 0:f.value)&&Object(T["a"])(p,(function(t){var e="text"===t.type;return e&&(t.value=JSON.stringify(f.value)),e}))}},pt=function(t){var e,r,o,a,c=null===t||void 0===t||null===(e=t.tpl_groups)||void 0===e||null===(r=e[0])||void 0===r?void 0:r.fields,i=null===(o=Object(u["a"])(c,(function(t){return"text"===t.type})))||void 0===o?void 0:o[0];try{var s;a=JSON.parse(String(null===i||void 0===i?void 0:i.value)||"{}"),Object(n["a"])(a,{apply_text:nt["a"][null===(s=a)||void 0===s?void 0:s.apply_value]})}catch(l){console.error(l)}return a},ft=function(t){return t?t.replace(/\\n/g,"\n").replace(/\\t/g,"\t"):t},ht=function(t){for(var e="",r=0;r=181},Rt=r("85f5"),St=/&(?:amp|lt|gt|quot|#(0+)?39);/g;RegExp(St.source);r("3049"),r("1241");var Lt=r("53ca");r("3410");function Dt(t){if("object"!==Object(Lt["a"])(t)||null===t)return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}var Mt=Dt;var Nt=/[\\^$.*+?()[\]{}|]/g;RegExp(Nt.source);r("e9b6"),r("f093"),r("7e5f")},1565:function(t,e,r){"use strict";var n=r("f1d0"),o=r("1894");e["a"]=function(t){var e=t.project,r=t.computedDpr,a=t.originWindowHeight,c=a||0;return e===n["k"].MPCLI&&Object(o["a"])()&&(c=(a||0)/r),c}},1599:function(t,e,r){"use strict";r.d(e,"b",(function(){return x}));var n=r("c7eb"),o=r("1da1"),a=r("3835"),c=r("b85c"),i=(r("ac1f"),r("00b4"),r("d81d"),r("a9e3"),r("5319"),r("a15b"),r("1276"),r("99af"),r("4a75")),u=r("131c"),s=r("3c61"),l=r("d4ec"),d=r("bee2"),p=r("ade3"),f=(r("d3b7"),r("159b"),r("13d5"),r("8033")),h=r.n(f),b=function(t){return t=t.replace("#",""),t.length<6&&(t="".concat(t.split("").map((function(t){return"".concat(t).concat(t)})).join(""))),"#".concat(t)},v=function(t,e,r){var n=h.a.fromHex(t);"number"===typeof e&&(r=e,e=[0,0,0]);var o=e,c=Object(a["a"])(o,3),i=c[0],u=c[1],s=c[2],l=n.toHsvObject(),d=l.h,p=l.s,f=l.v,b=h.a.fromHsvArray([d+i,p+u,f+s]).toRgbArray(),v=Object(a["a"])(b,3),_=v[0],m=v[1],g=v[2];return"rgba(".concat(_,", ").concat(m,", ").concat(g,", ").concat(r,")")};var _,m,g;(function(t){t[t["DARK"]=1]="DARK",t[t["LIGHT"]=2]="LIGHT",t[t["SPECIAL_RECORD"]=3]="SPECIAL_RECORD",t[t["DEFAULT"]=4]="DEFAULT"})(m||(m={})),function(t){t[t["ONLY_TITLE"]=1]="ONLY_TITLE",t[t["TITLE$RICH_TEXT"]=2]="TITLE$RICH_TEXT",t[t["HEAD_MODULE$NO_RECORD"]=3]="HEAD_MODULE$NO_RECORD",t[t["HAVE_RECORD"]=4]="HAVE_RECORD",t[t["WHITE"]=5]="WHITE"}(g||(g={}));var O=function(t){var e=Object(a["a"])(t,7),r=e[0],n=e[1],o=e[2],c=e[3],i=e[4],u=e[5],s=e[6];return{bg:r,headFilePreviewBtnBackground:n,recordButtonEntryBackground:o,addRecordButtonBackground:c,recordTitleColor:i,recordDividerColor:u,recordButtonEntryColor:s}},j=(_={},Object(p["a"])(_,g.ONLY_TITLE,O([["#ffffff","#ffffff"],"#07C160",v("#07C160",[0,0,0],.9),"#07C160","#07C160","#07C160",""])),Object(p["a"])(_,g.TITLE$RICH_TEXT,O([["#ffffff","#ffffff"],"#07C160",v("#07C160",[0,0,0],.9),"#07C160","#07C160","#07C160",""])),Object(p["a"])(_,g.HEAD_MODULE$NO_RECORD,O([["#f4f4f4","#ffffff"],"#07C160",v("#07C160",[0,0,0],.9),"#07C160","#07C160","#07C160",""])),Object(p["a"])(_,g.HAVE_RECORD,O([["#f4f4f4","#ffffff"],"#07C160",v("#07C160",[0,0,0],.9),"#07C160","#07C160","#07C160",""])),Object(p["a"])(_,g.WHITE,O([["#ffffff","#ffffff"],"#07C160",v("#07C160",[0,0,0],.9),"#07C160","#333333","#333333",""])),_),y=function(){function t(e,r){Object(l["a"])(this,t),this.sourceColor={themeColor:"",foreColor:"",hThemeColor:"",hForeColor:""},this.topComponent={},this.record={},this.isCodeEmpty=!0,this.colorPoint=["0","100%"],this.emptyOffset="0",this.settedColor=!0,this.defaultConfig={},this.color={themeColor:"",foreColor:"",hThemeColor:"",hForeColor:""},this.isRecordCode=!1,this.deviceWidth=0,this.themeType="dark",this.lastModule="",this.lastHeadModuleType="",this.gradientCSS="",this.bottomExtendHeight=0,this.recordButtonEntryBackground="",this.recordButtonEntryColor="",this.addRecordButtonBackground="",this.headFileDownloadBtnBackground="",this.headFilePreviewBtnBackground="",this.headFilePreviewBtnColor="",this.headFileDownloadBtnColor="",this.recordDividerColor="",this.recordTitleColor="",this.to="",this.from="",this.ruleType=m.DARK,this.useDefaultColor=!1,this.isBrightMinus20=!1,this.prepare(e,r)}return Object(d["a"])(t,[{key:"reset",value:function(t,e){return this.prepare(t,e),this}},{key:"prepare",value:function(t,e){var r=e.topComponent,n=void 0===r?this.topComponent:r,o=e.record,a=void 0===o?this.record:o,c=e.isCodeEmpty,i=void 0===c?this.isCodeEmpty:c,u=e.isRecordCode,s=void 0===u?this.isRecordCode:u,l=e.emptyOffset,d=void 0===l?this.emptyOffset:l,p=e.settedColor,f=void 0===p?this.settedColor:p,h=e.deviceWidth,b=void 0===h?this.deviceWidth:h;this.sourceColor=t,this.topComponent=n,this.isCodeEmpty=i,this.record=a,this.isRecordCode=s,this.emptyOffset=d,this.settedColor=f,this.deviceWidth=b,this.defaultConfig=j,this.init(),this.checkOffset()}},{key:"init",value:function(){return this.fmtColor(),this.settedColor?"#ffffff"===this.color.themeColor?(this.ruleType=this.isRecordCode?m.SPECIAL_RECORD:m.DEFAULT,this.setDefaultColor(g.WHITE),void(this.useDefaultColor=!0)):(this.isRecordCode&&1===this.record.expand_log?(this.ruleType=m.SPECIAL_RECORD,this.setRecordUnfoldColor()):this.isDark?(this.ruleType=m.DARK,this.setDarkColor()):(this.ruleType=m.LIGHT,this.setLightColor()),void this.calcOtherColor()):(this.ruleType=m.DEFAULT,this.calcDefaultColor(),void(this.useDefaultColor=!0))}},{key:"setGradientCSS",value:function(){this.to="#ffffff",this.gradientCSS="linear-gradient(to bottom, ".concat(this.from," 50%, ").concat(this.to," ").concat(this.colorPoint[1],")")}},{key:"calcDefaultColor",value:function(){var t=this.topComponent,e=void 0===t?[]:t,r=0,n=e.map((function(t){return t.component_code}));1===n.length&&Object(u["E"])(n,"text")?r=g.ONLY_TITLE:n.length>1?r=g.HEAD_MODULE$NO_RECORD:"#ffffff"===this.color.themeColor&&(r=g.WHITE),this.setDefaultColor(r)}},{key:"setDefaultColor",value:function(t){var e=this.defaultConfig[t];this.from=e.bg[0],this.to=e.bg[1],this.colorPoint=[this.emptyOffset,"100%"],this.setGradientCSS(),this.recordButtonEntryBackground=e.recordButtonEntryBackground,this.recordDividerColor=e.recordDividerColor,this.recordTitleColor=e.recordTitleColor,this.headFilePreviewBtnBackground=e.headFilePreviewBtnBackground,this.addRecordButtonBackground=e.addRecordButtonBackground,this.headFileDownloadBtnBackground=e.headFileDownloadBtnBackground,this.calcHeadFileDownloadBtnBackground(),this.calcHeadFileDownloadBtnColor()}},{key:"setRecordUnfoldColor",value:function(){this.bottomExtendHeight=this.isCodeEmpty?0:56,this.from=this.color.themeColor,this.to=this.isCodeEmpty?this.calcTarget(this.color.themeColor):"#ffffff",this.colorPoint=["10%","100%"],"#ffdf22"===this.color.themeColor&&(this.to="#ffffff",this.from=this.color.themeColor),this.setGradientCSS()}},{key:"setDarkColor",value:function(){var t=this.isRecordCode&&!this.isCodeEmpty&&!Object(u["E"])([2,3,"2","3"],this.record.expand_log);this.to=t?"#ffffff":this.color.themeColor,this.bottomExtendHeight=t?30:0,this.from=this.color.themeColor,this.colorPoint=[this.emptyOffset,"100%"],this.setGradientCSS()}},{key:"setLightColor",value:function(){this.bottomExtendHeight=this.isCodeEmpty?0:56,this.to="#ffffff",this.from=this.color.themeColor,this.colorPoint=["10%","100%"],this.setGradientCSS()}},{key:"isLikeBlack",value:function(t){var e=h.a.fromHex(t),r=e.toHsvObject(),n=r.s,o=r.v;return!(n<=30&&n>0&&o<=100&&o>=90)&&(!(n<=100&&n>30&&o<=100&&o>=90||o<90&&o>=20||"#ea9118"===t||"#eeb420"===t)&&(o<20&&o>=0))}},{key:"getIsBrightMinus20",value:function(t){var e=h.a.fromHex(t),r=e.toHsvObject(),n=r.s,o=r.v;return!(n<=30&&n>0&&o<=100&&o>=90)&&(n<=100&&n>30&&o<=100&&o>=90||o<90&&o>=20||"#ea9118"===t||"#eeb420"===t)}},{key:"calcTarget",value:function(t){var e=h.a.fromHex(t),r=e.toHsvObject(),n=r.h,o=r.s,a=r.v,c="#ffffff";return o<=30&&o>0&&a<=100&&a>=90?c="#ffffff":o<=100&&o>30&&a<=100&&a>=90||a<90&&a>=20?c=h.a.fromHsvArray([n,o,a-20]).toHex():a<20&&a>=0&&(c=h.a.fromHsvArray([n,o,a+20]).toHex()),c}},{key:"fmtColor",value:function(){var t,e=this.sourceColor,r=Object(c["a"])(Object(u["k"])(e));try{for(r.s();!(t=r.n()).done;){var n=Object(a["a"])(t.value,2),o=n[0],i=n[1];e[o]=b(i).toLocaleLowerCase()}}catch(s){r.e(s)}finally{r.f()}this.color=e,this.themeType="#000000"===this.color.foreColor?"light":"dark"}},{key:"isDark",get:function(){return"dark"===this.themeType}},{key:"isLight",get:function(){return"light"===this.themeType}},{key:"dispatchLogic",value:function(t,e,r){this.ruleType===m.DARK&&t(),this.ruleType===m.DEFAULT&&(this.isDark?t():e()),this.ruleType===m.LIGHT&&e(),this.ruleType===m.SPECIAL_RECORD&&(this.isLight?e():r())}},{key:"emptySetter",value:function(t,e,r){this[t]=this.isCodeEmpty?e:r}},{key:"checkOffset",value:function(){var t=this,e=this.topComponent,r=void 0===e?[]:e,n=this.emptyOffset,o=this.deviceWidth;r.forEach((function(e){if("image"===e.component_code){var r=e.attribute_list,a=void 0===r?[]:r;if(a.length){var c=a[0],i=c.prew_type,u=c.image_height,s=c.image_width,l=c.image_style,d=Number(l.value);if(2===d||3===d){var p=0;if(2===d&&1===t.record.expand_log&&!t.isCodeEmpty&&t.isDark)p=parseInt(n,10);else if(2===d)return;var f=0;f=0===Number(i.value)?o*Number(u.value)/Number(s.value):a.reduce((function(t,e){return t+o*Number(e.image_height.value)/Number(e.image_width.value)}),0);var h=f+p;t.emptyOffset="".concat(String(h),"px"),t.colorPoint=["".concat(parseInt(h,10),"px"),"100%"],t.setGradientCSS()}}}}))}},{key:"calcOtherColor",value:function(){this.calcRecordButtonEntryBackground(),this.calcAddRecordButtonBackground(),this.calcHeadFileDownloadBtnBackground(),this.calcHeadFilePreviewBtnBackground(),this.calcRecordDividerColor(),this.calcRecordTitleColor(),this.calcHeadFileDownloadBtnColor(),this.calcHeadFilePreviewBtnColor()}},{key:"calcRecordButtonEntryBackground",value:function(){var t=this;this.dispatchLogic((function(){t.recordButtonEntryBackground=t.color.themeColor}),(function(){t.recordButtonEntryBackground=t.color.hThemeColor}),(function(){t.recordButtonEntryBackground=t.color.themeColor}))}},{key:"calcRecordButtonEntryColor",value:function(){var t=this;this.dispatchLogic((function(){t.emptySetter("recordButtonEntryColor",t.color.themeColor,"#ffffff")}),(function(){t.recordButtonEntryColor="#ffffff"}),(function(){}))}},{key:"calcAddRecordButtonBackground",value:function(){var t=this;this.dispatchLogic((function(){t.addRecordButtonBackground=v(t.color.themeColor,[0,0,0],.98)}),(function(){t.addRecordButtonBackground=v(t.color.hThemeColor,[0,0,0],.98)}),(function(){t.addRecordButtonBackground=v(t.color.themeColor,[0,0,0],.98)}))}},{key:"calcHeadFileDownloadBtnBackground",value:function(){var t=this;this.dispatchLogic((function(){t.headFileDownloadBtnBackground=v(t.color.themeColor,[0,0,-40],.2)}),(function(){t.headFileDownloadBtnBackground="#ffffff"}),(function(){t.headFileDownloadBtnBackground=v(t.color.themeColor,[0,0,-40],.2)}))}},{key:"calcHeadFileDownloadBtnColor",value:function(){var t=this;this.dispatchLogic((function(){t.headFileDownloadBtnColor="#ffffff"}),(function(){t.headFileDownloadBtnColor="#333333"}),(function(){t.headFileDownloadBtnColor="#ffffff"}))}},{key:"calcHeadFilePreviewBtnBackground",value:function(){var t=this;this.dispatchLogic((function(){t.headFilePreviewBtnBackground="#ffffff"}),(function(){t.headFilePreviewBtnBackground=t.color.hThemeColor}),(function(){t.headFilePreviewBtnBackground="#ffffff"}))}},{key:"calcHeadFilePreviewBtnColor",value:function(){var t=this;this.dispatchLogic((function(){t.headFilePreviewBtnColor=t.color.themeColor}),(function(){t.headFilePreviewBtnColor="#ffffff"}),(function(){t.headFilePreviewBtnColor=t.color.themeColor}))}},{key:"calcRecordDividerColor",value:function(){this.recordDividerColor=this.color.hThemeColor||this.color.themeColor}},{key:"calcRecordTitleColor",value:function(){this.recordTitleColor=this.color.hThemeColor||this.color.themeColor}}]),t}(),w=y,C={themeColor:"#ffffff",hThemeColor:"#ffffff",foreColor:"#000000",hForeColor:"#000000"},E=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Object(l["a"])(this,t),this.sourceColor=C,this.gradient=!1,this.color=C,this.bg="",this.titleColor="",this.other="",this.gradient=r,this.sourceColor=e,this.doFmtColor(),this.calc()}return Object(d["a"])(t,[{key:"doFmtColor",value:function(){var t,e=this.sourceColor,r=C,n=Object(c["a"])(Object(u["k"])(e));try{for(n.s();!(t=n.n()).done;){var o=Object(a["a"])(t.value,2),i=o[0],s=o[1];r[i]=b(s).toLocaleLowerCase()}}catch(l){n.e(l)}finally{n.f()}this.color=r}},{key:"isDark",get:function(){return"#ffffff"===this.color.foreColor}},{key:"calc",value:function(){"#ffffff"===this.color.themeColor?(this.bg="rgba(0, 0, 0, 0.05)",this.titleColor="rgba(0, 0, 0, 0.7)",this.other="#333333"):"#000000"===this.color.themeColor?(this.bg="rgba(255, 255, 255, 0.1)",this.titleColor="rgba(255, 255, 255, 0.7)",this.other="#ffffff"):this.isDark?(this.bg=v(this.color.themeColor,[0,0,-40],.2),this.titleColor="rgba(255, 255, 255, 0.7)",this.other="#ffffff"):(this.bg=v(this.color.hThemeColor,[0,0,-10],.1),this.titleColor="rgba(0, 0, 0, 0.7)",this.other="#333333"),"#ffdf22"===this.color.themeColor.toLocaleLowerCase()&&(this.bg=v("#000000",[0,0,0],.05))}}]),t}(),T=E,k=r("d197"),I=r("90d9"),x=function(t){var e=Object(i["B"])(t);t.qrcode_msg&&(t.qrcode_record=t.qrcode_msg.qrcode_record);var r=2===t.qrcode_record.tpl_qrcode_status,n=Object(i["s"])(t,"qrcode_compontent")||[];n=Object(u["l"])(n,(function(t){return t.component_status!==k["k"].FIXED_BOTTOM_COMPONENT}));var o=Object(u["l"])(n,(function(t){return"recordlog"!==t.component_code})),s=!o.length,l=!!Object(i["s"])(t,"org_msg.org_dest_qrcode_route",!1)&&!s,d=!t.record_summary_status,p=0===t.qrcode_record.record_add_status,f=e&&d&&2!==Object(i["s"])(t,"log_msg.recordview_position");!e&&!t.has_state||Object(i["s"])(t.qrcode_record,"top_style.theme_color",!1)||(t.qrcode_record.top_style={bg_path:"",color_style:1,font_color:"000",theme_color:"F4F4F4"});var h,b=!!Object(i["s"])(t,"qrcode_record.top_style.theme_color"),v=!1,_="",m=Object(c["a"])(Object(i["s"])(t,"qrcode_top_component",[]));try{for(m.s();!(h=m.n()).done;){var g=h.value,O="text"===g.component_code&&3===Number(g.component_status);if((O||Object(u["E"])(["audio","video","image","file"],g.component_code))&&1!==g.status){v=!0,_=g.component_code;break}}}catch($){m.e($)}finally{m.f()}var j={codeHeaderTitleInfo:{},codeColorInfo:{gradient:{},recordEntry:{}},isRecordCode:e,hasOpenRecordView:d,hasOpenRecordLog:p,isTplCode:r,isCompEmpty:s,isOrgDest:l,isHeadCode:v,headType:_,showRecordView:f,operation:t.operateData},y=!1;Object(u["o"])(t.qrcode_top_component,(function(t){if(Object(u["E"])(["video","audio","file","image"],t.component_code)&&(y=!0),"text"===t.component_code&&0===t.status&&1===t.component_status){if(""===t.attribute_list[0].content_html.value)return;j.codeHeaderTitleInfo={type:"title",title:t.attribute_list[0].content_html.value}}"recordlog"===t.component_code&&t.status}));var C=t.qrcode_top_component;Object(i["s"])(t,"log_msg.data_list.length",0)>0||(C=Object(u["l"])(C,(function(t){return"recordlog"!==t.component_code}))),r&&t.qrcode_record.name_rule&&1===t.qrcode_record.name_rule.show_status&&(j.codeHeaderTitleInfo.title=t.qrcode_record.list_name),r&&r&&t.qrcode_record.name_rule&&1!==t.qrcode_record.name_rule.show_status&&(j.codeHeaderTitleInfo={});var E=t.log_msg&&t.log_msg.rule_result&&t.log_msg.rule_result.color,x=/#/g.test(E);if(t.qrcode_record.top_style&&t.qrcode_record.top_style.theme_color){var A=t.qrcode_record.top_style,R=x?"#fff":"#".concat(A.font_color.toLocaleLowerCase()),S=x?E:"#".concat(A.theme_color.toLocaleLowerCase());j.codeColorInfo={themeColor:S,foreColor:R,recordTextColor:x?E:Object(u["E"])(["#fff","#ffffff"],R)?S:R}}else{var L=x?E:j.isHeadCode?"#f4f4f4":"#fff",D=x?E:e?"#f4f4f4":L,M=x||e?"#fff":"#000",N=x?E:Object(u["E"])(["#fff","#ffffff"],M)?D:M;j.codeColorInfo={themeColor:D,foreColor:M,recordTextColor:N}}var H=j.codeColorInfo;H.lowThemeColor=Object(u["R"])(H.themeColor),H.lowCrtColor=Object(u["Q"])(H.themeColor),Object(u["E"])(["#000","#000000"],H.foreColor)&&(Object(u["E"])(["#fff","#ffffff"],H.themeColor)?H.recordTextColor="#375f94":H.recordTextColor=H.lowCrtColor);var q,P=Object(c["a"])(Object(u["k"])(j.codeColorInfo));try{for(P.s();!(q=P.n()).done;){var B=Object(a["a"])(q.value,2),U=B[0],F=B[1],W=F.replace("#","");3===W.length&&(W=W.split("").map((function(t){return"".concat(t).concat(t)})).join("")),j.codeColorInfo[U]="#".concat(W)}}catch($){P.e($)}finally{P.f()}"#000000"===j.codeColorInfo.themeColor&&(j.codeColorInfo.lowThemeColor="#000000"),Object(i["s"])(t,"qrcode_record.top_style.theme_color")||e||!y||(j.codeColorInfo.themeColor="#ffffff",j.codeColorInfo.foreColor="#000000",j.codeColorInfo.lowThemeColor=Object(u["R"])("#ffffff"),j.codeColorInfo.lowCrtColor=Object(u["Q"])("#000000"),t.qrcode_record.top_style.color_style=1);var G={themeColor:H.themeColor,foreColor:H.foreColor,hForeColor:H.lowCrtColor,hThemeColor:H.lowThemeColor},Q=new w(G,{topComponent:C,record:t.log_msg,isCodeEmpty:s,isRecordCode:e,settedColor:b,deviceWidth:document.documentElement.clientWidth}),Y=new T(G);j.codeColorInfo.gradient=Q,j.codeColorInfo.recordEntry=Y,j.codeColorInfo.type=Object(i["s"])(t,"qrcode_record.top_style.color_style")?"gradient":"pure",Q.useDefaultColor&&!b&&(j.codeColorInfo.type="gradient");var X=C.map((function(t){return{value:Object(i["s"])(t,"attribute_list.0",{}),type:t.component_code}}));1===X.length&&("text"!==X[0].type||s||Object(i["s"])(X[0].value,"content_html.value","")||(j.codeColorInfo.type="pure"));var z=t.qrcode_record||t;if(Object(I["c"])(z)&&!b){var V=k["w"].from,K=k["w"].to,J=k["w"].gradientCSS;j.codeColorInfo.themeColor=V,j.codeColorInfo.lowThemeColor=Object(u["R"])(V),j.codeColorInfo.lowCrtColor=Object(u["Q"])(V),j.codeColorInfo.gradient.from=V,j.codeColorInfo.gradient.to=K,j.codeColorInfo.gradient.gradientCSS=J,j.codeColorInfo.type="gradient"}return{preData:j,data:t}};e["a"]=function(){var t=Object(o["a"])(Object(n["a"])().mark((function t(e){var r,o,a;return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=x(e),o=r.preData,a=r.data,t.next=3,s["a"].setKey({key:"codeInfo",value:o});case 3:return t.next=5,s["a"].setKey({key:"codeData",value:a});case 5:return t.abrupt("return",o);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},1894:function(t,e,r){"use strict";r("ac1f"),r("00b4");e["a"]=function(){var t=navigator,e=t.userAgent,r=e.toLocaleLowerCase();return/(ipad|iphone os|midp|rv:1\.2\.3\.4|ucweb|android|windows ce|windows mobile|mobile huaweibrowser|openharmony)/.test(r)}},1949:function(t,e,r){"use strict";var n=r("131c");r.d(e,"a",(function(){return n["o"]}))},"1ca8":function(t,e,r){"use strict";r("ac1f"),r("466d"),r("1276");var n=r("b6f3"),o=r("76a4");e["a"]=function(t,e){return t=t||"",Object(n["a"])(t.match(/ class="(.+?)"/g),(function(t){t=t||"";var r=t.split('"');if(3===r.length){var n=(r[1]||"").split(" ");if(Object(o["a"])(n,e))return!0}return!1}))}},"1ddc":function(t,e,r){"use strict";var n=r("a607");function o(t,e){var r=[];return t&&e?(Object(n["a"])(t,(function(t,n){e(t,n)&&r.push(t)})),r):r}e["a"]=o},2173:function(t,e,r){"use strict";r.d(e,"a",(function(){return m})),r.d(e,"c",(function(){return O})),r.d(e,"d",(function(){return y})),r.d(e,"e",(function(){return C})),r.d(e,"b",(function(){return w}));var n=r("c7eb"),o=r("1da1"),a=r("5530"),c=(r("3835"),r("b85c"),r("d3b7"),r("99af"),r("ac1f"),r("1276"),r("e9c4"),r("3c61")),i=r("4a75"),u=r("d871"),s=r.n(u),l=r("131c"),d=r("c760"),p=d["a"].COMPILER_ENV,f=c["a"].domain;var h=["/qrcoderoute/qrcodeRoute","/record/getRecordTpl","/record/getDesc","/record/addRecord","/record/getRecordsForApp","/record/getRecordsForAppSimplify","/log/collect","qrcoderoute/qrcodeRouteNew","qrcoderoute/qrcodeProperties"],b=function(t){var e=[];return Object(l["E"])(["exp","net"],p)&&(e=h),Object(l["Z"])(e,(function(e){return Object(l["E"])(t,e)}))};function v(t){return new Promise((function(e,r){var n=Object(i["I"])(t.data),o="GET"===t.method.toLocaleUpperCase(),u=o?"".concat(t.url,"?").concat(n):t.url,s=Object(a["a"])({"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},t.header||{});try{if(b(u)){var d=Object(l["i"])(Object(l["B"])(c["a"],"h5QueryString.url","")),p=d.split("/"),f=p.pop(),h=Object(l["B"])(c["a"],"codeData");if(h){var v=Object(l["B"])(h,"qrcode_record.coding","");v!==f&&(h=null)}var _=Object(l["B"])(h,"org_msg.id",""),m=p.pop(),g=Object(l["B"])(h,"org_msg.user_id",""),O=Object(l["B"])(h,"edition_msg.edition_id",""),j=Object(l["B"])(h,"edition_msg.from_edition_id",""),y={coding:f,org_id:_,org_coding:m,user_id:g,edition_id:O,from_edition_id:j};Object(l["c"])(s,{"Caoliao-Identity-Flag":Object(l["U"])(y)})}}catch(C){console.error(C)}var w={method:t.method,mode:"cors",credentials:"include",headers:s};o||("application/json"===s["Content-Type"]?w.body=JSON.stringify(t.data):w.body=n),"/create-code.html"===window.location.pathname?window.$.ajax({type:t.method,headers:s,dataType:"json",xhrFields:{withCredentials:!0},crossDomain:!0,url:u,data:n,success:function(t,r,n){console.log("------------------------------------------"),console.log("成功"),console.log(t,JSON.parse(JSON.stringify(n))),console.log(document.cookie),console.log("------------------------------------------"),e(t)},error:function(t){console.log("------------------------------------------"),console.log("失败"),console.log(t),console.log("------------------------------------------"),r(t)}}):fetch(u,w).then((function(t){return 429===t.status?t.status:t.json()})).then((function(t){e(t)})).catch((function(t){r(t)}))}))}function _(t){return new Promise(function(){var e=Object(o["a"])(Object(n["a"])().mark((function e(r,o){var a;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,v(t);case 3:a=e.sent,r(a),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),o(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t,r){return e.apply(this,arguments)}}())}function m(t){return g.apply(this,arguments)}function g(){return g=Object(o["a"])(Object(n["a"])().mark((function t(e){var r,o,a=arguments;return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=a.length>1&&void 0!==a[1]?a[1]:{},o=a.length>2&&void 0!==a[2]?a[2]:{},t.next=4,_({url:e,data:r,header:o,method:"GET"});case 4:return t.abrupt("return",t.sent);case 5:case"end":return t.stop()}}),t)}))),g.apply(this,arguments)}function O(t){return j.apply(this,arguments)}function j(){return j=Object(o["a"])(Object(n["a"])().mark((function t(e){var r,o,a=arguments;return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=a.length>1&&void 0!==a[1]?a[1]:{},o=a.length>2&&void 0!==a[2]?a[2]:{},o["Content-Type"]||(o["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),t.next=5,_({url:e,data:r,header:o,method:"POST"});case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t)}))),j.apply(this,arguments)}function y(t){var e="https://upload-api.caoliao.net/upload.php?kid=cliim",r=new FormData;return r.append("Filedata",t),new Promise((function(t,n){var o={method:"POST",mode:"cors",credentials:"include",body:r};fetch(e,o).then((function(t){return t.json()})).then((function(e){t(e)})).catch((function(t){n(t)}))}))}function w(t,e){if("h5"===c["a"].platform)return new Promise((function(r,n){s()("".concat(t,"?").concat(Object(i["I"])(e))).then((function(t){return t.json()})).then((function(t){r(t)})).catch((function(t){n(t)}))}))}function C(t){var e=f.uploadUrl,r="".concat(e,"/upload?kid=cliim"),n=new FormData;return n.append("Filedata",t),new Promise((function(t,e){var o={method:"POST",mode:"cors",credentials:"include",body:n};fetch(r,o).then((function(t){return t.json()})).then((function(e){t(e)})).catch((function(t){e(t)}))}))}},"269b":function(t,e,r){"use strict";var n=r("a607");e["a"]=function(t,e){var r={};return t&&e?(Object(n["a"])(e,(function(e){Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=t[e])})),r):r}},"26d1":function(t,e,r){"use strict";r("a434");var n=r("a607");function o(t,e){var r=[];if(!t||!e)return r;var o=[];Object(n["a"])(t,(function(t,n){e(t,n)&&(r.push(t),o.push(n))}));for(var a=o.length-1;a>=0;a--){var c=o[a];t.splice(c,1)}return r}e["a"]=o},"28ec":function(t,e,r){"use strict";r("d3b7"),r("25f0"),r("a9e3"),r("fb6a"),r("498a"),r("b680");var n=r("0cbb");e["a"]=function(t){if(Object(n["a"])(t)){var e=parseFloat(t).toString().length,r=Number(t.slice(0,e)),o=t.slice(e);switch(o.toLocaleUpperCase().trim()){case"TB":case"T":r*=1099511627776;break;case"GB":case"G":r*=1073741824;break;case"MB":case"M":r*=1048576;break;case"KB":case"K":r*=1024;break;case"B":break;default:r=0}return Number(r.toFixed(0))}return 0}},"2eeb":function(t,e,r){"use strict";e["a"]=function(t){var e,r,n=null!==(e=null===t||void 0===t||null===(r=t.option_attributes)||void 0===r?void 0:r.color_extend)&&void 0!==e?e:{},o=n.value,a=void 0===o?0:o;return a}},"300c":function(t,e,r){"use strict";r("d9e2");e["a"]=function(t,e){if(t){var r=t.length>>>0;if("function"!==typeof e)throw new TypeError("predicate must be a function");var n=arguments[1],o=0;while(o").attr("src",k)};e(window).on("log",r).on("error",Object(d["ab"])(r,2e3))},g=r("1949"),O=r("2909"),j=r("a7a1"),y=function(t){t=(t||"").toLocaleLowerCase();var e="";if(Object(d["E"])(["docx","doc"].concat(Object(O["a"])(j["f"])),t))e="doc";else if(Object(d["E"])(["ppt","pptx"].concat(Object(O["a"])(j["i"])),t))e="ppt";else if(Object(d["E"])(["pdf"],t))e="pdf";else if(Object(d["E"])(["xls","xlsx"].concat(Object(O["a"])(j["k"])),t))e="xls";else if(Object(d["E"])([].concat(Object(O["a"])(j["d"]),Object(O["a"])(j["h"])),t))e="img";else if(Object(d["E"])(j["j"],t))e="psd";else if(Object(d["E"])(j["g"],t))e="dwg";else{if(Object(d["E"])(j["a"],t))return e="zip","".concat(j["l"],"/images/mina-cli/file_").concat(e,".png?v=20250731");e="txt"}return"".concat(j["l"],"/images/mina-cli/file_").concat(e,"@2x.png?v=20250731")},w=function(){var t=navigator,e=t.userAgent,r=e.toLocaleLowerCase();return/android/.test(r)},C=r("acb3"),E=r("de79"),T=function(){var t=window.screen,e=t.width,r=t.height,n=t.availHeight,o=!1,a=r/e,c=r===n?1.8:1.65;return a>c&&(o=!0),o},k=function(t){var e=t;if(e.indexOf("?")>-1){var r=e.split("?");if(".html"===r[0].substr(-5))return e;".htm"===r[0].substr(-4)?(r[0]=r[0].replace(".htm",".html"),e=r.join("?")):(r[0]="".concat(r[0],".html"),e=r.join("?"))}else if(-1===e.indexOf("?")){if(".html"===e.substr(-5))return e;e=".htm"===e.substr(-4)?e.replace(".htm",".html"):"".concat(e,".html")}return e},I=r("9f5d"),x=(r("841c"),function(){return Object(d["bb"])(window.location.search)}),A=function(t,e){null==e&&(e=1e3);var r=0;return function(){var n=(new Date).getTime();if(!r||n-r>e){for(var o=arguments.length,a=new Array(o),c=0;c="A"&&f<="Z"&&(f=f.toLocaleLowerCase(),l.push("-")),l.push(f)}}catch(b){p.e(b)}finally{p.f()}l.push(":"),l.push(s),r.push(l.join(""))}}catch(b){n.e(b)}finally{n.f()}var h=r.join(";");return"".concat(h).concat(h.length?";":"")}function P(){var t=s["a"].platform;if("h5"===t)return/iphone/gi.test(navigator.userAgent)&&812==screen.height&&375==screen.width;var e=wx.getSystemInfoSync();return-1!=e.model.indexOf("iPhone X")}function B(){var t=s["a"].platform;if("h5"===t)return/iphone/gi.test(navigator.userAgent)&&window.screen.height>750;var e=wx.getSystemInfoSync();return e.system.indexOf("iOS")>-1&&e.windowHeight>750}var U=function(){var t=window.devicePixelRatio;return t=Math.min(t,2),t<2&&(t=2),t};function F(t){var e=window.devicePixelRatio;e=Math.min(e,2),e<2&&(e=2),t=parseFloat(t)*e;var r=46.875;return t/r}function W(t){var e=parseFloat(document.querySelector("html").style.fontSize),r=U(),n=46.875;return parseFloat(t)*r*e/n}function G(t){return 2*parseFloat(t)}function Q(t){s["a"].platform;return"".concat(F(t),"rem")}var Y=function(t){var e=!t.record_summary_status;return t.qrcode_record&&1===t.qrcode_record.log_status||e};function X(t){var e=t.split(":").reverse();return e.reduce((function(t,e,r){return t+parseInt(e,10)*Math.pow(60,r)}),0)}function z(t){t=Math.round(t);var e=function(t){return t>=10?t.toString():"0".concat(t)},r=Math.floor(t/3600),n=Math.floor((t-3600*r)/60),o=t-3600*r-60*n,a=[];return a.push(e(r)),a.push(e(n)),a.push(e(o)),3===a.length&&"00"===a[0]&&(a=a.slice(1,a.length)),a.join(":")}var V=function(){return navigator.userAgent.split(" ").join("")};function K(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=new Date,n=r.getTime(),o=(n-t)/1e3,a=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t.length>=e?t:"".concat(new Array(e-t.length+1).join(r)).concat(t)};if(o<=60)return"刚刚";if(o<=3600)return"".concat(parseInt(o/60),"分钟前");if(o<=86400)return"".concat(parseInt(o/60/60),"小时前");if(o<=604800)return"".concat(parseInt(o/60/60/24),"天前");var c=new Date(t);return"".concat(c.getFullYear()).concat(e||"年").concat(a(String(c.getMonth()+1),2,"0")).concat(e||"月").concat(a(String(c.getDate()),2,"0")).concat(e?"":"日"," ").concat(a(String(c.getHours()),2,"0"),":").concat(a(String(c.getMinutes()),2,"0"))}function J(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t)return"";var n="",o="",a="";if(Array.isArray(e)){var c=Object(i["a"])(e,3);n=c[0],o=c[1],a=c[2]}else n=e,o=e;var u=new Date(1e3*t),s=u.getFullYear(),l=u.getMonth()+1,d=u.getDate(),p=s===(new Date).getFullYear(),f=u.getHours(),h=u.getMinutes();return f=f>9?f:"0".concat(f),h=h>9?h:"0".concat(h),"".concat(p&&!r?"":"".concat(s).concat(n)).concat(l).concat(o).concat(d).concat(a," ").concat(f,":").concat(h)}var $=function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=e.attribute_list[0]["".concat(r,"_url")],a=t.org_msg,i=t.qrcode_record,u=t.edition_msg,s=e.org_id,d=e.play_token,p=e.id,f=e.is_private,h=e.tpl_component_id,b=t.qrcode_record,v=b.coding,_=b.tpl_qrcode_coding,m=a.is_paid_user,g=i.list_name,O=u.edition_id;return Object(c["a"])({av_url:o.value,coding:1===f?v:_,component_id:1===f?p:h,org_id:s,play_token:d,ua:V(),openid:n||Object(l["k"])(),is_paid_user:m,edition_id:O,qrcode_name:g},t.from_record?{from_record:1}:{})},Z=function(t){return t.replace(/\d/g,"").replace(/\./g,"").replace(/-/g,"")},tt=function(t){return t=parseFloat(t),1.333333333*t},et=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15e3,r=!1;return new Promise(function(){var c=Object(a["a"])(Object(n["a"])().mark((function a(c,i){var u,s;return Object(n["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,u=setTimeout((function(){var t={timeout:!0,data:{}};i(t),r=!0}),e),n.next=4,t();case 4:s=n.sent,clearTimeout(u),r||c(s),n.next=13;break;case 9:n.prev=9,n.t0=n["catch"](0),i({timeout:!1,data:n.t0,oth:"object"===Object(o["a"])(n.t0)?n.t0.toString():n.t0}),r=!0;case 13:case"end":return n.stop()}}),a,null,[[0,9]])})));return function(t,e){return c.apply(this,arguments)}}())},rt=function(){var t=navigator.userAgent;return t.match(/MicroMessenger\/[0-9]/i)},nt=function(){return navigator.userAgent.match("miniProgram")};function ot(){var t=navigator.userAgent.toLowerCase();return t.indexOf("micromessenger")>-1&&t.indexOf("wxwork")>-1}function at(){var t=navigator.userAgent;return!/iPhone|Mobile|Android/i.test(t)&&(!!/MacWechat|WindowsWechat/i.test(t)||!/wxwork|MicroMessenger/i.test(t)&&/(Windows NT|Macintosh|Mac OS X|X11; Linux|Ubuntu)/i.test(t))}var ct=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t.length>=e?t:"".concat(new Array(e-t.length+1).join(r)).concat(t)},it=function(t,e){t<1e10&&(t*=1e3);var r,n=new Date(t),o=0;return n.getFullYear()!==(new Date).getFullYear()&&(o=n.getFullYear()),r=e?"".concat(o?"".concat(o,"年"):"").concat(parseInt(ct((n.getMonth()+1).toString(),2,"0"),10),"月").concat(parseInt(ct(n.getDate().toString(),2,"0"),10),"日 ").concat(ct(n.getHours().toString(),2,"0"),":").concat(ct(n.getMinutes().toString(),2,"0")):"".concat(ct(n.getHours().toString(),2,"0"),":").concat(ct(n.getMinutes().toString(),2,"0")),r}},"4dab":function(t,e,r){"use strict";var n;(function(t){t[t["GROUPS"]=1]="GROUPS",t[t["FORM_EDITOR"]=2]="FORM_EDITOR"})(n||(n={})),e["a"]=n},"5af5":function(t,e,r){"use strict";function n(t,e){var r=null;if(t)try{r=JSON.parse(t)}catch(n){console.error(n)}return null==r&&null!=e&&(r=e),r}e["a"]=n},6022:function(t,e,r){"use strict";r.d(e,"f",(function(){return tt})),r.d(e,"h",(function(){return nt})),r.d(e,"b",(function(){return ut})),r.d(e,"i",(function(){return dt})),r.d(e,"d",(function(){return ht})),r.d(e,"g",(function(){return gt})),r.d(e,"a",(function(){return Tt})),r.d(e,"e",(function(){return It})),r.d(e,"c",(function(){return Rt}));var n,o,a=r("15fd"),c=r("3835"),i=r("c7eb"),u=r("1da1"),s=r("53ca"),l=r("5530"),d=r("d4ec"),p=r("bee2"),f=r("2909"),h=(r("99af"),r("4ec9"),r("d3b7"),r("3ca3"),r("ddb0"),r("7db0"),r("a15b"),r("ac1f"),r("5319"),r("159b"),r("e9c4"),r("d81d"),r("9ab4")),b=r("005c"),v=r("3c61"),_=r("b127"),m=r("4a75"),g=r("d197"),O=r("1599"),j=r("d1b2"),y=r("131c"),w=r("f1d0"),C=r("08f7"),E=r("a607"),T=r("dfe4"),k=r("0c6d"),I=r("8262"),x=r("e548"),A=function(){function t(e){var r=e.layout,n=e.project,o=e.dpr,a=e.windowWidth,c=e.margin;Object(d["a"])(this,t),this.layout=null,this.project=null,this.originDpr=1,this.originWindowWidth=0,this.margin=0,this.computedDpr=1,this.computedWindowWidth=0,this.computedLayout=null,this.layout=r,this.project=n,this.originDpr=o,this.originWindowWidth=a,this.margin=c,this.computeDpr(),this.computeWindowWidth(),this.computeLayout()}return Object(p["a"])(t,[{key:"computeDpr",value:function(){var t=this.originDpr;this.computedDpr=Object(k["a"])(t)}},{key:"computeWindowWidth",value:function(){var t=this.project,e=this.computedDpr,r=this.originWindowWidth;this.computedWindowWidth=Object(I["a"])({project:t,computedDpr:e,originWindowWidth:r})}},{key:"computeLayout",value:function(){var t=this.layout;if(t){var e=Object(C["a"])(t,"table.wrapperWidth",0),r=Object(C["a"])(t,"table.wrapperBorderWidth",0),n=Object(C["a"])(t,"table.width",0),o=this.getMaxWidth();if(!(n+2>e+2*r&&n>o)){var a=o/n,c=Object(C["a"])(t,"rows",[]),i=[];Object(E["a"])(c,(function(t){var e=[];Object(E["a"])(t,(function(t){var r=Object(C["a"])(t,"width");e.push({width:r?Math.floor(r*a):r})})),i.push(e)}));var u=Object(C["a"])(t,"cols",[]),s=Object(T["a"])(u,(function(t){var e=Object(C["a"])(t,"width");return Object(l["a"])(Object(l["a"])({},t),{},{width:e?Math.floor(e*a):e})}));this.computedLayout={table:{width:Math.floor(n*a)},rows:i,cols:s}}}}},{key:"getComputedLayout",value:function(){return this.computedLayout}},{key:"getMaxWidth",value:function(){var t=this.project,e=this.margin,r=t===w["k"].MPCLI?375:this.computedWindowWidth;return Object(x["b"])({type:x["a"].TABLE,project:t,computedWindowWidth:r,margin:e})}}]),t}(),R=A,S=r("b6f3"),L=r("76a4"),D=function(t){return Object(S["a"])(t,(function(t){var e=t.component_code;if("text"===e){var r=Object(C["a"])(t,"attribute_list.0.content_html.value","");return Object(L["a"])(r,"'!==o&&(!Object(M["a"])(o,"stylelib-wrapper")||Object(L["a"])(o,' data-contenteditable="true"'))&&o===r)return e=!0,!1;r=o})),e},H=r("03d1"),q=function(t){return Object(S["a"])(t,(function(t){var e=t.component_code;return"image"===e&&H["a"].hasNoSize(t)}))},P=r("5af5"),B=function(t){return Object(S["a"])(t,(function(t){var e=t.component_code;if("table"!==e)return!1;var r=Object(C["a"])(t,"attribute_list.0.table_html.value",""),n=Object(P["a"])(r,{}),o=Object(C["a"])(n,"columns",[]),a="",c=0;return Object(E["a"])(o,(function(t){var e=t.title,r=t.colSpan,n=void 0===r?0:r;a=a||e,c+=n})),!!a&&0===c}))},U=r("cb9b"),F=25e6,W=function(t){return Object(S["a"])(t,(function(t){var e=t.component_code,r=Object(C["a"])(t,"attribute_list",[]);return"image"===e?Object(S["a"])(r,(function(t){var e=Object(C["a"])(t,"image_width.value",""),r=Object(C["a"])(t,"image_height.value",""),n=parseInt(e,10),o=parseInt(r,10);return Object(U["a"])(n)&&(n=0),Object(U["a"])(o)&&(o=0),n*o>F})):"batchImage"===e&&Object(S["a"])(r,(function(t){var e=Object(C["a"])(t,"image_url.value",[]);return Object(S["a"])(e,(function(t){var e=Object(C["a"])(t,"value",{}),r=Object(C["a"])(e,"width",""),n=Object(C["a"])(e,"height",""),o=parseInt(r,10),a=parseInt(n,10);return Object(U["a"])(o)&&(o=0),Object(U["a"])(a)&&(a=0),o*a>F}))}))}))},G=r("2eeb"),Q=r("360b"),Y=r("87f6"),X=r("7bc7"),z={responses:[{status:200,reason:"ok",body:'{"code":1,"msg":{"text":"操作成功","code":"0"},"data":{"need_check":0,"qrcode_msg":{"qrcode_record":{"id":6717483,"coding":"qbAjKPs","wx_url":"","web_url":"https:\\/\\/qr46.cn\\/owE2U3\\/qbAjKPs","wxcode_url":"","qrcode_url":"https:\\/\\/qrapi.cliim.net\\/newqr\\/create?level=H&transparent=0&bgcolor=%23FFFFFF&forecolor=%23000000&blockpixel=12&marginblock=2&logourl=&size=400&text=&data=https%3A%2F%2Fqr46.cn%2FowE2U3%2FqbAjKPs&kid=bizcliim&time=1764207404&key=1b230901a075e1f657d5dd02df263bbc","list_name":"213","qrcode_name":null,"scene_module_id":0,"desc":"","category_id":230809,"tpl_id":193825,"identity_id":0,"org_id":94885797,"update_time":1764207400,"create_time":1764169421,"status":0,"preset_case":0,"show_org_dest":0,"can_scan_update":0,"is_mobile_updated":0,"create_from":126,"tpl_qrcode_status":0,"tpl_qrcode_updated":0,"batch_id":0,"log_status":0,"excel_status":0,"tpl_name":"","batch_name":"","route_type":3,"record_summary_status":1,"project_id":0,"qrcode_sort":0,"is_freeze":0,"serial_number":0,"share_qrcode_url":"https:\\/\\/qrapi.cliim.net\\/newqr\\/create?level=H&transparent=0&bgcolor=%23FFFFFF&forecolor=%23000000&blockpixel=12&marginblock=2&logourl=&size=400&text=&data=https%3A%2F%2Fqr46.cn%2FowE2U3%2FqbAjKPs%2Fshare&kid=bizcliim&time=1764207404&key=1d9e8fe014c343f8c8c71246493def74","qrstyle_url":"","top_style":[],"record_add_status":0,"component_value_empty":1},"qrcode_compontent":[],"qrcode_top_component":[{"id":4190833,"qrcode_id":6717483,"component_code":"text","identity_id":0,"sort":1,"status":0,"tpl_com_id":996828,"org_id":94885797,"batch_id":0,"real_group_id":0,"component_status":1,"template_component_id":0,"template_component_info":"","form_component_id":0,"form_component_title":"","attribute_list":[{"content_html":{"id":145839223,"value":"","status":0,"attribute_id":10,"group_id":0,"real_group_id":1,"tpl_com_id":996828,"name":"文本 html 片段","is_default_value":0,"multiple_id":"136870198","attribute_multiple_id":5}}],"group_count":1,"encryption":"9e3388df98fe2465183cd6539d6382ab"},{"id":4190839,"qrcode_id":6717483,"component_code":"file","identity_id":0,"sort":3,"status":0,"tpl_com_id":996834,"org_id":94885797,"batch_id":0,"real_group_id":0,"component_status":1,"template_component_id":0,"template_component_info":"","form_component_id":0,"form_component_title":"","attribute_list":[{"file_url":{"id":833702,"value":"https:\\/\\/ncstatic.clewm.net\\/rsrc\\/2025\\/1127\\/09\\/3d5f509db7664005a2bf508fb668d41b.docx?auth_key=1409d5941fe768693989935ff7eb350c×tamp=1764207410","status":0,"attribute_id":9,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"文件地址","is_default_value":0,"source_id":8966479},"file_size":{"id":833703,"value":"15.21 KB","status":0,"attribute_id":13,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"文件大小","is_default_value":0},"file_name":{"id":833704,"value":"demo.docx","status":0,"attribute_id":18,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"文件名称","is_default_value":0},"can_download":{"id":833705,"value":"1","status":0,"attribute_id":109,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"是否允许下载","is_default_value":0},"file_register_time":{"id":833706,"value":"","status":0,"attribute_id":150,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"文件阅读时长","is_default_value":0},"file_preview_hide_menu":{"id":833707,"value":"0","status":0,"attribute_id":156,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"文件预览隐藏菜单","is_default_value":0},"file_preview_mode":{"id":833708,"value":"2","status":0,"attribute_id":157,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"文件预览方式","is_default_value":0},"file_style":{"id":833709,"value":"","status":0,"attribute_id":159,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"文件样式","is_default_value":0},"can_share":{"id":833710,"value":"1","status":0,"attribute_id":163,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"是否允许分享","is_default_value":0},"open_readregister":{"id":833711,"value":"0","status":0,"attribute_id":164,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"开启文件签阅","is_default_value":0},"file_register_config":{"id":833712,"value":"","status":0,"attribute_id":204,"group_id":0,"real_group_id":1,"tpl_com_id":996834,"name":"阅后登记配置","is_default_value":0},"can_preview":{"value":1},"can_wxwork_download":true}],"group_count":1,"encryption":"3b1b95c08663dc575cf0572c1097108c"},{"id":4190840,"qrcode_id":6717483,"component_code":"recordlog","identity_id":0,"sort":4,"status":2,"tpl_com_id":996835,"org_id":94885797,"batch_id":0,"real_group_id":0,"component_status":1,"template_component_id":0,"template_component_info":"","form_component_id":0,"form_component_title":""}],"record_tpl_token":[],"direct_preview_file_url":"","visible_auth_info":{"open_auth":0,"user_info":{"user_id":0,"member_id":0},"has_power_comps":[],"edit_need_audit":0,"open_password_info":[],"open_location_info":[],"open_time_info":[],"data_authtype":0,"auth_list":[],"first_edituser_ass_id":[],"power_status":16,"need_user_auth":0,"auth_limit":[],"need_join_member":0,"need_join_auth_member":0},"open_methods":{"scan":true,"press":true,"share":true,"other_app":true},"valid_time":{"start_time":"","end_time":"","valid_days_num":-2},"cover_image":{"type":0,"url":""},"share_setting":{"title":"","desc":"","image_url":""},"file_registration":[]},"status_code":"qrcode_0_success","qrcode_addition_msg":{"qrcode_id":6717483,"auth_set_subject":1,"is_mobile_updated":0,"log_msg_tag":"","expand_log":4,"disabled_open_methods":0,"cover_image":"","remarks":"","share_setting":"","is_disabled":0,"start_time":0,"end_time":0,"valid_days_num":-2,"expand_btn":"","cvid":0,"show_collect":3,"show_share":2,"show_record_editlog":0,"recordview_position":4,"record_summary_title":"","show_homepage":2,"show_bottom_homepage":2,"bottom_homepage_meta":"","open_codereview":0,"default_qrlabel_show_type":0,"share_style":0,"open_readregister":0,"open_direct_preview":0,"soncode_edit_position":0,"open_workorder":0,"state_show_mode":4,"record_summary_status":1,"subscribe_status":0,"show_manage":2,"show_font_size":2,"show_footer":3,"show_tabbar":0,"show_markdown":0,"allow_crawler":0,"ai_assistant":"{\\"enable\\":0,\\"show_style\\":0,\\"brand_name\\":\\"AI 解读\\",\\"brand_logo\\":\\"\\",\\"greeting\\":\\"\\",\\"prompt_code\\":\\"general\\",\\"prompt_text\\":\\"- 你是一位专业的内容问答与解读专家,为用户提供内容解读服务。\\\\n- 你能够能够快速阅读和理解内容中的关键信息和逻辑结构,擅长用通俗易懂的语言解释复杂的内容。\\\\n- 你能根据用户的问题精准地解读关键信息,提供清晰准确、简洁易懂的答复。\\\\n- 回答问题时应确保内容准确无误,语言应简单易懂,避免使用过于复杂的技术术语。\\\\n\\",\\"agent_id\\":\\"\\",\\"scan_to_enter\\":0,\\"view_origin_text\\":0,\\"ques_num\\":3,\\"ques_list\\":[],\\"follow_ques\\":0,\\"reply_length\\":2}","screenshot_conf":{"is_logo":1,"logo_url":"https:\\/\\/ncstatic.clewm.net\\/rsrc\\/2023\\/0526\\/10\\/8c02b8677a54b0a9f146fe4593a9b84c.png?auth_key=f61ef9d201ed91d781279ca94331a52f×tamp=1764207410","is_com_name":1,"com_name":"1","type":1,"update_time":false},"card_type":3,"bottom_style":4,"has_subscribed":0,"can_subscribe":0},"org_msg":{"id":94885797,"user_id":805364,"name":"1","coding":"owE2U3","org_dest_qrcode":0,"status":0,"is_auth":1,"show_dest_qrcode":0,"logo_path":"https:\\/\\/ncstatic.clewm.net\\/rsrc\\/2023\\/0526\\/10\\/8c02b8677a54b0a9f146fe4593a9b84c.png","memo":"","auth_type":0,"auth_used":"","auth_message":"","auth_request_time":0,"auth_file_prove":"","auth_file_other":"","open_id":"","auth_deal_time":0,"auth_status":1,"social_code":"","target_record_id":0,"route_type":3,"private_xcx_status":0,"custom_route_type":1,"subscribe_wxacode":"","capacity_time":1764207410,"capacity_publickey":"6460c13794a98a24bb62e4dcbb085c74","build_module_weburl_time":1764207410,"build_module_weburl_publickey":"667938edb3b6321abc3a52420004f01f","for_external_name":"1","org_manger_name":""},"subscribe_auth_info":{"auth_list":[{"data_id":6717483,"org_id":94885797,"data_type":13,"auth_type":4,"privi_type":"edit","group_list":[]}],"data_authtype":4,"need_join_member":1,"need_user_auth":1,"power_status":16},"preview_token":{"time":1764207410,"signature":"4d805cd3c009ae1b10c1e602795da64f"}},"url":"","wait":3}'},{status:200,reason:"ok",body:'{"code":1,"msg":{"text":"操作成功","code":0},"data":{"total_tpls":0,"origin_tpl_list":[],"read":[],"hide":0,"rule_result":[],"expand_log":4,"log_msg_tag":"","record_summary_title":null,"open_codereview":0,"open_readregister":0,"open_direct_preview":0,"state_show_mode":4,"record_summary_status":1,"expand_btn":"添加记录","show_record_editlog":0,"recordview_position":4,"recordview_extend":{"ext_info":{"recordview_position":4,"nums":3,"content_type":[1,2,3],"content_position":1,"owner_record_summary_title":"我填写的","owner_record_summary_status":1},"operation_ext_info":{"btn_color":"","btn_border_radius":4,"btn_background":1,"btn_font_color":"","btn_color_picker_img":"","btn_img_main_colors":"","btn_color_from":0,"content_position":1},"statistics_configs":[]},"log_status":0},"url":"","wait":3}'},{status:200,reason:"ok",body:'{"code":1,"msg":{"text":"操作成功","code":0},"data":[],"url":"","wait":3}'},{status:200,reason:"ok",body:'{"code":1,"msg":"","data":[],"url":"","wait":3}'},{status:200,reason:"ok",body:'{"code":1,"msg":{"text":"操作成功","code":0},"data":{"org_msg":{"edition_id":44,"from_edition_id":44,"is_paid_user":1,"media_flow_limited":1,"media_flow_total":"14336000.00000000","media_flow_used":"26.52248764","org_dest_qrcode_route":"","homepage_qrcode_url":""},"qrcode_msg":{"auth_info":[],"is_collect":0,"case_bg_path":"","is_special_code":0,"is_org_dest_qrcode":0,"show_collect":1,"show_manage":1,"show_font_size":2,"show_share":1,"show_homepage":0,"show_bottom_homepage":0,"show_powered_by":0,"share_style":0,"bottom_homepage_meta":{"remark":"","jump_type":3,"jump_link":"","title":"1","logo":"https:\\/\\/ncstatic.clewm.net\\/rsrc\\/2023\\/0526\\/10\\/8c02b8677a54b0a9f146fe4593a9b84c.png?auth_key=f61ef9d201ed91d781279ca94331a52f×tamp=1764207410","company_profile":[]},"screenshot_conf":{"is_logo":1,"logo_url":"https:\\/\\/ncstatic.clewm.net\\/rsrc\\/2023\\/0526\\/10\\/8c02b8677a54b0a9f146fe4593a9b84c.png?auth_key=f61ef9d201ed91d781279ca94331a52f×tamp=1764207410","is_com_name":1,"com_name":"1","type":1,"update_time":false},"card_type":1,"bottom_style":3,"log_status":0,"powered_by_style_version":"","powered_by_style_versions":{"powerby_style_20240717":"","powerby_style_20250310":"e"},"show_complain":0,"soncode_edit_position":0,"state_show_mode":4,"record_summary_status":1,"show_org_card":0},"record_msg":{"log_status":0,"log_msg_tag":"","expand_log":4,"show_record_editlog":0,"recordview_position":4,"open_codereview":0,"open_readregister":0,"state_show_mode":4,"record_summary_status":1},"low_quality":0,"encoded_user_id":"owE2U3","qrcode_setting_msg":{"review_set":[],"bgimage_set":[],"common_set":{"id":14441,"org_id":94885797,"code_id":6717483,"option_attributes":{"code_title_format":{"cancelBold":false,"italics":false,"underline":false,"color":"","fontSize":28}},"create_time":1764169421,"update_time":1764207400},"bottom_warn":{"type":0},"ai_assistant":{"enable":0,"show_style":0,"brand_name":"AI 解读","brand_logo":"","greeting":"","prompt_code":"general","prompt_text":"- 你是一位专业的内容问答与解读专家,为用户提供内容解读服务。\\n- 你能够能够快速阅读和理解内容中的关键信息和逻辑结构,擅长用通俗易懂的语言解释复杂的内容。\\n- 你能根据用户的问题精准地解读关键信息,提供清晰准确、简洁易懂的答复。\\n- 回答问题时应确保内容准确无误,语言应简单易懂,避免使用过于复杂的技术术语。\\n","agent_id":"","scan_to_enter":0,"view_origin_text":0,"ques_num":3,"ques_list":[],"follow_ques":0,"reply_length":2},"image_conf":{"default_size":-1}}},"url":"","wait":3}'}]},V=["url","psw","pos","token","lastedId","pageSize","page","listType"],K=v["a"].domain,J={"/qrcoderoute/qrcodeRouteNew":"qrcode_data","/operation/getQrcodeOperationByQrcodeRoute":"operation_data","/qrcoderoute/getQrcodeProperties":"qrcode_properties_data","/record/getRecord":"qrcode_record_data","/record/getRecordTpl":"tpl_data","/qrcoderoute/getQrcodeRecordEntrance":"tpl_entrance_data","/qrcoderoute/getTargetStateMsg":"state_data","/task/getTargetQrcodeTaskMsg":"task_data","/category/getListByCategoryRoute":"category_data","/record/getQrcodeDynamicAuth":"qrcode_dynamic_data","/template_qrcode/getEditPower":"child_edit_power"},$=function(t){t.data||(t.data={}),t.data.qrcode_msg=t.data.qrcode_msg||{qrcode_record:{},codeCommonInfo:{codeColorInfo:{},codeHeaderTitleInfo:{}},qrcode_top_component:{},qrcode_component:{}};var e=t.data;if(e.code=t.msg.code,e.errorTips=t.msg.text,"h5"===v["a"].platform){var r=window,n=r.$,o=Object(m["s"])(e,"qrcode_msg.qrcode_compontent",[]);try{var a=Object(m["s"])(e,"qrcode_msg.qrcode_top_component",[]),c=Object(m["s"])(e,"qrcode_msg.qrcode_record.id");Object(m["s"])(e,"qrcode_msg.qrcode_record")&&(e.qrcode_msg.qrcode_record.user_id=Object(m["s"])(e,"org_msg.user_id")),q([].concat(Object(f["a"])(o),Object(f["a"])(a)))&&n(window).trigger("log",[{from:"imageHasNoSize",message:{qrCodeId:c}}]),D(o)&&n(window).trigger("log",[{from:"hasImgTag",message:{qrCodeId:c}}]),N(o)&&n(window).trigger("log",[{from:"hasRepeatText",message:{qrCodeId:c}}]),B(o)&&n(window).trigger("log",[{from:"isColspanError",message:{qrCodeId:c}}]),W([].concat(Object(f["a"])(o),Object(f["a"])(a)))&&n(window).trigger("log",[{from:"exceedImagePxLimit",message:{qrCodeId:c}}])}catch(i){console.error(i)}}return t.data},Z=n=function(){function t(){Object(d["a"])(this,t),this.cache=new Map,this.expiryTimeInSeconds=30,this.handleRichText=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.qrcodeCompontent,r=t.isColorExtend;if("h5"===v["a"].platform)try{var n=window,o=n.$,a=window,c=a.devicePixelRatio,i=window,u=i.innerWidth;Object(y["o"])(e,(function(t){var e=Object(m["s"])(t,"component_code");if("text"===e){var n=Object(m["s"])(t,"attribute_list.0.content_html",{}),a=Object(m["s"])(n,"value","");if(Object(m["u"])(a,"cke_table_wrapper")){var i=o("
").html(a),s=i.find(".cke_table");if(1===s.length){var l=Object(y["W"])(s.attr("data-layout"));if(l){var d=new R({layout:l,project:w["k"].MPCLI,dpr:c,windowWidth:u,margin:r?10:16}),p=d.getComputedLayout();Object(m["f"])("computedLayout",p);var h=Object(m["s"])(p,"cols",[]);h.length&&(s.find("colgroup").remove(),s.addClass("x-fixed").css({width:Object(m["s"])(p,"table.width","auto")}).prepend([""].concat(Object(f["a"])(Object(y["S"])(h,(function(t){var e=Object(m["s"])(t,"width");return e?''):""}))),[""]).join("")),n.value=i.html())}}i.remove()}else if(Object(m["u"])(a,"stylelib-wrapper")){var b=Object(m["v"])(a,'data-key="table-tpl21"')||Object(m["v"])(a,'data-key="previewTable-table-tpl21"'),v=Object(m["v"])(a,'data-key="table-tpl22"')||Object(m["v"])(a,'data-key="previewTable-table-tpl22"'),_=Object(m["v"])(a,'data-key="table-tpl23"')||Object(m["v"])(a,'data-key="previewTable-table-tpl23"');if(b||v||_){var g=o('
').html(a).appendTo("body");g.find(".stylelib-list-item:visible:first").css({"border-top-width":0}),n.value=g.html(),g.remove()}}}}))}catch(s){console.error(s)}},o=this}return Object(p["a"])(t,[{key:"generateCacheKey",value:function(t,e){var r=Object(m["I"])(e);return"".concat(t,"?").concat(r)}},{key:"getFromCache",value:function(t){var e=this.cache.get(t);if(e){var r=e.timestamp,n=e.data,o=Date.now(),a=1e3*this.expiryTimeInSeconds;if(o-r-1,v=Object(l["a"])(Object(l["a"])(Object(l["a"])({qrcode_route:e,password:r},n&&n.lon?{longitude:n.lon,latitude:n.lat}:{}),o||{}),{},{render_default_fields:p,render_component_number:h,render_edit_btn:i||1},"object"===Object(s["a"])(c)?c:{});return b&&(v.client="ALIPAY_H5"),v}},{key:"getCodeInfoNew",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r,n,a,c,u,s,l;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=e.url,n=e.psw,a=e.pos,c=e.token,u=e.alipay,s=e.options,l=e.renderEditBtn,t.abrupt("return",o.getCodeInfoNewParams({url:r,psw:n,pos:a,token:c,alipay:u,options:s,renderEditBtn:l}));case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getQrcodePropertiesParams",value:function(t,e,r){return r?Object(l["a"])(Object(l["a"])({qrcode_route:t},e||{}),{},{client:"alipay_app"}):Object(l["a"])({qrcode_route:t},e||{})}},{key:"getQrcodeProperties",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e,r,n){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",o.getQrcodePropertiesParams(e,r,n));case 1:case"end":return t.stop()}}),t)})));function e(e,r,n){return t.apply(this,arguments)}return e}()},{key:"getRecordInfoParams",value:function(t,e,r){return"#/"===t.substr(t.length-2,2)&&(t=t.replace(/#\//g,"")),{qrcode_route:t,password:null,env:"h5",org_id:r}}},{key:"getRecordInfo",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e,r,n){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",o.getRecordInfoParams(e,r,n));case 1:case"end":return t.stop()}}),t)})));function e(e,r,n){return t.apply(this,arguments)}return e}()},{key:"getRecordInfoDissociate",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e,r,n){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return"#/"===e.substr(e.length-2,2)&&(e=e.replace(/#\//g,"")),t.abrupt("return",{qrcode_route:e,password:null,env:"h5",org_id:n});case 2:case"end":return t.stop()}}),t)})));function e(e,r,n){return t.apply(this,arguments)}return e}()},{key:"getUrlSchema",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e,r,n,o){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n||(n="wx5db79bd23a923e8e"),r=encodeURIComponent(r),e=encodeURIComponent(e),n=encodeURIComponent(n),o=encodeURIComponent(o),t.abrupt("return",{query:r,path:e,appid:n,org_coding:o});case 6:case"end":return t.stop()}}),t)})));function e(e,r,n,o){return t.apply(this,arguments)}return e}()},{key:"getWxCorpIdByOrgCode",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r,n;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=e.orgCode,n=e.env,t.abrupt("return",{org_code:r,env:n});case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getJsConfig",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r,n,o,a;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=e.corpId,n=e.suiteId,o=e.url,a=e.isAgent,t.abrupt("return",{corp_id:r,suite_id:n,url:o,is_agent:a});case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getQrcodeOperationByQrcodeRouteParams",value:function(t,e){var r={qrcode_route:t,env:"h5"};return null!=e&&Object(y["c"])(r,{scan_source:e}),r}},{key:"getQrcodeOperationByQrcodeRoute",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e,r){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",o.getQrcodeOperationByQrcodeRouteParams(e,r));case 1:case"end":return t.stop()}}),t)})));function e(e,r){return t.apply(this,arguments)}return e}()},{key:"doGetTargetStateMsg",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getTargetStateMsgParams",value:function(t){return{qrcode_route:t,with_state_change_log:1}}},{key:"getTargetStateMsg",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r,o,a,c;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(r=this.getTargetStateMsgParams(e),o=this.generateCacheKey(n.GET_TARGET_STATE_MSG_URL,r),a=this.getFromCache(o),!a){t.next=6;break}return console.log("Returning cached data"),t.abrupt("return",a);case 6:return t.next=8,this.doGetTargetStateMsg(r);case 8:return c=t.sent,this.saveToCache(o,c),t.abrupt("return",c);case 11:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getRecordEventMsg",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{qrcode_route:e});case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getAvConvertStatusByPath",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{path:e});case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getResultByComponent",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getPathAvhumbLogInfo",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{path:e});case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getPathAvthumbInfo",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getTargetQrcodeTaskMsg",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{qrcode_route:e});case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getStateMsg",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{state_id:e});case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getTargetStateLog",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e,r,n){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{state_id:e,qrcode_route:r,page:n});case 1:case"end":return t.stop()}}),t)})));function e(e,r,n){return t.apply(this,arguments)}return e}()},{key:"onlychecked",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e,r){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{coding:e,org_code:r,js_code:"",app_id:"",mini_type:"h5"});case 1:case"end":return t.stop()}}),t)})));function e(e,r){return t.apply(this,arguments)}return e}()},{key:"getCodeInfoAllWithOneRequest",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r,n,a,u,s,d,p,f,h,b,_,m,g,O;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=e.url,n=e.psw,a=e.pos,u=e.token,s=e.org_id,d=e.alipay,p=e.renderEditBtn,f=e.withLocalData,h=e.localDataContext,b=v["a"].getQrcodePropertiesLimit,_=[{path:"/qrcoderoute/qrcodeRouteNew",body:o.getCodeInfoNewParams({url:r,psw:n,pos:a,token:u,alipay:d,renderEditBtn:p})},{path:"/record/getRecordTpl",body:o.getRecordInfoParams(r,n,s)},{path:"/qrcoderoute/getTargetStateMsg",body:o.getTargetStateMsgParams(r)},{path:"/operation/getQrcodeOperationByQrcodeRoute",body:o.getQrcodeOperationByQrcodeRouteParams(r,1)}],b||_.push({path:"/qrcoderoute/getQrcodeProperties",body:o.getQrcodePropertiesParams(r,u,d)}),m=Object(y["A"])("package_id",window.location.href),g=Object(y["A"])("rendering_mode",window.location.href),_.forEach((function(t){Object(Y["b"])((function(){return!0}),m,t.body),g&&(t.body.rendering_mode=g)})),O=function(t){var e={};_.forEach((function(r,n){var o=J[r.path];e[o]=JSON.parse(t.responses[n].body)}));var r={code:1,data:e};return r},t.abrupt("return",new Promise((function(t,e){if(f){var r=Object(y["h"])(z);return h.beforeSetLocalData?void t(O(h.beforeSetLocalData(r))):void t(O(r))}window.$.ajax({url:"".concat(K.decodeUrl,"/batch-requests"),method:"POST",dataType:"json",xhrFields:{withCredentials:!0},data:JSON.stringify({requests:_.map((function(t){return Object(l["a"])(Object(l["a"])({method:"POST",timeout:1e4,header:{"content-type":"application/x-www-form-urlencoded"}},t),{},{body:Object(y["k"])(t.body).map((function(t){var e=Object(c["a"])(t,2),r=e[0],n=e[1];return"".concat(r,"=").concat(encodeURIComponent(n))})).join("&")})}))}),headers:{"Content-Type":"application/json"},success:function(e){t(O(e))},error:function(t){e(t)}})})));case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getCodeInfoAll",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r,n,o,a,u,s,d,p,f,h=this;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=e.url,n=e.psw,o=e.pos,a=e.token,u=e.org_id,s=e.alipay,d=e.renderEditBtn,p=e.withLocalData,f=e.localDataContext,t.abrupt("return",new Promise((function(t,e){var i=v["a"].getQrcodePropertiesLimit,b=new Promise((function(t){h.getCodeInfoAllWithOneRequest({url:r,psw:n,pos:o,token:a,org_id:u,alipay:s,renderEditBtn:d,withLocalData:p,localDataContext:f}).then((function(e){var r=e.data,n=r.tpl_data,o=r.state_data,a=r.operation_data,c=r.qrcode_properties_data,i=r.markdown,u=$(e.data.qrcode_data);u.qrcode_msg.qrcode_record.markdown=i,t([u,n,o,a,c])}))}));b.then((function(e){var r,n,o,a,u=Object(c["a"])(e,5),s=u[0],d=u[1],p=u[2],f=u[3],b=u[4];try{var v,_,g,w,C,E;if(s||b)s.low_quality=i?0:b.data.low_quality,s.encoded_user_id=i?0:b.data.encoded_user_id,s.org_msg=Object(l["a"])(Object(l["a"])({},s.org_msg||{}),i?{}:b.data.org_msg||{}),s.state_msg=p,s.qrcode_msg=Object(l["a"])(Object(l["a"])({},s.qrcode_msg),i?{}:b.data.qrcode_msg),s.bgimage_set=i?{}:null!==(v=null===b||void 0===b||null===(_=b.data)||void 0===_||null===(g=_.qrcode_setting_msg)||void 0===g?void 0:g.bgimage_set)&&void 0!==v?v:{},s.common_set=i?{}:null!==(w=null===b||void 0===b||null===(C=b.data)||void 0===C||null===(E=C.qrcode_setting_msg)||void 0===E?void 0:E.common_set)&&void 0!==w?w:{},h.handleRichText({qrcodeCompontent:s.qrcode_msg.qrcode_compontent,isColorExtend:1===Object(G["a"])(s.common_set)}),s=Object(l["a"])(Object(l["a"])(Object(l["a"])({},s||{}),s.qrcode_msg||{}),i?{}:b.data.record_msg||{}),i||(s.edition_msg={edition_id:Object(m["s"])(b,"data.org_msg.edition_id"),from_edition_id:Object(m["s"])(b,"data.org_msg.from_edition_id")},s.qrcode_setting_msg=Object(l["a"])({},Object(m["s"])(b,"data.qrcode_setting_msg"))),Object(m["s"])(s,"qrcode_record")&&(s.qrcode_record.media_flow_limited=Object(m["s"])(s,"org_msg.media_flow_limited"),s.qrcode_record.media_flow_total=Object(m["s"])(s,"org_msg.media_flow_total"),s.qrcode_record.media_flow_used=Object(m["s"])(s,"org_msg.media_flow_used"),s.qrcode_record.user_id=Object(m["s"])(s,"org_msg.user_id"))}catch(D){console.error("error",D)}var T=Object(m["p"])(),k=T.from,I=void 0===k?"":k,x=Object(m["s"])(p,"data.".concat(s.qrcode_record.id),[]),A=Object(m["s"])(d,"data.data_list",[]);s.log_msg=d.data,s.has_state=!!x.length,s.has_state=!!x.length,s.state_list=x,s.state_msg=p,s.hasOpenMsg=!(null===(r=s)||void 0===r||null===(n=r.qrcode_setting_msg)||void 0===n||null===(o=n.review_set)||void 0===o||null===(a=o.config_record)||void 0===a||!a.status);var R=Object(X["c"])(Object(m["s"])(d.data,"expand_log"),A);if(Object(y["c"])(null===d||void 0===d?void 0:d.data,{expand_log:R}),Object(y["c"])(s,{expand_log:R}),"0"===s.code||"nc_check"===I){var S=Object(m["s"])(f,"data",[]),L=j["a"].combine({operateMsg:S,stateList:x,tplList:A});s.operateData=L,Object(O["a"])(s).then((function(e){s.codeCommonInfo=e,t(s)}))}else t(s)})).catch((function(t){e(t)}))})));case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getTargetXcxOriginalId",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{qrcode_route:e});case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getRecordHistory",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=v["a"].codeData.qrcode_record.id,t.abrupt("return",Object(l["a"])({code_id:r,union_id:"",env:"h5"},e));case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getRecordHistoryDissociate",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=v["a"].codeData.qrcode_record.id,t.abrupt("return",Object(l["a"])({code_id:r,union_id:"",env:"h5"},e));case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getRecordHistorySimplify",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=v["a"].codeData.qrcode_record.id,t.abrupt("return",Object(l["a"])({code_id:r,union_id:"",env:"h5"},e));case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getRecordHistorySimplifyDissociate",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r,n,o;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=v["a"].codeData.qrcode_record,n=r.id,o=r.web_url,t.abrupt("return",Object(l["a"])({code_id:n,qrcode_route:o||"",union_id:"",env:"h5"},e));case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getRecordsGroupByProcessStatus",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=v["a"].codeData.qrcode_record.id,t.abrupt("return",Object(l["a"])({code_id:r,env:"h5"},e));case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getRecordOperateStats",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=v["a"].codeData.qrcode_record.id,t.abrupt("return",Object(l["a"])({qrcode_id:r,env:"h5"},e));case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getRecordFormDesc",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e,r,n){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(l["a"])({tpl_id:e,org_id:r},n||{}));case 1:case"end":return t.stop()}}),t)})));function e(e,r,n){return t.apply(this,arguments)}return e}()},{key:"playCounter",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"mediaCanPlay",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getComplainList",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})));function e(){return t.apply(this,arguments)}return e}()},{key:"doComplain",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e,r,n,o,a){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{type_id:e,content:r,contact:n,img_url:o.join(","),coding:Object(m["s"])(v["a"],"codeData.qrcode_record.coding","")||a,open_id:v["a"].oid});case 1:case"end":return t.stop()}}),t)})));function e(e,r,n,o,a){return t.apply(this,arguments)}return e}()},{key:"getRecord",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{record_route:e});case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getAssistMaster",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{assist_token:e});case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getQrcodeOrgMsg",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{qrcode_route:e});case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getSyCodeInfo",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r,n,o,c,u,s,d,p,f,h,b,v,_;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=e.url,n=e.psw,o=e.pos,c=e.token,u=e.lastedId,s=void 0===u?0:u,d=e.pageSize,p=void 0===d?g["g"]:d,f=e.page,h=void 0===f?0:f,b=e.listType,v=void 0===b?"qrcode":b,_=Object(a["a"])(e,V),t.abrupt("return",Object(l["a"])(Object(l["a"])(Object(l["a"])(Object(l["a"])({category_route:r,lasted_id:s,page_size:p,page:h,list_type:v},_),{},{password:n},o&&o.lon?{longitude:o.lon,latitude:o.lat}:{}),c||{}),{},{as_category_component:1}));case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getPlaceholderChildCode",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=e.qrcode_route,t.abrupt("return",{qrcode_route:r});case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"parseQrcodeRoute",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=e.url,t.abrupt("return",{url:r});case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getSyCodImgAll",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r,n,o,a,c;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=e.web_urls,n=e.category_ids,o=e.org_id,a=e.org_time,c=e.org_publickey,t.abrupt("return",{web_urls:r,need_color:0,category_ids:n,org_id:o,org_time:a,org_publickey:c});case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getSummaryQrcodeFirstImages",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r,n;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=e.web_urls,n=e.summary_type,t.abrupt("return",{web_urls:r,summary_type:n});case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getSyCodeInfoAll",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e,r,n,o,a,u){var s=this;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise((function(t,i){Promise.all([s.getSyCodeInfo(Object(l["a"])({url:e,psw:r,pos:n,token:o},u)),s.getRecordInfo(e,r,a)]).then((function(e){var r=Object(c["a"])(e,2),n=r[0],o=r[1];n.log_msg=o.data,0===+n.code?Object(O["a"])(n).then((function(e){n.codeCommonInfo=e,t(n)})):t(n)})).catch((function(t){i(t)}))})));case 1:case"end":return t.stop()}}),t)})));function e(e,r,n,o,a,c){return t.apply(this,arguments)}return e}()},{key:"getBatchChildrenList",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(){var e,r,n,o,a,c,u=arguments;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=u.length>0&&void 0!==u[0]?u[0]:{url:"",batchId:0,page:1},r=e.url,n=e.batchId,o=void 0===n?0:n,a=e.page,c=void 0===a?1:a,t.abrupt("return",{qrcode_route:r,page:c,batch_id:o,batch_page_size:100,qrcode_page_size:20,not_valid:1});case 2:case"end":return t.stop()}}),t)})));function e(){return t.apply(this,arguments)}return e}()},{key:"getTplBatchChildrenList",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(){var e,r,n,o,a,c,u,s,l=arguments;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=l.length>0&&void 0!==l[0]?l[0]:{url:"",batchId:0,page:1,pageSize:20},r=e.url,n=e.batchId,o=void 0===n?0:n,a=e.page,c=void 0===a?1:a,u=e.pageSize,s=void 0===u?20:u,t.abrupt("return",{qrcode_route:r,page:c,batch_id:o,page_size:s,not_valid:1});case 2:case"end":return t.stop()}}),t)})));function e(){return t.apply(this,arguments)}return e}()},{key:"getQrCodeBaseSetInfo",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=e.qrcodeId,t.abrupt("return",{qrcode_id:r});case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"operateDataAuthSetting",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getUserOrgIdent",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getCodeMsg",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r,n=arguments;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},t.abrupt("return",Object(l["a"])({id:e},r||{}));case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getPresetCodeRecordInfo",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{qrcode_id:e});case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"clonePresetRecordInfo",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{source_code_id:e});case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"saveCode",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e,r,n){var o,a=arguments;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return o=a.length>3&&void 0!==a[3]?a[3]:"",t.abrupt("return",{create_from:r,is_new:1,qrcode_msg:e,scene_log:n,user_id:o});case 2:case"end":return t.stop()}}),t)})));function e(e,r,n){return t.apply(this,arguments)}return e}()},{key:"setRecodeInfo",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r={},Object(y["k"])(e).forEach((function(t){var e=Object(c["a"])(t,2),n=e[0],o=e[1];r[n]=encodeURIComponent(o)})),t.abrupt("return",r);case 3:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getAuthGroupWebUrl",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getRuleGroupInfo",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getUserInfo",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})));function e(){return t.apply(this,arguments)}return e}()},{key:"getQrcodeRoute",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{qrcode_route:e});case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getChildQrCodeNotaryData",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{qrcode_route:e});case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getStateDetail",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e,r,n){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(l["a"])({state_id:e,qrcode_route:r},n));case 1:case"end":return t.stop()}}),t)})));function e(e,r,n){return t.apply(this,arguments)}return e}()},{key:"getAudioTranslatedText",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getColorFromImg",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getQrcodeCategoryList",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getCertification",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getNewJumpQrcodeMeta",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()}]),t}();Z.GET_TARGET_STATE_MSG_URL="/qrcoderoute/getTargetStateMsg",Object(h["a"])([Object(_["c"])("/qrcoderoute/qrcodeRouteNew"),Object(_["e"])(function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",$(e));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())],Z.prototype,"getCodeInfoNew",null),Object(h["a"])([Object(_["a"])("/qrcoderoute/getQrcodeProperties")],Z.prototype,"getQrcodeProperties",null),Object(h["a"])([Object(_["c"])("/record/getRecordTpl")],Z.prototype,"getRecordInfo",null),Object(h["a"])([Object(_["c"])("/record/getRecordTplDissociate")],Z.prototype,"getRecordInfoDissociate",null),Object(h["a"])([Object(_["c"])("/api/weixin/getWxUrlScheme"),Object(_["e"])(function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())],Z.prototype,"getUrlSchema",null),Object(h["a"])([Object(_["c"])("/api/weixin/getWxCorpIdByOrgCode"),Object(_["e"])(function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())],Z.prototype,"getWxCorpIdByOrgCode",null),Object(h["a"])([Object(_["c"])("/api/weixin/getJsConfig"),Object(_["e"])(function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())],Z.prototype,"getJsConfig",null),Object(h["a"])([Object(_["c"])("/operation/getQrcodeOperationByQrcodeRoute")],Z.prototype,"getQrcodeOperationByQrcodeRoute",null),Object(h["a"])([Object(_["c"])(n.GET_TARGET_STATE_MSG_URL)],Z.prototype,"doGetTargetStateMsg",null),Object(h["a"])([Object(_["c"])("/record/getRecordEventMsg")],Z.prototype,"getRecordEventMsg",null),Object(h["a"])([Object(_["a"])("/api/AvthumbAsync/getResultByPath"),Object(_["e"])((function(t){return t}))],Z.prototype,"getAvConvertStatusByPath",null),Object(h["a"])([Object(_["a"])("/api/AvthumbAsync/getResultByComponent"),Object(_["e"])((function(t){return t}))],Z.prototype,"getResultByComponent",null),Object(h["a"])([Object(_["a"])("/api/AvthumbAsync/getPathAvhumbLogInfo"),Object(_["e"])((function(t){return t}))],Z.prototype,"getPathAvhumbLogInfo",null),Object(h["a"])([Object(_["a"])("/api/AvthumbAsync/getPathAvthumbInfo"),Object(_["e"])((function(t){return t}))],Z.prototype,"getPathAvthumbInfo",null),Object(h["a"])([Object(_["c"])("/task/getTargetQrcodeTaskMsg")],Z.prototype,"getTargetQrcodeTaskMsg",null),Object(h["a"])([Object(_["c"])("/state/getStateMsg")],Z.prototype,"getStateMsg",null),Object(h["a"])([Object(_["c"])("/state/getTargetStateLog")],Z.prototype,"getTargetStateLog",null),Object(h["a"])([Object(_["c"])("/decode/onlyCheckAuthed")],Z.prototype,"onlychecked",null),Object(h["a"])([Object(_["c"])("/decode/getTargetXcxOriginalId"),Object(_["e"])(function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(t.prev=0,1!==e.code){t.next=5;break}return r=e.data.original_id,t.next=5,v["a"].setKey({key:"xcxOriginalId",value:r});case 5:t.next=11;break;case 7:t.prev=7,t.t0=t["catch"](0),console.error("获取小程序原始id失败!"),console.error(t.t0);case 11:return t.abrupt("return",e);case 12:case"end":return t.stop()}}),t,null,[[0,7]])})));return function(e){return t.apply(this,arguments)}}())],Z.prototype,"getTargetXcxOriginalId",null),Object(h["a"])([Object(_["c"])("/record/getRecordsForApp")],Z.prototype,"getRecordHistory",null),Object(h["a"])([Object(_["c"])("/record/getRecordsForAppDissociate")],Z.prototype,"getRecordHistoryDissociate",null),Object(h["a"])([Object(_["c"])("/record/getRecordsForAppSimplify")],Z.prototype,"getRecordHistorySimplify",null),Object(h["a"])([Object(_["c"])("/record/getRecordsForAppSimplifyDissociate")],Z.prototype,"getRecordHistorySimplifyDissociate",null),Object(h["a"])([Object(_["c"])("/record/getRecordsGroupByProcessStatus")],Z.prototype,"getRecordsGroupByProcessStatus",null),Object(h["a"])([Object(_["c"])("/api/record/recordStatistics")],Z.prototype,"getRecordOperateStats",null),Object(h["a"])([Object(_["c"])("/record/getDesc"),Object(_["e"])(function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e.data);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())],Z.prototype,"getRecordFormDesc",null),Object(h["a"])([Object(_["c"])("/qrcode/media/play")],Z.prototype,"playCounter",null),Object(h["a"])([Object(_["c"])("/qrcode/media/check_can_play"),Object(_["e"])(function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r,n;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:try{1===e.code&&(r=e.data.openid,n=void 0===r?"":r,Object(b["x"])(n))}catch(o){console.error("设置 openid 失败"),console.error(o)}return t.abrupt("return",e);case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())],Z.prototype,"mediaCanPlay",null),Object(h["a"])([Object(_["a"])("/api/Complaint/GetAllComplainttype"),Object(_["e"])((function(t){return t.data}))],Z.prototype,"getComplainList",null),Object(h["a"])([Object(_["c"])("/api/Complaint/AddComplaint")],Z.prototype,"doComplain",null),Object(h["a"])([Object(_["c"])("/record/getRecord"),Object(_["e"])((function(t){return t}))],Z.prototype,"getRecord",null),Object(h["a"])([Object(_["c"])("/template_qrcode/getAssistMaster"),Object(_["e"])((function(t){return t}))],Z.prototype,"getAssistMaster",null),Object(h["a"])([Object(_["c"])("/qrcoderoute/getQrcodeOrgMsg"),Object(_["e"])((function(t){return t}))],Z.prototype,"getQrcodeOrgMsg",null),Object(h["a"])([Object(_["a"])("/category/getListByCategoryRoute"),Object(_["e"])(function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.data=e.data||{qrcode_record:{},codeCommonInfo:{codeColorInfo:{},codeHeaderTitleInfo:{}},qrcode_top_component:{},qrcode_component:{}},r=e.data,r.code=e.msg.code;try{r.share_setting=r.qrcode_msg.share_setting||{}}catch(n){console.error("获取分享设置失败",n)}return t.abrupt("return",e.data);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())],Z.prototype,"getSyCodeInfo",null),Object(h["a"])([Object(_["c"])("/placeholderQrcode/getChildQrcodeByRoute"),Object(_["e"])((function(t){return t}))],Z.prototype,"getPlaceholderChildCode",null),Object(h["a"])([Object(_["a"])("/qrcoderoute/parseQrcodeRoute"),Object(_["e"])((function(t){return t}))],Z.prototype,"parseQrcodeRoute",null),Object(h["a"])([Object(_["c"])("/api/qrcode/getQrcodePrimaryPicture"),Object(_["e"])((function(t){return t}))],Z.prototype,"getSyCodImgAll",null),Object(h["a"])([Object(_["c"])("/category/getSummaryQrcodeFirstImages"),Object(_["e"])((function(t){return t}))],Z.prototype,"getSummaryQrcodeFirstImages",null),Object(h["a"])([Object(_["a"])("/batchQrcode/getTplChildrenList"),Object(_["e"])(function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e.data);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())],Z.prototype,"getBatchChildrenList",null),Object(h["a"])([Object(_["a"])("/batchQrcode/getTplBatchChildrenList"),Object(_["e"])(function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(1!==e.code){t.next=2;break}return t.abrupt("return",e.data);case 2:return console.error(Object(m["s"])(e,"msg.text")),t.abrupt("return","");case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())],Z.prototype,"getTplBatchChildrenList",null),Object(h["a"])([Object(_["a"])("/qrcode/getQrcodeBaseSetting"),Object(_["e"])(function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(1!==e.code){t.next=2;break}return t.abrupt("return",e.data);case 2:return console.error(Object(m["s"])(e,"msg.text")),t.abrupt("return","");case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())],Z.prototype,"getQrCodeBaseSetInfo",null),Object(h["a"])([Object(_["c"])("/dataAuth/operateDataAuthSetting")],Z.prototype,"operateDataAuthSetting",null),Object(h["a"])([Object(_["c"])("/user/checkUserOrgIdentity")],Z.prototype,"getUserOrgIdent",null),Object(h["a"])([Object(_["c"])("/qrcode/getQrcodeMsg")],Z.prototype,"getCodeMsg",null),Object(h["a"])([Object(_["c"])("/record/getTpls")],Z.prototype,"getPresetCodeRecordInfo",null),Object(h["a"])([Object(_["c"])("/record/cloneBathTpl")],Z.prototype,"clonePresetRecordInfo",null),Object(h["a"])([Object(_["c"])("/qrcode/operateQrcodeMsg")],Z.prototype,"saveCode",null),Object(h["a"])([Object(_["c"])("/qrcode/setQrcodeRecord")],Z.prototype,"setRecodeInfo",null),Object(h["a"])([Object(_["c"])("/power/MemberAuth/getAuthGroupWebUrlByForXcx")],Z.prototype,"getAuthGroupWebUrl",null),Object(h["a"])([Object(_["c"])("/power/MemberAuth/getGroup")],Z.prototype,"getRuleGroupInfo",null),Object(h["a"])([Object(_["a"])("/user/initUserSession"),Object(_["e"])((function(t){return t}))],Z.prototype,"getUserInfo",null),Object(h["a"])([Object(_["c"])("/qrcoderoute/qrcodeRouteNew"),Object(_["e"])(function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(m["s"])(e,"data.qrcode_msg.qrcode_record.tpl_id",""));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())],Z.prototype,"getQrcodeRoute",null),Object(h["a"])([Object(_["a"])("/template_qrcode/getChildQrcodeNotaryData")],Z.prototype,"getChildQrCodeNotaryData",null),Object(h["a"])([Object(_["c"])("/state/getStateMsg")],Z.prototype,"getStateDetail",null),Object(h["a"])([Object(_["c"])("/review/getAudioTranslatedText")],Z.prototype,"getAudioTranslatedText",null),Object(h["a"])([Object(_["c"])("/imageApi/checkMainColor","//qr-api.".concat(Q["a"]))],Z.prototype,"getColorFromImg",null),Object(h["a"])([Object(_["a"])("/category/getSummaryQrcodeList")],Z.prototype,"getQrcodeCategoryList",null),Object(h["a"])([Object(_["c"])("/qrcoderoute/getCertification")],Z.prototype,"getCertification",null),Object(h["a"])([Object(_["c"])("/qrcoderoute/getNewJumpQrcodeMeta")],Z.prototype,"getNewJumpQrcodeMeta",null),Z=n=Object(h["a"])([Object(_["d"])(K.decodeUrl)],Z);var tt=new Z,et=r("8f21"),rt=function(){function t(){Object(d["a"])(this,t)}return Object(p["a"])(t,[{key:"getLoginSession",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e,r,n,o){var a,c;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:a={app_openid_encry:r,expire_time:n,user_id:e};try{try{c=(new et["a"]).id}catch(i){console.error(i)}window.$$dfCat.report("H5_entryAppRequest",{params:a,cvid:c,pageUrl:window.location.href,ua:navigator.userAgent,options:o})}catch(i){console.error(i)}return t.abrupt("return",a);case 3:case"end":return t.stop()}}),t)})));function e(e,r,n,o){return t.apply(this,arguments)}return e}()},{key:"sso",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e,r,n){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{app_openid_encry:r,expire_time:n,user_id:e,isactives:23,cli_domain:"cli.im"});case 1:case"end":return t.stop()}}),t)})));function e(e,r,n){return t.apply(this,arguments)}return e}()}]),t}();Object(h["a"])([Object(_["c"])("/login/entry_app")],rt.prototype,"getLoginSession",null),Object(h["a"])([Object(_["a"])("/api/sso_server_login_app_mobile")],rt.prototype,"sso",null),rt=Object(h["a"])([Object(_["d"])(v["a"].domain.userUrl)],rt);var nt=new rt,ot=r("6821"),at=r.n(ot),ct=v["a"].domain,it=function(){function t(){Object(d["a"])(this,t)}return Object(p["a"])(t,[{key:"scanCounter",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e,r){var n,o,a,c;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=v["a"].h5QueryString,o=n.scene,a=n.url,c={openid:"",user_id:r,web_url:a,device_info:navigator.userAgent,qrcode_route:JSON.stringify(v["a"].codeData.qrcode_record),code_origin:0,from:o||2},t.abrupt("return",[c,{coding:e}]);case 3:case"end":return t.stop()}}),t)})));function e(e,r){return t.apply(this,arguments)}return e}()},{key:"scan",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r,n;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=(new et["a"]).id.substring(0,28),n={c:e.qrcode_record.coding,tid:e.org_msg.user_id,u:e.qrcode_record.web_url,lt:parseInt(+new Date/1e3,10),oi:r,uc:at()("".concat(r).concat(e.qrcode_record.coding)),ua:navigator.userAgent,f:2,ds:"".concat(document.documentElement.clientHeight,"x").concat(document.documentElement.clientWidth),ln:navigator.language,is:Object(m["s"])(e,"qrcode_record.create_from",""),si:Object(m["s"])(e,"qrcode_record.scene_module_id",""),lid:e.curLid,flid:e.fromLid},t.abrupt("return",n);case 3:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"logClick",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e,r){var n,o,a=arguments;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:"",o=a.length>3&&void 0!==a[3]?a[3]:"",t.abrupt("return",{fir:e,sec:r,desc:n,datas:"string"===typeof o?o:JSON.stringify(o)});case 3:case"end":return t.stop()}}),t)})));function e(e,r){return t.apply(this,arguments)}return e}()}]),t}();Object(h["a"])([Object(_["c"])("/log/scan/:coding")],it.prototype,"scanCounter",null),Object(h["a"])([Object(_["a"])("/log/collect",void 0,!0)],it.prototype,"scan",null),Object(h["a"])([Object(_["c"])("/log/click",ct.logApiUrl)],it.prototype,"logClick",null),it=Object(h["a"])([Object(_["d"])(ct.analysisUrl)],it);var ut=new it,st=v["a"].domain,lt=function(){function t(){Object(d["a"])(this,t)}return Object(p["a"])(t,[{key:"getWxConfig",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{url:e});case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()}]),t}();Object(h["a"])([Object(_["b"])("/wxConfig/share")],lt.prototype,"getWxConfig",null),lt=Object(h["a"])([Object(_["d"])(st.wxApiUrl)],lt);var dt=new lt,pt=v["a"].domain,ft=function(){function t(){Object(d["a"])(this,t)}return Object(p["a"])(t,[{key:"clickLog",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e,r){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{fir:e,sec:r});case 1:case"end":return t.stop()}}),t)})));function e(e,r){return t.apply(this,arguments)}return e}()},{key:"getTabContent",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{code_id:e});case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getTemplate",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e,r){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{code_id:e,detail_ass_tag:r,__timestamp:(new Date).getTime()});case 1:case"end":return t.stop()}}),t)})));function e(e,r){return t.apply(this,arguments)}return e}()},{key:"getQrcodeTypeUrl",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{coding_url:e});case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getCapacity",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{user_id:e});case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getSceneTemplateMsg",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e,r){var n,o,a,u;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([this.getTabContent(e),this.getTemplate(e,r)]);case 2:return n=t.sent,o=Object(c["a"])(n,2),a=o[0],u=o[1],t.abrupt("return",{tagContent:a,tempMsg:u});case 7:case"end":return t.stop()}}),t,this)})));function e(e,r){return t.apply(this,arguments)}return e}()}]),t}();Object(h["a"])([Object(_["b"])("/Api/ClickLog/click")],ft.prototype,"clickLog",null),Object(h["a"])([Object(_["a"])("/SceneTemplate/getTabContent"),Object(_["e"])(function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(y["B"])(e,"data",{}));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())],ft.prototype,"getTabContent",null),Object(h["a"])([Object(_["a"])("/SceneTemplate/getTemplate"),Object(_["e"])(function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(y["B"])(e,"data",{}));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())],ft.prototype,"getTemplate",null),Object(h["a"])([Object(_["c"])("/Apis/code_info/get_qrcode_type_url")],ft.prototype,"getQrcodeTypeUrl",null),Object(h["a"])([Object(_["c"])("/Api/User/getCapacity"),Object(_["e"])(function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(y["B"])(e,"data",{}));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())],ft.prototype,"getCapacity",null),ft=Object(h["a"])([Object(_["d"])(pt.cliUrl)],ft);var ht=new ft,bt=v["a"].domain,vt=function(){function t(){Object(d["a"])(this,t)}return Object(p["a"])(t,[{key:"qrcodeAddLog",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r,n,o,a;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=e.business_type,n=e.create_from,o=e.share_type,a=e.qrcode_code,t.abrupt("return",{business_type:r,create_from:n,share_type:o,qrcode_code:a});case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()}]),t}();Object(h["a"])([Object(_["a"])("/qrcode/addLog"),Object(_["e"])(function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e.data);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())],vt.prototype,"qrcodeAddLog",null),vt=Object(h["a"])([Object(_["d"])(bt.logApiUrl)],vt);new vt;var _t=v["a"].domain,mt=function(){function t(){Object(d["a"])(this,t)}return Object(p["a"])(t,[{key:"getVideoCover",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{url:e});case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()}]),t}();Object(h["a"])([Object(_["a"])("/qiniu/getVideoCover"),Object(_["e"])((function(t){return t}))],mt.prototype,"getVideoCover",null),mt=Object(h["a"])([Object(_["d"])(_t.uploadUrl)],mt);var gt=new mt,Ot=v["a"].domain,jt=function(){function t(){Object(d["a"])(this,t)}return Object(p["a"])(t,[{key:"getJsConfig",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){var r,n,o,a;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=e.corpId,n=e.suiteId,o=e.url,a=e.isAgent,t.abrupt("return",{corp_id:r,suite_id:n,url:o,is_agent:a});case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()}]),t}();Object(h["a"])([Object(_["c"])("/services/getJsConfig"),Object(_["e"])(function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())],jt.prototype,"getJsConfig",null),jt=Object(h["a"])([Object(_["d"])(Ot.weWorkApiUrl)],jt);new jt;var yt=v["a"].domain,wt=function(){function t(){Object(d["a"])(this,t)}return Object(p["a"])(t,[{key:"getHistoryABVersions",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e,r){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{abtest_name:e,token_user_id:r});case 1:case"end":return t.stop()}}),t)})));function e(e,r){return t.apply(this,arguments)}return e}()}]),t}();Object(h["a"])([Object(_["c"])("/v1/user/getHistoryABVersions"),Object(_["e"])(function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())],wt.prototype,"getHistoryABVersions",null),wt=Object(h["a"])([Object(_["d"])(yt.volcanoUrl)],wt);new wt;var Ct=v["a"].domain,Et=function(){function t(){Object(d["a"])(this,t)}return Object(p["a"])(t,[{key:"getQrcodeAlertStatus",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",{sys:2,qrcodeId:e});case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()}]),t}();Object(h["a"])([Object(_["a"])("/qrcode/alert")],Et.prototype,"getQrcodeAlertStatus",null),Et=Object(h["a"])([Object(_["d"])(Ct.XQrcodeApiUrl)],Et);var Tt=new Et,kt=function(){function t(){Object(d["a"])(this,t)}return Object(p["a"])(t,[{key:"parseToMarkdown",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",[e,{},{"Content-Type":"application/json"}]);case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getContentByRoute",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",[e,{},{"Content-Type":"application/json"}]);case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()}]),t}();Object(h["a"])([Object(_["c"])("/x-llm/api/aicraft/parseToMarkdown")],kt.prototype,"parseToMarkdown",null),Object(h["a"])([Object(_["c"])("/x-llm/api/aicraft/getContentByRoute")],kt.prototype,"getContentByRoute",null),kt=Object(h["a"])([Object(_["d"])(Ct.dataApiUrl)],kt);var It=new kt,xt=v["a"].domain,At=function(){function t(){Object(d["a"])(this,t)}return Object(p["a"])(t,[{key:"getDomainInfo",value:function(){var t=Object(u["a"])(Object(i["a"])().mark((function t(e){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()}]),t}();Object(h["a"])([Object(_["c"])("/Apis/CodeInfo/get_domain_info")],At.prototype,"getDomainInfo",null),At=Object(h["a"])([Object(_["d"])(xt.cliTotalEntryUrl)],At);var Rt=new At},6260:function(t,e,r){"use strict";r("d3b7");var n=r("cb9b"),o=function(t){return"[object Number]"===Object.prototype.toString.call(t)&&!Object(n["a"])(t)};e["a"]=o},"6b40":function(t,e,r){"use strict";r.d(e,"c",(function(){return s})),r.d(e,"g",(function(){return l})),r.d(e,"f",(function(){return d})),r.d(e,"d",(function(){return p})),r.d(e,"e",(function(){return f})),r.d(e,"b",(function(){return m})),r.d(e,"a",(function(){return g}));var n,o,a,c=r("ade3"),i=r("f1d0"),u=r("8e05");r.d(e,"h",(function(){return u["b"]}));var s="操作入口",l={WHITE:0,TRANSPARENT:1},d=(l.WHITE,u["c"].TimeLine),p=(u["a"].Head,u["b"].BlockList),f=(u["d"].Head,"动态档案"),h={IDENTITY_GROUP:1,CODE_MANAGER:2},b=(n={},Object(c["a"])(n,h.IDENTITY_GROUP,i["m"].APPLY),Object(c["a"])(n,h.CODE_MANAGER,i["m"].APPLY),{MEMBER:3,CHILD_MANAGER:2,DATA_CHECKER:5,CODE_MANAGER:6,CODE_CHECKER:7,DEFAULT:5}),v={MEMBER:"高级成员-手机端管理",DATA_CHECKER:"高级成员-数据管理",CHILD_MANAGER:"高级成员-系统管理",CODE_MANAGER:"码管理员",CODE_CHECKER:"码管理员"},_={MEMBER:"申请成为高级成员-手机端管理",DATA_CHECKER:"申请成为高级成员-数据管理",CHILD_MANAGER:"申请成为高级成员-系统管理",CODE_MANAGER:"申请成为码管理员",CODE_CHECKER:"申请成为码管理员"},m=(o={},Object(c["a"])(o,b.MEMBER,_.MEMBER),Object(c["a"])(o,b.DATA_CHECKER,_.DATA_CHECKER),Object(c["a"])(o,b.CHILD_MANAGER,_.CHILD_MANAGER),Object(c["a"])(o,b.CODE_MANAGER,_.CODE_MANAGER),Object(c["a"])(o,b.CODE_CHECKER,_.CODE_CHECKER),o),g=(a={},Object(c["a"])(a,b.MEMBER,v.MEMBER),Object(c["a"])(a,b.DATA_CHECKER,v.DATA_CHECKER),Object(c["a"])(a,b.CHILD_MANAGER,v.CHILD_MANAGER),Object(c["a"])(a,b.CODE_MANAGER,v.CODE_MANAGER),Object(c["a"])(a,b.CODE_CHECKER,v.CODE_CHECKER),a)},"76a4":function(t,e,r){"use strict";var n=r("a719"),o=r("0cbb"),a=r("a607");e["a"]=function(t,e){var r=!1;return Object(n["a"])(t)?Object(a["a"])(t,(function(t){if(t===e)return r=!0,!1})):Object(o["a"])(t)&&(r=t.indexOf(e)>-1),r}},"76ac":function(t,e,r){"use strict";var n=r("76a4");e["a"]=function(t){return!!t&&Object(n["a"])(["fff","ffffff"],t.toLocaleLowerCase())}},"77ed":function(t,e,r){"use strict";r.d(e,"a",(function(){return _}));var n=r("5530"),o=r("d4ec"),a=r("bee2"),c=(r("99af"),r("a15b"),r("a9e3"),r("4de4"),r("d3b7"),r("ac1f"),r("5319"),r("b0c0"),r("00b4"),r("f1d0")),i=r("e9b6"),u=r("08f7"),s=r("76a4"),l=r("cb9b"),d=r("a607"),p=r("28ec"),f=r("e548"),h=r("6260"),b=r("be7d"),v="quality,q_20",_="quality,q_50",m="quality,Q_80",g=null,O=1e3,j=1e3,y=32,w={name:"light",imgHeight:58,marginBottom:40,opacity:"",logo:{imgHeight:30,name:"logo_light"}},C={name:"grey",imgHeight:62,marginBottom:32,opacity:",t_85",logo:{imgHeight:34,name:"logo_grey"}},E=function(){function t(e){var r=e.data,n=e.project,a=e.imageStyle,d=e.prewType,p=e.isSingle,f=e.computedWindowWidth,h=e.imageStyle1Margin,b=e.isLowQuality,v=e.encodedUserId,_=e.isLast,m=e.computedWindowHeight,g=e.imageAppearance,O=e.carouselStyle,j=e.isFirst;Object(o["a"])(this,t),this.data=null,this.project=null,this.imageStyle=c["h"].IMAGE_STYLE_1,this.imageAppearance="",this.prewType=c["j"].TILE,this.carouselStyle=c["e"].CAROUSEL_STYLE_1,this.isSingle=!1,this.isLast=!1,this.computedWindowWidth=0,this.computedWindowHeight=0,this.imageStyle1Margin=0,this.originWidth=0,this.originHeight=0,this.computedWidth=0,this.computedHeight=0,this.isLowQuality=!1,this.encodedUserId="",this.borderRadius=!1,this.isFirst=!1,this.marginBottom=!1,this.computedUrl="",this.computedSmallImageUrl="",this.computedPreviewUrl="",this.lazyLoad=!0,this.data=r,this.project=n,this.imageStyle=a,this.imageAppearance=g,this.prewType=d,this.carouselStyle=O,this.isFirst=j,this.isSingle=p,this.isLast=_,this.computedWindowWidth=f,this.computedWindowHeight=m,this.imageStyle1Margin=h,this.isLowQuality=b,this.encodedUserId=v;var y=parseInt(Object(u["a"])(r,"image_width.value","0"),10);Object(l["a"])(y)&&(y=0),this.originWidth=y;var w=parseInt(Object(u["a"])(r,"image_height.value","0"),10);Object(l["a"])(w)&&(w=0),this.originHeight=w,this.computeWidth(),this.computeHeight(),this.computeUrl();var C=!1,E=!1;this.computedHeight>21e3&&(this.lazyLoad=!1),d===c["j"].SWIPER?C=a===c["h"].IMAGE_STYLE_1:d===c["j"].TILE||d===c["j"].SWIPER_VERTICAL?C=p&&a===c["h"].IMAGE_STYLE_1:d===c["j"].EMPTY&&(C=p&&a===c["h"].IMAGE_STYLE_1,p||_||(E=!0));var T=g||{};(null===T||void 0===T?void 0:T.shape)!==i["b"].ORIGINAL&&null!==T&&void 0!==T&&T.shape&&null!==T&&void 0!==T&&T.size&&375!==(null===T||void 0===T?void 0:T.size)&&(C=!0),(null===T||void 0===T?void 0:T.shape)!==i["b"].ORIGINAL&&null!==T&&void 0!==T&&T.shape||null===T||void 0===T||!T.size||375===(null===T||void 0===T?void 0:T.size)||(C=!0),Object(s["a"])([c["e"].CAROUSEL_STYLE_2,c["e"].CAROUSEL_STYLE_3],O)&&(C=!0),this.borderRadius=C,this.marginBottom=E}return Object(a["a"])(t,[{key:"getMaxWidth",value:function(){var t=this.project,e=this.imageStyle,r=this.computedWindowWidth,n=this.imageStyle1Margin;return Object(f["b"])({project:t,imageStyle:e,computedWindowWidth:r,margin:n})}},{key:"computeWidth",value:function(){var t=this.originWidth,e=this.imageStyle,r=this.isSingle,n=this.imageAppearance,o=this.getMaxWidth(),a=t*(o/750),u=n||{},l=!r||e===c["h"].IMAGE_STYLE_1&&(a>=o||(null===u||void 0===u?void 0:u.position)===i["a"].LEFT)||Object(s["a"])([c["h"].IMAGE_STYLE_2,c["h"].IMAGE_STYLE_3],e);a=l?o:Math.min(a,o),this.computedWidth=Math.floor(a)}},{key:"computeHeight",value:function(){var t=this.computedWidth,e=this.originWidth,r=this.originHeight;this.computedHeight=Math.floor(t*(r/e))}},{key:"px2rem",value:function(e){var r=this.computedWindowWidth;return t.px2rem({px:e,computedWindowWidth:r})}},{key:"getStyleObject",value:function(){var t=this.project,e=this.computedWidth,r=this.computedHeight,n=this.borderRadius,o=this.computedWindowWidth,a=this.imageStyle,u=this.marginBottom,l=this.imageAppearance,d=this.prewType,p=this.isSingle,f=this.isLast,h=this.isFirst,b=l||{},v=8,_={},m=this.getMaxWidth();if(t===c["k"].MPCLI){var g=this.px2rem(e),O=this.px2rem(r);if(g?_.width="".concat(g,"rem"):a===c["h"].IMAGE_STYLE_1?_.maxWidth="".concat(this.px2rem(m),"rem"):_.width="".concat(this.px2rem(m),"rem"),O&&(_.height="".concat(O,"rem")),a===c["h"].IMAGE_STYLE_4){var j=(g||this.px2rem(m))/2;_.width="".concat(j,"rem"),!O||(null===b||void 0===b?void 0:b.shape)!==i["b"].ORIGINAL&&null!==b&&void 0!==b&&b.shape?O&&null!==b&&void 0!==b&&b.shape&&(null===b||void 0===b?void 0:b.shape)!==i["b"].ORIGINAL&&(_.height="".concat(j*i["d"][null===b||void 0===b?void 0:b.shape],"rem")):_.height="".concat(O/2,"rem")}if(Object(s["a"])([c["h"].IMAGE_STYLE_2,c["h"].IMAGE_STYLE_1,c["h"].IMAGE_STYLE_3],a)&&((null===b||void 0===b?void 0:b.shape)!==i["b"].ORIGINAL||null===b||void 0===b||!b.shape)){var y=g||this.px2rem(m);_.width="".concat(y,"rem"),r&&null!==b&&void 0!==b&&b.shape&&(null===b||void 0===b?void 0:b.shape)!==i["b"].ORIGINAL&&(_.height="".concat(y*i["d"][null===b||void 0===b?void 0:b.shape],"rem"))}if(null!==b&&void 0!==b&&b.size&&(_.width="".concat(this.px2rem(Math.floor(+b.size*e/375)),"rem"),(null===b||void 0===b?void 0:b.shape)!==i["b"].ORIGINAL&&null!==b&&void 0!==b&&b.shape?_.height="".concat(this.px2rem(i["d"][null===b||void 0===b?void 0:b.shape]*Math.floor(+b.size*e/375)),"rem"):_.height="".concat(this.px2rem(Math.floor(r*+b.size/375)),"rem"),_.objectFit="cover"),n){var w=o/375;_.borderRadius="".concat(this.px2rem(5*w),"rem")}else _.borderRadius="0";if((null===b||void 0===b?void 0:b.shape)===i["b"].CIRCLE&&(_.borderRadius="50%"),d===c["j"].TILE&&!p&&(null===b||void 0===b?void 0:b.shape)!==i["b"].CIRCLE){var C=_.borderRadius||"0";_.borderRadius="0",h&&(_.borderTopLeftRadius=C,_.borderTopRightRadius=C),f&&(_.borderBottomLeftRadius=C,_.borderBottomRightRadius=C)}u&&(_.marginBottom="".concat(this.px2rem(v),"rem"))}else{if(e?_.width="".concat(e,"px"):t===c["k"].WXA&&(_.width="".concat(m,"px")),r&&(_.height="".concat(r,"px")),a===c["h"].IMAGE_STYLE_4){var E=e?e/2:m/2;_.width="".concat(E,"px"),(null===b||void 0===b?void 0:b.shape)!==i["b"].ORIGINAL&&null!==b&&void 0!==b&&b.shape||!r?r&&null!==b&&void 0!==b&&b.shape&&(null===b||void 0===b?void 0:b.shape)!==i["b"].ORIGINAL&&(_.height="".concat(E*i["d"][null===b||void 0===b?void 0:b.shape],"px")):_.height="".concat(r/2,"px")}if(Object(s["a"])([c["h"].IMAGE_STYLE_2,c["h"].IMAGE_STYLE_1,c["h"].IMAGE_STYLE_3],a)&&((null===b||void 0===b?void 0:b.shape)!==i["b"].ORIGINAL||null===b||void 0===b||!b.shape)){var T=e||m;_.width="".concat(T,"px"),r&&null!==b&&void 0!==b&&b.shape&&(null===b||void 0===b?void 0:b.shape)!==i["b"].ORIGINAL&&(_.height="".concat(T*i["d"][null===b||void 0===b?void 0:b.shape],"px"))}if(null!==b&&void 0!==b&&b.size&&(_.width="".concat(Math.floor(+b.size*e/375),"px"),(null===b||void 0===b?void 0:b.shape)!==i["b"].ORIGINAL&&null!==b&&void 0!==b&&b.shape?_.height="".concat(i["d"][null===b||void 0===b?void 0:b.shape]*Math.floor(+b.size*e/375),"px"):_.height="".concat(Math.floor(r*+b.size/375),"px"),_.objectFit="cover"),_.borderRadius=n?"5px":"0",(null===b||void 0===b?void 0:b.shape)===i["b"].CIRCLE&&(_.borderRadius="50%"),d===c["j"].TILE&&!p&&(null===b||void 0===b?void 0:b.shape)!==i["b"].CIRCLE){var k=_.borderRadius||"0";_.borderRadius="0",h&&(_.borderTopLeftRadius=k,_.borderTopRightRadius=k),f&&(_.borderBottomLeftRadius=k,_.borderBottomRightRadius=k)}u&&(_.marginBottom="".concat(v,"px"))}return _}},{key:"getStyle",value:function(){var t=this.getStyleObject(),e=[],r={borderRadius:"border-radius",borderTopLeftRadius:"border-top-left-radius",borderTopRightRadius:"border-top-right-radius",borderBottomLeftRadius:"border-bottom-left-radius",borderBottomRightRadius:"border-bottom-right-radius",maxWidth:"max-width",marginBottom:"margin-bottom",maxHeight:"max-height",objectFit:"object-fit"};return Object(d["a"])(t,(function(t,n){e.push("".concat(r[n]||n,":").concat(t,";"))})),e.join("")}},{key:"computeUrl",value:function(){var e=this.originWidth,r=this.originHeight,o=this.data,a=Object(u["a"])(o,"image_url.value",""),c=Object(p["a"])(Object(u["a"])(o,"image_size.value","")),i=this.isLowQuality?750:1500,s=Math.min(i,e),l=s*(r/e),d=Object(u["a"])(o,"image_appearance.value","");if(d)try{d=JSON.parse(d)}catch(g){console.error(g)}var f=Object(u["a"])(o,"image_crop.value",""),h=Object(n["a"])(Object(n["a"])({height:l,width:s,originH:r,originW:e},f?{imageCrop:f}:{}),d?{imageAppearance:d}:{});if(l<16384&&c<20971520){var b=t.addOssSuffix(a,s,this.isLowQuality,h,this.encodedUserId),v=b.url,_=b.smallImageUrl,m=b.previewUrl;this.computedUrl=v,this.computedSmallImageUrl=_,this.computedPreviewUrl=m}else this.computedUrl=a,this.computedSmallImageUrl="",this.computedPreviewUrl=a}}],[{key:"px2rem",value:function(t){var e=t.px,r=t.computedWindowWidth;return e*(16/r)}},{key:"hasNoSize",value:function(t){var e=Object(u["a"])(t,"image_width.value",""),r=Object(u["a"])(t,"image_height.value","");return!e||!r}},{key:"ossWatermarkType",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0,r=1;return null!==e&&void 0!==e&&e.isWatermarkReocrdImg&&(r=1===Number(null===e||void 0===e?void 0:e.watermarkStyleType)?2:1),t?r:0}},{key:"addOssSuffix",value:function(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",c=arguments.length>5?arguments[5]:void 0,u=arguments.length>6?arguments[6]:void 0;e=Math.floor(Math.min(e,4096));var s=Math.floor(e/5),l="".concat(t,"?x-oss-process=image/"),d=".gif"===(null!==t&&void 0!==t?t:"").substring(t.length-4),p=null!==(r=null===u||void 0===u?void 0:u.isOriginalQuality)&&void 0!==r&&r,f=this.getFormatParam({isGif:d,defaultFormat:"format,gif"}),h="",b=this.ossWatermarkType(n,c);0!==b&&null!==o&&void 0!==o&&o.width&&!d&&(h=this.getWatermarkOssParam(o,a,b));var g=o.imageCrop,O=o.imageAppearance,j=O||{},y=j.shape,w="";g&&y!==i["b"].ORIGINAL&&void 0!==y&&(w=this.getCropOssParam(g));var C=this.getBorderRadiusOssParam(g,y);C&&h&&-1===h.indexOf("g_south")&&(h="".concat(h,",g_south"));var E=function(){return null!==u&&void 0!==u&&u.ultraLowQuality?v:n&&!p?_:m}(),T=[w,d?"":"resize,w_".concat(e),E,"interlace,1","auto-orient,1",C,h,f].filter(Boolean),k=[d?"":"resize,w_".concat(s),E,"interlace,1","auto-orient,1",f].filter(Boolean),I="",x=this.getPreviewSize(o,n),A=x.previewWidth,R=x.previewHeight;A&&R&&(o.width=A,o.height=R,I="resize,w_".concat(A),h=d?"":this.getWatermarkOssParam(o,a,b),C&&h&&-1===h.indexOf("g_south")&&(h="".concat(h,",g_south")));var S=function(){return n&&!p&&o.originW>750?null!==u&&void 0!==u&&u.ultraLowQuality?v:_:""}(),L=[w,d?"":I,"auto-orient,1",S,C,h].filter(Boolean);return{url:"".concat(l).concat(T.join("/")),smallImageUrl:"".concat(l).concat(k.join("/")),previewUrl:"".concat(l).concat(L.join("/"))}}},{key:"getPreviewSize",value:function(t,e){if(!e)return"";var r=parseInt(t.originW,10),n=parseInt(t.originH,10),o=r;return r>1125&&r<=2625?o=1125:r>2625&&(o=750),{previewWidth:o,previewHeight:Math.floor(n*(o/r))}}},{key:"getOssBase64Encode",value:function(t){var e=Object(b["a"])(encodeURIComponent(t).replace(/%([0-9A-F]{2})/g,(function(t,e){return String.fromCharCode(parseInt("0x".concat(e),16))})));return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}},{key:"getWatermarkOssParam",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0,n=t.width,o=t.height;if(n=parseInt(n,10),o=parseInt(o,10),!Object(h["a"])(n)||0===n)return"";var a=2===r,c=n/O;a&&n>o&&(c=o/j);var i=a?w:C,u=Math.floor(i.marginBottom*c),s=Math.floor(y*c),l=null===t||void 0===t?void 0:t.isThumb,d=l?2:1,p="";if(e){var f=Math.floor(i.imgHeight*c)*d,b="res/user-wm-v2/".concat(e,"@").concat(i.name,".png"),v=this.getOssBase64Encode("".concat(b,"?x-oss-process=image/resize,h_").concat(f));p="watermark,image_".concat(v,",x_").concat(s,",y_").concat(u).concat(i.opacity)}else{var _=Math.floor(i.logo.imgHeight*c)*d,m="res/".concat(i.logo.name,".png"),g=this.getOssBase64Encode("".concat(m,"?x-oss-process=image/resize,h_").concat(_));p="watermark,image_".concat(g,",x_").concat(s,",y_").concat(u).concat(i.opacity)}return p}},{key:"getCropOssParam",value:function(t){var e="";if(t)try{var r=JSON.parse(t),n=r.x,o=r.y,a=r.width,c=r.height,i=r.scale;e="crop,x_".concat(Math.floor(n*i),",y_").concat(Math.floor(o*i),",w_").concat(Math.floor(a*i),",h_").concat(Math.floor(c*i))}catch(u){console.error(u)}return e}},{key:"getBorderRadiusOssParam",value:function(t,e){var r="";if(e!==i["b"].CIRCLE)return r;if(t)try{var n=JSON.parse(t),o=n.width,a=n.scale;r="circle,r_".concat(Math.floor(o*a/2),"/format,png")}catch(c){console.error(c)}return r}},{key:"getComputedUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=arguments.length>4?arguments[4]:void 0,c=arguments.length>5?arguments[5]:void 0,i=t.data,s=i.width,l=i.height,d=i.value,f=i.image_size,h=Object(p["a"])(f)||parseInt(f,10)||0,b=Math.min(375*e,s),v=b*(l/s),_=Object(u["a"])(i,"image_appearance.value","");if(_)try{_=JSON.parse(_)}catch(O){console.error(O)}var m=Object(u["a"])(i,"image_crop.value",""),g=Object(n["a"])(Object(n["a"])({height:v,width:b,originH:parseInt(l,10),originW:parseInt(s,10)},m?{imageCrop:m}:{}),_?{imageAppearance:_}:{});return v<16384&&h<20971520?this.addOssSuffix(d,b,r,g,o,a,c):{url:d,previewUrl:d}}},{key:"getComputedImage",value:function(t){var e,r=t.data,n=r.width,o=r.height,a=r.value,c=r.image_size,i=Object(p["a"])(c)||parseInt(c,10)||0,u=Math.min(750,n),s=u*(o/n);if(s<16384&&i<20971520){var l=this.addOssSuffix(a,u);e=l.previewUrl}return e=e||a,{width:n,height:o,size:i,url:a,previewUrl:e}}},{key:"getRecordOssWatermarkType",value:function(t,e){var r={isWatermarkReocrdImg:(null===e||void 0===e?void 0:e.original_image_url)&&(null===e||void 0===e?void 0:e.original_image_url)!==(null===e||void 0===e?void 0:e.url)||(null===e||void 0===e?void 0:e.old_url)&&(null===e||void 0===e?void 0:e.old_url)!==(null===e||void 0===e?void 0:e.url),watermarkStyleType:Number(null===e||void 0===e?void 0:e.watermark_style_type)};return this.ossWatermarkType(t,r)}},{key:"isMobile",value:function(){var t;if("undefined"===typeof window)return!1;var e=((null===(t=navigator)||void 0===t?void 0:t.userAgent)||"").toLowerCase(),r=/(iphone|ipod|android|ios|ipad|blackberry|iemobile|opera mini|webos|ucweb|windows phone)/i;return r.test(e)}},{key:"getFormatParam",value:function(t){var e=t.isGif,r=t.defaultFormat,n=void 0===r?"":r;return this.supportsWebPSync()&&!e&&this.isMobile()?"format,webp":n}},{key:"supportsWebPSync",value:function(){if(null!==g)return g;try{if("undefined"!==typeof wx&&"function"===typeof wx.getSystemInfoSync)return g=!0,g;if("undefined"!==typeof document&&"function"===typeof document.createElement){var t=document.createElement("canvas");return g=(null===t||void 0===t?void 0:t.toDataURL)&&0===t.toDataURL("image/webp").indexOf("data:image/webp"),g}return g=!1,g}catch(e){return g=!1,g}}}]),t}();e["b"]=E},"7bc7":function(t,e,r){"use strict";r.d(e,"d",(function(){return W})),r.d(e,"a",(function(){return j})),r.d(e,"b",(function(){return y})),r.d(e,"e",(function(){return G})),r.d(e,"f",(function(){return Q})),r.d(e,"c",(function(){return Y}));var n=r("5530"),o=r("ade3"),a=(r("99af"),r("498a"),r("ac1f"),r("5319"),r("9129"),r("a9e3"),r("4d90"),r("a15b"),r("d3b7"),r("e9c4"),r("08f7")),c=r("dfe4");r("53ca"),r("d81d"),r("1276"),r("00b4");var i,u=r("76a4"),s=r("300c"),l=r("269b"),d=r("0be6"),p=(r("8a79"),function(t){if(t<=0)return"";var e=Math.floor(t/86400),r=t%86400,n=Math.floor(r/3600),o=r%3600,a=Math.floor(o/60),c=t%60,i=[];return e>0&&i.push("".concat(e,"天")),n>0&&i.push("".concat(n,"小时")),a>0&&i.push("".concat(a,"分")),c>0&&i.push("".concat(c,"秒")),i.join("")}),f=function(t){if(t<=0)return"";var e=Math.floor(t),r=Math.floor(t/60),n=Math.floor(t/3600),o=Math.floor(t/86400);return e<60?"".concat(e,"秒"):r<60?"".concat(r,"分钟"):n<24?"".concat(n,"小时"):"".concat(o,"天")},h=function(t){if(t<=0)return"";var e=Math.floor(t);return e<60?"second":""},b=function(t){if(!t)return null;var e=t.replace(/^严重超期/,"");return e.endsWith("秒")?"second":e.endsWith("分钟")?"minute":e.endsWith("小时")?"hour":e.endsWith("天")?"day":null},v=function(t){switch(t){case"second":return 1e3;case"minute":return 6e4;case"hour":return 36e5;case"day":return 864e5;default:return 1e3}},_={INIT:"init",PROCESS:"process",NEAR_END:"near_end",FINISH:"finish",EXPIRED_FINISH:"expired_finish",SERIOUS_EXPIRED_FINISH:"serious_expired_finish",EXPIRED_UNFINISH:"expired_unfinish",SERIOUS_EXPIRED_UNFINISH:"serious_expired_unfinish",NEAR_END_FINISH:"near_end_finish",NO_NEED_EXECUTE:"no_need_execute",SKIP:"skip"},m=r("6b40"),g=r("d4ec"),O=r("bee2"),j=function(){function t(){Object(g["a"])(this,t),this.timer=null,this.updateCallback=null,this.onEndCallback=null,this.endTime=0}return Object(O["a"])(t,[{key:"start",value:function(t,e,r){var n=this;if(t){this.stop(),this.endTime=t,this.updateCallback=e,this.onEndCallback=r||null,this.update();var o=1e3;this.timer=setInterval((function(){n.update()}),o)}}},{key:"update",value:function(){if(this.updateCallback){var t=Math.floor(Date.now()/1e3);if(t>=this.endTime){var e=this.onEndCallback;return this.updateCallback(""),this.stop(),void(e&&e())}var r=this.endTime-t,n="".concat(p(r),"后截止");this.updateCallback(n)}}},{key:"stop",value:function(){this.timer&&(clearInterval(this.timer),this.timer=null),this.updateCallback=null,this.onEndCallback=null}},{key:"isRunning",value:function(){return null!==this.timer}}]),t}(),y=function(){function t(){Object(g["a"])(this,t),this.timer=null,this.updateCallback=null,this.startTime=0,this.executeStatus=_.INIT,this.unit="hour"}return Object(O["a"])(t,[{key:"start",value:function(t,e,r,n,o){var a=this;if(t&&e)if(this.stop(),this.startTime=e,this.unit=r||"",this.executeStatus=n,this.updateCallback=o,"second"===r){var c=b(t);if(c){var i=v(c);this.update(),this.timer=setInterval((function(){a.update()}),i)}}else this.update()}},{key:"update",value:function(){if(this.updateCallback){var t=Math.floor(Date.now()/1e3);if(t1&&void 0!==arguments[1]?arguments[1]:"每";return"".concat(e).concat(w[t]||"日")},E=function(t,e){return"".concat(C(t)).concat(e,"次")},T=function(t){"workday"===t&&(t="day");var e=Object(u["a"])(["day","year"],t)?"今":"本";return C(t,e)},k=function(t){"workday"===t&&(t="day");var e=Object(u["a"])(["day","year"],t)?"明":"下";return"month"===t&&(e+="个"),C(t,e)},I=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"cycle_task_data.plan_data.cycle_config",r=Object(a["a"])(t,e,{});return E(r.cycle_type,r.cycle_count)},x=(i={},Object(o["a"])(i,_.INIT,"未开始"),Object(o["a"])(i,_.FINISH,"按期完成"),Object(o["a"])(i,_.PROCESS,"进行中"),Object(o["a"])(i,_.NEAR_END,"即将超期"),Object(o["a"])(i,_.EXPIRED_FINISH,"超期完成"),Object(o["a"])(i,_.SERIOUS_EXPIRED_FINISH,"严重超期完成"),Object(o["a"])(i,_.EXPIRED_UNFINISH,"超期未完成"),Object(o["a"])(i,_.SERIOUS_EXPIRED_UNFINISH,"严重超期未完成"),Object(o["a"])(i,_.NO_NEED_EXECUTE,"无需完成"),Object(o["a"])(i,_.SKIP,"无需完成"),i),A=function(t){var e=["周日","周一","周二","周三","周四","周五","周六"];return e[t.getDay()]},R=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"最后一";return"last"===t?e:String(t)},S=function(t){if(!t)return 0;if("number"===typeof t)return t;if("string"===typeof t){var e=t.trim();if(e){var r=new Date(e.replace(/-/g,"/"));if(!Number.isNaN(r.getTime()))return Math.floor(r.getTime()/1e3)}}return 0},L=function(t){if(!t)return"";var e=new Date(1e3*t),r=String(e.getHours()).padStart(2,"0"),n=String(e.getMinutes()).padStart(2,"0");return"".concat(r,":").concat(n)},D=function(t){if(!t)return"";var e=new Date(t.replace(/-/g,"/"));if(Number.isNaN(e.getTime()))return t;var r=new Date,n=new Date(r.getFullYear(),r.getMonth(),r.getDate()),o=new Date(n);o.setDate(o.getDate()-1);var a=new Date(e.getFullYear(),e.getMonth(),e.getDate()),c=String(e.getHours()).padStart(2,"0"),i=String(e.getMinutes()).padStart(2,"0"),u="".concat(c,":").concat(i);if(a.getTime()===n.getTime())return"今日".concat(u);if(a.getTime()===o.getTime())return"昨日".concat(u);var s=e.getMonth()+1,l=e.getDate();return e.getFullYear()===r.getFullYear()?"".concat(s,"月").concat(l,"日 ").concat(u):"".concat(e.getFullYear(),"年").concat(s,"月").concat(l,"日 ").concat(u)},M=[{value:1,label:"周一"},{value:2,label:"周二"},{value:3,label:"周三"},{value:4,label:"周四"},{value:5,label:"周五"},{value:6,label:"周六"},{value:0,label:"周日"}],N=function(t){var e;return(null===(e=Object(s["a"])(M,(function(e){return e.value===t})))||void 0===e?void 0:e.label)||""},H=function(t){return new Date(t.getFullYear(),t.getMonth()+1,0).getDate()},q=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=t||{},o=n.start,a=n.end,c=o||{},i=c.day,u=c.month,s=c.time,l=c.weekday,d=a||{},p=d.day,f=d.month,h=d.time,b=d.weekday,v=new Date;if("week"===e){var _=l===b;return _?"".concat(N(l)," ").concat(s,"-").concat(h):"".concat(N(l)," ").concat(s,"-").concat(N(b)," ").concat(h)}if("month"===e){var m=i===p,g=r?v.getMonth()+1:"",O=g?"".concat(g,"月"):"",j=r?String(H(v)):void 0;return m?"".concat(O).concat(R(i,j),"日 ").concat(s,"-").concat(h):"".concat(O).concat(R(i,j),"日 ").concat(s,"-").concat(O).concat(R(p,j),"日 ").concat(h)}if("year"===e){var y=u===f,w=i===p;return y&&w?"".concat(u,"月").concat(i,"日 ").concat(s,"-").concat(h):"".concat(u,"月").concat(i,"日 ").concat(s,"-").concat(f,"月").concat(p,"日 ").concat(h)}return"".concat(s," - ").concat(h)},P=function(t,e,r,n){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"请在",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"前完成",c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"完成";if(!r||!n)return"";var i=new Date(1e3*r),u=new Date(1e3*n),s=i.getFullYear(),l=i.getMonth()+1,d=i.getDate(),p=u.getFullYear(),f=u.getMonth()+1,h=u.getDate(),b=L(r),v=L(n);if(e){var _={day:"".concat(v),workday:"".concat(v),week:"".concat(A(u)," ").concat(v),month:"".concat(f,"月").concat(h,"日 ").concat(v),year:"".concat(f,"月").concat(h,"日 ").concat(v)},m=_[t]||"".concat(f,"月").concat(h,"日 ").concat(v);return"".concat(o).concat(m).concat(a)}var g=d===h&&l===f,O=g?"".concat(A(i)," ").concat(b,"-").concat(v):"".concat(A(i)," ").concat(b,"-").concat(A(u)," ").concat(v),j=g?"".concat(l,"月").concat(d,"日 ").concat(b,"-").concat(v):"".concat(l,"月").concat(d,"日-").concat(f,"月").concat(h,"日"),y=s===p&&g?"".concat(l,"月").concat(d,"日 ").concat(b,"-").concat(v):"".concat(l,"月").concat(d,"日-").concat(f,"月").concat(h,"日"),w={day:"".concat(b,"-").concat(v),workday:"".concat(b,"-").concat(v),week:O,month:j,year:y},C=w[t]||"".concat(l,"月").concat(d,"日").concat(b,"-").concat(f,"月").concat(h,"日").concat(v);return"".concat(o).concat(C).concat(c)},B=function(t){var e;return(e={},Object(o["a"])(e,_.NO_NEED_EXECUTE,"no-need-execute-item"),Object(o["a"])(e,_.INIT,"not-start-item"),Object(o["a"])(e,_.PROCESS,"process-item"),Object(o["a"])(e,_.NEAR_END,"near-end-item"),Object(o["a"])(e,_.FINISH,"in-time-finished-item"),Object(o["a"])(e,_.EXPIRED_FINISH,"expired-time-finished-item"),Object(o["a"])(e,_.SERIOUS_EXPIRED_FINISH,"serious-expired-time-finished-item"),Object(o["a"])(e,_.EXPIRED_UNFINISH,"expire-time-item"),Object(o["a"])(e,_.SERIOUS_EXPIRED_UNFINISH,"serious-expire-time-item"),Object(o["a"])(e,_.SKIP,"skip-item"),e)[t]||""},U=function(t){var e=Object(u["a"])([_.FINISH,_.EXPIRED_FINISH,_.SERIOUS_EXPIRED_FINISH],t),r=Object(u["a"])([_.PROCESS,_.NEAR_END,_.EXPIRED_UNFINISH,_.SERIOUS_EXPIRED_UNFINISH],t);return{isFinish:e,hasDot:r,panelClass:B(t),statusText:x[t]||""}},F=function(t){var e=Object(u["a"])([_.FINISH,_.EXPIRED_FINISH,_.SERIOUS_EXPIRED_FINISH],t),r=Object(u["a"])([_.EXPIRED_UNFINISH,_.SERIOUS_EXPIRED_UNFINISH],t),n="";if(e)n="anticon-cli-check-o status-green";else if(r){var o=t===_.SERIOUS_EXPIRED_UNFINISH?"status-serious-red":"status-red";n="anticon-cli-close-o ".concat(o)}return{hasIcon:e||r,unFinish:r,iconClass:n,panelClass:B(t),statusText:x[t]||""}},W=function(t){var e="running"===Object(a["a"])(t,"cycle_task_data.plan_data.execute_status"),r=Object(a["a"])(t,"cycle_task_data.plan_data.cycle_config.cycle_type","day"),o=Object(a["a"])(t,"cycle_task_data.cycle_lastest_end_time",""),i=S(o);if(!e)return{hasPeriodTask:!1};var b=Object(a["a"])(t,"cycle_task_data.need_show_cycle_time_uuid",""),v=Object(a["a"])(t,"cycle_task_data.plan_data.cycle_config.cycle_time_list",[]),m=Object(a["a"])(t,"cycle_task_data.cycle_task_datas",[]),g=function(t,e){var o,c,i=e.cycleTimeItem,s=e.currentTime,d=e.isRunning,b=Object(a["a"])(t,"execute_time",""),v=D(b),m=Object(a["a"])(t,"start_time",""),g=S(m),O=Object(a["a"])(t,"end_time",""),j=S(O),y=Object(a["a"])(t,"execute_status",_.INIT),w=y===_.NEAR_END,C=p(j-s),E=w&&C?"".concat(C,"后截止"):"",T="",k="";if(Object(u["a"])([_.EXPIRED_UNFINISH,_.SERIOUS_EXPIRED_UNFINISH],y)){var I=y===_.SERIOUS_EXPIRED_UNFINISH,x=s>j?s-j:0;T="".concat(I?"严重":"","超期").concat(f(x)),k=h(x)}var A=Object(l["a"])(null===t||void 0===t?void 0:t.record_data,["wx_work_msg","recorder_member_name","recorder"]),R=Object(l["a"])(null===t||void 0===t?void 0:t.record_data,["record_id","record_token","org_id"]),L=U(y),M=F(y),N=!L.isFinish&&!Object(u["a"])([_.INIT,_.NO_NEED_EXECUTE,_.SKIP],y),H=P(r,N,g,j),B=Object(l["a"])(t,["id","cycle_task_id","task_instance_id","org_id","record_tpl_id"]),W=null===t||void 0===t||null===(o=t.task_context_data)||void 0===o?void 0:o.is_first_apply_rule,G=(null===t||void 0===t||null===(c=t.task_context_data)||void 0===c?void 0:c.auto_reason)||"",Q=q(i,r,!0);return Object(n["a"])(Object(n["a"])(Object(n["a"])({simpleTaskInfo:B,isFirstApplyRule:W,autoReason:G,isRunning:d,executeStatus:y,isTaskFillable:N},L),M),{},{taskTime:Q,timeDesc:H,countdownStr:E,nearTaskEndTime:E?j:0,expiredHoursStr:T,expiredStartTime:T?j:0,expiredUnit:k,recordData:R,recorder:A,formattedExecuteTime:v})},O=Math.floor(Date.now()/1e3),j=Object(c["a"])(v,(function(t){var e=Object(a["a"])(t,"time_uuid",""),o=Object(a["a"])(t,"create_time",""),c=D(o),i=Object(s["a"])(m,(function(t){return t.cycle_time_uuid===e})),u=b===e,l=q(t,r,!0);if(!i){var d=_.NO_NEED_EXECUTE;return Object(n["a"])(Object(n["a"])({isRunning:u,createTime:c,executeStatus:d,isTaskFillable:!1},U(d)),{},{taskTime:l})}return g(i,{cycleTimeItem:t,currentTime:O,isRunning:u})})),y=1===j.length,w=y?0:Object(d["a"])(j,(function(t){return t.isRunning})),E=j[w],x=j[j.length-1],A=x&&(x.isFinish||x.executeStatus===_.NO_NEED_EXECUTE||x.executeStatus===_.SKIP),R=j.length>0&&(O>i||A);return{hasPeriodTask:!0,currentTaskUnitText:T(r),nextTaskUnitText:k(r),frequencyUnitText:C(r),frequency:I(t),isSingleTask:y,taskNumber:w+1,task:E,tasks:j,runningTasksCount:m.length,isAllDone:R}},G=function(t){var e;return"running"===(null===t||void 0===t||null===(e=t.cycle_task_config)||void 0===e?void 0:e.execute_status)},Q=function(t){var e,r;return"running"===(null===t||void 0===t||null===(e=t.cycle_task_data)||void 0===e||null===(r=e.plan_data)||void 0===r?void 0:r.execute_status)},Y=function(t,e){return t===m["h"].Expand&&1===e.length&&G(e[0])?m["h"].BlockList:t}},"7e5f":function(t,e,r){"use strict";r("a9e3"),r("b680"),r("e9c4"),r("4de4"),r("d3b7");var n=r("a607"),o=r("e9b6"),a=function(t,e,r){switch(t){case"0":return e/r;case"7":return 375/812;case"1":return 1;case"2":return 1;case"3":return 3/4;case"4":return 4/3;case"5":return 9/16;case"6":return 16/9;default:return 1}};function c(t,e,r){var n,o,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500,c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:500,i=t,u=e;(t>a||e>c||ta/c?(i=a,u=Math.round(a*(e/t))):(u=c,i=Math.round(c*(t/e)))),i/u>r?(o=u,n=Math.round(r*u)):(n=i,o=Math.round(i/r));var s=Number(Math.min(t/i,e/u).toFixed(2));return{dispW:i,dispH:u,cropW:n,cropH:o,scale:s}}var i=function(t){return Object(n["a"])(t,(function(t){var e;Object(n["a"])(null!==(e=null===t||void 0===t?void 0:t.attribute_list)&&void 0!==e?e:[],(function(t){var e,r,n,i,u,s=null!==(e=null===t||void 0===t||null===(r=t.image_appearance)||void 0===r?void 0:r.value)&&void 0!==e?e:"",l=null!==(n=null===t||void 0===t||null===(i=t.image_crop)||void 0===i?void 0:i.value)&&void 0!==n?n:"";s&&(s=JSON.parse(s));var d=s||{},p=d.shape,f="",h=null===t||void 0===t||null===(u=t.image_url)||void 0===u?void 0:u.value,b="https://static.clewm.net/cli/images/mina-cli/mina_loading.gif";if(p&&p!==o["b"].ORIGINAL&&!l&&h!==b){var v,_,m=null===t||void 0===t||null===(v=t.image_width)||void 0===v?void 0:v.value,g=null===t||void 0===t||null===(_=t.image_height)||void 0===_?void 0:_.value,O=a(p,m,g),j=c(m,g,O),y=j.cropW,w=j.cropH,C=j.scale,E={x:0,y:0,width:y,height:w,scale:C};f=JSON.stringify(E),t.image_crop.value=f}}))})),t},u=function(t){if(!t)return t;try{var e,r,n,o,a=null!==(e=null===t||void 0===t?void 0:t.qrcode_top_component)&&void 0!==e?e:[],c=null!==(r=null===t||void 0===t?void 0:t.qrcode_compontent)&&void 0!==r?r:[],u=a.filter((function(t){return"image"===t.component_code})),s=c.filter((function(t){return"image"===t.component_code}));return i(u),i(s),null!==t&&void 0!==t&&null!==(n=t.qrcode_msg)&&void 0!==n&&n.qrcode_top_component&&(t.qrcode_msg.qrcode_top_component=null===t||void 0===t?void 0:t.qrcode_top_component),null!==t&&void 0!==t&&null!==(o=t.qrcode_msg)&&void 0!==o&&o.qrcode_compontent&&(t.qrcode_msg.qrcode_compontent=null===t||void 0===t?void 0:t.qrcode_compontent),t}catch(l){return t}};e["a"]=u},8033:function(t,e,r){r("d9e2"),r("fb6a"),r("d3b7"),r("25f0");var n=function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){"use strict";function n(){return this instanceof n==0?new n:void(this._={})}function o(t){return Math.max(Math.min(t,100),0)}function a(t){return Math.max(Math.min(t,255),0)}function c(t,e,r){return[Math.max(Math.min(t,255),0),Math.max(Math.min(e,255),0),Math.max(Math.min(r,255),0)]}function i(t,e,r){return[Math.max(Math.min(t,360),0),Math.max(Math.min(e,100),0),Math.max(Math.min(r,100),0)]}var u=r(1);n.fromHex=function(t){return(new n).fromHex(t)},n.fromGrayscale=function(t){return(new n).fromGrayscale(t)},n.fromRgb=function(t,e,r){return(new n).fromRgb(t,e,r)},n.fromRgbArray=function(t){return(new n).fromRgb(t[0],t[1],t[2])},n.fromRgbObject=function(t){return(new n).fromRgb(t.r,t.g,t.b)},n.fromHsl=function(t,e,r){return(new n).fromHsl(t,e,r)},n.fromHslArray=function(t){return(new n).fromHsl(t[0],t[1],t[2])},n.fromHslObject=function(t){return(new n).fromHsl(t.h,t.s,t.l)},n.fromHsv=function(t,e,r){return(new n).fromHsv(t,e,r)},n.fromHsvArray=function(t){return(new n).fromHsv(t[0],t[1],t[2])},n.fromHsvObject=function(t){return(new n).fromHsv(t.h,t.s,t.v)},n.prototype.fromHex=function(t){var e=u.hex.rgb(t);return this._={rgb:e},this},n.prototype.fromGrayscale=function(t){t=a(t);var e=u.grayscale.rgb(t);return this._={rgb:e},this},n.prototype.fromRgb=function(t,e,r){if("number"!=typeof t||"number"!=typeof e||"number"!=typeof r)throw new Error("Arguments must be numbers");var n=c(t,e,r);return this._={rgb:n},this},n.prototype.fromRgbArray=function(t){return this.fromRgb(t[0],t[1],t[2])},n.prototype.fromRgbObject=function(t){return this.fromRgb(t.r,t.g,t.b)},n.prototype.fromHsl=function(t,e,r){if("number"!=typeof t||"number"!=typeof e||"number"!=typeof r)throw new Error("Arguments must be numbers");return this._={hsl:i(t,e,r)},this},n.prototype.fromHslArray=function(t){return this.fromHsl(t[0],t[1],t[2])},n.prototype.fromHslObject=function(t){return this.fromHsl(t.h,t.s,t.l)},n.prototype.fromHsv=function(t,e,r){if("number"!=typeof t||"number"!=typeof e||"number"!=typeof r)throw new Error("Arguments must be numbers");return this._={hsv:i(t,e,r)},this},n.prototype.fromHsvArray=function(t){return this.fromHsv(t[0],t[1],t[2])},n.prototype.fromHsvObject=function(t){return this.fromHsv(t.h,t.s,t.v)},n.prototype.toHex=function(){var t=this._.hex;if(void 0!==t)return t;var e,r=this._.rgb;e=void 0!==r?r:this.toRawRgbArray(),e[0]=Math.round(e[0]),e[1]=Math.round(e[1]),e[2]=Math.round(e[2]);var n=u.rgb.hex(e);return this._.hex=n,n},n.prototype.toGrayscale=function(){var t=this._.grayscale;if(void 0!==t)return t;var e,r=this._.rgb;e=void 0!==r?r:this.toRawRgbArray();var n=u.rgb.grayscale(e);return this._.grayscale=n,n},n.prototype.toRawRgbArray=function(){var t,e=this._.rgb;if(void 0!==e)return e;if(void 0!==(t=this._.hsv))t=u.hsv.rgb(t);else{if(void 0===(t=this._.hsl))throw new Error("No data to convert");t=u.hsl.rgb(t)}return this._.rgb=t,t},n.prototype.toRawRgbObject=function(){var t=this.toRawRgbArray();return{r:t[0],g:t[1],b:t[2]}},n.prototype.toRgbArray=function(){var t=this.toRawRgbArray();return[Math.round(t[0]),Math.round(t[1]),Math.round(t[2])]},n.prototype.toRgbObject=function(){var t=this.toRgbArray();return{r:t[0],g:t[1],b:t[2]}},n.prototype.toRawHslArray=function(){var t,e=this._.hsl;if(void 0!==e)return e;if(void 0!==(t=this._.hsv))t=u.hsv.hsl(t);else{if(void 0===(t=this._.rgb))throw new Error("No data to convert");t=u.rgb.hsl(t)}return this._.hsl=t,t},n.prototype.toRawHslObject=function(){var t=this.toRawHslArray();return{h:t[0],s:t[1],l:t[2]}},n.prototype.toHslArray=function(){var t=this.toRawHslArray();return[Math.round(t[0]),Math.round(t[1]),Math.round(t[2])]},n.prototype.toHslObject=function(){var t=this.toHslArray();return{h:t[0],s:t[1],l:t[2]}},n.prototype.toRawHsvArray=function(){var t,e=this._.hsv;if(void 0!==e)return e;if(void 0!==(t=this._.hsl))t=u.hsl.hsv(t);else{if(void 0===(t=this._.rgb))throw new Error("No data to convert");t=u.rgb.hsv(t)}return this._.hsv=t,t},n.prototype.toRawHsvObject=function(){var t=this.toRawHsvArray();return{h:t[0],s:t[1],v:t[2]}},n.prototype.toHsvArray=function(){var t=this.toRawHsvArray();return[Math.round(t[0]),Math.round(t[1]),Math.round(t[2])]},n.prototype.toHsvObject=function(){var t=this.toHsvArray();return{h:t[0],s:t[1],v:t[2]}},n.prototype.lighten=function(t){var e=this.toRawHslArray();return e[2]=o(e[2]+t),this._={hsl:e},this},n.prototype.darken=function(t){var e=this.toRawHslArray();return e[2]=o(e[2]-t),this._={hsl:e},this},n.prototype.clone=function(){var t=new n;return t._.hex=this._.hex,t._.grayscale=this._.grayscale,void 0!==this._.rgb&&(t._.rgb=this._.rgb.slice(0)),void 0!==this._.hsv&&(t._.hsv=this._.hsv.slice(0)),void 0!==this._.hsl&&(t._.hsl=this._.hsl.slice(0)),t},t.exports=n},function(t,e){"use strict";function r(t){return 58>t?t-48:71>t?t-55:t-87}function n(t){var e="#"===t[0]?1:0,n=t.length;if(3>n-e)throw new Error("hex input must be at least three chars long");var o,a,c,i=r(t.charCodeAt(0+e)),u=r(t.charCodeAt(1+e)),s=r(t.charCodeAt(2+e));if(n-e>=6?(o=(i<<4)+u,a=(s<<4)+r(t.charCodeAt(3+e)),c=(r(t.charCodeAt(4+e))<<4)+r(t.charCodeAt(5+e))):(o=(i<<4)+i,a=(u<<4)+u,c=(s<<4)+s),0>o||o>255||0>a||a>255||0>c||c>255)throw new Error("hex input is invalid");return[o,a,c]}function o(t){return"#"+("000000"+((t[0]<<16)+(t[1]<<8)+t[2]).toString(16)).slice(-6)}function a(t){var e,r,n,o=t[0]/255,a=t[1]/255,c=t[2]/255,i=Math.min(o,a,c),u=Math.max(o,a,c),s=u-i;return u===i?e=0:o===u?e=(a-c)/s:a===u?e=2+(c-o)/s:c===u&&(e=4+(o-a)/s),e=Math.min(60*e,360),0>e&&(e+=360),n=(i+u)/2,r=u===i?0:.5>=n?s/(u+i):s/(2-u-i),[e,100*r,100*n]}function c(t){var e,r,n,o=t[0],a=t[1],c=t[2],i=Math.min(o,a,c),u=Math.max(o,a,c),s=u-i;return r=0===u?0:s/u*100,u===i?e=0:o===u?e=(a-c)/s:a===u?e=2+(c-o)/s:c===u&&(e=4+(o-a)/s),e=Math.min(60*e,360),0>e&&(e+=360),n=u/255*100,[e,r,n]}function i(t){var e,r,n,o=t[0]/360,a=t[1]/100,c=t[2]/100;if(0===a)e=r=n=c;else{var i,u=.5>c?c*(a+1):c+a-c*a,s=2*c-u;i=o+1/3,0>i?i+=1:i>1&&(i-=1),e=1/6>i?s+(u-s)*i*6:.5>i?u:2/3>i?s+(u-s)*(2/3-i)*6:s,i=o,0>i?i+=1:i>1&&(i-=1),r=1/6>i?s+(u-s)*i*6:.5>i?u:2/3>i?s+(u-s)*(2/3-i)*6:s,i=o-1/3,0>i?i+=1:i>1&&(i-=1),n=1/6>i?s+(u-s)*i*6:.5>i?u:2/3>i?s+(u-s)*(2/3-i)*6:s}return[255*e,255*r,255*n]}function u(t){var e,r,n=t[0],o=t[1]/100,a=t[2]/100;return 0===o?[n,0,100*a]:0===a?[n,0,0]:(a*=2,o*=1>=a?a:2-a,r=(a+o)/2,e=2*o/(a+o),[n,100*e,100*r])}function s(t){var e=t[0]/60,r=t[1]/100,n=t[2]/100,o=Math.floor(e)%6,a=e-Math.floor(e),c=255*n*(1-r),i=255*n*(1-r*a),u=255*n*(1-r*(1-a));switch(n*=255,o){case 0:return[n,u,c];case 1:return[i,n,c];case 2:return[c,n,u];case 3:return[c,i,n];case 4:return[u,c,n];case 5:return[n,c,i]}}function l(t){var e,r,n=t[0],o=t[1]/100,a=t[2]/100;return 0===o?[n,0,100*a]:0===a?[n,0,0]:(r=(2-o)*a,e=o*a,e/=1>=r?r:2-r,r/=2,[n,100*e,100*r])}function d(t){return[t,t,t]}function p(t){return(299*t[0]+587*t[1]+114*t[2])/1e3}t.exports={grayscale:{rgb:d},hex:{rgb:n},rgb:{hsl:a,hsv:c,hex:o,grayscale:p},hsl:{rgb:i,hsv:u},hsv:{rgb:s,hsl:l}}}]);t.exports=n},8262:function(t,e,r){"use strict";var n=r("f1d0"),o=r("1894");e["a"]=function(t){var e=t.project,r=t.computedDpr,a=t.originWindowWidth,c=a;return e===n["k"].MPCLI&&Object(o["a"])()&&(c=a/r),c}},"85f5":function(t,e,r){"use strict";r("b64b");e["a"]=function(t){return t?Object.keys(t):[]}},"87f6":function(t,e,r){"use strict";r.d(e,"c",(function(){return s})),r.d(e,"b",(function(){return l})),r.d(e,"a",(function(){return d}));var n=r("5530"),o=(r("ac1f"),r("1276"),r("a15b"),r("76a4")),a=r("6260"),c=r("0cbb"),i=r("d197"),u=["/qrcode/getQrcodeMsg","/record/getTpls","/state/getTargetStateMsgByQrcodeIds","/operation/getQrcodeOperation","/template_qrcode/getChildrenListStyleColumn","/recordTpl/getCodeTplList","/qrcode/getQrcodeBaseSetting","/record/getTplDesc","/record/getDesc","/state/getStateMsg","/qrcoderoute/qrcodeRouteNew","/qrcoderoute/getQrcodeRecordEntrance","/qrcoderoute/getQrcodeProperties","/record/getRecordTpl","/record/getTplDescAssCode","/state/getTargetStateMsg","/state/getStateMsg","/operation/getQrcodeOperationByQrcodeRoute","/record/editTpl","/qrcode/setQrcodeRecord","/state/setStateMsg","/state/operateTargetStateMsg","/dataAuth/operateDataAuthSetting","/operation/setQrcodeOperation","/template_qrcode/transferMaster","/template_qrcode/editMasterFromExternal","/template_qrcode/editMasterFromExternalNew","/qrstyle/getCodeStyle","/operation/copyQrcodeOperation","/template_qrcode/downLoadTemplateTplExcel","/template_qrcode/getChildrenListStyleColumnForSpread","/template_qrcode/getTemplateSpreadMapMsg","/qrcode/getChildrenQrcodeRecordList","/template_qrcode/createChild","/dataAuth/getDataAuthSetInfo","/qrcode/operateQrcodeMsg","/qrcode/operateQrcodeMsgNew","/state/getStateSet","/recordTpl/getRecordTplScanData","/state/batchOperateStateSet","/category/getSummaryQrcodeList","/record/previewTplForQrcodeExport","/template_qrcode/getMasterFormLog","/template_qrcode/getMasterMeta","/template_qrcode/getChildQrcodeMsg"],s=function(t){return Object(o["a"])(u,t)},l=function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"package_id",o=null;return o="boolean"===typeof t?t:t(),!(!o||!Object(a["a"])(e)&&!Object(c["a"])(e))&&(r[n]=e,!0)},d=function(t){if(!t)return{};var e=t.split("/"),r=0;if(e.length&&-1!==e[e.length-1].indexOf("render_")){var o=e.pop();r=o===i["M"].RENDER_CHILD?i["L"].Child:o===i["M"].RENDER_QRCODE?i["L"].Single:i["L"].Temp}return Object(n["a"])({url:e.join("/")},r?{renderingMode:r}:{})}},"8e05":function(t,e,r){"use strict";var n,o,a,c;r.d(e,"b",(function(){return n})),r.d(e,"c",(function(){return o})),r.d(e,"a",(function(){return a})),r.d(e,"d",(function(){return c})),function(t){t[t["List"]=0]="List",t[t["Expand"]=1]="Expand",t[t["Bottom"]=2]="Bottom",t[t["Hide"]=3]="Hide",t[t["BlockList"]=4]="BlockList",t[t["Grid"]=5]="Grid",t[t["MinimalList"]=6]="MinimalList",t[t["IconList"]=7]="IconList",t[t["CodeBall"]=8]="CodeBall"}(n||(n={})),function(t){t[t["List1"]=1]="List1",t[t["Hide"]=2]="Hide",t[t["List3"]=3]="List3",t[t["TimeLine"]=4]="TimeLine",t[t["UnionList"]=5]="UnionList",t[t["Stats"]=6]="Stats",t[t["ClosedStats"]=7]="ClosedStats"}(o||(o={})),function(t){t[t["Head"]=1]="Head",t[t["Hide"]=2]="Hide",t[t["Body"]=3]="Body"}(a||(a={})),function(t){t[t["Head"]=1]="Head",t[t["BodyBottom"]=2]="BodyBottom",t[t["Hide"]=3]="Hide"}(c||(c={}))},"8f21":function(t,e,r){"use strict";var n=r("d4ec"),o=r("bee2"),a="H5_OPEN_ID",c=r("1f82"),i=r.n(c),u=function(){function t(){if(Object(n["a"])(this,t),this.id="",t.instance)return t.instance;t.instance=this,this.setID()}return Object(o["a"])(t,[{key:"setID",value:function(){var t=this.getIDFromStorage();t||(t=i.a.parse(i.a.generate()).hexNoDelim,this.setIDToStorage(t)),this.id=t}},{key:"getIDFromStorage",value:function(){return localStorage.getItem(a)||""}},{key:"setIDToStorage",value:function(t){return localStorage.setItem(a,t),t}}]),t}();u.instance=null;e["a"]=u},"90d9":function(t,e,r){"use strict";r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return a})),r.d(e,"c",(function(){return c}));var n=r("d197"),o=(r("76a4"),{SINGLE:0,OLD_BATCH_TPL:1,OLD_BATCH_CHILD:2,NC_BATCH_CHILD:3,NEW_BATCH_TPL:4,NC_STATIC_CHILD:5,NC_STATIC:5,TEXT_STATIC:6,URL_STATIC:7,WEIXIN_STATIC:8,PLACEHOLDER:9});function a(t){var e;if(!t)return!1;var r=null!==(e=null===t||void 0===t?void 0:t.qrcode_small_type)&&void 0!==e?e:0;return r===n["K"].JUMP}function c(t){var e;if(!t)return!1;var r=null!==(e=null===t||void 0===t?void 0:t.qrcode_small_type)&&void 0!==e?e:0;return r===n["K"].MULTI_URL}},"98b6":function(t,e,r){},"9f5d":function(t,e,r){"use strict";var n=r("131c");r.d(e,"a",(function(){return n["c"]}))},a607:function(t,e,r){"use strict";var n=r("5530"),o=(r("b64b"),r("a719"));function a(t,e){if(t&&e){var r=Object(o["a"])(t);t=Object(n["a"])({},t);for(var a=Object.keys(t),c=a.length,i=0;i1&&void 0!==arguments[1]?arguments[1]:{},n=Object(c["a"])(Object(u["k"])(r));try{for(n.s();!(e=n.n()).done;){var o=Object(a["a"])(e.value,2),i=o[0],s=o[1];t=t.replace(":".concat(i),s)}}catch(l){n.e(l)}finally{n.f()}return t};function p(t){return function(e){e.prototype.domain=t}}var f=function(t,e,r){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];r=r.toLocaleLowerCase();var c=null;switch(r){case"get":c=i["a"];break;case"post":c=i["c"];break;case"jsonp":c=i["b"];break}return function(r,i,p){var f=r[i];p.value=Object(o["a"])(Object(n["a"])().mark((function o(){var i,p,h,b,v,_,m=arguments;return Object(n["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i={},n.next=3,f.apply(void 0,m);case 3:if(p=n.sent,Object(l["b"])(Object(l["c"])(t),s["a"].h5QueryString.package_id,p),Object(l["b"])(Object(l["c"])(t),s["a"].h5QueryString.rendering_mode,p,"rendering_mode"),p||(p={}),h={},b={},v=null,Array.isArray(p)?(h=p[0],v=p[1],b=p[2]):h=p,v&&(t=d(t,v)),n.prev=12,_="".concat(e||r.domain).concat(t),!a){n.next=18;break}i=navigator.sendBeacon("".concat(_,"?").concat(Object(u["U"])(h))),n.next=21;break;case 18:return n.next=20,c(_,h,b);case 20:i=n.sent;case 21:n.next=27;break;case 23:return n.prev=23,n.t0=n["catch"](12),f.onError&&f.onError({e:n.t0,data:h,header:b,path:t}),n.abrupt("return");case 27:if(!f.onSuccess){n.next=31;break}return n.next=30,f.onSuccess(i);case 30:return n.abrupt("return",n.sent);case 31:return n.abrupt("return",i);case 32:case"end":return n.stop()}}),o,null,[[12,23]])})))}};function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return f(t,e,"jsonp")}function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return f(t,e,"get",r)}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return f(t,e,"post")}function _(t){return function(e,r){e[r].onSuccess=t}}},b6f3:function(t,e,r){"use strict";var n=r("a607");function o(t,e){var r=!1;return t&&e?(Object(n["a"])(t,(function(t,n){if(e(t,n))return r=!0,!1})),r):r}e["a"]=o},b751:function(t,e,r){"use strict";r("99af"),r("fb6a");var n=r("d6ad"),o=r("a607"),a=r("76a4"),c=r("5af5"),i=r("e554"),u=r("0cbb"),s={image:"图片",file:"文件",audio:"音频",video:"视频"};e["a"]=function(t){var e=t.data,r=t.collapse,l=null===e||void 0===e?void 0:e.tpl_type,d=null===e||void 0===e?void 0:e.sub_target_type;if(13===l||2===d){var p,f,h,b,v,_,m,g,O,j,y,w;if(13===l)f=null!==(h=null!==(b=null===e||void 0===e?void 0:e.textAreaValue)&&void 0!==b?b:null===e||void 0===e||null===(v=e.tpl_groups)||void 0===v||null===(_=v[0])||void 0===_||null===(m=_.fields)||void 0===m||null===(g=m[0])||void 0===g?void 0:g.value)&&void 0!==h?h:"";else f=null!==(O=null===e||void 0===e||null===(j=e.extra_msg)||void 0===j||null===(y=j.log_msg)||void 0===y?void 0:y.operate_msg)&&void 0!==O?O:{};w=Object(u["a"])(f)?Object(c["a"])(f,{}):f;var C="修改了内容",E=0,T=w,k=T.show_multimedia_data,I=T.from_operation_id,x=Object(n["a"])(w.operate_attributes);Object(o["a"])(x,(function(t){var e,r=t.tpl_field_name,n=t.new_value,o=t.tpl_field_id,i=t.operate_type,u=3===i,l=Object(a["a"])(["image","file","audio","video"],r);t.isMultimedia=l,t.multimediaName=null!==(e=s[r])&&void 0!==e?e:"";var d=Object(c["a"])(n,[]);"image"===r&&(t.multimediaName=u?t.multimediaName:"".concat(null===d||void 0===d?void 0:d.length,"张").concat(t.multimediaName)),l&&(t.newValue={id:o,value:d})}));var A=null!==(p=null===x||void 0===x?void 0:x.length)&&void 0!==p?p:0;if(1===A){var R=x[0],S=null===R||void 0===R?void 0:R.operate_type,L=null===R||void 0===R?void 0:R.isMultimedia,D=null===R||void 0===R?void 0:R.multimediaName;E=S;var M=L?D:"内容";1===S?C="添加了".concat(M):2===S?C="修改了".concat(M):3===S?C="删除了".concat(M):4===S&&(C="操作了".concat(M))}return{operates:r&&A>2?x.slice(0,1):x,operateSize:A,operateType:E,operateTypeDesc:C,stateOperateType:0,showMultimediaData:k,fromOperationId:I}}if(7===l){var N,H,q,P=null===e||void 0===e||null===(N=e.tpl_groups)||void 0===N||null===(H=N[0])||void 0===H?void 0:H.fields;Object(o["a"])(P,(function(t){if(Object(i["a"])(t))return q=t.value,!1}));var B=Object(c["a"])(q,{}),U=B.operate_type;return{operates:[],operateSize:0,operateType:0,operateTypeDesc:"",stateOperateType:U,showMultimediaData:0}}return{operates:[],operateSize:0,operateType:0,operateTypeDesc:"",stateOperateType:0,showMultimediaData:0}}},be7d:function(t,e,r){"use strict";e["a"]=function(t){var e,r,n,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a=0,c=t.length,i="";while(a>2),i+=o.charAt((3&e)<<4),i+="==";break}if(r=t.charCodeAt(a++),a===c){i+=o.charAt(e>>2),i+=o.charAt((3&e)<<4|(240&r)>>4),i+=o.charAt((15&r)<<2),i+="=";break}n=t.charCodeAt(a++),i+=o.charAt(e>>2),i+=o.charAt((3&e)<<4|(240&r)>>4),i+=o.charAt((15&r)<<2|(192&n)>>6),i+=o.charAt(63&n)}return i}},c760:function(t,e,r){"use strict";var n=r("07f0"),o="net";Object(n["a"])(o);e["a"]={PROJECT_EVN:o,COMPILER_ENV:Object(n["b"])(),ONLINE:"online"===Object(n["b"])(),SHOW_SCAN_ENTRY_AUTO:!0,_WECHAT:{APPID:{MIDDLE:"wx9ed353c2ad8fda21",CLI:"wx5db79bd23a923e8e"}}}},cb9b:function(t,e,r){"use strict";e["a"]=function(t){return t!==t}},cf1a:function(t,e,r){"use strict";e["a"]=function(t,e){return!(!t||!e)&&Object.prototype.hasOwnProperty.call(t,e)}},d197:function(t,e,r){"use strict";r.d(e,"g",(function(){return p})),r.d(e,"h",(function(){return f})),r.d(e,"i",(function(){return h})),r.d(e,"j",(function(){return b})),r.d(e,"O",(function(){return _})),r.d(e,"P",(function(){return m})),r.d(e,"F",(function(){return g})),r.d(e,"G",(function(){return O})),r.d(e,"H",(function(){return j})),r.d(e,"I",(function(){return y})),r.d(e,"o",(function(){return w})),r.d(e,"y",(function(){return C})),r.d(e,"x",(function(){return E})),r.d(e,"c",(function(){return T})),r.d(e,"A",(function(){return k})),r.d(e,"z",(function(){return I})),r.d(e,"r",(function(){return x})),r.d(e,"B",(function(){return A})),r.d(e,"J",(function(){return R})),r.d(e,"V",(function(){return N})),r.d(e,"L",(function(){return u})),r.d(e,"M",(function(){return s})),r.d(e,"l",(function(){return H})),r.d(e,"a",(function(){return q})),r.d(e,"k",(function(){return P})),r.d(e,"C",(function(){return B})),r.d(e,"w",(function(){return F})),r.d(e,"s",(function(){return W})),r.d(e,"Q",(function(){return G})),r.d(e,"m",(function(){return Q})),r.d(e,"u",(function(){return Y})),r.d(e,"t",(function(){return X})),r.d(e,"n",(function(){return z})),r.d(e,"d",(function(){return V})),r.d(e,"e",(function(){return K})),r.d(e,"v",(function(){return J})),r.d(e,"p",(function(){return $})),r.d(e,"q",(function(){return Z})),r.d(e,"E",(function(){return tt})),r.d(e,"N",(function(){return et})),r.d(e,"f",(function(){return rt})),r.d(e,"S",(function(){return nt})),r.d(e,"R",(function(){return ot})),r.d(e,"U",(function(){return ct})),r.d(e,"T",(function(){return ut})),r.d(e,"D",(function(){return U})),r.d(e,"b",(function(){return dt})),r.d(e,"K",(function(){return lt}));var n,o,a,c,i,u,s,l=r("ade3"),d=(r("b64b"),r("99af"),r("f1d0")),p=20,f="display_style",h="horizontal_menu",b="sort_type",v="数据审批",_=1617796800,m=1617343200,g="placeholder-wrapper",O="placeholder-icon",j="placeholder-name",y="placeholder-text-wrapper",w=d["c"].ButtonCard,C={"#2D77C7":"#F3F6F9","#C74C49":"#FBF6F6","#DD7E2F":"#FDF6F0","#EBA62F":"#FEF9EF","#1BA04C":"#F1F8F4","#5758C2":"#F2F2F9","#FFFFFF":"#F8F8F8"},E=Object.keys(C),T={Admin:"管理员",Group:"指定身份组或部门",HighGroup:"指定高级成员",Any:"任何人",Password:"输入密码查看",WithinGroup:"所有成员",OutGroup:"开启".concat(v,"功能"),WxWork:"企业微信同事",OnlyAdmin:"仅管理员",Member:"指定成员"},k="操作名称",I="前往",x={Head:1,Hide:2,Body:3},A={Head:1,BodyBottom:2,Hide:3},R={HAS:15,NO:16},S={OLD_ACTIVE:{FILE:"file",TEXT:"text",IMG_TEXT:"imgtext",URL:"url",JUMP:"jump",PRO:"pro"},NC:"nc",BATCH_STATIC:"batchstatic",NC_STATIC:"nc_static",NC_NORMAL_STATIC:"nc_normal_static",NC_STATIC_CHILD:"nc_static_child",STATIC:"static"},L=(S.STATIC,S.NC_STATIC,S.NC_NORMAL_STATIC,S.NC_STATIC_CHILD,S.BATCH_STATIC,[S.OLD_ACTIVE.JUMP,S.OLD_ACTIVE.PRO,S.OLD_ACTIVE.URL,S.OLD_ACTIVE.FILE,S.OLD_ACTIVE.TEXT,S.OLD_ACTIVE.IMG_TEXT]),D=([S.NC].concat(L),{NORMAL:{ACTIVE:0,TEXT:6,URL:7,WEIXIN:8},OLD_BATCH:1,OLD_BATCH_CHILDREN:2,NEW_BATCH:4,NEW_BATCH_CHILDREN:3,NEW_STATIC_BATCH:5}),M=(n={},Object(l["a"])(n,D.NORMAL.ACTIVE,"活码"),Object(l["a"])(n,D.OLD_BATCH,"活码"),Object(l["a"])(n,D.NORMAL.TEXT,"静态码"),Object(l["a"])(n,D.NORMAL.URL,"静态码"),Object(l["a"])(n,D.NORMAL.WEIXIN,"静态码"),Object(l["a"])(n,D.NEW_BATCH_CHILDREN,"子码"),Object(l["a"])(n,D.NEW_STATIC_BATCH,"标签"),o={},Object(l["a"])(o,S.OLD_ACTIVE.FILE,"文件码"),Object(l["a"])(o,S.OLD_ACTIVE.IMG_TEXT,"图文码"),Object(l["a"])(o,S.OLD_ACTIVE.TEXT,"文本码"),Object(l["a"])(o,S.OLD_ACTIVE.URL,"网址码"),Object(l["a"])(o,S.OLD_ACTIVE.JUMP,"跳转码"),Object(l["a"])(o,S.OLD_ACTIVE.PRO,"商品码"),{ADMIN:1,SUB_ADMIN:2,MEMBER:3,NORMAL_MEMBER:4,DATA_SUB_MEMBER:5}),N=(M.ADMIN,M.SUB_ADMIN,M.MEMBER,M.DATA_SUB_MEMBER,M.MEMBER,M.DATA_SUB_MEMBER,M.SUB_ADMIN,d["h"].IMAGE_STYLE_1,d["h"].IMAGE_STYLE_2,d["f"].IMAGE_STYLE_1,{CODE_FILE:"CODE_FILE",RECORD_NOTARY:"RECORD_NOTARY",CHILD_NOTARY:"CHILD_NOTARY"});(function(t){t[t["Temp"]=1]="Temp",t[t["Child"]=2]="Child",t[t["Single"]=3]="Single"})(u||(u={})),function(t){t["RENDER_CHILD"]="render_child",t["RENDER_QRCODE"]="render_qrcode"}(s||(s={}));var H,q,P;(function(t){t[t["LIST"]=0]="LIST",t[t["LIST_CARD"]=1]="LIST_CARD",t[t["LOGO_CARD"]=2]="LOGO_CARD",t[t["AVATAR_CARD"]=3]="AVATAR_CARD",t[t["HOME_CARD"]=4]="HOME_CARD"})(H||(H={})),function(t){t[t["TEXT"]=0]="TEXT",t[t["MAP_CARD"]=1]="MAP_CARD",t[t["SIMPLE_CARD"]=2]="SIMPLE_CARD"}(q||(q={})),function(t){t[t["MAIN_COMPONENT"]=0]="MAIN_COMPONENT",t[t["HEAD_COMPONENT"]=1]="HEAD_COMPONENT",t[t["FIXED_BOTTOM_COMPONENT"]=2]="FIXED_BOTTOM_COMPONENT",t[t["HEAD_RICH_TEXT_COMPONENT"]=3]="HEAD_RICH_TEXT_COMPONENT"}(P||(P={}));var B;(function(t){t["SHORT_LINK"]="short_link"})(B||(B={}));var U,F={from:"#EDEDED",to:"#F6F6F6",gradientCSS:"linear-gradient(to bottom, #EDEDED 0%, #F6F6F6 100%)"},W={NONE:0,GRADIENT:1,ARC:2,BEVEL:3},G=(a={},Object(l["a"])(a,W.ARC,d["b"].CURVED),Object(l["a"])(a,W.BEVEL,d["b"].STRAIGHT),a),Q=W.NONE,Y={NONE:0,THEME:1,GAUSSIAN_BLUR:2},X={1:"5px",2:"10px",3:"20px"},z=(Y.NONE,Y.THEME),V={NONE:0,HORIZONTAL_MOVE:1,SLOW_ZOOM:2,DYNAMIC_FLOAT:3},K={LOOP:1,ONCE:2},J=(V.NONE,K.LOOP,{IMAGE:0,COLOR:1,DYNAMIC:2,VIDEO:3}),$=(c={},Object(l["a"])(c,J.DYNAMIC,"动态背景"),Object(l["a"])(c,J.VIDEO,"视频背景"),Object(l["a"])(c,J.IMAGE,"背景图"),Object(l["a"])(c,J.COLOR,"背景色"),{FOG:{config:{blurFactor:.9,zoom:1,speed:1.4}},NET:{config:{points:10,maxDistance:35,spacing:20,showDots:!0,scale:1,scaleMobile:1}},WAVES:{config:{shininess:25,waveHeight:12,waveSpeed:.7,zoom:1.6}},TOPOLOGY:{isP5:!0,config:{}},HALO:{config:{size:3,amplitudeFactor:2.5,xOffset:.13,yOffset:.33}},CELLS:{config:{size:5,speed:1}}}),Z={NONE:0,GRADIENT:1},tt=/0{0,1}1[3|4|5|6|7|8|9][0-9]{9}/,et=["image-tpl9","image-tpl13","navigator-tpl10","navigator-tpl20"],rt=["image-tpl1","image-tpl21","title-tpl71","title-tpl52","title-tpl84","title-tpl115","title-tpl110","title-tpl80","image-tpl5","text-tpl94","text-tpl64","title-tpl81","title-tpl7","title-tpl75","title-tpl77","title-tpl104","title-tpl106","title-tpl79","title-tpl3","title-tpl2","title-tpl53","title-tpl1","title-tpl4","title-tpl10","title-tpl66","title-tpl119","text-tpl3","text-tpl15","text-tpl7","text-tpl17","text-tpl18","text-tpl68","text-tpl58","navigator-tpl63","navigator-tpl64","navigator-tpl121","navigator-tpl122","image-tpl25","image-tpl26","image-tpl27","image-tpl6","navigator-tpl13","navigator-tpl60","title-tpl88","text-tpl65","title-tpl100","divider-tpl1","divider-tpl2","divider-tpl5","divider-tpl6","divider-tpl7","navigator-tpl18","navigator-tpl19","navigator-tpl61","navigator-tpl62","title-tpl22","title-tpl82","text-tpl82","text-tpl87","text-tpl21","table-tpl14","previewTable-table-tpl14","divider-tpl24","text-tpl39","title-tpl21","title-tpl73"],nt={NONE:0,THEME:1},ot=(nt.NONE,{NONE:0,GRADIENT:1}),at=(ot.GRADIENT,{PARTIAL:0,FULL:1}),ct=at.PARTIAL,it={LOOP:0,SINGLE:1},ut=it.LOOP;(function(t){t["CHECK_ITEM"]="checkitem",t["NON_CHECK_ITEM"]="non_checkitem",t["ALL"]="all"})(U||(U={}));var st,lt,dt=(i={},Object(l["a"])(i,U.CHECK_ITEM,"AI会理解图片内容并判断检查项结果"),Object(l["a"])(i,U.NON_CHECK_ITEM,"AI会理解图片内容并自动填表"),Object(l["a"])(i,U.ALL,"AI会理解图片内容并自动填表,判断检查项结果"),i);(function(t){t[t["Dynamic"]=247]="Dynamic",t[t["Multi"]=248]="Multi"})(st||(st={})),function(t){t[t["JUMP"]=1]="JUMP",t[t["MULTI_URL"]=2]="MULTI_URL"}(lt||(lt={}))},d1b2:function(t,e,r){"use strict";r.d(e,"b",(function(){return _})),r.d(e,"e",(function(){return j})),r.d(e,"c",(function(){return C})),r.d(e,"d",(function(){return T})),r.d(e,"a",(function(){return x}));var n,o=r("2909"),a=r("d4ec"),c=r("bee2"),i=r("ade3"),u=(r("caad"),r("2532"),r("b0c0"),r("4e82"),r("d3b7"),r("159b"),r("7db0"),r("c740"),r("acb3")),s=r("08f7"),l=r("a607"),d=r("9f5d"),p=r("de79"),f=r("d197"),h=r("7bc7"),b={List:0,Expand:1,Bottom:2,Hide:3,BlockList:4,NineSquare:5,MinimalList:6,IconList:7},v={Code:0,Open:1,ToClose:2,Remain:3},_={STATE:1,TPL:2,LINK:3,PLACEHOLDER:4,OPERATE:-1},m={HREF:3,TYPE:4,DESC:2,PLACEHOLDER_VALUE:5,PLACEHOLDER_ALL:7},g=(n={},Object(i["a"])(n,_.STATE,{name:"状态组",key:"state_id",completeInfo:{type:""}}),Object(i["a"])(n,_.TPL,{name:"表单",key:"tpl_id",completeInfo:{type:"tplEdit"}}),Object(i["a"])(n,_.LINK,{name:"链接",key:""}),Object(i["a"])(n,_.OPERATE,{}),n),O={btnBgColor:"#fff",btnBorderColor:"#576B95",btnColor:"#576B95",listBgColor:"#f8f8f8"},j=function(t){return f["x"].includes(t)&&"#FFFFFF"!==t?{btnColor:"#fff",btnBgColor:t,btnBorderColor:t,listBgColor:f["y"][t]}:O},y=function(t){var e=Object(s["a"])(t,"operation_msg.element_list.0.options"),r=null;return Object(l["a"])(e,(function(t){if(3===t.option_type)return r=t,!1})),Object(s["a"])(r,"option_value","")},w=function(t){var e=Object(s["a"])(t,"operation_msg.element_list.0.options"),r=null;return Object(l["a"])(e,(function(t){if(7===t.option_type)return r=t,!1})),"1"===Object(s["a"])(r,"option_value","")?[{id:"all"}]:(r=null,Object(l["a"])(e,(function(t){if(5===t.option_type)return r=t,!1})),Object(s["a"])(r,"option_value",""))},C=function(t){var e=Object(s["a"])(t,"operation_msg.element_list.0"),r=Object(s["a"])(e,"element_type");if(3===r)return!y(t);if(4===r)return!w(t);var n=Object(s["a"])(e,"element_value");return!r||!n},E=function(t){var e,r,n,o,a,c,i,u=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],s={};u?r=null===t||void 0===t||null===(n=t.tpl_record)||void 0===n||null===(o=n.add_record_limit_result)||void 0===o||null===(a=o.state)||void 0===a?void 0:a[0]:r=null===t||void 0===t||null===(c=t.add_record_limit_result)||void 0===c||null===(i=c.state)||void 0===i?void 0:i[0];if(!r)return s;var l=(null===(e=r)||void 0===e?void 0:e.limit_config)||{},d=l.action_mode,p=l.state_record,f=l.state_option_record;return s={stateOptionText:null===f||void 0===f?void 0:f.text,stateText:null===p||void 0===p?void 0:p.name,actionModeText:"disable"===d?"不可填写":"才能填写",isStateLimit:!0},s},T=function(t){var e,r=t.$customLimit,n=t.operation_msg.bgcolor,o=j(n),a=o.btnBgColor,c=o.btnBorderColor,i=o.btnColor,u=o.listBgColor,s=null===(e=t.operation_msg.element_list)||void 0===e?void 0:e[0],l=E(t);return{item:{buttonText:t.operation_msg.button_text,name:t.operation_msg.title,remark:t.operation_msg.subtitle,$customLimit:r,isEmptyContent:C(t),operateId:t.operation_id,elementType:null===s||void 0===s?void 0:s.element_type,elementValue:null===s||void 0===s?void 0:s.element_value,stateLimitInfo:l,isStateLimit:null===l||void 0===l?void 0:l.isStateLimit},customColor:{btnBgColor:a,btnBorderColor:c,btnColor:i,listBgColor:u}}},k=function(t){return Object(h["d"])(t)},I=function(t){return Object(s["a"])(t,"operation_msg.element_list")},x=function(){function t(){Object(a["a"])(this,t),this.callbacks=[],this.qrCodeId=0,this.qrCodeRecord=null,this.expandLog=0,this.operateData=null,this.expandTplData=null}return Object(c["a"])(t,[{key:"init",value:function(e){var r=e.operateMsg;if(r){var n=e.qrCodeId,o=e.qrCodeRecord,a=e.expandLog,c=e.cycleFormSort;this.qrCodeId=n,this.qrCodeRecord=o,this.expandLog=a;var i=t.combine(e);this.operateData=c?this.sortCycleForm(i):i,this.expandTplData=this.handleExpandTpl(),this.emit()}}},{key:"sortCycleForm",value:function(t){return Object(o["a"])(t).sort((function(t,e){var r=null===t||void 0===t?void 0:t.$elData,n=null===e||void 0===e?void 0:e.$elData,o=!!r&&Object(h["f"])(r),a=!!n&&Object(h["f"])(n);return o&&!a?-1:!o&&a?1:0}))}},{key:"register",value:function(t){this.callbacks.push(t||function(){}),this.emit()}},{key:"emit",value:function(){var t=this;this.callbacks.forEach((function(e){e&&e(t.operateData,t.expandTplData)}))}},{key:"handleExpandTpl",value:function(){var t=this.operateData,e=this.expandLog,r=1===t.length&&!!t[0].$elData&&[b.Expand,b.Bottom].includes(e);return r?{showExpandTpl:r,from_operation_id:t[0].operation_id||"",taskInfo:k(t[0].tpl_record)}:{showExpandTpl:r}}},{key:"showOperateComp",value:function(){var t=this.qrCodeRecord,e=t.log_status;return e===v.Open&&!!this.operateData.length}},{key:"getOperateItem",value:function(t,e){return(this.operateData||[]).find((function(r){var n=Object(s["a"])(r,"operation_msg.element_list");return Object(p["a"])(n,(function(r){return r.element_type===e&&r.$data[g[r.element_type].key]===t}))}))}},{key:"getOperateItemIndex",value:function(t,e){return(this.operateData||[]).findIndex((function(r){var n=Object(s["a"])(r,"operation_msg.element_list");return Object(p["a"])(n,(function(r){return r.element_type===e&&r.$data[g[r.element_type].key]===t}))}))}},{key:"getOperateItemById",value:function(t){var e=(this.operateData||[]).find((function(e){return e.operation_id===t}));return e||(e=this.getOperateItem(t,_.TPL)),e}},{key:"getOperateItemIndexById",value:function(t){var e=(this.operateData||[]).findIndex((function(e){return e.operation_id===t}));return-1===e&&(e=this.getOperateItemIndex(t,_.TPL)),e}}],[{key:"combine",value:function(t){var e=t.operateMsg,r=t.tplList,n=t.stateList,o=!(null===r||void 0===r||!r.length),a=!(null===n||void 0===n||!n.length);return Object(u["a"])(e||[],(function(t){var e=I(t),c=null,i=null,s=0;return e&&(t.operation_msg.element_list=Object(u["a"])(e,(function(e){var u=e.element_value;switch(e.element_type){case _.TPL:if(!o)break;var l=(r||[]).find((function(t){return t.tpl_id===u}));Object(d["a"])(l,{taskInfo:k(t.tpl_record)}),e.$data=l,c=l&&(!l.can_add_record||!l.owner_can_add_record);break;case _.STATE:if(!a)break;var p=(n||[]).find((function(t){return t.state_id===u}));e.$data=p;break;case _.LINK:var f=(e.options||[]).find((function(t){return t.option_type===m.HREF}))||{},h=f.option_value||"";e.$data=h;break;case _.PLACEHOLDER:var b=(e.options||[]).find((function(t){return t.option_type===m.PLACEHOLDER_ALL}))||{},v=(e.options||[]).find((function(t){return t.option_type===m.PLACEHOLDER_VALUE}))||{},g=("1"===b.option_value?[{id:"all"}]:null)||v.option_value||null;e.$data=g;break;default:break}return i=e.$data,s=e.element_type,e}))),i&&Object(d["a"])(t,{$elData:i}),c&&Object(d["a"])(t,{$customLimit:c}),Object(d["a"])(t,{$elType:s}),t}))}},{key:"getChildItem",value:function(t){return Object(s["a"])(t,"operation_msg.element_list.0",{})}},{key:"getDesc",value:function(t){var e=(t.options||[]).find((function(t){return t.option_type===m.DESC}));return e?e.option_value:""}}]),t}();new x},d228:function(t,e,r){"use strict";var n=r("53ca");function o(t){try{if("object"===Object(n["a"])(JSON.parse(t))&&t)return!0}catch(e){return!1}return!1}e["a"]=o},d2a4:function(t,e,r){"use strict";var n=r("a607"),o=function(t,e){Object(n["a"])(e,(function(e,r){try{t[r]=e}catch(n){console.error(n)}}))};e["a"]=function(t){var e;t=null!==(e=t)&&void 0!==e?e:{};for(var r=arguments.length,a=new Array(r>1?r-1:0),c=1;c0&&(new Date).getTime()-c>o&&(u.stop(r),a&&a.call(n),delete r.scope.monitorTask,delete r.scope.timeoutCallback)},scope:{handler:a,task:r,scope:i,timeout:s,timeoutCallback:l,now:d},interval:c});return p.scope.monitorTask=p,p}}},f093:function(t,e,r){"use strict";var n;(function(t){t["IMAGE_STYLE_1"]="1",t["IMAGE_STYLE_2"]="2",t["IMAGE_STYLE_3"]="3",t["IMAGE_STYLE_4"]="4"})(n||(n={})),e["a"]=n},f1d0:function(t,e,r){"use strict";r.d(e,"h",(function(){return o["a"]})),r.d(e,"i",(function(){return c})),r.d(e,"j",(function(){return u})),r.d(e,"k",(function(){return l})),r.d(e,"c",(function(){return p})),r.d(e,"l",(function(){return h})),r.d(e,"m",(function(){return v})),r.d(e,"g",(function(){return m})),r.d(e,"d",(function(){return O})),r.d(e,"a",(function(){return y})),r.d(e,"f",(function(){return C})),r.d(e,"b",(function(){return T})),r.d(e,"e",(function(){return k}));var n,o=r("f093");(function(t){t[t["TOP_MODULE"]=1]="TOP_MODULE",t[t["RICH_TEXT"]=2]="RICH_TEXT"})(n||(n={}));var a,c=n;(function(t){t["SWIPER"]="0",t["TILE"]="1",t["EMPTY"]="3",t["SWIPER_VERTICAL"]="4"})(a||(a={}));var i,u=a;(function(t){t[t["CONSOLE"]=1]="CONSOLE",t[t["WXA"]=2]="WXA",t[t["MPCLI"]=3]="MPCLI"})(i||(i={}));var s,l=i;(function(t){t[t["List"]=1]="List",t[t["Card"]=2]="Card",t[t["TwoCol"]=3]="TwoCol",t[t["ButtonCard"]=4]="ButtonCard",t[t["Hide"]=5]="Hide"})(s||(s={}));var d,p=s;(function(t){t[t["NONE"]=0]="NONE",t[t["OPEN"]=1]="OPEN",t[t["CLOSE"]=2]="CLOSE"})(d||(d={}));var f,h=d;(function(t){t[t["AUDIT"]=12]="AUDIT",t[t["SECRET"]=3]="SECRET",t[t["STATUS_UPDATE"]=7]="STATUS_UPDATE",t[t["APPLY"]=14]="APPLY",t[t["NORMAL"]=0]="NORMAL"})(f||(f={}));var b,v=f;(function(t){t["NONE"]="0",t["BOTTOM"]="1",t["TOP"]="2",t["TOP_BOTTOM"]="3"})(b||(b={}));var _,m=b;(function(t){t["TOP"]="top",t["BOTTOM"]="bottom",t["TOP_PLACEHOLDER"]="topPlaceholder"})(_||(_={}));var g,O=_;(function(t){t["OUTER_CONTAINER"]="outerContainer",t["INNER_CONTAINER"]="innerContainer",t["IMAGE_WRAPPER"]="imageWrapper",t["IMAGE"]="image",t["GRADIENT"]="gradient",t["MASK"]="mask",t["GAUSSIAN"]="guassian",t["TRANSITION_PATTERN"]="transitionPattern",t["TRANSITION_PATTERN_WRAPPER"]="transitionPatternWrapper"})(g||(g={}));var j,y=g;(function(t){t["IMAGE_STYLE_1"]="1",t["IMAGE_STYLE_2"]="2",t["IMAGE_STYLE_3"]="3"})(j||(j={}));var w,C=j;(function(t){t["CURVED"]="curved",t["STRAIGHT"]="straight"})(w||(w={}));var E,T=w;r("e9b6");(function(t){t["CAROUSEL_STYLE_1"]="1",t["CAROUSEL_STYLE_2"]="2",t["CAROUSEL_STYLE_3"]="3"})(E||(E={}));var k=E},f64c:function(t,e,r){"use strict";e["a"]=function(t){return void 0===t}},f8a9:function(t,e,r){"use strict";var n=r("08f7");e["a"]=function(t){var e,r,o=Object(n["a"])(t,"card_type",1),a=Object(n["a"])(t,"brand_card_type",4),c=Object(n["a"])(t,"show_bottom_homepage",0),i=Object(n["a"])(t,"bottom_homepage_meta",{});if("string"===typeof i)try{i=JSON.parse(i)}catch(s){i={}}var u=c&&((null===(e=i)||void 0===e?void 0:e.logo)||(null===(r=i)||void 0===r?void 0:r.title));return u?a:o}}}]);