chunk-c93e8616.410f2c9b.js 425 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c93e8616"],{"02bb":function(t,e,n){},"0420":function(t,e,n){"use strict";var i=n("9124"),r=n.n(i);r.a},"04b2":function(t,e,n){"use strict";var i=n("86ac"),r=n.n(i);r.a},"0814":function(t,e,n){"use strict";var i=n("c6d6"),r=n.n(i);r.a},"0a1e":function(t,e,n){"use strict";n.r(e);n("f400"),n("4f7f"),n("5df3"),n("1c4c"),n("7514"),n("20d6"),n("ac6a"),n("fd24");var i=n("c815"),r=n("6b6b"),o=n("c137"),s=n("dcab"),g=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),A=function(t){function e(e,n){var i=t.call(this,e)||this;return i.line=n,i}return g(e,t),e.prototype.getLineInsertPoint=function(t){void 0===t&&(t=this);var e=Object(s["h"])(this.line,t);return e},e.prototype.intercept=function(t,e){var n=e.x,i=e.y;return!(!o["f"].isUndefined(n)&&!o["f"].isUndefined(i))||this.getLineInsertPoint({x:n,y:i})},e}(r["a"]),a=A,C=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),I=function(){return I=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},I.apply(this,arguments)},c=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},l=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},u=function(t){function e(n){var i=n.minWidth,r=void 0===i?.1:i,o=n.deleteWidth,s=void 0===o?.05:o,g=n.show,A=void 0===g||g,C=c(n,["minWidth","deleteWidth","show"]),l=t.call(this,I(I({},C),{show:A}))||this;return l.zIndex=1,l.linePoints=l.linePoints.map((function(t){var e=new a(I(I({},t),{renderer:l.renderer}),l.attachment);return e.click=function(){return l.changeSelect(!0)},e})),l.minWidth=r,l.deleteWidth=s,l.real.setAttribute("class","variable"),e.attaArch.get(l.attachment)?e.attaArch.get(l.attachment).push(l):e.attaArch.set(l.attachment,[l]),l.attachment.update(),l}return C(e,t),e.prototype.setAttachment=function(t){if(void 0===t&&(t=this.attachment),this.attachment!==t){var n=e.attaArch.get(this.attachment),i=e.attaArch.get(t)||e.attaArch.set(t,[]).get(t);n.splice(n.indexOf(this),1),i.push(this),this.linePoints.forEach((function(e){e.line=t})),this.attachment=t}},e.prototype.checkPointBorder=function(t,e){return void 0===e&&(e=this.attachment),Object(s["x"])({points:[e.points[0],t]})<.08||(Object(s["x"])({points:[e.points[1],t]})<.08||void 0)},e.prototype.checkPoint=function(t,e){return void 0===e&&(e=this.attachment),!Object(s["o"])(e,t)},e.prototype.checkWidth=function(t){return void 0===t&&(t=this.linePoints),Object(s["x"])({points:t})<this.minWidth},e.prototype.checkPointOverlapAttaArch=function(t){return void 0===t&&(t=e.attaArch.get(this.attachment)),!(t.length<=1)&&t.some((function(e){return t.some((function(t){return e!==t&&(Object(s["o"])({points:t.linePoints},e.linePoints[0])||Object(s["o"])({points:t.linePoints},e.linePoints[1]))}))}))},e.prototype.checkLineAllPoint=function(t,n){return void 0===t&&(t=e.attaArch.get(this.attachment)),void 0===n&&(n=this.attachment),0!==t.length&&t.some((function(t){return!Object(s["o"])(n,t.linePoints[0])||!Object(s["o"])(n,t.linePoints[1])}))},e.prototype.getLineNewAll=function(t,n){void 0===t&&(t=this.linePoints),void 0===n&&(n=this);var i=l(e.attaArch.get(this.attachment));return i.splice(i.indexOf(n),1,{linePoints:t}),i},e.prototype.qualified=function(t,e){return void 0===t&&(t=this.linePoints),void 0===e&&(e=this.attachment),!(this.checkPointBorder(t[0],e)||this.checkPointBorder(t[0],e)||this.checkPoint(t[0],e)||this.checkPoint(t[1],e)||this.checkWidth(t))},e.prototype.lineChange=function(t,e){var n=this;void 0===t&&(t=this.attachment.points[0]),void 0===e&&(e=t);var i=e.x,r=e.y,o=this.attachment.points.findIndex((function(e){return e===t})),g={points:0===o?[{x:i,y:r},this.attachment.points[1]]:[this.attachment.points[0],{x:i,y:r}]},A=Object(s["x"])({points:[g.points[o],this.linePoints[0]]}),C=Object(s["d"])(g,g.points[o],A),c=C[0],l=C[1],u=Object(s["x"])({points:[c,this.linePoints[0]]})>Object(s["x"])({points:[l,this.linePoints[0]]})?l:c,h=Object(s["x"])({points:[g.points[o],this.linePoints[1]]}),p=Object(s["d"])(g,g.points[o],h),d=p[0],f=p[1],y=Object(s["x"])({points:[d,this.linePoints[1]]})>Object(s["x"])({points:[f,this.linePoints[1]]})?f:d,v=(Object(s["x"])({points:[this.linePoints[0],u]})<Object(s["x"])({points:[this.linePoints[0],y]})?[u,y]:[y,u]).map((function(t){var e=a.prototype.getLineInsertPoint.call(I(I({},n.linePoints[0]),{line:g}),t);return Object(s["B"])(n.attachment,e)>.1?Object(s["x"])({points:[n.attachment.points[0],e]})<Object(s["x"])({points:[n.attachment.points[1],e]})?{x:n.attachment.points[0].x,y:n.attachment.points[0].y}:{x:n.attachment.points[1].x,y:n.attachment.points[1].y}:e}));return{line:g,points:v}},e.prototype.pointChange=function(t,e){var n=e.x,i=e.y,r=this.linePoints.findIndex((function(e){return e===t}));return 0===r?[{x:n,y:i},this.linePoints[1]]:[this.linePoints[0],{x:n,y:i}]},e.prototype.lineChangeCheck=function(t,e,n){return this.qualified(t,e)&&!this.checkLineAllPoint(n,e)&&!this.checkPointOverlapAttaArch(n)},e.prototype.intercept=function(t,n,i){var r,g=this,A=n.x,a=n.y;if(o["f"].isUndefined(A)||o["f"].isUndefined(a))return!0;if(r=this.attachment.points.find((function(e){return t.some((function(t){return t===e}))}))){var C=this.lineChange(r,{x:A,y:a}),I=C.points,c=(C.line,t.filter((function(t){return t instanceof e&&t.attachment.id===g.attachment.id})));return c=Array.from(new Set(c)),this.attachment.nextTick((function(){if(!g.attachment||!g.attachment.points)return g.destroy();var t=g.lineChange(r,{x:r.x,y:r.y}),e=t.points;t.line;e.forEach((function(t,e){t&&(g.linePoints[e].x=t.x,g.linePoints[e].y=t.y)})),g.nextTick((function(){g.linePoints&&g.linePoints.length&&Object(s["x"])({points:g.linePoints})<=g.deleteWidth&&g.destroy()}))})),this.attachment.update(),{__points:I}}t.findIndex((function(t){return g.linePoints.some((function(e){return e===t}))}))},e.prototype.dragEnd=function(){var t=this;this.nextTick((function(){t.linePoints&&Object(s["x"])({points:t.linePoints})<=t.deleteWidth&&t.destroy()}))},e.prototype.destroy=function(){var n=e.attaArch.get(this.attachment);n&&(n.splice(n.indexOf(this),1),this.attachment=null,this.linePoints=null,this.update=null,t.prototype.destroy.call(this),this.attachment.update())},e.attaArch=new Map,e}(i["a"]);e["default"]=u},"0b16":function(t,e,n){"use strict";var i=n("1985"),r=n("35e8");function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}e.parse=b,e.resolve=w,e.resolveObject=x,e.format=m,e.Url=o;var s=/^([a-z0-9.+-]+:)/i,g=/:[0-9]*$/,A=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,a=["<",">",'"',"`"," ","\r","\n","\t"],C=["{","}","|","\\","^","`"].concat(a),I=["'"].concat(C),c=["%","/","?",";","#"].concat(I),l=["/","?","#"],u=255,h=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},f={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n("b383");function b(t,e,n){if(t&&r.isObject(t)&&t instanceof o)return t;var i=new o;return i.parse(t,e,n),i}function m(t){return r.isString(t)&&(t=b(t)),t instanceof o?t.format():o.prototype.format.call(t)}function w(t,e){return b(t,!1,!0).resolve(e)}function x(t,e){return t?b(t,!1,!0).resolveObject(e):e}o.prototype.parse=function(t,e,n){if(!r.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var o=t.indexOf("?"),g=-1!==o&&o<t.indexOf("#")?"?":"#",a=t.split(g),C=/\\/g;a[0]=a[0].replace(C,"/"),t=a.join(g);var b=t;if(b=b.trim(),!n&&1===t.split("#").length){var m=A.exec(b);if(m)return this.path=b,this.href=b,this.pathname=m[1],m[2]?(this.search=m[2],this.query=e?v.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var w=s.exec(b);if(w){w=w[0];var x=w.toLowerCase();this.protocol=x,b=b.substr(w.length)}if(n||w||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var O="//"===b.substr(0,2);!O||w&&f[w]||(b=b.substr(2),this.slashes=!0)}if(!f[w]&&(O||w&&!y[w])){for(var P,j,S=-1,E=0;E<l.length;E++){var k=b.indexOf(l[E]);-1!==k&&(-1===S||k<S)&&(S=k)}j=-1===S?b.lastIndexOf("@"):b.lastIndexOf("@",S),-1!==j&&(P=b.slice(0,j),b=b.slice(j+1),this.auth=decodeURIComponent(P)),S=-1;for(E=0;E<c.length;E++){k=b.indexOf(c[E]);-1!==k&&(-1===S||k<S)&&(S=k)}-1===S&&(S=b.length),this.host=b.slice(0,S),b=b.slice(S),this.parseHost(),this.hostname=this.hostname||"";var M="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!M)for(var N=this.hostname.split(/\./),L=(E=0,N.length);E<L;E++){var D=N[E];if(D&&!D.match(h)){for(var T="",R=0,V=D.length;R<V;R++)D.charCodeAt(R)>127?T+="x":T+=D[R];if(!T.match(h)){var X=N.slice(0,E),W=N.slice(E+1),G=D.match(p);G&&(X.push(G[1]),W.unshift(G[2])),W.length&&(b="/"+W.join(".")+b),this.hostname=X.join(".");break}}}this.hostname.length>u?this.hostname="":this.hostname=this.hostname.toLowerCase(),M||(this.hostname=i.toASCII(this.hostname));var B=this.port?":"+this.port:"",_=this.hostname||"";this.host=_+B,this.href+=this.host,M&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!d[x])for(E=0,L=I.length;E<L;E++){var Q=I[E];if(-1!==b.indexOf(Q)){var J=encodeURIComponent(Q);J===Q&&(J=escape(Q)),b=b.split(Q).join(J)}}var z=b.indexOf("#");-1!==z&&(this.hash=b.substr(z),b=b.slice(0,z));var U=b.indexOf("?");if(-1!==U?(this.search=b.substr(U),this.query=b.substr(U+1),e&&(this.query=v.parse(this.query)),b=b.slice(0,U)):e&&(this.search="",this.query={}),b&&(this.pathname=b),y[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){B=this.pathname||"";var Z=this.search||"";this.path=B+Z}return this.href=this.format(),this},o.prototype.format=function(){var t=this.auth||"";t&&(t=encodeURIComponent(t),t=t.replace(/%3A/i,":"),t+="@");var e=this.protocol||"",n=this.pathname||"",i=this.hash||"",o=!1,s="";this.host?o=t+this.host:this.hostname&&(o=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&r.isObject(this.query)&&Object.keys(this.query).length&&(s=v.stringify(this.query));var g=this.search||s&&"?"+s||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||y[e])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),i&&"#"!==i.charAt(0)&&(i="#"+i),g&&"?"!==g.charAt(0)&&(g="?"+g),n=n.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})),g=g.replace("#","%23"),e+o+n+g+i},o.prototype.resolve=function(t){return this.resolveObject(b(t,!1,!0)).format()},o.prototype.resolveObject=function(t){if(r.isString(t)){var e=new o;e.parse(t,!1,!0),t=e}for(var n=new o,i=Object.keys(this),s=0;s<i.length;s++){var g=i[s];n[g]=this[g]}if(n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var A=Object.keys(t),a=0;a<A.length;a++){var C=A[a];"protocol"!==C&&(n[C]=t[C])}return y[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(t.protocol&&t.protocol!==n.protocol){if(!y[t.protocol]){for(var I=Object.keys(t),c=0;c<I.length;c++){var l=I[c];n[l]=t[l]}return n.href=n.format(),n}if(n.protocol=t.protocol,t.host||f[t.protocol])n.pathname=t.pathname;else{var u=(t.pathname||"").split("/");while(u.length&&!(t.host=u.shift()));t.host||(t.host=""),t.hostname||(t.hostname=""),""!==u[0]&&u.unshift(""),u.length<2&&u.unshift(""),n.pathname=u.join("/")}if(n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,n.pathname||n.search){var h=n.pathname||"",p=n.search||"";n.path=h+p}return n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var d=n.pathname&&"/"===n.pathname.charAt(0),v=t.host||t.pathname&&"/"===t.pathname.charAt(0),b=v||d||n.host&&t.pathname,m=b,w=n.pathname&&n.pathname.split("/")||[],x=(u=t.pathname&&t.pathname.split("/")||[],n.protocol&&!y[n.protocol]);if(x&&(n.hostname="",n.port=null,n.host&&(""===w[0]?w[0]=n.host:w.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===u[0]?u[0]=t.host:u.unshift(t.host)),t.host=null),b=b&&(""===u[0]||""===w[0])),v)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,w=u;else if(u.length)w||(w=[]),w.pop(),w=w.concat(u),n.search=t.search,n.query=t.query;else if(!r.isNullOrUndefined(t.search)){if(x){n.hostname=n.host=w.shift();var O=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");O&&(n.auth=O.shift(),n.host=n.hostname=O.shift())}return n.search=t.search,n.query=t.query,r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!w.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var P=w.slice(-1)[0],j=(n.host||t.host||w.length>1)&&("."===P||".."===P)||""===P,S=0,E=w.length;E>=0;E--)P=w[E],"."===P?w.splice(E,1):".."===P?(w.splice(E,1),S++):S&&(w.splice(E,1),S--);if(!b&&!m)for(;S--;S)w.unshift("..");!b||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),j&&"/"!==w.join("/").substr(-1)&&w.push("");var k=""===w[0]||w[0]&&"/"===w[0].charAt(0);if(x){n.hostname=n.host=k?"":w.length?w.shift():"";O=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");O&&(n.auth=O.shift(),n.host=n.hostname=O.shift())}return b=b||n.host&&w.length,b&&!k&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var t=this.host,e=g.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},"0c1b":function(t,e,n){"use strict";var i=n("bcdd"),r=n.n(i);r.a},"0d26":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAt1BMVEVHcEz///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+6urrFxcXR0dHY2NjX19fDw8P////Hx8fg4ODj4+PQ0NDCwsLGxsb///////////////+Zk85TAAAAPHRSTlMAAgQiHSZ5yO+B2fPfw70siHVCZ337ODSO0YM7rJLjzVINSDDpcBkUXfljCAQ4lcV6BgpEkKlgQ0CZ3FCcXUtcAAAAAWJLR0QB/wIt3gAAAAd0SU1FB+MFHgsMLLYaoF4AAADtSURBVBjTbVCJcoIwFNxQuSIWEYMoUOSQo/S0p+37/+9qIraNnb7JZDK7m012gfNhBvsXuZjoiNpNyyZHR5jp8qk3m17+avw5Jx4swqWITsgq9sR6aWKySVL7eDfKrkQeKPtt7BdUAlVcC3vXKLLdWQ0yT55IdO3oa246hqK/hoGwd4GB3dze3T88MgTjfyKR74Gn55fXt3fAsaRQrn0uqsINB2XR9cVRKYkDpQmDiviRwRjTAJwOkmUoqcF3IcyL13mLAXZ6Eqqpy4CcBVbk/wjBeC0il7p0Bq1NmyqZkSjRwaaFISN9/i0d2hNf1CoSHV2Lm8sAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTktMDUtMzBUMTE6MTI6NDQrMDg6MDCJUf45AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE5LTA1LTMwVDExOjEyOjQ0KzA4OjAw+AxGhQAAAABJRU5ErkJggg=="},"12fa":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAACECA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iwEYyOifbYKEDOjWnt1VqcYgoggxMify7KIS5XEAId8U20Mgocoxz4OIbA3WKiZGdeZcMHkWlO/wxQEz7EifhpCYI/Q1NwCr6d0ihwEAxOsuIYtX1UzM85FmAXJYqgEgoEBwDXFIA7wmi9wSfhSiBgjn4QQKFyTze/VvVlQhXX91EDwPGUbCW30Xo2ZcRDDLCAfFLVaCDpl2mKRORAzQyp+RRL1aHFrgaBzpi2ZdXJ10mMAF7BXqWpAvN+oL7Cv/MJFEgTzF2st4KTngXjbJf8qen+YNQaxlWODmtPj/lg74p0aQLics84ih5Wb4vjDqNSwxWNh4arCuho7NJLgkb5SQ0S/4xZZNQhiG4E9eKcGv+Ia0u0qXIMLiCGy72STPDeQmSGMkGwGzyYWNBGHOZtmF8QxpQaLMOc5JlpW2y7pq9o7NYBQAwCyiGs4V/tZ0pdjm+TcnRry/wuu2LZaZJukzalKPvuFfn7F9CUh1TSCcIukr3Ob5CwEo/oZBgsTIJOjxAQR+9KtboHsJrkIwkHII89L4lwz1YgBLLClVCgphnAQ7tQQI6g1Qw2ATX5MVbxLr4LogbBiYpG+azD7N26BYgD6rIZwEKYv5yTRIgy62ZWabAzMmrAJwkEQSDhuIlixAFcfmv4nxH+8RMcvoX23QgAAAABJRU5ErkJggg=="},"147f":function(t,e,n){"use strict";n("8e6e"),n("ac6a"),n("456d");var i=n("ade3"),r=(n("7514"),n("96cf"),n("1da1")),o=n("0b16"),s=n.n(o),g=n("c75e"),A=n("b775");function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function C(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){Object(i["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var I=s.a.parse(location.href,!0),c=I.query;c.readySuccess=!1;var l=function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){var e,n,i,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,A["a"].get(c.detailApi,{canteenId:c.id});case 3:e=t.sent,n=e.data,c.detail=n,t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](0),c.detail={};case 11:return t.prev=11,t.next=14,A["a"].get(c.deskListApi,{canteenId:c.id,pageNum:1,pageSize:1e3});case 14:i=t.sent,r=i.data,r.list=r.list||[],c.deskList=r.list.map((function(t){var e=t.orderList?t.orderList:[],n=0,i=e.find((function(t){var e=t.reserveUserId;return e===c.userId||e===c.shareUserId}));return i?n=2:5===e.length&&(n=1),C(C(C({},t.tmDesk),i),{},{orderList:e,orderStatus:n})})),t.next=23;break;case 20:t.prev=20,t.t1=t["catch"](11),c.deskList=[];case 23:c.readySuccess=!0,g["a"].emit("reserveReadySuccess",c);case 25:case"end":return t.stop()}}),t,null,[[0,8],[11,20]])})));return function(){return t.apply(this,arguments)}}();l(),e["a"]=function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e&&(c.readySuccess=!1,l()),!c.readySuccess){t.next=5;break}return t.abrupt("return",c);case 5:return t.next=7,new Promise((function(t){g["a"].on("reserveReadySuccess",(function(){return t(c)}))}));case 7:return t.abrupt("return",t.sent);case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},"14f2":function(t,e,n){},1985:function(t,e,n){(function(t,i){var r;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(o){e&&e.nodeType,t&&t.nodeType;var s="object"==typeof i&&i;s.global!==s&&s.window!==s&&s.self;var g,A=2147483647,a=36,C=1,I=26,c=38,l=700,u=72,h=128,p="-",d=/^xn--/,f=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,v={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},b=a-C,m=Math.floor,w=String.fromCharCode;function x(t){throw new RangeError(v[t])}function O(t,e){var n=t.length,i=[];while(n--)i[n]=e(t[n]);return i}function P(t,e){var n=t.split("@"),i="";n.length>1&&(i=n[0]+"@",t=n[1]),t=t.replace(y,".");var r=t.split("."),o=O(r,e).join(".");return i+o}function j(t){var e,n,i=[],r=0,o=t.length;while(r<o)e=t.charCodeAt(r++),e>=55296&&e<=56319&&r<o?(n=t.charCodeAt(r++),56320==(64512&n)?i.push(((1023&e)<<10)+(1023&n)+65536):(i.push(e),r--)):i.push(e);return i}function S(t){return O(t,(function(t){var e="";return t>65535&&(t-=65536,e+=w(t>>>10&1023|55296),t=56320|1023&t),e+=w(t),e})).join("")}function E(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:a}function k(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function M(t,e,n){var i=0;for(t=n?m(t/l):t>>1,t+=m(t/e);t>b*I>>1;i+=a)t=m(t/b);return m(i+(b+1)*t/(t+c))}function N(t){var e,n,i,r,o,s,g,c,l,d,f=[],y=t.length,v=0,b=h,w=u;for(n=t.lastIndexOf(p),n<0&&(n=0),i=0;i<n;++i)t.charCodeAt(i)>=128&&x("not-basic"),f.push(t.charCodeAt(i));for(r=n>0?n+1:0;r<y;){for(o=v,s=1,g=a;;g+=a){if(r>=y&&x("invalid-input"),c=E(t.charCodeAt(r++)),(c>=a||c>m((A-v)/s))&&x("overflow"),v+=c*s,l=g<=w?C:g>=w+I?I:g-w,c<l)break;d=a-l,s>m(A/d)&&x("overflow"),s*=d}e=f.length+1,w=M(v-o,e,0==o),m(v/e)>A-b&&x("overflow"),b+=m(v/e),v%=e,f.splice(v++,0,b)}return S(f)}function L(t){var e,n,i,r,o,s,g,c,l,d,f,y,v,b,O,P=[];for(t=j(t),y=t.length,e=h,n=0,o=u,s=0;s<y;++s)f=t[s],f<128&&P.push(w(f));i=r=P.length,r&&P.push(p);while(i<y){for(g=A,s=0;s<y;++s)f=t[s],f>=e&&f<g&&(g=f);for(v=i+1,g-e>m((A-n)/v)&&x("overflow"),n+=(g-e)*v,e=g,s=0;s<y;++s)if(f=t[s],f<e&&++n>A&&x("overflow"),f==e){for(c=n,l=a;;l+=a){if(d=l<=o?C:l>=o+I?I:l-o,c<d)break;O=c-d,b=a-d,P.push(w(k(d+O%b,0))),c=m(O/b)}P.push(w(k(c,0))),o=M(n,v,i==r),n=0,++i}++n,++e}return P.join("")}function D(t){return P(t,(function(t){return d.test(t)?N(t.slice(4).toLowerCase()):t}))}function T(t){return P(t,(function(t){return f.test(t)?"xn--"+L(t):t}))}g={version:"1.4.1",ucs2:{decode:j,encode:S},decode:N,encode:L,toASCII:T,toUnicode:D},r=function(){return g}.call(e,n,e,t),void 0===r||(t.exports=r)})()}).call(this,n("62e4")(t),n("c8ba"))},"1b5f":function(t,e,n){},"1c7d":function(t,e,n){},"1d52":function(t,e,n){},"22c4":function(t,e,n){"use strict";var i=n("ad7e"),r=n.n(i);r.a},"26d4":function(t,e,n){"use strict";n("bcf7"),n("ac6a"),n("7f7f"),n("7514");var i=n("c137"),r=(n("456d"),n("20d6"),n("6b54"),n("c815")),o=n("71fb"),s=function(){function t(t){var e=this,n=t.layer,i=t.width,o=void 0===i?n.offsetWidth:i,s=t.height,g=void 0===s?n.offsetHeight:s,A=t.processing;this.clickHandle=function(){e.elements.forEach((function(t){return t.changeSelect(!1)}))},r["a"].init(this),this.props={left:0,top:0,width:o,height:g,multiple:1,scale:1},this.elements=[],this.processing=A,this.init(n)}return t.prototype.init=function(t){this.svg=document.createElementNS(o["s"],"svg"),this.g=document.createElementNS(o["s"],"g"),this.svg.appendChild(this.g),this.layer=t,this.layer.style.position="relative",this.svg.style.position="absolute",this.svg.style.left="0",this.svg.style.top="0",this.svg.style.right="0",this.svg.style.bottom="0",this.svg.setAttribute("version","1.0"),this.svg.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svg.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.svg.addEventListener("click",this.clickHandle,!1),this.layer.appendChild(this.svg)},t.prototype.adaptLayer=function(t,e){void 0===t&&(t=this.layer.offsetWidth),void 0===e&&(e=this.layer.offsetHeight);var n=this.processing.cad.padding||0,i=t+2*n,o=e+2*n,s=this.props.width/t*n||0,g=this.props.height/e*n||0,A=this.props.width/2-this.props.left,a=this.props.height/2-this.props.top;if(isNaN(this.props.left))return this.props.height=100,this.props.width=100,this.props.left=1,this.props.scale=1,this.props.multiple=1,void(this.props.top=1);this.g.setAttribute("transform","\n translate("+this.props.left+","+this.props.top+")\n translate("+A+","+a+")\n scale("+this.props.scale+","+this.props.scale+")\n translate("+-A+","+-a+")\n "),this.svg.setAttribute("width",i.toString()),this.svg.setAttribute("height",o.toString()),this.svg.setAttribute("viewBox",-s+" "+-g+" "+(this.props.width+2*s)+" "+(this.props.height+2*g)),this.realWidth=t,this.realHeight=e,r["a"].update(this)},t.prototype.render=function(){r["a"].update(this)},t.prototype.screenToRealPoint=function(t){var e=t.x,n=t.y;e-=this.processing.cad.padding,n-=this.processing.cad.padding;var i=this.props.width/2-this.props.left,r=this.props.height/2-this.props.top,o=this.props.width/this.props.multiple,s=this.props.height/this.props.multiple;return 0==o||0==s?{x:i,y:r}:{x:(e*this.props.width/o-this.props.left-i)/this.props.scale+i,y:(n*this.props.height/s-this.props.top-r)/this.props.scale+r}},t.prototype.realPointToScreen=function(t){var e=t.x,n=t.y,i=this.props.width/2-this.props.left,r=this.props.height/2-this.props.top,o=this.props.width/this.props.multiple,s=this.props.height/this.props.multiple;return{x:((e-i)*this.props.scale+i+this.props.left)*o/this.props.width+this.processing.cad.padding,y:((n-r)*this.props.scale+r+this.props.top)*s/this.props.height+this.processing.cad.padding}},t.prototype.push=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];e.forEach((function(e){var n=t.elements.find((function(t){return t.zIndex>e.zIndex}));if(n){try{t.g.insertBefore(e.real,n.real)}catch(i){t.g.appendChild(e.real)}t.elements.splice(t.elements.indexOf(n),0,e)}else t.g.appendChild(e.real),t.elements.push(e)}))},t.prototype.remove=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];e.forEach((function(e){try{t.g.removeChild(e.real)}catch(n){}~t.elements.indexOf(e)&&t.elements.splice(t.elements.indexOf(e),1)}))},t.prototype.destroy=function(){this.svg.removeEventListener("click",this.clickHandle,!1),this.layer.removeChild(this.svg)},t}(),g=s,A=n("6b6b"),a=n("53ca"),C=(n("c5f6"),n("4f7f"),n("5df3"),n("1c4c"),n("ac4d"),n("8a81"),n("fd24"),n("55dd"),n("f400"),function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),I=function(){return I=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},I.apply(this,arguments)},c=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},l=function(t){function e(n){var i=n.color,r=n.width,o=n.showAngle,s=void 0!==o&&o,g=n.linecap,A=void 0===g?"square":g,a=c(n,["color","width","showAngle","linecap"]),C=this;return r=r||e.Setting.get(a.renderer).width,i=i||e.Setting.get(a.renderer).color,C=t.call(this,I({color:i,width:r,linecap:A,showAngle:s},a))||this,C.init={color:i,width:r,linecap:A},C}return C(e,t),e.prototype.intercept=function(t,e,n){return!0},e.prototype.grentNode=function(){return document.createElementNS(o["s"],"path")},e.prototype.update=function(){var t=this.width*this.multiple;this.real.setAttribute("stroke",this.color),this.real.setAttribute("stroke-width",t.toString()),this.real.setAttribute("stroke-linecap",this.linecap),this.points&&this.real.setAttribute("d","M "+this.points[0].x+" "+this.points[0].y+" L "+this.points[1].x+" "+this.points[1].y)},e.Setting=new Map,e}(r["a"]),u=l,h=n("dcab"),p=n("0a1e");function d(t,e){var n;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=f(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,g=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return s=t.done,t},e:function(t){g=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(g)throw o}}}}function f(t,e){if(t){if("string"===typeof t)return y(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(t,e):void 0}}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var v=["case","door","slideDoor","column","groundCase","bayCase","doubleDoor","stair","doorleaf"],b=function(t,e){if(e&&!(e.length<0)){var n,i=[],r=d(e);try{for(r.s();!(n=r.n()).done;){var o=n.value,s=Object(h["B"])(o,t[0]),g=Object(h["B"])(o,t[0]);if(s=s<.01?0:s,g=g<.01?0:g,0===s&&0===g)return o;i.push({dis:s+g,line:o})}}catch(A){r.e(A)}finally{r.f()}return i.sort((function(t,e){return t.dis-e.dis}))[0].line}},m=function(t,e,n){var i,r=d(v);try{for(r.s();!(i=r.n()).done;){var o=i.value,s=t[o];if(s&&0!==s.length){var g,A=d(s);try{for(A.s();!(g=A.n()).done;){var a=g.value,C=b([{x:a.pos[0],y:a.pos[1]},{x:a.pos[2],y:a.pos[3]}],n);C&&(a.line=C.id)}}catch(I){A.e(I)}finally{A.f()}}}}catch(I){r.e(I)}finally{r.f()}},w=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),x=function(){return x=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},x.apply(this,arguments)},O=function(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function s(t){try{A(i.next(t))}catch(e){o(e)}}function g(t){try{A(i["throw"](t))}catch(e){o(e)}}function A(t){t.done?n(t.value):r(t.value).then(s,g)}A((i=i.apply(t,e||[])).next())}))},P=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:g(0),throw:g(1),return:g(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function g(t){return function(e){return A([t,e])}}function A(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(g){o=[6,g],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},j=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},S=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},E=function(t){function e(e){var n=e.isOut,i=e.hover,r=e.width,o=void 0===r?3:r,s=e.border,g=void 0!==s&&s,A=e.exterior,a=j(e,["isOut","hover","width","border","exterior"]),C=t.call(this,x(x({},a),{width:o}))||this;return C.hover=i||x(x({},C.init),{color:"rgba(243, 255, 0, 0.8)"}),C.isOut=n,C.adopt=!1,C.border=g,C.exterior=A,C.listenPointDrag(),Object.defineProperty(C,"wallLines",{get:function(){return a.renderer.processing.lines.map((function(t){var e=t.ele;return e}))}}),C}return w(e,t),e.prototype.setHoverStyle=function(){this.color=this.hover.color,this.width=this.hover.width,this.linecap=this.hover.linecap},e.prototype.setUnHoverStyle=function(){this.color=this.init.color,this.width=this.init.width,this.linecap=this.init.linecap},e.prototype.destoryPoint=function(t){return O(this,void 0,void 0,(function(){return P(this,(function(e){return t.destroy(),[2]}))}))},e.prototype.listenPointDrag=function(t){var e=this;void 0===t&&(t=this.points),t.forEach((function(t){t.__join_lines?~t.__join_lines.indexOf(e)||t.__join_lines.push(e):t.__join_lines=[e]}))},e.prototype.getDelRetain=function(){return{delIndex:0,retainIndex:1}},e.prototype.judgeMerge=function(){return O(this,void 0,void 0,(function(){var t,n,i,r,o,s=this;return P(this,(function(g){switch(g.label){case 0:if(this.points[0]===this.points[1]||Object(h["x"])({points:this.points})>e.minWidth||p["default"].attaArch.get(this)&&p["default"].attaArch.get(this).length)return[2];t=this.wallLines;try{r=this.getDelRetain(),n=r.delIndex,i=r.retainIndex}catch(A){return[2]}return o=this.points[i],[4,Promise.all(t.map((function(t){var e;if(t!==s&&~(e=t.points.indexOf(s.points[n])))return new Promise((function(r){t.nextTick((function(){var o=S(t.points);o[e]=s.points[i],o[n]===o[i]?t.destroy():(t.renderer.processing.updateWallPoints(t,t.points,o),t.points=o,t.listenPointDrag(o),t.update(),t.nextTick((function(){return t.updateJoin()}))),r()}))}))})))];case 1:return g.sent(),this.points[n].x=this.points[i].x,this.points[n].y=this.points[i].y,this.points[n].adopt=!0,setTimeout((function(){s.wallLines.some((function(t){return~t.points.indexOf(o)}))||s.points[i].destroy()}),500),[2,this.points[n]]}}))}))},e.prototype.judgePoint=function(){return O(this,void 0,void 0,(function(){var t,e,n,i=this;return P(this,(function(r){switch(r.label){case 0:t=function(t){var n,r,o,s,g,A,a;return P(this,(function(C){switch(C.label){case 0:if(n=e.points[t],!e.renderer.processing.points.some((function(t){var e=t.ele;return e===n})))return[2,"continue"];r=e.renderer.processing,o=S(e.wallLines).filter((function(t){return t!==i&&!t.exterior})),s=.1,o=o.filter((function(t){return Object(h["B"])(t,n)<=s})),g=function(t){var e,s,g,A,a;return P(this,(function(C){switch(C.label){case 0:return e=o[t],s=r.lines.filter((function(t){var n=t.ele;return~n.points.indexOf(e.points[0])&&n.points.indexOf(e.points[1])})).map((function(t){var e=t.ele;return e})),g=[],s.forEach((function(t){return g=g.concat(p["default"].attaArch.get(t)||[])})),A=Object(h["h"])(e,n),a=g.find((function(t){return Object(h["B"])({points:t.linePoints},A)<.001})),a?[3,5]:[3,1];case 1:if(!(Object(h["B"])(e,A)<.1))return[3,5];n.x=A.x,n.y=A.y,C.label=2;case 2:return C.trys.push([2,4,,5]),[4,new Promise((function(t,o){n.nextTick((function(){i.renderer.processing.points.some((function(t){var e=t.ele;return e===n}))||o();var s=r.lineInsertPoint(e,n),g=s.promis,a=s.ret;if(!a)return t();g.then((function(){n.x=A.x,n.y=A.y,n.wallPos&&n.wallPos(),t()})),e.wallPos&&e.wallPos()}))}))];case 3:return C.sent(),[3,5];case 4:return C.sent(),[2,"break"];case 5:return[2]}}))},A=0,C.label=1;case 1:return A<o.length?[5,g(A)]:[3,4];case 2:if(a=C.sent(),"break"===a)return[3,4];C.label=3;case 3:return A++,[3,1];case 4:return[2]}}))},e=this,n=0,r.label=1;case 1:return n<this.points.length?[5,t(n)]:[3,4];case 2:r.sent(),r.label=3;case 3:return n++,[3,1];case 4:return[2]}}))}))},e.prototype.updateJoin=function(){var t=this,e=this.wallLines;this.points[0].__join_lines=e.filter((function(e){return~e.points.indexOf(t.points[0])})),this.points[1].__join_lines=e.filter((function(e){return~e.points.indexOf(t.points[1])}))},e.prototype.removeJoin=function(t){void 0===t&&(t=this);var e=t.points[0].__join_lines,n=t.points[1].__join_lines;e.splice(e.indexOf(t),1),n.splice(n.indexOf(t),1)},e.prototype.checkCross=function(t){var e=this;void 0===t&&(t=this.points);var n=this.renderer.processing,i=this.wallLines.filter((function(t){return~t.points.indexOf(e.points[0])||~t.points.indexOf(e.points[1])}));return i.some((function(i){var r=i.points.indexOf(e.points[0]),o=i.points.indexOf(e.points[1]),s=S(i.points);return~r&&(s[r]=t[0]),~o&&(s[o]=t[1]),e.wallLines.some((function(r){if(!~r.points.indexOf(i.points[0])&&!~r.points.indexOf(i.points[1])){var o=Object(h["E"])(r,{points:s});if(!o)return!1;if(0!==Object(h["x"])({points:[s[0],o]})&&0!==Object(h["x"])({points:[s[1],o]})&&0!==Object(h["x"])({points:[r.points[0],o]})&&0!==Object(h["x"])({points:[r.points[1],o]}))return!0;var g=n.getRoomsByLine(i);g=g.length?g:n.getHolesByLine(i),g=g[0].ground||g[0].pos;var A=n.getRoomsByLine(r);return A=A.length?A:n.getHolesByLine(r),A=A[0].ground||A[0].pos,g===A?!1:(g=g.map((function(i){var r=n.points.find((function(t){var e=t.id;return i===e})).ele;return r===e.points[0]?t[0]:r===e.points[1]?t[1]:r})),A=A.map((function(i){var r=n.points.find((function(t){var e=t.id;return i===e})).ele;return r===e.points[0]?t[0]:r===e.points[1]?t[1]:r})),Object(h["q"])(g,A))}}))}))},e.prototype.intercept=function(t,e,n){e.x,e.y,e.points;return!0},e.prototype.grentNode=function(){var e=document.createElementNS(o["s"],"g");return this.origin=t.prototype.grentNode.call(this),this.ground=document.createElementNS(o["s"],"g"),this.temp=document.createElementNS(o["s"],"g"),e.appendChild(this.ground),e.appendChild(this.origin),e.appendChild(this.temp),this.temp.setAttribute("pointer-events","none"),e},e.prototype.update=function(){var t=this,e=p["default"].attaArch.get(this),n=this.multiple*this.width*(this.border?2:1.333);this.origin.setAttribute("stroke-width",n.toString()),this.origin.setAttribute("stroke-linecap",this.linecap);try{this.origin.setAttribute("d","M "+this.points[0].x+" "+this.points[0].y+" L "+this.points[1].x+" "+this.points[1].y)}catch(d){}if(this.exterior?(this.origin.setAttribute("stroke",this.color===this.hover.color?this.color:"#5e5e5e"),this.origin.setAttribute("stroke-dasharray",10*this.multiple+", "+10*this.multiple)):this.origin.setAttribute("stroke",this.color),!this.exterior&&e&&e.length>0){this.origin.setAttribute("stroke","rgba(0,0,0,0)");for(var i=[],r=function(t){if(i.some((function(e){return e.some((function(n){return n===e[t]}))})))return"continue";var n=e.filter((function(n){return n.linePoints&&n.linePoints.length&&(Object(h["B"])({points:e[t].linePoints},n.linePoints[0])<.1||Object(h["B"])({points:e[t].linePoints},n.linePoints[1])<.1)}));n.length&&i.push(n)},s=0;s<e.length;s++)r(s);var g=[];i.forEach((function(e){var n=e.reduce((function(t,e){return t.concat(e.linePoints)}),[]).sort((function(e,n){return Object(h["x"])({points:[e,t.points[0]]})-Object(h["x"])({points:[n,t.points[0]]})})),i=[];Object(h["B"])(t,n[0])<.1&&i.push(n[0]),Object(h["B"])(t,n[n.length-1])<.1&&i.push(n[n.length-1]),i.length&&g.push(i)})),g=g.sort((function(e,n){return Object(h["x"])({points:[e[0],t.points[0]]})-Object(h["x"])({points:[n[0],t.points[0]]})})),this.ground.innerHTML="";var A="";for(s=1;s<g.length;s++){var a=g[s-1][g[s-1].length-1],C=g[s][0];A+='<path \n stroke="'+(this.exterior&&"rgba(243, 255, 0, 0.8)"!==this.color?"rgb(150,150,150)":this.color)+'" \n stroke-width="'+n+'" \n stroke-linecap="butt" \n d="M '+a.x+" "+a.y+" L "+C.x+" "+C.y+'"></path>'}if(g.length&&2===g[0].length&&(A='<path \n stroke="'+(this.exterior&&"rgba(243, 255, 0, 0.8)"!==this.color?"rgb(150,150,150)":this.color)+'" \n stroke-width="'+n+'" \n stroke-linecap="butt" \n d="M '+this.points[0].x+" "+this.points[0].y+" L "+g[0][0].x+" "+g[0][0].y+'"></path>'+A),g.length&&2===g[g.length-1].length&&(A=A+'<path \n stroke="'+(this.exterior&&"rgba(243, 255, 0, 0.8)"!==this.color?"rgb(150,150,150)":this.color)+'" \n stroke-width="'+n+'" \n stroke-linecap="butt" \n d="M '+g[g.length-1][1].x+" "+g[g.length-1][1].y+" L "+this.points[1].x+" "+this.points[1].y+'"></path>'),1===g.length&&1===g[0].length){var I=e.find((function(t){return~t.linePoints.indexOf(g[0][0])})),c=I.linePoints[Number(!I.linePoints.indexOf(g[0][0]))];a=Object(h["x"])({points:[c,this.points[0]]})>Object(h["x"])({points:[c,this.points[1]]})?this.points[0]:this.points[1];A+='<path \n stroke="'+(this.exterior&&"rgba(243, 255, 0, 0.8)"!==this.color?"rgb(150,150,150)":this.color)+'" \n stroke-width="'+n+'" \n stroke-linecap="butt" \n d="M '+a.x+" "+a.y+" L "+g[0][0].x+" "+g[0][0].y+'"></path>'}0===g.length&&(A+='<path \n stroke="'+(this.exterior&&"rgba(243, 255, 0, 0.8)"!==this.color?"rgb(150,150,150)":this.color)+'" \n stroke-width="'+n+'" \n stroke-linecap="butt" \n d="M '+this.points[0].x+" "+this.points[0].y+" L "+this.points[1].x+" "+this.points[1].y+'"></path>'),this.ground.innerHTML=A}else this.ground.innerHTML="";if(this.temp.innerHTML="",this.showAngle||this.color===this.hover.color){var l=this.renderer.processing.lines.filter((function(e){return e.ele!==t&&(~e.ele.points.indexOf(t.points[0])||~e.ele.points.indexOf(t.points[1]))})).map((function(t){var e=t.ele;return e}));if(0!==l.length){var u=this.renderer.screenToRealPoint({x:20,y:0}).x-this.renderer.screenToRealPoint({x:0,y:0}).x;l.forEach((function(e){var n=Object(h["c"])(e,t),i=~e.points.indexOf(t.points[0])?t.points[0]:t.points[1],r=Object(h["g"])(e,i,u),s=Object(h["g"])(t,i,u),g=Object(h["v"])({points:[r,s]});if(!isNaN(g.x)&&!isNaN(n)&&n>10&&n<170){n=Math.round(n),n=n>=89&&n<=91?90:n;var A=document.createElementNS(o["s"],"text");A.setAttribute("fill","#fff"),A.setAttribute("text-anchor","middle"),A.setAttribute("x",g.x.toString()),A.setAttribute("y",g.y.toString()),A.setAttribute("font-size",(9*t.multiple).toString()),A.textContent=parseInt(n+"").toString()+"°",t.temp.appendChild(A)}}))}}},e.prototype.destroy=function(){var e=this,n=this.wallLines;n.splice(n.indexOf(this),1);var i=p["default"].attaArch.get(this);i&&i.length&&i.forEach((function(t){try{var e=b(t,n);t.setAttachment(e)}catch(i){t.destroy()}})),this.nextTick((function(){n.filter((function(t){return~t.points.indexOf(e.points[0])||~t.points.indexOf(e.points[1])})).forEach((function(t){return t.updateJoin()}))})),t.prototype.destroy.call(this),this.removeJoin(),n.some((function(t){return~t.points.indexOf(e.points[0])}))||this.points[0].destroy(),n.some((function(t){return~t.points.indexOf(e.points[1])}))||this.points[1].destroy()},e.minWidth=.1,e}(u),k=E,M=(n("6c7b"),function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),N=function(){return N=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},N.apply(this,arguments)},L=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},D=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},T=function(t){function e(e){var n=e.points,i=e.fill,r=void 0===i?"rgba(0,0,0,0)":i,o=e.stroke,s=void 0===o?"rgba(255,255,255,0.5)":o,g=e.width,a=void 0===g?1:g,C=e.hover,I=L(e,["points","fill","stroke","width","hover"]),c=this,l=[n[0],n[1]],u=n.slice(2).map((function(t){return new A["a"](N(N({},t),{renderer:I.renderer}))})),p={fill:r,stroke:s,width:a};return C=C||N(N({},p),{fill:"rgba(243, 255, 0, 0.8)",strokeBorder:"rgba(243, 255, 0, 0.8)"}),c=t.call(this,N(N({linePoints:l,hover:C,otherPoints:u},p),I))||this,c.points=c.linePoints.concat(c.otherPoints),c.selectLineIndex=-1,c.init=p,c.cacheVers=[Object(h["z"])({points:[c.points[1],c.points[2]]}),Object(h["z"])({points:[c.points[0],c.points[3]]})],c.__enterHandle=function(){c.hasTriggerEvent()||~c.selectLineIndex&&!c.select||(Object.keys(c.hover).forEach((function(t){return c[t]=c.hover[t]})),c.real.style.cursor="pointer")},c.__leaveHandle=function(){c.hasTriggerEvent()||c.select||(Object.keys(c.init).forEach((function(t){return c[t]=c.init[t]})),c.real.style.cursor="initial")},c.__lineEnter=function(t){c.hasTriggerEvent()||~c.selectLineIndex||c.__draging||(c.selectLineIndex=c.lines.indexOf(t.target),c.update&&c.update())},c.__lineLeave=function(t){c.hasTriggerEvent()||c.__draging||(c.selectLineIndex=-1,c.update&&c.update())},c.__lineClick=function(t){return t.stopPropagation()},c}return M(e,t),e.prototype.updateFirstLinePoints=function(){this.attachment&&this.attachment.points&&(this.firstLinePoints=this.attachment.points.map((function(t){return{x:t.x,y:t.y}})))},e.prototype.grentNode=function(){var t=this,e=document.createElementNS(o["s"],"g");return this.wrapPath=document.createElementNS(o["s"],"path"),this.leftLine=document.createElementNS(o["s"],"path"),this.rightLine=document.createElementNS(o["s"],"path"),this.bottomLeft=document.createElementNS(o["s"],"path"),this.topLine=document.createElementNS(o["s"],"path"),this.overLine1=document.createElementNS(o["s"],"path"),this.overLine2=document.createElementNS(o["s"],"path"),this.lines=[this.leftLine,this.rightLine,this.topLine,this.overLine1,this.overLine2,this.bottomLeft],this.wrapPath.setAttribute("stroke","rgba(0,0,0,0)"),this.nextTick((function(){t.linePoints&&(t.points=t.linePoints.concat(t.otherPoints),t.addEvent(),t.updateThickness(),t.updateFirstLinePoints())})),e.appendChild(this.overLine1),e.appendChild(this.overLine2),e.appendChild(this.wrapPath),e.appendChild(this.leftLine),e.appendChild(this.topLine),e.appendChild(this.rightLine),e.appendChild(this.bottomLeft),e},e.prototype.update=function(){var t=this;if(this.points){var e=this.width*this.multiple;this.lines.forEach((function(n){n.setAttribute("stroke-width",e.toString()),n.setAttribute("stroke-linecap","round"),n.setAttribute("stroke",t.stroke)}));try{if(i["f"].isNumber(this.hoverIndex)?this.lines[this.hoverIndex].setAttribute("stroke",this.hover.strokeBorder):(this.wrapPath.setAttribute("stroke-width","0"),this.wrapPath.setAttribute("fill",this.fill),this.wrapPath.setAttribute("d","M "+this.points.map((function(t){var e=t.x,n=t.y;return e+" "+n})).join(" L "))),isNaN(this.points[0].x))return;this.overLine1.setAttribute("d","M "+this.points[0].x+" "+this.points[0].y+" L "+this.points[2].x+" "+this.points[2].y),this.overLine2.setAttribute("d","M "+this.points[3].x+" "+this.points[3].y+" L "+this.points[1].x+" "+this.points[1].y),this.topLine.setAttribute("d","M "+this.points[3].x+" "+this.points[3].y+" L "+this.points[2].x+" "+this.points[2].y),this.leftLine.setAttribute("d","M "+this.points[0].x+" "+this.points[0].y+" L "+this.points[3].x+" "+this.points[3].y),this.rightLine.setAttribute("d","M "+this.points[2].x+" "+this.points[2].y+" L "+this.points[1].x+" "+this.points[1].y),this.bottomLeft.setAttribute("d","M "+this.points[0].x+" "+this.points[0].y+" L "+this.points[1].x+" "+this.points[1].y),~this.selectLineIndex&&this.lines[this.selectLineIndex].setAttribute("stroke",this.hover.strokeBorder),this.attachment.update()}catch(n){}}},e.prototype.hasTriggerEvent=function(){var t=r["a"].examples.get(this.renderer).some((function(t){return t.__draging}));return t},e.prototype.wallSelect=function(){var t=this;this.select?Object.keys(this.hover).forEach((function(e){return t[e]=t.hover[e]})):Object.keys(this.init).forEach((function(e){return t[e]=t.init[e]}))},e.prototype.addEvent=function(){var t=this;this.wrapPath.addEventListener("mouseenter",this.__enterHandle,!1),this.wrapPath.addEventListener("mouseleave",this.__leaveHandle,!1),this.lines.forEach((function(e){e.addEventListener("mouseenter",t.__lineEnter,!1),e.addEventListener("mouseleave",t.__lineLeave,!1),e.addEventListener("click",t.__lineClick,!1)}))},e.prototype.updateThickness=function(t){void 0===t&&(t=[this.points[0],this.points[3]]),this.thickness=Object(h["x"])({points:t})},e.prototype.checkPeripheral=function(t){return void 0===t&&(t=this.points),!0},e.prototype.getPeripheral=function(t){void 0===t&&(t=this.points);var e={x:this.firstLinePoints[0].x-this.attachment.points[0].x,y:this.firstLinePoints[0].y-this.attachment.points[0].y},n={x:this.firstLinePoints[1].x-this.attachment.points[1].x,y:this.firstLinePoints[1].y-this.attachment.points[1].y},i=e.x||e.y?e:n,r={x:t[3].x+i.x,y:t[3].y+i.y},o={x:t[2].x+i.x,y:t[2].y+i.y},s={points:[t[0],t[1]]},g=Object(h["f"])(s,t[0],this.thickness).sort((function(t,e){return Object(h["x"])({points:[t,r]})-Object(h["x"])({points:[e,r]})}))[0],A=Object(h["f"])(s,t[1],this.thickness).sort((function(t,e){return Object(h["x"])({points:[t,o]})-Object(h["x"])({points:[e,o]})}))[0],a=Object(h["d"])({points:[t[0],g]},t[0],this.thickness),C=a[0],I=a[1];g=Object(h["x"])({points:[C,t[3]]})>Object(h["x"])({points:[I,t[3]]})?I:C;var c=Object(h["d"])({points:[t[1],A]},t[1],this.thickness),l=c[0],u=c[1],p=null;return Object(h["x"])({points:[l,t[2]]})>Object(h["x"])({points:[u,t[2]]})?(A=u,p=l):(A=l,p=u),Math.abs(Object(h["x"])({points:[A,g]})-Object(h["x"])({points:[t[0],t[1]]}))>.01&&(A=p),t=D(t),t[2]=A,t[3]=g,this.checkPeripheral(t)?[A,g]:[]},e.prototype.updatePeripheral=function(t){void 0===t&&(t=this.points);var e=this.getPeripheral(t);return this.points[2].x=e[0].x,this.points[2].y=e[0].y,this.points[3].x=e[1].x,this.points[3].y=e[1].y,this.readyPoints=t.slice(0,2).concat(e),!0},e.prototype.intercept=function(e,n,r){var o,s,g,A,a=n.x,C=n.y;if(i["f"].isUndefined(a)||i["f"].isUndefined(C))return!0;if(!1===(o=t.prototype.intercept.call(this,e,{x:a,y:C},r)))return o;if(s=this.points.findIndex((function(t){return e.some((function(e){return e===t}))})),A=this.attachment.points.findIndex((function(t){return g=e.find((function(e){return e===t}))})),!~s&&g){var I=[];I[this.points.indexOf(this.linePoints[0])]=o.__points[0],I[this.points.indexOf(this.linePoints[1])]=o.__points[1],I.push(this.points[2],this.points[3]),this.firstLinePoints[A]=g;var c=this.getPeripheral(I);if(this.cacheVers=[Object(h["z"])({points:[this.points[1],this.points[2]]}),Object(h["z"])({points:[this.points[0],this.points[3]]})],0===c.length)return!1}else{I=D(this.points);if(!~s)return o;if(I[s]=N({},r[e.indexOf(I[s])]),!(s<2)){var l=void 0,u=void 0,p=void 0,d=void 0,f=void 0,y=void 0;2===s?(l={points:[this.points[1],this.points[2]]},u={points:[this.points[0],this.points[3]]},p=this.points[2],d=2,f=3,y=this.cacheVers[1]):(u={points:[this.points[1],this.points[2]]},l={points:[this.points[0],this.points[3]]},p=this.points[3],d=3,f=2,y=l,y=this.cacheVers[0]);var v=Object(h["z"])(l);if(v.x-y.x<.01&&v.y-y.y<.01){var b=Object(h["h"])(l,{x:a,y:C}),m=Object(h["h"])(u,{x:a,y:C}),w=u.points[1].x+a-p.x,x=u.points[1].y+C-p.y,O=Object(h["h"])(u,{x:w,y:x}),P=Math.abs(this.moveLineDis-Object(h["x"])({points:[b,m]}))>Math.abs(this.moveLineDis-Object(h["x"])({points:[b,O]}))?O:m;I[d]=b,I[f]=P}return this.readyPoints=I,!0}if(!this.updatePeripheral(I))return!1}return o},e.prototype.dragStart=function(t){var e=this.lines.indexOf(t.target);this.__index=e<3?e:-1,this.__startPoints=this.points.map((function(t){return{x:t.x,y:t.y}}))},e.prototype.drag=function(t){var e={x:t.x*this.multiple,y:t.y*this.multiple},n=~this.__index?[this.points[this.__index]]:this.linePoints,i=~this.__index?[this.__startPoints[this.__index]]:this.__startPoints;if(n)if(this.__index<2)n.forEach((function(t,n){t.x=i[n].x+e.x,t.y=i[n].y+e.y}));else{var r=Object(h["h"])({points:[this.points[0],this.points[3]]},{x:this.__startPoints[3].x+e.x,y:this.__startPoints[3].y+e.y}),o=Object(h["h"])({points:[this.points[1],this.points[2]]},{x:this.__startPoints[2].x+e.x,y:this.__startPoints[2].y+e.y});this.checkPeripheral(this.points.slice(0,2).map((function(t){return{x:t.x,y:t.y}})).concat([o,r]))&&(this.points[3].x=r.x,this.points[3].y=r.y,this.points[2].x=o.x,this.points[2].y=o.y)}},e.prototype.dragEnd=function(){delete this.dragStartPoints,delete this.__index,this.updateThickness(),this.__leaveHandle(),this.__lineLeave(),t.prototype.dragEnd.call(this)},e.prototype.delEvent=function(){var t=this;this.wrapPath.removeEventListener("mouseenter",this.__enterHandle,!1),this.wrapPath.removeEventListener("mouseleave",this.__leaveHandle,!1),this.lines.forEach((function(e){e.removeEventListener("mouseenter",t.__lineEnter,!1),e.removeEventListener("mouseleave",t.__lineLeave,!1),e.removeEventListener("click",t.__lineClick,!1)}))},e.prototype.destroy=function(){this.delEvent(),t.prototype.destroy.call(this)},e}(p["default"]),R=T,V=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),X=function(){return X=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},X.apply(this,arguments)},W=function(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function s(t){try{A(i.next(t))}catch(e){o(e)}}function g(t){try{A(i["throw"](t))}catch(e){o(e)}}function A(t){t.done?n(t.value):r(t.value).then(s,g)}A((i=i.apply(t,e||[])).next())}))},G=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:g(0),throw:g(1),return:g(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function g(t){return function(e){return A([t,e])}}function A(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(g){o=[6,g],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},B=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return V(e,t),e.prototype.setHoverStyle=function(){this.color=this.hover.color,this.width=this.hover.width,this.linecap=this.hover.linecap},e.prototype.setUnHoverStyle=function(){this.color=this.init.color,this.width=this.init.width,this.linecap=this.init.linecap},e.prototype.dragStart=function(){this.clones=[],this.bkpoints=this.points.map((function(t){return{x:t.x,y:t.y}})),this.startPoint=this.renderer.screenToRealPoint({x:0,y:0}),this.bkverctor=Object(h["z"])(this)},e.prototype.drag=function(t){var e=this.renderer.screenToRealPoint(t);this.exterior||this.changePos({x:e.x-this.startPoint.x,y:e.y-this.startPoint.y})},e.prototype.dragEnd=function(){return W(this,void 0,void 0,(function(){var t,e=this;return G(this,(function(n){return t=this.renderer.processing,t.lines.forEach((function(t){var e=t.ele;e.__state.direct=!1})),t.points.forEach((function(t){var e=t.ele;e.__state.direct=!1})),setTimeout((function(){e.renderer.processing.depLines()}),500),[2]}))}))},e.prototype.directUpdate=function(t){this.__state.direct=!0;var e=B(this.points);e.forEach((function(t){return t.__state.direct=!0})),t(),e=Array.from(new Set(e.concat(this.points))),e.forEach((function(t){return t.__state.direct=!1})),this.__state.direct=!1,e.concat(e).forEach((function(t){return t.update()})),this.wallLines.filter((function(t){return t.points.some((function(t){return~e.indexOf(t)}))})).forEach((function(t){t.update(),t.points[0].wallPos&&t.points[0].wallPos(),t.points[1].wallPos&&t.points[1].wallPos(),t.wallPos&&t.wallPos(),t.fromAsync&&t.fromAsync(),t.updateJoin()}))},e.prototype.grentNewJoinLine=function(t,e){var n,i=this,r=this.renderer.processing,s=r.points.find((function(e){var n=e.ele;return n===t})),g=r.lines.find((function(t){var e=t.ele;return e===i})),A=r.addPoint(X({id:Math.max.apply(Math,r.points.map((function(t){return t.id})))+1},e));r.data.vertex.push({id:A.id,x:e.x,y:e.y});var a=g.ele,C=B(a.points);return C[a.points.indexOf(t)]=A.ele,a.directUpdate((function(){a.points=C,a.listenPointDrag(C)})),a.update(),n=r.cad.increase(o["n"],{id:r.getNewLineId(),p1:A.id,p2:s.id,isOut:a.isOut,border:a.border,exterior:a.exterior}).obj,this.wallLines.filter((function(t){return~t.points.indexOf(i.points[0])||~t.points.indexOf(i.points[1])})).forEach((function(t){t.update(),t.points[0].wallPos&&t.points[0].wallPos(),t.points[1].wallPos&&t.points[1].wallPos(),t.wallPos&&t.wallPos(),t.fromAsync&&t.fromAsync()})),n},e.prototype.getPointJoinLines=function(t){for(var e=this,n=this.wallLines.filter((function(n){return~n.points.indexOf(t)&&!(~e.points.indexOf(n.points[0])&&~e.points.indexOf(n.points[1]))})),i=[],r=function(t){i.some((function(e){return~e.points.indexOf(n[t].points[0])&&~e.points.indexOf(n[t].points[1])}))||i.push(n[t])},o=0;o<n.length;o++)r(o);return i},e.prototype.updatePoint=function(t,e,n){var i=this.getPointJoinLines(t),r=i[0],o=Object(h["z"])(this),s=Number(!this.points.indexOf(t)),g=this.points[s],A=!1;if(r){var a=Object(h["z"])(r)||r.lineVerctor,C=!1;isNaN(a.x)&&!isNaN(o.x)&&(A=!0);var I=this.points.indexOf(t),c=i.every((function(t){var e=Object(h["z"])(t);return Math.abs(Math.abs(e.x)-Math.abs(a.x))<.2&&Math.abs(Math.abs(e.y)-Math.abs(a.y))<.2})),l=Math.abs(Math.abs(a.x)-Math.abs(o.x))<.2&&Math.abs(Math.abs(a.y)-Math.abs(o.y))<.2||i.length>1&&!c;if(!~this.clones.indexOf(I)&&(l||A)){if(!A&&i.length>1){var u=i.find((function(t){var e=Object(h["z"])(t);return e.x-o.x<.1&&e.y-o.y<.1}));r=u||i.find((function(t){var e=Object(h["z"])(t),n=Math.abs(e.x-o.x),i=Math.abs(e.y-o.y);return n>.1&&n<.9||i>.1&&i<.9}))||i[0],a=r.lineVector||Object(h["z"])(r)}var p=X({},e);Math.abs(o.x)>Math.abs(o.y)?p.x=t.x:p.y=t.y,A&&(e=p),p.x===t.x&&p.y===t.y||(r=this.grentNewJoinLine(t,p.x===t.x&&p.y===t.y?e:p),C=!0,this.clones.push(I),t=r.points[Number(!r.points.indexOf(t))],a=Object(h["z"])(r),r.lineVerctor=a)}if(e=Object(h["l"])(a,r.points[0],e),r.lineVector=a,!C&&n&&!A&&(Math.abs(Math.abs(a.x)-Math.abs(o.x))<.9||Math.abs(Math.abs(a.y)-Math.abs(o.y))<.9)){var d=Object(h["F"])(r,{points:[g,{x:g.x+1e4*this.bkverctor.x,y:g.y+1e4*this.bkverctor.y}]});d&&(e=d)}}else{if(this.getPointJoinLines(g).length){var f=this.points.indexOf(t);e={x:this.bkpoints[f].x+this.points[s].x-this.bkpoints[s].x,y:this.bkpoints[f].y+this.points[s].y-this.bkpoints[s].y}}r=this}var y=Object(h["z"])({points:[g,e]});return!(isNaN(e.x)||isNaN(e.y)||n&&(Math.abs(Math.abs(this.bkverctor.x)-Math.abs(y.x))>.05||Math.abs(Math.abs(this.bkverctor.y)-Math.abs(y.y))>.05))&&(t.__state.direct=!0,t.x=e.x,t.y=e.y,t.update(),t.__state.direct=!1,r)},e.prototype.getVerPos=function(t){var e=Object(h["H"])(this);if(0===e.x)return{x:0,y:t.y};if(0===e.y)return{x:t.x,y:0};var n={points:[{x:-100*e.x,y:-100*e.y},{x:100*e.x,y:100*e.y}]},i=Object(h["B"])(n,t),r=Math.sqrt(Math.pow(t.x,2)+Math.pow(t.y,2)-Math.pow(i,2)),o=Object(h["d"])(n,{x:0,y:0},r),s=o[0],g=o[1];return Object(h["x"])({points:[s,t]})>Object(h["x"])({points:[g,t]})?g:s},e.prototype.checkJoinArch=function(){var t=p["default"].attaArch.get(this);if(!t||0===t.length)return!1;var e=t.map((function(t){return[t.linePoints[0].getLineInsertPoint(),t.linePoints[1].getLineInsertPoint()]})),n=t.some((function(t,n){if(!e[n][0]||!e[n][1]||!t.qualified(e[n]))return!0;if(!(t instanceof R))return!1;var i=t.getPeripheral(e[n].concat(t.points.slice(2)));return 0===i.length}));return n},e.prototype.updateArchs=function(){var t=p["default"].attaArch.get(this);if(t&&0!==t.length){var e=t.map((function(t){return t.lineChange().points}));t.forEach((function(t,n){if(t.__state.direct=!0,t.linePoints[0].__state.direct=!0,t.linePoints[1].__state.direct=!0,t.linePoints[0].x=e[n][0].x,t.linePoints[0].y=e[n][0].y,t.linePoints[1].x=e[n][1].x,t.linePoints[1].y=e[n][1].y,t.linePoints[0].update(),t.linePoints[1].update(),t.linePoints[0].__state.direct=!1,t.linePoints[1].__state.direct=!1,t instanceof R){var i=t.getPeripheral();t.points[2].__state.direct=!0,t.points[3].__state.direct=!0,t.points[2].x=i[0].x,t.points[2].y=i[0].y,t.points[3].x=i[1].x,t.points[3].y=i[1].y,t.points[2].update(),t.points[3].update(),t.points[2].__state.direct=!1,t.points[3].__state.direct=!1}t.__state.direct=!1,t.dragEnd(),t.update()}))}},e.prototype.changePos=function(t){var e=this;0===t.x&&0===t.y||(t=this.getVerPos(t)),this.directUpdate((function(){e.points.map((function(t){return{x:t.x,y:t.y}}));var n=[0,1],i=e.getPointJoinLines(e.points[0]),r=e.getPointJoinLines(e.points[1]),o=(e.points.map((function(t){return{x:t.x,y:t.y}})),!0);if(0===i.length)n=[1,0];else if(0!==r.length){var s=Object(h["i"])(e.bkverctor,Object(h["z"])(i[0])),g=Object(h["i"])(e.bkverctor,Object(h["z"])(r[0]));n=s>g?[0,1]:[1,0]}n.forEach((function(n,i){o&&(e.updatePoint(e.points[n],{x:e.bkpoints[n].x+t.x,y:e.bkpoints[n].y+t.y},!!i)||(o=!1))}));var A=e.renderer.processing.lines.filter((function(t){return~t.ele.points.indexOf(e.points[0])||~t.ele.points.indexOf(e.points[1])}));A.forEach((function(t){t.ele.updateArchs()}))}))},e.prototype.correct=function(){for(var t=this.renderer.processing,e=t.points.map((function(t){var e=t.ele;return e})),n=t.lines.map((function(t){var e=t.ele;return e})),i=n.filter((function(t){return~e.indexOf(t.points[0])||~e.indexOf(t.points[1])})),r=function(t,e,n){return~t.points.indexOf(e)&&~t.points.indexOf(n)},o=function(o){var g=n[o],A=e.find((function(t){return!~g.points.indexOf(t)&&(Object(h["x"])({points:[g.points[0],t]})<.02||Object(h["x"])({points:[g.points[1],t]})<.02)}));if(!A)return"continue";var a=0;if(n.some((function(t){return r(t,A,g.points[0])})))a=0;else{if(!n.some((function(t){return r(t,A,g.points[1])})))return"continue";a=1}var C=g.points[a],I=i.filter((function(t){return~t.points.indexOf(C)}));return I.forEach((function(t){var e=t.points.indexOf(C),n=t.points,i=B(n);i[e]=A,t.directUpdate((function(){t.points=i,t.listenPointDrag(i)}))})),i.filter((function(t){return~t.points.indexOf(A)&&~t.points.indexOf(C)})).forEach((function(e){t.lines.splice(t.lines.findIndex((function(t){var n=t.ele;return n===e})),1),e.destroy()})),C.destroy(),{value:s.correct()}},s=this,g=0;g<n.length;g++){var A=o(g);if("object"===Object(a["a"])(A))return A.value}},e}(k),Q=_,J=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),z=function(){return z=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},z.apply(this,arguments)},U=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},Z=function(t){function e(e){var n=e.hover,i=e.color,r=void 0===i?"#fff":i,o=e.width,s=void 0===o?3:o,g=e.linecap,A=U(e,["hover","color","width","linecap"]),a=this,C={color:r,width:s,linecap:g};return n=n||z(z({},C),{color:"rgba(243, 255, 0, 0.8)"}),a=t.call(this,z({width:s,color:r},A))||this,a.hover=n,a.init=C,a.disable=!1,a.real.setAttribute("class","variable"),a}return J(e,t),e.prototype.setHoverStyle=function(){var t=this;console.log(this.hover),Object.keys(this.hover).forEach((function(e){return t[e]=t.hover[e]}))},e.prototype.setUnHoverStyle=function(){var t=this;Object.keys(this.init).forEach((function(e){return t[e]=t.init[e]}))},e.prototype.dragStart=function(){this.dragStartPoints=this.points.map((function(t){return{x:t.x,y:t.y}}))},e.prototype.drag=function(t){var e=this;if(this.disable)return!1;this.points.forEach((function(n,i){n.x=e.dragStartPoints[i].x+t.x*e.multiple,n.y=e.dragStartPoints[i].y+t.y*e.multiple}))},e.prototype.dragEnd=function(){delete this.dragStartPoints},e}(u),Y=Z,K=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),F=function(){return F=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},F.apply(this,arguments)},H=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},q=function(t){function e(e){var n=e.points,i=e.fill,r=void 0===i?"rgba(0,0,0,0)":i,o=e.seam,s=void 0===o?"rgba(255,255,255,0)":o,g=e.bgColor,A=void 0===g?"rgba(255,255,255,0.5)":g,a=e.width,C=void 0===a?6:a,I=e.stamWidth,c=void 0===I?.5:I,l=e.hover,u=H(e,["points","fill","seam","bgColor","width","stamWidth","hover"]),h=this,p={fill:r,seam:s,width:C,stamWidth:c};return l=l||F(F({},p),{fill:"rgba(243, 255, 0, 0.8)"}),h=t.call(this,F(F({linePoints:n,bgColor:A,hover:l},u),p))||this,h.eleHover=!1,h}return K(e,t),e.prototype.grentNode=function(){var t=this,e=document.createElementNS(o["s"],"g");return this.nextTick((function(){t.outLine=new Y({points:t.linePoints,width:t.width,color:t.fill,renderer:t.renderer}),t.innerline=new Y({points:t.linePoints,width:t.stamWidth,color:t.seam,renderer:t.renderer}),t.outLine.click=t.innerline.click=function(){return t.changeSelect(!0)},e.appendChild(t.outLine.real),e.appendChild(t.innerline.real),t.linePoints&&(e.appendChild(t.linePoints[0].real),e.appendChild(t.linePoints[1].real)),t.interceptUpdateStyle(),t.outLine.update(),t.innerline.update()})),this.clip1=document.createElementNS(o["s"],"path"),this.clip2=document.createElementNS(o["s"],"path"),this.clip3=document.createElementNS(o["s"],"path"),this.clip4=document.createElementNS(o["s"],"path"),e.appendChild(this.clip1),e.appendChild(this.clip2),e.appendChild(this.clip3),e.appendChild(this.clip4),e},e.prototype.getStyle=function(){return this.eleHover||this.select?this.hover:{width:this.width,fill:this.fill,seam:this.seam,stamWidth:this.stamWidth}},e.prototype.interceptUpdateStyle=function(){var t=this,e=this.outLine.intercept,n=this.innerline.intercept;this.outLine.intercept=function(n,i){var r=n[0],o=i.width,s=i.color;if(r===t.outLine&&(o||s)){var g=t.getStyle();return{width:g.width,color:g.fill}}return e.call(t)},this.innerline.intercept=function(e,i){var r=e[0],o=i.width,s=i.color;if(r===t.innerline&&(o||s)){var g=t.getStyle();return{width:g.stamWidth,color:g.seam}}return n.call(t)}},e.prototype.update=function(){this.outLine&&(this.outLine.width=this.outLine.width+1e-8,this.innerline.width=this.innerline.width+1e-8);var t=Object(h["f"])(this.attachment,this.linePoints[0],.4*this.width*this.multiple),e=t[0],n=t[1],i=Object(h["f"])(this.attachment,this.linePoints[1],.4*this.width*this.multiple),r=i[0],o=i[1],s=Object(h["f"])(this.attachment,this.linePoints[0],.1*this.width*this.multiple),g=s[0],A=s[1],a=Object(h["f"])(this.attachment,this.linePoints[1],.1*this.width*this.multiple),C=a[0],I=a[1];if(!isNaN(e.x))try{this.clip1.setAttribute("stroke-width",this.multiple.toString()),this.clip1.setAttribute("d","M "+e.x+" "+e.y+" L "+r.x+" "+r.y),this.clip2.setAttribute("stroke-width",this.multiple.toString()),this.clip2.setAttribute("d","M "+n.x+" "+n.y+" L "+o.x+" "+o.y),this.clip3.setAttribute("stroke-width",this.multiple.toString()),this.clip3.setAttribute("d","M "+g.x+" "+g.y+" L "+C.x+" "+C.y),this.clip4.setAttribute("stroke-width",this.multiple.toString()),this.clip4.setAttribute("d","M "+A.x+" "+A.y+" L "+I.x+" "+I.y),this.clip1.setAttribute("stroke",this.bgColor),this.clip2.setAttribute("stroke",this.bgColor),this.clip3.setAttribute("stroke",this.bgColor),this.clip4.setAttribute("stroke",this.bgColor),this.attachment.update()}catch(c){}},e.prototype.wallSelect=function(){this.update&&this.update()},e.prototype.enter=function(){this.eleHover=!0,this.update()},e.prototype.leave=function(){this.eleHover=!1,this.update()},e.prototype.drag=function(t){},e}(p["default"]),$=q,tt=n("ef73"),et=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),nt=function(){return nt=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},nt.apply(this,arguments)},it=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},rt=function(t){function e(e){var n=e.points,i=e.foorWidth,r=void 0===i?6:i,o=e.foorColor,s=void 0===o?"rgba(255,255,255,0.5)":o,g=e.clipColor,A=void 0===g?"rgba(0,0,0,1)":g,a=(e.linecap,e.within),C=void 0===a?0:a,I=it(e,["points","foorWidth","foorColor","clipColor","linecap","within"]),c=this;return n[0].fillColor="rgba(0,0,0,0)",n[1].fillColor="rgba(0,0,0,0)",c=t.call(this,nt(nt({},I),{points:n,foorWidth:r,foorColor:s,within:C}))||this,c.clipColor=A,c}return et(e,t),e.prototype.setHoverStyle=function(){this.clipColor="rgba(243, 255, 0, 0.8)",this.foorColor="rgba(243, 255, 0, 0.8)"},e.prototype.setUnHoverStyle=function(){this.clipColor="rgba(0,0,0,1)",this.foorColor="rgba(255,255,255,0.5)"},e.prototype.grentNode=function(){var t=this,e=document.createElementNS(o["s"],"g");return this.clip1=document.createElementNS(o["s"],"path"),e.appendChild(this.clip1),this.clip2=document.createElementNS(o["s"],"path"),e.appendChild(this.clip2),this.path1=document.createElementNS(o["s"],"path"),e.appendChild(this.path1),this.path2=document.createElementNS(o["s"],"path"),e.appendChild(this.path2),this.left=document.createElementNS(o["s"],"rect"),this.left.setAttribute("width","0.00001"),this.left.setAttribute("height","0.00001"),e.appendChild(this.left),this.right=document.createElementNS(o["s"],"rect"),this.right.setAttribute("width","0.00001"),this.right.setAttribute("height","0.00001"),e.appendChild(this.right),this.nextTick((function(){t.linePoints&&(t.linePoints[0]&&e.appendChild(t.linePoints[0].real),t.linePoints[1]&&e.appendChild(t.linePoints[1].real),t.linePoints.forEach((function(e){e.changeSelect=function(e){e&&t.changeSelect(e)}})))})),e},e.prototype.update=function(){var t,e,n,i,r=this.foorWidth*this.multiple,o=Object(h["x"])({points:this.linePoints}),s=2*this.multiple,g=.6*o;if(this.within?(t=this.linePoints,n=t[0],i=t[1]):(e=this.linePoints,i=e[0],n=e[1]),!isNaN(n.x)){var A=Object(h["g"])({points:this.linePoints},n,g),a=Object(h["g"])({points:this.linePoints},n,g-s),C=Object(h["g"])({points:this.linePoints},i,g),I=Object(h["g"])({points:this.linePoints},i,g-s),c=Object(h["H"])({points:this.linePoints}),l=r/2,u=(r-l)/2-1e-4*this.multiple,p={x:n.x+c.x*u,y:n.y+c.y*u},d={x:A.x+c.x*u,y:A.y+c.y*u},f={x:a.x+c.x*u,y:a.y+c.y*u},y={x:i.x-c.x*u,y:i.y-c.y*u},v={x:C.x-c.x*u,y:C.y-c.y*u},b={x:I.x-c.x*u,y:I.y-c.y*u};try{this.path1.setAttribute("stroke",this.foorColor),this.path1.setAttribute("stroke-width",l.toString()),this.path1.setAttribute("d","M "+p.x+" "+p.y+" L "+d.x+" "+d.y),this.clip1.setAttribute("stroke",this.clipColor),this.clip1.setAttribute("stroke-width",(l-this.bwithin*this.multiple).toString()),this.clip1.setAttribute("d","M "+p.x+" "+p.y+" L "+f.x+" "+f.y),this.path2.setAttribute("stroke",this.foorColor),this.path2.setAttribute("stroke-width",l.toString()),this.path2.setAttribute("d","M "+y.x+" "+y.y+" L "+v.x+" "+v.y),this.clip2.setAttribute("stroke",this.clipColor),this.clip2.setAttribute("stroke-width",(l-this.bwithin*this.multiple).toString()),this.clip2.setAttribute("d","M "+y.x+" "+y.y+" L "+b.x+" "+b.y),this.left.setAttribute("x",n.x.toString()),this.left.setAttribute("y",n.y.toString()),this.left.setAttribute("stroke-width",r.toString()),this.left.setAttribute("stroke","rgba(0,0,0,0)"),this.right.setAttribute("x",i.x.toString()),this.right.setAttribute("y",i.y.toString()),this.right.setAttribute("stroke-width",r.toString()),this.right.setAttribute("stroke","rgba(0,0,0,0)"),this.attachment.update()}catch(m){}}},e}(tt["a"]),ot=rt,st=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),gt=function(t){function e(e){return t.call(this,e)||this}return st(e,t),e.prototype.grentNode=function(){var t=this,e=document.createElementNS(o["s"],"g");return this.arc1=document.createElementNS(o["s"],"path"),this.outLine1=document.createElementNS(o["s"],"path"),this.arc2=document.createElementNS(o["s"],"path"),this.outLine2=document.createElementNS(o["s"],"path"),e.appendChild(this.outLine1),e.appendChild(this.arc1),e.appendChild(this.outLine2),e.appendChild(this.arc2),this.nextTick((function(){t.linePoints&&(e.appendChild(t.linePoints[0].real),e.appendChild(t.linePoints[1].real))})),e},e.prototype.update=function(){var t;this.real.style.display=this.show?"initial":"none";var e=Object(h["v"])({points:this.linePoints}),n=this.getDrawArgs.call({linePoints:[this.linePoints[0],e],within:1===this.within?2:this.within,attachment:this.attachment}),i=n[0],r=n[1],o=n[2],s=n[3],g=n[4];if(isNaN(o.x))this.destroy();else try{if(this.arc1.setAttribute("d","M "+i.x+" "+i.y+" L "+o.x+" "+o.y+" A "+s+" "+s+" 0 0 "+(g?"1":"0")+" "+r.x+" "+r.y+" Z"),this.arc1.setAttribute("stroke-width",(this.outWidth*this.multiple).toString()),this.arc1.setAttribute("stroke",this.stroke),this.arc1.setAttribute("fill",this.fill),this.outLine1.setAttribute("stroke",this.foorColor),this.outLine1.setAttribute("fill",this.fill),this.outLine1.setAttribute("stroke-width",(this.foorWidth*this.multiple).toString()),this.outLine1.setAttribute("stroke-linecap",this.linecap),this.outLine1.setAttribute("d","M "+this.linePoints[0].x+" "+this.linePoints[0].y+" L "+this.linePoints[1].x+" "+this.linePoints[1].y),t=this.getDrawArgs.call({linePoints:[this.linePoints[1],e],within:1===this.within?2:this.within,attachment:this.attachment}),i=t[0],r=t[1],o=t[2],s=t[3],g=t[4],isNaN(o.x))return void this.destroy();this.arc2.setAttribute("d","M "+i.x+" "+i.y+" L "+o.x+" "+o.y+" A "+s+" "+s+" 0 0 "+(g?"1":"0")+" "+r.x+" "+r.y+" Z"),this.arc2.setAttribute("stroke-width",(this.outWidth*this.multiple).toString()),this.arc2.setAttribute("stroke",this.stroke),this.arc2.setAttribute("fill",this.fill),this.outLine2.setAttribute("stroke",this.foorColor),this.outLine2.setAttribute("fill",this.fill),this.outLine2.setAttribute("stroke-width",(this.foorWidth*this.multiple).toString()),this.outLine2.setAttribute("stroke-linecap",this.linecap),this.outLine2.setAttribute("d","M "+this.linePoints[0].x+" "+this.linePoints[0].y+" L "+this.linePoints[1].x+" "+this.linePoints[1].y),this.attachment.update()}catch(A){}},e}(tt["a"]),At=gt,at=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ct=function(){return Ct=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},Ct.apply(this,arguments)},It=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},ct=function(t){function e(e){var n=e.minWidth,i=void 0===n?.1:n,r=e.points,o=e.renderer,s=e.top,g=e.bottom,a=e.angle,C=void 0===a?0:a,I=e.stroke,c=void 0===I?"rgba(255,255,255,0.5)":I,l=e.width,u=void 0===l?1:l,p=It(e,["minWidth","points","renderer","top","bottom","angle","stroke","width"]),d=this,f=r.map((function(t){return new A["a"](Ct(Ct({},t),{renderer:o}))})),y=f.map((function(t,e){return new Y({points:[f[e],f[e===f.length-1?0:e+1]],renderer:o,width:u,color:c})}));d=t.call(this,Ct(Ct({},p),{points:f,lines:y,renderer:o,angle:C,stroke:c,width:u,fill:"rgba(0,0,0,0)"}))||this,d.paths=y,d.points=f,d.zIndex=1,d.minWidth=i,d.stop=!0;var v=[];return Object.defineProperty(d,"movePoints",{get:function(){return v},set:function(t){v=t,t&&t.length>=2?this.moveLineDis=Object(h["x"])({points:v}):delete this.moveLineDis}}),d.real.setAttribute("class","variable"),Object.defineProperty(d,"top",{get:function(){return s},set:function(t){s=t,this.wallPos&&this.wallPos()}}),Object.defineProperty(d,"bottom",{get:function(){return g},set:function(t){g=t,this.wallPos&&this.wallPos()}}),d}return at(e,t),e.prototype.setHoverStyle=function(){this.fill="rgba(243, 255, 0, 0.8)"},e.prototype.setUnHoverStyle=function(){this.fill="rgba(243, 255, 0, 0)"},e.prototype.rotate=function(t){var e=this;if(t===this.angle)return!1;var n=Object(h["b"])(this.points,t-this.angle);return!!this.check(n)&&(this.stop=!1,this.points.forEach((function(t,e){t.x=n[e].x,t.y=n[e].y})),this.nextTick((function(){return e.stop=!0})),!0)},e.prototype.grentNode=function(){var t=this,e=document.createElementNS(o["s"],"g");return this.wrapPath=document.createElementNS(o["s"],"path"),e.appendChild(this.wrapPath),this.nextTick((function(){t.lines.forEach((function(n){n.changeSelect=function(e){e&&t.changeSelect(e)},n.update(),e.appendChild(n.real)}))})),e},e.prototype.update=function(){var t=this;this.wrapPath&&(this.wrapPath.setAttribute("stroke-width",(this.width*this.multiple).toString()),this.wrapPath.setAttribute("d","M "+this.points.map((function(t){var e=t.x,n=t.y;return e+" "+n})).join(" L ")+" z"),this.wrapPath.setAttribute("fill",this.fill),this.wrapPath.setAttribute("stroke",this.stroke)),this.lines.forEach((function(e){e.real.setAttribute("stroke",t.stroke)}))},e.prototype.checkWidth=function(t){var e=this;return void 0===t&&(t=this.points),!t.some((function(n,i){var r=t[i===t.length-1?0:i+1];return Object(h["x"])({points:[n,r]})<=e.minWidth}))},e.prototype.qualified=function(t,e){void 0===t&&(t=this.points),void 0===e&&(e=this.room);var n=this.renderer.processing.getRoomEles(e);return!!Object(h["p"])(n.ground,t)&&!n.hole.some((function(e){return Object(h["q"])(e,t)||Object(h["p"])(e,t)||Object(h["p"])(t,e)}))},e.prototype.check=function(t){return void 0===t&&(t=this.points),this.checkWidth(t)},e.prototype.intercept=function(t,e,n){e.x,e.y;var r=e.angle;return!i["f"].isNumber(r)||this.rotate(r)},e.prototype.directUpdate=function(t){var e=this;t.forEach((function(t,n){e.points[n].__state.direct=!0,e.points[n].x=t.x,e.points[n].y=t.y,e.points[n].__state.direct=!1,e.points[n].update()})),this.lines.forEach((function(t){t.update()})),this.update(),this.wallPos&&this.wallPos(),this.fromAsync&&this.fromAsync()},e.prototype.dragStart=function(t){if(this.lines.some((function(e){return e.real===t.target}))){var e=this.lines.find((function(e){return e.real===t.target}));this.moveLineDis=Object(h["x"])(e)}else this.initPoints=this.points.map((function(t){return{x:t.x,y:t.y}}))},e.prototype.drag=function(t){var e=this;if(this.initPoints){this.stop=!1;var n=this.points.map((function(n,i){return{x:e.initPoints[i].x+t.x*e.multiple,y:e.initPoints[i].y+t.y*e.multiple}}));setTimeout((function(){e.directUpdate(n)}))}},e.prototype.dragEnd=function(){var t=this;this.nextTick((function(){t.stop=!0,delete t.moveLineDis})),delete this.initPoints},e.prototype.destroy=function(){this.points.forEach((function(t){return t.destroy()})),this.room=null,this.points=null,this.update=null,t.prototype.destroy.call(this)},e}(r["a"]),lt=ct,ut=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ht=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ut(e,t),e.prototype.grentNode=function(){var e=t.prototype.grentNode.call(this);return this.path1=document.createElementNS(o["s"],"path"),this.path2=document.createElementNS(o["s"],"path"),this.path1.setAttribute("stroke",this.stroke),this.path2.setAttribute("stroke",this.stroke),e.insertBefore(this.path1,e.childNodes[0]),e.insertBefore(this.path2,e.childNodes[0]),e},e.prototype.update=function(){t.prototype.update.call(this),this.path1.setAttribute("stroke-width",(this.width*this.multiple).toString()),this.path2.setAttribute("stroke-width",(this.width*this.multiple).toString()),this.path1.setAttribute("d","M "+this.points[0].x+" "+this.points[0].y+" L "+this.points[2].x+" "+this.points[2].y),this.path2.setAttribute("d","M "+this.points[1].x+" "+this.points[1].y+" L "+this.points[3].x+" "+this.points[3].y),this.path1.setAttribute("stroke",this.stroke),this.path2.setAttribute("stroke",this.stroke)},e}(lt),pt=ht,dt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ft=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return dt(e,t),e.prototype.grentNode=function(){var e=t.prototype.grentNode.call(this);return this.g=document.createElementNS(o["s"],"g"),this.path1=document.createElementNS(o["s"],"path"),this.path2=document.createElementNS(o["s"],"path"),this.path1.setAttribute("stroke",this.stroke),this.path1.setAttribute("fill","rgba(0,0,0,0)"),this.path2.setAttribute("stroke",this.stroke),this.path2.setAttribute("fill","rgba(0,0,0,0)"),this.g.appendChild(this.path1),this.g.appendChild(this.path2),e.insertBefore(this.g,e.children[0]),e},e.prototype.update=function(){t.prototype.update.call(this);var e=Object(h["a"])(this.points),n=Object(h["x"])({points:[this.points[1],this.points[2]]})/this.multiple,i=Object(h["x"])({points:[this.points[2],this.points[3]]})/this.multiple,r=(i-5*this.width)/i,o=(n-5*this.width)/n;r=r<=0?1:r,o=o<=0?1:o,this.g.setAttribute("transform","translate("+e.x+","+e.y+") scale("+(r<o?o:r)+") translate("+-e.x+","+-e.y+")"),this.path1.setAttribute("stroke-width",(this.width*this.multiple/(r<o?o:r)).toString()),this.path1.setAttribute("d","M "+this.points.map((function(t){var e=t.x,n=t.y;return e+" "+n})).join(" L ")+" Z"),this.path2.setAttribute("stroke",this.stroke);var s=this.points[2],g={points:[this.points[1],this.points[3]]},A=Object(h["v"])(g),a=Object(h["x"])({points:[A,s]})*(1/3),C=Object(h["f"])(g,A,a),I=C[0],c=C[1],l=Object(h["x"])({points:[s,I]})>Object(h["x"])({points:[s,c]})?c:I;Object(h["A"])(this.points,l)||(l=Object(h["v"])(g)),this.path2.setAttribute("stroke",this.stroke),this.path2.setAttribute("stroke-width",(this.width*this.multiple).toString()),this.path2.setAttribute("d","M "+this.points[1].x+" "+this.points[1].y+" L "+l.x+" "+l.y+" L "+this.points[3].x+" "+this.points[3].y)},e}(lt),yt=ft,vt=n("9923"),bt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),mt=function(){return mt=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},mt.apply(this,arguments)},wt=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},xt=function(t){function e(e){var n=e.pos,i=e.renderer,r=e.fontSize,o=void 0===r?12:r,s=e.color,g=void 0===s?"#fff":s,A=wt(e,["pos","renderer","fontSize","color"]),a=t.call(this,mt(mt({},A),{x:n.x,y:n.y,fontSize:o,renderer:i,color:g}))||this;return a.zIndex=-1,a}return bt(e,t),e.prototype.changeSelect=function(e){t.prototype.changeSelect.call(this,e)},e.prototype.dragStart=function(){this.dragStartPoint={x:this.x,y:this.y}},e.prototype.drag=function(t){this.x=this.dragStartPoint.x+t.x*this.multiple,this.y=this.dragStartPoint.y+t.y*this.multiple},e.prototype.grentNode=function(){var t=this,e=document.createElementNS(o["s"],"g");return this.titleNode=document.createElementNS(o["s"],"text"),this.titleNode.setAttribute("fill","#fff"),this.titleNode.setAttribute("text-anchor","middle"),this.titleNode.setAttribute("dy",".4em"),this.contentNode=document.createElementNS(o["s"],"text"),this.contentNode.setAttribute("fill","#fff"),this.contentNode.setAttribute("text-anchor","middle"),this.contentNode.setAttribute("dy",".4em"),e.appendChild(this.titleNode),e.appendChild(this.contentNode),this.nextTick((function(){return t.update()})),e},e.prototype.setHoverStyle=function(){},e.prototype.setUnHoverStyle=function(){},e.prototype.update=function(){var t=this.fontSize*this.multiple;this.titleNode.setAttribute("x",this.x.toString()),this.titleNode.setAttribute("y",this.y.toString()),this.titleNode.setAttribute("font-size",t.toString()),this.titleNode.style.display=this.show&&this.showTitle?"inherit":"none",this.titleNode.textContent=this.title||vt["a"].t("modules.model.tagging_name_tips"),this.contentNode.setAttribute("x",this.x.toString()),this.contentNode.setAttribute("y",(this.y+t+t/5).toString()),this.contentNode.setAttribute("font-size",t.toString()),this.contentNode.style.display=this.show&&this.showContent?"inherit":"none",this.contentNode.textContent=this.content,this.select?(this.titleNode.setAttribute("fill","rgb(0, 200, 175)"),this.contentNode.setAttribute("fill","rgb(0, 200, 175)")):(this.titleNode.setAttribute("fill",this.color),this.contentNode.setAttribute("fill",this.color))},e.prototype.destroy=function(){t.prototype.destroy.call(this)},e}(r["a"]),Ot=xt,Pt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),jt=function(){return jt=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},jt.apply(this,arguments)},St=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},Et=function(t){function e(e){var n=e.points,i=e.width,r=void 0===i?3:i,o=St(e,["points","width"]);return t.call(this,jt({linePoints:n,fill:"rgba(255,255,255,0.5)",width:r},o))||this}return Pt(e,t),e.prototype.grentNode=function(){var t=this,e=document.createElementNS(o["s"],"g");return this.clip1=document.createElementNS(o["s"],"path"),this.clip2=document.createElementNS(o["s"],"path"),this.clip3=document.createElementNS(o["s"],"path"),this.clip4=document.createElementNS(o["s"],"path"),this.clip5=document.createElementNS(o["s"],"path"),this.clip1.setAttribute("stroke",this.fill),this.clip2.setAttribute("stroke",this.fill),this.clip3.setAttribute("stroke",this.fill),this.clip4.setAttribute("stroke",this.fill),this.clip5.setAttribute("stroke",this.fill),e.appendChild(this.clip1),e.appendChild(this.clip2),e.appendChild(this.clip3),e.appendChild(this.clip4),e.appendChild(this.clip5),this.nextTick((function(){t.linePoints&&(e.appendChild(t.linePoints[0].real),e.appendChild(t.linePoints[1].real))})),e},e.prototype.setHoverStyle=function(){this.fill="rgba(243, 255, 0, 0.8)"},e.prototype.setUnHoverStyle=function(){this.fill="rgba(255,255,255,0.5)"},e.prototype.update=function(){var t=Object(h["f"])(this.attachment,this.linePoints[0],.4*this.width*this.multiple),e=t[0],n=t[1],i=Object(h["f"])(this.attachment,this.linePoints[1],.4*this.width*this.multiple),r=i[0],o=i[1],s=Object(h["f"])(this.attachment,this.linePoints[0],.15*this.width*this.multiple),g=s[0],A=s[1],a=Object(h["f"])(this.attachment,this.linePoints[1],.15*this.width*this.multiple),C=a[0],I=a[1],c=Object(h["v"])({points:[g,C]}),l=Object(h["v"])({points:[A,I]});if(!isNaN(e.x))try{this.clip1.setAttribute("stroke-width",this.multiple.toString()),this.clip1.setAttribute("d","M "+e.x+" "+e.y+" L "+r.x+" "+r.y),this.clip2.setAttribute("stroke-width",this.multiple.toString()),this.clip2.setAttribute("d","M "+n.x+" "+n.y+" L "+o.x+" "+o.y),this.clip3.setAttribute("stroke-width",this.multiple.toString()),this.clip3.setAttribute("d","M "+g.x+" "+g.y+" L "+C.x+" "+C.y),this.clip4.setAttribute("stroke-width",this.multiple.toString()),this.clip4.setAttribute("d","M "+A.x+" "+A.y+" L "+I.x+" "+I.y),this.clip5.setAttribute("stroke-width",(6*this.multiple).toString()),this.clip5.setAttribute("d","M "+c.x+" "+c.y+" L "+l.x+" "+l.y),this.clip1.setAttribute("stroke",this.fill),this.clip2.setAttribute("stroke",this.fill),this.clip3.setAttribute("stroke",this.fill),this.clip4.setAttribute("stroke",this.fill),this.clip5.setAttribute("stroke",this.fill),this.attachment.update()}catch(u){}},e.prototype.dragStart=function(t){this.move=this.linePoints[0].real.contains(t.target)||this.linePoints[1].real.contains(t.target),this.dragStartPoints=this.linePoints.map((function(t){return{x:t.x,y:t.y}}))},e.prototype.drag=function(t){var e=this;this.move||this.linePoints.forEach((function(n,i){n.x=e.dragStartPoints[i].x+t.x*e.multiple,n.y=e.dragStartPoints[i].y+t.y*e.multiple}))},e.prototype.dragEnd=function(){this.move=!1,delete this.dragStartPoints},e}(p["default"]),kt=Et,Mt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Nt=function(){return Nt=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},Nt.apply(this,arguments)},Lt=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},Dt=function(t){function e(e){var n=e.points,i=e.within,r=void 0===i?0:i,o=e.width,s=void 0===o?1:o,g=Lt(e,["points","within","width"]),A=this;return n[0].fillColor="rgba(0,0,0,0)",n[1].fillColor="rgba(0,0,0,0)",A=t.call(this,Nt({linePoints:n,fill:"rgba(243, 255, 0, 0)",stroke:"rgba(255,255,255,0.5)",within:r,width:s},g))||this,A}return Mt(e,t),e.prototype.grentNode=function(){var t=this,e=document.createElementNS(o["s"],"g");return e.innerHTML='\n <path class="ground-case-out" stroke="'+this.stroke+'" fill="rgba(0,0,0,0)"/>\n <path class="ground-case-in" stroke="'+this.stroke+'" fill="rgba(0,0,0,0)" />\n <rect width="0.00001" height="0.00001" class="ground-case-left" stroke="rgba(255,255,255,0)" />\n <rect width="0.00001" height="0.00001" class="ground-case-right" stroke="rgba(255,255,255,0)" />\n ',this.out=e.querySelector(".ground-case-out"),this.in=e.querySelector(".ground-case-in"),this.left=e.querySelector(".ground-case-left"),this.right=e.querySelector(".ground-case-right"),this.nextTick((function(){t.linePoints&&(e.appendChild(t.linePoints[0].real),e.appendChild(t.linePoints[1].real))})),e},e.prototype.setHoverStyle=function(){this.fill="rgba(243, 255, 0, 0.8)"},e.prototype.setUnHoverStyle=function(){this.fill="rgba(0,0,0,0)"},e.prototype.getOutInPath=function(t,e,n,i,r,o,s){var g=this;void 0===o&&(o=0),void 0===s&&(s=0);var A,a=n,C=Object(h["f"])(this.attachment,t,a),I=Object(h["f"])(this.attachment,e,a),c={x:0,y:0},l=Object(h["x"])({points:[C[0],c]})<Object(h["x"])({points:[C[1],c]}),u=this.within?l?C[1]:C[0]:l?C[0]:C[1];u?A=I[C.indexOf(u)]:(A=this.within?I.find((function(t){return g.rooms.find((function(e){return!Object(h["A"])(e,t)}))})):I.find((function(t){return g.rooms.find((function(e){return Object(h["A"])(e,t)}))})),A?u=C[I.indexOf(A)]:(u=C[0],A=I[0])),o=o||u,s=s||A;var p=Object(h["f"])(this.attachment,t,r),d=p.sort((function(t,e){return Object(h["x"])({points:[o,t]})-Object(h["x"])({points:[o,e]})}))[1],f=Object(h["f"])(this.attachment,e,r),y=f.sort((function(t,e){return Object(h["x"])({points:[s,t]})-Object(h["x"])({points:[s,e]})}))[1];return[u,A,y,d,u]},e.prototype.update=function(){var t=3*this.width*this.multiple,e=this.width*this.multiple,n=.4*Object(h["x"])({points:this.linePoints});n/this.multiple>30&&(n=30*this.multiple);var i=this.linePoints[0],r=this.linePoints[1],o=Object(h["d"])(this.attachment,i,t),s=o[0],g=o[1],A=Object(h["d"])(this.attachment,r,t),a=A[0],C=A[1];if(i=Object(h["x"])({points:[s,r]})>Object(h["x"])({points:[g,r]})?s:g,r=Object(h["x"])({points:[a,i]})>Object(h["x"])({points:[C,i]})?a:C,!isNaN(s.x))try{this.left.setAttribute("stroke-width",t.toString()),this.left.setAttribute("x",this.linePoints[0].x.toString()),this.left.setAttribute("y",this.linePoints[0].y.toString()),this.right.setAttribute("stroke-width",t.toString()),this.right.setAttribute("x",this.linePoints[1].x.toString()),this.right.setAttribute("y",this.linePoints[1].y.toString());var I=this.getOutInPath(i,r,t,e,n);this.ctl=[I[2],I[3]],this.out.setAttribute("fill",this.fill),this.out.setAttribute("stroke-width",e.toString()),this.out.setAttribute("stroke",this.stroke),this.out.setAttribute("d",I.map((function(t,e){return(e?"L ":"M ")+t.x+" "+t.y})).join(" "));var c=Object(h["g"])({points:this.linePoints},i,t),l=Object(h["g"])({points:this.linePoints},r,t);this.in.setAttribute("fill",this.fill),this.in.setAttribute("stroke-width",e.toString()),this.in.setAttribute("stroke",this.stroke),this.in.setAttribute("d",this.getOutInPath(c,l,t,e,n-Object(h["x"])({points:[c,i]}),I[0],I[1]).map((function(t,e){return(e?"L ":"M ")+t.x+" "+t.y})).join(" ")),this.attachment.update()}catch(u){}},e.prototype.dragStart=function(t){this.move=this.linePoints[0].real.contains(t.target)||this.linePoints[1].real.contains(t.target),this.dragStartPoints=this.linePoints.map((function(t){return{x:t.x,y:t.y}}))},e.prototype.drag=function(t){var e=this;this.move||this.linePoints.forEach((function(n,i){n.x=e.dragStartPoints[i].x+t.x*e.multiple,n.y=e.dragStartPoints[i].y+t.y*e.multiple}))},e.prototype.dragEnd=function(){this.move=!1,delete this.dragStartPoints},e}(p["default"]),Tt=Dt,Rt=n("4f47"),Vt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Xt=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},Wt=function(t){function e(e){var n=Xt(e,[]),i=t.call(this,n)||this;return i.__lineClick=i.borderClick.bind(i),i}return Vt(e,t),e.prototype.borderClick=function(t){this.selectLineIndex=this.lines.indexOf(t.target);var e=[this.leftLine,this.bottomLeft,this.rightLine,this.topLine];return t.stopPropagation(),e.indexOf(t.target)},e.prototype.grentNode=function(){var t=this,e=document.createElementNS(o["s"],"g");this.stcon=document.createElementNS(o["s"],"g"),this.wrapPath=document.createElementNS(o["s"],"path"),this.leftLine=document.createElementNS(o["s"],"path"),this.rightLine=document.createElementNS(o["s"],"path"),this.bottomLeft=document.createElementNS(o["s"],"path"),this.topLine=document.createElementNS(o["s"],"path"),this.image=document.createElementNS(o["s"],"image"),this.image.href.baseVal=Rt,this.image.style.display="none",this.lines=[this.leftLine,this.rightLine,this.topLine,this.bottomLeft],this.wrapPath.setAttribute("stroke","rgba(0,0,0,0)");var n=function(){t.linePoints&&(t.points=t.linePoints.concat(t.otherPoints)),t.addEvent(),t.updateThickness(),t.updateFirstLinePoints()};return this.nextTick(n),e.appendChild(this.stcon),e.appendChild(this.wrapPath),e.appendChild(this.leftLine),e.appendChild(this.topLine),e.appendChild(this.rightLine),e.appendChild(this.bottomLeft),e.appendChild(this.image),e},e.prototype.update=function(){var t=this;if(this.points){if(this.points.some((function(t){return isNaN(t.x)||isNaN(t.y)})))return this.destroy();console.log(this.points);var e=this.width*this.multiple;this.lines.forEach((function(n){n.setAttribute("stroke-width",e.toString()),n.setAttribute("stroke-linecap","round"),n.setAttribute("stroke",t.stroke)})),i["f"].isNumber(this.hoverIndex)?this.lines[this.hoverIndex].setAttribute("stroke",this.hover.strokeBorder):(this.wrapPath.setAttribute("stroke-width","0"),this.wrapPath.setAttribute("fill",this.fill),this.wrapPath.setAttribute("d","M "+this.points.map((function(t){var e=t.x,n=t.y;return e+" "+n})).join(" L "))),this.topLine.setAttribute("d","M "+this.points[3].x+" "+this.points[3].y+" L "+this.points[2].x+" "+this.points[2].y),this.leftLine.setAttribute("d","M "+this.points[0].x+" "+this.points[0].y+" L "+this.points[3].x+" "+this.points[3].y),this.rightLine.setAttribute("d","M "+this.points[2].x+" "+this.points[2].y+" L "+this.points[1].x+" "+this.points[1].y),this.bottomLeft.setAttribute("d","M "+this.points[0].x+" "+this.points[0].y+" L "+this.points[1].x+" "+this.points[1].y),~this.selectLineIndex&&this.lines[this.selectLineIndex].setAttribute("stroke",this.hover.strokeBorder),this.attachment.update(),this.stcon.innerHTML="";var n=[{points:[this.points[0],this.points[3]]},{points:[this.points[0],this.points[1]]},{points:[this.points[1],this.points[2]]},{points:[this.points[3],this.points[2]]}],r=Object(h["c"])(n[0],n[1]);if(!(r<80||r>100)){var s=n[this.highBorder],g=n[(this.highBorder+2)%n.length],A=.05,a=Object(h["x"])({points:[g.points[0],s.points[0]]}),C=Object(h["x"])(g),I=C/2-.05,c=.1;C<.5&&(I=C/2-C/10),a<1&&(c=a/10);var l={points:[Object(h["g"])(g,g.points[1],I),g.points[1]]},u={points:[Object(h["g"])(s,s.points[1],I),s.points[1]]};if(u.points.concat(l.points).some((function(t){return isNaN(t.x)||isNaN(t.y)})))return this.destroy();for(var p=0;p<a-c;p+=A){var d=1*this.multiple,f=Object(h["j"])(l,l.points[0],p,u.points[0]),y=Object(h["j"])(l,l.points[1],p,u.points[1]),v=document.createElementNS(o["s"],"path");v.setAttribute("d","M "+f.x+" "+f.y+" L "+y.x+" "+y.y),v.setAttribute("stroke-width",d.toString()),v.setAttribute("stroke-linecap","round"),v.setAttribute("stroke",this.stroke),this.stcon.appendChild(v)}var b=document.createElementNS(o["s"],"path");b.setAttribute("d","M "+l.points[0].x+" "+l.points[0].y+" L "+u.points[0].x+" "+u.points[0].y),b.setAttribute("stroke-width",e.toString()),b.setAttribute("stroke-linecap","round"),b.setAttribute("stroke",this.stroke),this.stcon.appendChild(b);l={points:[g.points[0],Object(h["g"])(g,g.points[0],I)]},u={points:[s.points[0],Object(h["g"])(s,s.points[0],I)]};if(u.points.concat(l.points).some((function(t){return isNaN(t.x)||isNaN(t.y)})))return this.destroy();for(p=c;p<a;p+=A){var m=1*this.multiple,w=(f=Object(h["j"])(l,l.points[0],p,u.points[0]),y=Object(h["j"])(l,l.points[1],p,u.points[1]),document.createElementNS(o["s"],"path"));w.setAttribute("d","M "+f.x+" "+f.y+" L "+y.x+" "+y.y),w.setAttribute("stroke-width",m.toString()),w.setAttribute("stroke-linecap","round"),w.setAttribute("stroke",this.stroke),this.stcon.appendChild(w)}b=document.createElementNS(o["s"],"path");b.setAttribute("d","M "+l.points[1].x+" "+l.points[1].y+" L "+u.points[1].x+" "+u.points[1].y),b.setAttribute("stroke-width",e.toString()),b.setAttribute("stroke-linecap","round"),b.setAttribute("stroke",this.stroke),this.stcon.appendChild(b);var x=Object(h["v"])(g),O=s.points,P=Object(h["x"])({points:O}),j=Object(h["y"])({points:O},P/2).points,S=Object(h["x"])({points:j}),E=1*S,k=j[1],M=k===j[1]?j[0]:j[1],N=Object(h["f"])({points:O},k,E),L=Object(h["x"])({points:[N[0],x]})>Object(h["x"])({points:[N[1],x]})?N[0]:N[1],D=Object(h["f"])({points:O},M,E),T=Object(h["x"])({points:[D[0],x]})>Object(h["x"])({points:[D[1],x]})?D[0]:D[1],R=Object(h["a"])([k,L,T,M]),V=Object(h["w"])({points:[k,L]})+90;this.image.setAttribute("width",S.toString()),this.image.setAttribute("height",E.toString()),this.image.setAttribute("x",(R.x-S/2).toString()),this.image.setAttribute("y",(R.y-E/2).toString()),this.image.setAttribute("transform","rotate("+V+", "+R.x+", "+R.y+")")}}},e.prototype.click=function(e){t.prototype.click.call(this,e)},e.prototype.destroy=function(){t.prototype.destroy.call(this)},e}(R),Gt=Wt,Bt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),_t=function(){return _t=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},_t.apply(this,arguments)},Qt=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},Jt=function(t){function e(e){var n=e.points,i=Qt(e,["points"]);return t.call(this,_t({linePoints:n,fill:"rgba(129, 129, 129, 1)",stroke:"rgba(255,255,255,0.5)"},i))||this}return Bt(e,t),e.prototype.grentNode=function(){var t=this,e=document.createElementNS(o["s"],"g");return this.path=document.createElementNS(o["s"],"path"),this.pathc=document.createElementNS(o["s"],"path"),this.nextTick((function(){t.linePoints&&(e.appendChild(t.linePoints[0].real),e.appendChild(t.linePoints[1].real))})),e.appendChild(this.path),e.appendChild(this.pathc),e},e.prototype.setHoverStyle=function(){this.fill="rgba(243, 255, 0, 0.8)"},e.prototype.setUnHoverStyle=function(){this.fill="rgba(129, 129, 129, 1)"},e.prototype.update=function(){var t=(this.attachment.width*(this.attachment.border?2:1)+5)*this.multiple,e=this.attachment.width*(this.attachment.border?2:1)/1.5*this.multiple,n=Object(h["f"])(this.attachment,this.linePoints[0],t/2),i=n[0],r=n[1],o=Object(h["f"])(this.attachment,this.linePoints[1],t/2),s=o[0],g=o[1],A=[i,r,g,s],a=this.linePoints[0],C=this.linePoints[1],I=Object(h["f"])(this.attachment,a,e/2),c=I[0],l=I[1],u=Object(h["f"])(this.attachment,C,e/2),p=u[0],d=u[1],f=[c,l,d,p];try{this.path.setAttribute("stroke-width",this.multiple.toString()),this.path.setAttribute("stroke",this.fill),this.path.setAttribute("fill","rgba(0,0,0,0)"),this.path.setAttribute("d","M "+A.map((function(t){return t.x+" "+t.y})).join("L")+" Z"),this.pathc.setAttribute("stroke-width",this.multiple.toString()),this.pathc.setAttribute("stroke",this.fill),this.pathc.setAttribute("stroke",this.fill),this.pathc.setAttribute("fill","rgba(0,0,0,0)"),this.pathc.setAttribute("stroke-dasharray",3*this.multiple+","+3*this.multiple+" "),this.pathc.setAttribute("d","M "+f.map((function(t){return t.x+" "+t.y})).join("L")+" Z"),this.attachment.update()}catch(y){}},e.prototype.dragStart=function(t){this.move=this.linePoints[0].real.contains(t.target)||this.linePoints[1].real.contains(t.target),this.dragStartPoints=this.linePoints.map((function(t){return{x:t.x,y:t.y}}))},e.prototype.drag=function(t){var e=this;this.move||this.linePoints.forEach((function(n,i){n.x=e.dragStartPoints[i].x+t.x*e.multiple,n.y=e.dragStartPoints[i].y+t.y*e.multiple}))},e.prototype.dragEnd=function(){this.move=!1,delete this.dragStartPoints},e}(p["default"]),zt=Jt,Ut=function(){return Ut=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},Ut.apply(this,arguments)},Zt=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},Yt={addPoint:function(t){var e=t.id,n=t.x,i=t.y,r={id:e,ele:new A["a"]({x:n,y:i,renderer:this.render})};return this.points.push(r),this.generateElement(r.ele),r},addStair:function(t){var e=t.pos,n=t.line,i=t.top,r=t.highBorder,o=t.joinRoom,s={ele:new Gt({width:2,renderer:this.render,attachment:this.lines.find((function(t){var e=t.id;return e===n})).ele,points:[{x:e[0],y:e[1]},{x:e[2],y:e[3]},{x:e[6],y:e[7]},{x:e[4],y:e[5]}],highBorder:r,joinRoom:o,top:i})};return this.stairs.push(s),this.generateElement(s.ele),s},addLine:function(t){var e=t.id,n=t.p1,i=t.p2,r=t.border,o=t.exterior,s=t.isOut,g={id:e,ele:new Q({border:r,exterior:o,points:[this.points.find((function(t){return t.id===n})).ele,this.points.find((function(t){return t.id===i})).ele],renderer:this.render,isOut:s}),border:r,isOut:s,exterior:o};return this.lines.push(g),this.generateElement(g.ele),o&&(g.ele.points.forEach((function(t){return t.real.setAttribute("pointer-events","none")})),g.ele.zIndex=-1),g},addCase:function(t){var e=t.pos,n=t.line,i=t.top,r=void 0===i?null:i,o=t.bottom,s=void 0===o?null:o,g={ele:new $({renderer:this.render,attachment:this.lines.find((function(t){var e=t.id;return e===n})).ele,points:[{x:e[0],y:e[1]},{x:e[2],y:e[3]}],top:r,bottom:s})};return this.cases.push(g),this.generateElement(g.ele),g},addDoor:function(t){var e=t.pos,n=t.line,i=t.top,r=void 0===i?null:i,o=t.bottom,s=void 0===o?null:o,g=t.within,A=t.show,a=t.start,C=t.direWithin,I={ele:new tt["a"]({show:A,renderer:this.render,attachment:this.lines.find((function(t){var e=t.id;return e===n})).ele,points:[{x:e[0],y:e[1]},{x:e[2],y:e[3]}],top:r,bottom:s,within:g,direWithin:C,start:a})};return this.doors.push(I),this.generateElement(I.ele),I},addDoorleaf:function(t){var e=t.pos,n=t.line,i={ele:new zt({renderer:this.render,attachment:this.lines.find((function(t){var e=t.id;return e===n})).ele,points:[{x:e[0],y:e[1]},{x:e[2],y:e[3]}]})};return this.doorleafs.push(i),this.generateElement(i.ele),i},adddDoubleDoor:function(t){var e=t.pos,n=t.line,i=t.top,r=void 0===i?null:i,o=t.bottom,s=void 0===o?null:o,g=t.within,A=t.show,a=t.start,C={ele:new At({show:A,renderer:this.render,attachment:this.lines.find((function(t){var e=t.id;return e===n})).ele,points:[{x:e[0],y:e[1]},{x:e[2],y:e[3]}],top:r,bottom:s,within:g,start:a})};return this.doubleDoors.push(C),this.generateElement(C.ele),C},addSlideDoor:function(t){var e=t.pos,n=t.line,i=t.top,r=void 0===i?null:i,o=t.bottom,s=void 0===o?null:o,g=t.within,A=void 0===g?0:g,a={ele:new ot({within:A,bwithin:1.5,renderer:this.render,attachment:this.lines.find((function(t){var e=t.id;return e===n})).ele,points:[{x:e[0],y:e[1]},{x:e[2],y:e[3]}],top:r,bottom:s})};return this.slideDoors.push(a),this.generateElement(a.ele),a},addBayCase:function(t){var e=t.pos,n=t.line,i=t.top,r=void 0===i?null:i,o=t.bottom,s=void 0===o?null:o,g=t.within,A={ele:new Tt({renderer:this.render,attachment:this.lines.find((function(t){var e=t.id;return e===n})).ele,points:[{x:e[0],y:e[1]},{x:e[2],y:e[3]}],top:r,bottom:s,within:g})};return this.bayCases.push(A),this.generateElement(A.ele),A},addGroundCase:function(t){var e=t.pos,n=t.line,i=t.top,r=void 0===i?null:i,o=t.bottom,s=void 0===o?null:o,g={ele:new kt({renderer:this.render,attachment:this.lines.find((function(t){var e=t.id;return e===n})).ele,points:[{x:e[0],y:e[1]},{x:e[2],y:e[3]}],top:r,bottom:s})};return this.groundCases.push(g),this.generateElement(g.ele),g},addColumn:function(t){var e=t.pos,n=t.line,i={ele:new R({renderer:this.render,attachment:this.lines.find((function(t){var e=t.id;return e===n})).ele,points:[{x:e[0],y:e[1]},{x:e[2],y:e[3]},{x:e[6],y:e[7]},{x:e[4],y:e[5]}]})};return this.columns.push(i),this.generateElement(i.ele),i},addFurnColumn:function(t){var e=t.pos,n=t.angle,i={ele:new pt({points:[{x:e[0],y:e[1]},{x:e[2],y:e[3]},{x:e[4],y:e[5]},{x:e[6],y:e[7]}],renderer:this.render,angle:n})};return this.furnColumns.push(i),this.generateElement(i.ele),i},addRoom:function(t){for(var e,n,i=this,r=t.points,o=r.map((function(t){return i.addPoint(Ut(Ut({},t),{id:i.getNewPointId()}))})),s=[],g=0;g<o.length-1;g++)s.push(this.addLine({id:this.getNewLineId(),p1:o[g].id,p2:o[g+1].id,isOut:!1,border:!1}));return s.forEach((function(t){return t.ele.update()})),(e=this.data.vertex).push.apply(e,o.map((function(t){return{id:t.id,x:t.ele.x,y:t.ele.y}}))),(n=this.data.wall).push.apply(n,s.map((function(t){return t.id}))),s},addFurnFlue:function(t){var e=t.pos,n=t.angle,i={ele:new yt({points:[{x:e[0],y:e[1]},{x:e[2],y:e[3]},{x:e[4],y:e[5]},{x:e[6],y:e[7]}],renderer:this.render,angle:n})};return this.furnFlues.push(i),this.generateElement(i.ele),i},addTagging:function(t){var e=t.pos,n=t.title,i=t.content,r=t.show,o=void 0===r||r,s=t.showTitle,g=t.showContent,A=t.img,a={ele:new Ot({show:o,pos:{x:e[0],y:e[1]},title:n,content:i,img:A,renderer:this.render,showTitle:s,showContent:g})};return this.taggings.push(a),this.generateElement(a.ele),a},generateElement:function(t){this.render.push(t),this.retrofitElementDestroy(t),t instanceof Q&&this.retrofitElementIntercept(t)},generateElements:function(){var t=this,e=Zt(this.lines.map((function(t){return t.ele})),this.points.map((function(t){return t.ele})),this.cases.map((function(t){return t.ele})),this.doors.map((function(t){return t.ele})),this.columns.map((function(t){return t.ele})));e.forEach((function(e){return t.generateElement(e)}))},toEles:function(t){var e,n=this,i=t.vertex,r=t.wall,o=t.window,s=t.door,g=t.column,A=t.slideDoor,a=t.tagging,C=t.groundCase,I=t.bayCase,c=t.furnColumn,l=t.furnFlue,u=t.doubleDoor,h=t.stair,p=t.doorleaf;this.data=t,this.points=[],this.lines=[],i.forEach((function(t){return n.addPoint(t)})),r.forEach((function(t,e){var i=t.p1,r=t.p2,o=t.border,s=t.exterior,g=t.id;n.addLine({p1:i,p2:r,id:g,border:o,exterior:s,isOut:!1})})),e=[o,s,g,A,C,I,u,p,h].map((function(t){return t.forEach((function(t){var e=r.find((function(e){var n=e.id;return t.line===n}));if(e){var i=e.p1,o=e.p2,s=n.lines.find((function(t){t.id;var e=t.ele,r=e.points.map((function(t){return n.points.find((function(e){var n=e.ele;return n===t})).id}));return~r.indexOf(i)&&~r.indexOf(o)}));t.line=s.id}else t.line=-1})),t=t.filter((function(t){return!t.pos.some((function(t){return null===t}))})),t})),o=e[0],s=e[1],g=e[2],A=e[3],C=e[4],I=e[5],u=e[6],p=e[7],h=e[8],o.forEach((function(t){return-1!==t.line&&n.addCase(t)})),s.forEach((function(t){return-1!==t.line&&n.addDoor(t)})),g.forEach((function(t){return-1!==t.line&&n.addColumn(t)})),A.forEach((function(t){return-1!==t.line&&n.addSlideDoor(t)})),C.forEach((function(t){return-1!==t.line&&n.addGroundCase(t)})),I.forEach((function(t){return-1!==t.line&&n.addBayCase(t)})),a.forEach((function(t){return n.addTagging(t)})),u.forEach((function(t){return n.adddDoubleDoor(t)})),h.forEach((function(t){return n.addStair(t)})),p.forEach((function(t){return n.addDoorleaf(t)})),c.forEach((function(t){n.addFurnColumn(t)})),l.forEach((function(t){n.addFurnFlue(t)})),this.isLoadEles=!0,this.cacheData=t,this.id=t.id},removeAll:function(){var t=this,e=this.attrs.reduce((function(e,n){return e.concat(t[n])}),[]);e.forEach((function(e){var n=e.ele;t.render.g.removeChild(n.real),t.render.elements.splice(t.render.elements.indexOf(n),1)}))},referElements:function(){var t=this,e=Zt(this.lines,this.points,this.cases,this.doors,this.columns);e.forEach((function(e){var n=e.ele;try{t.render.g.removeChild(n.real),t.render.elements.splice(t.render.elements.indexOf(n),1)}catch(i){console.error(t.render.g,n.real,i)}})),this.generateElements()},attrs:["doorleafs","cases","doors","stairs","slideDoors","doubleDoors","columns","lines","points","groundCases","taggings","bayCases","furnColumns","furnFlues"]},Kt={getRoomEles:function(t){var e=this;return{ground:t.ground.map((function(t){return e.points.find((function(e){var n=e.id;return n===t})).ele})),hole:t.hole.map((function(t){var n=t.pos;return n.map((function(t){return e.points.find((function(e){var n=e.id;return n===t})).ele}))}))}}},Ft=function(){return Ft=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},Ft.apply(this,arguments)},Ht=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},qt=function(t,e){return void 0===e&&(e=2),Number(t.toFixed(e))},$t={baseArchToData:function(t){return{line:this.getLineId(t.attachment),pos:[qt(t.linePoints[0].x),qt(t.linePoints[0].y),qt(t.linePoints[1].x),qt(t.linePoints[1].y)],top:t.top,bottom:t.bottom}},stairsData:function(t){var e=t.ele,n=this.baseArchToData(e);return Ft(Ft({},n),{pos:Ht(n.pos,[qt(e.points[3].x),qt(e.points[3].y),qt(e.points[2].x),qt(e.points[2].y)]),joinRoom:e.joinRoom,highBorder:e.highBorder})},roomArchToData:function(t){return{pos:[qt(t.points[0].x),qt(t.points[0].y),qt(t.points[1].x),qt(t.points[1].y),qt(t.points[2].x),qt(t.points[2].y),qt(t.points[3].x),qt(t.points[3].y)],top:t.top,bottom:t.bottom,angle:t.angle}},pointToData:function(t){var e=t.ele,n=t.id;return{id:n,x:qt(e.x),y:qt(e.y)}},lineToData:function(t){var e=t.ele,n=t.id,i=t.border;return{id:n,p1:this.getPointId(e.points[0]),p2:this.getPointId(e.points[1]),border:i,exterior:e.exterior}},doorToData:function(t){var e=t.ele,n=this.baseArchToData(e);return n.within=e.within,n.show=e.show,n.ctl=[e.ctl[0].x,-e.ctl[0].y],n.start=e.start,n.direWithin=e.direWithin,n},doorleafToData:function(t){var e=t.ele,n=this.baseArchToData(e);return n},DoubleDoorToData:function(t){var e=t.ele,n=this.baseArchToData(e);return n.within=e.within,n.show=e.show,n},slideDoorToData:function(t){var e=t.ele,n=this.baseArchToData(e);return n.within=e.within,n.show=e.show,n},caseToData:function(t){var e=t.ele;return this.baseArchToData(e)},groundCaseToData:function(t){var e=t.ele;return this.baseArchToData(e)},BayCaseToData:function(t){var e=t.ele,n=this.baseArchToData(e);return n.within=e.within,n.ctl=[e.ctl[0].x,-e.ctl[0].y,e.ctl[1].x,-e.ctl[1].y],n},columnToData:function(t){var e=t.ele,n=this.baseArchToData(e);return Ft(Ft({},n),{pos:Ht(n.pos,[qt(e.points[3].x),qt(e.points[3].y),qt(e.points[2].x),qt(e.points[2].y)])})},taggingToData:function(t){var e=t.ele;return{pos:[e.x,e.y],title:e.title,img:e.img,content:e.content,showTitle:e.showTitle,showContent:e.showContent}},furnColumnToData:function(t){var e=t.ele;return this.roomArchToData(e)},furnFlueToData:function(t){var e=t.ele;return this.roomArchToData(e)},getNewPointId:function(){return 0===this.points.length?1:Math.max.apply(Math,this.points.map((function(t){var e=t.id;return e})))+1},getNewLineId:function(){return 0===this.lines.length?1:Math.max.apply(Math,this.lines.map((function(t){var e=t.id;return e})))+1},getLineId:function(t){var e=this.lines.find((function(e){var n=e.ele;return n===t}));return e?e.id:0},getPointId:function(t){return this.points.find((function(e){var n=e.ele;return n===t})).id},toData:function(){var t=this;if(!this.isLoadEles)return this.cacheData;var e=this.points.map((function(e){return t.pointToData(e)})),n=this.columns.map((function(e){return t.columnToData(e)})),i=this.cases.map((function(e){return t.caseToData(e)})),r=this.doors.map((function(e){return t.doorToData(e)})),o=this.slideDoors.map((function(e){return t.slideDoorToData(e)})),s=this.groundCases.map((function(e){return t.groundCaseToData(e)})),g=this.taggings.map((function(e){return t.taggingToData(e)})),A=this.bayCases.map((function(e){return t.BayCaseToData(e)})),a=this.doubleDoors.map((function(e){return t.DoubleDoorToData(e)})),C=this.stairs.map((function(e){return t.stairsData(e)})),I=this.furnColumns.map((function(e){return t.furnColumnToData(e)})),c=this.furnFlues.map((function(e){return t.furnFlueToData(e)})),l=this.doorleafs.map((function(e){return t.doorleafToData(e)})),u=[];return this.lines.forEach((function(e){try{u.push(t.lineToData(e))}catch(n){}})),{id:this.id,name:this.name,show:this.show,vertex:e,subgroup:this.subgroup,wall:u,window:i,door:r,column:n,surplus:this.data.surplus,slideDoor:o,groundCase:s,tagging:g,doubleDoor:a,bayCase:A,furnColumn:I,furnFlue:c,stair:C,doorleaf:l,dire:this.data.dire}}},te=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},ee={lineInsertPoint:function(t,e){var n=this,i=[],r=[],s=this,g=s.points.find((function(t){return t.ele===e}));return g?(s.lines.forEach((function(A){var a=A.ele;A.border;if(~a.points.indexOf(t.points[0])&&~a.points.indexOf(t.points[1])&&!s.lines.some((function(t){var n=t.ele;return~n.points.indexOf(e)&&~n.points.indexOf(a.points[0])}))){var C=p["default"].attaArch.get(a);n.cad.increase;var I={ele:n.cad.increase(o["n"],{id:n.getNewLineId(),p1:s.getPointId(a.points[0]),p2:g.id,border:a.border,exterior:a.exterior,isOut:a.isOut}).obj};r.push(I),I.ele.update();var c=[g.ele,a.points[1]];a.points=c,a.listenPointDrag([g.ele,a.points[1]]),i.push(new Promise((function(t){a.nextTick((function(){a.updateJoin(),I.ele.updateJoin(),C&&te(C).forEach((function(t){Object(h["B"])(I.ele,t.linePoints[0])<.1&&Object(h["B"])(I.ele,t.linePoints[1])<.1&&t.setAttachment(I.ele)})),setTimeout(t,200)}))})))}})),{lines:r,promis:Promise.all(i),ret:!0}):{ret:!1}}},ne=function(){return ne=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},ne.apply(this,arguments)},ie=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},re=function(){function t(t){var e=t.dom;this.render=new g({layer:e,processing:this}),this.id=1,this.subgroup=1,this.name="",this.points=[],this.lines=[],this.cases=[],this.doors=[],this.doorleafs=[],this.columns=[],this.slideDoors=[],this.groundCases=[],this.stairs=[],this.taggings=[],this.bayCases=[],this.furnColumns=[],this.furnFlues=[],this.doubleDoors=[],this.isLoadEles=!1,this.manageShow()}return t.prototype.manageShow=function(){var t=this,e=!1;Object.defineProperty(this,"show",{get:function(){return e},set:function(n){e=n,t.render.svg.style.display=e?"block":"none"}})},t.prototype.rep=function(t){var e=this;this.attrs.forEach((function(n){var i=e[n].findIndex((function(e){var n=e.ele;return n===t}));~i&&(t.__id=e[n][i]&&e[n][i].id,e[n].splice(i,1))})),this.render,this.render&&this.render.remove(t)},t.prototype.retrofitElementDestroy=function(t){var e=this,n=t.destroy;t.__load_destroy||(t.__load_destroy=!0,t.destroy=function(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];i[0]?e.rep(t):t.nextTick((function(){return e.rep(t)})),n.call.apply(n,ie([t],i)),t.__load_destroy=!1})},t.prototype.updateWallPoints=function(t,e,n){},t.prototype.retrofitElementIntercept=function(t){},t.prototype.depLines=function(){for(var t,e=ie(this.lines),n=function(n){var i=e[n].ele,r=e.some((function(t){var e=t.ele;return i!==e&&(i.points[0]===e.points[0]&&i.points[1]===e.points[1]||i.points[1]===e.points[0]&&i.points[0]===e.points[1])}));(i.points[0]===i.points[1]||r)&&(e[n].ele.destroy(),e.splice(n--,1)),t=n},i=0;i<e.length;i++)n(i),i=t},t.prototype.destroy=function(){var t=this,e=this.attrs.map((function(e){return t[e]}));this.data={id:1,subgroup:1,name:"",vertex:[],doorleaf:[],wall:[],window:[],column:[],door:[],surplus:[],stair:[],slideDoor:[],tagging:[],groundCase:[],bayCase:[],doubleDoor:[],furnColumn:[],furnFlue:[],dire:0},e.forEach((function(t){while(t.length)t[0].ele.destroy(!0)})),this.render.destroy(),this.render=null},t}(),oe=re,se=ne(ne(ne(ne({},Yt),Kt),$t),ee);Object.keys(se).forEach((function(t){return re.prototype[t]=se[t]}));var ge=function(){function t(t){var e=this,n=t.dom,i=t.padding,r=void 0===i?0:i;this.processings=[],Object.defineProperty(this,"processing",{get:function(){return this.processings&&this.processings.find((function(t){return t.show}))}}),this.layer=n,this.padding=r,this.isDestroy=!1,this.resizeHandle=function(){return e.processing.data&&e.adapt(e.processing.data)},this.init()}return t.prototype.changeProcessing=function(t,e){var n;n=i["f"].isNumber(t)?this.processings.find((function(e){return e.subgroup===t})):i["f"].isString(t)?this.processings.find((function(e){return e.name===t})):~this.processings.indexOf(t)?t:void 0,n&&(this.processings.forEach((function(t){t.show=!1})),n.show=!0);var r=this.processing,o=r.cacheData;o&&!r.isLoadEles&&(r.toEles(o),r.direction.__state.direct=!0,r.direction.angle=o.dire||0,r.direction.__state.direct=!1,r.direction.update()),e||this.adapt(o)},t.prototype.addProcessing=function(){var t=new oe({dom:this.layer});return t.cad=this,this.processings.push(t),t},t.prototype.delProcessing=function(t){t.render.elements.forEach((function(t){return t.destroy()})),t.render.destroy(),this.processings.splice(this.processings.indexOf(t),1)},t.prototype.adapt=function(t,e,n,o,s){if(void 0===t&&(t=this.processing.data),t){var g=this.processings.find((function(e){return e.data&&e.data.id===t.id}));if(g){var A=g.render.layer.offsetWidth-2*this.padding,a=g.render.layer.offsetHeight-2*this.padding,C=parseInt(getComputedStyle(g.render.layer).width)+2*this.padding,I=parseInt(getComputedStyle(g.render.layer).height)+2*this.padding;e=e&&e>0?e:A&&A>0?A:C&&C>0?C:100+2*this.padding,n=n&&n>0?n:a&&a>0?a:I&&I>0?I:100+2*this.padding,e<0&&(e=100,n=100),0===t.vertex.length?g.render.props=Object(i["d"])(e,n,{vertex:[{x:-15,y:-15},{x:-15,y:15},{x:15,y:-15},{x:15,y:15}]},s):(e&&n&&(g.render.props=Object(i["d"])(e,n,t,s)),g.render.props.scale<=0&&(g.render.props={width:0,height:0,multiple:0,scale:1,top:0,left:0})),console.log(e,n),g.render.adaptLayer(e,n),r["a"].update(g.render)}}},t.prototype.init=function(){window.addEventListener("resize",this.resizeHandle,!1)},t.prototype.destroy=function(){for(var t in window.removeEventListener("resize",this.resizeHandle,!1),this.processings.forEach((function(t){t.show=!1,t.destroy()})),this.isDestroy=!0,this)"function"===typeof this[t]?this[t]=function(){}:delete this[t]},t}(),Ae=ge,ae=function(){return ae=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},ae.apply(this,arguments)},Ce=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},Ie=[o["t"],o["l"],o["n"]],ce=[o["m"],o["f"],o["d"],o["c"],o["a"],o["o"],o["k"],o["b"],o["h"],o["p"],o["g"]],le=[o["i"],o["j"]],ue=function(t){var e,n=function(t,e,n){var i=Object(h["d"])(t,e,n/2),r=i[0],o=i[1];return[r,o]},r=function(e,r){var s=t.processing,g=s.lines.map((function(t){var e=t.ele;return e})).filter((function(t){return!t.exterior})).map((function(t){return{dis:Object(h["B"])(t,e),line:t}})).sort((function(t,e){var n=t.dis,i=e.dis;return n-i})),A=g.find((function(t){return Object(h["B"])(t.line,Object(h["h"])(t.line,{x:e.x}))<.1||Object(h["B"])(t.line,Object(h["h"])(t.line,{y:e.y}))<.1}));if(!A)return{error:!0,msg:vt["a"].t("modules.model.error_location",{widget:o["a"][r]}),obj:null};var a=A.line,C=(s.lines.find((function(t){var e=t.ele;return e===a})),p["default"].attaArch.get(a),Object(h["h"])(a,e));if(r===o["m"])return Object(h["B"])(A.line,C)>.1?{error:!0,msg:vt["a"].t("modules.model.error_location",{widget:""}),obj:null}:[a,C];var I=n(a,C,o["e"][r].width);return i["f"].isArray(I)?[a,I,e]:{error:!0,msg:I}},s=function(e,n){var i=t.processing,r=o["e"][n].width,s=o["e"][n].tick,g=r/2,A=s/2,a=[{x:e.x-g,y:e.y+A},{x:e.x+g,y:e.y+A},{x:e.x+g,y:e.y-A},{x:e.x-g,y:e.y-A}],C=(ae(ae({},lt.prototype),{renderer:i.render,minWidth:.1}),[]);return a.forEach((function(t){C.push(t.x),C.push(t.y)})),[C]},g=function(e,n,g,a,C){void 0===g&&(g=null),void 0===a&&(a=null),void 0===C&&(C=!1);var I=t.processing,c=I.render;if(A[e]){var l,u=C?c.screenToRealPoint(n):n;if(~ce.indexOf(e)||~le.indexOf(e)){var h=~le.indexOf(e)?s(u,e):r(u,e);if(!i["f"].isArray(h))return h;var p=A[e].apply(A,Ce(h,[g,a]));if("string"===typeof p)return{error:!0,msg:p,obj:null};l=p}else if(~Ie.indexOf(e)&&(l=A[e](u),"string"===typeof l))return{error:!0,msg:l,obj:null};return t.preservation&&t.preservation(),{error:!1,msg:vt["a"].t("modules.model.success",{widget:o["a"][e]}),obj:l}}},A=(e={},e[o["m"]]=function(e,n){var i=t.processing;i.insertModel=!0;var r=i.addPoint(ae({id:i.getNewPointId()},n));i.data.vertex.push({id:r.id,x:r.ele.x,y:r.ele.y});var o=i.lineInsertPoint(e,r.ele),s=o.lines,g=o.promis,A=o.ret;if(A)return g.then((function(){return i.insertModel=!1})),s.map((function(t){return t.ele}))},e[o["f"]]=function(e,n,i,r,o){var s=t.processing;return s.addDoor({pos:[n[0].x,n[0].y,n[1].x,n[1].y],top:r,bottom:o,line:s.getLineId(e),start:!1,within:0}).ele},e[o["g"]]=function(e,n,i,r,o){var s=t.processing;return s.addDoorleaf({pos:[n[0].x,n[0].y,n[1].x,n[1].y],line:s.getLineId(e)}).ele},e[o["h"]]=function(e,n,i,r,o){var s=t.processing;return s.adddDoubleDoor({pos:[n[0].x,n[0].y,n[1].x,n[1].y],line:s.getLineId(e),start:!1,within:0}).ele},e[o["o"]]=function(e,n,i,r,o){var s=t.processing;return s.addSlideDoor({within:0,pos:[n[0].x,n[0].y,n[1].x,n[1].y],line:s.getLineId(e)}).ele},e[o["k"]]=function(e,n,i,r,o){var s=t.processing;return s.addGroundCase({pos:[n[0].x,n[0].y,n[1].x,n[1].y],line:s.getLineId(e)}).ele},e[o["b"]]=function(e,n,i,r,o){var s=t.processing;return s.addBayCase({pos:[n[0].x,n[0].y,n[1].x,n[1].y],line:s.getLineId(e),within:0}).ele},e[o["c"]]=function(e,n,i,r,o){var s=t.processing;return s.addCase({pos:[n[0].x,n[0].y,n[1].x,n[1].y],line:s.getLineId(e)}).ele},e[o["d"]]=function(e,n,i){var r=t.processing,s=Object(h["f"])(e,n[0],o["e"][o["d"]].width),g=(s[0],s[1]),A=g;if(!A)return vt["a"].t("modules.model.error_widget",{widget:vt["a"].t("modules.model.column")});var a=Object(h["f"])(e,n[1],o["e"][o["d"]].tick),C=a[0],I=a[1],c=Object(h["x"])({points:[C,A]})>Object(h["x"])({points:[I,A]})?I:C;return r.addColumn({pos:[n[0].x,n[0].y,n[1].x,n[1].y,A.x,A.y,c.x,c.y],line:r.getLineId(e)}).ele},e[o["p"]]=function(e,n,i){var r=t.processing,s=Object(h["f"])(e,n[0],o["e"][o["p"]].width),g=(s[0],s[1]),A=g,a=Object(h["f"])(e,n[1],o["e"][o["p"]].tick),C=a[0],I=a[1],c=Object(h["x"])({points:[C,A]})>Object(h["x"])({points:[I,A]})?I:C;return r.addStair({pos:[n[0].x,n[0].y,n[1].x,n[1].y,A.x,A.y,c.x,c.y],line:r.getLineId(e),highBorder:3,top:e.top,bottom:e.bottom}).ele},e[o["t"]]=function(e){var n=t.processing;return n.addTagging({pos:[e.x,e.y],title:"",content:"",showTitle:!0,showContent:!0}).ele},e[o["i"]]=function(e,n,i,r){var o=t.processing;return o.addFurnColumn({pos:e,angle:0}).ele},e[o["j"]]=function(e,n,i,r){var o=t.processing;return o.addFurnFlue({pos:e,angle:0}).ele},e[o["l"]]=function(e){t.processing;var n=o["e"][o["l"]].width,i={points:[{x:e.x-n/2,y:e.y},{x:e.x+n/2,y:e.y}]},r=t.processing.lines.some((function(t){var e=t.ele;return Object(h["E"])(e,i)}));if(r&&(i={points:[{x:e.x-n/2,y:e.y},{x:e.x+n/2,y:e.y}]},r=t.processing.lines.some((function(t){var e=t.ele;return Object(h["E"])(e,i)})),r))return vt["a"].t("modules.model.error_widget",{widget:vt["a"].t("modules.model.line")});var s=t.processing.furnColumns.concat(t.processing.furnFlues).map((function(t){return t.ele}));if(s.every((function(t){return!Object(h["q"])(i.points,t.points)&&!Object(h["p"])(i.points,t.points)&&!Object(h["p"])(t.points,i.points)}))){var g=t.processing.addRoom(i);return g[0].ele}return vt["a"].t("modules.model.error_widget",{widget:vt["a"].t("modules.model.line")})},e[o["n"]]=function(e){return t.processing.addLine(e).ele},e);t.increase=g;var a=t.destroy;t.destroy=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=t.processing;i.render;i=null,a.apply(this,e)}},he=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),pe=function(){return pe=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},pe.apply(this,arguments)},de=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},fe=1,ye=10,ve=100,be=0,me=function(t,e,n,i,r,s,g,A,a,C,I){var c=document.createElementNS(o["s"],"g"),l={points:[t,e]},u="lineBoth"+be++,p=Object(h["f"])(l,t,i),d=p[0],f=p[1],y=Object(h["f"])(l,e,i),v=y[0],b=y[1],m=document.createElementNS(o["s"],"path");c.appendChild(m),m.setAttribute("stroke",a),m.setAttribute("stroke-width",n.toString()),"top"===A?!isNaN(d.x)&&!isNaN(d.y)&&!isNaN(v.x)&&!isNaN(v.y)&&m.setAttribute("d","M "+d.x+" "+d.y+" L "+v.x+" "+v.y):"bottom"===A?!isNaN(f.x)&&!isNaN(f.y)&&!isNaN(b.x)&&!isNaN(b.y)&&m.setAttribute("d","M "+f.x+" "+f.y+" L "+b.x+" "+b.y):"left"===A?!isNaN(f.x)&&!isNaN(f.y)&&!isNaN(b.x)&&!isNaN(b.y)&&m.setAttribute("d","M "+b.x+" "+b.y+" L "+f.x+" "+f.y):!isNaN(v.x)&&!isNaN(v.y)&&!isNaN(d.x)&&!isNaN(d.y)&&m.setAttribute("d","M "+v.x+" "+v.y+" L "+d.x+" "+d.y),m.setAttribute("id",u);var w=m.cloneNode(!0);!isNaN(d.x)&&!isNaN(d.y)&&!isNaN(f.x)&&!isNaN(f.y)&&w.setAttribute("d","M "+d.x+" "+d.y+" L "+f.x+" "+f.y),c.appendChild(w),w=m.cloneNode(!0),!isNaN(v.x)&&!isNaN(v.y)&&!isNaN(b.x)&&!isNaN(b.y)&&w.setAttribute("d","M "+v.x+" "+v.y+" L "+b.x+" "+b.y),c.appendChild(w);var x=C===fe?"m":C===ve?"cm":C===ye?"dm":"",O=Math.round(s*C*100)/100,P=(O+x).toString().length/2.5*r,j=s/2-P,S=document.createElementNS(o["s"],"text");S.setAttribute("x",j.toString()),S.setAttribute("y","0"),S.setAttribute("style","fill: "+a+"; font-size: "+r+"px");var E=document.createElementNS(o["s"],"textPath");E.setAttributeNS(o["r"],"xlink:href","#"+u),E.appendChild(document.createTextNode(O+x)),S.appendChild(E);var k=Object(h["z"])({points:[t,e]}),M=document.createElementNS(o["s"],"path");M.setAttribute("stroke",a),M.setAttribute("stroke-width",n.toString());var N=j+2*P+g,L=j-g;I||(N=L=0);var D=M.cloneNode(!0);return isNaN(t.x)||isNaN(t.y)||isNaN(e.x)||isNaN(e.y)||(k.x>k.y?M.setAttribute("d","M "+t.x+" "+t.y+" L "+(e.x-N)+" "+e.y):M.setAttribute("d","M "+t.x+" "+t.y+" L "+e.x+" "+(e.y-N)),k.x>k.y?D.setAttribute("d","M "+(e.x-L)+" "+t.y+" L "+e.x+" "+e.y):D.setAttribute("d","M "+t.x+" "+(e.y-L)+" L "+e.x+" "+e.y)),c.appendChild(D),c.appendChild(M),m.style.display="none",c.appendChild(S),c},we=function(t){function e(e){var n=e.processing,i=e.padding,r=void 0===i?10:i,o=e.spacing,s=void 0===o?4:o,g=e.minPX,A=void 0===g?50:g,a=e.width,C=void 0===a?1:a,I=e.showBottom,c=void 0===I||I,l=e.showTop,u=void 0===l||l,h=e.showLeft,p=void 0===h||h,d=e.showRight,f=void 0===d||d,y=e.surround,v=void 0!==y&&y,b=e.stroke,m=void 0===b?"#fff":b,w=e.company,x=void 0===w?fe:w,O=e.hollow,P=void 0===O||O,j=de(e,["processing","padding","spacing","minPX","width","showBottom","showTop","showLeft","showRight","surround","stroke","company","hollow"]),S=t.call(this,pe({renderer:n.render,minPX:A,width:C,showBottom:c,showTop:u,showLeft:p,showRight:f,company:x,surround:v,stroke:m,hollow:P},j))||this;return S.padding=r,S.spacing=s,S.processing=n,Object.defineProperty(S,"points",{get:function(){return this.processing.points}}),S.update(),S}return he(e,t),e.prototype.grentNode=function(){this.top=document.createElementNS(o["s"],"g"),this.left=document.createElementNS(o["s"],"g"),this.right=document.createElementNS(o["s"],"g"),this.bottom=document.createElementNS(o["s"],"g");var t=document.createElementNS(o["s"],"g");return t.appendChild(this.top),t.appendChild(this.left),t.appendChild(this.right),t.appendChild(this.bottom),t},e.prototype.calcSplit=function(){var t=this.processing.render,e=this.minPX,n=Object(h["x"])({points:[t.screenToRealPoint({x:0,y:0}),t.screenToRealPoint({x:e,y:0})]}),i=Object(h["x"])({points:[t.screenToRealPoint({x:0,y:0}),t.screenToRealPoint({x:0,y:e})]}),r=this.points.map((function(t){var e=t.ele;return e})),o=[],s=[],g=[],A=[],a=function(t,e,o){var s,g;r.sort(e),r.forEach((function(e){return 0===t.length||e[o]>t[t.length-1]?t.push(e[o]):e[o]<t[0]&&t.unshift(e[o])}));for(var A="x"===o?n:i,a={x:0,y:0},C=0;C<t.length-2;C++){var I=pe(pe({},a),(s={},s[o]=t[C],s)),c=pe(pe({},a),(g={},g[o]=t[C+1],g));Object(h["x"])({points:[I,c]})<A&&(t.splice(C+1,1),C--)}t.length>2&&t.splice(t.length-2,2,t[t.length-1])};return a(o,(function(t,e){return t.x-e.x?t.x-e.x:e.y-t.y}),"y"),a(g,(function(t,e){return e.x-t.x?e.x-t.x:e.y-t.y}),"y"),a(s,(function(t,e){return t.y-e.y?t.y-e.y:e.x-t.x}),"x"),a(A,(function(t,e){return e.y-t.y?e.y-t.y:e.x-t.x}),"x"),{left:o,top:s,right:g,bottom:A}},e.prototype.update=function(){var t=this;if(0!==this.points.length&&0!==this.processing.render.props.width){var e=this.processing.render,n=10*this.width*this.multiple,i=this.calcSplit(),r=i.left,o=i.right,s=i.top,g=i.bottom,A=e.screenToRealPoint({x:this.padding,y:this.padding}),a=e.screenToRealPoint({x:e.realWidth+2*this.processing.cad.padding-this.padding,y:e.realHeight+2*this.processing.cad.padding-this.padding});if(this.surround){var C=this.points.map((function(t){return t.ele.x})),I=this.points.map((function(t){return t.ele.y})),c=Math.max.apply(Math,C),l=Math.min.apply(Math,C),u=Math.max.apply(Math,I),h=Math.min.apply(Math,I),p=e.screenToRealPoint({x:this.padding,y:this.padding}),d=p.x,f=p.y,y=e.screenToRealPoint({x:0,y:0}),v=y.x,b=y.y;A={x:l-(d-v),y:h-(f-b)},a={x:c+(d-v),y:u+(f-b)}}var m=function(e,i,r,o){for(var s=0;s<e.length-1;s++){var g=0===s?e[s]:e[s]+t.spacing/2*t.multiple,A=s+1===e.length?e[s+1]:e[s+1]-t.spacing/2*t.multiple;r(me(i(g),i(A),t.width*t.multiple,4*t.width*t.multiple,n,Number(Math.abs(e[s+1]-e[s]).toFixed(2)),10*t.multiple,o,t.stroke,t.company,t.hollow))}},w=[this.left,this.top,this.right,this.bottom];w.forEach((function(t){while(t.childNodes.length)t.removeChild(t.childNodes[0])})),this.showLeft&&m(r,(function(t){return{x:A.x,y:t}}),(function(e){var i=t.hollow?n/1.2:0;e.querySelector("text").setAttribute("transform","translate("+i+", 0)"),t.left.appendChild(e)}),"left"),this.showBottom&&m(g,(function(t){return{x:t,y:a.y}}),(function(e){var i=t.hollow?0:-n/1.2;e.querySelector("text").setAttribute("transform","translate(0, "+i+")"),t.bottom.appendChild(e)}),"bottom"),this.showTop&&m(s,(function(t){return{x:t,y:A.y}}),(function(e){var i=t.hollow?n/1.2:0;e.querySelector("text").setAttribute("transform","translate(0, "+i+")"),t.top.appendChild(e)}),"top"),this.showRight&&m(o,(function(t){return{x:a.x,y:t}}),(function(e){var i=t.hollow?0:1*-n/1.2;e.querySelector("text").setAttribute("transform","translate("+i+", 0)"),t.right.appendChild(e)}),"right")}},e}(r["a"]),xe=we,Oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAA57mlUWHRYTUw6Y29tLmFkb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lvbj4KICAgICAgICAgPHRpZmY6UmVzb2x1dGlvblVuaXQ+MjwvdGlmZjpSZXNvbHV0aW9uVW5pdD4KICAgICAgICAgPGV4aWY6Q29sb3JTcGFjZT42NTUzNTwvZXhpZjpDb2xvclNwYWNlPgogICAgICAgICA8ZXhpZjpQaXhlbFhEaW1lbnNpb24+MTAwPC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjEwMDwvZXhpZjpQaXhlbFlEaW1lbnNpb24+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA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3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAgICAgICA8ZGM6Zm9ybWF0PmltYWdlL3BuZzwvZGM6Zm9ybWF0PgogICAgICAgICA8cGhvdG9zaG9wOkNvbG9yTW9kZT4zPC9waG90b3Nob3A6Q29sb3JNb2RlPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICAgICA8dGlmZjpYUmVzb2x1dGlvbj43MjAwMDAvMTAwMDA8L3RpZmY6WFJlc29sdXRpb24+CiAgICAgICAgIDx0aWZmOllSZXNvbHV0aW9uPjcyMDAwMC8xMDAwMDwvdGlmZjpZUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6UmVzb2x1dGlvblVuaXQ+MjwvdGlmZjpSZXNvbHV0aW9uVW5pdD4KICAgICAgICAgPGV4aWY6Q29sb3JTcGFjZT42NTUzNTwvZXhpZjpDb2xvclNwYWNlPgogICAgICAgICA8ZXhpZjpQaXhlbFhEaW1lbnNpb24+MTAwPC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjEwMDwvZXhpZjpQaXhlbFlEaW1lbnNpb24+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgIAo8P3hwYWNrZXQgZW5kPSJ3Ij8+hSv1CAAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAADBUlEQVR42uycO2/UQBRGz10tCggkBAqyiKCCCkRPBw00IChAYgON/wb/xg1hFwpooEsFRSToEFSk42UeQilQhII8FDFSErxmH17bd/mOFMnZ9YwyOfY39ng8FkJAtIeO/gUSIiREQoSESIiQEAkREiIhQkKEhEiIkBAJERIiIUJCJERIiJAQCRES4p2uhz/SzMp3SNLzAMTRWtluHuagdefkwLoFGLDmvSHm4agpPUOStAO8y387QRxlns+QeehDLgDH85+L6tTbEVdF24qs2iMrSfcBKXAk/+Q7EBFHW4qsZri0Qwb59m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l+LtBk2X4iEFgbGRRzCxznPJWAhpuZCGxFPgnqtczy5v0apd45QN4SRDOLj0KvJspVTHKm9xM6WdwMNIc9HZklZRJ3JqrlEnmOOTtJjC2IxvnpRftx4Z+L0H+bug31+tujh8EYeyphjKMQ7ydcpicSyCEW2LKvoDccPVz5v6RX8CI/hZ6x00Qok1lJYqUDtsm4B0e9xr4Lp+CMVLqestp7o3Ne1G4AxMegNzb2BzDXFmdP6HD0QC4aOkLxXEoDTE5wxSHAN+pc7ZfqMvhGqjPKxUXfGIIycF+jlwbtQLsH6kTCoKkdzdTCceshyzPPUgBHkXQA7xfbYF5/FDJ9/OQg8fTqLgTjCEBHAaekaWXh5K5nWroI5DcWB0LEUdWcfWF2zGvOP2g5IKx4+BwT+ywEgTk9bwGxg4cuMfnCBffg2s/cX5E95T/70s1FCf4u1k/O1Lp31ygvPpyOIjuhwxiAasr0HaS1tud44CB2fcy/O0Z+k67BBVS27hdyc82yNNDBlVgAT4KybUz6jGdi2y4sOhRrTHpSB6xQRAezL4Ymq59+g2SQ9a+HwQcBoIkWlL7VKcU1CaLe7D24eKo2zL83c7YlHp+Km5vg4fiFkBACBNBqVHpanJnzTAXjBVs88DdUZrYkZ7PFdgNK0ESVhLTjtoJWQOwNsymIKZdFAAjwk6Q3bjYOmi6dvY0udvaH8uWDwRJDCGHQSVqL2h+Alg+ESRxDTQ94X5LRBAP4hZueKUSO+sSERQ8upv0gSQWgB6b37omqBmEGzcLa2Pyd7kT17GwvmDYCUKZe9oiEo07S+2ICOIBng1+GRgbravoCcm50Y9T/yiUiGXbjsRibMcGYcP/sLDpFOTEsA7OgcCdUHDBFJ5thEMZq3QmwKr8w0xQOnQlWWsAY1kM5DVBEaI2KCIogr74X4ABALh6Ya1ncLsJAAAAAElFTkSuQmCC",Ee=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ke=function(){return ke=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},ke.apply(this,arguments)},Me=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},Ne={defaultIcon:Pe,darkIcon:je,ajkIcon:Se},Le=function(t){function e(e){var n=e.fontSize,i=void 0===n?8:n,r=e.r,o=void 0===r?50:r,s=e.icon,g=void 0===s?"defaultIcon":s,A=e.border,a=void 0===A?3:A,C=e.right,I=void 0===C?40:C,c=e.top,l=void 0===c?40:c,u=e.ArgDire,h=void 0===u?15:u,p=e.simple,d=void 0===p?0:p,f=e.angle,y=void 0===f?0:f,v=Me(e,["fontSize","r","icon","border","right","top","ArgDire","simple","angle"]);return t.call(this,ke({fontSize:i,r:o,border:a,right:I,top:l,ArgDire:h,simple:d,icon:g,angle:y},v))||this}return Ee(e,t),e.prototype.grentNode=function(){var t=document.createElementNS(o["s"],"g");this.dire=document.createElementNS(o["s"],"image"),this.bg=document.createElementNS(o["s"],"image"),this.bg.href.baseVal=Oe,this.inner=document.createElementNS(o["s"],"circle"),this.inner.setAttribute("fill","rgba(41,41,41,1)");var e=document.createElementNS(o["s"],"text");return e.setAttribute("fill","#fff"),e.setAttribute("text-anchor","middle"),this.topText=e.cloneNode(!0),this.rightText=e.cloneNode(!0),this.leftText=e.cloneNode(!0),this.bottomText=e.cloneNode(!0),this.topText.textContent="N",this.topText.setAttribute("fill","#00A0E9"),this.rightText.textContent="E",this.leftText.textContent="W",this.bottomText.textContent="S",this.bottomText.setAttribute("fill","#D84141"),this.arc=document.createElementNS(o["s"],"path"),this.arc.setAttribute("fill","rgba(255,255,255,0.3)"),t.appendChild(this.inner),t.appendChild(this.arc),t.appendChild(this.bg),t.appendChild(this.dire),t.appendChild(this.topText),t.appendChild(this.rightText),t.appendChild(this.bottomText),t.appendChild(this.leftText),t},e.prototype.intercept=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return~Object.keys(e[1]).indexOf("angle")&&this.nextTick((function(){var n=t.renderer.processing.cad;n.processings.forEach((function(n){n.direction.angle!==e[1].angle&&n!==t.renderer.processing&&(n.direction.angle=e[1].angle,n.isLoadEles||(n.cacheData.dire=e[1].angle))}))})),!0},e.prototype.update=function(){var t=this.r/2+this.border+this.top,e=this.r/2+this.border+this.right,n=this.renderer,i=this.fontSize*this.multiple,r=this.border*this.multiple,o=n.screenToRealPoint({x:n.realWidth+2*n.processing.cad.padding-e,y:t});if(!isNaN(o.x)&&!isNaN(o.y)){var s=this.r*this.multiple,g=(i+3*r+s)/2;this.inner.setAttribute("r",g.toString()),this.inner.setAttribute("cx",o.x.toString()),this.inner.setAttribute("cy",o.y.toString()),this.icon!==this.firstIcon&&(this.dire.href.baseVal=Ne[this.icon],this.firstIcon=this.icon),this.dire.setAttribute("x",(o.x-s/2).toString()),this.dire.setAttribute("y",(o.y-s/2).toString()),this.dire.setAttribute("width",s.toString()),this.dire.setAttribute("height",s.toString()),this.bg.setAttribute("x",(o.x-s/2).toString()),this.bg.setAttribute("y",(o.y-s/2).toString()),this.bg.setAttribute("width",s.toString()),this.bg.setAttribute("height",s.toString()),this.topText.setAttribute("x",o.x.toString()),this.topText.setAttribute("y",(o.y-s/2-i/2+r).toString()),this.topText.setAttribute("font-size",i.toString()),this.rightText.setAttribute("x",(o.x+s/2+r).toString()),this.rightText.setAttribute("y",(o.y+i/2).toString()),this.rightText.setAttribute("font-size",i.toString()),this.bottomText.setAttribute("x",o.x.toString()),this.bottomText.setAttribute("y",(o.y+s/2+i).toString()),this.bottomText.setAttribute("font-size",i.toString()),this.leftText.setAttribute("x",(o.x-s/2-i+r).toString()),this.leftText.setAttribute("y",(o.y+r).toString()),this.leftText.setAttribute("font-size",i.toString());var A=this.ArgDire*this.multiple,a={points:[o,{x:o.x-A,y:o.y-s/2-i-r}]},C={points:[o,{x:o.x+A,y:o.y-s/2-i-r}]},I=Object(h["d"])(a,a.points[0],g),c=I[0],l=I[1],u=Object(h["d"])(C,C.points[0],g),p=u[0],d=u[1],f=Object(h["x"])({points:[a.points[1],c]})>Object(h["x"])({points:[a.points[1],l]})?l:c,y=Object(h["x"])({points:[C.points[1],p]})>Object(h["x"])({points:[C.points[1],d]})?d:p;this.arc.setAttribute("d","M "+o.x+" "+o.y+" L "+f.x+" "+f.y+" A "+g+" "+g+" 0 0 1 "+y.x+" "+y.y+" Z"),this.real.setAttribute("transform","rotate("+(this.angle||0)+" "+o.x+" "+o.y+")"),this.simple?(2===this.simple&&(this.topText.style.display="none",this.bottomText.style.display="none"),this.leftText.style.display="none",this.rightText.style.display="none",this.bg.style.display="none",this.inner.style.display="none",this.arc.style.display="none"):(this.topText.style.display="inherit",this.bottomText.style.display="inherit",this.leftText.style.display="inherit",this.rightText.style.display="inherit",this.bg.style.display="inherit",this.inner.style.display="inherit",this.arc.style.display="inherit")}},e}(r["a"]),De=Le,Te=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},Re=function(t){var e={processings:[],setGaugeAttrs:[],showGauge:[],setGaugeModel:[],hideGauge:[],showDire:[],hideDire:[],setDireAttrs:[],setAngle:[]},n=t.delProcessing;t.delProcessing=function(i){for(var r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];var s=e.processings.indexOf(i);return~s&&Object.keys(e).forEach((function(t){e[t].splice(s,1)})),n.call.apply(n,Te([t,i],r))};var i=t.addProcessing;t.addProcessing=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var g,A=i.call.apply(i,Te([t],n));e.processings.push(A);var a=A.lines,C=a.push,I=A.points,c=I.push,l=function(t){t.__label_intercept=t.intercept,t.intercept=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return g.update(),t.__label_intercept&&t.__label_intercept.apply(t,e)}},u=function(t){t.__label_intercept=t.drag,t.drag=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return g.update(),t.__label_intercept.apply(t,e)}};e.setGaugeAttrs.push((function(t){g.__state.direct=!0,Object.keys(t).forEach((function(e){g[e]=t[e]})),g.__state.direct=!1,g.update()}));var h=function(){g||(g=new xe({processing:A}),t.gauge=g),a.push=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=C.apply(a,t);return g.update(),t.forEach((function(t){var e=t.ele;return u(e)})),n},I.forEach((function(t){var e=t.ele;return l(e)})),a.forEach((function(t){var e=t.ele;return u(e)})),I.push=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.forEach((function(t){var e=t.ele;return l(e)})),c.apply(I,t)},A.render.push(g)};e.showGauge.push(h),r&&h(),e.setGaugeModel.push((function(t){return g?(g.surround=1===t,new Promise((function(t){return g.nextTick(t)}))):new Promise((function(t){return t(void 0)}))})),e.hideGauge.push((function(){a.push=C,I.push=c,I.forEach((function(t){var e=t.ele;return e.intercept=e.__label_intercept})),A.render.remove(g)}));var p=new De({angle:0,renderer:A.render});return A.direction=p,e.showDire.push((function(){p.show=!0,A.render.push(p)})),e.hideDire.push((function(){p.show=!1,A.render.remove(p)})),e.setDireAttrs.push((function(t){return Object.keys(t).forEach((function(e){p[e]=t[e]})),new Promise((function(t){return p.nextTick(t)}))})),p.show=s,s&&t.showDire(),A},t.setGaugeAttrs=function(t){return Promise.all(e.setGaugeAttrs.map((function(e){return e(t)})))};var r=!1;t.showGauge=function(){r=!0,e.showGauge.forEach((function(t){return t()}))},t.setGaugeModel=function(t){return Promise.all(e.setGaugeModel.map((function(e){return e(t)})))},t.hideGauge=function(){r&&(r=!0,e.hideGauge.forEach((function(t){return t()})))};var o=t.destroy;t.destroy=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t.hideGauge(),r=!1,o.apply(this,e)};var s=!0;t.showDire=function(){e.showDire.forEach((function(t){return t()})),s=!0},t.hideDire=function(){e.hideDire.forEach((function(t){return t()})),s=!1},t.setDireAttrs=function(t){return Promise.all(e.setDireAttrs.map((function(e){return e(t)})))},t.setAngle=function(e){t.processing.data.dire=e,t.processing.direction.angle=e}},Ve=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Xe=function(){return Xe=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},Xe.apply(this,arguments)},We=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},Ge=0,Be=function(t){function e(n){var i=n.border,r=n.r,o=n.show,s=void 0===o||o,g=n.color,A=void 0===g?"rgb(0, 200, 175)":g,a=We(n,["border","r","show","color"]),C=this;return i=i||e.Setting.get(a.renderer).border,r=r||e.Setting.get(a.renderer).r,Ge++,C=t.call(this,Xe({border:i,r:r,show:s,color:A},a))||this,C}return Ve(e,t),e.prototype.grentNode=function(){var t=document.createElementNS(o["s"],"g");this.inner=document.createElementNS(o["s"],"circle"),this.inner.setAttribute("stroke","#fff"),this.arc=document.createElementNS(o["s"],"path"),this.arc.setAttribute("fill","url(#orange_red"+Ge+")");var e=document.createElementNS(o["s"],"defs"),n=document.createElementNS(o["s"],"linearGradient");n.setAttribute("id","orange_red"+Ge),n.setAttribute("x1","0%"),n.setAttribute("y1","0%"),n.setAttribute("x2","100%"),n.setAttribute("y2","100%");var i=document.createElementNS(o["s"],"stop");i.setAttribute("offset","0%");var r=document.createElementNS(o["s"],"stop");return r.setAttribute("offset","100%"),n.appendChild(i),n.appendChild(r),e.appendChild(n),t.appendChild(this.arc),t.appendChild(this.inner),t.appendChild(e),t.setAttribute("class","sign"),this.$stop1=i,this.$stop2=r,t},e.prototype.update=function(){this.inner.setAttribute("fill",this.color),this.$stop1.setAttribute("style","stop-color:"+this.color+"; stop-opacity:1"),this.$stop2.setAttribute("style","stop-color:"+this.color+"; stop-opacity:0.4"),this.inner.setAttribute("r",(this.r*this.multiple).toString()),this.inner.setAttribute("stroke-width",(this.border*this.multiple).toString()),this.inner.setAttribute("cx",this.pos.x.toString()),this.inner.setAttribute("cy",this.pos.y.toString());var t=.4*this.r*this.multiple,e=1.6*this.r*this.multiple,n=2.8*this.r*this.multiple;this.arc.setAttribute("d","\n M "+this.pos.x+" "+(this.pos.y-t)+" \n L "+(this.pos.x+n)+" "+(this.pos.y-e)+" \n L "+(this.pos.x+n)+" "+(this.pos.y+e)+" \n L "+this.pos.x+" "+(this.pos.y+t)+" Z\n "),this.real.setAttribute("transform","rotate("+this.dire+" "+this.pos.x+" "+this.pos.y+")"),this.real.style.display=this.show?"inherit":"none"},e.Setting=new Map,e}(r["a"]),_e=Be,Qe=function(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function s(t){try{A(i.next(t))}catch(e){o(e)}}function g(t){try{A(i["throw"](t))}catch(e){o(e)}}function A(t){t.done?n(t.value):r(t.value).then(s,g)}A((i=i.apply(t,e||[])).next())}))},Je=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:g(0),throw:g(1),return:g(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function g(t){return function(e){return A([t,e])}}function A(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(g){o=[6,g],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},ze=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},Ue=function(t){var e={border:2,r:5},n=t.addProcessing;t.addProcessing=function(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];var o=n.call.apply(n,ze([t],i));_e.Setting.set(o.render,e);var s=new _e({pos:{x:0,y:0},dire:0,renderer:o.render});return s.zIndex=1,o.render.push(s),o.sign=s,o},t.setSign=function(e,n){var r=t.processing.sign;i["f"].isNumber(n)&&(r.dire=n),r.pos=e},t.hideSign=function(){return Qe(void 0,void 0,void 0,(function(){var e,n;return Je(this,(function(i){switch(i.label){case 0:e=function(e){var n;return Je(this,(function(i){switch(i.label){case 0:return n=t.processings[e].sign,n.show=!1,[4,new Promise((function(t){return n.nextTick(t)}))];case 1:return i.sent(),[2]}}))},n=0,i.label=1;case 1:return n<t.processings.length?[5,e(n)]:[3,4];case 2:i.sent(),i.label=3;case 3:return n++,[3,1];case 4:return[2]}}))}))},t.showSign=function(){return Qe(void 0,void 0,void 0,(function(){var e,n;return Je(this,(function(i){switch(i.label){case 0:e=function(e){var n;return Je(this,(function(i){switch(i.label){case 0:return n=t.processings[e].sign,n.show=!0,[4,new Promise((function(t){return n.nextTick(t)}))];case 1:return i.sent(),[2]}}))},n=0,i.label=1;case 1:return n<t.processings.length?[5,e(n)]:[3,4];case 2:i.sent(),i.label=3;case 3:return n++,[3,1];case 4:return[2]}}))}))},t.setDefaultSignStyle=function(n){var i=t.processing.sign;n.border&&(e.border=n.border,i.border=n.border),n.r&&(e.r=n.r,i.r=n.r),n.color&&(i.color=n.color)}},Ze=(n("28a5"),function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),Ye=function(){return Ye=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},Ye.apply(this,arguments)},Ke=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},Fe=function(t){function e(e){var n=e.fontSize,i=void 0===n?12:n,r=e.isBold,o=void 0!==r&&r,s=e.color,g=void 0===s?"#fff":s,A=e.content,a=void 0===A?"":A,C=Ke(e,["fontSize","isBold","color","content"]);return t.call(this,Ye({fontSize:i,color:g,content:a,isBold:o},C))||this}return Ze(e,t),e.prototype.grentNode=function(){return this.text=document.createElementNS(o["s"],"text"),this.text.setAttribute("fill",this.color),this.text},e.prototype.update=function(){var t=this,e=this.fontSize*this.multiple,n=5*this.multiple;this.text.setAttribute("font-size",e.toString()),this.text.style.fontWeight=this.isBold?"bold":"normal",this.content.split("\n").forEach((function(i,r){var s=document.createElementNS(o["s"],"tspan");s.textContent=i,s.setAttribute("x",t.point.x.toString()),s.setAttribute("y",(t.point.y+r*(e+n)).toString()),t.text.append(s)})),this.text.setAttribute("fill",this.color)},e}(r["a"]),He=Fe,qe=function(){return qe=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},qe.apply(this,arguments)},$e=function(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function s(t){try{A(i.next(t))}catch(e){o(e)}}function g(t){try{A(i["throw"](t))}catch(e){o(e)}}function A(t){t.done?n(t.value):r(t.value).then(s,g)}A((i=i.apply(t,e||[])).next())}))},tn=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:g(0),throw:g(1),return:g(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function g(t){return function(e){return A([t,e])}}function A(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(g){o=[6,g],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},en=function(t){t.screenshot=function(e){e.primaryColor;var n=e.width,r=void 0===n?2048:n,o=e.height,s=void 0===o?2048:o,g=e.explains,A=void 0===g?[]:g,a=e.bgColor,C=void 0===a?"rgba(0,0,0,0)":a,I=e.data,c=e.spadding,l=e.format,u=void 0===l?"image/png":l,p=e.accurate,d=void 0!==p&&p;return $e(void 0,void 0,void 0,(function(){var e,n,o,g,a,l,p,f,y,v,b,m;return tn(this,(function(w){switch(w.label){case 0:return e=t.processing.render,n=qe({},e.props),o=new Image,g=document.createElement("canvas"),a=g.getContext("2d"),l=t.processing.points.map((function(t){var e=t.ele.x;return e})),p=t.processing.points.map((function(t){var e=t.ele.y;return e})),f=e.realWidth,y=e.realHeight,v=t.padding,t.padding=c,t.adapt(I,r-2*c,s-2*c,I,d),g.width=r,g.height=s,a.fillStyle=C,a.fillRect(0,0,g.width,g.height),b=A.map((function(n){return n=new He({fontSize:n.fontSize||14,color:n.color,point:e.screenToRealPoint(n.screen),content:n.text,isBold:n.isBold,renderer:t.processing.render}),n.zIndex=99,t.processing.render.push(n),n.update(),n})),[4,new Promise((function(A,C){return $e(void 0,void 0,void 0,(function(){return tn(this,(function(I){o.onload=function(){return $e(void 0,void 0,void 0,(function(){var C,I;return tn(this,(function(d){return a.drawImage(o,0,0),C={left:Math.min.apply(Math,l),top:Math.min.apply(Math,p),bottom:Math.max.apply(Math,p),right:Math.max.apply(Math,l)},I={file:Object(i["b"])(g.toDataURL(u)),width:r,height:s,left:t.processing.render.realPointToScreen({x:Math.min.apply(Math,l),y:0}).x,top:t.processing.render.realPointToScreen({x:0,y:Math.min.apply(Math,p)}).y,bottom:s-t.processing.render.realPointToScreen({x:0,y:Math.max.apply(Math,p)}).y,right:r-t.processing.render.realPointToScreen({x:Math.max.apply(Math,l),y:0}).x,bound:C,padding:c,img:{bound:[t.processing.render.screenToRealPoint({x:0,y:0}),t.processing.render.screenToRealPoint({x:r,y:0}),t.processing.render.screenToRealPoint({x:r,y:s}),t.processing.render.screenToRealPoint({x:0,y:s})],width:{y:C.bottom-C.top,x:C.right-C.left},margin:c,marginReal:Object(h["x"])({points:[t.processing.render.screenToRealPoint({x:0,y:0}),t.processing.render.screenToRealPoint({x:0,y:c})]}),center:t.processing.render.screenToRealPoint({x:r/2,y:s/2})}},e.props=n,t.padding=v,e.adaptLayer(f,y),A(I),[2]}))}))},o.onerror=function(i){e.props=n,t.padding=v,e.adaptLayer(),C(i)};try{o.src="data:image/svg+xml;base64,"+window.btoa(unescape(encodeURIComponent(e.svg.outerHTML)))}catch(d){C(d)}return[2]}))}))}))];case 1:return m=w.sent(),console.log(b),b.forEach((function(e){e.destroy(),t.processing.render.remove(e)})),[2,m]}}))}))}},nn=function(){function t(t){this.length=t+"__length",this.index=t+"__index",this.name=t,this.keys=[],this.init()}return t.prototype.init=function(){sessionStorage.setItem(this.length,"0")},t.prototype.getKey=function(t){return this.name+"__"+t},t.prototype.getData=function(){return sessionStorage.getItem(this.index)},t.prototype.getLength=function(){return Number(sessionStorage.getItem(this.length))},t.prototype.setLength=function(t){sessionStorage.setItem(this.length,t)},t.prototype.push=function(t){var e=this.getLength(),n=this.getKey(this.getLength());return sessionStorage.setItem(n,JSON.stringify(t)),this.keys.push(n),this.setLength(e+1),t},t.prototype.pop=function(){var t=this.getLength(),e=this.get(t-1);return this.setLength(t-1),e},t.prototype.get=function(t){var e=this.getKey(t);return JSON.parse(sessionStorage.getItem(e))},t.prototype.clear=function(){this.setLength(0),this.keys.forEach((function(t){return sessionStorage.removeItem(t)})),this.keys=[this.length]},t}(),rn=nn,on=n("eb02"),sn=(n("8e6e"),n("ade3"));n("2909"),n("6762");n("06c5");n("532cb");function gn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function An(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?gn(Object(n),!0).forEach((function(e){Object(sn["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):gn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var an=function(t){return JSON.parse(JSON.stringify(t)),t.floors||(t={floors:[An(An({},t),{},{show:!0})]}),Cn(t)},Cn=function(t){return t=JSON.parse(JSON.stringify(t)),t.floors.forEach((function(t){t.wall&&(t.wall.forEach((function(e){e.points=[t.vertex.find((function(t){var n=t.id;return n===e.p1})),t.vertex.find((function(t){var n=t.id;return n===e.p2}))],delete e.p1,delete e.p2})),t.lines=t.wall),delete t.wall,delete t.vertex})),t},In=function(t){return t=JSON.parse(JSON.stringify(t)),{floors:t.floors.map((function(t){var e=[],n=[];return t.lines.forEach((function(t){var i=An(An({},t),{},{id:t.id,p1:t.points[0].id,p2:t.points[1].id});delete i.points,n.push(i),t.points.forEach((function(t){e.some((function(e){var n=e.id;return n===t.id}))||e.push(An(An({},t),{},{id:t.id,x:t.x,y:t.y}))}))})),delete t.points,delete t.lines,An(An({},t),{},{vertex:e,wall:n})}))}},cn=function(t){return t=an(t),t},ln=function(){return ln=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},ln.apply(this,arguments)},un=function(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function s(t){try{A(i.next(t))}catch(e){o(e)}}function g(t){try{A(i["throw"](t))}catch(e){o(e)}}function A(t){t.done?n(t.value):r(t.value).then(s,g)}A((i=i.apply(t,e||[])).next())}))},hn=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:g(0),throw:g(1),return:g(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function g(t){return function(e){return A([t,e])}}function A(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(g){o=[6,g],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},pn=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},dn=99,fn=function(t){t.column=t.column||[],t.window=t.window||[],t.doubleDoor=t.doubleDoor||[],t.door=t.door||[],t.groundCase=t.groundCase||[],t.bayCase=t.bayCase||[],t.slideDoor=t.slideDoor||[],t.tagging=t.tagging||[],t.furnColumn=t.furnColumn||[],t.furnFlue=t.furnFlue||[],t.stair=t.stair||[],t.doorleaf=t.doorleaf||[],t.wall=t.wall||t.segment||[],t.id=i["f"].isNumber(t.id)?t.id:dn,t.subgroup=i["f"].isNumber(t.subgroup)?t.subgroup:dn;var e=["column","window","door","groundCase","bayCase","slideDoor","tagging","furnColumn","furnFlue","stair","doorleaf"];t["vertex-xy"]&&(t.vertex=t["vertex-xy"],t.wall=t["segment"].map((function(t){return{id:t.id,p1:t.a,p2:t.b,border:t.border,exterior:t.exterior}}))),t["outdoor-segment"]&&(t.wall=t.wall.concat(t["outdoor-segment"].map((function(t){return{id:t.id,p1:t.a,p2:t.b,border:t.border,exterior:!0}}))),t.vertex=t.vertex.concat(t["outdoor-vertex"]));for(var n,r=function(i){var r=t.wall.filter((function(e){return e!==t.wall[i]})),o=r.find((function(e){var n=e.p1,r=e.p2;return n===t.wall[i].p1&&r===t.wall[i].p2||r===t.wall[i].p1&&n===t.wall[i].p2}));o&&(e.forEach((function(e){t[e].forEach((function(e){e.line===t.wall[i].id&&(e.line=o.id,console.log("update",e))}))})),t.wall.splice(i--,1)),n=i},o=0;o<t.wall.length;o++)r(o),o=n;return t.vertex=t.vertex.filter((function(e){return t.wall.some((function(t){var n=t.p1,i=t.p2;return e.id===n||e.id===i}))})),t},yn=function(t){return t=ln(ln({},t),{vertex:t.vertex.map((function(t){return ln(ln({},t),{y:-t.y})})),window:pn(t.window),column:pn(t.column),door:pn(t.door),groundCase:pn(t.groundCase),slideDoor:pn(t.slideDoor),bayCase:pn(t.bayCase),tagging:pn(t.tagging),furnColumn:pn(t.furnColumn),furnFlue:pn(t.furnFlue),stair:pn(t.stair),doubleDoor:pn(t.doubleDoor),doorleaf:pn(t.doorleaf)}),[t.doorleaf,t.window,t.stair,t.column,t.door,t.slideDoor,t.tagging,t.groundCase,t.bayCase,t.furnColumn,t.furnFlue,t.doubleDoor].forEach((function(t){t.forEach((function(e,n){t[n]=ln(ln({},e),{pos:e.pos.map((function(t,e){return e%2?-t:t}))})}))})),t},vn=function(t){t.getData=function(e){void 0===e&&(e=!1);var n={floors:t.processings.map((function(t){var e=yn(t.toData());return e.dire=t.direction.angle,e}))},i=Cn(n);return i.floors.forEach((function(t){m(t,t.lines,t.lines)})),In(i)},t.loadData=function(e){t.__cacheData=e,e.floors||(e={floors:[e]});var n=JSON.parse(JSON.stringify(e));n.floors=n.floors.map((function(t){return yn(fn(t))})),!0,t.processings.forEach((function(t){t.attrs.forEach((function(e){while(t[e].length)t[e][0].ele.destroy(!0,!0)}))})),n.floors.forEach((function(e){var n=t.processings.find((function(t){var n=t.id,i=t.subgroup;return n===e.id&&i===e.subgroup}));n||(n=t.addProcessing(),n.id=e.id,n.subgroup=e.subgroup),n.name=e.name}));for(var i,r=function(e){n.floors.some((function(n){var i=n.id,r=n.subgroup;return t.processings[e].id===i&&t.processings[e].subgroup===r}))||t.delProcessing(t.processings[e--]),i=e},o=0;o<t.processings.length;o++)r(o),o=i;t.processings.forEach((function(t){for(var e,n=function(n){var i=t.render.elements[n],r=[$,tt["a"],ot,At,R,Q,A["a"],kt,Ot,Tt,pt,yt,zt];r.some((function(t){return i instanceof t}))&&(t.render.remove(i),n--),e=n},i=0;i<t.render.elements.length;i++)n(i),i=e})),n.floors.forEach((function(e){var n=t.processings.find((function(t){var n=t.id;return n===e.id}));e.surplus=[],n.cacheData=e,n.isLoadEles=!1})),t.processings.some((function(t){var e=t.subgroup;return e===on["a"].getters["scene/floorId"]}))?t.changeProcessing(on["a"].getters["scene/floorId"]):t.processing?t.changeProcessing(t.processing.id):t.changeProcessing(t.processings[0]),setTimeout((function(){return!1}),5e3)}},bn=function(t){sessionStorage.clear();var e=0,n=new rn("cad_"+Date.now());t.stack=n;var r=function(t){void 0===t&&(t=e);var i=n.getLength(),r=(1!==i||1!==e)&&t>0;return{previous:r,next:t<i-1}};t.clearStack=function(){sessionStorage.clear(),n.setLength(e=0)},t.getCurrentData=function(){return n.get(e-1)},t.preservation=Object(i["c"])((function(){if(!t.stoppreservation){var i=t.getData(),r=n.getLength()-1;0!==r&&JSON.stringify(i)===JSON.stringify(n.get(r))||(n.push(i),++e)}}),500);var o,s=500;Date.now();t.previous=function(){return r().previous?(--e,clearTimeout(o),o=setTimeout((function(){t.loadData(n.get(e))}),s),r()):r()},t.next=function(){return r().next?(++e,clearTimeout(o),o=setTimeout((function(){t.loadData(n.get(e))}),s),r()):r()},t.getStackState=r;var g=t.destroy;t.destroy=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];n=null,g.apply(this,t)}},mn=function(t){[A["a"],$,tt["a"],R,kt,ot,Tt,pt,Y,yt,Q,At,zt].forEach((function(e){var n=e.prototype.dragEnd;e.prototype.dragEnd=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return un(this,void 0,void 0,(function(){var i;return hn(this,(function(r){switch(r.label){case 0:return i=n,i?[4,n.call.apply(n,pn([this],e))]:[3,2];case 1:i=r.sent(),r.label=2;case 2:return setTimeout((function(){t.preservation()}),100),[2]}}))}))};var i=t.destroy;t.destroy=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];i.apply(this,t),e.prototype.dragEnd=n}}));var e=t.increase;t.increase=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=e.call.apply(e,pn([t],n));return r.error||setTimeout((function(){t.preservation()}),100),r},t.preservation()},wn=function(t){var e=function(e){var n=t.processing.render;if(e.target===n.svg){var i=n.props.left,r=n.props.top,o=function(o){n.props.left=i-(e.pageX-o.pageX)*n.props.multiple,n.props.top=r-(e.pageY-o.pageY)*n.props.multiple,n.adaptLayer(n.layer.offsetWidth-2*t.padding,n.layer.offsetHeight-2*t.padding),t.propsChange&&t.propsChange(),o.preventDefault()},s=function t(){document.documentElement.removeEventListener("mousemove",o,!1),document.documentElement.removeEventListener("mouseup",t,!1)};document.documentElement.addEventListener("mousemove",o,!1),document.documentElement.addEventListener("mouseup",s,!1),e.preventDefault()}},n=function(e){var n=t.processing.render,i=e.wheelDelta?window.opera?-e.wheelDelta/120:e.wheelDelta/120:e.detail?-e.detail/3:0,r=n.props.scale*(i>0?1.1:.9);r>.1&&(n.props.scale=r,n.adaptLayer(n.layer.offsetWidth-2*t.padding,n.layer.offsetHeight-2*t.padding),t.propsChange&&t.propsChange())};t.openMouseHandle=function(){var i=t.layer;i.addEventListener("mousedown",e,!1),i.addEventListener("mousewheel",n,!1)},t.closeMouseHandle=function(){var i=t.layer;i.removeEventListener("mousedown",e,!1),i.removeEventListener("mousewheel",n,!1)};var i=t.destroy;t.destroy=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t.closeMouseHandle(),i.apply(this,e)}},xn=function(t){var e=["increase","getStackState","preservation","previous","next","closeMouseHandle","showGauge","hideGauge"],n=[];t.forbidden=function(){n.length!==e.length&&(t.hideGauge(),t.closeMouseHandle(),r["a"].examples.get(t.processing.render).forEach((function(t){return t.unEvent()})),p["default"].attaArch.forEach((function(t){t.forEach((function(t){t instanceof R&&t.delEvent()}))})),e.forEach((function(e){n.push(t[e]),delete t[e]})))},t.available=function(){n.length===e.length&&(e.forEach((function(e,i){return t[e]=n[i]})),n=[],r["a"].examples.get(t.processing.render).forEach((function(t){return t.listen()})),p["default"].attaArch.forEach((function(t){t.forEach((function(t){return t instanceof R&&t.addEvent()}))})),t.showGauge(),t.openMouseHandle())}},On=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Pn=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},jn=function(t,e){return t.contains?t.contains(e):Array.from(t.childNodes).some((function(t){return t===e}))},Sn=function(t){function e(e){var n=e.local,i=e.renderer,r=e.active,o=void 0===r?0:r,s=e.show,g=void 0===s||s,A=t.call(this,{local:n,renderer:i,dialog:0,active:o,show:g})||this;return A.items=[],A.layerClick=function(){return A.dialog=0},i.layer.addEventListener("click",A.layerClick),A}return On(e,t),e.prototype.grentImage=function(t){var e=document.createElementNS(o["s"],"image");return e.href.baseVal=n("0d26"),e.setAttribute("x",(-t/2).toString()),e.setAttribute("y",(-t/2).toString()),e.setAttribute("width",t.toString()),e.setAttribute("height",t.toString()),e},e.prototype.grentNode=function(){var t=document.createElementNS(o["s"],"g");this.path=document.createElementNS(o["s"],"path"),this.path.setAttribute("stroke","rgb(0, 200, 175)"),this.path.setAttribute("fill","transparent");var e=document.createElementNS(o["s"],"circle");e.setAttribute("fill","rgb(0, 200, 175)"),e.setAttribute("stroke","#fff");var n=document.createElementNS(o["s"],"text");return n.setAttribute("fill","#fff"),n.setAttribute("text-anchor","middle"),n.setAttribute("dy",".4em"),this.temp=document.createElementNS(o["s"],"g"),this.temp.appendChild(e),this.temp.appendChild(n),this.temp.style.cursor="pointer",this.dialogLayer=document.createElementNS(o["s"],"g"),this.itemsLayout=document.createElementNS(o["s"],"path"),this.itemsLayout.setAttribute("fill","rgba(255,255,255,0.7)"),this.dialogLayer.appendChild(this.itemsLayout),t.appendChild(this.path),t},e.prototype.update=function(){var t=this,e=9*this.multiple,n=2*this.multiple;if(this.real.style.display=this.show?"initial":"none",this.path.setAttribute("stroke-width",(2*this.multiple).toString()),this.local.length>0)this.path.setAttribute("d","M "+this.local.map((function(t){var e=t.x,n=t.y;return e+" "+n})).join(" L "));else if(this.path.setAttribute("d",""),this.dialog)return this.dialog=0;this.items.forEach((function(e){try{t.real.removeChild(e)}catch(n){}})),this.items=[],this.temp.style.display=this.show?"initial":"none";var i=this.local.length-this.items.length;if(i>0)for(var r=0;r<i;r++){var o=this.temp.cloneNode(!0);this.real.appendChild(o),this.items.push(o)}else if(i<0)for(r=0;r>i;r--){var s=this.items.shift();this.real.removeChild(s)}for(r=0;r<this.local.length;r++){var g=this.items[r].querySelector("circle"),A=this.items[r].querySelector("text");this.items[r].setAttribute("transform","translate("+this.local[r].x+","+this.local[r].y+")"),this.items[r].style.display="inherit",g.setAttribute("stroke-width",n.toString()),g.setAttribute("r",e.toString()),A.setAttribute("font-size",(10*this.multiple).toString()),this.local[r].rangn?(g.setAttribute("fill","#666666"),this.items[r].appendChild(this.grentImage(e+n))):A.textContent=this.local[r].text.toString(),this.local[r]===this.active&&(A.setAttribute("fill","rgb(250,250,0)"),g.setAttribute("stroke","rgb(250,250,0)"),this.items[r].setAttribute("class","active"))}var a=this.calcGroup();for(r=0;r<a.length;r++)a[r].body.forEach((function(e){var n=t.local.indexOf(e);t.items[n].style.display="none"}));this.showDialog(2*(e+n))},e.prototype.showDialog=function(t){var e=this;if(0!==this.dialog){for(var n=0;n<this.dialogLayer.childNodes.length;n++)this.dialogLayer.childNodes[n]!==this.itemsLayout&&(this.dialogLayer.removeChild(this.dialogLayer.childNodes[n]),n--);this.itemsLayout.innerHTML="";var i=5*this.multiple,r=(t+i)*this.dialog.items.length,o=t+2*i,s=this.dialog.pos.x-r/2,g=this.dialog.pos.y-o-t,A=8*this.multiple;this.itemsLayout.setAttribute("d","\n M "+s+" "+(g+o)+"\n A "+o/2+" "+o/2+" 0 1 1 "+s+" "+g+"\n L "+(s+r)+" "+g+"\n A "+o/2+" "+o/2+" 0 1 1 "+(s+r)+" "+(g+o)+"\n L "+(s+r/2+A)+" "+(g+o)+"\n L "+(s+r/2)+" "+(g+o+A)+"\n L "+(s+r/2-A)+" "+(g+o)+"\n L "+s+" "+(g+o)+"\n ");var a=function(n,r){n&&(n.setAttribute("transform","translate("+(s+(t+i)*r)+","+(g+(t/2+i))+")"),n.style.display="inline",e.dialogLayer.appendChild(n))};this.dialog.items.forEach((function(t,n){e.items[e.local.indexOf(t)]?e.dialogLayer.style.display="block":e.dialogLayer.style.display="none",a(e.items[e.local.indexOf(t)],n+1)})),this.items[this.local.indexOf(this.dialog.pos)]&&a(this.items[this.local.indexOf(this.dialog.pos)].cloneNode(!0),0)}},e.prototype.calcGroup=function(){var t=this,e=18*this.multiple,n=[];return this.local.forEach((function(i){if(!n.find((function(t){return~t.body.indexOf(i)}))){var r=t.local.filter((function(t){return i!==t&&Object(h["x"])({points:[i,t]})<e}));r.length>0&&n.push({head:i,body:r})}})),n},e.prototype.notice=function(){0!==this.dialog?this.real.appendChild(this.dialogLayer):jn(this.real,this.dialogLayer)&&this.real.removeChild(this.dialogLayer)},e.prototype.intercept=function(t,e){var n=this,i=e.active;if(!i)return!0;var r=this.calcGroup(),o=r.find((function(t){var e=t.head,n=t.body;return e===i||~n.indexOf(i)}));if(this.nextTick((function(){n.dialog=o?{pos:o.head,items:Pn(o.body)}:0})),this.active&&this.items[this.local.indexOf(this.active)]){var s=this.items[this.local.indexOf(this.active)],g=s.querySelector("circle"),A=s.querySelector("text");A.setAttribute("fill","#fff"),g.setAttribute("stroke","#fff"),s.setAttribute("class","active")}return!0},e.prototype.setActive=function(t){this.active=t},e.prototype.click=function(t){t.stopPropagation();for(var e=0;e<this.items.length;e++)if(jn(this.items[e],t.target)||t.target===this.items[e]){this.setActive(this.local[e]);break}},e.prototype.destroy=function(){this.renderer.layer.removeEventListener("click",this.layerClick)},e}(r["a"]),En=Sn,kn=function(){return kn=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},kn.apply(this,arguments)},Mn=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},Nn=function(t){var e=t.addProcessing;t.addProcessing=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=e.call.apply(e,Mn([t],n)),o=new En({renderer:r.render,local:[]});return o.zIndex=2,r.render.push(o),r.rote=o,o.setActive=function(e){t.activeRoute(o.local.indexOf(e))},r},t.showRotes=function(){var e=t.processing.rote;return e.show=!0,new Promise((function(t){return e.nextTick(t)}))},t.hideRotes=function(){var e=t.processing.rote;return e.show=!1,new Promise((function(t){return e.nextTick(t)}))},t.setRoutes=function(e){console.error("111111");var n=t.processing,i=0;e.forEach((function(t,e){t.__id=e,t.rangn||(t.text=(++i).toString())}));var r={};e.forEach((function(t){r[t.floorId]?r[t.floorId].push(t):r[t.floorId]=[t]})),console.error("-----------------",r),Object.keys(r).forEach((function(n){t.processings.map((function(t){var e=t.id;return e})).length,t.changeProcessing(Number(n)),e=r[n];var i=t.processing.rote,o=function(t){var n=e.slice(0,t).reverse().find((function(t){return!t.rangn}));return n||e.slice(t).find((function(t){return!t.rangn}))};e=e.map((function(t,e){if(t.rangn){var n=o(e);if(n)return kn(kn({},n),{rangn:!0})}return kn({},t)})),i.__state.direct=!0,i.local=Mn(e),i.update(),i.__state.direct=!1})),t.changeProcessing(n)},t.pushRoute=function(e){t.clearRoutes((function(){setTimeout((function(){}),100)}))},t.activeRoute=function(e){var n=t.processing.rote;n.nextTick((function(){n.active=n.local.find((function(t){return t.__id===e}))}))},t.popRoute=function(e){var n=t.processing.rote;n.local.splice(e,1),n.nextTick((function(){return n.local=Mn(n.local)}))},t.clearRoutes=function(e){var n=t.processing.rote;n.local=[],n.dialog=0,n.nextTick((function(){return e&&e()}))}},Ln=n("a345"),Dn=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},Tn=function(t){var e={fillColor:"rgb(0, 200, 175)",storkeColor:"green"},n={fillColor:"rgba(245, 255, 0, 0.7)",storkeColor:"rgba(245, 255, 255, 0.3)"};t.setDefaultPointStyle=function(i){i.storkeColor&&(e.storkeColor=i.storkeColor),i.fillColor&&(e.fillColor=i.fillColor),i.hoverStorkeColor&&(n.storkeColor=i.hoverStorkeColor),i.hoverFillColor&&(n.fillColor=i.hoverFillColor),setTimeout((function(){t.loadData(t.getData())}),100)};var i={width:3,color:"rgb(255,255,255)"},r=t.addProcessing;t.addProcessing=function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];var g=r.call.apply(r,Dn([t],o));return Ln["a"].Setting.set(g.render,e),A["a"].Setting.set(g.render,n),u.Setting.set(g.render,i),g},t.setDefaultLineStyle=function(e){e.width&&(i.width=e.width),e.color&&(i.color=e.color),setTimeout((function(){t.loadData(t.getData())}),100)}},Rn=function(t){t.edits=[]},Vn=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i};function Xn(t,e){var n=e.addCase,i=e.addDoor,r=e.addStair,o=e.addColumn,s=e.addLine,g=e.addSlideDoor,A=e.addBayCase,a=e.addGroundCase,C=e.addFurnColumn,I=e.addFurnFlue,c=e.adddDoubleDoor,l=e.addDoorleaf,u=function(t){Object.defineProperties(t,{ewidth:{get:function(){return Number(Object(h["x"])({points:t.linePoints}).toFixed(2))},set:function(e){if(!(e<=0||e===t.ewidth)){t.__state.direct=!0;var n=Object(h["v"])({points:t.linePoints}),i=Object(h["d"])(t.attachment,n,e/2),r=i[0],o=i[1];Object(h["x"])({points:[t.linePoints[0],r]})>Object(h["x"])({points:[t.linePoints[0],o]})?(t.linePoints[0].x=o.x,t.linePoints[0].y=o.y,t.linePoints[1].x=r.x,t.linePoints[1].y=r.y):(t.linePoints[0].x=r.x,t.linePoints[0].y=r.y,t.linePoints[1].x=o.x,t.linePoints[1].y=o.y),t.update(),t.__state.direct=!1}}},maxWidth:{get:function(){var e=[t.attachment],n=[],i=[],r=function(e,n,i){var r=e.linePoints||e.points;return{dis:Object(h["x"])({points:[t.linePoints[n],r[i]]}),point:r[i]}};e.forEach((function(e){e!==t&&(n.push(r(e,0,0)),n.push(r(e,0,1)),i.push(r(e,1,0)),i.push(r(e,1,1)))})),n.sort((function(t,e){return t.dis-e.dis})),i.sort((function(t,e){return t.dis-e.dis}));var o=n[0].dis>i[0].dis?[t.linePoints[1],i[0].point]:[t.linePoints[0],n[0].point];return Number((2*Object(h["x"])({points:o})+Object(h["x"])({points:t.linePoints})).toFixed(2))}},minWidth:{get:function(){return 0}}})},p=function(e){Object.defineProperties(e,{estart:{get:function(){return e.start},set:function(n){n&&t.processings.forEach((function(t){t.isLoadEles?t.doors.forEach((function(t){t.ele.start=!1})):t.cacheData.door.forEach((function(t){t.start=!1}))})),e.start=n,t.preservation()}}})},d=function(t){Object.defineProperties(t,{tick:{get:function(){return Math.max(Number(Object(h["x"])({points:[t.points[0],t.points[3]]}).toFixed(2)),Number(Object(h["x"])({points:[t.points[1],t.points[2]]}).toFixed(2)))},set:function(e){e<=0||e===t.oldVal||(t.__state.direct=!0,t.oldVal=e,t.thickness=e,t.updatePeripheral(),t.update(),t.__state.direct=!1)}},maxTick:{get:function(){return 10}},minTick:{get:function(){return 0}}})};e.addDoorleaf=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=l.call.apply(l,Vn([this],t));return u(n.ele),n},e.addCase=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=n.call.apply(n,Vn([this],t));return u(i.ele),i},e.addBayCase=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=A.call.apply(A,Vn([this],t));return u(n.ele),n},e.addGroundCase=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=a.call.apply(a,Vn([this],t));return u(n.ele),n},e.addDoor=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=i.call.apply(i,Vn([this],t));return u(n.ele),p(n.ele),n},e.addSlideDoor=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=g.call.apply(g,Vn([this],t));return u(n.ele),n},e.adddDoubleDoor=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=c.call.apply(c,Vn([this],t));return u(n.ele),n},e.addColumn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=o.call.apply(o,Vn([this],t));return u(n.ele),d(n.ele),n},e.addStair=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=r.call.apply(r,Vn([this],t));return u(n.ele),d(n.ele),n},e.addLine=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=s.call.apply(s,Vn([this],t));return n};var f=function(t){Object.defineProperties(t,{ewidth:{get:function(){return Number(Object(h["x"])({points:[t.points[0],t.points[1]]}).toFixed(2))},set:function(e){if(!(e<=0||e===t.ewidth)){var n=Object(h["y"])({points:[t.points[0],t.points[1]]},e),i=Object(h["y"])({points:[t.points[2],t.points[3]]},e),r=n.points.concat(i.points);t.check(r)&&t.directUpdate(r)}}},maxWidth:{get:function(){return 10}},minWidth:{get:function(){return 0}}})},y=function(t){Object.defineProperties(t,{tick:{get:function(){return Number(Object(h["x"])({points:[t.points[1],t.points[2]]}).toFixed(2))},set:function(e){if(!(e<=0||e===t.tick)){var n=Object(h["y"])({points:[t.points[0],t.points[3]]},e),i=Object(h["y"])({points:[t.points[1],t.points[2]]},e),r=[n.points[0],i.points[0],i.points[1],n.points[1]];t.check(r)&&t.directUpdate(r)}}},maxTick:{get:function(){return 10}},minTick:{get:function(){return 0}}})},v=function(t){Object.defineProperties(t,{maxAngle:{get:function(){return 360}},minAngle:{get:function(){return 0}}})};e.addFurnColumn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=C.call.apply(C,Vn([this],t));return f(n.ele),y(n.ele),v(n.ele),n},e.addFurnFlue=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=I.call.apply(I,Vn([this],t));return f(n.ele),y(n.ele),v(n.ele),n}}var Wn=function(t){var e=t.addProcessing;t.addProcessing=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=e.call.apply(e,Vn([t],n));return Xn(t,r),r}},Gn=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},Bn=function(t){var e=!1,n=t.addProcessing;t.addProcessing=function(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];var o=n.call.apply(n,Gn([t],i)),s=o.addTagging;return o.addTagging=function(t){return t.show=e,s.call(o,t)},o},t.hideLabel=function(){e=!1,t.processings.forEach((function(t){t.taggings.forEach((function(t){return t.ele.show=e}))}))},t.showLabel=function(){e=!0,t.processings.forEach((function(t){t.taggings.forEach((function(t){return t.ele.show=e}))}))}},_n=(n("2fdb"),"data:image/png;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBMRXhpZgAATU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAANqADAAQAAAABAAAANgAAAAD/7QA4UGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAA4QklNBCUAAAAAABDUHYzZjwCyBOmACZjs+EJ+/8AAEQgANgA2AwERAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQY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C1zpXe6W2G2fEc7S7k2A4w5jEYDFwIwq42qFyBk43GulQmot8y5JWut3or6PS2/d+S0M3yt8zveD6Pe+nb807dLizx71kupwJUs7e38tCz/L5qGR5AvKNIymFMsPlCH73BbNWmn6c36b2j2/TS15XfW3lf+v8Ah/vKL6osNrZSSRn5reI7YwMgTBmQZZiPlER3AKOWGCQBTqXpU4t2l7zVkrWur77v7/PUWjbWtvVrZLol59+m27P/2Q=="),Qn="data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4QBMRXhpZgAATU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABwqADAAQAAAABAAABwgAAAAD/7QA4UGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAA4QklNBCUAAAAAABDUHYzZjwCyBOmACZjs+EJ+/9sBBBAACwALAAsACwALAAsADAANAA0ADAARABIAEAASABEAGAAWABQAFAAWABgAJQAaABwAGgAcABoAJQA4ACMAKQAjACMAKQAjADgAMgA8ADEALgAxADwAMgBZAEYAPgA+AEYAWQBnAFYAUgBWAGcAfQBwAHAAfQCdAJUAnQDNAM0BFBEACwALAAsACwALAAsADAANAA0ADAARABIAEAASABEAGAAWABQAFAAWABgAJQAaABwAGgAcABoAJQA4ACMAKQAjACMAKQAjADgAMgA8ADEALgAxADwAMgBZAEYAPgA+AEYAWQBnAFYAUgBWAGcAfQBwAHAAfQCdAJUAnQDNAM0BFP/CABEIAcIBwgMBEQACEQEDEQH/xAAYAAEBAQEBAAAAAAAAAAAAAAABAgADBf/aAAgBAQAAAAD1ebLtfUrTrrXidEqG46amt1dWmr1OjEZ04Ayu1GLTptyvnig2k2p2ztrLdzSHMY22221as1TtJJpAdtttlVprYmTBJQZxWdbVW0MESSAG2yrra6NDJEyRtMbZKsraqpraZIxp0CbN5XWt5gmZSdiYouqLk10WzLENEpPOp6NZQqtToZjNRo2HbZpRde3NnbEmM7bLWSte0YmjRN7bbbbK1dVtBEadsmzLtt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hsiQxjeRhRgkEY64P0/HrXVWmrO6drvTu2l19Wu1uiV2jnp+4097drLTXTy37t+bshfthtQ+5fMZIi8ZJ+64Tjj0HbkHtxglvPhJKo73f4bX8vLv8ntK6Xxp/wBa6fr5/rGGyd9SsI7mcjzPtDgY4G3djnhueB/9fOV3g7XXf9On9fodi1Ue/f1+f/yPbuy1NAbcxgMSHwfTAHt3x7lfrWl/fhv8UvxS/rfXbQiorx9W1+Hrr+Frbu/u1p7ho7clGYSAHY+AdpJxnrnpnjH484rr5rNu2jtp6f8Abr/L5u3vefy3SV9U3r6/9vL8/kr+62DeY0lklZiW5wAM8Zz17989P7rcFW5J2jbWS77Wdu0b6+a+VvedOP7yKv8Aa7en97+8uv8A9rYmhdFDwSlASAQe4J2+nXr6jntnK1zWV+l/TdXX2Xf7l+h6bTWj/wAv1l+f3393PukSDT7uUtI5iEmASCOFbPp1xzxnvwaznPmpza0tG6v/AJW/WXr1kbP0f9d/1+ZS8LQR2+g2KxxRxwXiTTS28eRGzFmIJzznnng4Ofbb85hJvmlre82trWfN3/4f5XuaSi7LX4kmr7pO2+123br0srG9ZRq29QihV4HsAeg/AgdO2ec161WpH3W02uVXV+vfZdn1fyOGtFJ3tq3v3v39Gn01vbSx/9k=",zn=[{name:"hall",img:_n,size:function(){var t={width:30,height:30},e=new Image;return e.src=_n,e.onload=function(){t.width=e.width,t.height=e.height},t}()},{name:"room",img:Qn,size:function(){var t={width:30,height:30},e=new Image;return e.src=Qn,e.onload=function(){t.width=e.width,t.height=e.height},t}()},{name:"other",img:Jn,size:function(){var t={width:30,height:30},e=new Image;return e.src=Jn,e.onload=function(){t.width=e.width,t.height=e.height},t}()}],Un=[{texts:vt["a"].t("modules.cad.hall_tests").split(","),mapping:"hall"},{texts:vt["a"].t("modules.cad.room_tests").split(","),mapping:"room"},{texts:vt["a"].t("modules.cad.other_tests").split(","),mapping:"other"}],Zn=(Un.reduce((function(t,e){return t.concat(e.texts)}),[]),function(t){var e=Un.find((function(e){var n=e.texts;return~n.indexOf(t)}));return zn.find((function(t){var n=t.name;return n===(e?e.mapping:"other")})).img}),Yn=function(t){var e=Un.find((function(e){var n=e.texts;return~n.indexOf(t)}));return zn.find((function(t){var n=t.name;return n===(e?e.mapping:"other")})).size},Kn=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Fn=0,Hn=function(t){function e(e){return t.call(this,e)||this}return Kn(e,t),e.prototype.grentNode=function(){var t="pattern-"+ ++Fn,e=document.createElementNS(o["s"],"g");return this.path=document.createElementNS(o["s"],"path"),this.pattern=document.createElementNS(o["s"],"pattern"),this.maping=document.createElementNS(o["s"],"image"),this.pattern.append(this.maping),this.pattern.setAttribute("id",t),this.pattern.setAttribute("patternUnits","userSpaceOnUse"),this.path.setAttribute("fill","url(#"+t+")"),e.appendChild(this.path),e.appendChild(this.pattern),e},e.prototype.update=function(){var t="M"+this.points.map((function(t){return" "+t.x+" "+t.y+" "})).join("L")+"z",e=Yn(this.label),n=this.renderer.screenToRealPoint({x:e.width,y:e.height}),i=this.renderer.screenToRealPoint({x:0,y:0}),r=Math.abs(n.x-i.x),o=Math.abs(n.y-i.y);this.icon&&this.icon===this.firstIcon||(this.icon=Zn(this.label),this.maping.href.baseVal=this.icon,this.firstIcon=this.icon),this.maping.setAttribute("width",r.toString()),this.maping.setAttribute("height",o.toString()),this.pattern.setAttribute("width",r.toString()),this.pattern.setAttribute("height",o.toString()),this.path.setAttribute("d",t)},e}(r["a"]),qn=Hn,$n=n("533b");var ti=function(t){t.door.concat(t.slideDoor).concat(t.doubleDoor).forEach((function(t,e){t.id=e})),t=JSON.parse(JSON.stringify(t)),t={points:t.vertex?t.vertex:t.points,lines:t.wall?t.wall:t.lines,doors:t.door.concat(t.slideDoor).concat(t.doubleDoor)},console.log("---",t);var e=Object($n["a"])(t);return console.log("***",e),e};var ei=function(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function s(t){try{A(i.next(t))}catch(e){o(e)}}function g(t){try{A(i["throw"](t))}catch(e){o(e)}}function A(t){t.done?n(t.value):r(t.value).then(s,g)}A((i=i.apply(t,e||[])).next())}))},ni=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:g(0),throw:g(1),return:g(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function g(t){return function(e){return A([t,e])}}function A(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(g){o=[6,g],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},ii=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},ri=function(t,e){var n=t.processing,i=n.doors,r=n.slideDoors,o=n.groundCases,s=n.cases,g=n.points,A=n.taggings,a=n.bayCases,C=ii(n.furnFlues,n.furnColumns,n.columns),I=ii(n.lines),c=ii(s,i);A.forEach((function(t){var n=3*e;t.ele.fontSize=n<12?12:n})),C.forEach((function(t){t.ele.width=.33*e})),r.forEach((function(t){t.ele.foorWidth=2*e/(t.ele.attachment.border?1:2),t.ele.bwithin=e/2/(t.ele.attachment.border?1:2)})),s.forEach((function(t){t.ele.width=4*e/2/(t.ele.attachment.border?1:1.5),t.ele.stamWidth=.1*e/(t.ele.attachment.border?1:2),t.ele.outLine.width=t.ele.width,t.ele.outLine.color=t.ele.fill,t.ele.innerline.width=t.ele.stamWidth,t.ele.innerline.color=t.ele.seam,t.ele.innerline.update()})),I.forEach((function(t){t.ele.width=e})),a.forEach((function(t){t.ele.width=.33*e/(t.ele.attachment.border?1:2)})),o.forEach((function(t){t.ele.width=e/2*(t.ele.attachment.border?1:2)})),i.forEach((function(t){t.ele.foorWidth=2*e/(t.ele.attachment.border?1:2),t.ele.outWidth=.33*e/(t.ele.attachment.border?1:2)})),g.forEach((function(t){t.ele.r1=e+1,t.ele.r=e+1})),c.forEach((function(t){t.ele.linePoints[0].r1=e+1,t.ele.linePoints[0].r=e+1,t.ele.linePoints[1].r1=e+1,t.ele.linePoints[1].r=e+1})),t.setDireAttrs({fontSize:2.6*e,r:16.6*e,border:e,ArgDire:5*e})},oi=function(t){var e=t.screenshot;t.screenshot=function(n){var i=void 0===n?{}:n,o=i.width,s=void 0===o?2880:o,g=i.height,A=void 0===g?1620:g,a=i.primaryColor,C=void 0===a?"#fff":a,I=i.archColor,c=void 0===I?"rgba(0,0,0,0)":I,l=i.bgColor,u=void 0===l?"rgba(0,0,0,0)":l,p=i.textColor,d=void 0===p?"#fff":p,f=i.archBorder,y=void 0===f?C:f,v=i.data,b=void 0===v?t.getData(!0,!0):v,m=i.padding,w=void 0===m?450:m,x=i.showGauge,O=void 0===x||x,P=i.gaugeColor,j=void 0===P?C:P,S=i.lineWidth,E=void 0===S?10:S,k=i.spliceGauge,M=void 0!==k&&k,N=i.showDire,L=void 0!==N&&N,D=i.direLeft,T=void 0!==D&&D,R=i.showTags,V=void 0===R||R,X=i.showDoorStart,W=void 0===X||X,G=i.showMapping,B=void 0!==G&&G,_=i.gaugeCom,Q=void 0===_?fe:_,J=i.format,z=void 0===J?"image/png":J,U=i.showTop,Z=void 0!==U&&U,Y=i.showRight,K=void 0!==Y&&Y,F=i.simple,H=void 0===F||F,q=i.hollow,$=void 0===q||q,tt=i.gaugeModel,et=void 0===tt?1:tt,nt=i.direIcon,it=void 0===nt?"defaultIcon":nt,rt=i.errreturn,ot=void 0!==rt&&rt,st=i.accurate,gt=void 0!==st&&st,At=i.explains,at=void 0===At?[]:At;return ei(void 0,void 0,void 0,(function(){var n,i,o,g,a,I,l,p,f,v,m,x,P,S,k,N,D,R,X,G,_,J,U;return ni(this,(function(Y){switch(Y.label){case 0:return b=yn(b.floors.find((function(e){return e.id===t.processing.id}))),n=t.processing.lines[0]?t.processing.lines[0].ele.width:3,i=[],o=[],console.log("-*----1"),r["a"].examples.get(t.processing.render).forEach((function(t){o.push(new Promise((function(e){return t.nextTick(e)})))})),[4,Promise.all(o)];case 1:for(Y.sent(),r["a"].examples.get(t.processing.render).forEach((function(t){t.__state.direct=!0,t.changeSelect(!1)})),console.log("-*----2"),B&&(g=[],b=In(cn({floors:[b]})).floors[0],a=ti(b).map((function(t){var e=t.points;return e})),a=a.map((function(t){return t})).sort((function(t,e){return Object(h["p"])(t,e)?1:-1})),a.forEach((function(e,n){var r=t.processing.taggings.find((function(t){return Object(h["A"])(e,t.ele)&&!~g.indexOf(t)})),o=new qn({points:e,label:r?r.ele.title:"",show:!0,renderer:t.processing.render});o.zIndex=-n-3,o.update(),t.processing.render.push(o),t.processing.render.g.insertBefore(o.real,t.processing.render.g.children[0]),i.push(o),g.push(r)}))),console.log("-*----3"),I=[{key:"stroke",attr:["doors","columns","stairs","bayCases","furnColumns","furnFlues","doubleDoors"],oldVals:[],newColor:y},{key:"fill",attr:["groundCases","doorleafs"],oldVals:[],newColor:y},{key:"seam",attr:["cases"],oldVals:[],newColor:C},{key:"bgColor",attr:["cases"],oldVals:[],newColor:C},{key:"color",attr:["lines"],oldVals:[],newColor:C},{key:"icon",attr:["doors"],oldVals:[],newColor:C},{key:"fill",attr:["cases","doors","columns","stairs","bayCases","furnColumns","furnFlues","slideDoors","doubleDoors"],oldVals:[],newColor:c},{key:"foorColor",attr:["slideDoors"],oldVals:[],newColor:y},{key:"clipColor",attr:["slideDoors"],oldVals:[],newColor:c},{key:"color",attr:["taggings"],oldVals:[],newColor:d}],I.forEach((function(e){var n=e.key,i=e.attr,r=e.oldVals,o=e.newColor;i.forEach((function(e){r.push(t.processing[e].map((function(t){var e=t.ele;return e[n]}))),t.processing[e].forEach((function(t){var e=t.ele;e[n]="icon"===n?"#fff"!==o?"darkIcon":"defaultIcon":o}))}))})),l=t.processing.direction,p=l.show,!l.show&&L?t.showDire():L||t.hideDire(),f=t.processing.taggings[0]&&t.processing.taggings[0].ele.show,t.processing.taggings.forEach((function(t){var e=t.ele;return e.show=V})),v=t.processing.points.length?"rgb(0, 200, 175)":t.processing.points[0].ele.fillColor,m=t.processing.points.length?4:t.processing.points[0].ele.r,x=t.processing.lines.length?t.processing.lines[0].ele.init.color:"#fff",t.processing.points.forEach((function(e){var n=e.ele,i=0;i=t.processing.lines.filter((function(t){var e=t.ele.points;return e.includes(n)})).some((function(t){return t.ele.border}))?2*E:E,n.r=i,n.type=0,n.r1=i,n.fillColor=C,n.update(),n.__state.direct=!1})),P=[].concat(t.processing.doors).concat(t.processing.groundCases).concat(t.processing.cases).concat(t.processing.doubleDoors).concat(t.processing.doorleafs),_=0;_<P.length;_++)J=P[_].ele.points||P[_].ele.linePoints,J&&J.forEach((function(t){return t.fillColor="rgba(0,0,0,0)"}));console.log("-*----6"),t.setGaugeModel(et),S=l.icon,t.setDireAttrs({simple:H,icon:it,right:T?s-113:40}),k=t.processing.doors.map((function(t){return t.ele.showStart})),t.processing.doors.forEach((function(t){return t.ele.showStart=W})),console.log("-*----7"),N=t.gauge&&t.gauge.stroke,D={company:Q,width:E/4,padding:5.3*E,showTop:Z,showRight:K,stroke:j,hollow:$},O?(D.minPX=M?20*E:Math.max(s,A),t.setGaugeAttrs(D)):t.hideGauge(),console.log("-*----8"),ri(t,E),r["a"].examples.get(t.processing.render).forEach((function(t){return t.update()})),Y.label=2;case 2:if(Y.trys.push([2,6,,7]),!window.ActiveXObject&&!("ActiveXObject"in window))return[3,3];throw"ie不支持截图";case 3:return[4,e.call(this,{width:s,accurate:gt,primaryColor:C,explains:at,height:A,bgColor:u,data:b,spadding:w,showGauge:O,lineWidth:E,format:z})];case 4:R=Y.sent(),Y.label=5;case 5:return[3,7];case 6:return G=Y.sent(),ot?(t.processing.render.layer.style.opacity="1",r["a"].examples.get(t.processing.render).forEach((function(t){t.__state.direct=!1,t.update()})),[2,G]):(X=G,[3,7]);case 7:for(console.log("-*----9"),O?t.setGaugeAttrs({company:fe,minPX:50,width:1,showTop:!0,showRight:!0,padding:10,hollow:!0,stroke:N}):t.showGauge(),t.setDireAttrs({simple:0,icon:S,right:40}),_=0;_<P.length;_++)J=P[_].ele.points||P[_].ele.linePoints,J&&J.map((function(t){return t.fillColor=v}));if(ri(t,n),t.setGaugeModel(0),t.processing.points.forEach((function(t){var e=t.ele;e.fillColor=v,e.r=m,e.r1=m,e.type=1})),t.processing.lines.forEach((function(t){var e=t.ele;return e.color=x})),(U=t.processing.render).remove.apply(U,i),p?t.showDire():t.hideDire(),f?t.processing.taggings.forEach((function(t){var e=t.ele;return e.show=!0})):t.processing.taggings.forEach((function(t){var e=t.ele;return e.show=!1})),t.processing.doors.forEach((function(t,e){t.ele.showStart=k[e]})),I.forEach((function(e){var n=e.key,i=e.attr,r=e.oldVals;i.forEach((function(e,i){t.processing[e].forEach((function(t,e){var o=t.ele;o[n]=r[i][e]}))}))})),t.processings.forEach((function(t){r["a"].examples.get(t.render).forEach((function(t){t.update(),t.__state.direct=!1}))})),t.processing.render.layer.style.opacity="1",X)throw X;return[2,R]}}))}))}},si=(n("8615"),n("c75e")),gi=function(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function s(t){try{A(i.next(t))}catch(e){o(e)}}function g(t){try{A(i["throw"](t))}catch(e){o(e)}}function A(t){t.done?n(t.value):r(t.value).then(s,g)}A((i=i.apply(t,e||[])).next())}))},Ai=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:g(0),throw:g(1),return:g(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function g(t){return function(e){return A([t,e])}}function A(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(g){o=[6,g],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},ai=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},Ci=function(t,e){return gi(void 0,void 0,void 0,(function(){var n,i,r,o,s,g,A,a,C,I,c,l;return Ai(this,(function(u){switch(u.label){case 0:return n=t.processing.render.layer,i=(t.processing.render.layer.offsetWidth||parseInt(getComputedStyle(t.processing.render.layer).width))*e,r=(t.processing.render.layer.offsetHeight||parseInt(getComputedStyle(t.processing.render.layer).height))*e,t.processing.doors.forEach((function(t){t.ele.showStart=!1})),o=ai(t.processing.points,t.processing.lines,t.processing.doors,t.processing.columns,t.processing.cases,t.processing.bayCases,t.processing.slideDoors,t.processing.groundCases,t.processing.furnFlues,t.processing.furnColumns),o.length?[4,Promise.all(o.map((function(t){var e=t.ele;return new Promise((function(t){return e.nextTick(t)}))})))]:[2];case 1:u.sent(),s=n.querySelector(".sign"),u.label=2;case 2:return u.trys.push([2,4,,5]),[4,t.screenshot({width:i,height:r,bgColor:"rgba(0,0,0,0)",padding:t.padding*e,showGauge:!1,lineWidth:2,showDire:!1,showTags:!1,showDoorStart:!1,errreturn:!0})];case 3:for(A=u.sent().file,g="url("+URL.createObjectURL(A)+")",s.style.display="block",a=t.processing,C=a.render.g,I=Array.from(n.querySelectorAll(".sign")),c=0;c<C.children.length;c++)~I.indexOf(C.children[c])||C.removeChild(C.children[c--]);return[3,5];case 4:return l=u.sent(),console.error("截图失败",l),t.padding=t.padding*e,t.processing.render.layer.style.transformOrigin="left top",t.processing.render.layer.style.transform="scale("+1/e+")",t.setDefaultSignStyle({r:5*e}),t.adapt(t.processing.data,i,r),[3,5];case 5:return[2,g]}}))}))},Ii=function(t,e,n,i){return void 0===n&&(n={}),void 0===i&&(i={}),gi(void 0,void 0,void 0,(function(){var r,o,s,g;return Ai(this,(function(A){return t.processing?t.isLoadToCanvas?(t.changeProcessing(on["a"].getters["scene/floorId"]),Object.keys(n).forEach((function(t){return delete n[t]})),Object.keys(i).forEach((function(t){return delete n[t]})),[2]):(r=t.__cacheData,t.isLoadToCanvas=!0,s=3,(window.ActiveXObject||"ActiveXObject"in window)&&(s=1),t.processing,t.processing&&(t.processing.render.layer.style.opacity="0"),g=t.changeProcessing,t.changeProcessing=function(){for(var A=[],a=0;a<arguments.length;a++)A[a]=arguments[a];if(t.processing&&A[0]===t.processing.id){if(r===t.__cacheData)return;r=t.__cacheData}t.processing&&(t.processing.render.layer.style.opacity="0"),t.hideDire(),t.hideGauge(),clearTimeout(o),t.processings.length&&(t.processings[0].render.layer.style.visibility="hidden");var C=g.call.apply(g,ai([t],A,[!0]));return setTimeout((function(){return gi(void 0,void 0,void 0,(function(){var r,g,A;return Ai(this,(function(a){switch(a.label){case 0:return t.processing?(r=t.processing.isLoadEles&&!i[t.processing.id]&&!n[t.processing.id],console.error("------------------",t.processing.id),r&&(i[t.processing.id]=!0),r?[4,t.hideSign()]:[3,4]):[2];case 1:return a.sent(),g=n,A=t.processing.id,[4,Ci(t,s)];case 2:return g[A]=a.sent(),[4,t.showSign()];case 3:a.sent(),i[t.processing.id]=!1,a.label=4;case 4:return t.processing.render.layer.style.backgroundImage=""+n[t.processing.id],t.processing&&(t.processing.render.layer.style.opacity="1"),t.adapt(),Object.values(i).every((function(t){return!t}))||!i[t.processing.id]?(clearTimeout(o),o=setTimeout((function(){t.processings[0].render.layer.style.visibility="visible"}),500)):o=setTimeout((function(){t.processings[0].render.layer.style.visibility="visible"}),2e3),e&&e(),[2]}}))}))}),100),e&&e(),C},si["a"].on("floor/change",(function(e){t.changeProcessing(e)})),t.processing.render.layer.style.visibility="visible",e&&e(),[2]):[2]}))}))},ci=Ii,li=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},ui=r["a"].prototype.listen;r["a"].prototype.listen=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=this.render.processing.cad.edits&&this.render.processing.cad.edits.some((function(e){return t instanceof e}));(i||this.render.processing.cad.edit||this instanceof En)&&ui.call.apply(ui,li([this],e))};var hi=R.prototype.addEvent;function pi(t){var e=t.data,n=t.layer,i=t.edit,r=void 0===i||i,o=t.padding,s=void 0===o?20:o,g=new Ae({dom:n,padding:s});g.edit=r,ue(g),r?(vn(g),bn(g),mn(g),wn(g),xn(g),Wn(g)):(vn(g),wn(g)),Rn(g),Tn(g),en(g),Ue(g),Re(g),Nn(g),r&&(g.openMouseHandle(),g.showGauge()),Bn(g),oi(g),g.loadData(e);var A={},a={};return g.toCanvas=function(t){return ci(g,t,A,a)},g}R.prototype.addEvent=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=this.render.processing.cad.edits&&this.render.processing.cad.edits.some((function(e){return t instanceof e}));(i||this.render.processing.cad.edit)&&hi.call.apply(hi,li([this],e))};e["a"]=pi;window.structureCAD=pi},"33e9":function(t,e,n){"use strict";n.r(e);n("8e6e"),n("456d");var i=n("ade3"),r=(n("ac6a"),n("5df3"),n("96cf"),n("1da1")),o=(n("c5f6"),n("f121"),n("0b16")),s=n.n(o),g=n("c75e");function A(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?A(Object(n),!0).forEach((function(e){Object(i["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var C=s.a.parse(location.href,!0),I=C.query;console.error(I);var c={readySuccess:!1,special:Number(I.special),orderList:[],canShow:I.canShow,list:[]};function l(){return u.apply(this,arguments)}function u(){return u=Object(r["a"])(regeneratorRuntime.mark((function t(){var e,n,i,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,$.ajax({headers:{"X-Nideshop-Token":c.token},method:"GET",data:{pageNum:1,pageSize:1e5},url:c.API_BASE_URL+"box/position/getList"});case 2:return e=t.sent,n=e.data.list,c.list=n.reduce((function(t,e){return t.concat(e.childList)}),[]),t.next=7,Promise.all(c.list.map((function(t){return new Promise((function(e){var n=0,i=function(){return 2===++n&&e()};$.ajax({headers:{"X-Nideshop-Token":c.token},method:"GET",data:{positionId:t.positionId},url:c.API_BASE_URL+"/box/position/getDetail"}).then((function(e){t.rowNum=e.data.rowNum,t.columnNum=e.data.columnNum,i()})),$.ajax({headers:{"X-Nideshop-Token":c.token},method:"GET",data:{pageNum:1,pageSize:1e5,positionId:t.positionId},url:c.API_BASE_URL+"/box/getOrQuery"}).then((function(e){t.boxList=e.data.list.map((function(t){return a(a({},t),{},{status:2===t.saleStatus||1===t.status?1:t.saleStatus})})),i()}))}))})));case 7:return t.next=9,$.ajax({headers:{"X-Nideshop-Token":c.token},method:"GET",data:{pageNum:1,pageSize:1e5},url:c.API_BASE_URL+"box/order/getOrQuery"});case 9:i=t.sent,r=i.data.list,c.orderList=r,c.readySuccess=!0,g["a"].emit("graveReadySuccess",c);case 14:case"end":return t.stop()}}),t)}))),u.apply(this,arguments)}console.error(c),c.special?(c.API_BASE_URL=I.API_BASE_URL,c.token=I["X-Nideshop-Token"],l()):c.readySuccess=!0,e["default"]=function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e&&(c.readySuccess=!1,l()),!c.readySuccess){t.next=5;break}return t.abrupt("return",c);case 5:return t.next=7,new Promise((function(t){g["a"].on("graveReadySuccess",(function(){t(c)}))}));case 7:return t.abrupt("return",t.sent);case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},"35e8":function(t,e,n){"use strict";t.exports={isString:function(t){return"string"===typeof t},isObject:function(t){return"object"===typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},"36df":function(t,e,n){},"37a7":function(t,e,n){"use strict";var i=n("1c7d"),r=n.n(i);r.a},"3b09":function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isMultiFloor?n("div",{directives:[{name:"show",rawName:"v-show",value:"pano"!=t.mode,expression:"mode != 'pano'"}],staticClass:"floor",class:{disable:t.status.isRecording||t.status.isPlaying,guide:t.$config.isEdit&&"guide"==t.page}},[n("ul",["3d"==t.mode?n("li",{class:{active:"all"==t.floorUId},on:{click:function(e){return t.flyToFloor("all")}}},[n("b"),n("span",[t._v(t._s(t.$t("common.all")))])]):t._e(),t._l(t.floorList,(function(e){return n("li",{key:e.id,class:{active:e.id==t.floorUId},on:{click:function(n){return t.flyToFloor(e.id)}}},[n("b"),n("span",[t._v(t._s(e.name))])])}))],2)]):t._e()},r=[],o=(n("8e6e"),n("ac6a"),n("456d"),n("ade3")),s=n("2f62"),g=n("c7b2");function A(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?A(Object(n),!0).forEach((function(e){Object(o["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var C={computed:a(a({},Object(s["b"])({mode:"mode",page:"page",floor:"scene/floor",floors:"scene/floors",floorUId:"scene/floorUId",isMultiFloor:"scene/isMultiFloor",status:"guide/status"})),{},{floorList:function(){return this.floors.reverse()}}),methods:{flyToFloor:function(t){this.floorUId!=t&&("all"==t?g["app"].director.allFloors():g["app"].player.gotoFloor(t),this.$store.commit("scene/SetFloorId",t),this.$bus.emit("player/floor",t))}}},I=C,c=(n("c054"),n("2877")),l=Object(c["a"])(I,i,r,!1,null,"6d72e677",null);e["a"]=l.exports},"40b3":function(t,e,n){"use strict";var i=n("f87e"),r=n.n(i);r.a},"422d":function(t,e,n){},4364:function(t,e,n){"use strict";var i=n("422d"),r=n.n(i);r.a},"47ad":function(t,e,n){"use strict";var i=n("ba9c"),r=n.n(i);r.a},"47ee":function(t,e,n){"use strict";var i=n("f0be"),r=n.n(i);r.a},"49c7":function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{appear:"",name:"custom-classes-transition","leave-active-class":"animated fadeOut faster"}},[-1!=t.player.progres||t.isLogoEdit?n("div",{staticClass:"widgets-loading",on:{touchmove:function(t){t.preventDefault()}}},[n("div",{staticClass:"content "},[t._l(3,(function(e){return n("div",{key:e,class:"brick brick-"+e+" "+(t.enter?"enter":"")},[n("div",{staticClass:"brick-top face"}),n("div",{staticClass:"brick-bottom face"}),n("div",{staticClass:"brick-left face"}),n("div",{staticClass:"brick-right face"}),n("div",{staticClass:"brick-front face"}),n("div",{staticClass:"brick-back face"})])})),n("div",{class:"logo "+(t.enter?"enter":"")},[null!=t.logoMain?n("div",[t.logoMain?n("div",{staticClass:"logo-main",style:{"background-image":"url("+t.logoMain+")"}}):n("div",["zh"===t.$config.lang?n("i",{staticClass:"iconfont iconhengbiaoCN"}):n("i",{staticClass:"iconfont iconhengbiaoEN"})])]):t._e()])],2),t.logoBottom&&"hongwei"!=t.$config.oem?n("div",{staticClass:"bottom-intro"},[1==t.logoBottom?n("span",[n("i",{staticClass:"iconfont icon_logo"}),t._v(t._s(t.$t("modules.base.loading_bottom_text")))]):n("div",{style:{"background-image":"url("+t.logoBottom+")"}})]):t._e()]):t._e()])},r=[],o=(n("8e6e"),n("ac6a"),n("456d"),n("ade3")),s=n("2f62");function g(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function A(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?g(Object(n),!0).forEach((function(e){Object(o["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var a={name:"widgets-loading",data:function(){return{progres:0,enter:!1}},computed:A(A({},Object(s["b"])({logos:"scene/logos",player:"player",tempdata:"scene/tempdata",isLogoEdit:"scene/isLogoEdit"})),{},{logoMain:function(){return Object({NODE_ENV:"production",VUE_APP_CDN_URL:"",VUE_APP_HIDE_MENU:"scene,decor,virtual,vrhouse,business",VUE_APP_INCLUDEAPPS:"embed,shop,decor,discover,reserve,grave,fire-control,rtc-live",VUE_APP_LANGS:"zh#中文,en#英文,de#德文,fr#法文,jp#日文,kr#韩文,es#西班牙文",VUE_APP_LOCAL_PAGE:"embed",VUE_APP_OEM:"localshow",VUE_APP_OEM_NAEM:"本地版展示页面",VUE_APP_OPENAPI:"",VUE_APP_RTC_SOCKETURL:"",VUE_APP_SERVER_URL:"",VUE_APP_SHOP_ADMIN_URL:"",VUE_APP_SHOP_SOCKETURL:"",VUE_APP_SHOP_URL:"",VUE_APP_STATIC_DIR:"static",VUE_APP_STATIC_URL:"static/",VUE_APP_TESTKEY:"test",VUE_APP_TESTPWD:"11111111Aa",VUE_APP_TESTUSR:"13112311178",VUE_APP_VRHOUSE_OPENAPI:"",VUE_APP_VRHOUSE_URL:"",BASE_URL:""}).VUE_APP_LOGO_MAIN?Object({NODE_ENV:"production",VUE_APP_CDN_URL:"",VUE_APP_HIDE_MENU:"scene,decor,virtual,vrhouse,business",VUE_APP_INCLUDEAPPS:"embed,shop,decor,discover,reserve,grave,fire-control,rtc-live",VUE_APP_LANGS:"zh#中文,en#英文,de#德文,fr#法文,jp#日文,kr#韩文,es#西班牙文",VUE_APP_LOCAL_PAGE:"embed",VUE_APP_OEM:"localshow",VUE_APP_OEM_NAEM:"本地版展示页面",VUE_APP_OPENAPI:"",VUE_APP_RTC_SOCKETURL:"",VUE_APP_SERVER_URL:"",VUE_APP_SHOP_ADMIN_URL:"",VUE_APP_SHOP_SOCKETURL:"",VUE_APP_SHOP_URL:"",VUE_APP_STATIC_DIR:"static",VUE_APP_STATIC_URL:"static/",VUE_APP_TESTKEY:"test",VUE_APP_TESTPWD:"11111111Aa",VUE_APP_TESTUSR:"13112311178",VUE_APP_VRHOUSE_OPENAPI:"",VUE_APP_VRHOUSE_URL:"",BASE_URL:""}).VUE_APP_LOGO_MAIN:this.logos.main},logoBottom:function(){return Object({NODE_ENV:"production",VUE_APP_CDN_URL:"",VUE_APP_HIDE_MENU:"scene,decor,virtual,vrhouse,business",VUE_APP_INCLUDEAPPS:"embed,shop,decor,discover,reserve,grave,fire-control,rtc-live",VUE_APP_LANGS:"zh#中文,en#英文,de#德文,fr#法文,jp#日文,kr#韩文,es#西班牙文",VUE_APP_LOCAL_PAGE:"embed",VUE_APP_OEM:"localshow",VUE_APP_OEM_NAEM:"本地版展示页面",VUE_APP_OPENAPI:"",VUE_APP_RTC_SOCKETURL:"",VUE_APP_SERVER_URL:"",VUE_APP_SHOP_ADMIN_URL:"",VUE_APP_SHOP_SOCKETURL:"",VUE_APP_SHOP_URL:"",VUE_APP_STATIC_DIR:"static",VUE_APP_STATIC_URL:"static/",VUE_APP_TESTKEY:"test",VUE_APP_TESTPWD:"11111111Aa",VUE_APP_TESTUSR:"13112311178",VUE_APP_VRHOUSE_OPENAPI:"",VUE_APP_VRHOUSE_URL:"",BASE_URL:""}).VUE_APP_LOGO_BOTTOM?Object({NODE_ENV:"production",VUE_APP_CDN_URL:"",VUE_APP_HIDE_MENU:"scene,decor,virtual,vrhouse,business",VUE_APP_INCLUDEAPPS:"embed,shop,decor,discover,reserve,grave,fire-control,rtc-live",VUE_APP_LANGS:"zh#中文,en#英文,de#德文,fr#法文,jp#日文,kr#韩文,es#西班牙文",VUE_APP_LOCAL_PAGE:"embed",VUE_APP_OEM:"localshow",VUE_APP_OEM_NAEM:"本地版展示页面",VUE_APP_OPENAPI:"",VUE_APP_RTC_SOCKETURL:"",VUE_APP_SERVER_URL:"",VUE_APP_SHOP_ADMIN_URL:"",VUE_APP_SHOP_SOCKETURL:"",VUE_APP_SHOP_URL:"",VUE_APP_STATIC_DIR:"static",VUE_APP_STATIC_URL:"static/",VUE_APP_TESTKEY:"test",VUE_APP_TESTPWD:"11111111Aa",VUE_APP_TESTUSR:"13112311178",VUE_APP_VRHOUSE_OPENAPI:"",VUE_APP_VRHOUSE_URL:"",BASE_URL:""}).VUE_APP_LOGO_BOTTOM:!!this.tempdata.showLogoBottom||void 0}}),mounted:function(){this.enter=!0}},C=a,I=(n("da57"),n("2877")),c=Object(I["a"])(C,i,r,!1,null,"34f3e455",null);e["a"]=c.exports},"4bcc":function(t,e,n){"use strict";var i=n("c264"),r=n.n(i);r.a},"4c2b":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAACECAYAAAAeNUIyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABphJREFUeNrsW2tTHEUU7enZAXYD4bkICCKaqNFUtPxiaUzUWH73H2sV5bt8lkETX2VFQiCoRBNY1rDrXHK6qtPOo++dnsEPuVUdyOzM9Nl7b3ffc7qJlVJjaRuiNW1x2kZ1+g+1EVxoGgD1qzUuRLjQaghAC/1Rv0pbH9CFpAEgLfQTmQvauaFuIP8BkAWiTiCZAFRBRwYI2f2AOZBpuuDBUB5pWV8o9wblAYR+/iMAkJQBKPNEVY94AfAFYb+0VcO9x7NW4nlvZM2qAw8PRL4gdOA4J4wv5Z2YZc/ZySpef2K8MGI+54ZmRPgesmFkrWaR0CvDis/2I2dZjVRzdgxgOBwemcQ8ogtNA0C/D40OunDYQIX1EICsIWo8MmwKQN48UVdohvD0ke9kFTo0BsCAO2OGCo0JwUA6bVcFkhsC7tohBULfvFey2LEWMC6QAed+zirqm6yFSRhiKR+UADEhYIVOUk/kuXogTWItzHo3NO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m7sy6Zo0MEBmgkr2AuoCte55YAmIJqJu5eueLJSCWgFgCpmAgloBYAupNyXXPFktALAGxBMQSUP5IWN2Zq675ogaIGqAu1pqZJ2qAqAGiBogaIGqAfgxEDRA1QDNrc12zRg0QNUDUAFEDRA0QNUCxNScOhRbTrT2jogaIGiBqgKgBogaIGqDYqhQ1QDHd2jMqaoCoAaIGSLwGsF8X24sk7NuBwzT7ZuCCtv+6dxiHJuvrfi+grEDexwcA3iM8wL8AIABIXIHE3Y8MEAAkrkDi7iebASRNA3ByFv9vSf6SIgtJASBpOoArshc79r77194tbM8LtpDcmwoMyQAg6TkA1wI4ekBwfwXwKsnbUoAgCQAk2Ze/e9/gOSi+e0jaF8hdN/cASPq+wGPg8aDvI3miZwJcAyDJXjNb9otem0jO9wqBWwAkLQTwSkWBu47khopstcqMZwB2AphZkdq7SM6qyFarzLgEQJJ9JubHipU+jqR9PsZV8wrAKL4n3PnvBE9GrlcAlgBYVfGtupTk6optNm7OKwD3Ani8YnXvI/lExTYbN+cVgCr/AxgPksv/BLwCYOcAt1d8e415PB/oFYBDAdju3mEVQfAXgGkk/67IXmvMuATA1JW0BcDcipTeStJ2Ed01zwBUuQy4TP9Gs1sAsiywAsCykrftSpJ3lLTR2uGuAcggsGLQskGRtoPkWJGBXRnjHoAMgmG/PG7DOvMF8DKwJQFABoFt5lgqH7Q9bF/5XEHSNpPct2QAGI+kpNMBGAwzJh4KBbAbwE6SX7mP+gQHkwMgpeDm8TUAyKOS4z4BgOPg5nEtAMijkuM+AYDj4OZxLQDIo5LjPgGA4+DmcS0AyKOS4z4BgOPg5nEtAMijkuM+AYDj4OZxLQDIo5LjPgGA4+DmcS0AyKOS4z4BgOPg5nEtAMijkuM+/wPvGwif+TctVgAAAABJRU5ErkJggg=="},"4f7f":function(t,e,n){"use strict";var i=n("c26b"),r=n("b39a"),o="Set";t.exports=n("e0b8")(o,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return i.def(r(this,o),t=0===t?0:t,t)}},i)},"504c":function(t,e,n){var i=n("9e1e"),r=n("0d58"),o=n("6821"),s=n("52a7").f;t.exports=function(t){return function(e){var n,g=o(e),A=r(g),a=A.length,C=0,I=[];while(a>C)n=A[C++],i&&!s.call(g,n)||I.push(t?[n,g[n]]:g[n]);return I}}},"50c4":function(t,e,n){"use strict";var i=n("cb2e"),r=n.n(i);r.a},5259:function(t,e,n){},"532cb":function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return s}));var i,r=.05,o=15,s={isShift:!1};document.documentElement.addEventListener("keydown",(function(t){"Shift"===t.key&&(console.log("-------"),s.isShift=!0,clearTimeout(i),i=setTimeout((function(){return s.isShift=!1}),500))}))},"62e4":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"676c":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",t._l(t.deskTags,(function(e){return n("div",{key:e.sid,staticClass:"com-player-tag tag-container",class:t.getLayerClass(e),attrs:{id:"tag"+e.sid},on:{click:function(n){return t.gotoTag(e)}}},[n("div",{staticClass:"tag-body"},[0===e.orderStatus?n("div",{staticClass:"content show"},[n("p",[t._v(t._s(e.deskName))]),n("span",{staticClass:"button",on:{click:function(n){return t.reserve(e)}}},[t._v("立即预订")])]):t._e(),2===e.orderStatus?n("div",{staticClass:"content show"},[n("img",{attrs:{src:e.reserveUserAvatar}}),n("div",[n("h5",[t._v(t._s(t.detail.canteenName)+" "+t._s(e.deskName))]),n("p",[t._v("时间"),n("span",[t._v(t._s(e.reserveTime.substring(5,16)))])])])]):t._e(),n("div",{staticClass:"label"},[2!==e.orderStatus?[n("i",{staticClass:"iconfont iconreserv_hot"}),t._m(0,!0),n("span")]:[n("img",{staticClass:"bg",attrs:{src:"static/img/apps/reserve/reserv_hot_checked_bg.png"}}),n("img",{staticClass:"sf",attrs:{src:"static/img/apps/reserve/reserv_hot_checked_sofa.png"}}),t._m(1,!0)]],2),n("i",{staticClass:"tag-close"})])])})),0)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dh-layer"},[n("i",{staticClass:"iconfont iconreserv_arrows"})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dh-layer"},[n("img",{staticClass:"arrows",attrs:{src:"static/img/apps/reserve/reserv_hot_checked_arrows.png"}})])}],o=(n("8e6e"),n("456d"),n("96cf"),n("1da1")),s=(n("7514"),n("ac6a"),n("ade3")),g=n("2f62"),A=n("147f"),a=n("fa04");function C(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function I(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?C(Object(n),!0).forEach((function(e){Object(s["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var c={data:function(){return{showSid:null,showTags:[],deskList:[],labelSid:null,detail:{}}},computed:I(I({},Object(g["b"])({tag:"hotspot/tag",tags:"hotspot/tags"})),{},{deskTags:function(){var t=this;if(!this.tags||!this.deskList)return[];var e=[];return console.log(this.deskList),this.deskList.forEach((function(n){var i=t.tags.find((function(t){var e=t.sid;return n.hotId===e}));i&&e.push(I(I({},i),n))})),e}}),watch:{tags:function(){var t=this;this.$nextTick((function(){setTimeout((function(){t.tags.forEach((function(t){$("#container".concat(t.sid)).append($("#tag".concat(t.sid)))})),t.updateLabelDeskId()}),100)}))},tag:function(){this.showSid=this.tag&&this.tag.sid},deskList:function(){this.updateLabelDeskId()}},methods:{gotoTag:function(t){var e=a["a"].tagManager.tags[t.hotId];e&&a["a"].player.flyToTag(e,!0)},getLayerClass:function(t){var e=["unreserve","noplace","reserve"];return e[t.orderStatus]},reserve:function(t){this.$bus.emit("tag-reserve",t.id)},updateLabelDeskId:function(){var t=a["a"].tagManager.getClosestTag();if(!t)return null;var e=this.deskTags.find((function(e){var n=e.sid;return n===t.sid}));e&&(this.labelSid=e.sid)}},mounted:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,n=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.$bus.on("reserveReadySuccess",(function(t){var e=t.deskList,i=t.detail;n.deskList=e,n.detail=i})),t.next=3,Object(A["a"])();case 3:e=t.sent,this.deskList=e.deskList,this.detail=e.detail,this.$bus.on("player/position/change",this.updateLabelDeskId.bind(this));case 7:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},l=c,u=(n("d00f"),n("2877")),h=Object(u["a"])(l,i,r,!1,null,"dbf16a82",null);e["default"]=h.exports},"67db":function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("popup",{attrs:{show:!0,"can-close":t.canClose},on:{close:function(e){return t.$emit("close")}}},[n("div",{staticClass:"ui-message ui-message-confirm",style:t.setStyle,on:{click:function(t){t.stopPropagation()}}},[n("div",{staticClass:"ui-message-header"},[n("span",[t._v(t._s(t.title))]),t.showCloseIcon?n("span",{on:{click:t.onNo}},[n("i",{staticClass:"iconfont icon_close"})]):t._e()]),n("div",{staticClass:"ui-message-main"},[t._t("default")],2),n("div",{staticClass:"ui-message-footer"},[t.ok?n("button",{staticClass:"ui-button submit",on:{click:t.onOk}},[t._v(t._s(t.okText))]):t._e(),t.no?n("button",{staticClass:"ui-button cancel",on:{click:t.onNo}},[t._v(t._s(t.noText))]):t._e()])])])},r=[],o=n("9923"),s=n("fa5b"),g={name:"ui-confirm",props:{canClose:Boolean,setStyle:{type:Object,default:function(){return{}}}},components:{Popup:s["a"]},data:function(){return{showCloseIcon:!1,duration:0,title:o["a"].t("tips.title"),tips:"",content:"",okText:o["a"].t("common.set"),noText:o["a"].t("common.giveup"),ok:null,no:null}},methods:{onOk:function(){this.ok&&!1===this.ok(this)||this.onClose()},onNo:function(){this.no&&this.no(),this.onClose()},onClose:function(){this.$emit("close")}}},A=g,a=n("2877"),C=Object(a["a"])(A,i,r,!1,null,null,null);e["a"]=C.exports},"6b6b":function(t,e,n){"use strict";n("5df3"),n("f400"),n("7514"),n("55dd"),n("c5f6"),n("ac6a"),n("ac4d"),n("8a81"),n("fd24");var i=n("a345"),r=n("c137"),o=n("dcab"),s=n("532cb"),g=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),A=function(){return A=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},A.apply(this,arguments)},a=function(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function s(t){try{A(i.next(t))}catch(e){o(e)}}function g(t){try{A(i["throw"](t))}catch(e){o(e)}}function A(t){t.done?n(t.value):r(t.value).then(s,g)}A((i=i.apply(t,e||[])).next())}))},C=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:g(0),throw:g(1),return:g(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function g(t){return function(e){return A([t,e])}}function A(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(g){o=[6,g],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},I=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},c=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},l=function(t){function e(n){var i=n.hover,r=I(n,["hover"]),o=this;if(!r.renderer)throw r;return i||(i={fillColor:e.Setting.get(r.renderer).fillColor,storkeColor:e.Setting.get(r.renderer).storkeColor}),o=t.call(this,r)||this,o.hover=i,o.hover.r=o.hover.r||o.init.r,o.real.setAttribute("class","variable"),o.adopt=!1,o.disable=!1,o.zIndex=2,o}return g(e,t),e.prototype.setHoverStyle=function(){this.fillColor=this.hover.fillColor,this.strokeWidth=this.hover.r,this.storkeColor=this.hover.storkeColor},e.prototype.setUnHoverStyle=function(){this.fillColor=this.init.fillColor,this.strokeWidth=this.init.strokeWidth,this.storkeColor=this.init.storkeColor},e.prototype.dragStart=function(){this.dragStartPoint={x:this.x,y:this.y}},e.prototype.drag=function(t){if(this.disable||0===t.x&&0===t.y)return!1;this.x=this.dragStartPoint.x+t.x*this.multiple,this.y=this.dragStartPoint.y+t.y*this.multiple},e.prototype.update=function(){var e=this;t.prototype.update.call(this);var n=this.renderer.processing.lines.filter((function(t){var n=t.ele;return~n.points.indexOf(e)})).map((function(t){var e=t.ele;return e}));n.forEach((function(t){t.showAngle=e.hover&&e.fillColor===e.hover.fillColor}))},e.prototype.intercept=function(t,e,n){var i=this,g=e.x,a=e.y;e.select;if(r["f"].isUndefined(g)||r["f"].isUndefined(a))return!0;if(this.dragStartPoint){for(var C,I={x:g,y:a},l=this.renderer.processing.lines.map((function(t){var e=t.ele;return e})),u=l.filter((function(t){return~t.points.indexOf(i)})).map((function(t){var e=t.points.indexOf(i),n=Number(!e),r=l.filter((function(e){return~e.points.indexOf(t.points[n])&&t!==e})),o=c(t.points);return o[e]=I,c([{points:o}],r)})),h=s["a"].isShift?0:s["b"],p=function(t){var e=u[t];if(e.length<2)return"continue";var n=e.slice(1).map((function(t){var n=Object(o["c"])(e[0],t);return n>90&&(n=180-n),{line:t,angle:Object(o["c"])(e[0],t)}})),i=n.map((function(t){return A(A({},t),{angle:t.angle>90?180-t.angle:t.angle})})).sort((function(t,e){var n=t.angle,i=e.angle;return n-i}));if(i[0].angle<=h){var r=i[0].line;C=Object(o["h"])(r,C||I)}var s=n.find((function(t){var e=t.angle;return e>90-h&&e<90+h&&90!==e}));s&&(C=Object(o["l"])(Object(o["H"])(s.line),s.line.points.find((function(t){return~e[0].points.indexOf(t)})),C||I))},d=0;d<u.length;d++)p(d);return C}},e.prototype.dragEnd=function(){return a(this,void 0,void 0,(function(){var t,e,i,r,s,g,A=this;return C(this,(function(a){switch(a.label){case 0:return delete this.dragStartPoint,this.renderer.processing.__insertIng?[2]:(t=n("0a1e").default,e=this,e.stopDragEnd||e.dragEnding?[2]:(e.dragEnding=!0,i=e.__join_lines&&e.__join_lines.find((function(e){return!(Object(o["x"])({points:e.points})>.1||t.attaArch.get(e)&&t.attaArch.get(e).length)})),i?[4,i.judgeMerge()]:[3,4]));case 1:return r=a.sent(),r?[4,new Promise((function(t){r.adopt=!1,i.nextTick((function(){r.nextTick((function(){i.destroy(),i.destoryPoint(r),t()}))}))}))]:[3,3];case 2:a.sent(),a.label=3;case 3:return[3,8];case 4:s=this.renderer.processing.lines.map((function(t){var e=t.ele;return e})).filter((function(t){return~t.points.indexOf(A)})),g=0,a.label=5;case 5:return g<s.length?[4,s[g].judgePoint()]:[3,8];case 6:a.sent(),a.label=7;case 7:return g++,[3,5];case 8:return e.dragEnding=!1,this.renderer.processing.depLines(),[2]}}))}))},e.Setting=new Map,e}(i["a"]);e["a"]=l},"6c7b":function(t,e,n){var i=n("5ca1");i(i.P,"Array",{fill:n("36bd")}),n("9c6c")("fill")},"6d92":function(t,e,n){},"6ee9":function(t,e,n){},"71fb":function(t,e,n){"use strict";n.d(e,"s",(function(){return s})),n.d(e,"r",(function(){return g})),n.d(e,"q",(function(){return A})),n.d(e,"m",(function(){return a})),n.d(e,"f",(function(){return C})),n.d(e,"h",(function(){return I})),n.d(e,"d",(function(){return c})),n.d(e,"c",(function(){return l})),n.d(e,"o",(function(){return u})),n.d(e,"t",(function(){return h})),n.d(e,"k",(function(){return p})),n.d(e,"b",(function(){return d})),n.d(e,"i",(function(){return f})),n.d(e,"j",(function(){return y})),n.d(e,"l",(function(){return v})),n.d(e,"n",(function(){return b})),n.d(e,"p",(function(){return m})),n.d(e,"g",(function(){return w})),n.d(e,"a",(function(){return x})),n.d(e,"e",(function(){return O}));var i,r,o=n("9923"),s="http://www.w3.org/2000/svg",g="http://www.w3.org/1999/xlink",A="__state",a="point",C="door",I="double_door",c="column",l="casement",u="slideDoor",h="tagging",p="groundCase",d="bayCase",f="furnColumn",y="furnFlue",v="line",b="seftline",m="stair",w="doorleaf",x=(i={},i[a]=o["a"].t("modules.model.point"),i[C]=o["a"].t("modules.model.door"),i[I]=o["a"].t("modules.model.double_door"),i[c]=o["a"].t("modules.model.column"),i[l]=o["a"].t("modules.model.casement"),i[u]=o["a"].t("modules.model.slideDoor"),i[h]=o["a"].t("modules.model.tagging"),i[p]=o["a"].t("modules.model.groundCase"),i[d]=o["a"].t("modules.model.bayCase"),i[f]=o["a"].t("modules.model.furnColumn"),i[y]=o["a"].t("modules.model.furnFlue"),i[v]=o["a"].t("modules.model.line"),i[b]=o["a"].t("modules.model.line"),i[m]=o["a"].t("modules.cad.stair"),i[w]=o["a"].t("modules.cad.doorleaf"),i),O=(r={},r[C]={width:.8,height:2},r[w]={width:.8},r[I]={width:1.6,height:2},r[u]={width:1.5,height:2},r[l]={width:.8,height:1.2},r[d]={width:1.5,height:1.2},r[p]={width:1.5,height:2},r[c]={width:.65,tick:.65},r[f]={width:.65,tick:.65},r[y]={width:.65,tick:.65},r[v]={width:.5},r[m]={width:.65,tick:.65},r)},"78b5":function(t,e,n){},"81aa":function(t,e,n){"use strict";var i=n("14f2"),r=n.n(i);r.a},8593:function(t,e,n){"use strict";var i=n("1d52"),r=n.n(i);r.a},8615:function(t,e,n){var i=n("5ca1"),r=n("504c")(!1);i(i.S,"Object",{values:function(t){return r(t)}})},"86ac":function(t,e,n){},"8e4c":function(t,e,n){"use strict";var i=n("a336"),r=n.n(i);r.a},9124:function(t,e,n){},"91dd":function(t,e,n){"use strict";function i(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,n,o){e=e||"&",n=n||"=";var s={};if("string"!==typeof t||0===t.length)return s;var g=/\+/g;t=t.split(e);var A=1e3;o&&"number"===typeof o.maxKeys&&(A=o.maxKeys);var a=t.length;A>0&&a>A&&(a=A);for(var C=0;C<a;++C){var I,c,l,u,h=t[C].replace(g,"%20"),p=h.indexOf(n);p>=0?(I=h.substr(0,p),c=h.substr(p+1)):(I=h,c=""),l=decodeURIComponent(I),u=decodeURIComponent(c),i(s,l)?r(s[l])?s[l].push(u):s[l]=[s[l],u]:s[l]=u}return s};var r=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},"99bd":function(t,e,n){"use strict";var i=n("6d92"),r=n.n(i);r.a},"9a47":function(t,e,n){"use strict";var i=n("6ee9"),r=n.n(i);r.a},a336:function(t,e,n){},a345:function(t,e,n){"use strict";n("ac6a"),n("5df3"),n("f400"),n("6b54"),n("fd24");var i=n("c815"),r=n("71fb"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=function(){return s=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},s.apply(this,arguments)},g=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},A=1,a=function(t){function e(n){var i=n.strokeWidth,r=void 0===i?0:i,o=n.r,A=void 0===o?4:o,a=n.type,C=void 0===a?1:a,I=n.r1,c=void 0===I?4:I,l=n.fillColor,u=n.storkeColor,h=g(n,["strokeWidth","r","type","r1","fillColor","storkeColor"]),p=this;return l=l||e.Setting.get(h.renderer).fillColor,u=u||e.Setting.get(h.renderer).storkeColor,p=t.call(this,s({storkeColor:u,fillColor:l,r:A,r1:c,type:C,strokeWidth:r},h))||this,p.init={strokeWidth:r,r:A,r1:c,fillColor:l,type:C,storkeColor:u},p.update(),p}return o(e,t),e.prototype.grentNode=function(){var t=document.createElementNS(r["s"],"g"),e=document.createElementNS(r["s"],"ellipse");e.setAttribute("_id",(A++).toString());var n=document.createElementNS(r["s"],"rect");return t.appendChild(e),t.appendChild(n),this.point=e,this.rect=n,t.appendChild(n),t},e.prototype.update=function(){var t=this.r*this.multiple,e=this.r1*this.multiple;if(!isNaN(this.x)&&!isNaN(this.y)){var n=this.strokeWidth*this.multiple;try{this.type?(this.point.setAttribute("cx",this.x.toString()),this.point.setAttribute("cy",this.y.toString()),this.point.setAttribute("fill",this.fillColor),this.point.setAttribute("rx",t.toString()),this.point.setAttribute("ry",e.toString()),this.point.setAttribute("stroke-width",n.toString()),this.point.setAttribute("stroke",this.storkeColor),this.rect.style.display="none",this.point.style.display="inherit"):(this.rect.setAttribute("x",(this.x-t/2).toString()),this.rect.setAttribute("y",(this.y-e/2).toString()),this.rect.setAttribute("fill",this.fillColor),this.rect.setAttribute("width",t.toString()),this.rect.setAttribute("height",e.toString()),this.rect.setAttribute("stroke-width",n.toString()),this.rect.setAttribute("stroke",this.storkeColor),this.point.style.display="none",this.rect.style.display="inherit")}catch(i){}}},e.prototype.destroy=function(){t.prototype.destroy.call(this)},e.fillColor="rgb(0, 200, 175)",e.storkeColor="green",e.Setting=new Map,e}(i["a"]);e["a"]=a},a6db:function(t,e,n){},ad7e:function(t,e,n){},ae8f:function(t,e,n){"use strict";var i=n("f6ec"),r=n.n(i);r.a},b31b:function(t,e,n){"use strict";var i,r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"com-player",class:{"show-split":t.showSplit},style:{"background-image":-1!=t.player.progres?"url("+t.thumb+")":""}},[n("div",{staticClass:"com-player-wrapper",class:{visible:-1==t.player.progres}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.status.isRecording&&!t.$config.isMobile&&-1==t.roomIndex,expression:"status.isRecording && !$config.isMobile && roomIndex==-1"}],staticClass:"recording-status",class:{sound:t.status.isRecordSounding}},[n("i"),n("span",[t._v(t._s(t._f("timeFormat")(this.recordTime)))])]),n("div",{attrs:{id:"player"},on:{drop:function(e){return e.stopPropagation(),t.onDrop(e)},dragover:function(e){return e.stopPropagation(),t.onDragover(e)}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.showPositionMarks,expression:"showPositionMarks"}],staticClass:"markspot",class:[t.$config.isEdit?"hotspot":"point"]},[t._m(0)])]),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.playbIsIframe,expression:"!playbIsIframe"}],attrs:{id:"player-b"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.showPositionMarks,expression:"showPositionMarks"}],staticClass:"markspot",class:[t.$config.isEdit?"hotspot":"point"]},[t._m(1)])]),n("iframe",{directives:[{name:"show",rawName:"v-show",value:t.playbIsIframe,expression:"playbIsIframe"}],staticClass:"player-iframe",attrs:{name:"linkSceneFrame",src:t.playerbIframeUrl}}),n("doors"),n("rulers"),n("doll-labels"),n("plan-labels"),n("design-option"),t._t("billboards",[n("billboards")]),t.showSnapshot?n("snapshot"):t._e(),t.showMeasure?n("measure"):t._e(),t.player.showUI||t.player.showUIMap?n("maps"):t._e(),t.player.showUI?n("navbar",{directives:[{name:"show",rawName:"v-show",value:t.player.showWidgets,expression:"player.showWidgets"}]}):t._e(),t.player.showUI?n("information",{directives:[{name:"show",rawName:"v-show",value:t.player.showWidgets||t.player.showVR,expression:"player.showWidgets || player.showVR"}]}):t._e(),n("vr-tips"),n("Guide")],2),n("loading"),n("div",{staticClass:"record-counting",class:{show:t.counting}},[n("span",[t._v(t._s(t.counting))])])],1)},o=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"around"},[n("div",{staticClass:"iconfont icon_top"}),n("div",{staticClass:"iconfont icon_top"}),n("div",{staticClass:"iconfont icon_top"}),n("div",{staticClass:"iconfont icon_top"})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"around"},[n("div",{staticClass:"iconfont icon_top"}),n("div",{staticClass:"iconfont icon_top"}),n("div",{staticClass:"iconfont icon_top"}),n("div",{staticClass:"iconfont icon_top"})])}],s=(n("8e6e"),n("ac6a"),n("456d"),n("7f7f"),n("9c86"),n("ade3")),g=n("2f62"),A=n("c7b2"),a=n("49c7"),C=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"widgets-maps",class:{disable:t.disable,top:"base"==this.page,app:t.isApp},on:{click:t.onClick}},[n("div",{ref:"layer",staticClass:"map-play",staticStyle:{"z-index":"2"}})])},I=[],c=(n("c5f6"),n("dcab")),l=n("26d4"),u=(n("c75e"),n("6860")),h=n("f708");n("cd18");function p(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?p(Object(n),!0).forEach((function(e){Object(s["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var f=function(t){var e=JSON.parse(JSON.stringify(t.floor));return e.floors?e.floors=e.floors.map((function(e){return Object(c["C"])(e,t.initRotate,{x:0,y:0})})):e=Object(c["C"])(e,t.initRotate,{x:0,y:0}),e},y={name:"widgets-maps",data:function(){return{isApp:h["a"],visible:!1}},computed:d(d({},Object(g["b"])({page:"page",floor:"scene/houstFloor",status:"guide/status",player:"player",metadata:"scene/metadata",floorId:"scene/floorId",modeCanSwitch:"modeCanSwitch"})),{},{initRotate:function(){return this.metadata.floorPlanAngle?Number(this.metadata.floorPlanAngle):0},show:function(){var t=this;if(!this.visible||!this.player.showWidgets)return!1;if(!this.player.showNavigations.map||!this.player.showMap||"pano"!=this.player.mode||this.player.showSplit||this.player.showVR)return!1;if(this.$config.isEdit)if(this.$config.isMobile){if(this.page&&"base"!=this.page&&"guide"!=this.page)return!1}else if("base"!=this.page&&"guide"!=this.page)return!1;return setTimeout((function(){t.$nextTick((function(){return i&&i.adapt()}))}),100),!0},disable:function(){return!(this.modeCanSwitch&&!this.status.isPlaying)}}),methods:{onClick:function(){Object(A["flyToNewMode"])("2d"),this.$store.commit("SetPlayerOptions",{mode:"2d"})},setSign:function(t,e){t=Object(c["D"])(t,-this.initRotate,{x:0,y:0}),e-=this.initRotate/Math.PI*180,i.setSign(t,e)}},watch:{floor:function(){this.floor.__uninit||(this.visible=!0),i.loadData(f(this)),i.toCanvas((function(){return i.adapt()}))},"metadata.floorPlanAngle":{immediate:!0,handler:function(){var t=Number(this.metadata.floorPlanAngle);t&&(i.loadData(f(this)),i.toCanvas((function(){return i.adapt()})))}}},mounted:function(){var t=this;this.floor.__uninit&&!i||(this.visible=!0,i&&i.destroy()),i=Object(l["a"])({data:Object(c["C"])(this.floor,this.initRotate,{x:0,y:0}),layer:this.$refs.layer,edit:!1,padding:10,isCanvas:!0}),i.setDefaultPointStyle({fillColor:"rgba(0,0,0,0)",storkeColor:"rgba(0,0,0,0)"}),i.toCanvas((function(){i.adapt()})),this.$bus.on("player/position/change",(function(e){var n=e.x,i=e.y,r=e.lon;return t.setSign({x:n,y:i},r)})),this.$bus.on("orientation",(function(){return i.adapt()}))}},v=y,b=(n("8e4c"),n("2877")),m=Object(b["a"])(v,C,I,!1,null,"7a003bf0",null),w=m.exports,x=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"widgets-doors"})},O=[],P={},j=Object(b["a"])(P,x,O,!1,null,null,null),S=j.exports,E=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},k=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"widgets-rulers"},[n("div",{staticClass:"ruler-line"})])}],M={},N=Object(b["a"])(M,E,k,!1,null,null,null),L=N.exports,D=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"widgets-design-measure"},[n("div",{staticClass:"btn btn-ok",class:{disable:t.disable},on:{click:t.confirm}},[t._v(t._s(t.$t("show.measure_button",{status:t.$t("show.measure_"+(1==t.step?"start":"end"))}))+"("+t._s(t.step)+"/2)")]),n("div",{staticClass:"btn btn-no",on:{click:t.cancel}},[t._v(t._s(t.$t("common.cancel")))])])},T=[],R={data:function(){return{step:1,disable:!0}},created:function(){var t=this;this.$bus.on("measure/Disable",(function(e){return t.disable=e}))},methods:{confirm:function(){this.$bus.emit("measure/Handle","step",this.step),this.step++},cancel:function(){this.$store.commit("SetPlayerOptions",{showWidgets:!0,showSplit:!1,showMeasure:!1,showPositionMarks:!1}),this.$bus.emit("measure/Handle","cancel")}}},V=R,X=(n("0c1b"),Object(b["a"])(V,D,T,!1,null,"446510f8",null)),W=X.exports,G=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"widgets-doll-labels"})},B=[],_={},Q=Object(b["a"])(_,G,B,!1,null,null,null),J=Q.exports,z=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"widgets-plan-labels"})},U=[],Z={},Y=Object(b["a"])(Z,z,U,!1,null,null,null),K=Y.exports,F=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"tag-billboards"}},["shop"==t.$config.name||"grave"==t.$config.name?n("TagsShop"):"reserve"!=t.$config.name?n("Tags"):n(t.TagReserve,{tag:"component"}),n("portal-target",{attrs:{name:"tag-modal"}})],1)},H=[],q=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.component&&t.show,expression:"component && show"}],staticClass:"com-player-tag tag-container"},[n("div",{staticClass:"tag-body"},[n(t.component,{tag:"component"}),n("i",{directives:[{name:"show",rawName:"v-show",value:t.showClose,expression:"showClose"}],staticClass:"tag-close"})],1)])},tt=[],et=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tag-content"},[n("description")],1)},nt=[],it=n("7f46"),rt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"tag-lable"},[n("span",{staticClass:"title"},[t._v(t._s(t.title))]),t._t("default")],2),n("div",{directives:[{name:"show",rawName:"v-show",value:t.description,expression:"description"}],staticClass:"tag-description",class:{lock:t.status.isPlaying||t.status.isRecording},domProps:{innerHTML:t._s(t.description)},on:{touchmove:function(t){t.stopPropagation()}}})])},ot=[];n("a481");function st(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function gt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?st(Object(n),!0).forEach((function(e){Object(s["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):st(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var At={watch:{title:function(){var t=this;this.$nextTick((function(){return t.$bus.emit("hotspot/Tag/Panel")}))},description:function(){var t=this;this.$nextTick((function(){return t.$bus.emit("hotspot/Tag/Panel")}))}},computed:gt(gt({},Object(g["b"])({tag:"hotspot/tag",status:"guide/status",editIndex:"hotspot/editIndex"})),{},{title:function(){return this.tag.label||this.$t("modules.hotspot.title_tips")},description:function(){var t=this.tag.description;"zh"!=this.$config.lang&&(t=t.replace(/target="_blank"/gi,'target="_self"'));var e=(Object(it["c"])(t)||"").trim();return-1==this.editIndex?e.length?t:"":e.length?t:this.$t("modules.hotspot.description_tips")}})},at=At,Ct=(n("0420"),Object(b["a"])(at,rt,ot,!1,null,"7d0d19ed",null)),It=Ct.exports,ct={components:{Description:It},mounted:function(){var t=this;this.$nextTick((function(){return t.$bus.emit("hotspot/Tag/Panel")}))}},lt=ct,ut=Object(b["a"])(lt,et,nt,!1,null,null,null),ht=ut.exports,pt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tag-content"},[n("description"),"photo"==t.tag.mediaType&&t.tag.fileName[t.tag.mediaType]?n("div",{staticClass:"tag-content-image",on:{click:function(e){t.zoomInImg=t.src}}},[t.loading?n("spinner"):t._e(),n("img",{directives:[{name:"show",rawName:"v-show",value:!1===t.loading,expression:"loading===false"}],attrs:{src:t.src},on:{load:t.load,error:t.load}})],1):t._e(),t.zoomInImg?n("portal",{attrs:{to:"tag-modal"}},[n("div",{staticClass:"tag-image-zoom-in",on:{click:function(e){t.zoomInImg=null}}},[n("div",{staticClass:"image-viewer",on:{click:function(t){t.stopPropagation()},touchstart:t.onTouchstart,touchmove:function(e){return e.stopPropagation(),t.onTouchmove(e)}}},[n("description",[n("span",{staticClass:"close",on:{click:function(e){t.zoomInImg=null}}},[n("i",{staticClass:"iconfont icon_close"})])]),t.loadingZoomIn?n("div",{staticClass:"loading"},[n("spinner")],1):t._e(),n("img",{directives:[{name:"show",rawName:"v-show",value:!1===t.loadingZoomIn,expression:"loadingZoomIn===false"}],attrs:{src:t.zoomInImg},on:{load:t.loadBig}})],1)])]):t._e()],1)},dt=[],ft=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},yt=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"ui-spinner"},[n("div"),n("div"),n("div"),n("div"),n("div"),n("div"),n("div"),n("div"),n("div"),n("div"),n("div"),n("div")])}],vt=(n("99bd"),{}),bt=Object(b["a"])(vt,ft,yt,!1,null,"4bd79a62",null),mt=bt.exports;function wt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function xt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wt(Object(n),!0).forEach((function(e){Object(s["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ot={components:{Spinner:mt,Description:It},data:function(){return{width:null,height:null,loading:null,loadingZoomIn:null,zoomInImg:null}},watch:{sid:function(){this.sid&&this.src&&(this.loading=!0)},src:function(){var t=this;this.src||this.$nextTick((function(){return t.$bus.emit("hotspot/Tag/Panel")}))},loading:function(){var t=this;this.$nextTick((function(){return t.$bus.emit("hotspot/Tag/Panel")}))},zoomInImg:function(){var t=this;this.$bus.emit("player/tag/show",null==this.zoomInImg),this.zoomInImg?(this.loadingZoomIn=!0,this.$nextTick((function(){t.$viewer=document.querySelector(".tag-image-zoom-in .image-viewer")}))):(this.loadingZoomIn=null,this.$viewer=null)}},computed:xt(xt({},Object(g["b"])({sid:"hotspot/sid",tag:"hotspot/tag",version:"version"})),{},{src:function(){return this.tag.fileName[this.tag.mediaType]?this.tag.fileSrc[this.tag.mediaType]||this.$config.getPublishResource("images/images".concat(this.$config.projectNum,"/hot").concat(this.tag.sid,".jpg?_=").concat(this.$config.isEdit?this.version:this.$config.version)):null}}),mounted:function(){var t=this;this.sid&&this.src&&(this.loading=!0),this.$nextTick((function(){return t.$bus.emit("hotspot/Tag/Panel")}))},methods:{load:function(t){var e=this;setTimeout((function(){e.loading=!1}),500),t.target.height>t.target.width?t.target.style.width=t.target.width/t.target.height*320+"px":t.target.width>320&&(t.target.style.width="100%",t.target.style.height="auto"),this.$nextTick((function(){return e.$bus.emit("hotspot/Tag/Panel")}))},loadBig:function(t){this.loadingZoomIn=!1},onTouchstart:function(t){this.touchstartY=t.touches[0].clientY},onTouchmove:function(t){if(this.$viewer){var e=t.touches[0],n=this.$viewer.scrollTop,i=this.$viewer.clientHeight,r=this.$viewer.scrollHeight;(e.clientY>this.touchstartY&&0===n||e.clientY<this.touchstartY&&n+i>=r)&&t.preventDefault()}}}},Pt=Ot,jt=(n("f1ab"),Object(b["a"])(Pt,pt,dt,!1,null,"5c4fb244",null)),St=jt.exports,Et=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tag-content"},[n("description"),n("div",{directives:[{name:"show",rawName:"v-show",value:"video"==t.tag.mediaType&&t.tag.fileName[t.tag.mediaType],expression:"tag.mediaType == 'video' && tag.fileName[tag.mediaType]"}],staticClass:"tag-content-media",style:{height:t.height}},[t.show?t._e():n("spinner"),n("video",{class:{show:t.show},attrs:{id:t.id,src:t.src,poster:t.poster,"x5-video-player-type":"h5-page",controlslist:"nodownload",disablepictureinpicture:"","webkit-playsinline":"","x-webkit-airplay":"",playsinline:"",controls:""},on:{canplay:t.canplay}})],1)],1)},kt=[],Mt=n("ff11"),Nt=n("617a");function Lt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Dt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Lt(Object(n),!0).forEach((function(e){Object(s["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Lt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Tt(t){if(Nt["a"].detectWeixin())try{var e=function(){"undefined"!==typeof parent.WeixinJSBridge&&parent.WeixinJSBridge.invoke("getNetworkType",{},(function(e){t()}),!1)};"undefined"!==typeof parent.WeixinJSBridge?e():parent.document.addEventListener("WeixinJSBridgeReady",e)}catch(n){t()}else t()}var Rt={components:{Spinner:mt,Description:It},data:function(){return{loading:!0,id:"video-"+Date.now(),height:null,show:!1}},watch:{src:function(){var t=this;this.$nextTick((function(){return t.$bus.emit("hotspot/Tag/Panel")}))}},computed:Dt(Dt({},Object(g["b"])({tag:"hotspot/tag",status:"guide/status",version:"version"})),{},{src:function(){return this.tag.fileName[this.tag.mediaType]?this.tag.fileSrc[this.tag.mediaType]?this.tag.fileSrc[this.tag.mediaType]:this.$config.getPublishResource("images/images".concat(this.$config.projectNum,"/hot").concat(this.tag.sid,".mp4?_").concat(this.$config.isEdit?this.version:this.$config.version)):null},poster:function(){return this.tag.fileName[this.tag.mediaType]?this.tag.fileSrc[this.tag.mediaType+"_poster"]?this.tag.fileSrc[this.tag.mediaType+"_poster"]:this.$config.getPublishResource("images/images".concat(this.$config.projectNum,"/hot").concat(this.tag.sid,"-cut.jpg?_=").concat(this.$config.isEdit?this.version:this.$config.version)):null}}),mounted:function(){var t=this;this.$nextTick((function(){var e=t.$el.querySelector("video");(t.status.isPlaying||t.status.isRecording)&&(e.muted=!0),Tt((function(){e.play()})),t.$bus.emit("hotspot/Tag/Panel")}))},destroyed:function(){this._needPlay=!1},methods:{canplay:function(t){var e=this,n=0,i=this.$config.isMobile?300:350;t.target.videoWidth>t.target.videoHeight?(n=Number(i/(t.target.videoWidth/t.target.videoHeight)).toFixed(0),n<100&&(n=100)):n=i,n>0&&(this.height=n+"px !important",this.$nextTick((function(){return e.$bus.emit("hotspot/Tag/Panel")}))),this._needPlay&&this.$el.querySelector("video").play(),this._needPlay=!0,this.show=!0}}},Vt=Rt,Xt=(n("0814"),Object(b["a"])(Vt,Et,kt,!1,null,"6398e833",null)),Wt=Xt.exports,Gt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tag-content"},[n("description",[t.src?n("div",{staticClass:"tag-content-audio",class:{play:t.isPlay},on:{click:t.onPlay}},[n("span"),n("span"),n("span"),n("span")]):t._e()])],1)},Bt=[];function _t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Qt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_t(Object(n),!0).forEach((function(e){Object(s["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_t(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Jt={components:{Description:It},data:function(){return{isPlay:!1}},computed:Qt(Qt({},Object(g["b"])({tag:"hotspot/tag",status:"guide/status",version:"version"})),{},{src:function(){var t;return t="voice"==this.tag.mediaType&&this.tag.fileName[this.tag.mediaType]?this.tag.fileSrc[this.tag.mediaType]?this.tag.fileSrc[this.tag.mediaType]:this.$config.getPublishResource("images/images#m#/hot".concat(this.tag.sid,".mp3?_=").concat(this.$config.isEdit?this.version:this.$config.version)):null,t?this.status.isPlaying||this.status.isRecording||(Mt["d"].setSRC(t),Mt["d"].play()):Mt["d"].stop(),t}}),created:function(){var t=this;this.status.isPlaying||this.status.isRecording?Mt["d"].mute(!0):Mt["d"].mute(!1),Mt["d"].on("play",(function(){t.isPlay=!0})),Mt["d"].on("off",(function(){t.psPlay=!1}))},beforeDestroy:function(){Mt["d"].remove(),Mt["d"].off("play"),Mt["d"].off("off"),Mt["d"].off("loaded")},mounted:function(){var t=this;this.$nextTick((function(){return t.$bus.emit("hotspot/Tag/Panel")}))},methods:{onPlay:function(){this.isPlay=!this.isPlay,this.isPlay?Mt["d"].play():Mt["d"].pause()}}},zt=Jt,Ut=(n("37a7"),Object(b["a"])(zt,Gt,Bt,!1,null,"df9c8e98",null)),Zt=Ut.exports,Yt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tag-content"},[n("description",[n("span",{directives:[{name:"show",rawName:"v-show",value:t.src&&t.tag._is_click,expression:"src && tag._is_click"}],staticClass:"btn-max",on:{click:function(e){return t.onZoomIn(t.src)}}},[n("i",{staticClass:"iconfont iconscene_venlarge"})])]),t.src?n("div",{staticClass:"tag-content-link",class:{show:t.show}},[n("iframe",{attrs:{frameborder:"0",src:t.src,allowfullscreen:"true"}})]):t._e(),t.zoomIn?n("portal",{attrs:{to:"tag-modal"}},[n("div",{staticClass:"tag-zoom-in",on:{click:function(e){return t.onZoomIn(null)}}},[n("div",{staticClass:"viewer",on:{click:function(t){t.stopPropagation()},touchstart:t.onTouchstart,touchmove:function(e){return e.stopPropagation(),t.onTouchmove(e)}}},[n("description",[n("span",{staticClass:"close",on:{click:function(e){return t.onZoomIn(null)}}},[n("i",{staticClass:"iconfont icon_close"})])]),n("iframe",{attrs:{frameborder:"0",src:t.src,allowfullscreen:"true"}})],1)])]):t._e()],1)},Kt=[];n("b54a");function Ft(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Ht(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ft(Object(n),!0).forEach((function(e){Object(s["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ft(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var qt={components:{Description:It},data:function(){return{show:!0,zoomIn:null}},computed:Ht(Ht({},Object(g["b"])({tag:"hotspot/tag"})),{},{src:function(){var t=this;if("link"!=this.tag.mediaType||!this.tag.fileName["link"])return null;var e=this.tag.fileName["link"].replace("&autoplay=true","").replace("?autoplay=true","");return-1==e.indexOf("?")?e+="?autoplay=true":e+="&autoplay=true",this.$nextTick((function(){return t.$bus.emit("hotspot/Tag/Panel")})),e+"&_"+Date.now()}}),mounted:function(){var t=this;this.$nextTick((function(){return t.$bus.emit("hotspot/Tag/Panel")}))},methods:{load:function(){this.show=!0},onZoomIn:function(t){var e=this;this.zoomIn=t,this.$bus.emit("player/tag/show",null==this.zoomIn),this.zoomIn?this.$nextTick((function(){e.$viewer=document.querySelector(".tag-image-zoom-in .image-viewer")})):this.$viewer=null},onTouchstart:function(t){this.touchstartY=t.touches[0].clientY},onTouchmove:function(t){if(this.$viewer){var e=t.touches[0],n=this.$viewer.scrollTop,i=this.$viewer.clientHeight,r=this.$viewer.scrollHeight;(e.clientY>this.touchstartY&&0===n||e.clientY<this.touchstartY&&n+i>=r)&&t.preventDefault()}}}},$t=qt,te=(n("04b2"),Object(b["a"])($t,Yt,Kt,!1,null,"63380fc1",null)),ee=te.exports;function ne(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ie(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ne(Object(n),!0).forEach((function(e){Object(s["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var re,oe={components:{TagNote:ht,TagPhoto:St,TagVideo:Wt,TagVoice:Zt,TagLink:ee},data:function(){return{show:!0}},computed:ie(ie({},Object(g["b"])({tag:"hotspot/tag",page:"page",player:"player",status:"guide/status"})),{},{component:function(){if(this.tag&&!this.player.showSplit&&(!this.$config.isMobile||"hotspot"!=this.page)){if(!this.tag.mediaType)return"TagNote";var t=this.tag.mediaType,e=t.charAt(0).toUpperCase(),n=t.substr(1);return"Tag".concat(e+n)}},showClose:function(){return!!this.$config.isMobile||!(this.$config.isMobile||!this.status.isRecording)}}),created:function(){var t=this,e=this;function n(t){e.show=t}this.$bus.on("player/tag/show",n),this.$once("hook:beforeDestroy",(function(){t.$bus.off("player/tag/show",n)}))}},se=oe,ge=(n("81aa"),n("40b3"),Object(b["a"])(se,q,tt,!1,null,"09a9fa1e",null)),Ae=ge.exports,ae=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tag-shop"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"com-player-tag tag-container",class:{cover:t.isCover}},[n("div",{staticClass:"tag-body"},[t.tag&&t.tag.goods?n("div",{staticClass:"content",on:{click:function(e){return t.onDetailClick(t.tag)}}},[n("div",{staticClass:"imgs"},[n("div",{class:["l-"+t.maxGoods.length]},t._l(t.maxGoods,(function(t,e){return n("div",{key:e,style:{"background-image":"url("+t.imageList[0].split("?x-oss-process")[0]+"?x-oss-process=image/resize,w_100,m_lfit)"}})})),0)]),n("div",{staticClass:"name"},[t._v(t._s(t.tag.goods[0].name))]),n("div",{staticClass:"desc"},[n("span",[t._v("\n "+t._s(t.tag.goods[0].isGrave?"":"¥")+" "+t._s(t.tag.goods[0].retailPrice)+" | "+t._s(t.tag.goods[0].isGrave?"查看":t.tag.goods[0].isOnSale?"在售":"售罄")+"\n "),n("i",{staticClass:"iconfont icon_forward"})])])]):t._e(),n("i",{staticClass:"tag-close"}),n("i",{staticClass:"tag-line"})])]),t.showDetail?n("XWindow",{attrs:{"can-close":!0,"set-style":t.tag.goods.length>1?{width:"100%"}:{}},on:{close:function(e){t.showDetail=!1}}},[t.tag.goods.length>1?n("div",{staticClass:"pages"},[n("span",[t._v(t._s(t.index))]),n("span",[t._v("/"+t._s(t.tag.goods.length))])]):t._e(),n("div",{staticClass:"close",class:{single:1==t.tag.goods.length},on:{click:function(e){t.showDetail=!1}}},[n("i",{staticClass:"iconfont icon_close"})]),n("div",{staticClass:"swiper-container swiper-goods"},[n("div",{staticClass:"swiper-wrapper"},t._l(t.tag.goods,(function(e){return n("div",{key:e.id,staticClass:"swiper-slide"},[n("div",{staticClass:"img-list"},[n("div",{staticClass:"swiper-container swiper-imgs"},[n("div",{staticClass:"swiper-wrapper"},t._l(e.imageList,(function(t,e){return n("div",{key:e,staticClass:"swiper-slide",style:{"background-image":"url("+t.split("?x-oss-process")[0]+"?x-oss-process=image/resize,m_fill,h_300,w_300)"},attrs:{"data-url":t}})})),0),n("div",{staticClass:"swiper-pagination"})])]),n("div",{staticClass:"good-desc"},[n("div",{staticClass:"name"},[t._v(t._s(e.name))]),"fashilong"==t.origin&&e.retailPrice>0||"fashilong"!=t.origin?n("div",{staticClass:"price"},[n("span",[t._v("¥")]),t._v("\n "+t._s(e.retailPrice)+"\n ")]):t._e(),n("div",{staticClass:"desc"},[n("div",[t._v(t._s(e.desc))]),n("button",{on:{click:function(n){return t.gobuy(e)}}},[t._v("查看详情")])])])])})),0)])]):t._e(),t.bigImageURL?n("XWindow",{attrs:{"can-close":!0,"set-style":{width:"100%",height:"100% "}},on:{close:function(e){t.bigImageURL=null}}},[n("div",{staticClass:"big-image",style:{backgroundImage:"url("+t.bigImageURL.split("?x-oss-process")[0]+"?x-oss-process=image/resize,m_fill,h_1344,w_750)"}},[n("div",{staticClass:"close",on:{click:function(e){t.bigImageURL=null}}},[n("i",{staticClass:"iconfont icon_close"})])])]):t._e()],1)},Ce=[],Ie=(n("96cf"),n("1da1")),ce=(n("7514"),n("67db"));function le(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ue(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?le(Object(n),!0).forEach((function(e){Object(s["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var he,pe={components:{XWindow:ce["a"]},data:function(){return{show:!0,index:1,showDetail:!1,isMiniprogram:!1,isCover:!1,alized:{},origin:Nt["a"].urlQueryValue("origin"),bigImageURL:null}},watch:{tag:function(t,e){var n=this;if(this.tag||(this.showDetail=!1),this.tag&&this.alized.special&&this.alized.list){var i=this.alized.list.find((function(t){var e=t.hotId;return e===n.tag.sid}));i&&(this.tag.goods=[{isGrave:!0,isOnSale:1,imageList:[i.stylePic],name:i.positionName,retailPrice:"HK$"+i.lowestPrice+"起"}])}},index:function(){this.$bus.emit("shop/tag/onswitch",this.index-1)},bigImageURL:function(){this.$bus.emit("shop/tag/onbigimg",this.bigImageURL)},showDetail:function(){var t=this;this.showDetail?this.$nextTick((function(){if(1==t.tag.goods.length?t.tag.goods[0].imageList.length>1&&(re=new Swiper(t.$el.querySelector(".swiper-imgs"),{loop:!0,pagination:{el:".swiper-pagination"}})):(t.index=1,re=new Swiper(t.$el.querySelector(".swiper-goods"),{effect:"coverflow",grabCursor:!0,centeredSlides:!0,slidesPerView:1.2,coverflowEffect:{rotate:40,stretch:0,depth:100,modifier:1,slideShadows:!0},on:{transitionEnd:function(){re&&(t.index=re.activeIndex+1)}}})),"fashilong"==t.origin){var e=t;$(t.$el).find(".swiper-imgs .swiper-slide").on("click",(function(){e.bigImageURL=$(this).data("url")}))}})):re&&(re.destroy(!0,!0),re=null),this.isNotNotice?this.isNotNotice=null:this.$bus.emit("shop/tag/onshow",this.showDetail)}},computed:ue(ue({},Object(g["b"])({tag:"hotspot/tag",page:"page",player:"player",status:"guide/status"})),{},{component:function(){if(this.tag&&!this.player.showSplit&&(!this.$config.isMobile||"hotspot"!=this.page)){if(!this.tag.mediaType)return"TagNote";var t=this.tag.mediaType,e=t.charAt(0).toUpperCase(),n=t.substr(1);return"Tag".concat(e+n)}},showClose:function(){return!!this.$config.isMobile||!(this.$config.isMobile||!this.status.isRecording)},maxGoods:function(){return this.tag&&this.tag.goods?this.tag.goods.slice(0,9):[]}}),created:function(){var t=this,e=this;function n(t,n){setTimeout((function(){e.showDetail=t,e.isNotNotice=n}),100)}function i(t){re&&re.slideTo(t)}function r(t){e.bigImageURL=t}function o(t){e.show=t}function s(t){e.isCover=!!t&&t.isCoverVideo}this.$bus.on("shop/tag/bigimg",r),this.$bus.on("shop/tag/show",n),this.$bus.on("shop/tag/switch",i),this.$bus.on("player/tag/show",o),this.$bus.on("tag/status",s),this.$once("hook:beforeDestroy",(function(){t.$bus.off("shop/tag/show",n),t.$bus.off("shop/tag/switch",i),t.$bus.off("player/tag/show",o),t.$bus.off("tag/status",s)})),Nt["a"].detectWeixin()&&top.wx.miniProgram.getEnv((function(e){e.miniprogram&&(t.isMiniprogram=!0)}))},methods:{onDetailClick:function(t){var e=this;this.alized.special&&this.alized.list&&this.alized.list.some((function(t){var n=t.hotId;return n===e.tag.sid}))?this.$bus.emit("selectGrave",t):setTimeout((function(){e.showDetail=!0}),100)},gobuy:function(t){this.isMiniprogram||Nt["a"].urlHasValue("shopApp")?this.$bus.emit("shop/tag/goods/detail",t):t.realShopUrl?window.location.href=t.realShopUrl:window.parent.wx.miniProgram.navigateTo({url:"/pages/goods/goods?id="+t.id})}},mounted:function(){var t=Object(Ie["a"])(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,n("33e9").default();case 2:this.alized=t.sent,this.alized.special&&this.$bus.on("graveReadySuccess",(function(t){return e.alized=t}));case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},de=pe,fe=(n("9a47"),n("c8d2"),Object(b["a"])(de,ae,Ce,!1,null,"0780a8c6",null)),ye=fe.exports,ve=n("f121"),be={data:function(){return{TagReserve:null}},mounted:function(){"reserve"===ve["a"].name&&(this.TagReserve=n("676c").default)},components:{Tags:Ae,TagsShop:ye}},me=be,we=(n("22c4"),Object(b["a"])(me,F,H,!1,null,"79ef260c",null)),xe=we.exports,Oe=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"widgets-design-option"},[n("div",{staticClass:"delete-ruler"},[n("li",[t._v(t._s(t.$t("modules.base.delete_measure_line")))])])])},Pe=[],je={},Se=Object(b["a"])(je,Oe,Pe,!1,null,null,null),Ee=Se.exports,ke=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.name,{tag:"component"})},Me=[],Ne=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"widgets-navbar-pc",class:{"show-gallery":!t.isGuide&&t.showGallery}},[n("div",{staticClass:"nav-buttons"},[n("div",{staticClass:"nav-buttons-left"},[n("ul",{directives:[{name:"show",rawName:"v-show",value:t.showGuide,expression:"showGuide"}],staticClass:"nav-button",class:{group:!t.isGuide,disable:0==t.modeCanSwitch&&!t.status.isPlaying},on:{click:function(t){t.stopPropagation()},touchstart:function(t){t.stopPropagation()},mousedown:function(t){t.stopPropagation()},pointerdown:function(t){t.stopPropagation()}}},[n("li",{staticClass:"play split"},[n("i",{staticClass:"iconfont icon_play",class:{icon_play:!t.status.isPlaying,icon_suspend:t.status.isPlaying},on:{click:t.onGuidePlay}})]),n("li",{directives:[{name:"show",rawName:"v-show",value:!t.isGuide,expression:"!isGuide"}],on:{click:function(e){return t.onSwtichGallery()}}},[n("i",{staticClass:"iconfont icon_forward"})])]),n("ul",{staticClass:"nav-button group",class:{disable:t.disable}},[t.showNavigations.pano?n("li",{class:{active:"pano"==t.mode},on:{click:function(e){return t.swtichMode("pano")}}},[n("i",{staticClass:"iconfont icon_tour"})]):t._e(),t.showNavigations.m2d?n("li",{class:{active:"2d"==t.mode},on:{click:function(e){return t.swtichMode("2d")}}},[n("i",{staticClass:"iconfont icon_2d"})]):t._e(),t.showNavigations.m3d?n("li",{class:{active:"3d"==t.mode},on:{click:function(e){return t.swtichMode("3d")}}},[n("i",{staticClass:"iconfont icon_3d"})]):t._e()]),n("Floor")],1),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showRight,expression:"showRight"}],staticClass:"nav-buttons-right",class:{disable:t.disable}},[n("ul",{staticClass:"nav-button"},[n("li",{directives:[{name:"show",rawName:"v-show",value:t.showNavigations.vr,expression:"showNavigations.vr"}],class:{active:"vr"==t.mode},on:{click:function(e){return t.swtichMode("vr")}}},[n("i",{staticClass:"iconfont icon_vr"})]),n("li",{directives:[{name:"show",rawName:"v-show",value:t.showNavigations.measure,expression:"showNavigations.measure"}],class:{active:"measure"==t.mode},on:{click:function(e){return t.swtichMode("measure")}}},[n("i",{staticClass:"iconfont icon_staff"})]),n("li",{directives:[{name:"show",rawName:"v-show",value:t.musicIndex>0,expression:"musicIndex > 0"}],staticClass:"music",class:{playing:t.isMuiscPlaying},on:{click:t.onMusicClick}}),n("li",{directives:[{name:"show",rawName:"v-show",value:!t.$config.isEdit,expression:"!$config.isEdit"}],staticClass:"fullscreen",on:{click:t.onFullScreen}},[n("i",{staticClass:"iconfont",class:[t.isFullscreen?"iconscene_window":"iconscene_full"]})])])])]),n("div",{staticClass:"gallery"},[n("div",{staticClass:"frame",class:{disable:(!t.modeCanSwitch||!t.canSwitchRoom)&&!t.status.isPlaying}},[n("ul",t._l(t.roomLabels,(function(e,i){return n("li",{key:i,class:{active:i==t.index},on:{click:function(e){return t.onFrameActive(i)}}},[n("span",[t._v(t._s(e.label))]),i==t.index&&t.status.isPlaying?n("div",{staticClass:"progress"},[n("div",{staticClass:"value",style:{width:t.progress+"%"}})]):t._e()])})),0)])]),t.metadata&&t.metadata.vrNum?n("a",{staticClass:"nav-decor",attrs:{href:"/decor.html?m="+t.$config.projectNum+"&m2="+t.metadata.vrNum}},[n("img",{attrs:{src:t.$config.getStaticResource("img/decor.png"),alt:""}})]):t._e()])},Le=[],De=n("b235"),Te=n("3b09");function Re(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Ve(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Re(Object(n),!0).forEach((function(e){Object(s["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Re(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Xe={name:"widgets-navbar-pc",components:{Floor:Te["a"]},data:function(){return{index:null,progress:0,showGallery:!1,isMuiscPlaying:!1,canSwitchRoom:!0,isFullscreen:!1}},created:function(){var t=this;A["play"].on("guide/play/start",(function(e){t.onRoomPlay(!0,!1),t.$store.commit("guide/SetStatus",{isPlaying:!0})})),A["play"].on("guide/play/pause",(function(e){t.onRoomPlay(!1),t.$store.commit("guide/SetStatus",{isPlaying:!1})})),A["play"].on("guide/play/stop",(function(){t.onRoomPlay(!1,!0),t.$store.commit("guide/SetStatus",{isPlaying:!1})})),A["play"].on("guide/play/playing",(function(e){t.$store.commit("guide/SetIndex",e)})),A["play"].on("guide/play/flyToStart",(function(e){t.$store.commit("guide/SetIndex",e)})),this.$config.isEdit||["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"].forEach((function(e,n){window.addEventListener(e,(function(){t.isFullscreen=!t.isFullscreen}))}))},mounted:function(){var t=this;Mt["a"].on("play",(function(){t.isMuiscPlaying=!0})),Mt["a"].on("off",(function(){t.isMuiscPlaying=!1})),he=new Sly($(this.$el).find(".frame"),{horizontal:!0,itemNav:"centered",smart:!0,scrollTrap:!0,scrollBy:1,mouseDragging:!0,touchDragging:!0,speed:300,dragHandle:!0,dynamicHandle:!0,clickBar:!0,scrollBar:$(this.$el).find(".scrollbar"),scrollSource:$(this.$el).find(".gallery"),activateOn:null}).init(),window.__scrollbars.push(he)},watch:{index:function(){this.showGallery&&he.activate(this.index)},showGuide:function(){0==this.showGuide&&(this.showGallery=!1)}},computed:Ve(Ve({},Object(g["b"])({mode:"mode",page:"page",modeCanSwitch:"modeCanSwitch",showNavigations:"showNavigations",musicIndex:"scene/musicIndex",plays:"guide/plays",status:"guide/status",roomLabels:"guide/roomLabels",metadata:"scene/metadata"})),{},{isGuide:function(){return"guide"==this.page},showGuide:function(){return"guide"==this.page?0!=this.plays.length&&!this.status.isRecording:0!=this.showNavigations.guide&&0!=this.plays.length&&"model"!=this.page&&"videos"!=this.page},showRight:function(){return"guide"!=this.page&&"model"!=this.page&&"videos"!=this.page},disable:function(){return!this.modeCanSwitch||!this.canSwitchRoom||!!this.status.isPlaying}}),methods:{swtichMode:function(t){if(this.mode!=t){if("vr"==t&&(ve["a"].isEdit||!1===ve["a"].isMobile))return this.$tips({content:this.$t("modules.base.vr_tips")});if("measure"==t&&ve["a"].isEdit)return this.$tips({content:this.$t("modules.base.measure_tips")});if("measure"===t)return this.$bus.emit("measure/Handle","start");this.$store.commit("SetPlayerOptions",{mode:t}),Object(A["flyToNewMode"])(t)}},onSwtichGallery:function(){this.showGallery=!this.showGallery,this.showGallery&&(he.reload(),he.activate(this.index))},onMusicClick:function(){this.isMuiscPlaying?Mt["a"].pause():Mt["a"].play()},onFrameActive:function(t){var e=this,n=this.roomLabels[t];this.canSwitchRoom=!1,this.$nextTick((function(){A["play"].pause(),A["play"].chooseFragment(n.index,0,(function(){A["play"].control.flyToSingleCap&&(A["play"].control.flyToSingleCap=!1),e.canSwitchRoom=!0})),e.$store.commit("guide/SetIndex",n.index),e.index=t}))},onGuidePlay:function(){this.status.isPlaying?A["play"].pause():A["play"].start()},onRoomPlay:function(t,e){var n=this;if(!t)return this.timer&&De["a"].cancel(this.timer),this.progress=100,void setTimeout((function(){n.progress=0,e&&(n.index=null)}),200);null==this.index&&(this.index=0);var i=this.roomLabels[this.index];if(i){var r=parseInt(1e3*Number(i.cTime).toFixed(4));this.timer=De["a"].start((function(e){1==e?(n.progress=0,n.index++,n.onRoomPlay(t)):n.progress=100*e}),r)}},onFullScreen:function(){var t=document.documentElement;this.isFullscreen?document.exitFullscreen?document.exitFullscreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen():t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullScreen?t.webkitRequestFullScreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen&&t.msRequestFullscreen()}}},We=Xe,Ge=(n("50c4"),Object(b["a"])(We,Ne,Le,!1,null,"028e2632",null)),Be=Ge.exports,_e=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"widgets-navbar-mobile",class:{playing:t.status.isPlaying}},[n("Floor"),n("ul",{directives:[{name:"show",rawName:"v-show",value:"pano"==t.mode,expression:"mode == 'pano'"}],staticClass:"nav-buttons-left",class:{hidden:this.page&&"base"!=this.page},style:{bottom:t.bottom}},[n("li",{directives:[{name:"show",rawName:"v-show",value:t.showNavigations.vr,expression:"showNavigations.vr"}],class:{disable:!t.canSwitch},on:{click:function(e){return e.stopPropagation(),t.swtichMode("vr")}}},[t._m(0),n("label",[t._v("VR")])]),n("li",{directives:[{name:"show",rawName:"v-show",value:t.showNavigations.guide&&t.hasGuide,expression:"showNavigations.guide && hasGuide"}],staticClass:"play",class:{disable:!t.canSwitch},on:{click:function(e){return e.stopPropagation(),t.onGuidePlay(e)}}},[n("span",[n("i",{staticClass:"iconfont",class:[t.status.isPlaying?"icon_suspend":"icon_play"]})]),n("label",[t._v(t._s(t.$t("common.guide")))])]),n("li",{directives:[{name:"show",rawName:"v-show",value:t.showNavigations.measure,expression:"showNavigations.measure"}],class:{disable:!t.canSwitch},on:{click:function(e){return e.stopPropagation(),t.swtichMode("measure")}}},[t._m(1),n("label",[t._v(t._s(t.$t("common.rule")))])])]),n("ul",{staticClass:"nav-buttons-right",class:{hidden:this.page&&"base"!=this.page&&"model"!=this.page&&"guide"!=this.page},style:{bottom:t.bottom}},[t.showNavigations.m3d?n("li",{class:{disable:!t.canSwitch,active:"3d"==t.mode},on:{click:function(e){return e.stopPropagation(),t.swtichMode("3d")}}},[t._m(2),n("label",[t._v("3D")])]):t._e(),t.showNavigations.m2d?n("li",{class:{disable:!t.canSwitch,active:"2d"==t.mode},on:{click:function(e){return e.stopPropagation(),t.swtichMode("2d")}}},[t._m(3),n("label",[t._v("2D")])]):t._e(),t.showNavigations.pano?n("li",{class:{disable:!t.canSwitch,active:"pano"==t.mode},on:{click:function(e){return e.stopPropagation(),t.swtichMode("pano")}}},[t._m(4),n("label",[t._v(t._s(t.$t("common.roaming")))])]):t._e()])],1)},Qe=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[n("i",{staticClass:"iconfont icon_vr"})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[n("i",{staticClass:"iconfont icon_staff"})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[n("i",{staticClass:"iconfont icon_3d"})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[n("i",{staticClass:"iconfont icon_2d"})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[n("i",{staticClass:"iconfont icon_tour"})])}];function Je(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ze(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Je(Object(n),!0).forEach((function(e){Object(s["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Je(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ue,Ze={name:"widgets-navbar-mobile",components:{Floor:Te["a"]},data:function(){return{bottom:null,showPreview:!1,isMuiscPlaying:!1}},created:function(){var t=this;Mt["a"].on("play",(function(){t.isMuiscPlaying=!0})),Mt["a"].on("off",(function(){t.isMuiscPlaying=!1})),this.$bus.on("page-in",(function(e){"base"!==e&&"model"!=e||(t.bottom=$(".app-setting").innerHeight()+5+"px")})),this.$bus.on("page-out",(function(){t.bottom=null})),A["play"].on("guide/play/pause",(function(e){t.$store.commit("guide/SetStatus",{isPlaying:!1})})),A["play"].on("guide/play/stop",(function(){t.$store.commit("guide/SetStatus",{isPlaying:!1})}))},mounted:function(){var t=this;document.querySelector("#player").addEventListener("touchstart",(function(){t.status.isPlaying&&t.onGuidePlay()}))},computed:ze(ze({},Object(g["b"])({mode:"mode",page:"page",plays:"guide/plays",status:"guide/status",showNavigations:"showNavigations",canSwitch:"modeCanSwitch"})),{},{hasGuide:function(){return(this.plays||[]).length>0}}),methods:{swtichMode:function(t){if(this.mode!=t){if("vr"==t)return Object(h["c"])("VRMode1"),this.$store.commit("SetVR",!0);if("measure"==t&&ve["a"].isEdit)return this.$tips({content:this.$t("modules.base.measure_show_tips")});if("measure"===t)return this.$bus.emit("measure/Handle","start");this.$store.commit("SetPlayerOptions",{mode:t}),Object(A["flyToNewMode"])(t)}},swtichPreview:function(){this.showPreview=!this.showPreview},onMusicClick:function(){this.isMuiscPlaying?Mt["a"].pause():Mt["a"].play()},onGuidePlay:function(){this.status.isPlaying?(this.$store.commit("guide/SetStatus",{isPlaying:!1}),A["play"].pause(),A["play"].stop()):(this.$store.commit("guide/SetStatus",{isPlaying:!0}),A["play"].start())}}},Ye=Ze,Ke=(n("4bcc"),Object(b["a"])(Ye,_e,Qe,!1,null,"f9f13e2c",null)),Fe=Ke.exports,He=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"widgets-navbar-mobile",class:{"show-gallery":t.isActive&&t.showGallery},on:{touchmove:function(t){t.preventDefault()}}},[n("div",{staticClass:"nav-buttons"},[n("div",{staticClass:"nav-buttons-center"},[n("ul",{directives:[{name:"show",rawName:"v-show",value:t.showNavigations.guide,expression:"showNavigations.guide"}],staticClass:"nav-button",class:{group:t.isActive,disable:0==t.modeCanSwitch&&!t.status.isPlaying,"ui-hidden":0==t.plays.length}},[n("li",{staticClass:"play"},[n("i",{staticClass:"iconfont icon_play",class:{icon_play:!t.status.isPlaying,icon_suspend:t.status.isPlaying},on:{click:function(e){return e.stopPropagation(),t.onGuidePlay(e)}}})]),n("li",{staticClass:"split"}),n("li",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],on:{click:function(e){return e.stopPropagation(),t.onSwtichGallery()}}},[n("i",{staticClass:"iconfont icon_forward"})])]),n("ul",{staticClass:"nav-button group",class:{disable:0==t.modeCanSwitch||0==t.canSwitchRoom||t.status.isPlaying}},[t.showNavigations.pano?n("li",{class:{active:"pano"==t.mode},on:{click:function(e){return e.stopPropagation(),t.swtichMode("pano")}}},[n("i",{staticClass:"iconfont icon_tour"})]):t._e(),t.showNavigations.m2d?n("li",{class:{active:"2d"==t.mode},on:{click:function(e){return e.stopPropagation(),t.swtichMode("2d")}}},[n("i",{staticClass:"iconfont icon_2d"})]):t._e(),t.showNavigations.m3d?n("li",{class:{active:"3d"==t.mode},on:{click:function(e){return e.stopPropagation(),t.swtichMode("3d")}}},[n("i",{staticClass:"iconfont icon_3d"})]):t._e()])])]),n("div",{staticClass:"gallery"},[n("div",{staticClass:"frame",class:{disable:(0==t.canSwitchRoom||0==t.modeCanSwitch)&&!t.status.isPlaying},on:{touchmove:function(t){t.preventDefault()}}},[n("ul",t._l(t.roomLabels,(function(e,i){return n("li",{key:i,class:{prev:i<t.index,next:i>t.index,active:i==t.index},on:{click:function(e){return t.onFrameActive(i)}}},[n("div",{staticClass:"content"},[n("span",[t._v(t._s(e.label))])]),i==t.index&&t.status.isPlaying?n("div",{staticClass:"progress"},[n("div",{staticClass:"value",style:{width:t.progress+"%"}})]):t._e()])})),0)])]),t.metadata&&t.metadata.vrNum?n("a",{staticClass:"nav-decor",attrs:{href:"/decor.html?m="+t.$config.projectNum+"&m2="+t.metadata.vrNum}},[n("img",{attrs:{src:t.$config.getStaticResource("img/decor.png"),alt:""}})]):t._e()])},qe=[];function $e(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function tn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?$e(Object(n),!0).forEach((function(e){Object(s["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$e(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var en={name:"widgets-navbar-mobile",data:function(){return{index:0,progress:0,showGallery:!1,canSwitchRoom:!0}},created:function(){var t=this;A["play"].on("guide/play/start",(function(e){t.onRoomPlay(!0,!1),t.$store.commit("guide/SetStatus",{isPlaying:!0})})),A["play"].on("guide/play/pause",(function(e){t.onRoomPlay(!1),t.$store.commit("guide/SetStatus",{isPlaying:!1})})),A["play"].on("guide/play/stop",(function(){t.onRoomPlay(!1,!0),t.$store.commit("guide/SetStatus",{isPlaying:!1})})),A["play"].on("guide/play/playing",(function(e){t.$store.commit("guide/SetIndex",e)})),A["play"].on("guide/play/flyToStart",(function(e){t.$store.commit("guide/SetIndex",e)}))},mounted:function(){Ue=new Sly($(this.$el).find(".frame"),{horizontal:!0,itemNav:"centered",smart:!0,scrollTrap:!0,scrollBy:1,mouseDragging:!0,touchDragging:!0,speed:300,dragHandle:!0,dynamicHandle:!0,clickBar:!0,scrollSource:$(this.$el).find(".gallery"),activateOn:null}).init(),Ue.reload(),window.__scrollbars.push(Ue)},watch:{index:function(){this.showGallery&&Ue.activate(this.index)}},computed:tn(tn({},Object(g["b"])({mode:"mode",page:"page",modeCanSwitch:"modeCanSwitch",showNavigations:"showNavigations",musicIndex:"scene/musicIndex",plays:"guide/plays",status:"guide/status",roomLabels:"guide/roomLabels",metadata:"scene/metadata"})),{},{isActive:function(){return"guide"!=this.page}}),methods:{swtichMode:function(t){if(this.mode!=t){if("vr"==t&&(ve["a"].isEdit||!1===ve["a"].isMobile))return this.$tips({content:this.$t("modules.base.vr_tips")});if("measure"==t&&ve["a"].isEdit)return this.$tips({content:this.$t("modules.base.measure_show_tips")});if("measure"===t)return this.$bus.emit("measure/Handle","start");this.$store.commit("SetPlayerOptions",{mode:t}),Object(A["flyToNewMode"])(t)}},onSwtichGallery:function(){this.showGallery=!this.showGallery,this.showGallery&&(Ue.reload(),Ue.activate(this.index))},onFrameActive:function(t){var e=this,n=this.roomLabels[t];this.canSwitchRoom=!1,this.$nextTick((function(){A["play"].pause(),A["play"].chooseFragment(n.index,0,(function(){A["play"].control.flyToSingleCap&&(A["play"].control.flyToSingleCap=!1),e.canSwitchRoom=!0})),e.$store.commit("guide/SetIndex",n.index),e.index=t}))},onGuidePlay:function(){this.status.isPlaying?A["play"].pause():A["play"].start()},onRoomPlay:function(t,e){var n=this;if(!t)return this.timer&&De["a"].cancel(this.timer),this.progress=100,void setTimeout((function(){n.progress=0,e&&(n.index=0)}),200);var i=this.roomLabels[this.index];if(i){var r=parseInt(1e3*Number(i.cTime).toFixed(3));this.timer=De["a"].start((function(e){1==e?(n.progress=0,n.index++,n.onRoomPlay(t)):n.progress=100*e}),r)}}}},nn=en,rn=(n("ae8f"),Object(b["a"])(nn,He,qe,!1,null,"20104f6f",null)),on=rn.exports,sn={components:{EditPC:Be,EditMobile:Fe,ShowMobile:on},computed:{name:function(){return this.$config.isMobile?this.$config.isEdit?"EditMobile":"ShowMobile":"EditPC"}}},gn=sn,An=Object(b["a"])(gn,ke,Me,!1,null,null,null),an=An.exports,Cn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"widgets-information",class:{disable:t.disable,app:t.isApp},on:{touchmove:function(t){t.preventDefault()}}},[n("div",{staticClass:"left",class:{show:t.player.showVR&&!t.isApp}},[n("div",{staticClass:"back",on:{click:t.onBack}},[n("i",{staticClass:"iconfont icon_back"})])]),n("div",{staticClass:"headline",class:{open:t.player.showInfo,hidden:t.hidden,collapse:!t.showTitle},on:{click:t.onDescriptionSwitch}},[n("div",{staticClass:"title"},[t.$config.isMobile?t._e():n("div",{on:{click:function(e){return e.stopPropagation(),t.onShowTitle(e)}}},[n("i",{staticClass:"iconfont",class:[t.showTitle?"icon_back":"icon_forward"]})]),n("i",{staticClass:"icon iconfont",class:[t.category.data[t.category.index].icon]}),n("span",[t._v(t._s(t.title))]),n("i",{staticClass:"arrow iconfont icon_forward"})]),n("div",{directives:[{name:"show",rawName:"v-show",value:t.description,expression:"description"}],staticClass:"description"},[n("i"),n("div",[n("div",{staticClass:"stitle"},[t._v(t._s(t.title))]),n("div",{staticClass:"content",domProps:{innerHTML:t._s(t.description)}})])])]),n("div",{staticClass:"right",class:{hidden:t.hidden}},[t.showMore?n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:t.onClickoutside,expression:"onClickoutside"}],staticClass:"more",class:{open:t.isMoreOpen},on:{click:t.onMoreClick}},[n("i",{staticClass:"iconfont icon_more_1"}),n("div",{staticClass:"menu"},[n("i",{staticClass:"arrow"}),n("ul",[t.music.index?n("li",{on:{click:function(e){return t.onMenuClick("music")}}},[n("i",{staticClass:"iconfont icon_music"}),n("span",[t._v(t._s(t.$t("show.music",{status:t.$t("show."+(t.isMusicPlaying?"off":"on"))})))])]):t._e(),t.showNavigations.measure?n("li",{on:{click:function(e){return t.onMenuClick("measure")}}},[n("i",{staticClass:"iconfont icon_staff"}),n("span",[t._v(t._s(t.$t("show.measure")))])]):t._e(),t.showNavigations.vr?n("li",{on:{click:function(e){return t.onMenuClick("vr")}}},[n("i",{staticClass:"iconfont icon_vr"}),n("span",[t._v(t._s(t.$t("show.vr")))])]):t._e(),n("li",{staticStyle:{"z-index":"2"},on:{click:function(e){return t.onMenuClick("share")}}},[n("i",{staticClass:"iconfont icon_share"}),n("span",[t._v(t._s(t.$t("show.share")))])]),0!=t.metadata.showLogoBottom?[n("li",{staticClass:"split"}),n("li",{staticClass:"home"},[n("a",{staticClass:"iconfont",class:["zh"==t.$config.lang?"iconhengbiaoCN":"iconhengbiaoEN"],attrs:{href:"/"}})])]:t._e()],2)])]):t._e(),t.showMusic?n("div",{staticClass:"music",class:{playing:t.isMusicPlaying},on:{click:t.onMusicClick}},[n("i",{staticClass:"iconfont icon_music"})]):t._e()]),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isShare&&!t.isApp||t.isCopy,expression:"(isShare && !isApp) || isCopy"}],staticClass:"copy"},[n("div",[n("div",[n("h4",[t._v(t._s(t.$t("modules.base.share_link")))])]),n("div",[t._v(t._s(t.shareURL))]),n("div",[n("button",{staticClass:"ui-button submit block btn-share-copy",attrs:{"data-clipboard-text":t.shareURL}},[t._v(t._s(t.$t("modules.base.shortcut_copy")))])]),n("div",[n("button",{staticClass:"ui-button cancel block",on:{click:function(e){t.isShare=!1,t.isCopy=!1}}},[t._v(t._s(t.$t("common.cancel")))])])])]),n("transition",{attrs:{appear:"",name:"custom-classes-transition","enter-active-class":"animated slideInUp faster","leave-active-class":"animated slideOutDown faster"}},[t.isShare&&t.isApp?n("div",{staticClass:"app-share"},[n("ul",[n("li",{on:{click:function(e){return t.onShare("weixin")}}},[n("i",{staticClass:"iconfont icon_wechat"}),n("div",[t._v(t._s(t.$t("modules.base.wechat")))])]),n("li",{on:{click:function(e){return t.onShare("weixinFriend")}}},[n("i",{staticClass:"iconfont icon_friend"}),n("div",[t._v(t._s(t.$t("modules.base.friend_circle")))])]),n("li",{on:{click:function(e){return t.onShare("qq")}}},[n("i",{staticClass:"iconfont icon_qq"}),n("div",[t._v("QQ")])]),n("li",{on:{click:function(e){return t.onShare("copy")}}},[n("i",{staticClass:"iconfont iconlink"}),n("div",[t._v(t._s(t.$t("modules.base.scene_link_copy")))])])]),n("div",{on:{click:function(e){t.isShare=!1}}},[t._v(t._s(t.$t("common.cancel")))])]):t._e()])],1)},In=[];n("28a5");function cn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ln(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?cn(Object(n),!0).forEach((function(e){Object(s["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):cn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var un=Nt["a"].urlQueryValue("share_url");un&&(un=decodeURIComponent(un));var hn={name:"widgets-information",data:function(){return{isApp:h["a"],isCopy:!1,isShare:!1,isMoreOpen:!1,isMusicPlaying:!1,shareURL:un||window.location.href.split("#")[0].replace("&app",""),showTitle:!0}},computed:ln(ln({},Object(g["b"])({page:"page",player:"player",logos:"scene/logos",music:"scene/music",tempdata:"scene/tempdata",metadata:"scene/metadata",category:"scene/category",status:"guide/status",showNavigations:"showNavigations"})),{},{title:function(){var t="";return this.tempdata.title?t=this.tempdata.title:this.metadata.title&&(t=this.metadata.title),document.title=t,this.tempdata.title},description:function(){var t=this.tempdata.description;return Object(it["c"])(t)?t:(this.$store.commit("SetPlayerOptions",{showInfo:!1}),"")},hidden:function(){if(this.$config.isEdit&&this.$config.isMobile&&this.page)return!0;if(this.$config.isEdit){if(this.$config.isMobile&&this.page)return!0;if("screen"==this.page)return!0}return!!this.player.showVR||!this.title&&!this.description},showMusic:function(){return this.music.index>0&&this.$config.isMobile&&this.$config.isEdit},showMore:function(){return this.player.showMore&&this.$config.isMobile&&0==this.$config.isEdit},disable:function(){return!!this.status.isPlaying}}),created:function(){var t=this;window.Back=function(){t.onBack()},Mt["a"].on("play",(function(){t.isMusicPlaying=!0})),Mt["a"].on("off",(function(){t.isMusicPlaying=!1})),h["a"]&&this.$bus.on("orientation",(function(){h["d"]&&(t.$el.style.top=h["d"]+"px");var e=t.$el.querySelector(".back").getBoundingClientRect(),n={BackBtnInfo:{left:e.left,top:e.top,radius:e.width/2}};Nt["a"].detectAndroid()?Object(h["c"])(JSON.stringify(n)):Object(h["c"])(n)}))},mounted:function(){var t=this;this.$nextTick((function(){document.querySelector("#player").addEventListener("touchstart",(function(){t.onClickoutside()})),document.querySelector("#player-b").addEventListener("touchstart",(function(){t.onClickoutside()})),t.$config.isEdit||new ClipboardJS(t.$el.querySelector(".btn-share-copy")).on("success",(function(e){t.isShare=!1,t.isCopy=!1,t.$tips({content:t.$t("modules.base.scene_link_copy_tips")}),e.clearSelection()}))}))},methods:{onBack:function(){this.player.showVR&&(Object(h["c"])("VRMode0"),this.$store.commit("SetVR",!1))},onClickoutside:function(){this.isMoreOpen&&(this.isMoreOpen=!1),this.player.showInfo||this.$store.commit("SetPlayerOptions",{showMap:!this.isMoreOpen})},onMusicClick:function(){this.isMusicPlaying?Mt["a"].pause():Mt["a"].play()},onDescriptionSwitch:function(){this.$config.isMobile?this.$store.commit("SetPlayerOptions",{showMap:this.player.showInfo,showInfo:!this.player.showInfo}):this.$store.commit("SetPlayerOptions",{showInfo:!this.player.showInfo})},onMoreClick:function(){this.isMoreOpen=!this.isMoreOpen,this.$store.commit("SetPlayerOptions",{showMap:!this.isMoreOpen,showInfo:!1})},onMenuClick:function(t){return"music"==t?this.onMusicClick():"measure"===t?this.$bus.emit("measure/Handle","start"):"vr"==t?(Object(h["c"])("VRMode1"),this.$store.commit("SetVR",!0)):"share"==t?this.isShare=!0:void 0},onShare:function(t){if("copy"==t)return this.isCopy=!0,void(this.isShare=!1);Object(h["c"])("Share-".concat(t)),this.isShare=!1},onShowTitle:function(){this.showTitle=!this.showTitle,this.showTitle||this.$store.commit("SetPlayerOptions",{showInfo:!1})}}},pn=hn,dn=(n("4364"),Object(b["a"])(pn,Cn,In,!1,null,"d8516d6c",null)),fn=dn.exports,yn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show&&t.player.showVR&&!t.player.showVRType?n("transition",{attrs:{appear:"",name:"custom-classes-transition","enter-active-class":"animated fadeIn slow","leave-active-class":"animated fadeOut slow"}},[n("div",{staticClass:"widgets-vrtips"},[n("div",{class:{animate:t.isAnimate}})])]):t._e()},vn=[];function bn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function mn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?bn(Object(n),!0).forEach((function(e){Object(s["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):bn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var wn={data:function(){return{show:!0,isAnimate:!1}},watch:{"player.showVR":function(){var t=this;this.player.showVR?(this.isAnimate=!0,this.$nextTick((function(){setTimeout((function(){t.show=!1,t.isAnimate=!1}),2500)}))):this.show=!0}},computed:mn({},Object(g["b"])({player:"player"}))},xn=wn,On=(n("f963"),Object(b["a"])(xn,yn,vn,!1,null,"7eb0889f",null)),Pn=On.exports,jn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show?n("popup",{attrs:{"is-close":!1,"bg-color":"rgba(0,0,0,0.7)"}},[t.$config.isMobile&&!t.$config.name?n("div",{staticClass:"user-guide-mobile"},["zh"==t.$config.lang?[n("div",{staticClass:"zh"},[n("div",{staticClass:"btn",on:{click:t.onSet}})])]:[n("div",{staticClass:"en"},[n("ul",[n("li",[n("i",{staticClass:"iconfont icongesture_roam"}),n("div",{domProps:{innerHTML:t._s(t.getTips(t.$t("components.user_guid.pano")))}})]),n("li",[n("i",{staticClass:"iconfont icongesture_rotate"}),n("div",{domProps:{innerHTML:t._s(t.getTips(t.$t("components.user_guid.rotate")))}})]),n("li",[n("i",{staticClass:"iconfont icongesture_zoom"}),n("div",{domProps:{innerHTML:t._s(t.getTips(t.$t("components.user_guid.zoom")))}})])]),n("div",{staticClass:"btn",on:{click:t.onSet}},[t._v(t._s(t.$t("components.user_guid.set")))])])]],2):n("div",{staticClass:"user-guide",on:{touchstart:function(t){t.stopPropagation()}}},[n("div",{staticClass:"main"},[n("h4",[t._v(t._s(t.$t("components.user_guid.title")))]),n("ul",[n("li",[n("i",{staticClass:"iconfont icongesture_roam"}),n("div",{domProps:{innerHTML:t._s(t.$t("components.user_guid.pano"))}})]),n("li",[n("i",{staticClass:"iconfont icongesture_rotate"}),n("div",{domProps:{innerHTML:t._s(t.$t("components.user_guid.rotate"))}})]),n("li",[n("i",{staticClass:"iconfont icongesture_zoom"}),n("div",{domProps:{innerHTML:t._s(t.$t("components.user_guid.zoom"))}})])]),n("button",{attrs:{type:"button"},on:{click:t.onSet}},[t._v(t._s(t.$t("components.user_guid.set")))])])])]):t._e()},Sn=[],En=n("fa5b");function kn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Mn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?kn(Object(n),!0).forEach((function(e){Object(s["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):kn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Nn={components:{Popup:En["a"]},data:function(){return{show:!1}},computed:Mn({},Object(g["b"])({player:"player"})),created:function(){var t=this;"shipin"!=this.$config.appenv&&(this.$bus.on("ready",(function(){if(t.$config.isMobile&&!t.$config.isEdit&&"decor"!=t.$config.name&&!Nt["a"].urlHasValue("env")&&t.player.showUserGuide){var e=localStorage.getItem("user_guide");e||(t.show=!0)}})),this.$bus.on("player/user-guide",(function(e){t.show=e,localStorage.setItem("user_guide",Date.now())})))},methods:{onSet:function(){this.show=!1,localStorage.setItem("user_guide",Date.now()),this.$bus.emit("player/user/guided")},getTips:function(t){var e=t.split("<br />");return"<span>".concat(e[0],"</span><div>").concat(e[1],"</div>")}}},Ln=Nn,Dn=(n("8593"),Object(b["a"])(Ln,jn,Sn,!1,null,"7ece7b0e",null)),Tn=Dn.exports,Rn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"com-player-snapshot"},[n("transition",{attrs:{appear:"",name:"custom-classes-transition","enter-active-class":"animated fadeIn faster","leave-active-class":"animated fadeOut faster"}},[t.showFlash?n("div",{staticClass:"flash"}):t._e()]),t._m(0)],1)},Vn=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"frame show"},[n("div",{staticClass:"corner left-top"}),n("div",{staticClass:"corner right-top"}),n("div",{staticClass:"corner left-bottom"}),n("div",{staticClass:"corner right-bottom"})])}],Xn={computed:{showFlash:function(){return this.$store.state.player.showFlash}}},Wn=Xn,Gn=(n("ccc3"),Object(b["a"])(Wn,Rn,Vn,!1,null,"53386e4c",null)),Bn=Gn.exports;n("b775");function _n(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Qn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_n(Object(n),!0).forEach((function(e){Object(s["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_n(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Jn={name:"com-player",components:{Maps:w,Navbar:an,Snapshot:Bn,Billboards:xe,Doors:S,Rulers:L,Measure:W,DollLabels:J,PlanLabels:K,DesignOption:Ee,Information:fn,Loading:a["a"],VrTips:Pn,Guide:Tn},data:function(){return{counting:0,recordTime:0}},computed:Qn(Qn({},Object(g["b"])({page:"page",plays:"guide/plays",player:"player",status:"guide/status",roomIndex:"guide/roomIndex"})),{},{thumb:function(){return this.$store.getters["scene/thumbs"].big},showMeasure:function(){return this.$store.state.player.showMeasure},showSnapshot:function(){return this.$store.state.player.showSnapshot},showSplit:function(){return this.$store.state.player.showSplit},playbIsIframe:function(){return this.$store.state.player.playbIsIframe},showPositionMarks:function(){return this.$store.state.player.showPositionMarks},playerbIframeUrl:function(){return this.$store.state.player.playerbIframeUrl}}),created:function(){var t=this;if("decor"==this.$config.name)return this.$store.commit("SetPlayerOptions",{showUI:!1,showWidgets:!1,showUIMap:"undefined"==typeof window.__app_name}),this.$bus.on("loaded",(function(){"undefined"==typeof window.__app_name&&t.$store.commit("SetNavigations",{map:!1})})),void this.$bus.on("ready",(function(){u["objects"].tagManager.hideAllTags(),t.$bus.emit("rule/Visible",!1)}));if(this.$config.isEdit){var e,i=n("c7b2"),r=i.record,o=this.$store.state.guide.recordMaxTime,s=this;if(this.$config.isMobile)r.on("guide/record/counting",(function(e){return t.counting=e}));else r.on("guide/record/start",(function(){if(!(s.recordTime>=o)){var n=s.plays;s.recordTime=Math.ceil(n.length?n[n.length-1].time.eTime:0),e=setInterval((function(){++s.recordTime,s.recordTime>=o&&(clearInterval(e),r.pause(),s.recordTime=0,s.$store.commit("guide/SetStatus",{isRecording:!1}),s.$tips({content:t.$t("modules.guide.sound_limit",{time:s.$store.state.guide.recordMaxTime/60})}))}),1e3)}})),r.on("guide/record/pause",(function(){e&&clearInterval(e)})),r.on("guide/delete/item",(function(t){var e=s.plays;s.recordTime=Math.ceil(e.length?e[e.length-1].time.eTime:0)}))}this.$bus.once("complete",(function(){t.$config.isEdit&&Mt["a"].on("loaded",(function(){Object(Mt["b"])((function(){Mt["a"].play(),setTimeout((function(){Mt["a"].stop(),Mt["a"].play()}),50)}),!0)}))})),this.$bus.on("player/counting",(function(e){return t.counting=e}))},mounted:function(){var t=this,e=this.$el.querySelector("#player");e.addEventListener("mouseup",(function(e){return t.$bus.emit("player/mouseup",e)}),!1),e.addEventListener("mousedown",(function(e){return t.$bus.emit("player/mousedown",e)}),!1),e.addEventListener("touchstart",(function(e){return t.$bus.emit("player/mousedown",e)}),!1),e.addEventListener("touchmove",(function(e){return t.$bus.emit("player/mousemove",e)}),!1),e.addEventListener("touchend",(function(e){return t.$bus.emit("player/mouseup",e)}),!1)},methods:{start:function(){A["app"].start()},onDrop:function(t){"link"==this.page&&(t.preventDefault(),this.$bus.emit("player/drop",t))},onDragover:function(t){"link"==this.page&&t.preventDefault()}}},zn=Jn,Un=(n("47ee"),n("47ad"),Object(b["a"])(zn,r,o,!1,null,"e99c2424",null));e["a"]=Un.exports},b383:function(t,e,n){"use strict";e.decode=e.parse=n("91dd"),e.encode=e.stringify=n("e099")},ba9c:function(t,e,n){},bcdd:function(t,e,n){},bcf7:function(t,e){(function(){try{if("undefined"===typeof SVGElement||Boolean(SVGElement.prototype.innerHTML))return}catch(r){return}function t(t){switch(t.nodeType){case 1:return i(t);case 3:return e(t);case 8:return n(t)}}function e(t){return t.textContent.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function n(t){return"\x3c!--"+t.nodeValue+"--\x3e"}function i(e){var n="";return n+="<"+e.tagName,e.hasAttributes()&&[].forEach.call(e.attributes,(function(t){n+=" "+t.name+'="'+t.value+'"'})),n+=">",e.hasChildNodes()&&[].forEach.call(e.childNodes,(function(e){n+=t(e)})),n+="</"+e.tagName+">",n}Object.defineProperty(SVGElement.prototype,"innerHTML",{get:function(){var e="";return[].forEach.call(this.childNodes,(function(n){e+=t(n)})),e},set:function(t){while(this.firstChild)this.removeChild(this.firstChild);try{var e=new DOMParser;e.async=!1;var n="<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'>"+t+"</svg>",i=e.parseFromString(n,"text/xml").documentElement;[].forEach.call(i.childNodes,function(t){this.appendChild(this.ownerDocument.importNode(t,!0))}.bind(this))}catch(r){throw new Error("Error parsing markup string")}}}),Object.defineProperty(SVGElement.prototype,"innerSVG",{get:function(){return this.innerHTML},set:function(t){this.innerHTML=t}})})()},c054:function(t,e,n){"use strict";var i=n("1b5f"),r=n.n(i);r.a},c137:function(t,e,n){"use strict";n.d(e,"d",(function(){return g})),n.d(e,"c",(function(){return A})),n.d(e,"e",(function(){return a})),n.d(e,"f",(function(){return I})),n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return u}));n("4f7f"),n("5df3"),n("1c4c"),n("34ef"),n("4917"),n("28a5"),n("6b54"),n("7514"),n("ac6a");var i=n("ef73"),r=n("dcab"),o=function(){return o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},o.apply(this,arguments)};function s(t){var e=["window","door","column","surplus","slideDoor","groundCase","doubleDoor","bayCase","furnColumn","furnFlue","stair"];e.reduce((function(e,n){return t[n]&&t[n].forEach((function(s){var g=s.pos,A=s.ctl,a=s.line,C=s.within;if(g){e.push({x:g[0],y:g[1]},{x:g[2],y:g[3]}),8===g.length&&e.push({x:g[4],y:g[5]},{x:g[6],y:g[7]},{x:g[4],y:-g[5]},{x:g[6],y:-g[7]}),A&&"door"===n&&(e.push({x:A[0],y:-A[1]}),e.push({x:A[0],y:A[1]}));var I=t.wall.find((function(t){var e=t.id;return e===a}));if(I&&(I.points=[t.vertex.find((function(t){var e=t.id;return e===I.p1})),t.vertex.find((function(t){var e=t.id;return e===I.p2}))]),"doubleDoor"===n){var c=Object(r["v"])({points:[{x:g[0],y:g[1]},{x:g[2],y:g[3]}]}),l=i["a"].prototype.getDrawArgs.call({linePoints:[{x:g[0],y:g[1]},c],attachment:I,within:C}),u=l[2],h=i["a"].prototype.getDrawArgs.call({linePoints:[c,{x:g[2],y:g[3]}],attachment:I,within:C}),p=h[2];e.push(u),e.push(p),e.push(o(o({},u),{y:-u.y})),e.push(o(o({},p),{y:-p.y}))}}})),e}),[]);return t.vertex}function g(t,e,n,i){var r=s(n),o=Math.abs(Math.min.apply(Math,r.map((function(t){return t.x})))),g=Math.abs(Math.max.apply(Math,r.map((function(t){return t.x})))),A=Math.abs(Math.min.apply(Math,r.map((function(t){return t.y})))),a=Math.abs(Math.max.apply(Math,r.map((function(t){return t.y})))),C=Math.ceil(o+g),I=Math.ceil(A+a),c=C/t,l=I/e,u=i?c>l?l:c:c>l?c:l,h=t*u,p=e*u,d=A/(A+a)*p,f=o/(o+g)*h,y=1-u/h;return{width:h,height:p,multiple:u,left:f,top:d,scale:y}}var A=function(t,e,n,i){void 0===e&&(e=16);var r=null,o=[],s=0;return function(){for(var g=[],A=0;A<arguments.length;A++)g[A]=arguments[A];s||i&&i(),s++,o.push(g),clearTimeout(r),r=setTimeout((function(){n?(t(n(o)),o=[]):t.apply(void 0,g),s=0}),e)}},a=function(t,e){var n=null;return function(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];var o=+new Date;(o-n>e||!n)&&(t.apply(void 0,i),n=o)}},C=function(t){return Object.prototype.toString.call(t).slice(8,-1)},I={},c=["String","Number","Boolean","Undefined","Null","Object","Function","Array","Date","RegExp"];c.forEach((function(t){return I["is"+t]=function(e){return C(e)===t}}));var l=function(t){var e=t.split(","),n=e[0].match(/:(.*?);/)[1],i=atob(e[1]),r=i.length,o=new Uint8Array(r);while(r--)o[r]=i.charCodeAt(r);return new Blob([o],{type:n})},u=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=[];return t.forEach((function(t){return n.push.apply(n,t)})),Array.from(new Set(n))}},c264:function(t,e,n){},c6d6:function(t,e,n){},c815:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));n("4f7f"),n("1c4c"),n("5df3"),n("f400"),n("6b54"),n("ac6a"),n("456d"),n("8615"),n("673e"),n("ac4d"),n("8a81");var i=n("c137"),r=function(){return r=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function s(t){try{A(i.next(t))}catch(e){o(e)}}function g(t){try{A(i["throw"](t))}catch(e){o(e)}}function A(t){t.done?n(t.value):r(t.value).then(s,g)}A((i=i.apply(t,e||[])).next())}))},s=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:g(0),throw:g(1),return:g(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function g(t){return function(e){return A([t,e])}}function A(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,i&&(r=2&o[0]?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(g){o=[6,g],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},g=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,g=o.length;s<g;s++,r++)i[r]=o[s];return i},A=function(){function t(t,e){var n=this,r=e.notice,A=e.intercept,a=e.childAttr,C=e.afferent;return this.updateNotices=[],this.changeNotices=[],this.getSubAll=function(){var t=[];return n.subscribe.forEach((function(e){t.push.apply(t,e.getSubAll())})),g(n.subscribe,t)},this.data=t,this.subscribe=[],this.updateKeys=new Set,this.attrs=[],this.intercept=A,this.afferent=C,this.notice=r,this.direct=!1,this.childAttr=a,this.deleteUpdateKey=this.deleteUpdateKey.bind(this),this.addUpdateKey=this.addUpdateKey.bind(this),this.changeNotices=[],this.setHandle=Object(i["c"])((function(t){return o(n,void 0,void 0,(function(){var e;return s(this,(function(n){switch(n.label){case 0:return[4,this.setVal.apply(this,t)];case 1:return e=n.sent(),Object.keys(t[4]).forEach(this.deleteUpdateKey),this.noticeTick(),this.noticeAll(e||{args:{}}),e&&this.noticeChange(),[2]}}))}))}),0,(function(t){var e=t[0][0],n=e.sub,i=e.current,r=e.state,o=e.childAttr,s={};return t.forEach((function(t){var e=t[0],n=e.key,i=e.val;return s[n]=i})),[n,i,r,o,s]}),(function(){n.changeNotices=[]})),this}return t.prototype.addUpdateKey=function(t){var e=this;this.updateKeys.add(t),this.subscribe.forEach((function(t){t.updateKeys.has(e)||t.addUpdateKey(e)}))},t.prototype.deleteUpdateKey=function(t){var e=this;this.updateKeys.delete(t),0===this.updateKeys.size&&(this.subscribe.forEach((function(t){t.deleteUpdateKey(e)})),this.test&&this.test())},t.prototype.noticeTick=function(){if(0===this.updateKeys.size)while(this.updateNotices.length)this.updateNotices.shift()();this.subscribe.forEach((function(t){return t.noticeTick()}))},t.prototype.noticeChange=function(){while(this.changeNotices.length)this.changeNotices.shift()();this.subscribe.forEach((function(t){return t.noticeChange()}))},t.prototype.nextTick=function(t){var e=this;setTimeout((function(){0===e.updateKeys.size?t():(e.updateNotices.push(t),setTimeout((function(){if(~e.updateNotices.indexOf(t)){e.updateNotices.slice(e.updateNotices.indexOf(t),1);t()}}),200))}))},t.prototype.nextChange=function(t){this.changeNotices.push(t)},t.prototype.interceptAll=function(t){return o(this,void 0,Promise,(function(){var e,n,r,o,A,a;return s(this,(function(s){for(e=[],n=[],o=g([this],this.getSubAll()),A=void 0,a=0;A=o[a];a++)if(n.push(A.afferent),A.intercept){if(r=A.intercept(n,t,e),e.push(r),i["f"].isBoolean(r)&&!r)return[2,!1]}else e.push(void 0);return[2,e]}))}))},t.prototype.noticeAll=function(t){t=r(r({},t),{state:{data:this.afferent||this,trigger:t.state,ret:void 0}});var e=this.notice(t);t.state.ret=e;for(var n=0;n<this.subscribe.length;n++)this.subscribe[n].noticeAll(t);return t},t.prototype.bindDataChange=function(){var t=this;this.__firstBind=!0,Object.keys(this.data).forEach((function(e){t.attrs.push(e),t.bindItem(t,t,t.data,e,t.childAttr)})),this.__firstBind=!1},t.prototype.getSeftSub=function(){var t=[this,this.subscribe.flatMap((function(t){return t.getSeftSub()}))];return t},t.prototype.setVal=function(t,e,n,g,A){return o(this,void 0,void 0,(function(){var o,a,C,I=this;return s(this,(function(s){switch(s.label){case 0:return o={args:A},!i["f"].isUndefined(A.x)&&i["f"].isUndefined(A.y)?A.y=this.afferent.y:!i["f"].isUndefined(A.y)&&i["f"].isUndefined(A.x)&&(A.x=this.afferent.x),[4,t.interceptAll(A)];case 1:return a=s.sent(),a?(C=r({},A),a.forEach((function(t){return C=r(r({},C),t)})),Object.keys(n).forEach((function(i){C.hasOwnProperty(i)&&n[i]!==C[i]&&(I.relieveOldSubs(n[i],g),n[i]=C[i],I.continueListen(t,e,n,i,g,C[i]))})),[2,o]):[2,null]}}))}))},t.prototype.relieveOldSubs=function(e,n){var r=this;i["f"].isUndefined(e)||(e instanceof t||n&&e[n]instanceof t?this.relieveOldSub(e,n):i["f"].isArray(e)?e.forEach((function(t,e){r.relieveOldSub(t,n)})):i["f"].isObject(e)&&Object.values(e).forEach((function(t){r.relieveOldSub(t,n)})))},t.prototype.relieveOldSub=function(e,n){e instanceof t?e.subscribe.splice(e.subscribe.indexOf(this),1):n&&e[n]instanceof t&&e[n].subscribe.splice(e[n].subscribe.indexOf(this),1)},t.prototype.continueListen=function(e,n,r,o,s,g){var A=this;if(!i["f"].isNull(g)&&!i["f"].isUndefined(g))if(g instanceof t||s&&g[s]instanceof t){var a=(g instanceof t?g:g[s]).subscribe;~a.indexOf(e)||this.bindItem(e,n[o],r,o,s,!0)}else i["f"].isArray(g)?g.forEach((function(t,i){A.bindItem(e,n[o],g,i,s,!0)})):i["f"].isObject(g)&&Object.keys(r[o]).forEach((function(t){A.bindItem(e,n[o],g,t,s,!0)}))},t.prototype.bindItem=function(e,n,i,r,o,s){void 0===s&&(s=!1),i instanceof t?i.subscribe.push(e):o&&i[r]&&i[r][o]instanceof t&&i[r][o].subscribe.push(e),s||(Object.defineProperty(n,r,{get:function(){return i[r]},set:function(t){this.__firstBind||this.direct?(i[r]=t,this.continueListen(e,n,i,r,o,t)):(this.addUpdateKey(r),this.setHandle({sub:e,current:n,state:i,key:r,childAttr:o,val:t}))}}),this.continueListen(e,n,i,r,o,i[r]))},t}();function a(t,e){e.attrs.forEach((function(n){Object.defineProperty(t,n,{configurable:!0,get:function(){return e[n]}})}))}function C(t,e){e.attrs.forEach((function(n){Object.defineProperty(t,n,{configurable:!0,set:function(t){e[n]=t}})}))}var I=A,c=n("71fb"),l=function(){return l=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},l.apply(this,arguments)},u=0,h={enter:"mouseenter",leave:"mouseleave",click:"click",drag:"mousedown"},p=function(){function t(e){var n=this;this.zIndex=0,this.render=e.renderer,this.id=++u,this.__state=new I(l(l({},e),{select:!1}),{afferent:this,notice:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];n.notice&&n.notice.apply(n,t),n.update&&n.update();var i=Object.keys(t[0].args);if((~i.indexOf("x")||~i.indexOf("y"))&&n.wallPos)try{n.wallPos()}catch(r){}~i.indexOf("select")&&n.wallSelect&&n.wallSelect()},childAttr:c["q"],intercept:this.intercept&&function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return n.intercept&&n.intercept.apply(n,t)}}),this.__state.bindDataChange(),a(this,this.__state),C(this,this.__state),Object.defineProperties(this,{multiple:{get:function(){return n.renderer.props.multiple/n.renderer.props.scale}}}),t.examples.get(this.renderer).push(this),this.grentNode&&(this.real=this.grentNode(),this.setHoverStyle&&this.setUnHoverStyle&&(this.enter=function(){n.real.style.cursor="pointer",n.setHoverStyle()},this.leave=function(){n.select||(n.setUnHoverStyle(),n.real.style.cursor="inherit")},this.wallSelect=function(){n.select?(n.real.style.cursor="pointer",n.setHoverStyle()):(n.real.style.cursor="inherit",n.setUnHoverStyle())}),this.listen()),this.real.id="ele"+u.toString(),this.nextTick((function(){try{n.update()}catch(t){}}))}return t.prototype.intercept=function(t,e,n,i){return e},t.prototype.changeSelect=function(e){var n=this;this.select!==e&&(this.select=e,this.wallSelect&&this.wallSelect(),this.update&&this.update(),e&&t.examples.get(this.renderer).forEach((function(t){t!==n&&t.select&&t.changeSelect(!1)})))},t.prototype.click=function(t){this.changeSelect(!0),t.stopPropagation()},t.prototype.nextTick=function(t){this.__state.nextTick(t)},t.prototype.nextChange=function(t){this.__state.nextChange(t)},t.prototype.listen=function(){this.__draging=!1,this.bindEvent("enter"),this.bindEvent("leave"),this.bindEvent("click"),this.bindEvent("drag")},t.prototype.unEvent=function(){this.unbindEvent("enter"),this.unbindEvent("leave"),this.unbindEvent("click"),this.unbindEvent("drag")},t.prototype.destroy=function(){this.__destroy=!0,this.unEvent();var e=t.examples.get(this.renderer);~e.indexOf(this)&&(e.splice(e.indexOf(this),1),this.renderer.remove(this))},t.prototype.bindDrag=function(t){var e=this,n={x:t.pageX,y:t.pageY};this["dragStart"]&&this["dragStart"](t,n);var r=Object(i["e"])((function(t){var i={x:t.pageX,y:t.pageY};e.__draging=!0,e["drag"]({x:i.x-n.x,y:i.y-n.y},i,n),t.preventDefault()}),10),o=function t(n){document.documentElement.removeEventListener("mousemove",r,!1),document.documentElement.removeEventListener("mouseup",t,!1),e.__draging=!1,e["dragEnd"]&&e["dragEnd"]({x:n.pageX,y:n.pageY}),e.__leave&&e["leave"]()};document.documentElement.addEventListener("mousemove",r,!1),document.documentElement.addEventListener("mouseup",o,!1),t.preventDefault()},t.prototype.bindEvent=function(e){var n=this;if(this[e]){var i="__bind_"+e;this[i]&&this.unbindEvent(e);var r="drag"===e?this.bindDrag.bind(this):function(i){var r=t.examples.get(n.renderer);"enter"===e&&r.some((function(t){return t.__draging}))||(!n.__draging||"enter"!==e&&"leave"!==e?n[e](i):n.__leave="leave"===e)};this.real.addEventListener(h[e],r,!1),this[i]=r}},t.prototype.unbindEvent=function(t){this["__bind_"+t]&&this.real.removeEventListener(h[t],this["__bind_"+t],!1)},t.examples=new Map,t.multiples=new Map,t.update=function(e,n){void 0===n&&(n=[]);var i=t.examples.get(e).concat(n);i=Array.from(new Set(i)),i.forEach((function(t){t.update&&t.update()}))},t.init=function(e){t.examples.set(e,[])},t}(),d=p},c8d2:function(t,e,n){"use strict";var i=n("02bb"),r=n.n(i);r.a},cb2e:function(t,e,n){},ccc3:function(t,e,n){"use strict";var i=n("a6db"),r=n.n(i);r.a},d00f:function(t,e,n){"use strict";var i=n("78b5"),r=n.n(i);r.a},da57:function(t,e,n){"use strict";var i=n("36df"),r=n.n(i);r.a},dcab:function(t,e,n){"use strict";n.d(e,"z",(function(){return g})),n.d(e,"H",(function(){return A})),n.d(e,"x",(function(){return a})),n.d(e,"v",(function(){return C})),n.d(e,"E",(function(){return I})),n.d(e,"j",(function(){return c})),n.d(e,"F",(function(){return l})),n.d(e,"B",(function(){return u})),n.d(e,"r",(function(){return h})),n.d(e,"o",(function(){return p})),n.d(e,"s",(function(){return d})),n.d(e,"t",(function(){return f})),n.d(e,"k",(function(){return y})),n.d(e,"u",(function(){return v})),n.d(e,"G",(function(){return b})),n.d(e,"m",(function(){return m})),n.d(e,"l",(function(){return w})),n.d(e,"h",(function(){return x})),n.d(e,"e",(function(){return O})),n.d(e,"d",(function(){return P})),n.d(e,"g",(function(){return j})),n.d(e,"f",(function(){return S})),n.d(e,"i",(function(){return k})),n.d(e,"A",(function(){return M})),n.d(e,"n",(function(){return N})),n.d(e,"q",(function(){return D})),n.d(e,"p",(function(){return T})),n.d(e,"a",(function(){return R})),n.d(e,"b",(function(){return V})),n.d(e,"y",(function(){return X})),n.d(e,"w",(function(){return W})),n.d(e,"c",(function(){return G})),n.d(e,"D",(function(){return B})),n.d(e,"C",(function(){return _}));n("ac6a"),n("c5f6");var i=n("c137"),r=function(){return r=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){t=r({},t);var e=t.x*t.y<0?Math.abs(t.x-t.y):t.x+t.y,n=1/e;return t.x=t.x*n,t.y=t.y*n,t},s=function(t){var e={x:t.points[1].x-t.points[0].x,y:t.points[1].y-t.points[0].y},n=Math.abs(e.x/1),i=Math.abs(e.y/1),r=n>i?n:i,s={x:e.x/r,y:e.y/r};return o(s)},g=function(t,e){void 0===e&&(e=.001);var n=s(t);return Math.abs(n.x)<e&&(n.x=0),Math.abs(n.y)<e&&(n.y=0),n},A=function(t){var e=g(t),n=e.x,i=e.y;if(n-i!==0){var r={x:i/(i-n),y:n/(n-i)};return o(r)}return{x:n,y:i}},a=function(t){return Number(Math.sqrt(Math.pow(t.points[0].x-t.points[1].x,2)+Math.pow(t.points[0].y-t.points[1].y,2)).toFixed(4))},C=function(t){return{x:(t.points[0].x+t.points[1].x)/2,y:(t.points[0].y+t.points[1].y)/2}},I=function(t,e){var n=t.points,i=n[0],r=n[1],o=e.points,s=o[0],g=o[1],A=(r.y-i.y)*(g.x-s.x)-(i.x-r.x)*(s.y-g.y);if(0==A)return!1;var a=((r.x-i.x)*(g.x-s.x)*(s.y-i.y)+(r.y-i.y)*(g.x-s.x)*i.x-(g.y-s.y)*(r.x-i.x)*s.x)/A,C=-((r.y-i.y)*(g.y-s.y)*(s.x-i.x)+(r.x-i.x)*(g.y-s.y)*i.y-(g.x-s.x)*(r.y-i.y)*s.y)/A;return!(!p(t,{x:a,y:C})||!p(e,{x:a,y:C}))&&{x:a,y:C}},c=function(t,e,n,i){var r=O(A(t),e,n),o=r[0],s=r[1];return a({points:[o,i]})>a({points:[s,i]})?s:o},l=function(t,e){var n=t.points,i=n[0],r=n[1],o=e.points,s=o[0],g=o[1],A=(r.y-i.y)*(g.x-s.x)-(i.x-r.x)*(s.y-g.y);if(0==A)return!1;var a=((r.x-i.x)*(g.x-s.x)*(s.y-i.y)+(r.y-i.y)*(g.x-s.x)*i.x-(g.y-s.y)*(r.x-i.x)*s.x)/A,C=-((r.y-i.y)*(g.y-s.y)*(s.x-i.x)+(r.x-i.x)*(g.y-s.y)*i.y-(g.x-s.x)*(r.y-i.y)*s.y)/A;return!isNaN(a)&&!isNaN(C)&&{x:a,y:C}},u=function(t,e){var n=0,i=t.points[1].x-t.points[0].x,r=e.x-t.points[0].x,o=e.x-t.points[1].x,s=t.points[1].y-t.points[0].y,g=e.y-t.points[0].y,A=e.y-t.points[1].y,a=i*r+s*g,C=i*i+s*s;if(a<=0)n=Math.sqrt(r*r+g*g);else if(a>=C)n=Math.sqrt(o*o+A*A);else{var I=a/C,c=t.points[0].x+i*I,l=t.points[0].y+s*I;n=Math.sqrt((e.x-c)*(e.x-c)+(l-e.y)*(l-e.y))}return n},h=function(t,e){return~t.points.indexOf(e.points[0])?e.points[0]:!!~t.points.indexOf(e.points[1])&&e.points[1]},p=function(t,e){return!Math.abs(u(t,e))||Math.abs(u(t,e))<.01},d=function(t,e){return t.points[0]===e.points[0]&&t.points[1]===e.points[1]||t.points[0]===e.points[1]&&t.points[1]===e.points[0]},f=function(t,e){return Math.abs(t.x-e.x)<.01&&Math.abs(t.y-e.y)<.01},y=function(t,e){var n=s(t),i=s(e);return!(isNaN(n.x)||isNaN(n.y)||isNaN(i.x)||isNaN(i.y))&&{x:Math.abs(Math.abs(n.x)-Math.abs(i.x)),y:Math.abs(Math.abs(n.y)-Math.abs(i.y))}},v=function(t,e,n,i){var r=y(t,e);return!r||(r.x>n||r.y>n)},b=function(t,e,n){var i={points:[{x:n.x-1e4*e.x,y:n.y-1e4*e.y},{x:n.x+1e4*e.x,y:n.y+1e4*e.y}]};return l(t,i)},m=function(t,e){return w(A(t),t.points[0],e)},w=function(t,e,n){var i={points:[e,{x:e.x+1e4*t.x,y:e.y+1e4*t.y}]};return x(i,n)},x=function(t,e){var n,r=e;if(i["f"].isNumber(r.x)&&i["f"].isNumber(r.y)){var o=g(t),s=o.x,A=o.y,a=Math.abs(s)>Math.abs(A)?"x":"y";n={},n[a]=r[a],r=n}var C=g(t,1e-4),I=C.y/C.x,c=t.points[0].y-I*t.points[0].x;return I>100||I<-100?{x:t.points[0].x,y:r.y}:i["f"].isNumber(r.x)?{x:r.x,y:I*r.x+c}:i["f"].isNumber(r.y)?{x:(r.y-c)/I,y:r.y}:{x:0,y:0}},O=function(t,e,n){var i=Math.atan(t.y/t.x);return[{x:e.x+n*Math.cos(i),y:e.y+n*Math.sin(i)},{x:e.x+-n*Math.cos(i),y:e.y+-n*Math.sin(i)}]},P=function(t,e,n){return O(g(t),e,n)},j=function(t,e,n){var i=P(t,e,n),r=i[0],o=i[1];return u(t,r)<u(t,o)?r:o},S=function(t,e,n){return O(A(t),e,n)},E=function(t){return t.x>=0&&t.y>=0?1:t.x>=0&&t.y<=0?2:t.x<=0&&t.y<=0?3:t.x<=0&&t.y>=0?4:0},k=function(t,e){return E(t)-E(e)},M=function(t,e){for(var n=!1,i=e.x,r=e.y,o=0,s=t.length-1;o<t.length;s=o++){var g=t[o].x,A=t[o].y,a=t[s].x,C=t[s].y;A>r!=C>r&&i<=(a-g)*(r-A)/(C-A)+g&&(n=!n)}return n},N=function(t,e){var n,i,r;void 0===e&&(e=!0);var o,s=0,g=e?-1:1;if(null==t||t.length<3)return!1;var A=t.length;for(n=0;n<A;n++)i=(n+1)%A,r=(n+2)%A,o=(t[i].x-t[n].x)*(t[r].y*g-t[i].y*g),o-=(t[i].y*g-t[n].y*g)*(t[r].x-t[i].x),o<0?s--:o>0&&s++;return s>0},L=function(t,e){var n=t.points[1].y-t.points[0].y,i=t.points[0].x-t.points[1].x,r=n*t.points[0].x+i*t.points[0].y,o=e.points[1].y-e.points[0].y,s=e.points[0].x-e.points[1].x,g=o*e.points[0].x+s*e.points[0].y,A=n*s-o*i;if(0==A)return!1;var a=(s*r-i*g)/A,C=(n*g-o*r)/A;if((I(t.points[0].x,a,t.points[1].x)||I(t.points[0].y,C,t.points[1].y))&&(I(e.points[0].x,a,e.points[1].x)||I(e.points[0].y,C,e.points[1].y)))return!0;function I(t,e,n){return!(Math.abs(t-e)<1e-6||Math.abs(e-n)<1e-6)&&(t<=e&&e<=n||n<=e&&e<=t)}return!1},D=function(t,e){for(var n=0;n<t.length;n++)for(var i=n+1===t.length?0:n+1,r={points:[t[n],t[i]]},o=0;o<e.length;o++){i=o+1===e.length?0:o+1;var s={points:[e[o],e[i]]},g=L(s,r),A=L(r,s);if(g&&A)return!0}return!1},T=function(t,e){return e.every((function(e){return M(t,e)}))&&!D(t,e)},R=function(t){for(var e=0,n=0,i=0;i<t.length;i++)e+=t[i].x,n+=t[i].y;return e/=t.length,n/=t.length,{x:e,y:n}},V=function(t,e){var n=window.THREE,i=R(t),r=new n.Matrix3,o=r.translate(-i.x,-i.y),s=new n.Matrix3,g=s.rotate(n.Math.degToRad(e)),A=new n.Matrix3,a=A.translate(i.x,i.y),C=new n.Matrix3;return C.premultiply(o),C.premultiply(g),C.premultiply(a),t.map((function(t){var e=new n.Vector2(t.x,t.y);return e.applyMatrix3(C),{x:e.x,y:e.y}}))},X=function(t,e){t=r(r({},t),{points:t.points.map((function(t){return{x:t.x,y:t.y}}))});var n=C(t),i=P(t,n,e/2),o=i[0],s=i[1];return a({points:[t.points[0],o]})>a({points:[t.points[0],s]})?(t.points[0].x=s.x,t.points[0].y=s.y,t.points[1].x=o.x,t.points[1].y=o.y):(t.points[0].x=o.x,t.points[0].y=o.y,t.points[1].x=s.x,t.points[1].y=s.y),t},W=function(t){return 180*Math.atan2(t.points[1].y-t.points[0].y,t.points[1].x-t.points[0].x)/Math.PI},G=function(t,e){var n,i,r,o;~(o=t.points.indexOf(e.points[0]))?(n=t.points[o],i=e.points[1],r=t.points[Number(!o)]):~(o=t.points.indexOf(e.points[1]))&&(n=t.points[o],i=e.points[0],r=t.points[Number(!o)]);var s=0,g=0,A=0,a=i.x-n.x,C=i.y-n.y,I=r.x-n.x,c=r.y-n.y;return s=a*I+C*c,A=(a*a+C*C)*(I*I+c*c),s/=Math.sqrt(A),s>=1?0:s<=-1?180:(g=Math.acos(s),180*g/Math.PI<180?180*g/Math.PI:360-180*g/Math.PI)},B=function(t,e,n){var i={x:t.x-n.x,y:t.y-n.y},r={x:Math.cos(e)*i.x-Math.sin(e)*i.y,y:Math.sin(e)*i.x+Math.cos(e)*i.y};return{x:r.x+n.x,y:r.y+n.y}},_=function(t,e,n){try{var i=["window","door","slideDoor","groundCase","bayCase","doubleDoor","doorleaf"],r=["furnColumn","furnFlue","column","stair"];return t=JSON.parse(JSON.stringify(t)),t["vertex"].forEach((function(t){var i=B(t,e,n);t.x=i.x,t.y=i.y})),t["tagging"].forEach((function(t){var i=B({x:t.pos[0],y:t.pos[1]},e,n);t.pos[0]=i.x,t.pos[1]=i.y})),i.concat(r).forEach((function(i){t[i].forEach((function(t){var i=B({x:t.pos[0],y:t.pos[1]},e,n),r=B({x:t.pos[2],y:t.pos[3]},e,n);t.pos[0]=i.x,t.pos[1]=i.y,t.pos[2]=r.x,t.pos[3]=r.y}))})),r.forEach((function(i){t[i].forEach((function(t){var i=B({x:t.pos[4],y:t.pos[5]},e,n),r=B({x:t.pos[6],y:t.pos[7]},e,n);t.pos[4]=i.x,t.pos[5]=i.y,t.pos[6]=r.x,t.pos[7]=r.y}))})),t}catch(o){return t}}},e099:function(t,e,n){"use strict";var i=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,e,n,g){return e=e||"&",n=n||"=",null===t&&(t=void 0),"object"===typeof t?o(s(t),(function(s){var g=encodeURIComponent(i(s))+n;return r(t[s])?o(t[s],(function(t){return g+encodeURIComponent(i(t))})).join(e):g+encodeURIComponent(i(t[s]))})).join(e):g?encodeURIComponent(i(g))+n+encodeURIComponent(i(t)):""};var r=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function o(t,e){if(t.map)return t.map(e);for(var n=[],i=0;i<t.length;i++)n.push(e(t[i],i));return n}var s=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e}},e0fe:function(t,e,n){},ef73:function(t,e,n){"use strict";n("456d"),n("ac6a"),n("6b54"),n("6c7b"),n("fd24");var i=n("71fb"),r=n("0a1e"),o=n("dcab"),s=n("12fa"),g=n("4c2b"),A=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=function(){return a=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a.apply(this,arguments)},C=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},I={defaultIcon:s,darkIcon:g},c=function(t){function e(e){var n=e.points,i=e.fill,r=void 0===i?"rgba(0,0,0,0)":i,o=e.icon,s=void 0===o?"defaultIcon":o,g=e.stroke,A=void 0===g?"rgba(255,255,255,0.5)":g,I=e.outWidth,c=void 0===I?1:I,l=e.direWithin,u=void 0===l?0:l,h=e.foorWidth,p=void 0===h?6:h,d=e.linecap,f=void 0===d?"square":d,y=e.foorColor,v=void 0===y?"rgba(0,0,0,0)":y,b=e.hover,m=e.within,w=void 0===m?0:m,x=e.start,O=void 0!==x&&x,P=C(e,["points","fill","icon","stroke","outWidth","direWithin","foorWidth","linecap","foorColor","hover","within","start"]),j=this,S={fill:r,stroke:A,outWidth:c,foorWidth:p,foorColor:v,linecap:f};return b=b||a(a({},S),{fill:"rgba(243, 255, 0, 0.8)"}),j=t.call(this,a(a({linePoints:n,hover:b,within:w,start:O,direWithin:u,icon:s},S),P))||this,j.init=S,j.showStart=!0,j}return A(e,t),e.prototype.grentNode=function(){var t=this,e=document.createElementNS(i["s"],"g");return this.arc=document.createElementNS(i["s"],"path"),this.outLine=document.createElementNS(i["s"],"path"),this.image=document.createElementNS(i["s"],"image"),e.appendChild(this.outLine),e.appendChild(this.arc),e.appendChild(this.image),this.nextTick((function(){t.linePoints&&(e.appendChild(t.linePoints[0].real),e.appendChild(t.linePoints[1].real))})),e},e.prototype.getCalcPoint=function(t){void 0===t&&(t=Object(o["x"])({points:this.linePoints}));var e=this.linePoints[0],n=Object(o["e"])(Object(o["H"])(this.attachment),e,t)[0];return n},e.prototype.click=function(e){t.prototype.click.call(this,e),console.log(this.within)},e.prototype.getDrawArgs=function(){var t,e,n,i;0===this.within||2===this.within?(t=this.linePoints,n=t[0],i=t[1]):(e=this.linePoints,i=e[0],n=e[1]);var r,s=Object(o["x"])({points:this.linePoints}),g=Object(o["f"])(this.attachment,n,s),A=g[0],a=g[1],C={x:0,y:0},I=Object(o["x"])({points:[A,C]})<Object(o["x"])({points:[a,C]});return r=0===this.within||3===this.within?I?A:a:I?a:A,[n,i,r,s,Object(o["n"])([n,i,r]),[A,a]]},e.prototype.update=function(){if(this.linePoints){this.real.style.display=this.show?"initial":"none";var t=this.getDrawArgs(),e=t[0],n=t[1],i=t[2],r=t[3],s=t[4],g=t[5],A=g[0],a=g[1];if(!isNaN(i.x)){this.ctl=[i],this.arc.setAttribute("d","M "+e.x+" "+e.y+" L "+i.x+" "+i.y+" A "+r+" "+r+" 0 0 "+(s?"1":"0")+" "+n.x+" "+n.y+" Z"),this.arc.setAttribute("stroke-width",(this.outWidth*this.multiple).toString()),this.arc.setAttribute("stroke",this.stroke),this.arc.setAttribute("fill",this.fill),this.icon!==this.firstIcon&&(this.image.href.baseVal=I[this.icon],this.firstIcon=this.icon),this.outLine.setAttribute("stroke",this.foorColor),this.outLine.setAttribute("fill",this.fill),this.outLine.setAttribute("stroke-width",(this.foorWidth*this.multiple).toString()),this.outLine.setAttribute("stroke-linecap",this.linecap),this.outLine.setAttribute("d","M "+this.linePoints[0].x+" "+this.linePoints[0].y+" L "+this.linePoints[1].x+" "+this.linePoints[1].y),this.attachment.update();if(this.start&&this.showStart){var C=A===this.ctl[0]?a:A,c={points:this.linePoints},l=Object(o["x"])(c);if(this.direWithin){var u={points:[C,i]},h=Object(o["f"])(u,C,Object(o["x"])(u)),p=h[0],d=h[1];i=Object(o["x"])({points:[i,p]})>Object(o["x"])({points:[i,d]})?p:d}if(Object(o["x"])({points:[C,i]})<Object(o["x"])({points:[i,this.ctl[0]]})){C=this.ctl[0];var f=Object(o["e"])(Object(o["z"])(c),this.ctl[0],l),y=f[0],v=f[1],b=Object(o["x"])({points:[n,y]})>Object(o["x"])({points:[n,v]})?v:y;c={points:[C,b]}}var m=Object(o["y"])(c,l/2).points,w=Object(o["x"])({points:m});if(isNaN(w))return;var x=4*w,O=m[1],P=O===m[1]?m[0]:m[1],j=Object(o["f"])(c,O,x),S=Object(o["x"])({points:[j[0],i]})>Object(o["x"])({points:[j[1],i]})?j[0]:j[1],E=Object(o["f"])(c,P,x),k=Object(o["x"])({points:[E[0],i]})>Object(o["x"])({points:[E[1],i]})?E[0]:E[1],M=Object(o["a"])([O,S,k,P]),N=Object(o["w"])({points:[O,S]})+90;this.image.setAttribute("width",w.toString()),this.image.setAttribute("height",x.toString()),this.image.setAttribute("x",(M.x-w/2).toString()),this.image.setAttribute("y",(M.y-x/2).toString()),this.image.setAttribute("transform","rotate("+N+", "+M.x+", "+M.y+")"),this.image.style.display="block"}else this.image.style.display="none"}}},e.prototype.dragStart=function(t){this.__index=this.linePoints[0].real.contains(t.target)?0:this.linePoints[1].real.contains(t.target)?1:-1,this.__startPoints=this.linePoints.map((function(t){return{x:t.x,y:t.y}}))},e.prototype.drag=function(t){var e=this,n=~this.__index?[this.linePoints[this.__index]]:this.linePoints,i=~this.__index?[this.__startPoints[this.__index]]:this.__startPoints;n.forEach((function(n,r){n.x=i[r].x+t.x*e.multiple,n.y=i[r].y+t.y*e.multiple}))},e.prototype.dragEnd=function(){delete this.dragStartPoints,delete this.__index,t.prototype.dragEnd.call(this)},e.prototype.setHoverStyle=function(){var t=this;Object.keys(this.hover).forEach((function(e){return t[e]=t.hover[e]}))},e.prototype.setUnHoverStyle=function(){var t=this;Object.keys(this.init).forEach((function(e){return t[e]=t.init[e]}))},e}(r["default"]);e["a"]=c},f0be:function(t,e,n){},f1ab:function(t,e,n){"use strict";var i=n("e0fe"),r=n.n(i);r.a},f6ec:function(t,e,n){},f87e:function(t,e,n){},f963:function(t,e,n){"use strict";var i=n("5259"),r=n.n(i);r.a},fd24:function(t,e,n){var i=n("5ca1");i(i.S,"Object",{setPrototypeOf:n("8b97").set})}}]);