!function(t,o){for(var e in o)t[e]=o[e]}(this,function(t){function o(s){if(e[s])return e[s].exports;var n=e[s]={i:s,l:!1,exports:{}};return t[s].call(n.exports,n,n.exports,o),n.l=!0,n.exports}var e={};return o.m=t,o.c=e,o.i=function(t){return t},o.d=function(t,e,s){o.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:s})},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},o.p="",o(o.s=575)}({23:function(t,o,e){var s,n;s=[e,o],void 0!==(n=function(t,o){"use strict";var e=function(){function t(){}return t.getURLParameter=function(t){return decodeURIComponent((new RegExp("[?|&]"+t+"=([^&;]+?)(&|#|;|$)").exec(location.search)||[null,""])[1].replace(/\+/g,"%20"))||null},t.prototype.loadXmlDoc=function(t){return(new DOMParser).parseFromString(t,"text/xml")},t.prototype.isJsonString=function(t){try{JSON.parse(t)}catch(t){return!1}return!0},t.xmlToJson=function(o){var e={};if(1==o.nodeType){if(o.attributes.length>0){e["@attributes"]={};for(var s=0;s<o.attributes.length;s++){var n=o.attributes.item(s);e["@attributes"][n.nodeName]=n.nodeValue}}}else 3==o.nodeType&&(e=o.nodeValue);if(o.hasChildNodes()&&1===o.childNodes.length&&3===o.childNodes[0].nodeType)e=o.childNodes[0].nodeValue;else if(o.hasChildNodes())for(var i=0;i<o.childNodes.length;i++){var l=o.childNodes.item(i),r=l.nodeName;if(void 0===e[r])e[r]=t.xmlToJson(l);else{if(void 0===e[r].push){var a=e[r];e[r]=[],e[r].push(a)}e[r].push(t.xmlToJson(l))}}return e},t.prototype.toolDataToJson=function(o){var e=null,s=this.loadXmlDoc(o);return s.childNodes.length>0&&(e=t.xmlToJson(s.childNodes.item(0))),e},t.prototype.parseBool=function(t){var o=!0;return"false"!==t.toLowerCase()&&"0"!==t&&""!==t||(o=!1),o},t}();o.Helpers=e}.apply(o,s))&&(t.exports=n)},44:function(t,o,e){var s,n;s=[e,o,e(23)],void 0!==(n=function(t,o,e){"use strict";var s=function(){function t(){this._toolHostCallbacks=null,this._id=null,this.close=function(){this._toolHostCallbacks&&this._toolHostCallbacks.close&&this._toolHostCallbacks.close(this._id)},this.getToolData=function(){var t=null;return this._toolHostCallbacks&&this._toolHostCallbacks.getToolData&&(t=this._toolHostCallbacks.getToolData(this._id)),t},this.resizeTool=function(t,o){this._toolHostCallbacks&&this._toolHostCallbacks.resizeTool&&this._toolHostCallbacks.resizeTool(this._id,t,o)},this.logCandidateEvent=function(t){this._toolHostCallbacks&&this._toolHostCallbacks.logCandidateEvent&&this._toolHostCallbacks.logCandidateEvent(this._id,t)},this._id=e.Helpers.getURLParameter("id"),null==window.parent?void 0!==typeof toolHostCallbacks&&(this._toolHostCallbacks=toolHostCallbacks):void 0!==typeof window.parent.toolHostCallbacks&&(this._toolHostCallbacks=window.parent.toolHostCallbacks)}return t.prototype.setWindowTitle=function(t){this._toolHostCallbacks&&this._toolHostCallbacks.setWindowTitle&&this._toolHostCallbacks.setWindowTitle(this._id,t)},t}();o.ToolHost=s}.apply(o,s))&&(t.exports=n)},575:function(t,o,e){var s,n;s=[e,o,e(44),e(23),e(66)],void 0!==(n=function(t,o,e,s,n){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.toolHost=new e.ToolHost,o.helpers=new s.Helpers,o.keyedCollection=new n.KeyedCollection}.apply(o,s))&&(t.exports=n)},66:function(t,o,e){var s,n;s=[e,o],void 0!==(n=function(t,o){"use strict";var e=function(){function t(){this.items={},this.count=0}return t.prototype.ContainsKey=function(t){return this.items.hasOwnProperty(t)},t.prototype.Count=function(){return this.count},t.prototype.Add=function(t,o){this.items[t]=o,this.count++},t.prototype.Remove=function(t){var o=this.items[t];return delete this.items[t],this.count--,o},t.prototype.Item=function(t){return this.items[t]},t.prototype.Keys=function(){var t=[];for(var o in this.items)this.items.hasOwnProperty(o)&&t.push(o);return t},t.prototype.Values=function(){var t=[];for(var o in this.items)this.items.hasOwnProperty(o)&&t.push(this.items[o]);return t},t}();o.KeyedCollection=e}.apply(o,s))&&(t.exports=n)}}));
//# sourceMappingURL=shared.js.map