@zhijiancloud/bpm 1.0.36 → 1.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
  !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("lodash"),require("qs"),require("fecha"),require("@antv/g6"),require("element-tiptap")):"function"==typeof define&&define.amd?define(["lodash","qs","fecha","@antv/g6","element-tiptap"],t):"object"==typeof exports?exports.bpm2=t(require("lodash"),require("qs"),require("fecha"),require("@antv/g6"),require("element-tiptap")):e.bpm2=t(e.lodash,e.qs,e.fecha,e["@antv/g6"],e["element-tiptap"])}(self,(function(e,t,i,a,o){return function(){var r={96:function(e,t,n){"use strict";e.exports=n.p+"e5c0c62d732823225aaa.eot"},117:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(2586),a=n(5765),o=n(4227),r=n(8660),s={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,parentSchema:s,data:l,it:d}=e;"all"===d.opts.removeAdditional&&void 0===s.additionalProperties&&r.default.code(new i.KeywordCxt(d,r.default,"additionalProperties"));const c=(0,a.allSchemaProperties)(n);for(const e of c)d.definedProperties.add(e);d.opts.unevaluated&&c.length&&!0!==d.props&&(d.props=o.mergeEvaluated.props(t,(0,o.toHash)(c),d.props));const u=c.filter((e=>!(0,o.alwaysValidSchema)(d,n[e])));if(0===u.length)return;const m=t.name("valid");for(const n of u)f(n)?h(n):(t.if((0,a.propertyInData)(t,l,n,d.opts.ownProperties)),h(n),d.allErrors||t.else().var(m,!0),t.endIf()),e.it.definedProperties.add(n),e.ok(m);function f(e){return d.opts.useDefaults&&!d.compositeRule&&void 0!==n[e].default}function h(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},m)}}};t.default=s},119:function(e,t,n){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(5093))},158:function(e,t,n){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(5093))},208:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const i=n(396),a=n(7887),o=n(8708),r=n(9029),s=n(4227);var l;function d(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(i.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(l||(t.DataType=l={})),t.getSchemaTypes=function(e){const t=d(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},t.getJSONTypes=d,t.coerceAndCheckDataType=function(e,t){const{gen:n,data:i,opts:o}=e,s=function(e,t){return t?e.filter((e=>c.has(e)||"array"===t&&"array"===e)):[]}(t,o.coerceTypes),d=t.length>0&&!(0===s.length&&1===t.length&&(0,a.schemaHasRulesForType)(e,t[0]));if(d){const a=m(t,i,o.strictNumbers,l.Wrong);n.if(a,(()=>{s.length?function(e,t,n){const{gen:i,data:a,opts:o}=e,s=i.let("dataType",r._`typeof ${a}`),l=i.let("coerced",r._`undefined`);"array"===o.coerceTypes&&i.if(r._`${s} == 'object' && Array.isArray(${a}) && ${a}.length == 1`,(()=>i.assign(a,r._`${a}[0]`).assign(s,r._`typeof ${a}`).if(m(t,a,o.strictNumbers),(()=>i.assign(l,a))))),i.if(r._`${l} !== undefined`);for(const e of n)(c.has(e)||"array"===e&&"array"===o.coerceTypes)&&d(e);function d(e){switch(e){case"string":return void i.elseIf(r._`${s} == "number" || ${s} == "boolean"`).assign(l,r._`"" + ${a}`).elseIf(r._`${a} === null`).assign(l,r._`""`);case"number":return void i.elseIf(r._`${s} == "boolean" || ${a} === null
3
3
  || (${s} == "string" && ${a} && ${a} == +${a})`).assign(l,r._`+${a}`);case"integer":return void i.elseIf(r._`${s} === "boolean" || ${a} === null
4
4
  || (${s} === "string" && ${a} && ${a} == +${a} && !(${a} % 1))`).assign(l,r._`+${a}`);case"boolean":return void i.elseIf(r._`${a} === "false" || ${a} === 0 || ${a} === null`).assign(l,!1).elseIf(r._`${a} === "true" || ${a} === 1`).assign(l,!0);case"null":return i.elseIf(r._`${a} === "" || ${a} === 0 || ${a} === false`),void i.assign(l,null);case"array":i.elseIf(r._`${s} === "string" || ${s} === "number"
5
- || ${s} === "boolean" || ${a} === null`).assign(l,r._`[${a}]`)}}i.else(),h(e),i.endIf(),i.if(r._`${l} !== undefined`,(()=>{i.assign(a,l),function({gen:e,parentData:t,parentDataProperty:n},i){e.if(r._`${t} !== undefined`,(()=>e.assign(r._`${t}[${n}]`,i)))}(e,l)}))}(e,t,s):h(e)}))}return d};const c=new Set(["string","number","integer","boolean","null"]);function u(e,t,n,i=l.Correct){const a=i===l.Correct?r.operators.EQ:r.operators.NEQ;let o;switch(e){case"null":return r._`${t} ${a} null`;case"array":o=r._`Array.isArray(${t})`;break;case"object":o=r._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":o=s(r._`!(${t} % 1) && !isNaN(${t})`);break;case"number":o=s();break;default:return r._`typeof ${t} ${a} ${e}`}return i===l.Correct?o:(0,r.not)(o);function s(e=r.nil){return(0,r.and)(r._`typeof ${t} == "number"`,e,n?r._`isFinite(${t})`:r.nil)}}function m(e,t,n,i){if(1===e.length)return u(e[0],t,n,i);let a;const o=(0,s.toHash)(e);if(o.array&&o.object){const e=r._`typeof ${t} != "object"`;a=o.null?e:r._`!${t} || ${e}`,delete o.null,delete o.array,delete o.object}else a=r.nil;o.number&&delete o.integer;for(const e in o)a=(0,r.and)(a,u(e,t,n,i));return a}t.checkDataType=u,t.checkDataTypes=m;const f={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?r._`{type: ${e}}`:r._`{type: ${t}}`};function h(e){const t=function(e){const{gen:t,data:n,schema:i}=e,a=(0,s.schemaRefOrVal)(e,i,"type");return{gen:t,keyword:"type",data:n,schema:i.type,schemaCode:a,schemaValue:a,parentSchema:i,params:{},it:e}}(e);(0,o.reportError)(t,f)}t.reportTypeError=h},217:function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(5093))},304:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(5093))},306:function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(5093))},343:function(e){"use strict";const t=/^[\da-f]{8}\b-[\da-f]{4}\b-[\da-f]{4}\b-[\da-f]{4}\b-[\da-f]{12}$/iu,n=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;function i(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}function a(e){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e}function o(e){const t="https"===String(e.scheme).toLowerCase();return e.port!==(t?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}const r={scheme:"http",domainHost:!0,parse:a,serialize:o},s={scheme:"ws",domainHost:!0,parse:function(e){return e.secure=i(e),e.resourceName=(e.path||"/")+(e.query?"?"+e.query:""),e.path=void 0,e.query=void 0,e},serialize:function(e){if(e.port!==(i(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){const[t,n]=e.resourceName.split("?");e.path=t&&"/"!==t?t:void 0,e.query=n,e.resourceName=void 0}return e.fragment=void 0,e}},l={http:r,https:{scheme:"https",domainHost:r.domainHost,parse:a,serialize:o},ws:s,wss:{scheme:"wss",domainHost:s.domainHost,parse:s.parse,serialize:s.serialize},urn:{scheme:"urn",parse:function(e,t){if(!e.path)return e.error="URN can not be parsed",e;const i=e.path.match(n);if(i){const n=t.scheme||e.scheme||"urn";e.nid=i[1].toLowerCase(),e.nss=i[2];const a=`${n}:${t.nid||e.nid}`,o=l[a];e.path=void 0,o&&(e=o.parse(e,t))}else e.error=e.error||"URN can not be parsed.";return e},serialize:function(e,t){const n=t.scheme||e.scheme||"urn",i=e.nid.toLowerCase(),a=`${n}:${t.nid||i}`,o=l[a];o&&(e=o.serialize(e,t));const r=e,s=e.nss;return r.path=`${i||t.nid}:${s}`,t.skipEscape=!0,r},skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:function(e,n){const i=e;return i.uuid=i.nss,i.nss=void 0,n.tolerant||i.uuid&&t.test(i.uuid)||(i.error=i.error||"UUID is not valid."),i},serialize:function(e){const t=e;return t.nss=(e.uuid||"").toLowerCase(),t},skipNormalize:!0}};e.exports=l},347:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o),s=n(6509),l=r()(a());l.i(s.A),l.push([e.id,"\n",""]),t.A=l},379:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StreetViewPanorama=t.MountableMixin=t.Autocomplete=t.MapElementFactory=t.MapElementMixin=t.PlaceInput=t.Map=t.InfoWindow=t.Rectangle=t.Cluster=t.Circle=t.Polygon=t.Polyline=t.Marker=t.loadGmapApi=void 0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};t.install=function(e,t){t=i({installComponents:!0,autobindAllEvents:!1},t),v=new e({data:{gmapApi:null}});var n=new e,_=function(e){function t(){return v.gmapApi={},window.google}if(e.load)return(0,a.default)((function(){return"undefined"==typeof window?new Promise((function(){})).then(t):new Promise((function(t,n){try{window.vueGoogleMapsInit=t,(0,o.loadGmapApi)(e.load,e.loadCn)}catch(e){n(e)}})).then(t)}));var n=new Promise((function(e){"undefined"!=typeof window&&(window.vueGoogleMapsInit=e)})).then(t);return(0,a.default)((function(){return n}))}(t);e.mixin({created:function(){this.$gmapDefaultResizeBus=n,this.$gmapOptions=t,this.$gmapApiPromiseLazy=_}}),e.$gmapDefaultResizeBus=n,e.$gmapApiPromiseLazy=_,t.installComponents&&(e.component("GmapMap",m.default),e.component("GmapMarker",r.default),e.component("GmapInfoWindow",u.default),e.component("GmapPolyline",s.default),e.component("GmapPolygon",l.default),e.component("GmapCircle",d.default),e.component("GmapRectangle",c.default),e.component("GmapAutocomplete",p.default),e.component("GmapPlaceInput",h.default),e.component("GmapStreetViewPanorama",f.default))},t.gmapApi=function(){return v.gmapApi&&window.google};var a=b(n(1573)),o=n(2871),r=b(n(1563)),s=b(n(4085)),l=b(n(895)),d=b(n(8705)),c=b(n(8396)),u=b(n(5241)),m=b(n(6897)),f=b(n(5545)),h=b(n(9936)),p=b(n(4692)),_=b(n(410)),g=b(n(2230)),y=b(n(1658));function b(e){return e&&e.__esModule?e:{default:e}}var v=null;t.loadGmapApi=o.loadGmapApi,t.Marker=r.default,t.Polyline=s.default,t.Polygon=l.default,t.Circle=d.default,t.Cluster=void 0,t.Rectangle=c.default,t.InfoWindow=u.default,t.Map=m.default,t.PlaceInput=h.default,t.MapElementMixin=_.default,t.MapElementFactory=g.default,t.Autocomplete=p.default,t.MountableMixin=y.default,t.StreetViewPanorama=f.default},386:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o),s=n(4417),l=n.n(s),d=new URL(n(6179),n.b),c=r()(a()),u=l()(d);c.push([e.id,"/*!\n * Viewer.js v1.11.6\n * https://fengyuanchen.github.io/viewerjs\n *\n * Copyright 2015-present Chen Fengyuan\n * Released under the MIT license\n *\n * Date: 2023-09-17T03:16:35.830Z\n */\n\n.viewer-zoom-in::before, .viewer-zoom-out::before, .viewer-one-to-one::before, .viewer-reset::before, .viewer-prev::before, .viewer-play::before, .viewer-next::before, .viewer-rotate-left::before, .viewer-rotate-right::before, .viewer-flip-horizontal::before, .viewer-flip-vertical::before, .viewer-fullscreen::before, .viewer-fullscreen-exit::before, .viewer-close::before {\n background-image: url("+u+");\n background-repeat: no-repeat;\n background-size: 280px;\n color: transparent;\n display: block;\n font-size: 0;\n height: 20px;\n line-height: 0;\n width: 20px;\n }\n\n.viewer-zoom-in::before {\n background-position: 0 0;\n content: 'Zoom In';\n}\n\n.viewer-zoom-out::before {\n background-position: -20px 0;\n content: 'Zoom Out';\n}\n\n.viewer-one-to-one::before {\n background-position: -40px 0;\n content: 'One to One';\n}\n\n.viewer-reset::before {\n background-position: -60px 0;\n content: 'Reset';\n}\n\n.viewer-prev::before {\n background-position: -80px 0;\n content: 'Previous';\n}\n\n.viewer-play::before {\n background-position: -100px 0;\n content: 'Play';\n}\n\n.viewer-next::before {\n background-position: -120px 0;\n content: 'Next';\n}\n\n.viewer-rotate-left::before {\n background-position: -140px 0;\n content: 'Rotate Left';\n}\n\n.viewer-rotate-right::before {\n background-position: -160px 0;\n content: 'Rotate Right';\n}\n\n.viewer-flip-horizontal::before {\n background-position: -180px 0;\n content: 'Flip Horizontal';\n}\n\n.viewer-flip-vertical::before {\n background-position: -200px 0;\n content: 'Flip Vertical';\n}\n\n.viewer-fullscreen::before {\n background-position: -220px 0;\n content: 'Enter Full Screen';\n}\n\n.viewer-fullscreen-exit::before {\n background-position: -240px 0;\n content: 'Exit Full Screen';\n}\n\n.viewer-close::before {\n background-position: -260px 0;\n content: 'Close';\n}\n\n.viewer-container {\n bottom: 0;\n direction: ltr;\n font-size: 0;\n left: 0;\n line-height: 0;\n overflow: hidden;\n position: absolute;\n right: 0;\n -webkit-tap-highlight-color: transparent;\n top: 0;\n -ms-touch-action: none;\n touch-action: none;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.viewer-container::-moz-selection, .viewer-container *::-moz-selection {\n background-color: transparent;\n }\n\n.viewer-container::selection,\n .viewer-container *::selection {\n background-color: transparent;\n }\n\n.viewer-container:focus {\n outline: 0;\n }\n\n.viewer-container img {\n display: block;\n height: auto;\n max-height: none !important;\n max-width: none !important;\n min-height: 0 !important;\n min-width: 0 !important;\n width: 100%;\n }\n\n.viewer-canvas {\n bottom: 0;\n left: 0;\n overflow: hidden;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.viewer-canvas > img {\n height: auto;\n margin: 15px auto;\n max-width: 90% !important;\n width: auto;\n }\n\n.viewer-footer {\n bottom: 0;\n left: 0;\n overflow: hidden;\n position: absolute;\n right: 0;\n text-align: center;\n}\n\n.viewer-navbar {\n background-color: rgba(0, 0, 0, 0.5);\n overflow: hidden;\n}\n\n.viewer-list {\n box-sizing: content-box;\n height: 50px;\n margin: 0;\n overflow: hidden;\n padding: 1px 0;\n}\n\n.viewer-list > li {\n color: transparent;\n cursor: pointer;\n float: left;\n font-size: 0;\n height: 50px;\n line-height: 0;\n opacity: 0.5;\n overflow: hidden;\n transition: opacity 0.15s;\n width: 30px;\n }\n\n.viewer-list > li:focus,\n .viewer-list > li:hover {\n opacity: 0.75;\n }\n\n.viewer-list > li:focus {\n outline: 0;\n }\n\n.viewer-list > li + li {\n margin-left: 1px;\n }\n\n.viewer-list > .viewer-loading {\n position: relative;\n }\n\n.viewer-list > .viewer-loading::after {\n border-width: 2px;\n height: 20px;\n margin-left: -10px;\n margin-top: -10px;\n width: 20px;\n }\n\n.viewer-list > .viewer-active,\n .viewer-list > .viewer-active:focus,\n .viewer-list > .viewer-active:hover {\n opacity: 1;\n }\n\n.viewer-player {\n background-color: #000;\n bottom: 0;\n cursor: none;\n display: none;\n left: 0;\n position: absolute;\n right: 0;\n top: 0;\n z-index: 1;\n}\n\n.viewer-player > img {\n left: 0;\n position: absolute;\n top: 0;\n }\n\n.viewer-toolbar > ul {\n display: inline-block;\n margin: 0 auto 5px;\n overflow: hidden;\n padding: 6px 3px;\n }\n\n.viewer-toolbar > ul > li {\n background-color: rgba(0, 0, 0, 0.5);\n border-radius: 50%;\n cursor: pointer;\n float: left;\n height: 24px;\n overflow: hidden;\n transition: background-color 0.15s;\n width: 24px;\n }\n\n.viewer-toolbar > ul > li:focus,\n .viewer-toolbar > ul > li:hover {\n background-color: rgba(0, 0, 0, 0.8);\n }\n\n.viewer-toolbar > ul > li:focus {\n box-shadow: 0 0 3px #fff;\n outline: 0;\n position: relative;\n z-index: 1;\n }\n\n.viewer-toolbar > ul > li::before {\n margin: 2px;\n }\n\n.viewer-toolbar > ul > li + li {\n margin-left: 1px;\n }\n\n.viewer-toolbar > ul > .viewer-small {\n height: 18px;\n margin-bottom: 3px;\n margin-top: 3px;\n width: 18px;\n }\n\n.viewer-toolbar > ul > .viewer-small::before {\n margin: -1px;\n }\n\n.viewer-toolbar > ul > .viewer-large {\n height: 30px;\n margin-bottom: -3px;\n margin-top: -3px;\n width: 30px;\n }\n\n.viewer-toolbar > ul > .viewer-large::before {\n margin: 5px;\n }\n\n.viewer-tooltip {\n background-color: rgba(0, 0, 0, 0.8);\n border-radius: 10px;\n color: #fff;\n display: none;\n font-size: 12px;\n height: 20px;\n left: 50%;\n line-height: 20px;\n margin-left: -25px;\n margin-top: -10px;\n position: absolute;\n text-align: center;\n top: 50%;\n width: 50px;\n}\n\n.viewer-title {\n color: #ccc;\n display: inline-block;\n font-size: 12px;\n line-height: 1.2;\n margin: 5px 5%;\n max-width: 90%;\n min-height: 14px;\n opacity: 0.8;\n overflow: hidden;\n text-overflow: ellipsis;\n transition: opacity 0.15s;\n white-space: nowrap;\n}\n\n.viewer-title:hover {\n opacity: 1;\n }\n\n.viewer-button {\n -webkit-app-region: no-drag;\n background-color: rgba(0, 0, 0, 0.5);\n border-radius: 50%;\n cursor: pointer;\n height: 80px;\n overflow: hidden;\n position: absolute;\n right: -40px;\n top: -40px;\n transition: background-color 0.15s;\n width: 80px;\n}\n\n.viewer-button:focus,\n .viewer-button:hover {\n background-color: rgba(0, 0, 0, 0.8);\n }\n\n.viewer-button:focus {\n box-shadow: 0 0 3px #fff;\n outline: 0;\n }\n\n.viewer-button::before {\n bottom: 15px;\n left: 15px;\n position: absolute;\n }\n\n.viewer-fixed {\n position: fixed;\n}\n\n.viewer-open {\n overflow: hidden;\n}\n\n.viewer-show {\n display: block;\n}\n\n.viewer-hide {\n display: none;\n}\n\n.viewer-backdrop {\n background-color: rgba(0, 0, 0, 0.5);\n}\n\n.viewer-invisible {\n visibility: hidden;\n}\n\n.viewer-move {\n cursor: move;\n cursor: grab;\n}\n\n.viewer-fade {\n opacity: 0;\n}\n\n.viewer-in {\n opacity: 1;\n}\n\n.viewer-transition {\n transition: all 0.3s;\n}\n\n@keyframes viewer-spinner {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.viewer-loading::after {\n animation: viewer-spinner 1s linear infinite;\n border: 4px solid rgba(255, 255, 255, 0.1);\n border-left-color: rgba(255, 255, 255, 0.5);\n border-radius: 50%;\n content: '';\n display: inline-block;\n height: 40px;\n left: 50%;\n margin-left: -20px;\n margin-top: -20px;\n position: absolute;\n top: 50%;\n width: 40px;\n z-index: 1;\n }\n\n@media (max-width: 767px) {\n .viewer-hide-xs-down {\n display: none;\n }\n}\n\n@media (max-width: 991px) {\n .viewer-hide-sm-down {\n display: none;\n }\n}\n\n@media (max-width: 1199px) {\n .viewer-hide-md-down {\n display: none;\n }\n}\n",""]),t.A=c},390:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},a=c(n(7146)),o=n(7049),r=c(n(1658)),s=c(n(1733)),l=c(n(8021)),d=n(2230);function c(e){return e&&e.__esModule?e:{default:e}}var u={zoom:{twoWay:!0,type:Number},pov:{twoWay:!0,type:Object,trackProperties:["pitch","heading"]},position:{twoWay:!0,type:Object,noBind:!0},pano:{twoWay:!0,type:String},motionTracking:{twoWay:!1,type:Boolean},visible:{twoWay:!0,type:Boolean,default:!0},options:{twoWay:!1,type:Object,default:function(){return{}}}},m=["closeclick","status_changed"];t.default={mixins:[r.default],props:(0,d.mappedPropsToVueProps)(u),replace:!1,methods:{resize:function(){this.$panoObject&&google.maps.event.trigger(this.$panoObject,"resize")}},provide:function(){var e=this,t=new Promise((function(t,n){e.$panoPromiseDeferred={resolve:t,reject:n}}));return{$panoPromise:t,$mapPromise:t}},computed:{finalLat:function(){return this.position&&"function"==typeof this.position.lat?this.position.lat():this.position.lat},finalLng:function(){return this.position&&"function"==typeof this.position.lng?this.position.lng():this.position.lng},finalLatLng:function(){return{lat:this.finalLat,lng:this.finalLng}}},watch:{zoom:function(e){this.$panoObject&&this.$panoObject.setZoom(e)}},mounted:function(){var e=this;return this.$gmapApiPromiseLazy().then((function(){var t=e.$refs["vue-street-view-pano"],n=i({},e.options,(0,o.getPropsValues)(e,u));return delete n.options,e.$panoObject=new google.maps.StreetViewPanorama(t,n),(0,o.bindProps)(e,e.$panoObject,u),(0,a.default)(e,e.$panoObject,m),(0,s.default)((function(t,n,i){t(),e.$panoObject.addListener("position_changed",(function(){i()&&e.$emit("position_changed",e.$panoObject.getPosition()),n()})),(0,l.default)(e,["finalLat","finalLng"],(function(){t(),e.$panoObject.setPosition(e.finalLatLng)}))})),e.$panoPromiseDeferred.resolve(e.$panoObject),e.$panoPromise})).catch((function(e){throw e}))}}},396:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;const n=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&n.has(e)},t.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}},410:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={inject:{$mapPromise:{default:"abcdef"}},provide:function(){var e=this;return this.$mapPromise.then((function(t){e.$map=t})),{}}}},422:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(5765),a=n(9029),o={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>a.str`must match pattern "${e}"`,params:({schemaCode:e})=>a._`{pattern: ${e}}`},code(e){const{data:t,$data:n,schema:o,schemaCode:r,it:s}=e,l=s.opts.unicodeRegExp?"u":"",d=n?a._`(new RegExp(${r}, ${l}))`:(0,i.usePattern)(e,o);e.fail$data(a._`!${d}.test(${t})`)}};t.default=o},494:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const i=n(9029),a=n(4227),o=n(5765),r={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:n}=e;if(Array.isArray(t))return s(e,"additionalItems",t);n.items=!0,(0,a.alwaysValidSchema)(n,t)||e.ok((0,o.validateArray)(e))}};function s(e,t,n=e.schema){const{gen:o,parentSchema:r,data:s,keyword:l,it:d}=e;!function(e){const{opts:i,errSchemaPath:o}=d,r=n.length,s=r===e.minItems&&(r===e.maxItems||!1===e[t]);if(i.strictTuples&&!s){const e=`"${l}" is ${r}-tuple, but minItems or maxItems/${t} are not specified or different at path "${o}"`;(0,a.checkStrictMode)(d,e,i.strictTuples)}}(r),d.opts.unevaluated&&n.length&&!0!==d.items&&(d.items=a.mergeEvaluated.items(o,n.length,d.items));const c=o.name("valid"),u=o.const("len",i._`${s}.length`);n.forEach(((t,n)=>{(0,a.alwaysValidSchema)(d,t)||(o.if(i._`${u} > ${n}`,(()=>e.subschema({keyword:l,schemaProp:n,dataProp:n},c))),e.ok(c))}))}t.validateTuple=s,t.default=r},527:function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function i(e,i,a,o){var r="";switch(a){case"s":return o?"muutaman sekunnin":"muutama sekunti";case"ss":r=o?"sekunnin":"sekuntia";break;case"m":return o?"minuutin":"minuutti";case"mm":r=o?"minuutin":"minuuttia";break;case"h":return o?"tunnin":"tunti";case"hh":r=o?"tunnin":"tuntia";break;case"d":return o?"päivän":"päivä";case"dd":r=o?"päivän":"päivää";break;case"M":return o?"kuukauden":"kuukausi";case"MM":r=o?"kuukauden":"kuukautta";break;case"y":return o?"vuoden":"vuosi";case"yy":r=o?"vuoden":"vuotta"}return function(e,i){return e<10?i?n[e]:t[e]:e}(e,o)+" "+r}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},540:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},555:function(e,t,n){"use strict";n.d(t,{A:function(){return d}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"search-board"},[n("el-form",{ref:"form",attrs:{"label-width":"150px",inline:!1}},[e._l(e.pElements,(function(t){return n("el-form-item",{key:t.id,attrs:{label:t.name}},[n("bpm-field",{attrs:{type:t.type,"field-conf":t,"form-name":e.formDefId,"form-def-id":e.formDefId,orgInfo:e.orgInfo,mode:"edit","ui-type":"search"},model:{value:e.formData[t.id],callback:function(n){e.$set(e.formData,t.id,n)},expression:"formData[searchField.id]"}})],1)})),e._v(" "),e._l(e.gridElements,(function(t){return[n("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.showAllSearchItem||e.index<e.showDefaultCount,expression:"showAllSearchItem || index < showDefaultCount"}],key:t.id,attrs:{label:t.name}},[n("bpm-field",{attrs:{type:t.type,"field-conf":t,"form-name":e.formDefId,"form-def-id":e.formDefId,orgInfo:e.orgInfo,mode:"edit","ui-type":"search"},model:{value:e.formData[t.id],callback:function(n){e.$set(e.formData,t.id,n)},expression:"formData[searchField.id]"}})],1)]}))],2),e._v(" "),e._t("default")],2)};i._withStripped=!0;var a=n(4419),o=n(3282);const r=new(n.n(o)())({useDefaults:!0,coerceTypes:!0,allErrors:!0,jsonPointers:!0,errorDataPath:!0});var s={name:"BpmFieldsFilter",props:{searchSchema:{type:Object,default(){return{elements:[]}}},verifySchema:{type:Object,default(){return{}}},orgInfo:{type:Object,default(){return{}}},formDefId:{type:String,default:""},showAll:{type:Boolean,default:!1},showDefaultCount:{type:Number,default:6},queryExclude:{type:Boolean,default:!1}},data(){return{formData:{},formErrors:{},elementIdList:[],eleMap:{},relyGraphData:{nodes:[],edges:[]}}},computed:{formatedSchema(){const e=this.searchSchema||{},t=this.verifySchema;let n=null;try{n=r.compile(t)}catch(e){console.error("构建VerifySchema出错",e)}return{elements:e.elements||[],verifySchema:n}},enableSearchText(){const e=this.searchSchema||{},t=!!e.elements&&_.find(e.elements,{id:"q__contains"});return e.enable_search_text&&t},gridElements(){const e=this.searchSchema||{};return e.elements?e.elements.filter((e=>!("MulSelect"===e.type&&"button"===e.style||this.queryExclude&&"q__contains"===e.id))):[]},pElements(){const e=this.searchSchema||{};return e.elements?e.elements.filter((e=>"MulSelect"===e.type&&"button"===e.style)):[]},showAllSearchItem:{get(){return this.showAll},set(){}}},mounted(){this.$emit("beforeDataLoad"),this.penetrationZList=[],this.relyArr=[],this.addStackArr(this.searchSchema.elements),this.createTopoGraph(this.searchSchema.elements),_.each(this.penetrationZList,(e=>{this.relyGraphData.edges.push({source:"bpmListSearch",target:e})})),this.$emit("dataLoaded");let{relyHandleList:e,firstId:t}=this.getRelyHandleList("bpmListSearch");this.relyHandleList=e,_.isEmpty(this.relyHandleList)&&this.$bpm.$emit("initRelyComplete",this),t&&this.$bpm.$emit("handeInitRely",{id:t})},methods:{reset(){this.formData={}},search(){this.submit()},async submit(){let e=await this.$bpm.handleVerifySchema({mode:"list",data:this.formData,verifySchema:this.formatedSchema.verifySchema});if(this.formErrors=e,console.log("errors",e),e)return;let t=this.formData;return t=_.pickBy(t,((e,t)=>""!=e)),this.$emit("search",t),t},handleNextRely(e){this.relyHandleList.shift(),_.isEmpty(this.relyHandleList)&&this.$bpm.$emit("initRelyComplete",this);let t=_.head(this.relyHandleList);t&&this.$bpm.$emit("handeInitRely",{id:t,rowIndex:e})},handleRelyById(e,t){let{relyHandleList:n,firstId:i}=this.getRelyHandleList(e);this.relyHandleList=n,i&&this.$bpm.$emit("handeRelyById",{id:i,rowIndex:t})},handleNextRelyById(e){this.relyHandleList.shift(),_.isEmpty(this.relyHandleList)&&this.$bpm.$emit("initRelyComplete",this);let t=_.head(this.relyHandleList);t&&this.$bpm.$emit("handeRelyById",{id:t,rowIndex:e})},getRelyHandleList(e){let t=[];const{breadthFirstSearch:n}=a.Algorithm;let i=null;return n(this.relyGraphData,e,{enter:({current:e,previous:t})=>{},leave:({current:n,previous:a})=>{i||n==e||(i=n),n!=e&&t.push(n)}}),{relyHandleList:t,firstId:i}},addStackArr(e,t){_.each(e,(e=>{t&&_.set(e,"parentId",t),_.set(this.eleMap,e.id,e),this.elementIdList.push(e.id);let n=_.get(e,"linkage.depends",[]),i=_.get(e,"scope.depends",[]),a=_.get(e,"range_remote.depends",[]),o=_.concat(n,i);o=_.concat(o,a),t||(this.penetrationZList=_.concat(this.penetrationZList,o)),e.elements&&this.addStackArr(e.elements,e.id)}))},createTopoGraph(e){_.each(e,(e=>{let t=_.get(e,"linkage.depends",[]),n=_.get(e,"scope.depends",[]),i=_.get(e,"range_remote.depends",[]),a=_.concat(t,n);a=_.concat(a,i);let o=_.cloneDeep(a),r=_.get(this.eleMap,e.id);if(_.each(o,(e=>{_.get(this.eleMap,e)||(_.pullAll(a,[e]),a=_.cloneDeep(a))})),a.length||r.parentId){let t=_.pullAll(this.penetrationZList,[e.id]);this.penetrationZList=_.cloneDeep(t)}_.each(a,(t=>{if(t&&e.id&&_.includes(this.elementIdList,t)){let n=_.get(this.eleMap,t);if(!n)return;n.parentId&&!r.parentId&&(t=n.parentId);let i=r.parentId&&!n.parentId?r.parentId:r.id;if(n.parentId&&r.parentId)return;this.relyArr.push([t,i]),this.relyGraphData.nodes.push(e),this.relyGraphData.nodes.push(n),this.relyGraphData.edges.push({source:t,target:i})}})),e.elements&&this.createTopoGraph(e.elements)}))}}},l=(0,n(4486).A)(s,i,[],!1,null,"3743a4b0",null);l.options.__file="components/lib/bpmFieldsFilter/src/main.vue";var d=l.exports},609:function(e,t,n){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,i){var a=e;switch(n){case"s":return i||t?"néhány másodperc":"néhány másodperce";case"ss":return a+(i||t)?" másodperc":" másodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return a+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" óra":" órája");case"hh":return a+(i||t?" óra":" órája");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return a+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" hónap":" hónapja");case"MM":return a+(i||t?" hónap":" hónapja");case"y":return"egy"+(i||t?" év":" éve");case"yy":return a+(i||t?" év":" éve")}return""}function i(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},617:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(208),a=n(9029),o=n(4227),r=n(6250),s={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>a.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>a._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:n,$data:s,schema:l,parentSchema:d,schemaCode:c,it:u}=e;if(!s&&!l)return;const m=t.let("valid"),f=d.items?(0,i.getSchemaTypes)(d.items):[];function h(o,r){const s=t.name("item"),l=(0,i.checkDataTypes)(f,s,u.opts.strictNumbers,i.DataType.Wrong),d=t.const("indices",a._`{}`);t.for(a._`;${o}--;`,(()=>{t.let(s,a._`${n}[${o}]`),t.if(l,a._`continue`),f.length>1&&t.if(a._`typeof ${s} == "string"`,a._`${s} += "_"`),t.if(a._`typeof ${d}[${s}] == "number"`,(()=>{t.assign(r,a._`${d}[${s}]`),e.error(),t.assign(m,!1).break()})).code(a._`${d}[${s}] = ${o}`)}))}function p(i,s){const l=(0,o.useFunc)(t,r.default),d=t.name("outer");t.label(d).for(a._`;${i}--;`,(()=>t.for(a._`${s} = ${i}; ${s}--;`,(()=>t.if(a._`${l}(${n}[${i}], ${n}[${s}])`,(()=>{e.error(),t.assign(m,!1).break(d)}))))))}e.block$data(m,(function(){const i=t.let("i",a._`${n}.length`),o=t.let("j");e.setParams({i:i,j:o}),t.assign(m,!0),t.if(a._`${i} > 1`,(()=>(f.length>0&&!f.some((e=>"object"===e||"array"===e))?h:p)(i,o)))}),a._`${c} === false`),e.ok(m)}};t.default=s},625:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return N}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-map-location",attrs:{value:e.curVal,fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType},on:{change:e.handleChange}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-map-location-editor"},[e.isDialog?n("div",[e._l(e.curVal,(function(t,i){return e.isMultiple&&1!=e.curVal.length?e._e():n("span",{key:i},[e._v("\n "+e._s(t.address)+"\n ")])})),e._v(" "),n("i",{staticClass:"fa fa-map-marker",on:{click:e.openMapDialog}}),e._v(" "),e.isMultiple&&e.curVal.length>1?n("span",{key:e.index},[e._v("\n "+e._s(e.curVal.length)+"\n ")]):e._e(),e._v(" "),n("el-dialog",{attrs:{title:e.fieldConf.name,visible:e.dialogMapVisible,"append-to-body":!0,width:e.dialogWidth,"before-close":e.handleDialogMapClose},on:{"update:visible":function(t){e.dialogMapVisible=t}}},[n("div",{staticClass:"bpm-map-content"},[e.isMultiple&&e.dialogMarkers.length>1?[e.isMultiple?[n("el-select",{staticStyle:{"margin-bottom":"10px",width:"100%"},attrs:{multiple:"","collapse-tags":"",placeholder:"请选择"},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}},e._l(e.selectOptions,(function(e){return n("el-option",{key:e.address,attrs:{label:e.address,value:e.address}})})),1)]:e._e()]:[e.showLocationTitle?n("div",{staticClass:"current-select-loaction",staticStyle:{"margin-bottom":"10px"}},[e._v("\n "+e._s(e.$z("当前地址","c.current_location"))+":\n "),e._l(e.dialogMarkers,(function(t,i){return n("span",{key:i},[e._v("\n "+e._s(t.address)+"\n ")])}))],2):e._e(),e._v(" "),e.showCoordinate?n("div",{staticClass:"current-select-loaction",staticStyle:{"margin-bottom":"10px"}},[e._v("\n "+e._s(e.$z("当前坐标","c.current_coordinate"))+":\n "),e._l(e.dialogMarkers,(function(t,i){return n("span",{key:i},[n("el-tag",[e._v(" "+e._s(t.lng))]),e._v(" "),n("el-tag",[e._v(" "+e._s(t.lat))])],1)}))],2):e._e()],e._v(" "),e.dialogMapVisible?n("map-component",{attrs:{fieldConf:e.fieldConf,readonly:e.readonly},model:{value:e.dialogMarkers,callback:function(t){e.dialogMarkers=t},expression:"dialogMarkers"}}):e._e(),e._v(" "),e.readonly?e._e():n("div",{staticClass:"dialog-footer",staticStyle:{"margin-top":"20px"},attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.dialogMapVisible=!1}}},[e._v(e._s(e.$z("取消","c.cancel")))]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:e.confirmMarkerSelect}},[e._v(e._s(e.$z("确定","c.confirm")))])],1)],2)])],2):n("div",{staticClass:"bpm-map-content"},[e.isMultiple?[n("el-select",{staticStyle:{"margin-bottom":"10px",width:"100%"},attrs:{multiple:"","collapse-tags":"",placeholder:"请选择"},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}},e._l(e.selectOptions,(function(e){return n("el-option",{key:e.address,attrs:{label:e.address,value:e.address}})})),1)]:[n("div",{staticStyle:{"margin-bottom":"5px"}},e._l(e.curVal,(function(t,i){return n("span",{key:i},[e._v("\n "+e._s(t.address)+" "),n("el-tag",{staticStyle:{"margin-right":"5px"}},[e._v(" "+e._s(t.lng))]),n("el-tag",[e._v(" "+e._s(t.lat))])],1)})),0)],e._v(" "),n("map-component",{attrs:{fieldConf:e.fieldConf,readonly:e.readonly},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}})],2)])};a._withStripped=!0;var o=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-map",style:{height:e.height},attrs:{value:e.curVal,fieldConf:e.fieldConf,row:e.row,mode:e.mode,readonly:e.readonly,position:e.position},on:{change:e.handleChange}},"component",e.$attrs,!1),e.$listeners))};o._withStripped=!0;var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.readonly?e._e():n("div",{staticClass:"auto-complete-input",staticStyle:{position:"absolute","z-index":"99",width:"50%",padding:"10px"}},[n("el-autocomplete",{staticClass:"inline-input",staticStyle:{width:"100%"},attrs:{"fetch-suggestions":e.querySearch,placeholder:e.$z("查看地址","c.search_place"),"trigger-on-focus":!1},on:{select:e.handleSelect},nativeOn:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleEnter.apply(null,arguments)}},model:{value:e.address,callback:function(t){e.address=t},expression:"address"}})],1),e._v(" "),n("GmapMap",{ref:"google_map_"+e.fieldConf.id,staticStyle:{width:"100%",height:"100%"},attrs:{center:e.position_center,zoom:e.zoom,options:e.options},on:{click:e.handleClick}},[e._l(e.google_markers,(function(e,t){return n("GmapMarker",{key:t,attrs:{position:e.position}})})),e._v(" "),this.place?n("GmapMarker",{attrs:{label:"★",position:{lat:this.place.geometry.location.lat(),lng:this.place.geometry.location.lng()}}}):e._e()],2)],1)};r._withStripped=!0;var s={props:{value:{type:[String,Number]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},readonly:{type:Boolean,default:!1},position:{type:Object,default(){return{latitude:"",longitude:""}}}},data(){return{map:null,geocoder:null,markers:[],init_markers:[],showMap:!1}},computed:{map_key(){return _.get(this.fieldConf,"map_key")},securityJsCode(){return _.get(this.fieldConf,"security_js_code",!1)},isMultiple(){return _.get(this.fieldConf,"multiple")},center(){if(this.readonly){if(this.markers&&this.markers.length)return[this.markers[0].lng,this.markers[0].lat]}else if(this.init_markers&&this.init_markers.length)return[this.init_markers[0].lng,this.init_markers[0].lat];if(console.log("this.init_markers",this.init_markers),(!this.markers||!this.markers.length)&&this.position.longitude&&this.position.latitude)return[this.position.longitude,this.position.latitude];let e=_.get(this.fieldConf,"style.center");return e&&e[0]&&e[1]?[parseFloat(e[0]),parseFloat(e[1])]:[121.272011,31.200441]},zoom(){let e=12;return _.get(this.fieldConf,"style.zoom")&&(e=parseInt(_.get(this.fieldConf,"style.zoom"))),e},showScale(){return _.get(this.fieldConf,"style.show_scale")},showSmallMap(){return _.get(this.fieldConf,"style.show_small_map")}},watch:{value(e){this.markers=_.cloneDeep(e),console.log("this.markers",this.markers),(this.init_markers&&!this.init_markers.length||!this.init_markers)&&(this.init_markers=_.cloneDeep(this.markers)),this.$nextTick((()=>{this._setMarks()}))}},methods:{_init(e){console.log("地图初始化开始。。"),e()},_setMarks(){console.log("地图标记位置。。")},_eventBind(){console.log("地图事件绑定。。")},callBackFn(e){setTimeout((()=>{e._setMarks(),this.readonly||e._eventBind()}),100)},initMap(){setTimeout((()=>{this._init(this.callBackFn)}),100)}},mounted(){this.markers=this.value,this.init_markers=_.cloneDeep(this.markers),this.initMap()}},l=n(4486),d=(0,l.A)(s,void 0,void 0,!1,null,null,null);d.options.__file="components/lib/bpmMapLocation/src/widget/map_operator/map_mixin.vue";var c=d.exports,u=n(379),m=n(5554),f=n.n(m);f().config.productionTip=!1;let h=localStorage.getItem("i18n-locale");f().use(u,{load:{key:"AIzaSyARaJH6yxQDsT9AKmrSr11N22Mbn8s1CQg",libraries:"places",language:h||"cn"}});var p={computed:{google:u.gmapApi},data(){return{address:"",auto_complete_request:{input:"",includedPrimaryTypes:[]},newestRequestId:0,tokenCount:0,options:{zoomControl:!0,mapTypeControl:!1,scaleControl:!1,streetViewControl:!1,rotateControl:!1,fullscreenControl:!0,disableDefaultUi:!1},position_center:{lat:45.508,lng:-73.587},google_markers:[],place:null}},mixins:[c],watch:{center(e,t){console.log("center",e),e&&e[0]&&(this.position_center={lat:e[1],lng:e[0]}),console.log("this.position_center",this.position_center)}},methods:{async querySearch(e,t){this.auto_complete_request.input=e;let n=[];++this.newestRequestId;const{AutocompleteSuggestion:i}=await this.google.maps.importLibrary("places"),{suggestions:a}=await i.fetchAutocompleteSuggestions(this.auto_complete_request);for(const e of a){const t=e.placePrediction;t&&n.push({value:t.text.toString(),placePrediction:t})}console.log("_suggestions",n),console.log("suggestions",a),t(n)},handleSelect(e){console.log(e),this.onPlaceSelected(e.placePrediction.toPlace())},handleEnter(e){e.preventDefault(),e.stopPropagation(),console.log("回车被按下,但不会刷新页面")},async onPlaceSelected(e){await e.fetchFields({fields:["displayName","formattedAddress","location"]}),console.log("place",e),await this.refreshToken(),console.log("place.location",e.location),this.position_center={lat:e.location.lat(),lng:e.location.lng()},this.addMarker(e.location.lng(),e.location.lat())},async refreshToken(){const{AutocompleteSessionToken:e}=await this.google.maps.importLibrary("places");this.tokenCount++,this.auto_complete_request.sessionToken=new e,console.log(`Session token count: ${this.tokenCount}`)},handleClick(e){if(this.readonly)return!1;console.log("position",e),console.log("position",e.latLng.lat()),console.log("this.markers",this.markers),_.isArray(this.markers)||(this.markers=[],this.google_markers=[]),this.addMarker(e.latLng.lng(),e.latLng.lat())},addMarker(e,t){this.isMultiple||(this.markers=[],this.google_markers=[]);let n={lat:parseFloat(t),lng:parseFloat(e)};this._getLocationAddreess(n,(n=>{this.$nextTick((()=>{this.google_markers.push({position:{lat:t,lng:e},address:n});let i=_.cloneDeep(this.google_markers);this.markers=_.map(i,(e=>({address:e.address,lng:e.position.lng,lat:e.position.lat,type:""}))),console.log("_getLocationAddreess_this.markers",this.markers),this.$emit("change",this.markers)}))}))},async _getLocationAddreess(e,t){if(!this.geocoder)return!1;this.geocoder.geocode({location:e}).then((e=>{console.log("response",e),e.results[0]?t(e.results[0].formatted_address):window.alert("No results found")})).catch((e=>window.alert("Geocoder failed due to: "+e)))},async _init(e){console.log("this.$refs",this.$refs),this.geocoder=new this.google.maps.Geocoder,console.log("this.geocoder",this.geocoder),e(this),setTimeout((()=>{_.isArray(this.markers)||(this.markers=[],this.google_markers=[],this.addMarker(this.center[0],this.center[1]))}),2e3)},_setMarks(){console.log("this.set_markers",this.markers),console.log("this.value",this.value);let e=_.cloneDeep(this.markers);this.google_markers=_.map(e,(e=>({address:e.address,position:{lat:e.lat,lng:e.lng},type:e.type}))),console.log("this.google_markers ",this.google_markers)},_eventBind(){}}},g=(0,l.A)(p,r,[],!1,null,null,null);g.options.__file="components/lib/bpmMapLocation/src/widget/map_operator/google.vue";var y=g.exports,b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.showMap?n("el-amap",{ref:"map",staticClass:"amapClass",attrs:{vid:"amapContainer",center:e.center,zoom:e.zoom}}):e._e()],1)};b._withStripped=!0;var v=n(966),w=n.n(v);f().use(w());var M={data(){return{}},mixins:[c],methods:{_init(e){this.securityJsCode&&(window._AMapSecurityConfig={securityJsCode:this.securityJsCode}),w().initAMapApiLoader({key:this.map_key,plugin:["Autocomplete","PlaceSearch","Scale","OverView","ToolBar","MapType","PolyEditor","AMap.CircleEditor","AMap.Geocoder"],v:"1.4.4"}),this.showMap=!0,v.lazyAMapApiLoaderInstance.load().then((()=>{this.$nextTick((()=>{this.map=this.$refs.map.$$getInstance(),AMap.Geocoder?this.geocoder=new AMap.Geocoder({}):AMap.plugin("AMap.Geocoder",(()=>{this.geocoder=new AMap.Geocoder({})})),setTimeout((()=>{_.isArray(this.markers)||(this.markers=[]),0==this.markers.length&&this.addMarker(this.center[0],this.center[1])}),1e3),e(this)}))}))},_setMarks(){try{if(_.isUndefined(AMap))return!1;if(!this.map)return!1;console.log("AMap",AMap),this.map.clearMap(),console.log("this.markers",this.markers),_.each(this.markers,(e=>{var t=new AMap.Marker({map:this.map,visible:!0,position:[e.lng,e.lat]});console.log("marker",t),t.setMap(this.map)}))}catch(e){console.log("error",e)}},_eventBind(){this.handleClick()},async _getLocationAddreess(e,t){let n=this;var i="";return await this.geocoder.getAddress(e,(function(e,a){"complete"===e&&a.regeocode?(n.address=a.regeocode.formattedAddress,i=n.address,t(i)):n.$message.error("根据经纬度查询地址失败")})),i},addMarker(e,t){let n=this,i=new AMap.Marker({visible:!0,position:[e,t]});this.isMultiple||(n.markers=[],n.map.clearMap()),console.log("marker",i),console.log("that.map",n.map),i.setMap(n.map);let a=[e,t];n._getLocationAddreess(a,(i=>{let o={address:i,lng:e,lat:t,type:""};_.isArray(n.markers)||(n.markers=[]),n.markers.push(o),console.log("thisPosition",o),n.$emit("change",n.markers),console.log("lnglat",a)}))},handleClick(){let e=this;console.log("this.map",this.map),this.map.on("click",(async t=>{let n=t.lnglat.lng,i=t.lnglat.lat;e.addMarker(n,i)}))}}},k=(0,l.A)(M,b,[],!1,null,null,null);k.options.__file="components/lib/bpmMapLocation/src/widget/map_operator/amap.vue";var L=k.exports,S=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",[e._v("\n 百度地图\n")])};S._withStripped=!0;var x=(0,l.A)({},S,[],!1,null,null,null);x.options.__file="components/lib/bpmMapLocation/src/widget/map_operator/baidu.vue";var D=x.exports,C=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",[e._v("\n 腾讯地图\n")])};C._withStripped=!0;var T=(0,l.A)({},C,[],!1,null,null,null);T.options.__file="components/lib/bpmMapLocation/src/widget/map_operator/tencent.vue";var Y=T.exports,$={name:"BpmMapLocation",components:{googleMap:y,aMap:L,baiduMap:D,tencentMap:Y},props:{value:{type:Array},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},readonly:{type:Boolean,default:!1}},data(){return{position:{latitude:"",longitude:""},curVal:[]}},computed:{map_key(){return window.MAP_KEY=_.get(this.fieldConf,"map_key"),_.get(this.fieldConf,"map_key")},height(){return _.get(this.fieldConf,"style.height")+"px"},curComponent(){return"google"==this.fieldConf.operator?y:"amap"==this.fieldConf.operator?L:"baidu"==this.fieldConf.operator?D:"tencent"==this.fieldConf.operator?Y:y}},watch:{value(e){this.curVal=e}},mounted(){this.curVal=this.value,navigator&&navigator.geolocation?navigator.geolocation.getCurrentPosition(this.getLocationSucess,this.getLocationError):console.log("浏览器不支持Geolocation API")},methods:{getLocationSucess(e){this.position.latitude=e.coords.latitude,this.position.longitude=e.coords.longitude,console.log("当前位置经度:"+this.position.longitude),console.log("当前位置纬度:"+this.position.latitude)},getLocationError(e){switch(e.code){case e.PERMISSION_DENIED:console.log("用户拒绝了位置请求");break;case e.POSITION_UNAVAILABLE:console.log("无法获取当前位置");break;case e.TIMEOUT:console.log("获取位置超时");break;case e.UNKNOWN_ERROR:console.log("发生未知错误")}},handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},j=(0,l.A)($,o,[],!1,null,null,null);j.options.__file="components/lib/bpmMapLocation/src/widget/map.vue";var O={components:{mapComponent:j.exports},data(){return{curVal:[],dialogMarkers:[],selected:[],selectOptions:[],dialogMapVisible:!1}},props:["value","fieldConf","row","uiType","readonly"],watch:{value(e){this.curVal=e,this.selectOptions=_.cloneDeep(e),this.selected=[],_.each(this.selectOptions,(e=>{this.selected.push(e.address)}))}},computed:{isDialog(){return"dialog"==_.get(this.fieldConf,"style.ui_type")||"table"==this.uiType},dialogWidth(){return _.get(this.fieldConf,"style.dialog_width")+"%"},showLocationTitle(){return _.get(this.fieldConf,"style.show_location_title")},showCoordinate(){return _.get(this.fieldConf,"style.show_coordinate")},isMultiple(){return _.get(this.fieldConf,"multiple")}},methods:{handleChange(e){console.log("map_location change: ",e),this.$emit("change",e)},openMapDialog(){this.dialogMapVisible=!0,this.dialogMarkers=this.curVal},confirmMarkerSelect(){this.dialogMapVisible=!1,this.curVal=this.dialogMarkers,this.handleChange(this.curVal)}},mounted(){}},I=(0,l.A)(O,a,[],!1,null,null,null);I.options.__file="components/lib/bpmMapLocation/src/part/editor.vue";var P=I.exports,E=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"bpm-map-loaction-view"},[n("map-location-editor",{attrs:{value:e.value,fieldConf:e.fieldConf,row:e.row,uiType:e.uiType,readonly:!0}})],1)};E._withStripped=!0;var A={components:{MapLocationEditor:P},props:["value","fieldConf","row","uiType"]},F=(0,l.A)(A,E,[],!1,null,null,null);F.options.__file="components/lib/bpmMapLocation/src/part/reader.vue";var V=F.exports,H={name:"BpmMapLocation",components:{editorComponent:P,readerComponent:V},props:{value:{type:[String,Number]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}}},data(){return{curVal:""}},created(){window.MAP_KEY=_.get(this.fieldConf,"map_key")},computed:{curComponent(){return"view"==this.mode?V:P}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},R=(0,l.A)(H,i,[],!1,null,null,null);R.options.__file="components/lib/bpmMapLocation/src/main.vue";var z=R.exports;z.install=function(e){e.component(z.name,z)};var N=z},708:function(e,t,n){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n(5093))},744:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314);n.n(o)()(a()).push([e.id,".bpm-status[data-v-2709dffc] {\n min-height: 24px;\n border-radius: 3px;\n}\n",""])},748:function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(5093))},838:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5093))},865:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return w}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-rating",attrs:{value:e.curVal,fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType},on:{change:e.handleChange}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-rate",{attrs:{max:e.max,iconClasses:e.icon,voidIconClass:e.voidIcon,disabledVoidIcon:e.voidIcon,disabled:e.readonly,allowHalf:e.allowHalf,colors:e.colors,voidColor:e.voidColor,showText:e.showText,showScore:e.showScore,textColor:e.textColor,texts:e.texts},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}})],1)};a._withStripped=!0;var o=n(6773),r=n.n(o),s=n(5554),l=n.n(s),d=n(7642);l().use(d.Rate);var c={data(){return{curVal:null}},props:["value","fieldConf","row","readonly"],watch:{value(e){this.value||0===this.value||"0"===this.value?(this.curVal=Number(this.value),console.log("number change_curVal: ",this.curVal)):this.curVal=void 0}},computed:{texts(){let e=[],t=r().get(this.fieldConf,"range_enum");return r().each(t,(t=>{e.push(t[1])})),e},max(){return r().get(this.fieldConf,"range_enum").length||5},icon(){let e=this.getIconClass(r().get(this.fieldConf,"style.icon"));return[e,e,e]},voidIcon(){return this.getIconClass(r().get(this.fieldConf,"style.void_icon"),!0)},size(){return r().get(this.fieldConf,"style.size")},gutter(){return r().get(this.fieldConf,"style.gutter")},allowHalf(){return r().get(this.fieldConf,"style.allow_half")},colors(){let e=r().get(this.fieldConf,"style.color");return[e,e,e]},voidColor(){return r().get(this.fieldConf,"style.void_color")},showText(){return r().get(this.fieldConf,"style.show_text")},showScore(){return r().get(this.fieldConf,"style.show_score")},textColor(){return r().get(this.fieldConf,"style.text_color")}},methods:{getIconClass(e,t=!1){let n="";switch(e){case"star":case"like":case"smile":case"good-job":n=t?"el-icon-star-off":"el-icon-star-on"}return n},handleChange(e){console.log("number change: ",e),this.$emit("change",this.curVal)}},mounted(){this.value||0===this.value||"0"===this.value?this.curVal=Number(this.value):this.curVal=void 0}},u=n(4486),m=(0,u.A)(c,a,[],!1,null,null,null);m.options.__file="components/lib/bpmRating/src/part/editor.vue";var f=m.exports,h=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"bpm-rating-view"},[n("rate-editor",{attrs:{value:e.value,fieldConf:e.fieldConf,row:e.row,uiType:e.uiType,readonly:!0}})],1)};h._withStripped=!0;var p={components:{RateEditor:f},props:["value","fieldConf","row","uiType"]},_=(0,u.A)(p,h,[],!1,null,null,null);_.options.__file="components/lib/bpmRating/src/part/reader.vue";var g=_.exports,y={name:"BpmRating",components:{editorComponent:f,readerComponent:g},props:{value:{type:[String,Number]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?g:f}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},b=(0,u.A)(y,i,[],!1,null,null,null);b.options.__file="components/lib/bpmRating/src/main.vue";var v=b.exports;v.install=function(e){e.component(v.name,v)};var w=v},877:function(e,t,n){var i={"./bpmAppointment/index.js":8141,"./bpmArea/index.js":2042,"./bpmAreaElevation/index.js":7930,"./bpmAudit/index.js":4789,"./bpmDateTime/index.js":1933,"./bpmExternalFormLink/index.js":7948,"./bpmField/index.js":9666,"./bpmFieldsFilter/index.js":9335,"./bpmFormField/index.js":4304,"./bpmMapLocation/index.js":625,"./bpmMulFile/index.js":2622,"./bpmMulImage/index.js":2554,"./bpmNumber/index.js":7698,"./bpmOverTime/index.ts":6702,"./bpmRating/index.js":865,"./bpmRichText/index.js":5540,"./bpmSelect/index.js":2865,"./bpmSelectCheckItem/index.js":8668,"./bpmSelectEntranceForm/index.js":2179,"./bpmSelectFromField/index.js":9674,"./bpmSelectFromForm/index.js":1567,"./bpmSelectFromId/index.js":2549,"./bpmSelectFromMulForm/index.js":6170,"./bpmSelectHouseOwner/index.js":4413,"./bpmSelectIssue/index.js":8500,"./bpmSelectUser/index.js":6974,"./bpmSignature/index.js":1824,"./bpmSpliter/index.ts":9973,"./bpmSubForm/index.js":5961,"./bpmSubFormField/index.js":1849,"./bpmText/index.ts":1138,"./bpmTime/index.js":2656,"./bpmVideo/index.js":3610,"./demo/index.js":5881,"./demo2/index.js":6751,"./index.ts":5990};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}a.keys=function(){return Object.keys(i)},a.resolve=o,e.exports=a,a.id=877},895:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,a=!1,o=void 0;try{for(var r,s=e[Symbol.iterator]();!(i=(r=s.next()).done)&&(n.push(r.value),!t||n.length!==t);i=!0);}catch(e){a=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=(i=n(2230))&&i.__esModule?i:{default:i},r={draggable:{type:Boolean},editable:{type:Boolean},options:{type:Object},path:{type:Array,twoWay:!0,noBind:!0},paths:{type:Array,twoWay:!0,noBind:!0}};t.default=(0,o.default)({props:{deepWatch:{type:Boolean,default:!1}},events:["click","dblclick","drag","dragend","dragstart","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"],mappedProps:r,name:"polygon",ctr:function(){return google.maps.Polygon},beforeCreate:function(e){e.path||delete e.path,e.paths||delete e.paths},afterCreate:function(e){var t=this,n=function(){};this.$watch("paths",(function(i){if(i){n(),e.setPaths(i);for(var o=function(){t.$emit("paths_changed",e.getPaths())},r=[],s=e.getPaths(),l=0;l<s.getLength();l++){var d=s.getAt(l);r.push([d,d.addListener("insert_at",o)]),r.push([d,d.addListener("remove_at",o)]),r.push([d,d.addListener("set_at",o)])}r.push([s,s.addListener("insert_at",o)]),r.push([s,s.addListener("remove_at",o)]),r.push([s,s.addListener("set_at",o)]),n=function(){r.map((function(e){var t=a(e,2),n=(t[0],t[1]);return google.maps.event.removeListener(n)}))}}}),{deep:this.deepWatch,immediate:!0}),this.$watch("path",(function(i){if(i){n(),e.setPaths(i);var o=e.getPath(),r=[],s=function(){t.$emit("path_changed",e.getPath())};r.push([o,o.addListener("insert_at",s)]),r.push([o,o.addListener("remove_at",s)]),r.push([o,o.addListener("set_at",s)]),n=function(){r.map((function(e){var t=a(e,2),n=(t[0],t[1]);return google.maps.event.removeListener(n)}))}}}),{deep:this.deepWatch,immediate:!0})}})},966:function(e,t,n){var i;"undefined"!=typeof self&&self,e.exports=(i=n(5554),function(e){function t(i){if(n[i])return n[i].exports;var a=n[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="./",t(t.s=64)}([function(e,t,n){"use strict";var i=n(45),a=n.n(i),o=n(6),r=n(50),s=n(13),l=n(49),d=n(27);t.a={data:function(){return{unwatchFns:[]}},mounted:function(){var e=this;s.b&&s.b.load().then((function(){e.__contextReady&&e.__contextReady.call(e,e.convertProps())})),this.$amap=this.$amap||this.$parent.$amap,this.$amap?this.register():this.$on(l.a.AMAP_READY_EVENT,(function(t){e.$amap=t,e.register()}))},destroyed:function(){this.unregisterEvents(),this.$amapComponent&&(this.$amapComponent.setMap&&this.$amapComponent.setMap(null),this.$amapComponent.close&&this.$amapComponent.close(),this.$amapComponent.editor&&this.$amapComponent.editor.close(),this.unwatchFns.forEach((function(e){return e()})),this.unwatchFns=[])},methods:{getHandlerFun:function(e){return this.handlers&&this.handlers[e]?this.handlers[e]:this.$amapComponent["set"+a()(e)]||this.$amapComponent.setOptions},convertProps:function(){var e=this,t={};this.$amap&&(t.map=this.$amap);var n=this.$options.propsData,i=void 0===n?{}:n,a=this.propsRedirect;return Object.keys(i).reduce((function(n,o){var r=o,s=e.convertSignalProp(r,i[r]);return void 0===s||(a&&a[o]&&(r=a[r]),t[r]=s),n}),t)},convertSignalProp:function(e,t){var n="",i="";if(this.amapTagName)try{var r=a()(this.amapTagName).replace(/^El/,"");i=(d.default[r]||"").props[e].$type,n=o.a[i]}catch(e){}if(i&&n)return n(t);if(this.converters&&this.converters[e])return this.converters[e].call(this,t);var s=o.a[e];return s?s(t):t},registerEvents:function(){if(this.setEditorEvents&&this.setEditorEvents(),this.$options.propsData){if(this.$options.propsData.events)for(var e in this.events)r.a.addListener(this.$amapComponent,e,this.events[e]);if(this.$options.propsData.onceEvents)for(var t in this.onceEvents)r.a.addListenerOnce(this.$amapComponent,t,this.onceEvents[t])}},unregisterEvents:function(){r.a.clearListeners(this.$amapComponent)},setPropWatchers:function(){var e=this,t=this.propsRedirect,n=this.$options.propsData,i=void 0===n?{}:n;Object.keys(i).forEach((function(n){var i=n;t&&t[n]&&(i=t[n]);var a=e.getHandlerFun(i);if(a||"events"===n){var o=e.$watch(n,(function(t){return"events"===n?(e.unregisterEvents(),void e.registerEvents()):a&&a===e.$amapComponent.setOptions?a.call(e.$amapComponent,((o={})[i]=e.convertSignalProp(n,t),o)):void a.call(e.$amapComponent,e.convertSignalProp(n,t));var o}));e.unwatchFns.push(o)}}))},registerToManager:function(){var e=this.amapManager||this.$parent.amapManager;e&&void 0!==this.vid&&e.setComponent(this.vid,this.$amapComponent)},initProps:function(){var e=this;["editable","visible"].forEach((function(t){if(void 0!==e[t]){var n=e.getHandlerFun(t);n&&n.call(e.$amapComponent,e.convertSignalProp(t,e[t]))}}))},printReactiveProp:function(){var e=this;Object.keys(this._props).forEach((function(t){e.$amapComponent["set"+a()(t)]&&console.log(t)}))},register:function(){var e=this,t=this.__initComponent&&this.__initComponent(this.convertProps());t&&t.then?t.then((function(t){return e.registerRest(t)})):this.registerRest(t)},registerRest:function(e){!this.$amapComponent&&e&&(this.$amapComponent=e),this.registerEvents(),this.initProps(),this.setPropWatchers(),this.registerToManager(),this.events&&this.events.init&&this.events.init(this.$amapComponent,this.$amap,this.amapManager||this.$parent.amapManager)},$$getInstance:function(){return this.$amapComponent}}}},function(e,t,n){"use strict";t.a=function(e,t,n,i,a,o,r,s){var l=typeof(e=e||{}).default;"object"!==l&&"function"!==l||(e=e.default);var d,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId=o),r?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},c._ssrRegister=d):a&&(d=s?function(){a.call(this,this.$root.$options.shadowRoot)}:a),d)if(c.functional){c._injectStyles=d;var u=c.render;c.render=function(e,t){return d.call(t),u(e,t)}}else{var m=c.beforeCreate;c.beforeCreate=m?[].concat(m,d):[d]}return{exports:e,options:c}}},function(e,t,n){var i=n(30)("wks"),a=n(14),o=n(3).Symbol,r="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=r&&o[e]||(r?o:a)("Symbol."+e))}).store=i},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(15)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";function i(e){return new AMap.Pixel(e[0],e[1])}function a(e){return new AMap.LngLat(e[0],e[1])}function o(e){return new AMap.Bounds(a(e[0]),a(e[1]))}t.e=i,t.c=function(e){return Array.isArray(e)?e:[e.getX(),e.getY()]},t.d=a,t.b=function(e){if(e)return Array.isArray(e)?e.slice():[e.getLng(),e.getLat()]},n.d(t,"a",(function(){return r}));var r={position:a,offset:i,bounds:o,LngLat:a,Pixel:i,Size:function(e){return new AMap.Size(e[0],e[1])},Bounds:o}},function(e,t,n){var i=n(3),a=n(8),o=n(11),r=n(14)("src"),s=Function.toString,l=(""+s).split("toString");n(16).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var d="function"==typeof n;d&&(o(n,"name")||a(n,"name",t)),e[t]!==n&&(d&&(o(n,r)||a(n,r,e[t]?""+e[t]:l.join(String(t)))),e===i?e[t]=n:s?e[t]?e[t]=n:a(e,t,n):(delete e[t],a(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[r]||s.call(this)}))},function(e,t,n){var i=n(9),a=n(20);e.exports=n(5)?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(10),a=n(31),o=n(33),r=Object.defineProperty;t.f=n(5)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),a)try{return r(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var i=n(4);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports={}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return r}));var i=n(97),a=n(19),o=n.n(a),r=null,s=function(e){o.a.prototype.$isServer||r||(r||(r=new i.a(e)),r.load())}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n=e.exports={version:"2.5.5"};"number"==typeof __e&&(__e=n)},function(e,t,n){var i=n(71);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,a){return e.call(t,n,i,a)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var i=n(75),a=n(22);e.exports=function(e){return i(a(e))}},function(e,t){e.exports=i},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";var i=n(70),a=n(34),o=n(7),r=n(8),s=n(12),l=n(72),d=n(25),c=n(79),u=n(2)("iterator"),m=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,h,p,_,g){l(n,t,h);var y,b,v,w=function(e){if(!m&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},M=t+" Iterator",k="values"==p,L=!1,S=e.prototype,x=S[u]||S["@@iterator"]||p&&S[p],D=x||w(p),C=p?k?w("entries"):D:void 0,T="Array"==t&&S.entries||x;if(T&&(v=c(T.call(new e)))!==Object.prototype&&v.next&&(d(v,M,!0),i||"function"==typeof v[u]||r(v,u,f)),k&&x&&"values"!==x.name&&(L=!0,D=function(){return x.call(this)}),i&&!g||!m&&!L&&S[u]||r(S,u,D),s[t]=D,s[M]=f,p)if(y={values:k?D:w("values"),keys:_?D:w("keys"),entries:C},g)for(b in y)b in S||o(S,b,y[b]);else a(a.P+a.F*(m||L),t,y);return y}},function(e,t,n){var i=n(30)("keys"),a=n(14);e.exports=function(e){return i[e]||(i[e]=a(e))}},function(e,t,n){var i=n(9).f,a=n(11),o=n(2)("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},function(e,t,n){"use strict";var i=n(50);t.a={methods:{setEditorEvents:function(){var e=this;if(this.$amapComponent.editor&&this.events){var t=["addnode","adjust","removenode","end","move"],n={};Object.keys(this.events).forEach((function(i){-1!==t.indexOf(i)&&(n[i]=e.events[i])})),Object.keys(n).forEach((function(t){i.a.addListener(e.$amapComponent.editor,t,n[t])}))}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=(n(65),n(45)),a=n.n(i),o=n(13),r=n(100),s=n(106),l=n(107),d=n(111),c=n(113),u=n(115),m=n(116),f=n(118),h=n(120),p=n(122),_=n(124),g=n(126),y=n(128),b=n(130),v=n(131);n.d(t,"AMapManager",(function(){return b.a})),n.d(t,"initAMapApiLoader",(function(){return o.a})),n.d(t,"createCustomComponent",(function(){return v.a})),n.d(t,"lazyAMapApiLoaderInstance",(function(){return o.b}));var w=[r.a,s.a,l.a,d.a,c.a,u.a,f.a,m.a,h.a,p.a,_.a,g.a,y.a],M={initAMapApiLoader:o.a,AMapManager:b.a,install:function(e){M.installed||(e.config.optionMergeStrategies.deferredReady=e.config.optionMergeStrategies.created,w.map((function(t){e.component(t.name,t),M[a()(t.name).replace(/^El/,"")]=t})))}};"undefined"!=typeof window&&window.Vue&&function e(t){e.installed||M.install(t)}(window.Vue),t.default=M},function(e,t,n){var i=n(29),a=n(2)("toStringTag"),o="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:o?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var i=n(3),a=i["__core-js_shared__"]||(i["__core-js_shared__"]={});e.exports=function(e){return a[e]||(a[e]={})}},function(e,t,n){e.exports=!n(5)&&!n(15)((function(){return 7!=Object.defineProperty(n(32)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var i=n(4),a=n(3).document,o=i(a)&&i(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},function(e,t,n){var i=n(4);e.exports=function(e,t){if(!i(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!i(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!i(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!i(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var i=n(3),a=n(16),o=n(8),r=n(7),s=n(17),l=function(e,t,n){var d,c,u,m,f=e&l.F,h=e&l.G,p=e&l.S,_=e&l.P,g=e&l.B,y=h?i:p?i[t]||(i[t]={}):(i[t]||{}).prototype,b=h?a:a[t]||(a[t]={}),v=b.prototype||(b.prototype={});for(d in h&&(n=t),n)u=((c=!f&&y&&void 0!==y[d])?y:n)[d],m=g&&c?s(u,i):_&&"function"==typeof u?s(Function.call,u):u,y&&r(y,d,u,e&l.U),b[d]!=u&&o(b,d,m),_&&v[d]!=u&&(v[d]=u)};i.core=a,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var i=n(10),a=n(73),o=n(38),r=n(24)("IE_PROTO"),s=function(){},l=function(){var e,t=n(32)("iframe"),i=o.length;for(t.style.display="none",n(78).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;i--;)delete l.prototype[o[i]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=i(e),n=new s,s.prototype=null,n[r]=e):n=l(),void 0===t?n:a(n,t)}},function(e,t,n){var i=n(74),a=n(38);e.exports=Object.keys||function(e){return i(e,a)}},function(e,t,n){var i=n(21),a=Math.min;e.exports=function(e){return e>0?a(i(e),9007199254740991):0}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var i=n(7);e.exports=function(e,t,n){for(var a in t)i(e,a,t[a],n);return e}},function(e,t){e.exports=function(e,t,n,i){if(!(e instanceof t)||void 0!==i&&i in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var i=n(17),a=n(86),o=n(87),r=n(10),s=n(37),l=n(88),d={},c={};t=e.exports=function(e,t,n,u,m){var f,h,p,_,g=m?function(){return e}:l(e),y=i(n,u,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(o(g)){for(f=s(e.length);f>b;b++)if((_=t?y(r(h=e[b])[0],h[1]):y(e[b]))===d||_===c)return _}else for(p=g.call(e);!(h=p.next()).done;)if((_=a(p,y,h.value,t))===d||_===c)return _},t.BREAK=d,t.RETURN=c},function(e,t,n){var i=n(14)("meta"),a=n(4),o=n(11),r=n(9).f,s=0,l=Object.isExtensible||function(){return!0},d=!n(15)((function(){return l(Object.preventExtensions({}))})),c=function(e){r(e,i,{value:{i:"O"+ ++s,w:{}}})},u=e.exports={KEY:i,NEED:!1,fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,i)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[i].i},getWeak:function(e,t){if(!o(e,i)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[i].w},onFreeze:function(e){return d&&u.NEED&&l(e)&&!o(e,i)&&c(e),e}}},function(e,t,n){var i=n(4);e.exports=function(e,t){if(!i(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){"use strict";var i=n(96);e.exports=function(){var e=i.apply(i,arguments);return e.charAt(0).toUpperCase()+e.slice(1)}},function(e,t){function n(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var a=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(i);return[n].concat(i.sources.map((function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"}))).concat([a]).join("\n")}return[n].join("\n")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=n(t,e);return t[2]?"@media "+t[2]+"{"+i+"}":i})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},a=0;a<this.length;a++){var o=this[a][0];"number"==typeof o&&(i[o]=!0)}for(a=0;a<e.length;a++){var r=e[a];"number"==typeof r[0]&&i[r[0]]||(n&&!r[2]?r[2]=n:n&&(r[2]="("+r[2]+") and ("+n+")"),t.push(r))}},t}},function(e,t,n){function i(e){for(var t=0;t<e.length;t++){var n=e[t],i=c[n.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](n.parts[a]);for(;a<n.parts.length;a++)i.parts.push(o(n.parts[a]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var r=[];for(a=0;a<n.parts.length;a++)r.push(o(n.parts[a]));c[n.id]={id:n.id,refs:1,parts:r}}}}function a(){var e=document.createElement("style");return e.type="text/css",u.appendChild(e),e}function o(e){var t,n,i=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(i){if(h)return p;i.parentNode.removeChild(i)}if(_){var o=f++;i=m||(m=a()),t=r.bind(null,i,o,!1),n=r.bind(null,i,o,!0)}else i=a(),t=s.bind(null,i),n=function(){i.parentNode.removeChild(i)};return t(e),function(i){if(i){if(i.css===e.css&&i.media===e.media&&i.sourceMap===e.sourceMap)return;t(e=i)}else n()}}function r(e,t,n,i){var a=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=g(t,a);else{var o=document.createTextNode(a),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(o,r[t]):e.appendChild(o)}}function s(e,t){var n=t.css,i=t.media,a=t.sourceMap;if(i&&e.setAttribute("media",i),a&&(n+="\n/*# sourceURL="+a.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var l="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!l)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var d=n(103),c={},u=l&&(document.head||document.getElementsByTagName("head")[0]),m=null,f=0,h=!1,p=function(){},_="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n){h=n;var a=d(e,t);return i(a),function(t){for(var n=[],o=0;o<a.length;o++){var r=a[o];(s=c[r.id]).refs--,n.push(s)}for(t?i(a=d(e,t)):a=[],o=0;o<n.length;o++){var s;if(0===(s=n[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete c[s.id]}}}};var g=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t,n){"use strict";var i=n(104),a=n(49),o=n(6),r=n(0),s=n(13),l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.a={name:"el-amap",mixins:[r.a],props:["viewMode","skyColor","rotateEnable","pitch","buildingAnimation","pitchEnable","vid","events","center","zoom","draggEnable","level","zooms","lang","defaultCursor","crs","animateEnable","isHotspot","defaultLayer","rotateEnable","resizeEnable","showIndoorMap","indoorMap","expandZoomRange","dragEnable","zoomEnable","doubleClickZoom","keyboardEnable","jogEnable","scrollWheel","touchZoom","mapStyle","plugin","features","amapManager"],beforeCreate:function(){this._loadPromise=s.b.load()},destroyed:function(){this.$amap&&this.$amap.destroy()},computed:{plugins:function(){var e=[],t=/^AMap./,n=function(e){return t.test(e)?e:"AMap."+e},i=function(e){return e.replace(t,"")};return"string"==typeof this.plugin?e.push({pName:n(this.plugin),sName:i(this.plugin)}):this.plugin instanceof Array&&(e=this.plugin.map((function(e){var t={};return"string"==typeof e?t={pName:n(e),sName:i(e)}:(e.pName=n(e.pName),e.sName=i(e.pName),t=e),t}))),e}},data:function(){return{converters:{center:function(e){return Object(o.d)(e)}},handlers:{zoomEnable:function(e){this.setStatus({zoomEnable:e})},dragEnable:function(e){this.setStatus({dragEnable:e})},rotateEnable:function(e){this.setStatus({rotateEnable:e})}}}},mounted:function(){this.createMap()},addEvents:function(){var e=this;this.$amapComponent.on("moveend",(function(){var t=e.$amapComponent.getCenter();e.center=[t.getLng(),t.getLat()]}))},methods:{addPlugins:function(){var e=this.plugins.filter((function(e){return!AMap[e.sName]}));return e&&e.length?this.$amapComponent.plugin(e,this.addMapControls):this.addMapControls()},addMapControls:function(){var e=this;this.plugins&&this.plugins.length&&(this.$plugins=this.$plugins||{},this.plugins.forEach((function(t){var n=e.convertAMapPluginProps(t),i=e.$plugins[n.pName]=new AMap[n.sName](n);if(e.$amapComponent.addControl(i),t.events)for(var a in t.events){var o=t.events[a];"init"===a?o(i):AMap.event.addListener(i,a,o)}})))},convertAMapPluginProps:function(e){if("object"===(void 0===e?"undefined":l(e))&&e.pName){switch(e.pName){case"AMap.ToolBar":case"AMap.Scale":e.offset&&e.offset instanceof Array&&(e.offset=Object(o.e)(e.offset))}return e}return""},setStatus:function(e){this.$amap.setStatus(e)},createMap:function(){var e=this;this._loadPromise.then((function(){var t=e.$el.querySelector(".el-vue-amap"),n=e.vid||Object(i.a)();t.id=n,e.$amap=e.$amapComponent=new AMap.Map(n,e.convertProps()),e.amapManager&&e.amapManager.setMap(e.$amap),e.$emit(a.a.AMAP_READY_EVENT,e.$amap),e.$children.forEach((function(t){t.$emit(a.a.AMAP_READY_EVENT,e.$amap)})),e.plugins&&e.plugins.length&&e.addPlugins()}))},$$getCenter:function(){return this.$amap?Object(o.b)(this.$amap.getCenter()):Object(o.b)(this.center)}}}},function(e,t,n){"use strict";t.a={AMAP_READY_EVENT:"AMAP_READY_EVENT"}},function(e,t,n){"use strict";var i=void 0,a=function(){function e(){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this._listener=new Map}return e.prototype.addListener=function(e,t,n,i){if(!AMap.event)throw new Error("please wait for Map API load");var a=AMap.event.addListener(e,t,n,i);this._listener.get(e)||this._listener.set(e,{});var o=this._listener.get(e);o[t]||(o[t]=[]),o[t].push(a)},e.prototype.removeListener=function(e,t,n){if(!AMap.event)throw new Error("please wait for Map API load");if(this._listener.get(e)&&this._listener.get(e)[t]){var i=this._listener.get(e)[t];if(n){var a=i.indexOf(n);AMap.event.removeListener(i[a]),i.splice(a,1)}else i.forEach((function(e){AMap.event.removeListener(e)})),this._listener.get(e)[t]=[]}},e.prototype.addListenerOnce=function(e,t,n,i){return AMap.event.addListenerOnce(e,t,n,i)},e.prototype.trigger=function(e,t,n){return AMap.event.trigger(e,t,n)},e.prototype.clearListeners=function(e){var t=this,n=this._listener.get(e);n&&Object.keys(n).map((function(n){t.removeListener(e,n)}))},e}();i=i||new a,t.a=i},function(e,t,n){"use strict";var i=n(0),a=n(6),o=n(52),r=n(19),s=n.n(r),l="el-amap-marker";t.a={name:l,mixins:[i.a],props:["vid","position","offset","icon","content","topWhenClick","bubble","draggable","raiseOnDrag","cursor","visible","zIndex","angle","autoRotation","animation","shadow","title","clickable","shape","extData","label","events","onceEvents","template","vnode","contentRender"],data:function(){var e=this;return{$tagName:l,withSlots:!1,tmpVM:null,propsRedirect:{template:"content",vnode:"content",contentRender:"content"},converters:{shape:function(e){return new AMap.MarkerShape(e)},shadow:function(e){return new AMap.Icon(e)},template:function(t){var n=Object(o.a)(t,e);return this.$customContent=n,n.$el},vnode:function(t){var n="function"==typeof t?t(e):t,i=Object(o.c)(n);return this.$customContent=i,i.$el},contentRender:function(t){var n=Object(o.b)(t,e);return this.$customContent=n,n.$el},label:function(e){var t=e.content,n=void 0===t?"":t,i=e.offset,o=void 0===i?[0,0]:i;return{content:n,offset:Object(a.e)(o)}}},handlers:{zIndex:function(e){this.setzIndex(e)},visible:function(e){!1===e?this.hide():this.show()}}}},created:function(){this.tmpVM=new s.a({data:function(){return{node:""}},render:function(e){var t=this.node;return e("div",{ref:"node"},Array.isArray(t)?t:[t])}}).$mount()},methods:{__initComponent:function(e){this.$slots.default&&this.$slots.default.length&&(e.content=this.tmpVM.$refs.node),this.$amapComponent=new AMap.Marker(e)},$$getExtData:function(){return this.$amapComponent.getExtData()},$$getPosition:function(){return Object(a.b)(this.$amapComponent.getPosition())},$$getOffset:function(){return Object(a.c)(this.$amapComponent.getOffset())}},render:function(e){var t=this.$slots.default||[];return t.length&&(this.tmpVM.node=t),null},destroyed:function(){this.tmpVM.$destroy(),this.$customContent&&this.$customContent.$destroy&&this.$customContent.$destroy()}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return l}));var i=n(19),a=n.n(i),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r=function(e,t){var n={},i=a.a.compile(e);["methods","computed","data","filters"].forEach((function(e){n[e]=t.$parent.$parent.$options[e],"data"===e&&"function"==typeof n[e]&&(n[e]=n[e]())}));var r=new a.a(o({},n,i));return r.$mount(),r},s=function(e){var t=new a.a({render:function(t){return t("div",e)}});return t.$mount(),t},l=function(e,t){var n=new a.a({render:function(n){return e(n,t)}});return n.$mount(),n}},function(e,t,n){"use strict";var i=n(0),a=n(13);t.a={name:"el-amap-search-box",mixins:[i.a],props:["searchOption","onSearchResult","events","default"],data:function(){return{keyword:this.default||"",tips:[],selectedTip:-1,loaded:!1,adcode:null}},mounted:function(){var e=this;a.b.load().then((function(){e.loaded=!0,e._onSearchResult=e.onSearchResult,e.events&&e.events.init&&e.events.init({autoComplete:e._autoComplete,placeSearch:e._placeSearch})}))},computed:{_autoComplete:function(){if(this.loaded)return new AMap.Autocomplete(this.searchOption||{})},_placeSearch:function(){if(this.loaded)return new AMap.PlaceSearch(this.searchOption||{})}},methods:{autoComplete:function(){var e=this;this.keyword&&this._autoComplete&&this._autoComplete.search(this.keyword,(function(t,n){"complete"===t&&(e.tips=n.tips)}))},search:function(){var e=this;if(this.tips=[],this._placeSearch){var t;t=this.searchOption.citylimit&&this.searchOption.city?this.searchOption.city:this.adcode,this._placeSearch.setCity(t||this.searchOption.city),this._placeSearch.search(this.keyword,(function(t,n){if(n&&n.poiList&&n.poiList.count){var i=n.poiList.pois.map((function(e){return e.lat=e.location.lat,e.lng=e.location.lng,e}));e._onSearchResult(i)}else if(void 0===n.poiList)throw new Error(n)}))}},changeTip:function(e){this.adcode=e.adcode,this.keyword=e.name,this.search()},selectTip:function(e){"up"===e&&this.selectedTip>0?(this.selectedTip-=1,this.keyword=this.tips[this.selectedTip].name,this.adcode=this.tips[this.selectedTip].adcode):"down"===e&&this.selectedTip+1<this.tips.length&&(this.selectedTip+=1,this.keyword=this.tips[this.selectedTip].name,this.adcode=this.tips[this.selectedTip].adcode)}}}},function(e,t,n){"use strict";var i=n(0),a=n(6),o=n(26);t.a={name:"el-amap-circle",mixins:[i.a,o.a],props:["vid","zIndex","center","bubble","radius","strokeColor","strokeOpacity","strokeWeight","editable","fillColor","fillOpacity","strokeStyle","extData","strokeDasharray","events","visible","extData","onceEvents"],data:function(){return{converters:{center:function(e){return Object(a.d)(e)}},handlers:{zIndex:function(e){this.setzIndex(e)},visible:function(e){!1===e?this.hide():this.show()},editable:function(e){!0===e?this.editor.open():this.editor.close()}}}},methods:{__initComponent:function(e){this.$amapComponent=new AMap.Circle(e),this.$amapComponent.editor=new AMap.CircleEditor(this.$amap,this.$amapComponent)},$$getCenter:function(){return Object(a.b)(this.$amapComponent.getCenter())}}}},function(e,t,n){"use strict";var i=n(0);t.a={name:"el-amap-ground-image",mixins:[i.a],props:["vid","clickable","opacity","url","bounds","visible","events","onceEvents"],destroyed:function(){this.$amapComponent.setMap(null)},data:function(){return{converters:{},handlers:{visible:function(e){!1===e?this.setMap(null):this.setMap(this.$amap)}}}},methods:{__initComponent:function(e){this.$amapComponent=new AMap.ImageLayer(e)}}}},function(e,t,n){"use strict";var i=n(6),a=n(0),o=n(52),r=n(19),s=n.n(r);t.a={name:"el-amap-info-window",mixins:[a.a],props:["vid","isCustom","autoMove","closeWhenClickMap","content","size","offset","position","showShadow","visible","events","template","vnode","contentRender"],data:function(){var e=this;return{withSlots:!1,tmpVM:null,propsRedirect:{template:"content",vnode:"content",contentRender:"content"},converters:{template:function(t){var n=Object(o.a)(t,e);return this.$customContent=n,n.$el},vnode:function(t){var n="function"==typeof t?t(e):t,i=Object(o.c)(n);return this.$customContent=i,i.$el},contentRender:function(t){var n=Object(o.b)(t,e);return this.$customContent=n,n.$el}},handlers:{visible:function(t){var n=this.getPosition();n&&(!1===t?this.close():this.open(e.$amap,[n.lng,n.lat]))},template:function(e){this.setContent(e)}}}},created:function(){this.tmpVM=new s.a({data:function(){return{node:""}},render:function(e){var t=this.node;return e("div",{ref:"node"},Array.isArray(t)?t:[t])}}).$mount()},destroyed:function(){this.$amapComponent.close(),this.tmpVM.$destroy(),this.$customContent&&this.$customContent.$destroy&&this.$customContent.$destroy()},methods:{__initComponent:function(e){this.$slots.default&&this.$slots.default.length&&(e.content=this.tmpVM.$refs.node),delete e.map,this.$amapComponent=new AMap.InfoWindow(e),!1!==this.visible&&this.$amapComponent.open(this.$amap,Object(i.d)(this.position))}},render:function(e){var t=this.$slots.default||[];return t.length&&(this.tmpVM.node=t),null}}},function(e,t,n){"use strict";var i=n(0),a=n(26),o=n(6);t.a={name:"el-amap-polyline",mixins:[i.a,a.a],props:["vid","zIndex","visible","editable","bubble","geodesic","isOutline","outlineColor","path","strokeColor","strokeOpacity","strokeWeight","strokeStyle","strokeDasharray","events","extData","onceEvents","lineJoin"],data:function(){return{converters:{},handlers:{visible:function(e){!1===e?this.hide():this.show()},editable:function(e){!0===e?this.editor.open():this.editor.close()}}}},methods:{__initComponent:function(e){this.$amapComponent=new AMap.Polyline(e),this.$amapComponent.editor=new AMap.PolyEditor(this.$amap,this.$amapComponent)},$$getPath:function(){return this.$amapComponent.getPath().map(o.b)},$$getBounds:function(){return this.$amapComponent.getBounds()},$$getExtData:function(){return this.$amapComponent.getExtData()}}}},function(e,t,n){"use strict";var i=n(0),a=n(26),o=n(6);t.a={name:"el-amap-polygon",mixins:[i.a,a.a],props:["vid","zIndex","path","bubble","strokeColor","strokeOpacity","strokeWeight","fillColor","editable","fillOpacity","extData","strokeStyle","visible","strokeDasharray","events","onceEvents","draggable"],data:function(){return{converters:{},handlers:{visible:function(e){!1===e?this.hide():this.show()},zIndex:function(e){this.setOptions({zIndex:e})},editable:function(e){!0===e?this.editor.open():this.editor.close()}}}},methods:{__initComponent:function(){var e=this.convertProps();this.$amapComponent=new AMap.Polygon(e),this.$amapComponent.editor=new AMap.PolyEditor(this.$amap,this.$amapComponent)},$$getPath:function(){return this.$amapComponent.getPath().map(o.b)},$$getExtData:function(){return this.$amapComponent.getExtData()},$$contains:function(e){return Array.isArray(e)&&(e=new AMap.LngLat(e[0],e[1])),this.$amapComponent.getBounds().contains(e)}}}},function(e,t,n){"use strict";var i=n(0),a="el-amap-text";t.a={name:a,mixins:[i.a],props:{vid:{type:String,default:""},text:{type:String,default:""},textAlign:{type:String,default:""},verticalAlign:{type:String,default:""},position:{type:Array,default:function(){return[0,0]},$type:"LngLat"},offset:{type:Array,default:function(){return[0,0]},$type:"Pixel"},topWhenClick:{type:Boolean,default:function(){return!1}},bubble:{type:Boolean,default:function(){return!1}},draggable:{type:Boolean,default:function(){return!1}},raiseOnDrag:{type:Boolean,default:function(){return!1}},cursor:{type:String,default:function(){return""}},visible:{type:Boolean,default:function(){return!0}},zIndex:{type:Number,default:function(){return 100}},angle:{type:Number,default:function(){return 0}},autoRotation:{type:Boolean,default:function(){return!1}},animation:{type:String,default:function(){return"“AMAP_ANIMATION_NONE”"}},shadow:{type:Object,default:function(){return{}},$type:"Icon"},title:{type:String,default:function(){return""}},clickable:{type:Boolean,default:!0},events:{type:Object,default:function(){return{}}}},data:function(){return{converters:{},handlers:{zIndex:function(e){this.setzIndex(e)},visible:function(e){!1===e?this.hide():this.show()}},amapTagName:a}},methods:{__initComponent:function(e){this.$amapComponent=new AMap.Text(e)}}}},function(e,t,n){"use strict";var i=n(0),a="el-amap-bezier-curve";t.a={name:a,mixins:[i.a],props:{vid:{type:String},path:{type:Array},strokeColor:{type:String},strokeOpacity:{type:Number},strokeWeight:{type:Number,default:function(){return 1}},strokeStyle:{type:String},strokeDasharray:{type:Array},zIndex:{type:Number},showDir:{type:Boolean},bubble:{type:Boolean},cursor:{type:String},outlineColor:{type:Boolean},isOutline:{type:Boolean},visible:{type:Boolean,default:!0},events:{type:Object,default:function(){return{}}}},data:function(){return{converters:{},handlers:{zIndex:function(e){this.setzIndex(e)},visible:function(e){!1===e?this.hide():this.show()}},amapTagName:a}},methods:{__initComponent:function(e){this.$amapComponent=new AMap.BezierCurve(e)}}}},function(e,t,n){"use strict";var i=n(0),a="el-amap-circle-marker";t.a={name:a,mixins:[i.a],props:{vid:{type:String},zIndex:{type:Number},visible:{type:Boolean,default:!0},center:{type:Array,$type:"LngLat"},bubble:{type:Boolean},radius:{type:Number},strokeColor:{type:String},strokeOpacity:{type:Number},strokeWeight:{type:Number},fillColor:{type:String},fillOpacity:{type:Number},extData:{type:Object},events:{type:Object,default:function(){return{}}}},data:function(){return{converters:{},handlers:{zIndex:function(e){this.setzIndex(e)},visible:function(e){!1===e?this.hide():this.show()}},amapTagName:a}},methods:{__initComponent:function(e){this.$amapComponent=new AMap.CircleMarker(e)}}}},function(e,t,n){"use strict";var i=n(0),a="el-amap-ellipse";t.a={name:a,mixins:[i.a],props:{vid:{type:String},zIndex:{type:Number},center:{type:Array,$type:"LngLat"},radius:{type:Array,default:function(){return[1e3,1e3]}},bubble:{type:Boolean},cursor:{type:String},strokeColor:{type:String},strokeOpacity:{type:Number},strokeWeight:{type:Number},fillColor:{type:String},fillOpacity:{type:Number},strokeStyle:{type:String},extData:{type:Object,default:function(){return{}}},visible:{type:Boolean,default:!0},events:{type:Object,default:function(){return{}}}},data:function(){return{converters:{},handlers:{zIndex:function(e){this.setzIndex(e)},visible:function(e){!1===e?this.hide():this.show()}},amapTagName:a}},methods:{__initComponent:function(e){this.$amapComponent=new AMap.Ellipse(e)}}}},function(e,t,n){"use strict";var i=n(0),a="el-amap-rectangle";t.a={name:a,mixins:[i.a],props:{vid:{type:String},zIndex:{type:Number},center:{type:Array,$type:"LngLat"},bounds:{type:Array,$type:"Bounds"},bubble:{type:Boolean},cursor:{type:String},strokeColor:{type:String},strokeOpacity:{type:Number},strokeWeight:{type:Number},fillColor:{type:String},fillOpacity:{type:Number},strokeStyle:{type:String},extData:{type:Object,default:function(){return{}}},visible:{type:Boolean,default:!0},events:{type:Object,default:function(){return{}}}},data:function(){return{converters:{},handlers:{zIndex:function(e){this.setzIndex(e)},visible:function(e){!1===e?this.hide():this.show()}},amapTagName:a}},methods:{__initComponent:function(e){this.$amapComponent=new AMap.Rectangle(e)}}}},function(e,t,n){e.exports=n(27)},function(e,t,n){"use strict";var i=n(66);n.n(i)},function(e,t,n){n(67),n(68),n(81),n(84),e.exports=n(16).Map},function(e,t,n){"use strict";var i=n(28),a={};a[n(2)("toStringTag")]="z",a+""!="[object z]"&&n(7)(Object.prototype,"toString",(function(){return"[object "+i(this)+"]"}),!0)},function(e,t,n){"use strict";var i=n(69)(!0);n(23)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var i=n(21),a=n(22);e.exports=function(e){return function(t,n){var o,r,s=String(a(t)),l=i(n),d=s.length;return l<0||l>=d?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===d||(r=s.charCodeAt(l+1))<56320||r>57343?e?s.charAt(l):o:e?s.slice(l,l+2):r-56320+(o-55296<<10)+65536}}},function(e,t){e.exports=!1},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var i=n(35),a=n(20),o=n(25),r={};n(8)(r,n(2)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=i(r,{next:a(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var i=n(9),a=n(10),o=n(36);e.exports=n(5)?Object.defineProperties:function(e,t){a(e);for(var n,r=o(t),s=r.length,l=0;s>l;)i.f(e,n=r[l++],t[n]);return e}},function(e,t,n){var i=n(11),a=n(18),o=n(76)(!1),r=n(24)("IE_PROTO");e.exports=function(e,t){var n,s=a(e),l=0,d=[];for(n in s)n!=r&&i(s,n)&&d.push(n);for(;t.length>l;)i(s,n=t[l++])&&(~o(d,n)||d.push(n));return d}},function(e,t,n){var i=n(29);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t,n){var i=n(18),a=n(37),o=n(77);e.exports=function(e){return function(t,n,r){var s,l=i(t),d=a(l.length),c=o(r,d);if(e&&n!=n){for(;d>c;)if((s=l[c++])!=s)return!0}else for(;d>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var i=n(21),a=Math.max,o=Math.min;e.exports=function(e,t){return(e=i(e))<0?a(e+t,0):o(e,t)}},function(e,t,n){var i=n(3).document;e.exports=i&&i.documentElement},function(e,t,n){var i=n(11),a=n(80),o=n(24)("IE_PROTO"),r=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=a(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?r:null}},function(e,t,n){var i=n(22);e.exports=function(e){return Object(i(e))}},function(e,t,n){for(var i=n(82),a=n(36),o=n(7),r=n(3),s=n(8),l=n(12),d=n(2),c=d("iterator"),u=d("toStringTag"),m=l.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=a(f),p=0;p<h.length;p++){var _,g=h[p],y=f[g],b=r[g],v=b&&b.prototype;if(v&&(v[c]||s(v,c,m),v[u]||s(v,u,g),l[g]=m,y))for(_ in i)v[_]||o(v,_,i[_],!0)}},function(e,t,n){"use strict";var i=n(83),a=n(39),o=n(12),r=n(18);e.exports=n(23)(Array,"Array",(function(e,t){this._t=r(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,a(1)):a(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,n){var i=n(2)("unscopables"),a=Array.prototype;null==a[i]&&n(8)(a,i,{}),e.exports=function(e){a[i][e]=!0}},function(e,t,n){"use strict";var i=n(85),a=n(44);e.exports=n(90)("Map",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(e){var t=i.getEntry(a(this,"Map"),e);return t&&t.v},set:function(e,t){return i.def(a(this,"Map"),0===e?0:e,t)}},i,!0)},function(e,t,n){"use strict";var i=n(9).f,a=n(35),o=n(40),r=n(17),s=n(41),l=n(42),d=n(23),c=n(39),u=n(89),m=n(5),f=n(43).fastKey,h=n(44),p=m?"_s":"size",_=function(e,t){var n,i=f(t);if("F"!==i)return e._i[i];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,d){var c=e((function(e,i){s(e,c,t,"_i"),e._t=t,e._i=a(null),e._f=void 0,e._l=void 0,e[p]=0,null!=i&&l(i,n,e[d],e)}));return o(c.prototype,{clear:function(){for(var e=h(this,t),n=e._i,i=e._f;i;i=i.n)i.r=!0,i.p&&(i.p=i.p.n=void 0),delete n[i.i];e._f=e._l=void 0,e[p]=0},delete:function(e){var n=h(this,t),i=_(n,e);if(i){var a=i.n,o=i.p;delete n._i[i.i],i.r=!0,o&&(o.n=a),a&&(a.p=o),n._f==i&&(n._f=a),n._l==i&&(n._l=o),n[p]--}return!!i},forEach:function(e){h(this,t);for(var n,i=r(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(i(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!_(h(this,t),e)}}),m&&i(c.prototype,"size",{get:function(){return h(this,t)[p]}}),c},def:function(e,t,n){var i,a,o=_(e,t);return o?o.v=n:(e._l=o={i:a=f(t,!0),k:t,v:n,p:i=e._l,n:void 0,r:!1},e._f||(e._f=o),i&&(i.n=o),e[p]++,"F"!==a&&(e._i[a]=o)),e},getEntry:_,setStrong:function(e,t,n){d(e,t,(function(e,n){this._t=h(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?c(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(e._t=void 0,c(1))}),n?"entries":"values",!n,!0),u(t)}}},function(e,t,n){var i=n(10);e.exports=function(e,t,n,a){try{return a?t(i(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&i(o.call(e)),t}}},function(e,t,n){var i=n(12),a=n(2)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[a]===e)}},function(e,t,n){var i=n(28),a=n(2)("iterator"),o=n(12);e.exports=n(16).getIteratorMethod=function(e){if(null!=e)return e[a]||e["@@iterator"]||o[i(e)]}},function(e,t,n){"use strict";var i=n(3),a=n(9),o=n(5),r=n(2)("species");e.exports=function(e){var t=i[e];o&&t&&!t[r]&&a.f(t,r,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var i=n(3),a=n(34),o=n(7),r=n(40),s=n(43),l=n(42),d=n(41),c=n(4),u=n(15),m=n(91),f=n(25),h=n(92);e.exports=function(e,t,n,p,_,g){var y=i[e],b=y,v=_?"set":"add",w=b&&b.prototype,M={},k=function(e){var t=w[e];o(w,e,"delete"==e||"has"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!c(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof b&&(g||w.forEach&&!u((function(){(new b).entries().next()})))){var L=new b,S=L[v](g?{}:-0,1)!=L,x=u((function(){L.has(1)})),D=m((function(e){new b(e)})),C=!g&&u((function(){for(var e=new b,t=5;t--;)e[v](t,t);return!e.has(-0)}));D||(b=t((function(t,n){d(t,b,e);var i=h(new y,t,b);return null!=n&&l(n,_,i[v],i),i})),b.prototype=w,w.constructor=b),(x||C)&&(k("delete"),k("has"),_&&k("get")),(C||S)&&k(v),g&&w.clear&&delete w.clear}else b=p.getConstructor(t,e,_,v),r(b.prototype,n),s.NEED=!0;return f(b,e),M[e]=b,a(a.G+a.W+a.F*(b!=y),M),g||p.setStrong(b,e,_),b}},function(e,t,n){var i=n(2)("iterator"),a=!1;try{var o=[7][i]();o.return=function(){a=!0},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var o=[7],r=o[i]();r.next=function(){return{done:n=!0}},o[i]=function(){return r},e(o)}catch(e){}return n}},function(e,t,n){var i=n(4),a=n(93).set;e.exports=function(e,t,n){var o,r=t.constructor;return r!==n&&"function"==typeof r&&(o=r.prototype)!==n.prototype&&i(o)&&a&&a(e,o),e}},function(e,t,n){var i=n(4),a=n(10),o=function(e,t){if(a(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{(i=n(17)(Function.call,n(94).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:o}},function(e,t,n){var i=n(95),a=n(20),o=n(18),r=n(33),s=n(11),l=n(31),d=Object.getOwnPropertyDescriptor;t.f=n(5)?d:function(e,t){if(e=o(e),t=r(t,!0),l)try{return d(e,t)}catch(e){}if(s(e,t))return a(!i.f.call(e,t),e[t])}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";e.exports=function(){var e=[].map.call(arguments,(function(e){return e.trim()})).filter((function(e){return e.length})).join("-");return e.length?1!==e.length&&/[_.\- ]+/.test(e)?e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(function(e,t){return t.toUpperCase()})):e[0]===e[0].toLowerCase()&&e.slice(1)!==e.slice(1).toLowerCase()?e:e.toLowerCase():""}},function(e,t,n){"use strict";var i=n(98),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o={key:null,v:"1.4.4",protocol:"https",hostAndPath:"webapi.amap.com/maps",plugin:[],callback:"amapInitComponent"},r=function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this._config=a({},o,t),this._document=document,this._window=window,this._scriptLoaded=!1,this._queueEvents=[i.a]}return e.prototype.load=function(){var e=this;if(this._window.AMap&&this._window.AMap.Map)return this.loadUIAMap();if(this._scriptLoadingPromise)return this._scriptLoadingPromise;var t=this._document.createElement("script");t.type="text/javascript",t.async=!0,t.defer=!0,t.src=this._getScriptSrc();var n=this._config.uiVersion?this.loadUIAMap():null;return this._scriptLoadingPromise=new Promise((function(i,a){e._window.amapInitComponent=function(){for(;e._queueEvents.length;)e._queueEvents.pop().apply();if(!n)return i();n.then((function(){window.initAMapUI(),setTimeout(i)}))},t.onerror=function(e){return a(e)}})),this._document.head.appendChild(t),this._scriptLoadingPromise},e.prototype.loadUIAMap=function(){var e=this;return!this._config.uiVersion||window.AMapUI?Promise.resolve():new Promise((function(t,n){var i=document.createElement("script"),a=e._config.uiVersion.split("."),o=a[0],r=a[1],s=a[2];if(void 0!==o&&void 0!==r){var l=e._config.protocol+"://webapi.amap.com/ui/"+o+"."+r+"/main-async.js";s&&(l+="?v="+o+"."+r+"."+s),i.src=l,i.type="text/javascript",i.async=!0,e._document.head.appendChild(i),i.onload=function(){setTimeout(t,0)},i.onerror=function(){return n()}}else console.error("amap ui version is not correct, please check! version: ",e._config.uiVersion)}))},e.prototype._getScriptSrc=function(){var e=/^AMap./,t=this._config,n=["v","key","plugin","callback"];if(t.plugin&&t.plugin.length>0){t.plugin.push("Autocomplete","PlaceSearch","PolyEditor","CircleEditor");var i=[];t.plugin.forEach((function(t){var n=e.test(t)?t:"AMap."+t,a=n.replace(e,"");i.push(n,a)})),t.plugin=i}var a=Object.keys(t).filter((function(e){return~n.indexOf(e)})).filter((function(e){return null!=t[e]})).filter((function(e){return!Array.isArray(t[e])||Array.isArray(t[e])&&t[e].length>0})).map((function(e){var n=t[e];return Array.isArray(n)?{key:e,value:n.join(",")}:{key:e,value:n}})).map((function(e){return e.key+"="+e.value})).join("&");return this._config.protocol+"://"+this._config.hostAndPath+"?"+a},e}();t.a=r},function(e,t,n){"use strict";t.a=function(){if(AMap.UA.ios&&"https:"!==document.location.protocol){var e=new i.a;navigator.geolocation.getCurrentPosition=function(){return e.getCurrentPosition.apply(e,arguments)},navigator.geolocation.watchPosition=function(){return e.watchPosition.apply(e,arguments)}}};var i=n(99)},function(e,t,n){"use strict";function i(){this._remoteSvrUrl="https://webapi.amap.com/html/geolocate.html",this._callbackList=[],this._seqBase=1,this._frameReady=0,this._watchIdMap={}}i.prototype={_getSeq:function(){return this._seqBase++},_onRrameReady:function(e){if(0===this._frameReady)return this._frameReadyList||(this._frameReadyList=[]),this._frameReadyList.push(e),void this._prepareIframe();e.call(this)},_prepareIframe:function(){if(!this._iframeWin){var e=document.createElement("iframe");e.src=this._remoteSvrUrl+(this._remoteSvrUrl.indexOf("?")>0?"&":"?"),e.width="0px",e.height="0px",e.style.position="absolute",e.style.display="none",e.allow="geolocation";var t=this,n=setTimeout((function(){t._frameReady=!1,t._callbackFrameReadyList()}),5e3);e.onload=function(){clearTimeout(n),t._frameReady=!0,t._callbackFrameReadyList(),e.onload=null},document.body.appendChild(e),this._iframeWin=e.contentWindow,window.addEventListener("message",(function(e){0===t._remoteSvrUrl.indexOf(e.origin)&&t._handleRemoteMsg(e.data)}),!1)}},_callbackFrameReadyList:function(){if(this._frameReadyList){var e=this._frameReadyList;this._frameReadyList=null;for(var t=0,n=e.length;t<n;t++)e[t].call(this,this._frameReady)}},_pickCallback:function(e,t){for(var n=this._callbackList,i=0,a=n.length;i<a;i++){var o=n[i];if(e===o.seq)return t||n.splice(i,1),o}},_handleRemoteMsg:function(e){var t=e.seq,n=this._pickCallback(t,!!e.notify);n?n.cbk.call(null,e.error,e.result):console.warn("Receive remote msg: ",e)},_postMessage:function(e,t,n,i){this._prepareIframe();var a={cmd:e,args:t,seq:i||this._getSeq()};this._callbackList.push({cbk:n,seq:a.seq}),this._onRrameReady((function(){if(!0===this._frameReady)try{this._iframeWin.postMessage(a,"*")}catch(e){this._pickCallback(a.seq),n(e)}else this._pickCallback(a.seq),n({message:"iFrame load failed!"})}))},getCurrentPosition:function(e,t,n){this._postMessage("getCurrentPosition",[n],(function(n,i){n?t&&t(n):e&&e(i)}))},watchPosition:function(e,t,n){var i="wk"+this._getSeq(),a=this._getSeq();this._watchIdMap[i]={stat:0,seq:a};var o=this;return this._postMessage("watchPosition",[n],(function(n,a){var r=null;a&&(r=a.id);var s=o._watchIdMap[i];if(s.id=r,s.stat=1,s.callbackList){var l=s.callbackList;s.callbackList=null;for(var d=0,c=l.length;d<c;d++)l[d].call(o,r)}n?t&&t(n):e&&e(a.pos)}),a),i},clearWatch:function(e,t){function n(n){a._postMessage("clearWatch",[n],(function(n,o){n||(a._pickCallback(i.seq),delete a._watchIdMap[e]),t&&t(n,o)}))}if(this._watchIdMap[e]){var i=this._watchIdMap[e],a=this;i.stat<1?(i.callbackList||(i.callbackList=[]),i.callbackList.push((function(e){n(e)}))):n(i.id)}else t("Id not exists: "+e)}},t.a=i},function(e,t,n){"use strict";var i=n(48),a=n(105),o=n(1),r=function(e){n(101)},s=Object(o.a)(i.a,a.a,a.b,!1,r,null,null);t.a=s.exports},function(e,t,n){var i=n(102);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),n(47)("d6014b94",i,!0)},function(e,t,n){(e.exports=n(46)(!1)).push([e.i,".el-vue-amap-container,.el-vue-amap-container .el-vue-amap{height:100%}",""])},function(e,t){e.exports=function(e,t){for(var n=[],i={},a=0;a<t.length;a++){var o=t[a],r=o[0],s={id:e+":"+a,css:o[1],media:o[2],sourceMap:o[3]};i[r]?i[r].parts.push(s):n.push(i[r]={id:r,parts:[s]})}return n}},function(e,t,n){"use strict";t.a=function(){for(var e=[],t="0123456789abcdef",n=0;n<36;n++)e[n]=t.substr(Math.floor(16*Math.random()),1);return e[14]="4",e[19]=t.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-",e.join("")}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-vue-amap-container"},[n("div",{staticClass:"el-vue-amap"}),e._v(" "),e._t("default")],2)},a=[]},function(e,t,n){"use strict";var i=n(51),a=n(1),o=Object(a.a)(i.a,void 0,void 0,!1,null,null,null);t.a=o.exports},function(e,t,n){"use strict";var i=n(53),a=n(110),o=n(1),r=function(e){n(108)},s=Object(o.a)(i.a,a.a,a.b,!1,r,null,null);t.a=s.exports},function(e,t,n){var i=n(109);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),n(47)("80e271aa",i,!0)},function(e,t,n){(e.exports=n(46)(!1)).push([e.i,".el-vue-search-box-container{position:relative;width:360px;height:45px;background:#fff;box-shadow:0 2px 2px rgba(0,0,0,.15);border-radius:2px 3px 3px 2px;z-index:10}.el-vue-search-box-container .search-box-wrapper{position:absolute;display:flex;align-items:center;left:0;top:0;width:100%;height:100%;box-sizing:border-box}.el-vue-search-box-container .search-box-wrapper input{flex:1;height:20px;line-height:20px;letter-spacing:.5px;font-size:14px;text-indent:10px;box-sizing:border-box;border:none;outline:none}.el-vue-search-box-container .search-box-wrapper .search-btn{width:45px;height:100%;display:flex;align-items:center;justify-content:center;background:transparent;cursor:pointer}.el-vue-search-box-container .search-tips{position:absolute;top:100%;border:1px solid #dbdbdb;background:#fff;overflow:auto}.el-vue-search-box-container .search-tips ul{padding:0;margin:0}.el-vue-search-box-container .search-tips ul li{height:40px;line-height:40px;box-shadow:0 1px 1px rgba(0,0,0,.1);padding:0 10px;cursor:pointer}.el-vue-search-box-container .search-tips ul li.autocomplete-selected{background:#eee}",""])},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-vue-search-box-container",on:{keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;e.selectTip("up")},function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;e.selectTip("down")}]}},[n("div",{staticClass:"search-box-wrapper"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.keyword,expression:"keyword"}],attrs:{type:"text"},domProps:{value:e.keyword},on:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.search(t):null},input:[function(t){t.target.composing||(e.keyword=t.target.value)},e.autoComplete]}}),e._v(" "),n("span",{staticClass:"search-btn",on:{click:e.search}},[e._v("搜索")])]),e._v(" "),n("div",{staticClass:"search-tips"},[n("ul",e._l(e.tips,(function(t,i){return n("li",{key:i,class:{"autocomplete-selected":i===e.selectedTip},on:{click:function(n){e.changeTip(t)},mouseover:function(t){e.selectedTip=i}}},[e._v(e._s(t.name))])})))])])},a=[]},function(e,t,n){"use strict";var i=n(54),a=n(112),o=n(1),r=Object(o.a)(i.a,a.a,a.b,!1,null,null,null);t.a=r.exports},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this.$createElement;return(this._self._c||e)("div")},a=[]},function(e,t,n){"use strict";var i=n(55),a=n(114),o=n(1),r=Object(o.a)(i.a,a.a,a.b,!1,null,null,null);t.a=r.exports},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this.$createElement;return(this._self._c||e)("div")},a=[]},function(e,t,n){"use strict";var i=n(56),a=n(1),o=Object(a.a)(i.a,void 0,void 0,!1,null,null,null);t.a=o.exports},function(e,t,n){"use strict";var i=n(57),a=n(117),o=n(1),r=Object(o.a)(i.a,a.a,a.b,!1,null,null,null);t.a=r.exports},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this.$createElement;return(this._self._c||e)("div")},a=[]},function(e,t,n){"use strict";var i=n(58),a=n(119),o=n(1),r=Object(o.a)(i.a,a.a,a.b,!1,null,null,null);t.a=r.exports},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this.$createElement;return(this._self._c||e)("div")},a=[]},function(e,t,n){"use strict";var i=n(59),a=n(121),o=n(1),r=Object(o.a)(i.a,a.a,a.b,!1,null,null,null);t.a=r.exports},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this.$createElement;return(this._self._c||e)("div")},a=[]},function(e,t,n){"use strict";var i=n(60),a=n(123),o=n(1),r=Object(o.a)(i.a,a.a,a.b,!1,null,null,null);t.a=r.exports},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this.$createElement;return(this._self._c||e)("div")},a=[]},function(e,t,n){"use strict";var i=n(61),a=n(125),o=n(1),r=Object(o.a)(i.a,a.a,a.b,!1,null,null,null);t.a=r.exports},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this.$createElement;return(this._self._c||e)("div")},a=[]},function(e,t,n){"use strict";var i=n(62),a=n(127),o=n(1),r=Object(o.a)(i.a,a.a,a.b,!1,null,null,null);t.a=r.exports},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this.$createElement;return(this._self._c||e)("div")},a=[]},function(e,t,n){"use strict";var i=n(63),a=n(129),o=n(1),r=Object(o.a)(i.a,a.a,a.b,!1,null,null,null);t.a=r.exports},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this.$createElement;return(this._self._c||e)("div")},a=[]},function(e,t,n){"use strict";var i=function(){function e(){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this._componentMap=new Map,this._map=null}return e.prototype.setMap=function(e){this._map=e},e.prototype.getMap=function(){return this._map},e.prototype.setComponent=function(e,t){this._componentMap.set(e,t)},e.prototype.getComponent=function(e){return this._componentMap.get(e)},e.prototype.getChildInstance=function(e){return this.getComponent(e)},e.prototype.removeComponent=function(e){this._componentMap.delete(e)},e}();t.a=i},function(e,t,n){"use strict";var i=n(0),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};t.a=function(e){var t=e.init,n=e.data,o=void 0===n?function(){return{}}:n,r=e.converters,s=void 0===r?{}:r,l=e.handlers,d=void 0===l?{}:l,c=e.computed,u=e.methods,m=e.name,f=e.render,h=e.contextReady,p=e.template,_=e.mixins,g=void 0===_?[]:_,y=e.props,b=a({},e,{props:void 0===y?{}:y,data:function(){return a({},o(),{converters:s,handlers:d})},mixins:[i.a].concat(g),computed:c,methods:a({},u,{__initComponent:t,__contextReady:h})});return p||f||(b.render=function(){return null}),b.install=function(e){return e.use(m,b)},b}}]))},968:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314);n.n(o)()(a()).push([e.id,".bpm-default-input {\n max-width: 100%;\n overflow: hidden;\n}\n.bpm-default-input .material-icons {\n width: 26px;\n display: inline-block;\n margin-right: 8px;\n}\n.bpm-default-input .q-if-inner {\n padding-right: 22px;\n}\n",""])},1011:function(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n(5093))},1025:function(e,t,n){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(5093))},1052:function(e,t,n){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,i,a){var o=function(e){var n=Math.floor(e%1e3/100),i=Math.floor(e%100/10),a=e%10,o="";return n>0&&(o+=t[n]+"vatlh"),i>0&&(o+=(""!==o?" ":"")+t[i]+"maH"),a>0&&(o+=(""!==o?" ":"")+t[a]),""===o?"pagh":o}(e);switch(i){case"ss":return o+" lup";case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},1099:function(e,t,n){"use strict";Object.defineProperty(t,"B",{value:!0});var i,a=n(7049),o=(i=n(4169))&&i.__esModule?i:{default:i},r={bounds:{type:Object},defaultPlace:{type:String,default:""},componentRestrictions:{type:Object,default:null},types:{type:Array,default:function(){return[]}},placeholder:{required:!1,type:String},className:{required:!1,type:String},label:{required:!1,type:String,default:null},selectFirstOnEnter:{require:!1,type:Boolean,default:!1}};t.A={mounted:function(){var e=this,t=this.$refs.input;t.value=this.defaultPlace,this.$watch("defaultPlace",(function(){t.value=e.defaultPlace})),this.$gmapApiPromiseLazy().then((function(){var t=(0,a.getPropsValues)(e,r);if(e.selectFirstOnEnter&&(0,o.default)(e.$refs.input),"function"!=typeof google.maps.places.Autocomplete)throw new Error("google.maps.places.Autocomplete is undefined. Did you add 'places' to libraries when loading Google Maps?");e.autoCompleter=new google.maps.places.Autocomplete(e.$refs.input,t);var n=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}(r,["placeholder","place","defaultPlace","className","label","selectFirstOnEnter"]);(0,a.bindProps)(e,e.autoCompleter,n),e.autoCompleter.addListener("place_changed",(function(){e.$emit("place_changed",e.autoCompleter.getPlace())}))}))},created:function(){console.warn("The PlaceInput class is deprecated! Please consider using the Autocomplete input instead")},props:r}},1113:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},1135:function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(5093))},1138:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return k}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-text",attrs:{value:e.curVal,fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType,dm:e.dm},on:{change:e.handleChange}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-text-edit",staticStyle:{position:"relative"}},["SerialNumber"!==e.type||e.dm?[n("el-input",e._b({ref:"component",attrs:{placeholder:e.placeholder,type:e.inputType,rows:2},on:{input:e.inputCurVal,change:e.changeCurVal},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"el-input",e.$attrs,!1)),e._v(" "),e.prefabWords&&e.prefabWords.length&&"table"!=e.uiType?n("div",{staticClass:"prefab-words"},[n("div",[e._v(e._s(e.$z("快捷输入","b2.common.quick_input")))]),e._v(" "),n("ul",e._l(e.prefabWords,(function(t,i){return n("li",{key:""+i,class:e.selectWord==t?"active":"",on:{click:function(n){return e.handleAddWord(t)}}},[n("span",[e._v(e._s(t))])])})),0)]):e._e()]:n("span",[e._v(e._s(e.$z("自动流水号","b2.common.auto_num")))])],2)};a._withStripped=!0;var o=n(6773),r=n.n(o),s=n(5554),l=n.n(s),d=n(7642);l().use(d.Input);var c={data(){return{selectWord:"",curVal:""}},props:["type","value","fieldConf","row","uiType","dm"],watch:{value(){this.curVal=this.value}},computed:{placeholder(){return this.fieldConf.desc||this.fieldConf.name},prefabWords(){return r().get(this.fieldConf,"prefab_words",[])},inputType(){return"TextArea"===this.fieldConf.type?"textarea":"text"}},methods:{changeCurVal(e){this.$emit("change",e)},inputCurVal(e){this._debounceFun(e,this)},_debounceFun:r().debounce((async(e,t)=>{t.$emit("input",e)}),1e3,{leading:!1,trailing:!0}),async handleAddWord(e){if(this.selectWord=e,this.curVal){let t=this.$refs.component.$refs.textarea;t||(t=this.$refs.component.$refs.text);let n=t.selectionStart,i=t.selectionEnd,a=this.curVal,o=a.substring(0,n)+e+a.substring(i,a.length);this.curVal=o,await this.$nextTick(),t.focus(),t.setSelectionRange(n+e.length,n+e.length)}else this.curVal=e;this.selectWord=""}},mounted(){this.curVal=this.value}},u=n(4486),m=(0,u.A)(c,a,[],!1,null,null,null);m.options.__file="components/lib/bpmText/src/part/editor.vue";var f=m.exports,h=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"bpm-text-view",class:e.uiType+"-text-view "+e.fieldConf.type+"-view",attrs:{title:e._value}},["table"==e.uiType?[e.is_trim?[n("el-popover",{attrs:{placement:"top-start",title:"",width:"300","popper-class":"bpm-text-popper",trigger:"hover",content:e._value}},[n("span",{attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(e._value))])])]:[e._v(e._s(e._value&&0!==e._value?e._value:"--"))]]:[e._v(e._s(e._value&&0!==e._value?e._value:"--"))]],2)};h._withStripped=!0;var p={data(){return{show_value:"",is_trim:!1}},props:["value","fieldConf","row","uiType"],computed:{_value(){let e=r().get(this.row,this.fieldConf.id)||this.value;return"string"==typeof e&&(e=e.trim()),console.log("typeof val",typeof e),"object"==typeof e&&(e=this.show_value?this.show_value:e.join(" ")),e}},watch:{value(e){e&&r().isString(e)&&e.length>100?(this.is_trim=!0,this.show_value=e.slice(0,100)+"..."):(this.show_value=e,this.is_trim=!1)}}},_=(0,u.A)(p,h,[],!1,null,null,null);_.options.__file="components/lib/mixins/TextReader.vue";var g={mixins:[_.exports]},y=(0,u.A)(g,void 0,void 0,!1,null,null,null);y.options.__file="components/lib/bpmText/src/part/reader.vue";var b=y.exports,v={name:"BpmText",components:{editorComponent:f,readerComponent:b},props:{value:{type:String},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},dm:Boolean},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?b:f}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},w=(n(2172),(0,u.A)(v,i,[],!1,null,"9e58c8e8",null));w.options.__file="components/lib/bpmText/src/main.vue";var M=w.exports;M.install=function(e){e.component(M.name,M)};var k=M},1163:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9029),a={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxItems"===e?"more":"fewer";return i.str`must NOT have ${n} than ${t} items`},params:({schemaCode:e})=>i._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:a}=e,o="maxItems"===t?i.operators.GT:i.operators.LT;e.fail$data(i._`${n}.length ${o} ${a}`)}};t.default=a},1221:function(e,t,n){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(5093))},1239:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9029),a=n(4227),o={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>i.str`must match "${e.ifClause}" schema`,params:({params:e})=>i._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:n,it:o}=e;void 0===n.then&&void 0===n.else&&(0,a.checkStrictMode)(o,'"if" without "then" and "else" is ignored');const s=r(o,"then"),l=r(o,"else");if(!s&&!l)return;const d=t.let("valid",!0),c=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},c);e.mergeEvaluated(t)}(),e.reset(),s&&l){const n=t.let("ifClause");e.setParams({ifClause:n}),t.if(c,u("then",n),u("else",n))}else s?t.if(c,u("then")):t.if((0,i.not)(c),u("else"));function u(n,a){return()=>{const o=e.subschema({keyword:n},c);t.assign(d,c),e.mergeValidEvaluated(o,d),a?t.assign(a,i._`${n}`):e.setParams({ifClause:n})}}e.pass(d,(()=>e.error(!0)))}};function r(e,t){const n=e.schema[t];return void 0!==n&&!(0,a.alwaysValidSchema)(e,n)}t.default=o},1243:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o),s=n(6245),l=r()(a());l.i(s.A),l.push([e.id,"\n",""]),t.A=l},1290:function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(5093))},1335:function(e,t){var i;(function(){var a=function(e){return e instanceof a?e:this instanceof a?void(this.EXIFwrapped=e):new a(e)};e.exports&&(t=e.exports=a),t.EXIF=a;var o=a.Tags={36864:"ExifVersion",40960:"FlashpixVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",37121:"ComponentsConfiguration",37122:"CompressedBitsPerPixel",37500:"MakerNote",37510:"UserComment",40964:"RelatedSoundFile",36867:"DateTimeOriginal",36868:"DateTimeDigitized",37520:"SubsecTime",37521:"SubsecTimeOriginal",37522:"SubsecTimeDigitized",33434:"ExposureTime",33437:"FNumber",34850:"ExposureProgram",34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:"OECF",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",37380:"ExposureBias",37381:"MaxApertureValue",37382:"SubjectDistance",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37396:"SubjectArea",37386:"FocalLength",41483:"FlashEnergy",41484:"SpatialFrequencyResponse",41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:"FocalPlaneResolutionUnit",41492:"SubjectLocation",41493:"ExposureIndex",41495:"SensingMethod",41728:"FileSource",41729:"SceneType",41730:"CFAPattern",41985:"CustomRendered",41986:"ExposureMode",41987:"WhiteBalance",41988:"DigitalZoomRation",41989:"FocalLengthIn35mmFilm",41990:"SceneCaptureType",41991:"GainControl",41992:"Contrast",41993:"Saturation",41994:"Sharpness",41995:"DeviceSettingDescription",41996:"SubjectDistanceRange",40965:"InteroperabilityIFDPointer",42016:"ImageUniqueID"},r=a.TiffTags={256:"ImageWidth",257:"ImageHeight",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer",40965:"InteroperabilityIFDPointer",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",274:"Orientation",277:"SamplesPerPixel",284:"PlanarConfiguration",530:"YCbCrSubSampling",531:"YCbCrPositioning",282:"XResolution",283:"YResolution",296:"ResolutionUnit",273:"StripOffsets",278:"RowsPerStrip",279:"StripByteCounts",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",301:"TransferFunction",318:"WhitePoint",319:"PrimaryChromaticities",529:"YCbCrCoefficients",532:"ReferenceBlackWhite",306:"DateTime",270:"ImageDescription",271:"Make",272:"Model",305:"Software",315:"Artist",33432:"Copyright"},s=a.GPSTags={0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude",5:"GPSAltitudeRef",6:"GPSAltitude",7:"GPSTimeStamp",8:"GPSSatellites",9:"GPSStatus",10:"GPSMeasureMode",11:"GPSDOP",12:"GPSSpeedRef",13:"GPSSpeed",14:"GPSTrackRef",15:"GPSTrack",16:"GPSImgDirectionRef",17:"GPSImgDirection",18:"GPSMapDatum",19:"GPSDestLatitudeRef",20:"GPSDestLatitude",21:"GPSDestLongitudeRef",22:"GPSDestLongitude",23:"GPSDestBearingRef",24:"GPSDestBearing",25:"GPSDestDistanceRef",26:"GPSDestDistance",27:"GPSProcessingMethod",28:"GPSAreaInformation",29:"GPSDateStamp",30:"GPSDifferential"},l=a.IFD1Tags={256:"ImageWidth",257:"ImageHeight",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",273:"StripOffsets",274:"Orientation",277:"SamplesPerPixel",278:"RowsPerStrip",279:"StripByteCounts",282:"XResolution",283:"YResolution",284:"PlanarConfiguration",296:"ResolutionUnit",513:"JpegIFOffset",514:"JpegIFByteCount",529:"YCbCrCoefficients",530:"YCbCrSubSampling",531:"YCbCrPositioning",532:"ReferenceBlackWhite"},d=a.StringValues={ExposureProgram:{0:"Not defined",1:"Manual",2:"Normal program",3:"Aperture priority",4:"Shutter priority",5:"Creative program",6:"Action program",7:"Portrait mode",8:"Landscape mode"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{0:"Unknown",1:"Daylight",2:"Fluorescent",3:"Tungsten (incandescent light)",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 - 5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},SensingMethod:{1:"Not defined",2:"One-chip color area sensor",3:"Two-chip color area sensor",4:"Three-chip color area sensor",5:"Color sequential area sensor",7:"Trilinear sensor",8:"Color sequential linear sensor"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},SceneType:{1:"Directly photographed"},CustomRendered:{0:"Normal process",1:"Custom process"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},GainControl:{0:"None",1:"Low gain up",2:"High gain up",3:"Low gain down",4:"High gain down"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},SubjectDistanceRange:{0:"Unknown",1:"Macro",2:"Close view",3:"Distant view"},FileSource:{3:"DSC"},Components:{0:"",1:"Y",2:"Cb",3:"Cr",4:"R",5:"G",6:"B"}};function c(e){return!!e.exifdata}function u(e,t){function n(n){var i=m(n);e.exifdata=i||{};var o=function(e){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;for(var n=2,i=e.byteLength,a=function(e,t){return 56===e.getUint8(t)&&66===e.getUint8(t+1)&&73===e.getUint8(t+2)&&77===e.getUint8(t+3)&&4===e.getUint8(t+4)&&4===e.getUint8(t+5)};n<i;){if(a(t,n)){var o=t.getUint8(n+7);return o%2!=0&&(o+=1),0===o&&(o=4),h(e,n+8+o,t.getUint16(n+6+o))}n++}}(n);if(e.iptcdata=o||{},a.isXmpEnabled){var r=function(e){if("DOMParser"in self){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;for(var n=2,i=e.byteLength,a=new DOMParser;n<i-4;){if("http"==g(t,n,4)){var o=n-1,r=t.getUint16(n-2)-1,s=g(t,o,r),l=s.indexOf("xmpmeta>")+8,d=(s=s.substring(s.indexOf("<x:xmpmeta"),l)).indexOf("x:xmpmeta")+10;return s=s.slice(0,d)+'xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tiff="http://ns.adobe.com/tiff/1.0/" xmlns:plus="http://schemas.android.com/apk/lib/com.google.android.gms.plus" xmlns:ext="http://www.gettyimages.com/xsltExtension/1.0" xmlns:exif="http://ns.adobe.com/exif/1.0/" xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#" xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/" xmlns:xapGImg="http://ns.adobe.com/xap/1.0/g/img/" xmlns:Iptc4xmpExt="http://iptc.org/std/Iptc4xmpExt/2008-02-29/" '+s.slice(d),v(a.parseFromString(s,"text/xml"))}n++}}}(n);e.xmpdata=r||{}}t&&t.call(e)}if(e.src)if(/^data\:/i.test(e.src))n(function(e,t){t=t||e.match(/^data\:([^\;]+)\;base64,/im)[1]||"",e=e.replace(/^data\:([^\;]+)\;base64,/gim,"");for(var n=atob(e),i=n.length,a=new ArrayBuffer(i),o=new Uint8Array(a),r=0;r<i;r++)o[r]=n.charCodeAt(r);return a}(e.src));else if(/^blob\:/i.test(e.src))(o=new FileReader).onload=function(e){n(e.target.result)},function(e){var t=new XMLHttpRequest;t.open("GET",e,!0),t.responseType="blob",t.onload=function(e){var t;200!=this.status&&0!==this.status||(t=this.response,o.readAsArrayBuffer(t))},t.send()}(e.src);else{var i=new XMLHttpRequest;i.onload=function(){if(200!=this.status&&0!==this.status)throw"Could not load image";n(i.response),i=null},i.open("GET",e.src,!0),i.responseType="arraybuffer",i.send(null)}else if(self.FileReader&&(e instanceof self.Blob||e instanceof self.File)){var o;(o=new FileReader).onload=function(e){n(e.target.result)},o.readAsArrayBuffer(e)}}function m(e){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;for(var n=2,i=e.byteLength;n<i;){if(255!=t.getUint8(n))return!1;if(225==t.getUint8(n+1))return y(t,n+4,t.getUint16(n+2));n+=2+t.getUint16(n+2)}}var f={120:"caption",110:"credit",25:"keywords",55:"dateCreated",80:"byline",85:"bylineTitle",122:"captionWriter",105:"headline",116:"copyright",15:"category"};function h(e,t,n){for(var i,a,o,r,s=new DataView(e),l={},d=t;d<t+n;)28===s.getUint8(d)&&2===s.getUint8(d+1)&&(r=s.getUint8(d+2))in f&&(o=s.getInt16(d+3),a=f[r],i=g(s,d+5,o),l.hasOwnProperty(a)?l[a]instanceof Array?l[a].push(i):l[a]=[l[a],i]:l[a]=i),d++;return l}function p(e,t,n,i,a){var o,r,s=e.getUint16(n,!a),l={};for(r=0;r<s;r++)o=n+12*r+2,l[i[e.getUint16(o,!a)]]=_(e,o,t,0,a);return l}function _(e,t,n,i,a){var o,r,s,l,d,c,u=e.getUint16(t+2,!a),m=e.getUint32(t+4,!a),f=e.getUint32(t+8,!a)+n;switch(u){case 1:case 7:if(1==m)return e.getUint8(t+8,!a);for(o=m>4?f:t+8,r=[],l=0;l<m;l++)r[l]=e.getUint8(o+l);return r;case 2:return g(e,o=m>4?f:t+8,m-1);case 3:if(1==m)return e.getUint16(t+8,!a);for(o=m>2?f:t+8,r=[],l=0;l<m;l++)r[l]=e.getUint16(o+2*l,!a);return r;case 4:if(1==m)return e.getUint32(t+8,!a);for(r=[],l=0;l<m;l++)r[l]=e.getUint32(f+4*l,!a);return r;case 5:if(1==m)return d=e.getUint32(f,!a),c=e.getUint32(f+4,!a),(s=new Number(d/c)).numerator=d,s.denominator=c,s;for(r=[],l=0;l<m;l++)d=e.getUint32(f+8*l,!a),c=e.getUint32(f+4+8*l,!a),r[l]=new Number(d/c),r[l].numerator=d,r[l].denominator=c;return r;case 9:if(1==m)return e.getInt32(t+8,!a);for(r=[],l=0;l<m;l++)r[l]=e.getInt32(f+4*l,!a);return r;case 10:if(1==m)return e.getInt32(f,!a)/e.getInt32(f+4,!a);for(r=[],l=0;l<m;l++)r[l]=e.getInt32(f+8*l,!a)/e.getInt32(f+4+8*l,!a);return r}}function g(e,t,i){var a="";for(n=t;n<t+i;n++)a+=String.fromCharCode(e.getUint8(n));return a}function y(e,t){if("Exif"!=g(e,t,4))return!1;var n,i,a,c,u,m=t+6;if(18761==e.getUint16(m))n=!1;else{if(19789!=e.getUint16(m))return!1;n=!0}if(42!=e.getUint16(m+2,!n))return!1;var f=e.getUint32(m+4,!n);if(f<8)return!1;if((i=p(e,m,m+f,r,n)).ExifIFDPointer)for(a in c=p(e,m,m+i.ExifIFDPointer,o,n)){switch(a){case"LightSource":case"Flash":case"MeteringMode":case"ExposureProgram":case"SensingMethod":case"SceneCaptureType":case"SceneType":case"CustomRendered":case"WhiteBalance":case"GainControl":case"Contrast":case"Saturation":case"Sharpness":case"SubjectDistanceRange":case"FileSource":c[a]=d[a][c[a]];break;case"ExifVersion":case"FlashpixVersion":c[a]=String.fromCharCode(c[a][0],c[a][1],c[a][2],c[a][3]);break;case"ComponentsConfiguration":c[a]=d.Components[c[a][0]]+d.Components[c[a][1]]+d.Components[c[a][2]]+d.Components[c[a][3]]}i[a]=c[a]}if(i.GPSInfoIFDPointer)for(a in u=p(e,m,m+i.GPSInfoIFDPointer,s,n))"GPSVersionID"===a&&(u[a]=u[a][0]+"."+u[a][1]+"."+u[a][2]+"."+u[a][3]),i[a]=u[a];return i.thumbnail=function(e,t,n,i){var a=function(e,t,n){var i=e.getUint16(t,!n);return e.getUint32(t+2+12*i,!n)}(e,t+n,i);if(!a)return{};if(a>e.byteLength)return{};var o=p(e,t,t+a,l,i);if(o.Compression)switch(o.Compression){case 6:if(o.JpegIFOffset&&o.JpegIFByteCount){var r=t+o.JpegIFOffset,s=o.JpegIFByteCount;o.blob=new Blob([new Uint8Array(e.buffer,r,s)],{type:"image/jpeg"})}break;case 1:console.log("Thumbnail image format is TIFF, which is not implemented.");break;default:console.log("Unknown thumbnail image format '%s'",o.Compression)}else 2==o.PhotometricInterpretation&&console.log("Thumbnail image format is RGB, which is not implemented.");return o}(e,m,f,n),i}function b(e){var t={};if(1==e.nodeType){if(e.attributes.length>0){t["@attributes"]={};for(var n=0;n<e.attributes.length;n++){var i=e.attributes.item(n);t["@attributes"][i.nodeName]=i.nodeValue}}}else if(3==e.nodeType)return e.nodeValue;if(e.hasChildNodes())for(var a=0;a<e.childNodes.length;a++){var o=e.childNodes.item(a),r=o.nodeName;if(null==t[r])t[r]=b(o);else{if(null==t[r].push){var s=t[r];t[r]=[],t[r].push(s)}t[r].push(b(o))}}return t}function v(e){try{var t={};if(e.children.length>0)for(var n=0;n<e.children.length;n++){var i=e.children.item(n),a=i.attributes;for(var o in a){var r=a[o],s=r.nodeName,l=r.nodeValue;void 0!==s&&(t[s]=l)}var d=i.nodeName;if(void 0===t[d])t[d]=b(i);else{if(void 0===t[d].push){var c=t[d];t[d]=[],t[d].push(c)}t[d].push(b(i))}}else t=e.textContent;return t}catch(e){console.log(e.message)}}a.enableXmp=function(){a.isXmpEnabled=!0},a.disableXmp=function(){a.isXmpEnabled=!1},a.getData=function(e,t){return!((self.Image&&e instanceof self.Image||self.HTMLImageElement&&e instanceof self.HTMLImageElement)&&!e.complete||(c(e)?t&&t.call(e):u(e,t),0))},a.getTag=function(e,t){if(c(e))return e.exifdata[t]},a.getIptcTag=function(e,t){if(c(e))return e.iptcdata[t]},a.getAllTags=function(e){if(!c(e))return{};var t,n=e.exifdata,i={};for(t in n)n.hasOwnProperty(t)&&(i[t]=n[t]);return i},a.getAllIptcTags=function(e){if(!c(e))return{};var t,n=e.iptcdata,i={};for(t in n)n.hasOwnProperty(t)&&(i[t]=n[t]);return i},a.pretty=function(e){if(!c(e))return"";var t,n=e.exifdata,i="";for(t in n)n.hasOwnProperty(t)&&("object"==typeof n[t]?n[t]instanceof Number?i+=t+" : "+n[t]+" ["+n[t].numerator+"/"+n[t].denominator+"]\r\n":i+=t+" : ["+n[t].length+" values]\r\n":i+=t+" : "+n[t]+"\r\n");return i},a.readFromBinaryFile=function(e){return m(e)},void 0===(i=function(){return a}.apply(t,[]))||(e.exports=i)}).call(this)},1464:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var i=n(6773),a=n.n(i);const o=n(877),r={};o.keys().forEach((e=>{let t=e.split("/");if(!(e.includes("bpmField")||e.includes("bpmFormField")||e.includes("bpmSubFormField"))){const n=o(e).default;r[t[1]]=n}}));const s={SerialNumber:"Text",Date:"DateTime",TextArea:"Text",MulSelect:"Select",Status:"Select",MulImg:"MulFile",MulSelectCheckItem:"SelectCheckItem",MulSelectFromField:"SelectFromField",SelectUser:"SelectUser",MulSelectUser:"SelectUser",SelectPartner:"SelectUser",MulSelectPartner:"SelectUser",SelectProject:"SelectFromField",MulSelectProject:"SelectFromField",SelectOrg:"SelectFromField",MulSelectOrg:"SelectFromField",MulSelectFromForm:"SelectFromForm",MulSelectFromId:"SelectFromId",MulSelectURUser:"SelectUser",SelectURUser:"SelectUser",SelectRootCategory:"SelectFromField",MulSelectSort:"SelectCheckItem",SelectSort:"SelectCheckItem",MulSelectEntranceForm:"SelectEntranceForm",MulSelectIssue:"SelectIssue",XSubForm:"SubForm",OrderSubform:"SubForm",MulArea:"Area",AreaElevation:"AreaElevation",MulAudit:"Audit"};var l={components:r,props:{value:{type:[String,Array,Number,Object]},type:{type:String,default:""},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default:"view"},uiType:{type:String,default:"default"},formDefId:{type:String,default:""},orgInfo:{type:Object,default(){return{level:"group",level_id:0,group_id:0}}},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},isMultiple:{type:Boolean,default(){return!1}},dm:{type:Boolean,default(){return!1}}},data(){return{curVal:""}},watch:{value:{handler(){this.curVal=this.value},immediate:!0},dm(e){this.$bpm.isDm=e}},computed:{curComponent(){let e=this.type||a().get(this.fieldConf,"type");if(e=s[e]||e,this.dm&&"Signature"===e&&(e="MulImage"),r[`bpm${e}`])return`bpm${e}`},componentType(){return this.type||a().get(this.fieldConf,"type")},isMul(){let e=this.componentType,t=e&&e.indexOf("Mul")>-1;return this.isMultiple||t},fieldMode(){let e=this.mode;const t=this.fieldConf.perm;return this.dm||!t||t.editable||(e="view"),e},fieldDisabled(){let e=this.disabled;const t=this.fieldConf.perm;return this.dm||"edit"!==this.fieldMode||!t||t.writable||(e=!0),e}},mounted(){this.formDefId&&(this.$bpm.env.form_name=this.formDefId),this.curVal=this.value,this.$bpm.orgInfo=this.orgInfo,this.$bpm.isDm=this.dm},methods:{handleChange(e,t){console.log("bpmFormFieldChange_field_base_mixin: ",e,t),""===e?(this.$emit("input",null),this.$emit("change",null)):(this.$emit("input",e),this.$emit("change",e))}}},d=(0,n(4486).A)(l,void 0,void 0,!1,null,null,null);d.options.__file="components/mixins/field_base_mixin.vue";var c=d.exports},1470:function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}function n(e){return e>9?n(e%10):e}var i=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],a=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,o=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:o,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:o,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(n(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n(5093))},1488:function(e,t,n){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(i,a,o,r){var s=t(i),l=n[e][t(i)];return 2===s&&(l=l[a?0:1]),l.replace(/%d/i,i)}},a=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-dz",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})}(n(5093))},1509:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},a={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,n,o,r){var s=i(t),l=a[e][i(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},r=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(5093))},1520:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class n{}t._CodeOrName=n,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class i extends n{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=i;class a extends n{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce(((e,t)=>(t instanceof i&&(e[t.str]=(e[t.str]||0)+1),e)),{})}}function o(e,...t){const n=[e[0]];let i=0;for(;i<t.length;)l(n,t[i]),n.push(e[++i]);return new a(n)}t._Code=a,t.nil=new a(""),t._=o;const r=new a("+");function s(e,...t){const n=[c(e[0])];let i=0;for(;i<t.length;)n.push(r),l(n,t[i]),n.push(r,c(e[++i]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===r){const n=d(e[t-1],e[t+1]);if(void 0!==n){e.splice(t-1,3,n);continue}e[t++]="+"}t++}}(n),new a(n)}function l(e,t){var n;t instanceof a?e.push(...t._items):t instanceof i?e.push(t):e.push("number"==typeof(n=t)||"boolean"==typeof n||null===n?n:c(Array.isArray(n)?n.join(","):n))}function d(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof i||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof i?void 0:`"${e}${t.slice(1)}`}function c(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.str=s,t.addCodeArg=l,t.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:s`${e}${t}`},t.stringify=function(e){return new a(c(e))},t.safeStringify=c,t.getProperty=function(e){return"string"==typeof e&&t.IDENTIFIER.test(e)?new a(`.${e}`):o`[${e}]`},t.getEsmExportName=function(e){if("string"==typeof e&&t.IDENTIFIER.test(e))return new a(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)},t.regexpCode=function(e){return new a(e.toString())}},1541:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(5093))},1545:function(e,t,n){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(5093))},1563:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=(i=n(2230))&&i.__esModule?i:{default:i},o={animation:{twoWay:!0,type:Number},attribution:{type:Object},clickable:{type:Boolean,twoWay:!0,default:!0},cursor:{type:String,twoWay:!0},draggable:{type:Boolean,twoWay:!0,default:!1},icon:{twoWay:!0},label:{},opacity:{type:Number,default:1},options:{type:Object},place:{type:Object},position:{type:Object,twoWay:!0},shape:{type:Object,twoWay:!0},title:{type:String,twoWay:!0},zIndex:{type:Number,twoWay:!0},visible:{twoWay:!0,default:!0}};t.default=(0,a.default)({mappedProps:o,events:["click","rightclick","dblclick","drag","dragstart","dragend","mouseup","mousedown","mouseover","mouseout"],name:"marker",ctr:function(){return google.maps.Marker},inject:{$clusterPromise:{default:null}},render:function(e){return this.$slots.default&&0!==this.$slots.default.length?1===this.$slots.default.length?this.$slots.default[0]:e("div",this.$slots.default):""},destroyed:function(){this.$markerObject&&(this.$clusterObject?this.$clusterObject.removeMarker(this.$markerObject,!0):this.$markerObject.setMap(null))},beforeCreate:function(e){return this.$clusterPromise&&(e.map=null),this.$clusterPromise},afterCreate:function(e){var t=this;this.$clusterPromise&&this.$clusterPromise.then((function(n){n.addMarker(e),t.$clusterObject=n}))}})},1567:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return P}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-select-from-form",attrs:{fieldConf:e.fieldConf,row:e.row,mode:e.mode,formName:e.formName,orgInfo:e.orgInfo,uiType:e.uiType,isMultiple:e.isMultiple},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"select-from-form-editor"},[n("div",[n("el-select",{attrs:{placeholder:e.fieldConf.name,multiple:e.isMultiple,clearable:""},on:{focus:e.toOpen,"remove-tag":e.delItem,clear:e.delItem},model:{value:e.confirmValue,callback:function(t){e.confirmValue=t},expression:"confirmValue"}},e._l(e.curOptions,(function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),n("el-dialog",{attrs:{"append-to-body":!0,visible:e.opened,"before-close":e.onHide,title:e.fieldConf.name,width:"40%"},on:{"update:visible":function(t){e.opened=t},open:e.onOpen}},[n("el-input",{staticClass:"input-with-select",attrs:{placeholder:e.$z("只展示前100条数据,通过搜索获取更多","b2.common.see_100_data")},on:{input:e.throttleSearch},model:{value:e.keyword,callback:function(t){e.keyword=t},expression:"keyword"}}),e._v(" "),n("div",{staticClass:"bpm-select-from-form-box"},[e.isMultiple?n("el-checkbox-group",{attrs:{max:e.maxCount},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},e._l(e.formList,(function(t){return n("div",{key:t.id,staticClass:"form-item"},[n("div",{style:e.titleStyle},[n("el-checkbox",{key:t.id,attrs:{label:t.id}},[e._v(e._s(t.title))])],1),e._v(" "),e._l(t.fields,(function(t){return n("div",{key:t.id,staticClass:"subitem",style:e.geFieldStyle(t.key)},[n("span",{staticStyle:{"white-space":"nowrap"}},[e._v(e._s(t.name+": "))]),n("span",{domProps:{innerHTML:e._s(t.value)}})])}))],2)})),0):n("el-radio-group",{on:{change:e.onSubmit},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},e._l(e.formList,(function(t){return n("div",{key:t.id,staticClass:"form-item"},[n("div",{style:e.titleStyle},[n("el-radio",{key:t.id,attrs:{label:t.id,value:t.id}},[e._v(e._s(t.title))])],1),e._v(" "),e._l(t.fields,(function(t){return n("div",{key:t.id,staticClass:"subitem",style:e.geFieldStyle(t.key)},[n("span",{staticStyle:{"white-space":"nowrap"}},[e._v(e._s(t.name+": "))]),n("span",{domProps:{innerHTML:e._s(t.value)}})])}))],2)})),0)],1),e._v(" "),e.isMultiple?n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v(e._s(e.$z("确定","c.confirm")))])],1):e._e()],1)],1)};a._withStripped=!0;var o=n(5554),r=n.n(o),s=n(6773),l=n.n(s),d=n(7642);r().use(d.Dialog);var c={props:["value","fieldConf","row","formName","orgInfo","isMultiple"],inject:["getSelectFields","selectOptions"],data(){return{curVal:"",curOptions:[],keyword:"",opened:!1,throttleSearch:l().throttle(l().bind(this.search,this),1500,{trailing:!0,leading:!1}),formList:[],fieldDefinitionMap:{}}},watch:{value(e){console.log("select_from_form_val",e),(l().isString(e)||l().isArray(e))&&(this.curVal=e,this.confirmValue=e),this.loadRemoteLabel()},selectOptionsList(e){this.fieldConf.default&&"Default"==this.fieldConf.default.type&&"EVCFirstElem"==this.fieldConf.default.value.type&&(this.formList=this.transformOptions(e),this.formList&&this.formList.length?(console.log("this.formList",this.formList),this.isMultiple?this.curVal=[this.formList[0].id]:this.curVal=this.formList[0].id):this.isMultiple?this.curVal=[]:this.curVal="",console.log("this.curVal",this.curVal),this.onSubmit()),console.log("fieldConf",this.fieldConf),console.log("selectOptionsList",e)}},computed:{selectOptionsList(){return this.selectOptions()},placeholder(){return this.fieldConf.desc||this.fieldConf.name},maxCount(){return l().get(this.fieldConf,"check.max_count")},titleStyle(){let e=this.fieldConf,t=l().get(e,"range_remote.range_display.title");return{fontSize:l().get(t,"size",16)+"px",color:l().get(t,"color","#333")}},fieldStyleMap(){let e=this.fieldConf,t=l().get(e,"range_remote.range_display.fields");return l().keyBy(t,"field")}},created(){},mounted(){this.getCurVal(),this.loadRemoteLabel()},methods:{delItem(){this.curVal=this.confirmValue,this.$emit("input",this.curVal),this.$emit("change",this.curVal)},getCurVal(){this.value&&(l().isString(this.value)||l().isArray(this.value))?this.curVal=this.value:this.curVal=this.isMultiple?[]:""},geFieldStyle(e){let t=l().get(this.fieldStyleMap,e);return{fontSize:l().get(t,"size",12)+"px",color:l().get(t,"color","#949494"),display:"flex"}},async search(){let e=this.keyword,t=this.formName,n=l().get(this.fieldConf,"id");const i=this.orgInfo;let a=this.getSelectFields();a&&"{}"!==JSON.stringify(a)&&(i.fields=a);let o=await this.$bpm.searchSelectOpts(n,e,t,this,!1,i,!0);console.log("result",o),o&&o.definition&&o.definition.form&&o.definition.form.elements&&l().each(o.definition.form.elements,(e=>{this.fieldDefinitionMap[e.id]=e})),console.log("this.fieldDefinitionMap",this.fieldDefinitionMap);let r=this.transformOptions(o.data);this.formList=r},transformOptions(e){return l().map(e,(e=>({title:e.title,id:e.form_id,form_id:e.form_id,f_fields:e.f_fields,fields:l().map(e.f_fields,((e,t)=>({key:t,value:e,name:this.fieldDefinitionMap[t]?this.fieldDefinitionMap[t].name:this.$bpm.fieldDefinitionMap[t].name})))})))},onHide(){this.opened=!1},onOpen(){this.getCurVal();let e=this.selectOptions();e&&e.length?this.formList=this.transformOptions(e):this.search()},toOpen(){this.opened=!0},isChecked(e){return l().includes(this.curVal,e)},onSubmit(){console.log("this.curVal",this.curVal),this.$emit("input",this.curVal),this.$emit("change",this.curVal),this.opened=!1},async loadRemoteLabel(){let e=this.value,t=l().get(this.fieldConf,"id");if(console.log("values",e),this.curOptions=[],l().isEmpty(e))this.curOptions=[],this.curVal="";else{e=l().isArray(e)?e:[e],this.label=await this.$bpm.fetchLabelByValues(e,t,this.formName,this.row),console.log("this.label",this.label);let n=this.label.split(",");l().each(n,((t,n)=>{this.curOptions.push({value:e[n],label:t})}))}}}},u=n(4486),m=(0,u.A)(c,a,[],!1,null,null,null);m.options.__file="components/lib/bpmSelectFromForm/src/part/editor.vue";var f=m.exports,h=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.items.length>0?n("div",e._l(e.items,(function(t){return n("el-tag",{key:t,staticStyle:{"margin-right":"5px","margin-top":"4px",cursor:"pointer"},on:{click:function(n){return n.stopPropagation(),e.toFormDetailPage(t)}}},[n("i",{staticClass:"el-icon-tickets",staticStyle:{"margin-right":"5px"}}),e._v(e._s(t.label))])})),1):n("div",[n("span",[e._v(e._s(e.label))])]),e._v(" "),n("el-dialog",{attrs:{"append-to-body":!0,visible:e.detailDialogVisible,"close-on-click-modal":!1,title:e.detailDialogTtile,width:e.detailDialogWidth,top:"5vh"},on:{"update:visible":function(t){e.detailDialogVisible=t}}},[n("iframe",{ref:"detailFrame",staticClass:"detail-form-iframe",attrs:{src:e.detailFrameUrl,frameborder:"0",width:"100%",height:"600px"}})])],1)};h._withStripped=!0;var p={props:["value","fieldConf","row","formName","orgInfo"],data(){return{mode:"normal",items:[],label:zj.z("未选择","c.not_selected"),detailDialogVisible:!1,detailDialogTtile:"",detailFrameUrl:""}},watch:{value(){this.loadRemoteInfo()}},mounted(){this.loadRemoteInfo()},computed:{detailDialogWidth(){return this.fieldConf&&this.fieldConf.style?this.fieldConf.style.dialog_width+"%"||0:"80%"}},methods:{async loadRemoteInfo(){let e=this.value;if(l().isNil(e)||!e)return this.label=zj.z("未选择","c.not_selected");try{if(l().isObject(e))try{e=JSON.parse(e)}catch(t){console.log("JSON.parse",e),console.log("error",t)}let t=l().isArray(e)?e:[e],n=l().get(this.fieldConf,"id");if(l().isEmpty(t))this.label=zj.z("未选择","c.not_selected");else{t=l().isArray(t)?t:[t];let e=[],i=await this.$bpm.fetchLabelByValues(t,n,this.formName,this.row,!0,this.row,!0);console.log("bpmSelectFromForm_res",i),i&&i.length&&(e=i.map((e=>{let t={form_id:e.value,label:e.label};if(e&&e.res&&e.res.definition&&e.res.definition){let n=e.res.definition.form;t.form_type=n.type,t.form_def_id=n.id,t.page_level=n.level,t.process=n.process}return t}))),this.items=e}}finally{console.log("finally")}},toFormDetailPage(e){let t=e.form_id;this.detailDialogTtile=e.label;const n=l().get(this.orgInfo,"project_id","");let i=`/public/bpm3/app/table.html?form_name=${e.form_def_id||""}&is_mirco_app=1&hidden_form_title=1&form_type=${l().toLower(e.form_type)}&project_id=${n}&page_level=${e.page_level||""}&form_id=${t}#/detail`;this.detailFrameUrl=i,this.detailDialogVisible=!0}}},_=(0,u.A)(p,h,[],!1,null,null,null);_.options.__file="components/lib/bpmSelectFromForm/src/part/reader.vue";var g=_.exports,y={name:"bpmSelectFromForm",components:{editorComponent:f,readerComponent:g},props:{value:{type:[String,Array],default(){return""}},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},orgInfo:{type:Object},formName:{type:String},isMultiple:{type:Boolean,default(){return!1}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?g:f}},watch:{value(){console.log("selectFormForm_value",this.value),this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},b=n(5072),v=n.n(b),w=n(7825),M=n.n(w),k=n(7659),L=n.n(k),S=n(5056),x=n.n(S),D=n(540),C=n.n(D),T=n(1113),Y=n.n(T),$=n(5726),j={};j.styleTagTransform=Y(),j.setAttributes=x(),j.insert=L().bind(null,"head"),j.domAPI=M(),j.insertStyleElement=C(),v()($.A,j),$.A&&$.A.locals&&$.A.locals;var O=(0,u.A)(y,i,[],!1,null,null,null);O.options.__file="components/lib/bpmSelectFromForm/src/main.vue";var I=O.exports;I.install=function(e){e.component(I.name,I)};var P=I},1573:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=!1,n=void 0;return function(){return t||(t=!0,n=e()),n}}},1601:function(e){"use strict";e.exports=function(e){return e[1]}},1632:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1200?"上午":1200===i?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(5093))},1658:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:["resizeBus"],data:function(){return{_actualResizeBus:null}},created:function(){void 0===this.resizeBus?this.$data._actualResizeBus=this.$gmapDefaultResizeBus:this.$data._actualResizeBus=this.resizeBus},methods:{_resizeCallback:function(){this.resize()},_delayedResizeCallback:function(){var e=this;this.$nextTick((function(){return e._resizeCallback()}))}},watch:{resizeBus:function(e){this.$data._actualResizeBus=e},"$data._actualResizeBus":function(e,t){t&&t.$off("resize",this._delayedResizeCallback),e&&e.$on("resize",this._delayedResizeCallback)}},destroyed:function(){this.$data._actualResizeBus&&this.$data._actualResizeBus.$off("resize",this._delayedResizeCallback)}}},1713:function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(5093))},1733:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=0;e((function(){t+=1}),(function(){t=Math.max(0,t-1)}),(function(){return 0===t}))}},1734:function(e,t,n){!function(e){"use strict";e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort:["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin:["Do","Lu","Má","Cé","Dé","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(5093))},1765:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n(5093))},1773:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314);n.n(o)()(a()).push([e.id,"\n/deep/ .relate-sub-form-dialog .bpm-relate-subform-table .el-input__validateIcon {\n display: none;\n}\n",""])},1794:function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,n){return"ი"===n?t+"ში":t+n+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(n(5093))},1824:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-signature",staticStyle:{position:"relative","max-width":"600px"}},["edit"===e.mode?[e.openLastSign&&e.lastSign&&e.curSign||!e.isEditing?n("div",{staticStyle:{"border-color":"#fff"}},[n("bpm-mul-image",{staticClass:"signature-reader",attrs:{type:"Signature",value:e.curSign,uiType:e.uiType},on:{imgLoadError:e.handleImgLoadError}})],1):e._e(),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!(e.openLastSign&&e.lastSign&&e.curSign)&&e.isEditing,expression:"!(openLastSign && lastSign && curSign ) && isEditing"}],staticClass:"canvas-box"},[n("canvas",{ref:"canvasElem",staticStyle:{cursor:"crosshair",width:"100%",height:"320px",border:"1px dashed #c9c5c5"},attrs:{height:"320",width:"600"}})]),e._v(" "),n("div",{staticClass:"action-wrap"},[e.openLastSign&&!e.isInSubForm?n("el-checkbox",{staticStyle:{"margin-right":"10px"},attrs:{label:e.$z("保留签名以备下次调用","b2.common.sign_for_next_use")},model:{value:e.useNextUser,callback:function(t){e.useNextUser=t},expression:"useNextUser"}}):e._e(),e._v(" "),n("el-button",{attrs:{size:"default"},on:{click:e.clearSignature}},[e._v(e._s(e.$z("重置签名","b2.common.reset_sign")))])],1)]:e.curSign?n("bpm-mul-image",{staticClass:"signature-reader",attrs:{fieldConf:{type:"Signature"},value:e.curSign,uiType:e.uiType}}):n("span",[e._v("\n "+e._s(e.$z("未签名","unsigned"))+"\n ")])],2)};i._withStripped=!0;var a=n(2554);function o(e,t,n={},i={}){if(!(this instanceof o))return new o(e,n);if(!e)return;let{width:a,height:r}=window.getComputedStyle(e,null);a=a.replace("px",""),r=r.replace("px",""),a=a&&"auto"!==a&&-1===a.indexOf("%")?a:600,r=r&&"auto"!==r&&-1===r.indexOf("%")?r:320,this.canvas=e,this.context=e.getContext("2d"),this.width=a,this.height=r;const s=this.context,l=window.devicePixelRatio;l?(e.style.width=`${a}px`,e.style.height=`${r}px`,e.height=r*l,e.width=a*l,s.scale(l,l)):(e.width=a,e.height=r),s.lineWidth=2,s.strokeStyle="black",s.lineCap="round",s.lineJoin="round",Object.assign(s,n);const d={},c=/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test(navigator.userAgent);c||(s.shadowBlur=1,s.shadowColor="black");let u=!1;const m=t=>n=>{if(n.preventDefault(),1===t&&(u=!0),1===t||u){const{left:i,top:a}=e.getBoundingClientRect();n=c?n.touches[0]:n,d.x=n.clientX-i+.5,d.y=n.clientY-a+.5,(e=>{switch(e){case 1:s.beginPath(),s.moveTo(d.x,d.y);break;case 2:s.lineTo(d.x,d.y),s.stroke()}})(t)}},f=m(1),h=m(2),p=window.requestAnimationFrame,_=p?e=>{p((()=>{h(e)}))}:h;if(c?(e.addEventListener("touchstart",f),e.addEventListener("touchmove",_)):(e.addEventListener("mousedown",f),e.addEventListener("mousemove",_),["mouseup","mouseleave"].forEach((t=>{e.addEventListener(t,(()=>{u=!1}))}))),"number"==typeof t)switch(this.degree=t,s.rotate(t*Math.PI/180),t){case-90:s.translate(-r,0);break;case 90:s.translate(0,-a);break;case-180:case 180:s.translate(-a,-r)}}o.prototype={scale(e,t,n=this.canvas){const i=n.width,a=n.height;if(t=t||a,(e=e||i)!==i||t!==a){const o=document.createElement("canvas"),r=o.getContext("2d");o.width=e,o.height=t,r.drawImage(n,0,0,i,a,0,0,e,t),n=o}return n},rotate(e,t=this.canvas){if(0!=(e=~~e)){const n=180,i=-90;e>n?e=n:e<i&&(e=i);const a=document.createElement("canvas"),o=a.getContext("2d"),r=t.height,s=t.width,l=e*Math.PI/180;switch(e){case-90:a.width=r,a.height=s,o.rotate(l),o.drawImage(t,-s,0);break;case 90:a.width=r,a.height=s,o.rotate(l),o.drawImage(t,0,-r);break;case 180:a.width=s,a.height=r,o.rotate(l),o.drawImage(t,-s,-r)}t=a}return t},getPNGImage(e=this.canvas){return e.toDataURL("image/png")},getJPGImage(e=this.canvas){return e.toDataURL("image/jpeg",.5)},downloadPNGImage(e){const t=e.replace("image/png","image/octet-stream;Content-Disposition:attachment;filename=test.png");window.location.href=t},dataURLtoBlob(e){const t=e.split(","),n=t[0].match(/:(.*?);/)[1],i=atob(t[1]);let a=i.length;const o=new Uint8Array(a);for(;a--;)o[a]=i.charCodeAt(a);return new Blob([o],{type:n})},clear(){let e,t;switch(this.degree){case-90:case 90:e=this.height,t=this.width;break;default:e=this.width,t=this.height}this.context.clearRect(0,0,e,t)},upload(e,t,n,i){const a=new FormData,o=new XMLHttpRequest;o.withCredentials=!0,a.append("image",e,"sign"),o.open("POST",t,!0),o.onload=()=>{o.status>=200&&o.status<300||304===o.status?n(o.responseText):i()},o.onerror=e=>{"function"==typeof i?i(e):console.log(`upload img error: ${e}`)},o.send(a)}};var r=o,s={name:"BpmSignature",components:{BpmMulImage:a.default},props:{value:{type:String},type:{type:String,default:"Signature"},fieldConf:{type:Object,default(){return{}}},mode:{type:String,default:"edit"},uiType:{type:String,default:"default"},container:{type:[Object,null],default(){return null}}},data(){return{isEditing:!1,curSign:"",hasDraw:!1,openLastSign:!0,lastSign:"",useNextUser:!0,canvas:null,timer:null}},computed:{isInSubForm(){return!!this.container.isSubForm}},watch:{value(e){console.log("bpmSignature_value",e),e?this.curSign=e:this.isEditing=!0},curSign(e){console.log("curSign",e),this.$emit("input",e),this.$emit("change",e,{open:this.openLastSign,for_next_use:this.useNextUser,signature:this.curSign})}},created(){this.value?this.curSign=this.value:"edit"===this.mode&&(this.isEditing=!0)},mounted(){if("edit"===this.mode){setTimeout((()=>{this.initCanvas()}),300);let e=this.container;e&&(e.$on("afterFormSubmit",(e=>{console.log("Singnature topContainer afterFormSubmit"),!e&&this.openLastSign&&this.curSign&&(console.log("to save signature: ",this.curSign,this.useNextUser),this.$bpm.postEleSign(this.curSign,this.useNextUser))})),e.$on("dataLoaded",(e=>{console.log("Singnature topContainer dataLoaded"),this.onDataLoaded(e),this.curSign=null,this.handleInit()})))}},destroyed(){this.container&&!this.container.isQuote&&(this.container.$off("afterFormSubmit"),this.container.$off("dataLoaded"))},methods:{_getCanvasPixelCount(e){for(var t=e.getContext("2d"),n=t.getImageData(0,0,t.canvas.width,t.canvas.height).data,i=0,a=0;a<n.length;a+=4)0!==n[a+3]&&i++;return i},handleImgLoadError(){console.log("加载图片失败")},handleInit(){let e=this.$bpm.userSign;this.openLastSign=e.open,e.for_next_use&&(this.lastSign=e.signature),this.openLastSign&&this.lastSign&&(this.curSign=e.signature),e.for_next_use&&this.openLastSign&&(this.useNextUser=!0),this.$emit("input",this.curSign),this.$emit("change",this.curSign,e),console.log("userSign: ",e)},initCanvas(){if(this.hasDraw=!1,this.canvas&&(this.canvas.removeEventListener("touchstart",(function(){})),this.canvas.removeEventListener("mousedown",(function(){})),this.canvas.removeEventListener("touchend",(function(){})),this.canvas.removeEventListener("mouseup",(function(){}))),console.log("初始化initCanvas"),this.canvas=this.$refs.canvasElem,!this.canvas)return!1;this.draw=new r(this.canvas,-this.degree,{},{}),this.canvas.addEventListener("touchstart",(()=>{this.timer&&(clearTimeout(this.timer),this.timer=null),this.hasDraw=!0})),this.canvas.addEventListener("mousedown",(()=>{this.timer&&(clearTimeout(this.timer),this.timer=null),this.hasDraw=!0})),this.canvas.addEventListener("touchend",(()=>{this.timer||(this.timer=setTimeout((()=>{this.transToImg()}),1e3))})),this.canvas.addEventListener("mouseup",(()=>{this.timer||(console.log("mouseup"),this.timer=setTimeout((()=>{this.transToImg()}),1e3))})),this.canvas.addEventListener("mouseleave",(()=>{this.timer||(console.log("mouseleave"),this.timer=setTimeout((()=>{this.transToImg()}),1e3))}))},onDataLoaded(e){this.hasDraw=!1,this.draw&&this.draw.clear()},clearSignature(){this.hasDraw=!1,this.draw&&this.draw.clear(),this.curSign=null,this.isEditing=!0,this.lastSign="",setTimeout((()=>{this.initCanvas()}),300)},transToImg(){if(console.log("Canvas transToImg called"),this.draw){let e=this.draw.getPNGImage();if(console.log("Signature canvas img: ",e),this._getCanvasPixelCount(this.canvas)<2e3)return!1;this.uploadImage({basestr:e,type:"png",name:"签名图片.png",model:"userfile"},(e=>{this.curSign=e,this.timer=null,console.log("Signature img md5: ",e)}))}},uploadImage({basestr:e,type:t,name:n,model:i},a){let o=window.atob(e.split(",")[1]),r=new ArrayBuffer(o.length),s=new Uint8Array(r);for(let e=0;e<o.length;e++)s[e]=o.charCodeAt(e);let l,d=window.WebKitBlobBuilder||window.MozBlobBuilder;if(d){let e=new d;e.append(r),l=e.getBlob(t)}else l=new window.Blob([r],{type:t});let c=new FormData;c.append(i,l,n),zj.net.w.noapi({method:"POST",url:"/platform/v1/papi/app_file/upload/",data:c,processData:!1,contentType:!1}).then((e=>{a&&a(e.file_md5)}))}}},l=(0,n(4486).A)(s,i,[],!1,null,null,null);l.options.__file="components/lib/bpmSignature/src/main.vue";var d=l.exports;d.install=function(e){e.component(d.name,d)};var c=d},1827:function(e,t,n){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5093))},1848:function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5093))},1849:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.curComponent?n(e.curComponent,e._g(e._b({directives:[{name:"show",rawName:"v-show",value:!e.displayHidden,expression:"!displayHidden"}],ref:"inner-component",tag:"component",staticClass:"bpm-sub-form-field",attrs:{type:e.type,fieldConf:e.fieldConf,row:e.row,mode:e.fieldMode,uiType:e.uiType,formDefId:e.formDefId,orgInfo:e.orgInfo,dm:e.dm,clearable:e.clearable,container:e.container,disabled:e.fieldDisabled,isMultiple:e.isMul},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners)):e._e()};i._withStripped=!0;var a=n(5554),o=n.n(a),r=n(9795),s={name:"BpmSubFormField",mixins:[n(1464).A,function(){let e={props:["container","rowIndex","isNew","hideLabel"],data(){return{optAssWatchList:[],hasAddOptAssWatch:!1,defaultVal:null,firstListVal:null,loadedDefault:!1,allVal:[]}},computed:{isSubForm(){return!1},topContainer(){return this.container.isSubForm?this.container.container:this.container},fieldSelf(){return this},fieldPath(){return this._getFieldPath()},readonly(){return!0},inner(){return this.$bpm.matchInnerComponent(this.fieldConf.type,this.readonly)}},created(){this.topContainer&&!this.dm&&(this.topContainer.$once("beforeSchemaLoad",(e=>{this.clearOptAssWatch()})),this.topContainer.$once("dataLoaded",(e=>{this.addOptAssWatch()}))),this.isNew&&!this.hasAddOptAssWatch&&(this.addOptAssWatch(),this.$emit("update:isNew",!1))},methods:{async getConfDefaultValue(){let e=_.get(this.fieldConf,"default.value.type");e=e||_.get(this.fieldConf,"default.value.type");let t=_.get(this.fieldConf,"default.value.value"),n=_.get(this.fieldConf,"default.type");return this.defaultVal||this.loadedDefault?this.defaultVal:("EVCConfig"==n&&(t=_.get(this.fieldConf,"default.value"),this.defaultVal=t),"EVCExpression"==e||"EVCExpression"==n?(this.defaultVal=await this.$bpm.loadValDefault({fieldId:this.fieldConf.id,params:{},cusFormName:this.container.cusFormId,container:this.container}),this.loadedDefault=!0,this.defaultVal):("EVCFirstElem"==_.get(this.fieldConf,"default.value.type")&&(t=this.firstListVal),this.defaultVal=t,this.loadedDefault=!0,t))},getTypeValidEmptyValue(){let e=this.fieldConf.value_type,t=this.fieldConf.type;switch(e){case"int":return 0;case"struct":return"Mul"==t.substr(0,3)||"OnlineEditor"==t||this.isSubForm?[]:{};default:return"Mul"==t.substr(0,3)||"OnlineEditor"==t||this.isSubForm?[]:""}},removeValue(){let e=this.container,t=e.value;e.isSubForm&&(t=_.get(t,[this.rowIndex])),t&&(this.value=null)},_getFieldPath(e=!1){return this.container.isSubForm?e?[this.container.fieldConf.id,this.rowIndex,this.fieldConf.id]:[this.rowIndex,this.fieldConf.id]:[this.fieldConf.id]},_getValue(){let e="";return this.container&&(e=_.get(this.container.value,this.fieldPath)),e},isPromise(e){return!!e&&"function"==typeof e.then},_setValue(e){let t=this.container,n=_.cloneDeep(t.value);if(t.isQuote)return;let i=_.last(this.fieldPath);if(t.isSubForm){n||(n=[]);let a=this.rowIndex;if(n[a])return void this.$set(t.value[a],i,e);t.isXSubForm?o().set(n,a,t.getItem(a)):o().set(n,a,{}),n=n[a];try{o().set(t.value,a,n)}catch(e){console.log("error",t.value)}}else o().set(t.value,i,e)},clearOptAssWatch(){this.hasAddOptAssWatch=!1,_.each(this.optAssWatchList,(e=>{e()}))},addOptAssWatch(){this.hasAddOptAssWatch=!0;let e=_.get(this.fieldConf,"optAssMap"),t=_.get(this.fieldConf,"perm.visible");if(!e||_.isEmpty(e)||!t)return;let n=0;_.map(e,((t,i)=>{i=_.replace(i,"&",".");let a=this.$watch(`row.f_fields.${i}`,(t=>{let n=!0;_.map(e,((e,t)=>{t=_.replace(t,"&",".");let i=_.get(this.row,`f_fields.${t}`);i=_.toString(i),n=n&&_.includes(e,i)})),this.fieldConf.perm.visible=n}),{immediate:0==n});n++,this.optAssWatchList.push(a)}))}}};return _.merge(e,{data(){return{unWatchList:[],valueUnWatch:null,valDependIds:[],selectDependIds:[],remoteDependIds:[],selectFields:null,selectList:[],quoteContent:{},unSelectDependValWatchList:[],optAssWatchList:[],hasAddOptAssWatch:!1,scopeDependIds:[],subFormOldValMap:{},isDelete:!1,displayHidden:!1,differenceRowIndexs:[],topContainerMode:null,nextRely:null,loading:!1,firstFill:!0,hasFillDefault:!1,remoteData:[],component_id:(0,r.uR)(),hasRelateBind:!1}},created(){this.topContainer&&!this.dm&&(this.topContainer.$once("beforeDataLoad",(e=>{this.toggleValueWatch(!1),this.clearOptAssWatch()})),this.topContainer.$once("dataLoaded",(e=>{this.getMemory(),this.addOptAssWatch()})),this.topContainer.$once("beforeReloadData",(e=>{this.toggleValueWatch(!1)}))),this.getMemory(),this.addOptAssWatch(),this.$emit("update:isNew",!1),this.$bpm.$on("beforeFormSubmit",(({mode:e,formData:t,cc:n,_formData:i})=>{console.log("触发SubForm ,beforeFormSubmit");let a=this._getFieldPath(!0),o=_.get(i,a),r=_.get(this.fieldConf,"check.required",!1);if((_.isNull(this.value)&&r||"SelectHouseOwner"==this.fieldConf.type&&(!this.value.name||!this.value.phone)&&r)&&_.unset(t,a),_.isArray(this.value)&&_.isEmpty(this.value)||_.isNil(this.value)||""==this.value&&0!==this.value){let e=_.get(this.fieldConf,"check.min_length");e=e||_.get(this.fieldConf,"check.min"),e=e||_.get(this.fieldConf,"check.min_count"),e||r||!o||_.unset(t,a)}let s=this.container,l=s.isSubForm,d=_.get(this.fieldConf,"optAssMap");if(!d||_.isEmpty(d))return;let c=!0;_.map(d,((e,t)=>{t=t.replace(/&/g,".");let n=_.split(t,".");n=_.last(n);let i=_.get(this.elementMap,`${n}.type`),a=!!i&&"Mul"==i.substr(0,3);this._getPath(n)!=n&&l&&(t=`${s.fieldConf.id}&${this.rowIndex}&${n}`),t=t.replace(/&/g,".");let o=_.get(this.form,`formData.${t}`);if(a);else{let t=_.toString(o);c=c&&_.includes(e,t)}})),c||_.unset(t,a)})),this.$bpm.$on("afterFormSubmit",(({mode:e,errors:t})=>{if(console.log("触发SubForm ,afterFormSubmit"),!t&&this.memorable){let t=this.fieldConf.id,n=_.get(this.fieldConf,"value_type");this.$bpm.setMemory(e,`${t}.${n}`,this.value)}})),this.$bpm.$on("handeInitRely",(async({id:e,rowIndex:t,oid:n,lastField:i})=>{e!=this.fieldConf.id||this.container.isSubForm&&(_.isNil(t)||!this.container.isSubForm||t!=this.rowIndex)||(console.log("触发SubForm ,handeInitRely"),this.topContainer.isCache?this.openRelyInitLoadOnCache(n,i):this.openInitRelyLoad(n,i))})),this.$bpm.$on("initRelyComplete",(async(e,t)=>{e===this.container&&(!t||t&&t===this.rowIndex)&&(console.log("触发了SubForm initRelyComplete"),this.hasFillDefault||await this.fillDefaultValue(),this.valueUnWatch||await this.toggleValueWatch(!0),this.addOptAssWatch(),this.$bpm.setRelyLoading(!1))})),this.$bpm.$on("handeRelyById",(({id:e,rowIndex:t,oid:n,lastField:i})=>{e!=this.fieldConf.id||this.container.isSubForm&&(_.isNil(t)||!this.container.isSubForm||t!=this.rowIndex)||(console.log("触发SubForm ,handeRelyById",e),console.log("触发SubForm ,handeRelyById_rowIndex",t),console.log("触发SubForm ,handeRelyById_oid",n),console.log("触发SubForm ,handeRelyById_lastField",i),console.log("SubForm-this.fieldConf",this.fieldConf),console.log("SubForm-this.container",this.container),this.opeRelyById(n,i))}))},provide(){return{getSelectFields:()=>this.selectFields,selectOptions:()=>this.selectList}},destroyed(){this.toggleValueWatch(!1),console.log("this.container.isQuote",this.container.isQuote)},watch:{"$store.getters.bpmLinkageBridge"(e){_.includes(e.to,this.fieldConf.id)&&(console.log("$store.getters.bpmLinkageBridge",e),e.calc_function&&this.form&&this.form.formData&&(console.log("bridge_link_complete_flag",this.link_complete_flag),this.$nextTick((()=>{console.log("bri_this.value",this.value),setTimeout((()=>{let t=_.cloneDeep(this.value);this.value=e.calc_function(this.form.formData),this.curVal=this.value,this.$emit("input",this.value),this.$emit("change",this.value),this.checkRely(this.value,t)}),3e3)}))))}},computed:{form(){return this.topContainer},readonly(){return!_.get(this.fieldConf,"perm.editable",!1)},disWritable(){return!_.get(this.fieldConf,"perm.editable",!1)&&!_.get(this.fieldConf,"perm.writable",!1)},memorable(){return _.get(this.fieldConf,"perm.memorable",!1)},isDetailMode(){return"detail"==this.form.mode},isDeleteMode(){return"delete"==this.form.mode},elements(){return _.get(this.form,"formSchema.elements",[])},elementMap(){let e={},t=this.elements;return _.each(t,(t=>{_.set(e,t.id,t),_.each(t.elements||[],(n=>{_.set(e,t.id,t)}))})),e},description(){return _.get(this.fieldConf,"desc","")},hideName(){return _.get(this.fieldConf,"display.hide_name",!1)},visualAttrs(){let e=this._getFieldPath(!0).join("."),t=this.form.formErrors,n=!!t&&t[e],i=this.fieldConf,a=[],o=_.get(i,"perm.visible",!1);_.get(i,"check.required",!1)&&!this.isDetailMode&&a.push("q-field-required"),o&&!this.displayHidden||a.push("q-field-hidden"),this.readonly&&a.push("readonly");let r=_.get(this.fieldConf,"display.hide_name",!1),s=_.get(this.fieldConf,"display.is_tip",!1);r&&a.push("hide-name"),s&&a.push("tip-field"),n&&this.scrollToElement();let l=this.$bpm.isVerticalTypography,d=_.includes(["MulImage","SubForm","XSubForm","MulFile","Spliter","Signature"],i.type);return l=l&&!_.includes(["SubForm","XSubForm","Spliter"],i.type),l&&a.push("col-4"),"SelectHouseOwner"==i.type&&a.push("select-house-owner"),{filled:!0,hideHint:!0,disable:!_.get(i,"perm.editable",!0),error:!!n,errorLabel:_.get(n,"message",""),class:a,orientation:d||l?"vertical":"horizontal"}},isRelyId(){return _.includes(this.topContainer.relyIds,this.fieldConf.id)},isVerticalTypography(){return this.$bpm.isVerticalTypography}},mounted(){this.description&&this.insertDesc()},methods:{getMemory(){if(!this.memorable||this.value)return;let e=this.fieldConf.id,t=_.get(this.fieldConf,"value_type");this.topContainerMode=this.topContainer.mode,this.$bpm.checkMemory(this.topContainerMode,(n=>{let i=_.get(n,`f_fields.${e}.${t}`);this.value=i,this.setLocalCache(this.value)}),(()=>{}))},scrollToElement(){},async openRelyInitLoadOnCache(e,t){await this.loadSelectByDepends(),await this.loadRemoteByDepends(!0),this.$emit("valueChanged"),t==this.fieldConf.id&&(this.container.relyLoading=!1),this.loading=!1,this.container.handleNextRely&&await this.container.handleNextRely(this.rowIndex,e,t)},async openInitRelyLoad(e,t){console.log("SubForm-openInitRelyLoad"),await this.loadSelectByDepends(),await this.loadRemoteByDepends(!0),await this.loadRemoteByFieldMap(e),t==this.fieldConf.id&&(this.container.relyLoading=!1),this.$emit("valueChanged"),this.loading=!1,this.container.handleNextRely&&await this.container.handleNextRely(this.rowIndex,e,t)},async opeRelyById(e,t){await this.fillDefaultValue(),await this.loadSelectByDepends(),await this.loadRemoteByDepends(),await this.loadRemoteByFieldMap(e),t==this.fieldConf.id&&(this.container.relyLoading=!1),this.loading=!1,this.container.handleNextRelyById&&await this.container.handleNextRelyById(this.rowIndex,e,t)},async getBreakResult(e){let t=this.$bpm.breakRelyMap,n=_.get(t,e);return _.includes(n,this.fieldConf.id)},async fillDefaultValue(){if(this.isDetailMode)return!1;if(!_.get(this.fieldConf,"perm.writable"))return!1;let e=this.topContainer.resetFields;if(_.includes(e,this.fieldConf.id))return this.value=null,this.setLocalCache(this.value),this.loading=!1,void(this.hasFillDefault=!0);if(_.isNil(this.value)){let e=await this.getConfDefaultValue();_.isNil(e)||(this.value=e,this.curVal=this.value,this.$emit("input",this.value),this.$emit("change",this.value),this.setLocalCache(this.value))}this.loading=!1,this.hasFillDefault=!0},async getConfDefaultValue(){let e=_.get(this.fieldConf,"default.value.type");if("EVCConfig"==e)return _.get(this.fieldConf,"default.value.value");"EVCAllElem"==e&&console.log("EVCAllElem")},isPromise(e){return!!e&&"function"==typeof e.then},toggleValueWatch(e=!0){if(this.valueUnWatch&&(this.valueUnWatch(),this.valueUnWatch=!1),e){let e=JSON.stringify(this.value);this.valueUnWatch=this.$watch("value",(async(t,n)=>{if(void 0===t&&void 0===n)return!1;if(console.log("component_id",this.component_id),console.log("component_vm",this),console.log("subformField: ",t,n),this.isSubForm||"Area"==this.fieldConf.type||"MulArea"==this.fieldConf.type){let n=JSON.stringify(t);if(e==n)return void(this.container.handleNextRely&&await this.container.handleNextRely(this.rowIndex))}else if(n==t)return void(this.container.handleNextRely&&await this.container.handleNextRely(this.rowIndex));if(e=JSON.stringify(t),console.log("subForm内部组件触发了,valueChanged"),this.$emit("valueChanged"),this.setLocalCache(t),console.log("subFormthis.container",this.container),console.log("subFormthis.fieldConf",this.fieldConf),(!this.container.isSubForm||this.container.isSubForm&&(!_.isUndefined(n)||!_.isUndefined(t)))&&this.container&&this.container.handleRelyById){await this.loadRemoteByFieldMap();let e=_.get(this.fieldConf,"mappings");console.log("subFormMappings",e),e=_.keys(e),await this.container.handleRelyById(this.fieldConf.id,this.rowIndex,e)}this.firstFill=!1}),{immediate:!!this.fieldConf.linkage_trigger_immediate,deep:!0})}},setLocalCache(e){let t=this.fieldConf.id,n=this.container.mode,i=_.get(this.fieldConf,"value_type");this.$bpm.setLocalCache(n,`${t}.${i}`,e)},loadSelectListPre(e){this.$refs.fieldComp&&this.$refs.fieldComp.preSearch&&this.$refs.fieldComp.preSearch(e)},loadSelectByDepends(){if(this.readonly)return;this.selectDependIds=_.get(this.fieldConf,"range_remote.depends",[]);let e=this.getRelateSelectOptionList();e&&e.length?this.selectList=e:this.loadSelectLinkage({fieldId:this.fieldConf.id},(e=>{if("Quote"==this.fieldConf.type)return this.value=_.map(e.data,"form_id"),this.quoteContent=e,void(this.loading=!1);this.selectList=e,this.loading=!1}))},async loadRemoteByDepends(e){if("OrderSubForm"==this.fieldConf.type&&(this.remoteDependIds=_.get(this.fieldConf,"remote.depends",[]),this.remoteDependIds.length||e)){let t=this.remoteDependIds,n=this.getDependData(t);if(_.map(n,((e,t)=>{_.isUndefined(e)&&_.unset(n,t)})),_.isEmpty(n)&&!e)return void(this.loading=!1);let i={fields:n,include_sup:!0},a=this.fieldConf.id,o=await this.$bpm.loadSelectRemoteForm({fieldId:a,params:i,cusFormName:this.container.cusFormId||_.get(this.container,"form.cusFormId"),container:this.container});this.remoteData=o,this.loading=!1}},getRelateSelectOptionList(){let e=this.form.formSchema;if(console.log("getRelateSelectOptionListformSchemaDef",e),console.log("getRelateSelectOptionListfieldConf",this.fieldConf),e){let t=[];return _.each(e.elements,(e=>{e.relate_setting&&_.each(e.relate_setting,(n=>{if(n.sub_form==this.fieldConf.parentId&&_.includes(n.sub_form_fields,this.fieldConf.id)){console.log("getRelateSelectOptionList_relate",n),this.formSourceData=this.form.formData,console.log("getRelateSelectOptionList_this.formSourceData ",this.formSourceData);let i={},a="";this.hasRelateBind=!0,_.each(n.sub_form_field_mapping,(e=>{e.target!=this.fieldConf.id&&_.includes(n.sub_form_fields,e.target)?i[e.src]=this.formSourceData[this.fieldConf.parentId][this.rowIndex][e.target]:a=e.src})),console.log("getRelateSelectOptionList_change_confidition",i);let o=_.filter(this.formSourceData[e.id],i);_.each(o,(e=>{e[a]&&e._meta&&!e._meta.is_deleted&&t.push([e[a],e[a]])})),console.log("getRelateSelectOptionList__relate_list",o)}}))})),t}},_getPath(e){let t=this.elements,n=e;return _.each(t,(t=>{_.each(t.elements||[],(i=>{i.id==e&&(n=t.id)}))})),n},getDependData(e){let t=this.topContainer.formData,n={};return _.each(e,(e=>{let i=this._getPath(e),a=_.get(t,i);if(e!=i){let t=[];_.each(a,((n,i)=>{let a={},o=_.get(n,e);(o||0===o)&&_.set(a,e,o),_.hasIn(n,"_meta")&&_.set(a,"_meta",n._meta),t.push(a)})),n[i]&&(t=_.merge(n[i],t)),a=t}_.isArray(a)&&_.each(a,(e=>{_.unset(e,"isNew")})),i&&_.set(n,i,a)})),n},loadSelectDepends(){let e=_.get(this.fieldConf,"range_remote.depends",[]),t=this.getDependData(e);_.isEmpty(t)||(this.selectFields=JSON.stringify(t))},async loadSelectLinkage({fieldId:e,mergeParams:t,dependVal:n,isForceLoad:i},a){let o=_.get(this.fieldConf,"range_remote.depends",[]),r=this.getDependData(o);if(console.log("dependData",r),_.isEmpty(r))return;this.selectFields=JSON.stringify(r),console.log("dependData",r);let s={fields:JSON.stringify(r)};this.container.isSubForm&&_.set(s,"idx",this.rowIndex);let l=this.fieldConf.type;"OnlineEditor"==l&&(s={spec:JSON.stringify(r)}),t&&(s=_.merge(s,t));let d=null;return d=_.includes(["MulSelectCheckItem","SelectRootCategory","SelectCheckItem","SelectSort","MulSelectSort"],l)?await this.$bpm.loadSelectLinkageResult({fieldId:e,params:s,cusFormName:this.container.cusFormId||_.get(this.container,"form.cusFormId"),filed:this.fieldSelf,container:this.container}):await this.$bpm.searchSelectOpts(e,"",this.container.cusFormId||_.get(this.container,"form.cusFormId"),this.fieldSelf,!1,s,!1),a&&a(d),d},addOptAssWatch(){if(this.hasAddOptAssWatch)return;let e=_.get(this.fieldConf,"optAssMap"),t=_.get(this.fieldConf,"perm.visible");if(!e||_.isEmpty(e)||!t)return;let n=this.container,i=n.isSubForm;_.map(e,((t,a)=>{a=a.replace(/&/g,".");let o=_.split(a,".");o=_.last(o);let r=this._getPath(o);const s=_.get(this.elementMap,n.fieldConf.id),l=_.get(s,"elements",[]),d=_.keyBy(l,"id");let c="";if(a.indexOf(!0)){let e=_.split(a,"."),t=_.first(e);c=_.get(d,`${t}.type`)}else c=_.get(d,`${o}.type`);let u=!!c&&"Mul"==c.substr(0,3);if(!c)return;let m=this.$watch(`form.formData.${n.fieldConf.id}`,(()=>{let t=!0;_.map(e,((e,a)=>{r!=o&&i&&(a=`${n.fieldConf.id}&${this.rowIndex}&${o}`),a=a.replace(/&/g,".");let s=_.get(this.form,`formData.${a}`);if(u){let n=!1;_.each(s,(t=>{t=_.toString(t),_.includes(e,t)&&(n=!0)})),t=t&&n}else s=_.toString(s),t=t&&_.includes(e,s)})),console.log("isSubForm",i),i?this.displayHidden=!t:this.fieldConf.perm.visible=t,this.isDelete=!t,t&&console.log("this.fieldConf",this.fieldConf),console.log("BpmSubFormField watch: visible",t)}),{immediate:!0,deep:!0});this.optAssWatchList.push(m)})),this.hasAddOptAssWatch=!0},clearOptAssWatch(){this.hasAddOptAssWatch=!1,_.each(this.optAssWatchList,(e=>{e()}))},insertDesc(){this.$refs.field},async loadRemoteByFieldMap(e){let t=_.get(this.fieldConf,"mappings");if(console.log("mappings",t),"SelectFromForm"!=this.fieldConf.type||!t||_.isEmpty(t))return;let n=await this.getRemoteByFieldMap();if(!n){let e={};_.each(t,(t=>{e[t.local_field_id]=null})),console.log("_mappingsResult",e),n=e}this.container&&this.container.changeValueByMapping&&this.container.changeValueByMapping(e,n)},async getRemoteByFieldMap(){let e=_.get(this.fieldConf,"mappings");if("SelectFromForm"!=this.fieldConf.type||!e||_.isEmpty(e)||!this.value)return;let t=_.get(this.fieldConf,"id");return(await this.$bpm.loadRmoteFieldMap({fieldId:t,params:{form_id:this.value},cusFormName:this.container.cusFormId||_.get(this.container,"form.cusFormId"),container:this.container})).data}}}),e}()]},l=(0,n(4486).A)(s,i,[],!1,null,null,null);l.options.__file="components/lib/bpmSubFormField/src/main.vue";var d=l.exports;d.install=function(e){e.component(d.name,d)};var c=d},1885:function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(5093))},1918:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o)()(a());r.push([e.id,"\n.vue-street-view-pano-container {\n position: relative;\n}\n.vue-street-view-pano-container .vue-street-view-pano {\n left: 0; right: 0; top: 0; bottom: 0;\n position: absolute;\n}\n",""]),t.A=r},1933:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return S}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-date-time",attrs:{fieldConf:e.fieldConf,row:e.row,mode:e.mode,container:e.container,uiType:e.uiType},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-date-time-edit"},[n("el-date-picker",{attrs:{placeholder:e.placeholder,format:e.format,"picker-options":e.pickerOptions,"value-format":e.checkFormat,type:e.type,"default-value":e.defaultVal,clearable:e.clearable,disabled:e.disabled},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}})],1)};a._withStripped=!0;var o=n(6773),r=n.n(o),s=n(5554),l=n.n(s),d=n(7642);const c=n(5093);l().use(d.DatePicker);var u={data(){return{curVal:""}},props:["value","fieldConf","row","clearable","disabled","container"],watch:{value(){this.curVal=this.value}},computed:{type(){let e=r().toLower(r().get(this.fieldConf,"type"));return this.isMonth?"month":e},isMonth(){return"C1M"==r().get(this.fieldConf,"range_type")},placeholder(){return this.fieldConf.desc||this.fieldConf.name},format(){let e=r().get(this.fieldConf,"view.format");return e&&(e=e.replaceAll("Y","y"),e=e.replaceAll("D","d")),e},max(){return this.analyzeLimit("tmax")},min(){return this.analyzeLimit("tmin")},limit(){return r().get(this.fieldConf,"check.limit","")},pickerOptions(){let e=this;return{disabledDate(t){let n=!1,i=t.getDay(),a=t.getDate();if(e.max&&(n=t.getTime()>e.max.getTime()),!n&&e.min&&(n=t.getTime()<e.min.getTime()),!n&&e.limit){let t=e.limit.split(","),o=[],r=[],s=!1;t.forEach((e=>{let t=e.split("|");"W"===t[0]&&o.push(parseInt(t[1])),"M"===t[0]&&r.push(parseInt(t[1]))})),(o.length||r.length)&&(s=o.includes(i)||r.includes(a),n=!s)}return n}}},checkFormat(){let e=r().get(this.fieldConf,"check.format");return e&&(e=e.replaceAll("Y","y"),e=e.replaceAll("D","d")),e},defaultVal(){return new Date}},mounted(){this.curVal=this.value},methods:{_getActulMax(){let e=null;return e="Date"==this.fieldConf.type?this.analyzeLimit("tmax",!0,!0):this.analyzeLimit("tmax",!1,!1),e},_getActulMin(){let e=null;return e="Date"==this.fieldConf.type?this.analyzeLimit("tmin",!0,!1):this.analyzeLimit("tmin",!1,!1),e},handleChange(e){let t=new Date(e);console.log("handleChange_time_value",t);let n=this._getActulMax(),i=this._getActulMin();console.log("actul_max",n),console.log("actul_min",i);let a=!1,o=!1;n&&t.getTime()>n.getTime()&&(a=!0),i&&t.getTime()<i.getTime()&&(o=!0);let r=c(i).format("YYYY-MM-DD HH:mm"),s=c(n).format("YYYY-MM-DD HH:mm");a&&o?(this.$message({message:this.fieldConf.name+":"+zj.z("最小时间限制为","c.minimum_time_limit_tip")+r+","+zj.z("最大时间限制为","c.maximum_time_limit_tip")+s,type:"warning"}),this.curVal=this.value):a?(this.$message({message:this.fieldConf.name+":"+zj.z("最大时间限制为","c.maximum_time_limit_tip")+s,type:"warning"}),this.curVal=this.value):o?(this.$message({message:this.fieldConf.name+":"+zj.z("最小时间限制为","c.minimum_time_limit_tip")+r,type:"warning"}),this.curVal=this.value):(this.$emit("input",e),this.$emit("change",e))},analyzeLimit(e,t=!0,n=!1){console.log("analyzeLimit_type",e),console.log("analyzeLimit_this.fieldConf",this.fieldConf);let i=r().get(this.fieldConf,`check.${e}`);if(!i)return;let a=null,o=(new Date).getTime();switch(i.type){case"LimitDateOffset":var s=i.offset_days;a=this.deltaToDate(o,s,t,n);break;case"LimitDateOffsetByField":var l=i.offset_days,d=r().get(this.container,`formData.${i.field}`);if(!d)return 0;a=this.deltaToDate(d,l,t,n);break;case"LimitDateByValue":var c=i.value;c=new Date(c).getTime(),this.deltaToDate(c,0,t,n)}return a},deltaToDate(e,t,n=!0,i=!1){let a=(e=new Date(e)).getDate()+t;return e.setDate(a),n&&e.setHours(0,0,0,0),i&&e.setHours(23,59,59,0),e}}},m=n(4486),f=(0,m.A)(u,a,[],!1,null,null,null);f.options.__file="components/lib/bpmDateTime/src/part/editor.vue";var h=f.exports,p=function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",{attrs:{title:e.dateTimeStr}},[e._v(e._s(e.dateTimeStr))])};p._withStripped=!0;var _=n(4709),g=n.n(_),y=n(9795),b={props:["value","fieldConf","row"],data(){return{dateTimeStr:""}},computed:{format(){return r().get(this.fieldConf,"view.format")}},watch:{value(e){this.dateTimeStr=this.formatViewTime()}},mounted(){this.dateTimeStr=this.formatViewTime()},methods:{formatViewTime(){let e,t=this.value;if(!t)return"";if(r().isInteger(t)&&13!=r().toString(t).length&&(t*=1e3),(0,y.Fr)()?(t=t.replace(/-/g,"/"),t=t.replace(/T/g," "),t=t.padEnd(10,"/01/01"),e=new Date(t).getTime()):e=new Date(t).getTime(),r().isInteger(e)){let t=g().format(e,this.format);return-1!=t.indexOf("1970")?"--":t}return-1!=this.value.indexOf("1970")?"--":this.value}}},v=(0,m.A)(b,p,[],!1,null,null,null);v.options.__file="components/lib/bpmDateTime/src/part/reader.vue";var w=v.exports,M={name:"BpmDateTime",components:{editorComponent:h,readerComponent:w},props:{value:{type:[String,Number]},fieldConf:{type:Object,default(){return{}}},container:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}}},computed:{curComponent(){return"view"==this.mode?w:h}},data(){return{curVal:""}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},k=(0,m.A)(M,i,[],!1,null,null,null);k.options.__file="components/lib/bpmDateTime/src/main.vue";var L=k.exports;L.install=function(e){e.component(L.name,L)};var S=L},1962:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314);n.n(o)()(a()).push([e.id,".bpm-audit .audit-editor .aduit-result,\n.bpm-audit .audit-reader .aduit-result {\n padding: 0px 10px;\n border-radius: 8px;\n overflow: hidden;\n line-height: 25px;\n height: 25px;\n box-sizing: border-box;\n display: inline-block;\n vertical-align: middle;\n}\n",""])},2017:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var i,a,o;if(Array.isArray(t)){if((i=t.length)!=n.length)return!1;for(a=i;0!=a--;)if(!e(t[a],n[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((i=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(a=i;0!=a--;)if(!Object.prototype.hasOwnProperty.call(n,o[a]))return!1;for(a=i;0!=a--;){var r=o[a];if(!e(t[r],n[r]))return!1}return!0}return t!=t&&n!=n}},2023:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9029),a={data:new i.Name("data"),valCxt:new i.Name("valCxt"),instancePath:new i.Name("instancePath"),parentData:new i.Name("parentData"),parentDataProperty:new i.Name("parentDataProperty"),rootData:new i.Name("rootData"),dynamicAnchors:new i.Name("dynamicAnchors"),vErrors:new i.Name("vErrors"),errors:new i.Name("errors"),this:new i.Name("this"),self:new i.Name("self"),scope:new i.Name("scope"),json:new i.Name("json"),jsonPos:new i.Name("jsonPos"),jsonLen:new i.Name("jsonLen"),jsonPart:new i.Name("jsonPart")};t.default=a},2042:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return T}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-area",attrs:{fieldConf:e.fieldConf,row:e.row,isMultiple:e.isMultiple,mode:e.mode,uiType:e.uiType},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"select-area-editor"},[n("div",{on:{click:e.toOpen}},[e.label?n("div",[e._v("\n "+e._s(e.label)+"\n ")]):n("div",[n("el-button",{attrs:{size:"small",icon:"el-icon-location-outline"}},[e._v(" "+e._s(e.$z("选择区域","c.select_area")))])],1)]),e._v(" "),n("el-dialog",e._g(e._b({attrs:{top:"10vh",visible:e.opened,"before-close":e.onHide,width:"65%",title:e.fieldConf.name,fullscreen:!1,"append-to-body":""},on:{"update:visible":function(t){e.opened=t},open:e.onOpen}},"el-dialog",e.$attrs,!1),e.$listeners),[n("div",[e._v("\n "+e._s(e.$z("当前选中","b2.common.selected"))+":\n "),n("el-tag",[e._v(e._s(e.cur_label?e.cur_label:e.label))])],1),e._v(" "),e.refresh?n("div",{staticClass:"subcategory-tree-box"},[n("div",{staticClass:"subcategory-tree",staticStyle:{"max-height":"550px",overflow:"auto"}},[n("el-tree",{ref:"tree",attrs:{props:e.defaultProps,lazy:"","node-key":"id","show-checkbox":!0,load:e.onLazyTreeLoad,"expand-on-click-node":!0,"check-strictly":!0},on:{"node-click":e.handleNodeClick,check:e.handleCheck},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.node;return n("span",{staticClass:"custom-tree-node"},[n("div",{staticClass:"tree-body-content"},[n("div",[e._v(e._s(i.label))]),e._v(" "),"strict"==e.tickStrategy&&i.lazy&&i.selectable?n("span",{on:{click:function(t){return t.stopPropagation(),e.expand(i.id,"force")}}},[e._v(e._s(e.$z("选择","c.choose")))]):e._e()])])}}],null,!1,3939466302)})],1)]):e._e(),e._v(" "),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:e.confirm}},[e._v(e._s(e.$z("确认","c.confirm")))])],1)]),e._v(" "),e.openLocate?n("room-map-select",{attrs:{field:e.field,drawingMd5s:e.drawingMd5s,defaultPoints:e.points,subareas:e.subareas},on:{save:e.savePlan}}):e._e()],1)};a._withStripped=!0;var o=n(5554),r=n.n(o),s=n(6773),l=n.n(s),d=n(7642),c=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",[e._v("\n slsls\n")])};c._withStripped=!0;var u=n(4486),m=(0,u.A)({},c,[],!1,null,null,null);m.options.__file="components/lib/bpmArea/src/part/room-map-select.vue";var f=m.exports;r().use(d.Dialog);var h={props:["value","fieldConf","row","formName","orgInfo","isMultiple"],components:{RoomMapSelect:f},inject:["selectOptions"],data(){return{curVal:"",label:zj.z("选择区域","c.select_area"),cur_label:"",keyword:"",opened:!1,debounceSearch:l().debounce(l().bind(this.search,this),150,{trailing:!0,leading:!1}),formList:[],treeItemMap:{},subareas:[],drawingMd5s:[],refresh:!0,selectedKey:"",defaultProps:{children:"children",label:"label",isLeaf:"isLeaf"},selectList:[],allAreaMap:{}}},watch:{value(){this.curVal=this.value,this.loadRemoteLabel()},selectedKey(e){e&&this.selected(e)},getSelectOptions(e){this.refresh=!1,this.selectList=e,setTimeout((()=>{this.refresh=!0}),500)}},computed:{tickStrategy(){return"leaf_only"==l().get(this.fieldConf,"can","all")?"leaf-filtered":"strict"},openLocate(){return l().get(this.fieldConf,"enable_locate")},points(){return l().get(this.value,"all_points",[])},canSelect(){return l().get(this.fieldConf,"can")},getSelectOptions(){return this.selectOptions?this.selectOptions():[]}},mounted(){this.curVal=this.value,this.loadRemoteLabel()},methods:{confirm(){let e=this.selectedKey;e=l().toString(e);let t=l().get(this.treeItemMap,e,null);t&&(this.label=t.label,t=l().cloneDeep(t),delete t.label,delete t.lazy,delete t.path_names,delete t.pathNames,delete t.selectable,delete t.haspic,delete t.children,this.value,this.$emit("input",{id:t.id,path_ids:t.path_ids,all_points:[],type:t.type}),this.toClose())},handleNodeClick(e){console.log("data",e),e.selectable&&(this.selectedKey=l().get(e,"id",""))},handleCheck(e,t){console.log("data",e),console.log("state",t),this.selectedKey=l().get(e,"id","")},toOpen(){this.opened=!0},toClose(){this.opened=!1},reset(){try{let e=this.value;this.selectedKey=l().get(e,"id","")}catch(e){this.selectedKey=""}},async onOpen(){if(l().isEmpty(this.selectList)||!this.selectList){let e=await this.loadList("");this.selectList=e,this.reset()}this.opened=!0},clear(){this.removeValue(),this.resetLabel(),this.selectedKey=""},onLazyTreeLoad(e,t){setTimeout((async()=>{let n=[];n=0==e.level?await this._loadNextCategoryList(""):await this._loadNextCategoryList(e.data.id),this.setCategoryInMap(n),t(n)}),500)},async _loadNextCategoryList(e){let t=await this.loadList(e);return this.transformResultToTree(t)},transformResultToTree(e){let t=this.canSelect;return l().map(e,(e=>{let n=e.drawing_md5s;n=l().compact(n);let i={id:e.id,lazy:e.is_parent,label:e.name,isLeaf:!e.is_parent,path_ids:e.path_ids,path_names:e.path_names,selectable:e.available,disabled:!e.available,haspic:!!n.length,type:e.type};return"building_floor"==t&&3==e.type&&(i.lazy=!1),l().set(this.treeItemMap,e.id,i),i}))},async loadList(e){let t=this.search_keyword,n=JSON.stringify({id:e,path_ids:l().get(this.treeItemMap,`${e}.path_ids`),type:l().get(this.treeItemMap,`${e}.type`)}),i=zj.pageParam({father:n,q:t});e||delete i.father,this.selectFields&&(i.fields=this.selectFields);let a=await this.$bpm.loadSelectLinkageResult({fieldId:this.fieldConf.id,params:i,cusFormName:this.formName,field:this,container:this.container});return console.log("data",a),a},setCategoryInMap(e){l().each(e,(e=>{l().set(this.allAreaMap,e.value,e)}))},_setCheckedKeys(e){this.$refs.tree.setCheckedKeys([]),this.$refs.tree.setCheckedKeys([e])},selected(e,t){e=l().toString(e);let n=l().get(this.treeItemMap,e,null);n&&e&&n.selectable&&(this._setCheckedKeys(e),this.cur_label=n.label)},expand(e,t){if(e=l().toString(e),!l().get(this.treeItemMap,e,null).lazy||t)this.selected(e,t);else{let t=this.$refs.tree.isExpanded(l().toInteger(e));this.$refs.tree.setExpanded(l().toInteger(e),!t)}},savePlan(e){this.curVal.all_points=l().cloneDeep(e),this.$emit("input",this.curVal.all_points),this.$emit("change",this.curVal.all_points)},async search(){let e=this.search_keyword;if(this.keyword=e,this.expandedKeys=[],!e)return;this.$bpm.setFuncGIO("区域搜索");let t=await this._loadNextCategoryList("");this.changeLazy(t),this.filterNodes=t},changeLazy(e){this.setCategoryInMap(e),l().each(e,(e=>{this.expandedKeys.push(e.value),e.lazy=!1,e.expandable=!0,e.children&&this.changeLazy(e.children)}))},async loadRemoteLabel(){if(!this.value)return;let e=this.value;if(!l().isNil(e)&&e)try{this.loading=!0,e=l().cloneDeep(e),delete e.all_points,delete e.path_ids,delete e.type,e=JSON.stringify(e);let t=await this.$bpm.fetchLabelByValue(e,this.fieldConf.id,this.formName,this,"id",this.row);this.subareas=l().get(t,"subareas",[]),this.drawingMd5s=l().get(t,"drawing_md5s",[]);let n=l().join(t.path_names,"/");this.label=`${n}${n?"/":""}${t.name}`}finally{this.loading=!1}else this.label=""},onHide(){this.opened=!1}}},p=(0,u.A)(h,a,[],!1,null,null,null);p.options.__file="components/lib/bpmArea/src/part/editor.vue";var g=p.exports,y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"select-area-editor"},[n("div",{on:{click:function(t){return t.stopPropagation(),e.toOpen.apply(null,arguments)}}},[e.labels.length>0?n("div",[e._l(e.labels,(function(t){return n("el-tag",{key:t,staticStyle:{"margin-right":"10px","margin-top":"5px"}},[e._v(e._s(t))])})),e._v(" "),n("i",{staticClass:"el-icon-circle-close",on:{click:function(t){return t.stopPropagation(),e.delAllItem()}}})],2):n("div",[n("el-button",{attrs:{size:"small",icon:"el-icon-location-outline"}},[e._v(" "+e._s(e.$z("选择区域","c.select_area")))])],1)]),e._v(" "),n("el-dialog",e._g(e._b({attrs:{visible:e.opened,"before-close":e.onHide,width:"65%",title:e.fieldConf.name,fullscreen:!1,"append-to-body":""},on:{"update:visible":function(t){e.opened=t},open:e.onOpen}},"el-dialog",e.$attrs,!1),e.$listeners),[n("div",[e._v("\n "+e._s(e.$z("当前选中","b2.common.selected"))+":\n "),e._l(e.labelObjs,(function(t,i){return[i<5?n("el-tag",{key:t.id,staticStyle:{"margin-right":"10px","margin-top":"5px"},attrs:{closable:""},on:{close:function(n){return e.delHandle(t)}}},[e._v(e._s(t.pathNames))]):e._e()]})),e._v(" "),e.labelObjs.length>5?n("el-dropdown",[n("el-button",{attrs:{type:"primary"}},[e._v("\n "+e._s(e.$z("更多","c.more"))),n("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e._l(e.labelObjs,(function(t,i){return[i>=5?n("el-dropdown-item",{key:t.id},[n("el-tag",{staticStyle:{"margin-right":"10px","margin-top":"5px"},attrs:{closable:""},on:{close:function(n){return e.delHandle(t)}}},[e._v(e._s(t.pathNames))])],1):e._e()]}))],2)],1):e._e()],2),e._v(" "),e.refresh?n("div",{staticClass:"subcategory-tree-box"},[n("div",{staticClass:"subcategory-tree",staticStyle:{"max-height":"550px",overflow:"auto"}},[n("el-tree",{ref:"tree",attrs:{props:e.defaultProps,lazy:"","node-key":"id","show-checkbox":!0,load:e.onLazyTreeLoad,"expand-on-click-node":!1,"check-on-click-node":!0,"check-strictly":!0},on:{"node-click":e.handleNodeClick,"check-change":e.handleCheckChange},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.node;return n("span",{staticClass:"custom-tree-node"},[n("div",{staticClass:"tree-body-content"},[n("div",[e._v(e._s(i.label))]),e._v(" "),"strict"==e.tickStrategy&&i.lazy&&i.selectable?n("span",{on:{click:function(t){return t.stopPropagation(),e.expand(i.id,"force")}}},[e._v(e._s(e.$z("选择","c.choose")))]):e._e()])])}}],null,!1,3939466302)})],1),e._v(" "),n("div",{staticStyle:{display:"flex","flex-direction":"row-reverse"}},[n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v(e._s(e.$z("确认","c.confirm")))]),e._v(" "),n("el-button",{staticStyle:{"margin-right":"10px"},on:{click:function(t){return e.clear()}}},[e._v(e._s(e.$z("重置","c.reset")))])],1)]):e._e()]),e._v(" "),e.openLocate?n("room-map-select",{attrs:{field:e.field,drawingMd5s:e.drawingMd5s,defaultPoints:e.points,subareas:e.subareas},on:{save:e.savePlan}}):e._e()],1)};y._withStripped=!0,r().use(d.Dialog);var b={props:["value","fieldConf","row","formName","orgInfo","isMultiple"],components:{RoomMapSelect:f},inject:["selectOptions"],data(){return{curVal:[],label:zj.z("选择区域","c.select_area"),labels:[],labelObjs:[],keyword:"",opened:!1,debounceSearch:l().debounce(l().bind(this.search,this),150,{trailing:!0,leading:!1}),formList:[],treeItemMap:{},subareas:[],drawingMd5s:[],refresh:!0,selectedKeys:[],selectedItems:[],defaultProps:{children:"children",label:"label",isLeaf:"isLeaf"},selectList:[],allAreaMap:{}}},watch:{value(){this.curVal=this.value,this.selectedKeys=l().map(this.curVal,(e=>e.id)),this.loadRemoteLabel()},selectedKeys(e){e&&this.selected(e)},getSelectOptions(e){this.refresh=!1,this.selectList=e,setTimeout((()=>{this.refresh=!0}),500)}},computed:{tickStrategy(){return"leaf_only"==l().get(this.fieldConf,"can","all")?"leaf-filtered":"strict"},openLocate(){return l().get(this.fieldConf,"enable_locate")},points(){return l().get(this.value,"all_points",[])},canSelect(){return l().get(this.fieldConf,"can")},getSelectOptions(){return this.selectOptions?this.selectOptions():[]}},mounted(){this.curVal=this.value,this.loadRemoteLabel()},methods:{delAllItem(){this.clear(),this.$nextTick((()=>{this.onSubmit()}))},delHandle(e){this.selectedKeys=l().filter(this.selectedKeys,(t=>t!=e.id)),this.setCheckedNode(this.selectedKeys)},handleNodeClick(e){},setCheckedNode(e){let t=[];t=e||l().map(this.value,(e=>e.id)),this.$refs.tree&&this.$refs.tree.setCheckedKeys(t)},handleCheckChange(e,t,n){t?this.selectedKeys.push(e.id):this.selectedKeys=l().filter(this.selectedKeys,(t=>t!=e.id))},toOpen(){this.opened=!0},toClose(){this.opened=!1},reset(){this.selectedKeys=[]},onSubmit(){console.log("this.selectItems",this.selectedItems),this.$emit("input",this.selectedItems),this.toClose()},async onOpen(){this.opened=!0},clear(){this.selectedKeys=[],this.selectedItems=[],this.labels=[],this.labelObjs=[],this.curVal=[],this.setCheckedNode([])},onLazyTreeLoad(e,t){setTimeout((async()=>{let n=[];0==e.level?(n=await this._loadNextCategoryList(""),this.setCheckedNode()):n=await this._loadNextCategoryList(e.data.id),this.setCategoryInMap(n),t(n)}),500)},async _loadNextCategoryList(e){let t=await this.loadList(e);return this.transformResultToTree(t)},transformResultToTree(e){let t=this.canSelect;return this.loading=!1,l().map(e,(e=>{let n=!0;switch(t){case"any":n=!0;break;case"leaf_only":n=!e.is_parent;break;case"building":n=2==e.type;break;case"floor":n=3==e.type;break;case"building_floor":n=2==e.type||3==e.type;break;case"suite":n=4==e.type||5==e.type;break;case"suite_ex":n=4==e.type||5==e.type||6==e.type}let i=l().join(e.path_names,"/"),a={id:e.id,lazy:e.is_parent,isLeaf:!e.is_parent,label:e.name,type:e.type,path_ids:e.path_ids,path_names:e.path_names,pathNames:`${i}${i?"/":""}${e.name}`,tickable:n,noTick:!n};return"building_floor"==t&&3==e.type&&(a.lazy=!1,a.isLeaf=!0),l().set(this.treeItemMap,e.id,a),a}))},async loadList(e){let t=this.search_keyword,n=JSON.stringify({id:e,path_ids:l().get(this.treeItemMap,`${e}.path_ids`),type:l().get(this.treeItemMap,`${e}.type`)}),i=zj.pageParam({father:n,q:t});return e||delete i.father,this.selectFields&&(i.fields=this.selectFields),await this.$bpm.loadSelectLinkageResult({fieldId:this.fieldConf.id,params:i,cusFormName:this.formName,field:this,container:this.container})},setCategoryInMap(e){l().each(e,(e=>{l().set(this.allAreaMap,e.value,e)}))},selected(e,t){this.selectedItems=[],e&&e.length>0&&l().each(e,(e=>{e=l().toString(e);let t=l().get(this.treeItemMap,e,null);t&&(this.label=t.label,t=l().cloneDeep(t),this.selectedItems.push({id:t.id,path_ids:t.path_ids,all_points:[],type:t.type}))})),this.curVal=l().cloneDeep(this.selectedItems),this.loadRemoteLabel()},expand(e,t){if(e=l().toString(e),!l().get(this.treeItemMap,e,null).lazy||t)this.selected(e,t);else{let t=this.$refs.tree.isExpanded(l().toInteger(e));this.$refs.tree.setExpanded(l().toInteger(e),!t)}},savePlan(e){this.curVal.all_points=l().cloneDeep(e),this.$emit("input",this.curVal.all_points),this.$emit("change",this.curVal.all_points)},async search(){let e=this.search_keyword;if(this.keyword=e,this.expandedKeys=[],!e)return;this.$bpm.setFuncGIO("区域搜索");let t=await this._loadNextCategoryList("");this.changeLazy(t),this.filterNodes=t},changeLazy(e){this.setCategoryInMap(e),l().each(e,(e=>{this.expandedKeys.push(e.value),e.lazy=!1,e.isLeaf=!0,e.expandable=!0,e.children&&this.changeLazy(e.children)}))},async loadRemoteLabel(){if(this.curVal)if(!l().isNil(this.curVal)&&this.curVal&&0!=this.curVal.length)try{let e=[];l().each(this.curVal,(t=>{e.push(JSON.stringify(t))})),this.loading=!0;let t=await this.$bpm.fetchLabelByValues(e,this.fieldConf.id,this.formName,this,"id");this.subareas=l().get(t,"subareas",[]),this.drawingMd5s=l().get(t,"drawing_md5s",[]),this.labels=[];let n=l().map(t,(e=>{let t=l().join(e.path_names,"/");return e.pathNames=`${t}${t?"/":""}${e.name}`,l().set(this.treeItemMap,e.id,e),e.pathNames}));this.labelObjs=l().cloneDeep(t),this.labels=l().cloneDeep(n),n=l().join(n,", "),this.label=n}finally{this.loading=!1}else this.label=zj.z("选择区域","c.select_area")},onHide(){this.opened=!1}}},v=(0,u.A)(b,y,[],!1,null,null,null);v.options.__file="components/lib/bpmArea/src/part/multi-editor.vue";var w=v.exports,M=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"area-reader"},[e.isMultiple?[e.openLocate?e._l(e.labelObjs,(function(t){return n("div",{key:t.id},[n("el-tag",{staticStyle:{"margin-right":"10px","margin-top":"5px"}},[e._v(e._s(t.pathNames))]),e._v(" "),e.openLocate?n("room-map-select",{attrs:{drawingMd5s:t.drawingMd5s,defaultPoints:e.points,subareas:t.subareas}}):e._e()],1)})):e._l(e.labelObjs,(function(t){return n("el-tag",{key:t.id,staticStyle:{"margin-right":"10px","margin-top":"5px"}},[e._v(e._s(t.pathNames))])}))]:[n("span",{attrs:{title:e.label}},[e._v(e._s(e.label)+" "),n("i",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}],staticClass:"el-icon-loading",attrs:{size:"14px"}})]),e._v(" "),e.openLocate?n("room-map-select",{attrs:{drawingMd5s:e.drawingMd5s,defaultPoints:e.points,subareas:e.subareas}}):e._e()]],2)};M._withStripped=!0;var k={props:["value","fieldConf","row","formName","orgInfo","isMultiple"],components:{RoomMapSelect:f},data(){return{label:"",labelObjs:[],loading:!1,subareas:[],drawingMd5s:[],curVal:[]}},watch:{value(){this.curVal=this.value,this.isMultiple?this.loadRemoteLabels():this.loadRemoteLabel()}},computed:{openLocate(){return _.get(this.fieldConf,"enable_locate")},points(){return _.get(this.value,"all_points",[])}},mounted(){this.curVal=this.value,this.isMultiple?this.loadRemoteLabels():this.loadRemoteLabel()},methods:{async loadRemoteLabel(){let e="";if(e=_.isArray(this.value)?this.value[0]:this.value,!_.isNil(e)&&e)try{this.loading=!0,e=_.cloneDeep(e),delete e.all_points,delete e.path_ids,delete e.type,e=JSON.stringify(e);let t=await this.$bpm.fetchLabelByValue(e,this.fieldConf.id,this.formName,this,"id",this.row);this.subareas=_.get(t,"subareas",[]),this.drawingMd5s=_.get(t,"drawing_md5s",[]);let n=_.join(t.path_names,"/");this.label=`${n}${n?"/":""}${t.name}`,this.loading=!1}finally{this.loading=!1}else this.label=zj.z("未选择","c.not_selected")},async loadRemoteLabels(){if(!_.isNil(this.curVal)&&this.curVal&&0!=this.curVal.length)try{let e=[];_.each(this.curVal,(t=>{e.push(JSON.stringify(t))})),this.loading=!0;let t=await this.$bpm.fetchLabelByValues(e,this.fieldConf.id,this.formName,this,"id");this.labels=[];let n=_.map(t,(e=>{let t=_.join(e.path_names,"/");return e.pathNames=`${t}${t?"/":""}${e.name}`,_.set(this.treeItemMap,e.id,e),e.pathNames}));this.labelObjs=_.cloneDeep(t),this.labels=_.cloneDeep(n),n=_.join(n,", "),this.label=n}finally{this.loading=!1}}}},L=(0,u.A)(k,M,[],!1,null,null,null);L.options.__file="components/lib/bpmArea/src/part/reader.vue";var S=L.exports,x={name:"BpmArea",components:{editorComponent:g,multiEditorComponent:w,readerComponent:S},props:{value:{type:[String,Array,Number]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},isMultiple:{type:Boolean,default(){return!1}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?S:this.isMultiple?w:g}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},D=(0,u.A)(x,i,[],!1,null,null,null);D.options.__file="components/lib/bpmArea/src/main.vue";var C=D.exports;C.install=function(e){e.component(C.name,C)};var T=C},2079:function(e){"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},2105:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9029),a={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxProperties"===e?"more":"fewer";return i.str`must NOT have ${n} than ${t} properties`},params:({schemaCode:e})=>i._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:a}=e,o="maxProperties"===t?i.operators.GT:i.operators.LT;e.fail$data(i._`Object.keys(${n}).length ${o} ${a}`)}};t.default=a},2124:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return i?a[n][0]:a[n][1]}e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){return"D"===t?e+"वेर":e},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}})}(n(5093))},2128:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(3463),a=n(3693),o=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",i.default,a.default];t.default=o},2172:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314);n.n(o)()(a()).push([e.id,".bpm-text-edit .prefab-words[data-v-9e58c8e8] {\n padding-top: 10px;\n}\n.bpm-text-edit .prefab-words ul[data-v-9e58c8e8],\n.bpm-text-edit .prefab-words li[data-v-9e58c8e8] {\n margin: 0;\n padding: 0;\n list-style: none;\n}\n.bpm-text-edit .prefab-words ul[data-v-9e58c8e8] {\n overflow: hidden;\n margin-top: 5px;\n}\n.bpm-text-edit .prefab-words li[data-v-9e58c8e8] {\n float: left;\n min-height: 28px;\n line-height: 28px;\n cursor: pointer;\n min-width: 50px;\n font-size: 14px;\n padding: 0 10px;\n margin-right: 10px;\n border: 1px solid #DCDCDC;\n border-radius: 100px;\n color: #666666;\n text-align: center;\n margin-bottom: 5px;\n}\n.bpm-text-edit .prefab-words li.active[data-v-9e58c8e8] {\n background: #1EAAD0;\n border: 1px solid #1EAAD0;\n color: #fff;\n}\n.bpm-text-view.table-text-view.Text-view[data-v-9e58c8e8],\n.bpm-text-view.table-text-view.TextArea-view[data-v-9e58c8e8] {\n word-break: break-word;\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 5;\n -webkit-box-orient: vertical;\n}\n.TextArea-view[data-v-9e58c8e8] {\n white-space: pre-wrap;\n}\n.bpm-text-popper[data-v-9e58c8e8] {\n padding: 10px !important;\n}\n",""])},2179:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",["view"===e.mode?n("div",{staticStyle:{display:"flex","max-width":"360px",cursor:"pointer"},attrs:{title:e.value},on:{click:e.openOptionsModal}},[n("span",{staticStyle:{flex:"1"}},[e._v("\n "+e._s(e.label||"--")+"\n ")]),e._v(" "),n("i",{staticClass:"fa fa-angle-right",attrs:{"aria-hidden":"true"}})]):n("div",{staticStyle:{display:"flex","max-width":"360px",cursor:"pointer"},attrs:{title:e.value},on:{click:e.openOptionsModal}},[n("span",{staticStyle:{flex:"1"}},[e._v("\n "+e._s(e.label||(e.loading?""+e.$z("加载中","c.loading"):""+e.$z("请选择","c.please_select")+e.fieldConf.name+"(多选)"))+"\n "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}],staticClass:"typing_loader"})]),e._v(" "),n("i",{staticClass:"fa fa-angle-right",attrs:{"aria-hidden":"true"}})]),e._v(" "),n("el-dialog",{attrs:{title:e.fieldConf.name,visible:e.optionsModalShow,width:"50%",top:"10vh","custom-class":"bpm-select-entrance-form"},on:{"update:visible":function(t){e.optionsModalShow=t},close:e.handleClose}},[n("div",{staticClass:"main-wrap",style:{maxHeight:"70vh",overflow:"auto"}},["view"===e.mode?e._l(e.items,(function(t){return n("el-card",{key:t.form_id,staticClass:"select-option-card",attrs:{shadow:"hover","body-style":{padding:"10px 20px"}}},[n("div",{attrs:{slot:"header"},slot:"header"},[n("span",[e._v(e._s(t.title))])]),e._v(" "),n("div",{staticClass:"card-body-content"},[n("div",[n("span",{staticClass:"bpm-status_tag-status",style:{background:e.getStatus(t.f_fields[e.statusField.id],"color")}},[e._v(e._s(e.getStatus(t.f_fields[e.statusField.id],"label")))])]),e._v(" "),e._l(e.descFields,(function(i){return n("div",{key:i.id},[n("label",{staticClass:"label"},[e._v(e._s(i.name))]),e._v(" "),n("span",[e._v(e._s(t.f_fields[i.id]))])])}))],2)])})):[n("div",{staticClass:"search-wrap"},[e.enableSearchText?n("el-input",{attrs:{placeholder:e.$z("搜索","c.search_tip")},on:{input:e.debounceSearch},model:{value:e.keyword,callback:function(t){e.keyword=t},expression:"keyword"}},[n("i",{staticClass:"el-input__icon el-icon-search",staticStyle:{cursor:"pointer"},attrs:{slot:"suffix"},on:{click:e.debounceSearch},slot:"suffix"})]):e._e(),e._v(" "),n("el-button",{staticStyle:{"margin-left":"10px"},on:{click:function(t){e.filterModalShow=!0}}},[n("i",{staticClass:"fa fa-filter",attrs:{"aria-hidden":"true"}})])],1),e._v(" "),n("ul",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:e.loadMore,expression:"loadMore"}],staticClass:"edit-list"},[n("el-checkbox-group",{model:{value:e.selectedVals,callback:function(t){e.selectedVals=t},expression:"selectedVals"}},e._l(e.items,(function(t){return n("li",{key:t.form_id,staticClass:"edit-list-item"},[n("el-checkbox",{staticClass:"checkbox",attrs:{label:t.id}},[e._v(e._s())]),e._v(" "),n("el-card",{key:t.form_id,staticClass:"select-option-card",attrs:{shadow:"hover","body-style":{padding:"10px 20px"}}},[n("div",{attrs:{slot:"header"},slot:"header"},[n("span",[e._v(e._s(t.title))])]),e._v(" "),n("div",{staticClass:"card-body-content"},[n("div",[n("span",{staticClass:"bpm-status_tag-status",style:{background:e.getStatus(t.f_fields[e.statusField.id],"color")}},[e._v(e._s(e.getStatus(t.f_fields[e.statusField.id],"label")))])]),e._v(" "),e._l(e.descFields,(function(i){return n("div",{key:i.id},[n("label",{staticClass:"label"},[e._v(e._s(i.name))]),e._v(" "),n("span",[e._v(e._s(t.f_fields[i.id]))])])}))],2)])],1)})),0)],1)],e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.optionsLoading,expression:"optionsLoading"}],staticStyle:{"text-align":"center",margin:"46px auto"}},[n("span",{staticClass:"typing_loader"})]),e._v(" "),e.optionsLoading||e.items.length?e._e():n("div",[e._v("\n "+e._s(e.$z("暂无记录信息","c.no_record"))+"\n ")])],2),e._v(" "),"edit"===e.mode?n("footer",{staticClass:"footer",attrs:{slot:"footer"},slot:"footer"},[n("div",[n("el-checkbox",{attrs:{label:e.$z("全选","c.select_all")},on:{change:e.handleCheckAll},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}}),e._v(" "),e.selectedLabel?n("span",{staticClass:"subtext"},[e._v(e._s(e.selectedLabel))]):e._e()],1),e._v(" "),n("el-button",{staticClass:"width-button",attrs:{type:"primary",disabled:!e.selectedVals.length},on:{click:e.onSubmit}},[e._v(e._s(e.$z("保存","c.save")))])],1):e._e()]),e._v(" "),n("el-dialog",{attrs:{title:e.$z("数据筛选","b2.common.data_filter"),visible:e.filterModalShow,width:"50%","custom-class":"bpm-select-entrance-form"},on:{"update:visible":function(t){e.filterModalShow=t},close:function(t){e.filterModalShow=!1}}},[n("div",{staticStyle:{"max-height":"70vh",overflow:"auto"}},[n("BpmFieldsFilter",{ref:"searchForm",attrs:{searchSchema:e.searchSchema,verifySchema:e.verifySchema,orgInfo:e.orgInfo,formDefId:e.formSchema.id,showAll:!0,queryExclude:!0},on:{search:e.handleFilterReady}})],1),e._v(" "),n("span",{attrs:{slot:"footer"},slot:"footer"},[n("el-button",{staticClass:"width-button",on:{click:e.handleResetFilter}},[e._v(e._s(e.$z("重置","c.reset")))]),e._v(" "),n("el-button",{staticClass:"width-button",attrs:{type:"primary"},on:{click:e.handleSubmitFilter}},[e._v(e._s(e.$z("查询","c.query")))])],1)])],1)};i._withStripped=!0;var a=n(5281),o=n(9795),r=n(555);const s=["Area","MulArea"];var l={name:"BpmSelectEntranceForm",components:{BpmFieldsFilter:r.A},props:{value:{type:Array,default(){return[]}},type:{type:String,default:"MulSelectEntranceForm"},fieldConf:{type:Object,default(){return{}}},mode:{type:String,default:"view"},uiType:{type:String,default:"default"},formDefId:{type:String,default:""},orgInfo:{type:Object,default(){return{level:"group",level_id:0,group_id:0}}},formId:{type:String,default:""},dm:{type:Boolean,default(){return!1}},isMultiple:{type:Boolean,default(){return!0}}},data(){return{loading:!1,optionsModalShow:!1,items:[],selectedItems:[],selectedVals:[],optionsLoading:!1,statusField:{},descFields:[],shouldTransLabelKeys:[],formSchema:{},pagination:{action:"first",lastAt:null,total:0},checkAll:!1,filterModalShow:!1,searchSchema:{elements:[]},verifySchema:{},enableSearchText:!0,debounceSearch:_.debounce(_.bind(this.loadData,this),300,{trailing:!0,leading:!1}),keyword:"",filterParams:{}}},computed:{isMobile(){return(0,o.Fr)()},label(){const e=this.value;if(!e||!e.length)return"";let t=zj.z("已选择N条","c.number_is_selected");return _.template(t)({count:e.length})},selectedLabel(){if(!this.selectedVals.length)return"";let e=zj.z("选中N条","c.number_is_selected_2");return _.template(e)({count:this.selectedVals.length})}},methods:{getStatus(e,t){return((this.statusField.rangeEnumMap||{})[e]||{})[t]},async openOptionsModal(){this.optionsModalShow=!0,this.formSchema.id||await this.loadSchema(),this.value&&this.value.length&&await this.loadListSelected(),"edit"===this.mode&&(this.pagination.lastAt||(this.handleResetFilter(),this.loadData()),this.selectedVals=this.value||[])},handleClose(){this.optionsModalShow=!1,"edit"===this.mode&&(this.checkAll=!1,this.selectedVals=[])},handleResetFilter(){this.$refs.searchForm&&this.$refs.searchForm.reset()},handleSubmitFilter(){this.$refs.searchForm&&this.$refs.searchForm.submit()},handleFilterReady(e){this.filterParams=e||{},this.filterModalShow=!1,this.loadData()},handleCheckAll(e){this.selectedVals=e?_.map(this.items,(e=>e.id)):[]},onSubmit(){const e=_.cloneDeep(this.selectedVals);this.$emit("input",e),this.$emit("change",e),this.handleClose()},loadMore(){this.items.length<this.pagination.total&&this.loadData("next")},async loadData(e="first"){let t=this.formDefId;const n=this.fieldConf.id;e=["first","next","last","prev"].includes(e)?e:"first";let i=this.filterParams;this.keyword&&(i.q__contains=this.keyword),this.optionsLoading=!0;const o=(await a.A.assistSelectEntranceForm.getOptions(this.$bpm,{formDefId:t,fieldDefId:n,orgInfo:this.orgInfo,isDm:this.dm},{action:e,limit:20,last_at:"first"===e?null:this.pagination.lastAt,fields:JSON.stringify(i)})).data.data;console.log("assist_select_entrance_form data: ",o);const r=_.map(o.data,(e=>(_.each(e.f_fields,(async(t,n)=>{if(this.shouldTransLabelKeys.includes(n))if(_.isArray(t)){const i=a.A.assistField.getBatchLoader(this.$bpm,{formDefId:this.formSchema.id,fieldDefId:n,orgInfo:this.orgInfo});let o=await i.loads(...t);e.f_fields[n]=o.join(zj.z(",","c.comma"))}else{const i=a.A.assistField.getBatchLoader(this.$bpm,{formDefId:this.formSchema.id,fieldDefId:n,orgInfo:this.orgInfo});let o=await i.load(t);e.f_fields[n]=o}})),{title:e.title,id:e.form_id,form_id:e.form_id,f_fields:e.f_fields,fields:_.map(e.f_fields,((e,t)=>({key:t,value:e})))})));let s=r;if(this.selectedItems.length){let e=_.map(this.selectedItems,(e=>e.id));s=_.filter(r,(t=>!e.includes(t.id)))}this.items="next"===e?_.concat(this.items,s):_.concat(this.selectedItems,s),this.pagination.action=e,this.pagination.lastAt=o.last_at,this.pagination.total=o.count,this.optionsLoading=!1},async loadListSelected(){let e=this.formId;e=encodeURIComponent(e);let t=this.formDefId;const n=this.fieldConf.id;this.optionsLoading=!0;try{const i=(await a.A.assistSelectEntranceForm.getListSelected(this.$bpm,{formDefId:t,fieldDefId:n,orgInfo:this.orgInfo,isDm:this.dm},{form_id:e})).data.data;console.log("assist_select_entrance_form list_selected: ",i);const o=_.map(i.data,(e=>(_.each(e.f_fields,(async(t,n)=>{if(this.shouldTransLabelKeys.includes(n))if(_.isArray(t)){const i=a.A.assistField.getBatchLoader(this.$bpm,{formDefId:this.formSchema.id,fieldDefId:n,orgInfo:this.orgInfo});let o=await i.loads(...t);e.f_fields[n]=o.join(zj.z(",","c.comma"))}else{const i=a.A.assistField.getBatchLoader(this.$bpm,{formDefId:this.formSchema.id,fieldDefId:n,orgInfo:this.orgInfo});let o=await i.load(t);e.f_fields[n]=o}})),{title:e.title,id:e.form_id,form_id:e.form_id,f_fields:e.f_fields,fields:_.map(e.f_fields,((e,t)=>({key:t,value:e})))})));this.selectedItems=o,"view"===this.mode&&(this.items=o)}finally{this.optionsLoading=!1}},async loadSchema(){let e=this.formDefId;const t=this.fieldConf.id,n=(await a.A.assistSelectEntranceForm.getListDefinition(this.$bpm,{formDefId:e,fieldDefId:t,orgInfo:this.orgInfo,isDm:this.dm})).data.data;console.log("assist_select_entrance_form definition: ",n);let i={},o=[],r=[];_.each(n.definition.form.elements,(e=>{if("Status"!==e.type)o.push({id:e.id,name:e.name,value_type:e.value_type,type:e.type});else{let t={};e.range_enum.forEach((e=>{t[e[0]]={value:e[0],label:e[1],color:e[2]}})),i={id:e.id,name:e.name,value_type:e.value_type,type:e.type,rangeEnumMap:t}}(s.includes(e.type)||e.type.indexOf("Select")>-1)&&r.push(e.id)})),this.descFields=o,this.statusField=i,this.shouldTransLabelKeys=r,this.formSchema=n.definition.form,this.searchSchema=_.get(n,"definition.search",{elements:[]}),this.verifySchema=_.get(n,"schema.search",{});const l=!!this.searchSchema.elements&&_.find(this.searchSchema.elements,{id:"q__contains"});this.enableSearchText=this.searchSchema.enable_search_text&&l}}},d=(0,n(4486).A)(l,i,[],!1,null,null,null);d.options.__file="components/lib/bpmSelectEntranceForm/src/main.vue";var c=d.exports;c.install=function(e){e.component(c.name,c)};var u=c},2218:function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(5093))},2230:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,a=!1,o=void 0;try{for(var r,s=e[Symbol.iterator]();!(i=(r=s.next()).done)&&(n.push(r.value),!t||n.length!==t);i=!0);}catch(e){a=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};t.default=function(e){var t=e.mappedProps,n=e.name,i=e.ctr,l=e.ctrArgs,c=e.events,u=e.beforeCreate,m=e.afterCreate,f=e.props,h=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}(e,["mappedProps","name","ctr","ctrArgs","events","beforeCreate","afterCreate","props"]),p="$"+n+"Promise",_="$"+n+"Object";return function(e){if(!e)throw new Error("`props` should be an object, not Array")}(!(h.props instanceof Array)),a({},"undefined"!=typeof GENERATE_DOC?{$vgmOptions:e}:{},{mixins:[s.default],props:a({},f,d(t)),render:function(){return""},provide:function(){var e,n,s,d=this,h=this.$mapPromise.then((function(e){d.$map=e;var n=a({},d.options,{map:e},(0,r.getPropsValues)(d,t));if(delete n.options,u){var i=u.bind(d)(n);if(i instanceof Promise)return i.then((function(){return{options:n}}))}return{options:n}})).then((function(e){var n,a=e.options,s=i();return d[_]=l?new((n=Function.prototype.bind).call.apply(n,[s,null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(l(a,(0,r.getPropsValues)(d,f||{})))))):new s(a),(0,r.bindProps)(d,d[_],t),(0,o.default)(d,d[_],c),m&&m.bind(d)(d[_]),d[_]}));return this[p]=h,s=h,(n=p)in(e={})?Object.defineProperty(e,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[n]=s,e},destroyed:function(){this[_]&&this[_].setMap&&this[_].setMap(null)}},h)},t.mappedPropsToVueProps=d;var o=l(n(7146)),r=n(7049),s=l(n(410));function l(e){return e&&e.__esModule?e:{default:e}}function d(e){return Object.entries(e).map((function(e){var t=i(e,2),n=t[0],a=t[1],o={};return"type"in a&&(o.type=a.type),"default"in a&&(o.default=a.default),"required"in a&&(o.required=a.required),[n,o]})).reduce((function(e,t){var n=i(t,2),a=n[0],o=n[1];return e[a]=o,e}),{})}},2264:function(e,t,n){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(5093))},2271:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"минута":"минуту":e+" "+(i=+e,a={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),i%10==1&&i%100!=11?a[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?a[1]:a[2]);var i,a}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,w:"неделя",ww:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n(5093))},2274:function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"én time",hh:"%d timer",d:"én dag",dd:"%d dager",w:"én uke",ww:"%d uker",M:"én måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},2297:function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(5093))},2353:function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(e){return function(t,a,o,r){var s=n(t),l=i[e][n(t)];return 2===s&&(l=l[a?0:1]),l.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(5093))},2392:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o)()(a());r.push([e.id,".select-position-table{height:100%;max-height:600px;overflow:auto}.select-position-table table,.select-position-table td,.select-position-table th{border:0 solid #E2E2E2;border-collapse:collapse;text-align:center;padding:0}.select-position-table .left-table{height:100%}.select-position-table .select-position-table-content{display:flex}.select-position-table .select-position-table-content .select-position-table-content-left .floor{display:flex;align-items:center;height:100%;border:2px solid #E2E2E2;box-sizing:border-box;text-align:center;justify-content:center;width:100px!important}.select-position-table .select-position-table-content .select-position-table-content-right{width:100%;overflow:auto}.position-table-cell .flag{position:absolute;right:0;top:0;width:0;height:0;border-style:solid;border-top:8px solid #246AE3;border-right:8px solid #246AE3;border-left:8px solid transparent;border-bottom:8px solid transparent}.position-table-cell .flag .icon{position:absolute;right:-10px;top:-10px;font-size:12px;color:#FFF;font-weight:900}.position-table-cell .is_selected .parent{position:relative;border-top:2px solid #246AE3!important;border-left:2px solid #246AE3!important;border-right:2px solid #246AE3!important}.position-table-cell .is_selected .only-parent{border-bottom:2px solid #246AE3!important}.position-table-cell .is_selected .cell-childs{position:relative}.position-table-cell .is_selected .cell-childs .cell-child{position:relative;border-bottom:2px solid #246AE3!important}.position-table-cell .is_selected .cell-childs .cell-child:first-child{border-left:2px solid #246AE3!important}.position-table-cell .is_selected .cell-childs .cell-child:last-child{border-right:2px solid #246AE3!important}.position-table-cell .is_child_selected{border:2px solid #246AE3!important}.position-table-cell .cell-parent{box-sizing:content-box}.position-table-cell .cell-parent .parent{padding:10px;border:2px solid #E2E2E2;min-width:60px;overflow:hidden}.position-table-cell .cell-parent .cell-childs{box-sizing:content-box;display:flex;border:none}.position-table-cell .cell-parent .cell-childs .cell-child{position:relative;border:2px solid #E2E2E2;white-space:nowrap;word-break:none;padding:10px;flex:1;border-right:2px solid #E2E2E2}",""]),t.A=r},2419:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o)()(a());r.push([e.id,'@charset "UTF-8";.el-tiptap-editor{border-radius:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-height:100%;position:relative;width:100%}.el-tiptap-editor,.el-tiptap-editor *{-webkit-box-sizing:border-box;box-sizing:border-box}.el-tiptap-editor .border-top-radius{border-top-left-radius:8px;border-top-right-radius:8px}.el-tiptap-editor .border-bottom-radius{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.el-tiptap-editor__codemirror{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;font-size:16px;line-height:24px;overflow:scroll}.el-tiptap-editor__codemirror .CodeMirror{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;height:auto}.el-tiptap-editor--fullscreen{border-radius:0!important;bottom:0!important;height:100%!important;left:0!important;margin:0!important;position:fixed!important;right:0!important;top:0!important;width:100%!important;z-index:500}.el-tiptap-editor--fullscreen .el-tiptap-editor__content,.el-tiptap-editor--fullscreen .el-tiptap-editor__footer,.el-tiptap-editor--fullscreen .el-tiptap-editor__menu-bar{border-radius:0!important}.el-tiptap-editor>.el-tiptap-editor__content{background-color:#fff;border:1px solid #ebeef5;border-bottom:0;border-top:0;color:#000;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding:30px 20px}.el-tiptap-editor__menu-bar{background-color:#fff;border:1px solid #ebeef5;border-bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:5px;position:relative}.el-tiptap-editor__menu-bar:before{bottom:0;background-color:#ebeef5;content:"";height:1px;left:0;margin:0 10px;right:0;position:absolute}.el-tiptap-editor__menu-bubble{background-color:#fff;border-radius:8px;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);display:-webkit-box;display:-ms-flexbox;display:flex;padding:5px;opacity:0;position:absolute;-webkit-transform:translateX(-50%);transform:translateX(-50%);-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out;visibility:hidden;z-index:50}.el-tiptap-editor__menu-bubble--active{opacity:1;visibility:visible}.el-tiptap-editor__content{font-family:sans-serif;line-height:1.7;overflow-x:auto;text-align:left}.el-tiptap-editor__content,.el-tiptap-editor__content>*{-webkit-box-sizing:border-box;box-sizing:border-box}.el-tiptap-editor__content p{margin-bottom:0;margin-top:0;outline:0}.el-tiptap-editor__content h1,.el-tiptap-editor__content h2,.el-tiptap-editor__content h3,.el-tiptap-editor__content h4,.el-tiptap-editor__content h5{margin-top:20px;margin-bottom:20px}.el-tiptap-editor__content h1:first-child,.el-tiptap-editor__content h2:first-child,.el-tiptap-editor__content h3:first-child,.el-tiptap-editor__content h4:first-child,.el-tiptap-editor__content h5:first-child{margin-top:0}.el-tiptap-editor__content h1:last-child,.el-tiptap-editor__content h2:last-child,.el-tiptap-editor__content h3:last-child,.el-tiptap-editor__content h4:last-child,.el-tiptap-editor__content h5:last-child{margin-bottom:0}.el-tiptap-editor__content ol,.el-tiptap-editor__content ul{counter-reset:none;list-style-type:none;margin-bottom:0;margin-left:24px;margin-top:0;padding-bottom:5px;padding-left:0;padding-top:5px}.el-tiptap-editor__content li>p{margin:0}.el-tiptap-editor__content li>p:first-child:before{content:counter(el-tiptap-counter) ".";display:inline-block;left:-5px;line-height:1;margin-left:-24px;position:relative;text-align:right;top:0;width:24px}.el-tiptap-editor__content ul li>p:first-child:before{content:"•";text-align:center}.el-tiptap-editor__content ol{counter-reset:el-tiptap-counter}.el-tiptap-editor__content ol li>p:first-child:before{counter-increment:el-tiptap-counter}.el-tiptap-editor__content a{color:#409eff;cursor:pointer}.el-tiptap-editor__content blockquote{border-left:5px solid #edf2fc;border-radius:2px;color:#606266;margin:10px 0;padding-left:1em}.el-tiptap-editor__content code{background-color:#d9ecff;border-radius:4px;color:#409eff;display:inline-block;font-size:14px;font-weight:700;padding:0 8px}.el-tiptap-editor__content pre{background-color:#303133;color:#d9ecff;font-size:16px;overflow-x:auto;padding:14px 20px;margin:10px 0;border-radius:5px}.el-tiptap-editor__content pre code{background-color:transparent;border-radius:0;color:inherit;display:block;font-family:"Menlo,Monaco,Consolas,Courier,monospace";font-size:inherit;font-weight:400;padding:0}.el-tiptap-editor__content img{display:inline-block;float:none;margin:12px 0;max-width:100%}.el-tiptap-editor__content img[data-display=inline]{margin-left:12px;margin-right:12px}.el-tiptap-editor__content img[data-display=block]{display:block}.el-tiptap-editor__content img[data-display=left]{float:left;margin-left:0;margin-right:12px}.el-tiptap-editor__content img[data-display=right]{float:right;margin-left:12px;margin-right:0}.el-tiptap-editor__content .image-view{display:inline-block;float:none;line-height:0;margin:12px 0;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:baseline}.el-tiptap-editor__content .image-view--inline{margin-left:12px;margin-right:12px}.el-tiptap-editor__content .image-view--block{display:block}.el-tiptap-editor__content .image-view--left{float:left;margin-left:0;margin-right:12px}.el-tiptap-editor__content .image-view--right{float:right;margin-left:12px;margin-right:0}.el-tiptap-editor__content .image-view__body{clear:both;display:inline-block;max-width:100%;outline-color:transparent;outline-style:solid;outline-width:2px;-webkit-transition:all .2s ease-in;transition:all .2s ease-in;position:relative}.el-tiptap-editor__content .image-view__body:hover{outline-color:#ffc83d}.el-tiptap-editor__content .image-view__body--focused:hover,.el-tiptap-editor__content .image-view__body--resizing:hover{outline-color:transparent}.el-tiptap-editor__content .image-view__body__placeholder{height:100%;left:0;position:absolute;top:0;width:100%;z-index:-1}.el-tiptap-editor__content .image-view__body__image{cursor:pointer;margin:0}.el-tiptap-editor__content .image-resizer{border:1px solid #409eff;height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.el-tiptap-editor__content .image-resizer__handler{background-color:#409eff;border:1px solid #fff;border-radius:2px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;height:12px;position:absolute;width:12px;z-index:2}.el-tiptap-editor__content .image-resizer__handler--tl{cursor:nw-resize;left:-6px;top:-6px}.el-tiptap-editor__content .image-resizer__handler--tr{cursor:ne-resize;right:-6px;top:-6px}.el-tiptap-editor__content .image-resizer__handler--bl{bottom:-6px;cursor:sw-resize;left:-6px}.el-tiptap-editor__content .image-resizer__handler--br{bottom:-6px;cursor:se-resize;right:-6px}.el-tiptap-editor__content ul[data-type=todo_list]{margin-left:5px}.el-tiptap-editor__content ul[data-type=todo_list] .todo-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;margin-bottom:0}.el-tiptap-editor__content ul[data-type=todo_list] .todo-item[data-text-align=right]{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.el-tiptap-editor__content ul[data-type=todo_list] .todo-item[data-text-align=center]{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.el-tiptap-editor__content ul[data-type=todo_list] .todo-item[data-text-align=justify]{text-align:space-between!important}.el-tiptap-editor__content ul[data-type=todo_list] .todo-item .todo-content{padding-left:10px}.el-tiptap-editor__content ul[data-type=todo_list] .todo-item .todo-content>p{font-size:16px}.el-tiptap-editor__content ul[data-type=todo_list] .todo-item .todo-content>p:last-of-type{margin-bottom:0}.el-tiptap-editor__content ul[data-type=todo_list] .todo-item--done>.todo-checkbox{color:#409eff}.el-tiptap-editor__content ul[data-type=todo_list] .todo-item--done>.todo-content>p{color:#409eff;text-decoration:line-through}.el-tiptap-editor__content hr{margin-top:20px;margin-bottom:20px}.el-tiptap-editor__content [data-indent="1"]{margin-left:30px!important}.el-tiptap-editor__content [data-indent="2"]{margin-left:60px!important}.el-tiptap-editor__content [data-indent="3"]{margin-left:90px!important}.el-tiptap-editor__content [data-indent="4"]{margin-left:120px!important}.el-tiptap-editor__content [data-indent="5"]{margin-left:150px!important}.el-tiptap-editor__content [data-indent="6"]{margin-left:180px!important}.el-tiptap-editor__content [data-indent="7"]{margin-left:210px!important}.el-tiptap-editor__content .tableWrapper{margin:1em 0;overflow-x:auto}.el-tiptap-editor__content table{border-collapse:collapse;table-layout:fixed;width:100%;margin:0;overflow:hidden}.el-tiptap-editor__content td,.el-tiptap-editor__content th{border:2px solid #ebeef5;-webkit-box-sizing:border-box;box-sizing:border-box;min-width:1em;padding:3px 5px;position:relative;vertical-align:top}.el-tiptap-editor__content td.selectedCell,.el-tiptap-editor__content th.selectedCell{background-color:#ecf5ff}.el-tiptap-editor__content th{font-weight:500;text-align:left}.el-tiptap-editor__content .column-resize-handle{background-color:#b3d8ff;bottom:0;pointer-events:none;position:absolute;right:-2px;top:0;width:4px;z-index:20}.el-tiptap-editor__content .iframe{height:0;padding-bottom:56.25%;position:relative;width:100%}.el-tiptap-editor__content .iframe__embed{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.el-tiptap-editor__content .resize-cursor{cursor:ew-resize;cursor:col-resize}.el-tiptap-editor__footer{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#fff;border:1px solid #ebeef5;display:-webkit-box;display:-ms-flexbox;display:flex;font-family:sans-serif;font-size:14px;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding:10px}.el-tiptap-editor .ProseMirror{outline:0}.el-tiptap-editor__placeholder.el-tiptap-editor--empty:first-child:before,.el-tiptap-editor__with-title-placeholder:first-child:before,.el-tiptap-editor__with-title-placeholder:nth-child(2):before{color:#c0c4cc;content:attr(data-empty-text);float:left;height:0;pointer-events:none}.el-tiptap-editor__characters{color:#939599}.el-tiptap-editor__command-button{border:1px solid transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:50%;color:#303133;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:40px;margin:2px;outline:0;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;width:40px}.el-tiptap-editor__command-button:hover{background-color:#e4e9f2}.el-tiptap-editor__command-button--active{background-color:#ecf5ff;color:#409eff}.el-tiptap-editor__command-button--readonly{cursor:default;opacity:.3;pointer-events:none}.el-tiptap-editor__command-button--readonly:hover{background-color:transparent}.el-tiptap-dropdown-menu .el-tiptap-dropdown-menu__item{color:#303133;line-height:1.5;padding-top:5px;padding-bottom:5px}.el-tiptap-dropdown-menu .el-tiptap-dropdown-menu__item [data-item-type=heading]{margin-bottom:0;margin-top:0}.el-tiptap-dropdown-menu .el-tiptap-dropdown-menu__item--active{background-color:#ecf5ff;color:#409eff}.el-tiptap-popper.el-popper{min-width:0}.el-tiptap-popper__menu__item{color:#303133;cursor:pointer;padding:8px 0}.el-tiptap-popper__menu__item--active,.el-tiptap-popper__menu__item:hover{color:#409eff}.el-tiptap-popper__menu__item--disabled{cursor:default;opacity:.2}.el-tiptap-popper__menu__item--disabled:hover{color:inherit}.el-tiptap-popper__menu__item__separator{border-top:1px solid #dcdfe6;height:0;margin:5px 0;width:100%}.el-tiptap-upload{display:-webkit-box;display:-ms-flexbox;display:flex}.el-tiptap-upload .el-upload,.el-tiptap-upload .el-upload-dragger{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.el-tiptap-upload .el-upload-dragger{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:300px;width:100%}.el-tiptap-upload .el-upload-dragger .el-tiptap-upload__icon{font-size:50px;margin-bottom:10px}.el-tiptap-upload .el-upload-dragger:hover .el-tiptap-upload__icon{color:#409eff}.color-set{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;width:240px}.color-set .color{border-radius:50%;-webkit-box-shadow:rgba(0,0,0,.2) 0 3px 3px -2px,rgba(0,0,0,.14) 0 3px 4px 0,rgba(0,0,0,.12) 0 1px 8px 0;box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12);color:#fff;height:30px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;width:30px}.color-set .color,.color-set .color__wrapper{-webkit-box-sizing:border-box;box-sizing:border-box}.color-set .color__wrapper{-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 0 12.5%;flex:0 0 12.5%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:5px}.color-set .color--selected,.color-set .color:hover{border:2px solid #fff;-webkit-transform:scale(1.3);transform:scale(1.3)}.color-set .color--remove{position:relative}.color-set .color--remove:hover:before{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.color-set .color--remove:hover:after{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.color-set .color--remove:after,.color-set .color--remove:before{background-color:#f56c6c;bottom:0;content:"";left:50%;position:absolute;margin:2px 0;top:0;-webkit-transform:translateX(-50%);transform:translateX(-50%);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;width:2px}.color-hex{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:10px}.color-hex .color-hex__button{margin-left:10px;padding-left:15px;padding-right:15px}.table-grid-size-editor__body{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.table-grid-size-editor__body,.table-grid-size-editor__row{display:-webkit-box;display:-ms-flexbox;display:flex}.table-grid-size-editor__cell{background-color:#fff;padding:5px}.table-grid-size-editor__cell__inner{border:1px solid #dcdfe6;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:2px;height:16px;padding:4px;width:16px}.table-grid-size-editor__cell--selected .table-grid-size-editor__cell__inner{background-color:#ecf5ff;border-color:#409eff}.table-grid-size-editor__footer{margin-top:5px;text-align:center}.el-tiptap-edit-image-dialog .el-form-item:last-child{margin-bottom:0}.el-tiptap-edit-image-dialog input[type=number]::-webkit-inner-spin-button,.el-tiptap-edit-image-dialog input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}.el-tiptap-edit-link-dialog .el-form-item:last-child{margin-bottom:0}.el-popper.el-tiptap-image-popper{background-color:#fff;border-radius:8px;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);min-width:0;padding:5px}.el-popper.el-tiptap-image-popper .image-bubble-menu{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.link-bubble-menu{display:-webkit-box;display:-ms-flexbox;display:flex}.fa-icon{display:inline-block;fill:currentColor;overflow:visible}.fa-icon>g{-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.fa-flip-horizontal{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both{-webkit-transform:scale(-1);transform:scale(-1)}.fa-spin>g{-webkit-animation:fa-spin 1s linear 0s infinite;animation:fa-spin 1s linear 0s infinite}.fa-pulse>g{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}.fa-inverse{color:#fff}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}',""]),t.A=r},2475:function(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n(5093))},2477:function(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},2487:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314);n.n(o)()(a()).push([e.id,".input-microphone[data-v-1f4bc398] {\n width: 40px;\n display: inline-block;\n margin-right: 8px;\n position: absolute;\n z-index: 10;\n text-align: center;\n right: 0;\n top: 39px;\n font-size: 17px;\n color: #979797;\n}\n.input-microphone.active[data-v-1f4bc398] {\n color: #2894df;\n}\n.audit .fa-angle-right[data-v-1f4bc398] {\n font-size: 24px;\n font-weight: 600;\n color: #c1c1c1;\n}\n.audit .items-center[data-v-1f4bc398] {\n padding-right: 10px;\n display: unset;\n margin: 0;\n}\n.canvas-box[data-v-1f4bc398] {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 220px;\n border: 1px dashed #c9c5c5;\n}\n.audit-dialog-content[data-v-1f4bc398] {\n padding: 20px;\n padding-bottom: 30px;\n}\ncanvas[data-v-1f4bc398] {\n flex: 1;\n cursor: crosshair;\n}\n.ovh[data-v-1f4bc398] {\n overflow: hidden;\n padding: 4px;\n}\n.modal-footer[data-v-1f4bc398] {\n text-align: center;\n}\n.modal-footer button[data-v-1f4bc398] {\n width: 100%;\n}\n.speech-control[data-v-1f4bc398] {\n color: #2894df;\n float: right;\n margin-top: 5px;\n cursor: pointer;\n}\n",""])},2549:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return I}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-select-from-id",attrs:{fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType,orgInfo:e.orgInfo,formName:e.formName,isMultiple:e.isMultiple},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"select-from-id-editor"},[n("div",[n("div",{on:{click:e.toOpen}},[e._v(e._s(e.label))])]),e._v(" "),n("el-dialog",e._g(e._b({attrs:{visible:e.opened,"before-close":e.onHide,title:e.fieldConf.name,fullscreen:!0,"custom-class":"select-from-id-editor-dialog"},on:{"update:visible":function(t){e.opened=t},open:e.onOpen}},"el-dialog",e.$attrs,!1),e.$listeners),[n("div",{attrs:{slot:"title"},slot:"title"},[n("div",[e._v("\n "+e._s(e.$z("已选名单","b2.common.selected_list"))+":\n "),e._l(e.selectedLabels,(function(t,i){return n("el-tag",{directives:[{name:"show",rawName:"v-show",value:i<=5,expression:"index <= 5"}],key:i,attrs:{type:"success"}},[e._v(e._s(t)+"\n "),n("i",{staticClass:"fa fa-times-circle",on:{click:function(t){return e.deleteSelected(i)}}})])})),e._v(" "),e.selectedLabels.length>5?n("el-button",{attrs:{label:""+(e.$z("查看全部","c.view_all")+e.selectedLabels.length)}},[n("i",{staticClass:"fa fa-sort-desc",attrs:{"aria-hidden":"true"}}),e._v(" "),n("el-popover",[n("div",{attrs:{separator:"",link:""}},e._l(e.selectedLabels,(function(t,i){return n("div",{key:i},[e._v("\n "+e._s(t)+"\n "),n("i",{staticClass:"fa fa-times",staticStyle:{float:"right","margin-left":"8px","font-size":"20px"},on:{click:function(t){return e.deleteSelected(i)}}})])})),0)])],1):e._e()],2)]),e._v(" "),n("div",{staticClass:"select-box"},[n("div",{staticClass:"select-box-left"},[n("div",{staticClass:"title"},[e._v(e._s(e.$z("选择应用","b2.common.select_form_id")))]),e._v(" "),n("div",[n("el-input",{staticClass:"input-with-select",attrs:{placeholder:e.$z("请输入关键字搜索","c.search_tip"),clearale:!0},on:{change:e.debounceSearchApps},model:{value:e.appKeyword,callback:function(t){e.appKeyword=t},expression:"appKeyword"}})],1),e._v(" "),n("ul",{staticClass:"select-app"},e._l(e.apps,(function(t){return n("li",{key:t.value,staticClass:"select-app-item",class:t.value==e.selectedApp?"active":"",on:{click:function(n){return e.loadForms(t.value)}}},[e._v("\n "+e._s(t.label)+"\n ")])})),0)]),e._v(" "),e.selectedApp?n("div",{staticClass:"select-box-right"},[n("div",{staticClass:"title"},[e._v(e._s(e.$z("表单选择","c.form_select")))]),e._v(" "),n("div",[n("el-input",{staticClass:"input-with-select",attrs:{placeholder:e.$z("请输入关键字搜索","c.search_tip"),clearale:!0},on:{change:e.debounceSearch},model:{value:e.formKeyword,callback:function(t){e.formKeyword=t},expression:"formKeyword"}})],1),e._v(" "),n("ul",{staticClass:"select-form"},e._l(e.formList,(function(t){return n("li",{key:t.value,staticClass:"select-form-item"},[e.isMultiple?n("el-checkbox",{attrs:{label:t.value},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},[e._v(e._s(t.label))]):n("el-radio",{attrs:{label:t.value},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},[e._v(e._s(t.label))])],1)})),0)]):n("div",{staticClass:"select-box-right"},[e._v("\n "+e._s(e.$z("先选择表单","b2.common.select_form_first"))+"\n ")])]),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v(e._s(e.$z("确定","c.confirm")))])],1)])],1)};a._withStripped=!0;var o=n(5554),r=n.n(o),s=n(6773),l=n.n(s),d=n(7642);r().use(d.Dialog);var c={props:["value","fieldConf","row","formName","orgInfo","isMultiple"],data(){return{curVal:[],apps:[],label:"",opened:!1,debounceSearchApps:l().debounce(l().bind(this.loadApps,this),150,{trailing:!0,leading:!1}),debounceSearch:l().debounce(l().bind(this.search,this),150,{trailing:!0,leading:!1}),selectedLabels:[],formList:[],appKeyword:"",selectedApp:"",formKeyword:""}},watch:{curVal(){this.loadSelectedLabels()},value(){this.loadRemoteLabel(),this.curVal=this.value?this.value:this.isMultiple?[]:""}},computed:{placeholder(){return this.fieldConf.desc||this.fieldConf.name},maxCount(){return l().get(this.fieldConf,"check.max_count")},titleStyle(){let e=this.fieldConf,t=l().get(e,"range_remote.range_display.title");return{fontSize:l().get(t,"size",16)+"px",color:l().get(t,"color","#333")}},fieldStyleMap(){let e=this.fieldConf,t=l().get(e,"range_remote.range_display.fields");return l().keyBy(t,"field")}},created(){this.curVal=this.isMultiple?[]:""},mounted(){this.curVal=this.value?this.value:this.isMultiple?[]:"",this.loadRemoteLabel()},methods:{async loadApps(){let e=this.appKeyword,t=this.formName,n=l().get(this.fieldConf,"id"),i=await zj.net.w.noapi({url:`/app_flow/v1/papi/dm/assist_field/select_form_id/${t}/${n}/search_left_title/?q=${e}`,params:this.orgInfo});this.apps=l().map(i.data,(e=>({value:e[0],label:e[1]})))},async search(){let e=this.formKeyword,t=this.formName,n=l().get(this.fieldConf,"id"),i=this.selectedApp,a=await zj.net.w.noapi({url:`/app_flow/v1/papi/dm/assist_field/select_form_id/${t}/${n}/search_right_title/?q=${e}&left=${i}`,params:this.orgInfo});this.formList=l().map(a.data,(e=>({value:e[0],label:e[1]})))},loadForms(e){this.selectedApp=e,this.debounceSearch()},async loadSelectedLabels(){let e=this.curVal,t=l().get(this.fieldConf,"id");if(!l().isEmpty(e)){let n=await zj.net.w.noapi({url:`/app_flow/v1/papi/dm/assist_field/${this.formName}/${t}/list_title/?values=${e}`,params:this.orgInfo});this.selectedLabels=l().cloneDeep(n)}},async loadRemoteLabel(){let e=this.value,t=l().get(this.fieldConf,"id");if(l().isEmpty(e))this.label=zj.z("未选择","c.not_selected");else{let n=await zj.net.w.noapi({url:`/app_flow/v1/papi/dm/assist_field/${this.formName}/${t}/list_title/?values=${e}`,params:this.orgInfo}),i=l().map(n.data);this.label=l().join(i,",")}},onHide(){this.opened=!1},onOpen(){this.loadApps()},isChecked(e){return l().includes(this.curVal,e)},onSubmit(){this.$emit("input",this.curVal),this.$emit("change",this.curVal),this.opened=!1},toOpen(){this.opened=!0},deleteSelected(e){let t=this.curVal;l().pullAt(t,e),this.curVal=l().cloneDeep(t)}}},u=n(4486),m=(0,u.A)(c,a,[],!1,null,null,null);m.options.__file="components/lib/bpmSelectFromId/src/part/editor.vue";var f=m.exports,h={mixins:[n(7348).A]},p=(0,u.A)(h,void 0,void 0,!1,null,null,null);p.options.__file="components/lib/bpmSelectFromId/src/part/reader.vue";var _=p.exports,g={name:"bpmSelectFromId",components:{editorComponent:f,readerComponent:_},props:{value:{type:[String,Array]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},orgInfo:{type:Object},formName:{type:String},isMultiple:{type:Boolean,default(){return!1}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?_:f}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},y=n(5072),b=n.n(y),v=n(7825),w=n.n(v),M=n(7659),k=n.n(M),L=n(5056),S=n.n(L),x=n(540),D=n.n(x),C=n(1113),T=n.n(C),Y=n(1243),$={};$.styleTagTransform=T(),$.setAttributes=S(),$.insert=k().bind(null,"head"),$.domAPI=w(),$.insertStyleElement=D(),b()(Y.A,$),Y.A&&Y.A.locals&&Y.A.locals;var j=(0,u.A)(g,i,[],!1,null,null,null);j.options.__file="components/lib/bpmSelectFromId/src/main.vue";var O=j.exports;O.install=function(e){e.component(O.name,O)};var I=O},2554:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return E}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-mul-image",attrs:{fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType},on:{change:e.handleChange,imgLoadError:e.emitImgLoadError},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-mul-image-edit"},[n("el-upload",e._g(e._b({ref:"uploader",attrs:{action:e.url,name:"userfile","show-file-list":!1,multiple:"",drag:"",limit:e.maxCount,accept:e.extensions,"before-upload":e.handleAdd,"on-success":e.onUploaded,"on-error":e.onFail,"file-list":e.fileList}},"el-upload",e.$attrs,!1),e.$listeners),[n("i",{staticClass:"el-icon-upload"}),e._v(" "),n("div",{staticClass:"el-upload__text"},[e._v(e._s(e.$z("将文件拖到此处,或点击上传","c.drag_file_upload_tip")))])]),e._v(" "),n("div",{staticClass:"row gutter-sm q-my-sm file-list"},[e.curVal&&e.curVal.length?[n("viewer",{staticClass:"row gutter-sm q-my-sm file-list",staticStyle:{width:"100%"},attrs:{images:e.photo,rebuild:""},on:{inited:e.inited}},e._l(e.curVal,(function(t){return n("div",{key:t.md5,staticClass:"col-12 file-box"},[e.isImageFile(t)?n("span",{staticClass:"file-content",on:{click:function(n){return e.previewImg(t)}}},[n("img",{staticClass:"preview-img",attrs:{src:e.fileLink(t,200),"data-source":e.fileLink(t,-1)}})]):n("span",{staticClass:"file-content q-mb-xs",on:{click:function(n){return e.preview(t)}}},[n("div",{staticClass:"text-left text-faded"},[n("i",{staticClass:"q-icon fa fa-file-pdf-o",class:e.getFileTypeClass(t),attrs:{"aria-hidden":"true"}})])]),e._v(" "),n("div",{staticClass:"relative-position file-link ellipsis",attrs:{title:t.name}},[e._v("\n "+e._s(t.name)+"\n ")]),e._v(" "),n("div",{staticClass:"file-remove",on:{click:function(n){return e.remove(t.md5,t)}}},[e._v(e._s(e.$z("删除","c.delete")))])])})),0)]:e._e()],2),e._v(" "),n("img",{staticStyle:{display:"none"},attrs:{id:"image",src:""}}),e._v(" "),n("div",{staticStyle:{height:"100px",width:"109px",display:"none"},attrs:{id:"container"}})],1)};a._withStripped=!0;var o=n(6773),r=n.n(o),s=n(1335),l=n.n(s),d=n(5093),c=n.n(d),u=n(7642),m=n(9795),f=n(5554),h=n.n(f),p=n(8245);n(8085),n(7107);var _={insertEXIF:function(e,t,n){if(e instanceof Blob){var i=this,a=new FileReader;a.onload=function(){i.insertEXIF(a.result,t,n)},a.readAsArrayBuffer(e)}else{var o=[].slice.call(new Uint8Array(e),0);if(255!==o[2]||224!==o[3])return e;var r=256*o[4]+o[5],s=[255,216].concat(t,o.slice(4+r));n(new Uint8Array(s))}},getEXIF:function(e){if(!e.length)return[];for(var t=[],n=0;n<e.length;n++){var i=e[n];255===i[0]&&225===i[1]&&(t=t.concat(i))}return t},getSegments:function(e,t){if(e instanceof Blob){var n=this,i=new FileReader;i.onload=function(){n.getSegments(i.result,t)},i.readAsArrayBuffer(e)}else{if(!e.length&&!e.byteLength)return[];var a,o,r=0,s=[],l=[].slice.call(new Uint8Array(e),0);let n=1;for(;n&&(255!==l[r]||218!==l[r+1])&&(255===l[r]&&216===l[r+1]?r+=2:(a=r+(256*l[r+2]+l[r+3])+2,o=l.slice(r,a),r=a,s.push(o)),!(r>l.length)););t(s)}},decode64:function(e){var t="data:image/jpeg;base64,";if(e.slice(0,23)!==t)return[];for(var n=window.atob(e.replace(t,"")),i=new Uint8Array(n.length),a=0,o=n.length;a<o;a++)i[a]=n.charCodeAt(a);return i},encode64:function(e){for(var t="",n=0,i=e.length;n<i;n++)t+=String.fromCharCode(e[n]);return"data:image/jpeg;base64,"+window.btoa(t)}},g=n(5344),y=n.n(g);function b(e){let t="";y()(".viewer-in .address").length?(e&&(t='<i class="fa fa-map-marker"></i>'+e),y()(".viewer-in .address").html(t)):(e&&(t='<div class="address"><i class="fa fa-map-marker"></i>'+e+"</div>"),y()(".viewer-in .viewer-footer").append(t))}async function v(e){if(b(""),!function(e){return r().startsWith(e.type,"image")}(e))return;let t=await zj.net.w.noapi({url:`/platform/v1/papi/app_file/download/?file_md5=${e.md5}&webp=0`}),n=r().get(t,"url_list.0.path.0");b("定位信息加载中...");let i=document.createElement("img");i.src=n;let a=this;setTimeout((()=>{try{y().ajax({url:`${n}?exif`,success:e=>{e&&e.GPSLatitude?a.setPs(e):l().getData(i,(function(){var e=l().getAllTags(this);console.log("info",e),a.setPs(e)}))},error:()=>{l().getData(i,(function(){var e=l().getAllTags(this);console.log("info",e),a.setPs(e)}))}})}catch(e){l().getData(i,(function(){var e=l().getAllTags(this);a.setPs(e)}))}}),600)}function w(e){console.log("filePath",e);var t=e.lastIndexOf(".");return-1!=t?e.substring(t+1,e.length).toLowerCase():""}h().use(u.Upload),h().use(u.Button),h().use(u.Dialog);const M=n(3318);h().use(p.Ay),p.Ay.setDefaults({url:"data-source"});var k=null,L={props:{type:{type:String,default:"MulImage"},value:{},fieldConf:{},row:{},extensions:{type:String,default(){return".jpg,.jpeg,.png,.dwg,.heic,.heif,.webp,.jfif"}}},data(){return{curVal:[],fileList:[],opened:!1,officeUrl:"",windowH:0}},watch:{value(){this.curVal=this.isSign&&r().isString(this.value)&&this.value?[{md5:this.value,name:"",type:"image/png"}]:this.value}},computed:{url(){return"/platform/v1/papi/app_file/upload/"},isSign(){return"Signature"===this.type||"Signature"==this.fieldConf.type},photo(){let e=[];return r().each(this.curVal,(t=>{if(this.isImageFile(t)){let n=this.fileLink(t,600);e.push(n)}})),e},photoMd5s(){let e=[];return r().each(this.curVal,(t=>{this.isImageFile(t)&&e.push(t.md5)})),e},maxCountConf(){return r().get(this.fieldConf,"check.max_count")},maxCount(){return r().isArray(this.curVal)?this.maxCountConf-this.curVal.length:this.maxCountConf},disabled(){return(this.curVal?this.curVal:[]).length>=this.maxCountConf}},created(){},mounted(){this.curVal=this.isSign&&r().isString(this.value)&&this.value?[{md5:this.value,name:"签名",type:"image/png"}]:this.value,this.windowH=document.body.clientHeight/100*99-50,this.appendJs("https://webapi.amap.com/maps?v=1.4.15&key=c2195d5de1c163ebfb118bad93c8bbd3",(()=>{var e=new k.Map("container",{resizeEnable:!0});e.plugin("AMap.Geolocation",(()=>{let t=new k.Geolocation({enableHighAccuracy:!0,timeout:1e4,maximumAge:0,convert:!0,showButton:!0,buttonPosition:"LB",buttonOffset:new k.Pixel(10,20),showMarker:!0,showCircle:!0,panToLocation:!0,zoomToAccuracy:!0});e.addControl(t),t.getCurrentPosition(),k.event.addListener(t,"complete",(e=>{this.position=e.position})),k.event.addListener(t,"error",(e=>{console.log("定位出错-error",e)}))}))}))},methods:{appendJs(e){let t=document.createElement("script"),n={type:"text/javascript",async:/^http/.test(e)?"async":"",src:e};for(var i in n)t[i]=n[i];document.head.appendChild(t)},inited(e){e.options.view=this.view,this.$viewer=e},view(e){let t=e.detail.index,n=r().filter(this.curVal,(e=>this.isImageFile(e)));v(r().get(n,t))},previewImg(e){let t=r().indexOf(this.photoMd5s,e.md5);this.$viewer.view(t)},isDwg(e){return r().endsWith(e.name,".dwg")},getFileTypeClass(e){let t=w(e.type);return t=t||w(e.name),r().endsWith(e.name,".dwg")&&(t="dwg"),r().get({document:"fa-file-word-o",sheet:"fa-file-excel-o",doc:"fa-file-word-o",docx:"fa-file-word-o",xlsx:"fa-file-excel-o","ms-excel":"fa-file-excel-o",dwg:"fa-file-image-o",png:"fa-file-image-o",jpg:"fa-file-image-o"},t)},handleAdd(e){console.log("_file",e),l().getData(e,(()=>{let e=l().getAllTags(this);console.log("allEXIF",e)}));let t=this.fileList;r().each(t,((e,t)=>{!function(e,t){if(-1==e.type.indexOf("image"))t(null);else{let n=new FileReader,i=new Image;n.readAsDataURL(e),n.onload=function(){e.src=this.result,i.onload=function(){let t=i.width,n=i.height;e.width=t,e.height=n},i.src=e.src,function(e,t,n,i){var a=new Image;a.src=e.src,a.onload=function(){var e=this,a=e.width,o=e.height,r=a/o;a=t.width||a,o=t.height||a/r;var s=.7,d=document.createElement("canvas"),c=d.getContext("2d"),u=document.createAttribute("width");u.nodeValue=a;var m=document.createAttribute("height");m.nodeValue=o,d.setAttributeNode(u),d.setAttributeNode(m);try{l().getData(n,(function(){let n=l().getTag(this,"GPSLatitude");c.drawImage(e,0,0,a,o),t.quality&&t.quality<=1&&t.quality>0&&(s=t.quality);var r=d.toDataURL("image/jpeg",s);i(r,n)}))}catch(n){c.drawImage(e,0,0,a,o),t.quality&&t.quality<=1&&t.quality>0&&(s=t.quality);var f=d.toDataURL("image/jpeg",s);i(f,null)}}}(e,{quality:.4},e,t)}}}(e,((n,i)=>{n&&_.getSegments(new Blob([e]),(a=>{let o=this.dataURLtoFile(n,e.name),s=_.getEXIF(a);if(!r().isEmpty(s)&&i)_.insertEXIF(o,s,(n=>{let i=new Blob([n],{type:e.type});i.name=e.name,i.lastModifiedDate=new Date,this.fileList[t]=i}));else{let i={},a={},o={};i[M.ImageIFD.Make]="lse";let r=this.position.lat,s=this.position.lng;o[M.GPSIFD.GPSLatitudeRef]=r<0?"S":"N",o[M.GPSIFD.GPSLatitude]=M.GPSHelper.degToDmsRational(r),o[M.GPSIFD.GPSLongitudeRef]=s<0?"W":"E",o[M.GPSIFD.GPSLongitude]=M.GPSHelper.degToDmsRational(s),o[M.GPSIFD.GPSImgDirection]=[123456,100];let l={"0th":i,Exif:a,GPS:o},d=M.dump(l),c=M.insert(d,n),u=this.dataURLtoFile(c,e.name);this.fileList[t]=u}}))}))}))},dataURLtoFile(e,t){let n=e.split(","),i=n[0].match(/:(.*?);/)[1],a=atob(n[1]),o=a.length,r=new Uint8Array(o);for(;o--;)r[o]=a.charCodeAt(o);return new File([r],t,{type:i})},isImageFile(e){return r().startsWith(e.type,"image")},itemSideImageAttr(e){let t={};return this.isImageFile(e)?t.image=this.fileLink(e):t.icon="fa fa-file",t},fileLink(e){if(!e||!e.md5)return;let t=this.isImageFile(e),n={file_md5:e.md5};return t||(n.is_file=1),(0,m.zC)("/platform/v1/papi/web_file/image_view/",n)},async preview(e){if("dwg/dwg"==e.type)return;let t=await zj.net.w.noapi({url:`/platform/v1/papi/app_file/download/?file_md5=${e.md5}&webp=0`}),n=r().get(t,"url_list.0.path.0"),i=w(n);"application/pdf"==e.type&&(i="pdf"),"application/vnd.ms-excel"==e.type&&(i="ms-excel");let a=function(){let e=(new Date).valueOf();return function(e){let t=0,n=e.length;for(let i=0;i<n;i++)t=31*t+e.charCodeAt(i),t>2147483647&&(t%=2147483648);return t}(function(){let e="",t=6,n=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];for(let i=0;i<t;i++)e+=n[Math.round(Math.random()*(n.length-1))];return e}()+e.toString())}(),o=`https://${window.location.host}/zj_of/v1/papi/file/read_only/?md5=${e.md5}&type=${{document:"Word.Document",docx:"Word.Document",doc:"Word.Document",sheet:"Excel.Sheet",pdf:"pdf",xlsx:"Excel.Sheet","ms-excel":"Excel.Sheet"}[i]}&sign=${a}`;if("wps"!=(await zj.net.w.noapi({url:"/zj_of/v1/papi/file/using_engine/"})).engine&&(o="https://view.officeapps.live.com/op/embed.aspx?src="+encodeURIComponent(n)),"pdf"==i){let e=n.lastIndexOf(".com");n=n.substring(e+4,n.length),n=encodeURIComponent(n),o=(0,m.Fr)()?`/public/app3/bpm/view_pdf.html?url=${n}`:`/public/bpm/app/view_pdf.html?url=${n}`}this.officeUrl=o,this.opened=!0},onFail(e,t){let n=`${t.name}上传失败`;console.log("err:",n)},onUploaded(e,t){console.log("file",t);let n={};t.raw&&t.raw.exifdata&&(n=t.raw.exifdata);let i=r().isArray(this.curVal)?this.curVal:[];if(r().find(this.curVal,{md5:r().get(e,"data.file_md5")}))return this.$message.warning(zj.z("图片重复","c.repeat_image")),!1;i.push({name:t.name,type:r().get(t,"raw.type"),md5:r().get(e,"data.file_md5"),upload_time:c()().unix(),take_photo_time:n.DateTimeOriginal?c()(n.DateTimeOriginal,"YYYY:MM:DD HH:mm:ss").unix():null}),this.curVal=r().cloneDeep(i);let a=this.isSign?r().get(this.curVal,"0.md5",""):this.curVal;this.$emit("input",a),this.$emit("change",a)},remove(e){this.curVal=r().filter(this.curVal,(t=>t.md5!=e)),this.$refs.uploader.queue=[];let t=this.isSign?r().get(this.curVal,"0.md5",""):this.curVal;this.$emit("input",t),this.$emit("change",t)},onHide(){this.opened=!1},onOpen(){this.opened=!0}}},S=L,x=n(4486),D=(0,x.A)(S,a,[],!1,null,null,null);D.options.__file="components/lib/bpmMulImage/src/part/editor.vue";var C=D.exports,T=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-mul-image-reader"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!e.curVal||0==e.curVal.length,expression:"!curVal || curVal.length == 0"}]},[e._v(e._s(e.isSignature?e.$z("未签名","c.unsigned"):e.$z("暂无图片","c.no_pictures")))]),e._v(" "),e.isSignature&&e.curVal&&e.curVal[0]?["table"==e.uiType?n("img",{staticStyle:{width:"auto",height:"53px"},attrs:{src:e.fileLink(e.curVal[0]),alt:e.$z("电子签名","c.electronic_signature"),onerror:e.emitImgLoadError}}):n("img",{staticStyle:{width:"160px",height:"auto"},attrs:{src:e.fileLink(e.curVal[0]),alt:e.$z("电子签名","c.electronic_signature"),onerror:e.emitImgLoadError}})]:n("viewer",{ref:"viewer",attrs:{images:e.photo,rebuild:""},on:{inited:e.inited}},e._l(e.curVal,(function(t){return n("span",{key:t.md5,staticClass:"images clearfix"},[e.isImageFile(t)?n("div",{staticClass:"file-box"},[n("div",{staticClass:"file-icon",staticStyle:{border:"1px dashed #ececec",cursor:"pointer"}},[n("img",{ref:"pic_img_"+t.md5,refInFor:!0,staticStyle:{width:"200px",height:"auto"},attrs:{src:e.fileLink(t,200),"data-source":e.fileLink(t,-1),onerror:e.reloadImg(t),alt:""}})]),e._v(" "),n("div",{staticClass:"relative-position tc file-link ellipsis",attrs:{title:t.name}},[e._v("\n "+e._s(t.name)+"\n ")])]):e._e()])})),0),e._v(" "),n("img",{staticStyle:{display:"none"},attrs:{id:"image",src:""}})],2)};T._withStripped=!0,window.$isBlank=m.z3,h().use(p.Ay),p.Ay.setDefaults({url:"data-source"});var Y={props:["type","value","fieldConf","row","uiType"],data(){return{vueLightId1:null,photo:[],curVal:[],officeUrl:"",opened:!1,windowH:0,imgReloadCountMap:{}}},computed:{is_mobile(){return(0,m.Fr)()},isSignature(){return"Signature"===this.fieldConf.type}},watch:{value(){console.log("img_curlVal",this.value),this.curVal=r().isString(this.value)?[{md5:this.value,name:"",type:"image/png"}]:this.value,this.setPhoto()}},created(){},mounted(){let e=(new Date).getTime();this.vueLightId1=e+1,console.log("this.value",this.value),this.curVal=r().isString(this.value)?[{md5:this.value,name:"",type:"image/png"}]:this.value,this.setPhoto(),this.windowH=document.body.clientHeight/100*99-50},methods:{reloadImg(e){this.imgReloadCountMap["pic_img_"+e.md5]?this.imgReloadCountMap["pic_img_"+e.md5]++:this.imgReloadCountMap["pic_img_"+e.md5]=1,this.imgReloadCountMap["pic_img_"+e.md5]<5&&setTimeout((()=>{console.log("重新加载图片-","pic_img_"+e.md5),this.$refs["pic_img_"+e.md5][0].src=this.fileLink(e,200)}),200)},emitImgLoadError(){this.$emit("imgLoadError")},isDwg(e){return r().endsWith(e.name,".dwg")},inited(e){e.options.view=this.view,this.$viewer=e},view(e){let t=e.detail.index,n=r().filter(this.curVal,(e=>this.isImageFile(e)));v(r().get(n,t))},setPhoto(){let e=[];r().each(this.curVal,(t=>{if(this.isImageFile(t)){let n=this.fileLink(t,-1);e.push(n)}})),this.photo=e,console.log("this.photo",this.photo)},getFileTypeClass(e){let t=w(e.type);return"application/pdf"==e.type&&(t="fa-file-pdf-o"),r().get({document:"fa-file-word-o",sheet:"fa-file-excel-o",doc:"fa-file-word-o",docx:"fa-file-word-o",xlsx:"fa-file-excel-o","ms-excel":"fa-file-excel-o",dwg:"fa-file-image-o",png:"fa-file-image-o",jpg:"fa-file-image-o"},t)},isImageFile(e){return r().startsWith(e.type,"image")},fileLink(e,t){if(console.log("fileLink_tem",e),!e||!e.md5)return;let n=this.isImageFile(e),i={file_md5:e.md5};return t&&(i.width=t),n||(i.is_file=1),(0,m.zC)("/platform/v1/papi/web_file/image_view/",i)},onHide(){this.opened=!1},onOpen(){this.opened=!0}}},$=(0,x.A)(Y,T,[],!1,null,null,null);$.options.__file="components/lib/bpmMulImage/src/part/reader.vue";var j=$.exports,O={name:"BpmMulImage",components:{editorComponent:C,readerComponent:j},props:{value:{type:[String,Array]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?j:C}},watch:{value(e){console.log("mulImage",e),this.curVal=e}},mounted(){this.curVal=this.value},methods:{emitImgLoadError(){this.$emit("imgLoadError")},handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},I=(0,x.A)(O,i,[],!1,null,null,null);I.options.__file="components/lib/bpmMulImage/src/main.vue";var P=I.exports;P.install=function(e){e.component(P.name,P)};var E=P},2572:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5093))},2586:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const i=n(8727),a=n(208),o=n(7887),r=n(208),s=n(7870),l=n(3673),d=n(4495),c=n(9029),u=n(2023),m=n(6939),f=n(4227),h=n(8708);function p({gen:e,validateName:t,schema:n,schemaEnv:i,opts:a},o){a.code.es5?e.func(t,c._`${u.default.data}, ${u.default.valCxt}`,i.$async,(()=>{e.code(c._`"use strict"; ${_(n,a)}`),function(e,t){e.if(u.default.valCxt,(()=>{e.var(u.default.instancePath,c._`${u.default.valCxt}.${u.default.instancePath}`),e.var(u.default.parentData,c._`${u.default.valCxt}.${u.default.parentData}`),e.var(u.default.parentDataProperty,c._`${u.default.valCxt}.${u.default.parentDataProperty}`),e.var(u.default.rootData,c._`${u.default.valCxt}.${u.default.rootData}`),t.dynamicRef&&e.var(u.default.dynamicAnchors,c._`${u.default.valCxt}.${u.default.dynamicAnchors}`)}),(()=>{e.var(u.default.instancePath,c._`""`),e.var(u.default.parentData,c._`undefined`),e.var(u.default.parentDataProperty,c._`undefined`),e.var(u.default.rootData,u.default.data),t.dynamicRef&&e.var(u.default.dynamicAnchors,c._`{}`)}))}(e,a),e.code(o)})):e.func(t,c._`${u.default.data}, ${function(e){return c._`{${u.default.instancePath}="", ${u.default.parentData}, ${u.default.parentDataProperty}, ${u.default.rootData}=${u.default.data}${e.dynamicRef?c._`, ${u.default.dynamicAnchors}={}`:c.nil}}={}`}(a)}`,i.$async,(()=>e.code(_(n,a)).code(o)))}function _(e,t){const n="object"==typeof e&&e[t.schemaId];return n&&(t.code.source||t.code.process)?c._`/*# sourceURL=${n} */`:c.nil}function g({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const n in e)if(t.RULES.all[n])return!0;return!1}function y(e){return"boolean"!=typeof e.schema}function b(e){(0,f.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:n,opts:i,self:a}=e;t.$ref&&i.ignoreKeywordsWithRef&&(0,f.schemaHasRulesButRef)(t,a.RULES)&&a.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}(e)}function v(e,t){if(e.opts.jtd)return M(e,[],!1,t);const n=(0,a.getSchemaTypes)(e.schema);M(e,n,!(0,a.coerceAndCheckDataType)(e,n),t)}function w({gen:e,schemaEnv:t,schema:n,errSchemaPath:i,opts:a}){const o=n.$comment;if(!0===a.$comment)e.code(c._`${u.default.self}.logger.log(${o})`);else if("function"==typeof a.$comment){const n=c.str`${i}/$comment`,a=e.scopeValue("root",{ref:t.root});e.code(c._`${u.default.self}.opts.$comment(${o}, ${n}, ${a}.schema)`)}}function M(e,t,n,i){const{gen:a,schema:s,data:l,allErrors:d,opts:m,self:h}=e,{RULES:p}=h;function _(f){(0,o.shouldUseGroup)(s,f)&&(f.type?(a.if((0,r.checkDataType)(f.type,l,m.strictNumbers)),k(e,f),1===t.length&&t[0]===f.type&&n&&(a.else(),(0,r.reportTypeError)(e)),a.endIf()):k(e,f),d||a.if(c._`${u.default.errors} === ${i||0}`))}!s.$ref||!m.ignoreKeywordsWithRef&&(0,f.schemaHasRulesButRef)(s,p)?(m.jtd||function(e,t){!e.schemaEnv.meta&&e.opts.strictTypes&&(function(e,t){t.length&&(e.dataTypes.length?(t.forEach((t=>{L(e.dataTypes,t)||S(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)})),function(e,t){const n=[];for(const i of e.dataTypes)L(t,i)?n.push(i):t.includes("integer")&&"number"===i&&n.push("integer");e.dataTypes=n}(e,t)):e.dataTypes=t)}(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&S(e,"use allowUnionTypes to allow union type keyword")}(e,t),function(e,t){const n=e.self.RULES.all;for(const i in n){const a=n[i];if("object"==typeof a&&(0,o.shouldUseRule)(e.schema,a)){const{type:n}=a.definition;n.length&&!n.some((e=>{return i=e,(n=t).includes(i)||"number"===i&&n.includes("integer");var n,i}))&&S(e,`missing type "${n.join(",")}" for keyword "${i}"`)}}}(e,e.dataTypes))}(e,t),a.block((()=>{for(const e of p.rules)_(e);_(p.post)}))):a.block((()=>D(e,"$ref",p.all.$ref.definition)))}function k(e,t){const{gen:n,schema:i,opts:{useDefaults:a}}=e;a&&(0,s.assignDefaults)(e,t.type),n.block((()=>{for(const n of t.rules)(0,o.shouldUseRule)(i,n)&&D(e,n.keyword,n.definition,t.type)}))}function L(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function S(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,f.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){y(e)&&(b(e),g(e))?function(e){const{schema:t,opts:n,gen:i}=e;p(e,(()=>{n.$comment&&t.$comment&&w(e),function(e){const{schema:t,opts:n}=e;void 0!==t.default&&n.useDefaults&&n.strictSchema&&(0,f.checkStrictMode)(e,"default is ignored in the schema root")}(e),i.let(u.default.vErrors,null),i.let(u.default.errors,0),n.unevaluated&&function(e){const{gen:t,validateName:n}=e;e.evaluated=t.const("evaluated",c._`${n}.evaluated`),t.if(c._`${e.evaluated}.dynamicProps`,(()=>t.assign(c._`${e.evaluated}.props`,c._`undefined`))),t.if(c._`${e.evaluated}.dynamicItems`,(()=>t.assign(c._`${e.evaluated}.items`,c._`undefined`)))}(e),v(e),function(e){const{gen:t,schemaEnv:n,validateName:i,ValidationError:a,opts:o}=e;n.$async?t.if(c._`${u.default.errors} === 0`,(()=>t.return(u.default.data)),(()=>t.throw(c._`new ${a}(${u.default.vErrors})`))):(t.assign(c._`${i}.errors`,u.default.vErrors),o.unevaluated&&function({gen:e,evaluated:t,props:n,items:i}){n instanceof c.Name&&e.assign(c._`${t}.props`,n),i instanceof c.Name&&e.assign(c._`${t}.items`,i)}(e),t.return(c._`${u.default.errors} === 0`))}(e)}))}(e):p(e,(()=>(0,i.topBoolOrEmptySchema)(e)))};class x{constructor(e,t,n){if((0,l.validateKeywordUsage)(e,t,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,f.schemaRefOrVal)(e,this.schema,n,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",Y(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,l.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",u.default.errors))}result(e,t,n){this.failResult((0,c.not)(e),t,n)}failResult(e,t,n){this.gen.if(e),n?n():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,c.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(c._`${t} !== undefined && (${(0,c.or)(this.invalid$data(),e)})`)}error(e,t,n){if(t)return this.setParams(t),this._error(e,n),void this.setParams({});this._error(e,n)}_error(e,t){(e?h.reportExtraError:h.reportError)(this,this.def.error,t)}$dataError(){(0,h.reportError)(this,this.def.$dataError||h.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,h.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,n=c.nil){this.gen.block((()=>{this.check$data(e,n),t()}))}check$data(e=c.nil,t=c.nil){if(!this.$data)return;const{gen:n,schemaCode:i,schemaType:a,def:o}=this;n.if((0,c.or)(c._`${i} === undefined`,t)),e!==c.nil&&n.assign(e,!0),(a.length||o.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==c.nil&&n.assign(e,!1)),n.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:n,def:i,it:a}=this;return(0,c.or)(function(){if(n.length){if(!(t instanceof c.Name))throw new Error("ajv implementation error");const e=Array.isArray(n)?n:[n];return c._`${(0,r.checkDataTypes)(e,t,a.opts.strictNumbers,r.DataType.Wrong)}`}return c.nil}(),function(){if(i.validateSchema){const n=e.scopeValue("validate$data",{ref:i.validateSchema});return c._`!${n}(${t})`}return c.nil}())}subschema(e,t){const n=(0,d.getSubschema)(this.it,e);(0,d.extendSubschemaData)(n,this.it,e),(0,d.extendSubschemaMode)(n,e);const a={...this.it,...n,items:void 0,props:void 0};return function(e,t){y(e)&&(b(e),g(e))?function(e,t){const{schema:n,gen:i,opts:a}=e;a.$comment&&n.$comment&&w(e),function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,m.resolveUrl)(e.opts.uriResolver,e.baseId,t))}(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const o=i.const("_errs",u.default.errors);v(e,o),i.var(t,c._`${o} === ${u.default.errors}`)}(e,t):(0,i.boolOrEmptySchema)(e,t)}(a,t),a}mergeEvaluated(e,t){const{it:n,gen:i}=this;n.opts.unevaluated&&(!0!==n.props&&void 0!==e.props&&(n.props=f.mergeEvaluated.props(i,e.props,n.props,t)),!0!==n.items&&void 0!==e.items&&(n.items=f.mergeEvaluated.items(i,e.items,n.items,t)))}mergeValidEvaluated(e,t){const{it:n,gen:i}=this;if(n.opts.unevaluated&&(!0!==n.props||!0!==n.items))return i.if(t,(()=>this.mergeEvaluated(e,c.Name))),!0}}function D(e,t,n,i){const a=new x(e,n,t);"code"in n?n.code(a,i):a.$data&&n.validate?(0,l.funcKeywordCode)(a,n):"macro"in n?(0,l.macroKeywordCode)(a,n):(n.compile||n.validate)&&(0,l.funcKeywordCode)(a,n)}t.KeywordCxt=x;const C=/^\/(?:[^~]|~0|~1)*$/,T=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Y(e,{dataLevel:t,dataNames:n,dataPathArr:i}){let a,o;if(""===e)return u.default.rootData;if("/"===e[0]){if(!C.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);a=e,o=u.default.rootData}else{const r=T.exec(e);if(!r)throw new Error(`Invalid JSON-pointer: ${e}`);const s=+r[1];if(a=r[2],"#"===a){if(s>=t)throw new Error(l("property/index",s));return i[t-s]}if(s>t)throw new Error(l("data",s));if(o=n[t-s],!a)return o}let r=o;const s=a.split("/");for(const e of s)e&&(o=c._`${o}${(0,c.getProperty)((0,f.unescapeJsonPointer)(e))}`,r=c._`${r} && ${o}`);return r;function l(e,n){return`Cannot access ${e} ${n} levels up, current level is ${t}`}}t.getData=Y},2622:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return V}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-select",attrs:{fieldConf:e.fieldConf,container:e.container,row:e.row,mode:e.mode,formName:e.formName,uiType:e.uiType},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-mul-file-edit"},[n("el-upload",{ref:"uploader",attrs:{action:e.url,name:"userfile","show-file-list":!1,drag:"",multiple:"",limit:e.maxCount,accept:e.extensions,"before-upload":e.handleAdd,"on-success":e.onUploaded,"on-error":e.onFail,"file-list":e.fileList}},[n("i",{staticClass:"el-icon-upload"}),e._v(" "),n("div",{staticClass:"el-upload__text"},[e._v("\n "+e._s(e.$z("将文件拖到此处,或点击上传","c.drag_file_upload_tip"))+"\n ")])]),e._v(" "),n("div",[e.curVal&&e.curVal.length?[n("viewer",{staticStyle:{width:"100%"},attrs:{images:e.photo,rebuild:""},on:{inited:e.inited}},e._l(e.curVal,(function(t){return n("div",{key:t.md5,staticClass:"col-12 file-box",staticStyle:{"margin-top":"10px"}},[e.isImageFile(t)?n("span",{staticClass:"file-content",on:{click:function(n){return e.previewImg(t)}}},[n("img",{staticClass:"preview-image",attrs:{src:e.fileLink(t,200),"data-source":e.fileLink(t,-1)}})]):n("span",{staticClass:"file-content",staticStyle:{"margin-left":"8px"},on:{click:function(n){return e.preview(t)}}},[n("div",{staticClass:"text-left file-icon"},[n("i",{staticClass:"fa",class:e.getFileTypeClass(t),attrs:{"aria-hidden":"true"}})])]),e._v(" "),n("div",{staticClass:"relative-position file-link ellipsis",attrs:{title:t.name}},[e._v("\n "+e._s(t.name)+"\n ")]),e._v(" "),n("div",{staticClass:"file-remove",on:{click:function(n){return e.remove(t.md5,t)}}},[n("el-button",{attrs:{type:"text"}},[e._v(e._s(e.$z("删除","c.delete")))])],1),e._v(" "),e.enableOcr?n("div",[n("el-button",{attrs:{type:"text",icon:e.getOcrIcon(t.md5),size:"mini",loading:e.isOcrLoading(t.md5),disabled:e.isOcrDisabled(t.md5)},on:{click:function(n){return e.startOcr(t.md5)}}},[e._v(e._s(e.getOcrButtonText(t.md5)))])],1):e._e()])})),0)]:e._e()],2),e._v(" "),n("el-dialog",e._g(e._b({staticClass:"file-modal",attrs:{visible:e.opened,"before-close":e.onHide,title:e.$z("文件预览","c.file_preview"),fullscreen:!0},on:{"update:visible":function(t){e.opened=t},open:e.onOpen}},"el-dialog",e.$attrs,!1),e.$listeners),[n("iframe",{attrs:{src:e.officeUrl,width:"99%",height:e.windowH}})]),e._v(" "),n("img",{staticStyle:{display:"none"},attrs:{id:"image",src:""}}),e._v(" "),n("div",{staticStyle:{height:"100px",width:"109px",display:"none"},attrs:{id:"container"}})],1)};a._withStripped=!0;var o=n(6773),r=n.n(o),s=n(7642),l=n(9795),d=n(5281),c=n(1335),u=n.n(c),m=n(5554),f=n.n(m),h=n(8245),p=(n(8085),n(7107),n(5360),n(5093)),_=n.n(p);var g={insertEXIF:function(e,t,n){if(e instanceof Blob){var i=this,a=new FileReader;a.onload=function(){i.insertEXIF(a.result,t,n)},a.readAsArrayBuffer(e)}else{var o=[].slice.call(new Uint8Array(e),0);if(255!==o[2]||224!==o[3])return e;var r=256*o[4]+o[5],s=[255,216].concat(t,o.slice(4+r));n(new Uint8Array(s))}},getEXIF:function(e){if(!e.length)return[];for(var t=[],n=0;n<e.length;n++){var i=e[n];255===i[0]&&225===i[1]&&(t=t.concat(i))}return t},getSegments:function(e,t){if(e instanceof Blob){var n=this,i=new FileReader;i.onload=function(){n.getSegments(i.result,t)},i.readAsArrayBuffer(e)}else{if(!e.length&&!e.byteLength)return[];var a,o,r=0,s=[],l=[].slice.call(new Uint8Array(e),0);let n=1;for(;n&&(255!==l[r]||218!==l[r+1])&&(255===l[r]&&216===l[r+1]?r+=2:(a=r+(256*l[r+2]+l[r+3])+2,o=l.slice(r,a),r=a,s.push(o)),!(r>l.length)););t(s)}},decode64:function(e){var t="data:image/jpeg;base64,";if(e.slice(0,23)!==t)return[];for(var n=window.atob(e.replace(t,"")),i=new Uint8Array(n.length),a=0,o=n.length;a<o;a++)i[a]=n.charCodeAt(a);return i},encode64:function(e){for(var t="",n=0,i=e.length;n<i;n++)t+=String.fromCharCode(e[n]);return"data:image/jpeg;base64,"+window.btoa(t)}},y=n(5344),b=n.n(y);function v(e){let t="";b()(".viewer-in .address").length?(e&&(t='<i class="fa fa-map-marker"></i>'+e),b()(".viewer-in .address").html(t)):(e&&(t='<div class="address"><i class="fa fa-map-marker"></i>'+e+"</div>"),b()(".viewer-in .viewer-footer").append(t))}async function w(e){if(v(""),!function(e){return r().startsWith(e.type,"image")}(e))return;let t=await zj.net.w.noapi({url:`/platform/v1/papi/app_file/download/?file_md5=${e.md5}&webp=0`}),n=r().get(t,"url_list.0.path.0");v("定位信息加载中...");let i=document.createElement("img");i.src=n;let a=this;setTimeout((()=>{try{b().ajax({url:`${n}?exif`,success:e=>{e&&e.GPSLatitude?a.setPs(e):u().getData(i,(function(){var e=u().getAllTags(this);console.log("info",e),a.setPs(e)}))},error:()=>{u().getData(i,(function(){var e=u().getAllTags(this);console.log("info",e),a.setPs(e)}))}})}catch(e){u().getData(i,(function(){var e=u().getAllTags(this);a.setPs(e)}))}}),600)}function M(e){console.log("filePath",e);var t=e.lastIndexOf(".");return-1!=t?e.substring(t+1,e.length).toLowerCase():""}function k(e){console.log("filePath",e);var t=e.lastIndexOf(".");let n="";return n=-1!=t?e.substring(t+1,e.length).toLowerCase():"other",console.log("fileSuffix",n),r().get({document:"fa-file-word-o",doc:"fa-file-word-o",docx:"fa-file-word-o",sheet:"fa-file-excel-o",xls:"fa-file-excel-o",xlsx:"fa-file-excel-o","ms-excel":"fa-file-excel-o",dwg:"fa-file-image-o",png:"fa-file-image-o",jpg:"fa-file-image-o",jfif:"fa-file-image-o",jpeg:"fa-file-image-o",pjpeg:"fa-file-image-o",gif:"fa-file-image-o",webp:"fa-file-image-o",svg:"fa-file-image-o",pdf:"fa-file-pdf-o",pptx:"fa-file-powerpoint-o",ppt:"fa-file-powerpoint-o",mp4:"fa-file-video-o",avi:"fa-file-video-o",mov:"fa-file-video-o",wmv:"fa-file-video-o",flv:"fa-file-video-o",mkv:"fa-file-video-o",webm:"fa-file-video-o",m4v:"fa-file-video-o","3gp":"fa-file-video-o",mpeg:"fa-file-video-o",rmvb:"fa-file-video-o",ts:"fa-file-video-o",vob:"fa-file-video-o",wav:"fa-file-audio-o",aiff:"fa-file-audio-o",pcm:"fa-file-audio-o",flac:"fa-file-audio-o",alac:"fa-file-audio-o",wma:"fa-file-audio-o",mp3:"fa-file-audio-o",ogg:"fa-file-audio-o",aac:"fa-file-audio-o",zip:"fa-file-archive-o",rar:"fa-file-archive-o",gz:"fa-file-archive-o",tgz:"fa-file-archive-o",bz2:"fa-file-archive-o",gar:"fa-file-archive-o",c:"fa-file-code-o",aspx:"fa-file-code-o",class:"fa-file-code-o",clw:"fa-file-code-o",cpp:"fa-file-code-o",cs:"fa-file-code-o",dll:"fa-file-code-o",dsp:"fa-file-code-o",h:"fa-file-code-o",hpp:"fa-file-code-o",html:"fa-file-code-o",jar:"fa-file-code-o",java:"fa-file-code-o",js:"fa-file-code-o",lib:"fa-file-code-o",ocx:"fa-file-code-o",py:"fa-file-code-o",pyc:"fa-file-code-o",xml:"fa-file-code-o",json:"fa-file-code-o",conf:"fa-file-code-o"},n,"fa-file-o")}function L(){let e=(new Date).valueOf();return function(e){let t=0,n=e.length;for(let i=0;i<n;i++)t=31*t+e.charCodeAt(i),t>2147483647&&(t%=2147483648);return t}(function(){let e="",t=6,n=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];for(let i=0;i<t;i++)e+=n[Math.round(Math.random()*(n.length-1))];return e}()+e.toString())}f().use(s.Upload),f().use(s.Button),f().use(s.Dialog);const S=n(3318);f().use(h.Ay),h.Ay.setDefaults({url:"data-source"});var x=null,D={props:{value:{},fieldConf:{},container:{},row:{},formName:{type:String,default(){return""}},extensions:{type:String,default(){return".webp,.gif,.jpg,.jpeg,.png,.heic,.heif,.doc,.xlsx,.pdf,.docx,.xls,.dwg,.xer,.mpp,.jfif"}}},data(){return{curVal:[],fileList:[],opened:!1,officeUrl:"",windowH:0,ocr_interval_timers_map:{},ocr_loading:!1,ocr_result_map:{},currentOcrMd5:"",curExifInfo:{}}},watch:{value(){this.curVal=r().isArray(this.value)?this.value:[]}},computed:{formData(){return this.container.isSubForm?this.container.container.formData:this.container.formData},url(){return r().get(this.fieldConf,"upload_url","/platform/v1/papi/app_file/upload/")},photo(){let e=[];return r().each(this.curVal,(t=>{if(this.isImageFile(t)){let n=this.fileLink(t,-1);e.push(n)}})),e},photoMd5s(){let e=[];return r().each(this.curVal,(t=>{this.isImageFile(t)&&e.push(t.md5)})),e},maxCountConf(){return r().get(this.fieldConf,"check.max_count")},enableOcr(){return r().get(this.fieldConf,"enable_ocr")},ocrSetting(){return r().get(this.fieldConf,"ocr_setting")},maxCount(){return r().isArray(this.curVal)?this.maxCountConf-this.curVal.length:this.maxCountConf},disabled(){return(this.curVal?this.curVal:[]).length>=this.maxCountConf}},created(){},mounted(){this.curVal=this.value,this.windowH=document.body.clientHeight/100*99-50,this.appendJs("https://webapi.amap.com/maps?v=1.4.15&key=c2195d5de1c163ebfb118bad93c8bbd3",(()=>{var e=new x.Map("container",{resizeEnable:!0});e.plugin("AMap.Geolocation",(()=>{let t=new x.Geolocation({enableHighAccuracy:!0,timeout:1e4,maximumAge:0,convert:!0,showButton:!0,buttonPosition:"LB",buttonOffset:new x.Pixel(10,20),showMarker:!0,showCircle:!0,panToLocation:!0,zoomToAccuracy:!0});e.addControl(t),t.getCurrentPosition(),x.event.addListener(t,"complete",(e=>{this.position=e.position})),x.event.addListener(t,"error",(e=>{console.log("定位出错-error",e)}))}))}))},destroyed(){this.ocr_interval_timers_map&&(r().each(this.ocr_interval_timers_map,(e=>{e&&clearInterval(e)})),this.ocr_interval_timers_map={})},methods:{getOcrStatus(e){return r().get(this.ocr_result_map,`${e}.status`,0)},getOcrButtonText(e){const t=this.getOcrStatus(e);return t>=1&&t<=3?"识别中":4==t?"已完成":5==t?"异常":"OCR识别"},isOcrDisabled(e){return!(!this.currentOcrMd5||this.currentOcrMd5===e)},isOcrLoading(e){const t=this.getOcrStatus(e);return t>=1&&t<=3},getOcrIcon(e){const t=this.getOcrStatus(e);return 4==t?"el-icon-check":5==t?"el-icon-warning":"el-icon-magic-stick"},startOcr(e){this.initOcr(e)},async initOcr(e){if(this.currentOcrMd5&&this.currentOcrMd5!==e)return void this.$message.warning("请等待当前OCR任务完成");let t=null;this.currentOcrMd5=e,this.$set(this.ocr_result_map,e,{task_id:"",status:1});try{if(!this.enableOcr)return this.currentOcrMd5="",!1;{let n="",i=await d.A.OCR.getCreatedTaskList(e);if(i&&i.task&&i.task.length>0&&(n=i.task[i.task.length-1].id),!n){try{await this.$confirm("该附件首次执行OCR识别,用时可能稍久,请稍后,或让后台执行,之后可再进行发起识别","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"})}catch(t){return this.currentOcrMd5="",void this.$delete(this.ocr_result_map,e)}let t=await d.A.OCR.getTaskId(e);if(!(t&&t.task&&t.task.id))return this.$message.warning("ocr调用失败"),this.currentOcrMd5="",this.$set(this.ocr_result_map,e,{status:5}),!1;n=t.task.id}this.$set(this.ocr_result_map,e,{task_id:n,status:2}),t=setInterval((async()=>{let i=await d.A.OCR.getOcrResult({id:n});if(i&&i.task&&this.$set(this.ocr_result_map[e],"status",i.task.status),5==i.task.status)return clearInterval(t),this.$message.warning("ocr识别异常"),this.currentOcrMd5="",!1;if(4==i.task.status)if(clearInterval(t),this.currentOcrMd5="",i.callback&&i.callback.length>0){if(this.ocrSetting&&this.ocrSetting.this_form&&(Math.random(),r().each(this.ocrSetting.fields,(e=>{let t=r().get(i,e.ocr_field);t&&this.$set(this.formData,e.target_field,t)}))),this.ocrSetting&&this.ocrSetting.external_form_link){let e=zj.pageParam(),t=await d.A.OCR.ocrCreateForm({field_id:this.fieldConf.id,form_def_id:this.formName,ocr_task_id:n},e);t&&t.items&&t.items.length>0&&r().each(t.items,(e=>{let t=[];r().each(e.form_ids,(n=>{t.push({form_title:"",form_id:n,form_def_id:""}),this.$set(this.formData,e.field_id,t)}))}))}this.$message.success("ocr识别成功")}else this.$message.warning("ocr识别结果为空")}),this.ocrSetting&&this.ocrSetting.polling_interval_time||1e3),this.ocr_interval_timers_map[e]=t}}catch(n){return console.log("ocr调用失败",n),t&&clearInterval(t),this.$message.warning("ocr调用失败"),this.currentOcrMd5="",this.$set(this.ocr_result_map,e,{status:5}),!1}},appendJs(e){let t=document.createElement("script"),n={type:"text/javascript",async:/^http/.test(e)?"async":"",src:e};for(var i in n)t[i]=n[i];document.head.appendChild(t)},inited(e){e.options.view=this.view,this.$viewer=e},view(e){let t=e.detail.index,n=r().filter(this.curVal,(e=>this.isImageFile(e)));w(r().get(n,t))},previewImg(e){let t=r().indexOf(this.photoMd5s,e.md5);this.$viewer.view(t)},isDwg(e){return r().endsWith(e.name,".dwg")},getFileTypeClass(e){return k(e.name)},handleAdd(e){console.log("_file",e),u().getData(e,(()=>{let e=u().getAllTags(this);console.log("allEXIF",e)}));let t=this.fileList;r().each(t,((e,t)=>{console.log("handleAdd_file"),function(e,t){if(-1==e.type.indexOf("image"))t(null);else{let n=new FileReader,i=new Image;n.readAsDataURL(e),n.onload=function(){e.src=this.result,i.onload=function(){let t=i.width,n=i.height;e.width=t,e.height=n},i.src=e.src,function(e,t,n,i){var a=new Image;a.src=e.src,a.onload=function(){var e=this,a=e.width,o=e.height,r=a/o;a=t.width||a,o=t.height||a/r;var s=.7,l=document.createElement("canvas"),d=l.getContext("2d"),c=document.createAttribute("width");c.nodeValue=a;var m=document.createAttribute("height");m.nodeValue=o,l.setAttributeNode(c),l.setAttributeNode(m);try{u().getData(n,(function(){let n=u().getTag(this,"GPSLatitude");var r=u().getAllTags(this);console.log("exifInfo",r),d.drawImage(e,0,0,a,o),t.quality&&t.quality<=1&&t.quality>0&&(s=t.quality);var c=l.toDataURL("image/jpeg",s);i(c,n)}))}catch(n){d.drawImage(e,0,0,a,o),t.quality&&t.quality<=1&&t.quality>0&&(s=t.quality);var f=l.toDataURL("image/jpeg",s);i(f,null)}}}(e,{quality:.4},e,t)}}}(e,((n,i)=>{n&&g.getSegments(new Blob([e]),(a=>{let o=this.dataURLtoFile(n,e.name),s=g.getEXIF(a);if(console.log("exifInfo",s),!r().isEmpty(s)&&i)g.insertEXIF(o,s,(n=>{let i=new Blob([n],{type:e.type});i.name=e.name,i.lastModifiedDate=new Date,this.fileList[t]=i}));else{let i={},a={},o={};i[S.ImageIFD.Make]="lse";let r=this.position.lat,s=this.position.lng;o[S.GPSIFD.GPSLatitudeRef]=r<0?"S":"N",o[S.GPSIFD.GPSLatitude]=S.GPSHelper.degToDmsRational(r),o[S.GPSIFD.GPSLongitudeRef]=s<0?"W":"E",o[S.GPSIFD.GPSLongitude]=S.GPSHelper.degToDmsRational(s),o[S.GPSIFD.GPSImgDirection]=[123456,100];let l={"0th":i,Exif:a,GPS:o},d=S.dump(l),c=S.insert(d,n),u=this.dataURLtoFile(c,e.name);this.fileList[t]=u}}))}))}))},dataURLtoFile(e,t){let n=e.split(","),i=n[0].match(/:(.*?);/)[1],a=atob(n[1]),o=a.length,r=new Uint8Array(o);for(;o--;)r[o]=a.charCodeAt(o);return new File([r],t,{type:i})},isImageFile(e){return r().startsWith(e.type,"image")},itemSideImageAttr(e){let t={};return this.isImageFile(e)?t.image=this.fileLink(e):t.icon="fa fa-file",t},fileLink(e){if(!e||!e.md5)return;let t=this.isImageFile(e),n={file_md5:e.md5};return t||(n.is_file=1),(0,l.zC)("/platform/v1/papi/web_file/image_view/",n)},async preview(e){if("dwg/dwg"==e.type)return;let t=await zj.net.w.noapi({url:`/platform/v1/papi/app_file/download/?file_md5=${e.md5}&webp=0`}),n=r().get(t,"url_list.0.path.0"),i=M(n);"application/pdf"==e.type&&(i="pdf"),"application/vnd.ms-excel"==e.type&&(i="ms-excel");let a=L(),o=`https://${window.location.host}/zj_of/v1/papi/file/read_only/?md5=${e.md5}&type=${{document:"Word.Document",docx:"Word.Document",doc:"Word.Document",sheet:"Excel.Sheet",pdf:"pdf",xlsx:"Excel.Sheet","ms-excel":"Excel.Sheet"}[i]}&sign=${a}`;if("wps"!=(await zj.net.w.noapi({url:"/zj_of/v1/papi/file/using_engine/"})).engine&&(o="https://view.officeapps.live.com/op/embed.aspx?src="+encodeURIComponent(n)),"pdf"==i){let e=n.lastIndexOf(".com");n=n.substring(e+4,n.length),n=encodeURIComponent(n),o=(0,l.Fr)()?`/public/app3/bpm/view_pdf.html?url=${n}`:`/public/bpm/app/view_pdf.html?url=${n}`}this.officeUrl=o,this.opened=!0},onFail(e,t){let n=`${t.name}上传失败`;console.log("err:",n)},onUploaded(e,t){console.log("file",t);let n={};t.raw&&t.raw.exifdata&&(n=t.raw.exifdata);let i=null;i=n.DateTimeOriginal?_()(n.DateTimeOriginal,"YYYY:MM:DD HH:mm:ss").unix():n.ColorSpace?(new Date).getTime()/1e3:null;let a=r().isArray(this.curVal)?this.curVal:[];if(r().find(this.curVal,{md5:r().get(e,"data.file_md5")}))return this.$message.warning(zj.z("文件重复","c.duplicate_file")),!1;let o={name:t.name,type:r().get(t,"raw.type"),md5:r().get(e,"data.file_md5"),upload_time:_()().unix(),take_photo_time:i};e&&e.data&&e.data.file_md5&&a.push(o),this.curVal=r().cloneDeep(a),this.handleChange()},remove(e){this.curVal=r().filter(this.curVal,(t=>t.md5!=e)),this.handleChange(),this.$refs.uploader.queue=[]},onHide(){this.opened=!1},onOpen(){this.opened=!0},handleChange(){this.$emit("input",this.curVal),this.$emit("change",this.curVal)}}},C=D,T=n(4486),Y=(0,T.A)(C,a,[],!1,null,null,null);Y.options.__file="components/lib/bpmMulFile/src/part/editor.vue";var $=Y.exports,j=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-mul-file-reader"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!e.curVal||0==e.curVal.length,expression:"!curVal || curVal.length == 0"}]},[e._v("\n "+e._s(e.$z("暂无文件或图片","c.no_files"))+"\n ")]),e._v(" "),e.photo.length>0?n("viewer",{ref:"viewer",attrs:{images:e.photo,rebuild:""},on:{inited:e.inited}},[n("div",{staticStyle:{display:"flex","flex-wrap":"wrap"}},e._l(e.curVal,(function(t){return n("span",{key:t.md5},[e.isImageFile(t)?n("div",{staticClass:"file-box"},[n("div",{staticClass:"file-content",staticStyle:{height:"auto",border:"1px solid #ececec"}},[n("el-tooltip",{attrs:{content:t.name,placement:"bottom",effect:"dark"}},[n("img",{ref:"pic_img_"+t.md5,refInFor:!0,staticClass:"preview-image",attrs:{src:e.fileLink(t,200),"data-source":e.fileLink(t,-1),onerror:e.reloadImg(t),alt:""}})])],1)]):[n("el-tooltip",{attrs:{placement:"bottom",effect:"dark",content:t.name}},[n("div",{staticClass:"file-box no-photo-file-box",attrs:{target:"_blank"},on:{click:function(n){return e.reviewOnMobile(t)}}},[n("div",{staticClass:"text-center file-icon",on:{click:function(n){return e.preview(t)}}},[n("i",{staticClass:"q-icon fa",class:e.getFileTypeClass(t),attrs:{"aria-hidden":"true"}})]),e._v(" "),n("span",{staticClass:"file-name"},[e._v(" "+e._s(t.name))]),e._v(" "),n("div",{staticClass:"overlay"},[e.isDwg(t)?e._e():n("el-button",{attrs:{type:"text",title:e.$z("预览","c.preview")},on:{click:function(n){return e.preview(t)}}},[n("i",{staticClass:"overlay-btn el-icon-view"})]),e._v(" "),n("el-button",{attrs:{type:"text",title:e.$z("下载","c.download")},on:{click:function(n){return e.download(t)}}},[n("i",{staticClass:"overlay-btn el-icon-download"})])],1)])])]],2)})),0)]):e._l(e.curVal,(function(t){return n("span",{key:t.md5},[n("div",{staticClass:"file-box",staticStyle:{"padding-left":"8px"},attrs:{target:"_blank"}},[n("div",{staticClass:"text-center file-icon",on:{click:function(n){return e.preview(t)}}},[n("i",{staticClass:"fa",class:e.getFileTypeClass(t),attrs:{"aria-hidden":"true"}})]),e._v(" "),n("div",{staticClass:"relative-position tc file-link ellipsis",attrs:{title:t.name},on:{click:function(n){return e.preview(t)}}},[e._v("\n "+e._s(t.name)+"\n ")]),e._v(" "),n("div",{staticClass:"operation-box"},[e.isDwg(t)?e._e():n("a",{staticClass:"operation-btn",attrs:{href:"javascript:;"},on:{click:function(n){return e.preview(t)}}},[e._v(e._s(e.$z("预览","c.preview")))]),e._v(" "),e.isDwg(t)?e._e():n("span",[e._v("|")]),e._v(" "),n("a",{staticClass:"operation-btn",attrs:{href:"javascript:;"},on:{click:function(n){return e.download(t)}}},[e._v(e._s(e.$z("下载","c.download")))])])])])})),e._v(" "),n("el-dialog",e._g(e._b({staticClass:"file-modal",attrs:{visible:e.opened,"before-close":e.onHide,modal:!1,title:e.$z("文件预览","c.file_preview"),fullscreen:!0},on:{"update:visible":function(t){e.opened=t},open:e.onOpen}},"el-dialog",e.$attrs,!1),e.$listeners),[n("iframe",{attrs:{src:e.officeUrl,width:"99%",height:e.windowH}})]),e._v(" "),n("img",{staticStyle:{display:"none"},attrs:{id:"image",src:""}})],2)};j._withStripped=!0,f().use(s.Dialog),f().use(h.Ay),h.Ay.setDefaults({url:"data-source"}),f().use(s.Dialog);var O={props:["value","fieldConf","row"],data(){return{vueLightId1:null,curVal:[],photo:[],officeUrl:"",opened:!1,windowH:0,type:"small",imgReloadCountMap:{}}},computed:{},watch:{value(e){this.curVal=r().filter(e,(e=>e.md5)),this.setPhoto()}},created(){},mounted(){let e=(new Date).getTime();this.vueLightId1=e+1,this.curVal=r().filter(this.value,(e=>e.md5)),this.setPhoto(),this.windowH=document.body.clientHeight/100*99-50},methods:{reloadImg(e){this.imgReloadCountMap["pic_img_"+e.md5]?this.imgReloadCountMap["pic_img_"+e.md5]++:this.imgReloadCountMap["pic_img_"+e.md5]=1,this.imgReloadCountMap["pic_img_"+e.md5]<5&&setTimeout((()=>{console.log("重新加载图片-","pic_img_"+e.md5),this.$refs["pic_img_"+e.md5][0].src=this.fileLink(e,200)}),200)},isDwg(e){return r().endsWith(e.name,".dwg")},inited(e){e.options.view=this.view,this.$viewer=e},view(e){let t=e.detail.index,n=r().filter(this.value,(e=>this.isImageFile(e)));w(r().get(n,t))},setPhoto(){let e=[];r().each(this.value,(t=>{if(this.isImageFile(t)&&t.md5){let n=this.fileLink(t,-1);e.push(n)}})),this.photo=e},getFileTypeClass(e){return k(e.name)},isImageFile(e){return r().startsWith(e.type,"image")},fileLink(e,t){if(!e||!e.md5)return;let n=this.isImageFile(e),i={file_md5:e.md5};return t&&(i.width=t),n||(i.is_file=1),(0,l.zC)("/platform/v1/papi/web_file/image_view/",i)},reviewOnMobile(e){},async preview(e){let t=await zj.net.w.noapi({url:`/platform/v1/papi/app_file/download/?file_md5=${e.md5}&webp=0`}),n=r().get(t,"url_list.0.path.0"),i=M(n);"application/pdf"==e.type&&(i="pdf"),"application/vnd.ms-excel"==e.type&&(i="ms-excel");let a=L(),o=`https://${window.location.host}/zj_of/v1/papi/file/read_only/?md5=${e.md5}&type=${{document:"Word.Document",docx:"Word.Document",doc:"Word.Document",sheet:"Excel.Sheet",pdf:"pdf",xlsx:"Excel.Sheet","ms-excel":"Excel.Sheet"}[i]}&sign=${a}`;if("wps"!=(await zj.net.w.noapi({url:"/zj_of/v1/papi/file/using_engine/"})).engine&&(o="https://view.officeapps.live.com/op/embed.aspx?src="+encodeURIComponent(n)),"pdf"==i){let e=n.lastIndexOf(".com");n=n.substring(e+4,n.length),n=encodeURIComponent(n),o=`/public/bpm/app/view_pdf.html?url=${n}`}this.officeUrl=o,this.opened=!0},async share(e){return await zj.net.w.noapi({url:`/platform/v1/papi/app_file/download/?file_md5=${e.md5}&webp=0`})},async toShare(e){},async download(e){window.open(`/platform/v1/papi/web_file/web_download/?file_md5=${e.md5}`)},onHide(){this.opened=!1},onOpen(){this.opened=!0}}},I=(0,T.A)(O,j,[],!1,null,null,null);I.options.__file="components/lib/bpmMulFile/src/part/reader.vue";var P=I.exports,E={name:"BpmMulFile",components:{editorComponent:$,readerComponent:P},props:{value:{},fieldConf:{type:Object,default(){return{}}},container:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},formName:{type:String},uiType:{type:String,default(){return"default"}}},data(){return{curVal:[]}},computed:{curComponent(){return"view"==this.mode?P:$}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},A=(0,T.A)(E,i,[],!1,null,null,null);A.options.__file="components/lib/bpmMulFile/src/main.vue";var F=A.exports;F.install=function(e){e.component(F.name,F)};var V=F},2648:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(5093))},2656:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return w}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-select",attrs:{value:e.curVal,fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType},on:{change:e.handleChange}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-time-edit"},[n("el-time-select",{ref:"component",attrs:{"format-model":"number",format:e.format,"value-format":e.checkFormat,"picker-options":{start:"00:00",step:"00:15",end:"24:00"},clearable:e.clearable,disabled:e.disabled},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}})],1)};a._withStripped=!0;var o=n(6773),r=n.n(o),s=n(5554),l=n.n(s),d=n(7642);l().use(d.TimeSelect);var c={data(){return{curVal:""}},props:["value","fieldConf","row","clearable","disabled"],watch:{value(){this.curVal=this.value}},computed:{format(){return r().get(this.fieldConf,"view.format")},checkFormat(){return r().get(this.fieldConf,"check.format")}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("change",e)}}},u=n(4486),m=(0,u.A)(c,a,[],!1,null,null,null);m.options.__file="components/lib/bpmTime/src/part/editor.vue";var f=m.exports,h=function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",[e._v(e._s(e.value))])};h._withStripped=!0;var p={props:["value","fieldConf","row"],data(){return{}},computed:{},watch:{},mounted(){},methods:{}},_=(0,u.A)(p,h,[],!1,null,null,null);_.options.__file="components/lib/bpmTime/src/part/reader.vue";var g=_.exports,y={name:"BpmTime",components:{editorComponent:f,readerComponent:g},props:{value:{type:[String,Number]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?g:f}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},b=(0,u.A)(y,i,[],!1,null,null,null);b.options.__file="components/lib/bpmTime/src/main.vue";var v=b.exports;v.install=function(e){e.component(v.name,v)};var w=v},2661:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9029),a=n(4227),o={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?i.str`must contain at least ${e} valid item(s)`:i.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?i._`{minContains: ${e}}`:i._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:n,parentSchema:o,data:r,it:s}=e;let l,d;const{minContains:c,maxContains:u}=o;s.opts.next?(l=void 0===c?1:c,d=u):l=1;const m=t.const("len",i._`${r}.length`);if(e.setParams({min:l,max:d}),void 0===d&&0===l)return void(0,a.checkStrictMode)(s,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==d&&l>d)return(0,a.checkStrictMode)(s,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,a.alwaysValidSchema)(s,n)){let t=i._`${m} >= ${l}`;return void 0!==d&&(t=i._`${t} && ${m} <= ${d}`),void e.pass(t)}s.items=!0;const f=t.name("valid");function h(){const e=t.name("_valid"),n=t.let("count",0);p(e,(()=>t.if(e,(()=>function(e){t.code(i._`${e}++`),void 0===d?t.if(i._`${e} >= ${l}`,(()=>t.assign(f,!0).break())):(t.if(i._`${e} > ${d}`,(()=>t.assign(f,!1).break())),1===l?t.assign(f,!0):t.if(i._`${e} >= ${l}`,(()=>t.assign(f,!0))))}(n)))))}function p(n,i){t.forRange("i",0,m,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:a.Type.Num,compositeRule:!0},n),i()}))}void 0===d&&1===l?p(f,(()=>t.if(f,(()=>t.break())))):0===l?(t.let(f,!0),void 0!==d&&t.if(i._`${r}.length > 0`,h)):(t.let(f,!1),h()),e.result(f,(()=>e.reset()))}};t.default=o},2682:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(5093))},2695:function(e,t,n){"use strict";e.exports=n.p+"4a2487b5cc6987c4f1de.woff2?v=4.7.0"},2865:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return M}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-select",attrs:{fieldConf:e.fieldConf,row:e.row,isMultiple:e.isMultiple,mode:e.mode,uiType:e.uiType},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-select-edit"},[e.isRadiosStyle?[e.isMultiple?[n("el-checkbox-group",e._g(e._b({on:{change:e.onChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"el-checkbox-group",e.$attrs,!1),e.$listeners),e._l(e.options,(function(t){return n("el-checkbox",{key:t.value,attrs:{label:t.value}},[e._v(e._s(t.label))])})),1)]:[n("el-radio-group",e._g(e._b({on:{change:e.onChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"el-radio-group",e.$attrs,!1),e.$listeners),e._l(e.options,(function(t){return n("el-radio",{key:t.value,attrs:{label:t.value}},[e._v(e._s(t.label))])})),1)]]:e.isButtonStyle?[e.isMultiple?[n("el-checkbox-group",e._g(e._b({on:{change:e.onChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"el-checkbox-group",e.$attrs,!1),e.$listeners),e._l(e.options,(function(t){return n("el-checkbox-button",{key:t.value,attrs:{label:t.value}},[e._v(e._s(t.label))])})),1)]:[n("el-radio-group",e._g(e._b({on:{change:e.onChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"el-radio-group",e.$attrs,!1),e.$listeners),e._l(e.options,(function(t){return n("el-radio-button",{key:t.value,class:"button-group-item-"+e.fieldConf.id+"-"+t.value,attrs:{label:t.value}},[e._v(e._s(t.label))])})),1)]]:[n("el-select",e._g(e._b({class:{"auto-width-select":!e.isMultiple},attrs:{placeholder:e.placeholder,multiple:e.isMultiple,clearable:"",filterable:""},on:{change:e.onChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"el-select",e.$attrs,!1),e.$listeners),[e.isMultiple?e._e():n("template",{slot:"prefix"},[n("span",{staticStyle:{visibility:"hidden"}},[e._v("\n "+e._s((e.options.find((function(t){return t.value===e.value}))||{}).label))])]),e._v(" "),e._l(e.options,(function(t){return n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}},[n("span",{attrs:{title:t.label}},[e._v(e._s(t.label))])])}))],2)]],2)};a._withStripped=!0;var o=n(6773),r=n.n(o),s=n(5554),l=n.n(s),d=n(7642),c=n(9795);l().use(d.Select),l().use(d.Option);var u={components:{},props:["value","fieldConf","row","isMultiple"],data(){return{curVal:null}},watch:{value(e){console.log("select_val",e),0===e?(this.isMultiple?this.curVal=[0]:this.curVal=0,console.log("select_curVal",this.curVal)):this.curVal=this.value?this.value:this.isMultiple?[]:null}},computed:{options(){let e=r().get(this.fieldConf,"range_enum");return r().map(e,(e=>({value:r().get(e,"0"),label:r().get(e,"1"),color:r().get(e,"2")})))},placeholder(){return this.fieldConf.desc||this.fieldConf.name},isRadiosStyle(){return"default"==r().get(this.fieldConf,"style")},isButtonStyle(){return"button"==r().get(this.fieldConf,"style")}},created(){this.curVal=this.isMultiple?[]:null},mounted(){this.curVal=this.value?this.value:this.isMultiple?[]:null,this.isButtonStyle&&this.addButtonStyleCss()},methods:{addButtonStyleCss(){let e=".bpm-select-edit {",t=r().get(this.fieldConf,"range_enum");r().map(t,(t=>{e+=` .button-group-item-${this.fieldConf.id}-${r().get(t,"0")}{\n .el-radio-button__orig-radio:checked+.el-radio-button__inner {\n color: #fff;\n background-color: ${r().get(t,"2")};\n border-color: ${r().get(t,"2")};\n -webkit-box-shadow: -1px 0 0 0 ${r().get(t,"2")};\n box-shadow: -1px 0 0 0 ${r().get(t,"2")};\n }\n } `})),(0,c.L_)(e,"button-group-item-"+this.fieldConf.id)},onChange(e){""===e?(console.log("bpmSelectOnChange",e),this.$emit("input",null),this.$emit("change",null)):(this.$emit("input",e),this.$emit("change",e))}}},m=n(4486),f=(0,m.A)(u,a,[],!1,null,null,null);f.options.__file="components/lib/bpmSelect/src/part/editor.vue";var h=f.exports,p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-select-view"},[e.isStatus&&e.rangeEnumMap[e.value]?n("div",[n("span",{staticClass:"bpm-status_tag-status",style:{background:e.colorMap[e.value]}},[e._v(e._s(e.rangeEnumMap[e.value]))]),e._v(" "),"form"==e.uiType&&e.row.overtime?n("overtime",{staticClass:"over-time",staticStyle:{"margin-left":"10px","line-height":"21px"},attrs:{colValue:e.row.overtime}}):e._e()],1):e.isStatus?n("span",{attrs:{title:e.label}}):e.isButton&&e.value?n("span",{staticClass:"bpm-btn-select",style:{padding:"6px 8px",color:e.colorMap[e.value],background:e.colorMap[e.value]+"3d"},attrs:{title:e.label}},[e._v(e._s(e.label))]):n("span",[e.isMultiple?e._l(e.labels,(function(t){return n("el-tag",{key:t,staticClass:"bpm-select-view-tag",staticStyle:{"margin-right":"8px"}},[e._v("\n "+e._s(t)+"\n ")])})):[e._v("\n "+e._s(e.label)+"\n ")]],2)])};p._withStripped=!0;var _={props:["type","value","fieldConf","row","isMultiple","uiType"],components:{overtime:n(6702).default},data(){return{colorMap:{}}},computed:{_value(){return r().isArray(this.value)?this.value:[this.value]},rangeEnumMap(){let e=r().get(this.fieldConf,"range_enum"),t={};return r().each(e,(e=>{t[e[0]]=e[1]})),this.setColorMap(),t},labels(){return r().isArray(this.value)?r().map(this._value,(e=>r().get(this.rangeEnumMap,e))):[r().get(this.rangeEnumMap,this.value,zj.z("未指定","b2.common.not_specified"))]},label(){return r().isArray(this.value)?r().map(this._value,(e=>r().get(this.rangeEnumMap,e))).join(","):r().get(this.rangeEnumMap,this.value,zj.z("未指定","b2.common.not_specified"))},isButton(){return"button"==r().get(this.fieldConf,"style")},isStatus(){return"Status"===this.type||"Status"===this.fieldConf.type}},mounted(){},methods:{setColorMap(){let e=r().get(this.fieldConf,"range_enum");this.colorMap={},r().each(e,(e=>{this.colorMap[e[0]]=e[2]}))}}},g=(0,m.A)(_,p,[],!1,null,null,null);g.options.__file="components/lib/bpmSelect/src/part/reader.vue";var y=g.exports,b={name:"BpmSelect",components:{editorComponent:h,readerComponent:y},props:{value:{type:[String,Array,Number]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},isMultiple:{type:Boolean,default(){return!1}}},data(){return{curVal:null}},computed:{curComponent(){return"view"==this.mode?y:h}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},v=(0,m.A)(b,i,[],!1,null,null,null);v.options.__file="components/lib/bpmSelect/src/main.vue";var w=v.exports;w.install=function(e){e.component(w.name,w)};var M=w},2871:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=!1;t.loadGmapApi=function(e,t){if("undefined"!=typeof document){if(i)throw new Error("You already started the loading of google maps");i=!0;var a=document.createElement("SCRIPT");if("object"!==(void 0===e?"undefined":n(e)))throw new Error("options should be an object");Array.prototype.isPrototypeOf(e.libraries)&&(e.libraries=e.libraries.join(",")),e.callback="vueGoogleMapsInit";var o="https://maps.googleapis.com/";"boolean"==typeof t&&!0===t&&(o="https://maps.google.cn/");var r=o+"maps/api/js?"+Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&");a.setAttribute("src",r),a.setAttribute("async",""),a.setAttribute("defer",""),document.head.appendChild(a)}}},2934:function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(5093))},3004:function(e,t,n){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5093))},3025:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const i=n(9029),a=n(4227),o=n(5765);t.error={message:({params:{property:e,depsCount:t,deps:n}})=>{const a=1===t?"property":"properties";return i.str`must have ${a} ${n} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:n,missingProperty:a}})=>i._`{property: ${e},
5
+ || ${s} === "boolean" || ${a} === null`).assign(l,r._`[${a}]`)}}i.else(),h(e),i.endIf(),i.if(r._`${l} !== undefined`,(()=>{i.assign(a,l),function({gen:e,parentData:t,parentDataProperty:n},i){e.if(r._`${t} !== undefined`,(()=>e.assign(r._`${t}[${n}]`,i)))}(e,l)}))}(e,t,s):h(e)}))}return d};const c=new Set(["string","number","integer","boolean","null"]);function u(e,t,n,i=l.Correct){const a=i===l.Correct?r.operators.EQ:r.operators.NEQ;let o;switch(e){case"null":return r._`${t} ${a} null`;case"array":o=r._`Array.isArray(${t})`;break;case"object":o=r._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":o=s(r._`!(${t} % 1) && !isNaN(${t})`);break;case"number":o=s();break;default:return r._`typeof ${t} ${a} ${e}`}return i===l.Correct?o:(0,r.not)(o);function s(e=r.nil){return(0,r.and)(r._`typeof ${t} == "number"`,e,n?r._`isFinite(${t})`:r.nil)}}function m(e,t,n,i){if(1===e.length)return u(e[0],t,n,i);let a;const o=(0,s.toHash)(e);if(o.array&&o.object){const e=r._`typeof ${t} != "object"`;a=o.null?e:r._`!${t} || ${e}`,delete o.null,delete o.array,delete o.object}else a=r.nil;o.number&&delete o.integer;for(const e in o)a=(0,r.and)(a,u(e,t,n,i));return a}t.checkDataType=u,t.checkDataTypes=m;const f={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?r._`{type: ${e}}`:r._`{type: ${t}}`};function h(e){const t=function(e){const{gen:t,data:n,schema:i}=e,a=(0,s.schemaRefOrVal)(e,i,"type");return{gen:t,keyword:"type",data:n,schema:i.type,schemaCode:a,schemaValue:a,parentSchema:i,params:{},it:e}}(e);(0,o.reportError)(t,f)}t.reportTypeError=h},217:function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(5093))},304:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(5093))},306:function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(5093))},343:function(e){"use strict";const t=/^[\da-f]{8}\b-[\da-f]{4}\b-[\da-f]{4}\b-[\da-f]{4}\b-[\da-f]{12}$/iu,n=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;function i(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}function a(e){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e}function o(e){const t="https"===String(e.scheme).toLowerCase();return e.port!==(t?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}const r={scheme:"http",domainHost:!0,parse:a,serialize:o},s={scheme:"ws",domainHost:!0,parse:function(e){return e.secure=i(e),e.resourceName=(e.path||"/")+(e.query?"?"+e.query:""),e.path=void 0,e.query=void 0,e},serialize:function(e){if(e.port!==(i(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){const[t,n]=e.resourceName.split("?");e.path=t&&"/"!==t?t:void 0,e.query=n,e.resourceName=void 0}return e.fragment=void 0,e}},l={http:r,https:{scheme:"https",domainHost:r.domainHost,parse:a,serialize:o},ws:s,wss:{scheme:"wss",domainHost:s.domainHost,parse:s.parse,serialize:s.serialize},urn:{scheme:"urn",parse:function(e,t){if(!e.path)return e.error="URN can not be parsed",e;const i=e.path.match(n);if(i){const n=t.scheme||e.scheme||"urn";e.nid=i[1].toLowerCase(),e.nss=i[2];const a=`${n}:${t.nid||e.nid}`,o=l[a];e.path=void 0,o&&(e=o.parse(e,t))}else e.error=e.error||"URN can not be parsed.";return e},serialize:function(e,t){const n=t.scheme||e.scheme||"urn",i=e.nid.toLowerCase(),a=`${n}:${t.nid||i}`,o=l[a];o&&(e=o.serialize(e,t));const r=e,s=e.nss;return r.path=`${i||t.nid}:${s}`,t.skipEscape=!0,r},skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:function(e,n){const i=e;return i.uuid=i.nss,i.nss=void 0,n.tolerant||i.uuid&&t.test(i.uuid)||(i.error=i.error||"UUID is not valid."),i},serialize:function(e){const t=e;return t.nss=(e.uuid||"").toLowerCase(),t},skipNormalize:!0}};e.exports=l},347:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o),s=n(6509),l=r()(a());l.i(s.A),l.push([e.id,"\n",""]),t.A=l},379:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StreetViewPanorama=t.MountableMixin=t.Autocomplete=t.MapElementFactory=t.MapElementMixin=t.PlaceInput=t.Map=t.InfoWindow=t.Rectangle=t.Cluster=t.Circle=t.Polygon=t.Polyline=t.Marker=t.loadGmapApi=void 0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};t.install=function(e,t){t=i({installComponents:!0,autobindAllEvents:!1},t),v=new e({data:{gmapApi:null}});var n=new e,_=function(e){function t(){return v.gmapApi={},window.google}if(e.load)return(0,a.default)((function(){return"undefined"==typeof window?new Promise((function(){})).then(t):new Promise((function(t,n){try{window.vueGoogleMapsInit=t,(0,o.loadGmapApi)(e.load,e.loadCn)}catch(e){n(e)}})).then(t)}));var n=new Promise((function(e){"undefined"!=typeof window&&(window.vueGoogleMapsInit=e)})).then(t);return(0,a.default)((function(){return n}))}(t);e.mixin({created:function(){this.$gmapDefaultResizeBus=n,this.$gmapOptions=t,this.$gmapApiPromiseLazy=_}}),e.$gmapDefaultResizeBus=n,e.$gmapApiPromiseLazy=_,t.installComponents&&(e.component("GmapMap",m.default),e.component("GmapMarker",r.default),e.component("GmapInfoWindow",u.default),e.component("GmapPolyline",s.default),e.component("GmapPolygon",l.default),e.component("GmapCircle",d.default),e.component("GmapRectangle",c.default),e.component("GmapAutocomplete",p.default),e.component("GmapPlaceInput",h.default),e.component("GmapStreetViewPanorama",f.default))},t.gmapApi=function(){return v.gmapApi&&window.google};var a=b(n(1573)),o=n(2871),r=b(n(1563)),s=b(n(4085)),l=b(n(895)),d=b(n(8705)),c=b(n(8396)),u=b(n(5241)),m=b(n(6897)),f=b(n(5545)),h=b(n(9936)),p=b(n(4692)),_=b(n(410)),g=b(n(2230)),y=b(n(1658));function b(e){return e&&e.__esModule?e:{default:e}}var v=null;t.loadGmapApi=o.loadGmapApi,t.Marker=r.default,t.Polyline=s.default,t.Polygon=l.default,t.Circle=d.default,t.Cluster=void 0,t.Rectangle=c.default,t.InfoWindow=u.default,t.Map=m.default,t.PlaceInput=h.default,t.MapElementMixin=_.default,t.MapElementFactory=g.default,t.Autocomplete=p.default,t.MountableMixin=y.default,t.StreetViewPanorama=f.default},386:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o),s=n(4417),l=n.n(s),d=new URL(n(6179),n.b),c=r()(a()),u=l()(d);c.push([e.id,"/*!\n * Viewer.js v1.11.6\n * https://fengyuanchen.github.io/viewerjs\n *\n * Copyright 2015-present Chen Fengyuan\n * Released under the MIT license\n *\n * Date: 2023-09-17T03:16:35.830Z\n */\n\n.viewer-zoom-in::before, .viewer-zoom-out::before, .viewer-one-to-one::before, .viewer-reset::before, .viewer-prev::before, .viewer-play::before, .viewer-next::before, .viewer-rotate-left::before, .viewer-rotate-right::before, .viewer-flip-horizontal::before, .viewer-flip-vertical::before, .viewer-fullscreen::before, .viewer-fullscreen-exit::before, .viewer-close::before {\n background-image: url("+u+");\n background-repeat: no-repeat;\n background-size: 280px;\n color: transparent;\n display: block;\n font-size: 0;\n height: 20px;\n line-height: 0;\n width: 20px;\n }\n\n.viewer-zoom-in::before {\n background-position: 0 0;\n content: 'Zoom In';\n}\n\n.viewer-zoom-out::before {\n background-position: -20px 0;\n content: 'Zoom Out';\n}\n\n.viewer-one-to-one::before {\n background-position: -40px 0;\n content: 'One to One';\n}\n\n.viewer-reset::before {\n background-position: -60px 0;\n content: 'Reset';\n}\n\n.viewer-prev::before {\n background-position: -80px 0;\n content: 'Previous';\n}\n\n.viewer-play::before {\n background-position: -100px 0;\n content: 'Play';\n}\n\n.viewer-next::before {\n background-position: -120px 0;\n content: 'Next';\n}\n\n.viewer-rotate-left::before {\n background-position: -140px 0;\n content: 'Rotate Left';\n}\n\n.viewer-rotate-right::before {\n background-position: -160px 0;\n content: 'Rotate Right';\n}\n\n.viewer-flip-horizontal::before {\n background-position: -180px 0;\n content: 'Flip Horizontal';\n}\n\n.viewer-flip-vertical::before {\n background-position: -200px 0;\n content: 'Flip Vertical';\n}\n\n.viewer-fullscreen::before {\n background-position: -220px 0;\n content: 'Enter Full Screen';\n}\n\n.viewer-fullscreen-exit::before {\n background-position: -240px 0;\n content: 'Exit Full Screen';\n}\n\n.viewer-close::before {\n background-position: -260px 0;\n content: 'Close';\n}\n\n.viewer-container {\n bottom: 0;\n direction: ltr;\n font-size: 0;\n left: 0;\n line-height: 0;\n overflow: hidden;\n position: absolute;\n right: 0;\n -webkit-tap-highlight-color: transparent;\n top: 0;\n -ms-touch-action: none;\n touch-action: none;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.viewer-container::-moz-selection, .viewer-container *::-moz-selection {\n background-color: transparent;\n }\n\n.viewer-container::selection,\n .viewer-container *::selection {\n background-color: transparent;\n }\n\n.viewer-container:focus {\n outline: 0;\n }\n\n.viewer-container img {\n display: block;\n height: auto;\n max-height: none !important;\n max-width: none !important;\n min-height: 0 !important;\n min-width: 0 !important;\n width: 100%;\n }\n\n.viewer-canvas {\n bottom: 0;\n left: 0;\n overflow: hidden;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.viewer-canvas > img {\n height: auto;\n margin: 15px auto;\n max-width: 90% !important;\n width: auto;\n }\n\n.viewer-footer {\n bottom: 0;\n left: 0;\n overflow: hidden;\n position: absolute;\n right: 0;\n text-align: center;\n}\n\n.viewer-navbar {\n background-color: rgba(0, 0, 0, 0.5);\n overflow: hidden;\n}\n\n.viewer-list {\n box-sizing: content-box;\n height: 50px;\n margin: 0;\n overflow: hidden;\n padding: 1px 0;\n}\n\n.viewer-list > li {\n color: transparent;\n cursor: pointer;\n float: left;\n font-size: 0;\n height: 50px;\n line-height: 0;\n opacity: 0.5;\n overflow: hidden;\n transition: opacity 0.15s;\n width: 30px;\n }\n\n.viewer-list > li:focus,\n .viewer-list > li:hover {\n opacity: 0.75;\n }\n\n.viewer-list > li:focus {\n outline: 0;\n }\n\n.viewer-list > li + li {\n margin-left: 1px;\n }\n\n.viewer-list > .viewer-loading {\n position: relative;\n }\n\n.viewer-list > .viewer-loading::after {\n border-width: 2px;\n height: 20px;\n margin-left: -10px;\n margin-top: -10px;\n width: 20px;\n }\n\n.viewer-list > .viewer-active,\n .viewer-list > .viewer-active:focus,\n .viewer-list > .viewer-active:hover {\n opacity: 1;\n }\n\n.viewer-player {\n background-color: #000;\n bottom: 0;\n cursor: none;\n display: none;\n left: 0;\n position: absolute;\n right: 0;\n top: 0;\n z-index: 1;\n}\n\n.viewer-player > img {\n left: 0;\n position: absolute;\n top: 0;\n }\n\n.viewer-toolbar > ul {\n display: inline-block;\n margin: 0 auto 5px;\n overflow: hidden;\n padding: 6px 3px;\n }\n\n.viewer-toolbar > ul > li {\n background-color: rgba(0, 0, 0, 0.5);\n border-radius: 50%;\n cursor: pointer;\n float: left;\n height: 24px;\n overflow: hidden;\n transition: background-color 0.15s;\n width: 24px;\n }\n\n.viewer-toolbar > ul > li:focus,\n .viewer-toolbar > ul > li:hover {\n background-color: rgba(0, 0, 0, 0.8);\n }\n\n.viewer-toolbar > ul > li:focus {\n box-shadow: 0 0 3px #fff;\n outline: 0;\n position: relative;\n z-index: 1;\n }\n\n.viewer-toolbar > ul > li::before {\n margin: 2px;\n }\n\n.viewer-toolbar > ul > li + li {\n margin-left: 1px;\n }\n\n.viewer-toolbar > ul > .viewer-small {\n height: 18px;\n margin-bottom: 3px;\n margin-top: 3px;\n width: 18px;\n }\n\n.viewer-toolbar > ul > .viewer-small::before {\n margin: -1px;\n }\n\n.viewer-toolbar > ul > .viewer-large {\n height: 30px;\n margin-bottom: -3px;\n margin-top: -3px;\n width: 30px;\n }\n\n.viewer-toolbar > ul > .viewer-large::before {\n margin: 5px;\n }\n\n.viewer-tooltip {\n background-color: rgba(0, 0, 0, 0.8);\n border-radius: 10px;\n color: #fff;\n display: none;\n font-size: 12px;\n height: 20px;\n left: 50%;\n line-height: 20px;\n margin-left: -25px;\n margin-top: -10px;\n position: absolute;\n text-align: center;\n top: 50%;\n width: 50px;\n}\n\n.viewer-title {\n color: #ccc;\n display: inline-block;\n font-size: 12px;\n line-height: 1.2;\n margin: 5px 5%;\n max-width: 90%;\n min-height: 14px;\n opacity: 0.8;\n overflow: hidden;\n text-overflow: ellipsis;\n transition: opacity 0.15s;\n white-space: nowrap;\n}\n\n.viewer-title:hover {\n opacity: 1;\n }\n\n.viewer-button {\n -webkit-app-region: no-drag;\n background-color: rgba(0, 0, 0, 0.5);\n border-radius: 50%;\n cursor: pointer;\n height: 80px;\n overflow: hidden;\n position: absolute;\n right: -40px;\n top: -40px;\n transition: background-color 0.15s;\n width: 80px;\n}\n\n.viewer-button:focus,\n .viewer-button:hover {\n background-color: rgba(0, 0, 0, 0.8);\n }\n\n.viewer-button:focus {\n box-shadow: 0 0 3px #fff;\n outline: 0;\n }\n\n.viewer-button::before {\n bottom: 15px;\n left: 15px;\n position: absolute;\n }\n\n.viewer-fixed {\n position: fixed;\n}\n\n.viewer-open {\n overflow: hidden;\n}\n\n.viewer-show {\n display: block;\n}\n\n.viewer-hide {\n display: none;\n}\n\n.viewer-backdrop {\n background-color: rgba(0, 0, 0, 0.5);\n}\n\n.viewer-invisible {\n visibility: hidden;\n}\n\n.viewer-move {\n cursor: move;\n cursor: grab;\n}\n\n.viewer-fade {\n opacity: 0;\n}\n\n.viewer-in {\n opacity: 1;\n}\n\n.viewer-transition {\n transition: all 0.3s;\n}\n\n@keyframes viewer-spinner {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.viewer-loading::after {\n animation: viewer-spinner 1s linear infinite;\n border: 4px solid rgba(255, 255, 255, 0.1);\n border-left-color: rgba(255, 255, 255, 0.5);\n border-radius: 50%;\n content: '';\n display: inline-block;\n height: 40px;\n left: 50%;\n margin-left: -20px;\n margin-top: -20px;\n position: absolute;\n top: 50%;\n width: 40px;\n z-index: 1;\n }\n\n@media (max-width: 767px) {\n .viewer-hide-xs-down {\n display: none;\n }\n}\n\n@media (max-width: 991px) {\n .viewer-hide-sm-down {\n display: none;\n }\n}\n\n@media (max-width: 1199px) {\n .viewer-hide-md-down {\n display: none;\n }\n}\n",""]),t.A=c},390:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},a=c(n(7146)),o=n(7049),r=c(n(1658)),s=c(n(1733)),l=c(n(8021)),d=n(2230);function c(e){return e&&e.__esModule?e:{default:e}}var u={zoom:{twoWay:!0,type:Number},pov:{twoWay:!0,type:Object,trackProperties:["pitch","heading"]},position:{twoWay:!0,type:Object,noBind:!0},pano:{twoWay:!0,type:String},motionTracking:{twoWay:!1,type:Boolean},visible:{twoWay:!0,type:Boolean,default:!0},options:{twoWay:!1,type:Object,default:function(){return{}}}},m=["closeclick","status_changed"];t.default={mixins:[r.default],props:(0,d.mappedPropsToVueProps)(u),replace:!1,methods:{resize:function(){this.$panoObject&&google.maps.event.trigger(this.$panoObject,"resize")}},provide:function(){var e=this,t=new Promise((function(t,n){e.$panoPromiseDeferred={resolve:t,reject:n}}));return{$panoPromise:t,$mapPromise:t}},computed:{finalLat:function(){return this.position&&"function"==typeof this.position.lat?this.position.lat():this.position.lat},finalLng:function(){return this.position&&"function"==typeof this.position.lng?this.position.lng():this.position.lng},finalLatLng:function(){return{lat:this.finalLat,lng:this.finalLng}}},watch:{zoom:function(e){this.$panoObject&&this.$panoObject.setZoom(e)}},mounted:function(){var e=this;return this.$gmapApiPromiseLazy().then((function(){var t=e.$refs["vue-street-view-pano"],n=i({},e.options,(0,o.getPropsValues)(e,u));return delete n.options,e.$panoObject=new google.maps.StreetViewPanorama(t,n),(0,o.bindProps)(e,e.$panoObject,u),(0,a.default)(e,e.$panoObject,m),(0,s.default)((function(t,n,i){t(),e.$panoObject.addListener("position_changed",(function(){i()&&e.$emit("position_changed",e.$panoObject.getPosition()),n()})),(0,l.default)(e,["finalLat","finalLng"],(function(){t(),e.$panoObject.setPosition(e.finalLatLng)}))})),e.$panoPromiseDeferred.resolve(e.$panoObject),e.$panoPromise})).catch((function(e){throw e}))}}},396:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;const n=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&n.has(e)},t.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}},410:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={inject:{$mapPromise:{default:"abcdef"}},provide:function(){var e=this;return this.$mapPromise.then((function(t){e.$map=t})),{}}}},422:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(5765),a=n(9029),o={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>a.str`must match pattern "${e}"`,params:({schemaCode:e})=>a._`{pattern: ${e}}`},code(e){const{data:t,$data:n,schema:o,schemaCode:r,it:s}=e,l=s.opts.unicodeRegExp?"u":"",d=n?a._`(new RegExp(${r}, ${l}))`:(0,i.usePattern)(e,o);e.fail$data(a._`!${d}.test(${t})`)}};t.default=o},494:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const i=n(9029),a=n(4227),o=n(5765),r={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:n}=e;if(Array.isArray(t))return s(e,"additionalItems",t);n.items=!0,(0,a.alwaysValidSchema)(n,t)||e.ok((0,o.validateArray)(e))}};function s(e,t,n=e.schema){const{gen:o,parentSchema:r,data:s,keyword:l,it:d}=e;!function(e){const{opts:i,errSchemaPath:o}=d,r=n.length,s=r===e.minItems&&(r===e.maxItems||!1===e[t]);if(i.strictTuples&&!s){const e=`"${l}" is ${r}-tuple, but minItems or maxItems/${t} are not specified or different at path "${o}"`;(0,a.checkStrictMode)(d,e,i.strictTuples)}}(r),d.opts.unevaluated&&n.length&&!0!==d.items&&(d.items=a.mergeEvaluated.items(o,n.length,d.items));const c=o.name("valid"),u=o.const("len",i._`${s}.length`);n.forEach(((t,n)=>{(0,a.alwaysValidSchema)(d,t)||(o.if(i._`${u} > ${n}`,(()=>e.subschema({keyword:l,schemaProp:n,dataProp:n},c))),e.ok(c))}))}t.validateTuple=s,t.default=r},527:function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function i(e,i,a,o){var r="";switch(a){case"s":return o?"muutaman sekunnin":"muutama sekunti";case"ss":r=o?"sekunnin":"sekuntia";break;case"m":return o?"minuutin":"minuutti";case"mm":r=o?"minuutin":"minuuttia";break;case"h":return o?"tunnin":"tunti";case"hh":r=o?"tunnin":"tuntia";break;case"d":return o?"päivän":"päivä";case"dd":r=o?"päivän":"päivää";break;case"M":return o?"kuukauden":"kuukausi";case"MM":r=o?"kuukauden":"kuukautta";break;case"y":return o?"vuoden":"vuosi";case"yy":r=o?"vuoden":"vuotta"}return function(e,i){return e<10?i?n[e]:t[e]:e}(e,o)+" "+r}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},540:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},555:function(e,t,n){"use strict";n.d(t,{A:function(){return d}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"search-board"},[n("el-form",{ref:"form",attrs:{"label-width":"150px",inline:!1}},[e._l(e.pElements,(function(t){return n("el-form-item",{key:t.id,attrs:{label:t.name}},[n("bpm-field",{attrs:{type:t.type,"field-conf":t,"form-name":e.formDefId,"form-def-id":e.formDefId,orgInfo:e.orgInfo,mode:"edit","ui-type":"search"},model:{value:e.formData[t.id],callback:function(n){e.$set(e.formData,t.id,n)},expression:"formData[searchField.id]"}})],1)})),e._v(" "),e._l(e.gridElements,(function(t){return[n("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.showAllSearchItem||e.index<e.showDefaultCount,expression:"showAllSearchItem || index < showDefaultCount"}],key:t.id,attrs:{label:t.name}},[n("bpm-field",{attrs:{type:t.type,"field-conf":t,"form-name":e.formDefId,"form-def-id":e.formDefId,orgInfo:e.orgInfo,mode:"edit","ui-type":"search"},model:{value:e.formData[t.id],callback:function(n){e.$set(e.formData,t.id,n)},expression:"formData[searchField.id]"}})],1)]}))],2),e._v(" "),e._t("default")],2)};i._withStripped=!0;var a=n(4419),o=n(3282);const r=new(n.n(o)())({useDefaults:!0,coerceTypes:!0,allErrors:!0,jsonPointers:!0,errorDataPath:!0});var s={name:"BpmFieldsFilter",props:{searchSchema:{type:Object,default(){return{elements:[]}}},verifySchema:{type:Object,default(){return{}}},orgInfo:{type:Object,default(){return{}}},formDefId:{type:String,default:""},showAll:{type:Boolean,default:!1},showDefaultCount:{type:Number,default:6},queryExclude:{type:Boolean,default:!1}},data(){return{formData:{},formErrors:{},elementIdList:[],eleMap:{},relyGraphData:{nodes:[],edges:[]}}},computed:{formatedSchema(){const e=this.searchSchema||{},t=this.verifySchema;let n=null;try{n=r.compile(t)}catch(e){console.error("构建VerifySchema出错",e)}return{elements:e.elements||[],verifySchema:n}},enableSearchText(){const e=this.searchSchema||{},t=!!e.elements&&_.find(e.elements,{id:"q__contains"});return e.enable_search_text&&t},gridElements(){const e=this.searchSchema||{};return e.elements?e.elements.filter((e=>!("MulSelect"===e.type&&"button"===e.style||this.queryExclude&&"q__contains"===e.id))):[]},pElements(){const e=this.searchSchema||{};return e.elements?e.elements.filter((e=>"MulSelect"===e.type&&"button"===e.style)):[]},showAllSearchItem:{get(){return this.showAll},set(){}}},mounted(){this.$emit("beforeDataLoad"),this.penetrationZList=[],this.relyArr=[],this.addStackArr(this.searchSchema.elements),this.createTopoGraph(this.searchSchema.elements),_.each(this.penetrationZList,(e=>{this.relyGraphData.edges.push({source:"bpmListSearch",target:e})})),this.$emit("dataLoaded");let{relyHandleList:e,firstId:t}=this.getRelyHandleList("bpmListSearch");this.relyHandleList=e,_.isEmpty(this.relyHandleList)&&this.$bpm.$emit("initRelyComplete",this),t&&this.$bpm.$emit("handeInitRely",{id:t})},methods:{reset(){this.formData={}},search(){this.submit()},async submit(){let e=await this.$bpm.handleVerifySchema({mode:"list",data:this.formData,verifySchema:this.formatedSchema.verifySchema});if(this.formErrors=e,console.log("errors",e),e)return;let t=this.formData;return t=_.pickBy(t,((e,t)=>""!=e)),this.$emit("search",t),t},handleNextRely(e){this.relyHandleList.shift(),_.isEmpty(this.relyHandleList)&&this.$bpm.$emit("initRelyComplete",this);let t=_.head(this.relyHandleList);t&&this.$bpm.$emit("handeInitRely",{id:t,rowIndex:e})},handleRelyById(e,t){let{relyHandleList:n,firstId:i}=this.getRelyHandleList(e);this.relyHandleList=n,i&&this.$bpm.$emit("handeRelyById",{id:i,rowIndex:t})},handleNextRelyById(e){this.relyHandleList.shift(),_.isEmpty(this.relyHandleList)&&this.$bpm.$emit("initRelyComplete",this);let t=_.head(this.relyHandleList);t&&this.$bpm.$emit("handeRelyById",{id:t,rowIndex:e})},getRelyHandleList(e){let t=[];const{breadthFirstSearch:n}=a.Algorithm;let i=null;return n(this.relyGraphData,e,{enter:({current:e,previous:t})=>{},leave:({current:n,previous:a})=>{i||n==e||(i=n),n!=e&&t.push(n)}}),{relyHandleList:t,firstId:i}},addStackArr(e,t){_.each(e,(e=>{t&&_.set(e,"parentId",t),_.set(this.eleMap,e.id,e),this.elementIdList.push(e.id);let n=_.get(e,"linkage.depends",[]),i=_.get(e,"scope.depends",[]),a=_.get(e,"range_remote.depends",[]),o=_.concat(n,i);o=_.concat(o,a),t||(this.penetrationZList=_.concat(this.penetrationZList,o)),e.elements&&this.addStackArr(e.elements,e.id)}))},createTopoGraph(e){_.each(e,(e=>{let t=_.get(e,"linkage.depends",[]),n=_.get(e,"scope.depends",[]),i=_.get(e,"range_remote.depends",[]),a=_.concat(t,n);a=_.concat(a,i);let o=_.cloneDeep(a),r=_.get(this.eleMap,e.id);if(_.each(o,(e=>{_.get(this.eleMap,e)||(_.pullAll(a,[e]),a=_.cloneDeep(a))})),a.length||r.parentId){let t=_.pullAll(this.penetrationZList,[e.id]);this.penetrationZList=_.cloneDeep(t)}_.each(a,(t=>{if(t&&e.id&&_.includes(this.elementIdList,t)){let n=_.get(this.eleMap,t);if(!n)return;n.parentId&&!r.parentId&&(t=n.parentId);let i=r.parentId&&!n.parentId?r.parentId:r.id;if(n.parentId&&r.parentId)return;this.relyArr.push([t,i]),this.relyGraphData.nodes.push(e),this.relyGraphData.nodes.push(n),this.relyGraphData.edges.push({source:t,target:i})}})),e.elements&&this.createTopoGraph(e.elements)}))}}},l=(0,n(4486).A)(s,i,[],!1,null,"3743a4b0",null);l.options.__file="components/lib/bpmFieldsFilter/src/main.vue";var d=l.exports},609:function(e,t,n){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,i){var a=e;switch(n){case"s":return i||t?"néhány másodperc":"néhány másodperce";case"ss":return a+(i||t)?" másodperc":" másodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return a+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" óra":" órája");case"hh":return a+(i||t?" óra":" órája");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return a+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" hónap":" hónapja");case"MM":return a+(i||t?" hónap":" hónapja");case"y":return"egy"+(i||t?" év":" éve");case"yy":return a+(i||t?" év":" éve")}return""}function i(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},617:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(208),a=n(9029),o=n(4227),r=n(6250),s={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>a.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>a._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:n,$data:s,schema:l,parentSchema:d,schemaCode:c,it:u}=e;if(!s&&!l)return;const m=t.let("valid"),f=d.items?(0,i.getSchemaTypes)(d.items):[];function h(o,r){const s=t.name("item"),l=(0,i.checkDataTypes)(f,s,u.opts.strictNumbers,i.DataType.Wrong),d=t.const("indices",a._`{}`);t.for(a._`;${o}--;`,(()=>{t.let(s,a._`${n}[${o}]`),t.if(l,a._`continue`),f.length>1&&t.if(a._`typeof ${s} == "string"`,a._`${s} += "_"`),t.if(a._`typeof ${d}[${s}] == "number"`,(()=>{t.assign(r,a._`${d}[${s}]`),e.error(),t.assign(m,!1).break()})).code(a._`${d}[${s}] = ${o}`)}))}function p(i,s){const l=(0,o.useFunc)(t,r.default),d=t.name("outer");t.label(d).for(a._`;${i}--;`,(()=>t.for(a._`${s} = ${i}; ${s}--;`,(()=>t.if(a._`${l}(${n}[${i}], ${n}[${s}])`,(()=>{e.error(),t.assign(m,!1).break(d)}))))))}e.block$data(m,(function(){const i=t.let("i",a._`${n}.length`),o=t.let("j");e.setParams({i:i,j:o}),t.assign(m,!0),t.if(a._`${i} > 1`,(()=>(f.length>0&&!f.some((e=>"object"===e||"array"===e))?h:p)(i,o)))}),a._`${c} === false`),e.ok(m)}};t.default=s},625:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return N}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-map-location",attrs:{value:e.curVal,fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType},on:{change:e.handleChange}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-map-location-editor"},[e.isDialog?n("div",[e._l(e.curVal,(function(t,i){return e.isMultiple&&1!=e.curVal.length?e._e():n("span",{key:i},[e._v("\n "+e._s(t.address)+"\n ")])})),e._v(" "),n("i",{staticClass:"fa fa-map-marker",on:{click:e.openMapDialog}}),e._v(" "),e.isMultiple&&e.curVal.length>1?n("span",{key:e.index},[e._v("\n "+e._s(e.curVal.length)+"\n ")]):e._e(),e._v(" "),n("el-dialog",{attrs:{title:e.fieldConf.name,visible:e.dialogMapVisible,"append-to-body":!0,width:e.dialogWidth,"before-close":e.handleDialogMapClose},on:{"update:visible":function(t){e.dialogMapVisible=t}}},[n("div",{staticClass:"bpm-map-content"},[e.isMultiple&&e.dialogMarkers.length>1?[e.isMultiple?[n("el-select",{staticStyle:{"margin-bottom":"10px",width:"100%"},attrs:{multiple:"","collapse-tags":"",placeholder:"请选择"},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}},e._l(e.selectOptions,(function(e){return n("el-option",{key:e.address,attrs:{label:e.address,value:e.address}})})),1)]:e._e()]:[e.showLocationTitle?n("div",{staticClass:"current-select-loaction",staticStyle:{"margin-bottom":"10px"}},[e._v("\n "+e._s(e.$z("当前地址","c.current_location"))+":\n "),e._l(e.dialogMarkers,(function(t,i){return n("span",{key:i},[e._v("\n "+e._s(t.address)+"\n ")])}))],2):e._e(),e._v(" "),e.showCoordinate?n("div",{staticClass:"current-select-loaction",staticStyle:{"margin-bottom":"10px"}},[e._v("\n "+e._s(e.$z("当前坐标","c.current_coordinate"))+":\n "),e._l(e.dialogMarkers,(function(t,i){return n("span",{key:i},[n("el-tag",[e._v(" "+e._s(t.lng))]),e._v(" "),n("el-tag",[e._v(" "+e._s(t.lat))])],1)}))],2):e._e()],e._v(" "),e.dialogMapVisible?n("map-component",{attrs:{fieldConf:e.fieldConf,readonly:e.readonly},model:{value:e.dialogMarkers,callback:function(t){e.dialogMarkers=t},expression:"dialogMarkers"}}):e._e(),e._v(" "),e.readonly?e._e():n("div",{staticClass:"dialog-footer",staticStyle:{"margin-top":"20px"},attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.dialogMapVisible=!1}}},[e._v(e._s(e.$z("取消","c.cancel")))]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:e.confirmMarkerSelect}},[e._v(e._s(e.$z("确定","c.confirm")))])],1)],2)])],2):n("div",{staticClass:"bpm-map-content"},[e.isMultiple?[n("el-select",{staticStyle:{"margin-bottom":"10px",width:"100%"},attrs:{multiple:"","collapse-tags":"",placeholder:"请选择"},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}},e._l(e.selectOptions,(function(e){return n("el-option",{key:e.address,attrs:{label:e.address,value:e.address}})})),1)]:[n("div",{staticStyle:{"margin-bottom":"5px"}},e._l(e.curVal,(function(t,i){return n("span",{key:i},[e._v("\n "+e._s(t.address)+" "),n("el-tag",{staticStyle:{"margin-right":"5px"}},[e._v(" "+e._s(t.lng))]),n("el-tag",[e._v(" "+e._s(t.lat))])],1)})),0)],e._v(" "),n("map-component",{attrs:{fieldConf:e.fieldConf,readonly:e.readonly},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}})],2)])};a._withStripped=!0;var o=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-map",style:{height:e.height},attrs:{value:e.curVal,fieldConf:e.fieldConf,row:e.row,mode:e.mode,readonly:e.readonly,position:e.position},on:{change:e.handleChange}},"component",e.$attrs,!1),e.$listeners))};o._withStripped=!0;var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.readonly?e._e():n("div",{staticClass:"auto-complete-input",staticStyle:{position:"absolute","z-index":"99",width:"50%",padding:"10px"}},[n("el-autocomplete",{staticClass:"inline-input",staticStyle:{width:"100%"},attrs:{"fetch-suggestions":e.querySearch,placeholder:e.$z("查看地址","c.search_place"),"trigger-on-focus":!1},on:{select:e.handleSelect},nativeOn:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleEnter.apply(null,arguments)}},model:{value:e.address,callback:function(t){e.address=t},expression:"address"}})],1),e._v(" "),n("GmapMap",{ref:"google_map_"+e.fieldConf.id,staticStyle:{width:"100%",height:"100%"},attrs:{center:e.position_center,zoom:e.zoom,options:e.options},on:{click:e.handleClick}},[e._l(e.google_markers,(function(e,t){return n("GmapMarker",{key:t,attrs:{position:e.position}})})),e._v(" "),this.place?n("GmapMarker",{attrs:{label:"★",position:{lat:this.place.geometry.location.lat(),lng:this.place.geometry.location.lng()}}}):e._e()],2)],1)};r._withStripped=!0;var s={props:{value:{type:[String,Number]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},readonly:{type:Boolean,default:!1},position:{type:Object,default(){return{latitude:"",longitude:""}}}},data(){return{map:null,geocoder:null,markers:[],init_markers:[],showMap:!1}},computed:{map_key(){return _.get(this.fieldConf,"map_key")},securityJsCode(){return _.get(this.fieldConf,"security_js_code",!1)},isMultiple(){return _.get(this.fieldConf,"multiple")},center(){if(this.readonly){if(this.markers&&this.markers.length)return[this.markers[0].lng,this.markers[0].lat]}else if(this.init_markers&&this.init_markers.length)return[this.init_markers[0].lng,this.init_markers[0].lat];if(console.log("this.init_markers",this.init_markers),(!this.markers||!this.markers.length)&&this.position.longitude&&this.position.latitude)return[this.position.longitude,this.position.latitude];let e=_.get(this.fieldConf,"style.center");return e&&e[0]&&e[1]?[parseFloat(e[0]),parseFloat(e[1])]:[121.272011,31.200441]},zoom(){let e=12;return _.get(this.fieldConf,"style.zoom")&&(e=parseInt(_.get(this.fieldConf,"style.zoom"))),e},showScale(){return _.get(this.fieldConf,"style.show_scale")},showSmallMap(){return _.get(this.fieldConf,"style.show_small_map")}},watch:{value(e){this.markers=_.cloneDeep(e),console.log("this.markers",this.markers),(this.init_markers&&!this.init_markers.length||!this.init_markers)&&(this.init_markers=_.cloneDeep(this.markers)),this.$nextTick((()=>{this._setMarks()}))}},methods:{_init(e){console.log("地图初始化开始。。"),e()},_setMarks(){console.log("地图标记位置。。")},_eventBind(){console.log("地图事件绑定。。")},callBackFn(e){setTimeout((()=>{e._setMarks(),this.readonly||e._eventBind()}),100)},initMap(){setTimeout((()=>{this._init(this.callBackFn)}),100)}},mounted(){this.markers=this.value,this.init_markers=_.cloneDeep(this.markers),this.initMap()}},l=n(4486),d=(0,l.A)(s,void 0,void 0,!1,null,null,null);d.options.__file="components/lib/bpmMapLocation/src/widget/map_operator/map_mixin.vue";var c=d.exports,u=n(379),m=n(5554),f=n.n(m);f().config.productionTip=!1;let h=localStorage.getItem("i18n-locale");f().use(u,{load:{key:"AIzaSyARaJH6yxQDsT9AKmrSr11N22Mbn8s1CQg",libraries:"places",language:h||"cn"}});var p={computed:{google:u.gmapApi},data(){return{address:"",auto_complete_request:{input:"",includedPrimaryTypes:[]},newestRequestId:0,tokenCount:0,options:{zoomControl:!0,mapTypeControl:!1,scaleControl:!1,streetViewControl:!1,rotateControl:!1,fullscreenControl:!0,disableDefaultUi:!1},position_center:{lat:45.508,lng:-73.587},google_markers:[],place:null}},mixins:[c],watch:{center(e,t){console.log("center",e),e&&e[0]&&(this.position_center={lat:e[1],lng:e[0]}),console.log("this.position_center",this.position_center)}},methods:{async querySearch(e,t){this.auto_complete_request.input=e;let n=[];++this.newestRequestId;const{AutocompleteSuggestion:i}=await this.google.maps.importLibrary("places"),{suggestions:a}=await i.fetchAutocompleteSuggestions(this.auto_complete_request);for(const e of a){const t=e.placePrediction;t&&n.push({value:t.text.toString(),placePrediction:t})}console.log("_suggestions",n),console.log("suggestions",a),t(n)},handleSelect(e){console.log(e),this.onPlaceSelected(e.placePrediction.toPlace())},handleEnter(e){e.preventDefault(),e.stopPropagation(),console.log("回车被按下,但不会刷新页面")},async onPlaceSelected(e){await e.fetchFields({fields:["displayName","formattedAddress","location"]}),console.log("place",e),await this.refreshToken(),console.log("place.location",e.location),this.position_center={lat:e.location.lat(),lng:e.location.lng()},this.addMarker(e.location.lng(),e.location.lat())},async refreshToken(){const{AutocompleteSessionToken:e}=await this.google.maps.importLibrary("places");this.tokenCount++,this.auto_complete_request.sessionToken=new e,console.log(`Session token count: ${this.tokenCount}`)},handleClick(e){if(this.readonly)return!1;console.log("position",e),console.log("position",e.latLng.lat()),console.log("this.markers",this.markers),_.isArray(this.markers)||(this.markers=[],this.google_markers=[]),this.addMarker(e.latLng.lng(),e.latLng.lat())},addMarker(e,t){this.isMultiple||(this.markers=[],this.google_markers=[]);let n={lat:parseFloat(t),lng:parseFloat(e)};this._getLocationAddreess(n,(n=>{this.$nextTick((()=>{this.google_markers.push({position:{lat:t,lng:e},address:n});let i=_.cloneDeep(this.google_markers);this.markers=_.map(i,(e=>({address:e.address,lng:e.position.lng,lat:e.position.lat,type:""}))),console.log("_getLocationAddreess_this.markers",this.markers),this.$emit("change",this.markers)}))}))},async _getLocationAddreess(e,t){if(!this.geocoder)return!1;this.geocoder.geocode({location:e}).then((e=>{console.log("response",e),e.results[0]?t(e.results[0].formatted_address):window.alert("No results found")})).catch((e=>window.alert("Geocoder failed due to: "+e)))},async _init(e){console.log("this.$refs",this.$refs),this.geocoder=new this.google.maps.Geocoder,console.log("this.geocoder",this.geocoder),e(this),setTimeout((()=>{_.isArray(this.markers)||(this.markers=[],this.google_markers=[],this.addMarker(this.center[0],this.center[1]))}),2e3)},_setMarks(){console.log("this.set_markers",this.markers),console.log("this.value",this.value);let e=_.cloneDeep(this.markers);this.google_markers=_.map(e,(e=>({address:e.address,position:{lat:e.lat,lng:e.lng},type:e.type}))),console.log("this.google_markers ",this.google_markers)},_eventBind(){}}},g=(0,l.A)(p,r,[],!1,null,null,null);g.options.__file="components/lib/bpmMapLocation/src/widget/map_operator/google.vue";var y=g.exports,b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.showMap?n("el-amap",{ref:"map",staticClass:"amapClass",attrs:{vid:"amapContainer",center:e.center,zoom:e.zoom}}):e._e()],1)};b._withStripped=!0;var v=n(966),w=n.n(v);f().use(w());var M={data(){return{}},mixins:[c],methods:{_init(e){this.securityJsCode&&(window._AMapSecurityConfig={securityJsCode:this.securityJsCode}),w().initAMapApiLoader({key:this.map_key,plugin:["Autocomplete","PlaceSearch","Scale","OverView","ToolBar","MapType","PolyEditor","AMap.CircleEditor","AMap.Geocoder"],v:"1.4.4"}),this.showMap=!0,v.lazyAMapApiLoaderInstance.load().then((()=>{this.$nextTick((()=>{this.map=this.$refs.map.$$getInstance(),AMap.Geocoder?this.geocoder=new AMap.Geocoder({}):AMap.plugin("AMap.Geocoder",(()=>{this.geocoder=new AMap.Geocoder({})})),setTimeout((()=>{_.isArray(this.markers)||(this.markers=[]),0==this.markers.length&&this.addMarker(this.center[0],this.center[1])}),1e3),e(this)}))}))},_setMarks(){try{if(_.isUndefined(AMap))return!1;if(!this.map)return!1;console.log("AMap",AMap),this.map.clearMap(),console.log("this.markers",this.markers),_.each(this.markers,(e=>{var t=new AMap.Marker({map:this.map,visible:!0,position:[e.lng,e.lat]});console.log("marker",t),t.setMap(this.map)}))}catch(e){console.log("error",e)}},_eventBind(){this.handleClick()},async _getLocationAddreess(e,t){let n=this;var i="";return await this.geocoder.getAddress(e,(function(e,a){"complete"===e&&a.regeocode?(n.address=a.regeocode.formattedAddress,i=n.address,t(i)):n.$message.error("根据经纬度查询地址失败")})),i},addMarker(e,t){let n=this,i=new AMap.Marker({visible:!0,position:[e,t]});this.isMultiple||(n.markers=[],n.map.clearMap()),console.log("marker",i),console.log("that.map",n.map),i.setMap(n.map);let a=[e,t];n._getLocationAddreess(a,(i=>{let o={address:i,lng:e,lat:t,type:""};_.isArray(n.markers)||(n.markers=[]),n.markers.push(o),console.log("thisPosition",o),n.$emit("change",n.markers),console.log("lnglat",a)}))},handleClick(){let e=this;console.log("this.map",this.map),this.map.on("click",(async t=>{let n=t.lnglat.lng,i=t.lnglat.lat;e.addMarker(n,i)}))}}},k=(0,l.A)(M,b,[],!1,null,null,null);k.options.__file="components/lib/bpmMapLocation/src/widget/map_operator/amap.vue";var L=k.exports,S=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",[e._v("\n 百度地图\n")])};S._withStripped=!0;var x=(0,l.A)({},S,[],!1,null,null,null);x.options.__file="components/lib/bpmMapLocation/src/widget/map_operator/baidu.vue";var D=x.exports,C=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",[e._v("\n 腾讯地图\n")])};C._withStripped=!0;var T=(0,l.A)({},C,[],!1,null,null,null);T.options.__file="components/lib/bpmMapLocation/src/widget/map_operator/tencent.vue";var Y=T.exports,$={name:"BpmMapLocation",components:{googleMap:y,aMap:L,baiduMap:D,tencentMap:Y},props:{value:{type:Array},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},readonly:{type:Boolean,default:!1}},data(){return{position:{latitude:"",longitude:""},curVal:[]}},computed:{map_key(){return window.MAP_KEY=_.get(this.fieldConf,"map_key"),_.get(this.fieldConf,"map_key")},height(){return _.get(this.fieldConf,"style.height")+"px"},curComponent(){return"google"==this.fieldConf.operator?y:"amap"==this.fieldConf.operator?L:"baidu"==this.fieldConf.operator?D:"tencent"==this.fieldConf.operator?Y:y}},watch:{value(e){this.curVal=e}},mounted(){this.curVal=this.value,navigator&&navigator.geolocation?navigator.geolocation.getCurrentPosition(this.getLocationSucess,this.getLocationError):console.log("浏览器不支持Geolocation API")},methods:{getLocationSucess(e){this.position.latitude=e.coords.latitude,this.position.longitude=e.coords.longitude,console.log("当前位置经度:"+this.position.longitude),console.log("当前位置纬度:"+this.position.latitude)},getLocationError(e){switch(e.code){case e.PERMISSION_DENIED:console.log("用户拒绝了位置请求");break;case e.POSITION_UNAVAILABLE:console.log("无法获取当前位置");break;case e.TIMEOUT:console.log("获取位置超时");break;case e.UNKNOWN_ERROR:console.log("发生未知错误")}},handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},j=(0,l.A)($,o,[],!1,null,null,null);j.options.__file="components/lib/bpmMapLocation/src/widget/map.vue";var O={components:{mapComponent:j.exports},data(){return{curVal:[],dialogMarkers:[],selected:[],selectOptions:[],dialogMapVisible:!1}},props:["value","fieldConf","row","uiType","readonly"],watch:{value(e){this.curVal=e,this.selectOptions=_.cloneDeep(e),this.selected=[],_.each(this.selectOptions,(e=>{this.selected.push(e.address)}))}},computed:{isDialog(){return"dialog"==_.get(this.fieldConf,"style.ui_type")||"table"==this.uiType},dialogWidth(){return _.get(this.fieldConf,"style.dialog_width")+"%"},showLocationTitle(){return _.get(this.fieldConf,"style.show_location_title")},showCoordinate(){return _.get(this.fieldConf,"style.show_coordinate")},isMultiple(){return _.get(this.fieldConf,"multiple")}},methods:{handleChange(e){console.log("map_location change: ",e),this.$emit("change",e)},openMapDialog(){this.dialogMapVisible=!0,this.dialogMarkers=this.curVal},confirmMarkerSelect(){this.dialogMapVisible=!1,this.curVal=this.dialogMarkers,this.handleChange(this.curVal)}},mounted(){}},I=(0,l.A)(O,a,[],!1,null,null,null);I.options.__file="components/lib/bpmMapLocation/src/part/editor.vue";var P=I.exports,E=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"bpm-map-loaction-view"},[n("map-location-editor",{attrs:{value:e.value,fieldConf:e.fieldConf,row:e.row,uiType:e.uiType,readonly:!0}})],1)};E._withStripped=!0;var A={components:{MapLocationEditor:P},props:["value","fieldConf","row","uiType"]},F=(0,l.A)(A,E,[],!1,null,null,null);F.options.__file="components/lib/bpmMapLocation/src/part/reader.vue";var V=F.exports,H={name:"BpmMapLocation",components:{editorComponent:P,readerComponent:V},props:{value:{type:[String,Number]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}}},data(){return{curVal:""}},created(){window.MAP_KEY=_.get(this.fieldConf,"map_key")},computed:{curComponent(){return"view"==this.mode?V:P}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},R=(0,l.A)(H,i,[],!1,null,null,null);R.options.__file="components/lib/bpmMapLocation/src/main.vue";var z=R.exports;z.install=function(e){e.component(z.name,z)};var N=z},708:function(e,t,n){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n(5093))},744:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314);n.n(o)()(a()).push([e.id,".bpm-status[data-v-2709dffc] {\n min-height: 24px;\n border-radius: 3px;\n}\n",""])},748:function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(5093))},838:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5093))},865:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return w}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-rating",attrs:{value:e.curVal,fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType},on:{change:e.handleChange}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-rate",{attrs:{max:e.max,iconClasses:e.icon,voidIconClass:e.voidIcon,disabledVoidIcon:e.voidIcon,disabled:e.readonly,allowHalf:e.allowHalf,colors:e.colors,voidColor:e.voidColor,showText:e.showText,showScore:e.showScore,textColor:e.textColor,texts:e.texts},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}})],1)};a._withStripped=!0;var o=n(6773),r=n.n(o),s=n(5554),l=n.n(s),d=n(7642);l().use(d.Rate);var c={data(){return{curVal:null}},props:["value","fieldConf","row","readonly"],watch:{value(e){this.value||0===this.value||"0"===this.value?(this.curVal=Number(this.value),console.log("number change_curVal: ",this.curVal)):this.curVal=void 0}},computed:{texts(){let e=[],t=r().get(this.fieldConf,"range_enum");return r().each(t,(t=>{e.push(t[1])})),e},max(){return r().get(this.fieldConf,"range_enum").length||5},icon(){let e=this.getIconClass(r().get(this.fieldConf,"style.icon"));return[e,e,e]},voidIcon(){return this.getIconClass(r().get(this.fieldConf,"style.void_icon"),!0)},size(){return r().get(this.fieldConf,"style.size")},gutter(){return r().get(this.fieldConf,"style.gutter")},allowHalf(){return r().get(this.fieldConf,"style.allow_half")},colors(){let e=r().get(this.fieldConf,"style.color");return[e,e,e]},voidColor(){return r().get(this.fieldConf,"style.void_color")},showText(){return r().get(this.fieldConf,"style.show_text")},showScore(){return r().get(this.fieldConf,"style.show_score")},textColor(){return r().get(this.fieldConf,"style.text_color")}},methods:{getIconClass(e,t=!1){let n="";switch(e){case"star":case"like":case"smile":case"good-job":n=t?"el-icon-star-off":"el-icon-star-on"}return n},handleChange(e){console.log("number change: ",e),this.$emit("change",this.curVal)}},mounted(){this.value||0===this.value||"0"===this.value?this.curVal=Number(this.value):this.curVal=void 0}},u=n(4486),m=(0,u.A)(c,a,[],!1,null,null,null);m.options.__file="components/lib/bpmRating/src/part/editor.vue";var f=m.exports,h=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"bpm-rating-view"},[n("rate-editor",{attrs:{value:e.value,fieldConf:e.fieldConf,row:e.row,uiType:e.uiType,readonly:!0}})],1)};h._withStripped=!0;var p={components:{RateEditor:f},props:["value","fieldConf","row","uiType"]},_=(0,u.A)(p,h,[],!1,null,null,null);_.options.__file="components/lib/bpmRating/src/part/reader.vue";var g=_.exports,y={name:"BpmRating",components:{editorComponent:f,readerComponent:g},props:{value:{type:[String,Number]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?g:f}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},b=(0,u.A)(y,i,[],!1,null,null,null);b.options.__file="components/lib/bpmRating/src/main.vue";var v=b.exports;v.install=function(e){e.component(v.name,v)};var w=v},877:function(e,t,n){var i={"./bpmAppointment/index.js":8141,"./bpmArea/index.js":2042,"./bpmAreaElevation/index.js":7930,"./bpmAudit/index.js":4789,"./bpmDateTime/index.js":1933,"./bpmExternalFormLink/index.js":7948,"./bpmField/index.js":9666,"./bpmFieldsFilter/index.js":9335,"./bpmFormField/index.js":4304,"./bpmMapLocation/index.js":625,"./bpmMulFile/index.js":2622,"./bpmMulImage/index.js":2554,"./bpmNumber/index.js":7698,"./bpmOverTime/index.ts":6702,"./bpmRating/index.js":865,"./bpmRichText/index.js":5540,"./bpmSelect/index.js":2865,"./bpmSelectCheckItem/index.js":8668,"./bpmSelectEntranceForm/index.js":2179,"./bpmSelectFromField/index.js":9674,"./bpmSelectFromForm/index.js":1567,"./bpmSelectFromId/index.js":2549,"./bpmSelectFromMulForm/index.js":6170,"./bpmSelectHouseOwner/index.js":4413,"./bpmSelectIssue/index.js":8500,"./bpmSelectUser/index.js":6974,"./bpmSignature/index.js":1824,"./bpmSpliter/index.ts":9973,"./bpmSubForm/index.js":5961,"./bpmSubFormField/index.js":1849,"./bpmText/index.ts":1138,"./bpmTime/index.js":2656,"./bpmVideo/index.js":3610,"./demo/index.js":5881,"./demo2/index.js":6751,"./index.ts":5990};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}a.keys=function(){return Object.keys(i)},a.resolve=o,e.exports=a,a.id=877},895:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,a=!1,o=void 0;try{for(var r,s=e[Symbol.iterator]();!(i=(r=s.next()).done)&&(n.push(r.value),!t||n.length!==t);i=!0);}catch(e){a=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=(i=n(2230))&&i.__esModule?i:{default:i},r={draggable:{type:Boolean},editable:{type:Boolean},options:{type:Object},path:{type:Array,twoWay:!0,noBind:!0},paths:{type:Array,twoWay:!0,noBind:!0}};t.default=(0,o.default)({props:{deepWatch:{type:Boolean,default:!1}},events:["click","dblclick","drag","dragend","dragstart","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"],mappedProps:r,name:"polygon",ctr:function(){return google.maps.Polygon},beforeCreate:function(e){e.path||delete e.path,e.paths||delete e.paths},afterCreate:function(e){var t=this,n=function(){};this.$watch("paths",(function(i){if(i){n(),e.setPaths(i);for(var o=function(){t.$emit("paths_changed",e.getPaths())},r=[],s=e.getPaths(),l=0;l<s.getLength();l++){var d=s.getAt(l);r.push([d,d.addListener("insert_at",o)]),r.push([d,d.addListener("remove_at",o)]),r.push([d,d.addListener("set_at",o)])}r.push([s,s.addListener("insert_at",o)]),r.push([s,s.addListener("remove_at",o)]),r.push([s,s.addListener("set_at",o)]),n=function(){r.map((function(e){var t=a(e,2),n=(t[0],t[1]);return google.maps.event.removeListener(n)}))}}}),{deep:this.deepWatch,immediate:!0}),this.$watch("path",(function(i){if(i){n(),e.setPaths(i);var o=e.getPath(),r=[],s=function(){t.$emit("path_changed",e.getPath())};r.push([o,o.addListener("insert_at",s)]),r.push([o,o.addListener("remove_at",s)]),r.push([o,o.addListener("set_at",s)]),n=function(){r.map((function(e){var t=a(e,2),n=(t[0],t[1]);return google.maps.event.removeListener(n)}))}}}),{deep:this.deepWatch,immediate:!0})}})},966:function(e,t,n){var i;"undefined"!=typeof self&&self,e.exports=(i=n(5554),function(e){function t(i){if(n[i])return n[i].exports;var a=n[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="./",t(t.s=64)}([function(e,t,n){"use strict";var i=n(45),a=n.n(i),o=n(6),r=n(50),s=n(13),l=n(49),d=n(27);t.a={data:function(){return{unwatchFns:[]}},mounted:function(){var e=this;s.b&&s.b.load().then((function(){e.__contextReady&&e.__contextReady.call(e,e.convertProps())})),this.$amap=this.$amap||this.$parent.$amap,this.$amap?this.register():this.$on(l.a.AMAP_READY_EVENT,(function(t){e.$amap=t,e.register()}))},destroyed:function(){this.unregisterEvents(),this.$amapComponent&&(this.$amapComponent.setMap&&this.$amapComponent.setMap(null),this.$amapComponent.close&&this.$amapComponent.close(),this.$amapComponent.editor&&this.$amapComponent.editor.close(),this.unwatchFns.forEach((function(e){return e()})),this.unwatchFns=[])},methods:{getHandlerFun:function(e){return this.handlers&&this.handlers[e]?this.handlers[e]:this.$amapComponent["set"+a()(e)]||this.$amapComponent.setOptions},convertProps:function(){var e=this,t={};this.$amap&&(t.map=this.$amap);var n=this.$options.propsData,i=void 0===n?{}:n,a=this.propsRedirect;return Object.keys(i).reduce((function(n,o){var r=o,s=e.convertSignalProp(r,i[r]);return void 0===s||(a&&a[o]&&(r=a[r]),t[r]=s),n}),t)},convertSignalProp:function(e,t){var n="",i="";if(this.amapTagName)try{var r=a()(this.amapTagName).replace(/^El/,"");i=(d.default[r]||"").props[e].$type,n=o.a[i]}catch(e){}if(i&&n)return n(t);if(this.converters&&this.converters[e])return this.converters[e].call(this,t);var s=o.a[e];return s?s(t):t},registerEvents:function(){if(this.setEditorEvents&&this.setEditorEvents(),this.$options.propsData){if(this.$options.propsData.events)for(var e in this.events)r.a.addListener(this.$amapComponent,e,this.events[e]);if(this.$options.propsData.onceEvents)for(var t in this.onceEvents)r.a.addListenerOnce(this.$amapComponent,t,this.onceEvents[t])}},unregisterEvents:function(){r.a.clearListeners(this.$amapComponent)},setPropWatchers:function(){var e=this,t=this.propsRedirect,n=this.$options.propsData,i=void 0===n?{}:n;Object.keys(i).forEach((function(n){var i=n;t&&t[n]&&(i=t[n]);var a=e.getHandlerFun(i);if(a||"events"===n){var o=e.$watch(n,(function(t){return"events"===n?(e.unregisterEvents(),void e.registerEvents()):a&&a===e.$amapComponent.setOptions?a.call(e.$amapComponent,((o={})[i]=e.convertSignalProp(n,t),o)):void a.call(e.$amapComponent,e.convertSignalProp(n,t));var o}));e.unwatchFns.push(o)}}))},registerToManager:function(){var e=this.amapManager||this.$parent.amapManager;e&&void 0!==this.vid&&e.setComponent(this.vid,this.$amapComponent)},initProps:function(){var e=this;["editable","visible"].forEach((function(t){if(void 0!==e[t]){var n=e.getHandlerFun(t);n&&n.call(e.$amapComponent,e.convertSignalProp(t,e[t]))}}))},printReactiveProp:function(){var e=this;Object.keys(this._props).forEach((function(t){e.$amapComponent["set"+a()(t)]&&console.log(t)}))},register:function(){var e=this,t=this.__initComponent&&this.__initComponent(this.convertProps());t&&t.then?t.then((function(t){return e.registerRest(t)})):this.registerRest(t)},registerRest:function(e){!this.$amapComponent&&e&&(this.$amapComponent=e),this.registerEvents(),this.initProps(),this.setPropWatchers(),this.registerToManager(),this.events&&this.events.init&&this.events.init(this.$amapComponent,this.$amap,this.amapManager||this.$parent.amapManager)},$$getInstance:function(){return this.$amapComponent}}}},function(e,t,n){"use strict";t.a=function(e,t,n,i,a,o,r,s){var l=typeof(e=e||{}).default;"object"!==l&&"function"!==l||(e=e.default);var d,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId=o),r?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},c._ssrRegister=d):a&&(d=s?function(){a.call(this,this.$root.$options.shadowRoot)}:a),d)if(c.functional){c._injectStyles=d;var u=c.render;c.render=function(e,t){return d.call(t),u(e,t)}}else{var m=c.beforeCreate;c.beforeCreate=m?[].concat(m,d):[d]}return{exports:e,options:c}}},function(e,t,n){var i=n(30)("wks"),a=n(14),o=n(3).Symbol,r="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=r&&o[e]||(r?o:a)("Symbol."+e))}).store=i},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(15)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";function i(e){return new AMap.Pixel(e[0],e[1])}function a(e){return new AMap.LngLat(e[0],e[1])}function o(e){return new AMap.Bounds(a(e[0]),a(e[1]))}t.e=i,t.c=function(e){return Array.isArray(e)?e:[e.getX(),e.getY()]},t.d=a,t.b=function(e){if(e)return Array.isArray(e)?e.slice():[e.getLng(),e.getLat()]},n.d(t,"a",(function(){return r}));var r={position:a,offset:i,bounds:o,LngLat:a,Pixel:i,Size:function(e){return new AMap.Size(e[0],e[1])},Bounds:o}},function(e,t,n){var i=n(3),a=n(8),o=n(11),r=n(14)("src"),s=Function.toString,l=(""+s).split("toString");n(16).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var d="function"==typeof n;d&&(o(n,"name")||a(n,"name",t)),e[t]!==n&&(d&&(o(n,r)||a(n,r,e[t]?""+e[t]:l.join(String(t)))),e===i?e[t]=n:s?e[t]?e[t]=n:a(e,t,n):(delete e[t],a(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[r]||s.call(this)}))},function(e,t,n){var i=n(9),a=n(20);e.exports=n(5)?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(10),a=n(31),o=n(33),r=Object.defineProperty;t.f=n(5)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),a)try{return r(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var i=n(4);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports={}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return r}));var i=n(97),a=n(19),o=n.n(a),r=null,s=function(e){o.a.prototype.$isServer||r||(r||(r=new i.a(e)),r.load())}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n=e.exports={version:"2.5.5"};"number"==typeof __e&&(__e=n)},function(e,t,n){var i=n(71);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,a){return e.call(t,n,i,a)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var i=n(75),a=n(22);e.exports=function(e){return i(a(e))}},function(e,t){e.exports=i},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";var i=n(70),a=n(34),o=n(7),r=n(8),s=n(12),l=n(72),d=n(25),c=n(79),u=n(2)("iterator"),m=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,h,p,_,g){l(n,t,h);var y,b,v,w=function(e){if(!m&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},M=t+" Iterator",k="values"==p,L=!1,S=e.prototype,x=S[u]||S["@@iterator"]||p&&S[p],D=x||w(p),C=p?k?w("entries"):D:void 0,T="Array"==t&&S.entries||x;if(T&&(v=c(T.call(new e)))!==Object.prototype&&v.next&&(d(v,M,!0),i||"function"==typeof v[u]||r(v,u,f)),k&&x&&"values"!==x.name&&(L=!0,D=function(){return x.call(this)}),i&&!g||!m&&!L&&S[u]||r(S,u,D),s[t]=D,s[M]=f,p)if(y={values:k?D:w("values"),keys:_?D:w("keys"),entries:C},g)for(b in y)b in S||o(S,b,y[b]);else a(a.P+a.F*(m||L),t,y);return y}},function(e,t,n){var i=n(30)("keys"),a=n(14);e.exports=function(e){return i[e]||(i[e]=a(e))}},function(e,t,n){var i=n(9).f,a=n(11),o=n(2)("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},function(e,t,n){"use strict";var i=n(50);t.a={methods:{setEditorEvents:function(){var e=this;if(this.$amapComponent.editor&&this.events){var t=["addnode","adjust","removenode","end","move"],n={};Object.keys(this.events).forEach((function(i){-1!==t.indexOf(i)&&(n[i]=e.events[i])})),Object.keys(n).forEach((function(t){i.a.addListener(e.$amapComponent.editor,t,n[t])}))}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=(n(65),n(45)),a=n.n(i),o=n(13),r=n(100),s=n(106),l=n(107),d=n(111),c=n(113),u=n(115),m=n(116),f=n(118),h=n(120),p=n(122),_=n(124),g=n(126),y=n(128),b=n(130),v=n(131);n.d(t,"AMapManager",(function(){return b.a})),n.d(t,"initAMapApiLoader",(function(){return o.a})),n.d(t,"createCustomComponent",(function(){return v.a})),n.d(t,"lazyAMapApiLoaderInstance",(function(){return o.b}));var w=[r.a,s.a,l.a,d.a,c.a,u.a,f.a,m.a,h.a,p.a,_.a,g.a,y.a],M={initAMapApiLoader:o.a,AMapManager:b.a,install:function(e){M.installed||(e.config.optionMergeStrategies.deferredReady=e.config.optionMergeStrategies.created,w.map((function(t){e.component(t.name,t),M[a()(t.name).replace(/^El/,"")]=t})))}};"undefined"!=typeof window&&window.Vue&&function e(t){e.installed||M.install(t)}(window.Vue),t.default=M},function(e,t,n){var i=n(29),a=n(2)("toStringTag"),o="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:o?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var i=n(3),a=i["__core-js_shared__"]||(i["__core-js_shared__"]={});e.exports=function(e){return a[e]||(a[e]={})}},function(e,t,n){e.exports=!n(5)&&!n(15)((function(){return 7!=Object.defineProperty(n(32)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var i=n(4),a=n(3).document,o=i(a)&&i(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},function(e,t,n){var i=n(4);e.exports=function(e,t){if(!i(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!i(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!i(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!i(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var i=n(3),a=n(16),o=n(8),r=n(7),s=n(17),l=function(e,t,n){var d,c,u,m,f=e&l.F,h=e&l.G,p=e&l.S,_=e&l.P,g=e&l.B,y=h?i:p?i[t]||(i[t]={}):(i[t]||{}).prototype,b=h?a:a[t]||(a[t]={}),v=b.prototype||(b.prototype={});for(d in h&&(n=t),n)u=((c=!f&&y&&void 0!==y[d])?y:n)[d],m=g&&c?s(u,i):_&&"function"==typeof u?s(Function.call,u):u,y&&r(y,d,u,e&l.U),b[d]!=u&&o(b,d,m),_&&v[d]!=u&&(v[d]=u)};i.core=a,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var i=n(10),a=n(73),o=n(38),r=n(24)("IE_PROTO"),s=function(){},l=function(){var e,t=n(32)("iframe"),i=o.length;for(t.style.display="none",n(78).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;i--;)delete l.prototype[o[i]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=i(e),n=new s,s.prototype=null,n[r]=e):n=l(),void 0===t?n:a(n,t)}},function(e,t,n){var i=n(74),a=n(38);e.exports=Object.keys||function(e){return i(e,a)}},function(e,t,n){var i=n(21),a=Math.min;e.exports=function(e){return e>0?a(i(e),9007199254740991):0}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var i=n(7);e.exports=function(e,t,n){for(var a in t)i(e,a,t[a],n);return e}},function(e,t){e.exports=function(e,t,n,i){if(!(e instanceof t)||void 0!==i&&i in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var i=n(17),a=n(86),o=n(87),r=n(10),s=n(37),l=n(88),d={},c={};t=e.exports=function(e,t,n,u,m){var f,h,p,_,g=m?function(){return e}:l(e),y=i(n,u,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(o(g)){for(f=s(e.length);f>b;b++)if((_=t?y(r(h=e[b])[0],h[1]):y(e[b]))===d||_===c)return _}else for(p=g.call(e);!(h=p.next()).done;)if((_=a(p,y,h.value,t))===d||_===c)return _},t.BREAK=d,t.RETURN=c},function(e,t,n){var i=n(14)("meta"),a=n(4),o=n(11),r=n(9).f,s=0,l=Object.isExtensible||function(){return!0},d=!n(15)((function(){return l(Object.preventExtensions({}))})),c=function(e){r(e,i,{value:{i:"O"+ ++s,w:{}}})},u=e.exports={KEY:i,NEED:!1,fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,i)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[i].i},getWeak:function(e,t){if(!o(e,i)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[i].w},onFreeze:function(e){return d&&u.NEED&&l(e)&&!o(e,i)&&c(e),e}}},function(e,t,n){var i=n(4);e.exports=function(e,t){if(!i(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){"use strict";var i=n(96);e.exports=function(){var e=i.apply(i,arguments);return e.charAt(0).toUpperCase()+e.slice(1)}},function(e,t){function n(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var a=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(i);return[n].concat(i.sources.map((function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"}))).concat([a]).join("\n")}return[n].join("\n")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=n(t,e);return t[2]?"@media "+t[2]+"{"+i+"}":i})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},a=0;a<this.length;a++){var o=this[a][0];"number"==typeof o&&(i[o]=!0)}for(a=0;a<e.length;a++){var r=e[a];"number"==typeof r[0]&&i[r[0]]||(n&&!r[2]?r[2]=n:n&&(r[2]="("+r[2]+") and ("+n+")"),t.push(r))}},t}},function(e,t,n){function i(e){for(var t=0;t<e.length;t++){var n=e[t],i=c[n.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](n.parts[a]);for(;a<n.parts.length;a++)i.parts.push(o(n.parts[a]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var r=[];for(a=0;a<n.parts.length;a++)r.push(o(n.parts[a]));c[n.id]={id:n.id,refs:1,parts:r}}}}function a(){var e=document.createElement("style");return e.type="text/css",u.appendChild(e),e}function o(e){var t,n,i=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(i){if(h)return p;i.parentNode.removeChild(i)}if(_){var o=f++;i=m||(m=a()),t=r.bind(null,i,o,!1),n=r.bind(null,i,o,!0)}else i=a(),t=s.bind(null,i),n=function(){i.parentNode.removeChild(i)};return t(e),function(i){if(i){if(i.css===e.css&&i.media===e.media&&i.sourceMap===e.sourceMap)return;t(e=i)}else n()}}function r(e,t,n,i){var a=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=g(t,a);else{var o=document.createTextNode(a),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(o,r[t]):e.appendChild(o)}}function s(e,t){var n=t.css,i=t.media,a=t.sourceMap;if(i&&e.setAttribute("media",i),a&&(n+="\n/*# sourceURL="+a.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var l="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!l)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var d=n(103),c={},u=l&&(document.head||document.getElementsByTagName("head")[0]),m=null,f=0,h=!1,p=function(){},_="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n){h=n;var a=d(e,t);return i(a),function(t){for(var n=[],o=0;o<a.length;o++){var r=a[o];(s=c[r.id]).refs--,n.push(s)}for(t?i(a=d(e,t)):a=[],o=0;o<n.length;o++){var s;if(0===(s=n[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete c[s.id]}}}};var g=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t,n){"use strict";var i=n(104),a=n(49),o=n(6),r=n(0),s=n(13),l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.a={name:"el-amap",mixins:[r.a],props:["viewMode","skyColor","rotateEnable","pitch","buildingAnimation","pitchEnable","vid","events","center","zoom","draggEnable","level","zooms","lang","defaultCursor","crs","animateEnable","isHotspot","defaultLayer","rotateEnable","resizeEnable","showIndoorMap","indoorMap","expandZoomRange","dragEnable","zoomEnable","doubleClickZoom","keyboardEnable","jogEnable","scrollWheel","touchZoom","mapStyle","plugin","features","amapManager"],beforeCreate:function(){this._loadPromise=s.b.load()},destroyed:function(){this.$amap&&this.$amap.destroy()},computed:{plugins:function(){var e=[],t=/^AMap./,n=function(e){return t.test(e)?e:"AMap."+e},i=function(e){return e.replace(t,"")};return"string"==typeof this.plugin?e.push({pName:n(this.plugin),sName:i(this.plugin)}):this.plugin instanceof Array&&(e=this.plugin.map((function(e){var t={};return"string"==typeof e?t={pName:n(e),sName:i(e)}:(e.pName=n(e.pName),e.sName=i(e.pName),t=e),t}))),e}},data:function(){return{converters:{center:function(e){return Object(o.d)(e)}},handlers:{zoomEnable:function(e){this.setStatus({zoomEnable:e})},dragEnable:function(e){this.setStatus({dragEnable:e})},rotateEnable:function(e){this.setStatus({rotateEnable:e})}}}},mounted:function(){this.createMap()},addEvents:function(){var e=this;this.$amapComponent.on("moveend",(function(){var t=e.$amapComponent.getCenter();e.center=[t.getLng(),t.getLat()]}))},methods:{addPlugins:function(){var e=this.plugins.filter((function(e){return!AMap[e.sName]}));return e&&e.length?this.$amapComponent.plugin(e,this.addMapControls):this.addMapControls()},addMapControls:function(){var e=this;this.plugins&&this.plugins.length&&(this.$plugins=this.$plugins||{},this.plugins.forEach((function(t){var n=e.convertAMapPluginProps(t),i=e.$plugins[n.pName]=new AMap[n.sName](n);if(e.$amapComponent.addControl(i),t.events)for(var a in t.events){var o=t.events[a];"init"===a?o(i):AMap.event.addListener(i,a,o)}})))},convertAMapPluginProps:function(e){if("object"===(void 0===e?"undefined":l(e))&&e.pName){switch(e.pName){case"AMap.ToolBar":case"AMap.Scale":e.offset&&e.offset instanceof Array&&(e.offset=Object(o.e)(e.offset))}return e}return""},setStatus:function(e){this.$amap.setStatus(e)},createMap:function(){var e=this;this._loadPromise.then((function(){var t=e.$el.querySelector(".el-vue-amap"),n=e.vid||Object(i.a)();t.id=n,e.$amap=e.$amapComponent=new AMap.Map(n,e.convertProps()),e.amapManager&&e.amapManager.setMap(e.$amap),e.$emit(a.a.AMAP_READY_EVENT,e.$amap),e.$children.forEach((function(t){t.$emit(a.a.AMAP_READY_EVENT,e.$amap)})),e.plugins&&e.plugins.length&&e.addPlugins()}))},$$getCenter:function(){return this.$amap?Object(o.b)(this.$amap.getCenter()):Object(o.b)(this.center)}}}},function(e,t,n){"use strict";t.a={AMAP_READY_EVENT:"AMAP_READY_EVENT"}},function(e,t,n){"use strict";var i=void 0,a=function(){function e(){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this._listener=new Map}return e.prototype.addListener=function(e,t,n,i){if(!AMap.event)throw new Error("please wait for Map API load");var a=AMap.event.addListener(e,t,n,i);this._listener.get(e)||this._listener.set(e,{});var o=this._listener.get(e);o[t]||(o[t]=[]),o[t].push(a)},e.prototype.removeListener=function(e,t,n){if(!AMap.event)throw new Error("please wait for Map API load");if(this._listener.get(e)&&this._listener.get(e)[t]){var i=this._listener.get(e)[t];if(n){var a=i.indexOf(n);AMap.event.removeListener(i[a]),i.splice(a,1)}else i.forEach((function(e){AMap.event.removeListener(e)})),this._listener.get(e)[t]=[]}},e.prototype.addListenerOnce=function(e,t,n,i){return AMap.event.addListenerOnce(e,t,n,i)},e.prototype.trigger=function(e,t,n){return AMap.event.trigger(e,t,n)},e.prototype.clearListeners=function(e){var t=this,n=this._listener.get(e);n&&Object.keys(n).map((function(n){t.removeListener(e,n)}))},e}();i=i||new a,t.a=i},function(e,t,n){"use strict";var i=n(0),a=n(6),o=n(52),r=n(19),s=n.n(r),l="el-amap-marker";t.a={name:l,mixins:[i.a],props:["vid","position","offset","icon","content","topWhenClick","bubble","draggable","raiseOnDrag","cursor","visible","zIndex","angle","autoRotation","animation","shadow","title","clickable","shape","extData","label","events","onceEvents","template","vnode","contentRender"],data:function(){var e=this;return{$tagName:l,withSlots:!1,tmpVM:null,propsRedirect:{template:"content",vnode:"content",contentRender:"content"},converters:{shape:function(e){return new AMap.MarkerShape(e)},shadow:function(e){return new AMap.Icon(e)},template:function(t){var n=Object(o.a)(t,e);return this.$customContent=n,n.$el},vnode:function(t){var n="function"==typeof t?t(e):t,i=Object(o.c)(n);return this.$customContent=i,i.$el},contentRender:function(t){var n=Object(o.b)(t,e);return this.$customContent=n,n.$el},label:function(e){var t=e.content,n=void 0===t?"":t,i=e.offset,o=void 0===i?[0,0]:i;return{content:n,offset:Object(a.e)(o)}}},handlers:{zIndex:function(e){this.setzIndex(e)},visible:function(e){!1===e?this.hide():this.show()}}}},created:function(){this.tmpVM=new s.a({data:function(){return{node:""}},render:function(e){var t=this.node;return e("div",{ref:"node"},Array.isArray(t)?t:[t])}}).$mount()},methods:{__initComponent:function(e){this.$slots.default&&this.$slots.default.length&&(e.content=this.tmpVM.$refs.node),this.$amapComponent=new AMap.Marker(e)},$$getExtData:function(){return this.$amapComponent.getExtData()},$$getPosition:function(){return Object(a.b)(this.$amapComponent.getPosition())},$$getOffset:function(){return Object(a.c)(this.$amapComponent.getOffset())}},render:function(e){var t=this.$slots.default||[];return t.length&&(this.tmpVM.node=t),null},destroyed:function(){this.tmpVM.$destroy(),this.$customContent&&this.$customContent.$destroy&&this.$customContent.$destroy()}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return l}));var i=n(19),a=n.n(i),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r=function(e,t){var n={},i=a.a.compile(e);["methods","computed","data","filters"].forEach((function(e){n[e]=t.$parent.$parent.$options[e],"data"===e&&"function"==typeof n[e]&&(n[e]=n[e]())}));var r=new a.a(o({},n,i));return r.$mount(),r},s=function(e){var t=new a.a({render:function(t){return t("div",e)}});return t.$mount(),t},l=function(e,t){var n=new a.a({render:function(n){return e(n,t)}});return n.$mount(),n}},function(e,t,n){"use strict";var i=n(0),a=n(13);t.a={name:"el-amap-search-box",mixins:[i.a],props:["searchOption","onSearchResult","events","default"],data:function(){return{keyword:this.default||"",tips:[],selectedTip:-1,loaded:!1,adcode:null}},mounted:function(){var e=this;a.b.load().then((function(){e.loaded=!0,e._onSearchResult=e.onSearchResult,e.events&&e.events.init&&e.events.init({autoComplete:e._autoComplete,placeSearch:e._placeSearch})}))},computed:{_autoComplete:function(){if(this.loaded)return new AMap.Autocomplete(this.searchOption||{})},_placeSearch:function(){if(this.loaded)return new AMap.PlaceSearch(this.searchOption||{})}},methods:{autoComplete:function(){var e=this;this.keyword&&this._autoComplete&&this._autoComplete.search(this.keyword,(function(t,n){"complete"===t&&(e.tips=n.tips)}))},search:function(){var e=this;if(this.tips=[],this._placeSearch){var t;t=this.searchOption.citylimit&&this.searchOption.city?this.searchOption.city:this.adcode,this._placeSearch.setCity(t||this.searchOption.city),this._placeSearch.search(this.keyword,(function(t,n){if(n&&n.poiList&&n.poiList.count){var i=n.poiList.pois.map((function(e){return e.lat=e.location.lat,e.lng=e.location.lng,e}));e._onSearchResult(i)}else if(void 0===n.poiList)throw new Error(n)}))}},changeTip:function(e){this.adcode=e.adcode,this.keyword=e.name,this.search()},selectTip:function(e){"up"===e&&this.selectedTip>0?(this.selectedTip-=1,this.keyword=this.tips[this.selectedTip].name,this.adcode=this.tips[this.selectedTip].adcode):"down"===e&&this.selectedTip+1<this.tips.length&&(this.selectedTip+=1,this.keyword=this.tips[this.selectedTip].name,this.adcode=this.tips[this.selectedTip].adcode)}}}},function(e,t,n){"use strict";var i=n(0),a=n(6),o=n(26);t.a={name:"el-amap-circle",mixins:[i.a,o.a],props:["vid","zIndex","center","bubble","radius","strokeColor","strokeOpacity","strokeWeight","editable","fillColor","fillOpacity","strokeStyle","extData","strokeDasharray","events","visible","extData","onceEvents"],data:function(){return{converters:{center:function(e){return Object(a.d)(e)}},handlers:{zIndex:function(e){this.setzIndex(e)},visible:function(e){!1===e?this.hide():this.show()},editable:function(e){!0===e?this.editor.open():this.editor.close()}}}},methods:{__initComponent:function(e){this.$amapComponent=new AMap.Circle(e),this.$amapComponent.editor=new AMap.CircleEditor(this.$amap,this.$amapComponent)},$$getCenter:function(){return Object(a.b)(this.$amapComponent.getCenter())}}}},function(e,t,n){"use strict";var i=n(0);t.a={name:"el-amap-ground-image",mixins:[i.a],props:["vid","clickable","opacity","url","bounds","visible","events","onceEvents"],destroyed:function(){this.$amapComponent.setMap(null)},data:function(){return{converters:{},handlers:{visible:function(e){!1===e?this.setMap(null):this.setMap(this.$amap)}}}},methods:{__initComponent:function(e){this.$amapComponent=new AMap.ImageLayer(e)}}}},function(e,t,n){"use strict";var i=n(6),a=n(0),o=n(52),r=n(19),s=n.n(r);t.a={name:"el-amap-info-window",mixins:[a.a],props:["vid","isCustom","autoMove","closeWhenClickMap","content","size","offset","position","showShadow","visible","events","template","vnode","contentRender"],data:function(){var e=this;return{withSlots:!1,tmpVM:null,propsRedirect:{template:"content",vnode:"content",contentRender:"content"},converters:{template:function(t){var n=Object(o.a)(t,e);return this.$customContent=n,n.$el},vnode:function(t){var n="function"==typeof t?t(e):t,i=Object(o.c)(n);return this.$customContent=i,i.$el},contentRender:function(t){var n=Object(o.b)(t,e);return this.$customContent=n,n.$el}},handlers:{visible:function(t){var n=this.getPosition();n&&(!1===t?this.close():this.open(e.$amap,[n.lng,n.lat]))},template:function(e){this.setContent(e)}}}},created:function(){this.tmpVM=new s.a({data:function(){return{node:""}},render:function(e){var t=this.node;return e("div",{ref:"node"},Array.isArray(t)?t:[t])}}).$mount()},destroyed:function(){this.$amapComponent.close(),this.tmpVM.$destroy(),this.$customContent&&this.$customContent.$destroy&&this.$customContent.$destroy()},methods:{__initComponent:function(e){this.$slots.default&&this.$slots.default.length&&(e.content=this.tmpVM.$refs.node),delete e.map,this.$amapComponent=new AMap.InfoWindow(e),!1!==this.visible&&this.$amapComponent.open(this.$amap,Object(i.d)(this.position))}},render:function(e){var t=this.$slots.default||[];return t.length&&(this.tmpVM.node=t),null}}},function(e,t,n){"use strict";var i=n(0),a=n(26),o=n(6);t.a={name:"el-amap-polyline",mixins:[i.a,a.a],props:["vid","zIndex","visible","editable","bubble","geodesic","isOutline","outlineColor","path","strokeColor","strokeOpacity","strokeWeight","strokeStyle","strokeDasharray","events","extData","onceEvents","lineJoin"],data:function(){return{converters:{},handlers:{visible:function(e){!1===e?this.hide():this.show()},editable:function(e){!0===e?this.editor.open():this.editor.close()}}}},methods:{__initComponent:function(e){this.$amapComponent=new AMap.Polyline(e),this.$amapComponent.editor=new AMap.PolyEditor(this.$amap,this.$amapComponent)},$$getPath:function(){return this.$amapComponent.getPath().map(o.b)},$$getBounds:function(){return this.$amapComponent.getBounds()},$$getExtData:function(){return this.$amapComponent.getExtData()}}}},function(e,t,n){"use strict";var i=n(0),a=n(26),o=n(6);t.a={name:"el-amap-polygon",mixins:[i.a,a.a],props:["vid","zIndex","path","bubble","strokeColor","strokeOpacity","strokeWeight","fillColor","editable","fillOpacity","extData","strokeStyle","visible","strokeDasharray","events","onceEvents","draggable"],data:function(){return{converters:{},handlers:{visible:function(e){!1===e?this.hide():this.show()},zIndex:function(e){this.setOptions({zIndex:e})},editable:function(e){!0===e?this.editor.open():this.editor.close()}}}},methods:{__initComponent:function(){var e=this.convertProps();this.$amapComponent=new AMap.Polygon(e),this.$amapComponent.editor=new AMap.PolyEditor(this.$amap,this.$amapComponent)},$$getPath:function(){return this.$amapComponent.getPath().map(o.b)},$$getExtData:function(){return this.$amapComponent.getExtData()},$$contains:function(e){return Array.isArray(e)&&(e=new AMap.LngLat(e[0],e[1])),this.$amapComponent.getBounds().contains(e)}}}},function(e,t,n){"use strict";var i=n(0),a="el-amap-text";t.a={name:a,mixins:[i.a],props:{vid:{type:String,default:""},text:{type:String,default:""},textAlign:{type:String,default:""},verticalAlign:{type:String,default:""},position:{type:Array,default:function(){return[0,0]},$type:"LngLat"},offset:{type:Array,default:function(){return[0,0]},$type:"Pixel"},topWhenClick:{type:Boolean,default:function(){return!1}},bubble:{type:Boolean,default:function(){return!1}},draggable:{type:Boolean,default:function(){return!1}},raiseOnDrag:{type:Boolean,default:function(){return!1}},cursor:{type:String,default:function(){return""}},visible:{type:Boolean,default:function(){return!0}},zIndex:{type:Number,default:function(){return 100}},angle:{type:Number,default:function(){return 0}},autoRotation:{type:Boolean,default:function(){return!1}},animation:{type:String,default:function(){return"“AMAP_ANIMATION_NONE”"}},shadow:{type:Object,default:function(){return{}},$type:"Icon"},title:{type:String,default:function(){return""}},clickable:{type:Boolean,default:!0},events:{type:Object,default:function(){return{}}}},data:function(){return{converters:{},handlers:{zIndex:function(e){this.setzIndex(e)},visible:function(e){!1===e?this.hide():this.show()}},amapTagName:a}},methods:{__initComponent:function(e){this.$amapComponent=new AMap.Text(e)}}}},function(e,t,n){"use strict";var i=n(0),a="el-amap-bezier-curve";t.a={name:a,mixins:[i.a],props:{vid:{type:String},path:{type:Array},strokeColor:{type:String},strokeOpacity:{type:Number},strokeWeight:{type:Number,default:function(){return 1}},strokeStyle:{type:String},strokeDasharray:{type:Array},zIndex:{type:Number},showDir:{type:Boolean},bubble:{type:Boolean},cursor:{type:String},outlineColor:{type:Boolean},isOutline:{type:Boolean},visible:{type:Boolean,default:!0},events:{type:Object,default:function(){return{}}}},data:function(){return{converters:{},handlers:{zIndex:function(e){this.setzIndex(e)},visible:function(e){!1===e?this.hide():this.show()}},amapTagName:a}},methods:{__initComponent:function(e){this.$amapComponent=new AMap.BezierCurve(e)}}}},function(e,t,n){"use strict";var i=n(0),a="el-amap-circle-marker";t.a={name:a,mixins:[i.a],props:{vid:{type:String},zIndex:{type:Number},visible:{type:Boolean,default:!0},center:{type:Array,$type:"LngLat"},bubble:{type:Boolean},radius:{type:Number},strokeColor:{type:String},strokeOpacity:{type:Number},strokeWeight:{type:Number},fillColor:{type:String},fillOpacity:{type:Number},extData:{type:Object},events:{type:Object,default:function(){return{}}}},data:function(){return{converters:{},handlers:{zIndex:function(e){this.setzIndex(e)},visible:function(e){!1===e?this.hide():this.show()}},amapTagName:a}},methods:{__initComponent:function(e){this.$amapComponent=new AMap.CircleMarker(e)}}}},function(e,t,n){"use strict";var i=n(0),a="el-amap-ellipse";t.a={name:a,mixins:[i.a],props:{vid:{type:String},zIndex:{type:Number},center:{type:Array,$type:"LngLat"},radius:{type:Array,default:function(){return[1e3,1e3]}},bubble:{type:Boolean},cursor:{type:String},strokeColor:{type:String},strokeOpacity:{type:Number},strokeWeight:{type:Number},fillColor:{type:String},fillOpacity:{type:Number},strokeStyle:{type:String},extData:{type:Object,default:function(){return{}}},visible:{type:Boolean,default:!0},events:{type:Object,default:function(){return{}}}},data:function(){return{converters:{},handlers:{zIndex:function(e){this.setzIndex(e)},visible:function(e){!1===e?this.hide():this.show()}},amapTagName:a}},methods:{__initComponent:function(e){this.$amapComponent=new AMap.Ellipse(e)}}}},function(e,t,n){"use strict";var i=n(0),a="el-amap-rectangle";t.a={name:a,mixins:[i.a],props:{vid:{type:String},zIndex:{type:Number},center:{type:Array,$type:"LngLat"},bounds:{type:Array,$type:"Bounds"},bubble:{type:Boolean},cursor:{type:String},strokeColor:{type:String},strokeOpacity:{type:Number},strokeWeight:{type:Number},fillColor:{type:String},fillOpacity:{type:Number},strokeStyle:{type:String},extData:{type:Object,default:function(){return{}}},visible:{type:Boolean,default:!0},events:{type:Object,default:function(){return{}}}},data:function(){return{converters:{},handlers:{zIndex:function(e){this.setzIndex(e)},visible:function(e){!1===e?this.hide():this.show()}},amapTagName:a}},methods:{__initComponent:function(e){this.$amapComponent=new AMap.Rectangle(e)}}}},function(e,t,n){e.exports=n(27)},function(e,t,n){"use strict";var i=n(66);n.n(i)},function(e,t,n){n(67),n(68),n(81),n(84),e.exports=n(16).Map},function(e,t,n){"use strict";var i=n(28),a={};a[n(2)("toStringTag")]="z",a+""!="[object z]"&&n(7)(Object.prototype,"toString",(function(){return"[object "+i(this)+"]"}),!0)},function(e,t,n){"use strict";var i=n(69)(!0);n(23)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var i=n(21),a=n(22);e.exports=function(e){return function(t,n){var o,r,s=String(a(t)),l=i(n),d=s.length;return l<0||l>=d?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===d||(r=s.charCodeAt(l+1))<56320||r>57343?e?s.charAt(l):o:e?s.slice(l,l+2):r-56320+(o-55296<<10)+65536}}},function(e,t){e.exports=!1},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var i=n(35),a=n(20),o=n(25),r={};n(8)(r,n(2)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=i(r,{next:a(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var i=n(9),a=n(10),o=n(36);e.exports=n(5)?Object.defineProperties:function(e,t){a(e);for(var n,r=o(t),s=r.length,l=0;s>l;)i.f(e,n=r[l++],t[n]);return e}},function(e,t,n){var i=n(11),a=n(18),o=n(76)(!1),r=n(24)("IE_PROTO");e.exports=function(e,t){var n,s=a(e),l=0,d=[];for(n in s)n!=r&&i(s,n)&&d.push(n);for(;t.length>l;)i(s,n=t[l++])&&(~o(d,n)||d.push(n));return d}},function(e,t,n){var i=n(29);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t,n){var i=n(18),a=n(37),o=n(77);e.exports=function(e){return function(t,n,r){var s,l=i(t),d=a(l.length),c=o(r,d);if(e&&n!=n){for(;d>c;)if((s=l[c++])!=s)return!0}else for(;d>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var i=n(21),a=Math.max,o=Math.min;e.exports=function(e,t){return(e=i(e))<0?a(e+t,0):o(e,t)}},function(e,t,n){var i=n(3).document;e.exports=i&&i.documentElement},function(e,t,n){var i=n(11),a=n(80),o=n(24)("IE_PROTO"),r=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=a(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?r:null}},function(e,t,n){var i=n(22);e.exports=function(e){return Object(i(e))}},function(e,t,n){for(var i=n(82),a=n(36),o=n(7),r=n(3),s=n(8),l=n(12),d=n(2),c=d("iterator"),u=d("toStringTag"),m=l.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=a(f),p=0;p<h.length;p++){var _,g=h[p],y=f[g],b=r[g],v=b&&b.prototype;if(v&&(v[c]||s(v,c,m),v[u]||s(v,u,g),l[g]=m,y))for(_ in i)v[_]||o(v,_,i[_],!0)}},function(e,t,n){"use strict";var i=n(83),a=n(39),o=n(12),r=n(18);e.exports=n(23)(Array,"Array",(function(e,t){this._t=r(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,a(1)):a(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,n){var i=n(2)("unscopables"),a=Array.prototype;null==a[i]&&n(8)(a,i,{}),e.exports=function(e){a[i][e]=!0}},function(e,t,n){"use strict";var i=n(85),a=n(44);e.exports=n(90)("Map",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(e){var t=i.getEntry(a(this,"Map"),e);return t&&t.v},set:function(e,t){return i.def(a(this,"Map"),0===e?0:e,t)}},i,!0)},function(e,t,n){"use strict";var i=n(9).f,a=n(35),o=n(40),r=n(17),s=n(41),l=n(42),d=n(23),c=n(39),u=n(89),m=n(5),f=n(43).fastKey,h=n(44),p=m?"_s":"size",_=function(e,t){var n,i=f(t);if("F"!==i)return e._i[i];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,d){var c=e((function(e,i){s(e,c,t,"_i"),e._t=t,e._i=a(null),e._f=void 0,e._l=void 0,e[p]=0,null!=i&&l(i,n,e[d],e)}));return o(c.prototype,{clear:function(){for(var e=h(this,t),n=e._i,i=e._f;i;i=i.n)i.r=!0,i.p&&(i.p=i.p.n=void 0),delete n[i.i];e._f=e._l=void 0,e[p]=0},delete:function(e){var n=h(this,t),i=_(n,e);if(i){var a=i.n,o=i.p;delete n._i[i.i],i.r=!0,o&&(o.n=a),a&&(a.p=o),n._f==i&&(n._f=a),n._l==i&&(n._l=o),n[p]--}return!!i},forEach:function(e){h(this,t);for(var n,i=r(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(i(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!_(h(this,t),e)}}),m&&i(c.prototype,"size",{get:function(){return h(this,t)[p]}}),c},def:function(e,t,n){var i,a,o=_(e,t);return o?o.v=n:(e._l=o={i:a=f(t,!0),k:t,v:n,p:i=e._l,n:void 0,r:!1},e._f||(e._f=o),i&&(i.n=o),e[p]++,"F"!==a&&(e._i[a]=o)),e},getEntry:_,setStrong:function(e,t,n){d(e,t,(function(e,n){this._t=h(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?c(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(e._t=void 0,c(1))}),n?"entries":"values",!n,!0),u(t)}}},function(e,t,n){var i=n(10);e.exports=function(e,t,n,a){try{return a?t(i(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&i(o.call(e)),t}}},function(e,t,n){var i=n(12),a=n(2)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[a]===e)}},function(e,t,n){var i=n(28),a=n(2)("iterator"),o=n(12);e.exports=n(16).getIteratorMethod=function(e){if(null!=e)return e[a]||e["@@iterator"]||o[i(e)]}},function(e,t,n){"use strict";var i=n(3),a=n(9),o=n(5),r=n(2)("species");e.exports=function(e){var t=i[e];o&&t&&!t[r]&&a.f(t,r,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var i=n(3),a=n(34),o=n(7),r=n(40),s=n(43),l=n(42),d=n(41),c=n(4),u=n(15),m=n(91),f=n(25),h=n(92);e.exports=function(e,t,n,p,_,g){var y=i[e],b=y,v=_?"set":"add",w=b&&b.prototype,M={},k=function(e){var t=w[e];o(w,e,"delete"==e||"has"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!c(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof b&&(g||w.forEach&&!u((function(){(new b).entries().next()})))){var L=new b,S=L[v](g?{}:-0,1)!=L,x=u((function(){L.has(1)})),D=m((function(e){new b(e)})),C=!g&&u((function(){for(var e=new b,t=5;t--;)e[v](t,t);return!e.has(-0)}));D||(b=t((function(t,n){d(t,b,e);var i=h(new y,t,b);return null!=n&&l(n,_,i[v],i),i})),b.prototype=w,w.constructor=b),(x||C)&&(k("delete"),k("has"),_&&k("get")),(C||S)&&k(v),g&&w.clear&&delete w.clear}else b=p.getConstructor(t,e,_,v),r(b.prototype,n),s.NEED=!0;return f(b,e),M[e]=b,a(a.G+a.W+a.F*(b!=y),M),g||p.setStrong(b,e,_),b}},function(e,t,n){var i=n(2)("iterator"),a=!1;try{var o=[7][i]();o.return=function(){a=!0},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var o=[7],r=o[i]();r.next=function(){return{done:n=!0}},o[i]=function(){return r},e(o)}catch(e){}return n}},function(e,t,n){var i=n(4),a=n(93).set;e.exports=function(e,t,n){var o,r=t.constructor;return r!==n&&"function"==typeof r&&(o=r.prototype)!==n.prototype&&i(o)&&a&&a(e,o),e}},function(e,t,n){var i=n(4),a=n(10),o=function(e,t){if(a(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{(i=n(17)(Function.call,n(94).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:o}},function(e,t,n){var i=n(95),a=n(20),o=n(18),r=n(33),s=n(11),l=n(31),d=Object.getOwnPropertyDescriptor;t.f=n(5)?d:function(e,t){if(e=o(e),t=r(t,!0),l)try{return d(e,t)}catch(e){}if(s(e,t))return a(!i.f.call(e,t),e[t])}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";e.exports=function(){var e=[].map.call(arguments,(function(e){return e.trim()})).filter((function(e){return e.length})).join("-");return e.length?1!==e.length&&/[_.\- ]+/.test(e)?e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(function(e,t){return t.toUpperCase()})):e[0]===e[0].toLowerCase()&&e.slice(1)!==e.slice(1).toLowerCase()?e:e.toLowerCase():""}},function(e,t,n){"use strict";var i=n(98),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o={key:null,v:"1.4.4",protocol:"https",hostAndPath:"webapi.amap.com/maps",plugin:[],callback:"amapInitComponent"},r=function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this._config=a({},o,t),this._document=document,this._window=window,this._scriptLoaded=!1,this._queueEvents=[i.a]}return e.prototype.load=function(){var e=this;if(this._window.AMap&&this._window.AMap.Map)return this.loadUIAMap();if(this._scriptLoadingPromise)return this._scriptLoadingPromise;var t=this._document.createElement("script");t.type="text/javascript",t.async=!0,t.defer=!0,t.src=this._getScriptSrc();var n=this._config.uiVersion?this.loadUIAMap():null;return this._scriptLoadingPromise=new Promise((function(i,a){e._window.amapInitComponent=function(){for(;e._queueEvents.length;)e._queueEvents.pop().apply();if(!n)return i();n.then((function(){window.initAMapUI(),setTimeout(i)}))},t.onerror=function(e){return a(e)}})),this._document.head.appendChild(t),this._scriptLoadingPromise},e.prototype.loadUIAMap=function(){var e=this;return!this._config.uiVersion||window.AMapUI?Promise.resolve():new Promise((function(t,n){var i=document.createElement("script"),a=e._config.uiVersion.split("."),o=a[0],r=a[1],s=a[2];if(void 0!==o&&void 0!==r){var l=e._config.protocol+"://webapi.amap.com/ui/"+o+"."+r+"/main-async.js";s&&(l+="?v="+o+"."+r+"."+s),i.src=l,i.type="text/javascript",i.async=!0,e._document.head.appendChild(i),i.onload=function(){setTimeout(t,0)},i.onerror=function(){return n()}}else console.error("amap ui version is not correct, please check! version: ",e._config.uiVersion)}))},e.prototype._getScriptSrc=function(){var e=/^AMap./,t=this._config,n=["v","key","plugin","callback"];if(t.plugin&&t.plugin.length>0){t.plugin.push("Autocomplete","PlaceSearch","PolyEditor","CircleEditor");var i=[];t.plugin.forEach((function(t){var n=e.test(t)?t:"AMap."+t,a=n.replace(e,"");i.push(n,a)})),t.plugin=i}var a=Object.keys(t).filter((function(e){return~n.indexOf(e)})).filter((function(e){return null!=t[e]})).filter((function(e){return!Array.isArray(t[e])||Array.isArray(t[e])&&t[e].length>0})).map((function(e){var n=t[e];return Array.isArray(n)?{key:e,value:n.join(",")}:{key:e,value:n}})).map((function(e){return e.key+"="+e.value})).join("&");return this._config.protocol+"://"+this._config.hostAndPath+"?"+a},e}();t.a=r},function(e,t,n){"use strict";t.a=function(){if(AMap.UA.ios&&"https:"!==document.location.protocol){var e=new i.a;navigator.geolocation.getCurrentPosition=function(){return e.getCurrentPosition.apply(e,arguments)},navigator.geolocation.watchPosition=function(){return e.watchPosition.apply(e,arguments)}}};var i=n(99)},function(e,t,n){"use strict";function i(){this._remoteSvrUrl="https://webapi.amap.com/html/geolocate.html",this._callbackList=[],this._seqBase=1,this._frameReady=0,this._watchIdMap={}}i.prototype={_getSeq:function(){return this._seqBase++},_onRrameReady:function(e){if(0===this._frameReady)return this._frameReadyList||(this._frameReadyList=[]),this._frameReadyList.push(e),void this._prepareIframe();e.call(this)},_prepareIframe:function(){if(!this._iframeWin){var e=document.createElement("iframe");e.src=this._remoteSvrUrl+(this._remoteSvrUrl.indexOf("?")>0?"&":"?"),e.width="0px",e.height="0px",e.style.position="absolute",e.style.display="none",e.allow="geolocation";var t=this,n=setTimeout((function(){t._frameReady=!1,t._callbackFrameReadyList()}),5e3);e.onload=function(){clearTimeout(n),t._frameReady=!0,t._callbackFrameReadyList(),e.onload=null},document.body.appendChild(e),this._iframeWin=e.contentWindow,window.addEventListener("message",(function(e){0===t._remoteSvrUrl.indexOf(e.origin)&&t._handleRemoteMsg(e.data)}),!1)}},_callbackFrameReadyList:function(){if(this._frameReadyList){var e=this._frameReadyList;this._frameReadyList=null;for(var t=0,n=e.length;t<n;t++)e[t].call(this,this._frameReady)}},_pickCallback:function(e,t){for(var n=this._callbackList,i=0,a=n.length;i<a;i++){var o=n[i];if(e===o.seq)return t||n.splice(i,1),o}},_handleRemoteMsg:function(e){var t=e.seq,n=this._pickCallback(t,!!e.notify);n?n.cbk.call(null,e.error,e.result):console.warn("Receive remote msg: ",e)},_postMessage:function(e,t,n,i){this._prepareIframe();var a={cmd:e,args:t,seq:i||this._getSeq()};this._callbackList.push({cbk:n,seq:a.seq}),this._onRrameReady((function(){if(!0===this._frameReady)try{this._iframeWin.postMessage(a,"*")}catch(e){this._pickCallback(a.seq),n(e)}else this._pickCallback(a.seq),n({message:"iFrame load failed!"})}))},getCurrentPosition:function(e,t,n){this._postMessage("getCurrentPosition",[n],(function(n,i){n?t&&t(n):e&&e(i)}))},watchPosition:function(e,t,n){var i="wk"+this._getSeq(),a=this._getSeq();this._watchIdMap[i]={stat:0,seq:a};var o=this;return this._postMessage("watchPosition",[n],(function(n,a){var r=null;a&&(r=a.id);var s=o._watchIdMap[i];if(s.id=r,s.stat=1,s.callbackList){var l=s.callbackList;s.callbackList=null;for(var d=0,c=l.length;d<c;d++)l[d].call(o,r)}n?t&&t(n):e&&e(a.pos)}),a),i},clearWatch:function(e,t){function n(n){a._postMessage("clearWatch",[n],(function(n,o){n||(a._pickCallback(i.seq),delete a._watchIdMap[e]),t&&t(n,o)}))}if(this._watchIdMap[e]){var i=this._watchIdMap[e],a=this;i.stat<1?(i.callbackList||(i.callbackList=[]),i.callbackList.push((function(e){n(e)}))):n(i.id)}else t("Id not exists: "+e)}},t.a=i},function(e,t,n){"use strict";var i=n(48),a=n(105),o=n(1),r=function(e){n(101)},s=Object(o.a)(i.a,a.a,a.b,!1,r,null,null);t.a=s.exports},function(e,t,n){var i=n(102);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),n(47)("d6014b94",i,!0)},function(e,t,n){(e.exports=n(46)(!1)).push([e.i,".el-vue-amap-container,.el-vue-amap-container .el-vue-amap{height:100%}",""])},function(e,t){e.exports=function(e,t){for(var n=[],i={},a=0;a<t.length;a++){var o=t[a],r=o[0],s={id:e+":"+a,css:o[1],media:o[2],sourceMap:o[3]};i[r]?i[r].parts.push(s):n.push(i[r]={id:r,parts:[s]})}return n}},function(e,t,n){"use strict";t.a=function(){for(var e=[],t="0123456789abcdef",n=0;n<36;n++)e[n]=t.substr(Math.floor(16*Math.random()),1);return e[14]="4",e[19]=t.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-",e.join("")}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-vue-amap-container"},[n("div",{staticClass:"el-vue-amap"}),e._v(" "),e._t("default")],2)},a=[]},function(e,t,n){"use strict";var i=n(51),a=n(1),o=Object(a.a)(i.a,void 0,void 0,!1,null,null,null);t.a=o.exports},function(e,t,n){"use strict";var i=n(53),a=n(110),o=n(1),r=function(e){n(108)},s=Object(o.a)(i.a,a.a,a.b,!1,r,null,null);t.a=s.exports},function(e,t,n){var i=n(109);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),n(47)("80e271aa",i,!0)},function(e,t,n){(e.exports=n(46)(!1)).push([e.i,".el-vue-search-box-container{position:relative;width:360px;height:45px;background:#fff;box-shadow:0 2px 2px rgba(0,0,0,.15);border-radius:2px 3px 3px 2px;z-index:10}.el-vue-search-box-container .search-box-wrapper{position:absolute;display:flex;align-items:center;left:0;top:0;width:100%;height:100%;box-sizing:border-box}.el-vue-search-box-container .search-box-wrapper input{flex:1;height:20px;line-height:20px;letter-spacing:.5px;font-size:14px;text-indent:10px;box-sizing:border-box;border:none;outline:none}.el-vue-search-box-container .search-box-wrapper .search-btn{width:45px;height:100%;display:flex;align-items:center;justify-content:center;background:transparent;cursor:pointer}.el-vue-search-box-container .search-tips{position:absolute;top:100%;border:1px solid #dbdbdb;background:#fff;overflow:auto}.el-vue-search-box-container .search-tips ul{padding:0;margin:0}.el-vue-search-box-container .search-tips ul li{height:40px;line-height:40px;box-shadow:0 1px 1px rgba(0,0,0,.1);padding:0 10px;cursor:pointer}.el-vue-search-box-container .search-tips ul li.autocomplete-selected{background:#eee}",""])},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-vue-search-box-container",on:{keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;e.selectTip("up")},function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;e.selectTip("down")}]}},[n("div",{staticClass:"search-box-wrapper"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.keyword,expression:"keyword"}],attrs:{type:"text"},domProps:{value:e.keyword},on:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.search(t):null},input:[function(t){t.target.composing||(e.keyword=t.target.value)},e.autoComplete]}}),e._v(" "),n("span",{staticClass:"search-btn",on:{click:e.search}},[e._v("搜索")])]),e._v(" "),n("div",{staticClass:"search-tips"},[n("ul",e._l(e.tips,(function(t,i){return n("li",{key:i,class:{"autocomplete-selected":i===e.selectedTip},on:{click:function(n){e.changeTip(t)},mouseover:function(t){e.selectedTip=i}}},[e._v(e._s(t.name))])})))])])},a=[]},function(e,t,n){"use strict";var i=n(54),a=n(112),o=n(1),r=Object(o.a)(i.a,a.a,a.b,!1,null,null,null);t.a=r.exports},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this.$createElement;return(this._self._c||e)("div")},a=[]},function(e,t,n){"use strict";var i=n(55),a=n(114),o=n(1),r=Object(o.a)(i.a,a.a,a.b,!1,null,null,null);t.a=r.exports},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this.$createElement;return(this._self._c||e)("div")},a=[]},function(e,t,n){"use strict";var i=n(56),a=n(1),o=Object(a.a)(i.a,void 0,void 0,!1,null,null,null);t.a=o.exports},function(e,t,n){"use strict";var i=n(57),a=n(117),o=n(1),r=Object(o.a)(i.a,a.a,a.b,!1,null,null,null);t.a=r.exports},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this.$createElement;return(this._self._c||e)("div")},a=[]},function(e,t,n){"use strict";var i=n(58),a=n(119),o=n(1),r=Object(o.a)(i.a,a.a,a.b,!1,null,null,null);t.a=r.exports},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this.$createElement;return(this._self._c||e)("div")},a=[]},function(e,t,n){"use strict";var i=n(59),a=n(121),o=n(1),r=Object(o.a)(i.a,a.a,a.b,!1,null,null,null);t.a=r.exports},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this.$createElement;return(this._self._c||e)("div")},a=[]},function(e,t,n){"use strict";var i=n(60),a=n(123),o=n(1),r=Object(o.a)(i.a,a.a,a.b,!1,null,null,null);t.a=r.exports},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this.$createElement;return(this._self._c||e)("div")},a=[]},function(e,t,n){"use strict";var i=n(61),a=n(125),o=n(1),r=Object(o.a)(i.a,a.a,a.b,!1,null,null,null);t.a=r.exports},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this.$createElement;return(this._self._c||e)("div")},a=[]},function(e,t,n){"use strict";var i=n(62),a=n(127),o=n(1),r=Object(o.a)(i.a,a.a,a.b,!1,null,null,null);t.a=r.exports},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this.$createElement;return(this._self._c||e)("div")},a=[]},function(e,t,n){"use strict";var i=n(63),a=n(129),o=n(1),r=Object(o.a)(i.a,a.a,a.b,!1,null,null,null);t.a=r.exports},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var i=function(){var e=this.$createElement;return(this._self._c||e)("div")},a=[]},function(e,t,n){"use strict";var i=function(){function e(){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this._componentMap=new Map,this._map=null}return e.prototype.setMap=function(e){this._map=e},e.prototype.getMap=function(){return this._map},e.prototype.setComponent=function(e,t){this._componentMap.set(e,t)},e.prototype.getComponent=function(e){return this._componentMap.get(e)},e.prototype.getChildInstance=function(e){return this.getComponent(e)},e.prototype.removeComponent=function(e){this._componentMap.delete(e)},e}();t.a=i},function(e,t,n){"use strict";var i=n(0),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};t.a=function(e){var t=e.init,n=e.data,o=void 0===n?function(){return{}}:n,r=e.converters,s=void 0===r?{}:r,l=e.handlers,d=void 0===l?{}:l,c=e.computed,u=e.methods,m=e.name,f=e.render,h=e.contextReady,p=e.template,_=e.mixins,g=void 0===_?[]:_,y=e.props,b=a({},e,{props:void 0===y?{}:y,data:function(){return a({},o(),{converters:s,handlers:d})},mixins:[i.a].concat(g),computed:c,methods:a({},u,{__initComponent:t,__contextReady:h})});return p||f||(b.render=function(){return null}),b.install=function(e){return e.use(m,b)},b}}]))},968:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314);n.n(o)()(a()).push([e.id,".bpm-default-input {\n max-width: 100%;\n overflow: hidden;\n}\n.bpm-default-input .material-icons {\n width: 26px;\n display: inline-block;\n margin-right: 8px;\n}\n.bpm-default-input .q-if-inner {\n padding-right: 22px;\n}\n",""])},1011:function(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n(5093))},1025:function(e,t,n){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(5093))},1052:function(e,t,n){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,i,a){var o=function(e){var n=Math.floor(e%1e3/100),i=Math.floor(e%100/10),a=e%10,o="";return n>0&&(o+=t[n]+"vatlh"),i>0&&(o+=(""!==o?" ":"")+t[i]+"maH"),a>0&&(o+=(""!==o?" ":"")+t[a]),""===o?"pagh":o}(e);switch(i){case"ss":return o+" lup";case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},1099:function(e,t,n){"use strict";Object.defineProperty(t,"B",{value:!0});var i,a=n(7049),o=(i=n(4169))&&i.__esModule?i:{default:i},r={bounds:{type:Object},defaultPlace:{type:String,default:""},componentRestrictions:{type:Object,default:null},types:{type:Array,default:function(){return[]}},placeholder:{required:!1,type:String},className:{required:!1,type:String},label:{required:!1,type:String,default:null},selectFirstOnEnter:{require:!1,type:Boolean,default:!1}};t.A={mounted:function(){var e=this,t=this.$refs.input;t.value=this.defaultPlace,this.$watch("defaultPlace",(function(){t.value=e.defaultPlace})),this.$gmapApiPromiseLazy().then((function(){var t=(0,a.getPropsValues)(e,r);if(e.selectFirstOnEnter&&(0,o.default)(e.$refs.input),"function"!=typeof google.maps.places.Autocomplete)throw new Error("google.maps.places.Autocomplete is undefined. Did you add 'places' to libraries when loading Google Maps?");e.autoCompleter=new google.maps.places.Autocomplete(e.$refs.input,t);var n=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}(r,["placeholder","place","defaultPlace","className","label","selectFirstOnEnter"]);(0,a.bindProps)(e,e.autoCompleter,n),e.autoCompleter.addListener("place_changed",(function(){e.$emit("place_changed",e.autoCompleter.getPlace())}))}))},created:function(){console.warn("The PlaceInput class is deprecated! Please consider using the Autocomplete input instead")},props:r}},1113:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},1135:function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(5093))},1138:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return k}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-text",attrs:{value:e.curVal,fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType,dm:e.dm},on:{change:e.handleChange}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-text-edit",staticStyle:{position:"relative"}},["SerialNumber"!==e.type||e.dm?[n("el-input",e._b({ref:"component",attrs:{placeholder:e.placeholder,type:e.inputType,rows:2},on:{input:e.inputCurVal,change:e.changeCurVal},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"el-input",e.$attrs,!1)),e._v(" "),e.prefabWords&&e.prefabWords.length&&"table"!=e.uiType?n("div",{staticClass:"prefab-words"},[n("div",[e._v(e._s(e.$z("快捷输入","b2.common.quick_input")))]),e._v(" "),n("ul",e._l(e.prefabWords,(function(t,i){return n("li",{key:""+i,class:e.selectWord==t?"active":"",on:{click:function(n){return e.handleAddWord(t)}}},[n("span",[e._v(e._s(t))])])})),0)]):e._e()]:n("span",[e._v(e._s(e.$z("自动流水号","b2.common.auto_num")))])],2)};a._withStripped=!0;var o=n(6773),r=n.n(o),s=n(5554),l=n.n(s),d=n(7642);l().use(d.Input);var c={data(){return{selectWord:"",curVal:""}},props:["type","value","fieldConf","row","uiType","dm"],watch:{value(){this.curVal=this.value}},computed:{placeholder(){return this.fieldConf.desc||this.fieldConf.name},prefabWords(){return r().get(this.fieldConf,"prefab_words",[])},inputType(){return"TextArea"===this.fieldConf.type?"textarea":"text"}},methods:{changeCurVal(e){this.$emit("change",e)},inputCurVal(e){this._debounceFun(e,this)},_debounceFun:r().debounce((async(e,t)=>{t.$emit("input",e)}),1e3,{leading:!1,trailing:!0}),async handleAddWord(e){if(this.selectWord=e,this.curVal){let t=this.$refs.component.$refs.textarea;t||(t=this.$refs.component.$refs.text);let n=t.selectionStart,i=t.selectionEnd,a=this.curVal,o=a.substring(0,n)+e+a.substring(i,a.length);this.curVal=o,await this.$nextTick(),t.focus(),t.setSelectionRange(n+e.length,n+e.length)}else this.curVal=e;this.selectWord=""}},mounted(){this.curVal=this.value}},u=n(4486),m=(0,u.A)(c,a,[],!1,null,null,null);m.options.__file="components/lib/bpmText/src/part/editor.vue";var f=m.exports,h=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"bpm-text-view",class:e.uiType+"-text-view "+e.fieldConf.type+"-view",attrs:{title:e._value}},["table"==e.uiType?[e.is_trim?[n("el-popover",{attrs:{placement:"top-start",title:"",width:"300","popper-class":"bpm-text-popper",trigger:"hover",content:e._value}},[n("span",{attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(e._value))])])]:[e._v(e._s(e._value&&0!==e._value?e._value:"--"))]]:[e._v(e._s(e._value&&0!==e._value?e._value:"--"))]],2)};h._withStripped=!0;var p={data(){return{show_value:"",is_trim:!1}},props:["value","fieldConf","row","uiType"],computed:{_value(){let e=r().get(this.row,this.fieldConf.id)||this.value;return"string"==typeof e&&(e=e.trim()),console.log("typeof val",typeof e),"object"==typeof e&&(e=this.show_value?this.show_value:e.join(" ")),e}},watch:{value(e){e&&r().isString(e)&&e.length>100?(this.is_trim=!0,this.show_value=e.slice(0,100)+"..."):(this.show_value=e,this.is_trim=!1)}}},_=(0,u.A)(p,h,[],!1,null,null,null);_.options.__file="components/lib/mixins/TextReader.vue";var g={mixins:[_.exports]},y=(0,u.A)(g,void 0,void 0,!1,null,null,null);y.options.__file="components/lib/bpmText/src/part/reader.vue";var b=y.exports,v={name:"BpmText",components:{editorComponent:f,readerComponent:b},props:{value:{type:String},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},dm:Boolean},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?b:f}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},w=(n(2172),(0,u.A)(v,i,[],!1,null,"9e58c8e8",null));w.options.__file="components/lib/bpmText/src/main.vue";var M=w.exports;M.install=function(e){e.component(M.name,M)};var k=M},1163:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9029),a={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxItems"===e?"more":"fewer";return i.str`must NOT have ${n} than ${t} items`},params:({schemaCode:e})=>i._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:a}=e,o="maxItems"===t?i.operators.GT:i.operators.LT;e.fail$data(i._`${n}.length ${o} ${a}`)}};t.default=a},1221:function(e,t,n){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(5093))},1239:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9029),a=n(4227),o={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>i.str`must match "${e.ifClause}" schema`,params:({params:e})=>i._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:n,it:o}=e;void 0===n.then&&void 0===n.else&&(0,a.checkStrictMode)(o,'"if" without "then" and "else" is ignored');const s=r(o,"then"),l=r(o,"else");if(!s&&!l)return;const d=t.let("valid",!0),c=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},c);e.mergeEvaluated(t)}(),e.reset(),s&&l){const n=t.let("ifClause");e.setParams({ifClause:n}),t.if(c,u("then",n),u("else",n))}else s?t.if(c,u("then")):t.if((0,i.not)(c),u("else"));function u(n,a){return()=>{const o=e.subschema({keyword:n},c);t.assign(d,c),e.mergeValidEvaluated(o,d),a?t.assign(a,i._`${n}`):e.setParams({ifClause:n})}}e.pass(d,(()=>e.error(!0)))}};function r(e,t){const n=e.schema[t];return void 0!==n&&!(0,a.alwaysValidSchema)(e,n)}t.default=o},1243:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o),s=n(6245),l=r()(a());l.i(s.A),l.push([e.id,"\n",""]),t.A=l},1290:function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(5093))},1335:function(e,t){var i;(function(){var a=function(e){return e instanceof a?e:this instanceof a?void(this.EXIFwrapped=e):new a(e)};e.exports&&(t=e.exports=a),t.EXIF=a;var o=a.Tags={36864:"ExifVersion",40960:"FlashpixVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",37121:"ComponentsConfiguration",37122:"CompressedBitsPerPixel",37500:"MakerNote",37510:"UserComment",40964:"RelatedSoundFile",36867:"DateTimeOriginal",36868:"DateTimeDigitized",37520:"SubsecTime",37521:"SubsecTimeOriginal",37522:"SubsecTimeDigitized",33434:"ExposureTime",33437:"FNumber",34850:"ExposureProgram",34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:"OECF",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",37380:"ExposureBias",37381:"MaxApertureValue",37382:"SubjectDistance",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37396:"SubjectArea",37386:"FocalLength",41483:"FlashEnergy",41484:"SpatialFrequencyResponse",41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:"FocalPlaneResolutionUnit",41492:"SubjectLocation",41493:"ExposureIndex",41495:"SensingMethod",41728:"FileSource",41729:"SceneType",41730:"CFAPattern",41985:"CustomRendered",41986:"ExposureMode",41987:"WhiteBalance",41988:"DigitalZoomRation",41989:"FocalLengthIn35mmFilm",41990:"SceneCaptureType",41991:"GainControl",41992:"Contrast",41993:"Saturation",41994:"Sharpness",41995:"DeviceSettingDescription",41996:"SubjectDistanceRange",40965:"InteroperabilityIFDPointer",42016:"ImageUniqueID"},r=a.TiffTags={256:"ImageWidth",257:"ImageHeight",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer",40965:"InteroperabilityIFDPointer",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",274:"Orientation",277:"SamplesPerPixel",284:"PlanarConfiguration",530:"YCbCrSubSampling",531:"YCbCrPositioning",282:"XResolution",283:"YResolution",296:"ResolutionUnit",273:"StripOffsets",278:"RowsPerStrip",279:"StripByteCounts",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",301:"TransferFunction",318:"WhitePoint",319:"PrimaryChromaticities",529:"YCbCrCoefficients",532:"ReferenceBlackWhite",306:"DateTime",270:"ImageDescription",271:"Make",272:"Model",305:"Software",315:"Artist",33432:"Copyright"},s=a.GPSTags={0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude",5:"GPSAltitudeRef",6:"GPSAltitude",7:"GPSTimeStamp",8:"GPSSatellites",9:"GPSStatus",10:"GPSMeasureMode",11:"GPSDOP",12:"GPSSpeedRef",13:"GPSSpeed",14:"GPSTrackRef",15:"GPSTrack",16:"GPSImgDirectionRef",17:"GPSImgDirection",18:"GPSMapDatum",19:"GPSDestLatitudeRef",20:"GPSDestLatitude",21:"GPSDestLongitudeRef",22:"GPSDestLongitude",23:"GPSDestBearingRef",24:"GPSDestBearing",25:"GPSDestDistanceRef",26:"GPSDestDistance",27:"GPSProcessingMethod",28:"GPSAreaInformation",29:"GPSDateStamp",30:"GPSDifferential"},l=a.IFD1Tags={256:"ImageWidth",257:"ImageHeight",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",273:"StripOffsets",274:"Orientation",277:"SamplesPerPixel",278:"RowsPerStrip",279:"StripByteCounts",282:"XResolution",283:"YResolution",284:"PlanarConfiguration",296:"ResolutionUnit",513:"JpegIFOffset",514:"JpegIFByteCount",529:"YCbCrCoefficients",530:"YCbCrSubSampling",531:"YCbCrPositioning",532:"ReferenceBlackWhite"},d=a.StringValues={ExposureProgram:{0:"Not defined",1:"Manual",2:"Normal program",3:"Aperture priority",4:"Shutter priority",5:"Creative program",6:"Action program",7:"Portrait mode",8:"Landscape mode"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{0:"Unknown",1:"Daylight",2:"Fluorescent",3:"Tungsten (incandescent light)",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 - 5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},SensingMethod:{1:"Not defined",2:"One-chip color area sensor",3:"Two-chip color area sensor",4:"Three-chip color area sensor",5:"Color sequential area sensor",7:"Trilinear sensor",8:"Color sequential linear sensor"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},SceneType:{1:"Directly photographed"},CustomRendered:{0:"Normal process",1:"Custom process"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},GainControl:{0:"None",1:"Low gain up",2:"High gain up",3:"Low gain down",4:"High gain down"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},SubjectDistanceRange:{0:"Unknown",1:"Macro",2:"Close view",3:"Distant view"},FileSource:{3:"DSC"},Components:{0:"",1:"Y",2:"Cb",3:"Cr",4:"R",5:"G",6:"B"}};function c(e){return!!e.exifdata}function u(e,t){function n(n){var i=m(n);e.exifdata=i||{};var o=function(e){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;for(var n=2,i=e.byteLength,a=function(e,t){return 56===e.getUint8(t)&&66===e.getUint8(t+1)&&73===e.getUint8(t+2)&&77===e.getUint8(t+3)&&4===e.getUint8(t+4)&&4===e.getUint8(t+5)};n<i;){if(a(t,n)){var o=t.getUint8(n+7);return o%2!=0&&(o+=1),0===o&&(o=4),h(e,n+8+o,t.getUint16(n+6+o))}n++}}(n);if(e.iptcdata=o||{},a.isXmpEnabled){var r=function(e){if("DOMParser"in self){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;for(var n=2,i=e.byteLength,a=new DOMParser;n<i-4;){if("http"==g(t,n,4)){var o=n-1,r=t.getUint16(n-2)-1,s=g(t,o,r),l=s.indexOf("xmpmeta>")+8,d=(s=s.substring(s.indexOf("<x:xmpmeta"),l)).indexOf("x:xmpmeta")+10;return s=s.slice(0,d)+'xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tiff="http://ns.adobe.com/tiff/1.0/" xmlns:plus="http://schemas.android.com/apk/lib/com.google.android.gms.plus" xmlns:ext="http://www.gettyimages.com/xsltExtension/1.0" xmlns:exif="http://ns.adobe.com/exif/1.0/" xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#" xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/" xmlns:xapGImg="http://ns.adobe.com/xap/1.0/g/img/" xmlns:Iptc4xmpExt="http://iptc.org/std/Iptc4xmpExt/2008-02-29/" '+s.slice(d),v(a.parseFromString(s,"text/xml"))}n++}}}(n);e.xmpdata=r||{}}t&&t.call(e)}if(e.src)if(/^data\:/i.test(e.src))n(function(e,t){t=t||e.match(/^data\:([^\;]+)\;base64,/im)[1]||"",e=e.replace(/^data\:([^\;]+)\;base64,/gim,"");for(var n=atob(e),i=n.length,a=new ArrayBuffer(i),o=new Uint8Array(a),r=0;r<i;r++)o[r]=n.charCodeAt(r);return a}(e.src));else if(/^blob\:/i.test(e.src))(o=new FileReader).onload=function(e){n(e.target.result)},function(e){var t=new XMLHttpRequest;t.open("GET",e,!0),t.responseType="blob",t.onload=function(e){var t;200!=this.status&&0!==this.status||(t=this.response,o.readAsArrayBuffer(t))},t.send()}(e.src);else{var i=new XMLHttpRequest;i.onload=function(){if(200!=this.status&&0!==this.status)throw"Could not load image";n(i.response),i=null},i.open("GET",e.src,!0),i.responseType="arraybuffer",i.send(null)}else if(self.FileReader&&(e instanceof self.Blob||e instanceof self.File)){var o;(o=new FileReader).onload=function(e){n(e.target.result)},o.readAsArrayBuffer(e)}}function m(e){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;for(var n=2,i=e.byteLength;n<i;){if(255!=t.getUint8(n))return!1;if(225==t.getUint8(n+1))return y(t,n+4,t.getUint16(n+2));n+=2+t.getUint16(n+2)}}var f={120:"caption",110:"credit",25:"keywords",55:"dateCreated",80:"byline",85:"bylineTitle",122:"captionWriter",105:"headline",116:"copyright",15:"category"};function h(e,t,n){for(var i,a,o,r,s=new DataView(e),l={},d=t;d<t+n;)28===s.getUint8(d)&&2===s.getUint8(d+1)&&(r=s.getUint8(d+2))in f&&(o=s.getInt16(d+3),a=f[r],i=g(s,d+5,o),l.hasOwnProperty(a)?l[a]instanceof Array?l[a].push(i):l[a]=[l[a],i]:l[a]=i),d++;return l}function p(e,t,n,i,a){var o,r,s=e.getUint16(n,!a),l={};for(r=0;r<s;r++)o=n+12*r+2,l[i[e.getUint16(o,!a)]]=_(e,o,t,0,a);return l}function _(e,t,n,i,a){var o,r,s,l,d,c,u=e.getUint16(t+2,!a),m=e.getUint32(t+4,!a),f=e.getUint32(t+8,!a)+n;switch(u){case 1:case 7:if(1==m)return e.getUint8(t+8,!a);for(o=m>4?f:t+8,r=[],l=0;l<m;l++)r[l]=e.getUint8(o+l);return r;case 2:return g(e,o=m>4?f:t+8,m-1);case 3:if(1==m)return e.getUint16(t+8,!a);for(o=m>2?f:t+8,r=[],l=0;l<m;l++)r[l]=e.getUint16(o+2*l,!a);return r;case 4:if(1==m)return e.getUint32(t+8,!a);for(r=[],l=0;l<m;l++)r[l]=e.getUint32(f+4*l,!a);return r;case 5:if(1==m)return d=e.getUint32(f,!a),c=e.getUint32(f+4,!a),(s=new Number(d/c)).numerator=d,s.denominator=c,s;for(r=[],l=0;l<m;l++)d=e.getUint32(f+8*l,!a),c=e.getUint32(f+4+8*l,!a),r[l]=new Number(d/c),r[l].numerator=d,r[l].denominator=c;return r;case 9:if(1==m)return e.getInt32(t+8,!a);for(r=[],l=0;l<m;l++)r[l]=e.getInt32(f+4*l,!a);return r;case 10:if(1==m)return e.getInt32(f,!a)/e.getInt32(f+4,!a);for(r=[],l=0;l<m;l++)r[l]=e.getInt32(f+8*l,!a)/e.getInt32(f+4+8*l,!a);return r}}function g(e,t,i){var a="";for(n=t;n<t+i;n++)a+=String.fromCharCode(e.getUint8(n));return a}function y(e,t){if("Exif"!=g(e,t,4))return!1;var n,i,a,c,u,m=t+6;if(18761==e.getUint16(m))n=!1;else{if(19789!=e.getUint16(m))return!1;n=!0}if(42!=e.getUint16(m+2,!n))return!1;var f=e.getUint32(m+4,!n);if(f<8)return!1;if((i=p(e,m,m+f,r,n)).ExifIFDPointer)for(a in c=p(e,m,m+i.ExifIFDPointer,o,n)){switch(a){case"LightSource":case"Flash":case"MeteringMode":case"ExposureProgram":case"SensingMethod":case"SceneCaptureType":case"SceneType":case"CustomRendered":case"WhiteBalance":case"GainControl":case"Contrast":case"Saturation":case"Sharpness":case"SubjectDistanceRange":case"FileSource":c[a]=d[a][c[a]];break;case"ExifVersion":case"FlashpixVersion":c[a]=String.fromCharCode(c[a][0],c[a][1],c[a][2],c[a][3]);break;case"ComponentsConfiguration":c[a]=d.Components[c[a][0]]+d.Components[c[a][1]]+d.Components[c[a][2]]+d.Components[c[a][3]]}i[a]=c[a]}if(i.GPSInfoIFDPointer)for(a in u=p(e,m,m+i.GPSInfoIFDPointer,s,n))"GPSVersionID"===a&&(u[a]=u[a][0]+"."+u[a][1]+"."+u[a][2]+"."+u[a][3]),i[a]=u[a];return i.thumbnail=function(e,t,n,i){var a=function(e,t,n){var i=e.getUint16(t,!n);return e.getUint32(t+2+12*i,!n)}(e,t+n,i);if(!a)return{};if(a>e.byteLength)return{};var o=p(e,t,t+a,l,i);if(o.Compression)switch(o.Compression){case 6:if(o.JpegIFOffset&&o.JpegIFByteCount){var r=t+o.JpegIFOffset,s=o.JpegIFByteCount;o.blob=new Blob([new Uint8Array(e.buffer,r,s)],{type:"image/jpeg"})}break;case 1:console.log("Thumbnail image format is TIFF, which is not implemented.");break;default:console.log("Unknown thumbnail image format '%s'",o.Compression)}else 2==o.PhotometricInterpretation&&console.log("Thumbnail image format is RGB, which is not implemented.");return o}(e,m,f,n),i}function b(e){var t={};if(1==e.nodeType){if(e.attributes.length>0){t["@attributes"]={};for(var n=0;n<e.attributes.length;n++){var i=e.attributes.item(n);t["@attributes"][i.nodeName]=i.nodeValue}}}else if(3==e.nodeType)return e.nodeValue;if(e.hasChildNodes())for(var a=0;a<e.childNodes.length;a++){var o=e.childNodes.item(a),r=o.nodeName;if(null==t[r])t[r]=b(o);else{if(null==t[r].push){var s=t[r];t[r]=[],t[r].push(s)}t[r].push(b(o))}}return t}function v(e){try{var t={};if(e.children.length>0)for(var n=0;n<e.children.length;n++){var i=e.children.item(n),a=i.attributes;for(var o in a){var r=a[o],s=r.nodeName,l=r.nodeValue;void 0!==s&&(t[s]=l)}var d=i.nodeName;if(void 0===t[d])t[d]=b(i);else{if(void 0===t[d].push){var c=t[d];t[d]=[],t[d].push(c)}t[d].push(b(i))}}else t=e.textContent;return t}catch(e){console.log(e.message)}}a.enableXmp=function(){a.isXmpEnabled=!0},a.disableXmp=function(){a.isXmpEnabled=!1},a.getData=function(e,t){return!((self.Image&&e instanceof self.Image||self.HTMLImageElement&&e instanceof self.HTMLImageElement)&&!e.complete||(c(e)?t&&t.call(e):u(e,t),0))},a.getTag=function(e,t){if(c(e))return e.exifdata[t]},a.getIptcTag=function(e,t){if(c(e))return e.iptcdata[t]},a.getAllTags=function(e){if(!c(e))return{};var t,n=e.exifdata,i={};for(t in n)n.hasOwnProperty(t)&&(i[t]=n[t]);return i},a.getAllIptcTags=function(e){if(!c(e))return{};var t,n=e.iptcdata,i={};for(t in n)n.hasOwnProperty(t)&&(i[t]=n[t]);return i},a.pretty=function(e){if(!c(e))return"";var t,n=e.exifdata,i="";for(t in n)n.hasOwnProperty(t)&&("object"==typeof n[t]?n[t]instanceof Number?i+=t+" : "+n[t]+" ["+n[t].numerator+"/"+n[t].denominator+"]\r\n":i+=t+" : ["+n[t].length+" values]\r\n":i+=t+" : "+n[t]+"\r\n");return i},a.readFromBinaryFile=function(e){return m(e)},void 0===(i=function(){return a}.apply(t,[]))||(e.exports=i)}).call(this)},1464:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var i=n(6773),a=n.n(i);const o=n(877),r={};o.keys().forEach((e=>{let t=e.split("/");if(!(e.includes("bpmField")||e.includes("bpmFormField")||e.includes("bpmSubFormField"))){const n=o(e).default;r[t[1]]=n}}));const s={SerialNumber:"Text",Date:"DateTime",TextArea:"Text",MulSelect:"Select",Status:"Select",MulImg:"MulFile",MulSelectCheckItem:"SelectCheckItem",MulSelectFromField:"SelectFromField",SelectUser:"SelectUser",MulSelectUser:"SelectUser",SelectPartner:"SelectUser",MulSelectPartner:"SelectUser",SelectProject:"SelectFromField",MulSelectProject:"SelectFromField",SelectOrg:"SelectFromField",MulSelectOrg:"SelectFromField",MulSelectFromForm:"SelectFromForm",MulSelectFromId:"SelectFromId",MulSelectURUser:"SelectUser",SelectURUser:"SelectUser",SelectRootCategory:"SelectFromField",MulSelectSort:"SelectCheckItem",SelectSort:"SelectCheckItem",MulSelectEntranceForm:"SelectEntranceForm",MulSelectIssue:"SelectIssue",XSubForm:"SubForm",OrderSubform:"SubForm",MulArea:"Area",AreaElevation:"AreaElevation",MulAudit:"Audit"};var l={components:r,props:{value:{type:[String,Array,Number,Object]},type:{type:String,default:""},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default:"view"},uiType:{type:String,default:"default"},formDefId:{type:String,default:""},orgInfo:{type:Object,default(){return{level:"group",level_id:0,group_id:0}}},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},isMultiple:{type:Boolean,default(){return!1}},dm:{type:Boolean,default(){return!1}}},data(){return{curVal:""}},watch:{value:{handler(){this.curVal=this.value},immediate:!0},dm(e){this.$bpm.isDm=e}},computed:{curComponent(){let e=this.type||a().get(this.fieldConf,"type");if(e=s[e]||e,this.dm&&"Signature"===e&&(e="MulImage"),r[`bpm${e}`])return`bpm${e}`},componentType(){return this.type||a().get(this.fieldConf,"type")},isMul(){let e=this.componentType,t=e&&e.indexOf("Mul")>-1;return this.isMultiple||t},fieldMode(){let e=this.mode;const t=this.fieldConf.perm;return this.dm||!t||t.editable||(e="view"),e},fieldDisabled(){let e=this.disabled;const t=this.fieldConf.perm;return this.dm||"edit"!==this.fieldMode||!t||t.writable||(e=!0),e}},mounted(){this.formDefId&&(this.$bpm.env.form_name=this.formDefId),this.curVal=this.value,this.$bpm.orgInfo=this.orgInfo,this.$bpm.isDm=this.dm},methods:{handleChange(e,t){console.log("bpmFormFieldChange_field_base_mixin: ",e,t),""===e?(this.$emit("input",null),this.$emit("change",null)):(this.$emit("input",e),this.$emit("change",e))}}},d=(0,n(4486).A)(l,void 0,void 0,!1,null,null,null);d.options.__file="components/mixins/field_base_mixin.vue";var c=d.exports},1470:function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}function n(e){return e>9?n(e%10):e}var i=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],a=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,o=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:o,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:o,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(n(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n(5093))},1488:function(e,t,n){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(i,a,o,r){var s=t(i),l=n[e][t(i)];return 2===s&&(l=l[a?0:1]),l.replace(/%d/i,i)}},a=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-dz",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})}(n(5093))},1509:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},a={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,n,o,r){var s=i(t),l=a[e][i(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},r=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(5093))},1520:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class n{}t._CodeOrName=n,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class i extends n{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=i;class a extends n{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce(((e,t)=>(t instanceof i&&(e[t.str]=(e[t.str]||0)+1),e)),{})}}function o(e,...t){const n=[e[0]];let i=0;for(;i<t.length;)l(n,t[i]),n.push(e[++i]);return new a(n)}t._Code=a,t.nil=new a(""),t._=o;const r=new a("+");function s(e,...t){const n=[c(e[0])];let i=0;for(;i<t.length;)n.push(r),l(n,t[i]),n.push(r,c(e[++i]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===r){const n=d(e[t-1],e[t+1]);if(void 0!==n){e.splice(t-1,3,n);continue}e[t++]="+"}t++}}(n),new a(n)}function l(e,t){var n;t instanceof a?e.push(...t._items):t instanceof i?e.push(t):e.push("number"==typeof(n=t)||"boolean"==typeof n||null===n?n:c(Array.isArray(n)?n.join(","):n))}function d(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof i||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof i?void 0:`"${e}${t.slice(1)}`}function c(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.str=s,t.addCodeArg=l,t.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:s`${e}${t}`},t.stringify=function(e){return new a(c(e))},t.safeStringify=c,t.getProperty=function(e){return"string"==typeof e&&t.IDENTIFIER.test(e)?new a(`.${e}`):o`[${e}]`},t.getEsmExportName=function(e){if("string"==typeof e&&t.IDENTIFIER.test(e))return new a(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)},t.regexpCode=function(e){return new a(e.toString())}},1541:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(5093))},1545:function(e,t,n){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(5093))},1563:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=(i=n(2230))&&i.__esModule?i:{default:i},o={animation:{twoWay:!0,type:Number},attribution:{type:Object},clickable:{type:Boolean,twoWay:!0,default:!0},cursor:{type:String,twoWay:!0},draggable:{type:Boolean,twoWay:!0,default:!1},icon:{twoWay:!0},label:{},opacity:{type:Number,default:1},options:{type:Object},place:{type:Object},position:{type:Object,twoWay:!0},shape:{type:Object,twoWay:!0},title:{type:String,twoWay:!0},zIndex:{type:Number,twoWay:!0},visible:{twoWay:!0,default:!0}};t.default=(0,a.default)({mappedProps:o,events:["click","rightclick","dblclick","drag","dragstart","dragend","mouseup","mousedown","mouseover","mouseout"],name:"marker",ctr:function(){return google.maps.Marker},inject:{$clusterPromise:{default:null}},render:function(e){return this.$slots.default&&0!==this.$slots.default.length?1===this.$slots.default.length?this.$slots.default[0]:e("div",this.$slots.default):""},destroyed:function(){this.$markerObject&&(this.$clusterObject?this.$clusterObject.removeMarker(this.$markerObject,!0):this.$markerObject.setMap(null))},beforeCreate:function(e){return this.$clusterPromise&&(e.map=null),this.$clusterPromise},afterCreate:function(e){var t=this;this.$clusterPromise&&this.$clusterPromise.then((function(n){n.addMarker(e),t.$clusterObject=n}))}})},1567:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return P}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-select-from-form",attrs:{fieldConf:e.fieldConf,row:e.row,mode:e.mode,formName:e.formName,orgInfo:e.orgInfo,uiType:e.uiType,isMultiple:e.isMultiple},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"select-from-form-editor"},[n("div",[n("el-select",{attrs:{placeholder:e.fieldConf.name,multiple:e.isMultiple,clearable:""},on:{focus:e.toOpen,"remove-tag":e.delItem,clear:e.delItem},model:{value:e.confirmValue,callback:function(t){e.confirmValue=t},expression:"confirmValue"}},e._l(e.curOptions,(function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),n("el-dialog",{attrs:{"append-to-body":!0,visible:e.opened,"before-close":e.onHide,title:e.fieldConf.name,width:"40%"},on:{"update:visible":function(t){e.opened=t},open:e.onOpen}},[n("el-input",{staticClass:"input-with-select",attrs:{placeholder:e.$z("只展示前100条数据,通过搜索获取更多","b2.common.see_100_data")},on:{input:e.throttleSearch},model:{value:e.keyword,callback:function(t){e.keyword=t},expression:"keyword"}}),e._v(" "),n("div",{staticClass:"bpm-select-from-form-box"},[e.isMultiple?n("el-checkbox-group",{attrs:{max:e.maxCount},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},e._l(e.formList,(function(t){return n("div",{key:t.id,staticClass:"form-item"},[n("div",{style:e.titleStyle},[n("el-checkbox",{key:t.id,attrs:{label:t.id}},[e._v(e._s(t.title))])],1),e._v(" "),e._l(t.fields,(function(t){return n("div",{key:t.id,staticClass:"subitem",style:e.geFieldStyle(t.key)},[n("span",{staticStyle:{"white-space":"nowrap"}},[e._v(e._s(t.name+": "))]),n("span",{domProps:{innerHTML:e._s(t.value)}})])}))],2)})),0):n("el-radio-group",{on:{change:e.onSubmit},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},e._l(e.formList,(function(t){return n("div",{key:t.id,staticClass:"form-item"},[n("div",{style:e.titleStyle},[n("el-radio",{key:t.id,attrs:{label:t.id,value:t.id}},[e._v(e._s(t.title))])],1),e._v(" "),e._l(t.fields,(function(t){return n("div",{key:t.id,staticClass:"subitem",style:e.geFieldStyle(t.key)},[n("span",{staticStyle:{"white-space":"nowrap"}},[e._v(e._s(t.name+": "))]),n("span",{domProps:{innerHTML:e._s(t.value)}})])}))],2)})),0)],1),e._v(" "),e.isMultiple?n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v(e._s(e.$z("确定","c.confirm")))])],1):e._e()],1)],1)};a._withStripped=!0;var o=n(5554),r=n.n(o),s=n(6773),l=n.n(s),d=n(7642);r().use(d.Dialog);var c={props:["value","fieldConf","row","formName","orgInfo","isMultiple"],inject:["getSelectFields","selectOptions"],data(){return{curVal:"",curOptions:[],keyword:"",opened:!1,throttleSearch:l().throttle(l().bind(this.search,this),1500,{trailing:!0,leading:!1}),formList:[],fieldDefinitionMap:{}}},watch:{value(e){console.log("select_from_form_val",e),(l().isString(e)||l().isArray(e))&&(this.curVal=e,this.confirmValue=e),this.loadRemoteLabel()},selectOptionsList(e){this.fieldConf.default&&"Default"==this.fieldConf.default.type&&"EVCFirstElem"==this.fieldConf.default.value.type&&(this.formList=this.transformOptions(e),this.formList&&this.formList.length?(console.log("this.formList",this.formList),this.isMultiple?this.curVal=[this.formList[0].id]:this.curVal=this.formList[0].id):this.isMultiple?this.curVal=[]:this.curVal="",console.log("this.curVal",this.curVal),this.onSubmit()),console.log("fieldConf",this.fieldConf),console.log("selectOptionsList",e)}},computed:{selectOptionsList(){return this.selectOptions()},placeholder(){return this.fieldConf.desc||this.fieldConf.name},maxCount(){return l().get(this.fieldConf,"check.max_count")},titleStyle(){let e=this.fieldConf,t=l().get(e,"range_remote.range_display.title");return{fontSize:l().get(t,"size",16)+"px",color:l().get(t,"color","#333")}},fieldStyleMap(){let e=this.fieldConf,t=l().get(e,"range_remote.range_display.fields");return l().keyBy(t,"field")}},created(){},mounted(){this.getCurVal(),this.loadRemoteLabel()},methods:{delItem(){this.curVal=this.confirmValue,this.$emit("input",this.curVal),this.$emit("change",this.curVal)},getCurVal(){this.value&&(l().isString(this.value)||l().isArray(this.value))?this.curVal=this.value:this.curVal=this.isMultiple?[]:""},geFieldStyle(e){let t=l().get(this.fieldStyleMap,e);return{fontSize:l().get(t,"size",12)+"px",color:l().get(t,"color","#949494"),display:"flex"}},async search(){let e=this.keyword,t=this.formName,n=l().get(this.fieldConf,"id");const i=this.orgInfo;let a=this.getSelectFields();a&&"{}"!==JSON.stringify(a)&&(i.fields=a);let o=await this.$bpm.searchSelectOpts(n,e,t,this,!1,i,!0);console.log("result",o),o&&o.definition&&o.definition.form&&o.definition.form.elements&&l().each(o.definition.form.elements,(e=>{this.fieldDefinitionMap[e.id]=e})),console.log("this.fieldDefinitionMap",this.fieldDefinitionMap);let r=this.transformOptions(o.data);this.formList=r},transformOptions(e){return l().map(e,(e=>({title:e.title,id:e.form_id,form_id:e.form_id,f_fields:e.f_fields,fields:l().map(e.f_fields,((e,t)=>({key:t,value:e,name:this.fieldDefinitionMap[t]?this.fieldDefinitionMap[t].name:this.$bpm.fieldDefinitionMap[t].name})))})))},onHide(){this.opened=!1},onOpen(){this.getCurVal();let e=this.selectOptions();e&&e.length?this.formList=this.transformOptions(e):this.search()},toOpen(){this.opened=!0},isChecked(e){return l().includes(this.curVal,e)},onSubmit(){console.log("this.curVal",this.curVal),this.$emit("input",this.curVal),this.$emit("change",this.curVal),this.opened=!1},async loadRemoteLabel(){let e=this.value,t=l().get(this.fieldConf,"id");if(console.log("values",e),this.curOptions=[],l().isEmpty(e))this.curOptions=[],this.curVal="";else{e=l().isArray(e)?e:[e];let n=await this.$bpm.fetchLabelByValues(e,t,this.formName,this.row,!0,this.row,!0);l().each(n,((e,t)=>{this.curOptions.push({value:e.value,label:e.label})}))}}}},u=n(4486),m=(0,u.A)(c,a,[],!1,null,null,null);m.options.__file="components/lib/bpmSelectFromForm/src/part/editor.vue";var f=m.exports,h=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.items.length>0?n("div",e._l(e.items,(function(t){return n("el-tag",{key:t,staticStyle:{"margin-right":"5px","margin-top":"4px",cursor:"pointer"},on:{click:function(n){return n.stopPropagation(),e.toFormDetailPage(t)}}},[n("i",{staticClass:"el-icon-tickets",staticStyle:{"margin-right":"5px"}}),e._v(e._s(t.label))])})),1):n("div",[n("span",[e._v(e._s(e.label))])]),e._v(" "),n("el-dialog",{attrs:{"append-to-body":!0,visible:e.detailDialogVisible,"close-on-click-modal":!1,title:e.detailDialogTtile,width:e.detailDialogWidth,top:"5vh"},on:{"update:visible":function(t){e.detailDialogVisible=t}}},[n("iframe",{ref:"detailFrame",staticClass:"detail-form-iframe",attrs:{src:e.detailFrameUrl,frameborder:"0",width:"100%",height:"600px"}})])],1)};h._withStripped=!0;var p={props:["value","fieldConf","row","formName","orgInfo"],data(){return{mode:"normal",items:[],label:zj.z("未选择","c.not_selected"),detailDialogVisible:!1,detailDialogTtile:"",detailFrameUrl:""}},watch:{value(){this.loadRemoteInfo()}},mounted(){this.loadRemoteInfo()},computed:{detailDialogWidth(){return this.fieldConf&&this.fieldConf.style?this.fieldConf.style.dialog_width+"%"||0:"80%"}},methods:{async loadRemoteInfo(){let e=this.value;if(l().isNil(e)||!e)return this.label=zj.z("未选择","c.not_selected");try{if(l().isObject(e))try{e=JSON.parse(e)}catch(t){console.log("JSON.parse",e),console.log("error",t)}let t=l().isArray(e)?e:[e],n=l().get(this.fieldConf,"id");if(l().isEmpty(t))this.label=zj.z("未选择","c.not_selected");else{t=l().isArray(t)?t:[t];let e=[],i=await this.$bpm.fetchLabelByValues(t,n,this.formName,this.row,!0,this.row,!0);console.log("bpmSelectFromForm_res",i),i&&i.length&&(e=i.map((e=>{let t={form_id:e.value,label:e.label};if(e&&e.res&&e.res.definition&&e.res.definition){let n=e.res.definition.form;t.form_type=n.type,t.form_def_id=n.id,t.page_level=n.level,t.process=n.process}return t}))),this.items=e}}finally{console.log("finally")}},toFormDetailPage(e){let t=e.form_id;this.detailDialogTtile=e.label;const n=l().get(this.orgInfo,"project_id","");let i=`/public/bpm3/app/table.html?form_name=${e.form_def_id||""}&is_mirco_app=1&hidden_form_title=1&form_type=${l().toLower(e.form_type)}&project_id=${n}&page_level=${e.page_level||""}&form_id=${t}#/detail`;this.detailFrameUrl=i,this.detailDialogVisible=!0}}},_=(0,u.A)(p,h,[],!1,null,null,null);_.options.__file="components/lib/bpmSelectFromForm/src/part/reader.vue";var g=_.exports,y={name:"bpmSelectFromForm",components:{editorComponent:f,readerComponent:g},props:{value:{type:[String,Array],default(){return""}},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},orgInfo:{type:Object},formName:{type:String},isMultiple:{type:Boolean,default(){return!1}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?g:f}},watch:{value(){console.log("selectFormForm_value",this.value),this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},b=n(5072),v=n.n(b),w=n(7825),M=n.n(w),k=n(7659),L=n.n(k),S=n(5056),x=n.n(S),D=n(540),C=n.n(D),T=n(1113),Y=n.n(T),$=n(5726),j={};j.styleTagTransform=Y(),j.setAttributes=x(),j.insert=L().bind(null,"head"),j.domAPI=M(),j.insertStyleElement=C(),v()($.A,j),$.A&&$.A.locals&&$.A.locals;var O=(0,u.A)(y,i,[],!1,null,null,null);O.options.__file="components/lib/bpmSelectFromForm/src/main.vue";var I=O.exports;I.install=function(e){e.component(I.name,I)};var P=I},1573:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=!1,n=void 0;return function(){return t||(t=!0,n=e()),n}}},1601:function(e){"use strict";e.exports=function(e){return e[1]}},1632:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1200?"上午":1200===i?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(5093))},1658:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:["resizeBus"],data:function(){return{_actualResizeBus:null}},created:function(){void 0===this.resizeBus?this.$data._actualResizeBus=this.$gmapDefaultResizeBus:this.$data._actualResizeBus=this.resizeBus},methods:{_resizeCallback:function(){this.resize()},_delayedResizeCallback:function(){var e=this;this.$nextTick((function(){return e._resizeCallback()}))}},watch:{resizeBus:function(e){this.$data._actualResizeBus=e},"$data._actualResizeBus":function(e,t){t&&t.$off("resize",this._delayedResizeCallback),e&&e.$on("resize",this._delayedResizeCallback)}},destroyed:function(){this.$data._actualResizeBus&&this.$data._actualResizeBus.$off("resize",this._delayedResizeCallback)}}},1713:function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(5093))},1733:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=0;e((function(){t+=1}),(function(){t=Math.max(0,t-1)}),(function(){return 0===t}))}},1734:function(e,t,n){!function(e){"use strict";e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort:["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin:["Do","Lu","Má","Cé","Dé","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(5093))},1765:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n(5093))},1773:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314);n.n(o)()(a()).push([e.id,"\n/deep/ .relate-sub-form-dialog .bpm-relate-subform-table .el-input__validateIcon {\n display: none;\n}\n",""])},1794:function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,n){return"ი"===n?t+"ში":t+n+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(n(5093))},1824:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-signature",staticStyle:{position:"relative","max-width":"600px"}},["edit"===e.mode?[e.openLastSign&&e.lastSign&&e.curSign||!e.isEditing?n("div",{staticStyle:{"border-color":"#fff"}},[n("bpm-mul-image",{staticClass:"signature-reader",attrs:{type:"Signature",value:e.curSign,uiType:e.uiType},on:{imgLoadError:e.handleImgLoadError}})],1):e._e(),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!(e.openLastSign&&e.lastSign&&e.curSign)&&e.isEditing,expression:"!(openLastSign && lastSign && curSign ) && isEditing"}],staticClass:"canvas-box"},[n("canvas",{ref:"canvasElem",staticStyle:{cursor:"crosshair",width:"100%",height:"320px",border:"1px dashed #c9c5c5"},attrs:{height:"320",width:"600"}})]),e._v(" "),n("div",{staticClass:"action-wrap"},[e.openLastSign&&!e.isInSubForm?n("el-checkbox",{staticStyle:{"margin-right":"10px"},attrs:{label:e.$z("保留签名以备下次调用","b2.common.sign_for_next_use")},model:{value:e.useNextUser,callback:function(t){e.useNextUser=t},expression:"useNextUser"}}):e._e(),e._v(" "),n("el-button",{attrs:{size:"default"},on:{click:e.clearSignature}},[e._v(e._s(e.$z("重置签名","b2.common.reset_sign")))])],1)]:e.curSign?n("bpm-mul-image",{staticClass:"signature-reader",attrs:{fieldConf:{type:"Signature"},value:e.curSign,uiType:e.uiType}}):n("span",[e._v("\n "+e._s(e.$z("未签名","unsigned"))+"\n ")])],2)};i._withStripped=!0;var a=n(2554);function o(e,t,n={},i={}){if(!(this instanceof o))return new o(e,n);if(!e)return;let{width:a,height:r}=window.getComputedStyle(e,null);a=a.replace("px",""),r=r.replace("px",""),a=a&&"auto"!==a&&-1===a.indexOf("%")?a:600,r=r&&"auto"!==r&&-1===r.indexOf("%")?r:320,this.canvas=e,this.context=e.getContext("2d"),this.width=a,this.height=r;const s=this.context,l=window.devicePixelRatio;l?(e.style.width=`${a}px`,e.style.height=`${r}px`,e.height=r*l,e.width=a*l,s.scale(l,l)):(e.width=a,e.height=r),s.lineWidth=2,s.strokeStyle="black",s.lineCap="round",s.lineJoin="round",Object.assign(s,n);const d={},c=/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test(navigator.userAgent);c||(s.shadowBlur=1,s.shadowColor="black");let u=!1;const m=t=>n=>{if(n.preventDefault(),1===t&&(u=!0),1===t||u){const{left:i,top:a}=e.getBoundingClientRect();n=c?n.touches[0]:n,d.x=n.clientX-i+.5,d.y=n.clientY-a+.5,(e=>{switch(e){case 1:s.beginPath(),s.moveTo(d.x,d.y);break;case 2:s.lineTo(d.x,d.y),s.stroke()}})(t)}},f=m(1),h=m(2),p=window.requestAnimationFrame,_=p?e=>{p((()=>{h(e)}))}:h;if(c?(e.addEventListener("touchstart",f),e.addEventListener("touchmove",_)):(e.addEventListener("mousedown",f),e.addEventListener("mousemove",_),["mouseup","mouseleave"].forEach((t=>{e.addEventListener(t,(()=>{u=!1}))}))),"number"==typeof t)switch(this.degree=t,s.rotate(t*Math.PI/180),t){case-90:s.translate(-r,0);break;case 90:s.translate(0,-a);break;case-180:case 180:s.translate(-a,-r)}}o.prototype={scale(e,t,n=this.canvas){const i=n.width,a=n.height;if(t=t||a,(e=e||i)!==i||t!==a){const o=document.createElement("canvas"),r=o.getContext("2d");o.width=e,o.height=t,r.drawImage(n,0,0,i,a,0,0,e,t),n=o}return n},rotate(e,t=this.canvas){if(0!=(e=~~e)){const n=180,i=-90;e>n?e=n:e<i&&(e=i);const a=document.createElement("canvas"),o=a.getContext("2d"),r=t.height,s=t.width,l=e*Math.PI/180;switch(e){case-90:a.width=r,a.height=s,o.rotate(l),o.drawImage(t,-s,0);break;case 90:a.width=r,a.height=s,o.rotate(l),o.drawImage(t,0,-r);break;case 180:a.width=s,a.height=r,o.rotate(l),o.drawImage(t,-s,-r)}t=a}return t},getPNGImage(e=this.canvas){return e.toDataURL("image/png")},getJPGImage(e=this.canvas){return e.toDataURL("image/jpeg",.5)},downloadPNGImage(e){const t=e.replace("image/png","image/octet-stream;Content-Disposition:attachment;filename=test.png");window.location.href=t},dataURLtoBlob(e){const t=e.split(","),n=t[0].match(/:(.*?);/)[1],i=atob(t[1]);let a=i.length;const o=new Uint8Array(a);for(;a--;)o[a]=i.charCodeAt(a);return new Blob([o],{type:n})},clear(){let e,t;switch(this.degree){case-90:case 90:e=this.height,t=this.width;break;default:e=this.width,t=this.height}this.context.clearRect(0,0,e,t)},upload(e,t,n,i){const a=new FormData,o=new XMLHttpRequest;o.withCredentials=!0,a.append("image",e,"sign"),o.open("POST",t,!0),o.onload=()=>{o.status>=200&&o.status<300||304===o.status?n(o.responseText):i()},o.onerror=e=>{"function"==typeof i?i(e):console.log(`upload img error: ${e}`)},o.send(a)}};var r=o,s={name:"BpmSignature",components:{BpmMulImage:a.default},props:{value:{type:String},type:{type:String,default:"Signature"},fieldConf:{type:Object,default(){return{}}},mode:{type:String,default:"edit"},uiType:{type:String,default:"default"},container:{type:[Object,null],default(){return null}}},data(){return{isEditing:!1,curSign:"",hasDraw:!1,openLastSign:!0,lastSign:"",useNextUser:!0,canvas:null,timer:null}},computed:{isInSubForm(){return!!this.container.isSubForm}},watch:{value(e){console.log("bpmSignature_value",e),e?this.curSign=e:this.isEditing=!0},curSign(e){console.log("curSign",e),this.$emit("input",e),this.$emit("change",e,{open:this.openLastSign,for_next_use:this.useNextUser,signature:this.curSign})}},created(){this.value?this.curSign=this.value:"edit"===this.mode&&(this.isEditing=!0)},mounted(){if("edit"===this.mode){setTimeout((()=>{this.initCanvas()}),300);let e=this.container;e&&(e.$on("afterFormSubmit",(e=>{console.log("Singnature topContainer afterFormSubmit"),!e&&this.openLastSign&&this.curSign&&(console.log("to save signature: ",this.curSign,this.useNextUser),this.$bpm.postEleSign(this.curSign,this.useNextUser))})),e.$on("dataLoaded",(e=>{console.log("Singnature topContainer dataLoaded"),this.onDataLoaded(e),this.curSign=null,this.handleInit()})))}},destroyed(){this.container&&!this.container.isQuote&&(this.container.$off("afterFormSubmit"),this.container.$off("dataLoaded"))},methods:{_getCanvasPixelCount(e){for(var t=e.getContext("2d"),n=t.getImageData(0,0,t.canvas.width,t.canvas.height).data,i=0,a=0;a<n.length;a+=4)0!==n[a+3]&&i++;return i},handleImgLoadError(){console.log("加载图片失败")},handleInit(){let e=this.$bpm.userSign;this.openLastSign=e.open,e.for_next_use&&(this.lastSign=e.signature),this.openLastSign&&this.lastSign&&(this.curSign=e.signature),e.for_next_use&&this.openLastSign&&(this.useNextUser=!0),this.$emit("input",this.curSign),this.$emit("change",this.curSign,e),console.log("userSign: ",e)},initCanvas(){if(this.hasDraw=!1,this.canvas&&(this.canvas.removeEventListener("touchstart",(function(){})),this.canvas.removeEventListener("mousedown",(function(){})),this.canvas.removeEventListener("touchend",(function(){})),this.canvas.removeEventListener("mouseup",(function(){}))),console.log("初始化initCanvas"),this.canvas=this.$refs.canvasElem,!this.canvas)return!1;this.draw=new r(this.canvas,-this.degree,{},{}),this.canvas.addEventListener("touchstart",(()=>{this.timer&&(clearTimeout(this.timer),this.timer=null),this.hasDraw=!0})),this.canvas.addEventListener("mousedown",(()=>{this.timer&&(clearTimeout(this.timer),this.timer=null),this.hasDraw=!0})),this.canvas.addEventListener("touchend",(()=>{this.timer||(this.timer=setTimeout((()=>{this.transToImg()}),1e3))})),this.canvas.addEventListener("mouseup",(()=>{this.timer||(console.log("mouseup"),this.timer=setTimeout((()=>{this.transToImg()}),1e3))})),this.canvas.addEventListener("mouseleave",(()=>{this.timer||(console.log("mouseleave"),this.timer=setTimeout((()=>{this.transToImg()}),1e3))}))},onDataLoaded(e){this.hasDraw=!1,this.draw&&this.draw.clear()},clearSignature(){this.hasDraw=!1,this.draw&&this.draw.clear(),this.curSign=null,this.isEditing=!0,this.lastSign="",setTimeout((()=>{this.initCanvas()}),300)},transToImg(){if(console.log("Canvas transToImg called"),this.draw){let e=this.draw.getPNGImage();if(console.log("Signature canvas img: ",e),this._getCanvasPixelCount(this.canvas)<2e3)return!1;this.uploadImage({basestr:e,type:"png",name:"签名图片.png",model:"userfile"},(e=>{this.curSign=e,this.timer=null,console.log("Signature img md5: ",e)}))}},uploadImage({basestr:e,type:t,name:n,model:i},a){let o=window.atob(e.split(",")[1]),r=new ArrayBuffer(o.length),s=new Uint8Array(r);for(let e=0;e<o.length;e++)s[e]=o.charCodeAt(e);let l,d=window.WebKitBlobBuilder||window.MozBlobBuilder;if(d){let e=new d;e.append(r),l=e.getBlob(t)}else l=new window.Blob([r],{type:t});let c=new FormData;c.append(i,l,n),zj.net.w.noapi({method:"POST",url:"/platform/v1/papi/app_file/upload/",data:c,processData:!1,contentType:!1}).then((e=>{a&&a(e.file_md5)}))}}},l=(0,n(4486).A)(s,i,[],!1,null,null,null);l.options.__file="components/lib/bpmSignature/src/main.vue";var d=l.exports;d.install=function(e){e.component(d.name,d)};var c=d},1827:function(e,t,n){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5093))},1848:function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5093))},1849:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.curComponent?n(e.curComponent,e._g(e._b({directives:[{name:"show",rawName:"v-show",value:!e.displayHidden,expression:"!displayHidden"}],ref:"inner-component",tag:"component",staticClass:"bpm-sub-form-field",attrs:{type:e.type,fieldConf:e.fieldConf,row:e.row,mode:e.fieldMode,uiType:e.uiType,formDefId:e.formDefId,orgInfo:e.orgInfo,dm:e.dm,clearable:e.clearable,container:e.container,disabled:e.fieldDisabled,isMultiple:e.isMul},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners)):e._e()};i._withStripped=!0;var a=n(5554),o=n.n(a),r=n(9795),s={name:"BpmSubFormField",mixins:[n(1464).A,function(){let e={props:["container","rowIndex","isNew","hideLabel"],data(){return{optAssWatchList:[],hasAddOptAssWatch:!1,defaultVal:null,firstListVal:null,loadedDefault:!1,allVal:[]}},computed:{isSubForm(){return!1},topContainer(){return this.container.isSubForm?this.container.container:this.container},fieldSelf(){return this},fieldPath(){return this._getFieldPath()},readonly(){return!0},inner(){return this.$bpm.matchInnerComponent(this.fieldConf.type,this.readonly)}},created(){this.topContainer&&!this.dm&&(this.topContainer.$once("beforeSchemaLoad",(e=>{this.clearOptAssWatch()})),this.topContainer.$once("dataLoaded",(e=>{this.addOptAssWatch()}))),this.isNew&&!this.hasAddOptAssWatch&&(this.addOptAssWatch(),this.$emit("update:isNew",!1))},methods:{async getConfDefaultValue(){let e=_.get(this.fieldConf,"default.value.type");e=e||_.get(this.fieldConf,"default.value.type");let t=_.get(this.fieldConf,"default.value.value"),n=_.get(this.fieldConf,"default.type");return this.defaultVal||this.loadedDefault?this.defaultVal:("EVCConfig"==n&&(t=_.get(this.fieldConf,"default.value"),this.defaultVal=t),"EVCExpression"==e||"EVCExpression"==n?(this.defaultVal=await this.$bpm.loadValDefault({fieldId:this.fieldConf.id,params:{},cusFormName:this.container.cusFormId,container:this.container}),this.loadedDefault=!0,this.defaultVal):("EVCFirstElem"==_.get(this.fieldConf,"default.value.type")&&(t=this.firstListVal),this.defaultVal=t,this.loadedDefault=!0,t))},getTypeValidEmptyValue(){let e=this.fieldConf.value_type,t=this.fieldConf.type;switch(e){case"int":return 0;case"struct":return"Mul"==t.substr(0,3)||"OnlineEditor"==t||this.isSubForm?[]:{};default:return"Mul"==t.substr(0,3)||"OnlineEditor"==t||this.isSubForm?[]:""}},removeValue(){let e=this.container,t=e.value;e.isSubForm&&(t=_.get(t,[this.rowIndex])),t&&(this.value=null)},_getFieldPath(e=!1){return this.container.isSubForm?e?[this.container.fieldConf.id,this.rowIndex,this.fieldConf.id]:[this.rowIndex,this.fieldConf.id]:[this.fieldConf.id]},_getValue(){let e="";return this.container&&(e=_.get(this.container.value,this.fieldPath)),e},isPromise(e){return!!e&&"function"==typeof e.then},_setValue(e){let t=this.container,n=_.cloneDeep(t.value);if(t.isQuote)return;let i=_.last(this.fieldPath);if(t.isSubForm){n||(n=[]);let a=this.rowIndex;if(n[a])return void this.$set(t.value[a],i,e);t.isXSubForm?o().set(n,a,t.getItem(a)):o().set(n,a,{}),n=n[a];try{o().set(t.value,a,n)}catch(e){console.log("error",t.value)}}else o().set(t.value,i,e)},clearOptAssWatch(){this.hasAddOptAssWatch=!1,_.each(this.optAssWatchList,(e=>{e()}))},addOptAssWatch(){this.hasAddOptAssWatch=!0;let e=_.get(this.fieldConf,"optAssMap"),t=_.get(this.fieldConf,"perm.visible");if(!e||_.isEmpty(e)||!t)return;let n=0;_.map(e,((t,i)=>{i=_.replace(i,"&",".");let a=this.$watch(`row.f_fields.${i}`,(t=>{let n=!0;_.map(e,((e,t)=>{t=_.replace(t,"&",".");let i=_.get(this.row,`f_fields.${t}`);i=_.toString(i),n=n&&_.includes(e,i)})),this.fieldConf.perm.visible=n}),{immediate:0==n});n++,this.optAssWatchList.push(a)}))}}};return _.merge(e,{data(){return{unWatchList:[],valueUnWatch:null,valDependIds:[],selectDependIds:[],remoteDependIds:[],selectFields:null,selectList:[],quoteContent:{},unSelectDependValWatchList:[],optAssWatchList:[],hasAddOptAssWatch:!1,scopeDependIds:[],subFormOldValMap:{},isDelete:!1,displayHidden:!1,differenceRowIndexs:[],topContainerMode:null,nextRely:null,loading:!1,firstFill:!0,hasFillDefault:!1,remoteData:[],component_id:(0,r.uR)(),hasRelateBind:!1}},created(){this.topContainer&&!this.dm&&(this.topContainer.$once("beforeDataLoad",(e=>{this.toggleValueWatch(!1),this.clearOptAssWatch()})),this.topContainer.$once("dataLoaded",(e=>{this.getMemory(),this.addOptAssWatch()})),this.topContainer.$once("beforeReloadData",(e=>{this.toggleValueWatch(!1)}))),this.getMemory(),this.addOptAssWatch(),this.$emit("update:isNew",!1),this.$bpm.$on("beforeFormSubmit",(({mode:e,formData:t,cc:n,_formData:i})=>{console.log("触发SubForm ,beforeFormSubmit");let a=this._getFieldPath(!0),o=_.get(i,a),r=_.get(this.fieldConf,"check.required",!1);if((_.isNull(this.value)&&r||"SelectHouseOwner"==this.fieldConf.type&&(!this.value.name||!this.value.phone)&&r)&&_.unset(t,a),_.isArray(this.value)&&_.isEmpty(this.value)||_.isNil(this.value)||""==this.value&&0!==this.value){let e=_.get(this.fieldConf,"check.min_length");e=e||_.get(this.fieldConf,"check.min"),e=e||_.get(this.fieldConf,"check.min_count"),e||r||!o||_.unset(t,a)}let s=this.container,l=s.isSubForm,d=_.get(this.fieldConf,"optAssMap");if(!d||_.isEmpty(d))return;let c=!0;_.map(d,((e,t)=>{t=t.replace(/&/g,".");let n=_.split(t,".");n=_.last(n);let i=_.get(this.elementMap,`${n}.type`),a=!!i&&"Mul"==i.substr(0,3);this._getPath(n)!=n&&l&&(t=`${s.fieldConf.id}&${this.rowIndex}&${n}`),t=t.replace(/&/g,".");let o=_.get(this.form,`formData.${t}`);if(a);else{let t=_.toString(o);c=c&&_.includes(e,t)}})),c||_.unset(t,a)})),this.$bpm.$on("afterFormSubmit",(({mode:e,errors:t})=>{if(console.log("触发SubForm ,afterFormSubmit"),!t&&this.memorable){let t=this.fieldConf.id,n=_.get(this.fieldConf,"value_type");this.$bpm.setMemory(e,`${t}.${n}`,this.value)}})),this.$bpm.$on("handeInitRely",(async({id:e,rowIndex:t,oid:n,lastField:i})=>{e!=this.fieldConf.id||this.container.isSubForm&&(_.isNil(t)||!this.container.isSubForm||t!=this.rowIndex)||(console.log("触发SubForm ,handeInitRely"),this.topContainer.isCache?this.openRelyInitLoadOnCache(n,i):this.openInitRelyLoad(n,i))})),this.$bpm.$on("initRelyComplete",(async(e,t)=>{e===this.container&&(!t||t&&t===this.rowIndex)&&(console.log("触发了SubForm initRelyComplete"),this.hasFillDefault||await this.fillDefaultValue(),this.valueUnWatch||await this.toggleValueWatch(!0),this.addOptAssWatch(),this.$bpm.setRelyLoading(!1))})),this.$bpm.$on("handeRelyById",(({id:e,rowIndex:t,oid:n,lastField:i})=>{e!=this.fieldConf.id||this.container.isSubForm&&(_.isNil(t)||!this.container.isSubForm||t!=this.rowIndex)||(console.log("触发SubForm ,handeRelyById",e),console.log("触发SubForm ,handeRelyById_rowIndex",t),console.log("触发SubForm ,handeRelyById_oid",n),console.log("触发SubForm ,handeRelyById_lastField",i),console.log("SubForm-this.fieldConf",this.fieldConf),console.log("SubForm-this.container",this.container),this.opeRelyById(n,i))}))},provide(){return{getSelectFields:()=>this.selectFields,selectOptions:()=>this.selectList}},destroyed(){this.toggleValueWatch(!1),console.log("this.container.isQuote",this.container.isQuote)},watch:{"$store.getters.bpmLinkageBridge"(e){_.includes(e.to,this.fieldConf.id)&&(console.log("$store.getters.bpmLinkageBridge",e),e.calc_function&&this.form&&this.form.formData&&(console.log("bridge_link_complete_flag",this.link_complete_flag),this.$nextTick((()=>{console.log("bri_this.value",this.value),setTimeout((()=>{let t=_.cloneDeep(this.value);this.value=e.calc_function(this.form.formData),this.curVal=this.value,this.$emit("input",this.value),this.$emit("change",this.value),this.checkRely(this.value,t)}),3e3)}))))}},computed:{form(){return this.topContainer},readonly(){return!_.get(this.fieldConf,"perm.editable",!1)},disWritable(){return!_.get(this.fieldConf,"perm.editable",!1)&&!_.get(this.fieldConf,"perm.writable",!1)},memorable(){return _.get(this.fieldConf,"perm.memorable",!1)},isDetailMode(){return"detail"==this.form.mode},isDeleteMode(){return"delete"==this.form.mode},elements(){return _.get(this.form,"formSchema.elements",[])},elementMap(){let e={},t=this.elements;return _.each(t,(t=>{_.set(e,t.id,t),_.each(t.elements||[],(n=>{_.set(e,t.id,t)}))})),e},description(){return _.get(this.fieldConf,"desc","")},hideName(){return _.get(this.fieldConf,"display.hide_name",!1)},visualAttrs(){let e=this._getFieldPath(!0).join("."),t=this.form.formErrors,n=!!t&&t[e],i=this.fieldConf,a=[],o=_.get(i,"perm.visible",!1);_.get(i,"check.required",!1)&&!this.isDetailMode&&a.push("q-field-required"),o&&!this.displayHidden||a.push("q-field-hidden"),this.readonly&&a.push("readonly");let r=_.get(this.fieldConf,"display.hide_name",!1),s=_.get(this.fieldConf,"display.is_tip",!1);r&&a.push("hide-name"),s&&a.push("tip-field"),n&&this.scrollToElement();let l=this.$bpm.isVerticalTypography,d=_.includes(["MulImage","SubForm","XSubForm","MulFile","Spliter","Signature"],i.type);return l=l&&!_.includes(["SubForm","XSubForm","Spliter"],i.type),l&&a.push("col-4"),"SelectHouseOwner"==i.type&&a.push("select-house-owner"),{filled:!0,hideHint:!0,disable:!_.get(i,"perm.editable",!0),error:!!n,errorLabel:_.get(n,"message",""),class:a,orientation:d||l?"vertical":"horizontal"}},isRelyId(){return _.includes(this.topContainer.relyIds,this.fieldConf.id)},isVerticalTypography(){return this.$bpm.isVerticalTypography}},mounted(){this.description&&this.insertDesc()},methods:{getMemory(){if(!this.memorable||this.value)return;let e=this.fieldConf.id,t=_.get(this.fieldConf,"value_type");this.topContainerMode=this.topContainer.mode,this.$bpm.checkMemory(this.topContainerMode,(n=>{let i=_.get(n,`f_fields.${e}.${t}`);this.value=i,this.setLocalCache(this.value)}),(()=>{}))},scrollToElement(){},async openRelyInitLoadOnCache(e,t){await this.loadSelectByDepends(),await this.loadRemoteByDepends(!0),this.$emit("valueChanged"),t==this.fieldConf.id&&(this.container.relyLoading=!1),this.loading=!1,this.container.handleNextRely&&await this.container.handleNextRely(this.rowIndex,e,t)},async openInitRelyLoad(e,t){console.log("SubForm-openInitRelyLoad"),await this.loadSelectByDepends(),await this.loadRemoteByDepends(!0),await this.loadRemoteByFieldMap(e),t==this.fieldConf.id&&(this.container.relyLoading=!1),this.$emit("valueChanged"),this.loading=!1,this.container.handleNextRely&&await this.container.handleNextRely(this.rowIndex,e,t)},async opeRelyById(e,t){await this.fillDefaultValue(),await this.loadSelectByDepends(),await this.loadRemoteByDepends(),await this.loadRemoteByFieldMap(e),t==this.fieldConf.id&&(this.container.relyLoading=!1),this.loading=!1,this.container.handleNextRelyById&&await this.container.handleNextRelyById(this.rowIndex,e,t)},async getBreakResult(e){let t=this.$bpm.breakRelyMap,n=_.get(t,e);return _.includes(n,this.fieldConf.id)},async fillDefaultValue(){if(this.isDetailMode)return!1;if(!_.get(this.fieldConf,"perm.writable"))return!1;let e=this.topContainer.resetFields;if(_.includes(e,this.fieldConf.id))return this.value=null,this.setLocalCache(this.value),this.loading=!1,void(this.hasFillDefault=!0);if(_.isNil(this.value)){let e=await this.getConfDefaultValue();_.isNil(e)||(this.value=e,this.curVal=this.value,this.$emit("input",this.value),this.$emit("change",this.value),this.setLocalCache(this.value))}this.loading=!1,this.hasFillDefault=!0},async getConfDefaultValue(){let e=_.get(this.fieldConf,"default.value.type");if("EVCConfig"==e)return _.get(this.fieldConf,"default.value.value");"EVCAllElem"==e&&console.log("EVCAllElem")},isPromise(e){return!!e&&"function"==typeof e.then},toggleValueWatch(e=!0){if(this.valueUnWatch&&(this.valueUnWatch(),this.valueUnWatch=!1),e){let e=JSON.stringify(this.value);this.valueUnWatch=this.$watch("value",(async(t,n)=>{if(void 0===t&&void 0===n)return!1;if(console.log("component_id",this.component_id),console.log("component_vm",this),console.log("subformField: ",t,n),this.isSubForm||"Area"==this.fieldConf.type||"MulArea"==this.fieldConf.type){let n=JSON.stringify(t);if(e==n)return void(this.container.handleNextRely&&await this.container.handleNextRely(this.rowIndex))}else if(n==t)return void(this.container.handleNextRely&&await this.container.handleNextRely(this.rowIndex));if(e=JSON.stringify(t),console.log("subForm内部组件触发了,valueChanged"),this.$emit("valueChanged"),this.setLocalCache(t),console.log("subFormthis.container",this.container),console.log("subFormthis.fieldConf",this.fieldConf),(!this.container.isSubForm||this.container.isSubForm&&(!_.isUndefined(n)||!_.isUndefined(t)))&&this.container&&this.container.handleRelyById){await this.loadRemoteByFieldMap();let e=_.get(this.fieldConf,"mappings");console.log("subFormMappings",e),e=_.keys(e),await this.container.handleRelyById(this.fieldConf.id,this.rowIndex,e)}this.firstFill=!1}),{immediate:!!this.fieldConf.linkage_trigger_immediate,deep:!0})}},setLocalCache(e){let t=this.fieldConf.id,n=this.container.mode,i=_.get(this.fieldConf,"value_type");this.$bpm.setLocalCache(n,`${t}.${i}`,e)},loadSelectListPre(e){this.$refs.fieldComp&&this.$refs.fieldComp.preSearch&&this.$refs.fieldComp.preSearch(e)},loadSelectByDepends(){if(this.readonly)return;this.selectDependIds=_.get(this.fieldConf,"range_remote.depends",[]);let e=this.getRelateSelectOptionList();e&&e.length?this.selectList=e:this.loadSelectLinkage({fieldId:this.fieldConf.id},(e=>{if("Quote"==this.fieldConf.type)return this.value=_.map(e.data,"form_id"),this.quoteContent=e,void(this.loading=!1);this.selectList=e,this.loading=!1}))},async loadRemoteByDepends(e){if("OrderSubForm"==this.fieldConf.type&&(this.remoteDependIds=_.get(this.fieldConf,"remote.depends",[]),this.remoteDependIds.length||e)){let t=this.remoteDependIds,n=this.getDependData(t);if(_.map(n,((e,t)=>{_.isUndefined(e)&&_.unset(n,t)})),_.isEmpty(n)&&!e)return void(this.loading=!1);let i={fields:n,include_sup:!0},a=this.fieldConf.id,o=await this.$bpm.loadSelectRemoteForm({fieldId:a,params:i,cusFormName:this.container.cusFormId||_.get(this.container,"form.cusFormId"),container:this.container});this.remoteData=o,this.loading=!1}},getRelateSelectOptionList(){let e=this.form.formSchema;if(console.log("getRelateSelectOptionListformSchemaDef",e),console.log("getRelateSelectOptionListfieldConf",this.fieldConf),e){let t=[];return _.each(e.elements,(e=>{e.relate_setting&&_.each(e.relate_setting,(n=>{if(n.sub_form==this.fieldConf.parentId&&_.includes(n.sub_form_fields,this.fieldConf.id)){console.log("getRelateSelectOptionList_relate",n),this.formSourceData=this.form.formData,console.log("getRelateSelectOptionList_this.formSourceData ",this.formSourceData);let i={},a="";this.hasRelateBind=!0,_.each(n.sub_form_field_mapping,(e=>{e.target!=this.fieldConf.id&&_.includes(n.sub_form_fields,e.target)?i[e.src]=this.formSourceData[this.fieldConf.parentId][this.rowIndex][e.target]:a=e.src})),console.log("getRelateSelectOptionList_change_confidition",i);let o=_.filter(this.formSourceData[e.id],i);_.each(o,(e=>{e[a]&&e._meta&&!e._meta.is_deleted&&t.push([e[a],e[a]])})),console.log("getRelateSelectOptionList__relate_list",o)}}))})),t}},_getPath(e){let t=this.elements,n=e;return _.each(t,(t=>{_.each(t.elements||[],(i=>{i.id==e&&(n=t.id)}))})),n},getDependData(e){let t=this.topContainer.formData,n={};return _.each(e,(e=>{let i=this._getPath(e),a=_.get(t,i);if(e!=i){let t=[];_.each(a,((n,i)=>{let a={},o=_.get(n,e);(o||0===o)&&_.set(a,e,o),_.hasIn(n,"_meta")&&_.set(a,"_meta",n._meta),t.push(a)})),n[i]&&(t=_.merge(n[i],t)),a=t}_.isArray(a)&&_.each(a,(e=>{_.unset(e,"isNew")})),i&&_.set(n,i,a)})),n},loadSelectDepends(){let e=_.get(this.fieldConf,"range_remote.depends",[]),t=this.getDependData(e);_.isEmpty(t)||(this.selectFields=JSON.stringify(t))},async loadSelectLinkage({fieldId:e,mergeParams:t,dependVal:n,isForceLoad:i},a){let o=_.get(this.fieldConf,"range_remote.depends",[]),r=this.getDependData(o);if(console.log("dependData",r),_.isEmpty(r))return;this.selectFields=JSON.stringify(r),console.log("dependData",r);let s={fields:JSON.stringify(r)};this.container.isSubForm&&_.set(s,"idx",this.rowIndex);let l=this.fieldConf.type;"OnlineEditor"==l&&(s={spec:JSON.stringify(r)}),t&&(s=_.merge(s,t));let d=null;return d=_.includes(["MulSelectCheckItem","SelectRootCategory","SelectCheckItem","SelectSort","MulSelectSort"],l)?await this.$bpm.loadSelectLinkageResult({fieldId:e,params:s,cusFormName:this.container.cusFormId||_.get(this.container,"form.cusFormId"),filed:this.fieldSelf,container:this.container}):await this.$bpm.searchSelectOpts(e,"",this.container.cusFormId||_.get(this.container,"form.cusFormId"),this.fieldSelf,!1,s,!1),a&&a(d),d},addOptAssWatch(){if(this.hasAddOptAssWatch)return;let e=_.get(this.fieldConf,"optAssMap"),t=_.get(this.fieldConf,"perm.visible");if(!e||_.isEmpty(e)||!t)return;let n=this.container,i=n.isSubForm;_.map(e,((t,a)=>{a=a.replace(/&/g,".");let o=_.split(a,".");o=_.last(o);let r=this._getPath(o);const s=_.get(this.elementMap,n.fieldConf.id),l=_.get(s,"elements",[]),d=_.keyBy(l,"id");let c="";if(a.indexOf(!0)){let e=_.split(a,"."),t=_.first(e);c=_.get(d,`${t}.type`)}else c=_.get(d,`${o}.type`);let u=!!c&&"Mul"==c.substr(0,3);if(!c)return;let m=this.$watch(`form.formData.${n.fieldConf.id}`,(()=>{let t=!0;_.map(e,((e,a)=>{r!=o&&i&&(a=`${n.fieldConf.id}&${this.rowIndex}&${o}`),a=a.replace(/&/g,".");let s=_.get(this.form,`formData.${a}`);if(u){let n=!1;_.each(s,(t=>{t=_.toString(t),_.includes(e,t)&&(n=!0)})),t=t&&n}else s=_.toString(s),t=t&&_.includes(e,s)})),console.log("isSubForm",i),i?this.displayHidden=!t:this.fieldConf.perm.visible=t,this.isDelete=!t,t&&console.log("this.fieldConf",this.fieldConf),console.log("BpmSubFormField watch: visible",t)}),{immediate:!0,deep:!0});this.optAssWatchList.push(m)})),this.hasAddOptAssWatch=!0},clearOptAssWatch(){this.hasAddOptAssWatch=!1,_.each(this.optAssWatchList,(e=>{e()}))},insertDesc(){this.$refs.field},async loadRemoteByFieldMap(e){let t=_.get(this.fieldConf,"mappings");if(console.log("mappings",t),"SelectFromForm"!=this.fieldConf.type||!t||_.isEmpty(t))return;let n=await this.getRemoteByFieldMap();if(!n){let e={};_.each(t,(t=>{e[t.local_field_id]=null})),console.log("_mappingsResult",e),n=e}this.container&&this.container.changeValueByMapping&&this.container.changeValueByMapping(e,n)},async getRemoteByFieldMap(){let e=_.get(this.fieldConf,"mappings");if("SelectFromForm"!=this.fieldConf.type||!e||_.isEmpty(e)||!this.value)return;let t=_.get(this.fieldConf,"id");return(await this.$bpm.loadRmoteFieldMap({fieldId:t,params:{form_id:this.value},cusFormName:this.container.cusFormId||_.get(this.container,"form.cusFormId"),container:this.container})).data}}}),e}()]},l=(0,n(4486).A)(s,i,[],!1,null,null,null);l.options.__file="components/lib/bpmSubFormField/src/main.vue";var d=l.exports;d.install=function(e){e.component(d.name,d)};var c=d},1885:function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(5093))},1918:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o)()(a());r.push([e.id,"\n.vue-street-view-pano-container {\n position: relative;\n}\n.vue-street-view-pano-container .vue-street-view-pano {\n left: 0; right: 0; top: 0; bottom: 0;\n position: absolute;\n}\n",""]),t.A=r},1933:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return S}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-date-time",attrs:{fieldConf:e.fieldConf,row:e.row,mode:e.mode,container:e.container,uiType:e.uiType},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-date-time-edit"},[n("el-date-picker",{attrs:{placeholder:e.placeholder,format:e.format,"picker-options":e.pickerOptions,"value-format":e.checkFormat,type:e.type,"default-value":e.defaultVal,clearable:e.clearable,disabled:e.disabled},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}})],1)};a._withStripped=!0;var o=n(6773),r=n.n(o),s=n(5554),l=n.n(s),d=n(7642);const c=n(5093);l().use(d.DatePicker);var u={data(){return{curVal:""}},props:["value","fieldConf","row","clearable","disabled","container"],watch:{value(){this.curVal=this.value}},computed:{type(){let e=r().toLower(r().get(this.fieldConf,"type"));return this.isMonth?"month":e},isMonth(){return"C1M"==r().get(this.fieldConf,"range_type")},placeholder(){return this.fieldConf.desc||this.fieldConf.name},format(){let e=r().get(this.fieldConf,"view.format");return e&&(e=e.replaceAll("Y","y"),e=e.replaceAll("D","d")),e},max(){return this.analyzeLimit("tmax")},min(){return this.analyzeLimit("tmin")},limit(){return r().get(this.fieldConf,"check.limit","")},pickerOptions(){let e=this;return{disabledDate(t){let n=!1,i=t.getDay(),a=t.getDate();if(e.max&&(n=t.getTime()>e.max.getTime()),!n&&e.min&&(n=t.getTime()<e.min.getTime()),!n&&e.limit){let t=e.limit.split(","),o=[],r=[],s=!1;t.forEach((e=>{let t=e.split("|");"W"===t[0]&&o.push(parseInt(t[1])),"M"===t[0]&&r.push(parseInt(t[1]))})),(o.length||r.length)&&(s=o.includes(i)||r.includes(a),n=!s)}return n}}},checkFormat(){let e=r().get(this.fieldConf,"check.format");return e&&(e=e.replaceAll("Y","y"),e=e.replaceAll("D","d")),e},defaultVal(){return new Date}},mounted(){this.curVal=this.value},methods:{_getActulMax(){let e=null;return e="Date"==this.fieldConf.type?this.analyzeLimit("tmax",!0,!0):this.analyzeLimit("tmax",!1,!1),e},_getActulMin(){let e=null;return e="Date"==this.fieldConf.type?this.analyzeLimit("tmin",!0,!1):this.analyzeLimit("tmin",!1,!1),e},handleChange(e){let t=new Date(e);console.log("handleChange_time_value",t);let n=this._getActulMax(),i=this._getActulMin();console.log("actul_max",n),console.log("actul_min",i);let a=!1,o=!1;n&&t.getTime()>n.getTime()&&(a=!0),i&&t.getTime()<i.getTime()&&(o=!0);let r=c(i).format("YYYY-MM-DD HH:mm"),s=c(n).format("YYYY-MM-DD HH:mm");a&&o?(this.$message({message:this.fieldConf.name+":"+zj.z("最小时间限制为","c.minimum_time_limit_tip")+r+","+zj.z("最大时间限制为","c.maximum_time_limit_tip")+s,type:"warning"}),this.curVal=this.value):a?(this.$message({message:this.fieldConf.name+":"+zj.z("最大时间限制为","c.maximum_time_limit_tip")+s,type:"warning"}),this.curVal=this.value):o?(this.$message({message:this.fieldConf.name+":"+zj.z("最小时间限制为","c.minimum_time_limit_tip")+r,type:"warning"}),this.curVal=this.value):(this.$emit("input",e),this.$emit("change",e))},analyzeLimit(e,t=!0,n=!1){console.log("analyzeLimit_type",e),console.log("analyzeLimit_this.fieldConf",this.fieldConf);let i=r().get(this.fieldConf,`check.${e}`);if(!i)return;let a=null,o=(new Date).getTime();switch(i.type){case"LimitDateOffset":var s=i.offset_days;a=this.deltaToDate(o,s,t,n);break;case"LimitDateOffsetByField":var l=i.offset_days,d=r().get(this.container,`formData.${i.field}`);if(!d)return 0;a=this.deltaToDate(d,l,t,n);break;case"LimitDateByValue":var c=i.value;c=new Date(c).getTime(),this.deltaToDate(c,0,t,n)}return a},deltaToDate(e,t,n=!0,i=!1){let a=(e=new Date(e)).getDate()+t;return e.setDate(a),n&&e.setHours(0,0,0,0),i&&e.setHours(23,59,59,0),e}}},m=n(4486),f=(0,m.A)(u,a,[],!1,null,null,null);f.options.__file="components/lib/bpmDateTime/src/part/editor.vue";var h=f.exports,p=function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",{attrs:{title:e.dateTimeStr}},[e._v(e._s(e.dateTimeStr))])};p._withStripped=!0;var _=n(4709),g=n.n(_),y=n(9795),b={props:["value","fieldConf","row"],data(){return{dateTimeStr:""}},computed:{format(){return r().get(this.fieldConf,"view.format")}},watch:{value(e){this.dateTimeStr=this.formatViewTime()}},mounted(){this.dateTimeStr=this.formatViewTime()},methods:{formatViewTime(){let e,t=this.value;if(!t)return"";if(r().isInteger(t)&&13!=r().toString(t).length&&(t*=1e3),(0,y.Fr)()?(t=t.replace(/-/g,"/"),t=t.replace(/T/g," "),t=t.padEnd(10,"/01/01"),e=new Date(t).getTime()):e=new Date(t).getTime(),r().isInteger(e)){let t=g().format(e,this.format);return-1!=t.indexOf("1970")?"--":t}return-1!=this.value.indexOf("1970")?"--":this.value}}},v=(0,m.A)(b,p,[],!1,null,null,null);v.options.__file="components/lib/bpmDateTime/src/part/reader.vue";var w=v.exports,M={name:"BpmDateTime",components:{editorComponent:h,readerComponent:w},props:{value:{type:[String,Number]},fieldConf:{type:Object,default(){return{}}},container:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}}},computed:{curComponent(){return"view"==this.mode?w:h}},data(){return{curVal:""}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},k=(0,m.A)(M,i,[],!1,null,null,null);k.options.__file="components/lib/bpmDateTime/src/main.vue";var L=k.exports;L.install=function(e){e.component(L.name,L)};var S=L},1962:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314);n.n(o)()(a()).push([e.id,".bpm-audit .audit-editor .aduit-result,\n.bpm-audit .audit-reader .aduit-result {\n padding: 0px 10px;\n border-radius: 8px;\n overflow: hidden;\n line-height: 25px;\n height: 25px;\n box-sizing: border-box;\n display: inline-block;\n vertical-align: middle;\n}\n",""])},2017:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var i,a,o;if(Array.isArray(t)){if((i=t.length)!=n.length)return!1;for(a=i;0!=a--;)if(!e(t[a],n[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((i=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(a=i;0!=a--;)if(!Object.prototype.hasOwnProperty.call(n,o[a]))return!1;for(a=i;0!=a--;){var r=o[a];if(!e(t[r],n[r]))return!1}return!0}return t!=t&&n!=n}},2023:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9029),a={data:new i.Name("data"),valCxt:new i.Name("valCxt"),instancePath:new i.Name("instancePath"),parentData:new i.Name("parentData"),parentDataProperty:new i.Name("parentDataProperty"),rootData:new i.Name("rootData"),dynamicAnchors:new i.Name("dynamicAnchors"),vErrors:new i.Name("vErrors"),errors:new i.Name("errors"),this:new i.Name("this"),self:new i.Name("self"),scope:new i.Name("scope"),json:new i.Name("json"),jsonPos:new i.Name("jsonPos"),jsonLen:new i.Name("jsonLen"),jsonPart:new i.Name("jsonPart")};t.default=a},2042:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return T}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-area",attrs:{fieldConf:e.fieldConf,row:e.row,isMultiple:e.isMultiple,mode:e.mode,uiType:e.uiType},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"select-area-editor"},[n("div",{on:{click:e.toOpen}},[e.label?n("div",[e._v("\n "+e._s(e.label)+"\n ")]):n("div",[n("el-button",{attrs:{size:"small",icon:"el-icon-location-outline"}},[e._v(" "+e._s(e.$z("选择区域","c.select_area")))])],1)]),e._v(" "),n("el-dialog",e._g(e._b({attrs:{top:"10vh",visible:e.opened,"before-close":e.onHide,width:"65%",title:e.fieldConf.name,fullscreen:!1,"append-to-body":""},on:{"update:visible":function(t){e.opened=t},open:e.onOpen}},"el-dialog",e.$attrs,!1),e.$listeners),[n("div",[e._v("\n "+e._s(e.$z("当前选中","b2.common.selected"))+":\n "),n("el-tag",[e._v(e._s(e.cur_label?e.cur_label:e.label))])],1),e._v(" "),e.refresh?n("div",{staticClass:"subcategory-tree-box"},[n("div",{staticClass:"subcategory-tree",staticStyle:{"max-height":"550px",overflow:"auto"}},[n("el-tree",{ref:"tree",attrs:{props:e.defaultProps,lazy:"","node-key":"id","show-checkbox":!0,load:e.onLazyTreeLoad,"expand-on-click-node":!0,"check-strictly":!0},on:{"node-click":e.handleNodeClick,check:e.handleCheck},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.node;return n("span",{staticClass:"custom-tree-node"},[n("div",{staticClass:"tree-body-content"},[n("div",[e._v(e._s(i.label))]),e._v(" "),"strict"==e.tickStrategy&&i.lazy&&i.selectable?n("span",{on:{click:function(t){return t.stopPropagation(),e.expand(i.id,"force")}}},[e._v(e._s(e.$z("选择","c.choose")))]):e._e()])])}}],null,!1,3939466302)})],1)]):e._e(),e._v(" "),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:e.confirm}},[e._v(e._s(e.$z("确认","c.confirm")))])],1)]),e._v(" "),e.openLocate?n("room-map-select",{attrs:{field:e.field,drawingMd5s:e.drawingMd5s,defaultPoints:e.points,subareas:e.subareas},on:{save:e.savePlan}}):e._e()],1)};a._withStripped=!0;var o=n(5554),r=n.n(o),s=n(6773),l=n.n(s),d=n(7642),c=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",[e._v("\n slsls\n")])};c._withStripped=!0;var u=n(4486),m=(0,u.A)({},c,[],!1,null,null,null);m.options.__file="components/lib/bpmArea/src/part/room-map-select.vue";var f=m.exports;r().use(d.Dialog);var h={props:["value","fieldConf","row","formName","orgInfo","isMultiple"],components:{RoomMapSelect:f},inject:["selectOptions"],data(){return{curVal:"",label:zj.z("选择区域","c.select_area"),cur_label:"",keyword:"",opened:!1,debounceSearch:l().debounce(l().bind(this.search,this),150,{trailing:!0,leading:!1}),formList:[],treeItemMap:{},subareas:[],drawingMd5s:[],refresh:!0,selectedKey:"",defaultProps:{children:"children",label:"label",isLeaf:"isLeaf"},selectList:[],allAreaMap:{}}},watch:{value(){this.curVal=this.value,this.loadRemoteLabel()},selectedKey(e){e&&this.selected(e)},getSelectOptions(e){this.refresh=!1,this.selectList=e,setTimeout((()=>{this.refresh=!0}),500)}},computed:{tickStrategy(){return"leaf_only"==l().get(this.fieldConf,"can","all")?"leaf-filtered":"strict"},openLocate(){return l().get(this.fieldConf,"enable_locate")},points(){return l().get(this.value,"all_points",[])},canSelect(){return l().get(this.fieldConf,"can")},getSelectOptions(){return this.selectOptions?this.selectOptions():[]}},mounted(){this.curVal=this.value,this.loadRemoteLabel()},methods:{confirm(){let e=this.selectedKey;e=l().toString(e);let t=l().get(this.treeItemMap,e,null);t&&(this.label=t.label,t=l().cloneDeep(t),delete t.label,delete t.lazy,delete t.path_names,delete t.pathNames,delete t.selectable,delete t.haspic,delete t.children,this.value,this.$emit("input",{id:t.id,path_ids:t.path_ids,all_points:[],type:t.type}),this.toClose())},handleNodeClick(e){console.log("data",e),e.selectable&&(this.selectedKey=l().get(e,"id",""))},handleCheck(e,t){console.log("data",e),console.log("state",t),this.selectedKey=l().get(e,"id","")},toOpen(){this.opened=!0},toClose(){this.opened=!1},reset(){try{let e=this.value;this.selectedKey=l().get(e,"id","")}catch(e){this.selectedKey=""}},async onOpen(){if(l().isEmpty(this.selectList)||!this.selectList){let e=await this.loadList("");this.selectList=e,this.reset()}this.opened=!0},clear(){this.removeValue(),this.resetLabel(),this.selectedKey=""},onLazyTreeLoad(e,t){setTimeout((async()=>{let n=[];n=0==e.level?await this._loadNextCategoryList(""):await this._loadNextCategoryList(e.data.id),this.setCategoryInMap(n),t(n)}),500)},async _loadNextCategoryList(e){let t=await this.loadList(e);return this.transformResultToTree(t)},transformResultToTree(e){let t=this.canSelect;return l().map(e,(e=>{let n=e.drawing_md5s;n=l().compact(n);let i={id:e.id,lazy:e.is_parent,label:e.name,isLeaf:!e.is_parent,path_ids:e.path_ids,path_names:e.path_names,selectable:e.available,disabled:!e.available,haspic:!!n.length,type:e.type};return"building_floor"==t&&3==e.type&&(i.lazy=!1),l().set(this.treeItemMap,e.id,i),i}))},async loadList(e){let t=this.search_keyword,n=JSON.stringify({id:e,path_ids:l().get(this.treeItemMap,`${e}.path_ids`),type:l().get(this.treeItemMap,`${e}.type`)}),i=zj.pageParam({father:n,q:t});e||delete i.father,this.selectFields&&(i.fields=this.selectFields);let a=await this.$bpm.loadSelectLinkageResult({fieldId:this.fieldConf.id,params:i,cusFormName:this.formName,field:this,container:this.container});return console.log("data",a),a},setCategoryInMap(e){l().each(e,(e=>{l().set(this.allAreaMap,e.value,e)}))},_setCheckedKeys(e){this.$refs.tree.setCheckedKeys([]),this.$refs.tree.setCheckedKeys([e])},selected(e,t){e=l().toString(e);let n=l().get(this.treeItemMap,e,null);n&&e&&n.selectable&&(this._setCheckedKeys(e),this.cur_label=n.label)},expand(e,t){if(e=l().toString(e),!l().get(this.treeItemMap,e,null).lazy||t)this.selected(e,t);else{let t=this.$refs.tree.isExpanded(l().toInteger(e));this.$refs.tree.setExpanded(l().toInteger(e),!t)}},savePlan(e){this.curVal.all_points=l().cloneDeep(e),this.$emit("input",this.curVal.all_points),this.$emit("change",this.curVal.all_points)},async search(){let e=this.search_keyword;if(this.keyword=e,this.expandedKeys=[],!e)return;this.$bpm.setFuncGIO("区域搜索");let t=await this._loadNextCategoryList("");this.changeLazy(t),this.filterNodes=t},changeLazy(e){this.setCategoryInMap(e),l().each(e,(e=>{this.expandedKeys.push(e.value),e.lazy=!1,e.expandable=!0,e.children&&this.changeLazy(e.children)}))},async loadRemoteLabel(){if(!this.value)return;let e=this.value;if(!l().isNil(e)&&e)try{this.loading=!0,e=l().cloneDeep(e),delete e.all_points,delete e.path_ids,delete e.type,e=JSON.stringify(e);let t=await this.$bpm.fetchLabelByValue(e,this.fieldConf.id,this.formName,this,"id",this.row);this.subareas=l().get(t,"subareas",[]),this.drawingMd5s=l().get(t,"drawing_md5s",[]);let n=l().join(t.path_names,"/");this.label=`${n}${n?"/":""}${t.name}`}finally{this.loading=!1}else this.label=""},onHide(){this.opened=!1}}},p=(0,u.A)(h,a,[],!1,null,null,null);p.options.__file="components/lib/bpmArea/src/part/editor.vue";var g=p.exports,y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"select-area-editor"},[n("div",{on:{click:function(t){return t.stopPropagation(),e.toOpen.apply(null,arguments)}}},[e.labels.length>0?n("div",[e._l(e.labels,(function(t){return n("el-tag",{key:t,staticStyle:{"margin-right":"10px","margin-top":"5px"}},[e._v(e._s(t))])})),e._v(" "),n("i",{staticClass:"el-icon-circle-close",on:{click:function(t){return t.stopPropagation(),e.delAllItem()}}})],2):n("div",[n("el-button",{attrs:{size:"small",icon:"el-icon-location-outline"}},[e._v(" "+e._s(e.$z("选择区域","c.select_area")))])],1)]),e._v(" "),n("el-dialog",e._g(e._b({attrs:{visible:e.opened,"before-close":e.onHide,width:"65%",title:e.fieldConf.name,fullscreen:!1,"append-to-body":""},on:{"update:visible":function(t){e.opened=t},open:e.onOpen}},"el-dialog",e.$attrs,!1),e.$listeners),[n("div",[e._v("\n "+e._s(e.$z("当前选中","b2.common.selected"))+":\n "),e._l(e.labelObjs,(function(t,i){return[i<5?n("el-tag",{key:t.id,staticStyle:{"margin-right":"10px","margin-top":"5px"},attrs:{closable:""},on:{close:function(n){return e.delHandle(t)}}},[e._v(e._s(t.pathNames))]):e._e()]})),e._v(" "),e.labelObjs.length>5?n("el-dropdown",[n("el-button",{attrs:{type:"primary"}},[e._v("\n "+e._s(e.$z("更多","c.more"))),n("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e._l(e.labelObjs,(function(t,i){return[i>=5?n("el-dropdown-item",{key:t.id},[n("el-tag",{staticStyle:{"margin-right":"10px","margin-top":"5px"},attrs:{closable:""},on:{close:function(n){return e.delHandle(t)}}},[e._v(e._s(t.pathNames))])],1):e._e()]}))],2)],1):e._e()],2),e._v(" "),e.refresh?n("div",{staticClass:"subcategory-tree-box"},[n("div",{staticClass:"subcategory-tree",staticStyle:{"max-height":"550px",overflow:"auto"}},[n("el-tree",{ref:"tree",attrs:{props:e.defaultProps,lazy:"","node-key":"id","show-checkbox":!0,load:e.onLazyTreeLoad,"expand-on-click-node":!1,"check-on-click-node":!0,"check-strictly":!0},on:{"node-click":e.handleNodeClick,"check-change":e.handleCheckChange},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.node;return n("span",{staticClass:"custom-tree-node"},[n("div",{staticClass:"tree-body-content"},[n("div",[e._v(e._s(i.label))]),e._v(" "),"strict"==e.tickStrategy&&i.lazy&&i.selectable?n("span",{on:{click:function(t){return t.stopPropagation(),e.expand(i.id,"force")}}},[e._v(e._s(e.$z("选择","c.choose")))]):e._e()])])}}],null,!1,3939466302)})],1),e._v(" "),n("div",{staticStyle:{display:"flex","flex-direction":"row-reverse"}},[n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v(e._s(e.$z("确认","c.confirm")))]),e._v(" "),n("el-button",{staticStyle:{"margin-right":"10px"},on:{click:function(t){return e.clear()}}},[e._v(e._s(e.$z("重置","c.reset")))])],1)]):e._e()]),e._v(" "),e.openLocate?n("room-map-select",{attrs:{field:e.field,drawingMd5s:e.drawingMd5s,defaultPoints:e.points,subareas:e.subareas},on:{save:e.savePlan}}):e._e()],1)};y._withStripped=!0,r().use(d.Dialog);var b={props:["value","fieldConf","row","formName","orgInfo","isMultiple"],components:{RoomMapSelect:f},inject:["selectOptions"],data(){return{curVal:[],label:zj.z("选择区域","c.select_area"),labels:[],labelObjs:[],keyword:"",opened:!1,debounceSearch:l().debounce(l().bind(this.search,this),150,{trailing:!0,leading:!1}),formList:[],treeItemMap:{},subareas:[],drawingMd5s:[],refresh:!0,selectedKeys:[],selectedItems:[],defaultProps:{children:"children",label:"label",isLeaf:"isLeaf"},selectList:[],allAreaMap:{}}},watch:{value(){this.curVal=this.value,this.selectedKeys=l().map(this.curVal,(e=>e.id)),this.loadRemoteLabel()},selectedKeys(e){e&&this.selected(e)},getSelectOptions(e){this.refresh=!1,this.selectList=e,setTimeout((()=>{this.refresh=!0}),500)}},computed:{tickStrategy(){return"leaf_only"==l().get(this.fieldConf,"can","all")?"leaf-filtered":"strict"},openLocate(){return l().get(this.fieldConf,"enable_locate")},points(){return l().get(this.value,"all_points",[])},canSelect(){return l().get(this.fieldConf,"can")},getSelectOptions(){return this.selectOptions?this.selectOptions():[]}},mounted(){this.curVal=this.value,this.loadRemoteLabel()},methods:{delAllItem(){this.clear(),this.$nextTick((()=>{this.onSubmit()}))},delHandle(e){this.selectedKeys=l().filter(this.selectedKeys,(t=>t!=e.id)),this.setCheckedNode(this.selectedKeys)},handleNodeClick(e){},setCheckedNode(e){let t=[];t=e||l().map(this.value,(e=>e.id)),this.$refs.tree&&this.$refs.tree.setCheckedKeys(t)},handleCheckChange(e,t,n){t?this.selectedKeys.push(e.id):this.selectedKeys=l().filter(this.selectedKeys,(t=>t!=e.id))},toOpen(){this.opened=!0},toClose(){this.opened=!1},reset(){this.selectedKeys=[]},onSubmit(){console.log("this.selectItems",this.selectedItems),this.$emit("input",this.selectedItems),this.toClose()},async onOpen(){this.opened=!0},clear(){this.selectedKeys=[],this.selectedItems=[],this.labels=[],this.labelObjs=[],this.curVal=[],this.setCheckedNode([])},onLazyTreeLoad(e,t){setTimeout((async()=>{let n=[];0==e.level?(n=await this._loadNextCategoryList(""),this.setCheckedNode()):n=await this._loadNextCategoryList(e.data.id),this.setCategoryInMap(n),t(n)}),500)},async _loadNextCategoryList(e){let t=await this.loadList(e);return this.transformResultToTree(t)},transformResultToTree(e){let t=this.canSelect;return this.loading=!1,l().map(e,(e=>{let n=!0;switch(t){case"any":n=!0;break;case"leaf_only":n=!e.is_parent;break;case"building":n=2==e.type;break;case"floor":n=3==e.type;break;case"building_floor":n=2==e.type||3==e.type;break;case"suite":n=4==e.type||5==e.type;break;case"suite_ex":n=4==e.type||5==e.type||6==e.type}let i=l().join(e.path_names,"/"),a={id:e.id,lazy:e.is_parent,isLeaf:!e.is_parent,label:e.name,type:e.type,path_ids:e.path_ids,path_names:e.path_names,pathNames:`${i}${i?"/":""}${e.name}`,tickable:n,noTick:!n};return"building_floor"==t&&3==e.type&&(a.lazy=!1,a.isLeaf=!0),l().set(this.treeItemMap,e.id,a),a}))},async loadList(e){let t=this.search_keyword,n=JSON.stringify({id:e,path_ids:l().get(this.treeItemMap,`${e}.path_ids`),type:l().get(this.treeItemMap,`${e}.type`)}),i=zj.pageParam({father:n,q:t});return e||delete i.father,this.selectFields&&(i.fields=this.selectFields),await this.$bpm.loadSelectLinkageResult({fieldId:this.fieldConf.id,params:i,cusFormName:this.formName,field:this,container:this.container})},setCategoryInMap(e){l().each(e,(e=>{l().set(this.allAreaMap,e.value,e)}))},selected(e,t){this.selectedItems=[],e&&e.length>0&&l().each(e,(e=>{e=l().toString(e);let t=l().get(this.treeItemMap,e,null);t&&(this.label=t.label,t=l().cloneDeep(t),this.selectedItems.push({id:t.id,path_ids:t.path_ids,all_points:[],type:t.type}))})),this.curVal=l().cloneDeep(this.selectedItems),this.loadRemoteLabel()},expand(e,t){if(e=l().toString(e),!l().get(this.treeItemMap,e,null).lazy||t)this.selected(e,t);else{let t=this.$refs.tree.isExpanded(l().toInteger(e));this.$refs.tree.setExpanded(l().toInteger(e),!t)}},savePlan(e){this.curVal.all_points=l().cloneDeep(e),this.$emit("input",this.curVal.all_points),this.$emit("change",this.curVal.all_points)},async search(){let e=this.search_keyword;if(this.keyword=e,this.expandedKeys=[],!e)return;this.$bpm.setFuncGIO("区域搜索");let t=await this._loadNextCategoryList("");this.changeLazy(t),this.filterNodes=t},changeLazy(e){this.setCategoryInMap(e),l().each(e,(e=>{this.expandedKeys.push(e.value),e.lazy=!1,e.isLeaf=!0,e.expandable=!0,e.children&&this.changeLazy(e.children)}))},async loadRemoteLabel(){if(this.curVal)if(!l().isNil(this.curVal)&&this.curVal&&0!=this.curVal.length)try{let e=[];l().each(this.curVal,(t=>{e.push(JSON.stringify(t))})),this.loading=!0;let t=await this.$bpm.fetchLabelByValues(e,this.fieldConf.id,this.formName,this,"id");this.subareas=l().get(t,"subareas",[]),this.drawingMd5s=l().get(t,"drawing_md5s",[]),this.labels=[];let n=l().map(t,(e=>{let t=l().join(e.path_names,"/");return e.pathNames=`${t}${t?"/":""}${e.name}`,l().set(this.treeItemMap,e.id,e),e.pathNames}));this.labelObjs=l().cloneDeep(t),this.labels=l().cloneDeep(n),n=l().join(n,", "),this.label=n}finally{this.loading=!1}else this.label=zj.z("选择区域","c.select_area")},onHide(){this.opened=!1}}},v=(0,u.A)(b,y,[],!1,null,null,null);v.options.__file="components/lib/bpmArea/src/part/multi-editor.vue";var w=v.exports,M=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"area-reader"},[e.isMultiple?[e.openLocate?e._l(e.labelObjs,(function(t){return n("div",{key:t.id},[n("el-tag",{staticStyle:{"margin-right":"10px","margin-top":"5px"}},[e._v(e._s(t.pathNames))]),e._v(" "),e.openLocate?n("room-map-select",{attrs:{drawingMd5s:t.drawingMd5s,defaultPoints:e.points,subareas:t.subareas}}):e._e()],1)})):e._l(e.labelObjs,(function(t){return n("el-tag",{key:t.id,staticStyle:{"margin-right":"10px","margin-top":"5px"}},[e._v(e._s(t.pathNames))])}))]:[n("span",{attrs:{title:e.label}},[e._v(e._s(e.label)+" "),n("i",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}],staticClass:"el-icon-loading",attrs:{size:"14px"}})]),e._v(" "),e.openLocate?n("room-map-select",{attrs:{drawingMd5s:e.drawingMd5s,defaultPoints:e.points,subareas:e.subareas}}):e._e()]],2)};M._withStripped=!0;var k={props:["value","fieldConf","row","formName","orgInfo","isMultiple"],components:{RoomMapSelect:f},data(){return{label:"",labelObjs:[],loading:!1,subareas:[],drawingMd5s:[],curVal:[]}},watch:{value(){this.curVal=this.value,this.isMultiple?this.loadRemoteLabels():this.loadRemoteLabel()}},computed:{openLocate(){return _.get(this.fieldConf,"enable_locate")},points(){return _.get(this.value,"all_points",[])}},mounted(){this.curVal=this.value,this.isMultiple?this.loadRemoteLabels():this.loadRemoteLabel()},methods:{async loadRemoteLabel(){let e="";if(e=_.isArray(this.value)?this.value[0]:this.value,!_.isNil(e)&&e)try{this.loading=!0,e=_.cloneDeep(e),delete e.all_points,delete e.path_ids,delete e.type,e=JSON.stringify(e);let t=await this.$bpm.fetchLabelByValue(e,this.fieldConf.id,this.formName,this,"id",this.row);this.subareas=_.get(t,"subareas",[]),this.drawingMd5s=_.get(t,"drawing_md5s",[]);let n=_.join(t.path_names,"/");this.label=`${n}${n?"/":""}${t.name}`,this.loading=!1}finally{this.loading=!1}else this.label=zj.z("未选择","c.not_selected")},async loadRemoteLabels(){if(!_.isNil(this.curVal)&&this.curVal&&0!=this.curVal.length)try{let e=[];_.each(this.curVal,(t=>{e.push(JSON.stringify(t))})),this.loading=!0;let t=await this.$bpm.fetchLabelByValues(e,this.fieldConf.id,this.formName,this,"id");this.labels=[];let n=_.map(t,(e=>{let t=_.join(e.path_names,"/");return e.pathNames=`${t}${t?"/":""}${e.name}`,_.set(this.treeItemMap,e.id,e),e.pathNames}));this.labelObjs=_.cloneDeep(t),this.labels=_.cloneDeep(n),n=_.join(n,", "),this.label=n}finally{this.loading=!1}}}},L=(0,u.A)(k,M,[],!1,null,null,null);L.options.__file="components/lib/bpmArea/src/part/reader.vue";var S=L.exports,x={name:"BpmArea",components:{editorComponent:g,multiEditorComponent:w,readerComponent:S},props:{value:{type:[String,Array,Number]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},isMultiple:{type:Boolean,default(){return!1}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?S:this.isMultiple?w:g}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},D=(0,u.A)(x,i,[],!1,null,null,null);D.options.__file="components/lib/bpmArea/src/main.vue";var C=D.exports;C.install=function(e){e.component(C.name,C)};var T=C},2079:function(e){"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},2105:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9029),a={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxProperties"===e?"more":"fewer";return i.str`must NOT have ${n} than ${t} properties`},params:({schemaCode:e})=>i._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:a}=e,o="maxProperties"===t?i.operators.GT:i.operators.LT;e.fail$data(i._`Object.keys(${n}).length ${o} ${a}`)}};t.default=a},2124:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return i?a[n][0]:a[n][1]}e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){return"D"===t?e+"वेर":e},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}})}(n(5093))},2128:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(3463),a=n(3693),o=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",i.default,a.default];t.default=o},2172:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314);n.n(o)()(a()).push([e.id,".bpm-text-edit .prefab-words[data-v-9e58c8e8] {\n padding-top: 10px;\n}\n.bpm-text-edit .prefab-words ul[data-v-9e58c8e8],\n.bpm-text-edit .prefab-words li[data-v-9e58c8e8] {\n margin: 0;\n padding: 0;\n list-style: none;\n}\n.bpm-text-edit .prefab-words ul[data-v-9e58c8e8] {\n overflow: hidden;\n margin-top: 5px;\n}\n.bpm-text-edit .prefab-words li[data-v-9e58c8e8] {\n float: left;\n min-height: 28px;\n line-height: 28px;\n cursor: pointer;\n min-width: 50px;\n font-size: 14px;\n padding: 0 10px;\n margin-right: 10px;\n border: 1px solid #DCDCDC;\n border-radius: 100px;\n color: #666666;\n text-align: center;\n margin-bottom: 5px;\n}\n.bpm-text-edit .prefab-words li.active[data-v-9e58c8e8] {\n background: #1EAAD0;\n border: 1px solid #1EAAD0;\n color: #fff;\n}\n.bpm-text-view.table-text-view.Text-view[data-v-9e58c8e8],\n.bpm-text-view.table-text-view.TextArea-view[data-v-9e58c8e8] {\n word-break: break-word;\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 5;\n -webkit-box-orient: vertical;\n}\n.TextArea-view[data-v-9e58c8e8] {\n white-space: pre-wrap;\n}\n.bpm-text-popper[data-v-9e58c8e8] {\n padding: 10px !important;\n}\n",""])},2179:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",["view"===e.mode?n("div",{staticStyle:{display:"flex","max-width":"360px",cursor:"pointer"},attrs:{title:e.value},on:{click:e.openOptionsModal}},[n("span",{staticStyle:{flex:"1"}},[e._v("\n "+e._s(e.label||"--")+"\n ")]),e._v(" "),n("i",{staticClass:"fa fa-angle-right",attrs:{"aria-hidden":"true"}})]):n("div",{staticStyle:{display:"flex","max-width":"360px",cursor:"pointer"},attrs:{title:e.value},on:{click:e.openOptionsModal}},[n("span",{staticStyle:{flex:"1"}},[e._v("\n "+e._s(e.label||(e.loading?""+e.$z("加载中","c.loading"):""+e.$z("请选择","c.please_select")+e.fieldConf.name+"(多选)"))+"\n "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}],staticClass:"typing_loader"})]),e._v(" "),n("i",{staticClass:"fa fa-angle-right",attrs:{"aria-hidden":"true"}})]),e._v(" "),n("el-dialog",{attrs:{title:e.fieldConf.name,visible:e.optionsModalShow,width:"50%",top:"10vh","custom-class":"bpm-select-entrance-form"},on:{"update:visible":function(t){e.optionsModalShow=t},close:e.handleClose}},[n("div",{staticClass:"main-wrap",style:{maxHeight:"70vh",overflow:"auto"}},["view"===e.mode?e._l(e.items,(function(t){return n("el-card",{key:t.form_id,staticClass:"select-option-card",attrs:{shadow:"hover","body-style":{padding:"10px 20px"}}},[n("div",{attrs:{slot:"header"},slot:"header"},[n("span",[e._v(e._s(t.title))])]),e._v(" "),n("div",{staticClass:"card-body-content"},[n("div",[n("span",{staticClass:"bpm-status_tag-status",style:{background:e.getStatus(t.f_fields[e.statusField.id],"color")}},[e._v(e._s(e.getStatus(t.f_fields[e.statusField.id],"label")))])]),e._v(" "),e._l(e.descFields,(function(i){return n("div",{key:i.id},[n("label",{staticClass:"label"},[e._v(e._s(i.name))]),e._v(" "),n("span",[e._v(e._s(t.f_fields[i.id]))])])}))],2)])})):[n("div",{staticClass:"search-wrap"},[e.enableSearchText?n("el-input",{attrs:{placeholder:e.$z("搜索","c.search_tip")},on:{input:e.debounceSearch},model:{value:e.keyword,callback:function(t){e.keyword=t},expression:"keyword"}},[n("i",{staticClass:"el-input__icon el-icon-search",staticStyle:{cursor:"pointer"},attrs:{slot:"suffix"},on:{click:e.debounceSearch},slot:"suffix"})]):e._e(),e._v(" "),n("el-button",{staticStyle:{"margin-left":"10px"},on:{click:function(t){e.filterModalShow=!0}}},[n("i",{staticClass:"fa fa-filter",attrs:{"aria-hidden":"true"}})])],1),e._v(" "),n("ul",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:e.loadMore,expression:"loadMore"}],staticClass:"edit-list"},[n("el-checkbox-group",{model:{value:e.selectedVals,callback:function(t){e.selectedVals=t},expression:"selectedVals"}},e._l(e.items,(function(t){return n("li",{key:t.form_id,staticClass:"edit-list-item"},[n("el-checkbox",{staticClass:"checkbox",attrs:{label:t.id}},[e._v(e._s())]),e._v(" "),n("el-card",{key:t.form_id,staticClass:"select-option-card",attrs:{shadow:"hover","body-style":{padding:"10px 20px"}}},[n("div",{attrs:{slot:"header"},slot:"header"},[n("span",[e._v(e._s(t.title))])]),e._v(" "),n("div",{staticClass:"card-body-content"},[n("div",[n("span",{staticClass:"bpm-status_tag-status",style:{background:e.getStatus(t.f_fields[e.statusField.id],"color")}},[e._v(e._s(e.getStatus(t.f_fields[e.statusField.id],"label")))])]),e._v(" "),e._l(e.descFields,(function(i){return n("div",{key:i.id},[n("label",{staticClass:"label"},[e._v(e._s(i.name))]),e._v(" "),n("span",[e._v(e._s(t.f_fields[i.id]))])])}))],2)])],1)})),0)],1)],e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.optionsLoading,expression:"optionsLoading"}],staticStyle:{"text-align":"center",margin:"46px auto"}},[n("span",{staticClass:"typing_loader"})]),e._v(" "),e.optionsLoading||e.items.length?e._e():n("div",[e._v("\n "+e._s(e.$z("暂无记录信息","c.no_record"))+"\n ")])],2),e._v(" "),"edit"===e.mode?n("footer",{staticClass:"footer",attrs:{slot:"footer"},slot:"footer"},[n("div",[n("el-checkbox",{attrs:{label:e.$z("全选","c.select_all")},on:{change:e.handleCheckAll},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}}),e._v(" "),e.selectedLabel?n("span",{staticClass:"subtext"},[e._v(e._s(e.selectedLabel))]):e._e()],1),e._v(" "),n("el-button",{staticClass:"width-button",attrs:{type:"primary",disabled:!e.selectedVals.length},on:{click:e.onSubmit}},[e._v(e._s(e.$z("保存","c.save")))])],1):e._e()]),e._v(" "),n("el-dialog",{attrs:{title:e.$z("数据筛选","b2.common.data_filter"),visible:e.filterModalShow,width:"50%","custom-class":"bpm-select-entrance-form"},on:{"update:visible":function(t){e.filterModalShow=t},close:function(t){e.filterModalShow=!1}}},[n("div",{staticStyle:{"max-height":"70vh",overflow:"auto"}},[n("BpmFieldsFilter",{ref:"searchForm",attrs:{searchSchema:e.searchSchema,verifySchema:e.verifySchema,orgInfo:e.orgInfo,formDefId:e.formSchema.id,showAll:!0,queryExclude:!0},on:{search:e.handleFilterReady}})],1),e._v(" "),n("span",{attrs:{slot:"footer"},slot:"footer"},[n("el-button",{staticClass:"width-button",on:{click:e.handleResetFilter}},[e._v(e._s(e.$z("重置","c.reset")))]),e._v(" "),n("el-button",{staticClass:"width-button",attrs:{type:"primary"},on:{click:e.handleSubmitFilter}},[e._v(e._s(e.$z("查询","c.query")))])],1)])],1)};i._withStripped=!0;var a=n(5281),o=n(9795),r=n(555);const s=["Area","MulArea"];var l={name:"BpmSelectEntranceForm",components:{BpmFieldsFilter:r.A},props:{value:{type:Array,default(){return[]}},type:{type:String,default:"MulSelectEntranceForm"},fieldConf:{type:Object,default(){return{}}},mode:{type:String,default:"view"},uiType:{type:String,default:"default"},formDefId:{type:String,default:""},orgInfo:{type:Object,default(){return{level:"group",level_id:0,group_id:0}}},formId:{type:String,default:""},dm:{type:Boolean,default(){return!1}},isMultiple:{type:Boolean,default(){return!0}}},data(){return{loading:!1,optionsModalShow:!1,items:[],selectedItems:[],selectedVals:[],optionsLoading:!1,statusField:{},descFields:[],shouldTransLabelKeys:[],formSchema:{},pagination:{action:"first",lastAt:null,total:0},checkAll:!1,filterModalShow:!1,searchSchema:{elements:[]},verifySchema:{},enableSearchText:!0,debounceSearch:_.debounce(_.bind(this.loadData,this),300,{trailing:!0,leading:!1}),keyword:"",filterParams:{}}},computed:{isMobile(){return(0,o.Fr)()},label(){const e=this.value;if(!e||!e.length)return"";let t=zj.z("已选择N条","c.number_is_selected");return _.template(t)({count:e.length})},selectedLabel(){if(!this.selectedVals.length)return"";let e=zj.z("选中N条","c.number_is_selected_2");return _.template(e)({count:this.selectedVals.length})}},methods:{getStatus(e,t){return((this.statusField.rangeEnumMap||{})[e]||{})[t]},async openOptionsModal(){this.optionsModalShow=!0,this.formSchema.id||await this.loadSchema(),this.value&&this.value.length&&await this.loadListSelected(),"edit"===this.mode&&(this.pagination.lastAt||(this.handleResetFilter(),this.loadData()),this.selectedVals=this.value||[])},handleClose(){this.optionsModalShow=!1,"edit"===this.mode&&(this.checkAll=!1,this.selectedVals=[])},handleResetFilter(){this.$refs.searchForm&&this.$refs.searchForm.reset()},handleSubmitFilter(){this.$refs.searchForm&&this.$refs.searchForm.submit()},handleFilterReady(e){this.filterParams=e||{},this.filterModalShow=!1,this.loadData()},handleCheckAll(e){this.selectedVals=e?_.map(this.items,(e=>e.id)):[]},onSubmit(){const e=_.cloneDeep(this.selectedVals);this.$emit("input",e),this.$emit("change",e),this.handleClose()},loadMore(){this.items.length<this.pagination.total&&this.loadData("next")},async loadData(e="first"){let t=this.formDefId;const n=this.fieldConf.id;e=["first","next","last","prev"].includes(e)?e:"first";let i=this.filterParams;this.keyword&&(i.q__contains=this.keyword),this.optionsLoading=!0;const o=(await a.A.assistSelectEntranceForm.getOptions(this.$bpm,{formDefId:t,fieldDefId:n,orgInfo:this.orgInfo,isDm:this.dm},{action:e,limit:20,last_at:"first"===e?null:this.pagination.lastAt,fields:JSON.stringify(i)})).data.data;console.log("assist_select_entrance_form data: ",o);const r=_.map(o.data,(e=>(_.each(e.f_fields,(async(t,n)=>{if(this.shouldTransLabelKeys.includes(n))if(_.isArray(t)){const i=a.A.assistField.getBatchLoader(this.$bpm,{formDefId:this.formSchema.id,fieldDefId:n,orgInfo:this.orgInfo});let o=await i.loads(...t);e.f_fields[n]=o.join(zj.z(",","c.comma"))}else{const i=a.A.assistField.getBatchLoader(this.$bpm,{formDefId:this.formSchema.id,fieldDefId:n,orgInfo:this.orgInfo});let o=await i.load(t);e.f_fields[n]=o}})),{title:e.title,id:e.form_id,form_id:e.form_id,f_fields:e.f_fields,fields:_.map(e.f_fields,((e,t)=>({key:t,value:e})))})));let s=r;if(this.selectedItems.length){let e=_.map(this.selectedItems,(e=>e.id));s=_.filter(r,(t=>!e.includes(t.id)))}this.items="next"===e?_.concat(this.items,s):_.concat(this.selectedItems,s),this.pagination.action=e,this.pagination.lastAt=o.last_at,this.pagination.total=o.count,this.optionsLoading=!1},async loadListSelected(){let e=this.formId;e=encodeURIComponent(e);let t=this.formDefId;const n=this.fieldConf.id;this.optionsLoading=!0;try{const i=(await a.A.assistSelectEntranceForm.getListSelected(this.$bpm,{formDefId:t,fieldDefId:n,orgInfo:this.orgInfo,isDm:this.dm},{form_id:e})).data.data;console.log("assist_select_entrance_form list_selected: ",i);const o=_.map(i.data,(e=>(_.each(e.f_fields,(async(t,n)=>{if(this.shouldTransLabelKeys.includes(n))if(_.isArray(t)){const i=a.A.assistField.getBatchLoader(this.$bpm,{formDefId:this.formSchema.id,fieldDefId:n,orgInfo:this.orgInfo});let o=await i.loads(...t);e.f_fields[n]=o.join(zj.z(",","c.comma"))}else{const i=a.A.assistField.getBatchLoader(this.$bpm,{formDefId:this.formSchema.id,fieldDefId:n,orgInfo:this.orgInfo});let o=await i.load(t);e.f_fields[n]=o}})),{title:e.title,id:e.form_id,form_id:e.form_id,f_fields:e.f_fields,fields:_.map(e.f_fields,((e,t)=>({key:t,value:e})))})));this.selectedItems=o,"view"===this.mode&&(this.items=o)}finally{this.optionsLoading=!1}},async loadSchema(){let e=this.formDefId;const t=this.fieldConf.id,n=(await a.A.assistSelectEntranceForm.getListDefinition(this.$bpm,{formDefId:e,fieldDefId:t,orgInfo:this.orgInfo,isDm:this.dm})).data.data;console.log("assist_select_entrance_form definition: ",n);let i={},o=[],r=[];_.each(n.definition.form.elements,(e=>{if("Status"!==e.type)o.push({id:e.id,name:e.name,value_type:e.value_type,type:e.type});else{let t={};e.range_enum.forEach((e=>{t[e[0]]={value:e[0],label:e[1],color:e[2]}})),i={id:e.id,name:e.name,value_type:e.value_type,type:e.type,rangeEnumMap:t}}(s.includes(e.type)||e.type.indexOf("Select")>-1)&&r.push(e.id)})),this.descFields=o,this.statusField=i,this.shouldTransLabelKeys=r,this.formSchema=n.definition.form,this.searchSchema=_.get(n,"definition.search",{elements:[]}),this.verifySchema=_.get(n,"schema.search",{});const l=!!this.searchSchema.elements&&_.find(this.searchSchema.elements,{id:"q__contains"});this.enableSearchText=this.searchSchema.enable_search_text&&l}}},d=(0,n(4486).A)(l,i,[],!1,null,null,null);d.options.__file="components/lib/bpmSelectEntranceForm/src/main.vue";var c=d.exports;c.install=function(e){e.component(c.name,c)};var u=c},2218:function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(5093))},2230:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,a=!1,o=void 0;try{for(var r,s=e[Symbol.iterator]();!(i=(r=s.next()).done)&&(n.push(r.value),!t||n.length!==t);i=!0);}catch(e){a=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};t.default=function(e){var t=e.mappedProps,n=e.name,i=e.ctr,l=e.ctrArgs,c=e.events,u=e.beforeCreate,m=e.afterCreate,f=e.props,h=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}(e,["mappedProps","name","ctr","ctrArgs","events","beforeCreate","afterCreate","props"]),p="$"+n+"Promise",_="$"+n+"Object";return function(e){if(!e)throw new Error("`props` should be an object, not Array")}(!(h.props instanceof Array)),a({},"undefined"!=typeof GENERATE_DOC?{$vgmOptions:e}:{},{mixins:[s.default],props:a({},f,d(t)),render:function(){return""},provide:function(){var e,n,s,d=this,h=this.$mapPromise.then((function(e){d.$map=e;var n=a({},d.options,{map:e},(0,r.getPropsValues)(d,t));if(delete n.options,u){var i=u.bind(d)(n);if(i instanceof Promise)return i.then((function(){return{options:n}}))}return{options:n}})).then((function(e){var n,a=e.options,s=i();return d[_]=l?new((n=Function.prototype.bind).call.apply(n,[s,null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(l(a,(0,r.getPropsValues)(d,f||{})))))):new s(a),(0,r.bindProps)(d,d[_],t),(0,o.default)(d,d[_],c),m&&m.bind(d)(d[_]),d[_]}));return this[p]=h,s=h,(n=p)in(e={})?Object.defineProperty(e,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[n]=s,e},destroyed:function(){this[_]&&this[_].setMap&&this[_].setMap(null)}},h)},t.mappedPropsToVueProps=d;var o=l(n(7146)),r=n(7049),s=l(n(410));function l(e){return e&&e.__esModule?e:{default:e}}function d(e){return Object.entries(e).map((function(e){var t=i(e,2),n=t[0],a=t[1],o={};return"type"in a&&(o.type=a.type),"default"in a&&(o.default=a.default),"required"in a&&(o.required=a.required),[n,o]})).reduce((function(e,t){var n=i(t,2),a=n[0],o=n[1];return e[a]=o,e}),{})}},2264:function(e,t,n){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(5093))},2271:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"минута":"минуту":e+" "+(i=+e,a={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),i%10==1&&i%100!=11?a[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?a[1]:a[2]);var i,a}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,w:"неделя",ww:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n(5093))},2274:function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"én time",hh:"%d timer",d:"én dag",dd:"%d dager",w:"én uke",ww:"%d uker",M:"én måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},2297:function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(5093))},2353:function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(e){return function(t,a,o,r){var s=n(t),l=i[e][n(t)];return 2===s&&(l=l[a?0:1]),l.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(5093))},2392:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o)()(a());r.push([e.id,".select-position-table{height:100%;max-height:600px;overflow:auto}.select-position-table table,.select-position-table td,.select-position-table th{border:0 solid #E2E2E2;border-collapse:collapse;text-align:center;padding:0}.select-position-table .left-table{height:100%}.select-position-table .select-position-table-content{display:flex}.select-position-table .select-position-table-content .select-position-table-content-left .floor{display:flex;align-items:center;height:100%;border:2px solid #E2E2E2;box-sizing:border-box;text-align:center;justify-content:center;width:100px!important}.select-position-table .select-position-table-content .select-position-table-content-right{width:100%;overflow:auto}.position-table-cell .flag{position:absolute;right:0;top:0;width:0;height:0;border-style:solid;border-top:8px solid #246AE3;border-right:8px solid #246AE3;border-left:8px solid transparent;border-bottom:8px solid transparent}.position-table-cell .flag .icon{position:absolute;right:-10px;top:-10px;font-size:12px;color:#FFF;font-weight:900}.position-table-cell .is_selected .parent{position:relative;border-top:2px solid #246AE3!important;border-left:2px solid #246AE3!important;border-right:2px solid #246AE3!important}.position-table-cell .is_selected .only-parent{border-bottom:2px solid #246AE3!important}.position-table-cell .is_selected .cell-childs{position:relative}.position-table-cell .is_selected .cell-childs .cell-child{position:relative;border-bottom:2px solid #246AE3!important}.position-table-cell .is_selected .cell-childs .cell-child:first-child{border-left:2px solid #246AE3!important}.position-table-cell .is_selected .cell-childs .cell-child:last-child{border-right:2px solid #246AE3!important}.position-table-cell .is_child_selected{border:2px solid #246AE3!important}.position-table-cell .cell-parent{box-sizing:content-box}.position-table-cell .cell-parent .parent{padding:10px;border:2px solid #E2E2E2;min-width:60px;overflow:hidden}.position-table-cell .cell-parent .cell-childs{box-sizing:content-box;display:flex;border:none}.position-table-cell .cell-parent .cell-childs .cell-child{position:relative;border:2px solid #E2E2E2;white-space:nowrap;word-break:none;padding:10px;flex:1;border-right:2px solid #E2E2E2}",""]),t.A=r},2419:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o)()(a());r.push([e.id,'@charset "UTF-8";.el-tiptap-editor{border-radius:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-height:100%;position:relative;width:100%}.el-tiptap-editor,.el-tiptap-editor *{-webkit-box-sizing:border-box;box-sizing:border-box}.el-tiptap-editor .border-top-radius{border-top-left-radius:8px;border-top-right-radius:8px}.el-tiptap-editor .border-bottom-radius{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.el-tiptap-editor__codemirror{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;font-size:16px;line-height:24px;overflow:scroll}.el-tiptap-editor__codemirror .CodeMirror{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;height:auto}.el-tiptap-editor--fullscreen{border-radius:0!important;bottom:0!important;height:100%!important;left:0!important;margin:0!important;position:fixed!important;right:0!important;top:0!important;width:100%!important;z-index:500}.el-tiptap-editor--fullscreen .el-tiptap-editor__content,.el-tiptap-editor--fullscreen .el-tiptap-editor__footer,.el-tiptap-editor--fullscreen .el-tiptap-editor__menu-bar{border-radius:0!important}.el-tiptap-editor>.el-tiptap-editor__content{background-color:#fff;border:1px solid #ebeef5;border-bottom:0;border-top:0;color:#000;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding:30px 20px}.el-tiptap-editor__menu-bar{background-color:#fff;border:1px solid #ebeef5;border-bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:5px;position:relative}.el-tiptap-editor__menu-bar:before{bottom:0;background-color:#ebeef5;content:"";height:1px;left:0;margin:0 10px;right:0;position:absolute}.el-tiptap-editor__menu-bubble{background-color:#fff;border-radius:8px;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);display:-webkit-box;display:-ms-flexbox;display:flex;padding:5px;opacity:0;position:absolute;-webkit-transform:translateX(-50%);transform:translateX(-50%);-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out;visibility:hidden;z-index:50}.el-tiptap-editor__menu-bubble--active{opacity:1;visibility:visible}.el-tiptap-editor__content{font-family:sans-serif;line-height:1.7;overflow-x:auto;text-align:left}.el-tiptap-editor__content,.el-tiptap-editor__content>*{-webkit-box-sizing:border-box;box-sizing:border-box}.el-tiptap-editor__content p{margin-bottom:0;margin-top:0;outline:0}.el-tiptap-editor__content h1,.el-tiptap-editor__content h2,.el-tiptap-editor__content h3,.el-tiptap-editor__content h4,.el-tiptap-editor__content h5{margin-top:20px;margin-bottom:20px}.el-tiptap-editor__content h1:first-child,.el-tiptap-editor__content h2:first-child,.el-tiptap-editor__content h3:first-child,.el-tiptap-editor__content h4:first-child,.el-tiptap-editor__content h5:first-child{margin-top:0}.el-tiptap-editor__content h1:last-child,.el-tiptap-editor__content h2:last-child,.el-tiptap-editor__content h3:last-child,.el-tiptap-editor__content h4:last-child,.el-tiptap-editor__content h5:last-child{margin-bottom:0}.el-tiptap-editor__content ol,.el-tiptap-editor__content ul{counter-reset:none;list-style-type:none;margin-bottom:0;margin-left:24px;margin-top:0;padding-bottom:5px;padding-left:0;padding-top:5px}.el-tiptap-editor__content li>p{margin:0}.el-tiptap-editor__content li>p:first-child:before{content:counter(el-tiptap-counter) ".";display:inline-block;left:-5px;line-height:1;margin-left:-24px;position:relative;text-align:right;top:0;width:24px}.el-tiptap-editor__content ul li>p:first-child:before{content:"•";text-align:center}.el-tiptap-editor__content ol{counter-reset:el-tiptap-counter}.el-tiptap-editor__content ol li>p:first-child:before{counter-increment:el-tiptap-counter}.el-tiptap-editor__content a{color:#409eff;cursor:pointer}.el-tiptap-editor__content blockquote{border-left:5px solid #edf2fc;border-radius:2px;color:#606266;margin:10px 0;padding-left:1em}.el-tiptap-editor__content code{background-color:#d9ecff;border-radius:4px;color:#409eff;display:inline-block;font-size:14px;font-weight:700;padding:0 8px}.el-tiptap-editor__content pre{background-color:#303133;color:#d9ecff;font-size:16px;overflow-x:auto;padding:14px 20px;margin:10px 0;border-radius:5px}.el-tiptap-editor__content pre code{background-color:transparent;border-radius:0;color:inherit;display:block;font-family:"Menlo,Monaco,Consolas,Courier,monospace";font-size:inherit;font-weight:400;padding:0}.el-tiptap-editor__content img{display:inline-block;float:none;margin:12px 0;max-width:100%}.el-tiptap-editor__content img[data-display=inline]{margin-left:12px;margin-right:12px}.el-tiptap-editor__content img[data-display=block]{display:block}.el-tiptap-editor__content img[data-display=left]{float:left;margin-left:0;margin-right:12px}.el-tiptap-editor__content img[data-display=right]{float:right;margin-left:12px;margin-right:0}.el-tiptap-editor__content .image-view{display:inline-block;float:none;line-height:0;margin:12px 0;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:baseline}.el-tiptap-editor__content .image-view--inline{margin-left:12px;margin-right:12px}.el-tiptap-editor__content .image-view--block{display:block}.el-tiptap-editor__content .image-view--left{float:left;margin-left:0;margin-right:12px}.el-tiptap-editor__content .image-view--right{float:right;margin-left:12px;margin-right:0}.el-tiptap-editor__content .image-view__body{clear:both;display:inline-block;max-width:100%;outline-color:transparent;outline-style:solid;outline-width:2px;-webkit-transition:all .2s ease-in;transition:all .2s ease-in;position:relative}.el-tiptap-editor__content .image-view__body:hover{outline-color:#ffc83d}.el-tiptap-editor__content .image-view__body--focused:hover,.el-tiptap-editor__content .image-view__body--resizing:hover{outline-color:transparent}.el-tiptap-editor__content .image-view__body__placeholder{height:100%;left:0;position:absolute;top:0;width:100%;z-index:-1}.el-tiptap-editor__content .image-view__body__image{cursor:pointer;margin:0}.el-tiptap-editor__content .image-resizer{border:1px solid #409eff;height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.el-tiptap-editor__content .image-resizer__handler{background-color:#409eff;border:1px solid #fff;border-radius:2px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;height:12px;position:absolute;width:12px;z-index:2}.el-tiptap-editor__content .image-resizer__handler--tl{cursor:nw-resize;left:-6px;top:-6px}.el-tiptap-editor__content .image-resizer__handler--tr{cursor:ne-resize;right:-6px;top:-6px}.el-tiptap-editor__content .image-resizer__handler--bl{bottom:-6px;cursor:sw-resize;left:-6px}.el-tiptap-editor__content .image-resizer__handler--br{bottom:-6px;cursor:se-resize;right:-6px}.el-tiptap-editor__content ul[data-type=todo_list]{margin-left:5px}.el-tiptap-editor__content ul[data-type=todo_list] .todo-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;margin-bottom:0}.el-tiptap-editor__content ul[data-type=todo_list] .todo-item[data-text-align=right]{-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.el-tiptap-editor__content ul[data-type=todo_list] .todo-item[data-text-align=center]{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.el-tiptap-editor__content ul[data-type=todo_list] .todo-item[data-text-align=justify]{text-align:space-between!important}.el-tiptap-editor__content ul[data-type=todo_list] .todo-item .todo-content{padding-left:10px}.el-tiptap-editor__content ul[data-type=todo_list] .todo-item .todo-content>p{font-size:16px}.el-tiptap-editor__content ul[data-type=todo_list] .todo-item .todo-content>p:last-of-type{margin-bottom:0}.el-tiptap-editor__content ul[data-type=todo_list] .todo-item--done>.todo-checkbox{color:#409eff}.el-tiptap-editor__content ul[data-type=todo_list] .todo-item--done>.todo-content>p{color:#409eff;text-decoration:line-through}.el-tiptap-editor__content hr{margin-top:20px;margin-bottom:20px}.el-tiptap-editor__content [data-indent="1"]{margin-left:30px!important}.el-tiptap-editor__content [data-indent="2"]{margin-left:60px!important}.el-tiptap-editor__content [data-indent="3"]{margin-left:90px!important}.el-tiptap-editor__content [data-indent="4"]{margin-left:120px!important}.el-tiptap-editor__content [data-indent="5"]{margin-left:150px!important}.el-tiptap-editor__content [data-indent="6"]{margin-left:180px!important}.el-tiptap-editor__content [data-indent="7"]{margin-left:210px!important}.el-tiptap-editor__content .tableWrapper{margin:1em 0;overflow-x:auto}.el-tiptap-editor__content table{border-collapse:collapse;table-layout:fixed;width:100%;margin:0;overflow:hidden}.el-tiptap-editor__content td,.el-tiptap-editor__content th{border:2px solid #ebeef5;-webkit-box-sizing:border-box;box-sizing:border-box;min-width:1em;padding:3px 5px;position:relative;vertical-align:top}.el-tiptap-editor__content td.selectedCell,.el-tiptap-editor__content th.selectedCell{background-color:#ecf5ff}.el-tiptap-editor__content th{font-weight:500;text-align:left}.el-tiptap-editor__content .column-resize-handle{background-color:#b3d8ff;bottom:0;pointer-events:none;position:absolute;right:-2px;top:0;width:4px;z-index:20}.el-tiptap-editor__content .iframe{height:0;padding-bottom:56.25%;position:relative;width:100%}.el-tiptap-editor__content .iframe__embed{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.el-tiptap-editor__content .resize-cursor{cursor:ew-resize;cursor:col-resize}.el-tiptap-editor__footer{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#fff;border:1px solid #ebeef5;display:-webkit-box;display:-ms-flexbox;display:flex;font-family:sans-serif;font-size:14px;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding:10px}.el-tiptap-editor .ProseMirror{outline:0}.el-tiptap-editor__placeholder.el-tiptap-editor--empty:first-child:before,.el-tiptap-editor__with-title-placeholder:first-child:before,.el-tiptap-editor__with-title-placeholder:nth-child(2):before{color:#c0c4cc;content:attr(data-empty-text);float:left;height:0;pointer-events:none}.el-tiptap-editor__characters{color:#939599}.el-tiptap-editor__command-button{border:1px solid transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:50%;color:#303133;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:40px;margin:2px;outline:0;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;width:40px}.el-tiptap-editor__command-button:hover{background-color:#e4e9f2}.el-tiptap-editor__command-button--active{background-color:#ecf5ff;color:#409eff}.el-tiptap-editor__command-button--readonly{cursor:default;opacity:.3;pointer-events:none}.el-tiptap-editor__command-button--readonly:hover{background-color:transparent}.el-tiptap-dropdown-menu .el-tiptap-dropdown-menu__item{color:#303133;line-height:1.5;padding-top:5px;padding-bottom:5px}.el-tiptap-dropdown-menu .el-tiptap-dropdown-menu__item [data-item-type=heading]{margin-bottom:0;margin-top:0}.el-tiptap-dropdown-menu .el-tiptap-dropdown-menu__item--active{background-color:#ecf5ff;color:#409eff}.el-tiptap-popper.el-popper{min-width:0}.el-tiptap-popper__menu__item{color:#303133;cursor:pointer;padding:8px 0}.el-tiptap-popper__menu__item--active,.el-tiptap-popper__menu__item:hover{color:#409eff}.el-tiptap-popper__menu__item--disabled{cursor:default;opacity:.2}.el-tiptap-popper__menu__item--disabled:hover{color:inherit}.el-tiptap-popper__menu__item__separator{border-top:1px solid #dcdfe6;height:0;margin:5px 0;width:100%}.el-tiptap-upload{display:-webkit-box;display:-ms-flexbox;display:flex}.el-tiptap-upload .el-upload,.el-tiptap-upload .el-upload-dragger{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.el-tiptap-upload .el-upload-dragger{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:300px;width:100%}.el-tiptap-upload .el-upload-dragger .el-tiptap-upload__icon{font-size:50px;margin-bottom:10px}.el-tiptap-upload .el-upload-dragger:hover .el-tiptap-upload__icon{color:#409eff}.color-set{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;width:240px}.color-set .color{border-radius:50%;-webkit-box-shadow:rgba(0,0,0,.2) 0 3px 3px -2px,rgba(0,0,0,.14) 0 3px 4px 0,rgba(0,0,0,.12) 0 1px 8px 0;box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12);color:#fff;height:30px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;width:30px}.color-set .color,.color-set .color__wrapper{-webkit-box-sizing:border-box;box-sizing:border-box}.color-set .color__wrapper{-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 0 12.5%;flex:0 0 12.5%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:5px}.color-set .color--selected,.color-set .color:hover{border:2px solid #fff;-webkit-transform:scale(1.3);transform:scale(1.3)}.color-set .color--remove{position:relative}.color-set .color--remove:hover:before{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.color-set .color--remove:hover:after{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.color-set .color--remove:after,.color-set .color--remove:before{background-color:#f56c6c;bottom:0;content:"";left:50%;position:absolute;margin:2px 0;top:0;-webkit-transform:translateX(-50%);transform:translateX(-50%);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;width:2px}.color-hex{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:10px}.color-hex .color-hex__button{margin-left:10px;padding-left:15px;padding-right:15px}.table-grid-size-editor__body{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.table-grid-size-editor__body,.table-grid-size-editor__row{display:-webkit-box;display:-ms-flexbox;display:flex}.table-grid-size-editor__cell{background-color:#fff;padding:5px}.table-grid-size-editor__cell__inner{border:1px solid #dcdfe6;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:2px;height:16px;padding:4px;width:16px}.table-grid-size-editor__cell--selected .table-grid-size-editor__cell__inner{background-color:#ecf5ff;border-color:#409eff}.table-grid-size-editor__footer{margin-top:5px;text-align:center}.el-tiptap-edit-image-dialog .el-form-item:last-child{margin-bottom:0}.el-tiptap-edit-image-dialog input[type=number]::-webkit-inner-spin-button,.el-tiptap-edit-image-dialog input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}.el-tiptap-edit-link-dialog .el-form-item:last-child{margin-bottom:0}.el-popper.el-tiptap-image-popper{background-color:#fff;border-radius:8px;-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);min-width:0;padding:5px}.el-popper.el-tiptap-image-popper .image-bubble-menu{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.link-bubble-menu{display:-webkit-box;display:-ms-flexbox;display:flex}.fa-icon{display:inline-block;fill:currentColor;overflow:visible}.fa-icon>g{-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.fa-flip-horizontal{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both{-webkit-transform:scale(-1);transform:scale(-1)}.fa-spin>g{-webkit-animation:fa-spin 1s linear 0s infinite;animation:fa-spin 1s linear 0s infinite}.fa-pulse>g{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}.fa-inverse{color:#fff}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}',""]),t.A=r},2475:function(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n(5093))},2477:function(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},2487:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314);n.n(o)()(a()).push([e.id,".input-microphone[data-v-1f4bc398] {\n width: 40px;\n display: inline-block;\n margin-right: 8px;\n position: absolute;\n z-index: 10;\n text-align: center;\n right: 0;\n top: 39px;\n font-size: 17px;\n color: #979797;\n}\n.input-microphone.active[data-v-1f4bc398] {\n color: #2894df;\n}\n.audit .fa-angle-right[data-v-1f4bc398] {\n font-size: 24px;\n font-weight: 600;\n color: #c1c1c1;\n}\n.audit .items-center[data-v-1f4bc398] {\n padding-right: 10px;\n display: unset;\n margin: 0;\n}\n.canvas-box[data-v-1f4bc398] {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 220px;\n border: 1px dashed #c9c5c5;\n}\n.audit-dialog-content[data-v-1f4bc398] {\n padding: 20px;\n padding-bottom: 30px;\n}\ncanvas[data-v-1f4bc398] {\n flex: 1;\n cursor: crosshair;\n}\n.ovh[data-v-1f4bc398] {\n overflow: hidden;\n padding: 4px;\n}\n.modal-footer[data-v-1f4bc398] {\n text-align: center;\n}\n.modal-footer button[data-v-1f4bc398] {\n width: 100%;\n}\n.speech-control[data-v-1f4bc398] {\n color: #2894df;\n float: right;\n margin-top: 5px;\n cursor: pointer;\n}\n",""])},2549:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return I}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-select-from-id",attrs:{fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType,orgInfo:e.orgInfo,formName:e.formName,isMultiple:e.isMultiple},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"select-from-id-editor"},[n("div",[n("div",{on:{click:e.toOpen}},[e._v(e._s(e.label))])]),e._v(" "),n("el-dialog",e._g(e._b({attrs:{visible:e.opened,"before-close":e.onHide,title:e.fieldConf.name,fullscreen:!0,"custom-class":"select-from-id-editor-dialog"},on:{"update:visible":function(t){e.opened=t},open:e.onOpen}},"el-dialog",e.$attrs,!1),e.$listeners),[n("div",{attrs:{slot:"title"},slot:"title"},[n("div",[e._v("\n "+e._s(e.$z("已选名单","b2.common.selected_list"))+":\n "),e._l(e.selectedLabels,(function(t,i){return n("el-tag",{directives:[{name:"show",rawName:"v-show",value:i<=5,expression:"index <= 5"}],key:i,attrs:{type:"success"}},[e._v(e._s(t)+"\n "),n("i",{staticClass:"fa fa-times-circle",on:{click:function(t){return e.deleteSelected(i)}}})])})),e._v(" "),e.selectedLabels.length>5?n("el-button",{attrs:{label:""+(e.$z("查看全部","c.view_all")+e.selectedLabels.length)}},[n("i",{staticClass:"fa fa-sort-desc",attrs:{"aria-hidden":"true"}}),e._v(" "),n("el-popover",[n("div",{attrs:{separator:"",link:""}},e._l(e.selectedLabels,(function(t,i){return n("div",{key:i},[e._v("\n "+e._s(t)+"\n "),n("i",{staticClass:"fa fa-times",staticStyle:{float:"right","margin-left":"8px","font-size":"20px"},on:{click:function(t){return e.deleteSelected(i)}}})])})),0)])],1):e._e()],2)]),e._v(" "),n("div",{staticClass:"select-box"},[n("div",{staticClass:"select-box-left"},[n("div",{staticClass:"title"},[e._v(e._s(e.$z("选择应用","b2.common.select_form_id")))]),e._v(" "),n("div",[n("el-input",{staticClass:"input-with-select",attrs:{placeholder:e.$z("请输入关键字搜索","c.search_tip"),clearale:!0},on:{change:e.debounceSearchApps},model:{value:e.appKeyword,callback:function(t){e.appKeyword=t},expression:"appKeyword"}})],1),e._v(" "),n("ul",{staticClass:"select-app"},e._l(e.apps,(function(t){return n("li",{key:t.value,staticClass:"select-app-item",class:t.value==e.selectedApp?"active":"",on:{click:function(n){return e.loadForms(t.value)}}},[e._v("\n "+e._s(t.label)+"\n ")])})),0)]),e._v(" "),e.selectedApp?n("div",{staticClass:"select-box-right"},[n("div",{staticClass:"title"},[e._v(e._s(e.$z("表单选择","c.form_select")))]),e._v(" "),n("div",[n("el-input",{staticClass:"input-with-select",attrs:{placeholder:e.$z("请输入关键字搜索","c.search_tip"),clearale:!0},on:{change:e.debounceSearch},model:{value:e.formKeyword,callback:function(t){e.formKeyword=t},expression:"formKeyword"}})],1),e._v(" "),n("ul",{staticClass:"select-form"},e._l(e.formList,(function(t){return n("li",{key:t.value,staticClass:"select-form-item"},[e.isMultiple?n("el-checkbox",{attrs:{label:t.value},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},[e._v(e._s(t.label))]):n("el-radio",{attrs:{label:t.value},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},[e._v(e._s(t.label))])],1)})),0)]):n("div",{staticClass:"select-box-right"},[e._v("\n "+e._s(e.$z("先选择表单","b2.common.select_form_first"))+"\n ")])]),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v(e._s(e.$z("确定","c.confirm")))])],1)])],1)};a._withStripped=!0;var o=n(5554),r=n.n(o),s=n(6773),l=n.n(s),d=n(7642);r().use(d.Dialog);var c={props:["value","fieldConf","row","formName","orgInfo","isMultiple"],data(){return{curVal:[],apps:[],label:"",opened:!1,debounceSearchApps:l().debounce(l().bind(this.loadApps,this),150,{trailing:!0,leading:!1}),debounceSearch:l().debounce(l().bind(this.search,this),150,{trailing:!0,leading:!1}),selectedLabels:[],formList:[],appKeyword:"",selectedApp:"",formKeyword:""}},watch:{curVal(){this.loadSelectedLabels()},value(){this.loadRemoteLabel(),this.curVal=this.value?this.value:this.isMultiple?[]:""}},computed:{placeholder(){return this.fieldConf.desc||this.fieldConf.name},maxCount(){return l().get(this.fieldConf,"check.max_count")},titleStyle(){let e=this.fieldConf,t=l().get(e,"range_remote.range_display.title");return{fontSize:l().get(t,"size",16)+"px",color:l().get(t,"color","#333")}},fieldStyleMap(){let e=this.fieldConf,t=l().get(e,"range_remote.range_display.fields");return l().keyBy(t,"field")}},created(){this.curVal=this.isMultiple?[]:""},mounted(){this.curVal=this.value?this.value:this.isMultiple?[]:"",this.loadRemoteLabel()},methods:{async loadApps(){let e=this.appKeyword,t=this.formName,n=l().get(this.fieldConf,"id"),i=await zj.net.w.noapi({url:`/app_flow/v1/papi/dm/assist_field/select_form_id/${t}/${n}/search_left_title/?q=${e}`,params:this.orgInfo});this.apps=l().map(i.data,(e=>({value:e[0],label:e[1]})))},async search(){let e=this.formKeyword,t=this.formName,n=l().get(this.fieldConf,"id"),i=this.selectedApp,a=await zj.net.w.noapi({url:`/app_flow/v1/papi/dm/assist_field/select_form_id/${t}/${n}/search_right_title/?q=${e}&left=${i}`,params:this.orgInfo});this.formList=l().map(a.data,(e=>({value:e[0],label:e[1]})))},loadForms(e){this.selectedApp=e,this.debounceSearch()},async loadSelectedLabels(){let e=this.curVal,t=l().get(this.fieldConf,"id");if(!l().isEmpty(e)){let n=await zj.net.w.noapi({url:`/app_flow/v1/papi/dm/assist_field/${this.formName}/${t}/list_title/?values=${e}`,params:this.orgInfo});this.selectedLabels=l().cloneDeep(n)}},async loadRemoteLabel(){let e=this.value,t=l().get(this.fieldConf,"id");if(l().isEmpty(e))this.label=zj.z("未选择","c.not_selected");else{let n=await zj.net.w.noapi({url:`/app_flow/v1/papi/dm/assist_field/${this.formName}/${t}/list_title/?values=${e}`,params:this.orgInfo}),i=l().map(n.data);this.label=l().join(i,",")}},onHide(){this.opened=!1},onOpen(){this.loadApps()},isChecked(e){return l().includes(this.curVal,e)},onSubmit(){this.$emit("input",this.curVal),this.$emit("change",this.curVal),this.opened=!1},toOpen(){this.opened=!0},deleteSelected(e){let t=this.curVal;l().pullAt(t,e),this.curVal=l().cloneDeep(t)}}},u=n(4486),m=(0,u.A)(c,a,[],!1,null,null,null);m.options.__file="components/lib/bpmSelectFromId/src/part/editor.vue";var f=m.exports,h={mixins:[n(7348).A]},p=(0,u.A)(h,void 0,void 0,!1,null,null,null);p.options.__file="components/lib/bpmSelectFromId/src/part/reader.vue";var _=p.exports,g={name:"bpmSelectFromId",components:{editorComponent:f,readerComponent:_},props:{value:{type:[String,Array]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},orgInfo:{type:Object},formName:{type:String},isMultiple:{type:Boolean,default(){return!1}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?_:f}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},y=n(5072),b=n.n(y),v=n(7825),w=n.n(v),M=n(7659),k=n.n(M),L=n(5056),S=n.n(L),x=n(540),D=n.n(x),C=n(1113),T=n.n(C),Y=n(1243),$={};$.styleTagTransform=T(),$.setAttributes=S(),$.insert=k().bind(null,"head"),$.domAPI=w(),$.insertStyleElement=D(),b()(Y.A,$),Y.A&&Y.A.locals&&Y.A.locals;var j=(0,u.A)(g,i,[],!1,null,null,null);j.options.__file="components/lib/bpmSelectFromId/src/main.vue";var O=j.exports;O.install=function(e){e.component(O.name,O)};var I=O},2554:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return E}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-mul-image",attrs:{fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType},on:{change:e.handleChange,imgLoadError:e.emitImgLoadError},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-mul-image-edit"},[n("el-upload",e._g(e._b({ref:"uploader",attrs:{action:e.url,name:"userfile","show-file-list":!1,multiple:"",drag:"",limit:e.maxCount,accept:e.extensions,"before-upload":e.handleAdd,"on-success":e.onUploaded,"on-error":e.onFail,"file-list":e.fileList}},"el-upload",e.$attrs,!1),e.$listeners),[n("i",{staticClass:"el-icon-upload"}),e._v(" "),n("div",{staticClass:"el-upload__text"},[e._v(e._s(e.$z("将文件拖到此处,或点击上传","c.drag_file_upload_tip")))])]),e._v(" "),n("div",{staticClass:"row gutter-sm q-my-sm file-list"},[e.curVal&&e.curVal.length?[n("viewer",{staticClass:"row gutter-sm q-my-sm file-list",staticStyle:{width:"100%"},attrs:{images:e.photo,rebuild:""},on:{inited:e.inited}},e._l(e.curVal,(function(t){return n("div",{key:t.md5,staticClass:"col-12 file-box"},[e.isImageFile(t)?n("span",{staticClass:"file-content",on:{click:function(n){return e.previewImg(t)}}},[n("img",{staticClass:"preview-img",attrs:{src:e.fileLink(t,200),"data-source":e.fileLink(t,-1)}})]):n("span",{staticClass:"file-content q-mb-xs",on:{click:function(n){return e.preview(t)}}},[n("div",{staticClass:"text-left text-faded"},[n("i",{staticClass:"q-icon fa fa-file-pdf-o",class:e.getFileTypeClass(t),attrs:{"aria-hidden":"true"}})])]),e._v(" "),n("div",{staticClass:"relative-position file-link ellipsis",attrs:{title:t.name}},[e._v("\n "+e._s(t.name)+"\n ")]),e._v(" "),n("div",{staticClass:"file-remove",on:{click:function(n){return e.remove(t.md5,t)}}},[e._v(e._s(e.$z("删除","c.delete")))])])})),0)]:e._e()],2),e._v(" "),n("img",{staticStyle:{display:"none"},attrs:{id:"image",src:""}}),e._v(" "),n("div",{staticStyle:{height:"100px",width:"109px",display:"none"},attrs:{id:"container"}})],1)};a._withStripped=!0;var o=n(6773),r=n.n(o),s=n(1335),l=n.n(s),d=n(5093),c=n.n(d),u=n(7642),m=n(9795),f=n(5554),h=n.n(f),p=n(8245);n(8085),n(7107);var _={insertEXIF:function(e,t,n){if(e instanceof Blob){var i=this,a=new FileReader;a.onload=function(){i.insertEXIF(a.result,t,n)},a.readAsArrayBuffer(e)}else{var o=[].slice.call(new Uint8Array(e),0);if(255!==o[2]||224!==o[3])return e;var r=256*o[4]+o[5],s=[255,216].concat(t,o.slice(4+r));n(new Uint8Array(s))}},getEXIF:function(e){if(!e.length)return[];for(var t=[],n=0;n<e.length;n++){var i=e[n];255===i[0]&&225===i[1]&&(t=t.concat(i))}return t},getSegments:function(e,t){if(e instanceof Blob){var n=this,i=new FileReader;i.onload=function(){n.getSegments(i.result,t)},i.readAsArrayBuffer(e)}else{if(!e.length&&!e.byteLength)return[];var a,o,r=0,s=[],l=[].slice.call(new Uint8Array(e),0);let n=1;for(;n&&(255!==l[r]||218!==l[r+1])&&(255===l[r]&&216===l[r+1]?r+=2:(a=r+(256*l[r+2]+l[r+3])+2,o=l.slice(r,a),r=a,s.push(o)),!(r>l.length)););t(s)}},decode64:function(e){var t="data:image/jpeg;base64,";if(e.slice(0,23)!==t)return[];for(var n=window.atob(e.replace(t,"")),i=new Uint8Array(n.length),a=0,o=n.length;a<o;a++)i[a]=n.charCodeAt(a);return i},encode64:function(e){for(var t="",n=0,i=e.length;n<i;n++)t+=String.fromCharCode(e[n]);return"data:image/jpeg;base64,"+window.btoa(t)}},g=n(5344),y=n.n(g);function b(e){let t="";y()(".viewer-in .address").length?(e&&(t='<i class="fa fa-map-marker"></i>'+e),y()(".viewer-in .address").html(t)):(e&&(t='<div class="address"><i class="fa fa-map-marker"></i>'+e+"</div>"),y()(".viewer-in .viewer-footer").append(t))}async function v(e){if(b(""),!function(e){return r().startsWith(e.type,"image")}(e))return;let t=await zj.net.w.noapi({url:`/platform/v1/papi/app_file/download/?file_md5=${e.md5}&webp=0`}),n=r().get(t,"url_list.0.path.0");b("定位信息加载中...");let i=document.createElement("img");i.src=n;let a=this;setTimeout((()=>{try{y().ajax({url:`${n}?exif`,success:e=>{e&&e.GPSLatitude?a.setPs(e):l().getData(i,(function(){var e=l().getAllTags(this);console.log("info",e),a.setPs(e)}))},error:()=>{l().getData(i,(function(){var e=l().getAllTags(this);console.log("info",e),a.setPs(e)}))}})}catch(e){l().getData(i,(function(){var e=l().getAllTags(this);a.setPs(e)}))}}),600)}function w(e){console.log("filePath",e);var t=e.lastIndexOf(".");return-1!=t?e.substring(t+1,e.length).toLowerCase():""}h().use(u.Upload),h().use(u.Button),h().use(u.Dialog);const M=n(3318);h().use(p.Ay),p.Ay.setDefaults({url:"data-source"});var k=null,L={props:{type:{type:String,default:"MulImage"},value:{},fieldConf:{},row:{},extensions:{type:String,default(){return".jpg,.jpeg,.png,.dwg,.heic,.heif,.webp,.jfif"}}},data(){return{curVal:[],fileList:[],opened:!1,officeUrl:"",windowH:0}},watch:{value(){this.curVal=this.isSign&&r().isString(this.value)&&this.value?[{md5:this.value,name:"",type:"image/png"}]:this.value}},computed:{url(){return"/platform/v1/papi/app_file/upload/"},isSign(){return"Signature"===this.type||"Signature"==this.fieldConf.type},photo(){let e=[];return r().each(this.curVal,(t=>{if(this.isImageFile(t)){let n=this.fileLink(t,600);e.push(n)}})),e},photoMd5s(){let e=[];return r().each(this.curVal,(t=>{this.isImageFile(t)&&e.push(t.md5)})),e},maxCountConf(){return r().get(this.fieldConf,"check.max_count")},maxCount(){return r().isArray(this.curVal)?this.maxCountConf-this.curVal.length:this.maxCountConf},disabled(){return(this.curVal?this.curVal:[]).length>=this.maxCountConf}},created(){},mounted(){this.curVal=this.isSign&&r().isString(this.value)&&this.value?[{md5:this.value,name:"签名",type:"image/png"}]:this.value,this.windowH=document.body.clientHeight/100*99-50,this.appendJs("https://webapi.amap.com/maps?v=1.4.15&key=c2195d5de1c163ebfb118bad93c8bbd3",(()=>{var e=new k.Map("container",{resizeEnable:!0});e.plugin("AMap.Geolocation",(()=>{let t=new k.Geolocation({enableHighAccuracy:!0,timeout:1e4,maximumAge:0,convert:!0,showButton:!0,buttonPosition:"LB",buttonOffset:new k.Pixel(10,20),showMarker:!0,showCircle:!0,panToLocation:!0,zoomToAccuracy:!0});e.addControl(t),t.getCurrentPosition(),k.event.addListener(t,"complete",(e=>{this.position=e.position})),k.event.addListener(t,"error",(e=>{console.log("定位出错-error",e)}))}))}))},methods:{appendJs(e){let t=document.createElement("script"),n={type:"text/javascript",async:/^http/.test(e)?"async":"",src:e};for(var i in n)t[i]=n[i];document.head.appendChild(t)},inited(e){e.options.view=this.view,this.$viewer=e},view(e){let t=e.detail.index,n=r().filter(this.curVal,(e=>this.isImageFile(e)));v(r().get(n,t))},previewImg(e){let t=r().indexOf(this.photoMd5s,e.md5);this.$viewer.view(t)},isDwg(e){return r().endsWith(e.name,".dwg")},getFileTypeClass(e){let t=w(e.type);return t=t||w(e.name),r().endsWith(e.name,".dwg")&&(t="dwg"),r().get({document:"fa-file-word-o",sheet:"fa-file-excel-o",doc:"fa-file-word-o",docx:"fa-file-word-o",xlsx:"fa-file-excel-o","ms-excel":"fa-file-excel-o",dwg:"fa-file-image-o",png:"fa-file-image-o",jpg:"fa-file-image-o"},t)},handleAdd(e){console.log("_file",e),l().getData(e,(()=>{let e=l().getAllTags(this);console.log("allEXIF",e)}));let t=this.fileList;r().each(t,((e,t)=>{!function(e,t){if(-1==e.type.indexOf("image"))t(null);else{let n=new FileReader,i=new Image;n.readAsDataURL(e),n.onload=function(){e.src=this.result,i.onload=function(){let t=i.width,n=i.height;e.width=t,e.height=n},i.src=e.src,function(e,t,n,i){var a=new Image;a.src=e.src,a.onload=function(){var e=this,a=e.width,o=e.height,r=a/o;a=t.width||a,o=t.height||a/r;var s=.7,d=document.createElement("canvas"),c=d.getContext("2d"),u=document.createAttribute("width");u.nodeValue=a;var m=document.createAttribute("height");m.nodeValue=o,d.setAttributeNode(u),d.setAttributeNode(m);try{l().getData(n,(function(){let n=l().getTag(this,"GPSLatitude");c.drawImage(e,0,0,a,o),t.quality&&t.quality<=1&&t.quality>0&&(s=t.quality);var r=d.toDataURL("image/jpeg",s);i(r,n)}))}catch(n){c.drawImage(e,0,0,a,o),t.quality&&t.quality<=1&&t.quality>0&&(s=t.quality);var f=d.toDataURL("image/jpeg",s);i(f,null)}}}(e,{quality:.4},e,t)}}}(e,((n,i)=>{n&&_.getSegments(new Blob([e]),(a=>{let o=this.dataURLtoFile(n,e.name),s=_.getEXIF(a);if(!r().isEmpty(s)&&i)_.insertEXIF(o,s,(n=>{let i=new Blob([n],{type:e.type});i.name=e.name,i.lastModifiedDate=new Date,this.fileList[t]=i}));else{let i={},a={},o={};i[M.ImageIFD.Make]="lse";let r=this.position.lat,s=this.position.lng;o[M.GPSIFD.GPSLatitudeRef]=r<0?"S":"N",o[M.GPSIFD.GPSLatitude]=M.GPSHelper.degToDmsRational(r),o[M.GPSIFD.GPSLongitudeRef]=s<0?"W":"E",o[M.GPSIFD.GPSLongitude]=M.GPSHelper.degToDmsRational(s),o[M.GPSIFD.GPSImgDirection]=[123456,100];let l={"0th":i,Exif:a,GPS:o},d=M.dump(l),c=M.insert(d,n),u=this.dataURLtoFile(c,e.name);this.fileList[t]=u}}))}))}))},dataURLtoFile(e,t){let n=e.split(","),i=n[0].match(/:(.*?);/)[1],a=atob(n[1]),o=a.length,r=new Uint8Array(o);for(;o--;)r[o]=a.charCodeAt(o);return new File([r],t,{type:i})},isImageFile(e){return r().startsWith(e.type,"image")},itemSideImageAttr(e){let t={};return this.isImageFile(e)?t.image=this.fileLink(e):t.icon="fa fa-file",t},fileLink(e){if(!e||!e.md5)return;let t=this.isImageFile(e),n={file_md5:e.md5};return t||(n.is_file=1),(0,m.zC)("/platform/v1/papi/web_file/image_view/",n)},async preview(e){if("dwg/dwg"==e.type)return;let t=await zj.net.w.noapi({url:`/platform/v1/papi/app_file/download/?file_md5=${e.md5}&webp=0`}),n=r().get(t,"url_list.0.path.0"),i=w(n);"application/pdf"==e.type&&(i="pdf"),"application/vnd.ms-excel"==e.type&&(i="ms-excel");let a=function(){let e=(new Date).valueOf();return function(e){let t=0,n=e.length;for(let i=0;i<n;i++)t=31*t+e.charCodeAt(i),t>2147483647&&(t%=2147483648);return t}(function(){let e="",t=6,n=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];for(let i=0;i<t;i++)e+=n[Math.round(Math.random()*(n.length-1))];return e}()+e.toString())}(),o=`https://${window.location.host}/zj_of/v1/papi/file/read_only/?md5=${e.md5}&type=${{document:"Word.Document",docx:"Word.Document",doc:"Word.Document",sheet:"Excel.Sheet",pdf:"pdf",xlsx:"Excel.Sheet","ms-excel":"Excel.Sheet"}[i]}&sign=${a}`;if("wps"!=(await zj.net.w.noapi({url:"/zj_of/v1/papi/file/using_engine/"})).engine&&(o="https://view.officeapps.live.com/op/embed.aspx?src="+encodeURIComponent(n)),"pdf"==i){let e=n.lastIndexOf(".com");n=n.substring(e+4,n.length),n=encodeURIComponent(n),o=(0,m.Fr)()?`/public/app3/bpm/view_pdf.html?url=${n}`:`/public/bpm/app/view_pdf.html?url=${n}`}this.officeUrl=o,this.opened=!0},onFail(e,t){let n=`${t.name}上传失败`;console.log("err:",n)},onUploaded(e,t){console.log("file",t);let n={};t.raw&&t.raw.exifdata&&(n=t.raw.exifdata);let i=r().isArray(this.curVal)?this.curVal:[];if(r().find(this.curVal,{md5:r().get(e,"data.file_md5")}))return this.$message.warning(zj.z("图片重复","c.repeat_image")),!1;i.push({name:t.name,type:r().get(t,"raw.type"),md5:r().get(e,"data.file_md5"),upload_time:c()().unix(),take_photo_time:n.DateTimeOriginal?c()(n.DateTimeOriginal,"YYYY:MM:DD HH:mm:ss").unix():null}),this.curVal=r().cloneDeep(i);let a=this.isSign?r().get(this.curVal,"0.md5",""):this.curVal;this.$emit("input",a),this.$emit("change",a)},remove(e){this.curVal=r().filter(this.curVal,(t=>t.md5!=e)),this.$refs.uploader.queue=[];let t=this.isSign?r().get(this.curVal,"0.md5",""):this.curVal;this.$emit("input",t),this.$emit("change",t)},onHide(){this.opened=!1},onOpen(){this.opened=!0}}},S=L,x=n(4486),D=(0,x.A)(S,a,[],!1,null,null,null);D.options.__file="components/lib/bpmMulImage/src/part/editor.vue";var C=D.exports,T=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-mul-image-reader"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!e.curVal||0==e.curVal.length,expression:"!curVal || curVal.length == 0"}]},[e._v(e._s(e.isSignature?e.$z("未签名","c.unsigned"):e.$z("暂无图片","c.no_pictures")))]),e._v(" "),e.isSignature&&e.curVal&&e.curVal[0]?["table"==e.uiType?n("img",{staticStyle:{width:"auto",height:"53px"},attrs:{src:e.fileLink(e.curVal[0]),alt:e.$z("电子签名","c.electronic_signature"),onerror:e.emitImgLoadError}}):n("img",{staticStyle:{width:"160px",height:"auto"},attrs:{src:e.fileLink(e.curVal[0]),alt:e.$z("电子签名","c.electronic_signature"),onerror:e.emitImgLoadError}})]:n("viewer",{ref:"viewer",attrs:{images:e.photo,rebuild:""},on:{inited:e.inited}},e._l(e.curVal,(function(t){return n("span",{key:t.md5,staticClass:"images clearfix"},[e.isImageFile(t)?n("div",{staticClass:"file-box"},[n("div",{staticClass:"file-icon",staticStyle:{border:"1px dashed #ececec",cursor:"pointer"}},[n("img",{ref:"pic_img_"+t.md5,refInFor:!0,staticStyle:{width:"200px",height:"auto"},attrs:{src:e.fileLink(t,200),"data-source":e.fileLink(t,-1),onerror:e.reloadImg(t),alt:""}})]),e._v(" "),n("div",{staticClass:"relative-position tc file-link ellipsis",attrs:{title:t.name}},[e._v("\n "+e._s(t.name)+"\n ")])]):e._e()])})),0),e._v(" "),n("img",{staticStyle:{display:"none"},attrs:{id:"image",src:""}})],2)};T._withStripped=!0,window.$isBlank=m.z3,h().use(p.Ay),p.Ay.setDefaults({url:"data-source"});var Y={props:["type","value","fieldConf","row","uiType"],data(){return{vueLightId1:null,photo:[],curVal:[],officeUrl:"",opened:!1,windowH:0,imgReloadCountMap:{}}},computed:{is_mobile(){return(0,m.Fr)()},isSignature(){return"Signature"===this.fieldConf.type}},watch:{value(){console.log("img_curlVal",this.value),this.curVal=r().isString(this.value)?[{md5:this.value,name:"",type:"image/png"}]:this.value,this.setPhoto()}},created(){},mounted(){let e=(new Date).getTime();this.vueLightId1=e+1,console.log("this.value",this.value),this.curVal=r().isString(this.value)?[{md5:this.value,name:"",type:"image/png"}]:this.value,this.setPhoto(),this.windowH=document.body.clientHeight/100*99-50},methods:{reloadImg(e){this.imgReloadCountMap["pic_img_"+e.md5]?this.imgReloadCountMap["pic_img_"+e.md5]++:this.imgReloadCountMap["pic_img_"+e.md5]=1,this.imgReloadCountMap["pic_img_"+e.md5]<5&&setTimeout((()=>{console.log("重新加载图片-","pic_img_"+e.md5),this.$refs["pic_img_"+e.md5][0].src=this.fileLink(e,200)}),200)},emitImgLoadError(){this.$emit("imgLoadError")},isDwg(e){return r().endsWith(e.name,".dwg")},inited(e){e.options.view=this.view,this.$viewer=e},view(e){let t=e.detail.index,n=r().filter(this.curVal,(e=>this.isImageFile(e)));v(r().get(n,t))},setPhoto(){let e=[];r().each(this.curVal,(t=>{if(this.isImageFile(t)){let n=this.fileLink(t,-1);e.push(n)}})),this.photo=e,console.log("this.photo",this.photo)},getFileTypeClass(e){let t=w(e.type);return"application/pdf"==e.type&&(t="fa-file-pdf-o"),r().get({document:"fa-file-word-o",sheet:"fa-file-excel-o",doc:"fa-file-word-o",docx:"fa-file-word-o",xlsx:"fa-file-excel-o","ms-excel":"fa-file-excel-o",dwg:"fa-file-image-o",png:"fa-file-image-o",jpg:"fa-file-image-o"},t)},isImageFile(e){return r().startsWith(e.type,"image")},fileLink(e,t){if(console.log("fileLink_tem",e),!e||!e.md5)return;let n=this.isImageFile(e),i={file_md5:e.md5};return t&&(i.width=t),n||(i.is_file=1),(0,m.zC)("/platform/v1/papi/web_file/image_view/",i)},onHide(){this.opened=!1},onOpen(){this.opened=!0}}},$=(0,x.A)(Y,T,[],!1,null,null,null);$.options.__file="components/lib/bpmMulImage/src/part/reader.vue";var j=$.exports,O={name:"BpmMulImage",components:{editorComponent:C,readerComponent:j},props:{value:{type:[String,Array]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?j:C}},watch:{value(e){console.log("mulImage",e),this.curVal=e}},mounted(){this.curVal=this.value},methods:{emitImgLoadError(){this.$emit("imgLoadError")},handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},I=(0,x.A)(O,i,[],!1,null,null,null);I.options.__file="components/lib/bpmMulImage/src/main.vue";var P=I.exports;P.install=function(e){e.component(P.name,P)};var E=P},2572:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5093))},2586:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const i=n(8727),a=n(208),o=n(7887),r=n(208),s=n(7870),l=n(3673),d=n(4495),c=n(9029),u=n(2023),m=n(6939),f=n(4227),h=n(8708);function p({gen:e,validateName:t,schema:n,schemaEnv:i,opts:a},o){a.code.es5?e.func(t,c._`${u.default.data}, ${u.default.valCxt}`,i.$async,(()=>{e.code(c._`"use strict"; ${_(n,a)}`),function(e,t){e.if(u.default.valCxt,(()=>{e.var(u.default.instancePath,c._`${u.default.valCxt}.${u.default.instancePath}`),e.var(u.default.parentData,c._`${u.default.valCxt}.${u.default.parentData}`),e.var(u.default.parentDataProperty,c._`${u.default.valCxt}.${u.default.parentDataProperty}`),e.var(u.default.rootData,c._`${u.default.valCxt}.${u.default.rootData}`),t.dynamicRef&&e.var(u.default.dynamicAnchors,c._`${u.default.valCxt}.${u.default.dynamicAnchors}`)}),(()=>{e.var(u.default.instancePath,c._`""`),e.var(u.default.parentData,c._`undefined`),e.var(u.default.parentDataProperty,c._`undefined`),e.var(u.default.rootData,u.default.data),t.dynamicRef&&e.var(u.default.dynamicAnchors,c._`{}`)}))}(e,a),e.code(o)})):e.func(t,c._`${u.default.data}, ${function(e){return c._`{${u.default.instancePath}="", ${u.default.parentData}, ${u.default.parentDataProperty}, ${u.default.rootData}=${u.default.data}${e.dynamicRef?c._`, ${u.default.dynamicAnchors}={}`:c.nil}}={}`}(a)}`,i.$async,(()=>e.code(_(n,a)).code(o)))}function _(e,t){const n="object"==typeof e&&e[t.schemaId];return n&&(t.code.source||t.code.process)?c._`/*# sourceURL=${n} */`:c.nil}function g({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const n in e)if(t.RULES.all[n])return!0;return!1}function y(e){return"boolean"!=typeof e.schema}function b(e){(0,f.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:n,opts:i,self:a}=e;t.$ref&&i.ignoreKeywordsWithRef&&(0,f.schemaHasRulesButRef)(t,a.RULES)&&a.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}(e)}function v(e,t){if(e.opts.jtd)return M(e,[],!1,t);const n=(0,a.getSchemaTypes)(e.schema);M(e,n,!(0,a.coerceAndCheckDataType)(e,n),t)}function w({gen:e,schemaEnv:t,schema:n,errSchemaPath:i,opts:a}){const o=n.$comment;if(!0===a.$comment)e.code(c._`${u.default.self}.logger.log(${o})`);else if("function"==typeof a.$comment){const n=c.str`${i}/$comment`,a=e.scopeValue("root",{ref:t.root});e.code(c._`${u.default.self}.opts.$comment(${o}, ${n}, ${a}.schema)`)}}function M(e,t,n,i){const{gen:a,schema:s,data:l,allErrors:d,opts:m,self:h}=e,{RULES:p}=h;function _(f){(0,o.shouldUseGroup)(s,f)&&(f.type?(a.if((0,r.checkDataType)(f.type,l,m.strictNumbers)),k(e,f),1===t.length&&t[0]===f.type&&n&&(a.else(),(0,r.reportTypeError)(e)),a.endIf()):k(e,f),d||a.if(c._`${u.default.errors} === ${i||0}`))}!s.$ref||!m.ignoreKeywordsWithRef&&(0,f.schemaHasRulesButRef)(s,p)?(m.jtd||function(e,t){!e.schemaEnv.meta&&e.opts.strictTypes&&(function(e,t){t.length&&(e.dataTypes.length?(t.forEach((t=>{L(e.dataTypes,t)||S(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)})),function(e,t){const n=[];for(const i of e.dataTypes)L(t,i)?n.push(i):t.includes("integer")&&"number"===i&&n.push("integer");e.dataTypes=n}(e,t)):e.dataTypes=t)}(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&S(e,"use allowUnionTypes to allow union type keyword")}(e,t),function(e,t){const n=e.self.RULES.all;for(const i in n){const a=n[i];if("object"==typeof a&&(0,o.shouldUseRule)(e.schema,a)){const{type:n}=a.definition;n.length&&!n.some((e=>{return i=e,(n=t).includes(i)||"number"===i&&n.includes("integer");var n,i}))&&S(e,`missing type "${n.join(",")}" for keyword "${i}"`)}}}(e,e.dataTypes))}(e,t),a.block((()=>{for(const e of p.rules)_(e);_(p.post)}))):a.block((()=>D(e,"$ref",p.all.$ref.definition)))}function k(e,t){const{gen:n,schema:i,opts:{useDefaults:a}}=e;a&&(0,s.assignDefaults)(e,t.type),n.block((()=>{for(const n of t.rules)(0,o.shouldUseRule)(i,n)&&D(e,n.keyword,n.definition,t.type)}))}function L(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function S(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,f.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){y(e)&&(b(e),g(e))?function(e){const{schema:t,opts:n,gen:i}=e;p(e,(()=>{n.$comment&&t.$comment&&w(e),function(e){const{schema:t,opts:n}=e;void 0!==t.default&&n.useDefaults&&n.strictSchema&&(0,f.checkStrictMode)(e,"default is ignored in the schema root")}(e),i.let(u.default.vErrors,null),i.let(u.default.errors,0),n.unevaluated&&function(e){const{gen:t,validateName:n}=e;e.evaluated=t.const("evaluated",c._`${n}.evaluated`),t.if(c._`${e.evaluated}.dynamicProps`,(()=>t.assign(c._`${e.evaluated}.props`,c._`undefined`))),t.if(c._`${e.evaluated}.dynamicItems`,(()=>t.assign(c._`${e.evaluated}.items`,c._`undefined`)))}(e),v(e),function(e){const{gen:t,schemaEnv:n,validateName:i,ValidationError:a,opts:o}=e;n.$async?t.if(c._`${u.default.errors} === 0`,(()=>t.return(u.default.data)),(()=>t.throw(c._`new ${a}(${u.default.vErrors})`))):(t.assign(c._`${i}.errors`,u.default.vErrors),o.unevaluated&&function({gen:e,evaluated:t,props:n,items:i}){n instanceof c.Name&&e.assign(c._`${t}.props`,n),i instanceof c.Name&&e.assign(c._`${t}.items`,i)}(e),t.return(c._`${u.default.errors} === 0`))}(e)}))}(e):p(e,(()=>(0,i.topBoolOrEmptySchema)(e)))};class x{constructor(e,t,n){if((0,l.validateKeywordUsage)(e,t,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,f.schemaRefOrVal)(e,this.schema,n,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",Y(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,l.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",u.default.errors))}result(e,t,n){this.failResult((0,c.not)(e),t,n)}failResult(e,t,n){this.gen.if(e),n?n():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,c.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(c._`${t} !== undefined && (${(0,c.or)(this.invalid$data(),e)})`)}error(e,t,n){if(t)return this.setParams(t),this._error(e,n),void this.setParams({});this._error(e,n)}_error(e,t){(e?h.reportExtraError:h.reportError)(this,this.def.error,t)}$dataError(){(0,h.reportError)(this,this.def.$dataError||h.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,h.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,n=c.nil){this.gen.block((()=>{this.check$data(e,n),t()}))}check$data(e=c.nil,t=c.nil){if(!this.$data)return;const{gen:n,schemaCode:i,schemaType:a,def:o}=this;n.if((0,c.or)(c._`${i} === undefined`,t)),e!==c.nil&&n.assign(e,!0),(a.length||o.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==c.nil&&n.assign(e,!1)),n.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:n,def:i,it:a}=this;return(0,c.or)(function(){if(n.length){if(!(t instanceof c.Name))throw new Error("ajv implementation error");const e=Array.isArray(n)?n:[n];return c._`${(0,r.checkDataTypes)(e,t,a.opts.strictNumbers,r.DataType.Wrong)}`}return c.nil}(),function(){if(i.validateSchema){const n=e.scopeValue("validate$data",{ref:i.validateSchema});return c._`!${n}(${t})`}return c.nil}())}subschema(e,t){const n=(0,d.getSubschema)(this.it,e);(0,d.extendSubschemaData)(n,this.it,e),(0,d.extendSubschemaMode)(n,e);const a={...this.it,...n,items:void 0,props:void 0};return function(e,t){y(e)&&(b(e),g(e))?function(e,t){const{schema:n,gen:i,opts:a}=e;a.$comment&&n.$comment&&w(e),function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,m.resolveUrl)(e.opts.uriResolver,e.baseId,t))}(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const o=i.const("_errs",u.default.errors);v(e,o),i.var(t,c._`${o} === ${u.default.errors}`)}(e,t):(0,i.boolOrEmptySchema)(e,t)}(a,t),a}mergeEvaluated(e,t){const{it:n,gen:i}=this;n.opts.unevaluated&&(!0!==n.props&&void 0!==e.props&&(n.props=f.mergeEvaluated.props(i,e.props,n.props,t)),!0!==n.items&&void 0!==e.items&&(n.items=f.mergeEvaluated.items(i,e.items,n.items,t)))}mergeValidEvaluated(e,t){const{it:n,gen:i}=this;if(n.opts.unevaluated&&(!0!==n.props||!0!==n.items))return i.if(t,(()=>this.mergeEvaluated(e,c.Name))),!0}}function D(e,t,n,i){const a=new x(e,n,t);"code"in n?n.code(a,i):a.$data&&n.validate?(0,l.funcKeywordCode)(a,n):"macro"in n?(0,l.macroKeywordCode)(a,n):(n.compile||n.validate)&&(0,l.funcKeywordCode)(a,n)}t.KeywordCxt=x;const C=/^\/(?:[^~]|~0|~1)*$/,T=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Y(e,{dataLevel:t,dataNames:n,dataPathArr:i}){let a,o;if(""===e)return u.default.rootData;if("/"===e[0]){if(!C.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);a=e,o=u.default.rootData}else{const r=T.exec(e);if(!r)throw new Error(`Invalid JSON-pointer: ${e}`);const s=+r[1];if(a=r[2],"#"===a){if(s>=t)throw new Error(l("property/index",s));return i[t-s]}if(s>t)throw new Error(l("data",s));if(o=n[t-s],!a)return o}let r=o;const s=a.split("/");for(const e of s)e&&(o=c._`${o}${(0,c.getProperty)((0,f.unescapeJsonPointer)(e))}`,r=c._`${r} && ${o}`);return r;function l(e,n){return`Cannot access ${e} ${n} levels up, current level is ${t}`}}t.getData=Y},2622:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return V}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-select",attrs:{fieldConf:e.fieldConf,container:e.container,row:e.row,mode:e.mode,formName:e.formName,uiType:e.uiType},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-mul-file-edit"},[n("el-upload",{ref:"uploader",attrs:{action:e.url,name:"userfile","show-file-list":!1,drag:"",multiple:"",limit:e.maxCount,accept:e.extensions,"before-upload":e.handleAdd,"on-success":e.onUploaded,"on-error":e.onFail,"file-list":e.fileList}},[n("i",{staticClass:"el-icon-upload"}),e._v(" "),n("div",{staticClass:"el-upload__text"},[e._v("\n "+e._s(e.$z("将文件拖到此处,或点击上传","c.drag_file_upload_tip"))+"\n ")])]),e._v(" "),n("div",[e.curVal&&e.curVal.length?[n("viewer",{staticStyle:{width:"100%"},attrs:{images:e.photo,rebuild:""},on:{inited:e.inited}},e._l(e.curVal,(function(t){return n("div",{key:t.md5,staticClass:"col-12 file-box",staticStyle:{"margin-top":"10px"}},[e.isImageFile(t)?n("span",{staticClass:"file-content",on:{click:function(n){return e.previewImg(t)}}},[n("img",{staticClass:"preview-image",attrs:{src:e.fileLink(t,200),"data-source":e.fileLink(t,-1)}})]):n("span",{staticClass:"file-content",staticStyle:{"margin-left":"8px"},on:{click:function(n){return e.preview(t)}}},[n("div",{staticClass:"text-left file-icon"},[n("i",{staticClass:"fa",class:e.getFileTypeClass(t),attrs:{"aria-hidden":"true"}})])]),e._v(" "),n("div",{staticClass:"relative-position file-link ellipsis",attrs:{title:t.name}},[e._v("\n "+e._s(t.name)+"\n ")]),e._v(" "),n("div",{staticClass:"file-remove",on:{click:function(n){return e.remove(t.md5,t)}}},[n("el-button",{attrs:{type:"text"}},[e._v(e._s(e.$z("删除","c.delete")))])],1),e._v(" "),e.enableOcr?n("div",[n("el-button",{attrs:{type:"text",icon:e.getOcrIcon(t.md5),size:"mini",loading:e.isOcrLoading(t.md5),disabled:e.isOcrDisabled(t.md5)},on:{click:function(n){return e.startOcr(t.md5)}}},[e._v(e._s(e.getOcrButtonText(t.md5)))])],1):e._e()])})),0)]:e._e()],2),e._v(" "),n("el-dialog",e._g(e._b({staticClass:"file-modal",attrs:{visible:e.opened,"before-close":e.onHide,title:e.$z("文件预览","c.file_preview"),fullscreen:!0},on:{"update:visible":function(t){e.opened=t},open:e.onOpen}},"el-dialog",e.$attrs,!1),e.$listeners),[n("iframe",{attrs:{src:e.officeUrl,width:"99%",height:e.windowH}})]),e._v(" "),n("img",{staticStyle:{display:"none"},attrs:{id:"image",src:""}}),e._v(" "),n("div",{staticStyle:{height:"100px",width:"109px",display:"none"},attrs:{id:"container"}})],1)};a._withStripped=!0;var o=n(6773),r=n.n(o),s=n(7642),l=n(9795),d=n(5281),c=n(1335),u=n.n(c),m=n(5554),f=n.n(m),h=n(8245),p=(n(8085),n(7107),n(5360),n(5093)),_=n.n(p);var g={insertEXIF:function(e,t,n){if(e instanceof Blob){var i=this,a=new FileReader;a.onload=function(){i.insertEXIF(a.result,t,n)},a.readAsArrayBuffer(e)}else{var o=[].slice.call(new Uint8Array(e),0);if(255!==o[2]||224!==o[3])return e;var r=256*o[4]+o[5],s=[255,216].concat(t,o.slice(4+r));n(new Uint8Array(s))}},getEXIF:function(e){if(!e.length)return[];for(var t=[],n=0;n<e.length;n++){var i=e[n];255===i[0]&&225===i[1]&&(t=t.concat(i))}return t},getSegments:function(e,t){if(e instanceof Blob){var n=this,i=new FileReader;i.onload=function(){n.getSegments(i.result,t)},i.readAsArrayBuffer(e)}else{if(!e.length&&!e.byteLength)return[];var a,o,r=0,s=[],l=[].slice.call(new Uint8Array(e),0);let n=1;for(;n&&(255!==l[r]||218!==l[r+1])&&(255===l[r]&&216===l[r+1]?r+=2:(a=r+(256*l[r+2]+l[r+3])+2,o=l.slice(r,a),r=a,s.push(o)),!(r>l.length)););t(s)}},decode64:function(e){var t="data:image/jpeg;base64,";if(e.slice(0,23)!==t)return[];for(var n=window.atob(e.replace(t,"")),i=new Uint8Array(n.length),a=0,o=n.length;a<o;a++)i[a]=n.charCodeAt(a);return i},encode64:function(e){for(var t="",n=0,i=e.length;n<i;n++)t+=String.fromCharCode(e[n]);return"data:image/jpeg;base64,"+window.btoa(t)}},y=n(5344),b=n.n(y);function v(e){let t="";b()(".viewer-in .address").length?(e&&(t='<i class="fa fa-map-marker"></i>'+e),b()(".viewer-in .address").html(t)):(e&&(t='<div class="address"><i class="fa fa-map-marker"></i>'+e+"</div>"),b()(".viewer-in .viewer-footer").append(t))}async function w(e){if(v(""),!function(e){return r().startsWith(e.type,"image")}(e))return;let t=await zj.net.w.noapi({url:`/platform/v1/papi/app_file/download/?file_md5=${e.md5}&webp=0`}),n=r().get(t,"url_list.0.path.0");v("定位信息加载中...");let i=document.createElement("img");i.src=n;let a=this;setTimeout((()=>{try{b().ajax({url:`${n}?exif`,success:e=>{e&&e.GPSLatitude?a.setPs(e):u().getData(i,(function(){var e=u().getAllTags(this);console.log("info",e),a.setPs(e)}))},error:()=>{u().getData(i,(function(){var e=u().getAllTags(this);console.log("info",e),a.setPs(e)}))}})}catch(e){u().getData(i,(function(){var e=u().getAllTags(this);a.setPs(e)}))}}),600)}function M(e){console.log("filePath",e);var t=e.lastIndexOf(".");return-1!=t?e.substring(t+1,e.length).toLowerCase():""}function k(e){console.log("filePath",e);var t=e.lastIndexOf(".");let n="";return n=-1!=t?e.substring(t+1,e.length).toLowerCase():"other",console.log("fileSuffix",n),r().get({document:"fa-file-word-o",doc:"fa-file-word-o",docx:"fa-file-word-o",sheet:"fa-file-excel-o",xls:"fa-file-excel-o",xlsx:"fa-file-excel-o","ms-excel":"fa-file-excel-o",dwg:"fa-file-image-o",png:"fa-file-image-o",jpg:"fa-file-image-o",jfif:"fa-file-image-o",jpeg:"fa-file-image-o",pjpeg:"fa-file-image-o",gif:"fa-file-image-o",webp:"fa-file-image-o",svg:"fa-file-image-o",pdf:"fa-file-pdf-o",pptx:"fa-file-powerpoint-o",ppt:"fa-file-powerpoint-o",mp4:"fa-file-video-o",avi:"fa-file-video-o",mov:"fa-file-video-o",wmv:"fa-file-video-o",flv:"fa-file-video-o",mkv:"fa-file-video-o",webm:"fa-file-video-o",m4v:"fa-file-video-o","3gp":"fa-file-video-o",mpeg:"fa-file-video-o",rmvb:"fa-file-video-o",ts:"fa-file-video-o",vob:"fa-file-video-o",wav:"fa-file-audio-o",aiff:"fa-file-audio-o",pcm:"fa-file-audio-o",flac:"fa-file-audio-o",alac:"fa-file-audio-o",wma:"fa-file-audio-o",mp3:"fa-file-audio-o",ogg:"fa-file-audio-o",aac:"fa-file-audio-o",zip:"fa-file-archive-o",rar:"fa-file-archive-o",gz:"fa-file-archive-o",tgz:"fa-file-archive-o",bz2:"fa-file-archive-o",gar:"fa-file-archive-o",c:"fa-file-code-o",aspx:"fa-file-code-o",class:"fa-file-code-o",clw:"fa-file-code-o",cpp:"fa-file-code-o",cs:"fa-file-code-o",dll:"fa-file-code-o",dsp:"fa-file-code-o",h:"fa-file-code-o",hpp:"fa-file-code-o",html:"fa-file-code-o",jar:"fa-file-code-o",java:"fa-file-code-o",js:"fa-file-code-o",lib:"fa-file-code-o",ocx:"fa-file-code-o",py:"fa-file-code-o",pyc:"fa-file-code-o",xml:"fa-file-code-o",json:"fa-file-code-o",conf:"fa-file-code-o"},n,"fa-file-o")}function L(){let e=(new Date).valueOf();return function(e){let t=0,n=e.length;for(let i=0;i<n;i++)t=31*t+e.charCodeAt(i),t>2147483647&&(t%=2147483648);return t}(function(){let e="",t=6,n=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];for(let i=0;i<t;i++)e+=n[Math.round(Math.random()*(n.length-1))];return e}()+e.toString())}f().use(s.Upload),f().use(s.Button),f().use(s.Dialog);const S=n(3318);f().use(h.Ay),h.Ay.setDefaults({url:"data-source"});var x=null,D={props:{value:{},fieldConf:{},container:{},row:{},formName:{type:String,default(){return""}},extensions:{type:String,default(){return".webp,.gif,.jpg,.jpeg,.png,.heic,.heif,.doc,.xlsx,.pdf,.docx,.xls,.dwg,.xer,.mpp,.jfif"}}},data(){return{curVal:[],fileList:[],opened:!1,officeUrl:"",windowH:0,ocr_interval_timers_map:{},ocr_loading:!1,ocr_result_map:{},currentOcrMd5:"",curExifInfo:{}}},watch:{value(){this.curVal=r().isArray(this.value)?this.value:[]}},computed:{formData(){return this.container.isSubForm?this.container.container.formData:this.container.formData},url(){return r().get(this.fieldConf,"upload_url","/platform/v1/papi/app_file/upload/")},photo(){let e=[];return r().each(this.curVal,(t=>{if(this.isImageFile(t)){let n=this.fileLink(t,-1);e.push(n)}})),e},photoMd5s(){let e=[];return r().each(this.curVal,(t=>{this.isImageFile(t)&&e.push(t.md5)})),e},maxCountConf(){return r().get(this.fieldConf,"check.max_count")},enableOcr(){return r().get(this.fieldConf,"enable_ocr")},ocrSetting(){return r().get(this.fieldConf,"ocr_setting")},maxCount(){return r().isArray(this.curVal)?this.maxCountConf-this.curVal.length:this.maxCountConf},disabled(){return(this.curVal?this.curVal:[]).length>=this.maxCountConf}},created(){},mounted(){this.curVal=this.value,this.windowH=document.body.clientHeight/100*99-50,this.appendJs("https://webapi.amap.com/maps?v=1.4.15&key=c2195d5de1c163ebfb118bad93c8bbd3",(()=>{var e=new x.Map("container",{resizeEnable:!0});e.plugin("AMap.Geolocation",(()=>{let t=new x.Geolocation({enableHighAccuracy:!0,timeout:1e4,maximumAge:0,convert:!0,showButton:!0,buttonPosition:"LB",buttonOffset:new x.Pixel(10,20),showMarker:!0,showCircle:!0,panToLocation:!0,zoomToAccuracy:!0});e.addControl(t),t.getCurrentPosition(),x.event.addListener(t,"complete",(e=>{this.position=e.position})),x.event.addListener(t,"error",(e=>{console.log("定位出错-error",e)}))}))}))},destroyed(){this.ocr_interval_timers_map&&(r().each(this.ocr_interval_timers_map,(e=>{e&&clearInterval(e)})),this.ocr_interval_timers_map={})},methods:{getOcrStatus(e){return r().get(this.ocr_result_map,`${e}.status`,0)},getOcrButtonText(e){const t=this.getOcrStatus(e);return t>=1&&t<=3?"识别中":4==t?"已完成":5==t?"异常":"OCR识别"},isOcrDisabled(e){return!(!this.currentOcrMd5||this.currentOcrMd5===e)},isOcrLoading(e){const t=this.getOcrStatus(e);return t>=1&&t<=3},getOcrIcon(e){const t=this.getOcrStatus(e);return 4==t?"el-icon-check":5==t?"el-icon-warning":"el-icon-magic-stick"},startOcr(e){this.initOcr(e)},async initOcr(e){if(this.currentOcrMd5&&this.currentOcrMd5!==e)return void this.$message.warning("请等待当前OCR任务完成");let t=null;this.currentOcrMd5=e,this.$set(this.ocr_result_map,e,{task_id:"",status:1});try{if(!this.enableOcr)return this.currentOcrMd5="",!1;{let n="",i=await d.A.OCR.getCreatedTaskList(e);if(i&&i.task&&i.task.length>0&&(n=i.task[i.task.length-1].id),!n){try{await this.$confirm("该附件首次执行OCR识别,用时可能稍久,请稍后,或让后台执行,之后可再进行发起识别","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"})}catch(t){return this.currentOcrMd5="",void this.$delete(this.ocr_result_map,e)}let t=await d.A.OCR.getTaskId(e);if(!(t&&t.task&&t.task.id))return this.$message.warning("ocr调用失败"),this.currentOcrMd5="",this.$set(this.ocr_result_map,e,{status:5}),!1;n=t.task.id}this.$set(this.ocr_result_map,e,{task_id:n,status:2}),t=setInterval((async()=>{let i=await d.A.OCR.getOcrResult({id:n});if(i&&i.task&&this.$set(this.ocr_result_map[e],"status",i.task.status),5==i.task.status)return clearInterval(t),this.$message.warning("ocr识别异常"),this.currentOcrMd5="",!1;if(4==i.task.status)if(clearInterval(t),this.currentOcrMd5="",i.callback&&i.callback.length>0){if(this.ocrSetting&&this.ocrSetting.this_form&&(Math.random(),r().each(this.ocrSetting.fields,(e=>{let t=r().get(i,e.ocr_field);t&&this.$set(this.formData,e.target_field,t)}))),this.ocrSetting&&this.ocrSetting.external_form_link){let e=zj.pageParam(),t=await d.A.OCR.ocrCreateForm({field_id:this.fieldConf.id,form_def_id:this.formName,ocr_task_id:n},e);t&&t.items&&t.items.length>0&&r().each(t.items,(e=>{let t=[];r().each(e.form_ids,(n=>{t.push({form_title:"",form_id:n,form_def_id:""}),this.$set(this.formData,e.field_id,t)}))}))}this.$message.success("ocr识别成功")}else this.$message.warning("ocr识别结果为空")}),this.ocrSetting&&this.ocrSetting.polling_interval_time||1e3),this.ocr_interval_timers_map[e]=t}}catch(n){return console.log("ocr调用失败",n),t&&clearInterval(t),this.$message.warning("ocr调用失败"),this.currentOcrMd5="",this.$set(this.ocr_result_map,e,{status:5}),!1}},appendJs(e){let t=document.createElement("script"),n={type:"text/javascript",async:/^http/.test(e)?"async":"",src:e};for(var i in n)t[i]=n[i];document.head.appendChild(t)},inited(e){e.options.view=this.view,this.$viewer=e},view(e){let t=e.detail.index,n=r().filter(this.curVal,(e=>this.isImageFile(e)));w(r().get(n,t))},previewImg(e){let t=r().indexOf(this.photoMd5s,e.md5);this.$viewer.view(t)},isDwg(e){return r().endsWith(e.name,".dwg")},getFileTypeClass(e){return k(e.name)},handleAdd(e){console.log("_file",e),u().getData(e,(()=>{let e=u().getAllTags(this);console.log("allEXIF",e)}));let t=this.fileList;r().each(t,((e,t)=>{console.log("handleAdd_file"),function(e,t){if(-1==e.type.indexOf("image"))t(null);else{let n=new FileReader,i=new Image;n.readAsDataURL(e),n.onload=function(){e.src=this.result,i.onload=function(){let t=i.width,n=i.height;e.width=t,e.height=n},i.src=e.src,function(e,t,n,i){var a=new Image;a.src=e.src,a.onload=function(){var e=this,a=e.width,o=e.height,r=a/o;a=t.width||a,o=t.height||a/r;var s=.7,l=document.createElement("canvas"),d=l.getContext("2d"),c=document.createAttribute("width");c.nodeValue=a;var m=document.createAttribute("height");m.nodeValue=o,l.setAttributeNode(c),l.setAttributeNode(m);try{u().getData(n,(function(){let n=u().getTag(this,"GPSLatitude");var r=u().getAllTags(this);console.log("exifInfo",r),d.drawImage(e,0,0,a,o),t.quality&&t.quality<=1&&t.quality>0&&(s=t.quality);var c=l.toDataURL("image/jpeg",s);i(c,n)}))}catch(n){d.drawImage(e,0,0,a,o),t.quality&&t.quality<=1&&t.quality>0&&(s=t.quality);var f=l.toDataURL("image/jpeg",s);i(f,null)}}}(e,{quality:.4},e,t)}}}(e,((n,i)=>{n&&g.getSegments(new Blob([e]),(a=>{let o=this.dataURLtoFile(n,e.name),s=g.getEXIF(a);if(console.log("exifInfo",s),!r().isEmpty(s)&&i)g.insertEXIF(o,s,(n=>{let i=new Blob([n],{type:e.type});i.name=e.name,i.lastModifiedDate=new Date,this.fileList[t]=i}));else{let i={},a={},o={};i[S.ImageIFD.Make]="lse";let r=this.position.lat,s=this.position.lng;o[S.GPSIFD.GPSLatitudeRef]=r<0?"S":"N",o[S.GPSIFD.GPSLatitude]=S.GPSHelper.degToDmsRational(r),o[S.GPSIFD.GPSLongitudeRef]=s<0?"W":"E",o[S.GPSIFD.GPSLongitude]=S.GPSHelper.degToDmsRational(s),o[S.GPSIFD.GPSImgDirection]=[123456,100];let l={"0th":i,Exif:a,GPS:o},d=S.dump(l),c=S.insert(d,n),u=this.dataURLtoFile(c,e.name);this.fileList[t]=u}}))}))}))},dataURLtoFile(e,t){let n=e.split(","),i=n[0].match(/:(.*?);/)[1],a=atob(n[1]),o=a.length,r=new Uint8Array(o);for(;o--;)r[o]=a.charCodeAt(o);return new File([r],t,{type:i})},isImageFile(e){return r().startsWith(e.type,"image")},itemSideImageAttr(e){let t={};return this.isImageFile(e)?t.image=this.fileLink(e):t.icon="fa fa-file",t},fileLink(e){if(!e||!e.md5)return;let t=this.isImageFile(e),n={file_md5:e.md5};return t||(n.is_file=1),(0,l.zC)("/platform/v1/papi/web_file/image_view/",n)},async preview(e){if("dwg/dwg"==e.type)return;let t=await zj.net.w.noapi({url:`/platform/v1/papi/app_file/download/?file_md5=${e.md5}&webp=0`}),n=r().get(t,"url_list.0.path.0"),i=M(n);"application/pdf"==e.type&&(i="pdf"),"application/vnd.ms-excel"==e.type&&(i="ms-excel");let a=L(),o=`https://${window.location.host}/zj_of/v1/papi/file/read_only/?md5=${e.md5}&type=${{document:"Word.Document",docx:"Word.Document",doc:"Word.Document",sheet:"Excel.Sheet",pdf:"pdf",xlsx:"Excel.Sheet","ms-excel":"Excel.Sheet"}[i]}&sign=${a}`;if("wps"!=(await zj.net.w.noapi({url:"/zj_of/v1/papi/file/using_engine/"})).engine&&(o="https://view.officeapps.live.com/op/embed.aspx?src="+encodeURIComponent(n)),"pdf"==i){let e=n.lastIndexOf(".com");n=n.substring(e+4,n.length),n=encodeURIComponent(n),o=(0,l.Fr)()?`/public/app3/bpm/view_pdf.html?url=${n}`:`/public/bpm/app/view_pdf.html?url=${n}`}this.officeUrl=o,this.opened=!0},onFail(e,t){let n=`${t.name}上传失败`;console.log("err:",n)},onUploaded(e,t){console.log("file",t);let n={};t.raw&&t.raw.exifdata&&(n=t.raw.exifdata);let i=null;i=n.DateTimeOriginal?_()(n.DateTimeOriginal,"YYYY:MM:DD HH:mm:ss").unix():n.ColorSpace?(new Date).getTime()/1e3:null;let a=r().isArray(this.curVal)?this.curVal:[];if(r().find(this.curVal,{md5:r().get(e,"data.file_md5")}))return this.$message.warning(zj.z("文件重复","c.duplicate_file")),!1;let o={name:t.name,type:r().get(t,"raw.type"),md5:r().get(e,"data.file_md5"),upload_time:_()().unix(),take_photo_time:i};e&&e.data&&e.data.file_md5&&a.push(o),this.curVal=r().cloneDeep(a),this.handleChange()},remove(e){this.curVal=r().filter(this.curVal,(t=>t.md5!=e)),this.handleChange(),this.$refs.uploader.queue=[]},onHide(){this.opened=!1},onOpen(){this.opened=!0},handleChange(){this.$emit("input",this.curVal),this.$emit("change",this.curVal)}}},C=D,T=n(4486),Y=(0,T.A)(C,a,[],!1,null,null,null);Y.options.__file="components/lib/bpmMulFile/src/part/editor.vue";var $=Y.exports,j=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-mul-file-reader"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!e.curVal||0==e.curVal.length,expression:"!curVal || curVal.length == 0"}]},[e._v("\n "+e._s(e.$z("暂无文件或图片","c.no_files"))+"\n ")]),e._v(" "),e.photo.length>0?n("viewer",{ref:"viewer",attrs:{images:e.photo,rebuild:""},on:{inited:e.inited}},[n("div",{staticStyle:{display:"flex","flex-wrap":"wrap"}},e._l(e.curVal,(function(t){return n("span",{key:t.md5},[e.isImageFile(t)?n("div",{staticClass:"file-box"},[n("div",{staticClass:"file-content",staticStyle:{height:"auto",border:"1px solid #ececec"}},[n("el-tooltip",{attrs:{content:t.name,placement:"bottom",effect:"dark"}},[n("img",{ref:"pic_img_"+t.md5,refInFor:!0,staticClass:"preview-image",attrs:{src:e.fileLink(t,200),"data-source":e.fileLink(t,-1),onerror:e.reloadImg(t),alt:""}})])],1)]):[n("el-tooltip",{attrs:{placement:"bottom",effect:"dark",content:t.name}},[n("div",{staticClass:"file-box no-photo-file-box",attrs:{target:"_blank"},on:{click:function(n){return e.reviewOnMobile(t)}}},[n("div",{staticClass:"text-center file-icon",on:{click:function(n){return e.preview(t)}}},[n("i",{staticClass:"q-icon fa",class:e.getFileTypeClass(t),attrs:{"aria-hidden":"true"}})]),e._v(" "),n("span",{staticClass:"file-name"},[e._v(" "+e._s(t.name))]),e._v(" "),n("div",{staticClass:"overlay"},[e.isDwg(t)?e._e():n("el-button",{attrs:{type:"text",title:e.$z("预览","c.preview")},on:{click:function(n){return e.preview(t)}}},[n("i",{staticClass:"overlay-btn el-icon-view"})]),e._v(" "),n("el-button",{attrs:{type:"text",title:e.$z("下载","c.download")},on:{click:function(n){return e.download(t)}}},[n("i",{staticClass:"overlay-btn el-icon-download"})])],1)])])]],2)})),0)]):e._l(e.curVal,(function(t){return n("span",{key:t.md5},[n("div",{staticClass:"file-box",staticStyle:{"padding-left":"8px"},attrs:{target:"_blank"}},[n("div",{staticClass:"text-center file-icon",on:{click:function(n){return e.preview(t)}}},[n("i",{staticClass:"fa",class:e.getFileTypeClass(t),attrs:{"aria-hidden":"true"}})]),e._v(" "),n("div",{staticClass:"relative-position tc file-link ellipsis",attrs:{title:t.name},on:{click:function(n){return e.preview(t)}}},[e._v("\n "+e._s(t.name)+"\n ")]),e._v(" "),n("div",{staticClass:"operation-box"},[e.isDwg(t)?e._e():n("a",{staticClass:"operation-btn",attrs:{href:"javascript:;"},on:{click:function(n){return e.preview(t)}}},[e._v(e._s(e.$z("预览","c.preview")))]),e._v(" "),e.isDwg(t)?e._e():n("span",[e._v("|")]),e._v(" "),n("a",{staticClass:"operation-btn",attrs:{href:"javascript:;"},on:{click:function(n){return e.download(t)}}},[e._v(e._s(e.$z("下载","c.download")))])])])])})),e._v(" "),n("el-dialog",e._g(e._b({staticClass:"file-modal",attrs:{visible:e.opened,"before-close":e.onHide,modal:!1,title:e.$z("文件预览","c.file_preview"),fullscreen:!0},on:{"update:visible":function(t){e.opened=t},open:e.onOpen}},"el-dialog",e.$attrs,!1),e.$listeners),[n("iframe",{attrs:{src:e.officeUrl,width:"99%",height:e.windowH}})]),e._v(" "),n("img",{staticStyle:{display:"none"},attrs:{id:"image",src:""}})],2)};j._withStripped=!0,f().use(s.Dialog),f().use(h.Ay),h.Ay.setDefaults({url:"data-source"}),f().use(s.Dialog);var O={props:["value","fieldConf","row"],data(){return{vueLightId1:null,curVal:[],photo:[],officeUrl:"",opened:!1,windowH:0,type:"small",imgReloadCountMap:{}}},computed:{},watch:{value(e){this.curVal=r().filter(e,(e=>e.md5)),this.setPhoto()}},created(){},mounted(){let e=(new Date).getTime();this.vueLightId1=e+1,this.curVal=r().filter(this.value,(e=>e.md5)),this.setPhoto(),this.windowH=document.body.clientHeight/100*99-50},methods:{reloadImg(e){this.imgReloadCountMap["pic_img_"+e.md5]?this.imgReloadCountMap["pic_img_"+e.md5]++:this.imgReloadCountMap["pic_img_"+e.md5]=1,this.imgReloadCountMap["pic_img_"+e.md5]<5&&setTimeout((()=>{console.log("重新加载图片-","pic_img_"+e.md5),this.$refs["pic_img_"+e.md5][0].src=this.fileLink(e,200)}),200)},isDwg(e){return r().endsWith(e.name,".dwg")},inited(e){e.options.view=this.view,this.$viewer=e},view(e){let t=e.detail.index,n=r().filter(this.value,(e=>this.isImageFile(e)));w(r().get(n,t))},setPhoto(){let e=[];r().each(this.value,(t=>{if(this.isImageFile(t)&&t.md5){let n=this.fileLink(t,-1);e.push(n)}})),this.photo=e},getFileTypeClass(e){return k(e.name)},isImageFile(e){return r().startsWith(e.type,"image")},fileLink(e,t){if(!e||!e.md5)return;let n=this.isImageFile(e),i={file_md5:e.md5};return t&&(i.width=t),n||(i.is_file=1),(0,l.zC)("/platform/v1/papi/web_file/image_view/",i)},reviewOnMobile(e){},async preview(e){let t=await zj.net.w.noapi({url:`/platform/v1/papi/app_file/download/?file_md5=${e.md5}&webp=0`}),n=r().get(t,"url_list.0.path.0"),i=M(n);"application/pdf"==e.type&&(i="pdf"),"application/vnd.ms-excel"==e.type&&(i="ms-excel");let a=L(),o=`https://${window.location.host}/zj_of/v1/papi/file/read_only/?md5=${e.md5}&type=${{document:"Word.Document",docx:"Word.Document",doc:"Word.Document",sheet:"Excel.Sheet",pdf:"pdf",xlsx:"Excel.Sheet","ms-excel":"Excel.Sheet"}[i]}&sign=${a}`;if("wps"!=(await zj.net.w.noapi({url:"/zj_of/v1/papi/file/using_engine/"})).engine&&(o="https://view.officeapps.live.com/op/embed.aspx?src="+encodeURIComponent(n)),"pdf"==i){let e=n.lastIndexOf(".com");n=n.substring(e+4,n.length),n=encodeURIComponent(n),o=`/public/bpm/app/view_pdf.html?url=${n}`}this.officeUrl=o,this.opened=!0},async share(e){return await zj.net.w.noapi({url:`/platform/v1/papi/app_file/download/?file_md5=${e.md5}&webp=0`})},async toShare(e){},async download(e){window.open(`/platform/v1/papi/web_file/web_download/?file_md5=${e.md5}`)},onHide(){this.opened=!1},onOpen(){this.opened=!0}}},I=(0,T.A)(O,j,[],!1,null,null,null);I.options.__file="components/lib/bpmMulFile/src/part/reader.vue";var P=I.exports,E={name:"BpmMulFile",components:{editorComponent:$,readerComponent:P},props:{value:{},fieldConf:{type:Object,default(){return{}}},container:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},formName:{type:String},uiType:{type:String,default(){return"default"}}},data(){return{curVal:[]}},computed:{curComponent(){return"view"==this.mode?P:$}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},A=(0,T.A)(E,i,[],!1,null,null,null);A.options.__file="components/lib/bpmMulFile/src/main.vue";var F=A.exports;F.install=function(e){e.component(F.name,F)};var V=F},2648:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(5093))},2656:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return w}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-select",attrs:{value:e.curVal,fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType},on:{change:e.handleChange}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-time-edit"},[n("el-time-select",{ref:"component",attrs:{"format-model":"number",format:e.format,"value-format":e.checkFormat,"picker-options":{start:"00:00",step:"00:15",end:"24:00"},clearable:e.clearable,disabled:e.disabled},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}})],1)};a._withStripped=!0;var o=n(6773),r=n.n(o),s=n(5554),l=n.n(s),d=n(7642);l().use(d.TimeSelect);var c={data(){return{curVal:""}},props:["value","fieldConf","row","clearable","disabled"],watch:{value(){this.curVal=this.value}},computed:{format(){return r().get(this.fieldConf,"view.format")},checkFormat(){return r().get(this.fieldConf,"check.format")}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("change",e)}}},u=n(4486),m=(0,u.A)(c,a,[],!1,null,null,null);m.options.__file="components/lib/bpmTime/src/part/editor.vue";var f=m.exports,h=function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",[e._v(e._s(e.value))])};h._withStripped=!0;var p={props:["value","fieldConf","row"],data(){return{}},computed:{},watch:{},mounted(){},methods:{}},_=(0,u.A)(p,h,[],!1,null,null,null);_.options.__file="components/lib/bpmTime/src/part/reader.vue";var g=_.exports,y={name:"BpmTime",components:{editorComponent:f,readerComponent:g},props:{value:{type:[String,Number]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?g:f}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},b=(0,u.A)(y,i,[],!1,null,null,null);b.options.__file="components/lib/bpmTime/src/main.vue";var v=b.exports;v.install=function(e){e.component(v.name,v)};var w=v},2661:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9029),a=n(4227),o={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?i.str`must contain at least ${e} valid item(s)`:i.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?i._`{minContains: ${e}}`:i._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:n,parentSchema:o,data:r,it:s}=e;let l,d;const{minContains:c,maxContains:u}=o;s.opts.next?(l=void 0===c?1:c,d=u):l=1;const m=t.const("len",i._`${r}.length`);if(e.setParams({min:l,max:d}),void 0===d&&0===l)return void(0,a.checkStrictMode)(s,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==d&&l>d)return(0,a.checkStrictMode)(s,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,a.alwaysValidSchema)(s,n)){let t=i._`${m} >= ${l}`;return void 0!==d&&(t=i._`${t} && ${m} <= ${d}`),void e.pass(t)}s.items=!0;const f=t.name("valid");function h(){const e=t.name("_valid"),n=t.let("count",0);p(e,(()=>t.if(e,(()=>function(e){t.code(i._`${e}++`),void 0===d?t.if(i._`${e} >= ${l}`,(()=>t.assign(f,!0).break())):(t.if(i._`${e} > ${d}`,(()=>t.assign(f,!1).break())),1===l?t.assign(f,!0):t.if(i._`${e} >= ${l}`,(()=>t.assign(f,!0))))}(n)))))}function p(n,i){t.forRange("i",0,m,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:a.Type.Num,compositeRule:!0},n),i()}))}void 0===d&&1===l?p(f,(()=>t.if(f,(()=>t.break())))):0===l?(t.let(f,!0),void 0!==d&&t.if(i._`${r}.length > 0`,h)):(t.let(f,!1),h()),e.result(f,(()=>e.reset()))}};t.default=o},2682:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(5093))},2695:function(e,t,n){"use strict";e.exports=n.p+"4a2487b5cc6987c4f1de.woff2?v=4.7.0"},2865:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return M}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-select",attrs:{fieldConf:e.fieldConf,row:e.row,isMultiple:e.isMultiple,mode:e.mode,uiType:e.uiType},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-select-edit"},[e.isRadiosStyle?[e.isMultiple?[n("el-checkbox-group",e._g(e._b({on:{change:e.onChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"el-checkbox-group",e.$attrs,!1),e.$listeners),e._l(e.options,(function(t){return n("el-checkbox",{key:t.value,attrs:{label:t.value}},[e._v(e._s(t.label))])})),1)]:[n("el-radio-group",e._g(e._b({on:{change:e.onChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"el-radio-group",e.$attrs,!1),e.$listeners),e._l(e.options,(function(t){return n("el-radio",{key:t.value,attrs:{label:t.value}},[e._v(e._s(t.label))])})),1)]]:e.isButtonStyle?[e.isMultiple?[n("el-checkbox-group",e._g(e._b({on:{change:e.onChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"el-checkbox-group",e.$attrs,!1),e.$listeners),e._l(e.options,(function(t){return n("el-checkbox-button",{key:t.value,attrs:{label:t.value}},[e._v(e._s(t.label))])})),1)]:[n("el-radio-group",e._g(e._b({on:{change:e.onChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"el-radio-group",e.$attrs,!1),e.$listeners),e._l(e.options,(function(t){return n("el-radio-button",{key:t.value,class:"button-group-item-"+e.fieldConf.id+"-"+t.value,attrs:{label:t.value}},[e._v(e._s(t.label))])})),1)]]:[n("el-select",e._g(e._b({class:{"auto-width-select":!e.isMultiple},attrs:{placeholder:e.placeholder,multiple:e.isMultiple,clearable:"",filterable:""},on:{change:e.onChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"el-select",e.$attrs,!1),e.$listeners),[e.isMultiple?e._e():n("template",{slot:"prefix"},[n("span",{staticStyle:{visibility:"hidden"}},[e._v("\n "+e._s((e.options.find((function(t){return t.value===e.value}))||{}).label))])]),e._v(" "),e._l(e.options,(function(t){return n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}},[n("span",{attrs:{title:t.label}},[e._v(e._s(t.label))])])}))],2)]],2)};a._withStripped=!0;var o=n(6773),r=n.n(o),s=n(5554),l=n.n(s),d=n(7642),c=n(9795);l().use(d.Select),l().use(d.Option);var u={components:{},props:["value","fieldConf","row","isMultiple"],data(){return{curVal:null}},watch:{value(e){console.log("select_val",e),0===e?(this.isMultiple?this.curVal=[0]:this.curVal=0,console.log("select_curVal",this.curVal)):this.curVal=this.value?this.value:this.isMultiple?[]:null}},computed:{options(){let e=r().get(this.fieldConf,"range_enum");return r().map(e,(e=>({value:r().get(e,"0"),label:r().get(e,"1"),color:r().get(e,"2")})))},placeholder(){return this.fieldConf.desc||this.fieldConf.name},isRadiosStyle(){return"default"==r().get(this.fieldConf,"style")},isButtonStyle(){return"button"==r().get(this.fieldConf,"style")}},created(){this.curVal=this.isMultiple?[]:null},mounted(){this.curVal=this.value?this.value:this.isMultiple?[]:null,this.isButtonStyle&&this.addButtonStyleCss()},methods:{addButtonStyleCss(){let e=".bpm-select-edit {",t=r().get(this.fieldConf,"range_enum");r().map(t,(t=>{e+=` .button-group-item-${this.fieldConf.id}-${r().get(t,"0")}{\n .el-radio-button__orig-radio:checked+.el-radio-button__inner {\n color: #fff;\n background-color: ${r().get(t,"2")};\n border-color: ${r().get(t,"2")};\n -webkit-box-shadow: -1px 0 0 0 ${r().get(t,"2")};\n box-shadow: -1px 0 0 0 ${r().get(t,"2")};\n }\n } `})),(0,c.L_)(e,"button-group-item-"+this.fieldConf.id)},onChange(e){""===e?(console.log("bpmSelectOnChange",e),this.$emit("input",null),this.$emit("change",null)):(this.$emit("input",e),this.$emit("change",e))}}},m=n(4486),f=(0,m.A)(u,a,[],!1,null,null,null);f.options.__file="components/lib/bpmSelect/src/part/editor.vue";var h=f.exports,p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-select-view"},[e.isStatus&&e.rangeEnumMap[e.value]?n("div",[n("span",{staticClass:"bpm-status_tag-status",style:{background:e.colorMap[e.value]}},[e._v(e._s(e.rangeEnumMap[e.value]))]),e._v(" "),"form"==e.uiType&&e.row.overtime?n("overtime",{staticClass:"over-time",staticStyle:{"margin-left":"10px","line-height":"21px"},attrs:{colValue:e.row.overtime}}):e._e()],1):e.isStatus?n("span",{attrs:{title:e.label}}):e.isButton&&e.value?n("span",{staticClass:"bpm-btn-select",style:{padding:"6px 8px",color:e.colorMap[e.value],background:e.colorMap[e.value]+"3d"},attrs:{title:e.label}},[e._v(e._s(e.label))]):n("span",[e.isMultiple?e._l(e.labels,(function(t){return n("el-tag",{key:t,staticClass:"bpm-select-view-tag",staticStyle:{"margin-right":"8px"}},[e._v("\n "+e._s(t)+"\n ")])})):[e._v("\n "+e._s(e.label)+"\n ")]],2)])};p._withStripped=!0;var _={props:["type","value","fieldConf","row","isMultiple","uiType"],components:{overtime:n(6702).default},data(){return{colorMap:{}}},computed:{_value(){return r().isArray(this.value)?this.value:[this.value]},rangeEnumMap(){let e=r().get(this.fieldConf,"range_enum"),t={};return r().each(e,(e=>{t[e[0]]=e[1]})),this.setColorMap(),t},labels(){return r().isArray(this.value)?r().map(this._value,(e=>r().get(this.rangeEnumMap,e))):[r().get(this.rangeEnumMap,this.value,zj.z("未指定","b2.common.not_specified"))]},label(){return r().isArray(this.value)?r().map(this._value,(e=>r().get(this.rangeEnumMap,e))).join(","):r().get(this.rangeEnumMap,this.value,zj.z("未指定","b2.common.not_specified"))},isButton(){return"button"==r().get(this.fieldConf,"style")},isStatus(){return"Status"===this.type||"Status"===this.fieldConf.type}},mounted(){},methods:{setColorMap(){let e=r().get(this.fieldConf,"range_enum");this.colorMap={},r().each(e,(e=>{this.colorMap[e[0]]=e[2]}))}}},g=(0,m.A)(_,p,[],!1,null,null,null);g.options.__file="components/lib/bpmSelect/src/part/reader.vue";var y=g.exports,b={name:"BpmSelect",components:{editorComponent:h,readerComponent:y},props:{value:{type:[String,Array,Number]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},isMultiple:{type:Boolean,default(){return!1}}},data(){return{curVal:null}},computed:{curComponent(){return"view"==this.mode?y:h}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},v=(0,m.A)(b,i,[],!1,null,null,null);v.options.__file="components/lib/bpmSelect/src/main.vue";var w=v.exports;w.install=function(e){e.component(w.name,w)};var M=w},2871:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=!1;t.loadGmapApi=function(e,t){if("undefined"!=typeof document){if(i)throw new Error("You already started the loading of google maps");i=!0;var a=document.createElement("SCRIPT");if("object"!==(void 0===e?"undefined":n(e)))throw new Error("options should be an object");Array.prototype.isPrototypeOf(e.libraries)&&(e.libraries=e.libraries.join(",")),e.callback="vueGoogleMapsInit";var o="https://maps.googleapis.com/";"boolean"==typeof t&&!0===t&&(o="https://maps.google.cn/");var r=o+"maps/api/js?"+Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&");a.setAttribute("src",r),a.setAttribute("async",""),a.setAttribute("defer",""),document.head.appendChild(a)}}},2934:function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(5093))},3004:function(e,t,n){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5093))},3025:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const i=n(9029),a=n(4227),o=n(5765);t.error={message:({params:{property:e,depsCount:t,deps:n}})=>{const a=1===t?"property":"properties";return i.str`must have ${a} ${n} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:n,missingProperty:a}})=>i._`{property: ${e},
6
6
  missingProperty: ${a},
7
7
  depsCount: ${t},
8
8
  deps: ${n}}`};const r={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,n]=function({schema:e}){const t={},n={};for(const i in e)"__proto__"!==i&&((Array.isArray(e[i])?t:n)[i]=e[i]);return[t,n]}(e);s(e,t),l(e,n)}};function s(e,t=e.schema){const{gen:n,data:a,it:r}=e;if(0===Object.keys(t).length)return;const s=n.let("missing");for(const l in t){const d=t[l];if(0===d.length)continue;const c=(0,o.propertyInData)(n,a,l,r.opts.ownProperties);e.setParams({property:l,depsCount:d.length,deps:d.join(", ")}),r.allErrors?n.if(c,(()=>{for(const t of d)(0,o.checkReportMissingProp)(e,t)})):(n.if(i._`${c} && (${(0,o.checkMissingProp)(e,d,s)})`),(0,o.reportMissingProp)(e,s),n.else())}}function l(e,t=e.schema){const{gen:n,data:i,keyword:r,it:s}=e,l=n.name("valid");for(const d in t)(0,a.alwaysValidSchema)(s,t[d])||(n.if((0,o.propertyInData)(n,i,d,s.opts.ownProperties),(()=>{const t=e.subschema({keyword:r,schemaProp:d},l);e.mergeValidEvaluated(t,l)}),(()=>n.var(l,!0))),e.ok(l))}t.validatePropertyDeps=s,t.validateSchemaDeps=l,t.default=r},3035:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?a[n][2]?a[n][2]:a[n][1]:i?a[n][0]:a[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},3106:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o),s=n(4417),l=n.n(s),d=new URL(n(4739),n.b),c=new URL(n(96),n.b),u=new URL(n(2695),n.b),m=new URL(n(7473),n.b),f=new URL(n(6961),n.b),h=new URL(n(5716),n.b),p=r()(a()),_=l()(d),g=l()(c,{hash:"?#iefix&v=4.7.0"}),y=l()(u),b=l()(m),v=l()(f),w=l()(h,{hash:"#fontawesomeregular"});p.push([e.id,"/*!\n * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome\n * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)\n */@font-face{font-family:'FontAwesome';src:url("+_+");src:url("+g+") format('embedded-opentype'),url("+y+") format('woff2'),url("+b+") format('woff'),url("+v+") format('truetype'),url("+w+') format(\'svg\');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\\f000"}.fa-music:before{content:"\\f001"}.fa-search:before{content:"\\f002"}.fa-envelope-o:before{content:"\\f003"}.fa-heart:before{content:"\\f004"}.fa-star:before{content:"\\f005"}.fa-star-o:before{content:"\\f006"}.fa-user:before{content:"\\f007"}.fa-film:before{content:"\\f008"}.fa-th-large:before{content:"\\f009"}.fa-th:before{content:"\\f00a"}.fa-th-list:before{content:"\\f00b"}.fa-check:before{content:"\\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\\f00d"}.fa-search-plus:before{content:"\\f00e"}.fa-search-minus:before{content:"\\f010"}.fa-power-off:before{content:"\\f011"}.fa-signal:before{content:"\\f012"}.fa-gear:before,.fa-cog:before{content:"\\f013"}.fa-trash-o:before{content:"\\f014"}.fa-home:before{content:"\\f015"}.fa-file-o:before{content:"\\f016"}.fa-clock-o:before{content:"\\f017"}.fa-road:before{content:"\\f018"}.fa-download:before{content:"\\f019"}.fa-arrow-circle-o-down:before{content:"\\f01a"}.fa-arrow-circle-o-up:before{content:"\\f01b"}.fa-inbox:before{content:"\\f01c"}.fa-play-circle-o:before{content:"\\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\\f01e"}.fa-refresh:before{content:"\\f021"}.fa-list-alt:before{content:"\\f022"}.fa-lock:before{content:"\\f023"}.fa-flag:before{content:"\\f024"}.fa-headphones:before{content:"\\f025"}.fa-volume-off:before{content:"\\f026"}.fa-volume-down:before{content:"\\f027"}.fa-volume-up:before{content:"\\f028"}.fa-qrcode:before{content:"\\f029"}.fa-barcode:before{content:"\\f02a"}.fa-tag:before{content:"\\f02b"}.fa-tags:before{content:"\\f02c"}.fa-book:before{content:"\\f02d"}.fa-bookmark:before{content:"\\f02e"}.fa-print:before{content:"\\f02f"}.fa-camera:before{content:"\\f030"}.fa-font:before{content:"\\f031"}.fa-bold:before{content:"\\f032"}.fa-italic:before{content:"\\f033"}.fa-text-height:before{content:"\\f034"}.fa-text-width:before{content:"\\f035"}.fa-align-left:before{content:"\\f036"}.fa-align-center:before{content:"\\f037"}.fa-align-right:before{content:"\\f038"}.fa-align-justify:before{content:"\\f039"}.fa-list:before{content:"\\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\\f03b"}.fa-indent:before{content:"\\f03c"}.fa-video-camera:before{content:"\\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\\f03e"}.fa-pencil:before{content:"\\f040"}.fa-map-marker:before{content:"\\f041"}.fa-adjust:before{content:"\\f042"}.fa-tint:before{content:"\\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\\f044"}.fa-share-square-o:before{content:"\\f045"}.fa-check-square-o:before{content:"\\f046"}.fa-arrows:before{content:"\\f047"}.fa-step-backward:before{content:"\\f048"}.fa-fast-backward:before{content:"\\f049"}.fa-backward:before{content:"\\f04a"}.fa-play:before{content:"\\f04b"}.fa-pause:before{content:"\\f04c"}.fa-stop:before{content:"\\f04d"}.fa-forward:before{content:"\\f04e"}.fa-fast-forward:before{content:"\\f050"}.fa-step-forward:before{content:"\\f051"}.fa-eject:before{content:"\\f052"}.fa-chevron-left:before{content:"\\f053"}.fa-chevron-right:before{content:"\\f054"}.fa-plus-circle:before{content:"\\f055"}.fa-minus-circle:before{content:"\\f056"}.fa-times-circle:before{content:"\\f057"}.fa-check-circle:before{content:"\\f058"}.fa-question-circle:before{content:"\\f059"}.fa-info-circle:before{content:"\\f05a"}.fa-crosshairs:before{content:"\\f05b"}.fa-times-circle-o:before{content:"\\f05c"}.fa-check-circle-o:before{content:"\\f05d"}.fa-ban:before{content:"\\f05e"}.fa-arrow-left:before{content:"\\f060"}.fa-arrow-right:before{content:"\\f061"}.fa-arrow-up:before{content:"\\f062"}.fa-arrow-down:before{content:"\\f063"}.fa-mail-forward:before,.fa-share:before{content:"\\f064"}.fa-expand:before{content:"\\f065"}.fa-compress:before{content:"\\f066"}.fa-plus:before{content:"\\f067"}.fa-minus:before{content:"\\f068"}.fa-asterisk:before{content:"\\f069"}.fa-exclamation-circle:before{content:"\\f06a"}.fa-gift:before{content:"\\f06b"}.fa-leaf:before{content:"\\f06c"}.fa-fire:before{content:"\\f06d"}.fa-eye:before{content:"\\f06e"}.fa-eye-slash:before{content:"\\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\\f071"}.fa-plane:before{content:"\\f072"}.fa-calendar:before{content:"\\f073"}.fa-random:before{content:"\\f074"}.fa-comment:before{content:"\\f075"}.fa-magnet:before{content:"\\f076"}.fa-chevron-up:before{content:"\\f077"}.fa-chevron-down:before{content:"\\f078"}.fa-retweet:before{content:"\\f079"}.fa-shopping-cart:before{content:"\\f07a"}.fa-folder:before{content:"\\f07b"}.fa-folder-open:before{content:"\\f07c"}.fa-arrows-v:before{content:"\\f07d"}.fa-arrows-h:before{content:"\\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\\f080"}.fa-twitter-square:before{content:"\\f081"}.fa-facebook-square:before{content:"\\f082"}.fa-camera-retro:before{content:"\\f083"}.fa-key:before{content:"\\f084"}.fa-gears:before,.fa-cogs:before{content:"\\f085"}.fa-comments:before{content:"\\f086"}.fa-thumbs-o-up:before{content:"\\f087"}.fa-thumbs-o-down:before{content:"\\f088"}.fa-star-half:before{content:"\\f089"}.fa-heart-o:before{content:"\\f08a"}.fa-sign-out:before{content:"\\f08b"}.fa-linkedin-square:before{content:"\\f08c"}.fa-thumb-tack:before{content:"\\f08d"}.fa-external-link:before{content:"\\f08e"}.fa-sign-in:before{content:"\\f090"}.fa-trophy:before{content:"\\f091"}.fa-github-square:before{content:"\\f092"}.fa-upload:before{content:"\\f093"}.fa-lemon-o:before{content:"\\f094"}.fa-phone:before{content:"\\f095"}.fa-square-o:before{content:"\\f096"}.fa-bookmark-o:before{content:"\\f097"}.fa-phone-square:before{content:"\\f098"}.fa-twitter:before{content:"\\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\\f09a"}.fa-github:before{content:"\\f09b"}.fa-unlock:before{content:"\\f09c"}.fa-credit-card:before{content:"\\f09d"}.fa-feed:before,.fa-rss:before{content:"\\f09e"}.fa-hdd-o:before{content:"\\f0a0"}.fa-bullhorn:before{content:"\\f0a1"}.fa-bell:before{content:"\\f0f3"}.fa-certificate:before{content:"\\f0a3"}.fa-hand-o-right:before{content:"\\f0a4"}.fa-hand-o-left:before{content:"\\f0a5"}.fa-hand-o-up:before{content:"\\f0a6"}.fa-hand-o-down:before{content:"\\f0a7"}.fa-arrow-circle-left:before{content:"\\f0a8"}.fa-arrow-circle-right:before{content:"\\f0a9"}.fa-arrow-circle-up:before{content:"\\f0aa"}.fa-arrow-circle-down:before{content:"\\f0ab"}.fa-globe:before{content:"\\f0ac"}.fa-wrench:before{content:"\\f0ad"}.fa-tasks:before{content:"\\f0ae"}.fa-filter:before{content:"\\f0b0"}.fa-briefcase:before{content:"\\f0b1"}.fa-arrows-alt:before{content:"\\f0b2"}.fa-group:before,.fa-users:before{content:"\\f0c0"}.fa-chain:before,.fa-link:before{content:"\\f0c1"}.fa-cloud:before{content:"\\f0c2"}.fa-flask:before{content:"\\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\\f0c5"}.fa-paperclip:before{content:"\\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\\f0c7"}.fa-square:before{content:"\\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\\f0c9"}.fa-list-ul:before{content:"\\f0ca"}.fa-list-ol:before{content:"\\f0cb"}.fa-strikethrough:before{content:"\\f0cc"}.fa-underline:before{content:"\\f0cd"}.fa-table:before{content:"\\f0ce"}.fa-magic:before{content:"\\f0d0"}.fa-truck:before{content:"\\f0d1"}.fa-pinterest:before{content:"\\f0d2"}.fa-pinterest-square:before{content:"\\f0d3"}.fa-google-plus-square:before{content:"\\f0d4"}.fa-google-plus:before{content:"\\f0d5"}.fa-money:before{content:"\\f0d6"}.fa-caret-down:before{content:"\\f0d7"}.fa-caret-up:before{content:"\\f0d8"}.fa-caret-left:before{content:"\\f0d9"}.fa-caret-right:before{content:"\\f0da"}.fa-columns:before{content:"\\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\\f0de"}.fa-envelope:before{content:"\\f0e0"}.fa-linkedin:before{content:"\\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\\f0e4"}.fa-comment-o:before{content:"\\f0e5"}.fa-comments-o:before{content:"\\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\\f0e7"}.fa-sitemap:before{content:"\\f0e8"}.fa-umbrella:before{content:"\\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\\f0ea"}.fa-lightbulb-o:before{content:"\\f0eb"}.fa-exchange:before{content:"\\f0ec"}.fa-cloud-download:before{content:"\\f0ed"}.fa-cloud-upload:before{content:"\\f0ee"}.fa-user-md:before{content:"\\f0f0"}.fa-stethoscope:before{content:"\\f0f1"}.fa-suitcase:before{content:"\\f0f2"}.fa-bell-o:before{content:"\\f0a2"}.fa-coffee:before{content:"\\f0f4"}.fa-cutlery:before{content:"\\f0f5"}.fa-file-text-o:before{content:"\\f0f6"}.fa-building-o:before{content:"\\f0f7"}.fa-hospital-o:before{content:"\\f0f8"}.fa-ambulance:before{content:"\\f0f9"}.fa-medkit:before{content:"\\f0fa"}.fa-fighter-jet:before{content:"\\f0fb"}.fa-beer:before{content:"\\f0fc"}.fa-h-square:before{content:"\\f0fd"}.fa-plus-square:before{content:"\\f0fe"}.fa-angle-double-left:before{content:"\\f100"}.fa-angle-double-right:before{content:"\\f101"}.fa-angle-double-up:before{content:"\\f102"}.fa-angle-double-down:before{content:"\\f103"}.fa-angle-left:before{content:"\\f104"}.fa-angle-right:before{content:"\\f105"}.fa-angle-up:before{content:"\\f106"}.fa-angle-down:before{content:"\\f107"}.fa-desktop:before{content:"\\f108"}.fa-laptop:before{content:"\\f109"}.fa-tablet:before{content:"\\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\\f10b"}.fa-circle-o:before{content:"\\f10c"}.fa-quote-left:before{content:"\\f10d"}.fa-quote-right:before{content:"\\f10e"}.fa-spinner:before{content:"\\f110"}.fa-circle:before{content:"\\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\\f112"}.fa-github-alt:before{content:"\\f113"}.fa-folder-o:before{content:"\\f114"}.fa-folder-open-o:before{content:"\\f115"}.fa-smile-o:before{content:"\\f118"}.fa-frown-o:before{content:"\\f119"}.fa-meh-o:before{content:"\\f11a"}.fa-gamepad:before{content:"\\f11b"}.fa-keyboard-o:before{content:"\\f11c"}.fa-flag-o:before{content:"\\f11d"}.fa-flag-checkered:before{content:"\\f11e"}.fa-terminal:before{content:"\\f120"}.fa-code:before{content:"\\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\\f123"}.fa-location-arrow:before{content:"\\f124"}.fa-crop:before{content:"\\f125"}.fa-code-fork:before{content:"\\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\\f127"}.fa-question:before{content:"\\f128"}.fa-info:before{content:"\\f129"}.fa-exclamation:before{content:"\\f12a"}.fa-superscript:before{content:"\\f12b"}.fa-subscript:before{content:"\\f12c"}.fa-eraser:before{content:"\\f12d"}.fa-puzzle-piece:before{content:"\\f12e"}.fa-microphone:before{content:"\\f130"}.fa-microphone-slash:before{content:"\\f131"}.fa-shield:before{content:"\\f132"}.fa-calendar-o:before{content:"\\f133"}.fa-fire-extinguisher:before{content:"\\f134"}.fa-rocket:before{content:"\\f135"}.fa-maxcdn:before{content:"\\f136"}.fa-chevron-circle-left:before{content:"\\f137"}.fa-chevron-circle-right:before{content:"\\f138"}.fa-chevron-circle-up:before{content:"\\f139"}.fa-chevron-circle-down:before{content:"\\f13a"}.fa-html5:before{content:"\\f13b"}.fa-css3:before{content:"\\f13c"}.fa-anchor:before{content:"\\f13d"}.fa-unlock-alt:before{content:"\\f13e"}.fa-bullseye:before{content:"\\f140"}.fa-ellipsis-h:before{content:"\\f141"}.fa-ellipsis-v:before{content:"\\f142"}.fa-rss-square:before{content:"\\f143"}.fa-play-circle:before{content:"\\f144"}.fa-ticket:before{content:"\\f145"}.fa-minus-square:before{content:"\\f146"}.fa-minus-square-o:before{content:"\\f147"}.fa-level-up:before{content:"\\f148"}.fa-level-down:before{content:"\\f149"}.fa-check-square:before{content:"\\f14a"}.fa-pencil-square:before{content:"\\f14b"}.fa-external-link-square:before{content:"\\f14c"}.fa-share-square:before{content:"\\f14d"}.fa-compass:before{content:"\\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\\f152"}.fa-euro:before,.fa-eur:before{content:"\\f153"}.fa-gbp:before{content:"\\f154"}.fa-dollar:before,.fa-usd:before{content:"\\f155"}.fa-rupee:before,.fa-inr:before{content:"\\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\\f158"}.fa-won:before,.fa-krw:before{content:"\\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\\f15a"}.fa-file:before{content:"\\f15b"}.fa-file-text:before{content:"\\f15c"}.fa-sort-alpha-asc:before{content:"\\f15d"}.fa-sort-alpha-desc:before{content:"\\f15e"}.fa-sort-amount-asc:before{content:"\\f160"}.fa-sort-amount-desc:before{content:"\\f161"}.fa-sort-numeric-asc:before{content:"\\f162"}.fa-sort-numeric-desc:before{content:"\\f163"}.fa-thumbs-up:before{content:"\\f164"}.fa-thumbs-down:before{content:"\\f165"}.fa-youtube-square:before{content:"\\f166"}.fa-youtube:before{content:"\\f167"}.fa-xing:before{content:"\\f168"}.fa-xing-square:before{content:"\\f169"}.fa-youtube-play:before{content:"\\f16a"}.fa-dropbox:before{content:"\\f16b"}.fa-stack-overflow:before{content:"\\f16c"}.fa-instagram:before{content:"\\f16d"}.fa-flickr:before{content:"\\f16e"}.fa-adn:before{content:"\\f170"}.fa-bitbucket:before{content:"\\f171"}.fa-bitbucket-square:before{content:"\\f172"}.fa-tumblr:before{content:"\\f173"}.fa-tumblr-square:before{content:"\\f174"}.fa-long-arrow-down:before{content:"\\f175"}.fa-long-arrow-up:before{content:"\\f176"}.fa-long-arrow-left:before{content:"\\f177"}.fa-long-arrow-right:before{content:"\\f178"}.fa-apple:before{content:"\\f179"}.fa-windows:before{content:"\\f17a"}.fa-android:before{content:"\\f17b"}.fa-linux:before{content:"\\f17c"}.fa-dribbble:before{content:"\\f17d"}.fa-skype:before{content:"\\f17e"}.fa-foursquare:before{content:"\\f180"}.fa-trello:before{content:"\\f181"}.fa-female:before{content:"\\f182"}.fa-male:before{content:"\\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\\f184"}.fa-sun-o:before{content:"\\f185"}.fa-moon-o:before{content:"\\f186"}.fa-archive:before{content:"\\f187"}.fa-bug:before{content:"\\f188"}.fa-vk:before{content:"\\f189"}.fa-weibo:before{content:"\\f18a"}.fa-renren:before{content:"\\f18b"}.fa-pagelines:before{content:"\\f18c"}.fa-stack-exchange:before{content:"\\f18d"}.fa-arrow-circle-o-right:before{content:"\\f18e"}.fa-arrow-circle-o-left:before{content:"\\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\\f191"}.fa-dot-circle-o:before{content:"\\f192"}.fa-wheelchair:before{content:"\\f193"}.fa-vimeo-square:before{content:"\\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\\f195"}.fa-plus-square-o:before{content:"\\f196"}.fa-space-shuttle:before{content:"\\f197"}.fa-slack:before{content:"\\f198"}.fa-envelope-square:before{content:"\\f199"}.fa-wordpress:before{content:"\\f19a"}.fa-openid:before{content:"\\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\\f19d"}.fa-yahoo:before{content:"\\f19e"}.fa-google:before{content:"\\f1a0"}.fa-reddit:before{content:"\\f1a1"}.fa-reddit-square:before{content:"\\f1a2"}.fa-stumbleupon-circle:before{content:"\\f1a3"}.fa-stumbleupon:before{content:"\\f1a4"}.fa-delicious:before{content:"\\f1a5"}.fa-digg:before{content:"\\f1a6"}.fa-pied-piper-pp:before{content:"\\f1a7"}.fa-pied-piper-alt:before{content:"\\f1a8"}.fa-drupal:before{content:"\\f1a9"}.fa-joomla:before{content:"\\f1aa"}.fa-language:before{content:"\\f1ab"}.fa-fax:before{content:"\\f1ac"}.fa-building:before{content:"\\f1ad"}.fa-child:before{content:"\\f1ae"}.fa-paw:before{content:"\\f1b0"}.fa-spoon:before{content:"\\f1b1"}.fa-cube:before{content:"\\f1b2"}.fa-cubes:before{content:"\\f1b3"}.fa-behance:before{content:"\\f1b4"}.fa-behance-square:before{content:"\\f1b5"}.fa-steam:before{content:"\\f1b6"}.fa-steam-square:before{content:"\\f1b7"}.fa-recycle:before{content:"\\f1b8"}.fa-automobile:before,.fa-car:before{content:"\\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\\f1ba"}.fa-tree:before{content:"\\f1bb"}.fa-spotify:before{content:"\\f1bc"}.fa-deviantart:before{content:"\\f1bd"}.fa-soundcloud:before{content:"\\f1be"}.fa-database:before{content:"\\f1c0"}.fa-file-pdf-o:before{content:"\\f1c1"}.fa-file-word-o:before{content:"\\f1c2"}.fa-file-excel-o:before{content:"\\f1c3"}.fa-file-powerpoint-o:before{content:"\\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\\f1c8"}.fa-file-code-o:before{content:"\\f1c9"}.fa-vine:before{content:"\\f1ca"}.fa-codepen:before{content:"\\f1cb"}.fa-jsfiddle:before{content:"\\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\\f1cd"}.fa-circle-o-notch:before{content:"\\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\\f1d0"}.fa-ge:before,.fa-empire:before{content:"\\f1d1"}.fa-git-square:before{content:"\\f1d2"}.fa-git:before{content:"\\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\\f1d4"}.fa-tencent-weibo:before{content:"\\f1d5"}.fa-qq:before{content:"\\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\\f1d9"}.fa-history:before{content:"\\f1da"}.fa-circle-thin:before{content:"\\f1db"}.fa-header:before{content:"\\f1dc"}.fa-paragraph:before{content:"\\f1dd"}.fa-sliders:before{content:"\\f1de"}.fa-share-alt:before{content:"\\f1e0"}.fa-share-alt-square:before{content:"\\f1e1"}.fa-bomb:before{content:"\\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\\f1e3"}.fa-tty:before{content:"\\f1e4"}.fa-binoculars:before{content:"\\f1e5"}.fa-plug:before{content:"\\f1e6"}.fa-slideshare:before{content:"\\f1e7"}.fa-twitch:before{content:"\\f1e8"}.fa-yelp:before{content:"\\f1e9"}.fa-newspaper-o:before{content:"\\f1ea"}.fa-wifi:before{content:"\\f1eb"}.fa-calculator:before{content:"\\f1ec"}.fa-paypal:before{content:"\\f1ed"}.fa-google-wallet:before{content:"\\f1ee"}.fa-cc-visa:before{content:"\\f1f0"}.fa-cc-mastercard:before{content:"\\f1f1"}.fa-cc-discover:before{content:"\\f1f2"}.fa-cc-amex:before{content:"\\f1f3"}.fa-cc-paypal:before{content:"\\f1f4"}.fa-cc-stripe:before{content:"\\f1f5"}.fa-bell-slash:before{content:"\\f1f6"}.fa-bell-slash-o:before{content:"\\f1f7"}.fa-trash:before{content:"\\f1f8"}.fa-copyright:before{content:"\\f1f9"}.fa-at:before{content:"\\f1fa"}.fa-eyedropper:before{content:"\\f1fb"}.fa-paint-brush:before{content:"\\f1fc"}.fa-birthday-cake:before{content:"\\f1fd"}.fa-area-chart:before{content:"\\f1fe"}.fa-pie-chart:before{content:"\\f200"}.fa-line-chart:before{content:"\\f201"}.fa-lastfm:before{content:"\\f202"}.fa-lastfm-square:before{content:"\\f203"}.fa-toggle-off:before{content:"\\f204"}.fa-toggle-on:before{content:"\\f205"}.fa-bicycle:before{content:"\\f206"}.fa-bus:before{content:"\\f207"}.fa-ioxhost:before{content:"\\f208"}.fa-angellist:before{content:"\\f209"}.fa-cc:before{content:"\\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\\f20b"}.fa-meanpath:before{content:"\\f20c"}.fa-buysellads:before{content:"\\f20d"}.fa-connectdevelop:before{content:"\\f20e"}.fa-dashcube:before{content:"\\f210"}.fa-forumbee:before{content:"\\f211"}.fa-leanpub:before{content:"\\f212"}.fa-sellsy:before{content:"\\f213"}.fa-shirtsinbulk:before{content:"\\f214"}.fa-simplybuilt:before{content:"\\f215"}.fa-skyatlas:before{content:"\\f216"}.fa-cart-plus:before{content:"\\f217"}.fa-cart-arrow-down:before{content:"\\f218"}.fa-diamond:before{content:"\\f219"}.fa-ship:before{content:"\\f21a"}.fa-user-secret:before{content:"\\f21b"}.fa-motorcycle:before{content:"\\f21c"}.fa-street-view:before{content:"\\f21d"}.fa-heartbeat:before{content:"\\f21e"}.fa-venus:before{content:"\\f221"}.fa-mars:before{content:"\\f222"}.fa-mercury:before{content:"\\f223"}.fa-intersex:before,.fa-transgender:before{content:"\\f224"}.fa-transgender-alt:before{content:"\\f225"}.fa-venus-double:before{content:"\\f226"}.fa-mars-double:before{content:"\\f227"}.fa-venus-mars:before{content:"\\f228"}.fa-mars-stroke:before{content:"\\f229"}.fa-mars-stroke-v:before{content:"\\f22a"}.fa-mars-stroke-h:before{content:"\\f22b"}.fa-neuter:before{content:"\\f22c"}.fa-genderless:before{content:"\\f22d"}.fa-facebook-official:before{content:"\\f230"}.fa-pinterest-p:before{content:"\\f231"}.fa-whatsapp:before{content:"\\f232"}.fa-server:before{content:"\\f233"}.fa-user-plus:before{content:"\\f234"}.fa-user-times:before{content:"\\f235"}.fa-hotel:before,.fa-bed:before{content:"\\f236"}.fa-viacoin:before{content:"\\f237"}.fa-train:before{content:"\\f238"}.fa-subway:before{content:"\\f239"}.fa-medium:before{content:"\\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\\f23b"}.fa-optin-monster:before{content:"\\f23c"}.fa-opencart:before{content:"\\f23d"}.fa-expeditedssl:before{content:"\\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\\f244"}.fa-mouse-pointer:before{content:"\\f245"}.fa-i-cursor:before{content:"\\f246"}.fa-object-group:before{content:"\\f247"}.fa-object-ungroup:before{content:"\\f248"}.fa-sticky-note:before{content:"\\f249"}.fa-sticky-note-o:before{content:"\\f24a"}.fa-cc-jcb:before{content:"\\f24b"}.fa-cc-diners-club:before{content:"\\f24c"}.fa-clone:before{content:"\\f24d"}.fa-balance-scale:before{content:"\\f24e"}.fa-hourglass-o:before{content:"\\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\\f253"}.fa-hourglass:before{content:"\\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\\f256"}.fa-hand-scissors-o:before{content:"\\f257"}.fa-hand-lizard-o:before{content:"\\f258"}.fa-hand-spock-o:before{content:"\\f259"}.fa-hand-pointer-o:before{content:"\\f25a"}.fa-hand-peace-o:before{content:"\\f25b"}.fa-trademark:before{content:"\\f25c"}.fa-registered:before{content:"\\f25d"}.fa-creative-commons:before{content:"\\f25e"}.fa-gg:before{content:"\\f260"}.fa-gg-circle:before{content:"\\f261"}.fa-tripadvisor:before{content:"\\f262"}.fa-odnoklassniki:before{content:"\\f263"}.fa-odnoklassniki-square:before{content:"\\f264"}.fa-get-pocket:before{content:"\\f265"}.fa-wikipedia-w:before{content:"\\f266"}.fa-safari:before{content:"\\f267"}.fa-chrome:before{content:"\\f268"}.fa-firefox:before{content:"\\f269"}.fa-opera:before{content:"\\f26a"}.fa-internet-explorer:before{content:"\\f26b"}.fa-tv:before,.fa-television:before{content:"\\f26c"}.fa-contao:before{content:"\\f26d"}.fa-500px:before{content:"\\f26e"}.fa-amazon:before{content:"\\f270"}.fa-calendar-plus-o:before{content:"\\f271"}.fa-calendar-minus-o:before{content:"\\f272"}.fa-calendar-times-o:before{content:"\\f273"}.fa-calendar-check-o:before{content:"\\f274"}.fa-industry:before{content:"\\f275"}.fa-map-pin:before{content:"\\f276"}.fa-map-signs:before{content:"\\f277"}.fa-map-o:before{content:"\\f278"}.fa-map:before{content:"\\f279"}.fa-commenting:before{content:"\\f27a"}.fa-commenting-o:before{content:"\\f27b"}.fa-houzz:before{content:"\\f27c"}.fa-vimeo:before{content:"\\f27d"}.fa-black-tie:before{content:"\\f27e"}.fa-fonticons:before{content:"\\f280"}.fa-reddit-alien:before{content:"\\f281"}.fa-edge:before{content:"\\f282"}.fa-credit-card-alt:before{content:"\\f283"}.fa-codiepie:before{content:"\\f284"}.fa-modx:before{content:"\\f285"}.fa-fort-awesome:before{content:"\\f286"}.fa-usb:before{content:"\\f287"}.fa-product-hunt:before{content:"\\f288"}.fa-mixcloud:before{content:"\\f289"}.fa-scribd:before{content:"\\f28a"}.fa-pause-circle:before{content:"\\f28b"}.fa-pause-circle-o:before{content:"\\f28c"}.fa-stop-circle:before{content:"\\f28d"}.fa-stop-circle-o:before{content:"\\f28e"}.fa-shopping-bag:before{content:"\\f290"}.fa-shopping-basket:before{content:"\\f291"}.fa-hashtag:before{content:"\\f292"}.fa-bluetooth:before{content:"\\f293"}.fa-bluetooth-b:before{content:"\\f294"}.fa-percent:before{content:"\\f295"}.fa-gitlab:before{content:"\\f296"}.fa-wpbeginner:before{content:"\\f297"}.fa-wpforms:before{content:"\\f298"}.fa-envira:before{content:"\\f299"}.fa-universal-access:before{content:"\\f29a"}.fa-wheelchair-alt:before{content:"\\f29b"}.fa-question-circle-o:before{content:"\\f29c"}.fa-blind:before{content:"\\f29d"}.fa-audio-description:before{content:"\\f29e"}.fa-volume-control-phone:before{content:"\\f2a0"}.fa-braille:before{content:"\\f2a1"}.fa-assistive-listening-systems:before{content:"\\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\\f2a4"}.fa-glide:before{content:"\\f2a5"}.fa-glide-g:before{content:"\\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\\f2a7"}.fa-low-vision:before{content:"\\f2a8"}.fa-viadeo:before{content:"\\f2a9"}.fa-viadeo-square:before{content:"\\f2aa"}.fa-snapchat:before{content:"\\f2ab"}.fa-snapchat-ghost:before{content:"\\f2ac"}.fa-snapchat-square:before{content:"\\f2ad"}.fa-pied-piper:before{content:"\\f2ae"}.fa-first-order:before{content:"\\f2b0"}.fa-yoast:before{content:"\\f2b1"}.fa-themeisle:before{content:"\\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\\f2b4"}.fa-handshake-o:before{content:"\\f2b5"}.fa-envelope-open:before{content:"\\f2b6"}.fa-envelope-open-o:before{content:"\\f2b7"}.fa-linode:before{content:"\\f2b8"}.fa-address-book:before{content:"\\f2b9"}.fa-address-book-o:before{content:"\\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\\f2bc"}.fa-user-circle:before{content:"\\f2bd"}.fa-user-circle-o:before{content:"\\f2be"}.fa-user-o:before{content:"\\f2c0"}.fa-id-badge:before{content:"\\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\\f2c3"}.fa-quora:before{content:"\\f2c4"}.fa-free-code-camp:before{content:"\\f2c5"}.fa-telegram:before{content:"\\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\\f2cb"}.fa-shower:before{content:"\\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\\f2cd"}.fa-podcast:before{content:"\\f2ce"}.fa-window-maximize:before{content:"\\f2d0"}.fa-window-minimize:before{content:"\\f2d1"}.fa-window-restore:before{content:"\\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\\f2d4"}.fa-bandcamp:before{content:"\\f2d5"}.fa-grav:before{content:"\\f2d6"}.fa-etsy:before{content:"\\f2d7"}.fa-imdb:before{content:"\\f2d8"}.fa-ravelry:before{content:"\\f2d9"}.fa-eercast:before{content:"\\f2da"}.fa-microchip:before{content:"\\f2db"}.fa-snowflake-o:before{content:"\\f2dc"}.fa-superpowers:before{content:"\\f2dd"}.fa-wpexplorer:before{content:"\\f2de"}.fa-meetup:before{content:"\\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}\n',""]),t.A=p},3164:function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})}(n(5093))},3231:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o)()(a());r.push([e.id,".color-indication{width:auto;bottom:0;height:40px;left:0;right:0;color:#666;line-height:20px;background:#fff;display:flex;justify-content:space-around;align-items:center;padding:0 5px;z-index:999}.color-indication-item{flex:1;padding:2px;display:flex}.color-indication .color-rect{background-color:#666;border:1px solid #666;width:22px;height:16px;border-radius:4px;margin-right:5px;display:inline-block}",""]),t.A=r},3282:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const i=n(4042),a=n(6144),o=n(6653),r=n(2079),s=["/properties"],l="http://json-schema.org/draft-07/schema";class d extends i.default{_addVocabularies(){super._addVocabularies(),a.default.forEach((e=>this.addVocabulary(e))),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(r,s):r;this.addMetaSchema(e,l,!1),this.refs["http://json-schema.org/schema"]=l}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(l)?l:void 0)}}t.Ajv=d,e.exports=t=d,e.exports.Ajv=d,Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var c=n(2586);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return c.KeywordCxt}});var u=n(9029);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return u._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return u.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return u.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return u.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return u.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return u.CodeGen}});var m=n(3558);Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return m.default}});var f=n(4551);Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return f.default}})},3318:function(e,t){!function(){"use strict";var n={};function i(e){return u(">"+f("B",e.length),e)}function a(e){return u(">"+f("H",e.length),e)}function o(e){return u(">"+f("L",e.length),e)}function r(e,t,n){var r,s,l,d,c="",m="";if("Byte"==t)(r=e.length)<=4?m=i(e)+f("\0",4-r):(m=u(">L",[n]),c=i(e));else if("Short"==t)(r=e.length)<=2?m=a(e)+f("\0\0",2-r):(m=u(">L",[n]),c=a(e));else if("Long"==t)(r=e.length)<=1?m=o(e):(m=u(">L",[n]),c=o(e));else if("Ascii"==t)(r=(s=e+"\0").length)>4?(m=u(">L",[n]),c=s):m=s+f("\0",4-r);else if("Rational"==t){if("number"==typeof e[0])r=1,l=e[0],d=e[1],s=u(">L",[l])+u(">L",[d]);else{r=e.length,s="";for(var h=0;h<r;h++)l=e[h][0],d=e[h][1],s+=u(">L",[l])+u(">L",[d])}m=u(">L",[n]),c=s}else if("SRational"==t){if("number"==typeof e[0])r=1,l=e[0],d=e[1],s=u(">l",[l])+u(">l",[d]);else for(r=e.length,s="",h=0;h<r;h++)l=e[h][0],d=e[h][1],s+=u(">l",[l])+u(">l",[d]);m=u(">L",[n]),c=s}else"Undefined"==t&&((r=e.length)>4?(m=u(">L",[n]),c=e):m=e+f("\0",4-r));return[u(">L",[r]),m,c]}function s(e,t,n){var i,a=Object.keys(e).length,o=u(">H",[a]);i=["0th","1st"].indexOf(t)>-1?2+12*a+4:2+12*a;var s="",l="";for(var d in e)if("string"==typeof d&&(d=parseInt(d)),!("0th"==t&&[34665,34853].indexOf(d)>-1||"Exif"==t&&40965==d||"1st"==t&&[513,514].indexOf(d)>-1)){var c=e[d],m=u(">H",[d]),f=_[t][d].type,h=u(">H",[p[f]]);"number"==typeof c&&(c=[c]);var g=r(c,f,8+i+n+l.length);s+=m+h+g[0]+g[1],l+=g[2]}return[o+s,l]}function l(e){var t;if("ÿØ"==e.slice(0,2))t=function(e){for(var t,n=0;n<e.length;n++)if("ÿá"==(t=e[n]).slice(0,2)&&"Exif\0\0"==t.slice(4,10))return t;return null}(h(e)),this.tiftag=t?t.slice(10):null;else if(["II","MM"].indexOf(e.slice(0,2))>-1)this.tiftag=e;else{if("Exif"!=e.slice(0,4))throw new Error("Given file is neither JPEG nor TIFF.");this.tiftag=e.slice(6)}}if(n.version="1.0.4",n.remove=function(e){var t=!1;if("ÿØ"==e.slice(0,2));else{if("data:image/jpeg;base64,"!=e.slice(0,23)&&"data:image/jpg;base64,"!=e.slice(0,22))throw new Error("Given data is not jpeg.");e=c(e.split(",")[1]),t=!0}var n=h(e).filter((function(e){return!("ÿá"==e.slice(0,2)&&"Exif\0\0"==e.slice(4,10))})).join("");return t&&(n="data:image/jpeg;base64,"+d(n)),n},n.insert=function(e,t){var n=!1;if("Exif\0\0"!=e.slice(0,6))throw new Error("Given data is not exif.");if("ÿØ"==t.slice(0,2));else{if("data:image/jpeg;base64,"!=t.slice(0,23)&&"data:image/jpg;base64,"!=t.slice(0,22))throw new Error("Given data is not jpeg.");t=c(t.split(",")[1]),n=!0}var i="ÿá"+u(">H",[e.length+2])+e,a=function(e,t){var n=!1,i=[];return e.forEach((function(a,o){"ÿá"==a.slice(0,2)&&"Exif\0\0"==a.slice(4,10)&&(n?i.unshift(o):(e[o]=t,n=!0))})),i.forEach((function(t){e.splice(t,1)})),!n&&t&&(e=[e[0],t].concat(e.slice(1))),e.join("")}(h(t),i);return n&&(a="data:image/jpeg;base64,"+d(a)),a},n.load=function(e){var t;if("string"!=typeof e)throw new Error("'load' gots invalid type argument.");if("ÿØ"==e.slice(0,2))t=e;else if("data:image/jpeg;base64,"==e.slice(0,23)||"data:image/jpg;base64,"==e.slice(0,22))t=c(e.split(",")[1]);else{if("Exif"!=e.slice(0,4))throw new Error("'load' gots invalid file data.");t=e.slice(6)}var n={"0th":{},Exif:{},GPS:{},Interop:{},"1st":{},thumbnail:null},i=new l(t);if(null===i.tiftag)return n;"II"==i.tiftag.slice(0,2)?i.endian_mark="<":i.endian_mark=">";var a=m(i.endian_mark+"L",i.tiftag.slice(4,8))[0];n["0th"]=i.get_ifd(a,"0th");var o=n["0th"].first_ifd_pointer;if(delete n["0th"].first_ifd_pointer,34665 in n["0th"]&&(a=n["0th"][34665],n.Exif=i.get_ifd(a,"Exif")),34853 in n["0th"]&&(a=n["0th"][34853],n.GPS=i.get_ifd(a,"GPS")),40965 in n.Exif&&(a=n.Exif[40965],n.Interop=i.get_ifd(a,"Interop")),"\0\0\0\0"!=o&&(a=m(i.endian_mark+"L",o)[0],n["1st"]=i.get_ifd(a,"1st"),513 in n["1st"]&&514 in n["1st"])){var r=n["1st"][513]+n["1st"][514],s=i.tiftag.slice(n["1st"][513],r);n.thumbnail=s}return n},n.dump=function(e){var t,i,a,o,r,l,d=(t=e,JSON.parse(JSON.stringify(t))),c=!1,m=!1,f=!1,_=!1;i="0th"in d?d["0th"]:{},"Exif"in d&&Object.keys(d.Exif).length||"Interop"in d&&Object.keys(d.Interop).length?(i[34665]=1,c=!0,a=d.Exif,"Interop"in d&&Object.keys(d.Interop).length?(a[40965]=1,f=!0,o=d.Interop):Object.keys(a).indexOf(n.ExifIFD.InteroperabilityTag.toString())>-1&&delete a[40965]):Object.keys(i).indexOf(n.ImageIFD.ExifTag.toString())>-1&&delete i[34665],"GPS"in d&&Object.keys(d.GPS).length?(i[n.ImageIFD.GPSTag]=1,m=!0,r=d.GPS):Object.keys(i).indexOf(n.ImageIFD.GPSTag.toString())>-1&&delete i[n.ImageIFD.GPSTag],"1st"in d&&"thumbnail"in d&&null!=d.thumbnail&&(_=!0,d["1st"][513]=1,d["1st"][514]=1,l=d["1st"]);var g,y,b,v=s(i,"0th",0),w=v[0].length+12*c+12*m+4+v[1].length,M="",k=0,L="",S=0,x="",D=0,C="";if(c&&(k=(g=s(a,"Exif",w))[0].length+12*f+g[1].length),m&&(S=(L=s(r,"GPS",w+k).join("")).length),f&&(D=(x=s(o,"Interop",w+k+S).join("")).length),_&&(y=s(l,"1st",w+k+S+D),(b=function(e){for(var t=h(e);"ÿà"<=t[1].slice(0,2)&&t[1].slice(0,2)<="ÿï";)t=[t[0]].concat(t.slice(2));return t.join("")}(d.thumbnail)).length>64e3))throw new Error("Given thumbnail is too large. max 64kB");var T="",Y="",$="",j="\0\0\0\0";if(c){var O=u(">L",[I=8+w]);T=u(">H",[34665])+u(">H",[p.Long])+u(">L",[1])+O}if(m&&(O=u(">L",[I=8+w+k]),Y=u(">H",[34853])+u(">H",[p.Long])+u(">L",[1])+O),f&&(O=u(">L",[I=8+w+k+S]),$=u(">H",[40965])+u(">H",[p.Long])+u(">L",[1])+O),_){var I;j=u(">L",[I=8+w+k+S+D]);var P="\0\0\0\0"+u(">L",[I+y[0].length+24+4+y[1].length]),E="\0\0\0\0"+u(">L",[b.length]);C=y[0]+P+E+"\0\0\0\0"+y[1]+b}var A=v[0]+T+Y+j+v[1];return c&&(M=g[0]+$+g[1]),"Exif\0\0MM\0*\0\0\0\b"+A+M+L+x+C},l.prototype={get_ifd:function(e,t){var n,i={},a=m(this.endian_mark+"H",this.tiftag.slice(e,e+2))[0],o=e+2;n=["0th","1st"].indexOf(t)>-1?"Image":t;for(var r=0;r<a;r++){e=o+12*r;var s=m(this.endian_mark+"H",this.tiftag.slice(e,e+2))[0],l=[m(this.endian_mark+"H",this.tiftag.slice(e+2,e+4))[0],m(this.endian_mark+"L",this.tiftag.slice(e+4,e+8))[0],this.tiftag.slice(e+8,e+12)];s in _[n]&&(i[s]=this.convert_value(l))}return"0th"==t&&(e=o+12*a,i.first_ifd_pointer=this.tiftag.slice(e,e+4)),i},convert_value:function(e){var t,n=null,i=e[0],a=e[1],o=e[2];if(1==i)a>4?(t=m(this.endian_mark+"L",o)[0],n=m(this.endian_mark+f("B",a),this.tiftag.slice(t,t+a))):n=m(this.endian_mark+f("B",a),o.slice(0,a));else if(2==i)a>4?(t=m(this.endian_mark+"L",o)[0],n=this.tiftag.slice(t,t+a-1)):n=o.slice(0,a-1);else if(3==i)a>2?(t=m(this.endian_mark+"L",o)[0],n=m(this.endian_mark+f("H",a),this.tiftag.slice(t,t+2*a))):n=m(this.endian_mark+f("H",a),o.slice(0,2*a));else if(4==i)a>1?(t=m(this.endian_mark+"L",o)[0],n=m(this.endian_mark+f("L",a),this.tiftag.slice(t,t+4*a))):n=m(this.endian_mark+f("L",a),o);else if(5==i)if(t=m(this.endian_mark+"L",o)[0],a>1){n=[];for(var r=0;r<a;r++)n.push([m(this.endian_mark+"L",this.tiftag.slice(t+8*r,t+4+8*r))[0],m(this.endian_mark+"L",this.tiftag.slice(t+4+8*r,t+8+8*r))[0]])}else n=[m(this.endian_mark+"L",this.tiftag.slice(t,t+4))[0],m(this.endian_mark+"L",this.tiftag.slice(t+4,t+8))[0]];else if(7==i)a>4?(t=m(this.endian_mark+"L",o)[0],n=this.tiftag.slice(t,t+a)):n=o.slice(0,a);else if(9==i)a>1?(t=m(this.endian_mark+"L",o)[0],n=m(this.endian_mark+f("l",a),this.tiftag.slice(t,t+4*a))):n=m(this.endian_mark+f("l",a),o);else{if(10!=i)throw new Error("Exif might be wrong. Got incorrect value type to decode. type:"+i);if(t=m(this.endian_mark+"L",o)[0],a>1)for(n=[],r=0;r<a;r++)n.push([m(this.endian_mark+"l",this.tiftag.slice(t+8*r,t+4+8*r))[0],m(this.endian_mark+"l",this.tiftag.slice(t+4+8*r,t+8+8*r))[0]]);else n=[m(this.endian_mark+"l",this.tiftag.slice(t,t+4))[0],m(this.endian_mark+"l",this.tiftag.slice(t+4,t+8))[0]]}return n instanceof Array&&1==n.length?n[0]:n}},"undefined"!=typeof window&&"function"==typeof window.btoa)var d=window.btoa;if(void 0===d&&(d=function(e){for(var t,n,i,a,o,r,s,l="",d=0,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";d<e.length;)a=(t=e.charCodeAt(d++))>>2,o=(3&t)<<4|(n=e.charCodeAt(d++))>>4,r=(15&n)<<2|(i=e.charCodeAt(d++))>>6,s=63&i,isNaN(n)?r=s=64:isNaN(i)&&(s=64),l=l+c.charAt(a)+c.charAt(o)+c.charAt(r)+c.charAt(s);return l}),"undefined"!=typeof window&&"function"==typeof window.atob)var c=window.atob;function u(e,t){if(!(t instanceof Array))throw new Error("'pack' error. Got invalid type argument.");if(e.length-1!=t.length)throw new Error("'pack' error. "+(e.length-1)+" marks, "+t.length+" elements.");var n;if("<"==e[0])n=!0;else{if(">"!=e[0])throw new Error("");n=!1}for(var i="",a=1,o=null,r=null,s=null;r=e[a];){if("b"==r.toLowerCase()){if(o=t[a-1],"b"==r&&o<0&&(o+=256),o>255||o<0)throw new Error("'pack' error.");s=String.fromCharCode(o)}else if("H"==r){if((o=t[a-1])>65535||o<0)throw new Error("'pack' error.");s=String.fromCharCode(Math.floor(o%65536/256))+String.fromCharCode(o%256),n&&(s=s.split("").reverse().join(""))}else{if("l"!=r.toLowerCase())throw new Error("'pack' error.");if(o=t[a-1],"l"==r&&o<0&&(o+=4294967296),o>4294967295||o<0)throw new Error("'pack' error.");s=String.fromCharCode(Math.floor(o/16777216))+String.fromCharCode(Math.floor(o%16777216/65536))+String.fromCharCode(Math.floor(o%65536/256))+String.fromCharCode(o%256),n&&(s=s.split("").reverse().join(""))}i+=s,a+=1}return i}function m(e,t){if("string"!=typeof t)throw new Error("'unpack' error. Got invalid type argument.");for(var n,i=0,a=1;a<e.length;a++)if("b"==e[a].toLowerCase())i+=1;else if("h"==e[a].toLowerCase())i+=2;else{if("l"!=e[a].toLowerCase())throw new Error("'unpack' error. Got invalid mark.");i+=4}if(i!=t.length)throw new Error("'unpack' error. Mismatch between symbol and string length. "+i+":"+t.length);if("<"==e[0])n=!0;else{if(">"!=e[0])throw new Error("'unpack' error.");n=!1}for(var o=[],r=0,s=1,l=null,d=null,c=null,u="";d=e[s];){if("b"==d.toLowerCase())c=1,l=(u=t.slice(r,r+c)).charCodeAt(0),"b"==d&&l>=128&&(l-=256);else if("H"==d)c=2,u=t.slice(r,r+c),n&&(u=u.split("").reverse().join("")),l=256*u.charCodeAt(0)+u.charCodeAt(1);else{if("l"!=d.toLowerCase())throw new Error("'unpack' error. "+d);c=4,u=t.slice(r,r+c),n&&(u=u.split("").reverse().join("")),l=16777216*u.charCodeAt(0)+65536*u.charCodeAt(1)+256*u.charCodeAt(2)+u.charCodeAt(3),"l"==d&&l>=2147483648&&(l-=4294967296)}o.push(l),r+=c,s+=1}return o}function f(e,t){for(var n="",i=0;i<t;i++)n+=e;return n}function h(e){if("ÿØ"!=e.slice(0,2))throw new Error("Given data isn't JPEG.");for(var t=2,n=["ÿØ"];;){if("ÿÚ"==e.slice(t,t+2)){n.push(e.slice(t));break}var i=t+m(">H",e.slice(t+2,t+4))[0]+2;if(n.push(e.slice(t,i)),(t=i)>=e.length)throw new Error("Wrong JPEG data.")}return n}void 0===c&&(c=function(e){var t,n,i,a,o,r,s="",l=0,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");l<e.length;)t=d.indexOf(e.charAt(l++))<<2|(a=d.indexOf(e.charAt(l++)))>>4,n=(15&a)<<4|(o=d.indexOf(e.charAt(l++)))>>2,i=(3&o)<<6|(r=d.indexOf(e.charAt(l++))),s+=String.fromCharCode(t),64!=o&&(s+=String.fromCharCode(n)),64!=r&&(s+=String.fromCharCode(i));return s});var p={Byte:1,Ascii:2,Short:3,Long:4,Rational:5,Undefined:7,SLong:9,SRational:10},_={Image:{11:{name:"ProcessingSoftware",type:"Ascii"},254:{name:"NewSubfileType",type:"Long"},255:{name:"SubfileType",type:"Short"},256:{name:"ImageWidth",type:"Long"},257:{name:"ImageLength",type:"Long"},258:{name:"BitsPerSample",type:"Short"},259:{name:"Compression",type:"Short"},262:{name:"PhotometricInterpretation",type:"Short"},263:{name:"Threshholding",type:"Short"},264:{name:"CellWidth",type:"Short"},265:{name:"CellLength",type:"Short"},266:{name:"FillOrder",type:"Short"},269:{name:"DocumentName",type:"Ascii"},270:{name:"ImageDescription",type:"Ascii"},271:{name:"Make",type:"Ascii"},272:{name:"Model",type:"Ascii"},273:{name:"StripOffsets",type:"Long"},274:{name:"Orientation",type:"Short"},277:{name:"SamplesPerPixel",type:"Short"},278:{name:"RowsPerStrip",type:"Long"},279:{name:"StripByteCounts",type:"Long"},282:{name:"XResolution",type:"Rational"},283:{name:"YResolution",type:"Rational"},284:{name:"PlanarConfiguration",type:"Short"},290:{name:"GrayResponseUnit",type:"Short"},291:{name:"GrayResponseCurve",type:"Short"},292:{name:"T4Options",type:"Long"},293:{name:"T6Options",type:"Long"},296:{name:"ResolutionUnit",type:"Short"},301:{name:"TransferFunction",type:"Short"},305:{name:"Software",type:"Ascii"},306:{name:"DateTime",type:"Ascii"},315:{name:"Artist",type:"Ascii"},316:{name:"HostComputer",type:"Ascii"},317:{name:"Predictor",type:"Short"},318:{name:"WhitePoint",type:"Rational"},319:{name:"PrimaryChromaticities",type:"Rational"},320:{name:"ColorMap",type:"Short"},321:{name:"HalftoneHints",type:"Short"},322:{name:"TileWidth",type:"Short"},323:{name:"TileLength",type:"Short"},324:{name:"TileOffsets",type:"Short"},325:{name:"TileByteCounts",type:"Short"},330:{name:"SubIFDs",type:"Long"},332:{name:"InkSet",type:"Short"},333:{name:"InkNames",type:"Ascii"},334:{name:"NumberOfInks",type:"Short"},336:{name:"DotRange",type:"Byte"},337:{name:"TargetPrinter",type:"Ascii"},338:{name:"ExtraSamples",type:"Short"},339:{name:"SampleFormat",type:"Short"},340:{name:"SMinSampleValue",type:"Short"},341:{name:"SMaxSampleValue",type:"Short"},342:{name:"TransferRange",type:"Short"},343:{name:"ClipPath",type:"Byte"},344:{name:"XClipPathUnits",type:"Long"},345:{name:"YClipPathUnits",type:"Long"},346:{name:"Indexed",type:"Short"},347:{name:"JPEGTables",type:"Undefined"},351:{name:"OPIProxy",type:"Short"},512:{name:"JPEGProc",type:"Long"},513:{name:"JPEGInterchangeFormat",type:"Long"},514:{name:"JPEGInterchangeFormatLength",type:"Long"},515:{name:"JPEGRestartInterval",type:"Short"},517:{name:"JPEGLosslessPredictors",type:"Short"},518:{name:"JPEGPointTransforms",type:"Short"},519:{name:"JPEGQTables",type:"Long"},520:{name:"JPEGDCTables",type:"Long"},521:{name:"JPEGACTables",type:"Long"},529:{name:"YCbCrCoefficients",type:"Rational"},530:{name:"YCbCrSubSampling",type:"Short"},531:{name:"YCbCrPositioning",type:"Short"},532:{name:"ReferenceBlackWhite",type:"Rational"},700:{name:"XMLPacket",type:"Byte"},18246:{name:"Rating",type:"Short"},18249:{name:"RatingPercent",type:"Short"},32781:{name:"ImageID",type:"Ascii"},33421:{name:"CFARepeatPatternDim",type:"Short"},33422:{name:"CFAPattern",type:"Byte"},33423:{name:"BatteryLevel",type:"Rational"},33432:{name:"Copyright",type:"Ascii"},33434:{name:"ExposureTime",type:"Rational"},34377:{name:"ImageResources",type:"Byte"},34665:{name:"ExifTag",type:"Long"},34675:{name:"InterColorProfile",type:"Undefined"},34853:{name:"GPSTag",type:"Long"},34857:{name:"Interlace",type:"Short"},34858:{name:"TimeZoneOffset",type:"Long"},34859:{name:"SelfTimerMode",type:"Short"},37387:{name:"FlashEnergy",type:"Rational"},37388:{name:"SpatialFrequencyResponse",type:"Undefined"},37389:{name:"Noise",type:"Undefined"},37390:{name:"FocalPlaneXResolution",type:"Rational"},37391:{name:"FocalPlaneYResolution",type:"Rational"},37392:{name:"FocalPlaneResolutionUnit",type:"Short"},37393:{name:"ImageNumber",type:"Long"},37394:{name:"SecurityClassification",type:"Ascii"},37395:{name:"ImageHistory",type:"Ascii"},37397:{name:"ExposureIndex",type:"Rational"},37398:{name:"TIFFEPStandardID",type:"Byte"},37399:{name:"SensingMethod",type:"Short"},40091:{name:"XPTitle",type:"Byte"},40092:{name:"XPComment",type:"Byte"},40093:{name:"XPAuthor",type:"Byte"},40094:{name:"XPKeywords",type:"Byte"},40095:{name:"XPSubject",type:"Byte"},50341:{name:"PrintImageMatching",type:"Undefined"},50706:{name:"DNGVersion",type:"Byte"},50707:{name:"DNGBackwardVersion",type:"Byte"},50708:{name:"UniqueCameraModel",type:"Ascii"},50709:{name:"LocalizedCameraModel",type:"Byte"},50710:{name:"CFAPlaneColor",type:"Byte"},50711:{name:"CFALayout",type:"Short"},50712:{name:"LinearizationTable",type:"Short"},50713:{name:"BlackLevelRepeatDim",type:"Short"},50714:{name:"BlackLevel",type:"Rational"},50715:{name:"BlackLevelDeltaH",type:"SRational"},50716:{name:"BlackLevelDeltaV",type:"SRational"},50717:{name:"WhiteLevel",type:"Short"},50718:{name:"DefaultScale",type:"Rational"},50719:{name:"DefaultCropOrigin",type:"Short"},50720:{name:"DefaultCropSize",type:"Short"},50721:{name:"ColorMatrix1",type:"SRational"},50722:{name:"ColorMatrix2",type:"SRational"},50723:{name:"CameraCalibration1",type:"SRational"},50724:{name:"CameraCalibration2",type:"SRational"},50725:{name:"ReductionMatrix1",type:"SRational"},50726:{name:"ReductionMatrix2",type:"SRational"},50727:{name:"AnalogBalance",type:"Rational"},50728:{name:"AsShotNeutral",type:"Short"},50729:{name:"AsShotWhiteXY",type:"Rational"},50730:{name:"BaselineExposure",type:"SRational"},50731:{name:"BaselineNoise",type:"Rational"},50732:{name:"BaselineSharpness",type:"Rational"},50733:{name:"BayerGreenSplit",type:"Long"},50734:{name:"LinearResponseLimit",type:"Rational"},50735:{name:"CameraSerialNumber",type:"Ascii"},50736:{name:"LensInfo",type:"Rational"},50737:{name:"ChromaBlurRadius",type:"Rational"},50738:{name:"AntiAliasStrength",type:"Rational"},50739:{name:"ShadowScale",type:"SRational"},50740:{name:"DNGPrivateData",type:"Byte"},50741:{name:"MakerNoteSafety",type:"Short"},50778:{name:"CalibrationIlluminant1",type:"Short"},50779:{name:"CalibrationIlluminant2",type:"Short"},50780:{name:"BestQualityScale",type:"Rational"},50781:{name:"RawDataUniqueID",type:"Byte"},50827:{name:"OriginalRawFileName",type:"Byte"},50828:{name:"OriginalRawFileData",type:"Undefined"},50829:{name:"ActiveArea",type:"Short"},50830:{name:"MaskedAreas",type:"Short"},50831:{name:"AsShotICCProfile",type:"Undefined"},50832:{name:"AsShotPreProfileMatrix",type:"SRational"},50833:{name:"CurrentICCProfile",type:"Undefined"},50834:{name:"CurrentPreProfileMatrix",type:"SRational"},50879:{name:"ColorimetricReference",type:"Short"},50931:{name:"CameraCalibrationSignature",type:"Byte"},50932:{name:"ProfileCalibrationSignature",type:"Byte"},50934:{name:"AsShotProfileName",type:"Byte"},50935:{name:"NoiseReductionApplied",type:"Rational"},50936:{name:"ProfileName",type:"Byte"},50937:{name:"ProfileHueSatMapDims",type:"Long"},50938:{name:"ProfileHueSatMapData1",type:"Float"},50939:{name:"ProfileHueSatMapData2",type:"Float"},50940:{name:"ProfileToneCurve",type:"Float"},50941:{name:"ProfileEmbedPolicy",type:"Long"},50942:{name:"ProfileCopyright",type:"Byte"},50964:{name:"ForwardMatrix1",type:"SRational"},50965:{name:"ForwardMatrix2",type:"SRational"},50966:{name:"PreviewApplicationName",type:"Byte"},50967:{name:"PreviewApplicationVersion",type:"Byte"},50968:{name:"PreviewSettingsName",type:"Byte"},50969:{name:"PreviewSettingsDigest",type:"Byte"},50970:{name:"PreviewColorSpace",type:"Long"},50971:{name:"PreviewDateTime",type:"Ascii"},50972:{name:"RawImageDigest",type:"Undefined"},50973:{name:"OriginalRawFileDigest",type:"Undefined"},50974:{name:"SubTileBlockSize",type:"Long"},50975:{name:"RowInterleaveFactor",type:"Long"},50981:{name:"ProfileLookTableDims",type:"Long"},50982:{name:"ProfileLookTableData",type:"Float"},51008:{name:"OpcodeList1",type:"Undefined"},51009:{name:"OpcodeList2",type:"Undefined"},51022:{name:"OpcodeList3",type:"Undefined"}},Exif:{33434:{name:"ExposureTime",type:"Rational"},33437:{name:"FNumber",type:"Rational"},34850:{name:"ExposureProgram",type:"Short"},34852:{name:"SpectralSensitivity",type:"Ascii"},34855:{name:"ISOSpeedRatings",type:"Short"},34856:{name:"OECF",type:"Undefined"},34864:{name:"SensitivityType",type:"Short"},34865:{name:"StandardOutputSensitivity",type:"Long"},34866:{name:"RecommendedExposureIndex",type:"Long"},34867:{name:"ISOSpeed",type:"Long"},34868:{name:"ISOSpeedLatitudeyyy",type:"Long"},34869:{name:"ISOSpeedLatitudezzz",type:"Long"},36864:{name:"ExifVersion",type:"Undefined"},36867:{name:"DateTimeOriginal",type:"Ascii"},36868:{name:"DateTimeDigitized",type:"Ascii"},37121:{name:"ComponentsConfiguration",type:"Undefined"},37122:{name:"CompressedBitsPerPixel",type:"Rational"},37377:{name:"ShutterSpeedValue",type:"SRational"},37378:{name:"ApertureValue",type:"Rational"},37379:{name:"BrightnessValue",type:"SRational"},37380:{name:"ExposureBiasValue",type:"SRational"},37381:{name:"MaxApertureValue",type:"Rational"},37382:{name:"SubjectDistance",type:"Rational"},37383:{name:"MeteringMode",type:"Short"},37384:{name:"LightSource",type:"Short"},37385:{name:"Flash",type:"Short"},37386:{name:"FocalLength",type:"Rational"},37396:{name:"SubjectArea",type:"Short"},37500:{name:"MakerNote",type:"Undefined"},37510:{name:"UserComment",type:"Ascii"},37520:{name:"SubSecTime",type:"Ascii"},37521:{name:"SubSecTimeOriginal",type:"Ascii"},37522:{name:"SubSecTimeDigitized",type:"Ascii"},40960:{name:"FlashpixVersion",type:"Undefined"},40961:{name:"ColorSpace",type:"Short"},40962:{name:"PixelXDimension",type:"Long"},40963:{name:"PixelYDimension",type:"Long"},40964:{name:"RelatedSoundFile",type:"Ascii"},40965:{name:"InteroperabilityTag",type:"Long"},41483:{name:"FlashEnergy",type:"Rational"},41484:{name:"SpatialFrequencyResponse",type:"Undefined"},41486:{name:"FocalPlaneXResolution",type:"Rational"},41487:{name:"FocalPlaneYResolution",type:"Rational"},41488:{name:"FocalPlaneResolutionUnit",type:"Short"},41492:{name:"SubjectLocation",type:"Short"},41493:{name:"ExposureIndex",type:"Rational"},41495:{name:"SensingMethod",type:"Short"},41728:{name:"FileSource",type:"Undefined"},41729:{name:"SceneType",type:"Undefined"},41730:{name:"CFAPattern",type:"Undefined"},41985:{name:"CustomRendered",type:"Short"},41986:{name:"ExposureMode",type:"Short"},41987:{name:"WhiteBalance",type:"Short"},41988:{name:"DigitalZoomRatio",type:"Rational"},41989:{name:"FocalLengthIn35mmFilm",type:"Short"},41990:{name:"SceneCaptureType",type:"Short"},41991:{name:"GainControl",type:"Short"},41992:{name:"Contrast",type:"Short"},41993:{name:"Saturation",type:"Short"},41994:{name:"Sharpness",type:"Short"},41995:{name:"DeviceSettingDescription",type:"Undefined"},41996:{name:"SubjectDistanceRange",type:"Short"},42016:{name:"ImageUniqueID",type:"Ascii"},42032:{name:"CameraOwnerName",type:"Ascii"},42033:{name:"BodySerialNumber",type:"Ascii"},42034:{name:"LensSpecification",type:"Rational"},42035:{name:"LensMake",type:"Ascii"},42036:{name:"LensModel",type:"Ascii"},42037:{name:"LensSerialNumber",type:"Ascii"},42240:{name:"Gamma",type:"Rational"}},GPS:{0:{name:"GPSVersionID",type:"Byte"},1:{name:"GPSLatitudeRef",type:"Ascii"},2:{name:"GPSLatitude",type:"Rational"},3:{name:"GPSLongitudeRef",type:"Ascii"},4:{name:"GPSLongitude",type:"Rational"},5:{name:"GPSAltitudeRef",type:"Byte"},6:{name:"GPSAltitude",type:"Rational"},7:{name:"GPSTimeStamp",type:"Rational"},8:{name:"GPSSatellites",type:"Ascii"},9:{name:"GPSStatus",type:"Ascii"},10:{name:"GPSMeasureMode",type:"Ascii"},11:{name:"GPSDOP",type:"Rational"},12:{name:"GPSSpeedRef",type:"Ascii"},13:{name:"GPSSpeed",type:"Rational"},14:{name:"GPSTrackRef",type:"Ascii"},15:{name:"GPSTrack",type:"Rational"},16:{name:"GPSImgDirectionRef",type:"Ascii"},17:{name:"GPSImgDirection",type:"Rational"},18:{name:"GPSMapDatum",type:"Ascii"},19:{name:"GPSDestLatitudeRef",type:"Ascii"},20:{name:"GPSDestLatitude",type:"Rational"},21:{name:"GPSDestLongitudeRef",type:"Ascii"},22:{name:"GPSDestLongitude",type:"Rational"},23:{name:"GPSDestBearingRef",type:"Ascii"},24:{name:"GPSDestBearing",type:"Rational"},25:{name:"GPSDestDistanceRef",type:"Ascii"},26:{name:"GPSDestDistance",type:"Rational"},27:{name:"GPSProcessingMethod",type:"Undefined"},28:{name:"GPSAreaInformation",type:"Undefined"},29:{name:"GPSDateStamp",type:"Ascii"},30:{name:"GPSDifferential",type:"Short"},31:{name:"GPSHPositioningError",type:"Rational"}},Interop:{1:{name:"InteroperabilityIndex",type:"Ascii"}}};_["0th"]=_.Image,_["1st"]=_.Image,n.TAGS=_,n.ImageIFD={ProcessingSoftware:11,NewSubfileType:254,SubfileType:255,ImageWidth:256,ImageLength:257,BitsPerSample:258,Compression:259,PhotometricInterpretation:262,Threshholding:263,CellWidth:264,CellLength:265,FillOrder:266,DocumentName:269,ImageDescription:270,Make:271,Model:272,StripOffsets:273,Orientation:274,SamplesPerPixel:277,RowsPerStrip:278,StripByteCounts:279,XResolution:282,YResolution:283,PlanarConfiguration:284,GrayResponseUnit:290,GrayResponseCurve:291,T4Options:292,T6Options:293,ResolutionUnit:296,TransferFunction:301,Software:305,DateTime:306,Artist:315,HostComputer:316,Predictor:317,WhitePoint:318,PrimaryChromaticities:319,ColorMap:320,HalftoneHints:321,TileWidth:322,TileLength:323,TileOffsets:324,TileByteCounts:325,SubIFDs:330,InkSet:332,InkNames:333,NumberOfInks:334,DotRange:336,TargetPrinter:337,ExtraSamples:338,SampleFormat:339,SMinSampleValue:340,SMaxSampleValue:341,TransferRange:342,ClipPath:343,XClipPathUnits:344,YClipPathUnits:345,Indexed:346,JPEGTables:347,OPIProxy:351,JPEGProc:512,JPEGInterchangeFormat:513,JPEGInterchangeFormatLength:514,JPEGRestartInterval:515,JPEGLosslessPredictors:517,JPEGPointTransforms:518,JPEGQTables:519,JPEGDCTables:520,JPEGACTables:521,YCbCrCoefficients:529,YCbCrSubSampling:530,YCbCrPositioning:531,ReferenceBlackWhite:532,XMLPacket:700,Rating:18246,RatingPercent:18249,ImageID:32781,CFARepeatPatternDim:33421,CFAPattern:33422,BatteryLevel:33423,Copyright:33432,ExposureTime:33434,ImageResources:34377,ExifTag:34665,InterColorProfile:34675,GPSTag:34853,Interlace:34857,TimeZoneOffset:34858,SelfTimerMode:34859,FlashEnergy:37387,SpatialFrequencyResponse:37388,Noise:37389,FocalPlaneXResolution:37390,FocalPlaneYResolution:37391,FocalPlaneResolutionUnit:37392,ImageNumber:37393,SecurityClassification:37394,ImageHistory:37395,ExposureIndex:37397,TIFFEPStandardID:37398,SensingMethod:37399,XPTitle:40091,XPComment:40092,XPAuthor:40093,XPKeywords:40094,XPSubject:40095,PrintImageMatching:50341,DNGVersion:50706,DNGBackwardVersion:50707,UniqueCameraModel:50708,LocalizedCameraModel:50709,CFAPlaneColor:50710,CFALayout:50711,LinearizationTable:50712,BlackLevelRepeatDim:50713,BlackLevel:50714,BlackLevelDeltaH:50715,BlackLevelDeltaV:50716,WhiteLevel:50717,DefaultScale:50718,DefaultCropOrigin:50719,DefaultCropSize:50720,ColorMatrix1:50721,ColorMatrix2:50722,CameraCalibration1:50723,CameraCalibration2:50724,ReductionMatrix1:50725,ReductionMatrix2:50726,AnalogBalance:50727,AsShotNeutral:50728,AsShotWhiteXY:50729,BaselineExposure:50730,BaselineNoise:50731,BaselineSharpness:50732,BayerGreenSplit:50733,LinearResponseLimit:50734,CameraSerialNumber:50735,LensInfo:50736,ChromaBlurRadius:50737,AntiAliasStrength:50738,ShadowScale:50739,DNGPrivateData:50740,MakerNoteSafety:50741,CalibrationIlluminant1:50778,CalibrationIlluminant2:50779,BestQualityScale:50780,RawDataUniqueID:50781,OriginalRawFileName:50827,OriginalRawFileData:50828,ActiveArea:50829,MaskedAreas:50830,AsShotICCProfile:50831,AsShotPreProfileMatrix:50832,CurrentICCProfile:50833,CurrentPreProfileMatrix:50834,ColorimetricReference:50879,CameraCalibrationSignature:50931,ProfileCalibrationSignature:50932,AsShotProfileName:50934,NoiseReductionApplied:50935,ProfileName:50936,ProfileHueSatMapDims:50937,ProfileHueSatMapData1:50938,ProfileHueSatMapData2:50939,ProfileToneCurve:50940,ProfileEmbedPolicy:50941,ProfileCopyright:50942,ForwardMatrix1:50964,ForwardMatrix2:50965,PreviewApplicationName:50966,PreviewApplicationVersion:50967,PreviewSettingsName:50968,PreviewSettingsDigest:50969,PreviewColorSpace:50970,PreviewDateTime:50971,RawImageDigest:50972,OriginalRawFileDigest:50973,SubTileBlockSize:50974,RowInterleaveFactor:50975,ProfileLookTableDims:50981,ProfileLookTableData:50982,OpcodeList1:51008,OpcodeList2:51009,OpcodeList3:51022,NoiseProfile:51041},n.ExifIFD={ExposureTime:33434,FNumber:33437,ExposureProgram:34850,SpectralSensitivity:34852,ISOSpeedRatings:34855,OECF:34856,SensitivityType:34864,StandardOutputSensitivity:34865,RecommendedExposureIndex:34866,ISOSpeed:34867,ISOSpeedLatitudeyyy:34868,ISOSpeedLatitudezzz:34869,ExifVersion:36864,DateTimeOriginal:36867,DateTimeDigitized:36868,ComponentsConfiguration:37121,CompressedBitsPerPixel:37122,ShutterSpeedValue:37377,ApertureValue:37378,BrightnessValue:37379,ExposureBiasValue:37380,MaxApertureValue:37381,SubjectDistance:37382,MeteringMode:37383,LightSource:37384,Flash:37385,FocalLength:37386,SubjectArea:37396,MakerNote:37500,UserComment:37510,SubSecTime:37520,SubSecTimeOriginal:37521,SubSecTimeDigitized:37522,FlashpixVersion:40960,ColorSpace:40961,PixelXDimension:40962,PixelYDimension:40963,RelatedSoundFile:40964,InteroperabilityTag:40965,FlashEnergy:41483,SpatialFrequencyResponse:41484,FocalPlaneXResolution:41486,FocalPlaneYResolution:41487,FocalPlaneResolutionUnit:41488,SubjectLocation:41492,ExposureIndex:41493,SensingMethod:41495,FileSource:41728,SceneType:41729,CFAPattern:41730,CustomRendered:41985,ExposureMode:41986,WhiteBalance:41987,DigitalZoomRatio:41988,FocalLengthIn35mmFilm:41989,SceneCaptureType:41990,GainControl:41991,Contrast:41992,Saturation:41993,Sharpness:41994,DeviceSettingDescription:41995,SubjectDistanceRange:41996,ImageUniqueID:42016,CameraOwnerName:42032,BodySerialNumber:42033,LensSpecification:42034,LensMake:42035,LensModel:42036,LensSerialNumber:42037,Gamma:42240},n.GPSIFD={GPSVersionID:0,GPSLatitudeRef:1,GPSLatitude:2,GPSLongitudeRef:3,GPSLongitude:4,GPSAltitudeRef:5,GPSAltitude:6,GPSTimeStamp:7,GPSSatellites:8,GPSStatus:9,GPSMeasureMode:10,GPSDOP:11,GPSSpeedRef:12,GPSSpeed:13,GPSTrackRef:14,GPSTrack:15,GPSImgDirectionRef:16,GPSImgDirection:17,GPSMapDatum:18,GPSDestLatitudeRef:19,GPSDestLatitude:20,GPSDestLongitudeRef:21,GPSDestLongitude:22,GPSDestBearingRef:23,GPSDestBearing:24,GPSDestDistanceRef:25,GPSDestDistance:26,GPSProcessingMethod:27,GPSAreaInformation:28,GPSDateStamp:29,GPSDifferential:30,GPSHPositioningError:31},n.InteropIFD={InteroperabilityIndex:1},n.GPSHelper={degToDmsRational:function(e){var t=Math.abs(e),n=t%1*60,i=n%1*60;return[[Math.floor(t),1],[Math.floor(n),1],[Math.round(100*i),100]]},dmsRationalToDeg:function(e,t){var n="S"===t||"W"===t?-1:1;return(e[0][0]/e[0][1]+e[1][0]/e[1][1]/60+e[2][0]/e[2][1]/3600)*n}},e.exports&&(t=e.exports=n),t.piexif=n}()},3322:function(e,t,n){!function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,i,a){var o,r=t.words[i];return 1===i.length?"y"===i&&n?"једна година":a||n?r[0]:r[1]:(o=t.correctGrammaticalCase(e,r),"yy"===i&&n&&"годину"===o?e+" година":e+" "+o)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5093))},3383:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return i?a[n][0]:a[n][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){return"D"===t?e+"er":e},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n(5093))},3386:function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(5093))},3439:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9029),a={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>i.str`must be multiple of ${e}`,params:({schemaCode:e})=>i._`{multipleOf: ${e}}`},code(e){const{gen:t,data:n,schemaCode:a,it:o}=e,r=o.opts.multipleOfPrecision,s=t.let("res"),l=r?i._`Math.abs(Math.round(${s}) - ${s}) > 1e-${r}`:i._`${s} !== parseInt(${s})`;e.fail$data(i._`(${a} === 0 || (${s} = ${n}/${a}, ${l}))`)}};t.default=a},3463:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=n},3478:function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},3508:function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5093))},3533:function(e){"use strict";e.exports=o},3558:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=n},3601:function(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},3610:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return F}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-video",attrs:{value:e.curVal,fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType},on:{change:e.handleChange}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-video-editor"},["dialog"!==e.videoUiType?n("div",{staticStyle:{"margin-top":"12px"}},e._l(e.localList,(function(t,i){return n("div",{key:"pv-"+i,staticStyle:{"margin-bottom":"12px"}},[n("bpm-video-player",{attrs:{src:t.src,type:t.type||"auto",poster:t.poster,accessToken:t.access_token,autoplay:e.localConf.autoplay,controls:e.localConf.controls,loop:e.localConf.loop,volume:e.localConf.volume,playsinline:e.localConf.plays_in_line,width:e.localConf.width,height:e.localConf.height,customConfig:e.localConf.customConfig},on:{play:function(t){return e.$emit("play",{index:i})},pause:function(t){return e.$emit("pause",{index:i})},ended:function(t){return e.$emit("ended",{index:i})},error:function(t){return e.$emit("error",{index:i,error:t})},timeupdate:function(t){return e.$emit("timeupdate",{index:i,data:t})},ready:function(t){return e.$emit("ready",{index:i})}}})],1)})),0):["dialog"===e.videoUiType?n("i",{staticClass:"el-icon-video-play",style:{fontSize:"20px",color:e.localList.length>0?"#409EFF":"#909399",cursor:"pointer"},on:{click:function(t){t.stopPropagation(),e.localList.length>0&&(e.viewDialogVisible=!0)}}},[e._v(e._s(e.localList.length>1?e.localList.length:""))]):e._e(),e._v(" "),"dialog"===e.videoUiType?n("el-dialog",{attrs:{title:e.fieldConf.name||"视频播放",visible:e.viewDialogVisible,width:e.dialogWidth||"80%","append-to-body":"",fullscreen:e.isFullscreen,"show-close":!e.isFullscreen,"custom-class":e.isFullscreen?"bpm-video-dialog-fullscreen":"bpm-video-dialog-normal"},on:{"update:visible":function(t){e.viewDialogVisible=t},close:e.handleCloseDialog}},[e.isFullscreen?e._e():n("div",{staticClass:"bpm-video-dialog-title",attrs:{slot:"title"},slot:"title"},[n("span",[e._v(e._s(e.fieldConf.name||"视频播放"))]),e._v(" "),n("button",{staticClass:"el-dialog__headerbtn",staticStyle:{right:"50px"},attrs:{type:"button"},on:{click:e.toggleFullscreen}},[n("i",{staticClass:"el-icon-full-screen"})])]),e._v(" "),n("div",{staticClass:"bpm-video-grid-container",style:e.gridStyle},e._l(e.localList,(function(t,i){return n("div",{key:"view-dlg-"+i,staticClass:"bpm-video-grid-item"},[n("bpm-video-player",{attrs:{src:t.src,type:t.type||"auto",poster:t.poster,accessToken:t.access_token,autoplay:e.localConf.autoplay,controls:e.localConf.controls,loop:e.localConf.loop,volume:e.localConf.volume,playsinline:e.localConf.plays_in_line,width:"100%",height:"100%",customConfig:e.localConf.customConfig},on:{play:function(t){return e.$emit("play",{index:i})},pause:function(t){return e.$emit("pause",{index:i})},ended:function(t){return e.$emit("ended",{index:i})},error:function(t){return e.$emit("error",{index:i,error:t})},timeupdate:function(t){return e.$emit("timeupdate",{index:i,data:t})},ready:function(t){return e.$emit("ready",{index:i})}}})],1)})),0)]):e._e()],e._v(" "),e.readonly?e._e():n("div",{staticClass:"editor-toolbar",staticStyle:{"margin-top":"12px"}},[n("el-button",{attrs:{type:"primary",size:"mini",icon:"el-icon-edit"},on:{click:e.openEditDialog}},[e._v("编辑视频源")])],1),e._v(" "),n("el-dialog",{attrs:{visible:e.editDialogVisible,title:"编辑视频源",width:"60%","append-to-body":""},on:{"update:visible":function(t){e.editDialogVisible=t}}},[n("el-form",{attrs:{"label-width":"120px",size:"small"}},[e._l(e.tempList,(function(t,i){return n("div",{key:"card-"+i,staticStyle:{"margin-bottom":"12px"}},[n("el-card",{attrs:{shadow:"never"}},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",[e._v("视频源 #"+e._s(i+1))]),e._v(" "),n("span",{staticStyle:{float:"right"}},[n("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(t){return e.removeItem(i)}}},[n("span",{staticStyle:{color:"red"}},[n("i",{staticClass:"el-icon-close"})])])],1)]),e._v(" "),n("el-form-item",{attrs:{label:"视频地址"}},[n("el-input",{attrs:{placeholder:"例如:ws://... 或 http(s)://... 或 webrtc://..."},model:{value:t.src,callback:function(n){e.$set(t,"src",n)},expression:"item.src"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"封面图"}},[n("el-input",{attrs:{placeholder:"封面图 URL,可选"},model:{value:t.poster,callback:function(n){e.$set(t,"poster",n)},expression:"item.poster"}})],1)],1)],1)})),e._v(" "),n("el-button",{attrs:{type:"primary",size:"mini",icon:"el-icon-plus"},on:{click:e.addItem}},[e._v("添加视频")])],2),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.editDialogVisible=!1}}},[e._v("取消")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:e.confirmEdit}},[e._v("确认")])],1)],1)],2)};a._withStripped=!0;var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{style:e.containerStyle},[n("div",{attrs:{id:e.playerId}})])};o._withStripped=!0;let r=null,s=null,l=null,d=null,c=null,u=null,m=null,f=!1,h=!1,p=!1,g=!1,y=!1,b=!1,v=!1,w={},M=0,k=null,L=null;var S={name:"BpmVideoPlayer",props:{src:{type:[String,Object],default(){return""}},type:{type:String,default(){return"auto"}},poster:{type:String,default(){return""}},accessToken:{type:String,default(){return""}},autoplay:{type:Boolean,default(){return!1}},controls:{type:Boolean,default(){return!0}},loop:{type:Boolean,default(){return!1}},width:{type:[String,Number],default(){return"100%"}},height:{type:[String,Number],default(){return"100%"}},volume:{type:Number,default(){return.6}},playsinline:{type:Boolean,default(){return!0}},customConfig:{type:Object,default(){return{}}}},data(){return{player:null,playerId:"bpm-video-"+Math.random().toString(36).slice(2),videoEl:null}},computed:{containerStyle(){return{width:"number"==typeof this.width?this.width+"px":this.width,height:"number"==typeof this.height?this.height+"px":this.height}},normalizedUrl(){if("string"==typeof this.src)return this.src;if(Array.isArray(this.src)&&this.src.length>0){const e=this.src[0];if(e)return(e.src&&"string"==typeof e.src?e.src:"")||(e.url&&"string"==typeof e.url?e.url:"")}return this.src&&this.src.url?this.src.url:this.src&&this.src.src?this.src.src:""}},watch:{src(){this.reload()},type(){this.reload()},width(){this.reload()},height(){this.reload()}},mounted(){this.init()},beforeDestroy(){this.destroy()},methods:{loadScript(e){if(w[e])return w[e];const t=Array.from(document.getElementsByTagName("script")).find((t=>t.src&&-1!==t.src.indexOf(e)));if(t)return t.dataset&&"true"===t.dataset.loaded?(w[e]=Promise.resolve(),w[e]):(w[e]=new Promise(((e,n)=>{t.addEventListener("load",(()=>{t.dataset&&(t.dataset.loaded="true"),e()})),t.addEventListener("error",(e=>n(e)))})),w[e]);const n=document.createElement("script");return n.src=e,n.async=!0,w[e]=new Promise(((e,t)=>{n.onload=()=>{M>0&&(M--,0===M&&(k&&(window.define=k),L&&(window.module=L),k=null,L=null)),n.dataset&&(n.dataset.loaded="true"),e()},n.onerror=e=>{M>0&&(M--,0===M&&(k&&(window.define=k),L&&(window.module=L),k=null,L=null)),t(e)}})),0===M&&("function"==typeof window.define&&window.define.amd&&(k=window.define,window.define=void 0),"object"==typeof window.module&&window.module&&window.module.exports&&(L=window.module,window.module=void 0)),M++,document.head.appendChild(n),w[e]},async ensureDeps(){if(console.log("PlayerCtor:",r),!r){const e=this.customConfig&&this.customConfig.xgplayerJsUrl||"https://cdn.jsdelivr.net/npm/xgplayer@3.0.23/dist/index.min.js";h&&(window.Player||window.xgplayer)||(await this.loadScript(e),h=!0);let t=window.Player||window.xgplayer;console.log("PlayerCtor:",t),t&&t.default&&(t=t.default),r=t}if(!f){const e=this.customConfig&&this.customConfig.xgplayerCssUrl||"https://cdn.jsdelivr.net/npm/xgplayer@3.0.23/dist/index.min.css",t=document.createElement("link");t.rel="stylesheet",t.href=e,document.head.appendChild(t),f=!0}},async ensureMpegts(){if(c)return;const e=this.customConfig&&this.customConfig.mpegtsLibUrl||"https://cdn.jsdelivr.net/npm/mpegts.js@1.7.0/dist/mpegts.min.js";await new Promise(((t,n)=>{const i=document.createElement("script");i.src=e,i.async=!0,i.onload=()=>t(),i.onerror=e=>n(e),document.head.appendChild(i)})),c=window.mpegts||window.Mpegts||null},async ensureEzopen(){if(u)return;const e=this.customConfig&&this.customConfig.ezuikitUrl||"https://open.ys7.com/sdk/js/1.3/ezuikit.js";b&&window.EZUIPlayer||(await this.loadScript(e),b=!0),u=window.EZUIPlayer},async ensureJsWebRtc(){if(m)return;const e=this.customConfig&&this.customConfig.jsWebRtcUrl||"https://cdn.jsdelivr.net/npm/jswebrtc@1.0.1/dist/jswebrtc.min.js";v&&window.JSWebrtc||(await this.loadScript(e),v=!0),m=window.JSWebrtc},async init(){const e=function(e,t){if(t&&"auto"!==t)return t;if(!e||"string"!=typeof e)return"mp4";const n=e.toLowerCase();return n.startsWith("ezopen://")?"ezopen":n.startsWith("webrtc://")?"webrtc":n.startsWith("rtsp://")?"rtsp":n.startsWith("rtp://")?"rtp":n.startsWith("rtmp://")||n.startsWith("rtmps://")?"rtmp":n.endsWith(".m3u8")?"hls":n.endsWith(".flv")?"flv":n.endsWith(".mpd")?"dash":"mp4"}(this.normalizedUrl,this.type);if(console.log("this.normalizedUrl:"+e),"ezopen"===e)return void await this.initEzopen();if("webrtc"===e)return void await this.initWebRtc();if("rtsp"===e||"rtp"===e)return void await this.initRtsp();await this.ensureDeps();const t=[];let n=this.normalizedUrl;if("hls"===e){if(!document.createElement("video").canPlayType("application/vnd.apple.mpegurl")){if(!s){const e=this.customConfig&&this.customConfig.hlsJsPluginUrl||"https://cdn.jsdelivr.net/npm/xgplayer-hls.js@3.0.23/dist/index.min.js";p&&window.HlsJsPlugin||(await this.loadScript(e),p=!0),s=window.HlsJsPlugin,s&&s.default&&(s=s.default)}s&&t.push(s)}}else if("flv"===e||"rtmp"===e){if(window.MediaSource||console.warn("Current browser does not support MediaSource Extensions (MSE), FLV playback may fail."),"rtmp"===e){if(console.log("this.customConfig:",this.customConfig),!this.customConfig||!this.customConfig.flvUrl)return void this.$emit("error",new Error("浏览器不支持 RTMP,请提供 flvUrl (HTTP-FLV/WS-FLV)"));n=this.customConfig.flvUrl}if(!l){const e=this.customConfig&&this.customConfig.flvJsPluginUrl||"https://cdn.jsdelivr.net/npm/xgplayer-flv.js@3.0.23/dist/index.min.js";g&&window.FlvJsPlugin||(await this.loadScript(e),g=!0),l=window.FlvJsPlugin,l&&l.default&&(l=l.default)}l&&t.push(l)}else if("dash"===e){if(!d){const e=this.customConfig&&this.customConfig.dashPluginUrl||"https://cdn.jsdelivr.net/npm/xgplayer-dash@3.0.0/dist/index.min.js";y&&window.DashPlugin||(await this.loadScript(e),y=!0),d=window.DashPlugin,d&&d.default&&(d=d.default)}t.push(d)}const i=Object.assign({id:this.playerId,url:n,poster:this.poster,autoplay:this.autoplay,controls:this.controls,loop:this.loop,volume:this.volume,playsinline:this.playsinline,width:this.width,height:this.height,plugins:t},this.customConfig||{});this.player=new r(i),this.bindEvents(),this.$emit("ready")},bindEvents(){this.player&&(this.player.on("play",(()=>this.$emit("play"))),this.player.on("pause",(()=>this.$emit("pause"))),this.player.on("ended",(()=>this.$emit("ended"))),this.player.on("error",(e=>this.$emit("error",e))),this.player.on("timeupdate",(e=>this.$emit("timeupdate",e))),this.player.on("waiting",(()=>this.$emit("waiting"))),this.player.on("fullscreenchange",(e=>this.$emit("fullscreenChange",e))),this.player.on("definitionchange",(e=>this.$emit("definitionChange",e))))},bindVideoEvents(){this.videoEl&&(this.videoEl.addEventListener("play",(()=>this.$emit("play"))),this.videoEl.addEventListener("pause",(()=>this.$emit("pause"))),this.videoEl.addEventListener("ended",(()=>this.$emit("ended"))),this.videoEl.addEventListener("waiting",(()=>this.$emit("waiting"))),this.videoEl.addEventListener("timeupdate",(()=>this.$emit("timeupdate",{currentTime:this.videoEl.currentTime}))),this.$emit("ready"))},async initRtsp(){try{await this.ensureMpegts()}catch(e){return void this.$emit("error",e)}const e=document.getElementById(this.playerId);if(!e)return;for(;e.firstChild;)e.removeChild(e.firstChild);const t=document.createElement("video");t.style.width="100%",t.style.height="100%",t.autoplay=!!this.autoplay,t.controls=!!this.controls,t.loop=!!this.loop,t.playsInline=!!this.playsinline,t.muted=!1,this.poster&&(t.poster=this.poster),e.appendChild(t),this.videoEl=t;const n=(()=>{const e=this.normalizedUrl||"";return/^ws(s)?:\/\//.test(e)||/^http(s)?:\/\//.test(e)?e:this.customConfig&&this.customConfig.mpegtsUrl?this.customConfig.mpegtsUrl:""})();if(!c||!n)return this.bindVideoEvents(),void this.$emit("error",new Error("RTSP/RTP 需要后端转码为 WebSocket/MPEG-TS,请提供 mpegtsUrl"));const i={isLive:!0,type:"mpegts",url:n},a=c.createPlayer(i,this.customConfig&&this.customConfig.mpegtsConfig||{});a.attachMediaElement(t),a.load(),this.player=a,this.bindVideoEvents(),this.autoplay&&Promise.resolve(t.play()).catch((()=>{}))},async initWebRtc(){try{await this.ensureJsWebRtc()}catch(e){return void this.$emit("error",e)}if(!m)return void this.$emit("error",new Error("JSWebrtc load failed"));const e=document.getElementById(this.playerId);if(!e)return;for(;e.firstChild;)e.removeChild(e.firstChild);const t=document.createElement("video");t.style.width="100%",t.style.height="100%",t.autoplay=!!this.autoplay,t.controls=!!this.controls,t.loop=!!this.loop,t.playsInline=!!this.playsinline,this.poster&&(t.poster=this.poster),e.appendChild(t),this.videoEl=t;const n=this.normalizedUrl;this.player=new m.Player(n,{video:t,autoplay:this.autoplay,onPlay:e=>{console.log("JSWebrtc onPlay",e),this.$emit("play")},onPause:e=>{this.$emit("pause")}}),this.bindVideoEvents()},async initEzopen(){if(await this.ensureEzopen(),!u)return console.error("EZUIPlayer load failed"),void this.$emit("error",{message:"EZUIPlayer load failed"});const e=document.getElementById(this.playerId);if(!e)return;e.innerHTML="";let t=this.accessToken;!t&&"object"==typeof this.src&&this.src.accessToken&&(t=this.src.accessToken);let n=this.width,i=this.height;"string"==typeof n&&n.includes("%")&&(n=e.offsetWidth||600),"string"==typeof i&&i.includes("%")&&(i=e.offsetHeight||400),n=parseInt(n)||600,i=parseInt(i)||400,this.player=new u({id:this.playerId,url:this.normalizedUrl,accessToken:t,autoplay:this.autoplay,width:n,height:i,handleSuccess:()=>{console.log("EZUIKit play success"),this.$emit("play")},handleError:e=>{console.error("EZUIKit play error",e),this.$emit("error",e)}}),this.$emit("ready")},async reload(){this.destroy(),await this.init()},destroy(){if(this.player)if(this.player.destroy)try{this.player.destroy()}catch(e){}else if(this.player.stop)try{this.player.stop()}catch(e){}if(this.player=null,this.videoEl&&this.videoEl.parentNode){try{this.videoEl.pause()}catch(e){}this.videoEl.parentNode.removeChild(this.videoEl)}this.videoEl=null},play(){this.videoEl?this.videoEl.play():this.player&&this.player.play&&this.player.play()},pause(){this.videoEl?this.videoEl.pause():this.player&&this.player.pause&&this.player.pause()},seek(e){if(this.videoEl&&"number"==typeof e)try{this.videoEl.currentTime=e}catch(e){}else if(this.player&&"number"==typeof e)try{this.player.currentTime=e}catch(e){}},setVolume(e){this.videoEl&&"number"==typeof e?this.videoEl.volume=Math.max(0,Math.min(1,e)):this.player&&"number"==typeof e&&(this.player.volume=Math.max(0,Math.min(1,e)))},setPlaybackRate(e){this.videoEl&&"number"==typeof e?this.videoEl.playbackRate=e:this.player&&"number"==typeof e&&(this.player.playbackRate=e)}}},x=n(4486),D=(0,x.A)(S,o,[],!1,null,null,null);D.options.__file="components/lib/bpmVideo/src/player.vue";var C={name:"BpmVideoEditor",components:{BpmVideoPlayer:D.exports},props:{value:{type:[String,Object,Array]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"edit"}},readonly:{type:Boolean,default:!1},uiType:{type:String,default(){return"normal"}}},data(){return{editDialogVisible:!1,viewDialogVisible:!1,localList:[],tempList:[],localConf:{type:"auto",autoplay:!0,controls:!0,loop:!1,volume:.6,plays_inline:!0,width:"100%",height:"360px",customConfig:{}},isFullscreen:!1}},computed:{dialogWidth(){return this.fieldConf.style.dialog_width||"80%"},videoUiType(){return"table"===this.uiType?"dialog":this.fieldConf.style.video_ui_type||"normal"},previewSrc(){return this.localList.length>0?this.localList[0].src||"":"string"==typeof this.value?this.value:this.value&&"object"==typeof this.value&&(this.value.src||this.value.url)||""},previewPoster(){return this.localList.length>0?this.localList[0].poster||"":this.value&&"object"==typeof this.value?this.value.poster||"":this.fieldConf&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:""},gridCols(){const e=this.localList.length;return e<=1?1:e<=4?2:e<=9?3:e<=16?4:5},gridStyle(){return{display:"grid",gridTemplateColumns:`repeat(${this.gridCols}, 1fr)`,gridTemplateRows:`repeat(${this.gridCols}, 1fr)`,gap:"0",width:"100%",height:"100%"}}},watch:{fieldConf:{handler(e){this.mergeConf(e)},immediate:!0,deep:!0},value:{handler(e){Array.isArray(e)?this.localList=e.map((e=>({src:e&&(e.src||e.url)||"",poster:e&&e.poster||"",access_token:e&&e.access_token||"",type:e&&e.type||"auto"}))):this.localList="string"==typeof e?[{src:e,poster:"",access_token:"",type:"auto"}]:e&&"object"==typeof e?[{src:e.src||e.url||"",poster:e.poster||"",access_token:e.access_token||"",type:e.type||"auto"}]:[]},immediate:!0}},mounted(){document.addEventListener("keydown",this.handleEscKey)},beforeDestroy(){document.removeEventListener("keydown",this.handleEscKey)},methods:{handleEscKey(e){"Escape"===e.key&&this.isFullscreen&&(this.isFullscreen=!1)},handleCloseDialog(){this.isFullscreen=!1},toggleFullscreen(){this.isFullscreen=!this.isFullscreen},mergeConf(e){console.log("fieldConf",e);const t=e.style||{},n=Object.assign({},this.localConf,t);t&&void 0!==t.width&&(n.width=t.width),t&&void 0!==t.height&&(n.height=t.height),this.localConf=n},openEditDialog(){this.tempList=_.cloneDeep(this.localList),this.editDialogVisible=!0},addItem(){this.tempList.push({src:"",poster:"",access_token:"",type:"auto"})},removeItem(e){this.tempList.splice(e,1)},confirmEdit(){this.localList=_.cloneDeep(this.tempList),this.emitChange(),this.editDialogVisible=!1},emitChange(){const e=this.localList.map((e=>({src:e.src||"",poster:e.poster||"",access_token:e.access_token||"",type:e.type||"auto"})));this.$emit("input",e),this.$emit("change",e)}}},T=(n(7234),(0,x.A)(C,a,[],!1,null,null,null));T.options.__file="components/lib/bpmVideo/src/part/editor.vue";var Y=T.exports,$=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-video-reader"},[n("bpm-video-editor",e._g({attrs:{value:e.sourcesList,fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType,readonly:!0}},e.$listeners))],1)};$._withStripped=!0;var j={name:"BpmVideoReader",components:{BpmVideoEditor:Y},props:{value:{type:[String,Object,Array]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"normal"}}},computed:{sourcesList(){return Array.isArray(this.value)&&this.value.length>0?this.value.map((e=>({src:e&&(e.src||e.url)||"",poster:e&&e.poster||""}))).filter((e=>e.src)):this.fieldConf&&Array.isArray(this.fieldConf.src)&&this.fieldConf.src.length>0?this.fieldConf.src.map((e=>({src:e&&(e.src||e.url)||"",poster:e&&e.poster||""}))).filter((e=>e.src)):"string"==typeof this.value&&this.value?[{src:this.value,poster:this.fieldConf&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:""}]:this.fieldConf&&"string"==typeof this.fieldConf.src&&this.fieldConf.src?[{src:this.fieldConf.src,poster:this.fieldConf&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:""}]:this.fieldConf&&this.fieldConf.defaultSrc?[{src:this.fieldConf.defaultSrc,poster:this.fieldConf&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:""}]:[]}},vmounted(){console.log("this.fieldConf",this.fieldConf)}},O=(0,x.A)(j,$,[],!1,null,null,null);O.options.__file="components/lib/bpmVideo/src/part/reader.vue";var I=O.exports,P={name:"BpmVideo",components:{editorComponent:Y,readerComponent:I},props:{value:{type:[String,Object,Array]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"normal"}}},data(){return{curVal:[]}},computed:{curComponent(){return"view"===this.mode?I:Y}},watch:{value(){if(Array.isArray(this.value))this.curVal=this.value;else if("string"==typeof this.value&&this.value){const e=this.fieldConf&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:"";this.curVal=[{src:this.value,poster:e}]}else if(this.value&&"object"==typeof this.value){const e=this.value.src||this.value.url||"",t=this.value.poster||"";this.curVal=e?[{src:e,poster:t}]:[]}else this.curVal=[]}},mounted(){const e=!!this.fieldConf,t=void 0!==this.value?this.value:e&&void 0!==this.fieldConf.src?this.fieldConf.src:e&&this.fieldConf.defaultSrc?this.fieldConf.defaultSrc:"";if(Array.isArray(t))this.curVal=t;else if("string"==typeof t&&t){const n=e&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:"";this.curVal=[{src:t,poster:n}]}else if(t&&"object"==typeof t){const e=t.src||t.url||"",n=t.poster||"";this.curVal=e?[{src:e,poster:n}]:[]}else this.curVal=[]},methods:{handleChange(e){if(Array.isArray(e))return this.curVal=e,this.$emit("input",this.curVal),void this.$emit("change",this.curVal);if("string"==typeof e){const t=this.fieldConf&&"string"==typeof this.fieldConf.poster?this.fieldConf.poster:"";this.curVal=[{src:e,poster:t}]}else if(e&&"object"==typeof e){const t=e.src||e.url||"",n=e.poster||"";this.curVal=t?[{src:t,poster:n}]:[]}else this.curVal=[];this.$emit("input",this.curVal),this.$emit("change",this.curVal)}}},E=(0,x.A)(P,i,[],!1,null,null,null);E.options.__file="components/lib/bpmVideo/src/main.vue";var A=E.exports;A.install=function(e){e.component(A.name,A)};var F=A},3635:function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n(5093))},3673:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const i=n(9029),a=n(2023),o=n(5765),r=n(8708);function s(e){const{gen:t,data:n,it:a}=e;t.if(a.parentData,(()=>t.assign(n,i._`${a.parentData}[${a.parentDataProperty}]`)))}function l(e,t,n){if(void 0===n)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof n?{ref:n}:{ref:n,code:(0,i.stringify)(n)})}t.macroKeywordCode=function(e,t){const{gen:n,keyword:a,schema:o,parentSchema:r,it:s}=e,d=t.macro.call(s.self,o,r,s),c=l(n,a,d);!1!==s.opts.validateSchema&&s.self.validateSchema(d,!0);const u=n.name("valid");e.subschema({schema:d,schemaPath:i.nil,errSchemaPath:`${s.errSchemaPath}/${a}`,topSchemaRef:c,compositeRule:!0},u),e.pass(u,(()=>e.error(!0)))},t.funcKeywordCode=function(e,t){var n;const{gen:d,keyword:c,schema:u,parentSchema:m,$data:f,it:h}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(h,t);const p=!f&&t.compile?t.compile.call(h.self,u,m,h):t.validate,_=l(d,c,p),g=d.let("valid");function y(n=(t.async?i._`await `:i.nil)){const r=h.opts.passContext?a.default.this:a.default.self,s=!("compile"in t&&!f||!1===t.schema);d.assign(g,i._`${n}${(0,o.callValidateCode)(e,_,r,s)}`,t.modifying)}function b(e){var n;d.if((0,i.not)(null!==(n=t.valid)&&void 0!==n?n:g),e)}e.block$data(g,(function(){if(!1===t.errors)y(),t.modifying&&s(e),b((()=>e.error()));else{const n=t.async?function(){const e=d.let("ruleErrs",null);return d.try((()=>y(i._`await `)),(t=>d.assign(g,!1).if(i._`${t} instanceof ${h.ValidationError}`,(()=>d.assign(e,i._`${t}.errors`)),(()=>d.throw(t))))),e}():function(){const e=i._`${_}.errors`;return d.assign(e,null),y(i.nil),e}();t.modifying&&s(e),b((()=>function(e,t){const{gen:n}=e;n.if(i._`Array.isArray(${t})`,(()=>{n.assign(a.default.vErrors,i._`${a.default.vErrors} === null ? ${t} : ${a.default.vErrors}.concat(${t})`).assign(a.default.errors,i._`${a.default.vErrors}.length`),(0,r.extendErrors)(e)}),(()=>e.error()))}(e,n)))}})),e.ok(null!==(n=t.valid)&&void 0!==n?n:g)},t.validSchemaType=function(e,t,n=!1){return!t.length||t.some((t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||n&&void 0===e))},t.validateKeywordUsage=function({schema:e,opts:t,self:n,errSchemaPath:i},a,o){if(Array.isArray(a.keyword)?!a.keyword.includes(o):a.keyword!==o)throw new Error("ajv implementation error");const r=a.dependencies;if(null==r?void 0:r.some((t=>!Object.prototype.hasOwnProperty.call(e,t))))throw new Error(`parent schema must have dependencies of ${o}: ${r.join(",")}`);if(a.validateSchema&&!a.validateSchema(e[o])){const e=`keyword "${o}" value is invalid at path "${i}": `+n.errorsText(a.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);n.logger.error(e)}}},3693:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;const i=n(4551),a=n(5765),o=n(9029),r=n(2023),s=n(3835),l=n(4227),d={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:n,it:a}=e,{baseId:r,schemaEnv:l,validateName:d,opts:m,self:f}=a,{root:h}=l;if(("#"===n||"#/"===n)&&r===h.baseId)return function(){if(l===h)return u(e,d,l,l.$async);const n=t.scopeValue("root",{ref:h});return u(e,o._`${n}.validate`,h,h.$async)}();const p=s.resolveRef.call(f,h,r,n);if(void 0===p)throw new i.default(a.opts.uriResolver,r,n);return p instanceof s.SchemaEnv?function(t){const n=c(e,t);u(e,n,t,t.$async)}(p):function(i){const a=t.scopeValue("schema",!0===m.code.source?{ref:i,code:(0,o.stringify)(i)}:{ref:i}),r=t.name("valid"),s=e.subschema({schema:i,dataTypes:[],schemaPath:o.nil,topSchemaRef:a,errSchemaPath:n},r);e.mergeEvaluated(s),e.ok(r)}(p)}};function c(e,t){const{gen:n}=e;return t.validate?n.scopeValue("validate",{ref:t.validate}):o._`${n.scopeValue("wrapper",{ref:t})}.validate`}function u(e,t,n,i){const{gen:s,it:d}=e,{allErrors:c,schemaEnv:u,opts:m}=d,f=m.passContext?r.default.this:o.nil;function h(e){const t=o._`${e}.errors`;s.assign(r.default.vErrors,o._`${r.default.vErrors} === null ? ${t} : ${r.default.vErrors}.concat(${t})`),s.assign(r.default.errors,o._`${r.default.vErrors}.length`)}function p(e){var t;if(!d.opts.unevaluated)return;const i=null===(t=null==n?void 0:n.validate)||void 0===t?void 0:t.evaluated;if(!0!==d.props)if(i&&!i.dynamicProps)void 0!==i.props&&(d.props=l.mergeEvaluated.props(s,i.props,d.props));else{const t=s.var("props",o._`${e}.evaluated.props`);d.props=l.mergeEvaluated.props(s,t,d.props,o.Name)}if(!0!==d.items)if(i&&!i.dynamicItems)void 0!==i.items&&(d.items=l.mergeEvaluated.items(s,i.items,d.items));else{const t=s.var("items",o._`${e}.evaluated.items`);d.items=l.mergeEvaluated.items(s,t,d.items,o.Name)}}i?function(){if(!u.$async)throw new Error("async schema referenced by sync schema");const n=s.let("valid");s.try((()=>{s.code(o._`await ${(0,a.callValidateCode)(e,t,f)}`),p(t),c||s.assign(n,!0)}),(e=>{s.if(o._`!(${e} instanceof ${d.ValidationError})`,(()=>s.throw(e))),h(e),c||s.assign(n,!1)})),e.ok(n)}():e.result((0,a.callValidateCode)(e,t,f),(()=>p(t)),(()=>h(t)))}t.getValidate=c,t.callRef=u,t.default=d},3739:function(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(n(5093))},3784:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5093))},3827:function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n(5093))},3835:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const i=n(9029),a=n(3558),o=n(2023),r=n(6939),s=n(4227),l=n(2586);class d{constructor(e){var t;let n;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(n=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:(0,r.normalizeId)(null==n?void 0:n[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==n?void 0:n.$async,this.refs={}}}function c(e){const t=m.call(this,e);if(t)return t;const n=(0,r.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:s,lines:d}=this.opts.code,{ownProperties:c}=this.opts,u=new i.CodeGen(this.scope,{es5:s,lines:d,ownProperties:c});let f;e.$async&&(f=u.scopeValue("Error",{ref:a.default,code:i._`require("ajv/dist/runtime/validation_error").default`}));const h=u.scopeName("validate");e.validateName=h;const p={gen:u,allErrors:this.opts.allErrors,data:o.default.data,parentData:o.default.parentData,parentDataProperty:o.default.parentDataProperty,dataNames:[o.default.data],dataPathArr:[i.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:u.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,i.stringify)(e.schema)}:{ref:e.schema}),validateName:h,ValidationError:f,schema:e.schema,schemaEnv:e,rootId:n,baseId:e.baseId||n,schemaPath:i.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:i._`""`,opts:this.opts,self:this};let _;try{this._compilations.add(e),(0,l.validateFunctionCode)(p),u.optimize(this.opts.code.optimize);const t=u.toString();_=`${u.scopeRefs(o.default.scope)}return ${t}`,this.opts.code.process&&(_=this.opts.code.process(_,e));const n=new Function(`${o.default.self}`,`${o.default.scope}`,_)(this,this.scope.get());if(this.scope.value(h,{ref:n}),n.errors=null,n.schema=e.schema,n.schemaEnv=e,e.$async&&(n.$async=!0),!0===this.opts.code.source&&(n.source={validateName:h,validateCode:t,scopeValues:u._values}),this.opts.unevaluated){const{props:e,items:t}=p;n.evaluated={props:e instanceof i.Name?void 0:e,items:t instanceof i.Name?void 0:t,dynamicProps:e instanceof i.Name,dynamicItems:t instanceof i.Name},n.source&&(n.source.evaluated=(0,i.stringify)(n.evaluated))}return e.validate=n,e}catch(t){throw delete e.validate,delete e.validateName,_&&this.logger.error("Error compiling schema, function code:",_),t}finally{this._compilations.delete(e)}}function u(e){return(0,r.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:c.call(this,e)}function m(e){for(const i of this._compilations)if(n=e,(t=i).schema===n.schema&&t.root===n.root&&t.baseId===n.baseId)return i;var t,n}function f(e,t){let n;for(;"string"==typeof(n=this.refs[t]);)t=n;return n||this.schemas[t]||h.call(this,e,t)}function h(e,t){const n=this.opts.uriResolver.parse(t),i=(0,r._getFullPath)(this.opts.uriResolver,n);let a=(0,r.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&i===a)return _.call(this,n,e);const o=(0,r.normalizeId)(i),s=this.refs[o]||this.schemas[o];if("string"==typeof s){const t=h.call(this,e,s);if("object"!=typeof(null==t?void 0:t.schema))return;return _.call(this,n,t)}if("object"==typeof(null==s?void 0:s.schema)){if(s.validate||c.call(this,s),o===(0,r.normalizeId)(t)){const{schema:t}=s,{schemaId:n}=this.opts,i=t[n];return i&&(a=(0,r.resolveUrl)(this.opts.uriResolver,a,i)),new d({schema:t,schemaId:n,root:e,baseId:a})}return _.call(this,n,s)}}t.SchemaEnv=d,t.compileSchema=c,t.resolveRef=function(e,t,n){var i;n=(0,r.resolveUrl)(this.opts.uriResolver,t,n);const a=e.refs[n];if(a)return a;let o=f.call(this,e,n);if(void 0===o){const a=null===(i=e.localRefs)||void 0===i?void 0:i[n],{schemaId:r}=this.opts;a&&(o=new d({schema:a,schemaId:r,root:e,baseId:t}))}return void 0!==o?e.refs[n]=u.call(this,o):void 0},t.getCompilingSchema=m,t.resolveSchema=h;const p=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function _(e,{baseId:t,schema:n,root:i}){var a;if("/"!==(null===(a=e.fragment)||void 0===a?void 0:a[0]))return;for(const i of e.fragment.slice(1).split("/")){if("boolean"==typeof n)return;const e=n[(0,s.unescapeFragment)(i)];if(void 0===e)return;const a="object"==typeof(n=e)&&n[this.opts.schemaId];!p.has(i)&&a&&(t=(0,r.resolveUrl)(this.opts.uriResolver,t,a))}let o;if("boolean"!=typeof n&&n.$ref&&!(0,s.schemaHasRulesButRef)(n,this.RULES)){const e=(0,r.resolveUrl)(this.opts.uriResolver,t,n.$ref);o=h.call(this,i,e)}const{schemaId:l}=this.opts;return o=o||new d({schema:n,schemaId:l,root:i,baseId:t}),o.schema!==o.root.schema?o:void 0}},3837:function(e){"use strict";e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},3853:function(e,t){"use strict";function n(e){const t=e.length;let n,i=0,a=0;for(;a<t;)i++,n=e.charCodeAt(a++),n>=55296&&n<=56319&&a<t&&(n=e.charCodeAt(a),56320==(64512&n)&&a++);return i}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.code='require("ajv/dist/runtime/ucs2length").default'},3861:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},i=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i];e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:i,longMonthsParse:i,shortMonthsParse:[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(5093))},3872:function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n(5093))},3891:function(e){e.exports=function(){"use strict";function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function t(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?e(Object(i),!0).forEach((function(e){var n,o,r;n=t,o=e,r=i[e],(o=a(o))in n?Object.defineProperty(n,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[o]=r})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,a(i.key),i)}}function a(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var o={backdrop:!0,button:!0,navbar:!0,title:!0,toolbar:!0,className:"",container:"body",filter:null,fullscreen:!0,inheritedAttributes:["crossOrigin","decoding","isMap","loading","referrerPolicy","sizes","srcset","useMap"],initialCoverage:.9,initialViewIndex:0,inline:!1,interval:5e3,keyboard:!0,focus:!0,loading:!0,loop:!0,minWidth:200,minHeight:100,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,slideOnTouch:!0,toggleOnDblclick:!0,tooltip:!0,transition:!0,zIndex:2015,zIndexInline:0,zoomRatio:.1,minZoomRatio:.01,maxZoomRatio:100,url:"src",ready:null,show:null,shown:null,hide:null,hidden:null,view:null,viewed:null,move:null,moved:null,rotate:null,rotated:null,scale:null,scaled:null,zoom:null,zoomed:null,play:null,stop:null},r="undefined"!=typeof window&&void 0!==window.document,s=r?window:{},l=!(!r||!s.document.documentElement)&&"ontouchstart"in s.document.documentElement,d=!!r&&"PointerEvent"in s,c="viewer",u="move",m="switch",f="zoom",h="".concat(c,"-active"),p="".concat(c,"-close"),_="".concat(c,"-fade"),g="".concat(c,"-fixed"),y="".concat(c,"-fullscreen"),b="".concat(c,"-fullscreen-exit"),v="".concat(c,"-hide"),w="".concat(c,"-hide-md-down"),M="".concat(c,"-hide-sm-down"),k="".concat(c,"-hide-xs-down"),L="".concat(c,"-in"),S="".concat(c,"-invisible"),x="".concat(c,"-loading"),D="".concat(c,"-move"),C="".concat(c,"-open"),T="".concat(c,"-show"),Y="".concat(c,"-transition"),$="click",j="dblclick",O="dragstart",I="focusin",P="keydown",E="load",A="error",F=d?"pointerdown":l?"touchstart":"mousedown",V=d?"pointermove":l?"touchmove":"mousemove",H=d?"pointerup pointercancel":l?"touchend touchcancel":"mouseup",R="resize",z="transitionend",N="wheel",W="ready",B="show",U="shown",G="hide",q="hidden",J="view",K="viewed",X="move",Z="moved",Q="rotate",ee="rotated",te="scale",ne="scaled",ie="zoom",ae="zoomed",oe="play",re="stop",se="".concat(c,"Action"),le=/\s\s*/,de=["zoom-in","zoom-out","one-to-one","reset","prev","play","next","rotate-left","rotate-right","flip-horizontal","flip-vertical"];function ce(e){return"string"==typeof e}var ue=Number.isNaN||s.isNaN;function me(e){return"number"==typeof e&&!ue(e)}function fe(e){return void 0===e}function he(e){return"object"===n(e)&&null!==e}var pe=Object.prototype.hasOwnProperty;function _e(e){if(!he(e))return!1;try{var t=e.constructor,n=t.prototype;return t&&n&&pe.call(n,"isPrototypeOf")}catch(e){return!1}}function ge(e){return"function"==typeof e}function ye(e,t){if(e&&ge(t))if(Array.isArray(e)||me(e.length)){var n,i=e.length;for(n=0;n<i&&!1!==t.call(e,e[n],n,e);n+=1);}else he(e)&&Object.keys(e).forEach((function(n){t.call(e,e[n],n,e)}));return e}var be=Object.assign||function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return he(e)&&n.length>0&&n.forEach((function(t){he(t)&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e},ve=/^(?:width|height|left|top|marginLeft|marginTop)$/;function we(e,t){var n=e.style;ye(t,(function(e,t){ve.test(t)&&me(e)&&(e+="px"),n[t]=e}))}function Me(e,t){return!(!e||!t)&&(e.classList?e.classList.contains(t):e.className.indexOf(t)>-1)}function ke(e,t){if(e&&t)if(me(e.length))ye(e,(function(e){ke(e,t)}));else if(e.classList)e.classList.add(t);else{var n=e.className.trim();n?n.indexOf(t)<0&&(e.className="".concat(n," ").concat(t)):e.className=t}}function Le(e,t){e&&t&&(me(e.length)?ye(e,(function(e){Le(e,t)})):e.classList?e.classList.remove(t):e.className.indexOf(t)>=0&&(e.className=e.className.replace(t,"")))}function Se(e,t,n){t&&(me(e.length)?ye(e,(function(e){Se(e,t,n)})):n?ke(e,t):Le(e,t))}var xe=/([a-z\d])([A-Z])/g;function De(e){return e.replace(xe,"$1-$2").toLowerCase()}function Ce(e,t){return he(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute("data-".concat(De(t)))}function Te(e,t,n){he(n)?e[t]=n:e.dataset?e.dataset[t]=n:e.setAttribute("data-".concat(De(t)),n)}var Ye=function(){var e=!1;if(r){var t=!1,n=function(){},i=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(e){t=e}});s.addEventListener("test",n,i),s.removeEventListener("test",n,i)}return e}();function $e(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=n;t.trim().split(le).forEach((function(t){if(!Ye){var o=e.listeners;o&&o[t]&&o[t][n]&&(a=o[t][n],delete o[t][n],0===Object.keys(o[t]).length&&delete o[t],0===Object.keys(o).length&&delete e.listeners)}e.removeEventListener(t,a,i)}))}function je(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=n;t.trim().split(le).forEach((function(t){if(i.once&&!Ye){var o=e.listeners,r=void 0===o?{}:o;a=function(){delete r[t][n],e.removeEventListener(t,a,i);for(var o=arguments.length,s=new Array(o),l=0;l<o;l++)s[l]=arguments[l];n.apply(e,s)},r[t]||(r[t]={}),r[t][n]&&e.removeEventListener(t,r[t][n],i),r[t][n]=a,e.listeners=r}e.addEventListener(t,a,i)}))}function Oe(e,n,i,a){var o;return ge(Event)&&ge(CustomEvent)?o=new CustomEvent(n,t({bubbles:!0,cancelable:!0,detail:i},a)):(o=document.createEvent("CustomEvent")).initCustomEvent(n,!0,!0,i),e.dispatchEvent(o)}function Ie(e){var t=e.rotate,n=e.scaleX,i=e.scaleY,a=e.translateX,o=e.translateY,r=[];me(a)&&0!==a&&r.push("translateX(".concat(a,"px)")),me(o)&&0!==o&&r.push("translateY(".concat(o,"px)")),me(t)&&0!==t&&r.push("rotate(".concat(t,"deg)")),me(n)&&1!==n&&r.push("scaleX(".concat(n,")")),me(i)&&1!==i&&r.push("scaleY(".concat(i,")"));var s=r.length?r.join(" "):"none";return{WebkitTransform:s,msTransform:s,transform:s}}var Pe=s.navigator&&/Version\/\d+(\.\d+)+?\s+Safari/i.test(s.navigator.userAgent);function Ee(e,t,n){var i=document.createElement("img");if(e.naturalWidth&&!Pe)return n(e.naturalWidth,e.naturalHeight),i;var a=document.body||document.documentElement;return i.onload=function(){n(i.width,i.height),Pe||a.removeChild(i)},ye(t.inheritedAttributes,(function(t){var n=e.getAttribute(t);null!==n&&i.setAttribute(t,n)})),i.src=e.src,Pe||(i.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",a.appendChild(i)),i}function Ae(e){switch(e){case 2:return k;case 3:return M;case 4:return w;default:return""}}function Fe(e,n){var i=e.pageX,a=e.pageY,o={endX:i,endY:a};return n?o:t({timeStamp:Date.now(),startX:i,startY:a},o)}var Ve,He={render:function(){this.initContainer(),this.initViewer(),this.initList(),this.renderViewer()},initBody:function(){var e=this.element.ownerDocument,t=e.body||e.documentElement;this.body=t,this.scrollbarWidth=window.innerWidth-e.documentElement.clientWidth,this.initialBodyPaddingRight=t.style.paddingRight,this.initialBodyComputedPaddingRight=window.getComputedStyle(t).paddingRight},initContainer:function(){this.containerData={width:window.innerWidth,height:window.innerHeight}},initViewer:function(){var e,t=this.options,n=this.parent;t.inline&&(e={width:Math.max(n.offsetWidth,t.minWidth),height:Math.max(n.offsetHeight,t.minHeight)},this.parentData=e),!this.fulled&&e||(e=this.containerData),this.viewerData=be({},e)},renderViewer:function(){this.options.inline&&!this.fulled&&we(this.viewer,this.viewerData)},initList:function(){var e=this,t=this.element,n=this.options,i=this.list,a=[];i.innerHTML="",ye(this.images,(function(t,o){var r=t.src,s=t.alt||function(e){return ce(e)?decodeURIComponent(e.replace(/^.*\//,"").replace(/[?&#].*$/,"")):""}(r),l=e.getImageURL(t);if(r||l){var d=document.createElement("li"),c=document.createElement("img");ye(n.inheritedAttributes,(function(e){var n=t.getAttribute(e);null!==n&&c.setAttribute(e,n)})),n.navbar&&(c.src=r||l),c.alt=s,c.setAttribute("data-original-url",l||r),d.setAttribute("data-index",o),d.setAttribute("data-viewer-action","view"),d.setAttribute("role","button"),n.keyboard&&d.setAttribute("tabindex",0),d.appendChild(c),i.appendChild(d),a.push(d)}})),this.items=a,ye(a,(function(t){var i,a,o=t.firstElementChild;Te(o,"filled",!0),n.loading&&ke(t,x),je(o,E,i=function(i){$e(o,A,a),n.loading&&Le(t,x),e.loadImage(i)},{once:!0}),je(o,A,a=function(){$e(o,E,i),n.loading&&Le(t,x)},{once:!0})})),n.transition&&je(t,K,(function(){ke(i,Y)}),{once:!0})},renderList:function(){var e=this.index,t=this.items[e];if(t){var n=t.nextElementSibling,i=parseInt(window.getComputedStyle(n||t).marginLeft,10),a=t.offsetWidth,o=a+i;we(this.list,be({width:o*this.length-i},Ie({translateX:(this.viewerData.width-a)/2-o*e})))}},resetList:function(){var e=this.list;e.innerHTML="",Le(e,Y),we(e,Ie({translateX:0}))},initImage:function(e){var t,n=this,i=this.options,a=this.image,o=this.viewerData,r=this.footer.offsetHeight,s=o.width,l=Math.max(o.height-r,r),d=this.imageData||{};this.imageInitializing={abort:function(){t.onload=null}},t=Ee(a,i,(function(t,a){var o=t/a,r=Math.max(0,Math.min(1,i.initialCoverage)),c=s,u=l;n.imageInitializing=!1,l*o>s?u=s/o:c=l*o,r=me(r)?r:.9,c=Math.min(c*r,t),u=Math.min(u*r,a);var m=(s-c)/2,f=(l-u)/2,h={left:m,top:f,x:m,y:f,width:c,height:u,oldRatio:1,ratio:c/t,aspectRatio:o,naturalWidth:t,naturalHeight:a},p=be({},h);i.rotatable&&(h.rotate=d.rotate||0,p.rotate=0),i.scalable&&(h.scaleX=d.scaleX||1,h.scaleY=d.scaleY||1,p.scaleX=1,p.scaleY=1),n.imageData=h,n.initialImageData=p,e&&e()}))},renderImage:function(e){var t=this,n=this.image,i=this.imageData;if(we(n,be({width:i.width,height:i.height,marginLeft:i.x,marginTop:i.y},Ie(i))),e)if((this.viewing||this.moving||this.rotating||this.scaling||this.zooming)&&this.options.transition&&Me(n,Y)){var a=function(){t.imageRendering=!1,e()};this.imageRendering={abort:function(){$e(n,z,a)}},je(n,z,a,{once:!0})}else e()},resetImage:function(){var e=this.image;e&&(this.viewing&&this.viewing.abort(),e.parentNode.removeChild(e),this.image=null,this.title.innerHTML="")}},Re={bind:function(){var e=this.options,t=this.viewer,n=this.canvas,i=this.element.ownerDocument;je(t,$,this.onClick=this.click.bind(this)),je(t,O,this.onDragStart=this.dragstart.bind(this)),je(n,F,this.onPointerDown=this.pointerdown.bind(this)),je(i,V,this.onPointerMove=this.pointermove.bind(this)),je(i,H,this.onPointerUp=this.pointerup.bind(this)),je(i,P,this.onKeyDown=this.keydown.bind(this)),je(window,R,this.onResize=this.resize.bind(this)),e.zoomable&&e.zoomOnWheel&&je(t,N,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),e.toggleOnDblclick&&je(n,j,this.onDblclick=this.dblclick.bind(this))},unbind:function(){var e=this.options,t=this.viewer,n=this.canvas,i=this.element.ownerDocument;$e(t,$,this.onClick),$e(t,O,this.onDragStart),$e(n,F,this.onPointerDown),$e(i,V,this.onPointerMove),$e(i,H,this.onPointerUp),$e(i,P,this.onKeyDown),$e(window,R,this.onResize),e.zoomable&&e.zoomOnWheel&&$e(t,N,this.onWheel,{passive:!1,capture:!0}),e.toggleOnDblclick&&$e(n,j,this.onDblclick)}},ze={click:function(e){var t=this.options,n=this.imageData,i=e.target,a=Ce(i,se);switch(a||"img"!==i.localName||"li"!==i.parentElement.localName||(a=Ce(i=i.parentElement,se)),l&&e.isTrusted&&i===this.canvas&&clearTimeout(this.clickCanvasTimeout),a){case"mix":this.played?this.stop():t.inline?this.fulled?this.exit():this.full():this.hide();break;case"hide":this.pointerMoved||this.hide();break;case"view":this.view(Ce(i,"index"));break;case"zoom-in":this.zoom(.1,!0);break;case"zoom-out":this.zoom(-.1,!0);break;case"one-to-one":this.toggle();break;case"reset":this.reset();break;case"prev":this.prev(t.loop);break;case"play":this.play(t.fullscreen);break;case"next":this.next(t.loop);break;case"rotate-left":this.rotate(-90);break;case"rotate-right":this.rotate(90);break;case"flip-horizontal":this.scaleX(-n.scaleX||-1);break;case"flip-vertical":this.scaleY(-n.scaleY||-1);break;default:this.played&&this.stop()}},dblclick:function(e){e.preventDefault(),this.viewed&&e.target===this.image&&(l&&e.isTrusted&&clearTimeout(this.doubleClickImageTimeout),this.toggle(e.isTrusted?e:e.detail&&e.detail.originalEvent))},load:function(){var e=this;this.timeout&&(clearTimeout(this.timeout),this.timeout=!1);var t=this.element,n=this.options,i=this.image,a=this.index,o=this.viewerData;Le(i,S),n.loading&&Le(this.canvas,x),i.style.cssText="height:0;"+"margin-left:".concat(o.width/2,"px;")+"margin-top:".concat(o.height/2,"px;")+"max-width:none!important;position:relative;width:0;",this.initImage((function(){Se(i,D,n.movable),Se(i,Y,n.transition),e.renderImage((function(){e.viewed=!0,e.viewing=!1,ge(n.viewed)&&je(t,K,n.viewed,{once:!0}),Oe(t,K,{originalImage:e.images[a],index:a,image:i},{cancelable:!1})}))}))},loadImage:function(e){var t=e.target,n=t.parentNode,i=n.offsetWidth||30,a=n.offsetHeight||50,o=!!Ce(t,"filled");Ee(t,this.options,(function(e,n){var r=e/n,s=i,l=a;a*r>i?o?s=a*r:l=i/r:o?l=i/r:s=a*r,we(t,be({width:s,height:l},Ie({translateX:(i-s)/2,translateY:(a-l)/2})))}))},keydown:function(e){var t=this.options;if(t.keyboard){var n=e.keyCode||e.which||e.charCode;if(13===n&&this.viewer.contains(e.target)&&this.click(e),this.fulled)switch(n){case 27:this.played?this.stop():t.inline?this.fulled&&this.exit():this.hide();break;case 32:this.played&&this.stop();break;case 37:this.played&&this.playing?this.playing.prev():this.prev(t.loop);break;case 38:e.preventDefault(),this.zoom(t.zoomRatio,!0);break;case 39:this.played&&this.playing?this.playing.next():this.next(t.loop);break;case 40:e.preventDefault(),this.zoom(-t.zoomRatio,!0);break;case 48:case 49:e.ctrlKey&&(e.preventDefault(),this.toggle())}}},dragstart:function(e){"img"===e.target.localName&&e.preventDefault()},pointerdown:function(e){var t=this.options,n=this.pointers,i=e.buttons,a=e.button;if(this.pointerMoved=!1,!(!this.viewed||this.showing||this.viewing||this.hiding||("mousedown"===e.type||"pointerdown"===e.type&&"mouse"===e.pointerType)&&(me(i)&&1!==i||me(a)&&0!==a||e.ctrlKey))){e.preventDefault(),e.changedTouches?ye(e.changedTouches,(function(e){n[e.identifier]=Fe(e)})):n[e.pointerId||0]=Fe(e);var o=!!t.movable&&u;t.zoomOnTouch&&t.zoomable&&Object.keys(n).length>1?o=f:t.slideOnTouch&&("touch"===e.pointerType||"touchstart"===e.type)&&this.isSwitchable()&&(o=m),!t.transition||o!==u&&o!==f||Le(this.image,Y),this.action=o}},pointermove:function(e){var t=this.pointers,n=this.action;this.viewed&&n&&(e.preventDefault(),e.changedTouches?ye(e.changedTouches,(function(e){be(t[e.identifier]||{},Fe(e,!0))})):be(t[e.pointerId||0]||{},Fe(e,!0)),this.change(e))},pointerup:function(e){var t,n=this,i=this.options,a=this.action,o=this.pointers;e.changedTouches?ye(e.changedTouches,(function(e){t=o[e.identifier],delete o[e.identifier]})):(t=o[e.pointerId||0],delete o[e.pointerId||0]),a&&(e.preventDefault(),!i.transition||a!==u&&a!==f||ke(this.image,Y),this.action=!1,l&&a!==f&&t&&Date.now()-t.timeStamp<500&&(clearTimeout(this.clickCanvasTimeout),clearTimeout(this.doubleClickImageTimeout),i.toggleOnDblclick&&this.viewed&&e.target===this.image?this.imageClicked?(this.imageClicked=!1,this.doubleClickImageTimeout=setTimeout((function(){Oe(n.image,j,{originalEvent:e})}),50)):(this.imageClicked=!0,this.doubleClickImageTimeout=setTimeout((function(){n.imageClicked=!1}),500)):(this.imageClicked=!1,i.backdrop&&"static"!==i.backdrop&&e.target===this.canvas&&(this.clickCanvasTimeout=setTimeout((function(){Oe(n.canvas,$,{originalEvent:e})}),50)))))},resize:function(){var e=this;if(this.isShown&&!this.hiding&&(this.fulled&&(this.close(),this.initBody(),this.open()),this.initContainer(),this.initViewer(),this.renderViewer(),this.renderList(),this.viewed&&this.initImage((function(){e.renderImage()})),this.played)){if(this.options.fullscreen&&this.fulled&&!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement))return void this.stop();ye(this.player.getElementsByTagName("img"),(function(t){je(t,E,e.loadImage.bind(e),{once:!0}),Oe(t,E)}))}},wheel:function(e){var t=this;if(this.viewed&&(e.preventDefault(),!this.wheeling)){this.wheeling=!0,setTimeout((function(){t.wheeling=!1}),50);var n=Number(this.options.zoomRatio)||.1,i=1;e.deltaY?i=e.deltaY>0?1:-1:e.wheelDelta?i=-e.wheelDelta/120:e.detail&&(i=e.detail>0?1:-1),this.zoom(-i*n,!0,null,e)}}},Ne={show:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.element,n=this.options;if(n.inline||this.showing||this.isShown||this.showing)return this;if(!this.ready)return this.build(),this.ready&&this.show(e),this;if(ge(n.show)&&je(t,B,n.show,{once:!0}),!1===Oe(t,B)||!this.ready)return this;this.hiding&&this.transitioning.abort(),this.showing=!0,this.open();var i=this.viewer;if(Le(i,v),i.setAttribute("role","dialog"),i.setAttribute("aria-labelledby",this.title.id),i.setAttribute("aria-modal",!0),i.removeAttribute("aria-hidden"),n.transition&&!e){var a=this.shown.bind(this);this.transitioning={abort:function(){$e(i,z,a),Le(i,L)}},ke(i,Y),i.initialOffsetWidth=i.offsetWidth,je(i,z,a,{once:!0}),ke(i,L)}else ke(i,L),this.shown();return this},hide:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.element,i=this.options;if(i.inline||this.hiding||!this.isShown&&!this.showing)return this;if(ge(i.hide)&&je(n,G,i.hide,{once:!0}),!1===Oe(n,G))return this;this.showing&&this.transitioning.abort(),this.hiding=!0,this.played?this.stop():this.viewing&&this.viewing.abort();var a=this.viewer,o=this.image,r=function(){Le(a,L),e.hidden()};if(i.transition&&!t){var s=function t(n){n&&n.target===a&&($e(a,z,t),e.hidden())},l=function(){Me(a,Y)?(je(a,z,s),Le(a,L)):r()};this.transitioning={abort:function(){e.viewed&&Me(o,Y)?$e(o,z,l):Me(a,Y)&&$e(a,z,s)}},this.viewed&&Me(o,Y)?(je(o,z,l,{once:!0}),this.zoomTo(0,!1,null,null,!0)):l()}else r();return this},view:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.initialViewIndex;if(t=Number(t)||0,this.hiding||this.played||t<0||t>=this.length||this.viewed&&t===this.index)return this;if(!this.isShown)return this.index=t,this.show();this.viewing&&this.viewing.abort();var n=this.element,i=this.options,a=this.title,o=this.canvas,r=this.items[t],s=r.querySelector("img"),l=Ce(s,"originalUrl"),d=s.getAttribute("alt"),c=document.createElement("img");if(ye(i.inheritedAttributes,(function(e){var t=s.getAttribute(e);null!==t&&c.setAttribute(e,t)})),c.src=l,c.alt=d,ge(i.view)&&je(n,J,i.view,{once:!0}),!1===Oe(n,J,{originalImage:this.images[t],index:t,image:c})||!this.isShown||this.hiding||this.played)return this;var u=this.items[this.index];u&&(Le(u,h),u.removeAttribute("aria-selected")),ke(r,h),r.setAttribute("aria-selected",!0),i.focus&&r.focus(),this.image=c,this.viewed=!1,this.index=t,this.imageData={},ke(c,S),i.loading&&ke(o,x),o.innerHTML="",o.appendChild(c),this.renderList(),a.innerHTML="";var m,f,p=function(){var t,n=e.imageData,o=Array.isArray(i.title)?i.title[1]:i.title;a.innerHTML=ce(t=ge(o)?o.call(e,c,n):"".concat(d," (").concat(n.naturalWidth," × ").concat(n.naturalHeight,")"))?t.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;"):t};return je(n,K,p,{once:!0}),this.viewing={abort:function(){$e(n,K,p),c.complete?e.imageRendering?e.imageRendering.abort():e.imageInitializing&&e.imageInitializing.abort():(c.src="",$e(c,E,m),e.timeout&&clearTimeout(e.timeout))}},c.complete?this.load():(je(c,E,m=function(){$e(c,A,f),e.load()},{once:!0}),je(c,A,f=function(){$e(c,E,m),e.timeout&&(clearTimeout(e.timeout),e.timeout=!1),Le(c,S),i.loading&&Le(e.canvas,x)},{once:!0}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout((function(){Le(c,S),e.timeout=!1}),1e3)),this},prev:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.index-1;return t<0&&(t=e?this.length-1:0),this.view(t),this},next:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.length-1,n=this.index+1;return n>t&&(n=e?0:t),this.view(n),this},move:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.imageData;return this.moveTo(fe(e)?e:n.x+Number(e),fe(t)?t:n.y+Number(t)),this},moveTo:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=this.element,o=this.options,r=this.imageData;if(e=Number(e),n=Number(n),this.viewed&&!this.played&&o.movable){var s=r.x,l=r.y,d=!1;if(me(e)?d=!0:e=s,me(n)?d=!0:n=l,d){if(ge(o.move)&&je(a,X,o.move,{once:!0}),!1===Oe(a,X,{x:e,y:n,oldX:s,oldY:l,originalEvent:i}))return this;r.x=e,r.y=n,r.left=e,r.top=n,this.moving=!0,this.renderImage((function(){t.moving=!1,ge(o.moved)&&je(a,Z,o.moved,{once:!0}),Oe(a,Z,{x:e,y:n,oldX:s,oldY:l,originalEvent:i},{cancelable:!1})}))}}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e)),this},rotateTo:function(e){var t=this,n=this.element,i=this.options,a=this.imageData;if(me(e=Number(e))&&this.viewed&&!this.played&&i.rotatable){var o=a.rotate;if(ge(i.rotate)&&je(n,Q,i.rotate,{once:!0}),!1===Oe(n,Q,{degree:e,oldDegree:o}))return this;a.rotate=e,this.rotating=!0,this.renderImage((function(){t.rotating=!1,ge(i.rotated)&&je(n,ee,i.rotated,{once:!0}),Oe(n,ee,{degree:e,oldDegree:o},{cancelable:!1})}))}return this},scaleX:function(e){return this.scale(e,this.imageData.scaleY),this},scaleY:function(e){return this.scale(this.imageData.scaleX,e),this},scale:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,i=this.element,a=this.options,o=this.imageData;if(e=Number(e),n=Number(n),this.viewed&&!this.played&&a.scalable){var r=o.scaleX,s=o.scaleY,l=!1;if(me(e)?l=!0:e=r,me(n)?l=!0:n=s,l){if(ge(a.scale)&&je(i,te,a.scale,{once:!0}),!1===Oe(i,te,{scaleX:e,scaleY:n,oldScaleX:r,oldScaleY:s}))return this;o.scaleX=e,o.scaleY=n,this.scaling=!0,this.renderImage((function(){t.scaling=!1,ge(a.scaled)&&je(i,ne,a.scaled,{once:!0}),Oe(i,ne,{scaleX:e,scaleY:n,oldScaleX:r,oldScaleY:s},{cancelable:!1})}))}}return this},zoom:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=this.imageData;return e=(e=Number(e))<0?1/(1-e):1+e,this.zoomTo(a.width*e/a.naturalWidth,t,n,i),this},zoomTo:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r=this.element,s=this.options,l=this.pointers,d=this.imageData,c=d.x,u=d.y,m=d.width,f=d.height,h=d.naturalWidth,p=d.naturalHeight;if(me(e=Math.max(0,e))&&this.viewed&&!this.played&&(o||s.zoomable)){if(!o){var _=Math.max(.01,s.minZoomRatio),g=Math.min(100,s.maxZoomRatio);e=Math.min(Math.max(e,_),g)}if(a)switch(a.type){case"wheel":s.zoomRatio>=.055&&e>.95&&e<1.05&&(e=1);break;case"pointermove":case"touchmove":case"mousemove":e>.99&&e<1.01&&(e=1)}var y=h*e,b=p*e,v=y-m,w=b-f,M=d.ratio;if(ge(s.zoom)&&je(r,ie,s.zoom,{once:!0}),!1===Oe(r,ie,{ratio:e,oldRatio:M,originalEvent:a}))return this;if(this.zooming=!0,a){var k=function(e){var t=e.getBoundingClientRect();return{left:t.left+(window.pageXOffset-document.documentElement.clientLeft),top:t.top+(window.pageYOffset-document.documentElement.clientTop)}}(this.viewer),L=l&&Object.keys(l).length>0?function(e){var t=0,n=0,i=0;return ye(e,(function(e){var a=e.startX,o=e.startY;t+=a,n+=o,i+=1})),{pageX:t/=i,pageY:n/=i}}(l):{pageX:a.pageX,pageY:a.pageY};d.x-=v*((L.pageX-k.left-c)/m),d.y-=w*((L.pageY-k.top-u)/f)}else _e(i)&&me(i.x)&&me(i.y)?(d.x-=v*((i.x-c)/m),d.y-=w*((i.y-u)/f)):(d.x-=v/2,d.y-=w/2);d.left=d.x,d.top=d.y,d.width=y,d.height=b,d.oldRatio=M,d.ratio=e,this.renderImage((function(){t.zooming=!1,ge(s.zoomed)&&je(r,ae,s.zoomed,{once:!0}),Oe(r,ae,{ratio:e,oldRatio:M,originalEvent:a},{cancelable:!1})})),n&&this.tooltip()}return this},play:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.isShown||this.played)return this;var n=this.element,i=this.options;if(ge(i.play)&&je(n,oe,i.play,{once:!0}),!1===Oe(n,oe))return this;var a=this.player,o=this.loadImage.bind(this),r=[],s=0,l=0;if(this.played=!0,this.onLoadWhenPlay=o,t&&this.requestFullscreen(t),ke(a,T),ye(this.items,(function(e,t){var n=e.querySelector("img"),d=document.createElement("img");d.src=Ce(n,"originalUrl"),d.alt=n.getAttribute("alt"),d.referrerPolicy=n.referrerPolicy,s+=1,ke(d,_),Se(d,Y,i.transition),Me(e,h)&&(ke(d,L),l=t),r.push(d),je(d,E,o,{once:!0}),a.appendChild(d)})),me(i.interval)&&i.interval>0){var d=function t(){clearTimeout(e.playing.timeout),Le(r[l],L),ke(r[l=(l+=1)<s?l:0],L),e.playing.timeout=setTimeout(t,i.interval)};s>1&&(this.playing={prev:function t(){clearTimeout(e.playing.timeout),Le(r[l],L),ke(r[l=(l-=1)>=0?l:s-1],L),e.playing.timeout=setTimeout(t,i.interval)},next:d,timeout:setTimeout(d,i.interval)})}return this},stop:function(){var e=this;if(!this.played)return this;var t=this.element,n=this.options;if(ge(n.stop)&&je(t,re,n.stop,{once:!0}),!1===Oe(t,re))return this;var i=this.player;return clearTimeout(this.playing.timeout),this.playing=!1,this.played=!1,ye(i.getElementsByTagName("img"),(function(t){$e(t,E,e.onLoadWhenPlay)})),Le(i,T),i.innerHTML="",this.exitFullscreen(),this},full:function(){var e=this,t=this.options,n=this.viewer,i=this.image,a=this.list;return!this.isShown||this.played||this.fulled||!t.inline||(this.fulled=!0,this.open(),ke(this.button,b),t.transition&&(Le(a,Y),this.viewed&&Le(i,Y)),ke(n,g),n.setAttribute("role","dialog"),n.setAttribute("aria-labelledby",this.title.id),n.setAttribute("aria-modal",!0),n.removeAttribute("style"),we(n,{zIndex:t.zIndex}),t.focus&&this.enforceFocus(),this.initContainer(),this.viewerData=be({},this.containerData),this.renderList(),this.viewed&&this.initImage((function(){e.renderImage((function(){t.transition&&setTimeout((function(){ke(i,Y),ke(a,Y)}),0)}))}))),this},exit:function(){var e=this,t=this.options,n=this.viewer,i=this.image,a=this.list;return this.isShown&&!this.played&&this.fulled&&t.inline?(this.fulled=!1,this.close(),Le(this.button,b),t.transition&&(Le(a,Y),this.viewed&&Le(i,Y)),t.focus&&this.clearEnforceFocus(),n.removeAttribute("role"),n.removeAttribute("aria-labelledby"),n.removeAttribute("aria-modal"),Le(n,g),we(n,{zIndex:t.zIndexInline}),this.viewerData=be({},this.parentData),this.renderViewer(),this.renderList(),this.viewed&&this.initImage((function(){e.renderImage((function(){t.transition&&setTimeout((function(){ke(i,Y),ke(a,Y)}),0)}))})),this):this},tooltip:function(){var e=this,t=this.options,n=this.tooltipBox,i=this.imageData;return this.viewed&&!this.played&&t.tooltip?(n.textContent="".concat(Math.round(100*i.ratio),"%"),this.tooltipping?clearTimeout(this.tooltipping):t.transition?(this.fading&&Oe(n,z),ke(n,T),ke(n,_),ke(n,Y),n.removeAttribute("aria-hidden"),n.initialOffsetWidth=n.offsetWidth,ke(n,L)):(ke(n,T),n.removeAttribute("aria-hidden")),this.tooltipping=setTimeout((function(){t.transition?(je(n,z,(function(){Le(n,T),Le(n,_),Le(n,Y),n.setAttribute("aria-hidden",!0),e.fading=!1}),{once:!0}),Le(n,L),e.fading=!0):(Le(n,T),n.setAttribute("aria-hidden",!0)),e.tooltipping=!1}),1e3),this):this},toggle:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return 1===this.imageData.ratio?this.zoomTo(this.imageData.oldRatio,!0,null,e):this.zoomTo(1,!0,null,e),this},reset:function(){return this.viewed&&!this.played&&(this.imageData=be({},this.initialImageData),this.renderImage()),this},update:function(){var e=this,t=this.element,n=this.options,i=this.isImg;if(i&&!t.parentNode)return this.destroy();var a=[];if(ye(i?[t]:t.querySelectorAll("img"),(function(t){ge(n.filter)?n.filter.call(e,t)&&a.push(t):e.getImageURL(t)&&a.push(t)})),!a.length)return this;if(this.images=a,this.length=a.length,this.ready){var o=[];if(ye(this.items,(function(e,t){var n=e.querySelector("img"),i=a[t];i&&n&&i.src===n.src&&i.alt===n.alt||o.push(t)})),we(this.list,{width:"auto"}),this.initList(),this.isShown)if(this.length){if(this.viewed){var r=o.indexOf(this.index);if(r>=0)this.viewed=!1,this.view(Math.max(Math.min(this.index-r,this.length-1),0));else{var s=this.items[this.index];ke(s,h),s.setAttribute("aria-selected",!0)}}}else this.image=null,this.viewed=!1,this.index=0,this.imageData={},this.canvas.innerHTML="",this.title.innerHTML=""}else this.build();return this},destroy:function(){var e=this.element,t=this.options;return e[c]?(this.destroyed=!0,this.ready?(this.played&&this.stop(),t.inline?(this.fulled&&this.exit(),this.unbind()):this.isShown?(this.viewing&&(this.imageRendering?this.imageRendering.abort():this.imageInitializing&&this.imageInitializing.abort()),this.hiding&&this.transitioning.abort(),this.hidden()):this.showing&&(this.transitioning.abort(),this.hidden()),this.ready=!1,this.viewer.parentNode.removeChild(this.viewer)):t.inline&&(this.delaying?this.delaying.abort():this.initializing&&this.initializing.abort()),t.inline||$e(e,$,this.onStart),e[c]=void 0,this):this}},We={getImageURL:function(e){var t=this.options.url;return ce(t)?e.getAttribute(t):ge(t)?t.call(this,e):""},enforceFocus:function(){var e=this;this.clearEnforceFocus(),je(document,I,this.onFocusin=function(t){var n=e.viewer,i=t.target;if(i!==document&&i!==n&&!n.contains(i)){for(;i;){if(null!==i.getAttribute("tabindex")||"true"===i.getAttribute("aria-modal"))return;i=i.parentElement}n.focus()}})},clearEnforceFocus:function(){this.onFocusin&&($e(document,I,this.onFocusin),this.onFocusin=null)},open:function(){var e=this.body;ke(e,C),this.scrollbarWidth>0&&(e.style.paddingRight="".concat(this.scrollbarWidth+(parseFloat(this.initialBodyComputedPaddingRight)||0),"px"))},close:function(){var e=this.body;Le(e,C),this.scrollbarWidth>0&&(e.style.paddingRight=this.initialBodyPaddingRight)},shown:function(){var e=this.element,t=this.options,n=this.viewer;this.fulled=!0,this.isShown=!0,this.render(),this.bind(),this.showing=!1,t.focus&&(n.focus(),this.enforceFocus()),ge(t.shown)&&je(e,U,t.shown,{once:!0}),!1!==Oe(e,U)&&this.ready&&this.isShown&&!this.hiding&&this.view(this.index)},hidden:function(){var e=this.element,t=this.options,n=this.viewer;t.fucus&&this.clearEnforceFocus(),this.close(),this.unbind(),ke(n,v),n.removeAttribute("role"),n.removeAttribute("aria-labelledby"),n.removeAttribute("aria-modal"),n.setAttribute("aria-hidden",!0),this.resetList(),this.resetImage(),this.fulled=!1,this.viewed=!1,this.isShown=!1,this.hiding=!1,this.destroyed||(ge(t.hidden)&&je(e,q,t.hidden,{once:!0}),Oe(e,q,null,{cancelable:!1}))},requestFullscreen:function(e){var t=this.element.ownerDocument;if(this.fulled&&!(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement)){var n=t.documentElement;n.requestFullscreen?_e(e)?n.requestFullscreen(e):n.requestFullscreen():n.webkitRequestFullscreen?n.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):n.mozRequestFullScreen?n.mozRequestFullScreen():n.msRequestFullscreen&&n.msRequestFullscreen()}},exitFullscreen:function(){var e=this.element.ownerDocument;this.fulled&&(e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement)&&(e.exitFullscreen?e.exitFullscreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.msExitFullscreen&&e.msExitFullscreen())},change:function(e){var n=this.options,i=this.pointers,a=i[Object.keys(i)[0]];if(a){var o=a.endX-a.startX,r=a.endY-a.startY;switch(this.action){case u:0===o&&0===r||(this.pointerMoved=!0,this.move(o,r,e));break;case f:this.zoom(function(e){var n=t({},e),i=[];return ye(e,(function(e,t){delete n[t],ye(n,(function(t){var n=Math.abs(e.startX-t.startX),a=Math.abs(e.startY-t.startY),o=Math.abs(e.endX-t.endX),r=Math.abs(e.endY-t.endY),s=Math.sqrt(n*n+a*a),l=(Math.sqrt(o*o+r*r)-s)/s;i.push(l)}))})),i.sort((function(e,t){return Math.abs(e)<Math.abs(t)})),i[0]}(i),!1,null,e);break;case m:this.action="switched";var s=Math.abs(o);s>1&&s>Math.abs(r)&&(this.pointers={},o>1?this.prev(n.loop):o<-1&&this.next(n.loop))}ye(i,(function(e){e.startX=e.endX,e.startY=e.endY}))}},isSwitchable:function(){var e=this.imageData,t=this.viewerData;return this.length>1&&e.x>=0&&e.y>=0&&e.width<=t.width&&e.height<=t.height}},Be=s.Viewer,Ue=(Ve=-1,function(){return Ve+=1}),Ge=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t||1!==t.nodeType)throw new Error("The first argument is required and must be an element.");this.element=t,this.options=be({},o,_e(n)&&n),this.action=!1,this.fading=!1,this.fulled=!1,this.hiding=!1,this.imageClicked=!1,this.imageData={},this.index=this.options.initialViewIndex,this.isImg=!1,this.isShown=!1,this.length=0,this.moving=!1,this.played=!1,this.playing=!1,this.pointers={},this.ready=!1,this.rotating=!1,this.scaling=!1,this.showing=!1,this.timeout=!1,this.tooltipping=!1,this.viewed=!1,this.viewing=!1,this.wheeling=!1,this.zooming=!1,this.pointerMoved=!1,this.id=Ue(),this.init()}return t=e,a=[{key:"noConflict",value:function(){return window.Viewer=Be,e}},{key:"setDefaults",value:function(e){be(o,_e(e)&&e)}}],(n=[{key:"init",value:function(){var e=this,t=this.element,n=this.options;if(!t[c]){t[c]=this,n.focus&&!n.keyboard&&(n.focus=!1);var i="img"===t.localName,a=[];if(ye(i?[t]:t.querySelectorAll("img"),(function(t){ge(n.filter)?n.filter.call(e,t)&&a.push(t):e.getImageURL(t)&&a.push(t)})),this.isImg=i,this.length=a.length,this.images=a,this.initBody(),fe(document.createElement(c).style.transition)&&(n.transition=!1),n.inline){var o=0,r=function(){var t;(o+=1)===e.length&&(e.initializing=!1,e.delaying={abort:function(){clearTimeout(t)}},t=setTimeout((function(){e.delaying=!1,e.build()}),0))};this.initializing={abort:function(){ye(a,(function(e){e.complete||($e(e,E,r),$e(e,A,r))}))}},ye(a,(function(e){var t,n;e.complete?r():(je(e,E,t=function(){$e(e,A,n),r()},{once:!0}),je(e,A,n=function(){$e(e,E,t),r()},{once:!0}))}))}else je(t,$,this.onStart=function(t){var i=t.target;"img"!==i.localName||ge(n.filter)&&!n.filter.call(e,i)||e.view(e.images.indexOf(i))})}}},{key:"build",value:function(){if(!this.ready){var e=this.element,t=this.options,n=e.parentNode,i=document.createElement("div");i.innerHTML='<div class="viewer-container" tabindex="-1" touch-action="none"><div class="viewer-canvas"></div><div class="viewer-footer"><div class="viewer-title"></div><div class="viewer-toolbar"></div><div class="viewer-navbar"><ul class="viewer-list" role="navigation"></ul></div></div><div class="viewer-tooltip" role="alert" aria-hidden="true"></div><div class="viewer-button" data-viewer-action="mix" role="button"></div><div class="viewer-player"></div></div>';var a=i.querySelector(".".concat(c,"-container")),o=a.querySelector(".".concat(c,"-title")),r=a.querySelector(".".concat(c,"-toolbar")),s=a.querySelector(".".concat(c,"-navbar")),l=a.querySelector(".".concat(c,"-button")),d=a.querySelector(".".concat(c,"-canvas"));if(this.parent=n,this.viewer=a,this.title=o,this.toolbar=r,this.navbar=s,this.button=l,this.canvas=d,this.footer=a.querySelector(".".concat(c,"-footer")),this.tooltipBox=a.querySelector(".".concat(c,"-tooltip")),this.player=a.querySelector(".".concat(c,"-player")),this.list=a.querySelector(".".concat(c,"-list")),a.id="".concat(c).concat(this.id),o.id="".concat(c,"Title").concat(this.id),ke(o,t.title?Ae(Array.isArray(t.title)?t.title[0]:t.title):v),ke(s,t.navbar?Ae(t.navbar):v),Se(l,v,!t.button),t.keyboard&&l.setAttribute("tabindex",0),t.backdrop&&(ke(a,"".concat(c,"-backdrop")),t.inline||"static"===t.backdrop||Te(d,se,"hide")),ce(t.className)&&t.className&&t.className.split(le).forEach((function(e){ke(a,e)})),t.toolbar){var u=document.createElement("ul"),m=_e(t.toolbar),f=de.slice(0,3),h=de.slice(7,9),b=de.slice(9);m||ke(r,Ae(t.toolbar)),ye(m?t.toolbar:de,(function(e,n){var i=m&&_e(e),a=m?De(n):e,o=i&&!fe(e.show)?e.show:e;if(o&&(t.zoomable||-1===f.indexOf(a))&&(t.rotatable||-1===h.indexOf(a))&&(t.scalable||-1===b.indexOf(a))){var r=i&&!fe(e.size)?e.size:e,s=i&&!fe(e.click)?e.click:e,l=document.createElement("li");t.keyboard&&l.setAttribute("tabindex",0),l.setAttribute("role","button"),ke(l,"".concat(c,"-").concat(a)),ge(s)||Te(l,se,a),me(o)&&ke(l,Ae(o)),-1!==["small","large"].indexOf(r)?ke(l,"".concat(c,"-").concat(r)):"play"===a&&ke(l,"".concat(c,"-large")),ge(s)&&je(l,$,s),u.appendChild(l)}})),r.appendChild(u)}else ke(r,v);if(!t.rotatable){var w=r.querySelectorAll('li[class*="rotate"]');ke(w,S),ye(w,(function(e){r.appendChild(e)}))}if(t.inline)ke(l,y),we(a,{zIndex:t.zIndexInline}),"static"===window.getComputedStyle(n).position&&we(n,{position:"relative"}),n.insertBefore(a,e.nextSibling);else{ke(l,p),ke(a,g),ke(a,_),ke(a,v),we(a,{zIndex:t.zIndex});var M=t.container;ce(M)&&(M=e.ownerDocument.querySelector(M)),M||(M=this.body),M.appendChild(a)}t.inline&&(this.render(),this.bind(),this.isShown=!0),this.ready=!0,ge(t.ready)&&je(e,W,t.ready,{once:!0}),!1!==Oe(e,W)?this.ready&&t.inline&&this.view(this.index):this.ready=!1}}}])&&i(t.prototype,n),a&&i(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e;var t,n,a}();return be(Ge.prototype,He,Re,ze,Ne,We),Ge}()},3966:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9029),a=n(4227),o=n(5765),r=n(5457),s={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>i.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>i._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:n,it:i}=e,{prefixItems:s}=n;i.items=!0,(0,a.alwaysValidSchema)(i,t)||(s?(0,r.validateAdditionalItems)(e,s):e.ok((0,o.validateArray)(e)))}};t.default=s},4003:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(5765),a=n(9029),o=n(4227),r={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>a.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>a._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:n,schemaCode:r,data:s,$data:l,it:d}=e,{opts:c}=d;if(!l&&0===n.length)return;const u=n.length>=c.loopRequired;if(d.allErrors?function(){if(u||l)e.block$data(a.nil,m);else for(const t of n)(0,i.checkReportMissingProp)(e,t)}():function(){const o=t.let("missing");if(u||l){const n=t.let("valid",!0);e.block$data(n,(()=>function(n,o){e.setParams({missingProperty:n}),t.forOf(n,r,(()=>{t.assign(o,(0,i.propertyInData)(t,s,n,c.ownProperties)),t.if((0,a.not)(o),(()=>{e.error(),t.break()}))}),a.nil)}(o,n))),e.ok(n)}else t.if((0,i.checkMissingProp)(e,n,o)),(0,i.reportMissingProp)(e,o),t.else()}(),c.strictRequired){const t=e.parentSchema.properties,{definedProperties:i}=e.it;for(const e of n)if(void 0===(null==t?void 0:t[e])&&!i.has(e)){const t=`required property "${e}" is not defined at "${d.schemaEnv.baseId+d.errSchemaPath}" (strictRequired)`;(0,o.checkStrictMode)(d,t,d.opts.strictRequired)}}function m(){t.forOf("prop",r,(n=>{e.setParams({missingProperty:n}),t.if((0,i.noPropertyInData)(t,s,n,c.ownProperties),(()=>e.error()))}))}}};t.default=r},4042:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var i=n(2586);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return i.KeywordCxt}});var a=n(9029);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return a._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return a.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return a.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return a.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return a.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return a.CodeGen}});const o=n(3558),r=n(4551),s=n(396),l=n(3835),d=n(9029),c=n(6939),u=n(208),m=n(4227),f=n(3837),h=n(5944),p=(e,t)=>new RegExp(e,t);p.code="new RegExp";const _=["removeAdditional","useDefaults","coerceTypes"],g=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),y={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},b={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function v(e){var t,n,i,a,o,r,s,l,d,c,u,m,f,_,g,y,b,v,w,M,k,L,S,x,D;const C=e.strict,T=null===(t=e.code)||void 0===t?void 0:t.optimize,Y=!0===T||void 0===T?1:T||0,$=null!==(i=null===(n=e.code)||void 0===n?void 0:n.regExp)&&void 0!==i?i:p,j=null!==(a=e.uriResolver)&&void 0!==a?a:h.default;return{strictSchema:null===(r=null!==(o=e.strictSchema)&&void 0!==o?o:C)||void 0===r||r,strictNumbers:null===(l=null!==(s=e.strictNumbers)&&void 0!==s?s:C)||void 0===l||l,strictTypes:null!==(c=null!==(d=e.strictTypes)&&void 0!==d?d:C)&&void 0!==c?c:"log",strictTuples:null!==(m=null!==(u=e.strictTuples)&&void 0!==u?u:C)&&void 0!==m?m:"log",strictRequired:null!==(_=null!==(f=e.strictRequired)&&void 0!==f?f:C)&&void 0!==_&&_,code:e.code?{...e.code,optimize:Y,regExp:$}:{optimize:Y,regExp:$},loopRequired:null!==(g=e.loopRequired)&&void 0!==g?g:200,loopEnum:null!==(y=e.loopEnum)&&void 0!==y?y:200,meta:null===(b=e.meta)||void 0===b||b,messages:null===(v=e.messages)||void 0===v||v,inlineRefs:null===(w=e.inlineRefs)||void 0===w||w,schemaId:null!==(M=e.schemaId)&&void 0!==M?M:"$id",addUsedSchema:null===(k=e.addUsedSchema)||void 0===k||k,validateSchema:null===(L=e.validateSchema)||void 0===L||L,validateFormats:null===(S=e.validateFormats)||void 0===S||S,unicodeRegExp:null===(x=e.unicodeRegExp)||void 0===x||x,int32range:null===(D=e.int32range)||void 0===D||D,uriResolver:j}}class w{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...v(e)};const{es5:t,lines:n}=this.opts.code;this.scope=new d.ValueScope({scope:{},prefixes:g,es5:t,lines:n}),this.logger=function(e){if(!1===e)return C;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const i=e.validateFormats;e.validateFormats=!1,this.RULES=(0,s.getRules)(),M.call(this,y,e,"NOT SUPPORTED"),M.call(this,b,e,"DEPRECATED","warn"),this._metaOpts=D.call(this),e.formats&&S.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&x.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),L.call(this),e.validateFormats=i}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:n}=this.opts;let i=f;"id"===n&&(i={...f},i.id=i.$id,delete i.$id),t&&e&&this.addMetaSchema(i,i[n],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let n;if("string"==typeof e){if(n=this.getSchema(e),!n)throw new Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);const i=n(t);return"$async"in n||(this.errors=n.errors),i}compile(e,t){const n=this._addSchema(e,t);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:n}=this.opts;return i.call(this,e,t);async function i(e,t){await a.call(this,e.$schema);const n=this._addSchema(e,t);return n.validate||o.call(this,n)}async function a(e){e&&!this.getSchema(e)&&await i.call(this,{$ref:e},!0)}async function o(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof r.default))throw t;return s.call(this,t),await l.call(this,t.missingSchema),o.call(this,e)}}function s({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function l(e){const n=await d.call(this,e);this.refs[e]||await a.call(this,n.$schema),this.refs[e]||this.addSchema(n,e,t)}async function d(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=n(e))}finally{delete this._loading[e]}}}addSchema(e,t,n,i=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,n,i);return this}let a;if("object"==typeof e){const{schemaId:t}=this.opts;if(a=e[t],void 0!==a&&"string"!=typeof a)throw new Error(`schema ${t} must be string`)}return t=(0,c.normalizeId)(t||a),this._checkUnique(t),this.schemas[t]=this._addSchema(e,n,t,i,!0),this}addMetaSchema(e,t,n=this.opts.validateSchema){return this.addSchema(e,t,!0,n),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let n;if(n=e.$schema,void 0!==n&&"string"!=typeof n)throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const i=this.validate(n,e);if(!i&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return i}getSchema(e){let t;for(;"string"==typeof(t=k.call(this,e));)e=t;if(void 0===t){const{schemaId:n}=this.opts,i=new l.SchemaEnv({schema:{},schemaId:n});if(t=l.resolveSchema.call(this,i,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=k.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let n=e[this.opts.schemaId];return n&&(n=(0,c.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let n;if("string"==typeof e)n=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=n);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(n=(t=e).keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(Y.call(this,n,t),!t)return(0,m.eachItem)(n,(e=>$.call(this,e))),this;O.call(this,t);const i={...t,type:(0,u.getJSONTypes)(t.type),schemaType:(0,u.getJSONTypes)(t.schemaType)};return(0,m.eachItem)(n,0===i.type.length?e=>$.call(this,e,i):e=>i.type.forEach((t=>$.call(this,e,i,t)))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const n of t.rules){const t=n.rules.findIndex((t=>t.keyword===e));t>=0&&n.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:n="data"}={}){return e&&0!==e.length?e.map((e=>`${n}${e.instancePath} ${e.message}`)).reduce(((e,n)=>e+t+n)):"No errors"}$dataMetaSchema(e,t){const n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const i of t){const t=i.split("/").slice(1);let a=e;for(const e of t)a=a[e];for(const e in n){const t=n[e];if("object"!=typeof t)continue;const{$data:i}=t.definition,o=a[e];i&&o&&(a[e]=P(o))}}return e}_removeAllSchemas(e,t){for(const n in e){const i=e[n];t&&!t.test(n)||("string"==typeof i?delete e[n]:i&&!i.meta&&(this._cache.delete(i.schema),delete e[n]))}}_addSchema(e,t,n,i=this.opts.validateSchema,a=this.opts.addUsedSchema){let o;const{schemaId:r}=this.opts;if("object"==typeof e)o=e[r];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let s=this._cache.get(e);if(void 0!==s)return s;n=(0,c.normalizeId)(o||n);const d=c.getSchemaRefs.call(this,e,n);return s=new l.SchemaEnv({schema:e,schemaId:r,meta:t,baseId:n,localRefs:d}),this._cache.set(s.schema,s),a&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=s),i&&this.validateSchema(e,!0),s}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):l.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{l.compileSchema.call(this,e)}finally{this.opts=t}}}function M(e,t,n,i="error"){for(const a in e){const o=a;o in t&&this.logger[i](`${n}: option ${a}. ${e[o]}`)}}function k(e){return e=(0,c.normalizeId)(e),this.schemas[e]||this.refs[e]}function L(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function S(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function x(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const n=e[t];n.keyword||(n.keyword=t),this.addKeyword(n)}}}function D(){const e={...this.opts};for(const t of _)delete e[t];return e}w.ValidationError=o.default,w.MissingRefError=r.default,t.default=w;const C={log(){},warn(){},error(){}},T=/^[a-z_$][a-z0-9_$:-]*$/i;function Y(e,t){const{RULES:n}=this;if((0,m.eachItem)(e,(e=>{if(n.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!T.test(e))throw new Error(`Keyword ${e} has invalid name`)})),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function $(e,t,n){var i;const a=null==t?void 0:t.post;if(n&&a)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:o}=this;let r=a?o.post:o.rules.find((({type:e})=>e===n));if(r||(r={type:n,rules:[]},o.rules.push(r)),o.keywords[e]=!0,!t)return;const s={keyword:e,definition:{...t,type:(0,u.getJSONTypes)(t.type),schemaType:(0,u.getJSONTypes)(t.schemaType)}};t.before?j.call(this,r,s,t.before):r.rules.push(s),o.all[e]=s,null===(i=t.implements)||void 0===i||i.forEach((e=>this.addKeyword(e)))}function j(e,t,n){const i=e.rules.findIndex((e=>e.keyword===n));i>=0?e.rules.splice(i,0,t):(e.rules.push(t),this.logger.warn(`rule ${n} is not defined`))}function O(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=P(t)),e.validateSchema=this.compile(t,!0))}const I={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function P(e){return{anyOf:[e,I]}}},4051:function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5093))},4063:function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n(5093))},4085:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=(i=n(2230))&&i.__esModule?i:{default:i},o={draggable:{type:Boolean},editable:{type:Boolean},options:{twoWay:!1,type:Object},path:{type:Array,twoWay:!0}};t.default=(0,a.default)({mappedProps:o,props:{deepWatch:{type:Boolean,default:!1}},events:["click","dblclick","drag","dragend","dragstart","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"],name:"polyline",ctr:function(){return google.maps.Polyline},afterCreate:function(){var e=this,t=function(){};this.$watch("path",(function(n){if(n){t(),e.$polylineObject.setPath(n);var i=e.$polylineObject.getPath(),a=[],o=function(){e.$emit("path_changed",e.$polylineObject.getPath())};a.push([i,i.addListener("insert_at",o)]),a.push([i,i.addListener("remove_at",o)]),a.push([i,i.addListener("set_at",o)]),t=function(){a.map((function(e){var t=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,a=!1,o=void 0;try{for(var r,s=e[Symbol.iterator]();!(i=(r=s.next()).done)&&(n.push(r.value),!t||n.length!==t);i=!0);}catch(e){a=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(e,2),n=(t[0],t[1]);return google.maps.event.removeListener(n)}))}}}),{deep:this.deepWatch,immediate:!0})}})},4169:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.addEventListener?e.addEventListener:e.attachEvent;function n(n,i){if("keydown"===n){var a=i;i=function(t){var n=document.getElementsByClassName("pac-item-selected").length>0;if(13===t.which&&!n){var i=document.createEvent("Event");i.keyCode=40,i.which=40,a.apply(e,[i])}a.apply(e,[t])}}t.apply(e,[n,i])}e.addEventListener=n,e.attachEvent=n}},4226:function(e,t,n){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(5093))},4227:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const i=n(9029),a=n(1520);function o(e,t=e.schema){const{opts:n,self:i}=e;if(!n.strictSchema)return;if("boolean"==typeof t)return;const a=i.RULES.keywords;for(const n in t)a[n]||h(e,`unknown keyword: "${n}"`)}function r(e,t){if("boolean"==typeof e)return!e;for(const n in e)if(t[n])return!0;return!1}function s(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function l(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function d({mergeNames:e,mergeToName:t,mergeValues:n,resultToName:a}){return(o,r,s,l)=>{const d=void 0===s?r:s instanceof i.Name?(r instanceof i.Name?e(o,r,s):t(o,r,s),s):r instanceof i.Name?(t(o,s,r),r):n(r,s);return l!==i.Name||d instanceof i.Name?d:a(o,d)}}function c(e,t){if(!0===t)return e.var("props",!0);const n=e.var("props",i._`{}`);return void 0!==t&&u(e,n,t),n}function u(e,t,n){Object.keys(n).forEach((n=>e.assign(i._`${t}${(0,i.getProperty)(n)}`,!0)))}t.toHash=function(e){const t={};for(const n of e)t[n]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(o(e,t),!r(t,e.self.RULES.all))},t.checkUnknownRules=o,t.schemaHasRules=r,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const n in e)if("$ref"!==n&&t.all[n])return!0;return!1},t.schemaRefOrVal=function({topSchemaRef:e,schemaPath:t},n,a,o){if(!o){if("number"==typeof n||"boolean"==typeof n)return n;if("string"==typeof n)return i._`${n}`}return i._`${e}${t}${(0,i.getProperty)(a)}`},t.unescapeFragment=function(e){return l(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(s(e))},t.escapeJsonPointer=s,t.unescapeJsonPointer=l,t.eachItem=function(e,t){if(Array.isArray(e))for(const n of e)t(n);else t(e)},t.mergeEvaluated={props:d({mergeNames:(e,t,n)=>e.if(i._`${n} !== true && ${t} !== undefined`,(()=>{e.if(i._`${t} === true`,(()=>e.assign(n,!0)),(()=>e.assign(n,i._`${n} || {}`).code(i._`Object.assign(${n}, ${t})`)))})),mergeToName:(e,t,n)=>e.if(i._`${n} !== true`,(()=>{!0===t?e.assign(n,!0):(e.assign(n,i._`${n} || {}`),u(e,n,t))})),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:c}),items:d({mergeNames:(e,t,n)=>e.if(i._`${n} !== true && ${t} !== undefined`,(()=>e.assign(n,i._`${t} === true ? true : ${n} > ${t} ? ${n} : ${t}`))),mergeToName:(e,t,n)=>e.if(i._`${n} !== true`,(()=>e.assign(n,!0===t||i._`${n} > ${t} ? ${n} : ${t}`))),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},t.evaluatedPropsToName=c,t.setEvaluated=u;const m={};var f;function h(e,t,n=e.opts.strictSchema){if(n){if(t=`strict mode: ${t}`,!0===n)throw new Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:m[t.code]||(m[t.code]=new a._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(f||(t.Type=f={})),t.getErrorPath=function(e,t,n){if(e instanceof i.Name){const a=t===f.Num;return n?a?i._`"[" + ${e} + "]"`:i._`"['" + ${e} + "']"`:a?i._`"/" + ${e}`:i._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return n?(0,i.getProperty)(e).toString():"/"+s(e)},t.checkStrictMode=h},4287:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=(i=n(2230))&&i.__esModule?i:{default:i},o={options:{type:Object,required:!1,default:function(){return{}}},position:{type:Object,twoWay:!0},zIndex:{type:Number,twoWay:!0}};t.default=(0,a.default)({mappedProps:o,events:["domready","closeclick","content_changed"],name:"infoWindow",ctr:function(){return google.maps.InfoWindow},props:{opened:{type:Boolean,default:!0}},inject:{$markerPromise:{default:null}},mounted:function(){var e=this.$refs.flyaway;e.parentNode.removeChild(e)},beforeCreate:function(e){var t=this;if(e.content=this.$refs.flyaway,this.$markerPromise)return delete e.position,this.$markerPromise.then((function(e){return t.$markerObject=e,e}))},methods:{_openInfoWindow:function(){this.opened?null!==this.$markerObject?this.$infoWindowObject.open(this.$map,this.$markerObject):this.$infoWindowObject.open(this.$map):this.$infoWindowObject.close()}},afterCreate:function(){var e=this;this._openInfoWindow(),this.$watch("opened",(function(){e._openInfoWindow()}))}})},4304:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.curComponent?n(e.curComponent,e._g(e._b({ref:"inner-component",tag:"component",staticClass:"bpm-field",attrs:{type:e.type,fieldConf:e.fieldConf,row:e.row,mode:e.fieldMode,uiType:e.uiType,formDefId:e.formDefId,orgInfo:e.orgInfo,dm:e.dm,clearable:e.clearable,disabled:e.fieldDisabled,isMultiple:e.isMul,container:e.container},on:{change:e.handleChange,setAllValue:e.handleSetAllvalue},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners)):e._e()};i._withStripped=!0;var a=n(9795),o=n(5554),r=n.n(o),s={name:"BpmFormField",mixins:[n(1464).A,function(){let e={props:["container","rowIndex","isNew","hideLabel"],data(){return{optAssWatchList:[],hasAddOptAssWatch:!1,defaultVal:null,firstListVal:null,loadedDefault:!1,allVal:[]}},computed:{isSubForm(){return!1},topContainer(){return this.container.isSubForm?this.container.container:this.container},fieldSelf(){return this},fieldPath(){return this._getFieldPath()},readonly(){return!0},inner(){return this.$bpm.matchInnerComponent(this.fieldConf.type,this.readonly)}},created(){this.topContainer&&(this.topContainer.$once("beforeSchemaLoad",(e=>{this.clearOptAssWatch()})),this.topContainer.$once("dataLoaded",(e=>{this.addOptAssWatch()}))),this.isNew&&!this.hasAddOptAssWatch&&(this.addOptAssWatch(),this.$emit("update:isNew",!1))},methods:{async getConfDefaultValue(){let e=_.get(this.fieldConf,"default.value.type");e=e||_.get(this.fieldConf,"default.value.type");let t=_.get(this.fieldConf,"default.value.value"),n=_.get(this.fieldConf,"default.type");return this.defaultVal||this.loadedDefault?this.defaultVal:("EVCConfig"==n&&(t=_.get(this.fieldConf,"default.value"),this.defaultVal=t),"EVCExpression"==e||"EVCExpression"==n?(this.defaultVal=await this.$bpm.loadValDefault({fieldId:this.fieldConf.id,params:{},cusFormName:this.container.cusFormId,container:this.container}),this.loadedDefault=!0,this.defaultVal):("EVCFirstElem"==_.get(this.fieldConf,"default.value.type")&&(t=this.firstListVal),this.defaultVal=t,this.loadedDefault=!0,t))},getTypeValidEmptyValue(){let e=this.fieldConf.value_type,t=this.fieldConf.type;switch(e){case"int":return 0;case"struct":return"Mul"==t.substr(0,3)||"OnlineEditor"==t||this.isSubForm?[]:{};default:return"Mul"==t.substr(0,3)||"OnlineEditor"==t||this.isSubForm?[]:""}},removeValue(){let e=this.container,t=e.value;e.isSubForm&&(t=_.get(t,[this.rowIndex])),t&&(this.value=null)},_getFieldPath(e=!1){return this.container.isSubForm?e?[this.container.fieldConf.id,this.rowIndex,this.fieldConf.id]:[this.rowIndex,this.fieldConf.id]:[this.fieldConf.id]},_getValue(){let e="";return this.container&&(e=_.get(this.container.value,this.fieldPath)),e},isPromise(e){return!!e&&"function"==typeof e.then},_setValue(e){let t=this.container,n=_.cloneDeep(t.value);if(t.isQuote)return;let i=_.last(this.fieldPath);if(t.isSubForm){n||(n=[]);let a=this.rowIndex;if(n[a])return void this.$set(t.value[a],i,e);t.isXSubForm?r().set(n,a,t.getItem(a)):r().set(n,a,{}),n=n[a];try{r().set(t.value,a,n)}catch(e){console.log("error",t.value)}}else r().set(t.value,i,e)},clearOptAssWatch(){this.hasAddOptAssWatch=!1,_.each(this.optAssWatchList,(e=>{e()}))},addOptAssWatch(){this.hasAddOptAssWatch=!0;let e=_.get(this.fieldConf,"optAssMap"),t=_.get(this.fieldConf,"perm.visible");if(!e||_.isEmpty(e)||!t)return;let n=0;_.map(e,((t,i)=>{i=_.replace(i,"&",".");let a=this.$watch(`row.f_fields.${i}`,(t=>{let n=!0;_.map(e,((e,t)=>{t=_.replace(t,"&",".");let i=_.get(this.row,`f_fields.${t}`);i=_.toString(i),n=n&&_.includes(e,i)})),this.fieldConf.perm.visible=n}),{immediate:0==n});n++,this.optAssWatchList.push(a)}))}}};return _.merge(e,{data(){return{unWatchList:[],valueUnWatch:null,valDependIds:[],selectDependIds:[],remoteDependIds:[],selectFields:null,selectList:[],quoteContent:{},unSelectDependValWatchList:[],optAssWatchList:[],hasAddOptAssWatch:!1,scopeDependIds:[],subFormOldValMap:{},isDelete:!1,displayHidden:!1,differenceRowIndexs:[],topContainerMode:null,nextRely:null,loading:!1,firstFill:!0,hasFillDefault:!1,remoteData:[]}},created(){this.topContainer&&(this.topContainer.$once("beforeDataLoad",(e=>{this.toggleValueWatch(!1),this.clearOptAssWatch()})),this.topContainer.$once("dataLoaded",(e=>{this.getMemory(),this.addOptAssWatch()})),this.topContainer.$once("beforeReloadData",(e=>{this.toggleValueWatch(!1)}))),this.container.isSubForm&&(this.getMemory(),this.addOptAssWatch(),this.$emit("update:isNew",!1)),this.$bpm.$on("beforeFormSubmit",(({mode:e,formData:t,cc:n,_formData:i})=>{let a=this._getFieldPath(!0);console.log("beforeFormSubmit_fieldPath",a);let o=_.get(i,a);console.log("beforeFormSubmit_initVal",o);let r=_.get(this.fieldConf,"check.required",!1);if(console.log("beforeFormSubmit_required",r),console.log("beforeFormSubmit_fieldConf",this.fieldConf),console.log("beforeFormSubmit_value",this.value),(_.isNull(this.value)&&r||"SelectHouseOwner"==this.fieldConf.type&&(!this.value.name||!this.value.phone)&&r)&&(console.log("beforeFormSubmit_value",this.value),console.log("beforeFormSubmit_清掉-1",a),_.unset(t,a)),_.isArray(this.value)&&_.isEmpty(this.value)||_.isNil(this.value)||""==this.value&&0!==this.value){let e=_.get(this.fieldConf,"check.min_length");e=e||_.get(this.fieldConf,"check.min"),e=e||_.get(this.fieldConf,"check.min_count"),console.log("beforeFormSubmit_size",e),e||r||!o||(_.unset(t,a),console.log("beforeFormSubmit_清掉-2",a))}let s=this.container,l=s.isSubForm,d=_.get(this.fieldConf,"optAssMap");if(console.log("beforeFormSubmit_optAssMap",d),d&&!_.isEmpty(d)){let n=!0;_.map(d,((i,o)=>{console.log("beforeFormSubmit_visibleVals",i),console.log("beforeFormSubmit_before_field",o),o=o.replace(/&/g,"."),console.log("beforeFormSubmit_after_field",o);let r=_.split(o,".");console.log("beforeFormSubmit_before_relField",r),r=_.last(r),console.log("beforeFormSubmit_after_relField",r),console.log("beforeFormSubmit_elementMap",this.elementMap);let d=_.get(this.elementMap,`${r}.type`);if(!d)return!1;console.log("beforeFormSubmit_typ",d);let c=!!d&&"Mul"==d.substr(0,3);console.log("beforeFormSubmit_isMul",c);let u=this._getPath(r);console.log("beforeFormSubmit_path",u),u!=r&&l&&(o=(o=`${s.fieldConf.id}&${this.rowIndex}&${r}`).replace(/&/g,".")),console.log("beforeFormSubmit_form_field",this.form),console.log("beforeFormSubmit_form",this.form),console.log("beforeFormSubmit_formData",t);let m=_.get(t,`${o}`)||_.get(this.form,`formData.${o}`);if("MulAudit"==d&&m&&m.length&&(m=[m[0].result]),_.isNil(m)){console.log("rely_val",m),console.log("rely_vbeforeFormSubmit_displayHidden",m);let n=document.getElementById(`${e}_${a}`).style.display;console.log("beforeFormSubmit_displayHidden",n),"none"==n&&(console.log("beforeFormSubmit_清掉-4",a),_.unset(t,a))}else{if(console.log("beforeFormSubmit_field",o),console.log("beforeFormSubmit_formData_rely_val",m),c){let e=!1;_.each(m,(t=>{t=_.toString(t),console.log("beforeFormSubmit_formData_isIncludeInMull",e),_.includes(i,t)&&(e=!0)})),n=e}else{let e=_.toString(m);console.log("beforeFormSubmit_toString_value",e),n=n&&_.includes(i,e)}console.log("beforeFormSubmit_isInclude",n)}})),console.log("beforeFormSubmit_isInclude",n),n||(console.log("beforeFormSubmit_清掉-3",a),_.unset(t,a)),console.log("formData",t)}})),this.$bpm.$on("afterFormSubmit",(({mode:e,errors:t})=>{if(!t&&this.memorable){let t=this.fieldConf.id,n=_.get(this.fieldConf,"value_type");this.$bpm.setMemory(e,`${t}.${n}`,this.value)}})),this.$bpm.$on("handeInitRely",(async({id:e,rowIndex:t,oid:n,lastField:i})=>{e!=this.fieldConf.id||this.container.isSubForm&&(_.isNil(t)||!this.container.isSubForm||t!=this.rowIndex)||(this.topContainer.isCache?this.openRelyInitLoadOnCache(n,i):this.openInitRelyLoad(n,i))})),this.$bpm.$on("initRelyComplete",(async(e,t)=>{e===this.container&&(console.log("触发initRelyComplete"),this.hasFillDefault||await this.fillDefaultValue(),this.valueUnWatch||await this.toggleValueWatch(!0),this.addOptAssWatch(),t&&this.$emit("valueChanged"),this.$bpm.setRelyLoading(!1))})),this.$bpm.$on("handeRelyById",(({id:e,rowIndex:t,oid:n,lastField:i})=>{e!=this.fieldConf.id||this.container.isSubForm&&(_.isNil(t)||!this.container.isSubForm||t!=this.rowIndex)||(console.log("触发handeRelyById",e,n),this.opeRelyById(n,i))}))},provide(){return{getSelectFields:()=>this.selectFields,selectOptions:()=>this.selectList}},destroyed(){this.toggleValueWatch(!1),this.container.isQuote||(this.$bpm.$off("dataLoaded"),this.$bpm.$off("beforeFormSubmit"),this.$bpm.$off("handeInitRely"),this.$bpm.$off("initRelyComplete"),this.$bpm.$off("handeRelyById"))},watch:{"$store.getters.bpmLinkageBridge"(e){if(_.includes(e.to,this.fieldConf.id)&&(console.log("$store.getters.bpmLinkageBridge",e),e.calc_function&&this.form&&this.form.formData)){console.log("bridge_link_complete_flag",this.link_complete_flag);let t=setInterval((()=>{0==this.$bpm.networking&&0==this.$bpm.relyLoading&&console.log("bri_this.value",this.value);let n=_.cloneDeep(this.value);this.value=e.calc_function(this.form.formData,this),this.curVal=this.value,this.$emit("input",this.value),this.$emit("change",this.value),this.checkRely(this.value,n),clearInterval(t)}),300)}}},computed:{form(){return this.topContainer},isSubForm(){return-1!==this.fieldConf.type.indexOf("SubForm")},readonly(){return!_.get(this.fieldConf,"perm.editable",!1)},disWritable(){return!_.get(this.fieldConf,"perm.editable",!1)&&!_.get(this.fieldConf,"perm.writable",!1)},memorable(){return _.get(this.fieldConf,"perm.memorable",!1)},isDetailMode(){return"detail"==this.form.mode},isDeleteMode(){return"delete"==this.form.mode},elements(){return _.get(this.form,"formSchema.elements",[])},elementMap(){let e={},t=this.elements;return _.each(t,(t=>{_.set(e,t.id,t),_.each(t.elements||[],(n=>{_.set(e,t.id,t)}))})),e},description(){return _.get(this.fieldConf,"desc","")},hideName(){return _.get(this.fieldConf,"display.hide_name",!1)},visualAttrs(){let e=this._getFieldPath(!0).join("."),t=this.form.formErrors,n=!!t&&t[e],i=this.fieldConf,a=[],o=_.get(i,"perm.visible",!1);_.get(i,"check.required",!1)&&!this.isDetailMode&&a.push("q-field-required"),o&&!this.displayHidden||a.push("q-field-hidden"),this.readonly&&a.push("readonly");let r=_.get(this.fieldConf,"display.hide_name",!1),s=_.get(this.fieldConf,"display.is_tip",!1);r&&a.push("hide-name"),s&&a.push("tip-field"),n&&this.scrollToElement();let l=this.$bpm.isVerticalTypography,d=_.includes(["MulImage","SubForm","XSubForm","MulFile","Spliter","Signature"],i.type);return l=l&&!_.includes(["SubForm","XSubForm","Spliter"],i.type),l&&a.push("col-4"),"SelectHouseOwner"==i.type&&a.push("select-house-owner"),{filled:!0,hideHint:!0,disable:!_.get(i,"perm.editable",!0),error:!!n,errorLabel:_.get(n,"message",""),class:a,orientation:d||l?"vertical":"horizontal"}},isRelyId(){return _.includes(this.topContainer.relyIds,this.fieldConf.id)},isVerticalTypography(){return this.$bpm.isVerticalTypography}},mounted(){this.description&&this.insertDesc()},methods:{handleSetAllvalue(e){this.allVal=e},handleSetDefaultValue(e){this.defaultVal=e},getMemory(){if(!this.memorable||this.value)return;let e=this.fieldConf.id,t=_.get(this.fieldConf,"value_type");this.topContainerMode=this.topContainer.mode,this.$bpm.checkMemory(this.topContainerMode,(n=>{let i=_.get(n,`f_fields.${e}.${t}`);this.value=i,this.setLocalCache(this.value)}),(()=>{}))},scrollToElement(){},async openRelyInitLoadOnCache(e,t){await this.loadSelectByDepends(),await this.loadRemoteByDepends(!0),this.$emit("valueChanged"),t==this.fieldConf.id&&(this.container.relyLoading=!1),this.loading=!1,this.container.handleNextRely&&await this.container.handleNextRely(this.rowIndex,e,t)},async openInitRelyLoad(e,t){await this.loadSelectByDepends(),await this.loadRemoteByDepends(!0),await this.loadRemoteByFieldMap(e),t==this.fieldConf.id&&(this.container.relyLoading=!1),this.$emit("valueChanged"),this.loading=!1,this.container.handleNextRely&&await this.container.handleNextRely(this.rowIndex,e,t)},async opeRelyById(e,t){await this.fillDefaultValue(),await this.loadSelectByDepends(),await this.loadRemoteByDepends(),await this.loadRemoteByFieldMap(e),t==this.fieldConf.id&&(this.container.relyLoading=!1),this.loading=!1,this.container.handleNextRelyById&&await this.container.handleNextRelyById(this.rowIndex,e,t)},async getBreakResult(e){let t=this.$bpm.breakRelyMap,n=_.get(t,e);return _.includes(n,this.fieldConf.id)},async fillDefaultValue(){if(this.isDetailMode)return!1;if(!_.get(this.fieldConf,"perm.writable"))return!1;let e=this.topContainer.resetFields;if(console.log("重设字段",e),_.includes(e,this.fieldConf.id))return this.value=null,this.setLocalCache(this.value),this.loading=!1,void(this.hasFillDefault=!0);if(_.isNil(this.value)){console.log(this.fieldConf.id+"没有值,拉取默认值curVal",this.curVal),console.log(this.fieldConf.id+"没有值,拉取默认值",this.value);let e=await this.getConfDefaultValue();_.isNil(e)||(this.value=e,this.curVal=this.value,this.$emit("input",this.value),this.$emit("change",this.value),this.setLocalCache(this.value))}this.loading=!1,this.hasFillDefault=!0},async getConfDefaultValue(){if(this.defaultVal)return this.defaultVal;let e=_.get(this.fieldConf,"default.value.type");if("EVCConfig"==e)return _.get(this.fieldConf,"default.value.value");if("EVCExpression"==e)return this.defaultVal=await this.$bpm.loadValDefault({fieldId:this.fieldConf.id,params:{},cusFormName:this.container.cusFormId,container:this.container}),this.loadedDefault=!0,this.defaultVal;if("EVCGobalVar"==e){let e=_.get(this.fieldConf,"default.value.value")||this.fieldConf.id;if(this.$bpm&&this.$bpm.GLOBAL_VAR&&this.$bpm.GLOBAL_VAR[e])return this.$bpm.GLOBAL_VAR[e]}return"EVCAllElem"==e?this.allVal:void 0},isPromise(e){return!!e&&"function"==typeof e.then},toggleValueWatch(e=!0){if(console.log("toggleValueWatch"),this.valueUnWatch&&(this.valueUnWatch(),this.valueUnWatch=!1),e){let e=JSON.stringify(this.value);this.valueUnWatch=this.$watch("value",(async(t,n)=>{if(console.log("第一层 formField: ",t,n),this.isSubForm||"Area"==this.fieldConf.type||"MulArea"==this.fieldConf.type){let i=JSON.stringify(t);if(e==i)return this.container.handleNextRely&&await this.container.handleNextRely(this.rowIndex),void this.checkRely(t,n)}else if(n==t)return void(this.container.handleNextRely&&await this.container.handleNextRely(this.rowIndex));e=JSON.stringify(t),this.checkRely(t,n)}),{immediate:!!this.fieldConf.linkage_trigger_immediate,deep:!0})}},handleChange(e,t){console.log("bpmFormFieldChange: ",e,t),this.$emit("input",e),this.$emit("change",e)},async checkRely(e,t){if(this.$emit("valueChanged"),this.$bpm.setRelyLoading(!0),console.log("checkRely",e),"select_reviewed_person_signature"==this.fieldConf.id&&this.$store.commit("setBpmLinkageBridge",{form:this.fieldConf.id,to:["show_review_sign"],calc_function:(e,t)=>{let n=2;return n=e.select_reviewed_person_signature==zj.app.accessInfo.user_info.user_id?1:2,n}}),console.log("checkRely_this.fieldConf.id",this.fieldConf.id),"work_force"!=this.fieldConf.id&&"equipment"!=this.fieldConf.id||(console.log("checkRely_value",e),this.$store.commit("setBpmLinkageBridge",{form:this.fieldConf.id,to:["summary_workforce","summary_equipment"],calc_function:(e,t)=>{if(console.log("calc_function_fieldConf",t.fieldConf),"summary_workforce"==t.fieldConf.id){let t=_.cloneDeep(e.work_force);_.cloneDeep(e.summary_workforce),console.log("_________________________test______________________"),t=_.groupBy(t,"workforce_trade"),console.log("checkRely_data",t),console.log("form_data",e);let n=[];return _.each(t,((e,t)=>{let i=!1,o={summary_trade:t,_meta:{is_deleted:!1,id:(0,a.uR)()}};_.each(e,(e=>{e._meta&&1==e._meta.is_deleted||(i=!0,o.summary_code=e.workforce_code,o.summary_type=e.type,o.summary_little_id=e.little_id,o.summary_labour_no?o.summary_labour_no=o.summary_labour_no+parseInt(e.labour_no):o.summary_labour_no=parseInt(e.labour_no))})),i&&n.push(o)})),console.log("checkRely__return_data",n),n}if("summary_equipment"==t.fieldConf.id){let t=_.cloneDeep(e.equipment),n=_.cloneDeep(e.summary_equipment);t=_.groupBy(t,"plant_type");let i=[];return _.each(t,((e,t)=>{let o=!1,r=(_.find(n,{summary_plant_type:t}),{summary_plant_type:t,_meta:{is_deleted:!1,id:(0,a.uR)()}});_.each(e,(e=>{e._meta&&1==e._meta.is_deleted||(o=!0,r.summary_plant_no?r.summary_plant_no=r.summary_plant_no+parseInt(e.plant_no):r.summary_plant_no=parseInt(e.plant_no),r.summary_work_plant_no?r.summary_work_plant_no=r.summary_work_plant_no+parseInt(e.work_plant_no):r.summary_work_plant_no=parseInt(e.work_plant_no),r.summary_idling_plant_no?r.summary_idling_plant_no=r.summary_idling_plant_no+parseInt(e.idling_plant_no):r.summary_idling_plant_no=parseInt(e.idling_plant_no))})),o&&i.push(r)})),console.log("checkRely__return_data",i),i}}})),this.setLocalCache(e),(!this.container.isSubForm||this.container.isSubForm&&(!_.isUndefined(t)||!_.isUndefined(e)))&&this.container&&this.container.handleRelyById){await this.loadRemoteByFieldMap();let e=_.get(this.fieldConf,"mappings");e=_.keys(e),await this.container.handleRelyById(this.fieldConf.id,this.rowIndex,e)}this.firstFill=!1},setLocalCache(e){let t=this.fieldConf.id,n=this.container.mode,i=_.get(this.fieldConf,"value_type");this.$bpm.setLocalCache(n,`${t}.${i}`,e)},loadSelectListPre(e){this.$refs.fieldComp&&this.$refs.fieldComp.preSearch&&this.$refs.fieldComp.preSearch(e)},loadSelectByDepends(){this.readonly||(this.selectDependIds=_.get(this.fieldConf,"range_remote.depends",[]),this.loadSelectLinkage({fieldId:this.fieldConf.id},(e=>{if("Quote"==this.fieldConf.type)return this.value=_.map(e.data,"form_id"),this.quoteContent=e,void(this.loading=!1);this.selectList=e,this.loading=!1})))},async loadRemoteByDepends(e){if("OrderSubForm"==this.fieldConf.type&&(this.remoteDependIds=_.get(this.fieldConf,"remote.depends",[]),this.remoteDependIds.length||e)){let t=this.remoteDependIds,n=this.getDependData(t);if(_.map(n,((e,t)=>{_.isUndefined(e)&&_.unset(n,t)})),_.isEmpty(n)&&!e)return void(this.loading=!1);let i={fields:n,include_sup:!0},a=this.fieldConf.id,o=await this.$bpm.loadSelectRemoteForm({fieldId:a,params:i,cusFormName:this.container.cusFormId||_.get(this.container,"form.cusFormId"),container:this.container});this.remoteData=o,this.loading=!1}},_getPath(e){let t=this.elements,n=e;return _.each(t,(t=>{_.each(t.elements||[],(i=>{i.id==e&&(n=t.id)}))})),n},getDependData(e){let t=this.topContainer.formData,n={};return _.each(e,(e=>{let i=this._getPath(e),a=_.get(t,i);if(e!=i){let t=[];_.each(a,((n,i)=>{let a={},o=_.get(n,e);(o||0===o)&&_.set(a,e,o),_.hasIn(n,"_meta")&&_.set(a,"_meta",n._meta),t.push(a)})),n[i]&&(t=_.merge(n[i],t)),a=t}_.isArray(a)&&_.each(a,(e=>{_.unset(e,"isNew")})),i&&_.set(n,i,a)})),n},loadSelectDepends(){let e=_.get(this.fieldConf,"range_remote.depends",[]),t=this.getDependData(e);_.isEmpty(t)||(this.selectFields=JSON.stringify(t))},async loadSelectLinkage({fieldId:e,mergeParams:t,dependVal:n,isForceLoad:i},a){let o=_.get(this.fieldConf,"range_remote.depends",[]),r=this.getDependData(o);if(_.isEmpty(r))return;this.selectFields=JSON.stringify(r);let s={fields:JSON.stringify(r)};this.container.isSubForm&&_.set(s,"idx",this.rowIndex);let l=this.fieldConf.type;"OnlineEditor"==l&&(s={spec:JSON.stringify(r)}),t&&(s=_.merge(s,t));let d=null;return d=_.includes(["MulSelectCheckItem","SelectRootCategory","SelectCheckItem","SelectSort","MulSelectSort"],l)?await this.$bpm.loadSelectLinkageResult({fieldId:e,params:s,cusFormName:this.container.cusFormId||_.get(this.container,"form.cusFormId"),filed:this.fieldSelf,container:this.container}):await this.$bpm.searchSelectOpts(e,"",this.container.cusFormId||_.get(this.container,"form.cusFormId"),this.fieldSelf,!1,s,!1),a&&a(d),d},addOptAssWatch(){if(this.hasAddOptAssWatch)return;let e=_.get(this.fieldConf,"optAssMap"),t=_.get(this.fieldConf,"perm.visible");if(!e||_.isEmpty(e)||!t)return;let n=this.container,i=n.isSubForm;_.map(e,((t,a)=>{a=a.replace(/&/g,".");let o=_.split(a,".");o=_.last(o);let r=this._getPath(o),s="";if(a.indexOf(!0)){let e=_.split(a,"."),t=_.first(e);s=_.get(this.elementMap,`${t}.type`)}else s=_.get(this.elementMap,`${o}.type`);let l=!!s&&"Mul"==s.substr(0,3);if(console.log("addOptAssWatch_fieldConf",this.fieldConf),console.log("addOptAssWatch_field",a),console.log("addOptAssWatch_relField",o),console.log("addOptAssWatch_path",r),console.log("addOptAssWatch_elementMap",this.elementMap),console.log("addOptAssWatch_typ",s),console.log("addOptAssWatch_isMul",l),!s)return;let d=this.$watch(i?`form.formData.${n.fieldConf.id}`:`form.formData.${a}`,(()=>{console.log("BpmFormField watch ",i,n.fieldConf,a);let t=!0;_.map(e,((e,a)=>{r!=o&&i&&(a=`${n.fieldConf.id}&${this.rowIndex}&${o}`),a=a.replace(/&/g,".");let d=_.get(this.form,`formData.${a}`);if(console.log("addOptAssWatch_visibleVals",e),console.log("addOptAssWatch_this.form",this.form),console.log("addOptAssWatch_val",d),l){let n=!1;if("MulAudit"==s){let t=!0,i=_.get(this.elementMap,`${o}`);if(!i)return!1;if(console.log("addOptAssWatch_audit_field",i),"all"==i.audit_typ||"one_by_one"==i.audit_typ){t=!0;let n=_.get(this.form,`formData.${i.depend}`);console.log("addOptAssWatch_select_user",n),d&&_.isArray(d)&&d.length?(n&&n.length!=d.length&&(t=!1),_.each(d,(n=>{_.includes(e,n.result+"")||(t=!1)}))):t=!1}else t=!1,d&&_.isArray(d)&&d.length?_.each(d,(n=>{_.includes(e,n.result+"")&&(t=!0)})):t=!1;console.log("addOptAssWatch_result_flag",t),n=t}else _.each(d,(t=>{t=_.toString(t),_.includes(e,t)&&(n=!0)}));t=t&&n}else d=_.toString(d),t=t&&_.includes(e,d)})),i?this.displayHidden=!t:this.fieldConf.perm.visible=t,this.isDelete=!t,console.log("addOptAssWatch_visible",t),console.log("BpmFormField watch: visible",t)}),{immediate:!0,deep:!!i});this.optAssWatchList.push(d)})),this.hasAddOptAssWatch=!0},clearOptAssWatch(){this.hasAddOptAssWatch=!1,_.each(this.optAssWatchList,(e=>{e()}))},insertDesc(){this.$refs.field},async loadRemoteByFieldMap(e){let t=_.get(this.fieldConf,"mappings");if("SelectFromForm"!=this.fieldConf.type||!t||_.isEmpty(t))return;console.log("mappings",t);let n=await this.getRemoteByFieldMap();if(!n){let e={};_.each(t,(t=>{e[t.local_field_id]=null})),console.log("_mappingsResult",e),n=e}this.container&&this.container.changeValueByMapping&&this.container.changeValueByMapping(e,n)},async getRemoteByFieldMap(){let e=_.get(this.fieldConf,"mappings");if("SelectFromForm"!=this.fieldConf.type||!e||_.isEmpty(e)||!this.value)return;let t=_.get(this.fieldConf,"id");return(await this.$bpm.loadRmoteFieldMap({fieldId:t,params:{form_id:this.value},cusFormName:this.container.cusFormId||_.get(this.container,"form.cusFormId"),container:this.container})).data}}}),e}()]},l=(0,n(4486).A)(s,i,[],!1,null,null,null);l.options.__file="components/lib/bpmFormField/src/main.vue";var d=l.exports;d.install=function(e){e.component(d.name,d)};var c=d},4413:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return P}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-select-house-owner",attrs:{fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType,orgInfo:e.orgInfo,formName:e.formName,isMultiple:e.isMultiple},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"house-owner"},[n("el-autocomplete",{attrs:{"fetch-suggestions":e.querySearch,placeholder:e.placeholder},on:{select:e.handleSelect},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.item;return[n("div",{staticClass:"name"},[e._v(e._s(i.value))]),e._v(" "),n("span",{staticClass:"addr"},[e._v(e._s(i.phone))])]}}]),model:{value:e.curVal.name,callback:function(t){e.$set(e.curVal,"name",t)},expression:"curVal.name"}}),e._v(" "),n("el-input",{staticClass:"bpm-default-input owner-phone",staticStyle:{"margin-top":"10px","user-select":"text"},attrs:{placeholder:e.$z("请输入业主电话","b2.common.select_owner_number")},model:{value:e.curVal.phone,callback:function(t){e.$set(e.curVal,"phone",t)},expression:"curVal.phone"}})],1)};a._withStripped=!0;var o=n(5554),r=n.n(o),s=n(6773),l=n.n(s),d=n(7642);r().use(d.Autocomplete);var c={props:["value","fieldConf","row","formName","orgInfo","isMultiple","selectList"],data(){return{placeholder:zj.z("请选择或输入业主名称","b2.common.select_owner"),curVal:{id:"",name:"",phone:""},restaurants:[],firstListVal:""}},watch:{value:{handler(e){console.log("val",e),this.curVal=e||{id:null,name:"",phone:""}},deep:!0},selectList(e){"EVCFirstElem"==l().get(this.fieldConf,"default.value.type")&&(!this.curVal||this.curVal&&!this.curVal.name)&&(this.curVal=l().get(e,"0",null)),this.firstListVal=l().get(e,"0",null)},curVal(e){console.log("curVal_val",e),this.$emit("input",this.curVal),this.$emit("change",this.curVal)},getSelectOptions:function(e){console.log("----selectHouseOwnerOptions----",e),this.setDefaultVal(e)}},computed:{getSelectOptions(){return this.selectOptions?this.selectOptions():[]}},inject:["selectOptions"],methods:{querySearch(e,t){var n=[];l().each(this.getSelectOptions,(e=>{n.push({value:e.name,phone:e.phone,id:e.id})})),t(e?n.filter(this.createFilter(e)):n)},createFilter(e){return t=>0===t.value.toLowerCase().indexOf(e.toLowerCase())},handleSelect(e){let t=l().cloneDeep(e);t.name=t.value,delete t.value,console.log("select",t),this.$emit("input",t),this.$emit("change",t),this.curVal=t},setDefaultVal(e){this.fieldConf.default&&"EVCFirstElem"==this.fieldConf.default.value.type&&(this.curVal.id?(this.curVal=l().get(e,"0",null),this.firstListVal=l().get(e,"0",null)):l().find(e,{id:this.curVal.id})||(this.curVal=l().get(e,"0",null),this.firstListVal=l().get(e,"0",null)))}}},u=c,m=n(4486),f=(0,m.A)(u,a,[],!1,null,null,null);f.options.__file="components/lib/bpmSelectHouseOwner/src/part/editor.vue";var h=f.exports,p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.value?n("div",{staticClass:"qs-content"},[n("div",[e._v(e._s(e.value.name)+" "),n("el-tag",{attrs:{type:"info",size:"small"}},[e._v(e._s(e.value.phone))])],1)]):n("span",{staticClass:"qs-content",attrs:{title:e.value}},[e._v(e._s("--"))])])};p._withStripped=!0;var _=(0,m.A)({props:["type","value","fieldConf","row"]},p,[],!1,null,null,null);_.options.__file="components/lib/bpmSelectHouseOwner/src/part/reader.vue";var g=_.exports,y={name:"bpmSelectHouseOwner",components:{editorComponent:h,readerComponent:g},props:{value:{type:[String,Array]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},orgInfo:{type:Object},formName:{type:String},isMultiple:{type:Boolean,default(){return!1}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?g:h}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},b=n(5072),v=n.n(b),w=n(7825),M=n.n(w),k=n(7659),L=n.n(k),S=n(5056),x=n.n(S),D=n(540),C=n.n(D),T=n(1113),Y=n.n(T),$=n(5129),j={};j.styleTagTransform=Y(),j.setAttributes=x(),j.insert=L().bind(null,"head"),j.domAPI=M(),j.insertStyleElement=C(),v()($.A,j),$.A&&$.A.locals&&$.A.locals;var O=(0,m.A)(y,i,[],!1,null,null,null);O.options.__file="components/lib/bpmSelectHouseOwner/src/main.vue";var I=O.exports;I.install=function(e){e.component(I.name,I)};var P=I},4417:function(e){"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},4418:function(e,t,n){!function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),i=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function a(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function o(e,t,n){var i=e+" ";switch(n){case"ss":return i+(a(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return i+(a(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return i+(a(e)?"godziny":"godzin");case"ww":return i+(a(e)?"tygodnie":"tygodni");case"MM":return i+(a(e)?"miesiące":"miesięcy");case"yy":return i+(a(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,i){return e?/D MMMM/.test(i)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:o,m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:o,M:"miesiąc",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},4419:function(e){"use strict";e.exports=a},4426:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(4227),a={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:n}){void 0===t.if&&(0,i.checkStrictMode)(n,`"${e}" without "if" is ignored`)}};t.default=a},4429:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"mm":return i+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return"jedan sat";case"hh":return i+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return i+(1===e?"dan":"dana");case"MM":return i+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return i+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:function(e,t,n,i){if("m"===n)return t?"jedna minuta":i?"jednu minutu":"jedne minute"},mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5093))},4451:function(e,t,n){!function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(n(5093))},4457:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=" ";return(e%100>=20||e>=100&&e%100==0)&&(i=" de "),e+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(5093))},4486:function(e,t,n){"use strict";function i(e,t,n,i,a,o,r,s){var l,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),i&&(d.functional=!0),o&&(d._scopeId="data-v-"+o),r?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},d._ssrRegister=l):a&&(l=s?function(){a.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(e,t){return l.call(t),c(e,t)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,l):[l]}return{exports:e,options:d}}n.d(t,{A:function(){return i}})},4495:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const i=n(9029),a=n(4227);t.getSubschema=function(e,{keyword:t,schemaProp:n,schema:o,schemaPath:r,errSchemaPath:s,topSchemaRef:l}){if(void 0!==t&&void 0!==o)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const o=e.schema[t];return void 0===n?{schema:o,schemaPath:i._`${e.schemaPath}${(0,i.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:o[n],schemaPath:i._`${e.schemaPath}${(0,i.getProperty)(t)}${(0,i.getProperty)(n)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,a.escapeFragment)(n)}`}}if(void 0!==o){if(void 0===r||void 0===s||void 0===l)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:o,schemaPath:r,topSchemaRef:l,errSchemaPath:s}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:n,dataPropType:o,data:r,dataTypes:s,propertyName:l}){if(void 0!==r&&void 0!==n)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:d}=t;if(void 0!==n){const{errorPath:r,dataPathArr:s,opts:l}=t;c(d.let("data",i._`${t.data}${(0,i.getProperty)(n)}`,!0)),e.errorPath=i.str`${r}${(0,a.getErrorPath)(n,o,l.jsPropertySyntax)}`,e.parentDataProperty=i._`${n}`,e.dataPathArr=[...s,e.parentDataProperty]}function c(n){e.data=n,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,n]}void 0!==r&&(c(r instanceof i.Name?r:d.let("data",r,!0)),void 0!==l&&(e.propertyName=l)),s&&(e.dataTypes=s)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:n,compositeRule:i,createErrors:a,allErrors:o}){void 0!==i&&(e.compositeRule=i),void 0!==a&&(e.createErrors=a),void 0!==o&&(e.allErrors=o),e.jtdDiscriminator=t,e.jtdMetadata=n}},4496:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(5093))},4551:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(6939);class a extends Error{constructor(e,t,n,a){super(a||`can't resolve reference ${n} from id ${t}`),this.missingRef=(0,i.resolveUrl)(e,t,n),this.missingSchema=(0,i.normalizeId)((0,i.getFullPath)(e,this.missingRef))}}t.default=a},4566:function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},4691:function(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){return 6===this.day()?"[το προηγούμενο] dddd [{}] LT":"[την προηγούμενη] dddd [{}] LT"},sameElse:"L"},calendar:function(e,t){var n,i=this._calendarEl[e],a=t&&t.hours();return n=i,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(t)),i.replace("{}",a%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(5093))},4692:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)("input",e._g(e._b({ref:"input"},"input",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a,o=(a=n(4811)).default||a,r=(0,n(4486).A)(o,i,[],!1,null,null,null);r.options.__file="node_modules/vue2-google-maps/dist/components/autocomplete.vue";var s=r.exports},4697:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},4709:function(e){"use strict";e.exports=i},4737:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9029),a={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>i.str`must match format "${e}"`,params:({schemaCode:e})=>i._`{format: ${e}}`},code(e,t){const{gen:n,data:a,$data:o,schema:r,schemaCode:s,it:l}=e,{opts:d,errSchemaPath:c,schemaEnv:u,self:m}=l;d.validateFormats&&(o?function(){const o=n.scopeValue("formats",{ref:m.formats,code:d.code.formats}),r=n.const("fDef",i._`${o}[${s}]`),l=n.let("fType"),c=n.let("format");n.if(i._`typeof ${r} == "object" && !(${r} instanceof RegExp)`,(()=>n.assign(l,i._`${r}.type || "string"`).assign(c,i._`${r}.validate`)),(()=>n.assign(l,i._`"string"`).assign(c,r))),e.fail$data((0,i.or)(!1===d.strictSchema?i.nil:i._`${s} && !${c}`,function(){const e=u.$async?i._`(${r}.async ? await ${c}(${a}) : ${c}(${a}))`:i._`${c}(${a})`,n=i._`(typeof ${c} == "function" ? ${e} : ${c}.test(${a}))`;return i._`${c} && ${c} !== true && ${l} === ${t} && !${n}`}()))}():function(){const o=m.formats[r];if(!o)return void function(){if(!1!==d.strictSchema)throw new Error(e());function e(){return`unknown format "${r}" ignored in schema at path "${c}"`}m.logger.warn(e())}();if(!0===o)return;const[s,l,f]=function(e){const t=e instanceof RegExp?(0,i.regexpCode)(e):d.code.formats?i._`${d.code.formats}${(0,i.getProperty)(r)}`:void 0,a=n.scopeValue("formats",{key:r,ref:e,code:t});return"object"!=typeof e||e instanceof RegExp?["string",e,a]:[e.type||"string",e.validate,i._`${a}.validate`]}(o);s===t&&e.pass(function(){if("object"==typeof o&&!(o instanceof RegExp)&&o.async){if(!u.$async)throw new Error("async format in sync schema");return i._`await ${f}(${a})`}return"function"==typeof l?i._`${f}(${a})`:i._`${f}.test(${a})`}())}())}};t.default=a},4739:function(e,t,n){"use strict";e.exports=n.p+"e5c0c62d732823225aaa.eot?v=4.7.0"},4789:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return G}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-audit",attrs:{fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType,container:e.container},on:{change:e.onChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"audit-editor"},[n("div",[n("div",{on:{click:function(t){e.opened=!0}}},[n("span",{staticClass:"aduit-result-title",style:{background:e.resultColor||"none",color:e.resultColor?"#fff":"#333",cursor:"pointer"}},[e._v(e._s(e.getViewFont)+" "),n("i",{staticClass:"el-icon-arrow-right",staticStyle:{"font-size":"14px"}})])])]),e._v(" "),n("el-dialog",{staticClass:"audit-dialog",attrs:{visible:e.opened,modal:!1,"append-to-body":!0,title:e.fieldConf.name},on:{"update:visible":function(t){e.opened=t},close:e.onHide,open:e.onOpen}},[n("div",[n("el-form",{ref:"form",staticClass:"audit-dialog-content",attrs:{model:e.curVal,"label-width":"120px"}},[n("el-form-item",{attrs:{label:e.$z("审批结果:","b2.common.approval_results")}},[n("span",{staticClass:"aduit-result-title",style:{background:e.resultColor,color:e.resultColor?"#fff":"#333"}},[e._v(e._s(e.getViewFont))])]),e._v(" "),e.curVal&&e.curVal.reject_target?n("el-form-item",{attrs:{label:e.$z("回退节点:","b2.common.fallback_node")}},[e._v("\n "+e._s(e.curVal.reject_target.name||e.$z("上一个节点","b2.common.previous_node"))+"\n ")]):e._e(),e._v(" "),e.showSignature?n("el-form-item",{attrs:{label:e.$z("签名:","b2.common.sign"),required:e.isSignatureMust}},[n("bpm-mul-image",{attrs:{fieldConf:{type:"Signature"},mode:"edit"},model:{value:e.curVal.signature,callback:function(t){e.$set(e.curVal,"signature",t)},expression:"curVal.signature"}})],1):e._e(),e._v(" "),e.showJudgment?n("el-form-item",{attrs:{label:e.$z("填写意见:","b2.common.fill_comment"),required:e.isJudgmentMust}},[n("el-input",{attrs:{type:"textarea",placeholder:e.$z("请输入评审意见","b2.common.en_comment")},model:{value:e.curVal.judgment,callback:function(t){e.$set(e.curVal,"judgment",t)},expression:"curVal.judgment"}})],1):e._e(),e._v(" "),e.showPhoto?n("el-form-item",{attrs:{label:e.$z("拍照:","b2.common.photograph"),required:e.isPhotoMust}},[n("bpm-mul-image",{attrs:{fieldConf:{type:"MulImage"},mode:"edit"},model:{value:e.curVal.photos,callback:function(t){e.$set(e.curVal,"photos",t)},expression:"curVal.photos"}})],1):e._e(),e._v(" "),n("el-form-item",{attrs:{label:e.$z("审批日期:","b2.common.audit_date")}},[n("el-date-picker",{ref:"dateSelect",attrs:{type:"datetime",placeholder:e.$z("选择日期时间","c.select_date_time"),format:e.auditFormat},model:{value:e.curVal.audit_at,callback:function(t){e.$set(e.curVal,"audit_at",t)},expression:"curVal.audit_at"}})],1),e._v(" "),e.curVal.auditor_name?n("el-form-item",{attrs:{label:e.$z("审批人","b2.common.approver")}},[n("el-input-number",{attrs:{min:1,step:1,controls:!1,"controls-position":"both",placeholder:e.$z("审批人","b2.common.approver")+" ID"},model:{value:e.curVal.auditor,callback:function(t){e.$set(e.curVal,"auditor",t)},expression:"curVal.auditor"}}),e._v(" "),n("el-input",{staticStyle:{"margin-top":"10px"},attrs:{placeholder:e.$z("审批人","b2.common.approver")+" "+e.$z("用户名","c.user_name")},model:{value:e.curVal.auditor_name,callback:function(t){e.$set(e.curVal,"auditor_name",t)},expression:"curVal.auditor_name"}})],1):e._e()],1)],1),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.opened=!1}}},[e._v(e._s(e.$z("取消","c.cancel")))]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v(e._s(e.$z("确定","c.confirm")))])],1)])],1)};a._withStripped=!0;var o=n(6773),r=n.n(o),s=n(5554),l=n.n(s),d=n(7642),c=n(2554);l().use(d.Dialog),l().use(d.DatePicker),l().use(c.default);var u={data(){return{curVal:{result:1,judgment:"",photos:[],reject_target:"",signature:"",auditor_name:"",audit_at:"",auditor:""},isOpenAudit:!1,opened:!1,dispMode:"nolink",auditFormat:"yyyy-MM-dd HH:mm:ss",userList:[]}},props:["type","value","fieldConf","row","dm","container"],computed:{useDetail(){return!!r().get(this.fieldConf,"detail_allow",null)&&!!r().get(this.fieldConf,"detail_deny",null)},resultColor(){let e=r().get(this.curVal,"result",-1),t=1==e?this.allowColor:-1==e?null:this.denyColor;return this.useDetail?t:null},allowColor(){let e=r().get(this.fieldConf,"detail_allow.color","#fff");return"#fff"==e||"#ffffff"==e?null:e},getViewFont(){let e=r().get(this.value,"result",-1),t=1==e?"通过":-1==e?"未审批":"不通过";return this.useDetail&&(t=1==e?r().get(this.fieldConf,"detail_allow.text","通过"):-1==e?"未审批":r().get(this.fieldConf,"detail_deny.text","不通过")),t},judgment(){let e=r().get(this.value,"result",-1),t=r().get(this.fieldConf,"judgment");return this.useDetail&&(t=1==e?r().get(this.fieldConf,"detail_allow.judgment"):r().get(this.fieldConf,"detail_deny.judgment")),t},showJudgment(){return"yes"==this.judgment||"must"==this.judgment},denyColor(){let e=r().get(this.fieldConf,"detail_deny.color","#fff");return"#fff"==e||"#ffffff"==e?null:e},signature(){let e=r().get(this.value,"result",-1),t=r().get(this.fieldConf,"signature");return this.useDetail&&(t=1==e?r().get(this.fieldConf,"detail_allow.signature"):r().get(this.fieldConf,"detail_deny.signature")),t},showSignature(){return"yes"==this.signature||"must"==this.signature},photo(){let e=r().get(this.value,"result",-1),t=r().get(this.fieldConf,"photo");return this.useDetail&&(t=1==e?r().get(this.fieldConf,"detail_allow.photo"):r().get(this.fieldConf,"detail_deny.photo")),t},showPhoto(){return"yes"==this.photo||"must"==this.photo},isJudgmentMust(){return"must"==this.judgment},isSignatureMust(){return"must"==this.signature},isPhotoMust(){return"must"==this.photo},isRequired(){return r().get(this.fieldConf,"check.required")},getCanvasBoxStyle(){return{height:"150px",width:"100%"}}},created(){this.loadProjBaseInfo()},mounted(){if(this.value){let e=r().cloneDeep(this.value);e.audit_at=1e3*e.audit_at,this.curVal=r().merge(this.curVal,e)}this.useDetail&&(this.selectOptions=[{label:r().get(this.fieldConf,"detail_allow.text","通过"),value:1},{label:r().get(this.fieldConf,"detail_deny.text","不通过"),value:2}])},methods:{onHide(){this.opened=!1,this.showForm=!1},onOpen(){if(this.value){let e=r().cloneDeep(this.value);e.audit_at=1e3*e.audit_at,this.curVal=r().merge(this.curVal,e)}},async onSubmit(){let e=this.curVal;if(this.isRequired&&!e.result)return void this.$q.notify({message:"请选择审批结果",position:"top",type:"warning"});if(this.isSignatureMust&&!e.signature)return void this.$q.notify({message:"请完成签名",position:"top",type:"warning"});if(this.isJudgmentMust&&!e.judgment)return void this.$q.notify({message:"请填写意见",position:"top",type:"warning"});if(this.isPhotoMust&&r().isEmpty(e.photos))return void this.$q.notify({message:"请至少上传一张图片",position:"top",type:"warning"});let t={result:e.result,signature:e.signature,judgment:e.judgment,photos:e.photos,audit_at:e.audit_at/1e3,auditor:e.auditor,auditor_name:e.auditor_name};this.$emit("change",t),this.$emit("input",t),this.opened=!1},getRejectTarget(e){return"last_id"==e?{type:"RejectToLastUserNode"}:e},async loadProjBaseInfo(){let e=1==(await this.$bpm.getBaseSetting("open_audit")).value;this.isOpenAudit=e;let t=await this.$bpm.getBaseSetting("audit_dt_fmt");this.auditFormat=t.value||this.auditFormat}}},m=n(4486),f=(0,m.A)(u,a,[],!1,null,null,null);f.options.__file="components/lib/bpmAudit/src/part/editor.vue";var h=f.exports,p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"audit-reader"},[n("div",[n("div",[e.useDialog?n("div",{on:{click:e.openDetailDlg}},[n("span",{staticClass:"aduit-result-title",style:{background:e.resultColor,color:e.resultColor?"#fff":"#333",cursor:"pointer"}},[e._v(e._s(e.getViewFont)+" "),n("i",{staticClass:"el-icon-arrow-right",staticStyle:{"font-size":"14px"}})])]):n("div",[n("AuditReaderDetail",{attrs:{isMulti:e.isMulti,value:e.value,auditors:e.auditors,"field-conf":e.fieldConf,"result-color":e.resultColor,"get-view-font":e.getViewFont,"show-judgment":e.showJudgment,"show-signature":e.showSignature,"show-photo":e.showPhoto}})],1)])]),e._v(" "),e.showSignature||e.showJudgment||e.showPhoto?n("el-dialog",{staticClass:"audit-modal read-audit",attrs:{visible:e.opened,modal:!1,width:e.isMulti?"70%":"40%",ok:!1,title:e.fieldConf.name},on:{"update:visible":function(t){e.opened=t},close:e.onHide}},[n("div",[n("AuditReaderDetail",{attrs:{isMulti:e.isMulti,value:e.value,auditors:e.auditors,"field-conf":e.fieldConf,"result-color":e.resultColor,"get-view-font":e.getViewFont,"show-judgment":e.showJudgment,"show-signature":e.showSignature,"show-photo":e.showPhoto}})],1)]):e._e()],1)};p._withStripped=!0;var g=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.isMulti?n("div",[n("el-table",{staticStyle:{width:"100%"},attrs:{data:e.auditTableData}},[n("el-table-column",{attrs:{prop:"auditor_name",label:e.$z("审批人","c.approver"),width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.auditor_name))])]}}],null,!1,1040127630)}),e._v(" "),e.showJudgment?n("el-table-column",{attrs:{prop:"judgment",label:e.$z("审批意见","b2.common.approval_comment")}}):e._e(),e._v(" "),e.showPhoto?n("el-table-column",{attrs:{prop:"address",width:"140",label:e.$z("拍照","b2.common.photograph")},scopedSlots:e._u([{key:"default",fn:function(e){return[n("bpm-mul-image",{attrs:{value:e.row.photos,fieldConf:{type:"MulImage"}}})]}}],null,!1,3041224214)}):e._e(),e._v(" "),e.showSignature?n("el-table-column",{attrs:{prop:"address",width:"140",label:e.$z("签名","b2.common.sign")},scopedSlots:e._u([{key:"default",fn:function(e){return[n("bpm-mul-image",{attrs:{value:e.row.signature,fieldConf:{type:"Signature"},uiType:"table"}})]}}],null,!1,3503105046)}):e._e(),e._v(" "),e.showSignature?n("el-table-column",{attrs:{width:"180",prop:"audit_at",label:e.$z("审批时间","b2.common.processing_time")},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(e.formatTime(t.row.audit_at)))])]}}],null,!1,3295735702)}):e._e(),e._v(" "),e.showSignature?n("el-table-column",{attrs:{prop:"address",width:"160",label:e.$z("审批结果","b2.common.approval_results")},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",{staticClass:"aduit-result-title",style:{background:e.getResultColor(t.row.result),color:e.getResultColor(t.row.result)?"#fff":"#333"}},[e._v(e._s(e.getResutFont(t.row.result)))])]}}],null,!1,3206449603)}):e._e()],1)],1):e.curVal?n("el-form",{staticClass:"audit-dialog-content",attrs:{"label-width":"150px"}},[n("el-form-item",{attrs:{label:e.$z("审批结果","b2.common.approval_results"),required:!0}},[n("span",{staticClass:"aduit-result-title",style:{background:e.resultColor,color:e.resultColor?"#fff":"#333"}},[e._v(e._s(e.getViewFont))])]),e._v(" "),e.curVal&&e.curVal.reject_target?n("el-form-item",{attrs:{label:e.$z("回退节点","b2.common.fallback_node"),required:!0}},[e._v("\n "+e._s(e.curVal.reject_target.name||e.$z("上一个节点","b2.common.previous_node"))+"\n ")]):e._e(),e._v(" "),e.showJudgment?n("el-form-item",{attrs:{label:e.$z("审批意见","b2.common.approval_comment"),required:e.isJudgmentMust}},[n("span",{attrs:{title:e.curVal&&e.curVal.judgment}},[e._v("\n "+e._s(e.curVal&&e.curVal.judgment?e.curVal.judgment:e.$z("无","c.none")))])]):e._e(),e._v(" "),e.showPhoto&&e.curVal.photos&&e.curVal.photos.length?n("el-form-item",{attrs:{label:e.$z("拍照","b2.common.photograph"),required:e.isPhotoMust}},[n("bpm-mul-image",{attrs:{value:e.curVal.photos,fieldConf:{type:"MulImage"}}})],1):e._e(),e._v(" "),e.showSignature&&e.curVal.signature?n("el-form-item",{attrs:{label:e.$z("签名","b2.common.sign"),required:e.isSignatureMust}},[n("bpm-mul-image",{attrs:{value:e.curVal.signature,fieldConf:{type:"Signature"}}})],1):e._e(),e._v(" "),n("el-form-item",{attrs:{label:e.$z("审批人","b2.common.approver")}},[e._v(e._s(e.auditorName))]),e._v(" "),n("el-form-item",{attrs:{label:e.$z("审批时间","b2.common.processing_time")}},[e._v(e._s(e.auditAt))])],1):e._e()],1)};g._withStripped=!0;var y=n(4709),b=n.n(y);const v="YYYY-MM-DD HH:mm:ss";var w={name:"AuditReaderDetail",props:["value","fieldConf","resultColor","getViewFont","showJudgment","showSignature","showPhoto","auditors","isMulti"],data(){return{auditTableData:[],curVal:{}}},watch:{value:{async handler(e){console.log("audit_found_val",e),"MulAudit"==_.get(this.fieldConf,"type")?this.isMulti?this.curVal=e:e&&e.length?this.curVal=e[0]:this.curVal=!1:this.curVal=e;let t=[];this.fieldConf&&this.fieldConf.depend&&(t=await this.loadRemoteLabel(this.auditors,this.fieldConf.depend)),console.log("audits_info",t);let n=[];_.each(this.auditors,(e=>{let i={auditor:e};console.log("audit_found_auditors",e),console.log("audit_found_curVal",this.curVal);let a=null;if(_.isArray(this.curVal)?a=_.find(this.curVal,(t=>t.auditor==e)):_.isObject(this.curVal)&&this.curVal.auditor==e&&(a=this.curVal),console.log("audit_found",a),a&&(i=_.cloneDeep(a)),_.find(t,{value:e})){let n=_.find(t,{value:e});i.auditor_name=n.label}n.push(i)})),this.auditTableData=n,console.log("this.auditTableData",this.auditTableData),console.log("this.curVal",this.curVal)},deep:!0,immediate:!0}},computed:{useDetail(){return!!_.get(this.fieldConf,"detail_allow",null)&&!!_.get(this.fieldConf,"detail_deny",null)},allowColor(){console.log("this.fieldConf",this.fieldConf);let e=_.get(this.fieldConf,"detail_allow.color","#fff");return"#fff"==e||"#ffffff"==e?null:e},denyColor(){let e=_.get(this.fieldConf,"detail_deny.color","#fff");return"#fff"==e||"#ffffff"==e?null:e},isJudgmentMust(){return"must"==_.get(this.fieldConf,"judgment")},isSignatureMust(){return"must"==_.get(this.fieldConf,"signature")},isPhotoMust(){return"must"==_.get(this.fieldConf,"photo")},auditAt(){let e=_.get(this.curVal,"audit_at");if(e)return e*=1e3,b().format(e,v)},auditorName(){return _.get(this.curVal,"auditor_name")}},methods:{async loadRemoteLabel(e,t){let n=[];try{if(_.isObject(e))try{e=JSON.parse(e)}catch(e){console.log("error",e)}let i=_.isArray(e)?e:[e];if(!_.isEmpty(i)){i=_.isArray(i)?i:[i];let e=await this.$bpm.fetchLabelByValues(i,t,zj.pageParam().form_name,{},!0);if(console.log("res",e),e&&e.length>0){n=[];for(let t=0;t<i.length;t++)n.push({label:e[t],value:i[t]})}}}finally{console.log("finally")}return n},getResultColor(e){if(!e)return null;let t=1==e?this.allowColor:-1==e?null:this.denyColor;return console.log(" this.allowColor",this.allowColor),console.log("color",t),this.useDetail?t:null},getResutFont(e){let t="";switch(e){case-1:t="未审批";break;case 1:t=this.useDetail?_.get(this.fieldConf,"detail_allow.text","通过"):"通过";break;case 2:t=this.useDetail?_.get(this.fieldConf,"detail_deny.text","通过"):"不通过";break;default:t="未审批"}return t},formatTime(e){if(console.log("time",e),e)return e=parseInt(1e3*e),console.log("time",e),b().format(e,v)}}},M=w,k=(0,m.A)(M,g,[],!1,null,null,null);k.options.__file="components/lib/bpmAudit/src/part/reader-detail.vue";var L=k.exports;l().use(d.Dialog),l().use(c.default);var S={components:{AuditReaderDetail:L},props:["value","fieldConf","row","uiType","container"],data(){return{opened:!1,all_auditor_count:0,pass_count:0,no_pass_count:0,auditors:[]}},computed:{formData(){return console.log("container",this.container),this.container&&this.container.isSubForm?this.container.container.formData:this.container?this.container.formData:this.row&&this.row.f_fields?this.row.f_fields:this.row?this.row:null},isMulti(){if(console.log("aduitBppm_data",this.formData),"MulAudit"!=r().get(this.fieldConf,"type")||"custom"!=r().get(this.fieldConf,"audit_typ"))return"MulAudit"==r().get(this.fieldConf,"type")&&("one_by_one"==r().get(this.fieldConf,"audit_typ")||"all"==r().get(this.fieldConf,"audit_typ"));{let e=r().get(this.fieldConf,"custom_audit_typ_field");if(e&&this.formData&&this.formData[e]){let t="one_by_one"==this.formData[e]||"all"==this.formData[e];return console.log("_iMulti",t),t}}},useDetail(){return!!r().get(this.fieldConf,"detail_allow",null)&&!!r().get(this.fieldConf,"detail_deny",null)},resultColor(){let e=this.getResult(),t=1==e?this.allowColor:-1==e?null:this.denyColor;return 3==e?"#6aa1ff":this.useDetail?t:null},allowColor(){let e=r().get(this.fieldConf,"detail_allow.color","#fff");return"#fff"==e||"#ffffff"==e?null:e},denyColor(){let e=r().get(this.fieldConf,"detail_deny.color","#fff");return"#fff"==e||"#ffffff"==e?null:e},getViewFont(){let e="";switch(this.getResult()){case-1:e="未审批";break;case 1:e=this.useDetail?r().get(this.fieldConf,"detail_allow.text","通过"):"通过";break;case 2:e=this.useDetail?r().get(this.fieldConf,"detail_deny.text","通过"):"不通过";break;case 3:e=`审批中(${this.pass_count}/${this.all_auditor_count})`;break;default:e="未审批"}return e},hasAudited(){return-1!=this.getResult()},showJudgment(){let e=r().get(this.fieldConf,"judgment");return"yes"==e||"must"==e},showSignature(){let e=r().get(this.fieldConf,"signature");return"yes"==e||"must"==e},showPhoto(){let e=r().get(this.fieldConf,"photo");return"yes"==e||"must"==e},isRequired(){return r().get(this.fieldConf,"check.required")},modalShow(){return(this.showSignature||this.showJudgment||this.showPhoto)&&this.hasAudited},useDialog(){return"table"===this.uiType}},mounted(){},methods:{openDetailDlg(){this.opened=!0},getResult(){let e="",t=0,n=0,i=0,a=[];return this.isMulti?"any"==this.fieldConf.audit_typ||"single"==this.fieldConf.audit_typ?e=this.value&&this.value.length?r().get(this.value[0],"result",-1):-1:(e=-1,this.row&&this.row.f_fields&&this.row.f_fields[this.fieldConf.depend]&&(a=r().cloneDeep(this.row.f_fields[this.fieldConf.depend])),this.row&&this.row[this.fieldConf.depend]&&(a=r().cloneDeep(this.row[this.fieldConf.depend])),t=a.length,console.log("audit_auditors",a),console.log("audit_value",this.value),a&&a.length&&this.value&&this.value.length?(r().each(this.value,(e=>{1==e.result?n+=1:i+=1})),e=i?2:n==t?1:3):e=-1):e=r().isArray(this.value)?r().get(this.value[0],"result",-1):r().get(this.value,"result",-1),this.pass_count=n,this.no_pass_count=i,this.all_auditor_count=t,this.auditors=a,e},onHide(){this.opened=!1}}},x=(0,m.A)(S,p,[],!1,null,null,null);x.options.__file="components/lib/bpmAudit/src/part/reader.vue";var D=x.exports,C=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.componentName,{tag:"component",attrs:{field:e.fieldConf,fieldConf:e.fieldConf,row:e.row,container:e.container},on:{change:e.changeVal},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}})};C._withStripped=!0;var T=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"audit-with-others"})};T._withStripped=!0;var Y={props:["value","fieldConf","row","container","dispMode"],components:{},data(){return{opened:!1,degree:0,selectOptions:[{label:zj.z("通过","b2.common.pass"),value:1},{label:zj.z("不通过","b2.common.fail"),value:2}],canvasBox:null,form:{result:1,judgment:"",photos:[],reject_target:""},hasDraw:!1,openLastSign:!1,lastSign:"",useNextUser:!1}},computed:{useDetail(){return!!_.get(this.fieldConf,"detail_allow",null)&&!!_.get(this.fieldConf,"detail_deny",null)},jucdgment(){let e=this.form.result,t=_.get(this.fieldConf,"judgment");return this.useDetail&&(t=1==e?_.get(this.fieldConf,"detail_allow.judgment"):_.get(this.fieldConf,"detail_deny.judgment")),t},showJudgment(){return"yes"==this.jucdgment||"must"==this.jucdgment},resultColor(){let e=_.get(this.value,"result",-1),t=1==e?this.allowColor:-1==e?null:this.denyColor;return this.useDetail?t:null},allowColor(){let e=_.get(this.fieldConf,"detail_allow.color","#fff");return"#fff"==e||"#ffffff"==e?null:e},denyColor(){let e=_.get(this.fieldConf,"detail_deny.color","#fff");return"#fff"==e||"#ffffff"==e?null:e},signature(){let e=this.form.result,t=_.get(this.fieldConf,"signature");return this.useDetail&&(t=1==e?_.get(this.fieldConf,"detail_allow.signature"):_.get(this.fieldConf,"detail_deny.signature")),t},showSignature(){return"yes"==this.signature||"must"==this.signature},photo(){let e=this.form.result,t=_.get(this.fieldConf,"photo");return this.useDetail&&(t=1==e?_.get(this.fieldConf,"detail_allow.photo"):_.get(this.fieldConf,"detail_deny.photo")),t},showPhoto(){return"yes"==this.photo||"must"==this.photo},isJudgmentMust(){return"must"==this.judgment},isSignatureMust(){return"must"==this.signature},isPhotoMust(){return"must"==this.photo},isRequired(){return _.get(this.fieldConf,"check.required")},getViewFont(){let e=_.get(this.value,"result",-1),t=1==e?zj.z("通过","b2.common.pass"):-1==e?"":zj.z("不通过","b2.common.fail");return this.useDetail&&(t=1==e?_.get(this.fieldConf,"detail_allow.text",zj.z("通过","b2.common.pass")):-1==e?"":_.get(this.fieldConf,"detail_deny.text",zj.z("不通过","b2.common.fail"))),t},getCanvasBoxStyle(){return{height:"150px",width:"100%"}},componentName(){return"MulImagePc"},userId(){return _.get(this.$bpm.userInfo,"user_id",0)},userName(){return _.get(this.$bpm.userInfo,"user_name","")},rejectTargetMap(){let e=_.get(this.container,"formSchema.reject_targets");return _.keyBy(e,"node")},rejectTargetList(){let e=_.get(this.container,"formSchema.reject_targets"),t=_.get(this.container,"_formData.passed_nodes"),n=[];return _.each(e,(e=>{_.includes(t,e.node)&&e.only_passed?n.push({label:e.name,value:e.node}):n.push({label:e.name||zj.z("上一个节点","b2.common.previous_node"),value:e.node||"last_id"})})),n}},mounted(){this.container.$on("afterFormSubmit",(e=>{!e&&this.openLastSign&&this.value.signature&&this.$bpm.postEleSign(this.value.signature,this.useNextUser)})),this.useDetail&&(this.selectOptions=[{label:_.get(this.fieldConf,"detail_allow.text",zj.z("通过","b2.common.pass")),value:1},{label:_.get(this.fieldConf,"detail_deny.text",zj.z("不通过","b2.common.fail")),value:2}])},methods:{onHide(){this.opened=!1},onOpen(){this.draw||(this.value&&(this.form=this.value),setTimeout((()=>{this.useNextUser=!1,this.handleInit()}),200))},handleInit(){if(!this.showSignature)return;let e=this.$bpm.userSign;this.openLastSign=e.open,this.openLastSign&&!this.form.signature&&e.for_next_use&&(this.form.signature=e.signature),e.for_next_use&&(this.lastSign=e.signature),e.for_next_use&&this.openLastSign&&(this.useNextUser=!0)},onDataLoaded(e){this.resetForm();let t={result:1,judgment:"",photos:[],reject_target:""};this.$emit("input",t),this.$emit("change",t),this.hasDraw=!1,this.draw&&this.draw.clear()},clearSignature(){this.hasDraw=!1,this.draw&&this.draw.clear(),this.lastSign=""},resetForm(){this.form={result:1,judgment:"",photos:[]}},async loadUserInfo(){this.$bpm.setNetworking(!0);let e=await this.$bpm.requestAppendOrgParams({url:"/uc/common/user_info/",params:zj.utils.pageParam()});e=_.get(e,"data.data"),this.$bpm.setNetworking(!1),this.$bpm.setUserInfo(e.user_info)},async onSubmit(){let e=this.form;if(!(zj.app.accessInfo&&zj.app.accessInfo.user_info.user_id||this.userId))return this.loadUserInfo(),void this.$message({message:zj.z("当前网络加载有问题,请重新进入","b2.common.network_err"),type:"warning"});if(2!=e.result||!this.showReject||e.reject_target)if(!this.isRequired||this.form.result)if(!this.isSignatureMust||this.form.signature||this.hasDraw)if(!this.isJudgmentMust||this.form.judgment||this.hasDraw)if(this.isPhotoMust&&_.isEmpty(this.form.photos))this.$message({message:zj.z("请至少上传一张图片","b2.common.least_one_image"),type:"warning"});else if(this.hasDraw){let t=this.draw.getPNGImage();this.uploadImage({basestr:t,type:"png",name:"签名图片.png",model:"userfile"},(t=>{let n={result:e.result,signature:t,judgment:e.judgment,photos:e.photos,audit_at:(new Date).getTime()/1e3,auditor:zj.app.accessInfo&&zj.app.accessInfo.user_info.user_id||this.userId,auditor_name:zj.app.accessInfo&&zj.app.accessInfo.user_info.user_name||this.userName};2==e.result&&this.showReject&&_.set(n,"reject_target",this.getRejectTarget(e.reject_target)),this.field.value=n,this.opened=!1}))}else{let t={result:e.result,signature:e.signature,judgment:e.judgment,photos:e.photos,audit_at:(new Date).getTime()/1e3,auditor:zj.app.accessInfo&&zj.app.accessInfo.user_info.user_id||this.userId,auditor_name:zj.app.accessInfo&&zj.app.accessInfo.user_info.user_name||this.userName};2==e.result&&this.showReject&&_.set(t,"reject_target",this.getRejectTarget(e.reject_target)),this.field.value=t,this.opened=!1}else this.$message({message:zj.z("请填写意见","b2.common.please_fill_comment"),type:"warning"});else this.$message({message:zj.z("请完成签名","b2.common.please_complete_sign"),type:"warning"});else this.$message({message:zj.z("请选择审批结果","b2.common.please_select_audit"),type:"warning"});else this.$message({message:zj.z("回退节点必填","b2.common.back_to_required"),type:"warning"})},getRejectTarget(e){let t=this.rejectTargetMap;return"last_id"==e?{type:"RejectToLastUserNode"}:_.get(t,e)},uploadImage({basestr:e,type:t,name:n,model:i},a){let o=window.atob(e.split(",")[1]),r=new ArrayBuffer(o.length),s=new Uint8Array(r);for(let e=0;e<o.length;e++)s[e]=o.charCodeAt(e);let l,d=window.WebKitBlobBuilder||window.MozBlobBuilder;if(d){let e=new d;e.append(r),l=e.getBlob(t)}else l=new window.Blob([r],{type:t});let c=new FormData;c.append(i,l,n),zj.net.w.noapi({method:"POST",url:"/platform/v1/papi/app_file/upload/",data:c,processData:!1,contentType:!1}).then((e=>{a&&a(e.file_md5)}))},handleSpeechToText(e){this.$refs.input.blur(),e.cancelBubble=!0,e.stopPropagation(),this.$bpm.getSpeechToText((e=>{e.text&&this.$set(this.form,"judgment",(this.form.judgment||"")+e.text)}))}}},$=(n(2487),n(8601),n(968),(0,m.A)(Y,T,[],!1,null,"1f4bc398",null));$.options.__file="components/lib/bpmAudit/src/part/auditor/audit-with-others.vue";var j=$.exports,O=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-select",{attrs:{placeholder:e.$z("请选择回退节点","b2.common.select_back_to")},model:{value:e.form.result,callback:function(t){e.$set(e.form,"result",t)},expression:"form.result"}},e._l(e.selectOptions,(function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)};O._withStripped=!0;var I={props:["value","fieldConf","row","container"],data(){return{selectOptions:[{label:zj.z("通过","b2.common.pass"),value:1},{label:zj.z("不通过","b2.common.fail"),value:2}],form:{result:"",reject_target:""}}},computed:{userId(){return _.get(this.$bpm.userInfo,"user_id",0)},userName(){return _.get(this.$bpm.userInfo,"user_name","")},rejectTargetMap(){let e=_.get(this.field,"topContainer.formSchema.reject_targets");return _.keyBy(e,"node")},rejectTargetList(){let e=_.get(this.field,"topContainer.formSchema.reject_targets"),t=_.get(this.field,"topContainer._formData.passed_nodes"),n=[];return _.each(e,(e=>{_.includes(t,e.node)&&e.only_passed?n.push({label:e.name,value:e.node}):n.push({label:e.name||zj.z("上一个节点","b2.common.previous_node"),value:e.node||"last_id"})})),n}},watch:{form:{handler(e){if(!(zj.app.accessInfo&&zj.app.accessInfo.user_info.user_id||this.userId))return this.loadUserInfo(),void this.$message({message:zj.z("当前网络加载有问题,请重新进入","b2.common.network_err"),type:"warning"});if(2==e.result&&this.showReject&&!e.reject_target)return void this.$message({message:zj.z("回退节点必填","b2.common.back_to_required"),type:"warning"});let t={result:e,signature:"",audit_at:(new Date).getTime()/1e3,auditor:zj.app.accessInfo&&zj.app.accessInfo.user_info.user_id||this.userId,auditor_name:zj.app.accessInfo&&zj.app.accessInfo.user_info.user_name||this.userName};2==e.result&&this.showReject&&_.set(t,"reject_target",this.getRejectTarget(e.reject_target)),this.$emit("change",t),this.$emit("input",t)},deep:!0}},methods:{onDataLoaded(e){this.form.result=_.get(this.field.value,"result","")},getRejectTarget(e){let t=this.rejectTargetMap;return"last_id"==e?{type:"RejectToLastUserNode"}:_.get(t,e)}}},P=(n(744),(0,m.A)(I,O,[],!1,null,"2709dffc",null));P.options.__file="components/lib/bpmAudit/src/part/auditor/audit-select.vue";var E=P.exports,A=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"audit-new"},[n("div",{staticClass:"submit-btns-container"},[n("el-button",{attrs:{disabled:e.submiting},on:{click:function(t){return e.doOperation(2)}}},[e._v(e._s(e.selectOptions[1].label))]),e._v(" "),n("el-button",{attrs:{type:"primary",disabled:e.submiting},on:{click:function(t){return e.doOperation(1)}}},[e._v(e._s(e.selectOptions[0].label))])],1),e._v(" "),n("el-dialog",{staticClass:"audit-modal",attrs:{visible:e.openAuditDlg,modal:!1,center:"",width:"70%",title:e.getViewFont},on:{"update:visible":function(t){e.openAuditDlg=t},close:e.onHide,open:e.onOpen}},[n("div",[n("el-form",{ref:"form",staticClass:"audit-dialog-content",staticStyle:{"margin-top":"15px"},attrs:{model:e.form,"label-width":"200px"}},[2==e.form.result&&e.showReject?n("el-form-item",{attrs:{label:e.$z("回退节点","b2.common.fallback_node"),required:!0,prop:"reject_target"}},[n("el-select",{attrs:{placeholder:""},model:{value:e.form.reject_target,callback:function(t){e.$set(e.form,"reject_target",t)},expression:"form.reject_target"}},e._l(e.rejectTargetList,(function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e(),e._v(" "),e._l(e.optAss,(function(t){return[n("el-form-item",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],key:t.id,class:t.display&&(t.display.hide_name||"top"===t.display.label_position)?"no-label":"",style:"width: 100%;",attrs:{"show-message":!1,id:"audit_"+t.id,label:t.display&&(t.display.hide_name||"top"===t.display.label_position)?"":t.name,required:t.check&&t.check.required,prop:t.id}},[t.display&&!t.display.hide_name&&"top"===t.display.label_position?n("div",{staticClass:"form-label-top"},[e._v(e._s(t.name))]):e._e(),e._v(" "),n("bpm-form-field",{ref:"bpmFormField"+t.id,refInFor:!0,attrs:{type:t.type,"field-conf":t,"form-name":e.formDefId,"form-def-id":e.formDefId,orgInfo:e.orgParams,dm:!1,container:e.containerSelf,mode:"edit","ui-type":"aduit",row:e.form},model:{value:e.formData[t.id],callback:function(n){e.$set(e.formData,t.id,n)},expression:"formData[fieldConf.id]"}}),e._v(" "),e.showLinkButton&&t.range_remote&&t.range_remote.form?n("i",{staticClass:"el-icon-link link-setting-form",on:{click:function(n){return n.stopPropagation(),e.linkToSettigPage(t)}}}):e._e()],1)]})),e._v(" "),n("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.showSignature,expression:"showSignature"}],attrs:{required:e.isSignatureMust,label:e.$z("签名","b2.common.sign"),prop:"signature"}},[n("bpm-signature",{ref:"signature",attrs:{container:e.container},model:{value:e.form.signature,callback:function(t){e.$set(e.form,"signature",t)},expression:"form.signature"}})],1),e._v(" "),e.showJudgment?n("el-form-item",{attrs:{required:e.isJudgmentMust,label:e.$z("填写意见","b2.common.fill_comment"),prop:"judgment"}},[n("el-input",{attrs:{type:"textarea",placeholder:e.$z("请输入评审意见","b2.common.en_comment"),clearable:!!e.form.judgment},model:{value:e.form.judgment,callback:function(t){e.$set(e.form,"judgment",t)},expression:"form.judgment"}})],1):e._e(),e._v(" "),e.showPhoto?n("el-form-item",{attrs:{label:e.$z("拍照","b2.common.photograph"),required:e.isPhotoMust,prop:"photos"}},[n("bpm-mul-image",{attrs:{fieldConf:{type:"MulImage"},mode:"edit"},model:{value:e.form.photos,callback:function(t){e.$set(e.form,"photos",t)},expression:"form.photos"}})],1):e._e(),e._v(" "),e.isOpenAudit?n("el-form-item",{attrs:{required:"",label:e.$z("审批日期","b2.common.audit_date"),prop:"auditTime"}},[n("el-date-picker",{ref:"dateSelect",attrs:{type:"datetime",placeholder:e.$z("选择日期时间","c.select_date_time"),format:e.auditTimeFormat},model:{value:e.form.auditTime,callback:function(t){e.$set(e.form,"auditTime",t)},expression:"form.auditTime"}})],1):e._e()],2)],1),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{disabled:!e.isSimulation&&e.submiting},on:{click:e.onCancel}},[e._v(e._s(e.$z("取消","c.cancel")))]),e._v(" "),n("el-button",{attrs:{type:"primary",disabled:!e.hasDraw},on:{click:e.onSubmit}},[e._v(e._s(e.$z("确定","c.confirm")))])],1)])],1)};A._withStripped=!0;var F=n(1824);l().use(d.Dialog),l().use(d.DatePicker),l().use(c.default),l().use(F.default);var V={data(){return{curVal:{result:1,judgment:"",photos:[],reject_target:"",signature:"",auditor_name:"",audit_at:"",auditor:""},openAuditDlg:!1,result:1,form:{result:1,judgment:"",photos:[],signature:"",auditTime:(new Date).getTime()},passForm:{result:1,judgment:"",signature:"",photos:[],auditTime:(new Date).getTime()},notPassForm:{result:2,judgment:"",photos:[],signature:"",reject_target:"",auditTime:(new Date).getTime()},canvasBox:null,degree:0,submiting:!1,openLastSign:!1,lastSign:"",useNextUser:!1,selectOptions:[{label:zj.z("通过","b2.common.pass"),value:1},{label:zj.z("不通过","b2.common.fail"),value:2}],optAss:[],isOpenAudit:!1,auditTimeFormat:"yyyy-MM-dd HH:mm:ss"}},props:["value","fieldConf","row","container"],computed:{formData(){return this.container.formData},containerSelf(){return this},orgParams(){return this.$store.getters.getOrgParams},formDefId(){return this.$store.getters.getEvnParams("form_name")},useDetail(){return!!r().get(this.fieldConf,"detail_allow",null)&&!!r().get(this.fieldConf,"detail_deny",null)},judgment(){let e=this.result,t=r().get(this.fieldConf,"judgment");return this.useDetail&&(t=1==e?r().get(this.fieldConf,"detail_allow.judgment"):r().get(this.fieldConf,"detail_deny.judgment")),t},showJudgment(){return"yes"==this.judgment||"must"==this.judgment},signature(){let e=this.result,t=r().get(this.fieldConf,"signature");return this.useDetail&&(t=1==e?r().get(this.fieldConf,"detail_allow.signature"):r().get(this.fieldConf,"detail_deny.signature")),t},allowColor(){let e=r().get(this.fieldConf,"detail_allow.color","#fff");return"#fff"==e||"#ffffff"==e?"primary":e},denyColor(){let e=r().get(this.fieldConf,"detail_deny.color","#fff");return"#fff"==e||"#ffffff"==e?"primary":e},showSignature(){return"yes"==this.signature||"must"==this.signature},photo(){let e=this.result,t=r().get(this.fieldConf,"photo");return this.useDetail&&(t=1==e?r().get(this.fieldConf,"detail_allow.photo"):r().get(this.fieldConf,"detail_deny.photo")),t},showPhoto(){return"yes"==this.photo||"must"==this.photo},isJudgmentMust(){return"must"==this.judgment},isSignatureMust(){return"must"==this.signature},isPhotoMust(){return"must"==this.photo},showOpDialog(){return this.showSignature||this.showJudgment||this.showPhoto||2===this.result&&this.showReject||this.optAss.length},getCanvasBoxStyle(){return{height:"150px",width:"100%"}},componentName(){return"MulImage"},isMobile(){return this.$q.platform.is.mobile},getViewFont(){let e=this.result,t=1==e?zj.z("通过","b2.common.pass"):-1==e?"":zj.z("不通过","b2.common.fail");return this.useDetail&&(t=1==e?r().get(this.fieldConf,"detail_allow.text",zj.z("通过","b2.common.pass")):-1==e?"":r().get(this.fieldConf,"detail_deny.text",zj.z("不通过","b2.common.fail"))),t},userId(){return r().get(this.$bpm.userInfo,"user_id",0)},userName(){return r().get(this.$bpm.userInfo,"user_name","")},showReject(){return!!r().get(this.container,"formSchema.reject_targets")},rejectTargetMap(){let e=r().get(this.container,"formSchema.reject_targets");return r().keyBy(e,"node")},rejectTargetList(){let e=r().get(this.container,"formSchema.reject_targets"),t=r().get(this.container,"_formData.passed_nodes"),n=[];return r().each(e,(e=>{r().includes(t,e.node)&&e.only_passed?n.push({label:e.name,value:e.node}):e.only_passed||n.push({label:e.name||zj.z("上一个节点","b2.common.previous_node"),value:e.node||"last_id"})})),n},isSimulation(){return this.$bpm.isSimulation},hasDraw(){return!this.isSignatureMust||!!this.form.signature}},created(){this.loadProjBaseInfo()},mounted(){if(this.value){let e=r().cloneDeep(this.value);e.audit_at=1e3*e.audit_at,this.curVal=r().merge(this.curVal,e)}this.useDetail&&(this.selectOptions=[{label:r().get(this.fieldConf,"detail_allow.text",zj.z("通过","b2.common.pass")),value:1},{label:r().get(this.fieldConf,"detail_deny.text",zj.z("不通过","b2.common.fail")),value:2}])},methods:{onHide(){this.openAuditDlg=!1},onOpen(){if(1==this.result)this.form=r().cloneDeep(this.passForm),this.form.result=1;else if(this.form=r().cloneDeep(this.notPassForm),this.form.result=2,1==this.rejectTargetList.length){let e=r().get(this.rejectTargetList,"0.value");this.form.reject_target=e}else this.form.reject_target="";this.form.auditTime=(new Date).getTime()},async onSubmit(){let e=this.form;console.log("formData",this.formData),!this.isRequired||e.result?!this.isSignatureMust||e.signature?!this.isJudgmentMust||e.judgment?this.isPhotoMust&&r().isEmpty(e.photos)?this.$message({message:zj.z("请至少上传一张图片","b2.common.least_one_image"),type:"warning"}):this._dealSubmit(e):this.$message({message:zj.z("请填写意见","b2.common.please_fill_comment"),type:"warning"}):this.$message({message:zj.z("请完成签名","b2.common.please_complete_sign"),type:"warning"}):this.$message({message:zj.z("请选择审批结果","b2.common.please_select_audit"),type:"warning"})},_dealSubmit(e){console.log("this.row",this.row);let t={result:e.result,signature:e.signature,judgment:e.judgment,photos:e.photos,audit_at:e.auditTime/1e3,auditor:zj.app.accessInfo&&zj.app.accessInfo.user_info.user_id||this.userId,auditor_name:zj.app.accessInfo&&zj.app.accessInfo.user_info.user_name||this.userName};2==e.result&&this.showReject&&r().set(t,"reject_target",this.getRejectTarget(e.reject_target)),this.curVal=t,console.log("this.fieldConf",this.fieldConf),this.fieldConf&&"MulAudit"==this.fieldConf.type?this.$emit("change",[this.curVal]):this.$emit("change",this.curVal);let n=this.container.$parent;if(console.log("modal",n),n){this.submiting=!0;try{2==this.result?n.doOperation(null,{needValidation:!1}):n.doOperation()}catch(e){console.log("error",e),this.submiting=!1}this.$bpm.$on("afterFormSubmit",(({mode:e,errors:t})=>{t||(this.openAuditDlg=!1),this.submiting=!1}))}},getRejectTarget(e){let t=this.rejectTargetMap;return"last_id"==e?{type:"RejectToLastUserNode"}:r().get(t,e)},onCancel(){this.openAuditDlg=!1},async loadProjBaseInfo(){let e=1==(await this.$bpm.getBaseSetting("open_audit")).value;this.isOpenAudit=e;let t=await this.$bpm.getBaseSetting("audit_dt_fmt");this.auditFormat=t.value||this.auditFormat},async loadUserInfo(){let e=await this.$bpm.requestAppendOrgParams({url:"/uc/common/user_info/",params:zj.utils.pageParam()});e=r().get(e,"data.data"),this.$bpm.setUserInfo(e.user_info)},async doOperation(e){this.result=e,setTimeout((()=>{let t=r().get(this.fieldConf,`opt_ass.${e}`);console.log("optAssIdsthis.fieldConf",this.fieldConf),console.log("optAssIds",t);let n=r().map(t,(e=>(console.log("optAssthis.container",this.container),r().get(this.container,`eleMap.${e}`))));n=r().compact(n),this.optAss=n,console.log("this.optAss",this.optAss);let i=r().concat(t,this.fieldConf.id);i=r().compact(i),this.container.verfifyData(i,(()=>{this.$nextTick((()=>{this.showOpDialog?this.openDialog():this.confirmOp()}))}))}),100)},openDialog(){this.openAuditDlg=!0,this.useNextUser=!1,setTimeout((()=>{this.$refs.signature&&(this.$refs.signature.initCanvas(),this.$refs.signature.handleInit())}),200)},confirmOp(){let e=1==this.result?this.selectOptions[0].label:this.selectOptions[1].label,t=zj.z("是否确认","b2.common.is_confirm")+e+zj.z("?","c.question_mark");this.form.auditTime=(new Date).getTime(),this.$confirm(t,e,{confirmButtonText:zj.z("确定","c.confirm"),cancelButtonText:zj.z("取消","c.cancel"),type:"warning"}).then((()=>{this._dealSubmit(this.form)})).catch((()=>{}))}}},H=(0,m.A)(V,A,[],!1,null,null,null);H.options.__file="components/lib/bpmAudit/src/part/auditor/audit-new.vue";var R={props:["value","fieldConf","row","container"],components:{AuditWithOthers:j,AuditSelect:E,AduitNew:H.exports},data(){return{curVal:{result:1,judgment:"",photos:[],reject_target:"",signature:"",auditor_name:"",audit_at:"",auditor:""}}},computed:{componentName(){let e=_.get(this.fieldConf,"signature"),t=_.get(this.fieldConf,"jucdgment"),n=_.get(this.fieldConf,"photo");return"collaboration"==_.get(this.container,"formSchema.audit_style")?"AduitNew":"yes"==e||"must"==e||"yes"==t||"must"==t||"yes"==n||"must"==n?"AuditWithOthers":"AuditSelect"}},mounted(){if(this.value){let e=_.cloneDeep(this.value);e.audit_at=1e3*e.audit_at,this.curVal=_.merge(this.curVal,e)}},methods:{changeVal(e){this.$emit("input",e),this.$emit("change",e)}}},z=(0,m.A)(R,C,[],!1,null,null,null);z.options.__file="components/lib/bpmAudit/src/part/auditor.vue";var N=z.exports,W={name:"BpmAudit",components:{editorComponent:h,readerComponent:D,auditorComponent:N},props:{value:{type:[Object]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},container:{type:[Object,null],default(){return null}},dm:Boolean},computed:{curComponent(){return"view"==this.mode?D:this.dm?h:N}},data(){return{curVal:{}}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{onChange(e){this.$emit("input",e),this.$emit("change",e)}}},B=(n(1962),(0,m.A)(W,i,[],!1,null,null,null));B.options.__file="components/lib/bpmAudit/src/main.vue";var U=B.exports;U.install=function(e){e.component(U.name,U)};var G=U},4811:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o=n(7049),r=(i=n(4169))&&i.__esModule?i:{default:i},s=n(2230),l={bounds:{type:Object},componentRestrictions:{type:Object,noBind:!0},types:{type:Array,default:function(){return[]}}},d={selectFirstOnEnter:{required:!1,type:Boolean,default:!1},options:{type:Object}};t.default={mounted:function(){var e=this;this.$gmapApiPromiseLazy().then((function(){if(e.selectFirstOnEnter&&(0,r.default)(e.$refs.input),"function"!=typeof google.maps.places.Autocomplete)throw new Error("google.maps.places.Autocomplete is undefined. Did you add 'places' to libraries when loading Google Maps?");var t=a({},(0,o.getPropsValues)(e,l),e.options);e.$autocomplete=new google.maps.places.Autocomplete(e.$refs.input,t),(0,o.bindProps)(e,e.$autocomplete,l),e.$watch("componentRestrictions",(function(t){void 0!==t&&e.$autocomplete.setComponentRestrictions(t)})),e.$autocomplete.addListener("place_changed",(function(){e.$emit("place_changed",e.$autocomplete.getPlace())}))}))},props:a({},(0,s.mappedPropsToVueProps)(l),d)}},4834:function(e,t,n){"use strict";const{HEX:i}=n(4914);function a(e){if(l(e,".")<3)return{host:e,isIPV4:!1};const t=e.match(/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/u)||[],[n]=t;return n?{host:s(n,"."),isIPV4:!0}:{host:e,isIPV4:!1}}function o(e,t=!1){let n="",a=!0;for(const t of e){if(void 0===i[t])return;"0"!==t&&!0===a&&(a=!1),a||(n+=t)}return t&&0===n.length&&(n="0"),n}function r(e,t={}){if(l(e,":")<2)return{host:e,isIPV6:!1};const n=function(e){let t=0;const n={error:!1,address:"",zone:""},i=[],a=[];let r=!1,s=!1,l=!1;function d(){if(a.length){if(!1===r){const e=o(a);if(void 0===e)return n.error=!0,!1;i.push(e)}a.length=0}return!0}for(let o=0;o<e.length;o++){const c=e[o];if("["!==c&&"]"!==c)if(":"!==c)if("%"===c){if(!d())break;r=!0}else a.push(c);else{if(!0===s&&(l=!0),!d())break;if(t++,i.push(":"),t>7){n.error=!0;break}o-1>=0&&":"===e[o-1]&&(s=!0)}}return a.length&&(r?n.zone=a.join(""):l?i.push(a.join("")):i.push(o(a))),n.address=i.join(""),n}(e);if(n.error)return{host:e,isIPV6:!1};{let e=n.address,t=n.address;return n.zone&&(e+="%"+n.zone,t+="%25"+n.zone),{host:e,escapedHost:t,isIPV6:!0}}}function s(e,t){let n="",i=!0;const a=e.length;for(let o=0;o<a;o++){const r=e[o];"0"===r&&i?(o+1<=a&&e[o+1]===t||o+1===a)&&(n+=r,i=!1):(i=r===t,n+=r)}return n}function l(e,t){let n=0;for(let i=0;i<e.length;i++)e[i]===t&&n++;return n}const d=/^\.\.?\//u,c=/^\/\.(?:\/|$)/u,u=/^\/\.\.(?:\/|$)/u,m=/^\/?(?:.|\n)*?(?=\/|$)/u;e.exports={recomposeAuthority:function(e,t){const n=[];if(void 0!==e.userinfo&&(n.push(e.userinfo),n.push("@")),void 0!==e.host){let t=unescape(e.host);const i=a(t);if(i.isIPV4)t=i.host;else{const n=r(i.host,{isIPV4:!1});t=!0===n.isIPV6?`[${n.escapedHost}]`:e.host}n.push(t)}return"number"!=typeof e.port&&"string"!=typeof e.port||(n.push(":"),n.push(String(e.port))),n.length?n.join(""):void 0},normalizeComponentEncoding:function(e,t){const n=!0!==t?escape:unescape;return void 0!==e.scheme&&(e.scheme=n(e.scheme)),void 0!==e.userinfo&&(e.userinfo=n(e.userinfo)),void 0!==e.host&&(e.host=n(e.host)),void 0!==e.path&&(e.path=n(e.path)),void 0!==e.query&&(e.query=n(e.query)),void 0!==e.fragment&&(e.fragment=n(e.fragment)),e},removeDotSegments:function(e){const t=[];for(;e.length;)if(e.match(d))e=e.replace(d,"");else if(e.match(c))e=e.replace(c,"/");else if(e.match(u))e=e.replace(u,"/"),t.pop();else if("."===e||".."===e)e="";else{const n=e.match(m);if(!n)throw new Error("Unexpected dot segment condition");{const i=n[0];e=e.slice(i.length),t.push(i)}}return t.join("")},normalizeIPv4:a,normalizeIPv6:r,stringArrayToHexStripped:o}},4903:function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n(5093))},4914:function(e){"use strict";e.exports={HEX:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15}}},5050:function(e,t,n){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n(5093))},5056:function(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},5072:function(e){"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},r=[],s=0;s<e.length;s++){var l=e[s],d=i.base?l[0]+i.base:l[0],c=o[d]||0,u="".concat(d," ").concat(c);o[d]=c+1;var m=n(u),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==m)t[m].references++,t[m].updater(f);else{var h=a(f,i);i.byIndex=s,t.splice(s,0,{identifier:u,updater:h,references:1})}r.push(u)}return r}function a(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,a){var o=i(e=e||[],a=a||{});return function(e){e=e||[];for(var r=0;r<o.length;r++){var s=n(o[r]);t[s].references--}for(var l=i(e,a),d=0;d<o.length;d++){var c=n(o[d]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}o=l}}},5093:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,i;function a(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function d(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function m(e,t){var n,i=[],a=e.length;for(n=0;n<a;++n)i.push(t(e[n],n));return i}function f(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,i){return It(e,t,n,i,!0).utc()}function p(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function _(e){var t=null,n=!1,a=e._d&&!isNaN(e._d.getTime());return a&&(t=p(e),n=i.call(t.parsedDateParts,(function(e){return null!=e})),a=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?a:(e._isValid=a,e._isValid)}function g(e){var t=h(NaN);return null!=e?f(p(t),e):p(t).userInvalidated=!0,t}i=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),i=n.length>>>0;for(t=0;t<i;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var y=a.momentProperties=[],b=!1;function v(e,t){var n,i,a,o=y.length;if(d(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),d(t._i)||(e._i=t._i),d(t._f)||(e._f=t._f),d(t._l)||(e._l=t._l),d(t._strict)||(e._strict=t._strict),d(t._tzm)||(e._tzm=t._tzm),d(t._isUTC)||(e._isUTC=t._isUTC),d(t._offset)||(e._offset=t._offset),d(t._pf)||(e._pf=p(t)),d(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)d(a=t[i=y[n]])||(e[i]=a);return e}function w(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,a.updateOffset(this),b=!1)}function M(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function k(e){!1===a.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function L(e,t){var n=!0;return f((function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,e),n){var i,o,r,l=[],d=arguments.length;for(o=0;o<d;o++){if(i="","object"==typeof arguments[o]){for(r in i+="\n["+o+"] ",arguments[0])s(arguments[0],r)&&(i+=r+": "+arguments[0][r]+", ");i=i.slice(0,-2)}else i=arguments[o];l.push(i)}k(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var S,x={};function D(e,t){null!=a.deprecationHandler&&a.deprecationHandler(e,t),x[e]||(k(t),x[e]=!0)}function C(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e,t){var n,i=f({},e);for(n in t)s(t,n)&&(r(e[n])&&r(t[n])?(i[n]={},f(i[n],e[n]),f(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)s(e,n)&&!s(t,n)&&r(e[n])&&(i[n]=f({},i[n]));return i}function Y(e){null!=e&&this.set(e)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,S=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};function $(e,t,n){var i=""+Math.abs(e),a=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+i}var j=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,O=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},P={};function E(e,t,n,i){var a=i;"string"==typeof i&&(a=function(){return this[i]()}),e&&(P[e]=a),t&&(P[t[0]]=function(){return $(a.apply(this,arguments),t[1],t[2])}),n&&(P[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function A(e,t){return e.isValid()?(t=F(t,e.localeData()),I[t]=I[t]||function(e){var t,n,i,a=e.match(j);for(t=0,n=a.length;t<n;t++)P[a[t]]?a[t]=P[a[t]]:a[t]=(i=a[t]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(t){var i,o="";for(i=0;i<n;i++)o+=C(a[i])?a[i].call(t,e):a[i];return o}}(t),I[t](e)):e.localeData().invalidDate()}function F(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(O.lastIndex=0;n>=0&&O.test(e);)e=e.replace(O,i),O.lastIndex=0,n-=1;return e}var V={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function H(e){return"string"==typeof e?V[e]||V[e.toLowerCase()]:void 0}function R(e){var t,n,i={};for(n in e)s(e,n)&&(t=H(n))&&(i[t]=e[n]);return i}var z={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var N,W=/\d/,B=/\d\d/,U=/\d{3}/,G=/\d{4}/,q=/[+-]?\d{6}/,J=/\d\d?/,K=/\d\d\d\d?/,X=/\d\d\d\d\d\d?/,Z=/\d{1,3}/,Q=/\d{1,4}/,ee=/[+-]?\d{1,6}/,te=/\d+/,ne=/[+-]?\d+/,ie=/Z|[+-]\d\d:?\d\d/gi,ae=/Z|[+-]\d\d(?::?\d\d)?/gi,oe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,re=/^[1-9]\d?/,se=/^([1-9]\d|\d)/;function le(e,t,n){N[e]=C(t)?t:function(e,i){return e&&n?n:t}}function de(e,t){return s(N,e)?N[e](t._strict,t._locale):new RegExp(ce(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,i,a){return t||n||i||a}))))}function ce(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ue(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function me(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ue(t)),n}N={};var fe={};function he(e,t){var n,i,a=t;for("string"==typeof e&&(e=[e]),c(t)&&(a=function(e,n){n[t]=me(e)}),i=e.length,n=0;n<i;n++)fe[e[n]]=a}function pe(e,t){he(e,(function(e,n,i,a){i._w=i._w||{},t(e,i._w,i,a)}))}function _e(e,t,n){null!=t&&s(fe,e)&&fe[e](t,n._a,n,e)}function ge(e){return e%4==0&&e%100!=0||e%400==0}var ye=0,be=1,ve=2,we=3,Me=4,ke=5,Le=6,Se=7,xe=8;function De(e){return ge(e)?366:365}E("Y",0,0,(function(){var e=this.year();return e<=9999?$(e,4):"+"+e})),E(0,["YY",2],0,(function(){return this.year()%100})),E(0,["YYYY",4],0,"year"),E(0,["YYYYY",5],0,"year"),E(0,["YYYYYY",6,!0],0,"year"),le("Y",ne),le("YY",J,B),le("YYYY",Q,G),le("YYYYY",ee,q),le("YYYYYY",ee,q),he(["YYYYY","YYYYYY"],ye),he("YYYY",(function(e,t){t[ye]=2===e.length?a.parseTwoDigitYear(e):me(e)})),he("YY",(function(e,t){t[ye]=a.parseTwoDigitYear(e)})),he("Y",(function(e,t){t[ye]=parseInt(e,10)})),a.parseTwoDigitYear=function(e){return me(e)+(me(e)>68?1900:2e3)};var Ce,Te=Ye("FullYear",!0);function Ye(e,t){return function(n){return null!=n?(je(this,e,n),a.updateOffset(this,t),this):$e(this,e)}}function $e(e,t){if(!e.isValid())return NaN;var n=e._d,i=e._isUTC;switch(t){case"Milliseconds":return i?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return i?n.getUTCSeconds():n.getSeconds();case"Minutes":return i?n.getUTCMinutes():n.getMinutes();case"Hours":return i?n.getUTCHours():n.getHours();case"Date":return i?n.getUTCDate():n.getDate();case"Day":return i?n.getUTCDay():n.getDay();case"Month":return i?n.getUTCMonth():n.getMonth();case"FullYear":return i?n.getUTCFullYear():n.getFullYear();default:return NaN}}function je(e,t,n){var i,a,o,r,s;if(e.isValid()&&!isNaN(n)){switch(i=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?i.setUTCMilliseconds(n):i.setMilliseconds(n));case"Seconds":return void(a?i.setUTCSeconds(n):i.setSeconds(n));case"Minutes":return void(a?i.setUTCMinutes(n):i.setMinutes(n));case"Hours":return void(a?i.setUTCHours(n):i.setHours(n));case"Date":return void(a?i.setUTCDate(n):i.setDate(n));case"FullYear":break;default:return}o=n,r=e.month(),s=29!==(s=e.date())||1!==r||ge(o)?s:28,a?i.setUTCFullYear(o,r,s):i.setFullYear(o,r,s)}}function Oe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=function(e,t){return(e%t+t)%t}(t,12);return e+=(t-n)/12,1===n?ge(e)?29:28:31-n%7%2}Ce=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},E("M",["MM",2],"Mo",(function(){return this.month()+1})),E("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),E("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),le("M",J,re),le("MM",J,B),le("MMM",(function(e,t){return t.monthsShortRegex(e)})),le("MMMM",(function(e,t){return t.monthsRegex(e)})),he(["M","MM"],(function(e,t){t[be]=me(e)-1})),he(["MMM","MMMM"],(function(e,t,n,i){var a=n._locale.monthsParse(e,i,n._strict);null!=a?t[be]=a:p(n).invalidMonth=e}));var Ie="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Pe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ee=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ae=oe,Fe=oe;function Ve(e,t,n){var i,a,o,r=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=h([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=Ce.call(this._shortMonthsParse,r))?a:null:-1!==(a=Ce.call(this._longMonthsParse,r))?a:null:"MMM"===t?-1!==(a=Ce.call(this._shortMonthsParse,r))||-1!==(a=Ce.call(this._longMonthsParse,r))?a:null:-1!==(a=Ce.call(this._longMonthsParse,r))||-1!==(a=Ce.call(this._shortMonthsParse,r))?a:null}function He(e,t){if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=me(t);else if(!c(t=e.localeData().monthsParse(t)))return e;var n=t,i=e.date();return i=i<29?i:Math.min(i,Oe(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,i):e._d.setMonth(n,i),e}function Re(e){return null!=e?(He(this,e),a.updateOffset(this,!0),this):$e(this,"Month")}function ze(){function e(e,t){return t.length-e.length}var t,n,i,a,o=[],r=[],s=[];for(t=0;t<12;t++)n=h([2e3,t]),i=ce(this.monthsShort(n,"")),a=ce(this.months(n,"")),o.push(i),r.push(a),s.push(a),s.push(i);o.sort(e),r.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Ne(e,t,n,i,a,o,r){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,i,a,o,r),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,a,o,r),s}function We(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Be(e,t,n){var i=7+t-n;return-(7+We(e,0,i).getUTCDay()-t)%7+i-1}function Ue(e,t,n,i,a){var o,r,s=1+7*(t-1)+(7+n-i)%7+Be(e,i,a);return s<=0?r=De(o=e-1)+s:s>De(e)?(o=e+1,r=s-De(e)):(o=e,r=s),{year:o,dayOfYear:r}}function Ge(e,t,n){var i,a,o=Be(e.year(),t,n),r=Math.floor((e.dayOfYear()-o-1)/7)+1;return r<1?i=r+qe(a=e.year()-1,t,n):r>qe(e.year(),t,n)?(i=r-qe(e.year(),t,n),a=e.year()+1):(a=e.year(),i=r),{week:i,year:a}}function qe(e,t,n){var i=Be(e,t,n),a=Be(e+1,t,n);return(De(e)-i+a)/7}E("w",["ww",2],"wo","week"),E("W",["WW",2],"Wo","isoWeek"),le("w",J,re),le("ww",J,B),le("W",J,re),le("WW",J,B),pe(["w","ww","W","WW"],(function(e,t,n,i){t[i.substr(0,1)]=me(e)}));function Je(e,t){return e.slice(t,7).concat(e.slice(0,t))}E("d",0,"do","day"),E("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),E("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),E("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),E("e",0,0,"weekday"),E("E",0,0,"isoWeekday"),le("d",J),le("e",J),le("E",J),le("dd",(function(e,t){return t.weekdaysMinRegex(e)})),le("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),le("dddd",(function(e,t){return t.weekdaysRegex(e)})),pe(["dd","ddd","dddd"],(function(e,t,n,i){var a=n._locale.weekdaysParse(e,i,n._strict);null!=a?t.d=a:p(n).invalidWeekday=e})),pe(["d","e","E"],(function(e,t,n,i){t[i]=me(e)}));var Ke="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Qe=oe,et=oe,tt=oe;function nt(e,t,n){var i,a,o,r=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=h([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=Ce.call(this._weekdaysParse,r))?a:null:"ddd"===t?-1!==(a=Ce.call(this._shortWeekdaysParse,r))?a:null:-1!==(a=Ce.call(this._minWeekdaysParse,r))?a:null:"dddd"===t?-1!==(a=Ce.call(this._weekdaysParse,r))||-1!==(a=Ce.call(this._shortWeekdaysParse,r))||-1!==(a=Ce.call(this._minWeekdaysParse,r))?a:null:"ddd"===t?-1!==(a=Ce.call(this._shortWeekdaysParse,r))||-1!==(a=Ce.call(this._weekdaysParse,r))||-1!==(a=Ce.call(this._minWeekdaysParse,r))?a:null:-1!==(a=Ce.call(this._minWeekdaysParse,r))||-1!==(a=Ce.call(this._weekdaysParse,r))||-1!==(a=Ce.call(this._shortWeekdaysParse,r))?a:null}function it(){function e(e,t){return t.length-e.length}var t,n,i,a,o,r=[],s=[],l=[],d=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),i=ce(this.weekdaysMin(n,"")),a=ce(this.weekdaysShort(n,"")),o=ce(this.weekdays(n,"")),r.push(i),s.push(a),l.push(o),d.push(i),d.push(a),d.push(o);r.sort(e),s.sort(e),l.sort(e),d.sort(e),this._weekdaysRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function at(){return this.hours()%12||12}function ot(e,t){E(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function rt(e,t){return t._meridiemParse}E("H",["HH",2],0,"hour"),E("h",["hh",2],0,at),E("k",["kk",2],0,(function(){return this.hours()||24})),E("hmm",0,0,(function(){return""+at.apply(this)+$(this.minutes(),2)})),E("hmmss",0,0,(function(){return""+at.apply(this)+$(this.minutes(),2)+$(this.seconds(),2)})),E("Hmm",0,0,(function(){return""+this.hours()+$(this.minutes(),2)})),E("Hmmss",0,0,(function(){return""+this.hours()+$(this.minutes(),2)+$(this.seconds(),2)})),ot("a",!0),ot("A",!1),le("a",rt),le("A",rt),le("H",J,se),le("h",J,re),le("k",J,re),le("HH",J,B),le("hh",J,B),le("kk",J,B),le("hmm",K),le("hmmss",X),le("Hmm",K),le("Hmmss",X),he(["H","HH"],we),he(["k","kk"],(function(e,t,n){var i=me(e);t[we]=24===i?0:i})),he(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),he(["h","hh"],(function(e,t,n){t[we]=me(e),p(n).bigHour=!0})),he("hmm",(function(e,t,n){var i=e.length-2;t[we]=me(e.substr(0,i)),t[Me]=me(e.substr(i)),p(n).bigHour=!0})),he("hmmss",(function(e,t,n){var i=e.length-4,a=e.length-2;t[we]=me(e.substr(0,i)),t[Me]=me(e.substr(i,2)),t[ke]=me(e.substr(a)),p(n).bigHour=!0})),he("Hmm",(function(e,t,n){var i=e.length-2;t[we]=me(e.substr(0,i)),t[Me]=me(e.substr(i))})),he("Hmmss",(function(e,t,n){var i=e.length-4,a=e.length-2;t[we]=me(e.substr(0,i)),t[Me]=me(e.substr(i,2)),t[ke]=me(e.substr(a))}));var st=Ye("Hours",!0);var lt,dt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ie,monthsShort:Pe,week:{dow:0,doy:6},weekdays:Ke,weekdaysMin:Ze,weekdaysShort:Xe,meridiemParse:/[ap]\.?m?\.?/i},ct={},ut={};function mt(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function ft(e){return e?e.toLowerCase().replace("_","-"):e}function ht(t){var i=null;if(void 0===ct[t]&&e&&e.exports&&function(e){return!(!e||!e.match("^[^/\\\\]*$"))}(t))try{i=lt._abbr,n(5358)("./"+t),pt(i)}catch(e){ct[t]=null}return ct[t]}function pt(e,t){var n;return e&&((n=d(t)?gt(e):_t(e,t))?lt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),lt._abbr}function _t(e,t){if(null!==t){var n,i=dt;if(t.abbr=e,null!=ct[e])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=ct[e]._config;else if(null!=t.parentLocale)if(null!=ct[t.parentLocale])i=ct[t.parentLocale]._config;else{if(null==(n=ht(t.parentLocale)))return ut[t.parentLocale]||(ut[t.parentLocale]=[]),ut[t.parentLocale].push({name:e,config:t}),null;i=n._config}return ct[e]=new Y(T(i,t)),ut[e]&&ut[e].forEach((function(e){_t(e.name,e.config)})),pt(e),ct[e]}return delete ct[e],null}function gt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return lt;if(!o(e)){if(t=ht(e))return t;e=[e]}return function(e){for(var t,n,i,a,o=0;o<e.length;){for(t=(a=ft(e[o]).split("-")).length,n=(n=ft(e[o+1]))?n.split("-"):null;t>0;){if(i=ht(a.slice(0,t).join("-")))return i;if(n&&n.length>=t&&mt(a,n)>=t-1)break;t--}o++}return lt}(e)}function yt(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[be]<0||n[be]>11?be:n[ve]<1||n[ve]>Oe(n[ye],n[be])?ve:n[we]<0||n[we]>24||24===n[we]&&(0!==n[Me]||0!==n[ke]||0!==n[Le])?we:n[Me]<0||n[Me]>59?Me:n[ke]<0||n[ke]>59?ke:n[Le]<0||n[Le]>999?Le:-1,p(e)._overflowDayOfYear&&(t<ye||t>ve)&&(t=ve),p(e)._overflowWeeks&&-1===t&&(t=Se),p(e)._overflowWeekday&&-1===t&&(t=xe),p(e).overflow=t),e}var bt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wt=/Z|[+-]\d\d(?::?\d\d)?/,Mt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],kt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Lt=/^\/?Date\((-?\d+)/i,St=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,xt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dt(e){var t,n,i,a,o,r,s=e._i,l=bt.exec(s)||vt.exec(s),d=Mt.length,c=kt.length;if(l){for(p(e).iso=!0,t=0,n=d;t<n;t++)if(Mt[t][1].exec(l[1])){a=Mt[t][0],i=!1!==Mt[t][2];break}if(null==a)return void(e._isValid=!1);if(l[3]){for(t=0,n=c;t<n;t++)if(kt[t][1].exec(l[3])){o=(l[2]||" ")+kt[t][0];break}if(null==o)return void(e._isValid=!1)}if(!i&&null!=o)return void(e._isValid=!1);if(l[4]){if(!wt.exec(l[4]))return void(e._isValid=!1);r="Z"}e._f=a+(o||"")+(r||""),jt(e)}else e._isValid=!1}function Ct(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Tt(e){var t,n,i,a,o,r,s,l,d=St.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(d){if(n=d[4],i=d[3],a=d[2],o=d[5],r=d[6],s=d[7],l=[Ct(n),Pe.indexOf(i),parseInt(a,10),parseInt(o,10),parseInt(r,10)],s&&l.push(parseInt(s,10)),t=l,!function(e,t,n){return!e||Xe.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(p(n).weekdayMismatch=!0,n._isValid=!1,!1)}(d[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return xt[e];if(t)return 0;var i=parseInt(n,10),a=i%100;return(i-a)/100*60+a}(d[8],d[9],d[10]),e._d=We.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function Yt(e,t,n){return null!=e?e:null!=t?t:n}function $t(e){var t,n,i,o,r,s=[];if(!e._d){for(i=function(e){var t=new Date(a.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[ve]&&null==e._a[be]&&function(e){var t,n,i,a,o,r,s,l,d;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,r=4,n=Yt(t.GG,e._a[ye],Ge(Pt(),1,4).year),i=Yt(t.W,1),((a=Yt(t.E,1))<1||a>7)&&(l=!0)):(o=e._locale._week.dow,r=e._locale._week.doy,d=Ge(Pt(),o,r),n=Yt(t.gg,e._a[ye],d.year),i=Yt(t.w,d.week),null!=t.d?((a=t.d)<0||a>6)&&(l=!0):null!=t.e?(a=t.e+o,(t.e<0||t.e>6)&&(l=!0)):a=o),i<1||i>qe(n,o,r)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=Ue(n,i,a,o,r),e._a[ye]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(r=Yt(e._a[ye],i[ye]),(e._dayOfYear>De(r)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=We(r,0,e._dayOfYear),e._a[be]=n.getUTCMonth(),e._a[ve]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[we]&&0===e._a[Me]&&0===e._a[ke]&&0===e._a[Le]&&(e._nextDay=!0,e._a[we]=0),e._d=(e._useUTC?We:Ne).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[we]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(p(e).weekdayMismatch=!0)}}function jt(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],p(e).empty=!0;var t,n,i,o,r,s,l,d=""+e._i,c=d.length,u=0;for(l=(i=F(e._f,e._locale).match(j)||[]).length,t=0;t<l;t++)o=i[t],(n=(d.match(de(o,e))||[])[0])&&((r=d.substr(0,d.indexOf(n))).length>0&&p(e).unusedInput.push(r),d=d.slice(d.indexOf(n)+n.length),u+=n.length),P[o]?(n?p(e).empty=!1:p(e).unusedTokens.push(o),_e(o,n,e)):e._strict&&!n&&p(e).unusedTokens.push(o);p(e).charsLeftOver=c-u,d.length>0&&p(e).unusedInput.push(d),e._a[we]<=12&&!0===p(e).bigHour&&e._a[we]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[we]=function(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[we],e._meridiem),null!==(s=p(e).era)&&(e._a[ye]=e._locale.erasConvertYear(s,e._a[ye])),$t(e),yt(e)}else Tt(e);else Dt(e)}function Ot(e){var t=e._i,n=e._f;return e._locale=e._locale||gt(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),M(t)?new w(yt(t)):(u(t)?e._d=t:o(n)?function(e){var t,n,i,a,o,r,s=!1,l=e._f.length;if(0===l)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;a<l;a++)o=0,r=!1,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],jt(t),_(t)&&(r=!0),o+=p(t).charsLeftOver,o+=10*p(t).unusedTokens.length,p(t).score=o,s?o<i&&(i=o,n=t):(null==i||o<i||r)&&(i=o,n=t,r&&(s=!0));f(e,n||t)}(e):n?jt(e):function(e){var t=e._i;d(t)?e._d=new Date(a.now()):u(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=Lt.exec(e._i);null===t?(Dt(e),!1===e._isValid&&(delete e._isValid,Tt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:a.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=m(t.slice(0),(function(e){return parseInt(e,10)})),$t(e)):r(t)?function(e){if(!e._d){var t=R(e._i),n=void 0===t.day?t.date:t.day;e._a=m([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),$t(e)}}(e):c(t)?e._d=new Date(t):a.createFromInputFallback(e)}(e),_(e)||(e._d=null),e))}function It(e,t,n,i,a){var s,d={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(r(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),d._isAMomentObject=!0,d._useUTC=d._isUTC=a,d._l=n,d._i=e,d._f=t,d._strict=i,(s=new w(yt(Ot(d))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Pt(e,t,n,i){return It(e,t,n,i,!1)}a.createFromInputFallback=L("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),a.ISO_8601=function(){},a.RFC_2822=function(){};var Et=L("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Pt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()})),At=L("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Pt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:g()}));function Ft(e,t){var n,i;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Pt();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Vt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ht(e){var t=R(e),n=t.year||0,i=t.quarter||0,a=t.month||0,o=t.week||t.isoWeek||0,r=t.day||0,l=t.hour||0,d=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=function(e){var t,n,i=!1,a=Vt.length;for(t in e)if(s(e,t)&&(-1===Ce.call(Vt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<a;++n)if(e[Vt[n]]){if(i)return!1;parseFloat(e[Vt[n]])!==me(e[Vt[n]])&&(i=!0)}return!0}(t),this._milliseconds=+u+1e3*c+6e4*d+1e3*l*60*60,this._days=+r+7*o,this._months=+a+3*i+12*n,this._data={},this._locale=gt(),this._bubble()}function Rt(e){return e instanceof Ht}function zt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Nt(e,t){E(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+$(~~(e/60),2)+t+$(~~e%60,2)}))}Nt("Z",":"),Nt("ZZ",""),le("Z",ae),le("ZZ",ae),he(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Bt(ae,e)}));var Wt=/([\+\-]|\d\d)/gi;function Bt(e,t){var n,i,a=(t||"").match(e);return null===a?null:0===(i=60*(n=((a[a.length-1]||[])+"").match(Wt)||["-",0,0])[1]+me(n[2]))?0:"+"===n[0]?i:-i}function Ut(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(M(e)||u(e)?e.valueOf():Pt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),a.updateOffset(n,!1),n):Pt(e).local()}function Gt(e){return-Math.round(e._d.getTimezoneOffset())}function qt(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var Jt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Kt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Xt(e,t){var n,i,a,o,r,l,d=e,u=null;return Rt(e)?d={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(d={},t?d[t]=+e:d.milliseconds=+e):(u=Jt.exec(e))?(n="-"===u[1]?-1:1,d={y:0,d:me(u[ve])*n,h:me(u[we])*n,m:me(u[Me])*n,s:me(u[ke])*n,ms:me(zt(1e3*u[Le]))*n}):(u=Kt.exec(e))?(n="-"===u[1]?-1:1,d={y:Zt(u[2],n),M:Zt(u[3],n),w:Zt(u[4],n),d:Zt(u[5],n),h:Zt(u[6],n),m:Zt(u[7],n),s:Zt(u[8],n)}):null==d?d={}:"object"==typeof d&&("from"in d||"to"in d)&&(o=Pt(d.from),r=Pt(d.to),a=o.isValid()&&r.isValid()?(r=Ut(r,o),o.isBefore(r)?l=Qt(o,r):((l=Qt(r,o)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(d={}).ms=a.milliseconds,d.M=a.months),i=new Ht(d),Rt(e)&&s(e,"_locale")&&(i._locale=e._locale),Rt(e)&&s(e,"_isValid")&&(i._isValid=e._isValid),i}function Zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Qt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function en(e,t){return function(n,i){var a;return null===i||isNaN(+i)||(D(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=i,i=a),tn(this,Xt(n,i),e),this}}function tn(e,t,n,i){var o=t._milliseconds,r=zt(t._days),s=zt(t._months);e.isValid()&&(i=null==i||i,s&&He(e,$e(e,"Month")+s*n),r&&je(e,"Date",$e(e,"Date")+r*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&a.updateOffset(e,r||s))}Xt.fn=Ht.prototype,Xt.invalid=function(){return Xt(NaN)};var nn=en(1,"add"),an=en(-1,"subtract");function on(e){return"string"==typeof e||e instanceof String}function rn(e){return M(e)||u(e)||on(e)||c(e)||function(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!c(t)&&on(e)})).length),t&&n}(e)||function(e){var t,n,i=r(e)&&!l(e),a=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],d=o.length;for(t=0;t<d;t+=1)n=o[t],a=a||s(e,n);return i&&a}(e)||null==e}function sn(e,t){if(e.date()<t.date())return-sn(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function ln(e){var t;return void 0===e?this._locale._abbr:(null!=(t=gt(e))&&(this._locale=t),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var dn=L("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function cn(){return this._locale}var un=1e3,mn=6e4,fn=36e5,hn=126227808e5;function pn(e,t){return(e%t+t)%t}function _n(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-hn:new Date(e,t,n).valueOf()}function gn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-hn:Date.UTC(e,t,n)}function yn(e,t){return t.erasAbbrRegex(e)}function bn(){var e,t,n,i,a,o=[],r=[],s=[],l=[],d=this.eras();for(e=0,t=d.length;e<t;++e)n=ce(d[e].name),i=ce(d[e].abbr),a=ce(d[e].narrow),r.push(n),o.push(i),s.push(a),l.push(n),l.push(i),l.push(a);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function vn(e,t){E(0,[e,e.length],0,t)}function wn(e,t,n,i,a){var o;return null==e?Ge(this,i,a).year:(t>(o=qe(e,i,a))&&(t=o),Mn.call(this,e,t,n,i,a))}function Mn(e,t,n,i,a){var o=Ue(e,t,n,i,a),r=We(o.year,0,o.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}E("N",0,0,"eraAbbr"),E("NN",0,0,"eraAbbr"),E("NNN",0,0,"eraAbbr"),E("NNNN",0,0,"eraName"),E("NNNNN",0,0,"eraNarrow"),E("y",["y",1],"yo","eraYear"),E("y",["yy",2],0,"eraYear"),E("y",["yyy",3],0,"eraYear"),E("y",["yyyy",4],0,"eraYear"),le("N",yn),le("NN",yn),le("NNN",yn),le("NNNN",(function(e,t){return t.erasNameRegex(e)})),le("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),he(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,i){var a=n._locale.erasParse(e,i,n._strict);a?p(n).era=a:p(n).invalidEra=e})),le("y",te),le("yy",te),le("yyy",te),le("yyyy",te),le("yo",(function(e,t){return t._eraYearOrdinalRegex||te})),he(["y","yy","yyy","yyyy"],ye),he(["yo"],(function(e,t,n,i){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ye]=n._locale.eraYearOrdinalParse(e,a):t[ye]=parseInt(e,10)})),E(0,["gg",2],0,(function(){return this.weekYear()%100})),E(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),vn("gggg","weekYear"),vn("ggggg","weekYear"),vn("GGGG","isoWeekYear"),vn("GGGGG","isoWeekYear"),le("G",ne),le("g",ne),le("GG",J,B),le("gg",J,B),le("GGGG",Q,G),le("gggg",Q,G),le("GGGGG",ee,q),le("ggggg",ee,q),pe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,i){t[i.substr(0,2)]=me(e)})),pe(["gg","GG"],(function(e,t,n,i){t[i]=a.parseTwoDigitYear(e)})),E("Q",0,"Qo","quarter"),le("Q",W),he("Q",(function(e,t){t[be]=3*(me(e)-1)})),E("D",["DD",2],"Do","date"),le("D",J,re),le("DD",J,B),le("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),he(["D","DD"],ve),he("Do",(function(e,t){t[ve]=me(e.match(J)[0])}));var kn=Ye("Date",!0);E("DDD",["DDDD",3],"DDDo","dayOfYear"),le("DDD",Z),le("DDDD",U),he(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=me(e)})),E("m",["mm",2],0,"minute"),le("m",J,se),le("mm",J,B),he(["m","mm"],Me);var Ln=Ye("Minutes",!1);E("s",["ss",2],0,"second"),le("s",J,se),le("ss",J,B),he(["s","ss"],ke);var Sn,xn,Dn=Ye("Seconds",!1);for(E("S",0,0,(function(){return~~(this.millisecond()/100)})),E(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),E(0,["SSS",3],0,"millisecond"),E(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),E(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),E(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),E(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),E(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),E(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),le("S",Z,W),le("SS",Z,B),le("SSS",Z,U),Sn="SSSS";Sn.length<=9;Sn+="S")le(Sn,te);function Cn(e,t){t[Le]=me(1e3*("0."+e))}for(Sn="S";Sn.length<=9;Sn+="S")he(Sn,Cn);xn=Ye("Milliseconds",!1),E("z",0,0,"zoneAbbr"),E("zz",0,0,"zoneName");var Tn=w.prototype;function Yn(e){return e}Tn.add=nn,Tn.calendar=function(e,t){1===arguments.length&&(arguments[0]?rn(arguments[0])?(e=arguments[0],t=void 0):function(e){var t,n=r(e)&&!l(e),i=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)i=i||s(e,a[t]);return n&&i}(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Pt(),i=Ut(n,this).startOf("day"),o=a.calendarFormat(this,i)||"sameElse",d=t&&(C(t[o])?t[o].call(this,n):t[o]);return this.format(d||this.localeData().calendar(o,this,Pt(n)))},Tn.clone=function(){return new w(this)},Tn.diff=function(e,t,n){var i,a,o;if(!this.isValid())return NaN;if(!(i=Ut(e,this)).isValid())return NaN;switch(a=6e4*(i.utcOffset()-this.utcOffset()),t=H(t)){case"year":o=sn(this,i)/12;break;case"month":o=sn(this,i);break;case"quarter":o=sn(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-a)/864e5;break;case"week":o=(this-i-a)/6048e5;break;default:o=this-i}return n?o:ue(o)},Tn.endOf=function(e){var t,n;if(void 0===(e=H(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gn:_n,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=fn-pn(t+(this._isUTC?0:this.utcOffset()*mn),fn)-1;break;case"minute":t=this._d.valueOf(),t+=mn-pn(t,mn)-1;break;case"second":t=this._d.valueOf(),t+=un-pn(t,un)-1}return this._d.setTime(t),a.updateOffset(this,!0),this},Tn.format=function(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=A(this,e);return this.localeData().postformat(t)},Tn.from=function(e,t){return this.isValid()&&(M(e)&&e.isValid()||Pt(e).isValid())?Xt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Tn.fromNow=function(e){return this.from(Pt(),e)},Tn.to=function(e,t){return this.isValid()&&(M(e)&&e.isValid()||Pt(e).isValid())?Xt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Tn.toNow=function(e){return this.to(Pt(),e)},Tn.get=function(e){return C(this[e=H(e)])?this[e]():this},Tn.invalidAt=function(){return p(this).overflow},Tn.isAfter=function(e,t){var n=M(e)?e:Pt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=H(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},Tn.isBefore=function(e,t){var n=M(e)?e:Pt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=H(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},Tn.isBetween=function(e,t,n,i){var a=M(e)?e:Pt(e),o=M(t)?t:Pt(t);return!!(this.isValid()&&a.isValid()&&o.isValid())&&("("===(i=i||"()")[0]?this.isAfter(a,n):!this.isBefore(a,n))&&(")"===i[1]?this.isBefore(o,n):!this.isAfter(o,n))},Tn.isSame=function(e,t){var n,i=M(e)?e:Pt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=H(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},Tn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},Tn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},Tn.isValid=function(){return _(this)},Tn.lang=dn,Tn.locale=ln,Tn.localeData=cn,Tn.max=At,Tn.min=Et,Tn.parsingFlags=function(){return f({},p(this))},Tn.set=function(e,t){if("object"==typeof e){var n,i=function(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:z[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=R(e)),a=i.length;for(n=0;n<a;n++)this[i[n].unit](e[i[n].unit])}else if(C(this[e=H(e)]))return this[e](t);return this},Tn.startOf=function(e){var t,n;if(void 0===(e=H(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gn:_n,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=pn(t+(this._isUTC?0:this.utcOffset()*mn),fn);break;case"minute":t=this._d.valueOf(),t-=pn(t,mn);break;case"second":t=this._d.valueOf(),t-=pn(t,un)}return this._d.setTime(t),a.updateOffset(this,!0),this},Tn.subtract=an,Tn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},Tn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},Tn.toDate=function(){return new Date(this.valueOf())},Tn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?A(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):C(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",A(n,"Z")):A(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Tn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,i="moment",a="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=a+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Tn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Tn.toJSON=function(){return this.isValid()?this.toISOString():null},Tn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Tn.unix=function(){return Math.floor(this.valueOf()/1e3)},Tn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Tn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Tn.eraName=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].name;if(i[e].until<=n&&n<=i[e].since)return i[e].name}return""},Tn.eraNarrow=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].narrow;if(i[e].until<=n&&n<=i[e].since)return i[e].narrow}return""},Tn.eraAbbr=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].abbr;if(i[e].until<=n&&n<=i[e].since)return i[e].abbr}return""},Tn.eraYear=function(){var e,t,n,i,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,i=this.clone().startOf("day").valueOf(),o[e].since<=i&&i<=o[e].until||o[e].until<=i&&i<=o[e].since)return(this.year()-a(o[e].since).year())*n+o[e].offset;return this.year()},Tn.year=Te,Tn.isLeapYear=function(){return ge(this.year())},Tn.weekYear=function(e){return wn.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},Tn.isoWeekYear=function(e){return wn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Tn.quarter=Tn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Tn.month=Re,Tn.daysInMonth=function(){return Oe(this.year(),this.month())},Tn.week=Tn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Tn.isoWeek=Tn.isoWeeks=function(e){var t=Ge(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Tn.weeksInYear=function(){var e=this.localeData()._week;return qe(this.year(),e.dow,e.doy)},Tn.weeksInWeekYear=function(){var e=this.localeData()._week;return qe(this.weekYear(),e.dow,e.doy)},Tn.isoWeeksInYear=function(){return qe(this.year(),1,4)},Tn.isoWeeksInISOWeekYear=function(){return qe(this.isoWeekYear(),1,4)},Tn.date=kn,Tn.day=Tn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=$e(this,"Day");return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},Tn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},Tn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},Tn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},Tn.hour=Tn.hours=st,Tn.minute=Tn.minutes=Ln,Tn.second=Tn.seconds=Dn,Tn.millisecond=Tn.milliseconds=xn,Tn.utcOffset=function(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Bt(ae,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Gt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?tn(this,Xt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Gt(this)},Tn.utc=function(e){return this.utcOffset(0,e)},Tn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Gt(this),"m")),this},Tn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Bt(ie,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},Tn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Pt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Tn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Tn.isLocal=function(){return!!this.isValid()&&!this._isUTC},Tn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Tn.isUtc=qt,Tn.isUTC=qt,Tn.zoneAbbr=function(){return this._isUTC?"UTC":""},Tn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Tn.dates=L("dates accessor is deprecated. Use date instead.",kn),Tn.months=L("months accessor is deprecated. Use month instead",Re),Tn.years=L("years accessor is deprecated. Use year instead",Te),Tn.zone=L("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),Tn.isDSTShifted=L("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!d(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=Ot(t))._a?(e=t._isUTC?h(t._a):Pt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var i,a=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),r=0;for(i=0;i<a;i++)(n&&e[i]!==t[i]||!n&&me(e[i])!==me(t[i]))&&r++;return r+o}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var $n=Y.prototype;function jn(e,t,n,i){var a=gt(),o=h().set(i,t);return a[n](o,e)}function On(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return jn(e,t,n,"month");var i,a=[];for(i=0;i<12;i++)a[i]=jn(e,i,n,"month");return a}function In(e,t,n,i){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var a,o=gt(),r=e?o._week.dow:0,s=[];if(null!=n)return jn(t,(n+r)%7,i,"day");for(a=0;a<7;a++)s[a]=jn(t,(a+r)%7,i,"day");return s}$n.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return C(i)?i.call(t,n):i},$n.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(j).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},$n.invalidDate=function(){return this._invalidDate},$n.ordinal=function(e){return this._ordinal.replace("%d",e)},$n.preparse=Yn,$n.postformat=Yn,$n.relativeTime=function(e,t,n,i){var a=this._relativeTime[n];return C(a)?a(e,t,n,i):a.replace(/%d/i,e)},$n.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return C(n)?n(t):n.replace(/%s/i,t)},$n.set=function(e){var t,n;for(n in e)s(e,n)&&(C(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},$n.eras=function(e,t){var n,i,o,r=this._eras||gt("en")._eras;for(n=0,i=r.length;n<i;++n)switch("string"==typeof r[n].since&&(o=a(r[n].since).startOf("day"),r[n].since=o.valueOf()),typeof r[n].until){case"undefined":r[n].until=1/0;break;case"string":o=a(r[n].until).startOf("day").valueOf(),r[n].until=o.valueOf()}return r},$n.erasParse=function(e,t,n){var i,a,o,r,s,l=this.eras();for(e=e.toUpperCase(),i=0,a=l.length;i<a;++i)if(o=l[i].name.toUpperCase(),r=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(r===e)return l[i];break;case"NNNN":if(o===e)return l[i];break;case"NNNNN":if(s===e)return l[i]}else if([o,r,s].indexOf(e)>=0)return l[i]},$n.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n},$n.erasAbbrRegex=function(e){return s(this,"_erasAbbrRegex")||bn.call(this),e?this._erasAbbrRegex:this._erasRegex},$n.erasNameRegex=function(e){return s(this,"_erasNameRegex")||bn.call(this),e?this._erasNameRegex:this._erasRegex},$n.erasNarrowRegex=function(e){return s(this,"_erasNarrowRegex")||bn.call(this),e?this._erasNarrowRegex:this._erasRegex},$n.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ee).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},$n.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ee.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},$n.monthsParse=function(e,t,n){var i,a,o;if(this._monthsParseExact)return Ve.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(a=h([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},$n.monthsRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||ze.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=Fe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},$n.monthsShortRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||ze.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Ae),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},$n.week=function(e){return Ge(e,this._week.dow,this._week.doy).week},$n.firstDayOfYear=function(){return this._week.doy},$n.firstDayOfWeek=function(){return this._week.dow},$n.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Je(n,this._week.dow):e?n[e.day()]:n},$n.weekdaysMin=function(e){return!0===e?Je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},$n.weekdaysShort=function(e){return!0===e?Je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},$n.weekdaysParse=function(e,t,n){var i,a,o;if(this._weekdaysParseExact)return nt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(a=h([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},$n.weekdaysRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Qe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},$n.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=et),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},$n.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},$n.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},$n.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},pt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===me(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),a.lang=L("moment.lang is deprecated. Use moment.locale instead.",pt),a.langData=L("moment.langData is deprecated. Use moment.localeData instead.",gt);var Pn=Math.abs;function En(e,t,n,i){var a=Xt(t,n);return e._milliseconds+=i*a._milliseconds,e._days+=i*a._days,e._months+=i*a._months,e._bubble()}function An(e){return e<0?Math.floor(e):Math.ceil(e)}function Fn(e){return 4800*e/146097}function Vn(e){return 146097*e/4800}function Hn(e){return function(){return this.as(e)}}var Rn=Hn("ms"),zn=Hn("s"),Nn=Hn("m"),Wn=Hn("h"),Bn=Hn("d"),Un=Hn("w"),Gn=Hn("M"),qn=Hn("Q"),Jn=Hn("y"),Kn=Rn;function Xn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Zn=Xn("milliseconds"),Qn=Xn("seconds"),ei=Xn("minutes"),ti=Xn("hours"),ni=Xn("days"),ii=Xn("months"),ai=Xn("years");var oi=Math.round,ri={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function si(e,t,n,i,a){return a.relativeTime(t||1,!!n,e,i)}var li=Math.abs;function di(e){return(e>0)-(e<0)||+e}function ci(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,a,o,r,s,l=li(this._milliseconds)/1e3,d=li(this._days),c=li(this._months),u=this.asSeconds();return u?(e=ue(l/60),t=ue(e/60),l%=60,e%=60,n=ue(c/12),c%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",a=u<0?"-":"",o=di(this._months)!==di(u)?"-":"",r=di(this._days)!==di(u)?"-":"",s=di(this._milliseconds)!==di(u)?"-":"",a+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(d?r+d+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+i+"S":"")):"P0D"}var ui=Ht.prototype;return ui.isValid=function(){return this._isValid},ui.abs=function(){var e=this._data;return this._milliseconds=Pn(this._milliseconds),this._days=Pn(this._days),this._months=Pn(this._months),e.milliseconds=Pn(e.milliseconds),e.seconds=Pn(e.seconds),e.minutes=Pn(e.minutes),e.hours=Pn(e.hours),e.months=Pn(e.months),e.years=Pn(e.years),this},ui.add=function(e,t){return En(this,e,t,1)},ui.subtract=function(e,t){return En(this,e,t,-1)},ui.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=H(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+Fn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Vn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},ui.asMilliseconds=Rn,ui.asSeconds=zn,ui.asMinutes=Nn,ui.asHours=Wn,ui.asDays=Bn,ui.asWeeks=Un,ui.asMonths=Gn,ui.asQuarters=qn,ui.asYears=Jn,ui.valueOf=Kn,ui._bubble=function(){var e,t,n,i,a,o=this._milliseconds,r=this._days,s=this._months,l=this._data;return o>=0&&r>=0&&s>=0||o<=0&&r<=0&&s<=0||(o+=864e5*An(Vn(s)+r),r=0,s=0),l.milliseconds=o%1e3,e=ue(o/1e3),l.seconds=e%60,t=ue(e/60),l.minutes=t%60,n=ue(t/60),l.hours=n%24,r+=ue(n/24),s+=a=ue(Fn(r)),r-=An(Vn(a)),i=ue(s/12),s%=12,l.days=r,l.months=s,l.years=i,this},ui.clone=function(){return Xt(this)},ui.get=function(e){return e=H(e),this.isValid()?this[e+"s"]():NaN},ui.milliseconds=Zn,ui.seconds=Qn,ui.minutes=ei,ui.hours=ti,ui.days=ni,ui.weeks=function(){return ue(this.days()/7)},ui.months=ii,ui.years=ai,ui.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,a=!1,o=ri;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(a=e),"object"==typeof t&&(o=Object.assign({},ri,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),i=function(e,t,n,i){var a=Xt(e).abs(),o=oi(a.as("s")),r=oi(a.as("m")),s=oi(a.as("h")),l=oi(a.as("d")),d=oi(a.as("M")),c=oi(a.as("w")),u=oi(a.as("y")),m=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||r<=1&&["m"]||r<n.m&&["mm",r]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(m=m||c<=1&&["w"]||c<n.w&&["ww",c]),(m=m||d<=1&&["M"]||d<n.M&&["MM",d]||u<=1&&["y"]||["yy",u])[2]=t,m[3]=+e>0,m[4]=i,si.apply(null,m)}(this,!a,o,n=this.localeData()),a&&(i=n.pastFuture(+this,i)),n.postformat(i)},ui.toISOString=ci,ui.toString=ci,ui.toJSON=ci,ui.locale=ln,ui.localeData=cn,ui.toIsoString=L("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ci),ui.lang=dn,E("X",0,0,"unix"),E("x",0,0,"valueOf"),le("x",ne),le("X",/[+-]?\d+(\.\d{1,3})?/),he("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),he("x",(function(e,t,n){n._d=new Date(me(e))})),a.version="2.30.1",t=Pt,a.fn=Tn,a.min=function(){return Ft("isBefore",[].slice.call(arguments,0))},a.max=function(){return Ft("isAfter",[].slice.call(arguments,0))},a.now=function(){return Date.now?Date.now():+new Date},a.utc=h,a.unix=function(e){return Pt(1e3*e)},a.months=function(e,t){return On(e,t,"months")},a.isDate=u,a.locale=pt,a.invalid=g,a.duration=Xt,a.isMoment=M,a.weekdays=function(e,t,n){return In(e,t,n,"weekdays")},a.parseZone=function(){return Pt.apply(null,arguments).parseZone()},a.localeData=gt,a.isDuration=Rt,a.monthsShort=function(e,t){return On(e,t,"monthsShort")},a.weekdaysMin=function(e,t,n){return In(e,t,n,"weekdaysMin")},a.defineLocale=_t,a.updateLocale=function(e,t){if(null!=t){var n,i,a=dt;null!=ct[e]&&null!=ct[e].parentLocale?ct[e].set(T(ct[e]._config,t)):(null!=(i=ht(e))&&(a=i._config),t=T(a,t),null==i&&(t.abbr=e),(n=new Y(t)).parentLocale=ct[e],ct[e]=n),pt(e)}else null!=ct[e]&&(null!=ct[e].parentLocale?(ct[e]=ct[e].parentLocale,e===pt()&&pt(e)):null!=ct[e]&&delete ct[e]);return ct[e]},a.locales=function(){return S(ct)},a.weekdaysShort=function(e,t,n){return In(e,t,n,"weekdaysShort")},a.normalizeUnits=H,a.relativeTimeRounding=function(e){return void 0===e?oi:"function"==typeof e&&(oi=e,!0)},a.relativeTimeThreshold=function(e,t){return void 0!==ri[e]&&(void 0===t?ri[e]:(ri[e]=t,"s"===e&&(ri.ss=t-1),!0))},a.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},a.prototype=Tn,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()},5096:function(e,t,n){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(5093))},5129:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o),s=n(6245),l=r()(a());l.i(s.A),l.push([e.id,"\n",""]),t.A=l},5177:function(e,t,n){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5093))},5217:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},a=c(n(7146)),o=n(7049),r=c(n(1658)),s=c(n(1733)),l=c(n(8021)),d=n(2230);function c(e){return e&&e.__esModule?e:{default:e}}var u={center:{required:!0,twoWay:!0,type:Object,noBind:!0},zoom:{required:!1,twoWay:!0,type:Number,noBind:!0},heading:{type:Number,twoWay:!0},mapTypeId:{twoWay:!0,type:String},tilt:{twoWay:!0,type:Number},options:{type:Object,default:function(){return{}}}},m=["bounds_changed","click","dblclick","drag","dragend","dragstart","idle","mousemove","mouseout","mouseover","resize","rightclick","tilesloaded"],f=["panBy","panTo","panToBounds","fitBounds"].reduce((function(e,t){return e[t]=function(){this.$mapObject&&this.$mapObject[t].apply(this.$mapObject,arguments)},e}),{}),h={resize:function(){this.$mapObject&&google.maps.event.trigger(this.$mapObject,"resize")},resizePreserveCenter:function(){if(this.$mapObject){var e=this.$mapObject.getCenter();google.maps.event.trigger(this.$mapObject,"resize"),this.$mapObject.setCenter(e)}},_resizeCallback:function(){this.resizePreserveCenter()}};t.default={mixins:[r.default],props:(0,d.mappedPropsToVueProps)(u),provide:function(){var e=this;return this.$mapPromise=new Promise((function(t,n){e.$mapPromiseDeferred={resolve:t,reject:n}})),{$mapPromise:this.$mapPromise}},computed:{finalLat:function(){return this.center&&"function"==typeof this.center.lat?this.center.lat():this.center.lat},finalLng:function(){return this.center&&"function"==typeof this.center.lng?this.center.lng():this.center.lng},finalLatLng:function(){return{lat:this.finalLat,lng:this.finalLng}}},watch:{zoom:function(e){this.$mapObject&&this.$mapObject.setZoom(e)}},mounted:function(){var e=this;return this.$gmapApiPromiseLazy().then((function(){var t=e.$refs["vue-map"],n=i({},e.options,(0,o.getPropsValues)(e,u));return delete n.options,e.$mapObject=new google.maps.Map(t,n),(0,o.bindProps)(e,e.$mapObject,u),(0,a.default)(e,e.$mapObject,m),(0,s.default)((function(t,n,i){e.$mapObject.addListener("center_changed",(function(){i()&&e.$emit("center_changed",e.$mapObject.getCenter()),n()})),(0,l.default)(e,["finalLat","finalLng"],(function(){t(),e.$mapObject.setCenter(e.finalLatLng)}))})),e.$mapObject.addListener("zoom_changed",(function(){e.$emit("zoom_changed",e.$mapObject.getZoom())})),e.$mapObject.addListener("bounds_changed",(function(){e.$emit("bounds_changed",e.$mapObject.getBounds())})),e.$mapPromiseDeferred.resolve(e.$mapObject),e.$mapObject})).catch((function(e){throw e}))},methods:i({},h,f)}},5241:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{ref:"flyaway"},[e._t("default")],2)])};i._withStripped=!0;var a,o=(a=n(4287)).default||a,r=(0,n(4486).A)(o,i,[],!1,null,null,null);r.options.__file="node_modules/vue2-google-maps/dist/components/infoWindow.vue";var s=r.exports},5281:function(e,t,n){"use strict";n.d(t,{A:function(){return m}});var i=n(9795),a=n(6773),o=n.n(a),r=class{constructor(e,t={}){this._fnBatchLoad=e,this._options=t,this._queue=[]}async load(e){let t=await this.loads(e);return o().get(t,"0")}loads(...e){return new Promise(((t,n)=>{this._queue.push({keys:e,resolve:t,reject:n}),1==this._queue.length&&this.nextTick((()=>{this.process()}))}))}nextTick(e){setTimeout(e,0)}process(){let e=this._queue;this._queue=[];let t={};o().each(e,(e=>{o().each(e.keys,(e=>t[e]=null))}));let n=o().keys(t);this._fnBatchLoad(n).then((i=>{o().each(n,((e,n)=>{t[e]=i[n]})),o().each(e,(({keys:e,resolve:n})=>{n(o().map(e,(e=>t[e])))}))})).catch((t=>{o().each(e,(({reject:e})=>e(t)))}))}},s=n(5360),l=n.n(s);const d=async(e,t,n)=>{if(t.setNetworking(!0),t.netHeader&&(e.headers={common:t.netHeader}),e.params=_.merge({},e.params,n),t.env.ignore_levels&&_.set(e.params,"ignore_levels",!0),(0,i.Fr)()){let t=zj.utils.pageParam().token;e.params=_.merge({token:t,platform:"phone"},e.params)}e.isSilentOnErr=e=>{let t=_.get(e,"data.result");return t>=19e6||t<=19999999};let a=_.cloneDeep(e);if(a.can_custom_org_params){let e=_.cloneDeep(_.get(t,"orgInfo",{}));console.log("bpm3_orgInfo",e),e.custom_page_level&&(a.params.page_level=e.custom_page_level),e.custom_group_id&&(a.params.group_id=e.custom_group_id),e.custom_team_id&&(a.params.team_id=e.custom_team_id),e.custom_project_id&&(a.params.project_id=e.custom_project_id)}console.log("bpm3_orgInfo_reqArgs",a);let o=await zj.net.request(a);return t.setNetworking(!1),o},c={},u={};var m={assistSelectEntranceForm:{getListDefinition(e,{formDefId:t,fieldDefId:n,orgInfo:i,isDm:a}){return d({url:`/app_flow/v1/papi/assist_select_entrance_form/${t}/${n}/list_definition/`,method:"GET"},e,i)},getOptions(e,{formDefId:t,fieldDefId:n,orgInfo:i,isDm:a},o){return d({url:`/app_flow/v1/papi/assist_select_entrance_form/${t}/${n}/list_search/`,method:"GET",params:o},e,i)},getListSelected(e,{formDefId:t,fieldDefId:n,orgInfo:i,isDm:a},o){return d({url:`/app_flow/v1/papi/assist_select_entrance_form/${t}/${n}/list_selected/`,method:"GET",params:o},e,i)}},assistField:{getBatchLoader(e,{formDefId:t,fieldDefId:n,orgInfo:i,uniqueId:a}){const o=`${t}/${n}`,s=c[o]||new r((async o=>{let r=`/app_flow/v1/papi/assist_field/${t}/${n}/list_title/`;const s=await d({url:r,method:"GET",params:{values:JSON.stringify(o)}},e,i),l=_.get(s,"data.data.data",{});let c=[];return _.map(o,(e=>{a?(e=JSON.parse(e),e=_.get(e,`${a}`),c=_.concat(c,l[e])):c=_.concat(c,l[e])})),c}));return c[o]=s,s},getTitle(e,{formDefId:t,fieldDefId:n,orgInfo:i,isDm:a},o){return d({url:`/app_flow/v1/papi/assist_field/${t}/${n}/list_title/`,method:"GET",params:{values:JSON.stringify(o)}},e,i)},async searchSelectOpts(e,{formDefId:t,fieldDefId:n,orgInfo:i,isDm:a},o={},r=""){r&&(o.q=r);let s=a?`/app_flow/v1/papi/dm/assist_field/${t}/${n}/search_title/`:`/app_flow/v1/papi/assist_field/${t}/${n}/search_title/`,l=`${t}/${n}/${r}/${JSON.stringify(i)}/${JSON.stringify(o)}`,c={};return u[l]&&"loading"==u[l]?(console.log("有缓存,返回"),await this.waitCacheMapData(l)):(!u[l]||(new Date).getTime()-u[l].last_time>6e4?(u[l]="loading",c=await d({url:s,method:a?"GET":"POST",data:o,can_custom_org_params:!0},e,i),u[l]={last_time:(new Date).getTime(),result:c}):(console.log("有缓存"),u[l].result&&(c=u[l].result)),c)},waitCacheMapData(e){return new Promise((t=>{let n=setInterval((()=>{u[e]&&"loading"!=u[e]&&u[e].result&&(clearInterval(n),t(u[e].result))}),100)}))},selectFromMulFormSearchOpts(e,{formDefId:t,fieldDefId:n,orgInfo:i,isDm:a},o={},r=""){return r&&(o.q=r),d({url:a?`/app_flow/v1/papi/dm/assist_field/select_form_mul_form/${t}/${n}/search_title/`:`/app_flow/v1/papi/assist_field/select_form_mul_form/${t}/${n}/search_title/`,method:"GET",params:o},e,i)},selectFromMulFormListTitleLoader(e,{formDefId:t,fieldDefId:n,orgInfo:i,isDm:a}){const o=`${t}/${n}`,s=c[o]||new r((async o=>{let r=a?`/app_flow/v1/papi/dm/assist_field/select_form_mul_form/${t}/${n}/list_title/`:`/app_flow/v1/papi/assist_field/select_form_mul_form/${t}/${n}/list_title/`;const s=await d({url:r,method:"GET",params:{values:JSON.stringify(o)}},e,i),l=_.get(s.data,"data.items",[]),c={};l.forEach((e=>{Object.keys(e.data).forEach((t=>{let n=e.data[t];c[t]={form_def_id:_.get(e,"definition.form.id"),form_title:_.get(e,"definition.form.name"),label:n}}))}));let u=[];return o.forEach((e=>{u.push(c[e])})),u}));return c[o]=s,s},selectFromMulFormListTitle(e,{formDefId:t,fieldDefId:n,orgInfo:i,isDm:a},o){return d({url:a?`/app_flow/v1/papi/dm/assist_field/select_form_mul_form/${t}/${n}/list_title/`:`/app_flow/v1/papi/assist_field/select_form_mul_form/${t}/${n}/list_title/`,method:"GET",params:{values:JSON.stringify(o)}},e,i)}},assistTreeField:{searchSelectOpts(e,{formDefId:t,fieldDefId:n,orgInfo:i,isDm:a},o={},r=""){return r&&(o.q=r),d({url:a?`/app_flow/v1/papi/dm/assist_tree_field/${t}/${n}/search_title/`:`/app_flow/v1/papi/assist_tree_field/${t}/${n}/search_title/`,method:"GET",params:o,can_custom_org_params:!0},e,i)}},assistUserTaskCC:{searchSelectOpts(e,{formDefId:t,node:n,orgInfo:i,isDm:a},o={},r=""){return r&&(o.q=r),d({url:`/app_flow/v1/papi/assist_user_task_cc/${t}/${n}/search_title/`,method:"GET",params:o},e,i)}},OCR:{getCreatedTaskList(e){return zj.net.w.noapi({url:"/base_srv_module/v2/gapi/task/async_notify_list",method:"POST",data:l().stringify({group_id:zj.pageParam().group_id||0,file_md5:e})})},getTaskId(e){return zj.net.w.noapi({url:"/base_srv_module/v2/gapi/task/async_notify_submit",method:"POST",data:l().stringify({group_id:zj.pageParam().group_id||0,name:"OCR识别MD5_"+e,vendor_code:"csmart",enable_notify:0,task_type:1,creator:zj.app.accessInfo.user_id,file_md5:e})})},getOcrResult(e){return zj.net.w.noapi({url:"/base_srv_module/v2/gapi/task/detail",method:"POST",data:l().stringify(e)})},ocrCreateForm(e,t){return zj.net.w.noapi.json({url:"/app_flow/v1/papi/ocr_create/submit",method:"POST",params:t,data:e})}}}},5333:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(5765),a=n(9029),o=n(4227),r=n(4227),s={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,data:s,parentSchema:l,it:d}=e,{opts:c}=d,u=(0,i.allSchemaProperties)(n),m=u.filter((e=>(0,o.alwaysValidSchema)(d,n[e])));if(0===u.length||m.length===u.length&&(!d.opts.unevaluated||!0===d.props))return;const f=c.strictSchema&&!c.allowMatchingProperties&&l.properties,h=t.name("valid");!0===d.props||d.props instanceof a.Name||(d.props=(0,r.evaluatedPropsToName)(t,d.props));const{props:p}=d;function _(e){for(const t in f)new RegExp(e).test(t)&&(0,o.checkStrictMode)(d,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function g(n){t.forIn("key",s,(o=>{t.if(a._`${(0,i.usePattern)(e,n)}.test(${o})`,(()=>{const i=m.includes(n);i||e.subschema({keyword:"patternProperties",schemaProp:n,dataProp:o,dataPropType:r.Type.Str},h),d.opts.unevaluated&&!0!==p?t.assign(a._`${p}[${o}]`,!0):i||d.allErrors||t.if((0,a.not)(h),(()=>t.break()))}))}))}!function(){for(const e of u)f&&_(e),d.allErrors?g(e):(t.var(h,!0),g(e),t.if(h))}()}};t.default=s},5344:function(e){e.exports=function(){return this.jQuery}()},5354:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(494),a={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,i.validateTuple)(e,"items")};t.default=a},5358:function(e,t,n){var i={"./af":5177,"./af.js":5177,"./ar":1509,"./ar-dz":1488,"./ar-dz.js":1488,"./ar-kw":8676,"./ar-kw.js":8676,"./ar-ly":2353,"./ar-ly.js":2353,"./ar-ma":4496,"./ar-ma.js":4496,"./ar-ps":6947,"./ar-ps.js":6947,"./ar-sa":2682,"./ar-sa.js":2682,"./ar-tn":9756,"./ar-tn.js":9756,"./ar.js":1509,"./az":5533,"./az.js":5533,"./be":8959,"./be.js":8959,"./bg":7777,"./bg.js":7777,"./bm":4903,"./bm.js":4903,"./bn":1290,"./bn-bd":7357,"./bn-bd.js":7357,"./bn.js":1290,"./bo":1545,"./bo.js":1545,"./br":1470,"./br.js":1470,"./bs":4429,"./bs.js":4429,"./ca":7306,"./ca.js":7306,"./cs":6464,"./cs.js":6464,"./cv":3635,"./cv.js":3635,"./cy":4226,"./cy.js":4226,"./da":3601,"./da.js":3601,"./de":7853,"./de-at":6111,"./de-at.js":6111,"./de-ch":4697,"./de-ch.js":4697,"./de.js":7853,"./dv":708,"./dv.js":708,"./el":4691,"./el.js":4691,"./en-au":3872,"./en-au.js":3872,"./en-ca":8298,"./en-ca.js":8298,"./en-gb":6195,"./en-gb.js":6195,"./en-ie":6584,"./en-ie.js":6584,"./en-il":5543,"./en-il.js":5543,"./en-in":9033,"./en-in.js":9033,"./en-nz":9402,"./en-nz.js":9402,"./en-sg":3004,"./en-sg.js":3004,"./eo":2934,"./eo.js":2934,"./es":7650,"./es-do":838,"./es-do.js":838,"./es-mx":7730,"./es-mx.js":7730,"./es-us":6575,"./es-us.js":6575,"./es.js":7650,"./et":3035,"./et.js":3035,"./eu":3508,"./eu.js":3508,"./fa":119,"./fa.js":119,"./fi":527,"./fi.js":527,"./fil":5995,"./fil.js":5995,"./fo":2477,"./fo.js":2477,"./fr":5498,"./fr-ca":6435,"./fr-ca.js":6435,"./fr-ch":7892,"./fr-ch.js":7892,"./fr.js":5498,"./fy":7071,"./fy.js":7071,"./ga":1734,"./ga.js":1734,"./gd":217,"./gd.js":217,"./gl":7329,"./gl.js":7329,"./gom-deva":2124,"./gom-deva.js":2124,"./gom-latn":3383,"./gom-latn.js":3383,"./gu":5050,"./gu.js":5050,"./he":1713,"./he.js":1713,"./hi":3861,"./hi.js":3861,"./hr":6308,"./hr.js":6308,"./hu":609,"./hu.js":609,"./hy-am":7160,"./hy-am.js":7160,"./id":4063,"./id.js":4063,"./is":9374,"./is.js":9374,"./it":8383,"./it-ch":1827,"./it-ch.js":1827,"./it.js":8383,"./ja":3827,"./ja.js":3827,"./jv":9722,"./jv.js":9722,"./ka":1794,"./ka.js":1794,"./kk":7088,"./kk.js":7088,"./km":6870,"./km.js":6870,"./kn":4451,"./kn.js":4451,"./ko":3164,"./ko.js":3164,"./ku":8174,"./ku-kmr":6181,"./ku-kmr.js":6181,"./ku.js":8174,"./ky":8474,"./ky.js":8474,"./lb":9680,"./lb.js":9680,"./lo":5867,"./lo.js":5867,"./lt":5766,"./lt.js":5766,"./lv":9532,"./lv.js":9532,"./me":8076,"./me.js":8076,"./mi":1848,"./mi.js":1848,"./mk":306,"./mk.js":306,"./ml":3739,"./ml.js":3739,"./mn":9053,"./mn.js":9053,"./mr":6169,"./mr.js":6169,"./ms":3386,"./ms-my":2297,"./ms-my.js":2297,"./ms.js":3386,"./mt":7075,"./mt.js":7075,"./my":2264,"./my.js":2264,"./nb":2274,"./nb.js":2274,"./ne":8235,"./ne.js":8235,"./nl":2572,"./nl-be":3784,"./nl-be.js":3784,"./nl.js":2572,"./nn":4566,"./nn.js":4566,"./oc-lnc":9330,"./oc-lnc.js":9330,"./pa-in":9849,"./pa-in.js":9849,"./pl":4418,"./pl.js":4418,"./pt":9834,"./pt-br":8303,"./pt-br.js":8303,"./pt.js":9834,"./ro":4457,"./ro.js":4457,"./ru":2271,"./ru.js":2271,"./sd":1221,"./sd.js":1221,"./se":3478,"./se.js":3478,"./si":7538,"./si.js":7538,"./sk":5784,"./sk.js":5784,"./sl":6637,"./sl.js":6637,"./sq":6794,"./sq.js":6794,"./sr":5719,"./sr-cyrl":3322,"./sr-cyrl.js":3322,"./sr.js":5719,"./ss":6e3,"./ss.js":6e3,"./sv":1011,"./sv.js":1011,"./sw":748,"./sw.js":748,"./ta":1025,"./ta.js":1025,"./te":1885,"./te.js":1885,"./tet":8861,"./tet.js":8861,"./tg":6571,"./tg.js":6571,"./th":5802,"./th.js":5802,"./tk":9527,"./tk.js":9527,"./tl-ph":9231,"./tl-ph.js":9231,"./tlh":1052,"./tlh.js":1052,"./tr":5096,"./tr.js":5096,"./tzl":9846,"./tzl.js":9846,"./tzm":1765,"./tzm-latn":7711,"./tzm-latn.js":7711,"./tzm.js":1765,"./ug-cn":8414,"./ug-cn.js":8414,"./uk":6618,"./uk.js":6618,"./ur":158,"./ur.js":158,"./uz":7609,"./uz-latn":2475,"./uz-latn.js":2475,"./uz.js":7609,"./vi":1135,"./vi.js":1135,"./x-pseudo":4051,"./x-pseudo.js":4051,"./yo":2218,"./yo.js":2218,"./zh-cn":2648,"./zh-cn.js":2648,"./zh-hk":1632,"./zh-hk.js":1632,"./zh-mo":1541,"./zh-mo.js":1541,"./zh-tw":304,"./zh-tw.js":304};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}a.keys=function(){return Object.keys(i)},a.resolve=o,e.exports=a,a.id=5358},5360:function(e){"use strict";e.exports=t},5366:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o)()(a());r.push([e.id,".select-from-form-editor {\n .fake-trigger {\n height: 40px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n line-height: 38px;\n box-sizing: border-box;\n border: 1px solid #d9dce3;\n border-radius: 4px;\n padding: 0 15px;\n cursor: pointer;\n }\n}\n.bpm-select-from-form-box{\n list-style: none;\n padding: 10px 0;\n max-height: calc(70vh - 220px);\n box-sizing: border-box;\n overflow: auto;\n\n .form-item{\n list-style: none;\n margin-bottom: 10px;\n }\n .subitem {\n margin-left: 24px;\n font-size: 12px;\n color: #949494;\n }\n}\n",""]),t.A=r},5457:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdditionalItems=void 0;const i=n(9029),a=n(4227),o={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>i.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>i._`{limit: ${e}}`},code(e){const{parentSchema:t,it:n}=e,{items:i}=t;Array.isArray(i)?r(e,i):(0,a.checkStrictMode)(n,'"additionalItems" is ignored when "items" is not an array of schemas')}};function r(e,t){const{gen:n,schema:o,data:r,keyword:s,it:l}=e;l.items=!0;const d=n.const("len",i._`${r}.length`);if(!1===o)e.setParams({len:t.length}),e.pass(i._`${d} <= ${t.length}`);else if("object"==typeof o&&!(0,a.alwaysValidSchema)(l,o)){const o=n.var("valid",i._`${d} <= ${t.length}`);n.if((0,i.not)(o),(()=>function(o){n.forRange("i",t.length,d,(t=>{e.subschema({keyword:s,dataProp:t,dataPropType:a.Type.Num},o),l.allErrors||n.if((0,i.not)(o),(()=>n.break()))}))}(o))),e.ok(o)}}t.validateAdditionalItems=r,t.default=o},5498:function(e,t,n){!function(e){"use strict";var t=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsShortStrictRegex:/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(5093))},5533:function(e,t,n){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5093))},5540:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return L}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-rich-text"},["table"==e.uiType?n("i",{staticClass:"el-icon-notebook-2",class:{active:e.curVal},on:{click:function(t){t.stopPropagation(),e.dialogVisible=!0}}}):n("el-tiptap",{attrs:{extensions:e.extensions,showMenubar:!e.readonly,readonly:e.readonly,placeholder:e.fieldConf.name},on:{onBlur:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}}),e._v(" "),"table"==e.uiType&&e.dialogVisible?n("el-dialog",{attrs:{title:e.fieldConf.name,visible:e.dialogVisible,width:"50%","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("el-tiptap",{attrs:{extensions:e.extensions,showMenubar:!e.readonly,readonly:e.readonly,placeholder:e.fieldConf.name},on:{onBlur:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}})],1):e._e()],1)};i._withStripped=!0;var a=n(5554),o=n.n(a),r=n(3533),s=n(5072),l=n.n(s),d=n(7825),c=n.n(d),u=n(7659),m=n.n(u),f=n(5056),h=n.n(f),p=n(540),_=n.n(p),g=n(1113),y=n.n(g),b=n(2419),v={};v.styleTagTransform=y(),v.setAttributes=h(),v.insert=m().bind(null,"head"),v.domAPI=c(),v.insertStyleElement=_(),l()(b.A,v),b.A&&b.A.locals&&b.A.locals,o().use(r.ElementTiptapPlugin,{lang:"en",spellcheck:!0});var w={name:"BpmRichText",components:{"el-tiptap":r.ElementTiptap},props:{value:String,fieldConf:Object,mode:String,uiType:String},data(){return{curVal:"",extensions:[new r.Doc,new r.Text,new r.Paragraph,new r.Heading({level:5}),new r.Bold,new r.Underline({bubble:!0,menubar:!1}),new r.Italic,new r.Strike({bubble:!0,menubar:!1}),new r.Link,new r.Blockquote,new r.Table,new r.TableHeader,new r.TableCell,new r.TableRow,new r.ListItem,new r.BulletList,new r.OrderedList,new r.TodoList,new r.TodoItem,new r.TextAlign,new r.Indent,new r.LineHeight,new r.TextColor,new r.TextHighlight,new r.FontType,new r.FontSize,new r.SelectAll,new r.FormatClear,new r.History,new r.Fullscreen],dialogVisible:!1}},computed:{readonly(){return"view"===this.mode}},watch:{value:{handler(e){this.curVal=e},immediate:!0}},methods:{handleClose(){this.dialogVisible=!1},handleChange(e){console.log(e),console.log("this.curVal: ",this.curVal),this.$emit("input",this.curVal),this.$emit("change",this.curVal)}},mounted(){}},M=(0,n(4486).A)(w,i,[],!1,null,null,null);M.options.__file="components/lib/bpmRichText/src/main.vue";var k=M.exports;k.install=function(e){e.component(k.name,k)};var L=k},5543:function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(5093))},5545:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return w}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vue-street-view-pano-container"},[n("div",{ref:"vue-street-view-pano",staticClass:"vue-street-view-pano"}),e._v(" "),e._t("default")],2)};i._withStripped=!0;var a,o=(a=n(390)).default||a,r=n(5072),s=n.n(r),l=n(7825),d=n.n(l),c=n(7659),u=n.n(c),m=n(5056),f=n.n(m),h=n(540),p=n.n(h),_=n(1113),g=n.n(_),y=n(1918),b={};b.styleTagTransform=g(),b.setAttributes=f(),b.insert=u().bind(null,"head"),b.domAPI=d(),b.insertStyleElement=p(),s()(y.A,b),y.A&&y.A.locals&&y.A.locals;var v=(0,n(4486).A)(o,i,[],!1,null,null,null);v.options.__file="node_modules/vue2-google-maps/dist/components/streetViewPanorama.vue";var w=v.exports},5554:function(e){e.exports=function(){return this.Vue}()},5716:function(e,t,n){"use strict";e.exports=n.p+"0db1520f47986b6c755a.svg?v=4.7.0"},5719:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,i,a){var o,r=t.words[i];return 1===i.length?"y"===i&&n?"jedna godina":a||n?r[0]:r[1]:(o=t.correctGrammaticalCase(e,r),"yy"===i&&n&&"godinu"===o?e+" godina":e+" "+o)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5093))},5726:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o),s=n(5366),l=r()(a());l.i(s.A),l.push([e.id,"\n",""]),t.A=l},5765:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const i=n(9029),a=n(4227),o=n(2023),r=n(4227);function s(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:i._`Object.prototype.hasOwnProperty`})}function l(e,t,n){return i._`${s(e)}.call(${t}, ${n})`}function d(e,t,n,a){const o=i._`${t}${(0,i.getProperty)(n)} === undefined`;return a?(0,i.or)(o,(0,i.not)(l(e,t,n))):o}function c(e){return e?Object.keys(e).filter((e=>"__proto__"!==e)):[]}t.checkReportMissingProp=function(e,t){const{gen:n,data:a,it:o}=e;n.if(d(n,a,t,o.opts.ownProperties),(()=>{e.setParams({missingProperty:i._`${t}`},!0),e.error()}))},t.checkMissingProp=function({gen:e,data:t,it:{opts:n}},a,o){return(0,i.or)(...a.map((a=>(0,i.and)(d(e,t,a,n.ownProperties),i._`${o} = ${a}`))))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=s,t.isOwnProperty=l,t.propertyInData=function(e,t,n,a){const o=i._`${t}${(0,i.getProperty)(n)} !== undefined`;return a?i._`${o} && ${l(e,t,n)}`:o},t.noPropertyInData=d,t.allSchemaProperties=c,t.schemaProperties=function(e,t){return c(t).filter((n=>!(0,a.alwaysValidSchema)(e,t[n])))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:n,topSchemaRef:a,schemaPath:r,errorPath:s},it:l},d,c,u){const m=u?i._`${e}, ${t}, ${a}${r}`:t,f=[[o.default.instancePath,(0,i.strConcat)(o.default.instancePath,s)],[o.default.parentData,l.parentData],[o.default.parentDataProperty,l.parentDataProperty],[o.default.rootData,o.default.rootData]];l.opts.dynamicRef&&f.push([o.default.dynamicAnchors,o.default.dynamicAnchors]);const h=i._`${m}, ${n.object(...f)}`;return c!==i.nil?i._`${d}.call(${c}, ${h})`:i._`${d}(${h})`};const u=i._`new RegExp`;t.usePattern=function({gen:e,it:{opts:t}},n){const a=t.unicodeRegExp?"u":"",{regExp:o}=t.code,s=o(n,a);return e.scopeValue("pattern",{key:s.toString(),ref:s,code:i._`${"new RegExp"===o.code?u:(0,r.useFunc)(e,o)}(${n}, ${a})`})},t.validateArray=function(e){const{gen:t,data:n,keyword:o,it:r}=e,s=t.name("valid");if(r.allErrors){const e=t.let("valid",!0);return l((()=>t.assign(e,!1))),e}return t.var(s,!0),l((()=>t.break())),s;function l(r){const l=t.const("len",i._`${n}.length`);t.forRange("i",0,l,(n=>{e.subschema({keyword:o,dataProp:n,dataPropType:a.Type.Num},s),t.if((0,i.not)(s),r)}))}},t.validateUnion=function(e){const{gen:t,schema:n,keyword:o,it:r}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(n.some((e=>(0,a.alwaysValidSchema)(r,e)))&&!r.opts.unevaluated)return;const s=t.let("valid",!1),l=t.name("_valid");t.block((()=>n.forEach(((n,a)=>{const r=e.subschema({keyword:o,schemaProp:a,compositeRule:!0},l);t.assign(s,i._`${s} || ${l}`),e.mergeValidEvaluated(r,l)||t.if((0,i.not)(s))})))),e.result(s,(()=>e.reset()),(()=>e.error(!0)))}},5766:function(e,t,n){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,i){return t?a(n)[0]:i?a(n)[1]:a(n)[2]}function i(e){return e%10==0||e>10&&e<20}function a(e){return t[e].split("_")}function o(e,t,o,r){var s=e+" ";return 1===e?s+n(0,t,o[0],r):t?s+(i(e)?a(o)[1]:a(o)[0]):r?s+a(o)[1]:s+(i(e)?a(o)[1]:a(o)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,n,i){return t?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"},ss:o,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(5093))},5784:function(e,t,n){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function i(e){return e>1&&e<5}function a(e,t,n,a){var o=e+" ";switch(n){case"s":return t||a?"pár sekúnd":"pár sekundami";case"ss":return t||a?o+(i(e)?"sekundy":"sekúnd"):o+"sekundami";case"m":return t?"minúta":a?"minútu":"minútou";case"mm":return t||a?o+(i(e)?"minúty":"minút"):o+"minútami";case"h":return t?"hodina":a?"hodinu":"hodinou";case"hh":return t||a?o+(i(e)?"hodiny":"hodín"):o+"hodinami";case"d":return t||a?"deň":"dňom";case"dd":return t||a?o+(i(e)?"dni":"dní"):o+"dňami";case"M":return t||a?"mesiac":"mesiacom";case"MM":return t||a?o+(i(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return t||a?"rok":"rokom";case"yy":return t||a?o+(i(e)?"roky":"rokov"):o+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:case 4:case 5:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},5802:function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n(5093))},5831:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o),s=n(5366),l=r()(a());l.i(s.A),l.push([e.id,"\n",""]),t.A=l},5844:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(4227),a={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:n,it:a}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");const o=t.name("valid");n.forEach(((t,n)=>{if((0,i.alwaysValidSchema)(a,t))return;const r=e.subschema({keyword:"allOf",schemaProp:n},o);e.ok(o),e.mergeEvaluated(r)}))}};t.default=a},5867:function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(n(5093))},5881:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var i=function(){var e=this;e.$createElement;return e._self._c,e._m(0)};i._withStripped=!0;var a=(0,n(4486).A)({name:"Demo"},i,[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("h1",{staticClass:"m-demo"},[e._v("demo1")])])}],!1,null,null,null);a.options.__file="components/lib/demo/src/main.vue";var o=a.exports;o.install=function(e){e.component(o.name,o)};var r=o},5882:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9029),a=i.operators,o={maximum:{okStr:"<=",ok:a.LTE,fail:a.GT},minimum:{okStr:">=",ok:a.GTE,fail:a.LT},exclusiveMaximum:{okStr:"<",ok:a.LT,fail:a.GTE},exclusiveMinimum:{okStr:">",ok:a.GT,fail:a.LTE}},r={message:({keyword:e,schemaCode:t})=>i.str`must be ${o[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>i._`{comparison: ${o[e].okStr}, limit: ${t}}`},s={keyword:Object.keys(o),type:"number",schemaType:"number",$data:!0,error:r,code(e){const{keyword:t,data:n,schemaCode:a}=e;e.fail$data(i._`${n} ${o[t].fail} ${a} || isNaN(${n})`)}};t.default=s},5944:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(8343);i.code='require("ajv/dist/runtime/uri").default',t.default=i},5961:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return T}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",["table"===e.uiType?n("el-button",{attrs:{type:"text"},on:{click:function(t){e.showSubForm=!0}}},[e._v(e._s(e.$z("查看子表单","b2.common.view_subform")))]):"table"===e.showStyle?n("SubFormStyleTable",e._b({ref:"sub_form_table",attrs:{value:e.subformData,columns:e.columns,subformPerm:e.subformPerm,fieldConf:e.fieldConf,mode:e.mode,readOnly:e.readOnly,dm:e.dm,"max-height":e.tableMaxHeight,"show-header":e.showHeader,resizable:e.resizable,"top-container":e.container,container:e.fieldSelf,linkageItem:e.linkageItem},on:{change:e.handleChange}},"SubFormStyleTable",e.$attrs,!1)):"list"===e.showStyle?n("SubFormStyleList",e._b({attrs:{value:e.subformData,columns:e.columns,subformPerm:e.subformPerm,fieldConf:e.fieldConf,mode:e.mode,dm:e.dm,"max-height":e.maxHeight,"top-container":e.container,container:e.fieldSelf,linkageItem:e.linkageItem},on:{change:e.handleChange}},"SubFormStyleList",e.$attrs,!1)):n("SubFormStyleCard",e._b({attrs:{value:e.subformData,columns:e.columns,subformPerm:e.subformPerm,fieldConf:e.fieldConf,mode:e.mode,dm:e.dm,"max-height":e.maxHeight,"top-container":e.container,container:e.fieldSelf,linkageItem:e.linkageItem},on:{change:e.handleChange}},"SubFormStyleCard",e.$attrs,!1)),e._v(" "),"table"===e.uiType?n("el-dialog",{attrs:{title:e.subFormDialogTitle,visible:e.showSubForm,width:"50%"},on:{"update:visible":function(t){e.showSubForm=t},close:function(t){e.showSubForm=!1}}},[n("div",{staticStyle:{"max-height":"70vh",overflow:"auto"}},["table"===e.showStyle?n("SubFormStyleTable",e._b({attrs:{value:e.subformData,columns:e.columns,subformPerm:e.subformPerm,fieldConf:e.fieldConf,mode:e.mode,readOnly:e.readOnly,dm:e.dm,"max-height":e.dialogTableMaxHeight,"show-header":!0,resizable:!0,"top-container":e.container,container:e.fieldSelf,linkageItem:e.linkageItem},on:{change:e.handleChange}},"SubFormStyleTable",e.$attrs,!1)):"list"===e.showStyle?n("SubFormStyleList",e._b({attrs:{value:e.subformData,columns:e.columns,subformPerm:e.subformPerm,fieldConf:e.fieldConf,mode:e.mode,dm:e.dm,"max-height":e.maxHeight,"top-container":e.container,container:e.fieldSelf,linkageItem:e.linkageItem},on:{change:e.handleChange}},"SubFormStyleList",e.$attrs,!1)):n("SubFormStyleCard",e._b({attrs:{value:e.subformData,columns:e.columns,subformPerm:e.subformPerm,fieldConf:e.fieldConf,"top-container":e.container,container:e.fieldSelf,linkageItem:e.linkageItem,mode:e.mode,dm:e.dm},on:{change:e.handleChange}},"SubFormStyleCard",e.$attrs,!1))],1)]):e._e()],1)};i._withStripped=!0;var a=n(7520),o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.$z("单击可进行编辑","c.click_to_edit"),placement:"top",disabled:e.readOnly||!("edit"==e.mode&&e.showSubformData.length>e.countForClickToEdit&&!e.hadClickRow)||"view"==e.mode}},[n("el-table",{key:"rowIndex",staticClass:"bpm-subform-table",staticStyle:{width:"100%"},attrs:{data:e.showSubformData,"row-key":"rowIndex","max-height":e.maxHeight,"show-header":e.showHeader,resizable:e.resizable,border:"",stripe:""},on:{"row-click":e.rowClick,"header-dragend":e.handleHeaderDragend}},[e.showIndex?n("el-table-column",{attrs:{type:"index",label:e.indexLabel,width:100},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.$index+1)+"\n\n "),e._l(e.hiddenColumns,(function(i){return[n("bpm-sub-form-field",e._b({directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],key:i.key,attrs:{type:i.data.type,fieldConf:i.data,mode:e.dm?e.mode:e.getFieldMode(i.data.perm,t.row),dm:e.dm,uiType:"table",rowIndex:t.row.rowIndex,container:e.container},on:{input:e.handleInput,change:function(n){return e.handleChange(n,t.row)}},model:{value:t.row[i.id],callback:function(n){e.$set(t.row,i.id,n)},expression:"scope.row[col.id]"}},"bpm-sub-form-field",e.$attrs,!1))]}))]}}],null,!1,1118663549)}):e._e(),e._v(" "),e._l(e.showColumns,(function(t){return n("el-table-column",{key:t.key,attrs:{prop:t.id,label:(t.data.check&&t.data.check.required?"* ":"")+t.label,"min-width":t.minWidth,sortable:t.sortable,"sort-method":t.sortMethod},scopedSlots:e._u([{key:"default",fn:function(i){return[n("bpm-sub-form-field",e._b({attrs:{type:t.data.type,fieldConf:t.data,mode:e.dm?e.mode:e.getFieldMode(t.data.perm,i.row),dm:e.dm,uiType:"table",rowIndex:i.row.rowIndex,container:e.container},on:{input:e.handleInput,change:function(t){return e.handleChange(t,i.row)}},model:{value:i.row[t.id],callback:function(n){e.$set(i.row,t.id,n)},expression:"scope.row[col.id]"}},"bpm-sub-form-field",e.$attrs,!1))]}}],null,!0)},[n("template",{slot:"header"},[t.data.check&&t.data.check.required?n("span",{staticStyle:{color:"#D84141"}},[e._v("* ")]):e._e(),e._v(" "),n("span",[e._v(e._s(t.label))])])],2)})),e._v(" "),e.canRemove&&e.countLimit.canRemove&&"edit"==e.mode||e.relateSubForms&&e.relateSubForms.length?n("el-table-column",{attrs:{prop:"delete",label:e.$z("操作","c.operation"),"min-width":150},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"table-row-opertaion-btn-grp"},[e.canRemove&&e.countLimit.canRemove?n("el-button",{staticClass:"btn-delete",attrs:{type:"danger",icon:"el-icon-delete",circle:""},on:{click:function(n){return n.stopPropagation(),e.handleRemoveItem(t.row.rowIndex,t.row)}}}):e._e(),e._v(" "),e._l(e.relateSubForms,(function(i){return n("el-button",{directives:[{name:"show",rawName:"v-show",value:i.enable,expression:"relate.enable"}],key:i.idx,attrs:{type:"text"},on:{click:function(n){return n.stopPropagation(),e.openRelateFormDialog(i,t.row)}}},[e._v("\n "+e._s(i.name)+"\n ")])}))],2)]}}],null,!1,4273942660)}):e._e()],2)],1),e._v(" "),e.canAdd&&e.countLimit.canAdd?n("el-button",{staticStyle:{"margin-top":"10px"},attrs:{type:"default",icon:"el-icon-plus"},on:{click:function(t){return e.handleAddItem(null)}}},[e._v(e._s(e.$z("添加项","c.add_item")))]):e._e(),e._v(" "),n("relate-sub-form-dialog",{attrs:{mode:e.mode,container:e.container,srcFieldConf:e.fieldConf,row:e.dialogSubFormRelate.row,relateInfo:e.dialogSubFormRelate.relateInfo,visible:e.dialogSubFormRelate.visible},on:{close:e.handelRelateFormDialogClose}})],1)};o._withStripped=!0;var r=n(9795),s={props:{value:{type:Array,default(){return[]}},columns:{type:Array,default(){return[]}},subformPerm:{type:Object,default(){return{}}},fieldConf:{type:Object,default(){return{}}},mode:{type:String,default:"view"},maxHeight:{type:[Number,String],default:500},container:{type:Object,default(){return{}}},topContainer:{type:Object,default(){return{}}}},data(){return{subformData:[],originSubformData:[],originSubformDataMap:{},showSubformData:[],_oldVal:null,hasInit:!1,isEditingMap:{},formSchemaDef:{},formSourceData:[]}},inject:["formData","formSchema"],computed:{form(){return this.topContainer},userId(){return _.get(this.$bpm.userInfo,"user_id",0)},originItem(){let e={};const t={int:0,text:"",array:[],struct:[]};return this.columns.forEach((n=>{e[n.id]=t[n.data.value_type]||""})),e},canAdd(){return"edit"===this.mode&&(this.subformPerm.creatable||this.dm)},canRemove(){return"edit"===this.mode&&(this.subformPerm.deletable||this.dm)},min(){const e=_.get(this.fieldConf,"check.min_count",0),t=_.get(this.fieldConf,"check.xmin_count");return t?this.form.formData[t]||0:e},max(){const e=_.get(this.fieldConf,"check.max_count"),t=_.get(this.fieldConf,"check.xmax_count");return t?this.form.formData[t]||0:e},countForClickToEdit(){return _.get(this.fieldConf,"count_for_click_to_edit")},countLimit(){const e=this.min,t=this.max;let n=this.showSubformData.length;return{canAdd:!(t&&n>=t),canRemove:!(n<=e)}},showIndex(){return!!this.fieldConf.show_index},indexLabel(){return this.fieldConf.index_label||zj.z("序号","b2.common.subform_index")},groupField(){return _.get(this.fieldConf,"group_by.by","")},showField(){return _.get(this.fieldConf,"is_show_field")},readonly(){return!_.get(this.fieldConf,"perm.editable",!1)}},watch:{value:{handler(e){e&&_.isArray(e)?(this.subformData=e,0==this.originSubformData.length&&(this.originSubformData=_.cloneDeep(e),_.each(this.originSubformData,(e=>{let t=_.cloneDeep(e);delete t._meta,this.originSubformDataMap[e._meta.id]=t})))):this.subformData=[]},immediate:!0},subformData:{handler(e){console.log("val",e),this.showSubformData=this.setData(e),console.log("this.showSubformData",this.showSubformData)},deep:!0,immediate:!0},min(e,t){this.addItemByMin(e)},max(e,t){let n=this.showSubformData.length;if(e&&n>e){let t=n-e,i=0;for(let e=this.subformData.length;e>0;e--){let n=this.subformData[e-1];n.visible&&i<t&&(this.handleRemoveItem(n.rowIndex,n),i++)}}}},mounted(){this.form.$once("dataLoaded",(e=>{this.addItemByMin(this.min)})),this.formSchemaDef=this.formSchema()},methods:{getFieldMode(e,t){let n=this.mode;return!e||"edit"!==n||e.editable||e.writable?"table"==this.style_ui_type&&!this.isEditingMap[t._meta.id]&&this.showSubformData.length>this.countForClickToEdit&&(n="view"):n="view",n},throttleEmit:_.throttle((function(){"edit"===this.mode&&(console.log("subForm change emit"),this.$emit("change",this.subformData))}),1e3,{leading:!1}),handleChange(e,t,n){console.log("field change: ",e),console.log("field change row: ",t),console.log("field change this.formSchemaDef ",this.formSchemaDef);let i=!1;if(t&&t._meta&&t._meta.id){let e=this.originSubformDataMap[t._meta.id];if(console.log("field change_origin",e),e){for(let n in t)_.includes(["_meta","rowIndex","visible","isNew"],n)||e[n]==t[n]||(i=!0);i&&(t._meta.update_time=parseInt((new Date).getTime()/1e3),t._meta.updater=this.userId,t._meta.last_value=e)}if(this.formSchemaDef){let e=[];_.each(this.formSchemaDef.elements,(n=>{n.relate_setting&&_.each(n.relate_setting,(i=>{if(i.sub_form==this.fieldConf.id){console.log("element",n),console.log("relate",i),this.formSourceData=this.formData(),console.log("field change this.formSourceData ",this.formSourceData);let a={};_.each(i.sub_form_field_mapping,(e=>{_.includes(i.sub_form_fields,e.target)&&(a[e.src]=t[e.target])})),console.log("field change_confidition",a);let o=_.filter(this.formSourceData[n.id],(e=>{if(e&&e._meta&&!e._meta.is_deleted)return e})),r=_.find(o,a);if(console.log("field change_relate_row",r),r){let t={field:n.id,row:r._meta.id};e.push(t)}}}))})),t._meta.relate=e}if(this.fieldConf.relate_setting&&this.fieldConf.relate_setting.length){console.log("this.fieldConf",this.fieldConf),console.log("this.fieldConf.relate_setting",this.fieldConf.relate_setting);let e=this.formData();_.each(this.fieldConf.relate_setting,(n=>{_.each(e[n.sub_form],(e=>{e._meta&&e._meta.relate&&_.find(e._meta.relate,{field:this.fieldConf.id,row:t._meta.id})&&(console.log("_data",e),_.each(n.sub_form_field_mapping,(n=>{e[n.target]=t[n.src]})))}))}))}}this.throttleEmit()},handleInput(e){console.log("field input: ",e)},async addItemByMin(e){if(_.get(this.fieldConf,"linkage"))return;let t=this.showSubformData.length;if(e&&t<e){let n=e-t;for(let e=0;e<n;e++)await this.handleAddItem(null)}},async handleAddItem(e=null){let t=(0,r.uR)(),n=this.subformData.length,i=n>=1?this.subformData[n-1]:_.cloneDeep(this.originItem),a=_.get(this.fieldConf,"fill_in_last_fields",[]);console.log("lastItem",i),console.log("this.subformData",this.subformData),console.log("fillInLastFields",a),i=_.pick(i,a),console.log("lastItem",i),console.log("relateItem",e),e?i=_.cloneDeep(e):_.isEmpty(i)||delete i._meta,console.log("lastItem: ",i);let o={isNew:!0,_meta:{id:t,creator:this.userId,create_time:parseInt((new Date).getTime()/1e3),update_time:parseInt((new Date).getTime()/1e3),updater:this.userId,last_value:null,deleter:0,is_deleted:!1,relate:[]}};this.$set(this.isEditingMap,t,!0),o=_.merge(o,i),console.log("add_data",o),console.log("add_link_data.rowIndex",o.rowIndex),await this.linkageItem.fillDefault(o,[],this.mode),!this.subformData||_.isEmpty(this.subformData)?this.subformData=[o]:this.subformData.push(o),this.handleChange();let{relyHandleList:s,firstId:l}=this.linkageItem.getRelyHandleList("sure000");console.log("add_link_this.relyHandleListMap",this.relyHandleListMap),console.log("add_link_this.this.subformData",this.subformData),console.log("add_link_relyHandleList",s),_.set(this.relyHandleListMap,this.subformData.length-1,s),_.isEmpty(s)&&this.$bpm.$emit("initRelyComplete",this,o.rowIndex),l&&(console.log("add_link_firstId",l),console.log("add_link_data.rowIndex",o.rowIndex),setTimeout((async()=>{let e=await this.linkageItem.loadLinkage(s,this.subformData,this.container.formData,this.fieldConf.id,o.rowIndex);console.log("add_link_data.rowIndex",o.rowIndex),console.log("add_link_data.firstId",l),console.log("add_link_this.relyHandleListMap",this.relyHandleListMap),console.log("add_link_result",e),_.map(e,((e,t)=>{this.$set(this.subformData[o.rowIndex],`${t}`,e)})),this.handleChange(),this.$bpm.$emit("handeInitRely",{id:l,rowIndex:o.rowIndex})}),500))},setData(e){let t=this.showField,n=_.filter(e,((e,n)=>{e&&(e.rowIndex=n);let i=!e._meta.is_deleted&&(!t||t&&(2==e[t]||!e[t]));return e.visible=i,i}));if(this.groupField&&this.$q.platform.is.desktop&&this.readonly){let e=_.groupBy(n,this.groupField);_.map(e,((e,t)=>{_.each(e,((e,n)=>{0==n&&(e._groupField=t)}))}))}return console.log("tableData",n),this._oldVal=JSON.stringify(e),n},handleRemoveItem(e,t){if(console.log("deleteRowIndex",e),console.log("this.relateSubForms",this.relateSubForms),console.log("item",t),this.relateSubForms&&this.relateSubForms.length>0){let n=!1;_.each(this.relateSubForms,(e=>{console.log("relateSetting",e);let i=this.formData();console.log("this.subformData",i),console.log("formData[relateSetting['sub_form']]",i[e.sub_form]);let a=_.filter(i[e.sub_form],(n=>{if(console.log("filter_item",n),n&&n._meta&&n._meta.relate&&n._meta.relate&&n._meta.relate.length&&!n._meta.is_deleted){let e=_.find(n._meta.relate,{field:this.fieldConf.id,row:t._meta.id});if(console.log("relate_bind",e),e)return n}if(n&&n._meta&&n._meta&&!n._meta.is_deleted){let i=!1,a=!0;if(_.each(e.sub_form_field_mapping,(o=>{_.includes(e.sub_form_fields,o.target)&&(n[o.target]==t[o.src]?i=!0:(a=!1,i=!1))})),i&&a)return n}}));console.log("subformData",a),a.length>0&&e.strong_association&&(n=!0)})),n?this.$confirm(zj.z("该项有关联数据,确认一并删除?","b2.common.delete_subform_tip"),zj.z("提示","c.tip"),{confirmButtonText:zj.z("确定","c.confirm"),cancelButtonText:zj.z("取消","c.cancel"),type:"warning"}).then((()=>{this._delItem(this.subformData,e),this._delRelateSubItem(this.subformData[e]),this.$nextTick((()=>{this.$message({type:"success",message:zj.z("删除成功!","c.deleted_successfully")}),this.handleChange()}))})).catch((()=>!1)):(this._delItem(this.subformData,e),this.handleChange())}else this._delItem(this.subformData,e),this.handleChange()},_delItem(e,t){if(console.log("delItem",e),console.log("delItem_rowIndex",t),e[t]&&e[t].isNew)console.log("删除子表单项"),e.splice(t,1);else{if(1==e[t]._meta.is_deleted)return!1;console.log("标记删除子表单项"),e[t]._meta.is_deleted=!0,e[t]._meta.deleter=this.userId,e[t]._meta.update_time=parseInt((new Date).getTime()/1e3)}},_delRelateSubItem(e){_.each(this.relateSubForms,(t=>{console.log("relateSetting",t);let n=this.formData(),i=_.filter(n[t.sub_form],(n=>{if(console.log("filter_item",n),n&&n._meta&&n._meta&&!n._meta.is_deleted){let i=!1,a=!0;if(_.each(t.sub_form_field_mapping,(o=>{_.includes(t.sub_form_fields,o.target)&&(n[o.target]==e[o.src]?i=!0:(a=!1,i=!1))})),i&&a)return n}}));console.log("subformData",i),t.strong_association&&_.each(i,((e,t)=>{this._delItem(i,t)}))}))},handleEditItem(e,t){console.log("editRowIndex",e),this.subformData[e]&&this.$set(this.isEditingMap,this.subformData[e]._meta.id,!0)}}},l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"relate-sub-form-dialog"},[n("el-dialog",{attrs:{visible:e.dlgVisible,"before-close":e.handleClose,top:"3vh",width:"85%",title:e.relateSetting.title,fullscreen:!1,"append-to-body":""},on:{"update:visible":function(t){e.dlgVisible=t}}},[n("el-table",{key:e.refreshKey,staticClass:"bpm-relate-subform-table",staticStyle:{width:"100%",overflow:"auto"},attrs:{data:e.subformData,height:"80vh",border:"",stripe:""},on:{"row-click":e.rowClick}},[e.showIndex?n("el-table-column",{attrs:{type:"index",label:e.indexLabel,width:100},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.$index+1)+"\n\n "),e._l(e.hiddenColumns,(function(i){return[n("bpm-sub-form-field",e._b({directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],key:i.key,attrs:{type:i.data.type,fieldConf:i.data,"form-name":e.formDefId,"form-def-id":e.formDefId,orgInfo:e.orgParams,mode:e.getFieldMode(i.data.perm,t.row,i.id),uiType:"table",rowIndex:t.row.rowIndex,container:e.container},model:{value:t.row[i.id],callback:function(n){e.$set(t.row,i.id,n)},expression:"scope.row[col.id]"}},"bpm-sub-form-field",e.$attrs,!1))]}))]}}],null,!1,4184301278)}):e._e(),e._v(" "),e._l(e.showColumns,(function(t){return n("el-table-column",{key:t.key,attrs:{prop:t.id,label:(t.data.check&&t.data.check.required?"* ":"")+t.label,"min-width":t.minWidth,sortable:t.sortable,"sort-by":t.sortBy},scopedSlots:e._u([{key:"default",fn:function(i){return[n("bpm-sub-form-field",e._b({attrs:{type:t.data.type,fieldConf:t.data,mode:e.getFieldMode(t.data.perm,i.row,t.id),"form-name":e.formDefId,"form-def-id":e.formDefId,orgInfo:e.orgParams,uiType:"table",rowIndex:i.row.rowIndex,container:e.container},model:{value:i.row[t.id],callback:function(n){e.$set(i.row,t.id,n)},expression:"scope.row[col.id]"}},"bpm-sub-form-field",e.$attrs,!1))]}}],null,!0)},[n("template",{slot:"header"},[t.data.check&&t.data.check.required?n("span",{staticStyle:{color:"#D84141"}},[e._v("* ")]):e._e(),e._v(" "),n("span",[e._v(e._s(t.label))])])],2)})),e._v(" "),"edit"==e.mode?n("el-table-column",{attrs:{prop:"delete",label:e.$z("操作","c.operation"),fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"table-row-opertaion-btn-grp"},[e.canRemove?n("el-button",{staticClass:"btn-delete",attrs:{type:"danger",icon:"el-icon-delete",circle:""},on:{click:function(n){return n.stopPropagation(),e.handleRemoveItemInner(t.row.rowIndex)}}}):e._e()],1)]}}],null,!1,1620617082)}):e._e()],2),e._v(" "),e.canAdd?n("el-button",{staticStyle:{"margin-top":"10px"},attrs:{type:"default",icon:"el-icon-plus"},on:{click:e.handleAddItemInner}},[e._v(e._s(e.$z("添加项","c.add_item")))]):e._e(),e._v(" "),"edit"==e.mode&&e.subformData.length>e.countForClickToEdit&&!e.hadClickRow?n("span",{staticClass:"edit-tip",staticStyle:{"margin-left":"10px",color:"#666","font-size":"13px"}},[e._v(e._s(e.$z("提示","c.tip"))+": "+e._s(e.$z("单击可进行编辑","c.click_to_edit")))]):e._e()],1)],1)};l._withStripped=!0;var d={props:{srcFieldConf:{type:Object,default(){return{}}},row:{type:Object,default:function(){return{}}},relateInfo:{type:Object,default:function(){return{}}},mode:{type:String,default:"edit"},container:{type:Object,default(){return{}}},visible:{type:Boolean,default:!1}},inject:["formData","formSchema"],watch:{visible(e){e&&this.$nextTick((()=>{this.initRelateSubFormTable()})),this.dlgVisible=e},relateInfo(e){this.relateSetting=e},srcFormData:{handler(e){this.$nextTick((()=>{this.getSubFormData(e)}))},deep:!0}},data(){return{name:"title",relateSetting:{perm:{}},formSchemaDef:{},dlgVisible:!1,hadClickRow:!1,subformData:[],refreshKey:0,SubFormFieldConf:{perm:{}},isEditingMap:{},columns:[]}},computed:{countForClickToEdit(){return _.get(this.srcFieldConf,"count_for_click_to_edit")},srcFormData(){return this.formData()},dialogSelf(){return this},eleMap(){let e=this.SubFormFieldConf.elements,t=_.get(this.container,"formSchema.elements");return e=_.concat(e,t),_.keyBy(e,"id")},orgParams(){return this.$store.getters.getOrgParams},formDefId(){return this.formSchemaDef.id},canAdd(){return"edit"===this.mode&&this.SubFormFieldConf.perm.creatable&&this.relateSetting.perm.creatable},canRemove(){return"edit"===this.mode&&this.SubFormFieldConf.perm.deletable&&this.relateSetting.perm.deletable},showIndex(){return!!this.SubFormFieldConf.show_index},indexLabel(){return this.SubFormFieldConf.index_label||zj.z("序号","b2.common.subform_index")},showColumns(){return _.filter(this.columns,(e=>{if(e.visible)return e}))},hiddenColumns(){return _.filter(this.columns,(e=>{if(!e.visible)return e}))}},methods:{getFieldMode(e,t,n){let i=this.mode;return e&&"edit"===i&&!e.editable&&!e.writable&&this.relateSetting.perm.editable?i="view":(!this.isEditingMap[t._meta.id]&&this.subformData.length>this.countForClickToEdit&&(i="view"),t.isNew&&(i="edit")),_.includes(this.relateSetting.sub_form_fields,n)&&(i="view"),i},initRelateSubFormTable(){this.formSchemaDef=this.formSchema();let e=this.formData();this.SubFormFieldConf=_.find(this.formSchemaDef.elements,{id:this.relateSetting.sub_form}),this.columns=this.getColumns(this.SubFormFieldConf),this.getSubFormData(e),this.refreshKey++},getSubFormData(e){this.subformData=_.filter(e[this.relateSetting.sub_form],(e=>{if(e&&e._meta&&e._meta&&!e._meta.is_deleted){let t=!1,n=!0;if(_.each(this.relateSetting.sub_form_field_mapping,(i=>{_.includes(this.relateSetting.sub_form_fields,i.target)&&(e[i.target]==this.row[i.src]?t=!0:(n=!1,t=!1))})),t&&n)return e}}))},getColumns(e){if(!e)return!1;const t=e.elements||[],n=[];return t.forEach((e=>{const t=a.Q[e.type]||{},i=e.perm||{visible:!0,editable:!0,writable:!0};if(i.visible||i.editable||i.writable){e.visible=i.visible;let a=this.mode;"edit"!==a||i.editable||i.writable||(a="view"),n.push({key:e.id,id:e.id,label:e.name||e.id,minWidth:t.tableColWidth||100,sortable:!("edit"==a&&e&&e.range_remote&&e.range_remote.depends&&e.range_remote.depends.length),sortBy:e.id,fieldMode:a,visible:i.visible,data:e})}})),n},async handleAddItemInner(){let e=this.$parent.$parent.container.$refs["bpmFormField"+this.relateSetting.sub_form][0].$refs["inner-component"].$refs.sub_form_table;if(e){let t={_meta:{relate:[{field:this.srcFieldConf.id,row:this.row._meta.id}]}};_.each(this.relateSetting.sub_form_field_mapping,(e=>{t[e.target]=this.row[e.src]})),e.handleAddItem(t)}},async handleRemoveItemInner(e){let t=this.$parent.$parent.container.$refs["bpmFormField"+this.relateSetting.sub_form][0].$refs["inner-component"].$refs.sub_form_table;t&&t.handleRemoveItem(e)},rowClick(e,t,n){"edit"==this.mode&&this.subformData.length>this.countForClickToEdit&&(this.hadClickRow=!0),this.handleEditItem(e.rowIndex,e)},handleEditItem(e,t){let n=_.find(this.subformData,{rowIndex:e});n&&this.$set(this.isEditingMap,n._meta.id,!0)},handleClose(){this.dlgVisible=!1,this.$emit("close",!1)},confirm(){console.log("this.subformData",this.subformData),this.dlgVisible=!1,this.$emit("close",!0)}}},c=(n(1773),n(4486)),u=(0,c.A)(d,l,[],!1,null,null,null);u.options.__file="components/lib/bpmSubForm/src/part/relateSubFormDialog.vue";var m={name:"SubFormStyleTable",mixins:[s],components:{relateSubFormDialog:u.exports},props:{showHeader:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},linkageItem:{type:Object,default:function(){return{}}},mode:{type:String,default:"view"},readOnly:{type:Boolean,default:!1},dm:{type:Boolean,default(){return!1}}},data(){return{style_ui_type:"table",hadClickRow:!1,tag:"",cols_config:[],dialogSubFormRelate:{relateInfo:{},row:{},visible:!1}}},methods:{handleHeaderDragend(e,t,n,i){n.width=e,this.setColWidth(n.property,e)},setCutomerColsConfig(){let e={},t="";e=localStorage.getItem("SUBFORM_COLUMN_CUSTOMER_CONFIG")&&JSON.parse(localStorage.getItem("SUBFORM_COLUMN_CUSTOMER_CONFIG"))||{},t=e[this.userId+this.tag],t?t.field_colunms_config=this.cols_config:t={field_colunms_config:this.cols_config},e[this.userId+this.tag]=t,localStorage.setItem("SUBFORM_COLUMN_CUSTOMER_CONFIG",JSON.stringify(e))},setColWidth(e,t){_.each(this.cols_config,(n=>{n.id==e&&(n.width=t)})),this.setCutomerColsConfig()},getCustomerColsConfig(e){let t=[],n={},i=[],a={};return a=localStorage.getItem("SUBFORM_COLUMN_CUSTOMER_CONFIG")&&JSON.parse(localStorage.getItem("SUBFORM_COLUMN_CUSTOMER_CONFIG"))||{},n=a[this.userId+this.tag],n&&n.field_colunms_config&&(i=n.field_colunms_config),_.each(e,(e=>{console.log("item",e);let n=_.find(i,{id:e.id});n?(console.log("custom_config",n),t.push({label:e.label,id:e.id,width:n.width||200})):t.push({label:e.label,id:e.id,width:e.minWidth})})),console.log("cols_config",t),t=_.sortBy(t,"sort_index"),t},handelRelateFormDialogClose(){this.dialogSubFormRelate.visible=!1},openRelateFormDialog(e,t){this.dialogSubFormRelate.relateInfo=e,this.dialogSubFormRelate.visible=!0,this.dialogSubFormRelate.row=t},rowClick(e,t,n){console.log("row",e),console.log("fieldConf",this.fieldConf),"edit"==this.mode&&this.showSubformData.length>this.countForClickToEdit&&(this.hadClickRow=!0),this.handleEditItem(e.rowIndex,e)}},computed:{relateSubForms(){return this.fieldConf.relate_setting},showColumns(){return _.filter(this.columns,(e=>{let t=_.find(this.cols_config,{id:e.id});if(e.visible)return t&&(e.minWidth=t.width),e}))},hiddenColumns(){return _.filter(this.columns,(e=>{if(!e.visible)return e}))}},created(){this.tag="_"+zj.pageParam().form_name+"_"+this.fieldConf.id},mounted(){this.cols_config=this.getCustomerColsConfig(this.columns)}},f=(0,c.A)(m,o,[],!1,null,null,null);f.options.__file="components/lib/bpmSubForm/src/table.vue";var h=f.exports,p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{style:{overflow:"auto"}},[e._l(e.showSubformData,(function(t,i){return n("el-card",{key:t.rowIndex,staticClass:"bpm-subform-card",class:e.mode,attrs:{shadow:"hover","body-style":{padding:"10px 20px",overflow:"auto",position:"relative",paddingRight:e.canRemove?"70px":"20px"}}},[n("el-form",{attrs:{"label-width":"180px",inline:!1}},[e.showIndex?n("el-form-item",{attrs:{label:e.indexLabel}},[e._v("\n "+e._s(i+1)+"\n ")]):e._e(),e._v(" "),e._l(e.columns,(function(i){return n("el-form-item",{directives:[{name:"show",rawName:"v-show",value:i.visible&&i.data.visible,expression:"col.visible && col.data.visible"}],key:i.key,class:i.data.display&&(i.data.display.hide_name||"top"===i.data.display.label_position)?"no-label":"",attrs:{label:i.data.display&&(i.data.display.hide_name||"top"===i.data.display.label_position)?"":i.label,required:i.data.check&&i.data.check.required}},[i.data.display&&!i.data.display.hide_name&&"top"===i.data.display.label_position?n("div",{staticClass:"form-label-top"},[e._v(e._s(i.label))]):e._e(),e._v(" "),n("bpm-sub-form-field",e._b({ref:"bpmSubFormField",refInFor:!0,attrs:{type:i.data.type,fieldConf:i.data,mode:e.getFieldMode(i.data.perm,t),uiType:"form",rowIndex:t.rowIndex,container:e.container},on:{change:e.handleChange},model:{value:t[i.id],callback:function(n){e.$set(t,i.id,n)},expression:"item[col.id]"}},"bpm-sub-form-field",e.$attrs,!1))],1)}))],2),e._v(" "),e.canRemove&&e.countLimit.canRemove?n("el-button",{staticClass:"btn-delete",attrs:{type:"danger",icon:"el-icon-delete",circle:""},on:{click:function(n){return e.handleRemoveItem(t.rowIndex)}}}):e._e()],1)})),e._v(" "),e.canAdd&&e.countLimit.canAdd?n("el-button",{attrs:{type:"default",icon:"el-icon-plus"},on:{click:function(t){return e.handleAddItem(null)}}},[e._v(e._s(e.$z("添加项","c.add_item")))]):e._e()],2)};p._withStripped=!0;var g={name:"SubFormStyleCard",mixins:[s],data(){return{style_ui_type:"card"}},props:{linkageItem:{type:Object,default:function(){return{}}}}},y=(0,c.A)(g,p,[],!1,null,null,null);y.options.__file="components/lib/bpmSubForm/src/card.vue";var b=y.exports,v=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-subform-list",style:{overflow:"auto"}},e._l(e.showSubformData,(function(t,i){return n("div",{key:i,staticClass:"bpm-subform-list-item",class:e.mode},[n("el-form",{attrs:{"label-width":"180px",inline:!1}},e._l(e.columns,(function(i){return n("el-form-item",{directives:[{name:"show",rawName:"v-show",value:i.visible&&i.data.visible,expression:"col.visible && col.data.visible"}],key:i.key,class:i.data.display&&(i.data.display.hide_name||"top"===i.data.display.label_position)?"no-label":"",attrs:{label:i.data.display&&(i.data.display.hide_name||"top"===i.data.display.label_position)?"":i.label,required:i.data.check&&i.data.check.required}},[i.data.display&&!i.data.display.hide_name&&"top"===i.data.display.label_position?n("div",{staticClass:"form-label-top"},[e._v(e._s(i.label))]):e._e(),e._v(" "),n("bpm-sub-form-field",e._b({ref:"bpmSubFormField",refInFor:!0,attrs:{type:i.data.type,fieldConf:i.data,mode:e.getFieldMode(i.data.perm,t),uiType:"form",rowIndex:t.rowIndex,container:e.container},on:{change:e.handleChange},model:{value:t[i.id],callback:function(n){e.$set(t,i.id,n)},expression:"item[col.id]"}},"bpm-sub-form-field",e.$attrs,!1))],1)})),1),e._v(" "),e.canRemove&&e.countLimit.canRemove?n("el-button",{staticClass:"btn-delete",attrs:{type:"danger",icon:"el-icon-delete",circle:""},on:{click:function(n){return e.handleRemoveItem(t.rowIndex)}}}):e._e()],1)})),0)};v._withStripped=!0;var w={name:"SubFormStyleList",mixins:[s],data(){return{style_ui_type:"list"}},props:{linkageItem:{type:Object,default:function(){return{}}}}},M=(0,c.A)(w,v,[],!1,null,null,null);M.options.__file="components/lib/bpmSubForm/src/list.vue";var k=M.exports,L=n(4419);class S{constructor(e,t){this.penetrationZList=[],this.elementIdList=[],this.eleMap={},this.relyGraphData={nodes:[],edges:[]},this.elements=[],this.bpm=e,this.value=t}addStackArr(e,t,n){this.eleMap=t,this.elements=_.concat(this.elements,e),this.elementIdList=_.map(t,"id"),_.each(e,(e=>{n&&_.set(e,"parentId",n);let i=_.get(e,"linkage.depends",[]),a=_.get(e,"scope.depends",[]),o=_.get(e,"range_remote.depends",[]),r=_.concat(i,a);r=_.concat(r,o),n||(this.penetrationZList=_.concat(this.penetrationZList,r)),e.elements&&this.addStackArr(e.elements,t,e.id)})),this.createTopoGraph(e),this.penetrationZList=_.uniq(this.penetrationZList),this.penetrationZList=_.intersection(this.elementIdList,this.penetrationZList),this.relyGraphData.nodes.push({id:"sure000",name:"顶点"}),_.each(this.penetrationZList,(e=>{this.relyGraphData.edges.push({source:"sure000",target:e})}))}createTopoGraph(e){_.each(e,(e=>{let t=_.get(e,"mappings",[]),n=_.map(t,"local_field_id");_.each(n,(t=>{if(_.includes(this.elementIdList,t)){let n=_.get(this.eleMap,t);this.relyGraphData.nodes.push(n),this.relyGraphData.nodes.push(e),this.relyGraphData.edges.push({source:e.id,target:t})}}));let i=_.get(e,"linkage.depends",[]),a=_.get(e,"scope.depends",[]),o=_.get(e,"range_remote.depends",[]),r=_.concat(i,a);r=_.concat(r,o);let s=_.get(this.eleMap,e.id);if(_.each(r,(e=>{_.get(this.eleMap,e)||(_.pullAll(r,[e]),r=_.cloneDeep(r))})),r.length){let t=_.pullAll(this.penetrationZList,[e.id]);this.penetrationZList=_.cloneDeep(t)}_.each(r,(t=>{if(t&&e.id&&_.includes(this.elementIdList,t)){let n=_.get(this.eleMap,t);if(!n||!s)return;let i=s.id,a=_.get(this.eleMap,t);n&&!a&&(this.penetrationZList=_.replace(this.penetrationZList,t,i),this.penetrationZList=_.split(this.penetrationZList,",")),this.relyGraphData.nodes.push(e),this.relyGraphData.nodes.push(n),this.relyGraphData.edges.push({source:t,target:i})}e.elements&&this.createTopoGraph(e.elements)}))}))}getRelyHandleList(e,t){let n=[];const{breadthFirstSearch:i}=L.Algorithm;let a=null;return i(this.relyGraphData,e,{enter:({current:e,previous:t})=>{},leave:({current:i,previous:o})=>{a||i==e||t&&!_.includes(t,i)||(a=i),i!=e&&n.push(i)}}),{relyHandleList:n,firstId:a}}async loadLinkage(e,t,n,i,a){let o=[],r={};_.each(e,(e=>{let t=_.get(this.eleMap,e),i=_.get(t,"linkage.depends");if("Quote"==t.type&&(i=_.concat(i,_.get(t,"scope.depends"))),i=_.intersection(i,this.elementIdList),!_.isEmpty(i)){let t={calculate_type:"linkage",field_def_id:e},s=_.pick(n,i);r=_.merge(r,s),_.isNil(a)||_.set(t,"idx",a),o.push(t)}})),t&&_.set(r,i,t);let s=await this.bpm.loadResult({params:{cal_fields:o,fields:r}});return _.map(s.data,((e,t)=>{let n=_.get(this.eleMap,`${t}.type`);_.includes(["SelectFromForm","Quote"],n)&&(e=_.get(e,"data.form_id")),s.data[t]=e})),s.data}async fillDefault(e,t=[],n){let i=[];if(_.each(this.elements,(a=>{let o=_.includes(t,a.id);if(!_.get(a,"perm.writable"))return;if(o)return _.set(e,a.id,null),void this.setLocalCache(a.id,null,n);let r=_.get(e,a.id);if(!_.isNil(r))return;let s=_.get(a,"default.value.type");if("EVCConfig"==s){let t=_.get(a,"default.value.value",null);_.set(e,a.id,t),this.setLocalCache(a.id,t,n)}"EVCExpression"!=s&&"EVCFirstElem"!=s||i.push({calculate_type:"default",field_def_id:a.id})})),_.isEmpty(i))return;let a=await this.bpm.loadResult({params:{cal_fields:i}});_.map(a.data,((t,i)=>{let a=_.get(this.eleMap,`${i}.type`);_.includes(["SelectFromForm","Quote"],a)&&(t=_.get(t,"data.form_id")),_.includes(["MulSelectFromForm"],a)&&(t=_.map(t,"data.form_id")),_.set(e,i,t),this.setLocalCache(i,t,n)}))}setLocalCache(e,t,n){let i=_.get(this.eleMap,`${e}.value_type`);this.bpm.setLocalCache(n,`${e}.${i}`,t)}}var x={name:"BpmSubForm",components:{SubFormStyleTable:h,SubFormStyleCard:b,SubFormStyleList:k},props:{value:{type:Array,default(){return[]}},type:{type:String,default:"XSubForm"},fieldConf:{type:Object,default(){return{}}},mode:{type:String,default:"view"},uiType:{type:String,default:"default"},maxHeight:{type:[Number,String],default:500},showHeader:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},container:{type:Object,default:function(){return{}}},dm:{type:Boolean,default(){return!1}}},data(){return{subformData:[],tableMaxHeight:500,dialogTableMaxHeight:500,showSubForm:!1,linkageItem:null,initLinkageFlag:!1,relyHandleList:[],relyHandleListMap:{},relyingItemMap:{}}},computed:{fieldSelf(){return this},readOnly(){return console.log("this.fieldConf",this.fieldConf),!(this.fieldConf.perm.editable&&this.fieldConf.perm.modifiable)},columns(){const e=this.fieldConf.elements||[],t=[];return e.forEach((e=>{const n=a.Q[e.type]||{},i=e.perm||{visible:!0,editable:!0,writable:!0};if(this.dm||i.visible||i.editable||i.writable){e.visible=i.visible||this.dm;let a=this.mode;"edit"!==a||i.editable||i.writable||(a="view");let o=(t,n)=>{let i=(e,t)=>{let n=0;return e&&t?_.isString(e)?n=e.localeCompare(t):_.isArray(e)?e.length>0&&t.length>0?0==i[(e[0],t[0])]?(e.pop(),t.pop(),n=i(e,t)):n=i(e[0],t[0]):n=0==e.length&&t.length>0?-1:e.length>0&&0==t.length?1:0:n=e-t:n=!e&&t?-1:e&&!t?1:0,n};return null==t[e.id]?-1:null==n[e.id]?1:i(t[e.id],n[e.id])};t.push({key:e.id,id:e.id,label:e.name||e.id,minWidth:e.display.column_width||n.tableColWidth||100,sortable:!("edit"==this.mode&&e&&e.range_remote&&e.range_remote.depends&&e.range_remote.depends.length),sortBy:e.id,sortMethod:o,fieldMode:a,visible:i.visible,data:e})}})),t},subFormDialogTitle(){return this.fieldConf.name||this.fieldConf.id},showStyle(){return console.log("this.fieldConf.style",this.fieldConf.style),this.fieldConf.style||"table"},subformPerm(){return this.fieldConf.perm||{creatable:!1,deletable:!1,editable:!1,memorable:!1,modifiable:!1,visible:!0,writable:!1}},isSubForm(){return!0},elementIdList(){return _.map(this.fieldConf.elements,"id")},eleMap(){let e=this.fieldConf.elements,t=_.get(this.container,"formSchema.elements");return e=_.concat(e,t),_.keyBy(e,"id")}},watch:{value:{handler(e,t){e&&_.isArray(e)?(this.subformData=e,e!=t&&this.$nextTick((()=>{this.initLinkage()}))):this.subformData=[]},immediate:!0}},created(){window.addEventListener("resize",(()=>{const e=Math.floor(window.innerHeight-330);this.tableMaxHeight=e>550?e:550})),this.linkageItem=new S(this.$bpm),this.dialogTableMaxHeight=Math.floor(window.innerHeight/100*70-114)},mounted(){this.linkageItem.addStackArr(this.fieldConf.elements,this.eleMap),window.addEventListener("resize",(()=>{const e=Math.floor(window.innerHeight-330);this.tableMaxHeight=e>550?e:550})),setTimeout((()=>{const e=Math.floor(window.innerHeight-330);this.tableMaxHeight=e>550?e:550}),2e3),console.log("重新渲染")},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)},initLinkage(){if(this.initLinkageFlag||0==this.subformData.length)return!1;console.log("初始化联动");let{relyHandleList:e}=this.linkageItem.getRelyHandleList("sure000");_.set(this.relyHandleListMap,this.value.length-1,e),console.log("relyHandleList",e),console.log("this.relyHandleListMap",this.relyHandleListMap),this.initLinkageFlag=!0,setTimeout((()=>{console.log("initRelyComplete_subFormInitLinkage",this),this.$bpm.$emit("initRelyComplete",this)}),1e3)},handleNextRely(e){console.log("sub-form-handleNextRely");let t=_.get(this.relyHandleListMap,e);console.log("sub-form-handleNextRely_relyHandleList",t),t&&t.shift(),_.isEmpty(t)&&this.$bpm.$emit("initRelyComplete",this,e);let n=_.head(t,e);n&&this.$bpm.$emit("handeInitRely",{id:n,rowIndex:e})},async handleRelyById(e,t){console.log("sub-form-relyingItemMap",this.relyingItemMap),console.log("XSubForm handleRelyById"),console.log("sub-form-handleRelyById",e),console.log("sub-form-handleRelyById-rowIndex",t),console.log("sub-form-handleRelyById-this.elementIdList",this.elementIdList);let{relyHandleList:n,firstId:i}=this.linkageItem.getRelyHandleList(e);if(console.log("sub-form-handleRelyById-relyHandleList",n),console.log("sub-form-handleRelyById-firstId",i),_.set(this.relyHandleListMap,t,n),i){this.$bpm.setRelyLoading(!0);let e=await this.linkageItem.loadLinkage(n,this.value,this.container.formData,this.fieldConf.id,t);console.log("sub-form-handleRelyById-result",e),_.map(e,((e,n)=>{this.$set(this.value[t],`${n}`,e)})),this.$bpm.$emit("handeRelyById",{id:i,rowIndex:t})}else this.$bpm.setRelyLoading(!1)},handleNextRelyById(e){console.log("sub-form-handleNextRelyById");let t=_.get(this.relyHandleListMap,e);if(console.log("sub-form-handleNextRelyById-relyHandleList",t),t){this.$bpm.setRelyLoading(!0),t.shift(),_.isEmpty(t)&&this.$bpm.$emit("initRelyComplete",this,e);let n=_.head(t);n&&this.$bpm.$emit("handeRelyById",{id:n,rowIndex:e})}},setData(){}}},D=(0,c.A)(x,i,[],!1,null,"e0a458ce",null);D.options.__file="components/lib/bpmSubForm/src/main.vue";var C=D.exports;C.install=function(e){e.component(C.name,C)};var T=C},5990:function(e,t,n){"use strict";n.r(t),n.d(t,{BpmAppointment:function(){return $.default},BpmArea:function(){return x.default},BpmAreaElevation:function(){return D.default},BpmAudit:function(){return w.default},BpmDateTime:function(){return l.default},BpmExternalFormLink:function(){return I.default},BpmField:function(){return c.default},BpmFieldsFilter:function(){return T.default},BpmFormField:function(){return u.default},BpmMapLocation:function(){return O.default},BpmMulFile:function(){return d.default},BpmMulImage:function(){return b.default},BpmNumber:function(){return s.default},BpmOverTime:function(){return Y.default},BpmRating:function(){return j.default},BpmRichText:function(){return a.default},BpmSelect:function(){return o.default},BpmSelectCheckItem:function(){return f.default},BpmSelectEntranceForm:function(){return M.default},BpmSelectFromField:function(){return h.default},BpmSelectFromForm:function(){return p.default},BpmSelectFromId:function(){return g.default},BpmSelectFromMulForm:function(){return _.default},BpmSelectHouseOwner:function(){return k.default},BpmSelectIssue:function(){return S.default},BpmSelectUser:function(){return y.default},BpmSignature:function(){return L.default},BpmSubForm:function(){return v.default},BpmSubFormField:function(){return m.default},BpmText:function(){return i.default},BpmTime:function(){return r.default},BpmVideo:function(){return P.default},bpmConsts:function(){return V}});var i=n(1138),a=n(5540),o=n(2865),r=n(2656),s=n(7698),l=n(1933),d=n(2622),c=n(9666),u=n(4304),m=n(1849),f=n(8668),h=n(9674),p=n(1567),_=n(6170),g=n(2549),y=n(6974),b=n(2554),v=n(5961),w=n(4789),M=n(2179),k=n(4413),L=n(1824),S=n(8500),x=n(2042),D=n(7930),C=n(9973),T=n(9335),Y=n(6702),$=n(8141),j=n(865),O=n(625),I=n(7948),P=n(3610),E=n(7520);const A={BpmText:i.default,BpmRichText:a.default,BpmSelect:o.default,BpmTime:r.default,BpmNumber:s.default,BpmDateTime:l.default,BpmMulFile:d.default,BpmField:c.default,BpmFormField:u.default,BpmSubFormField:m.default,BpmSelectCheckItem:f.default,BpmSelectFromField:h.default,BpmSelectUser:y.default,BpmSelectPartner:h.default,BpmSelectProject:h.default,BpmSelectOrg:h.default,BpmDate:l.default,BpmSelectFromForm:p.default,BpmSelectFromMulForm:_.default,BpmSelectFromId:g.default,BpmMulImage:b.default,BpmSubForm:v.default,BpmAudit:w.default,BpmSelectEntranceForm:M.default,BpmSelectHouseOwner:k.default,BpmSignature:L.default,BpmSelectIssue:S.default,BpmFieldsFilter:T.default,BpmArea:x.default,BpmAreaElevation:D.default,BpmSpliter:C.default,BpmOverTime:Y.default,BpmAppointment:$.default,BpmRating:j.default,BpmMapLocation:O.default,BpmExternalFormLink:I.default,BpmVideo:P.default},F=function(e){F.installed||Object.keys(A).forEach((t=>{e.component(A[t].name,A[t])}))},V={FORM_FIELDS_MAP:E.Q};t.default={version:"1.0.28",install:F,bpmConsts:{FORM_FIELDS_MAP:E.Q}}},5995:function(e,t,n){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(5093))},6e3:function(e,t,n){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(5093))},6111:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},6144:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(2128),a=n(7060),o=n(6378),r=n(7532),s=n(9857),l=[i.default,a.default,(0,o.default)(),r.default,s.metadataVocabulary,s.contentVocabulary];t.default=l},6163:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9029),a=n(4227),o={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>i._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:n,parentSchema:o,it:r}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(r.opts.discriminator&&o.discriminator)return;const s=n,l=t.let("valid",!1),d=t.let("passing",null),c=t.name("_valid");e.setParams({passing:d}),t.block((function(){s.forEach(((n,o)=>{let s;(0,a.alwaysValidSchema)(r,n)?t.var(c,!0):s=e.subschema({keyword:"oneOf",schemaProp:o,compositeRule:!0},c),o>0&&t.if(i._`${c} && ${l}`).assign(l,!1).assign(d,i._`[${d}, ${o}]`).else(),t.if(c,(()=>{t.assign(l,!0),t.assign(d,o),s&&e.mergeEvaluated(s,i.Name)}))}))})),e.result(l,(()=>e.reset()),(()=>e.error(!0)))}};t.default=o},6169:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function i(e,t,n,i){var a="";if(t)switch(n){case"s":a="काही सेकंद";break;case"ss":a="%d सेकंद";break;case"m":a="एक मिनिट";break;case"mm":a="%d मिनिटे";break;case"h":a="एक तास";break;case"hh":a="%d तास";break;case"d":a="एक दिवस";break;case"dd":a="%d दिवस";break;case"M":a="एक महिना";break;case"MM":a="%d महिने";break;case"y":a="एक वर्ष";break;case"yy":a="%d वर्षे"}else switch(n){case"s":a="काही सेकंदां";break;case"ss":a="%d सेकंदां";break;case"m":a="एका मिनिटा";break;case"mm":a="%d मिनिटां";break;case"h":a="एका तासा";break;case"hh":a="%d तासां";break;case"d":a="एका दिवसा";break;case"dd":a="%d दिवसां";break;case"M":a="एका महिन्या";break;case"MM":a="%d महिन्यां";break;case"y":a="एका वर्षा";break;case"yy":a="%d वर्षां"}return a.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n(5093))},6170:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return I}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-select-from-form",attrs:{fieldConf:e.fieldConf,row:e.row,mode:e.mode,formName:e.formName,orgInfo:e.orgInfo,uiType:e.uiType,isMultiple:!0},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"select-from-form-editor"},[n("div",{on:{click:e.toOpen}},[e.formLabels.length?n("ul",{staticStyle:{"list-style":"none"}},e._l(e.formLabels,(function(t){return n("li",{key:t.form_id},[n("span",[e._v(e._s(t.form_title)+": ")]),e._v(" "),n("span",[e._v(e._s(t.label))])])})),0):n("div",{staticClass:"fake-trigger"},[e._v(e._s(e.$z("未选择","c.not_selected")))])]),e._v(" "),n("el-dialog",{attrs:{"append-to-body":!0,visible:e.opened,"before-close":e.onHide,title:e.fieldConf.name,width:"40%"},on:{"update:visible":function(t){e.opened=t},open:e.onOpen}},[n("el-input",{staticClass:"input-with-select",attrs:{placeholder:e.$z("只展示前100条数据,通过搜索获取更多","b2.common.see_100_data")},on:{input:e.throttleSearch},model:{value:e.keyword,callback:function(t){e.keyword=t},expression:"keyword"}}),e._v(" "),n("el-tabs",{staticStyle:{"margin-top":"20px"},attrs:{type:"card","tab-position":"top"},on:{"tab-click":e.hanldeTabClick}},e._l(e.rangeRemote,(function(t,i){return n("el-tab-pane",{key:t.form+i,attrs:{label:e.optionListArr[i]&&e.optionListArr[i].form_title||"表单"+i,name:t.form+i}},[e.optionListArr[i]&&e.optionListArr[i].options.length?n("div",{staticClass:"bpm-select-from-form-box"},[n("el-checkbox-group",{on:{change:e.handleChange},model:{value:e.curVal[i].form_ids,callback:function(t){e.$set(e.curVal[i],"form_ids",t)},expression:"curVal[index].form_ids"}},e._l(e.optionListArr[i].options,(function(t){return n("div",{key:t.id,staticClass:"form-item"},[n("div",{style:e.getTitleStyle(i)},[n("el-checkbox",{key:t.id,attrs:{label:t.id,disabled:e.setDisabled(t.id)}},[e._v(e._s(t.title))])],1),e._v(" "),e._l(t.fields,(function(t){return n("div",{key:t.key,staticClass:"subitem",style:e.geFieldStyle(i,t.key)},[e._v("\n "+e._s(t.name)+": "+e._s(t.value)+"\n ")])}))],2)})),0)],1):n("div",[e._v(e._s(e.$z("暂无数据","c.no_data")))])])})),1),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v(e._s(e.$z("确定","c.confirm")))])],1)],1)],1)};a._withStripped=!0;var o=n(6773),r=n.n(o),s=n(5281),l={props:["value","fieldConf","row","formName","formDefId","orgInfo","dm","isMultiple"],inject:["getSelectFields","selectOptions"],data(){return{curVal:[],label:zj.z("未选择","c.not_selected"),formLabels:[],keyword:"",opened:!1,throttleSearch:r().throttle(r().bind(this.search,this),1500,{trailing:!0,leading:!1}),optionListArr:[],formList:[]}},watch:{value(e){console.log("select_from_form_val",e),this.getCurVal(e),this.loadRemoteLabel()}},computed:{rangeRemote(){return this.fieldConf.range_remote||[]},placeholder(){return this.fieldConf.desc||this.fieldConf.name},maxCount(){return r().get(this.fieldConf,"check.max_count")},allChecked(){let e=[];return this.curVal.forEach((t=>{e.push(...t.form_ids)})),e}},created(){},mounted(){this.getCurVal(this.value),this.loadRemoteLabel()},methods:{getCurVal(e){let t=r().cloneDeep(e);t&&r().isArray(t)&&t.length?this.curVal=t:this.curVal=this.rangeRemote.map((e=>({form_def_id:e.form,form_ids:[]})))},getTitleStyle(e){let t=this.fieldConf.range_remote||[],n=r().get(t[e],"range_display.title");return{fontSize:r().get(n,"size",16)+"px",color:r().get(n,"color","#333")}},geFieldStyle(e,t){let n=this.fieldConf.rangeRemote||[],i=r().get(n[e],"range_display.fields"),a=r().keyBy(i,"field"),o=r().get(a,t);return{fontSize:r().get(o,"size",12)+"px",color:r().get(o,"color","#949494")}},hanldeTabClick(e){console.log(e)},handleChange(e){console.log(e)},setDisabled(e){const t=this.allChecked.length;return!this.allChecked.includes(e)&&t>=this.maxCount},async search(){let e=this.keyword,t=r().get(this.fieldConf,"id");const n={q:e};if(this.getSelectFields){let e=this.getSelectFields();e&&"{}"!==JSON.stringify(e)&&(n.fields=e)}let i=await s.A.assistField.selectFromMulFormSearchOpts(this.$bpm,{formDefId:this.formDefId,fieldDefId:t,orgInfo:this.orgInfo,isDm:this.dm},n),a=r().get(i.data,"data.items"),o=this.transformOptions(a);console.log(o),this.optionListArr=o},transformOptions(e){return console.log(e),e.map((e=>{let t=r().get(e,"definition.form.elements",[]),n=r().keyBy(t,"id"),i=r().map(e.data,(e=>({title:e.title,id:e.form_id,form_id:e.form_id,f_fields:e.f_fields,fields:r().map(e.f_fields,((e,t)=>({key:t,name:n[t]&&n[t].name,value:e})))})));return{form_def_id:r().get(e,"definition.form.id"),form_title:r().get(e,"definition.form.name"),options:i}}))},onHide(){this.opened=!1},onOpen(){if(this.getCurVal(this.value),this.selectOptions){let e=this.selectOptions();if(e&&e.length)return void(this.formList=this.transformOptions(e))}this.search()},toOpen(){this.opened=!0},onSubmit(){console.log("this.curVal",this.curVal),this.$emit("input",this.curVal),this.$emit("change",this.curVal),this.opened=!1},async loadRemoteLabel(){let e=this.allChecked,t=r().get(this.fieldConf,"id");console.log("values",e);const n=s.A.assistField.selectFromMulFormListTitleLoader(this.$bpm,{formDefId:this.formDefId,fieldDefId:t,orgInfo:this.orgInfo,isDm:this.dm}),i=await n.loads(...e),a=r().groupBy(i,"form_def_id");console.log(a);let o=[];Object.keys(a).forEach((e=>{let t=a[e].map((e=>e.label));o.push({form_def_id:a[e][0].form_def_id,form_title:a[e][0].form_title,label:t.join(", ")})})),this.formLabels=o}}},d=n(4486),c=(0,d.A)(l,a,[],!1,null,null,null);c.options.__file="components/lib/bpmSelectFromMulForm/src/part/editor.vue";var u=c.exports,m=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.formLabels.length?n("ul",{staticStyle:{"list-style":"none"}},e._l(e.formLabels,(function(t){return n("li",{key:t.form_id},[n("span",[e._v(e._s(t.form_title)+": ")]),e._v(" "),n("span",[e._v(e._s(t.label))])])})),0):n("div",[e._v(e._s(e.$z("未选择","c.not_selected")))])])};m._withStripped=!0;var f={props:["value","fieldConf","row","formDefId","orgInfo","dm"],data(){return{label:"",formLabels:[]}},computed:{allChecked(){let e=[];return this.value.forEach((t=>{e.push(...t.form_ids)})),e}},watch:{value(){this.loadRemoteLabel()}},mounted(){this.loadRemoteLabel()},methods:{async loadRemoteLabel(){let e=this.value;if(r().isNil(e)||!e||!r().isArray(e))return;let t=this.allChecked,n=r().get(this.fieldConf,"id");const i=s.A.assistField.selectFromMulFormListTitleLoader(this.$bpm,{formDefId:this.formDefId,fieldDefId:n,orgInfo:this.orgInfo,isDm:this.dm}),a=await i.loads(...t),o=r().groupBy(a,"form_def_id");console.log(o);let l=[];Object.keys(o).forEach((e=>{let t=o[e].map((e=>e.label));l.push({form_def_id:o[e][0].form_def_id,form_title:o[e][0].form_title,label:t.join(", ")})})),this.formLabels=l}}},h=(0,d.A)(f,m,[],!1,null,null,null);h.options.__file="components/lib/bpmSelectFromMulForm/src/part/reader.vue";var p=h.exports,g={name:"BpmSelectFromMulForm",components:{editorComponent:u,readerComponent:p},props:{value:{type:[String,Array],default(){return""}},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},orgInfo:{type:Object},formName:{type:String},isMultiple:{type:Boolean,default(){return!0}}},data(){return{curVal:[]}},computed:{curComponent(){return"view"==this.mode?p:u}},watch:{value(e){console.log("SelectFormMulForm_value",this.value),this.curVal=e}},mounted(){this.curVal=this.value},methods:{transValue(e){if(!e||!_.isArray(e))return[];let t=[];return this.val.forEach((e=>{t.push(...e.form_ids)})),t},handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},y=n(5072),b=n.n(y),v=n(7825),w=n.n(v),M=n(7659),k=n.n(M),L=n(5056),S=n.n(L),x=n(540),D=n.n(x),C=n(1113),T=n.n(C),Y=n(9850),$={};$.styleTagTransform=T(),$.setAttributes=S(),$.insert=k().bind(null,"head"),$.domAPI=w(),$.insertStyleElement=D(),b()(Y.A,$),Y.A&&Y.A.locals&&Y.A.locals;var j=(0,d.A)(g,i,[],!1,null,null,null);j.options.__file="components/lib/bpmSelectFromMulForm/src/main.vue";var O=j.exports;O.install=function(e){e.component(O.name,O)};var I=O},6179:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAAUCAYAAABWOyJDAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAQPSURBVHic7Zs/iFxVFMa/0U2UaJGksUgnIVhYxVhpjDbZCBmLdAYECxsRFBTUamcXUiSNncgKQbSxsxH8gzAP3FU2jY0kKKJNiiiIghFlccnP4p3nPCdv3p9778vsLOcHB2bfveeb7955c3jvvNkBIMdxnD64a94GHMfZu3iBcRynN7zAOI7TG15gHCeeNUkr8zaxG2lbYDYsdgMbktBsP03jdQwljSXdtBhLOmtjowC9Mg9L+knSlcD8TNKpSA9lBpK2JF2VdDSR5n5J64m0qli399hNFMUlpshQii5jbXTbHGviB0nLNeNDSd9VO4A2UdB2fp+x0eCnaXxWXGA2X0au/3HgN9P4LFCjIANOJdrLr0zzZ+BEpNYDwKbpnQMeAw4m8HjQtM6Z9qa917zPQwFr3M5KgA6J5rTJCdFZJj9/lyvGhsDvwFNVuV2MhhjrK6b9bFiE+j1r87eBl4HDwCF7/U/k+ofAX5b/EXBv5JoLMuILzf3Ap6Z3EzgdqHMCuF7hcQf4HDgeoHnccncqdK/TvSDWffFXI/exICY/xZyqc6XLWF1UFZna4gJ7q8BsRvgd2/xXpo6P+D9dfT7PpECtA3cnWPM0GXGFZh/wgWltA+cDNC7X+AP4GzjZQe+k5dRxuYPeiuXU7e1qwLpDz7dFjXKRaSwuMLvAlG8zZlG+YmiK1HoFqT7wP2z+4Q45TfEGcMt01xLoNZEBTwRqD4BLpnMLeC1A41UmVxsXgXeBayV/Wx20rpTyrpnWRft7p6O/FdqzGrDukPNtkaMoMo3FBdBSQMOnYBCReyf05s126fU9ytfX98+mY54Kxnp7S9K3kj6U9KYdG0h6UdLbkh7poFXMfUnSOyVvL0h6VtIXHbS6nOP+s/Zm9mvyXW1uuC9ohZ72E9uDmXWLJOB1GxsH+DxPftsB8B6wlGDN02TAkxG6+4D3TWsbeC5CS8CDFce+AW500LhhOW2020TRjK3b21HEmgti9m0RonxbdMZeVzV+/4tF3cBpP7E9mKHNL5q8h5g0eYsCMQz0epq8gQrwMXAgcs0FGXGFRcB9wCemF9PkbYqM/Bas7fxLwNeJPdTdpo4itQti8lPMqTpXuozVRVXPpbHI3KkNTB1NfkL81j2mvhDp91HgV9MKuRIqrykj3WPq4rHyL+axj8/qGPmTqi6F9YDlHOvJU6oYcTsh/TYSzWmTE6JT19CtLTJt32D6CmHe0eQn1O8z5AXgT4sx4Vcu0/EQecMydB8z0hUWkTd2t4CrwNEePqMBcAR4mrBbwyXLPWJa8zrXmmLEhNBmfpkuY2102xxrih+pb+ieAb6vGhuA97UcJ5KR8gZ77K+99xxeYBzH6Q3/Z0fHcXrDC4zjOL3hBcZxnN74F+zlvXFWXF9PAAAAAElFTkSuQmCC"},6181:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={s:["çend sanîye","çend sanîyeyan"],ss:[e+" sanîye",e+" sanîyeyan"],m:["deqîqeyek","deqîqeyekê"],mm:[e+" deqîqe",e+" deqîqeyan"],h:["saetek","saetekê"],hh:[e+" saet",e+" saetan"],d:["rojek","rojekê"],dd:[e+" roj",e+" rojan"],w:["hefteyek","hefteyekê"],ww:[e+" hefte",e+" hefteyan"],M:["mehek","mehekê"],MM:[e+" meh",e+" mehan"],y:["salek","salekê"],yy:[e+" sal",e+" salan"]};return t?a[n][0]:a[n][1]}e.defineLocale("ku-kmr",{months:"Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî".split("_"),weekdaysShort:"Yek_Du_Sê_Çar_Pên_În_Şem".split("_"),weekdaysMin:"Ye_Du_Sê_Ça_Pê_În_Şe".split("_"),meridiem:function(e,t,n){return e<12?n?"bn":"BN":n?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[Îro di saet] LT [de]",nextDay:"[Sibê di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a borî di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"berî %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,w:t,ww:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(?:yê|ê|\.)/,ordinal:function(e,t){var n=t.toLowerCase();return n.includes("w")||n.includes("m")?e+".":e+function(e){var t=(e=""+e).substring(e.length-1),n=e.length>1?e.substring(e.length-2):"";return 12==n||13==n||"2"!=t&&"3"!=t&&"50"!=n&&"70"!=t&&"80"!=t?"ê":"yê"}(e)},week:{dow:1,doy:4}})}(n(5093))},6195:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5093))},6234:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314);n.n(o)()(a()).push([e.id,".bpm-spliter[data-v-fd600b54] {\n margin: 10px 0px;\n margin-left: -15px;\n}\n.bpm-spliter .bpm-spliter-content[data-v-fd600b54] {\n padding: 8px 15px;\n background-color: #F7F7F7;\n align-items: center;\n display: flex;\n}\n.bpm-spliter .bpm-spliter-content .horization[data-v-fd600b54] {\n width: 4px;\n border-radius: 2px;\n background: #246ae3;\n height: 18px;\n margin-left: 10px;\n margin-right: 10px;\n}\n.bpm-spliter .bpm-spliter-content .label-title[data-v-fd600b54] {\n font-weight: bold;\n font-size: 14px;\n}\n.bpm-spliter .bpm-spliter-content .tip-title[data-v-fd600b54] {\n color: #666666;\n}\n.bpm-spliter .bpm-spliter-content .desc[data-v-fd600b54] {\n color: #999;\n font-size: 12px;\n line-height: 14px;\n text-indent: 10px;\n height: 12px;\n}\n",""])},6245:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o)()(a());r.push([e.id,"\n .select-box{\n display: flex;\n .select-box-left{\n width: 200px;\n .title{\n margin-bottom: 10px;\n }\n }\n .select-box-right{\n flex: 1;\n padding-left: 20px;\n .title{\n margin-bottom: 10px;\n }\n }\n } \n .select-app,.select-app-item, .select-form, .select-form-item{\n list-style: none;\n margin: 0;\n padding: 0;\n margin-bottom: 10px;\n } \n .select-app, .select-form{\n padding: 10px;\n .select-app-item{\n cursor: pointer;\n }\n }\n\n .select-app-item.active{\n color: #409EFF;\n }\n",""]),t.A=r},6250:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(2017);i.code='require("ajv/dist/runtime/equal").default',t.default=i},6308:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return i+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return i+(1===e?"dan":"dana");case"MM":return i+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return i+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5093))},6314:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,i,a,o){"string"==typeof e&&(e=[[null,e,void 0]]);var r={};if(i)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(r[l]=!0)}for(var d=0;d<e.length;d++){var c=[].concat(e[d]);i&&r[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),a&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=a):c[4]="".concat(a)),t.push(c))}},t}},6378:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(5457),a=n(5354),o=n(494),r=n(3966),s=n(2661),l=n(3025),d=n(9713),c=n(8660),u=n(117),m=n(5333),f=n(7923),h=n(6505),p=n(6163),_=n(5844),g=n(1239),y=n(4426);t.default=function(e=!1){const t=[f.default,h.default,p.default,_.default,g.default,y.default,d.default,c.default,l.default,u.default,m.default];return e?t.push(a.default,r.default):t.push(i.default,o.default),t.push(s.default),t}},6435:function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n(5093))},6464:function(e,t,n){!function(e){"use strict";var t={standalone:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),format:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),i=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],a=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function o(e){return e>1&&e<5&&1!=~~(e/10)}function r(e,t,n,i){var a=e+" ";switch(n){case"s":return t||i?"pár sekund":"pár sekundami";case"ss":return t||i?a+(o(e)?"sekundy":"sekund"):a+"sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?a+(o(e)?"minuty":"minut"):a+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?a+(o(e)?"hodiny":"hodin"):a+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?a+(o(e)?"dny":"dní"):a+"dny";case"M":return t||i?"měsíc":"měsícem";case"MM":return t||i?a+(o(e)?"měsíce":"měsíců"):a+"měsíci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?a+(o(e)?"roky":"let"):a+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},6505:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:n(5765).validateUnion,error:{message:"must match a schema in anyOf"}};t.default=i},6509:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o)()(a());r.push([e.id,".bpm-select-tree {\n .el-select-dropdown__item.hover {\n background: none!important;\n }\n .tree-options.el-select-dropdown__item {\n padding: 0 0;\n }\n}\n",""]),t.A=r},6571:function(e,t,n){!function(e){"use strict";var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5093))},6575:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n(5093))},6584:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5093))},6618:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+(i=+e,a={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n].split("_"),i%10==1&&i%100!=11?a[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?a[1]:a[2]);var i,a}function n(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n(5093))},6637:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a=e+" ";switch(n){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"ss":return a+(1===e?t?"sekundo":"sekundi":2===e?t||i?"sekundi":"sekundah":e<5?t||i?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return a+(1===e?t?"minuta":"minuto":2===e?t||i?"minuti":"minutama":e<5?t||i?"minute":"minutami":t||i?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return a+(1===e?t?"ura":"uro":2===e?t||i?"uri":"urama":e<5?t||i?"ure":"urami":t||i?"ur":"urami");case"d":return t||i?"en dan":"enim dnem";case"dd":return a+(1===e?t||i?"dan":"dnem":2===e?t||i?"dni":"dnevoma":t||i?"dni":"dnevi");case"M":return t||i?"en mesec":"enim mesecem";case"MM":return a+(1===e?t||i?"mesec":"mesecem":2===e?t||i?"meseca":"mesecema":e<5?t||i?"mesece":"meseci":t||i?"mesecev":"meseci");case"y":return t||i?"eno leto":"enim letom";case"yy":return a+(1===e?t||i?"leto":"letom":2===e?t||i?"leti":"letoma":e<5?t||i?"leta":"leti":t||i?"let":"leti")}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5093))},6653:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9029),a=n(7652),o=n(3835),r=n(4551),s=n(4227),l={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===a.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:n}})=>i._`{error: ${e}, tag: ${n}, tagValue: ${t}}`},code(e){const{gen:t,data:n,schema:l,parentSchema:d,it:c}=e,{oneOf:u}=d;if(!c.opts.discriminator)throw new Error("discriminator: requires discriminator option");const m=l.propertyName;if("string"!=typeof m)throw new Error("discriminator: requires propertyName");if(l.mapping)throw new Error("discriminator: mapping is not supported");if(!u)throw new Error("discriminator: requires oneOf keyword");const f=t.let("valid",!1),h=t.const("tag",i._`${n}${(0,i.getProperty)(m)}`);function p(n){const a=t.name("valid"),o=e.subschema({keyword:"oneOf",schemaProp:n},a);return e.mergeEvaluated(o,i.Name),a}t.if(i._`typeof ${h} == "string"`,(()=>function(){const n=function(){var e;const t={},n=a(d);let i=!0;for(let t=0;t<u.length;t++){let d=u[t];if((null==d?void 0:d.$ref)&&!(0,s.schemaHasRulesButRef)(d,c.self.RULES)){const e=d.$ref;if(d=o.resolveRef.call(c.self,c.schemaEnv.root,c.baseId,e),d instanceof o.SchemaEnv&&(d=d.schema),void 0===d)throw new r.default(c.opts.uriResolver,c.baseId,e)}const f=null===(e=null==d?void 0:d.properties)||void 0===e?void 0:e[m];if("object"!=typeof f)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${m}"`);i=i&&(n||a(d)),l(f,t)}if(!i)throw new Error(`discriminator: "${m}" must be required`);return t;function a({required:e}){return Array.isArray(e)&&e.includes(m)}function l(e,t){if(e.const)f(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${m}" must have "const" or "enum"`);for(const n of e.enum)f(n,t)}}function f(e,n){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${m}" values must be unique strings`);t[e]=n}}();t.if(!1);for(const e in n)t.elseIf(i._`${h} === ${e}`),t.assign(f,p(n[e]));t.else(),e.error(!1,{discrError:a.DiscrError.Mapping,tag:h,tagName:m}),t.endIf()}()),(()=>e.error(!1,{discrError:a.DiscrError.Tag,tag:h,tagName:m}))),e.ok(f)}};t.default=l},6702:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",{class:"status-"+e.statusType,staticStyle:{"font-weight":"500","font-size":"16px"},attrs:{endTime:e.endTime}},[e._t("default",(function(){return[e._v("\n"+e._s(e.content)+"\n")]}))],2)};i._withStripped=!0;var a={name:"BpmOverTime",data(){return{content:"",endTime:"",timer:null,statusType:"normal"}},props:{defaultEndTime:{type:String,default:""},colValue:{type:String,default:""}},watch:{endTime(){this.countdown(this.endTime)},colValue(e){this.endTime=e}},beforeUnmount(){this.timer&&clearInterval(this.timer)},mounted(){this.endTime=this.colValue,this.countdown(this.endTime)},methods:{countdown(e){let t={};_.isNumber(e)||(t=new Date(e)),e=parseInt(t.getTime()/1e3);let n=this;n.timer&&clearInterval(n.timer),this.timer=setInterval((()=>{let t=new Date;if(!e||0==e.length)return;let i=new Date(1e3*e).getTime()-t.getTime(),a=Math.abs(Math.floor(i/864e5)),o=Math.abs(Math.floor(i/36e5%24)),r=Math.abs(Math.floor(i/6e4%60)),s=Math.abs(Math.floor(i/1e3%60)),l="";a>1&&(this.statusType="normal",l=`${a}天`),a<=1&&a>0&&(this.statusType="warning2",l=`${a}天${o}小时`),a<=0&&o>0&&(this.statusType="warning",l=`${o}小时${r}分`),a<=0&&o<=0&&(this.statusType="danger",l=`${r}分${s}秒`),n.content=l,i<0&&(this.statusType="overtime2",n.content="超期"+n.content)}),1e3)}}},o=(n(7574),(0,n(4486).A)(a,i,[],!1,null,null,null));o.options.__file="components/lib/bpmOverTime/src/main.vue";var r=o.exports;r.install=function(e){e.component(r.name,r)};var s=r},6751:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var i=function(){var e=this;e.$createElement;return e._self._c,e._m(0)};i._withStripped=!0;var a=(0,n(4486).A)({name:"Demo2"},i,[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("h1",{staticClass:"m-demo"},[e._v("demo2")])])}],!1,null,null,null);a.options.__file="components/lib/demo2/src/main.vue";var o=a.exports;o.install=function(e){e.component(o.name,o)};var r=o},6773:function(t){"use strict";t.exports=e},6794:function(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},6870:function(e,t,n){!function(e){"use strict";var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,n){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(5093))},6897:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return w}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vue-map-container"},[n("div",{ref:"vue-map",staticClass:"vue-map"}),e._v(" "),n("div",{staticClass:"vue-map-hidden"},[e._t("default")],2),e._v(" "),e._t("visible")],2)};i._withStripped=!0;var a,o=(a=n(5217)).default||a,r=n(5072),s=n.n(r),l=n(7825),d=n.n(l),c=n(7659),u=n.n(c),m=n(5056),f=n.n(m),h=n(540),p=n.n(h),_=n(1113),g=n.n(_),y=n(8195),b={};b.styleTagTransform=g(),b.setAttributes=f(),b.insert=u().bind(null,"head"),b.domAPI=d(),b.insertStyleElement=p(),s()(y.A,b),y.A&&y.A.locals&&y.A.locals;var v=(0,n(4486).A)(o,i,[],!1,null,null,null);v.options.__file="node_modules/vue2-google-maps/dist/components/map.vue";var w=v.exports},6902:function(e){self,e.exports=function(){"use strict";var e={109:function(e,t,n){n.d(t,{default:function(){return s}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"color-indication"},e._l(e.colorConfig.data,(function(t){return n("div",{key:t.name,staticClass:"color-indication-item",style:{width:t.width}},["left"==e.textPlace?n("span",[e._v(e._s(t.title)),t.percent?n("span",[e._v("("+e._s(t.percent)+")")]):e._e()]):e._e(),e._v(" "),n("div",{staticClass:"color-rect",style:{"background-color":t.color,"border-color":t.border_color}}),e._v(" "),"right"==e.textPlace?n("span",[e._v(e._s(t.title)),t.percent?n("span",[e._v("("+e._s(t.percent)+")")]):e._e()]):e._e()])})),0)};i._withStripped=!0;var a={name:"ZjColorIndication",props:{colorConfig:{type:Object,default:function(){return{}}},textPlace:{type:String,default:"right"}}},o=(0,n(900).Z)(a,i,[],!1,null,"3d1ff590",null);o.options.__file="components/lib/color-indication/src/main.vue";var r=o.exports;r.install=function(e){e.component(r.name,r)};var s=r},924:function(e,t,n){n.d(t,{default:function(){return r}});var i=function(){var e=this;return e.$createElement,e._self._c,e._m(0)};i._withStripped=!0;var a=(0,n(900).Z)({name:"Demo"},i,[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("h1",{staticClass:"m-demo"},[e._v("demo1")])])}],!1,null,null,null);a.options.__file="components/lib/demo/src/main.vue";var o=a.exports;o.install=function(e){e.component(o.name,o)};var r=o},367:function(e,t,n){n.d(t,{default:function(){return r}});var i=function(){var e=this;return e.$createElement,e._self._c,e._m(0)};i._withStripped=!0;var a=(0,n(900).Z)({name:"Demo2"},i,[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("h1",{staticClass:"m-demo"},[e._v("demo2")])])}],!1,null,null,null);a.options.__file="components/lib/demo2/src/main.vue";var o=a.exports;o.install=function(e){e.component(o.name,o)};var r=o},622:function(e,t,n){n.d(t,{default:function(){return u}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"select-position-table"},[n("div",{staticClass:"select-position-table-content"},[n("div",{staticClass:"select-position-table-content-left",staticStyle:{width:"100px",overflow:"hidden"}},[n("table",{staticClass:"left-table"},[n("tbody",e._l(e.list,(function(t){return n("tr",{key:t.key},[n("td",{staticClass:"floor"},[n("div",[e._v(e._s(t.title))])]),e._v(" "),e._l(t.childrens,(function(i,a){return n("td",{key:i.key,staticStyle:{visibility:"hidden"}},[n("cell-item",{model:{value:t.childrens[a],callback:function(n){e.$set(t.childrens,a,n)},expression:"item.childrens[index]"}})],1)}))],2)})),0)])]),e._v(" "),n("div",{staticClass:"select-position-table-content-right"},[n("table",[n("tbody",e._l(e.list,(function(t){return n("tr",{key:t.key},e._l(t.childrens,(function(i,a){return n("td",{key:i.key},[n("cell-item",{attrs:{readonly:e.readonly},model:{value:t.childrens[a],callback:function(n){e.$set(t.childrens,a,n)},expression:"item.childrens[index]"}})],1)})),0)})),0)])])])])};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"position-table-cell"},[n("div",{staticClass:"cell-parent",class:{is_selected:e.curVal.state},style:{background:e.curVal.color}},[n("div",{staticClass:"parent",class:{"only-parent":e.curVal.childrens&&0==e.curVal.childrens.length||!e.curVal.childrens},on:{click:function(t){return e.troggleParent(e.curVal)}}},[e._v(e._s(e.curVal.title)+"\n "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.curVal.state,expression:"curVal.state"}],staticClass:"flag"},[n("i",{staticClass:"icon el-icon-check"})])]),e._v(" "),n("div",{staticClass:"cell-childs"},e._l(e.curVal.childrens,(function(t){return n("div",{key:t.key,staticClass:"cell-child",class:{is_child_selected:t.state&&!e.curVal.state},style:{background:t.color},on:{click:function(n){return e.troggleChild(t)}}},[e._v(e._s(t.title)+"\n\n "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.state&&!e.curVal.state,expression:"child_item.state && !curVal.state"}],staticClass:"flag"},[n("i",{staticClass:"icon el-icon-check"})])])})),0)])])};a._withStripped=!0;var o={props:{value:{type:Object,default:function(){return{}}},readonly:{type:Boolean,default:!1}},data(){return{curVal:{}}},watch:{value(e){this.curVal=e}},methods:{troggleParent(e){if(this.readonly)return!1;if(console.log("item",e),e.color&&"#FFFFFF"!=e.color&&"#ffffff"!=e.color&&"#FFF"!=e.color&&"#fff"!=e.color)return!1;let t=!1;if(_.each(this.curVal.childrens,(e=>{e.color&&"#FFFFFF"!=e.color&&"#ffffff"!=e.color&&"#FFF"!=e.color&&"#fff"!=e.color&&(t=!0)})),t)return!1;this.curVal.state=!this.curVal.state,_.each(this.curVal.childrens,(e=>{e.state=this.curVal.state})),this.setVal()},troggleChild(e){if(console.log("child_item",e),console.log("this.curVal",this.curVal),this.readonly)return!1;if(e.color&&"#FFFFFF"!=e.color&&"#ffffff"!=e.color&&"#FFF"!=e.color&&"#fff"!=e.color)return!1;e.state=!e.state;let t=!0;_.each(this.curVal.childrens,(e=>{e.state||(t=!1)})),this.curVal.state=t,this.setVal()},setVal(){this.$emit("input",this.curVal)}},mounted(){this.curVal=this.value}},r=n(900),s=(0,r.Z)(o,a,[],!1,null,null,null);s.options.__file="components/lib/select-position-table/src/widgets/cell-item.vue";var l={name:"ZjPcSelectPositionTable",components:{CellItem:s.exports},props:{value:{type:Array,default:function(){return[]}},data:{type:Array,default:()=>[]},readonly:{type:Boolean,default:!1},withParent:{type:Boolean,default:!0}},watch:{value:{handler(){this.setSelectedItem()},deep:!0},data:{handler(e){this.list=_.cloneDeep(e),this.setSelectedItem()},deep:!0,immediate:!0},list:{handler(e){this.getSelectedItem(e)},deep:!0}},data(){return{list:[]}},methods:{setSelectedItem(){_.each(this.list,(e=>{_.each(e.childrens,(e=>{if(e.childrens&&e.childrens.length>0){let t=0;_.each(e.childrens,(e=>{_.find(this.value,{key:e.key})?(e.state=!0,t++):e.state=!1})),t==e.childrens.length?e.state=!0:e.state=!1}else _.find(this.value,{key:e.key})?e.state=!0:e.state=!1}))}))},getSelectedItem(e){let t=[];_.each(e,(e=>{_.each(e.childrens,(n=>{n.childrens&&n.childrens.length>0?(_.each(n.childrens,(i=>{i.state&&t.push({name:e.title+"-"+n.title+"-"+i.title,key:i.key})})),this.withParent&&n.state&&t.push({name:e.title+"-"+n.title,key:n.key})):n.state&&t.push({name:e.title+"-"+n.title,key:n.key})}))})),this.$emit("input",t)}},mounted(){}},d=(0,r.Z)(l,i,[],!1,null,null,null);d.options.__file="components/lib/select-position-table/src/main.vue";var c=d.exports;c.install=function(e){e.component(c.name,c)};var u=c},387:function(e,t,n){n.d(t,{default:function(){return ut}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-popover",{ref:"col_config",attrs:{"popper-class":"table-cloumn-configer",placement:"bottom",width:"200",trigger:"click"}},[n("div",{staticClass:"content"},[n("div",[e.showConfirm?n("div",{staticClass:"btn-grp"},[n("el-button",{attrs:{round:"",size:"mini",disabled:!e.editing},on:{click:e.reset}},[e._v(e._s(e.$z("重置","c.reset"))+"\n ")]),e._v(" "),n("el-button",{attrs:{type:"primary",round:"",size:"mini",disabled:!e.editing},on:{click:e.submit}},[e._v(e._s(e.$z("确定","c.confirm"))+"\n ")])],1):e._e(),e._v(" "),n("div",{staticClass:"tip"},[e._v("\n "+e._s(e.$z("提示:拖拽可排序","b2.common.tip_can_drap_sort")))])]),e._v(" "),n("ul",{staticClass:"col-config-list"},e._l(e.cols_config,(function(t,i){return n("li",{key:""+i,staticStyle:{cursor:"grab"}},[n("el-checkbox",{on:{change:function(t){return e.checkboxClick()}},model:{value:t.show,callback:function(n){e.$set(t,"show",n)},expression:"col.show"}}),e._v(" "),n("div",{staticClass:"item-name",attrs:{title:t.label}},[e._v("\n "+e._s(t.label)+"\n ")])],1)})),0)]),e._v(" "),e._t("default",(function(){return[n("i",{staticClass:"el-icon-s-tools",staticStyle:{"font-size":"20px",color:"#666",cursor:"pointer"},attrs:{title:"设置字段"}})]}),{slot:"reference"})],2)],1)};function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},l.apply(this,arguments)}function d(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}i._withStripped=!0;var c=d(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),u=d(/Edge/i),m=d(/firefox/i),f=d(/safari/i)&&!d(/chrome/i)&&!d(/android/i),h=d(/iP(ad|od|hone)/i),p=d(/chrome/i)&&d(/android/i),g={capture:!1,passive:!1};function y(e,t,n){e.addEventListener(t,n,!c&&g)}function b(e,t,n){e.removeEventListener(t,n,!c&&g)}function v(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function w(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function M(e,t,n,i){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&v(e,t):v(e,t))||i&&e===n)return e;if(e===n)break}while(e=w(e))}return null}var k,L=/\s+/g;function S(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var i=(" "+e.className+" ").replace(L," ").replace(" "+t+" "," ");e.className=(i+(n?" "+t:"")).replace(L," ")}}function x(e,t,n){var i=e&&e.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in i||-1!==t.indexOf("webkit")||(t="-webkit-"+t),i[t]=n+("string"==typeof n?"":"px")}}function D(e,t){var n="";if("string"==typeof e)n=e;else do{var i=x(e,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!t&&(e=e.parentNode));var a=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return a&&new a(n)}function C(e,t,n){if(e){var i=e.getElementsByTagName(t),a=0,o=i.length;if(n)for(;a<o;a++)n(i[a],a);return i}return[]}function T(){return document.scrollingElement||document.documentElement}function Y(e,t,n,i,a){if(e.getBoundingClientRect||e===window){var o,r,s,l,d,u,m;if(e!==window&&e.parentNode&&e!==T()?(r=(o=e.getBoundingClientRect()).top,s=o.left,l=o.bottom,d=o.right,u=o.height,m=o.width):(r=0,s=0,l=window.innerHeight,d=window.innerWidth,u=window.innerHeight,m=window.innerWidth),(t||n)&&e!==window&&(a=a||e.parentNode,!c))do{if(a&&a.getBoundingClientRect&&("none"!==x(a,"transform")||n&&"static"!==x(a,"position"))){var f=a.getBoundingClientRect();r-=f.top+parseInt(x(a,"border-top-width")),s-=f.left+parseInt(x(a,"border-left-width")),l=r+o.height,d=s+o.width;break}}while(a=a.parentNode);if(i&&e!==window){var h=D(a||e),p=h&&h.a,_=h&&h.d;h&&(l=(r/=_)+(u/=_),d=(s/=p)+(m/=p))}return{top:r,left:s,bottom:l,right:d,width:m,height:u}}}function $(e){var t=Y(e),n=parseInt(x(e,"padding-left")),i=parseInt(x(e,"padding-top")),a=parseInt(x(e,"padding-right")),o=parseInt(x(e,"padding-bottom"));return t.top+=i+parseInt(x(e,"border-top-width")),t.left+=n+parseInt(x(e,"border-left-width")),t.width=e.clientWidth-n-a,t.height=e.clientHeight-i-o,t.bottom=t.top+t.height,t.right=t.left+t.width,t}function j(e,t,n){for(var i=A(e,!0),a=Y(e)[t];i;){var o=Y(i)[n];if(!("top"===n||"left"===n?a>=o:a<=o))return i;if(i===T())break;i=A(i,!1)}return!1}function O(e,t,n,i){for(var a=0,o=0,r=e.children;o<r.length;){if("none"!==r[o].style.display&&r[o]!==Ve.ghost&&(i||r[o]!==Ve.dragged)&&M(r[o],n.draggable,e,!1)){if(a===t)return r[o];a++}o++}return null}function I(e,t){for(var n=e.lastElementChild;n&&(n===Ve.ghost||"none"===x(n,"display")||t&&!v(n,t));)n=n.previousElementSibling;return n||null}function P(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===Ve.clone||t&&!v(e,t)||n++;return n}function E(e){var t=0,n=0,i=T();if(e)do{var a=D(e),o=a.a,r=a.d;t+=e.scrollLeft*o,n+=e.scrollTop*r}while(e!==i&&(e=e.parentNode));return[t,n]}function A(e,t){if(!e||!e.getBoundingClientRect)return T();var n=e,i=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var a=x(n);if(n.clientWidth<n.scrollWidth&&("auto"==a.overflowX||"scroll"==a.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==a.overflowY||"scroll"==a.overflowY)){if(!n.getBoundingClientRect||n===document.body)return T();if(i||t)return n;i=!0}}}while(n=n.parentNode);return T()}function F(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function V(e,t){return function(){if(!k){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),k=setTimeout((function(){k=void 0}),t)}}}function H(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function R(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}var z="Sortable"+(new Date).getTime(),N=[],W={initializeByDefault:!0},B={mount:function(e){for(var t in W)W.hasOwnProperty(t)&&!(t in e)&&(e[t]=W[t]);N.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),N.push(e)},pluginEvent:function(e,t,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var a=e+"Global";N.forEach((function(i){t[i.pluginName]&&(t[i.pluginName][a]&&t[i.pluginName][a](o({sortable:t},n)),t.options[i.pluginName]&&t[i.pluginName][e]&&t[i.pluginName][e](o({sortable:t},n)))}))},initializePlugins:function(e,t,n,i){for(var a in N.forEach((function(i){var a=i.pluginName;if(e.options[a]||i.initializeByDefault){var o=new i(e,t,e.options);o.sortable=e,o.options=e.options,e[a]=o,l(n,o.defaults)}})),e.options)if(e.options.hasOwnProperty(a)){var o=this.modifyOption(e,a,e.options[a]);void 0!==o&&(e.options[a]=o)}},getEventProperties:function(e,t){var n={};return N.forEach((function(i){"function"==typeof i.eventProperties&&l(n,i.eventProperties.call(t[i.pluginName],e))})),n},modifyOption:function(e,t,n){var i;return N.forEach((function(a){e[a.pluginName]&&a.optionListeners&&"function"==typeof a.optionListeners[t]&&(i=a.optionListeners[t].call(e[a.pluginName],n))})),i}},U=["evt"],G=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,a=function(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n,i,a={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(n,U);B.pluginEvent.bind(Ve)(e,t,o({dragEl:J,parentEl:K,ghostEl:X,rootEl:Z,nextEl:Q,lastDownEl:ee,cloneEl:te,cloneHidden:ne,dragStarted:pe,putSortable:le,activeSortable:Ve.active,originalEvent:i,oldIndex:ie,oldDraggableIndex:oe,newIndex:ae,newDraggableIndex:re,hideGhostForTarget:Pe,unhideGhostForTarget:Ee,cloneNowHidden:function(){ne=!0},cloneNowShown:function(){ne=!1},dispatchSortableEvent:function(e){q({sortable:t,name:e,originalEvent:i})}},a))};function q(e){!function(e){var t=e.sortable,n=e.rootEl,i=e.name,a=e.targetEl,r=e.cloneEl,s=e.toEl,l=e.fromEl,d=e.oldIndex,m=e.newIndex,f=e.oldDraggableIndex,h=e.newDraggableIndex,p=e.originalEvent,_=e.putSortable,g=e.extraEventProperties;if(t=t||n&&n[z]){var y,b=t.options,v="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||c||u?(y=document.createEvent("Event")).initEvent(i,!0,!0):y=new CustomEvent(i,{bubbles:!0,cancelable:!0}),y.to=s||n,y.from=l||n,y.item=a||n,y.clone=r,y.oldIndex=d,y.newIndex=m,y.oldDraggableIndex=f,y.newDraggableIndex=h,y.originalEvent=p,y.pullMode=_?_.lastPutMode:void 0;var w=o(o({},g),B.getEventProperties(i,t));for(var M in w)y[M]=w[M];n&&n.dispatchEvent(y),b[v]&&b[v].call(t,y)}}(o({putSortable:le,cloneEl:te,targetEl:J,rootEl:Z,oldIndex:ie,oldDraggableIndex:oe,newIndex:ae,newDraggableIndex:re},e))}var J,K,X,Z,Q,ee,te,ne,ie,ae,oe,re,se,le,de,ce,ue,me,fe,he,pe,_e,ge,ye,be,ve=!1,we=!1,Me=[],ke=!1,Le=!1,Se=[],xe=!1,De=[],Ce="undefined"!=typeof document,Te=h,Ye=u||c?"cssFloat":"float",$e=Ce&&!p&&!h&&"draggable"in document.createElement("div"),je=function(){if(Ce){if(c)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Oe=function(e,t){var n=x(e),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),a=O(e,0,t),o=O(e,1,t),r=a&&x(a),s=o&&x(o),l=r&&parseInt(r.marginLeft)+parseInt(r.marginRight)+Y(a).width,d=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+Y(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(a&&r.float&&"none"!==r.float){var c="left"===r.float?"left":"right";return!o||"both"!==s.clear&&s.clear!==c?"horizontal":"vertical"}return a&&("block"===r.display||"flex"===r.display||"table"===r.display||"grid"===r.display||l>=i&&"none"===n[Ye]||o&&"none"===n[Ye]&&l+d>i)?"vertical":"horizontal"},Ie=function(e){function t(e,n){return function(i,a,o,r){var s=i.options.group.name&&a.options.group.name&&i.options.group.name===a.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(i,a,o,r),n)(i,a,o,r);var l=(n?i:a).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},i=e.group;i&&"object"==r(i)||(i={name:i}),n.name=i.name,n.checkPull=t(i.pull,!0),n.checkPut=t(i.put),n.revertClone=i.revertClone,e.group=n},Pe=function(){!je&&X&&x(X,"display","none")},Ee=function(){!je&&X&&x(X,"display","")};Ce&&!p&&document.addEventListener("click",(function(e){if(we)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),we=!1,!1}),!0);var Ae=function(e){if(J){e=e.touches?e.touches[0]:e;var t=(a=e.clientX,o=e.clientY,Me.some((function(e){var t=e[z].options.emptyInsertThreshold;if(t&&!I(e)){var n=Y(e),i=a>=n.left-t&&a<=n.right+t,s=o>=n.top-t&&o<=n.bottom+t;return i&&s?r=e:void 0}})),r);if(t){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[z]._onDragOver(n)}}var a,o,r},Fe=function(e){J&&J.parentNode[z]._isOutsideThisEl(e.target)};function Ve(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=l({},t),e[z]=this;var n,i,a={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Oe(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Ve.supportPointer&&"PointerEvent"in window&&!f,emptyInsertThreshold:5};for(var r in B.initializePlugins(this,e,a),a)!(r in t)&&(t[r]=a[r]);for(var s in Ie(t),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!t.forceFallback&&$e,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?y(e,"pointerdown",this._onTapStart):(y(e,"mousedown",this._onTapStart),y(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(y(e,"dragover",this),y(e,"dragenter",this)),Me.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),l(this,(i=[],{captureAnimationState:function(){i=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(e){if("none"!==x(e,"display")&&e!==Ve.ghost){i.push({target:e,rect:Y(e)});var t=o({},i[i.length-1].rect);if(e.thisAnimationDuration){var n=D(e,!0);n&&(t.top-=n.f,t.left-=n.e)}e.fromRect=t}}))},addAnimationState:function(e){i.push(e)},removeAnimationState:function(e){i.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var i in t)if(t.hasOwnProperty(i)&&t[i]===e[n][i])return Number(n);return-1}(i,{target:e}),1)},animateAll:function(e){var t=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof e&&e());var a=!1,o=0;i.forEach((function(e){var n=0,i=e.target,r=i.fromRect,s=Y(i),l=i.prevFromRect,d=i.prevToRect,c=e.rect,u=D(i,!0);u&&(s.top-=u.f,s.left-=u.e),i.toRect=s,i.thisAnimationDuration&&F(l,s)&&!F(r,s)&&(c.top-s.top)/(c.left-s.left)==(r.top-s.top)/(r.left-s.left)&&(n=function(e,t,n,i){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*i.animation}(c,l,d,t.options)),F(s,r)||(i.prevFromRect=r,i.prevToRect=s,n||(n=t.options.animation),t.animate(i,c,s,n)),n&&(a=!0,o=Math.max(o,n),clearTimeout(i.animationResetTimer),i.animationResetTimer=setTimeout((function(){i.animationTime=0,i.prevFromRect=null,i.fromRect=null,i.prevToRect=null,i.thisAnimationDuration=null}),n),i.thisAnimationDuration=n)})),clearTimeout(n),a?n=setTimeout((function(){"function"==typeof e&&e()}),o):"function"==typeof e&&e(),i=[]},animate:function(e,t,n,i){if(i){x(e,"transition",""),x(e,"transform","");var a=D(this.el),o=a&&a.a,r=a&&a.d,s=(t.left-n.left)/(o||1),l=(t.top-n.top)/(r||1);e.animatingX=!!s,e.animatingY=!!l,x(e,"transform","translate3d("+s+"px,"+l+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),x(e,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),x(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){x(e,"transition",""),x(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),i)}}}))}function He(e,t,n,i,a,o,r,s){var l,d,m=e[z],f=m.options.onMove;return!window.CustomEvent||c||u?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=i,l.related=a||t,l.relatedRect=o||Y(t),l.willInsertAfter=s,l.originalEvent=r,e.dispatchEvent(l),f&&(d=f.call(m,l,r)),d}function Re(e){e.draggable=!1}function ze(){xe=!1}function Ne(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,i=0;n--;)i+=t.charCodeAt(n);return i.toString(36)}function We(e){return setTimeout(e,0)}function Be(e){return clearTimeout(e)}Ve.prototype={constructor:Ve,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(_e=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,J):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,i=this.options,a=i.preventOnFilter,o=e.type,r=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(r||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,d=i.filter;if(function(e){De.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var i=t[n];i.checked&&De.push(i)}}(n),!J&&!(/mousedown|pointerdown/.test(o)&&0!==e.button||i.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!f||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=M(s,i.draggable,n,!1))&&s.animated||ee===s)){if(ie=P(s),oe=P(s,i.draggable),"function"==typeof d){if(d.call(this,e,s,this))return q({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),G("filter",t,{evt:e}),void(a&&e.cancelable&&e.preventDefault())}else if(d&&(d=d.split(",").some((function(i){if(i=M(l,i.trim(),n,!1))return q({sortable:t,rootEl:i,name:"filter",targetEl:s,fromEl:n,toEl:n}),G("filter",t,{evt:e}),!0}))))return void(a&&e.cancelable&&e.preventDefault());i.handle&&!M(l,i.handle,n,!1)||this._prepareDragStart(e,r,s)}}},_prepareDragStart:function(e,t,n){var i,a=this,o=a.el,r=a.options,s=o.ownerDocument;if(n&&!J&&n.parentNode===o){var l=Y(n);if(Z=o,K=(J=n).parentNode,Q=J.nextSibling,ee=n,se=r.group,Ve.dragged=J,de={target:J,clientX:(t||e).clientX,clientY:(t||e).clientY},fe=de.clientX-l.left,he=de.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,J.style["will-change"]="all",i=function(){G("delayEnded",a,{evt:e}),Ve.eventCanceled?a._onDrop():(a._disableDelayedDragEvents(),!m&&a.nativeDraggable&&(J.draggable=!0),a._triggerDragStart(e,t),q({sortable:a,name:"choose",originalEvent:e}),S(J,r.chosenClass,!0))},r.ignore.split(",").forEach((function(e){C(J,e.trim(),Re)})),y(s,"dragover",Ae),y(s,"mousemove",Ae),y(s,"touchmove",Ae),y(s,"mouseup",a._onDrop),y(s,"touchend",a._onDrop),y(s,"touchcancel",a._onDrop),m&&this.nativeDraggable&&(this.options.touchStartThreshold=4,J.draggable=!0),G("delayStart",this,{evt:e}),!r.delay||r.delayOnTouchOnly&&!t||this.nativeDraggable&&(u||c))i();else{if(Ve.eventCanceled)return void this._onDrop();y(s,"mouseup",a._disableDelayedDrag),y(s,"touchend",a._disableDelayedDrag),y(s,"touchcancel",a._disableDelayedDrag),y(s,"mousemove",a._delayedDragTouchMoveHandler),y(s,"touchmove",a._delayedDragTouchMoveHandler),r.supportPointer&&y(s,"pointermove",a._delayedDragTouchMoveHandler),a._dragStartTimer=setTimeout(i,r.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){J&&Re(J),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;b(e,"mouseup",this._disableDelayedDrag),b(e,"touchend",this._disableDelayedDrag),b(e,"touchcancel",this._disableDelayedDrag),b(e,"mousemove",this._delayedDragTouchMoveHandler),b(e,"touchmove",this._delayedDragTouchMoveHandler),b(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?y(document,"pointermove",this._onTouchMove):y(document,t?"touchmove":"mousemove",this._onTouchMove):(y(J,"dragend",this),y(Z,"dragstart",this._onDragStart));try{document.selection?We((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(ve=!1,Z&&J){G("dragStarted",this,{evt:t}),this.nativeDraggable&&y(document,"dragover",Fe);var n=this.options;!e&&S(J,n.dragClass,!1),S(J,n.ghostClass,!0),Ve.active=this,e&&this._appendGhost(),q({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(ce){this._lastX=ce.clientX,this._lastY=ce.clientY,Pe();for(var e=document.elementFromPoint(ce.clientX,ce.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(ce.clientX,ce.clientY))!==t;)t=e;if(J.parentNode[z]._isOutsideThisEl(e),t)do{if(t[z]&&t[z]._onDragOver({clientX:ce.clientX,clientY:ce.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break;e=t}while(t=t.parentNode);Ee()}},_onTouchMove:function(e){if(de){var t=this.options,n=t.fallbackTolerance,i=t.fallbackOffset,a=e.touches?e.touches[0]:e,o=X&&D(X,!0),r=X&&o&&o.a,s=X&&o&&o.d,l=Te&&be&&E(be),d=(a.clientX-de.clientX+i.x)/(r||1)+(l?l[0]-Se[0]:0)/(r||1),c=(a.clientY-de.clientY+i.y)/(s||1)+(l?l[1]-Se[1]:0)/(s||1);if(!Ve.active&&!ve){if(n&&Math.max(Math.abs(a.clientX-this._lastX),Math.abs(a.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(X){o?(o.e+=d-(ue||0),o.f+=c-(me||0)):o={a:1,b:0,c:0,d:1,e:d,f:c};var u="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");x(X,"webkitTransform",u),x(X,"mozTransform",u),x(X,"msTransform",u),x(X,"transform",u),ue=d,me=c,ce=a}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!X){var e=this.options.fallbackOnBody?document.body:Z,t=Y(J,!0,Te,!0,e),n=this.options;if(Te){for(be=e;"static"===x(be,"position")&&"none"===x(be,"transform")&&be!==document;)be=be.parentNode;be!==document.body&&be!==document.documentElement?(be===document&&(be=T()),t.top+=be.scrollTop,t.left+=be.scrollLeft):be=T(),Se=E(be)}S(X=J.cloneNode(!0),n.ghostClass,!1),S(X,n.fallbackClass,!0),S(X,n.dragClass,!0),x(X,"transition",""),x(X,"transform",""),x(X,"box-sizing","border-box"),x(X,"margin",0),x(X,"top",t.top),x(X,"left",t.left),x(X,"width",t.width),x(X,"height",t.height),x(X,"opacity","0.8"),x(X,"position",Te?"absolute":"fixed"),x(X,"zIndex","100000"),x(X,"pointerEvents","none"),Ve.ghost=X,e.appendChild(X),x(X,"transform-origin",fe/parseInt(X.style.width)*100+"% "+he/parseInt(X.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,i=e.dataTransfer,a=n.options;G("dragStart",this,{evt:e}),Ve.eventCanceled?this._onDrop():(G("setupClone",this),Ve.eventCanceled||((te=R(J)).removeAttribute("id"),te.draggable=!1,te.style["will-change"]="",this._hideClone(),S(te,this.options.chosenClass,!1),Ve.clone=te),n.cloneId=We((function(){G("clone",n),Ve.eventCanceled||(n.options.removeCloneOnHide||Z.insertBefore(te,J),n._hideClone(),q({sortable:n,name:"clone"}))})),!t&&S(J,a.dragClass,!0),t?(we=!0,n._loopId=setInterval(n._emulateDragOver,50)):(b(document,"mouseup",n._onDrop),b(document,"touchend",n._onDrop),b(document,"touchcancel",n._onDrop),i&&(i.effectAllowed="move",a.setData&&a.setData.call(n,i,J)),y(document,"drop",n),x(J,"transform","translateZ(0)")),ve=!0,n._dragStartId=We(n._dragStarted.bind(n,t,e)),y(document,"selectstart",n),pe=!0,f&&x(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,i,a,r=this.el,s=e.target,l=this.options,d=l.group,c=Ve.active,u=se===d,m=l.sort,f=le||c,h=this,p=!1;if(!xe){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),s=M(s,l.draggable,r,!0),V("dragOver"),Ve.eventCanceled)return p;if(J.contains(e.target)||s.animated&&s.animatingX&&s.animatingY||h._ignoreWhileAnimating===s)return N(!1);if(we=!1,c&&!l.disabled&&(u?m||(i=K!==Z):le===this||(this.lastPutMode=se.checkPull(this,c,J,e))&&d.checkPut(this,c,J,e))){if(a="vertical"===this._getDirection(e,s),t=Y(J),V("dragOverValid"),Ve.eventCanceled)return p;if(i)return K=Z,R(),this._hideClone(),V("revert"),Ve.eventCanceled||(Q?Z.insertBefore(J,Q):Z.appendChild(J)),N(!0);var _=I(r,l.draggable);if(!_||function(e,t,n){var i=Y(I(n.el,n.options.draggable)),a=$(n.el);return t?e.clientX>a.right+10||e.clientY>i.bottom&&e.clientX>i.left:e.clientY>a.bottom+10||e.clientX>i.right&&e.clientY>i.top}(e,a,this)&&!_.animated){if(_===J)return N(!1);if(_&&r===e.target&&(s=_),s&&(n=Y(s)),!1!==He(Z,r,J,t,s,n,e,!!s))return R(),_&&_.nextSibling?r.insertBefore(J,_.nextSibling):r.appendChild(J),K=r,W(),N(!0)}else if(_&&function(e,t,n){var i=Y(O(n.el,0,n.options,!0)),a=$(n.el);return t?e.clientX<a.left-10||e.clientY<i.top&&e.clientX<i.right:e.clientY<a.top-10||e.clientY<i.bottom&&e.clientX<i.left}(e,a,this)){var g=O(r,0,l,!0);if(g===J)return N(!1);if(n=Y(s=g),!1!==He(Z,r,J,t,s,n,e,!1))return R(),r.insertBefore(J,g),K=r,W(),N(!0)}else if(s.parentNode===r){n=Y(s);var y,b,v,w=J.parentNode!==r,k=!function(e,t,n){var i=n?e.left:e.top,a=n?e.right:e.bottom,o=n?e.width:e.height,r=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return i===r||a===s||i+o/2===r+l/2}(J.animated&&J.toRect||t,s.animated&&s.toRect||n,a),L=a?"top":"left",D=j(s,"top","top")||j(J,"top","top"),C=D?D.scrollTop:void 0;if(_e!==s&&(b=n[L],ke=!1,Le=!k&&l.invertSwap||w),y=function(e,t,n,i,a,o,r,s){var l=i?e.clientY:e.clientX,d=i?n.height:n.width,c=i?n.top:n.left,u=i?n.bottom:n.right,m=!1;if(!r)if(s&&ye<d*a){if(!ke&&(1===ge?l>c+d*o/2:l<u-d*o/2)&&(ke=!0),ke)m=!0;else if(1===ge?l<c+ye:l>u-ye)return-ge}else if(l>c+d*(1-a)/2&&l<u-d*(1-a)/2)return function(e){return P(J)<P(e)?1:-1}(t);return(m=m||r)&&(l<c+d*o/2||l>u-d*o/2)?l>c+d/2?1:-1:0}(e,s,n,a,k?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,Le,_e===s),0!==y){var T=P(J);do{T-=y,v=K.children[T]}while(v&&("none"===x(v,"display")||v===X))}if(0===y||v===s)return N(!1);_e=s,ge=y;var E=s.nextElementSibling,A=!1,F=He(Z,r,J,t,s,n,e,A=1===y);if(!1!==F)return 1!==F&&-1!==F||(A=1===F),xe=!0,setTimeout(ze,30),R(),A&&!E?r.appendChild(J):s.parentNode.insertBefore(J,A?E:s),D&&H(D,0,C-D.scrollTop),K=J.parentNode,void 0===b||Le||(ye=Math.abs(b-Y(s)[L])),W(),N(!0)}if(r.contains(J))return N(!1)}return!1}function V(l,d){G(l,h,o({evt:e,isOwner:u,axis:a?"vertical":"horizontal",revert:i,dragRect:t,targetRect:n,canSort:m,fromSortable:f,target:s,completed:N,onMove:function(n,i){return He(Z,r,J,t,n,Y(n),e,i)},changed:W},d))}function R(){V("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function N(t){return V("dragOverCompleted",{insertion:t}),t&&(u?c._hideClone():c._showClone(h),h!==f&&(S(J,le?le.options.ghostClass:c.options.ghostClass,!1),S(J,l.ghostClass,!0)),le!==h&&h!==Ve.active?le=h:h===Ve.active&&le&&(le=null),f===h&&(h._ignoreWhileAnimating=s),h.animateAll((function(){V("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===J&&!J.animated||s===r&&!s.animated)&&(_e=null),l.dragoverBubble||e.rootEl||s===document||(J.parentNode[z]._isOutsideThisEl(e.target),!t&&Ae(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),p=!0}function W(){ae=P(J),re=P(J,l.draggable),q({sortable:h,name:"change",toEl:r,newIndex:ae,newDraggableIndex:re,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){b(document,"mousemove",this._onTouchMove),b(document,"touchmove",this._onTouchMove),b(document,"pointermove",this._onTouchMove),b(document,"dragover",Ae),b(document,"mousemove",Ae),b(document,"touchmove",Ae)},_offUpEvents:function(){var e=this.el.ownerDocument;b(e,"mouseup",this._onDrop),b(e,"touchend",this._onDrop),b(e,"pointerup",this._onDrop),b(e,"touchcancel",this._onDrop),b(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;ae=P(J),re=P(J,n.draggable),G("drop",this,{evt:e}),K=J&&J.parentNode,ae=P(J),re=P(J,n.draggable),Ve.eventCanceled||(ve=!1,Le=!1,ke=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Be(this.cloneId),Be(this._dragStartId),this.nativeDraggable&&(b(document,"drop",this),b(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),f&&x(document.body,"user-select",""),x(J,"transform",""),e&&(pe&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),X&&X.parentNode&&X.parentNode.removeChild(X),(Z===K||le&&"clone"!==le.lastPutMode)&&te&&te.parentNode&&te.parentNode.removeChild(te),J&&(this.nativeDraggable&&b(J,"dragend",this),Re(J),J.style["will-change"]="",pe&&!ve&&S(J,le?le.options.ghostClass:this.options.ghostClass,!1),S(J,this.options.chosenClass,!1),q({sortable:this,name:"unchoose",toEl:K,newIndex:null,newDraggableIndex:null,originalEvent:e}),Z!==K?(ae>=0&&(q({rootEl:K,name:"add",toEl:K,fromEl:Z,originalEvent:e}),q({sortable:this,name:"remove",toEl:K,originalEvent:e}),q({rootEl:K,name:"sort",toEl:K,fromEl:Z,originalEvent:e}),q({sortable:this,name:"sort",toEl:K,originalEvent:e})),le&&le.save()):ae!==ie&&ae>=0&&(q({sortable:this,name:"update",toEl:K,originalEvent:e}),q({sortable:this,name:"sort",toEl:K,originalEvent:e})),Ve.active&&(null!=ae&&-1!==ae||(ae=ie,re=oe),q({sortable:this,name:"end",toEl:K,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){G("nulling",this),Z=J=K=X=Q=te=ee=ne=de=ce=pe=ae=re=ie=oe=_e=ge=le=se=Ve.dragged=Ve.ghost=Ve.clone=Ve.active=null,De.forEach((function(e){e.checked=!0})),De.length=ue=me=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":J&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,i=0,a=n.length,o=this.options;i<a;i++)M(e=n[i],o.draggable,this.el,!1)&&t.push(e.getAttribute(o.dataIdAttr)||Ne(e));return t},sort:function(e,t){var n={},i=this.el;this.toArray().forEach((function(e,t){var a=i.children[t];M(a,this.options.draggable,i,!1)&&(n[e]=a)}),this),t&&this.captureAnimationState(),e.forEach((function(e){n[e]&&(i.removeChild(n[e]),i.appendChild(n[e]))})),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return M(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var i=B.modifyOption(this,e,t);n[e]=void 0!==i?i:t,"group"===e&&Ie(n)},destroy:function(){G("destroy",this);var e=this.el;e[z]=null,b(e,"mousedown",this._onTapStart),b(e,"touchstart",this._onTapStart),b(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(b(e,"dragover",this),b(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Me.splice(Me.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!ne){if(G("hideClone",this),Ve.eventCanceled)return;x(te,"display","none"),this.options.removeCloneOnHide&&te.parentNode&&te.parentNode.removeChild(te),ne=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(ne){if(G("showClone",this),Ve.eventCanceled)return;J.parentNode!=Z||this.options.group.revertClone?Q?Z.insertBefore(te,Q):Z.appendChild(te):Z.insertBefore(te,J),this.options.group.revertClone&&this.animate(J,te),x(te,"display",""),ne=!1}}else this._hideClone()}},Ce&&y(document,"touchmove",(function(e){(Ve.active||ve)&&e.cancelable&&e.preventDefault()})),Ve.utils={on:y,off:b,css:x,find:C,is:function(e,t){return!!M(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:V,closest:M,toggleClass:S,clone:R,index:P,nextTick:We,cancelNextTick:Be,detectDirection:Oe,getChild:O},Ve.get=function(e){return e[z]},Ve.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(Ve.utils=o(o({},Ve.utils),e.utils)),B.mount(e)}))},Ve.create=function(e,t){return new Ve(e,t)},Ve.version="1.15.1";var Ue,Ge,qe,Je,Ke,Xe,Ze=[],Qe=!1;function et(){Ze.forEach((function(e){clearInterval(e.pid)})),Ze=[]}function tt(){clearInterval(Xe)}var nt=V((function(e,t,n,i){if(t.scroll){var a,o=(e.touches?e.touches[0]:e).clientX,r=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,l=t.scrollSpeed,d=T(),c=!1;Ge!==n&&(Ge=n,et(),Ue=t.scroll,a=t.scrollFn,!0===Ue&&(Ue=A(n,!0)));var u=0,m=Ue;do{var f=m,h=Y(f),p=h.top,_=h.bottom,g=h.left,y=h.right,b=h.width,v=h.height,w=void 0,M=void 0,k=f.scrollWidth,L=f.scrollHeight,S=x(f),D=f.scrollLeft,C=f.scrollTop;f===d?(w=b<k&&("auto"===S.overflowX||"scroll"===S.overflowX||"visible"===S.overflowX),M=v<L&&("auto"===S.overflowY||"scroll"===S.overflowY||"visible"===S.overflowY)):(w=b<k&&("auto"===S.overflowX||"scroll"===S.overflowX),M=v<L&&("auto"===S.overflowY||"scroll"===S.overflowY));var $=w&&(Math.abs(y-o)<=s&&D+b<k)-(Math.abs(g-o)<=s&&!!D),j=M&&(Math.abs(_-r)<=s&&C+v<L)-(Math.abs(p-r)<=s&&!!C);if(!Ze[u])for(var O=0;O<=u;O++)Ze[O]||(Ze[O]={});Ze[u].vx==$&&Ze[u].vy==j&&Ze[u].el===f||(Ze[u].el=f,Ze[u].vx=$,Ze[u].vy=j,clearInterval(Ze[u].pid),0==$&&0==j||(c=!0,Ze[u].pid=setInterval(function(){i&&0===this.layer&&Ve.active._onTouchMove(Ke);var t=Ze[this.layer].vy?Ze[this.layer].vy*l:0,n=Ze[this.layer].vx?Ze[this.layer].vx*l:0;"function"==typeof a&&"continue"!==a.call(Ve.dragged.parentNode[z],n,t,e,Ke,Ze[this.layer].el)||H(Ze[this.layer].el,n,t)}.bind({layer:u}),24))),u++}while(t.bubbleScroll&&m!==d&&(m=A(m,!1)));Qe=c}}),30),it=function(e){var t=e.originalEvent,n=e.putSortable,i=e.dragEl,a=e.activeSortable,o=e.dispatchSortableEvent,r=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var l=n||a;r();var d=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(d.clientX,d.clientY);s(),l&&!l.el.contains(c)&&(o("spill"),this.onSpill({dragEl:i,putSortable:n}))}};function at(){}function ot(){}at.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var i=O(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(t,i):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:it},l(at,{pluginName:"revertOnSpill"}),ot.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:it},l(ot,{pluginName:"removeOnSpill"}),Ve.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?y(document,"dragover",this._handleAutoScroll):this.options.supportPointer?y(document,"pointermove",this._handleFallbackAutoScroll):t.touches?y(document,"touchmove",this._handleFallbackAutoScroll):y(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?b(document,"dragover",this._handleAutoScroll):(b(document,"pointermove",this._handleFallbackAutoScroll),b(document,"touchmove",this._handleFallbackAutoScroll),b(document,"mousemove",this._handleFallbackAutoScroll)),tt(),et(),clearTimeout(k),k=void 0},nulling:function(){Ke=Ge=Ue=Qe=Xe=qe=Je=null,Ze.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,i=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,o=document.elementFromPoint(i,a);if(Ke=e,t||this.options.forceAutoScrollFallback||u||c||f){nt(e,this.options,o,t);var r=A(o,!0);!Qe||Xe&&i===qe&&a===Je||(Xe&&tt(),Xe=setInterval((function(){var o=A(document.elementFromPoint(i,a),!0);o!==r&&(r=o,et()),nt(e,n.options,o,t)}),10),qe=i,Je=a)}else{if(!this.options.bubbleScroll||A(o,!0)===T())return void et();nt(e,this.options,A(o,!1),!1)}}},l(e,{pluginName:"scroll",initializeByDefault:!0})}),Ve.mount(ot,at);var rt=Ve,st={name:"ZjTableColumnConfiger",props:{defaultColumnShowCount:{type:Number,default:20},defaultColumnShowKeys:{type:Array,default:()=>[]},columns:{type:Array,default:()=>[]},columnKey:{type:String,default:"id"},props:{type:Object,default(){return{label:"label"}}},showConfirm:{type:Boolean,default:!1},tag:{type:String,default:""},userId:{type:[String,Number],default:""}},watch:{columns(e){console.log("newValue",e),this.cols_config=this.getCustomerColsConfig(e),this.$emit("change",this.cols_config)}},data(){return{editing:!1,visible:!1,cols_config:[],ColsConfigTmp:[]}},methods:{reset(){this.cols_config=[],this.$nextTick((()=>{this.cols_config=this.getCustomerColsConfig(this.columns)})),this.editing=!1},submit(){this.update(),this.editing=!1},update(){console.log("update: ",this.cols_config),this.setCutomerColsConfig(),this.$emit("change",this.cols_config)},checkboxClick(){this.editing=!0,this.showConfirm||this.update()},initDragSort(){const e=this.$refs.col_config.$el.querySelectorAll(".col-config-list")[0];rt.create(e,{onEnd:({oldIndex:e,newIndex:t})=>{this.editing=!0;const n=this.ColsConfigTmp[e];this.ColsConfigTmp.splice(e,1),this.ColsConfigTmp.splice(t,0,n),console.log("this.ColsConfigTmp",this.ColsConfigTmp);const i=this.ColsConfigTmp.map((e=>e.id));console.log("newKeysArr: ",i),_.each(this.cols_config,(e=>{const t=i.indexOf(e.id);e.sort_index=t})),console.log("this.col_config: ",this.col_config),this.$forceUpdate(),this.showConfirm||this.update()}})},setCutomerColsConfig(){let e={},t="";e=localStorage.getItem("COLUMN_CUSTOMER_CONFIG")&&JSON.parse(localStorage.getItem("COLUMN_CUSTOMER_CONFIG"))||{},t=e[this.userId+this.tag],t?t.field_colunms_config=this.cols_config:t={field_colunms_config:this.cols_config},e[this.userId+this.tag]=t,localStorage.setItem("COLUMN_CUSTOMER_CONFIG",JSON.stringify(e))},setColWidth(e,t){_.each(this.cols_config,(n=>{n.id==e&&(n.width=t)})),this.setCutomerColsConfig()},getCustomerColsConfig(e){let t=[],n={},i=[],a={};a=localStorage.getItem("COLUMN_CUSTOMER_CONFIG")&&JSON.parse(localStorage.getItem("COLUMN_CUSTOMER_CONFIG"))||{},n=a[this.userId+this.tag],n&&n.field_colunms_config&&(i=n.field_colunms_config);let o=0;return _.each(e,(e=>{let n=_.find(i,{id:e[this.columnKey]});if(n)t.push({label:e[this.props.label],id:e[this.columnKey],show:n.show,sort_index:n.sort_index,width:n.width||""});else{let n=!1;n=_.isNil(e.default_show)?!!(o<=this.defaultColumnShowCount||_.includes(this.defaultColumnShowKeys,e[this.columnKey])):e.default_show,n&&o++,t.push({label:e[this.props.label],id:e[this.columnKey],show:n,sort_index:0,width:""})}})),t=_.sortBy(t,"sort_index"),this.ColsConfigTmp=_.cloneDeep(t),t}},mounted(){this.cols_config=this.getCustomerColsConfig(this.columns),this.initDragSort()}},lt=st,dt=(0,n(900).Z)(lt,i,[],!1,null,null,null);dt.options.__file="components/lib/table-column-configer/src/main.vue";var ct=dt.exports;ct.install=function(e){e.component(ct.name,ct)};var ut=ct},900:function(e,t,n){function i(e,t,n,i,a,o,r,s){var l,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),i&&(d.functional=!0),o&&(d._scopeId="data-v-"+o),r?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},d._ssrRegister=l):a&&(l=s?function(){a.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(e,t){return l.call(t),c(e,t)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,l):[l]}return{exports:e,options:d}}n.d(t,{Z:function(){return i}})}},t={};function n(i){var a=t[i];if(void 0!==a)return a.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,n),o.exports}n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return function(){n.r(i),n.d(i,{ColorIndication:function(){return r.default},Demo:function(){return e.default},Demo2:function(){return t.default},SelectPositionTable:function(){return o.default},TableColumnConfiger:function(){return a.default}});var e=n(924),t=n(367),a=n(387),o=n(622),r=n(109);const s={Demo:e.default,Demo2:t.default,TableColumnConfiger:a.default,SelectPositionTable:o.default,ColorIndication:r.default},l=function(e){l.installed||Object.keys(s).forEach((t=>{e.component(s[t].name,s[t])}))};i.default={version:"0.0.10",install:l}}(),i}()},6939:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const i=n(4227),a=n(2017),o=n(7106),r=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!l(e):!!t&&d(e)<=t)};const s=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function l(e){for(const t in e){if(s.has(t))return!0;const n=e[t];if(Array.isArray(n)&&n.some(l))return!0;if("object"==typeof n&&l(n))return!0}return!1}function d(e){let t=0;for(const n in e){if("$ref"===n)return 1/0;if(t++,!r.has(n)&&("object"==typeof e[n]&&(0,i.eachItem)(e[n],(e=>t+=d(e))),t===1/0))return 1/0}return t}function c(e,t="",n){!1!==n&&(t=f(t));const i=e.parse(t);return u(e,i)}function u(e,t){return e.serialize(t).split("#")[0]+"#"}t.getFullPath=c,t._getFullPath=u;const m=/#\/?$/;function f(e){return e?e.replace(m,""):""}t.normalizeId=f,t.resolveUrl=function(e,t,n){return n=f(n),e.resolve(t,n)};const h=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};const{schemaId:n,uriResolver:i}=this.opts,r=f(e[n]||t),s={"":r},l=c(i,r,!1),d={},u=new Set;return o(e,{allKeys:!0},((e,t,i,a)=>{if(void 0===a)return;const o=l+t;let r=s[a];function c(t){const n=this.opts.uriResolver.resolve;if(t=f(r?n(r,t):t),u.has(t))throw p(t);u.add(t);let i=this.refs[t];return"string"==typeof i&&(i=this.refs[i]),"object"==typeof i?m(e,i.schema,t):t!==f(o)&&("#"===t[0]?(m(e,d[t],t),d[t]=e):this.refs[t]=o),t}function _(e){if("string"==typeof e){if(!h.test(e))throw new Error(`invalid anchor "${e}"`);c.call(this,`#${e}`)}}"string"==typeof e[n]&&(r=c.call(this,e[n])),_.call(this,e.$anchor),_.call(this,e.$dynamicAnchor),s[t]=r})),d;function m(e,t,n){if(void 0!==t&&!a(e,t))throw p(n)}function p(e){return new Error(`reference "${e}" resolves to more than one schema`)}}},6947:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-ps",{months:"كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل".split("_"),monthsShort:"ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).split("").reverse().join("").replace(/[١٢](?![\u062a\u0643])/g,(function(e){return n[e]})).split("").reverse().join("").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(5093))},6961:function(e,t,n){"use strict";e.exports=n.p+"4c6f1cd9993ba8a53b8e.ttf?v=4.7.0"},6974:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return C}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({ref:"inner-component",tag:"component",staticClass:"bpm-select-form-field",attrs:{value:e.curVal,type:e.type,fieldConf:e.fieldConf,row:e.row,mode:e.mode,orgInfo:e.orgInfo,formName:e.formName,uiType:e.uiType,isMultiple:e.multiple},on:{change:e.handleChange}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-select-edit",staticStyle:{display:"flex","align-items":"center"}},[n("el-select",e._g(e._b({key:e.isMultiple?"two":"one",attrs:{placeholder:e.placeholder,multiple:e.isMultiple,clearable:"",filterable:"",remote:e.options_max_count>99,"remote-method":e.options_max_count>99&&e.remoteMethod},on:{change:e.onChange,focus:function(t){e.unitVisible=!0}},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"el-select",e.$attrs,!1),e.$listeners),e._l(e.options,(function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.unitVisible&&e.showUnit,expression:"unitVisible && showUnit"}],staticStyle:{display:"flex"}},[n("span",{on:{click:function(t){e.unitVisible=!1}}},[e._v("《 ")]),e._v(" "),e.showUnit?n("select-unit",{staticStyle:{"margin-left":"5px","margin-right":"5px"},attrs:{fieldConf:e.fieldConf,formDefId:e.formDefId,orgInfo:e.orgInfo},on:{change:e.handleUnitChange}}):e._e(),e._v(" "),e.showUnit?n("el-select",{key:e.isMultiple?"two":"one",attrs:{placeholder:e.placeholder,multiple:e.isMultiple,filterable:"",remote:"","remote-method":e.remoteMethod},on:{change:e.onUnitChildsChange},model:{value:e.unitChildCurVal,callback:function(t){e.unitChildCurVal=t},expression:"unitChildCurVal"}},e._l(e.unitChildsOptions,(function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1):e._e()],1)],1)};a._withStripped=!0;var o=n(5554),r=n.n(o),s=n(7642),l=n(5281),d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",["list"==e.uiType?n("div",[n("div",{staticStyle:{padding:"0px 10px"}},[n("el-input",{staticClass:"search-input",attrs:{"prefix-icon":"el-icon-search",placeholder:e.$z("输入关键字搜索","c.search_tip")},on:{input:e.debounceSearchTeams},model:{value:e.teamKeyword,callback:function(t){e.teamKeyword=t},expression:"teamKeyword"}})],1),e._v(" "),n("ul",{staticClass:"department-list"},e._l(e.teams,(function(t){return n("li",{key:t.value,class:{"is-selected":t.value==e.selectedTeam},on:{click:function(n){return e.selectTeam(t)}}},[e._v(e._s(t.label))])})),0)]):n("el-select",{attrs:{placeholder:e.$z("单位选择","b2.common.unit_selection"),filterable:"",remote:""},on:{"remote-method":e.remoteMethod,change:e.handleUnitChange},model:{value:e.selectedTeam,callback:function(t){e.selectedTeam=t},expression:"selectedTeam"}},e._l(e.teams,(function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)};d._withStripped=!0;var c={name:"SelectUnit",props:["fieldConf","orgInfo","formDefId","uiType"],data(){return{selectedTeam:"",teams:[],teamMap:{},teamKeyword:"",debounceSearchTeams:_.debounce(_.bind(this.loadTeams,this),150,{trailing:!0,leading:!1})}},mounted(){this.loadTeams()},methods:{selectTeam(e){this.selectedTeam=e.value,this.handleUnitChange()},handleUnitChange(){this.$emit("change",this.selectedTeam)},async loadTeams(){let e=_.get(this.orgInfo,"page_level"),t=_.get(this.orgInfo,`${e}_id`);this.teams=await this.$bpm.searchTeamSelectOpts(this.fieldConf.id,{keyword:this.teamKeyword,[`${e}_id`]:t},this.formDefId),this.teamKeyword||this.teams.unshift({value:"",label:zj.z("全部","c.all_2")}),this.teamMap=_.keyBy(this.teams,"value")},remoteMethod(e){this.teamKeyword=e||"",this.debounceSearchTeams()}}},u=n(4486),m=(0,u.A)(c,d,[],!1,null,null,null);m.options.__file="components/lib/bpmSelectUser/src/part/select-unit.vue";var f=m.exports;r().use(s.Select),r().use(s.Option);var h={props:["type","value","fieldConf","row","formName","formDefId","orgInfo","dm","isMultiple"],components:{SelectUnit:f},data(){return{curVal:"",options:[],allOptions:[],options_max_count:0,keyword:"",unit:{search_type:"",org_id:""},unitVisible:!1,unitChildCurVal:"",unitChildsOptions:[]}},watch:{value(){this.curVal=this.value,0==this.options.length&&this.value&&this.loadRemoteLabel(),this.showUnit&&this._setUnitChildCurVal(this.curVal)},curVal(e){e&&0!=e.length||(this.options=this.allOptions)},getSelectOptions:function(e){console.log("----selectOptions----",e),this.transformOptions(e),this.setDefaultVal()}},inject:["selectOptions"],computed:{placeholder(){return this.fieldConf.desc||this.fieldConf.name},getSelectOptions(){return this.selectOptions?this.selectOptions():[]},showUnit(){return"SelectURUser"===this.type||"MulSelectURUser"===this.type}},created(){this.curVal=this.isMultiple?[]:""},mounted(){(this.fieldConf.perm||{visible:!0}).visible&&this.loadSelectOpts(),this.curVal=this.value},methods:{async loadRemoteLabel(){let e=this.value;try{if(_.isObject(e))try{e=JSON.parse(e)}catch(e){console.log("error",e)}let t=_.isArray(e)?e:[e],n=_.get(this.fieldConf,"id");if(!_.isEmpty(t)){t=_.isArray(t)?t:[t];let e=await this.$bpm.fetchLabelByValues(t,n,this.formName,this.row);if(e=e.split(","),console.log("res",e),e&&e.length>0){let t=[];for(let n=0;n<this.curVal.length;n++)t.push({label:e[n],value:this.curVal[n]});this.options=t}}}finally{console.log("finally")}},handleUnitChange(e){let t=_.split(e,"$"),n=_.get(t,"0"),i=_.get(t,"1");this.unit={search_type:n,org_id:i},this.loadSelectOpts("",JSON.stringify(this.unit))},remoteMethod(e){let t="";this.showUnit&&this.unit.search_type&&(t=JSON.stringify(this.unit)),this.loadSelectOpts(e,t,!1)},async loadSelectOpts(e="",t="",n=!0){let i,a=this.fieldConf.id,o={q:e,spec:t};if("UserTaskCC"===this.fieldConf.type){console.log("UserTaskCC is getting options");const e=this.fieldConf.node;i=await l.A.assistUserTaskCC.searchSelectOpts(this.$bpm,{formDefId:this.formDefId,node:e,orgInfo:this.orgInfo,isDm:this.dm},o)}else i=await l.A.assistField.searchSelectOpts(this.$bpm,{formDefId:this.formDefId,fieldDefId:a,orgInfo:this.orgInfo,isDm:this.dm},o);const r=_.get(i.data,"data.data",[]);return this.transformOptions(r,n)},transformOptions(e,t=!0){console.log("transformOptions origin: ",e);let n=_.map(e,(e=>({value:e[0],label:e[1]})));return this.options=this.options.concat(n),this.options_max_count<n.length&&(this.options_max_count=n.length),this.options=_.uniqBy(this.options,"value"),this.showUnit?(this.options=this.options.concat(n),this.options=_.uniqBy(this.options,"value"),this.unitChildsOptions=n,t&&this._setUnitChildCurVal(this.curVal)):this.options=n,this.allOptions=this.allOptions.concat(this.options),this.allOptions=_.uniqBy(this.allOptions,"value"),console.log("options: ",n),n},_setUnitChildCurVal(e){if(this.isMultiple){let t=[];_.each(e,(e=>{_.find(this.unitChildsOptions,{value:e})&&t.push(e)})),this.unitChildCurVal=t}},onChange(e){this.$emit("input",e),this.$emit("change",e)},onUnitChildsChange(e){if(console.log("onUnitChildsChange",e),this.isMultiple){_.each(e,(e=>{_.isArray(this.curVal)&&(_.includes(this.curVal,e)||this.curVal.push(e))}));let t=[];_.each(this.curVal,(e=>{console.log("this.unitChildsOptions",this.unitChildsOptions),console.log("this.unitChildsOptions-item",e),!_.includes(this.unitChildCurVal,e)&&_.find(this.unitChildsOptions,{value:e})||t.push(e)})),this.curVal=t}else this.curVal=e;this.$emit("input",this.curVal),this.$emit("change",this.curVal)},setDefaultVal(){let e=_.get(this.options,"0.value");if(console.log("setDefaultVal_firstListVal",e),console.log("setDefaultVal_items",this.options),this.fieldConf.default&&"EVCFirstElem"==this.fieldConf.default.value.type){if(this.isMultiple)this.curVal=e;else if(this.curVal)this.curVal=e;else{let t=_.map(this.options,"value");console.log("setDefaultVal_values",t),_.includes(t,this.curVal)||(this.curVal=e)}this.$emit("input",this.curVal),this.$emit("change",this.curVal)}}}},p=(0,u.A)(h,a,[],!1,null,null,null);p.options.__file="components/lib/bpmSelectUser/src/part/editor.vue";var g=p.exports,y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-select-user-edit",staticStyle:{display:"flex","align-items":"center"}},[n("el-popover",{attrs:{placement:"bottom-start","popper-class":"select-user-board-popover",width:"600","visible-arrow":!1,trigger:"click"}},[n("div",{staticClass:"select-user-board"},[n("div",{staticClass:"derpartment-select"},[n("div",{staticClass:"title"},[e._v(e._s(e.$z("单位选择","b2.common.unit_selection")))]),e._v(" "),n("select-unit",{attrs:{uiType:"list",fieldConf:e.fieldConf,formDefId:e.formDefId,orgInfo:e.orgInfo},on:{change:e.handleUnitChange}})],1),e._v(" "),n("div",{staticClass:"staff-select"},[n("div",{staticClass:"title"},[e._v(e._s(e.$z("人员选择","b2.common.person_select")))]),e._v(" "),n("el-input",{staticClass:"search-input",attrs:{"prefix-icon":"el-icon-search",placeholder:e.$z("输入关键字搜索","c.search_tip")},on:{input:e.searchStaff},model:{value:e.staff_search_str,callback:function(t){e.staff_search_str=t},expression:"staff_search_str"}}),e._v(" "),n("div",{staticClass:"staff-select-list"},[e.isMultiple?n("el-checkbox-group",{on:{change:e.onUnitChildsChange},model:{value:e.unitChildCurVal,callback:function(t){e.unitChildCurVal=t},expression:"unitChildCurVal"}},e._l(e.unitChildsOptions,(function(t){return n("el-checkbox",{key:t.value,attrs:{label:t.value}},[e._v(e._s(t.label))])})),1):n("el-radio-group",{on:{change:e.onUnitChildsChange},model:{value:e.unitChildCurVal,callback:function(t){e.unitChildCurVal=t},expression:"unitChildCurVal"}},e._l(e.unitChildsOptions,(function(t){return n("el-radio",{key:t.value,attrs:{label:t.value}},[e._v(e._s(t.label))])})),1)],1)],1)]),e._v(" "),n("div",{staticClass:"select-item-box",attrs:{slot:"reference"},slot:"reference"},[e.selectedItems.length>0?[e._l(e.selectedItems,(function(t,i){return[i<e.default_show_max?n("el-tag",{key:t.value,attrs:{size:"small",closable:""},on:{close:function(n){return e.delItem(t)}}},[e._v("\n "+e._s(t.label)+"\n ")]):e._e()]}))]:n("div",{staticClass:"placeholder"},[n("span",[e._v(e._s(e.$z("请选择","c.please_select")))])]),e._v(" "),e.selectedItems.length>e.default_show_max?[n("el-dropdown",{attrs:{size:"mini","hide-on-click":!1}},[n("el-button",{attrs:{size:"mini"}},[e._v("\n "+e._s(e.$z("查看更多","c.see_more"))+"("+e._s(e.selectedItems.length-e.default_show_max)+")"),n("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e._l(e.selectedItems,(function(t,i){return[i>=e.default_show_max?n("el-dropdown-item",{key:t.value},[n("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[n("span",[e._v(" "+e._s(t.label))]),e._v(" "),n("i",{staticClass:"el-icon-close",on:{click:function(n){return e.delItem(t)}}})])]):e._e()]}))],2)],1)]:e._e()],2)])],1)};y._withStripped=!0,r().use(s.Select),r().use(s.Option);var b={props:["type","value","fieldConf","row","formName","formDefId","orgInfo","dm","isMultiple"],components:{SelectUnit:f},data(){return{curVal:"",selectedItems:[],select_team:"",options:[],keyword:"",unit:{search_type:"",org_id:""},staff_search_str:"",unitVisible:!1,default_show_max:7,unitChildCurVal:"",unitChildsOptions:[]}},watch:{curVal(e){let t=setInterval((()=>{this.options&&this.options.length>0&&(this.setSelectedItems(e),clearInterval(t))}),500)},value(){this.curVal=this.value,0==this.options.length&&this.value&&this.loadRemoteLabel(),this.showUnit&&this._setUnitChildCurVal(this.curVal)},getSelectOptions:function(e){console.log("----selectOptions----",e),this.transformOptions(e)}},inject:["selectOptions"],computed:{placeholder(){return this.fieldConf.desc||this.fieldConf.name},getSelectOptions(){return this.selectOptions?this.selectOptions():[]},showUnit(){return"SelectURUser"===this.type||"MulSelectURUser"===this.type}},created(){this.curVal=this.isMultiple?[]:""},mounted(){(this.fieldConf.perm||{visible:!0}).visible&&this.loadSelectOpts(),this.curVal=this.value},methods:{setSelectedItems(e){let t=[];_.each(this.options,(n=>{this.isMultiple?_.includes(e,n.value)&&t.push(n):e==n.value&&t.push(n)})),console.log("setSelectedItems.options",this.options),console.log("this.curVal.",e),console.log("this.selectedItems",this.selectedItems),this.selectedItems=t,this._setUnitChildCurVal(this.curVal)},searchStaff(){this.select_team?this._debounceFun(this):this.options.length<100?this.unitChildsOptions=_.filter(this.options,(e=>{if(-1!=_.lowerCase(e.label).indexOf(_.lowerCase(this.staff_search_str)))return e})):this._debounceFun(this)},_debounceFun:_.debounce((async e=>{e.remoteMethod(e.staff_search_str)}),1e3,{leading:!1,trailing:!0}),delItem(e){this.curVal=_.filter(this.curVal,(t=>{if(t!=e.value)return!0})),this._setUnitChildCurVal(this.curVal)},async loadRemoteLabel(){console.log("this.value",this.value);let e=this.value;try{if(_.isObject(e))try{e=JSON.parse(e)}catch(e){console.log("error",e)}let t=_.isArray(e)?e:[e],n=_.get(this.fieldConf,"id");if(!_.isEmpty(t)){t=_.isArray(t)?t:[t];let e=await this.$bpm.fetchLabelByValues(t,n,this.formName,this.row);if(e=e.split(","),console.log("res",e),e&&e.length>0){let t=[];if(_.isArray(this.curVal))for(let n=0;n<this.curVal.length;n++)t.push({label:e[n],value:this.curVal[n]});else t.push({label:e[0],value:this.curVal});this.options=t,this.selectedItems=t}}}finally{console.log("finally")}},handleUnitChange(e){if(console.log("team",e),this.select_team=e,e){let t=_.split(e,"$"),n=_.get(t,"0"),i=_.get(t,"1");this.unit={search_type:n,org_id:i},this.loadSelectOpts("",JSON.stringify(this.unit))}else this.unitChildsOptions=this.options,this._setUnitChildCurVal(this.curVal)},remoteMethod(e){let t="";this.showUnit&&this.unit.search_type&&(t=JSON.stringify(this.unit)),this.loadSelectOpts(e,t,!1)},async loadSelectOpts(e="",t="",n=!0){let i,a=this.fieldConf.id,o={q:e,spec:t};if("UserTaskCC"===this.fieldConf.type){console.log("UserTaskCC is getting options");const e=this.fieldConf.node;i=await l.A.assistUserTaskCC.searchSelectOpts(this.$bpm,{formDefId:this.formDefId,node:e,orgInfo:this.orgInfo,isDm:this.dm},o)}else i=await l.A.assistField.searchSelectOpts(this.$bpm,{formDefId:this.formDefId,fieldDefId:a,orgInfo:this.orgInfo,isDm:this.dm},o);const r=_.get(i.data,"data.data",[]);return this.transformOptions(r,n)},transformOptions(e,t=!0){console.log("transformOptions origin: ",e);let n=_.map(e,(e=>({value:e[0],label:e[1]})));return this.options=this.options.concat(n),this.options=_.uniqBy(this.options,"value"),this.showUnit?(this.options=this.options.concat(n),this.options=_.uniqBy(this.options,"value"),this.unitChildsOptions=n,t&&this._setUnitChildCurVal(this.curVal)):this.options=n,console.log("options: ",n),n},_setUnitChildCurVal(e){if(this.isMultiple){let t=[];_.each(e,(e=>{_.find(this.unitChildsOptions,{value:e})&&t.push(e)})),this.unitChildCurVal=t}else this.unitChildCurVal=e},onChange(e){this.$emit("input",e),this.$emit("change",e)},onUnitChildsChange(e){if(console.log("val",e),this.isMultiple){_.each(e,(e=>{_.isArray(this.curVal)?_.includes(this.curVal,e)||this.curVal.push(e):this.curVal=[e]}));let t=[];_.each(this.curVal,(e=>{console.log("this.unitChildsOptions",this.unitChildsOptions),console.log("this.unitChildsOptions-item",e),!_.includes(this.unitChildCurVal,e)&&_.find(this.unitChildsOptions,{value:e})||t.push(e)})),this.curVal=t}else this.curVal=e;console.log("val",e),this.$emit("input",this.curVal),this.$emit("change",this.curVal)}}},v=(0,u.A)(b,y,[],!1,null,null,null);v.options.__file="components/lib/bpmSelectUser/src/part/editor_mode_2.vue";var w=v.exports,M={mixins:[n(7348).A]},k=(0,u.A)(M,void 0,void 0,!1,null,null,null);k.options.__file="components/lib/bpmSelectUser/src/part/reader.vue";var L=k.exports,S={name:"BpmSelectFromField",components:{editorComponent:g,readerComponent:L,editorURComponent:w},props:{value:{type:[Array,Number,String]},type:{type:String,default:"SelectFromField"},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},orgInfo:{type:Object},formName:{type:String},isMultiple:{type:Boolean,default(){return!1}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?L:"SelectURUser"==this.type||"MulSelectURUser"==this.type?w:g},multiple(){let e=this.isMultiple||0===this.type.indexOf("Mul");return"UserTaskCC"===this.type&&this.fieldConf.selecter&&(e=0===(this.fieldConf.selecter.type||"MulSelectUser4CC").indexOf("Mul")),e}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},x=(0,u.A)(S,i,[],!1,null,null,null);x.options.__file="components/lib/bpmSelectUser/src/main.vue";var D=x.exports;D.install=function(e){e.component(D.name,D)};var C=D},7049:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPropsValues=function(e,t){return Object.keys(t).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})},t.bindProps=function(e,t,n){var i=function(i){var r=n[i],s=r.twoWay,l=r.type,d=r.trackProperties;if(r.noBind)return"continue";var c="set"+o(i),u="get"+o(i),m=i.toLowerCase()+"_changed",f=e[i];if(void 0===t[c])throw new Error(c+" is not a method of (the Maps object corresponding to) "+e.$options._componentTag);l===Object&&d?(0,a.default)(e,d.map((function(e){return i+"."+e})),(function(){t[c](e[i])}),void 0!==e[i]):e.$watch(i,(function(){var n=e[i];t[c](n)}),{immediate:void 0!==f,deep:l===Object}),s&&(e.$gmapOptions.autobindAllEvents||e.$listeners[m])&&t.addListener(m,(function(){e.$emit(m,t[u]())}))};for(var r in n)i(r)};var i,a=(i=n(8021))&&i.__esModule?i:{default:i};function o(e){return e.charAt(0).toUpperCase()+e.slice(1)}},7060:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(5882),a=n(3439),o=n(7307),r=n(422),s=n(2105),l=n(4003),d=n(1163),c=n(617),u=n(7935),m=n(8643),f=[i.default,a.default,o.default,r.default,s.default,l.default,d.default,c.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},u.default,m.default];t.default=f},7071:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5093))},7075:function(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5093))},7088:function(e,t,n){!function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5093))},7106:function(e){"use strict";var t=e.exports=function(e,t,i){"function"==typeof t&&(i=t,t={}),n(t,"function"==typeof(i=t.cb||i)?i:i.pre||function(){},i.post||function(){},e,"",e)};function n(e,i,a,o,r,s,l,d,c,u){if(o&&"object"==typeof o&&!Array.isArray(o)){for(var m in i(o,r,s,l,d,c,u),o){var f=o[m];if(Array.isArray(f)){if(m in t.arrayKeywords)for(var h=0;h<f.length;h++)n(e,i,a,f[h],r+"/"+m+"/"+h,s,r,m,o,h)}else if(m in t.propsKeywords){if(f&&"object"==typeof f)for(var p in f)n(e,i,a,f[p],r+"/"+m+"/"+p.replace(/~/g,"~0").replace(/\//g,"~1"),s,r,m,o,p)}else(m in t.keywords||e.allKeys&&!(m in t.skipKeywords))&&n(e,i,a,f,r+"/"+m,s,r,m,o)}a(o,r,s,l,d,c,u)}}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},7107:function(e,t,n){"use strict";var i=n(5072),a=n.n(i),o=n(7825),r=n.n(o),s=n(7659),l=n.n(s),d=n(5056),c=n.n(d),u=n(540),m=n.n(u),f=n(1113),h=n.n(f),p=n(3106),_={};_.styleTagTransform=h(),_.setAttributes=c(),_.insert=l().bind(null,"head"),_.domAPI=r(),_.insertStyleElement=m(),a()(p.A,_),p.A&&p.A.locals&&p.A.locals},7146:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var i=function(n){(e.$gmapOptions.autobindAllEvents||e.$listeners[n])&&t.addListener(n,(function(t){e.$emit(n,t)}))},a=!0,o=!1,r=void 0;try{for(var s,l=n[Symbol.iterator]();!(a=(s=l.next()).done);a=!0)i(s.value)}catch(e){o=!0,r=e}finally{try{!a&&l.return&&l.return()}finally{if(o)throw r}}}},7160:function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(n(5093))},7234:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314);n.n(o)()(a()).push([e.id,".bpm-video-dialog-fullscreen .el-dialog__header {\n display: none !important;\n}\n.bpm-video-dialog-fullscreen .el-dialog__body {\n padding: 0 !important;\n background-color: #000;\n height: 100vh;\n box-sizing: border-box;\n}\n.bpm-video-dialog-normal .el-dialog__body {\n padding: 0 !important;\n background-color: #000;\n height: 60vh;\n /* Default height for normal dialog */\n box-sizing: border-box;\n}\n.bpm-video-grid-item {\n width: 100%;\n height: 100%;\n overflow: hidden;\n position: relative;\n}\n",""])},7306:function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(5093))},7307:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9029),a=n(4227),o=n(3853),r={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxLength"===e?"more":"fewer";return i.str`must NOT have ${n} than ${t} characters`},params:({schemaCode:e})=>i._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:r,it:s}=e,l="maxLength"===t?i.operators.GT:i.operators.LT,d=!1===s.opts.unicode?i._`${n}.length`:i._`${(0,a.useFunc)(e.gen,o.default)}(${n})`;e.fail$data(i._`${d} ${l} ${r}`)}};t.default=r},7329:function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5093))},7348:function(e,t,n){"use strict";n.d(t,{A:function(){return l}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",{attrs:{title:e.label}},[e._v(e._s(e.label))])};i._withStripped=!0;var a=n(6773),o=n.n(a),r={props:["value","fieldConf","row","formName","orgInfo"],data(){return{label:""}},watch:{value(){this.loadRemoteLabel()}},mounted(){this.loadRemoteLabel()},methods:{async loadRemoteLabel(){let e=this.value;if(o().isNil(e)||!e)return this.label=zj.z("未选择","c.not_selected");try{if(o().isObject(e))try{e=JSON.parse(e)}catch(e){console.log("error",e)}let t=o().isArray(e)?e:[e],n=o().get(this.fieldConf,"id");o().isEmpty(t)?this.label=zj.z("未选择","c.not_selected"):(t=o().isArray(t)?t:[t],this.label=await this.$bpm.fetchLabelByValues(t,n,this.formName,this.row))}finally{console.log("finally")}}}},s=(0,n(4486).A)(r,i,[],!1,null,null,null);s.options.__file="components/lib/mixins/RemoteSelectReader.vue";var l=s.exports},7357:function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t||"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})}(n(5093))},7473:function(e,t,n){"use strict";e.exports=n.p+"06c52960c6d2c0312a3e.woff?v=4.7.0"},7520:function(e,t,n){"use strict";n.d(t,{Q:function(){return r}});let i=[{key:"lt",name:"早于"},{key:"gt",name:"晚于"},{key:"gte",name:"不早于"},{key:"lte",name:"不晚于"}],a=[{key:"in",name:"在列表中"}],o=[{key:"in",name:"在列表中"},{key:"all",name:"包含所有"}];const r={Text:{name:"单行文本",hasBpmField:!0,tableColWidth:240,actions:[{key:"contains",name:"包含"},{key:"eq",name:"等于"}],attrs:["type","value_type","id","name","linkage"]},TextArea:{name:"多行文本",hasBpmField:!0,tableColWidth:300,actions:[{key:"contains",name:"包含"},{key:"eq",name:"等于"}],attrs:["type","value_type","id","name","linkage"]},SerialNumber:{name:"流水号",hasBpmField:!0,actions:[{key:"contains",name:"包含"}],options:{type:"Text"},attrs:["type","id","name","linkage"]},Number:{name:"数字",hasBpmField:!0,tableColWidth:200,actions:[{key:"eq",name:"等于"},{key:"gt",name:"大于"},{key:"gte",name:"大于等于"},{key:"lt",name:"小于"},{key:"lte",name:"小于等于"},{key:"ne",name:"不等于"}],attrs:["type","id","name","value_type","is_int","view.precision","linkage"]},DateTime:{name:"日期时间选择器",tableColWidth:240,hasBpmField:!0,actions:i,attrs:["type","id","name","check.format","view.format","linkage"]},Date:{name:"日期选择器",tableColWidth:240,hasBpmField:!0,actions:i,attrs:["type","id","name","check.format","view.format","linkage"]},Time:{name:"时间选择器",hasBpmField:!0,tableColWidth:240,actions:i,attrs:["type","id","name","check.format","view.format","linkage"]},Timestamp:{name:"※时间戳",tableColWidth:240,actions:i,attrs:["type","id","name","check.format","view.format","linkage"]},Select:{name:"单选",hasBpmField:!0,tableColWidth:220,actions:a,options:{type:"MulSelect"},attrs:["type","id","name","value_type","style","range_enum","linkage"]},Status:{name:"状态",hasBpmField:!0,tableColWidth:150,actions:a,options:{type:"MulSelect"},attrs:["type","id","name","value_type","style","range_enum","linkage"]},MulSelect:{name:"多选",hasBpmField:!0,tableColWidth:220,actions:o,attrs:["type","id","name","value_type","result_type","style","range_enum","linkage"]},SelectFromForm:{name:"远程单项选择",hasBpmField:!0,tableColWidth:200,actions:a,options:{type:"MulSelectFromForm"},attrs:["type","id","name","range_remote","value_type","range_remote.filter_expression","range_remote.store_field","range_remote.display_field","range_remote.form","range_remote.depends","linkage"]},MulSelectFromForm:{name:"远程多项选择",hasBpmField:!0,tableColWidth:200,actions:o,attrs:["type","id","name","range_remote","value_type","range_remote.filter_expression","range_remote.store_field","range_remote.display_field","range_remote.form","range_remote.depends","linkage"]},SelectFromMulForm:{name:"关联组件",hasBpmField:!0,tableColWidth:200,actions:o,attrs:["type","id","name","range_remote","value_type"]},SelectProject:{name:"项目单项选择",hasBpmField:!0,tableColWidth:200,actions:a,options:{type:"MulSelectProject"},attrs:["type","id","name","range_remote","value_type","range_remote.filter_expression","range_remote.store_field","range_remote.display_field","range_remote.depends","linkage"]},MulSelectProject:{name:"项目多项选择",hasBpmField:!0,tableColWidth:200,actions:o,attrs:["type","id","name","range_remote","value_type","range_remote.filter_expression","range_remote.store_field","range_remote.display_field","range_remote.depends","linkage"]},SelectUser:{name:"用户单项选择",hasBpmField:!0,tableColWidth:200,actions:a,options:{type:"MulSelectUser"},attrs:["type","id","name","range_remote","value_type","range_remote.filter_expression","range_remote.store_field","range_remote.display_field","range_remote.depends","linkage"]},MulSelectUser:{name:"用户多项选择",hasBpmField:!0,tableColWidth:200,actions:o,options:{type:"MulSelectUser"},attrs:["type","id","name","range_remote","value_type","range_remote.filter_expression","range_remote.store_field","range_remote.display_field","range_remote.depends","linkage"]},SelectURUser:{name:"用户单项选择(新)",hasBpmField:!0,tableColWidth:400,actions:a,options:{type:"MulSelectURUser"},attrs:["type","id","name","range_remote","value_type","filters","range_remote.filter_expression","range_remote.store_field","range_remote.display_field","range_remote.depends","linkage"]},MulSelectURUser:{name:"用户多项选择(新)",hasBpmField:!0,tableColWidth:400,actions:o,options:{type:"MulSelectURUser"},attrs:["type","id","name","range_remote","value_type","filters","range_remote.filter_expression","range_remote.store_field","range_remote.display_field","range_remote.depends","linkage"]},SelectRootCategory:{name:"根任务类型选择",hasBpmField:!0,tableColWidth:200,actions:[{key:"eq",name:"等于"}],attrs:["type","id","name","category_cls","value_type","linkage"]},SelectCheckItem:{name:"检查项单项选择",hasBpmField:!0,actions:a,tableColWidth:200,options:{type:"MulSelectCheckItem"},attrs:["type","id","name","category_cls","value_type","range_remote","root_category","tree_select","can_select","can_select.filter_expression","range_remote.filter_expression","range_remote.depends","linkage"]},MulSelectCheckItem:{name:"检查项多项选择",hasBpmField:!0,tableColWidth:200,actions:o,attrs:["type","id","name","category_cls","value_type","range_remote","root_category","tree_select","can_select","can_select.filter_expression","range_remote.filter_expression","range_remote.depends","linkage"]},SelectSort:{name:"分类单项选择",hasBpmField:!0,tableColWidth:200,actions:a,options:{type:"MulSelectSort"},attrs:["type","id","name","value_type","range_remote","tree_select","can_select","can_select.filter_expression","range_remote.filter_expression","range_remote.depends","linkage"]},MulSelectSort:{name:"分类多项选择",hasBpmField:!0,tableColWidth:200,actions:o,attrs:["type","id","name","value_type","range_remote","tree_select","can_select","can_select.filter_expression","range_remote.filter_expression","range_remote.depends","linkage"]},SelectPartner:{name:"合作伙伴单项选择",hasBpmField:!0,tableColWidth:200,actions:a,options:{type:"MulSelectPartner"},attrs:["type","id","name","value_type","range_remote","range_remote.filter_expression","range_remote.store_field","range_remote.display_field","range_remote.depends","linkage"]},MulSelectPartner:{name:"合作伙伴多项选择",hasBpmField:!0,tableColWidth:200,actions:a,options:{type:"MulSelectPartner"},attrs:["type","id","name","value_type","range_remote","range_remote.filter_expression","range_remote.store_field","range_remote.display_field","range_remote.depends","linkage"]},SelectOrg:{name:"单位单项选择",hasBpmField:!0,tableColWidth:200,actions:a,options:{type:"MulSelectOrg"},attrs:["type","id","name","value_type","range_remote","range_remote.filter_expression","range_remote.store_field","range_remote.display_field","range_remote.depends","linkage"]},MulSelectOrg:{name:"单位多项选择",hasBpmField:!0,tableColWidth:200,actions:o,attrs:["type","id","name","value_type","range_remote","range_remote.filter_expression","range_remote.store_field","range_remote.display_field","range_remote.depends","linkage"]},Audit:{name:"审批",hasBpmField:!0,actions:[{key:"ar_eq",name:"审批结果等于"},{key:"ar_in",name:"审批结果在列表中"}],actionOptions:[{value:0,label:"未审批"},{value:1,label:"审批通过"},{value:2,label:"审批未通过"}],attrs:["type","id","name","linkage"],options:{result_type:"Array",value_type:"int",type:"MulSelect",style:"default",range_enum:[[0,"未审批"],[1,"通过"],[2,"未通过"]]}},MulAudit:{name:"多人审批",hasBpmField:!0,actions:[{key:"ar_eq",name:"审批结果等于"},{key:"ar_in",name:"审批结果在列表中"}],actionOptions:[{value:0,label:"未审批"},{value:1,label:"审批通过"},{value:2,label:"审批未通过"}],attrs:["type","id","name","linkage"],options:{result_type:"Array",value_type:"int",type:"MulSelect",style:"default",range_enum:[[0,"未审批"],[1,"通过"],[2,"未通过"]]}},MulArea:{name:"区域多项选择",hasBpmField:!0,tableColWidth:260,actions:o,attrs:["type","id","name","value_type","can","linkage"]},Area:{name:"区域单项选择",hasBpmField:!0,tableColWidth:260,actions:a,options:{type:"MulArea"},attrs:["type","id","name","value_type","can","linkage"]},SelectFormId:{name:"表单单项选择",hasBpmField:!0,tableColWidth:200,actions:a,options:{type:"MulSelectFormId"},attrs:["type","id","name","value_type","form_select_type","linkage"]},MulSelectFormId:{name:"表单多项选择",hasBpmField:!0,tableColWidth:200,actions:a,options:{type:"MulSelectFormId"},attrs:["type","id","name","value_type","form_select_type","linkage"]},SelectFromField:{name:"远程单选(从字段)",hasBpmField:!0,tableColWidth:200,actions:a,options:{type:"MulSelectFromField"},attrs:["type","id","name","range_remote","style","value_type","range_remote.filter_expression","range_remote.store_field","range_remote.display_field","range_remote.form","range_remote.depends","linkage"]},MulSelectFromField:{name:"远程多选(从字段)",hasBpmField:!0,tableColWidth:200,actions:a,options:{type:"MulSelectFromField"},attrs:["type","id","name","range_remote","style","value_type","range_remote.filter_expression","range_remote.store_field","range_remote.display_field","range_remote.form","range_remote.depends","linkage"]},MulSelectEntranceForm:{name:"远程多项选择(从入口)",hasBpmField:!0},SelectHouseOwner:{name:"业主选择"},MulSelectIssue:{name:"问题选择"},MulFile:{name:"附件",hasBpmField:!0,tableColWidth:150},MulImage:{name:"图片",hasBpmField:!0,tableColWidth:150},Signature:{name:"签名",hasBpmField:!0},OnlineEditor:{name:"在线文档编辑器"},Spliter:{name:"分割线",hasBpmField:!1},Stepper:{name:"步进器",hasBpmField:!1},Quote:{name:"跨表单数据引用",hasBpmField:!1},Order:{name:"排序控件",hasBpmField:!1},SubForm:{name:"子表单",hasBpmField:!0},XSubForm:{name:"子表单(增强版)",hasBpmField:!0},OrderSubForm:{name:"排序子表单",hasBpmField:!0},AreaElevation:{name:"区域快速选择器",hasBpmField:!0,tableColWidth:200},RichText:{name:"富文本编辑框",hasBpmField:!0,tableColWidth:100},Appointment:{name:"时段预约",hasBpmField:!0,tableColWidth:120},Rating:{name:"评分",hasBpmField:!0,tableColWidth:250},MapLocation:{name:"地图位置",hasBpmField:!0,tableColWidth:250},ExternalFormLink:{name:"外链表单组件",hasBpmField:!0,tableColWidth:200,actions:o,attrs:["type","id","name","range_remote","value_type"]}}},7532:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=[n(4737).default];t.default=i},7538:function(e,t,n){!function(e){"use strict";e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n(5093))},7574:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314);n.n(o)()(a()).push([e.id,".status-normal {\n color: #333333;\n}\n.status-warning {\n color: #FAAF19;\n}\n.status-warning2 {\n color: #FAAF19;\n}\n.status-overtime {\n color: #F4343E;\n}\n.status-overtime2 {\n color: #F4343E;\n}\n",""])},7609:function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n(5093))},7642:function(e){e.exports=function(){return this.ELEMENT}()},7650:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(n(5093))},7652:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,function(e){e.Tag="tag",e.Mapping="mapping"}(n||(t.DiscrError=n={}))},7659:function(e){"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},7698:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return M}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-number",attrs:{value:e.curVal,fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType},on:{change:e.handleChange}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{position:"relative"}},[n("el-input-number",{ref:"component",attrs:{precision:e.precision},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}})],1)};a._withStripped=!0;var o=n(6773),r=n.n(o),s=n(5554),l=n.n(s),d=n(7642);l().use(d.InputNumber);var c={data(){return{curVal:null}},props:["value","fieldConf","row"],watch:{value(e){console.log("number change_value—_2: ",e),console.log("number change_value: ",this.value),this.value||0===this.value||"0"===this.value?(this.curVal=Number(this.value),console.log("number change_curVal: ",this.curVal)):this.curVal=void 0}},computed:{precision(){return r().get(this.fieldConf,"view.precision",0)}},methods:{handleChange(e){console.log("number change: ",e),this.$emit("change",this.curVal)}},mounted(){this.value||0===this.value||"0"===this.value?this.curVal=Number(this.value):this.curVal=void 0}},u=n(4486),m=(0,u.A)(c,a,[],!1,null,null,null);m.options.__file="components/lib/bpmNumber/src/part/editor.vue";var f=m.exports,h=function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",{staticClass:"bpm-text-view",class:e.uiType+"-text-view "+e.fieldConf.type+"-view",attrs:{title:e._value}},[e._v("\n "+e._s(e._value||0===e._value?e._value:"--")+"\n")])};h._withStripped=!0;var p=n(9227),_={props:["value","fieldConf","row","uiType"],computed:{_value(){let e=r().get(this.row,this.fieldConf.id)||this.value;"string"==typeof e&&(e=e.trim());let t=r().get(this.fieldConf,"view.precision",0);this.fieldConf.view&&this.fieldConf.view.precision&&(e=r().round(e,this.fieldConf.view.precision)),r().get(this.fieldConf,"view.show_percent",!1)&&(e||0==e)&&(e=(100*e).toFixed(t-2>0?t-2:0)+"%");let n=r().get(this.fieldConf,"view.format",!1);if(n){let t=0;if(-1!=n.indexOf("{")){var i=n.match(/\{([^\}]+)\}/)[1];let a=n;t=p(e).format(i),e=a.replace(/\{[^\}]+\}/,t)}else e=p(e).format(n);return e}return e}}},g=(0,u.A)(_,h,[],!1,null,null,null);g.options.__file="components/lib/bpmNumber/src/part/reader.vue";var y=g.exports,b={name:"BpmNumber",components:{editorComponent:f,readerComponent:y},props:{value:{type:[String,Number]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?y:f}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},v=(0,u.A)(b,i,[],!1,null,null,null);v.options.__file="components/lib/bpmNumber/src/main.vue";var w=v.exports;w.install=function(e){e.component(w.name,w)};var M=w},7711:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(5093))},7730:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(n(5093))},7777:function(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(5093))},7825:function(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var i="";n.supports&&(i+="@supports (".concat(n.supports,") {")),n.media&&(i+="@media ".concat(n.media," {"));var a=void 0!==n.layer;a&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,a&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(i,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},7845:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const i=n(1520);class a extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var o;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(o||(t.UsedValueState=o={})),t.varKinds={const:new i.Name("const"),let:new i.Name("let"),var:new i.Name("var")};class r{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof i.Name?e:this.name(e)}name(e){return new i.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,n;if((null===(n=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===n?void 0:n.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}t.Scope=r;class s extends i.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:n}){this.value=e,this.scopePath=i._`.${new i.Name(t)}[${n}]`}}t.ValueScopeName=s;const l=i._`\n`;t.ValueScope=class extends r{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?l:i.nil}}get(){return this._scope}name(e){return new s(e,this._newName(e))}value(e,t){var n;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const i=this.toName(e),{prefix:a}=i,o=null!==(n=t.key)&&void 0!==n?n:t.ref;let r=this._values[a];if(r){const e=r.get(o);if(e)return e}else r=this._values[a]=new Map;r.set(o,i);const s=this._scope[a]||(this._scope[a]=[]),l=s.length;return s[l]=t.ref,i.setValue(t,{property:a,itemIndex:l}),i}getValue(e,t){const n=this._values[e];if(n)return n.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,(t=>{if(void 0===t.scopePath)throw new Error(`CodeGen: name "${t}" has no value`);return i._`${e}${t.scopePath}`}))}scopeCode(e=this._values,t,n){return this._reduceValues(e,(e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,n)}_reduceValues(e,n,r={},s){let l=i.nil;for(const d in e){const c=e[d];if(!c)continue;const u=r[d]=r[d]||new Map;c.forEach((e=>{if(u.has(e))return;u.set(e,o.Started);let r=n(e);if(r){const n=this.opts.es5?t.varKinds.var:t.varKinds.const;l=i._`${l}${n} ${e} = ${r};${this.opts._n}`}else{if(!(r=null==s?void 0:s(e)))throw new a(e);l=i._`${l}${r}${this.opts._n}`}u.set(e,o.Completed)}))}return l}}},7853:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},7870:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignDefaults=void 0;const i=n(9029),a=n(4227);function o(e,t,n){const{gen:o,compositeRule:r,data:s,opts:l}=e;if(void 0===n)return;const d=i._`${s}${(0,i.getProperty)(t)}`;if(r)return void(0,a.checkStrictMode)(e,`default is ignored for: ${d}`);let c=i._`${d} === undefined`;"empty"===l.useDefaults&&(c=i._`${c} || ${d} === null || ${d} === ""`),o.if(c,i._`${d} = ${(0,i.stringify)(n)}`)}t.assignDefaults=function(e,t){const{properties:n,items:i}=e.schema;if("object"===t&&n)for(const t in n)o(e,t,n[t].default);else"array"===t&&Array.isArray(i)&&i.forEach(((t,n)=>o(e,n,t.default)))}},7887:function(e,t){"use strict";function n(e,t){return t.rules.some((t=>i(e,t)))}function i(e,t){var n;return void 0!==e[t.keyword]||(null===(n=t.definition.implements)||void 0===n?void 0:n.some((t=>void 0!==e[t])))}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function({schema:e,self:t},i){const a=t.RULES.types[i];return a&&!0!==a&&n(e,a)},t.shouldUseGroup=n,t.shouldUseRule=i},7892:function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(5093))},7923:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(4227),a={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:n,it:a}=e;if((0,i.alwaysValidSchema)(a,n))return void e.fail();const o=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},o),e.failResult(o,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};t.default=a},7930:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return O}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"area-elevation"},[e.curVal&&e.curVal.selected?["table"==e.uiType?[n("el-popover",{attrs:{placement:"top-start",width:"500",trigger:"hover"}},[n("div",{staticStyle:{display:"flex","flex-flow":"wrap",margin:"10px"}},e._l(e.curVal.selected,(function(t){return n("div",{key:t.key,staticClass:"area-elevation-select-box",staticStyle:{"margin-left":"5px","margin-top":"5px"}},[n("el-tag",{staticClass:"area-elevation-select-item"},[e._v(e._s(t.name))])],1)})),0),e._v(" "),n("div",{attrs:{slot:"reference"},slot:"reference"},[e.curVal.selected&&e.curVal.selected.length>2?[e._l(e.curVal.selected,(function(t,i){return n("div",{key:t.key,staticClass:"area-elevation-select-box"},[i<2?n("el-tag",{staticClass:"area-elevation-select-item"},[e._v(e._s(t.name))]):e._e()],1)})),e._v(" "),n("div",{staticClass:"area-elevation-select-box"},[n("el-tag",{staticClass:"area-elevation-select-item"},[e._v("+"+e._s(e.curVal.selected.length-2))])],1)]:e._l(e.curVal.selected,(function(t){return n("div",{key:t.key,staticClass:"area-elevation-select-box"},[n("el-tag",{staticClass:"area-elevation-select-item"},[e._v(e._s(t.name))])],1)}))],2)])]:e._l(e.curVal.selected,(function(t){return n("div",{key:t.key,staticClass:"area-elevation-select-box"},[n("el-tag",{staticClass:"area-elevation-select-item"},[e._v(e._s(t.name))])],1)}))]:e._e(),e._v(" "),e.loading?n("i",{staticClass:"el-icon-loading"}):n("el-button",{attrs:{type:"view"==e.mode?"text":"plain",size:"small",icon:"el-icon-location-outline"},on:{click:function(t){return e.openSelectSectionDlg()}}},[e._v(e._s(e.button_title))]),e._v(" "),n("dlg-select-section",{attrs:{mode:e.mode,dialog_title:e.dialog_title,areaMap:e.areaMap,allTreeData:e.allTreeData,colorConfig:e.colorConfig,value:e.curVal,show:e.dlg.show},on:{close:e.colseSelectSectionDlg}})],2)};i._withStripped=!0;var a=n(7642),o=n(5554),r=n.n(o),s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dialog",{attrs:{title:e.dialog_title,visible:e.dialogVisible,width:"80%","append-to-body":"","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("el-form",{ref:"form",attrs:{inline:!0,model:e.form,"label-width":"100px"}},[n("el-row",[n("el-form-item",{attrs:{label:e.$z("楼栋","c.building")}},[n("el-select",{attrs:{placeholder:e.$z("请选择楼栋","c.select_a_building"),disabled:"view"==e.mode},on:{change:e.changeBuilding},model:{value:e.form.building_id,callback:function(t){e.$set(e.form,"building_id",t)},expression:"form.building_id"}},e._l(e.buildingOptions,(function(e){return n("el-option",{key:e.key,attrs:{label:e.title,value:e.key}})})),1)],1),e._v(" "),n("el-form-item",{attrs:{label:e.$z("楼层","c.floor")}},[n("el-select",{attrs:{multiple:"",placeholder:"请选择楼层",disabled:"view"==e.mode},on:{change:e.filterData},model:{value:e.form.storey_ids,callback:function(t){e.$set(e.form,"storey_ids",t)},expression:"form.storey_ids"}},e._l(e.floor_options,(function(e){return n("el-option",{key:e.key,attrs:{label:e.title,value:e.key}})})),1)],1),e._v(" "),n("el-form-item",{attrs:{label:"关建字筛选"}},[n("el-input",{attrs:{placeholder:"请输入",disabled:"view"==e.mode},on:{input:e.filterData},model:{value:e.form.keyword,callback:function(t){e.$set(e.form,"keyword",t)},expression:"form.keyword"}})],1)],1),e._v(" "),n("el-row",[n("el-col",{attrs:{span:8}},[n("el-form-item",{attrs:{label:"展示方式"}},[n("el-radio-group",{attrs:{disabled:e.show_level_disable||"view"==e.mode},model:{value:e.form.show_level,callback:function(t){e.$set(e.form,"show_level",t)},expression:"form.show_level"}},[n("el-radio",{attrs:{label:3}},[e._v("展示到3级")]),e._v(" "),n("el-radio",{attrs:{label:4}},[e._v("展示到4级")])],1)],1)],1),e._v(" "),n("el-col",{attrs:{span:16}},[n("zj-color-indication",{staticStyle:{float:"right"},attrs:{colorConfig:e.colorConfigData}})],1)],1)],1),e._v(" "),n("div",{staticStyle:{margin:"0 20px 20px 20px"}},[e._v("已选项:"),e._l(e.selectedItem,(function(t){return n("el-tag",{key:t.key,staticStyle:{margin:"5px"},attrs:{closable:"view"!=e.mode},on:{close:function(n){return e.removeItem(t)}}},[e._v("\n "+e._s(t.name)+"\n ")])}))],2),e._v(" "),n("zj-pc-select-position-table",{attrs:{data:e.treeData,readonly:"view"==e.mode},model:{value:e.selectedItem,callback:function(t){e.selectedItem=t},expression:"selectedItem"}}),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){return e.close()}}},[e._v(e._s(e.$z("取消","c.cancel")))]),e._v(" "),"view"!=e.mode?n("el-button",{attrs:{type:"primary"},on:{click:e.confirm}},[e._v(e._s(e.$z("确定","c.confirm")))]):e._e()],1)],1)};s._withStripped=!0;var l=n(6902),d=n(5072),c=n.n(d),u=n(7825),m=n.n(u),f=n(7659),h=n.n(f),p=n(5056),g=n.n(p),y=n(540),b=n.n(y),v=n(1113),w=n.n(v),M=n(2392),k={};k.styleTagTransform=w(),k.setAttributes=g(),k.insert=h().bind(null,"head"),k.domAPI=m(),k.insertStyleElement=b(),c()(M.A,k),M.A&&M.A.locals&&M.A.locals;var L=n(3231),S={};S.styleTagTransform=w(),S.setAttributes=g(),S.insert=h().bind(null,"head"),S.domAPI=m(),S.insertStyleElement=b(),c()(L.A,S),L.A&&L.A.locals&&L.A.locals,r().use(l.SelectPositionTable),r().use(l.ColorIndication);var x={props:{allTreeData:{type:Array,default:function(){return[]}},mode:{type:String,default(){return"view"}},areaMap:{type:Object,default:function(){return{}}},colorConfig:{type:Object,default:function(){return{}}},value:{type:[String,Array,Number,Object]},statusList:{type:Array,default:function(){return[]}},show:{type:Boolean,default:!1},all_level:{type:Number,default:0},dialog_title:{type:String,default:"选择部位"}},watch:{"form.show_level"(e,t){this.selectedItemMap["level_"+t]=this.selectedItem,this.filterData()},allTreeData(e){this.buildingOptions=e},value:{handler(e){},immediate:!0},show(e){if(this.dialogVisible=e,console.log("newValue",e),e){if(this.value&&this.value.building_ids?(this.form.building_id=this.value.building_ids[0]+"",this.form.building_ids=this.value.building_ids):this.allTreeData&&this.allTreeData.length>0&&(this.form.building_id=this.allTreeData[0].key,this.form.building_ids=[this.allTreeData[0].key]),this.value&&this.value.storey_ids){let e=[];_.each(this.value.storey_ids,(t=>{e.push(t+"")}))}this.value&&this.value.selected?(this.selectedItem=this.value.selectedItem,this.form.keyword=this.value.keyword,this.form.show_level=this.value.show_level):this.selectedItem=[],this.loadBuildingData()}},selectedItem:{handler(e){},deep:!0}},data(){return{dialogVisible:!1,show_level_disable:!1,form:{building_id:"1",storey_ids:[],show_level:4,keyword:""},buildingOptions:[],floor_options:[],selectedItem:[],treeData:[],buildingTreeData:[],selectedItemMap:{level_3:[],level_4:[]}}},methods:{numDelivery(e){var t=parseFloat(e);return isNaN(t)?(alert("传递参数错误,请检查!"),!1):t=Math.round(100*e)/100},getColorConfigData(){let e=0,t={};_.each(this.treeData,(n=>{3==this.form.show_level?_.each(n.childrens,(n=>{e++,t[n.color]?t[n.color]++:t[n.color]=1})):_.each(n.childrens,(n=>{_.each(n.childrens,(n=>{e++,t[n.color]?t[n.color]++:t[n.color]=1}))}))}));let n=_.cloneDeep(this.colorConfig);console.log("this.colorConfig",this.colorConfig),_.each(n.data,(n=>{t[n.color]?n.percent=`${t[n.color]}/${e},`+this.numDelivery(t[n.color]/e*100)+"%":n.percent=`0/${e},0%`,n.width="230px"})),this.colorConfigData=n},confirm(){let e=[];_.each(this.selectedItem,(t=>{this.areaMap[t.key]&&e.push(this.areaMap[t.key])}));let t=[];_.each(this.form.storey_ids,(e=>{t.push(parseInt(e))}));let n={selectedItem:this.selectedItem,selected:e,building_ids:[parseInt(this.form.building_id)],storey_ids:t,keyword:this.form.keyword,show_level:parseInt(this.form.show_level)};this.$emit("close",n)},close(){this.dialogVisible=!1,this.$emit("close",!1)},handleClose(e){this.$emit("close",!1)},filterData(){if(this.treeData=_.cloneDeep(this.buildingTreeData.filter((e=>this.form.storey_ids.length>0?_.includes(this.form.storey_ids,e.key)?e:void 0:e))),3==this.form.show_level&&_.each(this.treeData,(e=>{_.each(e.childrens,(e=>{delete e.childrens}))})),4==this.form.show_level){let e=this.selectedItemMap.level_3;e&&e.length>0&&(_.each(this.treeData,(t=>{_.each(t.childrens,(t=>{_.find(e,{key:t.key})&&_.each(t.childrens,(n=>{e.push({key:n.key,name:t.name+"-"+n.title})}))}))})),this.selectedItem=e)}console.log("treeData",this.treeData),this.filterKeyWord(),this.getColorConfigData()},changeBuilding(){this.loadBuildingData()},loadBuildingData(){let e=_.find(this.allTreeData,{key:this.form.building_id});e&&(e.childrens?this.buildingTreeData=_.cloneDeep(e.childrens):this.buildingTreeData=[],this.buildingTreeData.length>0&&(this.buildingTreeData[0].childrens&&this.buildingTreeData[0].childrens[0].childrens&&this.buildingTreeData[0].childrens[0].childrens.length>0?this.show_level_disable=!1:(this.form.show_level=3,this.show_level_disable=!0)),this.floor_options=this.buildingTreeData,this.filterData())},filterKeyWord(){this.form.keyword&&(this.treeData=this.treeData.filter((e=>{let t=!1;if(e.childrens&&e.childrens.length>0&&(e.childrens=e.childrens.filter((e=>{if(-1!=e.title.indexOf(this.form.keyword)||-1!=this.form.keyword.indexOf(e.title))return t=!0,e;if(e.childrens&&e.childrens.length>0){let n=!1;if(_.each(e.childrens,(e=>{-1==e.title.indexOf(this.form.keyword)&&-1==this.form.keyword.indexOf(e.title)||(n=!0,t=!0)})),n)return e}}))),t)return e})))},removeItem(e){this.selectedItem=_.filter(this.selectedItem,(function(t){return t.key!=e.key}))}},mounted(){}},D=n(4486),C=(0,D.A)(x,s,[],!1,null,null,null);C.options.__file="components/lib/bpmAreaElevation/src/part/dlgSelectSection.vue";var T=C.exports;r().use(a.Dialog);var Y={name:"BpmAreaElevation",components:{dlgSelectSection:T},props:{value:{type:[String,Array,Number,Object]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},container:{type:Object,default(){return{}}},formName:{type:String},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},isMultiple:{type:Boolean,default(){return!1}}},data(){return{sourceData:[],allTreeData:[],areaMap:{},dlg:{show:!1},curVal:{building_id:"",storey_ids:[],selected:[],keyword:"",show_level:"4"},loading:!1,button_title:"",dialog_title:"",colorConfig:{data:[{name:"task_no",title:zj.z("未开始","c.not_started"),color:"#fff",border_color:"#D8DADD",width:"100px"},{name:"task_ready",title:zj.z("进行中","c.in_progress"),color:"#FFE9BD",border_color:"#FFE9BD",width:"100px"},{name:"task_ing",title:zj.z("已完成","c.completed"),color:"#B4EFCE",border_color:"#B4EFCE",width:"100px"}]}}},computed:{},watch:{curVal(e){this.$emit("input",e),this.$emit("change",e)},value(){this.value&&(this.curVal=this.value)}},mounted(){this.fieldConf.test&&(this.formateData(this.fieldConf.range_enum),this.getColorConfig(this.fieldConf.status_range_enum)),"view"==this.mode?(this.button_title="",this.dialog_title=zj.z("查看部位","c.view_part")):(this.button_title=zj.z("选择部位","c.select_part"),this.dialog_title=zj.z("选择部位","c.select_part")),this.curVal=this.value},methods:{async loadList(e){let t=this.fieldConf.area||"";console.log("_area_field",t);let n=this.fieldConf.status_scope.depends[0]||"";if(console.log("_checkitem_field",n),!t||!n)return console.log("没有配置联区域字段或检查项依赖自段"),!1;let i={fields:{}};return console.log("this.container.formData",this.container.formData),this.container&&this.container.formData&&(t&&(i.fields[t]=this.container.formData[t]),n&&(i.fields[n]=this.container.formData[n])),console.log("this.row",this.row),this.row&&(t&&(this.row.f_fields&&this.row.f_fields[t]?i.fields[t]=this.row.f_fields[t]:this.row[t]&&(i.fields[t]=this.row[t])),n&&(this.row.f_fields&&this.row.f_fields[n]?i.fields[n]=this.row.f_fields[n]:this.row[n]&&(i.fields[n]=this.row[n]))),zj.pageParam().project_id||(this.container&&this.container.formData&&(i.project_id=this.container.formData.project_id),i.project_id||this.row&&(i.project_id=this.row.project_id||this.row.f_fields.project_id),this.$bpm.orgInfo.custom_project_id=i.project_id,this.$bpm.orgInfo.custom_page_level="project"),this.sourceData=await this.$bpm.loadSelectLinkageResult({fieldId:this.fieldConf.id,params:i,cusFormName:this.formName,field:this,container:this.container}),this.$bpm.orgInfo.custom_page_level=null,this.$bpm.orgInfo.custom_project_id=null,this.sourceData},formateData(e){let t=[],n={},i=[];this.fieldConf.test?_.each(this.fieldConf.status_range_enum,(e=>{n[e.id]=e,i.push(e)})):_.each(this.sourceData[1],(e=>{n[e.id]=e,i.push(e)}));let a=(e,t,o)=>{let r=[];return _.each(e,(s=>{if(this.areaMap[s.id]=s,s.path_ids.length==t&&(0==o||_.last(s.path_ids)==o)){let o={title:s.name,key:s.id+"",path_names:s.path_names,state:!1,status:s.status};if(s.is_parent&&(o.childrens=a(e,t+1,s.id),o.childrens&&o.childrens.length>0)){let e=0,t=0,a=0;_.each(o.childrens,(n=>{n.status?n.status==i[1].id?t+=1:n.status==i[2].id?a++:e++:e++})),a==o.childrens.length?s.status=i[2].id:e==o.childrens.length?s.status?_.each(o.childrens,(e=>{e.status=s.status,e.color=n[s.status].color})):s.status=i[0].id:(s.status=i[1].id,s.color=n[s.status].color)}s.status?n[s.status]&&(o.color=n[s.status].color):(o.status=i[0].id,o.color=n[o.status].color),r.push(o)}})),_.orderBy(r,["order"],["asc"]),1==t&&(r=_.reverse(r)),r};t=a(e,0,0),this.allTreeData=t},async openSelectSectionDlg(){this.fieldConf.test||(this.loading=!0,await this.loadList(),this.loading=!1,this.formateData(this.sourceData[0]),this.getColorConfig(this.sourceData[1])),this.dlg.show=!0},colseSelectSectionDlg(e){this.dlg.show=!1,e&&(this.curVal=e,this.$emit("input",e))},getColorConfig(e){let t={data:[]};e&&e.length>0&&(_.each(e,(e=>{let n={name:e.id,title:e.name,color:e.color||"#ffffff",border_color:e.color||"#D8DADD",width:"100px"};"#ffffff"!=n.color&&"#FFFFFF"!=n.color||(n.border_color="#D8DADD"),t.data.push(n)})),this.colorConfig=t)}}},$=(n(8173),(0,D.A)(Y,i,[],!1,null,null,null));$.options.__file="components/lib/bpmAreaElevation/src/main.vue";var j=$.exports;j.install=function(e){e.component(j.name,j)};var O=j},7935:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9029),a=n(4227),o=n(6250),r={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>i._`{allowedValue: ${e}}`},code(e){const{gen:t,data:n,$data:r,schemaCode:s,schema:l}=e;r||l&&"object"==typeof l?e.fail$data(i._`!${(0,a.useFunc)(t,o.default)}(${n}, ${s})`):e.fail(i._`${l} !== ${n}`)}};t.default=r},7948:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return A}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-external-form-link",attrs:{fieldConf:e.fieldConf,container:e.container,row:e.row,rowIndex:e.rowIndex,mode:e.mode,formName:e.formName,orgInfo:e.orgInfo,uiType:e.uiType,isMultiple:!0},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"external-from-link-editor"},[n("div",["title"==e.componetUiType?[n("ul",{staticClass:"external-from-link-list",staticStyle:{"list-style":"none"}},e._l(e.curVal,(function(t,i){return n("li",{key:t.form_id,staticClass:"external-from-link-list-item"},[n("span",{on:{click:function(n){return e.toFormDetailPage(t)}}},[n("i",{staticClass:"el-icon-tickets",staticStyle:{"margin-right":"5px"}}),n("span",[e._v(e._s(t.form_title))])]),e._v(" "),e.readonly?e._e():n("i",{staticClass:"el-icon-close del-btn",on:{click:function(t){return e.removeForm(i)}}})])})),0)]:"card"==e.componetUiType?[n("div",{staticClass:"external-from-link-card"},e._l(e.curVal,(function(t,i){return n("el-card",{key:t.form_id,staticClass:"external-from-link-card-item",attrs:{"body-style":e.collapsedKeys.includes(t.form_id)?{padding:"0px",display:"none"}:{}}},[n("div",{staticClass:"clearfix",staticStyle:{cursor:"pointer"},attrs:{slot:"header"},on:{click:function(n){return e.toggleCollapse(t)}},slot:"header"},[n("i",{class:e.collapsedKeys.includes(t.form_id)?"el-icon-arrow-right":"el-icon-arrow-down",staticStyle:{"margin-right":"5px"}}),e._v(" "),n("span",{on:{click:function(n){return n.stopPropagation(),e.toFormDetailPage(t)}}},[n("i",{staticClass:"el-icon-tickets",staticStyle:{"margin-right":"5px"}}),n("span",[e._v(e._s(t.form_title))])]),e._v(" "),e.readonly?e._e():n("el-button",{staticStyle:{float:"right",padding:"3px 0"},attrs:{type:"text"},on:{click:function(t){return t.stopPropagation(),e.removeForm(i)}}},[n("i",{staticClass:"el-icon-close del-btn"})])],1),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!e.collapsedKeys.includes(t.form_id),expression:"!collapsedKeys.includes(item.form_id)"}],staticClass:"external-from-link-card-item-content"},[n("extern-form-content",{attrs:{item:t,container:e.container,ExternFormDef:e.ExternFormDefMap[t.form_def_id],ExternFormCreateConfDef:e.ExternFormCreateConfDefMap[t.form_def_id]}})],1)])})),1)]:"list"==e.componetUiType?[n("el-table",{staticStyle:{width:"100%"},attrs:{data:e.curVal,border:"",size:"small"}},[n("el-table-column",{attrs:{label:e.$z("标题","c.title"),"min-width":"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",{staticStyle:{cursor:"pointer",color:"#409EFF"},on:{click:function(n){return e.toFormDetailPage(t.row)}}},[n("i",{staticClass:"el-icon-tickets",staticStyle:{"margin-right":"5px"}}),e._v(e._s(t.row.form_title)+"\n ")])]}}])}),e._v(" "),e._l(e.tableColumns,(function(t){return n("el-table-column",{key:t.prop,attrs:{prop:t.prop,label:t.label,"show-overflow-tooltip":"","min-width":"120"},scopedSlots:e._u([{key:"default",fn:function(i){return[n("bpm-field",{ref:"externFormField_"+i.$index+"_"+t.prop,refInFor:!0,attrs:{type:t.fieldConf.type,fieldConf:t.fieldConf,formName:i.row.form_def_id,mode:"view",uiType:"form",container:e.container},model:{value:i.row[t.prop],callback:function(n){e.$set(i.row,t.prop,n)},expression:"scope.row[col.prop]"}})]}}],null,!0)})})),e._v(" "),e.readonly?e._e():n("el-table-column",{attrs:{label:e.$z("操作","c.operation"),width:"100",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{staticStyle:{color:"#F56C6C"},attrs:{type:"text"},on:{click:function(n){return e.removeForm(t.$index)}}},[e._v(e._s(e.$z("移除","c.remove")))])]}}],null,!1,1343955411)})],2)]:e._e(),e._v(" "),e.ExternFormList.length>1?[n("el-dropdown",{staticStyle:{"margin-right":"10px"},on:{command:e.CreateForm}},[n("el-button",{directives:[{name:"show",rawName:"v-show",value:e.canCreateForm,expression:"canCreateForm"}],attrs:{size:"mini",icon:"el-icon-plus"}},[e._v(e._s(e.$z("创建","c.create")))]),e._v(" "),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},e._l(e.ExternFormList,(function(t){return n("el-dropdown-item",{key:t.form,attrs:{command:t}},[e._v(e._s(t.name))])})),1)],1)]:[n("el-button",{directives:[{name:"show",rawName:"v-show",value:e.canCreateForm,expression:"canCreateForm"}],attrs:{size:"mini",icon:"el-icon-plus"},on:{click:function(t){return e.CreateForm(e.ExternFormList[0])}}},[e._v(e._s(e.$z("创建","c.create")))])],e._v(" "),e.canRefForm?n("el-button",{attrs:{size:"mini",icon:"el-icon-connection"},on:{click:e.toRefOpen}},[e._v(e._s(e.$z("关联","c.link_2")))]):e._e()],2),e._v(" "),n("el-dialog",{attrs:{"append-to-body":!0,visible:e.createDialogVisible,"close-on-click-modal":!1,title:e.createDialogTitle,width:"80%",top:"5vh"},on:{"update:visible":function(t){e.createDialogVisible=t}}},[n("iframe",{ref:"createFrame",staticClass:"create-form-iframe",attrs:{src:e.createFrameUrl,frameborder:"0",width:"100%",height:"600px"},on:{load:e.createFrameLoad}})]),e._v(" "),n("el-dialog",{attrs:{"append-to-body":!0,visible:e.detailDialogVisible,"close-on-click-modal":!1,title:e.detailDialogTtile,width:e.detailDialogWidth,top:"5vh"},on:{"update:visible":function(t){e.detailDialogVisible=t}}},[n("iframe",{ref:"detailFrame",staticClass:"detail-form-iframe",attrs:{src:e.detailFrameUrl,frameborder:"0",width:"100%",height:"600px"}})]),e._v(" "),n("el-dialog",{attrs:{"append-to-body":!0,visible:e.opened,"close-on-click-modal":!1,"before-close":e.onHide,title:e.fieldConf.name,width:"40%"},on:{"update:visible":function(t){e.opened=t},open:e.onRelFormDialogOpen}},[n("el-input",{staticClass:"input-with-select",attrs:{placeholder:e.$z("只展示前100条数据,通过搜索获取更多","b2.common.see_100_data")},on:{input:e.throttleSearch},model:{value:e.keyword,callback:function(t){e.keyword=t},expression:"keyword"}}),e._v(" "),n("el-tabs",{staticStyle:{"margin-top":"20px"},attrs:{type:"card","tab-position":"top"},on:{"tab-click":e.hanldeTabClick},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},e._l(e.rangeRemote,(function(t,i){return n("el-tab-pane",{key:t.form+i,attrs:{label:e.optionListArr[i]&&e.optionListArr[i].form_title||"表单"+i,name:t.form+i}},[e.optionListArr[i]&&e.optionListArr[i].options.length?n("div",{staticClass:"bpm-select-from-form-box"},[n("el-checkbox-group",{on:{change:e.handleChange},model:{value:e.dialogVal[i].form_ids,callback:function(t){e.$set(e.dialogVal[i],"form_ids",t)},expression:"dialogVal[index].form_ids"}},e._l(e.optionListArr[i].options,(function(t){return n("div",{key:t.id,staticClass:"form-item"},[n("div",{style:e.getTitleStyle(i)},[n("el-checkbox",{key:t.id,attrs:{label:t.id,disabled:e.setDisabled(t.id)}},[e._v(e._s(t.title))])],1),e._v(" "),e._l(t.fields,(function(t){return n("div",{key:t.key,staticClass:"subitem",style:e.geFieldStyle(i,t.key)},[e._v("\n "+e._s(t.name)+": "+e._s(t.value)+"\n ")])}))],2)})),0)],1):n("div",[e._v(e._s(e.$z("暂无数据","c.no_data")))])])})),1),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v(e._s(e.$z("确定","c.confirm")))])],1)],1)],1)};a._withStripped=!0;var o=n(6773),r=n.n(o),s=n(5281),l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-form",{staticClass:"external-form-content",attrs:{"label-width":"180px",inline:!1}},[n("el-form-item",{attrs:{label:"表单名称",prop:"form_def_name"}},[n("span",[e._v(e._s(e.ExternFormDef.name))])]),e._v(" "),e._l(e.columns,(function(t){return n("el-form-item",{directives:[{name:"show",rawName:"v-show",value:0==t.hidden,expression:"col.hidden == false"}],key:t.key,attrs:{label:t.label}},[n("bpm-field",e._b({ref:"externFormField",refInFor:!0,attrs:{type:t.fieldConf.type,fieldConf:t.fieldConf,formName:e.ExternFormDef.id,mode:"view",uiType:"form",container:e.container},model:{value:e.item[t.key],callback:function(n){e.$set(e.item,t.key,n)},expression:"item[col.key]"}},"bpm-field",e.$attrs,!1))],1)}))],2)};l._withStripped=!0;var d={props:{item:{type:Object,default(){return{}}},ExternFormDef:{type:Object,default(){return{}}},ExternFormCreateConfDef:{type:Object,default(){return{}}},container:{type:Object,default(){return{}}}},watch:{item(e,t){e&&this.getColumns()}},computed:{},data(){return{columns:[]}},methods:{getColumns(){let e=[];console.log("this.ExternFormDef",this.ExternFormDef),console.log("this.ExternFormCreateConfDef.",this.ExternFormCreateConfDef),_.each(this.ExternFormCreateConfDef.fields,(t=>{let n=_.cloneDeep(t),i=_.find(this.ExternFormDef.elements,(e=>e.id==t.target_field));console.log("columns_fieldConf",i),i&&(n.key=t.target_field,n.label=i.name,n.fieldConf=i,e.push(n))})),console.log("_columns",e),this.columns=e}},mounted(){console.log("item",this.item),console.log("ExternFormDef",this.ExternFormDef),console.log("ExternFormCreateConfDef",this.ExternFormCreateConfDef),this.getColumns()}},c=n(4486),u=(0,c.A)(d,l,[],!1,null,null,null);u.options.__file="components/lib/bpmExternalFormLink/src/part/external_form_content.vue";var m={props:["value","fieldConf","row","rowIndex","formName","formDefId","orgInfo","dm","isMultiple","container","readonly","uiType"],components:{externFormContent:u.exports},inject:["getSelectFields","selectOptions"],computed:{formData(){return this.container&&this.container.isSubForm?this.container.container.formData:this.container?this.container.formData:this.row&&this.row.f_fields?this.row.f_fields:this.row},minCount(){return r().get(this.fieldConf,"check.min_count")||0},maxCount(){return r().get(this.fieldConf,"check.max_count")||0},allChecked(){return(this.curVal||[]).map((e=>e.form_id))},canCreateForm(){return!(this.maxCount>0&&this.curVal.length>=this.maxCount||this.readonly)&&(this.fieldConf.enable_create_form||!1)},canRefForm(){return!(this.maxCount>0&&this.curVal.length>=this.maxCount||this.readonly)&&(this.fieldConf.enable_ref_form||!1)},rangeRemote(){return this.fieldConf.range_remote||[]},componetUiType(){return"table"==this.uiType?"title":this.fieldConf.style.ui_type},detailUiType(){return this.fieldConf.style.detail_ui_type},detailDialogWidth(){return this.fieldConf.style.dialog_width+"%"||0},tableColumns(){let e=[],t=new Set;return this.ExternFormList.forEach((n=>{let i=n.remote_create;console.log("createConf",i),console.log("formConfig.elements",n.elements),i&&i.fields&&n.elements&&i.fields.forEach((i=>{let a=i.target_field;if(!t.has(a)){let o=n.elements.find((e=>e.id===a));o&&i.is_store&&!i.hidden&&(t.add(a),e.push({prop:a,label:o.name,fieldConf:o}))}}))})),e},ExternFormList(){return(this.fieldConf.range_remote||[]).map((e=>{let t=this.ExternFormDefMap[e.form];return this.ExternFormCreateConfDefMap[e.form]=e.remote_create,console.log("def",t),t?{...e,...t}:e}))}},watch:{value:{handler(e){this.getCurVal(e)},deep:!0},curVal:{handler(e){e&&e.length>0&&this._getExternFormData()},deep:!0},createDialogVisible(e,t){e||clearInterval(this.set_global_var_interval_timer)}},data(){return{curVal:[],dialogVal:[],label:zj.z("未选择","c.not_selected"),formLabels:[],keyword:"",opened:!1,collapsedKeys:[],throttleSearch:r().throttle(r().bind(this.search,this),1500,{trailing:!0,leading:!1}),optionListArr:[],formList:[],ExternFormDefMap:{},ExternFormCreateConfDefMap:{},FormDataMap:{},createDialogVisible:!1,createFrameUrl:"",createDialogTitle:"",detailDialogVisible:!1,detailDialogTtile:"",detailFrameUrl:"",lastEmittedSnapshot:[],activeTab:"",set_global_var_interval_timer:null,get_forms_data_interval_timer:null,GlobalVar:{},postMessageCustomId:"bpm_external_form_link"+Math.random()}},mounted(){this.getCurVal(this.value),this.getExternFormDef(),this.watchExternFormChange()},created(){window.addEventListener("message",this.handlePostMessage,!1)},beforeDestroy(){clearInterval(this.set_global_var_interval_timer),clearInterval(this.get_forms_data_interval_timer),window.removeEventListener("message",this.handlePostMessage,!1)},methods:{formatFormData(e){let t=r().cloneDeep(this.FormDataMap[e]);console.log("_data",t);let n={form_title:t.title,form_id:t.form_id,form_def_id:t.form_def_id},i=this.ExternFormCreateConfDefMap[t.form_def_id];return console.log("_externFormCreateConfDef",i),i&&i.fields&&i.fields.length>0&&r().each(i.fields,(e=>{e.is_store&&(n[e.target_field]=t.f_fields[e.target_field])})),console.log("_formData",n),n},async handleCreateFormSuccess(e){if(console.log("handleCreateFormSuccess_data",e),console.log("postMessageCustomId",this.postMessageCustomId),e.postMessageCustomId!=this.postMessageCustomId)return;console.log("内部表单新增,data",e),await this.getFormsData([e.form_id]);let t=this.formatFormData(e.form_id);console.log("内部表单新增,add_form_data",t),console.log("this.FormDataMap",this.FormDataMap),this.curVal.push(t),this.$emit("input",this.curVal),this.$emit("change",this.curVal),this.createDialogVisible=!1},handlePostMessage(e){if(console.log("Received message event:",e),console.log("Received message:",e.data),e.origin===location.origin)switch(e.data.type){case"bpm_create_success":this.handleCreateFormSuccess(e.data.data),clearInterval(this.set_global_var_interval_timer);break;case"bpm_create_form_close":this.createDialogVisible=!1,clearInterval(this.set_global_var_interval_timer);break;default:return}},createFrameLoad(){console.log("this.$refs",this.$refs),this.set_global_var_interval_timer&&clearInterval(this.set_global_var_interval_timer),this.set_global_var_interval_timer=setInterval((()=>this.sendPossMessageToSetGlobalVar()),1e3)},sendPossMessageToSetGlobalVar(){this.$refs.createFrame.contentWindow.postMessage({type:"setBPMGlobalVar",data:this.GlobalVar},"*")},watchExternFormChange(){if(!r().get(this.fieldConf,"enable_dynamic_update")||this.readonly)return;let e=r().get(this.fieldConf,"dynamic_update_conf")||{};console.log("dynamic_update_conf",e),"http"==e.protocol&&(this.get_forms_data_interval_timer&&clearInterval(this.get_forms_data_interval_timer),this.get_forms_data_interval_timer=setInterval((async()=>{this._getExternFormData()}),e.polling_interval_time||1e4),console.log("this.get_forms_data_interval_timer",this.get_forms_data_interval_timer))},async _getExternFormData(){if(this.curVal&&this.curVal.length>0){await this.getFormsData();let e=r().cloneDeep(this.curVal);console.log("_curVal",e),e=e.map((e=>this.formatFormData(e.form_id)));const t=r().orderBy(e,["form_id"],["asc"]);console.log("normalized",t),console.log("this.lastEmittedSnapshot",this.lastEmittedSnapshot),console.log("_.isEqual(normalized, this.lastEmittedSnapshot)",r().isEqual(t,this.lastEmittedSnapshot)),r().isEqual(t,this.lastEmittedSnapshot)||(this.curVal=t,this.lastEmittedSnapshot=r().cloneDeep(t),this.$emit("input",this.curVal),this.$emit("change",this.curVal))}},closeCreateFrameDialog(){this.$emit("close")},CreateForm(e){if(!e)return;console.log("item",e);let t="",n="";e&&e.remote_create&&(t=e.remote_create.event||"",n=e.remote_create.operation_id||"",e.remote_create.operation_name?this.createDialogTitle=e.remote_create.operation_name:this.createDialogTitle=zj.z("创建","c.create"),console.log("this.container",this.container),console.log("this.row",this.row),r().each(e.remote_create.fields,(e=>{if(-1==e.source_field.indexOf("."))this.GlobalVar[e.target_field]=this.formData[e.source_field];else{let t=e.source_field.split(".");console.log("this.formData[source_field[0]]",this.formData[t[0]]),console.log("this.rowIndex",this.rowIndex),console.log("this.formData[source_field[0]][this.row.rowIndex]",this.formData[t[0]][this.rowIndex]),console.log("source_field[1]",t[1]),console.log("this.formData[source_field[0]][this.row.rowIndex][source_field[1]]",this.formData[t[0]][this.rowIndex][t[1]]),this.formData[t[0]]&&this.formData[t[0]].length>0&&(this.GlobalVar[e.target_field]=this.formData[t[0]][this.rowIndex][t[1]])}})),this.GlobalVar.postMessageCustomId=this.postMessageCustomId,this.$bpm&&this.$bpm.curFormId&&(this.GlobalVar.FORM_ID=this.$bpm.curFormId));const i=r().get(this.orgInfo,"project_id","");let a=`/public/bpm3/app/table.html?form_name=${e.id||e.form||""}&is_mirco_app=1&no_cache=1&hidden_form_title=1&form_type=${r().toLower(e.type)||""}&project_id=${i}&page_level=${zj.pageParam().page_level||""}`;t&&(a+=`&event=${t}`),n&&(a+=`&operation_id=${n}`),a+="#/create",this.createFrameUrl=a,this.createDialogVisible=!0},toFormDetailPage(e){let t=e.form_id;this.detailDialogTtile=e.form_title;let n=this.ExternFormDefMap[e.form_def_id];const i=r().get(this.orgInfo,"project_id","");let a=`/public/bpm3/app/table.html?form_name=${e.form_def_id||""}&is_mirco_app=1&hidden_form_title=1&form_type=${r().toLower(n.type)}&project_id=${i}&page_level=${e.page_level||""}&form_id=${t}#/detail`;"dialog"==this.fieldConf.style.detail_ui_type?(this.detailFrameUrl=a,this.detailDialogVisible=!0):window.open(a,"_blank")},getCurVal(e){let t=r().cloneDeep(e);console.log("arr",t),t&&r().isArray(t)&&t.length?this.curVal=t:this.curVal=[]},getTitleStyle(e){let t=this.fieldConf.range_remote||[],n=r().get(t[e],"range_display.title");return{fontSize:r().get(n,"size",16)+"px",color:r().get(n,"color","#333")}},geFieldStyle(e,t){let n=this.fieldConf.rangeRemote||[],i=r().get(n[e],"range_display.fields"),a=r().keyBy(i,"field"),o=r().get(a,t);return{fontSize:r().get(o,"size",12)+"px",color:r().get(o,"color","#949494")}},hanldeTabClick(e){console.log(e)},handleChange(e){console.log(e)},setDisabled(e){const t=this.allChecked.length;return!this.allChecked.includes(e)&&t>=this.maxCount&&this.maxCount>0},async getExternFormDef(){let e=this.keyword,t=r().get(this.fieldConf,"id");const n={q:e};let i=await s.A.assistField.selectFromMulFormSearchOpts(this.$bpm,{formDefId:this.formDefId,fieldDefId:t,orgInfo:this.orgInfo,isDm:this.dm},n);if(i.data&&i.data.data&&i.data.data.items){let e={};r().each(i.data.data.items,(t=>{e[t.definition.form.id]=t.definition.form})),this.ExternFormDefMap=e}console.log("this.ExternFormDefMap",this.ExternFormDefMap)},async getFormsData(e){let t=r().cloneDeep(this.value);if(!e&&(r().isNil(t)||!t||!r().isArray(t)))return;let n=e||this.allChecked,i=r().get(this.fieldConf,"id");const a=await s.A.assistField.selectFromMulFormListTitle(this.$bpm,{formDefId:this.formDefId,fieldDefId:i,orgInfo:this.orgInfo,isDm:this.dm},n);if(a.data&&a.data.data&&a.data.data.items){let e={};r().each(a.data.data.items,(t=>{r().each(t.data,(n=>{e[n.form_id]=n,e[n.form_id].form_def_id=t.definition.form.id}))})),this.FormDataMap=e;let t={};return r().each(a.data.data.items,(e=>{t[e.definition.form.id]=e.definition.form})),this.ExternFormDefMap=t,a.data.data.items}console.log("getFormsDataRes",a)},async search(){let e=this.keyword,t=r().get(this.fieldConf,"id");const n={q:e};if(this.getSelectFields){let e=this.getSelectFields();e&&"{}"!==JSON.stringify(e)&&(n.fields=e)}let i=await s.A.assistField.selectFromMulFormSearchOpts(this.$bpm,{formDefId:this.formDefId,fieldDefId:t,orgInfo:this.orgInfo,isDm:this.dm},n);console.log("res",i);let a=r().get(i.data,"data.items"),o=this.transformOptions(a);console.log(o),this.optionListArr=o},transformOptions(e){return console.log(e),e.map((e=>{let t=r().get(e,"definition.form.elements",[]),n=r().keyBy(t,"id"),i=r().map(e.data,(e=>({title:e.title,id:e.form_id,form_id:e.form_id,f_fields:e.f_fields,fields:r().map(e.f_fields,((e,t)=>({key:t,name:n[t]&&n[t].name,value:e})))})));return{form_def_id:r().get(e,"definition.form.id"),form_title:r().get(e,"definition.form.name"),options:i}}))},onHide(){this.opened=!1},onRelFormDialogOpen(){if(this.rangeRemote&&this.rangeRemote.length>0&&(this.activeTab=this.rangeRemote[0].form+"0"),this.dialogVal=this.rangeRemote.map((e=>{const t=this.curVal.filter((t=>t.form_def_id===e.form));return{form_def_id:e.form,form_ids:t.map((e=>e.form_id||e.id))}})),this.selectOptions){let e=this.selectOptions();if(console.log("linkOptions: ",e),e&&e.length)return void(this.formList=this.transformOptions(e))}this.search()},toRefOpen(){this.opened=!0},toggleCollapse(e){const t=e.form_id,n=this.collapsedKeys.indexOf(t);n>-1?this.collapsedKeys.splice(n,1):this.collapsedKeys.push(t)},onSubmit(){let e=[];this.dialogVal.forEach(((t,n)=>{const i=t.form_def_id;t.form_ids.forEach((t=>{const a=this.curVal.find((e=>e.form_id===t));if(a)e.push(a);else{const a=this.optionListArr[n];if(a&&a.options){const n=a.options.find((e=>e.id===t));let o={form_title:n.title,form_id:n.id,form_def_id:i},s=this.ExternFormCreateConfDefMap[o.form_def_id];s&&s.fields&&r().each(s.fields,(e=>{e.is_store&&(o[e.target_field]=n.f_fields[e.target_field])})),n&&(e.length<this.maxCount||!this.maxCount)&&e.push(o)}}}))})),this.curVal=e,this.$emit("input",this.curVal),this.$emit("change",this.curVal),this.opened=!1},removeForm(e){this.$confirm(this.$z("确定删除该项吗?","c.confirm_delete"),this.$z("提示","c.tips"),{confirmButtonText:this.$z("确定","c.confirm"),cancelButtonText:this.$z("取消","c.cancel"),type:"warning"}).then((()=>{this.curVal.splice(e,1),this.$emit("input",this.curVal),this.$emit("change",this.curVal),this.$message({type:"success",message:this.$z("删除成功!","c.delete_success")})})).catch((()=>{}))}}},f=(0,c.A)(m,a,[],!1,null,null,null);f.options.__file="components/lib/bpmExternalFormLink/src/part/editor.vue";var h=f.exports,p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"external-form-link-view"},[n("external-form-link-editor",{attrs:{value:e.value,fieldConf:e.fieldConf,formName:e.formName,formDefId:e.formName,orgInfo:e.orgInfo,row:e.row,uiType:e.uiType,readonly:!0}})],1)};p._withStripped=!0;var g={components:{ExternalFormLinkEditor:h},props:["value","fieldConf","row","uiType","formName","orgInfo"]},y=(0,c.A)(g,p,[],!1,null,null,null);y.options.__file="components/lib/bpmExternalFormLink/src/part/reader.vue";var b=y.exports,v={name:"BpmExternalFormLink",components:{editorComponent:h,readerComponent:b},props:{value:{type:[String,Array],default(){return""}},fieldConf:{type:Object,default(){return{}}},container:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},rowIndex:{type:Number,default(){return 0}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},orgInfo:{type:Object},formName:{type:String},isMultiple:{type:Boolean,default(){return!0}}},data(){return{curVal:[]}},computed:{curComponent(){return"view"==this.mode?b:h}},watch:{value(e){console.log("SelectFormMulForm_value",this.value),this.curVal=e}},mounted(){this.curVal=this.value},methods:{transValue(e){if(!e||!_.isArray(e))return[];let t=[];return this.val.forEach((e=>{t.push(...e.form_ids)})),t},handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},w=n(5072),M=n.n(w),k=n(7825),L=n.n(k),S=n(7659),x=n.n(S),D=n(5056),C=n.n(D),T=n(540),Y=n.n(T),$=n(1113),j=n.n($),O=n(5831),I={};I.styleTagTransform=j(),I.setAttributes=C(),I.insert=x().bind(null,"head"),I.domAPI=L(),I.insertStyleElement=Y(),M()(O.A,I),O.A&&O.A.locals&&O.A.locals;var P=(0,c.A)(v,i,[],!1,null,null,null);P.options.__file="components/lib/bpmExternalFormLink/src/main.vue";var E=P.exports;E.install=function(e){e.component(E.name,E)};var A=E},8021:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=!1;function o(){a||(a=!0,e.$nextTick((function(){a=!1,n()})))}var r=!0,s=!1,l=void 0;try{for(var d,c=t[Symbol.iterator]();!(r=(d=c.next()).done);r=!0){var u=d.value;e.$watch(u,o,{immediate:i})}}catch(e){s=!0,l=e}finally{try{!r&&c.return&&c.return()}finally{if(s)throw l}}}},8076:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var a=t.words[i];return 1===i.length?n?a[0]:a[1]:e+" "+t.correctGrammaticalCase(e,a)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5093))},8085:function(e,t,n){"use strict";var i=n(5072),a=n.n(i),o=n(7825),r=n.n(o),s=n(7659),l=n.n(s),d=n(5056),c=n.n(d),u=n(540),m=n.n(u),f=n(1113),h=n.n(f),p=n(386),_={};_.styleTagTransform=h(),_.setAttributes=c(),_.insert=l().bind(null,"head"),_.domAPI=r(),_.insertStyleElement=m(),a()(p.A,_),p.A&&p.A.locals&&p.A.locals},8141:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return k}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-select",attrs:{value:e.curVal,fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType},on:{change:e.handleChange}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"select-appointment-editor"},[n("div",[n("el-select",{staticStyle:{width:"250px"},attrs:{placeholder:e.fieldConf.name,clearable:""},on:{focus:e.toOpen,"remove-tag":e.delItem,clear:e.delItem},model:{value:e.label,callback:function(t){e.label=t},expression:"label"}})],1),e._v(" "),n("el-dialog",{attrs:{"append-to-body":!0,visible:e.opened,"before-close":e.onHide,title:e.fieldConf.name,width:"70%"},on:{"update:visible":function(t){e.opened=t},open:e.onOpen}},[n("div",{staticClass:"appointment-board"},[n("ul",{staticClass:"date-list"},e._l(e.dateOptions,(function(t){return n("li",{key:t,staticClass:"date-item"},[n("div",{staticClass:"date-title"},[e._v(e._s(t))]),e._v(" "),e._l(e.dateOptionsMap[t],(function(t,i){return[n("div",{key:i,staticClass:"time-range-item",class:{disabled:parseInt(t.remaining_num)<=0&&e.style.is_limit,selected:t.key==e.label},on:{click:function(n){return e.selectTimeRange(t)}}},[n("div",{staticClass:"time-range-item-title"},[e._v(e._s(t.title))]),e._v(" "),e.style.show_remain_num&&e.style.is_limit?n("div",{staticClass:"remain-num"},[e._v("\n "+e._s(e.$z("剩余","c.remaining_1"))+":"+e._s(t.remaining_num)+"\n ")]):e._e()])]}))],2)})),0)])])],1)};a._withStripped=!0;var o=n(5554),r=n.n(o),s=n(6773),l=n.n(s),d=n(7642),c=n(5093),u=n.n(c);r().use(d.Dialog);var m={props:["value","fieldConf","row","formName","orgInfo"],inject:["getSelectFields","selectOptions"],data(){return{curVal:"",curOptions:[],label:"",keyword:"",opened:!1,throttleSearch:l().throttle(l().bind(this.search,this),1500,{trailing:!0,leading:!1}),formList:[],dateActiveKey:"",timeRangeActiveKey:"",dateOptions:[],dateOptionsMap:{},fieldDefinitionMap:{}}},watch:{value(e){this.curVal=e,this.setLabel(this.curVal)},selectOptionsList(e){this.fieldConf.default&&"Default"==this.fieldConf.default.type&&"EVCFirstElem"==this.fieldConf.default.value.type&&(this.formList=this.transformOptions(e),this.formList&&this.formList.length?(console.log("this.formList",this.formList),this.isMultiple?this.curVal=[this.formList[0].id]:this.curVal=this.formList[0].id):this.isMultiple?this.curVal=[]:this.curVal="",console.log("this.curVal",this.curVal),this.onSubmit()),console.log("fieldConf",this.fieldConf),console.log("selectOptionsList",e)}},computed:{style(){return l().get(this.fieldConf,"style")},selectOptionsList(){return this.selectOptions()},placeholder(){return this.fieldConf.desc||this.fieldConf.name},maxCount(){return l().get(this.fieldConf,"check.max_count")},titleStyle(){let e=this.fieldConf,t=l().get(e,"range_remote.range_display.title");return{fontSize:l().get(t,"size",16)+"px",color:l().get(t,"color","#333")}},fieldStyleMap(){let e=this.fieldConf,t=l().get(e,"range_remote.range_display.fields");return l().keyBy(t,"field")}},created(){},mounted(){this.getCurVal(),this.setLabel(this.curVal)},methods:{delItem(){this.curVal="",this.$emit("input",this.curVal),this.$emit("change",this.curVal)},getCurVal(){this.value&&(l().isString(this.value)||l().isArray(this.value))?this.curVal=this.value:this.curVal=""},async search(){let e=this.keyword,t=this.formName,n=l().get(this.fieldConf,"id");const i=this.orgInfo;let a=this.getSelectFields();a&&"{}"!==JSON.stringify(a)&&(i.fields=a);let o=await this.$bpm.searchSelectOpts(n,e,t,this,!1,i,!0);console.log("result",o),o&&o.definition&&o.definition.form&&o.definition.form.elements&&l().each(o.definition.form.elements,(e=>{this.fieldDefinitionMap[e.id]=e})),this.transformOptions(o.data)},setLabel(e){e&&e.date?this.label=`${u()(1e3*e.date).format(this.style.date_format||"YYYY-MM-DD")} ${u()(1e3*e.start_time).format(this.style.time_range_start_time_format||"HH:mm")}${this.style.time_range_separate_format||"~"}${u()(1e3*e.end_time).format(this.style.time_range_end_time_format||"HH:mm")}`:this.label=""},transformOptions(e){let t=l().get(this.fieldConf,"style"),n=l().map(e,(e=>(e.f_fields.form_id=e.form_id,e.f_fields.title=u()(1e3*u()(`${e.f_fields.appointment_date} ${e.f_fields.start_time}`).unix()).format(t.time_range_start_time_format||"HH:mm")+(t.time_range_separate_format||"~")+u()(1e3*u()(`${e.f_fields.appointment_date} ${e.f_fields.end_time}`).unix()).format(t.time_range_start_time_format||"HH:mm"),e.f_fields.key=`${u()(e.f_fields.appointment_date).format(t.date_format||"YYYY-MM-DD")} ${e.f_fields.title}`,e.f_fields)));if(!n.length)return!1;this.keys=l().keys(n[0]),n=l().sortBy(n,"appointment_date"),n=l().groupBy(n,"appointment_date"),this.dateOptionsMap=l().cloneDeep(n),this.dateOptions=l().keys(this.dateOptionsMap),console.log("this.dateOptions",this.dateOptions),console.log("this.dateOptionsMap",this.dateOptionsMap),this.dateOptions=l().filter(this.dateOptions,(e=>{if(console.log("item",e),console.log("moment(item).unix",u()(e).unix()),console.log("moment().unix",u()().unix()),u()(e).unix()<u()().unix())console.log("不符合");else{if(!(u()(e).unix()>u()().unix()+24*t.optional_days_num*60*60))return e;console.log("不符合")}})),this.timeRangeOptions=this.dateOptionsMap[this.dateOptions[0]],console.log(" this.timeRangeOptions",this.timeRangeOptions),"EVCFirstElem"==l().get(this.fieldConf,"default.value.type")&&this.value},selectTimeRange(e){if(parseInt(e.remaining_num)<=0&&this.style.is_limit)return!1;this.curVal=e;let t={quote_id:e.form_id,date:u()(e.appointment_date).unix(),start_time:u()(`${e.appointment_date} ${e.start_time}`).unix(),end_time:u()(`${e.appointment_date} ${e.end_time}`).unix()};this.curVal=t,this.$emit("input",t),this.$emit("change",t),this.setLabel(this.curVal),this.opened=!1},onHide(){this.opened=!1},onOpen(){this.getCurVal();let e=this.selectOptions();e&&e.length?this.transformOptions(e):this.search()},toOpen(){this.opened=!0},isChecked(e){return l().includes(this.curVal,e)},onSubmit(){console.log("this.curVal",this.curVal),this.$emit("input",this.curVal),this.$emit("change",this.curVal),this.opened=!1}}},f=n(4486),h=(0,f.A)(m,a,[],!1,null,null,null);h.options.__file="components/lib/bpmAppointment/src/part/editor.vue";var p=h.exports,_=function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",{attrs:{title:e._value}},[e._v(e._s(e._value?e._value:"--"))])};_._withStripped=!0;var g={props:["value","fieldConf","row"],data(){return{}},computed:{_value(){let e=this.value,t="",n=this.fieldConf.style;return e&&e.date&&e.start_time&&e.end_time&&(t=`${u()(1e3*e.date).format(n.date_format||"YYYY-MM-DD")} ${u()(1e3*e.start_time).format(n.time_range_start_time_format||"HH:mm")}${n.time_range_separate_format||"~"}${u()(1e3*e.end_time).format(n.time_range_end_time_format||"HH:mm")}`),t}},watch:{},mounted(){},methods:{}},y=(0,f.A)(g,_,[],!1,null,null,null);y.options.__file="components/lib/bpmAppointment/src/part/reader.vue";var b=y.exports,v={name:"BpmAppointment",components:{editorComponent:p,readerComponent:b},props:{value:{type:[String,Number]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?b:p}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},w=(0,f.A)(v,i,[],!1,null,null,null);w.options.__file="components/lib/bpmAppointment/src/main.vue";var M=w.exports;M.install=function(e){e.component(M.name,M)};var k=M},8173:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314);n.n(o)()(a()).push([e.id,".area-elevation .area-elevation-select-box .area-elevation-select-item {\n float: left;\n margin-right: 5px;\n margin-bottom: 5px;\n}\n",""])},8174:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];e.defineLocale("ku",{months:i,monthsShort:i,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,n){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(5093))},8195:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o)()(a());r.push([e.id,"\n.vue-map-container {\n position: relative;\n}\n.vue-map-container .vue-map {\n left: 0; right: 0; top: 0; bottom: 0;\n position: absolute;\n}\n.vue-map-hidden {\n display: none;\n}\n",""]),t.A=r},8235:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n(5093))},8245:function(e,t,n){"use strict";n.d(t,{Ay:function(){return Be}});var i=n(3891),a=n.n(i),o=n(5554),r=n.n(o);e=n.hmd(e);var s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,l="object"==typeof self&&self&&self.Object===Object&&self,d=s||l||Function("return this")(),c=d.Symbol,u=Object.prototype,m=u.hasOwnProperty,f=u.toString,h=c?c.toStringTag:void 0,p=Object.prototype.toString,_=c?c.toStringTag:void 0;function g(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":_&&_ in Object(e)?function(e){var t=m.call(e,h),n=e[h];try{e[h]=void 0;var i=!0}catch(e){}var a=f.call(e);return i&&(t?e[h]=n:delete e[h]),a}(e):function(e){return p.call(e)}(e)}function y(e){return null!=e&&"object"==typeof e}var b=Array.isArray,v=/\s/,w=/^\s+/;function M(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var k=/^[-+]0x[0-9a-f]+$/i,L=/^0b[01]+$/i,S=/^0o[0-7]+$/i,x=parseInt;function D(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||y(e)&&"[object Symbol]"==g(e)}(e))return NaN;if(M(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=M(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;var n;e=(n=e)?n.slice(0,function(e){for(var t=e.length;t--&&v.test(e.charAt(t)););return t}(n)+1).replace(w,""):n;var i=L.test(e);return i||S.test(e)?x(e.slice(2),i?2:8):k.test(e)?NaN:+e}function C(e){return e}function T(e){if(!M(e))return!1;var t=g(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}var Y,$=d["__core-js_shared__"],j=(Y=/[^.]+$/.exec($&&$.keys&&$.keys.IE_PROTO||""))?"Symbol(src)_1."+Y:"",O=Function.prototype.toString,I=/^\[object .+?Constructor\]$/,P=Function.prototype,E=Object.prototype,A=P.toString,F=E.hasOwnProperty,V=RegExp("^"+A.call(F).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var H,R,z,N=Date.now,W=function(){try{var e=function(e){return!(!M(e)||(t=e,j&&j in t))&&(T(e)?V:I).test(function(e){if(null!=e){try{return O.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}(n=null==(t=Object)?void 0:t.defineProperty)?n:void 0;return e({},"",{}),e}catch(e){}var t,n}(),B=W,U=B?function(e,t){return B(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:C,G=(H=U,R=0,z=0,function(){var e=N(),t=16-(e-z);if(z=e,t>0){if(++R>=800)return arguments[0]}else R=0;return H.apply(void 0,arguments)}),q=G,J=/^(?:0|[1-9]\d*)$/;function K(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&J.test(e))&&e>-1&&e%1==0&&e<t}function X(e,t,n){"__proto__"==t&&B?B(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Z(e,t){return e===t||e!=e&&t!=t}var Q=Object.prototype.hasOwnProperty;function ee(e,t,n){var i=e[t];Q.call(e,t)&&Z(i,n)&&(void 0!==n||t in e)||X(e,t,n)}var te=Math.max;function ne(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function ie(e){return null!=e&&ne(e.length)&&!T(e)}var ae=Object.prototype;function oe(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ae)}function re(e){return y(e)&&"[object Arguments]"==g(e)}var se=Object.prototype,le=se.hasOwnProperty,de=se.propertyIsEnumerable,ce=re(function(){return arguments}())?re:function(e){return y(e)&&le.call(e,"callee")&&!de.call(e,"callee")},ue=ce,me="object"==typeof exports&&exports&&!exports.nodeType&&exports,fe=me&&e&&!e.nodeType&&e,he=fe&&fe.exports===me?d.Buffer:void 0,pe=(he?he.isBuffer:void 0)||function(){return!1},_e={};_e["[object Float32Array]"]=_e["[object Float64Array]"]=_e["[object Int8Array]"]=_e["[object Int16Array]"]=_e["[object Int32Array]"]=_e["[object Uint8Array]"]=_e["[object Uint8ClampedArray]"]=_e["[object Uint16Array]"]=_e["[object Uint32Array]"]=!0,_e["[object Arguments]"]=_e["[object Array]"]=_e["[object ArrayBuffer]"]=_e["[object Boolean]"]=_e["[object DataView]"]=_e["[object Date]"]=_e["[object Error]"]=_e["[object Function]"]=_e["[object Map]"]=_e["[object Number]"]=_e["[object Object]"]=_e["[object RegExp]"]=_e["[object Set]"]=_e["[object String]"]=_e["[object WeakMap]"]=!1;var ge="object"==typeof exports&&exports&&!exports.nodeType&&exports,ye=ge&&e&&!e.nodeType&&e,be=ye&&ye.exports===ge&&s.process,ve=function(){try{return ye&&ye.require&&ye.require("util").types||be&&be.binding&&be.binding("util")}catch(e){}}(),we=ve&&ve.isTypedArray,Me=we?function(e){return function(t){return e(t)}}(we):function(e){return y(e)&&ne(e.length)&&!!_e[g(e)]},ke=Me,Le=Object.prototype.hasOwnProperty;var Se=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object),xe=Se,De=Object.prototype.hasOwnProperty;function Ce(e){return ie(e)?function(e,t){var n=b(e),i=!n&&ue(e),a=!n&&!i&&pe(e),o=!n&&!i&&!a&&ke(e),r=n||i||a||o,s=r?function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}(e.length,String):[],l=s.length;for(var d in e)!t&&!Le.call(e,d)||r&&("length"==d||a&&("offset"==d||"parent"==d)||o&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||K(d,l))||s.push(d);return s}(e):function(e){if(!oe(e))return xe(e);var t=[];for(var n in Object(e))De.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}var Te,Ye=Object.prototype.hasOwnProperty,$e=(Te=function(e,t){if(oe(t)||ie(t))!function(e,t,n){var i=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var r=t[a],s=void 0;void 0===s&&(s=e[r]),i?X(n,r,s):ee(n,r,s)}}(t,Ce(t),e);else for(var n in t)Ye.call(t,n)&&ee(e,n,t[n])},function(e,t){return q(function(e,t,n){return t=te(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,o=te(i.length-t,0),r=Array(o);++a<o;)r[a]=i[t+a];a=-1;for(var s=Array(t+1);++a<t;)s[a]=i[a];return s[t]=n(r),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,C),e+"")}((function(e,t){var n=-1,i=t.length,a=i>1?t[i-1]:void 0,o=i>2?t[2]:void 0;for(a=Te.length>3&&"function"==typeof a?(i--,a):void 0,o&&function(e,t,n){if(!M(n))return!1;var i=typeof t;return!!("number"==i?ie(n)&&K(t,n.length):"string"==i&&t in n)&&Z(n[t],e)}(t[0],t[1],o)&&(a=i<3?void 0:a,i=1),e=Object(e);++n<i;){var r=t[n];r&&Te(e,r)}return e}))),je=function(){return d.Date.now()},Oe=Math.max,Ie=Math.min;var Pe=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",[e._t("default",null,{images:e.images,options:e.options})],2)},Ee=[];function Ae(e,t,n,i,a,o,r,s){var l,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),i&&(d.functional=!0),o&&(d._scopeId="data-v-"+o),r?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},d._ssrRegister=l):a&&(l=s?function(){a.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(e,t){return l.call(t),c(e,t)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,l):[l]}return{exports:e,options:d}}const Fe={props:{images:{type:Array},rebuild:{type:Boolean,default:!1},trigger:{},options:{type:Object}},data(){return{}},computed:{},watch:{images(){this.$nextTick((()=>{this.onChange()}))},trigger:{handler(){this.$nextTick((()=>{this.onChange()}))},deep:!0},options:{handler(){this.$nextTick((()=>{this.rebuildViewer()}))},deep:!0}},mounted(){this.createViewer()},unmounted(){this.destroyViewer()},methods:{onChange(){this.rebuild?this.rebuildViewer():this.updateViewer()},rebuildViewer(){this.destroyViewer(),this.createViewer()},updateViewer(){this.$viewer?(this.$viewer.update(),this.$emit("inited",this.$viewer)):this.createViewer()},destroyViewer(){this.$viewer&&this.$viewer.destroy()},createViewer(){this.$viewer=new(a())(this.$el,this.options),this.$emit("inited",this.$viewer)}}},Ve={};var He=Ae(Fe,Pe,Ee,!1,Re,null,null,null);function Re(e){for(let e in Ve)this[e]=Ve[e]}var ze=function(){return He.exports}();const Ne=({name:e="viewer",debug:t=!1}={})=>{function n(t,n,o=!1,l=!1){r().nextTick((()=>{l&&!function(e){const t=e.innerHTML.match(/<img([\w\W]+?)[\\/]?>/g),n=t?t.join(""):void 0;return e.__viewerImageDiffCache===n?(s("Element change detected, but image(s) has not changed"),!1):(s("Image change detected"),e.__viewerImageDiffCache=n,!0)}(t)||(o||!t[`$${e}`]?(i(t),t[`$${e}`]=new(a())(t,n),s("Viewer created")):(t[`$${e}`].update(),s("Viewer updated")))}))}function i(t){t[`$${e}`]&&(t[`$${e}`].destroy(),delete t[`$${e}`],s("Viewer destroyed"))}function o(e){e.__viewerMutationObserver&&(e.__viewerMutationObserver.disconnect(),delete e.__viewerMutationObserver,s("Observer destroyed"))}function s(){t&&console.log(...arguments)}return{bind(e,t,i){s("Viewer bind");const a=function(e,t,n){var i,a,o,r,s,l,d=0,c=!1,u=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function f(t){var n=i,o=a;return i=a=void 0,d=t,r=e.apply(o,n)}function h(e){var n=e-l;return void 0===l||n>=t||n<0||u&&e-d>=o}function p(){var e=je();if(h(e))return _(e);s=setTimeout(p,function(e){var n=t-(e-l);return u?Ie(n,o-(e-d)):n}(e))}function _(e){return s=void 0,m&&i?f(e):(i=a=void 0,r)}function g(){var e=je(),n=h(e);if(i=arguments,a=this,l=e,n){if(void 0===s)return function(e){return d=e,s=setTimeout(p,t),c?f(e):r}(l);if(u)return clearTimeout(s),s=setTimeout(p,t),f(l)}return void 0===s&&(s=setTimeout(p,t)),r}return t=D(t)||0,M(n)&&(c=!!n.leading,o=(u="maxWait"in n)?Oe(D(n.maxWait)||0,t):o,m="trailing"in n?!!n.trailing:m),g.cancel=function(){void 0!==s&&clearTimeout(s),d=0,i=l=a=s=void 0},g.flush=function(){return void 0===s?r:_(je())},g}(n,50);a(e,t.value),function(e,{expression:t},n,i){t&&/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/.test(t)?(e.__viewerUnwatch=n.context.$watch(t,((n,a)=>{s("Change detected by watcher: ",t),i(e,n,!0)}),{deep:!0}),s("Watcher created, expression: ",t)):s("Only simple dot-delimited paths can create watcher")}(e,t,i,a),t.modifiers.static||function(e,t,n,i){o(e);const a=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(!a)return void s("Observer not supported");const r=new a((a=>{a.forEach((a=>{s(`Viewer mutation:${a.type}`),n(e,t,i,!0)}))}));r.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),e.__viewerMutationObserver=r,s("Observer created")}(e,t.value,a,t.modifiers.rebuild)},unbind(e,t){s("Viewer unbind"),o(e),function(e){e.__viewerUnwatch&&(e.__viewerUnwatch(),delete e.__viewerUnwatch,s("Watcher destroyed"))}(e),i(e)}}},We=({images:e=[],options:t={}}={})=>{t=$e(t,{inline:!1});const n=new(r().extend({render(t){return t("div",{style:{display:"none"},class:["__viewer-token"]},e.map((e=>t("img",{attrs:"string"==typeof e?{src:e}:e}))))}}));n.$mount(),document.body.appendChild(n.$el);const i=new(a())(n.$el,t),o=i.destroy.bind(i);return i.destroy=function(){return o(),n.$destroy(),document.body.removeChild(n.$el),i},i.show(),n.$el.addEventListener("hidden",(function(){this.viewer===i&&i.destroy()})),i};var Be={install(e,{name:t="viewer",debug:n=!1,defaultOptions:i}={}){a().setDefaults(i),e.component(t,$e(ze,{name:t})),e.directive(t,Ne({name:t,debug:n})),e.prototype[`$${t}Api`]=We},setDefaults(e){a().setDefaults(e)}}},8298:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(5093))},8303:function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(n(5093))},8310:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314);n.n(o)()(a()).push([e.id,".bpm-select-issue .icon-right {\n color: #c1c1c1;\n}\n.bpm-select-issue .select-user-label {\n overflow-x: auto;\n white-space: normal;\n}\n.bpm-select-issue .select-user-label::-webkit-scrollbar {\n display: none;\n}\n.bpm-select-issue.el-dialog .el-dialog__body {\n height: calc(100vh - 54px - 70px);\n box-sizing: border-box;\n overflow: auto;\n}\n",""])},8343:function(e,t,n){"use strict";const{normalizeIPv6:i,normalizeIPv4:a,removeDotSegments:o,recomposeAuthority:r,normalizeComponentEncoding:s}=n(4834),l=n(343);function d(e,t,n,i){const a={};return i||(e=f(c(e,n),n),t=f(c(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(a.scheme=t.scheme,a.userinfo=t.userinfo,a.host=t.host,a.port=t.port,a.path=o(t.path||""),a.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(a.userinfo=t.userinfo,a.host=t.host,a.port=t.port,a.path=o(t.path||""),a.query=t.query):(t.path?("/"===t.path.charAt(0)?a.path=o(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?a.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:a.path=t.path:a.path="/"+t.path,a.path=o(a.path)),a.query=t.query):(a.path=e.path,void 0!==t.query?a.query=t.query:a.query=e.query),a.userinfo=e.userinfo,a.host=e.host,a.port=e.port),a.scheme=e.scheme),a.fragment=t.fragment,a}function c(e,t){const n={host:e.host,scheme:e.scheme,userinfo:e.userinfo,port:e.port,path:e.path,query:e.query,nid:e.nid,nss:e.nss,uuid:e.uuid,fragment:e.fragment,reference:e.reference,resourceName:e.resourceName,secure:e.secure,error:""},i=Object.assign({},t),a=[],s=l[(i.scheme||n.scheme||"").toLowerCase()];s&&s.serialize&&s.serialize(n,i),void 0!==n.path&&(i.skipEscape?n.path=unescape(n.path):(n.path=escape(n.path),void 0!==n.scheme&&(n.path=n.path.split("%3A").join(":")))),"suffix"!==i.reference&&n.scheme&&a.push(n.scheme,":");const d=r(n,i);if(void 0!==d&&("suffix"!==i.reference&&a.push("//"),a.push(d),n.path&&"/"!==n.path.charAt(0)&&a.push("/")),void 0!==n.path){let e=n.path;i.absolutePath||s&&s.absolutePath||(e=o(e)),void 0===d&&(e=e.replace(/^\/\//u,"/%2F")),a.push(e)}return void 0!==n.query&&a.push("?",n.query),void 0!==n.fragment&&a.push("#",n.fragment),a.join("")}const u=Array.from({length:127},((e,t)=>/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(t)))),m=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function f(e,t){const n=Object.assign({},t),o={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},r=-1!==e.indexOf("%");let s=!1;"suffix"===n.reference&&(e=(n.scheme?n.scheme+":":"")+"//"+e);const d=e.match(m);if(d){if(o.scheme=d[1],o.userinfo=d[3],o.host=d[4],o.port=parseInt(d[5],10),o.path=d[6]||"",o.query=d[7],o.fragment=d[8],isNaN(o.port)&&(o.port=d[5]),o.host){const e=a(o.host);if(!1===e.isIPV4){const t=i(e.host,{isIPV4:!1});o.host=t.host.toLowerCase(),s=t.isIPV6}else o.host=e.host,s=!0}void 0!==o.scheme||void 0!==o.userinfo||void 0!==o.host||void 0!==o.port||o.path||void 0!==o.query?void 0===o.scheme?o.reference="relative":void 0===o.fragment?o.reference="absolute":o.reference="uri":o.reference="same-document",n.reference&&"suffix"!==n.reference&&n.reference!==o.reference&&(o.error=o.error||"URI is not a "+n.reference+" reference.");const e=l[(n.scheme||o.scheme||"").toLowerCase()];if(!(n.unicodeSupport||e&&e.unicodeSupport)&&o.host&&(n.domainHost||e&&e.domainHost)&&!1===s&&function(e){let t=0;for(let n=0,i=e.length;n<i;++n)if(t=e.charCodeAt(n),t>126||u[t])return!0;return!1}(o.host))try{o.host=URL.domainToASCII(o.host.toLowerCase())}catch(e){o.error=o.error||"Host's domain name can not be converted to ASCII: "+e}(!e||e&&!e.skipNormalize)&&(r&&void 0!==o.scheme&&(o.scheme=unescape(o.scheme)),r&&void 0!==o.host&&(o.host=unescape(o.host)),void 0!==o.path&&o.path.length&&(o.path=escape(unescape(o.path))),void 0!==o.fragment&&o.fragment.length&&(o.fragment=encodeURI(decodeURIComponent(o.fragment)))),e&&e.parse&&e.parse(o,n)}else o.error=o.error||"URI can not be parsed.";return o}const h={SCHEMES:l,normalize:function(e,t){return"string"==typeof e?e=c(f(e,t),t):"object"==typeof e&&(e=f(c(e,t),t)),e},resolve:function(e,t,n){const i=Object.assign({scheme:"null"},n);return c(d(f(e,i),f(t,i),i,!0),{...i,skipEscape:!0})},resolveComponents:d,equal:function(e,t,n){return"string"==typeof e?(e=unescape(e),e=c(s(f(e,n),!0),{...n,skipEscape:!0})):"object"==typeof e&&(e=c(s(e,!0),{...n,skipEscape:!0})),"string"==typeof t?(t=unescape(t),t=c(s(f(t,n),!0),{...n,skipEscape:!0})):"object"==typeof t&&(t=c(s(t,!0),{...n,skipEscape:!0})),e.toLowerCase()===t.toLowerCase()},serialize:c,parse:f};e.exports=h,e.exports.default=h,e.exports.fastUri=h},8383:function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5093))},8396:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=(i=n(2230))&&i.__esModule?i:{default:i},o={bounds:{type:Object,twoWay:!0},draggable:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},options:{type:Object,twoWay:!1}};t.default=(0,a.default)({mappedProps:o,name:"rectangle",ctr:function(){return google.maps.Rectangle},events:["click","dblclick","drag","dragend","dragstart","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"]})},8414:function(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"يېرىم كېچە":i<900?"سەھەر":i<1130?"چۈشتىن بۇرۇن":i<1230?"چۈش":i<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n(5093))},8474:function(e,t,n){!function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5093))},8500:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-select-issue q-field-no-input"},[n("div",{staticStyle:{display:"flex","max-width":"360px",cursor:"pointer"},on:{click:function(t){return e.toOpen()}}},[n("div",{staticClass:"select-user-label",staticStyle:{flex:"1"}},[e._v("\n "+e._s(e.value.length||"view"===e.mode?e.$z("已选问题","b2.common.selected_question")+" "+e.value.length:e.$z("选择问题","b2.common.choice_question"))+"\n ")]),e._v(" "),n("i",{staticClass:"fa fa-angle-right icon-right",attrs:{"aria-hidden":"true"}})]),e._v(" "),n("el-dialog",{attrs:{title:e.searchTitle,visible:e.opened,width:"90%",fullscreen:!0,"custom-class":"bpm-select-issue"},on:{"update:visible":function(t){e.opened=t},close:e.toClose}},[n("issue-list",{ref:"issue_list",attrs:{category_cls:e.category_cls,mode:e.issueMode,selectItems:e.selectedVals},on:{select:e.selectIssueList}}),e._v(" "),"edit"===e.mode?n("div",{staticClass:"modal-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:e.toClose}},[e._v(e._s(e.$z("取消","c.cancel")))]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v(e._s(e.$z("确定","c.confirm")))])],1):e._e()],1)],1)};i._withStripped=!0;var a={name:"BpmSelectIssue",props:{value:{type:Array,default(){return[]}},type:{type:String,default:"MulSelectIssue"},fieldConf:{type:Object,default(){return{}}},mode:{type:String,default:"view"},uiType:{type:String,default:"default"}},data(){return{issueMode:"view",searchTitle:zj.z("已选问题","b2.common.selected_question"),module_loaded:!1,loading:!1,opened:!1,selectedVals:[],category_cls:0}},watch:{value(e){this.selectedVals=_.clone(e)},mode(e){"view"===e?(this.issueMode="view",this.searchTitle=zj.z("已选问题","b2.common.selected_question")):(this.issueMode="add",this.searchTitle=zj.z("选择问题","b2.common.choice_question"))}},computed:{maxCount(){return _.hasIn(this.fieldConf,"check.max_count")?_.get(this.fieldConf,"check.max_count"):100}},mounted(){setTimeout((async()=>{"building_qm"==this.fieldConf.issue_src?(await zj.ui.loadPageComponent("IssueList","buildingqm3","list"),this.category_cls=23,console.log("动态加载安全检查模块组件")):(await zj.ui.loadPageComponent("IssueList","houseqm3","list"),this.category_cls=28,console.log("动态加载分户验收模块组件")),this.module_loaded=!0}),4)},methods:{selectIssueList(e){this.selectedVals=_.clone(e)},toClose(){this.opened=!1,this.selectedVals=[]},toOpen(){this.module_loaded&&(this.opened=!0,this.$nextTick((()=>{setTimeout((()=>{this.setDefaultSelected()}),4)})))},setDefaultSelected(){this.selectedVals=this.value?_.cloneDeep(this.value):[],this.$refs.issue_list&&(this.$refs.issue_list.selectedIds=_.clone(this.selectedVals),this.$refs.issue_list.loadIssueList())},onSubmit(){this.$emit("input",this.selectedVals),this.$emit("change",this.selectedVals),this.toClose()}}},o=(n(8310),(0,n(4486).A)(a,i,[],!1,null,null,null));o.options.__file="components/lib/bpmSelectIssue/src/main.vue";var r=o.exports;r.install=function(e){e.component(r.name,r)};var s=r},8601:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314);n.n(o)()(a()).push([e.id,'.audit-modal .q-field-required .q-field-label-inner::before {\n content: "*";\n color: #f44336 !important;\n font-size: 18px;\n padding-top: 5px;\n padding-right: 5px;\n}\n.audit-modal .q-field-label {\n color: #333333;\n}\n.audit-modal .reset-btn .q-btn {\n width: 96px;\n height: 36px;\n background: #ffffff;\n border-radius: 100px;\n box-shadow: -1px 1px 5px -1px rgba(0, 0, 0, 0.18);\n margin-top: 8px;\n}\n.audit-modal .reset-btn .next-use {\n margin: 15px 0 0 203pt;\n}\n.mobile .audit-modal .reset-btn .next-use {\n margin: 15px 0 0 0 !important;\n}\n.modal-scroll {\n max-height: 100vh !important;\n}\n.audit-dialog .modal-body {\n padding: 0;\n}\n.audit-dialog .audit-dialog-content {\n padding: 0;\n}\n.audit-dialog .modal-content {\n padding: 14px;\n border-radius: 10px;\n width: 90vw;\n max-height: 90vh !important;\n max-width: 40vw !important;\n}\n.audit-dialog .modal-header {\n font-size: 16px;\n padding: 0;\n}\n.audit-dialog .q-field {\n padding: 0;\n margin: 0;\n margin-top: 10px;\n}\n.audit-dialog .upload-box {\n padding: 0px 5px 0px;\n margin-bottom: 0;\n}\n.audit-dialog .q-layout-header {\n box-shadow: 0 0px 6px -1px rgba(0, 0, 0, 0.1);\n -webkit-box-shadow: 0 0px 6px -1px rgba(0, 0, 0, 0.1);\n}\n.audit-dialog .q-layout-header .q-toolbar {\n color: #333 !important;\n}\n.mobile .modal-footer button {\n margin-top: 7px;\n background: linear-gradient(270deg, #34b2d5, #16a7cf) !important;\n border-radius: 25px;\n height: 44px;\n color: #333;\n margin-bottom: 7px;\n}\n.mobile .audit-modal .modal-content {\n max-width: 90vw !important;\n}\n.aduit-result {\n padding: 0px 10px;\n border-radius: 15px;\n overflow: hidden;\n line-height: 30px;\n height: 30px;\n box-sizing: border-box;\n display: inline-block;\n vertical-align: middle;\n}\n',""])},8643:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9029),a=n(4227),o=n(6250),r={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>i._`{allowedValues: ${e}}`},code(e){const{gen:t,data:n,$data:r,schema:s,schemaCode:l,it:d}=e;if(!r&&0===s.length)throw new Error("enum must have non-empty array");const c=s.length>=d.opts.loopEnum;let u;const m=()=>null!=u?u:u=(0,a.useFunc)(t,o.default);let f;if(c||r)f=t.let("valid"),e.block$data(f,(function(){t.assign(f,!1),t.forOf("v",l,(e=>t.if(i._`${m()}(${n}, ${e})`,(()=>t.assign(f,!0).break()))))}));else{if(!Array.isArray(s))throw new Error("ajv implementation error");const e=t.const("vSchema",l);f=(0,i.or)(...s.map(((t,a)=>function(e,t){const a=s[t];return"object"==typeof a&&null!==a?i._`${m()}(${n}, ${e}[${t}])`:i._`${n} === ${a}`}(e,a))))}e.pass(f)}};t.default=r},8660:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(5765),a=n(9029),o=n(2023),r=n(4227),s={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>a._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:n,parentSchema:s,data:l,errsCount:d,it:c}=e;if(!d)throw new Error("ajv implementation error");const{allErrors:u,opts:m}=c;if(c.props=!0,"all"!==m.removeAdditional&&(0,r.alwaysValidSchema)(c,n))return;const f=(0,i.allSchemaProperties)(s.properties),h=(0,i.allSchemaProperties)(s.patternProperties);function p(e){t.code(a._`delete ${l}[${e}]`)}function _(i){if("all"===m.removeAdditional||m.removeAdditional&&!1===n)p(i);else{if(!1===n)return e.setParams({additionalProperty:i}),e.error(),void(u||t.break());if("object"==typeof n&&!(0,r.alwaysValidSchema)(c,n)){const n=t.name("valid");"failing"===m.removeAdditional?(g(i,n,!1),t.if((0,a.not)(n),(()=>{e.reset(),p(i)}))):(g(i,n),u||t.if((0,a.not)(n),(()=>t.break())))}}}function g(t,n,i){const a={keyword:"additionalProperties",dataProp:t,dataPropType:r.Type.Str};!1===i&&Object.assign(a,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(a,n)}t.forIn("key",l,(n=>{f.length||h.length?t.if(function(n){let o;if(f.length>8){const e=(0,r.schemaRefOrVal)(c,s.properties,"properties");o=(0,i.isOwnProperty)(t,e,n)}else o=f.length?(0,a.or)(...f.map((e=>a._`${n} === ${e}`))):a.nil;return h.length&&(o=(0,a.or)(o,...h.map((t=>a._`${(0,i.usePattern)(e,t)}.test(${n})`)))),(0,a.not)(o)}(n),(()=>_(n))):_(n)})),e.ok(a._`${d} === ${o.default.errors}`)}};t.default=s},8668:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return P}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-select-check-item",attrs:{fieldConf:e.fieldConf,row:e.row,orgInfo:e.orgInfo,formName:e.formName,mode:e.mode,isMultiple:e.multiple,uiType:e.uiType},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-select",{staticStyle:{width:"100%"},attrs:{"popper-class":"bpm-select-tree",multiple:e.isMultiple,placeholder:e.placeholder,"multiple-limit":e.maxCount},on:{change:e.onChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},[e._l(e.defaultOptions,(function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),e._v(" "),n("el-tree",{attrs:{lazy:"",load:e.loadNode,"node-key":"value",props:{label:"treeLabel",children:"children",disabled:"disabled",isLeaf:"isLeaf"},indent:16},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.node;return i.data.disabled?n("span",{},[e._v("\n "+e._s(i.label)+"\n ")]):n("el-option",{staticClass:"tree-options",attrs:{value:i.data.value,label:i.data.label}},[n("span",{staticStyle:{"padding-right":"30px","max-width":"500px",overflow:"hidden"}},[e._v("\n "+e._s(i.label)+"\n ")])])}}],null,!0)})],2)],1)};a._withStripped=!0;var o=n(5281),r=n(5554),s=n.n(r),l=n(6773),d=n.n(l),c=n(7642);s().use(c.Tree),s().use(c.Select),s().use(c.Option);var u={props:["value","fieldConf","row","formName","formDefId","orgInfo","dm","isMultiple"],data(){return{curVal:"",defaultOptions:[]}},watch:{value(){this.curVal=this.value?this.value:this.isMultiple?[]:"",this.getDefaultOptions()}},computed:{placeholder(){return this.fieldConf.desc||this.fieldConf.name},maxCount(){return d().get(this.fieldConf,"check.max_count")},tickStrategy(){return"leaf_only"==d().get(this.fieldConf,"tree_select","all")?"leaf-filtered":"strict"},leafOnly(){return"leaf_only"===this.fieldConf.tree_select}},created(){this.curVal=this.isMultiple?[]:""},mounted(){this.curVal=this.value?this.value:this.isMultiple?[]:""},methods:{async loadNode(e,t){let n=d().get(this.fieldConf,"id"),i={father:0===e.level?"":e.data.value||""},a=await o.A.assistTreeField.searchSelectOpts(this.$bpm,{formDefId:this.formDefId,fieldDefId:n,orgInfo:this.orgInfo,isDm:this.dm},i),r=d().get(a.data,"data.data",[]);console.log("list_result",r);let s=this.transformResultToTree(r,e);console.log("list",s),t(s)},transformResultToTree(e,t){let n=d().get(this.fieldConf,"type");return"SelectCheckItem"==n||"MulSelectCheckItem"==n?d().map(e,(e=>{this.isMultiple||e[0]!==this.curVal||(this.defaultOptions=[]),this.isMultiple&&this.curVal.includes(e[0])&&(this.defaultOptions=d().filter(this.defaultOptions,(t=>t.value!==e[0])));let n=0===t.level?e[1]:t.data.label+" - "+e[1],i=!e[2];return{value:e[0],lazy:e[2],label:n,treeLabel:e[1],isLeaf:i,disabled:this.leafOnly&&!i}})):"SelectSort"==n||"MulSelectSort"==n?d().map(e,(e=>{this.isMultiple||e.value!==this.curVal||(this.defaultOptions=[]),this.isMultiple&&this.curVal.includes(e.value)&&(this.defaultOptions=d().filter(this.defaultOptions,(t=>t.value!==e.value)));let n=0===t.level?e.label:t.data.label+" - "+e.label,i=!e.lazy;return{value:e.value,lazy:e.lazy,label:n,treeLabel:e.label,isLeaf:i,disabled:this.leafOnly&&!i}})):void 0},async getDefaultOptions(){let e=d().isArray(this.curVal)?this.curVal:this.curVal?[this.curVal]:[];if(!e.length)return;const t=await o.A.assistField.getTitle(this.$bpm,{formDefId:this.formDefId,fieldDefId:this.fieldConf.id,orgInfo:this.orgInfo,isDm:this.dm},e);console.log(t);const n=d().get(t.data,"data.data",{});let i=d().map(n,((e,t)=>({value:t,label:e})));console.log("default options: ",i),this.defaultOptions=i},onChange(e){this.$emit("input",e),this.$emit("change",e)}}},m=n(4486),f=(0,m.A)(u,a,[],!1,null,null,null);f.options.__file="components/lib/bpmSelectCheckItem/src/part/editor.vue";var h=f.exports,p={mixins:[n(7348).A]},_=(0,m.A)(p,void 0,void 0,!1,null,null,null);_.options.__file="components/lib/bpmSelectCheckItem/src/part/reader.vue";var g=_.exports,y={name:"BpmSelectCheckItem",components:{editorComponent:h,readerComponent:g},props:{value:{type:[String,Array]},type:{type:String,default:"SelectCheckItem"},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},orgInfo:{type:Object},formName:{type:String},isMultiple:{type:Boolean,default(){return!1}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?g:h},multiple(){return this.isMultiple||0===this.type.indexOf("Mul")}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},b=n(5072),v=n.n(b),w=n(7825),M=n.n(w),k=n(7659),L=n.n(k),S=n(5056),x=n.n(S),D=n(540),C=n.n(D),T=n(1113),Y=n.n(T),$=n(347),j={};j.styleTagTransform=Y(),j.setAttributes=x(),j.insert=L().bind(null,"head"),j.domAPI=M(),j.insertStyleElement=C(),v()($.A,j),$.A&&$.A.locals&&$.A.locals;var O=(0,m.A)(y,i,[],!1,null,null,null);O.options.__file="components/lib/bpmSelectCheckItem/src/main.vue";var I=O.exports;I.install=function(e){e.component(I.name,I)};var P=I},8676:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n(5093))},8705:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=(i=n(2230))&&i.__esModule?i:{default:i},o={center:{type:Object,twoWay:!0,required:!0},radius:{type:Number,twoWay:!0},draggable:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},options:{type:Object,twoWay:!1}};t.default=(0,a.default)({mappedProps:o,name:"circle",ctr:function(){return google.maps.Circle},events:["click","dblclick","drag","dragend","dragstart","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"]})},8708:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const i=n(9029),a=n(4227),o=n(2023);function r(e,t){const n=e.const("err",t);e.if(i._`${o.default.vErrors} === null`,(()=>e.assign(o.default.vErrors,i._`[${n}]`)),i._`${o.default.vErrors}.push(${n})`),e.code(i._`${o.default.errors}++`)}function s(e,t){const{gen:n,validateName:a,schemaEnv:o}=e;o.$async?n.throw(i._`new ${e.ValidationError}(${t})`):(n.assign(i._`${a}.errors`,t),n.return(!1))}t.keywordError={message:({keyword:e})=>i.str`must pass "${e}" keyword validation`},t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?i.str`"${e}" keyword must be ${t} ($data)`:i.str`"${e}" keyword is invalid ($data)`},t.reportError=function(e,n=t.keywordError,a,o){const{it:l}=e,{gen:c,compositeRule:u,allErrors:m}=l,f=d(e,n,a);(null!=o?o:u||m)?r(c,f):s(l,i._`[${f}]`)},t.reportExtraError=function(e,n=t.keywordError,i){const{it:a}=e,{gen:l,compositeRule:c,allErrors:u}=a;r(l,d(e,n,i)),c||u||s(a,o.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(o.default.errors,t),e.if(i._`${o.default.vErrors} !== null`,(()=>e.if(t,(()=>e.assign(i._`${o.default.vErrors}.length`,t)),(()=>e.assign(o.default.vErrors,null)))))},t.extendErrors=function({gen:e,keyword:t,schemaValue:n,data:a,errsCount:r,it:s}){if(void 0===r)throw new Error("ajv implementation error");const l=e.name("err");e.forRange("i",r,o.default.errors,(r=>{e.const(l,i._`${o.default.vErrors}[${r}]`),e.if(i._`${l}.instancePath === undefined`,(()=>e.assign(i._`${l}.instancePath`,(0,i.strConcat)(o.default.instancePath,s.errorPath)))),e.assign(i._`${l}.schemaPath`,i.str`${s.errSchemaPath}/${t}`),s.opts.verbose&&(e.assign(i._`${l}.schema`,n),e.assign(i._`${l}.data`,a))}))};const l={keyword:new i.Name("keyword"),schemaPath:new i.Name("schemaPath"),params:new i.Name("params"),propertyName:new i.Name("propertyName"),message:new i.Name("message"),schema:new i.Name("schema"),parentSchema:new i.Name("parentSchema")};function d(e,t,n){const{createErrors:a}=e.it;return!1===a?i._`{}`:function(e,t,n={}){const{gen:a,it:r}=e,s=[c(r,n),u(e,n)];return function(e,{params:t,message:n},a){const{keyword:r,data:s,schemaValue:d,it:c}=e,{opts:u,propertyName:m,topSchemaRef:f,schemaPath:h}=c;a.push([l.keyword,r],[l.params,"function"==typeof t?t(e):t||i._`{}`]),u.messages&&a.push([l.message,"function"==typeof n?n(e):n]),u.verbose&&a.push([l.schema,d],[l.parentSchema,i._`${f}${h}`],[o.default.data,s]),m&&a.push([l.propertyName,m])}(e,t,s),a.object(...s)}(e,t,n)}function c({errorPath:e},{instancePath:t}){const n=t?i.str`${e}${(0,a.getErrorPath)(t,a.Type.Str)}`:e;return[o.default.instancePath,(0,i.strConcat)(o.default.instancePath,n)]}function u({keyword:e,it:{errSchemaPath:t}},{schemaPath:n,parentSchema:o}){let r=o?t:i.str`${t}/${e}`;return n&&(r=i.str`${r}${(0,a.getErrorPath)(n,a.Type.Str)}`),[l.schemaPath,r]}},8727:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const i=n(8708),a=n(9029),o=n(2023),r={message:"boolean schema is false"};function s(e,t){const{gen:n,data:a}=e,o={gen:n,keyword:"false schema",data:a,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,i.reportError)(o,r,void 0,t)}t.topBoolOrEmptySchema=function(e){const{gen:t,schema:n,validateName:i}=e;!1===n?s(e,!1):"object"==typeof n&&!0===n.$async?t.return(o.default.data):(t.assign(a._`${i}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){const{gen:n,schema:i}=e;!1===i?(n.var(t,!1),s(e)):n.var(t,!0)}},8861:function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5093))},8959:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+(i=+e,a={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),i%10==1&&i%100!=11?a[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?a[1]:a[2]);var i,a}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n(5093))},9029:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const i=n(1520),a=n(7845);var o=n(1520);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return o._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return o.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return o.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return o.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return o.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return o.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return o.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return o.Name}});var r=n(7845);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return r.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return r.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return r.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return r.varKinds}}),t.operators={GT:new i._Code(">"),GTE:new i._Code(">="),LT:new i._Code("<"),LTE:new i._Code("<="),EQ:new i._Code("==="),NEQ:new i._Code("!=="),NOT:new i._Code("!"),OR:new i._Code("||"),AND:new i._Code("&&"),ADD:new i._Code("+")};class s{optimizeNodes(){return this}optimizeNames(e,t){return this}}class l extends s{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){const n=e?a.varKinds.var:this.varKind,i=void 0===this.rhs?"":` = ${this.rhs}`;return`${n} ${this.name}${i};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=$(this.rhs,e,t)),this}get names(){return this.rhs instanceof i._CodeOrName?this.rhs.names:{}}}class d extends s{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof i.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=$(this.rhs,e,t),this}get names(){return Y(this.lhs instanceof i.Name?{}:{...this.lhs.names},this.rhs)}}class c extends d{constructor(e,t,n,i){super(e,n,i),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class u extends s{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class m extends s{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class f extends s{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class h extends s{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=$(this.code,e,t),this}get names(){return this.code instanceof i._CodeOrName?this.code.names:{}}}class p extends s{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce(((t,n)=>t+n.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const n=e[t].optimizeNodes();Array.isArray(n)?e.splice(t,1,...n):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:n}=this;let i=n.length;for(;i--;){const a=n[i];a.optimizeNames(e,t)||(j(e,a.names),n.splice(i,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce(((e,t)=>T(e,t.names)),{})}}class _ extends p{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class g extends p{}class y extends _{}y.kind="else";class b extends _{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new y(e):e}return t?!1===e?t instanceof b?t:t.nodes:this.nodes.length?this:new b(O(e),t instanceof b?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var n;if(this.else=null===(n=this.else)||void 0===n?void 0:n.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=$(this.condition,e,t),this}get names(){const e=super.names;return Y(e,this.condition),this.else&&T(e,this.else.names),e}}b.kind="if";class v extends _{}v.kind="for";class w extends v{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=$(this.iteration,e,t),this}get names(){return T(super.names,this.iteration.names)}}class M extends v{constructor(e,t,n,i){super(),this.varKind=e,this.name=t,this.from=n,this.to=i}render(e){const t=e.es5?a.varKinds.var:this.varKind,{name:n,from:i,to:o}=this;return`for(${t} ${n}=${i}; ${n}<${o}; ${n}++)`+super.render(e)}get names(){const e=Y(super.names,this.from);return Y(e,this.to)}}class k extends v{constructor(e,t,n,i){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=i}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=$(this.iterable,e,t),this}get names(){return T(super.names,this.iterable.names)}}class L extends _{constructor(e,t,n){super(),this.name=e,this.args=t,this.async=n}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}L.kind="func";class S extends p{render(e){return"return "+super.render(e)}}S.kind="return";class x extends _{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var n,i;return super.optimizeNames(e,t),null===(n=this.catch)||void 0===n||n.optimizeNames(e,t),null===(i=this.finally)||void 0===i||i.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&T(e,this.catch.names),this.finally&&T(e,this.finally.names),e}}class D extends _{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}D.kind="catch";class C extends _{render(e){return"finally"+super.render(e)}}function T(e,t){for(const n in t)e[n]=(e[n]||0)+(t[n]||0);return e}function Y(e,t){return t instanceof i._CodeOrName?T(e,t.names):e}function $(e,t,n){return e instanceof i.Name?o(e):(a=e)instanceof i._Code&&a._items.some((e=>e instanceof i.Name&&1===t[e.str]&&void 0!==n[e.str]))?new i._Code(e._items.reduce(((e,t)=>(t instanceof i.Name&&(t=o(t)),t instanceof i._Code?e.push(...t._items):e.push(t),e)),[])):e;var a;function o(e){const i=n[e.str];return void 0===i||1!==t[e.str]?e:(delete t[e.str],i)}}function j(e,t){for(const n in t)e[n]=(e[n]||0)-(t[n]||0)}function O(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:i._`!${A(e)}`}C.kind="finally",t.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new a.Scope({parent:e}),this._nodes=[new g]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const n=this._extScope.value(e,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,n,i){const a=this._scope.toName(t);return void 0!==n&&i&&(this._constants[a.str]=n),this._leafNode(new l(e,a,n)),a}const(e,t,n){return this._def(a.varKinds.const,e,t,n)}let(e,t,n){return this._def(a.varKinds.let,e,t,n)}var(e,t,n){return this._def(a.varKinds.var,e,t,n)}assign(e,t,n){return this._leafNode(new d(e,t,n))}add(e,n){return this._leafNode(new c(e,t.operators.ADD,n))}code(e){return"function"==typeof e?e():e!==i.nil&&this._leafNode(new h(e)),this}object(...e){const t=["{"];for(const[n,a]of e)t.length>1&&t.push(","),t.push(n),(n!==a||this.opts.es5)&&(t.push(":"),(0,i.addCodeArg)(t,a));return t.push("}"),new i._Code(t)}if(e,t,n){if(this._blockNode(new b(e)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new b(e))}else(){return this._elseNode(new y)}endIf(){return this._endBlockNode(b,y)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new w(e),t)}forRange(e,t,n,i,o=(this.opts.es5?a.varKinds.var:a.varKinds.let)){const r=this._scope.toName(e);return this._for(new M(o,r,t,n),(()=>i(r)))}forOf(e,t,n,o=a.varKinds.const){const r=this._scope.toName(e);if(this.opts.es5){const e=t instanceof i.Name?t:this.var("_arr",t);return this.forRange("_i",0,i._`${e}.length`,(t=>{this.var(r,i._`${e}[${t}]`),n(r)}))}return this._for(new k("of",o,r,t),(()=>n(r)))}forIn(e,t,n,o=(this.opts.es5?a.varKinds.var:a.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,i._`Object.keys(${t})`,n);const r=this._scope.toName(e);return this._for(new k("in",o,r,t),(()=>n(r)))}endFor(){return this._endBlockNode(v)}label(e){return this._leafNode(new u(e))}break(e){return this._leafNode(new m(e))}return(e){const t=new S;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(S)}try(e,t,n){if(!t&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');const i=new x;if(this._blockNode(i),this.code(e),t){const e=this.name("e");this._currNode=i.catch=new D(e),t(e)}return n&&(this._currNode=i.finally=new C,this.code(n)),this._endBlockNode(D,C)}throw(e){return this._leafNode(new f(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const n=this._nodes.length-t;if(n<0||void 0!==e&&n!==e)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=i.nil,n,a){return this._blockNode(new L(e,t,n)),a&&this.code(a).endFunc(),this}endFunc(){return this._endBlockNode(L)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const n=this._currNode;if(n instanceof e||t&&n instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof b))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},t.not=O;const I=E(t.operators.AND);t.and=function(...e){return e.reduce(I)};const P=E(t.operators.OR);function E(e){return(t,n)=>t===i.nil?n:n===i.nil?t:i._`${A(t)} ${e} ${A(n)}`}function A(e){return e instanceof i.Name?e:i._`(${e})`}t.or=function(...e){return e.reduce(P)}},9033:function(e,t,n){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n(5093))},9053:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(n(5093))},9227:function(e,t,n){var i,a;i=function(){var e,t,n,i,a,o={},r={},s={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},l={currentLocale:s.currentLocale,zeroFormat:s.zeroFormat,nullFormat:s.nullFormat,defaultFormat:s.defaultFormat,scalePercentBy100:s.scalePercentBy100};function d(e,t){this._input=e,this._value=t}return(e=function(n){var i,a,r,s;if(e.isNumeral(n))i=n.value();else if(0===n||void 0===n)i=0;else if(null===n||t.isNaN(n))i=null;else if("string"==typeof n)if(l.zeroFormat&&n===l.zeroFormat)i=0;else if(l.nullFormat&&n===l.nullFormat||!n.replace(/[^0-9]+/g,"").length)i=null;else{for(a in o)if((s="function"==typeof o[a].regexps.unformat?o[a].regexps.unformat():o[a].regexps.unformat)&&n.match(s)){r=o[a].unformat;break}i=(r=r||e._.stringToNumber)(n)}else i=Number(n)||null;return new d(n,i)}).version="2.0.6",e.isNumeral=function(e){return e instanceof d},e._=t={numberToFormat:function(t,n,i){var a,o,s,l,d,c,u,m,f=r[e.options.currentLocale],h=!1,p=!1,_="",g=1e12,y=1e9,b=1e6,v="",w=!1;if(t=t||0,o=Math.abs(t),e._.includes(n,"(")?(h=!0,n=n.replace(/[\(|\)]/g,"")):(e._.includes(n,"+")||e._.includes(n,"-"))&&(d=e._.includes(n,"+")?n.indexOf("+"):t<0?n.indexOf("-"):-1,n=n.replace(/[\+|\-]/g,"")),e._.includes(n,"a")&&(a=!!(a=n.match(/a(k|m|b|t)?/))&&a[1],e._.includes(n," a")&&(_=" "),n=n.replace(new RegExp(_+"a[kmbt]?"),""),o>=g&&!a||"t"===a?(_+=f.abbreviations.trillion,t/=g):o<g&&o>=y&&!a||"b"===a?(_+=f.abbreviations.billion,t/=y):o<y&&o>=b&&!a||"m"===a?(_+=f.abbreviations.million,t/=b):(o<b&&o>=1e3&&!a||"k"===a)&&(_+=f.abbreviations.thousand,t/=1e3)),e._.includes(n,"[.]")&&(p=!0,n=n.replace("[.]",".")),s=t.toString().split(".")[0],l=n.split(".")[1],c=n.indexOf(","),m=(n.split(".")[0].split(",")[0].match(/0/g)||[]).length,l?(e._.includes(l,"[")?(l=(l=l.replace("]","")).split("["),v=e._.toFixed(t,l[0].length+l[1].length,i,l[1].length)):v=e._.toFixed(t,l.length,i),s=v.split(".")[0],v=e._.includes(v,".")?f.delimiters.decimal+v.split(".")[1]:"",p&&0===Number(v.slice(1))&&(v="")):s=e._.toFixed(t,0,i),_&&!a&&Number(s)>=1e3&&_!==f.abbreviations.trillion)switch(s=String(Number(s)/1e3),_){case f.abbreviations.thousand:_=f.abbreviations.million;break;case f.abbreviations.million:_=f.abbreviations.billion;break;case f.abbreviations.billion:_=f.abbreviations.trillion}if(e._.includes(s,"-")&&(s=s.slice(1),w=!0),s.length<m)for(var M=m-s.length;M>0;M--)s="0"+s;return c>-1&&(s=s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+f.delimiters.thousands)),0===n.indexOf(".")&&(s=""),u=s+v+(_||""),h?u=(h&&w?"(":"")+u+(h&&w?")":""):d>=0?u=0===d?(w?"-":"+")+u:u+(w?"-":"+"):w&&(u="-"+u),u},stringToNumber:function(e){var t,n,i,a=r[l.currentLocale],o=e,s={thousand:3,million:6,billion:9,trillion:12};if(l.zeroFormat&&e===l.zeroFormat)n=0;else if(l.nullFormat&&e===l.nullFormat||!e.replace(/[^0-9]+/g,"").length)n=null;else{for(t in n=1,"."!==a.delimiters.decimal&&(e=e.replace(/\./g,"").replace(a.delimiters.decimal,".")),s)if(i=new RegExp("[^a-zA-Z]"+a.abbreviations[t]+"(?:\\)|(\\"+a.currency.symbol+")?(?:\\))?)?$"),o.match(i)){n*=Math.pow(10,s[t]);break}n*=(e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1,e=e.replace(/[^0-9\.]+/g,""),n*=Number(e)}return n},isNaN:function(e){return"number"==typeof e&&isNaN(e)},includes:function(e,t){return-1!==e.indexOf(t)},insert:function(e,t,n){return e.slice(0,n)+t+e.slice(n)},reduce:function(e,t){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof t)throw new TypeError(t+" is not a function");var n,i=Object(e),a=i.length>>>0,o=0;if(3===arguments.length)n=arguments[2];else{for(;o<a&&!(o in i);)o++;if(o>=a)throw new TypeError("Reduce of empty array with no initial value");n=i[o++]}for(;o<a;o++)o in i&&(n=t(n,i[o],o,i));return n},multiplier:function(e){var t=e.toString().split(".");return t.length<2?1:Math.pow(10,t[1].length)},correctionFactor:function(){return Array.prototype.slice.call(arguments).reduce((function(e,n){var i=t.multiplier(n);return e>i?e:i}),1)},toFixed:function(e,t,n,i){var a,o,r,s,l=e.toString().split("."),d=t-(i||0);return a=2===l.length?Math.min(Math.max(l[1].length,d),t):d,r=Math.pow(10,a),s=(n(e+"e+"+a)/r).toFixed(a),i>t-a&&(o=new RegExp("\\.?0{1,"+(i-(t-a))+"}$"),s=s.replace(o,"")),s}},e.options=l,e.formats=o,e.locales=r,e.locale=function(e){return e&&(l.currentLocale=e.toLowerCase()),l.currentLocale},e.localeData=function(e){if(!e)return r[l.currentLocale];if(e=e.toLowerCase(),!r[e])throw new Error("Unknown locale : "+e);return r[e]},e.reset=function(){for(var e in s)l[e]=s[e]},e.zeroFormat=function(e){l.zeroFormat="string"==typeof e?e:null},e.nullFormat=function(e){l.nullFormat="string"==typeof e?e:null},e.defaultFormat=function(e){l.defaultFormat="string"==typeof e?e:"0.0"},e.register=function(e,t,n){if(t=t.toLowerCase(),this[e+"s"][t])throw new TypeError(t+" "+e+" already registered.");return this[e+"s"][t]=n,n},e.validate=function(t,n){var i,a,o,r,s,l,d,c;if("string"!=typeof t&&(t+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",t)),(t=t.trim()).match(/^\d+$/))return!0;if(""===t)return!1;try{d=e.localeData(n)}catch(t){d=e.localeData(e.locale())}return o=d.currency.symbol,s=d.abbreviations,i=d.delimiters.decimal,a="."===d.delimiters.thousands?"\\.":d.delimiters.thousands,!(null!==(c=t.match(/^[^\d]+/))&&(t=t.substr(1),c[0]!==o)||null!==(c=t.match(/[^\d]+$/))&&(t=t.slice(0,-1),c[0]!==s.thousand&&c[0]!==s.million&&c[0]!==s.billion&&c[0]!==s.trillion)||(l=new RegExp(a+"{2}"),t.match(/[^\d.,]/g)||(r=t.split(i)).length>2||(r.length<2?!r[0].match(/^\d+.*\d$/)||r[0].match(l):1===r[0].length?!r[0].match(/^\d+$/)||r[0].match(l)||!r[1].match(/^\d+$/):!r[0].match(/^\d+.*\d$/)||r[0].match(l)||!r[1].match(/^\d+$/))))},e.fn=d.prototype={clone:function(){return e(this)},format:function(t,n){var i,a,r,s=this._value,d=t||l.defaultFormat;if(n=n||Math.round,0===s&&null!==l.zeroFormat)a=l.zeroFormat;else if(null===s&&null!==l.nullFormat)a=l.nullFormat;else{for(i in o)if(d.match(o[i].regexps.format)){r=o[i].format;break}a=(r=r||e._.numberToFormat)(s,d,n)}return a},value:function(){return this._value},input:function(){return this._input},set:function(e){return this._value=Number(e),this},add:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([this._value,e],(function(e,t,i,a){return e+Math.round(n*t)}),0)/n,this},subtract:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([e],(function(e,t,i,a){return e-Math.round(n*t)}),Math.round(this._value*n))/n,this},multiply:function(e){return this._value=t.reduce([this._value,e],(function(e,n,i,a){var o=t.correctionFactor(e,n);return Math.round(e*o)*Math.round(n*o)/Math.round(o*o)}),1),this},divide:function(e){return this._value=t.reduce([this._value,e],(function(e,n,i,a){var o=t.correctionFactor(e,n);return Math.round(e*o)/Math.round(n*o)})),this},difference:function(t){return Math.abs(e(this._value).subtract(t).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(t,n,i){var a,o=e._.includes(n," BPS")?" ":"";return t*=1e4,n=n.replace(/\s?BPS/,""),a=e._.numberToFormat(t,n,i),e._.includes(a,")")?((a=a.split("")).splice(-1,0,o+"BPS"),a=a.join("")):a=a+o+"BPS",a},unformat:function(t){return+(1e-4*e._.stringToNumber(t)).toFixed(15)}}),i={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},a="("+(a=(n={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(i.suffixes.filter((function(e){return n.suffixes.indexOf(e)<0}))).join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(a)},format:function(t,a,o){var r,s,l,d=e._.includes(a,"ib")?i:n,c=e._.includes(a," b")||e._.includes(a," ib")?" ":"";for(a=a.replace(/\s?i?b/,""),r=0;r<=d.suffixes.length;r++)if(s=Math.pow(d.base,r),l=Math.pow(d.base,r+1),null===t||0===t||t>=s&&t<l){c+=d.suffixes[r],s>0&&(t/=s);break}return e._.numberToFormat(t,a,o)+c},unformat:function(t){var a,o,r=e._.stringToNumber(t);if(r){for(a=n.suffixes.length-1;a>=0;a--){if(e._.includes(t,n.suffixes[a])){o=Math.pow(n.base,a);break}if(e._.includes(t,i.suffixes[a])){o=Math.pow(i.base,a);break}}r*=o||1}return r}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(t,n,i){var a,o,r=e.locales[e.options.currentLocale],s={before:n.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:n.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(n=n.replace(/\s?\$\s?/,""),a=e._.numberToFormat(t,n,i),t>=0?(s.before=s.before.replace(/[\-\(]/,""),s.after=s.after.replace(/[\-\)]/,"")):t<0&&!e._.includes(s.before,"-")&&!e._.includes(s.before,"(")&&(s.before="-"+s.before),o=0;o<s.before.length;o++)switch(s.before[o]){case"$":a=e._.insert(a,r.currency.symbol,o);break;case" ":a=e._.insert(a," ",o+r.currency.symbol.length-1)}for(o=s.after.length-1;o>=0;o--)switch(s.after[o]){case"$":a=o===s.after.length-1?a+r.currency.symbol:e._.insert(a,r.currency.symbol,-(s.after.length-(1+o)));break;case" ":a=o===s.after.length-1?a+" ":e._.insert(a," ",-(s.after.length-(1+o)+r.currency.symbol.length-1))}return a}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(t,n,i){var a=("number"!=typeof t||e._.isNaN(t)?"0e+0":t.toExponential()).split("e");return n=n.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(a[0]),n,i)+"e"+a[1]},unformat:function(t){var n=e._.includes(t,"e+")?t.split("e+"):t.split("e-"),i=Number(n[0]),a=Number(n[1]);return a=e._.includes(t,"e-")?a*=-1:a,e._.reduce([i,Math.pow(10,a)],(function(t,n,i,a){var o=e._.correctionFactor(t,n);return t*o*(n*o)/(o*o)}),1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(t,n,i){var a=e.locales[e.options.currentLocale],o=e._.includes(n," o")?" ":"";return n=n.replace(/\s?o/,""),o+=a.ordinal(t),e._.numberToFormat(t,n,i)+o}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(t,n,i){var a,o=e._.includes(n," %")?" ":"";return e.options.scalePercentBy100&&(t*=100),n=n.replace(/\s?\%/,""),a=e._.numberToFormat(t,n,i),e._.includes(a,")")?((a=a.split("")).splice(-1,0,o+"%"),a=a.join("")):a=a+o+"%",a},unformat:function(t){var n=e._.stringToNumber(t);return e.options.scalePercentBy100?.01*n:n}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(e,t,n){var i=Math.floor(e/60/60),a=Math.floor((e-60*i*60)/60),o=Math.round(e-60*i*60-60*a);return i+":"+(a<10?"0"+a:a)+":"+(o<10?"0"+o:o)},unformat:function(e){var t=e.split(":"),n=0;return 3===t.length?(n+=60*Number(t[0])*60,n+=60*Number(t[1]),n+=Number(t[2])):2===t.length&&(n+=60*Number(t[0]),n+=Number(t[1])),Number(n)}}),e},void 0===(a=i.call(t,n,t,e))||(e.exports=a)},9231:function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(5093))},9330:function(e,t,n){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(5093))},9335:function(e,t,n){"use strict";n.r(t);var i=n(555);i.A.install=function(e){e.component(i.A.name,i.A)},t.default=i.A},9374:function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,i,a){var o=e+" ";switch(i){case"s":return n||a?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?o+(n||a?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?o+(n||a?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return t(e)?o+(n||a?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":a?"dag":"degi";case"dd":return t(e)?n?o+"dagar":o+(a?"daga":"dögum"):n?o+"dagur":o+(a?"dag":"degi");case"M":return n?"mánuður":a?"mánuð":"mánuði";case"MM":return t(e)?n?o+"mánuðir":o+(a?"mánuði":"mánuðum"):n?o+"mánuður":o+(a?"mánuð":"mánuði");case"y":return n||a?"ár":"ári";case"yy":return t(e)?o+(n||a?"ár":"árum"):o+(n||a?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},9402:function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5093))},9527:function(e,t,n){!function(e){"use strict";var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(5093))},9532:function(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function i(e,i,a){return e+" "+n(t[a],e,i)}function a(e,i,a){return n(t[a],e,i)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:i,m:a,mm:i,h:a,hh:i,d:a,dd:i,M:a,MM:i,y:a,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},9666:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.curComponent?n(e.curComponent,e._g(e._b({ref:"inner-component",tag:"component",staticClass:"bpm-field",attrs:{type:e.type,fieldConf:e.fieldConf,row:e.row,mode:e.fieldMode,uiType:e.uiType,formDefId:e.formDefId,orgInfo:e.orgInfo,dm:e.dm,clearable:e.clearable,disabled:e.fieldDisabled,isMultiple:e.isMul},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners)):e._e()};i._withStripped=!0;var a={name:"BpmField",mixins:[n(1464).A]},o=(0,n(4486).A)(a,i,[],!1,null,null,null);o.options.__file="components/lib/bpmField/src/main.vue";var r=o.exports;r.install=function(e){e.component(r.name,r)};var s=r},9674:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return L}});var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({ref:"inner-component",tag:"component",staticClass:"bpm-select-form-field",attrs:{type:e.type,fieldConf:e.fieldConf,row:e.row,mode:e.mode,orgInfo:e.orgInfo,formName:e.formName,uiType:e.uiType,isMultiple:e.multiple,allowCreate:e.allowCreate,allowRemote:e.allowRemote},on:{change:e.handleChange,setAllValue:e.setAllValue,setDefaultValue:e.setDefaultValue},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};i._withStripped=!0;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-select-edit",staticStyle:{display:"flex"}},[e.isCheckbox||e.isButton?[e.isMultiple?n("el-checkbox-group",{on:{change:e.onCheckboxChange},model:{value:e.curCheckBoxVal,callback:function(t){e.curCheckBoxVal=t},expression:"curCheckBoxVal"}},[e.isCheckbox?e._l(e.options,(function(t){return n("el-checkbox",{key:t.value,attrs:{label:t.value}},[e._v(e._s(t.label))])})):e._e(),e._v(" "),e.isButton?e._l(e.options,(function(t){return n("el-checkbox-button",{key:t.value,attrs:{label:t.value}},[e._v(e._s(t.label))])})):e._e()],2):n("el-radio-group",{on:{change:e.onRadioChange},model:{value:e.curRadioVal,callback:function(t){e.curRadioVal=t},expression:"curRadioVal"}},[e.isCheckbox?e._l(e.options,(function(t){return n("el-radio",{key:t.value,attrs:{label:t.value},model:{value:e.radio,callback:function(t){e.radio=t},expression:"radio"}},[e._v(e._s(t.label))])})):e._e(),e._v(" "),e.isButton?e._l(e.options,(function(t){return n("el-radio-button",{key:t.value,attrs:{label:t.value}},[e._v(e._s(t.label))])})):e._e()],2)]:[e.showUnit?n("select-unit",{attrs:{fieldConf:e.fieldConf,formDefId:e.formDefId,orgInfo:e.orgInfo},on:{change:e.handleUnitChange}}):e._e(),e._v(" "),n("el-select",e._g(e._b({key:e.isMultiple?"two":"one",staticStyle:{flex:"1"},attrs:{placeholder:e.placeholder,multiple:e.isMultiple,clearable:"",filterable:"",remote:!!(e.allowRemote&&e.options_max_count>99),"allow-create":e.allowCreate,"remote-method":!!(e.allowRemote&&e.options_max_count>99)&&e.remoteMethod},on:{change:e.onChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"el-select",e.$attrs,!1),e.$listeners),e._l(e.options,(function(t){return n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}},[t.label&&t.label.length>60?n("el-tooltip",{staticClass:"item",attrs:{"popper-class":"bpm-select-edit-option-tooltip",effect:"light",content:t.value,placement:"bottom-start","open-delay":100}},[n("span",[e._v(e._s(t.label))])]):n("span",[e._v(e._s(t.label))])],1)})),1)]],2)};a._withStripped=!0;var o=n(5554),r=n.n(o),s=n(7642),l=n(5281),d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-select",{attrs:{placeholder:e.$z("单位选择","b2.common.unit_selection"),filterable:"",remote:""},on:{"remote-method":e.remoteMethod,change:e.handleUnitChange},model:{value:e.selectedTeam,callback:function(t){e.selectedTeam=t},expression:"selectedTeam"}},e._l(e.teams,(function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)};d._withStripped=!0;var c={name:"SelectUnit",props:["fieldConf","orgInfo","formDefId"],data(){return{selectedTeam:"",teams:[],teamMap:{},teamKeyword:"",debounceSearchTeams:_.debounce(_.bind(this.loadTeams,this),150,{trailing:!0,leading:!1})}},mounted(){this.loadTeams()},methods:{handleUnitChange(){this.$emit("change",this.selectedTeam)},async loadTeams(){let e=_.get(this.orgInfo,"page_level"),t=_.get(this.orgInfo,`${e}_id`);this.teams=await this.$bpm.searchTeamSelectOpts(this.fieldConf.id,{keyword:this.teamKeyword,[`${e}_id`]:t},this.formDefId),this.teamMap=_.keyBy(this.teams,"value")},remoteMethod(e){this.teamKeyword=e||"",this.debounceSearchTeams()}}},u=n(4486),m=(0,u.A)(c,d,[],!1,null,null,null);m.options.__file="components/lib/bpmSelectFromField/src/part/select-unit.vue";var f=m.exports;r().use(s.Select),r().use(s.Option),r().use(s.Tooltip);var h={props:["type","value","fieldConf","row","formName","formDefId","orgInfo","dm","isMultiple","allowCreate","allowRemote"],components:{SelectUnit:f},data(){return{curVal:[],curCheckBoxVal:[],curRadioVal:"",options:[],all_options:[],options_max_count:0,keyword:"",unit:{search_type:"",org_id:""}}},watch:{curVal(e){console.log("----项目设置----",e),console.log("----项目设置----",this.fieldConf),"SelectProject"!=this.fieldConf.type||"project_id"==zj.pageParam().form_name||"SelectProject"!=this.fieldConf.type||this.isMultiple||(this.$bpm.orgInfo.custom_project_id=e,this.$bpm.orgInfo.custom_page_level="project",e||(this.$bpm.orgInfo.custom_page_level=null))},value(){this.setOptionsByVal(),this.curVal=this.value,this.isMultiple?this.curVal?this.curCheckBoxVal=this.curVal:this.curCheckBoxVal=[]:this.curRadioVal=this.curVal},getSelectOptions:function(e){console.log("----selectOptions----",e),this.transformOptions(e,!0)}},inject:["selectOptions"],computed:{isCheckbox(){return"default"==_.get(this.fieldConf,"style")},isButton(){return"button"==_.get(this.fieldConf,"style")},placeholder(){return this.fieldConf.desc||this.fieldConf.name},getSelectOptions(){return this.selectOptions?this.selectOptions():[]},showUnit(){return"SelectURUser"===this.type||"MulSelectURUser"===this.type}},created(){this.curVal=this.isMultiple?[]:""},mounted(){(this.fieldConf.perm||{visible:!0}).visible&&(console.log("mounted getting options"),this.loadSelectOpts()),this.curVal=this.value,_.isArray(this.curVal)?this.curCheckBoxVal=this.value:this.curRadioVal=this.value,this.setOptionsByVal()},destroyed(){"project"!=this.$bpm.orgInfo.page_level&&(delete this.$bpm.orgInfo.custom_project_id,delete this.$bpm.orgInfo.custom_page_level)},methods:{onCheckboxChange(e){console.log("this.curCheckBoxVal",this.curCheckBoxVal),this.curVal=this.curCheckBoxVal,this.$emit("input",this.curVal),this.$emit("change",this.curVal)},onRadioChange(e){console.log("this.curRadioVal",this.curRadioVal),this.curVal=this.curRadioVal,this.$emit("input",this.curVal),this.$emit("change",this.curVal)},setOptionsByVal(){let e=_.cloneDeep(this.all_options);_.isArray(this.value)?_.each(this.value,(t=>{_.find(e,{value:t})||e.push({value:t,label:t})})):this.value&&!_.find(e,{value:this.value})&&e.push({value:this.value,label:this.value}),0==this.all_options.length&&(this.all_options=_.cloneDeep(e)),this.options=_.cloneDeep(e)},handleUnitChange(e){let t=_.split(e,"$"),n=_.get(t,"0"),i=_.get(t,"1");this.unit={search_type:n,org_id:i},this.loadSelectOpts("",JSON.stringify(this.unit))},remoteMethod(e){let t="";this.showUnit&&this.unit.search_type&&(t=JSON.stringify(this.unit)),e?this.loadSelectOpts(e,t):this.options=_.cloneDeep(this.all_options)},_setSelectItem(e){if(console.log("this.fieldConf",this.fieldConf),this.fieldConf.default&&"Default"==this.fieldConf.default.type&&"EVCFirstElem"==this.fieldConf.default.value.type&&(e&&e.length?(console.log("_setSelectItem_options",e),this.isMultiple?(this.curVal=[e[0].value],this.curCheckBoxVal=[e[0].value]):(this.curVal=e[0].value,this.curRadioVal=e[0].value)):this.isMultiple?(this.curVal=[],this.curCheckBoxVal=[]):(this.curVal="",this.curRadioVal=""),this.$emit("setDefaultValue",this.curVal),console.log("this.curVal",this.curVal),this.$emit("input",this.curVal),this.$emit("change",this.curVal)),this.isMultiple&&this.fieldConf.default&&"Default"==this.fieldConf.default.type&&"EVCAllElem"==this.fieldConf.default.value.type){let t=[];_.each(e,(e=>{t.push(e.value)})),console.log("parent_field",this),this.$emit("setAllValue",t),this.$emit("setDefaultValue",t),this.curVal=t,this.curCheckBoxVal=t,console.log("_setSelectItem_this.curVal",this.curVal),this.$emit("input",this.curVal),this.$emit("change",this.curVal)}},async loadSelectOpts(e="",t=""){let n,i=this.fieldConf.id,a={q:e,spec:t};if("UserTaskCC"===this.fieldConf.type){console.log("UserTaskCC is getting options");const e=this.fieldConf.node;n=await l.A.assistUserTaskCC.searchSelectOpts(this.$bpm,{formDefId:this.formDefId,node:e,orgInfo:this.orgInfo,isDm:this.dm},a)}else n=await l.A.assistField.searchSelectOpts(this.$bpm,{formDefId:this.formDefId,fieldDefId:i,orgInfo:this.orgInfo,isDm:this.dm},a);const o=_.get(n.data,"data.data",[]);return this.transformOptions(o,!1)},transformOptions(e,t=!0){console.log("transformOptions origin: ",e);let n=_.map(e,(e=>({value:e[0],label:e[1]})));return n=_.sortBy(n,["label"]),this.options_max_count<n.length&&(this.options_max_count=n.length),n.length&&(this.all_options=_.cloneDeep(n)),this.value&&!_.isArray(this.value)||_.isArray(this.value)&&0!=this.value.length?0!=n.length&&(this.options=n):this.options=n,(this.options.length>0||t)&&this._setSelectItem(this.options),console.log("options: ",n),n},onChange(e){"SelectProject"!=this.fieldConf.type||"project_id"==zj.pageParam().form_name||"SelectProject"!=this.fieldConf.type||this.isMultiple||this.$emit("reload",{id:this.fieldConf.id,value:e})}}},p=(0,u.A)(h,a,[],!1,null,null,null);p.options.__file="components/lib/bpmSelectFromField/src/part/editor.vue";var g=p.exports,y={mixins:[n(7348).A]},b=(0,u.A)(y,void 0,void 0,!1,null,null,null);b.options.__file="components/lib/bpmSelectFromField/src/part/reader.vue";var v=b.exports,w={name:"BpmSelectFromField",components:{editorComponent:g,readerComponent:v},props:{value:{type:[Array,Number,String]},type:{type:String,default:"SelectFromField"},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},orgInfo:{type:Object},formName:{type:String},isMultiple:{type:Boolean,default(){return!1}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?v:g},multiple(){let e=this.isMultiple||0===this.type.indexOf("Mul");return"UserTaskCC"===this.type&&this.fieldConf.selecter&&(e=0===(this.fieldConf.selecter.type||"MulSelectUser4CC").indexOf("Mul")),e},allowCreate(){return!(!this.fieldConf.range_remote||"add"!=this.fieldConf.range_remote.enable_add_item)},allowRemote(){return!(!this.fieldConf.range_remote||!this.fieldConf.range_remote.enable_remote_search)}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{setAllValue(e){this.$emit("setAllValue",e)},setDefaultValue(e){this.$emit("setDefaultValue",e)},handleChange(e){}}},M=(0,u.A)(w,i,[],!1,null,null,null);M.options.__file="components/lib/bpmSelectFromField/src/main.vue";var k=M.exports;k.install=function(e){e.component(k.name,k)};var L=k},9680:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?a[n][0]:a[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},9713:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(9029),a=n(4227),o={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>i._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:n,data:o,it:r}=e;if((0,a.alwaysValidSchema)(r,n))return;const s=t.name("valid");t.forIn("key",o,(n=>{e.setParams({propertyName:n}),e.subschema({keyword:"propertyNames",data:n,dataTypes:["string"],propertyName:n,compositeRule:!0},s),t.if((0,i.not)(s),(()=>{e.error(!0),r.allErrors||t.break()}))})),e.ok(s)}};t.default=o},9722:function(e,t,n){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n(5093))},9756:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(5093))},9795:function(e,t,n){"use strict";n.d(t,{Fr:function(){return l},L_:function(){return c},uR:function(){return d},z3:function(){return u},zC:function(){return s}});var i=n(6773),a=n.n(i),o=n(5360),r=n.n(o);function s(e,t={}){a().isFunction(e)&&(e=e(t));let n=a().get(e.match(/\?([^#]+)/),"1");if(n){let i=r().parse(n);i=function(...e){return a().assignIn({},...e)}(i,t),e=a().replace(e,n,r().stringify(i))}else e=e+"?"+r().stringify(t);return e}function l(){for(var e=["iphone","ipod","ipad","android","mobile","blackberry","webos","incognito","webmate","bada","nokia","lg","ucweb","skyfire"],t=navigator.userAgent.toLowerCase(),n=!1,i=0,a=e.length;i<a;i++)-1!=t.indexOf(e[i])&&(n=!0);return n}function d(){for(var e=[],t="0123456789abcdef",n=0;n<36;n++)e[n]=t.substr(Math.floor(16*Math.random()),1);return e[14]="4",e[19]=t.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-",e.join("")}function c(e,t=""){var n=document.createElement("style"),i=document.head||document.getElementsByTagName("head")[0];if(n.type="text/css",t&&n.setAttribute("id",t),n.styleSheet){var a=function(){try{n.styleSheet.cssText=e}catch(e){console.log(e)}};n.styleSheet.disabled?setTimeout(a,10):a()}else{var o=document.createTextNode(e);n.appendChild(o)}document.getElementById(t)||i.appendChild(n)}const u=e=>null==e||"null"===e||""===e||void 0===e||"undefined"===e||"unknown"===e},9834:function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5093))},9846:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return i||t?a[n][0]:a[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},9849:function(e,t,n){!function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(5093))},9850:function(e,t,n){"use strict";var i=n(1601),a=n.n(i),o=n(6314),r=n.n(o),s=n(5366),l=r()(a());l.i(s.A),l.push([e.id,"\n",""]),t.A=l},9857:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},9936:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return a.B},default:function(){return s}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",[n("span",{domProps:{textContent:e._s(e.label)}}),e._v(" "),n("input",{ref:"input",class:e.className,attrs:{type:"text",placeholder:e.placeholder}})])};i._withStripped=!0;var a=n(1099),o=a.A,r=(0,n(4486).A)(o,i,[],!1,null,null,null);r.options.__file="node_modules/vue2-google-maps/dist/components/placeInput.vue";var s=r.exports},9973:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-spliter"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.fieldConf.perm&&e.fieldConf.perm.visible,expression:"fieldConf.perm && fieldConf.perm.visible"}],ref:"field",staticClass:"bpm-spliter-content"},[n("div",{directives:[{name:"show",rawName:"v-show",value:12==e.size,expression:"size == 12"}],staticClass:"horization"}),e._v(" "),12==e.size?n("span",{staticClass:"label-title"},[e._v(e._s(e.hideName?" ":e.fieldConf.name))]):n("span",{staticClass:"tip-title"},[e._v(e._s(e.hideName?" ":e.fieldConf.name))]),e._v(" "),e.fieldConf.desc?n("span",{staticClass:"desc"},[e._v(e._s(e.fieldConf.desc))]):e._e()])])};i._withStripped=!0;var a={name:"BpmSpliter",components:{},props:{value:{type:String},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}}},data(){return{curVal:"",show:!1,hideName:""}},computed:{size(){return _.get(this.fieldConf,"size")}},watch:{},mounted(){this.hideName=_.get(this.fieldConf,"display.hide_name",!1)}},o=(n(6234),(0,n(4486).A)(a,i,[],!1,null,"fd600b54",null));o.options.__file="components/lib/bpmSpliter/src/main.vue";var r=o.exports;r.install=function(e){e.component(r.name,r)};var s=r}},s={};function l(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={id:e,loaded:!1,exports:{}};return r[e].call(n.exports,n,n.exports,l),n.loaded=!0,n.exports}return l.m=r,l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,{a:t}),t},l.d=function(e,t){for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;l.g.importScripts&&(e=l.g.location+"");var t=l.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var i=n.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=n[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),l.p=e}(),l.b="undefined"!=typeof document&&document.baseURI||self.location.href,l.nc=void 0,l(4304)}()}));